@stonecrop/desktop 0.4.31 → 0.4.33
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 +345 -345
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/tsdoc-metadata.json +11 -0
- package/package.json +14 -6
- package/src/index.ts +1 -1
package/dist/desktop.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ut, ref as
|
|
1
|
+
import { defineComponent as ut, ref as L, onMounted as Pt, createElementBlock as V, openBlock as x, normalizeClass as Ut, createElementVNode as R, Fragment as lt, renderList as mt, createCommentVNode as pt, toDisplayString as bt, withDirectives as Bt, vShow as Yn, useTemplateRef as Pe, computed as D, watch as K, nextTick as xt, createBlock as yt, Teleport as Hi, createVNode as Ee, Transition as zi, withCtx as Oe, withModifiers as Tn, vModelText as Zs, renderSlot as ct, createTextVNode as qn, shallowRef as Y, toValue as M, toRef as Tt, readonly as Qs, customRef as tr, getCurrentScope as Ne, onScopeDispose as Ve, unref as A, resolveDynamicComponent as Be, mergeProps as er, effectScope as Xn, markRaw as it, toRaw as Qt, inject as Zn, hasInjectionContext as nr, getCurrentInstance as le, reactive as or, isRef as gt, isReactive as ue, toRefs as Ze, mergeModels as Ao, useModel as Ro, normalizeStyle as ft, onBeforeUnmount as Ki, watchEffect as Wi, resolveComponent as Fi, withKeys as Le } from "vue";
|
|
2
2
|
const Gi = { class: "action-menu-icon" }, Ji = ["onclick"], Yi = { key: 1 }, qi = ["onClick"], Xi = { class: "dropdown-container" }, Zi = { class: "dropdown" }, Qi = ["onclick"], ta = ["href"], ea = { class: "dropdown-item" }, na = /* @__PURE__ */ ut({
|
|
3
3
|
__name: "ActionSet",
|
|
4
4
|
props: {
|
|
5
5
|
elements: {}
|
|
6
6
|
},
|
|
7
7
|
setup(t) {
|
|
8
|
-
const e =
|
|
8
|
+
const e = L(t.elements), n = L(!1), o = L(null), s = L(!1), r = L(!1);
|
|
9
9
|
Pt(() => {
|
|
10
10
|
i();
|
|
11
11
|
});
|
|
@@ -124,7 +124,7 @@ const Gi = { class: "action-menu-icon" }, Ji = ["onclick"], Yi = { key: 1 }, qi
|
|
|
124
124
|
},
|
|
125
125
|
emits: ["select", "close"],
|
|
126
126
|
setup(t, { emit: e }) {
|
|
127
|
-
const n = e, o =
|
|
127
|
+
const n = e, o = L(""), s = L(0), r = Pe("input"), i = D(() => o.value ? t.search(o.value).slice(0, t.maxResults) : []);
|
|
128
128
|
K(
|
|
129
129
|
() => t.isOpen,
|
|
130
130
|
async (p) => {
|
|
@@ -217,7 +217,7 @@ function rr(t) {
|
|
|
217
217
|
const ir = typeof window < "u" && typeof document < "u";
|
|
218
218
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
219
219
|
const pa = Object.prototype.toString, ha = (t) => pa.call(t) === "[object Object]", ma = () => {
|
|
220
|
-
},
|
|
220
|
+
}, Lo = /* @__PURE__ */ ga();
|
|
221
221
|
function ga() {
|
|
222
222
|
var t, e;
|
|
223
223
|
return ir && ((t = window?.navigator) == null ? void 0 : t.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((e = window?.navigator) == null ? void 0 : e.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
@@ -226,7 +226,7 @@ function va(...t) {
|
|
|
226
226
|
if (t.length !== 1)
|
|
227
227
|
return Tt(...t);
|
|
228
228
|
const e = t[0];
|
|
229
|
-
return typeof e == "function" ? Qs(tr(() => ({ get: e, set: ma }))) :
|
|
229
|
+
return typeof e == "function" ? Qs(tr(() => ({ get: e, set: ma }))) : L(e);
|
|
230
230
|
}
|
|
231
231
|
function fn(t) {
|
|
232
232
|
return Array.isArray(t) ? t : [t];
|
|
@@ -250,7 +250,7 @@ function ba(t) {
|
|
|
250
250
|
function wa(...t) {
|
|
251
251
|
const e = [], n = () => {
|
|
252
252
|
e.forEach((a) => a()), e.length = 0;
|
|
253
|
-
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s =
|
|
253
|
+
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s = D(() => {
|
|
254
254
|
const a = fn(M(t[0])).filter((c) => c != null);
|
|
255
255
|
return a.every((c) => typeof c != "string") ? a : void 0;
|
|
256
256
|
}), r = _a(
|
|
@@ -259,7 +259,7 @@ function wa(...t) {
|
|
|
259
259
|
return [
|
|
260
260
|
(c = (a = s.value) == null ? void 0 : a.map((l) => ba(l))) != null ? c : [ya].filter((l) => l != null),
|
|
261
261
|
fn(M(s.value ? t[1] : t[0])),
|
|
262
|
-
fn(
|
|
262
|
+
fn(A(s.value ? t[2] : t[1])),
|
|
263
263
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
264
264
|
M(s.value ? t[3] : t[2])
|
|
265
265
|
];
|
|
@@ -316,7 +316,7 @@ function Oa(t, e = !1) {
|
|
|
316
316
|
});
|
|
317
317
|
const r = () => {
|
|
318
318
|
const a = pn(M(t));
|
|
319
|
-
!a || n.value || (
|
|
319
|
+
!a || n.value || (Lo && (o = wa(
|
|
320
320
|
a,
|
|
321
321
|
"touchmove",
|
|
322
322
|
(c) => {
|
|
@@ -326,9 +326,9 @@ function Oa(t, e = !1) {
|
|
|
326
326
|
)), a.style.overflow = "hidden", n.value = !0);
|
|
327
327
|
}, i = () => {
|
|
328
328
|
const a = pn(M(t));
|
|
329
|
-
!a || !n.value || (
|
|
329
|
+
!a || !n.value || (Lo && o?.(), a.style.overflow = s, hn.delete(a), n.value = !1);
|
|
330
330
|
};
|
|
331
|
-
return rr(i),
|
|
331
|
+
return rr(i), D({
|
|
332
332
|
get() {
|
|
333
333
|
return n.value;
|
|
334
334
|
},
|
|
@@ -359,13 +359,13 @@ const Sa = { class: "aform" }, Ia = /* @__PURE__ */ ut({
|
|
|
359
359
|
},
|
|
360
360
|
emits: ["update:modelValue"],
|
|
361
361
|
setup(t, { emit: e }) {
|
|
362
|
-
const n = e, o =
|
|
362
|
+
const n = e, o = L(t.data || {}), s = (i) => {
|
|
363
363
|
let a = {};
|
|
364
364
|
for (const [c, l] of Object.entries(i))
|
|
365
365
|
["component", "fieldtype"].includes(c) || (a[c] = l), c === "rows" && l && l.length === 0 && (a.rows = o.value[i.fieldname]);
|
|
366
366
|
return a;
|
|
367
|
-
}, r =
|
|
368
|
-
get: () => t.modelValue.map((i, a) =>
|
|
367
|
+
}, r = D({
|
|
368
|
+
get: () => t.modelValue.map((i, a) => D({
|
|
369
369
|
get() {
|
|
370
370
|
return i.value;
|
|
371
371
|
},
|
|
@@ -409,7 +409,7 @@ const Ca = (t) => {
|
|
|
409
409
|
const e = $a();
|
|
410
410
|
e && e.register(t);
|
|
411
411
|
};
|
|
412
|
-
class
|
|
412
|
+
class jo {
|
|
413
413
|
constructor(e) {
|
|
414
414
|
this._process = e, this._active = !1, this._current = null, this._last = null;
|
|
415
415
|
}
|
|
@@ -439,7 +439,7 @@ class Lo {
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
const cr = ".", Pa = "", lr = "", Na = "#", Va = "*", ur = "xstate.init", xn = "xstate.stop";
|
|
442
|
-
function
|
|
442
|
+
function Da(t, e) {
|
|
443
443
|
return {
|
|
444
444
|
type: `xstate.after.${t}.${e}`
|
|
445
445
|
};
|
|
@@ -450,7 +450,7 @@ function $n(t, e) {
|
|
|
450
450
|
output: e
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function Aa(t, e) {
|
|
454
454
|
return {
|
|
455
455
|
type: `xstate.done.actor.${t}`,
|
|
456
456
|
output: e,
|
|
@@ -475,7 +475,7 @@ function vt(t) {
|
|
|
475
475
|
throw t;
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const La = typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
479
479
|
function fr(t, e) {
|
|
480
480
|
const n = Mo(t), o = Mo(e);
|
|
481
481
|
return typeof o == "string" ? typeof n == "string" ? o === n : !1 : typeof n == "string" ? n in o : Object.keys(n).every((s) => s in o ? fr(n[s], o[s]) : !1);
|
|
@@ -506,9 +506,9 @@ function Mo(t) {
|
|
|
506
506
|
if (typeof t != "string")
|
|
507
507
|
return t;
|
|
508
508
|
const e = Qn(t);
|
|
509
|
-
return
|
|
509
|
+
return ja(e);
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function ja(t) {
|
|
512
512
|
if (t.length === 1)
|
|
513
513
|
return t[0];
|
|
514
514
|
const e = {};
|
|
@@ -700,7 +700,7 @@ class za {
|
|
|
700
700
|
* @param options Actor options
|
|
701
701
|
*/
|
|
702
702
|
constructor(e, n) {
|
|
703
|
-
this.logic = e, this._snapshot = void 0, this.clock = void 0, this.options = void 0, this.id = void 0, this.mailbox = new
|
|
703
|
+
this.logic = e, this._snapshot = void 0, this.clock = void 0, this.options = void 0, this.id = void 0, this.mailbox = new jo(this._process.bind(this)), this.observers = /* @__PURE__ */ new Set(), this.eventListeners = /* @__PURE__ */ new Map(), this.logger = void 0, this._processingStatus = et.NotStarted, this._parent = void 0, this._syncSnapshot = void 0, this.ref = void 0, this._actorScope = void 0, this._systemId = void 0, this.sessionId = void 0, this.system = void 0, this._doneEvent = void 0, this.src = void 0, this._deferred = [];
|
|
704
704
|
const o = {
|
|
705
705
|
...Ha,
|
|
706
706
|
...n
|
|
@@ -803,7 +803,7 @@ class za {
|
|
|
803
803
|
} catch (r) {
|
|
804
804
|
vt(r);
|
|
805
805
|
}
|
|
806
|
-
this._stopProcedure(), this._complete(), this._doneEvent =
|
|
806
|
+
this._stopProcedure(), this._complete(), this._doneEvent = Aa(this.id, this._snapshot.output), this._parent && this.system._relay(this, this._parent, this._doneEvent);
|
|
807
807
|
break;
|
|
808
808
|
case "error":
|
|
809
809
|
this._error(this._snapshot.error);
|
|
@@ -1023,7 +1023,7 @@ class za {
|
|
|
1023
1023
|
// right now, they are being stopped within the machine's transition
|
|
1024
1024
|
// but that could throw and leave us with "orphaned" active actors
|
|
1025
1025
|
_stopProcedure() {
|
|
1026
|
-
return this._processingStatus !== et.Running ? this : (this.system.scheduler.cancelAll(this), this.mailbox.clear(), this.mailbox = new
|
|
1026
|
+
return this._processingStatus !== et.Running ? this : (this.system.scheduler.cancelAll(this), this.mailbox.clear(), this.mailbox = new jo(this._process.bind(this)), this._processingStatus = et.Stopped, this.system._unregister(this), this);
|
|
1027
1027
|
}
|
|
1028
1028
|
/** @internal */
|
|
1029
1029
|
_send(e) {
|
|
@@ -1065,7 +1065,7 @@ class za {
|
|
|
1065
1065
|
getPersistedSnapshot(e) {
|
|
1066
1066
|
return this.logic.getPersistedSnapshot(this._snapshot, e);
|
|
1067
1067
|
}
|
|
1068
|
-
[
|
|
1068
|
+
[La]() {
|
|
1069
1069
|
return this;
|
|
1070
1070
|
}
|
|
1071
1071
|
/**
|
|
@@ -1097,15 +1097,15 @@ function Ka(t, e, n, o, {
|
|
|
1097
1097
|
sendId: r
|
|
1098
1098
|
}, void 0];
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Wa(t, e) {
|
|
1101
1101
|
t.defer(() => {
|
|
1102
1102
|
t.system.scheduler.cancel(t.self, e.sendId);
|
|
1103
1103
|
});
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Fa(t) {
|
|
1106
1106
|
function e(n, o) {
|
|
1107
1107
|
}
|
|
1108
|
-
return e.type = "xstate.cancel", e.sendId = t, e.resolve = Ka, e.execute =
|
|
1108
|
+
return e.type = "xstate.cancel", e.sendId = t, e.resolve = Ka, e.execute = Wa, e;
|
|
1109
1109
|
}
|
|
1110
1110
|
function Ga(t, e, n, o, {
|
|
1111
1111
|
id: s,
|
|
@@ -1210,7 +1210,7 @@ const oo = (t) => t.type === "atomic" || t.type === "final";
|
|
|
1210
1210
|
function te(t) {
|
|
1211
1211
|
return Object.values(t.states).filter((e) => e.type !== "history");
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function De(t, e) {
|
|
1214
1214
|
const n = [];
|
|
1215
1215
|
if (e === t)
|
|
1216
1216
|
return n;
|
|
@@ -1292,11 +1292,11 @@ function Qa(t) {
|
|
|
1292
1292
|
if (!e)
|
|
1293
1293
|
return [];
|
|
1294
1294
|
const n = (o) => {
|
|
1295
|
-
const s =
|
|
1295
|
+
const s = Da(o, t.id), r = s.type;
|
|
1296
1296
|
return t.entry.push(Tc(s, {
|
|
1297
1297
|
id: r,
|
|
1298
1298
|
delay: o
|
|
1299
|
-
})), t.exit.push(
|
|
1299
|
+
})), t.exit.push(Fa(r)), r;
|
|
1300
1300
|
};
|
|
1301
1301
|
return Object.keys(e).flatMap((o) => {
|
|
1302
1302
|
const s = e[o], r = typeof s == "string" ? {
|
|
@@ -1312,12 +1312,12 @@ function Qa(t) {
|
|
|
1312
1312
|
delay: s
|
|
1313
1313
|
} = o;
|
|
1314
1314
|
return {
|
|
1315
|
-
...
|
|
1315
|
+
...At(t, o.event, o),
|
|
1316
1316
|
delay: s
|
|
1317
1317
|
};
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function At(t, e, n) {
|
|
1321
1321
|
const o = mr(n.target), s = n.reenter ?? !1, r = nc(t, o), i = {
|
|
1322
1322
|
...n,
|
|
1323
1323
|
actions: kt(n.actions),
|
|
@@ -1341,24 +1341,24 @@ function tc(t) {
|
|
|
1341
1341
|
if (n === lr)
|
|
1342
1342
|
throw new Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');
|
|
1343
1343
|
const o = t.config.on[n];
|
|
1344
|
-
e.set(n, Yt(o).map((s) =>
|
|
1344
|
+
e.set(n, Yt(o).map((s) => At(t, n, s)));
|
|
1345
1345
|
}
|
|
1346
1346
|
if (t.config.onDone) {
|
|
1347
1347
|
const n = `xstate.done.state.${t.id}`;
|
|
1348
|
-
e.set(n, Yt(t.config.onDone).map((o) =>
|
|
1348
|
+
e.set(n, Yt(t.config.onDone).map((o) => At(t, n, o)));
|
|
1349
1349
|
}
|
|
1350
1350
|
for (const n of t.invoke) {
|
|
1351
1351
|
if (n.onDone) {
|
|
1352
1352
|
const o = `xstate.done.actor.${n.id}`;
|
|
1353
|
-
e.set(o, Yt(n.onDone).map((s) =>
|
|
1353
|
+
e.set(o, Yt(n.onDone).map((s) => At(t, o, s)));
|
|
1354
1354
|
}
|
|
1355
1355
|
if (n.onError) {
|
|
1356
1356
|
const o = `xstate.error.actor.${n.id}`;
|
|
1357
|
-
e.set(o, Yt(n.onError).map((s) =>
|
|
1357
|
+
e.set(o, Yt(n.onError).map((s) => At(t, o, s)));
|
|
1358
1358
|
}
|
|
1359
1359
|
if (n.onSnapshot) {
|
|
1360
1360
|
const o = `xstate.snapshot.${n.id}`;
|
|
1361
|
-
e.set(o, Yt(n.onSnapshot).map((s) =>
|
|
1361
|
+
e.set(o, Yt(n.onSnapshot).map((s) => At(t, o, s)));
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
1364
|
for (const n of t.after) {
|
|
@@ -1422,7 +1422,7 @@ function Rt(t) {
|
|
|
1422
1422
|
function zo(t) {
|
|
1423
1423
|
const e = wr(t);
|
|
1424
1424
|
for (const n of e)
|
|
1425
|
-
for (const o of
|
|
1425
|
+
for (const o of De(n, t))
|
|
1426
1426
|
e.add(o);
|
|
1427
1427
|
return e;
|
|
1428
1428
|
}
|
|
@@ -1545,7 +1545,7 @@ function Er(t, e, n) {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
function cc(t) {
|
|
1547
1547
|
const [e, ...n] = t;
|
|
1548
|
-
for (const o of
|
|
1548
|
+
for (const o of De(e, void 0))
|
|
1549
1549
|
if (n.every((s) => $t(s, o)))
|
|
1550
1550
|
return o;
|
|
1551
1551
|
}
|
|
@@ -1665,7 +1665,7 @@ function fc(t, e, n, o) {
|
|
|
1665
1665
|
s.reenter) && (o.add(a), n.add(a)), qt(a, e, n, o);
|
|
1666
1666
|
const i = io(s, e);
|
|
1667
1667
|
for (const a of i) {
|
|
1668
|
-
const c =
|
|
1668
|
+
const c = De(a, r);
|
|
1669
1669
|
r?.type === "parallel" && c.push(r), kr(o, e, n, c, !s.source.parent && s.reenter ? void 0 : r);
|
|
1670
1670
|
}
|
|
1671
1671
|
}
|
|
@@ -1699,7 +1699,7 @@ function kr(t, e, n, o, s) {
|
|
|
1699
1699
|
[...t].some((a) => $t(a, i)) || (t.add(i), qt(i, e, n, t));
|
|
1700
1700
|
}
|
|
1701
1701
|
function gn(t, e, n, o, s) {
|
|
1702
|
-
kr(n, o, s,
|
|
1702
|
+
kr(n, o, s, De(t, e));
|
|
1703
1703
|
}
|
|
1704
1704
|
function pc(t, e, n, o, s, r, i, a) {
|
|
1705
1705
|
let c = t;
|
|
@@ -1797,7 +1797,7 @@ function vn(t, e, n, o) {
|
|
|
1797
1797
|
};
|
|
1798
1798
|
let a = e;
|
|
1799
1799
|
if (a.type !== ur) {
|
|
1800
|
-
const l = a, p = Ma(l), d =
|
|
1800
|
+
const l = a, p = Ma(l), d = Wo(l, s);
|
|
1801
1801
|
if (p && !d.length)
|
|
1802
1802
|
return s = Ht(t, {
|
|
1803
1803
|
status: "error",
|
|
@@ -1823,7 +1823,7 @@ function vn(t, e, n, o) {
|
|
|
1823
1823
|
if (!l.length) {
|
|
1824
1824
|
if (!o.length)
|
|
1825
1825
|
break;
|
|
1826
|
-
a = o.shift(), l =
|
|
1826
|
+
a = o.shift(), l = Wo(a, s);
|
|
1827
1827
|
}
|
|
1828
1828
|
s = Vn(l, s, n, a, !1, o), c = s !== p, i(s, a, l);
|
|
1829
1829
|
}
|
|
@@ -1835,13 +1835,13 @@ function vn(t, e, n, o) {
|
|
|
1835
1835
|
function Ko(t, e, n) {
|
|
1836
1836
|
return ne(t, e, n, Object.values(t.children).map((o) => gr(o)), [], void 0);
|
|
1837
1837
|
}
|
|
1838
|
-
function
|
|
1838
|
+
function Wo(t, e) {
|
|
1839
1839
|
return e.machine.getTransitionData(e, t);
|
|
1840
1840
|
}
|
|
1841
1841
|
function mc(t, e) {
|
|
1842
1842
|
const n = /* @__PURE__ */ new Set(), o = t._nodes.filter(oo);
|
|
1843
1843
|
for (const s of o)
|
|
1844
|
-
t: for (const r of [s].concat(
|
|
1844
|
+
t: for (const r of [s].concat(De(s, void 0)))
|
|
1845
1845
|
if (r.always) {
|
|
1846
1846
|
for (const i of r.always)
|
|
1847
1847
|
if (i.guard === void 0 || no(i.guard, t.context, e, t)) {
|
|
@@ -2091,12 +2091,12 @@ function Cc(t) {
|
|
|
2091
2091
|
}
|
|
2092
2092
|
return e.type = "xstate.assign", e.assignment = t, e.resolve = $c, e;
|
|
2093
2093
|
}
|
|
2094
|
-
const
|
|
2095
|
-
function
|
|
2096
|
-
let o =
|
|
2094
|
+
const Fo = /* @__PURE__ */ new WeakMap();
|
|
2095
|
+
function Ft(t, e, n) {
|
|
2096
|
+
let o = Fo.get(t);
|
|
2097
2097
|
return o ? e in o || (o[e] = n()) : (o = {
|
|
2098
2098
|
[e]: n()
|
|
2099
|
-
},
|
|
2099
|
+
}, Fo.set(t, o)), o[e];
|
|
2100
2100
|
}
|
|
2101
2101
|
const Pc = {}, me = (t) => typeof t == "string" ? {
|
|
2102
2102
|
type: t
|
|
@@ -2117,7 +2117,7 @@ class nn {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
/** @internal */
|
|
2119
2119
|
_initialize() {
|
|
2120
|
-
this.transitions = tc(this), this.config.always && (this.always = Yt(this.config.always).map((e) =>
|
|
2120
|
+
this.transitions = tc(this), this.config.always && (this.always = Yt(this.config.always).map((e) => At(this, lr, e))), Object.keys(this.states).forEach((e) => {
|
|
2121
2121
|
this.states[e]._initialize();
|
|
2122
2122
|
});
|
|
2123
2123
|
}
|
|
@@ -2164,7 +2164,7 @@ class nn {
|
|
|
2164
2164
|
}
|
|
2165
2165
|
/** The logic invoked as actors by this state node. */
|
|
2166
2166
|
get invoke() {
|
|
2167
|
-
return
|
|
2167
|
+
return Ft(this, "invoke", () => kt(this.config.invoke).map((e, n) => {
|
|
2168
2168
|
const {
|
|
2169
2169
|
src: o,
|
|
2170
2170
|
systemId: s
|
|
@@ -2192,19 +2192,19 @@ class nn {
|
|
|
2192
2192
|
}
|
|
2193
2193
|
/** The mapping of events to transitions. */
|
|
2194
2194
|
get on() {
|
|
2195
|
-
return
|
|
2195
|
+
return Ft(this, "on", () => [...this.transitions].flatMap(([e, n]) => n.map((o) => [e, o])).reduce((e, [n, o]) => (e[n] = e[n] || [], e[n].push(o), e), {}));
|
|
2196
2196
|
}
|
|
2197
2197
|
get after() {
|
|
2198
|
-
return
|
|
2198
|
+
return Ft(this, "delayedTransitions", () => Qa(this));
|
|
2199
2199
|
}
|
|
2200
2200
|
get initial() {
|
|
2201
|
-
return
|
|
2201
|
+
return Ft(this, "initial", () => ec(this, this.config.initial));
|
|
2202
2202
|
}
|
|
2203
2203
|
/** @internal */
|
|
2204
2204
|
next(e, n) {
|
|
2205
2205
|
const o = n.type, s = [];
|
|
2206
2206
|
let r;
|
|
2207
|
-
const i =
|
|
2207
|
+
const i = Ft(this, `candidates-${o}`, () => Za(this, o));
|
|
2208
2208
|
for (const a of i) {
|
|
2209
2209
|
const {
|
|
2210
2210
|
guard: c
|
|
@@ -2226,7 +2226,7 @@ ${d.message}`);
|
|
|
2226
2226
|
}
|
|
2227
2227
|
/** All the event types accepted by this state node and its descendants. */
|
|
2228
2228
|
get events() {
|
|
2229
|
-
return
|
|
2229
|
+
return Ft(this, "events", () => {
|
|
2230
2230
|
const {
|
|
2231
2231
|
states: e
|
|
2232
2232
|
} = this, n = new Set(this.ownEvents);
|
|
@@ -2453,14 +2453,14 @@ let Vc = class Tr {
|
|
|
2453
2453
|
return p(c.context, o), c;
|
|
2454
2454
|
}
|
|
2455
2455
|
};
|
|
2456
|
-
function
|
|
2456
|
+
function Dc(t, e) {
|
|
2457
2457
|
return new Vc(t, e);
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2459
|
+
function Dn(t) {
|
|
2460
2460
|
this.message = t || "";
|
|
2461
2461
|
}
|
|
2462
|
-
|
|
2463
|
-
constructor: { value:
|
|
2462
|
+
Dn.prototype = Object.create(Error.prototype, {
|
|
2463
|
+
constructor: { value: Dn },
|
|
2464
2464
|
name: { value: "NotImplemented" },
|
|
2465
2465
|
stack: {
|
|
2466
2466
|
get: function() {
|
|
@@ -2468,7 +2468,7 @@ An.prototype = Object.create(Error.prototype, {
|
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
2470
|
});
|
|
2471
|
-
let
|
|
2471
|
+
let Ac = class ze {
|
|
2472
2472
|
/**
|
|
2473
2473
|
* The root Stonecrop instance
|
|
2474
2474
|
*/
|
|
@@ -2546,7 +2546,7 @@ let Dc = class ze {
|
|
|
2546
2546
|
*/
|
|
2547
2547
|
async getMeta(e) {
|
|
2548
2548
|
if (!this.registry.getMeta)
|
|
2549
|
-
throw new
|
|
2549
|
+
throw new Dn(`getMeta function is not implemented for ${e} in the registry`);
|
|
2550
2550
|
return await this.registry.getMeta(e);
|
|
2551
2551
|
}
|
|
2552
2552
|
/**
|
|
@@ -2614,35 +2614,35 @@ let Dc = class ze {
|
|
|
2614
2614
|
runAction(e, n, o) {
|
|
2615
2615
|
const s = this.registry.registry[e.slug], r = s.actions?.get(n), i = s.workflow;
|
|
2616
2616
|
if (i) {
|
|
2617
|
-
const a =
|
|
2617
|
+
const a = Dc(i), c = ke(a);
|
|
2618
2618
|
c.start(), c.send({ type: n, id: o }), r && r.length > 0 && r.forEach((l) => {
|
|
2619
2619
|
new Function(l)(o);
|
|
2620
2620
|
});
|
|
2621
2621
|
}
|
|
2622
2622
|
}
|
|
2623
2623
|
};
|
|
2624
|
-
var Rc = Object.create, xr = Object.defineProperty,
|
|
2624
|
+
var Rc = Object.create, xr = Object.defineProperty, Lc = Object.getOwnPropertyDescriptor, ao = Object.getOwnPropertyNames, jc = Object.getPrototypeOf, Mc = Object.prototype.hasOwnProperty, Uc = (t, e) => function() {
|
|
2625
2625
|
return t && (e = (0, t[ao(t)[0]])(t = 0)), e;
|
|
2626
2626
|
}, Bc = (t, e) => function() {
|
|
2627
2627
|
return e || (0, t[ao(t)[0]])((e = { exports: {} }).exports, e), e.exports;
|
|
2628
2628
|
}, Hc = (t, e, n, o) => {
|
|
2629
2629
|
if (e && typeof e == "object" || typeof e == "function")
|
|
2630
2630
|
for (let s of ao(e))
|
|
2631
|
-
!Mc.call(t, s) && s !== n && xr(t, s, { get: () => e[s], enumerable: !(o =
|
|
2631
|
+
!Mc.call(t, s) && s !== n && xr(t, s, { get: () => e[s], enumerable: !(o = Lc(e, s)) || o.enumerable });
|
|
2632
2632
|
return t;
|
|
2633
|
-
}, zc = (t, e, n) => (n = t != null ? Rc(
|
|
2633
|
+
}, zc = (t, e, n) => (n = t != null ? Rc(jc(t)) : {}, Hc(
|
|
2634
2634
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
2635
2635
|
// file that has been converted to a CommonJS file using a Babel-
|
|
2636
2636
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
2637
2637
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
2638
2638
|
xr(n, "default", { value: t, enumerable: !0 }),
|
|
2639
2639
|
t
|
|
2640
|
-
)),
|
|
2640
|
+
)), Ae = Uc({
|
|
2641
2641
|
"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
|
|
2642
2642
|
}
|
|
2643
2643
|
}), Kc = Bc({
|
|
2644
2644
|
"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(t, e) {
|
|
2645
|
-
|
|
2645
|
+
Ae(), e.exports = o;
|
|
2646
2646
|
function n(r) {
|
|
2647
2647
|
return r instanceof Buffer ? Buffer.from(r) : new r.constructor(r.buffer.slice(), r.byteOffset, r.length);
|
|
2648
2648
|
}
|
|
@@ -2706,8 +2706,8 @@ var Rc = Object.create, xr = Object.defineProperty, jc = Object.getOwnPropertyDe
|
|
|
2706
2706
|
else if (ArrayBuffer.isView($))
|
|
2707
2707
|
m[k] = n($);
|
|
2708
2708
|
else {
|
|
2709
|
-
const
|
|
2710
|
-
|
|
2709
|
+
const j = i.indexOf($);
|
|
2710
|
+
j !== -1 ? m[k] = a[j] : m[k] = h($);
|
|
2711
2711
|
}
|
|
2712
2712
|
}
|
|
2713
2713
|
return m;
|
|
@@ -2760,21 +2760,21 @@ var Rc = Object.create, xr = Object.defineProperty, jc = Object.getOwnPropertyDe
|
|
|
2760
2760
|
}
|
|
2761
2761
|
}
|
|
2762
2762
|
});
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2763
|
+
Ae();
|
|
2764
|
+
Ae();
|
|
2765
|
+
Ae();
|
|
2766
2766
|
var $r = typeof navigator < "u", T = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
|
|
2767
2767
|
typeof T.chrome < "u" && T.chrome.devtools;
|
|
2768
2768
|
$r && (T.self, T.top);
|
|
2769
2769
|
var Go;
|
|
2770
2770
|
typeof navigator < "u" && ((Go = navigator.userAgent) == null || Go.toLowerCase().includes("electron"));
|
|
2771
|
-
|
|
2772
|
-
var
|
|
2771
|
+
Ae();
|
|
2772
|
+
var Wc = zc(Kc()), Fc = /(?:^|[-_/])(\w)/g;
|
|
2773
2773
|
function Gc(t, e) {
|
|
2774
2774
|
return e ? e.toUpperCase() : "";
|
|
2775
2775
|
}
|
|
2776
2776
|
function Jc(t) {
|
|
2777
|
-
return t && `${t}`.replace(
|
|
2777
|
+
return t && `${t}`.replace(Fc, Gc);
|
|
2778
2778
|
}
|
|
2779
2779
|
function Yc(t, e) {
|
|
2780
2780
|
let n = t.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
|
|
@@ -2785,7 +2785,7 @@ function Yc(t, e) {
|
|
|
2785
2785
|
return s.substring(0, r);
|
|
2786
2786
|
}
|
|
2787
2787
|
}
|
|
2788
|
-
var Jo = (0,
|
|
2788
|
+
var Jo = (0, Wc.default)({ circles: !0 });
|
|
2789
2789
|
const qc = {
|
|
2790
2790
|
trailing: !0
|
|
2791
2791
|
};
|
|
@@ -2815,10 +2815,10 @@ function oe(t, e = 25, n = {}) {
|
|
|
2815
2815
|
async function Xc(t, e, n) {
|
|
2816
2816
|
return await t.apply(e, n);
|
|
2817
2817
|
}
|
|
2818
|
-
function
|
|
2818
|
+
function An(t, e = {}, n) {
|
|
2819
2819
|
for (const o in t) {
|
|
2820
2820
|
const s = t[o], r = n ? `${n}:${o}` : o;
|
|
2821
|
-
typeof s == "object" && s !== null ?
|
|
2821
|
+
typeof s == "object" && s !== null ? An(s, e, r) : typeof s == "function" && (e[r] = s);
|
|
2822
2822
|
}
|
|
2823
2823
|
return e;
|
|
2824
2824
|
}
|
|
@@ -2889,7 +2889,7 @@ class nl {
|
|
|
2889
2889
|
this.deprecateHook(n, e[n]);
|
|
2890
2890
|
}
|
|
2891
2891
|
addHooks(e) {
|
|
2892
|
-
const n =
|
|
2892
|
+
const n = An(e), o = Object.keys(n).map(
|
|
2893
2893
|
(s) => this.hook(s, n[s])
|
|
2894
2894
|
);
|
|
2895
2895
|
return () => {
|
|
@@ -2898,7 +2898,7 @@ class nl {
|
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
2900
|
removeHooks(e) {
|
|
2901
|
-
const n =
|
|
2901
|
+
const n = An(e);
|
|
2902
2902
|
for (const o in n)
|
|
2903
2903
|
this.removeHook(o, n[o]);
|
|
2904
2904
|
}
|
|
@@ -4299,17 +4299,17 @@ var ol = Object.create, Nr = Object.defineProperty, sl = Object.getOwnPropertyDe
|
|
|
4299
4299
|
"¤": "tien te"
|
|
4300
4300
|
}
|
|
4301
4301
|
}, c = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), p = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(v, m) {
|
|
4302
|
-
var _ = "-", k = "", $ = "",
|
|
4302
|
+
var _ = "-", k = "", $ = "", j = !0, H = {}, nt, E, z, S, y, O, C, U, tt, G, N, Z, g, b, I = "";
|
|
4303
4303
|
if (typeof v != "string")
|
|
4304
4304
|
return "";
|
|
4305
4305
|
if (typeof m == "string" && (_ = m), C = a.en, U = i.en, typeof m == "object") {
|
|
4306
|
-
nt = m.maintainCase || !1, H = m.custom && typeof m.custom == "object" ? m.custom : H, z = +m.truncate > 1 && m.truncate || !1, S = m.uric || !1, y = m.uricNoSlash || !1, O = m.mark || !1,
|
|
4306
|
+
nt = m.maintainCase || !1, H = m.custom && typeof m.custom == "object" ? m.custom : H, z = +m.truncate > 1 && m.truncate || !1, S = m.uric || !1, y = m.uricNoSlash || !1, O = m.mark || !1, j = !(m.symbols === !1 || m.lang === !1), _ = m.separator || _, S && (I += c), y && (I += l), O && (I += p), C = m.lang && a[m.lang] && j ? a[m.lang] : j ? a.en : {}, U = m.lang && i[m.lang] ? i[m.lang] : m.lang === !1 || m.lang === !0 ? {} : i.en, m.titleCase && typeof m.titleCase.length == "number" && Array.prototype.toString.call(m.titleCase) ? (m.titleCase.forEach(function(P) {
|
|
4307
4307
|
H[P + ""] = P + "";
|
|
4308
4308
|
}), E = !0) : E = !!m.titleCase, m.custom && typeof m.custom.length == "number" && Array.prototype.toString.call(m.custom) && m.custom.forEach(function(P) {
|
|
4309
4309
|
H[P + ""] = P + "";
|
|
4310
4310
|
}), Object.keys(H).forEach(function(P) {
|
|
4311
|
-
var
|
|
4312
|
-
P.length > 1 ?
|
|
4311
|
+
var W;
|
|
4312
|
+
P.length > 1 ? W = new RegExp("\\b" + f(P) + "\\b", "gi") : W = new RegExp(f(P), "gi"), v = v.replace(W, H[P]);
|
|
4313
4313
|
});
|
|
4314
4314
|
for (N in H)
|
|
4315
4315
|
I += N;
|
|
@@ -4319,8 +4319,8 @@ var ol = Object.create, Nr = Object.defineProperty, sl = Object.getOwnPropertyDe
|
|
|
4319
4319
|
/* process symbol chars */
|
|
4320
4320
|
C[N] && !(S && c.indexOf(N) !== -1) && !(y && l.indexOf(N) !== -1) ? (N = g || k.substr(-1).match(/[A-Za-z0-9]/) ? _ + C[N] : C[N], N += v[G + 1] !== void 0 && v[G + 1].match(/[A-Za-z0-9]/) ? _ : "", g = !0) : (b === !0 ? (N = r[$] + N, $ = "", b = !1) : g && (/[A-Za-z0-9]/.test(N) || k.substr(-1).match(/A-Za-z0-9]/)) && (N = " " + N), g = !1)
|
|
4321
4321
|
), k += N.replace(new RegExp("[^\\w\\s" + I + "_-]", "g"), _);
|
|
4322
|
-
return E && (k = k.replace(/(\w)(\S*)/g, function(P,
|
|
4323
|
-
var Nt =
|
|
4322
|
+
return E && (k = k.replace(/(\w)(\S*)/g, function(P, W, q) {
|
|
4323
|
+
var Nt = W.toUpperCase() + (q !== null ? q : "");
|
|
4324
4324
|
return Object.keys(H).indexOf(Nt.toLowerCase()) < 0 ? Nt : Nt.toLowerCase();
|
|
4325
4325
|
})), k = k.replace(/\s+/g, _).replace(new RegExp("\\" + _ + "+", "g"), _).replace(new RegExp("(^\\" + _ + "+|\\" + _ + "+$)", "g"), ""), z && k.length > z && (tt = k.charAt(z) === _, k = k.slice(0, z), tt || (k = k.slice(0, k.lastIndexOf(_)))), !nt && !E && (k = k.toLowerCase()), k;
|
|
4326
4326
|
}, u = function(v) {
|
|
@@ -4381,7 +4381,7 @@ function lo(t) {
|
|
|
4381
4381
|
if (t.root)
|
|
4382
4382
|
return t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function Dr(t) {
|
|
4385
4385
|
var e, n;
|
|
4386
4386
|
const o = (e = t.subTree) == null ? void 0 : e.type, s = lo(t);
|
|
4387
4387
|
return s ? ((n = s?.types) == null ? void 0 : n.Fragment) === o : !1;
|
|
@@ -4424,9 +4424,9 @@ function ml() {
|
|
|
4424
4424
|
};
|
|
4425
4425
|
return t;
|
|
4426
4426
|
}
|
|
4427
|
-
var
|
|
4427
|
+
var je;
|
|
4428
4428
|
function gl(t) {
|
|
4429
|
-
return
|
|
4429
|
+
return je || (je = document.createRange()), je.selectNode(t), je.getBoundingClientRect();
|
|
4430
4430
|
}
|
|
4431
4431
|
function vl(t) {
|
|
4432
4432
|
const e = ml();
|
|
@@ -4458,11 +4458,11 @@ var qo = {
|
|
|
4458
4458
|
};
|
|
4459
4459
|
function zt(t) {
|
|
4460
4460
|
const e = t.subTree.el;
|
|
4461
|
-
return typeof window > "u" ? qo :
|
|
4461
|
+
return typeof window > "u" ? qo : Dr(t) ? vl(t.subTree) : e?.nodeType === 1 ? e?.getBoundingClientRect() : t.subTree.component ? zt(t.subTree.component) : qo;
|
|
4462
4462
|
}
|
|
4463
4463
|
w();
|
|
4464
4464
|
function uo(t) {
|
|
4465
|
-
return
|
|
4465
|
+
return Dr(t) ? yl(t.subTree) : t.subTree ? [t.subTree.el] : [];
|
|
4466
4466
|
}
|
|
4467
4467
|
function yl(t) {
|
|
4468
4468
|
if (!t.children)
|
|
@@ -4472,7 +4472,7 @@ function yl(t) {
|
|
|
4472
4472
|
n.component ? e.push(...uo(n.component)) : n?.el && e.push(n.el);
|
|
4473
4473
|
}), e;
|
|
4474
4474
|
}
|
|
4475
|
-
var
|
|
4475
|
+
var Ar = "__vue-devtools-component-inspector__", Rr = "__vue-devtools-component-inspector__card__", Lr = "__vue-devtools-component-inspector__name__", jr = "__vue-devtools-component-inspector__indicator__", Mr = {
|
|
4476
4476
|
display: "block",
|
|
4477
4477
|
zIndex: 2147483640,
|
|
4478
4478
|
position: "fixed",
|
|
@@ -4502,16 +4502,16 @@ var Dr = "__vue-devtools-component-inspector__", Rr = "__vue-devtools-component-
|
|
|
4502
4502
|
opacity: 0.7
|
|
4503
4503
|
};
|
|
4504
4504
|
function de() {
|
|
4505
|
-
return document.getElementById(
|
|
4505
|
+
return document.getElementById(Ar);
|
|
4506
4506
|
}
|
|
4507
4507
|
function El() {
|
|
4508
4508
|
return document.getElementById(Rr);
|
|
4509
4509
|
}
|
|
4510
4510
|
function Ol() {
|
|
4511
|
-
return document.getElementById(
|
|
4511
|
+
return document.getElementById(jr);
|
|
4512
4512
|
}
|
|
4513
4513
|
function kl() {
|
|
4514
|
-
return document.getElementById(
|
|
4514
|
+
return document.getElementById(Lr);
|
|
4515
4515
|
}
|
|
4516
4516
|
function fo(t) {
|
|
4517
4517
|
return {
|
|
@@ -4524,7 +4524,7 @@ function fo(t) {
|
|
|
4524
4524
|
function po(t) {
|
|
4525
4525
|
var e;
|
|
4526
4526
|
const n = document.createElement("div");
|
|
4527
|
-
n.id = (e = t.elementId) != null ? e :
|
|
4527
|
+
n.id = (e = t.elementId) != null ? e : Ar, Object.assign(n.style, {
|
|
4528
4528
|
...Mr,
|
|
4529
4529
|
...fo(t.bounds),
|
|
4530
4530
|
...t.style
|
|
@@ -4535,9 +4535,9 @@ function po(t) {
|
|
|
4535
4535
|
top: t.bounds.top < 35 ? 0 : "-35px"
|
|
4536
4536
|
});
|
|
4537
4537
|
const s = document.createElement("span");
|
|
4538
|
-
s.id =
|
|
4538
|
+
s.id = Lr, s.innerHTML = `<${t.name}> `;
|
|
4539
4539
|
const r = document.createElement("i");
|
|
4540
|
-
return r.id =
|
|
4540
|
+
return r.id = jr, r.innerHTML = `${Math.round(t.bounds.width * 100) / 100} x ${Math.round(t.bounds.height * 100) / 100}`, Object.assign(r.style, wl), o.appendChild(s), o.appendChild(r), n.appendChild(o), document.body.appendChild(n), n;
|
|
4541
4541
|
}
|
|
4542
4542
|
function ho(t) {
|
|
4543
4543
|
const e = de(), n = El(), o = kl(), s = Ol();
|
|
@@ -4559,32 +4559,32 @@ function Ur() {
|
|
|
4559
4559
|
const t = de();
|
|
4560
4560
|
t && (t.style.display = "none");
|
|
4561
4561
|
}
|
|
4562
|
-
var
|
|
4563
|
-
function
|
|
4562
|
+
var Ln = null;
|
|
4563
|
+
function jn(t) {
|
|
4564
4564
|
const e = t.target;
|
|
4565
4565
|
if (e) {
|
|
4566
4566
|
const n = e.__vueParentComponent;
|
|
4567
|
-
if (n && (
|
|
4567
|
+
if (n && (Ln = n, n.vnode.el)) {
|
|
4568
4568
|
const o = zt(n), s = cn(n);
|
|
4569
4569
|
de() ? ho({ bounds: o, name: s }) : po({ bounds: o, name: s });
|
|
4570
4570
|
}
|
|
4571
4571
|
}
|
|
4572
4572
|
}
|
|
4573
4573
|
function Il(t, e) {
|
|
4574
|
-
if (t.preventDefault(), t.stopPropagation(),
|
|
4575
|
-
const n = hl(
|
|
4574
|
+
if (t.preventDefault(), t.stopPropagation(), Ln) {
|
|
4575
|
+
const n = hl(Ln);
|
|
4576
4576
|
e(n);
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
4579
|
var on = null;
|
|
4580
4580
|
function Tl() {
|
|
4581
|
-
Ur(), window.removeEventListener("mouseover",
|
|
4581
|
+
Ur(), window.removeEventListener("mouseover", jn), window.removeEventListener("click", on, !0), on = null;
|
|
4582
4582
|
}
|
|
4583
4583
|
function xl() {
|
|
4584
|
-
return window.addEventListener("mouseover",
|
|
4584
|
+
return window.addEventListener("mouseover", jn), new Promise((t) => {
|
|
4585
4585
|
function e(n) {
|
|
4586
4586
|
n.preventDefault(), n.stopPropagation(), Il(n, (o) => {
|
|
4587
|
-
window.removeEventListener("click", e, !0), on = null, window.removeEventListener("mouseover",
|
|
4587
|
+
window.removeEventListener("click", e, !0), on = null, window.removeEventListener("mouseover", jn);
|
|
4588
4588
|
const s = de();
|
|
4589
4589
|
s && (s.style.display = "none"), t(JSON.stringify({ id: o }));
|
|
4590
4590
|
});
|
|
@@ -4663,9 +4663,9 @@ function ge(t) {
|
|
|
4663
4663
|
const e = t && t.__v_raw;
|
|
4664
4664
|
return e ? ge(e) : t;
|
|
4665
4665
|
}
|
|
4666
|
-
var
|
|
4666
|
+
var Dl = class {
|
|
4667
4667
|
constructor() {
|
|
4668
|
-
this.refEditor = new
|
|
4668
|
+
this.refEditor = new Al();
|
|
4669
4669
|
}
|
|
4670
4670
|
set(t, e, n, o) {
|
|
4671
4671
|
const s = Array.isArray(e) ? e : e.split(".");
|
|
@@ -4701,7 +4701,7 @@ var Al = class {
|
|
|
4701
4701
|
}
|
|
4702
4702
|
};
|
|
4703
4703
|
}
|
|
4704
|
-
},
|
|
4704
|
+
}, Al = class {
|
|
4705
4705
|
set(t, e) {
|
|
4706
4706
|
if (yn(t))
|
|
4707
4707
|
t.value = e;
|
|
@@ -4735,7 +4735,7 @@ w();
|
|
|
4735
4735
|
w();
|
|
4736
4736
|
w();
|
|
4737
4737
|
var Rl = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
|
|
4738
|
-
function
|
|
4738
|
+
function Ll() {
|
|
4739
4739
|
if (!$r || typeof localStorage > "u" || localStorage === null)
|
|
4740
4740
|
return {
|
|
4741
4741
|
recordingState: !1,
|
|
@@ -4760,13 +4760,13 @@ w();
|
|
|
4760
4760
|
w();
|
|
4761
4761
|
var Zo;
|
|
4762
4762
|
(Zo = T).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (Zo.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
|
|
4763
|
-
var
|
|
4763
|
+
var jl = new Proxy(T.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
|
|
4764
4764
|
get(t, e, n) {
|
|
4765
4765
|
return Reflect.get(t, e, n);
|
|
4766
4766
|
}
|
|
4767
4767
|
});
|
|
4768
4768
|
function Ml(t, e) {
|
|
4769
|
-
|
|
4769
|
+
F.timelineLayersState[e.id] = !1, jl.push({
|
|
4770
4770
|
...t,
|
|
4771
4771
|
descriptorId: e.id,
|
|
4772
4772
|
appRecord: lo(e.app)
|
|
@@ -4818,7 +4818,7 @@ function Bl() {
|
|
|
4818
4818
|
});
|
|
4819
4819
|
const e = oe(async ({ inspectorId: o, plugin: s }) => {
|
|
4820
4820
|
var r;
|
|
4821
|
-
if (!o || !((r = s?.descriptor) != null && r.app) ||
|
|
4821
|
+
if (!o || !((r = s?.descriptor) != null && r.app) || F.highPerfModeEnabled)
|
|
4822
4822
|
return;
|
|
4823
4823
|
const i = Ke(o, s.descriptor.app), a = {
|
|
4824
4824
|
app: s.descriptor.app,
|
|
@@ -4848,7 +4848,7 @@ function Bl() {
|
|
|
4848
4848
|
t.hook("sendInspectorTree", e);
|
|
4849
4849
|
const n = oe(async ({ inspectorId: o, plugin: s }) => {
|
|
4850
4850
|
var r;
|
|
4851
|
-
if (!o || !((r = s?.descriptor) != null && r.app) ||
|
|
4851
|
+
if (!o || !((r = s?.descriptor) != null && r.app) || F.highPerfModeEnabled)
|
|
4852
4852
|
return;
|
|
4853
4853
|
const i = Ke(o, s.descriptor.app), a = {
|
|
4854
4854
|
app: s.descriptor.app,
|
|
@@ -4886,7 +4886,7 @@ function Bl() {
|
|
|
4886
4886
|
}), t.hook("timelineEventAdded", ({ options: o, plugin: s }) => {
|
|
4887
4887
|
var r;
|
|
4888
4888
|
const i = ["performance", "component-event", "keyboard", "mouse"];
|
|
4889
|
-
|
|
4889
|
+
F.highPerfModeEnabled || !((r = F.timelineLayersState) != null && r[s.descriptor.id]) && !i.includes(o.layerId) || t.callHookWith(
|
|
4890
4890
|
async (a) => {
|
|
4891
4891
|
await Promise.all(a.map((c) => c(o)));
|
|
4892
4892
|
},
|
|
@@ -4916,7 +4916,7 @@ var os;
|
|
|
4916
4916
|
(os = T).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (os.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
|
|
4917
4917
|
var ss;
|
|
4918
4918
|
(ss = T).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (ss.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
|
|
4919
|
-
var
|
|
4919
|
+
var Lt = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
|
|
4920
4920
|
function Hl() {
|
|
4921
4921
|
return {
|
|
4922
4922
|
connected: !1,
|
|
@@ -4929,11 +4929,11 @@ function Hl() {
|
|
|
4929
4929
|
highPerfModeEnabled: !0,
|
|
4930
4930
|
devtoolsClientDetected: {},
|
|
4931
4931
|
perfUniqueGroupId: 0,
|
|
4932
|
-
timelineLayersState:
|
|
4932
|
+
timelineLayersState: Ll()
|
|
4933
4933
|
};
|
|
4934
4934
|
}
|
|
4935
4935
|
var rs;
|
|
4936
|
-
(rs = T)[
|
|
4936
|
+
(rs = T)[Lt] != null || (rs[Lt] = Hl());
|
|
4937
4937
|
var zl = oe((t) => {
|
|
4938
4938
|
fe.hooks.callHook("devtoolsStateUpdated", { state: t });
|
|
4939
4939
|
});
|
|
@@ -4951,7 +4951,7 @@ var ln = new Proxy(T.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
|
|
|
4951
4951
|
});
|
|
4952
4952
|
function Kr() {
|
|
4953
4953
|
zl({
|
|
4954
|
-
...T[
|
|
4954
|
+
...T[Lt],
|
|
4955
4955
|
appRecords: ln.value,
|
|
4956
4956
|
activeAppRecordId: Q.id,
|
|
4957
4957
|
tabs: T.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
|
|
@@ -4961,21 +4961,21 @@ function Kr() {
|
|
|
4961
4961
|
function Kl(t) {
|
|
4962
4962
|
T.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = t, Kr();
|
|
4963
4963
|
}
|
|
4964
|
-
function
|
|
4964
|
+
function Wl(t) {
|
|
4965
4965
|
T.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = t, Kr();
|
|
4966
4966
|
}
|
|
4967
|
-
var
|
|
4967
|
+
var F = new Proxy(T[Lt], {
|
|
4968
4968
|
get(t, e) {
|
|
4969
|
-
return e === "appRecords" ? ln : e === "activeAppRecordId" ? Q.id : e === "tabs" ? T.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : e === "commands" ? T.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : T[
|
|
4969
|
+
return e === "appRecords" ? ln : e === "activeAppRecordId" ? Q.id : e === "tabs" ? T.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : e === "commands" ? T.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : T[Lt][e];
|
|
4970
4970
|
},
|
|
4971
4971
|
deleteProperty(t, e) {
|
|
4972
4972
|
return delete t[e], !0;
|
|
4973
4973
|
},
|
|
4974
4974
|
set(t, e, n) {
|
|
4975
|
-
return { ...T[
|
|
4975
|
+
return { ...T[Lt] }, t[e] = n, T[Lt][e] = n, !0;
|
|
4976
4976
|
}
|
|
4977
4977
|
});
|
|
4978
|
-
function
|
|
4978
|
+
function Fl(t = {}) {
|
|
4979
4979
|
var e, n, o;
|
|
4980
4980
|
const { file: s, host: r, baseUrl: i = window.location.origin, line: a = 0, column: c = 0 } = t;
|
|
4981
4981
|
if (s) {
|
|
@@ -4987,7 +4987,7 @@ function Wl(t = {}) {
|
|
|
4987
4987
|
console.log(`%c${u}`, "color:red");
|
|
4988
4988
|
}
|
|
4989
4989
|
});
|
|
4990
|
-
} else if (
|
|
4990
|
+
} else if (F.vitePluginDetected) {
|
|
4991
4991
|
const l = (o = T.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : i;
|
|
4992
4992
|
T.__VUE_INSPECTOR__.openInEditor(l, s, a, c);
|
|
4993
4993
|
}
|
|
@@ -5021,7 +5021,7 @@ function Gl(t) {
|
|
|
5021
5021
|
return r[0].id === t && !!((i = r[0]) != null && i.settings);
|
|
5022
5022
|
})) == null ? void 0 : e[0]) != null ? n : null)?.settings) != null ? o : null;
|
|
5023
5023
|
}
|
|
5024
|
-
function
|
|
5024
|
+
function Wr(t, e) {
|
|
5025
5025
|
var n, o, s;
|
|
5026
5026
|
const r = vo(t);
|
|
5027
5027
|
if (r) {
|
|
@@ -5100,7 +5100,7 @@ var as, cs, ot = (cs = (as = T).__VUE_DEVTOOLS_HOOK) != null ? cs : as.__VUE_DEV
|
|
|
5100
5100
|
perfEnd(t) {
|
|
5101
5101
|
return ot.hook("perf:end", t);
|
|
5102
5102
|
}
|
|
5103
|
-
},
|
|
5103
|
+
}, Fr = {
|
|
5104
5104
|
on: ql,
|
|
5105
5105
|
setupDevToolsPlugin(t, e) {
|
|
5106
5106
|
return ot.callHook("devtools-plugin:setup", t, e);
|
|
@@ -5147,7 +5147,7 @@ var as, cs, ot = (cs = (as = T).__VUE_DEVTOOLS_HOOK) != null ? cs : as.__VUE_DEV
|
|
|
5147
5147
|
// component inspector
|
|
5148
5148
|
notifyComponentUpdate(t) {
|
|
5149
5149
|
var e;
|
|
5150
|
-
if (
|
|
5150
|
+
if (F.highPerfModeEnabled)
|
|
5151
5151
|
return;
|
|
5152
5152
|
const n = zr().find((o) => o.packageName === this.plugin.descriptor.packageName);
|
|
5153
5153
|
if (n?.id) {
|
|
@@ -5172,10 +5172,10 @@ var as, cs, ot = (cs = (as = T).__VUE_DEVTOOLS_HOOK) != null ? cs : as.__VUE_DEV
|
|
|
5172
5172
|
this.hooks.callHook("addInspector", { inspector: t, plugin: this.plugin }), this.plugin.descriptor.settings && Jl(t.id, this.plugin.descriptor.settings);
|
|
5173
5173
|
}
|
|
5174
5174
|
sendInspectorTree(t) {
|
|
5175
|
-
|
|
5175
|
+
F.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: t, plugin: this.plugin });
|
|
5176
5176
|
}
|
|
5177
5177
|
sendInspectorState(t) {
|
|
5178
|
-
|
|
5178
|
+
F.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: t, plugin: this.plugin });
|
|
5179
5179
|
}
|
|
5180
5180
|
selectInspectorNode(t, e) {
|
|
5181
5181
|
this.hooks.callHook("customInspectorSelectNode", { inspectorId: t, nodeId: e, plugin: this.plugin });
|
|
@@ -5185,17 +5185,17 @@ var as, cs, ot = (cs = (as = T).__VUE_DEVTOOLS_HOOK) != null ? cs : as.__VUE_DEV
|
|
|
5185
5185
|
}
|
|
5186
5186
|
// timeline
|
|
5187
5187
|
now() {
|
|
5188
|
-
return
|
|
5188
|
+
return F.highPerfModeEnabled ? 0 : Date.now();
|
|
5189
5189
|
}
|
|
5190
5190
|
addTimelineLayer(t) {
|
|
5191
5191
|
this.hooks.callHook("timelineLayerAdded", { options: t, plugin: this.plugin });
|
|
5192
5192
|
}
|
|
5193
5193
|
addTimelineEvent(t) {
|
|
5194
|
-
|
|
5194
|
+
F.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: t, plugin: this.plugin });
|
|
5195
5195
|
}
|
|
5196
5196
|
// settings
|
|
5197
5197
|
getSettings(t) {
|
|
5198
|
-
return
|
|
5198
|
+
return Wr(t ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
|
|
5199
5199
|
}
|
|
5200
5200
|
// utilities
|
|
5201
5201
|
getComponentInstances(t) {
|
|
@@ -5240,7 +5240,7 @@ w();
|
|
|
5240
5240
|
var ls;
|
|
5241
5241
|
(ls = T).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (ls.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
|
|
5242
5242
|
function Gr(t, e) {
|
|
5243
|
-
return
|
|
5243
|
+
return Fr.setupDevToolsPlugin(t, e);
|
|
5244
5244
|
}
|
|
5245
5245
|
function su(t, e) {
|
|
5246
5246
|
const [n, o] = t;
|
|
@@ -5258,7 +5258,7 @@ function su(t, e) {
|
|
|
5258
5258
|
}), o(s);
|
|
5259
5259
|
}
|
|
5260
5260
|
function Jr(t, e) {
|
|
5261
|
-
T.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t) ||
|
|
5261
|
+
T.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t) || F.highPerfModeEnabled && !e?.inspectingComponent || (T.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t), go.forEach((n) => {
|
|
5262
5262
|
su(n, t);
|
|
5263
5263
|
}));
|
|
5264
5264
|
}
|
|
@@ -5323,9 +5323,9 @@ function au(t, e) {
|
|
|
5323
5323
|
routes: Jo(i)
|
|
5324
5324
|
}, T[Se] = s, console.warn = a;
|
|
5325
5325
|
}
|
|
5326
|
-
n(),
|
|
5326
|
+
n(), Fr.on.componentUpdated(oe(() => {
|
|
5327
5327
|
var o;
|
|
5328
|
-
((o = e.value) == null ? void 0 : o.app) === t.app && (n(), !
|
|
5328
|
+
((o = e.value) == null ? void 0 : o.app) === t.app && (n(), !F.highPerfModeEnabled && fe.hooks.callHook("routerInfoUpdated", { state: T[se] }));
|
|
5329
5329
|
}, 200));
|
|
5330
5330
|
}
|
|
5331
5331
|
function cu(t) {
|
|
@@ -5368,7 +5368,7 @@ function cu(t) {
|
|
|
5368
5368
|
},
|
|
5369
5369
|
// edit inspector state
|
|
5370
5370
|
editInspectorState(e) {
|
|
5371
|
-
const n = new
|
|
5371
|
+
const n = new Dl(), o = {
|
|
5372
5372
|
...e,
|
|
5373
5373
|
app: Q.value.app,
|
|
5374
5374
|
set: (s, r = e.path, i = e.state.value, a) => {
|
|
@@ -5410,13 +5410,13 @@ function cu(t) {
|
|
|
5410
5410
|
return $l({ id: e });
|
|
5411
5411
|
},
|
|
5412
5412
|
// open in editor
|
|
5413
|
-
openInEditor:
|
|
5413
|
+
openInEditor: Fl,
|
|
5414
5414
|
// get vue inspector
|
|
5415
5415
|
getVueInspector: Nl,
|
|
5416
5416
|
// toggle app
|
|
5417
5417
|
toggleApp(e, n) {
|
|
5418
5418
|
const o = ln.value.find((s) => s.id === e);
|
|
5419
|
-
o && (
|
|
5419
|
+
o && (Wl(e), Kl(o), au(o, Q), Hr(), Jr(o.app, n));
|
|
5420
5420
|
},
|
|
5421
5421
|
// inspect dom
|
|
5422
5422
|
inspectDOM(e) {
|
|
@@ -5432,7 +5432,7 @@ function cu(t) {
|
|
|
5432
5432
|
getPluginSettings(e) {
|
|
5433
5433
|
return {
|
|
5434
5434
|
options: Gl(e),
|
|
5435
|
-
values:
|
|
5435
|
+
values: Wr(e)
|
|
5436
5436
|
};
|
|
5437
5437
|
}
|
|
5438
5438
|
};
|
|
@@ -5447,7 +5447,7 @@ var ps = Bl(), hs;
|
|
|
5447
5447
|
hooks: ps,
|
|
5448
5448
|
get state() {
|
|
5449
5449
|
return {
|
|
5450
|
-
...
|
|
5450
|
+
...F,
|
|
5451
5451
|
activeAppRecordId: Q.id,
|
|
5452
5452
|
activeAppRecord: Q.value,
|
|
5453
5453
|
appRecords: ln.value
|
|
@@ -5466,17 +5466,17 @@ var ms;
|
|
|
5466
5466
|
w();
|
|
5467
5467
|
w();
|
|
5468
5468
|
function lu(t) {
|
|
5469
|
-
|
|
5469
|
+
F.highPerfModeEnabled = t ?? !F.highPerfModeEnabled, !t && Q.value && Jr(Q.value.app);
|
|
5470
5470
|
}
|
|
5471
5471
|
w();
|
|
5472
5472
|
w();
|
|
5473
5473
|
w();
|
|
5474
5474
|
function uu(t) {
|
|
5475
|
-
|
|
5476
|
-
...
|
|
5475
|
+
F.devtoolsClientDetected = {
|
|
5476
|
+
...F.devtoolsClientDetected,
|
|
5477
5477
|
...t
|
|
5478
5478
|
};
|
|
5479
|
-
const e = Object.values(
|
|
5479
|
+
const e = Object.values(F.devtoolsClientDetected).some(Boolean);
|
|
5480
5480
|
lu(!e);
|
|
5481
5481
|
}
|
|
5482
5482
|
var gs;
|
|
@@ -5555,7 +5555,7 @@ function hu(t, e) {
|
|
|
5555
5555
|
function re(t, e) {
|
|
5556
5556
|
Object.entries(t).forEach(([n, o]) => e(o, n));
|
|
5557
5557
|
}
|
|
5558
|
-
function
|
|
5558
|
+
function We(t, e) {
|
|
5559
5559
|
return t.indexOf(e) !== -1;
|
|
5560
5560
|
}
|
|
5561
5561
|
function vs(t, e) {
|
|
@@ -5744,11 +5744,11 @@ var Xt = (t, e) => {
|
|
|
5744
5744
|
return n.next().value;
|
|
5745
5745
|
};
|
|
5746
5746
|
function ii(t) {
|
|
5747
|
-
if (
|
|
5747
|
+
if (We(t, "__proto__"))
|
|
5748
5748
|
throw new Error("__proto__ is not allowed as a property");
|
|
5749
|
-
if (
|
|
5749
|
+
if (We(t, "prototype"))
|
|
5750
5750
|
throw new Error("prototype is not allowed as a property");
|
|
5751
|
-
if (
|
|
5751
|
+
if (We(t, "constructor"))
|
|
5752
5752
|
throw new Error("constructor is not allowed as a property");
|
|
5753
5753
|
}
|
|
5754
5754
|
var Nu = (t, e) => {
|
|
@@ -5837,7 +5837,7 @@ function Vu(t, e, n) {
|
|
|
5837
5837
|
t = Bn(t, s, (r) => Pu(r, o, n));
|
|
5838
5838
|
}), t;
|
|
5839
5839
|
}
|
|
5840
|
-
function
|
|
5840
|
+
function Du(t, e) {
|
|
5841
5841
|
function n(o, s) {
|
|
5842
5842
|
const r = Nu(t, be(s));
|
|
5843
5843
|
o.map(be).forEach((i) => {
|
|
@@ -5853,12 +5853,12 @@ function Au(t, e) {
|
|
|
5853
5853
|
re(e, n);
|
|
5854
5854
|
return t;
|
|
5855
5855
|
}
|
|
5856
|
-
var
|
|
5856
|
+
var Au = (t, e) => Ie(t) || Ct(t) || Te(t) || xe(t) || ni(t, e);
|
|
5857
5857
|
function Ru(t, e, n) {
|
|
5858
5858
|
const o = n.get(t);
|
|
5859
5859
|
o ? o.push(e) : n.set(t, [e]);
|
|
5860
5860
|
}
|
|
5861
|
-
function
|
|
5861
|
+
function Lu(t, e) {
|
|
5862
5862
|
const n = {};
|
|
5863
5863
|
let o;
|
|
5864
5864
|
return t.forEach((s) => {
|
|
@@ -5880,7 +5880,7 @@ var ai = (t, e, n, o, s = [], r = [], i = /* @__PURE__ */ new Map()) => {
|
|
|
5880
5880
|
transformedValue: null
|
|
5881
5881
|
} : h;
|
|
5882
5882
|
}
|
|
5883
|
-
if (!
|
|
5883
|
+
if (!Au(t, n)) {
|
|
5884
5884
|
const h = ys(t, n), v = h ? {
|
|
5885
5885
|
transformedValue: h.value,
|
|
5886
5886
|
annotations: [h.type]
|
|
@@ -5889,7 +5889,7 @@ var ai = (t, e, n, o, s = [], r = [], i = /* @__PURE__ */ new Map()) => {
|
|
|
5889
5889
|
};
|
|
5890
5890
|
return c || i.set(t, v), v;
|
|
5891
5891
|
}
|
|
5892
|
-
if (
|
|
5892
|
+
if (We(r, t))
|
|
5893
5893
|
return {
|
|
5894
5894
|
transformedValue: null
|
|
5895
5895
|
};
|
|
@@ -5919,7 +5919,7 @@ function ci(t) {
|
|
|
5919
5919
|
function bs(t) {
|
|
5920
5920
|
return ci(t) === "Array";
|
|
5921
5921
|
}
|
|
5922
|
-
function
|
|
5922
|
+
function ju(t) {
|
|
5923
5923
|
if (ci(t) !== "Object")
|
|
5924
5924
|
return !1;
|
|
5925
5925
|
const e = Object.getPrototypeOf(t);
|
|
@@ -5937,7 +5937,7 @@ function Mu(t, e, n, o, s) {
|
|
|
5937
5937
|
function zn(t, e = {}) {
|
|
5938
5938
|
if (bs(t))
|
|
5939
5939
|
return t.map((s) => zn(s, e));
|
|
5940
|
-
if (!
|
|
5940
|
+
if (!ju(t))
|
|
5941
5941
|
return t;
|
|
5942
5942
|
const n = Object.getOwnPropertyNames(t), o = Object.getOwnPropertySymbols(t);
|
|
5943
5943
|
return [...n, ...o].reduce((s, r) => {
|
|
@@ -5965,7 +5965,7 @@ var B = class {
|
|
|
5965
5965
|
...o.meta,
|
|
5966
5966
|
values: n.annotations
|
|
5967
5967
|
});
|
|
5968
|
-
const s =
|
|
5968
|
+
const s = Lu(e, this.dedupe);
|
|
5969
5969
|
return s && (o.meta = {
|
|
5970
5970
|
...o.meta,
|
|
5971
5971
|
referentialEqualities: s
|
|
@@ -5974,7 +5974,7 @@ var B = class {
|
|
|
5974
5974
|
deserialize(t) {
|
|
5975
5975
|
const { json: e, meta: n } = t;
|
|
5976
5976
|
let o = zn(e);
|
|
5977
|
-
return n?.values && (o = Vu(o, n.values, this)), n?.referentialEqualities && (o =
|
|
5977
|
+
return n?.values && (o = Vu(o, n.values, this)), n?.referentialEqualities && (o = Du(o, n.referentialEqualities)), o;
|
|
5978
5978
|
}
|
|
5979
5979
|
stringify(t) {
|
|
5980
5980
|
return JSON.stringify(this.serialize(t));
|
|
@@ -6087,7 +6087,7 @@ function ui(t) {
|
|
|
6087
6087
|
}
|
|
6088
6088
|
return e.status >= 200 && e.status <= 299;
|
|
6089
6089
|
}
|
|
6090
|
-
function
|
|
6090
|
+
function Fe(t) {
|
|
6091
6091
|
try {
|
|
6092
6092
|
t.dispatchEvent(new MouseEvent("click"));
|
|
6093
6093
|
} catch {
|
|
@@ -6123,10 +6123,10 @@ const Ge = typeof navigator == "object" ? navigator : { userAgent: "" }, di = /M
|
|
|
6123
6123
|
};
|
|
6124
6124
|
function Bu(t, e = "download", n) {
|
|
6125
6125
|
const o = document.createElement("a");
|
|
6126
|
-
o.download = e, o.rel = "noopener", typeof t == "string" ? (o.href = t, o.origin !== location.origin ? ui(o.href) ? yo(t, e, n) : (o.target = "_blank",
|
|
6126
|
+
o.download = e, o.rel = "noopener", typeof t == "string" ? (o.href = t, o.origin !== location.origin ? ui(o.href) ? yo(t, e, n) : (o.target = "_blank", Fe(o)) : Fe(o)) : (o.href = URL.createObjectURL(t), setTimeout(function() {
|
|
6127
6127
|
URL.revokeObjectURL(o.href);
|
|
6128
6128
|
}, 4e4), setTimeout(function() {
|
|
6129
|
-
|
|
6129
|
+
Fe(o);
|
|
6130
6130
|
}, 0));
|
|
6131
6131
|
}
|
|
6132
6132
|
function Hu(t, e = "download", n) {
|
|
@@ -6136,7 +6136,7 @@ function Hu(t, e = "download", n) {
|
|
|
6136
6136
|
else {
|
|
6137
6137
|
const o = document.createElement("a");
|
|
6138
6138
|
o.href = t, o.target = "_blank", setTimeout(function() {
|
|
6139
|
-
|
|
6139
|
+
Fe(o);
|
|
6140
6140
|
});
|
|
6141
6141
|
}
|
|
6142
6142
|
else
|
|
@@ -6185,7 +6185,7 @@ async function Ku(t) {
|
|
|
6185
6185
|
J("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
|
|
6186
6186
|
}
|
|
6187
6187
|
}
|
|
6188
|
-
async function
|
|
6188
|
+
async function Wu(t) {
|
|
6189
6189
|
if (!pi())
|
|
6190
6190
|
try {
|
|
6191
6191
|
mi(t, JSON.parse(await navigator.clipboard.readText())), J("Global state pasted from clipboard.");
|
|
@@ -6195,7 +6195,7 @@ async function Fu(t) {
|
|
|
6195
6195
|
J("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
|
|
6196
6196
|
}
|
|
6197
6197
|
}
|
|
6198
|
-
async function
|
|
6198
|
+
async function Fu(t) {
|
|
6199
6199
|
try {
|
|
6200
6200
|
fi(new Blob([JSON.stringify(t.state.value)], {
|
|
6201
6201
|
type: "text/plain;charset=utf-8"
|
|
@@ -6347,14 +6347,14 @@ function td(t, e) {
|
|
|
6347
6347
|
{
|
|
6348
6348
|
icon: "content_paste",
|
|
6349
6349
|
action: async () => {
|
|
6350
|
-
await
|
|
6350
|
+
await Wu(e), n.sendInspectorTree(X), n.sendInspectorState(X);
|
|
6351
6351
|
},
|
|
6352
6352
|
tooltip: "Replace the state with the content of your clipboard"
|
|
6353
6353
|
},
|
|
6354
6354
|
{
|
|
6355
6355
|
icon: "save",
|
|
6356
6356
|
action: () => {
|
|
6357
|
-
|
|
6357
|
+
Fu(e);
|
|
6358
6358
|
},
|
|
6359
6359
|
tooltip: "Save the state as a JSON file"
|
|
6360
6360
|
},
|
|
@@ -6523,7 +6523,7 @@ function ed(t, e) {
|
|
|
6523
6523
|
});
|
|
6524
6524
|
});
|
|
6525
6525
|
}, !0), e._customProperties.forEach((i) => {
|
|
6526
|
-
K(() =>
|
|
6526
|
+
K(() => A(e[i]), (a, c) => {
|
|
6527
6527
|
n.notifyComponentUpdate(), n.sendInspectorState(X), Zt && n.addTimelineEvent({
|
|
6528
6528
|
layerId: Vt,
|
|
6529
6529
|
event: {
|
|
@@ -6615,7 +6615,7 @@ function nd({ app: t, store: e, options: n }) {
|
|
|
6615
6615
|
}
|
|
6616
6616
|
}
|
|
6617
6617
|
function od() {
|
|
6618
|
-
const t = Xn(!0), e = t.run(() =>
|
|
6618
|
+
const t = Xn(!0), e = t.run(() => L({}));
|
|
6619
6619
|
let n = [], o = [];
|
|
6620
6620
|
const s = it({
|
|
6621
6621
|
install(r) {
|
|
@@ -6688,17 +6688,17 @@ function Ns(t, e, n, o) {
|
|
|
6688
6688
|
!a && (process.env.NODE_ENV === "production" || !o) && (n.state.value[t] = s ? s() : {});
|
|
6689
6689
|
const p = process.env.NODE_ENV !== "production" && o ? (
|
|
6690
6690
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
6691
|
-
Ze(
|
|
6691
|
+
Ze(L(s ? s() : {}).value)
|
|
6692
6692
|
) : Ze(n.state.value[t]);
|
|
6693
|
-
return st(p, r, Object.keys(i || {}).reduce((d, u) => (process.env.NODE_ENV !== "production" && u in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${t}".`), d[u] = it(
|
|
6693
|
+
return st(p, r, Object.keys(i || {}).reduce((d, u) => (process.env.NODE_ENV !== "production" && u in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${t}".`), d[u] = it(D(() => {
|
|
6694
6694
|
$e(n);
|
|
6695
6695
|
const f = n._s.get(t);
|
|
6696
6696
|
return i[u].call(f, f);
|
|
6697
6697
|
})), d), {}));
|
|
6698
6698
|
}
|
|
6699
|
-
return c =
|
|
6699
|
+
return c = Wn(t, l, e, n, o, !0), c;
|
|
6700
6700
|
}
|
|
6701
|
-
function
|
|
6701
|
+
function Wn(t, e, n = {}, o, s, r) {
|
|
6702
6702
|
let i;
|
|
6703
6703
|
const a = st({ actions: {} }, n);
|
|
6704
6704
|
if (process.env.NODE_ENV !== "production" && !o._e.active)
|
|
@@ -6710,7 +6710,7 @@ function Fn(t, e, n = {}, o, s, r) {
|
|
|
6710
6710
|
let l, p, d = [], u = [], f;
|
|
6711
6711
|
const h = o.state.value[t];
|
|
6712
6712
|
!r && !h && (process.env.NODE_ENV === "production" || !s) && (o.state.value[t] = {});
|
|
6713
|
-
const v =
|
|
6713
|
+
const v = L({});
|
|
6714
6714
|
let m;
|
|
6715
6715
|
function _(S) {
|
|
6716
6716
|
let y;
|
|
@@ -6743,7 +6743,7 @@ function Fn(t, e, n = {}, o, s, r) {
|
|
|
6743
6743
|
function $() {
|
|
6744
6744
|
i.stop(), d = [], u = [], o._s.delete(t);
|
|
6745
6745
|
}
|
|
6746
|
-
const
|
|
6746
|
+
const j = (S, y = "") => {
|
|
6747
6747
|
if (Cs in S)
|
|
6748
6748
|
return S[wn] = y, S;
|
|
6749
6749
|
const O = function() {
|
|
@@ -6805,13 +6805,13 @@ function Fn(t, e, n = {}, o, s, r) {
|
|
|
6805
6805
|
// setupStore
|
|
6806
6806
|
) : nt);
|
|
6807
6807
|
o._s.set(t, E);
|
|
6808
|
-
const z = (o._a && o._a.runWithContext || sd)(() => o._e.run(() => (i = Xn()).run(() => e({ action:
|
|
6808
|
+
const z = (o._a && o._a.runWithContext || sd)(() => o._e.run(() => (i = Xn()).run(() => e({ action: j }))));
|
|
6809
6809
|
for (const S in z) {
|
|
6810
6810
|
const y = z[S];
|
|
6811
6811
|
if (gt(y) && !Ps(y) || ue(y))
|
|
6812
6812
|
process.env.NODE_ENV !== "production" && s ? v.value[S] = Tt(z, S) : r || (h && id(y) && (gt(y) ? y.value = h[S] : Kn(y, h[S])), o.state.value[t][S] = y), process.env.NODE_ENV !== "production" && H.state.push(S);
|
|
6813
6813
|
else if (typeof y == "function") {
|
|
6814
|
-
const O = process.env.NODE_ENV !== "production" && s ? y :
|
|
6814
|
+
const O = process.env.NODE_ENV !== "production" && s ? y : j(y, S);
|
|
6815
6815
|
z[S] = O, process.env.NODE_ENV !== "production" && (H.actions[S] = y), a.actions[S] = y;
|
|
6816
6816
|
} else process.env.NODE_ENV !== "production" && Ps(y) && (H.getters[S] = r ? (
|
|
6817
6817
|
// @ts-expect-error
|
|
@@ -6843,12 +6843,12 @@ function Fn(t, e, n = {}, o, s, r) {
|
|
|
6843
6843
|
for (const y in S._hmrPayload.actions) {
|
|
6844
6844
|
const O = S[y];
|
|
6845
6845
|
E[y] = //
|
|
6846
|
-
|
|
6846
|
+
j(O, y);
|
|
6847
6847
|
}
|
|
6848
6848
|
for (const y in S._hmrPayload.getters) {
|
|
6849
6849
|
const O = S._hmrPayload.getters[y], C = r ? (
|
|
6850
6850
|
// special handling of options api
|
|
6851
|
-
|
|
6851
|
+
D(() => ($e(o), O.call(E, E)))
|
|
6852
6852
|
) : O;
|
|
6853
6853
|
E[y] = //
|
|
6854
6854
|
C;
|
|
@@ -6903,10 +6903,10 @@ function ad(t, e, n) {
|
|
|
6903
6903
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
6904
6904
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
6905
6905
|
This will fail in production.`);
|
|
6906
|
-
i = ve, i._s.has(t) || (s ?
|
|
6906
|
+
i = ve, i._s.has(t) || (s ? Wn(t, e, o, i) : Ns(t, o, i), process.env.NODE_ENV !== "production" && (r._pinia = i));
|
|
6907
6907
|
const l = i._s.get(t);
|
|
6908
6908
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
6909
|
-
const p = "__hot:" + t, d = s ?
|
|
6909
|
+
const p = "__hot:" + t, d = s ? Wn(p, e, o, i, !0) : Ns(p, st({}, o), i, !0);
|
|
6910
6910
|
a._hotUpdate(d), delete i.state.value[p], i._s.delete(p);
|
|
6911
6911
|
}
|
|
6912
6912
|
if (process.env.NODE_ENV !== "production" && St) {
|
|
@@ -6922,11 +6922,11 @@ This will fail in production.`);
|
|
|
6922
6922
|
return r.$id = t, r;
|
|
6923
6923
|
}
|
|
6924
6924
|
const cd = /* @__PURE__ */ ad("data", () => {
|
|
6925
|
-
const t =
|
|
6925
|
+
const t = L([]), e = L({});
|
|
6926
6926
|
return { records: t, record: e };
|
|
6927
6927
|
});
|
|
6928
6928
|
function bi(t) {
|
|
6929
|
-
const e =
|
|
6929
|
+
const e = L();
|
|
6930
6930
|
return Pt(async () => {
|
|
6931
6931
|
if (t || (t = Zn("$registry")), !t || !t.router) return;
|
|
6932
6932
|
let n;
|
|
@@ -6935,7 +6935,7 @@ function bi(t) {
|
|
|
6935
6935
|
} catch {
|
|
6936
6936
|
throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable");
|
|
6937
6937
|
}
|
|
6938
|
-
e.value = new
|
|
6938
|
+
e.value = new Ac(t, n);
|
|
6939
6939
|
const o = t.router.currentRoute.value, s = o.params.records?.toString().toLowerCase(), r = o.params.record?.toString().toLowerCase();
|
|
6940
6940
|
if (!s && !r)
|
|
6941
6941
|
return;
|
|
@@ -7229,25 +7229,25 @@ function Vd(t, e) {
|
|
|
7229
7229
|
ud(0, 10) === 0 && $d(t);
|
|
7230
7230
|
}), t.writeBlockPromise;
|
|
7231
7231
|
}
|
|
7232
|
-
function
|
|
7232
|
+
function Dd(t, e, n) {
|
|
7233
7233
|
t.messagesCallbackTime = n, t.messagesCallback = e, Ii(t);
|
|
7234
7234
|
}
|
|
7235
|
-
function
|
|
7235
|
+
function Ad() {
|
|
7236
7236
|
return !!ki();
|
|
7237
7237
|
}
|
|
7238
7238
|
function Rd(t) {
|
|
7239
7239
|
return t.idb.fallbackInterval * 2;
|
|
7240
7240
|
}
|
|
7241
|
-
var
|
|
7241
|
+
var Ld = {
|
|
7242
7242
|
create: Cd,
|
|
7243
7243
|
close: Nd,
|
|
7244
|
-
onMessage:
|
|
7244
|
+
onMessage: Dd,
|
|
7245
7245
|
postMessage: Vd,
|
|
7246
|
-
canBeUsed:
|
|
7246
|
+
canBeUsed: Ad,
|
|
7247
7247
|
type: Od,
|
|
7248
7248
|
averageResponseTime: Rd,
|
|
7249
7249
|
microSeconds: wd
|
|
7250
|
-
},
|
|
7250
|
+
}, jd = Re, Md = "pubkey.broadcastChannel-", Ud = "localstorage";
|
|
7251
7251
|
function Ti() {
|
|
7252
7252
|
var t;
|
|
7253
7253
|
if (typeof window > "u") return null;
|
|
@@ -7297,10 +7297,10 @@ function Kd(t, e) {
|
|
|
7297
7297
|
s.messagesCallback && r.uuid !== n && (!r.token || o.has(r.token) || r.data.time && r.data.time < s.messagesCallbackTime || (o.add(r.token), s.messagesCallback(r.data)));
|
|
7298
7298
|
}), s;
|
|
7299
7299
|
}
|
|
7300
|
-
function
|
|
7300
|
+
function Wd(t) {
|
|
7301
7301
|
zd(t.listener);
|
|
7302
7302
|
}
|
|
7303
|
-
function
|
|
7303
|
+
function Fd(t, e, n) {
|
|
7304
7304
|
t.messagesCallbackTime = n, t.messagesCallback = e;
|
|
7305
7305
|
}
|
|
7306
7306
|
function $i() {
|
|
@@ -7320,13 +7320,13 @@ function Gd() {
|
|
|
7320
7320
|
}
|
|
7321
7321
|
var Jd = {
|
|
7322
7322
|
create: Kd,
|
|
7323
|
-
close:
|
|
7324
|
-
onMessage:
|
|
7323
|
+
close: Wd,
|
|
7324
|
+
onMessage: Fd,
|
|
7325
7325
|
postMessage: Bd,
|
|
7326
7326
|
canBeUsed: $i,
|
|
7327
7327
|
type: Ud,
|
|
7328
7328
|
averageResponseTime: Gd,
|
|
7329
|
-
microSeconds:
|
|
7329
|
+
microSeconds: jd
|
|
7330
7330
|
}, Ci = Re, Yd = "simulate", ko = /* @__PURE__ */ new Set();
|
|
7331
7331
|
function qd(t) {
|
|
7332
7332
|
var e = {
|
|
@@ -7373,7 +7373,7 @@ var nf = {
|
|
|
7373
7373
|
}, Vs = [
|
|
7374
7374
|
yd,
|
|
7375
7375
|
// fastest
|
|
7376
|
-
|
|
7376
|
+
Ld,
|
|
7377
7377
|
Jd
|
|
7378
7378
|
];
|
|
7379
7379
|
function of(t) {
|
|
@@ -7415,24 +7415,24 @@ So.prototype = {
|
|
|
7415
7415
|
* gives some clue about where in your application this happens.
|
|
7416
7416
|
*/
|
|
7417
7417
|
JSON.stringify(t));
|
|
7418
|
-
return
|
|
7418
|
+
return Ds(this, "message", t);
|
|
7419
7419
|
},
|
|
7420
7420
|
postInternal: function(t) {
|
|
7421
|
-
return
|
|
7421
|
+
return Ds(this, "internal", t);
|
|
7422
7422
|
},
|
|
7423
7423
|
set onmessage(t) {
|
|
7424
7424
|
var e = this.method.microSeconds(), n = {
|
|
7425
7425
|
time: e,
|
|
7426
7426
|
fn: t
|
|
7427
7427
|
};
|
|
7428
|
-
Rs(this, "message", this._onML), t && typeof t == "function" ? (this._onML = n,
|
|
7428
|
+
Rs(this, "message", this._onML), t && typeof t == "function" ? (this._onML = n, As(this, "message", n)) : this._onML = null;
|
|
7429
7429
|
},
|
|
7430
7430
|
addEventListener: function(t, e) {
|
|
7431
7431
|
var n = this.method.microSeconds(), o = {
|
|
7432
7432
|
time: n,
|
|
7433
7433
|
fn: e
|
|
7434
7434
|
};
|
|
7435
|
-
|
|
7435
|
+
As(this, t, o);
|
|
7436
7436
|
},
|
|
7437
7437
|
removeEventListener: function(t, e) {
|
|
7438
7438
|
var n = this._addEL[t].find(function(o) {
|
|
@@ -7463,7 +7463,7 @@ So.prototype = {
|
|
|
7463
7463
|
return this.closed;
|
|
7464
7464
|
}
|
|
7465
7465
|
};
|
|
7466
|
-
function
|
|
7466
|
+
function Ds(t, e, n) {
|
|
7467
7467
|
var o = t.method.microSeconds(), s = {
|
|
7468
7468
|
time: o,
|
|
7469
7469
|
type: e,
|
|
@@ -7485,7 +7485,7 @@ function rf(t) {
|
|
|
7485
7485
|
function Vi(t) {
|
|
7486
7486
|
return t._addEL.message.length > 0 || t._addEL.internal.length > 0;
|
|
7487
7487
|
}
|
|
7488
|
-
function
|
|
7488
|
+
function As(t, e, n) {
|
|
7489
7489
|
t._addEL[e].push(n), af(t);
|
|
7490
7490
|
}
|
|
7491
7491
|
function Rs(t, e, n) {
|
|
@@ -7512,7 +7512,7 @@ function cf(t) {
|
|
|
7512
7512
|
t.method.onMessage(t._state, null, e);
|
|
7513
7513
|
}
|
|
7514
7514
|
}
|
|
7515
|
-
function
|
|
7515
|
+
function Ls(t, e = { serialize: JSON.stringify, deserialize: JSON.parse }) {
|
|
7516
7516
|
return e.deserialize(e.serialize(t));
|
|
7517
7517
|
}
|
|
7518
7518
|
function lf(t, e) {
|
|
@@ -7537,7 +7537,7 @@ function uf({
|
|
|
7537
7537
|
if (u === void 0) {
|
|
7538
7538
|
c.postMessage({
|
|
7539
7539
|
timestamp: l,
|
|
7540
|
-
state:
|
|
7540
|
+
state: Ls(s.$state, o)
|
|
7541
7541
|
});
|
|
7542
7542
|
return;
|
|
7543
7543
|
}
|
|
@@ -7549,7 +7549,7 @@ function uf({
|
|
|
7549
7549
|
}, (r?.share?.initialize ?? e) && c.postMessage(void 0), s.$subscribe((u, f) => {
|
|
7550
7550
|
p || (l = Date.now(), c.postMessage({
|
|
7551
7551
|
timestamp: l,
|
|
7552
|
-
state:
|
|
7552
|
+
state: Ls(f, o)
|
|
7553
7553
|
})), p = !1;
|
|
7554
7554
|
});
|
|
7555
7555
|
};
|
|
@@ -7564,7 +7564,7 @@ df.use(
|
|
|
7564
7564
|
const ff = /* @__PURE__ */ ut({
|
|
7565
7565
|
__name: "Doctype",
|
|
7566
7566
|
setup(t) {
|
|
7567
|
-
const { stonecrop: e } = bi(), n =
|
|
7567
|
+
const { stonecrop: e } = bi(), n = L([]);
|
|
7568
7568
|
return K(e, () => {
|
|
7569
7569
|
if (e.value) {
|
|
7570
7570
|
let o = e.value.schema?.schema.toArray();
|
|
@@ -7573,7 +7573,7 @@ const ff = /* @__PURE__ */ ut({
|
|
|
7573
7573
|
o[r].value = a;
|
|
7574
7574
|
}), n.value = o;
|
|
7575
7575
|
}
|
|
7576
|
-
}), (o, s) => (x(), yt(
|
|
7576
|
+
}), (o, s) => (x(), yt(A(Ta), {
|
|
7577
7577
|
class: "aform-main",
|
|
7578
7578
|
modelValue: n.value,
|
|
7579
7579
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => n.value = r)
|
|
@@ -7590,7 +7590,7 @@ const rn = (t) => _e = t, pf = process.env.NODE_ENV !== "production" ? Symbol("p
|
|
|
7590
7590
|
/* istanbul ignore next */
|
|
7591
7591
|
Symbol()
|
|
7592
7592
|
);
|
|
7593
|
-
function
|
|
7593
|
+
function Wt(t) {
|
|
7594
7594
|
return t && typeof t == "object" && Object.prototype.toString.call(t) === "[object Object]" && typeof t.toJSON != "function";
|
|
7595
7595
|
}
|
|
7596
7596
|
var we;
|
|
@@ -7598,19 +7598,19 @@ var we;
|
|
|
7598
7598
|
t.direct = "direct", t.patchObject = "patch object", t.patchFunction = "patch function";
|
|
7599
7599
|
})(we || (we = {}));
|
|
7600
7600
|
const ye = typeof window < "u";
|
|
7601
|
-
function
|
|
7601
|
+
function Di(t, e) {
|
|
7602
7602
|
for (const n in e) {
|
|
7603
7603
|
const o = e[n];
|
|
7604
7604
|
if (!(n in t))
|
|
7605
7605
|
continue;
|
|
7606
7606
|
const s = t[n];
|
|
7607
|
-
|
|
7607
|
+
Wt(s) && Wt(o) && !gt(o) && !ue(o) ? t[n] = Di(s, o) : t[n] = o;
|
|
7608
7608
|
}
|
|
7609
7609
|
return t;
|
|
7610
7610
|
}
|
|
7611
|
-
const
|
|
7611
|
+
const Ai = () => {
|
|
7612
7612
|
};
|
|
7613
|
-
function
|
|
7613
|
+
function js(t, e, n, o = Ai) {
|
|
7614
7614
|
t.push(e);
|
|
7615
7615
|
const s = () => {
|
|
7616
7616
|
const r = t.indexOf(e);
|
|
@@ -7624,13 +7624,13 @@ function Jt(t, ...e) {
|
|
|
7624
7624
|
});
|
|
7625
7625
|
}
|
|
7626
7626
|
const hf = (t) => t(), Ms = Symbol(), On = Symbol();
|
|
7627
|
-
function
|
|
7627
|
+
function Fn(t, e) {
|
|
7628
7628
|
t instanceof Map && e instanceof Map ? e.forEach((n, o) => t.set(o, n)) : t instanceof Set && e instanceof Set && e.forEach(t.add, t);
|
|
7629
7629
|
for (const n in e) {
|
|
7630
7630
|
if (!e.hasOwnProperty(n))
|
|
7631
7631
|
continue;
|
|
7632
7632
|
const o = e[n], s = t[n];
|
|
7633
|
-
|
|
7633
|
+
Wt(s) && Wt(o) && t.hasOwnProperty(n) && !gt(o) && !ue(o) ? t[n] = Fn(s, o) : t[n] = o;
|
|
7634
7634
|
}
|
|
7635
7635
|
return t;
|
|
7636
7636
|
}
|
|
@@ -7639,7 +7639,7 @@ const mf = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration")
|
|
|
7639
7639
|
Symbol()
|
|
7640
7640
|
);
|
|
7641
7641
|
function gf(t) {
|
|
7642
|
-
return !
|
|
7642
|
+
return !Wt(t) || !Object.prototype.hasOwnProperty.call(t, mf);
|
|
7643
7643
|
}
|
|
7644
7644
|
const { assign: rt } = Object;
|
|
7645
7645
|
function Us(t) {
|
|
@@ -7652,9 +7652,9 @@ function Bs(t, e, n, o) {
|
|
|
7652
7652
|
!a && (process.env.NODE_ENV === "production" || !o) && (n.state.value[t] = s ? s() : {});
|
|
7653
7653
|
const p = process.env.NODE_ENV !== "production" && o ? (
|
|
7654
7654
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
7655
|
-
Ze(
|
|
7655
|
+
Ze(L(s ? s() : {}).value)
|
|
7656
7656
|
) : Ze(n.state.value[t]);
|
|
7657
|
-
return rt(p, r, Object.keys(i || {}).reduce((d, u) => (process.env.NODE_ENV !== "production" && u in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${t}".`), d[u] = it(
|
|
7657
|
+
return rt(p, r, Object.keys(i || {}).reduce((d, u) => (process.env.NODE_ENV !== "production" && u in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${u}" in store "${t}".`), d[u] = it(D(() => {
|
|
7658
7658
|
rn(n);
|
|
7659
7659
|
const f = n._s.get(t);
|
|
7660
7660
|
return i[u].call(f, f);
|
|
@@ -7674,7 +7674,7 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7674
7674
|
let l, p, d = [], u = [], f;
|
|
7675
7675
|
const h = o.state.value[t];
|
|
7676
7676
|
!r && !h && (process.env.NODE_ENV === "production" || !s) && (o.state.value[t] = {});
|
|
7677
|
-
const v =
|
|
7677
|
+
const v = L({});
|
|
7678
7678
|
let m;
|
|
7679
7679
|
function _(y) {
|
|
7680
7680
|
let O;
|
|
@@ -7682,7 +7682,7 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7682
7682
|
type: we.patchFunction,
|
|
7683
7683
|
storeId: t,
|
|
7684
7684
|
events: f
|
|
7685
|
-
}) : (
|
|
7685
|
+
}) : (Fn(o.state.value[t], y), O = {
|
|
7686
7686
|
type: we.patchObject,
|
|
7687
7687
|
payload: y,
|
|
7688
7688
|
storeId: t,
|
|
@@ -7702,12 +7702,12 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7702
7702
|
/* istanbul ignore next */
|
|
7703
7703
|
process.env.NODE_ENV !== "production" ? () => {
|
|
7704
7704
|
throw new Error(`🍍: Store "${t}" is built using the setup syntax and does not implement $reset().`);
|
|
7705
|
-
} :
|
|
7705
|
+
} : Ai
|
|
7706
7706
|
);
|
|
7707
7707
|
function $() {
|
|
7708
7708
|
i.stop(), d = [], u = [], o._s.delete(t);
|
|
7709
7709
|
}
|
|
7710
|
-
const
|
|
7710
|
+
const j = (y, O = "") => {
|
|
7711
7711
|
if (Ms in y)
|
|
7712
7712
|
return y[On] = O, y;
|
|
7713
7713
|
const C = function() {
|
|
@@ -7744,11 +7744,11 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7744
7744
|
_p: o,
|
|
7745
7745
|
// _s: scope,
|
|
7746
7746
|
$id: t,
|
|
7747
|
-
$onAction:
|
|
7747
|
+
$onAction: js.bind(null, u),
|
|
7748
7748
|
$patch: _,
|
|
7749
7749
|
$reset: k,
|
|
7750
7750
|
$subscribe(y, O = {}) {
|
|
7751
|
-
const C =
|
|
7751
|
+
const C = js(d, y, O.detached, () => U()), U = i.run(() => K(() => o.state.value[t], (tt) => {
|
|
7752
7752
|
(O.flush === "sync" ? p : l) && y({
|
|
7753
7753
|
storeId: t,
|
|
7754
7754
|
type: we.direct,
|
|
@@ -7769,13 +7769,13 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7769
7769
|
// setupStore
|
|
7770
7770
|
) : nt);
|
|
7771
7771
|
o._s.set(t, E);
|
|
7772
|
-
const S = (o._a && o._a.runWithContext || hf)(() => o._e.run(() => (i = Xn()).run(() => e({ action:
|
|
7772
|
+
const S = (o._a && o._a.runWithContext || hf)(() => o._e.run(() => (i = Xn()).run(() => e({ action: j }))));
|
|
7773
7773
|
for (const y in S) {
|
|
7774
7774
|
const O = S[y];
|
|
7775
7775
|
if (gt(O) && !Us(O) || ue(O))
|
|
7776
|
-
process.env.NODE_ENV !== "production" && s ? v.value[y] = Tt(S, y) : r || (h && gf(O) && (gt(O) ? O.value = h[y] :
|
|
7776
|
+
process.env.NODE_ENV !== "production" && s ? v.value[y] = Tt(S, y) : r || (h && gf(O) && (gt(O) ? O.value = h[y] : Fn(O, h[y])), o.state.value[t][y] = O), process.env.NODE_ENV !== "production" && H.state.push(y);
|
|
7777
7777
|
else if (typeof O == "function") {
|
|
7778
|
-
const C = process.env.NODE_ENV !== "production" && s ? O :
|
|
7778
|
+
const C = process.env.NODE_ENV !== "production" && s ? O : j(O, y);
|
|
7779
7779
|
S[y] = C, process.env.NODE_ENV !== "production" && (H.actions[y] = O), a.actions[y] = O;
|
|
7780
7780
|
} else process.env.NODE_ENV !== "production" && Us(O) && (H.getters[y] = r ? (
|
|
7781
7781
|
// @ts-expect-error
|
|
@@ -7796,7 +7796,7 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7796
7796
|
E._hotUpdating = !0, y._hmrPayload.state.forEach((O) => {
|
|
7797
7797
|
if (O in E.$state) {
|
|
7798
7798
|
const C = y.$state[O], U = E.$state[O];
|
|
7799
|
-
typeof C == "object" &&
|
|
7799
|
+
typeof C == "object" && Wt(C) && Wt(U) ? Di(C, U) : y.$state[O] = U;
|
|
7800
7800
|
}
|
|
7801
7801
|
E[O] = Tt(y.$state, O);
|
|
7802
7802
|
}), Object.keys(E.$state).forEach((O) => {
|
|
@@ -7807,12 +7807,12 @@ function Gn(t, e, n = {}, o, s, r) {
|
|
|
7807
7807
|
for (const O in y._hmrPayload.actions) {
|
|
7808
7808
|
const C = y[O];
|
|
7809
7809
|
E[O] = //
|
|
7810
|
-
|
|
7810
|
+
j(C, O);
|
|
7811
7811
|
}
|
|
7812
7812
|
for (const O in y._hmrPayload.getters) {
|
|
7813
7813
|
const C = y._hmrPayload.getters[O], U = r ? (
|
|
7814
7814
|
// special handling of options api
|
|
7815
|
-
|
|
7815
|
+
D(() => (rn(o), C.call(E, E)))
|
|
7816
7816
|
) : C;
|
|
7817
7817
|
E[O] = //
|
|
7818
7818
|
U;
|
|
@@ -7914,7 +7914,7 @@ function ae(t) {
|
|
|
7914
7914
|
function Ce(...t) {
|
|
7915
7915
|
const e = [], n = () => {
|
|
7916
7916
|
e.forEach((a) => a()), e.length = 0;
|
|
7917
|
-
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s =
|
|
7917
|
+
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s = D(() => {
|
|
7918
7918
|
const a = qe(M(t[0])).filter((c) => c != null);
|
|
7919
7919
|
return a.every((c) => typeof c != "string") ? a : void 0;
|
|
7920
7920
|
}), r = Of(
|
|
@@ -7923,7 +7923,7 @@ function Ce(...t) {
|
|
|
7923
7923
|
return [
|
|
7924
7924
|
(c = (a = s.value) == null ? void 0 : a.map((l) => ae(l))) != null ? c : [pe].filter((l) => l != null),
|
|
7925
7925
|
qe(M(s.value ? t[1] : t[0])),
|
|
7926
|
-
qe(
|
|
7926
|
+
qe(A(s.value ? t[2] : t[1])),
|
|
7927
7927
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
7928
7928
|
M(s.value ? t[3] : t[2])
|
|
7929
7929
|
];
|
|
@@ -7956,14 +7956,14 @@ function kf() {
|
|
|
7956
7956
|
// @__NO_SIDE_EFFECTS__
|
|
7957
7957
|
function Sf(t) {
|
|
7958
7958
|
const e = /* @__PURE__ */ kf();
|
|
7959
|
-
return
|
|
7959
|
+
return D(() => (e.value, !!t()));
|
|
7960
7960
|
}
|
|
7961
7961
|
function If(t, e, n = {}) {
|
|
7962
7962
|
const { window: o = pe, ...s } = n;
|
|
7963
7963
|
let r;
|
|
7964
7964
|
const i = /* @__PURE__ */ Sf(() => o && "MutationObserver" in o), a = () => {
|
|
7965
7965
|
r && (r.disconnect(), r = void 0);
|
|
7966
|
-
}, c =
|
|
7966
|
+
}, c = D(() => {
|
|
7967
7967
|
const u = M(t), f = qe(u).map(ae).filter(yf);
|
|
7968
7968
|
return new Set(f);
|
|
7969
7969
|
}), l = K(
|
|
@@ -7992,7 +7992,7 @@ function Tf(t, e, n = {}) {
|
|
|
7992
7992
|
let i;
|
|
7993
7993
|
const a = (p) => {
|
|
7994
7994
|
i?.(), i = p;
|
|
7995
|
-
}, c =
|
|
7995
|
+
}, c = Wi(() => {
|
|
7996
7996
|
const p = ae(t);
|
|
7997
7997
|
if (p) {
|
|
7998
7998
|
const { stop: d } = If(
|
|
@@ -8053,7 +8053,7 @@ function xf(t = {}) {
|
|
|
8053
8053
|
}
|
|
8054
8054
|
const $f = "focusin", Cf = "focusout", Pf = ":focus-within";
|
|
8055
8055
|
function Nf(t, e = {}) {
|
|
8056
|
-
const { window: n = pe } = e, o =
|
|
8056
|
+
const { window: n = pe } = e, o = D(() => ae(t)), s = Y(!1), r = D(() => s.value);
|
|
8057
8057
|
if (!n || !(/* @__PURE__ */ xf(e)).value)
|
|
8058
8058
|
return { focused: r };
|
|
8059
8059
|
const i = { passive: !0 };
|
|
@@ -8063,7 +8063,7 @@ function Nf(t, e = {}) {
|
|
|
8063
8063
|
}, i), { focused: r };
|
|
8064
8064
|
}
|
|
8065
8065
|
function Vf(t, { window: e = pe, scrollTarget: n } = {}) {
|
|
8066
|
-
const o =
|
|
8066
|
+
const o = L(!1), s = () => {
|
|
8067
8067
|
if (!e) return;
|
|
8068
8068
|
const r = e.document, i = ae(t);
|
|
8069
8069
|
if (!i)
|
|
@@ -8101,7 +8101,7 @@ const Et = (t) => {
|
|
|
8101
8101
|
n && (e = n);
|
|
8102
8102
|
}
|
|
8103
8103
|
return e && (!Ot(e) || !Et(e)) ? To(e) : e;
|
|
8104
|
-
},
|
|
8104
|
+
}, Df = (t) => {
|
|
8105
8105
|
const e = t.target;
|
|
8106
8106
|
let n;
|
|
8107
8107
|
if (e instanceof HTMLTableCellElement) {
|
|
@@ -8134,7 +8134,7 @@ const Et = (t) => {
|
|
|
8134
8134
|
n && (e = n);
|
|
8135
8135
|
}
|
|
8136
8136
|
return e && (!Ot(e) || !Et(e)) ? xo(e) : e;
|
|
8137
|
-
},
|
|
8137
|
+
}, Af = (t) => {
|
|
8138
8138
|
const e = t.target;
|
|
8139
8139
|
let n;
|
|
8140
8140
|
if (e instanceof HTMLTableCellElement) {
|
|
@@ -8157,13 +8157,13 @@ const Et = (t) => {
|
|
|
8157
8157
|
}, $o = (t) => {
|
|
8158
8158
|
let e;
|
|
8159
8159
|
return t.previousElementSibling ? e = t.previousElementSibling : e = t.parentElement?.previousElementSibling?.lastElementChild, e && (!Ot(e) || !Et(e)) ? $o(e) : e;
|
|
8160
|
-
},
|
|
8160
|
+
}, Ws = (t) => {
|
|
8161
8161
|
const e = t.target;
|
|
8162
8162
|
return Co(e);
|
|
8163
8163
|
}, Co = (t) => {
|
|
8164
8164
|
let e;
|
|
8165
8165
|
return t.nextElementSibling ? e = t.nextElementSibling : e = t.parentElement?.nextElementSibling?.firstElementChild, e && (!Ot(e) || !Et(e)) ? Co(e) : e;
|
|
8166
|
-
},
|
|
8166
|
+
}, Fs = (t) => {
|
|
8167
8167
|
const e = t.target.parentElement?.firstElementChild;
|
|
8168
8168
|
return e && (!Ot(e) || !Et(e)) ? Co(e) : e;
|
|
8169
8169
|
}, Gs = (t) => {
|
|
@@ -8188,19 +8188,19 @@ const Et = (t) => {
|
|
|
8188
8188
|
t.preventDefault(), t.stopPropagation(), e && e.focus();
|
|
8189
8189
|
},
|
|
8190
8190
|
"keydown.right": (t) => {
|
|
8191
|
-
const e =
|
|
8191
|
+
const e = Ws(t);
|
|
8192
8192
|
t.preventDefault(), t.stopPropagation(), e && e.focus();
|
|
8193
8193
|
},
|
|
8194
8194
|
"keydown.control.up": (t) => {
|
|
8195
|
-
const e =
|
|
8195
|
+
const e = Df(t);
|
|
8196
8196
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8197
8197
|
},
|
|
8198
8198
|
"keydown.control.down": (t) => {
|
|
8199
|
-
const e =
|
|
8199
|
+
const e = Af(t);
|
|
8200
8200
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8201
8201
|
},
|
|
8202
8202
|
"keydown.control.left": (t) => {
|
|
8203
|
-
const e =
|
|
8203
|
+
const e = Fs(t);
|
|
8204
8204
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8205
8205
|
},
|
|
8206
8206
|
"keydown.control.right": (t) => {
|
|
@@ -8226,11 +8226,11 @@ const Et = (t) => {
|
|
|
8226
8226
|
}
|
|
8227
8227
|
},
|
|
8228
8228
|
"keydown.home": (t) => {
|
|
8229
|
-
const e =
|
|
8229
|
+
const e = Fs(t);
|
|
8230
8230
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8231
8231
|
},
|
|
8232
8232
|
"keydown.tab": (t) => {
|
|
8233
|
-
const e =
|
|
8233
|
+
const e = Ws(t);
|
|
8234
8234
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8235
8235
|
},
|
|
8236
8236
|
"keydown.shift.tab": (t) => {
|
|
@@ -8238,7 +8238,7 @@ const Et = (t) => {
|
|
|
8238
8238
|
e && (t.preventDefault(), t.stopPropagation(), e.focus());
|
|
8239
8239
|
}
|
|
8240
8240
|
};
|
|
8241
|
-
function
|
|
8241
|
+
function Lf(t) {
|
|
8242
8242
|
const e = (i) => {
|
|
8243
8243
|
let a = null;
|
|
8244
8244
|
return i.parent && (typeof i.parent == "string" ? a = document.querySelector(i.parent) : i.parent instanceof HTMLElement ? a = i.parent : a = i.parent.value), a;
|
|
@@ -8291,7 +8291,7 @@ function jf(t) {
|
|
|
8291
8291
|
for (const i of t) {
|
|
8292
8292
|
const a = e(i), c = o(i), l = s(i), p = a ? [a] : c;
|
|
8293
8293
|
for (const d of p) {
|
|
8294
|
-
const { focused: u } = Nf(
|
|
8294
|
+
const { focused: u } = Nf(L(d)), f = K(u, (h) => {
|
|
8295
8295
|
h ? d.addEventListener("keydown", l) : d.removeEventListener("keydown", l);
|
|
8296
8296
|
});
|
|
8297
8297
|
r.push(f);
|
|
@@ -8307,7 +8307,7 @@ function he(t) {
|
|
|
8307
8307
|
}
|
|
8308
8308
|
const Po = typeof window < "u" && typeof document < "u";
|
|
8309
8309
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
8310
|
-
const
|
|
8310
|
+
const jf = (t) => t != null, Mf = Object.prototype.toString, Li = (t) => Mf.call(t) === "[object Object]", Dt = () => {
|
|
8311
8311
|
}, Jn = /* @__PURE__ */ Uf();
|
|
8312
8312
|
function Uf() {
|
|
8313
8313
|
var t, e;
|
|
@@ -8317,7 +8317,7 @@ function Bf(...t) {
|
|
|
8317
8317
|
if (t.length !== 1)
|
|
8318
8318
|
return Tt(...t);
|
|
8319
8319
|
const e = t[0];
|
|
8320
|
-
return typeof e == "function" ? Qs(tr(() => ({ get: e, set:
|
|
8320
|
+
return typeof e == "function" ? Qs(tr(() => ({ get: e, set: Dt }))) : L(e);
|
|
8321
8321
|
}
|
|
8322
8322
|
function Mt(t) {
|
|
8323
8323
|
return Array.isArray(t) ? t : [t];
|
|
@@ -8328,7 +8328,7 @@ function Hf(t) {
|
|
|
8328
8328
|
function zf(t, e = !0, n) {
|
|
8329
8329
|
Hf() ? Pt(t, n) : e ? t() : xt(t);
|
|
8330
8330
|
}
|
|
8331
|
-
function
|
|
8331
|
+
function ji(t, e, n) {
|
|
8332
8332
|
return K(
|
|
8333
8333
|
t,
|
|
8334
8334
|
e,
|
|
@@ -8347,16 +8347,16 @@ function ce(t) {
|
|
|
8347
8347
|
function Js(...t) {
|
|
8348
8348
|
const e = [], n = () => {
|
|
8349
8349
|
e.forEach((a) => a()), e.length = 0;
|
|
8350
|
-
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s =
|
|
8350
|
+
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s = D(() => {
|
|
8351
8351
|
const a = Mt(M(t[0])).filter((c) => c != null);
|
|
8352
8352
|
return a.every((c) => typeof c != "string") ? a : void 0;
|
|
8353
|
-
}), r =
|
|
8353
|
+
}), r = ji(
|
|
8354
8354
|
() => {
|
|
8355
8355
|
var a, c;
|
|
8356
8356
|
return [
|
|
8357
8357
|
(c = (a = s.value) == null ? void 0 : a.map((l) => ce(l))) != null ? c : [No].filter((l) => l != null),
|
|
8358
8358
|
Mt(M(s.value ? t[1] : t[0])),
|
|
8359
|
-
Mt(
|
|
8359
|
+
Mt(A(s.value ? t[2] : t[1])),
|
|
8360
8360
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
8361
8361
|
M(s.value ? t[3] : t[2])
|
|
8362
8362
|
];
|
|
@@ -8364,7 +8364,7 @@ function Js(...t) {
|
|
|
8364
8364
|
([a, c, l, p]) => {
|
|
8365
8365
|
if (n(), !a?.length || !c?.length || !l?.length)
|
|
8366
8366
|
return;
|
|
8367
|
-
const d =
|
|
8367
|
+
const d = Li(p) ? { ...p } : p;
|
|
8368
8368
|
e.push(
|
|
8369
8369
|
...a.flatMap(
|
|
8370
8370
|
(u) => c.flatMap(
|
|
@@ -8389,15 +8389,15 @@ function Kf() {
|
|
|
8389
8389
|
// @__NO_SIDE_EFFECTS__
|
|
8390
8390
|
function Mi(t) {
|
|
8391
8391
|
const e = /* @__PURE__ */ Kf();
|
|
8392
|
-
return
|
|
8392
|
+
return D(() => (e.value, !!t()));
|
|
8393
8393
|
}
|
|
8394
8394
|
function Ui(t, e, n = {}) {
|
|
8395
8395
|
const { window: o = No, ...s } = n;
|
|
8396
8396
|
let r;
|
|
8397
8397
|
const i = /* @__PURE__ */ Mi(() => o && "MutationObserver" in o), a = () => {
|
|
8398
8398
|
r && (r.disconnect(), r = void 0);
|
|
8399
|
-
}, c =
|
|
8400
|
-
const u = M(t), f = Mt(u).map(ce).filter(
|
|
8399
|
+
}, c = D(() => {
|
|
8400
|
+
const u = M(t), f = Mt(u).map(ce).filter(jf);
|
|
8401
8401
|
return new Set(f);
|
|
8402
8402
|
}), l = K(
|
|
8403
8403
|
() => c.value,
|
|
@@ -8414,12 +8414,12 @@ function Ui(t, e, n = {}) {
|
|
|
8414
8414
|
takeRecords: p
|
|
8415
8415
|
};
|
|
8416
8416
|
}
|
|
8417
|
-
function
|
|
8417
|
+
function Wf(t, e, n = {}) {
|
|
8418
8418
|
const { window: o = No, ...s } = n;
|
|
8419
8419
|
let r;
|
|
8420
8420
|
const i = /* @__PURE__ */ Mi(() => o && "ResizeObserver" in o), a = () => {
|
|
8421
8421
|
r && (r.disconnect(), r = void 0);
|
|
8422
|
-
}, c =
|
|
8422
|
+
}, c = D(() => {
|
|
8423
8423
|
const d = M(t);
|
|
8424
8424
|
return Array.isArray(d) ? d.map((u) => ce(u)) : [ce(d)];
|
|
8425
8425
|
}), l = K(
|
|
@@ -8440,7 +8440,7 @@ function Ff(t, e, n = {}) {
|
|
|
8440
8440
|
stop: p
|
|
8441
8441
|
};
|
|
8442
8442
|
}
|
|
8443
|
-
function
|
|
8443
|
+
function Ff(t, e = {}) {
|
|
8444
8444
|
const {
|
|
8445
8445
|
reset: n = !0,
|
|
8446
8446
|
windowResize: o = !0,
|
|
@@ -8460,7 +8460,7 @@ function Wf(t, e = {}) {
|
|
|
8460
8460
|
function m() {
|
|
8461
8461
|
i === "sync" ? v() : i === "next-frame" && requestAnimationFrame(() => v());
|
|
8462
8462
|
}
|
|
8463
|
-
return
|
|
8463
|
+
return Wf(t, m), K(() => ce(t), (_) => !_ && m()), Ui(t, m, {
|
|
8464
8464
|
attributeFilter: ["style", "class"]
|
|
8465
8465
|
}), s && Js("scroll", m, { capture: !0, passive: !0 }), o && Js("resize", m, { passive: !0 }), zf(() => {
|
|
8466
8466
|
r && m();
|
|
@@ -8490,13 +8490,13 @@ const Gf = (t = 8) => Array.from({ length: t }, () => Math.floor(Math.random() *
|
|
|
8490
8490
|
addNavigation: { type: [Boolean, Object], default: !1 }
|
|
8491
8491
|
},
|
|
8492
8492
|
setup(t) {
|
|
8493
|
-
const e = Pe("rowEl"), n =
|
|
8493
|
+
const e = Pe("rowEl"), n = D(() => t.store.isRowVisible(t.rowIndex)), o = D(() => t.store.getRowExpandSymbol(t.rowIndex));
|
|
8494
8494
|
if (t.addNavigation) {
|
|
8495
8495
|
let s = Ri;
|
|
8496
8496
|
typeof t.addNavigation == "object" && (s = {
|
|
8497
8497
|
...s,
|
|
8498
8498
|
...t.addNavigation
|
|
8499
|
-
}),
|
|
8499
|
+
}), Lf([
|
|
8500
8500
|
{
|
|
8501
8501
|
selectors: e,
|
|
8502
8502
|
handlers: s
|
|
@@ -8525,8 +8525,8 @@ const Gf = (t = 8) => Array.from({ length: t }, () => Math.floor(Math.random() *
|
|
|
8525
8525
|
[Yn, n.value]
|
|
8526
8526
|
]);
|
|
8527
8527
|
}
|
|
8528
|
-
}), qf = /* @__PURE__ */ Vo(Yf, [["__scopeId", "data-v-c554ee0f"]]),
|
|
8529
|
-
function
|
|
8528
|
+
}), qf = /* @__PURE__ */ Vo(Yf, [["__scopeId", "data-v-c554ee0f"]]), Do = Po ? window : void 0;
|
|
8529
|
+
function jt(t) {
|
|
8530
8530
|
var e;
|
|
8531
8531
|
const n = M(t);
|
|
8532
8532
|
return (e = n?.$el) != null ? e : n;
|
|
@@ -8534,16 +8534,16 @@ function Lt(t) {
|
|
|
8534
8534
|
function Xe(...t) {
|
|
8535
8535
|
const e = [], n = () => {
|
|
8536
8536
|
e.forEach((a) => a()), e.length = 0;
|
|
8537
|
-
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s =
|
|
8537
|
+
}, o = (a, c, l, p) => (a.addEventListener(c, l, p), () => a.removeEventListener(c, l, p)), s = D(() => {
|
|
8538
8538
|
const a = Mt(M(t[0])).filter((c) => c != null);
|
|
8539
8539
|
return a.every((c) => typeof c != "string") ? a : void 0;
|
|
8540
|
-
}), r =
|
|
8540
|
+
}), r = ji(
|
|
8541
8541
|
() => {
|
|
8542
8542
|
var a, c;
|
|
8543
8543
|
return [
|
|
8544
|
-
(c = (a = s.value) == null ? void 0 : a.map((l) =>
|
|
8544
|
+
(c = (a = s.value) == null ? void 0 : a.map((l) => jt(l))) != null ? c : [Do].filter((l) => l != null),
|
|
8545
8545
|
Mt(M(s.value ? t[1] : t[0])),
|
|
8546
|
-
Mt(
|
|
8546
|
+
Mt(A(s.value ? t[2] : t[1])),
|
|
8547
8547
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
8548
8548
|
M(s.value ? t[3] : t[2])
|
|
8549
8549
|
];
|
|
@@ -8551,7 +8551,7 @@ function Xe(...t) {
|
|
|
8551
8551
|
([a, c, l, p]) => {
|
|
8552
8552
|
if (n(), !a?.length || !c?.length || !l?.length)
|
|
8553
8553
|
return;
|
|
8554
|
-
const d =
|
|
8554
|
+
const d = Li(p) ? { ...p } : p;
|
|
8555
8555
|
e.push(
|
|
8556
8556
|
...a.flatMap(
|
|
8557
8557
|
(u) => c.flatMap(
|
|
@@ -8568,20 +8568,20 @@ function Xe(...t) {
|
|
|
8568
8568
|
}
|
|
8569
8569
|
let Ys = !1;
|
|
8570
8570
|
function qs(t, e, n = {}) {
|
|
8571
|
-
const { window: o =
|
|
8571
|
+
const { window: o = Do, ignore: s = [], capture: r = !0, detectIframe: i = !1, controls: a = !1 } = n;
|
|
8572
8572
|
if (!o)
|
|
8573
|
-
return a ? { stop:
|
|
8573
|
+
return a ? { stop: Dt, cancel: Dt, trigger: Dt } : Dt;
|
|
8574
8574
|
if (Jn && !Ys) {
|
|
8575
8575
|
Ys = !0;
|
|
8576
8576
|
const m = { passive: !0 };
|
|
8577
|
-
Array.from(o.document.body.children).forEach((_) => _.addEventListener("click",
|
|
8577
|
+
Array.from(o.document.body.children).forEach((_) => _.addEventListener("click", Dt, m)), o.document.documentElement.addEventListener("click", Dt, m);
|
|
8578
8578
|
}
|
|
8579
8579
|
let c = !0;
|
|
8580
8580
|
const l = (m) => M(s).some((_) => {
|
|
8581
8581
|
if (typeof _ == "string")
|
|
8582
8582
|
return Array.from(o.document.querySelectorAll(_)).some((k) => k === m.target || m.composedPath().includes(k));
|
|
8583
8583
|
{
|
|
8584
|
-
const k =
|
|
8584
|
+
const k = jt(_);
|
|
8585
8585
|
return k && (m.target === k || m.composedPath().includes(k));
|
|
8586
8586
|
}
|
|
8587
8587
|
});
|
|
@@ -8591,10 +8591,10 @@ function qs(t, e, n = {}) {
|
|
|
8591
8591
|
}
|
|
8592
8592
|
function d(m, _) {
|
|
8593
8593
|
const k = M(m), $ = k.$.subTree && k.$.subTree.children;
|
|
8594
|
-
return $ == null || !Array.isArray($) ? !1 : $.some((
|
|
8594
|
+
return $ == null || !Array.isArray($) ? !1 : $.some((j) => j.el === _.target || _.composedPath().includes(j.el));
|
|
8595
8595
|
}
|
|
8596
8596
|
const u = (m) => {
|
|
8597
|
-
const _ =
|
|
8597
|
+
const _ = jt(t);
|
|
8598
8598
|
if (m.target != null && !(!(_ instanceof Element) && p(t) && d(t, m)) && !(!_ || _ === m.target || m.composedPath().includes(_))) {
|
|
8599
8599
|
if ("detail" in m && m.detail === 0 && (c = !l(m)), !c) {
|
|
8600
8600
|
c = !0;
|
|
@@ -8611,13 +8611,13 @@ function qs(t, e, n = {}) {
|
|
|
8611
8611
|
}, 0), u(m));
|
|
8612
8612
|
}, { passive: !0, capture: r }),
|
|
8613
8613
|
Xe(o, "pointerdown", (m) => {
|
|
8614
|
-
const _ =
|
|
8614
|
+
const _ = jt(t);
|
|
8615
8615
|
c = !l(m) && !!(_ && !m.composedPath().includes(_));
|
|
8616
8616
|
}, { passive: !0 }),
|
|
8617
8617
|
i && Xe(o, "blur", (m) => {
|
|
8618
8618
|
setTimeout(() => {
|
|
8619
8619
|
var _;
|
|
8620
|
-
const k =
|
|
8620
|
+
const k = jt(t);
|
|
8621
8621
|
((_ = o.document.activeElement) == null ? void 0 : _.tagName) === "IFRAME" && !k?.contains(o.document.activeElement) && e(m);
|
|
8622
8622
|
}, 0);
|
|
8623
8623
|
}, { passive: !0 })
|
|
@@ -8659,16 +8659,16 @@ function Zf() {
|
|
|
8659
8659
|
// @__NO_SIDE_EFFECTS__
|
|
8660
8660
|
function Qf(t) {
|
|
8661
8661
|
const e = /* @__PURE__ */ Zf();
|
|
8662
|
-
return
|
|
8662
|
+
return D(() => (e.value, !!t()));
|
|
8663
8663
|
}
|
|
8664
8664
|
function Xs(t, e, n = {}) {
|
|
8665
|
-
const { window: o =
|
|
8665
|
+
const { window: o = Do, ...s } = n;
|
|
8666
8666
|
let r;
|
|
8667
8667
|
const i = /* @__PURE__ */ Qf(() => o && "ResizeObserver" in o), a = () => {
|
|
8668
8668
|
r && (r.disconnect(), r = void 0);
|
|
8669
|
-
}, c =
|
|
8669
|
+
}, c = D(() => {
|
|
8670
8670
|
const d = M(t);
|
|
8671
|
-
return Array.isArray(d) ? d.map((u) =>
|
|
8671
|
+
return Array.isArray(d) ? d.map((u) => jt(u)) : [jt(d)];
|
|
8672
8672
|
}), l = K(
|
|
8673
8673
|
c,
|
|
8674
8674
|
(d) => {
|
|
@@ -8738,7 +8738,7 @@ function np(t, e = !1) {
|
|
|
8738
8738
|
const a = Sn(M(t));
|
|
8739
8739
|
!a || !n.value || (Jn && o?.(), a.style.overflow = s, In.delete(a), n.value = !1);
|
|
8740
8740
|
};
|
|
8741
|
-
return he(i),
|
|
8741
|
+
return he(i), D({
|
|
8742
8742
|
get() {
|
|
8743
8743
|
return n.value;
|
|
8744
8744
|
},
|
|
@@ -8777,7 +8777,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8777
8777
|
},
|
|
8778
8778
|
emits: ["connection:delete"],
|
|
8779
8779
|
setup(t, { emit: e }) {
|
|
8780
|
-
const n = e, o =
|
|
8780
|
+
const n = e, o = D(() => t.store.connectionPaths.filter((i) => {
|
|
8781
8781
|
const a = t.store.ganttBars.find((l) => l.id === i.from.barId), c = t.store.ganttBars.find((l) => l.id === i.to.barId);
|
|
8782
8782
|
return a && c;
|
|
8783
8783
|
})), s = (i, a = !1) => {
|
|
@@ -8787,7 +8787,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8787
8787
|
(z) => z.barId === i.to.barId && z.side === i.to.side
|
|
8788
8788
|
);
|
|
8789
8789
|
if (!c || !l) return "";
|
|
8790
|
-
const p = c.position.x + Ue / 2, d = c.position.y + Ue / 2, u = l.position.x + Ue / 2, f = l.position.y + Ue / 2, h = Math.abs(u - p), v = Math.max(h * cp, 50), m = p + (i.from.side === "left" ? -v : v), _ = u + (i.to.side === "left" ? -v : v), k = { x: 0.5 * p + 0.5 * m, y: 0.5 * d + 0.5 * d }, $ = { x: 0.5 * m + 0.5 * _, y: 0.5 * d + 0.5 * f },
|
|
8790
|
+
const p = c.position.x + Ue / 2, d = c.position.y + Ue / 2, u = l.position.x + Ue / 2, f = l.position.y + Ue / 2, h = Math.abs(u - p), v = Math.max(h * cp, 50), m = p + (i.from.side === "left" ? -v : v), _ = u + (i.to.side === "left" ? -v : v), k = { x: 0.5 * p + 0.5 * m, y: 0.5 * d + 0.5 * d }, $ = { x: 0.5 * m + 0.5 * _, y: 0.5 * d + 0.5 * f }, j = { x: 0.5 * _ + 0.5 * u, y: 0.5 * f + 0.5 * f }, H = { x: 0.5 * k.x + 0.5 * $.x, y: 0.5 * k.y + 0.5 * $.y }, nt = { x: 0.5 * $.x + 0.5 * j.x, y: 0.5 * $.y + 0.5 * j.y }, E = { x: 0.5 * H.x + 0.5 * nt.x, y: 0.5 * H.y + 0.5 * nt.y };
|
|
8791
8791
|
return `M ${p} ${d} Q ${m} ${d}, ${E.x} ${E.y} Q ${_} ${f}, ${u} ${f}`;
|
|
8792
8792
|
}, r = (i) => {
|
|
8793
8793
|
t.store.deleteConnection(i.id) && n("connection:delete", i);
|
|
@@ -8879,7 +8879,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8879
8879
|
qn(bt(s.label || String.fromCharCode(r + 97).toUpperCase()), 1)
|
|
8880
8880
|
])
|
|
8881
8881
|
], 14, pp)), [
|
|
8882
|
-
[
|
|
8882
|
+
[A(tp), e]
|
|
8883
8883
|
])), 128))
|
|
8884
8884
|
])
|
|
8885
8885
|
])) : pt("", !0);
|
|
@@ -8890,7 +8890,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8890
8890
|
store: {}
|
|
8891
8891
|
},
|
|
8892
8892
|
setup(t) {
|
|
8893
|
-
const e = Pe("amodal"), { width: n, height: o } =
|
|
8893
|
+
const e = Pe("amodal"), { width: n, height: o } = Ff(e), s = D(() => {
|
|
8894
8894
|
if (!(t.store.modal.height && t.store.modal.width && t.store.modal.left && t.store.modal.bottom)) return;
|
|
8895
8895
|
const r = t.store.modal.cell?.closest("table"), i = r.offsetHeight || 0, a = r.offsetWidth || 0;
|
|
8896
8896
|
let c = t.store.modal.cell?.offsetTop || 0;
|
|
@@ -8938,23 +8938,23 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8938
8938
|
};
|
|
8939
8939
|
}
|
|
8940
8940
|
return g;
|
|
8941
|
-
}, o =
|
|
8941
|
+
}, o = L(t.columns), s = L(t.rows), r = L(t.config || {}), i = L({}), a = L({}), c = D(() => {
|
|
8942
8942
|
const g = {};
|
|
8943
8943
|
for (const [b, I] of o.value.entries())
|
|
8944
|
-
for (const [P,
|
|
8945
|
-
g[`${b}:${P}`] =
|
|
8944
|
+
for (const [P, W] of s.value.entries())
|
|
8945
|
+
g[`${b}:${P}`] = W[I.name];
|
|
8946
8946
|
return g;
|
|
8947
|
-
}), l =
|
|
8947
|
+
}), l = D({
|
|
8948
8948
|
get: () => {
|
|
8949
8949
|
const g = n();
|
|
8950
8950
|
for (let b = 0; b < g.length; b++)
|
|
8951
8951
|
i.value[b] && (g[b].rowModified = i.value[b]), a.value[b] && (a.value[b].childrenOpen !== void 0 && (g[b].childrenOpen = a.value[b].childrenOpen), a.value[b].expanded !== void 0 && (g[b].expanded = a.value[b].expanded));
|
|
8952
8952
|
if (_.value) {
|
|
8953
8953
|
const b = (I, P) => {
|
|
8954
|
-
const
|
|
8955
|
-
if (
|
|
8954
|
+
const W = P[I];
|
|
8955
|
+
if (W.isRoot || W.parent === null || W.parent === void 0)
|
|
8956
8956
|
return !0;
|
|
8957
|
-
const q =
|
|
8957
|
+
const q = W.parent;
|
|
8958
8958
|
return q < 0 || q >= P.length ? !1 : (P[q].childrenOpen || !1) && b(q, P);
|
|
8959
8959
|
};
|
|
8960
8960
|
for (let I = 0; I < g.length; I++)
|
|
@@ -8965,13 +8965,13 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
8965
8965
|
set: (g) => {
|
|
8966
8966
|
JSON.stringify(g) !== JSON.stringify(l.value) && (l.value = g);
|
|
8967
8967
|
}
|
|
8968
|
-
}), p =
|
|
8968
|
+
}), p = L(t.modal || { visible: !1 }), d = L({}), u = L([]), f = L([]), h = L([]), v = D(() => o.value.some((g) => g.pinned)), m = D(() => r.value.view === "gantt" || r.value.view === "tree-gantt"), _ = D(() => r.value.view === "tree" || r.value.view === "tree-gantt"), k = D(() => r.value.dependencyGraph !== !1), $ = D(() => `${Math.ceil(s.value.length / 100 + 1)}ch`), j = D(
|
|
8969
8969
|
() => r.value.view ? ["list", "tree", "tree-gantt", "list-expansion"].includes(r.value.view) : !1
|
|
8970
8970
|
), H = (g, b) => c.value[`${g}:${b}`], nt = (g, b, I) => {
|
|
8971
|
-
const P = `${g}:${b}`,
|
|
8971
|
+
const P = `${g}:${b}`, W = o.value[g];
|
|
8972
8972
|
c.value[P] !== I && (i.value[b] = !0), c.value[P] = I, s.value[b] = {
|
|
8973
8973
|
...s.value[b],
|
|
8974
|
-
[
|
|
8974
|
+
[W.name]: I
|
|
8975
8975
|
};
|
|
8976
8976
|
}, E = (g) => {
|
|
8977
8977
|
s.value = g;
|
|
@@ -9026,8 +9026,8 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9026
9026
|
const I = H(g, b);
|
|
9027
9027
|
return Z(g, b, I);
|
|
9028
9028
|
}, Z = (g, b, I) => {
|
|
9029
|
-
const P = o.value[g],
|
|
9030
|
-
return q ? typeof q == "function" ? q(I, { table: c.value, row:
|
|
9029
|
+
const P = o.value[g], W = s.value[b], q = P.format;
|
|
9030
|
+
return q ? typeof q == "function" ? q(I, { table: c.value, row: W, column: P }) : typeof q == "string" ? Function(`"use strict";return (${q})`)()(I, { table: c.value, row: W, column: P }) : I : I;
|
|
9031
9031
|
};
|
|
9032
9032
|
return {
|
|
9033
9033
|
// state
|
|
@@ -9047,14 +9047,14 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9047
9047
|
isTreeView: _,
|
|
9048
9048
|
isDependencyGraphEnabled: k,
|
|
9049
9049
|
numberedRowWidth: $,
|
|
9050
|
-
zeroColumn:
|
|
9050
|
+
zeroColumn: j,
|
|
9051
9051
|
// actions
|
|
9052
9052
|
closeModal: (g) => {
|
|
9053
9053
|
g.target instanceof Node && p.value.parent?.contains(g.target) || p.value.visible && (p.value.visible = !1);
|
|
9054
9054
|
},
|
|
9055
9055
|
createConnection: (g, b, I) => {
|
|
9056
|
-
const P = f.value.find((Nt) => Nt.id === g),
|
|
9057
|
-
if (!P || !
|
|
9056
|
+
const P = f.value.find((Nt) => Nt.id === g), W = f.value.find((Nt) => Nt.id === b);
|
|
9057
|
+
if (!P || !W)
|
|
9058
9058
|
return console.warn("Cannot create connection: handle not found"), null;
|
|
9059
9059
|
const q = {
|
|
9060
9060
|
id: `connection-${g}-${b}`,
|
|
@@ -9063,8 +9063,8 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9063
9063
|
side: P.side
|
|
9064
9064
|
},
|
|
9065
9065
|
to: {
|
|
9066
|
-
barId:
|
|
9067
|
-
side:
|
|
9066
|
+
barId: W.barId,
|
|
9067
|
+
side: W.side
|
|
9068
9068
|
},
|
|
9069
9069
|
style: I?.style,
|
|
9070
9070
|
label: I?.label
|
|
@@ -9117,7 +9117,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9117
9117
|
style: { position: "relative" }
|
|
9118
9118
|
}, _p = /* @__PURE__ */ ut({
|
|
9119
9119
|
__name: "ATable",
|
|
9120
|
-
props: /* @__PURE__ */
|
|
9120
|
+
props: /* @__PURE__ */ Ao({
|
|
9121
9121
|
id: {},
|
|
9122
9122
|
config: { default: () => new Object() }
|
|
9123
9123
|
}, {
|
|
@@ -9126,14 +9126,14 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9126
9126
|
columns: { required: !0 },
|
|
9127
9127
|
columnsModifiers: {}
|
|
9128
9128
|
}),
|
|
9129
|
-
emits: /* @__PURE__ */
|
|
9129
|
+
emits: /* @__PURE__ */ Ao(["cellUpdate", "gantt:drag", "connection:event", "columns:update"], ["update:rows", "update:columns"]),
|
|
9130
9130
|
setup(t, { expose: e, emit: n }) {
|
|
9131
9131
|
const o = Ro(t, "rows"), s = Ro(t, "columns"), r = n, i = Pe("table"), a = gp({ columns: s.value, rows: o.value, id: t.id, config: t.config });
|
|
9132
9132
|
a.$onAction(({ name: f, store: h, args: v, after: m }) => {
|
|
9133
9133
|
if (f === "setCellData" || f === "setCellText") {
|
|
9134
|
-
const [_, k, $] = v,
|
|
9134
|
+
const [_, k, $] = v, j = h.getCellData(_, k);
|
|
9135
9135
|
m(() => {
|
|
9136
|
-
o.value = [...h.rows], r("cellUpdate", { colIndex: _, rowIndex: k, newValue: $, oldValue:
|
|
9136
|
+
o.value = [...h.rows], r("cellUpdate", { colIndex: _, rowIndex: k, newValue: $, oldValue: j });
|
|
9137
9137
|
});
|
|
9138
9138
|
} else if (f === "updateGanttBar") {
|
|
9139
9139
|
const [_] = v;
|
|
@@ -9159,7 +9159,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9159
9159
|
), Pt(() => {
|
|
9160
9160
|
s.value.some((f) => f.pinned) && (l(), a.isTreeView && Ui(i, l, { childList: !0, subtree: !0 }));
|
|
9161
9161
|
});
|
|
9162
|
-
const c =
|
|
9162
|
+
const c = D(() => a.columns.filter((f) => f.pinned).length), l = () => {
|
|
9163
9163
|
const f = i.value, h = f?.rows[0], v = f?.rows[1], m = h ? Array.from(h.cells) : [];
|
|
9164
9164
|
for (const [_, k] of m.entries()) {
|
|
9165
9165
|
const $ = v?.cells[_];
|
|
@@ -9168,8 +9168,8 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9168
9168
|
for (const _ of f?.rows || []) {
|
|
9169
9169
|
let k = 0;
|
|
9170
9170
|
const $ = [];
|
|
9171
|
-
for (const
|
|
9172
|
-
(
|
|
9171
|
+
for (const j of _.cells)
|
|
9172
|
+
(j.classList.contains("sticky-column") || j.classList.contains("sticky-index")) && (j.style.left = `${k}px`, k += j.offsetWidth, $.push(j));
|
|
9173
9173
|
$.length > 0 && $[$.length - 1].classList.add("sticky-column-edge");
|
|
9174
9174
|
}
|
|
9175
9175
|
};
|
|
@@ -9214,22 +9214,22 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9214
9214
|
ref: "table",
|
|
9215
9215
|
class: "atable",
|
|
9216
9216
|
style: ft({
|
|
9217
|
-
width:
|
|
9217
|
+
width: A(a).config.fullWidth ? "100%" : "auto"
|
|
9218
9218
|
})
|
|
9219
9219
|
}, [
|
|
9220
|
-
ct(f.$slots, "header", { data:
|
|
9220
|
+
ct(f.$slots, "header", { data: A(a) }, () => [
|
|
9221
9221
|
Ee(hp, {
|
|
9222
|
-
columns:
|
|
9223
|
-
store:
|
|
9222
|
+
columns: A(a).columns,
|
|
9223
|
+
store: A(a)
|
|
9224
9224
|
}, null, 8, ["columns", "store"])
|
|
9225
9225
|
], !0),
|
|
9226
9226
|
R("tbody", null, [
|
|
9227
|
-
ct(f.$slots, "body", { data:
|
|
9228
|
-
(x(!0), V(lt, null, mt(
|
|
9227
|
+
ct(f.$slots, "body", { data: A(a) }, () => [
|
|
9228
|
+
(x(!0), V(lt, null, mt(A(a).rows, (v, m) => (x(), yt(qf, {
|
|
9229
9229
|
key: v.id,
|
|
9230
9230
|
row: v,
|
|
9231
9231
|
rowIndex: m,
|
|
9232
|
-
store:
|
|
9232
|
+
store: A(a)
|
|
9233
9233
|
}, {
|
|
9234
9234
|
default: Oe(() => [
|
|
9235
9235
|
(x(!0), V(lt, null, mt(p(v), (_, k) => (x(), V(lt, {
|
|
@@ -9237,8 +9237,8 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9237
9237
|
}, [
|
|
9238
9238
|
_.isGantt ? (x(), yt(Be(_.ganttComponent || "AGanttCell"), {
|
|
9239
9239
|
key: 0,
|
|
9240
|
-
store:
|
|
9241
|
-
columnsCount:
|
|
9240
|
+
store: A(a),
|
|
9241
|
+
columnsCount: A(a).columns.length - c.value,
|
|
9242
9242
|
color: v.gantt?.color,
|
|
9243
9243
|
start: v.gantt?.startIndex,
|
|
9244
9244
|
end: v.gantt?.endIndex,
|
|
@@ -9249,18 +9249,18 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9249
9249
|
style: ft({
|
|
9250
9250
|
textAlign: _?.align || "center",
|
|
9251
9251
|
minWidth: _?.width || "40ch",
|
|
9252
|
-
width:
|
|
9252
|
+
width: A(a).config.fullWidth ? "auto" : null
|
|
9253
9253
|
}),
|
|
9254
9254
|
"onConnection:create": d
|
|
9255
9255
|
}, null, 40, ["store", "columnsCount", "color", "start", "end", "colspan", "pinned", "rowIndex", "colIndex", "style"])) : (x(), yt(Be(_.cellComponent || "ACell"), {
|
|
9256
9256
|
key: 1,
|
|
9257
|
-
store:
|
|
9257
|
+
store: A(a),
|
|
9258
9258
|
pinned: _.pinned,
|
|
9259
9259
|
rowIndex: m,
|
|
9260
9260
|
colIndex: k,
|
|
9261
9261
|
style: ft({
|
|
9262
9262
|
textAlign: _?.align || "center",
|
|
9263
|
-
width:
|
|
9263
|
+
width: A(a).config.fullWidth ? "auto" : null
|
|
9264
9264
|
}),
|
|
9265
9265
|
spellcheck: "false"
|
|
9266
9266
|
}, null, 8, ["store", "pinned", "rowIndex", "colIndex", "style"]))
|
|
@@ -9270,28 +9270,28 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9270
9270
|
}, 1032, ["row", "rowIndex", "store"]))), 128))
|
|
9271
9271
|
], !0)
|
|
9272
9272
|
]),
|
|
9273
|
-
ct(f.$slots, "footer", { data:
|
|
9274
|
-
ct(f.$slots, "modal", { data:
|
|
9275
|
-
Bt(Ee(mp, { store:
|
|
9273
|
+
ct(f.$slots, "footer", { data: A(a) }, void 0, !0),
|
|
9274
|
+
ct(f.$slots, "modal", { data: A(a) }, () => [
|
|
9275
|
+
Bt(Ee(mp, { store: A(a) }, {
|
|
9276
9276
|
default: Oe(() => [
|
|
9277
|
-
(x(), yt(Be(
|
|
9278
|
-
key: `${
|
|
9279
|
-
colIndex:
|
|
9280
|
-
rowIndex:
|
|
9281
|
-
store:
|
|
9282
|
-
},
|
|
9277
|
+
(x(), yt(Be(A(a).modal.component), er({
|
|
9278
|
+
key: `${A(a).modal.rowIndex}:${A(a).modal.colIndex}`,
|
|
9279
|
+
colIndex: A(a).modal.colIndex,
|
|
9280
|
+
rowIndex: A(a).modal.rowIndex,
|
|
9281
|
+
store: A(a)
|
|
9282
|
+
}, A(a).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
|
|
9283
9283
|
]),
|
|
9284
9284
|
_: 1
|
|
9285
9285
|
}, 8, ["store"]), [
|
|
9286
|
-
[Yn,
|
|
9286
|
+
[Yn, A(a).modal.visible]
|
|
9287
9287
|
])
|
|
9288
9288
|
], !0)
|
|
9289
9289
|
], 4)), [
|
|
9290
|
-
[
|
|
9290
|
+
[A(Xf), A(a).closeModal]
|
|
9291
9291
|
]),
|
|
9292
|
-
|
|
9292
|
+
A(a).isGanttView && A(a).isDependencyGraphEnabled ? (x(), yt(up, {
|
|
9293
9293
|
key: 0,
|
|
9294
|
-
store:
|
|
9294
|
+
store: A(a),
|
|
9295
9295
|
"onConnection:delete": u
|
|
9296
9296
|
}, null, 8, ["store"])) : pt("", !0)
|
|
9297
9297
|
]));
|
|
@@ -9299,8 +9299,8 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9299
9299
|
}), yp = /* @__PURE__ */ Vo(_p, [["__scopeId", "data-v-51a03d16"]]), bp = /* @__PURE__ */ ut({
|
|
9300
9300
|
__name: "Records",
|
|
9301
9301
|
setup(t) {
|
|
9302
|
-
const { stonecrop: e } = bi(), n =
|
|
9303
|
-
return (r, i) => (x(), yt(
|
|
9302
|
+
const { stonecrop: e } = bi(), n = D(() => e.value?.store.records), o = D(() => e.value?.schema?.schema?.toArray()), s = { view: "list" };
|
|
9303
|
+
return (r, i) => (x(), yt(A(yp), {
|
|
9304
9304
|
rows: n.value,
|
|
9305
9305
|
"onUpdate:rows": i[0] || (i[0] = (a) => n.value = a),
|
|
9306
9306
|
columns: o.value,
|
|
@@ -9324,7 +9324,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9324
9324
|
breadcrumbs: { default: () => [] }
|
|
9325
9325
|
},
|
|
9326
9326
|
setup(t) {
|
|
9327
|
-
const e =
|
|
9327
|
+
const e = L(!0), n = L(!1), o = L(""), s = Pe("searchinput"), r = D(() => e.value ? "unrotated" : "rotated"), i = () => {
|
|
9328
9328
|
e.value = !e.value;
|
|
9329
9329
|
}, a = async () => {
|
|
9330
9330
|
n.value = !n.value, await xt(() => {
|
|
@@ -9337,13 +9337,13 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9337
9337
|
}, p = () => {
|
|
9338
9338
|
};
|
|
9339
9339
|
return (d, u) => {
|
|
9340
|
-
const f =
|
|
9340
|
+
const f = Fi("router-link");
|
|
9341
9341
|
return x(), V("footer", null, [
|
|
9342
9342
|
R("ul", wp, [
|
|
9343
9343
|
R("li", {
|
|
9344
9344
|
class: "hidebreadcrumbs",
|
|
9345
9345
|
onClick: i,
|
|
9346
|
-
onKeydown:
|
|
9346
|
+
onKeydown: Le(i, ["enter"])
|
|
9347
9347
|
}, [
|
|
9348
9348
|
R("a", Ep, [
|
|
9349
9349
|
R("div", {
|
|
@@ -9354,7 +9354,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9354
9354
|
R("li", {
|
|
9355
9355
|
class: "hometab",
|
|
9356
9356
|
onClick: p,
|
|
9357
|
-
onKeydown:
|
|
9357
|
+
onKeydown: Le(p, ["enter"]),
|
|
9358
9358
|
style: ft({ display: e.value ? "block" : "none" })
|
|
9359
9359
|
}, [
|
|
9360
9360
|
Ee(f, {
|
|
@@ -9385,7 +9385,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9385
9385
|
R("li", {
|
|
9386
9386
|
class: "searchtab",
|
|
9387
9387
|
onClick: a,
|
|
9388
|
-
onKeydown:
|
|
9388
|
+
onKeydown: Le(a, ["enter"]),
|
|
9389
9389
|
style: ft({ display: e.value ? "block" : "none" })
|
|
9390
9390
|
}, [
|
|
9391
9391
|
R("a", kp, [
|
|
@@ -9409,7 +9409,7 @@ const sp = { class: "gantt-connection-overlay" }, rp = {
|
|
|
9409
9409
|
onClick: u[1] || (u[1] = (h) => c(h)),
|
|
9410
9410
|
onInput: u[2] || (u[2] = (h) => c(h)),
|
|
9411
9411
|
onBlur: u[3] || (u[3] = (h) => l(h)),
|
|
9412
|
-
onKeydown: u[4] || (u[4] =
|
|
9412
|
+
onKeydown: u[4] || (u[4] = Le((h) => l(h), ["enter"])),
|
|
9413
9413
|
type: "text"
|
|
9414
9414
|
}, null, 36), [
|
|
9415
9415
|
[Zs, o.value]
|