@anzusystems/common-admin 1.47.0-beta.dev-1775683200 → 1.47.0-beta.dev-1775683400

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.
@@ -59,10 +59,10 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
59
59
  for (const [a, r] of n)
60
60
  t[a] = r;
61
61
  return t;
62
- }, k = (e) => typeof e > "u", he = (e) => !k(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Vc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Hc = (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), jc = (e) => {
62
+ }, D = (e) => typeof e > "u", he = (e) => !D(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Oe = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Vc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Hc = (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), jc = (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) || k(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) || D(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);
@@ -107,7 +107,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
107
107
  return a.split("/").forEach((s, l) => {
108
108
  if (t[l] = s, !s.startsWith(":")) return;
109
109
  const i = s.substring(1);
110
- k(n[i]) || (t[l] = n[s.substring(1)] + "");
110
+ D(n[i]) || (t[l] = n[s.substring(1)] + "");
111
111
  }), t.join("/") + (r ? `?${r}` : "");
112
112
  }, Gc = (e, n) => {
113
113
  if (e.indexOf(":") === -1) return e;
@@ -116,7 +116,7 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
116
116
  if (t[o] = r, !r.startsWith(":")) return;
117
117
  t[o] = r.substring(1);
118
118
  const s = /^:([a-zA-Z0-9_-]+).*/, l = r.match(s);
119
- G(l) || !l[1] || k(n[l[1]]) || (t[o] = n[l[1]] + "");
119
+ G(l) || !l[1] || D(n[l[1]]) || (t[o] = n[l[1]] + "");
120
120
  }), t.join("/");
121
121
  }, Xc = (e) => e.replace(".", "-"), Zc = (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"), Jc = /* @__PURE__ */ Symbol.for("anzu:AvailableLanguages"), Qc = /* @__PURE__ */ Symbol.for("anzu:DefaultLanguage"), ho = /* @__PURE__ */ Se({
122
122
  __name: "AAnzuUserAvatar",
@@ -178,11 +178,11 @@ const yl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ Se({
178
178
  return Ae(
179
179
  s,
180
180
  async (i) => {
181
- a.value || k(i) || !i._loaded || (t.value = i, a.value = !0);
181
+ a.value || D(i) || !i._loaded || (t.value = i, a.value = !0);
182
182
  },
183
183
  { immediate: !0 }
184
184
  ), (i, u) => (P(), de("div", wl, [
185
- H(G)(e.id) || H(k)(e.id) ? (P(), de("span", Dl)) : a.value ? (P(), de(qe, { key: 1 }, [
185
+ H(G)(e.id) || H(D)(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 dd = {
327
327
  beforeReconnect: () => new Promise((e) => e())
328
328
  });
329
329
  function vd(e) {
330
- k(e) || (Ba.value = e);
330
+ D(e) || (Ba.value = e);
331
331
  }
332
332
  function Jt() {
333
- if (k(Ba.value))
333
+ if (D(Ba.value))
334
334
  throw new Error("Composable can't be used without properly configured common admin.");
335
335
  return {
336
336
  collabOptions: Ba
@@ -367,25 +367,25 @@ function jl() {
367
367
  };
368
368
  }
369
369
  function ca(e, n, t = !1) {
370
- const { collabOptions: a } = Jt(), { currentUserId: r } = jl(), { collabSocket: o, collabFieldLocksState: s, collabFieldDataBufferState: l, collabRoomInfoState: i } = Hl(), u = Rl(), f = L(), d = L(), b = Ll(), p = L(), E = L(), v = nr(), m = L(), c = L(), h = (M, A) => {
371
- M.room !== e || M.field !== n || k(A) || k(d.value) || d.value(A);
372
- }, D = (M, A) => {
373
- M.room !== e || M.field !== n || k(A) || k(E.value) || E.value(A);
370
+ const { collabOptions: a } = Jt(), { currentUserId: r } = jl(), { collabSocket: o, collabFieldLocksState: s, collabFieldDataBufferState: l, collabRoomInfoState: i } = Hl(), u = Rl(), m = L(), d = L(), g = Ll(), p = L(), T = L(), b = nr(), c = L(), f = L(), v = (M, A) => {
371
+ M.room !== e || M.field !== n || D(A) || D(d.value) || d.value(A);
372
+ }, w = (M, A) => {
373
+ M.room !== e || M.field !== n || D(A) || D(T.value) || T.value(A);
374
374
  }, F = (M) => {
375
- M.room === e && he(c.value) && c.value();
376
- }, w = (M) => {
377
- d.value = M, f.value = u.on(h);
378
- }, g = (M) => {
379
- E.value = M, p.value = b.on(
380
- D
375
+ M.room === e && he(f.value) && f.value();
376
+ }, k = (M) => {
377
+ d.value = M, m.value = u.on(v);
378
+ }, h = (M) => {
379
+ T.value = M, p.value = g.on(
380
+ w
381
381
  );
382
382
  }, I = (M) => {
383
- c.value = M, m.value = v.on(
383
+ f.value = M, c.value = b.on(
384
384
  F
385
385
  );
386
386
  };
387
387
  qr(() => {
388
- t || (he(f.value) && f.value(), he(p.value) && p.value(), he(m.value) && m.value());
388
+ t || (he(m.value) && m.value(), he(p.value) && p.value(), he(c.value) && c.value());
389
389
  });
390
390
  const Y = U(() => {
391
391
  const M = s.get(e);
@@ -397,11 +397,11 @@ function ca(e, n, t = !1) {
397
397
  return null;
398
398
  });
399
399
  return {
400
- addCollabFieldDataChangeListener: w,
401
- addCollabFieldLockStatusListener: g,
400
+ addCollabFieldDataChangeListener: k,
401
+ addCollabFieldLockStatusListener: h,
402
402
  addCollabGatheringBufferDataListener: I,
403
403
  acquireCollabFieldLock: (M = {}) => {
404
- if (!a.value.enabled || k(o.value)) return;
404
+ if (!a.value.enabled || D(o.value)) return;
405
405
  const A = i.get(e);
406
406
  A && A.status === pa.Inactive || o.value?.timeout(1e3).emit(
407
407
  "acquireFieldLock",
@@ -411,7 +411,7 @@ function ca(e, n, t = !1) {
411
411
  (_, S) => {
412
412
  const y = { field: n, room: e };
413
413
  if (_ || bo(S))
414
- return void b.emit(
414
+ return void g.emit(
415
415
  y,
416
416
  Bn(
417
417
  un.Acquire,
@@ -423,7 +423,7 @@ function ca(e, n, t = !1) {
423
423
  const C = new Map(S.locks ? Object.entries(S.locks) : []);
424
424
  for (const [x, R] of C.entries())
425
425
  s.get(e)?.set(x, R);
426
- return void b.emit(
426
+ return void g.emit(
427
427
  y,
428
428
  Bn(
429
429
  un.Acquire,
@@ -435,7 +435,7 @@ function ca(e, n, t = !1) {
435
435
  );
436
436
  },
437
437
  releaseCollabFieldLock: (M, A = {}) => {
438
- if (!a.value.enabled || k(o.value)) return;
438
+ if (!a.value.enabled || D(o.value)) return;
439
439
  const _ = i.get(e);
440
440
  if (_ && _.status === pa.Inactive) {
441
441
  l.has(e) || l.set(e, /* @__PURE__ */ new Map()), l.get(e)?.set(n, M);
@@ -450,7 +450,7 @@ function ca(e, n, t = !1) {
450
450
  (S, y) => {
451
451
  const C = { field: n, room: e };
452
452
  if (S || bo(y))
453
- return void b.emit(
453
+ return void g.emit(
454
454
  C,
455
455
  Bn(
456
456
  un.Release,
@@ -461,7 +461,7 @@ function ca(e, n, t = !1) {
461
461
  if (s.has(e) || s.set(e, /* @__PURE__ */ new Map()), y.locks)
462
462
  for (const x of Object.keys(y.locks))
463
463
  s.get(e)?.delete(x);
464
- return void b.emit(
464
+ return void g.emit(
465
465
  C,
466
466
  Bn(
467
467
  un.Release,
@@ -473,16 +473,16 @@ function ca(e, n, t = !1) {
473
473
  );
474
474
  },
475
475
  changeCollabFieldData: (M) => {
476
- if (!a.value.enabled || k(o.value)) return;
476
+ if (!a.value.enabled || D(o.value)) return;
477
477
  const A = i.get(e);
478
478
  A && A.status === pa.Inactive || o.value.emit("changeFieldData", e, n, M, () => {
479
479
  });
480
480
  },
481
481
  lockedByUser: Y,
482
482
  collabFieldDataBufferState: l,
483
- unsubscribeCollabFieldDataChangeListener: f,
483
+ unsubscribeCollabFieldDataChangeListener: m,
484
484
  unsubscribeCollabFieldLockStatusListener: p,
485
- unsubscribeCollabGatheringBufferData: m
485
+ unsubscribeCollabGatheringBufferData: c
486
486
  };
487
487
  }
488
488
  const ql = {
@@ -512,20 +512,20 @@ const ql = {
512
512
  emits: ["update:modelValue", "click:append", "blur", "focus"],
513
513
  setup(e, { expose: n, emit: t }) {
514
514
  const a = e, r = t, o = L(null), { collabOptions: s } = Jt(), l = L(
515
- (w, g) => {
515
+ (k, h) => {
516
516
  }
517
- ), i = L((w) => {
517
+ ), i = L((k) => {
518
518
  }), u = L(null);
519
519
  if (s.value.enabled && he(a.collab)) {
520
520
  const {
521
- releaseCollabFieldLock: w,
522
- acquireCollabFieldLock: g,
521
+ releaseCollabFieldLock: k,
522
+ acquireCollabFieldLock: h,
523
523
  addCollabFieldLockStatusListener: I,
524
524
  addCollabGatheringBufferDataListener: Y,
525
- lockedByUser: T
525
+ lockedByUser: E
526
526
  } = ca(a.collab.room, a.collab.field);
527
- l.value = w, i.value = g, Ae(
528
- T,
527
+ l.value = k, i.value = h, Ae(
528
+ E,
529
529
  ($) => {
530
530
  u.value = $;
531
531
  },
@@ -536,56 +536,56 @@ const ql = {
536
536
  o.value?.blur();
537
537
  });
538
538
  }
539
- const { t: f } = Re(), d = J(Xa, void 0), b = J(Za, void 0), p = (w) => {
540
- r("update:modelValue", w);
541
- }, E = () => {
539
+ const { t: m } = Re(), d = J(Xa, void 0), g = J(Za, void 0), p = (k) => {
540
+ r("update:modelValue", k);
541
+ }, T = () => {
542
542
  r("blur", a.modelValue), a.v?.$touch(), l.value(a.modelValue);
543
- }, v = () => {
543
+ }, b = () => {
544
544
  r("focus", a.modelValue), i.value();
545
- }, m = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((w) => w.$message).join(" ")] : []), c = U(() => {
545
+ }, c = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((k) => k.$message).join(" ")] : []), f = U(() => {
546
546
  if (he(a.label)) return a.label;
547
- if (k(d) || k(b) || k(a.v?.$path)) return "";
548
- const { end: w } = wn(a.v?.$path, ".");
549
- return f(d + "." + b + ".model." + w);
550
- }), h = U(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), D = U(() => he(a.disabled) ? a.disabled : !!u.value);
547
+ if (D(d) || D(g) || D(a.v?.$path)) return "";
548
+ const { end: k } = wn(a.v?.$path, ".");
549
+ return m(d + "." + g + ".model." + k);
550
+ }), v = U(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), w = U(() => he(a.disabled) ? a.disabled : !!u.value);
551
551
  return n({
552
552
  focus: () => {
553
553
  o.value?.focus();
554
554
  }
555
- }), (w, g) => (P(), X(ia, {
555
+ }), (k, h) => (P(), X(ia, {
556
556
  ref_key: "textFieldRef",
557
557
  ref: o,
558
558
  "prepend-icon": e.prependIcon,
559
559
  "data-cy": e.dataCy,
560
- "error-messages": m.value,
560
+ "error-messages": c.value,
561
561
  "model-value": e.modelValue,
562
- required: h.value,
562
+ required: v.value,
563
563
  type: e.type,
564
564
  step: e.step,
565
565
  "append-icon": e.appendIcon,
566
566
  maxlength: e.maxlength,
567
- disabled: D.value,
567
+ disabled: w.value,
568
568
  placeholder: e.placeholder,
569
569
  "persistent-placeholder": e.persistentPlaceholder,
570
570
  trim: "",
571
571
  autocomplete: "off",
572
- "onClick:append": g[0] || (g[0] = (I) => r("click:append", I)),
573
- onBlur: E,
574
- onFocus: v,
575
- "onUpdate:modelValue": g[1] || (g[1] = (I) => p(I))
572
+ "onClick:append": h[0] || (h[0] = (I) => r("click:append", I)),
573
+ onBlur: T,
574
+ onFocus: b,
575
+ "onUpdate:modelValue": h[1] || (h[1] = (I) => p(I))
576
576
  }, Pt({ _: 2 }, [
577
577
  e.hideLabel ? void 0 : {
578
578
  name: "label",
579
579
  fn: B(() => [
580
- De(fe(c.value), 1),
581
- h.value ? (P(), de("span", ql)) : ce("", !0)
580
+ De(fe(f.value), 1),
581
+ v.value ? (P(), de("span", ql)) : ce("", !0)
582
582
  ]),
583
583
  key: "0"
584
584
  },
585
585
  u.value ? {
586
586
  name: "append-inner",
587
587
  fn: B(() => [
588
- we(w.$slots, "locked", { userId: u.value }, () => [
588
+ we(k.$slots, "locked", { userId: u.value }, () => [
589
589
  e.collab ? (P(), X(ua, {
590
590
  key: 0,
591
591
  id: u.value,
@@ -595,10 +595,10 @@ const ql = {
595
595
  ]),
596
596
  key: "1"
597
597
  } : void 0,
598
- w.$slots.prepend ? {
598
+ k.$slots.prepend ? {
599
599
  name: "prepend",
600
600
  fn: B(() => [
601
- we(w.$slots, "prepend")
601
+ we(k.$slots, "prepend")
602
602
  ]),
603
603
  key: "2"
604
604
  } : void 0,
@@ -651,42 +651,42 @@ const Kl = ["createdAt", "modifiedAt"], hd = "_score", gd = "id", bd = "score_da
651
651
  fixed: !1
652
652
  };
653
653
  function Cd(e, n, t = void 0, a = void 0, r = !1, o = void 0, s = void 0, l = void 0, i = void 0) {
654
- const u = s ?? xe, { t: f } = u.global || u, d = Wl();
654
+ const u = s ?? xe, { t: m } = u.global || u, d = Wl();
655
655
  if (o)
656
- for (const c of Object.keys(d))
657
- c in o && (d[c] = o[c]);
658
- const b = e.map((c) => {
659
- const h = { ...Gl, ...c };
660
- return k(h.title) && (k(h.title) && Kl.includes(h.key) ? h.title = f("common.model.tracking." + h.key) : k(h.title) && t && a ? h.title = f(t + "." + a + ".model." + h.key) : h.title = ""), h;
656
+ for (const f of Object.keys(d))
657
+ f in o && (d[f] = o[f]);
658
+ const g = e.map((f) => {
659
+ const v = { ...Gl, ...f };
660
+ return D(v.title) && (D(v.title) && Kl.includes(v.key) ? v.title = m("common.model.tracking." + v.key) : D(v.title) && t && a ? v.title = m(t + "." + a + ".model." + v.key) : v.title = ""), v;
661
661
  }), p = U(() => {
662
- const c = [];
663
- return l && c.push({ key: "data-table-expand", sortable: !1 }), b.forEach((h) => {
664
- n.value.includes(h.key) || c.push(h);
665
- }), r || c.push({ key: "actions", sortable: !1, fixed: !0 }), c;
666
- }), E = (c) => {
667
- if (!c) {
662
+ const f = [];
663
+ return l && f.push({ key: "data-table-expand", sortable: !1 }), g.forEach((v) => {
664
+ n.value.includes(v.key) || f.push(v);
665
+ }), r || f.push({ key: "actions", sortable: !1, fixed: !0 }), f;
666
+ }), T = (f) => {
667
+ if (!f) {
668
668
  d.sortBy = null;
669
669
  return;
670
670
  }
671
- d.sortBy = c.key, d.descending = c.order === Ct.Desc;
672
- }, v = () => {
671
+ d.sortBy = f.key, d.descending = f.order === Ct.Desc;
672
+ }, b = () => {
673
673
  if (!i || !localStorage) return;
674
- const c = localStorage.getItem(i);
675
- if (!c) return;
676
- const h = JSON.parse(c);
677
- En(h) && ue(h.hidden) && (n.value = h.hidden);
678
- }, m = (c) => {
679
- !i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: c }));
674
+ const f = localStorage.getItem(i);
675
+ if (!f) return;
676
+ const v = JSON.parse(f);
677
+ En(v) && ue(v.hidden) && (n.value = v.hidden);
678
+ }, c = (f) => {
679
+ !i || !localStorage || localStorage.setItem(i, JSON.stringify({ hidden: f }));
680
680
  };
681
681
  return ja(() => {
682
- v();
683
- }), Ae(n, (c) => {
684
- m(c);
682
+ b();
683
+ }), Ae(n, (f) => {
684
+ c(f);
685
685
  }), {
686
- columnsAll: b,
686
+ columnsAll: g,
687
687
  columnsVisible: p,
688
688
  columnsHidden: n,
689
- updateSortBy: E,
689
+ updateSortBy: T,
690
690
  pagination: d
691
691
  };
692
692
  }
@@ -927,40 +927,40 @@ const Rn = {
927
927
  slots: t,
928
928
  expose: a
929
929
  }) => {
930
- const r = L([]), o = or.get("velocity"), s = U(() => e.animationType === "velocity"), l = U(() => r.value.filter((T) => T.state !== Rn.DESTROYED)), i = U(() => Jl(e.width)), u = U(() => {
930
+ const r = L([]), o = or.get("velocity"), s = U(() => e.animationType === "velocity"), l = U(() => r.value.filter((E) => E.state !== Rn.DESTROYED)), i = U(() => Jl(e.width)), u = U(() => {
931
931
  const {
932
- x: T,
932
+ x: E,
933
933
  y: $
934
934
  } = ts(e.position), N = i.value.value, M = i.value.type, A = {
935
935
  width: N + M
936
936
  };
937
- return $ && (A[$] = "0px"), T && (T === "center" ? A.left = `calc(50% - ${+N / 2}${M})` : A[T] = "0px"), A;
938
- }), f = U(() => s.value ? {
939
- onEnter: g,
937
+ return $ && (A[$] = "0px"), E && (E === "center" ? A.left = `calc(50% - ${+N / 2}${M})` : A[E] = "0px"), A;
938
+ }), m = U(() => s.value ? {
939
+ onEnter: h,
940
940
  onLeave: I,
941
941
  onAfterLeave: Y
942
- } : {}), d = (T) => {
943
- n("click", T), e.closeOnClick && h(T);
944
- }, b = (T) => {
942
+ } : {}), d = (E) => {
943
+ n("click", E), e.closeOnClick && v(E);
944
+ }, g = (E) => {
945
945
  var $;
946
- e.pauseOnHover && (($ = T.timer) == null || $.stop());
947
- }, p = (T) => {
946
+ e.pauseOnHover && (($ = E.timer) == null || $.stop());
947
+ }, p = (E) => {
948
948
  var $;
949
- e.pauseOnHover && (($ = T.timer) == null || $.start());
950
- }, E = (T = {}) => {
951
- if (T.group || (T.group = ""), T.data || (T.data = {}), e.group !== T.group)
949
+ e.pauseOnHover && (($ = E.timer) == null || $.start());
950
+ }, T = (E = {}) => {
951
+ if (E.group || (E.group = ""), E.data || (E.data = {}), e.group !== E.group)
952
952
  return;
953
- if (T.clean || T.clear) {
953
+ if (E.clean || E.clear) {
954
954
  F();
955
955
  return;
956
956
  }
957
- const $ = typeof T.duration == "number" ? T.duration : e.duration, N = typeof T.speed == "number" ? T.speed : e.speed, M = typeof T.ignoreDuplicates == "boolean" ? T.ignoreDuplicates : e.ignoreDuplicates, {
957
+ const $ = typeof E.duration == "number" ? E.duration : e.duration, N = typeof E.speed == "number" ? E.speed : e.speed, M = typeof E.ignoreDuplicates == "boolean" ? E.ignoreDuplicates : e.ignoreDuplicates, {
958
958
  title: A,
959
959
  text: _,
960
960
  type: S,
961
961
  data: y,
962
962
  id: C
963
- } = T, x = {
963
+ } = E, x = {
964
964
  id: C || Ql(),
965
965
  title: A,
966
966
  text: _,
@@ -971,73 +971,73 @@ const Rn = {
971
971
  data: y,
972
972
  duplicates: 0
973
973
  };
974
- $ >= 0 && (x.timer = ns(() => h(x), x.length));
974
+ $ >= 0 && (x.timer = ns(() => v(x), x.length));
975
975
  const R = "bottom" in u.value, j = e.reverse ? !R : R;
976
976
  let Q = -1;
977
- const re = l.value.find((ve) => ve.title === T.title && ve.text === T.text);
977
+ const re = l.value.find((ve) => ve.title === E.title && ve.text === E.text);
978
978
  if (M && re) {
979
979
  re.duplicates++;
980
980
  return;
981
981
  }
982
- j ? (r.value.push(x), n("start", x), l.value.length > e.max && (Q = 0)) : (r.value.unshift(x), n("start", x), l.value.length > e.max && (Q = l.value.length - 1)), Q !== -1 && h(l.value[Q]);
983
- }, v = (T) => {
984
- D(T);
985
- }, m = (T) => ["vue-notification-template", e.classes, T.type || ""], c = (T) => s.value ? void 0 : {
986
- transition: `all ${T.speed}ms`
987
- }, h = (T) => {
982
+ j ? (r.value.push(x), n("start", x), l.value.length > e.max && (Q = 0)) : (r.value.unshift(x), n("start", x), l.value.length > e.max && (Q = l.value.length - 1)), Q !== -1 && v(l.value[Q]);
983
+ }, b = (E) => {
984
+ w(E);
985
+ }, c = (E) => ["vue-notification-template", e.classes, E.type || ""], f = (E) => s.value ? void 0 : {
986
+ transition: `all ${E.speed}ms`
987
+ }, v = (E) => {
988
988
  var $;
989
- ($ = T.timer) == null || $.stop(), T.state = Rn.DESTROYED, Y(), n("destroy", T);
990
- }, D = (T) => {
991
- const $ = r.value.find((N) => N.id === T);
992
- $ && h($);
989
+ ($ = E.timer) == null || $.stop(), E.state = Rn.DESTROYED, Y(), n("destroy", E);
990
+ }, w = (E) => {
991
+ const $ = r.value.find((N) => N.id === E);
992
+ $ && v($);
993
993
  }, F = () => {
994
- l.value.forEach(h);
995
- }, w = (T, $) => {
994
+ l.value.forEach(v);
995
+ }, k = (E, $) => {
996
996
  var N;
997
- const M = (N = e.animation) == null ? void 0 : N[T];
997
+ const M = (N = e.animation) == null ? void 0 : N[E];
998
998
  return typeof M == "function" ? M($) : M;
999
- }, g = (T, $) => {
1000
- const N = w("enter", T);
1001
- o(T, N, {
999
+ }, h = (E, $) => {
1000
+ const N = k("enter", E);
1001
+ o(E, N, {
1002
1002
  duration: e.speed,
1003
1003
  complete: $
1004
1004
  });
1005
- }, I = (T, $) => {
1006
- const N = w("leave", T);
1007
- o(T, N, {
1005
+ }, I = (E, $) => {
1006
+ const N = k("leave", E);
1007
+ o(E, N, {
1008
1008
  duration: e.speed,
1009
1009
  complete: $
1010
1010
  });
1011
1011
  };
1012
1012
  function Y() {
1013
- r.value = r.value.filter((T) => T.state !== Rn.DESTROYED);
1013
+ r.value = r.value.filter((E) => E.state !== Rn.DESTROYED);
1014
1014
  }
1015
1015
  return ja(() => {
1016
- jt.on("add", E), jt.on("close", v);
1016
+ jt.on("add", T), jt.on("close", b);
1017
1017
  }), Nr(() => {
1018
- jt.off("add", E), jt.off("close", v);
1018
+ jt.off("add", T), jt.off("close", b);
1019
1019
  }), () => {
1020
- let T;
1020
+ let E;
1021
1021
  return O("div", {
1022
1022
  class: "vue-notification-group",
1023
1023
  style: u.value
1024
- }, [O(Yr, it(f.value, {
1024
+ }, [O(Yr, it(m.value, {
1025
1025
  tag: "div",
1026
1026
  css: !s.value,
1027
1027
  name: e.animationName
1028
- }), as(T = l.value.map(($) => O("div", {
1028
+ }), as(E = l.value.map(($) => O("div", {
1029
1029
  key: $.id,
1030
1030
  class: "vue-notification-wrapper",
1031
- style: c($),
1031
+ style: f($),
1032
1032
  "data-id": $.id,
1033
- onMouseenter: () => b($),
1033
+ onMouseenter: () => g($),
1034
1034
  onMouseleave: () => p($)
1035
1035
  }, [t.body ? t.body({
1036
1036
  item: $,
1037
1037
  class: [e.classes, $.type],
1038
- close: () => h($)
1038
+ close: () => v($)
1039
1039
  }) : O("div", {
1040
- class: m($),
1040
+ class: c($),
1041
1041
  onClick: () => d($)
1042
1042
  }, [e.dangerouslySetInnerHtml ? O(qe, null, [$.title ? O("div", {
1043
1043
  class: "notification-title",
@@ -1049,8 +1049,8 @@ const Rn = {
1049
1049
  class: "notification-title"
1050
1050
  }, [$.title]) : null, O("div", {
1051
1051
  class: "notification-content"
1052
- }, [$.text])])])]))) ? T : {
1053
- default: () => [T]
1052
+ }, [$.text])])])]))) ? E : {
1053
+ default: () => [E]
1054
1054
  })]);
1055
1055
  };
1056
1056
  }
@@ -1143,111 +1143,111 @@ class no extends Error {
1143
1143
  const rt = 3, Es = `
1144
1144
  `;
1145
1145
  function In() {
1146
- const e = (m, c = rt) => {
1146
+ const e = (c, f = rt) => {
1147
1147
  nt({
1148
1148
  group: "alerts",
1149
- text: m,
1150
- duration: c * 1e3,
1149
+ text: c,
1150
+ duration: f * 1e3,
1151
1151
  type: "success"
1152
1152
  });
1153
- }, n = (m, c = rt) => {
1154
- const { t: h } = xe.global;
1155
- e(h(m), c);
1156
- }, t = (m, c = rt) => {
1153
+ }, n = (c, f = rt) => {
1154
+ const { t: v } = xe.global;
1155
+ e(v(c), f);
1156
+ }, t = (c, f = rt) => {
1157
1157
  nt({
1158
1158
  group: "alerts",
1159
- text: m,
1160
- duration: c * 1e3,
1159
+ text: c,
1160
+ duration: f * 1e3,
1161
1161
  type: "error"
1162
1162
  });
1163
- }, a = (m, c = rt) => {
1164
- const { t: h } = xe.global;
1165
- t(h(m), c);
1166
- }, r = (m, c = rt) => {
1163
+ }, a = (c, f = rt) => {
1164
+ const { t: v } = xe.global;
1165
+ t(v(c), f);
1166
+ }, r = (c, f = rt) => {
1167
1167
  nt({
1168
1168
  group: "alerts",
1169
- text: m,
1170
- duration: c * 1e3,
1169
+ text: c,
1170
+ duration: f * 1e3,
1171
1171
  type: "info"
1172
1172
  });
1173
- }, o = (m, c = rt) => {
1174
- const { t: h } = xe.global;
1175
- r(h(m), c);
1176
- }, s = (m, c = rt) => {
1173
+ }, o = (c, f = rt) => {
1174
+ const { t: v } = xe.global;
1175
+ r(v(c), f);
1176
+ }, s = (c, f = rt) => {
1177
1177
  nt({
1178
1178
  group: "alerts",
1179
- text: m,
1180
- duration: c * 1e3,
1179
+ text: c,
1180
+ duration: f * 1e3,
1181
1181
  type: "warning"
1182
1182
  });
1183
- }, l = (m, c = rt) => {
1184
- const { t: h } = xe.global;
1185
- s(h(m), c);
1186
- }, i = (m = rt) => {
1187
- const { t: c } = xe.global;
1183
+ }, l = (c, f = rt) => {
1184
+ const { t: v } = xe.global;
1185
+ s(v(c), f);
1186
+ }, i = (c = rt) => {
1187
+ const { t: f } = xe.global;
1188
1188
  nt({
1189
1189
  group: "alerts",
1190
- text: c("common.alert.fixValidationErrors"),
1191
- duration: m * 1e3,
1190
+ text: f("common.alert.fixValidationErrors"),
1191
+ duration: c * 1e3,
1192
1192
  type: "error"
1193
1193
  });
1194
- }, u = (m, c = rt) => {
1195
- const { t: h } = xe.global;
1194
+ }, u = (c, f = rt) => {
1195
+ const { t: v } = xe.global;
1196
1196
  nt({
1197
1197
  group: "alerts",
1198
- text: h("common.alert.recordWas." + m),
1199
- duration: c * 1e3,
1198
+ text: v("common.alert.recordWas." + c),
1199
+ duration: f * 1e3,
1200
1200
  type: "success"
1201
1201
  });
1202
- }, f = (m, c = -1, h = !1) => {
1203
- const { t: D, te: F } = xe.global, w = [D("common.alert.fixApiValidationErrors")];
1204
- for (let g = 0; g < m.length; g++) {
1202
+ }, m = (c, f = -1, v = !1) => {
1203
+ const { t: w, te: F } = xe.global, k = [w("common.alert.fixApiValidationErrors")];
1204
+ for (let h = 0; h < c.length; h++) {
1205
1205
  let I = "";
1206
- h ? I += m[g].field : F(m[g].field) ? I += D(m[g].field) : m[g].field.includes("[") ? I += v(m[g].field) : I += m[g].field.split(".").at(-1);
1206
+ v ? I += c[h].field : F(c[h].field) ? I += w(c[h].field) : c[h].field.includes("[") ? I += b(c[h].field) : I += c[h].field.split(".").at(-1);
1207
1207
  const Y = /* @__PURE__ */ new Set();
1208
- for (let T = 0; T < m[g].errors.length; T++) {
1209
- if (F("error.apiValidation." + m[g].errors[T])) {
1210
- Y.add(D("error.apiValidation." + m[g].errors[T]));
1208
+ for (let E = 0; E < c[h].errors.length; E++) {
1209
+ if (F("error.apiValidation." + c[h].errors[E])) {
1210
+ Y.add(w("error.apiValidation." + c[h].errors[E]));
1211
1211
  continue;
1212
1212
  }
1213
- Y.add(D("error.apiValidation.noTranslation"));
1213
+ Y.add(w("error.apiValidation.noTranslation"));
1214
1214
  }
1215
- I.length > 0 && w.push(I + ": " + Array.from(Y).join(", "));
1215
+ I.length > 0 && k.push(I + ": " + Array.from(Y).join(", "));
1216
1216
  }
1217
1217
  nt({
1218
1218
  group: "alerts",
1219
- text: w.join(Es),
1220
- duration: c * 1e3,
1219
+ text: k.join(Es),
1220
+ duration: f * 1e3,
1221
1221
  type: "error"
1222
1222
  });
1223
- }, d = (m, c = -1) => {
1224
- const { t: h, te: D } = xe.global;
1225
- let F = h("error.apiForbiddenOperation.noTranslation");
1226
- D("error.apiForbiddenOperation." + m) && (F = h("error.apiForbiddenOperation." + m)), nt({
1223
+ }, d = (c, f = -1) => {
1224
+ const { t: v, te: w } = xe.global;
1225
+ let F = v("error.apiForbiddenOperation.noTranslation");
1226
+ w("error.apiForbiddenOperation." + c) && (F = v("error.apiForbiddenOperation." + c)), nt({
1227
1227
  group: "alerts",
1228
1228
  text: F,
1229
- duration: c * 1e3,
1229
+ duration: f * 1e3,
1230
1230
  type: "error"
1231
1231
  });
1232
- }, b = (m = -1) => {
1233
- const { t: c } = xe.global;
1232
+ }, g = (c = -1) => {
1233
+ const { t: f } = xe.global;
1234
1234
  nt({
1235
1235
  group: "alerts",
1236
- text: c("common.alert.unknownError"),
1237
- duration: m * 1e3,
1236
+ text: f("common.alert.unknownError"),
1237
+ duration: c * 1e3,
1238
1238
  type: "error"
1239
1239
  });
1240
- }, p = (m = rt) => {
1241
- const { t: c } = xe.global;
1240
+ }, p = (c = rt) => {
1241
+ const { t: f } = xe.global;
1242
1242
  nt({
1243
1243
  group: "alerts",
1244
- text: c("common.alert.forbiddenError"),
1245
- duration: m * 1e3,
1244
+ text: f("common.alert.forbiddenError"),
1245
+ duration: c * 1e3,
1246
1246
  type: "error"
1247
1247
  });
1248
- }, E = (m, c = -1) => ms(m) ? (p(c), !0) : rr(m) ? (f(m.fields, c), !0) : Ss(m) ? (a("error.apiDependencyExists.message", c), !0) : bs(m) ? (d(m.detail, c), !0) : Ds(m) ? (a("error.apiTimedOut.message", c), !0) : ks(m) || ss(m) || eo(m) ? (b(c), !0) : !1, v = (m) => {
1249
- const { t: c } = xe.global, h = m.split("["), D = h[0].trim(), F = h[1].split("]"), w = F[0], g = F[1] ?? "";
1250
- return c(D) + "[" + w + "]: " + c(D.slice(0, -1) + g);
1248
+ }, T = (c, f = -1) => ms(c) ? (p(f), !0) : rr(c) ? (m(c.fields, f), !0) : Ss(c) ? (a("error.apiDependencyExists.message", f), !0) : bs(c) ? (d(c.detail, f), !0) : Ds(c) ? (a("error.apiTimedOut.message", f), !0) : ks(c) || ss(c) || eo(c) ? (g(f), !0) : !1, b = (c) => {
1249
+ const { t: f } = xe.global, v = c.split("["), w = v[0].trim(), F = v[1].split("]"), k = F[0], h = F[1] ?? "";
1250
+ return f(w) + "[" + k + "]: " + f(w.slice(0, -1) + h);
1251
1251
  };
1252
1252
  return {
1253
1253
  showSuccess: e,
@@ -1260,11 +1260,11 @@ function In() {
1260
1260
  showWarningT: l,
1261
1261
  showValidationError: i,
1262
1262
  showRecordWas: u,
1263
- showApiValidationError: f,
1263
+ showApiValidationError: m,
1264
1264
  showApiForbiddenOperationError: d,
1265
- showUnknownError: b,
1265
+ showUnknownError: g,
1266
1266
  showForbiddenError: p,
1267
- showErrorsDefault: E
1267
+ showErrorsDefault: T
1268
1268
  };
1269
1269
  }
1270
1270
  function ao(e) {
@@ -1276,15 +1276,15 @@ function As() {
1276
1276
  (function(t, a) {
1277
1277
  e.exports = a();
1278
1278
  })(Ts, (function() {
1279
- var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", l = "minute", i = "hour", u = "day", f = "week", d = "month", b = "quarter", p = "year", E = "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+)?$/, c = /\[([^\]]+)]|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(_) {
1279
+ var t = 1e3, a = 6e4, r = 36e5, o = "millisecond", s = "second", l = "minute", i = "hour", u = "day", m = "week", d = "month", g = "quarter", p = "year", T = "date", b = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, f = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
1280
1280
  var S = ["th", "st", "nd", "rd"], y = _ % 100;
1281
1281
  return "[" + _ + (S[(y - 20) % 10] || S[y] || S[0]) + "]";
1282
- } }, D = function(_, S, y) {
1282
+ } }, w = function(_, S, y) {
1283
1283
  var C = String(_);
1284
1284
  return !C || C.length >= S ? _ : "" + Array(S + 1 - C.length).join(y) + _;
1285
- }, F = { s: D, z: function(_) {
1285
+ }, F = { s: w, z: function(_) {
1286
1286
  var S = -_.utcOffset(), y = Math.abs(S), C = Math.floor(y / 60), x = y % 60;
1287
- return (S <= 0 ? "+" : "-") + D(C, 2, "0") + ":" + D(x, 2, "0");
1287
+ return (S <= 0 ? "+" : "-") + w(C, 2, "0") + ":" + w(x, 2, "0");
1288
1288
  }, m: function _(S, y) {
1289
1289
  if (S.date() < y.date()) return -_(y, S);
1290
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);
@@ -1292,37 +1292,37 @@ function As() {
1292
1292
  }, a: function(_) {
1293
1293
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
1294
1294
  }, p: function(_) {
1295
- return { M: d, y: p, w: f, d: u, D: E, h: i, m: l, s, ms: o, Q: b }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
1295
+ return { M: d, y: p, w: m, d: u, D: T, h: i, m: l, s, ms: o, Q: g }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
1296
1296
  }, u: function(_) {
1297
1297
  return _ === void 0;
1298
- } }, w = "en", g = {};
1299
- g[w] = h;
1298
+ } }, k = "en", h = {};
1299
+ h[k] = v;
1300
1300
  var I = "$isDayjsObject", Y = function(_) {
1301
1301
  return _ instanceof M || !(!_ || !_[I]);
1302
- }, T = function _(S, y, C) {
1302
+ }, E = function _(S, y, C) {
1303
1303
  var x;
1304
- if (!S) return w;
1304
+ if (!S) return k;
1305
1305
  if (typeof S == "string") {
1306
1306
  var R = S.toLowerCase();
1307
- g[R] && (x = R), y && (g[R] = y, x = R);
1307
+ h[R] && (x = R), y && (h[R] = y, x = R);
1308
1308
  var j = S.split("-");
1309
1309
  if (!x && j.length > 1) return _(j[0]);
1310
1310
  } else {
1311
1311
  var Q = S.name;
1312
- g[Q] = S, x = Q;
1312
+ h[Q] = S, x = Q;
1313
1313
  }
1314
- return !C && x && (w = x), x || !C && w;
1314
+ return !C && x && (k = x), x || !C && k;
1315
1315
  }, $ = function(_, S) {
1316
1316
  if (Y(_)) return _.clone();
1317
1317
  var y = typeof S == "object" ? S : {};
1318
1318
  return y.date = _, y.args = arguments, new M(y);
1319
1319
  }, N = F;
1320
- N.l = T, N.i = Y, N.w = function(_, S) {
1320
+ N.l = E, N.i = Y, N.w = function(_, S) {
1321
1321
  return $(_, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
1322
1322
  };
1323
1323
  var M = (function() {
1324
1324
  function _(y) {
1325
- this.$L = T(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[I] = !0;
1325
+ this.$L = E(y.locale, null, !0), this.parse(y), this.$x = this.$x || y.x || {}, this[I] = !0;
1326
1326
  }
1327
1327
  var S = _.prototype;
1328
1328
  return S.parse = function(y) {
@@ -1332,7 +1332,7 @@ function As() {
1332
1332
  if (N.u(x)) return /* @__PURE__ */ new Date();
1333
1333
  if (x instanceof Date) return new Date(x);
1334
1334
  if (typeof x == "string" && !/Z$/i.test(x)) {
1335
- var j = x.match(m);
1335
+ var j = x.match(c);
1336
1336
  if (j) {
1337
1337
  var Q = j[2] - 1 || 0, re = (j[7] || "0").substring(0, 3);
1338
1338
  return R ? new Date(Date.UTC(j[1], Q, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, re)) : new Date(j[1], Q, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, re);
@@ -1346,7 +1346,7 @@ function As() {
1346
1346
  }, S.$utils = function() {
1347
1347
  return N;
1348
1348
  }, S.isValid = function() {
1349
- return this.$d.toString() !== v;
1349
+ return this.$d.toString() !== b;
1350
1350
  }, S.isSame = function(y, C) {
1351
1351
  var x = $(y);
1352
1352
  return this.startOf(C) <= x && x <= this.endOf(C);
@@ -1372,11 +1372,11 @@ function As() {
1372
1372
  return R ? Q(1, 0) : Q(31, 11);
1373
1373
  case d:
1374
1374
  return R ? Q(1, Te) : Q(0, Te + 1);
1375
- case f:
1375
+ case m:
1376
1376
  var te = this.$locale().weekStart || 0, q = (ve < te ? ve + 7 : ve) - te;
1377
1377
  return Q(R ? ke - q : ke + (6 - q), Te);
1378
1378
  case u:
1379
- case E:
1379
+ case T:
1380
1380
  return re(W + "Hours", 0);
1381
1381
  case i:
1382
1382
  return re(W + "Minutes", 1);
@@ -1390,10 +1390,10 @@ function As() {
1390
1390
  }, S.endOf = function(y) {
1391
1391
  return this.startOf(y, !1);
1392
1392
  }, S.$set = function(y, C) {
1393
- var x, R = N.p(y), j = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[u] = j + "Date", x[E] = j + "Date", x[d] = j + "Month", x[p] = j + "FullYear", x[i] = j + "Hours", x[l] = j + "Minutes", x[s] = j + "Seconds", x[o] = j + "Milliseconds", x)[R], re = R === u ? this.$D + (C - this.$W) : C;
1393
+ var x, R = N.p(y), j = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[u] = j + "Date", x[T] = j + "Date", x[d] = j + "Month", x[p] = j + "FullYear", x[i] = j + "Hours", x[l] = j + "Minutes", x[s] = j + "Seconds", x[o] = j + "Milliseconds", x)[R], re = R === u ? this.$D + (C - this.$W) : C;
1394
1394
  if (R === d || R === p) {
1395
- var ve = this.clone().set(E, 1);
1396
- ve.$d[Q](re), ve.init(), this.$d = ve.set(E, Math.min(this.$D, ve.daysInMonth())).$d;
1395
+ var ve = this.clone().set(T, 1);
1396
+ ve.$d[Q](re), ve.init(), this.$d = ve.set(T, Math.min(this.$D, ve.daysInMonth())).$d;
1397
1397
  } else Q && this.$d[Q](re);
1398
1398
  return this.init(), this;
1399
1399
  }, S.set = function(y, C) {
@@ -1410,14 +1410,14 @@ function As() {
1410
1410
  if (j === d) return this.set(d, this.$M + y);
1411
1411
  if (j === p) return this.set(p, this.$y + y);
1412
1412
  if (j === u) return Q(1);
1413
- if (j === f) return Q(7);
1413
+ if (j === m) return Q(7);
1414
1414
  var re = (x = {}, x[l] = a, x[i] = r, x[s] = t, x)[j] || 1, ve = this.$d.getTime() + y * re;
1415
1415
  return N.w(ve, this);
1416
1416
  }, S.subtract = function(y, C) {
1417
1417
  return this.add(-1 * y, C);
1418
1418
  }, S.format = function(y) {
1419
1419
  var C = this, x = this.$locale();
1420
- if (!this.isValid()) return x.invalidDate || v;
1420
+ if (!this.isValid()) return x.invalidDate || b;
1421
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
1422
  return ge && (ge[Z] || ge(C, R)) || ee[Z].slice(0, se);
1423
1423
  }, q = function(ge) {
@@ -1426,7 +1426,7 @@ function As() {
1426
1426
  var se = ge < 12 ? "AM" : "PM";
1427
1427
  return ee ? se.toLowerCase() : se;
1428
1428
  };
1429
- return R.replace(c, (function(ge, Z) {
1429
+ return R.replace(f, (function(ge, Z) {
1430
1430
  return Z || (function(ee) {
1431
1431
  switch (ee) {
1432
1432
  case "YY":
@@ -1494,10 +1494,10 @@ function As() {
1494
1494
  case d:
1495
1495
  R = ke();
1496
1496
  break;
1497
- case b:
1497
+ case g:
1498
1498
  R = ke() / 3;
1499
1499
  break;
1500
- case f:
1500
+ case m:
1501
1501
  R = (Te - ve) / 6048e5;
1502
1502
  break;
1503
1503
  case u:
@@ -1519,10 +1519,10 @@ function As() {
1519
1519
  }, S.daysInMonth = function() {
1520
1520
  return this.endOf(d).$D;
1521
1521
  }, S.$locale = function() {
1522
- return g[this.$L];
1522
+ return h[this.$L];
1523
1523
  }, S.locale = function(y, C) {
1524
1524
  if (!y) return this.$L;
1525
- var x = this.clone(), R = T(y, C, !0);
1525
+ var x = this.clone(), R = E(y, C, !0);
1526
1526
  return R && (x.$L = R), x;
1527
1527
  }, S.clone = function() {
1528
1528
  return N.w(this.$d, this);
@@ -1536,15 +1536,15 @@ function As() {
1536
1536
  return this.$d.toUTCString();
1537
1537
  }, _;
1538
1538
  })(), A = M.prototype;
1539
- return $.prototype = A, [["$ms", o], ["$s", s], ["$m", l], ["$H", i], ["$W", u], ["$M", d], ["$y", p], ["$D", E]].forEach((function(_) {
1539
+ return $.prototype = A, [["$ms", o], ["$s", s], ["$m", l], ["$H", i], ["$W", u], ["$M", d], ["$y", p], ["$D", T]].forEach((function(_) {
1540
1540
  A[_[1]] = function(S) {
1541
1541
  return this.$g(S, _[0], _[1]);
1542
1542
  };
1543
1543
  })), $.extend = function(_, S) {
1544
1544
  return _.$i || (_(S, M, $), _.$i = !0), $;
1545
- }, $.locale = T, $.isDayjs = Y, $.unix = function(_) {
1545
+ }, $.locale = E, $.isDayjs = Y, $.unix = function(_) {
1546
1546
  return $(1e3 * _);
1547
- }, $.en = g[w], $.Ls = g, $.p = {}, $;
1547
+ }, $.en = h[k], $.Ls = h, $.p = {}, $;
1548
1548
  }));
1549
1549
  })(Un)), Un.exports;
1550
1550
  }
@@ -1559,51 +1559,51 @@ function Is() {
1559
1559
  var t = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
1560
1560
  return function(o, s, l) {
1561
1561
  var i = s.prototype;
1562
- l.utc = function(v) {
1563
- var m = { date: v, utc: !0, args: arguments };
1564
- return new s(m);
1565
- }, i.utc = function(v) {
1566
- var m = l(this.toDate(), { locale: this.$L, utc: !0 });
1567
- return v ? m.add(this.utcOffset(), t) : m;
1562
+ l.utc = function(b) {
1563
+ var c = { date: b, utc: !0, args: arguments };
1564
+ return new s(c);
1565
+ }, i.utc = function(b) {
1566
+ var c = l(this.toDate(), { locale: this.$L, utc: !0 });
1567
+ return b ? c.add(this.utcOffset(), t) : c;
1568
1568
  }, i.local = function() {
1569
1569
  return l(this.toDate(), { locale: this.$L, utc: !1 });
1570
1570
  };
1571
1571
  var u = i.parse;
1572
- i.parse = function(v) {
1573
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
1572
+ i.parse = function(b) {
1573
+ b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
1574
1574
  };
1575
- var f = i.init;
1575
+ var m = i.init;
1576
1576
  i.init = function() {
1577
1577
  if (this.$u) {
1578
- var v = this.$d;
1579
- this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
1580
- } else f.call(this);
1578
+ var b = this.$d;
1579
+ this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
1580
+ } else m.call(this);
1581
1581
  };
1582
1582
  var d = i.utcOffset;
1583
- i.utcOffset = function(v, m) {
1584
- var c = this.$utils().u;
1585
- if (c(v)) return this.$u ? 0 : c(this.$offset) ? d.call(this) : this.$offset;
1586
- if (typeof v == "string" && (v = (function(w) {
1587
- w === void 0 && (w = "");
1588
- var g = w.match(a);
1589
- if (!g) return null;
1590
- var I = ("" + g[0]).match(r) || ["-", 0, 0], Y = I[0], T = 60 * +I[1] + +I[2];
1591
- return T === 0 ? 0 : Y === "+" ? T : -T;
1592
- })(v), v === null)) return this;
1593
- var h = Math.abs(v) <= 16 ? 60 * v : v;
1594
- if (h === 0) return this.utc(m);
1595
- var D = this.clone();
1596
- if (m) return D.$offset = h, D.$u = !1, D;
1583
+ i.utcOffset = function(b, c) {
1584
+ var f = this.$utils().u;
1585
+ if (f(b)) return this.$u ? 0 : f(this.$offset) ? d.call(this) : this.$offset;
1586
+ if (typeof b == "string" && (b = (function(k) {
1587
+ k === void 0 && (k = "");
1588
+ var h = k.match(a);
1589
+ if (!h) return null;
1590
+ var I = ("" + h[0]).match(r) || ["-", 0, 0], Y = I[0], E = 60 * +I[1] + +I[2];
1591
+ return E === 0 ? 0 : Y === "+" ? E : -E;
1592
+ })(b), b === null)) return this;
1593
+ var v = Math.abs(b) <= 16 ? 60 * b : b;
1594
+ if (v === 0) return this.utc(c);
1595
+ var w = this.clone();
1596
+ if (c) return w.$offset = v, w.$u = !1, w;
1597
1597
  var F = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1598
- return (D = this.local().add(h + F, t)).$offset = h, D.$x.$localOffset = F, D;
1598
+ return (w = this.local().add(v + F, t)).$offset = v, w.$x.$localOffset = F, w;
1599
1599
  };
1600
- var b = i.format;
1601
- i.format = function(v) {
1602
- var m = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1603
- return b.call(this, m);
1600
+ var g = i.format;
1601
+ i.format = function(b) {
1602
+ var c = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1603
+ return g.call(this, c);
1604
1604
  }, i.valueOf = function() {
1605
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1606
- return this.$d.valueOf() - 6e4 * v;
1605
+ var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1606
+ return this.$d.valueOf() - 6e4 * b;
1607
1607
  }, i.isUTC = function() {
1608
1608
  return !!this.$u;
1609
1609
  }, i.toISOString = function() {
@@ -1612,14 +1612,14 @@ function Is() {
1612
1612
  return this.toDate().toUTCString();
1613
1613
  };
1614
1614
  var p = i.toDate;
1615
- i.toDate = function(v) {
1616
- return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
1615
+ i.toDate = function(b) {
1616
+ return b === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
1617
1617
  };
1618
- var E = i.diff;
1619
- i.diff = function(v, m, c) {
1620
- if (v && this.$u === v.$u) return E.call(this, v, m, c);
1621
- var h = this.local(), D = l(v).local();
1622
- return E.call(h, D, m, c);
1618
+ var T = i.diff;
1619
+ i.diff = function(b, c, f) {
1620
+ if (b && this.$u === b.$u) return T.call(this, b, c, f);
1621
+ var v = this.local(), w = l(b).local();
1622
+ return T.call(v, w, c, f);
1623
1623
  };
1624
1624
  };
1625
1625
  }));
@@ -1633,73 +1633,73 @@ function Fs() {
1633
1633
  (function(t, a) {
1634
1634
  e.exports = a();
1635
1635
  })($s, (function() {
1636
- var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d/, o = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, i = {}, u = function(m) {
1637
- return (m = +m) + (m > 68 ? 1900 : 2e3);
1638
- }, f = function(m) {
1639
- return function(c) {
1640
- this[m] = +c;
1636
+ var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d/, o = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, i = {}, u = function(c) {
1637
+ return (c = +c) + (c > 68 ? 1900 : 2e3);
1638
+ }, m = function(c) {
1639
+ return function(f) {
1640
+ this[c] = +f;
1641
1641
  };
1642
- }, d = [/[+-]\d\d:?(\d\d)?|Z/, function(m) {
1643
- (this.zone || (this.zone = {})).offset = (function(c) {
1644
- if (!c || c === "Z") return 0;
1645
- var h = c.match(/([+-]|\d\d)/g), D = 60 * h[1] + (+h[2] || 0);
1646
- return D === 0 ? 0 : h[0] === "+" ? -D : D;
1647
- })(m);
1648
- }], b = function(m) {
1649
- var c = i[m];
1650
- return c && (c.indexOf ? c : c.s.concat(c.f));
1651
- }, p = function(m, c) {
1652
- var h, D = i.meridiem;
1653
- if (D) {
1654
- for (var F = 1; F <= 24; F += 1) if (m.indexOf(D(F, 0, c)) > -1) {
1655
- h = F > 12;
1642
+ }, d = [/[+-]\d\d:?(\d\d)?|Z/, function(c) {
1643
+ (this.zone || (this.zone = {})).offset = (function(f) {
1644
+ if (!f || f === "Z") return 0;
1645
+ var v = f.match(/([+-]|\d\d)/g), w = 60 * v[1] + (+v[2] || 0);
1646
+ return w === 0 ? 0 : v[0] === "+" ? -w : w;
1647
+ })(c);
1648
+ }], g = function(c) {
1649
+ var f = i[c];
1650
+ return f && (f.indexOf ? f : f.s.concat(f.f));
1651
+ }, p = function(c, f) {
1652
+ var v, w = i.meridiem;
1653
+ if (w) {
1654
+ for (var F = 1; F <= 24; F += 1) if (c.indexOf(w(F, 0, f)) > -1) {
1655
+ v = F > 12;
1656
1656
  break;
1657
1657
  }
1658
- } else h = m === (c ? "pm" : "PM");
1659
- return h;
1660
- }, E = { A: [l, function(m) {
1661
- this.afternoon = p(m, !1);
1662
- }], a: [l, function(m) {
1663
- this.afternoon = p(m, !0);
1664
- }], Q: [r, function(m) {
1665
- this.month = 3 * (m - 1) + 1;
1666
- }], S: [r, function(m) {
1667
- this.milliseconds = 100 * +m;
1668
- }], SS: [o, function(m) {
1669
- this.milliseconds = 10 * +m;
1670
- }], SSS: [/\d{3}/, function(m) {
1671
- this.milliseconds = +m;
1672
- }], s: [s, f("seconds")], ss: [s, f("seconds")], m: [s, f("minutes")], mm: [s, f("minutes")], H: [s, f("hours")], h: [s, f("hours")], HH: [s, f("hours")], hh: [s, f("hours")], D: [s, f("day")], DD: [o, f("day")], Do: [l, function(m) {
1673
- var c = i.ordinal, h = m.match(/\d+/);
1674
- if (this.day = h[0], c) for (var D = 1; D <= 31; D += 1) c(D).replace(/\[|\]/g, "") === m && (this.day = D);
1675
- }], w: [s, f("week")], ww: [o, f("week")], M: [s, f("month")], MM: [o, f("month")], MMM: [l, function(m) {
1676
- var c = b("months"), h = (b("monthsShort") || c.map((function(D) {
1677
- return D.slice(0, 3);
1678
- }))).indexOf(m) + 1;
1679
- if (h < 1) throw new Error();
1680
- this.month = h % 12 || h;
1681
- }], MMMM: [l, function(m) {
1682
- var c = b("months").indexOf(m) + 1;
1683
- if (c < 1) throw new Error();
1684
- this.month = c % 12 || c;
1685
- }], Y: [/[+-]?\d+/, f("year")], YY: [o, function(m) {
1686
- this.year = u(m);
1687
- }], YYYY: [/\d{4}/, f("year")], Z: d, ZZ: d };
1688
- function v(m) {
1689
- var c, h;
1690
- c = m, h = i && i.formats;
1691
- for (var D = (m = c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, N, M) {
1658
+ } else v = c === (f ? "pm" : "PM");
1659
+ return v;
1660
+ }, T = { A: [l, function(c) {
1661
+ this.afternoon = p(c, !1);
1662
+ }], a: [l, function(c) {
1663
+ this.afternoon = p(c, !0);
1664
+ }], Q: [r, function(c) {
1665
+ this.month = 3 * (c - 1) + 1;
1666
+ }], S: [r, function(c) {
1667
+ this.milliseconds = 100 * +c;
1668
+ }], SS: [o, function(c) {
1669
+ this.milliseconds = 10 * +c;
1670
+ }], SSS: [/\d{3}/, function(c) {
1671
+ this.milliseconds = +c;
1672
+ }], s: [s, m("seconds")], ss: [s, m("seconds")], m: [s, m("minutes")], mm: [s, m("minutes")], H: [s, m("hours")], h: [s, m("hours")], HH: [s, m("hours")], hh: [s, m("hours")], D: [s, m("day")], DD: [o, m("day")], Do: [l, function(c) {
1673
+ var f = i.ordinal, v = c.match(/\d+/);
1674
+ if (this.day = v[0], f) for (var w = 1; w <= 31; w += 1) f(w).replace(/\[|\]/g, "") === c && (this.day = w);
1675
+ }], w: [s, m("week")], ww: [o, m("week")], M: [s, m("month")], MM: [o, m("month")], MMM: [l, function(c) {
1676
+ var f = g("months"), v = (g("monthsShort") || f.map((function(w) {
1677
+ return w.slice(0, 3);
1678
+ }))).indexOf(c) + 1;
1679
+ if (v < 1) throw new Error();
1680
+ this.month = v % 12 || v;
1681
+ }], MMMM: [l, function(c) {
1682
+ var f = g("months").indexOf(c) + 1;
1683
+ if (f < 1) throw new Error();
1684
+ this.month = f % 12 || f;
1685
+ }], Y: [/[+-]?\d+/, m("year")], YY: [o, function(c) {
1686
+ this.year = u(c);
1687
+ }], YYYY: [/\d{4}/, m("year")], Z: d, ZZ: d };
1688
+ function b(c) {
1689
+ var f, v;
1690
+ f = c, v = i && i.formats;
1691
+ for (var w = (c = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, N, M) {
1692
1692
  var A = M && M.toUpperCase();
1693
- return N || h[M] || t[M] || h[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(_, S, y) {
1693
+ return N || v[M] || t[M] || v[A].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(_, S, y) {
1694
1694
  return S || y.slice(1);
1695
1695
  }));
1696
- }))).match(a), F = D.length, w = 0; w < F; w += 1) {
1697
- var g = D[w], I = E[g], Y = I && I[0], T = I && I[1];
1698
- D[w] = T ? { regex: Y, parser: T } : g.replace(/^\[|\]$/g, "");
1696
+ }))).match(a), F = w.length, k = 0; k < F; k += 1) {
1697
+ var h = w[k], I = T[h], Y = I && I[0], E = I && I[1];
1698
+ w[k] = E ? { regex: Y, parser: E } : h.replace(/^\[|\]$/g, "");
1699
1699
  }
1700
1700
  return function($) {
1701
1701
  for (var N = {}, M = 0, A = 0; M < F; M += 1) {
1702
- var _ = D[M];
1702
+ var _ = w[M];
1703
1703
  if (typeof _ == "string") A += _.length;
1704
1704
  else {
1705
1705
  var S = _.regex, y = _.parser, C = $.slice(A), x = S.exec(C)[0];
@@ -1715,36 +1715,36 @@ function Fs() {
1715
1715
  })(N), N;
1716
1716
  };
1717
1717
  }
1718
- return function(m, c, h) {
1719
- h.p.customParseFormat = !0, m && m.parseTwoDigitYear && (u = m.parseTwoDigitYear);
1720
- var D = c.prototype, F = D.parse;
1721
- D.parse = function(w) {
1722
- var g = w.date, I = w.utc, Y = w.args;
1718
+ return function(c, f, v) {
1719
+ v.p.customParseFormat = !0, c && c.parseTwoDigitYear && (u = c.parseTwoDigitYear);
1720
+ var w = f.prototype, F = w.parse;
1721
+ w.parse = function(k) {
1722
+ var h = k.date, I = k.utc, Y = k.args;
1723
1723
  this.$u = I;
1724
- var T = Y[1];
1725
- if (typeof T == "string") {
1724
+ var E = Y[1];
1725
+ if (typeof E == "string") {
1726
1726
  var $ = Y[2] === !0, N = Y[3] === !0, M = $ || N, A = Y[2];
1727
- N && (A = Y[2]), i = this.$locale(), !$ && A && (i = h.Ls[A]), this.$d = (function(C, x, R, j) {
1727
+ N && (A = Y[2]), i = this.$locale(), !$ && A && (i = v.Ls[A]), 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()), se = re || Z.getFullYear(), Ie = 0;
1730
+ var Q = b(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
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
- })(g, T, I, h), this.init(), A && A !== !0 && (this.$L = this.locale(A).$L), M && g != this.format(T) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
1738
- } else if (T instanceof Array) for (var _ = T.length, S = 1; S <= _; S += 1) {
1739
- Y[1] = T[S - 1];
1740
- var y = h.apply(this, Y);
1737
+ })(h, E, I, v), this.init(), A && A !== !0 && (this.$L = this.locale(A).$L), M && h != this.format(E) && (this.$d = /* @__PURE__ */ new Date("")), i = {};
1738
+ } else if (E instanceof Array) for (var _ = E.length, S = 1; S <= _; S += 1) {
1739
+ Y[1] = E[S - 1];
1740
+ var y = v.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
1745
  S === _ && (this.$d = /* @__PURE__ */ new Date(""));
1746
1746
  }
1747
- else F.call(this, w);
1747
+ else F.call(this, k);
1748
1748
  };
1749
1749
  };
1750
1750
  }));
@@ -1754,13 +1754,13 @@ var Os = Fs();
1754
1754
  const ir = /* @__PURE__ */ ao(Os);
1755
1755
  le.extend(sr);
1756
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", Ed = () => le().utc().toDate(), Bs = (e) => le(e).toDate(), Td = () => 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", Ad = (e = 0) => e === 0 ? le().startOf("day").utc().format(Xn) + At : le().add(e, "days").startOf("day").utc().format(Xn) + At, xd = (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, _d = () => le().utc().format("YYYY"), dn = (e, n = "", t = !1) => e === fa || e === da || e === "" || G(e) || k(e) ? n : le(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Id = (e, n = "", t = !1) => {
1758
- if (e === fa || e === da || e === "" || G(e) || k(e))
1757
+ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000000Z", fa = "2100-01-01T00:00:00.000000Z", Ed = () => le().utc().toDate(), Bs = (e) => le(e).toDate(), Td = () => 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", Ad = (e = 0) => e === 0 ? le().startOf("day").utc().format(Xn) + At : le().add(e, "days").startOf("day").utc().format(Xn) + At, xd = (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, _d = () => le().utc().format("YYYY"), dn = (e, n = "", t = !1) => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Id = (e, n = "", t = !1) => {
1758
+ if (e === fa || e === da || e === "" || G(e) || D(e))
1759
1759
  return n;
1760
1760
  let a = !0, r = !0;
1761
1761
  const o = le(e), s = le();
1762
1762
  return s.format("YYYY") === o.format("YYYY") && (a = !1), s.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
- }, Md = (e, n = "") => e === fa || e === da || e === "" || G(e) || k(e) ? n : le(e).format("DD.MM.YYYY"), $d = (e, n = "") => e === fa || e === da || e === "" || G(e) || k(e) ? n : le(e).format("HH:mm"), Fd = (e, n, t = "ms") => {
1763
+ }, Md = (e, n = "") => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format("DD.MM.YYYY"), $d = (e, n = "") => e === fa || e === da || e === "" || G(e) || D(e) ? n : le(e).format("HH:mm"), Fd = (e, n, t = "ms") => {
1764
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) => {
@@ -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 (k(o) || !(o in r)) return;
1852
+ if (D(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 s = r.shift();
1861
- if (k(s)) return;
1861
+ if (D(s)) return;
1862
1862
  s in o || (o[s] = {}), o = o[s];
1863
1863
  }
1864
1864
  o[r[0]] = t;
@@ -2039,90 +2039,90 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2039
2039
  r.value ? String(r.value.minutes).padStart(2, "0") : "00"
2040
2040
  ), l = Ot("hoursRefInput"), i = Ot("minutesRefInput"), u = U({
2041
2041
  get: () => o.value,
2042
- set: (w) => {
2043
- let g = String(w).replace(/[^0-9]/g, "");
2044
- if (g && parseInt(g) > 23) {
2042
+ set: (k) => {
2043
+ let h = String(k).replace(/[^0-9]/g, "");
2044
+ if (h && parseInt(h) > 23) {
2045
2045
  o.value = "23", Ye(() => i.value?.focus());
2046
2046
  return;
2047
2047
  }
2048
- g.length > 2 && (g = g.slice(0, 2)), o.value = g, g.length === 2 && Ye(() => i.value?.focus());
2048
+ h.length > 2 && (h = h.slice(0, 2)), o.value = h, h.length === 2 && Ye(() => i.value?.focus());
2049
2049
  }
2050
- }), f = U({
2050
+ }), m = U({
2051
2051
  get: () => s.value,
2052
- set: (w) => {
2053
- let g = String(w).replace(/[^0-9]/g, "");
2054
- if (g && parseInt(g) > 59) {
2052
+ set: (k) => {
2053
+ let h = String(k).replace(/[^0-9]/g, "");
2054
+ if (h && parseInt(h) > 59) {
2055
2055
  s.value = "59", a("focusConfirm");
2056
2056
  return;
2057
2057
  }
2058
- g.length > 2 && (g = g.slice(0, 2)), s.value = g, g.length === 2 && a("focusConfirm");
2058
+ h.length > 2 && (h = h.slice(0, 2)), s.value = h, h.length === 2 && a("focusConfirm");
2059
2059
  }
2060
- }), d = async (w) => {
2061
- const g = w.target;
2062
- await Ye(), g?.select();
2063
- }, b = () => {
2064
- const w = parseInt(o.value || "0");
2065
- o.value = w >= 0 && w <= 23 ? String(w).padStart(2, "0") : "00";
2060
+ }), d = async (k) => {
2061
+ const h = k.target;
2062
+ await Ye(), h?.select();
2063
+ }, g = () => {
2064
+ const k = parseInt(o.value || "0");
2065
+ o.value = k >= 0 && k <= 23 ? String(k).padStart(2, "0") : "00";
2066
2066
  }, p = () => {
2067
- const w = parseInt(s.value || "0");
2068
- s.value = w >= 0 && w <= 59 ? String(w).padStart(2, "0") : "00";
2069
- }, E = () => {
2070
- b(), a("onEnterKeyup");
2071
- }, v = () => {
2067
+ const k = parseInt(s.value || "0");
2068
+ s.value = k >= 0 && k <= 59 ? String(k).padStart(2, "0") : "00";
2069
+ }, T = () => {
2070
+ g(), a("onEnterKeyup");
2071
+ }, b = () => {
2072
2072
  p(), a("onEnterKeyup");
2073
- }, m = () => {
2074
- const w = parseInt(o.value || "0"), g = isNaN(w) ? 1 : (w + 1) % 24;
2075
- o.value = String(g).padStart(2, "0");
2076
2073
  }, c = () => {
2077
- const w = parseInt(o.value || "0"), g = isNaN(w) ? 23 : (w - 1 + 24) % 24;
2078
- o.value = String(g).padStart(2, "0");
2079
- }, h = () => {
2080
- const w = parseInt(s.value || "0"), g = parseInt(o.value || "0");
2081
- if (isNaN(w)) {
2074
+ const k = parseInt(o.value || "0"), h = isNaN(k) ? 1 : (k + 1) % 24;
2075
+ o.value = String(h).padStart(2, "0");
2076
+ }, f = () => {
2077
+ const k = parseInt(o.value || "0"), h = isNaN(k) ? 23 : (k - 1 + 24) % 24;
2078
+ o.value = String(h).padStart(2, "0");
2079
+ }, v = () => {
2080
+ const k = parseInt(s.value || "0"), h = parseInt(o.value || "0");
2081
+ if (isNaN(k)) {
2082
2082
  s.value = "01";
2083
2083
  return;
2084
2084
  }
2085
- if (w === 59) {
2085
+ if (k === 59) {
2086
2086
  s.value = "00";
2087
- const I = isNaN(g) ? 1 : (g + 1) % 24;
2087
+ const I = isNaN(h) ? 1 : (h + 1) % 24;
2088
2088
  o.value = String(I).padStart(2, "0");
2089
2089
  } else {
2090
- const I = w + 1;
2090
+ const I = k + 1;
2091
2091
  s.value = String(I).padStart(2, "0");
2092
2092
  }
2093
- }, D = () => {
2094
- const w = parseInt(s.value || "0"), g = parseInt(o.value || "0");
2095
- if (isNaN(w)) {
2093
+ }, w = () => {
2094
+ const k = parseInt(s.value || "0"), h = parseInt(o.value || "0");
2095
+ if (isNaN(k)) {
2096
2096
  s.value = "59";
2097
2097
  return;
2098
2098
  }
2099
- if (w === 0) {
2099
+ if (k === 0) {
2100
2100
  s.value = "59";
2101
- const I = isNaN(g) ? 23 : (g - 1 + 24) % 24;
2101
+ const I = isNaN(h) ? 23 : (h - 1 + 24) % 24;
2102
2102
  o.value = String(I).padStart(2, "0");
2103
2103
  } else {
2104
- const I = w - 1;
2104
+ const I = k - 1;
2105
2105
  s.value = String(I).padStart(2, "0");
2106
2106
  }
2107
2107
  }, F = () => {
2108
2108
  l.value?.focus();
2109
2109
  };
2110
- return Ae([o, s], ([w, g], [I, Y]) => {
2111
- if (w === I && g === Y) return;
2112
- const T = parseInt(
2113
- w ?? (r.value ? r.value.hours.toString() : "12")
2110
+ return Ae([o, s], ([k, h], [I, Y]) => {
2111
+ if (k === I && h === Y) return;
2112
+ const E = parseInt(
2113
+ k ?? (r.value ? r.value.hours.toString() : "12")
2114
2114
  ), $ = parseInt(
2115
- g ?? (r.value ? r.value.minutes.toString() : "0")
2115
+ h ?? (r.value ? r.value.minutes.toString() : "0")
2116
2116
  );
2117
- T >= 0 && T <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: T, minutes: $ });
2117
+ E >= 0 && E <= 23 && $ >= 0 && $ <= 59 && (r.value = { hours: E, minutes: $ });
2118
2118
  }), n({
2119
2119
  focusHour: F
2120
- }), (w, g) => (P(), de("div", fi, [
2120
+ }), (k, h) => (P(), de("div", fi, [
2121
2121
  Ee("div", mi, [
2122
2122
  Sn(Ee("input", {
2123
2123
  ref_key: "hoursRefInput",
2124
2124
  ref: l,
2125
- "onUpdate:modelValue": g[0] || (g[0] = (I) => u.value = I),
2125
+ "onUpdate:modelValue": h[0] || (h[0] = (I) => u.value = I),
2126
2126
  class: "a-datetime-picker-time__input a-datetime-picker-time__input--hours",
2127
2127
  type: "text",
2128
2128
  "aria-label": "Hour",
@@ -2130,8 +2130,8 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2130
2130
  min: "0",
2131
2131
  max: "23",
2132
2132
  onFocus: d,
2133
- onBlur: b,
2134
- onKeyup: Fa(E, ["enter"])
2133
+ onBlur: g,
2134
+ onKeyup: Fa(T, ["enter"])
2135
2135
  }, null, 544), [
2136
2136
  [mo, u.value]
2137
2137
  ]),
@@ -2140,7 +2140,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2140
2140
  tabindex: "-1",
2141
2141
  variant: "text",
2142
2142
  class: "a-datetime-picker-time__arrow-up",
2143
- onClick: m
2143
+ onClick: c
2144
2144
  }, {
2145
2145
  default: B(() => [
2146
2146
  O(Be, { icon: "mdi-chevron-up" })
@@ -2151,7 +2151,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2151
2151
  tabindex: "-1",
2152
2152
  variant: "text",
2153
2153
  class: "a-datetime-picker-time__arrow-down",
2154
- onClick: c
2154
+ onClick: f
2155
2155
  }, {
2156
2156
  default: B(() => [
2157
2157
  O(Be, { icon: "mdi-chevron-down" })
@@ -2160,12 +2160,12 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2160
2160
  })
2161
2161
  ])
2162
2162
  ]),
2163
- g[2] || (g[2] = Ee("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
2163
+ h[2] || (h[2] = Ee("span", { class: "a-datetime-picker-time__separator" }, ":", -1)),
2164
2164
  Ee("div", pi, [
2165
2165
  Sn(Ee("input", {
2166
2166
  ref_key: "minutesRefInput",
2167
2167
  ref: i,
2168
- "onUpdate:modelValue": g[1] || (g[1] = (I) => f.value = I),
2168
+ "onUpdate:modelValue": h[1] || (h[1] = (I) => m.value = I),
2169
2169
  class: "a-datetime-picker-time__input a-datetime-picker-time__input--minutes",
2170
2170
  type: "text",
2171
2171
  "aria-label": "Minute",
@@ -2174,16 +2174,16 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2174
2174
  max: "59",
2175
2175
  onFocus: d,
2176
2176
  onBlur: p,
2177
- onKeyup: Fa(v, ["enter"])
2177
+ onKeyup: Fa(b, ["enter"])
2178
2178
  }, null, 544), [
2179
- [mo, f.value]
2179
+ [mo, m.value]
2180
2180
  ]),
2181
2181
  Ee("div", hi, [
2182
2182
  O(Ne, {
2183
2183
  tabindex: "-1",
2184
2184
  variant: "text",
2185
2185
  class: "a-datetime-picker-time__arrow-up",
2186
- onClick: h
2186
+ onClick: v
2187
2187
  }, {
2188
2188
  default: B(() => [
2189
2189
  O(Be, { icon: "mdi-chevron-up" })
@@ -2194,7 +2194,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2194
2194
  tabindex: "-1",
2195
2195
  variant: "text",
2196
2196
  class: "a-datetime-picker-time__arrow-down",
2197
- onClick: D
2197
+ onClick: w
2198
2198
  }, {
2199
2199
  default: B(() => [
2200
2200
  O(Be, { icon: "mdi-chevron-down" })
@@ -2230,20 +2230,20 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2230
2230
  setup(e, { emit: n }) {
2231
2231
  const t = e, a = n;
2232
2232
  le.extend(sr), le.extend(ir);
2233
- const r = L(!1), o = L(0), s = L(0), l = Ot("timePickerInstance"), i = Ot("inputInstance"), u = Ot("confirmRefButton"), f = L(""), d = L(null), b = L(null), p = L(null), { t: E } = Re(), v = U(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: m } = oo(), c = U(() => ({
2233
+ const r = L(!1), o = L(0), s = L(0), l = Ot("timePickerInstance"), i = Ot("inputInstance"), u = Ot("confirmRefButton"), m = L(""), d = L(null), g = L(null), p = L(null), { t: T } = Re(), b = U(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: c } = oo(), f = U(() => ({
2234
2234
  textFieldValue: {
2235
- required: m(t.required)
2235
+ required: c(t.required)
2236
2236
  }
2237
- })), h = Gn(c, { textFieldValue: f }), D = U(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), F = (C) => {
2237
+ })), v = Gn(f, { textFieldValue: m }), w = U(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), F = (C) => {
2238
2238
  C !== t.modelValue && a("update:modelValue", C);
2239
- }, w = (C) => {
2240
- G(C) || ((G(b.value) || C.hour() !== b.value.hours || C.minute() !== b.value.minutes) && (b.value = { hours: C.hour(), minutes: C.minute() }), (G(d.value) || C.year() !== d.value.getFullYear() || C.month() !== d.value.getMonth() || C.date() !== d.value.getDate()) && (d.value = C.toDate()));
2239
+ }, k = (C) => {
2240
+ G(C) || ((G(g.value) || C.hour() !== g.value.hours || C.minute() !== g.value.minutes) && (g.value = { hours: C.hour(), minutes: C.minute() }), (G(d.value) || C.year() !== d.value.getFullYear() || C.month() !== d.value.getMonth() || C.date() !== d.value.getDate()) && (d.value = C.toDate()));
2241
2241
  };
2242
2242
  Ae(
2243
2243
  () => t.modelValue,
2244
2244
  (C, x) => {
2245
2245
  if (C !== x) {
2246
- if (G(C) || k(C)) {
2246
+ if (G(C) || D(C)) {
2247
2247
  p.value = null;
2248
2248
  return;
2249
2249
  }
@@ -2252,34 +2252,34 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2252
2252
  },
2253
2253
  { immediate: !0 }
2254
2254
  );
2255
- const g = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()), I = (C, x) => G(C) ? x : x.set("hour", C.hours).set("minute", C.minutes);
2256
- Ae([b, d], ([C, x]) => {
2255
+ const h = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()), I = (C, x) => G(C) ? x : x.set("hour", C.hours).set("minute", C.minutes);
2256
+ Ae([g, d], ([C, x]) => {
2257
2257
  let R = null;
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 = I(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 = I(C, R), R = h(x, R), !R.isSame(aa(p.value)) && (p.value = R);
2259
2259
  }), Ae(
2260
2260
  p,
2261
2261
  (C) => {
2262
2262
  if (G(C)) {
2263
- f.value = "", F(null);
2263
+ m.value = "", F(null);
2264
2264
  return;
2265
2265
  }
2266
2266
  const x = C.utc().format("YYYY-MM-DDTHH:mm:ss") + At;
2267
- f.value = C.format(D.value), w(C), F(x);
2267
+ m.value = C.format(w.value), k(C), F(x);
2268
2268
  },
2269
2269
  { immediate: !0 }
2270
2270
  ), Ae(r, (C) => {
2271
2271
  if (C) {
2272
- T(), G(p.value) && (G(t.defaultValue) || k(t.defaultValue)) && (t.lastMinuteMoment ? p.value = le().second(59).millisecond(999) : p.value = le().second(0).millisecond(0)), Ye(() => {
2272
+ E(), G(p.value) && (G(t.defaultValue) || D(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;
2276
2276
  }
2277
2277
  a("onClose");
2278
2278
  });
2279
- const Y = U(() => he(t.errorMessages) ? t.errorMessages : h.value.textFieldValue.$errors.length ? [h.value.textFieldValue.$errors.map((C) => C.$message).join(" ")] : []), T = () => {
2280
- const C = f.value.replace(/[^\s\d.:]/g, "").trim();
2279
+ const Y = U(() => he(t.errorMessages) ? t.errorMessages : v.value.textFieldValue.$errors.length ? [v.value.textFieldValue.$errors.map((C) => C.$message).join(" ")] : []), E = () => {
2280
+ const C = m.value.replace(/[^\s\d.:]/g, "").trim();
2281
2281
  if (C.length === 0 && !t.required) {
2282
- !G(t.defaultValue) && !k(t.defaultValue) ? p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : p.value = null, a("blur");
2282
+ !G(t.defaultValue) && !D(t.defaultValue) ? p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : p.value = null, a("blur");
2283
2283
  return;
2284
2284
  }
2285
2285
  const x = le(C, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
@@ -2289,13 +2289,13 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2289
2289
  const j = le(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2290
2290
  j.isValid() && (R = j.second());
2291
2291
  }
2292
- p.value = x.second(R), h.value.textFieldValue.$touch(), a("blur");
2292
+ p.value = x.second(R), v.value.textFieldValue.$touch(), a("blur");
2293
2293
  return;
2294
2294
  }
2295
- G(p.value) || (f.value = p.value.format(D.value)), h.value.textFieldValue.$touch(), a("blur");
2295
+ G(p.value) || (m.value = p.value.format(w.value)), v.value.textFieldValue.$touch(), a("blur");
2296
2296
  }, $ = () => {
2297
- if (G(t.defaultValue) || k(t.defaultValue)) {
2298
- p.value = null, d.value = null, b.value = null, a("afterClear");
2297
+ if (G(t.defaultValue) || D(t.defaultValue)) {
2298
+ p.value = null, d.value = null, g.value = null, a("afterClear");
2299
2299
  return;
2300
2300
  }
2301
2301
  p.value = le(t.defaultValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"), a("afterClear");
@@ -2317,18 +2317,18 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2317
2317
  return (C, x) => (P(), X(ia, {
2318
2318
  ref_key: "inputInstance",
2319
2319
  ref: i,
2320
- modelValue: f.value,
2321
- "onUpdate:modelValue": x[3] || (x[3] = (R) => f.value = R),
2320
+ modelValue: m.value,
2321
+ "onUpdate:modelValue": x[3] || (x[3] = (R) => m.value = R),
2322
2322
  "error-messages": Y.value,
2323
2323
  "persistent-placeholder": !0,
2324
- placeholder: v.value,
2324
+ placeholder: b.value,
2325
2325
  class: "a-datetime-picker",
2326
2326
  "hide-details": "auto",
2327
2327
  disabled: e.disabled,
2328
2328
  autocomplete: "off",
2329
- onBlur: T,
2329
+ onBlur: E,
2330
2330
  onFocus: M,
2331
- onKeyup: Fa(T, ["enter"])
2331
+ onKeyup: Fa(E, ["enter"])
2332
2332
  }, Pt({
2333
2333
  "append-inner": B(() => [
2334
2334
  e.clearable && e.defaultValue !== e.modelValue ? (P(), X(Be, {
@@ -2371,7 +2371,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2371
2371
  ]),
2372
2372
  _: 1
2373
2373
  })), [
2374
- [Zo, H(E)("common.button.close")]
2374
+ [Zo, H(T)("common.button.close")]
2375
2375
  ]),
2376
2376
  (P(), X(dl, it({
2377
2377
  key: o.value,
@@ -2385,8 +2385,8 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2385
2385
  ref_key: "timePickerInstance",
2386
2386
  ref: l,
2387
2387
  key: s.value,
2388
- modelValue: b.value,
2389
- "onUpdate:modelValue": x[1] || (x[1] = (R) => b.value = R),
2388
+ modelValue: g.value,
2389
+ "onUpdate:modelValue": x[1] || (x[1] = (R) => g.value = R),
2390
2390
  onOnEnterKeyup: A,
2391
2391
  onFocusConfirm: _
2392
2392
  }, null, 8, ["modelValue"])),
@@ -2396,7 +2396,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2396
2396
  class: "a-datetime-picker__bottom-button",
2397
2397
  tabindex: "8",
2398
2398
  onClick: y
2399
- }, fe(H(E)("common.time.now")), 1),
2399
+ }, fe(H(T)("common.time.now")), 1),
2400
2400
  Ee("button", {
2401
2401
  ref_key: "confirmRefButton",
2402
2402
  ref: u,
@@ -2404,7 +2404,7 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2404
2404
  class: "a-datetime-picker__bottom-button",
2405
2405
  tabindex: "7",
2406
2406
  onClick: ye(N, ["stop"])
2407
- }, fe(H(E)("common.button.confirm")), 513)
2407
+ }, fe(H(T)("common.button.confirm")), 513)
2408
2408
  ])
2409
2409
  ]),
2410
2410
  _: 1
@@ -2455,8 +2455,8 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2455
2455
  }), i = L(() => {
2456
2456
  }), u = L(null);
2457
2457
  if (o.value.enabled && he(t.collab)) {
2458
- const { releaseCollabFieldLock: I, changeCollabFieldData: Y, acquireCollabFieldLock: T, lockedByUser: $ } = ca(t.collab.room, t.collab.field);
2459
- s.value = I, l.value = Y, i.value = T, Ae(
2458
+ const { releaseCollabFieldLock: I, changeCollabFieldData: Y, acquireCollabFieldLock: E, lockedByUser: $ } = ca(t.collab.room, t.collab.field);
2459
+ s.value = I, l.value = Y, i.value = E, Ae(
2460
2460
  $,
2461
2461
  (N) => {
2462
2462
  u.value = N;
@@ -2464,35 +2464,35 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2464
2464
  { immediate: !0 }
2465
2465
  );
2466
2466
  }
2467
- const f = L(!1), d = L(!1), b = () => {
2468
- f.value = !0, i.value();
2467
+ const m = L(!1), d = L(!1), g = () => {
2468
+ m.value = !0, i.value();
2469
2469
  }, p = () => {
2470
- s.value(t.modelValue), f.value = !0;
2471
- }, { t: E } = Re(), v = J(Xa, void 0), m = J(Za, void 0), c = () => {
2472
- d.value = !1, a("blur", k(t.modelValue) ? null : t.modelValue), t.v?.$touch(), f.value === !1 && s.value(t.modelValue);
2473
- }, h = () => {
2470
+ s.value(t.modelValue), m.value = !0;
2471
+ }, { t: T } = Re(), b = J(Xa, void 0), c = J(Za, void 0), f = () => {
2472
+ d.value = !1, a("blur", D(t.modelValue) ? null : t.modelValue), t.v?.$touch(), m.value === !1 && s.value(t.modelValue);
2473
+ }, v = () => {
2474
2474
  d.value = !0, a("focus", t.modelValue), i.value();
2475
- }, D = U(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((I) => I.$message).join(" ")] : []), F = U(() => {
2475
+ }, w = U(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((I) => I.$message).join(" ")] : []), F = U(() => {
2476
2476
  if (he(t.label)) return t.label;
2477
- if (k(v) || k(m) || k(t.v?.$path)) return "";
2477
+ if (D(b) || D(c) || D(t.v?.$path)) return "";
2478
2478
  const { end: I } = wn(t.v?.$path, ".");
2479
- return E(v + "." + m + ".model." + I);
2480
- }), w = U(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), g = U(() => he(t.disabled) ? t.disabled : !!u.value);
2479
+ return T(b + "." + c + ".model." + I);
2480
+ }), k = U(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), h = U(() => he(t.disabled) ? t.disabled : !!u.value);
2481
2481
  return Ae(r, (I, Y) => {
2482
- I !== Y && o.value.enabled && (d.value || f.value) && l.value(I);
2482
+ I !== Y && o.value.enabled && (d.value || m.value) && l.value(I);
2483
2483
  }), (I, Y) => (P(), X(dr, it({
2484
2484
  modelValue: r.value,
2485
- "onUpdate:modelValue": Y[0] || (Y[0] = (T) => r.value = T),
2485
+ "onUpdate:modelValue": Y[0] || (Y[0] = (E) => r.value = E),
2486
2486
  "data-cy": e.dataCy,
2487
- "error-messages": D.value,
2488
- required: w.value,
2489
- disabled: g.value,
2487
+ "error-messages": w.value,
2488
+ required: k.value,
2489
+ disabled: h.value,
2490
2490
  label: F.value,
2491
2491
  clearable: e.clearable
2492
2492
  }, I.$attrs, {
2493
- onBlur: c,
2494
- onFocus: h,
2495
- onOnOpen: b,
2493
+ onBlur: f,
2494
+ onFocus: v,
2495
+ onOnOpen: g,
2496
2496
  onOnClose: p
2497
2497
  }), {
2498
2498
  "append-inner": B(() => [
@@ -2523,14 +2523,14 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2523
2523
  }), s = L(() => {
2524
2524
  }), l = L(null);
2525
2525
  if (r.value.enabled && he(t.collab)) {
2526
- const { releaseCollabFieldLock: p, acquireCollabFieldLock: E, lockedByUser: v } = ca(
2526
+ const { releaseCollabFieldLock: p, acquireCollabFieldLock: T, lockedByUser: b } = ca(
2527
2527
  t.collab.room,
2528
2528
  t.collab.field
2529
2529
  );
2530
- o.value = p, s.value = E, Ae(
2531
- v,
2532
- (m) => {
2533
- l.value = m;
2530
+ o.value = p, s.value = T, Ae(
2531
+ b,
2532
+ (c) => {
2533
+ l.value = c;
2534
2534
  },
2535
2535
  { immediate: !0 }
2536
2536
  );
@@ -2541,18 +2541,18 @@ const fi = { class: "a-datetime-picker-time" }, mi = { class: "a-datetime-picker
2541
2541
  }, 500);
2542
2542
  }, u = (p) => {
2543
2543
  a("update:modelValue", p);
2544
- }, f = () => {
2544
+ }, m = () => {
2545
2545
  a("blur", t.modelValue), o.value(t.modelValue);
2546
2546
  }, d = () => {
2547
2547
  a("focus", t.modelValue), s.value();
2548
- }, b = U(() => he(t.disabled) ? t.disabled : !!l.value);
2549
- return (p, E) => (P(), X(vl, {
2548
+ }, g = U(() => he(t.disabled) ? t.disabled : !!l.value);
2549
+ return (p, T) => (P(), X(vl, {
2550
2550
  "data-cy": e.dataCy,
2551
2551
  "model-value": e.modelValue,
2552
- disabled: b.value,
2553
- onBlur: f,
2552
+ disabled: g.value,
2553
+ onBlur: m,
2554
2554
  onFocus: d,
2555
- "onUpdate:modelValue": E[0] || (E[0] = (v) => u(v)),
2555
+ "onUpdate:modelValue": T[0] || (T[0] = (b) => u(b)),
2556
2556
  onClick: ye(i, ["stop"])
2557
2557
  }, Pt({ _: 2 }, [
2558
2558
  e.hideLabel ? void 0 : {
@@ -2646,7 +2646,7 @@ function Ti(e, n, t) {
2646
2646
  };
2647
2647
  }
2648
2648
  function ht(e, n) {
2649
- return k(e) ? n : e;
2649
+ return D(e) ? n : e;
2650
2650
  }
2651
2651
  function ct() {
2652
2652
  const e = (o, s, l) => {
@@ -2656,21 +2656,21 @@ function ct() {
2656
2656
  e(l, o, s);
2657
2657
  }, t = (o, s, l, i, u) => {
2658
2658
  if (!r(o, i)) return;
2659
- const f = i.fields[o], d = u.value.get(o);
2659
+ const m = i.fields[o], d = u.value.get(o);
2660
2660
  if (d && d.length === 1)
2661
2661
  u.value.delete(o);
2662
2662
  else if (d) {
2663
- const b = d.findIndex((p) => p.value === s);
2664
- d.splice(b, 1);
2663
+ const g = d.findIndex((p) => p.value === s);
2664
+ d.splice(g, 1);
2665
2665
  }
2666
- if (f.type === "timeInterval" && f.related)
2667
- l[o] = f.default, l[f.related] = i.fields[f.related].default;
2666
+ if (m.type === "timeInterval" && m.related)
2667
+ l[o] = m.default, l[m.related] = i.fields[m.related].default;
2668
2668
  else if (ue(l[o]) && l[o].length > 0) {
2669
- const b = l[o].findIndex(
2670
- (E) => E === s
2669
+ const g = l[o].findIndex(
2670
+ (T) => T === s
2671
2671
  ), p = [...aa(l[o])];
2672
- p.splice(b, 1), l[o] = p;
2673
- } else (Oe(l[o]) || Gt(l[o]) || Je(l[o])) && (l[o] = f.default);
2672
+ p.splice(g, 1), l[o] = p;
2673
+ } else (Oe(l[o]) || Gt(l[o]) || Je(l[o])) && (l[o] = m.default);
2674
2674
  }, a = (o, s, l) => {
2675
2675
  for (const i of l.value.keys())
2676
2676
  r(i, s) && l.value.delete(i);
@@ -2695,104 +2695,104 @@ function fr(e, n, t = {}) {
2695
2695
  let o;
2696
2696
  Oe(a.storeFiltersLocalStorage) ? o = a.storeFiltersLocalStorage : Je(a.storeFiltersLocalStorage) && a.storeFiltersLocalStorage === !0 && Oe(n.general.system) && Oe(n.general.subject) && (o = "tableFilter_" + n.general.system + "_" + n.general.subject);
2697
2697
  const s = () => {
2698
- const c = {};
2699
- for (const h in e)
2698
+ const f = {};
2699
+ for (const v in e)
2700
2700
  try {
2701
- const D = h, F = e[D];
2702
- !k(F) && !G(F) && !Oa(F) && F !== n.fields[D].default && (c[h] = F);
2701
+ const w = v, F = e[w];
2702
+ !D(F) && !G(F) && !Oa(F) && F !== n.fields[w].default && (f[v] = F);
2703
2703
  } catch {
2704
2704
  }
2705
- return c;
2706
- }, l = (c, h, D) => {
2705
+ return f;
2706
+ }, l = (f, v, w) => {
2707
2707
  const F = new URLSearchParams();
2708
- for (const w in c) {
2709
- const g = c[w];
2710
- k(g) || G(g) || ue(g) && Oa(g) || En(g) && pn(g) || Oe(g) && g.length === 0 || (ue(g) ? F.set(w, g.join(",")) : F.set(w, String(g)));
2708
+ for (const k in f) {
2709
+ const h = f[k];
2710
+ D(h) || G(h) || ue(h) && Oa(h) || En(h) && pn(h) || Oe(h) && h.length === 0 || (ue(h) ? F.set(k, h.join(",")) : F.set(k, String(h)));
2711
2711
  }
2712
- return D && h.value.sortBy && F.set(wa, `${h.value.sortBy.key},${h.value.sortBy.order}`), F.size === 0 ? "" : F.toString() + r;
2713
- }, i = (c) => {
2714
- if (!c) return null;
2715
- if (c.startsWith("#") && (c = c.substring(1)), c.endsWith(r))
2716
- c = c.slice(0, -1);
2712
+ return w && v.value.sortBy && F.set(wa, `${v.value.sortBy.key},${v.value.sortBy.order}`), F.size === 0 ? "" : F.toString() + r;
2713
+ }, i = (f) => {
2714
+ if (!f) return null;
2715
+ if (f.startsWith("#") && (f = f.substring(1)), f.endsWith(r))
2716
+ f = f.slice(0, -1);
2717
2717
  else {
2718
- const g = c.lastIndexOf("&");
2719
- if (g !== -1)
2720
- c = c.substring(0, g);
2718
+ const h = f.lastIndexOf("&");
2719
+ if (h !== -1)
2720
+ f = f.substring(0, h);
2721
2721
  else
2722
2722
  return null;
2723
2723
  }
2724
- const h = new URLSearchParams(c), D = {};
2724
+ const v = new URLSearchParams(f), w = {};
2725
2725
  let F = null;
2726
- const w = h.get(wa);
2727
- if (w) {
2728
- const [g, I] = w.split(",");
2729
- g && (I === Ct.Asc || I === Ct.Desc) && (F = { key: g, order: I }), h.delete(wa);
2726
+ const k = v.get(wa);
2727
+ if (k) {
2728
+ const [h, I] = k.split(",");
2729
+ h && (I === Ct.Asc || I === Ct.Desc) && (F = { key: h, order: I }), v.delete(wa);
2730
2730
  }
2731
- for (const [g, I] of h.entries()) {
2732
- const Y = n.fields[g];
2733
- if (k(Y)) {
2734
- console.error(`Filter config not found for ${g}`);
2731
+ for (const [h, I] of v.entries()) {
2732
+ const Y = n.fields[h];
2733
+ if (D(Y)) {
2734
+ console.error(`Filter config not found for ${h}`);
2735
2735
  continue;
2736
2736
  }
2737
2737
  if (Y.multiple ?? !1) {
2738
2738
  const $ = I.split(","), N = $.every((M) => !isNaN(Number(M)));
2739
- D[g] = N ? $.map(Number) : $;
2739
+ w[h] = N ? $.map(Number) : $;
2740
2740
  } else
2741
- D[g] = I;
2741
+ w[h] = I;
2742
2742
  }
2743
- return { filters: D, sortBy: F };
2744
- }, u = (c) => {
2745
- a.populateUrlParams !== !1 && (window.location.hash = c);
2746
- }, f = () => {
2743
+ return { filters: w, sortBy: F };
2744
+ }, u = (f) => {
2745
+ a.populateUrlParams !== !1 && (window.location.hash = f);
2746
+ }, m = () => {
2747
2747
  a.populateUrlParams !== !1 && (window.location.hash = "");
2748
- }, d = () => a.populateUrlParams === !1 ? null : i(window.location.hash), b = (c) => {
2749
- !o || !localStorage || localStorage.setItem(o, c);
2748
+ }, d = () => a.populateUrlParams === !1 ? null : i(window.location.hash), g = (f) => {
2749
+ !o || !localStorage || localStorage.setItem(o, f);
2750
2750
  }, p = () => {
2751
2751
  if (!o || !localStorage) return null;
2752
- const c = localStorage.getItem(o);
2753
- return !c || !Oe(c) ? null : i(c);
2752
+ const f = localStorage.getItem(o);
2753
+ return !f || !Oe(f) ? null : i(f);
2754
2754
  };
2755
2755
  return {
2756
- loadStoredFilters: (c, h) => {
2757
- const { consumeStoredPage: D } = Di();
2758
- let F = "hash", w = d();
2759
- if (G(w) && (F = "localStorage", w = p()), G(w) || pn(w.filters) && pn(w.sortBy)) {
2760
- const I = D();
2761
- return I !== null && (c.value = { ...c.value, page: I }), h && h(), !1;
2756
+ loadStoredFilters: (f, v) => {
2757
+ const { consumeStoredPage: w } = Di();
2758
+ let F = "hash", k = d();
2759
+ if (G(k) && (F = "localStorage", k = p()), G(k) || pn(k.filters) && pn(k.sortBy)) {
2760
+ const I = w();
2761
+ return I !== null && (f.value = { ...f.value, page: I }), v && v(), !1;
2762
2762
  }
2763
2763
  for (const I in e) {
2764
2764
  const Y = I;
2765
- let T = w.filters[Y];
2766
- if (!k(T)) {
2767
- if (Oe(T)) {
2768
- const $ = er(T);
2765
+ let E = k.filters[Y];
2766
+ if (!D(E)) {
2767
+ if (Oe(E)) {
2768
+ const $ = er(E);
2769
2769
  if (!G($))
2770
- T = $;
2770
+ E = $;
2771
2771
  else {
2772
- const N = tr(T);
2773
- G(N) || (T = N);
2772
+ const N = tr(E);
2773
+ G(N) || (E = N);
2774
2774
  }
2775
2775
  }
2776
- e[Y] = T;
2776
+ e[Y] = E;
2777
2777
  }
2778
2778
  }
2779
2779
  if (F === "localStorage" && o && localStorage) {
2780
2780
  const I = localStorage.getItem(o);
2781
2781
  I && u(I);
2782
2782
  }
2783
- const g = D();
2784
- return c.value = {
2785
- ...c.value,
2786
- sortBy: w.sortBy,
2787
- ...g !== null ? { page: g } : {}
2788
- }, h && h(), !0;
2783
+ const h = w();
2784
+ return f.value = {
2785
+ ...f.value,
2786
+ sortBy: k.sortBy,
2787
+ ...h !== null ? { page: h } : {}
2788
+ }, v && v(), !0;
2789
2789
  },
2790
- resetFilter: (c, h) => {
2791
- c.value = { ...c.value, page: 1 }, o && localStorage && localStorage.removeItem(o), f(), n.touched = !1, h && h();
2790
+ resetFilter: (f, v) => {
2791
+ f.value = { ...f.value, page: 1 }, o && localStorage && localStorage.removeItem(o), m(), n.touched = !1, v && v();
2792
2792
  },
2793
- submitFilter: (c, h) => {
2794
- const D = s(), F = l(D, c, !0);
2795
- u(F), b(F), c.value = { ...c.value, page: 1 }, n.touched = !1, h && h();
2793
+ submitFilter: (f, v) => {
2794
+ const w = s(), F = l(w, f, !0);
2795
+ u(F), g(F), f.value = { ...f.value, page: 1 }, n.touched = !1, v && v();
2796
2796
  },
2797
2797
  serializeFilters: l,
2798
2798
  deserializeFilters: i
@@ -2844,7 +2844,7 @@ function xi(e = void 0) {
2844
2844
  title: "Vlastné"
2845
2845
  }
2846
2846
  ];
2847
- return k(e) ? r : r.filter((o) => e.includes(o.value) || G(o.value));
2847
+ return D(e) ? r : r.filter((o) => e.includes(o.value) || G(o.value));
2848
2848
  });
2849
2849
  return {
2850
2850
  timeIntervalOptions: t,
@@ -2871,21 +2871,21 @@ function _i(e) {
2871
2871
  function Ii() {
2872
2872
  const e = L([]), n = (d) => {
2873
2873
  i("limit", d);
2874
- }, t = (d, b) => {
2875
- i("offset", Math.max(0, (d - 1) * b));
2876
- }, a = (d, b) => {
2877
- !G(d) && d.length > 0 && i("order[" + d + "]", b ? Ct.Desc : Ct.Asc);
2878
- }, r = (d) => Je(d) ? d ? "1" : "0" : d, o = (d, b, p) => {
2879
- Oe(p) && p.length === 0 || e.value.push("filter_" + d + "[" + b + "]=" + r(p));
2880
- }, s = (d, b, p, E, v, m) => {
2881
- let c = p[d], h = p[b];
2882
- if (G(c) && v && !m && (c = E.fields[d].default), G(h) && v && !m && (h = E.fields[d].default), Oe(c) && Oe(h))
2874
+ }, t = (d, g) => {
2875
+ i("offset", Math.max(0, (d - 1) * g));
2876
+ }, a = (d, g) => {
2877
+ !G(d) && d.length > 0 && i("order[" + d + "]", g ? Ct.Desc : Ct.Asc);
2878
+ }, r = (d) => Je(d) ? d ? "1" : "0" : d, o = (d, g, p) => {
2879
+ Oe(p) && p.length === 0 || e.value.push("filter_" + d + "[" + g + "]=" + r(p));
2880
+ }, s = (d, g, p, T, b, c) => {
2881
+ let f = p[d], v = p[g];
2882
+ if (G(f) && b && !c && (f = T.fields[d].default), G(v) && b && !c && (v = T.fields[d].default), Oe(f) && Oe(v))
2883
2883
  return {
2884
- from: c,
2885
- until: h
2884
+ from: f,
2885
+ until: v
2886
2886
  };
2887
- const D = Dn(), F = Bs(D);
2888
- switch (c) {
2887
+ const w = Dn(), F = Bs(w);
2888
+ switch (f) {
2889
2889
  case dt.CurrentMonth:
2890
2890
  return Ca(F, "utc", 0, !1);
2891
2891
  case dt.LastMonth:
@@ -2893,17 +2893,17 @@ function Ii() {
2893
2893
  case dt.Last3Months:
2894
2894
  return Ca(F, "utc", -2, !0);
2895
2895
  default:
2896
- if (Gt(c))
2896
+ if (Gt(f))
2897
2897
  return {
2898
- from: Ra(Rs(c * -1, F)),
2899
- until: D
2898
+ from: Ra(Rs(f * -1, F)),
2899
+ until: w
2900
2900
  };
2901
2901
  }
2902
2902
  return null;
2903
- }, l = (d, b) => G(d) ? b.mandatory && !b.exclude && !k(b.default) ? ue(b.default) ? b.default.join(",") : b.default : null : Oe(d) ? d.length === 0 ? b.mandatory && !b.exclude && !k(b.default) && !G(b.default) ? encodeURIComponent(
2904
- ue(b.default) ? b.default.join(",") : b.default
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
- e.value.push(d + "=" + b);
2903
+ }, l = (d, g) => G(d) ? g.mandatory && !g.exclude && !D(g.default) ? ue(g.default) ? g.default.join(",") : g.default : null : Oe(d) ? d.length === 0 ? g.mandatory && !g.exclude && !D(g.default) && !G(g.default) ? encodeURIComponent(
2904
+ ue(g.default) ? g.default.join(",") : g.default
2905
+ ) : null : encodeURIComponent(d) : ue(d) ? d.length === 0 ? g.mandatory && !g.exclude && ue(g.default) ? g.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, g) => {
2906
+ e.value.push(d + "=" + g);
2907
2907
  };
2908
2908
  return {
2909
2909
  resolveTimeIntervalFilter: s,
@@ -2911,39 +2911,39 @@ function Ii() {
2911
2911
  querySetOffset: t,
2912
2912
  querySetOrder: a,
2913
2913
  queryAddFilter: o,
2914
- querySetFilters: (d, b) => {
2915
- const p = b.general.simpleFilters;
2916
- for (const E in d) {
2917
- const v = d[E], m = b.fields[E];
2918
- if (k(m) || m.exclude)
2914
+ querySetFilters: (d, g) => {
2915
+ const p = g.general.simpleFilters;
2916
+ for (const T in d) {
2917
+ const b = d[T], c = g.fields[T];
2918
+ if (D(c) || c.exclude)
2919
2919
  continue;
2920
- const c = m.apiName || E;
2921
- if (m.type === "timeInterval" && !k(m.related)) {
2922
- const D = s(
2923
- E,
2924
- m.related,
2920
+ const f = c.apiName || T;
2921
+ if (c.type === "timeInterval" && !D(c.related)) {
2922
+ const w = s(
2923
+ T,
2924
+ c.related,
2925
2925
  d,
2926
- b,
2927
- m.mandatory,
2928
- m.exclude
2926
+ g,
2927
+ c.mandatory,
2928
+ c.exclude
2929
2929
  );
2930
- if (G(D))
2930
+ if (G(w))
2931
2931
  continue;
2932
- const w = b.fields[m.related].apiName || m.related;
2932
+ const k = g.fields[c.related].apiName || c.related;
2933
2933
  if (p) {
2934
- i(c, D.from), i(w, D.until);
2934
+ i(f, w.from), i(k, w.until);
2935
2935
  continue;
2936
2936
  }
2937
- D.from && o("gte", c, D.from), D.until && o("lte", w, D.until);
2937
+ w.from && o("gte", f, w.from), w.until && o("lte", k, w.until);
2938
2938
  continue;
2939
2939
  }
2940
- const h = l(v, m);
2941
- if (!G(h)) {
2940
+ const v = l(b, c);
2941
+ if (!G(v)) {
2942
2942
  if (p) {
2943
- i(c, h);
2943
+ i(f, v);
2944
2944
  continue;
2945
2945
  }
2946
- o(m.variant, c, h);
2946
+ o(c.variant, f, v);
2947
2947
  }
2948
2948
  }
2949
2949
  },
@@ -2956,50 +2956,58 @@ const Mi = (e) => En(e) && Object.hasOwn(e, "totalCount"), $i = (e) => En(e) &&
2956
2956
  const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: s, querySetFilters: l } = Ii();
2957
2957
  return a(e.value.rowsPerPage), r(e.value.page, e.value.rowsPerPage), e.value.sortBy && o(e.value.sortBy.key, e.value.sortBy.order === Ct.Desc), l(n, t), s();
2958
2958
  }, Oi = (e) => {
2959
- const { client: n, system: t, entity: a, urlTemplate: r, urlParams: o, options: s = {} } = e;
2960
- let l = null;
2959
+ const {
2960
+ client: n,
2961
+ system: t,
2962
+ entity: a,
2963
+ urlTemplate: r,
2964
+ urlParams: o,
2965
+ options: s = {},
2966
+ silentConsoleError: l = !1
2967
+ } = e;
2968
+ let i = null;
2961
2969
  return {
2962
- executeFetch: async (f, d, b, p = {}) => {
2963
- l = new AbortController();
2970
+ executeFetch: async (d, g, p, T = {}) => {
2971
+ i = new AbortController();
2964
2972
  const {
2965
- urlTemplate: E,
2966
- urlParams: v,
2967
- forceElastic: m = !1
2968
- } = p;
2973
+ urlTemplate: b,
2974
+ urlParams: c,
2975
+ forceElastic: f = !1
2976
+ } = T;
2969
2977
  try {
2970
- const c = b.general.elastic || m ? "/search" : "", h = he(v) ? v : o, D = he(E) ? E : r;
2971
- if (k(D)) throw new Error("Url template is undefined");
2972
- const F = (k(h) ? D : Mn(D, h)) + c + Fi(f, d, b), w = await n().get(F, {
2978
+ const v = p.general.elastic || f ? "/search" : "", w = he(c) ? c : o, F = he(b) ? b : r;
2979
+ if (D(F)) throw new Error("Url template is undefined");
2980
+ const k = (D(w) ? F : Mn(F, w)) + v + Fi(d, g, p), h = await n().get(k, {
2973
2981
  ...s,
2974
- signal: l.signal
2982
+ signal: i.signal
2975
2983
  });
2976
- if (!$n(w.status))
2977
- throw new nn(w.status);
2978
- if (w.data) {
2979
- const g = w.data;
2980
- return $i(g) ? f.value = {
2981
- ...f.value,
2982
- hasNextPage: g.hasNextPage,
2983
- currentViewCount: w.data.data.length
2984
- } : Mi(g) && (f.value = {
2985
- ...f.value,
2986
- totalCount: g.totalCount,
2987
- currentViewCount: w.data.data.length
2988
- }), g.data;
2984
+ if (!$n(h.status))
2985
+ throw new nn(h.status);
2986
+ if (h.data) {
2987
+ const I = h.data;
2988
+ return $i(I) ? d.value = {
2989
+ ...d.value,
2990
+ hasNextPage: I.hasNextPage,
2991
+ currentViewCount: h.data.data.length
2992
+ } : Mi(I) && (d.value = {
2993
+ ...d.value,
2994
+ totalCount: I.totalCount,
2995
+ currentViewCount: h.data.data.length
2996
+ }), I.data;
2989
2997
  }
2990
- if (w.status === Qt)
2998
+ if (h.status === Qt)
2991
2999
  return [];
2992
3000
  throw new ut();
2993
- } catch (c) {
2994
- if (c instanceof DOMException && c.name === "AbortError")
3001
+ } catch (v) {
3002
+ if (v instanceof DOMException && v.name === "AbortError")
2995
3003
  return [];
2996
- throw eo(c) ? c : Tn(c) ? new en(c, c.config?.url) : An(c) ? new tn(c, t, a, c) : _n(c) ? new on(c, t, a, c) : xn(c) ? new an(c, c) : lr(c) ? new to(c) : Lt.isAxiosError(c) ? (console.error("Axios error: " + r, c.cause), new no(c)) : (console.error("AnzuFatalError: ", c), new ut(c));
3004
+ throw eo(v) ? v : Tn(v) ? new en(v, v.config?.url) : An(v) ? new tn(v, t, a, v) : _n(v) ? new on(v, t, a, v) : xn(v) ? new an(v, v) : lr(v) ? new to(v) : Lt.isAxiosError(v) ? (l || console.error("Axios error: " + r, ...v.cause ? [v.cause] : []), new no(v)) : (l || console.error("AnzuFatalError: ", v), new ut(v));
2997
3005
  } finally {
2998
- l = null;
3006
+ i = null;
2999
3007
  }
3000
3008
  },
3001
3009
  abortFetch: () => {
3002
- l && l.abort();
3010
+ i && i.abort();
3003
3011
  }
3004
3012
  };
3005
3013
  }, Bi = () => ({
@@ -3015,16 +3023,16 @@ function kn(e, n = Ct.Desc, t = {}, a) {
3015
3023
  currentViewCount: 0,
3016
3024
  totalCount: 0
3017
3025
  });
3018
- function s(u, f) {
3026
+ function s(u, m) {
3019
3027
  if (Oe(u)) {
3020
3028
  o.value = {
3021
3029
  ...o.value,
3022
- sortBy: { key: u, order: f }
3030
+ sortBy: { key: u, order: m }
3023
3031
  };
3024
3032
  return;
3025
3033
  }
3026
3034
  const d = u;
3027
- if (G(d) || k(d)) {
3035
+ if (G(d) || D(d)) {
3028
3036
  o.value = { ...o.value, sortBy: d };
3029
3037
  return;
3030
3038
  }
@@ -3061,28 +3069,28 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3061
3069
  emits: ["change"],
3062
3070
  setup(e, { emit: n }) {
3063
3071
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt);
3064
- if (k(r) || k(o) || k(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3065
- k(s.fields[t.name]) || k(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3066
- k(l[t.name]))
3072
+ if (D(r) || D(o) || D(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3073
+ D(s.fields[t.name]) || D(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3074
+ D(l[t.name]))
3067
3075
  throw new Error("Incorrect provide/inject config.");
3068
3076
  const i = U({
3069
3077
  get() {
3070
- return k(l[t.name]) || G(l[t.name]) ? {
3078
+ return D(l[t.name]) || G(l[t.name]) ? {
3071
3079
  value: -1,
3072
- title: f(t.allT)
3073
- } : l[t.name] ? { value: 1, title: f(t.trueT) } : { value: 0, title: f(t.falseT) };
3080
+ title: m(t.allT)
3081
+ } : l[t.name] ? { value: 1, title: m(t.trueT) } : { value: 0, title: m(t.falseT) };
3074
3082
  },
3075
- set(m) {
3076
- let c = null;
3077
- m?.value === 1 && (c = !0), m?.value === 0 && (c = !1), l[t.name] = c, v(), s.touched = !0, a("change");
3083
+ set(c) {
3084
+ let f = null;
3085
+ c?.value === 1 && (f = !0), c?.value === 0 && (f = !1), l[t.name] = f, b(), s.touched = !0, a("change");
3078
3086
  }
3079
- }), u = U(() => s.fields[t.name]), { t: f } = Re(), d = U(() => u.value.titleT ? f(u.value.titleT) : void 0), b = U(() => [
3080
- { value: -1, title: f(t.allT) },
3081
- { value: 1, title: f(t.trueT) },
3082
- { value: 0, title: f(t.falseT) }
3083
- ]), { clearOne: p } = ct(), E = () => {
3087
+ }), u = U(() => s.fields[t.name]), { t: m } = Re(), d = U(() => u.value.titleT ? m(u.value.titleT) : void 0), g = U(() => [
3088
+ { value: -1, title: m(t.allT) },
3089
+ { value: 1, title: m(t.trueT) },
3090
+ { value: 0, title: m(t.falseT) }
3091
+ ]), { clearOne: p } = ct(), T = () => {
3084
3092
  p(t.name, l, s), o.value.delete(t.name);
3085
- }, v = () => {
3093
+ }, b = () => {
3086
3094
  if (i.value.value === -1) {
3087
3095
  o.value.delete(t.name);
3088
3096
  return;
@@ -3091,17 +3099,17 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3091
3099
  { title: i.value.title, value: i.value.value }
3092
3100
  ]);
3093
3101
  };
3094
- return (m, c) => (P(), X(Ko, {
3102
+ return (c, f) => (P(), X(Ko, {
3095
3103
  modelValue: i.value,
3096
- "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
3104
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => i.value = v),
3097
3105
  "data-cy": e.dataCy,
3098
3106
  label: d.value,
3099
- items: b.value,
3107
+ items: g.value,
3100
3108
  clearable: !u.value.mandatory && i.value.value !== -1,
3101
3109
  "return-object": "",
3102
3110
  "hide-details": "",
3103
3111
  autocomplete: "off",
3104
- "onClick:clear": ye(E, ["stop"])
3112
+ "onClick:clear": ye(T, ["stop"])
3105
3113
  }, null, 8, ["modelValue", "data-cy", "label", "items", "clearable"]));
3106
3114
  }
3107
3115
  }), Li = /* @__PURE__ */ Se({
@@ -3114,20 +3122,20 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3114
3122
  emits: ["change"],
3115
3123
  setup(e, { emit: n }) {
3116
3124
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt);
3117
- if (k(r) || k(o) || k(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3118
- k(s.fields[t.name]) || k(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3119
- k(l[t.name]))
3125
+ if (D(r) || D(o) || D(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3126
+ D(s.fields[t.name]) || D(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3127
+ D(l[t.name]))
3120
3128
  throw new Error("Incorrect provide/inject config.");
3121
3129
  const i = U({
3122
3130
  get() {
3123
3131
  return l[t.name];
3124
3132
  },
3125
- set(m) {
3126
- l[t.name] = m, s.touched = !0, a("change");
3133
+ set(c) {
3134
+ l[t.name] = c, s.touched = !0, a("change");
3127
3135
  }
3128
- }), u = U(() => s.fields[t.name]), { t: f } = Re(), d = U(() => u.value.titleT ? f(u.value.titleT) : void 0), b = U(() => k(t.placeholder) ? u.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), E = () => {
3136
+ }), u = U(() => s.fields[t.name]), { t: m } = Re(), d = U(() => u.value.titleT ? m(u.value.titleT) : void 0), g = U(() => D(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), T = () => {
3129
3137
  p(t.name, l, s), o.value.delete(t.name);
3130
- }, v = () => {
3138
+ }, b = () => {
3131
3139
  if (Gt(i.value)) {
3132
3140
  o.value.set(t.name, [
3133
3141
  { title: i.value + "", value: i.value }
@@ -3144,21 +3152,21 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3144
3152
  };
3145
3153
  return Ae(
3146
3154
  () => l[t.name],
3147
- (m, c) => {
3148
- m === c || Je(m) || v();
3155
+ (c, f) => {
3156
+ c === f || Je(c) || b();
3149
3157
  },
3150
3158
  { immediate: !0 }
3151
- ), (m, c) => (P(), X(ia, {
3159
+ ), (c, f) => (P(), X(ia, {
3152
3160
  modelValue: i.value,
3153
- "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
3161
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => i.value = v),
3154
3162
  label: d.value,
3155
- placeholder: b.value,
3163
+ placeholder: g.value,
3156
3164
  clearable: !u.value.mandatory,
3157
3165
  "data-cy": e.dataCy,
3158
3166
  "hide-details": "",
3159
3167
  autocomplete: "off",
3160
- onBlur: v,
3161
- "onClick:clear": ye(E, ["stop"])
3168
+ onBlur: b,
3169
+ "onClick:clear": ye(T, ["stop"])
3162
3170
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3163
3171
  }
3164
3172
  }), Ni = {
@@ -3179,20 +3187,20 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3179
3187
  },
3180
3188
  emits: ["change"],
3181
3189
  setup(e, { emit: n }) {
3182
- const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(lo), u = J(ro), f = oa()?.type.__name;
3183
- if (k(r) || k(o) || k(l) || k(s) || k(i) || k(u))
3184
- throw new Error(`[${f}] Incorrect provide/inject config.`);
3185
- const d = t.filterByField, b = t.filterSortBy;
3186
- if (k(i.fields[d]) || k(u[d]))
3190
+ const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(lo), u = J(ro), m = oa()?.type.__name;
3191
+ if (D(r) || D(o) || D(l) || D(s) || D(i) || D(u))
3192
+ throw new Error(`[${m}] Incorrect provide/inject config.`);
3193
+ const d = t.filterByField, g = t.filterSortBy;
3194
+ if (D(i.fields[d]) || D(u[d]))
3187
3195
  throw new Error(
3188
- `[${f}] Incorrect filter inner config. FilterByField is '${d}' and available options are ${Object.keys(u).join(", ")}.`
3196
+ `[${m}] Incorrect filter inner config. FilterByField is '${d}' and available options are ${Object.keys(u).join(", ")}.`
3189
3197
  );
3190
- const p = U(() => s.fields[t.name]), E = L([]), v = L(""), m = L(!1), c = L(null), h = L(0), { t: D } = Re(), F = () => {
3191
- m.value = !1;
3192
- }, w = U(() => p.value.titleT ? D(p.value.titleT) : void 0), { pagination: g } = kn(
3193
- G(b) ? null : b.key,
3194
- b?.order
3195
- ), I = L([]), Y = L([]), T = L(!0), $ = L(!1), N = U(() => {
3198
+ const p = U(() => s.fields[t.name]), T = L([]), b = L(""), c = L(!1), f = L(null), v = L(0), { t: w } = Re(), F = () => {
3199
+ c.value = !1;
3200
+ }, k = U(() => p.value.titleT ? w(p.value.titleT) : void 0), { pagination: h } = kn(
3201
+ G(g) ? null : g.key,
3202
+ g?.order
3203
+ ), I = L([]), Y = L([]), E = L(!0), $ = L(!1), N = U(() => {
3196
3204
  const Z = /* @__PURE__ */ new Map(), ee = (se) => {
3197
3205
  se.forEach((Ie) => {
3198
3206
  Z.set(Ie.value, {
@@ -3204,7 +3212,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3204
3212
  };
3205
3213
  return ee(Y.value), ee(I.value), Array.from(Z.values());
3206
3214
  }), M = L(!1), A = (Z) => {
3207
- Y.value = [], E.value = ue(Z) ? [] : null, c.value = ue(Z) ? [] : null, ge(E.value);
3215
+ Y.value = [], T.value = ue(Z) ? [] : null, f.value = ue(Z) ? [] : null, ge(T.value);
3208
3216
  }, _ = (Z) => {
3209
3217
  const ee = (se) => N.value.find((Ie) => Ie.value === se) ?? { title: `${se}`, value: se };
3210
3218
  return ue(Z) ? Z.map(ee) : ee(Z);
@@ -3215,7 +3223,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3215
3223
  try {
3216
3224
  Y.value = await t.fetchItemsByIds(ee);
3217
3225
  const se = _(Z);
3218
- E.value = se, c.value = se, ge(E.value);
3226
+ T.value = se, f.value = se, ge(T.value);
3219
3227
  } catch (se) {
3220
3228
  y(se);
3221
3229
  }
@@ -3226,8 +3234,8 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3226
3234
  }, { showErrorsDefault: y } = In(), C = async (Z, ee) => {
3227
3235
  M.value = !0, u[d] = Z;
3228
3236
  try {
3229
- const se = await t.fetchItems(g, u, i);
3230
- ee === h.value && (I.value = se);
3237
+ const se = await t.fetchItems(h, u, i);
3238
+ ee === v.value && (I.value = se);
3231
3239
  } catch (se) {
3232
3240
  y(se);
3233
3241
  } finally {
@@ -3237,51 +3245,51 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3237
3245
  if (!(t.prefetch === !1 || t.prefetch !== Z) && !M.value && !$.value) {
3238
3246
  M.value = !0;
3239
3247
  try {
3240
- const ee = await t.fetchItems(g, u, i);
3241
- h.value === 0 && (I.value = ee), $.value = !0;
3248
+ const ee = await t.fetchItems(h, u, i);
3249
+ v.value === 0 && (I.value = ee), $.value = !0;
3242
3250
  } finally {
3243
3251
  M.value = !1;
3244
3252
  }
3245
3253
  }
3246
3254
  }, R = async () => {
3247
- m.value = !0, await x("focus");
3255
+ c.value = !0, await x("focus");
3248
3256
  }, j = async () => {
3249
3257
  await x("hover");
3250
3258
  }, Q = U(() => {
3251
3259
  if (!p.value.multiple && Y.value[0])
3252
3260
  return Y.value[0].title;
3253
3261
  }), re = (Z) => {
3254
- !p.value.multiple && !m.value && Z.length === 0 || Q.value !== Z && (v.value = Z);
3262
+ !p.value.multiple && !c.value && Z.length === 0 || Q.value !== Z && (b.value = Z);
3255
3263
  }, { clearOne: ve } = ct(), Te = () => {
3256
3264
  ve(t.name, l, s), o.value.delete(t.name);
3257
3265
  }, ke = async () => {
3258
3266
  try {
3259
- I.value = await t.fetchItems(g, u, i);
3267
+ I.value = await t.fetchItems(h, u, i);
3260
3268
  } catch (Z) {
3261
3269
  y(Z);
3262
3270
  }
3263
3271
  Te();
3264
3272
  };
3265
3273
  qa(
3266
- v,
3274
+ b,
3267
3275
  (Z, ee) => {
3268
3276
  if (Z !== ee && !(Z.length > 0 && Z.length < t.minSearchChars)) {
3269
3277
  if (Z.length === 0 && t.prefetch === !1) {
3270
3278
  I.value = [];
3271
3279
  return;
3272
3280
  }
3273
- h.value++, C(Z, h.value);
3281
+ v.value++, C(Z, v.value);
3274
3282
  }
3275
3283
  },
3276
3284
  { debounce: Yi }
3277
3285
  );
3278
3286
  const W = async () => {
3279
3287
  await x("mounted");
3280
- }, te = U(() => k(t.placeholder) ? p.value.variant === "startsWith" ? D("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? D("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? D("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = U(() => {
3288
+ }, te = U(() => D(t.placeholder) ? p.value.variant === "startsWith" ? w("common.model.filterPlaceholder.startsWith") : p.value.variant === "eq" ? w("common.model.filterPlaceholder.eq") : p.value.variant === "search" ? w("common.model.filterPlaceholder.contains") : "" : t.placeholder), q = U(() => {
3281
3289
  if (M.value)
3282
3290
  return "$vuetify.loading";
3283
- if (I.value.length === 0 && v.value.length < t.minSearchChars)
3284
- return k(t.minSearchText) ? D("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
3291
+ if (I.value.length === 0 && b.value.length < t.minSearchChars)
3292
+ return D(t.minSearchText) ? w("common.filter.filterMinChars", { min: t.minSearchChars }) : t.minSearchText;
3285
3293
  }), K = (Z) => {
3286
3294
  s.touched = !0;
3287
3295
  let ee = null;
@@ -3305,17 +3313,17 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3305
3313
  async (Z, ee) => {
3306
3314
  if (Z === ee || Je(Z)) return;
3307
3315
  const se = Z;
3308
- if (T.value && (T.value = !1, await W()), Qo(se)) {
3309
- A(se), k(ee) || (h.value++, await C("", h.value));
3316
+ if (E.value && (E.value = !1, await W()), Qo(se)) {
3317
+ A(se), D(ee) || (v.value++, await C("", v.value));
3310
3318
  return;
3311
3319
  }
3312
3320
  await S(se);
3313
3321
  },
3314
3322
  { immediate: !0 }
3315
3323
  ), (Z, ee) => (P(), X(ra, {
3316
- modelValue: E.value,
3324
+ modelValue: T.value,
3317
3325
  "onUpdate:modelValue": [
3318
- ee[0] || (ee[0] = (se) => E.value = se),
3326
+ ee[0] || (ee[0] = (se) => T.value = se),
3319
3327
  K
3320
3328
  ],
3321
3329
  items: N.value,
@@ -3323,7 +3331,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3323
3331
  placeholder: te.value,
3324
3332
  multiple: p.value.multiple,
3325
3333
  clearable: !p.value.mandatory,
3326
- label: w.value,
3334
+ label: k.value,
3327
3335
  chips: p.value.multiple,
3328
3336
  loading: M.value,
3329
3337
  "hide-details": "",
@@ -3362,7 +3370,7 @@ const Ld = (e, n = {}, t, a = {}, r, o, s = {}) => new Promise((l, i) => {
3362
3370
  name: "no-data",
3363
3371
  fn: B(() => [
3364
3372
  O(Rt, {
3365
- title: H(D)("$vuetify.loading")
3373
+ title: H(w)("$vuetify.loading")
3366
3374
  }, null, 8, ["title"])
3367
3375
  ]),
3368
3376
  key: "0"
@@ -3389,45 +3397,45 @@ const Yd = /* @__PURE__ */ Se({
3389
3397
  },
3390
3398
  emits: ["change"],
3391
3399
  setup(e, { emit: n }) {
3392
- const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(lo), u = J(ro), f = oa()?.type.__name;
3393
- if (k(r) || k(o) || k(l) || k(s) || k(i) || k(u))
3394
- throw new Error(`[${f}] Incorrect provide/inject config.`);
3400
+ const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = J(lo), u = J(ro), m = oa()?.type.__name;
3401
+ if (D(r) || D(o) || D(l) || D(s) || D(i) || D(u))
3402
+ throw new Error(`[${m}] Incorrect provide/inject config.`);
3395
3403
  if (
3396
3404
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3397
- k(s.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3398
- k(l[t.name])
3405
+ D(s.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3406
+ D(l[t.name])
3399
3407
  )
3400
3408
  throw new Error(
3401
- `[${f}] Incorrect filter config. Name is '${t.name}' and available options are ${Object.keys(l).join(", ")}.`
3409
+ `[${m}] Incorrect filter config. Name is '${t.name}' and available options are ${Object.keys(l).join(", ")}.`
3402
3410
  );
3403
3411
  if (
3404
3412
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3405
- k(i.fields[t.filterByField]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3406
- k(u[t.filterByField])
3413
+ D(i.fields[t.filterByField]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3414
+ D(u[t.filterByField])
3407
3415
  )
3408
3416
  throw new Error(
3409
- `[${f}] Incorrect filter inner config. FilterByField is '${t.filterByField}' and available options are ${Object.keys(u).join(", ")}.`
3417
+ `[${m}] Incorrect filter inner config. FilterByField is '${t.filterByField}' and available options are ${Object.keys(u).join(", ")}.`
3410
3418
  );
3411
- const d = L([]), b = L(""), p = L(!1), E = L(void 0), v = L(0), { t: m } = Re(), c = U(() => s.fields[t.name]), h = () => {
3419
+ const d = L([]), g = L(""), p = L(!1), T = L(void 0), b = L(0), { t: c } = Re(), f = U(() => s.fields[t.name]), v = () => {
3412
3420
  p.value = !1;
3413
- }, D = U(() => c.value.titleT ? m(c.value.titleT) : void 0), { pagination: F } = kn(
3421
+ }, w = U(() => f.value.titleT ? c(f.value.titleT) : void 0), { pagination: F } = kn(
3414
3422
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3415
3423
  G(t.filterSortBy) ? null : t.filterSortBy.key,
3416
3424
  t.filterSortBy?.order
3417
- ), w = L([]), g = L([]), I = U(() => {
3425
+ ), k = L([]), h = L([]), I = U(() => {
3418
3426
  const W = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map();
3419
- return g.value.forEach((q) => {
3427
+ return h.value.forEach((q) => {
3420
3428
  q.raw ? (W.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], $e(q.raw))) : (W.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], $e(q)));
3421
- }), w.value.forEach((q) => {
3429
+ }), k.value.forEach((q) => {
3422
3430
  q.raw ? (W.set(q.raw[t.itemValue], q.raw[t.itemTitle]), te.set(q.raw[t.itemValue], $e(q.raw))) : (W.set(q[t.itemValue], q[t.itemTitle]), te.set(q[t.itemValue], $e(q)));
3423
3431
  }), Array.from(W, ([q, K]) => ({ value: q, title: K, raw: te.get(q) }));
3424
- }), Y = L(!1), { showErrorsDefault: T } = In(), $ = async (W, te) => {
3432
+ }), Y = L(!1), { showErrorsDefault: E } = In(), $ = async (W, te) => {
3425
3433
  Y.value = !0, u[t.filterByField] = W;
3426
3434
  try {
3427
3435
  const q = await t.fetchItemsMinimal(F, u, i);
3428
- te === v.value && (w.value = q);
3436
+ te === b.value && (k.value = q);
3429
3437
  } catch (q) {
3430
- T(q);
3438
+ E(q);
3431
3439
  } finally {
3432
3440
  Y.value = !1;
3433
3441
  }
@@ -3438,17 +3446,17 @@ const Yd = /* @__PURE__ */ Se({
3438
3446
  return [].concat(te);
3439
3447
  }, M = async (W) => {
3440
3448
  let te = 1, q = [];
3441
- return ue(W) ? (te = W.length, q = N(W)) : q = N([W]), g.value = q, q.length === te;
3449
+ return ue(W) ? (te = W.length, q = N(W)) : q = N([W]), h.value = q, q.length === te;
3442
3450
  }, A = L(!1), _ = () => {
3443
- clearTimeout(E.value), E.value = void 0;
3451
+ clearTimeout(T.value), T.value = void 0;
3444
3452
  }, S = async () => {
3445
3453
  if (_(), A.value !== !0) {
3446
3454
  A.value = !0, Y.value = !0;
3447
3455
  try {
3448
3456
  const W = await t.fetchItemsMinimal(F, u, i);
3449
- v.value === 0 && (w.value = W);
3457
+ b.value === 0 && (k.value = W);
3450
3458
  } catch (W) {
3451
- T(W);
3459
+ E(W);
3452
3460
  } finally {
3453
3461
  Y.value = !1;
3454
3462
  }
@@ -3458,26 +3466,26 @@ const Yd = /* @__PURE__ */ Se({
3458
3466
  }, C = () => {
3459
3467
  t.prefetch === "focus" || t.prefetch === !1 || (_(), S());
3460
3468
  }, x = U(() => {
3461
- if (!c.value.multiple && g.value[0])
3462
- return g.value[0].title;
3469
+ if (!f.value.multiple && h.value[0])
3470
+ return h.value[0].title;
3463
3471
  }), R = (W) => {
3464
- !c.value.multiple && !p.value && W.length === 0 || x.value !== W && (b.value = W);
3472
+ !f.value.multiple && !p.value && W.length === 0 || x.value !== W && (g.value = W);
3465
3473
  }, j = (W) => {
3466
3474
  s.touched = !0;
3467
3475
  let te = null;
3468
3476
  ue(W) ? te = W.map((q) => q.value) : G(W) || (te = W.value), l[t.name] = te, a("change");
3469
3477
  }, Q = async () => {
3470
3478
  try {
3471
- w.value = await t.fetchItemsMinimal(
3479
+ k.value = await t.fetchItemsMinimal(
3472
3480
  F,
3473
3481
  u,
3474
3482
  i
3475
3483
  );
3476
3484
  } catch (W) {
3477
- T(W);
3485
+ E(W);
3478
3486
  }
3479
3487
  Te();
3480
- }, re = U(() => k(t.placeholder) ? c.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : c.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : c.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: ve } = ct(), Te = () => {
3488
+ }, re = U(() => D(t.placeholder) ? f.value.variant === "startsWith" ? c("common.model.filterPlaceholder.startsWith") : f.value.variant === "eq" ? c("common.model.filterPlaceholder.eq") : f.value.variant === "search" ? c("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: ve } = ct(), Te = () => {
3481
3489
  ve(t.name, l, s), o.value.delete(t.name);
3482
3490
  }, ke = (W) => {
3483
3491
  if (o.value.delete(t.name), ue(W) && W.length === 0 || G(W)) {
@@ -3497,15 +3505,15 @@ const Yd = /* @__PURE__ */ Se({
3497
3505
  () => l[t.name],
3498
3506
  async (W, te) => {
3499
3507
  if (W === te || Je(W)) return;
3500
- if (G(W) || k(W) || ue(W) && W.length === 0) {
3501
- if (g.value = [], c.value.multiple ? d.value = [] : d.value = null, ke(d.value), A.value === !0 || Ui(t.prefetch, ["hover", "focus", !1])) return;
3502
- E.value = setTimeout(() => {
3508
+ if (G(W) || D(W) || ue(W) && W.length === 0) {
3509
+ if (h.value = [], f.value.multiple ? d.value = [] : d.value = null, ke(d.value), A.value === !0 || Ui(t.prefetch, ["hover", "focus", !1])) return;
3510
+ T.value = setTimeout(() => {
3503
3511
  S();
3504
3512
  }, 3e3);
3505
3513
  return;
3506
3514
  }
3507
3515
  if (await M(W)) {
3508
- d.value = g.value.map((K) => ({
3516
+ d.value = h.value.map((K) => ({
3509
3517
  title: K.title,
3510
3518
  value: K.value
3511
3519
  })), ke(d.value);
@@ -3514,14 +3522,14 @@ const Yd = /* @__PURE__ */ Se({
3514
3522
  if (ue(W)) {
3515
3523
  Y.value = !0;
3516
3524
  try {
3517
- g.value = await t.fetchItemsMinimalByIds(
3525
+ h.value = await t.fetchItemsMinimalByIds(
3518
3526
  W
3519
- ), d.value = g.value.map((K) => ({
3527
+ ), d.value = h.value.map((K) => ({
3520
3528
  title: K.title,
3521
3529
  value: K.value
3522
3530
  })), ke(d.value);
3523
3531
  } catch (K) {
3524
- T(K);
3532
+ E(K);
3525
3533
  } finally {
3526
3534
  Y.value = !1;
3527
3535
  }
@@ -3529,21 +3537,21 @@ const Yd = /* @__PURE__ */ Se({
3529
3537
  }
3530
3538
  Y.value = !0;
3531
3539
  try {
3532
- g.value = await t.fetchItemsMinimalByIds([W]), d.value = g.value.map((K) => ({
3540
+ h.value = await t.fetchItemsMinimalByIds([W]), d.value = h.value.map((K) => ({
3533
3541
  title: K.title,
3534
3542
  value: K.value
3535
3543
  }))[0], ke(d.value);
3536
3544
  } catch (K) {
3537
- T(K);
3545
+ E(K);
3538
3546
  } finally {
3539
3547
  Y.value = !1;
3540
3548
  }
3541
3549
  },
3542
3550
  { immediate: !0 }
3543
3551
  ), qa(
3544
- b,
3552
+ g,
3545
3553
  (W, te) => {
3546
- W.length < t.searchMinChars || W !== te && (v.value++, $(W, v.value));
3554
+ W.length < t.searchMinChars || W !== te && (b.value++, $(W, b.value));
3547
3555
  },
3548
3556
  { debounce: 300 }
3549
3557
  ), (W, te) => (P(), X(ra, {
@@ -3555,16 +3563,16 @@ const Yd = /* @__PURE__ */ Se({
3555
3563
  items: I.value,
3556
3564
  "no-filter": "",
3557
3565
  placeholder: re.value,
3558
- multiple: c.value.multiple,
3559
- clearable: !c.value.mandatory,
3560
- label: D.value,
3561
- chips: c.value.multiple,
3566
+ multiple: f.value.multiple,
3567
+ clearable: !f.value.mandatory,
3568
+ label: w.value,
3569
+ chips: f.value.multiple,
3562
3570
  loading: Y.value,
3563
3571
  "hide-details": "",
3564
3572
  "return-object": "",
3565
3573
  autocomplete: "off",
3566
3574
  "onUpdate:search": R,
3567
- onBlur: h,
3575
+ onBlur: v,
3568
3576
  onFocus: y,
3569
3577
  onMouseenter: C,
3570
3578
  "onClick:clear": Q
@@ -3580,7 +3588,7 @@ const Yd = /* @__PURE__ */ Se({
3580
3588
  }), null, 16, ["title", "subtitle"])
3581
3589
  ])
3582
3590
  ]),
3583
- chip: B(({ props: q, item: K }) => [
3591
+ chip: B(({ props: q, internalItem: K }) => [
3584
3592
  we(W.$slots, "chip", {
3585
3593
  props: q,
3586
3594
  item: K
@@ -3602,12 +3610,12 @@ const Yd = /* @__PURE__ */ Se({
3602
3610
  emits: ["change"],
3603
3611
  setup(e, { emit: n }) {
3604
3612
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt), i = oa()?.type.__name;
3605
- if (k(r) || k(o) || k(l) || k(s))
3613
+ if (D(r) || D(o) || D(l) || D(s))
3606
3614
  throw new Error(`[${i}] Incorrect provide/inject config.`);
3607
3615
  if (
3608
3616
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3609
- k(s.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3610
- k(l[t.name])
3617
+ D(s.fields[t.name]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3618
+ D(l[t.name])
3611
3619
  )
3612
3620
  throw new Error(
3613
3621
  `[${i}] Incorrect filter config. Name is '${t.name}' and available options are ${Object.keys(l).join(", ")}.`
@@ -3616,46 +3624,46 @@ const Yd = /* @__PURE__ */ Se({
3616
3624
  get() {
3617
3625
  return l[t.name];
3618
3626
  },
3619
- set(m) {
3620
- l[t.name] = m, v(m), s.touched = !0, a("change");
3627
+ set(c) {
3628
+ l[t.name] = c, b(c), s.touched = !0, a("change");
3621
3629
  }
3622
- }), f = U(() => s.fields[t.name]), { t: d } = Re(), b = U(() => f.value.titleT ? d(f.value.titleT) : void 0), { clearOne: p } = ct(), E = () => {
3630
+ }), m = U(() => s.fields[t.name]), { t: d } = Re(), g = U(() => m.value.titleT ? d(m.value.titleT) : void 0), { clearOne: p } = ct(), T = () => {
3623
3631
  p(t.name, l, s), o.value.delete(t.name);
3624
- }, v = (m) => {
3625
- if (ue(m) && m.length === 0) return;
3626
- if (ue(m)) {
3632
+ }, b = (c) => {
3633
+ if (ue(c) && c.length === 0) return;
3634
+ if (ue(c)) {
3627
3635
  o.value.set(
3628
3636
  t.name,
3629
- m.map((h) => {
3630
- const D = t.items.find((F) => F.value === h);
3631
- return D ? { title: D.title, value: D.value } : { title: h, value: h };
3637
+ c.map((v) => {
3638
+ const w = t.items.find((F) => F.value === v);
3639
+ return w ? { title: w.title, value: w.value } : { title: v, value: v };
3632
3640
  })
3633
3641
  );
3634
3642
  return;
3635
3643
  }
3636
- const c = t.items.find((h) => h.value === m);
3637
- c && o.value.set(t.name, [
3638
- { title: c.title, value: c.value }
3644
+ const f = t.items.find((v) => v.value === c);
3645
+ f && o.value.set(t.name, [
3646
+ { title: f.title, value: f.value }
3639
3647
  ]);
3640
3648
  };
3641
3649
  return Ae(
3642
3650
  () => l[t.name],
3643
- (m, c) => {
3644
- m === c || Je(m) || v(m);
3651
+ (c, f) => {
3652
+ c === f || Je(c) || b(c);
3645
3653
  },
3646
3654
  { immediate: !0 }
3647
- ), (m, c) => (P(), X(ra, {
3655
+ ), (c, f) => (P(), X(ra, {
3648
3656
  modelValue: u.value,
3649
- "onUpdate:modelValue": c[0] || (c[0] = (h) => u.value = h),
3657
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => u.value = v),
3650
3658
  items: e.items,
3651
- chips: f.value.multiple,
3652
- label: b.value,
3653
- multiple: f.value.multiple,
3654
- clearable: !f.value.mandatory,
3659
+ chips: m.value.multiple,
3660
+ label: g.value,
3661
+ multiple: m.value.multiple,
3662
+ clearable: !m.value.mandatory,
3655
3663
  "data-cy": "filter-value",
3656
3664
  "hide-details": "",
3657
3665
  autocomplete: "off",
3658
- "onClick:clear": ye(E, ["stop"])
3666
+ "onClick:clear": ye(T, ["stop"])
3659
3667
  }, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
3660
3668
  }
3661
3669
  }), Vi = /* @__PURE__ */ Se({
@@ -3670,45 +3678,45 @@ const Yd = /* @__PURE__ */ Se({
3670
3678
  emits: ["change"],
3671
3679
  setup(e, { emit: n }) {
3672
3680
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt);
3673
- if (k(r) || k(o) || k(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3674
- k(s.fields[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3675
- k(s.fields[t.nameUntil]) || k(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3676
- k(l[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3677
- k(l[t.nameUntil]))
3681
+ if (D(r) || D(o) || D(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3682
+ D(s.fields[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3683
+ D(s.fields[t.nameUntil]) || D(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3684
+ D(l[t.nameFrom]) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3685
+ D(l[t.nameUntil]))
3678
3686
  throw new Error("Incorrect provide/inject config.");
3679
3687
  const i = U({
3680
3688
  get() {
3681
3689
  return l[t.nameFrom];
3682
3690
  },
3683
3691
  set(M) {
3684
- l[t.nameFrom] = M, T(M), s.touched = !0, Ye(() => {
3692
+ l[t.nameFrom] = M, E(M), s.touched = !0, Ye(() => {
3685
3693
  a("change");
3686
3694
  });
3687
3695
  }
3688
- }), { timeIntervalOptions: u, getTimeIntervalOption: f } = xi(t.allowed), d = L(null), b = L(!1), p = L({
3696
+ }), { timeIntervalOptions: u, getTimeIntervalOption: m } = xi(t.allowed), d = L(null), g = L(!1), p = L({
3689
3697
  from: null,
3690
3698
  until: Dn()
3691
- }), E = L(!1), { v$: v } = _i(p), m = U(() => s.fields[t.nameFrom]), { t: c } = Re(), h = U(() => m.value.titleT ? c(m.value.titleT) : void 0), { clearOne: D } = ct(), { showValidationError: F } = In(), w = () => {
3692
- E.value = !1, d.value = null, Y();
3693
- }, g = () => {
3694
- if (v.value.$touch(), v.value.$invalid) {
3699
+ }), T = L(!1), { v$: b } = _i(p), c = U(() => s.fields[t.nameFrom]), { t: f } = Re(), v = U(() => c.value.titleT ? f(c.value.titleT) : void 0), { clearOne: w } = ct(), { showValidationError: F } = In(), k = () => {
3700
+ T.value = !1, d.value = null, Y();
3701
+ }, h = () => {
3702
+ if (b.value.$touch(), b.value.$invalid) {
3695
3703
  F();
3696
3704
  return;
3697
3705
  }
3698
- E.value = !0, b.value = !1, l[t.nameUntil] = p.value.until, i.value = p.value.from;
3706
+ T.value = !0, g.value = !1, l[t.nameUntil] = p.value.until, i.value = p.value.from;
3699
3707
  }, I = () => {
3700
- b.value = !1, d.value = null;
3708
+ g.value = !1, d.value = null;
3701
3709
  }, Y = () => {
3702
- D(t.nameFrom, l, s), D(t.nameUntil, l, s), o.value.delete(t.nameFrom);
3703
- }, T = (M) => {
3710
+ w(t.nameFrom, l, s), w(t.nameUntil, l, s), o.value.delete(t.nameFrom);
3711
+ }, E = (M) => {
3704
3712
  if (ue(M) || Je(M)) return;
3705
- if (G(M) || k(M)) {
3713
+ if (G(M) || D(M)) {
3706
3714
  o.value.delete(t.nameFrom);
3707
3715
  return;
3708
3716
  }
3709
- const A = f(M);
3717
+ const A = m(M);
3710
3718
  if (!A && ya(M)) {
3711
- const _ = f(dt.Custom);
3719
+ const _ = m(dt.Custom);
3712
3720
  o.value.set(t.nameFrom, [
3713
3721
  {
3714
3722
  title: _.title + ": " + dn(p.value.from) + " - " + dn(p.value.until),
@@ -3719,24 +3727,24 @@ const Yd = /* @__PURE__ */ Se({
3719
3727
  }
3720
3728
  A && o.value.set(t.nameFrom, [{ title: A.title, value: M }]);
3721
3729
  }, $ = (M = !1) => {
3722
- v.value.$reset(), M && (p.value.from = null, p.value.until = Dn()), b.value = !0;
3730
+ b.value.$reset(), M && (p.value.from = null, p.value.until = Dn()), g.value = !0;
3723
3731
  };
3724
3732
  Ae(
3725
3733
  i,
3726
3734
  (M) => {
3727
3735
  if (ue(M) || Je(M)) return;
3728
- if (E.value = !1, k(M) || G(M)) {
3736
+ if (T.value = !1, D(M) || G(M)) {
3729
3737
  d.value = null;
3730
3738
  return;
3731
3739
  }
3732
- const A = f(i.value), _ = l[t.nameUntil];
3733
- !A && ya(i.value) && ya(_) && (d.value = dt.Custom, p.value.from = i.value, p.value.until = _, E.value = !0), A && (d.value = A.value);
3740
+ const A = m(i.value), _ = l[t.nameUntil];
3741
+ !A && ya(i.value) && ya(_) && (d.value = dt.Custom, p.value.from = i.value, p.value.until = _, T.value = !0), A && (d.value = A.value);
3734
3742
  },
3735
3743
  { immediate: !0 }
3736
3744
  ), Ae(
3737
3745
  [() => l[t.nameFrom], () => l[t.nameUntil]],
3738
3746
  ([M, A], [_, S]) => {
3739
- M === _ && A === S || T(M);
3747
+ M === _ && A === S || E(M);
3740
3748
  },
3741
3749
  { immediate: !0 }
3742
3750
  );
@@ -3750,9 +3758,9 @@ const Yd = /* @__PURE__ */ Se({
3750
3758
  return (M, A) => {
3751
3759
  const _ = Wt("ABtnTertiary"), S = Wt("ABtnPrimary");
3752
3760
  return P(), de(qe, null, [
3753
- E.value ? (P(), X(el, {
3761
+ T.value ? (P(), X(el, {
3754
3762
  key: 0,
3755
- label: h.value,
3763
+ label: v.value,
3756
3764
  "model-value": H(dn)(p.value.from) + " - " + H(dn)(p.value.until),
3757
3765
  readonly: "",
3758
3766
  rows: "1",
@@ -3761,7 +3769,7 @@ const Yd = /* @__PURE__ */ Se({
3761
3769
  "append-inner-icon": "mdi-menu-down",
3762
3770
  clearable: "",
3763
3771
  class: "cursor-pointer",
3764
- "onClick:clear": ye(w, ["stop"]),
3772
+ "onClick:clear": ye(k, ["stop"]),
3765
3773
  onClick: A[0] || (A[0] = ye((y) => $(), ["stop"]))
3766
3774
  }, null, 8, ["label", "model-value"])) : (P(), X(Ko, {
3767
3775
  key: 1,
@@ -3769,14 +3777,14 @@ const Yd = /* @__PURE__ */ Se({
3769
3777
  "onUpdate:modelValue": A[1] || (A[1] = (y) => d.value = y),
3770
3778
  "item-title": "title",
3771
3779
  "item-value": "value",
3772
- label: h.value,
3780
+ label: v.value,
3773
3781
  clearable: !H(G)(d.value),
3774
3782
  "no-filter": "",
3775
3783
  "data-cy": e.dataCy,
3776
3784
  items: H(u),
3777
3785
  "hide-details": "",
3778
3786
  autocomplete: "off",
3779
- "onClick:clear": ye(w, ["stop"])
3787
+ "onClick:clear": ye(k, ["stop"])
3780
3788
  }, {
3781
3789
  item: B(({ props: y, internalItem: C }) => [
3782
3790
  O(Rt, it(y, {
@@ -3785,7 +3793,7 @@ const Yd = /* @__PURE__ */ Se({
3785
3793
  ]),
3786
3794
  _: 1
3787
3795
  }, 8, ["modelValue", "label", "clearable", "data-cy", "items"])),
3788
- b.value ? (P(), X(Wa, {
3796
+ g.value ? (P(), X(Wa, {
3789
3797
  key: 2,
3790
3798
  "model-value": !0,
3791
3799
  width: "auto",
@@ -3797,7 +3805,7 @@ const Yd = /* @__PURE__ */ Se({
3797
3805
  O(Ja, { onOnCancel: I }, {
3798
3806
  default: B(() => [
3799
3807
  we(M.$slots, "title", {}, () => [
3800
- De(fe(h.value), 1)
3808
+ De(fe(v.value), 1)
3801
3809
  ], !0)
3802
3810
  ]),
3803
3811
  _: 3
@@ -3809,8 +3817,8 @@ const Yd = /* @__PURE__ */ Se({
3809
3817
  O(xo, {
3810
3818
  modelValue: p.value.from,
3811
3819
  "onUpdate:modelValue": A[2] || (A[2] = (y) => p.value.from = y),
3812
- v: H(v).dialogData.from,
3813
- label: H(c)("common.filter.timeInterval.from"),
3820
+ v: H(b).dialogData.from,
3821
+ label: H(f)("common.filter.timeInterval.from"),
3814
3822
  required: ""
3815
3823
  }, null, 8, ["modelValue", "v", "label"])
3816
3824
  ]),
@@ -3821,8 +3829,8 @@ const Yd = /* @__PURE__ */ Se({
3821
3829
  O(xo, {
3822
3830
  modelValue: p.value.until,
3823
3831
  "onUpdate:modelValue": A[3] || (A[3] = (y) => p.value.until = y),
3824
- v: H(v).dialogData.until,
3825
- label: H(c)("common.filter.timeInterval.until"),
3832
+ v: H(b).dialogData.until,
3833
+ label: H(f)("common.filter.timeInterval.until"),
3826
3834
  required: ""
3827
3835
  }, null, 8, ["modelValue", "v", "label"])
3828
3836
  ]),
@@ -3839,16 +3847,16 @@ const Yd = /* @__PURE__ */ Se({
3839
3847
  onClick: ye(I, ["stop"])
3840
3848
  }, {
3841
3849
  default: B(() => [
3842
- De(fe(H(c)("common.button.cancel")), 1)
3850
+ De(fe(H(f)("common.button.cancel")), 1)
3843
3851
  ]),
3844
3852
  _: 1
3845
3853
  }),
3846
3854
  O(S, {
3847
3855
  "data-cy": "button-confirm",
3848
- onClick: ye(g, ["stop"])
3856
+ onClick: ye(h, ["stop"])
3849
3857
  }, {
3850
3858
  default: B(() => [
3851
- De(fe(H(c)("common.button.confirm")), 1)
3859
+ De(fe(H(f)("common.button.confirm")), 1)
3852
3860
  ]),
3853
3861
  _: 1
3854
3862
  })
@@ -3882,32 +3890,32 @@ const Yd = /* @__PURE__ */ Se({
3882
3890
  emits: ["change"],
3883
3891
  setup(e, { emit: n }) {
3884
3892
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt);
3885
- if (k(r) || k(o) || k(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3886
- k(s.fields[t.name]) || k(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3887
- k(l[t.name]))
3893
+ if (D(r) || D(o) || D(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3894
+ D(s.fields[t.name]) || D(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3895
+ D(l[t.name]))
3888
3896
  throw new Error("Incorrect provide/inject config.");
3889
3897
  const i = U({
3890
3898
  get() {
3891
3899
  return l[t.name];
3892
3900
  },
3893
- set(v) {
3894
- l[t.name] = v, E(), s.touched = !0, a("change");
3901
+ set(b) {
3902
+ l[t.name] = b, T(), s.touched = !0, a("change");
3895
3903
  }
3896
- }), { t: u } = Re(), f = U(() => s.fields[t.name]), d = U(() => f.value.titleT ? u(f.value.titleT) : void 0), { clearOne: b } = ct(), p = () => {
3897
- b(t.name, l, s), o.value.delete(t.name);
3898
- }, E = () => {
3904
+ }), { t: u } = Re(), m = U(() => s.fields[t.name]), d = U(() => m.value.titleT ? u(m.value.titleT) : void 0), { clearOne: g } = ct(), p = () => {
3905
+ g(t.name, l, s), o.value.delete(t.name);
3906
+ }, T = () => {
3899
3907
  !Oe(i.value) || Oe(i.value) && i.value.length === 0 || o.value.set(t.name, [
3900
3908
  { title: dn(i.value), value: i.value }
3901
3909
  ]);
3902
3910
  };
3903
- return (v, m) => (P(), X(dr, it({
3911
+ return (b, c) => (P(), X(dr, it({
3904
3912
  modelValue: i.value,
3905
- "onUpdate:modelValue": m[0] || (m[0] = (c) => i.value = c),
3913
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
3906
3914
  "data-cy": e.dataCy,
3907
- clearable: !f.value.mandatory,
3908
- "default-value": f.value.default,
3915
+ clearable: !m.value.mandatory,
3916
+ "default-value": m.value.default,
3909
3917
  label: d.value
3910
- }, v.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
3918
+ }, b.$attrs, { onAfterClear: p }), null, 16, ["modelValue", "data-cy", "clearable", "default-value", "label"]));
3911
3919
  }
3912
3920
  }), ji = /* @__PURE__ */ Se({
3913
3921
  __name: "AFilterInteger",
@@ -3919,20 +3927,20 @@ const Yd = /* @__PURE__ */ Se({
3919
3927
  emits: ["change"],
3920
3928
  setup(e, { emit: n }) {
3921
3929
  const t = e, a = n, r = J(pt), o = J(ot), s = J(Ke), l = J(tt);
3922
- if (k(r) || k(o) || k(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3923
- k(s.fields[t.name]) || k(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3924
- k(l[t.name]))
3930
+ if (D(r) || D(o) || D(s) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3931
+ D(s.fields[t.name]) || D(l) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3932
+ D(l[t.name]))
3925
3933
  throw new Error("Incorrect provide/inject config.");
3926
3934
  const i = U({
3927
3935
  get() {
3928
3936
  return l[t.name];
3929
3937
  },
3930
- set(m) {
3931
- l[t.name] = m, s.touched = !0, a("change");
3938
+ set(c) {
3939
+ l[t.name] = c, s.touched = !0, a("change");
3932
3940
  }
3933
- }), u = U(() => s.fields[t.name]), { t: f } = Re(), d = U(() => u.value.titleT ? f(u.value.titleT) : void 0), b = U(() => k(t.placeholder) ? u.value.variant === "startsWith" ? f("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? f("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? f("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), E = () => {
3941
+ }), u = U(() => s.fields[t.name]), { t: m } = Re(), d = U(() => u.value.titleT ? m(u.value.titleT) : void 0), g = U(() => D(t.placeholder) ? u.value.variant === "startsWith" ? m("common.model.filterPlaceholder.startsWith") : u.value.variant === "eq" ? m("common.model.filterPlaceholder.eq") : u.value.variant === "search" ? m("common.model.filterPlaceholder.contains") : "" : t.placeholder), { clearOne: p } = ct(), T = () => {
3934
3942
  p(t.name, l, s), o.value.delete(t.name);
3935
- }, v = () => {
3943
+ }, b = () => {
3936
3944
  if (Gt(i.value)) {
3937
3945
  o.value.set(t.name, [
3938
3946
  { title: i.value + "", value: i.value }
@@ -3949,21 +3957,21 @@ const Yd = /* @__PURE__ */ Se({
3949
3957
  };
3950
3958
  return Ae(
3951
3959
  () => l[t.name],
3952
- (m, c) => {
3953
- m === c || Je(m) || v();
3960
+ (c, f) => {
3961
+ c === f || Je(c) || b();
3954
3962
  },
3955
3963
  { immediate: !0 }
3956
- ), (m, c) => (P(), X(ia, {
3964
+ ), (c, f) => (P(), X(ia, {
3957
3965
  modelValue: i.value,
3958
- "onUpdate:modelValue": c[0] || (c[0] = (h) => i.value = h),
3966
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => i.value = v),
3959
3967
  label: d.value,
3960
- placeholder: b.value,
3968
+ placeholder: g.value,
3961
3969
  clearable: !u.value.mandatory,
3962
3970
  "data-cy": e.dataCy,
3963
3971
  "hide-details": "",
3964
3972
  autocomplete: "off",
3965
- onBlur: v,
3966
- "onClick:clear": ye(E, ["stop"])
3973
+ onBlur: b,
3974
+ "onClick:clear": ye(T, ["stop"])
3967
3975
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3968
3976
  }
3969
3977
  }), pr = /* @__PURE__ */ Se({
@@ -3973,8 +3981,8 @@ const Yd = /* @__PURE__ */ Se({
3973
3981
  },
3974
3982
  setup(e) {
3975
3983
  const n = e, t = J(Ke);
3976
- if (k(t) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3977
- k(t.fields[n.name]))
3984
+ if (D(t) || // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3985
+ D(t.fields[n.name]))
3978
3986
  throw new Error("Incorrect provide/inject config.");
3979
3987
  const a = U(() => t.fields[n.name]), r = U(() => {
3980
3988
  if (a.value.render.skip) return Mo;
@@ -4024,51 +4032,51 @@ const Zn = {
4024
4032
  }
4025
4033
  function a() {
4026
4034
  let l = null, i = 1 / 0;
4027
- e.value.forEach((u, f) => {
4028
- u.lastUsed < i && (i = u.lastUsed, l = f);
4035
+ e.value.forEach((u, m) => {
4036
+ u.lastUsed < i && (i = u.lastUsed, l = m);
4029
4037
  }), l !== null && e.value.delete(l);
4030
4038
  }
4031
4039
  async function r(l, i, u = !1) {
4032
4040
  n.value = !1;
4033
- const f = t(l.layoutType, l.systemResource), d = Date.now();
4041
+ const m = t(l.layoutType, l.systemResource), d = Date.now();
4034
4042
  if (!u) {
4035
- const h = e.value.get(f);
4036
- if (h)
4037
- return h.lastUsed = d, h.items;
4043
+ const v = e.value.get(m);
4044
+ if (v)
4045
+ return v.lastUsed = d, v.items;
4038
4046
  }
4039
- const { pagination: b } = kn("position", Ct.Asc, {
4047
+ const { pagination: g } = kn("position", Ct.Asc, {
4040
4048
  rowsPerPage: Pa
4041
- }), { start: p, end: E } = wn(
4049
+ }), { start: p, end: T } = wn(
4042
4050
  l.systemResource,
4043
4051
  "_"
4044
- ), { filterConfig: v, filterData: m } = $o(p, E);
4045
- m.configType = Zn.FilterBookmark, m.layoutType = l.layoutType, m.systemResource = l.systemResource, m.user = l.user;
4046
- let c = [];
4052
+ ), { filterConfig: b, filterData: c } = $o(p, T);
4053
+ c.configType = Zn.FilterBookmark, c.layoutType = l.layoutType, c.systemResource = l.systemResource, c.user = l.user;
4054
+ let f = [];
4047
4055
  try {
4048
- const { executeFetch: h } = i();
4049
- c = await h(b, m, v), e.value.set(f, { lastUsed: d, items: c });
4056
+ const { executeFetch: v } = i();
4057
+ f = await v(g, c, b), e.value.set(m, { lastUsed: d, items: f });
4050
4058
  } catch {
4051
4059
  n.value = !0;
4052
4060
  }
4053
- return e.value.size > Wi && a(), c;
4061
+ return e.value.size > Wi && a(), f;
4054
4062
  }
4055
4063
  async function o(l, i) {
4056
4064
  n.value = !1;
4057
4065
  const { pagination: u } = kn("position", Ct.Asc, {
4058
4066
  rowsPerPage: Pa + 1
4059
- }), { start: f, end: d } = wn(
4067
+ }), { start: m, end: d } = wn(
4060
4068
  l.systemResource,
4061
4069
  "_"
4062
- ), { filterConfig: b, filterData: p } = $o(f, d);
4070
+ ), { filterConfig: g, filterData: p } = $o(m, d);
4063
4071
  p.configType = Zn.FilterBookmark, p.layoutType = l.layoutType, p.systemResource = l.systemResource, p.user = l.user;
4064
- let E = 1 / 0;
4072
+ let T = 1 / 0;
4065
4073
  try {
4066
- const { executeFetch: v } = i();
4067
- E = (await v(u, p, b)).length;
4074
+ const { executeFetch: b } = i();
4075
+ T = (await b(u, p, g)).length;
4068
4076
  } catch {
4069
4077
  n.value = !0;
4070
4078
  }
4071
- return E;
4079
+ return T;
4072
4080
  }
4073
4081
  function s(l, i) {
4074
4082
  e.value.get(l)?.items.push(i);
@@ -4082,76 +4090,85 @@ const Zn = {
4082
4090
  fetchBookmarksCount: o
4083
4091
  };
4084
4092
  }), rn = (e) => {
4085
- const { client: n, method: t, system: a, entity: r, urlTemplate: o, urlParams: s, options: l = {} } = e;
4086
- let i = null;
4093
+ const {
4094
+ client: n,
4095
+ method: t,
4096
+ system: a,
4097
+ entity: r,
4098
+ urlTemplate: o,
4099
+ urlParams: s,
4100
+ options: l = {},
4101
+ silentConsoleError: i = !1
4102
+ } = e;
4103
+ let u = null;
4087
4104
  return {
4088
- executeRequest: async (d = {}) => {
4089
- i = new AbortController();
4090
- const b = d.urlTemplate, p = d.urlParams, E = d.object;
4105
+ executeRequest: async (g = {}) => {
4106
+ u = new AbortController();
4107
+ const p = g.urlTemplate, T = g.urlParams, b = g.object;
4091
4108
  try {
4092
- const v = { method: t }, m = he(p) ? p : s, c = he(b) ? b : o;
4093
- if (k(c)) throw new Error("Url template is undefined");
4094
- v.url = c, c !== "" && !k(m) && (v.url = Mn(c, m)), G(E) || (v.data = JSON.stringify(E));
4095
- const h = await n().request({
4109
+ const c = { method: t }, f = he(T) ? T : s, v = he(p) ? p : o;
4110
+ if (D(v)) throw new Error("Url template is undefined");
4111
+ c.url = v, v !== "" && !D(f) && (c.url = Mn(v, f)), G(b) || (c.data = JSON.stringify(b));
4112
+ const w = await n().request({
4096
4113
  ...l,
4097
- ...v,
4098
- signal: i.signal
4114
+ ...c,
4115
+ signal: u.signal
4099
4116
  });
4100
- if (!$n(h.status))
4101
- throw new nn(h.status);
4102
- if (h.data)
4103
- return h.data;
4104
- if (h.status === Qt)
4117
+ if (!$n(w.status))
4118
+ throw new nn(w.status);
4119
+ if (w.data)
4120
+ return w.data;
4121
+ if (w.status === Qt)
4105
4122
  return;
4106
4123
  throw new ut();
4107
- } catch (v) {
4108
- if (v instanceof DOMException && v.name === "AbortError")
4124
+ } catch (c) {
4125
+ if (c instanceof DOMException && c.name === "AbortError")
4109
4126
  return [];
4110
- throw eo(v) ? v : Tn(v) ? new en(v, v.config?.url) : An(v) ? new tn(v, a, r, v) : _n(v) ? new on(v, a, r, v) : xn(v) ? new an(v, v) : lr(v) ? new to(v) : Lt.isAxiosError(v) ? (console.error("Axios error: " + o, v.cause), new no(v)) : (console.error("AnzuFatalError: ", v), new ut(v));
4127
+ throw eo(c) ? c : Tn(c) ? new en(c, c.config?.url) : An(c) ? new tn(c, a, r, c) : _n(c) ? new on(c, a, r, c) : xn(c) ? new an(c, c) : lr(c) ? new to(c) : Lt.isAxiosError(c) ? (i || console.error("Axios error: " + o, ...c.cause ? [c.cause] : []), new no(c)) : (i || console.error("AnzuFatalError: ", c), new ut(c));
4111
4128
  } finally {
4112
- i = null;
4129
+ u = null;
4113
4130
  }
4114
4131
  },
4115
4132
  abortRequest: () => {
4116
- i && i.abort();
4133
+ u && u.abort();
4117
4134
  }
4118
4135
  };
4119
4136
  }, Fo = "/adm/v1/user-admin-config", Ki = "userAdminConfig";
4120
4137
  function gr(e, n, t = Ki, a = Fo) {
4121
4138
  return {
4122
4139
  useFetchUserAdminConfigList: () => Oi({ client: e, system: n, entity: t, urlTemplate: Fo }),
4123
- fetchUserAdminConfig: (f) => {
4140
+ fetchUserAdminConfig: (m) => {
4124
4141
  const { executeRequest: d } = rn({
4125
4142
  client: e,
4126
4143
  method: "GET",
4127
4144
  system: n,
4128
4145
  entity: t
4129
4146
  });
4130
- return d({ urlTemplate: a + "/:id", urlParams: { id: f } });
4147
+ return d({ urlTemplate: a + "/:id", urlParams: { id: m } });
4131
4148
  },
4132
- createUserAdminConfig: (f) => {
4149
+ createUserAdminConfig: (m) => {
4133
4150
  const { executeRequest: d } = rn({
4134
4151
  client: e,
4135
4152
  method: "POST",
4136
4153
  system: n,
4137
4154
  entity: t
4138
4155
  });
4139
- return d({ urlTemplate: a, object: f });
4156
+ return d({ urlTemplate: a, object: m });
4140
4157
  },
4141
- updateUserAdminConfig: (f, d) => {
4142
- const { executeRequest: b } = rn({
4158
+ updateUserAdminConfig: (m, d) => {
4159
+ const { executeRequest: g } = rn({
4143
4160
  client: e,
4144
4161
  method: "PUT",
4145
4162
  system: n,
4146
4163
  entity: t
4147
4164
  });
4148
- return b({ urlTemplate: a + "/:id", urlParams: { id: f }, object: d });
4165
+ return g({ urlTemplate: a + "/:id", urlParams: { id: m }, object: d });
4149
4166
  },
4150
- deleteUserAdminConfig: (f) => {
4167
+ deleteUserAdminConfig: (m) => {
4151
4168
  const { executeRequest: d } = rn({ client: e, method: "DELETE", system: n, entity: t });
4152
- return d({ urlTemplate: a + "/:id", urlParams: { id: f } });
4169
+ return d({ urlTemplate: a + "/:id", urlParams: { id: m } });
4153
4170
  },
4154
- updateUserAdminConfigPositions: (f) => {
4171
+ updateUserAdminConfigPositions: (m) => {
4155
4172
  const { executeRequest: d } = rn({
4156
4173
  client: e,
4157
4174
  method: "PATCH",
@@ -4160,7 +4177,7 @@ function gr(e, n, t = Ki, a = Fo) {
4160
4177
  });
4161
4178
  return d({
4162
4179
  urlTemplate: a + "/update-positions",
4163
- object: { userAdminConfigs: f }
4180
+ object: { userAdminConfigs: m }
4164
4181
  });
4165
4182
  }
4166
4183
  };
@@ -4182,30 +4199,30 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
4182
4199
  emits: /* @__PURE__ */ mt(["submit"], ["update:datatableHiddenColumns"]),
4183
4200
  setup(e, { emit: n }) {
4184
4201
  const t = e, a = n, r = Tt(e, "datatableHiddenColumns"), o = J(Ke), s = J(tt), l = J(mr), i = J(ot);
4185
- if (k(l) || k(o) || k(s) || k(i))
4202
+ if (D(l) || D(o) || D(s) || D(i))
4186
4203
  throw new Error("Incorrect provide/inject config.");
4187
- const u = L(!1), f = Ot("toolbar"), d = L(300), b = L(1e3), p = hr(), { useFetchUserAdminConfigList: E } = gr(t.client, t.system), v = t.system + "_" + t.subject, m = async (g = !1) => {
4204
+ const u = L(!1), m = Ot("toolbar"), d = L(300), g = L(1e3), p = hr(), { useFetchUserAdminConfigList: T } = gr(t.client, t.system), b = t.system + "_" + t.subject, c = async (h = !1) => {
4188
4205
  u.value = !0, await p.getBookmarks(
4189
4206
  {
4190
4207
  user: t.userId,
4191
4208
  layoutType: Ft.Desktop,
4192
- systemResource: v
4209
+ systemResource: b
4193
4210
  },
4194
- E,
4195
- g
4211
+ T,
4212
+ h
4196
4213
  ), u.value = !1;
4197
- }, { deserializeFilters: c } = fr(s, o), h = (g) => {
4198
- const I = g.data;
4214
+ }, { deserializeFilters: f } = fr(s, o), v = (h) => {
4215
+ const I = h.data;
4199
4216
  he(I.datatableHiddenColumns) && he(r.value) && (r.value = I.datatableHiddenColumns), he(I.sortBy) && (l.value = {
4200
4217
  ...l.value,
4201
4218
  sortBy: { key: I.sortBy.key, order: I.sortBy.order }
4202
4219
  });
4203
- const Y = c(I.filter);
4220
+ const Y = f(I.filter);
4204
4221
  if (!G(Y)) {
4205
- for (const T in s) {
4206
- const $ = T;
4222
+ for (const E in s) {
4223
+ const $ = E;
4207
4224
  let N = Y.filters[$];
4208
- if (k(N) && o.fields[$]?.clearable) {
4225
+ if (D(N) && o.fields[$]?.clearable) {
4209
4226
  s[$] = $e(o.fields[$].default), i.value.delete($);
4210
4227
  continue;
4211
4228
  }
@@ -4222,51 +4239,51 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
4222
4239
  }
4223
4240
  a("submit");
4224
4241
  }
4225
- }, D = async (g) => {
4226
- const I = f.value;
4242
+ }, w = async (h) => {
4243
+ const I = m.value;
4227
4244
  if (G(I)) return;
4228
- b.value = 1e3, await Ye();
4229
- let Y = 0, T = 0;
4245
+ g.value = 1e3, await Ye();
4246
+ let Y = 0, E = 0;
4230
4247
  for (let $ = 0; $ < I.children.length; $++) {
4231
4248
  const M = I.children[$].offsetWidth;
4232
- if (Y += M, Y >= g - Xi)
4249
+ if (Y += M, Y >= h - Xi)
4233
4250
  break;
4234
- T++;
4251
+ E++;
4235
4252
  }
4236
- b.value = T;
4253
+ g.value = E;
4237
4254
  };
4238
- zr(f, (g) => {
4239
- g[0] && (d.value = g[0].contentRect.width);
4255
+ zr(m, (h) => {
4256
+ h[0] && (d.value = h[0].contentRect.width);
4240
4257
  }), Wr(
4241
4258
  d,
4242
- (g, I) => {
4243
- g !== I && D(g);
4259
+ (h, I) => {
4260
+ h !== I && w(h);
4244
4261
  },
4245
4262
  { throttle: 1e3 }
4246
4263
  );
4247
4264
  const F = U(() => {
4248
- const g = p.generateKey(Ft.Desktop, v);
4249
- return p.bookmarks.get(g)?.items ?? [];
4250
- }), w = U(() => {
4251
- const g = b.value;
4265
+ const h = p.generateKey(Ft.Desktop, b);
4266
+ return p.bookmarks.get(h)?.items ?? [];
4267
+ }), k = U(() => {
4268
+ const h = g.value;
4252
4269
  return {
4253
- visible: F.value.slice(0, g),
4254
- hidden: F.value.slice(g)
4270
+ visible: F.value.slice(0, h),
4271
+ hidden: F.value.slice(h)
4255
4272
  };
4256
4273
  });
4257
- return Ae([u, () => F.value.length], ([g]) => {
4258
- g === !0 || G(f.value) || (d.value = f.value.clientWidth, Ye(() => {
4259
- D(d.value);
4274
+ return Ae([u, () => F.value.length], ([h]) => {
4275
+ h === !0 || G(m.value) || (d.value = m.value.clientWidth, Ye(() => {
4276
+ w(d.value);
4260
4277
  }));
4261
4278
  }), ja(() => {
4262
- m();
4263
- }), (g, I) => (P(), de("div", {
4279
+ c();
4280
+ }), (h, I) => (P(), de("div", {
4264
4281
  ref: "toolbar",
4265
4282
  key: F.value.length,
4266
4283
  class: "w-100 d-flex overflow-hidden align-center mb-1"
4267
4284
  }, [
4268
4285
  u.value ? (P(), de("div", Gi)) : (P(), de(qe, { key: 1 }, [
4269
- (P(!0), de(qe, null, Bt(w.value.visible, (Y) => (P(), de("div", {
4286
+ (P(!0), de(qe, null, Bt(k.value.visible, (Y) => (P(), de("div", {
4270
4287
  key: Y.id,
4271
4288
  class: "white-space-nowrap"
4272
4289
  }, [
@@ -4275,7 +4292,7 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
4275
4292
  "prepend-icon": "mdi-bookmark-outline",
4276
4293
  size: "small",
4277
4294
  class: "mr-1 mb-1 bg-grey-lighten-4 text-grey-darken-3",
4278
- onClick: (T) => h(Y)
4295
+ onClick: (E) => v(Y)
4279
4296
  }, {
4280
4297
  default: B(() => [
4281
4298
  De(fe(Y.customName), 1)
@@ -4283,7 +4300,7 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
4283
4300
  _: 2
4284
4301
  }, 1032, ["onClick"])
4285
4302
  ]))), 128)),
4286
- w.value.hidden.length > 0 ? (P(), X(Ka, {
4303
+ k.value.hidden.length > 0 ? (P(), X(Ka, {
4287
4304
  key: 0,
4288
4305
  location: "bottom"
4289
4306
  }, {
@@ -4298,9 +4315,9 @@ const Gi = { key: 0 }, Xi = 32, br = /* @__PURE__ */ Se({
4298
4315
  default: B(() => [
4299
4316
  O(zo, { density: "compact" }, {
4300
4317
  default: B(() => [
4301
- (P(!0), de(qe, null, Bt(w.value.hidden, (Y) => (P(), X(Rt, {
4318
+ (P(!0), de(qe, null, Bt(k.value.hidden, (Y) => (P(), X(Rt, {
4302
4319
  key: Y.id,
4303
- onClick: (T) => h(Y)
4320
+ onClick: (E) => v(Y)
4304
4321
  }, {
4305
4322
  default: B(() => [
4306
4323
  O(Qr, null, {
@@ -4491,18 +4508,18 @@ function ft() {
4491
4508
  }
4492
4509
  function Le(e, n, t, a, r) {
4493
4510
  if (!(!e.getBoundingClientRect && e !== window)) {
4494
- var o, s, l, i, u, f, d;
4495
- if (e !== window && e.parentNode && e !== ft() ? (o = e.getBoundingClientRect(), s = o.top, l = o.left, i = o.bottom, u = o.right, f = o.height, d = o.width) : (s = 0, l = 0, i = window.innerHeight, u = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !wt))
4511
+ var o, s, l, i, u, m, d;
4512
+ if (e !== window && e.parentNode && e !== ft() ? (o = e.getBoundingClientRect(), s = o.top, l = o.left, i = o.bottom, u = o.right, m = o.height, d = o.width) : (s = 0, l = 0, i = window.innerHeight, u = window.innerWidth, m = window.innerHeight, d = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !wt))
4496
4513
  do
4497
4514
  if (r && r.getBoundingClientRect && (ne(r, "transform") !== "none" || t && ne(r, "position") !== "static")) {
4498
- var b = r.getBoundingClientRect();
4499
- s -= b.top + parseInt(ne(r, "border-top-width")), l -= b.left + parseInt(ne(r, "border-left-width")), i = s + o.height, u = l + o.width;
4515
+ var g = r.getBoundingClientRect();
4516
+ s -= g.top + parseInt(ne(r, "border-top-width")), l -= g.left + parseInt(ne(r, "border-left-width")), i = s + o.height, u = l + o.width;
4500
4517
  break;
4501
4518
  }
4502
4519
  while (r = r.parentNode);
4503
4520
  if (a && e !== window) {
4504
- var p = zt(r || e), E = p && p.a, v = p && p.d;
4505
- p && (s /= v, l /= E, d /= E, f /= v, i = s + f, u = l + d);
4521
+ var p = zt(r || e), T = p && p.a, b = p && p.d;
4522
+ p && (s /= b, l /= T, d /= T, m /= b, i = s + m, u = l + d);
4506
4523
  }
4507
4524
  return {
4508
4525
  top: s,
@@ -4510,7 +4527,7 @@ function Le(e, n, t, a, r) {
4510
4527
  bottom: i,
4511
4528
  right: u,
4512
4529
  width: d,
4513
- height: f
4530
+ height: m
4514
4531
  };
4515
4532
  }
4516
4533
  }
@@ -4658,9 +4675,9 @@ function lu() {
4658
4675
  }
4659
4676
  var o = !1, s = 0;
4660
4677
  e.forEach(function(l) {
4661
- var i = 0, u = l.target, f = u.fromRect, d = Le(u), b = u.prevFromRect, p = u.prevToRect, E = l.rect, v = zt(u, !0);
4662
- v && (d.top -= v.f, d.left -= v.e), u.toRect = d, u.thisAnimationDuration && Da(b, d) && !Da(f, d) && // Make sure animatingRect is on line between toRect & fromRect
4663
- (E.top - d.top) / (E.left - d.left) === (f.top - d.top) / (f.left - d.left) && (i = iu(E, b, p, r.options)), Da(d, f) || (u.prevFromRect = f, u.prevToRect = d, i || (i = r.options.animation), r.animate(u, E, d, i)), i && (o = !0, s = Math.max(s, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4678
+ var i = 0, u = l.target, m = u.fromRect, d = Le(u), g = u.prevFromRect, p = u.prevToRect, T = l.rect, b = zt(u, !0);
4679
+ b && (d.top -= b.f, d.left -= b.e), u.toRect = d, u.thisAnimationDuration && Da(g, d) && !Da(m, d) && // Make sure animatingRect is on line between toRect & fromRect
4680
+ (T.top - d.top) / (T.left - d.left) === (m.top - d.top) / (m.left - d.left) && (i = iu(T, g, p, r.options)), Da(d, m) || (u.prevFromRect = m, u.prevToRect = d, i || (i = r.options.animation), r.animate(u, T, d, i)), i && (o = !0, s = Math.max(s, i), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4664
4681
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
4665
4682
  }, i), u.thisAnimationDuration = i);
4666
4683
  }), clearTimeout(n), o ? n = setTimeout(function() {
@@ -4670,8 +4687,8 @@ function lu() {
4670
4687
  animate: function(a, r, o, s) {
4671
4688
  if (s) {
4672
4689
  ne(a, "transition", ""), ne(a, "transform", "");
4673
- var l = zt(this.el), i = l && l.a, u = l && l.d, f = (r.left - o.left) / (i || 1), d = (r.top - o.top) / (u || 1);
4674
- a.animatingX = !!f, a.animatingY = !!d, ne(a, "transform", "translate3d(" + f + "px," + d + "px,0)"), this.forRepaintDummy = su(a), ne(a, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
4690
+ var l = zt(this.el), i = l && l.a, u = l && l.d, m = (r.left - o.left) / (i || 1), d = (r.top - o.top) / (u || 1);
4691
+ a.animatingX = !!m, a.animatingY = !!d, ne(a, "transform", "translate3d(" + m + "px," + d + "px,0)"), this.forRepaintDummy = su(a), ne(a, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), ne(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
4675
4692
  ne(a, "transition", ""), ne(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
4676
4693
  }, s);
4677
4694
  }
@@ -4737,17 +4754,17 @@ var Ut = [], ka = {
4737
4754
  }
4738
4755
  };
4739
4756
  function uu(e) {
4740
- var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, s = e.toEl, l = e.fromEl, i = e.oldIndex, u = e.newIndex, f = e.oldDraggableIndex, d = e.newDraggableIndex, b = e.originalEvent, p = e.putSortable, E = e.extraEventProperties;
4757
+ var n = e.sortable, t = e.rootEl, a = e.name, r = e.targetEl, o = e.cloneEl, s = e.toEl, l = e.fromEl, i = e.oldIndex, u = e.newIndex, m = e.oldDraggableIndex, d = e.newDraggableIndex, g = e.originalEvent, p = e.putSortable, T = e.extraEventProperties;
4741
4758
  if (n = n || t && t[We], !!n) {
4742
- var v, m = n.options, c = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4743
- window.CustomEvent && !wt && !Fn ? v = new CustomEvent(a, {
4759
+ var b, c = n.options, f = "on" + a.charAt(0).toUpperCase() + a.substr(1);
4760
+ window.CustomEvent && !wt && !Fn ? b = new CustomEvent(a, {
4744
4761
  bubbles: !0,
4745
4762
  cancelable: !0
4746
- }) : (v = document.createEvent("Event"), v.initEvent(a, !0, !0)), v.to = s || t, v.from = l || t, v.item = r || t, v.clone = o, v.oldIndex = i, v.newIndex = u, v.oldDraggableIndex = f, v.newDraggableIndex = d, v.originalEvent = b, v.pullMode = p ? p.lastPutMode : void 0;
4747
- var h = vt(vt({}, E), On.getEventProperties(a, n));
4748
- for (var D in h)
4749
- v[D] = h[D];
4750
- t && t.dispatchEvent(v), m[c] && m[c].call(n, v);
4763
+ }) : (b = document.createEvent("Event"), b.initEvent(a, !0, !0)), b.to = s || t, b.from = l || t, b.item = r || t, b.clone = o, b.oldIndex = i, b.newIndex = u, b.oldDraggableIndex = m, b.newDraggableIndex = d, b.originalEvent = g, b.pullMode = p ? p.lastPutMode : void 0;
4764
+ var v = vt(vt({}, T), On.getEventProperties(a, n));
4765
+ for (var w in v)
4766
+ b[w] = v[w];
4767
+ t && t.dispatchEvent(b), c[f] && c[f].call(n, b);
4751
4768
  }
4752
4769
  }
4753
4770
  var cu = ["evt"], ze = function(n, t) {
@@ -4806,7 +4823,7 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
4806
4823
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
4807
4824
  }
4808
4825
  })(), xr = function(n, t) {
4809
- var a = ne(n), r = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Xt(n, 0, t), s = Xt(n, 1, t), l = o && ne(o), i = s && ne(s), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Le(o).width, f = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Le(s).width;
4826
+ var a = ne(n), r = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = Xt(n, 0, t), s = Xt(n, 1, t), l = o && ne(o), i = s && ne(s), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Le(o).width, m = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Le(s).width;
4810
4827
  if (a.display === "flex")
4811
4828
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
4812
4829
  if (a.display === "grid")
@@ -4815,7 +4832,7 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
4815
4832
  var d = l.float === "left" ? "left" : "right";
4816
4833
  return s && (i.clear === "both" || i.clear === d) ? "vertical" : "horizontal";
4817
4834
  }
4818
- return o && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && a[Uo] === "none" || s && a[Uo] === "none" && u + f > r) ? "vertical" : "horizontal";
4835
+ return o && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && a[Uo] === "none" || s && a[Uo] === "none" && u + m > r) ? "vertical" : "horizontal";
4819
4836
  }, fu = function(n, t, a) {
4820
4837
  var r = a ? n.left : n.top, o = a ? n.right : n.bottom, s = a ? n.width : n.height, l = a ? t.left : t.top, i = a ? t.right : t.bottom, u = a ? t.width : t.height;
4821
4838
  return r === l || o === i || r + s / 2 === l + u / 2;
@@ -4831,7 +4848,7 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
4831
4848
  }), a;
4832
4849
  }, _r = function(n) {
4833
4850
  function t(o, s) {
4834
- return function(l, i, u, f) {
4851
+ return function(l, i, u, m) {
4835
4852
  var d = l.options.group.name && i.options.group.name && l.options.group.name === i.options.group.name;
4836
4853
  if (o == null && (s || d))
4837
4854
  return !0;
@@ -4840,9 +4857,9 @@ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea
4840
4857
  if (s && o === "clone")
4841
4858
  return o;
4842
4859
  if (typeof o == "function")
4843
- return t(o(l, i, u, f), s)(l, i, u, f);
4844
- var b = (s ? l : i).options.group.name;
4845
- return o === !0 || typeof o == "string" && o === b || o.join && o.indexOf(b) > -1;
4860
+ return t(o(l, i, u, m), s)(l, i, u, m);
4861
+ var g = (s ? l : i).options.group.name;
4862
+ return o === !0 || typeof o == "string" && o === g || o.join && o.indexOf(g) > -1;
4846
4863
  };
4847
4864
  }
4848
4865
  var a = {}, r = n.group;
@@ -4941,10 +4958,10 @@ ae.prototype = /** @lends Sortable.prototype */
4941
4958
  },
4942
4959
  _onTapStart: function(n) {
4943
4960
  if (n.cancelable) {
4944
- var t = this, a = this.el, r = this.options, o = r.preventOnFilter, s = n.type, l = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (l || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, f = r.filter;
4961
+ var t = this, a = this.el, r = this.options, o = r.preventOnFilter, s = n.type, l = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, i = (l || n).target, u = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || i, m = r.filter;
4945
4962
  if (wu(a), !V && !(/mousedown|pointerdown/.test(s) && n.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && hn && i && i.tagName.toUpperCase() === "SELECT") && (i = st(i, r.draggable, a, !1), !(i && i.animated) && jn !== i)) {
4946
- if (qt = at(i), bn = at(i, r.draggable), typeof f == "function") {
4947
- if (f.call(this, n, i, this)) {
4963
+ if (qt = at(i), bn = at(i, r.draggable), typeof m == "function") {
4964
+ if (m.call(this, n, i, this)) {
4948
4965
  je({
4949
4966
  sortable: t,
4950
4967
  rootEl: u,
@@ -4957,7 +4974,7 @@ ae.prototype = /** @lends Sortable.prototype */
4957
4974
  }), o && n.preventDefault();
4958
4975
  return;
4959
4976
  }
4960
- } else if (f && (f = f.split(",").some(function(d) {
4977
+ } else if (m && (m = m.split(",").some(function(d) {
4961
4978
  if (d = st(u, d.trim(), a, !1), d)
4962
4979
  return je({
4963
4980
  sortable: t,
@@ -4969,7 +4986,7 @@ ae.prototype = /** @lends Sortable.prototype */
4969
4986
  }), ze("filter", t, {
4970
4987
  evt: n
4971
4988
  }), !0;
4972
- }), f)) {
4989
+ }), m)) {
4973
4990
  o && n.preventDefault();
4974
4991
  return;
4975
4992
  }
@@ -4997,8 +5014,8 @@ ae.prototype = /** @lends Sortable.prototype */
4997
5014
  name: "choose",
4998
5015
  originalEvent: n
4999
5016
  }), Ge(V, s.chosenClass, !0);
5000
- }, s.ignore.split(",").forEach(function(f) {
5001
- wr(V, f.trim(), xa);
5017
+ }, s.ignore.split(",").forEach(function(m) {
5018
+ wr(V, m.trim(), xa);
5002
5019
  }), pe(l, "dragover", _t), pe(l, "mousemove", _t), pe(l, "touchmove", _t), s.supportPointer ? (pe(l, "pointerup", r._onDrop), !this.nativeDraggable && pe(l, "pointercancel", r._onDrop)) : (pe(l, "mouseup", r._onDrop), pe(l, "touchend", r._onDrop), pe(l, "touchcancel", r._onDrop)), Bo && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), ze("delayStart", this, {
5003
5020
  evt: n
5004
5021
  }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Fn || wt))) {
@@ -5069,23 +5086,23 @@ ae.prototype = /** @lends Sortable.prototype */
5069
5086
  },
5070
5087
  _onTouchMove: function(n) {
5071
5088
  if (xt) {
5072
- var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = oe && zt(oe, !0), l = oe && s && s.a, i = oe && s && s.d, u = Nn && He && Lo(He), f = (o.clientX - xt.clientX + r.x) / (l || 1) + (u ? u[0] - Aa[0] : 0) / (l || 1), d = (o.clientY - xt.clientY + r.y) / (i || 1) + (u ? u[1] - Aa[1] : 0) / (i || 1);
5089
+ var t = this.options, a = t.fallbackTolerance, r = t.fallbackOffset, o = n.touches ? n.touches[0] : n, s = oe && zt(oe, !0), l = oe && s && s.a, i = oe && s && s.d, u = Nn && He && Lo(He), m = (o.clientX - xt.clientX + r.x) / (l || 1) + (u ? u[0] - Aa[0] : 0) / (l || 1), d = (o.clientY - xt.clientY + r.y) / (i || 1) + (u ? u[1] - Aa[1] : 0) / (i || 1);
5073
5090
  if (!ae.active && !Ht) {
5074
5091
  if (a && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < a)
5075
5092
  return;
5076
5093
  this._onDragStart(n, !0);
5077
5094
  }
5078
5095
  if (oe) {
5079
- s ? (s.e += f - (Ea || 0), s.f += d - (Ta || 0)) : s = {
5096
+ s ? (s.e += m - (Ea || 0), s.f += d - (Ta || 0)) : s = {
5080
5097
  a: 1,
5081
5098
  b: 0,
5082
5099
  c: 0,
5083
5100
  d: 1,
5084
- e: f,
5101
+ e: m,
5085
5102
  f: d
5086
5103
  };
5087
- var b = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
5088
- ne(oe, "webkitTransform", b), ne(oe, "mozTransform", b), ne(oe, "msTransform", b), ne(oe, "transform", b), Ea = f, Ta = d, lt = o;
5104
+ var g = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
5105
+ ne(oe, "webkitTransform", g), ne(oe, "mozTransform", g), ne(oe, "msTransform", g), ne(oe, "transform", g), Ea = m, Ta = d, lt = o;
5089
5106
  }
5090
5107
  n.cancelable && n.preventDefault();
5091
5108
  }
@@ -5118,39 +5135,39 @@ ae.prototype = /** @lends Sortable.prototype */
5118
5135
  },
5119
5136
  // Returns true - if no further action is needed (either inserted or another condition)
5120
5137
  _onDragOver: function(n) {
5121
- var t = this.el, a = n.target, r, o, s, l = this.options, i = l.group, u = ae.active, f = Pn === i, d = l.sort, b = Ve || u, p, E = this, v = !1;
5138
+ var t = this.el, a = n.target, r, o, s, l = this.options, i = l.group, u = ae.active, m = Pn === i, d = l.sort, g = Ve || u, p, T = this, b = !1;
5122
5139
  if (Na) return;
5123
- function m(x, R) {
5124
- ze(x, E, vt({
5140
+ function c(x, R) {
5141
+ ze(x, T, vt({
5125
5142
  evt: n,
5126
- isOwner: f,
5143
+ isOwner: m,
5127
5144
  axis: p ? "vertical" : "horizontal",
5128
5145
  revert: s,
5129
5146
  dragRect: r,
5130
5147
  targetRect: o,
5131
5148
  canSort: d,
5132
- fromSortable: b,
5149
+ fromSortable: g,
5133
5150
  target: a,
5134
- completed: h,
5151
+ completed: v,
5135
5152
  onMove: function(Q, re) {
5136
5153
  return Yn(_e, t, V, r, Q, Le(Q), n, re);
5137
5154
  },
5138
- changed: D
5155
+ changed: w
5139
5156
  }, R));
5140
5157
  }
5141
- function c() {
5142
- m("dragOverAnimationCapture"), E.captureAnimationState(), E !== b && b.captureAnimationState();
5158
+ function f() {
5159
+ c("dragOverAnimationCapture"), T.captureAnimationState(), T !== g && g.captureAnimationState();
5143
5160
  }
5144
- function h(x) {
5145
- return m("dragOverCompleted", {
5161
+ function v(x) {
5162
+ return c("dragOverCompleted", {
5146
5163
  insertion: x
5147
- }), x && (f ? u._hideClone() : u._showClone(E), E !== b && (Ge(V, Ve ? Ve.options.ghostClass : u.options.ghostClass, !1), Ge(V, l.ghostClass, !0)), Ve !== E && E !== ae.active ? Ve = E : E === ae.active && Ve && (Ve = null), b === E && (E._ignoreWhileAnimating = a), E.animateAll(function() {
5148
- m("dragOverAnimationComplete"), E._ignoreWhileAnimating = null;
5149
- }), E !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (a === V && !V.animated || a === t && !a.animated) && (Vt = null), !l.dragoverBubble && !n.rootEl && a !== document && (V.parentNode[We]._isOutsideThisEl(n.target), !x && _t(n)), !l.dragoverBubble && n.stopPropagation && n.stopPropagation(), v = !0;
5164
+ }), x && (m ? u._hideClone() : u._showClone(T), T !== g && (Ge(V, Ve ? Ve.options.ghostClass : u.options.ghostClass, !1), Ge(V, l.ghostClass, !0)), Ve !== T && T !== ae.active ? Ve = T : T === ae.active && Ve && (Ve = null), g === T && (T._ignoreWhileAnimating = a), T.animateAll(function() {
5165
+ c("dragOverAnimationComplete"), T._ignoreWhileAnimating = null;
5166
+ }), T !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (a === V && !V.animated || a === t && !a.animated) && (Vt = null), !l.dragoverBubble && !n.rootEl && a !== document && (V.parentNode[We]._isOutsideThisEl(n.target), !x && _t(n)), !l.dragoverBubble && n.stopPropagation && n.stopPropagation(), b = !0;
5150
5167
  }
5151
- function D() {
5168
+ function w() {
5152
5169
  Xe = at(V), Dt = at(V, l.draggable), je({
5153
- sortable: E,
5170
+ sortable: T,
5154
5171
  name: "change",
5155
5172
  toEl: t,
5156
5173
  newIndex: Xe,
@@ -5158,47 +5175,47 @@ ae.prototype = /** @lends Sortable.prototype */
5158
5175
  originalEvent: n
5159
5176
  });
5160
5177
  }
5161
- if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = st(a, l.draggable, t, !0), m("dragOver"), ae.eventCanceled) return v;
5162
- if (V.contains(n.target) || a.animated && a.animatingX && a.animatingY || E._ignoreWhileAnimating === a)
5163
- return h(!1);
5164
- if (Qn = !1, u && !l.disabled && (f ? d || (s = Fe !== _e) : Ve === this || (this.lastPutMode = Pn.checkPull(this, u, V, n)) && i.checkPut(this, u, V, n))) {
5165
- if (p = this._getDirection(n, a) === "vertical", r = Le(V), m("dragOverValid"), ae.eventCanceled) return v;
5178
+ if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = st(a, l.draggable, t, !0), c("dragOver"), ae.eventCanceled) return b;
5179
+ if (V.contains(n.target) || a.animated && a.animatingX && a.animatingY || T._ignoreWhileAnimating === a)
5180
+ return v(!1);
5181
+ if (Qn = !1, u && !l.disabled && (m ? d || (s = Fe !== _e) : Ve === this || (this.lastPutMode = Pn.checkPull(this, u, V, n)) && i.checkPut(this, u, V, n))) {
5182
+ if (p = this._getDirection(n, a) === "vertical", r = Le(V), c("dragOverValid"), ae.eventCanceled) return b;
5166
5183
  if (s)
5167
- return Fe = _e, c(), this._hideClone(), m("revert"), ae.eventCanceled || (It ? _e.insertBefore(V, It) : _e.appendChild(V)), h(!0);
5184
+ return Fe = _e, f(), this._hideClone(), c("revert"), ae.eventCanceled || (It ? _e.insertBefore(V, It) : _e.appendChild(V)), v(!0);
5168
5185
  var F = io(t, l.draggable);
5169
5186
  if (!F || bu(n, p, this) && !F.animated) {
5170
5187
  if (F === V)
5171
- return h(!1);
5188
+ return v(!1);
5172
5189
  if (F && t === n.target && (a = F), a && (o = Le(a)), Yn(_e, t, V, r, a, o, n, !!a) !== !1)
5173
- return c(), F && F.nextSibling ? t.insertBefore(V, F.nextSibling) : t.appendChild(V), Fe = t, D(), h(!0);
5190
+ return f(), F && F.nextSibling ? t.insertBefore(V, F.nextSibling) : t.appendChild(V), Fe = t, w(), v(!0);
5174
5191
  } else if (F && gu(n, p, this)) {
5175
- var w = Xt(t, 0, l, !0);
5176
- if (w === V)
5177
- return h(!1);
5178
- if (a = w, o = Le(a), Yn(_e, t, V, r, a, o, n, !1) !== !1)
5179
- return c(), t.insertBefore(V, w), Fe = t, D(), h(!0);
5192
+ var k = Xt(t, 0, l, !0);
5193
+ if (k === V)
5194
+ return v(!1);
5195
+ if (a = k, o = Le(a), Yn(_e, t, V, r, a, o, n, !1) !== !1)
5196
+ return f(), t.insertBefore(V, k), Fe = t, w(), v(!0);
5180
5197
  } else if (a.parentNode === t) {
5181
5198
  o = Le(a);
5182
- var g = 0, I, Y = V.parentNode !== t, T = !fu(V.animated && V.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", N = Po(a, "top", "top") || Po(V, "top", "top"), M = N ? N.scrollTop : void 0;
5183
- Vt !== a && (I = o[$], Cn = !1, Ln = !T && l.invertSwap || Y), g = yu(n, a, o, p, T ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ln, Vt === a);
5199
+ var h = 0, I, Y = V.parentNode !== t, E = !fu(V.animated && V.toRect || r, a.animated && a.toRect || o, p), $ = p ? "top" : "left", N = Po(a, "top", "top") || Po(V, "top", "top"), M = N ? N.scrollTop : void 0;
5200
+ Vt !== a && (I = o[$], Cn = !1, Ln = !E && l.invertSwap || Y), h = yu(n, a, o, p, E ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ln, Vt === a);
5184
5201
  var A;
5185
- if (g !== 0) {
5202
+ if (h !== 0) {
5186
5203
  var _ = at(V);
5187
5204
  do
5188
- _ -= g, A = Fe.children[_];
5205
+ _ -= h, A = Fe.children[_];
5189
5206
  while (A && (ne(A, "display") === "none" || A === oe));
5190
5207
  }
5191
- if (g === 0 || A === a)
5192
- return h(!1);
5193
- Vt = a, yn = g;
5208
+ if (h === 0 || A === a)
5209
+ return v(!1);
5210
+ Vt = a, yn = h;
5194
5211
  var S = a.nextElementSibling, y = !1;
5195
- y = g === 1;
5212
+ y = h === 1;
5196
5213
  var C = Yn(_e, t, V, r, a, o, n, y);
5197
5214
  if (C !== !1)
5198
- return (C === 1 || C === -1) && (y = C === 1), Na = !0, setTimeout(hu, 30), c(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), N && kr(N, 0, M - N.scrollTop), Fe = V.parentNode, I !== void 0 && !Ln && (qn = Math.abs(I - Le(a)[$])), D(), h(!0);
5215
+ return (C === 1 || C === -1) && (y = C === 1), Na = !0, setTimeout(hu, 30), f(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), N && kr(N, 0, M - N.scrollTop), Fe = V.parentNode, I !== void 0 && !Ln && (qn = Math.abs(I - Le(a)[$])), w(), v(!0);
5199
5216
  }
5200
5217
  if (t.contains(V))
5201
- return h(!1);
5218
+ return v(!1);
5202
5219
  }
5203
5220
  return !1;
5204
5221
  },
@@ -5368,11 +5385,11 @@ function pu(e) {
5368
5385
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
5369
5386
  }
5370
5387
  function Yn(e, n, t, a, r, o, s, l) {
5371
- var i, u = e[We], f = u.options.onMove, d;
5388
+ var i, u = e[We], m = u.options.onMove, d;
5372
5389
  return window.CustomEvent && !wt && !Fn ? i = new CustomEvent("move", {
5373
5390
  bubbles: !0,
5374
5391
  cancelable: !0
5375
- }) : (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 = l, i.originalEvent = s, e.dispatchEvent(i), f && (d = f.call(u, i, s)), d;
5392
+ }) : (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 = l, i.originalEvent = s, e.dispatchEvent(i), m && (d = m.call(u, i, s)), d;
5376
5393
  }
5377
5394
  function xa(e) {
5378
5395
  e.draggable = !1;
@@ -5389,17 +5406,17 @@ function bu(e, n, t) {
5389
5406
  return n ? e.clientX > r.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > r.bottom + o || e.clientX > a.right && e.clientY > a.top;
5390
5407
  }
5391
5408
  function yu(e, n, t, a, r, o, s, l) {
5392
- var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, f = a ? t.top : t.left, d = a ? t.bottom : t.right, b = !1;
5409
+ var i = a ? e.clientY : e.clientX, u = a ? t.height : t.width, m = a ? t.top : t.left, d = a ? t.bottom : t.right, g = !1;
5393
5410
  if (!s) {
5394
5411
  if (l && qn < u * r) {
5395
- if (!Cn && (yn === 1 ? i > f + u * o / 2 : i < d - u * o / 2) && (Cn = !0), Cn)
5396
- b = !0;
5397
- else if (yn === 1 ? i < f + qn : i > d - qn)
5412
+ if (!Cn && (yn === 1 ? i > m + u * o / 2 : i < d - u * o / 2) && (Cn = !0), Cn)
5413
+ g = !0;
5414
+ else if (yn === 1 ? i < m + qn : i > d - qn)
5398
5415
  return -yn;
5399
- } else if (i > f + u * (1 - r) / 2 && i < d - u * (1 - r) / 2)
5416
+ } else if (i > m + u * (1 - r) / 2 && i < d - u * (1 - r) / 2)
5400
5417
  return Cu(n);
5401
5418
  }
5402
- return b = b || s, b && (i < f + u * o / 2 || i > d - u * o / 2) ? i > f + u / 2 ? 1 : -1 : 0;
5419
+ return g = g || s, g && (i < m + u * o / 2 || i > d - u * o / 2) ? i > m + u / 2 ? 1 : -1 : 0;
5403
5420
  }
5404
5421
  function Cu(e) {
5405
5422
  return at(V) < at(e) ? 1 : -1;
@@ -5524,24 +5541,24 @@ function Vo() {
5524
5541
  }
5525
5542
  var Ma = Dr(function(e, n, t, a) {
5526
5543
  if (n.scroll) {
5527
- var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, s = n.scrollSensitivity, l = n.scrollSpeed, i = ft(), u = !1, f;
5528
- Ua !== t && (Ua = t, Wn(), mn = n.scroll, f = n.scrollFn, mn === !0 && (mn = Et(t, !0)));
5529
- var d = 0, b = mn;
5544
+ var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, s = n.scrollSensitivity, l = n.scrollSpeed, i = ft(), u = !1, m;
5545
+ Ua !== t && (Ua = t, Wn(), mn = n.scroll, m = n.scrollFn, mn === !0 && (mn = Et(t, !0)));
5546
+ var d = 0, g = mn;
5530
5547
  do {
5531
- var p = b, E = Le(p), v = E.top, m = E.bottom, c = E.left, h = E.right, D = E.width, F = E.height, w = void 0, g = void 0, I = p.scrollWidth, Y = p.scrollHeight, T = ne(p), $ = p.scrollLeft, N = p.scrollTop;
5532
- p === i ? (w = D < I && (T.overflowX === "auto" || T.overflowX === "scroll" || T.overflowX === "visible"), g = F < Y && (T.overflowY === "auto" || T.overflowY === "scroll" || T.overflowY === "visible")) : (w = D < I && (T.overflowX === "auto" || T.overflowX === "scroll"), g = F < Y && (T.overflowY === "auto" || T.overflowY === "scroll"));
5533
- var M = w && (Math.abs(h - r) <= s && $ + D < I) - (Math.abs(c - r) <= s && !!$), A = g && (Math.abs(m - o) <= s && N + F < Y) - (Math.abs(v - o) <= s && !!N);
5548
+ var p = g, T = Le(p), b = T.top, c = T.bottom, f = T.left, v = T.right, w = T.width, F = T.height, k = void 0, h = void 0, I = p.scrollWidth, Y = p.scrollHeight, E = ne(p), $ = p.scrollLeft, N = p.scrollTop;
5549
+ p === i ? (k = w < I && (E.overflowX === "auto" || E.overflowX === "scroll" || E.overflowX === "visible"), h = F < Y && (E.overflowY === "auto" || E.overflowY === "scroll" || E.overflowY === "visible")) : (k = w < I && (E.overflowX === "auto" || E.overflowX === "scroll"), h = F < Y && (E.overflowY === "auto" || E.overflowY === "scroll"));
5550
+ var M = k && (Math.abs(v - r) <= s && $ + w < I) - (Math.abs(f - r) <= s && !!$), A = h && (Math.abs(c - o) <= s && N + F < Y) - (Math.abs(b - o) <= s && !!N);
5534
5551
  if (!Pe[d])
5535
5552
  for (var _ = 0; _ <= d; _++)
5536
5553
  Pe[_] || (Pe[_] = {});
5537
5554
  (Pe[d].vx != M || Pe[d].vy != A || Pe[d].el !== p) && (Pe[d].el = p, Pe[d].vx = M, Pe[d].vy = A, clearInterval(Pe[d].pid), (M != 0 || A != 0) && (u = !0, Pe[d].pid = setInterval((function() {
5538
5555
  a && this.layer === 0 && ae.active._onTouchMove(na);
5539
5556
  var S = Pe[this.layer].vy ? Pe[this.layer].vy * l : 0, y = Pe[this.layer].vx ? Pe[this.layer].vx * l : 0;
5540
- 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);
5557
+ typeof m == "function" && m.call(ae.dragged.parentNode[We], y, S, e, na, Pe[this.layer].el) !== "continue" || kr(Pe[this.layer].el, y, S);
5541
5558
  }).bind({
5542
5559
  layer: d
5543
5560
  }), 24))), d++;
5544
- } while (n.bubbleScroll && b !== i && (b = Et(b, !1)));
5561
+ } while (n.bubbleScroll && g !== i && (g = Et(g, !1)));
5545
5562
  Va = u;
5546
5563
  }
5547
5564
  }, 30), $r = function(n) {
@@ -5549,7 +5566,7 @@ var Ma = Dr(function(e, n, t, a) {
5549
5566
  if (t) {
5550
5567
  var u = a || o;
5551
5568
  l();
5552
- var f = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, d = document.elementFromPoint(f.clientX, f.clientY);
5569
+ var m = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, d = document.elementFromPoint(m.clientX, m.clientY);
5553
5570
  i(), u && !u.el.contains(d) && (s("spill"), this.onSpill({
5554
5571
  dragEl: r,
5555
5572
  putSortable: a
@@ -5591,38 +5608,38 @@ ae.mount(new Du());
5591
5608
  ae.mount(co, uo);
5592
5609
  function ku(e, n, t = {}) {
5593
5610
  let a;
5594
- const { document: r = Kr, watchElement: o = !1, ...s } = t, l = { onUpdate: (v) => {
5595
- Au(n, v.oldIndex, v.newIndex, v);
5611
+ const { document: r = Kr, watchElement: o = !1, ...s } = t, l = { onUpdate: (b) => {
5612
+ Au(n, b.oldIndex, b.newIndex, b);
5596
5613
  } }, i = U(() => typeof e == "string" ? r?.querySelector(e) : Gr(e)), u = () => {
5597
5614
  a?.destroy(), a = void 0;
5598
- }, f = (v) => {
5599
- !v || a !== void 0 || (a = new ae(v, {
5615
+ }, m = (b) => {
5616
+ !b || a !== void 0 || (a = new ae(b, {
5600
5617
  ...l,
5601
5618
  ...s
5602
5619
  }));
5603
5620
  }, d = () => {
5604
- const v = i.value;
5605
- v && f(v);
5606
- }, b = (v, m) => {
5607
- if (m !== void 0) a?.option(v, m);
5608
- else return a?.option(v);
5621
+ const b = i.value;
5622
+ b && m(b);
5623
+ }, g = (b, c) => {
5624
+ if (c !== void 0) a?.option(b, c);
5625
+ else return a?.option(b);
5609
5626
  };
5610
5627
  let p;
5611
- o && typeof e != "string" ? p = Ae(i, (v) => {
5612
- u(), v && f(v);
5628
+ o && typeof e != "string" ? p = Ae(i, (b) => {
5629
+ u(), b && m(b);
5613
5630
  }, {
5614
5631
  immediate: !0,
5615
5632
  flush: "post"
5616
5633
  }) : Xr(d);
5617
- const E = () => {
5634
+ const T = () => {
5618
5635
  u();
5619
5636
  };
5620
5637
  return Zr(() => {
5621
5638
  p?.(), u();
5622
5639
  }), {
5623
- stop: E,
5640
+ stop: T,
5624
5641
  start: d,
5625
- option: b
5642
+ option: g
5626
5643
  };
5627
5644
  }
5628
5645
  function Eu(e, n, t) {
@@ -5699,7 +5716,7 @@ function Ou(e, n, t) {
5699
5716
  }
5700
5717
  const Bu = () => _u(), Hd = () => Ou(), sn = "a-sortable-widget__handle", Ru = "a-sortable-widget__ghost", Pu = "a-sortable-widget__drag", Lu = "a-sortable-widget__chosen", jo = "a-sortable-widget__group";
5701
5718
  function Nu(e, n, t, a) {
5702
- const r = L(!1), o = L(null), s = L(null), l = L(Bu()), i = L(null), u = L(0), f = L(t.dirty);
5719
+ const r = L(!1), o = L(null), s = L(null), l = L(Bu()), i = L(null), u = L(0), m = L(t.dirty);
5703
5720
  function d(A, _) {
5704
5721
  return {
5705
5722
  key: A[t.keyField],
@@ -5707,71 +5724,71 @@ function Nu(e, n, t, a) {
5707
5724
  raw: A
5708
5725
  };
5709
5726
  }
5710
- const b = U(() => e.value.map((A, _) => d(A, _))), p = (A = void 0) => {
5711
- u.value++, k(A) || a("update:modelValue", A), Ye(() => {
5727
+ const g = U(() => e.value.map((A, _) => d(A, _))), p = (A = void 0) => {
5728
+ u.value++, D(A) || a("update:modelValue", A), Ye(() => {
5712
5729
  n();
5713
5730
  });
5714
- }, E = (A) => {
5715
- f.value.add(A);
5716
- }, v = (A) => {
5717
- f.value.delete(A);
5718
- }, m = (A, _, S, y = []) => {
5731
+ }, T = (A) => {
5732
+ m.value.add(A);
5733
+ }, b = (A) => {
5734
+ m.value.delete(A);
5735
+ }, c = (A, _, S, y = []) => {
5719
5736
  const C = _ > S ? S : _;
5720
5737
  let x = t.positionMultiplier * C + t.positionMultiplier * 1;
5721
5738
  for (let R = C; R < A.length; R++)
5722
- Ns(A[R], t.positionField, x), E(A[R][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
5739
+ Ns(A[R], t.positionField, x), T(A[R][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
5723
5740
  id: A[R].id,
5724
5741
  position: A[R].position
5725
5742
  });
5726
5743
  return y;
5727
- }, c = (A, _) => {
5744
+ }, f = (A, _) => {
5728
5745
  const S = $e(e.value);
5729
5746
  if (_ >= 0 && _ < S.length) {
5730
5747
  let y = [];
5731
5748
  const C = S.splice(A, 1)[0];
5732
- return S.splice(_, 0, C), k(t.updatePosition) || (y = m(S, A, _)), p(), a("update:modelValue", S), y;
5749
+ return S.splice(_, 0, C), D(t.updatePosition) || (y = c(S, A, _)), p(), a("update:modelValue", S), y;
5733
5750
  }
5734
5751
  return [];
5735
- }, h = (A, _) => {
5752
+ }, v = (A, _) => {
5736
5753
  const S = _.findIndex((y) => y[t.keyField] === A);
5737
5754
  return S === -1 ? null : S;
5738
- }, D = (A, _, S, y = null) => {
5739
- A.data = $e(_), G(S) || (A.data.position = S), G(y) || E(_.id);
5740
- }, F = (A, _, S = null, y = null) => {
5741
- const C = $e(e.value), x = h(A, C);
5742
- !G(x) && C[x] && (D(C[x], _, S, y), p(C));
5743
5755
  }, w = (A, _, S, y = null) => {
5756
+ A.data = $e(_), G(S) || (A.data.position = S), G(y) || T(_.id);
5757
+ }, F = (A, _, S = null, y = null) => {
5758
+ const C = $e(e.value), x = v(A, C);
5759
+ !G(x) && C[x] && (w(C[x], _, S, y), p(C));
5760
+ }, k = (A, _, S, y = null) => {
5744
5761
  const C = $e(e.value);
5745
- C[A] && (D(C[A], _, S, y), p(C));
5746
- }, g = (A, _) => {
5762
+ C[A] && (w(C[A], _, S, y), p(C));
5763
+ }, h = (A, _) => {
5747
5764
  const S = $e(e.value);
5748
5765
  if (G(A) || A < 0)
5749
5766
  return S.push($e(_)), p(S), [];
5750
5767
  const y = [];
5751
- return S[A] ? (S.splice(A + 1, 0, _), m(S, A + 1, A + 1, y), p(S), y) : [];
5768
+ return S[A] ? (S.splice(A + 1, 0, _), c(S, A + 1, A + 1, y), p(S), y) : [];
5752
5769
  }, I = (A, _) => {
5753
5770
  const S = $e(e.value);
5754
5771
  if (G(A))
5755
5772
  return S.push($e(_)), p(S), [];
5756
- const y = h(A, S), C = [];
5757
- return !G(y) && S[y] ? (S.splice(y + 1, 0, _), m(S, y + 1, y + 1, C), p(S), C) : [];
5773
+ const y = v(A, S), C = [];
5774
+ return !G(y) && S[y] ? (S.splice(y + 1, 0, _), c(S, y + 1, y + 1, C), p(S), C) : [];
5758
5775
  }, Y = (A) => {
5759
- const _ = $e(e.value), S = h(A, _), y = [];
5760
- return !G(S) && _[S] ? (_.splice(S, 1), m(_, S, S, y), v(A), p(_), y) : [];
5761
- }, T = (A) => {
5776
+ const _ = $e(e.value), S = v(A, _), y = [];
5777
+ return !G(S) && _[S] ? (_.splice(S, 1), c(_, S, S, y), b(A), p(_), y) : [];
5778
+ }, E = (A) => {
5762
5779
  const _ = $e(e.value), S = [];
5763
5780
  if (_[A]) {
5764
5781
  const y = _[A][t.keyField];
5765
- return _.splice(A, 1), m(_, A, A, S), v(y), p(_), S;
5782
+ return _.splice(A, 1), c(_, A, A, S), b(y), p(_), S;
5766
5783
  }
5767
5784
  return [];
5768
5785
  }, $ = () => {
5769
5786
  s.value && i.value && (i.value.stop(), i.value = null);
5770
5787
  };
5771
5788
  return {
5772
- items: b,
5789
+ items: g,
5773
5790
  forceRerender: u,
5774
- dirtyLocal: f,
5791
+ dirtyLocal: m,
5775
5792
  widgetEl: s,
5776
5793
  randomUuid: l,
5777
5794
  removeDialog: r,
@@ -5784,13 +5801,13 @@ function Nu(e, n, t, a) {
5784
5801
  G(o.value) || (a("onDelete", o.value), r.value = !1);
5785
5802
  },
5786
5803
  destroy: $,
5787
- moveArrayElement: c,
5804
+ moveArrayElement: f,
5788
5805
  addAfterId: I,
5789
- addAfterIndex: g,
5806
+ addAfterIndex: h,
5790
5807
  removeById: Y,
5791
- removeByIndex: T,
5808
+ removeByIndex: E,
5792
5809
  updateData: F,
5793
- updateDataAtIndex: w
5810
+ updateDataAtIndex: k
5794
5811
  };
5795
5812
  }
5796
5813
  const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortable-widget__before" }, ju = { class: "a-sortable-widget__content" }, qu = { class: "a-sortable-widget__after" }, zu = /* @__PURE__ */ Se({
@@ -5821,20 +5838,20 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5821
5838
  const a = e, r = t, o = Vr(() => a.modelValue), { t: s } = Re(), l = (y) => {
5822
5839
  r("onAddAfter", y);
5823
5840
  }, i = (y) => {
5824
- if (h.value = y, a.disableDeleteDialog) {
5825
- g();
5841
+ if (v.value = y, a.disableDeleteDialog) {
5842
+ h();
5826
5843
  return;
5827
5844
  }
5828
- D.value = !0;
5845
+ w.value = !0;
5829
5846
  }, u = (y) => {
5830
5847
  r("onEdit", y);
5831
- }, f = () => {
5848
+ }, m = () => {
5832
5849
  if (a.modelValue.length > 0) {
5833
5850
  r("onAddLast", $e(a.modelValue[a.modelValue.length - 1]));
5834
5851
  return;
5835
5852
  }
5836
5853
  r("onAddLast", null);
5837
- }, d = U(() => k(a.widgetIdentifierId) ? Yu + T.value : a.widgetIdentifierId), b = U(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5854
+ }, d = U(() => D(a.widgetIdentifierId) ? Yu + E.value : a.widgetIdentifierId), g = U(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5838
5855
  if (a.disableDraggable || !Y.value) return;
5839
5856
  const y = Y.value.querySelector("." + jo);
5840
5857
  y && (I.value = ku(y, [], {
@@ -5843,9 +5860,9 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5843
5860
  dragClass: Pu,
5844
5861
  chosenClass: Lu,
5845
5862
  onEnd: async (C) => {
5846
- if (a.disableDefaultSort || k(C.oldIndex) || k(C.newIndex))
5863
+ if (a.disableDefaultSort || D(C.oldIndex) || D(C.newIndex))
5847
5864
  return;
5848
- const x = c(C.oldIndex, C.newIndex);
5865
+ const x = f(C.oldIndex, C.newIndex);
5849
5866
  r("onEnd", x);
5850
5867
  },
5851
5868
  onStart() {
@@ -5853,18 +5870,18 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5853
5870
  }
5854
5871
  }));
5855
5872
  }, {
5856
- items: E,
5857
- forceRerender: v,
5858
- dirtyLocal: m,
5859
- moveArrayElement: c,
5860
- itemToRemove: h,
5861
- removeDialog: D,
5873
+ items: T,
5874
+ forceRerender: b,
5875
+ dirtyLocal: c,
5876
+ moveArrayElement: f,
5877
+ itemToRemove: v,
5878
+ removeDialog: w,
5862
5879
  destroy: F,
5863
- refresh: w,
5864
- onRemoveDialogConfirm: g,
5880
+ refresh: k,
5881
+ onRemoveDialogConfirm: h,
5865
5882
  sortableInstance: I,
5866
5883
  widgetEl: Y,
5867
- randomUuid: T,
5884
+ randomUuid: E,
5868
5885
  addAfterId: $,
5869
5886
  removeById: N,
5870
5887
  updateData: M,
@@ -5884,10 +5901,10 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5884
5901
  ), Ae(
5885
5902
  () => a.dirty,
5886
5903
  (y) => {
5887
- m.value = y;
5904
+ c.value = y;
5888
5905
  }
5889
5906
  ), n({
5890
- refresh: w,
5907
+ refresh: k,
5891
5908
  addAfterId: $,
5892
5909
  addAfterIndex: A,
5893
5910
  removeById: N,
@@ -5899,13 +5916,13 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5899
5916
  return P(), de("div", null, [
5900
5917
  Ee("div", {
5901
5918
  id: d.value,
5902
- class: Ze(b.value)
5919
+ class: Ze(g.value)
5903
5920
  }, [
5904
5921
  (P(), de("div", {
5905
- key: H(v),
5922
+ key: H(b),
5906
5923
  class: Ze(H(jo))
5907
5924
  }, [
5908
- (P(!0), de(qe, null, Bt(H(E), (j, Q) => (P(), de(qe, {
5925
+ (P(!0), de(qe, null, Bt(H(T), (j, Q) => (P(), de(qe, {
5909
5926
  key: j.key
5910
5927
  }, [
5911
5928
  e.chips ? (P(), X(Kt, {
@@ -5952,7 +5969,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
5952
5969
  ]),
5953
5970
  Ee("div", {
5954
5971
  class: Ze(["a-sortable-widget__item", {
5955
- "a-sortable-widget__item--last": Q + 1 === H(E).length,
5972
+ "a-sortable-widget__item--last": Q + 1 === H(T).length,
5956
5973
  "a-sortable-widget__item--first": Q === 0
5957
5974
  }])
5958
5975
  }, [
@@ -6054,14 +6071,14 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
6054
6071
  ], 2))
6055
6072
  ], 10, Uu),
6056
6073
  we(y.$slots, "add-last-activator", {
6057
- props: { onClick: ye(() => f(), ["stop"]) }
6074
+ props: { onClick: ye(() => m(), ["stop"]) }
6058
6075
  }, () => [
6059
6076
  e.showAddLastButton ? (P(), X(Ne, {
6060
6077
  key: 0,
6061
6078
  size: "small",
6062
6079
  "prepend-icon": "mdi-plus",
6063
6080
  class: "ma-1",
6064
- onClick: ye(f, ["stop"])
6081
+ onClick: ye(m, ["stop"])
6065
6082
  }, {
6066
6083
  default: B(() => [
6067
6084
  De(fe(H(s)(e.addLastButtonT)), 1)
@@ -6070,15 +6087,15 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
6070
6087
  })) : ce("", !0)
6071
6088
  ]),
6072
6089
  O(Wa, {
6073
- modelValue: H(D),
6074
- "onUpdate:modelValue": C[2] || (C[2] = (j) => Ha(D) ? D.value = j : null),
6090
+ modelValue: H(w),
6091
+ "onUpdate:modelValue": C[2] || (C[2] = (j) => Ha(w) ? w.value = j : null),
6075
6092
  width: 500
6076
6093
  }, {
6077
6094
  default: B(() => [
6078
- H(D) ? (P(), X(la, { key: 0 }, {
6095
+ H(w) ? (P(), X(la, { key: 0 }, {
6079
6096
  default: B(() => [
6080
6097
  O(Ja, {
6081
- onOnCancel: C[0] || (C[0] = (j) => D.value = !1)
6098
+ onOnCancel: C[0] || (C[0] = (j) => w.value = !1)
6082
6099
  }, {
6083
6100
  default: B(() => [
6084
6101
  De(fe(H(s)("common.system.modal.confirmDelete")), 1)
@@ -6089,7 +6106,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
6089
6106
  default: B(() => [
6090
6107
  O(sa),
6091
6108
  O(x, {
6092
- onClick: C[1] || (C[1] = ye((j) => D.value = !1, ["stop"]))
6109
+ onClick: C[1] || (C[1] = ye((j) => w.value = !1, ["stop"]))
6093
6110
  }, {
6094
6111
  default: B(() => [
6095
6112
  De(fe(H(s)("common.button.cancel")), 1)
@@ -6097,7 +6114,7 @@ const Yu = "a-sortable-", Uu = ["id"], Vu = { key: 1 }, Hu = { class: "a-sortabl
6097
6114
  _: 1
6098
6115
  }),
6099
6116
  O(R, {
6100
- onClick: ye(H(g), ["stop"])
6117
+ onClick: ye(H(h), ["stop"])
6101
6118
  }, {
6102
6119
  default: B(() => [
6103
6120
  De(fe(H(s)("common.button.delete")), 1)
@@ -6162,22 +6179,22 @@ const Ku = {
6162
6179
  emits: ["onClose"],
6163
6180
  setup(e, { emit: n }) {
6164
6181
  const t = e, a = n, r = J(Ke), o = J(tt), s = J(mr);
6165
- if (k(s) || k(r) || k(o))
6182
+ if (D(s) || D(r) || D(o))
6166
6183
  throw new Error("Incorrect provide/inject config.");
6167
- const l = L("add"), i = L(""), u = L(!1), f = L(!1), d = L(!1), b = L(!1), p = L(!1), E = L([]), v = L(null), { required: m, maxLength: c } = oo(), h = {
6184
+ const l = L("add"), i = L(""), u = L(!1), m = L(!1), d = L(!1), g = L(!1), p = L(!1), T = L([]), b = L(null), { required: c, maxLength: f } = oo(), v = {
6168
6185
  customName: {
6169
- required: m,
6170
- maxLength: c(100)
6186
+ required: c,
6187
+ maxLength: f(100)
6171
6188
  }
6172
- }, D = Gn(h, { customName: i }, { $stopPropagation: !0 }), F = {
6189
+ }, w = Gn(v, { customName: i }, { $stopPropagation: !0 }), F = {
6173
6190
  itemEdit: {
6174
- required: m,
6175
- maxLength: c(100)
6191
+ required: c,
6192
+ maxLength: f(100)
6176
6193
  }
6177
- }, w = Gn(F, { itemEdit: v }, { $stopPropagation: !0 }), g = hr(), {
6194
+ }, k = Gn(F, { itemEdit: b }, { $stopPropagation: !0 }), h = hr(), {
6178
6195
  createUserAdminConfig: I,
6179
6196
  useFetchUserAdminConfigList: Y,
6180
- updateUserAdminConfigPositions: T,
6197
+ updateUserAdminConfigPositions: E,
6181
6198
  deleteUserAdminConfig: $,
6182
6199
  updateUserAdminConfig: N
6183
6200
  } = (
@@ -6185,9 +6202,9 @@ const Ku = {
6185
6202
  gr(t.client, t.system)
6186
6203
  ), { t: M } = Re(), { showErrorsDefault: A, showValidationError: _, showWarningT: S } = In(), { createDefaultUserAdminConfig: y } = Wu(), C = async () => {
6187
6204
  d.value = !0;
6188
- const K = E.value.map((ge) => ge.id);
6205
+ const K = T.value.map((ge) => ge.id);
6189
6206
  try {
6190
- await T(K), d.value = !1, await te(), a("onClose");
6207
+ await E(K), d.value = !1, await te(), a("onClose");
6191
6208
  } catch (ge) {
6192
6209
  A(ge), d.value = !1;
6193
6210
  }
@@ -6197,10 +6214,10 @@ const Ku = {
6197
6214
  q.user = t.user, q.configType = Zn.FilterBookmark, q.layoutType = Ft.Desktop, q.systemResource = R, q.customName = i.value, q.data = {
6198
6215
  filter: x(o, s, !1),
6199
6216
  datatableHiddenColumns: u.value && t.datatableHiddenColumns ? t.datatableHiddenColumns : void 0,
6200
- sortBy: f.value && s.value.sortBy ? s.value.sortBy : void 0
6217
+ sortBy: m.value && s.value.sortBy ? s.value.sortBy : void 0
6201
6218
  };
6202
6219
  try {
6203
- const K = await g.fetchBookmarksCount(
6220
+ const K = await h.fetchBookmarksCount(
6204
6221
  {
6205
6222
  user: t.user,
6206
6223
  layoutType: Ft.Desktop,
@@ -6214,8 +6231,8 @@ const Ku = {
6214
6231
  }
6215
6232
  q.position = K + 1;
6216
6233
  const ge = await I(q);
6217
- g.addOne(
6218
- g.generateKey(Ft.Desktop, R),
6234
+ h.addOne(
6235
+ h.generateKey(Ft.Desktop, R),
6219
6236
  ge
6220
6237
  ), a("onClose");
6221
6238
  } catch (K) {
@@ -6233,41 +6250,41 @@ const Ku = {
6233
6250
  }
6234
6251
  }, Q = () => {
6235
6252
  if (l.value === "add") {
6236
- if (D.value.$touch(), D.value.$invalid) {
6253
+ if (w.value.$touch(), w.value.$invalid) {
6237
6254
  _();
6238
6255
  return;
6239
6256
  }
6240
6257
  j();
6241
- } else l.value === "manage" && E.value.length > 0 && C();
6258
+ } else l.value === "manage" && T.value.length > 0 && C();
6242
6259
  }, re = async (q) => {
6243
- b.value = !0;
6260
+ g.value = !0;
6244
6261
  try {
6245
6262
  await $(q.raw.id), await te(), W();
6246
6263
  } catch (K) {
6247
6264
  A(K);
6248
6265
  } finally {
6249
- b.value = !1;
6266
+ g.value = !1;
6250
6267
  }
6251
6268
  }, ve = Ot("inputRef"), Te = async (q) => {
6252
- v.value = { id: q.raw.id, customName: q.raw.customName }, await Ye(), ve.value?.focus();
6269
+ b.value = { id: q.raw.id, customName: q.raw.customName }, await Ye(), ve.value?.focus();
6253
6270
  }, ke = async (q) => {
6254
- if (G(v.value)) return;
6255
- b.value = !0;
6271
+ if (G(b.value)) return;
6272
+ g.value = !0;
6256
6273
  const K = $e(q.raw);
6257
- K.customName = v.value.customName;
6274
+ K.customName = b.value.customName;
6258
6275
  try {
6259
6276
  W(), await N(K.id, K), await te();
6260
6277
  } catch (ge) {
6261
6278
  A(ge);
6262
6279
  } finally {
6263
- b.value = !1;
6280
+ g.value = !1;
6264
6281
  }
6265
6282
  }, W = () => {
6266
- v.value = null;
6283
+ b.value = null;
6267
6284
  }, te = async () => {
6268
- b.value = !0;
6285
+ g.value = !0;
6269
6286
  try {
6270
- E.value = await g.getBookmarks(
6287
+ T.value = await h.getBookmarks(
6271
6288
  {
6272
6289
  user: t.user,
6273
6290
  layoutType: Ft.Desktop,
@@ -6279,7 +6296,7 @@ const Ku = {
6279
6296
  } catch (q) {
6280
6297
  A(q);
6281
6298
  } finally {
6282
- b.value = !1;
6299
+ g.value = !1;
6283
6300
  }
6284
6301
  };
6285
6302
  return Ae(l, () => {
@@ -6340,7 +6357,7 @@ const Ku = {
6340
6357
  "onUpdate:modelValue": K[2] || (K[2] = (ee) => i.value = ee),
6341
6358
  label: H(M)("common.filter.bookmark.name"),
6342
6359
  required: "",
6343
- v: H(D).customName
6360
+ v: H(w).customName
6344
6361
  }, null, 8, ["modelValue", "label", "v"])
6345
6362
  ]),
6346
6363
  _: 1
@@ -6358,20 +6375,20 @@ const Ku = {
6358
6375
  O(Mt, null, {
6359
6376
  default: B(() => [
6360
6377
  O(_o, {
6361
- modelValue: f.value,
6362
- "onUpdate:modelValue": K[4] || (K[4] = (ee) => f.value = ee),
6378
+ modelValue: m.value,
6379
+ "onUpdate:modelValue": K[4] || (K[4] = (ee) => m.value = ee),
6363
6380
  label: H(M)("common.filter.bookmark.storeTableOrder")
6364
6381
  }, null, 8, ["modelValue", "label"])
6365
6382
  ]),
6366
6383
  _: 1
6367
6384
  })
6368
6385
  ])) : l.value === "manage" ? (P(), de("div", Gu, [
6369
- b.value ? (P(), de("div", Xu, [
6386
+ g.value ? (P(), de("div", Xu, [
6370
6387
  O(Jo, { indeterminate: "" })
6371
6388
  ])) : (P(), X(zu, {
6372
6389
  key: 1,
6373
- modelValue: E.value,
6374
- "onUpdate:modelValue": K[7] || (K[7] = (ee) => E.value = ee),
6390
+ modelValue: T.value,
6391
+ "onUpdate:modelValue": K[7] || (K[7] = (ee) => T.value = ee),
6375
6392
  "show-edit-button": "",
6376
6393
  "show-delete-button": "",
6377
6394
  "permanent-buttons": "",
@@ -6379,22 +6396,22 @@ const Ku = {
6379
6396
  onOnEdit: Te
6380
6397
  }, Pt({
6381
6398
  item: B(({ item: ee }) => [
6382
- v.value && v.value.id === ee.raw.id ? (P(), X(So, {
6399
+ b.value && b.value.id === ee.raw.id ? (P(), X(So, {
6383
6400
  key: 0,
6384
6401
  ref_key: "inputRef",
6385
6402
  ref: ve,
6386
- modelValue: v.value.customName,
6387
- "onUpdate:modelValue": K[5] || (K[5] = (se) => v.value.customName = se),
6403
+ modelValue: b.value.customName,
6404
+ "onUpdate:modelValue": K[5] || (K[5] = (se) => b.value.customName = se),
6388
6405
  "hide-details": "auto",
6389
- v: H(w)
6406
+ v: H(k)
6390
6407
  }, null, 8, ["modelValue", "v"])) : (P(), de("div", Zu, fe(ee.raw.customName), 1))
6391
6408
  ]),
6392
6409
  _: 2
6393
6410
  }, [
6394
- H(G)(v.value) ? void 0 : {
6411
+ H(G)(b.value) ? void 0 : {
6395
6412
  name: "item-buttons",
6396
6413
  fn: B(({ item: ee }) => [
6397
- v.value && v.value.id === ee.raw.id ? (P(), de("div", Ju, [
6414
+ b.value && b.value.id === ee.raw.id ? (P(), de("div", Ju, [
6398
6415
  O(Ne, {
6399
6416
  icon: "",
6400
6417
  size: "x-small",
@@ -6551,40 +6568,40 @@ const Ku = {
6551
6568
  setup(e, { expose: n, emit: t }) {
6552
6569
  const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), s = J(Ri, () => {
6553
6570
  }), l = J(Ke), i = J(tt);
6554
- if (k(l) || k(i))
6571
+ if (D(l) || D(i))
6555
6572
  throw new Error("Incorrect provide/inject config.");
6556
6573
  const u = L({
6557
6574
  system: l.general.system,
6558
6575
  subject: l.general.subject
6559
6576
  });
6560
6577
  Je(a.store) ? a.store === !1 && (u.value.system = void 0, u.value.subject = void 0) : (u.value.system = a.store.system, u.value.subject = a.store.subject);
6561
- const f = L(0);
6562
- Kn(pt, f);
6578
+ const m = L(0);
6579
+ Kn(pt, m);
6563
6580
  const d = L(/* @__PURE__ */ new Map());
6564
6581
  Kn(ot, d);
6565
- const b = () => {
6566
- f.value++, Ye(() => {
6582
+ const g = () => {
6583
+ m.value++, Ye(() => {
6567
6584
  r("submit"), s();
6568
6585
  });
6569
- }, { clearAll: p, clearAllFilterSelected: E } = ct(), v = () => {
6586
+ }, { clearAll: p, clearAllFilterSelected: T } = ct(), b = () => {
6570
6587
  Ye(() => {
6571
- f.value++, r("bookmarkLoadAfter"), s();
6588
+ m.value++, r("bookmarkLoadAfter"), s();
6572
6589
  });
6573
- }, m = () => {
6574
- p(i, l), E(i, l, d), Ye(() => {
6575
- f.value++, r("reset"), s();
6590
+ }, c = () => {
6591
+ p(i, l), T(i, l, d), Ye(() => {
6592
+ m.value++, r("reset"), s();
6576
6593
  });
6577
- }, c = U(() => l.touched), h = U(() => Object.entries(l.fields).filter(([, D]) => !D.render.skip).map(([D]) => D));
6594
+ }, f = U(() => l.touched), v = U(() => Object.entries(l.fields).filter(([, w]) => !w.render.skip).map(([w]) => w));
6578
6595
  return n({
6579
- submit: b,
6580
- reset: m
6581
- }), (D, F) => (P(), X(Go, {
6596
+ submit: g,
6597
+ reset: c
6598
+ }), (w, F) => (P(), X(Go, {
6582
6599
  name: e.formName,
6583
- onSubmit: ye(b, ["prevent"])
6600
+ onSubmit: ye(g, ["prevent"])
6584
6601
  }, {
6585
6602
  default: B(() => [
6586
6603
  Ee("div", ec, [
6587
- we(D.$slots, "bookmarks", {}, () => [
6604
+ we(w.$slots, "bookmarks", {}, () => [
6588
6605
  O($t, { density: "compact" }, {
6589
6606
  default: B(() => [
6590
6607
  e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
@@ -6593,12 +6610,12 @@ const Ku = {
6593
6610
  u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(br, {
6594
6611
  key: 0,
6595
6612
  "datatable-hidden-columns": o.value,
6596
- "onUpdate:datatableHiddenColumns": F[0] || (F[0] = (w) => o.value = w),
6613
+ "onUpdate:datatableHiddenColumns": F[0] || (F[0] = (k) => o.value = k),
6597
6614
  client: e.client,
6598
6615
  system: u.value.system,
6599
6616
  subject: u.value.subject,
6600
6617
  "user-id": e.userId,
6601
- onSubmit: v
6618
+ onSubmit: b
6602
6619
  }, null, 8, ["datatable-hidden-columns", "client", "system", "subject", "user-id"])) : ce("", !0)
6603
6620
  ])
6604
6621
  ]),
@@ -6608,22 +6625,22 @@ const Ku = {
6608
6625
  _: 1
6609
6626
  })
6610
6627
  ]),
6611
- we(D.$slots, "detail", {}, () => [
6628
+ we(w.$slots, "detail", {}, () => [
6612
6629
  O($t, null, {
6613
6630
  default: B(() => [
6614
- (P(!0), de(qe, null, Bt(h.value, (w) => (P(), X(gt, {
6615
- key: w,
6616
- cols: H(l).fields[w].render.xs || 12,
6617
- sm: H(l).fields[w].render.sm || 12,
6618
- md: H(l).fields[w].render.md || 12,
6619
- lg: H(l).fields[w].render.lg || 12,
6620
- xl: H(l).fields[w].render.xl || 12
6631
+ (P(!0), de(qe, null, Bt(v.value, (k) => (P(), X(gt, {
6632
+ key: k,
6633
+ cols: H(l).fields[k].render.xs || 12,
6634
+ sm: H(l).fields[k].render.sm || 12,
6635
+ md: H(l).fields[k].render.md || 12,
6636
+ lg: H(l).fields[k].render.lg || 12,
6637
+ xl: H(l).fields[k].render.xl || 12
6621
6638
  }, {
6622
6639
  default: B(() => [
6623
- we(D.$slots, H(vr)(w), {
6624
- itemConfig: H(l).fields[w]
6640
+ we(w.$slots, H(vr)(k), {
6641
+ itemConfig: H(l).fields[k]
6625
6642
  }, () => [
6626
- O(pr, { name: w }, null, 8, ["name"])
6643
+ O(pr, { name: k }, null, 8, ["name"])
6627
6644
  ])
6628
6645
  ]),
6629
6646
  _: 2
@@ -6634,9 +6651,9 @@ const Ku = {
6634
6651
  ])
6635
6652
  ]),
6636
6653
  e.hideButtons ? ce("", !0) : (P(), de("div", nc, [
6637
- we(D.$slots, "buttons", {}, () => [
6638
- O(ur, { touched: c.value }, null, 8, ["touched"]),
6639
- O(cr, { onReset: m }),
6654
+ we(w.$slots, "buttons", {}, () => [
6655
+ O(ur, { touched: f.value }, null, 8, ["touched"]),
6656
+ O(cr, { onReset: c }),
6640
6657
  u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(Br, {
6641
6658
  key: 0,
6642
6659
  client: e.client,
@@ -6690,36 +6707,36 @@ const Ku = {
6690
6707
  __name: "FiltersSelected",
6691
6708
  setup(e) {
6692
6709
  const n = J(Ke), t = J(tt), a = J(ot);
6693
- if (k(n) || k(t) || k(a))
6710
+ if (D(n) || D(t) || D(a))
6694
6711
  throw new Error("Incorrect provide/inject config.");
6695
- const { t: r } = Re(), o = (f) => {
6696
- const d = n.fields?.[f]?.titleT;
6697
- return d ? r(d) : f;
6712
+ const { t: r } = Re(), o = (m) => {
6713
+ const d = n.fields?.[m]?.titleT;
6714
+ return d ? r(d) : m;
6698
6715
  }, s = U(() => {
6699
- const f = Object.keys(n.fields);
6700
- return Array.from(a.value).map(([d, b]) => ({
6716
+ const m = Object.keys(n.fields);
6717
+ return Array.from(a.value).map(([d, g]) => ({
6701
6718
  name: d,
6702
6719
  title: o(d),
6703
- options: b
6704
- })).sort((d, b) => f.indexOf(d.name) - f.indexOf(b.name));
6705
- }), { clearOneFilterSelected: l, isClearable: i } = ct(), u = (f, d) => {
6706
- l(f, d, t, n, a), n.touched = !0;
6720
+ options: g
6721
+ })).sort((d, g) => m.indexOf(d.name) - m.indexOf(g.name));
6722
+ }), { clearOneFilterSelected: l, isClearable: i } = ct(), u = (m, d) => {
6723
+ l(m, d, t, n, a), n.touched = !0;
6707
6724
  };
6708
- return (f, d) => (P(!0), de(qe, null, Bt(s.value, (b) => (P(), de("div", {
6709
- key: b.name,
6725
+ return (m, d) => (P(!0), de(qe, null, Bt(s.value, (g) => (P(), de("div", {
6726
+ key: g.name,
6710
6727
  class: "a-selected-filters"
6711
6728
  }, [
6712
- Ee("div", oc, fe(b.title) + ": ", 1),
6713
- (P(!0), de(qe, null, Bt(b.options, (p) => (P(), de("div", {
6729
+ Ee("div", oc, fe(g.title) + ": ", 1),
6730
+ (P(!0), de(qe, null, Bt(g.options, (p) => (P(), de("div", {
6714
6731
  key: p.value,
6715
6732
  class: "a-selected-filters__chips"
6716
6733
  }, [
6717
- H(i)(b.name, H(n)) ? (P(), X(Kt, {
6734
+ H(i)(g.name, H(n)) ? (P(), X(Kt, {
6718
6735
  key: 0,
6719
6736
  closable: "",
6720
6737
  size: "small",
6721
6738
  class: "a-selected-filters__chip",
6722
- "onClick:close": ye((E) => u(b.name, p.value), ["stop"])
6739
+ "onClick:close": ye((T) => u(g.name, p.value), ["stop"])
6723
6740
  }, {
6724
6741
  close: B(() => [
6725
6742
  O(Be, {
@@ -6767,38 +6784,38 @@ const Ku = {
6767
6784
  emits: /* @__PURE__ */ mt(["submit", "reset", "bookmarkLoadAfter"], ["update:datatableHiddenColumns", "update:showDetail"]),
6768
6785
  setup(e, { expose: n, emit: t }) {
6769
6786
  const a = e, r = t, o = Tt(e, "datatableHiddenColumns"), s = Tt(e, "showDetail"), l = J(Ke), i = J(tt);
6770
- if (k(l) || k(i))
6787
+ if (D(l) || D(i))
6771
6788
  throw new Error("Incorrect provide/inject config.");
6772
6789
  const u = L({
6773
6790
  system: l.general.system,
6774
6791
  subject: l.general.subject
6775
6792
  });
6776
6793
  Je(a.store) ? a.store === !1 && (u.value.system = void 0, u.value.subject = void 0) : (u.value.system = a.store.system, u.value.subject = a.store.subject);
6777
- const f = L(0);
6778
- Kn(pt, f);
6794
+ const m = L(0);
6795
+ Kn(pt, m);
6779
6796
  const d = L(/* @__PURE__ */ new Map());
6780
6797
  Kn(ot, d);
6781
- const b = () => {
6782
- f.value++, Ye(() => {
6798
+ const g = () => {
6799
+ m.value++, Ye(() => {
6783
6800
  r("submit");
6784
6801
  });
6785
- }, { clearAll: p, clearAllFilterSelected: E } = ct(), v = () => {
6802
+ }, { clearAll: p, clearAllFilterSelected: T } = ct(), b = () => {
6786
6803
  Ye(() => {
6787
- f.value++, r("bookmarkLoadAfter");
6788
- });
6789
- }, m = () => {
6790
- p(i, l), E(i, l, d), Ye(() => {
6791
- f.value++, r("reset");
6804
+ m.value++, r("bookmarkLoadAfter");
6792
6805
  });
6793
6806
  }, c = () => {
6807
+ p(i, l), T(i, l, d), Ye(() => {
6808
+ m.value++, r("reset");
6809
+ });
6810
+ }, f = () => {
6794
6811
  s.value = !s.value;
6795
- }, h = U(() => l.touched), D = U(() => Object.entries(l.fields).filter(([, F]) => !F.render.skip).map(([F]) => F));
6812
+ }, v = U(() => l.touched), w = U(() => Object.entries(l.fields).filter(([, F]) => !F.render.skip).map(([F]) => F));
6796
6813
  return a.alwaysVisible && (s.value = !0), n({
6797
- submit: b,
6798
- reset: m
6799
- }), (F, w) => (P(), X(Go, {
6814
+ submit: g,
6815
+ reset: c
6816
+ }), (F, k) => (P(), X(Go, {
6800
6817
  name: e.formName,
6801
- onSubmit: ye(b, ["prevent"])
6818
+ onSubmit: ye(g, ["prevent"])
6802
6819
  }, {
6803
6820
  default: B(() => [
6804
6821
  e.enableTop ? (P(), X($t, {
@@ -6824,12 +6841,12 @@ const Ku = {
6824
6841
  u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(br, {
6825
6842
  key: 0,
6826
6843
  "datatable-hidden-columns": o.value,
6827
- "onUpdate:datatableHiddenColumns": w[0] || (w[0] = (g) => o.value = g),
6844
+ "onUpdate:datatableHiddenColumns": k[0] || (k[0] = (h) => o.value = h),
6828
6845
  client: e.client,
6829
6846
  system: u.value.system,
6830
6847
  subject: u.value.subject,
6831
6848
  "user-id": e.userId,
6832
- onSubmit: v
6849
+ onSubmit: b
6833
6850
  }, null, 8, ["datatable-hidden-columns", "client", "system", "subject", "user-id"])) : ce("", !0)
6834
6851
  ])
6835
6852
  ])
@@ -6851,7 +6868,7 @@ const Ku = {
6851
6868
  default: B(() => [
6852
6869
  O(ac, {
6853
6870
  "button-active": s.value,
6854
- onAdvancedFilter: c
6871
+ onAdvancedFilter: f
6855
6872
  }, null, 8, ["button-active"])
6856
6873
  ]),
6857
6874
  _: 1
@@ -6874,8 +6891,8 @@ const Ku = {
6874
6891
  }, {
6875
6892
  default: B(() => [
6876
6893
  we(F.$slots, "buttons", {}, () => [
6877
- O(ur, { touched: h.value }, null, 8, ["touched"]),
6878
- O(cr, { onReset: m }),
6894
+ O(ur, { touched: v.value }, null, 8, ["touched"]),
6895
+ O(cr, { onReset: c }),
6879
6896
  u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(Br, {
6880
6897
  key: 0,
6881
6898
  client: e.client,
@@ -6900,19 +6917,19 @@ const Ku = {
6900
6917
  we(F.$slots, "detail", {}, () => [
6901
6918
  O($t, null, {
6902
6919
  default: B(() => [
6903
- (P(!0), de(qe, null, Bt(D.value, (g) => (P(), X(gt, {
6904
- key: g,
6905
- cols: H(l).fields[g].render.xs || 12,
6906
- sm: H(l).fields[g].render.sm || 6,
6907
- md: H(l).fields[g].render.md || 4,
6908
- lg: H(l).fields[g].render.lg || 3,
6909
- xl: H(l).fields[g].render.xl || 2
6920
+ (P(!0), de(qe, null, Bt(w.value, (h) => (P(), X(gt, {
6921
+ key: h,
6922
+ cols: H(l).fields[h].render.xs || 12,
6923
+ sm: H(l).fields[h].render.sm || 6,
6924
+ md: H(l).fields[h].render.md || 4,
6925
+ lg: H(l).fields[h].render.lg || 3,
6926
+ xl: H(l).fields[h].render.xl || 2
6910
6927
  }, {
6911
6928
  default: B(() => [
6912
- we(F.$slots, H(vr)(g), {
6913
- itemConfig: H(l).fields[g]
6929
+ we(F.$slots, H(vr)(h), {
6930
+ itemConfig: H(l).fields[h]
6914
6931
  }, () => [
6915
- O(pr, { name: g }, null, 8, ["name"])
6932
+ O(pr, { name: h }, null, 8, ["name"])
6916
6933
  ])
6917
6934
  ]),
6918
6935
  _: 2
@@ -6979,14 +6996,14 @@ const Ku = {
6979
6996
  emits: /* @__PURE__ */ mt(["searchChange", "searchChangeDebounced", "blur", "focus", "click:chipClose"], ["update:modelValue", "update:selected"]),
6980
6997
  setup(e, { expose: n, emit: t }) {
6981
6998
  const a = e, r = t, o = J(lo), s = J(ro), l = oa()?.type.__name;
6982
- if (k(o) || k(s))
6999
+ if (D(o) || D(s))
6983
7000
  throw new Error(`[${l}] Incorrect provide/inject config.`);
6984
7001
  const i = a.filterByField, u = a.filterSortBy;
6985
- if (k(o.fields[i]) || k(s[i]))
7002
+ if (D(o.fields[i]) || D(s[i]))
6986
7003
  throw new Error(
6987
7004
  `[${l}] Incorrect filter inner config. FilterByField is '${i}' and available options are ${Object.keys(s).join(", ")}.`
6988
7005
  );
6989
- const f = Tt(e, "modelValue", {
7006
+ const m = Tt(e, "modelValue", {
6990
7007
  set(z) {
6991
7008
  return ue(z) ? $e(z) : z;
6992
7009
  }
@@ -6998,28 +7015,28 @@ const Ku = {
6998
7015
  return ue(z) ? $e(z) : z;
6999
7016
  }
7000
7017
  }
7001
- ), { collabOptions: b } = Jt(), p = L((z) => {
7002
- }), E = L((z) => {
7003
- }), v = L(() => {
7004
- }), m = L(null);
7005
- if (b.value.enabled && he(a.collab)) {
7018
+ ), { collabOptions: g } = Jt(), p = L((z) => {
7019
+ }), T = L((z) => {
7020
+ }), b = L(() => {
7021
+ }), c = L(null);
7022
+ if (g.value.enabled && he(a.collab)) {
7006
7023
  const { releaseCollabFieldLock: z, changeCollabFieldData: ie, acquireCollabFieldLock: Ce, lockedByUser: be } = ca(a.collab.room, a.collab.field);
7007
- p.value = z, E.value = ie, v.value = Ce, Ae(
7024
+ p.value = z, T.value = ie, b.value = Ce, Ae(
7008
7025
  be,
7009
7026
  (Yt) => {
7010
- m.value = Yt;
7027
+ c.value = Yt;
7011
7028
  },
7012
7029
  { immediate: !0 }
7013
7030
  );
7014
7031
  }
7015
- const c = L(""), h = L(!1), D = L(null), F = L(0), { t: w } = Re(), g = J(Xa, void 0), I = J(Za, void 0), Y = () => {
7016
- h.value = !1, r("blur", f.value), a.v?.$touch(), p.value(f.value);
7017
- }, T = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((z) => z.$message) : []), $ = U(() => {
7032
+ const f = L(""), v = L(!1), w = L(null), F = L(0), { t: k } = Re(), h = J(Xa, void 0), I = J(Za, void 0), Y = () => {
7033
+ v.value = !1, r("blur", m.value), a.v?.$touch(), p.value(m.value);
7034
+ }, E = U(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((z) => z.$message) : []), $ = U(() => {
7018
7035
  if (he(a.label)) return a.label;
7019
- if (k(g) || k(I) || k(a.v?.$path)) return "";
7036
+ if (D(h) || D(I) || D(a.v?.$path)) return "";
7020
7037
  const { end: z } = wn(a.v?.$path, ".");
7021
- return w(g + "." + I + ".model." + z);
7022
- }), N = U(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), M = U(() => he(a.disabled) ? a.disabled : !!m.value), { pagination: A } = kn(
7038
+ return k(h + "." + I + ".model." + z);
7039
+ }), N = U(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), M = U(() => he(a.disabled) ? a.disabled : !!c.value), { pagination: A } = kn(
7023
7040
  G(u) ? null : u.key,
7024
7041
  u?.order
7025
7042
  ), _ = L([]), S = L([]), y = L(!0), C = L(!1), x = U(() => {
@@ -7034,7 +7051,7 @@ const Ku = {
7034
7051
  };
7035
7052
  return ie(S.value), ie(_.value), Array.from(z.values());
7036
7053
  }), R = L(!1), j = U(() => R.value ? !0 : a.loading), Q = (z) => {
7037
- S.value = [], d.value = ue(z) ? [] : null, D.value = ue(z) ? [] : null;
7054
+ S.value = [], d.value = ue(z) ? [] : null, w.value = ue(z) ? [] : null;
7038
7055
  }, re = (z) => {
7039
7056
  const ie = (Ce) => x.value.find((be) => be.value === Ce) ?? { title: `${Ce}`, value: Ce };
7040
7057
  return ue(z) ? z.map(ie) : ie(z);
@@ -7044,7 +7061,7 @@ const Ku = {
7044
7061
  const ie = ue(z) ? z : [z];
7045
7062
  S.value = await a.fetchItemsByIds(ie);
7046
7063
  const Ce = re(z);
7047
- return d.value = Ce, D.value = Ce, S.value;
7064
+ return d.value = Ce, w.value = Ce, S.value;
7048
7065
  } finally {
7049
7066
  R.value = !1;
7050
7067
  }
@@ -7056,9 +7073,9 @@ const Ku = {
7056
7073
  if (ue(be) && be.length > 0) {
7057
7074
  if (S.value = be, a.multiple) {
7058
7075
  const Yt = be.map((Rr) => Rr.value);
7059
- return f.value = Yt, ie && await te("force", Yt), R.value = !1, !0;
7076
+ return m.value = Yt, ie && await te("force", Yt), R.value = !1, !0;
7060
7077
  }
7061
- return f.value = be[0].value, ie && await te("force", be[0].value), R.value = !1, !0;
7078
+ return m.value = be[0].value, ie && await te("force", be[0].value), R.value = !1, !0;
7062
7079
  }
7063
7080
  return R.value = !1, !1;
7064
7081
  } catch (be) {
@@ -7079,20 +7096,20 @@ const Ku = {
7079
7096
  R.value = !0;
7080
7097
  try {
7081
7098
  const Ce = await a.fetchItems(A, s, o);
7082
- F.value === 0 && (_.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(ie) || k(ie) || ue(ie) && ie.length === 0) && (f.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
7099
+ F.value === 0 && (_.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(ie) || D(ie) || ue(ie) && ie.length === 0) && (m.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
7083
7100
  } finally {
7084
7101
  R.value = !1;
7085
7102
  }
7086
7103
  }
7087
7104
  }, q = async () => {
7088
- h.value = !0, v.value(), await te("focus", f.value), r("focus", f.value);
7105
+ v.value = !0, b.value(), await te("focus", m.value), r("focus", m.value);
7089
7106
  }, K = async () => {
7090
- await te("hover", f.value);
7107
+ await te("hover", m.value);
7091
7108
  }, ge = U(() => {
7092
7109
  if (!a.multiple && S.value[0])
7093
7110
  return S.value[0].title;
7094
7111
  }), Z = (z) => {
7095
- !a.multiple && !h.value && z.length === 0 || ge.value !== z && (c.value = z);
7112
+ !a.multiple && !v.value && z.length === 0 || ge.value !== z && (f.value = z);
7096
7113
  }, ee = async () => {
7097
7114
  try {
7098
7115
  _.value = await a.fetchItems(A, s, o);
@@ -7100,19 +7117,19 @@ const Ku = {
7100
7117
  ke(z);
7101
7118
  }
7102
7119
  if (a.multiple) {
7103
- f.value = [];
7120
+ m.value = [];
7104
7121
  return;
7105
7122
  }
7106
- f.value = null;
7123
+ m.value = null;
7107
7124
  }, se = (z) => {
7108
- if (ue(f.value)) {
7109
- f.value = f.value.filter((ie) => ie !== z.value);
7125
+ if (ue(m.value)) {
7126
+ m.value = m.value.filter((ie) => ie !== z.value);
7110
7127
  return;
7111
7128
  }
7112
- z.value === f.value && a.clearable && (f.value = null);
7129
+ z.value === m.value && a.clearable && (m.value = null);
7113
7130
  };
7114
7131
  qa(
7115
- c,
7132
+ f,
7116
7133
  (z, ie) => {
7117
7134
  if (z !== ie && !(z.length > 0 && z.length < a.minSearchChars)) {
7118
7135
  if (z.length === 0 && a.prefetch === !1) {
@@ -7123,31 +7140,31 @@ const Ku = {
7123
7140
  }
7124
7141
  },
7125
7142
  { debounce: fc }
7126
- ), Ae(c, (z, ie) => {
7143
+ ), Ae(f, (z, ie) => {
7127
7144
  z !== ie && r("searchChange", z);
7128
7145
  });
7129
7146
  const Ie = (z) => {
7130
7147
  const ie = $e(z);
7131
- if (d.value = ie, G(ie) || k(ie)) {
7132
- f.value = null;
7148
+ if (d.value = ie, G(ie) || D(ie)) {
7149
+ m.value = null;
7133
7150
  return;
7134
7151
  }
7135
7152
  if (ue(ie)) {
7136
- f.value = ie.map((Ce) => Ce.value);
7153
+ m.value = ie.map((Ce) => Ce.value);
7137
7154
  return;
7138
7155
  }
7139
- f.value = ie.value;
7156
+ m.value = ie.value;
7140
7157
  }, Nt = U(() => {
7141
7158
  if (R.value)
7142
7159
  return "$vuetify.loading";
7143
- if (_.value.length === 0 && c.value.length < a.minSearchChars)
7144
- return k(a.minSearchText) ? w("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
7160
+ if (_.value.length === 0 && f.value.length < a.minSearchChars)
7161
+ return D(a.minSearchText) ? k("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
7145
7162
  });
7146
7163
  return Ae(
7147
- f,
7164
+ m,
7148
7165
  async (z, ie) => {
7149
7166
  if (z !== ie) {
7150
- if (y.value && (y.value = !1, await te("mounted", z)), b.value.enabled && h.value && E.value(z), Qo(z)) {
7167
+ if (y.value && (y.value = !1, await te("mounted", z)), g.value.enabled && v.value && T.value(z), Qo(z)) {
7151
7168
  Q(z);
7152
7169
  return;
7153
7170
  }
@@ -7158,12 +7175,12 @@ const Ku = {
7158
7175
  ), n({
7159
7176
  tryLoadModelValue: Te
7160
7177
  }), (z, ie) => (P(), X(ra, {
7161
- "model-value": D.value,
7178
+ "model-value": w.value,
7162
7179
  items: x.value,
7163
7180
  "no-filter": "",
7164
7181
  multiple: e.multiple,
7165
7182
  clearable: e.clearable,
7166
- "error-messages": T.value,
7183
+ "error-messages": E.value,
7167
7184
  chips: e.chips || e.multiple || e.closableChips,
7168
7185
  "hide-details": e.hideDetails,
7169
7186
  loading: j.value,
@@ -7212,13 +7229,13 @@ const Ku = {
7212
7229
  ]),
7213
7230
  _: 2
7214
7231
  }, [
7215
- m.value ? {
7232
+ c.value ? {
7216
7233
  name: "append-inner",
7217
7234
  fn: B(() => [
7218
- we(z.$slots, "locked", { userId: m.value }, () => [
7235
+ we(z.$slots, "locked", { userId: c.value }, () => [
7219
7236
  e.collab ? (P(), X(ua, {
7220
7237
  key: 0,
7221
- id: m.value,
7238
+ id: c.value,
7222
7239
  users: e.collab.cachedUsers
7223
7240
  }, null, 8, ["id", "users"])) : ce("", !0)
7224
7241
  ])
@@ -7405,7 +7422,7 @@ export {
7405
7422
  rn as c7,
7406
7423
  gr as c8,
7407
7424
  Wu as c9,
7408
- k as d,
7425
+ D as d,
7409
7426
  ua as e,
7410
7427
  Gt as f,
7411
7428
  $e as g,
@@ -7429,4 +7446,4 @@ export {
7429
7446
  Qo as y,
7430
7447
  Cl as z
7431
7448
  };
7432
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-_07nGoQb.mjs.map
7449
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DjYHyeck.mjs.map