@anzusystems/common-admin 1.47.0-beta.dev-1788764220 → 1.47.0-beta.dev-1788935853

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,55 +1,55 @@
1
- import { $ as e, A as t, B as n, Bn as r, Br as i, C as a, Cn as o, Ct as s, D as c, Dn as l, Dt as u, E as d, En as f, Et as p, F as m, Ft as h, I as g, It as ee, J as _, Jr as v, K as y, Kn as b, Kr as te, L as x, Ln as S, M as ne, N as re, O as ie, Ot as ae, P as oe, Pt as C, Q as se, R as ce, S as le, Sn as ue, St as de, T as fe, Tt as pe, Un as me, V as he, Vn as w, Vr as ge, X as _e, Xn as ve, Y as T, Yr as E, Z as ye, _ as be, _n as xe, _t as Se, a as Ce, ai as we, b as Te, bn as Ee, bt as De, c as Oe, ct as ke, d as Ae, dt as je, et as Me, f as Ne, fn as Pe, ft as Fe, g as Ie, gt as Le, h as Re, hn as ze, ht as Be, i as Ve, ii as He, it as D, j as Ue, k as We, kt as Ge, l as Ke, ln as qe, lt as O, m as Je, mn as Ye, mt as Xe, n as Ze, ni as Qe, nt as $e, o as et, oi as k, ot as tt, p as nt, pn as rt, pt as it, q as at, qr as ot, r as st, rt as ct, s as lt, si as ut, st as dt, t as ft, u as pt, un as A, ut as mt, v as ht, vn as gt, vt as _t, w as vt, wt as yt, x as bt, xn as xt, xt as St, y as Ct, yt as wt, z as Tt } from "./AFormRemoteAutocomplete-nhJg86M2.mjs";
2
- import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as Et, getCurrentInstance as Dt, guardReactiveProps as Ot, inject as kt, isRef as At, mergeModels as jt, mergeProps as z, nextTick as Mt, normalizeClass as B, normalizeProps as Nt, normalizeStyle as Pt, onBeforeUnmount as Ft, onMounted as It, openBlock as V, provide as Lt, ref as H, renderList as Rt, renderSlot as U, resolveComponent as zt, shallowRef as Bt, toDisplayString as W, toRaw as Vt, unref as G, useModel as Ht, useSlots as Ut, useTemplateRef as Wt, vShow as Gt, watch as K, withCtx as q, withDirectives as Kt, withKeys as qt, withModifiers as J } from "vue";
3
- import { useI18n as Jt } from "vue-i18n";
4
- import { VSpacer as Yt } from "vuetify/components/VGrid";
5
- import { VAlert as Xt } from "vuetify/components/VAlert";
6
- import { VIcon as Y } from "vuetify/components/VIcon";
7
- import { VProgressCircular as Zt } from "vuetify/components/VProgressCircular";
8
- import { VCard as Qt, VCardActions as $t, VCardText as en, VCardTitle as tn } from "vuetify/components/VCard";
9
- import { VTooltip as nn } from "vuetify/components/VTooltip";
10
- import { useDebounceFn as rn, useThrottleFn as an } from "@vueuse/core";
11
- import { Intersect as on } from "vuetify/directives";
12
- import { useDisplay as sn } from "vuetify";
13
- import { VBtn as X } from "vuetify/components/VBtn";
14
- import { VBtnToggle as cn } from "vuetify/components/VBtnToggle";
15
- import { VList as ln, VListItem as Z, VListItemTitle as Q } from "vuetify/components/VList";
16
- import { VMenu as un } from "vuetify/components/VMenu";
17
- import { VToolbar as dn } from "vuetify/components/VToolbar";
18
- import { onBeforeRouteLeave as fn } from "vue-router";
19
- import pn from "axios";
20
- import { VDialog as $ } from "vuetify/components/VDialog";
21
- import { VForm as mn } from "vuetify/components/VForm";
22
- import { VRadio as hn } from "vuetify/components/VRadio";
23
- import { VRadioGroup as gn } from "vuetify/components/VRadioGroup";
1
+ import { $ as e, $r as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dn as u, Dt as d, E as f, En as p, Et as m, F as h, I as g, J as _, K as v, Kn as y, Kr as b, L as ee, M as te, Mn as x, Mt as ne, N as re, Nn as ie, Nt as ae, O as S, On as oe, Ot as se, P as ce, Q as le, Qn as C, Qr as ue, R as de, Rt as fe, S as pe, St as me, T as he, Tt as w, Un as T, V as ge, X as _e, Y as E, Yn as ve, Z as ye, _ as be, _t as xe, a as Se, b as Ce, bn as we, bt as Te, c as Ee, ci as D, ct as De, d as Oe, di as ke, dt as Ae, ei as je, et as Me, f as Ne, fi as O, ft as Pe, g as Fe, gn as Ie, gt as Le, h as Re, hn as ze, ht as Be, i as Ve, it as k, j as He, jt as Ue, k as We, kn as Ge, kt as Ke, l as qe, lt as Je, m as Ye, mt as Xe, n as Ze, nr as Qe, nt as $e, o as et, ot as tt, p as nt, pi as rt, pt as it, q as at, qn as ot, qr as st, r as ct, rt as lt, s as ut, st as dt, t as ft, ti as A, u as pt, ui as mt, ut as ht, v as gt, vn as _t, vt, w as yt, wn as bt, wt as xt, x as St, xn as Ct, xt as wt, y as Tt, yn as Et, yt as Dt, z as Ot, zt as kt } from "./AFormRemoteAutocomplete-CHvecQMq.mjs";
2
+ import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as z, getCurrentInstance as At, guardReactiveProps as jt, inject as Mt, isRef as Nt, mergeModels as Pt, mergeProps as B, nextTick as Ft, normalizeClass as V, normalizeProps as It, normalizeStyle as Lt, onBeforeUnmount as Rt, onMounted as zt, openBlock as H, provide as Bt, ref as U, renderList as Vt, renderSlot as W, resolveComponent as Ht, shallowRef as Ut, toDisplayString as G, toRaw as Wt, unref as K, useModel as Gt, useSlots as Kt, useTemplateRef as qt, vShow as Jt, watch as q, withCtx as J, withDirectives as Yt, withKeys as Xt, withModifiers as Y } from "vue";
3
+ import { useI18n as Zt } from "vue-i18n";
4
+ import { VSpacer as Qt } from "vuetify/components/VGrid";
5
+ import { VAlert as $t } from "vuetify/components/VAlert";
6
+ import { VIcon as X } from "vuetify/components/VIcon";
7
+ import { VProgressCircular as en } from "vuetify/components/VProgressCircular";
8
+ import { VCard as tn, VCardActions as nn, VCardText as rn, VCardTitle as an } from "vuetify/components/VCard";
9
+ import { VTooltip as on } from "vuetify/components/VTooltip";
10
+ import { useDebounceFn as sn, useThrottleFn as cn } from "@vueuse/core";
11
+ import { Intersect as ln } from "vuetify/directives";
12
+ import { useDisplay as un } from "vuetify";
13
+ import { VBtn as Z } from "vuetify/components/VBtn";
14
+ import { VBtnToggle as dn } from "vuetify/components/VBtnToggle";
15
+ import { VList as fn, VListItem as Q, VListItemTitle as pn } from "vuetify/components/VList";
16
+ import { VMenu as $ } from "vuetify/components/VMenu";
17
+ import { VToolbar as mn } from "vuetify/components/VToolbar";
18
+ import { onBeforeRouteLeave as hn } from "vue-router";
19
+ import gn from "axios";
20
+ import { VDialog as _n } from "vuetify/components/VDialog";
21
+ import { VForm as vn } from "vuetify/components/VForm";
22
+ import { VRadio as yn } from "vuetify/components/VRadio";
23
+ import { VRadioGroup as bn } from "vuetify/components/VRadioGroup";
24
24
  //#endregion
25
25
  //#region src/labs/filters/AFilterWrapperSidebar.vue
26
- var _n = /* @__PURE__ */ Et({
26
+ var xn = /* @__PURE__ */ z({
27
27
  __name: "AFilterWrapperSidebar",
28
28
  props: { formName: { default: "search" } },
29
29
  emits: ["submit"],
30
30
  setup(e, { expose: t, emit: n }) {
31
- let r = n, i = kt(mt), a = kt(je);
32
- if (k(i) || k(a)) throw Error("Incorrect provide/inject config.");
33
- Lt(Be, H(0));
34
- let o = H(/* @__PURE__ */ new Map());
35
- Lt(Xe, o);
36
- let { clearAll: s, clearAllFilterSelected: c } = u(), l = () => {
37
- r("submit");
31
+ let i = n, a = Mt(w), o = Mt(m);
32
+ if (O(a) || O(o)) throw Error("Incorrect provide/inject config.");
33
+ Bt(r, U(0));
34
+ let s = U(/* @__PURE__ */ new Map());
35
+ Bt(Ke, s);
36
+ let { clearAll: c, clearAllFilterSelected: l } = wt(), u = () => {
37
+ i("submit");
38
38
  };
39
39
  return t({ resetFilter: () => {
40
- s(a, i), c(a, i, o);
41
- } }), (t, n) => (V(), N(mn, {
40
+ c(o, a), l(o, a, s);
41
+ } }), (t, n) => (H(), N(vn, {
42
42
  name: e.formName,
43
- onSubmit: J(l, ["prevent"]),
44
- onKeyup: qt(l, ["enter"])
43
+ onSubmit: Y(u, ["prevent"]),
44
+ onKeyup: Xt(u, ["enter"])
45
45
  }, {
46
- default: q(() => [U(t.$slots, "default")]),
46
+ default: J(() => [W(t.$slots, "default")]),
47
47
  _: 3
48
48
  }, 8, ["name"]));
49
49
  }
50
- }), vn = { class: "d-flex align-center justify-center" }, yn = { class: "text-body-small mr-1" }, bn = /* @__PURE__ */ Et({
50
+ }), Sn = { class: "d-flex align-center justify-center" }, Cn = { class: "text-body-small mr-1" }, wn = /* @__PURE__ */ z({
51
51
  __name: "ADatatableOrdering",
52
- props: /*@__PURE__*/ jt({
52
+ props: /*@__PURE__*/ Pt({
53
53
  variant: { default: "id" },
54
54
  customOptions: { default: void 0 },
55
55
  paginationUpdateCustomCb: {
@@ -63,45 +63,45 @@ var _n = /* @__PURE__ */ Et({
63
63
  },
64
64
  modelModifiers: {}
65
65
  }),
66
- emits: /*@__PURE__*/ jt(["sortByChange"], ["update:modelValue"]),
66
+ emits: /*@__PURE__*/ Pt(["sortByChange"], ["update:modelValue"]),
67
67
  setup(e, { emit: t }) {
68
- let n = e, r = t, i = Ht(e, "modelValue"), a = kt(O);
69
- if (k(a)) throw Error("Incorrect provide/inject config.");
70
- let { t: o } = Jt(), s = [{
68
+ let n = e, r = t, i = Gt(e, "modelValue"), a = Mt(xt);
69
+ if (O(a)) throw Error("Incorrect provide/inject config.");
70
+ let { t: o } = Zt(), s = [{
71
71
  id: 1,
72
72
  titleT: "common.system.datatable.ordering.mostRecent",
73
73
  sortBy: {
74
74
  key: "createdAt",
75
- order: b.Desc
75
+ order: C.Desc
76
76
  }
77
77
  }, {
78
78
  id: 2,
79
79
  titleT: "common.system.datatable.ordering.oldest",
80
80
  sortBy: {
81
81
  key: "createdAt",
82
- order: b.Asc
82
+ order: C.Asc
83
83
  }
84
84
  }], c = [{
85
85
  id: 1,
86
86
  titleT: "common.system.datatable.ordering.mostRecent",
87
87
  sortBy: {
88
88
  key: "id",
89
- order: b.Desc
89
+ order: C.Desc
90
90
  }
91
91
  }, {
92
92
  id: 2,
93
93
  titleT: "common.system.datatable.ordering.oldest",
94
94
  sortBy: {
95
95
  key: "id",
96
- order: b.Asc
96
+ order: C.Asc
97
97
  }
98
98
  }], l = [
99
99
  {
100
100
  id: 3,
101
101
  titleT: "common.system.datatable.ordering.mostRelevant",
102
102
  sortBy: {
103
- key: me,
104
- order: b.Desc
103
+ key: ve,
104
+ order: C.Desc
105
105
  }
106
106
  },
107
107
  {
@@ -109,7 +109,7 @@ var _n = /* @__PURE__ */ Et({
109
109
  titleT: "common.system.datatable.ordering.mostRecent",
110
110
  sortBy: {
111
111
  key: "createdAt",
112
- order: b.Desc
112
+ order: C.Desc
113
113
  }
114
114
  },
115
115
  {
@@ -117,7 +117,7 @@ var _n = /* @__PURE__ */ Et({
117
117
  titleT: "common.system.datatable.ordering.oldest",
118
118
  sortBy: {
119
119
  key: "createdAt",
120
- order: b.Asc
120
+ order: C.Asc
121
121
  }
122
122
  }
123
123
  ], u = M(() => {
@@ -126,47 +126,51 @@ var _n = /* @__PURE__ */ Et({
126
126
  }), d = M(() => n.customOptions ? n.customOptions : n.variant === "most-relevant" ? l : n.variant === "id" ? c : s), f = (e) => {
127
127
  i.value = e.id;
128
128
  }, p = (e) => {
129
- e.sortBy || (a.value = {
130
- ...a.value,
131
- sortBy: null
132
- }, r("sortByChange", e)), a.value.sortBy = e.sortBy, r("sortByChange", e);
129
+ if (!e.sortBy) {
130
+ a.value = {
131
+ ...a.value,
132
+ sortBy: null
133
+ }, r("sortByChange", e);
134
+ return;
135
+ }
136
+ a.value.sortBy = e.sortBy, r("sortByChange", e);
133
137
  };
134
- return K(i, (e, t) => {
138
+ return q(i, (e, t) => {
135
139
  if (e === t) return;
136
140
  let r = d.value.find((t) => t.id === e);
137
- if (!k(r)) {
138
- if (k(n.paginationUpdateCustomCb)) {
141
+ if (!O(r)) {
142
+ if (O(n.paginationUpdateCustomCb)) {
139
143
  p(r);
140
144
  return;
141
145
  }
142
146
  n.paginationUpdateCustomCb(r, a);
143
147
  }
144
- }), K(a, (e, t) => {
148
+ }), q(a, (e, t) => {
145
149
  if (e.sortBy?.key === t?.sortBy?.key && e.sortBy?.order === t?.sortBy?.order) return;
146
150
  let n = d.value.find((t) => e.sortBy?.key === t.sortBy?.key && e.sortBy?.order === t.sortBy?.order);
147
- k(n) || (i.value = n.id);
148
- }, { immediate: !0 }), (e, t) => (V(), F("div", vn, [I("div", yn, W(G(o)("common.system.datatable.ordering.title")) + ":", 1), R(X, {
151
+ O(n) || (i.value = n.id);
152
+ }, { immediate: !0 }), (e, t) => (H(), F("div", Sn, [I("div", Cn, G(K(o)("common.system.datatable.ordering.title")) + ":", 1), R(Z, {
149
153
  variant: "text",
150
154
  rounded: "xl",
151
155
  size: "small",
152
156
  class: "text-medium-emphasis",
153
157
  "append-icon": "mdi-chevron-down"
154
158
  }, {
155
- default: q(() => [L(W(u.value) + " ", 1), R(un, {
159
+ default: J(() => [L(G(u.value) + " ", 1), R($, {
156
160
  activator: "parent",
157
161
  location: "bottom",
158
162
  "close-on-content-click": ""
159
163
  }, {
160
- default: q(() => [R(ln, {
164
+ default: J(() => [R(fn, {
161
165
  density: "compact",
162
166
  class: "pa-0"
163
167
  }, {
164
- default: q(() => [(V(!0), F(j, null, Rt(d.value, (e) => (V(), N(Z, {
168
+ default: J(() => [(H(!0), F(j, null, Vt(d.value, (e) => (H(), N(Q, {
165
169
  key: e.id,
166
170
  onClick: (t) => f(e)
167
171
  }, {
168
- default: q(() => [R(Q, { class: B({ "font-weight-bold": e.id === i.value }) }, {
169
- default: q(() => [L(W(G(o)(e.titleT)), 1)]),
172
+ default: J(() => [R(pn, { class: V({ "font-weight-bold": e.id === i.value }) }, {
173
+ default: J(() => [L(G(K(o)(e.titleT)), 1)]),
170
174
  _: 2
171
175
  }, 1032, ["class"])]),
172
176
  _: 2
@@ -178,10 +182,10 @@ var _n = /* @__PURE__ */ Et({
178
182
  _: 1
179
183
  })]));
180
184
  }
181
- }), xn = { class: "anzu-data-footer" }, Sn = {
185
+ }), Tn = { class: "anzu-data-footer" }, En = {
182
186
  key: 0,
183
187
  class: "anzu-data-footer__page-limit"
184
- }, Cn = { class: "anzu-data-footer__pagination" }, wn = { class: "anzu-data-footer__icons-before" }, Tn = { class: "current-page" }, En = { class: "anzu-data-footer__icons-after" }, Dn = /* @__PURE__ */ Et({
188
+ }, Dn = { class: "anzu-data-footer__pagination" }, On = { class: "anzu-data-footer__icons-before" }, kn = { class: "current-page" }, An = { class: "anzu-data-footer__icons-after" }, jn = /* @__PURE__ */ z({
185
189
  __name: "ADatatablePagination",
186
190
  props: {
187
191
  itemsPerPageOptions: { default: () => [
@@ -196,281 +200,287 @@ var _n = /* @__PURE__ */ Et({
196
200
  },
197
201
  emits: ["change"],
198
202
  setup(e, { emit: t }) {
199
- let n = t, r = kt(O);
200
- if (k(r)) throw Error("Incorrect provide/inject config.");
201
- let { t: i } = Jt(), { setStoredPage: a } = Ge(), o = M(() => Math.ceil(r.value.totalCount / r.value.rowsPerPage)), s = M(() => r.value.page * r.value.rowsPerPage - r.value.rowsPerPage + 1), c = M(() => r.value.page * r.value.rowsPerPage - r.value.rowsPerPage + r.value.currentViewCount), l = M(() => r.value.page === 1), u = M(() => !Qe(r.value.hasNextPage) || r.value.page === o.value), d = M(() => Qe(r.value.hasNextPage) && r.value.page === o.value || r.value.hasNextPage === !1), f = M(() => Qe(r.value.hasNextPage) ? r.value.totalCount : r.value.hasNextPage ? c.value + 1 + "+" : c.value);
202
- K(() => r.value.rowsPerPage, (e, t) => {
203
+ let n = t, r = Mt(xt);
204
+ if (O(r)) throw Error("Incorrect provide/inject config.");
205
+ let { t: i } = Zt(), { setStoredPage: a } = ae(), o = Mt(c, void 0), s = Mt(w, void 0), l = M(() => o ?? ne(s?.general.system, s?.general.subject)), u = M(() => Math.ceil(r.value.totalCount / r.value.rowsPerPage)), d = M(() => r.value.page * r.value.rowsPerPage - r.value.rowsPerPage + 1), f = M(() => r.value.page * r.value.rowsPerPage - r.value.rowsPerPage + r.value.currentViewCount), p = M(() => r.value.page === 1), m = M(() => !D(r.value.hasNextPage) || r.value.page === u.value), h = M(() => D(r.value.hasNextPage) && r.value.page === u.value || r.value.hasNextPage === !1), g = M(() => D(r.value.hasNextPage) ? r.value.totalCount : r.value.hasNextPage ? f.value + 1 + "+" : f.value);
206
+ q(() => r.value.rowsPerPage, (e, t) => {
203
207
  e !== t && (r.value.page = 1, n("change"));
204
- }), K(() => r.value.page, (e, t) => {
205
- e !== t && (a(e), n("change"));
208
+ }), q(() => r.value.page, (e, t) => {
209
+ e !== t && (a(l.value, e), n("change"));
206
210
  });
207
- let p = an(() => {
211
+ let _ = cn(() => {
208
212
  r.value.page = 1;
209
- }, 300), m = an(() => {
210
- r.value.page = o.value;
211
- }, 300), h = an(() => {
213
+ }, 300), v = cn(() => {
214
+ r.value.page = u.value;
215
+ }, 300), y = cn(() => {
212
216
  r.value.page = r.value.page - 1;
213
- }, 300), g = an(() => {
217
+ }, 300), b = cn(() => {
214
218
  r.value.page = r.value.page + 1;
215
219
  }, 300);
216
- return (t, n) => (V(), F("div", xn, [
217
- e.hideRecordsPerPage ? P("", !0) : (V(), F("div", Sn, [L(W(G(i)("common.system.datatable.itemsPerPage")) + ": ", 1), R(cn, {
218
- modelValue: G(r).rowsPerPage,
219
- "onUpdate:modelValue": n[0] ||= (e) => G(r).rowsPerPage = e,
220
+ return (t, n) => (H(), F("div", Tn, [
221
+ e.hideRecordsPerPage ? P("", !0) : (H(), F("div", En, [L(G(K(i)("common.system.datatable.itemsPerPage")) + ": ", 1), R(dn, {
222
+ modelValue: K(r).rowsPerPage,
223
+ "onUpdate:modelValue": n[0] ||= (e) => K(r).rowsPerPage = e,
220
224
  class: "ml-2",
221
225
  density: "compact",
222
226
  mandatory: "",
223
227
  "data-cy": "table-size"
224
228
  }, {
225
- default: q(() => [(V(!0), F(j, null, Rt(e.itemsPerPageOptions, (e) => (V(), N(X, {
229
+ default: J(() => [(H(!0), F(j, null, Vt(e.itemsPerPageOptions, (e) => (H(), N(Z, {
226
230
  key: e,
227
- color: e === G(r).rowsPerPage ? "secondary" : "",
231
+ color: e === K(r).rowsPerPage ? "secondary" : "",
228
232
  value: e,
229
233
  density: "compact",
230
234
  size: "small",
231
235
  variant: "text"
232
236
  }, {
233
- default: q(() => [L(W(e), 1)]),
237
+ default: J(() => [L(G(e), 1)]),
234
238
  _: 2
235
239
  }, 1032, ["color", "value"]))), 128))]),
236
240
  _: 1
237
241
  }, 8, ["modelValue"])])),
238
- I("div", Cn, W(s.value) + " - " + W(c.value) + " " + W(G(i)("common.system.datatable.from")) + " " + W(f.value), 1),
239
- I("div", wn, [R(X, {
240
- disabled: l.value,
242
+ I("div", Dn, G(d.value) + " - " + G(f.value) + " " + G(K(i)("common.system.datatable.from")) + " " + G(g.value), 1),
243
+ I("div", On, [R(Z, {
244
+ disabled: p.value,
241
245
  icon: "mdi-page-first",
242
246
  size: "small",
243
247
  variant: "text",
244
- onClick: J(G(p), ["stop"])
245
- }, null, 8, ["disabled", "onClick"]), R(X, {
246
- disabled: l.value,
248
+ onClick: Y(K(_), ["stop"])
249
+ }, null, 8, ["disabled", "onClick"]), R(Z, {
250
+ disabled: p.value,
247
251
  icon: "mdi-chevron-left",
248
252
  size: "small",
249
253
  variant: "text",
250
- onClick: J(G(h), ["stop"])
254
+ onClick: Y(K(y), ["stop"])
251
255
  }, null, 8, ["disabled", "onClick"])]),
252
- I("div", Tn, [I("span", null, W(G(r).page), 1)]),
253
- I("div", En, [R(X, {
254
- disabled: d.value,
256
+ I("div", kn, [I("span", null, G(K(r).page), 1)]),
257
+ I("div", An, [R(Z, {
258
+ disabled: h.value,
255
259
  icon: "mdi-chevron-right",
256
260
  size: "small",
257
261
  variant: "text",
258
- onClick: J(G(g), ["stop"])
259
- }, null, 8, ["disabled", "onClick"]), R(X, {
260
- disabled: u.value,
262
+ onClick: Y(K(b), ["stop"])
263
+ }, null, 8, ["disabled", "onClick"]), R(Z, {
264
+ disabled: m.value,
261
265
  icon: "mdi-page-last",
262
266
  size: "small",
263
267
  variant: "text",
264
- onClick: J(G(m), ["stop"])
268
+ onClick: Y(K(v), ["stop"])
265
269
  }, null, 8, ["disabled", "onClick"])])
266
270
  ]));
267
271
  }
268
- }), On = (e, t, n = "id") => {
269
- let { querySetLimit: r, querySetOffset: i, querySetOrder: a, queryBuild: o, queryAddFilter: c, queryAdd: l } = s(), u = e.length;
270
- return r(u), i(1, u), a(n, !1), t ? l(n, e.join(",")) : c("in", n, e.join(",")), o();
271
- }, kn = (e) => {
272
- let { client: t, system: n, entity: r, urlTemplate: i, urlParams: a, options: s = {}, isSearchApi: c = !1, field: u = "id", silentConsoleError: d = !1 } = e, p = /* @__PURE__ */ new Set();
272
+ }), Mn = (e, t, n = "id") => {
273
+ let { querySetLimit: r, querySetOffset: i, querySetOrder: a, queryBuild: o, queryAddFilter: s, queryAdd: c } = Be(), l = e.length;
274
+ return r(l), i(1, l), a(n, !1), t ? c(n, e.join(",")) : s("in", n, e.join(",")), o();
275
+ }, Nn = (e) => {
276
+ let { client: t, system: n, entity: r, urlTemplate: i, urlParams: o, options: c = {}, isSearchApi: l = !1, field: d = "id", silentConsoleError: f = !1 } = e, m = /* @__PURE__ */ new Set();
273
277
  return {
274
- executeFetch: async (e, m = {}) => {
278
+ executeFetch: async (e, h = {}) => {
275
279
  let g = new AbortController();
276
- p.add(g);
277
- let { urlTemplate: _, urlParams: v } = m;
280
+ m.add(g);
281
+ let { urlTemplate: _, urlParams: v } = h;
278
282
  try {
279
- let n = E(v) ? v : a, r = E(_) ? _ : i;
280
- if (k(r)) throw Error("Url template is undefined");
281
- let o = (k(n) ? r : ee(r, n)) + On(e, c, u), l = await t().get(o, {
282
- ...s,
283
+ let n = A(v) ? v : o, r = A(_) ? _ : i;
284
+ if (O(r)) throw Error("Url template is undefined");
285
+ let s = (O(n) ? r : a(r, n)) + Mn(e, l, d), u = await t().get(s, {
286
+ ...c,
283
287
  signal: g.signal
284
288
  });
285
- if (!h(l.status)) throw new Ee(l.status);
286
- if (l.data?.data) return l.data.data;
287
- if (l.status === 204) return [];
288
- throw new S();
289
+ if (!kt(u.status)) throw new p(u.status);
290
+ if (u.data?.data) return u.data.data;
291
+ if (u.status === 204) return [];
292
+ throw new T();
289
293
  } catch (e) {
290
294
  if (e instanceof DOMException && e.name === "AbortError") return [];
291
- throw xt(e) ? e : l(e) ? new f(e, e.config?.url) : o(e) ? new ue(e, n, r, e) : ze(e) ? new Ye(e, n, r, e) : gt(e) ? new xe(e, e) : rt(e) ? new Pe(e) : pn.isAxiosError(e) ? (d || console.error("Axios error: " + i, ...e.cause ? [e.cause] : []), new A(e)) : (d || console.error("AnzuFatalError: ", e), new S(e));
295
+ throw u(e) ? e : ie(e) ? new x(e, e.config?.url) : Ge(e) ? new oe(e, n, r, e) : Ct(e) ? new we(e, n, r, e) : bt(e) ? new s(e, e) : Et(e) ? new _t(e) : gn.isAxiosError(e) ? (f || console.error("Axios error: " + i, ...e.cause ? [e.cause] : []), new Ie(e)) : (f || console.error("AnzuFatalError: ", e), new T(e));
292
296
  } finally {
293
- p.delete(g);
297
+ m.delete(g);
294
298
  }
295
299
  },
296
300
  abortFetch: () => {
297
- p.forEach((e) => e.abort()), p.clear();
301
+ m.forEach((e) => e.abort()), m.clear();
298
302
  }
299
303
  };
300
- }, An = (e) => {
301
- let { client: t, system: n, entity: r, urlTemplate: i, urlParams: a, options: s = {}, silentConsoleError: c = !1 } = e, u = /* @__PURE__ */ new Set();
304
+ }, Pn = (e) => {
305
+ let { client: t, system: n, entity: r, urlTemplate: i, urlParams: o, options: c = {}, silentConsoleError: l = !1 } = e, d = /* @__PURE__ */ new Set();
302
306
  return {
303
- executeFetch: async (e, d, p = {}) => {
304
- let m = new AbortController();
305
- u.add(m);
306
- let { urlTemplate: g, urlParams: _, sortBy: v = "id", sortDesc: y = !0, batchSize: te = 100, forceElastic: x = !1 } = p;
307
+ executeFetch: async (e, f, m = {}) => {
308
+ let h = new AbortController();
309
+ d.add(h);
310
+ let { urlTemplate: g, urlParams: _, sortBy: v = "id", sortDesc: y = !0, batchSize: b = 100, forceElastic: ee = !1 } = m;
307
311
  try {
308
- let n = d.general.elastic || x ? "/search" : "", r = E(_) ? _ : a, o = E(g) ? g : i;
309
- if (k(o)) throw Error("Url template is undefined");
310
- let { pagination: c } = _t(v, y ? b.Desc : b.Asc, { rowsPerPage: te }), l = (k(r) ? o : ee(o, r)) + n, u = [], f = await t().get(l + wt(c, e, d), {
311
- ...s,
312
- signal: m.signal
312
+ let n = f.general.elastic || ee ? "/search" : "", r = A(_) ? _ : o, s = A(g) ? g : i;
313
+ if (O(s)) throw Error("Url template is undefined");
314
+ let { pagination: l } = ht(v, y ? C.Desc : C.Asc, { rowsPerPage: b }), u = (O(r) ? s : a(s, r)) + n, d = [], m = await t().get(u + Ae(l, e, f), {
315
+ ...c,
316
+ signal: h.signal
313
317
  });
314
- if (!h(f.status)) throw new Ee(f.status);
315
- if (f.data) {
316
- let n = f.data;
317
- if (u.push(...n.data), St(n)) for (c.value.hasNextPage = n.hasNextPage; c.value.hasNextPage;) {
318
- c.value.page++;
319
- let n = (await t().get(l + wt(c, e, d), {
320
- ...s,
321
- signal: m.signal
318
+ if (!kt(m.status)) throw new p(m.status);
319
+ if (m.data) {
320
+ let n = m.data;
321
+ if (d.push(...n.data), it(n)) for (l.value.hasNextPage = n.hasNextPage; l.value.hasNextPage;) {
322
+ l.value.page++;
323
+ let n = (await t().get(u + Ae(l, e, f), {
324
+ ...c,
325
+ signal: h.signal
322
326
  })).data;
323
- u.push(...n.data), c.value.hasNextPage = n.hasNextPage;
327
+ d.push(...n.data), l.value.hasNextPage = n.hasNextPage;
324
328
  }
325
- else if (de(n)) {
326
- if (c.value.totalCount = n.totalCount, c.value.totalCount <= c.value.rowsPerPage) return u;
327
- let r = [], i = Math.ceil(c.value.totalCount / c.value.rowsPerPage);
329
+ else if (Xe(n)) {
330
+ if (l.value.totalCount = n.totalCount, l.value.totalCount <= l.value.rowsPerPage) return d;
331
+ let r = [], i = Math.ceil(l.value.totalCount / l.value.rowsPerPage);
328
332
  for (let n = 1; n < i; n++) {
329
333
  let i = {
330
- ...c.value,
334
+ ...l.value,
331
335
  page: n + 1
332
- }, a = H(i);
333
- r.push(t().get(l + wt(a, e, d), {
334
- ...s,
335
- signal: m.signal
336
+ }, a = U(i);
337
+ r.push(t().get(u + Ae(a, e, f), {
338
+ ...c,
339
+ signal: h.signal
336
340
  }));
337
341
  }
338
342
  (await Promise.all(r)).forEach((e) => {
339
- u.push(...e.data.data);
343
+ d.push(...e.data.data);
340
344
  });
341
345
  }
342
- return u;
346
+ return d;
343
347
  }
344
- if (f.status === 204) return [];
345
- throw new S();
348
+ if (m.status === 204) return [];
349
+ throw new T();
346
350
  } catch (e) {
347
351
  if (e instanceof DOMException && e.name === "AbortError") return [];
348
- throw xt(e) ? e : l(e) ? new f(e, e.config?.url) : o(e) ? new ue(e, n, r, e) : ze(e) ? new Ye(e, n, r, e) : gt(e) ? new xe(e, e) : rt(e) ? new Pe(e) : pn.isAxiosError(e) ? (c || console.error("Axios error: " + i, ...e.cause ? [e.cause] : []), new A(e)) : (c || console.error("AnzuFatalError: ", e), new S(e));
352
+ throw u(e) ? e : ie(e) ? new x(e, e.config?.url) : Ge(e) ? new oe(e, n, r, e) : Ct(e) ? new we(e, n, r, e) : bt(e) ? new s(e, e) : Et(e) ? new _t(e) : gn.isAxiosError(e) ? (l || console.error("Axios error: " + i, ...e.cause ? [e.cause] : []), new Ie(e)) : (l || console.error("AnzuFatalError: ", e), new T(e));
349
353
  } finally {
350
- u.delete(m);
354
+ d.delete(h);
351
355
  }
352
356
  },
353
357
  abortFetch: () => {
354
- u.forEach((e) => e.abort()), u.clear();
358
+ d.forEach((e) => e.abort()), d.clear();
355
359
  }
356
360
  };
357
- }, jn = "/adm/v1/job";
358
- function Mn(e, t) {
361
+ }, Fn = "/adm/v1/job";
362
+ function In(e, t) {
359
363
  return {
360
- useFetchJobList: () => De({
364
+ useFetchJobList: () => Pe({
361
365
  client: e,
362
366
  system: t,
363
367
  entity: "job",
364
- urlTemplate: jn
368
+ urlTemplate: Fn
365
369
  }),
366
- fetchJob: (n) => C(e, jn + "/:id", { id: n }, t, "job"),
370
+ fetchJob: (n) => fe(e, Fn + "/:id", { id: n }, t, "job"),
367
371
  createJob: (n) => {
368
- let r = ge(n._resourceName).slice(4).replace("-kind-", "-kind/");
369
- return Se(e, n, jn + "/:type", { type: r }, t, "job");
372
+ let r = st(n._resourceName).slice(4).replace("-kind-", "-kind/");
373
+ return Je(e, n, Fn + "/:type", { type: r }, t, "job");
370
374
  },
371
- deleteJob: (n) => g(e, jn + "/:id", { id: n }, t, "job")
375
+ deleteJob: (n) => g(e, Fn + "/:id", { id: n }, t, "job")
372
376
  };
373
377
  }
374
378
  //#endregion
375
379
  //#region src/labs/filters/datatableColumns.ts
376
- var Nn = {
380
+ var Ln = {
377
381
  key: "",
378
382
  title: void 0,
379
383
  sortable: !1,
380
384
  fixed: !1
381
- }, Pn = {
385
+ }, Rn = {
382
386
  storeColumnsLocalStorage: !0,
383
387
  disableActions: !1,
384
388
  customI18n: void 0,
385
389
  showExpand: !1
386
390
  };
387
- function Fn(e, t, n, r, i = {}) {
388
- let a = {
389
- ...Pn,
390
- ...i
391
- }, o = a.customI18n ?? ve, { t: s } = o.global || o, c;
392
- we(a.storeColumnsLocalStorage) ? c = a.storeColumnsLocalStorage : v(a.storeColumnsLocalStorage) && !0 === a.storeColumnsLocalStorage && (c = "table_" + n + "_" + r);
393
- let l = e.map((e) => {
391
+ function zn(e, n, r, i, a = {}) {
392
+ let o = {
393
+ ...Rn,
394
+ ...a
395
+ }, s = o.customI18n ?? Qe, { t: c } = s.global || s, l;
396
+ ke(o.storeColumnsLocalStorage) ? l = o.storeColumnsLocalStorage : je(o.storeColumnsLocalStorage) && !0 === o.storeColumnsLocalStorage && (l = "table_" + r + "_" + i);
397
+ let u = e.map((e) => {
394
398
  let t = {
395
- ...Nn,
399
+ ...Ln,
396
400
  ...e
397
401
  };
398
- return k(t.title) && (t.title = k(t.title) && w.includes(t.key) ? s("common.model.tracking." + t.key) : k(t.title) && n && r ? s(n + "." + r + ".model." + t.key) : ""), t;
399
- }), u = M(() => {
402
+ return O(t.title) && (t.title = O(t.title) && ot.includes(t.key) ? c("common.model.tracking." + t.key) : O(t.title) && r && i ? c(r + "." + i + ".model." + t.key) : ""), t;
403
+ }), d = M(() => {
400
404
  let e = [];
401
- return a.showExpand && e.push({
405
+ return o.showExpand && e.push({
402
406
  key: "data-table-expand",
403
407
  sortable: !1
404
- }), l.forEach((n) => {
405
- t.value.includes(n.key) || e.push(n);
406
- }), a.disableActions || e.push({
408
+ }), u.forEach((t) => {
409
+ n.value.includes(t.key) || e.push(t);
410
+ }), o.disableActions || e.push({
407
411
  key: "actions",
408
412
  sortable: !1,
409
413
  fixed: "end"
410
414
  }), e;
411
- }), d = () => {
412
- if (!c || !localStorage) return;
413
- let e = localStorage.getItem(c);
415
+ }), f = () => {
416
+ if (!l || !localStorage) return;
417
+ let e = localStorage.getItem(l);
414
418
  if (!e) return;
415
- let n = JSON.parse(e);
416
- He(n) && ot(n.hidden) && (t.value = n.hidden);
417
- }, f = (e) => {
418
- c && localStorage && localStorage.setItem(c, JSON.stringify({ hidden: e }));
419
+ let r;
420
+ try {
421
+ r = JSON.parse(e);
422
+ } catch {
423
+ localStorage.removeItem(l);
424
+ return;
425
+ }
426
+ mt(r) && t(r.hidden) && (n.value = r.hidden);
427
+ }, p = (e) => {
428
+ l && localStorage && localStorage.setItem(l, JSON.stringify({ hidden: e }));
419
429
  };
420
- return It(() => {
421
- d();
422
- }), K(t, (e) => {
423
- f(e);
430
+ return zt(() => {
431
+ f();
432
+ }), q(n, (e) => {
433
+ p(e);
424
434
  }), {
425
- columnsAll: l,
426
- columnsVisible: u,
427
- columnsHidden: t
435
+ columnsAll: u,
436
+ columnsVisible: d,
437
+ columnsHidden: n
428
438
  };
429
439
  }
430
440
  //#endregion
431
441
  //#region src/labs/subjectSelect/useSubjectSelect.ts
432
- function In(e, t, n, r, i, a, o, s = null, c = void 0, l = !1) {
433
- let u = H(!1), d = H([]), f = H([]), p = H(!1), { pagination: m, setSortBy: h, incrementPage: g } = _t(Qe(s) ? null : s.key, s?.order), { resetFilter: ee, submitFilter: _ } = ae(a, o, {
442
+ function Bn(e, t, n, r, i, a, o, s = null, c = void 0, l = !1) {
443
+ let u = U(!1), d = U([]), f = U([]), p = U(!1), { pagination: m, setSortBy: h, incrementPage: g } = ht(D(s) ? null : s.key, s?.order), { resetFilter: _, submitFilter: v } = me(a, o, {
434
444
  storeFiltersLocalStorage: !1,
435
445
  populateUrlParams: !1
436
- }), { showErrorsDefault: v } = qe(), { columnsVisible: y, columnsAll: b, columnsHidden: te } = Fn(e, t, n, r, {
446
+ }), { showErrorsDefault: y } = ze(), { columnsVisible: b, columnsAll: ee, columnsHidden: te } = zn(e, t, n, r, {
437
447
  storeColumnsLocalStorage: !1,
438
448
  disableActions: !l
439
449
  }), x = () => {
440
- re(), oe();
441
- }, S = (e) => {
442
- h(e.sortBy), oe();
443
- }, ne = async () => {
450
+ ie(), S();
451
+ }, ne = (e) => {
452
+ h(e.sortBy), S();
453
+ }, re = async () => {
444
454
  p.value = !0, g();
445
455
  try {
446
456
  let e = await i(m, a, o, c);
447
457
  d.value.push(...e);
448
458
  } catch (e) {
449
- v(e);
459
+ y(e);
450
460
  } finally {
451
461
  p.value = !1;
452
462
  }
453
- }, re = () => {
463
+ }, ie = () => {
454
464
  d.value = [], f.value = [];
455
- }, ie = async () => {
465
+ }, ae = async () => {
456
466
  p.value = !0;
457
467
  try {
458
468
  d.value = await i(m, a, o, c);
459
469
  } catch (e) {
460
- v(e);
470
+ y(e);
461
471
  } finally {
462
472
  p.value = !1;
463
473
  }
464
- }, oe = rn(async () => {
465
- await ie();
474
+ }, S = sn(async () => {
475
+ await ae();
466
476
  });
467
477
  return {
468
478
  items: d,
469
479
  selected: f,
470
480
  pagination: m,
471
- columnsVisible: y,
481
+ columnsVisible: b,
472
482
  columnsHidden: te,
473
- columnsAll: b,
483
+ columnsAll: ee,
474
484
  filterTouched: u,
475
485
  loading: p,
476
486
  onRowClick: (e) => {
@@ -483,20 +493,20 @@ function In(e, t, n, r, i, a, o, s = null, c = void 0, l = !1) {
483
493
  let i = r.querySelector("input");
484
494
  i && i.click();
485
495
  },
486
- onFetchNextPage: ne,
496
+ onFetchNextPage: re,
487
497
  onOpen: x,
488
- sortByChange: S,
489
- getList: oe,
490
- resetFilter: () => ee(m, oe),
491
- submitFilter: () => _(m, oe)
498
+ sortByChange: ne,
499
+ getList: S,
500
+ resetFilter: () => _(m, S),
501
+ submitFilter: () => v(m, S)
492
502
  };
493
503
  }
494
504
  //#endregion
495
505
  //#region src/labs/subjectSelect/ASubjectSelect.vue?vue&type=script&setup=true&lang.ts
496
- var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class: "d-flex justify-space-between w-100 align-center" }, zn = { class: "d-flex align-center" }, Bn = { class: "d-flex align-center" }, Vn = { class: "subject-select__sidebar system-border-r" }, Hn = { class: "subject-select-filter" }, Un = { class: "subject-select__content" }, Wn = {
506
+ var Vn = { class: "d-flex flex-column w-100 px-1 align-center" }, Hn = { class: "d-flex justify-space-between w-100 align-center" }, Un = { class: "d-flex align-center" }, Wn = { class: "d-flex align-center" }, Gn = { class: "subject-select__sidebar system-border-r" }, Kn = { class: "subject-select-filter" }, qn = { class: "subject-select__content" }, Jn = {
497
507
  key: 0,
498
508
  class: "d-flex w-100 align-center justify-center pa-4"
499
- }, Gn = { class: "subject-select__actions system-border-t" }, Kn = { key: 0 }, qn = { key: 1 }, Jn = /* @__PURE__ */ Et({
509
+ }, Yn = { class: "subject-select__actions system-border-t" }, Xn = { key: 0 }, Zn = { key: 1 }, Qn = /* @__PURE__ */ z({
500
510
  __name: "ASubjectSelect",
501
511
  props: {
502
512
  selectedItems: {},
@@ -527,122 +537,122 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
527
537
  "onFetchNextPage"
528
538
  ],
529
539
  setup(e, { expose: t, emit: n }) {
530
- let i = e, a = n, o = H(!1), s = M({
540
+ let r = e, i = n, a = U(!1), o = M({
531
541
  get() {
532
- return k(i.modelValue) ? o.value : i.modelValue;
542
+ return O(r.modelValue) ? a.value : r.modelValue;
533
543
  },
534
544
  set(e) {
535
- o.value = e, a("update:modelValue", e);
545
+ a.value = e, i("update:modelValue", e);
536
546
  }
537
- }), c = M({
538
- get: () => i.pagination,
547
+ }), s = M({
548
+ get: () => r.pagination,
539
549
  set: (e) => {
540
- a("update:pagination", { ...Vt(e) });
550
+ i("update:pagination", { ...Wt(e) });
541
551
  }
542
- }), { mdAndDown: l } = sn(), u = H(!l.value), d = () => {
543
- l.value && (u.value = !1);
552
+ }), { mdAndDown: c } = un(), l = U(!c.value), u = () => {
553
+ c.value && (l.value = !1);
544
554
  };
545
- Lt(Le, d);
546
- let { t: f } = Jt(), p = M(() => i.selectedItems.length), m = M(() => p.value < i.minCount || p.value > i.maxCount), h = () => {
547
- a("onOpen"), u.value = !l.value, s.value = !0;
555
+ Bt(Ue, u);
556
+ let { t: d } = Zt(), f = M(() => r.selectedItems.length), p = M(() => f.value < r.minCount || f.value > r.maxCount), m = () => {
557
+ i("onOpen"), l.value = !c.value, o.value = !0;
558
+ }, h = () => {
559
+ l.value = !l.value;
548
560
  }, g = () => {
549
- u.value = !u.value;
550
- }, ee = () => {
551
- s.value = !1;
561
+ o.value = !1;
552
562
  }, _ = () => {
553
- a("onConfirm", i.selectedItems.map((e) => Vt(e))), ee();
563
+ i("onConfirm", r.selectedItems.map((e) => Wt(e))), g();
554
564
  }, v = () => {
555
- a("onFetchNextPage");
556
- }, y = () => {
557
- a("onPageChange");
558
- }, b = M(() => Math.ceil(c.value.totalCount / c.value.rowsPerPage)), te = M(() => !(Qe(c.value.hasNextPage) && c.value.page === b.value || c.value.hasNextPage === !1)), x = (e) => {
559
- e && te.value && !i.loading && v();
565
+ i("onFetchNextPage");
566
+ }, b = () => {
567
+ i("onPageChange");
568
+ }, ee = M(() => Math.ceil(s.value.totalCount / s.value.rowsPerPage)), te = M(() => !(D(s.value.hasNextPage) && s.value.page === ee.value || s.value.hasNextPage === !1)), x = (e) => {
569
+ e && te.value && !r.loading && v();
560
570
  };
561
- return It(() => {
562
- i.autoOpen && h();
571
+ return zt(() => {
572
+ r.autoOpen && m();
563
573
  }), t({
564
- open: h,
565
- closeSidebarOnMobile: d
574
+ open: m,
575
+ closeSidebarOnMobile: u
566
576
  }), (t, n) => {
567
- let i = zt("ABtnSecondary"), o = zt("ABtnPrimary");
568
- return V(), F(j, null, [U(t.$slots, "activator", { props: { onClick: J(() => h(), ["stop"]) } }), R($, z(t.$attrs, {
569
- "model-value": s.value,
577
+ let r = Ht("ABtnSecondary"), a = Ht("ABtnPrimary");
578
+ return H(), F(j, null, [W(t.$slots, "activator", { props: { onClick: Y(() => m(), ["stop"]) } }), R(_n, B(t.$attrs, {
579
+ "model-value": o.value,
570
580
  fullscreen: "",
571
581
  class: "subject-select",
572
- "onUpdate:modelValue": n[1] ||= (e) => a("update:modelValue", e)
582
+ "onUpdate:modelValue": n[1] ||= (e) => i("update:modelValue", e)
573
583
  }), {
574
- default: q(() => [s.value ? (V(), N(Qt, {
584
+ default: J(() => [o.value ? (H(), N(tn, {
575
585
  key: 0,
576
586
  class: "subject-select__card"
577
587
  }, {
578
- default: q(() => [
579
- R(r, {
588
+ default: J(() => [
589
+ R(y, {
580
590
  class: "subject-select__toolbar system-border-b",
581
- onOnCancel: ee
591
+ onOnCancel: g
582
592
  }, {
583
- default: q(() => [U(t.$slots, "title", {}, () => [L(W(G(f)(e.dialogTitleT)), 1)])]),
593
+ default: J(() => [W(t.$slots, "title", {}, () => [L(G(K(d)(e.dialogTitleT)), 1)])]),
584
594
  _: 3
585
595
  }),
586
- R(dn, {
596
+ R(mn, {
587
597
  density: "compact",
588
598
  color: "transparent",
589
599
  height: 46,
590
600
  elevation: "0",
591
601
  class: "system-border-b subject-select__second-bar"
592
602
  }, {
593
- default: q(() => [U(t.$slots, "second-bar", {}, () => [I("div", Ln, [I("div", Rn, [I("div", zn, [R(X, {
603
+ default: J(() => [W(t.$slots, "second-bar", {}, () => [I("div", Vn, [I("div", Hn, [I("div", Un, [R(Z, {
594
604
  icon: "",
595
605
  width: 30,
596
606
  height: 30,
597
- onClick: g
607
+ onClick: h
598
608
  }, {
599
- default: q(() => [R(Y, {
609
+ default: J(() => [R(X, {
600
610
  icon: "mdi-tune",
601
611
  size: 16
602
- }), R(nn, {
612
+ }), R(on, {
603
613
  activator: "parent",
604
614
  location: "bottom"
605
615
  }, {
606
- default: q(() => [L(W(G(f)("common.subjectSelect.filter.toggle")), 1)]),
616
+ default: J(() => [L(G(K(d)("common.subjectSelect.filter.toggle")), 1)]),
607
617
  _: 1
608
618
  })]),
609
619
  _: 1
610
- }), U(t.$slots, "second-bar-left")]), I("div", Bn, [U(t.$slots, "second-bar-right")])])])])]),
620
+ }), W(t.$slots, "second-bar-left")]), I("div", Wn, [W(t.$slots, "second-bar-right")])])])])]),
611
621
  _: 3
612
622
  }),
613
- I("div", { class: B(["subject-select__main", { "subject-select__main--sidebar-active": u.value }]) }, [I("div", Vn, [I("div", Hn, [U(t.$slots, "filter")])]), I("div", Un, [U(t.$slots, "content"), e.paginationMode === "more" ? (V(), F("div", Wn, [Kt((V(), N(i, {
623
+ I("div", { class: V(["subject-select__main", { "subject-select__main--sidebar-active": l.value }]) }, [I("div", Gn, [I("div", Kn, [W(t.$slots, "filter")])]), I("div", qn, [W(t.$slots, "content"), e.paginationMode === "more" ? (H(), F("div", Jn, [Yt((H(), N(r, {
614
624
  loading: e.loading,
615
625
  size: "small",
616
626
  onClick: v
617
627
  }, {
618
- default: q(() => [U(t.$slots, "button-confirm-title", {}, () => [L(W(G(f)("common.button.loadMore")), 1)])]),
628
+ default: J(() => [W(t.$slots, "button-confirm-title", {}, () => [L(G(K(d)("common.button.loadMore")), 1)])]),
619
629
  _: 3
620
- }, 8, ["loading"])), [[Gt, te.value || e.loading], [
621
- on,
630
+ }, 8, ["loading"])), [[Jt, te.value || e.loading], [
631
+ ln,
622
632
  x,
623
633
  void 0,
624
634
  { quiet: !0 }
625
- ]])])) : (V(), N(Dn, {
635
+ ]])])) : (H(), N(jn, {
626
636
  key: 1,
627
- modelValue: c.value,
628
- "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
629
- onChange: y
637
+ modelValue: s.value,
638
+ "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
639
+ onChange: b
630
640
  }, null, 8, ["modelValue"]))])], 2),
631
- I("div", Gn, [
632
- e.minCount === e.maxCount ? (V(), F("div", Kn, W(G(f)("common.subjectSelect.texts.pickExactCount", {
641
+ I("div", Yn, [
642
+ e.minCount === e.maxCount ? (H(), F("div", Xn, G(K(d)("common.subjectSelect.texts.pickExactCount", {
633
643
  count: e.minCount,
634
- selected: p.value
635
- })), 1)) : (V(), F("div", qn, W(G(f)("common.subjectSelect.texts.pickRangeCount", {
644
+ selected: f.value
645
+ })), 1)) : (H(), F("div", Zn, G(K(d)("common.subjectSelect.texts.pickRangeCount", {
636
646
  minCount: e.minCount,
637
647
  maxCount: e.maxCount,
638
- selected: p.value
648
+ selected: f.value
639
649
  })), 1)),
640
- R(Yt),
641
- R(o, {
642
- disabled: m.value,
643
- onClick: J(_, ["stop"])
650
+ R(Qt),
651
+ R(a, {
652
+ disabled: p.value,
653
+ onClick: Y(_, ["stop"])
644
654
  }, {
645
- default: q(() => [U(t.$slots, "button-confirm-title", {}, () => [L(W(G(f)("common.button.confirm")), 1)])]),
655
+ default: J(() => [W(t.$slots, "button-confirm-title", {}, () => [L(G(K(d)("common.button.confirm")), 1)])]),
646
656
  _: 3
647
657
  }, 8, ["disabled"])
648
658
  ])
@@ -653,44 +663,44 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
653
663
  }, 16, ["model-value"])], 64);
654
664
  };
655
665
  }
656
- }), Yn = {
666
+ }), $n = {
657
667
  key: 0,
658
668
  class: "a-le-header"
659
- }, Xn = {
669
+ }, er = {
660
670
  key: 0,
661
671
  class: "a-le-title-heading"
662
- }, Zn = ["data-unsaved-count"], Qn = {
672
+ }, tr = ["data-unsaved-count"], nr = {
663
673
  key: 1,
664
674
  class: "a-le-state a-le-state--loading"
665
- }, $n = {
675
+ }, rr = {
666
676
  key: 2,
667
677
  class: "a-le-state a-le-state--error"
668
- }, er = {
678
+ }, ir = {
669
679
  key: 3,
670
680
  class: "a-le-state a-le-state--empty"
671
- }, tr = [
681
+ }, ar = [
672
682
  "data-id",
673
683
  "tabindex",
674
684
  "onKeydown"
675
- ], nr = ["onClick"], rr = { class: "a-le-row-main" }, ir = { class: "a-le-title" }, ar = {
685
+ ], or = ["onClick"], sr = { class: "a-le-row-main" }, cr = { class: "a-le-title" }, lr = {
676
686
  key: 0,
677
687
  class: "a-le-status"
678
- }, or = {
688
+ }, ur = {
679
689
  key: 0,
680
690
  class: "a-le-status-badge"
681
- }, sr = { class: "a-le-actions" }, cr = { class: "a-le-row-body" }, lr = { class: "a-le-form" }, ur = {
691
+ }, dr = { class: "a-le-actions" }, fr = { class: "a-le-row-body" }, pr = { class: "a-le-form" }, mr = {
682
692
  key: 0,
683
693
  class: "a-le-row-footer"
684
- }, dr = {
694
+ }, hr = {
685
695
  key: 1,
686
696
  class: "a-le-row-body"
687
- }, fr = { class: "a-le-form" }, pr = {
697
+ }, gr = { class: "a-le-form" }, _r = {
688
698
  class: "a-le-sr-only",
689
699
  "aria-live": "polite",
690
700
  role: "status"
691
- }, mr = /* @__PURE__ */ Et({
701
+ }, vr = /* @__PURE__ */ z({
692
702
  __name: "AListEditor",
693
- props: /*@__PURE__*/ jt({
703
+ props: /*@__PURE__*/ Pt({
694
704
  factory: {
695
705
  type: Function,
696
706
  default: void 0
@@ -800,7 +810,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
800
810
  modelValue: { required: !0 },
801
811
  modelModifiers: {}
802
812
  }),
803
- emits: /*@__PURE__*/ jt([
813
+ emits: /*@__PURE__*/ Pt([
804
814
  "edit",
805
815
  "deleted",
806
816
  "close",
@@ -808,23 +818,23 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
808
818
  "item-expand"
809
819
  ], ["update:modelValue"]),
810
820
  setup(e, { expose: t, emit: n }) {
811
- let r = e, i = n, o = Ht(e, "modelValue"), { t: s } = Jt(), c = Ut(), l = sn(), u = Wt("rootEl"), d = M(() => l.platform.value.touch), f = {
812
- get: () => o.value,
813
- set: (e) => o.value = e,
821
+ let r = e, i = n, a = Gt(e, "modelValue"), { t: s } = Zt(), c = Kt(), l = un(), u = qt("rootEl"), d = M(() => l.platform.value.touch), f = {
822
+ get: () => a.value,
823
+ set: (e) => a.value = e,
814
824
  factory: r.factory,
815
825
  getKey: r.getKey,
816
826
  position: r.position,
817
827
  dirtyExclude: () => r.dirtyExclude ?? [],
818
828
  validate: r.validate
819
- }, p = r.editor ? null : vt(r.stateKey, f), m = r.editor ?? p?.handle ?? ie(f), h = r.getKey ?? "id", g = a(p?.childScope ?? null), ee = (e) => typeof h == "function" ? h(e) : e[h], _ = M(() => typeof h == "function" ? "(fn)" : h), v = M(() => {
829
+ }, p = r.editor ? null : yt(r.stateKey, f), m = r.editor ?? p?.handle ?? S(f), h = r.getKey ?? "id", g = o(p?.childScope ?? null), _ = (e) => typeof h == "function" ? h(e) : e[h], v = M(() => typeof h == "function" ? "(fn)" : h), y = M(() => {
820
830
  let e = r.position;
821
831
  return e === void 0 || e === !1 ? "position" : typeof e == "object" ? e.field : e;
822
- }), y = M(() => o.value.map((e, t) => ({
823
- key: ee(e),
832
+ }), b = M(() => a.value.map((e, t) => ({
833
+ key: _(e),
824
834
  index: t,
825
835
  raw: e,
826
- position: e[v.value]
827
- }))), b = /* @__PURE__ */ new Set(), te = (e) => {
836
+ position: e[y.value]
837
+ }))), ee = /* @__PURE__ */ new Set(), te = (e) => {
828
838
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = 0;
829
839
  for (let i of e) {
830
840
  if (i.key === void 0 || i.key === null) {
@@ -835,25 +845,25 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
835
845
  }
836
846
  if (r === 0 && n.size === 0) return;
837
847
  let i = `${r}|${[...n].sort().join(",")}`;
838
- b.has(i) || (b.add(i), r > 0 && console.warn(`[list-editor] ${r} row(s) resolve to an undefined key (key-field "${_.value}"). Point get-key at a field every item has, or give new items unique temp ids (see nextListEditorTempId).`), n.size > 0 && console.warn(`[list-editor] duplicate row keys (key-field "${_.value}"): ${[...n].join(", ")}. Row keys must be unique — dirty tracking and validation rails target rows by key.`));
848
+ ee.has(i) || (ee.add(i), r > 0 && console.warn(`[list-editor] ${r} row(s) resolve to an undefined key (key-field "${v.value}"). Point get-key at a field every item has, or give new items unique temp ids (see nextListEditorTempId).`), n.size > 0 && console.warn(`[list-editor] duplicate row keys (key-field "${v.value}"): ${[...n].join(", ")}. Row keys must be unique — dirty tracking and validation rails target rows by key.`));
839
849
  };
840
- K(y, (e) => te(e), { immediate: !0 }), K(() => y.value.map((e) => String(e.key)).join("|"), () => g.retainOwners(y.value.map((e) => e.key)), { flush: "post" });
841
- let x = H(/* @__PURE__ */ new Set()), S = Wt("rowsContainer"), ne = M(() => !r.chips && !!c.item), ae = M(() => !r.chips && !!c["item-readonly"]), { editingKeys: oe, editingSnapshots: C, beginEdit: se, cancelEdit: ce, commitEdit: le, closeEdit: ue, requestAutoOpen: de } = Ie({
842
- rowsContainer: S,
850
+ q(b, (e) => te(e), { immediate: !0 }), q(() => b.value.map((e) => String(e.key)).join("|"), () => g.retainOwners(b.value.map((e) => e.key)), { flush: "post" });
851
+ let x = U(/* @__PURE__ */ new Set()), ne = qt("rowsContainer"), ie = M(() => !r.chips && !!c.item), ae = M(() => !r.chips && !!c["item-readonly"]), { editingKeys: oe, editingSnapshots: se, beginEdit: ce, cancelEdit: le, commitEdit: C, closeEdit: ue, requestAutoOpen: de } = Fe({
852
+ rowsContainer: ne,
843
853
  rowSelector: ".a-le-row",
844
- isInlineEdit: ne,
854
+ isInlineEdit: ie,
845
855
  restoreSnapshot: (e, t) => m.updateItem(e, t),
846
- watchKeys: () => o.value.map((e) => ee(e)),
856
+ watchKeys: () => a.value.map((e) => _(e)),
847
857
  findEntry: (e) => {
848
- let t = o.value.find((t) => ee(t) === e);
858
+ let t = a.value.find((t) => _(t) === e);
849
859
  return t ? { data: t } : null;
850
860
  },
851
861
  afterAutoOpen: (e) => {
852
862
  x.value.delete(e);
853
863
  }
854
- }), fe = M(() => r.addLabel ? s(r.addLabel) : s("common.sortable.add")), pe = M(() => r.emptyTitle ?? s("common.sortable.emptyTitle")), me = M(() => r.deleteConfirmTitle ?? s("common.sortable.deleteConfirmTitle")), he = M(() => r.deleteConfirmText ?? (r.deleteMode === "immediate" ? s("common.sortable.deleteConfirmText") : s("common.sortable.deleteConfirmTextDeferred"))), w = M(() => !r.readonly && !r.disabled && !r.loading), ge = M(() => w.value && r.showAddButton), _e = m.unsavedCount, ve = M(() => !r.readonly && !r.disableUnsaved && _e.value > 0), T = M(() => !!(r.title || c.header) || ve.value), E = M(() => !!r.onItemSave), ye = /* @__PURE__ */ new Map(), xe = M(() => {
864
+ }), fe = M(() => r.addLabel ? s(r.addLabel) : s("common.sortable.add")), pe = M(() => r.emptyTitle ?? s("common.sortable.emptyTitle")), me = M(() => r.deleteConfirmTitle ?? s("common.sortable.deleteConfirmTitle")), he = M(() => r.deleteConfirmText ?? (r.deleteMode === "immediate" ? s("common.sortable.deleteConfirmText") : s("common.sortable.deleteConfirmTextDeferred"))), w = M(() => !r.readonly && !r.disabled && !r.loading), T = M(() => w.value && r.showAddButton), ge = m.unsavedCount, _e = M(() => !r.readonly && !r.disableUnsaved && ge.value > 0), E = M(() => !!(r.title || c.header) || _e.value), ve = M(() => !!r.onItemSave), ye = /* @__PURE__ */ new Map(), xe = M(() => {
855
865
  let e = [], t = /* @__PURE__ */ new Set();
856
- for (let n of y.value) {
866
+ for (let n of b.value) {
857
867
  t.add(n.key);
858
868
  let i = oe.value.has(n.key), a = x.value.has(n.key), o = r.loadingKeys?.has(n.key) ?? !1, s = r.disableUnsaved || r.readonly ? !1 : m.isUnsaved(n.key), c = s, l = m.rowState(n.raw, n.key, i), u = ye.get(n.key);
859
869
  if (u && u.raw === n.raw && u.index === n.index && u.position === n.position && u.editing === i && u.expanded === a && u.loading === o && u.dirty === c && u.unsaved === s && u.validationState === l) {
@@ -873,33 +883,33 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
873
883
  }
874
884
  for (let e of ye.keys()) t.has(e) || ye.delete(e);
875
885
  return e;
876
- }), Se = M(() => xe.value.length === 0), Ce = (e) => xe.value.find((t) => t.key === e), we = re({
886
+ }), Se = M(() => xe.value.length === 0), we = (e) => xe.value.find((t) => t.key === e), Te = re({
877
887
  viewItems: M(() => xe.value.map((e) => ({ key: e.key }))),
878
888
  variant: "flat",
879
- isReorderMode: H(!1),
889
+ isReorderMode: U(!1),
880
890
  disabled: M(() => !w.value),
881
891
  isEditing: (e) => oe.value.has(e),
882
892
  onToggleEdit: (e) => {
883
- let t = Ce(e);
893
+ let t = we(e);
884
894
  t && ke(t);
885
895
  },
886
896
  onCancelEdit: (e) => {
887
- let t = Ce(e);
888
- t && We(t);
897
+ let t = we(e);
898
+ t && He(t);
889
899
  }
890
- }), Ee = (e) => Te(e, { compactField: r.compactField }), De = () => {
891
- ge.value && (de(), m.addItem(void 0, void 0));
892
- }, Oe = (e) => {
900
+ }), Ee = (e) => Ce(e, { compactField: r.compactField }), D = () => {
901
+ T.value && (de(), m.addItem(void 0, void 0));
902
+ }, De = (e) => {
893
903
  w.value && (de(), m.addItem(void 0, { afterId: e.key }));
894
904
  }, ke = (e) => {
895
905
  if (w.value) {
896
906
  if (oe.value.has(e.key)) {
897
- We(e);
907
+ He(e);
898
908
  return;
899
909
  }
900
- ne.value && (se(e), x.value.delete(e.key)), i("edit", e);
910
+ ie.value && (ce(e), x.value.delete(e.key)), i("edit", e);
901
911
  }
902
- }, je = (e) => {
912
+ }, Ae = (e) => {
903
913
  if (r.disabled || r.loading) return;
904
914
  let t = e.key, n = x.value.has(t);
905
915
  if (n) x.value.delete(t);
@@ -908,69 +918,69 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
908
918
  x.value.add(t);
909
919
  }
910
920
  i("item-expand", e, !n);
911
- }, Me = (e) => r.chips || r.disableRowClick || r.defaultExpanded || r.disabled || r.loading ? !1 : !!(e.editing || e.expanded || !r.readonly && r.showEditButton), Ne = (e) => {
912
- if (Me(e)) {
921
+ }, je = (e) => r.chips || r.disableRowClick || r.defaultExpanded || r.disabled || r.loading ? !1 : !!(e.editing || e.expanded || !r.readonly && r.showEditButton), Me = (e) => {
922
+ if (je(e)) {
913
923
  if (e.editing || e.expanded) {
914
- We(e);
924
+ He(e);
915
925
  return;
916
926
  }
917
- r.readonly && ae.value ? je(e) : ke(e);
927
+ r.readonly && ae.value ? Ae(e) : ke(e);
918
928
  }
919
- }, { deleteDialog: Pe, deleteInFlight: Fe, deleteError: Le, onDeleteClick: ze, onDeleteDialogConfirm: Be, onDeleteDialogCancel: Ve } = be({
929
+ }, { deleteDialog: Ne, deleteInFlight: O, deleteError: Pe, onDeleteClick: Ie, onDeleteDialogConfirm: Le, onDeleteDialogCancel: ze } = be({
920
930
  onDeleteConfirm: (e) => !r.onDeleteConfirm || r.onDeleteConfirm(e),
921
931
  onDelete: (e) => r.onDelete?.(e),
922
932
  onDeleted: (e) => {
923
- oe.value.delete(e.key), C.value.delete(e.key), x.value.delete(e.key), m.deleteItem(e.key, { trackDeleted: r.deleteMode === "deferred" }), i("deleted", e);
933
+ oe.value.delete(e.key), se.value.delete(e.key), x.value.delete(e.key), m.deleteItem(e.key, { trackDeleted: r.deleteMode === "deferred" }), i("deleted", e);
924
934
  },
925
935
  disableDeleteConfirm: () => r.disableDeleteConfirm || r.chips
926
- }), He = async (e) => {
927
- w.value && await ze(e);
928
- }, D = async (e) => {
929
- r.onItemSave && await r.onItemSave(e.raw), le(e), i("item-saved", e);
930
- }, Ue = (e) => {
931
- ce(e);
932
- }, We = (e) => {
936
+ }), Be = async (e) => {
937
+ w.value && await Ie(e);
938
+ }, Ve = async (e) => {
939
+ r.onItemSave && await r.onItemSave(e.raw), C(e), i("item-saved", e);
940
+ }, k = (e) => {
941
+ le(e);
942
+ }, He = (e) => {
933
943
  ue(e), x.value.delete(e.key), i("close", e);
934
- }, Ge = /* @__PURE__ */ new Map(), qe = (e) => {
935
- let t = Ge.get(e);
944
+ }, Ue = /* @__PURE__ */ new Map(), We = (e) => {
945
+ let t = Ue.get(e);
936
946
  return t || (t = {
937
947
  edit: () => {
938
- let t = Ce(e);
948
+ let t = we(e);
939
949
  t && ke(t);
940
950
  },
941
951
  save: () => {
942
- let t = Ce(e);
943
- if (t) return D(t);
952
+ let t = we(e);
953
+ if (t) return Ve(t);
944
954
  },
945
955
  cancel: () => {
946
- let t = Ce(e);
947
- t && Ue(t);
956
+ let t = we(e);
957
+ t && k(t);
948
958
  },
949
959
  close: () => {
950
- let t = Ce(e);
951
- t && We(t);
960
+ let t = we(e);
961
+ t && He(t);
952
962
  },
953
963
  delete: async () => {
954
- let t = Ce(e);
955
- t && await He(t);
964
+ let t = we(e);
965
+ t && await Be(t);
956
966
  },
957
967
  addAfter: () => {
958
- let t = Ce(e);
959
- t && Oe(t);
968
+ let t = we(e);
969
+ t && De(t);
960
970
  },
961
971
  toggleExpand: () => {
962
- let t = Ce(e);
963
- t && je(t);
972
+ let t = we(e);
973
+ t && Ae(t);
964
974
  },
965
975
  update: (t) => m.updateItem(e, t)
966
- }, Ge.set(e, t)), t;
976
+ }, Ue.set(e, t)), t;
967
977
  };
968
- K(() => xe.value, (e) => {
969
- if (Ge.size === 0) return;
978
+ q(() => xe.value, (e) => {
979
+ if (Ue.size === 0) return;
970
980
  let t = new Set(e.map((e) => e.key));
971
- for (let e of Ge.keys()) t.has(e) || Ge.delete(e);
981
+ for (let e of Ue.keys()) t.has(e) || Ue.delete(e);
972
982
  });
973
- let O = (e) => ({
983
+ let Ge = (e) => ({
974
984
  item: e,
975
985
  raw: e.raw,
976
986
  index: e.index,
@@ -983,28 +993,28 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
983
993
  unsaved: e.unsaved,
984
994
  touch: d.value,
985
995
  stateKeyPrefix: g.prefixFor(e.key),
986
- actions: qe(e.key)
996
+ actions: We(e.key)
987
997
  });
988
- Ct(() => r.unsavedSectionLabel && !r.disableUnsaved ? {
998
+ Tt(() => r.unsavedSectionLabel && !r.disableUnsaved ? {
989
999
  label: r.unsavedSectionLabel,
990
1000
  dirty: m.hasUnsaved.value
991
1001
  } : []);
992
- let Ye = () => Re(m, (e) => {
993
- let t = y.value.find((t) => t.key === e);
994
- t && se(t);
1002
+ let Ke = () => Re(m, (e) => {
1003
+ let t = b.value.find((t) => t.key === e);
1004
+ t && ce(t);
995
1005
  });
996
- return Je({
1006
+ return Ye({
997
1007
  hasErrors: m.hasErrors,
998
1008
  validationScope: r.validationScope,
999
1009
  validateProvided: r.validate !== void 0,
1000
- reveal: Ye
1010
+ reveal: Ke
1001
1011
  }), t({
1002
1012
  ...m,
1003
- validateAll: Ye
1004
- }), (t, n) => (V(), F("div", {
1013
+ validateAll: Ke
1014
+ }), (t, n) => (H(), F("div", {
1005
1015
  ref_key: "rootEl",
1006
1016
  ref: u,
1007
- class: B(["a-list-editor", [`a-list-editor--two-rows-${e.twoRows}`, {
1017
+ class: V(["a-list-editor", [`a-list-editor--two-rows-${e.twoRows}`, {
1008
1018
  "a-list-editor--readonly": e.readonly,
1009
1019
  "a-list-editor--disabled": e.disabled,
1010
1020
  "a-list-editor--touch": d.value,
@@ -1013,67 +1023,67 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1013
1023
  }, [
1014
1024
  I("div", {
1015
1025
  ref_key: "rowsContainer",
1016
- ref: S,
1026
+ ref: ne,
1017
1027
  class: "a-le-card"
1018
1028
  }, [
1019
- T.value ? (V(), F("div", Yn, [U(t.$slots, "header", { title: e.title }, () => [e.title ? (V(), F("h3", Xn, W(e.title), 1)) : P("", !0)]), ve.value ? (V(), F("span", {
1029
+ E.value ? (H(), F("div", $n, [W(t.$slots, "header", { title: e.title }, () => [e.title ? (H(), F("h3", er, G(e.title), 1)) : P("", !0)]), _e.value ? (H(), F("span", {
1020
1030
  key: 0,
1021
1031
  class: "a-le-unsaved-count",
1022
- "data-unsaved-count": G(_e)
1023
- }, W(G(s)("common.sortable.pendingChanges", { count: G(_e) })), 9, Zn)) : P("", !0)])) : P("", !0),
1024
- e.loading ? (V(), F("div", Qn, [R(Zt, {
1032
+ "data-unsaved-count": K(ge)
1033
+ }, G(K(s)("common.sortable.pendingChanges", { count: K(ge) })), 9, tr)) : P("", !0)])) : P("", !0),
1034
+ e.loading ? (H(), F("div", nr, [R(en, {
1025
1035
  indeterminate: "",
1026
1036
  color: "primary",
1027
1037
  size: "32"
1028
- })])) : e.error ? (V(), F("div", $n, [R(Xt, {
1038
+ })])) : e.error ? (H(), F("div", rr, [R($t, {
1029
1039
  type: "error",
1030
1040
  variant: "tonal",
1031
1041
  density: "compact",
1032
1042
  border: "start"
1033
1043
  }, {
1034
- default: q(() => [L(W(e.error), 1)]),
1044
+ default: J(() => [L(G(e.error), 1)]),
1035
1045
  _: 1
1036
- })])) : Se.value ? (V(), F("div", er, [U(t.$slots, "empty", {
1046
+ })])) : Se.value ? (H(), F("div", ir, [W(t.$slots, "empty", {
1037
1047
  readonly: e.readonly,
1038
1048
  disabled: e.disabled,
1039
- actions: { add: De }
1040
- }, () => [R(Ke, {
1049
+ actions: { add: D }
1050
+ }, () => [R(qe, {
1041
1051
  title: pe.value,
1042
1052
  "add-label": fe.value,
1043
- "can-add": ge.value,
1044
- onAdd: De
1053
+ "can-add": T.value,
1054
+ onAdd: D
1045
1055
  }, null, 8, [
1046
1056
  "title",
1047
1057
  "add-label",
1048
1058
  "can-add"
1049
- ])])])) : (V(!0), F(j, { key: 4 }, Rt(xe.value, (r) => (V(), F("div", {
1059
+ ])])])) : (H(!0), F(j, { key: 4 }, Vt(xe.value, (r) => (H(), F("div", {
1050
1060
  key: String(r.key),
1051
1061
  class: "a-le-row-wrapper"
1052
1062
  }, [
1053
- U(t.$slots, "before-item", z({ ref_for: !0 }, O(r))),
1063
+ W(t.$slots, "before-item", B({ ref_for: !0 }, Ge(r))),
1054
1064
  I("div", {
1055
1065
  "data-id": String(r.key),
1056
1066
  role: "listitem",
1057
- tabindex: G(we).rowTabindex(r.key),
1058
- class: B(["a-le-row", {
1067
+ tabindex: K(Te).rowTabindex(r.key),
1068
+ class: V(["a-le-row", {
1059
1069
  "a-le-row--two-rows": e.twoRows === "always",
1060
1070
  "a-le-row--editing": r.editing,
1061
1071
  "a-le-row--expanded": r.expanded,
1062
1072
  "a-le-row--unsaved": r.unsaved,
1063
- "a-le-row--clickable": Me(r),
1073
+ "a-le-row--clickable": je(r),
1064
1074
  [`a-le-row--validation-${r.validationState}`]: r.validationState !== null
1065
1075
  }]),
1066
- onKeydown: (e) => G(we).handleKeydown(r.key, e)
1076
+ onKeydown: (e) => K(Te).handleKeydown(r.key, e)
1067
1077
  }, [I("div", {
1068
1078
  class: "a-le-row-header",
1069
- onClick: (e) => Ne(r)
1079
+ onClick: (e) => Me(r)
1070
1080
  }, [
1071
- I("div", rr, [U(t.$slots, "item-compact", z({ ref_for: !0 }, O(r)), () => [I("span", ir, W(Ee(r.raw)), 1)]), r.unsaved ? (V(), N(lt, {
1081
+ I("div", sr, [W(t.$slots, "item-compact", B({ ref_for: !0 }, Ge(r)), () => [I("span", cr, G(Ee(r.raw)), 1)]), r.unsaved ? (H(), N(ut, {
1072
1082
  key: 0,
1073
1083
  "dot-only": e.chips
1074
1084
  }, null, 8, ["dot-only"])) : P("", !0)]),
1075
- e.chips ? P("", !0) : (V(), F("div", ar, [U(t.$slots, "item-status", z({ ref_for: !0 }, O(r)), () => [e.statusField && r.raw[e.statusField] != null && r.raw[e.statusField] !== "" ? (V(), F("span", or, W(r.raw[e.statusField]), 1)) : P("", !0)])])),
1076
- I("div", sr, [U(t.$slots, "item-actions", z({ ref_for: !0 }, O(r)), () => [e.chips && e.showDeleteButton && w.value ? (V(), N(X, {
1085
+ e.chips ? P("", !0) : (H(), F("div", lr, [W(t.$slots, "item-status", B({ ref_for: !0 }, Ge(r)), () => [e.statusField && r.raw[e.statusField] != null && r.raw[e.statusField] !== "" ? (H(), F("span", ur, G(r.raw[e.statusField]), 1)) : P("", !0)])])),
1086
+ I("div", dr, [W(t.$slots, "item-actions", B({ ref_for: !0 }, Ge(r)), () => [e.chips && e.showDeleteButton && w.value ? (H(), N(Z, {
1077
1087
  key: 0,
1078
1088
  icon: "",
1079
1089
  size: "x-small",
@@ -1081,15 +1091,15 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1081
1091
  density: "compact",
1082
1092
  active: !1,
1083
1093
  class: "a-le-action a-le-action--chip-close",
1084
- onClick: J((e) => He(r), ["stop"])
1094
+ onClick: Y((e) => Be(r), ["stop"])
1085
1095
  }, {
1086
- default: q(() => [R(Y, {
1096
+ default: J(() => [R(X, {
1087
1097
  icon: "mdi-close",
1088
1098
  size: "14"
1089
1099
  })]),
1090
1100
  _: 1
1091
- }, 8, ["onClick"])) : (V(), F(j, { key: 1 }, [
1092
- e.showEditButton && w.value && !e.defaultExpanded ? (V(), N(X, {
1101
+ }, 8, ["onClick"])) : (H(), F(j, { key: 1 }, [
1102
+ e.showEditButton && w.value && !e.defaultExpanded ? (H(), N(Z, {
1093
1103
  key: 0,
1094
1104
  icon: "",
1095
1105
  size: "small",
@@ -1097,38 +1107,38 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1097
1107
  color: "primary",
1098
1108
  density: "comfortable",
1099
1109
  class: "mx-1 a-le-action a-le-action--edit",
1100
- onClick: J((e) => ke(r), ["stop"])
1110
+ onClick: Y((e) => ke(r), ["stop"])
1101
1111
  }, {
1102
- default: q(() => [R(Y, {
1112
+ default: J(() => [R(X, {
1103
1113
  icon: "mdi-pencil-outline",
1104
1114
  size: "18"
1105
- }), R(nn, {
1115
+ }), R(on, {
1106
1116
  activator: "parent",
1107
1117
  location: "bottom",
1108
- text: G(s)("common.sortable.edit")
1118
+ text: K(s)("common.sortable.edit")
1109
1119
  }, null, 8, ["text"])]),
1110
1120
  _: 1
1111
1121
  }, 8, ["onClick"])) : P("", !0),
1112
- e.showDeleteButton && w.value ? (V(), N(X, {
1122
+ e.showDeleteButton && w.value ? (H(), N(Z, {
1113
1123
  key: 1,
1114
1124
  icon: "",
1115
1125
  size: "small",
1116
1126
  variant: "text",
1117
1127
  density: "comfortable",
1118
1128
  class: "mx-1 a-le-action a-le-action--delete",
1119
- onClick: J((e) => He(r), ["stop"])
1129
+ onClick: Y((e) => Be(r), ["stop"])
1120
1130
  }, {
1121
- default: q(() => [R(Y, {
1131
+ default: J(() => [R(X, {
1122
1132
  icon: "mdi-trash-can-outline",
1123
1133
  size: "18"
1124
- }), R(nn, {
1134
+ }), R(on, {
1125
1135
  activator: "parent",
1126
1136
  location: "bottom",
1127
- text: G(s)("common.sortable.delete")
1137
+ text: K(s)("common.sortable.delete")
1128
1138
  }, null, 8, ["text"])]),
1129
1139
  _: 1
1130
1140
  }, 8, ["onClick"])) : P("", !0),
1131
- e.showAddAfterAction && w.value ? (V(), N(X, {
1141
+ e.showAddAfterAction && w.value ? (H(), N(Z, {
1132
1142
  key: 2,
1133
1143
  icon: "",
1134
1144
  size: "small",
@@ -1137,22 +1147,22 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1137
1147
  active: !1,
1138
1148
  class: "mx-1 a-le-action a-le-action--menu"
1139
1149
  }, {
1140
- default: q(() => [
1141
- R(Y, {
1150
+ default: J(() => [
1151
+ R(X, {
1142
1152
  icon: "mdi-dots-vertical",
1143
1153
  size: "18"
1144
1154
  }),
1145
- R(nn, {
1155
+ R(on, {
1146
1156
  activator: "parent",
1147
1157
  location: "bottom",
1148
- text: G(s)("common.sortable.more")
1158
+ text: K(s)("common.sortable.more")
1149
1159
  }, null, 8, ["text"]),
1150
- R(un, { activator: "parent" }, {
1151
- default: q(() => [R(ln, { density: "compact" }, {
1152
- default: q(() => [R(Z, { onClick: (e) => Oe(r) }, {
1153
- prepend: q(() => [R(Y, { icon: "mdi-plus" })]),
1154
- default: q(() => [R(Q, null, {
1155
- default: q(() => [L(W(G(s)("common.sortable.addAfter")), 1)]),
1160
+ R($, { activator: "parent" }, {
1161
+ default: J(() => [R(fn, { density: "compact" }, {
1162
+ default: J(() => [R(Q, { onClick: (e) => De(r) }, {
1163
+ prepend: J(() => [R(X, { icon: "mdi-plus" })]),
1164
+ default: J(() => [R(pn, null, {
1165
+ default: J(() => [L(G(K(s)("common.sortable.addAfter")), 1)]),
1156
1166
  _: 1
1157
1167
  })]),
1158
1168
  _: 1
@@ -1165,54 +1175,54 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1165
1175
  _: 2
1166
1176
  }, 1024)) : P("", !0)
1167
1177
  ], 64))])])
1168
- ], 8, nr), (r.editing || e.defaultExpanded) && t.$slots.item ? (V(), F(j, { key: 0 }, [I("div", cr, [I("div", lr, [U(t.$slots, "item", z({ ref_for: !0 }, O(r)))])]), U(t.$slots, "item-footer", z({ ref_for: !0 }, O(r)), () => [E.value && !e.defaultExpanded ? (V(), F("div", ur, [
1178
+ ], 8, or), (r.editing || e.defaultExpanded) && t.$slots.item ? (H(), F(j, { key: 0 }, [I("div", fr, [I("div", pr, [W(t.$slots, "item", B({ ref_for: !0 }, Ge(r)))])]), W(t.$slots, "item-footer", B({ ref_for: !0 }, Ge(r)), () => [ve.value && !e.defaultExpanded ? (H(), F("div", mr, [
1169
1179
  n[1] ||= I("div", { class: "a-le-row-footer-spacer" }, null, -1),
1170
- R(X, {
1180
+ R(Z, {
1171
1181
  variant: "text",
1172
1182
  disabled: r.loading,
1173
- onClick: J((e) => Ue(r), ["stop"])
1183
+ onClick: Y((e) => k(r), ["stop"])
1174
1184
  }, {
1175
- default: q(() => [L(W(G(s)("common.button.cancel")), 1)]),
1185
+ default: J(() => [L(G(K(s)("common.button.cancel")), 1)]),
1176
1186
  _: 1
1177
1187
  }, 8, ["disabled", "onClick"]),
1178
- R(X, {
1188
+ R(Z, {
1179
1189
  color: "primary",
1180
1190
  variant: "flat",
1181
1191
  "prepend-icon": "mdi-check",
1182
1192
  disabled: r.loading,
1183
- onClick: J((e) => D(r), ["stop"])
1193
+ onClick: Y((e) => Ve(r), ["stop"])
1184
1194
  }, {
1185
- default: q(() => [L(W(G(s)("common.button.save")), 1)]),
1195
+ default: J(() => [L(G(K(s)("common.button.save")), 1)]),
1186
1196
  _: 1
1187
1197
  }, 8, ["disabled", "onClick"])
1188
- ])) : P("", !0)])], 64)) : t.$slots["item-readonly"] && (e.readonly || r.expanded) ? (V(), F("div", dr, [I("div", fr, [U(t.$slots, "item-readonly", z({ ref_for: !0 }, O(r)))])])) : P("", !0)], 42, tr),
1189
- U(t.$slots, "after-item", z({ ref_for: !0 }, O(r)))
1198
+ ])) : P("", !0)])], 64)) : t.$slots["item-readonly"] && (e.readonly || r.expanded) ? (H(), F("div", hr, [I("div", gr, [W(t.$slots, "item-readonly", B({ ref_for: !0 }, Ge(r)))])])) : P("", !0)], 42, ar),
1199
+ W(t.$slots, "after-item", B({ ref_for: !0 }, Ge(r)))
1190
1200
  ]))), 128)),
1191
- ge.value && !e.loading && !e.error && !Se.value ? U(t.$slots, "add-button", {
1201
+ T.value && !e.loading && !e.error && !Se.value ? W(t.$slots, "add-button", {
1192
1202
  readonly: e.readonly,
1193
1203
  disabled: e.disabled,
1194
- props: { onClick: De },
1195
- actions: { add: De }
1204
+ props: { onClick: D },
1205
+ actions: { add: D }
1196
1206
  }, () => [I("button", {
1197
1207
  type: "button",
1198
1208
  class: "a-le-row-add",
1199
- onClick: De
1200
- }, [R(Y, {
1209
+ onClick: D
1210
+ }, [R(X, {
1201
1211
  icon: "mdi-plus",
1202
1212
  size: "18"
1203
- }), I("span", null, W(fe.value), 1)])], void 0, 5) : P("", !0)
1213
+ }), I("span", null, G(fe.value), 1)])], void 0, 5) : P("", !0)
1204
1214
  ], 512),
1205
- R(Ae, {
1206
- modelValue: G(Pe),
1207
- "onUpdate:modelValue": n[0] ||= (e) => At(Pe) ? Pe.value = e : null,
1215
+ R(Oe, {
1216
+ modelValue: K(Ne),
1217
+ "onUpdate:modelValue": n[0] ||= (e) => Nt(Ne) ? Ne.value = e : null,
1208
1218
  title: me.value,
1209
1219
  text: he.value,
1210
- "confirm-label": G(s)("common.sortable.delete"),
1211
- "cancel-label": G(s)("common.button.cancel"),
1212
- error: G(Le),
1213
- "in-flight": G(Fe),
1214
- onConfirm: G(Be),
1215
- onCancel: G(Ve)
1220
+ "confirm-label": K(s)("common.sortable.delete"),
1221
+ "cancel-label": K(s)("common.button.cancel"),
1222
+ error: K(Pe),
1223
+ "in-flight": K(O),
1224
+ onConfirm: K(Le),
1225
+ onCancel: K(ze)
1216
1226
  }, null, 8, [
1217
1227
  "modelValue",
1218
1228
  "title",
@@ -1224,37 +1234,37 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1224
1234
  "onConfirm",
1225
1235
  "onCancel"
1226
1236
  ]),
1227
- I("div", pr, W(G(we).grabbedKey.value === null ? "" : G(s)("common.sortable.keyboardGrab.status", {
1228
- n: G(we).grabbedIndex.value + 1,
1229
- total: G(we).totalCount.value
1237
+ I("div", _r, G(K(Te).grabbedKey.value === null ? "" : K(s)("common.sortable.keyboardGrab.status", {
1238
+ n: K(Te).grabbedIndex.value + 1,
1239
+ total: K(Te).totalCount.value
1230
1240
  })), 1)
1231
1241
  ], 2));
1232
1242
  }
1233
- }), hr = (e, t) => e.find((e) => e.key === t) ?? null, gr = (e, t, n) => {
1234
- let r = hr(e, n);
1243
+ }), yr = (e, t) => e.find((e) => e.key === t) ?? null, br = (e, t, n) => {
1244
+ let r = yr(e, n);
1235
1245
  for (; r && r.parentKey !== null;) {
1236
1246
  if (r.parentKey === t) return !0;
1237
- r = hr(e, r.parentKey);
1247
+ r = yr(e, r.parentKey);
1238
1248
  }
1239
1249
  return !1;
1240
- }, _r = (e, t, n) => {
1241
- let r = hr(e, t);
1250
+ }, xr = (e, t, n) => {
1251
+ let r = yr(e, t);
1242
1252
  for (; r && r.depth > n;) {
1243
1253
  if (r.parentKey === null) return null;
1244
- r = hr(e, r.parentKey);
1254
+ r = yr(e, r.parentKey);
1245
1255
  }
1246
1256
  return r && r.depth === n ? r : null;
1247
- }, vr = (e, t, n) => n === t || gr(e, t, n), yr = (e, t, n, r) => {
1257
+ }, Sr = (e, t, n) => n === t || br(e, t, n), Cr = (e, t, n, r) => {
1248
1258
  for (let i = t; i >= 0 && i < e.length; i += n) {
1249
1259
  let t = e[i];
1250
- if (!vr(e, r, t.key)) return t;
1260
+ if (!Sr(e, r, t.key)) return t;
1251
1261
  }
1252
1262
  return null;
1253
- }, br = (e) => {
1263
+ }, wr = (e) => {
1254
1264
  let { pointer: t, hoveredRow: n, sourceKey: r, sourceSubtreeDepth: i, viewItems: a, maxDepth: o, indentPx: s, containerLeft: c, containerPaddingLeft: l } = e;
1255
- if (n.key === r || gr(a, r, n.key)) return null;
1256
- let u = t.y - n.rect.top < n.rect.height / 2, d = u ? "top" : "bottom", f = a.findIndex((e) => e.key === n.key), p = u ? yr(a, f - 1, -1, r) : yr(a, f, -1, r), m = u ? yr(a, f, 1, r) : yr(a, f + 1, 1, r), h = t.x - c - l, g = Math.round(h / s), ee = p ? p.depth + 1 : 0, _ = m ? m.depth : 0, v = Math.max(_, Math.min(g, ee)), y;
1257
- if (!p) y = {
1265
+ if (n.key === r || br(a, r, n.key)) return null;
1266
+ let u = t.y - n.rect.top < n.rect.height / 2, d = u ? "top" : "bottom", f = a.findIndex((e) => e.key === n.key), p = u ? Cr(a, f - 1, -1, r) : Cr(a, f, -1, r), m = u ? Cr(a, f, 1, r) : Cr(a, f + 1, 1, r), h = t.x - c - l, g = Math.round(h / s), _ = p ? p.depth + 1 : 0, v = m ? m.depth : 0, y = Math.max(v, Math.min(g, _)), b;
1267
+ if (!p) b = {
1258
1268
  type: "insert",
1259
1269
  refKey: n.key,
1260
1270
  refEdge: "top",
@@ -1264,35 +1274,35 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1264
1274
  makeChild: !1,
1265
1275
  levelRowKey: null
1266
1276
  };
1267
- else if (v === p.depth + 1) y = {
1277
+ else if (y === p.depth + 1) b = {
1268
1278
  type: "insert",
1269
1279
  refKey: n.key,
1270
1280
  refEdge: d,
1271
1281
  parentKey: p.key,
1272
1282
  index: 0,
1273
- depth: v,
1283
+ depth: y,
1274
1284
  makeChild: !0,
1275
1285
  levelRowKey: null
1276
1286
  };
1277
- else if (v === p.depth) y = {
1287
+ else if (y === p.depth) b = {
1278
1288
  type: "insert",
1279
1289
  refKey: n.key,
1280
1290
  refEdge: d,
1281
1291
  parentKey: p.parentKey,
1282
1292
  index: p.siblingIndex + 1,
1283
- depth: v,
1293
+ depth: y,
1284
1294
  makeChild: !1,
1285
1295
  levelRowKey: p.key
1286
1296
  };
1287
1297
  else {
1288
- let e = _r(a, p.key, v);
1289
- y = e ? {
1298
+ let e = xr(a, p.key, y);
1299
+ b = e ? {
1290
1300
  type: "insert",
1291
1301
  refKey: n.key,
1292
1302
  refEdge: d,
1293
1303
  parentKey: e.parentKey,
1294
1304
  index: e.siblingIndex + 1,
1295
- depth: v,
1305
+ depth: y,
1296
1306
  makeChild: !1,
1297
1307
  levelRowKey: e.key
1298
1308
  } : {
@@ -1306,36 +1316,36 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1306
1316
  levelRowKey: p.key
1307
1317
  };
1308
1318
  }
1309
- return y.depth + i - 1 >= o ? {
1319
+ return b.depth + i - 1 >= o ? {
1310
1320
  type: "blocked",
1311
- desired: y,
1321
+ desired: b,
1312
1322
  reason: "maxDepth"
1313
- } : y;
1314
- }, xr = [
1323
+ } : b;
1324
+ }, Tr = [
1315
1325
  "data-id",
1316
1326
  "aria-level",
1317
1327
  "tabindex"
1318
- ], Sr = ["aria-label"], Cr = {
1328
+ ], Er = ["aria-label"], Dr = {
1319
1329
  key: 2,
1320
1330
  class: "a-nested-list-editor__tree-toggle a-nested-list-editor__tree-toggle--spacer",
1321
1331
  "aria-hidden": "true"
1322
- }, wr = { class: "a-le-row-main" }, Tr = { class: "a-le-title" }, Er = {
1332
+ }, Or = { class: "a-le-row-main" }, kr = { class: "a-le-title" }, Ar = {
1323
1333
  key: 0,
1324
1334
  class: "a-nested-list-editor__drag-count",
1325
1335
  "aria-hidden": "true"
1326
- }, Dr = {
1336
+ }, jr = {
1327
1337
  key: 3,
1328
1338
  class: "a-le-status"
1329
- }, Or = {
1339
+ }, Mr = {
1330
1340
  key: 0,
1331
1341
  class: "a-le-status-badge"
1332
- }, kr = { class: "a-le-actions" }, Ar = { class: "a-le-row-body" }, jr = { class: "a-le-form" }, Mr = {
1342
+ }, Nr = { class: "a-le-actions" }, Pr = { class: "a-le-row-body" }, Fr = { class: "a-le-form" }, Ir = {
1333
1343
  key: 0,
1334
1344
  class: "a-le-row-footer"
1335
- }, Nr = {
1345
+ }, Lr = {
1336
1346
  key: 1,
1337
1347
  class: "a-le-row-body"
1338
- }, Pr = { class: "a-le-form" }, Fr = ["data-parent-id"], Ir = "a-nested-list-editor__group", Lr = "a-le-drag-handle", Rr = /* @__PURE__ */ Et({
1348
+ }, Rr = { class: "a-le-form" }, zr = ["data-parent-id"], Br = "a-nested-list-editor__group", Vr = "a-le-drag-handle", Hr = /* @__PURE__ */ z({
1339
1349
  __name: "LeNestedRow",
1340
1350
  props: {
1341
1351
  vi: {},
@@ -1345,22 +1355,22 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1345
1355
  callbacks: {}
1346
1356
  },
1347
1357
  setup(e) {
1348
- let t = e, n = Rr, { t: r } = Jt(), i = (e) => `--row-${String(e).replace(/\W/g, "_")}`, a = (e) => {
1358
+ let t = e, n = Hr, { t: r } = Zt(), i = (e) => `--row-${String(e).replace(/\W/g, "_")}`, a = (e) => {
1349
1359
  if (typeof t.context.resolveValidation == "function") return t.context.resolveValidation(e, t.vi.key, t.vi.index);
1350
1360
  let n = e.validationState;
1351
1361
  return n === "valid" || n === "invalid" || n === "warning" ? n : null;
1352
1362
  }, o = () => t.context.buildSlotProps(t.vi), s = () => t.viewItems.filter((e) => e.parentKey === t.vi.key);
1353
- return (t, c) => (V(), F("div", {
1354
- class: B(["a-le-row-wrapper", { "a-le-row-wrapper--drop-disabled": e.dragState !== null && e.dragState.sourceKey === e.vi.key }]),
1363
+ return (t, c) => (H(), F("div", {
1364
+ class: V(["a-le-row-wrapper", { "a-le-row-wrapper--drop-disabled": e.dragState !== null && e.dragState.sourceKey === e.vi.key }]),
1355
1365
  "data-id": String(e.vi.key),
1356
1366
  role: "treeitem",
1357
1367
  "aria-level": e.vi.depth + 1,
1358
1368
  tabindex: e.context.keyboardNav ? e.context.keyboardNav.rowTabindex(e.vi.key) : void 0,
1359
1369
  onKeydown: c[17] ||= (t) => e.context.keyboardNav ? e.context.keyboardNav.handleKeydown(e.vi.key, t) : void 0
1360
1370
  }, [
1361
- U(t.$slots, "before-item", Nt(Ot(o()))),
1371
+ W(t.$slots, "before-item", It(jt(o()))),
1362
1372
  I("div", {
1363
- class: B([
1373
+ class: V([
1364
1374
  "a-le-row",
1365
1375
  e.vi.depth > 0 ? "a-le-row--child" : null,
1366
1376
  {
@@ -1374,7 +1384,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1374
1384
  [`a-le-row--validation-${a(e.vi.raw)}`]: a(e.vi.raw) !== null
1375
1385
  }
1376
1386
  ]),
1377
- style: Pt({
1387
+ style: Lt({
1378
1388
  "--nested-depth": e.vi.depth,
1379
1389
  "anchor-name": i(e.vi.key),
1380
1390
  "--parent-anchor": e.vi.parentKey === null ? "none" : i(e.vi.parentKey)
@@ -1383,69 +1393,69 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1383
1393
  class: "a-le-row-header",
1384
1394
  onClick: c[14] ||= (t) => e.callbacks.onRowClick(e.vi)
1385
1395
  }, [
1386
- e.context.dragEnabled ? (V(), N(et, {
1396
+ e.context.dragEnabled ? (H(), N(et, {
1387
1397
  key: 0,
1388
- class: B(Lr)
1398
+ class: V(Vr)
1389
1399
  })) : P("", !0),
1390
- e.context.showExpandToggle && e.vi.childrenAllowed ? (V(), F("button", {
1400
+ e.context.showExpandToggle && e.vi.childrenAllowed ? (H(), F("button", {
1391
1401
  key: 1,
1392
1402
  type: "button",
1393
- class: B(["a-nested-list-editor__tree-toggle", {
1403
+ class: V(["a-nested-list-editor__tree-toggle", {
1394
1404
  "a-nested-list-editor__tree-toggle--empty": !e.vi.hasChildren,
1395
1405
  "a-nested-list-editor__tree-toggle--open": e.vi.childrenExpanded
1396
1406
  }]),
1397
- "aria-label": e.vi.childrenExpanded ? G(r)("common.sortable.close") : G(r)("common.sortable.edit"),
1398
- onClick: c[0] ||= J((t) => e.vi.hasChildren && e.callbacks.onChevronClick(e.vi), ["stop"])
1399
- }, [...c[18] ||= [I("span", { class: "a-nested-list-editor__tree-toggle-caret" }, null, -1)]], 10, Sr)) : e.context.showExpandToggle ? (V(), F("span", Cr)) : P("", !0),
1400
- I("div", wr, [
1401
- U(t.$slots, "item-compact", Nt(Ot(o())), () => [I("span", Tr, W(e.context.resolveCompactText(e.vi.raw, e.vi.key)), 1)]),
1402
- e.vi.hasChildren ? (V(), F("span", Er, [R(Y, {
1407
+ "aria-label": e.vi.childrenExpanded ? K(r)("common.sortable.close") : K(r)("common.sortable.edit"),
1408
+ onClick: c[0] ||= Y((t) => e.vi.hasChildren && e.callbacks.onChevronClick(e.vi), ["stop"])
1409
+ }, [...c[18] ||= [I("span", { class: "a-nested-list-editor__tree-toggle-caret" }, null, -1)]], 10, Er)) : e.context.showExpandToggle ? (H(), F("span", Dr)) : P("", !0),
1410
+ I("div", Or, [
1411
+ W(t.$slots, "item-compact", It(jt(o())), () => [I("span", kr, G(e.context.resolveCompactText(e.vi.raw, e.vi.key)), 1)]),
1412
+ e.vi.hasChildren ? (H(), F("span", Ar, [R(X, {
1403
1413
  icon: "mdi-file-tree",
1404
1414
  size: "14"
1405
- }), L(" +" + W(e.vi.childrenCount), 1)])) : P("", !0),
1406
- e.vi.unsaved ? (V(), N(lt, { key: 1 })) : P("", !0)
1415
+ }), L(" +" + G(e.vi.childrenCount), 1)])) : P("", !0),
1416
+ e.vi.unsaved ? (H(), N(ut, { key: 1 })) : P("", !0)
1407
1417
  ]),
1408
- e.context.reorderMode ? P("", !0) : (V(), F("div", Dr, [U(t.$slots, "item-status", Nt(Ot(o())), () => [e.context.statusField && e.vi.raw[e.context.statusField] != null && e.vi.raw[e.context.statusField] !== "" ? (V(), F("span", Or, W(e.vi.raw[e.context.statusField]), 1)) : P("", !0)])])),
1409
- I("div", kr, [U(t.$slots, "item-actions", Nt(Ot(o())), () => [e.context.reorderMode ? (V(), F(j, { key: 0 }, [
1410
- R(X, {
1418
+ e.context.reorderMode ? P("", !0) : (H(), F("div", jr, [W(t.$slots, "item-status", It(jt(o())), () => [e.context.statusField && e.vi.raw[e.context.statusField] != null && e.vi.raw[e.context.statusField] !== "" ? (H(), F("span", Mr, G(e.vi.raw[e.context.statusField]), 1)) : P("", !0)])])),
1419
+ I("div", Nr, [W(t.$slots, "item-actions", It(jt(o())), () => [e.context.reorderMode ? (H(), F(j, { key: 0 }, [
1420
+ R(Z, {
1411
1421
  icon: "",
1412
1422
  size: "small",
1413
1423
  variant: "text",
1414
1424
  density: "comfortable",
1415
1425
  disabled: e.vi.firstInParent,
1416
1426
  class: "mx-1 a-le-action a-le-action--up",
1417
- onClick: c[1] ||= J((t) => e.callbacks.moveUp(e.vi.key), ["stop"])
1427
+ onClick: c[1] ||= Y((t) => e.callbacks.moveUp(e.vi.key), ["stop"])
1418
1428
  }, {
1419
- default: q(() => [R(Y, {
1429
+ default: J(() => [R(X, {
1420
1430
  icon: "mdi-arrow-up",
1421
1431
  size: "18"
1422
- }), R(nn, {
1432
+ }), R(on, {
1423
1433
  activator: "parent",
1424
1434
  location: "bottom",
1425
- text: G(r)("common.sortable.moveUp")
1435
+ text: K(r)("common.sortable.moveUp")
1426
1436
  }, null, 8, ["text"])]),
1427
1437
  _: 1
1428
1438
  }, 8, ["disabled"]),
1429
- R(X, {
1439
+ R(Z, {
1430
1440
  icon: "",
1431
1441
  size: "small",
1432
1442
  variant: "text",
1433
1443
  density: "comfortable",
1434
1444
  disabled: e.vi.lastInParent,
1435
1445
  class: "mx-1 a-le-action a-le-action--down",
1436
- onClick: c[2] ||= J((t) => e.callbacks.moveDown(e.vi.key), ["stop"])
1446
+ onClick: c[2] ||= Y((t) => e.callbacks.moveDown(e.vi.key), ["stop"])
1437
1447
  }, {
1438
- default: q(() => [R(Y, {
1448
+ default: J(() => [R(X, {
1439
1449
  icon: "mdi-arrow-down",
1440
1450
  size: "18"
1441
- }), R(nn, {
1451
+ }), R(on, {
1442
1452
  activator: "parent",
1443
1453
  location: "bottom",
1444
- text: G(r)("common.sortable.moveDown")
1454
+ text: K(r)("common.sortable.moveDown")
1445
1455
  }, null, 8, ["text"])]),
1446
1456
  _: 1
1447
1457
  }, 8, ["disabled"]),
1448
- R(X, {
1458
+ R(Z, {
1449
1459
  icon: "",
1450
1460
  size: "small",
1451
1461
  variant: "text",
@@ -1453,95 +1463,95 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1453
1463
  active: !1,
1454
1464
  class: "mx-1 a-le-action a-le-action--menu"
1455
1465
  }, {
1456
- default: q(() => [
1457
- R(Y, {
1466
+ default: J(() => [
1467
+ R(X, {
1458
1468
  icon: "mdi-dots-vertical",
1459
1469
  size: "18"
1460
1470
  }),
1461
- R(nn, {
1471
+ R(on, {
1462
1472
  activator: "parent",
1463
1473
  location: "bottom",
1464
- text: G(r)("common.sortable.more")
1474
+ text: K(r)("common.sortable.more")
1465
1475
  }, null, 8, ["text"]),
1466
- R(un, { activator: "parent" }, {
1467
- default: q(() => [R(ln, { density: "compact" }, {
1468
- default: q(() => [
1469
- R(Z, {
1476
+ R($, { activator: "parent" }, {
1477
+ default: J(() => [R(fn, { density: "compact" }, {
1478
+ default: J(() => [
1479
+ R(Q, {
1470
1480
  disabled: e.vi.firstInParent,
1471
- onClick: c[3] ||= J((t) => e.callbacks.moveTop(e.vi.key), ["stop"])
1481
+ onClick: c[3] ||= Y((t) => e.callbacks.moveTop(e.vi.key), ["stop"])
1472
1482
  }, {
1473
- prepend: q(() => [R(Y, { icon: "mdi-arrow-collapse-up" })]),
1474
- default: q(() => [R(Q, null, {
1475
- default: q(() => [L(W(G(r)("common.sortable.moveToTop")), 1)]),
1483
+ prepend: J(() => [R(X, { icon: "mdi-arrow-collapse-up" })]),
1484
+ default: J(() => [R(pn, null, {
1485
+ default: J(() => [L(G(K(r)("common.sortable.moveToTop")), 1)]),
1476
1486
  _: 1
1477
1487
  })]),
1478
1488
  _: 1
1479
1489
  }, 8, ["disabled"]),
1480
- R(Z, {
1490
+ R(Q, {
1481
1491
  disabled: e.vi.lastInParent,
1482
- onClick: c[4] ||= J((t) => e.callbacks.moveBottom(e.vi.key), ["stop"])
1492
+ onClick: c[4] ||= Y((t) => e.callbacks.moveBottom(e.vi.key), ["stop"])
1483
1493
  }, {
1484
- prepend: q(() => [R(Y, { icon: "mdi-arrow-collapse-down" })]),
1485
- default: q(() => [R(Q, null, {
1486
- default: q(() => [L(W(G(r)("common.sortable.moveToBottom")), 1)]),
1494
+ prepend: J(() => [R(X, { icon: "mdi-arrow-collapse-down" })]),
1495
+ default: J(() => [R(pn, null, {
1496
+ default: J(() => [L(G(K(r)("common.sortable.moveToBottom")), 1)]),
1487
1497
  _: 1
1488
1498
  })]),
1489
1499
  _: 1
1490
1500
  }, 8, ["disabled"]),
1491
- e.context.showMoveToPosition && (!e.vi.firstInParent || !e.vi.lastInParent) ? (V(), N(Z, {
1501
+ e.context.showMoveToPosition && (!e.vi.firstInParent || !e.vi.lastInParent) ? (H(), N(Q, {
1492
1502
  key: 0,
1493
- onClick: c[5] ||= J((t) => e.callbacks.openMoveToPosition(e.vi), ["stop"])
1503
+ onClick: c[5] ||= Y((t) => e.callbacks.openMoveToPosition(e.vi), ["stop"])
1494
1504
  }, {
1495
- prepend: q(() => [R(Y, { icon: "mdi-target" })]),
1496
- default: q(() => [R(Q, null, {
1497
- default: q(() => [L(W(G(r)("common.sortable.moveToPosition.action")), 1)]),
1505
+ prepend: J(() => [R(X, { icon: "mdi-target" })]),
1506
+ default: J(() => [R(pn, null, {
1507
+ default: J(() => [L(G(K(r)("common.sortable.moveToPosition.action")), 1)]),
1498
1508
  _: 1
1499
1509
  })]),
1500
1510
  _: 1
1501
1511
  })) : P("", !0),
1502
- e.context.showChangeParent ? (V(), N(Z, {
1512
+ e.context.showChangeParent ? (H(), N(Q, {
1503
1513
  key: 1,
1504
- onClick: c[6] ||= J((t) => e.callbacks.openChangeParent(e.vi), ["stop"])
1514
+ onClick: c[6] ||= Y((t) => e.callbacks.openChangeParent(e.vi), ["stop"])
1505
1515
  }, {
1506
- prepend: q(() => [R(Y, { icon: "mdi-folder-move-outline" })]),
1507
- default: q(() => [R(Q, null, {
1508
- default: q(() => [L(W(G(r)("common.sortable.changeParent.action")), 1)]),
1516
+ prepend: J(() => [R(X, { icon: "mdi-folder-move-outline" })]),
1517
+ default: J(() => [R(pn, null, {
1518
+ default: J(() => [L(G(K(r)("common.sortable.changeParent.action")), 1)]),
1509
1519
  _: 1
1510
1520
  })]),
1511
1521
  _: 1
1512
1522
  })) : P("", !0),
1513
- R(Z, {
1523
+ R(Q, {
1514
1524
  disabled: !e.vi.canIndent,
1515
- onClick: c[7] ||= J((t) => e.callbacks.indent(e.vi), ["stop"])
1525
+ onClick: c[7] ||= Y((t) => e.callbacks.indent(e.vi), ["stop"])
1516
1526
  }, {
1517
- prepend: q(() => [R(Y, { icon: "mdi-format-indent-increase" })]),
1518
- default: q(() => [R(Q, null, {
1519
- default: q(() => [L(W(G(r)("common.sortable.indent")), 1)]),
1527
+ prepend: J(() => [R(X, { icon: "mdi-format-indent-increase" })]),
1528
+ default: J(() => [R(pn, null, {
1529
+ default: J(() => [L(G(K(r)("common.sortable.indent")), 1)]),
1520
1530
  _: 1
1521
1531
  })]),
1522
1532
  _: 1
1523
1533
  }, 8, ["disabled"]),
1524
- R(Z, {
1534
+ R(Q, {
1525
1535
  disabled: !e.vi.canOutdent,
1526
- onClick: c[8] ||= J((t) => e.callbacks.outdent(e.vi), ["stop"])
1536
+ onClick: c[8] ||= Y((t) => e.callbacks.outdent(e.vi), ["stop"])
1527
1537
  }, {
1528
- prepend: q(() => [R(Y, { icon: "mdi-format-indent-decrease" })]),
1529
- default: q(() => [R(Q, null, {
1530
- default: q(() => [L(W(G(r)("common.sortable.outdent")), 1)]),
1538
+ prepend: J(() => [R(X, { icon: "mdi-format-indent-decrease" })]),
1539
+ default: J(() => [R(pn, null, {
1540
+ default: J(() => [L(G(K(r)("common.sortable.outdent")), 1)]),
1531
1541
  _: 1
1532
1542
  })]),
1533
1543
  _: 1
1534
1544
  }, 8, ["disabled"]),
1535
- e.context.showDeleteButton && e.context.canInteract ? (V(), N(Z, {
1545
+ e.context.showDeleteButton && e.context.canInteract ? (H(), N(Q, {
1536
1546
  key: 2,
1537
- onClick: c[9] ||= J((t) => e.callbacks.onDeleteClick(e.vi), ["stop"])
1547
+ onClick: c[9] ||= Y((t) => e.callbacks.onDeleteClick(e.vi), ["stop"])
1538
1548
  }, {
1539
- prepend: q(() => [R(Y, {
1549
+ prepend: J(() => [R(X, {
1540
1550
  icon: "mdi-trash-can-outline",
1541
1551
  color: "error"
1542
1552
  })]),
1543
- default: q(() => [R(Q, { class: "text-error" }, {
1544
- default: q(() => [L(W(G(r)("common.sortable.delete")), 1)]),
1553
+ default: J(() => [R(pn, { class: "text-error" }, {
1554
+ default: J(() => [L(G(K(r)("common.sortable.delete")), 1)]),
1545
1555
  _: 1
1546
1556
  })]),
1547
1557
  _: 1
@@ -1554,8 +1564,8 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1554
1564
  ]),
1555
1565
  _: 1
1556
1566
  })
1557
- ], 64)) : (V(), F(j, { key: 1 }, [
1558
- e.context.showEditButton && e.context.canInteract ? (V(), N(X, {
1567
+ ], 64)) : (H(), F(j, { key: 1 }, [
1568
+ e.context.showEditButton && e.context.canInteract ? (H(), N(Z, {
1559
1569
  key: 0,
1560
1570
  icon: "",
1561
1571
  size: "small",
@@ -1563,38 +1573,38 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1563
1573
  color: "primary",
1564
1574
  density: "comfortable",
1565
1575
  class: "mx-1 a-le-action a-le-action--edit",
1566
- onClick: c[10] ||= J((t) => e.callbacks.onEditClick(e.vi), ["stop"])
1576
+ onClick: c[10] ||= Y((t) => e.callbacks.onEditClick(e.vi), ["stop"])
1567
1577
  }, {
1568
- default: q(() => [R(Y, {
1578
+ default: J(() => [R(X, {
1569
1579
  icon: "mdi-pencil-outline",
1570
1580
  size: "18"
1571
- }), R(nn, {
1581
+ }), R(on, {
1572
1582
  activator: "parent",
1573
1583
  location: "bottom",
1574
- text: G(r)("common.sortable.edit")
1584
+ text: K(r)("common.sortable.edit")
1575
1585
  }, null, 8, ["text"])]),
1576
1586
  _: 1
1577
1587
  })) : P("", !0),
1578
- e.context.showDeleteButton && e.context.canInteract ? (V(), N(X, {
1588
+ e.context.showDeleteButton && e.context.canInteract ? (H(), N(Z, {
1579
1589
  key: 1,
1580
1590
  icon: "",
1581
1591
  size: "small",
1582
1592
  variant: "text",
1583
1593
  density: "comfortable",
1584
1594
  class: "mx-1 a-le-action a-le-action--delete",
1585
- onClick: c[11] ||= J((t) => e.callbacks.onDeleteClick(e.vi), ["stop"])
1595
+ onClick: c[11] ||= Y((t) => e.callbacks.onDeleteClick(e.vi), ["stop"])
1586
1596
  }, {
1587
- default: q(() => [R(Y, {
1597
+ default: J(() => [R(X, {
1588
1598
  icon: "mdi-trash-can-outline",
1589
1599
  size: "18"
1590
- }), R(nn, {
1600
+ }), R(on, {
1591
1601
  activator: "parent",
1592
1602
  location: "bottom",
1593
- text: G(r)("common.sortable.delete")
1603
+ text: K(r)("common.sortable.delete")
1594
1604
  }, null, 8, ["text"])]),
1595
1605
  _: 1
1596
1606
  })) : P("", !0),
1597
- e.context.canInteract && (e.context.showAddChildButton && e.vi.canAddChild || e.context.showAddAfterAction) ? (V(), N(X, {
1607
+ e.context.canInteract && (e.context.showAddChildButton && e.vi.canAddChild || e.context.showAddAfterAction) ? (H(), N(Z, {
1598
1608
  key: 2,
1599
1609
  icon: "",
1600
1610
  size: "small",
@@ -1603,35 +1613,35 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1603
1613
  active: !1,
1604
1614
  class: "mx-1 a-le-action a-le-action--menu"
1605
1615
  }, {
1606
- default: q(() => [
1607
- R(Y, {
1616
+ default: J(() => [
1617
+ R(X, {
1608
1618
  icon: "mdi-dots-vertical",
1609
1619
  size: "18"
1610
1620
  }),
1611
- R(nn, {
1621
+ R(on, {
1612
1622
  activator: "parent",
1613
1623
  location: "bottom",
1614
- text: G(r)("common.sortable.more")
1624
+ text: K(r)("common.sortable.more")
1615
1625
  }, null, 8, ["text"]),
1616
- R(un, { activator: "parent" }, {
1617
- default: q(() => [R(ln, { density: "compact" }, {
1618
- default: q(() => [e.context.showAddAfterAction ? (V(), N(Z, {
1626
+ R($, { activator: "parent" }, {
1627
+ default: J(() => [R(fn, { density: "compact" }, {
1628
+ default: J(() => [e.context.showAddAfterAction ? (H(), N(Q, {
1619
1629
  key: 0,
1620
- onClick: c[12] ||= J((t) => e.callbacks.onAddAfterClick(e.vi), ["stop"])
1630
+ onClick: c[12] ||= Y((t) => e.callbacks.onAddAfterClick(e.vi), ["stop"])
1621
1631
  }, {
1622
- prepend: q(() => [R(Y, { icon: "mdi-playlist-plus" })]),
1623
- default: q(() => [R(Q, null, {
1624
- default: q(() => [L(W(G(r)("common.sortable.addAfter")), 1)]),
1632
+ prepend: J(() => [R(X, { icon: "mdi-playlist-plus" })]),
1633
+ default: J(() => [R(pn, null, {
1634
+ default: J(() => [L(G(K(r)("common.sortable.addAfter")), 1)]),
1625
1635
  _: 1
1626
1636
  })]),
1627
1637
  _: 1
1628
- })) : P("", !0), e.context.showAddChildButton && e.vi.canAddChild ? (V(), N(Z, {
1638
+ })) : P("", !0), e.context.showAddChildButton && e.vi.canAddChild ? (H(), N(Q, {
1629
1639
  key: 1,
1630
- onClick: c[13] ||= J((t) => e.callbacks.onAddChildClick(e.vi), ["stop"])
1640
+ onClick: c[13] ||= Y((t) => e.callbacks.onAddChildClick(e.vi), ["stop"])
1631
1641
  }, {
1632
- prepend: q(() => [R(Y, { icon: "mdi-subdirectory-arrow-right" })]),
1633
- default: q(() => [R(Q, null, {
1634
- default: q(() => [L(W(G(r)("common.sortable.addChild")), 1)]),
1642
+ prepend: J(() => [R(X, { icon: "mdi-subdirectory-arrow-right" })]),
1643
+ default: J(() => [R(pn, null, {
1644
+ default: J(() => [L(G(K(r)("common.sortable.addChild")), 1)]),
1635
1645
  _: 1
1636
1646
  })]),
1637
1647
  _: 1
@@ -1644,36 +1654,36 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1644
1654
  _: 1
1645
1655
  })) : P("", !0)
1646
1656
  ], 64))])])
1647
- ]), e.vi.editing && !e.context.reorderMode && t.$slots.item ? (V(), F(j, { key: 0 }, [I("div", Ar, [I("div", jr, [U(t.$slots, "item", Nt(Ot(o())))])]), U(t.$slots, "item-footer", Nt(Ot(o())), () => [e.context.showInlineSaveFooter ? (V(), F("div", Mr, [
1657
+ ]), e.vi.editing && !e.context.reorderMode && t.$slots.item ? (H(), F(j, { key: 0 }, [I("div", Pr, [I("div", Fr, [W(t.$slots, "item", It(jt(o())))])]), W(t.$slots, "item-footer", It(jt(o())), () => [e.context.showInlineSaveFooter ? (H(), F("div", Ir, [
1648
1658
  c[19] ||= I("div", { class: "a-le-row-footer-spacer" }, null, -1),
1649
- R(X, {
1659
+ R(Z, {
1650
1660
  variant: "text",
1651
1661
  disabled: e.vi.loading,
1652
- onClick: c[15] ||= J((t) => e.callbacks.onCancelClick(e.vi), ["stop"])
1662
+ onClick: c[15] ||= Y((t) => e.callbacks.onCancelClick(e.vi), ["stop"])
1653
1663
  }, {
1654
- default: q(() => [L(W(G(r)("common.button.cancel")), 1)]),
1664
+ default: J(() => [L(G(K(r)("common.button.cancel")), 1)]),
1655
1665
  _: 1
1656
1666
  }, 8, ["disabled"]),
1657
- R(X, {
1667
+ R(Z, {
1658
1668
  color: "primary",
1659
1669
  variant: "flat",
1660
1670
  "prepend-icon": "mdi-check",
1661
1671
  disabled: e.vi.loading,
1662
- onClick: c[16] ||= J((t) => e.callbacks.onSaveClick(e.vi), ["stop"])
1672
+ onClick: c[16] ||= Y((t) => e.callbacks.onSaveClick(e.vi), ["stop"])
1663
1673
  }, {
1664
- default: q(() => [L(W(G(r)("common.button.save")), 1)]),
1674
+ default: J(() => [L(G(K(r)("common.button.save")), 1)]),
1665
1675
  _: 1
1666
1676
  }, 8, ["disabled"])
1667
- ])) : P("", !0)])], 64)) : t.$slots["item-readonly"] && (e.context.readonly || e.vi.expanded) && !e.context.reorderMode ? (V(), F("div", Nr, [I("div", Pr, [U(t.$slots, "item-readonly", Nt(Ot(o())))])])) : P("", !0)], 6),
1668
- U(t.$slots, "after-item", Nt(Ot(o()))),
1669
- e.vi.hasChildren && e.vi.childrenExpanded ? (V(), F("div", {
1677
+ ])) : P("", !0)])], 64)) : t.$slots["item-readonly"] && (e.context.readonly || e.vi.expanded) && !e.context.reorderMode ? (H(), F("div", Lr, [I("div", Rr, [W(t.$slots, "item-readonly", It(jt(o())))])])) : P("", !0)], 6),
1678
+ W(t.$slots, "after-item", It(jt(o()))),
1679
+ e.vi.hasChildren && e.vi.childrenExpanded ? (H(), F("div", {
1670
1680
  key: 0,
1671
1681
  class: "a-nested-list-editor__children",
1672
- style: Pt({ "--parent-depth": e.vi.depth })
1682
+ style: Lt({ "--parent-depth": e.vi.depth })
1673
1683
  }, [I("div", {
1674
- class: B([Ir]),
1684
+ class: V([Br]),
1675
1685
  "data-parent-id": String(e.vi.key)
1676
- }, [(V(!0), F(j, null, Rt(s(), (r) => (V(), N(G(n), {
1686
+ }, [(H(!0), F(j, null, Vt(s(), (r) => (H(), N(K(n), {
1677
1687
  key: String(r.key),
1678
1688
  vi: r,
1679
1689
  "view-items": e.viewItems,
@@ -1681,14 +1691,14 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1681
1691
  context: e.context,
1682
1692
  callbacks: e.callbacks
1683
1693
  }, {
1684
- item: q((e) => [U(t.$slots, "item", z({ ref_for: !0 }, e))]),
1685
- "item-compact": q((e) => [U(t.$slots, "item-compact", z({ ref_for: !0 }, e))]),
1686
- "item-readonly": q((e) => [U(t.$slots, "item-readonly", z({ ref_for: !0 }, e))]),
1687
- "item-status": q((e) => [U(t.$slots, "item-status", z({ ref_for: !0 }, e))]),
1688
- "item-footer": q((e) => [U(t.$slots, "item-footer", z({ ref_for: !0 }, e))]),
1689
- "item-actions": q((e) => [U(t.$slots, "item-actions", z({ ref_for: !0 }, e))]),
1690
- "before-item": q((e) => [U(t.$slots, "before-item", z({ ref_for: !0 }, e))]),
1691
- "after-item": q((e) => [U(t.$slots, "after-item", z({ ref_for: !0 }, e))]),
1694
+ item: J((e) => [W(t.$slots, "item", B({ ref_for: !0 }, e))]),
1695
+ "item-compact": J((e) => [W(t.$slots, "item-compact", B({ ref_for: !0 }, e))]),
1696
+ "item-readonly": J((e) => [W(t.$slots, "item-readonly", B({ ref_for: !0 }, e))]),
1697
+ "item-status": J((e) => [W(t.$slots, "item-status", B({ ref_for: !0 }, e))]),
1698
+ "item-footer": J((e) => [W(t.$slots, "item-footer", B({ ref_for: !0 }, e))]),
1699
+ "item-actions": J((e) => [W(t.$slots, "item-actions", B({ ref_for: !0 }, e))]),
1700
+ "before-item": J((e) => [W(t.$slots, "before-item", B({ ref_for: !0 }, e))]),
1701
+ "after-item": J((e) => [W(t.$slots, "after-item", B({ ref_for: !0 }, e))]),
1692
1702
  _: 3
1693
1703
  }, 8, [
1694
1704
  "vi",
@@ -1696,12 +1706,12 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1696
1706
  "drag-state",
1697
1707
  "context",
1698
1708
  "callbacks"
1699
- ]))), 128))], 10, Fr)], 4)) : P("", !0)
1700
- ], 42, xr));
1709
+ ]))), 128))], 10, zr)], 4)) : P("", !0)
1710
+ ], 42, Tr));
1701
1711
  }
1702
- }), zr = { class: "text-body-medium mb-2" }, Br = /*#__PURE__*/ ut(/* @__PURE__ */ Et({
1712
+ }), Ur = { class: "text-body-medium mb-2" }, Wr = /*#__PURE__*/ rt(/* @__PURE__ */ z({
1703
1713
  __name: "LeChangeParentDialog",
1704
- props: /*@__PURE__*/ jt({
1714
+ props: /*@__PURE__*/ Pt({
1705
1715
  tree: {},
1706
1716
  sourceKey: {},
1707
1717
  keyField: {},
@@ -1715,10 +1725,10 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1715
1725
  },
1716
1726
  modelModifiers: {}
1717
1727
  }),
1718
- emits: /*@__PURE__*/ jt(["confirm"], ["update:modelValue"]),
1728
+ emits: /*@__PURE__*/ Pt(["confirm"], ["update:modelValue"]),
1719
1729
  setup(e, { emit: t }) {
1720
- let n = e, r = t, i = Ht(e, "modelValue"), { t: a } = Jt(), o = H(void 0), s = H("last");
1721
- K(i, (e) => {
1730
+ let n = e, r = t, i = Gt(e, "modelValue"), { t: a } = Zt(), o = U(void 0), s = U("last");
1731
+ q(i, (e) => {
1722
1732
  e && (o.value = void 0, s.value = "last");
1723
1733
  });
1724
1734
  let c = M(() => {
@@ -1790,59 +1800,59 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1790
1800
  e.disallowed || (o.value = e.key);
1791
1801
  }, g = () => {
1792
1802
  p.value && (r("confirm", p.value.key, s.value), i.value = !1);
1793
- }, ee = () => {
1803
+ }, _ = () => {
1794
1804
  i.value = !1;
1795
- }, _ = (e) => `${e * 16}px`, v = (e) => e === "maxDepth" ? a("common.sortable.changeParent.errorMaxDepth") : "";
1796
- return (e, t) => (V(), N($, {
1805
+ }, v = (e) => `${e * 16}px`, y = (e) => e === "maxDepth" ? a("common.sortable.changeParent.errorMaxDepth") : "";
1806
+ return (e, t) => (H(), N(_n, {
1797
1807
  modelValue: i.value,
1798
1808
  "onUpdate:modelValue": t[1] ||= (e) => i.value = e,
1799
1809
  "max-width": "540",
1800
1810
  persistent: ""
1801
1811
  }, {
1802
- default: q(() => [R(Qt, null, {
1803
- default: q(() => [
1804
- R(tn, null, {
1805
- default: q(() => [L(W(G(a)("common.sortable.changeParent.title")), 1)]),
1812
+ default: J(() => [R(tn, null, {
1813
+ default: J(() => [
1814
+ R(an, null, {
1815
+ default: J(() => [L(G(K(a)("common.sortable.changeParent.title")), 1)]),
1806
1816
  _: 1
1807
1817
  }),
1808
- f.value.length === 0 ? (V(), N(en, {
1818
+ f.value.length === 0 ? (H(), N(rn, {
1809
1819
  key: 0,
1810
1820
  class: "text-body-medium"
1811
1821
  }, {
1812
- default: q(() => [R(Xt, {
1822
+ default: J(() => [R($t, {
1813
1823
  type: "info",
1814
1824
  variant: "tonal",
1815
1825
  density: "compact"
1816
1826
  }, {
1817
- default: q(() => [I("strong", null, W(G(a)("common.sortable.changeParent.noTargetsTitle")), 1), I("div", null, W(G(a)("common.sortable.changeParent.noTargetsText")), 1)]),
1827
+ default: J(() => [I("strong", null, G(K(a)("common.sortable.changeParent.noTargetsTitle")), 1), I("div", null, G(K(a)("common.sortable.changeParent.noTargetsText")), 1)]),
1818
1828
  _: 1
1819
1829
  })]),
1820
1830
  _: 1
1821
- })) : (V(), F(j, { key: 1 }, [R(en, { class: "pb-1" }, {
1822
- default: q(() => [R(ln, {
1831
+ })) : (H(), F(j, { key: 1 }, [R(rn, { class: "pb-1" }, {
1832
+ default: J(() => [R(fn, {
1823
1833
  density: "compact",
1824
1834
  class: "le-change-parent__list"
1825
1835
  }, {
1826
- default: q(() => [(V(!0), F(j, null, Rt(d.value, (e) => (V(), N(Z, {
1836
+ default: J(() => [(H(!0), F(j, null, Vt(d.value, (e) => (H(), N(Q, {
1827
1837
  key: e.key === null ? "__root__" : String(e.key),
1828
1838
  disabled: e.disallowed,
1829
1839
  active: o.value === e.key,
1830
1840
  title: e.label,
1831
- subtitle: v(e.reason),
1832
- style: Pt({ paddingInlineStart: _(e.depth) }),
1841
+ subtitle: y(e.reason),
1842
+ style: Lt({ paddingInlineStart: v(e.depth) }),
1833
1843
  "data-disallowed": e.disallowed ? "true" : "false",
1834
1844
  "data-reason": e.reason ?? "",
1835
1845
  onClick: (t) => h(e)
1836
1846
  }, {
1837
- prepend: q(() => [e.key === null ? (V(), N(Y, {
1847
+ prepend: J(() => [e.key === null ? (H(), N(X, {
1838
1848
  key: 0,
1839
1849
  icon: "mdi-folder-home-outline",
1840
1850
  size: "18"
1841
- })) : e.hasChildren ? (V(), N(Y, {
1851
+ })) : e.hasChildren ? (H(), N(X, {
1842
1852
  key: 1,
1843
1853
  icon: "mdi-folder-outline",
1844
1854
  size: "18"
1845
- })) : (V(), N(Y, {
1855
+ })) : (H(), N(X, {
1846
1856
  key: 2,
1847
1857
  icon: "mdi-file-outline",
1848
1858
  size: "18"
@@ -1861,44 +1871,44 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1861
1871
  _: 1
1862
1872
  })]),
1863
1873
  _: 1
1864
- }), m.value ? (V(), N(en, {
1874
+ }), m.value ? (H(), N(rn, {
1865
1875
  key: 0,
1866
1876
  class: "pt-0"
1867
1877
  }, {
1868
- default: q(() => [I("div", zr, W(G(a)("common.sortable.changeParent.placementHeading", { label: p.value?.label ?? "" })), 1), R(gn, {
1878
+ default: J(() => [I("div", Ur, G(K(a)("common.sortable.changeParent.placementHeading", { label: p.value?.label ?? "" })), 1), R(bn, {
1869
1879
  modelValue: s.value,
1870
1880
  "onUpdate:modelValue": t[0] ||= (e) => s.value = e,
1871
1881
  density: "compact",
1872
1882
  "hide-details": ""
1873
1883
  }, {
1874
- default: q(() => [R(hn, {
1884
+ default: J(() => [R(yn, {
1875
1885
  value: "first",
1876
- label: G(a)("common.sortable.changeParent.placeFirst")
1877
- }, null, 8, ["label"]), R(hn, {
1886
+ label: K(a)("common.sortable.changeParent.placeFirst")
1887
+ }, null, 8, ["label"]), R(yn, {
1878
1888
  value: "last",
1879
- label: G(a)("common.sortable.changeParent.placeLast")
1889
+ label: K(a)("common.sortable.changeParent.placeLast")
1880
1890
  }, null, 8, ["label"])]),
1881
1891
  _: 1
1882
1892
  }, 8, ["modelValue"])]),
1883
1893
  _: 1
1884
1894
  })) : P("", !0)], 64)),
1885
- R($t, null, {
1886
- default: q(() => [
1887
- R(Yt),
1888
- R(X, {
1895
+ R(nn, null, {
1896
+ default: J(() => [
1897
+ R(Qt),
1898
+ R(Z, {
1889
1899
  variant: "text",
1890
- onClick: ee
1900
+ onClick: _
1891
1901
  }, {
1892
- default: q(() => [L(W(G(a)("common.sortable.reorderCancel")), 1)]),
1902
+ default: J(() => [L(G(K(a)("common.sortable.reorderCancel")), 1)]),
1893
1903
  _: 1
1894
1904
  }),
1895
- R(X, {
1905
+ R(Z, {
1896
1906
  color: "primary",
1897
1907
  variant: "elevated",
1898
1908
  disabled: !p.value || p.value.disallowed,
1899
1909
  onClick: g
1900
1910
  }, {
1901
- default: q(() => [L(W(G(a)("common.sortable.changeParent.confirm")), 1)]),
1911
+ default: J(() => [L(G(K(a)("common.sortable.changeParent.confirm")), 1)]),
1902
1912
  _: 1
1903
1913
  }, 8, ["disabled"])
1904
1914
  ]),
@@ -1910,28 +1920,28 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
1910
1920
  _: 1
1911
1921
  }, 8, ["modelValue"]));
1912
1922
  }
1913
- }), [["__scopeId", "data-v-0058f5cc"]]), Vr = { class: "a-le-card" }, Hr = {
1923
+ }), [["__scopeId", "data-v-0058f5cc"]]), Gr = { class: "a-le-card" }, Kr = {
1914
1924
  key: 0,
1915
1925
  class: "a-le-header"
1916
- }, Ur = {
1926
+ }, qr = {
1917
1927
  key: 0,
1918
1928
  class: "a-le-title-heading"
1919
- }, Wr = { class: "a-le-header-actions" }, Gr = {
1929
+ }, Jr = { class: "a-le-header-actions" }, Yr = {
1920
1930
  key: 1,
1921
1931
  class: "a-le-state a-le-state--loading"
1922
- }, Kr = {
1932
+ }, Xr = {
1923
1933
  key: 2,
1924
1934
  class: "a-le-state a-le-state--error"
1925
- }, qr = {
1935
+ }, Zr = {
1926
1936
  key: 3,
1927
1937
  class: "a-le-state a-le-state--empty"
1928
- }, Jr = {
1938
+ }, Qr = {
1929
1939
  class: "a-le-sr-only",
1930
1940
  "aria-live": "polite",
1931
1941
  role: "status"
1932
- }, Yr = "a-nested-list-editor__group", Xr = 24, Zr = 22, Qr = /* @__PURE__ */ Et({
1942
+ }, $r = "a-nested-list-editor__group", ei = 24, ti = 22, ni = /* @__PURE__ */ z({
1933
1943
  __name: "ANestedSortableListEditor",
1934
- props: /*@__PURE__*/ jt({
1944
+ props: /*@__PURE__*/ Pt({
1935
1945
  maxDepth: {},
1936
1946
  factory: {
1937
1947
  type: Function,
@@ -2064,7 +2074,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2064
2074
  mode: { default: "view" },
2065
2075
  modeModifiers: {}
2066
2076
  }),
2067
- emits: /*@__PURE__*/ jt([
2077
+ emits: /*@__PURE__*/ Pt([
2068
2078
  "add",
2069
2079
  "add-child",
2070
2080
  "edit",
@@ -2081,19 +2091,19 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2081
2091
  "outdent"
2082
2092
  ], ["update:modelValue", "update:mode"]),
2083
2093
  setup(e, { expose: t, emit: n }) {
2084
- let r = e, o = n, s = Ht(e, "modelValue"), c = Ht(e, "mode"), { t: l } = Jt(), u = Ut(), { showWarningT: f } = qe(), p = Wt("rootEl"), { isNarrow: h } = m(p), g = oe(), ee = M(() => r.closeVariant === "icon" ? "icon" : r.closeVariant === "labeled" ? "labeled" : h.value ? "icon" : "labeled"), _ = H(/* @__PURE__ */ new Set()), v = H(/* @__PURE__ */ new Set()), b = r.getKey ?? "id", x = typeof b == "function" ? "id" : b, S = (e) => typeof b == "function" ? b(e) : e[b], ne = (() => {
2094
+ let r = e, i = n, a = Gt(e, "modelValue"), s = Gt(e, "mode"), { t: c } = Zt(), l = Kt(), { showWarningT: u } = ze(), d = qt("rootEl"), { isNarrow: p } = h(d), m = ce(), g = M(() => r.closeVariant === "icon" ? "icon" : r.closeVariant === "labeled" ? "labeled" : p.value ? "icon" : "labeled"), _ = U(/* @__PURE__ */ new Set()), y = U(/* @__PURE__ */ new Set()), ee = r.getKey ?? "id", te = typeof ee == "function" ? "id" : ee, x = (e) => typeof ee == "function" ? ee(e) : e[ee], ne = (() => {
2085
2095
  let e = r.position;
2086
2096
  return e === void 0 || e === !1 ? "position" : typeof e == "object" ? e.field : e;
2087
2097
  })();
2088
2098
  ((e) => {
2089
2099
  let t = (e) => {
2090
- for (let n of e) n.children && n.children.length > 0 && (_.value.add(S(n.data)), t(n.children));
2100
+ for (let n of e) n.children && n.children.length > 0 && (_.value.add(x(n.data)), t(n.children));
2091
2101
  };
2092
2102
  t(e.children);
2093
- })(s.value);
2103
+ })(a.value);
2094
2104
  let ie = {
2095
- get: () => s.value,
2096
- set: (e) => s.value = e,
2105
+ get: () => a.value,
2106
+ set: (e) => a.value = e,
2097
2107
  factory: r.factory,
2098
2108
  getKey: r.getKey,
2099
2109
  position: r.position,
@@ -2101,10 +2111,10 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2101
2111
  maxDepth: r.maxDepth,
2102
2112
  dirtyExclude: () => r.dirtyExclude ?? [],
2103
2113
  validate: r.validate
2104
- }, ae = r.editor ? null : fe(r.stateKey, ie), C = r.editor ?? ae?.handle ?? d(ie), se = a(ae?.childScope ?? null), ce = M(() => {
2114
+ }, ae = r.editor ? null : he(r.stateKey, ie), S = r.editor ?? ae?.handle ?? f(ie), oe = o(ae?.childScope ?? null), se = M(() => {
2105
2115
  let e = [], t = 0, n = r.maxDepth, i = (r, a, o) => {
2106
2116
  for (let s = 0; s < r.length; s++) {
2107
- let c = r[s], l = S(c.data), u = c.children !== void 0, d = u && (c.children?.length ?? 0) > 0, f = c.children?.length ?? 0, p = n - (a + 1);
2117
+ let c = r[s], l = x(c.data), u = c.children !== void 0, d = u && (c.children?.length ?? 0) > 0, f = c.children?.length ?? 0, p = n - (a + 1);
2108
2118
  e.push({
2109
2119
  key: l,
2110
2120
  index: t++,
@@ -2113,7 +2123,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2113
2123
  node: c,
2114
2124
  depth: a,
2115
2125
  parent: o?.data ?? null,
2116
- parentKey: o ? S(o.data) : null,
2126
+ parentKey: o ? x(o.data) : null,
2117
2127
  childrenCount: f,
2118
2128
  hasChildren: d,
2119
2129
  childrenAllowed: u,
@@ -2127,26 +2137,26 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2127
2137
  }), d && i(c.children, a + 1, c);
2128
2138
  }
2129
2139
  };
2130
- return i(s.value.children, 0, null), e;
2140
+ return i(a.value.children, 0, null), e;
2131
2141
  });
2132
- K(() => ce.value.map((e) => String(e.key)).join("|"), () => se.retainOwners(ce.value.map((e) => e.key)), { flush: "post" });
2133
- let le = Bt(null), ue = H(/* @__PURE__ */ new Set()), de = H(/* @__PURE__ */ new Set()), pe = H(/* @__PURE__ */ new Set()), me = () => {
2134
- C.commit(), ue.value = /* @__PURE__ */ new Set();
2135
- }, he = (e) => {
2136
- let { node: t } = C.findNode(e);
2142
+ q(() => se.value.map((e) => String(e.key)).join("|"), () => oe.retainOwners(se.value.map((e) => e.key)), { flush: "post" });
2143
+ let le = Ut(null), C = U(/* @__PURE__ */ new Set()), de = U(/* @__PURE__ */ new Set()), fe = U(/* @__PURE__ */ new Set()), pe = () => {
2144
+ S.commit(), C.value = /* @__PURE__ */ new Set();
2145
+ }, me = (e) => {
2146
+ let { node: t } = S.findNode(e);
2137
2147
  if (!t) {
2138
- ue.value.add(e);
2148
+ C.value.add(e);
2139
2149
  return;
2140
2150
  }
2141
2151
  let n = (e) => {
2142
- ue.value.add(S(e.data)), e.children && e.children.forEach(n);
2152
+ C.value.add(x(e.data)), e.children && e.children.forEach(n);
2143
2153
  };
2144
2154
  n(t);
2145
- }, w = /* @__PURE__ */ new Map(), ge = M(() => {
2155
+ }, w = /* @__PURE__ */ new Map(), T = M(() => {
2146
2156
  let e = [], t = /* @__PURE__ */ new Set();
2147
- for (let n of ce.value) {
2157
+ for (let n of se.value) {
2148
2158
  t.add(n.key);
2149
- let i = Ee.value.has(n.key), a = v.value.has(n.key), o = _.value.has(n.key), s = r.loadingKeys?.has(n.key) ?? !1, c = ue.value.has(n.key), l = !r.readonly && C.isUnsaved(n.key), u = r.readonly ? !1 : l || c, d = w.get(n.key);
2159
+ let i = D.value.has(n.key), a = y.value.has(n.key), o = _.value.has(n.key), s = r.loadingKeys?.has(n.key) ?? !1, c = C.value.has(n.key), l = !r.readonly && S.isUnsaved(n.key), u = r.readonly ? !1 : l || c, d = w.get(n.key);
2150
2160
  if (d && d.raw === n.raw && d.index === n.index && d.position === n.position && d.depth === n.depth && d.parentKey === n.parentKey && d.childrenCount === n.childrenCount && d.firstInParent === n.firstInParent && d.lastInParent === n.lastInParent && d.editing === i && d.expanded === a && d.childrenExpanded === o && d.loading === s && d.dirty === l && d.moved === c && d.unsaved === u) {
2151
2161
  e.push(d);
2152
2162
  continue;
@@ -2165,95 +2175,95 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2165
2175
  }
2166
2176
  for (let e of w.keys()) t.has(e) || w.delete(e);
2167
2177
  return e;
2168
- }), _e = M(() => s.value.children.length === 0), ve = M(() => ce.value.length), T = Wt("rowsContainer"), E = M(() => !r.readonly && !r.disabled && !r.loading), ye = M(() => E.value && !r.disableReorder && ve.value > 1), xe = M(() => !!u.item), Se = M(() => !!u["item-readonly"]), we = M(() => !!r.onItemSave), { editingKeys: Ee, editingSnapshots: De, clearEditing: ke, beginEdit: je, cancelEdit: Me, commitEdit: Ne, closeEdit: Pe, requestAutoOpen: Fe } = Ie({
2169
- rowsContainer: T,
2178
+ }), ge = M(() => a.value.children.length === 0), _e = M(() => se.value.length), E = qt("rowsContainer"), ve = M(() => !r.readonly && !r.disabled && !r.loading), ye = M(() => ve.value && !r.disableReorder && _e.value > 1), xe = M(() => !!l.item), we = M(() => !!l["item-readonly"]), Te = M(() => !!r.onItemSave), { editingKeys: D, editingSnapshots: De, clearEditing: ke, beginEdit: Ae, cancelEdit: je, commitEdit: Me, closeEdit: Ne, requestAutoOpen: O } = Fe({
2179
+ rowsContainer: E,
2170
2180
  rowSelector: ".a-le-row-wrapper",
2171
2181
  isInlineEdit: xe,
2172
- restoreSnapshot: (e, t) => C.updateItem(e, t, !1),
2182
+ restoreSnapshot: (e, t) => S.updateItem(e, t, !1),
2173
2183
  watchKeys: () => {
2174
2184
  let e = [], t = (n) => {
2175
- for (let r of n) e.push(S(r.data)), r.children && r.children.length && t(r.children);
2185
+ for (let r of n) e.push(x(r.data)), r.children && r.children.length && t(r.children);
2176
2186
  };
2177
- return t(s.value.children), e;
2187
+ return t(a.value.children), e;
2178
2188
  },
2179
2189
  findEntry: (e) => {
2180
- let { node: t } = C.findNode(e);
2190
+ let { node: t } = S.findNode(e);
2181
2191
  return t ? { data: t.data } : null;
2182
2192
  },
2183
2193
  afterAutoOpen: (e) => {
2184
- let { parent: t } = C.findNode(e);
2185
- t && _.value.add(S(t.data));
2194
+ let { parent: t } = S.findNode(e);
2195
+ t && _.value.add(x(t.data));
2186
2196
  }
2187
- }), { applying: Le, applyError: ze, hasPendingChanges: Be, movedCount: He, reorderMode: D, enterReorderMode: Ue, cancelReorderMode: We, applyReorder: Ge } = nt({
2188
- mode: c,
2197
+ }), { applying: Pe, applyError: Ie, hasPendingChanges: Le, movedCount: Be, reorderMode: k, enterReorderMode: He, cancelReorderMode: Ue, applyReorder: We } = nt({
2198
+ mode: s,
2189
2199
  snapshot: le,
2190
- movedKeys: ue,
2191
- modelValue: s,
2192
- cloneModel: (e) => te(e),
2200
+ movedKeys: C,
2201
+ modelValue: a,
2202
+ cloneModel: (e) => ue(e),
2193
2203
  applyModel: (e) => {
2194
- s.value = e;
2204
+ a.value = e;
2195
2205
  },
2196
2206
  canEnterReorder: ye,
2197
2207
  onEnter: () => {
2198
- de.value = /* @__PURE__ */ new Set(), pe.value = /* @__PURE__ */ new Set(), ke();
2208
+ de.value = /* @__PURE__ */ new Set(), fe.value = /* @__PURE__ */ new Set(), ke();
2199
2209
  for (let e of it.value) _.value.add(e);
2200
- Mt(() => {
2201
- Ze.value && vt();
2210
+ Ft(() => {
2211
+ Xe.value && vt();
2202
2212
  });
2203
2213
  },
2204
2214
  onExternalEnter: () => {
2205
- de.value = /* @__PURE__ */ new Set(), pe.value = /* @__PURE__ */ new Set(), ke();
2215
+ de.value = /* @__PURE__ */ new Set(), fe.value = /* @__PURE__ */ new Set(), ke();
2206
2216
  },
2207
2217
  onCancel: () => {
2208
- for (let e of de.value) C.restoreDeleted(e);
2209
- for (let e of pe.value) C.deleteItem(e, { trackDeleted: !1 });
2210
- de.value = /* @__PURE__ */ new Set(), pe.value = /* @__PURE__ */ new Set(), ft();
2218
+ for (let e of de.value) S.restoreDeleted(e);
2219
+ for (let e of fe.value) S.deleteItem(e, { trackDeleted: !1 });
2220
+ de.value = /* @__PURE__ */ new Set(), fe.value = /* @__PURE__ */ new Set(), ft();
2211
2221
  },
2212
2222
  onApplyEnd: () => {
2213
- de.value = /* @__PURE__ */ new Set(), pe.value = /* @__PURE__ */ new Set(), ft();
2223
+ de.value = /* @__PURE__ */ new Set(), fe.value = /* @__PURE__ */ new Set(), ft();
2214
2224
  },
2215
2225
  onReorderApply: (e) => r.onReorderApply?.(e),
2216
2226
  emit: {
2217
- reorderStart: () => o("reorder-start"),
2218
- reorderCancel: () => o("reorder-cancel"),
2219
- reorderApplied: (e) => o("reorder-applied", e),
2220
- reorderApplyError: (e) => o("reorder-apply-error", e),
2221
- reorderEnd: () => o("reorder-end")
2227
+ reorderStart: () => i("reorder-start"),
2228
+ reorderCancel: () => i("reorder-cancel"),
2229
+ reorderApplied: (e) => i("reorder-applied", e),
2230
+ reorderApplyError: (e) => i("reorder-apply-error", e),
2231
+ reorderEnd: () => i("reorder-end")
2222
2232
  }
2223
- }), O = M(() => He.value + de.value.size), Ye = M(() => Be.value || de.value.size > 0), Xe = M(() => E.value && r.showAddButton && !D.value), Ze = M(() => D.value && !g.value && !r.disableDrag), Qe = M(() => r.addLabel ? l(r.addLabel) : l("common.sortable.add")), $e = M(() => r.emptyTitle ?? l("common.sortable.emptyTitle")), et = M(() => r.deleteConfirmTitle ?? l("common.sortable.deleteConfirmTitle")), k = M(() => r.deleteConfirmText ?? (r.deleteMode === "immediate" ? l("common.sortable.deleteConfirmText") : l("common.sortable.deleteConfirmTextDeferred"))), tt = M(() => !r.readonly && r.showReorderToggle && !D.value && ve.value > 0), rt = M(() => !!r.title && h.value), it = M(() => {
2233
+ }), Ge = M(() => Be.value + de.value.size), Ke = M(() => Le.value || de.value.size > 0), Je = M(() => ve.value && r.showAddButton && !k.value), Xe = M(() => k.value && !m.value && !r.disableDrag), Ze = M(() => r.addLabel ? c(r.addLabel) : c("common.sortable.add")), Qe = M(() => r.emptyTitle ?? c("common.sortable.emptyTitle")), $e = M(() => r.deleteConfirmTitle ?? c("common.sortable.deleteConfirmTitle")), et = M(() => r.deleteConfirmText ?? (r.deleteMode === "immediate" ? c("common.sortable.deleteConfirmText") : c("common.sortable.deleteConfirmTextDeferred"))), tt = M(() => !r.readonly && r.showReorderToggle && !k.value && _e.value > 0), rt = M(() => !!r.title && p.value), it = M(() => {
2224
2234
  let e = [], t = (n) => {
2225
- for (let r of n) r.children && r.children.length > 0 && (e.push(S(r.data)), t(r.children));
2235
+ for (let r of n) r.children && r.children.length > 0 && (e.push(x(r.data)), t(r.children));
2226
2236
  };
2227
- return t(s.value.children), e;
2228
- }), at = M(() => it.value.length > 0 && it.value.every((e) => _.value.has(e))), ot = M(() => !D.value && it.value.length > 0), ct = () => {
2237
+ return t(a.value.children), e;
2238
+ }), at = M(() => it.value.length > 0 && it.value.every((e) => _.value.has(e))), ot = M(() => !k.value && it.value.length > 0), st = () => {
2229
2239
  if (at.value) for (let e of it.value) _.value.delete(e);
2230
2240
  else for (let e of it.value) _.value.add(e);
2231
- }, lt = M(() => !!(r.title || u.header || u["reorder-toggle"] || tt.value || ot.value || D.value)), ut = H([]), dt = H(0), ft = () => {
2241
+ }, lt = M(() => !!(r.title || l.header || l["reorder-toggle"] || tt.value || ot.value || k.value)), ut = U([]), dt = U(0), ft = () => {
2232
2242
  for (let e of ut.value) try {
2233
2243
  e.stop();
2234
2244
  } catch {}
2235
2245
  ut.value = [];
2236
- }, A = H(null), mt = (e, t) => {
2246
+ }, A = U(null), mt = (e, t) => {
2237
2247
  let n = document.elementFromPoint(e, t);
2238
2248
  if (!n) return null;
2239
2249
  let r = n.closest(".a-le-row-wrapper");
2240
- if (!r || !T.value || !T.value.contains(r)) return null;
2250
+ if (!r || !E.value || !E.value.contains(r)) return null;
2241
2251
  let i = yt(r.getAttribute("data-id"));
2242
2252
  if (i === null) return null;
2243
- let a = ge.value.find((e) => e.key === i);
2253
+ let a = T.value.find((e) => e.key === i);
2244
2254
  return a ? {
2245
2255
  el: r,
2246
2256
  viewItem: a
2247
2257
  } : null;
2248
2258
  }, ht = (e, t) => {
2249
- if (!A.value || !T.value) return;
2259
+ if (!A.value || !E.value) return;
2250
2260
  let n = mt(e, t);
2251
2261
  if (!n) {
2252
2262
  A.value.instruction = null;
2253
2263
  return;
2254
2264
  }
2255
- let i = T.value.getBoundingClientRect(), a = (n.el.querySelector(":scope > .a-le-row") ?? n.el).getBoundingClientRect();
2256
- A.value.instruction = br({
2265
+ let i = E.value.getBoundingClientRect(), a = (n.el.querySelector(":scope > .a-le-row") ?? n.el).getBoundingClientRect();
2266
+ A.value.instruction = wr({
2257
2267
  pointer: {
2258
2268
  x: e,
2259
2269
  y: t
@@ -2268,25 +2278,25 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2268
2278
  },
2269
2279
  sourceKey: A.value.sourceKey,
2270
2280
  sourceSubtreeDepth: A.value.sourceSubtreeDepth,
2271
- viewItems: ge.value,
2281
+ viewItems: T.value,
2272
2282
  maxDepth: r.maxDepth,
2273
- indentPx: Xr,
2283
+ indentPx: ei,
2274
2284
  containerLeft: i.left,
2275
- containerPaddingLeft: Zr
2285
+ containerPaddingLeft: ti
2276
2286
  });
2277
2287
  }, gt = (e) => {
2278
2288
  ht(e.clientX, e.clientY);
2279
2289
  }, _t = (e, t) => {
2280
- if (!C.moveTo(t, e.parentKey, e.index)) {
2281
- f("common.sortable.error.maxDeepExceed"), dt.value++, Mt(() => vt());
2290
+ if (!S.moveTo(t, e.parentKey, e.index)) {
2291
+ u("common.sortable.error.maxDeepExceed"), dt.value++, Ft(() => vt());
2282
2292
  return;
2283
2293
  }
2284
- he(t), e.makeChild && e.parentKey !== null && _.value.add(e.parentKey);
2294
+ me(t), e.makeChild && e.parentKey !== null && _.value.add(e.parentKey);
2285
2295
  }, vt = () => {
2286
- if (ft(), !Ze.value || !T.value) return;
2287
- let e = Array.from(T.value.querySelectorAll("." + Yr));
2296
+ if (ft(), !Xe.value || !E.value) return;
2297
+ let e = Array.from(E.value.querySelectorAll("." + $r));
2288
2298
  for (let t of e) {
2289
- let e = y(t, [], {
2299
+ let e = v(t, [], {
2290
2300
  group: {
2291
2301
  name: "a-nested",
2292
2302
  pull: !0,
@@ -2294,8 +2304,8 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2294
2304
  },
2295
2305
  handle: ".a-le-drag-handle",
2296
2306
  animation: 0,
2297
- ghostClass: Ce,
2298
- chosenClass: st,
2307
+ ghostClass: Se,
2308
+ chosenClass: ct,
2299
2309
  dragClass: Ve,
2300
2310
  fallbackOnBody: !0,
2301
2311
  forceFallback: !0,
@@ -2303,7 +2313,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2303
2313
  onStart: (e) => {
2304
2314
  let t = e.item, n = yt(t.getAttribute("data-id"));
2305
2315
  if (n === null) return;
2306
- let r = C.findNode(n).node, i = r ? C.calculateSubtreeDepth(r) : 1;
2316
+ let r = S.findNode(n).node, i = r ? S.calculateSubtreeDepth(r) : 1;
2307
2317
  A.value = {
2308
2318
  sourceKey: n,
2309
2319
  sourceSubtreeDepth: i,
@@ -2333,34 +2343,34 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2333
2343
  }
2334
2344
  }, yt = (e) => {
2335
2345
  if (e === null || e === "") return null;
2336
- let t = i(e);
2346
+ let t = b(e);
2337
2347
  return String(t) === e ? t : e;
2338
2348
  };
2339
- K(() => Ze.value, () => {
2340
- Ze.value ? Mt(() => vt()) : ft();
2341
- }), K(() => dt.value, () => {
2342
- Ze.value && Mt(() => vt());
2343
- }), K(() => ge.value.map((e) => e.key).join("|"), () => {
2344
- Ze.value && Mt(() => vt());
2345
- }), It(() => {
2346
- Ze.value && vt();
2347
- }), Ft(() => {
2349
+ q(() => Xe.value, () => {
2350
+ Xe.value ? Ft(() => vt()) : ft();
2351
+ }), q(() => dt.value, () => {
2352
+ Xe.value && Ft(() => vt());
2353
+ }), q(() => T.value.map((e) => e.key).join("|"), () => {
2354
+ Xe.value && Ft(() => vt());
2355
+ }), zt(() => {
2356
+ Xe.value && vt();
2357
+ }), Rt(() => {
2348
2358
  ft(), document.removeEventListener("pointermove", gt);
2349
2359
  });
2350
2360
  let bt = M(() => {
2351
2361
  let e = A.value;
2352
- if (!e || e.instruction === null || !T.value) return null;
2362
+ if (!e || e.instruction === null || !E.value) return null;
2353
2363
  let t = e.instruction;
2354
2364
  if (t.type === "blocked") return null;
2355
- let n = T.value.querySelector(`.a-le-row-wrapper[data-id="${CSS.escape(String(t.refKey))}"]`);
2365
+ let n = E.value.querySelector(`.a-le-row-wrapper[data-id="${CSS.escape(String(t.refKey))}"]`);
2356
2366
  if (!n) return null;
2357
- let r = n.querySelector(":scope > .a-le-row"), i = T.value.getBoundingClientRect(), a = (r ?? n).getBoundingClientRect(), o = Zr + t.depth * Xr, s = t.refEdge === "top" ? a.top - i.top : a.bottom - i.top, c = {
2367
+ let r = n.querySelector(":scope > .a-le-row"), i = E.value.getBoundingClientRect(), a = (r ?? n).getBoundingClientRect(), o = ti + t.depth * ei, s = t.refEdge === "top" ? a.top - i.top : a.bottom - i.top, c = {
2358
2368
  top: s,
2359
2369
  left: o,
2360
2370
  right: 16
2361
2371
  }, l = null;
2362
2372
  if (t.levelRowKey !== null) {
2363
- let e = T.value.querySelector(`.a-le-row-wrapper[data-id="${CSS.escape(String(t.levelRowKey))}"]`);
2373
+ let e = E.value.querySelector(`.a-le-row-wrapper[data-id="${CSS.escape(String(t.levelRowKey))}"]`);
2364
2374
  if (e) {
2365
2375
  let t = (e.querySelector(":scope > .a-le-row") ?? e).getBoundingClientRect(), n = t.top - i.top + t.height / 2;
2366
2376
  n < s && (l = {
@@ -2375,96 +2385,96 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2375
2385
  connector: l
2376
2386
  };
2377
2387
  }), xt = () => {
2378
- Xe.value && (Fe(), r.factory && C.addItem(), o("add", void 0));
2388
+ Je.value && (O(), r.factory && S.addItem(), i("add", void 0));
2379
2389
  }, St = (e) => {
2380
- E.value && (Fe(), r.factory && C.addAfter(e.key, void 0, e.childrenAllowed), o("add", {
2390
+ ve.value && (O(), r.factory && S.addAfter(e.key, void 0, e.childrenAllowed), i("add", {
2381
2391
  afterId: e.key,
2382
2392
  childrenAllowed: e.childrenAllowed
2383
2393
  }));
2384
- }, wt = (e) => {
2385
- E.value && e.canAddChild && (Fe(), _.value.add(e.key), o("add-child", e), r.factory && C.addChild(e.key, void 0, !0), o("add", {
2394
+ }, Ct = (e) => {
2395
+ ve.value && e.canAddChild && (O(), _.value.add(e.key), i("add-child", e), r.factory && S.addChild(e.key, void 0, !0), i("add", {
2386
2396
  parentId: e.key,
2387
2397
  childrenAllowed: !0
2388
2398
  }));
2389
- }, Tt = (e) => {
2390
- if (E.value && !D.value) {
2391
- if (Ee.value.has(e.key)) {
2392
- $t(e);
2399
+ }, wt = (e) => {
2400
+ if (ve.value && !k.value) {
2401
+ if (D.value.has(e.key)) {
2402
+ Xt(e);
2393
2403
  return;
2394
2404
  }
2395
- xe.value && je(e), o("edit", e);
2405
+ xe.value && Ae(e), i("edit", e);
2396
2406
  }
2397
2407
  }, Et = (e) => {
2398
2408
  if (r.disabled || r.loading) return;
2399
2409
  let t = e.key, n = _.value.has(t);
2400
- n ? _.value.delete(t) : _.value.add(t), o("item-expand", e, !n);
2410
+ n ? _.value.delete(t) : _.value.add(t), i("item-expand", e, !n);
2401
2411
  }, Dt = (e) => {
2402
2412
  if (r.disabled || r.loading) return;
2403
- let t = e.key, n = v.value.has(t);
2404
- n ? v.value.delete(t) : v.value.add(t), o("item-expand", e, !n);
2405
- }, kt = (e) => r.disableRowClick || r.disabled || r.loading || D.value ? !1 : !!(e.editing || e.expanded || !r.readonly && r.showEditButton), jt = (e) => {
2406
- if (kt(e)) {
2413
+ let t = e.key, n = y.value.has(t);
2414
+ n ? y.value.delete(t) : y.value.add(t), i("item-expand", e, !n);
2415
+ }, Ot = (e) => r.disableRowClick || r.disabled || r.loading || k.value ? !1 : !!(e.editing || e.expanded || !r.readonly && r.showEditButton), kt = (e) => {
2416
+ if (Ot(e)) {
2407
2417
  if (e.editing || e.expanded) {
2408
- $t(e);
2418
+ Xt(e);
2409
2419
  return;
2410
2420
  }
2411
- r.readonly && Se.value ? Dt(e) : Tt(e);
2421
+ r.readonly && we.value ? Dt(e) : wt(e);
2412
2422
  }
2413
- }, { deleteDialog: Lt, deleteInFlight: zt, deleteError: Vt, onDeleteClick: Gt, onDeleteDialogConfirm: Kt, onDeleteDialogCancel: qt } = be({
2423
+ }, { deleteDialog: z, deleteInFlight: At, deleteError: Mt, onDeleteClick: Pt, onDeleteDialogConfirm: Bt, onDeleteDialogCancel: Ht } = be({
2414
2424
  onDeleteConfirm: (e) => !r.onDeleteConfirm || r.onDeleteConfirm(e),
2415
2425
  onDelete: (e) => r.onDelete?.(e),
2416
2426
  onDeleted: (e) => {
2417
- Ee.value.delete(e.key), De.value.delete(e.key), v.value.delete(e.key), _.value.delete(e.key);
2427
+ D.value.delete(e.key), De.value.delete(e.key), y.value.delete(e.key), _.value.delete(e.key);
2418
2428
  let t = r.deleteMode === "deferred";
2419
- D.value && (t ? de.value.add(e.key) : pe.value.add(e.key)), C.deleteItem(e.key, { trackDeleted: t }), o("deleted", e);
2429
+ k.value && (t ? de.value.add(e.key) : fe.value.add(e.key)), S.deleteItem(e.key, { trackDeleted: t }), i("deleted", e);
2420
2430
  },
2421
2431
  disableDeleteConfirm: () => r.disableDeleteConfirm
2422
- }), J = async (e) => {
2423
- E.value && await Gt(e);
2424
- }, Yt = async (e) => {
2425
- r.onItemSave && await r.onItemSave(e.raw), Ne(e), o("item-saved", e);
2432
+ }), Wt = async (e) => {
2433
+ ve.value && await Pt(e);
2434
+ }, Jt = async (e) => {
2435
+ r.onItemSave && await r.onItemSave(e.raw), Me(e), i("item-saved", e);
2436
+ }, Yt = (e) => {
2437
+ je(e);
2438
+ }, Xt = (e) => {
2439
+ Ne(e), i("close", e);
2440
+ }, Y = (e) => {
2441
+ S.moveUp(e) && me(e);
2426
2442
  }, Qt = (e) => {
2427
- Me(e);
2428
- }, $t = (e) => {
2429
- Pe(e), o("close", e);
2430
- }, en = (e) => {
2431
- C.moveUp(e) && he(e);
2443
+ S.moveDown(e) && me(e);
2432
2444
  }, tn = (e) => {
2433
- C.moveDown(e) && he(e);
2445
+ S.moveTop(e) && me(e);
2446
+ }, nn = (e) => {
2447
+ S.moveBottom(e) && me(e);
2434
2448
  }, rn = (e) => {
2435
- C.moveTop(e) && he(e);
2436
- }, an = (e) => {
2437
- C.moveBottom(e) && he(e);
2438
- }, on = (e) => {
2439
- if (!C.indent(e.key)) {
2440
- f("common.sortable.error.maxDeepExceed");
2449
+ if (!S.indent(e.key)) {
2450
+ u("common.sortable.error.maxDeepExceed");
2441
2451
  return;
2442
2452
  }
2443
- he(e.key), o("indent", e);
2444
- }, sn = (e) => {
2445
- C.outdent(e.key) && (he(e.key), o("outdent", e));
2446
- }, cn = (e) => Te(e, { compactField: r.compactField }), ln = (e, t) => t === void 0 ? null : C.rowState(e, t, Ee.value.has(t)), Z = /* @__PURE__ */ new Map(), Q = (e) => {
2447
- let t = Z.get(e);
2453
+ me(e.key), i("indent", e);
2454
+ }, an = (e) => {
2455
+ S.outdent(e.key) && (me(e.key), i("outdent", e));
2456
+ }, sn = (e) => Ce(e, { compactField: r.compactField }), cn = (e, t) => t === void 0 ? null : S.rowState(e, t, D.value.has(t)), ln = /* @__PURE__ */ new Map(), un = (e) => {
2457
+ let t = ln.get(e);
2448
2458
  return t || (t = {
2449
2459
  edit: () => {
2450
2460
  let t = $(e);
2451
- t && Tt(t);
2461
+ t && wt(t);
2452
2462
  },
2453
2463
  save: () => {
2454
2464
  let t = $(e);
2455
- if (t) return Yt(t);
2465
+ if (t) return Jt(t);
2456
2466
  },
2457
2467
  cancel: () => {
2458
2468
  let t = $(e);
2459
- t && Qt(t);
2469
+ t && Yt(t);
2460
2470
  },
2461
2471
  close: () => {
2462
2472
  let t = $(e);
2463
- t && $t(t);
2473
+ t && Xt(t);
2464
2474
  },
2465
2475
  delete: async () => {
2466
2476
  let t = $(e);
2467
- t && await J(t);
2477
+ t && await Wt(t);
2468
2478
  },
2469
2479
  addAfter: () => {
2470
2480
  let t = $(e);
@@ -2472,7 +2482,7 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2472
2482
  },
2473
2483
  addChild: () => {
2474
2484
  let t = $(e);
2475
- t && wt(t);
2485
+ t && Ct(t);
2476
2486
  },
2477
2487
  toggleExpand: () => {
2478
2488
  let t = $(e);
@@ -2482,30 +2492,30 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2482
2492
  let t = $(e);
2483
2493
  t && Dt(t);
2484
2494
  },
2485
- moveUp: () => en(e),
2486
- moveDown: () => tn(e),
2487
- moveTop: () => rn(e),
2488
- moveBottom: () => an(e),
2495
+ moveUp: () => Y(e),
2496
+ moveDown: () => Qt(e),
2497
+ moveTop: () => tn(e),
2498
+ moveBottom: () => nn(e),
2489
2499
  indent: () => {
2490
2500
  let t = $(e);
2491
- t && on(t);
2501
+ t && rn(t);
2492
2502
  },
2493
2503
  outdent: () => {
2494
2504
  let t = $(e);
2495
- t && sn(t);
2505
+ t && an(t);
2496
2506
  },
2497
- update: (t) => C.updateItem(e, t)
2498
- }, Z.set(e, t)), t;
2507
+ update: (t) => S.updateItem(e, t)
2508
+ }, ln.set(e, t)), t;
2499
2509
  };
2500
- K(() => ge.value, (e) => {
2501
- if (Z.size === 0) return;
2510
+ q(() => T.value, (e) => {
2511
+ if (ln.size === 0) return;
2502
2512
  let t = new Set(e.map((e) => e.key));
2503
- for (let e of Z.keys()) t.has(e) || Z.delete(e);
2513
+ for (let e of ln.keys()) t.has(e) || ln.delete(e);
2504
2514
  });
2505
- let un = (e) => ({
2515
+ let dn = (e) => ({
2506
2516
  item: {
2507
2517
  ...e,
2508
- validationState: ln(e.raw, e.key)
2518
+ validationState: cn(e.raw, e.key)
2509
2519
  },
2510
2520
  raw: e.raw,
2511
2521
  index: e.index,
@@ -2526,34 +2536,34 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2526
2536
  dirty: e.dirty,
2527
2537
  unsaved: e.unsaved,
2528
2538
  moved: e.moved,
2529
- reorderMode: D.value,
2539
+ reorderMode: k.value,
2530
2540
  canMoveUp: !e.firstInParent,
2531
2541
  canMoveDown: !e.lastInParent,
2532
2542
  canIndent: e.canIndent,
2533
2543
  canOutdent: e.canOutdent,
2534
2544
  canAddChild: e.canAddChild,
2535
- touch: g.value,
2536
- stateKeyPrefix: se.prefixFor(e.key),
2537
- actions: Q(e.key)
2538
- }), dn = M(() => ({
2539
- applying: Le.value,
2540
- hasPendingChanges: Ye.value,
2541
- movedCount: O.value,
2542
- error: ze.value,
2545
+ touch: m.value,
2546
+ stateKeyPrefix: oe.prefixFor(e.key),
2547
+ actions: un(e.key)
2548
+ }), fn = M(() => ({
2549
+ applying: Pe.value,
2550
+ hasPendingChanges: Ke.value,
2551
+ movedCount: Ge.value,
2552
+ error: Ie.value,
2543
2553
  actions: {
2544
- apply: Ge,
2545
- cancel: We
2554
+ apply: We,
2555
+ cancel: Ue
2546
2556
  }
2547
- })), fn = M(() => ({
2548
- mode: c.value,
2557
+ })), Q = M(() => ({
2558
+ mode: s.value,
2549
2559
  disabled: !ye.value,
2550
- hasPendingChanges: Be.value,
2560
+ hasPendingChanges: Le.value,
2551
2561
  actions: {
2552
- enterReorderMode: Ue,
2553
- exitReorderMode: We
2562
+ enterReorderMode: He,
2563
+ exitReorderMode: Ue
2554
2564
  }
2555
- })), pn = M(() => new Set(it.value)), $ = (e) => ge.value.find((t) => t.key === e), mn = re({
2556
- viewItems: M(() => ge.value.map((e) => ({
2565
+ })), pn = M(() => new Set(it.value)), $ = (e) => T.value.find((t) => t.key === e), mn = re({
2566
+ viewItems: M(() => T.value.map((e) => ({
2557
2567
  key: e.key,
2558
2568
  expanded: e.childrenExpanded,
2559
2569
  canExpand: pn.value.has(e.key),
@@ -2561,62 +2571,62 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2561
2571
  canOutdent: !0
2562
2572
  }))),
2563
2573
  variant: "nested",
2564
- isReorderMode: D,
2565
- disabled: M(() => !E.value),
2566
- isEditing: (e) => Ee.value.has(e),
2574
+ isReorderMode: k,
2575
+ disabled: M(() => !ve.value),
2576
+ isEditing: (e) => D.value.has(e),
2567
2577
  onToggleEdit: (e) => {
2568
2578
  let t = $(e);
2569
- t && Tt(t);
2579
+ t && wt(t);
2570
2580
  },
2571
2581
  onCancelEdit: (e) => {
2572
2582
  let t = $(e);
2573
- t && $t(t);
2583
+ t && Xt(t);
2574
2584
  },
2575
- onMoveUp: (e) => en(e),
2576
- onMoveDown: (e) => tn(e),
2577
- onMoveTop: (e) => rn(e),
2578
- onMoveBottom: (e) => an(e),
2585
+ onMoveUp: (e) => Y(e),
2586
+ onMoveDown: (e) => Qt(e),
2587
+ onMoveTop: (e) => tn(e),
2588
+ onMoveBottom: (e) => nn(e),
2579
2589
  onIndent: (e) => {
2580
2590
  let t = $(e);
2581
- t && on(t);
2591
+ t && rn(t);
2582
2592
  },
2583
2593
  onOutdent: (e) => {
2584
2594
  let t = $(e);
2585
- t && sn(t);
2595
+ t && an(t);
2586
2596
  },
2587
2597
  onToggleChildren: (e) => {
2588
2598
  let t = $(e);
2589
2599
  t && Et(t);
2590
2600
  },
2591
- onCancelReorder: () => We()
2592
- }), hn = H(!1), gn = Bt(null), _n = M(() => {
2601
+ onCancelReorder: () => Ue()
2602
+ }), hn = U(!1), gn = Ut(null), _n = M(() => {
2593
2603
  let e = gn.value;
2594
2604
  if (!e) return null;
2595
- let t = C.findNode(e.key), n = t.parent?.children ?? s.value.children, r = n.findIndex((t) => S(t.data) === e.key);
2605
+ let t = S.findNode(e.key), n = t.parent?.children ?? a.value.children, r = n.findIndex((t) => x(t.data) === e.key);
2596
2606
  return {
2597
- parentId: t.parent ? S(t.parent.data) : null,
2607
+ parentId: t.parent ? x(t.parent.data) : null,
2598
2608
  total: n.length,
2599
2609
  currentIndex: r
2600
2610
  };
2601
- }), vn = M(() => gn.value ? cn(gn.value.raw) : ""), yn = (e) => {
2611
+ }), vn = M(() => gn.value ? sn(gn.value.raw) : ""), yn = (e) => {
2602
2612
  r.showMoveToPosition && (gn.value = e, hn.value = !0);
2603
2613
  }, bn = (e) => {
2604
2614
  let t = _n.value, n = gn.value;
2605
- gn.value = null, t && n && e !== t.currentIndex && C.moveTo(n.key, t.parentId, e) && he(n.key);
2606
- }, xn = H(!1), Sn = Bt(null), Cn = (e) => {
2615
+ gn.value = null, t && n && e !== t.currentIndex && S.moveTo(n.key, t.parentId, e) && me(n.key);
2616
+ }, xn = U(!1), Sn = Ut(null), Cn = (e) => {
2607
2617
  r.showChangeParent && (Sn.value = e, xn.value = !0);
2608
2618
  }, wn = (e, t) => {
2609
2619
  let n = Sn.value;
2610
2620
  if (Sn.value = null, !n) return;
2611
2621
  let r = 0;
2612
- r = e === null ? s.value.children.length : C.findNode(e).node?.children?.length ?? 0;
2622
+ r = e === null ? a.value.children.length : S.findNode(e).node?.children?.length ?? 0;
2613
2623
  let i = t === "first" ? 0 : r;
2614
- C.moveTo(n.key, e, i) && (he(n.key), e !== null && _.value.add(e));
2624
+ S.moveTo(n.key, e, i) && (me(n.key), e !== null && _.value.add(e));
2615
2625
  }, Tn = M(() => ({
2616
- reorderMode: D.value,
2626
+ reorderMode: k.value,
2617
2627
  readonly: r.readonly,
2618
- canInteract: E.value,
2619
- dragEnabled: Ze.value,
2628
+ canInteract: ve.value,
2629
+ dragEnabled: Xe.value,
2620
2630
  showExpandToggle: r.showExpandToggle,
2621
2631
  showEditButton: r.showEditButton,
2622
2632
  showDeleteButton: r.showDeleteButton,
@@ -2624,260 +2634,260 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2624
2634
  showAddAfterAction: r.showAddAfterAction,
2625
2635
  showMoveToPosition: r.showMoveToPosition,
2626
2636
  showChangeParent: r.showChangeParent,
2627
- showInlineSaveFooter: we.value,
2637
+ showInlineSaveFooter: Te.value,
2628
2638
  statusField: r.statusField,
2629
- effectiveCloseVariant: ee.value,
2639
+ effectiveCloseVariant: g.value,
2630
2640
  keyboardNav: mn,
2631
- isRowClickable: kt,
2632
- resolveCompactText: cn,
2633
- resolveValidation: (e, t) => ln(e, t),
2634
- buildSlotProps: un
2641
+ isRowClickable: Ot,
2642
+ resolveCompactText: sn,
2643
+ resolveValidation: (e, t) => cn(e, t),
2644
+ buildSlotProps: dn
2635
2645
  })), En = {
2636
- onRowClick: jt,
2646
+ onRowClick: kt,
2637
2647
  onChevronClick: Et,
2638
- onEditClick: Tt,
2639
- onDeleteClick: J,
2640
- onCloseClick: $t,
2641
- onSaveClick: Yt,
2642
- onCancelClick: Qt,
2648
+ onEditClick: wt,
2649
+ onDeleteClick: Wt,
2650
+ onCloseClick: Xt,
2651
+ onSaveClick: Jt,
2652
+ onCancelClick: Yt,
2643
2653
  onAddAfterClick: St,
2644
- onAddChildClick: wt,
2645
- moveUp: (e) => en(e),
2646
- moveDown: (e) => tn(e),
2647
- moveTop: (e) => rn(e),
2648
- moveBottom: (e) => an(e),
2649
- indent: on,
2650
- outdent: sn,
2654
+ onAddChildClick: Ct,
2655
+ moveUp: (e) => Y(e),
2656
+ moveDown: (e) => Qt(e),
2657
+ moveTop: (e) => tn(e),
2658
+ moveBottom: (e) => nn(e),
2659
+ indent: rn,
2660
+ outdent: an,
2651
2661
  openMoveToPosition: yn,
2652
2662
  openChangeParent: Cn
2653
- }, Dn = M(() => ge.value.filter((e) => e.parentKey === null)), On = (e, t, n) => (C.addItem(t, {
2663
+ }, Dn = M(() => T.value.filter((e) => e.parentKey === null)), On = (e, t, n) => (S.addItem(t, {
2654
2664
  afterId: e ?? void 0,
2655
2665
  childrenAllowed: n
2656
- }), Mt(() => C.commit()), s.value), kn = (e, t, n) => (_.value.add(e), C.addItem(t, {
2666
+ }), Ft(() => S.commit()), a.value), kn = (e, t, n) => (_.value.add(e), S.addItem(t, {
2657
2667
  parentId: e,
2658
2668
  asFirstChild: !0,
2659
2669
  childrenAllowed: n
2660
- }), Mt(() => C.commit()), s.value), An = (e) => {
2661
- C.deleteItem(e), Ee.value.delete(e), De.value.delete(e), v.value.delete(e), _.value.delete(e), Mt(() => C.commit());
2670
+ }), Ft(() => S.commit()), a.value), An = (e) => {
2671
+ S.deleteItem(e), D.value.delete(e), De.value.delete(e), y.value.delete(e), _.value.delete(e), Ft(() => S.commit());
2662
2672
  }, jn = (e, t, n = null, r = null, i = null) => {
2663
- C.updateItem(e, t), Mt(() => C.commit());
2664
- }, Mn = C.unsavedCount, Nn = () => {
2665
- C.commit(), ue.value = /* @__PURE__ */ new Set(), ke();
2673
+ S.updateItem(e, t), Ft(() => S.commit());
2674
+ }, Mn = S.unsavedCount, Nn = () => {
2675
+ S.commit(), C.value = /* @__PURE__ */ new Set(), ke();
2666
2676
  };
2667
- Ct(() => r.unsavedSectionLabel ? {
2677
+ Tt(() => r.unsavedSectionLabel ? {
2668
2678
  label: r.unsavedSectionLabel,
2669
- dirty: C.hasUnsaved.value
2679
+ dirty: S.hasUnsaved.value
2670
2680
  } : []);
2671
- let Pn = () => Re(C, (e) => {
2672
- let t = C.findNode(e).parent;
2673
- for (; t;) _.value.add(S(t.data)), t = C.findNode(S(t.data)).parent;
2674
- let n = C.viewItems.value.find((t) => t.key === e);
2675
- n && je(n);
2681
+ let Pn = () => Re(S, (e) => {
2682
+ let t = S.findNode(e).parent;
2683
+ for (; t;) _.value.add(x(t.data)), t = S.findNode(x(t.data)).parent;
2684
+ let n = S.viewItems.value.find((t) => t.key === e);
2685
+ n && Ae(n);
2676
2686
  });
2677
- return Je({
2678
- hasErrors: C.hasErrors,
2687
+ return Ye({
2688
+ hasErrors: S.hasErrors,
2679
2689
  validationScope: r.validationScope,
2680
2690
  validateProvided: r.validate !== void 0,
2681
2691
  reveal: Pn
2682
2692
  }), t({
2683
- ...C,
2693
+ ...S,
2684
2694
  validateAll: Pn,
2685
2695
  addAfterId: On,
2686
2696
  addChildToId: kn,
2687
2697
  removeById: An,
2688
2698
  updateData: jn,
2689
- resetDirtyBaseline: me,
2690
- hasUnsavedChanges: C.hasUnsaved,
2699
+ resetDirtyBaseline: pe,
2700
+ hasUnsavedChanges: S.hasUnsaved,
2691
2701
  unsavedCount: Mn,
2692
2702
  clearUnsavedState: Nn,
2693
- viewItems: ce,
2694
- enterReorderMode: Ue,
2695
- cancelReorderMode: We,
2696
- applyReorder: Ge,
2703
+ viewItems: se,
2704
+ enterReorderMode: He,
2705
+ cancelReorderMode: Ue,
2706
+ applyReorder: We,
2697
2707
  expand: (e) => _.value.add(e),
2698
2708
  collapse: (e) => _.value.delete(e),
2699
2709
  toggleExpand: (e) => {
2700
2710
  _.value.has(e) ? _.value.delete(e) : _.value.add(e);
2701
2711
  },
2702
- expandDetail: (e) => v.value.add(e),
2703
- collapseDetail: (e) => v.value.delete(e)
2704
- }), (t, n) => (V(), F("div", {
2712
+ expandDetail: (e) => y.value.add(e),
2713
+ collapseDetail: (e) => y.value.delete(e)
2714
+ }), (t, n) => (H(), F("div", {
2705
2715
  ref_key: "rootEl",
2706
- ref: p,
2707
- class: B(["a-nested-list-editor", [`a-nested-list-editor--mode-${c.value}`, {
2716
+ ref: d,
2717
+ class: V(["a-nested-list-editor", [`a-nested-list-editor--mode-${s.value}`, {
2708
2718
  "a-nested-list-editor--readonly": e.readonly,
2709
2719
  "a-nested-list-editor--disabled": e.disabled,
2710
- "a-nested-list-editor--touch": G(g),
2711
- "a-nested-list-editor--drag-enabled": Ze.value
2720
+ "a-nested-list-editor--touch": K(m),
2721
+ "a-nested-list-editor--drag-enabled": Xe.value
2712
2722
  }]])
2713
2723
  }, [
2714
- I("div", Vr, [
2715
- lt.value ? (V(), F("div", Hr, [U(t.$slots, "header", z({ title: e.title }, fn.value), () => [e.title ? (V(), F("h3", Ur, W(e.title), 1)) : P("", !0), I("div", Wr, [G(D) ? U(t.$slots, "reorder-toolbar", Nt(Ot(dn.value)), () => [
2716
- R(Oe, {
2717
- class: B({ "a-le-toolbar-status--pending": Ye.value }),
2718
- "has-pending-changes": Ye.value,
2719
- "pending-count": O.value,
2720
- error: G(ze)
2724
+ I("div", Gr, [
2725
+ lt.value ? (H(), F("div", Kr, [W(t.$slots, "header", B({ title: e.title }, Q.value), () => [e.title ? (H(), F("h3", qr, G(e.title), 1)) : P("", !0), I("div", Jr, [K(k) ? W(t.$slots, "reorder-toolbar", It(jt(fn.value)), () => [
2726
+ R(Ee, {
2727
+ class: V({ "a-le-toolbar-status--pending": Ke.value }),
2728
+ "has-pending-changes": Ke.value,
2729
+ "pending-count": Ge.value,
2730
+ error: K(Ie)
2721
2731
  }, null, 8, [
2722
2732
  "class",
2723
2733
  "has-pending-changes",
2724
2734
  "pending-count",
2725
2735
  "error"
2726
2736
  ]),
2727
- R(X, {
2737
+ R(Z, {
2728
2738
  variant: "text",
2729
2739
  size: "small",
2730
- disabled: G(Le),
2731
- onClick: G(We)
2740
+ disabled: K(Pe),
2741
+ onClick: K(Ue)
2732
2742
  }, {
2733
- default: q(() => [L(W(G(l)("common.sortable.reorderCancel")), 1)]),
2743
+ default: J(() => [L(G(K(c)("common.sortable.reorderCancel")), 1)]),
2734
2744
  _: 1
2735
2745
  }, 8, ["disabled", "onClick"]),
2736
- R(X, {
2746
+ R(Z, {
2737
2747
  color: "primary",
2738
2748
  variant: "flat",
2739
2749
  size: "small",
2740
2750
  "prepend-icon": "mdi-check",
2741
- loading: G(Le),
2742
- disabled: G(Le) || !Ye.value,
2743
- onClick: G(Ge)
2751
+ loading: K(Pe),
2752
+ disabled: K(Pe) || !Ke.value,
2753
+ onClick: K(We)
2744
2754
  }, {
2745
- default: q(() => [L(W(G(l)("common.sortable.reorderApply")), 1)]),
2755
+ default: J(() => [L(G(K(c)("common.sortable.reorderApply")), 1)]),
2746
2756
  _: 1
2747
2757
  }, 8, [
2748
2758
  "loading",
2749
2759
  "disabled",
2750
2760
  "onClick"
2751
2761
  ])
2752
- ], void 0, 0) : (V(), F(j, { key: 1 }, [ot.value && rt.value ? (V(), N(X, {
2762
+ ], void 0, 0) : (H(), F(j, { key: 1 }, [ot.value && rt.value ? (H(), N(Z, {
2753
2763
  key: 0,
2754
2764
  variant: "tonal",
2755
2765
  color: "primary",
2756
2766
  icon: "",
2757
2767
  size: "x-small",
2758
- onClick: ct
2768
+ onClick: st
2759
2769
  }, {
2760
- default: q(() => [R(Y, {
2770
+ default: J(() => [R(X, {
2761
2771
  icon: at.value ? "mdi-unfold-less-horizontal" : "mdi-unfold-more-horizontal",
2762
2772
  size: "18"
2763
- }, null, 8, ["icon"]), R(nn, {
2773
+ }, null, 8, ["icon"]), R(on, {
2764
2774
  activator: "parent",
2765
2775
  location: "bottom",
2766
- text: at.value ? G(l)("common.sortable.collapseAll") : G(l)("common.sortable.expandAll")
2776
+ text: at.value ? K(c)("common.sortable.collapseAll") : K(c)("common.sortable.expandAll")
2767
2777
  }, null, 8, ["text"])]),
2768
2778
  _: 1
2769
- })) : ot.value ? (V(), N(X, {
2779
+ })) : ot.value ? (H(), N(Z, {
2770
2780
  key: 1,
2771
2781
  variant: "tonal",
2772
2782
  color: "primary",
2773
2783
  size: "small",
2774
2784
  "prepend-icon": at.value ? "mdi-unfold-less-horizontal" : "mdi-unfold-more-horizontal",
2775
- onClick: ct
2785
+ onClick: st
2776
2786
  }, {
2777
- default: q(() => [L(W(at.value ? G(l)("common.sortable.collapseAll") : G(l)("common.sortable.expandAll")), 1)]),
2787
+ default: J(() => [L(G(at.value ? K(c)("common.sortable.collapseAll") : K(c)("common.sortable.expandAll")), 1)]),
2778
2788
  _: 1
2779
- }, 8, ["prepend-icon"])) : P("", !0), tt.value ? U(t.$slots, "reorder-toggle", Nt(Ot(fn.value)), () => [rt.value ? (V(), N(X, {
2789
+ }, 8, ["prepend-icon"])) : P("", !0), tt.value ? W(t.$slots, "reorder-toggle", It(jt(Q.value)), () => [rt.value ? (H(), N(Z, {
2780
2790
  key: 0,
2781
2791
  variant: "tonal",
2782
2792
  color: "primary",
2783
2793
  icon: "",
2784
2794
  size: "x-small",
2785
2795
  disabled: !ye.value,
2786
- onClick: G(Ue)
2796
+ onClick: K(He)
2787
2797
  }, {
2788
- default: q(() => [R(Y, {
2798
+ default: J(() => [R(X, {
2789
2799
  icon: "mdi-sort",
2790
2800
  size: "18"
2791
- }), R(nn, {
2801
+ }), R(on, {
2792
2802
  activator: "parent",
2793
2803
  location: "bottom",
2794
- text: G(l)("common.sortable.reorder")
2804
+ text: K(c)("common.sortable.reorder")
2795
2805
  }, null, 8, ["text"])]),
2796
2806
  _: 1
2797
- }, 8, ["disabled", "onClick"])) : (V(), N(X, {
2807
+ }, 8, ["disabled", "onClick"])) : (H(), N(Z, {
2798
2808
  key: 1,
2799
2809
  variant: "tonal",
2800
2810
  color: "primary",
2801
2811
  "prepend-icon": "mdi-sort",
2802
2812
  size: "small",
2803
2813
  disabled: !ye.value,
2804
- onClick: G(Ue)
2814
+ onClick: K(He)
2805
2815
  }, {
2806
- default: q(() => [L(W(G(l)("common.sortable.reorder")), 1)]),
2816
+ default: J(() => [L(G(K(c)("common.sortable.reorder")), 1)]),
2807
2817
  _: 1
2808
2818
  }, 8, ["disabled", "onClick"]))], void 0, 2) : P("", !0)], 64))])])])) : P("", !0),
2809
- e.loading ? (V(), F("div", Gr, [R(Zt, {
2819
+ e.loading ? (H(), F("div", Yr, [R(en, {
2810
2820
  indeterminate: "",
2811
2821
  color: "primary",
2812
2822
  size: "32"
2813
- })])) : e.error ? (V(), F("div", Kr, [R(Xt, {
2823
+ })])) : e.error ? (H(), F("div", Xr, [R($t, {
2814
2824
  type: "error",
2815
2825
  variant: "tonal",
2816
2826
  density: "compact",
2817
2827
  border: "start"
2818
2828
  }, {
2819
- default: q(() => [L(W(e.error), 1)]),
2829
+ default: J(() => [L(G(e.error), 1)]),
2820
2830
  _: 1
2821
- })])) : _e.value ? (V(), F("div", qr, [U(t.$slots, "empty", {
2831
+ })])) : ge.value ? (H(), F("div", Zr, [W(t.$slots, "empty", {
2822
2832
  readonly: e.readonly,
2823
2833
  disabled: e.disabled,
2824
2834
  actions: { add: xt }
2825
- }, () => [R(Ke, {
2826
- title: $e.value,
2827
- "add-label": Qe.value,
2828
- "can-add": Xe.value,
2835
+ }, () => [R(qe, {
2836
+ title: Qe.value,
2837
+ "add-label": Ze.value,
2838
+ "can-add": Je.value,
2829
2839
  onAdd: xt
2830
2840
  }, null, 8, [
2831
2841
  "title",
2832
2842
  "add-label",
2833
2843
  "can-add"
2834
- ])])])) : (V(), F("div", {
2844
+ ])])])) : (H(), F("div", {
2835
2845
  key: dt.value,
2836
2846
  ref_key: "rowsContainer",
2837
- ref: T,
2838
- class: B(["a-nested-list-editor__rows", { "a-nested-list-editor__rows--dragging": A.value !== null }])
2847
+ ref: E,
2848
+ class: V(["a-nested-list-editor__rows", { "a-nested-list-editor__rows--dragging": A.value !== null }])
2839
2849
  }, [I("div", {
2840
- class: B([Yr, "a-nested-list-editor__group--root"]),
2850
+ class: V([$r, "a-nested-list-editor__group--root"]),
2841
2851
  "data-parent-id": ""
2842
- }, [(V(!0), F(j, null, Rt(Dn.value, (e) => (V(), N(Rr, {
2852
+ }, [(H(!0), F(j, null, Vt(Dn.value, (e) => (H(), N(Hr, {
2843
2853
  key: String(e.key),
2844
2854
  vi: e,
2845
- "view-items": ge.value,
2855
+ "view-items": T.value,
2846
2856
  "drag-state": A.value,
2847
2857
  context: Tn.value,
2848
2858
  callbacks: En
2849
2859
  }, {
2850
- item: q((e) => [U(t.$slots, "item", z({ ref_for: !0 }, e))]),
2851
- "item-compact": q((e) => [U(t.$slots, "item-compact", z({ ref_for: !0 }, e))]),
2852
- "item-readonly": q((e) => [U(t.$slots, "item-readonly", z({ ref_for: !0 }, e))]),
2853
- "item-status": q((e) => [U(t.$slots, "item-status", z({ ref_for: !0 }, e))]),
2854
- "item-footer": q((e) => [U(t.$slots, "item-footer", z({ ref_for: !0 }, e))]),
2855
- "item-actions": q((e) => [U(t.$slots, "item-actions", z({ ref_for: !0 }, e))]),
2856
- "before-item": q((e) => [U(t.$slots, "before-item", z({ ref_for: !0 }, e))]),
2857
- "after-item": q((e) => [U(t.$slots, "after-item", z({ ref_for: !0 }, e))]),
2860
+ item: J((e) => [W(t.$slots, "item", B({ ref_for: !0 }, e))]),
2861
+ "item-compact": J((e) => [W(t.$slots, "item-compact", B({ ref_for: !0 }, e))]),
2862
+ "item-readonly": J((e) => [W(t.$slots, "item-readonly", B({ ref_for: !0 }, e))]),
2863
+ "item-status": J((e) => [W(t.$slots, "item-status", B({ ref_for: !0 }, e))]),
2864
+ "item-footer": J((e) => [W(t.$slots, "item-footer", B({ ref_for: !0 }, e))]),
2865
+ "item-actions": J((e) => [W(t.$slots, "item-actions", B({ ref_for: !0 }, e))]),
2866
+ "before-item": J((e) => [W(t.$slots, "before-item", B({ ref_for: !0 }, e))]),
2867
+ "after-item": J((e) => [W(t.$slots, "after-item", B({ ref_for: !0 }, e))]),
2858
2868
  _: 3
2859
2869
  }, 8, [
2860
2870
  "vi",
2861
2871
  "view-items",
2862
2872
  "drag-state",
2863
2873
  "context"
2864
- ]))), 128))], 2), bt.value === null ? P("", !0) : (V(), F(j, { key: 0 }, [bt.value.connector === null ? P("", !0) : (V(), F("div", {
2874
+ ]))), 128))], 2), bt.value === null ? P("", !0) : (H(), F(j, { key: 0 }, [bt.value.connector === null ? P("", !0) : (H(), F("div", {
2865
2875
  key: 0,
2866
2876
  class: "a-nested-list-editor__drop-connector",
2867
- style: Pt({
2877
+ style: Lt({
2868
2878
  left: `${bt.value.connector.left}px`,
2869
2879
  top: `${bt.value.connector.top}px`,
2870
2880
  height: `${bt.value.connector.height}px`
2871
2881
  })
2872
2882
  }, null, 4)), I("div", {
2873
2883
  class: "a-nested-list-editor__drop-line",
2874
- style: Pt({
2884
+ style: Lt({
2875
2885
  top: `${bt.value.line.top}px`,
2876
2886
  left: `${bt.value.line.left}px`,
2877
2887
  right: `${bt.value.line.right}px`
2878
2888
  })
2879
2889
  }, [...n[3] ||= [I("span", { class: "a-nested-list-editor__drop-line-dot" }, null, -1)]], 4)], 64))], 2)),
2880
- Xe.value && !e.loading && !e.error && !_e.value ? U(t.$slots, "add-button", {
2890
+ Je.value && !e.loading && !e.error && !ge.value ? W(t.$slots, "add-button", {
2881
2891
  readonly: e.readonly,
2882
2892
  disabled: e.disabled,
2883
2893
  props: { onClick: xt },
@@ -2886,10 +2896,10 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2886
2896
  type: "button",
2887
2897
  class: "a-le-row-add",
2888
2898
  onClick: xt
2889
- }, [R(Y, {
2899
+ }, [R(X, {
2890
2900
  icon: "mdi-plus",
2891
2901
  size: "18"
2892
- }), I("span", null, W(Qe.value), 1)])], void 0, 5) : P("", !0)
2902
+ }), I("span", null, G(Ze.value), 1)])], void 0, 5) : P("", !0)
2893
2903
  ]),
2894
2904
  R(pt, {
2895
2905
  modelValue: hn.value,
@@ -2904,15 +2914,15 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2904
2914
  "current-index",
2905
2915
  "item-label"
2906
2916
  ]),
2907
- R(Br, {
2917
+ R(Wr, {
2908
2918
  modelValue: xn.value,
2909
2919
  "onUpdate:modelValue": n[1] ||= (e) => xn.value = e,
2910
- tree: s.value,
2920
+ tree: a.value,
2911
2921
  "source-key": Sn.value?.key ?? null,
2912
- "key-field": G(x),
2922
+ "key-field": K(te),
2913
2923
  "max-depth": e.maxDepth,
2914
- "resolve-label": cn,
2915
- "calculate-subtree-depth": G(C).calculateSubtreeDepth,
2924
+ "resolve-label": sn,
2925
+ "calculate-subtree-depth": K(S).calculateSubtreeDepth,
2916
2926
  onConfirm: wn
2917
2927
  }, null, 8, [
2918
2928
  "modelValue",
@@ -2922,17 +2932,17 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2922
2932
  "max-depth",
2923
2933
  "calculate-subtree-depth"
2924
2934
  ]),
2925
- R(Ae, {
2926
- modelValue: G(Lt),
2927
- "onUpdate:modelValue": n[2] ||= (e) => At(Lt) ? Lt.value = e : null,
2928
- title: et.value,
2929
- text: k.value,
2930
- "confirm-label": G(l)("common.sortable.delete"),
2931
- "cancel-label": G(l)("common.button.cancel"),
2932
- error: G(Vt),
2933
- "in-flight": G(zt),
2934
- onConfirm: G(Kt),
2935
- onCancel: G(qt)
2935
+ R(Oe, {
2936
+ modelValue: K(z),
2937
+ "onUpdate:modelValue": n[2] ||= (e) => Nt(z) ? z.value = e : null,
2938
+ title: $e.value,
2939
+ text: et.value,
2940
+ "confirm-label": K(c)("common.sortable.delete"),
2941
+ "cancel-label": K(c)("common.button.cancel"),
2942
+ error: K(Mt),
2943
+ "in-flight": K(At),
2944
+ onConfirm: K(Bt),
2945
+ onCancel: K(Ht)
2936
2946
  }, null, 8, [
2937
2947
  "modelValue",
2938
2948
  "title",
@@ -2944,15 +2954,15 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2944
2954
  "onConfirm",
2945
2955
  "onCancel"
2946
2956
  ]),
2947
- I("div", Jr, W(G(mn).grabbedKey.value === null ? "" : G(l)("common.sortable.keyboardGrab.status", {
2948
- n: G(mn).grabbedIndex.value + 1,
2949
- total: G(mn).totalCount.value
2957
+ I("div", Qr, G(K(mn).grabbedKey.value === null ? "" : K(c)("common.sortable.keyboardGrab.status", {
2958
+ n: K(mn).grabbedIndex.value + 1,
2959
+ total: K(mn).totalCount.value
2950
2960
  })), 1)
2951
2961
  ], 2));
2952
2962
  }
2953
- }), $r = { class: "a-unsaved-sections" }, ei = /*#__PURE__*/ ut(/* @__PURE__ */ Et({
2963
+ }), ri = { class: "a-unsaved-sections" }, ii = /*#__PURE__*/ rt(/* @__PURE__ */ z({
2954
2964
  __name: "AUnsavedConfirmDialog",
2955
- props: /*@__PURE__*/ jt({
2965
+ props: /*@__PURE__*/ Pt({
2956
2966
  title: { default: void 0 },
2957
2967
  body: { default: void 0 },
2958
2968
  stayLabel: { default: void 0 },
@@ -2965,49 +2975,49 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
2965
2975
  },
2966
2976
  modelModifiers: {}
2967
2977
  }),
2968
- emits: /*@__PURE__*/ jt(["resolve"], ["update:modelValue"]),
2978
+ emits: /*@__PURE__*/ Pt(["resolve"], ["update:modelValue"]),
2969
2979
  setup(e, { emit: t }) {
2970
- let n = t, r = Ht(e, "modelValue"), { t: i } = Jt(), a = () => {
2980
+ let n = t, r = Gt(e, "modelValue"), { t: i } = Zt(), a = () => {
2971
2981
  n("resolve", !1);
2972
2982
  }, o = () => {
2973
2983
  n("resolve", !0);
2974
2984
  };
2975
- return (t, n) => (V(), N($, {
2985
+ return (t, n) => (H(), N(_n, {
2976
2986
  modelValue: r.value,
2977
2987
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
2978
2988
  "max-width": "480",
2979
2989
  persistent: ""
2980
2990
  }, {
2981
- default: q(() => [R(Qt, null, {
2982
- default: q(() => [
2983
- R(tn, null, {
2984
- default: q(() => [L(W(e.title ?? G(i)("common.sortable.unsavedChanges.title")), 1)]),
2991
+ default: J(() => [R(tn, null, {
2992
+ default: J(() => [
2993
+ R(an, null, {
2994
+ default: J(() => [L(G(e.title ?? K(i)("common.sortable.unsavedChanges.title")), 1)]),
2985
2995
  _: 1
2986
2996
  }),
2987
- R(en, null, {
2988
- default: q(() => [e.body ? (V(), F(j, { key: 0 }, [L(W(e.body), 1)], 64)) : e.dirtyLabels.length ? (V(), F(j, { key: 1 }, [
2989
- L(W(G(i)("common.sortable.unsavedChanges.sectionsIntro")) + " ", 1),
2990
- I("ul", $r, [(V(!0), F(j, null, Rt(e.dirtyLabels, (e, t) => (V(), F("li", { key: t }, W(e), 1))), 128))]),
2991
- L(" " + W(G(i)("common.sortable.unsavedChanges.leaveQuestion")), 1)
2992
- ], 64)) : (V(), F(j, { key: 2 }, [L(W(G(i)("common.sortable.unsavedChanges.body")), 1)], 64))]),
2997
+ R(rn, null, {
2998
+ default: J(() => [e.body ? (H(), F(j, { key: 0 }, [L(G(e.body), 1)], 64)) : e.dirtyLabels.length ? (H(), F(j, { key: 1 }, [
2999
+ L(G(K(i)("common.sortable.unsavedChanges.sectionsIntro")) + " ", 1),
3000
+ I("ul", ri, [(H(!0), F(j, null, Vt(e.dirtyLabels, (e, t) => (H(), F("li", { key: t }, G(e), 1))), 128))]),
3001
+ L(" " + G(K(i)("common.sortable.unsavedChanges.leaveQuestion")), 1)
3002
+ ], 64)) : (H(), F(j, { key: 2 }, [L(G(K(i)("common.sortable.unsavedChanges.body")), 1)], 64))]),
2993
3003
  _: 1
2994
3004
  }),
2995
- R($t, null, {
2996
- default: q(() => [
2997
- R(Yt),
2998
- R(X, {
3005
+ R(nn, null, {
3006
+ default: J(() => [
3007
+ R(Qt),
3008
+ R(Z, {
2999
3009
  variant: "text",
3000
3010
  onClick: a
3001
3011
  }, {
3002
- default: q(() => [L(W(e.stayLabel ?? G(i)("common.sortable.unsavedChanges.stay")), 1)]),
3012
+ default: J(() => [L(G(e.stayLabel ?? K(i)("common.sortable.unsavedChanges.stay")), 1)]),
3003
3013
  _: 1
3004
3014
  }),
3005
- R(X, {
3015
+ R(Z, {
3006
3016
  color: "warning",
3007
3017
  variant: "flat",
3008
3018
  onClick: o
3009
3019
  }, {
3010
- default: q(() => [L(W(e.discardLabel ?? G(i)("common.sortable.unsavedChanges.discard")), 1)]),
3020
+ default: J(() => [L(G(e.discardLabel ?? K(i)("common.sortable.unsavedChanges.discard")), 1)]),
3011
3021
  _: 1
3012
3022
  })
3013
3023
  ]),
@@ -3019,9 +3029,9 @@ var Ln = { class: "d-flex flex-column w-100 px-1 align-center" }, Rn = { class:
3019
3029
  _: 1
3020
3030
  }, 8, ["modelValue"]));
3021
3031
  }
3022
- }), [["__scopeId", "data-v-8342a164"]]), ti = 8e3, ni = (e) => e == null ? !1 : typeof e == "boolean" ? e : e instanceof Set ? e.size > 0 : Array.isArray(e) ? e.length > 0 : !!e, ri = (e, t) => e === void 0 ? t : typeof e == "boolean" ? e : e.value;
3023
- function ii(e) {
3024
- let t = ht();
3032
+ }), [["__scopeId", "data-v-8342a164"]]), ai = 8e3, oi = (e) => e == null ? !1 : typeof e == "boolean" ? e : e instanceof Set ? e.size > 0 : Array.isArray(e) ? e.length > 0 : !!e, si = (e, t) => e === void 0 ? t : typeof e == "boolean" ? e : e.value;
3033
+ function ci(e) {
3034
+ let t = gt();
3025
3035
  if (e.ownSections) {
3026
3036
  let n = e.ownSections, r = Symbol("unsaved.section.own"), i = M(() => {
3027
3037
  let e = n();
@@ -3029,7 +3039,7 @@ function ii(e) {
3029
3039
  });
3030
3040
  t.register(r, i);
3031
3041
  }
3032
- let n = M(() => e.sources.some((e) => ni(e.value)) || t.dirtyLabels.value.length > 0), r = H(!1), i = null, a = !1, o = null, s = () => {
3042
+ let n = M(() => e.sources.some((e) => oi(e.value)) || t.dirtyLabels.value.length > 0), r = U(!1), i = null, a = !1, o = null, s = () => {
3033
3043
  o !== null && (clearTimeout(o), o = null);
3034
3044
  }, c = () => a ? (a = !1, s(), Promise.resolve(!0)) : new Promise((e) => {
3035
3045
  i = e, r.value = !0;
@@ -3038,22 +3048,22 @@ function ii(e) {
3038
3048
  }, u = () => {
3039
3049
  a = !0, s(), o = setTimeout(() => {
3040
3050
  a = !1, o = null;
3041
- }, ti);
3051
+ }, ai);
3042
3052
  }, d = () => {
3043
3053
  a = !1, s();
3044
3054
  };
3045
- if (ri(e.guardRoute, !0) && Dt()) try {
3046
- fn(async () => !n.value || await c());
3055
+ if (si(e.guardRoute, !0) && At()) try {
3056
+ hn(async () => !n.value || await c());
3047
3057
  } catch {}
3048
3058
  let f = [s], p = !1;
3049
- if (ri(e.guardWindowUnload, !0)) {
3059
+ if (si(e.guardWindowUnload, !0)) {
3050
3060
  let e = (e) => {
3051
3061
  n.value && (e.preventDefault(), e.returnValue = "");
3052
3062
  };
3053
3063
  typeof window < "u" && (window.addEventListener("beforeunload", e), f.push(() => window.removeEventListener("beforeunload", e)));
3054
3064
  }
3055
3065
  if (e.guardDialogModel) {
3056
- let t = e.guardDialogModel, r = !1, i = K(t, async (e, i) => {
3066
+ let t = e.guardDialogModel, r = !1, i = q(t, async (e, i) => {
3057
3067
  if (r) {
3058
3068
  r = !1;
3059
3069
  return;
@@ -3070,7 +3080,7 @@ function ii(e) {
3070
3080
  let m = () => {
3071
3081
  p || (p = !0, l(!1), f.forEach((e) => e()));
3072
3082
  };
3073
- return Dt() && Ft(m), {
3083
+ return At() && Rt(m), {
3074
3084
  hasUnsavedChanges: n,
3075
3085
  dirtyLabels: t.dirtyLabels,
3076
3086
  promptOpen: r,
@@ -3082,7 +3092,7 @@ function ii(e) {
3082
3092
  }
3083
3093
  //#endregion
3084
3094
  //#region src/labs/unsavedGuard/useGuardedDelete.ts
3085
- function ai(e, t) {
3095
+ function li(e, t) {
3086
3096
  return (...n) => {
3087
3097
  e.acknowledge();
3088
3098
  let r;
@@ -3098,8 +3108,8 @@ function ai(e, t) {
3098
3108
  }
3099
3109
  //#endregion
3100
3110
  //#region src/labs/listEditor/composables/useListEditor.ts
3101
- function oi(e, n = {}) {
3102
- let r = n.keyField ?? "id", i = n.positionField ?? "position", a = n.positionMultiplier ?? 1, o = n.updatePosition === !0;
3111
+ function ui(e, t = {}) {
3112
+ let r = t.keyField ?? "id", i = t.positionField ?? "position", a = t.positionMultiplier ?? 1, o = t.updatePosition === !0;
3103
3113
  o && r === i && console.warn(`[list-editor] key-field === position-field ("${r}") 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").`);
3104
3114
  let s = /* @__PURE__ */ new Set(), c = (e) => {
3105
3115
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), i = 0;
@@ -3121,7 +3131,7 @@ function oi(e, n = {}) {
3121
3131
  position: e[i]
3122
3132
  }));
3123
3133
  return c(t), t;
3124
- }), u = (e) => t(e, {
3134
+ }), u = (e) => n(e, {
3125
3135
  positionField: i,
3126
3136
  positionMultiplier: a
3127
3137
  }), d = (t) => {
@@ -3167,8 +3177,8 @@ function oi(e, n = {}) {
3167
3177
  }
3168
3178
  //#endregion
3169
3179
  //#region src/labs/listEditor/composables/useNestedUnsavedKeys.ts
3170
- function si() {
3171
- let e = H(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Set(), n = (n) => e.value.get(n) ?? t, r = (t, n) => {
3180
+ function di() {
3181
+ let e = U(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Set(), n = (n) => e.value.get(n) ?? t, r = (t, n) => {
3172
3182
  n.size === 0 ? e.value.delete(t) : e.value.set(t, n), e.value = new Map(e.value);
3173
3183
  }, i = M(() => {
3174
3184
  let t = /* @__PURE__ */ new Set();
@@ -3183,6 +3193,6 @@ function si() {
3183
3193
  };
3184
3194
  }
3185
3195
  //#endregion
3186
- export { bn as ADatatableOrdering, Dn as ADatatablePagination, ke as AFilterBooleanSelect, Me as AFilterDatetimePicker, e as AFilterInteger, tt as AFilterRemoteAutocomplete, D as AFilterRemoteAutocompleteWithMinimal, dt as AFilterString, $e as AFilterTimeInterval, ct as AFilterValueObjectOptionsSelect, x as AFilterWrapper, _n as AFilterWrapperSidebar, n as AFilterWrapperSubjectSelect, ft as AFormRemoteAutocomplete, Tt as AFormRemoteAutocompleteWithCached, mr as AListEditor, Qr as ANestedSortableListEditor, Ze as ASortableListEditor, Jn as ASubjectSelect, ei as AUnsavedConfirmDialog, O as DatatablePaginationKey, mt as FilterConfigKey, je as FilterDataKey, Fe as FilterInnerConfigKey, it as FilterInnerDataKey, ce as FiltersSelected, bt as ListEditorStateScopeKey, Ne as SharedReorderRegistryKey, yt as TimeIntervalSpecialOptions, T as UserAdminConfigLayoutType, _e as UserAdminConfigLayoutTypeDefault, ye as UserAdminConfigType, se as UserAdminConfigTypeDefault, Fn as createDatatableColumnsConfig, pe as createFilter, p as createFilterStore, le as createListEditorStateScope, wt as generateListQuery, We as nextListEditorTempId, a as provideListEditorStateScope, t as renumberPositions, Ue as sortByPosition, ne as sortByPositionDeep, kn as useApiFetchByIds, De as useApiFetchList, An as useApiFetchListBatch, s as useApiQueryBuilder, _ as useApiRequest, ae as useFilterHelpers, ai as useGuardedDelete, Mn as useJobApi, oi as useListEditor, ie as useListEditorController, vt as useListEditorStateEntry, c as useNestedListEditor, d as useNestedListEditorController, fe as useNestedListEditorStateEntry, si as useNestedUnsavedKeys, _t as usePagination, In as useSubjectSelect, ii as useUnsavedChangesGuard, Ct as useUnsavedSection, at as useUserAdminConfigApi, he as useUserAdminConfigFactory };
3196
+ export { wn as ADatatableOrdering, jn as ADatatablePagination, De as AFilterBooleanSelect, Me as AFilterDatetimePicker, e as AFilterInteger, tt as AFilterRemoteAutocomplete, k as AFilterRemoteAutocompleteWithMinimal, dt as AFilterString, $e as AFilterTimeInterval, lt as AFilterValueObjectOptionsSelect, ee as AFilterWrapper, xn as AFilterWrapperSidebar, i as AFilterWrapperSubjectSelect, ft as AFormRemoteAutocomplete, Ot as AFormRemoteAutocompleteWithCached, vr as AListEditor, ni as ANestedSortableListEditor, Ze as ASortableListEditor, Qn as ASubjectSelect, ii as AUnsavedConfirmDialog, xt as DatatablePaginationKey, w as FilterConfigKey, m as FilterDataKey, d as FilterInnerConfigKey, se as FilterInnerDataKey, de as FiltersSelected, St as ListEditorStateScopeKey, Ne as SharedReorderRegistryKey, Le as TimeIntervalSpecialOptions, E as UserAdminConfigLayoutType, _e as UserAdminConfigLayoutTypeDefault, ye as UserAdminConfigType, le as UserAdminConfigTypeDefault, xe as buildFilterHash, zn as createDatatableColumnsConfig, vt as createFilter, Dt as createFilterStore, pe as createListEditorStateScope, Ae as generateListQuery, Te as isRouterSafeHash, We as nextListEditorTempId, o as provideListEditorStateScope, n as renumberPositions, He as sortByPosition, te as sortByPositionDeep, Nn as useApiFetchByIds, Pe as useApiFetchList, Pn as useApiFetchListBatch, Be as useApiQueryBuilder, _ as useApiRequest, me as useFilterHelpers, li as useGuardedDelete, In as useJobApi, ui as useListEditor, S as useListEditorController, yt as useListEditorStateEntry, l as useNestedListEditor, f as useNestedListEditorController, he as useNestedListEditorStateEntry, di as useNestedUnsavedKeys, ht as usePagination, Bn as useSubjectSelect, ci as useUnsavedChangesGuard, Tt as useUnsavedSection, at as useUserAdminConfigApi, ge as useUserAdminConfigFactory };
3187
3197
 
3188
3198
  //# sourceMappingURL=labs.js.map