@anzusystems/common-admin 1.49.0 → 1.50.0

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.d.ts CHANGED
@@ -105,9 +105,9 @@ declare const __VLS_base_5: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {},
105
105
  "onUpdate:loadingLocal"?: ((value: boolean) => any) | undefined;
106
106
  "onUpdate:fetchedItemsMinimal"?: ((value: Map<string | number, any>) => any) | undefined;
107
107
  }>, {
108
+ label: string;
108
109
  loading: boolean;
109
110
  required: boolean;
110
- label: string;
111
111
  clearable: boolean;
112
112
  errorMessage: string;
113
113
  v: any;
package/dist/labs.js CHANGED
@@ -1,5 +1,5 @@
1
- import { aK as Oo, aL as Uo, d as fe, bU as jo, bV as qo, ay as Go, bW as Da, j as Ve, k as Wo, a1 as Ho, h as ht, i as Kt, aj as Ia, ak as Ta, al as Fa, am as Ba, ag as Lt, an as Ra, aa as Ka, ab as La, ac as Va, ad as za, ao as Ma, ap as Na, ae as Oa, af as Ua, aq as ja, ar as qa, as as Ga, bX as Jo, aw as Wa, bY as ta, at as Yo, au as Xo, aZ as Qo, b4 as Zo, av as _o, E as en, a8 as tn, a2 as an, bZ as on, q as nn, p as ln, x as sn, a7 as rn, aM as dn, m as Ha, b_ as cn, l as un, b$ as fn, c0 as mn, c1 as Ja, c2 as Ya, c3 as Xa, c4 as Qa, c5 as Za, c6 as _a, c7 as eo, c8 as to, c9 as ao, ca as oo, cb as no, cc as vn, _ as lo, cd as yn, ce as hn, cf as pn, cg as gn, ch as bn, ci as kn, cj as wn, g as Cn, aY as xn, ck as Sn, cl as An, cm as En, z as Pn, cn as $n, co as Dn } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs";
2
- import { aI as Xi, cp as Qi, cq as Zi, aE as _i, aF as es, aH as ts, aJ as as, aG as os, aW as ns, aN as ls, bd as is, aS as ss, a_ as rs, aC as ds, aD as cs, cr as us, cs as fs, ct as ms, cu as vs, cv as ys, cw as hs, cx as ps, cy as gs, ai as bs, ah as ks, cz as ws, cA as Cs, cB as xs, cC as Ss, cD as As, cE as Es, cF as Ps, cG as $s } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs";
1
+ import { aK as Oo, aL as Uo, d as fe, bU as jo, bV as qo, ay as Go, bW as Da, j as Ve, k as Wo, a1 as Ho, h as ht, i as Kt, aj as Ia, ak as Ta, al as Fa, am as Ba, af as Lt, an as Ra, a9 as Ka, aa as La, ab as Va, ac as za, ao as Ma, ap as Na, ad as Oa, ae as Ua, aq as ja, ar as qa, as as Ga, bX as Jo, aw as Wa, bY as ta, at as Xo, au as Yo, b0 as Qo, b7 as Zo, av as _o, E as en, ag as tn, a2 as an, bZ as on, q as nn, p as ln, x as sn, a7 as rn, aM as dn, m as Ha, b_ as cn, l as un, b$ as fn, c0 as mn, c1 as Ja, c2 as Xa, c3 as Ya, c4 as Qa, c5 as Za, c6 as _a, c7 as eo, c8 as to, c9 as ao, ca as oo, cb as no, cc as vn, _ as lo, cd as yn, ce as hn, cf as pn, cg as gn, ch as bn, ci as kn, cj as wn, g as Cn, a$ as xn, ck as Sn, cl as An, cm as En, z as Pn, cn as $n, co as Dn } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BwQ3zfkc.mjs";
2
+ import { aI as Yi, cp as Qi, cq as Zi, aE as _i, aF as es, aH as ts, aJ as as, aG as os, aZ as ns, aN as ls, bg as is, aS as ss, b1 as rs, aC as ds, aD as cs, cr as us, cs as fs, ct as ms, cu as vs, cv as ys, cw as hs, cx as ps, cy as gs, ai as bs, ah as ks, cz as ws, cA as Cs, cB as xs, cC as Ss, cD as As, cE as Es, cF as Ps, cG as $s } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BwQ3zfkc.mjs";
3
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
4
  import { VForm as Bn } from "vuetify/components/VForm";
5
5
  import { useI18n as je } from "vue-i18n";
@@ -288,7 +288,7 @@ const Ri = /* @__PURE__ */ ze({
288
288
  ])
289
289
  ]));
290
290
  }
291
- }), Yn = (t, C, u = "id") => {
291
+ }), Xn = (t, C, u = "id") => {
292
292
  const { querySetLimit: a, querySetOffset: m, querySetOrder: h, queryBuild: y, queryAddFilter: x, queryAdd: k } = Jo(), p = t.length;
293
293
  return a(p), m(1, p), h(u, !1), C ? k(u, t.join(",")) : x("in", u, t.join(",")), y();
294
294
  }, Li = (t) => {
@@ -311,7 +311,7 @@ const Ri = /* @__PURE__ */ ze({
311
311
  try {
312
312
  const F = Kt(z) ? z : h, O = Kt(T) ? T : m;
313
313
  if (fe(O)) throw new Error("Url template is undefined");
314
- const E = (fe(F) ? O : Ia(O, F)) + Yn(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, {
315
315
  ...y,
316
316
  signal: P.signal
317
317
  });
@@ -361,7 +361,7 @@ const Ri = /* @__PURE__ */ ze({
361
361
  if (fe(w)) throw new Error("Url template is undefined");
362
362
  const { pagination: i } = Wa(z, F ? Ve.Desc : Ve.Asc, {
363
363
  rowsPerPage: O
364
- }), G = (fe(D) ? w : Ia(w, D)) + d, Y = [], ee = await C().get(
364
+ }), G = (fe(D) ? w : Ia(w, D)) + d, X = [], ee = await C().get(
365
365
  G + ta(i, I, R),
366
366
  {
367
367
  ...y,
@@ -372,7 +372,7 @@ const Ri = /* @__PURE__ */ ze({
372
372
  throw new Fa(ee.status);
373
373
  if (ee.data) {
374
374
  const W = ee.data;
375
- if (Y.push(...W.data), Yo(W))
375
+ if (X.push(...W.data), Xo(W))
376
376
  for (i.value.hasNextPage = W.hasNextPage; i.value.hasNextPage; ) {
377
377
  i.value.page++;
378
378
  const me = (await C().get(
@@ -382,26 +382,26 @@ const Ri = /* @__PURE__ */ ze({
382
382
  signal: k.signal
383
383
  }
384
384
  )).data;
385
- Y.push(...me.data), i.value.hasNextPage = me.hasNextPage;
385
+ X.push(...me.data), i.value.hasNextPage = me.hasNextPage;
386
386
  }
387
- else if (Xo(W)) {
387
+ else if (Yo(W)) {
388
388
  if (i.value.totalCount = W.totalCount, i.value.totalCount <= i.value.rowsPerPage)
389
- return Y;
390
- const X = [], me = Math.ceil(i.value.totalCount / i.value.rowsPerPage);
389
+ return X;
390
+ const Y = [], me = Math.ceil(i.value.totalCount / i.value.rowsPerPage);
391
391
  for (let ae = 1; ae < me; ae++) {
392
392
  const be = { ...i.value, page: ae + 1 }, ie = _(be);
393
- X.push(
393
+ Y.push(
394
394
  C().get(G + ta(ie, I, R), {
395
395
  ...y,
396
396
  signal: k.signal
397
397
  })
398
398
  );
399
399
  }
400
- (await Promise.all(X)).forEach((ae) => {
401
- Y.push(...ae.data.data);
400
+ (await Promise.all(Y)).forEach((ae) => {
401
+ X.push(...ae.data.data);
402
402
  });
403
403
  }
404
- return Y;
404
+ return X;
405
405
  }
406
406
  if (ee.status === Ba)
407
407
  return [];
@@ -430,7 +430,7 @@ function zi(t, C) {
430
430
  deleteJob: (y) => Qo(t, Tt + "/:id", { id: y }, C, Ft)
431
431
  };
432
432
  }
433
- const Xn = {
433
+ const Yn = {
434
434
  key: "",
435
435
  title: void 0,
436
436
  sortable: !1,
@@ -446,7 +446,7 @@ function Zn(t, C, u, a, m = {}) {
446
446
  let k;
447
447
  sn(h.storeColumnsLocalStorage) ? k = h.storeColumnsLocalStorage : rn(h.storeColumnsLocalStorage) && h.storeColumnsLocalStorage === !0 && (k = "table_" + u + "_" + a);
448
448
  const p = t.map((S) => {
449
- const v = { ...Xn, ...S };
449
+ const v = { ...Yn, ...S };
450
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;
451
451
  }), P = b(() => {
452
452
  const S = [];
@@ -486,10 +486,10 @@ function Mi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
486
486
  a,
487
487
  { storeColumnsLocalStorage: !1, disableActions: !p }
488
488
  ), i = () => {
489
- ee(), X();
489
+ ee(), Y();
490
490
  }, G = (ve) => {
491
- T(ve.sortBy), X();
492
- }, Y = async () => {
491
+ T(ve.sortBy), Y();
492
+ }, X = async () => {
493
493
  S.value = !0, z();
494
494
  try {
495
495
  const ve = await m(v, h, y, k);
@@ -515,7 +515,7 @@ function Mi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
515
515
  } finally {
516
516
  S.value = !1;
517
517
  }
518
- }, X = Rn(async () => {
518
+ }, Y = Rn(async () => {
519
519
  await W();
520
520
  });
521
521
  return {
@@ -538,12 +538,12 @@ function Mi(t, C, u, a, m, h, y, x = null, k = void 0, p = !1) {
538
538
  const qe = ie.querySelector("input");
539
539
  qe && qe.click();
540
540
  },
541
- onFetchNextPage: Y,
541
+ onFetchNextPage: X,
542
542
  onOpen: i,
543
543
  sortByChange: G,
544
- getList: X,
545
- resetFilter: () => F(v, X),
546
- submitFilter: () => O(v, X)
544
+ getList: Y,
545
+ resetFilter: () => F(v, Y),
546
+ submitFilter: () => O(v, Y)
547
547
  };
548
548
  }
549
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 = {
@@ -604,7 +604,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
604
604
  open: v,
605
605
  closeSidebarOnMobile: P
606
606
  }), (i, G) => {
607
- const Y = Ca("ABtnSecondary"), ee = Ca("ABtnPrimary");
607
+ const X = Ca("ABtnSecondary"), ee = Ca("ABtnPrimary");
608
608
  return g(), B(ne, null, [
609
609
  L(i.$slots, "activator", {
610
610
  props: { onClick: J(() => v(), ["stop"]) }
@@ -689,7 +689,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
689
689
  K("div", ll, [
690
690
  L(i.$slots, "content"),
691
691
  t.paginationMode === "more" ? (g(), B("div", il, [
692
- Tn((g(), U(Y, {
692
+ Tn((g(), U(X, {
693
693
  loading: t.loading,
694
694
  size: "small",
695
695
  onClick: O
@@ -867,15 +867,15 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
867
867
  () => T.retainOwners(E.value.map((o) => o.key)),
868
868
  { flush: "post" }
869
869
  );
870
- const w = _(/* @__PURE__ */ new Set()), i = zt("rowsContainer"), G = b(() => !a.chips && !!x.item), Y = b(() => !a.chips && !!x["item-readonly"]), {
870
+ const w = _(/* @__PURE__ */ new Set()), i = zt("rowsContainer"), G = b(() => !a.chips && !!x.item), X = b(() => !a.chips && !!x["item-readonly"]), {
871
871
  editingKeys: ee,
872
872
  editingSnapshots: W,
873
- beginEdit: X,
873
+ beginEdit: Y,
874
874
  cancelEdit: me,
875
875
  commitEdit: ve,
876
876
  closeEdit: ae,
877
877
  requestAutoOpen: be
878
- } = Ya({
878
+ } = Xa({
879
879
  rowsContainer: i,
880
880
  rowSelector: ".a-le-row",
881
881
  isInlineEdit: G,
@@ -919,7 +919,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
919
919
  for (const f of Ge.keys())
920
920
  V.has(f) || Ge.delete(f);
921
921
  return o;
922
- }), st = b(() => Fe.value.length === 0), Ae = (o) => Fe.value.find((V) => V.key === o), We = Xa({
922
+ }), st = b(() => Fe.value.length === 0), Ae = (o) => Fe.value.find((V) => V.key === o), We = Ya({
923
923
  viewItems: b(() => Fe.value.map((o) => ({ key: o.key }))),
924
924
  variant: "flat",
925
925
  isReorderMode: _(!1),
@@ -943,7 +943,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
943
943
  tt(o);
944
944
  return;
945
945
  }
946
- G.value && (X(o), w.value.delete(o.key)), m("edit", o);
946
+ G.value && (Y(o), w.value.delete(o.key)), m("edit", o);
947
947
  }
948
948
  }, rt = (o) => {
949
949
  if (a.disabled || a.loading) return;
@@ -961,11 +961,11 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
961
961
  tt(o);
962
962
  return;
963
963
  }
964
- a.readonly && Y.value ? rt(o) : Je(o);
964
+ a.readonly && X.value ? rt(o) : Je(o);
965
965
  }
966
966
  }, {
967
967
  deleteDialog: Oe,
968
- deleteInFlight: Ye,
968
+ deleteInFlight: Xe,
969
969
  deleteError: dt,
970
970
  onDeleteClick: Ct,
971
971
  onDeleteDialogConfirm: et,
@@ -985,8 +985,8 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
985
985
  me(o);
986
986
  }, tt = (o) => {
987
987
  ae(o), w.value.delete(o.key), m("close", o);
988
- }, Xe = /* @__PURE__ */ new Map(), St = (o) => {
989
- let V = Xe.get(o);
988
+ }, Ye = /* @__PURE__ */ new Map(), St = (o) => {
989
+ let V = Ye.get(o);
990
990
  return V || (V = {
991
991
  edit: () => {
992
992
  const f = Ae(o);
@@ -1017,15 +1017,15 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
1017
1017
  f && rt(f);
1018
1018
  },
1019
1019
  update: (f) => S.updateItem(o, f)
1020
- }, Xe.set(o, V)), V;
1020
+ }, Ye.set(o, V)), V;
1021
1021
  };
1022
1022
  ue(
1023
1023
  () => Fe.value,
1024
1024
  (o) => {
1025
- if (Xe.size === 0) return;
1025
+ if (Ye.size === 0) return;
1026
1026
  const V = new Set(o.map((f) => f.key));
1027
- for (const f of Xe.keys())
1028
- V.has(f) || Xe.delete(f);
1027
+ for (const f of Ye.keys())
1028
+ V.has(f) || Ye.delete(f);
1029
1029
  }
1030
1030
  );
1031
1031
  const Ee = (o) => ({
@@ -1048,7 +1048,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
1048
1048
  );
1049
1049
  const $e = () => no(S, (o) => {
1050
1050
  const V = E.value.find((f) => f.key === o);
1051
- V && X(V);
1051
+ V && Y(V);
1052
1052
  });
1053
1053
  return _a({
1054
1054
  hasErrors: S.hasErrors,
@@ -1339,7 +1339,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
1339
1339
  "confirm-label": c(y)("common.sortable.delete"),
1340
1340
  "cancel-label": c(y)("common.button.cancel"),
1341
1341
  error: c(dt),
1342
- "in-flight": c(Ye),
1342
+ "in-flight": c(Xe),
1343
1343
  onConfirm: c(et),
1344
1344
  onCancel: c(ct)
1345
1345
  }, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
@@ -1955,7 +1955,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
1955
1955
  ], 4)) : M("", !0)
1956
1956
  ], 42, Fl));
1957
1957
  }
1958
- }), Yl = { class: "text-body-medium mb-2" }, Xl = /* @__PURE__ */ ze({
1958
+ }), Xl = { class: "text-body-medium mb-2" }, Yl = /* @__PURE__ */ ze({
1959
1959
  __name: "LeChangeParentDialog",
1960
1960
  props: /* @__PURE__ */ Te({
1961
1961
  tree: {},
@@ -1980,11 +1980,11 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
1980
1980
  const D = (w) => {
1981
1981
  for (const i of w) {
1982
1982
  if (i.data[u.keyField] === u.sourceKey) {
1983
- const Y = (ee) => {
1983
+ const X = (ee) => {
1984
1984
  for (const W of ee)
1985
- d.add(W.data[u.keyField]), W.children?.length && Y(W.children);
1985
+ d.add(W.data[u.keyField]), W.children?.length && X(W.children);
1986
1986
  };
1987
- return i.children?.length && Y(i.children), !0;
1987
+ return i.children?.length && X(i.children), !0;
1988
1988
  }
1989
1989
  if (i.children?.length && D(i.children)) return !0;
1990
1990
  }
@@ -2027,17 +2027,17 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2027
2027
  reason: P.value === null ? "currentParent" : null
2028
2028
  });
2029
2029
  const w = (i, G) => {
2030
- for (const Y of i) {
2031
- const ee = Y.data[u.keyField];
2032
- let W = !1, X = null;
2033
- ee === u.sourceKey ? (W = !0, X = "self") : k.value.has(ee) ? (W = !0, X = "descendant") : P.value !== void 0 && P.value === ee ? (W = !0, X = "currentParent") : G + 1 + D > u.maxDepth && (W = !0, X = "maxDepth"), d.push({
2030
+ for (const X of i) {
2031
+ const ee = X.data[u.keyField];
2032
+ let W = !1, Y = null;
2033
+ ee === u.sourceKey ? (W = !0, Y = "self") : k.value.has(ee) ? (W = !0, Y = "descendant") : P.value !== void 0 && P.value === ee ? (W = !0, Y = "currentParent") : G + 1 + D > u.maxDepth && (W = !0, Y = "maxDepth"), d.push({
2034
2034
  key: ee,
2035
2035
  depth: G + 1,
2036
- label: u.resolveLabel(Y.data, ee),
2037
- hasChildren: !!(Y.children && Y.children.length > 0),
2036
+ label: u.resolveLabel(X.data, ee),
2037
+ hasChildren: !!(X.children && X.children.length > 0),
2038
2038
  disallowed: W,
2039
- reason: X
2040
- }), Y.children?.length && w(Y.children, G + 1);
2039
+ reason: Y
2040
+ }), X.children?.length && w(X.children, G + 1);
2041
2041
  }
2042
2042
  };
2043
2043
  return w(u.tree.children, 0), d;
@@ -2132,7 +2132,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2132
2132
  class: "pt-0"
2133
2133
  }, {
2134
2134
  default: r(() => [
2135
- K("div", Yl, $(c(h)("common.sortable.changeParent.placementHeading", {
2135
+ K("div", Xl, $(c(h)("common.sortable.changeParent.placementHeading", {
2136
2136
  label: S.value?.label ?? ""
2137
2137
  })), 1),
2138
2138
  s(zn, {
@@ -2190,7 +2190,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2190
2190
  _: 1
2191
2191
  }, 8, ["modelValue"]));
2192
2192
  }
2193
- }), Ql = /* @__PURE__ */ lo(Xl, [["__scopeId", "data-v-0058f5cc"]]), Zl = { class: "a-le-card" }, _l = {
2193
+ }), Ql = /* @__PURE__ */ lo(Yl, [["__scopeId", "data-v-0058f5cc"]]), Zl = { class: "a-le-card" }, _l = {
2194
2194
  key: 0,
2195
2195
  class: "a-le-header"
2196
2196
  }, ei = {
@@ -2283,7 +2283,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2283
2283
  maxDepth: a.maxDepth,
2284
2284
  dirtyExclude: () => a.dirtyExclude ?? [],
2285
2285
  validate: a.validate
2286
- }, w = a.editor ? null : pn(a.stateKey, D), i = a.editor ?? w?.handle ?? gn(D), G = Ja(w?.childScope ?? null), Y = b(() => {
2286
+ }, w = a.editor ? null : pn(a.stateKey, D), i = a.editor ?? w?.handle ?? gn(D), G = Ja(w?.childScope ?? null), X = b(() => {
2287
2287
  const e = [];
2288
2288
  let l = 0;
2289
2289
  const n = a.maxDepth, A = (j, te, ge) => {
@@ -2314,11 +2314,11 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2314
2314
  return A(h.value.children, 0, null), e;
2315
2315
  });
2316
2316
  ue(
2317
- () => Y.value.map((e) => String(e.key)).join("|"),
2318
- () => G.retainOwners(Y.value.map((e) => e.key)),
2317
+ () => X.value.map((e) => String(e.key)).join("|"),
2318
+ () => G.retainOwners(X.value.map((e) => e.key)),
2319
2319
  { flush: "post" }
2320
2320
  );
2321
- const ee = aa(null), W = _(/* @__PURE__ */ new Set()), X = _(/* @__PURE__ */ new Set()), me = _(/* @__PURE__ */ new Set()), ve = () => {
2321
+ const ee = aa(null), W = _(/* @__PURE__ */ new Set()), Y = _(/* @__PURE__ */ new Set()), me = _(/* @__PURE__ */ new Set()), ve = () => {
2322
2322
  i.commit(), W.value = /* @__PURE__ */ new Set();
2323
2323
  }, ae = (e) => {
2324
2324
  const { node: l } = i.findNode(e);
@@ -2332,7 +2332,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2332
2332
  n(l);
2333
2333
  }, be = /* @__PURE__ */ new Map(), ie = b(() => {
2334
2334
  const e = [], l = /* @__PURE__ */ new Set();
2335
- for (const n of Y.value) {
2335
+ for (const n of X.value) {
2336
2336
  l.add(n.key);
2337
2337
  const A = Ne.value.has(n.key), j = T.value.has(n.key), te = v.value.has(n.key), ge = 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);
2338
2338
  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 === ge && Z.dirty === ce && Z.moved === se && Z.unsaved === Qe) {
@@ -2354,7 +2354,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2354
2354
  for (const n of be.keys())
2355
2355
  l.has(n) || be.delete(n);
2356
2356
  return e;
2357
- }), qe = b(() => h.value.children.length === 0), bt = b(() => Y.value.length), ye = zt("rowsContainer"), le = b(() => !a.readonly && !a.disabled && !a.loading), Me = b(
2357
+ }), 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(
2358
2358
  () => le.value && !a.disableReorder && bt.value > 1
2359
2359
  ), _e = b(() => !!k.item), kt = b(() => !!k["item-readonly"]), Ot = b(() => !!a.onItemSave), {
2360
2360
  editingKeys: Ne,
@@ -2365,7 +2365,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2365
2365
  commitEdit: We,
2366
2366
  closeEdit: Ut,
2367
2367
  requestAutoOpen: Be
2368
- } = Ya({
2368
+ } = Xa({
2369
2369
  rowsContainer: ye,
2370
2370
  rowSelector: ".a-le-row-wrapper",
2371
2371
  isInlineEdit: _e,
@@ -2394,7 +2394,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2394
2394
  movedCount: wt,
2395
2395
  reorderMode: he,
2396
2396
  enterReorderMode: Oe,
2397
- cancelReorderMode: Ye,
2397
+ cancelReorderMode: Xe,
2398
2398
  applyReorder: dt
2399
2399
  } = bn({
2400
2400
  mode: y,
@@ -2407,26 +2407,26 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2407
2407
  },
2408
2408
  canEnterReorder: Me,
2409
2409
  onEnter: () => {
2410
- X.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Fe();
2410
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Fe();
2411
2411
  for (const e of $e.value) v.value.add(e);
2412
2412
  Le(() => {
2413
2413
  ke.value && ot();
2414
2414
  });
2415
2415
  },
2416
2416
  onExternalEnter: () => {
2417
- X.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Fe();
2417
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Fe();
2418
2418
  },
2419
2419
  // Cancel: the snapshot-restore has brought every deleted row back; reconcile the controller so a
2420
2420
  // deferred delete truly reverts (clear tombstone, row stays) and an immediate delete stays gone (row
2421
2421
  // removed again — it is deleted on the backend and must not resurrect / be re-created by a save).
2422
2422
  onCancel: () => {
2423
- for (const e of X.value) i.restoreDeleted(e);
2423
+ for (const e of Y.value) i.restoreDeleted(e);
2424
2424
  for (const e of me.value)
2425
2425
  i.deleteItem(e, { trackDeleted: !1 });
2426
- X.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2426
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2427
2427
  },
2428
2428
  onApplyEnd: () => {
2429
- X.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2429
+ Y.value = /* @__PURE__ */ new Set(), me.value = /* @__PURE__ */ new Set(), Ke();
2430
2430
  },
2431
2431
  onReorderApply: (e) => a.onReorderApply?.(e),
2432
2432
  emit: {
@@ -2437,14 +2437,14 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2437
2437
  reorderEnd: () => m("reorder-end")
2438
2438
  }
2439
2439
  }), Ct = b(
2440
- () => wt.value + X.value.size
2440
+ () => wt.value + Y.value.size
2441
2441
  ), et = b(
2442
- () => rt.value || X.value.size > 0
2442
+ () => rt.value || Y.value.size > 0
2443
2443
  ), ct = b(() => le.value && a.showAddButton && !he.value), ke = b(() => he.value && !R.value && !a.disableDrag), ut = b(
2444
2444
  () => a.addLabel ? x(a.addLabel) : x("common.sortable.add")
2445
2445
  ), xt = b(() => a.emptyTitle ?? x("common.sortable.emptyTitle")), tt = b(
2446
2446
  () => a.deleteConfirmTitle ?? x("common.sortable.deleteConfirmTitle")
2447
- ), Xe = b(
2447
+ ), Ye = b(
2448
2448
  () => a.deleteConfirmText ?? (a.deleteMode === "immediate" ? x("common.sortable.deleteConfirmText") : x("common.sortable.deleteConfirmTextDeferred"))
2449
2449
  ), St = b(
2450
2450
  () => !a.readonly && a.showReorderToggle && !he.value && bt.value > 0
@@ -2654,7 +2654,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2654
2654
  onDeleted: (e) => {
2655
2655
  Ne.value.delete(e.key), Ge.value.delete(e.key), T.value.delete(e.key), v.value.delete(e.key);
2656
2656
  const l = a.deleteMode === "deferred";
2657
- he.value && (l ? X.value.add(e.key) : me.value.add(e.key)), i.deleteItem(e.key, { trackDeleted: l }), m("deleted", e);
2657
+ he.value && (l ? Y.value.add(e.key) : me.value.add(e.key)), i.deleteItem(e.key, { trackDeleted: l }), m("deleted", e);
2658
2658
  },
2659
2659
  disableDeleteConfirm: () => a.disableDeleteConfirm
2660
2660
  }), ya = async (e) => {
@@ -2673,13 +2673,13 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2673
2673
  i.moveTop(e) && ae(e);
2674
2674
  }, Jt = (e) => {
2675
2675
  i.moveBottom(e) && ae(e);
2676
- }, Yt = (e) => {
2676
+ }, Xt = (e) => {
2677
2677
  if (!i.indent(e.key)) {
2678
2678
  p("common.sortable.error.maxDeepExceed");
2679
2679
  return;
2680
2680
  }
2681
2681
  ae(e.key), m("indent", e);
2682
- }, Xt = (e) => {
2682
+ }, Yt = (e) => {
2683
2683
  i.outdent(e.key) && (ae(e.key), m("outdent", e));
2684
2684
  }, Qt = (e) => oo(e, { compactField: a.compactField }), ga = (e, l) => l === void 0 ? null : i.rowState(e, l, Ne.value.has(l)), vt = /* @__PURE__ */ new Map(), xo = (e) => {
2685
2685
  let l = vt.get(e);
@@ -2726,11 +2726,11 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2726
2726
  moveBottom: () => Jt(e),
2727
2727
  indent: () => {
2728
2728
  const n = re(e);
2729
- n && Yt(n);
2729
+ n && Xt(n);
2730
2730
  },
2731
2731
  outdent: () => {
2732
2732
  const n = re(e);
2733
- n && Xt(n);
2733
+ n && Yt(n);
2734
2734
  },
2735
2735
  update: (n) => i.updateItem(e, n)
2736
2736
  }, vt.set(e, l)), l;
@@ -2781,7 +2781,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2781
2781
  error: Je.value,
2782
2782
  actions: {
2783
2783
  apply: dt,
2784
- cancel: Ye
2784
+ cancel: Xe
2785
2785
  }
2786
2786
  })), ba = b(() => ({
2787
2787
  mode: y.value,
@@ -2789,9 +2789,9 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2789
2789
  hasPendingChanges: rt.value,
2790
2790
  actions: {
2791
2791
  enterReorderMode: Oe,
2792
- exitReorderMode: Ye
2792
+ exitReorderMode: Xe
2793
2793
  }
2794
- })), Eo = b(() => new Set($e.value)), re = (e) => ie.value.find((l) => l.key === e), Pt = Xa({
2794
+ })), Eo = b(() => new Set($e.value)), re = (e) => ie.value.find((l) => l.key === e), Pt = Ya({
2795
2795
  viewItems: b(
2796
2796
  () => ie.value.map((e) => ({
2797
2797
  key: e.key,
@@ -2819,17 +2819,17 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2819
2819
  onMoveBottom: (e) => Jt(e),
2820
2820
  onIndent: (e) => {
2821
2821
  const l = re(e);
2822
- l && Yt(l);
2822
+ l && Xt(l);
2823
2823
  },
2824
2824
  onOutdent: (e) => {
2825
2825
  const l = re(e);
2826
- l && Xt(l);
2826
+ l && Yt(l);
2827
2827
  },
2828
2828
  onToggleChildren: (e) => {
2829
2829
  const l = re(e);
2830
2830
  l && jt(l);
2831
2831
  },
2832
- onCancelReorder: () => Ye()
2832
+ onCancelReorder: () => Xe()
2833
2833
  }), Zt = _(!1), nt = aa(null), _t = b(() => {
2834
2834
  const e = nt.value;
2835
2835
  if (!e) return null;
@@ -2889,8 +2889,8 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2889
2889
  moveDown: (e) => Wt(e),
2890
2890
  moveTop: (e) => Ht(e),
2891
2891
  moveBottom: (e) => Jt(e),
2892
- indent: Yt,
2893
- outdent: Xt,
2892
+ indent: Xt,
2893
+ outdent: Yt,
2894
2894
  openMoveToPosition: $o,
2895
2895
  openChangeParent: Io
2896
2896
  }, 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) => (v.value.add(e), i.addItem(l, { parentId: e, asFirstChild: !0, childrenAllowed: n }), Le(() => i.commit()), h.value), Vo = (e) => {
@@ -2928,9 +2928,9 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2928
2928
  unsavedCount: Mo,
2929
2929
  clearUnsavedState: No,
2930
2930
  // Expand-aware flattened view (controller's own `viewItems` ignores collapse state).
2931
- viewItems: Y,
2931
+ viewItems: X,
2932
2932
  enterReorderMode: Oe,
2933
- cancelReorderMode: Ye,
2933
+ cancelReorderMode: Xe,
2934
2934
  applyReorder: dt,
2935
2935
  expand: (e) => v.value.add(e),
2936
2936
  collapse: (e) => v.value.delete(e),
@@ -2968,7 +2968,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
2968
2968
  variant: "text",
2969
2969
  size: "small",
2970
2970
  disabled: c(He),
2971
- onClick: c(Ye)
2971
+ onClick: c(Xe)
2972
2972
  }, {
2973
2973
  default: r(() => [
2974
2974
  N($(c(x)("common.sortable.reorderCancel")), 1)
@@ -3204,7 +3204,7 @@ const _n = { class: "d-flex flex-column w-100 px-1 align-center" }, el = { class
3204
3204
  modelValue: c(qt),
3205
3205
  "onUpdate:modelValue": l[2] || (l[2] = (n) => so(qt) ? qt.value = n : null),
3206
3206
  title: tt.value,
3207
- text: Xe.value,
3207
+ text: Ye.value,
3208
3208
  "confirm-label": c(x)("common.sortable.delete"),
3209
3209
  "cancel-label": c(x)("common.button.cancel"),
3210
3210
  error: c(bo),
@@ -3460,7 +3460,7 @@ function Hi() {
3460
3460
  export {
3461
3461
  Ki as ADatatableOrdering,
3462
3462
  Jn as ADatatablePagination,
3463
- Xi as AFilterBooleanSelect,
3463
+ Yi as AFilterBooleanSelect,
3464
3464
  Qi as AFilterDatetimePicker,
3465
3465
  Zi as AFilterInteger,
3466
3466
  _i as AFilterRemoteAutocomplete,
@@ -1,4 +1,4 @@
1
- import { az as Ft } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DAnD88NB.mjs";
1
+ import { az as Ft } from "./AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BwQ3zfkc.mjs";
2
2
  function Pt(w, S) {
3
3
  for (var _ = 0; _ < S.length; _++) {
4
4
  const l = S[_];
@@ -451,4 +451,4 @@ const kt = /* @__PURE__ */ Ft(ut), Dt = /* @__PURE__ */ Pt({
451
451
  export {
452
452
  Dt as w
453
453
  };
454
- //# sourceMappingURL=webfontloader-CZqOgyx0.mjs.map
454
+ //# sourceMappingURL=webfontloader-Dmhv_cAW.mjs.map