@duxweb/dvha-naiveui 0.0.4 → 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/dist/cjs/hooks/menu.cjs +1 -0
- package/dist/cjs/hooks/tab.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.cjs +9 -0
- package/dist/cjs/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/vue/dist/vue.runtime.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/vue-router/dist/vue-router.cjs +10 -0
- package/dist/esm/hooks/menu.js +38 -0
- package/dist/esm/hooks/tab.js +26 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +875 -0
- package/dist/esm/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +800 -0
- package/dist/esm/node_modules/@vue/shared/dist/shared.esm-bundler.js +86 -0
- package/dist/esm/node_modules/vue/dist/vue.runtime.esm-bundler.js +37 -0
- package/dist/esm/node_modules/vue-router/dist/vue-router.js +193 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/menu.d.ts +15 -0
- package/dist/types/hooks/tab.d.ts +1947 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +30 -4
- package/CHANGELOG.md +0 -23
- package/src/hooks/index.ts +0 -2
- package/src/hooks/menu.ts +0 -51
- package/src/hooks/tab.ts +0 -31
- package/src/index.ts +0 -1
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
import { isRef as Q, isReactive as Ve, isShallow as q, isReadonly as ne, toRaw as C, computed as Ce, pauseTracking as X, resetTracking as Z, isProxy as Y, watch as ve } from "../../reactivity/dist/reactivity.esm-bundler.js";
|
|
2
|
+
import { ReactiveEffect as wt, onWatcherCleanup as St, reactive as Ot, readonly as Vt, unref as Ct } from "../../reactivity/dist/reactivity.esm-bundler.js";
|
|
3
|
+
import { isObject as v, EMPTY_OBJ as P, extend as k, isFunction as y, isArray as _, isString as D, getGlobalThis as W, normalizeClass as re, normalizeStyle as se, isOn as xe, NOOP as I, isPromise as be } from "../../shared/dist/shared.esm-bundler.js";
|
|
4
|
+
import { capitalize as xt } from "../../shared/dist/shared.esm-bundler.js";
|
|
5
|
+
/**
|
|
6
|
+
* @vue/runtime-core v3.5.14
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/
|
|
10
|
+
const S = [];
|
|
11
|
+
function ke(e) {
|
|
12
|
+
S.push(e);
|
|
13
|
+
}
|
|
14
|
+
function Re() {
|
|
15
|
+
S.pop();
|
|
16
|
+
}
|
|
17
|
+
let z = !1;
|
|
18
|
+
function m(e, ...t) {
|
|
19
|
+
if (z) return;
|
|
20
|
+
z = !0, X();
|
|
21
|
+
const n = S.length ? S[S.length - 1].component : null, o = n && n.appContext.config.warnHandler, s = Ie();
|
|
22
|
+
if (o)
|
|
23
|
+
J(
|
|
24
|
+
o,
|
|
25
|
+
n,
|
|
26
|
+
11,
|
|
27
|
+
[
|
|
28
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
29
|
+
e + t.map((r) => {
|
|
30
|
+
var l, c;
|
|
31
|
+
return (c = (l = r.toString) == null ? void 0 : l.call(r)) != null ? c : JSON.stringify(r);
|
|
32
|
+
}).join(""),
|
|
33
|
+
n && n.proxy,
|
|
34
|
+
s.map(
|
|
35
|
+
({ vnode: r }) => `at <${Se(n, r.type)}>`
|
|
36
|
+
).join(`
|
|
37
|
+
`),
|
|
38
|
+
s
|
|
39
|
+
]
|
|
40
|
+
);
|
|
41
|
+
else {
|
|
42
|
+
const r = [`[Vue warn]: ${e}`, ...t];
|
|
43
|
+
s.length && r.push(`
|
|
44
|
+
`, ...De(s)), console.warn(...r);
|
|
45
|
+
}
|
|
46
|
+
Z(), z = !1;
|
|
47
|
+
}
|
|
48
|
+
function Ie() {
|
|
49
|
+
let e = S[S.length - 1];
|
|
50
|
+
if (!e)
|
|
51
|
+
return [];
|
|
52
|
+
const t = [];
|
|
53
|
+
for (; e; ) {
|
|
54
|
+
const n = t[0];
|
|
55
|
+
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
56
|
+
vnode: e,
|
|
57
|
+
recurseCount: 0
|
|
58
|
+
});
|
|
59
|
+
const o = e.component && e.component.parent;
|
|
60
|
+
e = o && o.vnode;
|
|
61
|
+
}
|
|
62
|
+
return t;
|
|
63
|
+
}
|
|
64
|
+
function De(e) {
|
|
65
|
+
const t = [];
|
|
66
|
+
return e.forEach((n, o) => {
|
|
67
|
+
t.push(...o === 0 ? [] : [`
|
|
68
|
+
`], ...Te(n));
|
|
69
|
+
}), t;
|
|
70
|
+
}
|
|
71
|
+
function Te({ vnode: e, recurseCount: t }) {
|
|
72
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, s = ` at <${Se(
|
|
73
|
+
e.component,
|
|
74
|
+
e.type,
|
|
75
|
+
o
|
|
76
|
+
)}`, r = ">" + n;
|
|
77
|
+
return e.props ? [s, ...Fe(e.props), r] : [s + r];
|
|
78
|
+
}
|
|
79
|
+
function Fe(e) {
|
|
80
|
+
const t = [], n = Object.keys(e);
|
|
81
|
+
return n.slice(0, 3).forEach((o) => {
|
|
82
|
+
t.push(...ie(o, e[o]));
|
|
83
|
+
}), n.length > 3 && t.push(" ..."), t;
|
|
84
|
+
}
|
|
85
|
+
function ie(e, t, n) {
|
|
86
|
+
return D(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : Q(t) ? (t = ie(e, C(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : y(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = C(t), n ? t : [`${e}=`, t]);
|
|
87
|
+
}
|
|
88
|
+
const ce = {
|
|
89
|
+
sp: "serverPrefetch hook",
|
|
90
|
+
bc: "beforeCreate hook",
|
|
91
|
+
c: "created hook",
|
|
92
|
+
bm: "beforeMount hook",
|
|
93
|
+
m: "mounted hook",
|
|
94
|
+
bu: "beforeUpdate hook",
|
|
95
|
+
u: "updated",
|
|
96
|
+
bum: "beforeUnmount hook",
|
|
97
|
+
um: "unmounted hook",
|
|
98
|
+
a: "activated hook",
|
|
99
|
+
da: "deactivated hook",
|
|
100
|
+
ec: "errorCaptured hook",
|
|
101
|
+
rtc: "renderTracked hook",
|
|
102
|
+
rtg: "renderTriggered hook",
|
|
103
|
+
0: "setup function",
|
|
104
|
+
1: "render function",
|
|
105
|
+
2: "watcher getter",
|
|
106
|
+
3: "watcher callback",
|
|
107
|
+
4: "watcher cleanup function",
|
|
108
|
+
5: "native event handler",
|
|
109
|
+
6: "component event handler",
|
|
110
|
+
7: "vnode hook",
|
|
111
|
+
8: "directive hook",
|
|
112
|
+
9: "transition hook",
|
|
113
|
+
10: "app errorHandler",
|
|
114
|
+
11: "app warnHandler",
|
|
115
|
+
12: "ref function",
|
|
116
|
+
13: "async component loader",
|
|
117
|
+
14: "scheduler flush",
|
|
118
|
+
15: "component update",
|
|
119
|
+
16: "app unmount cleanup function"
|
|
120
|
+
};
|
|
121
|
+
function J(e, t, n, o) {
|
|
122
|
+
try {
|
|
123
|
+
return o ? e(...o) : e();
|
|
124
|
+
} catch (s) {
|
|
125
|
+
ee(s, t, n);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function le(e, t, n, o) {
|
|
129
|
+
if (y(e)) {
|
|
130
|
+
const s = J(e, t, n, o);
|
|
131
|
+
return s && be(s) && s.catch((r) => {
|
|
132
|
+
ee(r, t, n);
|
|
133
|
+
}), s;
|
|
134
|
+
}
|
|
135
|
+
if (_(e)) {
|
|
136
|
+
const s = [];
|
|
137
|
+
for (let r = 0; r < e.length; r++)
|
|
138
|
+
s.push(le(e[r], t, n, o));
|
|
139
|
+
return s;
|
|
140
|
+
} else process.env.NODE_ENV !== "production" && m(
|
|
141
|
+
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
function ee(e, t, n, o = !0) {
|
|
145
|
+
const s = t ? t.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: l } = t && t.appContext.config || P;
|
|
146
|
+
if (t) {
|
|
147
|
+
let c = t.parent;
|
|
148
|
+
const f = t.proxy, d = process.env.NODE_ENV !== "production" ? ce[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
149
|
+
for (; c; ) {
|
|
150
|
+
const p = c.ec;
|
|
151
|
+
if (p) {
|
|
152
|
+
for (let i = 0; i < p.length; i++)
|
|
153
|
+
if (p[i](e, f, d) === !1)
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
c = c.parent;
|
|
157
|
+
}
|
|
158
|
+
if (r) {
|
|
159
|
+
X(), J(r, null, 10, [
|
|
160
|
+
e,
|
|
161
|
+
f,
|
|
162
|
+
d
|
|
163
|
+
]), Z();
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
$e(e, n, s, o, l);
|
|
168
|
+
}
|
|
169
|
+
function $e(e, t, n, o = !0, s = !1) {
|
|
170
|
+
if (process.env.NODE_ENV !== "production") {
|
|
171
|
+
const r = ce[t];
|
|
172
|
+
if (n && ke(n), m(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && Re(), o)
|
|
173
|
+
throw e;
|
|
174
|
+
console.error(e);
|
|
175
|
+
} else {
|
|
176
|
+
if (s)
|
|
177
|
+
throw e;
|
|
178
|
+
console.error(e);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
const g = [];
|
|
182
|
+
let E = -1;
|
|
183
|
+
const x = [];
|
|
184
|
+
let N = null, O = 0;
|
|
185
|
+
const Pe = /* @__PURE__ */ Promise.resolve();
|
|
186
|
+
let j = null;
|
|
187
|
+
const He = 100;
|
|
188
|
+
function Ae(e) {
|
|
189
|
+
let t = E + 1, n = g.length;
|
|
190
|
+
for (; t < n; ) {
|
|
191
|
+
const o = t + n >>> 1, s = g[o], r = T(s);
|
|
192
|
+
r < e || r === e && s.flags & 2 ? t = o + 1 : n = o;
|
|
193
|
+
}
|
|
194
|
+
return t;
|
|
195
|
+
}
|
|
196
|
+
function ae(e) {
|
|
197
|
+
if (!(e.flags & 1)) {
|
|
198
|
+
const t = T(e), n = g[g.length - 1];
|
|
199
|
+
!n || // fast path when the job id is larger than the tail
|
|
200
|
+
!(e.flags & 2) && t >= T(n) ? g.push(e) : g.splice(Ae(t), 0, e), e.flags |= 1, ue();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
function ue() {
|
|
204
|
+
j || (j = Pe.then(pe));
|
|
205
|
+
}
|
|
206
|
+
function fe(e) {
|
|
207
|
+
_(e) ? x.push(...e) : N && e.id === -1 ? N.splice(O + 1, 0, e) : e.flags & 1 || (x.push(e), e.flags |= 1), ue();
|
|
208
|
+
}
|
|
209
|
+
function Me(e) {
|
|
210
|
+
if (x.length) {
|
|
211
|
+
const t = [...new Set(x)].sort(
|
|
212
|
+
(n, o) => T(n) - T(o)
|
|
213
|
+
);
|
|
214
|
+
if (x.length = 0, N) {
|
|
215
|
+
N.push(...t);
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
for (N = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), O = 0; O < N.length; O++) {
|
|
219
|
+
const n = N[O];
|
|
220
|
+
process.env.NODE_ENV !== "production" && de(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
221
|
+
}
|
|
222
|
+
N = null, O = 0;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
const T = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
226
|
+
function pe(e) {
|
|
227
|
+
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
228
|
+
const t = process.env.NODE_ENV !== "production" ? (n) => de(e, n) : I;
|
|
229
|
+
try {
|
|
230
|
+
for (E = 0; E < g.length; E++) {
|
|
231
|
+
const n = g[E];
|
|
232
|
+
if (n && !(n.flags & 8)) {
|
|
233
|
+
if (process.env.NODE_ENV !== "production" && t(n))
|
|
234
|
+
continue;
|
|
235
|
+
n.flags & 4 && (n.flags &= -2), J(
|
|
236
|
+
n,
|
|
237
|
+
n.i,
|
|
238
|
+
n.i ? 15 : 14
|
|
239
|
+
), n.flags & 4 || (n.flags &= -2);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
} finally {
|
|
243
|
+
for (; E < g.length; E++) {
|
|
244
|
+
const n = g[E];
|
|
245
|
+
n && (n.flags &= -2);
|
|
246
|
+
}
|
|
247
|
+
E = -1, g.length = 0, Me(e), j = null, (g.length || x.length) && pe(e);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function de(e, t) {
|
|
251
|
+
const n = e.get(t) || 0;
|
|
252
|
+
if (n > He) {
|
|
253
|
+
const o = t.i, s = o && we(o.type);
|
|
254
|
+
return ee(
|
|
255
|
+
`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
256
|
+
null,
|
|
257
|
+
10
|
|
258
|
+
), !0;
|
|
259
|
+
}
|
|
260
|
+
return e.set(t, n + 1), !1;
|
|
261
|
+
}
|
|
262
|
+
const K = /* @__PURE__ */ new Map();
|
|
263
|
+
process.env.NODE_ENV !== "production" && (W().__VUE_HMR_RUNTIME__ = {
|
|
264
|
+
createRecord: B(Ue),
|
|
265
|
+
rerender: B(We),
|
|
266
|
+
reload: B(Je)
|
|
267
|
+
});
|
|
268
|
+
const H = /* @__PURE__ */ new Map();
|
|
269
|
+
function Ue(e, t) {
|
|
270
|
+
return H.has(e) ? !1 : (H.set(e, {
|
|
271
|
+
initialDef: A(t),
|
|
272
|
+
instances: /* @__PURE__ */ new Set()
|
|
273
|
+
}), !0);
|
|
274
|
+
}
|
|
275
|
+
function A(e) {
|
|
276
|
+
return Oe(e) ? e.__vccOpts : e;
|
|
277
|
+
}
|
|
278
|
+
function We(e, t) {
|
|
279
|
+
const n = H.get(e);
|
|
280
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
|
|
281
|
+
t && (o.render = t, A(o.type).render = t), o.renderCache = [], o.update();
|
|
282
|
+
}));
|
|
283
|
+
}
|
|
284
|
+
function Je(e, t) {
|
|
285
|
+
const n = H.get(e);
|
|
286
|
+
if (!n) return;
|
|
287
|
+
t = A(t), oe(n.initialDef, t);
|
|
288
|
+
const o = [...n.instances];
|
|
289
|
+
for (let s = 0; s < o.length; s++) {
|
|
290
|
+
const r = o[s], l = A(r.type);
|
|
291
|
+
let c = K.get(l);
|
|
292
|
+
c || (l !== n.initialDef && oe(l, t), K.set(l, c = /* @__PURE__ */ new Set())), c.add(r), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (c.add(r), r.ceReload(t.styles), c.delete(r)) : r.parent ? ae(() => {
|
|
293
|
+
r.parent.update(), c.delete(r);
|
|
294
|
+
}) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
295
|
+
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
296
|
+
), r.root.ce && r !== r.root && r.root.ce._removeChildStyle(l);
|
|
297
|
+
}
|
|
298
|
+
fe(() => {
|
|
299
|
+
K.clear();
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
function oe(e, t) {
|
|
303
|
+
k(e, t);
|
|
304
|
+
for (const n in e)
|
|
305
|
+
n !== "__file" && !(n in t) && delete e[n];
|
|
306
|
+
}
|
|
307
|
+
function B(e) {
|
|
308
|
+
return (t, n) => {
|
|
309
|
+
try {
|
|
310
|
+
return e(t, n);
|
|
311
|
+
} catch (o) {
|
|
312
|
+
console.error(o), console.warn(
|
|
313
|
+
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
let V, F = [];
|
|
319
|
+
function he(e, t) {
|
|
320
|
+
var n, o;
|
|
321
|
+
V = e, V ? (V.enabled = !0, F.forEach(({ event: s, args: r }) => V.emit(s, ...r)), F = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
322
|
+
window.HTMLElement && // also exclude jsdom
|
|
323
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
324
|
+
!((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((r) => {
|
|
325
|
+
he(r, t);
|
|
326
|
+
}), setTimeout(() => {
|
|
327
|
+
V || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, F = []);
|
|
328
|
+
}, 3e3)) : F = [];
|
|
329
|
+
}
|
|
330
|
+
let b = null, Le = null;
|
|
331
|
+
const qe = (e) => e.__isTeleport;
|
|
332
|
+
function me(e, t) {
|
|
333
|
+
e.shapeFlag & 6 && e.component ? (e.transition = t, me(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
334
|
+
}
|
|
335
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
336
|
+
// @__NO_SIDE_EFFECTS__
|
|
337
|
+
function ht(e, t) {
|
|
338
|
+
return y(e) ? (
|
|
339
|
+
// #8236: extend call and options.name access are considered side-effects
|
|
340
|
+
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
341
|
+
k({ name: e.name }, t, { setup: e })
|
|
342
|
+
) : e;
|
|
343
|
+
}
|
|
344
|
+
W().requestIdleCallback;
|
|
345
|
+
W().cancelIdleCallback;
|
|
346
|
+
const ze = Symbol.for("v-ndc"), Ke = {};
|
|
347
|
+
process.env.NODE_ENV !== "production" && (Ke.ownKeys = (e) => (m(
|
|
348
|
+
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
349
|
+
), Reflect.ownKeys(e)));
|
|
350
|
+
let Be = null;
|
|
351
|
+
function Ye(e, t, n = !1) {
|
|
352
|
+
const o = L || b;
|
|
353
|
+
if (o || Be) {
|
|
354
|
+
const s = o ? o.parent == null ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : void 0;
|
|
355
|
+
if (s && e in s)
|
|
356
|
+
return s[e];
|
|
357
|
+
if (arguments.length > 1)
|
|
358
|
+
return n && y(t) ? t.call(o && o.proxy) : t;
|
|
359
|
+
process.env.NODE_ENV !== "production" && m(`injection "${String(e)}" not found.`);
|
|
360
|
+
} else process.env.NODE_ENV !== "production" && m("inject() can only be used inside setup() or functional components.");
|
|
361
|
+
}
|
|
362
|
+
const je = {}, ge = (e) => Object.getPrototypeOf(e) === je, Ge = tt, Qe = Symbol.for("v-scx"), Xe = () => {
|
|
363
|
+
{
|
|
364
|
+
const e = Ye(Qe);
|
|
365
|
+
return e || process.env.NODE_ENV !== "production" && m(
|
|
366
|
+
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
|
|
367
|
+
), e;
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
function mt(e, t) {
|
|
371
|
+
return Ze(e, null, t);
|
|
372
|
+
}
|
|
373
|
+
function Ze(e, t, n = P) {
|
|
374
|
+
const { immediate: o, deep: s, flush: r, once: l } = n;
|
|
375
|
+
process.env.NODE_ENV !== "production" && (o !== void 0 && m(
|
|
376
|
+
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
377
|
+
), s !== void 0 && m(
|
|
378
|
+
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
379
|
+
), l !== void 0 && m(
|
|
380
|
+
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
|
|
381
|
+
));
|
|
382
|
+
const c = k({}, n);
|
|
383
|
+
process.env.NODE_ENV !== "production" && (c.onWarn = m);
|
|
384
|
+
const f = r !== "post";
|
|
385
|
+
let d;
|
|
386
|
+
if (U) {
|
|
387
|
+
if (r === "sync") {
|
|
388
|
+
const a = Xe();
|
|
389
|
+
d = a.__watcherHandles || (a.__watcherHandles = []);
|
|
390
|
+
} else if (!f) {
|
|
391
|
+
const a = () => {
|
|
392
|
+
};
|
|
393
|
+
return a.stop = I, a.resume = I, a.pause = I, a;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
const p = L;
|
|
397
|
+
c.call = (a, h, w) => le(a, p, h, w);
|
|
398
|
+
let i = !1;
|
|
399
|
+
r === "post" ? c.scheduler = (a) => {
|
|
400
|
+
Ge(a, p && p.suspense);
|
|
401
|
+
} : r !== "sync" && (i = !0, c.scheduler = (a, h) => {
|
|
402
|
+
h ? a() : ae(a);
|
|
403
|
+
}), c.augmentJob = (a) => {
|
|
404
|
+
i && (a.flags |= 2, p && (a.id = p.uid, a.i = p));
|
|
405
|
+
};
|
|
406
|
+
const u = ve(e, t, c);
|
|
407
|
+
return U && (d ? d.push(u) : f && u()), u;
|
|
408
|
+
}
|
|
409
|
+
const et = (e) => e.__isSuspense;
|
|
410
|
+
function tt(e, t) {
|
|
411
|
+
t && t.pendingBranch ? _(e) ? t.effects.push(...e) : t.effects.push(e) : fe(e);
|
|
412
|
+
}
|
|
413
|
+
const _e = Symbol.for("v-fgt"), nt = Symbol.for("v-txt"), ot = Symbol.for("v-cmt");
|
|
414
|
+
function G(e) {
|
|
415
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
416
|
+
}
|
|
417
|
+
const rt = (...e) => Ee(
|
|
418
|
+
...e
|
|
419
|
+
), ye = ({ key: e }) => e ?? null, $ = ({
|
|
420
|
+
ref: e,
|
|
421
|
+
ref_key: t,
|
|
422
|
+
ref_for: n
|
|
423
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? D(e) || Q(e) || y(e) ? { i: b, r: e, k: t, f: !!n } : e : null);
|
|
424
|
+
function st(e, t = null, n = null, o = 0, s = null, r = e === _e ? 0 : 1, l = !1, c = !1) {
|
|
425
|
+
const f = {
|
|
426
|
+
__v_isVNode: !0,
|
|
427
|
+
__v_skip: !0,
|
|
428
|
+
type: e,
|
|
429
|
+
props: t,
|
|
430
|
+
key: t && ye(t),
|
|
431
|
+
ref: t && $(t),
|
|
432
|
+
scopeId: Le,
|
|
433
|
+
slotScopeIds: null,
|
|
434
|
+
children: n,
|
|
435
|
+
component: null,
|
|
436
|
+
suspense: null,
|
|
437
|
+
ssContent: null,
|
|
438
|
+
ssFallback: null,
|
|
439
|
+
dirs: null,
|
|
440
|
+
transition: null,
|
|
441
|
+
el: null,
|
|
442
|
+
anchor: null,
|
|
443
|
+
target: null,
|
|
444
|
+
targetStart: null,
|
|
445
|
+
targetAnchor: null,
|
|
446
|
+
staticCount: 0,
|
|
447
|
+
shapeFlag: r,
|
|
448
|
+
patchFlag: o,
|
|
449
|
+
dynamicProps: s,
|
|
450
|
+
dynamicChildren: null,
|
|
451
|
+
appContext: null,
|
|
452
|
+
ctx: b
|
|
453
|
+
};
|
|
454
|
+
return c ? (te(f, n), r & 128 && e.normalize(f)) : n && (f.shapeFlag |= D(n) ? 8 : 16), process.env.NODE_ENV !== "production" && f.key !== f.key && m("VNode created with invalid key (NaN). VNode type:", f.type), f;
|
|
455
|
+
}
|
|
456
|
+
const R = process.env.NODE_ENV !== "production" ? rt : Ee;
|
|
457
|
+
function Ee(e, t = null, n = null, o = 0, s = null, r = !1) {
|
|
458
|
+
if ((!e || e === ze) && (process.env.NODE_ENV !== "production" && !e && m(`Invalid vnode type when creating vnode: ${e}.`), e = ot), G(e)) {
|
|
459
|
+
const c = M(
|
|
460
|
+
e,
|
|
461
|
+
t,
|
|
462
|
+
!0
|
|
463
|
+
/* mergeRef: true */
|
|
464
|
+
);
|
|
465
|
+
return n && te(c, n), c.patchFlag = -2, c;
|
|
466
|
+
}
|
|
467
|
+
if (Oe(e) && (e = e.__vccOpts), t) {
|
|
468
|
+
t = it(t);
|
|
469
|
+
let { class: c, style: f } = t;
|
|
470
|
+
c && !D(c) && (t.class = re(c)), v(f) && (Y(f) && !_(f) && (f = k({}, f)), t.style = se(f));
|
|
471
|
+
}
|
|
472
|
+
const l = D(e) ? 1 : et(e) ? 128 : qe(e) ? 64 : v(e) ? 4 : y(e) ? 2 : 0;
|
|
473
|
+
return process.env.NODE_ENV !== "production" && l & 4 && Y(e) && (e = C(e), m(
|
|
474
|
+
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
475
|
+
`
|
|
476
|
+
Component that was made reactive: `,
|
|
477
|
+
e
|
|
478
|
+
)), st(
|
|
479
|
+
e,
|
|
480
|
+
t,
|
|
481
|
+
n,
|
|
482
|
+
o,
|
|
483
|
+
s,
|
|
484
|
+
l,
|
|
485
|
+
r,
|
|
486
|
+
!0
|
|
487
|
+
);
|
|
488
|
+
}
|
|
489
|
+
function it(e) {
|
|
490
|
+
return e ? Y(e) || ge(e) ? k({}, e) : e : null;
|
|
491
|
+
}
|
|
492
|
+
function M(e, t, n = !1, o = !1) {
|
|
493
|
+
const { props: s, ref: r, patchFlag: l, children: c, transition: f } = e, d = t ? lt(s || {}, t) : s, p = {
|
|
494
|
+
__v_isVNode: !0,
|
|
495
|
+
__v_skip: !0,
|
|
496
|
+
type: e.type,
|
|
497
|
+
props: d,
|
|
498
|
+
key: d && ye(d),
|
|
499
|
+
ref: t && t.ref ? (
|
|
500
|
+
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
501
|
+
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
502
|
+
// the refs so the single vnode can be set on multiple refs
|
|
503
|
+
n && r ? _(r) ? r.concat($(t)) : [r, $(t)] : $(t)
|
|
504
|
+
) : r,
|
|
505
|
+
scopeId: e.scopeId,
|
|
506
|
+
slotScopeIds: e.slotScopeIds,
|
|
507
|
+
children: process.env.NODE_ENV !== "production" && l === -1 && _(c) ? c.map(Ne) : c,
|
|
508
|
+
target: e.target,
|
|
509
|
+
targetStart: e.targetStart,
|
|
510
|
+
targetAnchor: e.targetAnchor,
|
|
511
|
+
staticCount: e.staticCount,
|
|
512
|
+
shapeFlag: e.shapeFlag,
|
|
513
|
+
// if the vnode is cloned with extra props, we can no longer assume its
|
|
514
|
+
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
515
|
+
// note: preserve flag for fragments since they use the flag for children
|
|
516
|
+
// fast paths only.
|
|
517
|
+
patchFlag: t && e.type !== _e ? l === -1 ? 16 : l | 16 : l,
|
|
518
|
+
dynamicProps: e.dynamicProps,
|
|
519
|
+
dynamicChildren: e.dynamicChildren,
|
|
520
|
+
appContext: e.appContext,
|
|
521
|
+
dirs: e.dirs,
|
|
522
|
+
transition: f,
|
|
523
|
+
// These should technically only be non-null on mounted VNodes. However,
|
|
524
|
+
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
525
|
+
// them since them being non-null during a mount doesn't affect the logic as
|
|
526
|
+
// they will simply be overwritten.
|
|
527
|
+
component: e.component,
|
|
528
|
+
suspense: e.suspense,
|
|
529
|
+
ssContent: e.ssContent && M(e.ssContent),
|
|
530
|
+
ssFallback: e.ssFallback && M(e.ssFallback),
|
|
531
|
+
el: e.el,
|
|
532
|
+
anchor: e.anchor,
|
|
533
|
+
ctx: e.ctx,
|
|
534
|
+
ce: e.ce
|
|
535
|
+
};
|
|
536
|
+
return f && o && me(
|
|
537
|
+
p,
|
|
538
|
+
f.clone(p)
|
|
539
|
+
), p;
|
|
540
|
+
}
|
|
541
|
+
function Ne(e) {
|
|
542
|
+
const t = M(e);
|
|
543
|
+
return _(e.children) && (t.children = e.children.map(Ne)), t;
|
|
544
|
+
}
|
|
545
|
+
function ct(e = " ", t = 0) {
|
|
546
|
+
return R(nt, null, e, t);
|
|
547
|
+
}
|
|
548
|
+
function te(e, t) {
|
|
549
|
+
let n = 0;
|
|
550
|
+
const { shapeFlag: o } = e;
|
|
551
|
+
if (t == null)
|
|
552
|
+
t = null;
|
|
553
|
+
else if (_(t))
|
|
554
|
+
n = 16;
|
|
555
|
+
else if (typeof t == "object")
|
|
556
|
+
if (o & 65) {
|
|
557
|
+
const s = t.default;
|
|
558
|
+
s && (s._c && (s._d = !1), te(e, s()), s._c && (s._d = !0));
|
|
559
|
+
return;
|
|
560
|
+
} else
|
|
561
|
+
n = 32, !t._ && !ge(t) && (t._ctx = b);
|
|
562
|
+
else y(t) ? (t = { default: t, _ctx: b }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [ct(t)]) : n = 8);
|
|
563
|
+
e.children = t, e.shapeFlag |= n;
|
|
564
|
+
}
|
|
565
|
+
function lt(...e) {
|
|
566
|
+
const t = {};
|
|
567
|
+
for (let n = 0; n < e.length; n++) {
|
|
568
|
+
const o = e[n];
|
|
569
|
+
for (const s in o)
|
|
570
|
+
if (s === "class")
|
|
571
|
+
t.class !== o.class && (t.class = re([t.class, o.class]));
|
|
572
|
+
else if (s === "style")
|
|
573
|
+
t.style = se([t.style, o.style]);
|
|
574
|
+
else if (xe(s)) {
|
|
575
|
+
const r = t[s], l = o[s];
|
|
576
|
+
l && r !== l && !(_(r) && r.includes(l)) && (t[s] = r ? [].concat(r, l) : l);
|
|
577
|
+
} else s !== "" && (t[s] = o[s]);
|
|
578
|
+
}
|
|
579
|
+
return t;
|
|
580
|
+
}
|
|
581
|
+
let L = null;
|
|
582
|
+
const at = () => L || b;
|
|
583
|
+
{
|
|
584
|
+
const e = W(), t = (n, o) => {
|
|
585
|
+
let s;
|
|
586
|
+
return (s = e[n]) || (s = e[n] = []), s.push(o), (r) => {
|
|
587
|
+
s.length > 1 ? s.forEach((l) => l(r)) : s[0](r);
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
t(
|
|
591
|
+
"__VUE_INSTANCE_SETTERS__",
|
|
592
|
+
(n) => L = n
|
|
593
|
+
), t(
|
|
594
|
+
"__VUE_SSR_SETTERS__",
|
|
595
|
+
(n) => U = n
|
|
596
|
+
);
|
|
597
|
+
}
|
|
598
|
+
let U = !1;
|
|
599
|
+
process.env.NODE_ENV;
|
|
600
|
+
const ut = /(?:^|[-_])(\w)/g, ft = (e) => e.replace(ut, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
601
|
+
function we(e, t = !0) {
|
|
602
|
+
return y(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
603
|
+
}
|
|
604
|
+
function Se(e, t, n = !1) {
|
|
605
|
+
let o = we(t);
|
|
606
|
+
if (!o && t.__file) {
|
|
607
|
+
const s = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
608
|
+
s && (o = s[1]);
|
|
609
|
+
}
|
|
610
|
+
if (!o && e && e.parent) {
|
|
611
|
+
const s = (r) => {
|
|
612
|
+
for (const l in r)
|
|
613
|
+
if (r[l] === t)
|
|
614
|
+
return l;
|
|
615
|
+
};
|
|
616
|
+
o = s(
|
|
617
|
+
e.components || e.parent.type.components
|
|
618
|
+
) || s(e.appContext.components);
|
|
619
|
+
}
|
|
620
|
+
return o ? ft(o) : n ? "App" : "Anonymous";
|
|
621
|
+
}
|
|
622
|
+
function Oe(e) {
|
|
623
|
+
return y(e) && "__vccOpts" in e;
|
|
624
|
+
}
|
|
625
|
+
const gt = (e, t) => {
|
|
626
|
+
const n = Ce(e, t, U);
|
|
627
|
+
if (process.env.NODE_ENV !== "production") {
|
|
628
|
+
const o = at();
|
|
629
|
+
o && o.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
630
|
+
}
|
|
631
|
+
return n;
|
|
632
|
+
};
|
|
633
|
+
function _t(e, t, n) {
|
|
634
|
+
const o = arguments.length;
|
|
635
|
+
return o === 2 ? v(t) && !_(t) ? G(t) ? R(e, null, [t]) : R(e, t) : R(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && G(n) && (n = [n]), R(e, t, n));
|
|
636
|
+
}
|
|
637
|
+
function yt() {
|
|
638
|
+
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
639
|
+
return;
|
|
640
|
+
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, s = {
|
|
641
|
+
__vue_custom_formatter: !0,
|
|
642
|
+
header(i) {
|
|
643
|
+
if (!v(i))
|
|
644
|
+
return null;
|
|
645
|
+
if (i.__isVue)
|
|
646
|
+
return ["div", e, "VueInstance"];
|
|
647
|
+
if (Q(i)) {
|
|
648
|
+
X();
|
|
649
|
+
const u = i.value;
|
|
650
|
+
return Z(), [
|
|
651
|
+
"div",
|
|
652
|
+
{},
|
|
653
|
+
["span", e, p(i)],
|
|
654
|
+
"<",
|
|
655
|
+
c(u),
|
|
656
|
+
">"
|
|
657
|
+
];
|
|
658
|
+
} else {
|
|
659
|
+
if (Ve(i))
|
|
660
|
+
return [
|
|
661
|
+
"div",
|
|
662
|
+
{},
|
|
663
|
+
["span", e, q(i) ? "ShallowReactive" : "Reactive"],
|
|
664
|
+
"<",
|
|
665
|
+
c(i),
|
|
666
|
+
`>${ne(i) ? " (readonly)" : ""}`
|
|
667
|
+
];
|
|
668
|
+
if (ne(i))
|
|
669
|
+
return [
|
|
670
|
+
"div",
|
|
671
|
+
{},
|
|
672
|
+
["span", e, q(i) ? "ShallowReadonly" : "Readonly"],
|
|
673
|
+
"<",
|
|
674
|
+
c(i),
|
|
675
|
+
">"
|
|
676
|
+
];
|
|
677
|
+
}
|
|
678
|
+
return null;
|
|
679
|
+
},
|
|
680
|
+
hasBody(i) {
|
|
681
|
+
return i && i.__isVue;
|
|
682
|
+
},
|
|
683
|
+
body(i) {
|
|
684
|
+
if (i && i.__isVue)
|
|
685
|
+
return [
|
|
686
|
+
"div",
|
|
687
|
+
{},
|
|
688
|
+
...r(i.$)
|
|
689
|
+
];
|
|
690
|
+
}
|
|
691
|
+
};
|
|
692
|
+
function r(i) {
|
|
693
|
+
const u = [];
|
|
694
|
+
i.type.props && i.props && u.push(l("props", C(i.props))), i.setupState !== P && u.push(l("setup", i.setupState)), i.data !== P && u.push(l("data", C(i.data)));
|
|
695
|
+
const a = f(i, "computed");
|
|
696
|
+
a && u.push(l("computed", a));
|
|
697
|
+
const h = f(i, "inject");
|
|
698
|
+
return h && u.push(l("injected", h)), u.push([
|
|
699
|
+
"div",
|
|
700
|
+
{},
|
|
701
|
+
[
|
|
702
|
+
"span",
|
|
703
|
+
{
|
|
704
|
+
style: o.style + ";opacity:0.66"
|
|
705
|
+
},
|
|
706
|
+
"$ (internal): "
|
|
707
|
+
],
|
|
708
|
+
["object", { object: i }]
|
|
709
|
+
]), u;
|
|
710
|
+
}
|
|
711
|
+
function l(i, u) {
|
|
712
|
+
return u = k({}, u), Object.keys(u).length ? [
|
|
713
|
+
"div",
|
|
714
|
+
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
715
|
+
[
|
|
716
|
+
"div",
|
|
717
|
+
{
|
|
718
|
+
style: "color:#476582"
|
|
719
|
+
},
|
|
720
|
+
i
|
|
721
|
+
],
|
|
722
|
+
[
|
|
723
|
+
"div",
|
|
724
|
+
{
|
|
725
|
+
style: "padding-left:1.25em"
|
|
726
|
+
},
|
|
727
|
+
...Object.keys(u).map((a) => [
|
|
728
|
+
"div",
|
|
729
|
+
{},
|
|
730
|
+
["span", o, a + ": "],
|
|
731
|
+
c(u[a], !1)
|
|
732
|
+
])
|
|
733
|
+
]
|
|
734
|
+
] : ["span", {}];
|
|
735
|
+
}
|
|
736
|
+
function c(i, u = !0) {
|
|
737
|
+
return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : v(i) ? ["object", { object: u ? C(i) : i }] : ["span", n, String(i)];
|
|
738
|
+
}
|
|
739
|
+
function f(i, u) {
|
|
740
|
+
const a = i.type;
|
|
741
|
+
if (y(a))
|
|
742
|
+
return;
|
|
743
|
+
const h = {};
|
|
744
|
+
for (const w in i.ctx)
|
|
745
|
+
d(a, w, u) && (h[w] = i.ctx[w]);
|
|
746
|
+
return h;
|
|
747
|
+
}
|
|
748
|
+
function d(i, u, a) {
|
|
749
|
+
const h = i[a];
|
|
750
|
+
if (_(h) && h.includes(u) || v(h) && u in h || i.extends && d(i.extends, u, a) || i.mixins && i.mixins.some((w) => d(w, u, a)))
|
|
751
|
+
return !0;
|
|
752
|
+
}
|
|
753
|
+
function p(i) {
|
|
754
|
+
return q(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
|
|
755
|
+
}
|
|
756
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
|
|
757
|
+
}
|
|
758
|
+
process.env.NODE_ENV !== "production" || I;
|
|
759
|
+
process.env.NODE_ENV;
|
|
760
|
+
process.env.NODE_ENV;
|
|
761
|
+
export {
|
|
762
|
+
ot as Comment,
|
|
763
|
+
_e as Fragment,
|
|
764
|
+
wt as ReactiveEffect,
|
|
765
|
+
nt as Text,
|
|
766
|
+
le as callWithAsyncErrorHandling,
|
|
767
|
+
J as callWithErrorHandling,
|
|
768
|
+
xt as capitalize,
|
|
769
|
+
M as cloneVNode,
|
|
770
|
+
gt as computed,
|
|
771
|
+
st as createElementVNode,
|
|
772
|
+
ct as createTextVNode,
|
|
773
|
+
R as createVNode,
|
|
774
|
+
ht as defineComponent,
|
|
775
|
+
at as getCurrentInstance,
|
|
776
|
+
it as guardReactiveProps,
|
|
777
|
+
_t as h,
|
|
778
|
+
ee as handleError,
|
|
779
|
+
yt as initCustomFormatter,
|
|
780
|
+
Ye as inject,
|
|
781
|
+
Y as isProxy,
|
|
782
|
+
Ve as isReactive,
|
|
783
|
+
ne as isReadonly,
|
|
784
|
+
Q as isRef,
|
|
785
|
+
q as isShallow,
|
|
786
|
+
G as isVNode,
|
|
787
|
+
lt as mergeProps,
|
|
788
|
+
re as normalizeClass,
|
|
789
|
+
se as normalizeStyle,
|
|
790
|
+
St as onWatcherCleanup,
|
|
791
|
+
fe as queuePostFlushCb,
|
|
792
|
+
Ot as reactive,
|
|
793
|
+
Vt as readonly,
|
|
794
|
+
me as setTransitionHooks,
|
|
795
|
+
Qe as ssrContextKey,
|
|
796
|
+
C as toRaw,
|
|
797
|
+
Ct as unref,
|
|
798
|
+
Xe as useSSRContext,
|
|
799
|
+
mt as watchEffect
|
|
800
|
+
};
|