"use strict";function showLoading$(a){return ddSdk_1.ddSdk.invokeAPI(actualCallApiName,{text:a.content,showIcon:!0,success:a.success,fail:a.fail,complete:a.complete})}var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(a){for(var e,s=1,d=arguments.length;s<d;s++){e=arguments[s];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}return a},__assign.apply(this,arguments)},_a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.showLoading$=void 0;var ddSdk_1=require("../../lib/ddSdk"),apiName="showLoading",actualCallApiName="device.notification.showPreloader",paramsDeal=function(a){return __assign({text:a.content,showIcon:!0},a)};ddSdk_1.ddSdk.setAPI(actualCallApiName,(_a={},_a[ddSdk_1.ENV_ENUM.harmony]={vs:"7.0.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.ios]={vs:"7.0.10",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.android]={vs:"7.0.10",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.pc]={vs:"7.0.10"},_a)),exports.showLoading$=showLoading$,exports.default=showLoading$;