SmartStorage/unpackage/dist/build/app-plus/app-service.js

17 lines
1004 KiB
JavaScript
Raw Normal View History

2024-11-23 12:37:45 +08:00
(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{0:function(e,t){},"00b1":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return n}));var n={uniIcons:a("1add").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("view",{staticClass:e._$s(0,"sc","uni-date"),attrs:{_i:0}},[a("view",{staticClass:e._$s(1,"sc","uni-date-editor"),attrs:{_i:1},on:{click:e.show}},[e._t("default",[a("view",{staticClass:e._$s(3,"sc","uni-date-editor--x"),class:e._$s(3,"c",{"uni-date-editor--x__disabled":e.disabled,"uni-date-x--border":e.border}),attrs:{_i:3}},[e._$s(4,"i",!e.isRange)?a("view",{staticClass:e._$s(4,"sc","uni-date-x uni-date-single"),attrs:{_i:4}},[a("uni-icons",{staticClass:e._$s(5,"sc","icon-calendar"),attrs:{type:"calendar",color:"#c0c4cc",size:"22",_i:5}}),a("view",{staticClass:e._$s(6,"sc","uni-date__x-input"),attrs:{_i:6}},[e._v(e._$s(6,"t0-0",e._s(e.displayValue||e.singlePlaceholderText)))])],1):a("view",{staticClass:e._$s(7,"sc","uni-date-x uni-date-range"),attrs:{_i:7}},[a("uni-icons",{staticClass:e._$s(8,"sc","icon-calendar"),attrs:{type:"calendar",color:"#c0c4cc",size:"22",_i:8}}),a("view",{staticClass:e._$s(9,"sc","uni-date__x-input text-center"),attrs:{_i:9}},[e._v(e._$s(9,"t0-0",e._s(e.displayRangeValue.startDate||e.startPlaceholderText)))]),a("view",{staticClass:e._$s(10,"sc","range-separator"),attrs:{_i:10}},[e._v(e._$s(10,"t0-0",e._s(e.rangeSeparator)))]),a("view",{staticClass:e._$s(11,"sc","uni-date__x-input text-center"),attrs:{_i:11}},[e._v(e._$s(11,"t0-0",e._s(e.displayRangeValue.endDate||e.endPlaceholderText)))])],1),e._$s(12,"i",e.showClearIcon)?a("view",{staticClass:e._$s(12,"sc","uni-date__icon-clear"),attrs:{_i:12},on:{click:function(t){return t.stopPropagation(),e.clear(t)}}},[a("uni-icons",{attrs:{type:"clear",color:"#c0c4cc",size:"22",_i:13}})],1):e._e()])],{_i:2})],2),a("view",{directives:[{name:"show",rawName:"v-show",value:e._$s(14,"v-show",e.pickerVisible),expression:"_$s(14,'v-show',pickerVisible)"}],staticClass:e._$s(14,"sc","uni-date-mask--pc"),attrs:{_i:14},on:{click:e.close}}),e._$s(15,"i",!e.isPhone)?a("view",{directives:[{name:"show",rawName:"v-show",value:e._$s(15,"v-show",e.pickerVisible),expression:"_$s(15,'v-show',pickerVisible)"}],ref:"datePicker",staticClass:e._$s(15,"sc","uni-date-picker__container"),attrs:{_i:15}},[e._$s(16,"i",!e.isRange)?a("view",{staticClass:e._$s(16,"sc","uni-date-single--x"),style:e._$s(16,"s",e.pickerPositionStyle),attrs:{_i:16}},[a("view",{staticClass:e._$s(17,"sc","uni-popper__arrow"),attrs:{_i:17}}),e._$s(18,"i",e.hasTime)?a("view",{staticClass:e._$s(18,"sc","uni-date-changed popup-x-header"),attrs:{_i:18}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.inputDate,expression:"inputDate"}],staticClass:e._$s(19,"sc","uni-date__input text-center"),attrs:{placeholder:e._$s(19,"a-placeholder",e.selectDateText),_i:19},domProps:{value:e._$s(19,"v-model",e.inputDate)},on:{input:function(t){t.target.composing||(e.inputDate=t.target.value)}}}),a("time-picker",{attrs:{type:"time",border:!1,disabled:!e.inputDate,start:e.timepickerStartTime,end:e.timepickerEndTime,hideSecond:e.hideSecond,_i:20},model:{value:e._$s(20,"v-model",e.pickerTime),callback:function(t){e.pickerTime=t},expression:"pickerTime"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.pickerTime,expression:"pickerTime"}],staticClass:e._$s(21,"sc","uni-date__input text-center"),attrs:{placeholder:e._$s(21,"a-placeholder",e.selectTimeText),disabled:e._$s(21,"a-disabled",!e.inputDate),_i:21},domProps:{value:e._$s(21,"v-model",e.pickerTime)},on:{input:function(t){t.target.composing||(e.pickerTime=t.target.value)}}})])],1):e._e(),a("Calendar",{ref:"pcSingle",attrs:{showMonth:!1,"start-date":e.calendarRange.startDate,"end-date":e.calendarRange.endDate,date:e.calendarDate,"default-value":e.defaultValue,_i:22},on:{change:e.singleChange}}),e._$s(23,"i",e.hasTime)?a("view",{staticClass:e._$s(23,"sc","popup-x-footer"),attrs:{_i:23}},[a("text",{staticClass:e._$s(24,"sc","co
2023-12-20 15:15:23 +08:00
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
2024-11-23 12:37:45 +08:00
var n=a("10ab"),i=a("ba37"),r=a("b0e4");function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,a){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,a);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,a)}function u(e,t,a,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,a,n){if(t.byteLength,a<0||t.byteLength<a)throw new RangeError("'offset' is out of bounds");if(t.byteLength<a+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===a&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,a):new Uint8Array(t,a,n);c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=d(e,t);return e}(e,t,a,n):"string"===typeof t?function(e,t,a){"string"===typeof a&&""!==a||(a="utf8");if(!c.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(t,a);e=o(e,n);var i=e.write(t,a);i!==n&&(e=e.slice(0,i));return e}(e,t,a):function(e,t){if(c.isBuffer(t)){var a=0|h(t.length);return e=o(e,a),0===e.length?e:(t.copy(e,0,0,a),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?o(e,0):d(e,t);if("Buffer"===t.type&&r(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=o(e,t<0?0:0|h(t)),!c.TYPED_ARRAY_SUPPORT)for(var a=0;a<t;++a)e[a]=0;return e}function d(e,t){var a=t.length<0?0:0|h(t.length);e=o(e,a);for(var n=0;n<a;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var a=e.length;if(0===a)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return U(e).length;default:if(n)return F(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,a){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===a||a>this.length)&&(a=this.length),a<=0)return"";if(a>>>=0,t>>>=0,a<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return T(this,t,a);case"utf8":case"utf-8":return $(this,t,a);case"ascii":return I(this,t,a);case"latin1":case"binary":return P(this,t,a);case"base64":return C(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,a);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,a){var n=e[t];e[t]=e[a],e[a]=n}function g(e,t,a,n,i){if(0===e.length)return-1;if("string"===typeof a?(n=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,isNaN(a)&&(a=i?0:e.length-1),a<0&&(a=e.length+a),a>=e.length){if(i)return-1;a=e.length-1}else if(a<0){if(!i)return-1;a=0}if("string"===typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:_(e,t,a,n,i);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,a):Uint8Array.prototype.lastIndexOf.call(e,t,a):_(e,[t],a,n,i);throw new TypeError("val must be string, number or Buffer")}function _(e,t,a,n,i){var r,s=1,o=e.length,c=t.length;if
2024-08-19 14:31:13 +08:00
/*!
* vuex v3.6.2
* (c) 2021 Evan You
* @license MIT
*/
2024-11-23 12:37:45 +08:00
function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var a=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,a.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l))}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(e){0},f.prototype.commit=function(e,t,a){var n=this,i=_(e,t,a),r=i.type,s=i.payload,o=(i.options,{type:r,payload:s}),c=this._mutations[r];c&&(this._withCommit((function(){c.forEach((function(e){e(s)}))})),this._subscribers.slice().forEach((function(e){return e(o,n.state)})))},f.prototype.dispatch=function(e,t){var a=this,n=_(e,t),i=n.type,r=n.payload,s={type:i,payload:r},o=this._actions[i];if(o){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(s,a.state)}))}catch(u){0}var c=o.length>1?Promise.all(o.map((function(e){return e(r)}))):o[0](r);return new Promise((function(e,t){c.then((function(t){try{a._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(s,a.state)}))}catch(u){0}e(t)}),(function(e){try{a._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(s,a.state,e)}))}catch(u){0}t(e)}))}))}},f.prototype.subscribe=function(e,t){return h(e,this._subscribers,t)},f.prototype.subscribeAction=function(e,t){var a="function"===typeof e?{before:e}:e;return h(a,this._actionSubscribers,t)},f.prototype.watch=function(e,t,a){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,a)},f.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},f.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),m(this,this.state,e,this._modules.get(e),a.preserveState),v(this,this.state)},f.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var a=g(t.state,e.slice(0,-1));l.delete(a,e[e.length-1])})),p(this)},f.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},f.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),p(this,!0)},f.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(f.prototype,d);var b=C((function(e,t){var a={};return S(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var n=$(this.$store,"mapState",e);if(!n)return;t=n.context.state,a=n.context.getters}return"function"===typeof i?i.call(this,t,a):t[i]},a[n].vuex=!0})),a})),w=C((function(e,t){var a={};return S(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.commit;if(e){var r=$(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a})),x=C((function(e,t){var a={};return S(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,a[n]=function(){if(!e||$(this.$store,"mapGetters",e))return this.$store.getters[i]},a[n].vuex=!0})),a})),k=C((function(e,t){var a={};return S(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.dispatch;if(e){var r=$(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a}));function S(e){return function(e){return Array.isArray(e)||s(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function C(e){return function(t,a){return"string"!==typeof t?(a=t,t=""):"/"!==t.ch
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return a},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,a={},r=Object.prototype,s=r.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,a){return e[t]=a}}function h(e,t,a,n){var i=t&&t.prototype instanceof y?t:y,r=Object.create(i.prototype),s=new A(n||[]);return o(r,"_invoke",{value:P(e,a,s)}),r}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}a.wrap=h;var v="suspendedStart",m="executing",g="completed",_={};function y(){}function b(){}function w(){}var x={};d(x,u,(function(){return this}));var k=Object.getPrototypeOf,S=k&&k(k(E([])));S&&S!==r&&s.call(S,u)&&(x=S);var C=w.prototype=y.prototype=Object.create(x);function $(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function a(i,r,o,c){var u=p(e[i],e,r);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==n(f)&&s.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,o,c)}),(function(e){a("throw",e,o,c)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return a("throw",e,o,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,i){a(e,n,t,i)}))}return i=i?i.then(r,r):r()}})}function P(e,a,n){var i=v;return function(r,s){if(i===m)throw Error("Generator is already running");if(i===g){if("throw"===r)throw s;return{value:t,done:!0}}for(n.method=r,n.arg=s;;){var o=n.delegate;if(o){var c=T(o,n);if(c){if(c===_)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===v)throw i=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var u=p(e,a,n);if("normal"===u.type){if(i=n.done?g:"suspendedYield",u.arg===_)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=g,n.method="throw",n.arg=u.arg)}}}function T(e,a){var n=a.method,i=e.iterator[n];if(i===t)return a.delegate=null,"throw"===n&&e.iterator["return"]&&(a.method="return",a.arg=t,T(e,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=p(i,e.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var s=r.arg;return s?s.done?(a[e.resultName]=s.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,_):s:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function O(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var a=e[u];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function a(){for(;++i<e.length;)if(s.call(e,i))return a.value=e[i],a.done=!1,a;return a.value=t,a.done=!0,a};return r.next=r}}throw new TypeError(n(e)+" is not iterable")}return b.prototype=w,o(C,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,f,"GeneratorFunction"),a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,d(e,f,"GeneratorFunction")),e.prototype=Object.create(C),e},a.awrap=function(e){return{__await:e}},$(I.prototype),d(I.prototype,l,(function(){return this})),a.AsyncIterator=I,a.async=functi
2024-07-31 08:55:30 +08:00
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2024-11-23 12:37:45 +08:00
t.read=function(e,t,a,n,i){var r,s,o=8*i-n-1,c=(1<<o)-1,u=c>>1,l=-7,f=a?i-1:0,d=a?-1:1,h=e[t+f];for(f+=d,r=h&(1<<-l)-1,h>>=-l,l+=o;l>0;r=256*r+e[t+f],f+=d,l-=8);for(s=r&(1<<-l)-1,r>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===r)r=1-u;else{if(r===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),r-=u}return(h?-1:1)*s*Math.pow(2,r-n)},t.write=function(e,t,a,n,i,r){var s,o,c,u=8*r-i-1,l=(1<<u)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:r-1,p=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),t+=s+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(s++,c/=2),s+f>=l?(o=0,s=l):s+f>=1?(o=(t*c-1)*Math.pow(2,i),s+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[a+h]=255&o,h+=p,o/=256,i-=8);for(s=s<<i|o,u+=i;u>0;e[a+h]=255&s,h+=p,s/=256,u-=8);e[a+h-p]|=128*v}},bb05:function(e,t,a){"use strict";a.r(t);var n=a("00b1"),i=a("8629");for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);var s=a("828b"),o=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);t["default"]=o.exports},bb57:function(e,t,a){"use strict";var n=a("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("164a")),r=i.default;t.default=r},bb59:function(e,t,a){"use strict";a.r(t);var n=a("f1f6"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(r);t["default"]=i.a},bbd6:function(e,t,a){"use strict";(function(e){var n=a("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("af34")),r=n(a("3b2d")),s=n(a("7ca3")),o=a("1cc7");function c(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function u(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){(0,s.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var l={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var e=u(u({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),t="";for(var a in e){var n=this.toLine(a);t+=n+":"+e[a]+";"}return t},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.duration&&(this.durationTime=e.duration),this.animation=(0,o.createAnimation)(Object.assign(this.config,e),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in t)try{var s;if("object"===(0,r.default)(t[n]))(s=this.animation)[n].apply(s,(0,i.default)(t[n]));else this.animation[n](t[n])}catch(o){e("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:148")}return this.animation.step(a),this}},run:function(e){this.animation&&this.animation.run(e)},open:function(){var e=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var t=this.styleInit(!1),a=t.opacity,n=t.transform;"undefin