"use strict";function alert$(a){return ddSdk_1.ddSdk.invokeAPI(actualCallApiName,{message:a.content,title:null===a||void 0===a?void 0:a.title,buttonName:a.buttonText,success:a.success,fail:a.fail,complete:a.complete})}var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(a){for(var e,t=1,s=arguments.length;t<s;t++){e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r])}return a},__assign.apply(this,arguments)},_a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.alert$=void 0;var ddSdk_1=require("../../lib/ddSdk"),apiName="alert",actualCallApiName="device.notification.alert",paramsDeal=function(a){return __assign({message:a.content,title:a.title||"",buttonName:a.buttonText||"确定"},a)};ddSdk_1.ddSdk.setAPI(actualCallApiName,(_a={},_a[ddSdk_1.ENV_ENUM.pc]={vs:"2.5.0"},_a[ddSdk_1.ENV_ENUM.ios]={vs:"2.4.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.android]={vs:"2.4.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.harmony]={vs:"7.0.0",paramsDeal:paramsDeal},_a)),exports.alert$=alert$,exports.default=alert$;