@anzusystems/common-admin 1.47.0-beta.dev-1784059865 → 1.47.0-beta.dev-1784059866

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/labs.js CHANGED
@@ -1,28 +1,28 @@
1
1
  import { aG as Oo, aH as Uo, d as fe, bT as jo, bU as qo, au as Go, bV as Da, j as Ve, k as Ho, a1 as Wo, h as ht, i as Kt, aj as Ia, ak as Ta, al as Fa, am as Ba, ag as Lt, a_ as Ra, aa as Ka, ab as La, ac as Va, ad as za, an as Ma, ao as Na, ae as Oa, af as Ua, bW as ja, bX as qa, be as Ga, bY as Jo, as as Ha, bZ as ta, ap as Xo, aq as Yo, aV as Qo, b2 as Zo, ar as _o, E as en, a8 as tn, a2 as an, b_ as on, q as nn, p as ln, x as sn, a7 as rn, aI as dn, m as Wa, b$ as cn, l as un, c0 as fn, c1 as mn, c2 as Ja, c3 as Xa, c4 as Ya, c5 as Qa, c6 as Za, c7 as _a, c8 as eo, c9 as to, ca as ao, cb as oo, cc as no, cd as vn, _ as lo, ce as yn, cf as hn, cg as pn, ch as gn, ci as bn, cj as kn, ck as wn, g as Cn, aU as xn, cl as Sn, cm as An, cn as En, z as Pn, co as $n, cp as Dn } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BbBijPbh.mjs";
2
- import { aE as Xi, cq as Yi, cr as Qi, aA as Zi, aB as _i, aD as es, aF as ts, aC as as, aS as os, aJ as ns, bb as ls, aO as is, aX as ss, ay as rs, az as ds, cs, ct as us, cu as fs, cv as ms, cw as vs, cx as ys, cy as hs, cz as ps, ai as gs, ah as bs, cA as ks, cB as ws, cC as Cs, cD as xs, cE as Ss, cF as As, cG as Es, cH as Ps } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BbBijPbh.mjs";
3
- import { defineComponent as ze, inject as Vt, provide as oa, ref as _, openBlock as g, createBlock as U, withModifiers as J, withCtx as r, renderSlot as L, useModel as it, computed as b, watch as ue, createElementBlock as B, createElementVNode as K, toDisplayString as $, unref as c, createVNode as s, createTextVNode as N, Fragment as ne, renderList as Ze, normalizeClass as we, mergeModels as Te, createCommentVNode as M, onMounted as la, toRaw as wa, resolveComponent as Ca, mergeProps as Q, withDirectives as In, vShow as Tn, useSlots as io, useTemplateRef as zt, isRef as so, normalizeProps as De, guardReactiveProps as Ie, normalizeStyle as pt, shallowRef as aa, nextTick as Le, onBeforeUnmount as na, getCurrentInstance as xa } from "vue";
4
- import { VForm as Fn } from "vuetify/components/VForm";
2
+ import { aE as Yi, cq as Qi, cr as Zi, aA as _i, aB as es, aD as ts, aF as as, aC as os, aS as ns, aJ as ls, bb as is, aO as ss, aX as rs, ay as ds, az as cs, cs as us, ct as fs, cu as ms, cv as vs, cw as ys, cx as hs, cy as ps, cz as gs, ai as bs, ah as ks, cA as ws, cB as Cs, cC as xs, cD as Ss, cE as As, cF as Es, cG as Ps, cH as $s } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BbBijPbh.mjs";
3
+ import { defineComponent as ze, inject as Vt, provide as oa, ref as _, openBlock as g, createBlock as U, withKeys as In, withModifiers as J, withCtx as r, renderSlot as L, useModel as it, computed as b, watch as ue, createElementBlock as B, createElementVNode as K, toDisplayString as $, unref as c, createVNode as s, createTextVNode as N, Fragment as ne, renderList as Ze, normalizeClass as we, mergeModels as Te, createCommentVNode as M, onMounted as la, toRaw as wa, resolveComponent as Ca, mergeProps as Q, withDirectives as Tn, vShow as Fn, useSlots as io, useTemplateRef as zt, isRef as so, normalizeProps as De, guardReactiveProps as Ie, normalizeStyle as pt, shallowRef as aa, nextTick as Le, onBeforeUnmount as na, getCurrentInstance as xa } from "vue";
4
+ import { VForm as Bn } from "vuetify/components/VForm";
5
5
  import { useI18n as je } from "vue-i18n";
6
6
  import { VBtn as q } from "vuetify/components/VBtn";
7
7
  import { VList as gt, VListItem as xe, VListItemTitle as Pe } from "vuetify/components/VList";
8
8
  import { VMenu as Mt } from "vuetify/components/VMenu";
9
- import { useThrottleFn as It, useDebounceFn as Bn } from "@vueuse/core";
10
- import { VBtnToggle as Rn } from "vuetify/components/VBtnToggle";
9
+ import { useThrottleFn as It, useDebounceFn as Rn } from "@vueuse/core";
10
+ import { VBtnToggle as Kn } from "vuetify/components/VBtnToggle";
11
11
  import ro from "axios";
12
12
  import { useDisplay as co } from "vuetify";
13
13
  import { VCard as ia, VCardTitle as uo, VCardText as Rt, VCardActions as fo } from "vuetify/components/VCard";
14
14
  import { VDialog as sa } from "vuetify/components/VDialog";
15
15
  import { VSpacer as ra } from "vuetify/components/VGrid";
16
16
  import { VIcon as W } from "vuetify/components/VIcon";
17
- import { VToolbar as Kn } from "vuetify/components/VToolbar";
17
+ import { VToolbar as Ln } from "vuetify/components/VToolbar";
18
18
  import { VTooltip as Se } from "vuetify/components/VTooltip";
19
- import { Intersect as Ln } from "vuetify/directives";
19
+ import { Intersect as Vn } from "vuetify/directives";
20
20
  import { VAlert as da } from "vuetify/components/VAlert";
21
21
  import { VProgressCircular as mo } from "vuetify/components/VProgressCircular";
22
22
  import { VRadio as Sa } from "vuetify/components/VRadio";
23
- import { VRadioGroup as Vn } from "vuetify/components/VRadioGroup";
24
- import { onBeforeRouteLeave as zn } from "vue-router";
25
- const Bi = /* @__PURE__ */ ze({
23
+ import { VRadioGroup as zn } from "vuetify/components/VRadioGroup";
24
+ import { onBeforeRouteLeave as Mn } from "vue-router";
25
+ const Ri = /* @__PURE__ */ ze({
26
26
  __name: "AFilterWrapperSidebar",
27
27
  props: {
28
28
  formName: { default: "search" }
@@ -40,9 +40,10 @@ const Bi = /* @__PURE__ */ ze({
40
40
  };
41
41
  return C({ resetFilter: () => {
42
42
  x(h, m), k(h, m, y);
43
- } }), (I, R) => (g(), U(Fn, {
43
+ } }), (I, R) => (g(), U(Bn, {
44
44
  name: t.formName,
45
- onSubmit: J(p, ["prevent"])
45
+ onSubmit: J(p, ["prevent"]),
46
+ onKeyup: In(p, ["enter"])
46
47
  }, {
47
48
  default: r(() => [
48
49
  L(I.$slots, "default")
@@ -50,7 +51,7 @@ const Bi = /* @__PURE__ */ ze({
50
51
  _: 3
51
52
  }, 8, ["name"]));
52
53
  }
53
- }), Mn = { class: "d-flex align-center justify-center" }, Nn = { class: "text-body-small mr-1" }, Ri = /* @__PURE__ */ ze({
54
+ }), Nn = { class: "d-flex align-center justify-center" }, On = { class: "text-body-small mr-1" }, Ki = /* @__PURE__ */ ze({
54
55
  __name: "ADatatableOrdering",
55
56
  props: /* @__PURE__ */ Te({
56
57
  variant: { default: "id" },
@@ -136,8 +137,8 @@ const Bi = /* @__PURE__ */ ze({
136
137
  fe(z) || (m.value = z.id);
137
138
  },
138
139
  { immediate: !0 }
139
- ), (v, T) => (g(), B("div", Mn, [
140
- K("div", Nn, $(c(y)("common.system.datatable.ordering.title")) + ": ", 1),
140
+ ), (v, T) => (g(), B("div", Nn, [
141
+ K("div", On, $(c(y)("common.system.datatable.ordering.title")) + ": ", 1),
141
142
  s(q, {
142
143
  variant: "text",
143
144
  rounded: "xl",
@@ -185,10 +186,10 @@ const Bi = /* @__PURE__ */ ze({
185
186
  })
186
187
  ]));
187
188
  }
188
- }), On = { class: "anzu-data-footer" }, Un = {
189
+ }), Un = { class: "anzu-data-footer" }, jn = {
189
190
  key: 0,
190
191
  class: "anzu-data-footer__page-limit"
191
- }, jn = { class: "anzu-data-footer__pagination" }, qn = { class: "anzu-data-footer__icons-before" }, Gn = { class: "current-page" }, Hn = { class: "anzu-data-footer__icons-after" }, Wn = /* @__PURE__ */ ze({
192
+ }, qn = { class: "anzu-data-footer__pagination" }, Gn = { class: "anzu-data-footer__icons-before" }, Hn = { class: "current-page" }, Wn = { class: "anzu-data-footer__icons-after" }, Jn = /* @__PURE__ */ ze({
192
193
  __name: "ADatatablePagination",
193
194
  props: {
194
195
  itemsPerPageOptions: { default: () => [10, 25, 50] },
@@ -220,10 +221,10 @@ const Bi = /* @__PURE__ */ ze({
220
221
  }, 300), z = It(() => {
221
222
  a.value.page = a.value.page + 1;
222
223
  }, 300);
223
- return (F, O) => (g(), B("div", On, [
224
- t.hideRecordsPerPage ? M("", !0) : (g(), B("div", Un, [
224
+ return (F, O) => (g(), B("div", Un, [
225
+ t.hideRecordsPerPage ? M("", !0) : (g(), B("div", jn, [
225
226
  N($(c(m)("common.system.datatable.itemsPerPage")) + ": ", 1),
226
- s(Rn, {
227
+ s(Kn, {
227
228
  modelValue: c(a).rowsPerPage,
228
229
  "onUpdate:modelValue": O[0] || (O[0] = (E) => c(a).rowsPerPage = E),
229
230
  class: "ml-2",
@@ -249,8 +250,8 @@ const Bi = /* @__PURE__ */ ze({
249
250
  _: 1
250
251
  }, 8, ["modelValue"])
251
252
  ])),
252
- K("div", jn, $(x.value) + " - " + $(k.value) + " " + $(c(m)("common.system.datatable.from")) + " " + $(R.value), 1),
253
- K("div", qn, [
253
+ K("div", qn, $(x.value) + " - " + $(k.value) + " " + $(c(m)("common.system.datatable.from")) + " " + $(R.value), 1),
254
+ K("div", Gn, [
254
255
  s(q, {
255
256
  disabled: p.value,
256
257
  icon: "mdi-page-first",
@@ -266,10 +267,10 @@ const Bi = /* @__PURE__ */ ze({
266
267
  onClick: J(c(T), ["stop"])
267
268
  }, null, 8, ["disabled", "onClick"])
268
269
  ]),
269
- K("div", Gn, [
270
+ K("div", Hn, [
270
271
  K("span", null, $(c(a).page), 1)
271
272
  ]),
272
- K("div", Hn, [
273
+ K("div", Wn, [
273
274
  s(q, {
274
275
  disabled: I.value,
275
276
  icon: "mdi-chevron-right",
@@ -287,10 +288,10 @@ const Bi = /* @__PURE__ */ ze({
287
288
  ])
288
289
  ]));
289
290
  }
290
- }), Jn = (t, C, u = "id") => {
291
+ }), Xn = (t, C, u = "id") => {
291
292
  const { querySetLimit: a, querySetOffset: m, querySetOrder: h, queryBuild: y, queryAddFilter: x, queryAdd: k } = Jo(), p = t.length;
292
293
  return a(p), m(1, p), h(u, !1), C ? k(u, t.join(",")) : x("in", u, t.join(",")), y();
293
- }, Ki = (t) => {
294
+ }, Li = (t) => {
294
295
  const {
295
296
  client: C,
296
297
  system: u,
@@ -310,7 +311,7 @@ const Bi = /* @__PURE__ */ ze({
310
311
  try {
311
312
  const F = Kt(z) ? z : h, O = Kt(T) ? T : m;
312
313
  if (fe(O)) throw new Error("Url template is undefined");
313
- const E = (fe(F) ? O : Ia(O, F)) + Jn(S, x, k), d = await C().get(E, {
314
+ const E = (fe(F) ? O : Ia(O, F)) + Xn(S, x, k), d = await C().get(E, {
314
315
  ...y,
315
316
  signal: P.signal
316
317
  });
@@ -333,7 +334,7 @@ const Bi = /* @__PURE__ */ ze({
333
334
  P && P.abort();
334
335
  }
335
336
  };
336
- }, Li = (t) => {
337
+ }, Vi = (t) => {
337
338
  const {
338
339
  client: C,
339
340
  system: u,
@@ -418,7 +419,7 @@ const Bi = /* @__PURE__ */ ze({
418
419
  }
419
420
  };
420
421
  }, Tt = "/adm/v1/job", Ft = "job";
421
- function Vi(t, C) {
422
+ function zi(t, C) {
422
423
  return {
423
424
  useFetchJobList: () => tn({ client: t, system: C, entity: Ft, urlTemplate: Tt }),
424
425
  fetchJob: (y) => en(t, Tt + "/:id", { id: y }, C, Ft),
@@ -429,23 +430,23 @@ function Vi(t, C) {
429
430
  deleteJob: (y) => Qo(t, Tt + "/:id", { id: y }, C, Ft)
430
431
  };
431
432
  }
432
- const Xn = {
433
+ const Yn = {
433
434
  key: "",
434
435
  title: void 0,
435
436
  sortable: !1,
436
437
  fixed: !1
437
- }, Yn = {
438
+ }, Qn = {
438
439
  storeColumnsLocalStorage: !0,
439
440
  disableActions: !1,
440
441
  customI18n: void 0,
441
442
  showExpand: !1
442
443
  };
443
- function Qn(t, C, u, a, m = {}) {
444
- const h = { ...Yn, ...m }, y = h.customI18n ?? an, { t: x } = y.global || y;
444
+ function Zn(t, C, u, a, m = {}) {
445
+ const h = { ...Qn, ...m }, y = h.customI18n ?? an, { t: x } = y.global || y;
445
446
  let k;
446
447
  sn(h.storeColumnsLocalStorage) ? k = h.storeColumnsLocalStorage : rn(h.storeColumnsLocalStorage) && h.storeColumnsLocalStorage === !0 && (k = "table_" + u + "_" + a);
447
448
  const p = t.map((S) => {
448
- const v = { ...Xn, ...S };
449
+ const v = { ...Yn, ...S };
449
450
  return fe(v.title) && (fe(v.title) && on.includes(v.key) ? v.title = x("common.model.tracking." + v.key) : fe(v.title) && u && a ? v.title = x(u + "." + a + ".model." + v.key) : v.title = ""), v;
450
451
  }), P = b(() => {
451
452
  const S = [];
@@ -471,14 +472,14 @@ function Qn(t, C, u, a, m = {}) {
471
472
  columnsHidden: C
472
473
  };
473
474
  }
474
- function zi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
475
+ function Mi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
475
476
  const P = _(!1), I = _([]), R = _([]), S = _(!1), { pagination: v, setSortBy: T, incrementPage: z } = Ha(
476
477
  ht(x) ? null : x.key,
477
478
  x?.order
478
479
  ), { resetFilter: F, submitFilter: O } = dn(h, y, {
479
480
  storeFiltersLocalStorage: !1,
480
481
  populateUrlParams: !1
481
- }), { showErrorsDefault: E } = Wa(), { columnsVisible: d, columnsAll: D, columnsHidden: w } = Qn(
482
+ }), { showErrorsDefault: E } = Wa(), { columnsVisible: d, columnsAll: D, columnsHidden: w } = Zn(
482
483
  t,
483
484
  C,
484
485
  u,
@@ -514,7 +515,7 @@ function zi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
514
515
  } finally {
515
516
  S.value = !1;
516
517
  }
517
- }, Y = Bn(async () => {
518
+ }, Y = Rn(async () => {
518
519
  await H();
519
520
  });
520
521
  return {
@@ -545,10 +546,10 @@ function zi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
545
546
  submitFilter: () => O(v, Y)
546
547
  };
547
548
  }
548
- const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class: "d-flex justify-space-between w-100 align-center" }, el = { class: "d-flex align-center" }, tl = { class: "d-flex align-center" }, al = { class: "subject-select__sidebar system-border-r" }, ol = { class: "subject-select-filter" }, nl = { class: "subject-select__content" }, ll = {
549
+ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class: "d-flex justify-space-between w-100 align-center" }, tl = { class: "d-flex align-center" }, al = { class: "d-flex align-center" }, ol = { class: "subject-select__sidebar system-border-r" }, nl = { class: "subject-select-filter" }, ll = { class: "subject-select__content" }, il = {
549
550
  key: 0,
550
551
  class: "d-flex w-100 align-center justify-center pa-4"
551
- }, il = { class: "subject-select__actions system-border-t" }, sl = { key: 0 }, rl = { key: 1 }, Mi = /* @__PURE__ */ ze({
552
+ }, sl = { class: "subject-select__actions system-border-t" }, rl = { key: 0 }, dl = { key: 1 }, Ni = /* @__PURE__ */ ze({
552
553
  __name: "ASubjectSelect",
553
554
  props: {
554
555
  selectedItems: {},
@@ -631,7 +632,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
631
632
  ]),
632
633
  _: 3
633
634
  }),
634
- s(Kn, {
635
+ s(Ln, {
635
636
  density: "compact",
636
637
  color: "transparent",
637
638
  height: 46,
@@ -640,9 +641,9 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
640
641
  }, {
641
642
  default: r(() => [
642
643
  L(i.$slots, "second-bar", {}, () => [
643
- K("div", Zn, [
644
- K("div", _n, [
645
- K("div", el, [
644
+ K("div", _n, [
645
+ K("div", el, [
646
+ K("div", tl, [
646
647
  s(q, {
647
648
  icon: "",
648
649
  width: 30,
@@ -668,7 +669,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
668
669
  }),
669
670
  L(i.$slots, "second-bar-left")
670
671
  ]),
671
- K("div", tl, [
672
+ K("div", al, [
672
673
  L(i.$slots, "second-bar-right")
673
674
  ])
674
675
  ])
@@ -680,15 +681,15 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
680
681
  K("div", {
681
682
  class: we(["subject-select__main", { "subject-select__main--sidebar-active": p.value }])
682
683
  }, [
683
- K("div", al, [
684
- K("div", ol, [
684
+ K("div", ol, [
685
+ K("div", nl, [
685
686
  L(i.$slots, "filter")
686
687
  ])
687
688
  ]),
688
- K("div", nl, [
689
+ K("div", ll, [
689
690
  L(i.$slots, "content"),
690
- t.paginationMode === "more" ? (g(), B("div", ll, [
691
- In((g(), U(X, {
691
+ t.paginationMode === "more" ? (g(), B("div", il, [
692
+ Tn((g(), U(X, {
692
693
  loading: t.loading,
693
694
  size: "small",
694
695
  onClick: O
@@ -700,15 +701,15 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
700
701
  ]),
701
702
  _: 3
702
703
  }, 8, ["loading"])), [
703
- [Tn, D.value || t.loading],
704
+ [Fn, D.value || t.loading],
704
705
  [
705
- Ln,
706
+ Vn,
706
707
  w,
707
708
  void 0,
708
709
  { quiet: !0 }
709
710
  ]
710
711
  ])
711
- ])) : (g(), U(Wn, {
712
+ ])) : (g(), U(Jn, {
712
713
  key: 1,
713
714
  modelValue: x.value,
714
715
  "onUpdate:modelValue": G[0] || (G[0] = (H) => x.value = H),
@@ -716,11 +717,11 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
716
717
  }, null, 8, ["modelValue"]))
717
718
  ])
718
719
  ], 2),
719
- K("div", il, [
720
- t.minCount === t.maxCount ? (g(), B("div", sl, $(c(I)("common.subjectSelect.texts.pickExactCount", {
720
+ K("div", sl, [
721
+ t.minCount === t.maxCount ? (g(), B("div", rl, $(c(I)("common.subjectSelect.texts.pickExactCount", {
721
722
  count: t.minCount,
722
723
  selected: R.value
723
- })), 1)) : (g(), B("div", rl, $(c(I)("common.subjectSelect.texts.pickRangeCount", {
724
+ })), 1)) : (g(), B("div", dl, $(c(I)("common.subjectSelect.texts.pickRangeCount", {
724
725
  minCount: t.minCount,
725
726
  maxCount: t.maxCount,
726
727
  selected: R.value
@@ -747,38 +748,38 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
747
748
  ], 64);
748
749
  };
749
750
  }
750
- }), dl = {
751
+ }), cl = {
751
752
  key: 0,
752
753
  class: "a-le-header"
753
- }, cl = {
754
+ }, ul = {
754
755
  key: 0,
755
756
  class: "a-le-title-heading"
756
- }, ul = ["data-unsaved-count"], fl = {
757
+ }, fl = ["data-unsaved-count"], ml = {
757
758
  key: 1,
758
759
  class: "a-le-state a-le-state--loading"
759
- }, ml = {
760
+ }, vl = {
760
761
  key: 2,
761
762
  class: "a-le-state a-le-state--error"
762
- }, vl = {
763
+ }, yl = {
763
764
  key: 3,
764
765
  class: "a-le-state a-le-state--empty"
765
- }, yl = ["data-id", "tabindex", "onKeydown"], hl = ["onClick"], pl = { class: "a-le-row-main" }, gl = { class: "a-le-title" }, bl = {
766
+ }, hl = ["data-id", "tabindex", "onKeydown"], pl = ["onClick"], gl = { class: "a-le-row-main" }, bl = { class: "a-le-title" }, kl = {
766
767
  key: 0,
767
768
  class: "a-le-status"
768
- }, kl = {
769
+ }, wl = {
769
770
  key: 0,
770
771
  class: "a-le-status-badge"
771
- }, wl = { class: "a-le-actions" }, Cl = { class: "a-le-row-body" }, xl = { class: "a-le-form" }, Sl = {
772
+ }, Cl = { class: "a-le-actions" }, xl = { class: "a-le-row-body" }, Sl = { class: "a-le-form" }, Al = {
772
773
  key: 0,
773
774
  class: "a-le-row-footer"
774
- }, Al = {
775
+ }, El = {
775
776
  key: 1,
776
777
  class: "a-le-row-body"
777
- }, El = { class: "a-le-form" }, Pl = {
778
+ }, Pl = { class: "a-le-form" }, $l = {
778
779
  class: "a-le-sr-only",
779
780
  "aria-live": "polite",
780
781
  role: "status"
781
- }, Ni = /* @__PURE__ */ ze({
782
+ }, Oi = /* @__PURE__ */ ze({
782
783
  __name: "AListEditor",
783
784
  props: /* @__PURE__ */ Te({
784
785
  factory: { type: Function, default: void 0 },
@@ -1075,23 +1076,23 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1075
1076
  ref: i,
1076
1077
  class: "a-le-card"
1077
1078
  }, [
1078
- Ot.value ? (g(), B("div", dl, [
1079
+ Ot.value ? (g(), B("div", cl, [
1079
1080
  L(o.$slots, "header", { title: t.title }, () => [
1080
- t.title ? (g(), B("h3", cl, $(t.title), 1)) : M("", !0)
1081
+ t.title ? (g(), B("h3", ul, $(t.title), 1)) : M("", !0)
1081
1082
  ]),
1082
1083
  kt.value ? (g(), B("span", {
1083
1084
  key: 0,
1084
1085
  class: "a-le-unsaved-count",
1085
1086
  "data-unsaved-count": c(_e)
1086
- }, $(c(y)("common.sortable.pendingChanges", { count: c(_e) })), 9, ul)) : M("", !0)
1087
+ }, $(c(y)("common.sortable.pendingChanges", { count: c(_e) })), 9, fl)) : M("", !0)
1087
1088
  ])) : M("", !0),
1088
- t.loading ? (g(), B("div", fl, [
1089
+ t.loading ? (g(), B("div", ml, [
1089
1090
  s(mo, {
1090
1091
  indeterminate: "",
1091
1092
  color: "primary",
1092
1093
  size: "32"
1093
1094
  })
1094
- ])) : t.error ? (g(), B("div", ml, [
1095
+ ])) : t.error ? (g(), B("div", vl, [
1095
1096
  s(da, {
1096
1097
  type: "error",
1097
1098
  variant: "tonal",
@@ -1103,7 +1104,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1103
1104
  ]),
1104
1105
  _: 1
1105
1106
  })
1106
- ])) : st.value ? (g(), B("div", vl, [
1107
+ ])) : st.value ? (g(), B("div", yl, [
1107
1108
  L(o.$slots, "empty", {
1108
1109
  readonly: t.readonly,
1109
1110
  disabled: t.disabled,
@@ -1139,21 +1140,21 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1139
1140
  class: "a-le-row-header",
1140
1141
  onClick: (oe) => he(f)
1141
1142
  }, [
1142
- K("div", pl, [
1143
+ K("div", gl, [
1143
1144
  L(o.$slots, "item-compact", Q({ ref_for: !0 }, Ee(f)), () => [
1144
- K("span", gl, $(Ut(f.raw)), 1)
1145
+ K("span", bl, $(Ut(f.raw)), 1)
1145
1146
  ]),
1146
1147
  f.unsaved ? (g(), U(to, {
1147
1148
  key: 0,
1148
1149
  "dot-only": t.chips
1149
1150
  }, null, 8, ["dot-only"])) : M("", !0)
1150
1151
  ]),
1151
- t.chips ? M("", !0) : (g(), B("div", bl, [
1152
+ t.chips ? M("", !0) : (g(), B("div", kl, [
1152
1153
  L(o.$slots, "item-status", Q({ ref_for: !0 }, Ee(f)), () => [
1153
- t.statusField && f.raw[t.statusField] != null && f.raw[t.statusField] !== "" ? (g(), B("span", kl, $(f.raw[t.statusField]), 1)) : M("", !0)
1154
+ t.statusField && f.raw[t.statusField] != null && f.raw[t.statusField] !== "" ? (g(), B("span", wl, $(f.raw[t.statusField]), 1)) : M("", !0)
1154
1155
  ])
1155
1156
  ])),
1156
- K("div", wl, [
1157
+ K("div", Cl, [
1157
1158
  L(o.$slots, "item-actions", Q({ ref_for: !0 }, Ee(f)), () => [
1158
1159
  t.chips && t.showDeleteButton && le.value ? (g(), U(q, {
1159
1160
  key: 0,
@@ -1269,15 +1270,15 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1269
1270
  ], 64))
1270
1271
  ])
1271
1272
  ])
1272
- ], 8, hl),
1273
+ ], 8, pl),
1273
1274
  (f.editing || t.defaultExpanded) && o.$slots.item ? (g(), B(ne, { key: 0 }, [
1274
- K("div", Cl, [
1275
- K("div", xl, [
1275
+ K("div", xl, [
1276
+ K("div", Sl, [
1276
1277
  L(o.$slots, "item", Q({ ref_for: !0 }, Ee(f)))
1277
1278
  ])
1278
1279
  ]),
1279
1280
  L(o.$slots, "item-footer", Q({ ref_for: !0 }, Ee(f)), () => [
1280
- Ne.value && !t.defaultExpanded ? (g(), B("div", Sl, [
1281
+ Ne.value && !t.defaultExpanded ? (g(), B("div", Al, [
1281
1282
  V[1] || (V[1] = K("div", { class: "a-le-row-footer-spacer" }, null, -1)),
1282
1283
  s(q, {
1283
1284
  variant: "text",
@@ -1303,12 +1304,12 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1303
1304
  }, 8, ["disabled", "onClick"])
1304
1305
  ])) : M("", !0)
1305
1306
  ])
1306
- ], 64)) : o.$slots["item-readonly"] && (t.readonly || f.expanded) ? (g(), B("div", Al, [
1307
- K("div", El, [
1307
+ ], 64)) : o.$slots["item-readonly"] && (t.readonly || f.expanded) ? (g(), B("div", El, [
1308
+ K("div", Pl, [
1308
1309
  L(o.$slots, "item-readonly", Q({ ref_for: !0 }, Ee(f)))
1309
1310
  ])
1310
1311
  ])) : M("", !0)
1311
- ], 42, yl),
1312
+ ], 42, hl),
1312
1313
  L(o.$slots, "after-item", Q({ ref_for: !0 }, Ee(f)))
1313
1314
  ]))), 128)),
1314
1315
  Me.value && !t.loading && !t.error && !st.value ? L(o.$slots, "add-button", {
@@ -1342,7 +1343,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1342
1343
  onConfirm: c(et),
1343
1344
  onCancel: c(ct)
1344
1345
  }, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
1345
- K("div", Pl, $(c(He).grabbedKey.value !== null ? c(y)("common.sortable.keyboardGrab.status", {
1346
+ K("div", $l, $(c(He).grabbedKey.value !== null ? c(y)("common.sortable.keyboardGrab.status", {
1346
1347
  n: c(He).grabbedIndex.value + 1,
1347
1348
  total: c(He).totalCount.value
1348
1349
  }) : ""), 1)
@@ -1355,20 +1356,20 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1355
1356
  a = Nt(t, a.parentKey);
1356
1357
  }
1357
1358
  return !1;
1358
- }, $l = (t, C, u) => {
1359
+ }, Dl = (t, C, u) => {
1359
1360
  let a = Nt(t, C);
1360
1361
  for (; a && a.depth > u; ) {
1361
1362
  if (a.parentKey === null) return null;
1362
1363
  a = Nt(t, a.parentKey);
1363
1364
  }
1364
1365
  return a && a.depth === u ? a : null;
1365
- }, Dl = (t, C, u) => u === C || vo(t, C, u), Bt = (t, C, u, a) => {
1366
+ }, Il = (t, C, u) => u === C || vo(t, C, u), Bt = (t, C, u, a) => {
1366
1367
  for (let m = C; m >= 0 && m < t.length; m += u) {
1367
1368
  const h = t[m];
1368
- if (!Dl(t, a, h.key)) return h;
1369
+ if (!Il(t, a, h.key)) return h;
1369
1370
  }
1370
1371
  return null;
1371
- }, Il = (t) => {
1372
+ }, Tl = (t) => {
1372
1373
  const {
1373
1374
  pointer: C,
1374
1375
  hoveredRow: u,
@@ -1417,7 +1418,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1417
1418
  levelRowKey: T.key
1418
1419
  };
1419
1420
  else {
1420
- const i = $l(h, T.key, D);
1421
+ const i = Dl(h, T.key, D);
1421
1422
  i ? w = {
1422
1423
  type: "insert",
1423
1424
  refKey: u.key,
@@ -1439,27 +1440,27 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1439
1440
  };
1440
1441
  }
1441
1442
  return w.depth + m - 1 >= y ? { type: "blocked", desired: w, reason: "maxDepth" } : w;
1442
- }, Tl = ["data-id", "aria-level", "tabindex"], Fl = ["aria-label"], Bl = {
1443
+ }, Fl = ["data-id", "aria-level", "tabindex"], Bl = ["aria-label"], Rl = {
1443
1444
  key: 2,
1444
1445
  class: "a-nested-list-editor__tree-toggle a-nested-list-editor__tree-toggle--spacer",
1445
1446
  "aria-hidden": "true"
1446
- }, Rl = { class: "a-le-row-main" }, Kl = { class: "a-le-title" }, Ll = {
1447
+ }, Kl = { class: "a-le-row-main" }, Ll = { class: "a-le-title" }, Vl = {
1447
1448
  key: 0,
1448
1449
  class: "a-nested-list-editor__drag-count",
1449
1450
  "aria-hidden": "true"
1450
- }, Vl = {
1451
+ }, zl = {
1451
1452
  key: 3,
1452
1453
  class: "a-le-status"
1453
- }, zl = {
1454
+ }, Ml = {
1454
1455
  key: 0,
1455
1456
  class: "a-le-status-badge"
1456
- }, Ml = { class: "a-le-actions" }, Nl = { class: "a-le-row-body" }, Ol = { class: "a-le-form" }, Ul = {
1457
+ }, Nl = { class: "a-le-actions" }, Ol = { class: "a-le-row-body" }, Ul = { class: "a-le-form" }, jl = {
1457
1458
  key: 0,
1458
1459
  class: "a-le-row-footer"
1459
- }, jl = {
1460
+ }, ql = {
1460
1461
  key: 1,
1461
1462
  class: "a-le-row-body"
1462
- }, ql = { class: "a-le-form" }, Gl = ["data-parent-id"], Hl = "a-nested-list-editor__group", Wl = "a-le-drag-handle", yo = /* @__PURE__ */ ze({
1463
+ }, Gl = { class: "a-le-form" }, Hl = ["data-parent-id"], Wl = "a-nested-list-editor__group", Jl = "a-le-drag-handle", yo = /* @__PURE__ */ ze({
1463
1464
  __name: "LeNestedRow",
1464
1465
  props: {
1465
1466
  vi: {},
@@ -1516,7 +1517,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1516
1517
  }, [
1517
1518
  t.context.dragEnabled ? (g(), U(vn, {
1518
1519
  key: 0,
1519
- class: we(Wl)
1520
+ class: we(Jl)
1520
1521
  })) : M("", !0),
1521
1522
  t.context.showExpandToggle && t.vi.childrenAllowed ? (g(), B("button", {
1522
1523
  key: 1,
@@ -1532,12 +1533,12 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1532
1533
  onClick: p[0] || (p[0] = J((P) => t.vi.hasChildren && t.callbacks.onChevronClick(t.vi), ["stop"]))
1533
1534
  }, [...p[18] || (p[18] = [
1534
1535
  K("span", { class: "a-nested-list-editor__tree-toggle-caret" }, null, -1)
1535
- ])], 10, Fl)) : t.context.showExpandToggle ? (g(), B("span", Bl)) : M("", !0),
1536
- K("div", Rl, [
1536
+ ])], 10, Bl)) : t.context.showExpandToggle ? (g(), B("span", Rl)) : M("", !0),
1537
+ K("div", Kl, [
1537
1538
  L(k.$slots, "item-compact", De(Ie(y())), () => [
1538
- K("span", Kl, $(t.context.resolveCompactText(t.vi.raw, t.vi.key)), 1)
1539
+ K("span", Ll, $(t.context.resolveCompactText(t.vi.raw, t.vi.key)), 1)
1539
1540
  ]),
1540
- t.vi.hasChildren ? (g(), B("span", Ll, [
1541
+ t.vi.hasChildren ? (g(), B("span", Vl, [
1541
1542
  s(W, {
1542
1543
  icon: "mdi-file-tree",
1543
1544
  size: "14"
@@ -1546,12 +1547,12 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1546
1547
  ])) : M("", !0),
1547
1548
  t.vi.unsaved ? (g(), U(to, { key: 1 })) : M("", !0)
1548
1549
  ]),
1549
- t.context.reorderMode ? M("", !0) : (g(), B("div", Vl, [
1550
+ t.context.reorderMode ? M("", !0) : (g(), B("div", zl, [
1550
1551
  L(k.$slots, "item-status", De(Ie(y())), () => [
1551
- t.context.statusField && t.vi.raw[t.context.statusField] != null && t.vi.raw[t.context.statusField] !== "" ? (g(), B("span", zl, $(t.vi.raw[t.context.statusField]), 1)) : M("", !0)
1552
+ t.context.statusField && t.vi.raw[t.context.statusField] != null && t.vi.raw[t.context.statusField] !== "" ? (g(), B("span", Ml, $(t.vi.raw[t.context.statusField]), 1)) : M("", !0)
1552
1553
  ])
1553
1554
  ])),
1554
- K("div", Ml, [
1555
+ K("div", Nl, [
1555
1556
  L(k.$slots, "item-actions", De(Ie(y())), () => [
1556
1557
  t.context.reorderMode ? (g(), B(ne, { key: 0 }, [
1557
1558
  s(q, {
@@ -1868,13 +1869,13 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1868
1869
  ])
1869
1870
  ]),
1870
1871
  t.vi.editing && !t.context.reorderMode && k.$slots.item ? (g(), B(ne, { key: 0 }, [
1871
- K("div", Nl, [
1872
- K("div", Ol, [
1872
+ K("div", Ol, [
1873
+ K("div", Ul, [
1873
1874
  L(k.$slots, "item", De(Ie(y())))
1874
1875
  ])
1875
1876
  ]),
1876
1877
  L(k.$slots, "item-footer", De(Ie(y())), () => [
1877
- t.context.showInlineSaveFooter ? (g(), B("div", Ul, [
1878
+ t.context.showInlineSaveFooter ? (g(), B("div", jl, [
1878
1879
  p[19] || (p[19] = K("div", { class: "a-le-row-footer-spacer" }, null, -1)),
1879
1880
  s(q, {
1880
1881
  variant: "text",
@@ -1900,8 +1901,8 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1900
1901
  }, 8, ["disabled"])
1901
1902
  ])) : M("", !0)
1902
1903
  ])
1903
- ], 64)) : k.$slots["item-readonly"] && (t.context.readonly || t.vi.expanded) && !t.context.reorderMode ? (g(), B("div", jl, [
1904
- K("div", ql, [
1904
+ ], 64)) : k.$slots["item-readonly"] && (t.context.readonly || t.vi.expanded) && !t.context.reorderMode ? (g(), B("div", ql, [
1905
+ K("div", Gl, [
1905
1906
  L(k.$slots, "item-readonly", De(Ie(y())))
1906
1907
  ])
1907
1908
  ])) : M("", !0)
@@ -1913,7 +1914,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1913
1914
  style: pt({ "--parent-depth": t.vi.depth })
1914
1915
  }, [
1915
1916
  K("div", {
1916
- class: we([Hl]),
1917
+ class: we([Wl]),
1917
1918
  "data-parent-id": String(t.vi.key)
1918
1919
  }, [
1919
1920
  (g(!0), B(ne, null, Ze(x(), (P) => (g(), U(c(u), {
@@ -1950,11 +1951,11 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
1950
1951
  ]),
1951
1952
  _: 3
1952
1953
  }, 8, ["vi", "view-items", "drag-state", "context", "callbacks"]))), 128))
1953
- ], 10, Gl)
1954
+ ], 10, Hl)
1954
1955
  ], 4)) : M("", !0)
1955
- ], 42, Tl));
1956
+ ], 42, Fl));
1956
1957
  }
1957
- }), Jl = { class: "text-body-medium mb-2" }, Xl = /* @__PURE__ */ ze({
1958
+ }), Xl = { class: "text-body-medium mb-2" }, Yl = /* @__PURE__ */ ze({
1958
1959
  __name: "LeChangeParentDialog",
1959
1960
  props: /* @__PURE__ */ Te({
1960
1961
  tree: {},
@@ -2131,10 +2132,10 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
2131
2132
  class: "pt-0"
2132
2133
  }, {
2133
2134
  default: r(() => [
2134
- K("div", Jl, $(c(h)("common.sortable.changeParent.placementHeading", {
2135
+ K("div", Xl, $(c(h)("common.sortable.changeParent.placementHeading", {
2135
2136
  label: S.value?.label ?? ""
2136
2137
  })), 1),
2137
- s(Vn, {
2138
+ s(zn, {
2138
2139
  modelValue: x.value,
2139
2140
  "onUpdate:modelValue": D[0] || (D[0] = (w) => x.value = w),
2140
2141
  density: "compact",
@@ -2189,26 +2190,26 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
2189
2190
  _: 1
2190
2191
  }, 8, ["modelValue"]));
2191
2192
  }
2192
- }), Yl = /* @__PURE__ */ lo(Xl, [["__scopeId", "data-v-0058f5cc"]]), Ql = { class: "a-le-card" }, Zl = {
2193
+ }), Ql = /* @__PURE__ */ lo(Yl, [["__scopeId", "data-v-0058f5cc"]]), Zl = { class: "a-le-card" }, _l = {
2193
2194
  key: 0,
2194
2195
  class: "a-le-header"
2195
- }, _l = {
2196
+ }, ei = {
2196
2197
  key: 0,
2197
2198
  class: "a-le-title-heading"
2198
- }, ei = { class: "a-le-header-actions" }, ti = {
2199
+ }, ti = { class: "a-le-header-actions" }, ai = {
2199
2200
  key: 1,
2200
2201
  class: "a-le-state a-le-state--loading"
2201
- }, ai = {
2202
+ }, oi = {
2202
2203
  key: 2,
2203
2204
  class: "a-le-state a-le-state--error"
2204
- }, oi = {
2205
+ }, ni = {
2205
2206
  key: 3,
2206
2207
  class: "a-le-state a-le-state--empty"
2207
- }, ni = {
2208
+ }, li = {
2208
2209
  class: "a-le-sr-only",
2209
2210
  "aria-live": "polite",
2210
2211
  role: "status"
2211
- }, Aa = "a-nested-list-editor__group", li = "a-le-drag-handle", Ea = 24, Pa = 22, Oi = /* @__PURE__ */ ze({
2212
+ }, Aa = "a-nested-list-editor__group", ii = "a-le-drag-handle", Ea = 24, Pa = 22, Ui = /* @__PURE__ */ ze({
2212
2213
  __name: "ANestedSortableListEditor",
2213
2214
  props: /* @__PURE__ */ Te({
2214
2215
  maxDepth: {},
@@ -2488,7 +2489,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
2488
2489
  return;
2489
2490
  }
2490
2491
  const A = ye.value.getBoundingClientRect(), te = (n.el.querySelector(":scope > .a-le-row") ?? n.el).getBoundingClientRect();
2491
- pe.value.instruction = Il({
2492
+ pe.value.instruction = Tl({
2492
2493
  pointer: { x: e, y: l },
2493
2494
  hoveredRow: {
2494
2495
  key: n.viewItem.key,
@@ -2520,7 +2521,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
2520
2521
  for (const l of e) {
2521
2522
  const n = xn(l, [], {
2522
2523
  group: { name: "a-nested", pull: !0, put: !0 },
2523
- handle: "." + li,
2524
+ handle: "." + ii,
2524
2525
  animation: 0,
2525
2526
  ghostClass: En,
2526
2527
  chosenClass: An,
@@ -2951,11 +2952,11 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
2951
2952
  }
2952
2953
  ]])
2953
2954
  }, [
2954
- K("div", Ql, [
2955
- oe.value ? (g(), B("div", Zl, [
2955
+ K("div", Zl, [
2956
+ oe.value ? (g(), B("div", _l, [
2956
2957
  L(e.$slots, "header", Q({ title: t.title }, ba.value), () => [
2957
- t.title ? (g(), B("h3", _l, $(t.title), 1)) : M("", !0),
2958
- K("div", ei, [
2958
+ t.title ? (g(), B("h3", ei, $(t.title), 1)) : M("", !0),
2959
+ K("div", ti, [
2959
2960
  c(he) ? L(e.$slots, "reorder-toolbar", De(Ie(Ao.value)), () => [
2960
2961
  s(kn, {
2961
2962
  class: we({ "a-le-toolbar-status--pending": et.value }),
@@ -3063,13 +3064,13 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3063
3064
  ])
3064
3065
  ])
3065
3066
  ])) : M("", !0),
3066
- t.loading ? (g(), B("div", ti, [
3067
+ t.loading ? (g(), B("div", ai, [
3067
3068
  s(mo, {
3068
3069
  indeterminate: "",
3069
3070
  color: "primary",
3070
3071
  size: "32"
3071
3072
  })
3072
- ])) : t.error ? (g(), B("div", ai, [
3073
+ ])) : t.error ? (g(), B("div", oi, [
3073
3074
  s(da, {
3074
3075
  type: "error",
3075
3076
  variant: "tonal",
@@ -3081,7 +3082,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3081
3082
  ]),
3082
3083
  _: 1
3083
3084
  })
3084
- ])) : qe.value ? (g(), B("div", oi, [
3085
+ ])) : qe.value ? (g(), B("div", ni, [
3085
3086
  L(e.$slots, "empty", {
3086
3087
  readonly: t.readonly,
3087
3088
  disabled: t.disabled,
@@ -3188,7 +3189,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3188
3189
  "item-label": Po.value,
3189
3190
  onConfirm: Do
3190
3191
  }, null, 8, ["modelValue", "total", "current-index", "item-label"]),
3191
- s(Yl, {
3192
+ s(Ql, {
3192
3193
  modelValue: ea.value,
3193
3194
  "onUpdate:modelValue": l[1] || (l[1] = (n) => ea.value = n),
3194
3195
  tree: h.value,
@@ -3211,13 +3212,13 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3211
3212
  onConfirm: c(wo),
3212
3213
  onCancel: c(Co)
3213
3214
  }, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
3214
- K("div", ni, $(c(Pt).grabbedKey.value !== null ? c(x)("common.sortable.keyboardGrab.status", {
3215
+ K("div", li, $(c(Pt).grabbedKey.value !== null ? c(x)("common.sortable.keyboardGrab.status", {
3215
3216
  n: c(Pt).grabbedIndex.value + 1,
3216
3217
  total: c(Pt).totalCount.value
3217
3218
  }) : ""), 1)
3218
3219
  ], 2));
3219
3220
  }
3220
- }), ii = { class: "a-unsaved-sections" }, si = /* @__PURE__ */ ze({
3221
+ }), si = { class: "a-unsaved-sections" }, ri = /* @__PURE__ */ ze({
3221
3222
  __name: "AUnsavedConfirmDialog",
3222
3223
  props: /* @__PURE__ */ Te({
3223
3224
  title: { default: void 0 },
@@ -3257,7 +3258,7 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3257
3258
  N($(t.body), 1)
3258
3259
  ], 64)) : t.dirtyLabels.length ? (g(), B(ne, { key: 1 }, [
3259
3260
  N($(c(m)("common.sortable.unsavedChanges.sectionsIntro")) + " ", 1),
3260
- K("ul", ii, [
3261
+ K("ul", si, [
3261
3262
  (g(!0), B(ne, null, Ze(t.dirtyLabels, (p, P) => (g(), B("li", { key: P }, $(p), 1))), 128))
3262
3263
  ]),
3263
3264
  N(" " + $(c(m)("common.sortable.unsavedChanges.leaveQuestion")), 1)
@@ -3299,8 +3300,8 @@ const Zn = { class: "d-flex flex-column w-100 px-1 align-center" }, _n = { class
3299
3300
  _: 1
3300
3301
  }, 8, ["modelValue"]));
3301
3302
  }
3302
- }), Ui = /* @__PURE__ */ lo(si, [["__scopeId", "data-v-8342a164"]]), ri = 8e3, di = (t) => t == null ? !1 : typeof t == "boolean" ? t : t instanceof Set ? t.size > 0 : Array.isArray(t) ? t.length > 0 : !!t, $a = (t, C) => t === void 0 ? C : typeof t == "boolean" ? t : t.value;
3303
- function ji(t) {
3303
+ }), ji = /* @__PURE__ */ lo(ri, [["__scopeId", "data-v-8342a164"]]), di = 8e3, ci = (t) => t == null ? !1 : typeof t == "boolean" ? t : t instanceof Set ? t.size > 0 : Array.isArray(t) ? t.length > 0 : !!t, $a = (t, C) => t === void 0 ? C : typeof t == "boolean" ? t : t.value;
3304
+ function qi(t) {
3304
3305
  const C = $n();
3305
3306
  if (t.ownSections) {
3306
3307
  const R = t.ownSections, S = /* @__PURE__ */ Symbol("unsaved.section.own"), v = b(() => {
@@ -3310,7 +3311,7 @@ function ji(t) {
3310
3311
  C.register(S, v);
3311
3312
  }
3312
3313
  const u = b(
3313
- () => t.sources.some((R) => di(R.value)) || C.dirtyLabels.value.length > 0
3314
+ () => t.sources.some((R) => ci(R.value)) || C.dirtyLabels.value.length > 0
3314
3315
  ), a = _(!1);
3315
3316
  let m = null, h = !1, y = null;
3316
3317
  const x = () => {
@@ -3322,13 +3323,13 @@ function ji(t) {
3322
3323
  }, P = () => {
3323
3324
  h = !0, x(), y = setTimeout(() => {
3324
3325
  h = !1, y = null;
3325
- }, ri);
3326
+ }, di);
3326
3327
  }, I = () => {
3327
3328
  h = !1, x();
3328
3329
  };
3329
3330
  if ($a(t.guardRoute, !0) && xa())
3330
3331
  try {
3331
- zn(async () => u.value ? await k() : !0);
3332
+ Mn(async () => u.value ? await k() : !0);
3332
3333
  } catch {
3333
3334
  }
3334
3335
  if ($a(t.guardWindowUnload, !0)) {
@@ -3359,7 +3360,7 @@ function ji(t) {
3359
3360
  unacknowledge: I
3360
3361
  };
3361
3362
  }
3362
- function qi(t, C) {
3363
+ function Gi(t, C) {
3363
3364
  return (...u) => {
3364
3365
  t.acknowledge();
3365
3366
  let a;
@@ -3373,7 +3374,7 @@ function qi(t, C) {
3373
3374
  }) : a;
3374
3375
  };
3375
3376
  }
3376
- function Gi(t, C = {}) {
3377
+ function Hi(t, C = {}) {
3377
3378
  const u = C.keyField ?? "id", a = C.positionField ?? "position", m = C.positionMultiplier ?? 1, h = C.updatePosition === !0;
3378
3379
  h && u === a && console.warn(
3379
3380
  `[list-editor] key-field === position-field ("${u}") with update-position enabled. Reordering renumbers positions and thus changes row keys, breaking dirty/validity tracking. Point key-field at a stable identity field (e.g. "id").`
@@ -3444,7 +3445,7 @@ function Gi(t, C = {}) {
3444
3445
  recalculatePositions: p
3445
3446
  };
3446
3447
  }
3447
- function Hi() {
3448
+ function Wi() {
3448
3449
  const t = _(/* @__PURE__ */ new Map()), C = /* @__PURE__ */ new Set(), u = (y) => t.value.get(y) ?? C, a = (y, x) => {
3449
3450
  x.size === 0 ? t.value.delete(y) : t.value.set(y, x), t.value = new Map(t.value);
3450
3451
  }, m = b(() => {
@@ -3457,69 +3458,69 @@ function Hi() {
3457
3458
  return { getForParent: u, setForParent: a, merged: m, count: h };
3458
3459
  }
3459
3460
  export {
3460
- Ri as ADatatableOrdering,
3461
- Wn as ADatatablePagination,
3462
- Xi as AFilterBooleanSelect,
3463
- Yi as AFilterDatetimePicker,
3464
- Qi as AFilterInteger,
3465
- Zi as AFilterRemoteAutocomplete,
3466
- _i as AFilterRemoteAutocompleteWithMinimal,
3467
- es as AFilterString,
3468
- ts as AFilterTimeInterval,
3469
- as as AFilterValueObjectOptionsSelect,
3470
- os as AFilterWrapper,
3471
- Bi as AFilterWrapperSidebar,
3472
- ns as AFilterWrapperSubjectSelect,
3473
- ls as AFormRemoteAutocomplete,
3474
- is as AFormRemoteAutocompleteWithCached,
3475
- Ni as AListEditor,
3476
- Oi as ANestedSortableListEditor,
3477
- ss as ASortableListEditor,
3478
- Mi as ASubjectSelect,
3479
- Ui as AUnsavedConfirmDialog,
3461
+ Ki as ADatatableOrdering,
3462
+ Jn as ADatatablePagination,
3463
+ Yi as AFilterBooleanSelect,
3464
+ Qi as AFilterDatetimePicker,
3465
+ Zi as AFilterInteger,
3466
+ _i as AFilterRemoteAutocomplete,
3467
+ es as AFilterRemoteAutocompleteWithMinimal,
3468
+ ts as AFilterString,
3469
+ as as AFilterTimeInterval,
3470
+ os as AFilterValueObjectOptionsSelect,
3471
+ ns as AFilterWrapper,
3472
+ Ri as AFilterWrapperSidebar,
3473
+ ls as AFilterWrapperSubjectSelect,
3474
+ is as AFormRemoteAutocomplete,
3475
+ ss as AFormRemoteAutocompleteWithCached,
3476
+ Oi as AListEditor,
3477
+ Ui as ANestedSortableListEditor,
3478
+ rs as ASortableListEditor,
3479
+ Ni as ASubjectSelect,
3480
+ ji as AUnsavedConfirmDialog,
3480
3481
  Da as DatatablePaginationKey,
3481
3482
  Oo as FilterConfigKey,
3482
3483
  Uo as FilterDataKey,
3483
- rs as FilterInnerConfigKey,
3484
- ds as FilterInnerDataKey,
3485
- cs as FiltersSelected,
3486
- us as ListEditorStateScopeKey,
3487
- fs as SharedReorderRegistryKey,
3488
- ms as TimeIntervalSpecialOptions,
3489
- vs as UserAdminConfigLayoutType,
3490
- ys as UserAdminConfigLayoutTypeDefault,
3491
- hs as UserAdminConfigType,
3492
- ps as UserAdminConfigTypeDefault,
3493
- Qn as createDatatableColumnsConfig,
3494
- gs as createFilter,
3495
- bs as createFilterStore,
3496
- ks as createListEditorStateScope,
3484
+ ds as FilterInnerConfigKey,
3485
+ cs as FilterInnerDataKey,
3486
+ us as FiltersSelected,
3487
+ fs as ListEditorStateScopeKey,
3488
+ ms as SharedReorderRegistryKey,
3489
+ vs as TimeIntervalSpecialOptions,
3490
+ ys as UserAdminConfigLayoutType,
3491
+ hs as UserAdminConfigLayoutTypeDefault,
3492
+ ps as UserAdminConfigType,
3493
+ gs as UserAdminConfigTypeDefault,
3494
+ Zn as createDatatableColumnsConfig,
3495
+ bs as createFilter,
3496
+ ks as createFilterStore,
3497
+ ws as createListEditorStateScope,
3497
3498
  ta as generateListQuery,
3498
- ws as nextListEditorTempId,
3499
+ Cs as nextListEditorTempId,
3499
3500
  Ja as provideListEditorStateScope,
3500
3501
  Dn as renumberPositions,
3501
- Cs as sortByPosition,
3502
- xs as sortByPositionDeep,
3503
- Ki as useApiFetchByIds,
3502
+ xs as sortByPosition,
3503
+ Ss as sortByPositionDeep,
3504
+ Li as useApiFetchByIds,
3504
3505
  tn as useApiFetchList,
3505
- Li as useApiFetchListBatch,
3506
+ Vi as useApiFetchListBatch,
3506
3507
  Jo as useApiQueryBuilder,
3507
- Ss as useApiRequest,
3508
+ As as useApiRequest,
3508
3509
  dn as useFilterHelpers,
3509
- qi as useGuardedDelete,
3510
- Vi as useJobApi,
3511
- Gi as useListEditor,
3510
+ Gi as useGuardedDelete,
3511
+ zi as useJobApi,
3512
+ Hi as useListEditor,
3512
3513
  mn as useListEditorController,
3513
3514
  fn as useListEditorStateEntry,
3514
- As as useNestedListEditor,
3515
+ Es as useNestedListEditor,
3515
3516
  gn as useNestedListEditorController,
3516
3517
  pn as useNestedListEditorStateEntry,
3517
- Hi as useNestedUnsavedKeys,
3518
+ Wi as useNestedUnsavedKeys,
3518
3519
  Ha as usePagination,
3519
- zi as useSubjectSelect,
3520
- ji as useUnsavedChangesGuard,
3520
+ Mi as useSubjectSelect,
3521
+ qi as useUnsavedChangesGuard,
3521
3522
  Za as useUnsavedSection,
3522
- Es as useUserAdminConfigApi,
3523
- Ps as useUserAdminConfigFactory
3523
+ Ps as useUserAdminConfigApi,
3524
+ $s as useUserAdminConfigFactory
3524
3525
  };
3525
3526
  //# sourceMappingURL=labs.js.map