@anzusystems/common-admin 1.47.0-beta.dev-1782072699 → 1.47.0-beta.dev-1782072799

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.
@@ -1,11 +1,11 @@
1
- import { defineComponent as De, openBlock as $, createBlock as Z, withCtx as E, createVNode as S, createElementBlock as le, normalizeClass as Ze, toDisplayString as oe, createCommentVNode as ie, renderSlot as pe, createElementVNode as Ce, isProxy as Kr, toRaw as Pa, isRef as La, unref as R, computed as L, Fragment as Ye, normalizeStyle as Wr, createTextVNode as ce, shallowRef as Ta, watch as Te, ref as Y, reactive as zt, inject as re, createSlots as jt, withDirectives as zn, onMounted as Io, withModifiers as he, onUnmounted as Gr, TransitionGroup as Xr, mergeProps as Ne, isVNode as Zr, useModel as tt, useTemplateRef as At, nextTick as qe, withKeys as xa, vModelText as sl, mergeModels as We, getCurrentInstance as en, resolveComponent as dn, resolveDynamicComponent as Nl, renderList as Yt, toValue as Co, toRef as Jr, onBeforeUnmount as Fo, provide as fn, vShow as Qr, useSlots as es, shallowReactive as ts, normalizeProps as il } from "vue";
1
+ import { defineComponent as De, openBlock as $, createBlock as Z, withCtx as E, createVNode as S, createElementBlock as le, normalizeClass as Ze, toDisplayString as oe, createCommentVNode as ie, renderSlot as pe, createElementVNode as Ce, isProxy as Kr, toRaw as Pa, isRef as La, unref as R, computed as L, Fragment as Ye, normalizeStyle as Wr, createTextVNode as ce, shallowRef as xa, watch as Te, ref as Y, reactive as zt, inject as re, createSlots as jt, withDirectives as zn, onMounted as Fo, withModifiers as he, onUnmounted as Gr, TransitionGroup as Xr, mergeProps as Ne, isVNode as Zr, useModel as tt, useTemplateRef as At, nextTick as qe, withKeys as Aa, vModelText as sl, mergeModels as We, getCurrentInstance as en, resolveComponent as dn, resolveDynamicComponent as Nl, renderList as Yt, toValue as So, toRef as Jr, onBeforeUnmount as Bo, provide as fn, vShow as Qr, useSlots as es, shallowReactive as ts, normalizeProps as il } from "vue";
2
2
  import { useEventBus as ct, tryOnBeforeUnmount as ns, watchDebounced as Va, useResizeObserver as as, watchThrottled as os, defaultDocument as ls, unrefElement as rs, tryOnMounted as ss, tryOnScopeDispose as is, useElementSize as us, useMediaQuery as cs } from "@vueuse/core";
3
3
  import { useI18n as Oe, createI18n as ds } from "vue-i18n";
4
- import { VAutocomplete as Kn } from "vuetify/components/VAutocomplete";
4
+ import { VAutocomplete as Wn } from "vuetify/components/VAutocomplete";
5
5
  import { VChip as Qt } from "vuetify/components/VChip";
6
- import { VListItem as ot, VList as Aa, VListItemTitle as Wt } from "vuetify/components/VList";
7
- import { VCard as gn, VCardText as Na, VCardActions as Wn, VCardTitle as Ul } from "vuetify/components/VCard";
8
- import { VDialog as Gn } from "vuetify/components/VDialog";
6
+ import { VListItem as ot, VList as Ma, VListItemTitle as Wt } from "vuetify/components/VList";
7
+ import { VCard as gn, VCardText as Na, VCardActions as Gn, VCardTitle as Ul } from "vuetify/components/VCard";
8
+ import { VDialog as Xn } from "vuetify/components/VDialog";
9
9
  import { VRow as Zt, VCol as xt, VSpacer as yn } from "vuetify/components/VGrid";
10
10
  import { VSelect as Yl } from "vuetify/components/VSelect";
11
11
  import { VTextarea as fs } from "vuetify/components/VTextarea";
@@ -13,17 +13,17 @@ import { VForm as Hl } from "vuetify/components/VForm";
13
13
  import { VBtn as Ee } from "vuetify/components/VBtn";
14
14
  import { VIcon as ke } from "vuetify/components/VIcon";
15
15
  import { VTooltip as Qe } from "vuetify/components/VTooltip";
16
- import { VTextField as Xn } from "vuetify/components/VTextField";
17
- import Ma from "@vuelidate/core";
16
+ import { VTextField as Zn } from "vuetify/components/VTextField";
17
+ import jn from "@vuelidate/core";
18
18
  import { createI18nMessage as dt, between as ms, email as vs, maxLength as ps, maxValue as hs, minLength as gs, minValue as ys, numeric as bs, required as ws, requiredIf as Cs, helpers as zl, url as Ss } from "@vuelidate/validators";
19
19
  import { VDatePicker as ks } from "vuetify/components/VDatePicker";
20
- import { VMenu as jn } from "vuetify/components/VMenu";
20
+ import { VMenu as qn } from "vuetify/components/VMenu";
21
21
  import { Tooltip as jl } from "vuetify/directives";
22
22
  import { VToolbar as Ds, VToolbarTitle as Es } from "vuetify/components/VToolbar";
23
23
  import { VSwitch as Ts } from "vuetify/components/VSwitch";
24
24
  import { defineStore as xs } from "pinia";
25
25
  import tn from "axios";
26
- import { VProgressCircular as Bo } from "vuetify/components/VProgressCircular";
26
+ import { VProgressCircular as _o } from "vuetify/components/VProgressCircular";
27
27
  import { VTabs as As, VTab as ul } from "vuetify/components/VTabs";
28
28
  import { useDisplay as Ms } from "vuetify";
29
29
  import { VAlert as ql } from "vuetify/components/VAlert";
@@ -56,15 +56,15 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
56
56
  _: 3
57
57
  }, 8, ["data-cy"]));
58
58
  }
59
- }), _o = (e, n) => {
59
+ }), Oo = (e, n) => {
60
60
  const t = e.__vccOpts || e;
61
61
  for (const [a, l] of n)
62
62
  t[a] = l;
63
63
  return t;
64
- }, M = (e) => typeof e > "u", Ie = (e) => !M(e), ae = (e) => e === null, mn = (e) => typeof e == "number", He = (e) => typeof e == "string", Se = (e) => Array.isArray(e), em = (e) => typeof e == "function", ut = (e) => typeof e == "boolean", tm = (e) => He(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), nm = (e) => {
64
+ }, M = (e) => typeof e > "u", Ie = (e) => !M(e), ae = (e) => e === null, mn = (e) => typeof e == "number", He = (e) => typeof e == "string", Se = (e) => Array.isArray(e), tm = (e) => typeof e == "function", ut = (e) => typeof e == "boolean", nm = (e) => He(e) && /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e), am = (e) => {
65
65
  const n = parseFloat(e);
66
66
  return !isNaN(e) && (n | 0) === n;
67
- }, Zn = (e) => typeof e == "object" && !Se(e) && !ae(e), Ln = (e) => Zn(e) ? Object.keys(e).length === 0 : !1, So = (e) => Se(e) && e.length === 0, Kl = (e) => ae(e) || M(e) || e === "" || e === 0 || So(e) || Ln(e), _e = (e) => {
67
+ }, Jn = (e) => typeof e == "object" && !Se(e) && !ae(e), Ln = (e) => Jn(e) ? Object.keys(e).length === 0 : !1, ko = (e) => Se(e) && e.length === 0, Kl = (e) => ae(e) || M(e) || e === "" || e === 0 || ko(e) || Ln(e), _e = (e) => {
68
68
  if (typeof structuredClone == "function")
69
69
  try {
70
70
  return Kr(e) ? structuredClone(Pa(e)) : La(e) ? structuredClone(R(e)) : structuredClone(e);
@@ -80,7 +80,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
80
80
  return n;
81
81
  }
82
82
  return Number.isNaN(t) ? n : t;
83
- }, am = (e, n = 0) => {
83
+ }, om = (e, n = 0) => {
84
84
  let t = n;
85
85
  try {
86
86
  t = Number.parseFloat(e);
@@ -103,7 +103,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
103
103
  start: e.slice(0, t),
104
104
  end: e.slice(t + n.length)
105
105
  };
106
- }, om = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), lm = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), rm = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, Bs = (e, n) => {
106
+ }, lm = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), rm = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), sm = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, Bs = (e, n) => {
107
107
  if (e.indexOf(":") === -1) return e;
108
108
  const t = [], [a, l] = e.split("?");
109
109
  return a.split("/").forEach((s, r) => {
@@ -111,7 +111,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
111
111
  const i = s.substring(1);
112
112
  M(n[i]) || (t[r] = n[s.substring(1)] + "");
113
113
  }), t.join("/") + (l ? `?${l}` : "");
114
- }, sm = (e, n) => {
114
+ }, im = (e, n) => {
115
115
  if (e.indexOf(":") === -1) return e;
116
116
  const t = [];
117
117
  return e.split("/").forEach((l, o) => {
@@ -120,7 +120,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
120
120
  const s = /^:([a-zA-Z0-9_-]+).*/, r = l.match(s);
121
121
  ae(r) || !r[1] || M(n[r[1]]) || (t[o] = n[r[1]] + "");
122
122
  }), t.join("/");
123
- }, im = (e) => e.replace(".", "-"), um = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Ua = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Ya = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), cm = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), dm = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), cl = /* @__PURE__ */ De({
123
+ }, um = (e) => e.replace(".", "-"), cm = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Ua = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Ya = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), dm = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), fm = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), cl = /* @__PURE__ */ De({
124
124
  __name: "AAnzuUserAvatar",
125
125
  props: {
126
126
  user: { default: void 0 },
@@ -169,7 +169,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
169
169
  isModerator: { type: Boolean, default: !1 }
170
170
  },
171
171
  setup(e) {
172
- const n = e, t = Ta(void 0), a = Ta(!1), l = R(n.users), { t: o } = Oe(), s = L(() => {
172
+ const n = e, t = xa(void 0), a = xa(!1), l = R(n.users), { t: o } = Oe(), s = L(() => {
173
173
  if (mn(n.id) && n.id > 0)
174
174
  return l.get(n.id);
175
175
  }), r = L(() => {
@@ -216,7 +216,7 @@ const Fs = { class: "text-high-emphasis" }, Xt = /* @__PURE__ */ De({
216
216
  size: 20,
217
217
  tooltip: r.value
218
218
  }, null, 8, ["user", "tooltip"]))
219
- ], 64)) : ($(), Z(Bo, {
219
+ ], 64)) : ($(), Z(_o, {
220
220
  key: 2,
221
221
  size: 12,
222
222
  width: 2,
@@ -235,10 +235,10 @@ function Ws() {
235
235
  Rs
236
236
  );
237
237
  }
238
- function fm() {
238
+ function mm() {
239
239
  return ct(Ps);
240
240
  }
241
- function mm() {
241
+ function vm() {
242
242
  return ct(
243
243
  Ls
244
244
  );
@@ -246,32 +246,32 @@ function mm() {
246
246
  function Zl() {
247
247
  return ct(Vs);
248
248
  }
249
- function vm() {
249
+ function pm() {
250
250
  return ct(Ns);
251
251
  }
252
- function pm() {
252
+ function hm() {
253
253
  return ct(Us);
254
254
  }
255
- function hm() {
255
+ function gm() {
256
256
  return ct(Ys);
257
257
  }
258
- function gm() {
258
+ function ym() {
259
259
  return ct(
260
260
  Hs
261
261
  );
262
262
  }
263
- function ym() {
263
+ function bm() {
264
264
  return ct(
265
265
  zs
266
266
  );
267
267
  }
268
- function bm() {
268
+ function wm() {
269
269
  return ct(js);
270
270
  }
271
- function wm() {
271
+ function Cm() {
272
272
  return ct(qs);
273
273
  }
274
- function Cm() {
274
+ function Sm() {
275
275
  return ct(Ks);
276
276
  }
277
277
  const Fn = {
@@ -280,7 +280,7 @@ const Fn = {
280
280
  }, Bn = {
281
281
  Success: "success",
282
282
  Failure: "failure"
283
- }, ma = (e, n) => ({
283
+ }, va = (e, n) => ({
284
284
  type: e,
285
285
  status: n
286
286
  }), Gs = /* @__PURE__ */ Symbol(
@@ -291,7 +291,7 @@ function Xs() {
291
291
  Gs
292
292
  );
293
293
  }
294
- const ao = {
294
+ const oo = {
295
295
  Inactive: "inactive",
296
296
  Active: "active"
297
297
  }, Zs = {
@@ -299,7 +299,7 @@ const ao = {
299
299
  Occupied: "occupied",
300
300
  Failed: "failed"
301
301
  };
302
- function Sm(e) {
302
+ function km(e) {
303
303
  return e.status === Zs.Ok;
304
304
  }
305
305
  const Jl = {
@@ -312,33 +312,33 @@ function dl(e) {
312
312
  function fl(e) {
313
313
  return e.status === Jl.Failed;
314
314
  }
315
- const km = {
315
+ const Dm = {
316
316
  Free: "free",
317
317
  Moderated: "moderated"
318
- }, Dm = {
318
+ }, Em = {
319
319
  Ok: "ok",
320
320
  AlreadyRequested: "alreadyRequested",
321
321
  Failed: "failed"
322
- }, Em = {
322
+ }, Tm = {
323
323
  Ok: "ok",
324
324
  AlreadyRequested: "alreadyRequested",
325
325
  Failed: "failed"
326
- }, ko = Y({
326
+ }, Do = Y({
327
327
  enabled: !1,
328
328
  socketUrl: "",
329
329
  beforeReconnect: () => new Promise((e) => e())
330
330
  });
331
- function Tm(e) {
332
- M(e) || (ko.value = e);
331
+ function xm(e) {
332
+ M(e) || (Do.value = e);
333
333
  }
334
334
  function bn() {
335
- if (M(ko.value))
335
+ if (M(Do.value))
336
336
  throw new Error("Composable can't be used without properly configured common admin.");
337
337
  return {
338
- collabOptions: ko
338
+ collabOptions: Do
339
339
  };
340
340
  }
341
- const ml = Y(!0), Js = Y(), Qs = zt(/* @__PURE__ */ new Map()), ei = zt(/* @__PURE__ */ new Map()), oo = zt(
341
+ const ml = Y(!0), Js = Y(), Qs = zt(/* @__PURE__ */ new Map()), ei = zt(/* @__PURE__ */ new Map()), lo = zt(
342
342
  /* @__PURE__ */ new Map()
343
343
  );
344
344
  function ti() {
@@ -349,12 +349,12 @@ function ti() {
349
349
  collabSocket: Js,
350
350
  collabRoomInfoState: Qs,
351
351
  collabFieldLocksState: ei,
352
- collabFieldDataBufferState: oo,
352
+ collabFieldDataBufferState: lo,
353
353
  gatherBufferData: (a) => {
354
354
  Zl().emit({ room: a });
355
355
  let o = {};
356
- const s = oo.get(a);
357
- return s && (o = Pa(Object.fromEntries(s.entries())), oo.delete(a)), o;
356
+ const s = lo.get(a);
357
+ return s && (o = Pa(Object.fromEntries(s.entries())), lo.delete(a)), o;
358
358
  }
359
359
  };
360
360
  }
@@ -405,7 +405,7 @@ function za(e, n, t = !1) {
405
405
  acquireCollabFieldLock: (N = {}) => {
406
406
  if (!a.value.enabled || M(o.value)) return;
407
407
  const B = i.get(e);
408
- B && B.status === ao.Inactive || o.value?.timeout(1e3).emit(
408
+ B && B.status === oo.Inactive || o.value?.timeout(1e3).emit(
409
409
  "acquireFieldLock",
410
410
  e,
411
411
  n,
@@ -415,7 +415,7 @@ function za(e, n, t = !1) {
415
415
  if (k || fl(C))
416
416
  return void g.emit(
417
417
  y,
418
- ma(
418
+ va(
419
419
  Fn.Acquire,
420
420
  Bn.Failure
421
421
  )
@@ -427,7 +427,7 @@ function za(e, n, t = !1) {
427
427
  s.get(e)?.set(O, z);
428
428
  return void g.emit(
429
429
  y,
430
- ma(
430
+ va(
431
431
  Fn.Acquire,
432
432
  Bn.Success
433
433
  )
@@ -439,7 +439,7 @@ function za(e, n, t = !1) {
439
439
  releaseCollabFieldLock: (N, B = {}) => {
440
440
  if (!a.value.enabled || M(o.value)) return;
441
441
  const k = i.get(e);
442
- if (k && k.status === ao.Inactive) {
442
+ if (k && k.status === oo.Inactive) {
443
443
  r.has(e) || r.set(e, /* @__PURE__ */ new Map()), r.get(e)?.set(n, N);
444
444
  return;
445
445
  }
@@ -454,7 +454,7 @@ function za(e, n, t = !1) {
454
454
  if (C || fl(y))
455
455
  return void g.emit(
456
456
  D,
457
- ma(
457
+ va(
458
458
  Fn.Release,
459
459
  Bn.Failure
460
460
  )
@@ -465,7 +465,7 @@ function za(e, n, t = !1) {
465
465
  s.get(e)?.delete(O);
466
466
  return void g.emit(
467
467
  D,
468
- ma(
468
+ va(
469
469
  Fn.Release,
470
470
  Bn.Success
471
471
  )
@@ -477,7 +477,7 @@ function za(e, n, t = !1) {
477
477
  changeCollabFieldData: (N) => {
478
478
  if (!a.value.enabled || M(o.value)) return;
479
479
  const B = i.get(e);
480
- B && B.status === ao.Inactive || o.value.emit("changeFieldData", e, n, N, () => {
480
+ B && B.status === oo.Inactive || o.value.emit("changeFieldData", e, n, N, () => {
481
481
  });
482
482
  },
483
483
  lockedByUser: K,
@@ -554,7 +554,7 @@ const ai = {
554
554
  focus: () => {
555
555
  o.value?.focus();
556
556
  }
557
- }), (A, b) => ($(), Z(Xn, {
557
+ }), (A, b) => ($(), Z(Zn, {
558
558
  ref_key: "textFieldRef",
559
559
  ref: o,
560
560
  "prepend-icon": e.prependIcon,
@@ -638,12 +638,12 @@ function li(e = "id", n = !0) {
638
638
  totalCount: 0
639
639
  });
640
640
  }
641
- function xm(e) {
641
+ function Am(e) {
642
642
  return {
643
643
  showPagination: L(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
644
644
  };
645
645
  }
646
- const ri = ["createdAt", "modifiedAt"], Am = "_score", Mm = "id", $m = "score_date", Im = "score_best", $t = {
646
+ const ri = ["createdAt", "modifiedAt"], Mm = "_score", $m = "id", Im = "score_date", Fm = "score_best", $t = {
647
647
  Asc: "asc",
648
648
  Desc: "desc"
649
649
  }, si = {
@@ -652,7 +652,7 @@ const ri = ["createdAt", "modifiedAt"], Am = "_score", Mm = "id", $m = "score_da
652
652
  sortable: !1,
653
653
  fixed: !1
654
654
  };
655
- function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = void 0, i = void 0) {
655
+ function Bm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = void 0, i = void 0) {
656
656
  const u = s ?? Pe, { t: f } = u.global || u, c = li();
657
657
  if (o)
658
658
  for (const m of Object.keys(c))
@@ -676,11 +676,11 @@ function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = vo
676
676
  const m = localStorage.getItem(i);
677
677
  if (!m) return;
678
678
  const p = JSON.parse(m);
679
- Zn(p) && Se(p.hidden) && (n.value = p.hidden);
679
+ Jn(p) && Se(p.hidden) && (n.value = p.hidden);
680
680
  }, d = (m) => {
681
681
  !i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: m }));
682
682
  };
683
- return Io(() => {
683
+ return Fo(() => {
684
684
  v();
685
685
  }), Te(n, (m) => {
686
686
  d(m);
@@ -692,7 +692,7 @@ function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = vo
692
692
  pagination: c
693
693
  };
694
694
  }
695
- const Oo = /* @__PURE__ */ De({
695
+ const Ro = /* @__PURE__ */ De({
696
696
  __name: "ADialogToolbar",
697
697
  emits: ["onCancel"],
698
698
  setup(e, { emit: n }) {
@@ -752,14 +752,14 @@ function ii(e) {
752
752
  });
753
753
  } };
754
754
  }
755
- const sn = ii(), lo = "[-+]?[0-9]*.?[0-9]+", gl = [
755
+ const sn = ii(), ro = "[-+]?[0-9]*.?[0-9]+", gl = [
756
756
  {
757
757
  name: "px",
758
- regexp: new RegExp(`^${lo}px$`)
758
+ regexp: new RegExp(`^${ro}px$`)
759
759
  },
760
760
  {
761
761
  name: "%",
762
- regexp: new RegExp(`^${lo}%$`)
762
+ regexp: new RegExp(`^${ro}%$`)
763
763
  },
764
764
  /**
765
765
  * Fallback option
@@ -767,7 +767,7 @@ const sn = ii(), lo = "[-+]?[0-9]*.?[0-9]+", gl = [
767
767
  */
768
768
  {
769
769
  name: "px",
770
- regexp: new RegExp(`^${lo}$`)
770
+ regexp: new RegExp(`^${ro}$`)
771
771
  }
772
772
  ], ui = (e) => {
773
773
  if (e === "auto")
@@ -805,7 +805,7 @@ const sn = ii(), lo = "[-+]?[0-9]*.?[0-9]+", gl = [
805
805
  return e.forEach((a) => {
806
806
  yl.y.has(a) && (t = a), yl.x.has(a) && (n = a);
807
807
  }), { x: n, y: t };
808
- }, ro = {
808
+ }, so = {
809
809
  position: ["top", "right"],
810
810
  cssAnimation: "vn-fade",
811
811
  velocityAnimation: {
@@ -833,7 +833,7 @@ const sn = ii(), lo = "[-+]?[0-9]*.?[0-9]+", gl = [
833
833
  function pi(e) {
834
834
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Zr(e);
835
835
  }
836
- const va = {
836
+ const pa = {
837
837
  IDLE: 0,
838
838
  DESTROYED: 2
839
839
  }, hi = /* @__PURE__ */ De({
@@ -858,7 +858,7 @@ const va = {
858
858
  },
859
859
  position: {
860
860
  type: [String, Array],
861
- default: () => ro.position
861
+ default: () => so.position
862
862
  },
863
863
  classes: {
864
864
  type: [String, Array],
@@ -874,12 +874,12 @@ const va = {
874
874
  animation: {
875
875
  type: Object,
876
876
  default() {
877
- return ro.velocityAnimation;
877
+ return so.velocityAnimation;
878
878
  }
879
879
  },
880
880
  animationName: {
881
881
  type: String,
882
- default: ro.cssAnimation
882
+ default: so.cssAnimation
883
883
  },
884
884
  speed: {
885
885
  type: Number,
@@ -929,7 +929,7 @@ const va = {
929
929
  slots: t,
930
930
  expose: a
931
931
  }) => {
932
- const l = Y([]), o = Ql.get("velocity"), s = L(() => e.animationType === "velocity"), r = L(() => l.value.filter((I) => I.state !== va.DESTROYED)), i = L(() => ci(e.width)), u = L(() => {
932
+ const l = Y([]), o = Ql.get("velocity"), s = L(() => e.animationType === "velocity"), r = L(() => l.value.filter((I) => I.state !== pa.DESTROYED)), i = L(() => ci(e.width)), u = L(() => {
933
933
  const {
934
934
  x: I,
935
935
  y: V
@@ -967,7 +967,7 @@ const va = {
967
967
  title: B,
968
968
  text: k,
969
969
  type: C,
970
- state: va.IDLE,
970
+ state: pa.IDLE,
971
971
  speed: q,
972
972
  length: V + 2 * q,
973
973
  data: y,
@@ -988,7 +988,7 @@ const va = {
988
988
  transition: `all ${I.speed}ms`
989
989
  }, p = (I) => {
990
990
  var V;
991
- (V = I.timer) == null || V.stop(), I.state = va.DESTROYED, K(), n("destroy", I);
991
+ (V = I.timer) == null || V.stop(), I.state = pa.DESTROYED, K(), n("destroy", I);
992
992
  }, x = (I) => {
993
993
  const V = l.value.find((q) => q.id === I);
994
994
  V && p(V);
@@ -1012,9 +1012,9 @@ const va = {
1012
1012
  });
1013
1013
  };
1014
1014
  function K() {
1015
- l.value = l.value.filter((I) => I.state !== va.DESTROYED);
1015
+ l.value = l.value.filter((I) => I.state !== pa.DESTROYED);
1016
1016
  }
1017
- return Io(() => {
1017
+ return Fo(() => {
1018
1018
  sn.on("add", T), sn.on("close", v);
1019
1019
  }), Gr(() => {
1020
1020
  sn.off("add", T), sn.off("close", v);
@@ -1068,7 +1068,7 @@ function yi(e, n = {}) {
1068
1068
  const t = n.name || "notify";
1069
1069
  e.config.globalProperties["$" + t] = vt, e.component(n.componentName || gi, hi);
1070
1070
  }
1071
- const Bm = {
1071
+ const _m = {
1072
1072
  install: yi
1073
1073
  }, bi = (e) => e instanceof wt;
1074
1074
  class wt extends Error {
@@ -1076,18 +1076,18 @@ class wt extends Error {
1076
1076
  super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
1077
1077
  }
1078
1078
  }
1079
- const wi = 200, Ci = 201, er = 202, wn = 204, _m = 400, Om = 401, Si = 403, Rm = 404, Ro = 422, ki = [
1079
+ const wi = 200, Ci = 201, er = 202, wn = 204, Om = 400, Rm = 401, Si = 403, Pm = 404, Po = 422, ki = [
1080
1080
  wi,
1081
1081
  Ci,
1082
1082
  er,
1083
1083
  wn
1084
- ], Jn = (e) => tn.isAxiosError(e) && e.response?.status === Si, Di = (e) => e instanceof Cn;
1084
+ ], Qn = (e) => tn.isAxiosError(e) && e.response?.status === Si, Di = (e) => e instanceof Cn;
1085
1085
  class Cn extends Error {
1086
1086
  constructor(n, t = "") {
1087
1087
  super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
1088
1088
  }
1089
1089
  }
1090
- const Ei = "validation_failed", Qn = (e) => tn.isAxiosError(e) && e.response?.status === Ro && e.response.data?.error === Ei && e.response.data?.fields, tr = (e) => e instanceof Sn, Ti = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1090
+ const Ei = "validation_failed", ea = (e) => tn.isAxiosError(e) && e.response?.status === Po && e.response.data?.error === Ei && e.response.data?.fields, tr = (e) => e instanceof Sn, Ti = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1091
1091
  function xi(e, n, t) {
1092
1092
  const a = e.response?.data, l = [];
1093
1093
  for (const [o, s] of Object.entries(a.fields))
@@ -1103,14 +1103,14 @@ class Sn extends Error {
1103
1103
  super(o), this.name = "AnzuApiValidationError", this.cause = l, this.message = o, this.fields = xi(n, t, a);
1104
1104
  }
1105
1105
  }
1106
- const Po = (e) => e instanceof kn;
1106
+ const Lo = (e) => e instanceof kn;
1107
1107
  class kn extends Error {
1108
1108
  code;
1109
1109
  constructor(n, t, a) {
1110
1110
  super(a), this.name = "AnzuApiResponseCodeError", this.cause = t, this.code = n;
1111
1111
  }
1112
1112
  }
1113
- const Ai = "forbidden_operation_error", ea = (e) => tn.isAxiosError(e) && e.response?.status === Ro && e.response.data?.error === Ai && e.response.data?.detail, Mi = (e) => e instanceof Dn;
1113
+ const Ai = "forbidden_operation_error", ta = (e) => tn.isAxiosError(e) && e.response?.status === Po && e.response.data?.error === Ai && e.response.data?.detail, Mi = (e) => e instanceof Dn;
1114
1114
  function $i(e) {
1115
1115
  return (e.response?.data).detail;
1116
1116
  }
@@ -1120,7 +1120,7 @@ class Dn extends Error {
1120
1120
  super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = $i(n);
1121
1121
  }
1122
1122
  }
1123
- const Ii = "dependency_exists_error", ta = (e) => tn.isAxiosError(e) && e.response?.status === Ro && e.response.data?.error === Ii && e.response.data?.dependencies, Fi = (e) => e instanceof En;
1123
+ const Ii = "dependency_exists_error", na = (e) => tn.isAxiosError(e) && e.response?.status === Po && e.response.data?.error === Ii && e.response.data?.dependencies, Fi = (e) => e instanceof En;
1124
1124
  function Bi(e) {
1125
1125
  return (e.response?.data).dependencies;
1126
1126
  }
@@ -1130,14 +1130,14 @@ class En extends Error {
1130
1130
  super(o), this.name = "AnzuApiDependencyExistsError", this.cause = l, this.message = o, this.dependencies = Bi(n);
1131
1131
  }
1132
1132
  }
1133
- const _i = (e) => e instanceof Lo, nr = (e) => tn.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1134
- class Lo extends Error {
1133
+ const _i = (e) => e instanceof Vo, nr = (e) => tn.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1134
+ class Vo extends Error {
1135
1135
  constructor(n = void 0) {
1136
1136
  super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
1137
1137
  }
1138
1138
  }
1139
- const Oi = (e) => e instanceof Vo;
1140
- class Vo extends Error {
1139
+ const Oi = (e) => e instanceof No;
1140
+ class No extends Error {
1141
1141
  constructor(n) {
1142
1142
  super("API request failed"), this.name = "AnzuApiAxiosError", this.cause = n;
1143
1143
  }
@@ -1247,7 +1247,7 @@ function Tn() {
1247
1247
  duration: d * 1e3,
1248
1248
  type: "error"
1249
1249
  });
1250
- }, T = (d, m = -1) => Di(d) ? (h(m), !0) : tr(d) ? (f(d.fields, m), !0) : Fi(d) ? (a("error.apiDependencyExists.message", m), !0) : Mi(d) ? (c(d.detail, m), !0) : _i(d) ? (a("error.apiTimedOut.message", m), !0) : Oi(d) || bi(d) || Po(d) ? (g(m), !0) : !1, v = (d) => {
1250
+ }, T = (d, m = -1) => Di(d) ? (h(m), !0) : tr(d) ? (f(d.fields, m), !0) : Fi(d) ? (a("error.apiDependencyExists.message", m), !0) : Mi(d) ? (c(d.detail, m), !0) : _i(d) ? (a("error.apiTimedOut.message", m), !0) : Oi(d) || bi(d) || Lo(d) ? (g(m), !0) : !1, v = (d) => {
1251
1251
  const { t: m } = Pe.global, p = d.split("["), x = p[0].trim(), _ = p[1].split("]"), A = _[0], b = _[1] ?? "";
1252
1252
  return m(x) + "[" + A + "]: " + m(x.slice(0, -1) + b);
1253
1253
  };
@@ -1269,10 +1269,10 @@ function Tn() {
1269
1269
  showErrorsDefault: T
1270
1270
  };
1271
1271
  }
1272
- function No(e) {
1272
+ function Uo(e) {
1273
1273
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1274
1274
  }
1275
- var ba = { exports: {} }, Pi = ba.exports, bl;
1275
+ var wa = { exports: {} }, Pi = wa.exports, bl;
1276
1276
  function Li() {
1277
1277
  return bl || (bl = 1, (function(e, n) {
1278
1278
  (function(t, a) {
@@ -1548,11 +1548,11 @@ function Li() {
1548
1548
  return V(1e3 * k);
1549
1549
  }, V.en = b[A], V.Ls = b, V.p = {}, V;
1550
1550
  }));
1551
- })(ba)), ba.exports;
1551
+ })(wa)), wa.exports;
1552
1552
  }
1553
1553
  var Vi = Li();
1554
- const we = /* @__PURE__ */ No(Vi);
1555
- var wa = { exports: {} }, Ni = wa.exports, wl;
1554
+ const we = /* @__PURE__ */ Uo(Vi);
1555
+ var Ca = { exports: {} }, Ni = Ca.exports, wl;
1556
1556
  function Ui() {
1557
1557
  return wl || (wl = 1, (function(e, n) {
1558
1558
  (function(t, a) {
@@ -1625,11 +1625,11 @@ function Ui() {
1625
1625
  };
1626
1626
  };
1627
1627
  }));
1628
- })(wa)), wa.exports;
1628
+ })(Ca)), Ca.exports;
1629
1629
  }
1630
1630
  var Yi = Ui();
1631
- const ar = /* @__PURE__ */ No(Yi);
1632
- var Ca = { exports: {} }, Hi = Ca.exports, Cl;
1631
+ const ar = /* @__PURE__ */ Uo(Yi);
1632
+ var Sa = { exports: {} }, Hi = Sa.exports, Cl;
1633
1633
  function zi() {
1634
1634
  return Cl || (Cl = 1, (function(e, n) {
1635
1635
  (function(t, a) {
@@ -1750,30 +1750,30 @@ function zi() {
1750
1750
  };
1751
1751
  };
1752
1752
  }));
1753
- })(Ca)), Ca.exports;
1753
+ })(Sa)), Sa.exports;
1754
1754
  }
1755
1755
  var ji = zi();
1756
- const or = /* @__PURE__ */ No(ji);
1756
+ const or = /* @__PURE__ */ Uo(ji);
1757
1757
  we.extend(ar);
1758
1758
  we.extend(or);
1759
- const Ht = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000000Z", qa = "2100-01-01T00:00:00.000000Z", Pm = () => we().utc().toDate(), qi = (e) => we(e).toDate(), Lm = () => Wl(we().utc().unix()), qn = (e = !0, n = !1) => e && !n ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + Ht : e && n ? we().utc().format("YYYY-MM-DDTHH:mm:00") + Ht : !e && n ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Vm = (e = 0) => e === 0 ? we().startOf("day").utc().format($a) + Ht : we().add(e, "days").startOf("day").utc().format($a) + Ht, Nm = (e = 0) => e === 0 ? we().endOf("day").utc().format($a) + Ht : we().add(e, "days").endOf("day").utc().format($a) + Ht, Ki = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? we(n).add(e, "minutes").toDate() : e < 0 ? we(n).subtract(Math.abs(e), "minutes").toDate() : n), Do = (e, n = Ht) => we(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Um = () => we().utc().format("YYYY"), _n = (e, n = "", t = !1) => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Ym = (e, n = "", t = !1) => {
1759
+ const Ht = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000000Z", qa = "2100-01-01T00:00:00.000000Z", Lm = () => we().utc().toDate(), qi = (e) => we(e).toDate(), Vm = () => Wl(we().utc().unix()), Kn = (e = !0, n = !1) => e && !n ? we().utc().format("YYYY-MM-DDTHH:mm:ss") + Ht : e && n ? we().utc().format("YYYY-MM-DDTHH:mm:00") + Ht : !e && n ? we().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : we().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Nm = (e = 0) => e === 0 ? we().startOf("day").utc().format($a) + Ht : we().add(e, "days").startOf("day").utc().format($a) + Ht, Um = (e = 0) => e === 0 ? we().endOf("day").utc().format($a) + Ht : we().add(e, "days").endOf("day").utc().format($a) + Ht, Ki = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? we(n).add(e, "minutes").toDate() : e < 0 ? we(n).subtract(Math.abs(e), "minutes").toDate() : n), Eo = (e, n = Ht) => we(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Ym = () => we().utc().format("YYYY"), _n = (e, n = "", t = !1) => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Hm = (e, n = "", t = !1) => {
1760
1760
  if (e === qa || e === ja || e === "" || ae(e) || M(e))
1761
1761
  return n;
1762
1762
  let a = !0, l = !0;
1763
1763
  const o = we(e), s = we();
1764
1764
  return s.format("YYYY") === o.format("YYYY") && (a = !1), s.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (l = !1), !a && !l ? we(o).format(t ? "H:mm:ss" : "H:mm") : a ? we(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : we(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1765
- }, Hm = (e, n = "") => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format("DD.MM.YYYY"), zm = (e, n = "") => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format("HH:mm"), jm = (e, n, t = "ms") => {
1765
+ }, zm = (e, n = "") => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format("DD.MM.YYYY"), jm = (e, n = "") => e === qa || e === ja || e === "" || ae(e) || M(e) ? n : we(e).format("HH:mm"), qm = (e, n, t = "ms") => {
1766
1766
  const a = we(e), l = we(n);
1767
1767
  return a.diff(l, t);
1768
- }, so = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Wi = (e, n, t = 0, a = !1) => {
1768
+ }, io = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Wi = (e, n, t = 0, a = !1) => {
1769
1769
  const l = new Date(e);
1770
1770
  l.setMonth(l.getMonth() + t), l.setDate(1), l.setHours(0, 0, 0, 0);
1771
1771
  const o = new Date(e);
1772
1772
  return a ? o.setMonth(o.getMonth() + 1, 0) : o.setMonth(o.getMonth() + t + 1, 0), o.setHours(23, 59, 59, 999), n === "utc" ? {
1773
- from: Do(l),
1774
- until: Do(o)
1773
+ from: Eo(l),
1774
+ until: Eo(o)
1775
1775
  } : { from: l, until: o };
1776
- }, io = Wi, Ka = (e) => {
1776
+ }, uo = Wi, Ka = (e) => {
1777
1777
  e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
1778
1778
  }, lr = /* @__PURE__ */ De({
1779
1779
  __name: "AFilterSubmitButton",
@@ -1846,7 +1846,7 @@ const Ht = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000
1846
1846
  a && typeof a == "object" && Gi(a);
1847
1847
  }
1848
1848
  return Object.freeze(e);
1849
- }, qm = (e) => Object.keys(e).map((n) => e[n]), Km = (e, n, t = ".") => {
1849
+ }, Km = (e) => Object.keys(e).map((n) => e[n]), Wm = (e, n, t = ".") => {
1850
1850
  const a = n.split(t);
1851
1851
  let l = e;
1852
1852
  for (; a.length; ) {
@@ -1865,7 +1865,7 @@ const Ht = ".000000Z", $a = "YYYY-MM-DDTHH:mm:ss", ja = "1970-01-01T00:00:00.000
1865
1865
  }
1866
1866
  o[l[0]] = t;
1867
1867
  };
1868
- function Wm(e, n, t = ".") {
1868
+ function Gm(e, n, t = ".") {
1869
1869
  const a = n.split(t), l = a.length - 1;
1870
1870
  function o(s, r = 0) {
1871
1871
  const i = a[r];
@@ -1877,11 +1877,11 @@ function Wm(e, n, t = ".") {
1877
1877
  }
1878
1878
  return o(e), e;
1879
1879
  }
1880
- const na = (e, n, t = "") => Ln(n) ? e : Bs(
1880
+ const aa = (e, n, t = "") => Ln(n) ? e : Bs(
1881
1881
  t === "" ? e : t,
1882
1882
  n
1883
- ), aa = (e) => ki.includes(e), Gm = (e, n, t = {}, a, l, o = {}) => new Promise((s, r) => {
1884
- e().get(na(n, t), o).then((i) => aa(i.status) ? i.data ? s(i.data) : i.status === wn ? s(null) : r(new wt()) : r(new kn(i.status))).catch((i) => Jn(i) ? r(new Cn(i, i.config?.url)) : Qn(i) ? r(new Sn(i, a, l, i)) : ta(i) ? r(new En(i, a, l, i)) : ea(i) ? r(new Dn(i, i)) : r(new wt(i)));
1883
+ ), oa = (e) => ki.includes(e), Xm = (e, n, t = {}, a, l, o = {}) => new Promise((s, r) => {
1884
+ e().get(aa(n, t), o).then((i) => oa(i.status) ? i.data ? s(i.data) : i.status === wn ? s(null) : r(new wt()) : r(new kn(i.status))).catch((i) => Qn(i) ? r(new Cn(i, i.config?.url)) : ea(i) ? r(new Sn(i, a, l, i)) : na(i) ? r(new En(i, a, l, i)) : ta(i) ? r(new Dn(i, i)) : r(new wt(i)));
1885
1885
  }), { t: Zi } = Pe.global;
1886
1886
  function Ji() {
1887
1887
  return dt({ t: Zi })(ms, {
@@ -2006,7 +2006,7 @@ function Su() {
2006
2006
  messagePath: (a) => `error.jsValidation.datesCompare.${a.$params.variant}`
2007
2007
  });
2008
2008
  }
2009
- function Uo() {
2009
+ function Yo() {
2010
2010
  return {
2011
2011
  required: fu(),
2012
2012
  requiredIf: vu(),
@@ -2133,7 +2133,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2133
2133
  max: "23",
2134
2134
  onFocus: c,
2135
2135
  onBlur: g,
2136
- onKeyup: xa(T, ["enter"])
2136
+ onKeyup: Aa(T, ["enter"])
2137
2137
  }, null, 544), [
2138
2138
  [sl, u.value]
2139
2139
  ]),
@@ -2176,7 +2176,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2176
2176
  max: "59",
2177
2177
  onFocus: c,
2178
2178
  onBlur: h,
2179
- onKeyup: xa(v, ["enter"])
2179
+ onKeyup: Aa(v, ["enter"])
2180
2180
  }, null, 544), [
2181
2181
  [sl, f.value]
2182
2182
  ]),
@@ -2207,7 +2207,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2207
2207
  ])
2208
2208
  ]));
2209
2209
  }
2210
- }), Mu = /* @__PURE__ */ _o(Au, [["__scopeId", "data-v-4d56d16e"]]), $u = { class: "d-flex" }, Iu = { class: "ml-1" }, Fu = {
2210
+ }), Mu = /* @__PURE__ */ Oo(Au, [["__scopeId", "data-v-4d56d16e"]]), $u = { class: "d-flex" }, Iu = { class: "ml-1" }, Fu = {
2211
2211
  key: 0,
2212
2212
  class: "required"
2213
2213
  }, Bu = /* @__PURE__ */ De({
@@ -2232,11 +2232,11 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2232
2232
  setup(e, { emit: n }) {
2233
2233
  const t = e, a = n;
2234
2234
  we.extend(ar), we.extend(or);
2235
- const l = Y(!1), o = Y(0), s = Y(0), r = At("timePickerInstance"), i = At("inputInstance"), u = At("confirmRefButton"), f = Y(""), c = Y(null), g = Y(null), h = Y(null), { t: T } = Oe(), v = L(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: d } = Uo(), m = L(() => ({
2235
+ const l = Y(!1), o = Y(0), s = Y(0), r = At("timePickerInstance"), i = At("inputInstance"), u = At("confirmRefButton"), f = Y(""), c = Y(null), g = Y(null), h = Y(null), { t: T } = Oe(), v = L(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: d } = Yo(), m = L(() => ({
2236
2236
  textFieldValue: {
2237
2237
  required: d(t.required)
2238
2238
  }
2239
- })), p = Ma(m, { textFieldValue: f }), x = L(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), _ = (D) => {
2239
+ })), p = jn(m, { textFieldValue: f }), x = L(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), _ = (D) => {
2240
2240
  D !== t.modelValue && a("update:modelValue", D);
2241
2241
  }, A = (D) => {
2242
2242
  ae(D) || ((ae(g.value) || D.hour() !== g.value.hours || D.minute() !== g.value.minutes) && (g.value = { hours: D.hour(), minutes: D.minute() }), (ae(c.value) || D.year() !== c.value.getFullYear() || D.month() !== c.value.getMonth() || D.date() !== c.value.getDate()) && (c.value = D.toDate()));
@@ -2316,7 +2316,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2316
2316
  o.value++, s.value++;
2317
2317
  });
2318
2318
  };
2319
- return (D, O) => ($(), Z(Xn, {
2319
+ return (D, O) => ($(), Z(Zn, {
2320
2320
  ref_key: "inputInstance",
2321
2321
  ref: i,
2322
2322
  modelValue: f.value,
@@ -2330,7 +2330,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2330
2330
  autocomplete: "off",
2331
2331
  onBlur: I,
2332
2332
  onFocus: N,
2333
- onKeyup: xa(I, ["enter"])
2333
+ onKeyup: Aa(I, ["enter"])
2334
2334
  }, jt({
2335
2335
  "append-inner": E(() => [
2336
2336
  e.clearable && e.defaultValue !== e.modelValue ? ($(), Z(ke, {
@@ -2339,7 +2339,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2339
2339
  icon: "mdi-close-circle",
2340
2340
  onClick: he(V, ["stop"])
2341
2341
  })) : ie("", !0),
2342
- e.disabled ? ie("", !0) : ($(), Z(jn, {
2342
+ e.disabled ? ie("", !0) : ($(), Z(qn, {
2343
2343
  key: 1,
2344
2344
  location: "bottom end",
2345
2345
  origin: "top end",
@@ -2430,7 +2430,7 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2430
2430
  }
2431
2431
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2432
2432
  }
2433
- }), sr = /* @__PURE__ */ _o(Bu, [["__scopeId", "data-v-1031cc13"]]), Sl = /* @__PURE__ */ De({
2433
+ }), sr = /* @__PURE__ */ Oo(Bu, [["__scopeId", "data-v-1031cc13"]]), Sl = /* @__PURE__ */ De({
2434
2434
  __name: "AFormDatetimePicker",
2435
2435
  props: {
2436
2436
  modelValue: {},
@@ -2579,19 +2579,19 @@ const ku = { class: "a-datetime-picker-time" }, Du = { class: "a-datetime-picker
2579
2579
  } : void 0
2580
2580
  ]), 1032, ["data-cy", "model-value", "disabled"]));
2581
2581
  }
2582
- }), Dl = Y(1), uo = Y(!1);
2582
+ }), Dl = Y(1), co = Y(!1);
2583
2583
  function _u() {
2584
2584
  return {
2585
2585
  setStoredPage: (a) => {
2586
2586
  Dl.value = a;
2587
2587
  },
2588
2588
  setPreservePage: () => {
2589
- uo.value = !0;
2589
+ co.value = !0;
2590
2590
  },
2591
- consumeStoredPage: () => uo.value ? (uo.value = !1, Dl.value) : null
2591
+ consumeStoredPage: () => co.value ? (co.value = !1, Dl.value) : null
2592
2592
  };
2593
2593
  }
2594
- const co = "_sort", Ou = {
2594
+ const fo = "_sort", Ou = {
2595
2595
  skip: !1,
2596
2596
  xs: void 0,
2597
2597
  sm: void 0,
@@ -2701,7 +2701,7 @@ function ir(e, n, t = {}) {
2701
2701
  for (const p in e)
2702
2702
  try {
2703
2703
  const x = p, _ = e[x];
2704
- !M(_) && !ae(_) && !So(_) && _ !== n.fields[x].default && (m[p] = _);
2704
+ !M(_) && !ae(_) && !ko(_) && _ !== n.fields[x].default && (m[p] = _);
2705
2705
  } catch {
2706
2706
  }
2707
2707
  return m;
@@ -2709,9 +2709,9 @@ function ir(e, n, t = {}) {
2709
2709
  const _ = new URLSearchParams();
2710
2710
  for (const A in m) {
2711
2711
  const b = m[A];
2712
- M(b) || ae(b) || Se(b) && So(b) || Zn(b) && Ln(b) || He(b) && b.length === 0 || (Se(b) ? _.set(A, b.join(",")) : _.set(A, String(b)));
2712
+ M(b) || ae(b) || Se(b) && ko(b) || Jn(b) && Ln(b) || He(b) && b.length === 0 || (Se(b) ? _.set(A, b.join(",")) : _.set(A, String(b)));
2713
2713
  }
2714
- return x && p.value.sortBy && _.set(co, `${p.value.sortBy.key},${p.value.sortBy.order}`), _.size === 0 ? "" : _.toString() + l;
2714
+ return x && p.value.sortBy && _.set(fo, `${p.value.sortBy.key},${p.value.sortBy.order}`), _.size === 0 ? "" : _.toString() + l;
2715
2715
  }, i = (m) => {
2716
2716
  if (!m) return null;
2717
2717
  if (m.startsWith("#") && (m = m.substring(1)), m.endsWith(l))
@@ -2725,10 +2725,10 @@ function ir(e, n, t = {}) {
2725
2725
  }
2726
2726
  const p = new URLSearchParams(m), x = {};
2727
2727
  let _ = null;
2728
- const A = p.get(co);
2728
+ const A = p.get(fo);
2729
2729
  if (A) {
2730
2730
  const [b, F] = A.split(",");
2731
- b && (F === $t.Asc || F === $t.Desc) && (_ = { key: b, order: F }), p.delete(co);
2731
+ b && (F === $t.Asc || F === $t.Desc) && (_ = { key: b, order: F }), p.delete(fo);
2732
2732
  }
2733
2733
  for (const [b, F] of p.entries()) {
2734
2734
  const K = n.fields[b];
@@ -2854,7 +2854,7 @@ function Vu(e = void 0) {
2854
2854
  };
2855
2855
  }
2856
2856
  function Nu(e) {
2857
- const { datesCompare: n, required: t } = Uo(), a = L(() => e.value.from), l = L(() => e.value.until), o = {
2857
+ const { datesCompare: n, required: t } = Yo(), a = L(() => e.value.from), l = L(() => e.value.until), o = {
2858
2858
  dialogData: {
2859
2859
  from: {
2860
2860
  required: t,
@@ -2867,7 +2867,7 @@ function Nu(e) {
2867
2867
  }
2868
2868
  };
2869
2869
  return {
2870
- v$: Ma(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
2870
+ v$: jn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
2871
2871
  };
2872
2872
  }
2873
2873
  function Uu() {
@@ -2886,18 +2886,18 @@ function Uu() {
2886
2886
  from: m,
2887
2887
  until: p
2888
2888
  };
2889
- const x = qn(), _ = qi(x);
2889
+ const x = Kn(), _ = qi(x);
2890
2890
  switch (m) {
2891
2891
  case St.CurrentMonth:
2892
- return io(_, "utc", 0, !1);
2892
+ return uo(_, "utc", 0, !1);
2893
2893
  case St.LastMonth:
2894
- return io(_, "utc", -1, !1);
2894
+ return uo(_, "utc", -1, !1);
2895
2895
  case St.Last3Months:
2896
- return io(_, "utc", -2, !0);
2896
+ return uo(_, "utc", -2, !0);
2897
2897
  default:
2898
2898
  if (mn(m))
2899
2899
  return {
2900
- from: Do(Ki(m * -1, _)),
2900
+ from: Eo(Ki(m * -1, _)),
2901
2901
  until: x
2902
2902
  };
2903
2903
  }
@@ -2954,7 +2954,7 @@ function Uu() {
2954
2954
  q: e
2955
2955
  };
2956
2956
  }
2957
- const Yu = (e) => Zn(e) && Object.hasOwn(e, "totalCount"), Hu = (e) => Zn(e) && Object.hasOwn(e, "hasNextPage"), zu = (e, n, t) => {
2957
+ const Yu = (e) => Jn(e) && Object.hasOwn(e, "totalCount"), Hu = (e) => Jn(e) && Object.hasOwn(e, "hasNextPage"), zu = (e, n, t) => {
2958
2958
  const { querySetLimit: a, querySetOffset: l, querySetOrder: o, queryBuild: s, querySetFilters: r } = Uu();
2959
2959
  return a(e.value.rowsPerPage), l(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === $t.Desc), r(n, t), s();
2960
2960
  }, ju = (e) => {
@@ -2979,11 +2979,11 @@ const Yu = (e) => Zn(e) && Object.hasOwn(e, "totalCount"), Hu = (e) => Zn(e) &&
2979
2979
  try {
2980
2980
  const p = h.general.elastic || m ? "/search" : "", x = Ie(d) ? d : o, _ = Ie(v) ? v : l;
2981
2981
  if (M(_)) throw new Error("Url template is undefined");
2982
- const A = (M(x) ? _ : na(_, x)) + p + zu(c, g, h), b = await n().get(A, {
2982
+ const A = (M(x) ? _ : aa(_, x)) + p + zu(c, g, h), b = await n().get(A, {
2983
2983
  ...s,
2984
2984
  signal: i.signal
2985
2985
  });
2986
- if (!aa(b.status))
2986
+ if (!oa(b.status))
2987
2987
  throw new kn(b.status);
2988
2988
  if (b.data) {
2989
2989
  const F = b.data;
@@ -3003,7 +3003,7 @@ const Yu = (e) => Zn(e) && Object.hasOwn(e, "totalCount"), Hu = (e) => Zn(e) &&
3003
3003
  } catch (p) {
3004
3004
  if (p instanceof DOMException && p.name === "AbortError")
3005
3005
  return [];
3006
- throw Po(p) ? p : Jn(p) ? new Cn(p, p.config?.url) : Qn(p) ? new Sn(p, t, a, p) : ta(p) ? new En(p, t, a, p) : ea(p) ? new Dn(p, p) : nr(p) ? new Lo(p) : tn.isAxiosError(p) ? (r || console.error("Axios error: " + l, ...p.cause ? [p.cause] : []), new Vo(p)) : (r || console.error("AnzuFatalError: ", p), new wt(p));
3006
+ throw Lo(p) ? p : Qn(p) ? new Cn(p, p.config?.url) : ea(p) ? new Sn(p, t, a, p) : na(p) ? new En(p, t, a, p) : ta(p) ? new Dn(p, p) : nr(p) ? new Vo(p) : tn.isAxiosError(p) ? (r || console.error("Axios error: " + l, ...p.cause ? [p.cause] : []), new No(p)) : (r || console.error("AnzuFatalError: ", p), new wt(p));
3007
3007
  } finally {
3008
3008
  i = null;
3009
3009
  }
@@ -3049,8 +3049,8 @@ function pn(e, n = $t.Desc, t = {}, a) {
3049
3049
  incrementPage: () => (o.value = { ...o.value, page: o.value.page + 1 }, o.value.page)
3050
3050
  };
3051
3051
  }
3052
- const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3053
- e().post(na(t, a), JSON.stringify(n), s).then((u) => aa(u.status) ? u.data ? r(u.data) : u.status === wn ? r(null) : i(new wt()) : i(new kn(u.status))).catch((u) => Jn(u) ? i(new Cn(u, u.config?.url)) : Qn(u) ? i(new Sn(u, l, o, u)) : ta(u) ? i(new En(u, l, o, u)) : ea(u) ? i(new Dn(u, u)) : i(new wt(u)));
3052
+ const Zm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3053
+ e().post(aa(t, a), JSON.stringify(n), s).then((u) => oa(u.status) ? u.data ? r(u.data) : u.status === wn ? r(null) : i(new wt()) : i(new kn(u.status))).catch((u) => Qn(u) ? i(new Cn(u, u.config?.url)) : ea(u) ? i(new Sn(u, l, o, u)) : na(u) ? i(new En(u, l, o, u)) : ta(u) ? i(new Dn(u, u)) : i(new wt(u)));
3054
3054
  }), ft = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), rt = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), Wa = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), Ga = /* @__PURE__ */ Symbol.for(
3055
3055
  "anzu:FilterInnerConfigKey"
3056
3056
  ), Et = /* @__PURE__ */ Symbol.for(
@@ -3158,7 +3158,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3158
3158
  d === m || ut(d) || v();
3159
3159
  },
3160
3160
  { immediate: !0 }
3161
- ), (d, m) => ($(), Z(Xn, {
3161
+ ), (d, m) => ($(), Z(Zn, {
3162
3162
  modelValue: i.value,
3163
3163
  "onUpdate:modelValue": m[0] || (m[0] = (p) => i.value = p),
3164
3164
  label: c.value,
@@ -3174,7 +3174,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3174
3174
  }), Xu = {
3175
3175
  key: 0,
3176
3176
  class: "font-italic pl-1"
3177
- }, Zu = 300, Zm = /* @__PURE__ */ De({
3177
+ }, Zu = 300, Jm = /* @__PURE__ */ De({
3178
3178
  __name: "AFilterRemoteAutocomplete",
3179
3179
  props: {
3180
3180
  name: {},
@@ -3324,7 +3324,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3324
3324
  await C(ge);
3325
3325
  },
3326
3326
  { immediate: !0 }
3327
- ), (W, ne) => ($(), Z(Kn, {
3327
+ ), (W, ne) => ($(), Z(Wn, {
3328
3328
  modelValue: T.value,
3329
3329
  "onUpdate:modelValue": [
3330
3330
  ne[0] || (ne[0] = (ge) => T.value = ge),
@@ -3385,7 +3385,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3385
3385
  function Ju(e, n) {
3386
3386
  return n.includes(e);
3387
3387
  }
3388
- const Jm = /* @__PURE__ */ De({
3388
+ const Qm = /* @__PURE__ */ De({
3389
3389
  __name: "AFilterRemoteAutocompleteWithMinimal",
3390
3390
  props: {
3391
3391
  name: {},
@@ -3558,7 +3558,7 @@ const Jm = /* @__PURE__ */ De({
3558
3558
  te.length < t.searchMinChars || te !== H && (v.value++, V(te, v.value));
3559
3559
  },
3560
3560
  { debounce: 300 }
3561
- ), (te, H) => ($(), Z(Kn, {
3561
+ ), (te, H) => ($(), Z(Wn, {
3562
3562
  modelValue: c.value,
3563
3563
  "onUpdate:modelValue": [
3564
3564
  H[0] || (H[0] = (P) => c.value = P),
@@ -3605,7 +3605,7 @@ const Jm = /* @__PURE__ */ De({
3605
3605
  _: 3
3606
3606
  }, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
3607
3607
  }
3608
- }), Qm = /* @__PURE__ */ De({
3608
+ }), ev = /* @__PURE__ */ De({
3609
3609
  __name: "AFilterValueObjectOptionsSelect",
3610
3610
  props: {
3611
3611
  name: {},
@@ -3656,7 +3656,7 @@ const Jm = /* @__PURE__ */ De({
3656
3656
  d === m || ut(d) || v(d);
3657
3657
  },
3658
3658
  { immediate: !0 }
3659
- ), (d, m) => ($(), Z(Kn, {
3659
+ ), (d, m) => ($(), Z(Wn, {
3660
3660
  modelValue: u.value,
3661
3661
  "onUpdate:modelValue": m[0] || (m[0] = (p) => u.value = p),
3662
3662
  items: e.items,
@@ -3699,7 +3699,7 @@ const Jm = /* @__PURE__ */ De({
3699
3699
  }
3700
3700
  }), { timeIntervalOptions: u, getTimeIntervalOption: f } = Vu(t.allowed), c = Y(null), g = Y(!1), h = Y({
3701
3701
  from: null,
3702
- until: qn()
3702
+ until: Kn()
3703
3703
  }), T = Y(!1), { v$: v } = Nu(h), d = L(() => s.fields[t.nameFrom]), { t: m } = Oe(), p = L(() => d.value.titleT ? m(d.value.titleT) : void 0), { clearOne: x } = Ct(), { showValidationError: _ } = Tn(), A = () => {
3704
3704
  T.value = !1, c.value = null, K();
3705
3705
  }, b = () => {
@@ -3719,7 +3719,7 @@ const Jm = /* @__PURE__ */ De({
3719
3719
  return;
3720
3720
  }
3721
3721
  const B = f(N);
3722
- if (!B && so(N)) {
3722
+ if (!B && io(N)) {
3723
3723
  const k = f(St.Custom);
3724
3724
  o.value.set(t.nameFrom, [
3725
3725
  {
@@ -3731,7 +3731,7 @@ const Jm = /* @__PURE__ */ De({
3731
3731
  }
3732
3732
  B && o.value.set(t.nameFrom, [{ title: B.title, value: N }]);
3733
3733
  }, V = (N = !1) => {
3734
- v.value.$reset(), N && (h.value.from = null, h.value.until = qn()), g.value = !0;
3734
+ v.value.$reset(), N && (h.value.from = null, h.value.until = Kn()), g.value = !0;
3735
3735
  };
3736
3736
  Te(
3737
3737
  i,
@@ -3742,7 +3742,7 @@ const Jm = /* @__PURE__ */ De({
3742
3742
  return;
3743
3743
  }
3744
3744
  const B = f(i.value), k = r[t.nameUntil];
3745
- !B && so(i.value) && so(k) && (c.value = St.Custom, h.value.from = i.value, h.value.until = k, T.value = !0), B && (c.value = B.value);
3745
+ !B && io(i.value) && io(k) && (c.value = St.Custom, h.value.from = i.value, h.value.until = k, T.value = !0), B && (c.value = B.value);
3746
3746
  },
3747
3747
  { immediate: !0 }
3748
3748
  ), Te(
@@ -3797,7 +3797,7 @@ const Jm = /* @__PURE__ */ De({
3797
3797
  ]),
3798
3798
  _: 1
3799
3799
  }, 8, ["modelValue", "label", "clearable", "data-cy", "items"])),
3800
- g.value ? ($(), Z(Gn, {
3800
+ g.value ? ($(), Z(Xn, {
3801
3801
  key: 2,
3802
3802
  "model-value": !0,
3803
3803
  width: "auto",
@@ -3806,7 +3806,7 @@ const Jm = /* @__PURE__ */ De({
3806
3806
  default: E(() => [
3807
3807
  S(gn, null, {
3808
3808
  default: E(() => [
3809
- S(Oo, { onOnCancel: F }, {
3809
+ S(Ro, { onOnCancel: F }, {
3810
3810
  default: E(() => [
3811
3811
  pe(N.$slots, "title", {}, () => [
3812
3812
  ce(oe(p.value), 1)
@@ -3843,7 +3843,7 @@ const Jm = /* @__PURE__ */ De({
3843
3843
  ]),
3844
3844
  _: 1
3845
3845
  }),
3846
- S(Wn, null, {
3846
+ S(Gn, null, {
3847
3847
  default: E(() => [
3848
3848
  S(yn),
3849
3849
  S(k, {
@@ -3876,7 +3876,7 @@ const Jm = /* @__PURE__ */ De({
3876
3876
  ], 64);
3877
3877
  };
3878
3878
  }
3879
- }), ev = /* @__PURE__ */ _o(Qu, [["__scopeId", "data-v-845cd41b"]]), cr = (e, n = "item") => n + "." + e, El = /* @__PURE__ */ De({
3879
+ }), tv = /* @__PURE__ */ Oo(Qu, [["__scopeId", "data-v-845cd41b"]]), cr = (e, n = "item") => n + "." + e, El = /* @__PURE__ */ De({
3880
3880
  __name: "AFilterEmpty",
3881
3881
  props: {
3882
3882
  name: {}
@@ -3965,7 +3965,7 @@ const Jm = /* @__PURE__ */ De({
3965
3965
  d === m || ut(d) || v();
3966
3966
  },
3967
3967
  { immediate: !0 }
3968
- ), (d, m) => ($(), Z(Xn, {
3968
+ ), (d, m) => ($(), Z(Zn, {
3969
3969
  modelValue: i.value,
3970
3970
  "onUpdate:modelValue": m[0] || (m[0] = (p) => i.value = p),
3971
3971
  label: c.value,
@@ -4029,7 +4029,7 @@ const Ia = {
4029
4029
  }, nc = Ia.PinnedWidgets, Jt = {
4030
4030
  Desktop: "desktop",
4031
4031
  Mobile: "mobile"
4032
- }, ac = Jt.Desktop, oc = 3, Eo = 8, fr = xs("filterBookmarkStore", () => {
4032
+ }, ac = Jt.Desktop, oc = 3, To = 8, fr = xs("filterBookmarkStore", () => {
4033
4033
  const e = Y(/* @__PURE__ */ new Map()), n = Y(!1);
4034
4034
  function t(r, i) {
4035
4035
  return `userAdminConfig/${i}/${r}/`;
@@ -4049,7 +4049,7 @@ const Ia = {
4049
4049
  return p.lastUsed = c, p.items;
4050
4050
  }
4051
4051
  const { pagination: g } = pn("position", $t.Asc, {
4052
- rowsPerPage: Eo
4052
+ rowsPerPage: To
4053
4053
  }), { start: h, end: T } = vn(
4054
4054
  r.systemResource,
4055
4055
  "_"
@@ -4067,7 +4067,7 @@ const Ia = {
4067
4067
  async function o(r, i) {
4068
4068
  n.value = !1;
4069
4069
  const { pagination: u } = pn("position", $t.Asc, {
4070
- rowsPerPage: Eo + 1
4070
+ rowsPerPage: To + 1
4071
4071
  }), { start: f, end: c } = vn(
4072
4072
  r.systemResource,
4073
4073
  "_"
@@ -4112,13 +4112,13 @@ const Ia = {
4112
4112
  try {
4113
4113
  const d = { method: t }, m = Ie(T) ? T : s, p = Ie(h) ? h : o;
4114
4114
  if (M(p)) throw new Error("Url template is undefined");
4115
- d.url = p, p !== "" && !M(m) && (d.url = na(p, m)), ae(v) || (d.data = JSON.stringify(v));
4115
+ d.url = p, p !== "" && !M(m) && (d.url = aa(p, m)), ae(v) || (d.data = JSON.stringify(v));
4116
4116
  const x = await n().request({
4117
4117
  ...r,
4118
4118
  ...d,
4119
4119
  signal: u.signal
4120
4120
  });
4121
- if (!aa(x.status))
4121
+ if (!oa(x.status))
4122
4122
  throw new kn(x.status);
4123
4123
  if (x.data)
4124
4124
  return x.data;
@@ -4128,7 +4128,7 @@ const Ia = {
4128
4128
  } catch (d) {
4129
4129
  if (d instanceof DOMException && d.name === "AbortError")
4130
4130
  return [];
4131
- throw Po(d) ? d : Jn(d) ? new Cn(d, d.config?.url) : Qn(d) ? new Sn(d, a, l, d) : ta(d) ? new En(d, a, l, d) : ea(d) ? new Dn(d, d) : nr(d) ? new Lo(d) : tn.isAxiosError(d) ? (i || console.error("Axios error: " + o, ...d.cause ? [d.cause] : []), new Vo(d)) : (i || console.error("AnzuFatalError: ", d), new wt(d));
4131
+ throw Lo(d) ? d : Qn(d) ? new Cn(d, d.config?.url) : ea(d) ? new Sn(d, a, l, d) : na(d) ? new En(d, a, l, d) : ta(d) ? new Dn(d, d) : nr(d) ? new Vo(d) : tn.isAxiosError(d) ? (i || console.error("Axios error: " + o, ...d.cause ? [d.cause] : []), new No(d)) : (i || console.error("AnzuFatalError: ", d), new wt(d));
4132
4132
  } finally {
4133
4133
  u = null;
4134
4134
  }
@@ -4279,7 +4279,7 @@ const rc = { key: 0 }, sc = 32, vr = /* @__PURE__ */ De({
4279
4279
  b === !0 || ae(f.value) || (c.value = f.value.clientWidth, qe(() => {
4280
4280
  x(c.value);
4281
4281
  }));
4282
- }), Io(() => {
4282
+ }), Fo(() => {
4283
4283
  d();
4284
4284
  }), (b, F) => ($(), le("div", {
4285
4285
  ref: "toolbar",
@@ -4304,7 +4304,7 @@ const rc = { key: 0 }, sc = 32, vr = /* @__PURE__ */ De({
4304
4304
  _: 2
4305
4305
  }, 1032, ["onClick"])
4306
4306
  ]))), 128)),
4307
- A.value.hidden.length > 0 ? ($(), Z(jn, {
4307
+ A.value.hidden.length > 0 ? ($(), Z(qn, {
4308
4308
  key: 0,
4309
4309
  location: "bottom"
4310
4310
  }, {
@@ -4317,7 +4317,7 @@ const rc = { key: 0 }, sc = 32, vr = /* @__PURE__ */ De({
4317
4317
  }, K), null, 16)
4318
4318
  ]),
4319
4319
  default: E(() => [
4320
- S(Aa, { density: "compact" }, {
4320
+ S(Ma, { density: "compact" }, {
4321
4321
  default: E(() => [
4322
4322
  ($(!0), le(Ye, null, Yt(A.value.hidden, (K) => ($(), Z(ot, {
4323
4323
  key: K.id,
@@ -4413,20 +4413,20 @@ function fc(e) {
4413
4413
  var n = dc(e, "string");
4414
4414
  return typeof n == "symbol" ? n : n + "";
4415
4415
  }
4416
- function To(e) {
4416
+ function xo(e) {
4417
4417
  "@babel/helpers - typeof";
4418
- return To = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
4418
+ return xo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
4419
4419
  return typeof n;
4420
4420
  } : function(n) {
4421
4421
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
4422
- }, To(e);
4422
+ }, xo(e);
4423
4423
  }
4424
4424
  var mc = "1.15.7";
4425
4425
  function Mt(e) {
4426
4426
  if (typeof window < "u" && window.navigator)
4427
4427
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
4428
4428
  }
4429
- var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), oa = Mt(/Edge/i), Ml = Mt(/firefox/i), Vn = Mt(/safari/i) && !Mt(/chrome/i) && !Mt(/android/i), Yo = Mt(/iP(ad|od|hone)/i), pr = Mt(/chrome/i) && Mt(/android/i), hr = {
4429
+ var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), la = Mt(/Edge/i), Ml = Mt(/firefox/i), Vn = Mt(/safari/i) && !Mt(/chrome/i) && !Mt(/android/i), Ho = Mt(/iP(ad|od|hone)/i), pr = Mt(/chrome/i) && Mt(/android/i), hr = {
4430
4430
  capture: !1,
4431
4431
  passive: !1
4432
4432
  };
@@ -4555,7 +4555,7 @@ function hn(e, n, t, a) {
4555
4555
  }
4556
4556
  return null;
4557
4557
  }
4558
- function Ho(e, n) {
4558
+ function zo(e, n) {
4559
4559
  for (var t = e.lastElementChild; t && (t === me.ghost || fe(t, "display") === "none" || n && !Fa(t, n)); )
4560
4560
  t = t.previousElementSibling;
4561
4561
  return t || null;
@@ -4606,7 +4606,7 @@ function pc(e, n) {
4606
4606
  n.hasOwnProperty(t) && (e[t] = n[t]);
4607
4607
  return e;
4608
4608
  }
4609
- function fo(e, n) {
4609
+ function mo(e, n) {
4610
4610
  return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
4611
4611
  }
4612
4612
  var Nn;
@@ -4680,8 +4680,8 @@ function gc() {
4680
4680
  var o = !1, s = 0;
4681
4681
  e.forEach(function(r) {
4682
4682
  var i = 0, u = r.target, f = u.fromRect, c = je(u), g = u.prevFromRect, h = u.prevToRect, T = r.rect, v = cn(u, !0);
4683
- v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && fo(g, c) && !fo(f, c) && // Make sure animatingRect is on line between toRect & fromRect
4684
- (T.top - c.top) / (T.left - c.left) === (f.top - c.top) / (f.left - c.left) && (i = bc(T, g, h, l.options)), fo(c, f) || (u.prevFromRect = f, u.prevToRect = c, i || (i = l.options.animation), l.animate(u, T, c, i)), i && (o = !0, s = Math.max(s, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4683
+ v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && mo(g, c) && !mo(f, c) && // Make sure animatingRect is on line between toRect & fromRect
4684
+ (T.top - c.top) / (T.left - c.left) === (f.top - c.top) / (f.left - c.left) && (i = bc(T, g, h, l.options)), mo(c, f) || (u.prevFromRect = f, u.prevToRect = c, i || (i = l.options.animation), l.animate(u, T, c, i)), i && (o = !0, s = Math.max(s, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4685
4685
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
4686
4686
  }, i), u.thisAnimationDuration = i);
4687
4687
  }), clearTimeout(n), o ? n = setTimeout(function() {
@@ -4705,12 +4705,12 @@ function yc(e) {
4705
4705
  function bc(e, n, t, a) {
4706
4706
  return Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) / Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) * a.animation;
4707
4707
  }
4708
- var on = [], mo = {
4708
+ var on = [], vo = {
4709
4709
  initializeByDefault: !0
4710
- }, la = {
4710
+ }, ra = {
4711
4711
  mount: function(n) {
4712
- for (var t in mo)
4713
- mo.hasOwnProperty(t) && !(t in n) && (n[t] = mo[t]);
4712
+ for (var t in vo)
4713
+ vo.hasOwnProperty(t) && !(t in n) && (n[t] = vo[t]);
4714
4714
  on.forEach(function(a) {
4715
4715
  if (a.pluginName === n.pluginName)
4716
4716
  throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
@@ -4761,11 +4761,11 @@ function wc(e) {
4761
4761
  var n = e.sortable, t = e.rootEl, a = e.name, l = e.targetEl, o = e.cloneEl, s = e.toEl, r = e.fromEl, i = e.oldIndex, u = e.newIndex, f = e.oldDraggableIndex, c = e.newDraggableIndex, g = e.originalEvent, h = e.putSortable, T = e.extraEventProperties;
4762
4762
  if (n = n || t && t[lt], !!n) {
4763
4763
  var v, d = n.options, m = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4764
- window.CustomEvent && !Ft && !oa ? v = new CustomEvent(a, {
4764
+ window.CustomEvent && !Ft && !la ? v = new CustomEvent(a, {
4765
4765
  bubbles: !0,
4766
4766
  cancelable: !0
4767
4767
  }) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = s || t, v.from = r || t, v.item = l || t, v.clone = o, v.oldIndex = i, v.newIndex = u, v.oldDraggableIndex = f, v.newDraggableIndex = c, v.originalEvent = g, v.pullMode = h ? h.lastPutMode : void 0;
4768
- var p = Dt(Dt({}, T), la.getEventProperties(a, n));
4768
+ var p = Dt(Dt({}, T), ra.getEventProperties(a, n));
4769
4769
  for (var x in p)
4770
4770
  v[x] = p[x];
4771
4771
  t && t.dispatchEvent(v), d[m] && d[m].call(n, v);
@@ -4773,13 +4773,13 @@ function wc(e) {
4773
4773
  }
4774
4774
  var Cc = ["evt"], at = function(n, t) {
4775
4775
  var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, l = a.evt, o = uc(a, Cc);
4776
- la.pluginEvent.bind(me)(n, t, Dt({
4776
+ ra.pluginEvent.bind(me)(n, t, Dt({
4777
4777
  dragEl: Q,
4778
4778
  parentEl: Ue,
4779
4779
  ghostEl: ye,
4780
4780
  rootEl: Le,
4781
4781
  nextEl: Gt,
4782
- lastDownEl: Sa,
4782
+ lastDownEl: ka,
4783
4783
  cloneEl: Ve,
4784
4784
  cloneHidden: Nt,
4785
4785
  dragStarted: On,
@@ -4819,7 +4819,7 @@ function et(e) {
4819
4819
  newDraggableIndex: Vt
4820
4820
  }, e));
4821
4821
  }
4822
- var Q, Ue, ye, Le, Gt, Sa, Ve, Nt, un, it, Un, Vt, pa, Xe, rn = !1, Ba = !1, _a = [], qt, yt, vo, po, Bl, _l, On, ln, Yn, Hn = !1, ha = !1, ka, Je, ho = [], xo = !1, Oa = [], Xa = typeof document < "u", ga = Yo, Ol = oa || Ft ? "cssFloat" : "float", Sc = Xa && !pr && !Yo && "draggable" in document.createElement("div"), kr = (function() {
4822
+ var Q, Ue, ye, Le, Gt, ka, Ve, Nt, un, it, Un, Vt, ha, Xe, rn = !1, Ba = !1, _a = [], qt, yt, po, ho, Bl, _l, On, ln, Yn, Hn = !1, ga = !1, Da, Je, go = [], Ao = !1, Oa = [], Xa = typeof document < "u", ya = Ho, Ol = la || Ft ? "cssFloat" : "float", Sc = Xa && !pr && !Ho && "draggable" in document.createElement("div"), kr = (function() {
4823
4823
  if (Xa) {
4824
4824
  if (Ft)
4825
4825
  return !1;
@@ -4844,7 +4844,7 @@ var Q, Ue, ye, Le, Gt, Sa, Ve, Nt, un, it, Un, Vt, pa, Xe, rn = !1, Ba = !1, _a
4844
4844
  var a;
4845
4845
  return _a.some(function(l) {
4846
4846
  var o = l[lt].options.emptyInsertThreshold;
4847
- if (!(!o || Ho(l))) {
4847
+ if (!(!o || zo(l))) {
4848
4848
  var s = je(l), r = n >= s.left - o && n <= s.right + o, i = t >= s.top - o && t <= s.bottom + o;
4849
4849
  if (r && i)
4850
4850
  return a = l;
@@ -4867,7 +4867,7 @@ var Q, Ue, ye, Le, Gt, Sa, Ve, Nt, un, it, Un, Vt, pa, Xe, rn = !1, Ba = !1, _a
4867
4867
  };
4868
4868
  }
4869
4869
  var a = {}, l = n.group;
4870
- (!l || To(l) != "object") && (l = {
4870
+ (!l || xo(l) != "object") && (l = {
4871
4871
  name: l
4872
4872
  }), a.name = l.name, a.checkPull = t(l.pull, !0), a.checkPut = t(l.put), a.revertClone = l.revertClone, n.group = a;
4873
4873
  }, Tr = function() {
@@ -4940,10 +4940,10 @@ function me(e, n) {
4940
4940
  y: 0
4941
4941
  },
4942
4942
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
4943
- supportPointer: me.supportPointer !== !1 && "PointerEvent" in window && (!Vn || Yo),
4943
+ supportPointer: me.supportPointer !== !1 && "PointerEvent" in window && (!Vn || Ho),
4944
4944
  emptyInsertThreshold: 5
4945
4945
  };
4946
- la.initializePlugins(this, e, t);
4946
+ ra.initializePlugins(this, e, t);
4947
4947
  for (var a in t)
4948
4948
  !(a in n) && (n[a] = t[a]);
4949
4949
  Er(n);
@@ -4963,7 +4963,7 @@ me.prototype = /** @lends Sortable.prototype */
4963
4963
  _onTapStart: function(n) {
4964
4964
  if (n.cancelable) {
4965
4965
  var t = this, a = this.el, l = this.options, o = l.preventOnFilter, s = n.type, r = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (r || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, f = l.filter;
4966
- if (Bc(a), !Q && !(/mousedown|pointerdown/.test(s) && n.button !== 0 || l.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Vn && i && i.tagName.toUpperCase() === "SELECT") && (i = bt(i, l.draggable, a, !1), !(i && i.animated) && Sa !== i)) {
4966
+ if (Bc(a), !Q && !(/mousedown|pointerdown/.test(s) && n.button !== 0 || l.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Vn && i && i.tagName.toUpperCase() === "SELECT") && (i = bt(i, l.draggable, a, !1), !(i && i.animated) && ka !== i)) {
4967
4967
  if (un = pt(i), Un = pt(i, l.draggable), typeof f == "function") {
4968
4968
  if (f.call(this, n, i, this)) {
4969
4969
  et({
@@ -5002,7 +5002,7 @@ me.prototype = /** @lends Sortable.prototype */
5002
5002
  var l = this, o = l.el, s = l.options, r = o.ownerDocument, i;
5003
5003
  if (a && !Q && a.parentNode === o) {
5004
5004
  var u = je(a);
5005
- if (Le = o, Q = a, Ue = Q.parentNode, Gt = Q.nextSibling, Sa = a, pa = s.group, me.dragged = Q, qt = {
5005
+ if (Le = o, Q = a, Ue = Q.parentNode, Gt = Q.nextSibling, ka = a, ha = s.group, me.dragged = Q, qt = {
5006
5006
  target: Q,
5007
5007
  clientX: (t || n).clientX,
5008
5008
  clientY: (t || n).clientY
@@ -5019,10 +5019,10 @@ me.prototype = /** @lends Sortable.prototype */
5019
5019
  originalEvent: n
5020
5020
  }), st(Q, s.chosenClass, !0);
5021
5021
  }, s.ignore.split(",").forEach(function(f) {
5022
- yr(Q, f.trim(), go);
5022
+ yr(Q, f.trim(), yo);
5023
5023
  }), $e(r, "dragover", Kt), $e(r, "mousemove", Kt), $e(r, "touchmove", Kt), s.supportPointer ? ($e(r, "pointerup", l._onDrop), !this.nativeDraggable && $e(r, "pointercancel", l._onDrop)) : ($e(r, "mouseup", l._onDrop), $e(r, "touchend", l._onDrop), $e(r, "touchcancel", l._onDrop)), Ml && this.nativeDraggable && (this.options.touchStartThreshold = 4, Q.draggable = !0), at("delayStart", this, {
5024
5024
  evt: n
5025
- }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(oa || Ft))) {
5025
+ }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(la || Ft))) {
5026
5026
  if (me.eventCanceled) {
5027
5027
  this._onDrop();
5028
5028
  return;
@@ -5037,7 +5037,7 @@ me.prototype = /** @lends Sortable.prototype */
5037
5037
  Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
5038
5038
  },
5039
5039
  _disableDelayedDrag: function() {
5040
- Q && go(Q), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
5040
+ Q && yo(Q), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
5041
5041
  },
5042
5042
  _disableDelayedDragEvents: function() {
5043
5043
  var n = this.el.ownerDocument;
@@ -5046,7 +5046,7 @@ me.prototype = /** @lends Sortable.prototype */
5046
5046
  _triggerDragStart: function(n, t) {
5047
5047
  t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? $e(document, "pointermove", this._onTouchMove) : t ? $e(document, "touchmove", this._onTouchMove) : $e(document, "mousemove", this._onTouchMove) : ($e(Q, "dragend", this), $e(Le, "dragstart", this._onDragStart));
5048
5048
  try {
5049
- document.selection ? Da(function() {
5049
+ document.selection ? Ea(function() {
5050
5050
  document.selection.empty();
5051
5051
  }) : window.getSelection().removeAllRanges();
5052
5052
  } catch {
@@ -5090,14 +5090,14 @@ me.prototype = /** @lends Sortable.prototype */
5090
5090
  },
5091
5091
  _onTouchMove: function(n) {
5092
5092
  if (qt) {
5093
- var t = this.options, a = t.fallbackTolerance, l = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = ye && cn(ye, !0), r = ye && s && s.a, i = ye && s && s.d, u = ga && Je && Fl(Je), f = (o.clientX - qt.clientX + l.x) / (r || 1) + (u ? u[0] - ho[0] : 0) / (r || 1), c = (o.clientY - qt.clientY + l.y) / (i || 1) + (u ? u[1] - ho[1] : 0) / (i || 1);
5093
+ var t = this.options, a = t.fallbackTolerance, l = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = ye && cn(ye, !0), r = ye && s && s.a, i = ye && s && s.d, u = ya && Je && Fl(Je), f = (o.clientX - qt.clientX + l.x) / (r || 1) + (u ? u[0] - go[0] : 0) / (r || 1), c = (o.clientY - qt.clientY + l.y) / (i || 1) + (u ? u[1] - go[1] : 0) / (i || 1);
5094
5094
  if (!me.active && !rn) {
5095
5095
  if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
5096
5096
  return;
5097
5097
  this._onDragStart(n, !0);
5098
5098
  }
5099
5099
  if (ye) {
5100
- s ? (s.e += f - (vo || 0), s.f += c - (po || 0)) : s = {
5100
+ s ? (s.e += f - (po || 0), s.f += c - (ho || 0)) : s = {
5101
5101
  a: 1,
5102
5102
  b: 0,
5103
5103
  c: 0,
@@ -5106,20 +5106,20 @@ me.prototype = /** @lends Sortable.prototype */
5106
5106
  f: c
5107
5107
  };
5108
5108
  var g = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
5109
- fe(ye, "webkitTransform", g), fe(ye, "mozTransform", g), fe(ye, "msTransform", g), fe(ye, "transform", g), vo = f, po = c, yt = o;
5109
+ fe(ye, "webkitTransform", g), fe(ye, "mozTransform", g), fe(ye, "msTransform", g), fe(ye, "transform", g), po = f, ho = c, yt = o;
5110
5110
  }
5111
5111
  n.cancelable && n.preventDefault();
5112
5112
  }
5113
5113
  },
5114
5114
  _appendGhost: function() {
5115
5115
  if (!ye) {
5116
- var n = this.options.fallbackOnBody ? document.body : Le, t = je(Q, !0, ga, !0, n), a = this.options;
5117
- if (ga) {
5116
+ var n = this.options.fallbackOnBody ? document.body : Le, t = je(Q, !0, ya, !0, n), a = this.options;
5117
+ if (ya) {
5118
5118
  for (Je = n; fe(Je, "position") === "static" && fe(Je, "transform") === "none" && Je !== document; )
5119
5119
  Je = Je.parentNode;
5120
- Je !== document.body && Je !== document.documentElement ? (Je === document && (Je = kt()), t.top += Je.scrollTop, t.left += Je.scrollLeft) : Je = kt(), ho = Fl(Je);
5120
+ Je !== document.body && Je !== document.documentElement ? (Je === document && (Je = kt()), t.top += Je.scrollTop, t.left += Je.scrollLeft) : Je = kt(), go = Fl(Je);
5121
5121
  }
5122
- ye = Q.cloneNode(!0), st(ye, a.ghostClass, !1), st(ye, a.fallbackClass, !0), st(ye, a.dragClass, !0), fe(ye, "transition", ""), fe(ye, "transform", ""), fe(ye, "box-sizing", "border-box"), fe(ye, "margin", 0), fe(ye, "top", t.top), fe(ye, "left", t.left), fe(ye, "width", t.width), fe(ye, "height", t.height), fe(ye, "opacity", "0.8"), fe(ye, "position", ga ? "absolute" : "fixed"), fe(ye, "zIndex", "100000"), fe(ye, "pointerEvents", "none"), me.ghost = ye, n.appendChild(ye), fe(ye, "transform-origin", Bl / parseInt(ye.style.width) * 100 + "% " + _l / parseInt(ye.style.height) * 100 + "%");
5122
+ ye = Q.cloneNode(!0), st(ye, a.ghostClass, !1), st(ye, a.fallbackClass, !0), st(ye, a.dragClass, !0), fe(ye, "transition", ""), fe(ye, "transform", ""), fe(ye, "box-sizing", "border-box"), fe(ye, "margin", 0), fe(ye, "top", t.top), fe(ye, "left", t.left), fe(ye, "width", t.width), fe(ye, "height", t.height), fe(ye, "opacity", "0.8"), fe(ye, "position", ya ? "absolute" : "fixed"), fe(ye, "zIndex", "100000"), fe(ye, "pointerEvents", "none"), me.ghost = ye, n.appendChild(ye), fe(ye, "transform-origin", Bl / parseInt(ye.style.width) * 100 + "% " + _l / parseInt(ye.style.height) * 100 + "%");
5123
5123
  }
5124
5124
  },
5125
5125
  _onDragStart: function(n, t) {
@@ -5130,17 +5130,17 @@ me.prototype = /** @lends Sortable.prototype */
5130
5130
  this._onDrop();
5131
5131
  return;
5132
5132
  }
5133
- at("setupClone", this), me.eventCanceled || (Ve = Cr(Q), Ve.removeAttribute("id"), Ve.draggable = !1, Ve.style["will-change"] = "", this._hideClone(), st(Ve, this.options.chosenClass, !1), me.clone = Ve), a.cloneId = Da(function() {
5133
+ at("setupClone", this), me.eventCanceled || (Ve = Cr(Q), Ve.removeAttribute("id"), Ve.draggable = !1, Ve.style["will-change"] = "", this._hideClone(), st(Ve, this.options.chosenClass, !1), me.clone = Ve), a.cloneId = Ea(function() {
5134
5134
  at("clone", a), !me.eventCanceled && (a.options.removeCloneOnHide || Le.insertBefore(Ve, Q), a._hideClone(), et({
5135
5135
  sortable: a,
5136
5136
  name: "clone"
5137
5137
  }));
5138
- }), !t && st(Q, o.dragClass, !0), t ? (Ba = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (Me(document, "mouseup", a._onDrop), Me(document, "touchend", a._onDrop), Me(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, Q)), $e(document, "drop", a), fe(Q, "transform", "translateZ(0)")), rn = !0, a._dragStartId = Da(a._dragStarted.bind(a, t, n)), $e(document, "selectstart", a), On = !0, window.getSelection().removeAllRanges(), Vn && fe(document.body, "user-select", "none");
5138
+ }), !t && st(Q, o.dragClass, !0), t ? (Ba = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (Me(document, "mouseup", a._onDrop), Me(document, "touchend", a._onDrop), Me(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, Q)), $e(document, "drop", a), fe(Q, "transform", "translateZ(0)")), rn = !0, a._dragStartId = Ea(a._dragStarted.bind(a, t, n)), $e(document, "selectstart", a), On = !0, window.getSelection().removeAllRanges(), Vn && fe(document.body, "user-select", "none");
5139
5139
  },
5140
5140
  // Returns true - if no further action is needed (either inserted or another condition)
5141
5141
  _onDragOver: function(n) {
5142
- var t = this.el, a = n.target, l, o, s, r = this.options, i = r.group, u = me.active, f = pa === i, c = r.sort, g = Xe || u, h, T = this, v = !1;
5143
- if (xo) return;
5142
+ var t = this.el, a = n.target, l, o, s, r = this.options, i = r.group, u = me.active, f = ha === i, c = r.sort, g = Xe || u, h, T = this, v = !1;
5143
+ if (Ao) return;
5144
5144
  function d(O, z) {
5145
5145
  at(O, T, Dt({
5146
5146
  evt: n,
@@ -5154,7 +5154,7 @@ me.prototype = /** @lends Sortable.prototype */
5154
5154
  target: a,
5155
5155
  completed: p,
5156
5156
  onMove: function(se, ve) {
5157
- return ya(Le, t, Q, l, se, je(se), n, ve);
5157
+ return ba(Le, t, Q, l, se, je(se), n, ve);
5158
5158
  },
5159
5159
  changed: x
5160
5160
  }, z));
@@ -5182,26 +5182,26 @@ me.prototype = /** @lends Sortable.prototype */
5182
5182
  if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = bt(a, r.draggable, t, !0), d("dragOver"), me.eventCanceled) return v;
5183
5183
  if (Q.contains(n.target) || a.animated && a.animatingX && a.animatingY || T._ignoreWhileAnimating === a)
5184
5184
  return p(!1);
5185
- if (Ba = !1, u && !r.disabled && (f ? c || (s = Ue !== Le) : Xe === this || (this.lastPutMode = pa.checkPull(this, u, Q, n)) && i.checkPut(this, u, Q, n))) {
5185
+ if (Ba = !1, u && !r.disabled && (f ? c || (s = Ue !== Le) : Xe === this || (this.lastPutMode = ha.checkPull(this, u, Q, n)) && i.checkPut(this, u, Q, n))) {
5186
5186
  if (h = this._getDirection(n, a) === "vertical", l = je(Q), d("dragOverValid"), me.eventCanceled) return v;
5187
5187
  if (s)
5188
5188
  return Ue = Le, m(), this._hideClone(), d("revert"), me.eventCanceled || (Gt ? Le.insertBefore(Q, Gt) : Le.appendChild(Q)), p(!0);
5189
- var _ = Ho(t, r.draggable);
5189
+ var _ = zo(t, r.draggable);
5190
5190
  if (!_ || Mc(n, h, this) && !_.animated) {
5191
5191
  if (_ === Q)
5192
5192
  return p(!1);
5193
- if (_ && t === n.target && (a = _), a && (o = je(a)), ya(Le, t, Q, l, a, o, n, !!a) !== !1)
5193
+ if (_ && t === n.target && (a = _), a && (o = je(a)), ba(Le, t, Q, l, a, o, n, !!a) !== !1)
5194
5194
  return m(), _ && _.nextSibling ? t.insertBefore(Q, _.nextSibling) : t.appendChild(Q), Ue = t, x(), p(!0);
5195
5195
  } else if (_ && Ac(n, h, this)) {
5196
5196
  var A = hn(t, 0, r, !0);
5197
5197
  if (A === Q)
5198
5198
  return p(!1);
5199
- if (a = A, o = je(a), ya(Le, t, Q, l, a, o, n, !1) !== !1)
5199
+ if (a = A, o = je(a), ba(Le, t, Q, l, a, o, n, !1) !== !1)
5200
5200
  return m(), t.insertBefore(Q, A), Ue = t, x(), p(!0);
5201
5201
  } else if (a.parentNode === t) {
5202
5202
  o = je(a);
5203
5203
  var b = 0, F, K = Q.parentNode !== t, I = !kc(Q.animated && Q.toRect || l, a.animated && a.toRect || o, h), V = h ? "top" : "left", q = Il(a, "top", "top") || Il(Q, "top", "top"), N = q ? q.scrollTop : void 0;
5204
- ln !== a && (F = o[V], Hn = !1, ha = !I && r.invertSwap || K), b = $c(n, a, o, h, I ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, ha, ln === a);
5204
+ ln !== a && (F = o[V], Hn = !1, ga = !I && r.invertSwap || K), b = $c(n, a, o, h, I ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, ga, ln === a);
5205
5205
  var B;
5206
5206
  if (b !== 0) {
5207
5207
  var k = pt(Q);
@@ -5214,9 +5214,9 @@ me.prototype = /** @lends Sortable.prototype */
5214
5214
  ln = a, Yn = b;
5215
5215
  var C = a.nextElementSibling, y = !1;
5216
5216
  y = b === 1;
5217
- var D = ya(Le, t, Q, l, a, o, n, y);
5217
+ var D = ba(Le, t, Q, l, a, o, n, y);
5218
5218
  if (D !== !1)
5219
- return (D === 1 || D === -1) && (y = D === 1), xo = !0, setTimeout(xc, 30), m(), y && !C ? t.appendChild(Q) : a.parentNode.insertBefore(Q, y ? C : a), q && wr(q, 0, N - q.scrollTop), Ue = Q.parentNode, F !== void 0 && !ha && (ka = Math.abs(F - je(a)[V])), x(), p(!0);
5219
+ return (D === 1 || D === -1) && (y = D === 1), Ao = !0, setTimeout(xc, 30), m(), y && !C ? t.appendChild(Q) : a.parentNode.insertBefore(Q, y ? C : a), q && wr(q, 0, N - q.scrollTop), Ue = Q.parentNode, F !== void 0 && !ga && (Da = Math.abs(F - je(a)[V])), x(), p(!0);
5220
5220
  }
5221
5221
  if (t.contains(Q))
5222
5222
  return p(!1);
@@ -5239,7 +5239,7 @@ me.prototype = /** @lends Sortable.prototype */
5239
5239
  this._nulling();
5240
5240
  return;
5241
5241
  }
5242
- rn = !1, ha = !1, Hn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ao(this.cloneId), Ao(this._dragStartId), this.nativeDraggable && (Me(document, "drop", this), Me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Vn && fe(document.body, "user-select", ""), fe(Q, "transform", ""), n && (On && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), ye && ye.parentNode && ye.parentNode.removeChild(ye), (Le === Ue || Xe && Xe.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), Q && (this.nativeDraggable && Me(Q, "dragend", this), go(Q), Q.style["will-change"] = "", On && !rn && st(Q, Xe ? Xe.options.ghostClass : this.options.ghostClass, !1), st(Q, this.options.chosenClass, !1), et({
5242
+ rn = !1, ga = !1, Hn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Mo(this.cloneId), Mo(this._dragStartId), this.nativeDraggable && (Me(document, "drop", this), Me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Vn && fe(document.body, "user-select", ""), fe(Q, "transform", ""), n && (On && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), ye && ye.parentNode && ye.parentNode.removeChild(ye), (Le === Ue || Xe && Xe.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), Q && (this.nativeDraggable && Me(Q, "dragend", this), yo(Q), Q.style["will-change"] = "", On && !rn && st(Q, Xe ? Xe.options.ghostClass : this.options.ghostClass, !1), st(Q, this.options.chosenClass, !1), et({
5243
5243
  sortable: this,
5244
5244
  name: "unchoose",
5245
5245
  toEl: Ue,
@@ -5286,11 +5286,11 @@ me.prototype = /** @lends Sortable.prototype */
5286
5286
  }), this.save()))), this._nulling();
5287
5287
  },
5288
5288
  _nulling: function() {
5289
- at("nulling", this), Le = Q = Ue = ye = Gt = Ve = Sa = Nt = qt = yt = On = it = Vt = un = Un = ln = Yn = Xe = pa = me.dragged = me.ghost = me.clone = me.active = null;
5289
+ at("nulling", this), Le = Q = Ue = ye = Gt = Ve = ka = Nt = qt = yt = On = it = Vt = un = Un = ln = Yn = Xe = ha = me.dragged = me.ghost = me.clone = me.active = null;
5290
5290
  var n = this.el;
5291
5291
  Oa.forEach(function(t) {
5292
5292
  n.contains(t) && (t.checked = !0);
5293
- }), Oa.length = vo = po = 0;
5293
+ }), Oa.length = po = ho = 0;
5294
5294
  },
5295
5295
  handleEvent: function(n) {
5296
5296
  switch (n.type) {
@@ -5355,7 +5355,7 @@ me.prototype = /** @lends Sortable.prototype */
5355
5355
  var a = this.options;
5356
5356
  if (t === void 0)
5357
5357
  return a[n];
5358
- var l = la.modifyOption(this, n, t);
5358
+ var l = ra.modifyOption(this, n, t);
5359
5359
  typeof l < "u" ? a[n] = l : a[n] = t, n === "group" && Er(a);
5360
5360
  },
5361
5361
  /**
@@ -5388,34 +5388,34 @@ me.prototype = /** @lends Sortable.prototype */
5388
5388
  function Tc(e) {
5389
5389
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
5390
5390
  }
5391
- function ya(e, n, t, a, l, o, s, r) {
5391
+ function ba(e, n, t, a, l, o, s, r) {
5392
5392
  var i, u = e[lt], f = u.options.onMove, c;
5393
- return window.CustomEvent && !Ft && !oa ? i = new CustomEvent("move", {
5393
+ return window.CustomEvent && !Ft && !la ? i = new CustomEvent("move", {
5394
5394
  bubbles: !0,
5395
5395
  cancelable: !0
5396
5396
  }) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = l || n, i.relatedRect = o || je(n), i.willInsertAfter = r, i.originalEvent = s, e.dispatchEvent(i), f && (c = f.call(u, i, s)), c;
5397
5397
  }
5398
- function go(e) {
5398
+ function yo(e) {
5399
5399
  e.draggable = !1;
5400
5400
  }
5401
5401
  function xc() {
5402
- xo = !1;
5402
+ Ao = !1;
5403
5403
  }
5404
5404
  function Ac(e, n, t) {
5405
5405
  var a = je(hn(t.el, 0, t.options, !0)), l = Sr(t.el, t.options, ye), o = 10;
5406
5406
  return n ? e.clientX < l.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < l.top - o || e.clientY < a.bottom && e.clientX < a.left;
5407
5407
  }
5408
5408
  function Mc(e, n, t) {
5409
- var a = je(Ho(t.el, t.options.draggable)), l = Sr(t.el, t.options, ye), o = 10;
5409
+ var a = je(zo(t.el, t.options.draggable)), l = Sr(t.el, t.options, ye), o = 10;
5410
5410
  return n ? e.clientX > l.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > l.bottom + o || e.clientX > a.right && e.clientY > a.top;
5411
5411
  }
5412
5412
  function $c(e, n, t, a, l, o, s, r) {
5413
5413
  var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, f = a ? t.top : t.left, c = a ? t.bottom : t.right, g = !1;
5414
5414
  if (!s) {
5415
- if (r && ka < u * l) {
5415
+ if (r && Da < u * l) {
5416
5416
  if (!Hn && (Yn === 1 ? i > f + u * o / 2 : i < c - u * o / 2) && (Hn = !0), Hn)
5417
5417
  g = !0;
5418
- else if (Yn === 1 ? i < f + ka : i > c - ka)
5418
+ else if (Yn === 1 ? i < f + Da : i > c - Da)
5419
5419
  return -Yn;
5420
5420
  } else if (i > f + u * (1 - l) / 2 && i < c - u * (1 - l) / 2)
5421
5421
  return Ic(n);
@@ -5437,10 +5437,10 @@ function Bc(e) {
5437
5437
  a.checked && Oa.push(a);
5438
5438
  }
5439
5439
  }
5440
- function Da(e) {
5440
+ function Ea(e) {
5441
5441
  return setTimeout(e, 0);
5442
5442
  }
5443
- function Ao(e) {
5443
+ function Mo(e) {
5444
5444
  return clearTimeout(e);
5445
5445
  }
5446
5446
  Xa && $e(document, "touchmove", function(e) {
@@ -5460,8 +5460,8 @@ me.utils = {
5460
5460
  toggleClass: st,
5461
5461
  clone: Cr,
5462
5462
  index: pt,
5463
- nextTick: Da,
5464
- cancelNextTick: Ao,
5463
+ nextTick: Ea,
5464
+ cancelNextTick: Mo,
5465
5465
  detectDirection: Dr,
5466
5466
  getChild: hn,
5467
5467
  expando: lt
@@ -5475,14 +5475,14 @@ me.mount = function() {
5475
5475
  n[0].constructor === Array && (n = n[0]), n.forEach(function(a) {
5476
5476
  if (!a.prototype || !a.prototype.constructor)
5477
5477
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(a));
5478
- a.utils && (me.utils = Dt(Dt({}, me.utils), a.utils)), la.mount(a);
5478
+ a.utils && (me.utils = Dt(Dt({}, me.utils), a.utils)), ra.mount(a);
5479
5479
  });
5480
5480
  };
5481
5481
  me.create = function(e, n) {
5482
5482
  return new me(e, n);
5483
5483
  };
5484
5484
  me.version = mc;
5485
- var ze = [], Rn, Mo, $o = !1, yo, bo, Ra, Pn;
5485
+ var ze = [], Rn, $o, Io = !1, bo, wo, Ra, Pn;
5486
5486
  function _c() {
5487
5487
  function e() {
5488
5488
  this.defaults = {
@@ -5505,29 +5505,29 @@ function _c() {
5505
5505
  !this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
5506
5506
  },
5507
5507
  drop: function() {
5508
- this.sortable.nativeDraggable ? Me(document, "dragover", this._handleAutoScroll) : (Me(document, "pointermove", this._handleFallbackAutoScroll), Me(document, "touchmove", this._handleFallbackAutoScroll), Me(document, "mousemove", this._handleFallbackAutoScroll)), Rl(), Ea(), hc();
5508
+ this.sortable.nativeDraggable ? Me(document, "dragover", this._handleAutoScroll) : (Me(document, "pointermove", this._handleFallbackAutoScroll), Me(document, "touchmove", this._handleFallbackAutoScroll), Me(document, "mousemove", this._handleFallbackAutoScroll)), Rl(), Ta(), hc();
5509
5509
  },
5510
5510
  nulling: function() {
5511
- Ra = Mo = Rn = $o = Pn = yo = bo = null, ze.length = 0;
5511
+ Ra = $o = Rn = Io = Pn = bo = wo = null, ze.length = 0;
5512
5512
  },
5513
5513
  _handleFallbackAutoScroll: function(t) {
5514
5514
  this._handleAutoScroll(t, !0);
5515
5515
  },
5516
5516
  _handleAutoScroll: function(t, a) {
5517
5517
  var l = this, o = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, r = document.elementFromPoint(o, s);
5518
- if (Ra = t, a || this.options.forceAutoScrollFallback || oa || Ft || Vn) {
5519
- wo(t, this.options, r, a);
5518
+ if (Ra = t, a || this.options.forceAutoScrollFallback || la || Ft || Vn) {
5519
+ Co(t, this.options, r, a);
5520
5520
  var i = Ut(r, !0);
5521
- $o && (!Pn || o !== yo || s !== bo) && (Pn && Rl(), Pn = setInterval(function() {
5521
+ Io && (!Pn || o !== bo || s !== wo) && (Pn && Rl(), Pn = setInterval(function() {
5522
5522
  var u = Ut(document.elementFromPoint(o, s), !0);
5523
- u !== i && (i = u, Ea()), wo(t, l.options, u, a);
5524
- }, 10), yo = o, bo = s);
5523
+ u !== i && (i = u, Ta()), Co(t, l.options, u, a);
5524
+ }, 10), bo = o, wo = s);
5525
5525
  } else {
5526
5526
  if (!this.options.bubbleScroll || Ut(r, !0) === kt()) {
5527
- Ea();
5527
+ Ta();
5528
5528
  return;
5529
5529
  }
5530
- wo(t, this.options, Ut(r, !1), !1);
5530
+ Co(t, this.options, Ut(r, !1), !1);
5531
5531
  }
5532
5532
  }
5533
5533
  }, It(e, {
@@ -5535,7 +5535,7 @@ function _c() {
5535
5535
  initializeByDefault: !0
5536
5536
  });
5537
5537
  }
5538
- function Ea() {
5538
+ function Ta() {
5539
5539
  ze.forEach(function(e) {
5540
5540
  clearInterval(e.pid);
5541
5541
  }), ze = [];
@@ -5543,10 +5543,10 @@ function Ea() {
5543
5543
  function Rl() {
5544
5544
  clearInterval(Pn);
5545
5545
  }
5546
- var wo = br(function(e, n, t, a) {
5546
+ var Co = br(function(e, n, t, a) {
5547
5547
  if (n.scroll) {
5548
5548
  var l = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, s = n.scrollSensitivity, r = n.scrollSpeed, i = kt(), u = !1, f;
5549
- Mo !== t && (Mo = t, Ea(), Rn = n.scroll, f = n.scrollFn, Rn === !0 && (Rn = Ut(t, !0)));
5549
+ $o !== t && ($o = t, Ta(), Rn = n.scroll, f = n.scrollFn, Rn === !0 && (Rn = Ut(t, !0)));
5550
5550
  var c = 0, g = Rn;
5551
5551
  do {
5552
5552
  var h = g, T = je(h), v = T.top, d = T.bottom, m = T.left, p = T.right, x = T.width, _ = T.height, A = void 0, b = void 0, F = h.scrollWidth, K = h.scrollHeight, I = fe(h), V = h.scrollLeft, q = h.scrollTop;
@@ -5563,7 +5563,7 @@ var wo = br(function(e, n, t, a) {
5563
5563
  layer: c
5564
5564
  }), 24))), c++;
5565
5565
  } while (n.bubbleScroll && g !== i && (g = Ut(g, !1)));
5566
- $o = u;
5566
+ Io = u;
5567
5567
  }
5568
5568
  }, 30), Ar = function(n) {
5569
5569
  var t = n.originalEvent, a = n.putSortable, l = n.dragEl, o = n.activeSortable, s = n.dispatchSortableEvent, r = n.hideGhostForTarget, i = n.unhideGhostForTarget;
@@ -5577,9 +5577,9 @@ var wo = br(function(e, n, t, a) {
5577
5577
  }));
5578
5578
  }
5579
5579
  };
5580
- function zo() {
5580
+ function jo() {
5581
5581
  }
5582
- zo.prototype = {
5582
+ jo.prototype = {
5583
5583
  startIndex: null,
5584
5584
  dragStart: function(n) {
5585
5585
  var t = n.oldDraggableIndex;
@@ -5593,23 +5593,23 @@ zo.prototype = {
5593
5593
  },
5594
5594
  drop: Ar
5595
5595
  };
5596
- It(zo, {
5596
+ It(jo, {
5597
5597
  pluginName: "revertOnSpill"
5598
5598
  });
5599
- function jo() {
5599
+ function qo() {
5600
5600
  }
5601
- jo.prototype = {
5601
+ qo.prototype = {
5602
5602
  onSpill: function(n) {
5603
5603
  var t = n.dragEl, a = n.putSortable, l = a || this.sortable;
5604
5604
  l.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), l.animateAll();
5605
5605
  },
5606
5606
  drop: Ar
5607
5607
  };
5608
- It(jo, {
5608
+ It(qo, {
5609
5609
  pluginName: "removeOnSpill"
5610
5610
  });
5611
5611
  me.mount(new _c());
5612
- me.mount(jo, zo);
5612
+ me.mount(qo, jo);
5613
5613
  function Mr(e, n, t = {}) {
5614
5614
  let a;
5615
5615
  const { document: l = ls, watchElement: o = !1, ...s } = t, r = { onUpdate: (v) => {
@@ -5655,7 +5655,7 @@ function Rc(e) {
5655
5655
  }
5656
5656
  function Pc(e, n, t, a = null) {
5657
5657
  a != null && (Rc(a.item), Oc(a.from, a.item, n));
5658
- const l = La(e), o = l ? [...Co(e)] : Co(e);
5658
+ const l = La(e), o = l ? [...So(e)] : So(e);
5659
5659
  if (t >= 0 && t < o.length) {
5660
5660
  const s = o.splice(n, 1)[0];
5661
5661
  qe(() => {
@@ -5711,7 +5711,7 @@ function Hc(e, n, t) {
5711
5711
  throw new Error("Random bytes length must be >= 16");
5712
5712
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, $r(a);
5713
5713
  }
5714
- const zc = () => Vc(), tv = () => Yc(), In = "a-sortable-widget__handle", jc = "a-sortable-widget__ghost", qc = "a-sortable-widget__drag", Kc = "a-sortable-widget__chosen", Pl = "a-sortable-widget__group";
5714
+ const zc = () => Vc(), nv = () => Yc(), In = "a-sortable-widget__handle", jc = "a-sortable-widget__ghost", qc = "a-sortable-widget__drag", Kc = "a-sortable-widget__chosen", Pl = "a-sortable-widget__group";
5715
5715
  function Wc(e, n, t, a) {
5716
5716
  const l = Y(!1), o = Y(null), s = Y(null), r = Y(zc()), i = Y(null), u = Y(0), f = Y(t.dirty);
5717
5717
  function c(B, k) {
@@ -5886,7 +5886,7 @@ const Gc = "a-sortable-", Xc = ["id"], Zc = { key: 1 }, Jc = { class: "a-sortabl
5886
5886
  removeByIndex: k,
5887
5887
  updateDataAtIndex: C
5888
5888
  } = Wc(o, h, a, l);
5889
- return Fo(() => {
5889
+ return Bo(() => {
5890
5890
  _();
5891
5891
  }), qe(() => {
5892
5892
  K.value = document.querySelector("#" + c.value), h();
@@ -6035,9 +6035,9 @@ const Gc = "a-sortable-", Xc = ["id"], Zc = { key: 1 }, Jc = { class: "a-sortabl
6035
6035
  activator: "parent",
6036
6036
  text: "More options"
6037
6037
  }),
6038
- S(jn, { activator: "parent" }, {
6038
+ S(qn, { activator: "parent" }, {
6039
6039
  default: E(() => [
6040
- S(Aa, { density: "compact" }, {
6040
+ S(Ma, { density: "compact" }, {
6041
6041
  default: E(() => [
6042
6042
  e.showAddAfterButton ? ($(), Z(ot, {
6043
6043
  key: 0,
@@ -6083,7 +6083,7 @@ const Gc = "a-sortable-", Xc = ["id"], Zc = { key: 1 }, Jc = { class: "a-sortabl
6083
6083
  _: 1
6084
6084
  })) : ie("", !0)
6085
6085
  ]),
6086
- S(Gn, {
6086
+ S(Xn, {
6087
6087
  modelValue: R(x),
6088
6088
  "onUpdate:modelValue": D[2] || (D[2] = (J) => La(x) ? x.value = J : null),
6089
6089
  width: 500
@@ -6091,7 +6091,7 @@ const Gc = "a-sortable-", Xc = ["id"], Zc = { key: 1 }, Jc = { class: "a-sortabl
6091
6091
  default: E(() => [
6092
6092
  R(x) ? ($(), Z(gn, { key: 0 }, {
6093
6093
  default: E(() => [
6094
- S(Oo, {
6094
+ S(Ro, {
6095
6095
  onOnCancel: D[0] || (D[0] = (J) => x.value = !1)
6096
6096
  }, {
6097
6097
  default: E(() => [
@@ -6099,7 +6099,7 @@ const Gc = "a-sortable-", Xc = ["id"], Zc = { key: 1 }, Jc = { class: "a-sortabl
6099
6099
  ]),
6100
6100
  _: 1
6101
6101
  }),
6102
- S(Wn, null, {
6102
+ S(Gn, null, {
6103
6103
  default: E(() => [
6104
6104
  S(yn),
6105
6105
  S(O, {
@@ -6143,8 +6143,8 @@ function nd() {
6143
6143
  defaultConfig: !1,
6144
6144
  data: [],
6145
6145
  position: 0,
6146
- createdAt: qn(),
6147
- modifiedAt: qn(),
6146
+ createdAt: Kn(),
6147
+ modifiedAt: Kn(),
6148
6148
  createdBy: null,
6149
6149
  modifiedBy: null,
6150
6150
  _resourceName: "userAdminConfig",
@@ -6178,17 +6178,17 @@ const ad = {
6178
6178
  const t = e, a = n, l = re(rt), o = re(ft), s = re(ur);
6179
6179
  if (M(s) || M(l) || M(o))
6180
6180
  throw new Error("Incorrect provide/inject config.");
6181
- const r = Y("add"), i = Y(""), u = Y(!1), f = Y(!1), c = Y(!1), g = Y(!1), h = Y(!1), T = Y([]), v = Y(null), { required: d, maxLength: m } = Uo(), p = {
6181
+ const r = Y("add"), i = Y(""), u = Y(!1), f = Y(!1), c = Y(!1), g = Y(!1), h = Y(!1), T = Y([]), v = Y(null), { required: d, maxLength: m } = Yo(), p = {
6182
6182
  customName: {
6183
6183
  required: d,
6184
6184
  maxLength: m(100)
6185
6185
  }
6186
- }, x = Ma(p, { customName: i }, { $stopPropagation: !0 }), _ = {
6186
+ }, x = jn(p, { customName: i }, { $stopPropagation: !0 }), _ = {
6187
6187
  itemEdit: {
6188
6188
  required: d,
6189
6189
  maxLength: m(100)
6190
6190
  }
6191
- }, A = Ma(_, { itemEdit: v }, { $stopPropagation: !0 }), b = fr(), {
6191
+ }, A = jn(_, { itemEdit: v }, { $stopPropagation: !0 }), b = fr(), {
6192
6192
  createUserAdminConfig: F,
6193
6193
  useFetchUserAdminConfigList: K,
6194
6194
  updateUserAdminConfigPositions: I,
@@ -6222,7 +6222,7 @@ const ad = {
6222
6222
  },
6223
6223
  K
6224
6224
  );
6225
- if (U >= Eo) {
6225
+ if (U >= To) {
6226
6226
  h.value = !0, c.value = !1;
6227
6227
  return;
6228
6228
  }
@@ -6300,14 +6300,14 @@ const ad = {
6300
6300
  h.value = !1, r.value === "manage" && H();
6301
6301
  }), (P, U) => {
6302
6302
  const X = dn("ABtnTertiary"), W = dn("ABtnPrimary");
6303
- return $(), Z(Gn, {
6303
+ return $(), Z(Xn, {
6304
6304
  "model-value": !0,
6305
6305
  width: 500
6306
6306
  }, {
6307
6307
  default: E(() => [
6308
6308
  S(gn, null, {
6309
6309
  default: E(() => [
6310
- S(Oo, {
6310
+ S(Ro, {
6311
6311
  onOnCancel: U[0] || (U[0] = (ne) => a("onClose"))
6312
6312
  }, {
6313
6313
  default: E(() => [
@@ -6381,7 +6381,7 @@ const ad = {
6381
6381
  })
6382
6382
  ])) : r.value === "manage" ? ($(), le("div", od, [
6383
6383
  g.value ? ($(), le("div", ld, [
6384
- S(Bo, { indeterminate: "" })
6384
+ S(_o, { indeterminate: "" })
6385
6385
  ])) : ($(), Z(td, {
6386
6386
  key: 1,
6387
6387
  modelValue: T.value,
@@ -6452,7 +6452,7 @@ const ad = {
6452
6452
  ]),
6453
6453
  _: 1
6454
6454
  }),
6455
- S(Wn, null, {
6455
+ S(Gn, null, {
6456
6456
  default: E(() => [
6457
6457
  S(yn),
6458
6458
  S(X, {
@@ -6545,7 +6545,7 @@ const ad = {
6545
6545
  }), ud = { class: "subject-select-filter__content px-2 py-4" }, cd = { class: "d-flex flex-wrap align-center" }, dd = {
6546
6546
  key: 0,
6547
6547
  class: "subject-select-filter__actions"
6548
- }, nv = /* @__PURE__ */ De({
6548
+ }, av = /* @__PURE__ */ De({
6549
6549
  __name: "AFilterWrapperSubjectSelect",
6550
6550
  props: /* @__PURE__ */ We({
6551
6551
  hideButtons: { type: Boolean, default: !1 },
@@ -6668,7 +6668,7 @@ const ad = {
6668
6668
  }), fd = {
6669
6669
  key: 0,
6670
6670
  class: "required"
6671
- }, av = /* @__PURE__ */ De({
6671
+ }, ov = /* @__PURE__ */ De({
6672
6672
  __name: "AFormRemoteAutocompleteWithCached",
6673
6673
  props: /* @__PURE__ */ We({
6674
6674
  modelValue: {},
@@ -6788,7 +6788,7 @@ const ad = {
6788
6788
  await N(y), y.size > 0 && (c(Array.from(y)), f());
6789
6789
  },
6790
6790
  { immediate: !0 }
6791
- ), (k, C) => ($(), Z(Kn, {
6791
+ ), (k, C) => ($(), Z(Wn, {
6792
6792
  modelValue: T.value,
6793
6793
  "onUpdate:modelValue": C[0] || (C[0] = (y) => T.value = y),
6794
6794
  search: l.value,
@@ -6937,7 +6937,7 @@ const ad = {
6937
6937
  ]))), 128))
6938
6938
  ]))), 128));
6939
6939
  }
6940
- }), hd = { class: "d-flex flex-wrap align-center" }, gd = { class: "a-filter__container" }, yd = { class: "a-filter__search" }, bd = { key: 2 }, ov = /* @__PURE__ */ De({
6940
+ }), hd = { class: "d-flex flex-wrap align-center" }, gd = { class: "a-filter__container" }, yd = { class: "a-filter__search" }, bd = { key: 2 }, lv = /* @__PURE__ */ De({
6941
6941
  __name: "AFilterWrapper",
6942
6942
  props: /* @__PURE__ */ We({
6943
6943
  enableTop: { type: Boolean, default: !1 },
@@ -7125,8 +7125,8 @@ const ad = {
7125
7125
  _: 3
7126
7126
  }, 8, ["name"]));
7127
7127
  }
7128
- }), lv = (e, n, t = {}, a, l, o = {}) => new Promise((s, r) => {
7129
- e().delete(na(n, t), o).then((i) => aa(i.status) ? i.data ? s(i.data) : i.status === wn ? s(null) : r(new wt()) : r(new kn(i.status))).catch((i) => Jn(i) ? r(new Cn(i, i.config?.url)) : Qn(i) ? r(new Sn(i, a, l, i)) : ta(i) ? r(new En(i, a, l, i)) : ea(i) ? r(new Dn(i, i)) : r(new wt(i)));
7128
+ }), rv = (e, n, t = {}, a, l, o = {}) => new Promise((s, r) => {
7129
+ e().delete(aa(n, t), o).then((i) => oa(i.status) ? i.data ? s(i.data) : i.status === wn ? s(null) : r(new wt()) : r(new kn(i.status))).catch((i) => Qn(i) ? r(new Cn(i, i.config?.url)) : ea(i) ? r(new Sn(i, a, l, i)) : na(i) ? r(new En(i, a, l, i)) : ta(i) ? r(new Dn(i, i)) : r(new wt(i)));
7130
7130
  });
7131
7131
  function wd(e, n = 769) {
7132
7132
  const { width: t } = us(e), a = L(() => t.value > 0 && t.value < n);
@@ -7258,7 +7258,7 @@ const kd = (e) => [...e].sort((n, t) => n.position - t.position), Dd = (e, n = [
7258
7258
  let Td = 0;
7259
7259
  const Ll = () => --Td;
7260
7260
  function xd(e) {
7261
- const n = typeof e.getKey == "function" ? null : e.getKey ?? "id", t = (H) => typeof e.getKey == "function" ? e.getKey(H) : H[n], a = e.position ?? "position", l = a !== !1, o = typeof a == "object" ? a.field : a === !1 ? "position" : a, s = typeof a == "object" && a.multiplier ? a.multiplier : 1, r = L(() => e.get()), i = L(() => Co(e.dirtyExclude) ?? []), u = (H) => {
7261
+ const n = typeof e.getKey == "function" ? null : e.getKey ?? "id", t = (H) => typeof e.getKey == "function" ? e.getKey(H) : H[n], a = e.position ?? "position", l = a !== !1, o = typeof a == "object" ? a.field : a === !1 ? "position" : a, s = typeof a == "object" && a.multiplier ? a.multiplier : 1, r = L(() => e.get()), i = L(() => So(e.dirtyExclude) ?? []), u = (H) => {
7262
7262
  const P = { ...H };
7263
7263
  l && delete P[o];
7264
7264
  for (const U of i.value) delete P[U];
@@ -7423,7 +7423,7 @@ function Md() {
7423
7423
  dirtyLabels: n
7424
7424
  };
7425
7425
  }
7426
- function rv() {
7426
+ function sv() {
7427
7427
  const e = Md();
7428
7428
  return en() && fn(Br, e), e;
7429
7429
  }
@@ -7434,7 +7434,7 @@ function $d(e) {
7434
7434
  const l = e();
7435
7435
  return Array.isArray(l) ? l : [l];
7436
7436
  });
7437
- n.register(t, a), Fo(() => n.unregister(t));
7437
+ n.register(t, a), Bo(() => n.unregister(t));
7438
7438
  }
7439
7439
  function Id(e) {
7440
7440
  const n = Y(!1), t = Y(null), a = Y(!1), l = Y(null), o = async (u) => {
@@ -7519,10 +7519,25 @@ function Bd(e, n) {
7519
7519
  for (const a of e.invalidKeys.value) n(a);
7520
7520
  return t;
7521
7521
  }
7522
+ function _d(e) {
7523
+ const { hasErrors: n, validationScope: t, reveal: a } = e;
7524
+ if (t === void 0 || t === !1) return;
7525
+ const l = jn(
7526
+ { listEditor: { valid: () => !n.value } },
7527
+ { listEditor: n },
7528
+ { $scope: t }
7529
+ );
7530
+ Te(
7531
+ () => l.value.$dirty,
7532
+ (o) => {
7533
+ o && n.value && a();
7534
+ }
7535
+ );
7536
+ }
7522
7537
  const Vl = /* @__PURE__ */ Symbol(
7523
7538
  "le.sharedReorderRegistry"
7524
7539
  );
7525
- function _d(e) {
7540
+ function Od(e) {
7526
7541
  const n = Y(!1), t = Y(null), a = L(() => e.mode.value === "reorder"), l = L(() => e.movedKeys.value.size), o = L(() => l.value > 0), s = () => e.clonePayload ? e.clonePayload(e.modelValue.value) : e.cloneModel(e.modelValue.value), r = () => e.embedded?.value === !0, i = () => {
7527
7542
  !e.canEnterReorder.value || a.value || (r() || (e.snapshot.value = e.cloneModel(e.modelValue.value)), e.movedKeys.value = /* @__PURE__ */ new Set(), t.value = null, e.mode.value = "reorder", e.onEnter?.(), e.emit.reorderStart());
7528
7543
  }, u = () => {
@@ -7555,7 +7570,7 @@ function _d(e) {
7555
7570
  applyReorder: f
7556
7571
  };
7557
7572
  }
7558
- const Od = /* @__PURE__ */ De({
7573
+ const Rd = /* @__PURE__ */ De({
7559
7574
  __name: "LeDeleteDialog",
7560
7575
  props: /* @__PURE__ */ We({
7561
7576
  title: {},
@@ -7571,7 +7586,7 @@ const Od = /* @__PURE__ */ De({
7571
7586
  emits: /* @__PURE__ */ We(["confirm", "cancel"], ["update:modelValue"]),
7572
7587
  setup(e) {
7573
7588
  const n = tt(e, "modelValue");
7574
- return (t, a) => ($(), Z(Gn, {
7589
+ return (t, a) => ($(), Z(Xn, {
7575
7590
  modelValue: n.value,
7576
7591
  "onUpdate:modelValue": a[2] || (a[2] = (l) => n.value = l),
7577
7592
  "max-width": "420",
@@ -7604,7 +7619,7 @@ const Od = /* @__PURE__ */ De({
7604
7619
  ]),
7605
7620
  _: 1
7606
7621
  }),
7607
- S(Wn, null, {
7622
+ S(Gn, null, {
7608
7623
  default: E(() => [
7609
7624
  S(yn),
7610
7625
  S(Ee, {
@@ -7639,10 +7654,10 @@ const Od = /* @__PURE__ */ De({
7639
7654
  _: 1
7640
7655
  }, 8, ["modelValue", "persistent"]));
7641
7656
  }
7642
- }), Rd = {
7657
+ }), Pd = {
7643
7658
  key: 0,
7644
7659
  class: "text-body-medium mb-3"
7645
- }, Pd = /* @__PURE__ */ De({
7660
+ }, Ld = /* @__PURE__ */ De({
7646
7661
  __name: "LeMoveToPositionDialog",
7647
7662
  props: /* @__PURE__ */ We({
7648
7663
  total: {},
@@ -7667,7 +7682,7 @@ const Od = /* @__PURE__ */ De({
7667
7682
  }, f = () => {
7668
7683
  l.value = !1;
7669
7684
  };
7670
- return (c, g) => ($(), Z(Gn, {
7685
+ return (c, g) => ($(), Z(Xn, {
7671
7686
  modelValue: l.value,
7672
7687
  "onUpdate:modelValue": g[1] || (g[1] = (h) => l.value = h),
7673
7688
  "max-width": "420",
@@ -7684,8 +7699,8 @@ const Od = /* @__PURE__ */ De({
7684
7699
  }),
7685
7700
  S(Na, null, {
7686
7701
  default: E(() => [
7687
- e.itemLabel ? ($(), le("p", Rd, oe(R(o)("common.sortable.moveToPosition.itemDescription", { label: e.itemLabel })), 1)) : ie("", !0),
7688
- S(Xn, {
7702
+ e.itemLabel ? ($(), le("p", Pd, oe(R(o)("common.sortable.moveToPosition.itemDescription", { label: e.itemLabel })), 1)) : ie("", !0),
7703
+ S(Zn, {
7689
7704
  modelValue: s.value,
7690
7705
  "onUpdate:modelValue": g[0] || (g[0] = (h) => s.value = h),
7691
7706
  modelModifiers: { number: !0 },
@@ -7701,12 +7716,12 @@ const Od = /* @__PURE__ */ De({
7701
7716
  autofocus: "",
7702
7717
  density: "comfortable",
7703
7718
  variant: "outlined",
7704
- onKeydown: xa(he(u, ["prevent"]), ["enter"])
7719
+ onKeydown: Aa(he(u, ["prevent"]), ["enter"])
7705
7720
  }, null, 8, ["modelValue", "max", "label", "hint", "error", "onKeydown"])
7706
7721
  ]),
7707
7722
  _: 1
7708
7723
  }),
7709
- S(Wn, null, {
7724
+ S(Gn, null, {
7710
7725
  default: E(() => [
7711
7726
  S(yn),
7712
7727
  S(Ee, {
@@ -7739,7 +7754,7 @@ const Od = /* @__PURE__ */ De({
7739
7754
  _: 1
7740
7755
  }, 8, ["modelValue"]));
7741
7756
  }
7742
- }), Ld = { class: "a-le-empty" }, Vd = { class: "a-le-empty-title" }, Nd = /* @__PURE__ */ De({
7757
+ }), Vd = { class: "a-le-empty" }, Nd = { class: "a-le-empty-title" }, Ud = /* @__PURE__ */ De({
7743
7758
  __name: "LeEmptyState",
7744
7759
  props: {
7745
7760
  title: {},
@@ -7749,8 +7764,8 @@ const Od = /* @__PURE__ */ De({
7749
7764
  emits: ["add"],
7750
7765
  setup(e) {
7751
7766
  const { t: n } = Oe();
7752
- return (t, a) => ($(), le("div", Ld, [
7753
- Ce("h3", Vd, oe(e.title), 1),
7767
+ return (t, a) => ($(), le("div", Vd, [
7768
+ Ce("h3", Nd, oe(e.title), 1),
7754
7769
  e.addLabel && e.canAdd ? ($(), Z(Ee, {
7755
7770
  key: 0,
7756
7771
  color: "primary",
@@ -7765,16 +7780,16 @@ const Od = /* @__PURE__ */ De({
7765
7780
  })) : ie("", !0)
7766
7781
  ]));
7767
7782
  }
7768
- }), Ud = { class: "a-le-toolbar-status" }, Yd = {
7783
+ }), Yd = { class: "a-le-toolbar-status" }, Hd = {
7769
7784
  key: 1,
7770
7785
  class: "text-body-small"
7771
- }, Hd = {
7786
+ }, zd = {
7772
7787
  key: 2,
7773
7788
  class: "text-body-small"
7774
- }, zd = {
7789
+ }, jd = {
7775
7790
  key: 3,
7776
7791
  class: "text-body-small text-medium-emphasis"
7777
- }, jd = /* @__PURE__ */ De({
7792
+ }, qd = /* @__PURE__ */ De({
7778
7793
  __name: "LeStatus",
7779
7794
  props: {
7780
7795
  hasPendingChanges: { type: Boolean },
@@ -7783,17 +7798,17 @@ const Od = /* @__PURE__ */ De({
7783
7798
  },
7784
7799
  setup(e) {
7785
7800
  const { t: n } = Oe();
7786
- return (t, a) => ($(), le("div", Ud, [
7801
+ return (t, a) => ($(), le("div", Yd, [
7787
7802
  e.hasPendingChanges ? ($(), Z(ke, {
7788
7803
  key: 0,
7789
7804
  icon: "mdi-circle-medium",
7790
7805
  color: "warning",
7791
7806
  size: "18"
7792
7807
  })) : ie("", !0),
7793
- e.error ? ($(), le("span", Yd, oe(e.error), 1)) : e.hasPendingChanges ? ($(), le("span", Hd, oe(R(n)("common.sortable.pendingChanges", { count: e.pendingCount })), 1)) : ($(), le("span", zd, oe(R(n)("common.sortable.noPendingChanges")), 1))
7808
+ e.error ? ($(), le("span", Hd, oe(e.error), 1)) : e.hasPendingChanges ? ($(), le("span", zd, oe(R(n)("common.sortable.pendingChanges", { count: e.pendingCount })), 1)) : ($(), le("span", jd, oe(R(n)("common.sortable.noPendingChanges")), 1))
7794
7809
  ]));
7795
7810
  }
7796
- }), qd = ["title"], Kd = /* @__PURE__ */ De({
7811
+ }), Kd = ["title"], Wd = /* @__PURE__ */ De({
7797
7812
  __name: "LeUnsavedLabel",
7798
7813
  props: {
7799
7814
  label: { default: null },
@@ -7812,9 +7827,9 @@ const Od = /* @__PURE__ */ De({
7812
7827
  e.dotOnly ? ie("", !0) : ($(), le(Ye, { key: 0 }, [
7813
7828
  ce(oe(e.label ?? R(n)("common.sortable.unsaved")), 1)
7814
7829
  ], 64))
7815
- ], 10, qd));
7830
+ ], 10, Kd));
7816
7831
  }
7817
- }), Wd = /* @__PURE__ */ De({
7832
+ }), Gd = /* @__PURE__ */ De({
7818
7833
  __name: "LeDragHandle",
7819
7834
  setup(e) {
7820
7835
  return (n, t) => ($(), Z(ke, {
@@ -7823,41 +7838,41 @@ const Od = /* @__PURE__ */ De({
7823
7838
  size: "20"
7824
7839
  }));
7825
7840
  }
7826
- }), Gd = "a-le-row--ghost", Xd = "a-le-row--chosen", Zd = "a-le-row--drag", Jd = { class: "a-le-card" }, Qd = {
7841
+ }), Xd = "a-le-row--ghost", Zd = "a-le-row--chosen", Jd = "a-le-row--drag", Qd = { class: "a-le-card" }, ef = {
7827
7842
  key: 0,
7828
7843
  class: "a-le-header"
7829
- }, ef = {
7844
+ }, tf = {
7830
7845
  key: 0,
7831
7846
  class: "a-le-title-heading"
7832
- }, tf = { class: "a-le-header-actions" }, nf = {
7847
+ }, nf = { class: "a-le-header-actions" }, af = {
7833
7848
  key: 1,
7834
7849
  class: "a-le-state a-le-state--loading"
7835
- }, af = {
7850
+ }, of = {
7836
7851
  key: 2,
7837
7852
  class: "a-le-state a-le-state--error"
7838
- }, of = {
7853
+ }, lf = {
7839
7854
  key: 3,
7840
7855
  class: "a-le-view-body"
7841
- }, lf = {
7856
+ }, rf = {
7842
7857
  key: 4,
7843
7858
  class: "a-le-state a-le-state--empty"
7844
- }, rf = ["data-id", "tabindex", "onKeydown"], sf = ["onClick"], uf = { class: "a-le-row-main" }, cf = { class: "a-le-title" }, df = {
7859
+ }, sf = ["data-id", "tabindex", "onKeydown"], uf = ["onClick"], cf = { class: "a-le-row-main" }, df = { class: "a-le-title" }, ff = {
7845
7860
  key: 1,
7846
7861
  class: "a-le-status"
7847
- }, ff = {
7862
+ }, mf = {
7848
7863
  key: 0,
7849
7864
  class: "a-le-status-badge"
7850
- }, mf = { class: "a-le-actions" }, vf = { class: "a-le-row-body" }, pf = { class: "a-le-form" }, hf = {
7865
+ }, vf = { class: "a-le-actions" }, pf = { class: "a-le-row-body" }, hf = { class: "a-le-form" }, gf = {
7851
7866
  key: 0,
7852
7867
  class: "a-le-row-footer"
7853
- }, gf = {
7868
+ }, yf = {
7854
7869
  key: 1,
7855
7870
  class: "a-le-row-body"
7856
- }, yf = { class: "a-le-form" }, bf = {
7871
+ }, bf = { class: "a-le-form" }, wf = {
7857
7872
  class: "a-le-sr-only",
7858
7873
  "aria-live": "polite",
7859
7874
  role: "status"
7860
- }, sv = /* @__PURE__ */ De({
7875
+ }, iv = /* @__PURE__ */ De({
7861
7876
  __name: "ASortableListEditor",
7862
7877
  props: /* @__PURE__ */ We({
7863
7878
  factory: { type: Function, default: void 0 },
@@ -7865,6 +7880,7 @@ const Od = /* @__PURE__ */ De({
7865
7880
  position: { type: [String, Boolean, Object], default: void 0 },
7866
7881
  dirtyExclude: { default: void 0 },
7867
7882
  validate: { type: Function, default: void 0 },
7883
+ validationScope: { type: [String, Number, Symbol, Boolean], default: void 0 },
7868
7884
  editor: { default: void 0 },
7869
7885
  readonly: { type: Boolean, default: !1 },
7870
7886
  disabled: { type: Boolean, default: !1 },
@@ -7924,7 +7940,7 @@ const Od = /* @__PURE__ */ De({
7924
7940
  raw: w,
7925
7941
  position: w[v.value]
7926
7942
  }))
7927
- ), m = Y(/* @__PURE__ */ new Set()), p = Y(/* @__PURE__ */ new Set()), x = Ta(null), _ = At("rowsContainer"), A = L(() => !a.chips && !!i.item), b = L(() => !a.chips && !!i["item-readonly"]), {
7943
+ ), m = Y(/* @__PURE__ */ new Set()), p = Y(/* @__PURE__ */ new Set()), x = xa(null), _ = At("rowsContainer"), A = L(() => !a.chips && !!i.item), b = L(() => !a.chips && !!i["item-readonly"]), {
7928
7944
  editingKeys: F,
7929
7945
  editingSnapshots: K,
7930
7946
  clearEditing: I,
@@ -7957,7 +7973,7 @@ const Od = /* @__PURE__ */ De({
7957
7973
  enterReorderMode: Be,
7958
7974
  cancelReorderMode: xe,
7959
7975
  applyReorder: te
7960
- } = _d({
7976
+ } = Od({
7961
7977
  mode: s,
7962
7978
  snapshot: x,
7963
7979
  movedKeys: p,
@@ -7996,7 +8012,7 @@ const Od = /* @__PURE__ */ De({
7996
8012
  const w = re(Vl, null);
7997
8013
  if (w) {
7998
8014
  const G = /* @__PURE__ */ Symbol("le.embedded");
7999
- w.register(G, ve, se, () => Ko()), Fo(() => w.unregister(G));
8015
+ w.register(G, ve, se, () => Za()), Bo(() => w.unregister(G));
8000
8016
  }
8001
8017
  }
8002
8018
  const P = L(() => {
@@ -8027,12 +8043,12 @@ const Od = /* @__PURE__ */ De({
8027
8043
  () => !!(a.title || i.header || i["reorder-toggle"] || i["view-body"])
8028
8044
  ), _t = L(() => !!a.onItemSave), Ot = (w) => {
8029
8045
  p.value.add(w);
8030
- }, ra = /* @__PURE__ */ new Map(), Rt = L(() => {
8046
+ }, sa = /* @__PURE__ */ new Map(), Rt = L(() => {
8031
8047
  const w = o.value.length, G = [], j = /* @__PURE__ */ new Set();
8032
8048
  for (const de of d.value) {
8033
8049
  j.add(de.key);
8034
- const mt = F.value.has(de.key), Lt = m.value.has(de.key), el = a.loadingKeys?.has(de.key) ?? !1, tl = p.value.has(de.key), no = a.readonly ? !1 : g.isUnsaved(de.key), nl = no, al = g.rowState(de.raw, de.key), ol = de.index > 0, ll = de.index < w - 1, nt = ra.get(de.key);
8035
- if (nt && nt.raw === de.raw && nt.index === de.index && nt.position === de.position && nt.editing === mt && nt.expanded === Lt && nt.loading === el && nt.dirty === nl && nt.moved === tl && nt.unsaved === no && nt.validationState === al && nt.canMoveUp === ol && nt.canMoveDown === ll) {
8050
+ const mt = F.value.has(de.key), Lt = m.value.has(de.key), el = a.loadingKeys?.has(de.key) ?? !1, tl = p.value.has(de.key), ao = a.readonly ? !1 : g.isUnsaved(de.key), nl = ao, al = g.rowState(de.raw, de.key), ol = de.index > 0, ll = de.index < w - 1, nt = sa.get(de.key);
8051
+ if (nt && nt.raw === de.raw && nt.index === de.index && nt.position === de.position && nt.editing === mt && nt.expanded === Lt && nt.loading === el && nt.dirty === nl && nt.moved === tl && nt.unsaved === ao && nt.validationState === al && nt.canMoveUp === ol && nt.canMoveDown === ll) {
8036
8052
  G.push(nt);
8037
8053
  continue;
8038
8054
  }
@@ -8043,27 +8059,33 @@ const Od = /* @__PURE__ */ De({
8043
8059
  loading: el,
8044
8060
  dirty: nl,
8045
8061
  moved: tl,
8046
- unsaved: no,
8062
+ unsaved: ao,
8047
8063
  validationState: al,
8048
8064
  canMoveUp: ol,
8049
8065
  canMoveDown: ll
8050
8066
  };
8051
- ra.set(de.key, rl), G.push(rl);
8067
+ sa.set(de.key, rl), G.push(rl);
8052
8068
  }
8053
- for (const de of ra.keys())
8054
- j.has(de) || ra.delete(de);
8069
+ for (const de of sa.keys())
8070
+ j.has(de) || sa.delete(de);
8055
8071
  return G;
8056
- }), qo = L(() => Rt.value.length === 0), Ke = (w) => Rt.value.find((G) => G.key === w), _r = (w) => {
8072
+ }), Ko = L(() => Rt.value.length === 0), Ke = (w) => Rt.value.find((G) => G.key === w), _r = (w) => {
8057
8073
  if (!A.value) return;
8058
8074
  const G = Ke(w);
8059
8075
  G && V(G);
8060
8076
  }, Or = () => {
8061
8077
  if (A.value)
8062
8078
  for (const w of Rt.value) V(w);
8063
- }, Ko = () => Bd(g, (w) => {
8079
+ }, Za = () => Bd(g, (w) => {
8064
8080
  const G = d.value.find((j) => j.key === w);
8065
8081
  G && V(G);
8066
- }), nn = Sd({
8082
+ });
8083
+ _d({
8084
+ hasErrors: g.hasErrors,
8085
+ validationScope: a.validationScope,
8086
+ reveal: Za
8087
+ });
8088
+ const nn = Sd({
8067
8089
  viewItems: L(() => Rt.value.map((w) => ({ key: w.key }))),
8068
8090
  variant: "sortable",
8069
8091
  isReorderMode: ue,
@@ -8071,33 +8093,33 @@ const Od = /* @__PURE__ */ De({
8071
8093
  isEditing: (w) => F.value.has(w),
8072
8094
  onToggleEdit: (w) => {
8073
8095
  const G = Ke(w);
8074
- G && sa(G);
8096
+ G && ia(G);
8075
8097
  },
8076
8098
  onCancelEdit: (w) => {
8077
8099
  const G = Ke(w);
8078
- G && ua(G);
8100
+ G && ca(G);
8079
8101
  },
8080
8102
  onMoveUp: (w) => {
8081
8103
  const G = Ke(w);
8082
- G && da(G.index);
8104
+ G && fa(G.index);
8083
8105
  },
8084
8106
  onMoveDown: (w) => {
8085
8107
  const G = Ke(w);
8086
- G && fa(G.index);
8108
+ G && ma(G.index);
8087
8109
  },
8088
8110
  onMoveTop: (w) => {
8089
8111
  const G = Ke(w);
8090
- G && eo(G.index);
8112
+ G && to(G.index);
8091
8113
  },
8092
8114
  onMoveBottom: (w) => {
8093
8115
  const G = Ke(w);
8094
- G && to(G.index);
8116
+ G && no(G.index);
8095
8117
  },
8096
8118
  onCancelReorder: () => xe()
8097
- }), Za = Y(!1), an = Ta(null), Rr = L(
8119
+ }), Ja = Y(!1), an = xa(null), Rr = L(
8098
8120
  () => an.value ? Wo(an.value.raw) : ""
8099
8121
  ), Pr = (w) => {
8100
- a.showMoveToPosition && (an.value = w, Za.value = !0);
8122
+ a.showMoveToPosition && (an.value = w, Ja.value = !0);
8101
8123
  }, Lr = (w) => {
8102
8124
  const G = an.value;
8103
8125
  an.value = null, G && w !== G.index && (g.moveItem(G.index, w), Ot(G.key));
@@ -8117,9 +8139,9 @@ const Od = /* @__PURE__ */ De({
8117
8139
  forceFallback: !0,
8118
8140
  fallbackTolerance: 3,
8119
8141
  fallbackOnBody: !0,
8120
- ghostClass: Gd,
8121
- chosenClass: Xd,
8122
- dragClass: Zd,
8142
+ ghostClass: Xd,
8143
+ chosenClass: Zd,
8144
+ dragClass: Jd,
8123
8145
  disabled: !W.value,
8124
8146
  // Own `onUpdate` REPLACES vueuse's default array-move, which moved the array
8125
8147
  // and renumbered positions in separate `nextTick`s — a gap that let a
@@ -8144,12 +8166,12 @@ const Od = /* @__PURE__ */ De({
8144
8166
  }
8145
8167
  const xn = () => {
8146
8168
  X.value && (k(), g.addItem(void 0, void 0));
8147
- }, Ja = (w) => {
8169
+ }, Qa = (w) => {
8148
8170
  C.value && (k(), g.addItem(void 0, { afterId: w.key }));
8149
- }, sa = (w) => {
8171
+ }, ia = (w) => {
8150
8172
  if (C.value && !(ue.value && !a.allowEditInReorder)) {
8151
8173
  if (F.value.has(w.key)) {
8152
- ua(w);
8174
+ ca(w);
8153
8175
  return;
8154
8176
  }
8155
8177
  A.value && (V(w), m.value.delete(w.key)), l("edit", w);
@@ -8167,13 +8189,13 @@ const Od = /* @__PURE__ */ De({
8167
8189
  }, Xo = (w) => a.chips || a.disableRowClick || a.disabled || a.loading || ue.value && !a.allowEditInReorder ? !1 : !!(w.editing || w.expanded || !a.readonly && a.showEditButton), Vr = (w) => {
8168
8190
  if (Xo(w)) {
8169
8191
  if (w.editing || w.expanded) {
8170
- ua(w);
8192
+ ca(w);
8171
8193
  return;
8172
8194
  }
8173
- a.readonly && b.value ? Go(w) : sa(w);
8195
+ a.readonly && b.value ? Go(w) : ia(w);
8174
8196
  }
8175
8197
  }, {
8176
- deleteDialog: Qa,
8198
+ deleteDialog: eo,
8177
8199
  deleteInFlight: Nr,
8178
8200
  deleteError: Ur,
8179
8201
  onDeleteClick: Yr,
@@ -8186,39 +8208,39 @@ const Od = /* @__PURE__ */ De({
8186
8208
  F.value.delete(w.key), K.value.delete(w.key), m.value.delete(w.key), p.value.delete(w.key), g.deleteItem(w.key), l("deleted", w);
8187
8209
  },
8188
8210
  disableDeleteConfirm: () => a.disableDeleteConfirm || a.chips
8189
- }), ia = async (w) => {
8211
+ }), ua = async (w) => {
8190
8212
  C.value && await Yr(w);
8191
8213
  }, Zo = async (w) => {
8192
8214
  a.onItemSave && await a.onItemSave(w.raw), N(w), l("item-saved", w);
8193
8215
  }, Jo = (w) => {
8194
8216
  q(w);
8195
- }, ua = (w) => {
8196
- B(w), m.value.delete(w.key), l("close", w);
8197
8217
  }, ca = (w) => {
8218
+ B(w), m.value.delete(w.key), l("close", w);
8219
+ }, da = (w) => {
8198
8220
  const G = o.value[w];
8199
8221
  return G ? T(G) : null;
8200
- }, da = (w) => {
8222
+ }, fa = (w) => {
8201
8223
  if (w <= 0) return;
8202
- const G = ca(w);
8224
+ const G = da(w);
8203
8225
  g.moveItem(w, w - 1), G !== null && Ot(G);
8204
- }, fa = (w) => {
8226
+ }, ma = (w) => {
8205
8227
  if (w >= o.value.length - 1) return;
8206
- const G = ca(w);
8228
+ const G = da(w);
8207
8229
  g.moveItem(w, w + 1), G !== null && Ot(G);
8208
- }, eo = (w) => {
8230
+ }, to = (w) => {
8209
8231
  if (w <= 0) return;
8210
- const G = ca(w);
8232
+ const G = da(w);
8211
8233
  g.moveItem(w, 0), G !== null && Ot(G);
8212
- }, to = (w) => {
8234
+ }, no = (w) => {
8213
8235
  if (w >= o.value.length - 1) return;
8214
- const G = ca(w);
8236
+ const G = da(w);
8215
8237
  g.moveItem(w, o.value.length - 1), G !== null && Ot(G);
8216
8238
  }, An = /* @__PURE__ */ new Map(), jr = (w) => {
8217
8239
  let G = An.get(w);
8218
8240
  return G || (G = {
8219
8241
  edit: () => {
8220
8242
  const j = Ke(w);
8221
- j && sa(j);
8243
+ j && ia(j);
8222
8244
  },
8223
8245
  save: () => {
8224
8246
  const j = Ke(w);
@@ -8230,15 +8252,15 @@ const Od = /* @__PURE__ */ De({
8230
8252
  },
8231
8253
  close: () => {
8232
8254
  const j = Ke(w);
8233
- j && ua(j);
8255
+ j && ca(j);
8234
8256
  },
8235
8257
  delete: async () => {
8236
8258
  const j = Ke(w);
8237
- j && await ia(j);
8259
+ j && await ua(j);
8238
8260
  },
8239
8261
  addAfter: () => {
8240
8262
  const j = Ke(w);
8241
- j && Ja(j);
8263
+ j && Qa(j);
8242
8264
  },
8243
8265
  toggleExpand: () => {
8244
8266
  const j = Ke(w);
@@ -8246,19 +8268,19 @@ const Od = /* @__PURE__ */ De({
8246
8268
  },
8247
8269
  moveUp: () => {
8248
8270
  const j = Ke(w);
8249
- j && da(j.index);
8271
+ j && fa(j.index);
8250
8272
  },
8251
8273
  moveDown: () => {
8252
8274
  const j = Ke(w);
8253
- j && fa(j.index);
8275
+ j && ma(j.index);
8254
8276
  },
8255
8277
  moveTop: () => {
8256
8278
  const j = Ke(w);
8257
- j && eo(j.index);
8279
+ j && to(j.index);
8258
8280
  },
8259
8281
  moveBottom: () => {
8260
8282
  const j = Ke(w);
8261
- j && to(j.index);
8283
+ j && no(j.index);
8262
8284
  },
8263
8285
  update: (j) => g.updateItem(w, j)
8264
8286
  }, An.set(w, G)), G;
@@ -8325,7 +8347,7 @@ const Od = /* @__PURE__ */ De({
8325
8347
  // B4-17). The body is gated on `editing` (not `expanded`), so drive `beginEdit`.
8326
8348
  // Shared with AListEditor + ANestedSortableListEditor via the helper.
8327
8349
  validateAll: () => {
8328
- const w = Ko();
8350
+ const w = Za();
8329
8351
  if (!H) return w;
8330
8352
  let G = w;
8331
8353
  for (const j of H.values())
@@ -8352,13 +8374,13 @@ const Od = /* @__PURE__ */ De({
8352
8374
  }
8353
8375
  ]])
8354
8376
  }, [
8355
- Ce("div", Jd, [
8356
- Ae.value ? ($(), le("div", Qd, [
8377
+ Ce("div", Qd, [
8378
+ Ae.value ? ($(), le("div", ef, [
8357
8379
  pe(w.$slots, "header", Ne({ title: e.title }, Qo.value), () => [
8358
- e.title ? ($(), le("h3", ef, oe(e.title), 1)) : ie("", !0),
8359
- Ce("div", tf, [
8380
+ e.title ? ($(), le("h3", tf, oe(e.title), 1)) : ie("", !0),
8381
+ Ce("div", nf, [
8360
8382
  R(ue) && !e.embedded ? pe(w.$slots, "reorder-toolbar", il(Ne({ key: 0 }, qr.value)), () => [
8361
- S(jd, {
8383
+ S(qd, {
8362
8384
  class: Ze({ "a-le-toolbar-status--pending": U.value }),
8363
8385
  "has-pending-changes": U.value,
8364
8386
  "pending-count": P.value,
@@ -8429,13 +8451,13 @@ const Od = /* @__PURE__ */ De({
8429
8451
  ])
8430
8452
  ])
8431
8453
  ])) : ie("", !0),
8432
- e.loading ? ($(), le("div", nf, [
8433
- S(Bo, {
8454
+ e.loading ? ($(), le("div", af, [
8455
+ S(_o, {
8434
8456
  indeterminate: "",
8435
8457
  color: "primary",
8436
8458
  size: "32"
8437
8459
  })
8438
- ])) : e.error ? ($(), le("div", af, [
8460
+ ])) : e.error ? ($(), le("div", of, [
8439
8461
  S(ql, {
8440
8462
  type: "error",
8441
8463
  variant: "tonal",
@@ -8447,19 +8469,19 @@ const Od = /* @__PURE__ */ De({
8447
8469
  ]),
8448
8470
  _: 1
8449
8471
  })
8450
- ])) : !R(ue) && w.$slots["view-body"] ? ($(), le("div", of, [
8472
+ ])) : !R(ue) && w.$slots["view-body"] ? ($(), le("div", lf, [
8451
8473
  pe(w.$slots, "view-body", {
8452
8474
  items: o.value,
8453
8475
  mode: s.value,
8454
8476
  actions: { enterReorderMode: R(Be) }
8455
8477
  })
8456
- ])) : qo.value ? ($(), le("div", lf, [
8478
+ ])) : Ko.value ? ($(), le("div", rf, [
8457
8479
  pe(w.$slots, "empty", {
8458
8480
  readonly: e.readonly,
8459
8481
  disabled: e.disabled,
8460
8482
  actions: { add: xn }
8461
8483
  }, () => [
8462
- S(Nd, {
8484
+ S(Ud, {
8463
8485
  title: ge.value,
8464
8486
  "add-label": ne.value,
8465
8487
  "can-add": X.value,
@@ -8497,22 +8519,22 @@ const Od = /* @__PURE__ */ De({
8497
8519
  class: "a-le-row-header",
8498
8520
  onClick: (de) => Vr(j)
8499
8521
  }, [
8500
- W.value ? ($(), Z(Wd, { key: 0 })) : ie("", !0),
8501
- Ce("div", uf, [
8522
+ W.value ? ($(), Z(Gd, { key: 0 })) : ie("", !0),
8523
+ Ce("div", cf, [
8502
8524
  pe(w.$slots, "item-compact", Ne({ ref_for: !0 }, Pt(j)), () => [
8503
- Ce("span", cf, oe(Wo(j.raw)), 1)
8525
+ Ce("span", df, oe(Wo(j.raw)), 1)
8504
8526
  ]),
8505
- j.unsaved ? ($(), Z(Kd, {
8527
+ j.unsaved ? ($(), Z(Wd, {
8506
8528
  key: 0,
8507
8529
  "dot-only": e.chips
8508
8530
  }, null, 8, ["dot-only"])) : ie("", !0)
8509
8531
  ]),
8510
- !e.chips && !R(ue) ? ($(), le("div", df, [
8532
+ !e.chips && !R(ue) ? ($(), le("div", ff, [
8511
8533
  pe(w.$slots, "item-status", Ne({ ref_for: !0 }, Pt(j)), () => [
8512
- e.statusField && j.raw[e.statusField] != null && j.raw[e.statusField] !== "" ? ($(), le("span", ff, oe(j.raw[e.statusField]), 1)) : ie("", !0)
8534
+ e.statusField && j.raw[e.statusField] != null && j.raw[e.statusField] !== "" ? ($(), le("span", mf, oe(j.raw[e.statusField]), 1)) : ie("", !0)
8513
8535
  ])
8514
8536
  ])) : ie("", !0),
8515
- Ce("div", mf, [
8537
+ Ce("div", vf, [
8516
8538
  pe(w.$slots, "item-actions", Ne({ ref_for: !0 }, Pt(j)), () => [
8517
8539
  e.chips && C.value ? ($(), le(Ye, { key: 0 }, [
8518
8540
  R(c) && !e.disableReorder ? ($(), le(Ye, { key: 0 }, [
@@ -8524,7 +8546,7 @@ const Od = /* @__PURE__ */ De({
8524
8546
  active: !1,
8525
8547
  disabled: !j.canMoveUp,
8526
8548
  class: "a-le-action a-le-action--up",
8527
- onClick: he((de) => da(j.index), ["stop"])
8549
+ onClick: he((de) => fa(j.index), ["stop"])
8528
8550
  }, {
8529
8551
  default: E(() => [
8530
8552
  S(ke, {
@@ -8542,7 +8564,7 @@ const Od = /* @__PURE__ */ De({
8542
8564
  active: !1,
8543
8565
  disabled: !j.canMoveDown,
8544
8566
  class: "a-le-action a-le-action--down",
8545
- onClick: he((de) => fa(j.index), ["stop"])
8567
+ onClick: he((de) => ma(j.index), ["stop"])
8546
8568
  }, {
8547
8569
  default: E(() => [
8548
8570
  S(ke, {
@@ -8561,7 +8583,7 @@ const Od = /* @__PURE__ */ De({
8561
8583
  density: "compact",
8562
8584
  active: !1,
8563
8585
  class: "a-le-action a-le-action--chip-close",
8564
- onClick: he((de) => ia(j), ["stop"])
8586
+ onClick: he((de) => ua(j), ["stop"])
8565
8587
  }, {
8566
8588
  default: E(() => [
8567
8589
  S(ke, {
@@ -8579,7 +8601,7 @@ const Od = /* @__PURE__ */ De({
8579
8601
  density: "comfortable",
8580
8602
  disabled: !j.canMoveUp,
8581
8603
  class: "mx-1 a-le-action a-le-action--up",
8582
- onClick: he((de) => da(j.index), ["stop"])
8604
+ onClick: he((de) => fa(j.index), ["stop"])
8583
8605
  }, {
8584
8606
  default: E(() => [
8585
8607
  S(ke, {
@@ -8601,7 +8623,7 @@ const Od = /* @__PURE__ */ De({
8601
8623
  density: "comfortable",
8602
8624
  disabled: !j.canMoveDown,
8603
8625
  class: "mx-1 a-le-action a-le-action--down",
8604
- onClick: he((de) => fa(j.index), ["stop"])
8626
+ onClick: he((de) => ma(j.index), ["stop"])
8605
8627
  }, {
8606
8628
  default: E(() => [
8607
8629
  S(ke, {
@@ -8634,13 +8656,13 @@ const Od = /* @__PURE__ */ De({
8634
8656
  location: "bottom",
8635
8657
  text: R(r)("common.sortable.more")
8636
8658
  }, null, 8, ["text"]),
8637
- S(jn, { activator: "parent" }, {
8659
+ S(qn, { activator: "parent" }, {
8638
8660
  default: E(() => [
8639
- S(Aa, { density: "compact" }, {
8661
+ S(Ma, { density: "compact" }, {
8640
8662
  default: E(() => [
8641
8663
  S(ot, {
8642
8664
  disabled: !j.canMoveUp,
8643
- onClick: he((de) => eo(j.index), ["stop"])
8665
+ onClick: he((de) => to(j.index), ["stop"])
8644
8666
  }, {
8645
8667
  prepend: E(() => [
8646
8668
  S(ke, { icon: "mdi-arrow-collapse-up" })
@@ -8657,7 +8679,7 @@ const Od = /* @__PURE__ */ De({
8657
8679
  }, 8, ["disabled", "onClick"]),
8658
8680
  S(ot, {
8659
8681
  disabled: !j.canMoveDown,
8660
- onClick: he((de) => to(j.index), ["stop"])
8682
+ onClick: he((de) => no(j.index), ["stop"])
8661
8683
  }, {
8662
8684
  prepend: E(() => [
8663
8685
  S(ke, { icon: "mdi-arrow-collapse-down" })
@@ -8691,7 +8713,7 @@ const Od = /* @__PURE__ */ De({
8691
8713
  }, 8, ["onClick"])) : ie("", !0),
8692
8714
  e.showAddAfterAction && C.value ? ($(), Z(ot, {
8693
8715
  key: 1,
8694
- onClick: (de) => Ja(j)
8716
+ onClick: (de) => Qa(j)
8695
8717
  }, {
8696
8718
  prepend: E(() => [
8697
8719
  S(ke, { icon: "mdi-plus" })
@@ -8708,7 +8730,7 @@ const Od = /* @__PURE__ */ De({
8708
8730
  }, 8, ["onClick"])) : ie("", !0),
8709
8731
  e.showDeleteButton && C.value ? ($(), Z(ot, {
8710
8732
  key: 2,
8711
- onClick: he((de) => ia(j), ["stop"])
8733
+ onClick: he((de) => ua(j), ["stop"])
8712
8734
  }, {
8713
8735
  prepend: E(() => [
8714
8736
  S(ke, { icon: "mdi-trash-can-outline" })
@@ -8741,7 +8763,7 @@ const Od = /* @__PURE__ */ De({
8741
8763
  color: "primary",
8742
8764
  density: "comfortable",
8743
8765
  class: "mx-1 a-le-action a-le-action--edit",
8744
- onClick: he((de) => sa(j), ["stop"])
8766
+ onClick: he((de) => ia(j), ["stop"])
8745
8767
  }, {
8746
8768
  default: E(() => [
8747
8769
  S(ke, {
@@ -8763,7 +8785,7 @@ const Od = /* @__PURE__ */ De({
8763
8785
  variant: "text",
8764
8786
  density: "comfortable",
8765
8787
  class: "mx-1 a-le-action a-le-action--delete",
8766
- onClick: he((de) => ia(j), ["stop"])
8788
+ onClick: he((de) => ua(j), ["stop"])
8767
8789
  }, {
8768
8790
  default: E(() => [
8769
8791
  S(ke, {
@@ -8797,12 +8819,12 @@ const Od = /* @__PURE__ */ De({
8797
8819
  location: "bottom",
8798
8820
  text: R(r)("common.sortable.more")
8799
8821
  }, null, 8, ["text"]),
8800
- S(jn, { activator: "parent" }, {
8822
+ S(qn, { activator: "parent" }, {
8801
8823
  default: E(() => [
8802
- S(Aa, { density: "compact" }, {
8824
+ S(Ma, { density: "compact" }, {
8803
8825
  default: E(() => [
8804
8826
  S(ot, {
8805
- onClick: (de) => Ja(j)
8827
+ onClick: (de) => Qa(j)
8806
8828
  }, {
8807
8829
  prepend: E(() => [
8808
8830
  S(ke, { icon: "mdi-plus" })
@@ -8829,15 +8851,15 @@ const Od = /* @__PURE__ */ De({
8829
8851
  ], 64))
8830
8852
  ])
8831
8853
  ])
8832
- ], 8, sf),
8854
+ ], 8, uf),
8833
8855
  j.editing && (e.allowEditInReorder || !R(ue)) && w.$slots.item ? ($(), le(Ye, { key: 0 }, [
8834
- Ce("div", vf, [
8835
- Ce("div", pf, [
8856
+ Ce("div", pf, [
8857
+ Ce("div", hf, [
8836
8858
  pe(w.$slots, "item", Ne({ ref_for: !0 }, Pt(j)))
8837
8859
  ])
8838
8860
  ]),
8839
8861
  pe(w.$slots, "item-footer", Ne({ ref_for: !0 }, Pt(j)), () => [
8840
- _t.value && !R(ue) ? ($(), le("div", hf, [
8862
+ _t.value && !R(ue) ? ($(), le("div", gf, [
8841
8863
  G[2] || (G[2] = Ce("div", { class: "a-le-row-footer-spacer" }, null, -1)),
8842
8864
  S(Ee, {
8843
8865
  variant: "text",
@@ -8863,16 +8885,16 @@ const Od = /* @__PURE__ */ De({
8863
8885
  }, 8, ["disabled", "onClick"])
8864
8886
  ])) : ie("", !0)
8865
8887
  ])
8866
- ], 64)) : w.$slots["item-readonly"] && (e.readonly || j.expanded) && (e.allowEditInReorder || !R(ue)) ? ($(), le("div", gf, [
8867
- Ce("div", yf, [
8888
+ ], 64)) : w.$slots["item-readonly"] && (e.readonly || j.expanded) && (e.allowEditInReorder || !R(ue)) ? ($(), le("div", yf, [
8889
+ Ce("div", bf, [
8868
8890
  pe(w.$slots, "item-readonly", Ne({ ref_for: !0 }, Pt(j)))
8869
8891
  ])
8870
8892
  ])) : ie("", !0)
8871
- ], 42, rf),
8893
+ ], 42, sf),
8872
8894
  pe(w.$slots, "after-item", Ne({ ref_for: !0 }, Pt(j)))
8873
8895
  ]))), 128))
8874
8896
  ], 512)),
8875
- X.value && !e.loading && !e.error && !qo.value ? pe(w.$slots, "add-button", {
8897
+ X.value && !e.loading && !e.error && !Ko.value ? pe(w.$slots, "add-button", {
8876
8898
  key: 6,
8877
8899
  readonly: e.readonly,
8878
8900
  disabled: e.disabled,
@@ -8892,17 +8914,17 @@ const Od = /* @__PURE__ */ De({
8892
8914
  ])
8893
8915
  ]) : ie("", !0)
8894
8916
  ]),
8895
- S(Pd, {
8896
- modelValue: Za.value,
8897
- "onUpdate:modelValue": G[0] || (G[0] = (j) => Za.value = j),
8917
+ S(Ld, {
8918
+ modelValue: Ja.value,
8919
+ "onUpdate:modelValue": G[0] || (G[0] = (j) => Ja.value = j),
8898
8920
  total: Rt.value.length,
8899
8921
  "current-index": an.value?.index ?? 0,
8900
8922
  "item-label": Rr.value,
8901
8923
  onConfirm: Lr
8902
8924
  }, null, 8, ["modelValue", "total", "current-index", "item-label"]),
8903
- S(Od, {
8904
- modelValue: R(Qa),
8905
- "onUpdate:modelValue": G[1] || (G[1] = (j) => La(Qa) ? Qa.value = j : null),
8925
+ S(Rd, {
8926
+ modelValue: R(eo),
8927
+ "onUpdate:modelValue": G[1] || (G[1] = (j) => La(eo) ? eo.value = j : null),
8906
8928
  title: Re.value,
8907
8929
  text: Bt.value,
8908
8930
  "confirm-label": R(r)("common.sortable.delete"),
@@ -8912,19 +8934,19 @@ const Od = /* @__PURE__ */ De({
8912
8934
  onConfirm: R(Hr),
8913
8935
  onCancel: R(zr)
8914
8936
  }, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
8915
- Ce("div", bf, oe(R(nn).grabbedKey.value !== null ? R(r)("common.sortable.keyboardGrab.status", {
8937
+ Ce("div", wf, oe(R(nn).grabbedKey.value !== null ? R(r)("common.sortable.keyboardGrab.status", {
8916
8938
  n: R(nn).grabbedIndex.value + 1,
8917
8939
  total: R(nn).totalCount.value
8918
8940
  }) : ""), 1)
8919
8941
  ], 2));
8920
8942
  }
8921
- }), wf = {
8943
+ }), Cf = {
8922
8944
  key: 0,
8923
8945
  class: "font-italic pl-1"
8924
- }, Cf = {
8946
+ }, Sf = {
8925
8947
  key: 0,
8926
8948
  class: "required"
8927
- }, Sf = 300, iv = /* @__PURE__ */ De({
8949
+ }, kf = 300, uv = /* @__PURE__ */ De({
8928
8950
  __name: "AFormRemoteAutocomplete",
8929
8951
  props: /* @__PURE__ */ We({
8930
8952
  label: { default: void 0 },
@@ -9110,7 +9132,7 @@ const Od = /* @__PURE__ */ De({
9110
9132
  _.value++, te(ee, _.value), l("searchChangeDebounced", ee);
9111
9133
  }
9112
9134
  },
9113
- { debounce: Sf }
9135
+ { debounce: kf }
9114
9136
  ), Te(m, (ee, be) => {
9115
9137
  ee !== be && l("searchChange", ee);
9116
9138
  });
@@ -9145,7 +9167,7 @@ const Od = /* @__PURE__ */ De({
9145
9167
  { immediate: !0 }
9146
9168
  ), n({
9147
9169
  tryLoadModelValue: Be
9148
- }), (ee, be) => ($(), Z(Kn, {
9170
+ }), (ee, be) => ($(), Z(Wn, {
9149
9171
  "model-value": x.value,
9150
9172
  items: O.value,
9151
9173
  "no-filter": "",
@@ -9185,7 +9207,7 @@ const Od = /* @__PURE__ */ De({
9185
9207
  }, {
9186
9208
  default: E(() => [
9187
9209
  ce(oe(Fe.raw.title) + " ", 1),
9188
- Fe.raw.subtitle ? ($(), le("span", wf, " (" + oe(Fe.raw.subtitle) + ") ", 1)) : ie("", !0)
9210
+ Fe.raw.subtitle ? ($(), le("span", Cf, " (" + oe(Fe.raw.subtitle) + ") ", 1)) : ie("", !0)
9189
9211
  ]),
9190
9212
  _: 2
9191
9213
  }, 1032, ["closable", "text", "disabled", "onClick:close"])
@@ -9195,7 +9217,7 @@ const Od = /* @__PURE__ */ De({
9195
9217
  key: q.value + ""
9196
9218
  }, [
9197
9219
  ce(oe(V.value) + " ", 1),
9198
- q.value ? ($(), le("span", Cf)) : ie("", !0)
9220
+ q.value ? ($(), le("span", Sf)) : ie("", !0)
9199
9221
  ]))
9200
9222
  ]),
9201
9223
  _: 2
@@ -9229,157 +9251,157 @@ export {
9229
9251
  lr as B,
9230
9252
  Bn as C,
9231
9253
  rr as D,
9232
- Gm as E,
9233
- Km as F,
9254
+ Xm as E,
9255
+ Wm as F,
9234
9256
  sr as G,
9235
- qn as H,
9236
- em as I,
9257
+ Kn as H,
9258
+ tm as I,
9237
9259
  li as J,
9238
9260
  Gi as K,
9239
9261
  ti as L,
9240
- fm as M,
9241
- hm as N,
9242
- vm as O,
9243
- pm as P,
9244
- bm as Q,
9245
- gm as R,
9262
+ mm as M,
9263
+ gm as N,
9264
+ pm as O,
9265
+ hm as P,
9266
+ wm as Q,
9267
+ ym as R,
9246
9268
  Ua as S,
9247
- ym as T,
9248
- wm as U,
9249
- mm as V,
9250
- ao as W,
9251
- Dm as X,
9252
- Em as Y,
9253
- Sm as Z,
9254
- _o as _,
9269
+ bm as T,
9270
+ Cm as U,
9271
+ vm as V,
9272
+ oo as W,
9273
+ Em as X,
9274
+ Tm as Y,
9275
+ km as Z,
9276
+ Oo as _,
9255
9277
  za as a,
9256
9278
  tr as a$,
9257
9279
  ni as a0,
9258
9280
  _u as a1,
9259
9281
  Pe as a2,
9260
- cm as a3,
9261
- dm as a4,
9282
+ dm as a3,
9283
+ fm as a4,
9262
9284
  cl as a5,
9263
9285
  Sl as a6,
9264
9286
  ut as a7,
9265
9287
  ju as a8,
9266
9288
  wi as a9,
9267
- Zm as aA,
9268
- Jm as aB,
9269
- Qm as aC,
9289
+ Jm as aA,
9290
+ Qm as aB,
9291
+ ev as aC,
9270
9292
  Gu as aD,
9271
9293
  Wu as aE,
9272
- ev as aF,
9294
+ tv as aF,
9273
9295
  rt as aG,
9274
9296
  ft as aH,
9275
9297
  ir as aI,
9276
- nv as aJ,
9277
- Uo as aK,
9298
+ av as aJ,
9299
+ Yo as aK,
9278
9300
  Ci as aL,
9279
9301
  Ri as aM,
9280
9302
  pl as aN,
9281
- av as aO,
9282
- Mm as aP,
9283
- am as aQ,
9303
+ ov as aO,
9304
+ $m as aP,
9305
+ om as aQ,
9284
9306
  zc as aR,
9285
- ov as aS,
9307
+ lv as aS,
9286
9308
  Gc as aT,
9287
9309
  Mr as aU,
9288
- lv as aV,
9310
+ rv as aV,
9289
9311
  In as aW,
9290
- sv as aX,
9312
+ iv as aX,
9291
9313
  cr as aY,
9292
- Fm as aZ,
9293
- Po as a_,
9294
- Jn as aa,
9314
+ Bm as aZ,
9315
+ Lo as a_,
9316
+ Qn as aa,
9295
9317
  Cn as ab,
9296
- Qn as ac,
9318
+ ea as ac,
9297
9319
  Sn as ad,
9298
- ea as ae,
9320
+ ta as ae,
9299
9321
  Dn as af,
9300
9322
  wt as ag,
9301
9323
  Ru as ah,
9302
9324
  Pu as ai,
9303
- na as aj,
9304
- aa as ak,
9325
+ aa as aj,
9326
+ oa as ak,
9305
9327
  kn as al,
9306
9328
  wn as am,
9307
- ta as an,
9329
+ na as an,
9308
9330
  En as ao,
9309
9331
  Hu as ap,
9310
9332
  Yu as aq,
9311
- Xm as ar,
9333
+ Zm as ar,
9312
9334
  pn as as,
9313
- $m as at,
9335
+ Im as at,
9314
9336
  Ct as au,
9315
- No as av,
9337
+ Uo as av,
9316
9338
  we as aw,
9317
- Im as ax,
9339
+ Fm as ax,
9318
9340
  Ga as ay,
9319
9341
  Wa as az,
9320
9342
  Fn as b,
9321
9343
  Ku as b$,
9322
9344
  Di as b0,
9323
9345
  bi as b1,
9324
- lm as b2,
9325
- Bm as b3,
9326
- Tm as b4,
9346
+ rm as b2,
9347
+ _m as b3,
9348
+ xm as b4,
9327
9349
  Ws as b5,
9328
9350
  Xs as b6,
9329
9351
  fl as b7,
9330
- ma as b8,
9352
+ va as b8,
9331
9353
  dl as b9,
9332
9354
  Fi as bA,
9333
9355
  Mi as bB,
9334
9356
  Ju as bC,
9335
- Wm as bD,
9336
- qm as bE,
9357
+ Gm as bD,
9358
+ Km as bE,
9337
9359
  oi as bF,
9338
- um as bG,
9339
- im as bH,
9360
+ cm as bG,
9361
+ um as bH,
9340
9362
  Xl as bI,
9341
- om as bJ,
9342
- rm as bK,
9363
+ lm as bJ,
9364
+ sm as bK,
9343
9365
  Bs as bL,
9344
- sm as bM,
9345
- zm as bN,
9346
- Lm as bO,
9366
+ im as bM,
9367
+ jm as bN,
9368
+ Vm as bO,
9347
9369
  Zl as bP,
9348
- Cm as bQ,
9349
- xm as bR,
9350
- Um as bS,
9370
+ Sm as bQ,
9371
+ Am as bR,
9372
+ Ym as bS,
9351
9373
  Et as bT,
9352
9374
  ht as bU,
9353
9375
  ur as bV,
9354
9376
  nr as bW,
9355
- Lo as bX,
9377
+ Vo as bX,
9356
9378
  Uu as bY,
9357
9379
  zu as bZ,
9358
9380
  ri as b_,
9359
9381
  Xi as ba,
9360
- iv as bb,
9382
+ uv as bb,
9361
9383
  kl as bc,
9362
9384
  td as bd,
9363
- Vo as be,
9385
+ No as be,
9364
9386
  Jl as bf,
9365
- km as bg,
9387
+ Dm as bg,
9366
9388
  qa as bh,
9367
9389
  ja as bi,
9368
- _m as bj,
9390
+ Om as bj,
9369
9391
  Si as bk,
9370
- Rm as bl,
9371
- Om as bm,
9372
- Ro as bn,
9373
- jm as bo,
9392
+ Pm as bl,
9393
+ Rm as bm,
9394
+ Po as bn,
9395
+ qm as bo,
9374
9396
  Ki as bp,
9375
- Pm as bq,
9376
- Hm as br,
9377
- Nm as bs,
9378
- Ym as bt,
9379
- Vm as bu,
9397
+ Lm as bq,
9398
+ zm as br,
9399
+ Um as bs,
9400
+ Hm as bt,
9401
+ Nm as bu,
9380
9402
  qi as bv,
9381
- Do as bw,
9382
- tv as bx,
9403
+ Eo as bw,
9404
+ nv as bx,
9383
9405
  Ti as by,
9384
9406
  Oi as bz,
9385
9407
  Ya as c,
@@ -9388,36 +9410,37 @@ export {
9388
9410
  Sd as c2,
9389
9411
  Id as c3,
9390
9412
  $d as c4,
9391
- Bd as c5,
9392
- Nd as c6,
9393
- Kd as c7,
9394
- Od as c8,
9413
+ _d as c5,
9414
+ Ud as c6,
9415
+ Wd as c7,
9416
+ Rd as c8,
9395
9417
  Ad as c9,
9396
- Ll as ca,
9397
- Wd as cb,
9398
- wd as cc,
9399
- Cd as cd,
9400
- _d as ce,
9401
- jd as cf,
9402
- Pd as cg,
9403
- Zd as ch,
9404
- Xd as ci,
9405
- Gd as cj,
9406
- rv as ck,
9407
- Ed as cl,
9408
- ec as cm,
9409
- tc as cn,
9410
- Vl as co,
9411
- St as cp,
9412
- Jt as cq,
9413
- ac as cr,
9414
- Ia as cs,
9415
- nc as ct,
9416
- kd as cu,
9417
- Dd as cv,
9418
- Mn as cw,
9419
- mr as cx,
9420
- nd as cy,
9418
+ Bd as ca,
9419
+ Ll as cb,
9420
+ Gd as cc,
9421
+ wd as cd,
9422
+ Cd as ce,
9423
+ Od as cf,
9424
+ qd as cg,
9425
+ Ld as ch,
9426
+ Jd as ci,
9427
+ Zd as cj,
9428
+ Xd as ck,
9429
+ sv as cl,
9430
+ Ed as cm,
9431
+ ec as cn,
9432
+ tc as co,
9433
+ Vl as cp,
9434
+ St as cq,
9435
+ Jt as cr,
9436
+ ac as cs,
9437
+ Ia as ct,
9438
+ nc as cu,
9439
+ kd as cv,
9440
+ Dd as cw,
9441
+ Mn as cx,
9442
+ mr as cy,
9443
+ nd as cz,
9421
9444
  M as d,
9422
9445
  Ha as e,
9423
9446
  mn as f,
@@ -9425,21 +9448,21 @@ export {
9425
9448
  ae as h,
9426
9449
  Ie as i,
9427
9450
  $t as j,
9428
- Am as k,
9429
- Oo as l,
9451
+ Mm as k,
9452
+ Ro as l,
9430
9453
  Tn as m,
9431
9454
  _n as n,
9432
9455
  Xt as o,
9433
9456
  Se as p,
9434
- Zn as q,
9457
+ Jn as q,
9435
9458
  Ln as r,
9436
9459
  vn as s,
9437
- So as t,
9460
+ ko as t,
9438
9461
  bn as u,
9439
- nm as v,
9440
- tm as w,
9462
+ am as v,
9463
+ nm as w,
9441
9464
  He as x,
9442
9465
  Kl as y,
9443
9466
  Wl as z
9444
9467
  };
9445
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-B6NCzDJh.mjs.map
9468
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BZikT-Vo.mjs.map