@anzusystems/common-admin 1.47.0-beta.dev-1782079999 → 1.47.0-beta.dev-1784059859

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,6 +1,6 @@
1
- import { aG as Oo, aH as Uo, d as fe, bT as jo, bU as qo, bV as Da, j as Le, k as Go, a1 as Wo, h as ht, i as Kt, aj as Ia, ak as Ta, al as Ba, am as Fa, 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 Ho, as as Wa, bZ as ta, ap as Jo, aq as Xo, aV as Yo, b2 as Qo, ar as Zo, E as _o, a8 as en, a2 as tn, b_ as an, q as on, p as nn, x as ln, a7 as sn, aI as rn, m as Ha, b$ as dn, l as cn, c0 as un, c1 as fn, 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 mn, _ as lo, ce as vn, cf as yn, cg as hn, ch as gn, ci as pn, cj as bn, ck as kn, g as wn, aU as Cn, cl as xn, cm as Sn, cn as An, z as En, co as Pn, cp as $n } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-EL9qin-6.mjs";
2
- import { aE as Ji, cq as Xi, cr as Yi, aA as Qi, aB as Zi, aD as _i, aF as es, aC as ts, aS as as, aJ as os, bb as ns, aO as ls, aX as is, ay as ss, az as rs, cs as ds, ct as cs, cu as us, cv as fs, cw as ms, cx as vs, cy as ys, ai as hs, ah as gs, cz as ps, cA as bs, cB as ks, cC as ws, cD as Cs, cE as xs, cF as Ss, cG as As } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-EL9qin-6.mjs";
3
- import { defineComponent as Ve, 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 F, createElementVNode as K, toDisplayString as P, unref as c, createVNode as s, createTextVNode as N, Fragment as ne, renderList as Ze, normalizeClass as we, mergeModels as Ie, createCommentVNode as M, onMounted as la, toRaw as wa, resolveComponent as Ca, mergeProps as X, withDirectives as Dn, vShow as In, useSlots as io, useTemplateRef as zt, isRef as so, normalizeProps as De, guardReactiveProps as Ue, normalizeStyle as gt, shallowRef as aa, nextTick as Ke, onBeforeUnmount as na, getCurrentInstance as xa } from "vue";
1
+ import { aG as Oo, aH as Uo, d as fe, bT as jo, bU as qo, bV as Da, j as Ve, k as Go, a1 as Wo, h as ht, i as Kt, aj as Ia, ak as Ta, al as Ba, am as Fa, 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 Ho, as as Wa, bZ as ta, ap as Jo, aq as Xo, aV as Yo, b2 as Qo, ar as Zo, E as _o, a8 as en, a2 as tn, b_ as an, q as on, p as nn, x as ln, a7 as sn, aI as rn, m as Ha, b$ as dn, l as cn, c0 as un, c1 as fn, 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 mn, _ as lo, ce as vn, cf as yn, cg as hn, ch as gn, ci as pn, cj as bn, ck as kn, g as wn, aU as Cn, cl as xn, cm as Sn, cn as An, z as En, co as Pn, cp as $n } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CFIcQNlF.mjs";
2
+ import { aE as Ji, cq as Xi, cr as Yi, aA as Qi, aB as Zi, aD as _i, aF as es, aC as ts, aS as as, aJ as os, bb as ns, aO as ls, aX as is, ay as ss, az as rs, cs as ds, ct as cs, cu as us, cv as fs, cw as ms, cx as vs, cy as ys, ai as hs, ah as gs, cz as ps, cA as bs, cB as ks, cC as ws, cD as Cs, cE as xs, cF as Ss, cG as As } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CFIcQNlF.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 F, createElementVNode as K, toDisplayString as P, 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 Dn, vShow as In, useSlots as io, useTemplateRef as zt, isRef as so, normalizeProps as De, guardReactiveProps as Ie, normalizeStyle as gt, shallowRef as aa, nextTick as Le, onBeforeUnmount as na, getCurrentInstance as xa } from "vue";
4
4
  import { VForm as Tn } from "vuetify/components/VForm";
5
5
  import { useI18n as je } from "vue-i18n";
6
6
  import { VBtn as q } from "vuetify/components/VBtn";
@@ -22,7 +22,7 @@ import { VProgressCircular as mo } from "vuetify/components/VProgressCircular";
22
22
  import { VRadio as Sa } from "vuetify/components/VRadio";
23
23
  import { VRadioGroup as Ln } from "vuetify/components/VRadioGroup";
24
24
  import { onBeforeRouteLeave as Vn } from "vue-router";
25
- const Bi = /* @__PURE__ */ Ve({
25
+ const Bi = /* @__PURE__ */ ze({
26
26
  __name: "AFilterWrapperSidebar",
27
27
  props: {
28
28
  formName: { default: "search" }
@@ -46,9 +46,9 @@ const Bi = /* @__PURE__ */ Ve({
46
46
  _: 3
47
47
  }, 8, ["name"]));
48
48
  }
49
- }), zn = { class: "d-flex align-center justify-center" }, Mn = { class: "text-body-small mr-1" }, Fi = /* @__PURE__ */ Ve({
49
+ }), zn = { class: "d-flex align-center justify-center" }, Mn = { class: "text-body-small mr-1" }, Fi = /* @__PURE__ */ ze({
50
50
  __name: "ADatatableOrdering",
51
- props: /* @__PURE__ */ Ie({
51
+ props: /* @__PURE__ */ Te({
52
52
  variant: { default: "id" },
53
53
  customOptions: { default: void 0 },
54
54
  paginationUpdateCustomCb: { type: Function, default: void 0 }
@@ -59,7 +59,7 @@ const Bi = /* @__PURE__ */ Ve({
59
59
  },
60
60
  modelModifiers: {}
61
61
  }),
62
- emits: /* @__PURE__ */ Ie(["sortByChange"], ["update:modelValue"]),
62
+ emits: /* @__PURE__ */ Te(["sortByChange"], ["update:modelValue"]),
63
63
  setup(t, { emit: C }) {
64
64
  const u = t, a = C, v = it(t, "modelValue"), h = Vt(Da);
65
65
  if (fe(h))
@@ -68,39 +68,39 @@ const Bi = /* @__PURE__ */ Ve({
68
68
  {
69
69
  id: 1,
70
70
  titleT: "common.system.datatable.ordering.mostRecent",
71
- sortBy: { key: "createdAt", order: Le.Desc }
71
+ sortBy: { key: "createdAt", order: Ve.Desc }
72
72
  },
73
73
  {
74
74
  id: 2,
75
75
  titleT: "common.system.datatable.ordering.oldest",
76
- sortBy: { key: "createdAt", order: Le.Asc }
76
+ sortBy: { key: "createdAt", order: Ve.Asc }
77
77
  }
78
78
  ], k = [
79
79
  {
80
80
  id: 1,
81
81
  titleT: "common.system.datatable.ordering.mostRecent",
82
- sortBy: { key: "id", order: Le.Desc }
82
+ sortBy: { key: "id", order: Ve.Desc }
83
83
  },
84
84
  {
85
85
  id: 2,
86
86
  titleT: "common.system.datatable.ordering.oldest",
87
- sortBy: { key: "id", order: Le.Asc }
87
+ sortBy: { key: "id", order: Ve.Asc }
88
88
  }
89
89
  ], p = [
90
90
  {
91
91
  id: 3,
92
92
  titleT: "common.system.datatable.ordering.mostRelevant",
93
- sortBy: { key: Go, order: Le.Desc }
93
+ sortBy: { key: Go, order: Ve.Desc }
94
94
  },
95
95
  {
96
96
  id: 1,
97
97
  titleT: "common.system.datatable.ordering.mostRecent",
98
- sortBy: { key: "createdAt", order: Le.Desc }
98
+ sortBy: { key: "createdAt", order: Ve.Desc }
99
99
  },
100
100
  {
101
101
  id: 2,
102
102
  titleT: "common.system.datatable.ordering.oldest",
103
- sortBy: { key: "createdAt", order: Le.Asc }
103
+ sortBy: { key: "createdAt", order: Ve.Asc }
104
104
  }
105
105
  ], $ = b(() => {
106
106
  const m = I.value.find((T) => T.id === v.value);
@@ -184,7 +184,7 @@ const Bi = /* @__PURE__ */ Ve({
184
184
  }), Nn = { class: "anzu-data-footer" }, On = {
185
185
  key: 0,
186
186
  class: "anzu-data-footer__page-limit"
187
- }, Un = { class: "anzu-data-footer__pagination" }, jn = { class: "anzu-data-footer__icons-before" }, qn = { class: "current-page" }, Gn = { class: "anzu-data-footer__icons-after" }, Wn = /* @__PURE__ */ Ve({
187
+ }, Un = { class: "anzu-data-footer__pagination" }, jn = { class: "anzu-data-footer__icons-before" }, qn = { class: "current-page" }, Gn = { class: "anzu-data-footer__icons-after" }, Wn = /* @__PURE__ */ ze({
188
188
  __name: "ADatatablePagination",
189
189
  props: {
190
190
  itemsPerPageOptions: { default: () => [10, 25, 50] },
@@ -354,9 +354,9 @@ const Bi = /* @__PURE__ */ Ve({
354
354
  try {
355
355
  const d = R.general.elastic || E ? "/search" : "", D = Kt(T) ? T : h, w = Kt(m) ? m : v;
356
356
  if (fe(w)) throw new Error("Url template is undefined");
357
- const { pagination: i } = Wa(z, B ? Le.Desc : Le.Asc, {
357
+ const { pagination: i } = Wa(z, B ? Ve.Desc : Ve.Asc, {
358
358
  rowsPerPage: O
359
- }), G = (fe(D) ? w : Ia(w, D)) + d, Y = [], ee = await C().get(
359
+ }), G = (fe(D) ? w : Ia(w, D)) + d, X = [], ee = await C().get(
360
360
  G + ta(i, I, R),
361
361
  {
362
362
  ...y,
@@ -367,7 +367,7 @@ const Bi = /* @__PURE__ */ Ve({
367
367
  throw new Ba(ee.status);
368
368
  if (ee.data) {
369
369
  const W = ee.data;
370
- if (Y.push(...W.data), Jo(W))
370
+ if (X.push(...W.data), Jo(W))
371
371
  for (i.value.hasNextPage = W.hasNextPage; i.value.hasNextPage; ) {
372
372
  i.value.page++;
373
373
  const me = (await C().get(
@@ -377,26 +377,26 @@ const Bi = /* @__PURE__ */ Ve({
377
377
  signal: k.signal
378
378
  }
379
379
  )).data;
380
- Y.push(...me.data), i.value.hasNextPage = me.hasNextPage;
380
+ X.push(...me.data), i.value.hasNextPage = me.hasNextPage;
381
381
  }
382
382
  else if (Xo(W)) {
383
383
  if (i.value.totalCount = W.totalCount, i.value.totalCount <= i.value.rowsPerPage)
384
- return Y;
385
- const Q = [], me = Math.ceil(i.value.totalCount / i.value.rowsPerPage);
384
+ return X;
385
+ const Y = [], me = Math.ceil(i.value.totalCount / i.value.rowsPerPage);
386
386
  for (let ae = 1; ae < me; ae++) {
387
387
  const be = { ...i.value, page: ae + 1 }, ie = _(be);
388
- Q.push(
388
+ Y.push(
389
389
  C().get(G + ta(ie, I, R), {
390
390
  ...y,
391
391
  signal: k.signal
392
392
  })
393
393
  );
394
394
  }
395
- (await Promise.all(Q)).forEach((ae) => {
396
- Y.push(...ae.data.data);
395
+ (await Promise.all(Y)).forEach((ae) => {
396
+ X.push(...ae.data.data);
397
397
  });
398
398
  }
399
- return Y;
399
+ return X;
400
400
  }
401
401
  if (ee.status === Fa)
402
402
  return [];
@@ -481,10 +481,10 @@ function Vi(t, C, u, a, v, h, y, x = null, k = void 0, p = !1) {
481
481
  a,
482
482
  { storeColumnsLocalStorage: !1, disableActions: !p }
483
483
  ), i = () => {
484
- ee(), Q();
484
+ ee(), Y();
485
485
  }, G = (ve) => {
486
- T(ve.sortBy), Q();
487
- }, Y = async () => {
486
+ T(ve.sortBy), Y();
487
+ }, X = async () => {
488
488
  S.value = !0, z();
489
489
  try {
490
490
  const ve = await v(m, h, y, k);
@@ -510,7 +510,7 @@ function Vi(t, C, u, a, v, h, y, x = null, k = void 0, p = !1) {
510
510
  } finally {
511
511
  S.value = !1;
512
512
  }
513
- }, Q = Bn(async () => {
513
+ }, Y = Bn(async () => {
514
514
  await W();
515
515
  });
516
516
  return {
@@ -533,18 +533,18 @@ function Vi(t, C, u, a, v, h, y, x = null, k = void 0, p = !1) {
533
533
  const qe = ie.querySelector("input");
534
534
  qe && qe.click();
535
535
  },
536
- onFetchNextPage: Y,
536
+ onFetchNextPage: X,
537
537
  onOpen: i,
538
538
  sortByChange: G,
539
- getList: Q,
540
- resetFilter: () => B(m, Q),
541
- submitFilter: () => O(m, Q)
539
+ getList: Y,
540
+ resetFilter: () => B(m, Y),
541
+ submitFilter: () => O(m, Y)
542
542
  };
543
543
  }
544
544
  const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class: "d-flex justify-space-between w-100 align-center" }, _n = { class: "d-flex align-center" }, el = { class: "d-flex align-center" }, tl = { class: "subject-select__sidebar system-border-r" }, al = { class: "subject-select-filter" }, ol = { class: "subject-select__content" }, nl = {
545
545
  key: 0,
546
546
  class: "d-flex w-100 align-center justify-center pa-4"
547
- }, ll = { class: "subject-select__actions system-border-t" }, il = { key: 0 }, sl = { key: 1 }, zi = /* @__PURE__ */ Ve({
547
+ }, ll = { class: "subject-select__actions system-border-t" }, il = { key: 0 }, sl = { key: 1 }, zi = /* @__PURE__ */ ze({
548
548
  __name: "ASubjectSelect",
549
549
  props: {
550
550
  selectedItems: {},
@@ -599,12 +599,12 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
599
599
  open: m,
600
600
  closeSidebarOnMobile: $
601
601
  }), (i, G) => {
602
- const Y = Ca("ABtnSecondary"), ee = Ca("ABtnPrimary");
602
+ const X = Ca("ABtnSecondary"), ee = Ca("ABtnPrimary");
603
603
  return g(), F(ne, null, [
604
604
  L(i.$slots, "activator", {
605
605
  props: { onClick: J(() => m(), ["stop"]) }
606
606
  }),
607
- s(sa, X(i.$attrs, {
607
+ s(sa, Q(i.$attrs, {
608
608
  "model-value": y.value,
609
609
  fullscreen: "",
610
610
  class: "subject-select",
@@ -684,7 +684,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
684
684
  K("div", ol, [
685
685
  L(i.$slots, "content"),
686
686
  t.paginationMode === "more" ? (g(), F("div", nl, [
687
- Dn((g(), U(Y, {
687
+ Dn((g(), U(X, {
688
688
  loading: t.loading,
689
689
  size: "small",
690
690
  onClick: O
@@ -774,9 +774,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
774
774
  class: "a-le-sr-only",
775
775
  "aria-live": "polite",
776
776
  role: "status"
777
- }, Mi = /* @__PURE__ */ Ve({
777
+ }, Mi = /* @__PURE__ */ ze({
778
778
  __name: "AListEditor",
779
- props: /* @__PURE__ */ Ie({
779
+ props: /* @__PURE__ */ Te({
780
780
  factory: { type: Function, default: void 0 },
781
781
  getKey: { type: [String, Function], default: void 0 },
782
782
  position: { type: [String, Boolean, Object], default: void 0 },
@@ -817,7 +817,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
817
817
  modelValue: { required: !0 },
818
818
  modelModifiers: {}
819
819
  }),
820
- emits: /* @__PURE__ */ Ie(["edit", "deleted", "close", "item-saved", "item-expand"], ["update:modelValue"]),
820
+ emits: /* @__PURE__ */ Te(["edit", "deleted", "close", "item-saved", "item-expand"], ["update:modelValue"]),
821
821
  setup(t, { expose: C, emit: u }) {
822
822
  const a = t, v = u, h = it(t, "modelValue"), { t: y } = je(), x = io(), k = co(), p = zt("rootEl"), $ = b(() => k.platform.value.touch), I = {
823
823
  get: () => h.value,
@@ -850,8 +850,8 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
850
850
  V.has(Ce.key) && f.add(String(Ce.key)), V.add(Ce.key);
851
851
  }
852
852
  if (oe === 0 && f.size === 0) return;
853
- const Fe = `${oe}|${[...f].sort().join(",")}`;
854
- d.has(Fe) || (d.add(Fe), oe > 0 && console.warn(
853
+ const Re = `${oe}|${[...f].sort().join(",")}`;
854
+ d.has(Re) || (d.add(Re), oe > 0 && console.warn(
855
855
  `[list-editor] ${oe} row(s) resolve to an undefined key (key-field "${B.value}"). Point get-key at a field every item has, or give new items unique temp ids (see nextListEditorTempId).`
856
856
  ), f.size > 0 && console.warn(
857
857
  `[list-editor] duplicate row keys (key-field "${B.value}"): ${[...f].join(", ")}. Row keys must be unique — dirty tracking and validation rails target rows by key.`
@@ -862,10 +862,10 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
862
862
  () => T.retainOwners(E.value.map((o) => o.key)),
863
863
  { flush: "post" }
864
864
  );
865
- const w = _(/* @__PURE__ */ new Set()), i = zt("rowsContainer"), G = b(() => !a.chips && !!x.item), Y = b(() => !a.chips && !!x["item-readonly"]), {
865
+ const w = _(/* @__PURE__ */ new Set()), i = zt("rowsContainer"), G = b(() => !a.chips && !!x.item), X = b(() => !a.chips && !!x["item-readonly"]), {
866
866
  editingKeys: ee,
867
867
  editingSnapshots: W,
868
- beginEdit: Q,
868
+ beginEdit: Y,
869
869
  cancelEdit: me,
870
870
  commitEdit: ve,
871
871
  closeEdit: ae,
@@ -889,24 +889,24 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
889
889
  () => a.deleteConfirmTitle ?? y("common.sortable.deleteConfirmTitle")
890
890
  ), ye = b(
891
891
  () => a.deleteConfirmText ?? (a.deleteMode === "immediate" ? y("common.sortable.deleteConfirmText") : y("common.sortable.deleteConfirmTextDeferred"))
892
- ), le = b(() => !a.readonly && !a.disabled && !a.loading), ze = b(() => le.value && a.showAddButton), _e = S.unsavedCount, kt = b(
892
+ ), le = b(() => !a.readonly && !a.disabled && !a.loading), Me = b(() => le.value && a.showAddButton), _e = S.unsavedCount, kt = b(
893
893
  () => !a.readonly && !a.disableUnsaved && _e.value > 0
894
- ), Ot = b(() => !!(a.title || x.header) || kt.value), Me = b(() => !!a.onItemSave), Ge = /* @__PURE__ */ new Map(), Te = b(() => {
894
+ ), Ot = b(() => !!(a.title || x.header) || kt.value), Ne = b(() => !!a.onItemSave), Ge = /* @__PURE__ */ new Map(), Be = b(() => {
895
895
  const o = [], V = /* @__PURE__ */ new Set();
896
896
  for (const f of E.value) {
897
897
  V.add(f.key);
898
- const oe = ee.value.has(f.key), Fe = w.value.has(f.key), Ce = a.loadingKeys?.has(f.key) ?? !1, Re = a.disableUnsaved || a.readonly ? !1 : S.isUnsaved(f.key), ge = Re, At = S.rowState(f.raw, f.key, oe), de = Ge.get(f.key);
899
- if (de && de.raw === f.raw && de.index === f.index && de.position === f.position && de.editing === oe && de.expanded === Fe && de.loading === Ce && de.dirty === ge && de.unsaved === Re && de.validationState === At) {
898
+ const oe = ee.value.has(f.key), Re = w.value.has(f.key), Ce = a.loadingKeys?.has(f.key) ?? !1, Ke = a.disableUnsaved || a.readonly ? !1 : S.isUnsaved(f.key), ge = Ke, At = S.rowState(f.raw, f.key, oe), de = Ge.get(f.key);
899
+ if (de && de.raw === f.raw && de.index === f.index && de.position === f.position && de.editing === oe && de.expanded === Re && de.loading === Ce && de.dirty === ge && de.unsaved === Ke && de.validationState === At) {
900
900
  o.push(de);
901
901
  continue;
902
902
  }
903
903
  const at = {
904
904
  ...f,
905
905
  editing: oe,
906
- expanded: Fe,
906
+ expanded: Re,
907
907
  loading: Ce,
908
908
  dirty: ge,
909
- unsaved: Re,
909
+ unsaved: Ke,
910
910
  validationState: At
911
911
  };
912
912
  Ge.set(f.key, at), o.push(at);
@@ -914,8 +914,8 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
914
914
  for (const f of Ge.keys())
915
915
  V.has(f) || Ge.delete(f);
916
916
  return o;
917
- }), st = b(() => Te.value.length === 0), Ae = (o) => Te.value.find((V) => V.key === o), We = Ya({
918
- viewItems: b(() => Te.value.map((o) => ({ key: o.key }))),
917
+ }), st = b(() => Be.value.length === 0), Ae = (o) => Be.value.find((V) => V.key === o), We = Ya({
918
+ viewItems: b(() => Be.value.map((o) => ({ key: o.key }))),
919
919
  variant: "flat",
920
920
  isReorderMode: _(!1),
921
921
  disabled: b(() => !le.value),
@@ -928,8 +928,8 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
928
928
  const V = Ae(o);
929
929
  V && tt(V);
930
930
  }
931
- }), Ut = (o) => oo(o, { compactField: a.compactField }), Be = () => {
932
- ze.value && (be(), S.addItem(void 0, void 0));
931
+ }), Ut = (o) => oo(o, { compactField: a.compactField }), Fe = () => {
932
+ Me.value && (be(), S.addItem(void 0, void 0));
933
933
  }, He = (o) => {
934
934
  le.value && (be(), S.addItem(void 0, { afterId: o.key }));
935
935
  }, Je = (o) => {
@@ -938,7 +938,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
938
938
  tt(o);
939
939
  return;
940
940
  }
941
- G.value && (Q(o), w.value.delete(o.key)), v("edit", o);
941
+ G.value && (Y(o), w.value.delete(o.key)), v("edit", o);
942
942
  }
943
943
  }, rt = (o) => {
944
944
  if (a.disabled || a.loading) return;
@@ -956,10 +956,10 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
956
956
  tt(o);
957
957
  return;
958
958
  }
959
- a.readonly && Y.value ? rt(o) : Je(o);
959
+ a.readonly && X.value ? rt(o) : Je(o);
960
960
  }
961
961
  }, {
962
- deleteDialog: Ne,
962
+ deleteDialog: Oe,
963
963
  deleteInFlight: Xe,
964
964
  deleteError: dt,
965
965
  onDeleteClick: Ct,
@@ -1015,7 +1015,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1015
1015
  }, Ye.set(o, V)), V;
1016
1016
  };
1017
1017
  ue(
1018
- () => Te.value,
1018
+ () => Be.value,
1019
1019
  (o) => {
1020
1020
  if (Ye.size === 0) return;
1021
1021
  const V = new Set(o.map((f) => f.key));
@@ -1043,7 +1043,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1043
1043
  );
1044
1044
  const $e = () => no(S, (o) => {
1045
1045
  const V = E.value.find((f) => f.key === o);
1046
- V && Q(V);
1046
+ V && Y(V);
1047
1047
  });
1048
1048
  return _a({
1049
1049
  hasErrors: S.hasErrors,
@@ -1103,20 +1103,20 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1103
1103
  L(o.$slots, "empty", {
1104
1104
  readonly: t.readonly,
1105
1105
  disabled: t.disabled,
1106
- actions: { add: Be }
1106
+ actions: { add: Fe }
1107
1107
  }, () => [
1108
1108
  s(eo, {
1109
1109
  title: qe.value,
1110
1110
  "add-label": ie.value,
1111
- "can-add": ze.value,
1112
- onAdd: Be
1111
+ "can-add": Me.value,
1112
+ onAdd: Fe
1113
1113
  }, null, 8, ["title", "add-label", "can-add"])
1114
1114
  ])
1115
- ])) : (g(!0), F(ne, { key: 4 }, Ze(Te.value, (f) => (g(), F("div", {
1115
+ ])) : (g(!0), F(ne, { key: 4 }, Ze(Be.value, (f) => (g(), F("div", {
1116
1116
  key: String(f.key),
1117
1117
  class: "a-le-row-wrapper"
1118
1118
  }, [
1119
- L(o.$slots, "before-item", X({ ref_for: !0 }, Ee(f))),
1119
+ L(o.$slots, "before-item", Q({ ref_for: !0 }, Ee(f))),
1120
1120
  K("div", {
1121
1121
  "data-id": String(f.key),
1122
1122
  role: "listitem",
@@ -1136,7 +1136,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1136
1136
  onClick: (oe) => he(f)
1137
1137
  }, [
1138
1138
  K("div", hl, [
1139
- L(o.$slots, "item-compact", X({ ref_for: !0 }, Ee(f)), () => [
1139
+ L(o.$slots, "item-compact", Q({ ref_for: !0 }, Ee(f)), () => [
1140
1140
  K("span", gl, P(Ut(f.raw)), 1)
1141
1141
  ]),
1142
1142
  f.unsaved ? (g(), U(to, {
@@ -1145,12 +1145,12 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1145
1145
  }, null, 8, ["dot-only"])) : M("", !0)
1146
1146
  ]),
1147
1147
  t.chips ? M("", !0) : (g(), F("div", pl, [
1148
- L(o.$slots, "item-status", X({ ref_for: !0 }, Ee(f)), () => [
1148
+ L(o.$slots, "item-status", Q({ ref_for: !0 }, Ee(f)), () => [
1149
1149
  t.statusField && f.raw[t.statusField] != null && f.raw[t.statusField] !== "" ? (g(), F("span", bl, P(f.raw[t.statusField]), 1)) : M("", !0)
1150
1150
  ])
1151
1151
  ])),
1152
1152
  K("div", kl, [
1153
- L(o.$slots, "item-actions", X({ ref_for: !0 }, Ee(f)), () => [
1153
+ L(o.$slots, "item-actions", Q({ ref_for: !0 }, Ee(f)), () => [
1154
1154
  t.chips && t.showDeleteButton && le.value ? (g(), U(q, {
1155
1155
  key: 0,
1156
1156
  icon: "",
@@ -1269,11 +1269,11 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1269
1269
  (f.editing || t.defaultExpanded) && o.$slots.item ? (g(), F(ne, { key: 0 }, [
1270
1270
  K("div", wl, [
1271
1271
  K("div", Cl, [
1272
- L(o.$slots, "item", X({ ref_for: !0 }, Ee(f)))
1272
+ L(o.$slots, "item", Q({ ref_for: !0 }, Ee(f)))
1273
1273
  ])
1274
1274
  ]),
1275
- L(o.$slots, "item-footer", X({ ref_for: !0 }, Ee(f)), () => [
1276
- Me.value && !t.defaultExpanded ? (g(), F("div", xl, [
1275
+ L(o.$slots, "item-footer", Q({ ref_for: !0 }, Ee(f)), () => [
1276
+ Ne.value && !t.defaultExpanded ? (g(), F("div", xl, [
1277
1277
  V[1] || (V[1] = K("div", { class: "a-le-row-footer-spacer" }, null, -1)),
1278
1278
  s(q, {
1279
1279
  variant: "text",
@@ -1301,23 +1301,22 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1301
1301
  ])
1302
1302
  ], 64)) : o.$slots["item-readonly"] && (t.readonly || f.expanded) ? (g(), F("div", Sl, [
1303
1303
  K("div", Al, [
1304
- L(o.$slots, "item-readonly", X({ ref_for: !0 }, Ee(f)))
1304
+ L(o.$slots, "item-readonly", Q({ ref_for: !0 }, Ee(f)))
1305
1305
  ])
1306
1306
  ])) : M("", !0)
1307
1307
  ], 42, vl),
1308
- L(o.$slots, "after-item", X({ ref_for: !0 }, Ee(f)))
1308
+ L(o.$slots, "after-item", Q({ ref_for: !0 }, Ee(f)))
1309
1309
  ]))), 128)),
1310
- ze.value && !t.loading && !t.error && !st.value ? L(o.$slots, "add-button", {
1311
- key: 5,
1310
+ Me.value && !t.loading && !t.error && !st.value ? L(o.$slots, "add-button", {
1312
1311
  readonly: t.readonly,
1313
1312
  disabled: t.disabled,
1314
- props: { onClick: Be },
1315
- actions: { add: Be }
1313
+ props: { onClick: Fe },
1314
+ actions: { add: Fe }
1316
1315
  }, () => [
1317
1316
  K("button", {
1318
1317
  type: "button",
1319
1318
  class: "a-le-row-add",
1320
- onClick: Be
1319
+ onClick: Fe
1321
1320
  }, [
1322
1321
  s(H, {
1323
1322
  icon: "mdi-plus",
@@ -1325,11 +1324,11 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1325
1324
  }),
1326
1325
  K("span", null, P(ie.value), 1)
1327
1326
  ])
1328
- ]) : M("", !0)
1327
+ ], void 0, 5) : M("", !0)
1329
1328
  ], 512),
1330
1329
  s(ao, {
1331
- modelValue: c(Ne),
1332
- "onUpdate:modelValue": V[0] || (V[0] = (f) => so(Ne) ? Ne.value = f : null),
1330
+ modelValue: c(Oe),
1331
+ "onUpdate:modelValue": V[0] || (V[0] = (f) => so(Oe) ? Oe.value = f : null),
1333
1332
  title: bt.value,
1334
1333
  text: ye.value,
1335
1334
  "confirm-label": c(y)("common.sortable.delete"),
@@ -1456,7 +1455,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1456
1455
  }, Ul = {
1457
1456
  key: 1,
1458
1457
  class: "a-le-row-body"
1459
- }, jl = { class: "a-le-form" }, ql = ["data-parent-id"], Gl = "a-nested-list-editor__group", Wl = "a-le-drag-handle", yo = /* @__PURE__ */ Ve({
1458
+ }, jl = { class: "a-le-form" }, ql = ["data-parent-id"], Gl = "a-nested-list-editor__group", Wl = "a-le-drag-handle", yo = /* @__PURE__ */ ze({
1460
1459
  __name: "LeNestedRow",
1461
1460
  props: {
1462
1461
  vi: {},
@@ -1485,7 +1484,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1485
1484
  tabindex: t.context.keyboardNav ? t.context.keyboardNav.rowTabindex(t.vi.key) : void 0,
1486
1485
  onKeydown: p[17] || (p[17] = ($) => t.context.keyboardNav ? t.context.keyboardNav.handleKeydown(t.vi.key, $) : void 0)
1487
1486
  }, [
1488
- L(k.$slots, "before-item", De(Ue(y()))),
1487
+ L(k.$slots, "before-item", De(Ie(y()))),
1489
1488
  K("div", {
1490
1489
  class: we([
1491
1490
  "a-le-row",
@@ -1531,7 +1530,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1531
1530
  K("span", { class: "a-nested-list-editor__tree-toggle-caret" }, null, -1)
1532
1531
  ])], 10, Tl)) : t.context.showExpandToggle ? (g(), F("span", Bl)) : M("", !0),
1533
1532
  K("div", Fl, [
1534
- L(k.$slots, "item-compact", De(Ue(y())), () => [
1533
+ L(k.$slots, "item-compact", De(Ie(y())), () => [
1535
1534
  K("span", Rl, P(t.context.resolveCompactText(t.vi.raw, t.vi.key)), 1)
1536
1535
  ]),
1537
1536
  t.vi.hasChildren ? (g(), F("span", Kl, [
@@ -1544,12 +1543,12 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1544
1543
  t.vi.unsaved ? (g(), U(to, { key: 1 })) : M("", !0)
1545
1544
  ]),
1546
1545
  t.context.reorderMode ? M("", !0) : (g(), F("div", Ll, [
1547
- L(k.$slots, "item-status", De(Ue(y())), () => [
1546
+ L(k.$slots, "item-status", De(Ie(y())), () => [
1548
1547
  t.context.statusField && t.vi.raw[t.context.statusField] != null && t.vi.raw[t.context.statusField] !== "" ? (g(), F("span", Vl, P(t.vi.raw[t.context.statusField]), 1)) : M("", !0)
1549
1548
  ])
1550
1549
  ])),
1551
1550
  K("div", zl, [
1552
- L(k.$slots, "item-actions", De(Ue(y())), () => [
1551
+ L(k.$slots, "item-actions", De(Ie(y())), () => [
1553
1552
  t.context.reorderMode ? (g(), F(ne, { key: 0 }, [
1554
1553
  s(q, {
1555
1554
  icon: "",
@@ -1867,10 +1866,10 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1867
1866
  t.vi.editing && !t.context.reorderMode && k.$slots.item ? (g(), F(ne, { key: 0 }, [
1868
1867
  K("div", Ml, [
1869
1868
  K("div", Nl, [
1870
- L(k.$slots, "item", De(Ue(y())))
1869
+ L(k.$slots, "item", De(Ie(y())))
1871
1870
  ])
1872
1871
  ]),
1873
- L(k.$slots, "item-footer", De(Ue(y())), () => [
1872
+ L(k.$slots, "item-footer", De(Ie(y())), () => [
1874
1873
  t.context.showInlineSaveFooter ? (g(), F("div", Ol, [
1875
1874
  p[19] || (p[19] = K("div", { class: "a-le-row-footer-spacer" }, null, -1)),
1876
1875
  s(q, {
@@ -1899,11 +1898,11 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1899
1898
  ])
1900
1899
  ], 64)) : k.$slots["item-readonly"] && (t.context.readonly || t.vi.expanded) && !t.context.reorderMode ? (g(), F("div", Ul, [
1901
1900
  K("div", jl, [
1902
- L(k.$slots, "item-readonly", De(Ue(y())))
1901
+ L(k.$slots, "item-readonly", De(Ie(y())))
1903
1902
  ])
1904
1903
  ])) : M("", !0)
1905
1904
  ], 6),
1906
- L(k.$slots, "after-item", De(Ue(y()))),
1905
+ L(k.$slots, "after-item", De(Ie(y()))),
1907
1906
  t.vi.hasChildren && t.vi.childrenExpanded ? (g(), F("div", {
1908
1907
  key: 0,
1909
1908
  class: "a-nested-list-editor__children",
@@ -1922,28 +1921,28 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1922
1921
  callbacks: t.callbacks
1923
1922
  }, {
1924
1923
  item: r((I) => [
1925
- L(k.$slots, "item", X({ ref_for: !0 }, I))
1924
+ L(k.$slots, "item", Q({ ref_for: !0 }, I))
1926
1925
  ]),
1927
1926
  "item-compact": r((I) => [
1928
- L(k.$slots, "item-compact", X({ ref_for: !0 }, I))
1927
+ L(k.$slots, "item-compact", Q({ ref_for: !0 }, I))
1929
1928
  ]),
1930
1929
  "item-readonly": r((I) => [
1931
- L(k.$slots, "item-readonly", X({ ref_for: !0 }, I))
1930
+ L(k.$slots, "item-readonly", Q({ ref_for: !0 }, I))
1932
1931
  ]),
1933
1932
  "item-status": r((I) => [
1934
- L(k.$slots, "item-status", X({ ref_for: !0 }, I))
1933
+ L(k.$slots, "item-status", Q({ ref_for: !0 }, I))
1935
1934
  ]),
1936
1935
  "item-footer": r((I) => [
1937
- L(k.$slots, "item-footer", X({ ref_for: !0 }, I))
1936
+ L(k.$slots, "item-footer", Q({ ref_for: !0 }, I))
1938
1937
  ]),
1939
1938
  "item-actions": r((I) => [
1940
- L(k.$slots, "item-actions", X({ ref_for: !0 }, I))
1939
+ L(k.$slots, "item-actions", Q({ ref_for: !0 }, I))
1941
1940
  ]),
1942
1941
  "before-item": r((I) => [
1943
- L(k.$slots, "before-item", X({ ref_for: !0 }, I))
1942
+ L(k.$slots, "before-item", Q({ ref_for: !0 }, I))
1944
1943
  ]),
1945
1944
  "after-item": r((I) => [
1946
- L(k.$slots, "after-item", X({ ref_for: !0 }, I))
1945
+ L(k.$slots, "after-item", Q({ ref_for: !0 }, I))
1947
1946
  ]),
1948
1947
  _: 3
1949
1948
  }, 8, ["vi", "view-items", "drag-state", "context", "callbacks"]))), 128))
@@ -1951,9 +1950,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1951
1950
  ], 4)) : M("", !0)
1952
1951
  ], 42, Il));
1953
1952
  }
1954
- }), Hl = { class: "text-body-medium mb-2" }, Jl = /* @__PURE__ */ Ve({
1953
+ }), Hl = { class: "text-body-medium mb-2" }, Jl = /* @__PURE__ */ ze({
1955
1954
  __name: "LeChangeParentDialog",
1956
- props: /* @__PURE__ */ Ie({
1955
+ props: /* @__PURE__ */ Te({
1957
1956
  tree: {},
1958
1957
  sourceKey: {},
1959
1958
  keyField: {},
@@ -1964,7 +1963,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1964
1963
  modelValue: { type: Boolean, required: !0 },
1965
1964
  modelModifiers: {}
1966
1965
  }),
1967
- emits: /* @__PURE__ */ Ie(["confirm"], ["update:modelValue"]),
1966
+ emits: /* @__PURE__ */ Te(["confirm"], ["update:modelValue"]),
1968
1967
  setup(t, { emit: C }) {
1969
1968
  const u = t, a = C, v = it(t, "modelValue"), { t: h } = je(), y = _(void 0), x = _("last");
1970
1969
  ue(v, (d) => {
@@ -1976,11 +1975,11 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
1976
1975
  const D = (w) => {
1977
1976
  for (const i of w) {
1978
1977
  if (i.data[u.keyField] === u.sourceKey) {
1979
- const Y = (ee) => {
1978
+ const X = (ee) => {
1980
1979
  for (const W of ee)
1981
- d.add(W.data[u.keyField]), W.children?.length && Y(W.children);
1980
+ d.add(W.data[u.keyField]), W.children?.length && X(W.children);
1982
1981
  };
1983
- return i.children?.length && Y(i.children), !0;
1982
+ return i.children?.length && X(i.children), !0;
1984
1983
  }
1985
1984
  if (i.children?.length && D(i.children)) return !0;
1986
1985
  }
@@ -2023,17 +2022,17 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2023
2022
  reason: $.value === null ? "currentParent" : null
2024
2023
  });
2025
2024
  const w = (i, G) => {
2026
- for (const Y of i) {
2027
- const ee = Y.data[u.keyField];
2028
- let W = !1, Q = null;
2029
- ee === u.sourceKey ? (W = !0, Q = "self") : k.value.has(ee) ? (W = !0, Q = "descendant") : $.value !== void 0 && $.value === ee ? (W = !0, Q = "currentParent") : G + 1 + D > u.maxDepth && (W = !0, Q = "maxDepth"), d.push({
2025
+ for (const X of i) {
2026
+ const ee = X.data[u.keyField];
2027
+ let W = !1, Y = null;
2028
+ ee === u.sourceKey ? (W = !0, Y = "self") : k.value.has(ee) ? (W = !0, Y = "descendant") : $.value !== void 0 && $.value === ee ? (W = !0, Y = "currentParent") : G + 1 + D > u.maxDepth && (W = !0, Y = "maxDepth"), d.push({
2030
2029
  key: ee,
2031
2030
  depth: G + 1,
2032
- label: u.resolveLabel(Y.data, ee),
2033
- hasChildren: !!(Y.children && Y.children.length > 0),
2031
+ label: u.resolveLabel(X.data, ee),
2032
+ hasChildren: !!(X.children && X.children.length > 0),
2034
2033
  disallowed: W,
2035
- reason: Q
2036
- }), Y.children?.length && w(Y.children, G + 1);
2034
+ reason: Y
2035
+ }), X.children?.length && w(X.children, G + 1);
2037
2036
  }
2038
2037
  };
2039
2038
  return w(u.tree.children, 0), d;
@@ -2205,9 +2204,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2205
2204
  class: "a-le-sr-only",
2206
2205
  "aria-live": "polite",
2207
2206
  role: "status"
2208
- }, Aa = "a-nested-list-editor__group", ni = "a-le-drag-handle", Ea = 24, Pa = 22, Ni = /* @__PURE__ */ Ve({
2207
+ }, Aa = "a-nested-list-editor__group", ni = "a-le-drag-handle", Ea = 24, Pa = 22, Ni = /* @__PURE__ */ ze({
2209
2208
  __name: "ANestedSortableListEditor",
2210
- props: /* @__PURE__ */ Ie({
2209
+ props: /* @__PURE__ */ Te({
2211
2210
  maxDepth: {},
2212
2211
  factory: { type: Function, default: void 0 },
2213
2212
  getKey: { type: [String, Function], default: void 0 },
@@ -2256,7 +2255,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2256
2255
  mode: { default: "view" },
2257
2256
  modeModifiers: {}
2258
2257
  }),
2259
- emits: /* @__PURE__ */ Ie(["add", "add-child", "edit", "deleted", "close", "item-saved", "item-expand", "reorder-start", "reorder-cancel", "reorder-applied", "reorder-apply-error", "reorder-end", "indent", "outdent"], ["update:modelValue", "update:mode"]),
2258
+ emits: /* @__PURE__ */ Te(["add", "add-child", "edit", "deleted", "close", "item-saved", "item-expand", "reorder-start", "reorder-cancel", "reorder-applied", "reorder-apply-error", "reorder-end", "indent", "outdent"], ["update:modelValue", "update:mode"]),
2260
2259
  setup(t, { expose: C, emit: u }) {
2261
2260
  const a = t, v = u, h = it(t, "modelValue"), y = it(t, "mode"), { t: x } = je(), k = io(), { showWarningT: p } = Ha(), $ = zt("rootEl"), { isNarrow: I } = vn($), R = yn(), S = b(() => a.closeVariant === "icon" ? "icon" : a.closeVariant === "labeled" ? "labeled" : I.value ? "icon" : "labeled"), m = _(/* @__PURE__ */ new Set()), T = _(/* @__PURE__ */ new Set()), z = a.getKey ?? "id", B = typeof z == "function" ? "id" : z, O = (e) => typeof z == "function" ? z(e) : e[z], E = (() => {
2262
2261
  const e = a.position;
@@ -2279,7 +2278,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2279
2278
  maxDepth: a.maxDepth,
2280
2279
  dirtyExclude: () => a.dirtyExclude ?? [],
2281
2280
  validate: a.validate
2282
- }, w = a.editor ? null : hn(a.stateKey, D), i = a.editor ?? w?.handle ?? gn(D), G = Ja(w?.childScope ?? null), Y = b(() => {
2281
+ }, w = a.editor ? null : hn(a.stateKey, D), i = a.editor ?? w?.handle ?? gn(D), G = Ja(w?.childScope ?? null), X = b(() => {
2283
2282
  const e = [];
2284
2283
  let l = 0;
2285
2284
  const n = a.maxDepth, A = (j, te, pe) => {
@@ -2310,11 +2309,11 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2310
2309
  return A(h.value.children, 0, null), e;
2311
2310
  });
2312
2311
  ue(
2313
- () => Y.value.map((e) => String(e.key)).join("|"),
2314
- () => G.retainOwners(Y.value.map((e) => e.key)),
2312
+ () => X.value.map((e) => String(e.key)).join("|"),
2313
+ () => G.retainOwners(X.value.map((e) => e.key)),
2315
2314
  { flush: "post" }
2316
2315
  );
2317
- const ee = aa(null), W = _(/* @__PURE__ */ new Set()), Q = _(/* @__PURE__ */ new Set()), me = _(/* @__PURE__ */ new Set()), ve = () => {
2316
+ const ee = aa(null), W = _(/* @__PURE__ */ new Set()), Y = _(/* @__PURE__ */ new Set()), me = _(/* @__PURE__ */ new Set()), ve = () => {
2318
2317
  i.commit(), W.value = /* @__PURE__ */ new Set();
2319
2318
  }, ae = (e) => {
2320
2319
  const { node: l } = i.findNode(e);
@@ -2328,9 +2327,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2328
2327
  n(l);
2329
2328
  }, be = /* @__PURE__ */ new Map(), ie = b(() => {
2330
2329
  const e = [], l = /* @__PURE__ */ new Set();
2331
- for (const n of Y.value) {
2330
+ for (const n of X.value) {
2332
2331
  l.add(n.key);
2333
- const A = Me.value.has(n.key), j = T.value.has(n.key), te = m.value.has(n.key), pe = a.loadingKeys?.has(n.key) ?? !1, se = W.value.has(n.key), ce = a.readonly ? !1 : i.isUnsaved(n.key), Qe = a.readonly ? !1 : ce || se, Z = be.get(n.key);
2332
+ const A = Ne.value.has(n.key), j = T.value.has(n.key), te = m.value.has(n.key), pe = a.loadingKeys?.has(n.key) ?? !1, se = W.value.has(n.key), ce = a.readonly ? !1 : i.isUnsaved(n.key), Qe = a.readonly ? !1 : ce || se, Z = be.get(n.key);
2334
2333
  if (Z && Z.raw === n.raw && Z.index === n.index && Z.position === n.position && Z.depth === n.depth && Z.parentKey === n.parentKey && Z.childrenCount === n.childrenCount && Z.firstInParent === n.firstInParent && Z.lastInParent === n.lastInParent && Z.editing === A && Z.expanded === j && Z.childrenExpanded === te && Z.loading === pe && Z.dirty === ce && Z.moved === se && Z.unsaved === Qe) {
2335
2334
  e.push(Z);
2336
2335
  continue;
@@ -2350,17 +2349,17 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2350
2349
  for (const n of be.keys())
2351
2350
  l.has(n) || be.delete(n);
2352
2351
  return e;
2353
- }), qe = b(() => h.value.children.length === 0), bt = b(() => Y.value.length), ye = zt("rowsContainer"), le = b(() => !a.readonly && !a.disabled && !a.loading), ze = b(
2352
+ }), qe = b(() => h.value.children.length === 0), bt = b(() => X.value.length), ye = zt("rowsContainer"), le = b(() => !a.readonly && !a.disabled && !a.loading), Me = b(
2354
2353
  () => le.value && !a.disableReorder && bt.value > 1
2355
2354
  ), _e = b(() => !!k.item), kt = b(() => !!k["item-readonly"]), Ot = b(() => !!a.onItemSave), {
2356
- editingKeys: Me,
2355
+ editingKeys: Ne,
2357
2356
  editingSnapshots: Ge,
2358
- clearEditing: Te,
2357
+ clearEditing: Be,
2359
2358
  beginEdit: st,
2360
2359
  cancelEdit: Ae,
2361
2360
  commitEdit: We,
2362
2361
  closeEdit: Ut,
2363
- requestAutoOpen: Be
2362
+ requestAutoOpen: Fe
2364
2363
  } = Xa({
2365
2364
  rowsContainer: ye,
2366
2365
  rowSelector: ".a-le-row-wrapper",
@@ -2389,7 +2388,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2389
2388
  hasPendingChanges: rt,
2390
2389
  movedCount: wt,
2391
2390
  reorderMode: he,
2392
- enterReorderMode: Ne,
2391
+ enterReorderMode: Oe,
2393
2392
  cancelReorderMode: Xe,
2394
2393
  applyReorder: dt
2395
2394
  } = pn({
@@ -2401,28 +2400,28 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2401
2400
  applyModel: (e) => {
2402
2401
  h.value = e;
2403
2402
  },
2404
- canEnterReorder: ze,
2403
+ canEnterReorder: Me,
2405
2404
  onEnter: () => {
2406
- Q.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Te();
2405
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Be();
2407
2406
  for (const e of $e.value) m.value.add(e);
2408
- Ke(() => {
2407
+ Le(() => {
2409
2408
  ke.value && ot();
2410
2409
  });
2411
2410
  },
2412
2411
  onExternalEnter: () => {
2413
- Q.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Te();
2412
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Be();
2414
2413
  },
2415
2414
  // Cancel: the snapshot-restore has brought every deleted row back; reconcile the controller so a
2416
2415
  // deferred delete truly reverts (clear tombstone, row stays) and an immediate delete stays gone (row
2417
2416
  // removed again — it is deleted on the backend and must not resurrect / be re-created by a save).
2418
2417
  onCancel: () => {
2419
- for (const e of Q.value) i.restoreDeleted(e);
2418
+ for (const e of Y.value) i.restoreDeleted(e);
2420
2419
  for (const e of me.value)
2421
2420
  i.deleteItem(e, { trackDeleted: !1 });
2422
- Q.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Re();
2421
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2423
2422
  },
2424
2423
  onApplyEnd: () => {
2425
- Q.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Re();
2424
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2426
2425
  },
2427
2426
  onReorderApply: (e) => a.onReorderApply?.(e),
2428
2427
  emit: {
@@ -2433,9 +2432,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2433
2432
  reorderEnd: () => v("reorder-end")
2434
2433
  }
2435
2434
  }), Ct = b(
2436
- () => wt.value + Q.value.size
2435
+ () => wt.value + Y.value.size
2437
2436
  ), et = b(
2438
- () => rt.value || Q.value.size > 0
2437
+ () => rt.value || Y.value.size > 0
2439
2438
  ), ct = b(() => le.value && a.showAddButton && !he.value), ke = b(() => he.value && !R.value && !a.disableDrag), ut = b(
2440
2439
  () => a.addLabel ? x(a.addLabel) : x("common.sortable.add")
2441
2440
  ), xt = b(() => a.emptyTitle ?? x("common.sortable.emptyTitle")), tt = b(
@@ -2461,13 +2460,13 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2461
2460
  for (const e of $e.value) m.value.add(e);
2462
2461
  }, oe = b(
2463
2462
  () => !!(a.title || k.header || k["reorder-toggle"] || St.value || V.value || he.value)
2464
- ), Fe = _([]), Ce = _(0), Re = () => {
2465
- for (const e of Fe.value)
2463
+ ), Re = _([]), Ce = _(0), Ke = () => {
2464
+ for (const e of Re.value)
2466
2465
  try {
2467
2466
  e.stop();
2468
2467
  } catch {
2469
2468
  }
2470
- Fe.value = [];
2469
+ Re.value = [];
2471
2470
  }, ge = _(null), At = (e, l) => {
2472
2471
  const n = document.elementFromPoint(e, l);
2473
2472
  if (!n) return null;
@@ -2507,12 +2506,12 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2507
2506
  de(e.clientX, e.clientY);
2508
2507
  }, ho = (e, l) => {
2509
2508
  if (!i.moveTo(l, e.parentKey, e.index)) {
2510
- p("common.sortable.error.maxDeepExceed"), Ce.value++, Ke(() => ot());
2509
+ p("common.sortable.error.maxDeepExceed"), Ce.value++, Le(() => ot());
2511
2510
  return;
2512
2511
  }
2513
2512
  ae(l), e.makeChild && e.parentKey !== null && m.value.add(e.parentKey);
2514
2513
  }, ot = () => {
2515
- if (Re(), !ke.value || !ye.value) return;
2514
+ if (Ke(), !ke.value || !ye.value) return;
2516
2515
  const e = Array.from(ye.value.querySelectorAll("." + Aa));
2517
2516
  for (const l of e) {
2518
2517
  const n = Cn(l, [], {
@@ -2555,7 +2554,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2555
2554
  j !== null && j.type !== "blocked" && ho(j, A.sourceKey);
2556
2555
  }
2557
2556
  });
2558
- Fe.value.push(n);
2557
+ Re.value.push(n);
2559
2558
  }
2560
2559
  }, ca = (e) => {
2561
2560
  if (e === null || e === "") return null;
@@ -2565,24 +2564,24 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2565
2564
  ue(
2566
2565
  () => ke.value,
2567
2566
  () => {
2568
- ke.value ? Ke(() => ot()) : Re();
2567
+ ke.value ? Le(() => ot()) : Ke();
2569
2568
  }
2570
2569
  ), ue(
2571
2570
  () => Ce.value,
2572
2571
  () => {
2573
- ke.value && Ke(() => ot());
2572
+ ke.value && Le(() => ot());
2574
2573
  }
2575
2574
  ), ue(
2576
2575
  () => ie.value.map((e) => e.key).join("|"),
2577
2576
  () => {
2578
- ke.value && Ke(() => ot());
2577
+ ke.value && Le(() => ot());
2579
2578
  }
2580
2579
  ), la(() => {
2581
2580
  ke.value && ot();
2582
2581
  }), na(() => {
2583
- Re(), document.removeEventListener("pointermove", at);
2582
+ Ke(), document.removeEventListener("pointermove", at);
2584
2583
  });
2585
- const Oe = b(() => {
2584
+ const Ue = b(() => {
2586
2585
  const e = ge.value;
2587
2586
  if (!e || e.instruction === null || !ye.value) return null;
2588
2587
  const l = e.instruction;
@@ -2608,14 +2607,14 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2608
2607
  }
2609
2608
  return { line: ce, connector: Qe };
2610
2609
  }), ft = () => {
2611
- ct.value && (Be(), a.factory && i.addItem(), v("add", void 0));
2610
+ ct.value && (Fe(), a.factory && i.addItem(), v("add", void 0));
2612
2611
  }, ua = (e) => {
2613
- le.value && (Be(), a.factory && i.addAfter(e.key, void 0, e.childrenAllowed), v("add", { afterId: e.key, childrenAllowed: e.childrenAllowed }));
2612
+ le.value && (Fe(), a.factory && i.addAfter(e.key, void 0, e.childrenAllowed), v("add", { afterId: e.key, childrenAllowed: e.childrenAllowed }));
2614
2613
  }, fa = (e) => {
2615
- le.value && e.canAddChild && (Be(), m.value.add(e.key), v("add-child", e), a.factory && i.addChild(e.key, void 0, !0), v("add", { parentId: e.key, childrenAllowed: !0 }));
2614
+ le.value && e.canAddChild && (Fe(), m.value.add(e.key), v("add-child", e), a.factory && i.addChild(e.key, void 0, !0), v("add", { parentId: e.key, childrenAllowed: !0 }));
2616
2615
  }, Et = (e) => {
2617
2616
  if (!(!le.value || he.value)) {
2618
- if (Me.value.has(e.key)) {
2617
+ if (Ne.value.has(e.key)) {
2619
2618
  mt(e);
2620
2619
  return;
2621
2620
  }
@@ -2648,9 +2647,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2648
2647
  onDeleteConfirm: (e) => a.onDeleteConfirm ? a.onDeleteConfirm(e) : !0,
2649
2648
  onDelete: (e) => a.onDelete?.(e),
2650
2649
  onDeleted: (e) => {
2651
- Me.value.delete(e.key), Ge.value.delete(e.key), T.value.delete(e.key), m.value.delete(e.key);
2650
+ Ne.value.delete(e.key), Ge.value.delete(e.key), T.value.delete(e.key), m.value.delete(e.key);
2652
2651
  const l = a.deleteMode === "deferred";
2653
- he.value && (l ? Q.value.add(e.key) : me.value.add(e.key)), i.deleteItem(e.key, { trackDeleted: l }), v("deleted", e);
2652
+ he.value && (l ? Y.value.add(e.key) : me.value.add(e.key)), i.deleteItem(e.key, { trackDeleted: l }), v("deleted", e);
2654
2653
  },
2655
2654
  disableDeleteConfirm: () => a.disableDeleteConfirm
2656
2655
  }), ya = async (e) => {
@@ -2677,7 +2676,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2677
2676
  ae(e.key), v("indent", e);
2678
2677
  }, Yt = (e) => {
2679
2678
  i.outdent(e.key) && (ae(e.key), v("outdent", e));
2680
- }, Qt = (e) => oo(e, { compactField: a.compactField }), pa = (e, l) => l === void 0 ? null : i.rowState(e, l, Me.value.has(l)), vt = /* @__PURE__ */ new Map(), xo = (e) => {
2679
+ }, Qt = (e) => oo(e, { compactField: a.compactField }), pa = (e, l) => l === void 0 ? null : i.rowState(e, l, Ne.value.has(l)), vt = /* @__PURE__ */ new Map(), xo = (e) => {
2681
2680
  let l = vt.get(e);
2682
2681
  return l || (l = {
2683
2682
  edit: () => {
@@ -2781,10 +2780,10 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2781
2780
  }
2782
2781
  })), ba = b(() => ({
2783
2782
  mode: y.value,
2784
- disabled: !ze.value,
2783
+ disabled: !Me.value,
2785
2784
  hasPendingChanges: rt.value,
2786
2785
  actions: {
2787
- enterReorderMode: Ne,
2786
+ enterReorderMode: Oe,
2788
2787
  exitReorderMode: Xe
2789
2788
  }
2790
2789
  })), Eo = b(() => new Set($e.value)), re = (e) => ie.value.find((l) => l.key === e), Pt = Ya({
@@ -2800,7 +2799,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2800
2799
  variant: "nested",
2801
2800
  isReorderMode: he,
2802
2801
  disabled: b(() => !le.value),
2803
- isEditing: (e) => Me.value.has(e),
2802
+ isEditing: (e) => Ne.value.has(e),
2804
2803
  onToggleEdit: (e) => {
2805
2804
  const l = re(e);
2806
2805
  l && Et(l);
@@ -2889,12 +2888,12 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2889
2888
  outdent: Yt,
2890
2889
  openMoveToPosition: $o,
2891
2890
  openChangeParent: Io
2892
- }, Ro = b(() => ie.value.filter((e) => e.parentKey === null)), Ko = (e, l, n) => (i.addItem(l, { afterId: e ?? void 0, childrenAllowed: n }), Ke(() => i.commit()), h.value), Lo = (e, l, n) => (m.value.add(e), i.addItem(l, { parentId: e, asFirstChild: !0, childrenAllowed: n }), Ke(() => i.commit()), h.value), Vo = (e) => {
2893
- i.deleteItem(e), Me.value.delete(e), Ge.value.delete(e), T.value.delete(e), m.value.delete(e), Ke(() => i.commit());
2891
+ }, Ro = b(() => ie.value.filter((e) => e.parentKey === null)), Ko = (e, l, n) => (i.addItem(l, { afterId: e ?? void 0, childrenAllowed: n }), Le(() => i.commit()), h.value), Lo = (e, l, n) => (m.value.add(e), i.addItem(l, { parentId: e, asFirstChild: !0, childrenAllowed: n }), Le(() => i.commit()), h.value), Vo = (e) => {
2892
+ i.deleteItem(e), Ne.value.delete(e), Ge.value.delete(e), T.value.delete(e), m.value.delete(e), Le(() => i.commit());
2894
2893
  }, zo = (e, l, n = null, A = null, j = null) => {
2895
- i.updateItem(e, l), Ke(() => i.commit());
2894
+ i.updateItem(e, l), Le(() => i.commit());
2896
2895
  }, Mo = i.unsavedCount, No = () => {
2897
- i.commit(), W.value = /* @__PURE__ */ new Set(), Te();
2896
+ i.commit(), W.value = /* @__PURE__ */ new Set(), Be();
2898
2897
  };
2899
2898
  Za(
2900
2899
  () => a.unsavedSectionLabel ? { label: a.unsavedSectionLabel, dirty: i.hasUnsaved.value } : []
@@ -2924,8 +2923,8 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2924
2923
  unsavedCount: Mo,
2925
2924
  clearUnsavedState: No,
2926
2925
  // Expand-aware flattened view (controller's own `viewItems` ignores collapse state).
2927
- viewItems: Y,
2928
- enterReorderMode: Ne,
2926
+ viewItems: X,
2927
+ enterReorderMode: Oe,
2929
2928
  cancelReorderMode: Xe,
2930
2929
  applyReorder: dt,
2931
2930
  expand: (e) => m.value.add(e),
@@ -2950,10 +2949,10 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2950
2949
  }, [
2951
2950
  K("div", Yl, [
2952
2951
  oe.value ? (g(), F("div", Ql, [
2953
- L(e.$slots, "header", X({ title: t.title }, ba.value), () => [
2952
+ L(e.$slots, "header", Q({ title: t.title }, ba.value), () => [
2954
2953
  t.title ? (g(), F("h3", Zl, P(t.title), 1)) : M("", !0),
2955
2954
  K("div", _l, [
2956
- c(he) ? L(e.$slots, "reorder-toolbar", De(X({ key: 0 }, Ao.value)), () => [
2955
+ c(he) ? L(e.$slots, "reorder-toolbar", De(Ie(Ao.value)), () => [
2957
2956
  s(bn, {
2958
2957
  class: we({ "a-le-toolbar-status--pending": et.value }),
2959
2958
  "has-pending-changes": et.value,
@@ -2985,7 +2984,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
2985
2984
  ]),
2986
2985
  _: 1
2987
2986
  }, 8, ["loading", "disabled", "onClick"])
2988
- ]) : (g(), F(ne, { key: 1 }, [
2987
+ ], void 0, 0) : (g(), F(ne, { key: 1 }, [
2989
2988
  V.value && Ee.value ? (g(), U(q, {
2990
2989
  key: 0,
2991
2990
  variant: "tonal",
@@ -3019,15 +3018,15 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3019
3018
  ]),
3020
3019
  _: 1
3021
3020
  }, 8, ["prepend-icon"])) : M("", !0),
3022
- St.value ? L(e.$slots, "reorder-toggle", De(X({ key: 2 }, ba.value)), () => [
3021
+ St.value ? L(e.$slots, "reorder-toggle", De(Ie(ba.value)), () => [
3023
3022
  Ee.value ? (g(), U(q, {
3024
3023
  key: 0,
3025
3024
  variant: "tonal",
3026
3025
  color: "primary",
3027
3026
  icon: "",
3028
3027
  size: "x-small",
3029
- disabled: !ze.value,
3030
- onClick: c(Ne)
3028
+ disabled: !Me.value,
3029
+ onClick: c(Oe)
3031
3030
  }, {
3032
3031
  default: r(() => [
3033
3032
  s(H, {
@@ -3047,15 +3046,15 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3047
3046
  color: "primary",
3048
3047
  "prepend-icon": "mdi-sort",
3049
3048
  size: "small",
3050
- disabled: !ze.value,
3051
- onClick: c(Ne)
3049
+ disabled: !Me.value,
3050
+ onClick: c(Oe)
3052
3051
  }, {
3053
3052
  default: r(() => [
3054
3053
  N(P(c(x)("common.sortable.reorder")), 1)
3055
3054
  ]),
3056
3055
  _: 1
3057
3056
  }, 8, ["disabled", "onClick"]))
3058
- ]) : M("", !0)
3057
+ ], void 0, 2) : M("", !0)
3059
3058
  ], 64))
3060
3059
  ])
3061
3060
  ])
@@ -3110,48 +3109,48 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3110
3109
  callbacks: Fo
3111
3110
  }, {
3112
3111
  item: r((A) => [
3113
- L(e.$slots, "item", X({ ref_for: !0 }, A))
3112
+ L(e.$slots, "item", Q({ ref_for: !0 }, A))
3114
3113
  ]),
3115
3114
  "item-compact": r((A) => [
3116
- L(e.$slots, "item-compact", X({ ref_for: !0 }, A))
3115
+ L(e.$slots, "item-compact", Q({ ref_for: !0 }, A))
3117
3116
  ]),
3118
3117
  "item-readonly": r((A) => [
3119
- L(e.$slots, "item-readonly", X({ ref_for: !0 }, A))
3118
+ L(e.$slots, "item-readonly", Q({ ref_for: !0 }, A))
3120
3119
  ]),
3121
3120
  "item-status": r((A) => [
3122
- L(e.$slots, "item-status", X({ ref_for: !0 }, A))
3121
+ L(e.$slots, "item-status", Q({ ref_for: !0 }, A))
3123
3122
  ]),
3124
3123
  "item-footer": r((A) => [
3125
- L(e.$slots, "item-footer", X({ ref_for: !0 }, A))
3124
+ L(e.$slots, "item-footer", Q({ ref_for: !0 }, A))
3126
3125
  ]),
3127
3126
  "item-actions": r((A) => [
3128
- L(e.$slots, "item-actions", X({ ref_for: !0 }, A))
3127
+ L(e.$slots, "item-actions", Q({ ref_for: !0 }, A))
3129
3128
  ]),
3130
3129
  "before-item": r((A) => [
3131
- L(e.$slots, "before-item", X({ ref_for: !0 }, A))
3130
+ L(e.$slots, "before-item", Q({ ref_for: !0 }, A))
3132
3131
  ]),
3133
3132
  "after-item": r((A) => [
3134
- L(e.$slots, "after-item", X({ ref_for: !0 }, A))
3133
+ L(e.$slots, "after-item", Q({ ref_for: !0 }, A))
3135
3134
  ]),
3136
3135
  _: 3
3137
3136
  }, 8, ["vi", "view-items", "drag-state", "context"]))), 128))
3138
3137
  ], 2),
3139
- Oe.value !== null ? (g(), F(ne, { key: 0 }, [
3140
- Oe.value.connector !== null ? (g(), F("div", {
3138
+ Ue.value !== null ? (g(), F(ne, { key: 0 }, [
3139
+ Ue.value.connector !== null ? (g(), F("div", {
3141
3140
  key: 0,
3142
3141
  class: "a-nested-list-editor__drop-connector",
3143
3142
  style: gt({
3144
- left: `${Oe.value.connector.left}px`,
3145
- top: `${Oe.value.connector.top}px`,
3146
- height: `${Oe.value.connector.height}px`
3143
+ left: `${Ue.value.connector.left}px`,
3144
+ top: `${Ue.value.connector.top}px`,
3145
+ height: `${Ue.value.connector.height}px`
3147
3146
  })
3148
3147
  }, null, 4)) : M("", !0),
3149
3148
  K("div", {
3150
3149
  class: "a-nested-list-editor__drop-line",
3151
3150
  style: gt({
3152
- top: `${Oe.value.line.top}px`,
3153
- left: `${Oe.value.line.left}px`,
3154
- right: `${Oe.value.line.right}px`
3151
+ top: `${Ue.value.line.top}px`,
3152
+ left: `${Ue.value.line.left}px`,
3153
+ right: `${Ue.value.line.right}px`
3155
3154
  })
3156
3155
  }, [...l[3] || (l[3] = [
3157
3156
  K("span", { class: "a-nested-list-editor__drop-line-dot" }, null, -1)
@@ -3159,7 +3158,6 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3159
3158
  ], 64)) : M("", !0)
3160
3159
  ], 2)),
3161
3160
  ct.value && !t.loading && !t.error && !qe.value ? L(e.$slots, "add-button", {
3162
- key: 5,
3163
3161
  readonly: t.readonly,
3164
3162
  disabled: t.disabled,
3165
3163
  props: { onClick: ft },
@@ -3176,7 +3174,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3176
3174
  }),
3177
3175
  K("span", null, P(ut.value), 1)
3178
3176
  ])
3179
- ]) : M("", !0)
3177
+ ], void 0, 5) : M("", !0)
3180
3178
  ]),
3181
3179
  s(kn, {
3182
3180
  modelValue: Zt.value,
@@ -3215,9 +3213,9 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3215
3213
  }) : ""), 1)
3216
3214
  ], 2));
3217
3215
  }
3218
- }), li = { class: "a-unsaved-sections" }, ii = /* @__PURE__ */ Ve({
3216
+ }), li = { class: "a-unsaved-sections" }, ii = /* @__PURE__ */ ze({
3219
3217
  __name: "AUnsavedConfirmDialog",
3220
- props: /* @__PURE__ */ Ie({
3218
+ props: /* @__PURE__ */ Te({
3221
3219
  title: { default: void 0 },
3222
3220
  body: { default: void 0 },
3223
3221
  stayLabel: { default: void 0 },
@@ -3227,7 +3225,7 @@ const Qn = { class: "d-flex flex-column w-100 px-1 align-center" }, Zn = { class
3227
3225
  modelValue: { type: Boolean, required: !0 },
3228
3226
  modelModifiers: {}
3229
3227
  }),
3230
- emits: /* @__PURE__ */ Ie(["resolve"], ["update:modelValue"]),
3228
+ emits: /* @__PURE__ */ Te(["resolve"], ["update:modelValue"]),
3231
3229
  setup(t, { emit: C }) {
3232
3230
  const u = C, a = it(t, "modelValue"), { t: v } = je(), h = () => {
3233
3231
  u("resolve", !1);