@stonecrop/desktop 0.4.13 → 0.4.15
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.css +1 -1
- package/dist/desktop.js +542 -545
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs +9 -9
- package/dist/desktop.umd.cjs.map +1 -1
- package/package.json +5 -5
package/dist/desktop.js
CHANGED
|
@@ -30,7 +30,7 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
|
|
|
30
30
|
L("div", Vs, [
|
|
31
31
|
L("div", {
|
|
32
32
|
id: "chevron",
|
|
33
|
-
onClick: d[0] || (d[0] = (
|
|
33
|
+
onClick: d[0] || (d[0] = (p) => a.value = !a.value)
|
|
34
34
|
}, d[1] || (d[1] = [
|
|
35
35
|
L("svg", {
|
|
36
36
|
class: "leftBar",
|
|
@@ -65,39 +65,39 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
|
|
|
65
65
|
]))
|
|
66
66
|
]),
|
|
67
67
|
d[2] || (d[2] = L("div", { style: { "margin-right": "30px" } }, null, -1)),
|
|
68
|
-
(V(!0), A(Ee, null, Pe(t.value, (
|
|
68
|
+
(V(!0), A(Ee, null, Pe(t.value, (p, _) => (V(), A("div", {
|
|
69
69
|
class: "action-element",
|
|
70
|
-
key:
|
|
70
|
+
key: p.label
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
p.type == "button" ? (V(), A("button", {
|
|
73
73
|
key: 0,
|
|
74
|
-
onclick:
|
|
74
|
+
onclick: p.action,
|
|
75
75
|
class: "button-default"
|
|
76
|
-
}, _e(
|
|
77
|
-
|
|
76
|
+
}, _e(p.label), 9, Cs)) : ue("", !0),
|
|
77
|
+
p.type == "dropdown" ? (V(), A("div", Ns, [
|
|
78
78
|
L("button", {
|
|
79
79
|
class: "button-default",
|
|
80
|
-
onClick: (
|
|
81
|
-
}, _e(
|
|
80
|
+
onClick: (f) => c(_)
|
|
81
|
+
}, _e(p.label), 9, Ds),
|
|
82
82
|
st(L("div", As, [
|
|
83
83
|
L("div", xs, [
|
|
84
|
-
(V(!0), A(Ee, null, Pe(
|
|
85
|
-
key:
|
|
84
|
+
(V(!0), A(Ee, null, Pe(p.actions, (f) => (V(), A("div", {
|
|
85
|
+
key: f.label
|
|
86
86
|
}, [
|
|
87
|
-
|
|
87
|
+
f.action != null ? (V(), A("button", {
|
|
88
88
|
key: 0,
|
|
89
|
-
onclick:
|
|
89
|
+
onclick: f.action,
|
|
90
90
|
class: "dropdown-item"
|
|
91
|
-
}, _e(
|
|
91
|
+
}, _e(f.label), 9, $s)) : f.link != null ? (V(), A("a", {
|
|
92
92
|
key: 1,
|
|
93
|
-
href:
|
|
93
|
+
href: f.link
|
|
94
94
|
}, [
|
|
95
|
-
L("button", Ls, _e(
|
|
95
|
+
L("button", Ls, _e(f.label), 1)
|
|
96
96
|
], 8, Rs)) : ue("", !0)
|
|
97
97
|
]))), 128))
|
|
98
98
|
])
|
|
99
99
|
], 512), [
|
|
100
|
-
[_n,
|
|
100
|
+
[_n, p.show]
|
|
101
101
|
])
|
|
102
102
|
])) : ue("", !0)
|
|
103
103
|
]))), 128))
|
|
@@ -177,8 +177,8 @@ function Zs(...e) {
|
|
|
177
177
|
const d = Ws(u) ? { ...u } : u;
|
|
178
178
|
t.push(
|
|
179
179
|
...i.flatMap(
|
|
180
|
-
(
|
|
181
|
-
(
|
|
180
|
+
(p) => l.flatMap(
|
|
181
|
+
(_) => c.map((f) => o(p, _, f, d))
|
|
182
182
|
)
|
|
183
183
|
)
|
|
184
184
|
);
|
|
@@ -485,113 +485,113 @@ var la = Object.create, cr = Object.defineProperty, ca = Object.getOwnPropertyDe
|
|
|
485
485
|
function o(a) {
|
|
486
486
|
if (a = a || {}, a.circles) return r(a);
|
|
487
487
|
const s = /* @__PURE__ */ new Map();
|
|
488
|
-
if (s.set(Date, (d) => new Date(d)), s.set(Map, (d,
|
|
488
|
+
if (s.set(Date, (d) => new Date(d)), s.set(Map, (d, p) => new Map(l(Array.from(d), p))), s.set(Set, (d, p) => new Set(l(Array.from(d), p))), a.constructorHandlers)
|
|
489
489
|
for (const d of a.constructorHandlers)
|
|
490
490
|
s.set(d[0], d[1]);
|
|
491
491
|
let i = null;
|
|
492
492
|
return a.proto ? u : c;
|
|
493
|
-
function l(d,
|
|
494
|
-
const
|
|
495
|
-
for (let
|
|
496
|
-
const
|
|
497
|
-
typeof b != "object" || b === null ?
|
|
493
|
+
function l(d, p) {
|
|
494
|
+
const _ = Object.keys(d), f = new Array(_.length);
|
|
495
|
+
for (let E = 0; E < _.length; E++) {
|
|
496
|
+
const m = _[E], b = d[m];
|
|
497
|
+
typeof b != "object" || b === null ? f[m] = b : b.constructor !== Object && (i = s.get(b.constructor)) ? f[m] = i(b, p) : ArrayBuffer.isView(b) ? f[m] = n(b) : f[m] = p(b);
|
|
498
498
|
}
|
|
499
|
-
return
|
|
499
|
+
return f;
|
|
500
500
|
}
|
|
501
501
|
function c(d) {
|
|
502
502
|
if (typeof d != "object" || d === null) return d;
|
|
503
503
|
if (Array.isArray(d)) return l(d, c);
|
|
504
504
|
if (d.constructor !== Object && (i = s.get(d.constructor)))
|
|
505
505
|
return i(d, c);
|
|
506
|
-
const
|
|
507
|
-
for (const
|
|
508
|
-
if (Object.hasOwnProperty.call(d,
|
|
509
|
-
const
|
|
510
|
-
typeof
|
|
506
|
+
const p = {};
|
|
507
|
+
for (const _ in d) {
|
|
508
|
+
if (Object.hasOwnProperty.call(d, _) === !1) continue;
|
|
509
|
+
const f = d[_];
|
|
510
|
+
typeof f != "object" || f === null ? p[_] = f : f.constructor !== Object && (i = s.get(f.constructor)) ? p[_] = i(f, c) : ArrayBuffer.isView(f) ? p[_] = n(f) : p[_] = c(f);
|
|
511
511
|
}
|
|
512
|
-
return
|
|
512
|
+
return p;
|
|
513
513
|
}
|
|
514
514
|
function u(d) {
|
|
515
515
|
if (typeof d != "object" || d === null) return d;
|
|
516
516
|
if (Array.isArray(d)) return l(d, u);
|
|
517
517
|
if (d.constructor !== Object && (i = s.get(d.constructor)))
|
|
518
518
|
return i(d, u);
|
|
519
|
-
const
|
|
520
|
-
for (const
|
|
521
|
-
const
|
|
522
|
-
typeof
|
|
519
|
+
const p = {};
|
|
520
|
+
for (const _ in d) {
|
|
521
|
+
const f = d[_];
|
|
522
|
+
typeof f != "object" || f === null ? p[_] = f : f.constructor !== Object && (i = s.get(f.constructor)) ? p[_] = i(f, u) : ArrayBuffer.isView(f) ? p[_] = n(f) : p[_] = u(f);
|
|
523
523
|
}
|
|
524
|
-
return
|
|
524
|
+
return p;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
function r(a) {
|
|
528
528
|
const s = [], i = [], l = /* @__PURE__ */ new Map();
|
|
529
|
-
if (l.set(Date, (
|
|
530
|
-
for (const
|
|
531
|
-
l.set(
|
|
529
|
+
if (l.set(Date, (_) => new Date(_)), l.set(Map, (_, f) => new Map(u(Array.from(_), f))), l.set(Set, (_, f) => new Set(u(Array.from(_), f))), a.constructorHandlers)
|
|
530
|
+
for (const _ of a.constructorHandlers)
|
|
531
|
+
l.set(_[0], _[1]);
|
|
532
532
|
let c = null;
|
|
533
|
-
return a.proto ?
|
|
534
|
-
function u(
|
|
535
|
-
const
|
|
536
|
-
for (let b = 0; b <
|
|
537
|
-
const S =
|
|
533
|
+
return a.proto ? p : d;
|
|
534
|
+
function u(_, f) {
|
|
535
|
+
const E = Object.keys(_), m = new Array(E.length);
|
|
536
|
+
for (let b = 0; b < E.length; b++) {
|
|
537
|
+
const S = E[b], x = _[S];
|
|
538
538
|
if (typeof x != "object" || x === null)
|
|
539
|
-
|
|
539
|
+
m[S] = x;
|
|
540
540
|
else if (x.constructor !== Object && (c = l.get(x.constructor)))
|
|
541
|
-
|
|
541
|
+
m[S] = c(x, f);
|
|
542
542
|
else if (ArrayBuffer.isView(x))
|
|
543
|
-
|
|
543
|
+
m[S] = n(x);
|
|
544
544
|
else {
|
|
545
545
|
const M = s.indexOf(x);
|
|
546
|
-
M !== -1 ?
|
|
546
|
+
M !== -1 ? m[S] = i[M] : m[S] = f(x);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
return
|
|
549
|
+
return m;
|
|
550
550
|
}
|
|
551
|
-
function d(
|
|
552
|
-
if (typeof
|
|
553
|
-
if (Array.isArray(
|
|
554
|
-
if (
|
|
555
|
-
return c(
|
|
556
|
-
const
|
|
557
|
-
s.push(
|
|
558
|
-
for (const
|
|
559
|
-
if (Object.hasOwnProperty.call(
|
|
560
|
-
const
|
|
561
|
-
if (typeof
|
|
562
|
-
|
|
563
|
-
else if (
|
|
564
|
-
|
|
565
|
-
else if (ArrayBuffer.isView(
|
|
566
|
-
|
|
551
|
+
function d(_) {
|
|
552
|
+
if (typeof _ != "object" || _ === null) return _;
|
|
553
|
+
if (Array.isArray(_)) return u(_, d);
|
|
554
|
+
if (_.constructor !== Object && (c = l.get(_.constructor)))
|
|
555
|
+
return c(_, d);
|
|
556
|
+
const f = {};
|
|
557
|
+
s.push(_), i.push(f);
|
|
558
|
+
for (const E in _) {
|
|
559
|
+
if (Object.hasOwnProperty.call(_, E) === !1) continue;
|
|
560
|
+
const m = _[E];
|
|
561
|
+
if (typeof m != "object" || m === null)
|
|
562
|
+
f[E] = m;
|
|
563
|
+
else if (m.constructor !== Object && (c = l.get(m.constructor)))
|
|
564
|
+
f[E] = c(m, d);
|
|
565
|
+
else if (ArrayBuffer.isView(m))
|
|
566
|
+
f[E] = n(m);
|
|
567
567
|
else {
|
|
568
|
-
const b = s.indexOf(
|
|
569
|
-
b !== -1 ?
|
|
568
|
+
const b = s.indexOf(m);
|
|
569
|
+
b !== -1 ? f[E] = i[b] : f[E] = d(m);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
return s.pop(), i.pop(),
|
|
572
|
+
return s.pop(), i.pop(), f;
|
|
573
573
|
}
|
|
574
|
-
function
|
|
575
|
-
if (typeof
|
|
576
|
-
if (Array.isArray(
|
|
577
|
-
if (
|
|
578
|
-
return c(
|
|
579
|
-
const
|
|
580
|
-
s.push(
|
|
581
|
-
for (const
|
|
582
|
-
const
|
|
583
|
-
if (typeof
|
|
584
|
-
|
|
585
|
-
else if (
|
|
586
|
-
|
|
587
|
-
else if (ArrayBuffer.isView(
|
|
588
|
-
|
|
574
|
+
function p(_) {
|
|
575
|
+
if (typeof _ != "object" || _ === null) return _;
|
|
576
|
+
if (Array.isArray(_)) return u(_, p);
|
|
577
|
+
if (_.constructor !== Object && (c = l.get(_.constructor)))
|
|
578
|
+
return c(_, p);
|
|
579
|
+
const f = {};
|
|
580
|
+
s.push(_), i.push(f);
|
|
581
|
+
for (const E in _) {
|
|
582
|
+
const m = _[E];
|
|
583
|
+
if (typeof m != "object" || m === null)
|
|
584
|
+
f[E] = m;
|
|
585
|
+
else if (m.constructor !== Object && (c = l.get(m.constructor)))
|
|
586
|
+
f[E] = c(m, p);
|
|
587
|
+
else if (ArrayBuffer.isView(m))
|
|
588
|
+
f[E] = n(m);
|
|
589
589
|
else {
|
|
590
|
-
const b = s.indexOf(
|
|
591
|
-
b !== -1 ?
|
|
590
|
+
const b = s.indexOf(m);
|
|
591
|
+
b !== -1 ? f[E] = i[b] : f[E] = p(m);
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
return s.pop(), i.pop(),
|
|
594
|
+
return s.pop(), i.pop(), f;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
}
|
|
@@ -640,9 +640,9 @@ function He(e, t = 25, n = {}) {
|
|
|
640
640
|
const d = !r && n.leading;
|
|
641
641
|
clearTimeout(r), r = setTimeout(() => {
|
|
642
642
|
r = null;
|
|
643
|
-
const
|
|
644
|
-
for (const
|
|
645
|
-
|
|
643
|
+
const p = n.leading ? o : l(this, c);
|
|
644
|
+
for (const _ of a)
|
|
645
|
+
_(p);
|
|
646
646
|
a = [];
|
|
647
647
|
}, t), d ? (o = l(this, c), u(o)) : a.push(u);
|
|
648
648
|
});
|
|
@@ -795,12 +795,12 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
|
|
|
795
795
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
796
796
|
pr(n, "default", { value: e, enumerable: !0 }),
|
|
797
797
|
e
|
|
798
|
-
)),
|
|
798
|
+
)), y = Aa({
|
|
799
799
|
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
|
|
800
800
|
}
|
|
801
801
|
}), Ra = hr({
|
|
802
802
|
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
|
|
803
|
-
|
|
803
|
+
y(), function(n) {
|
|
804
804
|
var o = {
|
|
805
805
|
// latin
|
|
806
806
|
À: "A",
|
|
@@ -2134,44 +2134,44 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
|
|
|
2134
2134
|
"∑": "tong",
|
|
2135
2135
|
"¤": "tien te"
|
|
2136
2136
|
}
|
|
2137
|
-
}, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(
|
|
2138
|
-
var b = "-", S = "", x = "", M = !0, U = {}, re, w, O, v,
|
|
2139
|
-
if (typeof
|
|
2137
|
+
}, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(E, m) {
|
|
2138
|
+
var b = "-", S = "", x = "", M = !0, U = {}, re, w, O, v, h, g, I, N, X, F, T, Z, D, H, me = "";
|
|
2139
|
+
if (typeof E != "string")
|
|
2140
2140
|
return "";
|
|
2141
|
-
if (typeof
|
|
2142
|
-
re =
|
|
2141
|
+
if (typeof m == "string" && (b = m), I = i.en, N = s.en, typeof m == "object") {
|
|
2142
|
+
re = m.maintainCase || !1, U = m.custom && typeof m.custom == "object" ? m.custom : U, O = +m.truncate > 1 && m.truncate || !1, v = m.uric || !1, h = m.uricNoSlash || !1, g = m.mark || !1, M = !(m.symbols === !1 || m.lang === !1), b = m.separator || b, v && (me += l), h && (me += c), g && (me += u), I = m.lang && i[m.lang] && M ? i[m.lang] : M ? i.en : {}, N = m.lang && s[m.lang] ? s[m.lang] : m.lang === !1 || m.lang === !0 ? {} : s.en, m.titleCase && typeof m.titleCase.length == "number" && Array.prototype.toString.call(m.titleCase) ? (m.titleCase.forEach(function(ne) {
|
|
2143
2143
|
U[ne + ""] = ne + "";
|
|
2144
|
-
}), w = !0) : w = !!
|
|
2144
|
+
}), w = !0) : w = !!m.titleCase, m.custom && typeof m.custom.length == "number" && Array.prototype.toString.call(m.custom) && m.custom.forEach(function(ne) {
|
|
2145
2145
|
U[ne + ""] = ne + "";
|
|
2146
2146
|
}), Object.keys(U).forEach(function(ne) {
|
|
2147
2147
|
var Xe;
|
|
2148
|
-
ne.length > 1 ? Xe = new RegExp("\\b" +
|
|
2148
|
+
ne.length > 1 ? Xe = new RegExp("\\b" + _(ne) + "\\b", "gi") : Xe = new RegExp(_(ne), "gi"), E = E.replace(Xe, U[ne]);
|
|
2149
2149
|
});
|
|
2150
2150
|
for (T in U)
|
|
2151
2151
|
me += T;
|
|
2152
2152
|
}
|
|
2153
|
-
for (me += b, me =
|
|
2154
|
-
T =
|
|
2153
|
+
for (me += b, me = _(me), E = E.replace(/(^\s+|\s+$)/g, ""), D = !1, H = !1, F = 0, Z = E.length; F < Z; F++)
|
|
2154
|
+
T = E[F], f(T, U) ? D = !1 : N[T] ? (T = D && N[T].match(/[A-Za-z0-9]/) ? " " + N[T] : N[T], D = !1) : T in o ? (F + 1 < Z && r.indexOf(E[F + 1]) >= 0 ? (x += T, T = "") : H === !0 ? (T = a[x] + o[T], x = "") : T = D && o[T].match(/[A-Za-z0-9]/) ? " " + o[T] : o[T], D = !1, H = !1) : T in a ? (x += T, T = "", F === Z - 1 && (T = a[x]), H = !0) : (
|
|
2155
2155
|
/* process symbol chars */
|
|
2156
|
-
I[T] && !(v && l.indexOf(T) !== -1) && !(
|
|
2156
|
+
I[T] && !(v && l.indexOf(T) !== -1) && !(h && c.indexOf(T) !== -1) ? (T = D || S.substr(-1).match(/[A-Za-z0-9]/) ? b + I[T] : I[T], T += E[F + 1] !== void 0 && E[F + 1].match(/[A-Za-z0-9]/) ? b : "", D = !0) : (H === !0 ? (T = a[x] + T, x = "", H = !1) : D && (/[A-Za-z0-9]/.test(T) || S.substr(-1).match(/A-Za-z0-9]/)) && (T = " " + T), D = !1)
|
|
2157
2157
|
), S += T.replace(new RegExp("[^\\w\\s" + me + "_-]", "g"), b);
|
|
2158
2158
|
return w && (S = S.replace(/(\w)(\S*)/g, function(ne, Xe, Wn) {
|
|
2159
2159
|
var zt = Xe.toUpperCase() + (Wn !== null ? Wn : "");
|
|
2160
2160
|
return Object.keys(U).indexOf(zt.toLowerCase()) < 0 ? zt : zt.toLowerCase();
|
|
2161
2161
|
})), S = S.replace(/\s+/g, b).replace(new RegExp("\\" + b + "+", "g"), b).replace(new RegExp("(^\\" + b + "+|\\" + b + "+$)", "g"), ""), O && S.length > O && (X = S.charAt(O) === b, S = S.slice(0, O), X || (S = S.slice(0, S.lastIndexOf(b)))), !re && !w && (S = S.toLowerCase()), S;
|
|
2162
|
-
},
|
|
2163
|
-
return function(
|
|
2164
|
-
return d(
|
|
2162
|
+
}, p = function(E) {
|
|
2163
|
+
return function(m) {
|
|
2164
|
+
return d(m, E);
|
|
2165
2165
|
};
|
|
2166
|
-
},
|
|
2167
|
-
return
|
|
2168
|
-
},
|
|
2169
|
-
for (var b in
|
|
2170
|
-
if (
|
|
2166
|
+
}, _ = function(E) {
|
|
2167
|
+
return E.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
|
|
2168
|
+
}, f = function(E, m) {
|
|
2169
|
+
for (var b in m)
|
|
2170
|
+
if (m[b] === E)
|
|
2171
2171
|
return !0;
|
|
2172
2172
|
};
|
|
2173
2173
|
if (typeof t < "u" && t.exports)
|
|
2174
|
-
t.exports = d, t.exports.createSlug =
|
|
2174
|
+
t.exports = d, t.exports.createSlug = p;
|
|
2175
2175
|
else if (typeof define < "u" && define.amd)
|
|
2176
2176
|
define([], function() {
|
|
2177
2177
|
return d;
|
|
@@ -2180,24 +2180,24 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
|
|
|
2180
2180
|
try {
|
|
2181
2181
|
if (n.getSlug || n.createSlug)
|
|
2182
2182
|
throw "speakingurl: globals exists /(getSlug|createSlug)/";
|
|
2183
|
-
n.getSlug = d, n.createSlug =
|
|
2183
|
+
n.getSlug = d, n.createSlug = p;
|
|
2184
2184
|
} catch {
|
|
2185
2185
|
}
|
|
2186
2186
|
}(e);
|
|
2187
2187
|
}
|
|
2188
2188
|
}), La = hr({
|
|
2189
2189
|
"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
|
|
2190
|
-
|
|
2190
|
+
y(), t.exports = Ra();
|
|
2191
2191
|
}
|
|
2192
2192
|
});
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2193
|
+
y();
|
|
2194
|
+
y();
|
|
2195
|
+
y();
|
|
2196
|
+
y();
|
|
2197
|
+
y();
|
|
2198
|
+
y();
|
|
2199
|
+
y();
|
|
2200
|
+
y();
|
|
2201
2201
|
function ja(e) {
|
|
2202
2202
|
var t;
|
|
2203
2203
|
const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
|
|
@@ -2296,7 +2296,7 @@ function Ce(e) {
|
|
|
2296
2296
|
const t = e.subTree.el;
|
|
2297
2297
|
return typeof window > "u" ? Xn : mr(e) ? Ba(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? Ce(e.subTree.component) : Xn;
|
|
2298
2298
|
}
|
|
2299
|
-
|
|
2299
|
+
y();
|
|
2300
2300
|
function On(e) {
|
|
2301
2301
|
return mr(e) ? Wa(e.subTree) : e.subTree ? [e.subTree.el] : [];
|
|
2302
2302
|
}
|
|
@@ -2458,7 +2458,7 @@ function ti(e) {
|
|
|
2458
2458
|
}, 1200);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
|
|
2461
|
+
y();
|
|
2462
2462
|
var Zn;
|
|
2463
2463
|
(Zn = k).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (Zn.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
|
|
2464
2464
|
function ni(e) {
|
|
@@ -2484,8 +2484,8 @@ function ri() {
|
|
|
2484
2484
|
});
|
|
2485
2485
|
});
|
|
2486
2486
|
}
|
|
2487
|
-
|
|
2488
|
-
|
|
2487
|
+
y();
|
|
2488
|
+
y();
|
|
2489
2489
|
function si(e) {
|
|
2490
2490
|
return !!(e && e.__v_isReadonly);
|
|
2491
2491
|
}
|
|
@@ -2567,9 +2567,9 @@ var ai = class {
|
|
|
2567
2567
|
return Gt(e) || wr(e);
|
|
2568
2568
|
}
|
|
2569
2569
|
};
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2570
|
+
y();
|
|
2571
|
+
y();
|
|
2572
|
+
y();
|
|
2573
2573
|
var li = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
|
|
2574
2574
|
function ci() {
|
|
2575
2575
|
if (!ur || typeof localStorage > "u" || localStorage === null)
|
|
@@ -2591,9 +2591,9 @@ function ci() {
|
|
|
2591
2591
|
selected: ""
|
|
2592
2592
|
};
|
|
2593
2593
|
}
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2594
|
+
y();
|
|
2595
|
+
y();
|
|
2596
|
+
y();
|
|
2597
2597
|
var Qn;
|
|
2598
2598
|
(Qn = k).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (Qn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
|
|
2599
2599
|
var ui = new Proxy(k.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
|
|
@@ -2819,8 +2819,8 @@ function gi(e = {}) {
|
|
|
2819
2819
|
const c = r.replace(/\\/g, "\\\\"), u = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
|
|
2820
2820
|
fetch(`${u}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
|
|
2821
2821
|
if (!d.ok) {
|
|
2822
|
-
const
|
|
2823
|
-
console.log(`%c${
|
|
2822
|
+
const p = `Opening component ${c} failed`;
|
|
2823
|
+
console.log(`%c${p}`, "color:red");
|
|
2824
2824
|
}
|
|
2825
2825
|
});
|
|
2826
2826
|
} else if (z.vitePluginDetected) {
|
|
@@ -2829,11 +2829,11 @@ function gi(e = {}) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2832
|
+
y();
|
|
2833
|
+
y();
|
|
2834
|
+
y();
|
|
2835
|
+
y();
|
|
2836
|
+
y();
|
|
2837
2837
|
var io;
|
|
2838
2838
|
(io = k).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (io.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
|
|
2839
2839
|
var Pn = new Proxy(k.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
|
|
@@ -2895,17 +2895,17 @@ function bi(e, t, n) {
|
|
|
2895
2895
|
/* SET_PLUGIN_SETTINGS */
|
|
2896
2896
|
);
|
|
2897
2897
|
}
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2898
|
+
y();
|
|
2899
|
+
y();
|
|
2900
|
+
y();
|
|
2901
|
+
y();
|
|
2902
|
+
y();
|
|
2903
|
+
y();
|
|
2904
|
+
y();
|
|
2905
|
+
y();
|
|
2906
|
+
y();
|
|
2907
|
+
y();
|
|
2908
|
+
y();
|
|
2909
2909
|
var lo, co, q = (co = (lo = k).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVTOOLS_HOOK = fr(), wi = {
|
|
2910
2910
|
vueAppInit(e) {
|
|
2911
2911
|
q.hook("app:init", e);
|
|
@@ -3055,13 +3055,13 @@ var lo, co, q = (co = (lo = k).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVT
|
|
|
3055
3055
|
);
|
|
3056
3056
|
}
|
|
3057
3057
|
}, ki = Oi;
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3058
|
+
y();
|
|
3059
|
+
y();
|
|
3060
|
+
y();
|
|
3061
|
+
y();
|
|
3062
3062
|
var Si = "__vue_devtool_undefined__", Ii = "__vue_devtool_infinity__", Ti = "__vue_devtool_negative_infinity__", Pi = "__vue_devtool_nan__";
|
|
3063
|
-
|
|
3064
|
-
|
|
3063
|
+
y();
|
|
3064
|
+
y();
|
|
3065
3065
|
var Vi = {
|
|
3066
3066
|
[Si]: "undefined",
|
|
3067
3067
|
[Pi]: "NaN",
|
|
@@ -3069,11 +3069,11 @@ var Vi = {
|
|
|
3069
3069
|
[Ti]: "-Infinity"
|
|
3070
3070
|
};
|
|
3071
3071
|
Object.entries(Vi).reduce((e, [t, n]) => (e[n] = t, e), {});
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3072
|
+
y();
|
|
3073
|
+
y();
|
|
3074
|
+
y();
|
|
3075
|
+
y();
|
|
3076
|
+
y();
|
|
3077
3077
|
var uo;
|
|
3078
3078
|
(uo = k).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (uo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
|
|
3079
3079
|
function Pr(e, t) {
|
|
@@ -3099,8 +3099,8 @@ function Vr(e, t) {
|
|
|
3099
3099
|
Ci(n, e);
|
|
3100
3100
|
}));
|
|
3101
3101
|
}
|
|
3102
|
-
|
|
3103
|
-
|
|
3102
|
+
y();
|
|
3103
|
+
y();
|
|
3104
3104
|
var at = "__VUE_DEVTOOLS_ROUTER__", ze = "__VUE_DEVTOOLS_ROUTER_INFO__", fo;
|
|
3105
3105
|
(fo = k)[ze] != null || (fo[ze] = {
|
|
3106
3106
|
currentRoute: null,
|
|
@@ -3274,7 +3274,7 @@ function xi(e) {
|
|
|
3274
3274
|
}
|
|
3275
3275
|
};
|
|
3276
3276
|
}
|
|
3277
|
-
|
|
3277
|
+
y();
|
|
3278
3278
|
var ho;
|
|
3279
3279
|
(ho = k).__VUE_DEVTOOLS_ENV__ != null || (ho.__VUE_DEVTOOLS_ENV__ = {
|
|
3280
3280
|
vitePluginDetected: !1
|
|
@@ -3293,20 +3293,20 @@ var mo = pi(), _o;
|
|
|
3293
3293
|
api: xi(mo)
|
|
3294
3294
|
});
|
|
3295
3295
|
var qe = k.__VUE_DEVTOOLS_KIT_CONTEXT__;
|
|
3296
|
-
|
|
3296
|
+
y();
|
|
3297
3297
|
$a(La());
|
|
3298
3298
|
var vo;
|
|
3299
3299
|
(vo = k).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (vo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
|
|
3300
3300
|
id: 0,
|
|
3301
3301
|
appIds: /* @__PURE__ */ new Set()
|
|
3302
3302
|
});
|
|
3303
|
-
|
|
3303
|
+
y();
|
|
3304
3304
|
function $i(e) {
|
|
3305
3305
|
z.highPerfModeEnabled = e ?? !z.highPerfModeEnabled, !e && Y.value && Vr(Y.value.app);
|
|
3306
3306
|
}
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3307
|
+
y();
|
|
3308
|
+
y();
|
|
3309
|
+
y();
|
|
3310
3310
|
function Ri(e) {
|
|
3311
3311
|
z.devtoolsClientDetected = {
|
|
3312
3312
|
...z.devtoolsClientDetected,
|
|
@@ -3317,13 +3317,13 @@ function Ri(e) {
|
|
|
3317
3317
|
}
|
|
3318
3318
|
var go;
|
|
3319
3319
|
(go = k).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (go.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Ri);
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3320
|
+
y();
|
|
3321
|
+
y();
|
|
3322
|
+
y();
|
|
3323
|
+
y();
|
|
3324
|
+
y();
|
|
3325
|
+
y();
|
|
3326
|
+
y();
|
|
3327
3327
|
var Li = class {
|
|
3328
3328
|
constructor() {
|
|
3329
3329
|
this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
|
|
@@ -3367,8 +3367,8 @@ var Li = class {
|
|
|
3367
3367
|
return this.classToAllowedProps.get(e);
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
|
-
|
|
3371
|
-
|
|
3370
|
+
y();
|
|
3371
|
+
y();
|
|
3372
3372
|
function Ui(e) {
|
|
3373
3373
|
if ("values" in Object)
|
|
3374
3374
|
return Object.values(e);
|
|
@@ -3415,10 +3415,10 @@ var Hi = class {
|
|
|
3415
3415
|
return this.transfomers[e];
|
|
3416
3416
|
}
|
|
3417
3417
|
};
|
|
3418
|
-
|
|
3419
|
-
|
|
3418
|
+
y();
|
|
3419
|
+
y();
|
|
3420
3420
|
var zi = (e) => Object.prototype.toString.call(e).slice(8, -1), Nr = (e) => typeof e > "u", Bi = (e) => e === null, it = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, an = (e) => it(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), Ki = (e) => typeof e == "string", Wi = (e) => typeof e == "number" && !isNaN(e), Fi = (e) => typeof e == "boolean", Gi = (e) => e instanceof RegExp, lt = (e) => e instanceof Map, ct = (e) => e instanceof Set, Dr = (e) => zi(e) === "Symbol", Yi = (e) => e instanceof Date && !isNaN(e.valueOf()), qi = (e) => e instanceof Error, Eo = (e) => typeof e == "number" && isNaN(e), Ji = (e) => Fi(e) || Bi(e) || Nr(e) || Wi(e) || Ki(e) || Dr(e), Xi = (e) => typeof e == "bigint", Zi = (e) => e === 1 / 0 || e === -1 / 0, Qi = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), el = (e) => e instanceof URL;
|
|
3421
|
-
|
|
3421
|
+
y();
|
|
3422
3422
|
var Ar = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(Ar).join("."), ot = (e) => {
|
|
3423
3423
|
const t = [];
|
|
3424
3424
|
let n = "";
|
|
@@ -3437,7 +3437,7 @@ var Ar = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(Ar).join(
|
|
|
3437
3437
|
const o = n;
|
|
3438
3438
|
return t.push(o), t;
|
|
3439
3439
|
};
|
|
3440
|
-
|
|
3440
|
+
y();
|
|
3441
3441
|
function se(e, t, n, o) {
|
|
3442
3442
|
return {
|
|
3443
3443
|
isApplicable: e,
|
|
@@ -3570,7 +3570,7 @@ var ol = (e, t, n) => {
|
|
|
3570
3570
|
return o.untransform(e, n);
|
|
3571
3571
|
}
|
|
3572
3572
|
};
|
|
3573
|
-
|
|
3573
|
+
y();
|
|
3574
3574
|
var Le = (e, t) => {
|
|
3575
3575
|
if (t > e.size)
|
|
3576
3576
|
throw new Error("index out of bounds");
|
|
@@ -3710,45 +3710,45 @@ var zr = (e, t, n, o, r = [], a = [], s = /* @__PURE__ */ new Map()) => {
|
|
|
3710
3710
|
const l = Ji(e);
|
|
3711
3711
|
if (!l) {
|
|
3712
3712
|
ll(e, r, t);
|
|
3713
|
-
const
|
|
3714
|
-
if (
|
|
3713
|
+
const f = s.get(e);
|
|
3714
|
+
if (f)
|
|
3715
3715
|
return o ? {
|
|
3716
3716
|
transformedValue: null
|
|
3717
|
-
} :
|
|
3717
|
+
} : f;
|
|
3718
3718
|
}
|
|
3719
3719
|
if (!il(e, n)) {
|
|
3720
|
-
const
|
|
3721
|
-
transformedValue:
|
|
3722
|
-
annotations: [
|
|
3720
|
+
const f = bo(e, n), E = f ? {
|
|
3721
|
+
transformedValue: f.value,
|
|
3722
|
+
annotations: [f.type]
|
|
3723
3723
|
} : {
|
|
3724
3724
|
transformedValue: e
|
|
3725
3725
|
};
|
|
3726
|
-
return l || s.set(e,
|
|
3726
|
+
return l || s.set(e, E), E;
|
|
3727
3727
|
}
|
|
3728
3728
|
if (kt(a, e))
|
|
3729
3729
|
return {
|
|
3730
3730
|
transformedValue: null
|
|
3731
3731
|
};
|
|
3732
|
-
const c = bo(e, n), u = (i = c == null ? void 0 : c.value) != null ? i : e, d = we(u) ? [] : {},
|
|
3733
|
-
Be(u, (
|
|
3734
|
-
if (
|
|
3735
|
-
throw new Error(`Detected property ${
|
|
3736
|
-
const
|
|
3737
|
-
d[
|
|
3738
|
-
|
|
3732
|
+
const c = bo(e, n), u = (i = c == null ? void 0 : c.value) != null ? i : e, d = we(u) ? [] : {}, p = {};
|
|
3733
|
+
Be(u, (f, E) => {
|
|
3734
|
+
if (E === "__proto__" || E === "constructor" || E === "prototype")
|
|
3735
|
+
throw new Error(`Detected property ${E}. This is a prototype pollution risk, please remove it from your object.`);
|
|
3736
|
+
const m = zr(f, t, n, o, [...r, E], [...a, e], s);
|
|
3737
|
+
d[E] = m.transformedValue, we(m.annotations) ? p[E] = m.annotations : it(m.annotations) && Be(m.annotations, (b, S) => {
|
|
3738
|
+
p[Ar(E) + "." + S] = b;
|
|
3739
3739
|
});
|
|
3740
3740
|
});
|
|
3741
|
-
const
|
|
3741
|
+
const _ = an(p) ? {
|
|
3742
3742
|
transformedValue: d,
|
|
3743
3743
|
annotations: c ? [c.type] : void 0
|
|
3744
3744
|
} : {
|
|
3745
3745
|
transformedValue: d,
|
|
3746
|
-
annotations: c ? [c.type,
|
|
3746
|
+
annotations: c ? [c.type, p] : p
|
|
3747
3747
|
};
|
|
3748
|
-
return l || s.set(e,
|
|
3748
|
+
return l || s.set(e, _), _;
|
|
3749
3749
|
};
|
|
3750
|
-
|
|
3751
|
-
|
|
3750
|
+
y();
|
|
3751
|
+
y();
|
|
3752
3752
|
function Br(e) {
|
|
3753
3753
|
return Object.prototype.toString.call(e).slice(8, -1);
|
|
3754
3754
|
}
|
|
@@ -3843,29 +3843,29 @@ j.registerClass = j.defaultInstance.registerClass.bind(j.defaultInstance);
|
|
|
3843
3843
|
j.registerSymbol = j.defaultInstance.registerSymbol.bind(j.defaultInstance);
|
|
3844
3844
|
j.registerCustom = j.defaultInstance.registerCustom.bind(j.defaultInstance);
|
|
3845
3845
|
j.allowErrorProps = j.defaultInstance.allowErrorProps.bind(j.defaultInstance);
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3846
|
+
y();
|
|
3847
|
+
y();
|
|
3848
|
+
y();
|
|
3849
|
+
y();
|
|
3850
|
+
y();
|
|
3851
|
+
y();
|
|
3852
|
+
y();
|
|
3853
|
+
y();
|
|
3854
|
+
y();
|
|
3855
|
+
y();
|
|
3856
|
+
y();
|
|
3857
|
+
y();
|
|
3858
|
+
y();
|
|
3859
|
+
y();
|
|
3860
|
+
y();
|
|
3861
|
+
y();
|
|
3862
|
+
y();
|
|
3863
|
+
y();
|
|
3864
|
+
y();
|
|
3865
|
+
y();
|
|
3866
|
+
y();
|
|
3867
|
+
y();
|
|
3868
|
+
y();
|
|
3869
3869
|
var Oo;
|
|
3870
3870
|
(Oo = k).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (Oo.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
|
|
3871
3871
|
var ko;
|
|
@@ -3878,13 +3878,13 @@ var To;
|
|
|
3878
3878
|
(To = k).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (To.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
|
|
3879
3879
|
var Po;
|
|
3880
3880
|
(Po = k).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Po.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3881
|
+
y();
|
|
3882
|
+
y();
|
|
3883
|
+
y();
|
|
3884
|
+
y();
|
|
3885
|
+
y();
|
|
3886
|
+
y();
|
|
3887
|
+
y();
|
|
3888
3888
|
/*!
|
|
3889
3889
|
* pinia v3.0.1
|
|
3890
3890
|
* (c) 2025 Eduardo San Martin Morote
|
|
@@ -4511,10 +4511,10 @@ function xo(e, t, n, o) {
|
|
|
4511
4511
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
4512
4512
|
Nt(C(r ? r() : {}).value)
|
|
4513
4513
|
) : Nt(n.state.value[e]);
|
|
4514
|
-
return Q(u, a, Object.keys(s || {}).reduce((d,
|
|
4514
|
+
return Q(u, a, Object.keys(s || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = te(R(() => {
|
|
4515
4515
|
ut(n);
|
|
4516
|
-
const
|
|
4517
|
-
return s[
|
|
4516
|
+
const _ = n._s.get(e);
|
|
4517
|
+
return s[p].call(_, _);
|
|
4518
4518
|
})), d), {}));
|
|
4519
4519
|
}
|
|
4520
4520
|
return l = fn(e, c, t, n, o, !0), l;
|
|
@@ -4526,34 +4526,34 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4526
4526
|
throw new Error("Pinia destroyed");
|
|
4527
4527
|
const l = { deep: !0 };
|
|
4528
4528
|
process.env.NODE_ENV !== "production" && (l.onTrigger = (v) => {
|
|
4529
|
-
c ?
|
|
4529
|
+
c ? _ = v : c == !1 && !w._hotUpdating && (Array.isArray(_) ? _.push(v) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
4530
4530
|
});
|
|
4531
|
-
let c, u, d = [],
|
|
4532
|
-
const
|
|
4533
|
-
!a && !
|
|
4534
|
-
const
|
|
4535
|
-
let
|
|
4531
|
+
let c, u, d = [], p = [], _;
|
|
4532
|
+
const f = o.state.value[e];
|
|
4533
|
+
!a && !f && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
|
|
4534
|
+
const E = C({});
|
|
4535
|
+
let m;
|
|
4536
4536
|
function b(v) {
|
|
4537
|
-
let
|
|
4538
|
-
c = u = !1, process.env.NODE_ENV !== "production" && (
|
|
4537
|
+
let h;
|
|
4538
|
+
c = u = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof v == "function" ? (v(o.state.value[e]), h = {
|
|
4539
4539
|
type: ie.patchFunction,
|
|
4540
4540
|
storeId: e,
|
|
4541
|
-
events:
|
|
4542
|
-
}) : (dn(o.state.value[e], v),
|
|
4541
|
+
events: _
|
|
4542
|
+
}) : (dn(o.state.value[e], v), h = {
|
|
4543
4543
|
type: ie.patchObject,
|
|
4544
4544
|
payload: v,
|
|
4545
4545
|
storeId: e,
|
|
4546
|
-
events:
|
|
4546
|
+
events: _
|
|
4547
4547
|
});
|
|
4548
|
-
const g =
|
|
4548
|
+
const g = m = Symbol();
|
|
4549
4549
|
Ve().then(() => {
|
|
4550
|
-
|
|
4551
|
-
}), u = !0, xe(d,
|
|
4550
|
+
m === g && (c = !0);
|
|
4551
|
+
}), u = !0, xe(d, h, o.state.value[e]);
|
|
4552
4552
|
}
|
|
4553
4553
|
const S = a ? function() {
|
|
4554
|
-
const { state: v } = n,
|
|
4554
|
+
const { state: v } = n, h = v ? v() : {};
|
|
4555
4555
|
this.$patch((g) => {
|
|
4556
|
-
Q(g,
|
|
4556
|
+
Q(g, h);
|
|
4557
4557
|
});
|
|
4558
4558
|
} : (
|
|
4559
4559
|
/* istanbul ignore next */
|
|
@@ -4562,11 +4562,11 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4562
4562
|
} : es
|
|
4563
4563
|
);
|
|
4564
4564
|
function x() {
|
|
4565
|
-
s.stop(), d = [],
|
|
4565
|
+
s.stop(), d = [], p = [], o._s.delete(e);
|
|
4566
4566
|
}
|
|
4567
|
-
const M = (v,
|
|
4567
|
+
const M = (v, h = "") => {
|
|
4568
4568
|
if (Do in v)
|
|
4569
|
-
return v[qt] =
|
|
4569
|
+
return v[qt] = h, v;
|
|
4570
4570
|
const g = function() {
|
|
4571
4571
|
ut(o);
|
|
4572
4572
|
const I = Array.from(arguments), N = [], X = [];
|
|
@@ -4576,7 +4576,7 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4576
4576
|
function T(D) {
|
|
4577
4577
|
X.push(D);
|
|
4578
4578
|
}
|
|
4579
|
-
xe(
|
|
4579
|
+
xe(p, {
|
|
4580
4580
|
args: I,
|
|
4581
4581
|
name: g[qt],
|
|
4582
4582
|
store: w,
|
|
@@ -4591,27 +4591,27 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4591
4591
|
}
|
|
4592
4592
|
return Z instanceof Promise ? Z.then((D) => (xe(N, D), D)).catch((D) => (xe(X, D), Promise.reject(D))) : (xe(N, Z), Z);
|
|
4593
4593
|
};
|
|
4594
|
-
return g[Do] = !0, g[qt] =
|
|
4594
|
+
return g[Do] = !0, g[qt] = h, g;
|
|
4595
4595
|
}, U = /* @__PURE__ */ te({
|
|
4596
4596
|
actions: {},
|
|
4597
4597
|
getters: {},
|
|
4598
4598
|
state: [],
|
|
4599
|
-
hotState:
|
|
4599
|
+
hotState: E
|
|
4600
4600
|
}), re = {
|
|
4601
4601
|
_p: o,
|
|
4602
4602
|
// _s: scope,
|
|
4603
4603
|
$id: e,
|
|
4604
|
-
$onAction: No.bind(null,
|
|
4604
|
+
$onAction: No.bind(null, p),
|
|
4605
4605
|
$patch: b,
|
|
4606
4606
|
$reset: S,
|
|
4607
|
-
$subscribe(v,
|
|
4608
|
-
const g = No(d, v,
|
|
4609
|
-
(
|
|
4607
|
+
$subscribe(v, h = {}) {
|
|
4608
|
+
const g = No(d, v, h.detached, () => I()), I = s.run(() => K(() => o.state.value[e], (N) => {
|
|
4609
|
+
(h.flush === "sync" ? u : c) && v({
|
|
4610
4610
|
storeId: e,
|
|
4611
4611
|
type: ie.direct,
|
|
4612
|
-
events:
|
|
4612
|
+
events: _
|
|
4613
4613
|
}, N);
|
|
4614
|
-
}, Q({}, l,
|
|
4614
|
+
}, Q({}, l, h)));
|
|
4615
4615
|
return g;
|
|
4616
4616
|
},
|
|
4617
4617
|
$dispose: x
|
|
@@ -4628,56 +4628,56 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4628
4628
|
o._s.set(e, w);
|
|
4629
4629
|
const O = (o._a && o._a.runWithContext || Cl)(() => o._e.run(() => (s = vn()).run(() => t({ action: M }))));
|
|
4630
4630
|
for (const v in O) {
|
|
4631
|
-
const
|
|
4632
|
-
if (le(
|
|
4633
|
-
process.env.NODE_ENV !== "production" && r ?
|
|
4634
|
-
else if (typeof
|
|
4635
|
-
const g = process.env.NODE_ENV !== "production" && r ?
|
|
4636
|
-
O[v] = g, process.env.NODE_ENV !== "production" && (U.actions[v] =
|
|
4637
|
-
} else process.env.NODE_ENV !== "production" && Ao(
|
|
4631
|
+
const h = O[v];
|
|
4632
|
+
if (le(h) && !Ao(h) || Ge(h))
|
|
4633
|
+
process.env.NODE_ENV !== "production" && r ? E.value[v] = be(O, v) : a || (f && Dl(h) && (le(h) ? h.value = f[v] : dn(h, f[v])), o.state.value[e][v] = h), process.env.NODE_ENV !== "production" && U.state.push(v);
|
|
4634
|
+
else if (typeof h == "function") {
|
|
4635
|
+
const g = process.env.NODE_ENV !== "production" && r ? h : M(h, v);
|
|
4636
|
+
O[v] = g, process.env.NODE_ENV !== "production" && (U.actions[v] = h), i.actions[v] = h;
|
|
4637
|
+
} else process.env.NODE_ENV !== "production" && Ao(h) && (U.getters[v] = a ? (
|
|
4638
4638
|
// @ts-expect-error
|
|
4639
4639
|
n.getters[v]
|
|
4640
|
-
) :
|
|
4640
|
+
) : h, ge && (O._getters || // @ts-expect-error: same
|
|
4641
4641
|
(O._getters = te([]))).push(v));
|
|
4642
4642
|
}
|
|
4643
4643
|
if (Q(w, O), Q(Me(w), O), Object.defineProperty(w, "$state", {
|
|
4644
|
-
get: () => process.env.NODE_ENV !== "production" && r ?
|
|
4644
|
+
get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
|
|
4645
4645
|
set: (v) => {
|
|
4646
4646
|
if (process.env.NODE_ENV !== "production" && r)
|
|
4647
4647
|
throw new Error("cannot set hotState");
|
|
4648
|
-
b((
|
|
4649
|
-
Q(
|
|
4648
|
+
b((h) => {
|
|
4649
|
+
Q(h, v);
|
|
4650
4650
|
});
|
|
4651
4651
|
}
|
|
4652
4652
|
}), process.env.NODE_ENV !== "production" && (w._hotUpdate = te((v) => {
|
|
4653
|
-
w._hotUpdating = !0, v._hmrPayload.state.forEach((
|
|
4654
|
-
if (
|
|
4655
|
-
const g = v.$state[
|
|
4656
|
-
typeof g == "object" && Ne(g) && Ne(I) ? Qr(g, I) : v.$state[
|
|
4653
|
+
w._hotUpdating = !0, v._hmrPayload.state.forEach((h) => {
|
|
4654
|
+
if (h in w.$state) {
|
|
4655
|
+
const g = v.$state[h], I = w.$state[h];
|
|
4656
|
+
typeof g == "object" && Ne(g) && Ne(I) ? Qr(g, I) : v.$state[h] = I;
|
|
4657
4657
|
}
|
|
4658
|
-
w[
|
|
4659
|
-
}), Object.keys(w.$state).forEach((
|
|
4660
|
-
|
|
4658
|
+
w[h] = be(v.$state, h);
|
|
4659
|
+
}), Object.keys(w.$state).forEach((h) => {
|
|
4660
|
+
h in v.$state || delete w[h];
|
|
4661
4661
|
}), c = !1, u = !1, o.state.value[e] = be(v._hmrPayload, "hotState"), u = !0, Ve().then(() => {
|
|
4662
4662
|
c = !0;
|
|
4663
4663
|
});
|
|
4664
|
-
for (const
|
|
4665
|
-
const g = v[
|
|
4666
|
-
w[
|
|
4667
|
-
M(g,
|
|
4664
|
+
for (const h in v._hmrPayload.actions) {
|
|
4665
|
+
const g = v[h];
|
|
4666
|
+
w[h] = //
|
|
4667
|
+
M(g, h);
|
|
4668
4668
|
}
|
|
4669
|
-
for (const
|
|
4670
|
-
const g = v._hmrPayload.getters[
|
|
4669
|
+
for (const h in v._hmrPayload.getters) {
|
|
4670
|
+
const g = v._hmrPayload.getters[h], I = a ? (
|
|
4671
4671
|
// special handling of options api
|
|
4672
4672
|
R(() => (ut(o), g.call(w, w)))
|
|
4673
4673
|
) : g;
|
|
4674
|
-
w[
|
|
4674
|
+
w[h] = //
|
|
4675
4675
|
I;
|
|
4676
4676
|
}
|
|
4677
|
-
Object.keys(w._hmrPayload.getters).forEach((
|
|
4678
|
-
|
|
4679
|
-
}), Object.keys(w._hmrPayload.actions).forEach((
|
|
4680
|
-
|
|
4677
|
+
Object.keys(w._hmrPayload.getters).forEach((h) => {
|
|
4678
|
+
h in v._hmrPayload.getters || delete w[h];
|
|
4679
|
+
}), Object.keys(w._hmrPayload.actions).forEach((h) => {
|
|
4680
|
+
h in v._hmrPayload.actions || delete w[h];
|
|
4681
4681
|
}), w._hmrPayload = v._hmrPayload, w._getters = v._getters, w._hotUpdating = !1;
|
|
4682
4682
|
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
|
|
4683
4683
|
const v = {
|
|
@@ -4686,19 +4686,19 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4686
4686
|
// avoid warning on devtools trying to display this property
|
|
4687
4687
|
enumerable: !1
|
|
4688
4688
|
};
|
|
4689
|
-
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((
|
|
4690
|
-
Object.defineProperty(w,
|
|
4689
|
+
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((h) => {
|
|
4690
|
+
Object.defineProperty(w, h, Q({ value: w[h] }, v));
|
|
4691
4691
|
});
|
|
4692
4692
|
}
|
|
4693
4693
|
return o._p.forEach((v) => {
|
|
4694
4694
|
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
|
|
4695
|
-
const
|
|
4695
|
+
const h = s.run(() => v({
|
|
4696
4696
|
store: w,
|
|
4697
4697
|
app: o._a,
|
|
4698
4698
|
pinia: o,
|
|
4699
4699
|
options: i
|
|
4700
4700
|
}));
|
|
4701
|
-
Object.keys(
|
|
4701
|
+
Object.keys(h || {}).forEach((g) => w._customProperties.add(g)), Q(w, h);
|
|
4702
4702
|
} else
|
|
4703
4703
|
Q(w, s.run(() => v({
|
|
4704
4704
|
store: w,
|
|
@@ -4708,7 +4708,7 @@ function fn(e, t, n = {}, o, r, a) {
|
|
|
4708
4708
|
})));
|
|
4709
4709
|
}), process.env.NODE_ENV !== "production" && w.$state && typeof w.$state == "object" && typeof w.$state.constructor == "function" && !w.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
4710
4710
|
state: () => new MyClass()
|
|
4711
|
-
Found in store "${w.$id}".`),
|
|
4711
|
+
Found in store "${w.$id}".`), f && a && n.hydrate && n.hydrate(w.$state, f), c = !0, u = !0, w;
|
|
4712
4712
|
}
|
|
4713
4713
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
4714
4714
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -4734,8 +4734,8 @@ This will fail in production.`);
|
|
|
4734
4734
|
const u = ht();
|
|
4735
4735
|
if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
|
|
4736
4736
|
!i) {
|
|
4737
|
-
const d = u.proxy,
|
|
4738
|
-
|
|
4737
|
+
const d = u.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
|
|
4738
|
+
p[e] = c;
|
|
4739
4739
|
}
|
|
4740
4740
|
}
|
|
4741
4741
|
return c;
|
|
@@ -4966,8 +4966,8 @@ function Ql(e, t) {
|
|
|
4966
4966
|
u.onerror = function(d) {
|
|
4967
4967
|
return c(d);
|
|
4968
4968
|
}, u.onsuccess = function(d) {
|
|
4969
|
-
var
|
|
4970
|
-
|
|
4969
|
+
var p = d.target.result;
|
|
4970
|
+
p ? p.value.id < t + 1 ? p.continue(t + 1) : (r.push(p.value), p.continue()) : ($n(n), l(r));
|
|
4971
4971
|
};
|
|
4972
4972
|
});
|
|
4973
4973
|
}
|
|
@@ -5368,26 +5368,26 @@ function Rc({
|
|
|
5368
5368
|
const d = new Ln(r.$id, {
|
|
5369
5369
|
type: n
|
|
5370
5370
|
});
|
|
5371
|
-
let
|
|
5372
|
-
const
|
|
5373
|
-
d.onmessage = (
|
|
5374
|
-
if (
|
|
5371
|
+
let p = 0, _ = !1;
|
|
5372
|
+
const f = Object.keys(r.$state).filter((E) => !u.includes(E) && $c(E, r.$state));
|
|
5373
|
+
d.onmessage = (E) => {
|
|
5374
|
+
if (E === void 0) {
|
|
5375
5375
|
d.postMessage({
|
|
5376
|
-
timestamp:
|
|
5376
|
+
timestamp: p,
|
|
5377
5377
|
state: Uo(r.$state, o)
|
|
5378
5378
|
});
|
|
5379
5379
|
return;
|
|
5380
5380
|
}
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5381
|
+
E.timestamp <= p || (_ = !0, p = E.timestamp, r.$patch((m) => {
|
|
5382
|
+
f.forEach((b) => {
|
|
5383
|
+
m[b] = E.state[b];
|
|
5384
5384
|
});
|
|
5385
5385
|
}));
|
|
5386
|
-
}, (((l = a == null ? void 0 : a.share) == null ? void 0 : l.initialize) ?? t) && d.postMessage(void 0), r.$subscribe((
|
|
5387
|
-
|
|
5388
|
-
timestamp:
|
|
5389
|
-
state: Uo(
|
|
5390
|
-
})),
|
|
5386
|
+
}, (((l = a == null ? void 0 : a.share) == null ? void 0 : l.initialize) ?? t) && d.postMessage(void 0), r.$subscribe((E, m) => {
|
|
5387
|
+
_ || (p = Date.now(), d.postMessage({
|
|
5388
|
+
timestamp: p,
|
|
5389
|
+
state: Uo(m, o)
|
|
5390
|
+
})), _ = !1;
|
|
5391
5391
|
});
|
|
5392
5392
|
};
|
|
5393
5393
|
}
|
|
@@ -5492,10 +5492,10 @@ function Bo(e, t, n, o) {
|
|
|
5492
5492
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
5493
5493
|
Nt(C(r ? r() : {}).value)
|
|
5494
5494
|
) : Nt(n.state.value[e]);
|
|
5495
|
-
return ee(u, a, Object.keys(s || {}).reduce((d,
|
|
5495
|
+
return ee(u, a, Object.keys(s || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = te(R(() => {
|
|
5496
5496
|
Rt(n);
|
|
5497
|
-
const
|
|
5498
|
-
return s[
|
|
5497
|
+
const _ = n._s.get(e);
|
|
5498
|
+
return s[p].call(_, _);
|
|
5499
5499
|
})), d), {}));
|
|
5500
5500
|
}
|
|
5501
5501
|
return l = hn(e, c, t, n, o, !0), l;
|
|
@@ -5506,29 +5506,29 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5506
5506
|
if (process.env.NODE_ENV !== "production" && !o._e.active)
|
|
5507
5507
|
throw new Error("Pinia destroyed");
|
|
5508
5508
|
const l = { deep: !0 };
|
|
5509
|
-
process.env.NODE_ENV !== "production" && (l.onTrigger = (
|
|
5510
|
-
c ?
|
|
5509
|
+
process.env.NODE_ENV !== "production" && (l.onTrigger = (h) => {
|
|
5510
|
+
c ? _ = h : c == !1 && !w._hotUpdating && (Array.isArray(_) ? _.push(h) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
5511
5511
|
});
|
|
5512
|
-
let c, u, d = [],
|
|
5513
|
-
const
|
|
5514
|
-
!a && !
|
|
5515
|
-
const
|
|
5516
|
-
let
|
|
5517
|
-
function b(
|
|
5512
|
+
let c, u, d = [], p = [], _;
|
|
5513
|
+
const f = o.state.value[e];
|
|
5514
|
+
!a && !f && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
|
|
5515
|
+
const E = C({});
|
|
5516
|
+
let m;
|
|
5517
|
+
function b(h) {
|
|
5518
5518
|
let g;
|
|
5519
|
-
c = u = !1, process.env.NODE_ENV !== "production" && (
|
|
5519
|
+
c = u = !1, process.env.NODE_ENV !== "production" && (_ = []), typeof h == "function" ? (h(o.state.value[e]), g = {
|
|
5520
5520
|
type: rt.patchFunction,
|
|
5521
5521
|
storeId: e,
|
|
5522
|
-
events:
|
|
5523
|
-
}) : (pn(o.state.value[e],
|
|
5522
|
+
events: _
|
|
5523
|
+
}) : (pn(o.state.value[e], h), g = {
|
|
5524
5524
|
type: rt.patchObject,
|
|
5525
|
-
payload:
|
|
5525
|
+
payload: h,
|
|
5526
5526
|
storeId: e,
|
|
5527
|
-
events:
|
|
5527
|
+
events: _
|
|
5528
5528
|
});
|
|
5529
|
-
const I =
|
|
5529
|
+
const I = m = Symbol();
|
|
5530
5530
|
Ve().then(() => {
|
|
5531
|
-
|
|
5531
|
+
m === I && (c = !0);
|
|
5532
5532
|
}), u = !0, $e(d, g, o.state.value[e]);
|
|
5533
5533
|
}
|
|
5534
5534
|
const S = a ? function() {
|
|
@@ -5543,11 +5543,11 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5543
5543
|
} : _s
|
|
5544
5544
|
);
|
|
5545
5545
|
function x() {
|
|
5546
|
-
s.stop(), d = [],
|
|
5546
|
+
s.stop(), d = [], p = [], o._s.delete(e);
|
|
5547
5547
|
}
|
|
5548
|
-
const M = (
|
|
5549
|
-
if (Ho in
|
|
5550
|
-
return
|
|
5548
|
+
const M = (h, g = "") => {
|
|
5549
|
+
if (Ho in h)
|
|
5550
|
+
return h[Xt] = g, h;
|
|
5551
5551
|
const I = function() {
|
|
5552
5552
|
Rt(o);
|
|
5553
5553
|
const N = Array.from(arguments), X = [], F = [];
|
|
@@ -5557,7 +5557,7 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5557
5557
|
function Z(H) {
|
|
5558
5558
|
F.push(H);
|
|
5559
5559
|
}
|
|
5560
|
-
$e(
|
|
5560
|
+
$e(p, {
|
|
5561
5561
|
args: N,
|
|
5562
5562
|
name: I[Xt],
|
|
5563
5563
|
store: w,
|
|
@@ -5566,7 +5566,7 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5566
5566
|
});
|
|
5567
5567
|
let D;
|
|
5568
5568
|
try {
|
|
5569
|
-
D =
|
|
5569
|
+
D = h.apply(this && this.$id === e ? this : w, N);
|
|
5570
5570
|
} catch (H) {
|
|
5571
5571
|
throw $e(F, H), H;
|
|
5572
5572
|
}
|
|
@@ -5577,20 +5577,20 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5577
5577
|
actions: {},
|
|
5578
5578
|
getters: {},
|
|
5579
5579
|
state: [],
|
|
5580
|
-
hotState:
|
|
5580
|
+
hotState: E
|
|
5581
5581
|
}), re = {
|
|
5582
5582
|
_p: o,
|
|
5583
5583
|
// _s: scope,
|
|
5584
5584
|
$id: e,
|
|
5585
|
-
$onAction: Mo.bind(null,
|
|
5585
|
+
$onAction: Mo.bind(null, p),
|
|
5586
5586
|
$patch: b,
|
|
5587
5587
|
$reset: S,
|
|
5588
|
-
$subscribe(
|
|
5589
|
-
const I = Mo(d,
|
|
5590
|
-
(g.flush === "sync" ? u : c) &&
|
|
5588
|
+
$subscribe(h, g = {}) {
|
|
5589
|
+
const I = Mo(d, h, g.detached, () => N()), N = s.run(() => K(() => o.state.value[e], (X) => {
|
|
5590
|
+
(g.flush === "sync" ? u : c) && h({
|
|
5591
5591
|
storeId: e,
|
|
5592
5592
|
type: rt.direct,
|
|
5593
|
-
events:
|
|
5593
|
+
events: _
|
|
5594
5594
|
}, X);
|
|
5595
5595
|
}, ee({}, l, g)));
|
|
5596
5596
|
return I;
|
|
@@ -5608,47 +5608,47 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5608
5608
|
) : re);
|
|
5609
5609
|
o._s.set(e, w);
|
|
5610
5610
|
const v = (o._a && o._a.runWithContext || Mc)(() => o._e.run(() => (s = vn()).run(() => t({ action: M }))));
|
|
5611
|
-
for (const
|
|
5612
|
-
const g = v[
|
|
5611
|
+
for (const h in v) {
|
|
5612
|
+
const g = v[h];
|
|
5613
5613
|
if (le(g) && !zo(g) || Ge(g))
|
|
5614
|
-
process.env.NODE_ENV !== "production" && r ?
|
|
5614
|
+
process.env.NODE_ENV !== "production" && r ? E.value[h] = be(v, h) : a || (f && zc(g) && (le(g) ? g.value = f[h] : pn(g, f[h])), o.state.value[e][h] = g), process.env.NODE_ENV !== "production" && U.state.push(h);
|
|
5615
5615
|
else if (typeof g == "function") {
|
|
5616
|
-
const I = process.env.NODE_ENV !== "production" && r ? g : M(g,
|
|
5617
|
-
v[
|
|
5618
|
-
} else process.env.NODE_ENV !== "production" && zo(g) && (U.getters[
|
|
5616
|
+
const I = process.env.NODE_ENV !== "production" && r ? g : M(g, h);
|
|
5617
|
+
v[h] = I, process.env.NODE_ENV !== "production" && (U.actions[h] = g), i.actions[h] = g;
|
|
5618
|
+
} else process.env.NODE_ENV !== "production" && zo(g) && (U.getters[h] = a ? (
|
|
5619
5619
|
// @ts-expect-error
|
|
5620
|
-
n.getters[
|
|
5620
|
+
n.getters[h]
|
|
5621
5621
|
) : g, tt && (v._getters || // @ts-expect-error: same
|
|
5622
|
-
(v._getters = te([]))).push(
|
|
5622
|
+
(v._getters = te([]))).push(h));
|
|
5623
5623
|
}
|
|
5624
5624
|
if (ee(w, v), ee(Me(w), v), Object.defineProperty(w, "$state", {
|
|
5625
|
-
get: () => process.env.NODE_ENV !== "production" && r ?
|
|
5626
|
-
set: (
|
|
5625
|
+
get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
|
|
5626
|
+
set: (h) => {
|
|
5627
5627
|
if (process.env.NODE_ENV !== "production" && r)
|
|
5628
5628
|
throw new Error("cannot set hotState");
|
|
5629
5629
|
b((g) => {
|
|
5630
|
-
ee(g,
|
|
5630
|
+
ee(g, h);
|
|
5631
5631
|
});
|
|
5632
5632
|
}
|
|
5633
|
-
}), process.env.NODE_ENV !== "production" && (w._hotUpdate = te((
|
|
5634
|
-
w._hotUpdating = !0,
|
|
5633
|
+
}), process.env.NODE_ENV !== "production" && (w._hotUpdate = te((h) => {
|
|
5634
|
+
w._hotUpdating = !0, h._hmrPayload.state.forEach((g) => {
|
|
5635
5635
|
if (g in w.$state) {
|
|
5636
|
-
const I =
|
|
5637
|
-
typeof I == "object" && De(I) && De(N) ? ms(I, N) :
|
|
5636
|
+
const I = h.$state[g], N = w.$state[g];
|
|
5637
|
+
typeof I == "object" && De(I) && De(N) ? ms(I, N) : h.$state[g] = N;
|
|
5638
5638
|
}
|
|
5639
|
-
w[g] = be(
|
|
5639
|
+
w[g] = be(h.$state, g);
|
|
5640
5640
|
}), Object.keys(w.$state).forEach((g) => {
|
|
5641
|
-
g in
|
|
5642
|
-
}), c = !1, u = !1, o.state.value[e] = be(
|
|
5641
|
+
g in h.$state || delete w[g];
|
|
5642
|
+
}), c = !1, u = !1, o.state.value[e] = be(h._hmrPayload, "hotState"), u = !0, Ve().then(() => {
|
|
5643
5643
|
c = !0;
|
|
5644
5644
|
});
|
|
5645
|
-
for (const g in
|
|
5646
|
-
const I =
|
|
5645
|
+
for (const g in h._hmrPayload.actions) {
|
|
5646
|
+
const I = h[g];
|
|
5647
5647
|
w[g] = //
|
|
5648
5648
|
M(I, g);
|
|
5649
5649
|
}
|
|
5650
|
-
for (const g in
|
|
5651
|
-
const I =
|
|
5650
|
+
for (const g in h._hmrPayload.getters) {
|
|
5651
|
+
const I = h._hmrPayload.getters[g], N = a ? (
|
|
5652
5652
|
// special handling of options api
|
|
5653
5653
|
R(() => (Rt(o), I.call(w, w)))
|
|
5654
5654
|
) : I;
|
|
@@ -5656,24 +5656,24 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5656
5656
|
N;
|
|
5657
5657
|
}
|
|
5658
5658
|
Object.keys(w._hmrPayload.getters).forEach((g) => {
|
|
5659
|
-
g in
|
|
5659
|
+
g in h._hmrPayload.getters || delete w[g];
|
|
5660
5660
|
}), Object.keys(w._hmrPayload.actions).forEach((g) => {
|
|
5661
|
-
g in
|
|
5662
|
-
}), w._hmrPayload =
|
|
5661
|
+
g in h._hmrPayload.actions || delete w[g];
|
|
5662
|
+
}), w._hmrPayload = h._hmrPayload, w._getters = h._getters, w._hotUpdating = !1;
|
|
5663
5663
|
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt) {
|
|
5664
|
-
const
|
|
5664
|
+
const h = {
|
|
5665
5665
|
writable: !0,
|
|
5666
5666
|
configurable: !0,
|
|
5667
5667
|
// avoid warning on devtools trying to display this property
|
|
5668
5668
|
enumerable: !1
|
|
5669
5669
|
};
|
|
5670
5670
|
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((g) => {
|
|
5671
|
-
Object.defineProperty(w, g, ee({ value: w[g] },
|
|
5671
|
+
Object.defineProperty(w, g, ee({ value: w[g] }, h));
|
|
5672
5672
|
});
|
|
5673
5673
|
}
|
|
5674
|
-
return o._p.forEach((
|
|
5674
|
+
return o._p.forEach((h) => {
|
|
5675
5675
|
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt) {
|
|
5676
|
-
const g = s.run(() =>
|
|
5676
|
+
const g = s.run(() => h({
|
|
5677
5677
|
store: w,
|
|
5678
5678
|
app: o._a,
|
|
5679
5679
|
pinia: o,
|
|
@@ -5681,7 +5681,7 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5681
5681
|
}));
|
|
5682
5682
|
Object.keys(g || {}).forEach((I) => w._customProperties.add(I)), ee(w, g);
|
|
5683
5683
|
} else
|
|
5684
|
-
ee(w, s.run(() =>
|
|
5684
|
+
ee(w, s.run(() => h({
|
|
5685
5685
|
store: w,
|
|
5686
5686
|
app: o._a,
|
|
5687
5687
|
pinia: o,
|
|
@@ -5689,7 +5689,7 @@ function hn(e, t, n = {}, o, r, a) {
|
|
|
5689
5689
|
})));
|
|
5690
5690
|
}), process.env.NODE_ENV !== "production" && w.$state && typeof w.$state == "object" && typeof w.$state.constructor == "function" && !w.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
5691
5691
|
state: () => new MyClass()
|
|
5692
|
-
Found in store "${w.$id}".`),
|
|
5692
|
+
Found in store "${w.$id}".`), f && a && n.hydrate && n.hydrate(w.$state, f), c = !0, u = !0, w;
|
|
5693
5693
|
}
|
|
5694
5694
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
5695
5695
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -5715,8 +5715,8 @@ This will fail in production.`);
|
|
|
5715
5715
|
const u = ht();
|
|
5716
5716
|
if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
|
|
5717
5717
|
!i) {
|
|
5718
|
-
const d = u.proxy,
|
|
5719
|
-
|
|
5718
|
+
const d = u.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
|
|
5719
|
+
p[e] = c;
|
|
5720
5720
|
}
|
|
5721
5721
|
}
|
|
5722
5722
|
return c;
|
|
@@ -5772,8 +5772,8 @@ function dt(...e) {
|
|
|
5772
5772
|
const d = Gc(u) ? { ...u } : u;
|
|
5773
5773
|
t.push(
|
|
5774
5774
|
...i.flatMap(
|
|
5775
|
-
(
|
|
5776
|
-
(
|
|
5775
|
+
(p) => l.flatMap(
|
|
5776
|
+
(_) => c.map((f) => o(p, _, f, d))
|
|
5777
5777
|
)
|
|
5778
5778
|
)
|
|
5779
5779
|
);
|
|
@@ -5800,12 +5800,12 @@ function Zc(e, t, n = {}) {
|
|
|
5800
5800
|
const s = Xc(() => o && "MutationObserver" in o), i = () => {
|
|
5801
5801
|
a && (a.disconnect(), a = void 0);
|
|
5802
5802
|
}, l = R(() => {
|
|
5803
|
-
const
|
|
5804
|
-
return new Set(
|
|
5803
|
+
const p = $(e), _ = Ct(p).map(We).filter(Wc);
|
|
5804
|
+
return new Set(_);
|
|
5805
5805
|
}), c = K(
|
|
5806
5806
|
() => l.value,
|
|
5807
|
-
(
|
|
5808
|
-
i(), s.value &&
|
|
5807
|
+
(p) => {
|
|
5808
|
+
i(), s.value && p.size && (a = new MutationObserver(t), p.forEach((_) => a.observe(_, r)));
|
|
5809
5809
|
},
|
|
5810
5810
|
{ immediate: !0, flush: "post" }
|
|
5811
5811
|
), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
|
|
@@ -5833,8 +5833,8 @@ function Qc(e, t, n = {}) {
|
|
|
5833
5833
|
if (u) {
|
|
5834
5834
|
const { stop: d } = Zc(
|
|
5835
5835
|
r,
|
|
5836
|
-
(
|
|
5837
|
-
|
|
5836
|
+
(p) => {
|
|
5837
|
+
p.map((_) => [..._.removedNodes]).flat().some((_) => _ === u || _.contains(u)) && t(p);
|
|
5838
5838
|
},
|
|
5839
5839
|
{
|
|
5840
5840
|
window: o,
|
|
@@ -6122,22 +6122,22 @@ function cu(e) {
|
|
|
6122
6122
|
if (Et.includes(l)) return;
|
|
6123
6123
|
const c = s.handlers || vs;
|
|
6124
6124
|
for (const u of Object.keys(c)) {
|
|
6125
|
-
const [d, ...
|
|
6126
|
-
if (d === "keydown" &&
|
|
6127
|
-
const
|
|
6128
|
-
const b =
|
|
6125
|
+
const [d, ...p] = u.split(".");
|
|
6126
|
+
if (d === "keydown" && p.includes(l)) {
|
|
6127
|
+
const _ = c[u], f = p.filter((m) => Et.includes(m)), E = Et.some((m) => {
|
|
6128
|
+
const b = m.charAt(0).toUpperCase() + m.slice(1);
|
|
6129
6129
|
return i.getModifierState(b);
|
|
6130
6130
|
});
|
|
6131
|
-
if (
|
|
6132
|
-
if (
|
|
6133
|
-
for (const
|
|
6134
|
-
if (
|
|
6135
|
-
const b =
|
|
6136
|
-
i.getModifierState(b) &&
|
|
6131
|
+
if (f.length > 0) {
|
|
6132
|
+
if (E) {
|
|
6133
|
+
for (const m of Et)
|
|
6134
|
+
if (p.includes(m)) {
|
|
6135
|
+
const b = m.charAt(0).toUpperCase() + m.slice(1);
|
|
6136
|
+
i.getModifierState(b) && _(i);
|
|
6137
6137
|
}
|
|
6138
6138
|
}
|
|
6139
6139
|
} else
|
|
6140
|
-
|
|
6140
|
+
E || _(i);
|
|
6141
6141
|
}
|
|
6142
6142
|
}
|
|
6143
6143
|
}, a = [];
|
|
@@ -6145,10 +6145,10 @@ function cu(e) {
|
|
|
6145
6145
|
for (const s of e) {
|
|
6146
6146
|
const i = t(s), l = o(s), c = r(s), u = i ? [i] : l;
|
|
6147
6147
|
for (const d of u) {
|
|
6148
|
-
const { focused:
|
|
6149
|
-
|
|
6148
|
+
const { focused: p } = ru(C(d)), _ = K(p, (f) => {
|
|
6149
|
+
f ? d.addEventListener("keydown", c) : d.removeEventListener("keydown", c);
|
|
6150
6150
|
});
|
|
6151
|
-
a.push(
|
|
6151
|
+
a.push(_);
|
|
6152
6152
|
}
|
|
6153
6153
|
}
|
|
6154
6154
|
}), Ss(() => {
|
|
@@ -6221,8 +6221,8 @@ function Jo(...e) {
|
|
|
6221
6221
|
const d = gs(u) ? { ...u } : u;
|
|
6222
6222
|
t.push(
|
|
6223
6223
|
...i.flatMap(
|
|
6224
|
-
(
|
|
6225
|
-
(
|
|
6224
|
+
(p) => l.flatMap(
|
|
6225
|
+
(_) => c.map((f) => o(p, _, f, d))
|
|
6226
6226
|
)
|
|
6227
6227
|
)
|
|
6228
6228
|
);
|
|
@@ -6249,12 +6249,12 @@ function bs(e, t, n = {}) {
|
|
|
6249
6249
|
const s = Es(() => o && "MutationObserver" in o), i = () => {
|
|
6250
6250
|
a && (a.disconnect(), a = void 0);
|
|
6251
6251
|
}, l = R(() => {
|
|
6252
|
-
const
|
|
6253
|
-
return new Set(
|
|
6252
|
+
const p = $(e), _ = Te(p).map(Fe).filter(uu);
|
|
6253
|
+
return new Set(_);
|
|
6254
6254
|
}), c = K(
|
|
6255
6255
|
() => l.value,
|
|
6256
|
-
(
|
|
6257
|
-
i(), s.value &&
|
|
6256
|
+
(p) => {
|
|
6257
|
+
i(), s.value && p.size && (a = new MutationObserver(t), p.forEach((_) => a.observe(_, r)));
|
|
6258
6258
|
},
|
|
6259
6259
|
{ immediate: !0, flush: "post" }
|
|
6260
6260
|
), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
|
|
@@ -6273,14 +6273,14 @@ function vu(e, t, n = {}) {
|
|
|
6273
6273
|
a && (a.disconnect(), a = void 0);
|
|
6274
6274
|
}, l = R(() => {
|
|
6275
6275
|
const d = $(e);
|
|
6276
|
-
return Array.isArray(d) ? d.map((
|
|
6276
|
+
return Array.isArray(d) ? d.map((p) => Fe(p)) : [Fe(d)];
|
|
6277
6277
|
}), c = K(
|
|
6278
6278
|
l,
|
|
6279
6279
|
(d) => {
|
|
6280
6280
|
if (i(), s.value && o) {
|
|
6281
6281
|
a = new ResizeObserver(t);
|
|
6282
|
-
for (const
|
|
6283
|
-
|
|
6282
|
+
for (const p of d)
|
|
6283
|
+
p && a.observe(p, r);
|
|
6284
6284
|
}
|
|
6285
6285
|
},
|
|
6286
6286
|
{ immediate: !0, flush: "post" }
|
|
@@ -6299,33 +6299,33 @@ function gu(e, t = {}) {
|
|
|
6299
6299
|
windowScroll: r = !0,
|
|
6300
6300
|
immediate: a = !0,
|
|
6301
6301
|
updateTiming: s = "sync"
|
|
6302
|
-
} = t, i = J(0), l = J(0), c = J(0), u = J(0), d = J(0),
|
|
6303
|
-
function
|
|
6302
|
+
} = t, i = J(0), l = J(0), c = J(0), u = J(0), d = J(0), p = J(0), _ = J(0), f = J(0);
|
|
6303
|
+
function E() {
|
|
6304
6304
|
const b = Fe(e);
|
|
6305
6305
|
if (!b) {
|
|
6306
|
-
n && (i.value = 0, l.value = 0, c.value = 0, u.value = 0, d.value = 0,
|
|
6306
|
+
n && (i.value = 0, l.value = 0, c.value = 0, u.value = 0, d.value = 0, p.value = 0, _.value = 0, f.value = 0);
|
|
6307
6307
|
return;
|
|
6308
6308
|
}
|
|
6309
6309
|
const S = b.getBoundingClientRect();
|
|
6310
|
-
i.value = S.height, l.value = S.bottom, c.value = S.left, u.value = S.right, d.value = S.top,
|
|
6310
|
+
i.value = S.height, l.value = S.bottom, c.value = S.left, u.value = S.right, d.value = S.top, p.value = S.width, _.value = S.x, f.value = S.y;
|
|
6311
6311
|
}
|
|
6312
|
-
function
|
|
6313
|
-
s === "sync" ?
|
|
6312
|
+
function m() {
|
|
6313
|
+
s === "sync" ? E() : s === "next-frame" && requestAnimationFrame(() => E());
|
|
6314
6314
|
}
|
|
6315
|
-
return vu(e,
|
|
6315
|
+
return vu(e, m), K(() => Fe(e), (b) => !b && m()), bs(e, m, {
|
|
6316
6316
|
attributeFilter: ["style", "class"]
|
|
6317
|
-
}), r && Jo("scroll",
|
|
6318
|
-
a &&
|
|
6317
|
+
}), r && Jo("scroll", m, { capture: !0, passive: !0 }), o && Jo("resize", m, { passive: !0 }), mu(() => {
|
|
6318
|
+
a && m();
|
|
6319
6319
|
}), {
|
|
6320
6320
|
height: i,
|
|
6321
6321
|
bottom: l,
|
|
6322
6322
|
left: c,
|
|
6323
6323
|
right: u,
|
|
6324
6324
|
top: d,
|
|
6325
|
-
width:
|
|
6326
|
-
x:
|
|
6327
|
-
y:
|
|
6328
|
-
update:
|
|
6325
|
+
width: p,
|
|
6326
|
+
x: _,
|
|
6327
|
+
y: f,
|
|
6328
|
+
update: m
|
|
6329
6329
|
};
|
|
6330
6330
|
}
|
|
6331
6331
|
const yu = (e = 8) => Array.from({ length: e }, () => Math.floor(Math.random() * 16).toString(16)).join(""), ws = (e, t) => {
|
|
@@ -6406,8 +6406,8 @@ function Re(...e) {
|
|
|
6406
6406
|
const d = gs(u) ? { ...u } : u;
|
|
6407
6407
|
t.push(
|
|
6408
6408
|
...i.flatMap(
|
|
6409
|
-
(
|
|
6410
|
-
(
|
|
6409
|
+
(p) => l.flatMap(
|
|
6410
|
+
(_) => c.map((f) => o(p, _, f, d))
|
|
6411
6411
|
)
|
|
6412
6412
|
)
|
|
6413
6413
|
);
|
|
@@ -6425,64 +6425,64 @@ function Zo(e, t, n = {}) {
|
|
|
6425
6425
|
return i ? { stop: ke, cancel: ke, trigger: ke } : ke;
|
|
6426
6426
|
if (mn && !Xo) {
|
|
6427
6427
|
Xo = !0;
|
|
6428
|
-
const
|
|
6429
|
-
Array.from(o.document.body.children).forEach((b) => Re(b, "click", ke,
|
|
6428
|
+
const m = { passive: !0 };
|
|
6429
|
+
Array.from(o.document.body.children).forEach((b) => Re(b, "click", ke, m)), Re(o.document.documentElement, "click", ke, m);
|
|
6430
6430
|
}
|
|
6431
6431
|
let l = !0;
|
|
6432
|
-
const c = (
|
|
6432
|
+
const c = (m) => $(r).some((b) => {
|
|
6433
6433
|
if (typeof b == "string")
|
|
6434
|
-
return Array.from(o.document.querySelectorAll(b)).some((S) => S ===
|
|
6434
|
+
return Array.from(o.document.querySelectorAll(b)).some((S) => S === m.target || m.composedPath().includes(S));
|
|
6435
6435
|
{
|
|
6436
6436
|
const S = nt(b);
|
|
6437
|
-
return S && (
|
|
6437
|
+
return S && (m.target === S || m.composedPath().includes(S));
|
|
6438
6438
|
}
|
|
6439
6439
|
});
|
|
6440
|
-
function u(
|
|
6441
|
-
const b = $(
|
|
6440
|
+
function u(m) {
|
|
6441
|
+
const b = $(m);
|
|
6442
6442
|
return b && b.$.subTree.shapeFlag === 16;
|
|
6443
6443
|
}
|
|
6444
|
-
function d(
|
|
6445
|
-
const S = $(
|
|
6444
|
+
function d(m, b) {
|
|
6445
|
+
const S = $(m), x = S.$.subTree && S.$.subTree.children;
|
|
6446
6446
|
return x == null || !Array.isArray(x) ? !1 : x.some((M) => M.el === b.target || b.composedPath().includes(M.el));
|
|
6447
6447
|
}
|
|
6448
|
-
const
|
|
6448
|
+
const p = (m) => {
|
|
6449
6449
|
const b = nt(e);
|
|
6450
|
-
if (
|
|
6451
|
-
if ("detail" in
|
|
6450
|
+
if (m.target != null && !(!(b instanceof Element) && u(e) && d(e, m)) && !(!b || b === m.target || m.composedPath().includes(b))) {
|
|
6451
|
+
if ("detail" in m && m.detail === 0 && (l = !c(m)), !l) {
|
|
6452
6452
|
l = !0;
|
|
6453
6453
|
return;
|
|
6454
6454
|
}
|
|
6455
|
-
t(
|
|
6455
|
+
t(m);
|
|
6456
6456
|
}
|
|
6457
6457
|
};
|
|
6458
|
-
let
|
|
6459
|
-
const
|
|
6460
|
-
Re(o, "click", (
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
}, 0),
|
|
6458
|
+
let _ = !1;
|
|
6459
|
+
const f = [
|
|
6460
|
+
Re(o, "click", (m) => {
|
|
6461
|
+
_ || (_ = !0, setTimeout(() => {
|
|
6462
|
+
_ = !1;
|
|
6463
|
+
}, 0), p(m));
|
|
6464
6464
|
}, { passive: !0, capture: a }),
|
|
6465
|
-
Re(o, "pointerdown", (
|
|
6465
|
+
Re(o, "pointerdown", (m) => {
|
|
6466
6466
|
const b = nt(e);
|
|
6467
|
-
l = !c(
|
|
6467
|
+
l = !c(m) && !!(b && !m.composedPath().includes(b));
|
|
6468
6468
|
}, { passive: !0 }),
|
|
6469
|
-
s && Re(o, "blur", (
|
|
6469
|
+
s && Re(o, "blur", (m) => {
|
|
6470
6470
|
setTimeout(() => {
|
|
6471
6471
|
var b;
|
|
6472
6472
|
const S = nt(e);
|
|
6473
|
-
((b = o.document.activeElement) == null ? void 0 : b.tagName) === "IFRAME" && !(S != null && S.contains(o.document.activeElement)) && t(
|
|
6473
|
+
((b = o.document.activeElement) == null ? void 0 : b.tagName) === "IFRAME" && !(S != null && S.contains(o.document.activeElement)) && t(m);
|
|
6474
6474
|
}, 0);
|
|
6475
6475
|
}, { passive: !0 })
|
|
6476
|
-
].filter(Boolean),
|
|
6476
|
+
].filter(Boolean), E = () => f.forEach((m) => m());
|
|
6477
6477
|
return i ? {
|
|
6478
|
-
stop:
|
|
6478
|
+
stop: E,
|
|
6479
6479
|
cancel: () => {
|
|
6480
6480
|
l = !1;
|
|
6481
6481
|
},
|
|
6482
|
-
trigger: (
|
|
6483
|
-
l = !0,
|
|
6482
|
+
trigger: (m) => {
|
|
6483
|
+
l = !0, p(m), l = !1;
|
|
6484
6484
|
}
|
|
6485
|
-
} :
|
|
6485
|
+
} : E;
|
|
6486
6486
|
}
|
|
6487
6487
|
const Ou = {
|
|
6488
6488
|
mounted(e, t) {
|
|
@@ -6612,13 +6612,13 @@ const Tu = {
|
|
|
6612
6612
|
var a, s, i, l;
|
|
6613
6613
|
if (!(e.store.modal.height && e.store.modal.width && e.store.modal.left && e.store.modal.bottom)) return;
|
|
6614
6614
|
const c = (a = e.store.modal.cell) == null ? void 0 : a.closest("table"), u = c.offsetHeight || 0, d = c.offsetWidth || 0;
|
|
6615
|
-
let
|
|
6616
|
-
const
|
|
6617
|
-
|
|
6618
|
-
let
|
|
6619
|
-
return
|
|
6620
|
-
left: `${
|
|
6621
|
-
top: `${
|
|
6615
|
+
let p = ((s = e.store.modal.cell) == null ? void 0 : s.offsetTop) || 0;
|
|
6616
|
+
const _ = ((i = c.querySelector("thead")) == null ? void 0 : i.offsetHeight) || 0;
|
|
6617
|
+
p += _, p = p + o.value < u ? p : p - (o.value + e.store.modal.height);
|
|
6618
|
+
let f = ((l = e.store.modal.cell) == null ? void 0 : l.offsetLeft) || 0;
|
|
6619
|
+
return f = f + n.value <= d ? f : f - (n.value - e.store.modal.width), {
|
|
6620
|
+
left: `${f}px`,
|
|
6621
|
+
top: `${p}px`
|
|
6622
6622
|
};
|
|
6623
6623
|
});
|
|
6624
6624
|
return (a, s) => (V(), A("div", {
|
|
@@ -6639,22 +6639,22 @@ const Tu = {
|
|
|
6639
6639
|
return (/* @__PURE__ */ Bc(`table-${t}`, () => {
|
|
6640
6640
|
const n = () => {
|
|
6641
6641
|
const O = {};
|
|
6642
|
-
for (const [v,
|
|
6642
|
+
for (const [v, h] of r.value.entries())
|
|
6643
6643
|
for (const [g, I] of a.value.entries())
|
|
6644
|
-
O[`${v}:${g}`] = I[
|
|
6644
|
+
O[`${v}:${g}`] = I[h.name];
|
|
6645
6645
|
return O;
|
|
6646
6646
|
}, o = (O) => {
|
|
6647
6647
|
const v = [Object.assign({}, { rowModified: !1 })];
|
|
6648
6648
|
if (O && "0:0" in O)
|
|
6649
6649
|
return O;
|
|
6650
|
-
const
|
|
6650
|
+
const h = /* @__PURE__ */ new Set();
|
|
6651
6651
|
for (let g = a.value.length - 1; g >= 0; g--) {
|
|
6652
6652
|
const I = a.value[g];
|
|
6653
|
-
I.parent &&
|
|
6653
|
+
I.parent && h.add(I.parent), v[g] = {
|
|
6654
6654
|
childrenOpen: !1,
|
|
6655
6655
|
expanded: !1,
|
|
6656
6656
|
indent: I.indent || 0,
|
|
6657
|
-
isParent:
|
|
6657
|
+
isParent: h.has(g),
|
|
6658
6658
|
isRoot: I.parent === null || I.parent === void 0,
|
|
6659
6659
|
rowModified: !1,
|
|
6660
6660
|
open: I.parent === null || I.parent === void 0,
|
|
@@ -6662,14 +6662,14 @@ const Tu = {
|
|
|
6662
6662
|
};
|
|
6663
6663
|
}
|
|
6664
6664
|
return v;
|
|
6665
|
-
}, r = C(e.columns), a = C(e.rows), s = C(e.config || {}), i = C(e.table || n()), l = C(o(e.display)), c = C(e.modal || { visible: !1 }), u = C({}), d = R(() => r.value.some((O) => O.pinned)),
|
|
6665
|
+
}, r = C(e.columns), a = C(e.rows), s = C(e.config || {}), i = C(e.table || n()), l = C(o(e.display)), c = C(e.modal || { visible: !1 }), u = C({}), d = R(() => r.value.some((O) => O.pinned)), p = R(() => `${Math.ceil(a.value.length / 100 + 1)}ch`), _ = R(
|
|
6666
6666
|
() => s.value.view ? ["list", "tree", "list-expansion"].includes(s.value.view) : !1
|
|
6667
|
-
),
|
|
6667
|
+
), f = (O, v) => i.value[`${O}:${v}`], E = (O, v, h) => {
|
|
6668
6668
|
const g = `${O}:${v}`, I = r.value[O];
|
|
6669
|
-
i.value[g] !==
|
|
6670
|
-
},
|
|
6669
|
+
i.value[g] !== h && (l.value[v].rowModified = !0), i.value[g] = h, a.value[v][I.name] = h;
|
|
6670
|
+
}, m = (O, v, h) => {
|
|
6671
6671
|
const g = `${O}:${v}`;
|
|
6672
|
-
i.value[g] !==
|
|
6672
|
+
i.value[g] !== h && (l.value[v].rowModified = !0, u.value[g] = h);
|
|
6673
6673
|
}, b = (O) => ({
|
|
6674
6674
|
minWidth: O.width || "40ch",
|
|
6675
6675
|
textAlign: O.align || "center",
|
|
@@ -6684,11 +6684,11 @@ const Tu = {
|
|
|
6684
6684
|
l.value[v].parent === O && (l.value[v].open = !l.value[v].open, l.value[v].childrenOpen && U(v));
|
|
6685
6685
|
} else s.value.view === "list-expansion" && (l.value[O].expanded = !l.value[O].expanded);
|
|
6686
6686
|
}, re = (O, v) => {
|
|
6687
|
-
const
|
|
6688
|
-
return w(O, v,
|
|
6689
|
-
}, w = (O, v,
|
|
6687
|
+
const h = f(O, v);
|
|
6688
|
+
return w(O, v, h);
|
|
6689
|
+
}, w = (O, v, h) => {
|
|
6690
6690
|
const g = r.value[O], I = a.value[v], N = g.format;
|
|
6691
|
-
return N ? typeof N == "function" ? N(
|
|
6691
|
+
return N ? typeof N == "function" ? N(h, { table: i.value, row: I, column: g }) : typeof N == "string" ? Function(`"use strict";return (${N})`)()(h, { table: i.value, row: I, column: g }) : h : h;
|
|
6692
6692
|
};
|
|
6693
6693
|
return {
|
|
6694
6694
|
// state
|
|
@@ -6701,14 +6701,14 @@ const Tu = {
|
|
|
6701
6701
|
updates: u,
|
|
6702
6702
|
// getters
|
|
6703
6703
|
hasPinnedColumns: d,
|
|
6704
|
-
numberedRowWidth:
|
|
6705
|
-
zeroColumn:
|
|
6704
|
+
numberedRowWidth: p,
|
|
6705
|
+
zeroColumn: _,
|
|
6706
6706
|
// actions
|
|
6707
6707
|
closeModal: (O) => {
|
|
6708
6708
|
var v;
|
|
6709
6709
|
O.target instanceof Node && (v = c.value.parent) != null && v.contains(O.target) || c.value.visible && (c.value.visible = !1);
|
|
6710
6710
|
},
|
|
6711
|
-
getCellData:
|
|
6711
|
+
getCellData: f,
|
|
6712
6712
|
getCellDisplayValue: re,
|
|
6713
6713
|
getFormattedValue: w,
|
|
6714
6714
|
getHeaderCellStyle: b,
|
|
@@ -6716,13 +6716,13 @@ const Tu = {
|
|
|
6716
6716
|
getRowExpandSymbol: M,
|
|
6717
6717
|
isRowGantt: S,
|
|
6718
6718
|
isRowVisible: x,
|
|
6719
|
-
setCellData:
|
|
6720
|
-
setCellText:
|
|
6719
|
+
setCellData: E,
|
|
6720
|
+
setCellText: m,
|
|
6721
6721
|
toggleRowExpand: U,
|
|
6722
6722
|
updateGanttBar: (O) => {
|
|
6723
6723
|
var v;
|
|
6724
|
-
const
|
|
6725
|
-
|
|
6724
|
+
const h = (v = a.value[O.rowIndex]) == null ? void 0 : v.gantt;
|
|
6725
|
+
h && (O.type === "resize" ? O.edge === "start" ? (h.startIndex = O.newStart, h.endIndex = O.end, h.colspan = h.endIndex - h.startIndex) : O.edge === "end" && (h.startIndex = O.start, h.endIndex = O.newEnd, h.colspan = h.endIndex - h.startIndex) : O.type === "bar" && (h.startIndex = O.newStart, h.endIndex = O.newEnd, h.colspan = h.endIndex - h.startIndex));
|
|
6726
6726
|
}
|
|
6727
6727
|
};
|
|
6728
6728
|
}))();
|
|
@@ -6738,21 +6738,18 @@ const Tu = {
|
|
|
6738
6738
|
emits: ["update:modelValue", "cellUpdate", "gantt:drag"],
|
|
6739
6739
|
setup(e, { expose: t, emit: n }) {
|
|
6740
6740
|
const o = n, r = Lt("table"), a = e.modelValue ? e.modelValue : e.rows, s = Nu({ columns: e.columns, rows: a, id: e.id, config: e.config });
|
|
6741
|
-
s.$onAction(({ name: u, store: d, args:
|
|
6742
|
-
var h;
|
|
6741
|
+
s.$onAction(({ name: u, store: d, args: p, after: _ }) => {
|
|
6743
6742
|
if (u === "setCellData" || u === "setCellText") {
|
|
6744
|
-
const [
|
|
6745
|
-
|
|
6746
|
-
o("cellUpdate", { colIndex:
|
|
6743
|
+
const [f, E, m] = p, b = d.getCellData(f, E);
|
|
6744
|
+
_(() => {
|
|
6745
|
+
o("cellUpdate", { colIndex: f, rowIndex: E, newValue: m, oldValue: b });
|
|
6747
6746
|
});
|
|
6748
6747
|
} else if (u === "updateGanttBar") {
|
|
6749
|
-
const [
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
});
|
|
6755
|
-
}
|
|
6748
|
+
const [f] = p;
|
|
6749
|
+
let E = !1;
|
|
6750
|
+
f.type === "resize" ? E = f.oldColspan !== f.newColspan : f.type === "bar" && (E = f.oldStart !== f.newStart || f.oldEnd !== f.newEnd), E && _(() => {
|
|
6751
|
+
o("gantt:drag", f);
|
|
6752
|
+
});
|
|
6756
6753
|
}
|
|
6757
6754
|
}), K(
|
|
6758
6755
|
() => s.rows,
|
|
@@ -6764,17 +6761,17 @@ const Tu = {
|
|
|
6764
6761
|
e.columns.some((u) => u.pinned) && (l(), s.config.view === "tree" && bs(r, l, { childList: !0, subtree: !0 }));
|
|
6765
6762
|
});
|
|
6766
6763
|
const i = R(() => s.columns.filter((u) => u.pinned).length), l = () => {
|
|
6767
|
-
const u = r.value, d = u == null ? void 0 : u.rows[0],
|
|
6768
|
-
for (const [
|
|
6769
|
-
const
|
|
6770
|
-
|
|
6764
|
+
const u = r.value, d = u == null ? void 0 : u.rows[0], p = u == null ? void 0 : u.rows[1], _ = d ? Array.from(d.cells) : [];
|
|
6765
|
+
for (const [f, E] of _.entries()) {
|
|
6766
|
+
const m = p == null ? void 0 : p.cells[f];
|
|
6767
|
+
m && (E.style.width = `${m.offsetWidth}px`);
|
|
6771
6768
|
}
|
|
6772
|
-
for (const
|
|
6773
|
-
let
|
|
6774
|
-
const
|
|
6775
|
-
for (const b of
|
|
6776
|
-
(b.classList.contains("sticky-column") || b.classList.contains("sticky-index")) && (b.style.left = `${
|
|
6777
|
-
|
|
6769
|
+
for (const f of (u == null ? void 0 : u.rows) || []) {
|
|
6770
|
+
let E = 0;
|
|
6771
|
+
const m = [];
|
|
6772
|
+
for (const b of f.cells)
|
|
6773
|
+
(b.classList.contains("sticky-column") || b.classList.contains("sticky-index")) && (b.style.left = `${E}px`, E += b.offsetWidth, m.push(b));
|
|
6774
|
+
m.length > 0 && m[m.length - 1].classList.add("sticky-column-edge");
|
|
6778
6775
|
}
|
|
6779
6776
|
};
|
|
6780
6777
|
window.addEventListener("keydown", (u) => {
|
|
@@ -6790,19 +6787,19 @@ const Tu = {
|
|
|
6790
6787
|
var d;
|
|
6791
6788
|
if (u.indent !== 0 || i.value === 0)
|
|
6792
6789
|
return s.columns;
|
|
6793
|
-
const
|
|
6794
|
-
for (let
|
|
6795
|
-
const
|
|
6796
|
-
|
|
6790
|
+
const p = [];
|
|
6791
|
+
for (let _ = 0; _ < i.value; _++) {
|
|
6792
|
+
const f = { ...s.columns[_] };
|
|
6793
|
+
f.originalIndex = _, p.push(f);
|
|
6797
6794
|
}
|
|
6798
|
-
return
|
|
6795
|
+
return p.push({
|
|
6799
6796
|
...s.columns[i.value],
|
|
6800
6797
|
isGantt: !0,
|
|
6801
6798
|
colspan: ((d = u.gantt) == null ? void 0 : d.colspan) || s.columns.length - i.value,
|
|
6802
6799
|
originalIndex: i.value,
|
|
6803
6800
|
width: "auto"
|
|
6804
6801
|
// TODO: refactor to API that can detect when data exists in a cell. Might have be custom and not generalizable
|
|
6805
|
-
}),
|
|
6802
|
+
}), p;
|
|
6806
6803
|
};
|
|
6807
6804
|
return t({ store: s }), (u, d) => st((V(), A("table", {
|
|
6808
6805
|
ref: "table",
|
|
@@ -6819,43 +6816,43 @@ const Tu = {
|
|
|
6819
6816
|
], !0),
|
|
6820
6817
|
L("tbody", null, [
|
|
6821
6818
|
ve(u.$slots, "body", { data: P(s) }, () => [
|
|
6822
|
-
(V(!0), A(Ee, null, Pe(P(s).rows, (
|
|
6823
|
-
key:
|
|
6824
|
-
row:
|
|
6825
|
-
rowIndex:
|
|
6819
|
+
(V(!0), A(Ee, null, Pe(P(s).rows, (p, _) => (V(), Se(wu, {
|
|
6820
|
+
key: p.id,
|
|
6821
|
+
row: p,
|
|
6822
|
+
rowIndex: _,
|
|
6826
6823
|
store: P(s)
|
|
6827
6824
|
}, {
|
|
6828
6825
|
default: At(() => [
|
|
6829
|
-
(V(!0), A(Ee, null, Pe(c(
|
|
6830
|
-
var
|
|
6826
|
+
(V(!0), A(Ee, null, Pe(c(p), (f, E) => {
|
|
6827
|
+
var m, b, S;
|
|
6831
6828
|
return V(), A(Ee, {
|
|
6832
|
-
key:
|
|
6829
|
+
key: f.name
|
|
6833
6830
|
}, [
|
|
6834
|
-
|
|
6831
|
+
f.isGantt ? (V(), Se(bt(f.ganttComponent || "AGanttCell"), {
|
|
6835
6832
|
key: 0,
|
|
6836
6833
|
store: P(s),
|
|
6837
6834
|
columnsCount: P(s).columns.length - i.value,
|
|
6838
|
-
color: (
|
|
6839
|
-
start: (b =
|
|
6840
|
-
end: (S =
|
|
6841
|
-
colspan:
|
|
6842
|
-
pinned:
|
|
6843
|
-
rowIndex:
|
|
6844
|
-
colIndex:
|
|
6835
|
+
color: (m = p.gantt) == null ? void 0 : m.color,
|
|
6836
|
+
start: (b = p.gantt) == null ? void 0 : b.startIndex,
|
|
6837
|
+
end: (S = p.gantt) == null ? void 0 : S.endIndex,
|
|
6838
|
+
colspan: f.colspan,
|
|
6839
|
+
pinned: f.pinned,
|
|
6840
|
+
rowIndex: _,
|
|
6841
|
+
colIndex: f.originalIndex ?? E,
|
|
6845
6842
|
style: ae({
|
|
6846
|
-
textAlign: (
|
|
6847
|
-
minWidth: (
|
|
6843
|
+
textAlign: (f == null ? void 0 : f.align) || "center",
|
|
6844
|
+
minWidth: (f == null ? void 0 : f.width) || "40ch",
|
|
6848
6845
|
width: P(s).config.fullWidth ? "auto" : null
|
|
6849
6846
|
})
|
|
6850
|
-
}, null, 8, ["store", "columnsCount", "color", "start", "end", "colspan", "pinned", "rowIndex", "colIndex", "style"])) : (V(), Se(bt(
|
|
6847
|
+
}, null, 8, ["store", "columnsCount", "color", "start", "end", "colspan", "pinned", "rowIndex", "colIndex", "style"])) : (V(), Se(bt(f.cellComponent || "ACell"), {
|
|
6851
6848
|
key: 1,
|
|
6852
6849
|
store: P(s),
|
|
6853
|
-
pinned:
|
|
6854
|
-
rowIndex:
|
|
6855
|
-
colIndex:
|
|
6850
|
+
pinned: f.pinned,
|
|
6851
|
+
rowIndex: _,
|
|
6852
|
+
colIndex: E,
|
|
6856
6853
|
style: ae({
|
|
6857
|
-
textAlign: (
|
|
6858
|
-
minWidth: (
|
|
6854
|
+
textAlign: (f == null ? void 0 : f.align) || "center",
|
|
6855
|
+
minWidth: (f == null ? void 0 : f.width) || "40ch",
|
|
6859
6856
|
width: P(s).config.fullWidth ? "auto" : null
|
|
6860
6857
|
}),
|
|
6861
6858
|
spellcheck: "false"
|
|
@@ -6887,7 +6884,7 @@ const Tu = {
|
|
|
6887
6884
|
[P(Ou), P(s).closeModal]
|
|
6888
6885
|
]);
|
|
6889
6886
|
}
|
|
6890
|
-
}), Au = /* @__PURE__ */ ws(Du, [["__scopeId", "data-v-
|
|
6887
|
+
}), Au = /* @__PURE__ */ ws(Du, [["__scopeId", "data-v-fcb81c06"]]), xu = /* @__PURE__ */ fe({
|
|
6891
6888
|
__name: "Records",
|
|
6892
6889
|
setup(e) {
|
|
6893
6890
|
const { stonecrop: t, isReady: n } = ts(), o = { view: "list" };
|
|
@@ -6926,8 +6923,8 @@ const Tu = {
|
|
|
6926
6923
|
d.preventDefault(), d.stopPropagation(), await i();
|
|
6927
6924
|
}, u = () => {
|
|
6928
6925
|
};
|
|
6929
|
-
return (d,
|
|
6930
|
-
const
|
|
6926
|
+
return (d, p) => {
|
|
6927
|
+
const _ = Ts("router-link");
|
|
6931
6928
|
return V(), A("footer", null, [
|
|
6932
6929
|
L("ul", $u, [
|
|
6933
6930
|
L("li", {
|
|
@@ -6947,12 +6944,12 @@ const Tu = {
|
|
|
6947
6944
|
onKeydown: gt(u, ["enter"]),
|
|
6948
6945
|
style: ae({ display: t.value ? "block" : "none" })
|
|
6949
6946
|
}, [
|
|
6950
|
-
Dt(
|
|
6947
|
+
Dt(_, {
|
|
6951
6948
|
to: "/home",
|
|
6952
6949
|
tabindex: "0"
|
|
6953
6950
|
}, {
|
|
6954
6951
|
default: At(() => [
|
|
6955
|
-
(V(), A("svg", Lu,
|
|
6952
|
+
(V(), A("svg", Lu, p[5] || (p[5] = [
|
|
6956
6953
|
L("g", null, [
|
|
6957
6954
|
L("path", {
|
|
6958
6955
|
style: { fill: "#010002" },
|
|
@@ -6982,7 +6979,7 @@ const Tu = {
|
|
|
6982
6979
|
L("span", {
|
|
6983
6980
|
style: ae({ display: n.value ? "none" : "block" })
|
|
6984
6981
|
}, [
|
|
6985
|
-
(V(), A("svg", Uu,
|
|
6982
|
+
(V(), A("svg", Uu, p[6] || (p[6] = [
|
|
6986
6983
|
L("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
|
|
6987
6984
|
L("path", {
|
|
6988
6985
|
d: "M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",
|
|
@@ -6993,29 +6990,29 @@ const Tu = {
|
|
|
6993
6990
|
])))
|
|
6994
6991
|
], 4),
|
|
6995
6992
|
st(L("input", {
|
|
6996
|
-
"onUpdate:modelValue":
|
|
6993
|
+
"onUpdate:modelValue": p[0] || (p[0] = (f) => o.value = f),
|
|
6997
6994
|
ref: "searchinput",
|
|
6998
6995
|
style: ae({ display: n.value ? "block" : "none" }),
|
|
6999
|
-
onClick:
|
|
7000
|
-
onInput:
|
|
7001
|
-
onBlur:
|
|
7002
|
-
onKeydown:
|
|
6996
|
+
onClick: p[1] || (p[1] = (f) => l(f)),
|
|
6997
|
+
onInput: p[2] || (p[2] = (f) => l(f)),
|
|
6998
|
+
onBlur: p[3] || (p[3] = (f) => c(f)),
|
|
6999
|
+
onKeydown: p[4] || (p[4] = gt((f) => c(f), ["enter"])),
|
|
7003
7000
|
type: "text"
|
|
7004
7001
|
}, null, 36), [
|
|
7005
7002
|
[Ps, o.value]
|
|
7006
7003
|
])
|
|
7007
7004
|
])
|
|
7008
7005
|
], 36),
|
|
7009
|
-
(V(!0), A(Ee, null, Pe(d.breadcrumbs, (
|
|
7010
|
-
key:
|
|
7006
|
+
(V(!0), A(Ee, null, Pe(d.breadcrumbs, (f) => (V(), A("li", {
|
|
7007
|
+
key: f.title,
|
|
7011
7008
|
style: ae({ display: t.value ? "block" : "none" })
|
|
7012
7009
|
}, [
|
|
7013
|
-
Dt(
|
|
7010
|
+
Dt(_, {
|
|
7014
7011
|
tabindex: "0",
|
|
7015
|
-
to:
|
|
7012
|
+
to: f.to
|
|
7016
7013
|
}, {
|
|
7017
7014
|
default: At(() => [
|
|
7018
|
-
rr(_e(
|
|
7015
|
+
rr(_e(f.title), 1)
|
|
7019
7016
|
]),
|
|
7020
7017
|
_: 2
|
|
7021
7018
|
}, 1032, ["to"])
|