@stonecrop/desktop 0.2.29 → 0.2.31
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/desktop.js +61 -60
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs +13 -13
- package/dist/desktop.umd.cjs.map +1 -1
- package/package.json +5 -5
package/dist/desktop.js
CHANGED
|
@@ -30,7 +30,7 @@ const sn = (e) => (go("data-v-3ce59358"), e = e(), yo(), e), jr = { class: "acti
|
|
|
30
30
|
], -1)), Lr = [
|
|
31
31
|
Rr,
|
|
32
32
|
Vr
|
|
33
|
-
], Mr = /* @__PURE__ */ sn(() => /* @__PURE__ */ R("div", { style: { "margin-right": "30px" } }, null, -1)), Ur = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Fr = { class: "dropdown-container" },
|
|
33
|
+
], Mr = /* @__PURE__ */ sn(() => /* @__PURE__ */ R("div", { style: { "margin-right": "30px" } }, null, -1)), Ur = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Fr = { class: "dropdown-container" }, Gr = { class: "dropdown" }, qr = ["onclick"], zr = ["href"], Hr = { class: "dropdown-item" }, Jr = /* @__PURE__ */ Z({
|
|
34
34
|
__name: "ActionSet",
|
|
35
35
|
props: {
|
|
36
36
|
elements: {}
|
|
@@ -80,7 +80,7 @@ const sn = (e) => (go("data-v-3ce59358"), e = e(), yo(), e), jr = { class: "acti
|
|
|
80
80
|
onClick: (v) => d(m)
|
|
81
81
|
}, ue(f.label), 9, Wr),
|
|
82
82
|
Je(R("div", Fr, [
|
|
83
|
-
R("div",
|
|
83
|
+
R("div", Gr, [
|
|
84
84
|
(N(!0), T(Se, null, Ie(f.actions, (v) => (N(), T("div", {
|
|
85
85
|
key: v.label
|
|
86
86
|
}, [
|
|
@@ -88,7 +88,7 @@ const sn = (e) => (go("data-v-3ce59358"), e = e(), yo(), e), jr = { class: "acti
|
|
|
88
88
|
key: 0,
|
|
89
89
|
onclick: v.action,
|
|
90
90
|
class: "dropdown-item"
|
|
91
|
-
}, ue(v.label), 9,
|
|
91
|
+
}, ue(v.label), 9, qr)) : v.link != null ? (N(), T("a", {
|
|
92
92
|
key: 1,
|
|
93
93
|
href: v.link
|
|
94
94
|
}, [
|
|
@@ -158,6 +158,7 @@ const ea = { class: "aform" }, ta = /* @__PURE__ */ Z({
|
|
|
158
158
|
]));
|
|
159
159
|
}
|
|
160
160
|
}), na = /* @__PURE__ */ Zr(ta, [["__scopeId", "data-v-dc1a868d"]]);
|
|
161
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
161
162
|
var oa = Object.defineProperty, ra = (e, t, n) => t in e ? oa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, X = (e, t, n) => ra(e, typeof t != "symbol" ? t + "" : t, n);
|
|
162
163
|
function Ut(e) {
|
|
163
164
|
this.message = e || "";
|
|
@@ -659,7 +660,7 @@ function xa(e) {
|
|
|
659
660
|
}
|
|
660
661
|
}
|
|
661
662
|
let De = !0;
|
|
662
|
-
const dt = [], ke = "pinia:mutations",
|
|
663
|
+
const dt = [], ke = "pinia:mutations", q = "pinia", { assign: Oa } = Object, vt = (e) => "🍍 " + e;
|
|
663
664
|
function Sa(e, t) {
|
|
664
665
|
cn({
|
|
665
666
|
id: "dev.esm.pinia",
|
|
@@ -675,7 +676,7 @@ function Sa(e, t) {
|
|
|
675
676
|
label: "Pinia 🍍",
|
|
676
677
|
color: 15064968
|
|
677
678
|
}), n.addInspector({
|
|
678
|
-
id:
|
|
679
|
+
id: q,
|
|
679
680
|
label: "Pinia 🍍",
|
|
680
681
|
icon: "storage",
|
|
681
682
|
treeFilterPlaceholder: "Search stores",
|
|
@@ -690,7 +691,7 @@ function Sa(e, t) {
|
|
|
690
691
|
{
|
|
691
692
|
icon: "content_paste",
|
|
692
693
|
action: async () => {
|
|
693
|
-
await ya(t), n.sendInspectorTree(
|
|
694
|
+
await ya(t), n.sendInspectorTree(q), n.sendInspectorState(q);
|
|
694
695
|
},
|
|
695
696
|
tooltip: "Replace the state with the content of your clipboard"
|
|
696
697
|
},
|
|
@@ -704,7 +705,7 @@ function Sa(e, t) {
|
|
|
704
705
|
{
|
|
705
706
|
icon: "folder_open",
|
|
706
707
|
action: async () => {
|
|
707
|
-
await _a(t), n.sendInspectorTree(
|
|
708
|
+
await _a(t), n.sendInspectorTree(q), n.sendInspectorState(q);
|
|
708
709
|
},
|
|
709
710
|
tooltip: "Import the state from a JSON file"
|
|
710
711
|
}
|
|
@@ -759,19 +760,19 @@ function Sa(e, t) {
|
|
|
759
760
|
});
|
|
760
761
|
}
|
|
761
762
|
}), n.on.getInspectorTree((o) => {
|
|
762
|
-
if (o.app === e && o.inspectorId ===
|
|
763
|
+
if (o.app === e && o.inspectorId === q) {
|
|
763
764
|
let r = [t];
|
|
764
765
|
r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((a) => "$id" in a ? a.$id.toLowerCase().includes(o.filter.toLowerCase()) : Do.toLowerCase().includes(o.filter.toLowerCase())) : r).map(Ea);
|
|
765
766
|
}
|
|
766
767
|
}), n.on.getInspectorState((o) => {
|
|
767
|
-
if (o.app === e && o.inspectorId ===
|
|
768
|
+
if (o.app === e && o.inspectorId === q) {
|
|
768
769
|
const r = o.nodeId === Wt ? t : t._s.get(o.nodeId);
|
|
769
770
|
if (!r)
|
|
770
771
|
return;
|
|
771
772
|
r && (o.state = ka(r));
|
|
772
773
|
}
|
|
773
774
|
}), n.on.editInspectorState((o, r) => {
|
|
774
|
-
if (o.app === e && o.inspectorId ===
|
|
775
|
+
if (o.app === e && o.inspectorId === q) {
|
|
775
776
|
const a = o.nodeId === Wt ? t : t._s.get(o.nodeId);
|
|
776
777
|
if (!a)
|
|
777
778
|
return B(`store "${o.nodeId}" not found`, "error");
|
|
@@ -867,7 +868,7 @@ function Ia(e, t) {
|
|
|
867
868
|
});
|
|
868
869
|
}, !0), t._customProperties.forEach((i) => {
|
|
869
870
|
K(() => k(t[i]), (s, l) => {
|
|
870
|
-
n.notifyComponentUpdate(), n.sendInspectorState(
|
|
871
|
+
n.notifyComponentUpdate(), n.sendInspectorState(q), De && n.addTimelineEvent({
|
|
871
872
|
layerId: ke,
|
|
872
873
|
event: {
|
|
873
874
|
time: o(),
|
|
@@ -882,7 +883,7 @@ function Ia(e, t) {
|
|
|
882
883
|
});
|
|
883
884
|
}, { deep: !0 });
|
|
884
885
|
}), t.$subscribe(({ events: i, type: s }, l) => {
|
|
885
|
-
if (n.notifyComponentUpdate(), n.sendInspectorState(
|
|
886
|
+
if (n.notifyComponentUpdate(), n.sendInspectorState(q), !De)
|
|
886
887
|
return;
|
|
887
888
|
const u = {
|
|
888
889
|
time: o(),
|
|
@@ -915,12 +916,12 @@ function Ia(e, t) {
|
|
|
915
916
|
info: ne("HMR update")
|
|
916
917
|
}
|
|
917
918
|
}
|
|
918
|
-
}), n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
919
|
+
}), n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q);
|
|
919
920
|
});
|
|
920
921
|
const { $dispose: a } = t;
|
|
921
922
|
t.$dispose = () => {
|
|
922
|
-
a(), n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
923
|
-
}, n.notifyComponentUpdate(), n.sendInspectorTree(
|
|
923
|
+
a(), n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q), n.getSettings().logStoreChanges && B(`Disposed "${t.$id}" store 🗑`);
|
|
924
|
+
}, n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q), n.getSettings().logStoreChanges && B(`"${t.$id}" store installed 🆕`);
|
|
924
925
|
});
|
|
925
926
|
}
|
|
926
927
|
let Ao = 0, ye;
|
|
@@ -1036,9 +1037,9 @@ function An(e, t, n, o) {
|
|
|
1036
1037
|
return i[p].call(f, f);
|
|
1037
1038
|
})), c), {}));
|
|
1038
1039
|
}
|
|
1039
|
-
return l =
|
|
1040
|
+
return l = Gt(e, u, t, n, o, !0), l;
|
|
1040
1041
|
}
|
|
1041
|
-
function
|
|
1042
|
+
function Gt(e, t, n = {}, o, r, a) {
|
|
1042
1043
|
let i;
|
|
1043
1044
|
const s = Q({ actions: {} }, n);
|
|
1044
1045
|
if (process.env.NODE_ENV !== "production" && !o._e.active)
|
|
@@ -1243,10 +1244,10 @@ function Ta(e, t, n) {
|
|
|
1243
1244
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
1244
1245
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
1245
1246
|
This will fail in production.`);
|
|
1246
|
-
s = Be, s._s.has(o) || (a ?
|
|
1247
|
+
s = Be, s._s.has(o) || (a ? Gt(o, t, r, s) : An(o, r, s), process.env.NODE_ENV !== "production" && (i._pinia = s));
|
|
1247
1248
|
const d = s._s.get(o);
|
|
1248
1249
|
if (process.env.NODE_ENV !== "production" && l) {
|
|
1249
|
-
const c = "__hot:" + o, p = a ?
|
|
1250
|
+
const c = "__hot:" + o, p = a ? Gt(c, t, r, s, !0) : An(c, Q({}, r), s, !0);
|
|
1250
1251
|
l._hotUpdate(p), delete s.state.value[c], s._s.delete(c);
|
|
1251
1252
|
}
|
|
1252
1253
|
if (process.env.NODE_ENV !== "production" && bt) {
|
|
@@ -1310,24 +1311,24 @@ function Pt(e, t) {
|
|
|
1310
1311
|
}
|
|
1311
1312
|
return n;
|
|
1312
1313
|
}
|
|
1313
|
-
const
|
|
1314
|
+
const Ge = () => {
|
|
1314
1315
|
}, Y = Array.isArray;
|
|
1315
1316
|
function O(e) {
|
|
1316
1317
|
const t = Array.from(arguments).slice(1);
|
|
1317
1318
|
console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
|
|
1318
1319
|
}
|
|
1319
|
-
const Vo = /#/g, La = /&/g, Ma = /\//g, Ua = /=/g, Ba = /\?/g, Lo = /\+/g, Wa = /%5B/g, Fa = /%5D/g, Mo = /%5E/g,
|
|
1320
|
+
const Vo = /#/g, La = /&/g, Ma = /\//g, Ua = /=/g, Ba = /\?/g, Lo = /\+/g, Wa = /%5B/g, Fa = /%5D/g, Mo = /%5E/g, Ga = /%60/g, Uo = /%7B/g, qa = /%7C/g, Bo = /%7D/g, za = /%20/g;
|
|
1320
1321
|
function pn(e) {
|
|
1321
|
-
return encodeURI("" + e).replace(
|
|
1322
|
+
return encodeURI("" + e).replace(qa, "|").replace(Wa, "[").replace(Fa, "]");
|
|
1322
1323
|
}
|
|
1323
1324
|
function Ha(e) {
|
|
1324
1325
|
return pn(e).replace(Uo, "{").replace(Bo, "}").replace(Mo, "^");
|
|
1325
1326
|
}
|
|
1326
|
-
function
|
|
1327
|
-
return pn(e).replace(Lo, "%2B").replace(za, "+").replace(Vo, "%23").replace(La, "%26").replace(
|
|
1327
|
+
function qt(e) {
|
|
1328
|
+
return pn(e).replace(Lo, "%2B").replace(za, "+").replace(Vo, "%23").replace(La, "%26").replace(Ga, "`").replace(Uo, "{").replace(Bo, "}").replace(Mo, "^");
|
|
1328
1329
|
}
|
|
1329
1330
|
function Ja(e) {
|
|
1330
|
-
return
|
|
1331
|
+
return qt(e).replace(Ua, "%3D");
|
|
1331
1332
|
}
|
|
1332
1333
|
function Ka(e) {
|
|
1333
1334
|
return pn(e).replace(Vo, "%23").replace(Ba, "%3F");
|
|
@@ -1417,10 +1418,10 @@ var Xe;
|
|
|
1417
1418
|
(function(e) {
|
|
1418
1419
|
e.pop = "pop", e.push = "push";
|
|
1419
1420
|
})(Xe || (Xe = {}));
|
|
1420
|
-
var
|
|
1421
|
+
var qe;
|
|
1421
1422
|
(function(e) {
|
|
1422
1423
|
e.back = "back", e.forward = "forward", e.unknown = "";
|
|
1423
|
-
})(
|
|
1424
|
+
})(qe || (qe = {}));
|
|
1424
1425
|
function ns(e) {
|
|
1425
1426
|
if (!e)
|
|
1426
1427
|
if (le) {
|
|
@@ -1508,7 +1509,7 @@ function us(e, t, n, o) {
|
|
|
1508
1509
|
P(n.value, m, {
|
|
1509
1510
|
delta: $,
|
|
1510
1511
|
type: Xe.pop,
|
|
1511
|
-
direction: $ ? $ > 0 ?
|
|
1512
|
+
direction: $ ? $ > 0 ? qe.forward : qe.back : qe.unknown
|
|
1512
1513
|
});
|
|
1513
1514
|
});
|
|
1514
1515
|
};
|
|
@@ -1635,7 +1636,7 @@ function ps(e) {
|
|
|
1635
1636
|
function gt(e) {
|
|
1636
1637
|
return typeof e == "string" || e && typeof e == "object";
|
|
1637
1638
|
}
|
|
1638
|
-
function
|
|
1639
|
+
function Go(e) {
|
|
1639
1640
|
return typeof e == "string" || typeof e == "symbol";
|
|
1640
1641
|
}
|
|
1641
1642
|
const Ht = Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
@@ -1788,7 +1789,7 @@ function ws(e, t) {
|
|
|
1788
1789
|
}
|
|
1789
1790
|
return e.length < t.length ? e.length === 1 && e[0] === 80 ? -1 : 1 : e.length > t.length ? t.length === 1 && t[0] === 80 ? 1 : -1 : 0;
|
|
1790
1791
|
}
|
|
1791
|
-
function
|
|
1792
|
+
function qo(e, t) {
|
|
1792
1793
|
let n = 0;
|
|
1793
1794
|
const o = e.score, r = t.score;
|
|
1794
1795
|
for (; n < o.length && n < r.length; ) {
|
|
@@ -1891,14 +1892,14 @@ function ks(e, t, n) {
|
|
|
1891
1892
|
}
|
|
1892
1893
|
function $s(e, t) {
|
|
1893
1894
|
const n = [], o = /* @__PURE__ */ new Map();
|
|
1894
|
-
t =
|
|
1895
|
+
t = Gn({ strict: !1, end: !0, sensitive: !1 }, t);
|
|
1895
1896
|
function r(c) {
|
|
1896
1897
|
return o.get(c);
|
|
1897
1898
|
}
|
|
1898
1899
|
function a(c, p, f) {
|
|
1899
1900
|
const m = !f, v = xs(c);
|
|
1900
1901
|
process.env.NODE_ENV !== "production" && Ns(v, p), v.aliasOf = f && f.record;
|
|
1901
|
-
const $ =
|
|
1902
|
+
const $ = Gn(t, c), P = [
|
|
1902
1903
|
v
|
|
1903
1904
|
];
|
|
1904
1905
|
if ("alias" in c) {
|
|
@@ -1934,10 +1935,10 @@ See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch
|
|
|
1934
1935
|
}
|
|
1935
1936
|
return I ? () => {
|
|
1936
1937
|
i(I);
|
|
1937
|
-
} :
|
|
1938
|
+
} : Ge;
|
|
1938
1939
|
}
|
|
1939
1940
|
function i(c) {
|
|
1940
|
-
if (
|
|
1941
|
+
if (Go(c)) {
|
|
1941
1942
|
const p = o.get(c);
|
|
1942
1943
|
p && (o.delete(c), n.splice(n.indexOf(p), 1), p.children.forEach(i), p.alias.forEach(i));
|
|
1943
1944
|
} else {
|
|
@@ -2053,7 +2054,7 @@ function Fn(e) {
|
|
|
2053
2054
|
function Ss(e) {
|
|
2054
2055
|
return e.reduce((t, n) => A(t, n.meta), {});
|
|
2055
2056
|
}
|
|
2056
|
-
function
|
|
2057
|
+
function Gn(e, t) {
|
|
2057
2058
|
const n = {};
|
|
2058
2059
|
for (const o in e)
|
|
2059
2060
|
n[o] = o in t ? t[o] : e[o];
|
|
@@ -2082,7 +2083,7 @@ function Ps(e, t) {
|
|
|
2082
2083
|
let n = 0, o = t.length;
|
|
2083
2084
|
for (; n !== o; ) {
|
|
2084
2085
|
const a = n + o >> 1;
|
|
2085
|
-
|
|
2086
|
+
qo(e, t[a]) < 0 ? o = a : n = a + 1;
|
|
2086
2087
|
}
|
|
2087
2088
|
const r = Ds(e);
|
|
2088
2089
|
return r && (o = t.lastIndexOf(r, o - 1), process.env.NODE_ENV !== "production" && o < 0 && O(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)), o;
|
|
@@ -2090,7 +2091,7 @@ function Ps(e, t) {
|
|
|
2090
2091
|
function Ds(e) {
|
|
2091
2092
|
let t = e;
|
|
2092
2093
|
for (; t = t.parent; )
|
|
2093
|
-
if (zo(t) &&
|
|
2094
|
+
if (zo(t) && qo(e, t) === 0)
|
|
2094
2095
|
return t;
|
|
2095
2096
|
}
|
|
2096
2097
|
function zo({ record: e }) {
|
|
@@ -2111,7 +2112,7 @@ function As(e) {
|
|
|
2111
2112
|
}
|
|
2112
2113
|
return t;
|
|
2113
2114
|
}
|
|
2114
|
-
function
|
|
2115
|
+
function qn(e) {
|
|
2115
2116
|
let t = "";
|
|
2116
2117
|
for (let n in e) {
|
|
2117
2118
|
const o = e[n];
|
|
@@ -2119,7 +2120,7 @@ function Gn(e) {
|
|
|
2119
2120
|
o !== void 0 && (t += (t.length ? "&" : "") + n);
|
|
2120
2121
|
continue;
|
|
2121
2122
|
}
|
|
2122
|
-
(Y(o) ? o.map((r) => r &&
|
|
2123
|
+
(Y(o) ? o.map((r) => r && qt(r)) : [o && qt(o)]).forEach((r) => {
|
|
2123
2124
|
r !== void 0 && (t += (t.length ? "&" : "") + n, r != null && (t += "=" + r));
|
|
2124
2125
|
});
|
|
2125
2126
|
}
|
|
@@ -2256,7 +2257,7 @@ function Hn(e) {
|
|
|
2256
2257
|
return Us(d) ? t[k(e.replace) ? "replace" : "push"](
|
|
2257
2258
|
k(e.to)
|
|
2258
2259
|
// avoid uncaught errors are they are logged anyway
|
|
2259
|
-
).catch(
|
|
2260
|
+
).catch(Ge) : Promise.resolve();
|
|
2260
2261
|
}
|
|
2261
2262
|
if (process.env.NODE_ENV !== "production" && le) {
|
|
2262
2263
|
const d = wt();
|
|
@@ -2361,7 +2362,7 @@ const Kn = (e, t, n) => e ?? t ?? n, Ws = /* @__PURE__ */ Z({
|
|
|
2361
2362
|
// https://github.com/vuejs/router/issues/1315
|
|
2362
2363
|
compatConfig: { MODE: 3 },
|
|
2363
2364
|
setup(e, { attrs: t, slots: n }) {
|
|
2364
|
-
process.env.NODE_ENV !== "production" &&
|
|
2365
|
+
process.env.NODE_ENV !== "production" && Gs();
|
|
2365
2366
|
const o = ae(Kt), r = V(() => e.route || o.value), a = ae(zn, 0), i = V(() => {
|
|
2366
2367
|
let u = k(a);
|
|
2367
2368
|
const { matched: d } = r.value;
|
|
@@ -2412,7 +2413,7 @@ function Yn(e, t) {
|
|
|
2412
2413
|
return n.length === 1 ? n[0] : n;
|
|
2413
2414
|
}
|
|
2414
2415
|
const Fs = Ws;
|
|
2415
|
-
function
|
|
2416
|
+
function Gs() {
|
|
2416
2417
|
const e = wt(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
|
|
2417
2418
|
if (t && (t === "KeepAlive" || t.includes("Transition")) && typeof n == "object" && n.name === "RouterView") {
|
|
2418
2419
|
const o = t === "KeepAlive" ? "keep-alive" : "transition";
|
|
@@ -2448,12 +2449,12 @@ function ot(e) {
|
|
|
2448
2449
|
}
|
|
2449
2450
|
};
|
|
2450
2451
|
}
|
|
2451
|
-
let
|
|
2452
|
+
let qs = 0;
|
|
2452
2453
|
function zs(e, t, n) {
|
|
2453
2454
|
if (t.__hasDevtools)
|
|
2454
2455
|
return;
|
|
2455
2456
|
t.__hasDevtools = !0;
|
|
2456
|
-
const o =
|
|
2457
|
+
const o = qs++;
|
|
2457
2458
|
cn({
|
|
2458
2459
|
id: "org.vuejs.router" + (o ? "." + o : ""),
|
|
2459
2460
|
label: "Vue Router",
|
|
@@ -2695,7 +2696,7 @@ function ti(e, t) {
|
|
|
2695
2696
|
return n;
|
|
2696
2697
|
}
|
|
2697
2698
|
function ni(e) {
|
|
2698
|
-
const t = $s(e.routes, e), n = e.parseQuery || As, o = e.stringifyQuery ||
|
|
2699
|
+
const t = $s(e.routes, e), n = e.parseQuery || As, o = e.stringifyQuery || qn, r = e.history;
|
|
2699
2700
|
if (process.env.NODE_ENV !== "production" && !r)
|
|
2700
2701
|
throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.');
|
|
2701
2702
|
const a = Me(), i = Me(), s = Me(), l = Or(me);
|
|
@@ -2707,7 +2708,7 @@ function ni(e) {
|
|
|
2707
2708
|
);
|
|
2708
2709
|
function f(h, y) {
|
|
2709
2710
|
let g, _;
|
|
2710
|
-
return
|
|
2711
|
+
return Go(h) ? (g = t.getRecordMatcher(h), process.env.NODE_ENV !== "production" && !g && O(`Parent route "${String(h)}" not found when adding child route`, y), _ = y) : _ = h, t.addRoute(_, g);
|
|
2711
2712
|
}
|
|
2712
2713
|
function m(h) {
|
|
2713
2714
|
const y = t.getRecordMatcher(h);
|
|
@@ -2763,7 +2764,7 @@ function ni(e) {
|
|
|
2763
2764
|
// numbers at `$route.query`, but at the point, the user will have to
|
|
2764
2765
|
// use their own type anyway.
|
|
2765
2766
|
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
|
|
2766
|
-
o ===
|
|
2767
|
+
o === qn ? Ts(h.query) : h.query || {}
|
|
2767
2768
|
)
|
|
2768
2769
|
}, _, {
|
|
2769
2770
|
redirectedFrom: void 0,
|
|
@@ -2938,7 +2939,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2938
2939
|
te || (te = r.listen((h, y, g) => {
|
|
2939
2940
|
const _ = P(h), D = ee(_);
|
|
2940
2941
|
if (D) {
|
|
2941
|
-
E(A(D, { replace: !0 }), _).catch(
|
|
2942
|
+
E(A(D, { replace: !0 }), _).catch(Ge);
|
|
2942
2943
|
return;
|
|
2943
2944
|
}
|
|
2944
2945
|
u = _;
|
|
@@ -2961,7 +2962,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2961
2962
|
20
|
|
2962
2963
|
/* ErrorTypes.NAVIGATION_DUPLICATED */
|
|
2963
2964
|
) && !g.delta && g.type === Xe.pop && r.go(-1, !1);
|
|
2964
|
-
}).catch(
|
|
2965
|
+
}).catch(Ge), Promise.reject()) : (g.delta && r.go(-g.delta, !1), Ot(C, _, U))).then((C) => {
|
|
2965
2966
|
C = C || J(
|
|
2966
2967
|
// after navigation, all matched components are resolved
|
|
2967
2968
|
_,
|
|
@@ -2978,7 +2979,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2978
2979
|
20
|
|
2979
2980
|
/* ErrorTypes.NAVIGATION_DUPLICATED */
|
|
2980
2981
|
) && r.go(-1, !1)), L(_, U, C);
|
|
2981
|
-
}).catch(
|
|
2982
|
+
}).catch(Ge);
|
|
2982
2983
|
}));
|
|
2983
2984
|
}
|
|
2984
2985
|
let Ve = Me(), he = Me(), F;
|
|
@@ -3442,7 +3443,7 @@ var Fi = {
|
|
|
3442
3443
|
type: ji,
|
|
3443
3444
|
averageResponseTime: Wi,
|
|
3444
3445
|
microSeconds: Ai
|
|
3445
|
-
},
|
|
3446
|
+
}, Gi = Et, qi = "simulate", gn = /* @__PURE__ */ new Set();
|
|
3446
3447
|
function zi(e) {
|
|
3447
3448
|
var t = {
|
|
3448
3449
|
name: e,
|
|
@@ -3484,9 +3485,9 @@ var Xi = {
|
|
|
3484
3485
|
onMessage: Ki,
|
|
3485
3486
|
postMessage: Ji,
|
|
3486
3487
|
canBeUsed: Yi,
|
|
3487
|
-
type:
|
|
3488
|
+
type: qi,
|
|
3488
3489
|
averageResponseTime: Qi,
|
|
3489
|
-
microSeconds:
|
|
3490
|
+
microSeconds: Gi
|
|
3490
3491
|
}, Xn = [
|
|
3491
3492
|
hi,
|
|
3492
3493
|
// fastest
|
|
@@ -4575,17 +4576,17 @@ function Fl() {
|
|
|
4575
4576
|
};
|
|
4576
4577
|
}
|
|
4577
4578
|
Fl();
|
|
4578
|
-
var
|
|
4579
|
+
var G = [];
|
|
4579
4580
|
for (var Mt = 0; Mt < 256; ++Mt)
|
|
4580
|
-
|
|
4581
|
-
function
|
|
4582
|
-
return (
|
|
4581
|
+
G.push((Mt + 256).toString(16).slice(1));
|
|
4582
|
+
function Gl(e, t = 0) {
|
|
4583
|
+
return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
|
|
4583
4584
|
}
|
|
4584
|
-
var at,
|
|
4585
|
+
var at, ql = new Uint8Array(16);
|
|
4585
4586
|
function zl() {
|
|
4586
4587
|
if (!at && (at = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !at))
|
|
4587
4588
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
4588
|
-
return at(
|
|
4589
|
+
return at(ql);
|
|
4589
4590
|
}
|
|
4590
4591
|
var Hl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
4591
4592
|
const mo = {
|
|
@@ -4602,7 +4603,7 @@ function Jl(e, t, n) {
|
|
|
4602
4603
|
t[n + r] = o[r];
|
|
4603
4604
|
return t;
|
|
4604
4605
|
}
|
|
4605
|
-
return
|
|
4606
|
+
return Gl(o);
|
|
4606
4607
|
}
|
|
4607
4608
|
class Kl {
|
|
4608
4609
|
constructor(t, n, o, r, a, i) {
|