@vue-mini/core 1.0.0-rc.8 → 1.0.0
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/README.md +5 -1
- package/dist/vue-mini.cjs.js +36 -30
- package/dist/vue-mini.cjs.prod.js +2 -2
- package/dist/vue-mini.d.ts +7 -6
- package/dist/vue-mini.esm-bundler.js +16 -14
- package/package.json +11 -2
package/README.md
CHANGED
package/dist/vue-mini.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vue-mini v1.0.0
|
|
2
|
+
* vue-mini v1.0.0
|
|
3
3
|
* https://github.com/vue-mini/vue-mini
|
|
4
4
|
* (c) 2019-present Yang Mingshan
|
|
5
5
|
* @license MIT
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @vue/shared v3.4.
|
|
10
|
+
* @vue/shared v3.4.31
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
13
|
**/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// @__NO_SIDE_EFFECTS__
|
|
16
16
|
function makeMap(str, expectsLowerCase) {
|
|
17
17
|
const set = new Set(str.split(","));
|
|
18
|
-
return
|
|
18
|
+
return (val) => set.has(val);
|
|
19
19
|
}
|
|
20
20
|
const NOOP$1 = () => {
|
|
21
21
|
};
|
|
@@ -45,16 +45,17 @@ const capitalize = cacheStringFunction((str) => {
|
|
|
45
45
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
46
46
|
});
|
|
47
47
|
const hasChanged$1 = (value, oldValue) => !Object.is(value, oldValue);
|
|
48
|
-
const def = (obj, key, value) => {
|
|
48
|
+
const def = (obj, key, value, writable = false) => {
|
|
49
49
|
Object.defineProperty(obj, key, {
|
|
50
50
|
configurable: true,
|
|
51
51
|
enumerable: false,
|
|
52
|
+
writable,
|
|
52
53
|
value
|
|
53
54
|
});
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
* @vue/reactivity v3.4.
|
|
58
|
+
* @vue/reactivity v3.4.31
|
|
58
59
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
59
60
|
* @license MIT
|
|
60
61
|
**/
|
|
@@ -237,11 +238,10 @@ class ReactiveEffect {
|
|
|
237
238
|
}
|
|
238
239
|
}
|
|
239
240
|
stop() {
|
|
240
|
-
var _a;
|
|
241
241
|
if (this.active) {
|
|
242
242
|
preCleanupEffect(this);
|
|
243
243
|
postCleanupEffect(this);
|
|
244
|
-
|
|
244
|
+
this.onStop && this.onStop();
|
|
245
245
|
this.active = false;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
@@ -281,8 +281,7 @@ function effect(fn, options) {
|
|
|
281
281
|
});
|
|
282
282
|
if (options) {
|
|
283
283
|
extend$1(_effect, options);
|
|
284
|
-
if (options.scope)
|
|
285
|
-
recordEffectScope(_effect, options.scope);
|
|
284
|
+
if (options.scope) recordEffectScope(_effect, options.scope);
|
|
286
285
|
}
|
|
287
286
|
if (!options || !options.lazy) {
|
|
288
287
|
_effect.run();
|
|
@@ -454,8 +453,8 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
454
453
|
resetScheduling();
|
|
455
454
|
}
|
|
456
455
|
function getDepFromReactive(object, key) {
|
|
457
|
-
|
|
458
|
-
return
|
|
456
|
+
const depsMap = targetMap.get(object);
|
|
457
|
+
return depsMap && depsMap.get(key);
|
|
459
458
|
}
|
|
460
459
|
|
|
461
460
|
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
|
@@ -492,8 +491,7 @@ function createArrayInstrumentations() {
|
|
|
492
491
|
return instrumentations;
|
|
493
492
|
}
|
|
494
493
|
function hasOwnProperty(key) {
|
|
495
|
-
if (!isSymbol(key))
|
|
496
|
-
key = String(key);
|
|
494
|
+
if (!isSymbol(key)) key = String(key);
|
|
497
495
|
const obj = toRaw(this);
|
|
498
496
|
track(obj, "has", key);
|
|
499
497
|
return obj.hasOwnProperty(key);
|
|
@@ -977,7 +975,11 @@ function shallowReadonly(target) {
|
|
|
977
975
|
function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
|
|
978
976
|
if (!isObject$1(target)) {
|
|
979
977
|
{
|
|
980
|
-
warn(
|
|
978
|
+
warn(
|
|
979
|
+
`value cannot be made ${isReadonly2 ? "readonly" : "reactive"}: ${String(
|
|
980
|
+
target
|
|
981
|
+
)}`
|
|
982
|
+
);
|
|
981
983
|
}
|
|
982
984
|
return target;
|
|
983
985
|
}
|
|
@@ -1113,7 +1115,7 @@ function trackRefValue(ref2) {
|
|
|
1113
1115
|
);
|
|
1114
1116
|
}
|
|
1115
1117
|
}
|
|
1116
|
-
function triggerRefValue(ref2, dirtyLevel = 4, newVal) {
|
|
1118
|
+
function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
|
|
1117
1119
|
ref2 = toRaw(ref2);
|
|
1118
1120
|
const dep = ref2.dep;
|
|
1119
1121
|
if (dep) {
|
|
@@ -1124,7 +1126,8 @@ function triggerRefValue(ref2, dirtyLevel = 4, newVal) {
|
|
|
1124
1126
|
target: ref2,
|
|
1125
1127
|
type: "set",
|
|
1126
1128
|
key: "value",
|
|
1127
|
-
newValue: newVal
|
|
1129
|
+
newValue: newVal,
|
|
1130
|
+
oldValue: oldVal
|
|
1128
1131
|
}
|
|
1129
1132
|
);
|
|
1130
1133
|
}
|
|
@@ -1160,9 +1163,10 @@ class RefImpl {
|
|
|
1160
1163
|
const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);
|
|
1161
1164
|
newVal = useDirectValue ? newVal : toRaw(newVal);
|
|
1162
1165
|
if (hasChanged$1(newVal, this._rawValue)) {
|
|
1166
|
+
const oldVal = this._rawValue;
|
|
1163
1167
|
this._rawValue = newVal;
|
|
1164
1168
|
this._value = useDirectValue ? newVal : toReactive(newVal);
|
|
1165
|
-
triggerRefValue(this, 4, newVal);
|
|
1169
|
+
triggerRefValue(this, 4, newVal, oldVal);
|
|
1166
1170
|
}
|
|
1167
1171
|
}
|
|
1168
1172
|
}
|
|
@@ -1379,7 +1383,9 @@ function flushPostFlushCbs() {
|
|
|
1379
1383
|
activePostFlushCbs = [...new Set(pendingPostFlushCbs)];
|
|
1380
1384
|
pendingPostFlushCbs.length = 0;
|
|
1381
1385
|
for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
|
|
1382
|
-
activePostFlushCbs[postFlushIndex]
|
|
1386
|
+
const cb = activePostFlushCbs[postFlushIndex];
|
|
1387
|
+
if (cb.active !== false)
|
|
1388
|
+
cb();
|
|
1383
1389
|
}
|
|
1384
1390
|
activePostFlushCbs = null;
|
|
1385
1391
|
postFlushIndex = 0;
|
|
@@ -1632,39 +1638,39 @@ function doWatch(source, cb, { immediate, deep, flush, once, onTrack, onTrigger
|
|
|
1632
1638
|
}
|
|
1633
1639
|
return unwatch;
|
|
1634
1640
|
}
|
|
1635
|
-
function traverse(value, depth
|
|
1636
|
-
if (!isObject(value) || value[ReactiveFlags.SKIP]) {
|
|
1641
|
+
function traverse(value, depth = Number.POSITIVE_INFINITY, seen) {
|
|
1642
|
+
if (depth <= 0 || !isObject(value) || value[ReactiveFlags.SKIP]) {
|
|
1637
1643
|
return value;
|
|
1638
1644
|
}
|
|
1639
|
-
if (depth && depth > 0) {
|
|
1640
|
-
if (currentDepth >= depth) {
|
|
1641
|
-
return value;
|
|
1642
|
-
}
|
|
1643
|
-
currentDepth++;
|
|
1644
|
-
}
|
|
1645
1645
|
seen = seen || new Set();
|
|
1646
1646
|
if (seen.has(value)) {
|
|
1647
1647
|
return value;
|
|
1648
1648
|
}
|
|
1649
1649
|
seen.add(value);
|
|
1650
|
+
depth--;
|
|
1650
1651
|
/* istanbul ignore else -- @preserve */
|
|
1651
1652
|
if (isRef(value)) {
|
|
1652
|
-
traverse(value.value, depth,
|
|
1653
|
+
traverse(value.value, depth, seen);
|
|
1653
1654
|
}
|
|
1654
1655
|
else if (isArray(value)) {
|
|
1655
1656
|
for (let i = 0; i < value.length; i++) {
|
|
1656
|
-
traverse(value[i], depth,
|
|
1657
|
+
traverse(value[i], depth, seen);
|
|
1657
1658
|
}
|
|
1658
1659
|
}
|
|
1659
1660
|
else if (isSet(value) || isMap(value)) {
|
|
1660
1661
|
value.forEach((v) => {
|
|
1661
|
-
traverse(v, depth,
|
|
1662
|
+
traverse(v, depth, seen);
|
|
1662
1663
|
});
|
|
1663
1664
|
}
|
|
1664
1665
|
else if (isPlainObject(value)) {
|
|
1665
1666
|
// eslint-disable-next-line guard-for-in
|
|
1666
1667
|
for (const key in value) {
|
|
1667
|
-
traverse(value[key], depth,
|
|
1668
|
+
traverse(value[key], depth, seen);
|
|
1669
|
+
}
|
|
1670
|
+
for (const key of Object.getOwnPropertySymbols(value)) {
|
|
1671
|
+
if (Object.prototype.propertyIsEnumerable.call(value, key)) {
|
|
1672
|
+
traverse(value[key], depth, seen);
|
|
1673
|
+
}
|
|
1668
1674
|
}
|
|
1669
1675
|
}
|
|
1670
1676
|
return value;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vue-mini v1.0.0
|
|
2
|
+
* vue-mini v1.0.0
|
|
3
3
|
* https://github.com/vue-mini/vue-mini
|
|
4
4
|
* (c) 2019-present Yang Mingshan
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
"use strict";
|
|
8
|
-
/*! #__NO_SIDE_EFFECTS__ */function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t=()=>{},n=Object.assign,s=Object.prototype.hasOwnProperty,i=(e,t)=>s.call(e,t),o=Array.isArray,r=e=>"[object Map]"===l(e),c=e=>"function"==typeof e,_=e=>"symbol"==typeof e,a=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,l=e=>h.call(e),u=e=>l(e).slice(8,-1),f=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,d=(e,t)=>!Object.is(e,t);let p,O;class E{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=p,!e&&p&&(this.index=(p.scopes||(p.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=p;try{return p=this,e()}finally{p=t}}}on(){p=this}off(){p=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function v(e,t=p){t&&t.active&&t.effects.push(e)}function S(){return p}class N{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,v(this,s)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,b();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(A(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),I()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=O;try{return y=!0,O=this,this._runnings++,R(this),this.fn()}finally{g(this),this._runnings--,O=t,y=e}}stop(){var e;this.active&&(R(this),g(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function A(e){return e.value}function R(e){e._trackId++,e._depsLength=0}function g(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)T(e.deps[t],e);e.deps.length=e._depsLength}}function T(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let y=!0,m=0;const D=[];function b(){D.push(y),y=!1}function I(){const e=D.pop();y=void 0===e||e}function L(){m++}function H(){for(m--;!m&&x.length;)x.shift()()}function P(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&T(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function w(e,t,n){L();for(const n of e.keys()){let s;n._dirtyLevel<t&&(null!=s?s:s=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=0===n._dirtyLevel),n._dirtyLevel=t),n._shouldSchedule&&(null!=s?s:s=e.get(n)===n._trackId)&&(n.trigger(),n._runnings&&!n.allowRecurse||2===n._dirtyLevel||(n._shouldSchedule=!1,n.scheduler&&x.push(n.scheduler)))}H()}const C=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},M=new WeakMap,k=Symbol(""),j=Symbol("");function U(e,t,n){if(y&&O){let t=M.get(e);t||M.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=C((()=>t.delete(n)))),P(O,s)}}function V(e,t,n,s,i,c){const a=M.get(e);if(!a)return;let h=[];if("clear"===t)h=[...a.values()];else if("length"===n&&o(e)){const e=Number(s);a.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&h.push(t)}))}else switch(void 0!==n&&h.push(a.get(n)),t){case"add":o(e)?f(n)&&h.push(a.get("length")):(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"delete":o(e)||(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"set":r(e)&&h.push(a.get(k))}L();for(const e of h)e&&w(e,4);H()}const G=e("__proto__,__v_isRef,__isVue"),W=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),F=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=xe(this);for(let e=0,t=this.length;e<t;e++)U(n,0,e+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(xe)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){b(),L();const n=xe(this)[t].apply(this,e);return H(),I(),n}})),e}function Y(e){_(e)||(e=String(e));const t=xe(this);return U(t,0,e),t.hasOwnProperty(e)}class z{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(s?r?Te:ge:r?Re:Ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=o(e);if(!s){if(c&&i(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return Y}const h=Reflect.get(e,t,n);return(_(t)?W.has(t):G(t))?h:(s||U(e,0,t),r?h:Ue(h)?c&&f(t)?h:h.value:a(h)?s?De(h):ye(h):h)}}class Q extends z{constructor(e=!1){super(!1,e)}set(e,t,n,s){let r=e[t];if(!this._isShallow){const t=Le(r);if(He(n)||Le(n)||(r=xe(r),n=xe(n)),!o(e)&&Ue(r)&&!Ue(n))return!t&&(r.value=n,!0)}const c=o(e)&&f(t)?Number(t)<e.length:i(e,t),_=Reflect.set(e,t,n,s);return e===xe(s)&&(c?d(n,r)&&V(e,"set",t,n):V(e,"add",t,n)),_}deleteProperty(e,t){const n=i(e,t),s=Reflect.deleteProperty(e,t);return s&&n&&V(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return _(t)&&W.has(t)||U(e,0,t),n}ownKeys(e){return U(e,0,o(e)?"length":k),Reflect.ownKeys(e)}}class X extends z{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Z=new Q,J=new X,K=new Q(!0),$=new X(!0),q=e=>e,ee=e=>Reflect.getPrototypeOf(e);function te(e,t,n=!1,s=!1){const i=xe(e=e.__v_raw),o=xe(t);n||(d(t,o)&&U(i,0,t),U(i,0,o));const{has:r}=ee(i),c=s?q:n?Ce:we;return r.call(i,t)?c(e.get(t)):r.call(i,o)?c(e.get(o)):void(e!==i&&e.get(t))}function ne(e,t=!1){const n=this.__v_raw,s=xe(n),i=xe(e);return t||(d(e,i)&&U(s,0,e),U(s,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function se(e,t=!1){return e=e.__v_raw,!t&&U(xe(e),0,k),Reflect.get(e,"size",e)}function ie(e){e=xe(e);const t=xe(this);return ee(t).has.call(t,e)||(t.add(e),V(t,"add",e,e)),this}function oe(e,t){t=xe(t);const n=xe(this),{has:s,get:i}=ee(n);let o=s.call(n,e);o||(e=xe(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?d(t,r)&&V(n,"set",e,t):V(n,"add",e,t),this}function re(e){const t=xe(this),{has:n,get:s}=ee(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&V(t,"delete",e,void 0),o}function ce(){const e=xe(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}function _e(e,t){return function(n,s){const i=this,o=i.__v_raw,r=xe(o),c=t?q:e?Ce:we;return!e&&U(r,0,k),o.forEach(((e,t)=>n.call(s,c(e),c(t),i)))}}function ae(e,t,n){return function(...s){const i=this.__v_raw,o=xe(i),c=r(o),_="entries"===e||e===Symbol.iterator&&c,a="keys"===e&&c,h=i[e](...s),l=n?q:t?Ce:we;return!t&&U(o,0,a?j:k),{next(){const{value:e,done:t}=h.next();return t?{value:e,done:t}:{value:_?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function he(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function le(){const e={get(e){return te(this,e)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!1)},t={get(e){return te(this,e,!1,!0)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!0)},n={get(e){return te(this,e,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!1)},s={get(e){return te(this,e,!0,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=ae(i,!1,!1),n[i]=ae(i,!0,!1),t[i]=ae(i,!1,!0),s[i]=ae(i,!0,!0)})),[e,n,t,s]}const[ue,fe,de,pe]=le();function Oe(e,t){const n=t?e?pe:de:e?fe:ue;return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(i(n,s)&&s in t?n:t,s,o)}const Ee={get:Oe(!1,!1)},ve={get:Oe(!1,!0)},Se={get:Oe(!0,!1)},Ne={get:Oe(!0,!0)},Ae=new WeakMap,Re=new WeakMap,ge=new WeakMap,Te=new WeakMap;function ye(e){return Le(e)?e:be(e,!1,Z,Ee,Ae)}function me(e){return be(e,!1,K,ve,Re)}function De(e){return be(e,!0,J,Se,ge)}function be(e,t,n,s,i){if(!a(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(u(c));var c;if(0===r)return e;const _=new Proxy(e,2===r?s:n);return i.set(e,_),_}function Ie(e){return Le(e)?Ie(e.__v_raw):!(!e||!e.__v_isReactive)}function Le(e){return!(!e||!e.__v_isReadonly)}function He(e){return!(!e||!e.__v_isShallow)}function Pe(e){return!!e&&!!e.__v_raw}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}const we=e=>a(e)?ye(e):e,Ce=e=>a(e)?De(e):e;class Me{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new N((()=>e(this._value)),(()=>je(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=xe(this);return e._cacheable&&!e.effect.dirty||!d(e._value,e._value=e.effect.run())||je(e,4),ke(e),e.effect._dirtyLevel>=2&&je(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ke(e){var t;y&&O&&(e=xe(e),P(O,null!=(t=e.dep)?t:e.dep=C((()=>e.dep=void 0),e instanceof Me?e:void 0)))}function je(e,t=4,n){const s=(e=xe(e)).dep;s&&w(s,t)}function Ue(e){return!(!e||!0!==e.__v_isRef)}function Ve(e){return Ge(e,!1)}function Ge(e,t){return Ue(e)?e:new We(e,t)}class We{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:xe(e),this._value=t?e:we(e)}get value(){return ke(this),this._value}set value(e){const t=this.__v_isShallow||He(e)||Le(e);e=t?e:xe(e),d(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:we(e),je(this,4))}}function Fe(e){return Ue(e)?e.value:e}const Be={get:(e,t,n)=>Fe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};class Ye{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>ke(this)),(()=>je(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ze{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=xe(this._object),t=this._key,null==(n=M.get(e))?void 0:n.get(t);var e,t,n}}class Qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){const s=e[t];return Ue(s)?s:new ze(e,t,n)}const Ze={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"},Je=()=>{},{isArray:Ke}=Array,$e=Object.assign;function qe(e,t){const n={};return Object.keys(e).forEach((s=>{t.includes(s)||(n[s]=e[s])})),n}function et(e){return Object.prototype.toString.call(e).slice(8,-1)}function tt(e){return null!==e&&"object"==typeof e}function nt(e){return"Object"===et(e)}function st(e){return"function"==typeof e}function it(e,t){return e!==t&&(e==e||t==t)}function ot(e){return`__${e}__`}let rt=!1,ct=!1;const _t=[];let at=0;const ht=[];let lt=null,ut=0;const ft=Promise.resolve();let dt=null;function pt(e){0!==_t.length&&_t.includes(e,rt&&e.allowRecurse?at+1:at)||(_t.push(e),rt||ct||(ct=!0,dt=ft.then(Et)))}function Ot(){if(ht.length>0){for(lt=[...new Set(ht)],ht.length=0,ut=0;ut<lt.length;ut++)lt[ut]();lt=null,ut=0}}function Et(e){ct=!1,rt=!0;try{for(at=0;at<_t.length;at++){const e=_t[at];!1!==e.active&&e()}}finally{at=0,_t.length=0,rt=!1,dt=null}}const vt={};function St(e,t,n){return Nt(e,t,n)}function Nt(e,t,{immediate:n,deep:s,flush:i,once:o}={}){if(t&&o){const e=t;t=(...t)=>{e(...t),E()}}const r=e=>!0===s?e:At(e,!1===s?1:void 0);let c,_,a=!1,h=!1;if(Ue(e)?(c=()=>e.value,a=He(e)):Ie(e)?(c=()=>r(e),a=!0):Ke(e)?(h=!0,a=e.some((e=>Ie(e)||He(e))),c=()=>e.map((e=>Ue(e)?e.value:Ie(e)?r(e):st(e)?e():void 0))):c=st(e)?t?()=>e():()=>(_&&_(),e(l)):Je,t&&s){const e=c;c=()=>At(e())}const l=e=>{_=p.onStop=()=>{e(),_=p.onStop=void 0}};let u=h?Array.from({length:e.length}).fill(vt):vt;const f=()=>{if(p.active&&p.dirty)if(t){const e=p.run();(s||a||(h?e.some(((e,t)=>it(e,u[t]))):it(e,u)))&&(_&&_(),t(e,u===vt?void 0:h&&u[0]===vt?[]:u,l),u=e)}else p.run()};let d;f.allowRecurse=Boolean(t),d="sync"===i?f:"post"===i?()=>{!function(e){lt&<.includes(e,e.allowRecurse?ut+1:ut)||ht.push(e)}(f)}:()=>{pt(f)};const p=new N(c,Je,d),O=S(),E=()=>{p.stop(),O&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(O.effects,p)};return t?n?f():u=p.run():p.run(),E}function At(e,t,n=0,s){if(!tt(e)||e[Ze.SKIP])return e;if(t&&t>0){if(n>=t)return e;n++}if((s=s||new Set).has(e))return e;if(s.add(e),Ue(e))At(e.value,t,n,s);else if(Ke(e))for(let i=0;i<e.length;i++)At(e[i],t,n,s);else if("Set"===et(e)||function(e){return"Map"===et(e)}(e))e.forEach((e=>{At(e,t,n,s)}));else if(nt(e))for(const i in e)At(e[i],t,n,s);return e}const Rt=Object.create(null);let gt=null,Tt=null,yt=null;function mt(){return Tt||yt}var Dt,bt,It;function Lt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}function Ht(e){if(function(e){const t=new Set(["undefined","boolean","number","string"]);return null===e||t.has(typeof e)}(e)||st(e))return e;if(Ue(e))return Ht(e.value);if(Pe(e))return Ht(xe(e));if(Ke(e))return e.map((e=>Ht(e)));if(nt(e)){const t={};return Object.keys(e).forEach((n=>{t[n]=Ht(e[n])})),t}throw new TypeError(`${et(e)} value is not supported`)}function Pt(e,t){tt(t)&&St(Ue(t)?t:()=>t,(()=>{this.setData({[e]:Ht(t)},Ot)}),{deep:!0})}function xt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}!function(e){e.ON_LAUNCH="onLaunch",e.ON_SHOW="onShow",e.ON_HIDE="onHide",e.ON_ERROR="onError",e.ON_PAGE_NOT_FOUND="onPageNotFound",e.ON_UNHANDLED_REJECTION="onUnhandledRejection",e.ON_THEME_CHANGE="onThemeChange"}(Dt||(Dt={})),function(e){e.ON_LOAD="onLoad",e.ON_SHOW="onShow",e.ON_READY="onReady",e.ON_HIDE="onHide",e.ON_UNLOAD="onUnload",e.ON_ROUTE_DONE="onRouteDone",e.ON_PULL_DOWN_REFRESH="onPullDownRefresh",e.ON_REACH_BOTTOM="onReachBottom",e.ON_PAGE_SCROLL="onPageScroll",e.ON_SHARE_APP_MESSAGE="onShareAppMessage",e.ON_SHARE_TIMELINE="onShareTimeline",e.ON_ADD_TO_FAVORITES="onAddToFavorites",e.ON_RESIZE="onResize",e.ON_TAB_ITEM_TAP="onTabItemTap",e.ON_SAVE_EXIT_STATE="onSaveExitState"}(bt||(bt={})),function(e){e.ATTACHED="attached",e.READY="ready",e.MOVED="moved",e.DETACHED="detached",e.ERROR="error"}(It||(It={}));const wt={[bt.ON_SHOW]:"show",[bt.ON_HIDE]:"hide",[bt.ON_RESIZE]:"resize",[bt.ON_ROUTE_DONE]:"routeDone",[It.READY]:bt.ON_READY};function Ct(e,t){return jt(t,e.lifetimes[t]||e[t])}function Mt(e,t){return jt(t,e.methods[t])}function kt(e,t){return jt(t,e.pageLifetimes[wt[t]])}function jt(e,t){const n=ot(e);return function(...e){const s=this[n];s&&s.forEach((t=>t(...e))),void 0!==t&&t.call(this,...e)}}const Ut=sn(Dt.ON_SHOW),Vt=sn(Dt.ON_HIDE),Gt=sn(Dt.ON_ERROR),Wt=sn(Dt.ON_PAGE_NOT_FOUND),Ft=sn(Dt.ON_UNHANDLED_REJECTION),Bt=sn(Dt.ON_THEME_CHANGE),Yt=on(bt.ON_SHOW),zt=on(bt.ON_HIDE),Qt=on(bt.ON_UNLOAD),Xt=on(bt.ON_ROUTE_DONE),Zt=on(bt.ON_PULL_DOWN_REFRESH),Jt=on(bt.ON_REACH_BOTTOM),Kt=on(bt.ON_RESIZE),$t=on(bt.ON_TAB_ITEM_TAP),qt=rn(bt.ON_LOAD),en=rn(It.MOVED),tn=rn(It.DETACHED),nn=rn(It.ERROR);function sn(e){return t=>{gt&&cn(gt,e,t)}}function on(e){return t=>{const n=mt();n&&cn(n,e,t)}}function rn(e){return t=>{yt&&cn(yt,e,t)}}function cn(e,t,n){const s=ot(t);void 0===e[s]&&(e[s]=[]),e[s].push(n)}exports.EffectScope=E,exports.ReactiveEffect=N,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(e,n,s=!1){let i,o;const r=c(e);return r?(i=e,o=t):(i=e.get,o=e.set),new Me(i,o,r||!o,s)},exports.createApp=function(e){let t,n;if(st(e))t=e,n={};else{if(void 0===e.setup)return void App(e);t=e.setup,n=qe(e,["setup"])}const s=n[Dt.ON_LAUNCH];n[Dt.ON_LAUNCH]=function(e){gt=this;const n=t(e);void 0!==n&&Object.keys(n).forEach((e=>{this[e]=n[e]})),gt=null,void 0!==s&&s.call(this,e)},n[Dt.ON_SHOW]=Lt(n,Dt.ON_SHOW),n[Dt.ON_HIDE]=Lt(n,Dt.ON_HIDE),n[Dt.ON_ERROR]=Lt(n,Dt.ON_ERROR),n[Dt.ON_PAGE_NOT_FOUND]=Lt(n,Dt.ON_PAGE_NOT_FOUND),n[Dt.ON_UNHANDLED_REJECTION]=Lt(n,Dt.ON_UNHANDLED_REJECTION),n[Dt.ON_THEME_CHANGE]=Lt(n,Dt.ON_THEME_CHANGE),App(n)},exports.customRef=function(e){return new Ye(e)},exports.defineComponent=function(e,t){let n,s;t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t);let i=null;if(st(e))n=e,s={};else{if(void 0===e.setup)return Component(e);n=e.setup,s=qe(e,["setup"]),s.properties&&(i=Object.keys(s.properties))}void 0===s.lifetimes&&(s.lifetimes={});const o=s.lifetimes[It.ATTACHED]||s[It.ATTACHED];s.lifetimes[It.ATTACHED]=function(){var e;this.__scope__=new E,yt=e=this,e.__scope__.on();const t={};i&&i.forEach((e=>{t[e]=this.data[e]})),this.__props__=me(t);const s={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},r=n(this.__props__,s);void 0!==r&&Object.keys(r).forEach((e=>{const t=r[e];st(t)?this[e]=t:(this.setData({[e]:Ht(t)}),Pt.call(this,e,t))})),yt&&yt.__scope__.off(),yt=null,void 0!==o&&o.call(this)};const r=Ct(s,It.DETACHED);return s.lifetimes[It.DETACHED]=function(){r.call(this),this.__scope__.stop()},s.lifetimes[It.READY]=jt(wt[It.READY],s.lifetimes[It.READY]||s[It.READY]),s.lifetimes[It.MOVED]=Ct(s,It.MOVED),s.lifetimes[It.ERROR]=Ct(s,It.ERROR),void 0===s.methods&&(s.methods={}),(s.methods[bt.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s.methods[bt.ON_PAGE_SCROLL]=Mt(s,bt.ON_PAGE_SCROLL),s.methods.__listenPageScroll__=()=>!0),void 0===s.methods[bt.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s.methods[bt.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(bt.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===s.methods[bt.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s.methods[bt.ON_SHARE_TIMELINE]=function(){const e=this[ot(bt.ON_SHARE_TIMELINE)];return e?e():{}},s.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===s.methods[bt.ON_ADD_TO_FAVORITES]&&(s.methods[bt.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(bt.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.methods.__isInjectedFavoritesHook__=()=>!0),void 0===s.methods[bt.ON_SAVE_EXIT_STATE]&&(s.methods[bt.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(bt.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.methods.__isInjectedExitStateHook__=()=>!0),s.methods[bt.ON_LOAD]=Mt(s,bt.ON_LOAD),s.methods[bt.ON_PULL_DOWN_REFRESH]=Mt(s,bt.ON_PULL_DOWN_REFRESH),s.methods[bt.ON_REACH_BOTTOM]=Mt(s,bt.ON_REACH_BOTTOM),s.methods[bt.ON_TAB_ITEM_TAP]=Mt(s,bt.ON_TAB_ITEM_TAP),void 0===s.pageLifetimes&&(s.pageLifetimes={}),s.pageLifetimes[wt[bt.ON_SHOW]]=kt(s,bt.ON_SHOW),s.pageLifetimes[wt[bt.ON_HIDE]]=kt(s,bt.ON_HIDE),s.pageLifetimes[wt[bt.ON_RESIZE]]=kt(s,bt.ON_RESIZE),s.pageLifetimes[wt[bt.ON_ROUTE_DONE]]=kt(s,bt.ON_ROUTE_DONE),i&&(void 0===s.observers&&(s.observers={}),i.forEach((e=>{const t=s.observers[e];s.observers[e]=function(n){this.__props__&&(this.__props__[e]=n),void 0!==t&&t.call(this,n)}}))),Component(s)},exports.definePage=function(e,t){let n,s;if(t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t),st(e))n=e,s={};else{if(void 0===e.setup)return void Page(e);n=e.setup,s=qe(e,["setup"])}const i=s[bt.ON_LOAD];s[bt.ON_LOAD]=function(e){var t;this.__scope__=new E,Tt=t=this,t.__scope__.on();const s={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},o=n(e,s);void 0!==o&&Object.keys(o).forEach((e=>{const t=o[e];st(t)?this[e]=t:(this.setData({[e]:Ht(t)}),Pt.call(this,e,t))})),Tt&&Tt.__scope__.off(),Tt=null,void 0!==i&&i.call(this,e)};const o=xt(s,bt.ON_UNLOAD);s[bt.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(s[bt.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s[bt.ON_PAGE_SCROLL]=xt(s,bt.ON_PAGE_SCROLL),s.__listenPageScroll__=()=>!0),void 0===s[bt.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s[bt.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(bt.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.__isInjectedShareToOthersHook__=()=>!0),void 0===s[bt.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s[bt.ON_SHARE_TIMELINE]=function(){const e=this[ot(bt.ON_SHARE_TIMELINE)];return e?e():{}},s.__isInjectedShareToTimelineHook__=()=>!0),void 0===s[bt.ON_ADD_TO_FAVORITES]&&(s[bt.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(bt.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.__isInjectedFavoritesHook__=()=>!0),void 0===s[bt.ON_SAVE_EXIT_STATE]&&(s[bt.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(bt.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.__isInjectedExitStateHook__=()=>!0),s[bt.ON_SHOW]=xt(s,bt.ON_SHOW),s[bt.ON_READY]=xt(s,bt.ON_READY),s[bt.ON_HIDE]=xt(s,bt.ON_HIDE),s[bt.ON_ROUTE_DONE]=xt(s,bt.ON_ROUTE_DONE),s[bt.ON_PULL_DOWN_REFRESH]=xt(s,bt.ON_PULL_DOWN_REFRESH),s[bt.ON_REACH_BOTTOM]=xt(s,bt.ON_REACH_BOTTOM),s[bt.ON_RESIZE]=xt(s,bt.ON_RESIZE),s[bt.ON_TAB_ITEM_TAP]=xt(s,bt.ON_TAB_ITEM_TAP),Page(s)},exports.effect=function(e,s){e.effect instanceof N&&(e=e.effect.fn);const i=new N(e,t,(()=>{i.dirty&&i.run()}));s&&(n(i,s),s.scope&&v(i,s.scope)),s&&s.lazy||i.run();const o=i.run.bind(i);return o.effect=i,o},exports.effectScope=function(e){return new E(e)},exports.getCurrentScope=S,exports.inject=function(e,t,n=!1){return e in Rt?Rt[e]:arguments.length>1?n&&st(t)?t():t:void 0},exports.isProxy=Pe,exports.isReactive=Ie,exports.isReadonly=Le,exports.isRef=Ue,exports.isShallow=He,exports.markRaw=function(e){return Object.isExtensible(e)&&((e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})})(e,"__v_skip",!0),e},exports.nextTick=function(e){const t=dt||ft;return e?t.then(e):t},exports.onAddToFavorites=e=>{const t=mt();if(t&&t.__isInjectedFavoritesHook__){const n=ot(bt.ON_ADD_TO_FAVORITES);void 0===t[n]&&(t[n]=e)}},exports.onAppError=Gt,exports.onAppHide=Vt,exports.onAppShow=Ut,exports.onDetach=tn,exports.onError=nn,exports.onHide=zt,exports.onLoad=qt,exports.onMove=en,exports.onPageNotFound=Wt,exports.onPageScroll=e=>{const t=mt();t&&t.__listenPageScroll__&&cn(t,bt.ON_PAGE_SCROLL,e)},exports.onPullDownRefresh=Zt,exports.onReachBottom=Jt,exports.onReady=e=>{const t=mt();t&&cn(t,bt.ON_READY,e)},exports.onResize=Kt,exports.onRouteDone=Xt,exports.onSaveExitState=e=>{const t=mt();if(t&&t.__isInjectedExitStateHook__){const n=ot(bt.ON_SAVE_EXIT_STATE);void 0===t[n]&&(t[n]=e)}},exports.onScopeDispose=function(e){p&&p.cleanups.push(e)},exports.onShareAppMessage=e=>{const t=mt();if(t&&t[bt.ON_SHARE_APP_MESSAGE]&&t.__isInjectedShareToOthersHook__){const n=ot(bt.ON_SHARE_APP_MESSAGE);void 0===t[n]&&(t[n]=e)}},exports.onShareTimeline=e=>{const t=mt();if(t&&t[bt.ON_SHARE_TIMELINE]&&t.__isInjectedShareToTimelineHook__){const n=ot(bt.ON_SHARE_TIMELINE);void 0===t[n]&&(t[n]=e)}},exports.onShow=Yt,exports.onTabItemTap=$t,exports.onThemeChange=Bt,exports.onUnhandledRejection=Ft,exports.onUnload=Qt,exports.provide=function(e,t){Rt[e]=t},exports.proxyRefs=function(e){return Ie(e)?e:new Proxy(e,Be)},exports.reactive=ye,exports.readonly=De,exports.ref=Ve,exports.shallowReactive=me,exports.shallowReadonly=function(e){return be(e,!0,$,Ne,Te)},exports.shallowRef=function(e){return Ge(e,!0)},exports.stop=function(e){e.effect.stop()},exports.toRaw=xe,exports.toRef=function(e,t,n){return Ue(e)?e:c(e)?new Qe(e):a(e)&&arguments.length>1?Xe(e,t,n):Ve(e)},exports.toRefs=function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=Xe(e,n);return t},exports.toValue=function(e){return c(e)?e():Fe(e)},exports.triggerRef=function(e){je(e,4)},exports.unref=Fe,exports.watch=St,exports.watchEffect=function(e,t){return Nt(e,null,t)},exports.watchPostEffect=function(e,t){return Nt(e,null,{flush:"post"})},exports.watchSyncEffect=function(e,t){return Nt(e,null,{flush:"sync"})};
|
|
8
|
+
/*! #__NO_SIDE_EFFECTS__ */function e(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const t=()=>{},n=Object.assign,s=Object.prototype.hasOwnProperty,i=(e,t)=>s.call(e,t),o=Array.isArray,r=e=>"[object Map]"===l(e),c=e=>"function"==typeof e,_=e=>"symbol"==typeof e,a=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,l=e=>h.call(e),u=e=>l(e).slice(8,-1),f=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,d=(e,t)=>!Object.is(e,t);let p,O;class E{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=p,!e&&p&&(this.index=(p.scopes||(p.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=p;try{return p=this,e()}finally{p=t}}}on(){p=this}off(){p=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function v(e,t=p){t&&t.active&&t.effects.push(e)}function S(){return p}class N{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,v(this,s)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,I();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(A(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),D()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=O;try{return y=!0,O=this,this._runnings++,R(this),this.fn()}finally{g(this),this._runnings--,O=t,y=e}}stop(){this.active&&(R(this),g(this),this.onStop&&this.onStop(),this.active=!1)}}function A(e){return e.value}function R(e){e._trackId++,e._depsLength=0}function g(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)T(e.deps[t],e);e.deps.length=e._depsLength}}function T(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let y=!0,m=0;const b=[];function I(){b.push(y),y=!1}function D(){const e=b.pop();y=void 0===e||e}function L(){m++}function P(){for(m--;!m&&x.length;)x.shift()()}function H(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&T(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function w(e,t,n){L();for(const n of e.keys()){let s;n._dirtyLevel<t&&(null!=s?s:s=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=0===n._dirtyLevel),n._dirtyLevel=t),n._shouldSchedule&&(null!=s?s:s=e.get(n)===n._trackId)&&(n.trigger(),n._runnings&&!n.allowRecurse||2===n._dirtyLevel||(n._shouldSchedule=!1,n.scheduler&&x.push(n.scheduler)))}P()}const M=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,k=Symbol(""),j=Symbol("");function U(e,t,n){if(y&&O){let t=C.get(e);t||C.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=M((()=>t.delete(n)))),H(O,s)}}function V(e,t,n,s,i,c){const a=C.get(e);if(!a)return;let h=[];if("clear"===t)h=[...a.values()];else if("length"===n&&o(e)){const e=Number(s);a.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&h.push(t)}))}else switch(void 0!==n&&h.push(a.get(n)),t){case"add":o(e)?f(n)&&h.push(a.get("length")):(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"delete":o(e)||(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"set":r(e)&&h.push(a.get(k))}L();for(const e of h)e&&w(e,4);P()}const F=e("__proto__,__v_isRef,__isVue"),G=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),W=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=xe(this);for(let e=0,t=this.length;e<t;e++)U(n,0,e+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(xe)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){I(),L();const n=xe(this)[t].apply(this,e);return P(),D(),n}})),e}function Y(e){_(e)||(e=String(e));const t=xe(this);return U(t,0,e),t.hasOwnProperty(e)}class z{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(s?r?Te:ge:r?Re:Ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=o(e);if(!s){if(c&&i(W,t))return Reflect.get(W,t,n);if("hasOwnProperty"===t)return Y}const h=Reflect.get(e,t,n);return(_(t)?G.has(t):F(t))?h:(s||U(e,0,t),r?h:Ue(h)?c&&f(t)?h:h.value:a(h)?s?be(h):ye(h):h)}}class Q extends z{constructor(e=!1){super(!1,e)}set(e,t,n,s){let r=e[t];if(!this._isShallow){const t=Le(r);if(Pe(n)||Le(n)||(r=xe(r),n=xe(n)),!o(e)&&Ue(r)&&!Ue(n))return!t&&(r.value=n,!0)}const c=o(e)&&f(t)?Number(t)<e.length:i(e,t),_=Reflect.set(e,t,n,s);return e===xe(s)&&(c?d(n,r)&&V(e,"set",t,n):V(e,"add",t,n)),_}deleteProperty(e,t){const n=i(e,t),s=Reflect.deleteProperty(e,t);return s&&n&&V(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return _(t)&&G.has(t)||U(e,0,t),n}ownKeys(e){return U(e,0,o(e)?"length":k),Reflect.ownKeys(e)}}class X extends z{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Z=new Q,J=new X,K=new Q(!0),$=new X(!0),q=e=>e,ee=e=>Reflect.getPrototypeOf(e);function te(e,t,n=!1,s=!1){const i=xe(e=e.__v_raw),o=xe(t);n||(d(t,o)&&U(i,0,t),U(i,0,o));const{has:r}=ee(i),c=s?q:n?Me:we;return r.call(i,t)?c(e.get(t)):r.call(i,o)?c(e.get(o)):void(e!==i&&e.get(t))}function ne(e,t=!1){const n=this.__v_raw,s=xe(n),i=xe(e);return t||(d(e,i)&&U(s,0,e),U(s,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function se(e,t=!1){return e=e.__v_raw,!t&&U(xe(e),0,k),Reflect.get(e,"size",e)}function ie(e){e=xe(e);const t=xe(this);return ee(t).has.call(t,e)||(t.add(e),V(t,"add",e,e)),this}function oe(e,t){t=xe(t);const n=xe(this),{has:s,get:i}=ee(n);let o=s.call(n,e);o||(e=xe(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?d(t,r)&&V(n,"set",e,t):V(n,"add",e,t),this}function re(e){const t=xe(this),{has:n,get:s}=ee(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&V(t,"delete",e,void 0),o}function ce(){const e=xe(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}function _e(e,t){return function(n,s){const i=this,o=i.__v_raw,r=xe(o),c=t?q:e?Me:we;return!e&&U(r,0,k),o.forEach(((e,t)=>n.call(s,c(e),c(t),i)))}}function ae(e,t,n){return function(...s){const i=this.__v_raw,o=xe(i),c=r(o),_="entries"===e||e===Symbol.iterator&&c,a="keys"===e&&c,h=i[e](...s),l=n?q:t?Me:we;return!t&&U(o,0,a?j:k),{next(){const{value:e,done:t}=h.next();return t?{value:e,done:t}:{value:_?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function he(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function le(){const e={get(e){return te(this,e)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!1)},t={get(e){return te(this,e,!1,!0)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!0)},n={get(e){return te(this,e,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!1)},s={get(e){return te(this,e,!0,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=ae(i,!1,!1),n[i]=ae(i,!0,!1),t[i]=ae(i,!1,!0),s[i]=ae(i,!0,!0)})),[e,n,t,s]}const[ue,fe,de,pe]=le();function Oe(e,t){const n=t?e?pe:de:e?fe:ue;return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(i(n,s)&&s in t?n:t,s,o)}const Ee={get:Oe(!1,!1)},ve={get:Oe(!1,!0)},Se={get:Oe(!0,!1)},Ne={get:Oe(!0,!0)},Ae=new WeakMap,Re=new WeakMap,ge=new WeakMap,Te=new WeakMap;function ye(e){return Le(e)?e:Ie(e,!1,Z,Ee,Ae)}function me(e){return Ie(e,!1,K,ve,Re)}function be(e){return Ie(e,!0,J,Se,ge)}function Ie(e,t,n,s,i){if(!a(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(u(c));var c;if(0===r)return e;const _=new Proxy(e,2===r?s:n);return i.set(e,_),_}function De(e){return Le(e)?De(e.__v_raw):!(!e||!e.__v_isReactive)}function Le(e){return!(!e||!e.__v_isReadonly)}function Pe(e){return!(!e||!e.__v_isShallow)}function He(e){return!!e&&!!e.__v_raw}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}const we=e=>a(e)?ye(e):e,Me=e=>a(e)?be(e):e;class Ce{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new N((()=>e(this._value)),(()=>je(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=xe(this);return e._cacheable&&!e.effect.dirty||!d(e._value,e._value=e.effect.run())||je(e,4),ke(e),e.effect._dirtyLevel>=2&&je(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ke(e){var t;y&&O&&(e=xe(e),H(O,null!=(t=e.dep)?t:e.dep=M((()=>e.dep=void 0),e instanceof Ce?e:void 0)))}function je(e,t=4,n,s){const i=(e=xe(e)).dep;i&&w(i,t)}function Ue(e){return!(!e||!0!==e.__v_isRef)}function Ve(e){return Fe(e,!1)}function Fe(e,t){return Ue(e)?e:new Ge(e,t)}class Ge{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:xe(e),this._value=t?e:we(e)}get value(){return ke(this),this._value}set value(e){const t=this.__v_isShallow||Pe(e)||Le(e);e=t?e:xe(e),d(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:we(e),je(this,4))}}function We(e){return Ue(e)?e.value:e}const Be={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};class Ye{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>ke(this)),(()=>je(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ze{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=C.get(e);return n&&n.get(t)}(xe(this._object),this._key)}}class Qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){const s=e[t];return Ue(s)?s:new ze(e,t,n)}const Ze={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"},Je=()=>{},{isArray:Ke}=Array,$e=Object.assign;function qe(e,t){const n={};return Object.keys(e).forEach((s=>{t.includes(s)||(n[s]=e[s])})),n}function et(e){return Object.prototype.toString.call(e).slice(8,-1)}function tt(e){return null!==e&&"object"==typeof e}function nt(e){return"Object"===et(e)}function st(e){return"function"==typeof e}function it(e,t){return e!==t&&(e==e||t==t)}function ot(e){return`__${e}__`}let rt=!1,ct=!1;const _t=[];let at=0;const ht=[];let lt=null,ut=0;const ft=Promise.resolve();let dt=null;function pt(e){0!==_t.length&&_t.includes(e,rt&&e.allowRecurse?at+1:at)||(_t.push(e),rt||ct||(ct=!0,dt=ft.then(Et)))}function Ot(){if(ht.length>0){for(lt=[...new Set(ht)],ht.length=0,ut=0;ut<lt.length;ut++){const e=lt[ut];!1!==e.active&&e()}lt=null,ut=0}}function Et(e){ct=!1,rt=!0;try{for(at=0;at<_t.length;at++){const e=_t[at];!1!==e.active&&e()}}finally{at=0,_t.length=0,rt=!1,dt=null}}const vt={};function St(e,t,n){return Nt(e,t,n)}function Nt(e,t,{immediate:n,deep:s,flush:i,once:o}={}){if(t&&o){const e=t;t=(...t)=>{e(...t),E()}}const r=e=>!0===s?e:At(e,!1===s?1:void 0);let c,_,a=!1,h=!1;if(Ue(e)?(c=()=>e.value,a=Pe(e)):De(e)?(c=()=>r(e),a=!0):Ke(e)?(h=!0,a=e.some((e=>De(e)||Pe(e))),c=()=>e.map((e=>Ue(e)?e.value:De(e)?r(e):st(e)?e():void 0))):c=st(e)?t?()=>e():()=>(_&&_(),e(l)):Je,t&&s){const e=c;c=()=>At(e())}const l=e=>{_=p.onStop=()=>{e(),_=p.onStop=void 0}};let u=h?Array.from({length:e.length}).fill(vt):vt;const f=()=>{if(p.active&&p.dirty)if(t){const e=p.run();(s||a||(h?e.some(((e,t)=>it(e,u[t]))):it(e,u)))&&(_&&_(),t(e,u===vt?void 0:h&&u[0]===vt?[]:u,l),u=e)}else p.run()};let d;f.allowRecurse=Boolean(t),d="sync"===i?f:"post"===i?()=>{!function(e){lt&<.includes(e,e.allowRecurse?ut+1:ut)||ht.push(e)}(f)}:()=>{pt(f)};const p=new N(c,Je,d),O=S(),E=()=>{p.stop(),O&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(O.effects,p)};return t?n?f():u=p.run():p.run(),E}function At(e,t=Number.POSITIVE_INFINITY,n){if(t<=0||!tt(e)||e[Ze.SKIP])return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ue(e))At(e.value,t,n);else if(Ke(e))for(let s=0;s<e.length;s++)At(e[s],t,n);else if("Set"===et(e)||function(e){return"Map"===et(e)}(e))e.forEach((e=>{At(e,t,n)}));else if(nt(e)){for(const s in e)At(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&At(e[s],t,n)}return e}const Rt=Object.create(null);let gt=null,Tt=null,yt=null;function mt(){return Tt||yt}var bt,It,Dt;function Lt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}function Pt(e){if(function(e){const t=new Set(["undefined","boolean","number","string"]);return null===e||t.has(typeof e)}(e)||st(e))return e;if(Ue(e))return Pt(e.value);if(He(e))return Pt(xe(e));if(Ke(e))return e.map((e=>Pt(e)));if(nt(e)){const t={};return Object.keys(e).forEach((n=>{t[n]=Pt(e[n])})),t}throw new TypeError(`${et(e)} value is not supported`)}function Ht(e,t){tt(t)&&St(Ue(t)?t:()=>t,(()=>{this.setData({[e]:Pt(t)},Ot)}),{deep:!0})}function xt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}!function(e){e.ON_LAUNCH="onLaunch",e.ON_SHOW="onShow",e.ON_HIDE="onHide",e.ON_ERROR="onError",e.ON_PAGE_NOT_FOUND="onPageNotFound",e.ON_UNHANDLED_REJECTION="onUnhandledRejection",e.ON_THEME_CHANGE="onThemeChange"}(bt||(bt={})),function(e){e.ON_LOAD="onLoad",e.ON_SHOW="onShow",e.ON_READY="onReady",e.ON_HIDE="onHide",e.ON_UNLOAD="onUnload",e.ON_ROUTE_DONE="onRouteDone",e.ON_PULL_DOWN_REFRESH="onPullDownRefresh",e.ON_REACH_BOTTOM="onReachBottom",e.ON_PAGE_SCROLL="onPageScroll",e.ON_SHARE_APP_MESSAGE="onShareAppMessage",e.ON_SHARE_TIMELINE="onShareTimeline",e.ON_ADD_TO_FAVORITES="onAddToFavorites",e.ON_RESIZE="onResize",e.ON_TAB_ITEM_TAP="onTabItemTap",e.ON_SAVE_EXIT_STATE="onSaveExitState"}(It||(It={})),function(e){e.ATTACHED="attached",e.READY="ready",e.MOVED="moved",e.DETACHED="detached",e.ERROR="error"}(Dt||(Dt={}));const wt={[It.ON_SHOW]:"show",[It.ON_HIDE]:"hide",[It.ON_RESIZE]:"resize",[It.ON_ROUTE_DONE]:"routeDone",[Dt.READY]:It.ON_READY};function Mt(e,t){return jt(t,e.lifetimes[t]||e[t])}function Ct(e,t){return jt(t,e.methods[t])}function kt(e,t){return jt(t,e.pageLifetimes[wt[t]])}function jt(e,t){const n=ot(e);return function(...e){const s=this[n];s&&s.forEach((t=>t(...e))),void 0!==t&&t.call(this,...e)}}const Ut=sn(bt.ON_SHOW),Vt=sn(bt.ON_HIDE),Ft=sn(bt.ON_ERROR),Gt=sn(bt.ON_PAGE_NOT_FOUND),Wt=sn(bt.ON_UNHANDLED_REJECTION),Bt=sn(bt.ON_THEME_CHANGE),Yt=on(It.ON_SHOW),zt=on(It.ON_HIDE),Qt=on(It.ON_UNLOAD),Xt=on(It.ON_ROUTE_DONE),Zt=on(It.ON_PULL_DOWN_REFRESH),Jt=on(It.ON_REACH_BOTTOM),Kt=on(It.ON_RESIZE),$t=on(It.ON_TAB_ITEM_TAP),qt=rn(It.ON_LOAD),en=rn(Dt.MOVED),tn=rn(Dt.DETACHED),nn=rn(Dt.ERROR);function sn(e){return t=>{gt&&cn(gt,e,t)}}function on(e){return t=>{const n=mt();n&&cn(n,e,t)}}function rn(e){return t=>{yt&&cn(yt,e,t)}}function cn(e,t,n){const s=ot(t);void 0===e[s]&&(e[s]=[]),e[s].push(n)}exports.EffectScope=E,exports.ReactiveEffect=N,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(e,n,s=!1){let i,o;const r=c(e);return r?(i=e,o=t):(i=e.get,o=e.set),new Ce(i,o,r||!o,s)},exports.createApp=function(e){let t,n;if(st(e))t=e,n={};else{if(void 0===e.setup)return void App(e);t=e.setup,n=qe(e,["setup"])}const s=n[bt.ON_LAUNCH];n[bt.ON_LAUNCH]=function(e){gt=this;const n=t(e);void 0!==n&&Object.keys(n).forEach((e=>{this[e]=n[e]})),gt=null,void 0!==s&&s.call(this,e)},n[bt.ON_SHOW]=Lt(n,bt.ON_SHOW),n[bt.ON_HIDE]=Lt(n,bt.ON_HIDE),n[bt.ON_ERROR]=Lt(n,bt.ON_ERROR),n[bt.ON_PAGE_NOT_FOUND]=Lt(n,bt.ON_PAGE_NOT_FOUND),n[bt.ON_UNHANDLED_REJECTION]=Lt(n,bt.ON_UNHANDLED_REJECTION),n[bt.ON_THEME_CHANGE]=Lt(n,bt.ON_THEME_CHANGE),App(n)},exports.customRef=function(e){return new Ye(e)},exports.defineComponent=function(e,t){let n,s;t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t);let i=null;if(st(e))n=e,s={};else{if(void 0===e.setup)return Component(e);n=e.setup,s=qe(e,["setup"]),s.properties&&(i=Object.keys(s.properties))}void 0===s.lifetimes&&(s.lifetimes={});const o=s.lifetimes[Dt.ATTACHED]||s[Dt.ATTACHED];s.lifetimes[Dt.ATTACHED]=function(){var e;this.__scope__=new E,yt=e=this,e.__scope__.on();const t={};i&&i.forEach((e=>{t[e]=this.data[e]})),this.__props__=me(t);const s={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},r=n(this.__props__,s);void 0!==r&&Object.keys(r).forEach((e=>{const t=r[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),yt&&yt.__scope__.off(),yt=null,void 0!==o&&o.call(this)};const r=Mt(s,Dt.DETACHED);return s.lifetimes[Dt.DETACHED]=function(){r.call(this),this.__scope__.stop()},s.lifetimes[Dt.READY]=jt(wt[Dt.READY],s.lifetimes[Dt.READY]||s[Dt.READY]),s.lifetimes[Dt.MOVED]=Mt(s,Dt.MOVED),s.lifetimes[Dt.ERROR]=Mt(s,Dt.ERROR),void 0===s.methods&&(s.methods={}),(s.methods[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s.methods[It.ON_PAGE_SCROLL]=Ct(s,It.ON_PAGE_SCROLL),s.methods.__listenPageScroll__=()=>!0),void 0===s.methods[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s.methods[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===s.methods[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s.methods[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===s.methods[It.ON_ADD_TO_FAVORITES]&&(s.methods[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.methods.__isInjectedFavoritesHook__=()=>!0),void 0===s.methods[It.ON_SAVE_EXIT_STATE]&&(s.methods[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.methods.__isInjectedExitStateHook__=()=>!0),s.methods[It.ON_LOAD]=Ct(s,It.ON_LOAD),s.methods[It.ON_PULL_DOWN_REFRESH]=Ct(s,It.ON_PULL_DOWN_REFRESH),s.methods[It.ON_REACH_BOTTOM]=Ct(s,It.ON_REACH_BOTTOM),s.methods[It.ON_TAB_ITEM_TAP]=Ct(s,It.ON_TAB_ITEM_TAP),void 0===s.pageLifetimes&&(s.pageLifetimes={}),s.pageLifetimes[wt[It.ON_SHOW]]=kt(s,It.ON_SHOW),s.pageLifetimes[wt[It.ON_HIDE]]=kt(s,It.ON_HIDE),s.pageLifetimes[wt[It.ON_RESIZE]]=kt(s,It.ON_RESIZE),s.pageLifetimes[wt[It.ON_ROUTE_DONE]]=kt(s,It.ON_ROUTE_DONE),i&&(void 0===s.observers&&(s.observers={}),i.forEach((e=>{const t=s.observers[e];s.observers[e]=function(n){this.__props__&&(this.__props__[e]=n),void 0!==t&&t.call(this,n)}}))),Component(s)},exports.definePage=function(e,t){let n,s;if(t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t),st(e))n=e,s={};else{if(void 0===e.setup)return void Page(e);n=e.setup,s=qe(e,["setup"])}const i=s[It.ON_LOAD];s[It.ON_LOAD]=function(e){var t;this.__scope__=new E,Tt=t=this,t.__scope__.on();const s={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},o=n(e,s);void 0!==o&&Object.keys(o).forEach((e=>{const t=o[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),Tt&&Tt.__scope__.off(),Tt=null,void 0!==i&&i.call(this,e)};const o=xt(s,It.ON_UNLOAD);s[It.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(s[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s[It.ON_PAGE_SCROLL]=xt(s,It.ON_PAGE_SCROLL),s.__listenPageScroll__=()=>!0),void 0===s[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.__isInjectedShareToOthersHook__=()=>!0),void 0===s[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.__isInjectedShareToTimelineHook__=()=>!0),void 0===s[It.ON_ADD_TO_FAVORITES]&&(s[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.__isInjectedFavoritesHook__=()=>!0),void 0===s[It.ON_SAVE_EXIT_STATE]&&(s[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.__isInjectedExitStateHook__=()=>!0),s[It.ON_SHOW]=xt(s,It.ON_SHOW),s[It.ON_READY]=xt(s,It.ON_READY),s[It.ON_HIDE]=xt(s,It.ON_HIDE),s[It.ON_ROUTE_DONE]=xt(s,It.ON_ROUTE_DONE),s[It.ON_PULL_DOWN_REFRESH]=xt(s,It.ON_PULL_DOWN_REFRESH),s[It.ON_REACH_BOTTOM]=xt(s,It.ON_REACH_BOTTOM),s[It.ON_RESIZE]=xt(s,It.ON_RESIZE),s[It.ON_TAB_ITEM_TAP]=xt(s,It.ON_TAB_ITEM_TAP),Page(s)},exports.effect=function(e,s){e.effect instanceof N&&(e=e.effect.fn);const i=new N(e,t,(()=>{i.dirty&&i.run()}));s&&(n(i,s),s.scope&&v(i,s.scope)),s&&s.lazy||i.run();const o=i.run.bind(i);return o.effect=i,o},exports.effectScope=function(e){return new E(e)},exports.getCurrentScope=S,exports.inject=function(e,t,n=!1){return e in Rt?Rt[e]:arguments.length>1?n&&st(t)?t():t:void 0},exports.isProxy=He,exports.isReactive=De,exports.isReadonly=Le,exports.isRef=Ue,exports.isShallow=Pe,exports.markRaw=function(e){return Object.isExtensible(e)&&((e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})})(e,"__v_skip",!0),e},exports.nextTick=function(e){const t=dt||ft;return e?t.then(e):t},exports.onAddToFavorites=e=>{const t=mt();if(t&&t.__isInjectedFavoritesHook__){const n=ot(It.ON_ADD_TO_FAVORITES);void 0===t[n]&&(t[n]=e)}},exports.onAppError=Ft,exports.onAppHide=Vt,exports.onAppShow=Ut,exports.onDetach=tn,exports.onError=nn,exports.onHide=zt,exports.onLoad=qt,exports.onMove=en,exports.onPageNotFound=Gt,exports.onPageScroll=e=>{const t=mt();t&&t.__listenPageScroll__&&cn(t,It.ON_PAGE_SCROLL,e)},exports.onPullDownRefresh=Zt,exports.onReachBottom=Jt,exports.onReady=e=>{const t=mt();t&&cn(t,It.ON_READY,e)},exports.onResize=Kt,exports.onRouteDone=Xt,exports.onSaveExitState=e=>{const t=mt();if(t&&t.__isInjectedExitStateHook__){const n=ot(It.ON_SAVE_EXIT_STATE);void 0===t[n]&&(t[n]=e)}},exports.onScopeDispose=function(e){p&&p.cleanups.push(e)},exports.onShareAppMessage=e=>{const t=mt();if(t&&t[It.ON_SHARE_APP_MESSAGE]&&t.__isInjectedShareToOthersHook__){const n=ot(It.ON_SHARE_APP_MESSAGE);void 0===t[n]&&(t[n]=e)}},exports.onShareTimeline=e=>{const t=mt();if(t&&t[It.ON_SHARE_TIMELINE]&&t.__isInjectedShareToTimelineHook__){const n=ot(It.ON_SHARE_TIMELINE);void 0===t[n]&&(t[n]=e)}},exports.onShow=Yt,exports.onTabItemTap=$t,exports.onThemeChange=Bt,exports.onUnhandledRejection=Wt,exports.onUnload=Qt,exports.provide=function(e,t){Rt[e]=t},exports.proxyRefs=function(e){return De(e)?e:new Proxy(e,Be)},exports.reactive=ye,exports.readonly=be,exports.ref=Ve,exports.shallowReactive=me,exports.shallowReadonly=function(e){return Ie(e,!0,$,Ne,Te)},exports.shallowRef=function(e){return Fe(e,!0)},exports.stop=function(e){e.effect.stop()},exports.toRaw=xe,exports.toRef=function(e,t,n){return Ue(e)?e:c(e)?new Qe(e):a(e)&&arguments.length>1?Xe(e,t,n):Ve(e)},exports.toRefs=function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=Xe(e,n);return t},exports.toValue=function(e){return c(e)?e():We(e)},exports.triggerRef=function(e){je(e,4)},exports.unref=We,exports.watch=St,exports.watchEffect=function(e,t){return Nt(e,null,t)},exports.watchPostEffect=function(e,t){return Nt(e,null,{flush:"post"})},exports.watchSyncEffect=function(e,t){return Nt(e,null,{flush:"sync"})};
|
package/dist/vue-mini.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/// <reference types="@vue-mini/miniprogram-api-typings" />
|
|
2
|
-
import { Ref, ComputedRef, DebuggerOptions } from '@vue/reactivity';
|
|
3
|
-
export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WritableComputedOptions, WritableComputedRef, computed, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
|
|
2
|
+
import { Ref, ComputedRef, DebuggerOptions, ReactiveMarker } from '@vue/reactivity';
|
|
3
|
+
export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, Reactive, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WritableComputedOptions, WritableComputedRef, computed, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
|
|
4
4
|
|
|
5
5
|
type WatchEffect = (onCleanup: OnCleanup) => void;
|
|
6
6
|
type WatchSource<T = any> = Ref<T> | ComputedRef<T> | (() => T);
|
|
7
7
|
type WatchCallback<V = any, OV = any> = (value: V, oldValue: OV, onCleanup: OnCleanup) => any;
|
|
8
|
+
type MaybeUndefined<T, I> = I extends true ? T | undefined : T;
|
|
8
9
|
type MapSources<T, Immediate> = {
|
|
9
|
-
[K in keyof T]: T[K] extends WatchSource<infer V> ?
|
|
10
|
+
[K in keyof T]: T[K] extends WatchSource<infer V> ? MaybeUndefined<V, Immediate> : T[K] extends object ? MaybeUndefined<T[K], Immediate> : never;
|
|
10
11
|
};
|
|
11
12
|
type OnCleanup = (cleanupFn: () => void) => void;
|
|
12
13
|
interface WatchOptionsBase extends DebuggerOptions {
|
|
@@ -22,10 +23,10 @@ declare function watchEffect(effect: WatchEffect, options?: WatchOptionsBase): W
|
|
|
22
23
|
declare function watchPostEffect(effect: WatchEffect, options?: DebuggerOptions): WatchStopHandle;
|
|
23
24
|
declare function watchSyncEffect(effect: WatchEffect, options?: DebuggerOptions): WatchStopHandle;
|
|
24
25
|
type MultiWatchSources = Array<WatchSource<unknown> | object>;
|
|
25
|
-
declare function watch<T, Immediate extends Readonly<boolean> = false>(source: WatchSource<T>, cb: WatchCallback<T,
|
|
26
|
+
declare function watch<T, Immediate extends Readonly<boolean> = false>(source: WatchSource<T>, cb: WatchCallback<T, MaybeUndefined<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
|
|
27
|
+
declare function watch<T extends Readonly<MultiWatchSources>, Immediate extends Readonly<boolean> = false>(sources: readonly [...T] | T, cb: [T] extends [ReactiveMarker] ? WatchCallback<T, MaybeUndefined<T, Immediate>> : WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
|
|
26
28
|
declare function watch<T extends MultiWatchSources, Immediate extends Readonly<boolean> = false>(sources: [...T], cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
|
|
27
|
-
declare function watch<T extends
|
|
28
|
-
declare function watch<T extends object, Immediate extends Readonly<boolean> = false>(source: T, cb: WatchCallback<T, Immediate extends true ? T | undefined : T>, options?: WatchOptions<Immediate>): WatchStopHandle;
|
|
29
|
+
declare function watch<T extends object, Immediate extends Readonly<boolean> = false>(source: T, cb: WatchCallback<T, MaybeUndefined<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
|
|
29
30
|
|
|
30
31
|
declare function nextTick<R = void>(fn?: () => R): Promise<Awaited<R>>;
|
|
31
32
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vue-mini v1.0.0
|
|
2
|
+
* vue-mini v1.0.0
|
|
3
3
|
* https://github.com/vue-mini/vue-mini
|
|
4
4
|
* (c) 2019-present Yang Mingshan
|
|
5
5
|
* @license MIT
|
|
@@ -102,7 +102,9 @@ function flushPostFlushCbs() {
|
|
|
102
102
|
activePostFlushCbs = [...new Set(pendingPostFlushCbs)];
|
|
103
103
|
pendingPostFlushCbs.length = 0;
|
|
104
104
|
for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
|
|
105
|
-
activePostFlushCbs[postFlushIndex]
|
|
105
|
+
const cb = activePostFlushCbs[postFlushIndex];
|
|
106
|
+
if (cb.active !== false)
|
|
107
|
+
cb();
|
|
106
108
|
}
|
|
107
109
|
activePostFlushCbs = null;
|
|
108
110
|
postFlushIndex = 0;
|
|
@@ -358,39 +360,39 @@ function doWatch(source, cb, { immediate, deep, flush, once, onTrack, onTrigger
|
|
|
358
360
|
}
|
|
359
361
|
return unwatch;
|
|
360
362
|
}
|
|
361
|
-
function traverse(value, depth
|
|
362
|
-
if (!isObject(value) || value[ReactiveFlags.SKIP]) {
|
|
363
|
+
function traverse(value, depth = Number.POSITIVE_INFINITY, seen) {
|
|
364
|
+
if (depth <= 0 || !isObject(value) || value[ReactiveFlags.SKIP]) {
|
|
363
365
|
return value;
|
|
364
366
|
}
|
|
365
|
-
if (depth && depth > 0) {
|
|
366
|
-
if (currentDepth >= depth) {
|
|
367
|
-
return value;
|
|
368
|
-
}
|
|
369
|
-
currentDepth++;
|
|
370
|
-
}
|
|
371
367
|
seen = seen || new Set();
|
|
372
368
|
if (seen.has(value)) {
|
|
373
369
|
return value;
|
|
374
370
|
}
|
|
375
371
|
seen.add(value);
|
|
372
|
+
depth--;
|
|
376
373
|
/* istanbul ignore else -- @preserve */
|
|
377
374
|
if (isRef(value)) {
|
|
378
|
-
traverse(value.value, depth,
|
|
375
|
+
traverse(value.value, depth, seen);
|
|
379
376
|
}
|
|
380
377
|
else if (isArray(value)) {
|
|
381
378
|
for (let i = 0; i < value.length; i++) {
|
|
382
|
-
traverse(value[i], depth,
|
|
379
|
+
traverse(value[i], depth, seen);
|
|
383
380
|
}
|
|
384
381
|
}
|
|
385
382
|
else if (isSet(value) || isMap(value)) {
|
|
386
383
|
value.forEach((v) => {
|
|
387
|
-
traverse(v, depth,
|
|
384
|
+
traverse(v, depth, seen);
|
|
388
385
|
});
|
|
389
386
|
}
|
|
390
387
|
else if (isPlainObject(value)) {
|
|
391
388
|
// eslint-disable-next-line guard-for-in
|
|
392
389
|
for (const key in value) {
|
|
393
|
-
traverse(value[key], depth,
|
|
390
|
+
traverse(value[key], depth, seen);
|
|
391
|
+
}
|
|
392
|
+
for (const key of Object.getOwnPropertySymbols(value)) {
|
|
393
|
+
if (Object.prototype.propertyIsEnumerable.call(value, key)) {
|
|
394
|
+
traverse(value[key], depth, seen);
|
|
395
|
+
}
|
|
394
396
|
}
|
|
395
397
|
}
|
|
396
398
|
return value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-mini/core",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "基于 Vue 3 的小程序框架。简单,强大,高性能。 ",
|
|
5
5
|
"main": "dist/vue-mini.cjs.js",
|
|
6
6
|
"module": "dist/vue-mini.esm-bundler.js",
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/vue-mini.d.ts",
|
|
18
|
+
"import": "./dist/vue-mini.esm-bundler.js",
|
|
19
|
+
"require": "./dist/vue-mini.cjs.js",
|
|
20
|
+
"default": "./dist/vue-mini.cjs.js"
|
|
21
|
+
},
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
15
24
|
"keywords": [
|
|
16
25
|
"vue",
|
|
17
26
|
"mini",
|
|
@@ -23,7 +32,7 @@
|
|
|
23
32
|
"小程序"
|
|
24
33
|
],
|
|
25
34
|
"dependencies": {
|
|
26
|
-
"@vue/reactivity": "3.4.
|
|
35
|
+
"@vue/reactivity": "3.4.31",
|
|
27
36
|
"@vue-mini/miniprogram-api-typings": "3.12.2-patch.1"
|
|
28
37
|
}
|
|
29
38
|
}
|