@duxweb/dvha-naiveui 1.0.9 → 1.0.11
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/dist/cjs/hooks/menu.cjs +1 -1
- package/dist/cjs/hooks/tab.cjs +1 -1
- package/dist/cjs/hooks/table.cjs +1 -1
- package/dist/esm/hooks/menu.js +9 -10
- package/dist/esm/hooks/tab.js +6 -7
- package/dist/esm/hooks/table.js +28 -30
- package/dist/types/hooks/menu.d.ts +1 -1
- package/dist/types/hooks/tab.d.ts +8 -2573
- package/package.json +14 -10
- package/dist/cjs/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.cjs +0 -5
- package/dist/cjs/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.cjs +0 -9
- package/dist/cjs/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +0 -5
- package/dist/cjs/node_modules/@vueuse/shared/index.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_DataView.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Hash.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_ListCache.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Map.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_MapCache.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Promise.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Set.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Stack.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Symbol.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_Uint8Array.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_WeakMap.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_arrayEach.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_arrayFilter.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_arrayLikeKeys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_arrayPush.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_assignValue.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_assocIndexOf.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseAssignValue.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseClone.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseCreate.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseGetAllKeys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseGetTag.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseIsArguments.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseIsMap.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseIsNative.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseIsSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseIsTypedArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseKeys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseTimes.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_baseUnary.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneArrayBuffer.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneBuffer.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneDataView.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneRegExp.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneSymbol.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_cloneTypedArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_coreJsData.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_defineProperty.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_freeGlobal.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getAllKeys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getMapData.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getNative.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getPrototype.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getRawTag.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getSymbols.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getTag.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_getValue.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_hashClear.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_hashDelete.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_hashGet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_hashHas.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_hashSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_initCloneArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_initCloneByTag.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_initCloneObject.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_isIndex.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_isKeyable.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_isMasked.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_isPrototype.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_listCacheClear.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_listCacheDelete.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_listCacheGet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_listCacheHas.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_listCacheSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_mapCacheClear.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_mapCacheDelete.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_mapCacheGet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_mapCacheHas.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_mapCacheSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_nativeCreate.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_nativeKeys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_nodeUtil.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_objectToString.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_overArg.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_root.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_stackClear.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_stackDelete.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_stackGet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_stackHas.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_stackSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/_toSource.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/cloneDeep.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/eq.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isArguments.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isArrayLike.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isBuffer.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isFunction.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isLength.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isMap.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isObject.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isObjectLike.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isSet.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/isTypedArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/keys.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/stubArray.cjs +0 -1
- package/dist/cjs/node_modules/lodash-es/stubFalse.cjs +0 -1
- package/dist/cjs/node_modules/pinia/dist/pinia.cjs +0 -5
- package/dist/cjs/node_modules/vue/dist/vue.runtime.esm-bundler.cjs +0 -5
- package/dist/cjs/node_modules/vue-router/dist/vue-router.cjs +0 -10
- package/dist/esm/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -975
- package/dist/esm/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -809
- package/dist/esm/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -86
- package/dist/esm/node_modules/@vueuse/shared/index.js +0 -70
- package/dist/esm/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/esm/node_modules/lodash-es/_Hash.js +0 -20
- package/dist/esm/node_modules/lodash-es/_ListCache.js +0 -20
- package/dist/esm/node_modules/lodash-es/_Map.js +0 -6
- package/dist/esm/node_modules/lodash-es/_MapCache.js +0 -20
- package/dist/esm/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/esm/node_modules/lodash-es/_Set.js +0 -6
- package/dist/esm/node_modules/lodash-es/_Stack.js +0 -18
- package/dist/esm/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/esm/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/esm/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/esm/node_modules/lodash-es/_arrayEach.js +0 -8
- package/dist/esm/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/esm/node_modules/lodash-es/_arrayLikeKeys.js +0 -20
- package/dist/esm/node_modules/lodash-es/_arrayPush.js +0 -8
- package/dist/esm/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/esm/node_modules/lodash-es/_assocIndexOf.js +0 -10
- package/dist/esm/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/esm/node_modules/lodash-es/_baseClone.js +0 -55
- package/dist/esm/node_modules/lodash-es/_baseCreate.js +0 -17
- package/dist/esm/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/esm/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/esm/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/esm/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/esm/node_modules/lodash-es/_baseIsNative.js +0 -16
- package/dist/esm/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/esm/node_modules/lodash-es/_baseIsTypedArray.js +0 -12
- package/dist/esm/node_modules/lodash-es/_baseKeys.js +0 -14
- package/dist/esm/node_modules/lodash-es/_baseTimes.js +0 -8
- package/dist/esm/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/esm/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/esm/node_modules/lodash-es/_cloneBuffer.js +0 -9
- package/dist/esm/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/esm/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/esm/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/esm/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/esm/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/esm/node_modules/lodash-es/_defineProperty.js +0 -11
- package/dist/esm/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/esm/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/esm/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/esm/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/esm/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/esm/node_modules/lodash-es/_getRawTag.js +0 -15
- package/dist/esm/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/esm/node_modules/lodash-es/_getTag.js +0 -28
- package/dist/esm/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/esm/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/esm/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/esm/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/esm/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/esm/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/esm/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/esm/node_modules/lodash-es/_initCloneByTag.js +0 -42
- package/dist/esm/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/esm/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/esm/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/esm/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/esm/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/esm/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/esm/node_modules/lodash-es/_listCacheDelete.js +0 -12
- package/dist/esm/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/esm/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/esm/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/esm/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/esm/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/esm/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/esm/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/esm/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/esm/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/esm/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/esm/node_modules/lodash-es/_nodeUtil.js +0 -11
- package/dist/esm/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/esm/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/esm/node_modules/lodash-es/_root.js +0 -5
- package/dist/esm/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/esm/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/esm/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/esm/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/esm/node_modules/lodash-es/_stackSet.js +0 -17
- package/dist/esm/node_modules/lodash-es/_toSource.js +0 -17
- package/dist/esm/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/esm/node_modules/lodash-es/eq.js +0 -6
- package/dist/esm/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/esm/node_modules/lodash-es/isArray.js +0 -4
- package/dist/esm/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/esm/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/esm/node_modules/lodash-es/isFunction.js +0 -12
- package/dist/esm/node_modules/lodash-es/isLength.js +0 -7
- package/dist/esm/node_modules/lodash-es/isMap.js +0 -7
- package/dist/esm/node_modules/lodash-es/isObject.js +0 -7
- package/dist/esm/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/esm/node_modules/lodash-es/isSet.js +0 -7
- package/dist/esm/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/esm/node_modules/lodash-es/keys.js +0 -9
- package/dist/esm/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/esm/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/esm/node_modules/pinia/dist/pinia.js +0 -39
- package/dist/esm/node_modules/vue/dist/vue.runtime.esm-bundler.js +0 -38
- package/dist/esm/node_modules/vue-router/dist/vue-router.js +0 -193
|
@@ -1,975 +0,0 @@
|
|
|
1
|
-
import { isFunction as $, isObject as P, EMPTY_OBJ as We, hasChanged as m, isArray as x, extend as ne, toRawType as Ee, isSymbol as B, hasOwn as oe, isIntegerKey as ue, isMap as j, makeMap as He, capitalize as Ce, NOOP as $e, isSet as Ye, isPlainObject as ze } from "../../shared/dist/shared.esm-bundler.js";
|
|
2
|
-
/**
|
|
3
|
-
* @vue/reactivity v3.5.14
|
|
4
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
-
* @license MIT
|
|
6
|
-
**/
|
|
7
|
-
function D(e, ...t) {
|
|
8
|
-
console.warn(`[Vue warn] ${e}`, ...t);
|
|
9
|
-
}
|
|
10
|
-
let u;
|
|
11
|
-
const se = /* @__PURE__ */ new WeakSet();
|
|
12
|
-
class Be {
|
|
13
|
-
constructor(t) {
|
|
14
|
-
this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
|
|
15
|
-
}
|
|
16
|
-
pause() {
|
|
17
|
-
this.flags |= 64;
|
|
18
|
-
}
|
|
19
|
-
resume() {
|
|
20
|
-
this.flags & 64 && (this.flags &= -65, se.has(this) && (se.delete(this), this.trigger()));
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
*/
|
|
25
|
-
notify() {
|
|
26
|
-
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || ye(this);
|
|
27
|
-
}
|
|
28
|
-
run() {
|
|
29
|
-
if (!(this.flags & 1))
|
|
30
|
-
return this.fn();
|
|
31
|
-
this.flags |= 2, ge(this), De(this);
|
|
32
|
-
const t = u, s = w;
|
|
33
|
-
u = this, w = !0;
|
|
34
|
-
try {
|
|
35
|
-
return this.fn();
|
|
36
|
-
} finally {
|
|
37
|
-
process.env.NODE_ENV !== "production" && u !== this && D(
|
|
38
|
-
"Active effect was not restored correctly - this is likely a Vue internal bug."
|
|
39
|
-
), Ne(this), u = t, w = s, this.flags &= -3;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
stop() {
|
|
43
|
-
if (this.flags & 1) {
|
|
44
|
-
for (let t = this.deps; t; t = t.nextDep)
|
|
45
|
-
de(t);
|
|
46
|
-
this.deps = this.depsTail = void 0, ge(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
trigger() {
|
|
50
|
-
this.flags & 64 ? se.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
|
-
runIfDirty() {
|
|
56
|
-
ae(this) && this.run();
|
|
57
|
-
}
|
|
58
|
-
get dirty() {
|
|
59
|
-
return ae(this);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
let Se = 0, H, C;
|
|
63
|
-
function ye(e, t = !1) {
|
|
64
|
-
if (e.flags |= 8, t) {
|
|
65
|
-
e.next = C, C = e;
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
e.next = H, H = e;
|
|
69
|
-
}
|
|
70
|
-
function he() {
|
|
71
|
-
Se++;
|
|
72
|
-
}
|
|
73
|
-
function pe() {
|
|
74
|
-
if (--Se > 0)
|
|
75
|
-
return;
|
|
76
|
-
if (C) {
|
|
77
|
-
let t = C;
|
|
78
|
-
for (C = void 0; t; ) {
|
|
79
|
-
const s = t.next;
|
|
80
|
-
t.next = void 0, t.flags &= -9, t = s;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
let e;
|
|
84
|
-
for (; H; ) {
|
|
85
|
-
let t = H;
|
|
86
|
-
for (H = void 0; t; ) {
|
|
87
|
-
const s = t.next;
|
|
88
|
-
if (t.next = void 0, t.flags &= -9, t.flags & 1)
|
|
89
|
-
try {
|
|
90
|
-
t.trigger();
|
|
91
|
-
} catch (r) {
|
|
92
|
-
e || (e = r);
|
|
93
|
-
}
|
|
94
|
-
t = s;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
if (e) throw e;
|
|
98
|
-
}
|
|
99
|
-
function De(e) {
|
|
100
|
-
for (let t = e.deps; t; t = t.nextDep)
|
|
101
|
-
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
102
|
-
}
|
|
103
|
-
function Ne(e) {
|
|
104
|
-
let t, s = e.depsTail, r = s;
|
|
105
|
-
for (; r; ) {
|
|
106
|
-
const i = r.prevDep;
|
|
107
|
-
r.version === -1 ? (r === s && (s = i), de(r), Fe(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = i;
|
|
108
|
-
}
|
|
109
|
-
e.deps = t, e.depsTail = s;
|
|
110
|
-
}
|
|
111
|
-
function ae(e) {
|
|
112
|
-
for (let t = e.deps; t; t = t.nextDep)
|
|
113
|
-
if (t.dep.version !== t.version || t.dep.computed && (Re(t.dep.computed) || t.dep.version !== t.version))
|
|
114
|
-
return !0;
|
|
115
|
-
return !!e._dirty;
|
|
116
|
-
}
|
|
117
|
-
function Re(e) {
|
|
118
|
-
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Y) || (e.globalVersion = Y, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !ae(e))))
|
|
119
|
-
return;
|
|
120
|
-
e.flags |= 2;
|
|
121
|
-
const t = e.dep, s = u, r = w;
|
|
122
|
-
u = e, w = !0;
|
|
123
|
-
try {
|
|
124
|
-
De(e);
|
|
125
|
-
const i = e.fn(e._value);
|
|
126
|
-
(t.version === 0 || m(i, e._value)) && (e.flags |= 128, e._value = i, t.version++);
|
|
127
|
-
} catch (i) {
|
|
128
|
-
throw t.version++, i;
|
|
129
|
-
} finally {
|
|
130
|
-
u = s, w = r, Ne(e), e.flags &= -3;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
function de(e, t = !1) {
|
|
134
|
-
const { dep: s, prevSub: r, nextSub: i } = e;
|
|
135
|
-
if (r && (r.nextSub = i, e.prevSub = void 0), i && (i.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && s.subsHead === e && (s.subsHead = i), s.subs === e && (s.subs = r, !r && s.computed)) {
|
|
136
|
-
s.computed.flags &= -5;
|
|
137
|
-
for (let n = s.computed.deps; n; n = n.nextDep)
|
|
138
|
-
de(n, !0);
|
|
139
|
-
}
|
|
140
|
-
!t && !--s.sc && s.map && s.map.delete(s.key);
|
|
141
|
-
}
|
|
142
|
-
function Fe(e) {
|
|
143
|
-
const { prevDep: t, nextDep: s } = e;
|
|
144
|
-
t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
|
|
145
|
-
}
|
|
146
|
-
let w = !0;
|
|
147
|
-
const me = [];
|
|
148
|
-
function xe() {
|
|
149
|
-
me.push(w), w = !1;
|
|
150
|
-
}
|
|
151
|
-
function Oe() {
|
|
152
|
-
const e = me.pop();
|
|
153
|
-
w = e === void 0 ? !0 : e;
|
|
154
|
-
}
|
|
155
|
-
function ge(e) {
|
|
156
|
-
const { cleanup: t } = e;
|
|
157
|
-
if (e.cleanup = void 0, t) {
|
|
158
|
-
const s = u;
|
|
159
|
-
u = void 0;
|
|
160
|
-
try {
|
|
161
|
-
t();
|
|
162
|
-
} finally {
|
|
163
|
-
u = s;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
let Y = 0;
|
|
168
|
-
class Ge {
|
|
169
|
-
constructor(t, s) {
|
|
170
|
-
this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
class _e {
|
|
174
|
-
constructor(t) {
|
|
175
|
-
this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
176
|
-
}
|
|
177
|
-
track(t) {
|
|
178
|
-
if (!u || !w || u === this.computed)
|
|
179
|
-
return;
|
|
180
|
-
let s = this.activeLink;
|
|
181
|
-
if (s === void 0 || s.sub !== u)
|
|
182
|
-
s = this.activeLink = new Ge(u, this), u.deps ? (s.prevDep = u.depsTail, u.depsTail.nextDep = s, u.depsTail = s) : u.deps = u.depsTail = s, Te(s);
|
|
183
|
-
else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
|
|
184
|
-
const r = s.nextDep;
|
|
185
|
-
r.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = r), s.prevDep = u.depsTail, s.nextDep = void 0, u.depsTail.nextDep = s, u.depsTail = s, u.deps === s && (u.deps = r);
|
|
186
|
-
}
|
|
187
|
-
return process.env.NODE_ENV !== "production" && u.onTrack && u.onTrack(
|
|
188
|
-
ne(
|
|
189
|
-
{
|
|
190
|
-
effect: u
|
|
191
|
-
},
|
|
192
|
-
t
|
|
193
|
-
)
|
|
194
|
-
), s;
|
|
195
|
-
}
|
|
196
|
-
trigger(t) {
|
|
197
|
-
this.version++, Y++, this.notify(t);
|
|
198
|
-
}
|
|
199
|
-
notify(t) {
|
|
200
|
-
he();
|
|
201
|
-
try {
|
|
202
|
-
if (process.env.NODE_ENV !== "production")
|
|
203
|
-
for (let s = this.subsHead; s; s = s.nextSub)
|
|
204
|
-
s.sub.onTrigger && !(s.sub.flags & 8) && s.sub.onTrigger(
|
|
205
|
-
ne(
|
|
206
|
-
{
|
|
207
|
-
effect: s.sub
|
|
208
|
-
},
|
|
209
|
-
t
|
|
210
|
-
)
|
|
211
|
-
);
|
|
212
|
-
for (let s = this.subs; s; s = s.prevSub)
|
|
213
|
-
s.sub.notify() && s.sub.dep.notify();
|
|
214
|
-
} finally {
|
|
215
|
-
pe();
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
function Te(e) {
|
|
220
|
-
if (e.dep.sc++, e.sub.flags & 4) {
|
|
221
|
-
const t = e.dep.computed;
|
|
222
|
-
if (t && !e.dep.subs) {
|
|
223
|
-
t.flags |= 20;
|
|
224
|
-
for (let r = t.deps; r; r = r.nextDep)
|
|
225
|
-
Te(r);
|
|
226
|
-
}
|
|
227
|
-
const s = e.dep.subs;
|
|
228
|
-
s !== e && (e.prevSub = s, s && (s.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
const k = /* @__PURE__ */ new WeakMap(), V = Symbol(
|
|
232
|
-
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
233
|
-
), ce = Symbol(
|
|
234
|
-
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
235
|
-
), z = Symbol(
|
|
236
|
-
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
237
|
-
);
|
|
238
|
-
function g(e, t, s) {
|
|
239
|
-
if (w && u) {
|
|
240
|
-
let r = k.get(e);
|
|
241
|
-
r || k.set(e, r = /* @__PURE__ */ new Map());
|
|
242
|
-
let i = r.get(s);
|
|
243
|
-
i || (r.set(s, i = new _e()), i.map = r, i.key = s), process.env.NODE_ENV !== "production" ? i.track({
|
|
244
|
-
target: e,
|
|
245
|
-
type: t,
|
|
246
|
-
key: s
|
|
247
|
-
}) : i.track();
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
function N(e, t, s, r, i, n) {
|
|
251
|
-
const o = k.get(e);
|
|
252
|
-
if (!o) {
|
|
253
|
-
Y++;
|
|
254
|
-
return;
|
|
255
|
-
}
|
|
256
|
-
const a = (c) => {
|
|
257
|
-
c && (process.env.NODE_ENV !== "production" ? c.trigger({
|
|
258
|
-
target: e,
|
|
259
|
-
type: t,
|
|
260
|
-
key: s,
|
|
261
|
-
newValue: r,
|
|
262
|
-
oldValue: i,
|
|
263
|
-
oldTarget: n
|
|
264
|
-
}) : c.trigger());
|
|
265
|
-
};
|
|
266
|
-
if (he(), t === "clear")
|
|
267
|
-
o.forEach(a);
|
|
268
|
-
else {
|
|
269
|
-
const c = x(e), p = c && ue(s);
|
|
270
|
-
if (c && s === "length") {
|
|
271
|
-
const _ = Number(r);
|
|
272
|
-
o.forEach((f, d) => {
|
|
273
|
-
(d === "length" || d === z || !B(d) && d >= _) && a(f);
|
|
274
|
-
});
|
|
275
|
-
} else
|
|
276
|
-
switch ((s !== void 0 || o.has(void 0)) && a(o.get(s)), p && a(o.get(z)), t) {
|
|
277
|
-
case "add":
|
|
278
|
-
c ? p && a(o.get("length")) : (a(o.get(V)), j(e) && a(o.get(ce)));
|
|
279
|
-
break;
|
|
280
|
-
case "delete":
|
|
281
|
-
c || (a(o.get(V)), j(e) && a(o.get(ce)));
|
|
282
|
-
break;
|
|
283
|
-
case "set":
|
|
284
|
-
j(e) && a(o.get(V));
|
|
285
|
-
break;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
pe();
|
|
289
|
-
}
|
|
290
|
-
function Je(e, t) {
|
|
291
|
-
const s = k.get(e);
|
|
292
|
-
return s && s.get(t);
|
|
293
|
-
}
|
|
294
|
-
function A(e) {
|
|
295
|
-
const t = h(e);
|
|
296
|
-
return t === e ? t : (g(t, "iterate", z), E(e) ? t : t.map(v));
|
|
297
|
-
}
|
|
298
|
-
function ve(e) {
|
|
299
|
-
return g(e = h(e), "iterate", z), e;
|
|
300
|
-
}
|
|
301
|
-
const Qe = {
|
|
302
|
-
__proto__: null,
|
|
303
|
-
[Symbol.iterator]() {
|
|
304
|
-
return ie(this, Symbol.iterator, v);
|
|
305
|
-
},
|
|
306
|
-
concat(...e) {
|
|
307
|
-
return A(this).concat(
|
|
308
|
-
...e.map((t) => x(t) ? A(t) : t)
|
|
309
|
-
);
|
|
310
|
-
},
|
|
311
|
-
entries() {
|
|
312
|
-
return ie(this, "entries", (e) => (e[1] = v(e[1]), e));
|
|
313
|
-
},
|
|
314
|
-
every(e, t) {
|
|
315
|
-
return y(this, "every", e, t, void 0, arguments);
|
|
316
|
-
},
|
|
317
|
-
filter(e, t) {
|
|
318
|
-
return y(this, "filter", e, t, (s) => s.map(v), arguments);
|
|
319
|
-
},
|
|
320
|
-
find(e, t) {
|
|
321
|
-
return y(this, "find", e, t, v, arguments);
|
|
322
|
-
},
|
|
323
|
-
findIndex(e, t) {
|
|
324
|
-
return y(this, "findIndex", e, t, void 0, arguments);
|
|
325
|
-
},
|
|
326
|
-
findLast(e, t) {
|
|
327
|
-
return y(this, "findLast", e, t, v, arguments);
|
|
328
|
-
},
|
|
329
|
-
findLastIndex(e, t) {
|
|
330
|
-
return y(this, "findLastIndex", e, t, void 0, arguments);
|
|
331
|
-
},
|
|
332
|
-
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
333
|
-
forEach(e, t) {
|
|
334
|
-
return y(this, "forEach", e, t, void 0, arguments);
|
|
335
|
-
},
|
|
336
|
-
includes(...e) {
|
|
337
|
-
return re(this, "includes", e);
|
|
338
|
-
},
|
|
339
|
-
indexOf(...e) {
|
|
340
|
-
return re(this, "indexOf", e);
|
|
341
|
-
},
|
|
342
|
-
join(e) {
|
|
343
|
-
return A(this).join(e);
|
|
344
|
-
},
|
|
345
|
-
// keys() iterator only reads `length`, no optimisation required
|
|
346
|
-
lastIndexOf(...e) {
|
|
347
|
-
return re(this, "lastIndexOf", e);
|
|
348
|
-
},
|
|
349
|
-
map(e, t) {
|
|
350
|
-
return y(this, "map", e, t, void 0, arguments);
|
|
351
|
-
},
|
|
352
|
-
pop() {
|
|
353
|
-
return W(this, "pop");
|
|
354
|
-
},
|
|
355
|
-
push(...e) {
|
|
356
|
-
return W(this, "push", e);
|
|
357
|
-
},
|
|
358
|
-
reduce(e, ...t) {
|
|
359
|
-
return be(this, "reduce", e, t);
|
|
360
|
-
},
|
|
361
|
-
reduceRight(e, ...t) {
|
|
362
|
-
return be(this, "reduceRight", e, t);
|
|
363
|
-
},
|
|
364
|
-
shift() {
|
|
365
|
-
return W(this, "shift");
|
|
366
|
-
},
|
|
367
|
-
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
368
|
-
some(e, t) {
|
|
369
|
-
return y(this, "some", e, t, void 0, arguments);
|
|
370
|
-
},
|
|
371
|
-
splice(...e) {
|
|
372
|
-
return W(this, "splice", e);
|
|
373
|
-
},
|
|
374
|
-
toReversed() {
|
|
375
|
-
return A(this).toReversed();
|
|
376
|
-
},
|
|
377
|
-
toSorted(e) {
|
|
378
|
-
return A(this).toSorted(e);
|
|
379
|
-
},
|
|
380
|
-
toSpliced(...e) {
|
|
381
|
-
return A(this).toSpliced(...e);
|
|
382
|
-
},
|
|
383
|
-
unshift(...e) {
|
|
384
|
-
return W(this, "unshift", e);
|
|
385
|
-
},
|
|
386
|
-
values() {
|
|
387
|
-
return ie(this, "values", v);
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
function ie(e, t, s) {
|
|
391
|
-
const r = ve(e), i = r[t]();
|
|
392
|
-
return r !== e && !E(e) && (i._next = i.next, i.next = () => {
|
|
393
|
-
const n = i._next();
|
|
394
|
-
return n.value && (n.value = s(n.value)), n;
|
|
395
|
-
}), i;
|
|
396
|
-
}
|
|
397
|
-
const Ue = Array.prototype;
|
|
398
|
-
function y(e, t, s, r, i, n) {
|
|
399
|
-
const o = ve(e), a = o !== e && !E(e), c = o[t];
|
|
400
|
-
if (c !== Ue[t]) {
|
|
401
|
-
const f = c.apply(e, n);
|
|
402
|
-
return a ? v(f) : f;
|
|
403
|
-
}
|
|
404
|
-
let p = s;
|
|
405
|
-
o !== e && (a ? p = function(f, d) {
|
|
406
|
-
return s.call(this, v(f), d, e);
|
|
407
|
-
} : s.length > 2 && (p = function(f, d) {
|
|
408
|
-
return s.call(this, f, d, e);
|
|
409
|
-
}));
|
|
410
|
-
const _ = c.call(o, p, r);
|
|
411
|
-
return a && i ? i(_) : _;
|
|
412
|
-
}
|
|
413
|
-
function be(e, t, s, r) {
|
|
414
|
-
const i = ve(e);
|
|
415
|
-
let n = s;
|
|
416
|
-
return i !== e && (E(e) ? s.length > 3 && (n = function(o, a, c) {
|
|
417
|
-
return s.call(this, o, a, c, e);
|
|
418
|
-
}) : n = function(o, a, c) {
|
|
419
|
-
return s.call(this, o, v(a), c, e);
|
|
420
|
-
}), i[t](n, ...r);
|
|
421
|
-
}
|
|
422
|
-
function re(e, t, s) {
|
|
423
|
-
const r = h(e);
|
|
424
|
-
g(r, "iterate", z);
|
|
425
|
-
const i = r[t](...s);
|
|
426
|
-
return (i === -1 || i === !1) && lt(s[0]) ? (s[0] = h(s[0]), r[t](...s)) : i;
|
|
427
|
-
}
|
|
428
|
-
function W(e, t, s = []) {
|
|
429
|
-
xe(), he();
|
|
430
|
-
const r = h(e)[t].apply(e, s);
|
|
431
|
-
return pe(), Oe(), r;
|
|
432
|
-
}
|
|
433
|
-
const qe = /* @__PURE__ */ He("__proto__,__v_isRef,__isVue"), Ve = new Set(
|
|
434
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(B)
|
|
435
|
-
);
|
|
436
|
-
function Xe(e) {
|
|
437
|
-
B(e) || (e = String(e));
|
|
438
|
-
const t = h(this);
|
|
439
|
-
return g(t, "has", e), t.hasOwnProperty(e);
|
|
440
|
-
}
|
|
441
|
-
class Ie {
|
|
442
|
-
constructor(t = !1, s = !1) {
|
|
443
|
-
this._isReadonly = t, this._isShallow = s;
|
|
444
|
-
}
|
|
445
|
-
get(t, s, r) {
|
|
446
|
-
if (s === "__v_skip") return t.__v_skip;
|
|
447
|
-
const i = this._isReadonly, n = this._isShallow;
|
|
448
|
-
if (s === "__v_isReactive")
|
|
449
|
-
return !i;
|
|
450
|
-
if (s === "__v_isReadonly")
|
|
451
|
-
return i;
|
|
452
|
-
if (s === "__v_isShallow")
|
|
453
|
-
return n;
|
|
454
|
-
if (s === "__v_raw")
|
|
455
|
-
return r === (i ? n ? at : je : n ? ot : Ae).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
456
|
-
// this means the receiver is a user proxy of the reactive proxy
|
|
457
|
-
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
|
|
458
|
-
const o = x(t);
|
|
459
|
-
if (!i) {
|
|
460
|
-
let c;
|
|
461
|
-
if (o && (c = Qe[s]))
|
|
462
|
-
return c;
|
|
463
|
-
if (s === "hasOwnProperty")
|
|
464
|
-
return Xe;
|
|
465
|
-
}
|
|
466
|
-
const a = Reflect.get(
|
|
467
|
-
t,
|
|
468
|
-
s,
|
|
469
|
-
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
470
|
-
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
471
|
-
// its class methods
|
|
472
|
-
b(t) ? t : r
|
|
473
|
-
);
|
|
474
|
-
return (B(s) ? Ve.has(s) : qe(s)) || (i || g(t, "get", s), n) ? a : b(a) ? o && ue(s) ? a : a.value : P(a) ? i ? Ke(a) : Pe(a) : a;
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
class Ze extends Ie {
|
|
478
|
-
constructor(t = !1) {
|
|
479
|
-
super(!1, t);
|
|
480
|
-
}
|
|
481
|
-
set(t, s, r, i) {
|
|
482
|
-
let n = t[s];
|
|
483
|
-
if (!this._isShallow) {
|
|
484
|
-
const c = I(n);
|
|
485
|
-
if (!E(r) && !I(r) && (n = h(n), r = h(r)), !x(t) && b(n) && !b(r))
|
|
486
|
-
return c ? !1 : (n.value = r, !0);
|
|
487
|
-
}
|
|
488
|
-
const o = x(t) && ue(s) ? Number(s) < t.length : oe(t, s), a = Reflect.set(
|
|
489
|
-
t,
|
|
490
|
-
s,
|
|
491
|
-
r,
|
|
492
|
-
b(t) ? t : i
|
|
493
|
-
);
|
|
494
|
-
return t === h(i) && (o ? m(r, n) && N(t, "set", s, r, n) : N(t, "add", s, r)), a;
|
|
495
|
-
}
|
|
496
|
-
deleteProperty(t, s) {
|
|
497
|
-
const r = oe(t, s), i = t[s], n = Reflect.deleteProperty(t, s);
|
|
498
|
-
return n && r && N(t, "delete", s, void 0, i), n;
|
|
499
|
-
}
|
|
500
|
-
has(t, s) {
|
|
501
|
-
const r = Reflect.has(t, s);
|
|
502
|
-
return (!B(s) || !Ve.has(s)) && g(t, "has", s), r;
|
|
503
|
-
}
|
|
504
|
-
ownKeys(t) {
|
|
505
|
-
return g(
|
|
506
|
-
t,
|
|
507
|
-
"iterate",
|
|
508
|
-
x(t) ? "length" : V
|
|
509
|
-
), Reflect.ownKeys(t);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
class ke extends Ie {
|
|
513
|
-
constructor(t = !1) {
|
|
514
|
-
super(!0, t);
|
|
515
|
-
}
|
|
516
|
-
set(t, s) {
|
|
517
|
-
return process.env.NODE_ENV !== "production" && D(
|
|
518
|
-
`Set operation on key "${String(s)}" failed: target is readonly.`,
|
|
519
|
-
t
|
|
520
|
-
), !0;
|
|
521
|
-
}
|
|
522
|
-
deleteProperty(t, s) {
|
|
523
|
-
return process.env.NODE_ENV !== "production" && D(
|
|
524
|
-
`Delete operation on key "${String(s)}" failed: target is readonly.`,
|
|
525
|
-
t
|
|
526
|
-
), !0;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
const et = /* @__PURE__ */ new Ze(), tt = /* @__PURE__ */ new ke(), fe = (e) => e, U = (e) => Reflect.getPrototypeOf(e);
|
|
530
|
-
function st(e, t, s) {
|
|
531
|
-
return function(...r) {
|
|
532
|
-
const i = this.__v_raw, n = h(i), o = j(n), a = e === "entries" || e === Symbol.iterator && o, c = e === "keys" && o, p = i[e](...r), _ = s ? fe : t ? le : v;
|
|
533
|
-
return !t && g(
|
|
534
|
-
n,
|
|
535
|
-
"iterate",
|
|
536
|
-
c ? ce : V
|
|
537
|
-
), {
|
|
538
|
-
// iterator protocol
|
|
539
|
-
next() {
|
|
540
|
-
const { value: f, done: d } = p.next();
|
|
541
|
-
return d ? { value: f, done: d } : {
|
|
542
|
-
value: a ? [_(f[0]), _(f[1])] : _(f),
|
|
543
|
-
done: d
|
|
544
|
-
};
|
|
545
|
-
},
|
|
546
|
-
// iterable protocol
|
|
547
|
-
[Symbol.iterator]() {
|
|
548
|
-
return this;
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
};
|
|
552
|
-
}
|
|
553
|
-
function q(e) {
|
|
554
|
-
return function(...t) {
|
|
555
|
-
if (process.env.NODE_ENV !== "production") {
|
|
556
|
-
const s = t[0] ? `on key "${t[0]}" ` : "";
|
|
557
|
-
D(
|
|
558
|
-
`${Ce(e)} operation ${s}failed: target is readonly.`,
|
|
559
|
-
h(this)
|
|
560
|
-
);
|
|
561
|
-
}
|
|
562
|
-
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
function it(e, t) {
|
|
566
|
-
const s = {
|
|
567
|
-
get(i) {
|
|
568
|
-
const n = this.__v_raw, o = h(n), a = h(i);
|
|
569
|
-
e || (m(i, a) && g(o, "get", i), g(o, "get", a));
|
|
570
|
-
const { has: c } = U(o), p = t ? fe : e ? le : v;
|
|
571
|
-
if (c.call(o, i))
|
|
572
|
-
return p(n.get(i));
|
|
573
|
-
if (c.call(o, a))
|
|
574
|
-
return p(n.get(a));
|
|
575
|
-
n !== o && n.get(i);
|
|
576
|
-
},
|
|
577
|
-
get size() {
|
|
578
|
-
const i = this.__v_raw;
|
|
579
|
-
return !e && g(h(i), "iterate", V), Reflect.get(i, "size", i);
|
|
580
|
-
},
|
|
581
|
-
has(i) {
|
|
582
|
-
const n = this.__v_raw, o = h(n), a = h(i);
|
|
583
|
-
return e || (m(i, a) && g(o, "has", i), g(o, "has", a)), i === a ? n.has(i) : n.has(i) || n.has(a);
|
|
584
|
-
},
|
|
585
|
-
forEach(i, n) {
|
|
586
|
-
const o = this, a = o.__v_raw, c = h(a), p = t ? fe : e ? le : v;
|
|
587
|
-
return !e && g(c, "iterate", V), a.forEach((_, f) => i.call(n, p(_), p(f), o));
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
return ne(
|
|
591
|
-
s,
|
|
592
|
-
e ? {
|
|
593
|
-
add: q("add"),
|
|
594
|
-
set: q("set"),
|
|
595
|
-
delete: q("delete"),
|
|
596
|
-
clear: q("clear")
|
|
597
|
-
} : {
|
|
598
|
-
add(i) {
|
|
599
|
-
!t && !E(i) && !I(i) && (i = h(i));
|
|
600
|
-
const n = h(this);
|
|
601
|
-
return U(n).has.call(n, i) || (n.add(i), N(n, "add", i, i)), this;
|
|
602
|
-
},
|
|
603
|
-
set(i, n) {
|
|
604
|
-
!t && !E(n) && !I(n) && (n = h(n));
|
|
605
|
-
const o = h(this), { has: a, get: c } = U(o);
|
|
606
|
-
let p = a.call(o, i);
|
|
607
|
-
p ? process.env.NODE_ENV !== "production" && we(o, a, i) : (i = h(i), p = a.call(o, i));
|
|
608
|
-
const _ = c.call(o, i);
|
|
609
|
-
return o.set(i, n), p ? m(n, _) && N(o, "set", i, n, _) : N(o, "add", i, n), this;
|
|
610
|
-
},
|
|
611
|
-
delete(i) {
|
|
612
|
-
const n = h(this), { has: o, get: a } = U(n);
|
|
613
|
-
let c = o.call(n, i);
|
|
614
|
-
c ? process.env.NODE_ENV !== "production" && we(n, o, i) : (i = h(i), c = o.call(n, i));
|
|
615
|
-
const p = a ? a.call(n, i) : void 0, _ = n.delete(i);
|
|
616
|
-
return c && N(n, "delete", i, void 0, p), _;
|
|
617
|
-
},
|
|
618
|
-
clear() {
|
|
619
|
-
const i = h(this), n = i.size !== 0, o = process.env.NODE_ENV !== "production" ? j(i) ? new Map(i) : new Set(i) : void 0, a = i.clear();
|
|
620
|
-
return n && N(
|
|
621
|
-
i,
|
|
622
|
-
"clear",
|
|
623
|
-
void 0,
|
|
624
|
-
void 0,
|
|
625
|
-
o
|
|
626
|
-
), a;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
), [
|
|
630
|
-
"keys",
|
|
631
|
-
"values",
|
|
632
|
-
"entries",
|
|
633
|
-
Symbol.iterator
|
|
634
|
-
].forEach((i) => {
|
|
635
|
-
s[i] = st(i, e, t);
|
|
636
|
-
}), s;
|
|
637
|
-
}
|
|
638
|
-
function Me(e, t) {
|
|
639
|
-
const s = it(e, t);
|
|
640
|
-
return (r, i, n) => i === "__v_isReactive" ? !e : i === "__v_isReadonly" ? e : i === "__v_raw" ? r : Reflect.get(
|
|
641
|
-
oe(s, i) && i in r ? s : r,
|
|
642
|
-
i,
|
|
643
|
-
n
|
|
644
|
-
);
|
|
645
|
-
}
|
|
646
|
-
const rt = {
|
|
647
|
-
get: /* @__PURE__ */ Me(!1, !1)
|
|
648
|
-
}, nt = {
|
|
649
|
-
get: /* @__PURE__ */ Me(!0, !1)
|
|
650
|
-
};
|
|
651
|
-
function we(e, t, s) {
|
|
652
|
-
const r = h(s);
|
|
653
|
-
if (r !== s && t.call(e, r)) {
|
|
654
|
-
const i = Ee(e);
|
|
655
|
-
D(
|
|
656
|
-
`Reactive ${i} contains both the raw and reactive versions of the same object${i === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
657
|
-
);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
const Ae = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap(), je = /* @__PURE__ */ new WeakMap(), at = /* @__PURE__ */ new WeakMap();
|
|
661
|
-
function ct(e) {
|
|
662
|
-
switch (e) {
|
|
663
|
-
case "Object":
|
|
664
|
-
case "Array":
|
|
665
|
-
return 1;
|
|
666
|
-
case "Map":
|
|
667
|
-
case "Set":
|
|
668
|
-
case "WeakMap":
|
|
669
|
-
case "WeakSet":
|
|
670
|
-
return 2;
|
|
671
|
-
default:
|
|
672
|
-
return 0;
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
function ft(e) {
|
|
676
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 : ct(Ee(e));
|
|
677
|
-
}
|
|
678
|
-
function Pe(e) {
|
|
679
|
-
return I(e) ? e : Le(
|
|
680
|
-
e,
|
|
681
|
-
!1,
|
|
682
|
-
et,
|
|
683
|
-
rt,
|
|
684
|
-
Ae
|
|
685
|
-
);
|
|
686
|
-
}
|
|
687
|
-
function Ke(e) {
|
|
688
|
-
return Le(
|
|
689
|
-
e,
|
|
690
|
-
!0,
|
|
691
|
-
tt,
|
|
692
|
-
nt,
|
|
693
|
-
je
|
|
694
|
-
);
|
|
695
|
-
}
|
|
696
|
-
function Le(e, t, s, r, i) {
|
|
697
|
-
if (!P(e))
|
|
698
|
-
return process.env.NODE_ENV !== "production" && D(
|
|
699
|
-
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
700
|
-
e
|
|
701
|
-
)}`
|
|
702
|
-
), e;
|
|
703
|
-
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
704
|
-
return e;
|
|
705
|
-
const n = ft(e);
|
|
706
|
-
if (n === 0)
|
|
707
|
-
return e;
|
|
708
|
-
const o = i.get(e);
|
|
709
|
-
if (o)
|
|
710
|
-
return o;
|
|
711
|
-
const a = new Proxy(
|
|
712
|
-
e,
|
|
713
|
-
n === 2 ? r : s
|
|
714
|
-
);
|
|
715
|
-
return i.set(e, a), a;
|
|
716
|
-
}
|
|
717
|
-
function Z(e) {
|
|
718
|
-
return I(e) ? Z(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
719
|
-
}
|
|
720
|
-
function I(e) {
|
|
721
|
-
return !!(e && e.__v_isReadonly);
|
|
722
|
-
}
|
|
723
|
-
function E(e) {
|
|
724
|
-
return !!(e && e.__v_isShallow);
|
|
725
|
-
}
|
|
726
|
-
function lt(e) {
|
|
727
|
-
return e ? !!e.__v_raw : !1;
|
|
728
|
-
}
|
|
729
|
-
function h(e) {
|
|
730
|
-
const t = e && e.__v_raw;
|
|
731
|
-
return t ? h(t) : e;
|
|
732
|
-
}
|
|
733
|
-
const v = (e) => P(e) ? Pe(e) : e, le = (e) => P(e) ? Ke(e) : e;
|
|
734
|
-
function b(e) {
|
|
735
|
-
return e ? e.__v_isRef === !0 : !1;
|
|
736
|
-
}
|
|
737
|
-
function ut(e) {
|
|
738
|
-
return ht(e, !1);
|
|
739
|
-
}
|
|
740
|
-
function ht(e, t) {
|
|
741
|
-
return b(e) ? e : new pt(e, t);
|
|
742
|
-
}
|
|
743
|
-
class pt {
|
|
744
|
-
constructor(t, s) {
|
|
745
|
-
this.dep = new _e(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = s ? t : h(t), this._value = s ? t : v(t), this.__v_isShallow = s;
|
|
746
|
-
}
|
|
747
|
-
get value() {
|
|
748
|
-
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
749
|
-
target: this,
|
|
750
|
-
type: "get",
|
|
751
|
-
key: "value"
|
|
752
|
-
}) : this.dep.track(), this._value;
|
|
753
|
-
}
|
|
754
|
-
set value(t) {
|
|
755
|
-
const s = this._rawValue, r = this.__v_isShallow || E(t) || I(t);
|
|
756
|
-
t = r ? t : h(t), m(t, s) && (this._rawValue = t, this._value = r ? t : v(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
757
|
-
target: this,
|
|
758
|
-
type: "set",
|
|
759
|
-
key: "value",
|
|
760
|
-
newValue: t,
|
|
761
|
-
oldValue: s
|
|
762
|
-
}) : this.dep.trigger());
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
function dt(e) {
|
|
766
|
-
return b(e) ? e.value : e;
|
|
767
|
-
}
|
|
768
|
-
function St(e) {
|
|
769
|
-
return $(e) ? e() : dt(e);
|
|
770
|
-
}
|
|
771
|
-
class _t {
|
|
772
|
-
constructor(t, s, r) {
|
|
773
|
-
this._object = t, this._key = s, this._defaultValue = r, this.__v_isRef = !0, this._value = void 0;
|
|
774
|
-
}
|
|
775
|
-
get value() {
|
|
776
|
-
const t = this._object[this._key];
|
|
777
|
-
return this._value = t === void 0 ? this._defaultValue : t;
|
|
778
|
-
}
|
|
779
|
-
set value(t) {
|
|
780
|
-
this._object[this._key] = t;
|
|
781
|
-
}
|
|
782
|
-
get dep() {
|
|
783
|
-
return Je(h(this._object), this._key);
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
class vt {
|
|
787
|
-
constructor(t) {
|
|
788
|
-
this._getter = t, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0;
|
|
789
|
-
}
|
|
790
|
-
get value() {
|
|
791
|
-
return this._value = this._getter();
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
function yt(e, t, s) {
|
|
795
|
-
return b(e) ? e : $(e) ? new vt(e) : P(e) && arguments.length > 1 ? gt(e, t, s) : ut(e);
|
|
796
|
-
}
|
|
797
|
-
function gt(e, t, s) {
|
|
798
|
-
const r = e[t];
|
|
799
|
-
return b(r) ? r : new _t(e, t, s);
|
|
800
|
-
}
|
|
801
|
-
class bt {
|
|
802
|
-
constructor(t, s, r) {
|
|
803
|
-
this.fn = t, this.setter = s, this._value = void 0, this.dep = new _e(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Y - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = r;
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* @internal
|
|
807
|
-
*/
|
|
808
|
-
notify() {
|
|
809
|
-
if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
|
|
810
|
-
u !== this)
|
|
811
|
-
return ye(this, !0), !0;
|
|
812
|
-
process.env.NODE_ENV;
|
|
813
|
-
}
|
|
814
|
-
get value() {
|
|
815
|
-
const t = process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
816
|
-
target: this,
|
|
817
|
-
type: "get",
|
|
818
|
-
key: "value"
|
|
819
|
-
}) : this.dep.track();
|
|
820
|
-
return Re(this), t && (t.version = this.dep.version), this._value;
|
|
821
|
-
}
|
|
822
|
-
set value(t) {
|
|
823
|
-
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && D("Write operation failed: computed value is readonly");
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
function Dt(e, t, s = !1) {
|
|
827
|
-
let r, i;
|
|
828
|
-
$(e) ? r = e : (r = e.get, i = e.set);
|
|
829
|
-
const n = new bt(r, i, s);
|
|
830
|
-
return process.env.NODE_ENV, n;
|
|
831
|
-
}
|
|
832
|
-
const X = {}, ee = /* @__PURE__ */ new WeakMap();
|
|
833
|
-
let T;
|
|
834
|
-
function wt(e, t = !1, s = T) {
|
|
835
|
-
if (s) {
|
|
836
|
-
let r = ee.get(s);
|
|
837
|
-
r || ee.set(s, r = []), r.push(e);
|
|
838
|
-
} else process.env.NODE_ENV !== "production" && !t && D(
|
|
839
|
-
"onWatcherCleanup() was called when there was no active watcher to associate with."
|
|
840
|
-
);
|
|
841
|
-
}
|
|
842
|
-
function Nt(e, t, s = We) {
|
|
843
|
-
const { immediate: r, deep: i, once: n, scheduler: o, augmentJob: a, call: c } = s, p = (l) => {
|
|
844
|
-
(s.onWarn || D)(
|
|
845
|
-
"Invalid watch source: ",
|
|
846
|
-
l,
|
|
847
|
-
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
848
|
-
);
|
|
849
|
-
}, _ = (l) => i ? l : E(l) || i === !1 || i === 0 ? R(l, 1) : R(l);
|
|
850
|
-
let f, d, K, F, G = !1, J = !1;
|
|
851
|
-
if (b(e) ? (d = () => e.value, G = E(e)) : Z(e) ? (d = () => _(e), G = !0) : x(e) ? (J = !0, G = e.some((l) => Z(l) || E(l)), d = () => e.map((l) => {
|
|
852
|
-
if (b(l))
|
|
853
|
-
return l.value;
|
|
854
|
-
if (Z(l))
|
|
855
|
-
return _(l);
|
|
856
|
-
if ($(l))
|
|
857
|
-
return c ? c(l, 2) : l();
|
|
858
|
-
process.env.NODE_ENV !== "production" && p(l);
|
|
859
|
-
})) : $(e) ? t ? d = c ? () => c(e, 2) : e : d = () => {
|
|
860
|
-
if (K) {
|
|
861
|
-
xe();
|
|
862
|
-
try {
|
|
863
|
-
K();
|
|
864
|
-
} finally {
|
|
865
|
-
Oe();
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
const l = T;
|
|
869
|
-
T = f;
|
|
870
|
-
try {
|
|
871
|
-
return c ? c(e, 3, [F]) : e(F);
|
|
872
|
-
} finally {
|
|
873
|
-
T = l;
|
|
874
|
-
}
|
|
875
|
-
} : (d = $e, process.env.NODE_ENV !== "production" && p(e)), t && i) {
|
|
876
|
-
const l = d, S = i === !0 ? 1 / 0 : i;
|
|
877
|
-
d = () => R(l(), S);
|
|
878
|
-
}
|
|
879
|
-
const M = () => {
|
|
880
|
-
f.stop();
|
|
881
|
-
};
|
|
882
|
-
if (n && t) {
|
|
883
|
-
const l = t;
|
|
884
|
-
t = (...S) => {
|
|
885
|
-
l(...S), M();
|
|
886
|
-
};
|
|
887
|
-
}
|
|
888
|
-
let O = J ? new Array(e.length).fill(X) : X;
|
|
889
|
-
const L = (l) => {
|
|
890
|
-
if (!(!(f.flags & 1) || !f.dirty && !l))
|
|
891
|
-
if (t) {
|
|
892
|
-
const S = f.run();
|
|
893
|
-
if (i || G || (J ? S.some((te, Q) => m(te, O[Q])) : m(S, O))) {
|
|
894
|
-
K && K();
|
|
895
|
-
const te = T;
|
|
896
|
-
T = f;
|
|
897
|
-
try {
|
|
898
|
-
const Q = [
|
|
899
|
-
S,
|
|
900
|
-
// pass undefined as the old value when it's changed for the first time
|
|
901
|
-
O === X ? void 0 : J && O[0] === X ? [] : O,
|
|
902
|
-
F
|
|
903
|
-
];
|
|
904
|
-
c ? c(t, 3, Q) : (
|
|
905
|
-
// @ts-expect-error
|
|
906
|
-
t(...Q)
|
|
907
|
-
), O = S;
|
|
908
|
-
} finally {
|
|
909
|
-
T = te;
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
} else
|
|
913
|
-
f.run();
|
|
914
|
-
};
|
|
915
|
-
return a && a(L), f = new Be(d), f.scheduler = o ? () => o(L, !1) : L, F = (l) => wt(l, !1, f), K = f.onStop = () => {
|
|
916
|
-
const l = ee.get(f);
|
|
917
|
-
if (l) {
|
|
918
|
-
if (c)
|
|
919
|
-
c(l, 4);
|
|
920
|
-
else
|
|
921
|
-
for (const S of l) S();
|
|
922
|
-
ee.delete(f);
|
|
923
|
-
}
|
|
924
|
-
}, process.env.NODE_ENV !== "production" && (f.onTrack = s.onTrack, f.onTrigger = s.onTrigger), t ? r ? L(!0) : O = f.run() : o ? o(L.bind(null, !0), !0) : f.run(), M.pause = f.pause.bind(f), M.resume = f.resume.bind(f), M.stop = M, M;
|
|
925
|
-
}
|
|
926
|
-
function R(e, t = 1 / 0, s) {
|
|
927
|
-
if (t <= 0 || !P(e) || e.__v_skip || (s = s || /* @__PURE__ */ new Set(), s.has(e)))
|
|
928
|
-
return e;
|
|
929
|
-
if (s.add(e), t--, b(e))
|
|
930
|
-
R(e.value, t, s);
|
|
931
|
-
else if (x(e))
|
|
932
|
-
for (let r = 0; r < e.length; r++)
|
|
933
|
-
R(e[r], t, s);
|
|
934
|
-
else if (Ye(e) || j(e))
|
|
935
|
-
e.forEach((r) => {
|
|
936
|
-
R(r, t, s);
|
|
937
|
-
});
|
|
938
|
-
else if (ze(e)) {
|
|
939
|
-
for (const r in e)
|
|
940
|
-
R(e[r], t, s);
|
|
941
|
-
for (const r of Object.getOwnPropertySymbols(e))
|
|
942
|
-
Object.prototype.propertyIsEnumerable.call(e, r) && R(e[r], t, s);
|
|
943
|
-
}
|
|
944
|
-
return e;
|
|
945
|
-
}
|
|
946
|
-
export {
|
|
947
|
-
z as ARRAY_ITERATE_KEY,
|
|
948
|
-
V as ITERATE_KEY,
|
|
949
|
-
ce as MAP_KEY_ITERATE_KEY,
|
|
950
|
-
Be as ReactiveEffect,
|
|
951
|
-
Dt as computed,
|
|
952
|
-
lt as isProxy,
|
|
953
|
-
Z as isReactive,
|
|
954
|
-
I as isReadonly,
|
|
955
|
-
b as isRef,
|
|
956
|
-
E as isShallow,
|
|
957
|
-
wt as onWatcherCleanup,
|
|
958
|
-
xe as pauseTracking,
|
|
959
|
-
Pe as reactive,
|
|
960
|
-
A as reactiveReadArray,
|
|
961
|
-
Ke as readonly,
|
|
962
|
-
ut as ref,
|
|
963
|
-
Oe as resetTracking,
|
|
964
|
-
ve as shallowReadArray,
|
|
965
|
-
h as toRaw,
|
|
966
|
-
v as toReactive,
|
|
967
|
-
le as toReadonly,
|
|
968
|
-
yt as toRef,
|
|
969
|
-
St as toValue,
|
|
970
|
-
g as track,
|
|
971
|
-
R as traverse,
|
|
972
|
-
N as trigger,
|
|
973
|
-
dt as unref,
|
|
974
|
-
Nt as watch
|
|
975
|
-
};
|