dolphin-weex-ui 2.2.7 → 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.native.js +60 -34
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +63 -37
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- package/packages/dof-status/colmo.css +1 -1
- package/packages/utils/touch.js +29 -3
package/dist/index.web.js
CHANGED
|
@@ -1071,6 +1071,14 @@ module.exports = {
|
|
|
1071
1071
|
/* 7 */
|
|
1072
1072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1073
1073
|
|
|
1074
|
+
!function(e,t){ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).dolphinNativeBridge={})}(this,function(e){"use strict";function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e),0}u.done?t(c):Promise.resolve(c).then(o,r)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var o=u.apply(e,a);function r(e){c(o,t,n,r,i,"next",e)}function i(e){c(o,t,n,r,i,"throw",e)}r(void 0)})}};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var s=t(function(e){var t=function(a){var e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function u(e,t,n,o){var i,a,u,c,r=t&&t.prototype instanceof d?t:d,s=Object.create(r.prototype),l=new w(o||[]);return s._invoke=(i=e,a=n,u=l,c="suspendedStart",function(e,t){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===e)throw t;return S()}for(u.method=e,u.arg=t;;){var n=u.delegate;if(n){var o=function e(t,n){var o=t.iterator[n.method];if(void 0===o){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=p(o,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,u);if(o){if(o===f)continue;return o}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===c)throw c="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);c="executing";var r=p(i,a,u);if("normal"===r.type){if(c=u.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:u.done}}"throw"===r.type&&(c="completed",u.method="throw",u.arg=r.arg)}}),s}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var f={};function d(){}function i(){}function c(){}var s={};s[r]=function(){return this};var g=Object.getPrototypeOf,h=g&&g(g(P([])));h&&h!==e&&l.call(h,r)&&(s=h);var v=c.prototype=d.prototype=Object.create(s);function m(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function y(c,s){var t;this._invoke=function(n,o){function e(){return new s(function(e,t){!function t(e,n,o,r){var i=p(c[e],c,n);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&l.call(u,"__await")?s.resolve(u.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):s.resolve(u).then(function(e){a.value=e,o(a)},function(e){return t("throw",e,o,r)})}r(i.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return(i.prototype=v.constructor=c).constructor=i,c[o]=i.displayName="GeneratorFunction",a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,o in e||(e[o]="GeneratorFunction")),e.prototype=Object.create(v),e},a.awrap=function(e){return{__await:e}},m(y.prototype),y.prototype[n]=function(){return this},a.AsyncIterator=y,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new y(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},m(v),v[o]="Generator",v[r]=function(){return this},v.toString=function(){return"[object Generator]"},a.keys=function(n){var o=[];for(var e in n)o.push(e);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=P,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var o=this;function e(e,t){return i.type="throw",i.arg=n,o.next=e,t&&(o.method="next",o.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&l.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o,r=n.completion;return"throw"===r.type&&(o=r.arg,O(n)),o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},a}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}),a=t(function(t){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n}),n=Object.prototype.toString;function v(e){return n.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===n.call(e)}var l=weex.config.env.appVersion;function p(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:l;if(t===e)return!0;for(var n=t.split("."),o=e.split("."),r=Math.max(n.length,o.length),i=0;i<r;i++){var a=~~o[i],u=~~n[i];if(a<u)return!0;if(u<a)return!1}return!1}function r(e,t){t=t||weex.config.bundleUrl;var o=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){var n=e.split("=");o[n[0]]=n[1]}),e?o[e]:o}function f(e){try{e=JSON.parse(e)}catch(e){}return e}var i={_typeof:v,isDate:function(e){return"[object Date]"===n.call(e)},isPlainObject:m,deepMerge:function o(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(n){n&&Object.keys(n).forEach(function(e){var t=n[e];m(t)?m(r[e])?r[e]=o(r[e],t):r[e]=o(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:p,getParamsFromUrl:r,JSONFormat:f},d=r(weex.config.bundleUrl,"isDummy")||!1,g="web"===weex.config.env.platform.toLowerCase()||d,h=weex.requireModule("bridgeModule"),y=weex.requireModule("routerModule"),b=weex.requireModule("singleBlueToothModule"),O=weex.requireModule("blueToothMeshModule"),w=weex.requireModule("globalEvent"),P=weex.requireModule("aiSpeechModule"),S=weex.requireModule("nfcModule"),M=weex.requireModule("configCommonModule"),j=weex.requireModule("clipboard"),D=weex.requireModule("midea-audio"),x=weex.requireModule("picker"),I=weex.requireModule("router"),A=weex.requireModule("blueToothModule"),L=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),T=weex.requireModule("infraredModule");function N(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),h&&h.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function k(e,t){var o=0<arguments.length&&void 0!==e?e:W("params"),n=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===n?"commandInterface":n;return new Promise(function(t,n){console.log("params",o,r),h[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function C(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){h.hasOwnProperty(n)?h[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function E(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){A&&A.hasOwnProperty(n)?A[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function B(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;p("5.9.0")&&(b&&b.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),b[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(e))},function(e){console.log("jslog:error",e),a&&a(e),n(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(o)),e="singleBlueToothModule 缺少 ".concat(o),n({status:-1,message:e})))})}function q(e,t,n,o){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?n:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,n){I&&I[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function F(n,o){return new Promise(function(t,e){O&&O.hasOwnProperty(n)?O[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function R(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){P[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)})})}function J(e,t,n){var o;w&&w[e]?w[e](t,function(e){n&&n(f(e))}):(o="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:o}))}function U(o,r,i,a){return new Promise(function(t,n){var e;S&&S.hasOwnProperty(o)?S[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function H(o,r,i,a){return new Promise(function(t,n){var e;M&&M.hasOwnProperty(o)?M[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function W(e){var n=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(n),t(n)}catch(e){console.error(e),t(e)}})}function V(e,o){return new Promise(function(t,n){j&&(o?j[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):j[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function G(e,o){return new Promise(function(t,n){D&&(o?D[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):D[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function _(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;p("5.9.0")&&(L&&L.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),L[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(e))},function(e){console.log("jslog:error",e),a&&a(f(e)),n(f(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function Q(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){T.hasOwnProperty(n)?T[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function z(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var X=weex.requireModule("modal"),Y=weex.requireModule("navigator"),$=weex.requireModule("stream"),Z=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),ee=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.4.0",isDummy:g,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,n=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{n?Z.toast({message:e,duration:t||1.5,bgStyle:n}):Z.toast({message:e,duration:t||1.5})}catch(n){X.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===a(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}X.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消";X.confirm({message:e,okTitle:n,cancelTitle:o},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Y.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||Z.killKeyboard()},getUserInfo:function(){return N({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return N({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return N(K({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return N(K({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return N(K({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return N(K({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{Z.getDevicePluginInfo({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return N(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return N(K(K({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{Z.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return N(K({operation:"callTel"},e))},callTelList:function(e){return N({operation:"callTelList",params:e})},setBackHandle:function(){return N({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return N(K({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return N({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return N({operation:"getNetworkStatus"})},shareMsg:function(e){return N({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{Z.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){Z.getWeexPath(function(e){t(te(e))})})},jumpNativePage:function(){return N(K({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return C("backToNative")},getWeexFunctionPath:function(){return N({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return N(K({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Z.showControlPanelPage(e)},checkCurrentNotificationStatus:function(){return N({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return N({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{Z.getAuthToken({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return N(K({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return N({operation:"stopRecordAudio"})},takePhoto:function(){return N(K({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return N(K({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return N(K({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return N(K({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return N(K({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return N(K({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return N(K({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return N(K({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return N(K({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"getGPSInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},geoCode:function(){return N(K({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return N(K({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return N({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return N(K({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){Z.interfaceForThirdParty.apply(Z,arguments)},sendCentralCloudRequest:function(o){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,n){var e;1!=r.isDummy&&((e=i).url=o,a.isShowLoading&&r.showLoading(),Z.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),n(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(n,o){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=function(e){var t="";for(var n in e)"function"!=typeof e[n]&&(t+="&"+n+"="+encodeURI(e[n]));return t.substring(1)}(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),$.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),n(t)):("string"==typeof e&&(e=JSON.parse(e)),o(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,n){var e,o;null==r?n("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(o=Object.create(null)).commandId=e,o.messageBody=r,i&&(o.deviceId=i),Z.startCmdProcess(JSON.stringify(o),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}n(e)}))})},sendElectronicRequest:function(e){return C("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?Z.requestDataTransmit(JSON.stringify(e),function(e){t(te(e))},function(e){n(e)}):n("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),N(K(K({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):N(K(K({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var o=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,n){r&&o.showLoading();try{Z.getTXList({},function(e){r&&o.hideLoading(),t(te(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFile"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},uploadImgFileToMas:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFileToMas"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},setIdleTimerDisabled:function(){return N({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{Z.downLoadDevicePlugin(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{Z.getDeviceOnlineStatus(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{Z.loadingLatestPlugin(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.method,r=void 0===o?"POST":o,i=n.headers,a={url:e,method:r,headers:void 0===i?{"Content-Type":"application/json;charset=utf-8"}:i,data:K({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,n){console.log("params:".concat(JSON.stringify(a,null,4))),Z.sendCentralCloundRequest(a,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return Z.updateAutoList()}});function te(e){try{e=JSON.parse(e)}catch(e){}return e}function ne(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var oe={hideKeyboard:function(){return N({operation:"hideKeyboard",params:{}})},showLoading:function(){return N({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return N({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return N({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return N({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return N({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return N({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return N({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideStatusBar:function(){return N({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getStatusBar:function(){return N({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return N({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideNavigationBar:function(){return N({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showConfirmView:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},popupGeneralList:function(){return N({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){x&&x[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},likeAnimation:function(){return N({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},dismissFullPage:function(){return N({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllBarHeight:function(){return N({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function re(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ae={errorCaptured:function(t){return u(s.mark(function e(){return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var n={name:"zoiew"},o={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),r=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(r),new Promise(function(e,t){e(ie(ie({},n),o))})},canIUse:function(){return N({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()}})},getSystemInfo:function(){return N({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return N({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return N({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addEventListener:function(e,t){return J("addEventListener",e,t)},removeEventListener:function(e,t){return J("removeEventListener",e,t)},getPluginInfo:function(){return N({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return N({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return N({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return N({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(o,r,i){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){o||e("params can not be empty in native bridge module"),r&&"function"!=typeof r?(a=r,r=null):i&&"function"!=typeof i&&(a=i,i=null),o=JSON.stringify(o);var n=weex.requireModule(a);n&&n.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}r&&r(),t(e)},function(e){i&&i(),t(e)})})}};function ue(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ue(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var se=weex.requireModule("navigator"),le={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=weex.config.bundleUrl;return 0<t.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),t=t.split("/").slice(0,-1).join("/"),e?t+"/":t},push:function(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:W("url"),d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a,u,c,s=Object.create(null),l="";if("string"===v(f)?(s.url=f,s.options=d,s.params=g,s.callback=h):m(f)&&(n=f.url,r=void 0===(o=f.options)?{animated:"true",replace:"false"}:o,a=void 0===(i=f.params)?{}:i,c=void 0===(u=f.callback)?function(){}:u,s.url=n,s.options=r,s.params=a,s.callback=c),s.params)for(var p in s.params)l+=p+"="+encodeURIComponent(s.params[p])+"&";l=s.url.indexOf("?")?s.url+"?"+l.slice(0,-1):s.url+l.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(l)||(l=le.getContextPath()+l);try{se.push(ce({url:l},s.options),h),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof n&&(o=n,n=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{se.pop(ce({animated:"true",level:1},n),o)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){y&&y.hasOwnProperty(n)&&y[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return N(ce({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},goToPage:function(){return N({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},reload:function(){return N({operation:"reload"})},openURL:function(){return N({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},setMiniAppCache:function(){return q("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return q("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return q("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return q("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return q("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return q("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return N({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},pe={getBatteryInfo:function(){return N({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return N({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return N({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return N({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return N({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return N({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return N({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return N({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return N({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return N({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return N({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return N({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return N({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return N({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return N({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},vibrate:function(){return N({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAppInfo:function(){return N({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return N({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return N({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return N({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return N({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return N({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function fe(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var de={scanCode:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},ge={encrypt:function(){return N({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return N({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return N({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return N({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},encodeAES128:function(){return N({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},he={saveFile:function(){return N({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return N({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return N({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return N({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return N({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return N({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return N({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return N({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return N({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return N({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return N({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return N({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return N({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return N({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return N({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},ve={downloadFile:function(){return N({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return N({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return N({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return N({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return N({operation:"resetCookie",params:e})}},me={getLocation:function(){return N({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return N({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return N({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return N({operation:"getTodaySteps"})}},ye={getBluetoothStatus:function(){return N({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return N({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return N({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return N({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return N({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return N({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return N({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return N({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return N({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return B("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return B("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return B("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return B("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return B("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return B("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return B("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return B("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return B("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return B("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return B("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return B("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return F("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return F("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return E("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return E("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return E("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return E("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return B("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return B("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},be={chooseImage:function(){return N({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return N({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return N({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return N({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return N({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return N({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return N({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return N({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return N({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return N({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return N({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return N({operation:"pauseRecord"})},resumeRecord:function(){return N({operation:"resumeRecord"})},stopRecord:function(){return N({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return N({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return N({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return N({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return N({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return N({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return G("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return G("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){return n=e,o=t,void(D&&D.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)}));var n,o},getDuration:function(){return G("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return G("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return G("pause")},stop:function(){return G("stop")},recordVideo:function(){return N({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return N({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return N({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Oe={getWifiList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},we={startSpeechMonitor:function(){return R("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return R("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return R("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return R("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return R("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},Pe=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Se(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Me={reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},je={checkAndRequestPermission:function(){return N({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return N({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},De={getNfcInfo:function(){return U("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return U("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return U("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return U("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return U("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return U("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return U("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return U("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},xe={configDevice:function(){return H("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return H("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function Ie(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ae(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Le={getWeatherInfo:function(){return N(Ae({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAppWeatherInfo:function(){return N(Ae({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}};function Te(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ke={canUseSiriShortcut:function(){return N({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return N({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllSiriShortcuts:function(){return N({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return N({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addInstructToSiriShortcut:function(){return N(Ne({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAllSiriInstructShortcuts:function(){return N(Ne({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},editSiriInstructShortcut:function(){return N(Ne({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}},Ce={setString:function(){return V("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},getString:function(){return V("getString")}},Ee={prepareSpeech:function(){return R("prepareSpeech")},startSpeechToText:function(){return R("startSpeechToText")},startTextToSpeech:function(){return R("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},stopSpeechToText:function(){return R("stopSpeechToText")},stopTextToSpeech:function(){return R("stopTextToSpeech")}},Be={getLoginInfo:function(){return N({operation:"getLoginInfo"})},getUserInfo:function(){return N({operation:"getUserInfo"})},logout:function(){return N({operation:"logout"})},getUnionId:function(){return N({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAuthToken:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return N({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},qe={getHomeInfo:function(){return N({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllHomeInfoList:function(){return N({operation:"getAllHomeInfoList"})},createHome:function(){return N({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateHomeInfo:function(){return N({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteHome:function(){return N({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getHomeMemberList:function(){return N({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},inviteToHome:function(){return N({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getRoomInfo:function(){return N({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllRoomInfoList:function(){return N({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},createRoom:function(){return N({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteRoom:function(){return N({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateRoomInfo:function(){return N({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},refreshHomeInfo:function(){return N({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}};function Fe(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Re={pay:function(e){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return N({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return _("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return _("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return _("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return _("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return _("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return _("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return _("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return _("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return _("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function Je(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var He={luaQuery:function(){return N(Ue({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return N(Ue({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return N(Ue({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return N(Ue({operation:"getDeviceList"},e))},toConfigDevice:function(e){return U("toConfigDevice",e)},getDeviceConnectInfo:function(e){return U("getDeviceConnectInfo",e)},addDevice:function(e){return U("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return N(Ue({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return N({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return N({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return N({operation:"getDeviceUUID"})}};function We(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Ve={checkInstalledThirdPlatform:function(e){return N({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?We(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return C("shareCustomPanel",e)},sharePeerToPeer:function(e){return N({operation:"sharePeerToPeer",params:e})}},Ge={cameraMatch:function(){return Q("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return Q("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},_e={openMiniProgram:function(){return N({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2PerformAction:function(){return N({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryAllProperties:function(){return N({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryProperty:function(){return N({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2SetupProperty:function(){return N({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},Qe={subscribeMessage:function(){return N({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},ze=weex.requireModule("bridgeModule"),Ke=weex.requireModule("storage"),Xe=(weex.requireModule("modal"),{code:-13,msg:"接口不支持"}),Ye={};function $e(e,t){Ke&&Ke.getItem(e,t)}function Ze(o,r){var i;void 0!==r&&(i={},$e("WEEX_CANIUSE_MAP",function(e){var t,n;"undefined"!==e.data?(i=JSON.parse(e.data))[o]=r:i[o]=r,t=JSON.stringify(i),"object"==a(t)&&(n=JSON.stringify(t)),Ke.setItem("WEEX_CANIUSE_MAP",n||t,function(e){console.log("set success")})}))}function et(r,i){return new Promise((n=u(s.mark(function e(t,n){var o;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o={},void 0===Ye[r]){e.next=5;break}o=Ye[r],e.next=8;break;case 5:return e.next=7,function(e){var n={operation:"canIUse",params:{api:e}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),ze&&ze.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})})}(r);case 7:o=e.sent;case 8:!0===o.enable||!0===o?(Ze(r,o.enable),t(!0)):(i||(i=n),i(Xe));case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}$e("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(Ye=JSON.parse(e.data))});var tt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless"];function nt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function rt(e){e.prototype.$bridge=at}var it=ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot({},ee),ae),le),ye),pe),de),ge),he),ve),me),be),oe),Oe),we),Pe),Me),je),De),xe),Le),ke),Ce),Ee),Be),qe),Re),He),Ve),Ge),_e),Qe),at=new Proxy(it,{get:function(e,i,t){var a=e[i];return"function"==typeof a?u(s.mark(function e(){var t,n,o,r=arguments;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,tt.includes(i)){e.next=4;break}return e.next=4,et(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject(Xe));case 9:for(t=r.length,n=new Array(t),o=0;o<t;o++)n[o]=r[o];return e.abrupt("return",a.apply(this,n));case 11:case"end":return e.stop()}},e,this,[[0,6]])})):a}}),ut={install:rt};e.Bridge=at,e.Utils=i,e.default=ut,e.install=rt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
1075
|
+
//# sourceMappingURL=dolphin-native-bridge.umd.js.map
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
/***/ }),
|
|
1079
|
+
/* 8 */
|
|
1080
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1081
|
+
|
|
1074
1082
|
|
|
1075
1083
|
;(function(fn) {
|
|
1076
1084
|
if (true) {
|
|
@@ -1864,7 +1872,7 @@ module.exports = {
|
|
|
1864
1872
|
/******/ ])});;
|
|
1865
1873
|
|
|
1866
1874
|
/***/ }),
|
|
1867
|
-
/*
|
|
1875
|
+
/* 9 */
|
|
1868
1876
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1869
1877
|
|
|
1870
1878
|
"use strict";
|
|
@@ -1885,14 +1893,6 @@ Object.defineProperty(exports, 'default', {
|
|
|
1885
1893
|
|
|
1886
1894
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1887
1895
|
|
|
1888
|
-
/***/ }),
|
|
1889
|
-
/* 9 */
|
|
1890
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1891
|
-
|
|
1892
|
-
!function(e,t){ true?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).dolphinNativeBridge={})}(this,function(e){"use strict";function c(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(e){return n(e),0}u.done?t(c):Promise.resolve(c).then(o,r)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(u){return function(){var e=this,a=arguments;return new Promise(function(t,n){var o=u.apply(e,a);function r(e){c(o,t,n,r,i,"next",e)}function i(e){c(o,t,n,r,i,"throw",e)}r(void 0)})}};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var s=t(function(e){var t=function(a){var e=Object.prototype,l=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function u(e,t,n,o){var i,a,u,c,r=t&&t.prototype instanceof d?t:d,s=Object.create(r.prototype),l=new w(o||[]);return s._invoke=(i=e,a=n,u=l,c="suspendedStart",function(e,t){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===e)throw t;return S()}for(u.method=e,u.arg=t;;){var n=u.delegate;if(n){var o=function e(t,n){var o=t.iterator[n.method];if(void 0===o){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=p(o,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,u);if(o){if(o===f)continue;return o}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===c)throw c="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);c="executing";var r=p(i,a,u);if("normal"===r.type){if(c=u.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:u.done}}"throw"===r.type&&(c="completed",u.method="throw",u.arg=r.arg)}}),s}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=u;var f={};function d(){}function i(){}function c(){}var s={};s[r]=function(){return this};var g=Object.getPrototypeOf,h=g&&g(g(P([])));h&&h!==e&&l.call(h,r)&&(s=h);var v=c.prototype=d.prototype=Object.create(s);function m(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function y(c,s){var t;this._invoke=function(n,o){function e(){return new s(function(e,t){!function t(e,n,o,r){var i=p(c[e],c,n);if("throw"!==i.type){var a=i.arg,u=a.value;return u&&"object"==typeof u&&l.call(u,"__await")?s.resolve(u.__await).then(function(e){t("next",e,o,r)},function(e){t("throw",e,o,r)}):s.resolve(u).then(function(e){a.value=e,o(a)},function(e){return t("throw",e,o,r)})}r(i.arg)}(n,o,e,t)})}return t=t?t.then(e,e):e()}}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function P(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(l.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return(i.prototype=v.constructor=c).constructor=i,c[o]=i.displayName="GeneratorFunction",a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,o in e||(e[o]="GeneratorFunction")),e.prototype=Object.create(v),e},a.awrap=function(e){return{__await:e}},m(y.prototype),y.prototype[n]=function(){return this},a.AsyncIterator=y,a.async=function(e,t,n,o,r){void 0===r&&(r=Promise);var i=new y(u(e,t,n,o),r);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},m(v),v[o]="Generator",v[r]=function(){return this},v.toString=function(){return"[object Generator]"},a.keys=function(n){var o=[];for(var e in n)o.push(e);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=P,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&l.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var o=this;function e(e,t){return i.type="throw",i.arg=n,o.next=e,t&&(o.method="next",o.arg=void 0),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],i=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var a=l.call(r,"catchLoc"),u=l.call(r,"finallyLoc");if(a&&u){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&l.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var i=r?r.completion:{};return i.type=e,i.arg=t,r?(this.method="next",this.next=r.finallyLoc,f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o,r=n.completion;return"throw"===r.type&&(o=r.arg,O(n)),o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},a}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}),a=t(function(t){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(e){return typeof e}:t.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=n}),n=Object.prototype.toString;function v(e){return n.call(e).slice(8,-1).toLowerCase()}function m(e){return"[object Object]"===n.call(e)}var l=weex.config.env.appVersion;function p(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"0.0.0",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:l;if(t===e)return!0;for(var n=t.split("."),o=e.split("."),r=Math.max(n.length,o.length),i=0;i<r;i++){var a=~~o[i],u=~~n[i];if(a<u)return!0;if(u<a)return!1}return!1}function r(e,t){t=t||weex.config.bundleUrl;var o=Object.create(null);return-1!==t.indexOf("?")&&t.substring(t.indexOf("?")+1).split("&").forEach(function(e,t){var n=e.split("=");o[n[0]]=n[1]}),e?o[e]:o}function f(e){try{e=JSON.parse(e)}catch(e){}return e}var i={_typeof:v,isDate:function(e){return"[object Date]"===n.call(e)},isPlainObject:m,deepMerge:function o(){for(var r=Object.create(null),e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(n){n&&Object.keys(n).forEach(function(e){var t=n[e];m(t)?m(r[e])?r[e]=o(r[e],t):r[e]=o(t):r[e]=t})}),r},convertToJson:function(e){var t=e;try{t=JSON.parse(e)}catch(e){console.error(e)}return t},compareVersion:p,getParamsFromUrl:r,JSONFormat:f},d=r(weex.config.bundleUrl,"isDummy")||!1,g="web"===weex.config.env.platform.toLowerCase()||d,h=weex.requireModule("bridgeModule"),y=weex.requireModule("routerModule"),b=weex.requireModule("singleBlueToothModule"),O=weex.requireModule("blueToothMeshModule"),w=weex.requireModule("globalEvent"),P=weex.requireModule("aiSpeechModule"),S=weex.requireModule("nfcModule"),M=weex.requireModule("configCommonModule"),j=weex.requireModule("clipboard"),D=weex.requireModule("midea-audio"),x=weex.requireModule("picker"),I=weex.requireModule("router"),A=weex.requireModule("blueToothModule"),L=(weex.requireModule("modal"),weex.requireModule("qqDMModule")),T=weex.requireModule("infraredModule");function N(n,o,r){return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),h&&h.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}o&&o(e),t(e)},function(e){r&&r(e),t(e)})})}function k(e,t){var o=0<arguments.length&&void 0!==e?e:W("params"),n=(1<arguments.length&&void 0!==t?t:{}).subModuleName,r=void 0===n?"commandInterface":n;return new Promise(function(t,n){console.log("params",o,r),h[r](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}function C(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){h.hasOwnProperty(n)?h[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version bridgeModule has not ".concat(n," interface")})})}function E(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){A&&A.hasOwnProperty(n)?A[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version blueToothModule has not ".concat(n," interface")})})}function B(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;p("5.9.0")&&(b&&b.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),b[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(e))},function(e){console.log("jslog:error",e),a&&a(e),n(e)})):(console.log("jslog:apiName","singleBlueToothModule 缺少 ".concat(o)),e="singleBlueToothModule 缺少 ".concat(o),n({status:-1,message:e})))})}function q(e,t,n,o){var r=1<arguments.length&&void 0!==t?t:{},i=2<arguments.length?n:void 0,a=3<arguments.length?o:void 0;return new Promise(function(t,n){I&&I[e](r,function(e){try{e=JSON.parse(e)}catch(e){}t(e),i&&i(e)},function(e){n(e),a&&a(e)})})}function F(n,o){return new Promise(function(t,e){O&&O.hasOwnProperty(n)?O[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"blueToothMeshModule 缺少 ".concat(n)})})}function R(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){P[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)})})}function J(e,t,n){var o;w&&w[e]?w[e](t,function(e){n&&n(f(e))}):(o="globalEvent 缺少 ".concat(e),n&&n({status:-1,message:o}))}function U(o,r,i,a){return new Promise(function(t,n){var e;S&&S.hasOwnProperty(o)?S[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="nfcModule 缺少 ".concat(o),n({status:-1,message:e}))})}function H(o,r,i,a){return new Promise(function(t,n){var e;M&&M.hasOwnProperty(o)?M[o](JSON.stringify(r),function(e){i&&i(f(e)),t(f(e))},function(e){a&&a(e),n(e)}):(e="configCommonModule 缺少 ".concat(o),n({status:-1,message:e}))})}function W(e){var n=e?"".concat(e,"参数不能为空"):"参数不能为空";return new Promise(function(e,t){try{console.error(n),t(n)}catch(e){console.error(e),t(e)}})}function V(e,o){return new Promise(function(t,n){j&&(o?j[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):j[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function G(e,o){return new Promise(function(t,n){D&&(o?D[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}):D[e](function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)}))})}function _(o,e,t,n){var r=1<arguments.length&&void 0!==e?e:{},i=2<arguments.length?t:void 0,a=3<arguments.length?n:void 0;return new Promise(function(t,n){var e;p("5.9.0")&&(L&&L.hasOwnProperty(o)?(console.log("jslog:apiName,params",o,r),L[o](JSON.stringify(r),function(e){console.log("jslog:resData",e),i&&i(f(e)),t(f(e))},function(e){console.log("jslog:error",e),a&&a(f(e)),n(f(e))})):(console.log("jslog:apiName","qqDMModule 缺少 ".concat(o)),e="qqDMModule 缺少 ".concat(o),n({status:-1,message:e})))})}function Q(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(t,e){T.hasOwnProperty(n)?T[n](JSON.stringify(o),function(e){t(f(e))},function(e){t(e)}):e({status:-1,message:"current version infraredModule has not ".concat(n," interface")})})}function z(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var X=weex.requireModule("modal"),Y=weex.requireModule("navigator"),$=weex.requireModule("stream"),Z=(weex.requireModule("storage"),weex.requireModule("globalEvent"),weex.requireModule("bridgeModule")),ee=(weex.requireModule("singleBlueToothModule"),weex.requireModule("blueToothMeshModule"),weex.requireModule("aiSpeechModule"),{name:"dolphin-native-bridge-libray",version:"0.4.0",isDummy:g,serviceList:{test:"commonservice"},mock:{},toast:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5,n=2<arguments.length?arguments[2]:void 0;"string"!=typeof e&&(e=JSON.stringify(e));try{n?Z.toast({message:e,duration:t||1.5,bgStyle:n}):Z.toast({message:e,duration:t||1.5})}catch(n){X.toast({message:e||"",duration:t})}},alert:function(e,t,n){if("object"===a(e))try{e=JSON.stringify(e)}catch(e){console.error(e)}X.alert({message:e,okTitle:n||"确定"},function(e){t&&"function"==typeof t&&t(e)})},confirm:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"确定",o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"取消";X.confirm({message:e,okTitle:n,cancelTitle:o},function(e){t&&"function"==typeof t&&t(e)})},setNavBarHidden:function(){Y.setNavBarHidden({hidden:1,animated:!1},function(e){})},killKeyboard:function(){this.isDummy||Z.killKeyboard()},getUserInfo:function(){return N({operation:"getUserInfo"})},getCurrentHomeInfo:function(){return N({operation:"getCurrentHomeInfo"})},getTargetHomeInfo:function(){return N(K({operation:"getTargetHomeInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceInfo:function(){return N(K({operation:"getDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},unbindDevice:function(){return N(K({operation:"unbindDevice"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},updateDeviceInfo:function(){return N(K({operation:"updateDeviceInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDevicePluginInfo:function(){return new Promise(function(t,e){try{Z.getDevicePluginInfo({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},hapticFeedback:function(e){return N(e?{operation:"hapticFeedback",intensity:Number(e)}:{operation:"hapticFeedback"})},setStatusBar:function(){return N(K(K({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),{},{operation:"setStatusbar"}))},reload:function(){return new Promise(function(t,e){try{Z.reload({},function(e){t(e)},function(e){t(e)})}catch(t){e(t)}})},callTel:function(e){return N(K({operation:"callTel"},e))},callTelList:function(e){return N({operation:"callTelList",params:e})},setBackHandle:function(){return N({operation:"setBackHandle",isMonitor:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"on"})},scanCode:function(){return N(K({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},openNativeSystemSetting:function(){return N({operation:"openNativeSystemSetting",setting:0<arguments.length&&void 0!==arguments[0]?arguments[0]:"bluetooth"})},getNetworkStatus:function(){return N({operation:"getNetworkStatus"})},shareMsg:function(e){return N({operation:"shareMsg",params:e})},showSharePanel:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){try{Z.showSharePanel(e,function(e){t(e)},function(e){t(e)})}catch(e){n(e)}})},getPath:function(){return new Promise(function(t,e){Z.getWeexPath(function(e){t(te(e))})})},jumpNativePage:function(){return N(K({operation:"jumpNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},backToNative:function(){return C("backToNative")},getWeexFunctionPath:function(){return N({operation:"getWeexFunctionPath"})},weexBundleToWeb:function(){return N(K({operation:"weexBundleToWeb"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},showControlPanelPage:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Z.showControlPanelPage(e)},checkCurrentNotificationStatus:function(){return N({operation:"checkCurrentNotificationStatus"})},getLoginInfo:function(){return N({operation:"getLoginInfo"})},getAuthToken:function(){return new Promise(function(t,e){try{Z.getAuthToken({},function(e){t(te(e))},function(e){t(e)})}catch(t){e(t)}})},startRecordAudio:function(){return N(K({operation:"startRecordAudio"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},stopRecordAudio:function(){return N({operation:"stopRecordAudio"})},takePhoto:function(){return N(K({operation:"takePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},choosePhoto:function(){return N(K({operation:"choosePhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},chooseMulPhoto:function(){return N(K({operation:"chooseMulPhoto"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getCityInfo:function(){return N(K({operation:"getCityInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getWeatherInfo:function(){return N(K({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},baiduGeocoder:function(){return N(K({operation:"baiduGeocoder"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},launchMapApp:function(){return N(K({operation:"launchMapApp"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchMapAddress:function(){return N(K({operation:"searchMapAddress"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},startMonitoringForRegion:function(){return N(K({operation:"startMonitoringForRegion"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getGpsInfo:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"getGPSInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},geoCode:function(){return N(K({operation:"geoCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},mapPoiNearbySearch:function(){return N(K({operation:"mapPoiNearbySearch"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},searchPOI:function(){return N({operation:"searchPOI",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},requestLocation:function(){return N(K({operation:"requestLocation"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},interfaceForThirdParty:function(){Z.interfaceForThirdParty.apply(Z,arguments)},sendCentralCloudRequest:function(o){var r=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{isShowLoading:!0};return new Promise(function(t,n){var e;1!=r.isDummy&&((e=i).url=o,a.isShowLoading&&r.showLoading(),Z.sendCentralCloundRequest(e,function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e),a.isShowLoading&&r.hideLoading()},function(e){a.isShowLoading&&r.hideLoading(),n(e)}))})},sendHttpRequest:function(){var r=this,i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{isShowLoading:!0,isValidate:!0};return new Promise(function(n,o){var e,t=JSON.parse(JSON.stringify(i));!1===r.isDummy&&((t=Object.assign({method:"POST",type:"json"},t)).body&&"GET"===t.method&&(e=function(e){var t="";for(var n in e)"function"!=typeof e[n]&&(t+="&"+n+"="+encodeURI(e[n]));return t.substring(1)}(t.body),-1<t.url.indexOf("?")?t.url+="&"+e:t.url+="?"+e,t.body=""),a.isShowLoading&&r.showLoading(),$.fetch(t,function(e){var t;a.isShowLoading&&r.hideLoading(),e.ok?("string"==typeof(t=e.data)&&(t=JSON.parse(t)),n(t)):("string"==typeof e&&(e=JSON.parse(e)),o(e))}))})},startCmdProcess:function(r,i){return new Promise(function(t,n){var e,o;null==r?n("messageBody 不能为空"):(e=Math.floor(1e3*Math.random()),(o=Object.create(null)).commandId=e,o.messageBody=r,i&&(o.deviceId=i),Z.startCmdProcess(JSON.stringify(o),function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){try{e=JSON.parse(e)}catch(e){}n(e)}))})},sendElectronicRequest:function(e){return C("sendElectronicRequest",e)},requestDataTransmit:function(e){return new Promise(function(t,n){e?Z.requestDataTransmit(JSON.stringify(e),function(e){t(te(e))},function(e){n(e)}):n("必须传入至少一个参数")})},sendLuaRequest:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return!(1<arguments.length&&void 0!==arguments[1])||arguments[1]?(this.showLoading(),N(K(K({operation:"luaQuery"},{params:{}}),t),function(){e.hideLoading()},function(){e.hideLoading()})):N(K(K({operation:"luaQuery"},{params:{}}),t))},getTxList:function(){var o=this,r=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return new Promise(function(t,n){r&&o.showLoading();try{Z.getTXList({},function(e){r&&o.hideLoading(),t(te(e))},function(e){t(e)})}catch(e){n(e)}})},uploadImgFile:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFile"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},uploadImgFileToMas:function(){var e=1<arguments.length?arguments[1]:void 0,t=2<arguments.length?arguments[2]:void 0;return N(K({operation:"uploadImgFileToMas"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}),e,t)},setIdleTimerDisabled:function(){return N({operation:"setIdleTimerDisabled"})},downloadDevicePlugin:function(e){return new Promise(function(t,n){try{Z.downLoadDevicePlugin(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},getDeviceOnlineStatus:function(e){return new Promise(function(t,n){try{Z.getDeviceOnlineStatus(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},loadingLatestPlugin:function(e){return new Promise(function(t,n){try{Z.loadingLatestPlugin(e,function(e){t(te(e))},function(e){t(e)})}catch(e){n(e)}})},genMessageId:function(){for(var e="",t=0;t<8;t++)e+=Math.floor(10*Math.random()).toString();return e},generateUUID:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==e?t:3&t|8).toString(16)})},sendCloudRequest:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=n.method,r=void 0===o?"POST":o,i=n.headers,a={url:e,method:r,headers:void 0===i?{"Content-Type":"application/json;charset=utf-8"}:i,data:K({plugin_version:"0.0.1",stamp:Math.round((new Date).getTime()/1e3),reqId:this.generateUUID()},t)};return new Promise(function(t,n){console.log("params:".concat(JSON.stringify(a,null,4))),Z.sendCentralCloundRequest(a,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})},updateAutoList:function(){return Z.updateAutoList()}});function te(e){try{e=JSON.parse(e)}catch(e){}return e}function ne(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var oe={hideKeyboard:function(){return N({operation:"hideKeyboard",params:{}})},showLoading:function(){return N({operation:"showLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},hideLoading:function(){return N({operation:"hideLoading",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showModal:function(){return N({operation:"showModal",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},showToast:function(e){return N({operation:"showToast",params:{title:e,duration:1<arguments.length&&void 0!==arguments[1]?arguments[1]:1.5}})},showActionSheet:function(){return N({operation:"showActionSheet",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setBottomStatusBar:function(){return N({operation:"setBottomStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setStatusBar:function(){return N({operation:"setStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideStatusBar:function(){return N({operation:"hideStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getStatusBar:function(){return N({operation:"getStatusBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setupMenu:function(){return N({operation:"setupMenu",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},hideNavigationBar:function(){return N({operation:"hideNavigationBar",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showConfirmView:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"showConfirmView"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},popupGeneralList:function(){return N({operation:"popupGeneralList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},showPick:function(){return function(e,t){var o=1<arguments.length&&void 0!==t?t:{};return new Promise(function(t,n){x&&x[e](o,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){n(e)})})}("showPick",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},likeAnimation:function(){return N({operation:"likeAnimation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},dismissFullPage:function(){return N({operation:"dismissFullPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllBarHeight:function(){return N({operation:"getAllBarHeight",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function re(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?re(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ae={errorCaptured:function(t){return u(s.mark(function e(){return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:e.sent;case 3:case"end":return e.stop()}},e)}))()},esTest:function(){console.log("esTest");var n={name:"zoiew"},o={age:20},e=(new Person("zoiew",29),[{age:6,name:"kk"},{age:18,name:"yoyo"}]),t=e.findIndex(function(e,t){return 6===e.age}),r=e.filter(function(e,t){return e.name.includes("yo")});return console.log("index:".concat(t)),console.log(r),new Promise(function(e,t){e(ie(ie({},n),o))})},canIUse:function(){return N({operation:"canIUse",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()}})},getSystemInfo:function(){return N({operation:"getSystemInfo",params:{api:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}}})},log:function(){return N({operation:"log",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fireGlobalEvent:function(){return N({operation:"fireGlobalEvent",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addEventListener:function(e,t){return J("addEventListener",e,t)},removeEventListener:function(e,t){return J("removeEventListener",e,t)},getPluginInfo:function(){return N({operation:"getPluginInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},scanForPlugins:function(){return N({operation:"scanForPlugins",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getElderMode:function(){return N({operation:"getElderMode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDiablomode:function(){return N({operation:"getDiablomode",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},commandInterfaceBuffer:function(o,r,i){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"bridgeModule";return new Promise(function(t,e){o||e("params can not be empty in native bridge module"),r&&"function"!=typeof r?(a=r,r=null):i&&"function"!=typeof i&&(a=i,i=null),o=JSON.stringify(o);var n=weex.requireModule(a);n&&n.commandInterface(o,function(e){try{e=JSON.parse(e)}catch(e){}r&&r(),t(e)},function(e){i&&i(),t(e)})})}};function ue(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ce(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ue(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var se=weex.requireModule("navigator"),le={getContextPath:function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=weex.config.bundleUrl;return 0<t.indexOf("?")&&(t=t.substring(0,t.indexOf("?"))),t=t.split("/").slice(0,-1).join("/"),e?t+"/":t},push:function(){var f=0<arguments.length&&void 0!==arguments[0]?arguments[0]:W("url"),d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{animated:"true",replace:"false"},g=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},h=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){};return new Promise(function(e,t){var n,o,r,i,a,u,c,s=Object.create(null),l="";if("string"===v(f)?(s.url=f,s.options=d,s.params=g,s.callback=h):m(f)&&(n=f.url,r=void 0===(o=f.options)?{animated:"true",replace:"false"}:o,a=void 0===(i=f.params)?{}:i,c=void 0===(u=f.callback)?function(){}:u,s.url=n,s.options=r,s.params=a,s.callback=c),s.params)for(var p in s.params)l+=p+"="+encodeURIComponent(s.params[p])+"&";l=s.url.indexOf("?")?s.url+"?"+l.slice(0,-1):s.url+l.slice(0,-1),/(^http[s]{0,1}:\/\/)|(^file:\/\/)/.test(l)||(l=le.getContextPath()+l);try{se.push(ce({url:l},s.options),h),e({code:0,message:"success",data:null})}catch(e){console.error(e),t(e)}})},pop:function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{animated:"true",level:1},o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};return"function"==typeof n&&(o=n,n=Object.assign({},{animated:"true",level:1})),new Promise(function(e,t){try{se.pop(ce({animated:"true",level:1},n),o)}catch(e){console.error(e),t(e)}})},goToMeijuPage:function(e){return function(n,e){var o=1<arguments.length&&void 0!==e?e:{};return new Promise(function(e,t){y&&y.hasOwnProperty(n)&&y[n](o)})}("goToMeijuPage",e)},popNativePage:function(){return N(ce({operation:"popNativePage"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},goToPage:function(){return N({operation:"goToPage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},reload:function(){return N({operation:"reload"})},openURL:function(){return N({operation:"openURL",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},setMiniAppCache:function(){return q("setMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getMiniAppCache:function(){return q("getMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteMiniAppCache:function(){return q("deleteMiniAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},setGlobalAppCache:function(){return q("setGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getGlobalAppCache:function(){return q("getGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteGlobalAppCache:function(){return q("deleteGlobalAppCache",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},deleteRouterHistory:function(){return N({operation:"deleteRouterHistory",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},pe={getBatteryInfo:function(){return N({operation:"getBatteryInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getScreenBrightness:function(){return N({operation:"getScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setScreenBrightness:function(){return N({operation:"setScreenBrightness",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setKeepScreenOn:function(){return N({operation:"setKeepScreenOn",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startAccelerometer:function(){return N({operation:"startAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopAccelerometer:function(){return N({operation:"stopAccelerometer",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startCompass:function(){return N({operation:"startCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopCompass:function(){return N({operation:"stopCompass",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDeviceMotionListening:function(){return N({operation:"startDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopDeviceMotionListening:function(){return N({operation:"stopDeviceMotionListening",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startGyroscope:function(){return N({operation:"startGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopGyroscope:function(){return N({operation:"stopGyroscope",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateLong:function(){return N({operation:"vibrateLong",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},vibrateShort:function(){return N({operation:"vibrateShort",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},changeVolume:function(){return N({operation:"changeVolume",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},vibrate:function(){return N({operation:"vibrate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAppInfo:function(){return N({operation:"getAppInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},setPageOrientation:function(){return N({operation:"setPageOrientation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},canSupportSwitchTheme:function(){return N({operation:"canSupportSwitchTheme",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAppNewVersion:function(){return N({operation:"getAppNewVersion",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},upgradeApp:function(){return N({operation:"upgradeApp",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},fetchRiskMessage:function(){return N({operation:"fetchRiskMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}};function fe(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var de={scanCode:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"scanCode"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},ge={encrypt:function(){return N({operation:"encrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrypt:function(){return N({operation:"decrypt",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decrptySN:function(){return N({operation:"decrytySN",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},decodeAES128:function(){return N({operation:"decodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},encodeAES128:function(){return N({operation:"encodeAES128",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},he={saveFile:function(){return N({operation:"saveFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteFile:function(){return N({operation:"deleteFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getFileList:function(){return N({operation:"getFileList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},isFileExist:function(){return N({operation:"isFileExist",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},copyFile:function(){return N({operation:"copyFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},appendFile:function(){return N({operation:"appendFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},makeDir:function(){return N({operation:"makeDir",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readFile:function(){return N({operation:"readFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},renameFile:function(){return N({operation:"renameFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},zip:function(){return N({operation:"zip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},unzip:function(){return N({operation:"unzip",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},deleteDownloadFile:function(){return N({operation:"deleteDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getDownloadFileInfo:function(){return N({operation:"getDownloadFileInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},pauseDownloadFile:function(){return N({operation:"pauseDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startDownloadFile:function(){return N({operation:"startDownloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},ve={downloadFile:function(){return N({operation:"downloadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadFile:function(){return N({operation:"uploadFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},uploadLocalFile:function(){return N({operation:"uploadLocalFile",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},uploadFileToOss:function(){return N({operation:"uploadFileToOss",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},resetCookie:function(e){return N({operation:"resetCookie",params:e})}},me={getLocation:function(){return N({operation:"getLocation",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startLocationUpdate:function(){return N({operation:"startLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopLocationUpdate:function(){return N({operation:"stopLocationUpdate",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getTodaySteps:function(){return N({operation:"getTodaySteps"})}},ye={getBluetoothStatus:function(){return N({operation:"getBluetoothStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},blueToothEnable:function(){return N({operation:"blueToothEnable",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},disConnectBluetooth:function(){return N({operation:"disConnectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},sendBlueToothData:function(){return N({operation:"sendBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},readBlueToothData:function(){return N({operation:"readBlueToothData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startBluetoothDiscovery:function(){return N({operation:"startBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},stopBluetoothDiscovery:function(){return N({operation:"stopBluetoothDiscovery",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectBluetooth:function(){return N({operation:"connectBluetooth",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getAllConnectedDeviceInfo:function(){return N({operation:"getAllConnectedDeviceInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getBlueStatus:function(){return B("getBlueStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startBlueScan:function(){return B("startBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopBlueScan:function(){return B("stopBlueScan",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueConnection:function(){return B("setupBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryBlueLuaStatus:function(){return B("queryBlueLuaStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueLuaRequest:function(){return B("sendBlueLuaRequest",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueConnection:function(){return B("disconnectBlueConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},downFile:function(){return B("downFile",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},readFirmwareStatus:function(){return B("readFirmwareStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},startFirmwareOta:function(){return B("startFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},restartBlueDevice:function(){return B("restartBlueDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopFirmwareOta:function(){return B("stopFirmwareOta",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},setupBlueMeshConnection:function(){return F("setupBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},disconnectBlueMeshConnection:function(){return F("disconnectBlueMeshConnection",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},getDeviceBlueMeshListInfo:function(){return E("getDeviceBlueMeshListInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},sendBlueMeshControlMessage:function(){return E("sendBlueMeshControlMessage",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},addBlueMeshModelSubscription:function(){return E("addBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},deleteBlueMeshModelSubscription:function(){return E("deleteBlueMeshModelSubscription",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},queryDeviceConnectStatus:function(){return B("queryDeviceConnectStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},switchModuleMode:function(){return B("switchModuleMode",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},be={chooseImage:function(){return N({operation:"chooseImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},chooseVideo:function(){return N({operation:"chooseVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},compressImage:function(){return N({operation:"compressImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getImageMetaData:function(){return N({operation:"getImageMetaData",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},openShare:function(){return N({operation:"openShare",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewImage:function(){return N({operation:"previewImage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},previewVideo:function(){return N({operation:"previewVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveImageToPhotosAlbum:function(){return N({operation:"saveImageToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},saveVideoToPhotosAlbum:function(){return N({operation:"saveVideoToPhotosAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getVideoDetails:function(){return N({operation:"getVideoDetails",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},startRecord:function(){return N({operation:"startRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseRecord:function(){return N({operation:"pauseRecord"})},resumeRecord:function(){return N({operation:"resumeRecord"})},stopRecord:function(){return N({operation:"stopRecord",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},playAudio:function(){return N({operation:"playAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},pauseAudio:function(){return N({operation:"pauseAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},stopAudio:function(){return N({operation:"stopAudio",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},convertImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).url;return N({operation:"convertImageToBase64",url:void 0===e?isRequired("url"):e})},convertLocalImageToBase64:function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).filePath;return N({operation:"convertLocalImageToBase64",filePath:void 0===e?isRequired("filePath"):e})},seek:function(){return G("seek",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},loop:function(){return G("loop",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},setCallback:function(e,t){return n=e,o=t,void(D&&D.setCallback(function(e){try{e=JSON.parse(e)}catch(e){}n&&n(e)},function(e){o&&o(e)}));var n,o},getDuration:function(){return G("getDuration",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},play:function(){return G("play",0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired())},pause:function(){return G("pause")},stop:function(){return G("stop")},recordVideo:function(){return N({operation:"recordVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},chooseAlbumVideo:function(){return N({operation:"chooseAlbumVideo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:isRequired()})},saveMediaToAlbum:function(){return N({operation:"saveMediaToAlbum",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},Oe={getWifiList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessList:function(){return N({operation:"getWifiList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWifiInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},getWirelessInfo:function(){return N({operation:"getWifiInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWifi:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},connectWireless:function(){return N({operation:"connectWifi",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},we={startSpeechMonitor:function(){return R("startSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},stopSpeechMonitor:function(){return R("stopSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},resumeSpeechMonitor:function(){return R("resumeSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},pauseSpeechMonitor:function(){return R("pauseSpeechMonitor",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})},textToSpeech:function(){return R("textToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})}},Pe=(weex.requireModule("modal"),{reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},reverseHandler:function(){this.toast(this.ISDUMMY)}});function Se(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Me={reportError:function(e){var t=e.stack,n=e.extraInfo;return N({operation:"reportError",errorType:"reportJSException",stack:t,extraInfo:void 0===n?{message:"weex error: no extra information !"}:n})},burialPoint:function(){return Promise.resolve({})},trackEvent:function(){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"trackEvent"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))}},je={checkAndRequestPermission:function(){return N({operation:"checkAndRequestPermission",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})},checkCameraPerMissionStatus:function(){return N({operation:"checkCameraPerMissionStatus",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},De={getNfcInfo:function(){return U("getNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcStatus:function(){return U("getNfcStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getNfcData:function(){return U("getNfcData",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},clearNfcInfo:function(){return U("clearNfcInfo",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},isSupportNfc:function(){return U("isSupportNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startReadNfc:function(){return U("startReadNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},startWriteNfc:function(){return U("startWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},cancelWriteNfc:function(){return U("cancelWriteNfc",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},xe={configDevice:function(){return H("configDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},searchSubDevice:function(){return H("searchSubDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function Ie(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ae(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var Le={getWeatherInfo:function(){return N(Ae({operation:"getWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAppWeatherInfo:function(){return N(Ae({operation:"getAppWeatherInfo"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}};function Te(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Te(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var ke={canUseSiriShortcut:function(){return N({operation:"canUseSiriShortcut"})},addSceneToSiriShortcut:function(){return N({operation:"addSceneToSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllSiriShortcuts:function(){return N({operation:"getAllSiriShortcuts"})},editSiriShortcut:function(){return N({operation:"editSiriShortcut",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},addInstructToSiriShortcut:function(){return N(Ne({operation:"addInstructToSiriShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},getAllSiriInstructShortcuts:function(){return N(Ne({operation:"getAllSiriInstructShortcuts"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))},editSiriInstructShortcut:function(){return N(Ne({operation:"editSiriInstructShortcut"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()))}},Ce={setString:function(){return V("setString",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},getString:function(){return V("getString")}},Ee={prepareSpeech:function(){return R("prepareSpeech")},startSpeechToText:function(){return R("startSpeechToText")},startTextToSpeech:function(){return R("startTextToSpeech",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W())},stopSpeechToText:function(){return R("stopSpeechToText")},stopTextToSpeech:function(){return R("stopTextToSpeech")}},Be={getLoginInfo:function(){return N({operation:"getLoginInfo"})},getUserInfo:function(){return N({operation:"getUserInfo"})},logout:function(){return N({operation:"logout"})},getUnionId:function(){return N({operation:"getUnionId",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAuthToken:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},{subModuleName:"getAuthToken"})},getAuthorizeUserControl:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"getAuthorizeUserControl"})},checkAuthorize:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"checkAuthorize"})},deleteAuthorizeUser:function(){return k(0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),{subModuleName:"deleteAuthorizeUser"})},bindThirdParty:function(){return N({operation:"bindThirdParty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},qe={getHomeInfo:function(){return N({operation:"getHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllHomeInfoList:function(){return N({operation:"getAllHomeInfoList"})},createHome:function(){return N({operation:"createHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateHomeInfo:function(){return N({operation:"updateHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteHome:function(){return N({operation:"deleteHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getHomeMemberList:function(){return N({operation:"getHomeMemberList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},inviteToHome:function(){return N({operation:"inviteToHome",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getRoomInfo:function(){return N({operation:"getRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},getAllRoomInfoList:function(){return N({operation:"getAllRoomInfoList",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},createRoom:function(){return N({operation:"createRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},deleteRoom:function(){return N({operation:"deleteRoom",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},updateRoomInfo:function(){return N({operation:"updateRoomInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},refreshHomeInfo:function(){return N({operation:"refreshHomeInfo",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}};function Fe(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Re={pay:function(e){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fe(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"pay"},e))},getPayAuthorize:function(e){return N({operation:"getPayAuthorize",params:e})},authQQMusicDevice:function(){return _("authQQMusicDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:W(),1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},loginDMAccount:function(){return _("loginDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},refreshDMToken:function(){return _("refreshDMToken",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},logoutDMAccount:function(){return _("logoutDMAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},queryQQMusicAccountAuthStatus:function(){return _("queryQQMusicAccountAuthStatus",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},authQQMusicAccount:function(){return _("authQQMusicAccount",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAuthorizedDevices:function(){return _("fetchAuthorizedDevices",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},fetchAccountByAuthorizedDevice:function(){return _("fetchAccountByAuthorizedDevice",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},revokeDeviceAuthorization:function(){return _("revokeDeviceAuthorization",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}};function Je(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function Ue(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var He={luaQuery:function(){return N(Ue({operation:"luaQuery"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaQueryJson:function(){return N(Ue({operation:"luaQueryJson"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},luaControl:function(){return N(Ue({operation:"luaControl"},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}))},getDeviceList:function(e){return N(Ue({operation:"getDeviceList"},e))},toConfigDevice:function(e){return U("toConfigDevice",e)},getDeviceConnectInfo:function(e){return U("getDeviceConnectInfo",e)},addDevice:function(e){return U("addDevice",e)},getDeviceOTAUpgradeInfo:function(e){return N(Ue({operation:"getDeviceOTAUpgradeInfo"},e))},checkDeviceOTAUpdate:function(e){return N({operation:"checkDeviceOTAUpdate",params:e})},getDeviceIconList:function(e){return N({operation:"getDeviceIconList",params:e})},getDeviceUUID:function(){return N({operation:"getDeviceUUID"})}};function We(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}var Ve={checkInstalledThirdPlatform:function(e){return N({operation:"checkInstalledThirdPlatform",params:e})},inviteFamily:function(e){return N(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?We(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({operation:"inviteFamily"},e))},shareCustomPanel:function(e){return C("shareCustomPanel",e)},sharePeerToPeer:function(e){return N({operation:"sharePeerToPeer",params:e})}},Ge={cameraMatch:function(){return Q("cameraMatch",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)},getCameraMatchStbSp:function(){return Q("getCameraMatchStbSp",0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},1<arguments.length?arguments[1]:void 0,2<arguments.length?arguments[2]:void 0)}},_e={openMiniProgram:function(){return N({operation:"openMiniProgram",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2PerformAction:function(){return N({operation:"tslV2PerformAction",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryAllProperties:function(){return N({operation:"tslV2QueryAllProperties",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2QueryProperty:function(){return N({operation:"tslV2QueryProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})},tslV2SetupProperty:function(){return N({operation:"tslV2SetupProperty",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:W()})}},Qe={subscribeMessage:function(){return N({operation:"subscribeMessage",params:0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}})}},ze=weex.requireModule("bridgeModule"),Ke=weex.requireModule("storage"),Xe=(weex.requireModule("modal"),{code:-13,msg:"接口不支持"}),Ye={};function $e(e,t){Ke&&Ke.getItem(e,t)}function Ze(o,r){var i;void 0!==r&&(i={},$e("WEEX_CANIUSE_MAP",function(e){var t,n;"undefined"!==e.data?(i=JSON.parse(e.data))[o]=r:i[o]=r,t=JSON.stringify(i),"object"==a(t)&&(n=JSON.stringify(t)),Ke.setItem("WEEX_CANIUSE_MAP",n||t,function(e){console.log("set success")})}))}function et(r,i){return new Promise((n=u(s.mark(function e(t,n){var o;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o={},void 0===Ye[r]){e.next=5;break}o=Ye[r],e.next=8;break;case 5:return e.next=7,function(e){var n={operation:"canIUse",params:{api:e}};return new Promise(function(t,e){n||e("params can not be empty in native bridge module"),n=JSON.stringify(n),ze&&ze.commandInterface(n,function(e){try{e=JSON.parse(e)}catch(e){}t(e)},function(e){t(e)})})}(r);case 7:o=e.sent;case 8:!0===o.enable||!0===o?(Ze(r,o.enable),t(!0)):(i||(i=n),i(Xe));case 9:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}));var n}$e("WEEX_CANIUSE_MAP",function(e){"undefined"!==e.data&&(Ye=JSON.parse(e.data))});var tt=["setNavBarHidden","decrptySN","commandInterfaceBuffer","getPath","sendCentralCloudRequest","sendHttpRequest","sendLuaRequest","getTXList","genMessageId","generateUUID","sendCloudRequest","updateAutoList","convertRequestBody","JSONFormat","getContextPath","push","pop","reverseHandler","getWirelessList","getWirelessInfo","connectWireless"];function nt(t,e){var n,o=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)),o}function ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function rt(e){e.prototype.$bridge=at}var it=ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot(ot({},ee),ae),le),ye),pe),de),ge),he),ve),me),be),oe),Oe),we),Pe),Me),je),De),xe),Le),ke),Ce),Ee),Be),qe),Re),He),Ve),Ge),_e),Qe),at=new Proxy(it,{get:function(e,i,t){var a=e[i];return"function"==typeof a?u(s.mark(function e(){var t,n,o,r=arguments;return s.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,tt.includes(i)){e.next=4;break}return e.next=4,et(i);case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",Promise.reject(Xe));case 9:for(t=r.length,n=new Array(t),o=0;o<t;o++)n[o]=r[o];return e.abrupt("return",a.apply(this,n));case 11:case"end":return e.stop()}},e,this,[[0,6]])})):a}}),ut={install:rt};e.Bridge=at,e.Utils=i,e.default=ut,e.install=rt,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
1893
|
-
//# sourceMappingURL=dolphin-native-bridge.umd.js.map
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
1896
|
/***/ }),
|
|
1897
1897
|
/* 10 */
|
|
1898
1898
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1904,7 +1904,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1904
1904
|
value: true
|
|
1905
1905
|
});
|
|
1906
1906
|
|
|
1907
|
-
var _indexWeex = __webpack_require__(
|
|
1907
|
+
var _indexWeex = __webpack_require__(8);
|
|
1908
1908
|
|
|
1909
1909
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
1910
1910
|
|
|
@@ -2191,7 +2191,7 @@ var _dofOperationModal = __webpack_require__(84);
|
|
|
2191
2191
|
|
|
2192
2192
|
var _dofOperationModal2 = _interopRequireDefault(_dofOperationModal);
|
|
2193
2193
|
|
|
2194
|
-
var _dofOverlay = __webpack_require__(
|
|
2194
|
+
var _dofOverlay = __webpack_require__(9);
|
|
2195
2195
|
|
|
2196
2196
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
2197
2197
|
|
|
@@ -8532,7 +8532,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
8532
8532
|
|
|
8533
8533
|
|
|
8534
8534
|
// module
|
|
8535
|
-
exports.push([module.i, "\n@media screen and (weex-theme: colmo) {\n.wrap[data-v-4a804fed] {\n height: 0.85333rem;\n /* border-radius: 34px;\n border-width: 2px;\n border-style: solid;\n border-color: rgba(255,255,255,0.2); 用这种颜色表示安卓有模糊的问题 */\n border: 0.02667rem solid #
|
|
8535
|
+
exports.push([module.i, "\n@media screen and (weex-theme: colmo) {\n.wrap[data-v-4a804fed] {\n height: 0.85333rem;\n /* border-radius: 34px;\n border-width: 2px;\n border-style: solid;\n border-color: rgba(255,255,255,0.2); 用这种颜色表示安卓有模糊的问题 */\n border: 0.02667rem solid #5e5f60; /* 2024.12.04 修改边框颜色规范 */\n}\n.wrap2[data-v-4a804fed] {\n height: 1.06667rem;\n border-radius: 0.53333rem;\n}\n.dot[data-v-4a804fed] {\n width: 0.16rem;\n height: 0.16rem;\n margin-right: 0.16rem;\n border-radius: 0.16rem;\n}\n.mainText[data-v-4a804fed] {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.smallPromptText[data-v-4a804fed] {\n font-size: 0.32rem;\n line-height: 0.42667rem;\n color: rgba(255,255,255,0.40);\n}\n.fakeBorder[data-v-4a804fed] {\n width: 1px;\n height: 0.49333rem;\n background-color: transparent;\n}\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-status/colmo.css"],"names":[],"mappings":";AAAA;AACE;IACE,mBAAa;IACb;;;2DAGuD;IACvD,iCAA0B,CAAC,yBAAyB;CACrD;AACD;IACE,mBAAa;IACb,0BAAoB;CACrB;AACD;IACE,eAAY;IACZ,gBAAa;IACb,sBAAmB;IACnB,uBAAoB;CACrB;AACD;IACE,gCAAgC;IAChC,iBAAiB;CAClB;AACD;IACE,mBAAgB;IAChB,wBAAkB;IAClB,8BAA8B;CAC/B;AACD;IACE,WAAW;IACX,mBAAa;IACb,8BAA8B;CAC/B;CACF","file":"colmo.css","sourcesContent":["@media screen and (weex-theme: colmo) {\n .wrap {\n height: 64px;\n /* border-radius: 34px;\n border-width: 2px;\n border-style: solid;\n border-color: rgba(255,255,255,0.2); 用这种颜色表示安卓有模糊的问题 */\n border: 2px solid #5e5f60; /* 2024.12.04 修改边框颜色规范 */\n }\n .wrap2 {\n height: 80px;\n border-radius: 40px;\n }\n .dot {\n width: 12px;\n height: 12px;\n margin-right: 12px;\n border-radius: 12px;\n }\n .mainText {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n }\n .smallPromptText {\n font-size: 24px;\n line-height: 32px;\n color: rgba(255,255,255,0.40);\n }\n .fakeBorder {\n width: 1px;\n height: 37px;\n background-color: transparent;\n }\n}\n"],"sourceRoot":""}]);
|
|
8536
8536
|
|
|
8537
8537
|
// exports
|
|
8538
8538
|
|
|
@@ -9064,7 +9064,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
9064
9064
|
|
|
9065
9065
|
|
|
9066
9066
|
// module
|
|
9067
|
-
exports.push([module.i, "\n.indicator[data-v-7ecb2930] {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 0.26667rem;\n height: 0.26667rem;\n bottom: 0.32rem;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n width: 0.26667rem;\n height: 0.26667rem;\n}\n.indicator .weex-indicator-item.weex-indicator-item-active[data-v-7ecb2930] {\n background-color: #ffc300;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n background-color: rgba(255, 195, 0, .5);\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/index.vue?25abe080","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css
|
|
9067
|
+
exports.push([module.i, "\n.indicator[data-v-7ecb2930] {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 0.26667rem;\n height: 0.26667rem;\n bottom: 0.32rem;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n width: 0.26667rem;\n height: 0.26667rem;\n}\n.indicator .weex-indicator-item.weex-indicator-item-active[data-v-7ecb2930] {\n background-color: #ffc300;\n}\n.indicator .weex-indicator-item[data-v-7ecb2930] {\n background-color: rgba(255, 195, 0, .5);\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/index.vue?25abe080","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 15>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 14>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-lightbox/<input css 13>"],"names":[],"mappings":";AA6BA;EACA,mBAAA;EACA,kCAAA;EACA,6BAAA;EACA,sBAAA;EACA,mBAAA;EACA,gBAAA;CACA;ACnCA;EACE,kBAAY;EACZ,mBAAa;CACd;ACHD;EACE,0BAA0B;CAC3B;ACFD;EACE,wCAAwC;CACzC","file":"index.vue","sourcesContent":["<template>\n <dof-mask :width=\"width\"\n :height=\"height\"\n aria-hidden=\"true\"\n mask-bg-color=\"transparent\"\n overlay-opacity=\"0.8\"\n :show=\"show\"\n :opacity='opacity'\n :show-close=\"false\"\n @dofMaskSetHidden=\"maskOverlayClick\">\n <slider auto-play=\"false\"\n v-if=\"show\"\n :index=\"index\"\n :interval=\"interval\"\n :style=\"{ height: height + 'px'}\">\n <div v-for=\"(v,index) in imageList\"\n :style=\"{ height: height + 'px'}\"\n :key=\"index\">\n <image resize=\"cover\"\n :src=\"v.src\"\n :style=\"{ height: height + 'px', width: width + 'px'}\"></image>\n </div>\n <indicator class=\"indicator\"\n :style=\"indicatorStyle\"></indicator>\n </slider>\n </dof-mask>\n</template>\n\n<style scoped>\n .indicator {\n position: absolute;\n item-color: rgba(255, 195, 0, .5);\n item-selected-color: #ffc300;\n item-size: 20px;\n height: 20px;\n bottom: 24px;\n }\n</style>\n\n<script>\n import DofMask from '../dof-mask';\n\n export default {\n components: {\n DofMask\n },\n props: {\n width: {\n type: [Number, String],\n default: 750\n },\n height: {\n type: [Number, String],\n default: 750\n },\n show: {\n type: Boolean,\n default: false\n },\n imageList: Array,\n indicatorColor: {\n type: Object,\n default: () => ({\n 'item-color': 'rgba(255, 195, 0, .5)',\n 'item-selected-color': '#ffc300',\n 'item-size': '20px'\n })\n },\n index: {\n type: [Number, String],\n default: 0\n },\n interval: {\n type: [Number, String],\n default: 3000\n },\n opacity: {\n type: [Number, String],\n default: 0.6\n }\n },\n computed: {\n indicatorStyle () {\n return {\n width: this.width + 'px',\n ...this.indicatorColor\n };\n }\n },\n methods: {\n maskOverlayClick () {\n this.$emit('dofLightboxOverlayClicked', {});\n }\n }\n };\n</script>\n","\n.indicator .weex-indicator-item {\n width: 20px;\n height: 20px;\n}","\n.indicator .weex-indicator-item.weex-indicator-item-active {\n background-color: #ffc300;\n}","\n.indicator .weex-indicator-item {\n background-color: rgba(255, 195, 0, .5);\n}"],"sourceRoot":""}]);
|
|
9068
9068
|
|
|
9069
9069
|
// exports
|
|
9070
9070
|
|
|
@@ -9428,7 +9428,7 @@ exports = module.exports = __webpack_require__(0)(true);
|
|
|
9428
9428
|
|
|
9429
9429
|
|
|
9430
9430
|
// module
|
|
9431
|
-
exports.push([module.i, "\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 0.66667rem;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n width: 0.18667rem;\n height: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 0.21333rem;\n}\n.image {\n border-radius: 0.21333rem;\n background-color: #f2f2f2;\n}\n.div_out {\n border-radius: 0.21333rem;\n position: relative;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/index.vue?f583422e","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css
|
|
9431
|
+
exports.push([module.i, "\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 0.66667rem;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n width: 0.18667rem;\n height: 0.18667rem;\n}\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 0.21333rem;\n}\n.image {\n border-radius: 0.21333rem;\n background-color: #f2f2f2;\n}\n.div_out {\n border-radius: 0.21333rem;\n position: relative;\n}\n", "", {"version":3,"sources":["/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/index.vue?f583422e","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css 12>","/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-ui/packages/dof-swiper/<input css 11>"],"names":[],"mappings":";AAiCA;EACA,mBAAA;EACA,UAAA;EACA,QAAA;EACA,SAAA;EACA,mBAAA;EACA,qCAAA;EACA,2CAAA;EACA,sBAAA;CACA;ACzCA;EACE,kBAAY;EACZ,mBAAa;CACd;ACHD;EACE,2CAA2C;CAC5C;AFwCD;EACA,gCAAA;EACA,wBAAA;EACA,0BAAA;CACA;AACA;EACA,0BAAA;EACA,0BAAA;CACA;AACA;EACA,0BAAA;EACA,mBAAA;CACA","file":"index.vue","sourcesContent":["<template>\n <div :style=\"{ marginLeft: divLeft, width: imgWidth }\" class=\"div_out\">\n <slider\n class=\"slider\"\n :style=\"sliderStyle\"\n :interval=\"interval\"\n @change=\"change\"\n :auto-play=\"autoplay\"\n :infinite=\"infinite\"\n >\n <div v-for=\"(item, index) in slItems\" :key=\"index\" @click=\"imgClicked(item, index)\">\n <image\n :resize=\"imgResize\"\n :style=\"{ width: imgWidth, height: imgHeight }\"\n :src=\"item.url\"\n :placeholder=\"phImgUrl\"\n class=\"image\"\n >\n </image>\n </div>\n <indicator class=\"indicator\" :style=\"indicatorStyle\" v-if=\"showIndicator && !_isColmo\"></indicator>\n </slider>\n <div class=\"indicator-box\" v-if=\"showIndicator && _isColmo\">\n <div\n :class=\"['indicator-item', i === slItems.length - 1 && 'isLast', i == active && 'active']\"\n v-for=\"(item, i) in slItems\"\n :key=\"i\"\n ></div>\n </div>\n </div>\n</template>\n\n<style>\n.indicator {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n height: 50px;\n item-color: rgba(255, 255, 255, 0.5);\n item-selectedcolor: rgba(255, 255, 255, 1);\n item-size: 14px;\n}\n.slider {\n /* background-color: #f2f2f2; */\n /* margin-left: 32px; */\n border-radius: 16px;\n}\n.image {\n border-radius: 16px;\n background-color: #f2f2f2;\n}\n.div_out {\n border-radius: 16px;\n position: relative;\n}\n</style>\n<style scoped src=\"./colmo.css\"></style>\n\n<script>\nconst icon = require('../setting/icon.base64')\nvar PLACEHOLDERIMAGE = icon['ic_img_null@2x']\nconst modal = weex.requireModule('modal')\nimport ColmoMixin from '../../mixins/colmo'\n\nexport default {\n mixins: [ColmoMixin],\n props: {\n sliderStyle: {\n type: Object,\n default: () => ({\n width: '686px',\n height: '280px',\n position: 'relative'\n })\n },\n indicatorStyle: {\n type: Object,\n default: () => ({})\n },\n items: {\n type: Array,\n default: () => []\n },\n interval: {\n type: Number,\n default: 3000\n },\n autoplay: {\n type: Boolean,\n default: true\n },\n infinite: {\n type: Boolean,\n default: true\n },\n imgResize: {\n type: String,\n default: 'cover'\n },\n imgWidth: {\n type: String,\n default: '686px'\n },\n divLeft: {\n type: String,\n default: '32px'\n },\n imgHeight: {\n type: String,\n default: '280px'\n },\n showIndicator: {\n type: Boolean,\n default: true\n },\n phImgUrl: {\n type: String,\n default: PLACEHOLDERIMAGE\n }\n },\n data: function() {\n return {\n slItems: [],\n active: 0\n }\n },\n created() {\n if (this.items.length > 10) {\n this.slItems.splice(0)\n this.slItems = this.items.slice(0, 10)\n } else if (this.items.length <= 10) {\n this.slItems.splice(0)\n this.slItems = this.items.slice(0)\n }\n },\n methods: {\n imgClicked(target, index) {\n this.$emit('dofSwiperClicked', { target, index })\n },\n change(val) {\n this.active = val.index\n }\n }\n}\n</script>\n","\n.indicator .weex-indicator-item {\n width: 14px;\n height: 14px;\n}","\n.indicator .weex-indicator-item {\n background-color: rgba(255, 255, 255, 0.5);\n}"],"sourceRoot":""}]);
|
|
9432
9432
|
|
|
9433
9433
|
// exports
|
|
9434
9434
|
|
|
@@ -9898,9 +9898,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
9898
9898
|
|
|
9899
9899
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
9900
9900
|
|
|
9901
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
9901
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
9902
9902
|
|
|
9903
|
-
var _dofOverlay = __webpack_require__(
|
|
9903
|
+
var _dofOverlay = __webpack_require__(9);
|
|
9904
9904
|
|
|
9905
9905
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
9906
9906
|
|
|
@@ -14544,7 +14544,7 @@ var _dofImage = __webpack_require__(14);
|
|
|
14544
14544
|
|
|
14545
14545
|
var _dofImage2 = _interopRequireDefault(_dofImage);
|
|
14546
14546
|
|
|
14547
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
14547
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
14548
14548
|
|
|
14549
14549
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14550
14550
|
|
|
@@ -14699,11 +14699,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
14699
14699
|
|
|
14700
14700
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
14701
14701
|
|
|
14702
|
-
var _dofOverlay = __webpack_require__(
|
|
14702
|
+
var _dofOverlay = __webpack_require__(9);
|
|
14703
14703
|
|
|
14704
14704
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
14705
14705
|
|
|
14706
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
14706
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
14707
14707
|
|
|
14708
14708
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14709
14709
|
|
|
@@ -16011,7 +16011,7 @@ var _bindEnv = __webpack_require__(10);
|
|
|
16011
16011
|
|
|
16012
16012
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
16013
16013
|
|
|
16014
|
-
var _indexWeex = __webpack_require__(
|
|
16014
|
+
var _indexWeex = __webpack_require__(8);
|
|
16015
16015
|
|
|
16016
16016
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
16017
16017
|
|
|
@@ -17112,7 +17112,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17112
17112
|
value: true
|
|
17113
17113
|
});
|
|
17114
17114
|
|
|
17115
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
17115
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
17116
17116
|
|
|
17117
17117
|
var _dofIconfont = __webpack_require__(5);
|
|
17118
17118
|
|
|
@@ -18272,7 +18272,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
18272
18272
|
value: true
|
|
18273
18273
|
});
|
|
18274
18274
|
|
|
18275
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
18275
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
18276
18276
|
|
|
18277
18277
|
exports.default = {
|
|
18278
18278
|
props: {
|
|
@@ -19407,7 +19407,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
19407
19407
|
|
|
19408
19408
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
19409
19409
|
|
|
19410
|
-
var _dofOverlay = __webpack_require__(
|
|
19410
|
+
var _dofOverlay = __webpack_require__(9);
|
|
19411
19411
|
|
|
19412
19412
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
19413
19413
|
|
|
@@ -20284,7 +20284,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
20284
20284
|
//
|
|
20285
20285
|
//
|
|
20286
20286
|
|
|
20287
|
-
var _dofOverlay = __webpack_require__(
|
|
20287
|
+
var _dofOverlay = __webpack_require__(9);
|
|
20288
20288
|
|
|
20289
20289
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
20290
20290
|
|
|
@@ -21893,7 +21893,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21893
21893
|
value: true
|
|
21894
21894
|
});
|
|
21895
21895
|
|
|
21896
|
-
var _indexWeex = __webpack_require__(
|
|
21896
|
+
var _indexWeex = __webpack_require__(8);
|
|
21897
21897
|
|
|
21898
21898
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
21899
21899
|
|
|
@@ -23661,7 +23661,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
23661
23661
|
|
|
23662
23662
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
23663
23663
|
|
|
23664
|
-
var _dofOverlay = __webpack_require__(
|
|
23664
|
+
var _dofOverlay = __webpack_require__(9);
|
|
23665
23665
|
|
|
23666
23666
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
23667
23667
|
|
|
@@ -23669,7 +23669,7 @@ var _utils = __webpack_require__(4);
|
|
|
23669
23669
|
|
|
23670
23670
|
var _utils2 = _interopRequireDefault(_utils);
|
|
23671
23671
|
|
|
23672
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
23672
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
23673
23673
|
|
|
23674
23674
|
var _colmo = __webpack_require__(3);
|
|
23675
23675
|
|
|
@@ -24985,7 +24985,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
24985
24985
|
value: true
|
|
24986
24986
|
});
|
|
24987
24987
|
|
|
24988
|
-
var _index = __webpack_require__(
|
|
24988
|
+
var _index = __webpack_require__(8);
|
|
24989
24989
|
|
|
24990
24990
|
var _index2 = _interopRequireDefault(_index);
|
|
24991
24991
|
|
|
@@ -26743,11 +26743,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
26743
26743
|
|
|
26744
26744
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
26745
26745
|
|
|
26746
|
-
var _dofOverlay = __webpack_require__(
|
|
26746
|
+
var _dofOverlay = __webpack_require__(9);
|
|
26747
26747
|
|
|
26748
26748
|
var _dofOverlay2 = _interopRequireDefault(_dofOverlay);
|
|
26749
26749
|
|
|
26750
|
-
var _dolphinNativeBridge = __webpack_require__(
|
|
26750
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
26751
26751
|
|
|
26752
26752
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26753
26753
|
|
|
@@ -28214,7 +28214,7 @@ var _bindEnv = __webpack_require__(10);
|
|
|
28214
28214
|
|
|
28215
28215
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
28216
28216
|
|
|
28217
|
-
var _indexWeex = __webpack_require__(
|
|
28217
|
+
var _indexWeex = __webpack_require__(8);
|
|
28218
28218
|
|
|
28219
28219
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
28220
28220
|
|
|
@@ -30547,7 +30547,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
30547
30547
|
value: true
|
|
30548
30548
|
});
|
|
30549
30549
|
|
|
30550
|
-
var _indexWeex = __webpack_require__(
|
|
30550
|
+
var _indexWeex = __webpack_require__(8);
|
|
30551
30551
|
|
|
30552
30552
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
30553
30553
|
|
|
@@ -31227,7 +31227,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
31227
31227
|
value: true
|
|
31228
31228
|
});
|
|
31229
31229
|
|
|
31230
|
-
var _indexWeex = __webpack_require__(
|
|
31230
|
+
var _indexWeex = __webpack_require__(8);
|
|
31231
31231
|
|
|
31232
31232
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
31233
31233
|
|
|
@@ -32504,7 +32504,7 @@ var _bindEnv = __webpack_require__(10);
|
|
|
32504
32504
|
|
|
32505
32505
|
var _bindEnv2 = _interopRequireDefault(_bindEnv);
|
|
32506
32506
|
|
|
32507
|
-
var _indexWeex = __webpack_require__(
|
|
32507
|
+
var _indexWeex = __webpack_require__(8);
|
|
32508
32508
|
|
|
32509
32509
|
var _indexWeex2 = _interopRequireDefault(_indexWeex);
|
|
32510
32510
|
|
|
@@ -37281,6 +37281,8 @@ var _createClass = function () { function defineProperties(target, props) { for
|
|
|
37281
37281
|
|
|
37282
37282
|
var _direction = __webpack_require__(419);
|
|
37283
37283
|
|
|
37284
|
+
var _dolphinNativeBridge = __webpack_require__(7);
|
|
37285
|
+
|
|
37284
37286
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
37285
37287
|
|
|
37286
37288
|
var Touch = exports.Touch = function () {
|
|
@@ -37292,12 +37294,25 @@ var Touch = exports.Touch = function () {
|
|
|
37292
37294
|
}]);
|
|
37293
37295
|
|
|
37294
37296
|
function Touch() {
|
|
37297
|
+
var _this = this;
|
|
37298
|
+
|
|
37295
37299
|
_classCallCheck(this, Touch);
|
|
37296
37300
|
|
|
37297
37301
|
this.startX = 0;
|
|
37298
37302
|
this.startY = 0;
|
|
37303
|
+
this.startX = 0;
|
|
37304
|
+
this.moveStartX = 0;
|
|
37305
|
+
this.moveStartY = 0;
|
|
37299
37306
|
this.deltaX = 0;
|
|
37300
37307
|
this.deltaY = 0;
|
|
37308
|
+
this.isIos = weex.config.env.platform == 'iOS' ? true : false;
|
|
37309
|
+
this.envConfig = weex.config.env;
|
|
37310
|
+
this.systemInfo = null;
|
|
37311
|
+
_dolphinNativeBridge.Bridge.getSystemInfo().then(function (res) {
|
|
37312
|
+
_this.systemInfo = res;
|
|
37313
|
+
}).catch(function (err) {
|
|
37314
|
+
// this.$toast(err)
|
|
37315
|
+
});
|
|
37301
37316
|
|
|
37302
37317
|
this.direction = _direction.Direction.NONE;
|
|
37303
37318
|
}
|
|
@@ -37318,6 +37333,8 @@ var Touch = exports.Touch = function () {
|
|
|
37318
37333
|
value: function reset() {
|
|
37319
37334
|
this.startX = 0;
|
|
37320
37335
|
this.startY = 0;
|
|
37336
|
+
this.moveStartX = 0;
|
|
37337
|
+
this.moveStartY = 0;
|
|
37321
37338
|
this.deltaX = 0;
|
|
37322
37339
|
this.deltaY = 0;
|
|
37323
37340
|
this.direction = _direction.Direction.NONE;
|
|
@@ -37332,15 +37349,24 @@ var Touch = exports.Touch = function () {
|
|
|
37332
37349
|
value: function start(evt) {
|
|
37333
37350
|
var e = this.getTouchByEvent(evt);
|
|
37334
37351
|
this.reset();
|
|
37335
|
-
|
|
37352
|
+
// screenX 触摸点相对于屏幕左侧边缘的 X 轴坐标
|
|
37353
|
+
// pageX 触摸点相对于文档左侧边缘的 X 轴坐标
|
|
37354
|
+
this.moveStartX = e.screenX;
|
|
37355
|
+
this.moveStartY = e.screenY;
|
|
37356
|
+
// 判断为折叠机
|
|
37357
|
+
var isFoldAble = this.systemInfo.screenWidth > this.envConfig.deviceWidth ? true : false;
|
|
37358
|
+
|
|
37359
|
+
// ios或正常屏机型,保持位移X用screenX
|
|
37360
|
+
// 折叠机展开则用计算出实际x坐标大小
|
|
37361
|
+
this.startX = this.isIos || !isFoldAble ? e.screenX : e.screenX - (this.systemInfo.screenWidth - this.envConfig.deviceWidth) / this.envConfig.scale;
|
|
37336
37362
|
this.startY = e.screenY;
|
|
37337
37363
|
}
|
|
37338
37364
|
}, {
|
|
37339
37365
|
key: 'move',
|
|
37340
37366
|
value: function move(evt) {
|
|
37341
37367
|
var e = this.getTouchByEvent(evt);
|
|
37342
|
-
this.deltaX = e.screenX - this.
|
|
37343
|
-
this.deltaY = e.screenY - this.
|
|
37368
|
+
this.deltaX = e.screenX - this.moveStartX;
|
|
37369
|
+
this.deltaY = e.screenY - this.moveStartY;
|
|
37344
37370
|
if (this.isUndetermined) {
|
|
37345
37371
|
this.direction = this.resolveDirection(this.offsetX, this.offsetY);
|
|
37346
37372
|
}
|