yxuse 2.0.29 → 2.0.30
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/lib/index.cjs2.js +20 -18
- package/lib/index.cjs2.js.gz +0 -0
- package/lib/index.cjs3.js +1 -1
- package/lib/index.cjs5.js +1 -1
- package/lib/index.cjs7.js +3 -3
- package/lib/index.cjs7.js.gz +0 -0
- package/lib/index.es.js +1 -1
- package/lib/index.es2.js +2128 -2093
- package/lib/index.es2.js.gz +0 -0
- package/lib/index.es3.js +24 -21
- package/lib/index.es5.js +16 -16
- package/lib/index.es7.js +1024 -1006
- package/lib/index.es7.js.gz +0 -0
- package/lib/index.es8.js +7 -1
- package/lib/theme.cjs.js +1 -1
- package/lib/theme.es.js +8 -7
- package/lib/vue.runtime.esm-bundler.cjs.js +7 -5
- package/lib/vue.runtime.esm-bundler.cjs.js.gz +0 -0
- package/lib/vue.runtime.esm-bundler.es.js +107 -86
- package/lib/vue.runtime.esm-bundler.es.js.gz +0 -0
- package/package.json +1 -1
- package/types/api/auth/index.d.ts +1 -0
- package/types/theme/index.d.ts +1 -0
- package/types/utils/http/index.d.ts +13 -5
|
@@ -18,7 +18,7 @@ const W = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Et = p
|
|
|
18
18
|
return (n) => t[n] || (t[n] = e(n));
|
|
19
19
|
}, Ds = /-(\w)/g, Se = bn((e) => e.replace(Ds, (t, n) => n ? n.toUpperCase() : "")), xs = /\B([A-Z])/g, vt = bn(
|
|
20
20
|
(e) => e.replace(xs, "-$1").toLowerCase()
|
|
21
|
-
),
|
|
21
|
+
), yt = bn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Be = bn((e) => e ? `on${yt(e)}` : ""), ct = (e, t) => !Object.is(e, t), xt = (e, t) => {
|
|
22
22
|
for (let n = 0; n < e.length; n++)
|
|
23
23
|
e[n](t);
|
|
24
24
|
}, ln = (e, t, n) => {
|
|
@@ -83,6 +83,7 @@ const rc = (e) => X(e) ? e : e == null ? "" : C(e) || L(e) && (e.toString === ur
|
|
|
83
83
|
[`Set(${t.size})`]: [...t.values()]
|
|
84
84
|
} : L(t) && !C(t) && !fr(t) ? String(t) : t;
|
|
85
85
|
function un(e, ...t) {
|
|
86
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
86
87
|
}
|
|
87
88
|
let _e;
|
|
88
89
|
class Ms {
|
|
@@ -166,7 +167,7 @@ const Ft = (e) => {
|
|
|
166
167
|
t.length = n;
|
|
167
168
|
}
|
|
168
169
|
}, fn = /* @__PURE__ */ new WeakMap();
|
|
169
|
-
let
|
|
170
|
+
let Ct = 0, Je = 1;
|
|
170
171
|
const Wn = 30;
|
|
171
172
|
let fe;
|
|
172
173
|
const nt = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), zn = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
|
|
@@ -184,9 +185,9 @@ class ho {
|
|
|
184
185
|
t = t.parent;
|
|
185
186
|
}
|
|
186
187
|
try {
|
|
187
|
-
return this.parent = fe, fe = this, qe = !0, Je = 1 << ++
|
|
188
|
+
return this.parent = fe, fe = this, qe = !0, Je = 1 << ++Ct, Ct <= Wn ? js(this) : Ao(this), this.fn();
|
|
188
189
|
} finally {
|
|
189
|
-
|
|
190
|
+
Ct <= Wn && ks(this), Je = 1 << --Ct, fe = this.parent, qe = n, this.parent = void 0, this.deferStop && this.stop();
|
|
190
191
|
}
|
|
191
192
|
}
|
|
192
193
|
stop() {
|
|
@@ -222,7 +223,7 @@ function re(e, t, n) {
|
|
|
222
223
|
}
|
|
223
224
|
function qn(e, t) {
|
|
224
225
|
let n = !1;
|
|
225
|
-
|
|
226
|
+
Ct <= Wn ? dr(e) || (e.n |= Je, n = !pr(e)) : n = !e.has(fe), n && (e.add(fe), fe.deps.push(e), process.env.NODE_ENV !== "production" && fe.onTrack && fe.onTrack(
|
|
226
227
|
Y(
|
|
227
228
|
{
|
|
228
229
|
effect: fe
|
|
@@ -453,6 +454,10 @@ function Le(e) {
|
|
|
453
454
|
return function(...t) {
|
|
454
455
|
if (process.env.NODE_ENV !== "production") {
|
|
455
456
|
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
457
|
+
console.warn(
|
|
458
|
+
`${yt(e)} operation ${n}failed: target is readonly.`,
|
|
459
|
+
R(this)
|
|
460
|
+
);
|
|
456
461
|
}
|
|
457
462
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
458
463
|
};
|
|
@@ -567,6 +572,9 @@ function Nr(e, t, n) {
|
|
|
567
572
|
const o = R(n);
|
|
568
573
|
if (o !== n && t.call(e, o)) {
|
|
569
574
|
const r = uo(e);
|
|
575
|
+
console.warn(
|
|
576
|
+
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "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.`
|
|
577
|
+
);
|
|
570
578
|
}
|
|
571
579
|
}
|
|
572
580
|
const vr = /* @__PURE__ */ new WeakMap(), yr = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap();
|
|
@@ -614,7 +622,7 @@ function wr(e) {
|
|
|
614
622
|
br
|
|
615
623
|
);
|
|
616
624
|
}
|
|
617
|
-
function
|
|
625
|
+
function Tt(e) {
|
|
618
626
|
return Dn(
|
|
619
627
|
e,
|
|
620
628
|
!0,
|
|
@@ -625,7 +633,7 @@ function Ct(e) {
|
|
|
625
633
|
}
|
|
626
634
|
function Dn(e, t, n, o, r) {
|
|
627
635
|
if (!L(e))
|
|
628
|
-
return process.env.NODE_ENV, e;
|
|
636
|
+
return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
|
|
629
637
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
630
638
|
return e;
|
|
631
639
|
const s = r.get(e);
|
|
@@ -712,7 +720,7 @@ function Cr(e) {
|
|
|
712
720
|
return ot(e) ? e : new Proxy(e, ui);
|
|
713
721
|
}
|
|
714
722
|
function lc(e) {
|
|
715
|
-
process.env.NODE_ENV !== "production" && pn(e);
|
|
723
|
+
process.env.NODE_ENV !== "production" && !pn(e) && console.warn("toRefs() expects a reactive object but received a plain one.");
|
|
716
724
|
const t = C(e) ? new Array(e.length) : {};
|
|
717
725
|
for (const n in e)
|
|
718
726
|
t[n] = ai(e, n);
|
|
@@ -755,6 +763,7 @@ function di(e, t, n = !1) {
|
|
|
755
763
|
let o, r;
|
|
756
764
|
const s = I(e);
|
|
757
765
|
s ? (o = e, r = process.env.NODE_ENV !== "production" ? () => {
|
|
766
|
+
console.warn("Write operation failed: computed value is readonly");
|
|
758
767
|
} : oe) : (o = e.get, r = e.set);
|
|
759
768
|
const i = new pi(o, r, s || !r, n);
|
|
760
769
|
return process.env.NODE_ENV !== "production" && t && !n && (i.effect.onTrack = t.onTrack, i.effect.onTrigger = t.onTrigger), i;
|
|
@@ -789,7 +798,7 @@ function v(e, ...t) {
|
|
|
789
798
|
else {
|
|
790
799
|
const s = [`[Vue warn]: ${e}`, ...t];
|
|
791
800
|
r.length && s.push(`
|
|
792
|
-
`, ...gi(r));
|
|
801
|
+
`, ...gi(r)), console.warn(...s);
|
|
793
802
|
}
|
|
794
803
|
at();
|
|
795
804
|
}
|
|
@@ -920,7 +929,9 @@ function Ei(e, t, n, o = !0) {
|
|
|
920
929
|
const r = Eo[t];
|
|
921
930
|
if (n && tn(n), v(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && nn(), o)
|
|
922
931
|
throw e;
|
|
923
|
-
|
|
932
|
+
console.error(e);
|
|
933
|
+
} else
|
|
934
|
+
console.error(e);
|
|
924
935
|
}
|
|
925
936
|
let jt = !1, Jn = !1;
|
|
926
937
|
const ie = [];
|
|
@@ -1041,33 +1052,35 @@ function Di(e) {
|
|
|
1041
1052
|
}
|
|
1042
1053
|
function Mr(e, t) {
|
|
1043
1054
|
return ut.has(e) ? !1 : (ut.set(e, {
|
|
1044
|
-
initialDef:
|
|
1055
|
+
initialDef: Pt(t),
|
|
1045
1056
|
instances: /* @__PURE__ */ new Set()
|
|
1046
1057
|
}), !0);
|
|
1047
1058
|
}
|
|
1048
|
-
function
|
|
1059
|
+
function Pt(e) {
|
|
1049
1060
|
return Ns(e) ? e.__vccOpts : e;
|
|
1050
1061
|
}
|
|
1051
1062
|
function xi(e, t) {
|
|
1052
1063
|
const n = ut.get(e);
|
|
1053
1064
|
n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
|
|
1054
|
-
t && (o.render = t,
|
|
1065
|
+
t && (o.render = t, Pt(o.type).render = t), o.renderCache = [], st = !0, o.update(), st = !1;
|
|
1055
1066
|
}));
|
|
1056
1067
|
}
|
|
1057
1068
|
function Vi(e, t) {
|
|
1058
1069
|
const n = ut.get(e);
|
|
1059
1070
|
if (!n)
|
|
1060
1071
|
return;
|
|
1061
|
-
t =
|
|
1072
|
+
t = Pt(t), Bo(n.initialDef, t);
|
|
1062
1073
|
const o = [...n.instances];
|
|
1063
1074
|
for (const r of o) {
|
|
1064
|
-
const s =
|
|
1065
|
-
_t.has(s) || (s !== n.initialDef && Bo(s, t), _t.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (_t.add(s), r.ceReload(t.styles), _t.delete(s)) : r.parent ? Vn(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window != "undefined"
|
|
1075
|
+
const s = Pt(r.type);
|
|
1076
|
+
_t.has(s) || (s !== n.initialDef && Bo(s, t), _t.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (_t.add(s), r.ceReload(t.styles), _t.delete(s)) : r.parent ? Vn(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn(
|
|
1077
|
+
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1078
|
+
);
|
|
1066
1079
|
}
|
|
1067
1080
|
Pr(() => {
|
|
1068
1081
|
for (const r of o)
|
|
1069
1082
|
_t.delete(
|
|
1070
|
-
|
|
1083
|
+
Pt(r.type)
|
|
1071
1084
|
);
|
|
1072
1085
|
});
|
|
1073
1086
|
}
|
|
@@ -1081,29 +1094,32 @@ function jn(e) {
|
|
|
1081
1094
|
try {
|
|
1082
1095
|
return e(t, n);
|
|
1083
1096
|
} catch (o) {
|
|
1097
|
+
console.error(o), console.warn(
|
|
1098
|
+
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
|
|
1099
|
+
);
|
|
1084
1100
|
}
|
|
1085
1101
|
};
|
|
1086
1102
|
}
|
|
1087
|
-
let Te,
|
|
1103
|
+
let Te, $t = [], Yn = !1;
|
|
1088
1104
|
function Bt(e, ...t) {
|
|
1089
|
-
Te ? Te.emit(e, ...t) : Yn ||
|
|
1105
|
+
Te ? Te.emit(e, ...t) : Yn || $t.push({ event: e, args: t });
|
|
1090
1106
|
}
|
|
1091
1107
|
function Fr(e, t) {
|
|
1092
1108
|
var n, o;
|
|
1093
|
-
Te = e, Te ? (Te.enabled = !0,
|
|
1109
|
+
Te = e, Te ? (Te.enabled = !0, $t.forEach(({ event: r, args: s }) => Te.emit(r, ...s)), $t = []) : /* 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 != "undefined" && // some envs mock window but not fully
|
|
1094
1110
|
window.HTMLElement && // also exclude jsdom
|
|
1095
1111
|
!((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
1096
1112
|
Fr(s, t);
|
|
1097
1113
|
}), setTimeout(() => {
|
|
1098
|
-
Te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Yn = !0,
|
|
1099
|
-
}, 3e3)) : (Yn = !0,
|
|
1114
|
+
Te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Yn = !0, $t = []);
|
|
1115
|
+
}, 3e3)) : (Yn = !0, $t = []);
|
|
1100
1116
|
}
|
|
1101
1117
|
function Ci(e, t) {
|
|
1102
1118
|
Bt("app:init", e, t, {
|
|
1103
1119
|
Fragment: me,
|
|
1104
1120
|
Text: Kt,
|
|
1105
1121
|
Comment: te,
|
|
1106
|
-
Static:
|
|
1122
|
+
Static: At
|
|
1107
1123
|
});
|
|
1108
1124
|
}
|
|
1109
1125
|
function Ti(e) {
|
|
@@ -1324,7 +1340,7 @@ function kn(e) {
|
|
|
1324
1340
|
), J = t.props ? f : ki(f);
|
|
1325
1341
|
}
|
|
1326
1342
|
} catch (T) {
|
|
1327
|
-
|
|
1343
|
+
Mt.length = 0, xn(T, e, 1), B = ae(te);
|
|
1328
1344
|
}
|
|
1329
1345
|
let S = B, le;
|
|
1330
1346
|
if (process.env.NODE_ENV !== "production" && B.patchFlag > 0 && B.patchFlag & 2048 && ([S, le] = ji(B)), J && $ !== !1) {
|
|
@@ -1368,7 +1384,7 @@ function Hr(e) {
|
|
|
1368
1384
|
let t;
|
|
1369
1385
|
for (let n = 0; n < e.length; n++) {
|
|
1370
1386
|
const o = e[n];
|
|
1371
|
-
if (
|
|
1387
|
+
if (bt(o)) {
|
|
1372
1388
|
if (o.type !== te || o.children === "v-if") {
|
|
1373
1389
|
if (t)
|
|
1374
1390
|
return;
|
|
@@ -1444,7 +1460,7 @@ function Br(e, t, n = !0, o = !1) {
|
|
|
1444
1460
|
!1
|
|
1445
1461
|
/* do not include inferred name to avoid breaking existing code */
|
|
1446
1462
|
);
|
|
1447
|
-
if (c && (c === t || c === Se(t) || c ===
|
|
1463
|
+
if (c && (c === t || c === Se(t) || c === yt(Se(t))))
|
|
1448
1464
|
return s;
|
|
1449
1465
|
}
|
|
1450
1466
|
const i = (
|
|
@@ -1463,11 +1479,11 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
1463
1479
|
return i;
|
|
1464
1480
|
} else
|
|
1465
1481
|
process.env.NODE_ENV !== "production" && v(
|
|
1466
|
-
`resolve${
|
|
1482
|
+
`resolve${yt(e.slice(0, -1))} can only be used in render() or setup().`
|
|
1467
1483
|
);
|
|
1468
1484
|
}
|
|
1469
1485
|
function Wo(e, t) {
|
|
1470
|
-
return e && (e[t] || e[Se(t)] || e[
|
|
1486
|
+
return e && (e[t] || e[Se(t)] || e[yt(Se(t))]);
|
|
1471
1487
|
}
|
|
1472
1488
|
const Ui = (e) => e.__isSuspense;
|
|
1473
1489
|
function Ki(e, t) {
|
|
@@ -1568,9 +1584,9 @@ function Wi(e, t, n) {
|
|
|
1568
1584
|
let s;
|
|
1569
1585
|
I(t) ? s = t : (s = t.handler, n = t);
|
|
1570
1586
|
const i = G;
|
|
1571
|
-
|
|
1587
|
+
Ot(this);
|
|
1572
1588
|
const c = bo(r, s.bind(o), n);
|
|
1573
|
-
return i ?
|
|
1589
|
+
return i ? Ot(i) : lt(), c;
|
|
1574
1590
|
}
|
|
1575
1591
|
function Ur(e, t) {
|
|
1576
1592
|
const n = t.split(".");
|
|
@@ -1858,7 +1874,7 @@ function _c(e, t) {
|
|
|
1858
1874
|
Y({ name: e.name }, t, { setup: e })
|
|
1859
1875
|
) : e;
|
|
1860
1876
|
}
|
|
1861
|
-
const
|
|
1877
|
+
const Rt = (e) => !!e.type.__asyncLoader, Ut = (e) => e.type.__isKeepAlive;
|
|
1862
1878
|
function Yi(e, t) {
|
|
1863
1879
|
qr(e, "a", t);
|
|
1864
1880
|
}
|
|
@@ -1898,7 +1914,7 @@ function $n(e, t, n = G, o = !1) {
|
|
|
1898
1914
|
const r = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
|
|
1899
1915
|
if (n.isUnmounted)
|
|
1900
1916
|
return;
|
|
1901
|
-
ft(),
|
|
1917
|
+
ft(), Ot(n);
|
|
1902
1918
|
const c = Oe(t, n, e, i);
|
|
1903
1919
|
return lt(), at(), c;
|
|
1904
1920
|
});
|
|
@@ -1965,7 +1981,7 @@ function Ec(e, t) {
|
|
|
1965
1981
|
return e;
|
|
1966
1982
|
}
|
|
1967
1983
|
function Nc(e, t, n = {}, o, r) {
|
|
1968
|
-
if (ee.isCE || ee.parent &&
|
|
1984
|
+
if (ee.isCE || ee.parent && Rt(ee.parent) && ee.parent.isCE)
|
|
1969
1985
|
return t !== "default" && (n.name = t), ae("slot", n, o && o());
|
|
1970
1986
|
let s = e[t];
|
|
1971
1987
|
process.env.NODE_ENV !== "production" && s && s.length > 1 && (v(
|
|
@@ -1984,7 +2000,7 @@ function Nc(e, t, n = {}, o, r) {
|
|
|
1984
2000
|
return !r && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
|
|
1985
2001
|
}
|
|
1986
2002
|
function Qr(e) {
|
|
1987
|
-
return e.some((t) =>
|
|
2003
|
+
return e.some((t) => bt(t) ? !(t.type === te || t.type === me && !Qr(t.children)) : !0) ? e : null;
|
|
1988
2004
|
}
|
|
1989
2005
|
function vc(e, t) {
|
|
1990
2006
|
const n = {};
|
|
@@ -2001,10 +2017,10 @@ const Gn = (e) => e ? _s(e) ? Pn(e) || e.proxy : Gn(e.parent) : null, it = (
|
|
|
2001
2017
|
$: (e) => e,
|
|
2002
2018
|
$el: (e) => e.vnode.el,
|
|
2003
2019
|
$data: (e) => e.data,
|
|
2004
|
-
$props: (e) => process.env.NODE_ENV !== "production" ?
|
|
2005
|
-
$attrs: (e) => process.env.NODE_ENV !== "production" ?
|
|
2006
|
-
$slots: (e) => process.env.NODE_ENV !== "production" ?
|
|
2007
|
-
$refs: (e) => process.env.NODE_ENV !== "production" ?
|
|
2020
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? Tt(e.props) : e.props,
|
|
2021
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Tt(e.attrs) : e.attrs,
|
|
2022
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Tt(e.slots) : e.slots,
|
|
2023
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Tt(e.refs) : e.refs,
|
|
2008
2024
|
$parent: (e) => Gn(e.parent),
|
|
2009
2025
|
$root: (e) => Gn(e.root),
|
|
2010
2026
|
$emit: (e) => e.emit,
|
|
@@ -2252,15 +2268,15 @@ function ul(e) {
|
|
|
2252
2268
|
v(
|
|
2253
2269
|
`Write operation failed: computed property "${k}" is readonly.`
|
|
2254
2270
|
);
|
|
2255
|
-
} : oe,
|
|
2271
|
+
} : oe, wt = Jl({
|
|
2256
2272
|
get: we,
|
|
2257
2273
|
set: An
|
|
2258
2274
|
});
|
|
2259
2275
|
Object.defineProperty(o, k, {
|
|
2260
2276
|
enumerable: !0,
|
|
2261
2277
|
configurable: !0,
|
|
2262
|
-
get: () =>
|
|
2263
|
-
set: (pt) =>
|
|
2278
|
+
get: () => wt.value,
|
|
2279
|
+
set: (pt) => wt.value = pt
|
|
2264
2280
|
}), process.env.NODE_ENV !== "production" && ke("Computed", k);
|
|
2265
2281
|
}
|
|
2266
2282
|
if (c)
|
|
@@ -2363,8 +2379,8 @@ const al = {
|
|
|
2363
2379
|
props: Zo,
|
|
2364
2380
|
emits: Zo,
|
|
2365
2381
|
// objects
|
|
2366
|
-
methods:
|
|
2367
|
-
computed:
|
|
2382
|
+
methods: It,
|
|
2383
|
+
computed: It,
|
|
2368
2384
|
// lifecycle
|
|
2369
2385
|
beforeCreate: ue,
|
|
2370
2386
|
created: ue,
|
|
@@ -2381,8 +2397,8 @@ const al = {
|
|
|
2381
2397
|
errorCaptured: ue,
|
|
2382
2398
|
serverPrefetch: ue,
|
|
2383
2399
|
// assets
|
|
2384
|
-
components:
|
|
2385
|
-
directives:
|
|
2400
|
+
components: It,
|
|
2401
|
+
directives: It,
|
|
2386
2402
|
// watch
|
|
2387
2403
|
watch: dl,
|
|
2388
2404
|
// provide / inject
|
|
@@ -2398,7 +2414,7 @@ function Yo(e, t) {
|
|
|
2398
2414
|
} : t : e;
|
|
2399
2415
|
}
|
|
2400
2416
|
function pl(e, t) {
|
|
2401
|
-
return
|
|
2417
|
+
return It(to(e), to(t));
|
|
2402
2418
|
}
|
|
2403
2419
|
function to(e) {
|
|
2404
2420
|
if (C(e)) {
|
|
@@ -2412,7 +2428,7 @@ function to(e) {
|
|
|
2412
2428
|
function ue(e, t) {
|
|
2413
2429
|
return e ? [...new Set([].concat(e, t))] : t;
|
|
2414
2430
|
}
|
|
2415
|
-
function
|
|
2431
|
+
function It(e, t) {
|
|
2416
2432
|
return e ? Y(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2417
2433
|
}
|
|
2418
2434
|
function Zo(e, t) {
|
|
@@ -2671,7 +2687,7 @@ function no(e, t, n, o, r, s) {
|
|
|
2671
2687
|
const f = i.default;
|
|
2672
2688
|
if (i.type !== Function && !i.skipFactory && I(f)) {
|
|
2673
2689
|
const { propsDefaults: a } = r;
|
|
2674
|
-
n in a ? o = a[n] : (
|
|
2690
|
+
n in a ? o = a[n] : (Ot(r), o = a[n] = f.call(
|
|
2675
2691
|
null,
|
|
2676
2692
|
t
|
|
2677
2693
|
), lt());
|
|
@@ -2798,7 +2814,7 @@ function bl(e, t) {
|
|
|
2798
2814
|
function Ol(e, t, n) {
|
|
2799
2815
|
if (n.length === 0)
|
|
2800
2816
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2801
|
-
let o = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(
|
|
2817
|
+
let o = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(yt).join(" | ")}`;
|
|
2802
2818
|
const r = n[0], s = uo(t), i = er(t, r), c = er(t, s);
|
|
2803
2819
|
return n.length === 1 && tr(r) && !wl(r, s) && (o += ` with value ${i}`), o += `, got ${s} `, tr(s) && (o += `with value ${c}.`), o;
|
|
2804
2820
|
}
|
|
@@ -2875,7 +2891,7 @@ function ro(e, t, n, o, r = !1) {
|
|
|
2875
2891
|
);
|
|
2876
2892
|
return;
|
|
2877
2893
|
}
|
|
2878
|
-
if (
|
|
2894
|
+
if (Rt(o) && !r)
|
|
2879
2895
|
return;
|
|
2880
2896
|
const s = o.shapeFlag & 4 ? Pn(o.component) || o.component.proxy : o.el, i = r ? null : s, { i: c, r: f } = e;
|
|
2881
2897
|
if (process.env.NODE_ENV !== "production" && !c) {
|
|
@@ -2902,7 +2918,7 @@ function ro(e, t, n, o, r = !1) {
|
|
|
2902
2918
|
process.env.NODE_ENV !== "production" && v("Invalid template ref type:", f, `(${typeof f})`);
|
|
2903
2919
|
}
|
|
2904
2920
|
}
|
|
2905
|
-
let
|
|
2921
|
+
let Vt, ze;
|
|
2906
2922
|
function Ae(e, t) {
|
|
2907
2923
|
e.appContext.config.performance && En() && ze.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Ri(e, t, En() ? ze.now() : Date.now());
|
|
2908
2924
|
}
|
|
@@ -2918,12 +2934,17 @@ function Me(e, t) {
|
|
|
2918
2934
|
process.env.NODE_ENV !== "production" && Ai(e, t, En() ? ze.now() : Date.now());
|
|
2919
2935
|
}
|
|
2920
2936
|
function En() {
|
|
2921
|
-
return
|
|
2937
|
+
return Vt !== void 0 || (typeof window != "undefined" && window.performance ? (Vt = !0, ze = window.performance) : Vt = !1), Vt;
|
|
2922
2938
|
}
|
|
2923
2939
|
function Cl() {
|
|
2924
2940
|
const e = [];
|
|
2925
2941
|
if (process.env.NODE_ENV !== "production" && e.length) {
|
|
2926
2942
|
const t = e.length > 1;
|
|
2943
|
+
console.warn(
|
|
2944
|
+
`Feature flag${t ? "s" : ""} ${e.join(", ")} ${t ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
2945
|
+
|
|
2946
|
+
For more details, see https://link.vuejs.org/feature-flags.`
|
|
2947
|
+
);
|
|
2927
2948
|
}
|
|
2928
2949
|
}
|
|
2929
2950
|
const ge = Ki;
|
|
@@ -2959,7 +2980,7 @@ function Tl(e, t) {
|
|
|
2959
2980
|
case te:
|
|
2960
2981
|
J(l, u, d, g);
|
|
2961
2982
|
break;
|
|
2962
|
-
case
|
|
2983
|
+
case At:
|
|
2963
2984
|
l == null ? pe(u, d, g, O) : process.env.NODE_ENV !== "production" && S(l, u, d, O);
|
|
2964
2985
|
break;
|
|
2965
2986
|
case me:
|
|
@@ -3377,7 +3398,7 @@ function Tl(e, t) {
|
|
|
3377
3398
|
const N = () => {
|
|
3378
3399
|
if (l.isMounted) {
|
|
3379
3400
|
let { next: x, bu: D, u: V, parent: P, vnode: j } = l, z = x, K;
|
|
3380
|
-
process.env.NODE_ENV !== "production" && tn(x || l.vnode), Xe(l, !1), x ? (x.el = j.el, H(l, x, O)) : x = j, D &&
|
|
3401
|
+
process.env.NODE_ENV !== "production" && tn(x || l.vnode), Xe(l, !1), x ? (x.el = j.el, H(l, x, O)) : x = j, D && xt(D), (K = x.props && x.props.onVnodeBeforeUpdate) && xe(K, P, x, j), Xe(l, !0), process.env.NODE_ENV !== "production" && Ae(l, "render");
|
|
3381
3402
|
const Z = kn(l);
|
|
3382
3403
|
process.env.NODE_ENV !== "production" && Me(l, "render");
|
|
3383
3404
|
const ve = l.subTree;
|
|
@@ -3397,8 +3418,8 @@ function Tl(e, t) {
|
|
|
3397
3418
|
), process.env.NODE_ENV !== "production" && Sr(l), process.env.NODE_ENV !== "production" && nn();
|
|
3398
3419
|
} else {
|
|
3399
3420
|
let x;
|
|
3400
|
-
const { el: D, props: V } = u, { bm: P, m: j, parent: z } = l, K =
|
|
3401
|
-
if (Xe(l, !1), P &&
|
|
3421
|
+
const { el: D, props: V } = u, { bm: P, m: j, parent: z } = l, K = Rt(u);
|
|
3422
|
+
if (Xe(l, !1), P && xt(P), !K && (x = V && V.onVnodeBeforeMount) && xe(x, z, u), Xe(l, !0), D && Sn) {
|
|
3402
3423
|
const Z = () => {
|
|
3403
3424
|
process.env.NODE_ENV !== "production" && Ae(l, "render"), l.subTree = kn(l), process.env.NODE_ENV !== "production" && Me(l, "render"), process.env.NODE_ENV !== "production" && Ae(l, "hydrate"), Sn(
|
|
3404
3425
|
D,
|
|
@@ -3435,7 +3456,7 @@ function Tl(e, t) {
|
|
|
3435
3456
|
_
|
|
3436
3457
|
);
|
|
3437
3458
|
}
|
|
3438
|
-
(u.shapeFlag & 256 || z &&
|
|
3459
|
+
(u.shapeFlag & 256 || z && Rt(z.vnode) && z.vnode.shapeFlag & 256) && l.a && ge(l.a, _), l.isMounted = !0, process.env.NODE_ENV !== "production" && $i(l), u = d = g = null;
|
|
3439
3460
|
}
|
|
3440
3461
|
}, b = l.effect = new ho(
|
|
3441
3462
|
N,
|
|
@@ -3443,7 +3464,7 @@ function Tl(e, t) {
|
|
|
3443
3464
|
l.scope
|
|
3444
3465
|
// track it in component's effect scope
|
|
3445
3466
|
), E = l.update = () => b.run();
|
|
3446
|
-
E.id = l.uid, Xe(l, !0), process.env.NODE_ENV !== "production" && (b.onTrack = l.rtc ? (x) =>
|
|
3467
|
+
E.id = l.uid, Xe(l, !0), process.env.NODE_ENV !== "production" && (b.onTrack = l.rtc ? (x) => xt(l.rtc, x) : void 0, b.onTrigger = l.rtg ? (x) => xt(l.rtg, x) : void 0, E.ownerInstance = l), E();
|
|
3447
3468
|
}, H = (l, u, d) => {
|
|
3448
3469
|
u.component = l;
|
|
3449
3470
|
const g = l.vnode.props;
|
|
@@ -3452,7 +3473,7 @@ function Tl(e, t) {
|
|
|
3452
3473
|
const E = l && l.children, x = l ? l.shapeFlag : 0, D = u.children, { patchFlag: V, shapeFlag: P } = u;
|
|
3453
3474
|
if (V > 0) {
|
|
3454
3475
|
if (V & 128) {
|
|
3455
|
-
|
|
3476
|
+
wt(
|
|
3456
3477
|
E,
|
|
3457
3478
|
D,
|
|
3458
3479
|
d,
|
|
@@ -3479,7 +3500,7 @@ function Tl(e, t) {
|
|
|
3479
3500
|
return;
|
|
3480
3501
|
}
|
|
3481
3502
|
}
|
|
3482
|
-
P & 8 ? (x & 16 && Re(E, _, y), D !== E && h(d, D)) : x & 16 ? P & 16 ?
|
|
3503
|
+
P & 8 ? (x & 16 && Re(E, _, y), D !== E && h(d, D)) : x & 16 ? P & 16 ? wt(
|
|
3483
3504
|
E,
|
|
3484
3505
|
D,
|
|
3485
3506
|
d,
|
|
@@ -3535,7 +3556,7 @@ function Tl(e, t) {
|
|
|
3535
3556
|
b,
|
|
3536
3557
|
D
|
|
3537
3558
|
);
|
|
3538
|
-
},
|
|
3559
|
+
}, wt = (l, u, d, g, _, y, O, N, b) => {
|
|
3539
3560
|
let E = 0;
|
|
3540
3561
|
const x = u.length;
|
|
3541
3562
|
let D = l.length - 1, V = x - 1;
|
|
@@ -3607,9 +3628,9 @@ function Tl(e, t) {
|
|
|
3607
3628
|
let K, Z = 0;
|
|
3608
3629
|
const ve = V - j + 1;
|
|
3609
3630
|
let ht = !1, $o = 0;
|
|
3610
|
-
const
|
|
3631
|
+
const Dt = new Array(ve);
|
|
3611
3632
|
for (E = 0; E < ve; E++)
|
|
3612
|
-
|
|
3633
|
+
Dt[E] = 0;
|
|
3613
3634
|
for (E = P; E <= D; E++) {
|
|
3614
3635
|
const ce = l[E];
|
|
3615
3636
|
if (Z >= ve) {
|
|
@@ -3621,11 +3642,11 @@ function Tl(e, t) {
|
|
|
3621
3642
|
De = z.get(ce.key);
|
|
3622
3643
|
else
|
|
3623
3644
|
for (K = j; K <= V; K++)
|
|
3624
|
-
if (
|
|
3645
|
+
if (Dt[K - j] === 0 && Ge(ce, u[K])) {
|
|
3625
3646
|
De = K;
|
|
3626
3647
|
break;
|
|
3627
3648
|
}
|
|
3628
|
-
De === void 0 ? He(ce, _, y, !0) : (
|
|
3649
|
+
De === void 0 ? He(ce, _, y, !0) : (Dt[De - j] = E + 1, De >= $o ? $o = De : ht = !0, $(
|
|
3629
3650
|
ce,
|
|
3630
3651
|
u[De],
|
|
3631
3652
|
d,
|
|
@@ -3637,10 +3658,10 @@ function Tl(e, t) {
|
|
|
3637
3658
|
b
|
|
3638
3659
|
), Z++);
|
|
3639
3660
|
}
|
|
3640
|
-
const Io = ht ? Il(
|
|
3661
|
+
const Io = ht ? Il(Dt) : Et;
|
|
3641
3662
|
for (K = Io.length - 1, E = ve - 1; E >= 0; E--) {
|
|
3642
3663
|
const ce = j + E, De = u[ce], Po = ce + 1 < x ? u[ce + 1].el : g;
|
|
3643
|
-
|
|
3664
|
+
Dt[E] === 0 ? $(
|
|
3644
3665
|
null,
|
|
3645
3666
|
De,
|
|
3646
3667
|
d,
|
|
@@ -3674,7 +3695,7 @@ function Tl(e, t) {
|
|
|
3674
3695
|
o(l.anchor, u, d);
|
|
3675
3696
|
return;
|
|
3676
3697
|
}
|
|
3677
|
-
if (O ===
|
|
3698
|
+
if (O === At) {
|
|
3678
3699
|
le(l, u, d);
|
|
3679
3700
|
return;
|
|
3680
3701
|
}
|
|
@@ -3706,7 +3727,7 @@ function Tl(e, t) {
|
|
|
3706
3727
|
u.ctx.deactivate(l);
|
|
3707
3728
|
return;
|
|
3708
3729
|
}
|
|
3709
|
-
const P = x & 1 && V, j = !
|
|
3730
|
+
const P = x & 1 && V, j = !Rt(l);
|
|
3710
3731
|
let z;
|
|
3711
3732
|
if (j && (z = O && O.onVnodeBeforeUnmount) && xe(z, u, l), x & 6)
|
|
3712
3733
|
ys(l.component, d, g);
|
|
@@ -3742,7 +3763,7 @@ function Tl(e, t) {
|
|
|
3742
3763
|
}) : vs(d, g);
|
|
3743
3764
|
return;
|
|
3744
3765
|
}
|
|
3745
|
-
if (u ===
|
|
3766
|
+
if (u === At) {
|
|
3746
3767
|
T(l);
|
|
3747
3768
|
return;
|
|
3748
3769
|
}
|
|
@@ -3762,7 +3783,7 @@ function Tl(e, t) {
|
|
|
3762
3783
|
}, ys = (l, u, d) => {
|
|
3763
3784
|
process.env.NODE_ENV !== "production" && l.type.__hmrId && Di(l);
|
|
3764
3785
|
const { bum: g, scope: _, update: y, subTree: O, um: N } = l;
|
|
3765
|
-
g &&
|
|
3786
|
+
g && xt(g), _.stop(), y && (y.active = !1, He(O, l, u, d)), N && ge(N, u), ge(() => {
|
|
3766
3787
|
l.isUnmounted = !0;
|
|
3767
3788
|
}, u), u && u.pendingBranch && !u.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === u.pendingId && (u.deps--, u.deps === 0 && u.resolve()), process.env.NODE_ENV !== "production" && Pi(l);
|
|
3768
3789
|
}, Re = (l, u, d, g = !1, _ = !1, y = 0) => {
|
|
@@ -3826,13 +3847,13 @@ function Il(e) {
|
|
|
3826
3847
|
n[s] = i, i = t[i];
|
|
3827
3848
|
return n;
|
|
3828
3849
|
}
|
|
3829
|
-
const Pl = (e) => e.__isTeleport, me = Symbol.for("v-fgt"), Kt = Symbol.for("v-txt"), te = Symbol.for("v-cmt"),
|
|
3850
|
+
const Pl = (e) => e.__isTeleport, me = Symbol.for("v-fgt"), Kt = Symbol.for("v-txt"), te = Symbol.for("v-cmt"), At = Symbol.for("v-stc"), Mt = [];
|
|
3830
3851
|
let be = null;
|
|
3831
3852
|
function cs(e = !1) {
|
|
3832
|
-
|
|
3853
|
+
Mt.push(be = e ? null : []);
|
|
3833
3854
|
}
|
|
3834
3855
|
function Rl() {
|
|
3835
|
-
|
|
3856
|
+
Mt.pop(), be = Mt[Mt.length - 1] || null;
|
|
3836
3857
|
}
|
|
3837
3858
|
let Ht = 1;
|
|
3838
3859
|
function nr(e) {
|
|
@@ -3868,7 +3889,7 @@ function fs(e, t, n, o, r) {
|
|
|
3868
3889
|
)
|
|
3869
3890
|
);
|
|
3870
3891
|
}
|
|
3871
|
-
function
|
|
3892
|
+
function bt(e) {
|
|
3872
3893
|
return e ? e.__v_isVNode === !0 : !1;
|
|
3873
3894
|
}
|
|
3874
3895
|
function Ge(e, t) {
|
|
@@ -3922,7 +3943,7 @@ function ps(e, t = null, n = null, o = 0, r = null, s = e === me ? 0 : 1, i = !1
|
|
|
3922
3943
|
}
|
|
3923
3944
|
const ae = process.env.NODE_ENV !== "production" ? Al : ds;
|
|
3924
3945
|
function ds(e, t = null, n = null, o = 0, r = null, s = !1) {
|
|
3925
|
-
if ((!e || e === Lr) && (process.env.NODE_ENV !== "production" && !e && v(`Invalid vnode type when creating vnode: ${e}.`), e = te),
|
|
3946
|
+
if ((!e || e === Lr) && (process.env.NODE_ENV !== "production" && !e && v(`Invalid vnode type when creating vnode: ${e}.`), e = te), bt(e)) {
|
|
3926
3947
|
const c = Ie(
|
|
3927
3948
|
e,
|
|
3928
3949
|
t,
|
|
@@ -4009,7 +4030,7 @@ function Fl(e = " ", t = 0) {
|
|
|
4009
4030
|
return ae(Kt, null, e, t);
|
|
4010
4031
|
}
|
|
4011
4032
|
function Dc(e, t) {
|
|
4012
|
-
const n = ae(
|
|
4033
|
+
const n = ae(At, null, e);
|
|
4013
4034
|
return n.staticCount = t, n;
|
|
4014
4035
|
}
|
|
4015
4036
|
function xc(e = "", t = !1) {
|
|
@@ -4157,7 +4178,7 @@ let Vo, gt, or = "__VUE_INSTANCE_SETTERS__";
|
|
|
4157
4178
|
(gt = cn()[or]) || (gt = cn()[or] = []), gt.push((e) => G = e), Vo = (e) => {
|
|
4158
4179
|
gt.length > 1 ? gt.forEach((t) => t(e)) : gt[0](e);
|
|
4159
4180
|
};
|
|
4160
|
-
const
|
|
4181
|
+
const Ot = (e) => {
|
|
4161
4182
|
Vo(e), e.scope.on();
|
|
4162
4183
|
}, lt = () => {
|
|
4163
4184
|
G && G.scope.off(), Vo(null);
|
|
@@ -4201,12 +4222,12 @@ function Ul(e, t) {
|
|
|
4201
4222
|
const { setup: r } = o;
|
|
4202
4223
|
if (r) {
|
|
4203
4224
|
const s = e.setupContext = r.length > 1 ? Es(e) : null;
|
|
4204
|
-
|
|
4225
|
+
Ot(e), ft();
|
|
4205
4226
|
const i = Fe(
|
|
4206
4227
|
r,
|
|
4207
4228
|
e,
|
|
4208
4229
|
0,
|
|
4209
|
-
[process.env.NODE_ENV !== "production" ?
|
|
4230
|
+
[process.env.NODE_ENV !== "production" ? Tt(e.props) : e.props, s]
|
|
4210
4231
|
);
|
|
4211
4232
|
if (at(), lt(), co(i)) {
|
|
4212
4233
|
if (i.then(lt, lt), t)
|
|
@@ -4227,7 +4248,7 @@ function Ul(e, t) {
|
|
|
4227
4248
|
ms(e, t);
|
|
4228
4249
|
}
|
|
4229
4250
|
function rr(e, t, n) {
|
|
4230
|
-
I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : L(t) ? (process.env.NODE_ENV !== "production" &&
|
|
4251
|
+
I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : L(t) ? (process.env.NODE_ENV !== "production" && bt(t) && v(
|
|
4231
4252
|
"setup() should not return VNodes directly - return a render function instead."
|
|
4232
4253
|
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = Cr(t), process.env.NODE_ENV !== "production" && ll(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && v(
|
|
4233
4254
|
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
@@ -4258,7 +4279,7 @@ function ms(e, t, n) {
|
|
|
4258
4279
|
e.render = o.render || oe;
|
|
4259
4280
|
}
|
|
4260
4281
|
{
|
|
4261
|
-
|
|
4282
|
+
Ot(e), ft();
|
|
4262
4283
|
try {
|
|
4263
4284
|
ul(e);
|
|
4264
4285
|
} finally {
|
|
@@ -4369,7 +4390,7 @@ function Ns(e) {
|
|
|
4369
4390
|
const Jl = (e, t) => di(e, t, Lt);
|
|
4370
4391
|
function Vc(e, t, n) {
|
|
4371
4392
|
const o = arguments.length;
|
|
4372
|
-
return o === 2 ? L(t) && !C(t) ?
|
|
4393
|
+
return o === 2 ? L(t) && !C(t) ? bt(t) ? ae(e, null, [t]) : ae(e, t) : ae(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && bt(n) && (n = [n]), ae(e, t, n));
|
|
4373
4394
|
}
|
|
4374
4395
|
const Yl = Symbol.for("v-scx"), Zl = () => {
|
|
4375
4396
|
{
|
|
@@ -4494,7 +4515,7 @@ function Xl() {
|
|
|
4494
4515
|
}
|
|
4495
4516
|
process.env.NODE_ENV !== "production" && Xl();
|
|
4496
4517
|
export {
|
|
4497
|
-
|
|
4518
|
+
At as $,
|
|
4498
4519
|
rc as A,
|
|
4499
4520
|
vc as B,
|
|
4500
4521
|
uc as C,
|
|
@@ -4526,7 +4547,7 @@ export {
|
|
|
4526
4547
|
Nn as a0,
|
|
4527
4548
|
Kn as a1,
|
|
4528
4549
|
Se as a2,
|
|
4529
|
-
|
|
4550
|
+
yt as a3,
|
|
4530
4551
|
nc as a4,
|
|
4531
4552
|
oc as a5,
|
|
4532
4553
|
Oe as a6,
|
|
@@ -4559,7 +4580,7 @@ export {
|
|
|
4559
4580
|
Jr as s,
|
|
4560
4581
|
vi as t,
|
|
4561
4582
|
yc as u,
|
|
4562
|
-
|
|
4583
|
+
bt as v,
|
|
4563
4584
|
Si as w,
|
|
4564
4585
|
Jl as x,
|
|
4565
4586
|
ci as y,
|
|
Binary file
|