@anzusystems/common-admin 1.47.0-beta.dev-1778753795 → 1.47.0-beta.dev-1778753798
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/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CcJ9O4Nl.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-eJ6YNvVA.mjs} +3064 -2884
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-eJ6YNvVA.mjs.map +1 -0
- package/dist/common-admin.d.ts +2 -2
- package/dist/common-admin.js +5723 -5905
- package/dist/common-admin.js.map +1 -1
- package/dist/{index-BYrVH8OR.mjs → index-DTpUvytD.mjs} +7277 -7381
- package/dist/index-DTpUvytD.mjs.map +1 -0
- package/dist/labs.d.ts +101 -12
- package/dist/labs.js +120 -119
- package/dist/{webfontloader-B5y4KLvE.mjs → webfontloader-CvrnzcV5.mjs} +2 -2
- package/dist/{webfontloader-B5y4KLvE.mjs.map → webfontloader-CvrnzcV5.mjs.map} +1 -1
- package/package.json +12 -12
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CcJ9O4Nl.mjs.map +0 -1
- package/dist/index-BYrVH8OR.mjs.map +0 -1
package/dist/labs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { aE as Ki,
|
|
3
|
-
import { defineComponent as He, useModel as Ge, inject as Qt, computed as g, watch as Ee, openBlock as y, createElementBlock as K, createElementVNode as M, toDisplayString as B, unref as d, createVNode as i, withCtx as r, createTextVNode as G, Fragment as ve, renderList as Ze, createBlock as W, normalizeClass as xe, mergeModels as Le, createCommentVNode as H, withModifiers as le, ref as ce, onMounted as Zt, toRaw as gn, provide as ta, resolveComponent as bn, renderSlot as z, mergeProps as ie, withDirectives as yo, vShow as ho, useSlots as na, useTemplateRef as $t, isRef as aa, normalizeStyle as vt, normalizeProps as Ve, guardReactiveProps as qe, shallowRef as
|
|
1
|
+
import { bT as Sn, d as pe, j as Ue, k as Ma, a1 as za, h as mt, i as Et, aj as Pn, ak as In, al as Dn, am as En, ag as Tt, a_ as Tn, aa as $n, ab as Fn, ac as Bn, ad as Rn, an as Kn, ao as Vn, ae as Ln, af as Mn, bU as zn, bV as Nn, be as On, bW as Na, as as Un, bX as Xt, ap as Oa, aq as Ua, aV as ja, b2 as qa, ar as Ga, E as Ha, a8 as Ja, a2 as Wa, bY as Xa, q as Ya, p as Qa, x as Za, a7 as _a, aI as eo, m as jn, bZ as to, l as no, b_ as ao, b$ as qn, c0 as Gn, c1 as Hn, c2 as Jn, c3 as Wn, c4 as Xn, c5 as Yn, c6 as Qn, c7 as Zn, c8 as _n, g as ke, c9 as oo, _ as ea, ca as lo, cb as io, cc as so, cd as ro, aU as co, ce as uo, cf as fo, cg as mo, z as vo } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-eJ6YNvVA.mjs";
|
|
2
|
+
import { aE as Ki, ch as Vi, ci as Li, aA as Mi, aB as zi, aD as Ni, aF as Oi, aC as Ui, aS as ji, aJ as qi, bb as Gi, aO as Hi, aX as Ji, aG as Wi, aH as Xi, ay as Yi, az as Qi, cj as Zi, ck as _i, cl as es, cm as ts, cn as ns, co as as, cp as os, ai as ls, ah as is, cq as ss, cr as rs, cs as ds, ct as cs } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-eJ6YNvVA.mjs";
|
|
3
|
+
import { defineComponent as He, useModel as Ge, inject as Qt, computed as g, watch as Ee, openBlock as y, createElementBlock as K, createElementVNode as M, toDisplayString as B, unref as d, createVNode as i, withCtx as r, createTextVNode as G, Fragment as ve, renderList as Ze, createBlock as W, normalizeClass as xe, mergeModels as Le, createCommentVNode as H, withModifiers as le, ref as ce, onMounted as Zt, toRaw as gn, provide as ta, resolveComponent as bn, renderSlot as z, mergeProps as ie, withDirectives as yo, vShow as ho, useSlots as na, useTemplateRef as $t, isRef as aa, normalizeStyle as vt, normalizeProps as Ve, guardReactiveProps as qe, shallowRef as Yt, nextTick as Oe, onBeforeUnmount as _t, getCurrentInstance as en, reactive as po } from "vue";
|
|
4
4
|
import { useI18n as Je } from "vue-i18n";
|
|
5
5
|
import { VBtn as _ } from "vuetify/components/VBtn";
|
|
6
6
|
import { VList as yt, VListItem as Ie, VListItemTitle as Re } from "vuetify/components/VList";
|
|
@@ -196,23 +196,23 @@ const Ao = { class: "d-flex align-center justify-center" }, So = { class: "text-
|
|
|
196
196
|
G(B(d(f)("common.system.datatable.itemsPerPage")) + ": ", 1),
|
|
197
197
|
i(bo, {
|
|
198
198
|
modelValue: d(n).rowsPerPage,
|
|
199
|
-
"onUpdate:modelValue": $[0] || ($[0] = (
|
|
199
|
+
"onUpdate:modelValue": $[0] || ($[0] = (X) => d(n).rowsPerPage = X),
|
|
200
200
|
class: "ml-2",
|
|
201
201
|
density: "compact",
|
|
202
202
|
mandatory: "",
|
|
203
203
|
"data-cy": "table-size"
|
|
204
204
|
}, {
|
|
205
205
|
default: r(() => [
|
|
206
|
-
(y(!0), K(ve, null, Ze(e.itemsPerPageOptions, (
|
|
207
|
-
key:
|
|
208
|
-
color:
|
|
209
|
-
value:
|
|
206
|
+
(y(!0), K(ve, null, Ze(e.itemsPerPageOptions, (X) => (y(), W(_, {
|
|
207
|
+
key: X,
|
|
208
|
+
color: X === d(n).rowsPerPage ? "secondary" : "",
|
|
209
|
+
value: X,
|
|
210
210
|
density: "compact",
|
|
211
211
|
size: "small",
|
|
212
212
|
variant: "text"
|
|
213
213
|
}, {
|
|
214
214
|
default: r(() => [
|
|
215
|
-
G(B(
|
|
215
|
+
G(B(X), 1)
|
|
216
216
|
]),
|
|
217
217
|
_: 2
|
|
218
218
|
}, 1032, ["color", "value"]))), 128))
|
|
@@ -281,7 +281,7 @@ const Ao = { class: "d-flex align-center justify-center" }, So = { class: "text-
|
|
|
281
281
|
try {
|
|
282
282
|
const R = Et(j) ? j : h, $ = Et(T) ? T : f;
|
|
283
283
|
if (pe($)) throw new Error("Url template is undefined");
|
|
284
|
-
const
|
|
284
|
+
const X = (pe(R) ? $ : Pn($, R)) + Bo(V, b, k), A = await w().get(X, {
|
|
285
285
|
...p,
|
|
286
286
|
signal: C.signal
|
|
287
287
|
});
|
|
@@ -324,29 +324,29 @@ const Ao = { class: "d-flex align-center justify-center" }, So = { class: "text-
|
|
|
324
324
|
sortBy: j = "id",
|
|
325
325
|
sortDesc: R = !0,
|
|
326
326
|
batchSize: $ = 100,
|
|
327
|
-
forceElastic:
|
|
327
|
+
forceElastic: X = !1
|
|
328
328
|
} = V;
|
|
329
329
|
try {
|
|
330
|
-
const A = N.general.elastic ||
|
|
330
|
+
const A = N.general.elastic || X ? "/search" : "", J = Et(T) ? T : h, L = Et(I) ? I : f;
|
|
331
331
|
if (pe(L)) throw new Error("Url template is undefined");
|
|
332
332
|
const { pagination: E } = Un(j, R ? Ue.Desc : Ue.Asc, {
|
|
333
333
|
rowsPerPage: $
|
|
334
|
-
}), ee = (pe(J) ? L : Pn(L, J)) + A, se = [],
|
|
335
|
-
ee +
|
|
334
|
+
}), ee = (pe(J) ? L : Pn(L, J)) + A, se = [], Y = await w().get(
|
|
335
|
+
ee + Xt(E, D, N),
|
|
336
336
|
{
|
|
337
337
|
...p,
|
|
338
338
|
signal: k.signal
|
|
339
339
|
}
|
|
340
340
|
);
|
|
341
|
-
if (!In(
|
|
342
|
-
throw new Dn(
|
|
343
|
-
if (
|
|
344
|
-
const ae =
|
|
341
|
+
if (!In(Y.status))
|
|
342
|
+
throw new Dn(Y.status);
|
|
343
|
+
if (Y.data) {
|
|
344
|
+
const ae = Y.data;
|
|
345
345
|
if (se.push(...ae.data), Oa(ae))
|
|
346
346
|
for (E.value.hasNextPage = ae.hasNextPage; E.value.hasNextPage; ) {
|
|
347
347
|
E.value.page++;
|
|
348
348
|
const P = (await w().get(
|
|
349
|
-
ee +
|
|
349
|
+
ee + Xt(E, D, N),
|
|
350
350
|
{
|
|
351
351
|
...p,
|
|
352
352
|
signal: k.signal
|
|
@@ -361,7 +361,7 @@ const Ao = { class: "d-flex align-center justify-center" }, So = { class: "text-
|
|
|
361
361
|
for (let v = 1; v < P; v++) {
|
|
362
362
|
const S = { ...E.value, page: v + 1 }, F = ce(S);
|
|
363
363
|
re.push(
|
|
364
|
-
w().get(ee +
|
|
364
|
+
w().get(ee + Xt(F, D, N), {
|
|
365
365
|
...p,
|
|
366
366
|
signal: k.signal
|
|
367
367
|
})
|
|
@@ -373,7 +373,7 @@ const Ao = { class: "d-flex align-center justify-center" }, So = { class: "text-
|
|
|
373
373
|
}
|
|
374
374
|
return se;
|
|
375
375
|
}
|
|
376
|
-
if (
|
|
376
|
+
if (Y.status === En)
|
|
377
377
|
return [];
|
|
378
378
|
throw new Tt();
|
|
379
379
|
} catch (A) {
|
|
@@ -417,7 +417,7 @@ function Vo(e, w, u, n, f = {}) {
|
|
|
417
417
|
Za(h.storeColumnsLocalStorage) ? k = h.storeColumnsLocalStorage : _a(h.storeColumnsLocalStorage) && h.storeColumnsLocalStorage === !0 && (k = "table_" + u + "_" + n);
|
|
418
418
|
const s = e.map((V) => {
|
|
419
419
|
const I = { ...Ro, ...V };
|
|
420
|
-
return pe(I.title) && (pe(I.title) &&
|
|
420
|
+
return pe(I.title) && (pe(I.title) && Xa.includes(I.key) ? I.title = b("common.model.tracking." + I.key) : pe(I.title) && u && n ? I.title = b(u + "." + n + ".model." + I.key) : I.title = ""), I;
|
|
421
421
|
}), C = g(() => {
|
|
422
422
|
const V = [];
|
|
423
423
|
return h.showExpand && V.push({ key: "data-table-expand", sortable: !1 }), s.forEach((I) => {
|
|
@@ -428,7 +428,7 @@ function Vo(e, w, u, n, f = {}) {
|
|
|
428
428
|
const V = localStorage.getItem(k);
|
|
429
429
|
if (!V) return;
|
|
430
430
|
const I = JSON.parse(V);
|
|
431
|
-
|
|
431
|
+
Ya(I) && Qa(I.hidden) && (w.value = I.hidden);
|
|
432
432
|
}, N = (V) => {
|
|
433
433
|
!k || !localStorage || localStorage.setItem(k, JSON.stringify({ hidden: V }));
|
|
434
434
|
};
|
|
@@ -449,14 +449,14 @@ function Si(e, w, u, n, f, h, p, b = null, k = void 0, s = !1) {
|
|
|
449
449
|
), { resetFilter: R, submitFilter: $ } = eo(h, p, {
|
|
450
450
|
storeFiltersLocalStorage: !1,
|
|
451
451
|
populateUrlParams: !1
|
|
452
|
-
}), { showErrorsDefault:
|
|
452
|
+
}), { showErrorsDefault: X } = jn(), { columnsVisible: A, columnsAll: J, columnsHidden: L } = Vo(
|
|
453
453
|
e,
|
|
454
454
|
w,
|
|
455
455
|
u,
|
|
456
456
|
n,
|
|
457
457
|
{ storeColumnsLocalStorage: !1, disableActions: !s }
|
|
458
458
|
), E = () => {
|
|
459
|
-
|
|
459
|
+
Y(), re();
|
|
460
460
|
}, ee = (c) => {
|
|
461
461
|
T(c.sortBy), re();
|
|
462
462
|
}, se = async () => {
|
|
@@ -465,11 +465,11 @@ function Si(e, w, u, n, f, h, p, b = null, k = void 0, s = !1) {
|
|
|
465
465
|
const c = await f(I, h, p, k);
|
|
466
466
|
D.value.push(...c);
|
|
467
467
|
} catch (c) {
|
|
468
|
-
|
|
468
|
+
X(c);
|
|
469
469
|
} finally {
|
|
470
470
|
V.value = !1;
|
|
471
471
|
}
|
|
472
|
-
},
|
|
472
|
+
}, Y = () => {
|
|
473
473
|
D.value = [], N.value = [];
|
|
474
474
|
}, ae = async () => {
|
|
475
475
|
V.value = !0;
|
|
@@ -481,7 +481,7 @@ function Si(e, w, u, n, f, h, p, b = null, k = void 0, s = !1) {
|
|
|
481
481
|
k
|
|
482
482
|
);
|
|
483
483
|
} catch (c) {
|
|
484
|
-
|
|
484
|
+
X(c);
|
|
485
485
|
} finally {
|
|
486
486
|
V.value = !1;
|
|
487
487
|
}
|
|
@@ -563,7 +563,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
563
563
|
), j();
|
|
564
564
|
}, $ = () => {
|
|
565
565
|
f("onFetchNextPage");
|
|
566
|
-
},
|
|
566
|
+
}, X = () => {
|
|
567
567
|
f("onPageChange");
|
|
568
568
|
}, A = g(() => Math.ceil(b.value.totalCount / b.value.rowsPerPage)), J = g(() => !(mt(b.value.hasNextPage) && b.value.page === A.value || b.value.hasNextPage === !1)), L = (E) => {
|
|
569
569
|
E && J.value && !n.loading && $();
|
|
@@ -574,7 +574,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
574
574
|
open: I,
|
|
575
575
|
closeSidebarOnMobile: C
|
|
576
576
|
}), (E, ee) => {
|
|
577
|
-
const se = bn("ABtnSecondary"),
|
|
577
|
+
const se = bn("ABtnSecondary"), Y = bn("ABtnPrimary");
|
|
578
578
|
return y(), K(ve, null, [
|
|
579
579
|
z(E.$slots, "activator", {
|
|
580
580
|
props: { onClick: le(() => I(), ["stop"]) }
|
|
@@ -683,7 +683,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
683
683
|
key: 1,
|
|
684
684
|
modelValue: b.value,
|
|
685
685
|
"onUpdate:modelValue": ee[0] || (ee[0] = (ae) => b.value = ae),
|
|
686
|
-
onChange:
|
|
686
|
+
onChange: X
|
|
687
687
|
}, null, 8, ["modelValue"]))
|
|
688
688
|
])
|
|
689
689
|
], 2),
|
|
@@ -697,7 +697,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
697
697
|
selected: N.value
|
|
698
698
|
})), 1)),
|
|
699
699
|
i(on),
|
|
700
|
-
i(
|
|
700
|
+
i(Y, {
|
|
701
701
|
disabled: V.value,
|
|
702
702
|
onClick: le(R, ["stop"])
|
|
703
703
|
}, {
|
|
@@ -721,10 +721,10 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
721
721
|
}), Wo = {
|
|
722
722
|
key: 0,
|
|
723
723
|
class: "a-le-header"
|
|
724
|
-
},
|
|
724
|
+
}, Xo = {
|
|
725
725
|
key: 0,
|
|
726
726
|
class: "a-le-title-heading"
|
|
727
|
-
},
|
|
727
|
+
}, Yo = {
|
|
728
728
|
key: 1,
|
|
729
729
|
class: "a-le-state a-le-state--loading"
|
|
730
730
|
}, Qo = {
|
|
@@ -805,7 +805,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
805
805
|
})),
|
|
806
806
|
{ source: h }
|
|
807
807
|
), {
|
|
808
|
-
editingKeys:
|
|
808
|
+
editingKeys: X,
|
|
809
809
|
editingSnapshots: A,
|
|
810
810
|
beginEdit: J,
|
|
811
811
|
cancelEdit: L,
|
|
@@ -825,7 +825,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
825
825
|
afterAutoOpen: (o) => {
|
|
826
826
|
N.value.delete(o);
|
|
827
827
|
}
|
|
828
|
-
}),
|
|
828
|
+
}), Y = g(
|
|
829
829
|
() => n.addLabel ? p(n.addLabel) : p("common.sortable.add")
|
|
830
830
|
), ae = g(() => n.emptyTitle ?? p("common.sortable.emptyTitle")), re = g(
|
|
831
831
|
() => n.deleteConfirmTitle ?? p("common.sortable.deleteConfirmTitle")
|
|
@@ -842,7 +842,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
842
842
|
const o = [], U = /* @__PURE__ */ new Set();
|
|
843
843
|
for (const m of D.viewItems.value) {
|
|
844
844
|
U.add(m.key);
|
|
845
|
-
const fe =
|
|
845
|
+
const fe = X.value.has(m.key), be = N.value.has(m.key), bt = n.loadingKeys?.has(m.key) ?? !1, nt = n.disableUnsaved ? !1 : O.value.has(m.key), Ce = q.get(m.key);
|
|
846
846
|
if (Ce && Ce.raw === m.raw && Ce.index === m.index && Ce.position === m.position && Ce.editing === fe && Ce.expanded === be && Ce.loading === bt && Ce.dirty === nt) {
|
|
847
847
|
o.push(Ce);
|
|
848
848
|
continue;
|
|
@@ -864,7 +864,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
864
864
|
variant: "flat",
|
|
865
865
|
isReorderMode: ce(!1),
|
|
866
866
|
disabled: g(() => !c.value),
|
|
867
|
-
isEditing: (o) =>
|
|
867
|
+
isEditing: (o) => X.value.has(o),
|
|
868
868
|
onToggleEdit: (o) => {
|
|
869
869
|
const U = Q(o);
|
|
870
870
|
U && ye(U);
|
|
@@ -881,7 +881,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
881
881
|
c.value && (se(), f("add", { afterId: o.key }));
|
|
882
882
|
}, ye = (o) => {
|
|
883
883
|
if (c.value) {
|
|
884
|
-
if (
|
|
884
|
+
if (X.value.has(o.key)) {
|
|
885
885
|
tt(o);
|
|
886
886
|
return;
|
|
887
887
|
}
|
|
@@ -916,10 +916,10 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
916
916
|
onDeleteConfirm: (o) => n.onDeleteConfirm ? n.onDeleteConfirm(o) : !0,
|
|
917
917
|
onDelete: (o) => n.onDelete?.(o),
|
|
918
918
|
onDeleted: (o) => {
|
|
919
|
-
|
|
919
|
+
X.value.delete(o.key), A.value.delete(o.key), N.value.delete(o.key), f("deleted", o);
|
|
920
920
|
},
|
|
921
921
|
disableDeleteConfirm: () => n.disableDeleteConfirm || n.chips
|
|
922
|
-
}),
|
|
922
|
+
}), Xe = async (o) => {
|
|
923
923
|
c.value && await et(o);
|
|
924
924
|
}, Pe = async (o) => {
|
|
925
925
|
n.onItemSave && await n.onItemSave(o.raw), E(o), f("item-saved", o);
|
|
@@ -927,8 +927,8 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
927
927
|
L(o);
|
|
928
928
|
}, tt = (o) => {
|
|
929
929
|
ee(o), N.value.delete(o.key), f("close", o);
|
|
930
|
-
},
|
|
931
|
-
let U =
|
|
930
|
+
}, Ye = /* @__PURE__ */ new Map(), Rt = (o) => {
|
|
931
|
+
let U = Ye.get(o);
|
|
932
932
|
return U || (U = {
|
|
933
933
|
edit: () => {
|
|
934
934
|
const m = Q(o);
|
|
@@ -948,7 +948,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
948
948
|
},
|
|
949
949
|
delete: async () => {
|
|
950
950
|
const m = Q(o);
|
|
951
|
-
m && await
|
|
951
|
+
m && await Xe(m);
|
|
952
952
|
},
|
|
953
953
|
addAfter: () => {
|
|
954
954
|
const m = Q(o);
|
|
@@ -959,15 +959,15 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
959
959
|
m && Fe(m);
|
|
960
960
|
},
|
|
961
961
|
update: (m) => D.updateItem(o, m)
|
|
962
|
-
},
|
|
962
|
+
}, Ye.set(o, U)), U;
|
|
963
963
|
};
|
|
964
964
|
Ee(
|
|
965
965
|
() => oe.value,
|
|
966
966
|
(o) => {
|
|
967
|
-
if (
|
|
967
|
+
if (Ye.size === 0) return;
|
|
968
968
|
const U = new Set(o.map((m) => m.key));
|
|
969
|
-
for (const m of
|
|
970
|
-
U.has(m) ||
|
|
969
|
+
for (const m of Ye.keys())
|
|
970
|
+
U.has(m) || Ye.delete(m);
|
|
971
971
|
}
|
|
972
972
|
);
|
|
973
973
|
const Be = (o) => ({
|
|
@@ -988,7 +988,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
988
988
|
for (const U of oe.value)
|
|
989
989
|
U.dirty && o.add(U.key);
|
|
990
990
|
return o;
|
|
991
|
-
}), { hasUnsavedChanges: Qe, unsavedCount: st, clearUnsavedState: gt } =
|
|
991
|
+
}), { hasUnsavedChanges: Qe, unsavedCount: st, clearUnsavedState: gt } = Xn({
|
|
992
992
|
unsavedKeysModel: pt,
|
|
993
993
|
internalUnsavedKeys: ze,
|
|
994
994
|
onClearAll: () => j(),
|
|
@@ -1025,10 +1025,10 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
1025
1025
|
}, [
|
|
1026
1026
|
S.value ? (y(), K("div", Wo, [
|
|
1027
1027
|
z(o.$slots, "header", { title: e.title }, () => [
|
|
1028
|
-
e.title ? (y(), K("h3",
|
|
1028
|
+
e.title ? (y(), K("h3", Xo, B(e.title), 1)) : H("", !0)
|
|
1029
1029
|
])
|
|
1030
1030
|
])) : H("", !0),
|
|
1031
|
-
e.loading ? (y(), K("div",
|
|
1031
|
+
e.loading ? (y(), K("div", Yo, [
|
|
1032
1032
|
i(sa, {
|
|
1033
1033
|
indeterminate: "",
|
|
1034
1034
|
color: "primary",
|
|
@@ -1052,9 +1052,9 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
1052
1052
|
disabled: e.disabled,
|
|
1053
1053
|
actions: { add: Ae }
|
|
1054
1054
|
}, () => [
|
|
1055
|
-
i(
|
|
1055
|
+
i(Yn, {
|
|
1056
1056
|
title: ae.value,
|
|
1057
|
-
"add-label":
|
|
1057
|
+
"add-label": Y.value,
|
|
1058
1058
|
"can-add": v.value,
|
|
1059
1059
|
onAdd: Ae
|
|
1060
1060
|
}, null, 8, ["title", "add-label", "can-add"])
|
|
@@ -1103,7 +1103,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
1103
1103
|
density: "compact",
|
|
1104
1104
|
active: !1,
|
|
1105
1105
|
class: "a-le-action a-le-action--chip-close",
|
|
1106
|
-
onClick: le((fe) =>
|
|
1106
|
+
onClick: le((fe) => Xe(m), ["stop"])
|
|
1107
1107
|
}, {
|
|
1108
1108
|
default: r(() => [
|
|
1109
1109
|
i(ne, {
|
|
@@ -1143,7 +1143,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
1143
1143
|
variant: "text",
|
|
1144
1144
|
density: "comfortable",
|
|
1145
1145
|
class: "mx-1 a-le-action a-le-action--delete",
|
|
1146
|
-
onClick: le((fe) =>
|
|
1146
|
+
onClick: le((fe) => Xe(m), ["stop"])
|
|
1147
1147
|
}, {
|
|
1148
1148
|
default: r(() => [
|
|
1149
1149
|
i(ne, {
|
|
@@ -1266,7 +1266,7 @@ const Lo = { class: "d-flex flex-column w-100 px-1 align-center" }, Mo = { class
|
|
|
1266
1266
|
icon: "mdi-plus",
|
|
1267
1267
|
size: "18"
|
|
1268
1268
|
}),
|
|
1269
|
-
M("span", null, B(
|
|
1269
|
+
M("span", null, B(Y.value), 1)
|
|
1270
1270
|
])
|
|
1271
1271
|
]) : H("", !0)
|
|
1272
1272
|
], 512),
|
|
@@ -1384,7 +1384,7 @@ function yl(e, w) {
|
|
|
1384
1384
|
if (!v) return c;
|
|
1385
1385
|
const F = S ? S.children : c.children, O = F.indexOf(v);
|
|
1386
1386
|
return O === -1 || (F.splice(O, 1), C(F), e.value = c), c;
|
|
1387
|
-
},
|
|
1387
|
+
}, X = (P, c) => {
|
|
1388
1388
|
const v = ke(e.value), { node: S } = s(P, v.children);
|
|
1389
1389
|
return S && (S.data = ke(c), e.value = v), v;
|
|
1390
1390
|
}, A = (P, c, v) => {
|
|
@@ -1417,7 +1417,7 @@ function yl(e, w) {
|
|
|
1417
1417
|
if (pe(q.children)) return null;
|
|
1418
1418
|
const oe = k(v);
|
|
1419
1419
|
return ae(c, b(q.data)) + 1 + oe > p ? null : (F.splice(O, 1), q.children.push(v), v.data[f] = b(q.data), C(F), C(q.children), e.value = c, c);
|
|
1420
|
-
},
|
|
1420
|
+
}, Y = (P) => {
|
|
1421
1421
|
const c = ke(e.value), { node: v, parent: S } = s(P, c.children);
|
|
1422
1422
|
if (!v || !S) return null;
|
|
1423
1423
|
const { parent: F } = s(b(S.data), c.children), O = F ? F.children : c.children, q = O.indexOf(S);
|
|
@@ -1442,13 +1442,13 @@ function yl(e, w) {
|
|
|
1442
1442
|
findNode: s,
|
|
1443
1443
|
addItem: R,
|
|
1444
1444
|
deleteItem: $,
|
|
1445
|
-
updateItem:
|
|
1445
|
+
updateItem: X,
|
|
1446
1446
|
moveUp: J,
|
|
1447
1447
|
moveDown: L,
|
|
1448
1448
|
moveTop: E,
|
|
1449
1449
|
moveBottom: ee,
|
|
1450
1450
|
indent: se,
|
|
1451
|
-
outdent:
|
|
1451
|
+
outdent: Y,
|
|
1452
1452
|
moveTo: (P, c, v) => {
|
|
1453
1453
|
const S = ke(e.value), { node: F, parent: O } = s(P, S.children);
|
|
1454
1454
|
if (!F) return null;
|
|
@@ -1514,7 +1514,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
1514
1514
|
containerPaddingLeft: s
|
|
1515
1515
|
} = e;
|
|
1516
1516
|
if (u.key === n || ra(h, n, u.key)) return null;
|
|
1517
|
-
const C = w.y - u.rect.top, D = u.rect.height, N = C < D / 2, V = N ? "top" : "bottom", I = h.findIndex((E) => E.key === u.key), T = N ? It(h, I - 1, -1, n) : It(h, I, -1, n), j = N ? It(h, I, 1, n) : It(h, I + 1, 1, n), R = w.x - k - s, $ = Math.round(R / b),
|
|
1517
|
+
const C = w.y - u.rect.top, D = u.rect.height, N = C < D / 2, V = N ? "top" : "bottom", I = h.findIndex((E) => E.key === u.key), T = N ? It(h, I - 1, -1, n) : It(h, I, -1, n), j = N ? It(h, I, 1, n) : It(h, I + 1, 1, n), R = w.x - k - s, $ = Math.round(R / b), X = T ? T.depth + 1 : 0, A = j ? j.depth : 0, J = Math.max(A, Math.min($, X));
|
|
1518
1518
|
let L;
|
|
1519
1519
|
if (!T)
|
|
1520
1520
|
L = {
|
|
@@ -2112,8 +2112,8 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2112
2112
|
const J = (L) => {
|
|
2113
2113
|
for (const E of L) {
|
|
2114
2114
|
if (E.data[u.keyField] === u.sourceKey) {
|
|
2115
|
-
const se = (
|
|
2116
|
-
for (const ae of
|
|
2115
|
+
const se = (Y) => {
|
|
2116
|
+
for (const ae of Y)
|
|
2117
2117
|
A.add(ae.data[u.keyField]), ae.children?.length && se(ae.children);
|
|
2118
2118
|
};
|
|
2119
2119
|
return E.children?.length && se(E.children), !0;
|
|
@@ -2160,12 +2160,12 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2160
2160
|
});
|
|
2161
2161
|
const L = (E, ee) => {
|
|
2162
2162
|
for (const se of E) {
|
|
2163
|
-
const
|
|
2163
|
+
const Y = se.data[u.keyField];
|
|
2164
2164
|
let ae = !1, re = null;
|
|
2165
|
-
|
|
2166
|
-
key:
|
|
2165
|
+
Y === u.sourceKey ? (ae = !0, re = "self") : k.value.has(Y) ? (ae = !0, re = "descendant") : C.value !== void 0 && C.value === Y ? (ae = !0, re = "currentParent") : ee + 1 + J > u.maxDepth && (ae = !0, re = "maxDepth"), A.push({
|
|
2166
|
+
key: Y,
|
|
2167
2167
|
depth: ee + 1,
|
|
2168
|
-
label: u.resolveLabel(se.data,
|
|
2168
|
+
label: u.resolveLabel(se.data, Y),
|
|
2169
2169
|
hasChildren: !!(se.children && se.children.length > 0),
|
|
2170
2170
|
disallowed: ae,
|
|
2171
2171
|
reason: re
|
|
@@ -2183,7 +2183,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2183
2183
|
V.value && (n("confirm", V.value.key, b.value), f.value = !1);
|
|
2184
2184
|
}, R = () => {
|
|
2185
2185
|
f.value = !1;
|
|
2186
|
-
}, $ = (A) => `${A * 16}px`,
|
|
2186
|
+
}, $ = (A) => `${A * 16}px`, X = (A) => A === "maxDepth" ? h("common.sortable.changeParent.errorMaxDepth") : "";
|
|
2187
2187
|
return (A, J) => (y(), W(an, {
|
|
2188
2188
|
modelValue: f.value,
|
|
2189
2189
|
"onUpdate:modelValue": J[1] || (J[1] = (L) => f.value = L),
|
|
@@ -2230,7 +2230,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2230
2230
|
disabled: L.disallowed,
|
|
2231
2231
|
active: p.value === L.key,
|
|
2232
2232
|
title: L.label,
|
|
2233
|
-
subtitle:
|
|
2233
|
+
subtitle: X(L.reason),
|
|
2234
2234
|
style: vt({ paddingInlineStart: $(L.depth) }),
|
|
2235
2235
|
"data-disallowed": L.disallowed ? "true" : "false",
|
|
2236
2236
|
"data-reason": L.reason ?? "",
|
|
@@ -2408,7 +2408,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2408
2408
|
positionMultiplier: n.positionMultiplier,
|
|
2409
2409
|
maxDepth: n.maxDepth,
|
|
2410
2410
|
expandedKeys: T
|
|
2411
|
-
}), { captureDirtyBaseline:
|
|
2411
|
+
}), { captureDirtyBaseline: X, rebaselineKey: A, isItemDirty: J, ignoreNextSourceChange: L } = (
|
|
2412
2412
|
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
|
2413
2413
|
qn(
|
|
2414
2414
|
() => {
|
|
@@ -2420,9 +2420,9 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2420
2420
|
},
|
|
2421
2421
|
{ excludeFields: [n.positionField, n.parentField], source: h }
|
|
2422
2422
|
)
|
|
2423
|
-
), E =
|
|
2424
|
-
|
|
2425
|
-
},
|
|
2423
|
+
), E = Yt(null), ee = ce(/* @__PURE__ */ new Set()), se = () => {
|
|
2424
|
+
X(), ee.value = /* @__PURE__ */ new Set();
|
|
2425
|
+
}, Y = (t) => {
|
|
2426
2426
|
const { node: l } = $.findNode(t);
|
|
2427
2427
|
if (!l) {
|
|
2428
2428
|
ee.value.add(t);
|
|
@@ -2538,9 +2538,9 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2538
2538
|
reorderApplyError: (t) => f("reorder-apply-error", t),
|
|
2539
2539
|
reorderEnd: () => f("reorder-end")
|
|
2540
2540
|
}
|
|
2541
|
-
}),
|
|
2541
|
+
}), Xe = g(() => F.value && n.showAddButton && !we.value), Pe = g(() => we.value && !V.value && !n.disableDrag), it = g(
|
|
2542
2542
|
() => n.addLabel ? b(n.addLabel) : b("common.sortable.add")
|
|
2543
|
-
), tt = g(() => n.emptyTitle ?? b("common.sortable.emptyTitle")),
|
|
2543
|
+
), tt = g(() => n.emptyTitle ?? b("common.sortable.emptyTitle")), Ye = g(
|
|
2544
2544
|
() => n.deleteConfirmTitle ?? b("common.sortable.deleteConfirmTitle")
|
|
2545
2545
|
), Rt = g(
|
|
2546
2546
|
() => n.deleteConfirmText ?? b("common.sortable.deleteConfirmText")
|
|
@@ -2612,7 +2612,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2612
2612
|
C("common.sortable.error.maxDeepExceed"), m.value++, Oe(() => at());
|
|
2613
2613
|
return;
|
|
2614
2614
|
}
|
|
2615
|
-
|
|
2615
|
+
Y(l), t.makeChild && t.parentKey !== null && T.value.add(t.parentKey);
|
|
2616
2616
|
}, at = () => {
|
|
2617
2617
|
if (fe(), !Pe.value || !S.value) return;
|
|
2618
2618
|
const t = Array.from(S.value.querySelectorAll("." + wn));
|
|
@@ -2710,7 +2710,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
return { line: ut, connector: ft };
|
|
2712
2712
|
}), rt = () => {
|
|
2713
|
-
|
|
2713
|
+
Xe.value && (Fe(), f("add", void 0));
|
|
2714
2714
|
}, rn = (t) => {
|
|
2715
2715
|
F.value && (Fe(), f("add", { afterId: t.key, childrenAllowed: t.childrenAllowed }));
|
|
2716
2716
|
}, dn = (t) => {
|
|
@@ -2762,21 +2762,21 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2762
2762
|
}, dt = (t) => {
|
|
2763
2763
|
ye(t), f("close", t);
|
|
2764
2764
|
}, Lt = (t) => {
|
|
2765
|
-
$.moveUp(t) &&
|
|
2765
|
+
$.moveUp(t) && Y(t);
|
|
2766
2766
|
}, Mt = (t) => {
|
|
2767
|
-
$.moveDown(t) &&
|
|
2767
|
+
$.moveDown(t) && Y(t);
|
|
2768
2768
|
}, zt = (t) => {
|
|
2769
|
-
$.moveTop(t) &&
|
|
2769
|
+
$.moveTop(t) && Y(t);
|
|
2770
2770
|
}, Nt = (t) => {
|
|
2771
|
-
$.moveBottom(t) &&
|
|
2771
|
+
$.moveBottom(t) && Y(t);
|
|
2772
2772
|
}, Ot = (t) => {
|
|
2773
2773
|
if ($.indent(t.key) === null) {
|
|
2774
2774
|
C("common.sortable.error.maxDeepExceed");
|
|
2775
2775
|
return;
|
|
2776
2776
|
}
|
|
2777
|
-
|
|
2777
|
+
Y(t.key), f("indent", t);
|
|
2778
2778
|
}, Ut = (t) => {
|
|
2779
|
-
$.outdent(t.key) !== null && (
|
|
2779
|
+
$.outdent(t.key) !== null && (Y(t.key), f("outdent", t));
|
|
2780
2780
|
}, jt = (t) => _n(t, { compactField: n.compactField }), { resolveValidation: yn } = Jn({
|
|
2781
2781
|
getValidationState: (t, l, a) => n.getValidationState?.(t, l, a) ?? null
|
|
2782
2782
|
}), ct = /* @__PURE__ */ new Map(), pa = (t) => {
|
|
@@ -2927,7 +2927,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2927
2927
|
l && Kt(l);
|
|
2928
2928
|
},
|
|
2929
2929
|
onCancelReorder: () => We()
|
|
2930
|
-
}), qt = ce(!1), ot =
|
|
2930
|
+
}), qt = ce(!1), ot = Yt(null), Gt = g(() => {
|
|
2931
2931
|
const t = ot.value;
|
|
2932
2932
|
if (!t) return null;
|
|
2933
2933
|
const l = $.findNode(t.key), a = l.parent?.children ?? h.value.children, x = a.findIndex((Z) => Z.data[n.keyField] === t.key);
|
|
@@ -2942,8 +2942,8 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2942
2942
|
n.showMoveToPosition && (ot.value = t, qt.value = !0);
|
|
2943
2943
|
}, xa = (t) => {
|
|
2944
2944
|
const l = Gt.value, a = ot.value;
|
|
2945
|
-
ot.value = null, !(!l || !a) && t !== l.currentIndex && $.moveTo(a.key, l.parentId, t) &&
|
|
2946
|
-
}, Ht = ce(!1), xt =
|
|
2945
|
+
ot.value = null, !(!l || !a) && t !== l.currentIndex && $.moveTo(a.key, l.parentId, t) && Y(a.key);
|
|
2946
|
+
}, Ht = ce(!1), xt = Yt(null), Aa = (t) => {
|
|
2947
2947
|
n.showChangeParent && (xt.value = t, Ht.value = !0);
|
|
2948
2948
|
}, Sa = (t, l) => {
|
|
2949
2949
|
const a = xt.value;
|
|
@@ -2951,7 +2951,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2951
2951
|
let x = 0;
|
|
2952
2952
|
t === null ? x = h.value.children.length : x = $.findNode(t).node?.children?.length ?? 0;
|
|
2953
2953
|
const Z = l === "first" ? 0 : x;
|
|
2954
|
-
$.moveTo(a.key, t, Z) && (
|
|
2954
|
+
$.moveTo(a.key, t, Z) && (Y(a.key), t !== null && T.value.add(t));
|
|
2955
2955
|
}, Pa = g(() => ({
|
|
2956
2956
|
reorderMode: we.value,
|
|
2957
2957
|
readonly: n.readonly,
|
|
@@ -2992,25 +2992,25 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
2992
2992
|
openChangeParent: Aa
|
|
2993
2993
|
}, Da = g(() => P.value.filter((t) => t.parentKey === null)), Ea = (t, l, a) => {
|
|
2994
2994
|
const x = $.addItem(l, { afterId: t ?? void 0, childrenAllowed: a });
|
|
2995
|
-
return Oe(() =>
|
|
2995
|
+
return Oe(() => X()), x;
|
|
2996
2996
|
}, Ta = (t, l, a) => {
|
|
2997
2997
|
T.value.add(t);
|
|
2998
2998
|
const x = $.addItem(l, { parentId: t, asFirstChild: !0, childrenAllowed: a });
|
|
2999
|
-
return Oe(() =>
|
|
2999
|
+
return Oe(() => X()), x;
|
|
3000
3000
|
}, $a = (t) => {
|
|
3001
|
-
$.deleteItem(t), Q.value.delete(t), ue.value.delete(t), j.value.delete(t), T.value.delete(t), Oe(() =>
|
|
3001
|
+
$.deleteItem(t), Q.value.delete(t), ue.value.delete(t), j.value.delete(t), T.value.delete(t), Oe(() => X());
|
|
3002
3002
|
}, Fa = (t, l, a = null, x = null, Z = null) => {
|
|
3003
|
-
$.updateItem(t, l), Oe(() =>
|
|
3003
|
+
$.updateItem(t, l), Oe(() => X());
|
|
3004
3004
|
}, Ba = Ge(e, "unsavedKeys"), Ra = g(() => {
|
|
3005
3005
|
const t = /* @__PURE__ */ new Set();
|
|
3006
3006
|
for (const l of P.value)
|
|
3007
3007
|
l.unsaved && t.add(l.key);
|
|
3008
3008
|
return t;
|
|
3009
|
-
}), { hasUnsavedChanges: Ka, unsavedCount: Va, clearUnsavedState: La } =
|
|
3009
|
+
}), { hasUnsavedChanges: Ka, unsavedCount: Va, clearUnsavedState: La } = Xn({
|
|
3010
3010
|
unsavedKeysModel: Ba,
|
|
3011
3011
|
internalUnsavedKeys: Ra,
|
|
3012
3012
|
onClearAll: () => {
|
|
3013
|
-
|
|
3013
|
+
X(), ee.value = /* @__PURE__ */ new Set();
|
|
3014
3014
|
},
|
|
3015
3015
|
onClearKey: (t) => {
|
|
3016
3016
|
A(t), ee.value.delete(t);
|
|
@@ -3198,10 +3198,10 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
3198
3198
|
disabled: e.disabled,
|
|
3199
3199
|
actions: { add: rt }
|
|
3200
3200
|
}, () => [
|
|
3201
|
-
i(
|
|
3201
|
+
i(Yn, {
|
|
3202
3202
|
title: tt.value,
|
|
3203
3203
|
"add-label": it.value,
|
|
3204
|
-
"can-add":
|
|
3204
|
+
"can-add": Xe.value,
|
|
3205
3205
|
onAdd: rt
|
|
3206
3206
|
}, null, 8, ["title", "add-label", "can-add"])
|
|
3207
3207
|
])
|
|
@@ -3272,7 +3272,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
3272
3272
|
])], 4)
|
|
3273
3273
|
], 64)) : H("", !0)
|
|
3274
3274
|
], 2)),
|
|
3275
|
-
|
|
3275
|
+
Xe.value && !e.loading && !e.error && !c.value ? z(t.$slots, "add-button", {
|
|
3276
3276
|
key: 5,
|
|
3277
3277
|
readonly: e.readonly,
|
|
3278
3278
|
disabled: e.disabled,
|
|
@@ -3314,7 +3314,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
3314
3314
|
i(Zn, {
|
|
3315
3315
|
modelValue: d(Vt),
|
|
3316
3316
|
"onUpdate:modelValue": l[2] || (l[2] = (a) => aa(Vt) ? Vt.value = a : null),
|
|
3317
|
-
title:
|
|
3317
|
+
title: Ye.value,
|
|
3318
3318
|
text: Rt.value,
|
|
3319
3319
|
"confirm-label": d(b)("common.sortable.delete"),
|
|
3320
3320
|
"cancel-label": d(b)("common.button.cancel"),
|
|
@@ -3329,7 +3329,7 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
3329
3329
|
}) : ""), 1)
|
|
3330
3330
|
], 2));
|
|
3331
3331
|
}
|
|
3332
|
-
}), Wl = { class: "a-unsaved-sections" },
|
|
3332
|
+
}), Wl = { class: "a-unsaved-sections" }, Xl = /* @__PURE__ */ He({
|
|
3333
3333
|
__name: "AUnsavedConfirmDialog",
|
|
3334
3334
|
props: /* @__PURE__ */ Le({
|
|
3335
3335
|
title: { default: void 0 },
|
|
@@ -3411,8 +3411,8 @@ const Bt = (e, w) => e.find((u) => u.key === w) ?? null, ra = (e, w, u) => {
|
|
|
3411
3411
|
_: 1
|
|
3412
3412
|
}, 8, ["modelValue"]));
|
|
3413
3413
|
}
|
|
3414
|
-
}), Ei = /* @__PURE__ */ ea(
|
|
3415
|
-
function
|
|
3414
|
+
}), Ei = /* @__PURE__ */ ea(Xl, [["__scopeId", "data-v-8342a164"]]), ca = /* @__PURE__ */ Symbol("unsaved.sections");
|
|
3415
|
+
function Yl() {
|
|
3416
3416
|
const e = po(/* @__PURE__ */ new Map()), w = g(() => {
|
|
3417
3417
|
const u = [];
|
|
3418
3418
|
for (const n of e.values())
|
|
@@ -3431,7 +3431,7 @@ function Xl() {
|
|
|
3431
3431
|
};
|
|
3432
3432
|
}
|
|
3433
3433
|
function Ql() {
|
|
3434
|
-
const e =
|
|
3434
|
+
const e = Yl();
|
|
3435
3435
|
return en() && ta(ca, e), e;
|
|
3436
3436
|
}
|
|
3437
3437
|
function Ti(e) {
|
|
@@ -3522,43 +3522,44 @@ export {
|
|
|
3522
3522
|
ji as AFilterWrapper,
|
|
3523
3523
|
qi as AFilterWrapperSubjectSelect,
|
|
3524
3524
|
Gi as AFormRemoteAutocomplete,
|
|
3525
|
+
Hi as AFormRemoteAutocompleteWithCached,
|
|
3525
3526
|
Ii as AListEditor,
|
|
3526
3527
|
Di as ANestedSortableListEditor,
|
|
3527
|
-
|
|
3528
|
+
Ji as ASortableListEditor,
|
|
3528
3529
|
Pi as ASubjectSelect,
|
|
3529
3530
|
Ei as AUnsavedConfirmDialog,
|
|
3530
3531
|
Sn as DatatablePaginationKey,
|
|
3531
|
-
|
|
3532
|
-
|
|
3532
|
+
Wi as FilterConfigKey,
|
|
3533
|
+
Xi as FilterDataKey,
|
|
3533
3534
|
Yi as FilterInnerConfigKey,
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3535
|
+
Qi as FilterInnerDataKey,
|
|
3536
|
+
Zi as ListEditorValidationKey,
|
|
3537
|
+
_i as SharedReorderRegistryKey,
|
|
3538
|
+
es as TimeIntervalSpecialOptions,
|
|
3539
|
+
ts as UserAdminConfigLayoutType,
|
|
3540
|
+
ns as UserAdminConfigLayoutTypeDefault,
|
|
3541
|
+
as as UserAdminConfigType,
|
|
3542
|
+
os as UserAdminConfigTypeDefault,
|
|
3542
3543
|
Vo as createDatatableColumnsConfig,
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3544
|
+
ls as createFilter,
|
|
3545
|
+
is as createFilterStore,
|
|
3546
|
+
Xt as generateListQuery,
|
|
3546
3547
|
Ci as useApiFetchByIds,
|
|
3547
3548
|
Ja as useApiFetchList,
|
|
3548
3549
|
xi as useApiFetchListBatch,
|
|
3549
3550
|
Na as useApiQueryBuilder,
|
|
3550
|
-
|
|
3551
|
+
ss as useApiRequest,
|
|
3551
3552
|
eo as useFilterHelpers,
|
|
3552
3553
|
Ai as useJobApi,
|
|
3553
3554
|
ao as useListEditor,
|
|
3554
|
-
|
|
3555
|
+
rs as useListEditorItemValidation,
|
|
3555
3556
|
yl as useNestedListEditor,
|
|
3556
3557
|
Fi as useNestedUnsavedKeys,
|
|
3557
3558
|
Un as usePagination,
|
|
3558
3559
|
Si as useSubjectSelect,
|
|
3559
3560
|
$i as useUnsavedChangesGuard,
|
|
3560
3561
|
Ti as useUnsavedSection,
|
|
3561
|
-
|
|
3562
|
-
|
|
3562
|
+
ds as useUserAdminConfigApi,
|
|
3563
|
+
cs as useUserAdminConfigFactory
|
|
3563
3564
|
};
|
|
3564
3565
|
//# sourceMappingURL=labs.js.map
|