@anzusystems/common-admin 1.47.0-beta.337 → 1.47.0-beta.339

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,4 +1,4 @@
1
- import { defineComponent as Se, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as ve, createCommentVNode as be, renderSlot as _e, normalizeClass as nt, toDisplayString as ye, createElementVNode as $e, isProxy as Cr, toRaw as Zn, isRef as Ra, unref as Z, computed as V, Fragment as at, normalizeStyle as Dr, createTextVNode as Oe, shallowRef as ao, watch as Ie, ref as P, reactive as jt, inject as ee, createSlots as _t, withDirectives as Yn, onMounted as Pa, withModifiers as Ee, onUnmounted as kr, TransitionGroup as Er, mergeProps as it, isVNode as Tr, mergeModels as wt, useModel as Ut, useTemplateRef as Mt, nextTick as ze, withKeys as ka, vModelText as oo, getCurrentInstance as Jn, resolveDynamicComponent as Ar, renderList as Un, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Vn, provide as lo } from "vue";
1
+ import { defineComponent as we, createBlock as Q, openBlock as U, withCtx as L, createVNode as N, createElementBlock as he, createCommentVNode as be, renderSlot as _e, normalizeClass as nt, toDisplayString as ye, createElementVNode as $e, isProxy as Cr, toRaw as Zn, isRef as Ra, unref as Z, computed as V, Fragment as at, normalizeStyle as Dr, createTextVNode as Oe, shallowRef as ao, watch as Ie, ref as P, reactive as jt, inject as ee, createSlots as _t, withDirectives as Yn, onMounted as Pa, withModifiers as Ee, onUnmounted as kr, TransitionGroup as Er, mergeProps as it, isVNode as Tr, mergeModels as wt, useModel as Ut, useTemplateRef as Mt, nextTick as ze, withKeys as ka, vModelText as oo, getCurrentInstance as Jn, resolveDynamicComponent as Ar, renderList as Un, toValue as ro, toRef as xr, onBeforeUnmount as Ir, resolveComponent as Vn, provide as lo } from "vue";
2
2
  import { useI18n as Ne, createI18n as Mr } from "vue-i18n";
3
3
  import { useEventBus as Ge, tryOnBeforeUnmount as _r, watchDebounced as Na, useResizeObserver as $r, watchThrottled as Fr, defaultDocument as Or, tryOnMounted as Br, tryOnScopeDispose as Rr, unrefElement as Pr } from "@vueuse/core";
4
4
  import { VAutocomplete as Qn } from "vuetify/components/VAutocomplete";
@@ -26,7 +26,7 @@ import { VTabs as nl, VTab as io } from "vuetify/components/VTabs";
26
26
  import { VForm as al } from "vuetify/components/VForm";
27
27
  import { VAvatar as ol } from "vuetify/components/VAvatar";
28
28
  import { VBadge as rl } from "vuetify/components/VBadge";
29
- const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
29
+ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ we({
30
30
  __name: "ARow",
31
31
  props: {
32
32
  title: { default: "" },
@@ -39,7 +39,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
39
39
  default: L(() => [
40
40
  N(Ta, null, {
41
41
  default: L(() => [
42
- e.title.length ? (U(), ve("h4", {
42
+ e.title.length ? (U(), he("h4", {
43
43
  key: 0,
44
44
  class: nt(e.titleClass)
45
45
  }, ye(e.title), 3)) : be("", !0),
@@ -53,10 +53,10 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
53
53
  _: 3
54
54
  }, 8, ["data-cy"]));
55
55
  }
56
- }), T = (e) => typeof e > "u", he = (e) => !T(e), K = (e) => e === null, Ht = (e) => typeof e == "number", Fe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Sc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", wc = (e) => Fe(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), Cc = (e) => {
56
+ }), T = (e) => typeof e > "u", ve = (e) => !T(e), G = (e) => e === null, Ht = (e) => typeof e == "number", Fe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Sc = (e) => typeof e == "function", st = (e) => typeof e == "boolean", wc = (e) => Fe(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), Cc = (e) => {
57
57
  const n = parseFloat(e);
58
58
  return !isNaN(e) && (n | 0) === n;
59
- }, gn = (e) => typeof e == "object" && !ue(e) && !K(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Aa = (e) => ue(e) && e.length === 0, Vo = (e) => K(e) || T(e) || e === "" || e === 0 || Aa(e) || un(e), xe = (e) => {
59
+ }, gn = (e) => typeof e == "object" && !ue(e) && !G(e), un = (e) => gn(e) ? Object.keys(e).length === 0 : !1, Aa = (e) => ue(e) && e.length === 0, Vo = (e) => G(e) || T(e) || e === "" || e === 0 || Aa(e) || un(e), xe = (e) => {
60
60
  if (typeof structuredClone == "function")
61
61
  try {
62
62
  return Cr(e) ? structuredClone(Zn(e)) : Ra(e) ? structuredClone(Z(e)) : structuredClone(e);
@@ -89,7 +89,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
89
89
  }, qo = (e) => {
90
90
  const n = e.trim();
91
91
  return n === "true" ? !0 : n === "false" ? !1 : null;
92
- }, vn = (e, n = "") => {
92
+ }, hn = (e, n = "") => {
93
93
  const t = e.indexOf(n);
94
94
  return {
95
95
  start: e.slice(0, t),
@@ -110,9 +110,9 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
110
110
  if (t[o] = r, !r.startsWith(":")) return;
111
111
  t[o] = r.substring(1);
112
112
  const l = /^:([a-zA-Z0-9_-]+).*/, s = r.match(l);
113
- K(s) || !s[1] || T(n[s[1]]) || (t[o] = n[s[1]] + "");
113
+ G(s) || !s[1] || T(n[s[1]]) || (t[o] = n[s[1]] + "");
114
114
  }), t.join("/");
115
- }, xc = (e) => e.replace(".", "-"), Ic = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Va = Symbol.for("anzu:SystemScope"), Ha = Symbol.for("anzu:SubjectScope"), Mc = Symbol.for("anzu:AvailableLanguages"), _c = Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ Se({
115
+ }, xc = (e) => e.replace(".", "-"), Ic = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Va = Symbol.for("anzu:SystemScope"), Ha = Symbol.for("anzu:SubjectScope"), Mc = Symbol.for("anzu:AvailableLanguages"), _c = Symbol.for("anzu:DefaultLanguage"), so = /* @__PURE__ */ we({
116
116
  __name: "AAnzuUserAvatar",
117
117
  props: {
118
118
  user: { default: void 0 },
@@ -127,7 +127,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
127
127
  const o = n.user.person.firstName.charAt(0) + n.user.person.lastName.charAt(0);
128
128
  return o.length > 0 ? o : n.user.email.slice(0, 2);
129
129
  });
130
- return (o, l) => (U(), ve(at, null, [
130
+ return (o, l) => (U(), he(at, null, [
131
131
  N(ol, {
132
132
  color: t.value,
133
133
  class: nt(["text-uppercase", e.containerClass]),
@@ -153,7 +153,7 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
153
153
  l[0] || (l[0] = $e("div", null, null, -1))
154
154
  ], 64));
155
155
  }
156
- }), ul = { class: "d-inline-flex" }, cl = { key: 0 }, na = /* @__PURE__ */ Se({
156
+ }), ul = { class: "d-inline-flex" }, cl = { key: 0 }, na = /* @__PURE__ */ we({
157
157
  __name: "ACollabLockedByUser",
158
158
  props: {
159
159
  id: {},
@@ -175,8 +175,8 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
175
175
  a.value || T(i) || !i._loaded || (t.value = i, a.value = !0);
176
176
  },
177
177
  { immediate: !0 }
178
- ), (i, u) => (U(), ve("div", ul, [
179
- Z(K)(e.id) || Z(T)(e.id) ? (U(), ve("span", cl)) : a.value ? (U(), ve(at, { key: 1 }, [
178
+ ), (i, u) => (U(), he("div", ul, [
179
+ Z(G)(e.id) || Z(T)(e.id) ? (U(), he("span", cl)) : a.value ? (U(), he(at, { key: 1 }, [
180
180
  e.isModerator ? (U(), Q(rl, {
181
181
  key: 0,
182
182
  location: "top right",
@@ -219,9 +219,9 @@ const ll = { class: "text-high-emphasis" }, Qt = /* @__PURE__ */ Se({
219
219
  }
220
220
  }), dl = Symbol("anzu:collabRoomDataChanged"), fl = Symbol("anzu:collabReconnect"), ml = Symbol("anzu:collabStarting"), pl = Symbol(
221
221
  "anzu:collabGatheringBufferData"
222
- ), vl = Symbol(
223
- "anzu:collabApprovedJoinRequest"
224
222
  ), hl = Symbol(
223
+ "anzu:collabApprovedJoinRequest"
224
+ ), vl = Symbol(
225
225
  "anzu:collabRejectedJoinRequest"
226
226
  ), gl = Symbol("anzu:collabJoinRequest"), bl = Symbol("anzu:collabApprovedRequestToTakeModeration"), yl = Symbol("anzu:collabRejectedRequestToTakeModeration"), Sl = Symbol(
227
227
  "anzu:collabRequestToTakeModeration"
@@ -241,10 +241,10 @@ function jo() {
241
241
  return Ge(pl);
242
242
  }
243
243
  function Oc() {
244
- return Ge(vl);
244
+ return Ge(hl);
245
245
  }
246
246
  function Bc() {
247
- return Ge(hl);
247
+ return Ge(vl);
248
248
  }
249
249
  function Rc() {
250
250
  return Ge(gl);
@@ -353,23 +353,23 @@ function _l() {
353
353
  };
354
354
  }
355
355
  function aa(e, n, t = !1) {
356
- const { collabOptions: a } = zt(), { currentUserId: r } = _l(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Ml(), u = Dl(), m = P(), c = P(), b = El(), p = P(), k = P(), h = jo(), f = P(), d = P(), v = (O, M) => {
356
+ const { collabOptions: a } = zt(), { currentUserId: r } = _l(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Ml(), u = Dl(), m = P(), c = P(), b = El(), p = P(), E = P(), v = jo(), f = P(), d = P(), h = (O, M) => {
357
357
  O.room !== e || O.field !== n || T(M) || T(c.value) || c.value(M);
358
358
  }, C = (O, M) => {
359
- O.room !== e || O.field !== n || T(M) || T(k.value) || k.value(M);
359
+ O.room !== e || O.field !== n || T(M) || T(E.value) || E.value(M);
360
360
  }, x = (O) => {
361
- O.room === e && he(d.value) && d.value();
361
+ O.room === e && ve(d.value) && d.value();
362
362
  }, I = (O) => {
363
- c.value = O, m.value = u.on(v);
363
+ c.value = O, m.value = u.on(h);
364
364
  }, g = (O) => {
365
- k.value = O, p.value = b.on(C);
365
+ E.value = O, p.value = b.on(C);
366
366
  }, _ = (O) => {
367
- d.value = O, f.value = h.on(
367
+ d.value = O, f.value = v.on(
368
368
  x
369
369
  );
370
370
  };
371
371
  _r(() => {
372
- t || (he(m.value) && m.value(), he(p.value) && p.value(), he(f.value) && f.value());
372
+ t || (ve(m.value) && m.value(), ve(p.value) && p.value(), ve(f.value) && f.value());
373
373
  });
374
374
  const B = V(() => {
375
375
  const O = l.get(e);
@@ -447,7 +447,7 @@ function aa(e, n, t = !1) {
447
447
  const $l = {
448
448
  key: 0,
449
449
  class: "required"
450
- }, po = /* @__PURE__ */ Se({
450
+ }, po = /* @__PURE__ */ we({
451
451
  __name: "AFormTextField",
452
452
  props: {
453
453
  modelValue: {},
@@ -473,16 +473,16 @@ const $l = {
473
473
  const a = e, r = t, o = P(null), { collabOptions: l } = zt(), s = P((I, g) => {
474
474
  }), i = P((I) => {
475
475
  }), u = P(null);
476
- if (l.value.enabled && he(a.collab)) {
476
+ if (l.value.enabled && ve(a.collab)) {
477
477
  const {
478
478
  releaseCollabFieldLock: I,
479
479
  acquireCollabFieldLock: g,
480
480
  addCollabFieldLockStatusListener: _,
481
481
  addCollabGatheringBufferDataListener: B,
482
- lockedByUser: E
482
+ lockedByUser: k
483
483
  } = aa(a.collab.room, a.collab.field);
484
484
  s.value = I, i.value = g, Ie(
485
- E,
485
+ k,
486
486
  ($) => {
487
487
  u.value = $;
488
488
  },
@@ -495,16 +495,16 @@ const $l = {
495
495
  }
496
496
  const { t: m } = Ne(), c = ee(Va, void 0), b = ee(Ha, void 0), p = (I) => {
497
497
  r("update:modelValue", I);
498
- }, k = () => {
498
+ }, E = () => {
499
499
  r("blur", a.modelValue), a.v?.$touch(), s.value(a.modelValue);
500
- }, h = () => {
500
+ }, v = () => {
501
501
  r("focus", a.modelValue), i.value();
502
- }, f = V(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((I) => I.$message).join(" ")] : []), d = V(() => {
503
- if (he(a.label)) return a.label;
502
+ }, f = V(() => ve(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((I) => I.$message).join(" ")] : []), d = V(() => {
503
+ if (ve(a.label)) return a.label;
504
504
  if (T(c) || T(b) || T(a.v?.$path)) return "";
505
- const { end: I } = vn(a.v?.$path, ".");
505
+ const { end: I } = hn(a.v?.$path, ".");
506
506
  return m(c + "." + b + ".model." + I);
507
- }), v = V(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), C = V(() => he(a.disabled) ? a.disabled : !!u.value);
507
+ }), h = V(() => ve(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), C = V(() => ve(a.disabled) ? a.disabled : !!u.value);
508
508
  return n({
509
509
  focus: () => {
510
510
  o.value?.focus();
@@ -516,7 +516,7 @@ const $l = {
516
516
  "data-cy": e.dataCy,
517
517
  "error-messages": f.value,
518
518
  "model-value": e.modelValue,
519
- required: v.value,
519
+ required: h.value,
520
520
  type: e.type,
521
521
  step: e.step,
522
522
  "append-icon": e.appendIcon,
@@ -527,15 +527,15 @@ const $l = {
527
527
  trim: "",
528
528
  autocomplete: "off",
529
529
  "onClick:append": g[0] || (g[0] = (_) => r("click:append", _)),
530
- onBlur: k,
531
- onFocus: h,
530
+ onBlur: E,
531
+ onFocus: v,
532
532
  "onUpdate:modelValue": g[1] || (g[1] = (_) => p(_))
533
533
  }, _t({ _: 2 }, [
534
534
  e.hideLabel ? void 0 : {
535
535
  name: "label",
536
536
  fn: L(() => [
537
537
  Oe(ye(d.value), 1),
538
- v.value ? (U(), ve("span", $l)) : be("", !0)
538
+ h.value ? (U(), he("span", $l)) : be("", !0)
539
539
  ]),
540
540
  key: "0"
541
541
  },
@@ -570,12 +570,12 @@ const $l = {
570
570
  } : void 0
571
571
  ]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon", "maxlength", "disabled", "placeholder", "persistent-placeholder"]));
572
572
  }
573
- }), vo = ["en", "sk"], De = Mr({
573
+ }), ho = ["en", "sk"], De = Mr({
574
574
  globalInjection: !1,
575
- locale: vo[0],
575
+ locale: ho[0],
576
576
  fallbackLocale: !1,
577
577
  missing: (e, n) => {
578
- vo.includes(e) && console.warn(`Missing ${e} translation: ${n}`);
578
+ ho.includes(e) && console.warn(`Missing ${e} translation: ${n}`);
579
579
  }
580
580
  });
581
581
  function Fl(e = "id", n = !0) {
@@ -610,41 +610,41 @@ function Jc(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = vo
610
610
  for (const d of Object.keys(c))
611
611
  d in o && (c[d] = o[d]);
612
612
  const b = e.map((d) => {
613
- const v = { ...Bl, ...d };
614
- return T(v.title) && (T(v.title) && Ol.includes(v.key) ? v.title = m("common.model.tracking." + v.key) : T(v.title) && t && a ? v.title = m(t + "." + a + ".model." + v.key) : v.title = ""), v;
613
+ const h = { ...Bl, ...d };
614
+ return T(h.title) && (T(h.title) && Ol.includes(h.key) ? h.title = m("common.model.tracking." + h.key) : T(h.title) && t && a ? h.title = m(t + "." + a + ".model." + h.key) : h.title = ""), h;
615
615
  }), p = V(() => {
616
616
  const d = [];
617
- return s && d.push({ key: "data-table-expand", sortable: !1 }), b.forEach((v) => {
618
- n.value.includes(v.key) || d.push(v);
617
+ return s && d.push({ key: "data-table-expand", sortable: !1 }), b.forEach((h) => {
618
+ n.value.includes(h.key) || d.push(h);
619
619
  }), r || d.push({ key: "actions", sortable: !1, fixed: !0 }), d;
620
- }), k = (d) => {
620
+ }), E = (d) => {
621
621
  if (!d) {
622
622
  c.sortBy = null;
623
623
  return;
624
624
  }
625
625
  c.sortBy = d.key, c.descending = d.order === mt.Desc;
626
- }, h = () => {
626
+ }, v = () => {
627
627
  if (!i || !localStorage) return;
628
628
  const d = localStorage.getItem(i);
629
629
  if (!d) return;
630
- const v = JSON.parse(d);
631
- gn(v) && ue(v.hidden) && (n.value = v.hidden);
630
+ const h = JSON.parse(d);
631
+ gn(h) && ue(h.hidden) && (n.value = h.hidden);
632
632
  }, f = (d) => {
633
633
  !i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: d }));
634
634
  };
635
635
  return Pa(() => {
636
- h();
636
+ v();
637
637
  }), Ie(n, (d) => {
638
638
  f(d);
639
639
  }), {
640
640
  columnsAll: b,
641
641
  columnsVisible: p,
642
642
  columnsHidden: n,
643
- updateSortBy: k,
643
+ updateSortBy: E,
644
644
  pagination: c
645
645
  };
646
646
  }
647
- const Wo = /* @__PURE__ */ Se({
647
+ const Wo = /* @__PURE__ */ we({
648
648
  __name: "ADialogToolbar",
649
649
  emits: ["onCancel"],
650
650
  setup(e, { emit: n }) {
@@ -704,7 +704,7 @@ function Rl(e) {
704
704
  });
705
705
  } };
706
706
  }
707
- const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
707
+ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", vo = [
708
708
  {
709
709
  name: "px",
710
710
  regexp: new RegExp(`^${ca}px$`)
@@ -727,8 +727,8 @@ const Nt = Rl(), ca = "[-+]?[0-9]*.?[0-9]+", ho = [
727
727
  type: e,
728
728
  value: 0
729
729
  };
730
- for (let n = 0; n < ho.length; n++) {
731
- const t = ho[n];
730
+ for (let n = 0; n < vo.length; n++) {
731
+ const t = vo[n];
732
732
  if (t.regexp.test(e))
733
733
  return {
734
734
  type: t.name,
@@ -788,7 +788,7 @@ function Hl(e) {
788
788
  const An = {
789
789
  IDLE: 0,
790
790
  DESTROYED: 2
791
- }, ql = /* @__PURE__ */ Se({
791
+ }, ql = /* @__PURE__ */ we({
792
792
  // eslint-disable-next-line vue/multi-word-component-names
793
793
  name: "notifications",
794
794
  props: {
@@ -881,40 +881,40 @@ const An = {
881
881
  slots: t,
882
882
  expose: a
883
883
  }) => {
884
- const r = P([]), o = Ko.get("velocity"), l = V(() => e.animationType === "velocity"), s = V(() => r.value.filter((E) => E.state !== An.DESTROYED)), i = V(() => Nl(e.width)), u = V(() => {
884
+ const r = P([]), o = Ko.get("velocity"), l = V(() => e.animationType === "velocity"), s = V(() => r.value.filter((k) => k.state !== An.DESTROYED)), i = V(() => Nl(e.width)), u = V(() => {
885
885
  const {
886
- x: E,
886
+ x: k,
887
887
  y: $
888
888
  } = Ul(e.position), R = i.value.value, O = i.value.type, M = {
889
889
  width: R + O
890
890
  };
891
- return $ && (M[$] = "0px"), E && (E === "center" ? M.left = `calc(50% - ${+R / 2}${O})` : M[E] = "0px"), M;
891
+ return $ && (M[$] = "0px"), k && (k === "center" ? M.left = `calc(50% - ${+R / 2}${O})` : M[k] = "0px"), M;
892
892
  }), m = V(() => l.value ? {
893
893
  onEnter: g,
894
894
  onLeave: _,
895
895
  onAfterLeave: B
896
- } : {}), c = (E) => {
897
- n("click", E), e.closeOnClick && v(E);
898
- }, b = (E) => {
896
+ } : {}), c = (k) => {
897
+ n("click", k), e.closeOnClick && h(k);
898
+ }, b = (k) => {
899
899
  var $;
900
- e.pauseOnHover && (($ = E.timer) == null || $.stop());
901
- }, p = (E) => {
900
+ e.pauseOnHover && (($ = k.timer) == null || $.stop());
901
+ }, p = (k) => {
902
902
  var $;
903
- e.pauseOnHover && (($ = E.timer) == null || $.start());
904
- }, k = (E = {}) => {
905
- if (E.group || (E.group = ""), E.data || (E.data = {}), e.group !== E.group)
903
+ e.pauseOnHover && (($ = k.timer) == null || $.start());
904
+ }, E = (k = {}) => {
905
+ if (k.group || (k.group = ""), k.data || (k.data = {}), e.group !== k.group)
906
906
  return;
907
- if (E.clean || E.clear) {
907
+ if (k.clean || k.clear) {
908
908
  x();
909
909
  return;
910
910
  }
911
- const $ = typeof E.duration == "number" ? E.duration : e.duration, R = typeof E.speed == "number" ? E.speed : e.speed, O = typeof E.ignoreDuplicates == "boolean" ? E.ignoreDuplicates : e.ignoreDuplicates, {
911
+ const $ = typeof k.duration == "number" ? k.duration : e.duration, R = typeof k.speed == "number" ? k.speed : e.speed, O = typeof k.ignoreDuplicates == "boolean" ? k.ignoreDuplicates : e.ignoreDuplicates, {
912
912
  title: M,
913
913
  text: A,
914
914
  type: w,
915
915
  data: y,
916
916
  id: S
917
- } = E, D = {
917
+ } = k, D = {
918
918
  id: S || Ll(),
919
919
  title: M,
920
920
  text: A,
@@ -925,53 +925,53 @@ const An = {
925
925
  data: y,
926
926
  duplicates: 0
927
927
  };
928
- $ >= 0 && (D.timer = Vl(() => v(D), D.length));
928
+ $ >= 0 && (D.timer = Vl(() => h(D), D.length));
929
929
  const F = "bottom" in u.value, H = e.reverse ? !F : F;
930
930
  let X = -1;
931
- const re = s.value.find((de) => de.title === E.title && de.text === E.text);
931
+ const re = s.value.find((de) => de.title === k.title && de.text === k.text);
932
932
  if (O && re) {
933
933
  re.duplicates++;
934
934
  return;
935
935
  }
936
- H ? (r.value.push(D), n("start", D), s.value.length > e.max && (X = 0)) : (r.value.unshift(D), n("start", D), s.value.length > e.max && (X = s.value.length - 1)), X !== -1 && v(s.value[X]);
937
- }, h = (E) => {
938
- C(E);
939
- }, f = (E) => ["vue-notification-template", e.classes, E.type || ""], d = (E) => l.value ? void 0 : {
940
- transition: `all ${E.speed}ms`
941
- }, v = (E) => {
936
+ H ? (r.value.push(D), n("start", D), s.value.length > e.max && (X = 0)) : (r.value.unshift(D), n("start", D), s.value.length > e.max && (X = s.value.length - 1)), X !== -1 && h(s.value[X]);
937
+ }, v = (k) => {
938
+ C(k);
939
+ }, f = (k) => ["vue-notification-template", e.classes, k.type || ""], d = (k) => l.value ? void 0 : {
940
+ transition: `all ${k.speed}ms`
941
+ }, h = (k) => {
942
942
  var $;
943
- ($ = E.timer) == null || $.stop(), E.state = An.DESTROYED, B(), n("destroy", E);
944
- }, C = (E) => {
945
- const $ = r.value.find((R) => R.id === E);
946
- $ && v($);
943
+ ($ = k.timer) == null || $.stop(), k.state = An.DESTROYED, B(), n("destroy", k);
944
+ }, C = (k) => {
945
+ const $ = r.value.find((R) => R.id === k);
946
+ $ && h($);
947
947
  }, x = () => {
948
- s.value.forEach(v);
949
- }, I = (E, $) => {
948
+ s.value.forEach(h);
949
+ }, I = (k, $) => {
950
950
  var R;
951
- const O = (R = e.animation) == null ? void 0 : R[E];
951
+ const O = (R = e.animation) == null ? void 0 : R[k];
952
952
  return typeof O == "function" ? O($) : O;
953
- }, g = (E, $) => {
954
- const R = I("enter", E);
955
- o(E, R, {
953
+ }, g = (k, $) => {
954
+ const R = I("enter", k);
955
+ o(k, R, {
956
956
  duration: e.speed,
957
957
  complete: $
958
958
  });
959
- }, _ = (E, $) => {
960
- const R = I("leave", E);
961
- o(E, R, {
959
+ }, _ = (k, $) => {
960
+ const R = I("leave", k);
961
+ o(k, R, {
962
962
  duration: e.speed,
963
963
  complete: $
964
964
  });
965
965
  };
966
966
  function B() {
967
- r.value = r.value.filter((E) => E.state !== An.DESTROYED);
967
+ r.value = r.value.filter((k) => k.state !== An.DESTROYED);
968
968
  }
969
969
  return Pa(() => {
970
- Nt.on("add", k), Nt.on("close", h);
970
+ Nt.on("add", E), Nt.on("close", v);
971
971
  }), kr(() => {
972
- Nt.off("add", k), Nt.off("close", h);
972
+ Nt.off("add", E), Nt.off("close", v);
973
973
  }), () => {
974
- let E;
974
+ let k;
975
975
  return N("div", {
976
976
  class: "vue-notification-group",
977
977
  style: u.value
@@ -979,7 +979,7 @@ const An = {
979
979
  tag: "div",
980
980
  css: !l.value,
981
981
  name: e.animationName
982
- }), Hl(E = s.value.map(($) => N("div", {
982
+ }), Hl(k = s.value.map(($) => N("div", {
983
983
  key: $.id,
984
984
  class: "vue-notification-wrapper",
985
985
  style: d($),
@@ -989,7 +989,7 @@ const An = {
989
989
  }, [t.body ? t.body({
990
990
  item: $,
991
991
  class: [e.classes, $.type],
992
- close: () => v($)
992
+ close: () => h($)
993
993
  }) : N("div", {
994
994
  class: f($),
995
995
  onClick: () => c($)
@@ -1003,8 +1003,8 @@ const An = {
1003
1003
  class: "notification-title"
1004
1004
  }, [$.title]) : null, N("div", {
1005
1005
  class: "notification-content"
1006
- }, [$.text])])])]))) ? E : {
1007
- default: () => [E]
1006
+ }, [$.text])])])]))) ? k : {
1007
+ default: () => [k]
1008
1008
  })]);
1009
1009
  };
1010
1010
  }
@@ -1100,8 +1100,8 @@ function oa() {
1100
1100
  type: "success"
1101
1101
  });
1102
1102
  }, n = (f, d = Qe) => {
1103
- const { t: v } = De.global;
1104
- e(v(f), d);
1103
+ const { t: h } = De.global;
1104
+ e(h(f), d);
1105
1105
  }, t = (f, d = Qe) => {
1106
1106
  Ze({
1107
1107
  group: "alerts",
@@ -1110,8 +1110,8 @@ function oa() {
1110
1110
  type: "error"
1111
1111
  });
1112
1112
  }, a = (f, d = Qe) => {
1113
- const { t: v } = De.global;
1114
- t(v(f), d);
1113
+ const { t: h } = De.global;
1114
+ t(h(f), d);
1115
1115
  }, r = (f, d = Qe) => {
1116
1116
  Ze({
1117
1117
  group: "alerts",
@@ -1120,8 +1120,8 @@ function oa() {
1120
1120
  type: "info"
1121
1121
  });
1122
1122
  }, o = (f, d = Qe) => {
1123
- const { t: v } = De.global;
1124
- r(v(f), d);
1123
+ const { t: h } = De.global;
1124
+ r(h(f), d);
1125
1125
  }, l = (f, d = Qe) => {
1126
1126
  Ze({
1127
1127
  group: "alerts",
@@ -1130,8 +1130,8 @@ function oa() {
1130
1130
  type: "warning"
1131
1131
  });
1132
1132
  }, s = (f, d = Qe) => {
1133
- const { t: v } = De.global;
1134
- l(v(f), d);
1133
+ const { t: h } = De.global;
1134
+ l(h(f), d);
1135
1135
  }, i = (f = Qe) => {
1136
1136
  const { t: d } = De.global;
1137
1137
  Ze({
@@ -1141,22 +1141,22 @@ function oa() {
1141
1141
  type: "error"
1142
1142
  });
1143
1143
  }, u = (f, d = Qe) => {
1144
- const { t: v } = De.global;
1144
+ const { t: h } = De.global;
1145
1145
  Ze({
1146
1146
  group: "alerts",
1147
- text: v("common.alert.recordWas." + f),
1147
+ text: h("common.alert.recordWas." + f),
1148
1148
  duration: d * 1e3,
1149
1149
  type: "success"
1150
1150
  });
1151
- }, m = (f, d = -1, v = !1) => {
1151
+ }, m = (f, d = -1, h = !1) => {
1152
1152
  const { t: C, te: x } = De.global, I = [C("common.alert.fixApiValidationErrors")];
1153
1153
  for (let g = 0; g < f.length; g++) {
1154
1154
  let _ = "";
1155
- v ? _ += f[g].field : x(f[g].field) ? _ += C(f[g].field) : f[g].field.includes("[") ? _ += h(f[g].field) : _ += f[g].field.split(".").at(-1);
1155
+ h ? _ += f[g].field : x(f[g].field) ? _ += C(f[g].field) : f[g].field.includes("[") ? _ += v(f[g].field) : _ += f[g].field.split(".").at(-1);
1156
1156
  const B = /* @__PURE__ */ new Set();
1157
- for (let E = 0; E < f[g].errors.length; E++) {
1158
- if (x("error.apiValidation." + f[g].errors[E])) {
1159
- B.add(C("error.apiValidation." + f[g].errors[E]));
1157
+ for (let k = 0; k < f[g].errors.length; k++) {
1158
+ if (x("error.apiValidation." + f[g].errors[k])) {
1159
+ B.add(C("error.apiValidation." + f[g].errors[k]));
1160
1160
  continue;
1161
1161
  }
1162
1162
  B.add(C("error.apiValidation.noTranslation"));
@@ -1170,9 +1170,9 @@ function oa() {
1170
1170
  type: "error"
1171
1171
  });
1172
1172
  }, c = (f, d = -1) => {
1173
- const { t: v, te: C } = De.global;
1174
- let x = v("error.apiForbiddenOperation.noTranslation");
1175
- C("error.apiForbiddenOperation." + f) && (x = v("error.apiForbiddenOperation." + f)), Ze({
1173
+ const { t: h, te: C } = De.global;
1174
+ let x = h("error.apiForbiddenOperation.noTranslation");
1175
+ C("error.apiForbiddenOperation." + f) && (x = h("error.apiForbiddenOperation." + f)), Ze({
1176
1176
  group: "alerts",
1177
1177
  text: x,
1178
1178
  duration: d * 1e3,
@@ -1194,8 +1194,8 @@ function oa() {
1194
1194
  duration: f * 1e3,
1195
1195
  type: "error"
1196
1196
  });
1197
- }, k = (f, d = -1) => Ql(f) ? (p(d), !0) : Go(f) ? (m(f.fields, d), !0) : ii(f) ? (a("error.apiDependencyExists.message", d), !0) : oi(f) ? (c(f.detail, d), !0) : ui(f) ? (a("error.apiTimedOut.message", d), !0) : ci(f) || Wl(f) || ja(f) ? (b(d), !0) : !1, h = (f) => {
1198
- const { t: d } = De.global, v = f.split("["), C = v[0].trim(), x = v[1].split("]"), I = x[0], g = x[1] ?? "";
1197
+ }, E = (f, d = -1) => Ql(f) ? (p(d), !0) : Go(f) ? (m(f.fields, d), !0) : ii(f) ? (a("error.apiDependencyExists.message", d), !0) : oi(f) ? (c(f.detail, d), !0) : ui(f) ? (a("error.apiTimedOut.message", d), !0) : ci(f) || Wl(f) || ja(f) ? (b(d), !0) : !1, v = (f) => {
1198
+ const { t: d } = De.global, h = f.split("["), C = h[0].trim(), x = h[1].split("]"), I = x[0], g = x[1] ?? "";
1199
1199
  return d(C) + "[" + I + "]: " + d(C.slice(0, -1) + g);
1200
1200
  };
1201
1201
  return {
@@ -1213,7 +1213,7 @@ function oa() {
1213
1213
  showApiForbiddenOperationError: c,
1214
1214
  showUnknownError: b,
1215
1215
  showForbiddenError: p,
1216
- showErrorsDefault: k
1216
+ showErrorsDefault: E
1217
1217
  };
1218
1218
  }
1219
1219
  const Zo = (e, n) => {
@@ -1231,7 +1231,7 @@ function mi() {
1231
1231
  (function(t, a) {
1232
1232
  e.exports = a();
1233
1233
  })(fi, (function() {
1234
- var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", s = "minute", i = "hour", u = "day", m = "week", c = "month", b = "quarter", p = "year", k = "date", h = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, d = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
1234
+ var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", s = "minute", i = "hour", u = "day", m = "week", c = "month", b = "quarter", p = "year", E = "date", v = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, d = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
1235
1235
  var w = ["th", "st", "nd", "rd"], y = A % 100;
1236
1236
  return "[" + A + (w[(y - 20) % 10] || w[y] || w[0]) + "]";
1237
1237
  } }, C = function(A, w, y) {
@@ -1247,14 +1247,14 @@ function mi() {
1247
1247
  }, a: function(A) {
1248
1248
  return A < 0 ? Math.ceil(A) || 0 : Math.floor(A);
1249
1249
  }, p: function(A) {
1250
- return { M: c, y: p, w: m, d: u, D: k, h: i, m: s, s: l, ms: o, Q: b }[A] || String(A || "").toLowerCase().replace(/s$/, "");
1250
+ return { M: c, y: p, w: m, d: u, D: E, h: i, m: s, s: l, ms: o, Q: b }[A] || String(A || "").toLowerCase().replace(/s$/, "");
1251
1251
  }, u: function(A) {
1252
1252
  return A === void 0;
1253
1253
  } }, I = "en", g = {};
1254
- g[I] = v;
1254
+ g[I] = h;
1255
1255
  var _ = "$isDayjsObject", B = function(A) {
1256
1256
  return A instanceof O || !(!A || !A[_]);
1257
- }, E = function A(w, y, S) {
1257
+ }, k = function A(w, y, S) {
1258
1258
  var D;
1259
1259
  if (!w) return I;
1260
1260
  if (typeof w == "string") {
@@ -1272,12 +1272,12 @@ function mi() {
1272
1272
  var y = typeof w == "object" ? w : {};
1273
1273
  return y.date = A, y.args = arguments, new O(y);
1274
1274
  }, R = x;
1275
- R.l = E, R.i = B, R.w = function(A, w) {
1275
+ R.l = k, R.i = B, R.w = function(A, w) {
1276
1276
  return $(A, { locale: w.$L, utc: w.$u, x: w.$x, $offset: w.$offset });
1277
1277
  };
1278
1278
  var O = (function() {
1279
1279
  function A(y) {
1280
- this.$L = E(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[_] = !0;
1280
+ this.$L = k(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[_] = !0;
1281
1281
  }
1282
1282
  var w = A.prototype;
1283
1283
  return w.parse = function(y) {
@@ -1301,7 +1301,7 @@ function mi() {
1301
1301
  }, w.$utils = function() {
1302
1302
  return R;
1303
1303
  }, w.isValid = function() {
1304
- return this.$d.toString() !== h;
1304
+ return this.$d.toString() !== v;
1305
1305
  }, w.isSame = function(y, S) {
1306
1306
  var D = $(y);
1307
1307
  return this.startOf(S) <= D && D <= this.endOf(S);
@@ -1317,21 +1317,21 @@ function mi() {
1317
1317
  return this.$d.getTime();
1318
1318
  }, w.startOf = function(y, S) {
1319
1319
  var D = this, F = !!R.u(S) || S, H = R.p(y), X = function(W, me) {
1320
- var G = R.w(D.$u ? Date.UTC(D.$y, me, W) : new Date(D.$y, me, W), D);
1321
- return F ? G : G.endOf(u);
1320
+ var K = R.w(D.$u ? Date.UTC(D.$y, me, W) : new Date(D.$y, me, W), D);
1321
+ return F ? K : K.endOf(u);
1322
1322
  }, re = function(W, me) {
1323
1323
  return R.w(D.toDate()[W].apply(D.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(me)), D);
1324
- }, de = this.$W, we = this.$M, Ce = this.$D, z = "set" + (this.$u ? "UTC" : "");
1324
+ }, de = this.$W, Ce = this.$M, Se = this.$D, z = "set" + (this.$u ? "UTC" : "");
1325
1325
  switch (H) {
1326
1326
  case p:
1327
1327
  return F ? X(1, 0) : X(31, 11);
1328
1328
  case c:
1329
- return F ? X(1, we) : X(0, we + 1);
1329
+ return F ? X(1, Ce) : X(0, Ce + 1);
1330
1330
  case m:
1331
1331
  var te = this.$locale().weekStart || 0, q = (de < te ? de + 7 : de) - te;
1332
- return X(F ? Ce - q : Ce + (6 - q), we);
1332
+ return X(F ? Se - q : Se + (6 - q), Ce);
1333
1333
  case u:
1334
- case k:
1334
+ case E:
1335
1335
  return re(z + "Hours", 0);
1336
1336
  case i:
1337
1337
  return re(z + "Minutes", 1);
@@ -1345,10 +1345,10 @@ function mi() {
1345
1345
  }, w.endOf = function(y) {
1346
1346
  return this.startOf(y, !1);
1347
1347
  }, w.$set = function(y, S) {
1348
- var D, F = R.p(y), H = "set" + (this.$u ? "UTC" : ""), X = (D = {}, D[u] = H + "Date", D[k] = H + "Date", D[c] = H + "Month", D[p] = H + "FullYear", D[i] = H + "Hours", D[s] = H + "Minutes", D[l] = H + "Seconds", D[o] = H + "Milliseconds", D)[F], re = F === u ? this.$D + (S - this.$W) : S;
1348
+ var D, F = R.p(y), H = "set" + (this.$u ? "UTC" : ""), X = (D = {}, D[u] = H + "Date", D[E] = H + "Date", D[c] = H + "Month", D[p] = H + "FullYear", D[i] = H + "Hours", D[s] = H + "Minutes", D[l] = H + "Seconds", D[o] = H + "Milliseconds", D)[F], re = F === u ? this.$D + (S - this.$W) : S;
1349
1349
  if (F === c || F === p) {
1350
- var de = this.clone().set(k, 1);
1351
- de.$d[X](re), de.init(), this.$d = de.set(k, Math.min(this.$D, de.daysInMonth())).$d;
1350
+ var de = this.clone().set(E, 1);
1351
+ de.$d[X](re), de.init(), this.$d = de.set(E, Math.min(this.$D, de.daysInMonth())).$d;
1352
1352
  } else X && this.$d[X](re);
1353
1353
  return this.init(), this;
1354
1354
  }, w.set = function(y, S) {
@@ -1358,9 +1358,9 @@ function mi() {
1358
1358
  }, w.add = function(y, S) {
1359
1359
  var D, F = this;
1360
1360
  y = Number(y);
1361
- var H = R.p(S), X = function(we) {
1362
- var Ce = $(F);
1363
- return R.w(Ce.date(Ce.date() + Math.round(we * y)), F);
1361
+ var H = R.p(S), X = function(Ce) {
1362
+ var Se = $(F);
1363
+ return R.w(Se.date(Se.date() + Math.round(Ce * y)), F);
1364
1364
  };
1365
1365
  if (H === c) return this.set(c, this.$M + y);
1366
1366
  if (H === p) return this.set(p, this.$y + y);
@@ -1372,17 +1372,17 @@ function mi() {
1372
1372
  return this.add(-1 * y, S);
1373
1373
  }, w.format = function(y) {
1374
1374
  var S = this, D = this.$locale();
1375
- if (!this.isValid()) return D.invalidDate || h;
1376
- var F = y || "YYYY-MM-DDTHH:mm:ssZ", H = R.z(this), X = this.$H, re = this.$m, de = this.$M, we = D.weekdays, Ce = D.months, z = D.meridiem, te = function(me, G, J, ie) {
1377
- return me && (me[G] || me(S, F)) || J[G].slice(0, ie);
1375
+ if (!this.isValid()) return D.invalidDate || v;
1376
+ var F = y || "YYYY-MM-DDTHH:mm:ssZ", H = R.z(this), X = this.$H, re = this.$m, de = this.$M, Ce = D.weekdays, Se = D.months, z = D.meridiem, te = function(me, K, J, le) {
1377
+ return me && (me[K] || me(S, F)) || J[K].slice(0, le);
1378
1378
  }, q = function(me) {
1379
1379
  return R.s(X % 12 || 12, me, "0");
1380
- }, W = z || function(me, G, J) {
1381
- var ie = me < 12 ? "AM" : "PM";
1382
- return J ? ie.toLowerCase() : ie;
1380
+ }, W = z || function(me, K, J) {
1381
+ var le = me < 12 ? "AM" : "PM";
1382
+ return J ? le.toLowerCase() : le;
1383
1383
  };
1384
- return F.replace(d, (function(me, G) {
1385
- return G || (function(J) {
1384
+ return F.replace(d, (function(me, K) {
1385
+ return K || (function(J) {
1386
1386
  switch (J) {
1387
1387
  case "YY":
1388
1388
  return String(S.$y).slice(-2);
@@ -1393,9 +1393,9 @@ function mi() {
1393
1393
  case "MM":
1394
1394
  return R.s(de + 1, 2, "0");
1395
1395
  case "MMM":
1396
- return te(D.monthsShort, de, Ce, 3);
1396
+ return te(D.monthsShort, de, Se, 3);
1397
1397
  case "MMMM":
1398
- return te(Ce, de);
1398
+ return te(Se, de);
1399
1399
  case "D":
1400
1400
  return S.$D;
1401
1401
  case "DD":
@@ -1403,11 +1403,11 @@ function mi() {
1403
1403
  case "d":
1404
1404
  return String(S.$W);
1405
1405
  case "dd":
1406
- return te(D.weekdaysMin, S.$W, we, 2);
1406
+ return te(D.weekdaysMin, S.$W, Ce, 2);
1407
1407
  case "ddd":
1408
- return te(D.weekdaysShort, S.$W, we, 3);
1408
+ return te(D.weekdaysShort, S.$W, Ce, 3);
1409
1409
  case "dddd":
1410
- return we[S.$W];
1410
+ return Ce[S.$W];
1411
1411
  case "H":
1412
1412
  return String(X);
1413
1413
  case "HH":
@@ -1439,36 +1439,36 @@ function mi() {
1439
1439
  }, w.utcOffset = function() {
1440
1440
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1441
1441
  }, w.diff = function(y, S, D) {
1442
- var F, H = this, X = R.p(S), re = $(y), de = (re.utcOffset() - this.utcOffset()) * a, we = this - re, Ce = function() {
1442
+ var F, H = this, X = R.p(S), re = $(y), de = (re.utcOffset() - this.utcOffset()) * a, Ce = this - re, Se = function() {
1443
1443
  return R.m(H, re);
1444
1444
  };
1445
1445
  switch (X) {
1446
1446
  case p:
1447
- F = Ce() / 12;
1447
+ F = Se() / 12;
1448
1448
  break;
1449
1449
  case c:
1450
- F = Ce();
1450
+ F = Se();
1451
1451
  break;
1452
1452
  case b:
1453
- F = Ce() / 3;
1453
+ F = Se() / 3;
1454
1454
  break;
1455
1455
  case m:
1456
- F = (we - de) / 6048e5;
1456
+ F = (Ce - de) / 6048e5;
1457
1457
  break;
1458
1458
  case u:
1459
- F = (we - de) / 864e5;
1459
+ F = (Ce - de) / 864e5;
1460
1460
  break;
1461
1461
  case i:
1462
- F = we / r;
1462
+ F = Ce / r;
1463
1463
  break;
1464
1464
  case s:
1465
- F = we / a;
1465
+ F = Ce / a;
1466
1466
  break;
1467
1467
  case l:
1468
- F = we / t;
1468
+ F = Ce / t;
1469
1469
  break;
1470
1470
  default:
1471
- F = we;
1471
+ F = Ce;
1472
1472
  }
1473
1473
  return D ? F : R.a(F);
1474
1474
  }, w.daysInMonth = function() {
@@ -1477,7 +1477,7 @@ function mi() {
1477
1477
  return g[this.$L];
1478
1478
  }, w.locale = function(y, S) {
1479
1479
  if (!y) return this.$L;
1480
- var D = this.clone(), F = E(y, S, !0);
1480
+ var D = this.clone(), F = k(y, S, !0);
1481
1481
  return F && (D.$L = F), D;
1482
1482
  }, w.clone = function() {
1483
1483
  return R.w(this.$d, this);
@@ -1491,74 +1491,74 @@ function mi() {
1491
1491
  return this.$d.toUTCString();
1492
1492
  }, A;
1493
1493
  })(), M = O.prototype;
1494
- return $.prototype = M, [["$ms", o], ["$s", l], ["$m", s], ["$H", i], ["$W", u], ["$M", c], ["$y", p], ["$D", k]].forEach((function(A) {
1494
+ return $.prototype = M, [["$ms", o], ["$s", l], ["$m", s], ["$H", i], ["$W", u], ["$M", c], ["$y", p], ["$D", E]].forEach((function(A) {
1495
1495
  M[A[1]] = function(w) {
1496
1496
  return this.$g(w, A[0], A[1]);
1497
1497
  };
1498
1498
  })), $.extend = function(A, w) {
1499
1499
  return A.$i || (A(w, O, $), A.$i = !0), $;
1500
- }, $.locale = E, $.isDayjs = B, $.unix = function(A) {
1500
+ }, $.locale = k, $.isDayjs = B, $.unix = function(A) {
1501
1501
  return $(1e3 * A);
1502
1502
  }, $.en = g[I], $.Ls = g, $.p = {}, $;
1503
1503
  }));
1504
1504
  })($n)), $n.exports;
1505
1505
  }
1506
1506
  var pi = mi();
1507
- const le = /* @__PURE__ */ Ka(pi);
1508
- var Fn = { exports: {} }, vi = Fn.exports, yo;
1509
- function hi() {
1507
+ const ie = /* @__PURE__ */ Ka(pi);
1508
+ var Fn = { exports: {} }, hi = Fn.exports, yo;
1509
+ function vi() {
1510
1510
  return yo || (yo = 1, (function(e, n) {
1511
1511
  (function(t, a) {
1512
1512
  e.exports = a();
1513
- })(vi, (function() {
1513
+ })(hi, (function() {
1514
1514
  var t = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
1515
1515
  return function(o, l, s) {
1516
1516
  var i = l.prototype;
1517
- s.utc = function(h) {
1518
- var f = { date: h, utc: !0, args: arguments };
1517
+ s.utc = function(v) {
1518
+ var f = { date: v, utc: !0, args: arguments };
1519
1519
  return new l(f);
1520
- }, i.utc = function(h) {
1520
+ }, i.utc = function(v) {
1521
1521
  var f = s(this.toDate(), { locale: this.$L, utc: !0 });
1522
- return h ? f.add(this.utcOffset(), t) : f;
1522
+ return v ? f.add(this.utcOffset(), t) : f;
1523
1523
  }, i.local = function() {
1524
1524
  return s(this.toDate(), { locale: this.$L, utc: !1 });
1525
1525
  };
1526
1526
  var u = i.parse;
1527
- i.parse = function(h) {
1528
- h.utc && (this.$u = !0), this.$utils().u(h.$offset) || (this.$offset = h.$offset), u.call(this, h);
1527
+ i.parse = function(v) {
1528
+ v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
1529
1529
  };
1530
1530
  var m = i.init;
1531
1531
  i.init = function() {
1532
1532
  if (this.$u) {
1533
- var h = this.$d;
1534
- this.$y = h.getUTCFullYear(), this.$M = h.getUTCMonth(), this.$D = h.getUTCDate(), this.$W = h.getUTCDay(), this.$H = h.getUTCHours(), this.$m = h.getUTCMinutes(), this.$s = h.getUTCSeconds(), this.$ms = h.getUTCMilliseconds();
1533
+ var v = this.$d;
1534
+ this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
1535
1535
  } else m.call(this);
1536
1536
  };
1537
1537
  var c = i.utcOffset;
1538
- i.utcOffset = function(h, f) {
1538
+ i.utcOffset = function(v, f) {
1539
1539
  var d = this.$utils().u;
1540
- if (d(h)) return this.$u ? 0 : d(this.$offset) ? c.call(this) : this.$offset;
1541
- if (typeof h == "string" && (h = (function(I) {
1540
+ if (d(v)) return this.$u ? 0 : d(this.$offset) ? c.call(this) : this.$offset;
1541
+ if (typeof v == "string" && (v = (function(I) {
1542
1542
  I === void 0 && (I = "");
1543
1543
  var g = I.match(a);
1544
1544
  if (!g) return null;
1545
- var _ = ("" + g[0]).match(r) || ["-", 0, 0], B = _[0], E = 60 * +_[1] + +_[2];
1546
- return E === 0 ? 0 : B === "+" ? E : -E;
1547
- })(h), h === null)) return this;
1548
- var v = Math.abs(h) <= 16 ? 60 * h : h;
1549
- if (v === 0) return this.utc(f);
1545
+ var _ = ("" + g[0]).match(r) || ["-", 0, 0], B = _[0], k = 60 * +_[1] + +_[2];
1546
+ return k === 0 ? 0 : B === "+" ? k : -k;
1547
+ })(v), v === null)) return this;
1548
+ var h = Math.abs(v) <= 16 ? 60 * v : v;
1549
+ if (h === 0) return this.utc(f);
1550
1550
  var C = this.clone();
1551
- if (f) return C.$offset = v, C.$u = !1, C;
1551
+ if (f) return C.$offset = h, C.$u = !1, C;
1552
1552
  var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1553
- return (C = this.local().add(v + x, t)).$offset = v, C.$x.$localOffset = x, C;
1553
+ return (C = this.local().add(h + x, t)).$offset = h, C.$x.$localOffset = x, C;
1554
1554
  };
1555
1555
  var b = i.format;
1556
- i.format = function(h) {
1557
- var f = h || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1556
+ i.format = function(v) {
1557
+ var f = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1558
1558
  return b.call(this, f);
1559
1559
  }, i.valueOf = function() {
1560
- var h = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1561
- return this.$d.valueOf() - 6e4 * h;
1560
+ var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1561
+ return this.$d.valueOf() - 6e4 * v;
1562
1562
  }, i.isUTC = function() {
1563
1563
  return !!this.$u;
1564
1564
  }, i.toISOString = function() {
@@ -1567,20 +1567,20 @@ function hi() {
1567
1567
  return this.toDate().toUTCString();
1568
1568
  };
1569
1569
  var p = i.toDate;
1570
- i.toDate = function(h) {
1571
- return h === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
1570
+ i.toDate = function(v) {
1571
+ return v === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
1572
1572
  };
1573
- var k = i.diff;
1574
- i.diff = function(h, f, d) {
1575
- if (h && this.$u === h.$u) return k.call(this, h, f, d);
1576
- var v = this.local(), C = s(h).local();
1577
- return k.call(v, C, f, d);
1573
+ var E = i.diff;
1574
+ i.diff = function(v, f, d) {
1575
+ if (v && this.$u === v.$u) return E.call(this, v, f, d);
1576
+ var h = this.local(), C = s(v).local();
1577
+ return E.call(h, C, f, d);
1578
1578
  };
1579
1579
  };
1580
1580
  }));
1581
1581
  })(Fn)), Fn.exports;
1582
1582
  }
1583
- var gi = hi();
1583
+ var gi = vi();
1584
1584
  const Jo = /* @__PURE__ */ Ka(gi);
1585
1585
  var On = { exports: {} }, bi = On.exports, So;
1586
1586
  function yi() {
@@ -1597,22 +1597,22 @@ function yi() {
1597
1597
  }, c = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
1598
1598
  (this.zone || (this.zone = {})).offset = (function(d) {
1599
1599
  if (!d || d === "Z") return 0;
1600
- var v = d.match(/([+-]|\d\d)/g), C = 60 * v[1] + (+v[2] || 0);
1601
- return C === 0 ? 0 : v[0] === "+" ? -C : C;
1600
+ var h = d.match(/([+-]|\d\d)/g), C = 60 * h[1] + (+h[2] || 0);
1601
+ return C === 0 ? 0 : h[0] === "+" ? -C : C;
1602
1602
  })(f);
1603
1603
  }], b = function(f) {
1604
1604
  var d = i[f];
1605
1605
  return d && (d.indexOf ? d : d.s.concat(d.f));
1606
1606
  }, p = function(f, d) {
1607
- var v, C = i.meridiem;
1607
+ var h, C = i.meridiem;
1608
1608
  if (C) {
1609
1609
  for (var x = 1; x <= 24; x += 1) if (f.indexOf(C(x, 0, d)) > -1) {
1610
- v = x > 12;
1610
+ h = x > 12;
1611
1611
  break;
1612
1612
  }
1613
- } else v = f === (d ? "pm" : "PM");
1614
- return v;
1615
- }, k = { A: [s, function(f) {
1613
+ } else h = f === (d ? "pm" : "PM");
1614
+ return h;
1615
+ }, E = { A: [s, function(f) {
1616
1616
  this.afternoon = p(f, !1);
1617
1617
  }], a: [s, function(f) {
1618
1618
  this.afternoon = p(f, !0);
@@ -1625,14 +1625,14 @@ function yi() {
1625
1625
  }], SSS: [/\d{3}/, function(f) {
1626
1626
  this.milliseconds = +f;
1627
1627
  }], s: [l, m("seconds")], ss: [l, m("seconds")], m: [l, m("minutes")], mm: [l, m("minutes")], H: [l, m("hours")], h: [l, m("hours")], HH: [l, m("hours")], hh: [l, m("hours")], D: [l, m("day")], DD: [o, m("day")], Do: [s, function(f) {
1628
- var d = i.ordinal, v = f.match(/\d+/);
1629
- if (this.day = v[0], d) for (var C = 1; C <= 31; C += 1) d(C).replace(/\[|\]/g, "") === f && (this.day = C);
1628
+ var d = i.ordinal, h = f.match(/\d+/);
1629
+ if (this.day = h[0], d) for (var C = 1; C <= 31; C += 1) d(C).replace(/\[|\]/g, "") === f && (this.day = C);
1630
1630
  }], w: [l, m("week")], ww: [o, m("week")], M: [l, m("month")], MM: [o, m("month")], MMM: [s, function(f) {
1631
- var d = b("months"), v = (b("monthsShort") || d.map((function(C) {
1631
+ var d = b("months"), h = (b("monthsShort") || d.map((function(C) {
1632
1632
  return C.slice(0, 3);
1633
1633
  }))).indexOf(f) + 1;
1634
- if (v < 1) throw new Error();
1635
- this.month = v % 12 || v;
1634
+ if (h < 1) throw new Error();
1635
+ this.month = h % 12 || h;
1636
1636
  }], MMMM: [s, function(f) {
1637
1637
  var d = b("months").indexOf(f) + 1;
1638
1638
  if (d < 1) throw new Error();
@@ -1640,17 +1640,17 @@ function yi() {
1640
1640
  }], Y: [/[+-]?\d+/, m("year")], YY: [o, function(f) {
1641
1641
  this.year = u(f);
1642
1642
  }], YYYY: [/\d{4}/, m("year")], Z: c, ZZ: c };
1643
- function h(f) {
1644
- var d, v;
1645
- d = f, v = i && i.formats;
1643
+ function v(f) {
1644
+ var d, h;
1645
+ d = f, h = i && i.formats;
1646
1646
  for (var C = (f = d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, R, O) {
1647
1647
  var M = O && O.toUpperCase();
1648
- return R || v[O] || t[O] || v[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(A, w, y) {
1648
+ return R || h[O] || t[O] || h[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(A, w, y) {
1649
1649
  return w || y.slice(1);
1650
1650
  }));
1651
1651
  }))).match(a), x = C.length, I = 0; I < x; I += 1) {
1652
- var g = C[I], _ = k[g], B = _ && _[0], E = _ && _[1];
1653
- C[I] = E ? { regex: B, parser: E } : g.replace(/^\[|\]$/g, "");
1652
+ var g = C[I], _ = E[g], B = _ && _[0], k = _ && _[1];
1653
+ C[I] = k ? { regex: B, parser: k } : g.replace(/^\[|\]$/g, "");
1654
1654
  }
1655
1655
  return function($) {
1656
1656
  for (var R = {}, O = 0, M = 0; O < x; O += 1) {
@@ -1670,29 +1670,29 @@ function yi() {
1670
1670
  })(R), R;
1671
1671
  };
1672
1672
  }
1673
- return function(f, d, v) {
1674
- v.p.customParseFormat = !0, f && f.parseTwoDigitYear && (u = f.parseTwoDigitYear);
1673
+ return function(f, d, h) {
1674
+ h.p.customParseFormat = !0, f && f.parseTwoDigitYear && (u = f.parseTwoDigitYear);
1675
1675
  var C = d.prototype, x = C.parse;
1676
1676
  C.parse = function(I) {
1677
1677
  var g = I.date, _ = I.utc, B = I.args;
1678
1678
  this.$u = _;
1679
- var E = B[1];
1680
- if (typeof E == "string") {
1679
+ var k = B[1];
1680
+ if (typeof k == "string") {
1681
1681
  var $ = B[2] === !0, R = B[3] === !0, O = $ || R, M = B[2];
1682
- R && (M = B[2]), i = this.$locale(), !$ && M && (i = v.Ls[M]), this.$d = (function(S, D, F, H) {
1682
+ R && (M = B[2]), i = this.$locale(), !$ && M && (i = h.Ls[M]), this.$d = (function(S, D, F, H) {
1683
1683
  try {
1684
1684
  if (["x", "X"].indexOf(D) > -1) return new Date((D === "X" ? 1e3 : 1) * S);
1685
- var X = h(D)(S), re = X.year, de = X.month, we = X.day, Ce = X.hours, z = X.minutes, te = X.seconds, q = X.milliseconds, W = X.zone, me = X.week, G = /* @__PURE__ */ new Date(), J = we || (re || de ? 1 : G.getDate()), ie = re || G.getFullYear(), Te = 0;
1686
- re && !de || (Te = de > 0 ? de - 1 : G.getMonth());
1687
- var Ft, j = Ce || 0, se = z || 0, ge = te || 0, pe = q || 0;
1688
- return W ? new Date(Date.UTC(ie, Te, J, j, se, ge, pe + 60 * W.offset * 1e3)) : F ? new Date(Date.UTC(ie, Te, J, j, se, ge, pe)) : (Ft = new Date(ie, Te, J, j, se, ge, pe), me && (Ft = H(Ft).week(me).toDate()), Ft);
1685
+ var X = v(D)(S), re = X.year, de = X.month, Ce = X.day, Se = X.hours, z = X.minutes, te = X.seconds, q = X.milliseconds, W = X.zone, me = X.week, K = /* @__PURE__ */ new Date(), J = Ce || (re || de ? 1 : K.getDate()), le = re || K.getFullYear(), Te = 0;
1686
+ re && !de || (Te = de > 0 ? de - 1 : K.getMonth());
1687
+ var Ft, j = Se || 0, se = z || 0, ge = te || 0, pe = q || 0;
1688
+ return W ? new Date(Date.UTC(le, Te, J, j, se, ge, pe + 60 * W.offset * 1e3)) : F ? new Date(Date.UTC(le, Te, J, j, se, ge, pe)) : (Ft = new Date(le, Te, J, j, se, ge, pe), me && (Ft = H(Ft).week(me).toDate()), Ft);
1689
1689
  } catch {
1690
1690
  return /* @__PURE__ */ new Date("");
1691
1691
  }
1692
- })(g, E, _, v), this.init(), M && M !== !0 && (this.$L = this.locale(M).$L), O && g != this.format(E) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
1693
- } else if (E instanceof Array) for (var A = E.length, w = 1; w <= A; w += 1) {
1694
- B[1] = E[w - 1];
1695
- var y = v.apply(this, B);
1692
+ })(g, k, _, h), this.init(), M && M !== !0 && (this.$L = this.locale(M).$L), O && g != this.format(k) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
1693
+ } else if (k instanceof Array) for (var A = k.length, w = 1; w <= A; w += 1) {
1694
+ B[1] = k[w - 1];
1695
+ var y = h.apply(this, B);
1696
1696
  if (y.isValid()) {
1697
1697
  this.$d = y.$d, this.$L = y.$L, this.init();
1698
1698
  break;
@@ -1707,16 +1707,16 @@ function yi() {
1707
1707
  }
1708
1708
  var Si = yi();
1709
1709
  const Qo = /* @__PURE__ */ Ka(Si);
1710
- le.extend(Jo);
1711
- le.extend(Qo);
1712
- const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000000Z", la = "2100-01-01T00:00:00.000000Z", ad = () => le().utc().toDate(), wi = (e) => le(e).toDate(), od = () => il(le().utc().unix()), Ia = (e = !0, n = !1) => e && !n ? le().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : le().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", rd = (e = 0) => e === 0 ? le().startOf("day").utc().format(qn) + Ct : le().add(e, "days").startOf("day").utc().format(qn) + Ct, ld = (e = 0) => e === 0 ? le().endOf("day").utc().format(qn) + Ct : le().add(e, "days").endOf("day").utc().format(qn) + Ct, Ci = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? le(n).add(e, "minutes").toDate() : e < 0 ? le(n).subtract(Math.abs(e), "minutes").toDate() : n), Ma = (e, n = Ct) => le(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, id = () => le().utc().format("YYYY"), Di = (e, n = "", t = !1) => e === la || e === ra || e === "" || K(e) || T(e) ? n : le(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), sd = (e, n = "", t = !1) => {
1713
- if (e === la || e === ra || e === "" || K(e) || T(e))
1710
+ ie.extend(Jo);
1711
+ ie.extend(Qo);
1712
+ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000000Z", la = "2100-01-01T00:00:00.000000Z", ad = () => ie().utc().toDate(), wi = (e) => ie(e).toDate(), od = () => il(ie().utc().unix()), Ia = (e = !0, n = !1) => e && !n ? ie().utc().format("YYYY-MM-DDTHH:mm:ss") + Ct : e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00") + Ct : !e && n ? ie().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : ie().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", rd = (e = 0) => e === 0 ? ie().startOf("day").utc().format(qn) + Ct : ie().add(e, "days").startOf("day").utc().format(qn) + Ct, ld = (e = 0) => e === 0 ? ie().endOf("day").utc().format(qn) + Ct : ie().add(e, "days").endOf("day").utc().format(qn) + Ct, Ci = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? ie(n).add(e, "minutes").toDate() : e < 0 ? ie(n).subtract(Math.abs(e), "minutes").toDate() : n), Ma = (e, n = Ct) => ie(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, id = () => ie().utc().format("YYYY"), Di = (e, n = "", t = !1) => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), sd = (e, n = "", t = !1) => {
1713
+ if (e === la || e === ra || e === "" || G(e) || T(e))
1714
1714
  return n;
1715
1715
  let a = !0, r = !0;
1716
- const o = le(e), l = le();
1717
- return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? le(o).format(t ? "H:mm:ss" : "H:mm") : a ? le(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : le(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1718
- }, ud = (e, n = "") => e === la || e === ra || e === "" || K(e) || T(e) ? n : le(e).format("DD.MM.YYYY"), cd = (e, n = "") => e === la || e === ra || e === "" || K(e) || T(e) ? n : le(e).format("HH:mm"), dd = (e, n, t = "ms") => {
1719
- const a = le(e), r = le(n);
1716
+ const o = ie(e), l = ie();
1717
+ return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? ie(o).format(t ? "H:mm:ss" : "H:mm") : a ? ie(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : ie(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1718
+ }, ud = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("DD.MM.YYYY"), cd = (e, n = "") => e === la || e === ra || e === "" || G(e) || T(e) ? n : ie(e).format("HH:mm"), dd = (e, n, t = "ms") => {
1719
+ const a = ie(e), r = ie(n);
1720
1720
  return a.diff(r, t);
1721
1721
  }, fd = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), ki = (e, n, t = 0, a = !1) => {
1722
1722
  const r = new Date(e);
@@ -1728,7 +1728,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
1728
1728
  } : { from: r, until: o };
1729
1729
  }, fa = ki, Ga = (e) => {
1730
1730
  e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
1731
- }, Ei = /* @__PURE__ */ Se({
1731
+ }, Ei = /* @__PURE__ */ we({
1732
1732
  __name: "AFilterSubmitButton",
1733
1733
  props: {
1734
1734
  buttonT: { default: "common.button.submitFilter" },
@@ -1755,7 +1755,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
1755
1755
  _: 1
1756
1756
  }, 8, ["class", "data-cy", "variant"]));
1757
1757
  }
1758
- }), Ti = /* @__PURE__ */ Se({
1758
+ }), Ti = /* @__PURE__ */ we({
1759
1759
  __name: "AFilterResetButton",
1760
1760
  props: {
1761
1761
  tooltipT: { default: "common.button.resetFilter" },
@@ -1819,7 +1819,7 @@ const Ct = ".000000Z", qn = "YYYY-MM-DDTHH:mm:ss", ra = "1970-01-01T00:00:00.000
1819
1819
  }
1820
1820
  o[r[0]] = t;
1821
1821
  };
1822
- function vd(e, n, t = ".") {
1822
+ function hd(e, n, t = ".") {
1823
1823
  const a = n.split(t), r = a.length - 1;
1824
1824
  function o(l, s = 0) {
1825
1825
  const i = a[s];
@@ -1831,7 +1831,7 @@ function vd(e, n, t = ".") {
1831
1831
  }
1832
1832
  return o(e), e;
1833
1833
  }
1834
- const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Jl.includes(e), hd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
1834
+ const Cn = (e, n, t = "") => un(n) ? e : sl(t === "" ? e : t, n), Dn = (e) => Jl.includes(e), vd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
1835
1835
  e().get(Cn(n, t), o).then((i) => Dn(i.status) ? i.data ? l(i.data) : i.status === Wt ? l(null) : s(new ot()) : s(new Xt(i.status))).catch((i) => bn(i) ? s(new Kt(i, i.config?.url)) : yn(i) ? s(new Gt(i, a, r, i)) : wn(i) ? s(new Jt(i, a, r, i)) : Sn(i) ? s(new Zt(i, i)) : s(new ot(i)));
1836
1836
  }), { t: Ii } = De.global;
1837
1837
  function Mi() {
@@ -1974,7 +1974,7 @@ function Xa() {
1974
1974
  datesCompare: es()
1975
1975
  };
1976
1976
  }
1977
- const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, as = { class: "a-datetime-picker-time__arrows" }, os = { class: "a-datetime-picker-time__item" }, rs = { class: "a-datetime-picker-time__arrows" }, ls = /* @__PURE__ */ Se({
1977
+ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, as = { class: "a-datetime-picker-time__arrows" }, os = { class: "a-datetime-picker-time__item" }, rs = { class: "a-datetime-picker-time__arrows" }, ls = /* @__PURE__ */ we({
1978
1978
  __name: "TimePicker",
1979
1979
  props: {
1980
1980
  modelValue: {
@@ -2019,9 +2019,9 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2019
2019
  }, p = () => {
2020
2020
  const I = parseInt(l.value || "0");
2021
2021
  l.value = I >= 0 && I <= 59 ? String(I).padStart(2, "0") : "00";
2022
- }, k = () => {
2022
+ }, E = () => {
2023
2023
  b(), a("onEnterKeyup");
2024
- }, h = () => {
2024
+ }, v = () => {
2025
2025
  p(), a("onEnterKeyup");
2026
2026
  }, f = () => {
2027
2027
  const I = parseInt(o.value || "0"), g = isNaN(I) ? 1 : (I + 1) % 24;
@@ -2029,7 +2029,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2029
2029
  }, d = () => {
2030
2030
  const I = parseInt(o.value || "0"), g = isNaN(I) ? 23 : (I - 1 + 24) % 24;
2031
2031
  o.value = String(g).padStart(2, "0");
2032
- }, v = () => {
2032
+ }, h = () => {
2033
2033
  const I = parseInt(l.value || "0"), g = parseInt(o.value || "0");
2034
2034
  if (isNaN(I)) {
2035
2035
  l.value = "01";
@@ -2062,11 +2062,11 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2062
2062
  };
2063
2063
  return Ie([o, l], ([I, g], [_, B]) => {
2064
2064
  if (I === _ && g === B) return;
2065
- const E = parseInt(I ?? (r.value ? r.value.hours.toString() : "12")), $ = parseInt(g ?? (r.value ? r.value.minutes.toString() : "0"));
2066
- E >= 0 && E <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: E, minutes: $ });
2065
+ const k = parseInt(I ?? (r.value ? r.value.hours.toString() : "12")), $ = parseInt(g ?? (r.value ? r.value.minutes.toString() : "0"));
2066
+ k >= 0 && k <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: k, minutes: $ });
2067
2067
  }), n({
2068
2068
  focusHour: x
2069
- }), (I, g) => (U(), ve("div", ts, [
2069
+ }), (I, g) => (U(), he("div", ts, [
2070
2070
  $e("div", ns, [
2071
2071
  Yn($e("input", {
2072
2072
  ref_key: "hoursRefInput",
@@ -2080,7 +2080,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2080
2080
  max: "23",
2081
2081
  onFocus: c,
2082
2082
  onBlur: b,
2083
- onKeyup: ka(k, ["enter"])
2083
+ onKeyup: ka(E, ["enter"])
2084
2084
  }, null, 544), [
2085
2085
  [oo, u.value]
2086
2086
  ]),
@@ -2123,7 +2123,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2123
2123
  max: "59",
2124
2124
  onFocus: c,
2125
2125
  onBlur: p,
2126
- onKeyup: ka(h, ["enter"])
2126
+ onKeyup: ka(v, ["enter"])
2127
2127
  }, null, 544), [
2128
2128
  [oo, m.value]
2129
2129
  ]),
@@ -2132,7 +2132,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2132
2132
  tabindex: "-1",
2133
2133
  variant: "text",
2134
2134
  class: "a-datetime-picker-time__arrow-up",
2135
- onClick: v
2135
+ onClick: h
2136
2136
  }, {
2137
2137
  default: L(() => [
2138
2138
  N(Pe, { icon: "mdi-chevron-up" })
@@ -2157,7 +2157,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2157
2157
  }), is = /* @__PURE__ */ Zo(ls, [["__scopeId", "data-v-a07d5c55"]]), ss = { class: "d-flex" }, us = { class: "ml-1" }, cs = {
2158
2158
  key: 0,
2159
2159
  class: "required"
2160
- }, ds = /* @__PURE__ */ Se({
2160
+ }, ds = /* @__PURE__ */ we({
2161
2161
  __name: "ADatetimePicker",
2162
2162
  props: {
2163
2163
  modelValue: {},
@@ -2178,37 +2178,37 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2178
2178
  emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
2179
2179
  setup(e, { emit: n }) {
2180
2180
  const t = e, a = n;
2181
- le.extend(Jo), le.extend(Qo);
2182
- const r = P(!1), o = P(0), l = P(0), s = Mt("timePickerInstance"), i = Mt("inputInstance"), u = Mt("confirmRefButton"), m = P(""), c = P(null), b = P(null), p = P(null), { t: k } = Ne(), h = V(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } = Xa(), d = V(() => ({
2181
+ ie.extend(Jo), ie.extend(Qo);
2182
+ const r = P(!1), o = P(0), l = P(0), s = Mt("timePickerInstance"), i = Mt("inputInstance"), u = Mt("confirmRefButton"), m = P(""), c = P(null), b = P(null), p = P(null), { t: E } = Ne(), v = V(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: f } = Xa(), d = V(() => ({
2183
2183
  textFieldValue: {
2184
2184
  required: f(t.required)
2185
2185
  }
2186
- })), v = Hn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
2186
+ })), h = Hn(d, { textFieldValue: m }), C = V(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), x = (S) => {
2187
2187
  S !== t.modelValue && a("update:modelValue", S);
2188
2188
  }, I = (S) => {
2189
- K(S) || ((K(b.value) || S.hour() !== b.value.hours || S.minute() !== b.value.minutes) && (b.value = { hours: S.hour(), minutes: S.minute() }), (K(c.value) || S.year() !== c.value.getFullYear() || S.month() !== c.value.getMonth() || S.date() !== c.value.getDate()) && (c.value = S.toDate()));
2189
+ G(S) || ((G(b.value) || S.hour() !== b.value.hours || S.minute() !== b.value.minutes) && (b.value = { hours: S.hour(), minutes: S.minute() }), (G(c.value) || S.year() !== c.value.getFullYear() || S.month() !== c.value.getMonth() || S.date() !== c.value.getDate()) && (c.value = S.toDate()));
2190
2190
  };
2191
2191
  Ie(
2192
2192
  () => t.modelValue,
2193
2193
  (S, D) => {
2194
2194
  if (S !== D) {
2195
- if (K(S) || T(S)) {
2195
+ if (G(S) || T(S)) {
2196
2196
  p.value = null;
2197
2197
  return;
2198
2198
  }
2199
- t.lastMinuteMoment ? p.value = le(S, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : p.value = le(S, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
2199
+ t.lastMinuteMoment ? p.value = ie(S, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : p.value = ie(S, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
2200
2200
  }
2201
2201
  },
2202
2202
  { immediate: !0 }
2203
2203
  );
2204
- const g = (S, D) => K(S) ? D : D.set("date", S.getDate()).set("month", S.getMonth()).set("year", S.getFullYear()), _ = (S, D) => K(S) ? D : D.set("hour", S.hours).set("minute", S.minutes);
2204
+ const g = (S, D) => G(S) ? D : D.set("date", S.getDate()).set("month", S.getMonth()).set("year", S.getFullYear()), _ = (S, D) => G(S) ? D : D.set("hour", S.hours).set("minute", S.minutes);
2205
2205
  Ie([b, c], ([S, D]) => {
2206
2206
  let F = null;
2207
- K(p.value) ? K(t.modelValue) ? t.lastMinuteMoment ? F = le().hour(0).minute(0).second(59).millisecond(999) : F = le().hour(0).minute(0).second(0).millisecond(0) : F = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = g(D, F), !F.isSame(Zn(p.value)) && (p.value = F);
2207
+ G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? F = ie().hour(0).minute(0).second(59).millisecond(999) : F = ie().hour(0).minute(0).second(0).millisecond(0) : F = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : F = p.value, F = _(S, F), F = g(D, F), !F.isSame(Zn(p.value)) && (p.value = F);
2208
2208
  }), Ie(
2209
2209
  p,
2210
2210
  (S) => {
2211
- if (K(S)) {
2211
+ if (G(S)) {
2212
2212
  m.value = "", x(null);
2213
2213
  return;
2214
2214
  }
@@ -2218,36 +2218,36 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2218
2218
  { immediate: !0 }
2219
2219
  ), Ie(r, (S) => {
2220
2220
  if (S) {
2221
- E(), K(p.value) && (K(t.defaultValue) || T(t.defaultValue)) && (t.lastMinuteMoment ? p.value = le().second(59).millisecond(999) : p.value = le().second(0).millisecond(0)), ze(() => {
2221
+ k(), G(p.value) && (G(t.defaultValue) || T(t.defaultValue)) && (t.lastMinuteMoment ? p.value = ie().second(59).millisecond(999) : p.value = ie().second(0).millisecond(0)), ze(() => {
2222
2222
  o.value++;
2223
2223
  }), a("onOpen");
2224
2224
  return;
2225
2225
  }
2226
2226
  a("onClose");
2227
2227
  });
2228
- const B = V(() => he(t.errorMessages) ? t.errorMessages : v.value.textFieldValue.$errors.length ? [v.value.textFieldValue.$errors.map((S) => S.$message).join(" ")] : []), E = () => {
2228
+ const B = V(() => ve(t.errorMessages) ? t.errorMessages : h.value.textFieldValue.$errors.length ? [h.value.textFieldValue.$errors.map((S) => S.$message).join(" ")] : []), k = () => {
2229
2229
  const S = m.value.replace(/[^\s\d.:]/g, "").trim();
2230
2230
  if (S.length === 0 && !t.required) {
2231
2231
  p.value = null, a("blur");
2232
2232
  return;
2233
2233
  }
2234
- const D = le(S, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
2234
+ const D = ie(S, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
2235
2235
  if (D.isValid()) {
2236
2236
  let F = 0;
2237
- if (!K(t.modelValue)) {
2238
- const H = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2237
+ if (!G(t.modelValue)) {
2238
+ const H = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2239
2239
  H.isValid() && (F = H.second());
2240
2240
  }
2241
- p.value = D.second(F), v.value.textFieldValue.$touch(), a("blur");
2241
+ p.value = D.second(F), h.value.textFieldValue.$touch(), a("blur");
2242
2242
  return;
2243
2243
  }
2244
- K(p.value) || (m.value = p.value.format(C.value)), v.value.textFieldValue.$touch(), a("blur");
2244
+ G(p.value) || (m.value = p.value.format(C.value)), h.value.textFieldValue.$touch(), a("blur");
2245
2245
  }, $ = () => {
2246
- if (K(t.defaultValue) || T(t.defaultValue)) {
2246
+ if (G(t.defaultValue) || T(t.defaultValue)) {
2247
2247
  p.value = null, c.value = null, b.value = null, a("afterClear");
2248
2248
  return;
2249
2249
  }
2250
- p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
2250
+ p.value = ie(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
2251
2251
  }, R = () => {
2252
2252
  r.value = !1, i.value?.focus(), i.value?.blur(), a("onClose"), a("blur");
2253
2253
  }, O = () => {
@@ -2259,7 +2259,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2259
2259
  }, w = () => {
2260
2260
  s.value?.focusHour();
2261
2261
  }, y = () => {
2262
- t.lastMinuteMoment ? p.value = le().second(59).millisecond(999) : p.value = le().second(0).millisecond(0), ze(() => {
2262
+ t.lastMinuteMoment ? p.value = ie().second(59).millisecond(999) : p.value = ie().second(0).millisecond(0), ze(() => {
2263
2263
  o.value++, l.value++;
2264
2264
  });
2265
2265
  };
@@ -2270,14 +2270,14 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2270
2270
  "onUpdate:modelValue": D[3] || (D[3] = (F) => m.value = F),
2271
2271
  "error-messages": B.value,
2272
2272
  "persistent-placeholder": !0,
2273
- placeholder: h.value,
2273
+ placeholder: v.value,
2274
2274
  class: "a-datetime-picker",
2275
2275
  "hide-details": "auto",
2276
2276
  disabled: e.disabled,
2277
2277
  autocomplete: "off",
2278
- onBlur: E,
2278
+ onBlur: k,
2279
2279
  onFocus: O,
2280
- onKeyup: ka(E, ["enter"])
2280
+ onKeyup: ka(k, ["enter"])
2281
2281
  }, _t({
2282
2282
  "append-inner": L(() => [
2283
2283
  e.clearable && e.defaultValue !== e.modelValue ? (U(), Q(Pe, {
@@ -2320,7 +2320,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2320
2320
  ]),
2321
2321
  _: 1
2322
2322
  })), [
2323
- [Lo, Z(k)("common.button.close")]
2323
+ [Lo, Z(E)("common.button.close")]
2324
2324
  ]),
2325
2325
  (U(), Q(Zr, it({
2326
2326
  key: o.value,
@@ -2345,7 +2345,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2345
2345
  class: "a-datetime-picker__bottom-button",
2346
2346
  tabindex: "8",
2347
2347
  onClick: y
2348
- }, ye(Z(k)("common.time.now")), 1),
2348
+ }, ye(Z(E)("common.time.now")), 1),
2349
2349
  $e("button", {
2350
2350
  ref_key: "confirmRefButton",
2351
2351
  ref: u,
@@ -2353,7 +2353,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2353
2353
  class: "a-datetime-picker__bottom-button",
2354
2354
  tabindex: "7",
2355
2355
  onClick: Ee(R, ["stop"])
2356
- }, ye(Z(k)("common.button.confirm")), 513)
2356
+ }, ye(Z(E)("common.button.confirm")), 513)
2357
2357
  ])
2358
2358
  ]),
2359
2359
  _: 1
@@ -2371,13 +2371,13 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2371
2371
  name: "label",
2372
2372
  fn: L(() => [
2373
2373
  Oe(ye(e.label), 1),
2374
- e.required ? (U(), ve("span", cs)) : be("", !0)
2374
+ e.required ? (U(), he("span", cs)) : be("", !0)
2375
2375
  ]),
2376
2376
  key: "0"
2377
2377
  }
2378
2378
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2379
2379
  }
2380
- }), er = /* @__PURE__ */ Zo(ds, [["__scopeId", "data-v-9d53bed3"]]), gd = /* @__PURE__ */ Se({
2380
+ }), er = /* @__PURE__ */ Zo(ds, [["__scopeId", "data-v-9d53bed3"]]), gd = /* @__PURE__ */ we({
2381
2381
  __name: "AFormDatetimePicker",
2382
2382
  props: {
2383
2383
  modelValue: {},
@@ -2403,12 +2403,12 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2403
2403
  }), s = P((_) => {
2404
2404
  }), i = P(() => {
2405
2405
  }), u = P(null);
2406
- if (o.value.enabled && he(t.collab)) {
2407
- const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: E, lockedByUser: $ } = aa(
2406
+ if (o.value.enabled && ve(t.collab)) {
2407
+ const { releaseCollabFieldLock: _, changeCollabFieldData: B, acquireCollabFieldLock: k, lockedByUser: $ } = aa(
2408
2408
  t.collab.room,
2409
2409
  t.collab.field
2410
2410
  );
2411
- l.value = _, s.value = B, i.value = E, Ie(
2411
+ l.value = _, s.value = B, i.value = k, Ie(
2412
2412
  $,
2413
2413
  (R) => {
2414
2414
  u.value = R;
@@ -2420,21 +2420,21 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2420
2420
  m.value = !0, i.value();
2421
2421
  }, p = () => {
2422
2422
  l.value(t.modelValue), m.value = !0;
2423
- }, { t: k } = Ne(), h = ee(Va, void 0), f = ee(Ha, void 0), d = () => {
2423
+ }, { t: E } = Ne(), v = ee(Va, void 0), f = ee(Ha, void 0), d = () => {
2424
2424
  c.value = !1, a("blur", T(t.modelValue) ? null : t.modelValue), t.v?.$touch(), m.value === !1 && l.value(t.modelValue);
2425
- }, v = () => {
2425
+ }, h = () => {
2426
2426
  c.value = !0, a("focus", t.modelValue), i.value();
2427
- }, C = V(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((_) => _.$message).join(" ")] : []), x = V(() => {
2428
- if (he(t.label)) return t.label;
2429
- if (T(h) || T(f) || T(t.v?.$path)) return "";
2430
- const { end: _ } = vn(t.v?.$path, ".");
2431
- return k(h + "." + f + ".model." + _);
2432
- }), I = V(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), g = V(() => he(t.disabled) ? t.disabled : !!u.value);
2427
+ }, C = V(() => ve(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((_) => _.$message).join(" ")] : []), x = V(() => {
2428
+ if (ve(t.label)) return t.label;
2429
+ if (T(v) || T(f) || T(t.v?.$path)) return "";
2430
+ const { end: _ } = hn(t.v?.$path, ".");
2431
+ return E(v + "." + f + ".model." + _);
2432
+ }), I = V(() => ve(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), g = V(() => ve(t.disabled) ? t.disabled : !!u.value);
2433
2433
  return Ie(r, (_, B) => {
2434
2434
  _ !== B && o.value.enabled && (c.value || m.value) && s.value(_);
2435
2435
  }), (_, B) => (U(), Q(er, it({
2436
2436
  modelValue: r.value,
2437
- "onUpdate:modelValue": B[0] || (B[0] = (E) => r.value = E),
2437
+ "onUpdate:modelValue": B[0] || (B[0] = (k) => r.value = k),
2438
2438
  "data-cy": e.dataCy,
2439
2439
  "error-messages": C.value,
2440
2440
  required: I.value,
@@ -2443,7 +2443,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2443
2443
  clearable: e.clearable
2444
2444
  }, _.$attrs, {
2445
2445
  onBlur: d,
2446
- onFocus: v,
2446
+ onFocus: h,
2447
2447
  onOnOpen: b,
2448
2448
  onOnClose: p
2449
2449
  }), {
@@ -2459,7 +2459,7 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2459
2459
  _: 3
2460
2460
  }, 16, ["modelValue", "data-cy", "error-messages", "required", "disabled", "label", "clearable"]));
2461
2461
  }
2462
- }), wo = /* @__PURE__ */ Se({
2462
+ }), wo = /* @__PURE__ */ we({
2463
2463
  __name: "AFormSwitch",
2464
2464
  props: {
2465
2465
  modelValue: { type: Boolean },
@@ -2474,13 +2474,13 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2474
2474
  const t = e, a = n, { collabOptions: r } = zt(), o = P((p) => {
2475
2475
  }), l = P(() => {
2476
2476
  }), s = P(null);
2477
- if (r.value.enabled && he(t.collab)) {
2478
- const { releaseCollabFieldLock: p, acquireCollabFieldLock: k, lockedByUser: h } = aa(
2477
+ if (r.value.enabled && ve(t.collab)) {
2478
+ const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = aa(
2479
2479
  t.collab.room,
2480
2480
  t.collab.field
2481
2481
  );
2482
- o.value = p, l.value = k, Ie(
2483
- h,
2482
+ o.value = p, l.value = E, Ie(
2483
+ v,
2484
2484
  (f) => {
2485
2485
  s.value = f;
2486
2486
  },
@@ -2497,14 +2497,14 @@ const ts = { class: "a-datetime-picker-time" }, ns = { class: "a-datetime-picker
2497
2497
  a("blur", t.modelValue), o.value(t.modelValue);
2498
2498
  }, c = () => {
2499
2499
  a("focus", t.modelValue), l.value();
2500
- }, b = V(() => he(t.disabled) ? t.disabled : !!s.value);
2501
- return (p, k) => (U(), Q(tl, {
2500
+ }, b = V(() => ve(t.disabled) ? t.disabled : !!s.value);
2501
+ return (p, E) => (U(), Q(tl, {
2502
2502
  "data-cy": e.dataCy,
2503
2503
  "model-value": e.modelValue,
2504
2504
  disabled: b.value,
2505
2505
  onBlur: m,
2506
2506
  onFocus: c,
2507
- "onUpdate:modelValue": k[0] || (k[0] = (h) => u(h)),
2507
+ "onUpdate:modelValue": E[0] || (E[0] = (v) => u(v)),
2508
2508
  onClick: Ee(i, ["stop"])
2509
2509
  }, _t({ _: 2 }, [
2510
2510
  e.hideLabel ? void 0 : {
@@ -2606,7 +2606,7 @@ function Dt() {
2606
2606
  if (m.type === "timeInterval" && m.related)
2607
2607
  s[o] = m.default, s[m.related] = i.fields[m.related].default;
2608
2608
  else if (ue(s[o]) && s[o].length > 0) {
2609
- const b = s[o].findIndex((k) => k === l), p = [...Zn(s[o])];
2609
+ const b = s[o].findIndex((E) => E === l), p = [...Zn(s[o])];
2610
2610
  p.splice(b, 1), s[o] = p;
2611
2611
  } else (Fe(s[o]) || Ht(s[o]) || st(s[o])) && (s[o] = m.default);
2612
2612
  }, a = (o, l, s) => {
@@ -2624,30 +2624,30 @@ function Dt() {
2624
2624
  isClearable: r
2625
2625
  };
2626
2626
  }
2627
- const vs = {
2627
+ const hs = {
2628
2628
  storeFiltersLocalStorage: !0,
2629
2629
  populateUrlParams: !0
2630
2630
  };
2631
2631
  function tr(e, n, t = {}) {
2632
- const a = { ...vs, ...t }, r = "~";
2632
+ const a = { ...hs, ...t }, r = "~";
2633
2633
  let o;
2634
2634
  Fe(a.storeFiltersLocalStorage) ? o = a.storeFiltersLocalStorage : st(a.storeFiltersLocalStorage) && a.storeFiltersLocalStorage === !0 && Fe(n.general.system) && Fe(n.general.subject) && (o = "tableFilter_" + n.general.system + "_" + n.general.subject);
2635
2635
  const l = () => {
2636
2636
  const d = {};
2637
- for (const v in e)
2637
+ for (const h in e)
2638
2638
  try {
2639
- const C = v, x = e[C];
2640
- !T(x) && !K(x) && !Aa(x) && x !== n.fields[C].default && (d[v] = x);
2639
+ const C = h, x = e[C];
2640
+ !T(x) && !G(x) && !Aa(x) && x !== n.fields[C].default && (d[h] = x);
2641
2641
  } catch {
2642
2642
  }
2643
2643
  return d;
2644
- }, s = (d, v, C) => {
2644
+ }, s = (d, h, C) => {
2645
2645
  const x = new URLSearchParams();
2646
2646
  for (const I in d) {
2647
2647
  const g = d[I];
2648
- T(g) || K(g) || ue(g) && Aa(g) || gn(g) && un(g) || Fe(g) && g.length === 0 || (ue(g) ? x.set(I, g.join(",")) : x.set(I, String(g)));
2648
+ T(g) || G(g) || ue(g) && Aa(g) || gn(g) && un(g) || Fe(g) && g.length === 0 || (ue(g) ? x.set(I, g.join(",")) : x.set(I, String(g)));
2649
2649
  }
2650
- return C && v.value.sortBy && x.set(ma, `${v.value.sortBy.key},${v.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
2650
+ return C && h.value.sortBy && x.set(ma, `${h.value.sortBy.key},${h.value.sortBy.order}`), x.size === 0 ? "" : x.toString() + r;
2651
2651
  }, i = (d) => {
2652
2652
  if (!d) return null;
2653
2653
  if (d.startsWith("#") && (d = d.substring(1)), d.endsWith(r))
@@ -2659,14 +2659,14 @@ function tr(e, n, t = {}) {
2659
2659
  else
2660
2660
  return null;
2661
2661
  }
2662
- const v = new URLSearchParams(d), C = {};
2662
+ const h = new URLSearchParams(d), C = {};
2663
2663
  let x = null;
2664
- const I = v.get(ma);
2664
+ const I = h.get(ma);
2665
2665
  if (I) {
2666
2666
  const [g, _] = I.split(",");
2667
- g && (_ === mt.Asc || _ === mt.Desc) && (x = { key: g, order: _ }), v.delete(ma);
2667
+ g && (_ === mt.Asc || _ === mt.Desc) && (x = { key: g, order: _ }), h.delete(ma);
2668
2668
  }
2669
- for (const [g, _] of v.entries()) {
2669
+ for (const [g, _] of h.entries()) {
2670
2670
  const B = n.fields[g];
2671
2671
  if (T(B)) {
2672
2672
  console.error(`Filter config not found for ${g}`);
@@ -2691,21 +2691,21 @@ function tr(e, n, t = {}) {
2691
2691
  return !d || !Fe(d) ? null : i(d);
2692
2692
  };
2693
2693
  return {
2694
- loadStoredFilters: (d, v) => {
2694
+ loadStoredFilters: (d, h) => {
2695
2695
  let C = "hash", x = c();
2696
- if (K(x) && (C = "localStorage", x = p()), K(x) || un(x.filters) && un(x.sortBy))
2697
- return v && v(), !1;
2696
+ if (G(x) && (C = "localStorage", x = p()), G(x) || un(x.filters) && un(x.sortBy))
2697
+ return h && h(), !1;
2698
2698
  for (const I in e) {
2699
2699
  const g = I;
2700
2700
  let _ = x.filters[g];
2701
2701
  if (!T(_)) {
2702
2702
  if (Fe(_)) {
2703
2703
  const B = Ho(_);
2704
- if (!K(B))
2704
+ if (!G(B))
2705
2705
  _ = B;
2706
2706
  else {
2707
- const E = qo(_);
2708
- K(E) || (_ = E);
2707
+ const k = qo(_);
2708
+ G(k) || (_ = k);
2709
2709
  }
2710
2710
  }
2711
2711
  e[g] = _;
@@ -2715,14 +2715,14 @@ function tr(e, n, t = {}) {
2715
2715
  const I = localStorage.getItem(o);
2716
2716
  I && u(I);
2717
2717
  }
2718
- return d.value = { ...d.value, sortBy: x.sortBy }, v && v(), !0;
2718
+ return d.value = { ...d.value, sortBy: x.sortBy }, h && h(), !0;
2719
2719
  },
2720
- resetFilter: (d, v) => {
2721
- d.value = { ...d.value, page: 1 }, o && localStorage && localStorage.removeItem(o), m(), n.touched = !1, v && v();
2720
+ resetFilter: (d, h) => {
2721
+ d.value = { ...d.value, page: 1 }, o && localStorage && localStorage.removeItem(o), m(), n.touched = !1, h && h();
2722
2722
  },
2723
- submitFilter: (d, v) => {
2723
+ submitFilter: (d, h) => {
2724
2724
  const C = l(), x = s(C, d, !0);
2725
- u(x), b(x), d.value = { ...d.value, page: 1 }, n.touched = !1, v && v();
2725
+ u(x), b(x), d.value = { ...d.value, page: 1 }, n.touched = !1, h && h();
2726
2726
  },
2727
2727
  serializeFilters: s,
2728
2728
  deserializeFilters: i
@@ -2774,7 +2774,7 @@ function bd(e = void 0) {
2774
2774
  title: "Vlastné"
2775
2775
  }
2776
2776
  ];
2777
- return T(e) ? r : r.filter((o) => e.includes(o.value) || K(o.value));
2777
+ return T(e) ? r : r.filter((o) => e.includes(o.value) || G(o.value));
2778
2778
  });
2779
2779
  return {
2780
2780
  timeIntervalOptions: t,
@@ -2798,21 +2798,21 @@ function yd(e) {
2798
2798
  v$: Hn(o, { dialogData: e }, { $scope: "AFilterTimeIntervalScope" })
2799
2799
  };
2800
2800
  }
2801
- function hs() {
2801
+ function vs() {
2802
2802
  const e = P([]), n = (c) => {
2803
2803
  i("limit", c);
2804
2804
  }, t = (c, b) => {
2805
2805
  i("offset", Math.max(0, (c - 1) * b));
2806
2806
  }, a = (c, b) => {
2807
- !K(c) && c.length > 0 && i("order[" + c + "]", b ? mt.Desc : mt.Asc);
2807
+ !G(c) && c.length > 0 && i("order[" + c + "]", b ? mt.Desc : mt.Asc);
2808
2808
  }, r = (c) => st(c) ? c ? "1" : "0" : c, o = (c, b, p) => {
2809
2809
  Fe(p) && p.length === 0 || e.value.push("filter_" + c + "[" + b + "]=" + r(p));
2810
- }, l = (c, b, p, k, h, f) => {
2811
- let d = p[c], v = p[b];
2812
- if (K(d) && h && !f && (d = k.fields[c].default), K(v) && h && !f && (v = k.fields[c].default), Fe(d) && Fe(v))
2810
+ }, l = (c, b, p, E, v, f) => {
2811
+ let d = p[c], h = p[b];
2812
+ if (G(d) && v && !f && (d = E.fields[c].default), G(h) && v && !f && (h = E.fields[c].default), Fe(d) && Fe(h))
2813
2813
  return {
2814
2814
  from: d,
2815
- until: v
2815
+ until: h
2816
2816
  };
2817
2817
  const C = Ia(), x = wi(C);
2818
2818
  switch (d) {
@@ -2830,7 +2830,7 @@ function hs() {
2830
2830
  };
2831
2831
  }
2832
2832
  return null;
2833
- }, s = (c, b) => K(c) ? b.mandatory && !b.exclude && !T(b.default) ? ue(b.default) ? b.default.join(",") : b.default : null : Fe(c) ? c.length === 0 ? b.mandatory && !b.exclude && !T(b.default) && !K(b.default) ? encodeURIComponent(ue(b.default) ? b.default.join(",") : b.default) : null : encodeURIComponent(c) : ue(c) ? c.length === 0 ? b.mandatory && !b.exclude && ue(b.default) ? b.default.map((p) => Fe(p) ? encodeURIComponent(p) : p).join(",") : null : c.map((p) => Fe(p) ? encodeURIComponent(p) : p).join(",") : Ht(c) || st(c) ? c : null, i = (c, b) => {
2833
+ }, s = (c, b) => G(c) ? b.mandatory && !b.exclude && !T(b.default) ? ue(b.default) ? b.default.join(",") : b.default : null : Fe(c) ? c.length === 0 ? b.mandatory && !b.exclude && !T(b.default) && !G(b.default) ? encodeURIComponent(ue(b.default) ? b.default.join(",") : b.default) : null : encodeURIComponent(c) : ue(c) ? c.length === 0 ? b.mandatory && !b.exclude && ue(b.default) ? b.default.map((p) => Fe(p) ? encodeURIComponent(p) : p).join(",") : null : c.map((p) => Fe(p) ? encodeURIComponent(p) : p).join(",") : Ht(c) || st(c) ? c : null, i = (c, b) => {
2834
2834
  e.value.push(c + "=" + b);
2835
2835
  };
2836
2836
  return {
@@ -2841,21 +2841,21 @@ function hs() {
2841
2841
  queryAddFilter: o,
2842
2842
  querySetFilters: (c, b) => {
2843
2843
  const p = b.general.simpleFilters;
2844
- for (const k in c) {
2845
- const h = c[k], f = b.fields[k];
2844
+ for (const E in c) {
2845
+ const v = c[E], f = b.fields[E];
2846
2846
  if (T(f) || f.exclude)
2847
2847
  continue;
2848
- const d = f.apiName || k;
2848
+ const d = f.apiName || E;
2849
2849
  if (f.type === "timeInterval" && !T(f.related)) {
2850
2850
  const C = l(
2851
- k,
2851
+ E,
2852
2852
  f.related,
2853
2853
  c,
2854
2854
  b,
2855
2855
  f.mandatory,
2856
2856
  f.exclude
2857
2857
  );
2858
- if (K(C))
2858
+ if (G(C))
2859
2859
  continue;
2860
2860
  const I = b.fields[f.related].apiName || f.related;
2861
2861
  if (p) {
@@ -2865,13 +2865,13 @@ function hs() {
2865
2865
  C.from && o("gte", d, C.from), C.until && o("lte", I, C.until);
2866
2866
  continue;
2867
2867
  }
2868
- const v = s(h, f);
2869
- if (!K(v)) {
2868
+ const h = s(v, f);
2869
+ if (!G(h)) {
2870
2870
  if (p) {
2871
- i(d, v);
2871
+ i(d, h);
2872
2872
  continue;
2873
2873
  }
2874
- o(f.variant, d, v);
2874
+ o(f.variant, d, h);
2875
2875
  }
2876
2876
  }
2877
2877
  },
@@ -2881,17 +2881,17 @@ function hs() {
2881
2881
  };
2882
2882
  }
2883
2883
  const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) && Object.hasOwn(e, "hasNextPage"), ys = (e, n, t) => {
2884
- const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: l, querySetFilters: s } = hs();
2884
+ const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: l, querySetFilters: s } = vs();
2885
2885
  return a(e.value.rowsPerPage), r(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === mt.Desc), s(n, t), l();
2886
2886
  }, Ss = (e, n, t, a = void 0, r = void 0, o = {}) => {
2887
2887
  let l = null;
2888
2888
  return {
2889
- executeFetch: async (u, m, c, b = void 0, p = void 0, k = !1) => {
2889
+ executeFetch: async (u, m, c, b = void 0, p = void 0, E = !1) => {
2890
2890
  l = new AbortController();
2891
2891
  try {
2892
- const h = c.general.elastic || k ? "/search" : "", f = he(p) ? p : r, d = he(b) ? b : a;
2892
+ const v = c.general.elastic || E ? "/search" : "", f = ve(p) ? p : r, d = ve(b) ? b : a;
2893
2893
  if (T(d)) throw new Error("Url template is undefined");
2894
- const v = (T(f) ? d : Cn(d, f)) + h + ys(u, m, c), C = await e().get(v, {
2894
+ const h = (T(f) ? d : Cn(d, f)) + v + ys(u, m, c), C = await e().get(h, {
2895
2895
  ...o,
2896
2896
  signal: l.signal
2897
2897
  });
@@ -2912,10 +2912,10 @@ const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) &&
2912
2912
  if (C.status === Wt)
2913
2913
  return [];
2914
2914
  throw new ot();
2915
- } catch (h) {
2916
- if (h instanceof DOMException && h.name === "AbortError")
2915
+ } catch (v) {
2916
+ if (v instanceof DOMException && v.name === "AbortError")
2917
2917
  return [];
2918
- throw ja(h) ? h : bn(h) ? new Kt(h, h.config?.url) : yn(h) ? new Gt(h, n, t, h) : wn(h) ? new Jt(h, n, t, h) : Sn(h) ? new Zt(h, h) : Xo(h) ? new za(h) : $t.isAxiosError(h) ? (console.error("Axios error: " + b, h.cause), new Wa(h)) : (console.error("AnzuFatalError: ", h), new ot(h));
2918
+ throw ja(v) ? v : bn(v) ? new Kt(v, v.config?.url) : yn(v) ? new Gt(v, n, t, v) : wn(v) ? new Jt(v, n, t, v) : Sn(v) ? new Zt(v, v) : Xo(v) ? new za(v) : $t.isAxiosError(v) ? (console.error("Axios error: " + b, v.cause), new Wa(v)) : (console.error("AnzuFatalError: ", v), new ot(v));
2919
2919
  } finally {
2920
2920
  l = null;
2921
2921
  }
@@ -2927,9 +2927,9 @@ const gs = (e) => gn(e) && Object.hasOwn(e, "totalCount"), bs = (e) => gn(e) &&
2927
2927
  }, ws = () => ({
2928
2928
  rowsPerPage: 25
2929
2929
  });
2930
- function hn(e, n = mt.Desc, t = {}, a) {
2930
+ function vn(e, n = mt.Desc, t = {}, a) {
2931
2931
  const r = { ...ws(), ...t }, o = a ?? P({
2932
- sortBy: K(e) ? null : { key: e, order: n },
2932
+ sortBy: G(e) ? null : { key: e, order: n },
2933
2933
  page: 1,
2934
2934
  rowsPerPage: r.rowsPerPage,
2935
2935
  rowsNumber: 0,
@@ -2943,7 +2943,7 @@ function hn(e, n = mt.Desc, t = {}, a) {
2943
2943
  return;
2944
2944
  }
2945
2945
  const c = u;
2946
- if (K(c) || T(c)) {
2946
+ if (G(c) || T(c)) {
2947
2947
  o.value = { ...o.value, sortBy: c };
2948
2948
  return;
2949
2949
  }
@@ -2960,7 +2960,7 @@ function hn(e, n = mt.Desc, t = {}, a) {
2960
2960
  }
2961
2961
  const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
2962
2962
  e().post(Cn(t, a), JSON.stringify(n), l).then((u) => Dn(u.status) ? u.data ? s(u.data) : u.status === Wt ? s(null) : i(new ot()) : i(new Xt(u.status))).catch((u) => bn(u) ? i(new Kt(u, u.config?.url)) : yn(u) ? i(new Gt(u, r, o, u)) : wn(u) ? i(new Jt(u, r, o, u)) : Sn(u) ? i(new Zt(u, u)) : i(new ot(u)));
2963
- }), ct = Symbol.for("anzu:FilterDataKey"), rt = Symbol.for("anzu:FilterConfigKey"), Za = Symbol.for("anzu:FilterInnerDataKey"), Ja = Symbol.for("anzu:FilterInnerConfigKey"), kt = Symbol.for("anzu:FilterSubmitResetCounterKey"), vt = Symbol.for("anzu:FilterSelectedKey"), nr = Symbol.for("anzu:DatatablePaginationKey"), Cs = /* @__PURE__ */ Se({
2963
+ }), ct = Symbol.for("anzu:FilterDataKey"), rt = Symbol.for("anzu:FilterConfigKey"), Za = Symbol.for("anzu:FilterInnerDataKey"), Ja = Symbol.for("anzu:FilterInnerConfigKey"), kt = Symbol.for("anzu:FilterSubmitResetCounterKey"), ht = Symbol.for("anzu:FilterSelectedKey"), nr = Symbol.for("anzu:DatatablePaginationKey"), Cs = /* @__PURE__ */ we({
2964
2964
  __name: "AFilterBooleanSelect",
2965
2965
  props: {
2966
2966
  name: {},
@@ -2971,29 +2971,29 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
2971
2971
  },
2972
2972
  emits: ["change"],
2973
2973
  setup(e, { emit: n }) {
2974
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
2974
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct);
2975
2975
  if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
2976
2976
  T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
2977
2977
  T(s[t.name]))
2978
2978
  throw new Error("Incorrect provide/inject config.");
2979
2979
  const i = V({
2980
2980
  get() {
2981
- return T(s[t.name]) || K(s[t.name]) ? {
2981
+ return T(s[t.name]) || G(s[t.name]) ? {
2982
2982
  value: -1,
2983
2983
  title: m(t.allT)
2984
2984
  } : s[t.name] ? { value: 1, title: m(t.trueT) } : { value: 0, title: m(t.falseT) };
2985
2985
  },
2986
2986
  set(f) {
2987
2987
  let d = null;
2988
- f?.value === 1 && (d = !0), f?.value === 0 && (d = !1), s[t.name] = d, h(), l.touched = !0, a("change");
2988
+ f?.value === 1 && (d = !0), f?.value === 0 && (d = !1), s[t.name] = d, v(), l.touched = !0, a("change");
2989
2989
  }
2990
2990
  }), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), b = V(() => [
2991
2991
  { value: -1, title: m(t.allT) },
2992
2992
  { value: 1, title: m(t.trueT) },
2993
2993
  { value: 0, title: m(t.falseT) }
2994
- ]), { clearOne: p } = Dt(), k = () => {
2994
+ ]), { clearOne: p } = Dt(), E = () => {
2995
2995
  p(t.name, s, l), o.value.delete(t.name);
2996
- }, h = () => {
2996
+ }, v = () => {
2997
2997
  if (i.value.value === -1) {
2998
2998
  o.value.delete(t.name);
2999
2999
  return;
@@ -3002,7 +3002,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3002
3002
  };
3003
3003
  return (f, d) => (U(), Q(Lr, {
3004
3004
  modelValue: i.value,
3005
- "onUpdate:modelValue": d[0] || (d[0] = (v) => i.value = v),
3005
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
3006
3006
  "data-cy": e.dataCy,
3007
3007
  label: c.value,
3008
3008
  items: b.value,
@@ -3010,10 +3010,10 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3010
3010
  "return-object": "",
3011
3011
  "hide-details": "",
3012
3012
  autocomplete: "off",
3013
- "onClick:clear": Ee(k, ["stop"])
3013
+ "onClick:clear": Ee(E, ["stop"])
3014
3014
  }, null, 8, ["modelValue", "data-cy", "label", "items", "clearable"]));
3015
3015
  }
3016
- }), Ds = /* @__PURE__ */ Se({
3016
+ }), Ds = /* @__PURE__ */ we({
3017
3017
  __name: "AFilterString",
3018
3018
  props: {
3019
3019
  name: {},
@@ -3022,7 +3022,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3022
3022
  },
3023
3023
  emits: ["change"],
3024
3024
  setup(e, { emit: n }) {
3025
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
3025
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct);
3026
3026
  if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3027
3027
  T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3028
3028
  T(s[t.name]))
@@ -3034,9 +3034,9 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3034
3034
  set(f) {
3035
3035
  s[t.name] = f, l.touched = !0, a("change");
3036
3036
  }
3037
- }), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), b = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), k = () => {
3037
+ }), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), b = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), E = () => {
3038
3038
  p(t.name, s, l), o.value.delete(t.name);
3039
- }, h = () => {
3039
+ }, v = () => {
3040
3040
  if (Ht(i.value)) {
3041
3041
  o.value.set(t.name, [{ title: i.value + "", value: i.value }]);
3042
3042
  return;
@@ -3052,26 +3052,26 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3052
3052
  return Ie(
3053
3053
  () => s[t.name],
3054
3054
  (f, d) => {
3055
- f === d || st(f) || h();
3055
+ f === d || st(f) || v();
3056
3056
  },
3057
3057
  { immediate: !0 }
3058
3058
  ), (f, d) => (U(), Q(ta, {
3059
3059
  modelValue: i.value,
3060
- "onUpdate:modelValue": d[0] || (d[0] = (v) => i.value = v),
3060
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
3061
3061
  label: c.value,
3062
3062
  placeholder: b.value,
3063
3063
  clearable: !u.value.mandatory,
3064
3064
  "data-cy": e.dataCy,
3065
3065
  "hide-details": "",
3066
3066
  autocomplete: "off",
3067
- onBlur: h,
3068
- "onClick:clear": Ee(k, ["stop"])
3067
+ onBlur: v,
3068
+ "onClick:clear": Ee(E, ["stop"])
3069
3069
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3070
3070
  }
3071
3071
  }), ks = {
3072
3072
  key: 0,
3073
3073
  class: "font-italic pl-1"
3074
- }, Es = 300, wd = /* @__PURE__ */ Se({
3074
+ }, Es = 300, wd = /* @__PURE__ */ we({
3075
3075
  __name: "AFilterRemoteAutocomplete",
3076
3076
  props: {
3077
3077
  name: {},
@@ -3086,7 +3086,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3086
3086
  },
3087
3087
  emits: ["change"],
3088
3088
  setup(e, { emit: n }) {
3089
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3089
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3090
3090
  if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
3091
3091
  throw new Error(`[${m}] Incorrect provide/inject config.`);
3092
3092
  const c = t.filterByField, b = t.filterSortBy;
@@ -3094,50 +3094,55 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3094
3094
  throw new Error(
3095
3095
  `[${m}] Incorrect filter inner config. FilterByField is '${c}' and available options are ${Object.keys(u).join(", ")}.`
3096
3096
  );
3097
- const p = V(() => l.fields[t.name]), k = P([]), h = P(""), f = P(!1), d = P(null), v = P(0), { t: C } = Ne(), x = () => {
3097
+ const p = V(() => l.fields[t.name]), E = P([]), v = P(""), f = P(!1), d = P(null), h = P(0), { t: C } = Ne(), x = () => {
3098
3098
  f.value = !1;
3099
- }, I = V(() => p.value.titleT ? C(p.value.titleT) : void 0), { pagination: g } = hn(K(b) ? null : b.key, b?.order), _ = P([]), B = P([]), E = P(!0), $ = P(!1), R = V(() => {
3100
- const G = /* @__PURE__ */ new Map(), J = (ie) => {
3101
- ie.forEach((Te) => {
3102
- G.set(Te.value, {
3099
+ }, I = V(() => p.value.titleT ? C(p.value.titleT) : void 0), { pagination: g } = vn(G(b) ? null : b.key, b?.order), _ = P([]), B = P([]), k = P(!0), $ = P(!1), R = V(() => {
3100
+ const K = /* @__PURE__ */ new Map(), J = (le) => {
3101
+ le.forEach((Te) => {
3102
+ K.set(Te.value, {
3103
3103
  value: Te.value,
3104
3104
  title: Te.title,
3105
3105
  subtitle: Te.subtitle
3106
3106
  });
3107
3107
  });
3108
3108
  };
3109
- return J(B.value), J(_.value), Array.from(G.values());
3110
- }), O = P(!1), M = (G) => {
3111
- B.value = [], k.value = ue(G) ? [] : null, d.value = ue(G) ? [] : null, me(k.value);
3112
- }, A = (G) => {
3113
- const J = (ie) => R.value.find((Te) => Te.value === ie) ?? { title: `${ie}`, value: ie };
3114
- return ue(G) ? G.map(J) : J(G);
3115
- }, w = async (G) => {
3109
+ return J(B.value), J(_.value), Array.from(K.values());
3110
+ }), O = P(!1), M = (K) => {
3111
+ B.value = [], E.value = ue(K) ? [] : null, d.value = ue(K) ? [] : null, me(E.value);
3112
+ }, A = (K) => {
3113
+ const J = (le) => R.value.find((Te) => Te.value === le) ?? { title: `${le}`, value: le };
3114
+ return ue(K) ? K.map(J) : J(K);
3115
+ }, w = async (K) => {
3116
3116
  O.value = !0;
3117
3117
  try {
3118
- const J = ue(G) ? G : [G];
3119
- B.value = await t.fetchItemsByIds(J);
3120
- const ie = A(G);
3121
- return k.value = ie, d.value = ie, me(k.value), B.value;
3118
+ const J = ue(K) ? K : [K];
3119
+ try {
3120
+ B.value = await t.fetchItemsByIds(J);
3121
+ const le = A(K);
3122
+ E.value = le, d.value = le, me(E.value);
3123
+ } catch (le) {
3124
+ y(le);
3125
+ }
3126
+ return B.value;
3122
3127
  } finally {
3123
3128
  O.value = !1;
3124
3129
  }
3125
- }, { showErrorsDefault: y } = oa(), S = async (G, J) => {
3126
- O.value = !0, u[c] = G;
3130
+ }, { showErrorsDefault: y } = oa(), S = async (K, J) => {
3131
+ O.value = !0, u[c] = K;
3127
3132
  try {
3128
- const ie = await t.fetchItems(g, u, i);
3129
- J === v.value && (_.value = ie);
3130
- } catch (ie) {
3131
- y(ie);
3133
+ const le = await t.fetchItems(g, u, i);
3134
+ J === h.value && (_.value = le);
3135
+ } catch (le) {
3136
+ y(le);
3132
3137
  } finally {
3133
3138
  O.value = !1;
3134
3139
  }
3135
- }, D = async (G) => {
3136
- if (!(t.prefetch === !1 || t.prefetch !== G) && !O.value && !$.value) {
3140
+ }, D = async (K) => {
3141
+ if (!(t.prefetch === !1 || t.prefetch !== K) && !O.value && !$.value) {
3137
3142
  O.value = !0;
3138
3143
  try {
3139
3144
  const J = await t.fetchItems(g, u, i);
3140
- v.value === 0 && (_.value = J), $.value = !0;
3145
+ h.value === 0 && (_.value = J), $.value = !0;
3141
3146
  } finally {
3142
3147
  O.value = !1;
3143
3148
  }
@@ -3149,22 +3154,27 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3149
3154
  }, X = V(() => {
3150
3155
  if (!p.value.multiple && B.value[0])
3151
3156
  return B.value[0].title;
3152
- }), re = (G) => {
3153
- !p.value.multiple && !f.value && G.length === 0 || X.value !== G && (h.value = G);
3154
- }, { clearOne: de } = Dt(), we = () => {
3157
+ }), re = (K) => {
3158
+ !p.value.multiple && !f.value && K.length === 0 || X.value !== K && (v.value = K);
3159
+ }, { clearOne: de } = Dt(), Ce = () => {
3155
3160
  de(t.name, s, l), o.value.delete(t.name);
3156
- }, Ce = async () => {
3157
- _.value = await t.fetchItems(g, u, i), we();
3161
+ }, Se = async () => {
3162
+ try {
3163
+ _.value = await t.fetchItems(g, u, i);
3164
+ } catch (K) {
3165
+ y(K);
3166
+ }
3167
+ Ce();
3158
3168
  };
3159
3169
  Na(
3160
- h,
3161
- (G, J) => {
3162
- if (G !== J && !(G.length > 0 && G.length < t.minSearchChars)) {
3163
- if (G.length === 0 && t.prefetch === !1) {
3170
+ v,
3171
+ (K, J) => {
3172
+ if (K !== J && !(K.length > 0 && K.length < t.minSearchChars)) {
3173
+ if (K.length === 0 && t.prefetch === !1) {
3164
3174
  _.value = [];
3165
3175
  return;
3166
3176
  }
3167
- v.value++, S(G, v.value);
3177
+ h.value++, S(K, h.value);
3168
3178
  }
3169
3179
  },
3170
3180
  { debounce: Es }
@@ -3174,42 +3184,42 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3174
3184
  }, te = V(() => T(t.placeholder) ? p.value.variant === "startsWith" ? C("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? C("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? C("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = V(() => {
3175
3185
  if (O.value)
3176
3186
  return "$vuetify.loading";
3177
- if (_.value.length === 0 && h.value.length < t.minSearchChars)
3187
+ if (_.value.length === 0 && v.value.length < t.minSearchChars)
3178
3188
  return T(t.minSearchText) ? C("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
3179
- }), W = (G) => {
3189
+ }), W = (K) => {
3180
3190
  l.touched = !0;
3181
3191
  let J = null;
3182
- ue(G) ? J = G.map((ie) => ie.value) : K(G) || (J = G.value), s[t.name] = J, a("change");
3183
- }, me = (G) => {
3184
- if (o.value.delete(t.name), ue(G) && G.length === 0 || K(G)) {
3192
+ ue(K) ? J = K.map((le) => le.value) : G(K) || (J = K.value), s[t.name] = J, a("change");
3193
+ }, me = (K) => {
3194
+ if (o.value.delete(t.name), ue(K) && K.length === 0 || G(K)) {
3185
3195
  o.value.delete(t.name);
3186
3196
  return;
3187
3197
  }
3188
- if (ue(G)) {
3198
+ if (ue(K)) {
3189
3199
  o.value.set(
3190
3200
  t.name,
3191
- G.map((J) => ({ title: J.title, value: J.value }))
3201
+ K.map((J) => ({ title: J.title, value: J.value }))
3192
3202
  );
3193
3203
  return;
3194
3204
  }
3195
- o.value.set(t.name, [{ title: G.title, value: G.value }]);
3205
+ o.value.set(t.name, [{ title: K.title, value: K.value }]);
3196
3206
  };
3197
3207
  return Ie(
3198
3208
  () => s[t.name],
3199
- async (G, J) => {
3200
- if (G === J || st(G)) return;
3201
- const ie = G;
3202
- if (E.value && (E.value = !1, await z()), Vo(ie)) {
3203
- M(ie), T(J) || (v.value++, await S("", v.value));
3209
+ async (K, J) => {
3210
+ if (K === J || st(K)) return;
3211
+ const le = K;
3212
+ if (k.value && (k.value = !1, await z()), Vo(le)) {
3213
+ M(le), T(J) || (h.value++, await S("", h.value));
3204
3214
  return;
3205
3215
  }
3206
- await w(ie);
3216
+ await w(le);
3207
3217
  },
3208
3218
  { immediate: !0 }
3209
- ), (G, J) => (U(), Q(Qn, {
3210
- modelValue: k.value,
3219
+ ), (K, J) => (U(), Q(Qn, {
3220
+ modelValue: E.value,
3211
3221
  "onUpdate:modelValue": [
3212
- J[0] || (J[0] = (ie) => k.value = ie),
3222
+ J[0] || (J[0] = (le) => E.value = le),
3213
3223
  W
3214
3224
  ],
3215
3225
  items: R.value,
@@ -3228,24 +3238,24 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3228
3238
  onBlur: x,
3229
3239
  onFocus: F,
3230
3240
  onMouseenter: H,
3231
- "onClick:clear": Ce
3241
+ "onClick:clear": Se
3232
3242
  }, _t({
3233
- item: L(({ props: ie, item: Te }) => [
3234
- N(Vt, it(ie, {
3243
+ item: L(({ props: le, item: Te }) => [
3244
+ N(Vt, it(le, {
3235
3245
  title: Te.raw.title,
3236
3246
  subtitle: Te.raw.subtitle
3237
3247
  }), null, 16, ["title", "subtitle"])
3238
3248
  ]),
3239
- chip: L(({ props: ie, item: Te }) => [
3249
+ chip: L(({ props: le, item: Te }) => [
3240
3250
  N(ea, {
3241
- closable: ie.closable,
3251
+ closable: le.closable,
3242
3252
  size: "small",
3243
3253
  text: `${Te.title} (${Te.raw.subtitle})`,
3244
3254
  disabled: Te.props.disabled
3245
3255
  }, {
3246
3256
  default: L(() => [
3247
3257
  Oe(ye(Te.raw.title) + " ", 1),
3248
- Te.raw.subtitle ? (U(), ve("span", ks, " (" + ye(Te.raw.subtitle) + ") ", 1)) : be("", !0)
3258
+ Te.raw.subtitle ? (U(), he("span", ks, " (" + ye(Te.raw.subtitle) + ") ", 1)) : be("", !0)
3249
3259
  ]),
3250
3260
  _: 2
3251
3261
  }, 1032, ["closable", "text", "disabled"])
@@ -3267,7 +3277,7 @@ const Sd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3267
3277
  function Ts(e, n) {
3268
3278
  return n.includes(e);
3269
3279
  }
3270
- const Cd = /* @__PURE__ */ Se({
3280
+ const Cd = /* @__PURE__ */ we({
3271
3281
  __name: "AFilterRemoteAutocompleteWithMinimal",
3272
3282
  props: {
3273
3283
  name: {},
@@ -3283,7 +3293,7 @@ const Cd = /* @__PURE__ */ Se({
3283
3293
  },
3284
3294
  emits: ["change"],
3285
3295
  setup(e, { emit: n }) {
3286
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3296
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct), i = ee(Ja), u = ee(Za), m = Jn()?.type.__name;
3287
3297
  if (T(r) || T(o) || T(s) || T(l) || T(i) || T(u))
3288
3298
  throw new Error(`[${m}] Incorrect provide/inject config.`);
3289
3299
  if (
@@ -3302,11 +3312,11 @@ const Cd = /* @__PURE__ */ Se({
3302
3312
  throw new Error(
3303
3313
  `[${m}] Incorrect filter inner config. FilterByField is '${t.filterByField}' and available options are ${Object.keys(u).join(", ")}.`
3304
3314
  );
3305
- const c = P([]), b = P(""), p = P(!1), k = P(void 0), h = P(0), { t: f } = Ne(), d = V(() => l.fields[t.name]), v = () => {
3315
+ const c = P([]), b = P(""), p = P(!1), E = P(void 0), v = P(0), { t: f } = Ne(), d = V(() => l.fields[t.name]), h = () => {
3306
3316
  p.value = !1;
3307
- }, C = V(() => d.value.titleT ? f(d.value.titleT) : void 0), { pagination: x } = hn(
3317
+ }, C = V(() => d.value.titleT ? f(d.value.titleT) : void 0), { pagination: x } = vn(
3308
3318
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3309
- K(t.filterSortBy) ? null : t.filterSortBy.key,
3319
+ G(t.filterSortBy) ? null : t.filterSortBy.key,
3310
3320
  t.filterSortBy?.order
3311
3321
  ), I = P([]), g = P([]), _ = V(() => {
3312
3322
  const z = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map();
@@ -3315,13 +3325,15 @@ const Cd = /* @__PURE__ */ Se({
3315
3325
  }), I.value.forEach((q) => {
3316
3326
  q.raw ? (z.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], xe(q.raw))) : (z.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], xe(q)));
3317
3327
  }), Array.from(z, ([q, W]) => ({ value: q, title: W, raw: te.get(q) }));
3318
- }), B = P(!1), { showErrorsDefault: E } = oa(), $ = async (z, te) => {
3328
+ }), B = P(!1), { showErrorsDefault: k } = oa(), $ = async (z, te) => {
3319
3329
  B.value = !0, u[t.filterByField] = z;
3320
3330
  try {
3321
3331
  const q = await t.fetchItemsMinimal(x, u, i);
3322
- te === h.value && (I.value = q), B.value = !1;
3332
+ te === v.value && (I.value = q);
3323
3333
  } catch (q) {
3324
- B.value = !1, E(q);
3334
+ k(q);
3335
+ } finally {
3336
+ B.value = !1;
3325
3337
  }
3326
3338
  }, R = (z) => {
3327
3339
  const te = _.value.filter((q) => z.includes(q.value));
@@ -3330,12 +3342,19 @@ const Cd = /* @__PURE__ */ Se({
3330
3342
  let te = 1, q = [];
3331
3343
  return ue(z) ? (te = z.length, q = R(z)) : q = R([z]), g.value = q, q.length === te;
3332
3344
  }, M = P(!1), A = () => {
3333
- clearTimeout(k.value), k.value = void 0;
3345
+ clearTimeout(E.value), E.value = void 0;
3334
3346
  }, w = async () => {
3335
- if (A(), M.value === !0) return;
3336
- M.value = !0, B.value = !0;
3337
- const z = await t.fetchItemsMinimal(x, u, i);
3338
- h.value === 0 && (I.value = z), B.value = !1;
3347
+ if (A(), M.value !== !0) {
3348
+ M.value = !0, B.value = !0;
3349
+ try {
3350
+ const z = await t.fetchItemsMinimal(x, u, i);
3351
+ v.value === 0 && (I.value = z);
3352
+ } catch (z) {
3353
+ k(z);
3354
+ } finally {
3355
+ B.value = !1;
3356
+ }
3357
+ }
3339
3358
  }, y = () => {
3340
3359
  p.value = !0, t.prefetch !== !1 && (A(), w());
3341
3360
  }, S = () => {
@@ -3348,13 +3367,18 @@ const Cd = /* @__PURE__ */ Se({
3348
3367
  }, H = (z) => {
3349
3368
  l.touched = !0;
3350
3369
  let te = null;
3351
- ue(z) ? te = z.map((q) => q.value) : K(z) || (te = z.value), s[t.name] = te, a("change");
3370
+ ue(z) ? te = z.map((q) => q.value) : G(z) || (te = z.value), s[t.name] = te, a("change");
3352
3371
  }, X = async () => {
3353
- I.value = await t.fetchItemsMinimal(x, u, i), we();
3354
- }, re = V(() => T(t.placeholder) ? d.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : d.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : d.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: de } = Dt(), we = () => {
3372
+ try {
3373
+ I.value = await t.fetchItemsMinimal(x, u, i);
3374
+ } catch (z) {
3375
+ k(z);
3376
+ }
3377
+ Ce();
3378
+ }, re = V(() => T(t.placeholder) ? d.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : d.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : d.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: de } = Dt(), Ce = () => {
3355
3379
  de(t.name, s, l), o.value.delete(t.name);
3356
- }, Ce = (z) => {
3357
- if (o.value.delete(t.name), ue(z) && z.length === 0 || K(z)) {
3380
+ }, Se = (z) => {
3381
+ if (o.value.delete(t.name), ue(z) && z.length === 0 || G(z)) {
3358
3382
  o.value.delete(t.name);
3359
3383
  return;
3360
3384
  }
@@ -3371,28 +3395,42 @@ const Cd = /* @__PURE__ */ Se({
3371
3395
  () => s[t.name],
3372
3396
  async (z, te) => {
3373
3397
  if (z === te || st(z)) return;
3374
- if (K(z) || T(z) || ue(z) && z.length === 0) {
3375
- if (g.value = [], d.value.multiple ? c.value = [] : c.value = null, Ce(c.value), M.value === !0 || Ts(t.prefetch, ["hover", "focus", !1])) return;
3376
- k.value = setTimeout(() => {
3398
+ if (G(z) || T(z) || ue(z) && z.length === 0) {
3399
+ if (g.value = [], d.value.multiple ? c.value = [] : c.value = null, Se(c.value), M.value === !0 || Ts(t.prefetch, ["hover", "focus", !1])) return;
3400
+ E.value = setTimeout(() => {
3377
3401
  w();
3378
3402
  }, 3e3);
3379
3403
  return;
3380
3404
  }
3381
3405
  if (await O(z)) {
3382
- c.value = g.value.map((W) => ({ title: W.title, value: W.value })), Ce(c.value);
3406
+ c.value = g.value.map((W) => ({ title: W.title, value: W.value })), Se(c.value);
3383
3407
  return;
3384
3408
  }
3385
3409
  if (ue(z)) {
3386
- B.value = !0, g.value = await t.fetchItemsMinimalByIds(z), c.value = g.value.map((W) => ({ title: W.title, value: W.value })), Ce(c.value), B.value = !1;
3410
+ B.value = !0;
3411
+ try {
3412
+ g.value = await t.fetchItemsMinimalByIds(z), c.value = g.value.map((W) => ({ title: W.title, value: W.value })), Se(c.value);
3413
+ } catch (W) {
3414
+ k(W);
3415
+ } finally {
3416
+ B.value = !1;
3417
+ }
3387
3418
  return;
3388
3419
  }
3389
- B.value = !0, g.value = await t.fetchItemsMinimalByIds([z]), c.value = g.value.map((W) => ({ title: W.title, value: W.value }))[0], Ce(c.value), B.value = !1;
3420
+ B.value = !0;
3421
+ try {
3422
+ g.value = await t.fetchItemsMinimalByIds([z]), c.value = g.value.map((W) => ({ title: W.title, value: W.value }))[0], Se(c.value);
3423
+ } catch (W) {
3424
+ k(W);
3425
+ } finally {
3426
+ B.value = !1;
3427
+ }
3390
3428
  },
3391
3429
  { immediate: !0 }
3392
3430
  ), Na(
3393
3431
  b,
3394
3432
  (z, te) => {
3395
- z.length < t.searchMinChars || z !== te && (h.value++, $(z, h.value));
3433
+ z.length < t.searchMinChars || z !== te && (v.value++, $(z, v.value));
3396
3434
  },
3397
3435
  { debounce: 300 }
3398
3436
  ), (z, te) => (U(), Q(Qn, {
@@ -3413,7 +3451,7 @@ const Cd = /* @__PURE__ */ Se({
3413
3451
  "return-object": "",
3414
3452
  autocomplete: "off",
3415
3453
  "onUpdate:search": F,
3416
- onBlur: v,
3454
+ onBlur: h,
3417
3455
  onFocus: y,
3418
3456
  onMouseenter: S,
3419
3457
  "onClick:clear": X
@@ -3442,7 +3480,7 @@ const Cd = /* @__PURE__ */ Se({
3442
3480
  _: 3
3443
3481
  }, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
3444
3482
  }
3445
- }), Dd = /* @__PURE__ */ Se({
3483
+ }), Dd = /* @__PURE__ */ we({
3446
3484
  __name: "AFilterValueObjectOptionsSelect",
3447
3485
  props: {
3448
3486
  name: {},
@@ -3450,7 +3488,7 @@ const Cd = /* @__PURE__ */ Se({
3450
3488
  },
3451
3489
  emits: ["change"],
3452
3490
  setup(e, { emit: n }) {
3453
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct), i = Jn()?.type.__name;
3491
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct), i = Jn()?.type.__name;
3454
3492
  if (T(r) || T(o) || T(s) || T(l))
3455
3493
  throw new Error(`[${i}] Incorrect provide/inject config.`);
3456
3494
  if (
@@ -3466,34 +3504,34 @@ const Cd = /* @__PURE__ */ Se({
3466
3504
  return s[t.name];
3467
3505
  },
3468
3506
  set(f) {
3469
- s[t.name] = f, h(f), l.touched = !0, a("change");
3507
+ s[t.name] = f, v(f), l.touched = !0, a("change");
3470
3508
  }
3471
- }), m = V(() => l.fields[t.name]), { t: c } = Ne(), b = V(() => m.value.titleT ? c(m.value.titleT) : void 0), { clearOne: p } = Dt(), k = () => {
3509
+ }), m = V(() => l.fields[t.name]), { t: c } = Ne(), b = V(() => m.value.titleT ? c(m.value.titleT) : void 0), { clearOne: p } = Dt(), E = () => {
3472
3510
  p(t.name, s, l), o.value.delete(t.name);
3473
- }, h = (f) => {
3511
+ }, v = (f) => {
3474
3512
  if (ue(f) && f.length === 0) return;
3475
3513
  if (ue(f)) {
3476
3514
  o.value.set(
3477
3515
  t.name,
3478
- f.map((v) => {
3479
- const C = t.items.find((x) => x.value === v);
3480
- return C ? { title: C.title, value: C.value } : { title: v, value: v };
3516
+ f.map((h) => {
3517
+ const C = t.items.find((x) => x.value === h);
3518
+ return C ? { title: C.title, value: C.value } : { title: h, value: h };
3481
3519
  })
3482
3520
  );
3483
3521
  return;
3484
3522
  }
3485
- const d = t.items.find((v) => v.value === f);
3523
+ const d = t.items.find((h) => h.value === f);
3486
3524
  d && o.value.set(t.name, [{ title: d.title, value: d.value }]);
3487
3525
  };
3488
3526
  return Ie(
3489
3527
  () => s[t.name],
3490
3528
  (f, d) => {
3491
- f === d || st(f) || h(f);
3529
+ f === d || st(f) || v(f);
3492
3530
  },
3493
3531
  { immediate: !0 }
3494
3532
  ), (f, d) => (U(), Q(Qn, {
3495
3533
  modelValue: u.value,
3496
- "onUpdate:modelValue": d[0] || (d[0] = (v) => u.value = v),
3534
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => u.value = h),
3497
3535
  items: e.items,
3498
3536
  chips: m.value.multiple,
3499
3537
  label: b.value,
@@ -3502,19 +3540,19 @@ const Cd = /* @__PURE__ */ Se({
3502
3540
  "data-cy": "filter-value",
3503
3541
  "hide-details": "",
3504
3542
  autocomplete: "off",
3505
- "onClick:clear": Ee(k, ["stop"])
3543
+ "onClick:clear": Ee(E, ["stop"])
3506
3544
  }, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
3507
3545
  }
3508
- }), As = (e, n = "item") => n + "." + e, Co = /* @__PURE__ */ Se({
3546
+ }), As = (e, n = "item") => n + "." + e, Co = /* @__PURE__ */ we({
3509
3547
  __name: "AFilterEmpty",
3510
3548
  props: {
3511
3549
  name: {}
3512
3550
  },
3513
3551
  setup(e) {
3514
3552
  const n = e;
3515
- return (t, a) => (U(), ve("div", null, ye(n.name), 1));
3553
+ return (t, a) => (U(), he("div", null, ye(n.name), 1));
3516
3554
  }
3517
- }), xs = /* @__PURE__ */ Se({
3555
+ }), xs = /* @__PURE__ */ we({
3518
3556
  __name: "AFilterDatetimePicker",
3519
3557
  props: {
3520
3558
  name: {},
@@ -3522,7 +3560,7 @@ const Cd = /* @__PURE__ */ Se({
3522
3560
  },
3523
3561
  emits: ["change"],
3524
3562
  setup(e, { emit: n }) {
3525
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
3563
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct);
3526
3564
  if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3527
3565
  T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3528
3566
  T(s[t.name]))
@@ -3531,24 +3569,24 @@ const Cd = /* @__PURE__ */ Se({
3531
3569
  get() {
3532
3570
  return s[t.name];
3533
3571
  },
3534
- set(h) {
3535
- s[t.name] = h, k(), l.touched = !0, a("change");
3572
+ set(v) {
3573
+ s[t.name] = v, E(), l.touched = !0, a("change");
3536
3574
  }
3537
3575
  }), { t: u } = Ne(), m = V(() => l.fields[t.name]), c = V(() => m.value.titleT ? u(m.value.titleT) : void 0), { clearOne: b } = Dt(), p = () => {
3538
3576
  b(t.name, s, l), o.value.delete(t.name);
3539
- }, k = () => {
3577
+ }, E = () => {
3540
3578
  !Fe(i.value) || Fe(i.value) && i.value.length === 0 || o.value.set(t.name, [{ title: Di(i.value), value: i.value }]);
3541
3579
  };
3542
- return (h, f) => (U(), Q(er, it({
3580
+ return (v, f) => (U(), Q(er, it({
3543
3581
  modelValue: i.value,
3544
3582
  "onUpdate:modelValue": f[0] || (f[0] = (d) => i.value = d),
3545
3583
  "data-cy": e.dataCy,
3546
3584
  clearable: !m.value.mandatory,
3547
3585
  "default-value": m.value.default,
3548
3586
  label: c.value
3549
- }, h.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
3587
+ }, v.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
3550
3588
  }
3551
- }), Is = /* @__PURE__ */ Se({
3589
+ }), Is = /* @__PURE__ */ we({
3552
3590
  __name: "AFilterInteger",
3553
3591
  props: {
3554
3592
  name: {},
@@ -3557,7 +3595,7 @@ const Cd = /* @__PURE__ */ Se({
3557
3595
  },
3558
3596
  emits: ["change"],
3559
3597
  setup(e, { emit: n }) {
3560
- const t = e, a = n, r = ee(kt), o = ee(vt), l = ee(rt), s = ee(ct);
3598
+ const t = e, a = n, r = ee(kt), o = ee(ht), l = ee(rt), s = ee(ct);
3561
3599
  if (T(r) || T(o) || T(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3562
3600
  T(l.fields[t.name]) || T(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3563
3601
  T(s[t.name]))
@@ -3569,9 +3607,9 @@ const Cd = /* @__PURE__ */ Se({
3569
3607
  set(f) {
3570
3608
  s[t.name] = f, l.touched = !0, a("change");
3571
3609
  }
3572
- }), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), b = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), k = () => {
3610
+ }), u = V(() => l.fields[t.name]), { t: m } = Ne(), c = V(() => u.value.titleT ? m(u.value.titleT) : void 0), b = V(() => T(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = Dt(), E = () => {
3573
3611
  p(t.name, s, l), o.value.delete(t.name);
3574
- }, h = () => {
3612
+ }, v = () => {
3575
3613
  if (Ht(i.value)) {
3576
3614
  o.value.set(t.name, [{ title: i.value + "", value: i.value }]);
3577
3615
  return;
@@ -3587,23 +3625,23 @@ const Cd = /* @__PURE__ */ Se({
3587
3625
  return Ie(
3588
3626
  () => s[t.name],
3589
3627
  (f, d) => {
3590
- f === d || st(f) || h();
3628
+ f === d || st(f) || v();
3591
3629
  },
3592
3630
  { immediate: !0 }
3593
3631
  ), (f, d) => (U(), Q(ta, {
3594
3632
  modelValue: i.value,
3595
- "onUpdate:modelValue": d[0] || (d[0] = (v) => i.value = v),
3633
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
3596
3634
  label: c.value,
3597
3635
  placeholder: b.value,
3598
3636
  clearable: !u.value.mandatory,
3599
3637
  "data-cy": e.dataCy,
3600
3638
  "hide-details": "",
3601
3639
  autocomplete: "off",
3602
- onBlur: h,
3603
- "onClick:clear": Ee(k, ["stop"])
3640
+ onBlur: v,
3641
+ "onClick:clear": Ee(E, ["stop"])
3604
3642
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3605
3643
  }
3606
- }), Ms = /* @__PURE__ */ Se({
3644
+ }), Ms = /* @__PURE__ */ we({
3607
3645
  __name: "FilterDetailItem",
3608
3646
  props: {
3609
3647
  name: {}
@@ -3669,18 +3707,18 @@ const jn = {
3669
3707
  n.value = !1;
3670
3708
  const m = t(s.layoutType, s.systemResource), c = Date.now();
3671
3709
  if (!u) {
3672
- const v = e.value.get(m);
3673
- if (v)
3674
- return v.lastUsed = c, v.items;
3710
+ const h = e.value.get(m);
3711
+ if (h)
3712
+ return h.lastUsed = c, h.items;
3675
3713
  }
3676
- const { pagination: b } = hn("position", mt.Asc, {
3714
+ const { pagination: b } = vn("position", mt.Asc, {
3677
3715
  rowsPerPage: _a
3678
- }), { start: p, end: k } = vn(s.systemResource, "_"), { filterConfig: h, filterData: f } = Do(p, k);
3716
+ }), { start: p, end: E } = hn(s.systemResource, "_"), { filterConfig: v, filterData: f } = Do(p, E);
3679
3717
  f.configType = jn.FilterBookmark, f.layoutType = s.layoutType, f.systemResource = s.systemResource, f.user = s.user;
3680
3718
  let d = [];
3681
3719
  try {
3682
- const { executeFetch: v } = i();
3683
- d = await v(b, f, h), e.value.set(m, { lastUsed: c, items: d });
3720
+ const { executeFetch: h } = i();
3721
+ d = await h(b, f, v), e.value.set(m, { lastUsed: c, items: d });
3684
3722
  } catch {
3685
3723
  n.value = !0;
3686
3724
  }
@@ -3688,18 +3726,18 @@ const jn = {
3688
3726
  }
3689
3727
  async function o(s, i) {
3690
3728
  n.value = !1;
3691
- const { pagination: u } = hn("position", mt.Asc, {
3729
+ const { pagination: u } = vn("position", mt.Asc, {
3692
3730
  rowsPerPage: _a + 1
3693
- }), { start: m, end: c } = vn(s.systemResource, "_"), { filterConfig: b, filterData: p } = Do(m, c);
3731
+ }), { start: m, end: c } = hn(s.systemResource, "_"), { filterConfig: b, filterData: p } = Do(m, c);
3694
3732
  p.configType = jn.FilterBookmark, p.layoutType = s.layoutType, p.systemResource = s.systemResource, p.user = s.user;
3695
- let k = 1 / 0;
3733
+ let E = 1 / 0;
3696
3734
  try {
3697
- const { executeFetch: h } = i();
3698
- k = (await h(u, p, b)).length;
3735
+ const { executeFetch: v } = i();
3736
+ E = (await v(u, p, b)).length;
3699
3737
  } catch {
3700
3738
  n.value = !0;
3701
3739
  }
3702
- return k;
3740
+ return E;
3703
3741
  }
3704
3742
  function l(s, i) {
3705
3743
  e.value.get(s)?.items.push(i);
@@ -3718,9 +3756,9 @@ const jn = {
3718
3756
  executeRequest: async (m = void 0, c = void 0, b = void 0) => {
3719
3757
  s = new AbortController();
3720
3758
  try {
3721
- const p = { method: n }, k = he(c) ? c : o, h = he(m) ? m : r;
3722
- if (T(h)) throw new Error("Url template is undefined");
3723
- p.url = h, h !== "" && !T(k) && (p.url = Cn(h, k)), K(b) || (p.data = JSON.stringify(b));
3759
+ const p = { method: n }, E = ve(c) ? c : o, v = ve(m) ? m : r;
3760
+ if (T(v)) throw new Error("Url template is undefined");
3761
+ p.url = v, v !== "" && !T(E) && (p.url = Cn(v, E)), G(b) || (p.data = JSON.stringify(b));
3724
3762
  const f = await e().request({
3725
3763
  ...l,
3726
3764
  ...p,
@@ -3771,7 +3809,7 @@ function or(e, n, t = Os, a = ko) {
3771
3809
  }
3772
3810
  };
3773
3811
  }
3774
- const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3812
+ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ we({
3775
3813
  __name: "FilterBookmarks",
3776
3814
  props: /* @__PURE__ */ wt({
3777
3815
  client: {},
@@ -3787,26 +3825,26 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3787
3825
  }),
3788
3826
  emits: /* @__PURE__ */ wt(["submit"], ["update:datatableHiddenColumns"]),
3789
3827
  setup(e, { emit: n }) {
3790
- const t = e, a = n, r = Ut(e, "datatableHiddenColumns"), o = ee(rt), l = ee(ct), s = ee(nr), i = ee(vt);
3828
+ const t = e, a = n, r = Ut(e, "datatableHiddenColumns"), o = ee(rt), l = ee(ct), s = ee(nr), i = ee(ht);
3791
3829
  if (T(s) || T(o) || T(l) || T(i))
3792
3830
  throw new Error("Incorrect provide/inject config.");
3793
- const u = P(!1), m = Mt("toolbar"), c = P(300), b = P(1e3), p = ar(), { useFetchUserAdminConfigList: k } = or(t.client, t.system), h = t.system + "_" + t.subject, f = async (g = !1) => {
3831
+ const u = P(!1), m = Mt("toolbar"), c = P(300), b = P(1e3), p = ar(), { useFetchUserAdminConfigList: E } = or(t.client, t.system), v = t.system + "_" + t.subject, f = async (g = !1) => {
3794
3832
  u.value = !0, await p.getBookmarks(
3795
3833
  {
3796
3834
  user: t.userId,
3797
3835
  layoutType: It.Desktop,
3798
- systemResource: h
3836
+ systemResource: v
3799
3837
  },
3800
- k,
3838
+ E,
3801
3839
  g
3802
3840
  ), u.value = !1;
3803
- }, { deserializeFilters: d } = tr(l, o), v = (g) => {
3841
+ }, { deserializeFilters: d } = tr(l, o), h = (g) => {
3804
3842
  const _ = g.data;
3805
- he(_.datatableHiddenColumns) && he(r.value) && (r.value = _.datatableHiddenColumns), he(_.sortBy) && (s.value = { ...s.value, sortBy: { key: _.sortBy.key, order: _.sortBy.order } });
3843
+ ve(_.datatableHiddenColumns) && ve(r.value) && (r.value = _.datatableHiddenColumns), ve(_.sortBy) && (s.value = { ...s.value, sortBy: { key: _.sortBy.key, order: _.sortBy.order } });
3806
3844
  const B = d(_.filter);
3807
- if (!K(B)) {
3808
- for (const E in l) {
3809
- const $ = E;
3845
+ if (!G(B)) {
3846
+ for (const k in l) {
3847
+ const $ = k;
3810
3848
  let R = B.filters[$];
3811
3849
  if (T(R) && o.fields[$]?.clearable) {
3812
3850
  l[$] = xe(o.fields[$].default), i.value.delete($);
@@ -3814,11 +3852,11 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3814
3852
  }
3815
3853
  if (Fe(R)) {
3816
3854
  const O = Ho(R);
3817
- if (!K(O))
3855
+ if (!G(O))
3818
3856
  R = O;
3819
3857
  else {
3820
3858
  const M = qo(R);
3821
- K(M) || (R = M);
3859
+ G(M) || (R = M);
3822
3860
  }
3823
3861
  }
3824
3862
  l[$] = R;
@@ -3827,16 +3865,16 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3827
3865
  }
3828
3866
  }, C = async (g) => {
3829
3867
  const _ = m.value;
3830
- if (K(_)) return;
3868
+ if (G(_)) return;
3831
3869
  b.value = 1e3, await ze();
3832
- let B = 0, E = 0;
3870
+ let B = 0, k = 0;
3833
3871
  for (let $ = 0; $ < _.children.length; $++) {
3834
3872
  const O = _.children[$].offsetWidth;
3835
3873
  if (B += O, B >= g - Rs)
3836
3874
  break;
3837
- E++;
3875
+ k++;
3838
3876
  }
3839
- b.value = E;
3877
+ b.value = k;
3840
3878
  };
3841
3879
  $r(m, (g) => {
3842
3880
  g[0] && (c.value = g[0].contentRect.width);
@@ -3848,7 +3886,7 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3848
3886
  { throttle: 1e3 }
3849
3887
  );
3850
3888
  const x = V(() => {
3851
- const g = p.generateKey(It.Desktop, h);
3889
+ const g = p.generateKey(It.Desktop, v);
3852
3890
  return p.bookmarks.get(g)?.items ?? [];
3853
3891
  }), I = V(() => {
3854
3892
  const g = b.value;
@@ -3858,18 +3896,18 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3858
3896
  };
3859
3897
  });
3860
3898
  return Ie([u, () => x.value.length], ([g]) => {
3861
- g === !0 || K(m.value) || (c.value = m.value.clientWidth, ze(() => {
3899
+ g === !0 || G(m.value) || (c.value = m.value.clientWidth, ze(() => {
3862
3900
  C(c.value);
3863
3901
  }));
3864
3902
  }), Pa(() => {
3865
3903
  f();
3866
- }), (g, _) => (U(), ve("div", {
3904
+ }), (g, _) => (U(), he("div", {
3867
3905
  ref: "toolbar",
3868
3906
  key: x.value.length,
3869
3907
  class: "w-100 d-flex overflow-hidden align-center mb-1"
3870
3908
  }, [
3871
- u.value ? (U(), ve("div", Bs)) : (U(), ve(at, { key: 1 }, [
3872
- (U(!0), ve(at, null, Un(I.value.visible, (B) => (U(), ve("div", {
3909
+ u.value ? (U(), he("div", Bs)) : (U(), he(at, { key: 1 }, [
3910
+ (U(!0), he(at, null, Un(I.value.visible, (B) => (U(), he("div", {
3873
3911
  key: B.id,
3874
3912
  class: "white-space-nowrap"
3875
3913
  }, [
@@ -3878,7 +3916,7 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3878
3916
  "prepend-icon": "mdi-bookmark-outline",
3879
3917
  size: "small",
3880
3918
  class: "mr-1 mb-1 bg-grey-lighten-4 text-grey-darken-3",
3881
- onClick: (E) => v(B)
3919
+ onClick: (k) => h(B)
3882
3920
  }, {
3883
3921
  default: L(() => [
3884
3922
  Oe(ye(B.customName), 1)
@@ -3902,9 +3940,9 @@ const Bs = { key: 0 }, Rs = 32, Ps = /* @__PURE__ */ Se({
3902
3940
  default: L(() => [
3903
3941
  N(Ro, { density: "compact" }, {
3904
3942
  default: L(() => [
3905
- (U(!0), ve(at, null, Un(I.value.hidden, (B) => (U(), Q(Vt, {
3943
+ (U(!0), he(at, null, Un(I.value.hidden, (B) => (U(), Q(Vt, {
3906
3944
  key: B.id,
3907
- onClick: (E) => v(B)
3945
+ onClick: (k) => h(B)
3908
3946
  }, {
3909
3947
  default: L(() => [
3910
3948
  N(Nr, null, {
@@ -3995,15 +4033,15 @@ function ft(e) {
3995
4033
  if (typeof window < "u" && window.navigator)
3996
4034
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
3997
4035
  }
3998
- var ht = ft(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), kn = ft(/Edge/i), To = ft(/firefox/i), cn = ft(/safari/i) && !ft(/chrome/i) && !ft(/android/i), Qa = ft(/iP(ad|od|hone)/i), rr = ft(/chrome/i) && ft(/android/i), lr = {
4036
+ var vt = ft(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), kn = ft(/Edge/i), To = ft(/firefox/i), cn = ft(/safari/i) && !ft(/chrome/i) && !ft(/android/i), Qa = ft(/iP(ad|od|hone)/i), rr = ft(/chrome/i) && ft(/android/i), lr = {
3999
4037
  capture: !1,
4000
4038
  passive: !1
4001
4039
  };
4002
4040
  function fe(e, n, t) {
4003
- e.addEventListener(n, t, !ht && lr);
4041
+ e.addEventListener(n, t, !vt && lr);
4004
4042
  }
4005
4043
  function ce(e, n, t) {
4006
- e.removeEventListener(n, t, !ht && lr);
4044
+ e.removeEventListener(n, t, !vt && lr);
4007
4045
  }
4008
4046
  function zn(e, n) {
4009
4047
  if (n) {
@@ -4082,7 +4120,7 @@ function lt() {
4082
4120
  function Re(e, n, t, a, r) {
4083
4121
  if (!(!e.getBoundingClientRect && e !== window)) {
4084
4122
  var o, l, s, i, u, m, c;
4085
- if (e !== window && e.parentNode && e !== lt() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, u = o.right, m = o.height, c = o.width) : (l = 0, s = 0, i = window.innerHeight, u = window.innerWidth, m = window.innerHeight, c = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !ht))
4123
+ if (e !== window && e.parentNode && e !== lt() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, u = o.right, m = o.height, c = o.width) : (l = 0, s = 0, i = window.innerHeight, u = window.innerWidth, m = window.innerHeight, c = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !vt))
4086
4124
  do
4087
4125
  if (r && r.getBoundingClientRect && (ne(r, "transform") !== "none" || t && ne(r, "position") !== "static")) {
4088
4126
  var b = r.getBoundingClientRect();
@@ -4091,8 +4129,8 @@ function Re(e, n, t, a, r) {
4091
4129
  }
4092
4130
  while (r = r.parentNode);
4093
4131
  if (a && e !== window) {
4094
- var p = Yt(r || e), k = p && p.a, h = p && p.d;
4095
- p && (l /= h, s /= k, c /= k, m /= h, i = l + m, u = s + c);
4132
+ var p = Yt(r || e), E = p && p.a, v = p && p.d;
4133
+ p && (l /= v, s /= E, c /= E, m /= v, i = l + m, u = s + c);
4096
4134
  }
4097
4135
  return {
4098
4136
  top: l,
@@ -4248,9 +4286,9 @@ function js() {
4248
4286
  }
4249
4287
  var o = !1, l = 0;
4250
4288
  e.forEach(function(s) {
4251
- var i = 0, u = s.target, m = u.fromRect, c = Re(u), b = u.prevFromRect, p = u.prevToRect, k = s.rect, h = Yt(u, !0);
4252
- h && (c.top -= h.f, c.left -= h.e), u.toRect = c, u.thisAnimationDuration && pa(b, c) && !pa(m, c) && // Make sure animatingRect is on line between toRect & fromRect
4253
- (k.top - c.top) / (k.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Ws(k, b, p, r.options)), pa(c, m) || (u.prevFromRect = m, u.prevToRect = c, i || (i = r.options.animation), r.animate(u, k, c, i)), i && (o = !0, l = Math.max(l, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4289
+ var i = 0, u = s.target, m = u.fromRect, c = Re(u), b = u.prevFromRect, p = u.prevToRect, E = s.rect, v = Yt(u, !0);
4290
+ v && (c.top -= v.f, c.left -= v.e), u.toRect = c, u.thisAnimationDuration && pa(b, c) && !pa(m, c) && // Make sure animatingRect is on line between toRect & fromRect
4291
+ (E.top - c.top) / (E.left - c.left) === (m.top - c.top) / (m.left - c.left) && (i = Ws(E, b, p, r.options)), pa(c, m) || (u.prevFromRect = m, u.prevToRect = c, i || (i = r.options.animation), r.animate(u, E, c, i)), i && (o = !0, l = Math.max(l, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4254
4292
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
4255
4293
  }, i), u.thisAnimationDuration = i);
4256
4294
  }), clearTimeout(n), o ? n = setTimeout(function() {
@@ -4274,12 +4312,12 @@ function zs(e) {
4274
4312
  function Ws(e, n, t, a) {
4275
4313
  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;
4276
4314
  }
4277
- var Bt = [], va = {
4315
+ var Bt = [], ha = {
4278
4316
  initializeByDefault: !0
4279
4317
  }, En = {
4280
4318
  mount: function(n) {
4281
- for (var t in va)
4282
- va.hasOwnProperty(t) && !(t in n) && (n[t] = va[t]);
4319
+ for (var t in ha)
4320
+ ha.hasOwnProperty(t) && !(t in n) && (n[t] = ha[t]);
4283
4321
  Bt.forEach(function(a) {
4284
4322
  if (a.pluginName === n.pluginName)
4285
4323
  throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
@@ -4327,17 +4365,17 @@ var Bt = [], va = {
4327
4365
  }
4328
4366
  };
4329
4367
  function Ks(e) {
4330
- var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, l = e.toEl, s = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, c = e.newDraggableIndex, b = e.originalEvent, p = e.putSortable, k = e.extraEventProperties;
4368
+ var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, l = e.toEl, s = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, c = e.newDraggableIndex, b = e.originalEvent, p = e.putSortable, E = e.extraEventProperties;
4331
4369
  if (n = n || t && t[je], !!n) {
4332
- var h, f = n.options, d = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4333
- window.CustomEvent && !ht && !kn ? h = new CustomEvent(a, {
4370
+ var v, f = n.options, d = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4371
+ window.CustomEvent && !vt && !kn ? v = new CustomEvent(a, {
4334
4372
  bubbles: !0,
4335
4373
  cancelable: !0
4336
- }) : (h = document.createEvent("Event"), h.initEvent(a, !0, !0)), h.to = l || t, h.from = s || t, h.item = r || t, h.clone = o, h.oldIndex = i, h.newIndex = u, h.oldDraggableIndex = m, h.newDraggableIndex = c, h.originalEvent = b, h.pullMode = p ? p.lastPutMode : void 0;
4337
- var v = ut(ut({}, k), En.getEventProperties(a, n));
4338
- for (var C in v)
4339
- h[C] = v[C];
4340
- t && t.dispatchEvent(h), f[d] && f[d].call(n, h);
4374
+ }) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = l || t, v.from = s || t, v.item = r || t, v.clone = o, v.oldIndex = i, v.newIndex = u, v.oldDraggableIndex = m, v.newDraggableIndex = c, v.originalEvent = b, v.pullMode = p ? p.lastPutMode : void 0;
4375
+ var h = ut(ut({}, E), En.getEventProperties(a, n));
4376
+ for (var C in h)
4377
+ v[C] = h[C];
4378
+ t && t.dispatchEvent(v), f[d] && f[d].call(n, v);
4341
4379
  }
4342
4380
  }
4343
4381
  var Gs = ["evt"], qe = function(n, t) {
@@ -4359,7 +4397,7 @@ var Gs = ["evt"], qe = function(n, t) {
4359
4397
  oldDraggableIndex: fn,
4360
4398
  newIndex: Ke,
4361
4399
  newDraggableIndex: gt,
4362
- hideGhostForTarget: hr,
4400
+ hideGhostForTarget: vr,
4363
4401
  unhideGhostForTarget: gr,
4364
4402
  cloneNowHidden: function() {
4365
4403
  bt = !0;
@@ -4388,9 +4426,9 @@ function He(e) {
4388
4426
  newDraggableIndex: gt
4389
4427
  }, e));
4390
4428
  }
4391
- var Y, Me, oe, ke, At, Rn, Ae, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn = [], Et, et, ha, ga, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Pn, Ve, ba = [], $a = !1, Gn = [], ia = typeof document < "u", Mn = Qa, $o = kn || ht ? "cssFloat" : "float", Xs = ia && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
4429
+ var Y, Me, oe, ke, At, Rn, Ae, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn = [], Et, et, va, ga, Mo, _o, rn, Rt, mn, pn = !1, In = !1, Pn, Ve, ba = [], $a = !1, Gn = [], ia = typeof document < "u", Mn = Qa, $o = kn || vt ? "cssFloat" : "float", Xs = ia && !rr && !Qa && "draggable" in document.createElement("div"), mr = (function() {
4392
4430
  if (ia) {
4393
- if (ht)
4431
+ if (vt)
4394
4432
  return !1;
4395
4433
  var e = document.createElement("x");
4396
4434
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
@@ -4419,7 +4457,7 @@ var Y, Me, oe, ke, At, Rn, Ae, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
4419
4457
  return a = r;
4420
4458
  }
4421
4459
  }), a;
4422
- }, vr = function(n) {
4460
+ }, hr = function(n) {
4423
4461
  function t(o, l) {
4424
4462
  return function(s, i, u, m) {
4425
4463
  var c = s.options.group.name && i.options.group.name && s.options.group.name === i.options.group.name;
@@ -4439,7 +4477,7 @@ var Y, Me, oe, ke, At, Rn, Ae, bt, Lt, Ke, fn, gt, xn, Ye, Pt = !1, Wn = !1, Kn
4439
4477
  (!r || Bn(r) != "object") && (r = {
4440
4478
  name: r
4441
4479
  }), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
4442
- }, hr = function() {
4480
+ }, vr = function() {
4443
4481
  !mr && oe && ne(oe, "display", "none");
4444
4482
  }, gr = function() {
4445
4483
  !mr && oe && ne(oe, "display", "");
@@ -4515,7 +4553,7 @@ function ae(e, n) {
4515
4553
  En.initializePlugins(this, e, t);
4516
4554
  for (var a in t)
4517
4555
  !(a in n) && (n[a] = t[a]);
4518
- vr(n);
4556
+ hr(n);
4519
4557
  for (var r in this)
4520
4558
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
4521
4559
  this.nativeDraggable = n.forceFallback ? !1 : Xs, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? fe(e, "pointerdown", this._onTapStart) : (fe(e, "mousedown", this._onTapStart), fe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (fe(e, "dragover", this), fe(e, "dragenter", this)), Kn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), pt(this, js());
@@ -4591,7 +4629,7 @@ ae.prototype = /** @lends Sortable.prototype */
4591
4629
  sr(Y, m.trim(), ya);
4592
4630
  }), fe(s, "dragover", Tt), fe(s, "mousemove", Tt), fe(s, "touchmove", Tt), l.supportPointer ? (fe(s, "pointerup", r._onDrop), !this.nativeDraggable && fe(s, "pointercancel", r._onDrop)) : (fe(s, "mouseup", r._onDrop), fe(s, "touchend", r._onDrop), fe(s, "touchcancel", r._onDrop)), To && this.nativeDraggable && (this.options.touchStartThreshold = 4, Y.draggable = !0), qe("delayStart", this, {
4593
4631
  evt: n
4594
- }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn || ht))) {
4632
+ }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(kn || vt))) {
4595
4633
  if (ae.eventCanceled) {
4596
4634
  this._onDrop();
4597
4635
  return;
@@ -4637,7 +4675,7 @@ ae.prototype = /** @lends Sortable.prototype */
4637
4675
  },
4638
4676
  _emulateDragOver: function() {
4639
4677
  if (et) {
4640
- this._lastX = et.clientX, this._lastY = et.clientY, hr();
4678
+ this._lastX = et.clientX, this._lastY = et.clientY, vr();
4641
4679
  for (var n = document.elementFromPoint(et.clientX, et.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(et.clientX, et.clientY), n !== t); )
4642
4680
  t = n;
4643
4681
  if (Y.parentNode[je]._isOutsideThisEl(n), t)
@@ -4666,7 +4704,7 @@ ae.prototype = /** @lends Sortable.prototype */
4666
4704
  this._onDragStart(n, !0);
4667
4705
  }
4668
4706
  if (oe) {
4669
- l ? (l.e += m - (ha || 0), l.f += c - (ga || 0)) : l = {
4707
+ l ? (l.e += m - (va || 0), l.f += c - (ga || 0)) : l = {
4670
4708
  a: 1,
4671
4709
  b: 0,
4672
4710
  c: 0,
@@ -4675,7 +4713,7 @@ ae.prototype = /** @lends Sortable.prototype */
4675
4713
  f: c
4676
4714
  };
4677
4715
  var b = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
4678
- ne(oe, "webkitTransform", b), ne(oe, "mozTransform", b), ne(oe, "msTransform", b), ne(oe, "transform", b), ha = m, ga = c, et = o;
4716
+ ne(oe, "webkitTransform", b), ne(oe, "mozTransform", b), ne(oe, "msTransform", b), ne(oe, "transform", b), va = m, ga = c, et = o;
4679
4717
  }
4680
4718
  n.cancelable && n.preventDefault();
4681
4719
  }
@@ -4708,10 +4746,10 @@ ae.prototype = /** @lends Sortable.prototype */
4708
4746
  },
4709
4747
  // Returns true - if no further action is needed (either inserted or another condition)
4710
4748
  _onDragOver: function(n) {
4711
- var t = this.el, a = n.target, r, o, l, s = this.options, i = s.group, u = ae.active, m = xn === i, c = s.sort, b = Ye || u, p, k = this, h = !1;
4749
+ var t = this.el, a = n.target, r, o, l, s = this.options, i = s.group, u = ae.active, m = xn === i, c = s.sort, b = Ye || u, p, E = this, v = !1;
4712
4750
  if ($a) return;
4713
4751
  function f(D, F) {
4714
- qe(D, k, ut({
4752
+ qe(D, E, ut({
4715
4753
  evt: n,
4716
4754
  isOwner: m,
4717
4755
  axis: p ? "vertical" : "horizontal",
@@ -4721,7 +4759,7 @@ ae.prototype = /** @lends Sortable.prototype */
4721
4759
  canSort: c,
4722
4760
  fromSortable: b,
4723
4761
  target: a,
4724
- completed: v,
4762
+ completed: h,
4725
4763
  onMove: function(X, re) {
4726
4764
  return _n(ke, t, Y, r, X, Re(X), n, re);
4727
4765
  },
@@ -4729,18 +4767,18 @@ ae.prototype = /** @lends Sortable.prototype */
4729
4767
  }, F));
4730
4768
  }
4731
4769
  function d() {
4732
- f("dragOverAnimationCapture"), k.captureAnimationState(), k !== b && b.captureAnimationState();
4770
+ f("dragOverAnimationCapture"), E.captureAnimationState(), E !== b && b.captureAnimationState();
4733
4771
  }
4734
- function v(D) {
4772
+ function h(D) {
4735
4773
  return f("dragOverCompleted", {
4736
4774
  insertion: D
4737
- }), D && (m ? u._hideClone() : u._showClone(k), k !== b && (We(Y, Ye ? Ye.options.ghostClass : u.options.ghostClass, !1), We(Y, s.ghostClass, !0)), Ye !== k && k !== ae.active ? Ye = k : k === ae.active && Ye && (Ye = null), b === k && (k._ignoreWhileAnimating = a), k.animateAll(function() {
4738
- f("dragOverAnimationComplete"), k._ignoreWhileAnimating = null;
4739
- }), k !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (a === Y && !Y.animated || a === t && !a.animated) && (Rt = null), !s.dragoverBubble && !n.rootEl && a !== document && (Y.parentNode[je]._isOutsideThisEl(n.target), !D && Tt(n)), !s.dragoverBubble && n.stopPropagation && n.stopPropagation(), h = !0;
4775
+ }), D && (m ? u._hideClone() : u._showClone(E), E !== b && (We(Y, Ye ? Ye.options.ghostClass : u.options.ghostClass, !1), We(Y, s.ghostClass, !0)), Ye !== E && E !== ae.active ? Ye = E : E === ae.active && Ye && (Ye = null), b === E && (E._ignoreWhileAnimating = a), E.animateAll(function() {
4776
+ f("dragOverAnimationComplete"), E._ignoreWhileAnimating = null;
4777
+ }), E !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (a === Y && !Y.animated || a === t && !a.animated) && (Rt = null), !s.dragoverBubble && !n.rootEl && a !== document && (Y.parentNode[je]._isOutsideThisEl(n.target), !D && Tt(n)), !s.dragoverBubble && n.stopPropagation && n.stopPropagation(), v = !0;
4740
4778
  }
4741
4779
  function C() {
4742
4780
  Ke = Je(Y), gt = Je(Y, s.draggable), He({
4743
- sortable: k,
4781
+ sortable: E,
4744
4782
  name: "change",
4745
4783
  toEl: t,
4746
4784
  newIndex: Ke,
@@ -4748,29 +4786,29 @@ ae.prototype = /** @lends Sortable.prototype */
4748
4786
  originalEvent: n
4749
4787
  });
4750
4788
  }
4751
- if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return h;
4752
- if (Y.contains(n.target) || a.animated && a.animatingX && a.animatingY || k._ignoreWhileAnimating === a)
4753
- return v(!1);
4789
+ if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = tt(a, s.draggable, t, !0), f("dragOver"), ae.eventCanceled) return v;
4790
+ if (Y.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
4791
+ return h(!1);
4754
4792
  if (Wn = !1, u && !s.disabled && (m ? c || (l = Me !== ke) : Ye === this || (this.lastPutMode = xn.checkPull(this, u, Y, n)) && i.checkPut(this, u, Y, n))) {
4755
- if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return h;
4793
+ if (p = this._getDirection(n, a) === "vertical", r = Re(Y), f("dragOverValid"), ae.eventCanceled) return v;
4756
4794
  if (l)
4757
- return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)), v(!0);
4795
+ return Me = ke, d(), this._hideClone(), f("revert"), ae.eventCanceled || (At ? ke.insertBefore(Y, At) : ke.appendChild(Y)), h(!0);
4758
4796
  var x = eo(t, s.draggable);
4759
4797
  if (!x || au(n, p, this) && !x.animated) {
4760
4798
  if (x === Y)
4761
- return v(!1);
4799
+ return h(!1);
4762
4800
  if (x && t === n.target && (a = x), a && (o = Re(a)), _n(ke, t, Y, r, a, o, n, !!a) !== !1)
4763
- return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(), v(!0);
4801
+ return d(), x && x.nextSibling ? t.insertBefore(Y, x.nextSibling) : t.appendChild(Y), Me = t, C(), h(!0);
4764
4802
  } else if (x && nu(n, p, this)) {
4765
4803
  var I = qt(t, 0, s, !0);
4766
4804
  if (I === Y)
4767
- return v(!1);
4805
+ return h(!1);
4768
4806
  if (a = I, o = Re(a), _n(ke, t, Y, r, a, o, n, !1) !== !1)
4769
- return d(), t.insertBefore(Y, I), Me = t, C(), v(!0);
4807
+ return d(), t.insertBefore(Y, I), Me = t, C(), h(!0);
4770
4808
  } else if (a.parentNode === t) {
4771
4809
  o = Re(a);
4772
- var g = 0, _, B = Y.parentNode !== t, E = !Zs(Y.animated && Y.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", R = xo(a, "top", "top") || xo(Y, "top", "top"), O = R ? R.scrollTop : void 0;
4773
- Rt !== a && (_ = o[$], pn = !1, In = !E && s.invertSwap || B), g = ou(n, a, o, p, E ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
4810
+ var g = 0, _, B = Y.parentNode !== t, k = !Zs(Y.animated && Y.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", R = xo(a, "top", "top") || xo(Y, "top", "top"), O = R ? R.scrollTop : void 0;
4811
+ Rt !== a && (_ = o[$], pn = !1, In = !k && s.invertSwap || B), g = ou(n, a, o, p, k ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, In, Rt === a);
4774
4812
  var M;
4775
4813
  if (g !== 0) {
4776
4814
  var A = Je(Y);
@@ -4779,16 +4817,16 @@ ae.prototype = /** @lends Sortable.prototype */
4779
4817
  while (M && (ne(M, "display") === "none" || M === oe));
4780
4818
  }
4781
4819
  if (g === 0 || M === a)
4782
- return v(!1);
4820
+ return h(!1);
4783
4821
  Rt = a, mn = g;
4784
4822
  var w = a.nextElementSibling, y = !1;
4785
4823
  y = g === 1;
4786
4824
  var S = _n(ke, t, Y, r, a, o, n, y);
4787
4825
  if (S !== !1)
4788
- return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(tu, 30), d(), y && !w ? t.appendChild(Y) : a.parentNode.insertBefore(Y, y ? w : a), R && cr(R, 0, O - R.scrollTop), Me = Y.parentNode, _ !== void 0 && !In && (Pn = Math.abs(_ - Re(a)[$])), C(), v(!0);
4826
+ return (S === 1 || S === -1) && (y = S === 1), $a = !0, setTimeout(tu, 30), d(), y && !w ? t.appendChild(Y) : a.parentNode.insertBefore(Y, y ? w : a), R && cr(R, 0, O - R.scrollTop), Me = Y.parentNode, _ !== void 0 && !In && (Pn = Math.abs(_ - Re(a)[$])), C(), h(!0);
4789
4827
  }
4790
4828
  if (t.contains(Y))
4791
- return v(!1);
4829
+ return h(!1);
4792
4830
  }
4793
4831
  return !1;
4794
4832
  },
@@ -4857,7 +4895,7 @@ ae.prototype = /** @lends Sortable.prototype */
4857
4895
  _nulling: function() {
4858
4896
  qe("nulling", this), ke = Y = Me = oe = At = Ae = Rn = bt = Et = et = rn = Ke = gt = Lt = fn = Rt = mn = Ye = xn = ae.dragged = ae.ghost = ae.clone = ae.active = null, Gn.forEach(function(n) {
4859
4897
  n.checked = !0;
4860
- }), Gn.length = ha = ga = 0;
4898
+ }), Gn.length = va = ga = 0;
4861
4899
  },
4862
4900
  handleEvent: function(n) {
4863
4901
  switch (n.type) {
@@ -4923,7 +4961,7 @@ ae.prototype = /** @lends Sortable.prototype */
4923
4961
  if (t === void 0)
4924
4962
  return a[n];
4925
4963
  var r = En.modifyOption(this, n, t);
4926
- typeof r < "u" ? a[n] = r : a[n] = t, n === "group" && vr(a);
4964
+ typeof r < "u" ? a[n] = r : a[n] = t, n === "group" && hr(a);
4927
4965
  },
4928
4966
  /**
4929
4967
  * Destroy
@@ -4957,7 +4995,7 @@ function eu(e) {
4957
4995
  }
4958
4996
  function _n(e, n, t, a, r, o, l, s) {
4959
4997
  var i, u = e[je], m = u.options.onMove, c;
4960
- return window.CustomEvent && !ht && !kn ? i = new CustomEvent("move", {
4998
+ return window.CustomEvent && !vt && !kn ? i = new CustomEvent("move", {
4961
4999
  bubbles: !0,
4962
5000
  cancelable: !0
4963
5001
  }) : (i = document.createEvent("Event"), i.initEvent("move", !0, !0)), i.to = n, i.from = e, i.dragged = t, i.draggedRect = a, i.related = r || n, i.relatedRect = o || Re(n), i.willInsertAfter = s, i.originalEvent = l, e.dispatchEvent(i), m && (c = m.call(u, i, l)), c;
@@ -5082,7 +5120,7 @@ function su() {
5082
5120
  },
5083
5121
  _handleAutoScroll: function(t, a) {
5084
5122
  var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, l);
5085
- if (Xn = t, a || this.options.forceAutoScrollFallback || kn || ht || cn) {
5123
+ if (Xn = t, a || this.options.forceAutoScrollFallback || kn || vt || cn) {
5086
5124
  Ca(t, this.options, s, a);
5087
5125
  var i = yt(s, !0);
5088
5126
  Ba && (!sn || o !== Sa || l !== wa) && (sn && Fo(), sn = setInterval(function() {
@@ -5116,9 +5154,9 @@ var Ca = ur(function(e, n, t, a) {
5116
5154
  Oa !== t && (Oa = t, Ln(), ln = n.scroll, m = n.scrollFn, ln === !0 && (ln = yt(t, !0)));
5117
5155
  var c = 0, b = ln;
5118
5156
  do {
5119
- var p = b, k = Re(p), h = k.top, f = k.bottom, d = k.left, v = k.right, C = k.width, x = k.height, I = void 0, g = void 0, _ = p.scrollWidth, B = p.scrollHeight, E = ne(p), $ = p.scrollLeft, R = p.scrollTop;
5120
- p === i ? (I = C < _ && (E.overflowX === "auto" || E.overflowX === "scroll" || E.overflowX === "visible"), g = x < B && (E.overflowY === "auto" || E.overflowY === "scroll" || E.overflowY === "visible")) : (I = C < _ && (E.overflowX === "auto" || E.overflowX === "scroll"), g = x < B && (E.overflowY === "auto" || E.overflowY === "scroll"));
5121
- var O = I && (Math.abs(v - r) <= l && $ + C < _) - (Math.abs(d - r) <= l && !!$), M = g && (Math.abs(f - o) <= l && R + x < B) - (Math.abs(h - o) <= l && !!R);
5157
+ var p = b, E = Re(p), v = E.top, f = E.bottom, d = E.left, h = E.right, C = E.width, x = E.height, I = void 0, g = void 0, _ = p.scrollWidth, B = p.scrollHeight, k = ne(p), $ = p.scrollLeft, R = p.scrollTop;
5158
+ p === i ? (I = C < _ && (k.overflowX === "auto" || k.overflowX === "scroll" || k.overflowX === "visible"), g = x < B && (k.overflowY === "auto" || k.overflowY === "scroll" || k.overflowY === "visible")) : (I = C < _ && (k.overflowX === "auto" || k.overflowX === "scroll"), g = x < B && (k.overflowY === "auto" || k.overflowY === "scroll"));
5159
+ var O = I && (Math.abs(h - r) <= l && $ + C < _) - (Math.abs(d - r) <= l && !!$), M = g && (Math.abs(f - o) <= l && R + x < B) - (Math.abs(v - o) <= l && !!R);
5122
5160
  if (!Be[c])
5123
5161
  for (var A = 0; A <= c; A++)
5124
5162
  Be[A] || (Be[A] = {});
@@ -5237,14 +5275,14 @@ function pu(e, n, t) {
5237
5275
  let a;
5238
5276
  {
5239
5277
  const r = Date.now(), o = Sr();
5240
- vu(tn, r, o), a = hu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
5278
+ hu(tn, r, o), a = vu(o, tn.msecs, tn.nsecs, tn.clockseq, tn.node, n, t);
5241
5279
  }
5242
5280
  return n ?? yr(a);
5243
5281
  }
5244
- function vu(e, n, t) {
5282
+ function hu(e, n, t) {
5245
5283
  return e.msecs ??= -1 / 0, e.nsecs ??= 0, n === e.msecs ? (e.nsecs++, e.nsecs >= 1e4 && (e.node = void 0, e.nsecs = 0)) : n > e.msecs ? e.nsecs = 0 : n < e.msecs && (e.node = void 0), e.node || (e.node = t.slice(10, 16), e.node[0] |= 1, e.clockseq = (t[8] << 8 | t[9]) & 16383), e.msecs = n, e;
5246
5284
  }
5247
- function hu(e, n, t, a, r, o, l = 0) {
5285
+ function vu(e, n, t, a, r, o, l = 0) {
5248
5286
  if (e.length < 16)
5249
5287
  throw new Error("Random bytes length must be >= 16");
5250
5288
  if (!o)
@@ -5285,15 +5323,15 @@ function ku(e, n, t, a) {
5285
5323
  u.value++, T(M) || a("update:modelValue", M), ze(() => {
5286
5324
  n();
5287
5325
  });
5288
- }, k = (M) => {
5326
+ }, E = (M) => {
5289
5327
  m.value.add(M);
5290
- }, h = (M) => {
5328
+ }, v = (M) => {
5291
5329
  m.value.delete(M);
5292
5330
  }, f = (M, A, w, y = []) => {
5293
5331
  const S = A > w ? w : A;
5294
5332
  let D = t.positionMultiplier * S + t.positionMultiplier * 1;
5295
5333
  for (let F = S; F < M.length; F++)
5296
- xi(M[F], t.positionField, D), k(M[F][t.keyField]), D = D + t.positionMultiplier * 1, y.push({
5334
+ xi(M[F], t.positionField, D), E(M[F][t.keyField]), D = D + t.positionMultiplier * 1, y.push({
5297
5335
  id: M[F].id,
5298
5336
  position: M[F].position
5299
5337
  });
@@ -5306,37 +5344,37 @@ function ku(e, n, t, a) {
5306
5344
  return w.splice(A, 0, S), T(t.updatePosition) || (y = f(w, M, A)), p(), a("update:modelValue", w), y;
5307
5345
  }
5308
5346
  return [];
5309
- }, v = (M, A) => {
5347
+ }, h = (M, A) => {
5310
5348
  const w = A.findIndex((y) => y[t.keyField] === M);
5311
5349
  return w === -1 ? null : w;
5312
5350
  }, C = (M, A, w, y = null) => {
5313
- M.data = xe(A), K(w) || (M.data.position = w), K(y) || k(A.id);
5351
+ M.data = xe(A), G(w) || (M.data.position = w), G(y) || E(A.id);
5314
5352
  }, x = (M, A, w = null, y = null) => {
5315
- const S = xe(e.value), D = v(M, S);
5316
- !K(D) && S[D] && (C(S[D], A, w, y), p(S));
5353
+ const S = xe(e.value), D = h(M, S);
5354
+ !G(D) && S[D] && (C(S[D], A, w, y), p(S));
5317
5355
  }, I = (M, A, w, y = null) => {
5318
5356
  const S = xe(e.value);
5319
5357
  S[M] && (C(S[M], A, w, y), p(S));
5320
5358
  }, g = (M, A) => {
5321
5359
  const w = xe(e.value);
5322
- if (K(M) || M < 0)
5360
+ if (G(M) || M < 0)
5323
5361
  return w.push(xe(A)), p(w), [];
5324
5362
  const y = [];
5325
5363
  return w[M] ? (w.splice(M + 1, 0, A), f(w, M + 1, M + 1, y), p(w), y) : [];
5326
5364
  }, _ = (M, A) => {
5327
5365
  const w = xe(e.value);
5328
- if (K(M))
5366
+ if (G(M))
5329
5367
  return w.push(xe(A)), p(w), [];
5330
- const y = v(M, w), S = [];
5331
- return !K(y) && w[y] ? (w.splice(y + 1, 0, A), f(w, y + 1, y + 1, S), p(w), S) : [];
5368
+ const y = h(M, w), S = [];
5369
+ return !G(y) && w[y] ? (w.splice(y + 1, 0, A), f(w, y + 1, y + 1, S), p(w), S) : [];
5332
5370
  }, B = (M) => {
5333
- const A = xe(e.value), w = v(M, A), y = [];
5334
- return !K(w) && A[w] ? (A.splice(w, 1), f(A, w, w, y), h(M), p(A), y) : [];
5335
- }, E = (M) => {
5371
+ const A = xe(e.value), w = h(M, A), y = [];
5372
+ return !G(w) && A[w] ? (A.splice(w, 1), f(A, w, w, y), v(M), p(A), y) : [];
5373
+ }, k = (M) => {
5336
5374
  const A = xe(e.value), w = [];
5337
5375
  if (A[M]) {
5338
5376
  const y = A[M][t.keyField];
5339
- return A.splice(M, 1), f(A, M, M, w), h(y), p(A), w;
5377
+ return A.splice(M, 1), f(A, M, M, w), v(y), p(A), w;
5340
5378
  }
5341
5379
  return [];
5342
5380
  }, $ = () => {
@@ -5355,19 +5393,19 @@ function ku(e, n, t, a) {
5355
5393
  $(), n();
5356
5394
  },
5357
5395
  onRemoveDialogConfirm: () => {
5358
- K(o.value) || (a("onDelete", o.value), r.value = !1);
5396
+ G(o.value) || (a("onDelete", o.value), r.value = !1);
5359
5397
  },
5360
5398
  destroy: $,
5361
5399
  moveArrayElement: d,
5362
5400
  addAfterId: _,
5363
5401
  addAfterIndex: g,
5364
5402
  removeById: B,
5365
- removeByIndex: E,
5403
+ removeByIndex: k,
5366
5404
  updateData: x,
5367
5405
  updateDataAtIndex: I
5368
5406
  };
5369
5407
  }
5370
- const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortable-widget__before" }, Iu = { class: "a-sortable-widget__content" }, Mu = { class: "a-sortable-widget__after" }, _u = /* @__PURE__ */ Se({
5408
+ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortable-widget__before" }, Iu = { class: "a-sortable-widget__content" }, Mu = { class: "a-sortable-widget__after" }, _u = /* @__PURE__ */ we({
5371
5409
  __name: "ASortable",
5372
5410
  props: {
5373
5411
  modelValue: {},
@@ -5395,7 +5433,7 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
5395
5433
  const a = e, r = t, o = xr(() => a.modelValue), { t: l } = Ne(), s = (y) => {
5396
5434
  r("onAddAfter", y);
5397
5435
  }, i = (y) => {
5398
- if (v.value = y, a.disableDeleteDialog) {
5436
+ if (h.value = y, a.disableDeleteDialog) {
5399
5437
  g();
5400
5438
  return;
5401
5439
  }
@@ -5408,7 +5446,7 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
5408
5446
  return;
5409
5447
  }
5410
5448
  r("onAddLast", null);
5411
- }, c = V(() => T(a.widgetIdentifierId) ? Eu + E.value : a.widgetIdentifierId), b = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5449
+ }, c = V(() => T(a.widgetIdentifierId) ? Eu + k.value : a.widgetIdentifierId), b = V(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5412
5450
  if (a.disableDraggable || !B.value) return;
5413
5451
  const y = B.value.querySelector("." + Bo);
5414
5452
  y && (_.value = uu(y, [], {
@@ -5426,18 +5464,18 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
5426
5464
  }
5427
5465
  }));
5428
5466
  }, {
5429
- items: k,
5430
- forceRerender: h,
5467
+ items: E,
5468
+ forceRerender: v,
5431
5469
  dirtyLocal: f,
5432
5470
  moveArrayElement: d,
5433
- itemToRemove: v,
5471
+ itemToRemove: h,
5434
5472
  removeDialog: C,
5435
5473
  destroy: x,
5436
5474
  refresh: I,
5437
5475
  onRemoveDialogConfirm: g,
5438
5476
  sortableInstance: _,
5439
5477
  widgetEl: B,
5440
- randomUuid: E,
5478
+ randomUuid: k,
5441
5479
  addAfterId: $,
5442
5480
  removeById: R,
5443
5481
  updateData: O,
@@ -5469,16 +5507,16 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
5469
5507
  updateDataAtIndex: w
5470
5508
  }), (y, S) => {
5471
5509
  const D = Vn("ABtnTertiary"), F = Vn("ABtnPrimary");
5472
- return U(), ve("div", null, [
5510
+ return U(), he("div", null, [
5473
5511
  $e("div", {
5474
5512
  id: c.value,
5475
5513
  class: nt(b.value)
5476
5514
  }, [
5477
- (U(), ve("div", {
5478
- key: Z(h),
5515
+ (U(), he("div", {
5516
+ key: Z(v),
5479
5517
  class: nt(Z(Bo))
5480
5518
  }, [
5481
- (U(!0), ve(at, null, Un(Z(k), (H, X) => (U(), ve(at, {
5519
+ (U(!0), he(at, null, Un(Z(E), (H, X) => (U(), he(at, {
5482
5520
  key: H.key
5483
5521
  }, [
5484
5522
  e.chips ? (U(), Q(ea, {
@@ -5519,13 +5557,13 @@ const Eu = "a-sortable-", Tu = ["id"], Au = { key: 1 }, xu = { class: "a-sortabl
5519
5557
  ]),
5520
5558
  key: "1"
5521
5559
  } : void 0
5522
- ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), ve("div", Au, [
5560
+ ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (U(), he("div", Au, [
5523
5561
  $e("div", xu, [
5524
5562
  _e(y.$slots, "itemBefore", { item: H })
5525
5563
  ]),
5526
5564
  $e("div", {
5527
5565
  class: nt(["a-sortable-widget__item", {
5528
- "a-sortable-widget__item--last": X + 1 === Z(k).length,
5566
+ "a-sortable-widget__item--last": X + 1 === Z(E).length,
5529
5567
  "a-sortable-widget__item--first": X === 0
5530
5568
  }])
5531
5569
  }, [
@@ -5723,7 +5761,7 @@ const Fu = {
5723
5761
  }, Ru = { key: 1 }, Pu = {
5724
5762
  key: 0,
5725
5763
  class: "d-flex align-center justify-end"
5726
- }, Nu = /* @__PURE__ */ Se({
5764
+ }, Nu = /* @__PURE__ */ we({
5727
5765
  __name: "FilterBookmarkDialog",
5728
5766
  props: {
5729
5767
  client: {},
@@ -5737,20 +5775,20 @@ const Fu = {
5737
5775
  const t = e, a = n, r = ee(rt), o = ee(ct), l = ee(nr);
5738
5776
  if (T(l) || T(r) || T(o))
5739
5777
  throw new Error("Incorrect provide/inject config.");
5740
- const s = P("add"), i = P(""), u = P(!1), m = P(!1), c = P(!1), b = P(!1), p = P(!1), k = P([]), h = P(null), { required: f, maxLength: d } = Xa(), v = {
5778
+ const s = P("add"), i = P(""), u = P(!1), m = P(!1), c = P(!1), b = P(!1), p = P(!1), E = P([]), v = P(null), { required: f, maxLength: d } = Xa(), h = {
5741
5779
  customName: {
5742
5780
  required: f,
5743
5781
  maxLength: d(100)
5744
5782
  }
5745
- }, C = Hn(v, { customName: i }, { $stopPropagation: !0 }), x = {
5783
+ }, C = Hn(h, { customName: i }, { $stopPropagation: !0 }), x = {
5746
5784
  itemEdit: {
5747
5785
  required: f,
5748
5786
  maxLength: d(100)
5749
5787
  }
5750
- }, I = Hn(x, { itemEdit: h }, { $stopPropagation: !0 }), g = ar(), {
5788
+ }, I = Hn(x, { itemEdit: v }, { $stopPropagation: !0 }), g = ar(), {
5751
5789
  createUserAdminConfig: _,
5752
5790
  useFetchUserAdminConfigList: B,
5753
- updateUserAdminConfigPositions: E,
5791
+ updateUserAdminConfigPositions: k,
5754
5792
  deleteUserAdminConfig: $,
5755
5793
  updateUserAdminConfig: R
5756
5794
  } = (
@@ -5758,9 +5796,9 @@ const Fu = {
5758
5796
  or(t.client, t.system)
5759
5797
  ), { t: O } = Ne(), { showErrorsDefault: M, showValidationError: A, showWarningT: w } = oa(), { createDefaultUserAdminConfig: y } = $u(), S = async () => {
5760
5798
  c.value = !0;
5761
- const W = k.value.map((me) => me.id);
5799
+ const W = E.value.map((me) => me.id);
5762
5800
  try {
5763
- await E(W), c.value = !1, await te(), a("onClose");
5801
+ await k(W), c.value = !1, await te(), a("onClose");
5764
5802
  } catch (me) {
5765
5803
  M(me), c.value = !1;
5766
5804
  }
@@ -5807,7 +5845,7 @@ const Fu = {
5807
5845
  return;
5808
5846
  }
5809
5847
  H();
5810
- } else s.value === "manage" && k.value.length > 0 && S();
5848
+ } else s.value === "manage" && E.value.length > 0 && S();
5811
5849
  }, re = async (q) => {
5812
5850
  b.value = !0;
5813
5851
  try {
@@ -5817,13 +5855,13 @@ const Fu = {
5817
5855
  } finally {
5818
5856
  b.value = !1;
5819
5857
  }
5820
- }, de = Mt("inputRef"), we = async (q) => {
5821
- h.value = { id: q.raw.id, customName: q.raw.customName }, await ze(), de.value?.focus();
5822
- }, Ce = async (q) => {
5823
- if (K(h.value)) return;
5858
+ }, de = Mt("inputRef"), Ce = async (q) => {
5859
+ v.value = { id: q.raw.id, customName: q.raw.customName }, await ze(), de.value?.focus();
5860
+ }, Se = async (q) => {
5861
+ if (G(v.value)) return;
5824
5862
  b.value = !0;
5825
5863
  const W = xe(q.raw);
5826
- W.customName = h.value.customName;
5864
+ W.customName = v.value.customName;
5827
5865
  try {
5828
5866
  z(), await R(W.id, W), await te();
5829
5867
  } catch (me) {
@@ -5832,11 +5870,11 @@ const Fu = {
5832
5870
  b.value = !1;
5833
5871
  }
5834
5872
  }, z = () => {
5835
- h.value = null;
5873
+ v.value = null;
5836
5874
  }, te = async () => {
5837
5875
  b.value = !0;
5838
5876
  try {
5839
- k.value = await g.getBookmarks(
5877
+ E.value = await g.getBookmarks(
5840
5878
  {
5841
5879
  user: t.user,
5842
5880
  layoutType: It.Desktop,
@@ -5854,7 +5892,7 @@ const Fu = {
5854
5892
  return Ie(s, () => {
5855
5893
  p.value = !1, s.value === "manage" && te();
5856
5894
  }), (q, W) => {
5857
- const me = Vn("ABtnTertiary"), G = Vn("ABtnPrimary");
5895
+ const me = Vn("ABtnTertiary"), K = Vn("ABtnPrimary");
5858
5896
  return U(), Q(Yo, {
5859
5897
  "model-value": !0,
5860
5898
  width: 500
@@ -5893,7 +5931,7 @@ const Fu = {
5893
5931
  ]),
5894
5932
  _: 1
5895
5933
  }, 8, ["modelValue"]),
5896
- s.value === "add" ? (U(), ve("div", Fu, [
5934
+ s.value === "add" ? (U(), he("div", Fu, [
5897
5935
  N(Qt, {
5898
5936
  title: Z(O)("common.filter.bookmark.infoSave")
5899
5937
  }, null, 8, ["title"]),
@@ -5934,42 +5972,42 @@ const Fu = {
5934
5972
  ]),
5935
5973
  _: 1
5936
5974
  })
5937
- ])) : s.value === "manage" ? (U(), ve("div", Ou, [
5938
- b.value ? (U(), ve("div", Bu, [
5975
+ ])) : s.value === "manage" ? (U(), he("div", Ou, [
5976
+ b.value ? (U(), he("div", Bu, [
5939
5977
  N(Uo, { indeterminate: "" })
5940
5978
  ])) : (U(), Q(_u, {
5941
5979
  key: 1,
5942
- modelValue: k.value,
5943
- "onUpdate:modelValue": W[7] || (W[7] = (J) => k.value = J),
5980
+ modelValue: E.value,
5981
+ "onUpdate:modelValue": W[7] || (W[7] = (J) => E.value = J),
5944
5982
  "show-edit-button": "",
5945
5983
  "show-delete-button": "",
5946
5984
  "permanent-buttons": "",
5947
5985
  onOnDelete: re,
5948
- onOnEdit: we
5986
+ onOnEdit: Ce
5949
5987
  }, _t({
5950
5988
  item: L(({ item: J }) => [
5951
- h.value && h.value.id === J.raw.id ? (U(), Q(po, {
5989
+ v.value && v.value.id === J.raw.id ? (U(), Q(po, {
5952
5990
  key: 0,
5953
5991
  ref_key: "inputRef",
5954
5992
  ref: de,
5955
- modelValue: h.value.customName,
5956
- "onUpdate:modelValue": W[5] || (W[5] = (ie) => h.value.customName = ie),
5993
+ modelValue: v.value.customName,
5994
+ "onUpdate:modelValue": W[5] || (W[5] = (le) => v.value.customName = le),
5957
5995
  "hide-details": "auto",
5958
5996
  v: Z(I)
5959
- }, null, 8, ["modelValue", "v"])) : (U(), ve("div", Ru, ye(J.raw.customName), 1))
5997
+ }, null, 8, ["modelValue", "v"])) : (U(), he("div", Ru, ye(J.raw.customName), 1))
5960
5998
  ]),
5961
5999
  _: 2
5962
6000
  }, [
5963
- Z(K)(h.value) ? void 0 : {
6001
+ Z(G)(v.value) ? void 0 : {
5964
6002
  name: "item-buttons",
5965
6003
  fn: L(({ item: J }) => [
5966
- h.value && h.value.id === J.raw.id ? (U(), ve("div", Pu, [
6004
+ v.value && v.value.id === J.raw.id ? (U(), he("div", Pu, [
5967
6005
  N(Ue, {
5968
6006
  icon: "",
5969
6007
  size: "x-small",
5970
6008
  variant: "text",
5971
6009
  class: "mx-1",
5972
- onClick: Ee((ie) => Ce(J), ["stop"])
6010
+ onClick: Ee((le) => Se(J), ["stop"])
5973
6011
  }, {
5974
6012
  default: L(() => [
5975
6013
  N(Pe, { icon: "mdi-check" }),
@@ -5986,7 +6024,7 @@ const Fu = {
5986
6024
  size: "x-small",
5987
6025
  variant: "text",
5988
6026
  class: "mx-1",
5989
- onClick: W[6] || (W[6] = Ee((ie) => z(), ["stop"]))
6027
+ onClick: W[6] || (W[6] = Ee((le) => z(), ["stop"]))
5990
6028
  }, {
5991
6029
  default: L(() => [
5992
6030
  N(Pe, { icon: "mdi-close" }),
@@ -6019,7 +6057,7 @@ const Fu = {
6019
6057
  ]),
6020
6058
  _: 1
6021
6059
  }),
6022
- N(G, {
6060
+ N(K, {
6023
6061
  "data-cy": "button-confirm",
6024
6062
  loading: c.value,
6025
6063
  onClick: Ee(X, ["stop"])
@@ -6040,7 +6078,7 @@ const Fu = {
6040
6078
  });
6041
6079
  };
6042
6080
  }
6043
- }), Lu = /* @__PURE__ */ Se({
6081
+ }), Lu = /* @__PURE__ */ we({
6044
6082
  __name: "AFilterBookmarkButton",
6045
6083
  props: /* @__PURE__ */ wt({
6046
6084
  client: {},
@@ -6061,7 +6099,7 @@ const Fu = {
6061
6099
  const n = Ut(e, "dialog"), t = (r) => {
6062
6100
  Ga(r), n.value = !0;
6063
6101
  }, { t: a } = Ne();
6064
- return (r, o) => (U(), ve(at, null, [
6102
+ return (r, o) => (U(), he(at, null, [
6065
6103
  N(Ue, {
6066
6104
  class: nt([e.buttonClass, "px-2"]),
6067
6105
  "data-cy": e.dataCy,
@@ -6101,7 +6139,7 @@ const Fu = {
6101
6139
  }), Yu = { class: "subject-select-filter__content px-2 py-4" }, Uu = { class: "d-flex flex-wrap align-center" }, Vu = {
6102
6140
  key: 0,
6103
6141
  class: "subject-select-filter__actions"
6104
- }, Ed = /* @__PURE__ */ Se({
6142
+ }, Ed = /* @__PURE__ */ we({
6105
6143
  __name: "AFilterWrapperSubjectSelect",
6106
6144
  props: /* @__PURE__ */ wt({
6107
6145
  hideButtons: { type: Boolean, default: !1 },
@@ -6130,36 +6168,36 @@ const Fu = {
6130
6168
  const u = P(0);
6131
6169
  lo(kt, u);
6132
6170
  const m = P(/* @__PURE__ */ new Map());
6133
- lo(vt, m);
6171
+ lo(ht, m);
6134
6172
  const c = () => {
6135
6173
  u.value++, ze(() => {
6136
6174
  r("submit");
6137
6175
  });
6138
- }, { clearAll: b, clearAllFilterSelected: p } = Dt(), k = () => {
6176
+ }, { clearAll: b, clearAllFilterSelected: p } = Dt(), E = () => {
6139
6177
  ze(() => {
6140
6178
  u.value++, r("bookmarkLoadAfter");
6141
6179
  });
6142
- }, h = () => {
6180
+ }, v = () => {
6143
6181
  b(s, l), p(s, l, m), ze(() => {
6144
6182
  u.value++, r("reset");
6145
6183
  });
6146
- }, f = V(() => l.touched), d = V(() => Object.entries(l.fields).filter(([, v]) => !v.render.skip).map(([v]) => v));
6184
+ }, f = V(() => l.touched), d = V(() => Object.entries(l.fields).filter(([, h]) => !h.render.skip).map(([h]) => h));
6147
6185
  return n({
6148
6186
  submit: c,
6149
- reset: h
6150
- }), (v, C) => (U(), Q(al, {
6187
+ reset: v
6188
+ }), (h, C) => (U(), Q(al, {
6151
6189
  name: e.formName,
6152
6190
  onSubmit: Ee(c, ["prevent"])
6153
6191
  }, {
6154
6192
  default: L(() => [
6155
6193
  $e("div", Yu, [
6156
- _e(v.$slots, "bookmarks", {}, () => [
6194
+ _e(h.$slots, "bookmarks", {}, () => [
6157
6195
  N(Ea, { dense: "" }, {
6158
6196
  default: L(() => [
6159
- e.store && e.userId && Z(he)(e.client) ? (U(), Q(Ta, { key: 0 }, {
6197
+ e.store && e.userId && Z(ve)(e.client) ? (U(), Q(Ta, { key: 0 }, {
6160
6198
  default: L(() => [
6161
6199
  $e("div", Uu, [
6162
- i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Ps, {
6200
+ i.value.system && i.value.subject && e.userId && Z(ve)(e.client) ? (U(), Q(Ps, {
6163
6201
  key: 0,
6164
6202
  "datatable-hidden-columns": o.value,
6165
6203
  "onUpdate:datatableHiddenColumns": C[0] || (C[0] = (x) => o.value = x),
@@ -6167,7 +6205,7 @@ const Fu = {
6167
6205
  system: i.value.system,
6168
6206
  subject: i.value.subject,
6169
6207
  "user-id": e.userId,
6170
- onSubmit: k
6208
+ onSubmit: E
6171
6209
  }, null, 8, ["datatable-hidden-columns", "client", "system", "subject", "user-id"])) : be("", !0)
6172
6210
  ])
6173
6211
  ]),
@@ -6177,10 +6215,10 @@ const Fu = {
6177
6215
  _: 1
6178
6216
  })
6179
6217
  ]),
6180
- _e(v.$slots, "detail", {}, () => [
6218
+ _e(h.$slots, "detail", {}, () => [
6181
6219
  N(Ea, null, {
6182
6220
  default: L(() => [
6183
- (U(!0), ve(at, null, Un(d.value, (x) => (U(), Q(Ta, {
6221
+ (U(!0), he(at, null, Un(d.value, (x) => (U(), Q(Ta, {
6184
6222
  key: x,
6185
6223
  cols: Z(l).fields[x].render.xs || 12,
6186
6224
  sm: Z(l).fields[x].render.sm || 12,
@@ -6189,7 +6227,7 @@ const Fu = {
6189
6227
  xl: Z(l).fields[x].render.xl || 12
6190
6228
  }, {
6191
6229
  default: L(() => [
6192
- _e(v.$slots, Z(As)(x), {
6230
+ _e(h.$slots, Z(As)(x), {
6193
6231
  itemConfig: Z(l).fields[x]
6194
6232
  }, () => [
6195
6233
  N(Ms, { name: x }, null, 8, ["name"])
@@ -6202,11 +6240,11 @@ const Fu = {
6202
6240
  })
6203
6241
  ])
6204
6242
  ]),
6205
- e.hideButtons ? be("", !0) : (U(), ve("div", Vu, [
6206
- _e(v.$slots, "buttons", {}, () => [
6243
+ e.hideButtons ? be("", !0) : (U(), he("div", Vu, [
6244
+ _e(h.$slots, "buttons", {}, () => [
6207
6245
  N(Ei, { touched: f.value }, null, 8, ["touched"]),
6208
- N(Ti, { onReset: h }),
6209
- i.value.system && i.value.subject && e.userId && Z(he)(e.client) ? (U(), Q(Lu, {
6246
+ N(Ti, { onReset: v }),
6247
+ i.value.system && i.value.subject && e.userId && Z(ve)(e.client) ? (U(), Q(Lu, {
6210
6248
  key: 0,
6211
6249
  client: e.client,
6212
6250
  user: e.userId,
@@ -6228,7 +6266,7 @@ const Fu = {
6228
6266
  }, qu = {
6229
6267
  key: 0,
6230
6268
  class: "required"
6231
- }, ju = 300, Ad = /* @__PURE__ */ Se({
6269
+ }, ju = 300, Ad = /* @__PURE__ */ we({
6232
6270
  __name: "AFormRemoteAutocomplete",
6233
6271
  props: /* @__PURE__ */ wt({
6234
6272
  label: { default: void 0 },
@@ -6283,15 +6321,15 @@ const Fu = {
6283
6321
  return ue(j) ? xe(j) : j;
6284
6322
  }
6285
6323
  }), { collabOptions: b } = zt(), p = P((j) => {
6286
- }), k = P((j) => {
6287
- }), h = P(() => {
6324
+ }), E = P((j) => {
6325
+ }), v = P(() => {
6288
6326
  }), f = P(null);
6289
- if (b.value.enabled && he(a.collab)) {
6327
+ if (b.value.enabled && ve(a.collab)) {
6290
6328
  const { releaseCollabFieldLock: j, changeCollabFieldData: se, acquireCollabFieldLock: ge, lockedByUser: pe } = aa(
6291
6329
  a.collab.room,
6292
6330
  a.collab.field
6293
6331
  );
6294
- p.value = j, k.value = se, h.value = ge, Ie(
6332
+ p.value = j, E.value = se, v.value = ge, Ie(
6295
6333
  pe,
6296
6334
  (Ot) => {
6297
6335
  f.value = Ot;
@@ -6299,14 +6337,14 @@ const Fu = {
6299
6337
  { immediate: !0 }
6300
6338
  );
6301
6339
  }
6302
- const d = P(""), v = P(!1), C = P(null), x = P(0), { t: I } = Ne(), g = ee(Va, void 0), _ = ee(Ha, void 0), B = () => {
6303
- v.value = !1, r("blur", m.value), a.v?.$touch(), p.value(m.value);
6304
- }, E = V(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((j) => j.$message) : []), $ = V(() => {
6305
- if (he(a.label)) return a.label;
6340
+ const d = P(""), h = P(!1), C = P(null), x = P(0), { t: I } = Ne(), g = ee(Va, void 0), _ = ee(Ha, void 0), B = () => {
6341
+ h.value = !1, r("blur", m.value), a.v?.$touch(), p.value(m.value);
6342
+ }, k = V(() => ve(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((j) => j.$message) : []), $ = V(() => {
6343
+ if (ve(a.label)) return a.label;
6306
6344
  if (T(g) || T(_) || T(a.v?.$path)) return "";
6307
- const { end: j } = vn(a.v?.$path, ".");
6345
+ const { end: j } = hn(a.v?.$path, ".");
6308
6346
  return I(g + "." + _ + ".model." + j);
6309
- }), R = V(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), O = V(() => he(a.disabled) ? a.disabled : !!f.value), { pagination: M } = hn(K(u) ? null : u.key, u?.order), A = P([]), w = P([]), y = P(!0), S = P(!1), D = V(() => {
6347
+ }), R = V(() => ve(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), O = V(() => ve(a.disabled) ? a.disabled : !!f.value), { pagination: M } = vn(G(u) ? null : u.key, u?.order), A = P([]), w = P([]), y = P(!0), S = P(!1), D = V(() => {
6310
6348
  const j = /* @__PURE__ */ new Map(), se = (ge) => {
6311
6349
  ge.forEach((pe) => {
6312
6350
  j.set(pe.value, {
@@ -6332,7 +6370,7 @@ const Fu = {
6332
6370
  } finally {
6333
6371
  F.value = !1;
6334
6372
  }
6335
- }, we = async (j, se = !1) => {
6373
+ }, Ce = async (j, se = !1) => {
6336
6374
  const ge = ue(j) ? j : [j];
6337
6375
  F.value = !0;
6338
6376
  try {
@@ -6346,15 +6384,15 @@ const Fu = {
6346
6384
  }
6347
6385
  return F.value = !1, !1;
6348
6386
  } catch (pe) {
6349
- Ce(pe);
6387
+ Se(pe);
6350
6388
  }
6351
- }, { showErrorsDefault: Ce } = oa(), z = async (j, se) => {
6389
+ }, { showErrorsDefault: Se } = oa(), z = async (j, se) => {
6352
6390
  F.value = !0, l[i] = j;
6353
6391
  try {
6354
6392
  const ge = await a.fetchItems(M, l, o);
6355
6393
  se === x.value && (A.value = ge);
6356
6394
  } catch (ge) {
6357
- Ce(ge);
6395
+ Se(ge);
6358
6396
  } finally {
6359
6397
  F.value = !1;
6360
6398
  }
@@ -6363,27 +6401,32 @@ const Fu = {
6363
6401
  F.value = !0;
6364
6402
  try {
6365
6403
  const ge = await a.fetchItems(M, l, o);
6366
- x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && ge.length === 1 && (K(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
6404
+ x.value === 0 && (A.value = ge, !a.disableAutoSingleSelect && ge.length === 1 && (G(se) || T(se) || ue(se) && se.length === 0) && (m.value = a.multiple ? [ge[0].value] : ge[0].value)), S.value = !0;
6367
6405
  } finally {
6368
6406
  F.value = !1;
6369
6407
  }
6370
6408
  }
6371
6409
  }, q = async () => {
6372
- v.value = !0, h.value(), await te("focus", m.value), r("focus", m.value);
6410
+ h.value = !0, v.value(), await te("focus", m.value), r("focus", m.value);
6373
6411
  }, W = async () => {
6374
6412
  await te("hover", m.value);
6375
6413
  }, me = V(() => {
6376
6414
  if (!a.multiple && w.value[0])
6377
6415
  return w.value[0].title;
6378
- }), G = (j) => {
6379
- !a.multiple && !v.value && j.length === 0 || me.value !== j && (d.value = j);
6416
+ }), K = (j) => {
6417
+ !a.multiple && !h.value && j.length === 0 || me.value !== j && (d.value = j);
6380
6418
  }, J = async () => {
6381
- if (A.value = await a.fetchItems(M, l, o), a.multiple) {
6419
+ try {
6420
+ A.value = await a.fetchItems(M, l, o);
6421
+ } catch (j) {
6422
+ Se(j);
6423
+ }
6424
+ if (a.multiple) {
6382
6425
  m.value = [];
6383
6426
  return;
6384
6427
  }
6385
6428
  m.value = null;
6386
- }, ie = (j) => {
6429
+ }, le = (j) => {
6387
6430
  if (ue(m.value)) {
6388
6431
  m.value = m.value.filter((se) => se !== j.value);
6389
6432
  return;
@@ -6407,7 +6450,7 @@ const Fu = {
6407
6450
  });
6408
6451
  const Te = (j) => {
6409
6452
  const se = xe(j);
6410
- if (c.value = se, K(se) || T(se)) {
6453
+ if (c.value = se, G(se) || T(se)) {
6411
6454
  m.value = null;
6412
6455
  return;
6413
6456
  }
@@ -6426,7 +6469,7 @@ const Fu = {
6426
6469
  m,
6427
6470
  async (j, se) => {
6428
6471
  if (j !== se) {
6429
- if (y.value && (y.value = !1, await te("mounted", j)), b.value.enabled && v.value && k.value(j), Vo(j)) {
6472
+ if (y.value && (y.value = !1, await te("mounted", j)), b.value.enabled && h.value && E.value(j), Vo(j)) {
6430
6473
  X(j);
6431
6474
  return;
6432
6475
  }
@@ -6435,14 +6478,14 @@ const Fu = {
6435
6478
  },
6436
6479
  { immediate: !0 }
6437
6480
  ), n({
6438
- tryLoadModelValue: we
6481
+ tryLoadModelValue: Ce
6439
6482
  }), (j, se) => (U(), Q(Qn, {
6440
6483
  "model-value": C.value,
6441
6484
  items: D.value,
6442
6485
  "no-filter": "",
6443
6486
  multiple: e.multiple,
6444
6487
  clearable: e.clearable,
6445
- "error-messages": E.value,
6488
+ "error-messages": k.value,
6446
6489
  chips: e.chips || e.multiple || e.closableChips,
6447
6490
  "hide-details": e.hideDetails,
6448
6491
  loading: H.value,
@@ -6453,7 +6496,7 @@ const Fu = {
6453
6496
  autocomplete: "off",
6454
6497
  "hide-selected": e.closableChips,
6455
6498
  "closable-chips": e.closableChips && !H.value && !O.value && !e.readonly,
6456
- "onUpdate:search": G,
6499
+ "onUpdate:search": K,
6457
6500
  "onUpdate:modelValue": Te,
6458
6501
  onBlur: B,
6459
6502
  onFocus: q,
@@ -6472,21 +6515,21 @@ const Fu = {
6472
6515
  size: "small",
6473
6516
  text: `${pe.title} (${pe.raw.subtitle})`,
6474
6517
  disabled: pe.props.disabled,
6475
- "onClick:close": (Ot) => ie(pe.raw)
6518
+ "onClick:close": (Ot) => le(pe.raw)
6476
6519
  }, {
6477
6520
  default: L(() => [
6478
6521
  Oe(ye(pe.raw.title) + " ", 1),
6479
- pe.raw.subtitle ? (U(), ve("span", Hu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
6522
+ pe.raw.subtitle ? (U(), he("span", Hu, " (" + ye(pe.raw.subtitle) + ") ", 1)) : be("", !0)
6480
6523
  ]),
6481
6524
  _: 2
6482
6525
  }, 1032, ["closable", "text", "disabled", "onClick:close"])
6483
6526
  ]),
6484
6527
  label: L(() => [
6485
- e.hideLabel ? be("", !0) : (U(), ve("span", {
6528
+ e.hideLabel ? be("", !0) : (U(), he("span", {
6486
6529
  key: R.value + ""
6487
6530
  }, [
6488
6531
  Oe(ye($.value) + " ", 1),
6489
- R.value ? (U(), ve("span", qu)) : be("", !0)
6532
+ R.value ? (U(), he("span", qu)) : be("", !0)
6490
6533
  ]))
6491
6534
  ]),
6492
6535
  _: 2
@@ -6521,7 +6564,7 @@ export {
6521
6564
  on as C,
6522
6565
  Ti as D,
6523
6566
  pd as E,
6524
- hd as F,
6567
+ vd as F,
6525
6568
  er as G,
6526
6569
  Ia as H,
6527
6570
  Sc as I,
@@ -6599,11 +6642,11 @@ export {
6599
6642
  bs as ao,
6600
6643
  gs as ap,
6601
6644
  Sd as aq,
6602
- hn as ar,
6645
+ vn as ar,
6603
6646
  Xc as as,
6604
6647
  Dt as at,
6605
6648
  Ka as au,
6606
- le as av,
6649
+ ie as av,
6607
6650
  Zc as aw,
6608
6651
  Ja as ax,
6609
6652
  Za as ay,
@@ -6636,7 +6679,7 @@ export {
6636
6679
  ti as bN,
6637
6680
  ii as bO,
6638
6681
  kt as bP,
6639
- vt as bQ,
6682
+ ht as bQ,
6640
6683
  bd as bR,
6641
6684
  yd as bS,
6642
6685
  fd as bT,
@@ -6652,7 +6695,7 @@ export {
6652
6695
  _u as bc,
6653
6696
  Wc as bd,
6654
6697
  md as be,
6655
- vd as bf,
6698
+ hd as bf,
6656
6699
  kc as bg,
6657
6700
  Tc as bh,
6658
6701
  xc as bi,
@@ -6674,7 +6717,7 @@ export {
6674
6717
  ud as by,
6675
6718
  cd as bz,
6676
6719
  Ha as c,
6677
- hs as c0,
6720
+ vs as c0,
6678
6721
  ys as c1,
6679
6722
  Ol as c2,
6680
6723
  xs as c3,
@@ -6689,9 +6732,9 @@ export {
6689
6732
  T as d,
6690
6733
  Ht as e,
6691
6734
  xe as f,
6692
- K as g,
6735
+ G as g,
6693
6736
  mt as h,
6694
- he as i,
6737
+ ve as i,
6695
6738
  Kc as j,
6696
6739
  Wo as k,
6697
6740
  oa as l,
@@ -6701,7 +6744,7 @@ export {
6701
6744
  ue as p,
6702
6745
  gn as q,
6703
6746
  un as r,
6704
- vn as s,
6747
+ hn as s,
6705
6748
  Aa as t,
6706
6749
  zt as u,
6707
6750
  Cc as v,
@@ -6710,4 +6753,4 @@ export {
6710
6753
  Vo as y,
6711
6754
  il as z
6712
6755
  };
6713
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BEB08O7m.mjs.map
6756
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-Cc4fwgQq.mjs.map