@anzusystems/common-admin 1.47.0-beta.dev-1771894811 → 1.47.0-beta.dev-1771894813

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 we, createBlock as X, openBlock as P, withCtx as B, createVNode as O, createElementBlock as de, createCommentVNode as ce, renderSlot as Se, normalizeClass as Ze, toDisplayString as fe, createElementVNode as Ee, isProxy as Pr, toRaw as aa, isRef as Ha, unref as H, computed as U, Fragment as qe, normalizeStyle as Lr, createTextVNode as De, shallowRef as fo, watch as Ae, ref as L, reactive as Zt, inject as J, createSlots as Pt, withDirectives as wn, onMounted as ja, withModifiers as ye, onUnmounted as Nr, TransitionGroup as Yr, mergeProps as it, isVNode as Ur, mergeModels as mt, useModel as Tt, useTemplateRef as Ot, nextTick as Ye, withKeys as Fa, vModelText as mo, getCurrentInstance as oa, resolveComponent as Wt, resolveDynamicComponent as qo, renderList as Bt, toValue as vo, toRef as Vr, onBeforeUnmount as Hr, provide as Kn, vShow as jr } from "vue";
1
+ import { defineComponent as Se, createBlock as X, openBlock as P, withCtx as B, createVNode as O, createElementBlock as de, createCommentVNode as ce, renderSlot as we, normalizeClass as Ze, toDisplayString as fe, createElementVNode as Ee, isProxy as Pr, toRaw as aa, isRef as Ha, unref as H, computed as U, Fragment as qe, normalizeStyle as Lr, createTextVNode as De, shallowRef as fo, watch as Ae, ref as L, reactive as Zt, inject as J, createSlots as Pt, withDirectives as Sn, onMounted as ja, withModifiers as ye, onUnmounted as Nr, TransitionGroup as Yr, mergeProps as it, isVNode as Ur, mergeModels as mt, useModel as Tt, useTemplateRef as Ot, nextTick as Ye, withKeys as Fa, vModelText as mo, getCurrentInstance as oa, resolveComponent as Wt, resolveDynamicComponent as qo, renderList as Bt, toValue as vo, toRef as Vr, onBeforeUnmount as Hr, provide as Kn, vShow as jr } from "vue";
2
2
  import { useEventBus as Qe, tryOnBeforeUnmount as qr, watchDebounced as qa, useResizeObserver as zr, watchThrottled as Wr, defaultDocument as Kr, unrefElement as Gr, tryOnMounted as Xr, tryOnScopeDispose as Zr } from "@vueuse/core";
3
3
  import { useI18n as Re, createI18n as Jr } from "vue-i18n";
4
4
  import { VAutocomplete as ra } from "vuetify/components/VAutocomplete";
@@ -27,7 +27,7 @@ import { VProgressCircular as Jo } from "vuetify/components/VProgressCircular";
27
27
  import { VTabs as hl, VTab as po } from "vuetify/components/VTabs";
28
28
  import { VAvatar as gl } from "vuetify/components/VAvatar";
29
29
  import { VBadge as bl } from "vuetify/components/VBadge";
30
- const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
30
+ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
31
31
  __name: "ARow",
32
32
  props: {
33
33
  title: { default: "" },
@@ -44,7 +44,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
44
44
  key: 0,
45
45
  class: Ze(e.titleClass)
46
46
  }, fe(e.title), 3)) : ce("", !0),
47
- Se(n.$slots, "default", {}, () => [
47
+ we(n.$slots, "default", {}, () => [
48
48
  Ee("span", yl, fe(e.value), 1)
49
49
  ])
50
50
  ]),
@@ -59,10 +59,10 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
59
59
  for (const [a, r] of n)
60
60
  t[a] = r;
61
61
  return t;
62
- }, S = (e) => typeof e > "u", he = (e) => !S(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Uc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Vc = (e) => Oe(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), Hc = (e) => {
62
+ }, w = (e) => typeof e > "u", he = (e) => !w(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Uc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Vc = (e) => Oe(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), Hc = (e) => {
63
63
  const n = parseFloat(e);
64
64
  return !isNaN(e) && (n | 0) === n;
65
- }, En = (e) => typeof e == "object" && !ue(e) && !G(e), pn = (e) => En(e) ? Object.keys(e).length === 0 : !1, Oa = (e) => ue(e) && e.length === 0, Qo = (e) => G(e) || S(e) || e === "" || e === 0 || Oa(e) || pn(e), $e = (e) => {
65
+ }, En = (e) => typeof e == "object" && !ue(e) && !G(e), pn = (e) => En(e) ? Object.keys(e).length === 0 : !1, Oa = (e) => ue(e) && e.length === 0, Qo = (e) => G(e) || w(e) || e === "" || e === 0 || Oa(e) || pn(e), $e = (e) => {
66
66
  if (typeof structuredClone == "function")
67
67
  try {
68
68
  return Pr(e) ? structuredClone(aa(e)) : Ha(e) ? structuredClone(H(e)) : structuredClone(e);
@@ -95,19 +95,19 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
95
95
  }, tr = (e) => {
96
96
  const n = e.trim();
97
97
  return n === "true" ? !0 : n === "false" ? !1 : null;
98
- }, Sn = (e, n = "") => {
98
+ }, wn = (e, n = "") => {
99
99
  const t = e.indexOf(n);
100
100
  return {
101
101
  start: e.slice(0, t),
102
102
  end: e.slice(t + n.length)
103
103
  };
104
- }, qc = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), zc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Wc = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, wl = (e, n) => {
104
+ }, qc = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), zc = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Wc = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, Sl = (e, n) => {
105
105
  if (e.indexOf(":") === -1) return e;
106
106
  const t = [], [a, r] = e.split("?");
107
107
  return a.split("/").forEach((l, s) => {
108
108
  if (t[s] = l, !l.startsWith(":")) return;
109
109
  const i = l.substring(1);
110
- S(n[i]) || (t[s] = n[l.substring(1)] + "");
110
+ w(n[i]) || (t[s] = n[l.substring(1)] + "");
111
111
  }), t.join("/") + (r ? `?${r}` : "");
112
112
  }, Kc = (e, n) => {
113
113
  if (e.indexOf(":") === -1) return e;
@@ -116,9 +116,9 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
116
116
  if (t[o] = r, !r.startsWith(":")) return;
117
117
  t[o] = r.substring(1);
118
118
  const l = /^:([a-zA-Z0-9_-]+).*/, s = r.match(l);
119
- G(s) || !s[1] || S(n[s[1]]) || (t[o] = n[s[1]] + "");
119
+ G(s) || !s[1] || w(n[s[1]]) || (t[o] = n[s[1]] + "");
120
120
  }), t.join("/");
121
- }, Gc = (e) => e.replace(".", "-"), Xc = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Xa = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Za = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Zc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Jc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), ho = /* @__PURE__ */ we({
121
+ }, Gc = (e) => e.replace(".", "-"), Xc = (e) => /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}$/.test(e), Xa = /* @__PURE__ */ Symbol.for("anzu:SystemScope"), Za = /* @__PURE__ */ Symbol.for("anzu:SubjectScope"), Zc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Jc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), ho = /* @__PURE__ */ Se({
122
122
  __name: "AAnzuUserAvatar",
123
123
  props: {
124
124
  user: { default: void 0 },
@@ -159,7 +159,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
159
159
  l[0] || (l[0] = Ee("div", null, null, -1))
160
160
  ], 64));
161
161
  }
162
- }), Sl = { class: "d-inline-flex" }, Dl = { key: 0 }, ua = /* @__PURE__ */ we({
162
+ }), wl = { class: "d-inline-flex" }, Dl = { key: 0 }, ua = /* @__PURE__ */ Se({
163
163
  __name: "ACollabLockedByUser",
164
164
  props: {
165
165
  id: {},
@@ -178,11 +178,11 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
178
178
  return Ae(
179
179
  l,
180
180
  async (i) => {
181
- a.value || S(i) || !i._loaded || (t.value = i, a.value = !0);
181
+ a.value || w(i) || !i._loaded || (t.value = i, a.value = !0);
182
182
  },
183
183
  { immediate: !0 }
184
- ), (i, c) => (P(), de("div", Sl, [
185
- H(G)(e.id) || H(S)(e.id) ? (P(), de("span", Dl)) : a.value ? (P(), de(qe, { key: 1 }, [
184
+ ), (i, c) => (P(), de("div", wl, [
185
+ H(G)(e.id) || H(w)(e.id) ? (P(), de("span", Dl)) : a.value ? (P(), de(qe, { key: 1 }, [
186
186
  e.isModerator ? (P(), X(bl, {
187
187
  key: 0,
188
188
  location: "top right",
@@ -327,10 +327,10 @@ const cd = {
327
327
  beforeReconnect: () => new Promise((e) => e())
328
328
  });
329
329
  function md(e) {
330
- S(e) || (Ba.value = e);
330
+ w(e) || (Ba.value = e);
331
331
  }
332
332
  function Jt() {
333
- if (S(Ba.value))
333
+ if (w(Ba.value))
334
334
  throw new Error("Composable can't be used without properly configured common admin.");
335
335
  return {
336
336
  collabOptions: Ba
@@ -368,9 +368,9 @@ function jl() {
368
368
  }
369
369
  function ca(e, n, t = !1) {
370
370
  const { collabOptions: a } = Jt(), { currentUserId: r } = jl(), { collabSocket: o, collabFieldLocksState: l, collabFieldDataBufferState: s, collabRoomInfoState: i } = Hl(), c = Rl(), f = L(), d = L(), b = Ll(), p = L(), D = L(), v = nr(), m = L(), u = L(), h = ($, T) => {
371
- $.room !== e || $.field !== n || S(T) || S(d.value) || d.value(T);
371
+ $.room !== e || $.field !== n || w(T) || w(d.value) || d.value(T);
372
372
  }, E = ($, T) => {
373
- $.room !== e || $.field !== n || S(T) || S(D.value) || D.value(T);
373
+ $.room !== e || $.field !== n || w(T) || w(D.value) || D.value(T);
374
374
  }, I = ($) => {
375
375
  $.room === e && he(u.value) && u.value();
376
376
  }, A = ($) => {
@@ -401,16 +401,16 @@ function ca(e, n, t = !1) {
401
401
  addCollabFieldLockStatusListener: g,
402
402
  addCollabGatheringBufferDataListener: M,
403
403
  acquireCollabFieldLock: ($ = {}) => {
404
- if (!a.value.enabled || S(o.value)) return;
404
+ if (!a.value.enabled || w(o.value)) return;
405
405
  const T = i.get(e);
406
406
  T && T.status === pa.Inactive || o.value?.timeout(1e3).emit(
407
407
  "acquireFieldLock",
408
408
  e,
409
409
  n,
410
410
  $,
411
- (_, w) => {
411
+ (_, S) => {
412
412
  const y = { field: n, room: e };
413
- if (_ || bo(w))
413
+ if (_ || bo(S))
414
414
  return void b.emit(
415
415
  y,
416
416
  Bn(
@@ -418,9 +418,9 @@ function ca(e, n, t = !1) {
418
418
  cn.Failure
419
419
  )
420
420
  );
421
- if (go(w)) {
421
+ if (go(S)) {
422
422
  l.has(e) || l.set(e, /* @__PURE__ */ new Map());
423
- const C = new Map(w.locks ? Object.entries(w.locks) : []);
423
+ const C = new Map(S.locks ? Object.entries(S.locks) : []);
424
424
  for (const [x, R] of C.entries())
425
425
  l.get(e)?.set(x, R);
426
426
  return void b.emit(
@@ -435,7 +435,7 @@ function ca(e, n, t = !1) {
435
435
  );
436
436
  },
437
437
  releaseCollabFieldLock: ($, T = {}) => {
438
- if (!a.value.enabled || S(o.value)) return;
438
+ if (!a.value.enabled || w(o.value)) return;
439
439
  const _ = i.get(e);
440
440
  if (_ && _.status === pa.Inactive) {
441
441
  s.has(e) || s.set(e, /* @__PURE__ */ new Map()), s.get(e)?.set(n, $);
@@ -447,9 +447,9 @@ function ca(e, n, t = !1) {
447
447
  n,
448
448
  $,
449
449
  T,
450
- (w, y) => {
450
+ (S, y) => {
451
451
  const C = { field: n, room: e };
452
- if (w || bo(y))
452
+ if (S || bo(y))
453
453
  return void b.emit(
454
454
  C,
455
455
  Bn(
@@ -473,7 +473,7 @@ function ca(e, n, t = !1) {
473
473
  );
474
474
  },
475
475
  changeCollabFieldData: ($) => {
476
- if (!a.value.enabled || S(o.value)) return;
476
+ if (!a.value.enabled || w(o.value)) return;
477
477
  const T = i.get(e);
478
478
  T && T.status === pa.Inactive || o.value.emit("changeFieldData", e, n, $, () => {
479
479
  });
@@ -488,7 +488,7 @@ function ca(e, n, t = !1) {
488
488
  const ql = {
489
489
  key: 0,
490
490
  class: "required"
491
- }, wo = /* @__PURE__ */ we({
491
+ }, So = /* @__PURE__ */ Se({
492
492
  __name: "AFormTextField",
493
493
  props: {
494
494
  modelValue: {},
@@ -544,8 +544,8 @@ const ql = {
544
544
  r("focus", a.modelValue), i.value();
545
545
  }, m = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((A) => A.$message).join(" ")] : []), u = U(() => {
546
546
  if (he(a.label)) return a.label;
547
- if (S(d) || S(b) || S(a.v?.$path)) return "";
548
- const { end: A } = Sn(a.v?.$path, ".");
547
+ if (w(d) || w(b) || w(a.v?.$path)) return "";
548
+ const { end: A } = wn(a.v?.$path, ".");
549
549
  return f(d + "." + b + ".model." + A);
550
550
  }), h = U(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), E = U(() => he(a.disabled) ? a.disabled : !!c.value);
551
551
  return n({
@@ -585,7 +585,7 @@ const ql = {
585
585
  c.value ? {
586
586
  name: "append-inner",
587
587
  fn: B(() => [
588
- Se(A.$slots, "locked", { userId: c.value }, () => [
588
+ we(A.$slots, "locked", { userId: c.value }, () => [
589
589
  e.collab ? (P(), X(ua, {
590
590
  key: 0,
591
591
  id: c.value,
@@ -598,14 +598,14 @@ const ql = {
598
598
  A.$slots.prepend ? {
599
599
  name: "prepend",
600
600
  fn: B(() => [
601
- Se(A.$slots, "prepend")
601
+ we(A.$slots, "prepend")
602
602
  ]),
603
603
  key: "2"
604
604
  } : void 0,
605
605
  e.help ? {
606
606
  name: "append",
607
607
  fn: B(() => [
608
- wn(O(Be, { icon: "mdi-help-circle-outline" }, null, 512), [
608
+ Sn(O(Be, { icon: "mdi-help-circle-outline" }, null, 512), [
609
609
  [Zo, e.help]
610
610
  ])
611
611
  ]),
@@ -613,15 +613,15 @@ const ql = {
613
613
  } : void 0
614
614
  ]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon", "maxlength", "disabled", "placeholder", "persistent-placeholder"]));
615
615
  }
616
- }), So = ["en", "sk"], zl = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, xe = Jr({
616
+ }), wo = ["en", "sk"], zl = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, xe = Jr({
617
617
  globalInjection: !1,
618
- locale: So[0],
618
+ locale: wo[0],
619
619
  fallbackLocale: !1,
620
620
  pluralRules: {
621
621
  sk: zl
622
622
  },
623
623
  missing: (e, n) => {
624
- So.includes(e) && !n.startsWith("system.subject.") && console.warn(`Missing ${e} translation: ${n}`);
624
+ wo.includes(e) && !n.startsWith("system.subject.") && console.warn(`Missing ${e} translation: ${n}`);
625
625
  }
626
626
  });
627
627
  function Wl(e = "id", n = !0) {
@@ -657,7 +657,7 @@ function yd(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = vo
657
657
  u in o && (d[u] = o[u]);
658
658
  const b = e.map((u) => {
659
659
  const h = { ...Gl, ...u };
660
- return S(h.title) && (S(h.title) && Kl.includes(h.key) ? h.title = f("common.model.tracking." + h.key) : S(h.title) && t && a ? h.title = f(t + "." + a + ".model." + h.key) : h.title = ""), h;
660
+ return w(h.title) && (w(h.title) && Kl.includes(h.key) ? h.title = f("common.model.tracking." + h.key) : w(h.title) && t && a ? h.title = f(t + "." + a + ".model." + h.key) : h.title = ""), h;
661
661
  }), p = U(() => {
662
662
  const u = [];
663
663
  return s && u.push({ key: "data-table-expand", sortable: !1 }), b.forEach((h) => {
@@ -690,7 +690,7 @@ function yd(e, n, t = void 0, a = void 0, r = !1, o = void 0, l = void 0, s = vo
690
690
  pagination: d
691
691
  };
692
692
  }
693
- const Ja = /* @__PURE__ */ we({
693
+ const Ja = /* @__PURE__ */ Se({
694
694
  __name: "ADialogToolbar",
695
695
  emits: ["onCancel"],
696
696
  setup(e, { emit: n }) {
@@ -704,7 +704,7 @@ const Ja = /* @__PURE__ */ we({
704
704
  default: B(() => [
705
705
  O(ml, { class: "flex-fill" }, {
706
706
  default: B(() => [
707
- Se(r.$slots, "default")
707
+ we(r.$slots, "default")
708
708
  ]),
709
709
  _: 3
710
710
  }),
@@ -834,7 +834,7 @@ function as(e) {
834
834
  const Rn = {
835
835
  IDLE: 0,
836
836
  DESTROYED: 2
837
- }, os = /* @__PURE__ */ we({
837
+ }, os = /* @__PURE__ */ Se({
838
838
  // eslint-disable-next-line vue/multi-word-component-names
839
839
  name: "notifications",
840
840
  props: {
@@ -957,14 +957,14 @@ const Rn = {
957
957
  const F = typeof k.duration == "number" ? k.duration : e.duration, N = typeof k.speed == "number" ? k.speed : e.speed, $ = typeof k.ignoreDuplicates == "boolean" ? k.ignoreDuplicates : e.ignoreDuplicates, {
958
958
  title: T,
959
959
  text: _,
960
- type: w,
960
+ type: S,
961
961
  data: y,
962
962
  id: C
963
963
  } = k, x = {
964
964
  id: C || Ql(),
965
965
  title: T,
966
966
  text: _,
967
- type: w,
967
+ type: S,
968
968
  state: Rn.IDLE,
969
969
  speed: N,
970
970
  length: F + 2 * N,
@@ -1074,7 +1074,7 @@ class ut extends Error {
1074
1074
  super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
1075
1075
  }
1076
1076
  }
1077
- const is = 200, us = 201, cs = 202, Qt = 204, wd = 400, Sd = 401, ds = 403, Dd = 404, Qa = 422, fs = [
1077
+ const is = 200, us = 201, cs = 202, Qt = 204, Sd = 400, wd = 401, ds = 403, Dd = 404, Qa = 422, fs = [
1078
1078
  is,
1079
1079
  us,
1080
1080
  cs,
@@ -1118,14 +1118,14 @@ class an extends Error {
1118
1118
  super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = ys(n);
1119
1119
  }
1120
1120
  }
1121
- const Cs = "dependency_exists_error", _n = (e) => Lt.isAxiosError(e) && e.response?.status === Qa && e.response.data?.error === Cs && e.response.data?.dependencies, ws = (e) => e instanceof on;
1122
- function Ss(e) {
1121
+ const Cs = "dependency_exists_error", _n = (e) => Lt.isAxiosError(e) && e.response?.status === Qa && e.response.data?.error === Cs && e.response.data?.dependencies, Ss = (e) => e instanceof on;
1122
+ function ws(e) {
1123
1123
  return (e.response?.data).dependencies;
1124
1124
  }
1125
1125
  class on extends Error {
1126
1126
  dependencies;
1127
1127
  constructor(n, t, a, r, o = "") {
1128
- super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = Ss(n);
1128
+ super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = ws(n);
1129
1129
  }
1130
1130
  }
1131
1131
  const Ds = (e) => e instanceof to, lr = (e) => Lt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
@@ -1245,7 +1245,7 @@ function In() {
1245
1245
  duration: m * 1e3,
1246
1246
  type: "error"
1247
1247
  });
1248
- }, D = (m, u = -1) => ms(m) ? (p(u), !0) : rr(m) ? (f(m.fields, u), !0) : ws(m) ? (a("error.apiDependencyExists.message", u), !0) : bs(m) ? (d(m.detail, u), !0) : Ds(m) ? (a("error.apiTimedOut.message", u), !0) : ks(m) || ss(m) || eo(m) ? (b(u), !0) : !1, v = (m) => {
1248
+ }, D = (m, u = -1) => ms(m) ? (p(u), !0) : rr(m) ? (f(m.fields, u), !0) : Ss(m) ? (a("error.apiDependencyExists.message", u), !0) : bs(m) ? (d(m.detail, u), !0) : Ds(m) ? (a("error.apiTimedOut.message", u), !0) : ks(m) || ss(m) || eo(m) ? (b(u), !0) : !1, v = (m) => {
1249
1249
  const { t: u } = xe.global, h = m.split("["), E = h[0].trim(), I = h[1].split("]"), A = I[0], g = I[1] ?? "";
1250
1250
  return u(E) + "[" + A + "]: " + u(E.slice(0, -1) + g);
1251
1251
  };
@@ -1277,17 +1277,17 @@ function As() {
1277
1277
  e.exports = a();
1278
1278
  })(Ts, (function() {
1279
1279
  var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", l = "second", s = "minute", i = "hour", c = "day", f = "week", d = "month", b = "quarter", p = "year", D = "date", v = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, u = /\[([^\]]+)]|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(_) {
1280
- var w = ["th", "st", "nd", "rd"], y = _ % 100;
1281
- return "[" + _ + (w[(y - 20) % 10] || w[y] || w[0]) + "]";
1282
- } }, E = function(_, w, y) {
1280
+ var S = ["th", "st", "nd", "rd"], y = _ % 100;
1281
+ return "[" + _ + (S[(y - 20) % 10] || S[y] || S[0]) + "]";
1282
+ } }, E = function(_, S, y) {
1283
1283
  var C = String(_);
1284
- return !C || C.length >= w ? _ : "" + Array(w + 1 - C.length).join(y) + _;
1284
+ return !C || C.length >= S ? _ : "" + Array(S + 1 - C.length).join(y) + _;
1285
1285
  }, I = { s: E, z: function(_) {
1286
- var w = -_.utcOffset(), y = Math.abs(w), C = Math.floor(y / 60), x = y % 60;
1287
- return (w <= 0 ? "+" : "-") + E(C, 2, "0") + ":" + E(x, 2, "0");
1288
- }, m: function _(w, y) {
1289
- if (w.date() < y.date()) return -_(y, w);
1290
- var C = 12 * (y.year() - w.year()) + (y.month() - w.month()), x = w.clone().add(C, d), R = y - x < 0, j = w.clone().add(C + (R ? -1 : 1), d);
1286
+ var S = -_.utcOffset(), y = Math.abs(S), C = Math.floor(y / 60), x = y % 60;
1287
+ return (S <= 0 ? "+" : "-") + E(C, 2, "0") + ":" + E(x, 2, "0");
1288
+ }, m: function _(S, y) {
1289
+ if (S.date() < y.date()) return -_(y, S);
1290
+ var C = 12 * (y.year() - S.year()) + (y.month() - S.month()), x = S.clone().add(C, d), R = y - x < 0, j = S.clone().add(C + (R ? -1 : 1), d);
1291
1291
  return +(-(C + (y - x) / (R ? x - j : j - x)) || 0);
1292
1292
  }, a: function(_) {
1293
1293
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
@@ -1299,33 +1299,33 @@ function As() {
1299
1299
  g[A] = h;
1300
1300
  var M = "$isDayjsObject", Y = function(_) {
1301
1301
  return _ instanceof $ || !(!_ || !_[M]);
1302
- }, k = function _(w, y, C) {
1302
+ }, k = function _(S, y, C) {
1303
1303
  var x;
1304
- if (!w) return A;
1305
- if (typeof w == "string") {
1306
- var R = w.toLowerCase();
1304
+ if (!S) return A;
1305
+ if (typeof S == "string") {
1306
+ var R = S.toLowerCase();
1307
1307
  g[R] && (x = R), y && (g[R] = y, x = R);
1308
- var j = w.split("-");
1308
+ var j = S.split("-");
1309
1309
  if (!x && j.length > 1) return _(j[0]);
1310
1310
  } else {
1311
- var Q = w.name;
1312
- g[Q] = w, x = Q;
1311
+ var Q = S.name;
1312
+ g[Q] = S, x = Q;
1313
1313
  }
1314
1314
  return !C && x && (A = x), x || !C && A;
1315
- }, F = function(_, w) {
1315
+ }, F = function(_, S) {
1316
1316
  if (Y(_)) return _.clone();
1317
- var y = typeof w == "object" ? w : {};
1317
+ var y = typeof S == "object" ? S : {};
1318
1318
  return y.date = _, y.args = arguments, new $(y);
1319
1319
  }, N = I;
1320
- N.l = k, N.i = Y, N.w = function(_, w) {
1321
- return F(_, { locale: w.$L, utc: w.$u, x: w.$x, $offset: w.$offset });
1320
+ N.l = k, N.i = Y, N.w = function(_, S) {
1321
+ return F(_, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
1322
1322
  };
1323
1323
  var $ = (function() {
1324
1324
  function _(y) {
1325
1325
  this.$L = k(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[M] = !0;
1326
1326
  }
1327
- var w = _.prototype;
1328
- return w.parse = function(y) {
1327
+ var S = _.prototype;
1328
+ return S.parse = function(y) {
1329
1329
  this.$d = (function(C) {
1330
1330
  var x = C.date, R = C.utc;
1331
1331
  if (x === null) return /* @__PURE__ */ new Date(NaN);
@@ -1340,27 +1340,27 @@ function As() {
1340
1340
  }
1341
1341
  return new Date(x);
1342
1342
  })(y), this.init();
1343
- }, w.init = function() {
1343
+ }, S.init = function() {
1344
1344
  var y = this.$d;
1345
1345
  this.$y = y.getFullYear(), this.$M = y.getMonth(), this.$D = y.getDate(), this.$W = y.getDay(), this.$H = y.getHours(), this.$m = y.getMinutes(), this.$s = y.getSeconds(), this.$ms = y.getMilliseconds();
1346
- }, w.$utils = function() {
1346
+ }, S.$utils = function() {
1347
1347
  return N;
1348
- }, w.isValid = function() {
1348
+ }, S.isValid = function() {
1349
1349
  return this.$d.toString() !== v;
1350
- }, w.isSame = function(y, C) {
1350
+ }, S.isSame = function(y, C) {
1351
1351
  var x = F(y);
1352
1352
  return this.startOf(C) <= x && x <= this.endOf(C);
1353
- }, w.isAfter = function(y, C) {
1353
+ }, S.isAfter = function(y, C) {
1354
1354
  return F(y) < this.startOf(C);
1355
- }, w.isBefore = function(y, C) {
1355
+ }, S.isBefore = function(y, C) {
1356
1356
  return this.endOf(C) < F(y);
1357
- }, w.$g = function(y, C, x) {
1357
+ }, S.$g = function(y, C, x) {
1358
1358
  return N.u(y) ? this[C] : this.set(x, y);
1359
- }, w.unix = function() {
1359
+ }, S.unix = function() {
1360
1360
  return Math.floor(this.valueOf() / 1e3);
1361
- }, w.valueOf = function() {
1361
+ }, S.valueOf = function() {
1362
1362
  return this.$d.getTime();
1363
- }, w.startOf = function(y, C) {
1363
+ }, S.startOf = function(y, C) {
1364
1364
  var x = this, R = !!N.u(C) || C, j = N.p(y), Q = function(K, ge) {
1365
1365
  var Z = N.w(x.$u ? Date.UTC(x.$y, ge, K) : new Date(x.$y, ge, K), x);
1366
1366
  return R ? Z : Z.endOf(c);
@@ -1387,20 +1387,20 @@ function As() {
1387
1387
  default:
1388
1388
  return this.clone();
1389
1389
  }
1390
- }, w.endOf = function(y) {
1390
+ }, S.endOf = function(y) {
1391
1391
  return this.startOf(y, !1);
1392
- }, w.$set = function(y, C) {
1392
+ }, S.$set = function(y, C) {
1393
1393
  var x, R = N.p(y), j = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[c] = j + "Date", x[D] = j + "Date", x[d] = j + "Month", x[p] = j + "FullYear", x[i] = j + "Hours", x[s] = j + "Minutes", x[l] = j + "Seconds", x[o] = j + "Milliseconds", x)[R], re = R === c ? this.$D + (C - this.$W) : C;
1394
1394
  if (R === d || R === p) {
1395
1395
  var ve = this.clone().set(D, 1);
1396
1396
  ve.$d[Q](re), ve.init(), this.$d = ve.set(D, Math.min(this.$D, ve.daysInMonth())).$d;
1397
1397
  } else Q && this.$d[Q](re);
1398
1398
  return this.init(), this;
1399
- }, w.set = function(y, C) {
1399
+ }, S.set = function(y, C) {
1400
1400
  return this.clone().$set(y, C);
1401
- }, w.get = function(y) {
1401
+ }, S.get = function(y) {
1402
1402
  return this[N.p(y)]();
1403
- }, w.add = function(y, C) {
1403
+ }, S.add = function(y, C) {
1404
1404
  var x, R = this;
1405
1405
  y = Number(y);
1406
1406
  var j = N.p(C), Q = function(Te) {
@@ -1413,18 +1413,18 @@ function As() {
1413
1413
  if (j === f) return Q(7);
1414
1414
  var re = (x = {}, x[s] = a, x[i] = r, x[l] = t, x)[j] || 1, ve = this.$d.getTime() + y * re;
1415
1415
  return N.w(ve, this);
1416
- }, w.subtract = function(y, C) {
1416
+ }, S.subtract = function(y, C) {
1417
1417
  return this.add(-1 * y, C);
1418
- }, w.format = function(y) {
1418
+ }, S.format = function(y) {
1419
1419
  var C = this, x = this.$locale();
1420
1420
  if (!this.isValid()) return x.invalidDate || v;
1421
- var R = y || "YYYY-MM-DDTHH:mm:ssZ", j = N.z(this), Q = this.$H, re = this.$m, ve = this.$M, Te = x.weekdays, ke = x.months, W = x.meridiem, te = function(ge, Z, ee, le) {
1422
- return ge && (ge[Z] || ge(C, R)) || ee[Z].slice(0, le);
1421
+ var R = y || "YYYY-MM-DDTHH:mm:ssZ", j = N.z(this), Q = this.$H, re = this.$m, ve = this.$M, Te = x.weekdays, ke = x.months, W = x.meridiem, te = function(ge, Z, ee, se) {
1422
+ return ge && (ge[Z] || ge(C, R)) || ee[Z].slice(0, se);
1423
1423
  }, q = function(ge) {
1424
1424
  return N.s(Q % 12 || 12, ge, "0");
1425
1425
  }, K = W || function(ge, Z, ee) {
1426
- var le = ge < 12 ? "AM" : "PM";
1427
- return ee ? le.toLowerCase() : le;
1426
+ var se = ge < 12 ? "AM" : "PM";
1427
+ return ee ? se.toLowerCase() : se;
1428
1428
  };
1429
1429
  return R.replace(u, (function(ge, Z) {
1430
1430
  return Z || (function(ee) {
@@ -1481,9 +1481,9 @@ function As() {
1481
1481
  return null;
1482
1482
  })(ge) || j.replace(":", "");
1483
1483
  }));
1484
- }, w.utcOffset = function() {
1484
+ }, S.utcOffset = function() {
1485
1485
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1486
- }, w.diff = function(y, C, x) {
1486
+ }, S.diff = function(y, C, x) {
1487
1487
  var R, j = this, Q = N.p(C), re = F(y), ve = (re.utcOffset() - this.utcOffset()) * a, Te = this - re, ke = function() {
1488
1488
  return N.m(j, re);
1489
1489
  };
@@ -1516,32 +1516,32 @@ function As() {
1516
1516
  R = Te;
1517
1517
  }
1518
1518
  return x ? R : N.a(R);
1519
- }, w.daysInMonth = function() {
1519
+ }, S.daysInMonth = function() {
1520
1520
  return this.endOf(d).$D;
1521
- }, w.$locale = function() {
1521
+ }, S.$locale = function() {
1522
1522
  return g[this.$L];
1523
- }, w.locale = function(y, C) {
1523
+ }, S.locale = function(y, C) {
1524
1524
  if (!y) return this.$L;
1525
1525
  var x = this.clone(), R = k(y, C, !0);
1526
1526
  return R && (x.$L = R), x;
1527
- }, w.clone = function() {
1527
+ }, S.clone = function() {
1528
1528
  return N.w(this.$d, this);
1529
- }, w.toDate = function() {
1529
+ }, S.toDate = function() {
1530
1530
  return new Date(this.valueOf());
1531
- }, w.toJSON = function() {
1531
+ }, S.toJSON = function() {
1532
1532
  return this.isValid() ? this.toISOString() : null;
1533
- }, w.toISOString = function() {
1533
+ }, S.toISOString = function() {
1534
1534
  return this.$d.toISOString();
1535
- }, w.toString = function() {
1535
+ }, S.toString = function() {
1536
1536
  return this.$d.toUTCString();
1537
1537
  }, _;
1538
1538
  })(), T = $.prototype;
1539
1539
  return F.prototype = T, [["$ms", o], ["$s", l], ["$m", s], ["$H", i], ["$W", c], ["$M", d], ["$y", p], ["$D", D]].forEach((function(_) {
1540
- T[_[1]] = function(w) {
1541
- return this.$g(w, _[0], _[1]);
1540
+ T[_[1]] = function(S) {
1541
+ return this.$g(S, _[0], _[1]);
1542
1542
  };
1543
- })), F.extend = function(_, w) {
1544
- return _.$i || (_(w, $, F), _.$i = !0), F;
1543
+ })), F.extend = function(_, S) {
1544
+ return _.$i || (_(S, $, F), _.$i = !0), F;
1545
1545
  }, F.locale = k, F.isDayjs = Y, F.unix = function(_) {
1546
1546
  return F(1e3 * _);
1547
1547
  }, F.en = g[A], F.Ls = g, F.p = {}, F;
@@ -1549,7 +1549,7 @@ function As() {
1549
1549
  })(Un)), Un.exports;
1550
1550
  }
1551
1551
  var xs = As();
1552
- const se = /* @__PURE__ */ ao(xs);
1552
+ const le = /* @__PURE__ */ ao(xs);
1553
1553
  var Vn = { exports: {} }, _s = Vn.exports, To;
1554
1554
  function Is() {
1555
1555
  return To || (To = 1, (function(e, n) {
@@ -1690,8 +1690,8 @@ function Fs() {
1690
1690
  u = m, h = i && i.formats;
1691
1691
  for (var E = (m = u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(F, N, $) {
1692
1692
  var T = $ && $.toUpperCase();
1693
- return N || h[$] || t[$] || h[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(_, w, y) {
1694
- return w || y.slice(1);
1693
+ return N || h[$] || t[$] || h[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(_, S, y) {
1694
+ return S || y.slice(1);
1695
1695
  }));
1696
1696
  }))).match(a), I = E.length, A = 0; A < I; A += 1) {
1697
1697
  var g = E[A], M = D[g], Y = M && M[0], k = M && M[1];
@@ -1702,7 +1702,7 @@ function Fs() {
1702
1702
  var _ = E[$];
1703
1703
  if (typeof _ == "string") T += _.length;
1704
1704
  else {
1705
- var w = _.regex, y = _.parser, C = F.slice(T), x = w.exec(C)[0];
1705
+ var S = _.regex, y = _.parser, C = F.slice(T), x = S.exec(C)[0];
1706
1706
  y.call(N, x), F = F.replace(x, "");
1707
1707
  }
1708
1708
  }
@@ -1727,22 +1727,22 @@ function Fs() {
1727
1727
  N && (T = Y[2]), i = this.$locale(), !F && T && (i = h.Ls[T]), this.$d = (function(C, x, R, j) {
1728
1728
  try {
1729
1729
  if (["x", "X"].indexOf(x) > -1) return new Date((x === "X" ? 1e3 : 1) * C);
1730
- var Q = v(x)(C), re = Q.year, ve = Q.month, Te = Q.day, ke = Q.hours, W = Q.minutes, te = Q.seconds, q = Q.milliseconds, K = Q.zone, ge = Q.week, Z = /* @__PURE__ */ new Date(), ee = Te || (re || ve ? 1 : Z.getDate()), le = re || Z.getFullYear(), Ie = 0;
1730
+ var Q = v(x)(C), re = Q.year, ve = Q.month, Te = Q.day, ke = Q.hours, W = Q.minutes, te = Q.seconds, q = Q.milliseconds, K = Q.zone, ge = Q.week, Z = /* @__PURE__ */ new Date(), ee = Te || (re || ve ? 1 : Z.getDate()), se = re || Z.getFullYear(), Ie = 0;
1731
1731
  re && !ve || (Ie = ve > 0 ? ve - 1 : Z.getMonth());
1732
1732
  var Nt, z = ke || 0, ie = W || 0, Ce = te || 0, be = q || 0;
1733
- return K ? new Date(Date.UTC(le, Ie, ee, z, ie, Ce, be + 60 * K.offset * 1e3)) : R ? new Date(Date.UTC(le, Ie, ee, z, ie, Ce, be)) : (Nt = new Date(le, Ie, ee, z, ie, Ce, be), ge && (Nt = j(Nt).week(ge).toDate()), Nt);
1733
+ return K ? new Date(Date.UTC(se, Ie, ee, z, ie, Ce, be + 60 * K.offset * 1e3)) : R ? new Date(Date.UTC(se, Ie, ee, z, ie, Ce, be)) : (Nt = new Date(se, Ie, ee, z, ie, Ce, be), ge && (Nt = j(Nt).week(ge).toDate()), Nt);
1734
1734
  } catch {
1735
1735
  return /* @__PURE__ */ new Date("");
1736
1736
  }
1737
1737
  })(g, k, M, h), this.init(), T && T !== !0 && (this.$L = this.locale(T).$L), $ && g != this.format(k) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
1738
- } else if (k instanceof Array) for (var _ = k.length, w = 1; w <= _; w += 1) {
1739
- Y[1] = k[w - 1];
1738
+ } else if (k instanceof Array) for (var _ = k.length, S = 1; S <= _; S += 1) {
1739
+ Y[1] = k[S - 1];
1740
1740
  var y = h.apply(this, Y);
1741
1741
  if (y.isValid()) {
1742
1742
  this.$d = y.$d, this.$L = y.$L, this.init();
1743
1743
  break;
1744
1744
  }
1745
- w === _ && (this.$d = /* @__PURE__ */ new Date(""));
1745
+ S === _ && (this.$d = /* @__PURE__ */ new Date(""));
1746
1746
  }
1747
1747
  else I.call(this, A);
1748
1748
  };
@@ -1752,16 +1752,16 @@ function Fs() {
1752
1752
  }
1753
1753
  var Os = Fs();
1754
1754
  const ir = /* @__PURE__ */ ao(Os);
1755
- se.extend(sr);
1756
- se.extend(ir);
1757
- const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000000Z", fa = "2100-01-01T00:00:00.000000Z", kd = () => se().utc().toDate(), Bs = (e) => se(e).toDate(), Ed = () => Cl(se().utc().unix()), Dn = (e = !0, n = !1) => e && !n ? se().utc().format("YYYY-MM-DDTHH:mm:ss") + At : e && n ? se().utc().format("YYYY-MM-DDTHH:mm:00") + At : !e && n ? se().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : se().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Td = (e = 0) => e === 0 ? se().startOf("day").utc().format(Xn) + At : se().add(e, "days").startOf("day").utc().format(Xn) + At, Ad = (e = 0) => e === 0 ? se().endOf("day").utc().format(Xn) + At : se().add(e, "days").endOf("day").utc().format(Xn) + At, Rs = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? se(n).add(e, "minutes").toDate() : e < 0 ? se(n).subtract(Math.abs(e), "minutes").toDate() : n), Ra = (e, n = At) => se(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, xd = () => se().utc().format("YYYY"), dn = (e, n = "", t = !1) => e === fa || e === da || e === "" || G(e) || S(e) ? n : se(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), _d = (e, n = "", t = !1) => {
1758
- if (e === fa || e === da || e === "" || G(e) || S(e))
1755
+ le.extend(sr);
1756
+ le.extend(ir);
1757
+ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000000Z", fa = "2100-01-01T00:00:00.000000Z", kd = () => le().utc().toDate(), Bs = (e) => le(e).toDate(), Ed = () => Cl(le().utc().unix()), Dn = (e = !0, n = !1) => e && !n ? le().utc().format("YYYY-MM-DDTHH:mm:ss") + At : e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00") + At : !e && n ? le().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : le().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Td = (e = 0) => e === 0 ? le().startOf("day").utc().format(Xn) + At : le().add(e, "days").startOf("day").utc().format(Xn) + At, Ad = (e = 0) => e === 0 ? le().endOf("day").utc().format(Xn) + At : le().add(e, "days").endOf("day").utc().format(Xn) + At, Rs = (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), Ra = (e, n = At) => le(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, xd = () => le().utc().format("YYYY"), dn = (e, n = "", t = !1) => e === fa || e === da || e === "" || G(e) || w(e) ? n : le(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), _d = (e, n = "", t = !1) => {
1758
+ if (e === fa || e === da || e === "" || G(e) || w(e))
1759
1759
  return n;
1760
1760
  let a = !0, r = !0;
1761
- const o = se(e), l = se();
1762
- return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? se(o).format(t ? "H:mm:ss" : "H:mm") : a ? se(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : se(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1763
- }, Id = (e, n = "") => e === fa || e === da || e === "" || G(e) || S(e) ? n : se(e).format("DD.MM.YYYY"), Md = (e, n = "") => e === fa || e === da || e === "" || G(e) || S(e) ? n : se(e).format("HH:mm"), $d = (e, n, t = "ms") => {
1764
- const a = se(e), r = se(n);
1761
+ const o = le(e), l = le();
1762
+ 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");
1763
+ }, Id = (e, n = "") => e === fa || e === da || e === "" || G(e) || w(e) ? n : le(e).format("DD.MM.YYYY"), Md = (e, n = "") => e === fa || e === da || e === "" || G(e) || w(e) ? n : le(e).format("HH:mm"), $d = (e, n, t = "ms") => {
1764
+ const a = le(e), r = le(n);
1765
1765
  return a.diff(r, t);
1766
1766
  }, ya = (e) => typeof e == "string" && /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3,6})?Z$/.test(e), Ps = (e, n, t = 0, a = !1) => {
1767
1767
  const r = new Date(e);
@@ -1773,7 +1773,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1773
1773
  } : { from: r, until: o };
1774
1774
  }, Ca = Ps, ma = (e) => {
1775
1775
  e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
1776
- }, ur = /* @__PURE__ */ we({
1776
+ }, ur = /* @__PURE__ */ Se({
1777
1777
  __name: "AFilterSubmitButton",
1778
1778
  props: {
1779
1779
  buttonT: { default: "common.button.submitFilter" },
@@ -1800,7 +1800,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1800
1800
  _: 1
1801
1801
  }, 8, ["class", "data-cy", "variant"]));
1802
1802
  }
1803
- }), cr = /* @__PURE__ */ we({
1803
+ }), cr = /* @__PURE__ */ Se({
1804
1804
  __name: "AFilterResetButton",
1805
1805
  props: {
1806
1806
  tooltipT: { default: "common.button.resetFilter" },
@@ -1849,7 +1849,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1849
1849
  let r = e;
1850
1850
  for (; a.length; ) {
1851
1851
  const o = a.shift();
1852
- if (S(o) || !(o in r)) return;
1852
+ if (w(o) || !(o in r)) return;
1853
1853
  r = r[o];
1854
1854
  }
1855
1855
  return r;
@@ -1858,7 +1858,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1858
1858
  let o = e;
1859
1859
  for (; r.length - 1; ) {
1860
1860
  const l = r.shift();
1861
- if (S(l)) return;
1861
+ if (w(l)) return;
1862
1862
  l in o || (o[l] = {}), o = o[l];
1863
1863
  }
1864
1864
  o[r[0]] = t;
@@ -1875,7 +1875,7 @@ function Bd(e, n, t = ".") {
1875
1875
  }
1876
1876
  return o(e), e;
1877
1877
  }
1878
- const Mn = (e, n, t = "") => pn(n) ? e : wl(
1878
+ const Mn = (e, n, t = "") => pn(n) ? e : Sl(
1879
1879
  t === "" ? e : t,
1880
1880
  n
1881
1881
  ), $n = (e) => fs.includes(e), Rd = (e, n, t = {}, a, r, o = {}) => new Promise((l, s) => {
@@ -2021,7 +2021,7 @@ function oo() {
2021
2021
  datesCompare: di()
2022
2022
  };
2023
2023
  }
2024
- const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, vi = { class: "a-datetime-picker-time__arrows" }, pi = { class: "a-datetime-picker-time__item" }, hi = { class: "a-datetime-picker-time__arrows" }, gi = /* @__PURE__ */ we({
2024
+ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker-time__item a-datetime-picker-time__item" }, vi = { class: "a-datetime-picker-time__arrows" }, pi = { class: "a-datetime-picker-time__item" }, hi = { class: "a-datetime-picker-time__arrows" }, gi = /* @__PURE__ */ Se({
2025
2025
  __name: "TimePicker",
2026
2026
  props: {
2027
2027
  modelValue: {
@@ -2119,7 +2119,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2119
2119
  focusHour: I
2120
2120
  }), (A, g) => (P(), de("div", fi, [
2121
2121
  Ee("div", mi, [
2122
- wn(Ee("input", {
2122
+ Sn(Ee("input", {
2123
2123
  ref_key: "hoursRefInput",
2124
2124
  ref: s,
2125
2125
  "onUpdate:modelValue": g[0] || (g[0] = (M) => c.value = M),
@@ -2162,7 +2162,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2162
2162
  ]),
2163
2163
  g[2] || (g[2] = Ee("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
2164
2164
  Ee("div", pi, [
2165
- wn(Ee("input", {
2165
+ Sn(Ee("input", {
2166
2166
  ref_key: "minutesRefInput",
2167
2167
  ref: i,
2168
2168
  "onUpdate:modelValue": g[1] || (g[1] = (M) => f.value = M),
@@ -2205,10 +2205,10 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2205
2205
  ])
2206
2206
  ]));
2207
2207
  }
2208
- }), bi = /* @__PURE__ */ Ga(gi, [["__scopeId", "data-v-4d56d16e"]]), yi = { class: "d-flex" }, Ci = { class: "ml-1" }, wi = {
2208
+ }), bi = /* @__PURE__ */ Ga(gi, [["__scopeId", "data-v-4d56d16e"]]), yi = { class: "d-flex" }, Ci = { class: "ml-1" }, Si = {
2209
2209
  key: 0,
2210
2210
  class: "required"
2211
- }, Si = /* @__PURE__ */ we({
2211
+ }, wi = /* @__PURE__ */ Se({
2212
2212
  __name: "ADatetimePicker",
2213
2213
  props: {
2214
2214
  modelValue: {},
@@ -2229,7 +2229,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2229
2229
  emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
2230
2230
  setup(e, { emit: n }) {
2231
2231
  const t = e, a = n;
2232
- se.extend(sr), se.extend(ir);
2232
+ le.extend(sr), le.extend(ir);
2233
2233
  const r = L(!1), o = L(0), l = L(0), s = Ot("timePickerInstance"), i = Ot("inputInstance"), c = Ot("confirmRefButton"), f = L(""), d = L(null), b = L(null), p = L(null), { t: D } = Re(), v = U(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: m } = oo(), u = U(() => ({
2234
2234
  textFieldValue: {
2235
2235
  required: m(t.required)
@@ -2243,11 +2243,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2243
2243
  () => t.modelValue,
2244
2244
  (C, x) => {
2245
2245
  if (C !== x) {
2246
- if (G(C) || S(C)) {
2246
+ if (G(C) || w(C)) {
2247
2247
  p.value = null;
2248
2248
  return;
2249
2249
  }
2250
- t.lastMinuteMoment ? p.value = se(C, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : p.value = se(C, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
2250
+ t.lastMinuteMoment ? p.value = le(C, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(999) : p.value = le(C, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ").millisecond(0);
2251
2251
  }
2252
2252
  },
2253
2253
  { immediate: !0 }
@@ -2255,7 +2255,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2255
2255
  const g = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()), M = (C, x) => G(C) ? x : x.set("hour", C.hours).set("minute", C.minutes);
2256
2256
  Ae([b, d], ([C, x]) => {
2257
2257
  let R = null;
2258
- G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? R = se().hour(0).minute(0).second(59).millisecond(999) : R = se().hour(0).minute(0).second(0).millisecond(0) : R = se(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : R = p.value, R = M(C, R), R = g(x, R), !R.isSame(aa(p.value)) && (p.value = R);
2258
+ G(p.value) ? G(t.modelValue) ? t.lastMinuteMoment ? R = le().hour(0).minute(0).second(59).millisecond(999) : R = le().hour(0).minute(0).second(0).millisecond(0) : R = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : R = p.value, R = M(C, R), R = g(x, R), !R.isSame(aa(p.value)) && (p.value = R);
2259
2259
  }), Ae(
2260
2260
  p,
2261
2261
  (C) => {
@@ -2269,7 +2269,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2269
2269
  { immediate: !0 }
2270
2270
  ), Ae(r, (C) => {
2271
2271
  if (C) {
2272
- k(), G(p.value) && (G(t.defaultValue) || S(t.defaultValue)) && (t.lastMinuteMoment ? p.value = se().second(59).millisecond(999) : p.value = se().second(0).millisecond(0)), Ye(() => {
2272
+ k(), G(p.value) && (G(t.defaultValue) || w(t.defaultValue)) && (t.lastMinuteMoment ? p.value = le().second(59).millisecond(999) : p.value = le().second(0).millisecond(0)), Ye(() => {
2273
2273
  o.value++;
2274
2274
  }), a("onOpen");
2275
2275
  return;
@@ -2279,14 +2279,14 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2279
2279
  const Y = U(() => he(t.errorMessages) ? t.errorMessages : h.value.textFieldValue.$errors.length ? [h.value.textFieldValue.$errors.map((C) => C.$message).join(" ")] : []), k = () => {
2280
2280
  const C = f.value.replace(/[^\s\d.:]/g, "").trim();
2281
2281
  if (C.length === 0 && !t.required) {
2282
- p.value = null, a("blur");
2282
+ !G(t.defaultValue) && !w(t.defaultValue) ? p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : p.value = null, a("blur");
2283
2283
  return;
2284
2284
  }
2285
- const x = se(C, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
2285
+ const x = le(C, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
2286
2286
  if (x.isValid()) {
2287
2287
  let R = 0;
2288
2288
  if (!G(t.modelValue)) {
2289
- const j = se(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2289
+ const j = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2290
2290
  j.isValid() && (R = j.second());
2291
2291
  }
2292
2292
  p.value = x.second(R), h.value.textFieldValue.$touch(), a("blur");
@@ -2294,11 +2294,11 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2294
2294
  }
2295
2295
  G(p.value) || (f.value = p.value.format(E.value)), h.value.textFieldValue.$touch(), a("blur");
2296
2296
  }, F = () => {
2297
- if (G(t.defaultValue) || S(t.defaultValue)) {
2297
+ if (G(t.defaultValue) || w(t.defaultValue)) {
2298
2298
  p.value = null, d.value = null, b.value = null, a("afterClear");
2299
2299
  return;
2300
2300
  }
2301
- p.value = se(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
2301
+ p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
2302
2302
  }, N = () => {
2303
2303
  r.value = !1, i.value?.focus(), i.value?.blur(), a("onClose"), a("blur");
2304
2304
  }, $ = () => {
@@ -2307,10 +2307,10 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2307
2307
  r.value = !1;
2308
2308
  }, _ = () => {
2309
2309
  c.value?.focus();
2310
- }, w = () => {
2310
+ }, S = () => {
2311
2311
  s.value?.focusHour();
2312
2312
  }, y = () => {
2313
- t.lastMinuteMoment ? p.value = se().second(59).millisecond(999) : p.value = se().second(0).millisecond(0), Ye(() => {
2313
+ t.lastMinuteMoment ? p.value = le().second(59).millisecond(999) : p.value = le().second(0).millisecond(0), Ye(() => {
2314
2314
  o.value++, l.value++;
2315
2315
  });
2316
2316
  };
@@ -2355,7 +2355,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2355
2355
  default: B(() => [
2356
2356
  r.value ? (P(), X(la, { key: 0 }, {
2357
2357
  default: B(() => [
2358
- wn((P(), X(Ne, {
2358
+ Sn((P(), X(Ne, {
2359
2359
  icon: "",
2360
2360
  variant: "text",
2361
2361
  width: 36,
@@ -2380,7 +2380,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2380
2380
  class: "a-datetime-picker-calendar",
2381
2381
  color: "primary",
2382
2382
  "show-adjacent-months": ""
2383
- }, C.$attrs, { "onUpdate:modelValue": w }), null, 16, ["modelValue"])),
2383
+ }, C.$attrs, { "onUpdate:modelValue": S }), null, 16, ["modelValue"])),
2384
2384
  (P(), X(bi, {
2385
2385
  ref_key: "timePickerInstance",
2386
2386
  ref: s,
@@ -2413,7 +2413,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2413
2413
  _: 1
2414
2414
  }, 8, ["model-value"])),
2415
2415
  Ee("div", Ci, [
2416
- Se(C.$slots, "append-inner", {}, void 0, !0)
2416
+ we(C.$slots, "append-inner", {}, void 0, !0)
2417
2417
  ])
2418
2418
  ]),
2419
2419
  _: 2
@@ -2422,13 +2422,13 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2422
2422
  name: "label",
2423
2423
  fn: B(() => [
2424
2424
  De(fe(e.label), 1),
2425
- e.required ? (P(), de("span", wi)) : ce("", !0)
2425
+ e.required ? (P(), de("span", Si)) : ce("", !0)
2426
2426
  ]),
2427
2427
  key: "0"
2428
2428
  }
2429
2429
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2430
2430
  }
2431
- }), dr = /* @__PURE__ */ Ga(Si, [["__scopeId", "data-v-84abf4bd"]]), xo = /* @__PURE__ */ we({
2431
+ }), dr = /* @__PURE__ */ Ga(wi, [["__scopeId", "data-v-1031cc13"]]), xo = /* @__PURE__ */ Se({
2432
2432
  __name: "AFormDatetimePicker",
2433
2433
  props: {
2434
2434
  modelValue: {},
@@ -2469,13 +2469,13 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2469
2469
  }, p = () => {
2470
2470
  l.value(t.modelValue), f.value = !0;
2471
2471
  }, { t: D } = Re(), v = J(Xa, void 0), m = J(Za, void 0), u = () => {
2472
- d.value = !1, a("blur", S(t.modelValue) ? null : t.modelValue), t.v?.$touch(), f.value === !1 && l.value(t.modelValue);
2472
+ d.value = !1, a("blur", w(t.modelValue) ? null : t.modelValue), t.v?.$touch(), f.value === !1 && l.value(t.modelValue);
2473
2473
  }, h = () => {
2474
2474
  d.value = !0, a("focus", t.modelValue), i.value();
2475
2475
  }, E = U(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((M) => M.$message).join(" ")] : []), I = U(() => {
2476
2476
  if (he(t.label)) return t.label;
2477
- if (S(v) || S(m) || S(t.v?.$path)) return "";
2478
- const { end: M } = Sn(t.v?.$path, ".");
2477
+ if (w(v) || w(m) || w(t.v?.$path)) return "";
2478
+ const { end: M } = wn(t.v?.$path, ".");
2479
2479
  return D(v + "." + m + ".model." + M);
2480
2480
  }), A = U(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), g = U(() => he(t.disabled) ? t.disabled : !!c.value);
2481
2481
  return Ae(r, (M, Y) => {
@@ -2496,7 +2496,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2496
2496
  onOnClose: p
2497
2497
  }), {
2498
2498
  "append-inner": B(() => [
2499
- Se(M.$slots, "locked", { userId: c.value }, () => [
2499
+ we(M.$slots, "locked", { userId: c.value }, () => [
2500
2500
  e.collab ? (P(), X(ua, {
2501
2501
  key: 0,
2502
2502
  id: c.value,
@@ -2507,7 +2507,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2507
2507
  _: 3
2508
2508
  }, 16, ["modelValue", "data-cy", "error-messages", "required", "disabled", "label", "clearable"]));
2509
2509
  }
2510
- }), _o = /* @__PURE__ */ we({
2510
+ }), _o = /* @__PURE__ */ Se({
2511
2511
  __name: "AFormSwitch",
2512
2512
  props: {
2513
2513
  modelValue: { type: Boolean },
@@ -2565,7 +2565,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2565
2565
  s.value ? {
2566
2566
  name: "append",
2567
2567
  fn: B(() => [
2568
- Se(p.$slots, "locked", { userId: s.value }, () => [
2568
+ we(p.$slots, "locked", { userId: s.value }, () => [
2569
2569
  e.collab ? (P(), X(ua, {
2570
2570
  key: 0,
2571
2571
  id: s.value,
@@ -2577,19 +2577,19 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2577
2577
  } : void 0
2578
2578
  ]), 1032, ["data-cy", "model-value", "disabled"]));
2579
2579
  }
2580
- }), Io = L(1), wa = L(!1);
2580
+ }), Io = L(1), Sa = L(!1);
2581
2581
  function Di() {
2582
2582
  return {
2583
2583
  setStoredPage: (a) => {
2584
2584
  Io.value = a;
2585
2585
  },
2586
2586
  setPreservePage: () => {
2587
- wa.value = !0;
2587
+ Sa.value = !0;
2588
2588
  },
2589
- consumeStoredPage: () => wa.value ? (wa.value = !1, Io.value) : null
2589
+ consumeStoredPage: () => Sa.value ? (Sa.value = !1, Io.value) : null
2590
2590
  };
2591
2591
  }
2592
- const Sa = "_sort", ki = {
2592
+ const wa = "_sort", ki = {
2593
2593
  skip: !1,
2594
2594
  xs: void 0,
2595
2595
  sm: void 0,
@@ -2646,7 +2646,7 @@ function Ti(e, n, t) {
2646
2646
  };
2647
2647
  }
2648
2648
  function ht(e, n) {
2649
- return S(e) ? n : e;
2649
+ return w(e) ? n : e;
2650
2650
  }
2651
2651
  function ct() {
2652
2652
  const e = (o, l, s) => {
@@ -2699,7 +2699,7 @@ function fr(e, n, t = {}) {
2699
2699
  for (const h in e)
2700
2700
  try {
2701
2701
  const E = h, I = e[E];
2702
- !S(I) && !G(I) && !Oa(I) && I !== n.fields[E].default && (u[h] = I);
2702
+ !w(I) && !G(I) && !Oa(I) && I !== n.fields[E].default && (u[h] = I);
2703
2703
  } catch {
2704
2704
  }
2705
2705
  return u;
@@ -2707,9 +2707,9 @@ function fr(e, n, t = {}) {
2707
2707
  const I = new URLSearchParams();
2708
2708
  for (const A in u) {
2709
2709
  const g = u[A];
2710
- S(g) || G(g) || ue(g) && Oa(g) || En(g) && pn(g) || Oe(g) && g.length === 0 || (ue(g) ? I.set(A, g.join(",")) : I.set(A, String(g)));
2710
+ w(g) || G(g) || ue(g) && Oa(g) || En(g) && pn(g) || Oe(g) && g.length === 0 || (ue(g) ? I.set(A, g.join(",")) : I.set(A, String(g)));
2711
2711
  }
2712
- return E && h.value.sortBy && I.set(Sa, `${h.value.sortBy.key},${h.value.sortBy.order}`), I.size === 0 ? "" : I.toString() + r;
2712
+ return E && h.value.sortBy && I.set(wa, `${h.value.sortBy.key},${h.value.sortBy.order}`), I.size === 0 ? "" : I.toString() + r;
2713
2713
  }, i = (u) => {
2714
2714
  if (!u) return null;
2715
2715
  if (u.startsWith("#") && (u = u.substring(1)), u.endsWith(r))
@@ -2723,14 +2723,14 @@ function fr(e, n, t = {}) {
2723
2723
  }
2724
2724
  const h = new URLSearchParams(u), E = {};
2725
2725
  let I = null;
2726
- const A = h.get(Sa);
2726
+ const A = h.get(wa);
2727
2727
  if (A) {
2728
2728
  const [g, M] = A.split(",");
2729
- g && (M === Ct.Asc || M === Ct.Desc) && (I = { key: g, order: M }), h.delete(Sa);
2729
+ g && (M === Ct.Asc || M === Ct.Desc) && (I = { key: g, order: M }), h.delete(wa);
2730
2730
  }
2731
2731
  for (const [g, M] of h.entries()) {
2732
2732
  const Y = n.fields[g];
2733
- if (S(Y)) {
2733
+ if (w(Y)) {
2734
2734
  console.error(`Filter config not found for ${g}`);
2735
2735
  continue;
2736
2736
  }
@@ -2763,7 +2763,7 @@ function fr(e, n, t = {}) {
2763
2763
  for (const M in e) {
2764
2764
  const Y = M;
2765
2765
  let k = A.filters[Y];
2766
- if (!S(k)) {
2766
+ if (!w(k)) {
2767
2767
  if (Oe(k)) {
2768
2768
  const F = er(k);
2769
2769
  if (!G(F))
@@ -2844,7 +2844,7 @@ function xi(e = void 0) {
2844
2844
  title: "Vlastné"
2845
2845
  }
2846
2846
  ];
2847
- return S(e) ? r : r.filter((o) => e.includes(o.value) || G(o.value));
2847
+ return w(e) ? r : r.filter((o) => e.includes(o.value) || G(o.value));
2848
2848
  });
2849
2849
  return {
2850
2850
  timeIntervalOptions: t,
@@ -2900,7 +2900,7 @@ function Ii() {
2900
2900
  };
2901
2901
  }
2902
2902
  return null;
2903
- }, s = (d, b) => G(d) ? b.mandatory && !b.exclude && !S(b.default) ? ue(b.default) ? b.default.join(",") : b.default : null : Oe(d) ? d.length === 0 ? b.mandatory && !b.exclude && !S(b.default) && !G(b.default) ? encodeURIComponent(
2903
+ }, s = (d, b) => G(d) ? b.mandatory && !b.exclude && !w(b.default) ? ue(b.default) ? b.default.join(",") : b.default : null : Oe(d) ? d.length === 0 ? b.mandatory && !b.exclude && !w(b.default) && !G(b.default) ? encodeURIComponent(
2904
2904
  ue(b.default) ? b.default.join(",") : b.default
2905
2905
  ) : null : encodeURIComponent(d) : ue(d) ? d.length === 0 ? b.mandatory && !b.exclude && ue(b.default) ? b.default.map((p) => Oe(p) ? encodeURIComponent(p) : p).join(",") : null : d.map((p) => Oe(p) ? encodeURIComponent(p) : p).join(",") : Gt(d) || Je(d) ? d : null, i = (d, b) => {
2906
2906
  e.value.push(d + "=" + b);
@@ -2915,10 +2915,10 @@ function Ii() {
2915
2915
  const p = b.general.simpleFilters;
2916
2916
  for (const D in d) {
2917
2917
  const v = d[D], m = b.fields[D];
2918
- if (S(m) || m.exclude)
2918
+ if (w(m) || m.exclude)
2919
2919
  continue;
2920
2920
  const u = m.apiName || D;
2921
- if (m.type === "timeInterval" && !S(m.related)) {
2921
+ if (m.type === "timeInterval" && !w(m.related)) {
2922
2922
  const E = l(
2923
2923
  D,
2924
2924
  m.related,
@@ -2968,8 +2968,8 @@ const Mi = (e) => En(e) && Object.hasOwn(e, "totalCount"), $i = (e) => En(e) &&
2968
2968
  } = p;
2969
2969
  try {
2970
2970
  const u = b.general.elastic || m ? "/search" : "", h = he(v) ? v : o, E = he(D) ? D : r;
2971
- if (S(E)) throw new Error("Url template is undefined");
2972
- const I = (S(h) ? E : Mn(E, h)) + u + Fi(f, d, b), A = await n().get(I, {
2971
+ if (w(E)) throw new Error("Url template is undefined");
2972
+ const I = (w(h) ? E : Mn(E, h)) + u + Fi(f, d, b), A = await n().get(I, {
2973
2973
  ...l,
2974
2974
  signal: s.signal
2975
2975
  });
@@ -3024,7 +3024,7 @@ function kn(e, n = Ct.Desc, t = {}, a) {
3024
3024
  return;
3025
3025
  }
3026
3026
  const d = c;
3027
- if (G(d) || S(d)) {
3027
+ if (G(d) || w(d)) {
3028
3028
  o.value = { ...o.value, sortBy: d };
3029
3029
  return;
3030
3030
  }
@@ -3047,7 +3047,7 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3047
3047
  "anzu:FilterSubmitResetCounterKey"
3048
3048
  ), ot = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), mr = /* @__PURE__ */ Symbol.for(
3049
3049
  "anzu:DatatablePaginationKey"
3050
- ), Ri = /* @__PURE__ */ we({
3050
+ ), Ri = /* @__PURE__ */ Se({
3051
3051
  __name: "AFilterBooleanSelect",
3052
3052
  props: {
3053
3053
  name: {},
@@ -3059,13 +3059,13 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3059
3059
  emits: ["change"],
3060
3060
  setup(e, { emit: n }) {
3061
3061
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt);
3062
- if (S(r) || S(o) || S(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3063
- S(l.fields[t.name]) || S(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3064
- S(s[t.name]))
3062
+ if (w(r) || w(o) || w(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3063
+ w(l.fields[t.name]) || w(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3064
+ w(s[t.name]))
3065
3065
  throw new Error("Incorrect provide/inject config.");
3066
3066
  const i = U({
3067
3067
  get() {
3068
- return S(s[t.name]) || G(s[t.name]) ? {
3068
+ return w(s[t.name]) || G(s[t.name]) ? {
3069
3069
  value: -1,
3070
3070
  title: f(t.allT)
3071
3071
  } : s[t.name] ? { value: 1, title: f(t.trueT) } : { value: 0, title: f(t.falseT) };
@@ -3102,7 +3102,7 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3102
3102
  "onClick:clear": ye(D, ["stop"])
3103
3103
  }, null, 8, ["modelValue", "data-cy", "label", "items", "clearable"]));
3104
3104
  }
3105
- }), Pi = /* @__PURE__ */ we({
3105
+ }), Pi = /* @__PURE__ */ Se({
3106
3106
  __name: "AFilterString",
3107
3107
  props: {
3108
3108
  name: {},
@@ -3112,9 +3112,9 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3112
3112
  emits: ["change"],
3113
3113
  setup(e, { emit: n }) {
3114
3114
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt);
3115
- if (S(r) || S(o) || S(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3116
- S(l.fields[t.name]) || S(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3117
- S(s[t.name]))
3115
+ if (w(r) || w(o) || w(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3116
+ w(l.fields[t.name]) || w(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3117
+ w(s[t.name]))
3118
3118
  throw new Error("Incorrect provide/inject config.");
3119
3119
  const i = U({
3120
3120
  get() {
@@ -3123,7 +3123,7 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3123
3123
  set(m) {
3124
3124
  s[t.name] = m, l.touched = !0, a("change");
3125
3125
  }
3126
- }), c = U(() => l.fields[t.name]), { t: f } = Re(), d = U(() => c.value.titleT ? f(c.value.titleT) : void 0), b = U(() => S(t.placeholder) ? c.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : c.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : c.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), D = () => {
3126
+ }), c = U(() => l.fields[t.name]), { t: f } = Re(), d = U(() => c.value.titleT ? f(c.value.titleT) : void 0), b = U(() => w(t.placeholder) ? c.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : c.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : c.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), D = () => {
3127
3127
  p(t.name, s, l), o.value.delete(t.name);
3128
3128
  }, v = () => {
3129
3129
  if (Gt(i.value)) {
@@ -3162,7 +3162,7 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3162
3162
  }), Li = {
3163
3163
  key: 0,
3164
3164
  class: "font-italic pl-1"
3165
- }, Ni = 300, Ld = /* @__PURE__ */ we({
3165
+ }, Ni = 300, Ld = /* @__PURE__ */ Se({
3166
3166
  __name: "AFilterRemoteAutocomplete",
3167
3167
  props: {
3168
3168
  name: {},
@@ -3178,10 +3178,10 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3178
3178
  emits: ["change"],
3179
3179
  setup(e, { emit: n }) {
3180
3180
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt), i = J(lo), c = J(ro), f = oa()?.type.__name;
3181
- if (S(r) || S(o) || S(s) || S(l) || S(i) || S(c))
3181
+ if (w(r) || w(o) || w(s) || w(l) || w(i) || w(c))
3182
3182
  throw new Error(`[${f}] Incorrect provide/inject config.`);
3183
3183
  const d = t.filterByField, b = t.filterSortBy;
3184
- if (S(i.fields[d]) || S(c[d]))
3184
+ if (w(i.fields[d]) || w(c[d]))
3185
3185
  throw new Error(
3186
3186
  `[${f}] Incorrect filter inner config. FilterByField is '${d}' and available options are ${Object.keys(c).join(", ")}.`
3187
3187
  );
@@ -3191,8 +3191,8 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3191
3191
  G(b) ? null : b.key,
3192
3192
  b?.order
3193
3193
  ), M = L([]), Y = L([]), k = L(!0), F = L(!1), N = U(() => {
3194
- const Z = /* @__PURE__ */ new Map(), ee = (le) => {
3195
- le.forEach((Ie) => {
3194
+ const Z = /* @__PURE__ */ new Map(), ee = (se) => {
3195
+ se.forEach((Ie) => {
3196
3196
  Z.set(Ie.value, {
3197
3197
  value: Ie.value,
3198
3198
  title: Ie.title,
@@ -3204,18 +3204,18 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3204
3204
  }), $ = L(!1), T = (Z) => {
3205
3205
  Y.value = [], D.value = ue(Z) ? [] : null, u.value = ue(Z) ? [] : null, ge(D.value);
3206
3206
  }, _ = (Z) => {
3207
- const ee = (le) => N.value.find((Ie) => Ie.value === le) ?? { title: `${le}`, value: le };
3207
+ const ee = (se) => N.value.find((Ie) => Ie.value === se) ?? { title: `${se}`, value: se };
3208
3208
  return ue(Z) ? Z.map(ee) : ee(Z);
3209
- }, w = async (Z) => {
3209
+ }, S = async (Z) => {
3210
3210
  $.value = !0;
3211
3211
  try {
3212
3212
  const ee = ue(Z) ? Z : [Z];
3213
3213
  try {
3214
3214
  Y.value = await t.fetchItemsByIds(ee);
3215
- const le = _(Z);
3216
- D.value = le, u.value = le, ge(D.value);
3217
- } catch (le) {
3218
- y(le);
3215
+ const se = _(Z);
3216
+ D.value = se, u.value = se, ge(D.value);
3217
+ } catch (se) {
3218
+ y(se);
3219
3219
  }
3220
3220
  return Y.value;
3221
3221
  } finally {
@@ -3224,10 +3224,10 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3224
3224
  }, { showErrorsDefault: y } = In(), C = async (Z, ee) => {
3225
3225
  $.value = !0, c[d] = Z;
3226
3226
  try {
3227
- const le = await t.fetchItems(g, c, i);
3228
- ee === h.value && (M.value = le);
3229
- } catch (le) {
3230
- y(le);
3227
+ const se = await t.fetchItems(g, c, i);
3228
+ ee === h.value && (M.value = se);
3229
+ } catch (se) {
3230
+ y(se);
3231
3231
  } finally {
3232
3232
  $.value = !1;
3233
3233
  }
@@ -3275,15 +3275,15 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3275
3275
  );
3276
3276
  const W = async () => {
3277
3277
  await x("mounted");
3278
- }, te = U(() => S(t.placeholder) ? p.value.variant === "startsWith" ? E("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? E("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? E("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = U(() => {
3278
+ }, te = U(() => w(t.placeholder) ? p.value.variant === "startsWith" ? E("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? E("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? E("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = U(() => {
3279
3279
  if ($.value)
3280
3280
  return "$vuetify.loading";
3281
3281
  if (M.value.length === 0 && v.value.length < t.minSearchChars)
3282
- return S(t.minSearchText) ? E("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
3282
+ return w(t.minSearchText) ? E("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
3283
3283
  }), K = (Z) => {
3284
3284
  l.touched = !0;
3285
3285
  let ee = null;
3286
- ue(Z) ? ee = Z.map((le) => le.value) : G(Z) || (ee = Z.value), s[t.name] = ee, a("change");
3286
+ ue(Z) ? ee = Z.map((se) => se.value) : G(Z) || (ee = Z.value), s[t.name] = ee, a("change");
3287
3287
  }, ge = (Z) => {
3288
3288
  if (o.value.delete(t.name), ue(Z) && Z.length === 0 || G(Z)) {
3289
3289
  o.value.delete(t.name);
@@ -3302,18 +3302,18 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3302
3302
  () => s[t.name],
3303
3303
  async (Z, ee) => {
3304
3304
  if (Z === ee || Je(Z)) return;
3305
- const le = Z;
3306
- if (k.value && (k.value = !1, await W()), Qo(le)) {
3307
- T(le), S(ee) || (h.value++, await C("", h.value));
3305
+ const se = Z;
3306
+ if (k.value && (k.value = !1, await W()), Qo(se)) {
3307
+ T(se), w(ee) || (h.value++, await C("", h.value));
3308
3308
  return;
3309
3309
  }
3310
- await w(le);
3310
+ await S(se);
3311
3311
  },
3312
3312
  { immediate: !0 }
3313
3313
  ), (Z, ee) => (P(), X(ra, {
3314
3314
  modelValue: D.value,
3315
3315
  "onUpdate:modelValue": [
3316
- ee[0] || (ee[0] = (le) => D.value = le),
3316
+ ee[0] || (ee[0] = (se) => D.value = se),
3317
3317
  K
3318
3318
  ],
3319
3319
  items: N.value,
@@ -3334,15 +3334,15 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3334
3334
  onMouseenter: j,
3335
3335
  "onClick:clear": ke
3336
3336
  }, Pt({
3337
- item: B(({ props: le, internalItem: Ie }) => [
3338
- O(Rt, it(le, {
3337
+ item: B(({ props: se, internalItem: Ie }) => [
3338
+ O(Rt, it(se, {
3339
3339
  title: Ie.raw.title,
3340
3340
  subtitle: Ie.raw.subtitle
3341
3341
  }), null, 16, ["title", "subtitle"])
3342
3342
  ]),
3343
- chip: B(({ props: le, internalItem: Ie }) => [
3343
+ chip: B(({ props: se, internalItem: Ie }) => [
3344
3344
  O(Kt, {
3345
- closable: le.closable,
3345
+ closable: se.closable,
3346
3346
  size: "small",
3347
3347
  text: `${Ie.title} (${Ie.raw.subtitle})`,
3348
3348
  disabled: Ie.props.disabled
@@ -3371,7 +3371,7 @@ const Pd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((s, i) => {
3371
3371
  function Yi(e, n) {
3372
3372
  return n.includes(e);
3373
3373
  }
3374
- const Nd = /* @__PURE__ */ we({
3374
+ const Nd = /* @__PURE__ */ Se({
3375
3375
  __name: "AFilterRemoteAutocompleteWithMinimal",
3376
3376
  props: {
3377
3377
  name: {},
@@ -3388,20 +3388,20 @@ const Nd = /* @__PURE__ */ we({
3388
3388
  emits: ["change"],
3389
3389
  setup(e, { emit: n }) {
3390
3390
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt), i = J(lo), c = J(ro), f = oa()?.type.__name;
3391
- if (S(r) || S(o) || S(s) || S(l) || S(i) || S(c))
3391
+ if (w(r) || w(o) || w(s) || w(l) || w(i) || w(c))
3392
3392
  throw new Error(`[${f}] Incorrect provide/inject config.`);
3393
3393
  if (
3394
3394
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3395
- S(l.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3396
- S(s[t.name])
3395
+ w(l.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3396
+ w(s[t.name])
3397
3397
  )
3398
3398
  throw new Error(
3399
3399
  `[${f}] Incorrect filter config. Name is '${t.name}' and available options are ${Object.keys(s).join(", ")}.`
3400
3400
  );
3401
3401
  if (
3402
3402
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3403
- S(i.fields[t.filterByField]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3404
- S(c[t.filterByField])
3403
+ w(i.fields[t.filterByField]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3404
+ w(c[t.filterByField])
3405
3405
  )
3406
3406
  throw new Error(
3407
3407
  `[${f}] Incorrect filter inner config. FilterByField is '${t.filterByField}' and available options are ${Object.keys(c).join(", ")}.`
@@ -3439,7 +3439,7 @@ const Nd = /* @__PURE__ */ we({
3439
3439
  return ue(W) ? (te = W.length, q = N(W)) : q = N([W]), g.value = q, q.length === te;
3440
3440
  }, T = L(!1), _ = () => {
3441
3441
  clearTimeout(D.value), D.value = void 0;
3442
- }, w = async () => {
3442
+ }, S = async () => {
3443
3443
  if (_(), T.value !== !0) {
3444
3444
  T.value = !0, Y.value = !0;
3445
3445
  try {
@@ -3452,9 +3452,9 @@ const Nd = /* @__PURE__ */ we({
3452
3452
  }
3453
3453
  }
3454
3454
  }, y = () => {
3455
- p.value = !0, t.prefetch !== !1 && (_(), w());
3455
+ p.value = !0, t.prefetch !== !1 && (_(), S());
3456
3456
  }, C = () => {
3457
- t.prefetch === "focus" || t.prefetch === !1 || (_(), w());
3457
+ t.prefetch === "focus" || t.prefetch === !1 || (_(), S());
3458
3458
  }, x = U(() => {
3459
3459
  if (!u.value.multiple && g.value[0])
3460
3460
  return g.value[0].title;
@@ -3475,7 +3475,7 @@ const Nd = /* @__PURE__ */ we({
3475
3475
  k(W);
3476
3476
  }
3477
3477
  Te();
3478
- }, re = U(() => S(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: ve } = ct(), Te = () => {
3478
+ }, re = U(() => w(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: ve } = ct(), Te = () => {
3479
3479
  ve(t.name, s, l), o.value.delete(t.name);
3480
3480
  }, ke = (W) => {
3481
3481
  if (o.value.delete(t.name), ue(W) && W.length === 0 || G(W)) {
@@ -3495,10 +3495,10 @@ const Nd = /* @__PURE__ */ we({
3495
3495
  () => s[t.name],
3496
3496
  async (W, te) => {
3497
3497
  if (W === te || Je(W)) return;
3498
- if (G(W) || S(W) || ue(W) && W.length === 0) {
3498
+ if (G(W) || w(W) || ue(W) && W.length === 0) {
3499
3499
  if (g.value = [], u.value.multiple ? d.value = [] : d.value = null, ke(d.value), T.value === !0 || Yi(t.prefetch, ["hover", "focus", !1])) return;
3500
3500
  D.value = setTimeout(() => {
3501
- w();
3501
+ S();
3502
3502
  }, 3e3);
3503
3503
  return;
3504
3504
  }
@@ -3568,7 +3568,7 @@ const Nd = /* @__PURE__ */ we({
3568
3568
  "onClick:clear": Q
3569
3569
  }, {
3570
3570
  item: B(({ props: q, internalItem: K }) => [
3571
- Se(W.$slots, "item", {
3571
+ we(W.$slots, "item", {
3572
3572
  item: K,
3573
3573
  props: q
3574
3574
  }, () => [
@@ -3579,7 +3579,7 @@ const Nd = /* @__PURE__ */ we({
3579
3579
  ])
3580
3580
  ]),
3581
3581
  chip: B(({ props: q, item: K }) => [
3582
- Se(W.$slots, "chip", {
3582
+ we(W.$slots, "chip", {
3583
3583
  props: q,
3584
3584
  item: K
3585
3585
  }, () => [
@@ -3591,7 +3591,7 @@ const Nd = /* @__PURE__ */ we({
3591
3591
  _: 3
3592
3592
  }, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
3593
3593
  }
3594
- }), Yd = /* @__PURE__ */ we({
3594
+ }), Yd = /* @__PURE__ */ Se({
3595
3595
  __name: "AFilterValueObjectOptionsSelect",
3596
3596
  props: {
3597
3597
  name: {},
@@ -3600,12 +3600,12 @@ const Nd = /* @__PURE__ */ we({
3600
3600
  emits: ["change"],
3601
3601
  setup(e, { emit: n }) {
3602
3602
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt), i = oa()?.type.__name;
3603
- if (S(r) || S(o) || S(s) || S(l))
3603
+ if (w(r) || w(o) || w(s) || w(l))
3604
3604
  throw new Error(`[${i}] Incorrect provide/inject config.`);
3605
3605
  if (
3606
3606
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3607
- S(l.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3608
- S(s[t.name])
3607
+ w(l.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3608
+ w(s[t.name])
3609
3609
  )
3610
3610
  throw new Error(
3611
3611
  `[${i}] Incorrect filter config. Name is '${t.name}' and available options are ${Object.keys(s).join(", ")}.`
@@ -3656,7 +3656,7 @@ const Nd = /* @__PURE__ */ we({
3656
3656
  "onClick:clear": ye(D, ["stop"])
3657
3657
  }, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
3658
3658
  }
3659
- }), Ui = /* @__PURE__ */ we({
3659
+ }), Ui = /* @__PURE__ */ Se({
3660
3660
  __name: "AFilterTimeInterval",
3661
3661
  props: {
3662
3662
  nameFrom: {},
@@ -3668,11 +3668,11 @@ const Nd = /* @__PURE__ */ we({
3668
3668
  emits: ["change"],
3669
3669
  setup(e, { emit: n }) {
3670
3670
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt);
3671
- if (S(r) || S(o) || S(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3672
- S(l.fields[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3673
- S(l.fields[t.nameUntil]) || S(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3674
- S(s[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3675
- S(s[t.nameUntil]))
3671
+ if (w(r) || w(o) || w(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3672
+ w(l.fields[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3673
+ w(l.fields[t.nameUntil]) || w(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3674
+ w(s[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3675
+ w(s[t.nameUntil]))
3676
3676
  throw new Error("Incorrect provide/inject config.");
3677
3677
  const i = U({
3678
3678
  get() {
@@ -3700,7 +3700,7 @@ const Nd = /* @__PURE__ */ we({
3700
3700
  E(t.nameFrom, s, l), E(t.nameUntil, s, l), o.value.delete(t.nameFrom);
3701
3701
  }, k = ($) => {
3702
3702
  if (ue($) || Je($)) return;
3703
- if (G($) || S($)) {
3703
+ if (G($) || w($)) {
3704
3704
  o.value.delete(t.nameFrom);
3705
3705
  return;
3706
3706
  }
@@ -3723,7 +3723,7 @@ const Nd = /* @__PURE__ */ we({
3723
3723
  i,
3724
3724
  ($) => {
3725
3725
  if (ue($) || Je($)) return;
3726
- if (D.value = !1, S($) || G($)) {
3726
+ if (D.value = !1, w($) || G($)) {
3727
3727
  d.value = null;
3728
3728
  return;
3729
3729
  }
@@ -3733,8 +3733,8 @@ const Nd = /* @__PURE__ */ we({
3733
3733
  { immediate: !0 }
3734
3734
  ), Ae(
3735
3735
  [() => s[t.nameFrom], () => s[t.nameUntil]],
3736
- ([$, T], [_, w]) => {
3737
- $ === _ && T === w || k($);
3736
+ ([$, T], [_, S]) => {
3737
+ $ === _ && T === S || k($);
3738
3738
  },
3739
3739
  { immediate: !0 }
3740
3740
  );
@@ -3746,7 +3746,7 @@ const Nd = /* @__PURE__ */ we({
3746
3746
  s[t.nameUntil] = null, i.value = $.value;
3747
3747
  };
3748
3748
  return ($, T) => {
3749
- const _ = Wt("ABtnTertiary"), w = Wt("ABtnPrimary");
3749
+ const _ = Wt("ABtnTertiary"), S = Wt("ABtnPrimary");
3750
3750
  return P(), de(qe, null, [
3751
3751
  D.value ? (P(), X(el, {
3752
3752
  key: 0,
@@ -3794,7 +3794,7 @@ const Nd = /* @__PURE__ */ we({
3794
3794
  default: B(() => [
3795
3795
  O(Ja, { onOnCancel: M }, {
3796
3796
  default: B(() => [
3797
- Se($.$slots, "title", {}, () => [
3797
+ we($.$slots, "title", {}, () => [
3798
3798
  De(fe(h.value), 1)
3799
3799
  ], !0)
3800
3800
  ]),
@@ -3841,7 +3841,7 @@ const Nd = /* @__PURE__ */ we({
3841
3841
  ]),
3842
3842
  _: 1
3843
3843
  }),
3844
- O(w, {
3844
+ O(S, {
3845
3845
  "data-cy": "button-confirm",
3846
3846
  onClick: ye(g, ["stop"])
3847
3847
  }, {
@@ -3862,7 +3862,7 @@ const Nd = /* @__PURE__ */ we({
3862
3862
  ], 64);
3863
3863
  };
3864
3864
  }
3865
- }), Ud = /* @__PURE__ */ Ga(Ui, [["__scopeId", "data-v-845cd41b"]]), vr = (e, n = "item") => n + "." + e, Mo = /* @__PURE__ */ we({
3865
+ }), Ud = /* @__PURE__ */ Ga(Ui, [["__scopeId", "data-v-845cd41b"]]), vr = (e, n = "item") => n + "." + e, Mo = /* @__PURE__ */ Se({
3866
3866
  __name: "AFilterEmpty",
3867
3867
  props: {
3868
3868
  name: {}
@@ -3871,7 +3871,7 @@ const Nd = /* @__PURE__ */ we({
3871
3871
  const n = e;
3872
3872
  return (t, a) => (P(), de("div", null, fe(n.name), 1));
3873
3873
  }
3874
- }), Vi = /* @__PURE__ */ we({
3874
+ }), Vi = /* @__PURE__ */ Se({
3875
3875
  __name: "AFilterDatetimePicker",
3876
3876
  props: {
3877
3877
  name: {},
@@ -3880,9 +3880,9 @@ const Nd = /* @__PURE__ */ we({
3880
3880
  emits: ["change"],
3881
3881
  setup(e, { emit: n }) {
3882
3882
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt);
3883
- if (S(r) || S(o) || S(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3884
- S(l.fields[t.name]) || S(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3885
- S(s[t.name]))
3883
+ if (w(r) || w(o) || w(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3884
+ w(l.fields[t.name]) || w(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3885
+ w(s[t.name]))
3886
3886
  throw new Error("Incorrect provide/inject config.");
3887
3887
  const i = U({
3888
3888
  get() {
@@ -3907,7 +3907,7 @@ const Nd = /* @__PURE__ */ we({
3907
3907
  label: d.value
3908
3908
  }, v.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
3909
3909
  }
3910
- }), Hi = /* @__PURE__ */ we({
3910
+ }), Hi = /* @__PURE__ */ Se({
3911
3911
  __name: "AFilterInteger",
3912
3912
  props: {
3913
3913
  name: {},
@@ -3917,9 +3917,9 @@ const Nd = /* @__PURE__ */ we({
3917
3917
  emits: ["change"],
3918
3918
  setup(e, { emit: n }) {
3919
3919
  const t = e, a = n, r = J(pt), o = J(ot), l = J(Ke), s = J(tt);
3920
- if (S(r) || S(o) || S(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3921
- S(l.fields[t.name]) || S(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3922
- S(s[t.name]))
3920
+ if (w(r) || w(o) || w(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3921
+ w(l.fields[t.name]) || w(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3922
+ w(s[t.name]))
3923
3923
  throw new Error("Incorrect provide/inject config.");
3924
3924
  const i = U({
3925
3925
  get() {
@@ -3928,7 +3928,7 @@ const Nd = /* @__PURE__ */ we({
3928
3928
  set(m) {
3929
3929
  s[t.name] = m, l.touched = !0, a("change");
3930
3930
  }
3931
- }), c = U(() => l.fields[t.name]), { t: f } = Re(), d = U(() => c.value.titleT ? f(c.value.titleT) : void 0), b = U(() => S(t.placeholder) ? c.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : c.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : c.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), D = () => {
3931
+ }), c = U(() => l.fields[t.name]), { t: f } = Re(), d = U(() => c.value.titleT ? f(c.value.titleT) : void 0), b = U(() => w(t.placeholder) ? c.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : c.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : c.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), D = () => {
3932
3932
  p(t.name, s, l), o.value.delete(t.name);
3933
3933
  }, v = () => {
3934
3934
  if (Gt(i.value)) {
@@ -3964,15 +3964,15 @@ const Nd = /* @__PURE__ */ we({
3964
3964
  "onClick:clear": ye(D, ["stop"])
3965
3965
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3966
3966
  }
3967
- }), pr = /* @__PURE__ */ we({
3967
+ }), pr = /* @__PURE__ */ Se({
3968
3968
  __name: "FilterDetailItem",
3969
3969
  props: {
3970
3970
  name: {}
3971
3971
  },
3972
3972
  setup(e) {
3973
3973
  const n = e, t = J(Ke);
3974
- if (S(t) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3975
- S(t.fields[n.name]))
3974
+ if (w(t) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3975
+ w(t.fields[n.name]))
3976
3976
  throw new Error("Incorrect provide/inject config.");
3977
3977
  const a = U(() => t.fields[n.name]), r = U(() => {
3978
3978
  if (a.value.render.skip) return Mo;
@@ -4036,7 +4036,7 @@ const Zn = {
4036
4036
  }
4037
4037
  const { pagination: b } = kn("position", Ct.Asc, {
4038
4038
  rowsPerPage: Pa
4039
- }), { start: p, end: D } = Sn(
4039
+ }), { start: p, end: D } = wn(
4040
4040
  s.systemResource,
4041
4041
  "_"
4042
4042
  ), { filterConfig: v, filterData: m } = $o(p, D);
@@ -4054,7 +4054,7 @@ const Zn = {
4054
4054
  n.value = !1;
4055
4055
  const { pagination: c } = kn("position", Ct.Asc, {
4056
4056
  rowsPerPage: Pa + 1
4057
- }), { start: f, end: d } = Sn(
4057
+ }), { start: f, end: d } = wn(
4058
4058
  s.systemResource,
4059
4059
  "_"
4060
4060
  ), { filterConfig: b, filterData: p } = $o(f, d);
@@ -4088,8 +4088,8 @@ const Zn = {
4088
4088
  const b = d.urlTemplate, p = d.urlParams, D = d.object;
4089
4089
  try {
4090
4090
  const v = { method: t }, m = he(p) ? p : l, u = he(b) ? b : o;
4091
- if (S(u)) throw new Error("Url template is undefined");
4092
- v.url = u, u !== "" && !S(m) && (v.url = Mn(u, m)), G(D) || (v.data = JSON.stringify(D));
4091
+ if (w(u)) throw new Error("Url template is undefined");
4092
+ v.url = u, u !== "" && !w(m) && (v.url = Mn(u, m)), G(D) || (v.data = JSON.stringify(D));
4093
4093
  const h = await n().request({
4094
4094
  ...s,
4095
4095
  ...v,
@@ -4163,7 +4163,7 @@ function gr(e, n, t = Wi, a = Fo) {
4163
4163
  }
4164
4164
  };
4165
4165
  }
4166
- const Ki = { key: 0 }, Gi = 32, br = /* @__PURE__ */ we({
4166
+ const Ki = { key: 0 }, Gi = 32, br = /* @__PURE__ */ Se({
4167
4167
  __name: "FilterBookmarks",
4168
4168
  props: /* @__PURE__ */ mt({
4169
4169
  client: {},
@@ -4180,7 +4180,7 @@ const Ki = { key: 0 }, Gi = 32, br = /* @__PURE__ */ we({
4180
4180
  emits: /* @__PURE__ */ mt(["submit"], ["update:datatableHiddenColumns"]),
4181
4181
  setup(e, { emit: n }) {
4182
4182
  const t = e, a = n, r = Tt(e, "datatableHiddenColumns"), o = J(Ke), l = J(tt), s = J(mr), i = J(ot);
4183
- if (S(s) || S(o) || S(l) || S(i))
4183
+ if (w(s) || w(o) || w(l) || w(i))
4184
4184
  throw new Error("Incorrect provide/inject config.");
4185
4185
  const c = L(!1), f = Ot("toolbar"), d = L(300), b = L(1e3), p = hr(), { useFetchUserAdminConfigList: D } = gr(t.client, t.system), v = t.system + "_" + t.subject, m = async (g = !1) => {
4186
4186
  c.value = !0, await p.getBookmarks(
@@ -4203,7 +4203,7 @@ const Ki = { key: 0 }, Gi = 32, br = /* @__PURE__ */ we({
4203
4203
  for (const k in l) {
4204
4204
  const F = k;
4205
4205
  let N = Y.filters[F];
4206
- if (S(N) && o.fields[F]?.clearable) {
4206
+ if (w(N) && o.fields[F]?.clearable) {
4207
4207
  l[F] = $e(o.fields[F].default), i.value.delete(F);
4208
4208
  continue;
4209
4209
  }
@@ -4329,14 +4329,14 @@ function Xi(e, n, t) {
4329
4329
  writable: !0
4330
4330
  }) : e[n] = t, e;
4331
4331
  }
4332
- function wt() {
4333
- return wt = Object.assign ? Object.assign.bind() : function(e) {
4332
+ function St() {
4333
+ return St = Object.assign ? Object.assign.bind() : function(e) {
4334
4334
  for (var n = 1; n < arguments.length; n++) {
4335
4335
  var t = arguments[n];
4336
4336
  for (var a in t) ({}).hasOwnProperty.call(t, a) && (e[a] = t[a]);
4337
4337
  }
4338
4338
  return e;
4339
- }, wt.apply(null, arguments);
4339
+ }, St.apply(null, arguments);
4340
4340
  }
4341
4341
  function Oo(e, n) {
4342
4342
  var t = Object.keys(e);
@@ -4404,15 +4404,15 @@ function yt(e) {
4404
4404
  if (typeof window < "u" && window.navigator)
4405
4405
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
4406
4406
  }
4407
- var St = yt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fn = yt(/Edge/i), Bo = yt(/firefox/i), hn = yt(/safari/i) && !yt(/chrome/i) && !yt(/android/i), so = yt(/iP(ad|od|hone)/i), yr = yt(/chrome/i) && yt(/android/i), Cr = {
4407
+ var wt = yt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fn = yt(/Edge/i), Bo = yt(/firefox/i), hn = yt(/safari/i) && !yt(/chrome/i) && !yt(/android/i), so = yt(/iP(ad|od|hone)/i), yr = yt(/chrome/i) && yt(/android/i), Cr = {
4408
4408
  capture: !1,
4409
4409
  passive: !1
4410
4410
  };
4411
4411
  function pe(e, n, t) {
4412
- e.addEventListener(n, t, !St && Cr);
4412
+ e.addEventListener(n, t, !wt && Cr);
4413
4413
  }
4414
4414
  function me(e, n, t) {
4415
- e.removeEventListener(n, t, !St && Cr);
4415
+ e.removeEventListener(n, t, !wt && Cr);
4416
4416
  }
4417
4417
  function Jn(e, n) {
4418
4418
  if (n) {
@@ -4430,7 +4430,7 @@ function Jn(e, n) {
4430
4430
  return !1;
4431
4431
  }
4432
4432
  }
4433
- function wr(e) {
4433
+ function Sr(e) {
4434
4434
  return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
4435
4435
  }
4436
4436
  function st(e, n, t, a) {
@@ -4440,7 +4440,7 @@ function st(e, n, t, a) {
4440
4440
  if (n != null && (n[0] === ">" ? e.parentNode === t && Jn(e, n) : Jn(e, n)) || a && e === t)
4441
4441
  return e;
4442
4442
  if (e === t) break;
4443
- } while (e = wr(e));
4443
+ } while (e = Sr(e));
4444
4444
  }
4445
4445
  return null;
4446
4446
  }
@@ -4474,7 +4474,7 @@ function zt(e, n) {
4474
4474
  var r = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
4475
4475
  return r && new r(t);
4476
4476
  }
4477
- function Sr(e, n, t) {
4477
+ function wr(e, n, t) {
4478
4478
  if (e) {
4479
4479
  var a = e.getElementsByTagName(n), r = 0, o = a.length;
4480
4480
  if (t)
@@ -4491,7 +4491,7 @@ function ft() {
4491
4491
  function Le(e, n, t, a, r) {
4492
4492
  if (!(!e.getBoundingClientRect && e !== window)) {
4493
4493
  var o, l, s, i, c, f, d;
4494
- if (e !== window && e.parentNode && e !== ft() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, c = o.right, f = o.height, d = o.width) : (l = 0, s = 0, i = window.innerHeight, c = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !St))
4494
+ if (e !== window && e.parentNode && e !== ft() ? (o = e.getBoundingClientRect(), l = o.top, s = o.left, i = o.bottom, c = o.right, f = o.height, d = o.width) : (l = 0, s = 0, i = window.innerHeight, c = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !wt))
4495
4495
  do
4496
4496
  if (r && r.getBoundingClientRect && (ne(r, "transform") !== "none" || t && ne(r, "position") !== "static")) {
4497
4497
  var b = r.getBoundingClientRect();
@@ -4713,7 +4713,7 @@ var Ut = [], ka = {
4713
4713
  var i = s.pluginName;
4714
4714
  if (!(!n.options[i] && !s.initializeByDefault)) {
4715
4715
  var c = new s(n, t, n.options);
4716
- c.sortable = n, c.options = n.options, n[i] = c, wt(a, c.defaults);
4716
+ c.sortable = n, c.options = n.options, n[i] = c, St(a, c.defaults);
4717
4717
  }
4718
4718
  });
4719
4719
  for (var o in n.options)
@@ -4725,7 +4725,7 @@ var Ut = [], ka = {
4725
4725
  getEventProperties: function(n, t) {
4726
4726
  var a = {};
4727
4727
  return Ut.forEach(function(r) {
4728
- typeof r.eventProperties == "function" && wt(a, r.eventProperties.call(t[r.pluginName], n));
4728
+ typeof r.eventProperties == "function" && St(a, r.eventProperties.call(t[r.pluginName], n));
4729
4729
  }), a;
4730
4730
  },
4731
4731
  modifyOption: function(n, t, a) {
@@ -4739,7 +4739,7 @@ function iu(e) {
4739
4739
  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, c = e.newIndex, f = e.oldDraggableIndex, d = e.newDraggableIndex, b = e.originalEvent, p = e.putSortable, D = e.extraEventProperties;
4740
4740
  if (n = n || t && t[We], !!n) {
4741
4741
  var v, m = n.options, u = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4742
- window.CustomEvent && !St && !Fn ? v = new CustomEvent(a, {
4742
+ window.CustomEvent && !wt && !Fn ? v = new CustomEvent(a, {
4743
4743
  bubbles: !0,
4744
4744
  cancelable: !0
4745
4745
  }) : (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 = c, v.oldDraggableIndex = f, v.newDraggableIndex = d, v.originalEvent = b, v.pullMode = p ? p.lastPutMode : void 0;
@@ -4797,9 +4797,9 @@ function je(e) {
4797
4797
  newDraggableIndex: Dt
4798
4798
  }, e));
4799
4799
  }
4800
- var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea = [], xt, lt, Ea, Ta, No, Yo, fn, Vt, yn, Cn = !1, Ln = !1, qn, He, Aa = [], Na = !1, ta = [], va = typeof document < "u", Nn = so, Uo = Fn || St ? "cssFloat" : "float", cu = va && !yr && !so && "draggable" in document.createElement("div"), Ar = (function() {
4800
+ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea = [], xt, lt, Ea, Ta, No, Yo, fn, Vt, yn, Cn = !1, Ln = !1, qn, He, Aa = [], Na = !1, ta = [], va = typeof document < "u", Nn = so, Uo = Fn || wt ? "cssFloat" : "float", cu = va && !yr && !so && "draggable" in document.createElement("div"), Ar = (function() {
4801
4801
  if (va) {
4802
- if (St)
4802
+ if (wt)
4803
4803
  return !1;
4804
4804
  var e = document.createElement("x");
4805
4805
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
@@ -4874,7 +4874,7 @@ var _t = function(n) {
4874
4874
  function ae(e, n) {
4875
4875
  if (!(e && e.nodeType && e.nodeType === 1))
4876
4876
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
4877
- this.el = e, this.options = n = wt({}, n), e[We] = this;
4877
+ this.el = e, this.options = n = St({}, n), e[We] = this;
4878
4878
  var t = {
4879
4879
  group: null,
4880
4880
  sort: !0,
@@ -4927,7 +4927,7 @@ function ae(e, n) {
4927
4927
  _r(n);
4928
4928
  for (var r in this)
4929
4929
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
4930
- this.nativeDraggable = n.forceFallback ? !1 : cu, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? pe(e, "pointerdown", this._onTapStart) : (pe(e, "mousedown", this._onTapStart), pe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (pe(e, "dragover", this), pe(e, "dragenter", this)), ea.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), wt(this, ru());
4930
+ this.nativeDraggable = n.forceFallback ? !1 : cu, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? pe(e, "pointerdown", this._onTapStart) : (pe(e, "mousedown", this._onTapStart), pe(e, "touchstart", this._onTapStart)), this.nativeDraggable && (pe(e, "dragover", this), pe(e, "dragenter", this)), ea.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), St(this, ru());
4931
4931
  }
4932
4932
  ae.prototype = /** @lends Sortable.prototype */
4933
4933
  {
@@ -4941,7 +4941,7 @@ ae.prototype = /** @lends Sortable.prototype */
4941
4941
  _onTapStart: function(n) {
4942
4942
  if (n.cancelable) {
4943
4943
  var t = this, a = this.el, r = this.options, o = r.preventOnFilter, l = n.type, s = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (s || n).target, c = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, f = r.filter;
4944
- if (wu(a), !V && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && hn && i && i.tagName.toUpperCase() === "SELECT") && (i = st(i, r.draggable, a, !1), !(i && i.animated) && jn !== i)) {
4944
+ if (Su(a), !V && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || r.disabled) && !c.isContentEditable && !(!this.nativeDraggable && hn && i && i.tagName.toUpperCase() === "SELECT") && (i = st(i, r.draggable, a, !1), !(i && i.animated) && jn !== i)) {
4945
4945
  if (qt = at(i), bn = at(i, r.draggable), typeof f == "function") {
4946
4946
  if (f.call(this, n, i, this)) {
4947
4947
  je({
@@ -4997,10 +4997,10 @@ ae.prototype = /** @lends Sortable.prototype */
4997
4997
  originalEvent: n
4998
4998
  }), Ge(V, l.chosenClass, !0);
4999
4999
  }, l.ignore.split(",").forEach(function(f) {
5000
- Sr(V, f.trim(), xa);
5000
+ wr(V, f.trim(), xa);
5001
5001
  }), pe(s, "dragover", _t), pe(s, "mousemove", _t), pe(s, "touchmove", _t), l.supportPointer ? (pe(s, "pointerup", r._onDrop), !this.nativeDraggable && pe(s, "pointercancel", r._onDrop)) : (pe(s, "mouseup", r._onDrop), pe(s, "touchend", r._onDrop), pe(s, "touchcancel", r._onDrop)), Bo && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), ze("delayStart", this, {
5002
5002
  evt: n
5003
- }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Fn || St))) {
5003
+ }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Fn || wt))) {
5004
5004
  if (ae.eventCanceled) {
5005
5005
  this._onDrop();
5006
5006
  return;
@@ -5062,7 +5062,7 @@ ae.prototype = /** @lends Sortable.prototype */
5062
5062
  break;
5063
5063
  }
5064
5064
  n = t;
5065
- } while (t = wr(t));
5065
+ } while (t = Sr(t));
5066
5066
  Mr();
5067
5067
  }
5068
5068
  },
@@ -5190,11 +5190,11 @@ ae.prototype = /** @lends Sortable.prototype */
5190
5190
  if (g === 0 || T === a)
5191
5191
  return h(!1);
5192
5192
  Vt = a, yn = g;
5193
- var w = a.nextElementSibling, y = !1;
5193
+ var S = a.nextElementSibling, y = !1;
5194
5194
  y = g === 1;
5195
5195
  var C = Yn(_e, t, V, r, a, o, n, y);
5196
5196
  if (C !== !1)
5197
- return (C === 1 || C === -1) && (y = C === 1), Na = !0, setTimeout(pu, 30), u(), y && !w ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? w : a), N && kr(N, 0, $ - N.scrollTop), Fe = V.parentNode, M !== void 0 && !Ln && (qn = Math.abs(M - Le(a)[F])), E(), h(!0);
5197
+ return (C === 1 || C === -1) && (y = C === 1), Na = !0, setTimeout(pu, 30), u(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), N && kr(N, 0, $ - N.scrollTop), Fe = V.parentNode, M !== void 0 && !Ln && (qn = Math.abs(M - Le(a)[F])), E(), h(!0);
5198
5198
  }
5199
5199
  if (t.contains(V))
5200
5200
  return h(!1);
@@ -5368,7 +5368,7 @@ function vu(e) {
5368
5368
  }
5369
5369
  function Yn(e, n, t, a, r, o, l, s) {
5370
5370
  var i, c = e[We], f = c.options.onMove, d;
5371
- return window.CustomEvent && !St && !Fn ? i = new CustomEvent("move", {
5371
+ return window.CustomEvent && !wt && !Fn ? i = new CustomEvent("move", {
5372
5372
  bubbles: !0,
5373
5373
  cancelable: !0
5374
5374
  }) : (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 || Le(n), i.willInsertAfter = s, i.originalEvent = l, e.dispatchEvent(i), f && (d = f.call(c, i, l)), d;
@@ -5408,7 +5408,7 @@ function Cu(e) {
5408
5408
  a += n.charCodeAt(t);
5409
5409
  return a.toString(36);
5410
5410
  }
5411
- function wu(e) {
5411
+ function Su(e) {
5412
5412
  ta.length = 0;
5413
5413
  for (var n = e.getElementsByTagName("input"), t = n.length; t--; ) {
5414
5414
  var a = n[t];
@@ -5428,7 +5428,7 @@ ae.utils = {
5428
5428
  on: pe,
5429
5429
  off: me,
5430
5430
  css: ne,
5431
- find: Sr,
5431
+ find: wr,
5432
5432
  is: function(n, t) {
5433
5433
  return !!st(n, t, n, !1);
5434
5434
  },
@@ -5461,7 +5461,7 @@ ae.create = function(e, n) {
5461
5461
  };
5462
5462
  ae.version = tu;
5463
5463
  var Pe = [], mn, Ua, Va = !1, _a, Ia, na, vn;
5464
- function Su() {
5464
+ function wu() {
5465
5465
  function e() {
5466
5466
  this.defaults = {
5467
5467
  scroll: !0,
@@ -5493,7 +5493,7 @@ function Su() {
5493
5493
  },
5494
5494
  _handleAutoScroll: function(t, a) {
5495
5495
  var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, s = document.elementFromPoint(o, l);
5496
- if (na = t, a || this.options.forceAutoScrollFallback || Fn || St || hn) {
5496
+ if (na = t, a || this.options.forceAutoScrollFallback || Fn || wt || hn) {
5497
5497
  Ma(t, this.options, s, a);
5498
5498
  var i = Et(s, !0);
5499
5499
  Va && (!vn || o !== _a || l !== Ia) && (vn && Vo(), vn = setInterval(function() {
@@ -5508,7 +5508,7 @@ function Su() {
5508
5508
  Ma(t, this.options, Et(s, !1), !1);
5509
5509
  }
5510
5510
  }
5511
- }, wt(e, {
5511
+ }, St(e, {
5512
5512
  pluginName: "scroll",
5513
5513
  initializeByDefault: !0
5514
5514
  });
@@ -5535,8 +5535,8 @@ var Ma = Dr(function(e, n, t, a) {
5535
5535
  Pe[_] || (Pe[_] = {});
5536
5536
  (Pe[d].vx != $ || Pe[d].vy != T || Pe[d].el !== p) && (Pe[d].el = p, Pe[d].vx = $, Pe[d].vy = T, clearInterval(Pe[d].pid), ($ != 0 || T != 0) && (c = !0, Pe[d].pid = setInterval((function() {
5537
5537
  a && this.layer === 0 && ae.active._onTouchMove(na);
5538
- var w = Pe[this.layer].vy ? Pe[this.layer].vy * s : 0, y = Pe[this.layer].vx ? Pe[this.layer].vx * s : 0;
5539
- typeof f == "function" && f.call(ae.dragged.parentNode[We], y, w, e, na, Pe[this.layer].el) !== "continue" || kr(Pe[this.layer].el, y, w);
5538
+ var S = Pe[this.layer].vy ? Pe[this.layer].vy * s : 0, y = Pe[this.layer].vx ? Pe[this.layer].vx * s : 0;
5539
+ typeof f == "function" && f.call(ae.dragged.parentNode[We], y, S, e, na, Pe[this.layer].el) !== "continue" || kr(Pe[this.layer].el, y, S);
5540
5540
  }).bind({
5541
5541
  layer: d
5542
5542
  }), 24))), d++;
@@ -5571,7 +5571,7 @@ uo.prototype = {
5571
5571
  },
5572
5572
  drop: $r
5573
5573
  };
5574
- wt(uo, {
5574
+ St(uo, {
5575
5575
  pluginName: "revertOnSpill"
5576
5576
  });
5577
5577
  function co() {
@@ -5583,10 +5583,10 @@ co.prototype = {
5583
5583
  },
5584
5584
  drop: $r
5585
5585
  };
5586
- wt(co, {
5586
+ St(co, {
5587
5587
  pluginName: "removeOnSpill"
5588
5588
  });
5589
- ae.mount(new Su());
5589
+ ae.mount(new wu());
5590
5590
  ae.mount(co, uo);
5591
5591
  function Du(e, n, t = {}) {
5592
5592
  let a;
@@ -5707,15 +5707,15 @@ function Lu(e, n, t, a) {
5707
5707
  };
5708
5708
  }
5709
5709
  const b = U(() => e.value.map((T, _) => d(T, _))), p = (T = void 0) => {
5710
- c.value++, S(T) || a("update:modelValue", T), Ye(() => {
5710
+ c.value++, w(T) || a("update:modelValue", T), Ye(() => {
5711
5711
  n();
5712
5712
  });
5713
5713
  }, D = (T) => {
5714
5714
  f.value.add(T);
5715
5715
  }, v = (T) => {
5716
5716
  f.value.delete(T);
5717
- }, m = (T, _, w, y = []) => {
5718
- const C = _ > w ? w : _;
5717
+ }, m = (T, _, S, y = []) => {
5718
+ const C = _ > S ? S : _;
5719
5719
  let x = t.positionMultiplier * C + t.positionMultiplier * 1;
5720
5720
  for (let R = C; R < T.length; R++)
5721
5721
  Ns(T[R], t.positionField, x), D(T[R][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
@@ -5724,44 +5724,44 @@ function Lu(e, n, t, a) {
5724
5724
  });
5725
5725
  return y;
5726
5726
  }, u = (T, _) => {
5727
- const w = $e(e.value);
5728
- if (_ >= 0 && _ < w.length) {
5727
+ const S = $e(e.value);
5728
+ if (_ >= 0 && _ < S.length) {
5729
5729
  let y = [];
5730
- const C = w.splice(T, 1)[0];
5731
- return w.splice(_, 0, C), S(t.updatePosition) || (y = m(w, T, _)), p(), a("update:modelValue", w), y;
5730
+ const C = S.splice(T, 1)[0];
5731
+ return S.splice(_, 0, C), w(t.updatePosition) || (y = m(S, T, _)), p(), a("update:modelValue", S), y;
5732
5732
  }
5733
5733
  return [];
5734
5734
  }, h = (T, _) => {
5735
- const w = _.findIndex((y) => y[t.keyField] === T);
5736
- return w === -1 ? null : w;
5737
- }, E = (T, _, w, y = null) => {
5738
- T.data = $e(_), G(w) || (T.data.position = w), G(y) || D(_.id);
5739
- }, I = (T, _, w = null, y = null) => {
5735
+ const S = _.findIndex((y) => y[t.keyField] === T);
5736
+ return S === -1 ? null : S;
5737
+ }, E = (T, _, S, y = null) => {
5738
+ T.data = $e(_), G(S) || (T.data.position = S), G(y) || D(_.id);
5739
+ }, I = (T, _, S = null, y = null) => {
5740
5740
  const C = $e(e.value), x = h(T, C);
5741
- !G(x) && C[x] && (E(C[x], _, w, y), p(C));
5742
- }, A = (T, _, w, y = null) => {
5741
+ !G(x) && C[x] && (E(C[x], _, S, y), p(C));
5742
+ }, A = (T, _, S, y = null) => {
5743
5743
  const C = $e(e.value);
5744
- C[T] && (E(C[T], _, w, y), p(C));
5744
+ C[T] && (E(C[T], _, S, y), p(C));
5745
5745
  }, g = (T, _) => {
5746
- const w = $e(e.value);
5746
+ const S = $e(e.value);
5747
5747
  if (G(T) || T < 0)
5748
- return w.push($e(_)), p(w), [];
5748
+ return S.push($e(_)), p(S), [];
5749
5749
  const y = [];
5750
- return w[T] ? (w.splice(T + 1, 0, _), m(w, T + 1, T + 1, y), p(w), y) : [];
5750
+ return S[T] ? (S.splice(T + 1, 0, _), m(S, T + 1, T + 1, y), p(S), y) : [];
5751
5751
  }, M = (T, _) => {
5752
- const w = $e(e.value);
5752
+ const S = $e(e.value);
5753
5753
  if (G(T))
5754
- return w.push($e(_)), p(w), [];
5755
- const y = h(T, w), C = [];
5756
- return !G(y) && w[y] ? (w.splice(y + 1, 0, _), m(w, y + 1, y + 1, C), p(w), C) : [];
5754
+ return S.push($e(_)), p(S), [];
5755
+ const y = h(T, S), C = [];
5756
+ return !G(y) && S[y] ? (S.splice(y + 1, 0, _), m(S, y + 1, y + 1, C), p(S), C) : [];
5757
5757
  }, Y = (T) => {
5758
- const _ = $e(e.value), w = h(T, _), y = [];
5759
- return !G(w) && _[w] ? (_.splice(w, 1), m(_, w, w, y), v(T), p(_), y) : [];
5758
+ const _ = $e(e.value), S = h(T, _), y = [];
5759
+ return !G(S) && _[S] ? (_.splice(S, 1), m(_, S, S, y), v(T), p(_), y) : [];
5760
5760
  }, k = (T) => {
5761
- const _ = $e(e.value), w = [];
5761
+ const _ = $e(e.value), S = [];
5762
5762
  if (_[T]) {
5763
5763
  const y = _[T][t.keyField];
5764
- return _.splice(T, 1), m(_, T, T, w), v(y), p(_), w;
5764
+ return _.splice(T, 1), m(_, T, T, S), v(y), p(_), S;
5765
5765
  }
5766
5766
  return [];
5767
5767
  }, F = () => {
@@ -5792,7 +5792,7 @@ function Lu(e, n, t, a) {
5792
5792
  updateDataAtIndex: A
5793
5793
  };
5794
5794
  }
5795
- const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortable-widget__before" }, Hu = { class: "a-sortable-widget__content" }, ju = { class: "a-sortable-widget__after" }, qu = /* @__PURE__ */ we({
5795
+ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortable-widget__before" }, Hu = { class: "a-sortable-widget__content" }, ju = { class: "a-sortable-widget__after" }, qu = /* @__PURE__ */ Se({
5796
5796
  __name: "ASortable",
5797
5797
  props: {
5798
5798
  modelValue: {},
@@ -5833,7 +5833,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5833
5833
  return;
5834
5834
  }
5835
5835
  r("onAddLast", null);
5836
- }, d = U(() => S(a.widgetIdentifierId) ? Nu + k.value : a.widgetIdentifierId), b = U(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5836
+ }, d = U(() => w(a.widgetIdentifierId) ? Nu + k.value : a.widgetIdentifierId), b = U(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5837
5837
  if (a.disableDraggable || !Y.value) return;
5838
5838
  const y = Y.value.querySelector("." + jo);
5839
5839
  y && (M.value = Du(y, [], {
@@ -5842,7 +5842,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5842
5842
  dragClass: Ru,
5843
5843
  chosenClass: Pu,
5844
5844
  onEnd: async (C) => {
5845
- if (a.disableDefaultSort || S(C.oldIndex) || S(C.newIndex))
5845
+ if (a.disableDefaultSort || w(C.oldIndex) || w(C.newIndex))
5846
5846
  return;
5847
5847
  const x = u(C.oldIndex, C.newIndex);
5848
5848
  r("onEnd", x);
@@ -5869,7 +5869,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5869
5869
  updateData: $,
5870
5870
  addAfterIndex: T,
5871
5871
  removeByIndex: _,
5872
- updateDataAtIndex: w
5872
+ updateDataAtIndex: S
5873
5873
  } = Lu(o, p, a, r);
5874
5874
  return Hr(() => {
5875
5875
  I();
@@ -5892,7 +5892,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5892
5892
  removeById: N,
5893
5893
  removeByIndex: _,
5894
5894
  updateData: $,
5895
- updateDataAtIndex: w
5895
+ updateDataAtIndex: S
5896
5896
  }), (y, C) => {
5897
5897
  const x = Wt("ABtnTertiary"), R = Wt("ABtnPrimary");
5898
5898
  return P(), de("div", null, [
@@ -5916,7 +5916,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5916
5916
  "onClick:close": (re) => i(j)
5917
5917
  }, Pt({
5918
5918
  default: B(() => [
5919
- Se(y.$slots, "item", { item: j })
5919
+ we(y.$slots, "item", { item: j })
5920
5920
  ]),
5921
5921
  _: 2
5922
5922
  }, [
@@ -5947,7 +5947,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5947
5947
  } : void 0
5948
5948
  ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (P(), de("div", Uu, [
5949
5949
  Ee("div", Vu, [
5950
- Se(y.$slots, "itemBefore", { item: j })
5950
+ we(y.$slots, "itemBefore", { item: j })
5951
5951
  ]),
5952
5952
  Ee("div", {
5953
5953
  class: Ze(["a-sortable-widget__item", {
@@ -5963,12 +5963,12 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
5963
5963
  icon: "mdi-drag"
5964
5964
  }, null, 8, ["class"]),
5965
5965
  Ee("div", Hu, [
5966
- Se(y.$slots, "item", { item: j })
5966
+ we(y.$slots, "item", { item: j })
5967
5967
  ]),
5968
5968
  Ee("div", {
5969
5969
  class: Ze(["a-sortable-widget__buttons", { "a-sortable-widget__buttons--permanent": e.permanentButtons }])
5970
5970
  }, [
5971
- Se(y.$slots, "item-buttons", { item: j }, () => [
5971
+ we(y.$slots, "item-buttons", { item: j }, () => [
5972
5972
  e.showEditButton ? (P(), X(Ne, {
5973
5973
  key: 0,
5974
5974
  icon: "",
@@ -6005,7 +6005,7 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
6005
6005
  ]),
6006
6006
  _: 1
6007
6007
  }, 8, ["onClick"])) : ce("", !0),
6008
- Se(y.$slots, "buttons", { item: j }),
6008
+ we(y.$slots, "buttons", { item: j }),
6009
6009
  e.showAddAfterButton ? (P(), X(Ne, {
6010
6010
  key: 2,
6011
6011
  icon: "",
@@ -6046,13 +6046,13 @@ const Nu = "a-sortable-", Yu = ["id"], Uu = { key: 1 }, Vu = { class: "a-sortabl
6046
6046
  ], 2)
6047
6047
  ], 2),
6048
6048
  Ee("div", ju, [
6049
- Se(y.$slots, "itemAfter", { item: j })
6049
+ we(y.$slots, "itemAfter", { item: j })
6050
6050
  ])
6051
6051
  ]))
6052
6052
  ], 64))), 128))
6053
6053
  ], 2))
6054
6054
  ], 10, Yu),
6055
- Se(y.$slots, "add-last-activator", {
6055
+ we(y.$slots, "add-last-activator", {
6056
6056
  props: { onClick: ye(() => f(), ["stop"]) }
6057
6057
  }, () => [
6058
6058
  e.showAddLastButton ? (P(), X(Ne, {
@@ -6149,7 +6149,7 @@ const Wu = {
6149
6149
  }, Xu = { key: 1 }, Zu = {
6150
6150
  key: 0,
6151
6151
  class: "d-flex align-center justify-end"
6152
- }, Ju = /* @__PURE__ */ we({
6152
+ }, Ju = /* @__PURE__ */ Se({
6153
6153
  __name: "FilterBookmarkDialog",
6154
6154
  props: {
6155
6155
  client: {},
@@ -6161,7 +6161,7 @@ const Wu = {
6161
6161
  emits: ["onClose"],
6162
6162
  setup(e, { emit: n }) {
6163
6163
  const t = e, a = n, r = J(Ke), o = J(tt), l = J(mr);
6164
- if (S(l) || S(r) || S(o))
6164
+ if (w(l) || w(r) || w(o))
6165
6165
  throw new Error("Incorrect provide/inject config.");
6166
6166
  const s = L("add"), i = L(""), c = L(!1), f = L(!1), d = L(!1), b = L(!1), p = L(!1), D = L([]), v = L(null), { required: m, maxLength: u } = oo(), h = {
6167
6167
  customName: {
@@ -6182,7 +6182,7 @@ const Wu = {
6182
6182
  } = (
6183
6183
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
6184
6184
  gr(t.client, t.system)
6185
- ), { t: $ } = Re(), { showErrorsDefault: T, showValidationError: _, showWarningT: w } = In(), { createDefaultUserAdminConfig: y } = zu(), C = async () => {
6185
+ ), { t: $ } = Re(), { showErrorsDefault: T, showValidationError: _, showWarningT: S } = In(), { createDefaultUserAdminConfig: y } = zu(), C = async () => {
6186
6186
  d.value = !0;
6187
6187
  const K = D.value.map((ge) => ge.id);
6188
6188
  try {
@@ -6223,7 +6223,7 @@ const Wu = {
6223
6223
  "error_field_not_unique",
6224
6224
  "cms.userAdminConfig.model.systemResource"
6225
6225
  )) {
6226
- w("common.filter.bookmark.nameUniqueError");
6226
+ S("common.filter.bookmark.nameUniqueError");
6227
6227
  return;
6228
6228
  }
6229
6229
  T(K);
@@ -6334,7 +6334,7 @@ const Wu = {
6334
6334
  }, null, 8, ["title"])) : ce("", !0),
6335
6335
  O(Mt, null, {
6336
6336
  default: B(() => [
6337
- O(wo, {
6337
+ O(So, {
6338
6338
  modelValue: i.value,
6339
6339
  "onUpdate:modelValue": K[2] || (K[2] = (ee) => i.value = ee),
6340
6340
  label: H($)("common.filter.bookmark.name"),
@@ -6378,12 +6378,12 @@ const Wu = {
6378
6378
  onOnEdit: Te
6379
6379
  }, Pt({
6380
6380
  item: B(({ item: ee }) => [
6381
- v.value && v.value.id === ee.raw.id ? (P(), X(wo, {
6381
+ v.value && v.value.id === ee.raw.id ? (P(), X(So, {
6382
6382
  key: 0,
6383
6383
  ref_key: "inputRef",
6384
6384
  ref: ve,
6385
6385
  modelValue: v.value.customName,
6386
- "onUpdate:modelValue": K[5] || (K[5] = (le) => v.value.customName = le),
6386
+ "onUpdate:modelValue": K[5] || (K[5] = (se) => v.value.customName = se),
6387
6387
  "hide-details": "auto",
6388
6388
  v: H(A)
6389
6389
  }, null, 8, ["modelValue", "v"])) : (P(), de("div", Xu, fe(ee.raw.customName), 1))
@@ -6399,7 +6399,7 @@ const Wu = {
6399
6399
  size: "x-small",
6400
6400
  variant: "text",
6401
6401
  class: "mx-1",
6402
- onClick: ye((le) => ke(ee), ["stop"])
6402
+ onClick: ye((se) => ke(ee), ["stop"])
6403
6403
  }, {
6404
6404
  default: B(() => [
6405
6405
  O(Be, { icon: "mdi-check" }),
@@ -6416,7 +6416,7 @@ const Wu = {
6416
6416
  size: "x-small",
6417
6417
  variant: "text",
6418
6418
  class: "mx-1",
6419
- onClick: K[6] || (K[6] = ye((le) => W(), ["stop"]))
6419
+ onClick: K[6] || (K[6] = ye((se) => W(), ["stop"]))
6420
6420
  }, {
6421
6421
  default: B(() => [
6422
6422
  O(Be, { icon: "mdi-close" }),
@@ -6470,7 +6470,7 @@ const Wu = {
6470
6470
  });
6471
6471
  };
6472
6472
  }
6473
- }), Br = /* @__PURE__ */ we({
6473
+ }), Br = /* @__PURE__ */ Se({
6474
6474
  __name: "AFilterBookmarkButton",
6475
6475
  props: /* @__PURE__ */ mt({
6476
6476
  client: {},
@@ -6530,7 +6530,7 @@ const Wu = {
6530
6530
  }), Qu = { class: "subject-select-filter__content px-2 py-4" }, ec = { class: "d-flex flex-wrap align-center" }, tc = {
6531
6531
  key: 0,
6532
6532
  class: "subject-select-filter__actions"
6533
- }, Hd = /* @__PURE__ */ we({
6533
+ }, Hd = /* @__PURE__ */ Se({
6534
6534
  __name: "AFilterWrapperSubjectSelect",
6535
6535
  props: /* @__PURE__ */ mt({
6536
6536
  hideButtons: { type: Boolean, default: !1 },
@@ -6549,7 +6549,7 @@ const Wu = {
6549
6549
  emits: /* @__PURE__ */ mt(["submit", "reset", "bookmarkLoadAfter"], ["update:datatableHiddenColumns"]),
6550
6550
  setup(e, { expose: n, emit: t }) {
6551
6551
  const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), l = J(Ke), s = J(tt);
6552
- if (S(l) || S(s))
6552
+ if (w(l) || w(s))
6553
6553
  throw new Error("Incorrect provide/inject config.");
6554
6554
  const i = L({
6555
6555
  system: l.general.system,
@@ -6582,7 +6582,7 @@ const Wu = {
6582
6582
  }, {
6583
6583
  default: B(() => [
6584
6584
  Ee("div", Qu, [
6585
- Se(h.$slots, "bookmarks", {}, () => [
6585
+ we(h.$slots, "bookmarks", {}, () => [
6586
6586
  O($t, { density: "compact" }, {
6587
6587
  default: B(() => [
6588
6588
  e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
@@ -6606,7 +6606,7 @@ const Wu = {
6606
6606
  _: 1
6607
6607
  })
6608
6608
  ]),
6609
- Se(h.$slots, "detail", {}, () => [
6609
+ we(h.$slots, "detail", {}, () => [
6610
6610
  O($t, null, {
6611
6611
  default: B(() => [
6612
6612
  (P(!0), de(qe, null, Bt(u.value, (I) => (P(), X(gt, {
@@ -6618,7 +6618,7 @@ const Wu = {
6618
6618
  xl: H(l).fields[I].render.xl || 12
6619
6619
  }, {
6620
6620
  default: B(() => [
6621
- Se(h.$slots, H(vr)(I), {
6621
+ we(h.$slots, H(vr)(I), {
6622
6622
  itemConfig: H(l).fields[I]
6623
6623
  }, () => [
6624
6624
  O(pr, { name: I }, null, 8, ["name"])
@@ -6632,7 +6632,7 @@ const Wu = {
6632
6632
  ])
6633
6633
  ]),
6634
6634
  e.hideButtons ? ce("", !0) : (P(), de("div", tc, [
6635
- Se(h.$slots, "buttons", {}, () => [
6635
+ we(h.$slots, "buttons", {}, () => [
6636
6636
  O(ur, { touched: m.value }, null, 8, ["touched"]),
6637
6637
  O(cr, { onReset: v }),
6638
6638
  i.value.system && i.value.subject && e.userId && H(he)(e.client) ? (P(), X(Br, {
@@ -6649,7 +6649,7 @@ const Wu = {
6649
6649
  _: 3
6650
6650
  }, 8, ["name"]));
6651
6651
  }
6652
- }), nc = /* @__PURE__ */ we({
6652
+ }), nc = /* @__PURE__ */ Se({
6653
6653
  __name: "AFilterAdvancedButton",
6654
6654
  props: {
6655
6655
  tooltipT: { default: "common.button.advancedFilters" },
@@ -6684,11 +6684,11 @@ const Wu = {
6684
6684
  _: 1
6685
6685
  }, 8, ["class", "data-cy"]));
6686
6686
  }
6687
- }), ac = { class: "a-selected-filters__label text-body-small" }, oc = /* @__PURE__ */ we({
6687
+ }), ac = { class: "a-selected-filters__label text-body-small" }, oc = /* @__PURE__ */ Se({
6688
6688
  __name: "FiltersSelected",
6689
6689
  setup(e) {
6690
6690
  const n = J(Ke), t = J(tt), a = J(ot);
6691
- if (S(n) || S(t) || S(a))
6691
+ if (w(n) || w(t) || w(a))
6692
6692
  throw new Error("Incorrect provide/inject config.");
6693
6693
  const { t: r } = Re(), o = (f) => {
6694
6694
  const d = n.fields?.[f]?.titleT;
@@ -6742,7 +6742,7 @@ const Wu = {
6742
6742
  ]))), 128))
6743
6743
  ]))), 128));
6744
6744
  }
6745
- }), rc = { class: "d-flex flex-wrap align-center" }, lc = { class: "a-filter__container" }, sc = { class: "a-filter__search" }, ic = { key: 2 }, jd = /* @__PURE__ */ we({
6745
+ }), rc = { class: "d-flex flex-wrap align-center" }, lc = { class: "a-filter__container" }, sc = { class: "a-filter__search" }, ic = { key: 2 }, jd = /* @__PURE__ */ Se({
6746
6746
  __name: "AFilterWrapper",
6747
6747
  props: /* @__PURE__ */ mt({
6748
6748
  enableTop: { type: Boolean, default: !1 },
@@ -6765,7 +6765,7 @@ const Wu = {
6765
6765
  emits: /* @__PURE__ */ mt(["submit", "reset", "bookmarkLoadAfter"], ["update:datatableHiddenColumns", "update:showDetail"]),
6766
6766
  setup(e, { expose: n, emit: t }) {
6767
6767
  const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), l = Tt(e, "showDetail"), s = J(Ke), i = J(tt);
6768
- if (S(s) || S(i))
6768
+ if (w(s) || w(i))
6769
6769
  throw new Error("Incorrect provide/inject config.");
6770
6770
  const c = L({
6771
6771
  system: s.general.system,
@@ -6806,7 +6806,7 @@ const Wu = {
6806
6806
  default: B(() => [
6807
6807
  O(gt, null, {
6808
6808
  default: B(() => [
6809
- Se(I.$slots, "top")
6809
+ we(I.$slots, "top")
6810
6810
  ]),
6811
6811
  _: 3
6812
6812
  })
@@ -6817,7 +6817,7 @@ const Wu = {
6817
6817
  default: B(() => [
6818
6818
  e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
6819
6819
  default: B(() => [
6820
- Se(I.$slots, "bookmarks", {}, () => [
6820
+ we(I.$slots, "bookmarks", {}, () => [
6821
6821
  Ee("div", rc, [
6822
6822
  c.value.system && c.value.subject && e.userId && H(he)(e.client) ? (P(), X(br, {
6823
6823
  key: 0,
@@ -6858,7 +6858,7 @@ const Wu = {
6858
6858
  default: B(() => [
6859
6859
  Ee("div", lc, [
6860
6860
  Ee("div", sc, [
6861
- Se(I.$slots, "search")
6861
+ we(I.$slots, "search")
6862
6862
  ]),
6863
6863
  O(oc)
6864
6864
  ])
@@ -6871,7 +6871,7 @@ const Wu = {
6871
6871
  cols: "auto"
6872
6872
  }, {
6873
6873
  default: B(() => [
6874
- Se(I.$slots, "buttons", {}, () => [
6874
+ we(I.$slots, "buttons", {}, () => [
6875
6875
  O(ur, { touched: h.value }, null, 8, ["touched"]),
6876
6876
  O(cr, { onReset: m }),
6877
6877
  c.value.system && c.value.subject && e.userId && H(he)(e.client) ? (P(), X(Br, {
@@ -6892,10 +6892,10 @@ const Wu = {
6892
6892
  e.hideMore ? ce("", !0) : (P(), de("div", ic, [
6893
6893
  (P(), X(qo(e.alwaysVisible ? "div" : "VSlideYTransition"), null, {
6894
6894
  default: B(() => [
6895
- wn(Ee("div", {
6895
+ Sn(Ee("div", {
6896
6896
  class: Ze({ "mt-6 pa-4 system-border-a": !e.alwaysVisible })
6897
6897
  }, [
6898
- Se(I.$slots, "detail", {}, () => [
6898
+ we(I.$slots, "detail", {}, () => [
6899
6899
  O($t, null, {
6900
6900
  default: B(() => [
6901
6901
  (P(!0), de(qe, null, Bt(E.value, (g) => (P(), X(gt, {
@@ -6907,7 +6907,7 @@ const Wu = {
6907
6907
  xl: H(s).fields[g].render.xl || 2
6908
6908
  }, {
6909
6909
  default: B(() => [
6910
- Se(I.$slots, H(vr)(g), {
6910
+ we(I.$slots, H(vr)(g), {
6911
6911
  itemConfig: H(s).fields[g]
6912
6912
  }, () => [
6913
6913
  O(pr, { name: g }, null, 8, ["name"])
@@ -6938,7 +6938,7 @@ const Wu = {
6938
6938
  }, cc = {
6939
6939
  key: 0,
6940
6940
  class: "required"
6941
- }, dc = 300, zd = /* @__PURE__ */ we({
6941
+ }, dc = 300, zd = /* @__PURE__ */ Se({
6942
6942
  __name: "AFormRemoteAutocomplete",
6943
6943
  props: /* @__PURE__ */ mt({
6944
6944
  label: { default: void 0 },
@@ -6977,10 +6977,10 @@ const Wu = {
6977
6977
  emits: /* @__PURE__ */ mt(["searchChange", "searchChangeDebounced", "blur", "focus", "click:chipClose"], ["update:modelValue", "update:selected"]),
6978
6978
  setup(e, { expose: n, emit: t }) {
6979
6979
  const a = e, r = t, o = J(lo), l = J(ro), s = oa()?.type.__name;
6980
- if (S(o) || S(l))
6980
+ if (w(o) || w(l))
6981
6981
  throw new Error(`[${s}] Incorrect provide/inject config.`);
6982
6982
  const i = a.filterByField, c = a.filterSortBy;
6983
- if (S(o.fields[i]) || S(l[i]))
6983
+ if (w(o.fields[i]) || w(l[i]))
6984
6984
  throw new Error(
6985
6985
  `[${s}] Incorrect filter inner config. FilterByField is '${i}' and available options are ${Object.keys(l).join(", ")}.`
6986
6986
  );
@@ -7014,13 +7014,13 @@ const Wu = {
7014
7014
  h.value = !1, r("blur", f.value), a.v?.$touch(), p.value(f.value);
7015
7015
  }, k = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((z) => z.$message) : []), F = U(() => {
7016
7016
  if (he(a.label)) return a.label;
7017
- if (S(g) || S(M) || S(a.v?.$path)) return "";
7018
- const { end: z } = Sn(a.v?.$path, ".");
7017
+ if (w(g) || w(M) || w(a.v?.$path)) return "";
7018
+ const { end: z } = wn(a.v?.$path, ".");
7019
7019
  return A(g + "." + M + ".model." + z);
7020
7020
  }), N = U(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), $ = U(() => he(a.disabled) ? a.disabled : !!m.value), { pagination: T } = kn(
7021
7021
  G(c) ? null : c.key,
7022
7022
  c?.order
7023
- ), _ = L([]), w = L([]), y = L(!0), C = L(!1), x = U(() => {
7023
+ ), _ = L([]), S = L([]), y = L(!0), C = L(!1), x = U(() => {
7024
7024
  const z = /* @__PURE__ */ new Map(), ie = (Ce) => {
7025
7025
  Ce.forEach((be) => {
7026
7026
  z.set(be.value, {
@@ -7030,9 +7030,9 @@ const Wu = {
7030
7030
  });
7031
7031
  });
7032
7032
  };
7033
- return ie(w.value), ie(_.value), Array.from(z.values());
7033
+ return ie(S.value), ie(_.value), Array.from(z.values());
7034
7034
  }), R = L(!1), j = U(() => R.value ? !0 : a.loading), Q = (z) => {
7035
- w.value = [], d.value = ue(z) ? [] : null, E.value = ue(z) ? [] : null;
7035
+ S.value = [], d.value = ue(z) ? [] : null, E.value = ue(z) ? [] : null;
7036
7036
  }, re = (z) => {
7037
7037
  const ie = (Ce) => x.value.find((be) => be.value === Ce) ?? { title: `${Ce}`, value: Ce };
7038
7038
  return ue(z) ? z.map(ie) : ie(z);
@@ -7040,9 +7040,9 @@ const Wu = {
7040
7040
  R.value = !0;
7041
7041
  try {
7042
7042
  const ie = ue(z) ? z : [z];
7043
- w.value = await a.fetchItemsByIds(ie);
7043
+ S.value = await a.fetchItemsByIds(ie);
7044
7044
  const Ce = re(z);
7045
- return d.value = Ce, E.value = Ce, w.value;
7045
+ return d.value = Ce, E.value = Ce, S.value;
7046
7046
  } finally {
7047
7047
  R.value = !1;
7048
7048
  }
@@ -7052,7 +7052,7 @@ const Wu = {
7052
7052
  try {
7053
7053
  const be = await a.fetchItemsByIds(Ce);
7054
7054
  if (ue(be) && be.length > 0) {
7055
- if (w.value = be, a.multiple) {
7055
+ if (S.value = be, a.multiple) {
7056
7056
  const Yt = be.map((Rr) => Rr.value);
7057
7057
  return f.value = Yt, ie && await te("force", Yt), R.value = !1, !0;
7058
7058
  }
@@ -7077,7 +7077,7 @@ const Wu = {
7077
7077
  R.value = !0;
7078
7078
  try {
7079
7079
  const Ce = await a.fetchItems(T, l, o);
7080
- I.value === 0 && (_.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(ie) || S(ie) || ue(ie) && ie.length === 0) && (f.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
7080
+ I.value === 0 && (_.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(ie) || w(ie) || ue(ie) && ie.length === 0) && (f.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
7081
7081
  } finally {
7082
7082
  R.value = !1;
7083
7083
  }
@@ -7087,8 +7087,8 @@ const Wu = {
7087
7087
  }, K = async () => {
7088
7088
  await te("hover", f.value);
7089
7089
  }, ge = U(() => {
7090
- if (!a.multiple && w.value[0])
7091
- return w.value[0].title;
7090
+ if (!a.multiple && S.value[0])
7091
+ return S.value[0].title;
7092
7092
  }), Z = (z) => {
7093
7093
  !a.multiple && !h.value && z.length === 0 || ge.value !== z && (u.value = z);
7094
7094
  }, ee = async () => {
@@ -7102,7 +7102,7 @@ const Wu = {
7102
7102
  return;
7103
7103
  }
7104
7104
  f.value = null;
7105
- }, le = (z) => {
7105
+ }, se = (z) => {
7106
7106
  if (ue(f.value)) {
7107
7107
  f.value = f.value.filter((ie) => ie !== z.value);
7108
7108
  return;
@@ -7126,7 +7126,7 @@ const Wu = {
7126
7126
  });
7127
7127
  const Ie = (z) => {
7128
7128
  const ie = $e(z);
7129
- if (d.value = ie, G(ie) || S(ie)) {
7129
+ if (d.value = ie, G(ie) || w(ie)) {
7130
7130
  f.value = null;
7131
7131
  return;
7132
7132
  }
@@ -7139,7 +7139,7 @@ const Wu = {
7139
7139
  if (R.value)
7140
7140
  return "$vuetify.loading";
7141
7141
  if (_.value.length === 0 && u.value.length < a.minSearchChars)
7142
- return S(a.minSearchText) ? A("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
7142
+ return w(a.minSearchText) ? A("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
7143
7143
  });
7144
7144
  return Ae(
7145
7145
  f,
@@ -7191,7 +7191,7 @@ const Wu = {
7191
7191
  size: "small",
7192
7192
  text: `${be.title} (${be.raw.subtitle})`,
7193
7193
  disabled: be.props.disabled,
7194
- "onClick:close": (Yt) => le(be.raw)
7194
+ "onClick:close": (Yt) => se(be.raw)
7195
7195
  }, {
7196
7196
  default: B(() => [
7197
7197
  De(fe(be.raw.title) + " ", 1),
@@ -7213,7 +7213,7 @@ const Wu = {
7213
7213
  m.value ? {
7214
7214
  name: "append-inner",
7215
7215
  fn: B(() => [
7216
- Se(z.$slots, "locked", { userId: m.value }, () => [
7216
+ we(z.$slots, "locked", { userId: m.value }, () => [
7217
7217
  e.collab ? (P(), X(ua, {
7218
7218
  key: 0,
7219
7219
  id: m.value,
@@ -7226,7 +7226,7 @@ const Wu = {
7226
7226
  z.$slots.append ? {
7227
7227
  name: "append",
7228
7228
  fn: B(() => [
7229
- Se(z.$slots, "append")
7229
+ we(z.$slots, "append")
7230
7230
  ]),
7231
7231
  key: "1"
7232
7232
  } : void 0
@@ -7287,7 +7287,7 @@ export {
7287
7287
  oo as aK,
7288
7288
  us as aL,
7289
7289
  Es as aM,
7290
- wo as aN,
7290
+ So as aN,
7291
7291
  hd as aO,
7292
7292
  jc as aP,
7293
7293
  Ou as aQ,
@@ -7323,7 +7323,7 @@ export {
7323
7323
  gd as at,
7324
7324
  ct as au,
7325
7325
  ao as av,
7326
- se as aw,
7326
+ le as aw,
7327
7327
  bd as ax,
7328
7328
  lo as ay,
7329
7329
  ro as az,
@@ -7345,8 +7345,8 @@ export {
7345
7345
  $d as bD,
7346
7346
  Vd as bE,
7347
7347
  Yi as bF,
7348
- wd as bG,
7349
- Sd as bH,
7348
+ Sd as bG,
7349
+ wd as bH,
7350
7350
  ds as bI,
7351
7351
  Dd as bJ,
7352
7352
  Qa as bK,
@@ -7357,7 +7357,7 @@ export {
7357
7357
  zl as bP,
7358
7358
  bs as bQ,
7359
7359
  ps as bR,
7360
- ws as bS,
7360
+ Ss as bS,
7361
7361
  mr as bT,
7362
7362
  lr as bU,
7363
7363
  to as bV,
@@ -7379,7 +7379,7 @@ export {
7379
7379
  Wc as bk,
7380
7380
  Gc as bl,
7381
7381
  Xc as bm,
7382
- wl as bn,
7382
+ Sl as bn,
7383
7383
  Kc as bo,
7384
7384
  tr as bp,
7385
7385
  da as bq,
@@ -7401,7 +7401,7 @@ export {
7401
7401
  Ft as c5,
7402
7402
  qi as c6,
7403
7403
  zu as c7,
7404
- S as d,
7404
+ w as d,
7405
7405
  ua as e,
7406
7406
  Gt as f,
7407
7407
  $e as g,
@@ -7416,7 +7416,7 @@ export {
7416
7416
  ue as p,
7417
7417
  En as q,
7418
7418
  pn as r,
7419
- Sn as s,
7419
+ wn as s,
7420
7420
  Oa as t,
7421
7421
  Jt as u,
7422
7422
  Hc as v,
@@ -7425,4 +7425,4 @@ export {
7425
7425
  Qo as y,
7426
7426
  Cl as z
7427
7427
  };
7428
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BPeNEU1y.mjs.map
7428
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BGpdMIsq.mjs.map