@anzusystems/common-admin 1.47.0-beta.dev-1771794052 → 1.47.0-beta.dev-1771794053

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as we, createBlock as X, openBlock as P, withCtx as R, createVNode as O, createElementBlock as de, createCommentVNode as ce, renderSlot as Se, normalizeClass as Ze, toDisplayString as fe, createElementVNode as Ee, isProxy as Or, toRaw as aa, isRef as Va, unref as H, computed as Y, Fragment as qe, normalizeStyle as Rr, createTextVNode as De, shallowRef as co, watch as Ae, ref as N, reactive as Zt, inject as J, createSlots as Lt, withDirectives as wn, onMounted as Ha, withModifiers as ye, onUnmounted as Lr, TransitionGroup as Pr, mergeProps as st, isVNode as Nr, mergeModels as mt, useModel as Tt, useTemplateRef as Bt, nextTick as Ue, withKeys as $a, vModelText as fo, getCurrentInstance as oa, resolveComponent as Wt, resolveDynamicComponent as Ho, renderList as Ot, toValue as mo, toRef as Ur, onBeforeUnmount as Yr, provide as Kn, vShow as Vr } from "vue";
1
+ import { defineComponent as we, createBlock as X, openBlock as L, withCtx as R, createVNode as O, createElementBlock as de, createCommentVNode as ce, renderSlot as Se, normalizeClass as Ze, toDisplayString as fe, createElementVNode as Ee, isProxy as Or, toRaw as aa, isRef as Va, unref as H, computed as Y, Fragment as qe, normalizeStyle as Rr, createTextVNode as De, shallowRef as co, watch as Ae, ref as N, reactive as Zt, inject as J, createSlots as Pt, withDirectives as wn, onMounted as Ha, withModifiers as ye, onUnmounted as Pr, TransitionGroup as Lr, mergeProps as st, isVNode as Nr, mergeModels as mt, useModel as Tt, useTemplateRef as Bt, nextTick as Ue, withKeys as $a, vModelText as fo, getCurrentInstance as oa, resolveComponent as Wt, resolveDynamicComponent as Ho, renderList as Ot, toValue as mo, toRef as Ur, onBeforeUnmount as Yr, provide as Kn, vShow as Vr } from "vue";
2
2
  import { useEventBus as Qe, tryOnBeforeUnmount as Hr, watchDebounced as ja, useResizeObserver as jr, watchThrottled as qr, defaultDocument as zr, unrefElement as Wr, tryOnMounted as Kr, tryOnScopeDispose as Gr } from "@vueuse/core";
3
3
  import { useI18n as Re, createI18n as Xr } from "vue-i18n";
4
4
  import { VAutocomplete as ra } from "vuetify/components/VAutocomplete";
@@ -22,7 +22,7 @@ import { Tooltip as Go } from "vuetify/directives";
22
22
  import { VToolbar as cl, VToolbarTitle as dl } from "vuetify/components/VToolbar";
23
23
  import { VSwitch as fl } from "vuetify/components/VSwitch";
24
24
  import { defineStore as ml } from "pinia";
25
- import Pt from "axios";
25
+ import Lt from "axios";
26
26
  import { VProgressCircular as Xo } from "vuetify/components/VProgressCircular";
27
27
  import { VTabs as vl, VTab as vo } from "vuetify/components/VTabs";
28
28
  import { VAvatar as pl } from "vuetify/components/VAvatar";
@@ -33,14 +33,14 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
33
33
  title: { default: "" },
34
34
  value: { default: "" },
35
35
  dataCy: { default: void 0 },
36
- titleClass: { default: "font-weight-bold text-subtitle-2" }
36
+ titleClass: { default: "font-weight-bold text-label-large" }
37
37
  },
38
38
  setup(e) {
39
- return (n, t) => (P(), X($t, { "data-cy": e.dataCy }, {
39
+ return (n, t) => (L(), X($t, { "data-cy": e.dataCy }, {
40
40
  default: R(() => [
41
41
  O(gt, null, {
42
42
  default: R(() => [
43
- e.title.length ? (P(), de("h4", {
43
+ e.title.length ? (L(), de("h4", {
44
44
  key: 0,
45
45
  class: Ze(e.titleClass)
46
46
  }, fe(e.title), 3)) : ce("", !0),
@@ -59,7 +59,7 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
59
59
  for (const [a, r] of n)
60
60
  t[a] = r;
61
61
  return t;
62
- }, E = (e) => typeof e > "u", he = (e) => !E(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Be = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Pc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Nc = (e) => Be(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), Uc = (e) => {
62
+ }, E = (e) => typeof e > "u", he = (e) => !E(e), G = (e) => e === null, Gt = (e) => typeof e == "number", Be = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Lc = (e) => typeof e == "function", Je = (e) => typeof e == "boolean", Nc = (e) => Be(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), Uc = (e) => {
63
63
  const n = parseFloat(e);
64
64
  return !isNaN(e) && (n | 0) === n;
65
65
  }, En = (e) => typeof e == "object" && !ue(e) && !G(e), pn = (e) => En(e) ? Object.keys(e).length === 0 : !1, Fa = (e) => ue(e) && e.length === 0, Zo = (e) => G(e) || E(e) || e === "" || e === 0 || Fa(e) || pn(e), $e = (e) => {
@@ -133,7 +133,7 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
133
133
  const o = n.user.person.firstName.charAt(0) + n.user.person.lastName.charAt(0);
134
134
  return o.length > 0 ? o : n.user.email.slice(0, 2);
135
135
  });
136
- return (o, l) => (P(), de(qe, null, [
136
+ return (o, l) => (L(), de(qe, null, [
137
137
  O(pl, {
138
138
  color: t.value,
139
139
  class: Ze(["text-uppercase", e.containerClass]),
@@ -144,7 +144,7 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
144
144
  class: "d-inline-flex text-white font-weight-light",
145
145
  style: Rr({ fontSize: a.value })
146
146
  }, fe(r.value), 5),
147
- e.tooltip ? (P(), X(bt, {
147
+ e.tooltip ? (L(), X(bt, {
148
148
  key: 0,
149
149
  activator: "parent"
150
150
  }, {
@@ -181,9 +181,9 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
181
181
  a.value || E(s) || !s._loaded || (t.value = s, a.value = !0);
182
182
  },
183
183
  { immediate: !0 }
184
- ), (s, u) => (P(), de("div", Cl, [
185
- H(G)(e.id) || H(E)(e.id) ? (P(), de("span", wl)) : a.value ? (P(), de(qe, { key: 1 }, [
186
- e.isModerator ? (P(), X(hl, {
184
+ ), (s, u) => (L(), de("div", Cl, [
185
+ H(G)(e.id) || H(E)(e.id) ? (L(), de("span", wl)) : a.value ? (L(), de(qe, { key: 1 }, [
186
+ e.isModerator ? (L(), X(hl, {
187
187
  key: 0,
188
188
  location: "top right",
189
189
  color: "white",
@@ -208,13 +208,13 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
208
208
  }, null, 8, ["user", "tooltip"])
209
209
  ]),
210
210
  _: 1
211
- })) : (P(), X(po, {
211
+ })) : (L(), X(po, {
212
212
  key: 1,
213
213
  user: t.value ?? void 0,
214
214
  size: 20,
215
215
  tooltip: i.value
216
216
  }, null, 8, ["user", "tooltip"]))
217
- ], 64)) : (P(), X(Xo, {
217
+ ], 64)) : (L(), X(Xo, {
218
218
  key: 2,
219
219
  size: 12,
220
220
  width: 2,
@@ -223,17 +223,15 @@ const gl = { class: "text-high-emphasis" }, Mt = /* @__PURE__ */ we({
223
223
  }))
224
224
  ]));
225
225
  }
226
- }), Sl = /* @__PURE__ */ Symbol("anzu:collabRoomDataChanged"), Dl = /* @__PURE__ */ Symbol("anzu:collabReconnect"), kl = /* @__PURE__ */ Symbol("anzu:collabStarting"), El = /* @__PURE__ */ Symbol(
227
- "anzu:collabGatheringBufferData"
228
- ), Tl = /* @__PURE__ */ Symbol(
229
- "anzu:collabApprovedJoinRequest"
230
- ), Al = /* @__PURE__ */ Symbol(
231
- "anzu:collabRejectedJoinRequest"
232
- ), xl = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), Il = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), _l = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Ml = /* @__PURE__ */ Symbol(
233
- "anzu:collabRequestToTakeModeration"
234
- ), $l = /* @__PURE__ */ Symbol("anzu:collabKickedFromRoom"), Fl = /* @__PURE__ */ Symbol("anzu:collabPurgeRoom");
226
+ }), Sl = /* @__PURE__ */ Symbol(
227
+ "anzu:collabRoomDataChanged"
228
+ ), Dl = /* @__PURE__ */ Symbol("anzu:collabReconnect"), kl = /* @__PURE__ */ Symbol("anzu:collabStarting"), El = /* @__PURE__ */ Symbol("anzu:collabGatheringBufferData"), Tl = /* @__PURE__ */ Symbol("anzu:collabApprovedJoinRequest"), Al = /* @__PURE__ */ Symbol("anzu:collabRejectedJoinRequest"), xl = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), _l = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), Il = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Ml = /* @__PURE__ */ Symbol("anzu:collabRequestToTakeModeration"), $l = /* @__PURE__ */ Symbol(
229
+ "anzu:collabKickedFromRoom"
230
+ ), Fl = /* @__PURE__ */ Symbol("anzu:collabPurgeRoom");
235
231
  function Bl() {
236
- return Qe(Sl);
232
+ return Qe(
233
+ Sl
234
+ );
237
235
  }
238
236
  function Xc() {
239
237
  return Qe(Dl);
@@ -256,10 +254,14 @@ function ed() {
256
254
  return Qe(xl);
257
255
  }
258
256
  function td() {
259
- return Qe(Il);
257
+ return Qe(
258
+ _l
259
+ );
260
260
  }
261
261
  function nd() {
262
- return Qe(_l);
262
+ return Qe(
263
+ Il
264
+ );
263
265
  }
264
266
  function ad() {
265
267
  return Qe(Ml);
@@ -279,20 +281,24 @@ const un = {
279
281
  }, On = (e, n) => ({
280
282
  type: e,
281
283
  status: n
282
- }), Ol = /* @__PURE__ */ Symbol("anzu:collabFieldLockStatus");
284
+ }), Ol = /* @__PURE__ */ Symbol(
285
+ "anzu:collabFieldLockStatus"
286
+ );
283
287
  function Rl() {
284
- return Qe(Ol);
288
+ return Qe(
289
+ Ol
290
+ );
285
291
  }
286
292
  const pa = {
287
293
  Inactive: "inactive",
288
294
  Active: "active"
289
- }, Ll = {
295
+ }, Pl = {
290
296
  Ok: "ok",
291
297
  Occupied: "occupied",
292
298
  Failed: "failed"
293
299
  };
294
300
  function ld(e) {
295
- return e.status === Ll.Ok;
301
+ return e.status === Pl.Ok;
296
302
  }
297
303
  const tr = {
298
304
  Ok: "ok",
@@ -330,13 +336,15 @@ function Jt() {
330
336
  collabOptions: Ba
331
337
  };
332
338
  }
333
- const bo = N(!0), Pl = N(), Nl = Zt(/* @__PURE__ */ new Map()), Ul = Zt(/* @__PURE__ */ new Map()), ha = Zt(/* @__PURE__ */ new Map());
339
+ const bo = N(!0), Ll = N(), Nl = Zt(/* @__PURE__ */ new Map()), Ul = Zt(/* @__PURE__ */ new Map()), ha = Zt(
340
+ /* @__PURE__ */ new Map()
341
+ );
334
342
  function Yl() {
335
343
  const { collabOptions: e } = Jt();
336
344
  return {
337
345
  collabReconnecting: Y(() => e.value.enabled && !bo.value),
338
346
  collabConnected: bo,
339
- collabSocket: Pl,
347
+ collabSocket: Ll,
340
348
  collabRoomInfoState: Nl,
341
349
  collabFieldLocksState: Ul,
342
350
  collabFieldDataBufferState: ha,
@@ -363,15 +371,17 @@ function ca(e, n, t = !1) {
363
371
  $.room !== e || $.field !== n || E(k) || E(c.value) || c.value(k);
364
372
  }, A = ($, k) => {
365
373
  $.room !== e || $.field !== n || E(k) || E(T.value) || T.value(k);
366
- }, I = ($) => {
367
- $.room === e && he(d.value) && d.value();
368
374
  }, _ = ($) => {
375
+ $.room === e && he(d.value) && d.value();
376
+ }, I = ($) => {
369
377
  c.value = $, f.value = u.on(p);
370
378
  }, h = ($) => {
371
- T.value = $, v.value = g.on(A);
379
+ T.value = $, v.value = g.on(
380
+ A
381
+ );
372
382
  }, w = ($) => {
373
383
  d.value = $, m.value = b.on(
374
- I
384
+ _
375
385
  );
376
386
  };
377
387
  Hr(() => {
@@ -387,30 +397,42 @@ function ca(e, n, t = !1) {
387
397
  return null;
388
398
  });
389
399
  return {
390
- addCollabFieldDataChangeListener: _,
400
+ addCollabFieldDataChangeListener: I,
391
401
  addCollabFieldLockStatusListener: h,
392
402
  addCollabGatheringBufferDataListener: w,
393
403
  acquireCollabFieldLock: ($ = {}) => {
394
404
  if (!a.value.enabled || E(o.value)) return;
395
405
  const k = s.get(e);
396
- k && k.status === pa.Inactive || o.value?.timeout(1e3).emit("acquireFieldLock", e, n, $, (M, S) => {
397
- const y = { field: n, room: e };
398
- if (M || go(S))
399
- return void g.emit(
400
- y,
401
- On(un.Acquire, cn.Failure)
402
- );
403
- if (ho(S)) {
404
- l.has(e) || l.set(e, /* @__PURE__ */ new Map());
405
- const C = new Map(S.locks ? Object.entries(S.locks) : []);
406
- for (const [x, L] of C.entries())
407
- l.get(e)?.set(x, L);
408
- return void g.emit(
409
- y,
410
- On(un.Acquire, cn.Success)
411
- );
406
+ k && k.status === pa.Inactive || o.value?.timeout(1e3).emit(
407
+ "acquireFieldLock",
408
+ e,
409
+ n,
410
+ $,
411
+ (M, S) => {
412
+ const y = { field: n, room: e };
413
+ if (M || go(S))
414
+ return void g.emit(
415
+ y,
416
+ On(
417
+ un.Acquire,
418
+ cn.Failure
419
+ )
420
+ );
421
+ if (ho(S)) {
422
+ l.has(e) || l.set(e, /* @__PURE__ */ new Map());
423
+ const C = new Map(S.locks ? Object.entries(S.locks) : []);
424
+ for (const [x, P] of C.entries())
425
+ l.get(e)?.set(x, P);
426
+ return void g.emit(
427
+ y,
428
+ On(
429
+ un.Acquire,
430
+ cn.Success
431
+ )
432
+ );
433
+ }
412
434
  }
413
- });
435
+ );
414
436
  },
415
437
  releaseCollabFieldLock: ($, k = {}) => {
416
438
  if (!a.value.enabled || E(o.value)) return;
@@ -419,23 +441,36 @@ function ca(e, n, t = !1) {
419
441
  i.has(e) || i.set(e, /* @__PURE__ */ new Map()), i.get(e)?.set(n, $);
420
442
  return;
421
443
  }
422
- o.value?.timeout(1e3).emit("releaseFieldLock", e, n, $, k, (S, y) => {
423
- const C = { field: n, room: e };
424
- if (S || go(y))
425
- return void g.emit(
426
- C,
427
- On(un.Release, cn.Failure)
428
- );
429
- if (ho(y)) {
430
- if (l.has(e) || l.set(e, /* @__PURE__ */ new Map()), y.locks)
431
- for (const x of Object.keys(y.locks))
432
- l.get(e)?.delete(x);
433
- return void g.emit(
434
- C,
435
- On(un.Release, cn.Success)
436
- );
444
+ o.value?.timeout(1e3).emit(
445
+ "releaseFieldLock",
446
+ e,
447
+ n,
448
+ $,
449
+ k,
450
+ (S, y) => {
451
+ const C = { field: n, room: e };
452
+ if (S || go(y))
453
+ return void g.emit(
454
+ C,
455
+ On(
456
+ un.Release,
457
+ cn.Failure
458
+ )
459
+ );
460
+ if (ho(y)) {
461
+ if (l.has(e) || l.set(e, /* @__PURE__ */ new Map()), y.locks)
462
+ for (const x of Object.keys(y.locks))
463
+ l.get(e)?.delete(x);
464
+ return void g.emit(
465
+ C,
466
+ On(
467
+ un.Release,
468
+ cn.Success
469
+ )
470
+ );
471
+ }
437
472
  }
438
- });
473
+ );
439
474
  },
440
475
  changeCollabFieldData: ($) => {
441
476
  if (!a.value.enabled || E(o.value)) return;
@@ -476,18 +511,20 @@ const Hl = {
476
511
  },
477
512
  emits: ["update:modelValue", "click:append", "blur", "focus"],
478
513
  setup(e, { expose: n, emit: t }) {
479
- const a = e, r = t, o = N(null), { collabOptions: l } = Jt(), i = N((_, h) => {
480
- }), s = N((_) => {
514
+ const a = e, r = t, o = N(null), { collabOptions: l } = Jt(), i = N(
515
+ (I, h) => {
516
+ }
517
+ ), s = N((I) => {
481
518
  }), u = N(null);
482
519
  if (l.value.enabled && he(a.collab)) {
483
520
  const {
484
- releaseCollabFieldLock: _,
521
+ releaseCollabFieldLock: I,
485
522
  acquireCollabFieldLock: h,
486
523
  addCollabFieldLockStatusListener: w,
487
524
  addCollabGatheringBufferDataListener: B,
488
525
  lockedByUser: D
489
526
  } = ca(a.collab.room, a.collab.field);
490
- i.value = _, s.value = h, Ae(
527
+ i.value = I, s.value = h, Ae(
491
528
  D,
492
529
  (F) => {
493
530
  u.value = F;
@@ -499,23 +536,23 @@ const Hl = {
499
536
  o.value?.blur();
500
537
  });
501
538
  }
502
- const { t: f } = Re(), c = J(Ga, void 0), g = J(Xa, void 0), v = (_) => {
503
- r("update:modelValue", _);
539
+ const { t: f } = Re(), c = J(Ga, void 0), g = J(Xa, void 0), v = (I) => {
540
+ r("update:modelValue", I);
504
541
  }, T = () => {
505
542
  r("blur", a.modelValue), a.v?.$touch(), i.value(a.modelValue);
506
543
  }, b = () => {
507
544
  r("focus", a.modelValue), s.value();
508
- }, m = Y(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((_) => _.$message).join(" ")] : []), d = Y(() => {
545
+ }, m = Y(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? [a.v.$errors.map((I) => I.$message).join(" ")] : []), d = Y(() => {
509
546
  if (he(a.label)) return a.label;
510
547
  if (E(c) || E(g) || E(a.v?.$path)) return "";
511
- const { end: _ } = Sn(a.v?.$path, ".");
512
- return f(c + "." + g + ".model." + _);
548
+ const { end: I } = Sn(a.v?.$path, ".");
549
+ return f(c + "." + g + ".model." + I);
513
550
  }), p = Y(() => he(a.required) ? a.required : !!(a.v?.required && a.v?.required.$params.type === "required")), A = Y(() => he(a.disabled) ? a.disabled : !!u.value);
514
551
  return n({
515
552
  focus: () => {
516
553
  o.value?.focus();
517
554
  }
518
- }), (_, h) => (P(), X(sa, {
555
+ }), (I, h) => (L(), X(sa, {
519
556
  ref_key: "textFieldRef",
520
557
  ref: o,
521
558
  "prepend-icon": e.prependIcon,
@@ -536,20 +573,20 @@ const Hl = {
536
573
  onBlur: T,
537
574
  onFocus: b,
538
575
  "onUpdate:modelValue": h[1] || (h[1] = (w) => v(w))
539
- }, Lt({ _: 2 }, [
576
+ }, Pt({ _: 2 }, [
540
577
  e.hideLabel ? void 0 : {
541
578
  name: "label",
542
579
  fn: R(() => [
543
580
  De(fe(d.value), 1),
544
- p.value ? (P(), de("span", Hl)) : ce("", !0)
581
+ p.value ? (L(), de("span", Hl)) : ce("", !0)
545
582
  ]),
546
583
  key: "0"
547
584
  },
548
585
  u.value ? {
549
586
  name: "append-inner",
550
587
  fn: R(() => [
551
- Se(_.$slots, "locked", { userId: u.value }, () => [
552
- e.collab ? (P(), X(ua, {
588
+ Se(I.$slots, "locked", { userId: u.value }, () => [
589
+ e.collab ? (L(), X(ua, {
553
590
  key: 0,
554
591
  id: u.value,
555
592
  users: e.collab.cachedUsers
@@ -558,10 +595,10 @@ const Hl = {
558
595
  ]),
559
596
  key: "1"
560
597
  } : void 0,
561
- _.$slots.prepend ? {
598
+ I.$slots.prepend ? {
562
599
  name: "prepend",
563
600
  fn: R(() => [
564
- Se(_.$slots, "prepend")
601
+ Se(I.$slots, "prepend")
565
602
  ]),
566
603
  key: "2"
567
604
  } : void 0,
@@ -660,7 +697,7 @@ const Za = /* @__PURE__ */ we({
660
697
  const t = n, a = () => {
661
698
  t("onCancel");
662
699
  };
663
- return (r, o) => (P(), X(cl, {
700
+ return (r, o) => (L(), X(cl, {
664
701
  density: "compact",
665
702
  color: "transparent"
666
703
  }, {
@@ -914,7 +951,7 @@ const Rn = {
914
951
  if (D.group || (D.group = ""), D.data || (D.data = {}), e.group !== D.group)
915
952
  return;
916
953
  if (D.clean || D.clear) {
917
- I();
954
+ _();
918
955
  return;
919
956
  }
920
957
  const F = typeof D.duration == "number" ? D.duration : e.duration, U = typeof D.speed == "number" ? D.speed : e.speed, $ = typeof D.ignoreDuplicates == "boolean" ? D.ignoreDuplicates : e.ignoreDuplicates, {
@@ -935,7 +972,7 @@ const Rn = {
935
972
  duplicates: 0
936
973
  };
937
974
  F >= 0 && (x.timer = ei(() => p(x), x.length));
938
- const L = "bottom" in u.value, j = e.reverse ? !L : L;
975
+ const P = "bottom" in u.value, j = e.reverse ? !P : P;
939
976
  let Q = -1;
940
977
  const re = i.value.find((ve) => ve.title === D.title && ve.text === D.text);
941
978
  if ($ && re) {
@@ -953,20 +990,20 @@ const Rn = {
953
990
  }, A = (D) => {
954
991
  const F = r.value.find((U) => U.id === D);
955
992
  F && p(F);
956
- }, I = () => {
993
+ }, _ = () => {
957
994
  i.value.forEach(p);
958
- }, _ = (D, F) => {
995
+ }, I = (D, F) => {
959
996
  var U;
960
997
  const $ = (U = e.animation) == null ? void 0 : U[D];
961
998
  return typeof $ == "function" ? $(F) : $;
962
999
  }, h = (D, F) => {
963
- const U = _("enter", D);
1000
+ const U = I("enter", D);
964
1001
  o(D, U, {
965
1002
  duration: e.speed,
966
1003
  complete: F
967
1004
  });
968
1005
  }, w = (D, F) => {
969
- const U = _("leave", D);
1006
+ const U = I("leave", D);
970
1007
  o(D, U, {
971
1008
  duration: e.speed,
972
1009
  complete: F
@@ -977,14 +1014,14 @@ const Rn = {
977
1014
  }
978
1015
  return Ha(() => {
979
1016
  jt.on("add", T), jt.on("close", b);
980
- }), Lr(() => {
1017
+ }), Pr(() => {
981
1018
  jt.off("add", T), jt.off("close", b);
982
1019
  }), () => {
983
1020
  let D;
984
1021
  return O("div", {
985
1022
  class: "vue-notification-group",
986
1023
  style: u.value
987
- }, [O(Pr, st(f.value, {
1024
+ }, [O(Lr, st(f.value, {
988
1025
  tag: "div",
989
1026
  css: !l.value,
990
1027
  name: e.animationName
@@ -1037,13 +1074,18 @@ class ut extends Error {
1037
1074
  super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
1038
1075
  }
1039
1076
  }
1040
- const li = 200, ii = 201, si = 202, Qt = 204, bd = 400, yd = 401, ui = 403, Cd = 404, Ja = 422, ci = [li, ii, si, Qt], Tn = (e) => Pt.isAxiosError(e) && e.response?.status === ui, di = (e) => e instanceof en;
1077
+ const li = 200, ii = 201, si = 202, Qt = 204, bd = 400, yd = 401, ui = 403, Cd = 404, Ja = 422, ci = [
1078
+ li,
1079
+ ii,
1080
+ si,
1081
+ Qt
1082
+ ], Tn = (e) => Lt.isAxiosError(e) && e.response?.status === ui, di = (e) => e instanceof en;
1041
1083
  class en extends Error {
1042
1084
  constructor(n, t = "") {
1043
1085
  super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
1044
1086
  }
1045
1087
  }
1046
- const fi = "validation_failed", An = (e) => Pt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === fi && e.response.data?.fields, ar = (e) => e instanceof tn, mi = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1088
+ const fi = "validation_failed", An = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === fi && e.response.data?.fields, ar = (e) => e instanceof tn, mi = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1047
1089
  function vi(e, n, t) {
1048
1090
  const a = e.response?.data, r = [];
1049
1091
  for (const [o, l] of Object.entries(a.fields))
@@ -1066,7 +1108,7 @@ class nn extends Error {
1066
1108
  super(a), this.name = "AnzuApiResponseCodeError", this.cause = t, this.code = n;
1067
1109
  }
1068
1110
  }
1069
- const pi = "forbidden_operation_error", xn = (e) => Pt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === pi && e.response.data?.detail, hi = (e) => e instanceof an;
1111
+ const pi = "forbidden_operation_error", xn = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === pi && e.response.data?.detail, hi = (e) => e instanceof an;
1070
1112
  function gi(e) {
1071
1113
  return (e.response?.data).detail;
1072
1114
  }
@@ -1076,7 +1118,7 @@ class an extends Error {
1076
1118
  super(a), this.name = "AnzuApiForbiddenOperationError", this.cause = t, this.message = a, this.detail = gi(n);
1077
1119
  }
1078
1120
  }
1079
- const bi = "dependency_exists_error", In = (e) => Pt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === bi && e.response.data?.dependencies, yi = (e) => e instanceof on;
1121
+ const bi = "dependency_exists_error", _n = (e) => Lt.isAxiosError(e) && e.response?.status === Ja && e.response.data?.error === bi && e.response.data?.dependencies, yi = (e) => e instanceof on;
1080
1122
  function Ci(e) {
1081
1123
  return (e.response?.data).dependencies;
1082
1124
  }
@@ -1086,7 +1128,7 @@ class on extends Error {
1086
1128
  super(o), this.name = "AnzuApiDependencyExistsError", this.cause = r, this.message = o, this.dependencies = Ci(n);
1087
1129
  }
1088
1130
  }
1089
- const wi = (e) => e instanceof eo, or = (e) => Pt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1131
+ const wi = (e) => e instanceof eo, or = (e) => Lt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1090
1132
  class eo extends Error {
1091
1133
  constructor(n = void 0) {
1092
1134
  super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
@@ -1100,7 +1142,7 @@ class to extends Error {
1100
1142
  }
1101
1143
  const rt = 3, Di = `
1102
1144
  `;
1103
- function _n() {
1145
+ function In() {
1104
1146
  const e = (m, d = rt) => {
1105
1147
  nt({
1106
1148
  group: "alerts",
@@ -1158,32 +1200,32 @@ function _n() {
1158
1200
  type: "success"
1159
1201
  });
1160
1202
  }, f = (m, d = -1, p = !1) => {
1161
- const { t: A, te: I } = xe.global, _ = [A("common.alert.fixApiValidationErrors")];
1203
+ const { t: A, te: _ } = xe.global, I = [A("common.alert.fixApiValidationErrors")];
1162
1204
  for (let h = 0; h < m.length; h++) {
1163
1205
  let w = "";
1164
- p ? w += m[h].field : I(m[h].field) ? w += A(m[h].field) : m[h].field.includes("[") ? w += b(m[h].field) : w += m[h].field.split(".").at(-1);
1206
+ p ? w += m[h].field : _(m[h].field) ? w += A(m[h].field) : m[h].field.includes("[") ? w += b(m[h].field) : w += m[h].field.split(".").at(-1);
1165
1207
  const B = /* @__PURE__ */ new Set();
1166
1208
  for (let D = 0; D < m[h].errors.length; D++) {
1167
- if (I("error.apiValidation." + m[h].errors[D])) {
1209
+ if (_("error.apiValidation." + m[h].errors[D])) {
1168
1210
  B.add(A("error.apiValidation." + m[h].errors[D]));
1169
1211
  continue;
1170
1212
  }
1171
1213
  B.add(A("error.apiValidation.noTranslation"));
1172
1214
  }
1173
- w.length > 0 && _.push(w + ": " + Array.from(B).join(", "));
1215
+ w.length > 0 && I.push(w + ": " + Array.from(B).join(", "));
1174
1216
  }
1175
1217
  nt({
1176
1218
  group: "alerts",
1177
- text: _.join(Di),
1219
+ text: I.join(Di),
1178
1220
  duration: d * 1e3,
1179
1221
  type: "error"
1180
1222
  });
1181
1223
  }, c = (m, d = -1) => {
1182
1224
  const { t: p, te: A } = xe.global;
1183
- let I = p("error.apiForbiddenOperation.noTranslation");
1184
- A("error.apiForbiddenOperation." + m) && (I = p("error.apiForbiddenOperation." + m)), nt({
1225
+ let _ = p("error.apiForbiddenOperation.noTranslation");
1226
+ A("error.apiForbiddenOperation." + m) && (_ = p("error.apiForbiddenOperation." + m)), nt({
1185
1227
  group: "alerts",
1186
- text: I,
1228
+ text: _,
1187
1229
  duration: d * 1e3,
1188
1230
  type: "error"
1189
1231
  });
@@ -1204,8 +1246,8 @@ function _n() {
1204
1246
  type: "error"
1205
1247
  });
1206
1248
  }, T = (m, d = -1) => di(m) ? (v(d), !0) : ar(m) ? (f(m.fields, d), !0) : yi(m) ? (a("error.apiDependencyExists.message", d), !0) : hi(m) ? (c(m.detail, d), !0) : wi(m) ? (a("error.apiTimedOut.message", d), !0) : Si(m) || ri(m) || Qa(m) ? (g(d), !0) : !1, b = (m) => {
1207
- const { t: d } = xe.global, p = m.split("["), A = p[0].trim(), I = p[1].split("]"), _ = I[0], h = I[1] ?? "";
1208
- return d(A) + "[" + _ + "]: " + d(A.slice(0, -1) + h);
1249
+ const { t: d } = xe.global, p = m.split("["), A = p[0].trim(), _ = p[1].split("]"), I = _[0], h = _[1] ?? "";
1250
+ return d(A) + "[" + I + "]: " + d(A.slice(0, -1) + h);
1209
1251
  };
1210
1252
  return {
1211
1253
  showSuccess: e,
@@ -1240,41 +1282,41 @@ function Ei() {
1240
1282
  } }, A = function(M, S, y) {
1241
1283
  var C = String(M);
1242
1284
  return !C || C.length >= S ? M : "" + Array(S + 1 - C.length).join(y) + M;
1243
- }, I = { s: A, z: function(M) {
1285
+ }, _ = { s: A, z: function(M) {
1244
1286
  var S = -M.utcOffset(), y = Math.abs(S), C = Math.floor(y / 60), x = y % 60;
1245
1287
  return (S <= 0 ? "+" : "-") + A(C, 2, "0") + ":" + A(x, 2, "0");
1246
1288
  }, m: function M(S, y) {
1247
1289
  if (S.date() < y.date()) return -M(y, S);
1248
- var C = 12 * (y.year() - S.year()) + (y.month() - S.month()), x = S.clone().add(C, c), L = y - x < 0, j = S.clone().add(C + (L ? -1 : 1), c);
1249
- return +(-(C + (y - x) / (L ? x - j : j - x)) || 0);
1290
+ var C = 12 * (y.year() - S.year()) + (y.month() - S.month()), x = S.clone().add(C, c), P = y - x < 0, j = S.clone().add(C + (P ? -1 : 1), c);
1291
+ return +(-(C + (y - x) / (P ? x - j : j - x)) || 0);
1250
1292
  }, a: function(M) {
1251
1293
  return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
1252
1294
  }, p: function(M) {
1253
1295
  return { M: c, y: v, w: f, d: u, D: T, h: s, m: i, s: l, ms: o, Q: g }[M] || String(M || "").toLowerCase().replace(/s$/, "");
1254
1296
  }, u: function(M) {
1255
1297
  return M === void 0;
1256
- } }, _ = "en", h = {};
1257
- h[_] = p;
1298
+ } }, I = "en", h = {};
1299
+ h[I] = p;
1258
1300
  var w = "$isDayjsObject", B = function(M) {
1259
1301
  return M instanceof $ || !(!M || !M[w]);
1260
1302
  }, D = function M(S, y, C) {
1261
1303
  var x;
1262
- if (!S) return _;
1304
+ if (!S) return I;
1263
1305
  if (typeof S == "string") {
1264
- var L = S.toLowerCase();
1265
- h[L] && (x = L), y && (h[L] = y, x = L);
1306
+ var P = S.toLowerCase();
1307
+ h[P] && (x = P), y && (h[P] = y, x = P);
1266
1308
  var j = S.split("-");
1267
1309
  if (!x && j.length > 1) return M(j[0]);
1268
1310
  } else {
1269
1311
  var Q = S.name;
1270
1312
  h[Q] = S, x = Q;
1271
1313
  }
1272
- return !C && x && (_ = x), x || !C && _;
1314
+ return !C && x && (I = x), x || !C && I;
1273
1315
  }, F = function(M, S) {
1274
1316
  if (B(M)) return M.clone();
1275
1317
  var y = typeof S == "object" ? S : {};
1276
1318
  return y.date = M, y.args = arguments, new $(y);
1277
- }, U = I;
1319
+ }, U = _;
1278
1320
  U.l = D, U.i = B, U.w = function(M, S) {
1279
1321
  return F(M, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
1280
1322
  };
@@ -1285,7 +1327,7 @@ function Ei() {
1285
1327
  var S = M.prototype;
1286
1328
  return S.parse = function(y) {
1287
1329
  this.$d = (function(C) {
1288
- var x = C.date, L = C.utc;
1330
+ var x = C.date, P = C.utc;
1289
1331
  if (x === null) return /* @__PURE__ */ new Date(NaN);
1290
1332
  if (U.u(x)) return /* @__PURE__ */ new Date();
1291
1333
  if (x instanceof Date) return new Date(x);
@@ -1293,7 +1335,7 @@ function Ei() {
1293
1335
  var j = x.match(m);
1294
1336
  if (j) {
1295
1337
  var Q = j[2] - 1 || 0, re = (j[7] || "0").substring(0, 3);
1296
- return L ? 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);
1338
+ return P ? 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);
1297
1339
  }
1298
1340
  }
1299
1341
  return new Date(x);
@@ -1319,20 +1361,20 @@ function Ei() {
1319
1361
  }, S.valueOf = function() {
1320
1362
  return this.$d.getTime();
1321
1363
  }, S.startOf = function(y, C) {
1322
- var x = this, L = !!U.u(C) || C, j = U.p(y), Q = function(K, ge) {
1364
+ var x = this, P = !!U.u(C) || C, j = U.p(y), Q = function(K, ge) {
1323
1365
  var Z = U.w(x.$u ? Date.UTC(x.$y, ge, K) : new Date(x.$y, ge, K), x);
1324
- return L ? Z : Z.endOf(u);
1366
+ return P ? Z : Z.endOf(u);
1325
1367
  }, re = function(K, ge) {
1326
- return U.w(x.toDate()[K].apply(x.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ge)), x);
1368
+ return U.w(x.toDate()[K].apply(x.toDate("s"), (P ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ge)), x);
1327
1369
  }, ve = this.$W, Te = this.$M, ke = this.$D, W = "set" + (this.$u ? "UTC" : "");
1328
1370
  switch (j) {
1329
1371
  case v:
1330
- return L ? Q(1, 0) : Q(31, 11);
1372
+ return P ? Q(1, 0) : Q(31, 11);
1331
1373
  case c:
1332
- return L ? Q(1, Te) : Q(0, Te + 1);
1374
+ return P ? Q(1, Te) : Q(0, Te + 1);
1333
1375
  case f:
1334
1376
  var te = this.$locale().weekStart || 0, q = (ve < te ? ve + 7 : ve) - te;
1335
- return Q(L ? ke - q : ke + (6 - q), Te);
1377
+ return Q(P ? ke - q : ke + (6 - q), Te);
1336
1378
  case u:
1337
1379
  case T:
1338
1380
  return re(W + "Hours", 0);
@@ -1348,8 +1390,8 @@ function Ei() {
1348
1390
  }, S.endOf = function(y) {
1349
1391
  return this.startOf(y, !1);
1350
1392
  }, S.$set = function(y, C) {
1351
- var x, L = U.p(y), j = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[u] = j + "Date", x[T] = j + "Date", x[c] = j + "Month", x[v] = j + "FullYear", x[s] = j + "Hours", x[i] = j + "Minutes", x[l] = j + "Seconds", x[o] = j + "Milliseconds", x)[L], re = L === u ? this.$D + (C - this.$W) : C;
1352
- if (L === c || L === v) {
1393
+ var x, P = U.p(y), j = "set" + (this.$u ? "UTC" : ""), Q = (x = {}, x[u] = j + "Date", x[T] = j + "Date", x[c] = j + "Month", x[v] = j + "FullYear", x[s] = j + "Hours", x[i] = j + "Minutes", x[l] = j + "Seconds", x[o] = j + "Milliseconds", x)[P], re = P === u ? this.$D + (C - this.$W) : C;
1394
+ if (P === c || P === v) {
1353
1395
  var ve = this.clone().set(T, 1);
1354
1396
  ve.$d[Q](re), ve.init(), this.$d = ve.set(T, Math.min(this.$D, ve.daysInMonth())).$d;
1355
1397
  } else Q && this.$d[Q](re);
@@ -1359,11 +1401,11 @@ function Ei() {
1359
1401
  }, S.get = function(y) {
1360
1402
  return this[U.p(y)]();
1361
1403
  }, S.add = function(y, C) {
1362
- var x, L = this;
1404
+ var x, P = this;
1363
1405
  y = Number(y);
1364
1406
  var j = U.p(C), Q = function(Te) {
1365
- var ke = F(L);
1366
- return U.w(ke.date(ke.date() + Math.round(Te * y)), L);
1407
+ var ke = F(P);
1408
+ return U.w(ke.date(ke.date() + Math.round(Te * y)), P);
1367
1409
  };
1368
1410
  if (j === c) return this.set(c, this.$M + y);
1369
1411
  if (j === v) return this.set(v, this.$y + y);
@@ -1376,15 +1418,15 @@ function Ei() {
1376
1418
  }, S.format = function(y) {
1377
1419
  var C = this, x = this.$locale();
1378
1420
  if (!this.isValid()) return x.invalidDate || b;
1379
- var L = y || "YYYY-MM-DDTHH:mm:ssZ", j = U.z(this), Q = this.$H, re = this.$m, ve = this.$M, Te = x.weekdays, ke = x.months, W = x.meridiem, te = function(ge, Z, ee, le) {
1380
- return ge && (ge[Z] || ge(C, L)) || ee[Z].slice(0, le);
1421
+ var P = y || "YYYY-MM-DDTHH:mm:ssZ", j = U.z(this), Q = this.$H, re = this.$m, ve = this.$M, Te = x.weekdays, ke = x.months, W = x.meridiem, te = function(ge, Z, ee, le) {
1422
+ return ge && (ge[Z] || ge(C, P)) || ee[Z].slice(0, le);
1381
1423
  }, q = function(ge) {
1382
1424
  return U.s(Q % 12 || 12, ge, "0");
1383
1425
  }, K = W || function(ge, Z, ee) {
1384
1426
  var le = ge < 12 ? "AM" : "PM";
1385
1427
  return ee ? le.toLowerCase() : le;
1386
1428
  };
1387
- return L.replace(d, (function(ge, Z) {
1429
+ return P.replace(d, (function(ge, Z) {
1388
1430
  return Z || (function(ee) {
1389
1431
  switch (ee) {
1390
1432
  case "YY":
@@ -1442,46 +1484,46 @@ function Ei() {
1442
1484
  }, S.utcOffset = function() {
1443
1485
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1444
1486
  }, S.diff = function(y, C, x) {
1445
- var L, j = this, Q = U.p(C), re = F(y), ve = (re.utcOffset() - this.utcOffset()) * a, Te = this - re, ke = function() {
1487
+ var P, j = this, Q = U.p(C), re = F(y), ve = (re.utcOffset() - this.utcOffset()) * a, Te = this - re, ke = function() {
1446
1488
  return U.m(j, re);
1447
1489
  };
1448
1490
  switch (Q) {
1449
1491
  case v:
1450
- L = ke() / 12;
1492
+ P = ke() / 12;
1451
1493
  break;
1452
1494
  case c:
1453
- L = ke();
1495
+ P = ke();
1454
1496
  break;
1455
1497
  case g:
1456
- L = ke() / 3;
1498
+ P = ke() / 3;
1457
1499
  break;
1458
1500
  case f:
1459
- L = (Te - ve) / 6048e5;
1501
+ P = (Te - ve) / 6048e5;
1460
1502
  break;
1461
1503
  case u:
1462
- L = (Te - ve) / 864e5;
1504
+ P = (Te - ve) / 864e5;
1463
1505
  break;
1464
1506
  case s:
1465
- L = Te / r;
1507
+ P = Te / r;
1466
1508
  break;
1467
1509
  case i:
1468
- L = Te / a;
1510
+ P = Te / a;
1469
1511
  break;
1470
1512
  case l:
1471
- L = Te / t;
1513
+ P = Te / t;
1472
1514
  break;
1473
1515
  default:
1474
- L = Te;
1516
+ P = Te;
1475
1517
  }
1476
- return x ? L : U.a(L);
1518
+ return x ? P : U.a(P);
1477
1519
  }, S.daysInMonth = function() {
1478
1520
  return this.endOf(c).$D;
1479
1521
  }, S.$locale = function() {
1480
1522
  return h[this.$L];
1481
1523
  }, S.locale = function(y, C) {
1482
1524
  if (!y) return this.$L;
1483
- var x = this.clone(), L = D(y, C, !0);
1484
- return L && (x.$L = L), x;
1525
+ var x = this.clone(), P = D(y, C, !0);
1526
+ return P && (x.$L = P), x;
1485
1527
  }, S.clone = function() {
1486
1528
  return U.w(this.$d, this);
1487
1529
  }, S.toDate = function() {
@@ -1502,7 +1544,7 @@ function Ei() {
1502
1544
  return M.$i || (M(S, $, F), M.$i = !0), F;
1503
1545
  }, F.locale = D, F.isDayjs = B, F.unix = function(M) {
1504
1546
  return F(1e3 * M);
1505
- }, F.en = h[_], F.Ls = h, F.p = {}, F;
1547
+ }, F.en = h[I], F.Ls = h, F.p = {}, F;
1506
1548
  }));
1507
1549
  })(Yn)), Yn.exports;
1508
1550
  }
@@ -1541,9 +1583,9 @@ function xi() {
1541
1583
  s.utcOffset = function(b, m) {
1542
1584
  var d = this.$utils().u;
1543
1585
  if (d(b)) return this.$u ? 0 : d(this.$offset) ? c.call(this) : this.$offset;
1544
- if (typeof b == "string" && (b = (function(_) {
1545
- _ === void 0 && (_ = "");
1546
- var h = _.match(a);
1586
+ if (typeof b == "string" && (b = (function(I) {
1587
+ I === void 0 && (I = "");
1588
+ var h = I.match(a);
1547
1589
  if (!h) return null;
1548
1590
  var w = ("" + h[0]).match(r) || ["-", 0, 0], B = w[0], D = 60 * +w[1] + +w[2];
1549
1591
  return D === 0 ? 0 : B === "+" ? D : -D;
@@ -1552,8 +1594,8 @@ function xi() {
1552
1594
  if (p === 0) return this.utc(m);
1553
1595
  var A = this.clone();
1554
1596
  if (m) return A.$offset = p, A.$u = !1, A;
1555
- var I = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1556
- return (A = this.local().add(p + I, t)).$offset = p, A.$x.$localOffset = I, A;
1597
+ var _ = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1598
+ return (A = this.local().add(p + _, t)).$offset = p, A.$x.$localOffset = _, A;
1557
1599
  };
1558
1600
  var g = s.format;
1559
1601
  s.format = function(b) {
@@ -1583,14 +1625,14 @@ function xi() {
1583
1625
  }));
1584
1626
  })(Vn)), Vn.exports;
1585
1627
  }
1586
- var Ii = xi();
1587
- const rr = /* @__PURE__ */ no(Ii);
1588
- var Hn = { exports: {} }, _i = Hn.exports, To;
1628
+ var _i = xi();
1629
+ const rr = /* @__PURE__ */ no(_i);
1630
+ var Hn = { exports: {} }, Ii = Hn.exports, To;
1589
1631
  function Mi() {
1590
1632
  return To || (To = 1, (function(e, n) {
1591
1633
  (function(t, a) {
1592
1634
  e.exports = a();
1593
- })(_i, (function() {
1635
+ })(Ii, (function() {
1594
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/, l = /\d\d?/, i = /\d*[^-_:/,()\s\d]+/, s = {}, u = function(m) {
1595
1637
  return (m = +m) + (m > 68 ? 1900 : 2e3);
1596
1638
  }, f = function(m) {
@@ -1609,8 +1651,8 @@ function Mi() {
1609
1651
  }, v = function(m, d) {
1610
1652
  var p, A = s.meridiem;
1611
1653
  if (A) {
1612
- for (var I = 1; I <= 24; I += 1) if (m.indexOf(A(I, 0, d)) > -1) {
1613
- p = I > 12;
1654
+ for (var _ = 1; _ <= 24; _ += 1) if (m.indexOf(A(_, 0, d)) > -1) {
1655
+ p = _ > 12;
1614
1656
  break;
1615
1657
  }
1616
1658
  } else p = m === (d ? "pm" : "PM");
@@ -1651,12 +1693,12 @@ function Mi() {
1651
1693
  return U || p[$] || t[$] || p[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(M, S, y) {
1652
1694
  return S || y.slice(1);
1653
1695
  }));
1654
- }))).match(a), I = A.length, _ = 0; _ < I; _ += 1) {
1655
- var h = A[_], w = T[h], B = w && w[0], D = w && w[1];
1656
- A[_] = D ? { regex: B, parser: D } : h.replace(/^\[|\]$/g, "");
1696
+ }))).match(a), _ = A.length, I = 0; I < _; I += 1) {
1697
+ var h = A[I], w = T[h], B = w && w[0], D = w && w[1];
1698
+ A[I] = D ? { regex: B, parser: D } : h.replace(/^\[|\]$/g, "");
1657
1699
  }
1658
1700
  return function(F) {
1659
- for (var U = {}, $ = 0, k = 0; $ < I; $ += 1) {
1701
+ for (var U = {}, $ = 0, k = 0; $ < _; $ += 1) {
1660
1702
  var M = A[$];
1661
1703
  if (typeof M == "string") k += M.length;
1662
1704
  else {
@@ -1664,31 +1706,31 @@ function Mi() {
1664
1706
  y.call(U, x), F = F.replace(x, "");
1665
1707
  }
1666
1708
  }
1667
- return (function(L) {
1668
- var j = L.afternoon;
1709
+ return (function(P) {
1710
+ var j = P.afternoon;
1669
1711
  if (j !== void 0) {
1670
- var Q = L.hours;
1671
- j ? Q < 12 && (L.hours += 12) : Q === 12 && (L.hours = 0), delete L.afternoon;
1712
+ var Q = P.hours;
1713
+ j ? Q < 12 && (P.hours += 12) : Q === 12 && (P.hours = 0), delete P.afternoon;
1672
1714
  }
1673
1715
  })(U), U;
1674
1716
  };
1675
1717
  }
1676
1718
  return function(m, d, p) {
1677
1719
  p.p.customParseFormat = !0, m && m.parseTwoDigitYear && (u = m.parseTwoDigitYear);
1678
- var A = d.prototype, I = A.parse;
1679
- A.parse = function(_) {
1680
- var h = _.date, w = _.utc, B = _.args;
1720
+ var A = d.prototype, _ = A.parse;
1721
+ A.parse = function(I) {
1722
+ var h = I.date, w = I.utc, B = I.args;
1681
1723
  this.$u = w;
1682
1724
  var D = B[1];
1683
1725
  if (typeof D == "string") {
1684
1726
  var F = B[2] === !0, U = B[3] === !0, $ = F || U, k = B[2];
1685
- U && (k = B[2]), s = this.$locale(), !F && k && (s = p.Ls[k]), this.$d = (function(C, x, L, j) {
1727
+ U && (k = B[2]), s = this.$locale(), !F && k && (s = p.Ls[k]), this.$d = (function(C, x, P, j) {
1686
1728
  try {
1687
1729
  if (["x", "X"].indexOf(x) > -1) return new Date((x === "X" ? 1e3 : 1) * C);
1688
- 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()), le = re || Z.getFullYear(), _e = 0;
1689
- re && !ve || (_e = ve > 0 ? ve - 1 : Z.getMonth());
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()), le = re || Z.getFullYear(), Ie = 0;
1731
+ re && !ve || (Ie = ve > 0 ? ve - 1 : Z.getMonth());
1690
1732
  var Nt, z = ke || 0, se = W || 0, Ce = te || 0, be = q || 0;
1691
- return K ? new Date(Date.UTC(le, _e, ee, z, se, Ce, be + 60 * K.offset * 1e3)) : L ? new Date(Date.UTC(le, _e, ee, z, se, Ce, be)) : (Nt = new Date(le, _e, ee, z, se, Ce, be), ge && (Nt = j(Nt).week(ge).toDate()), Nt);
1733
+ return K ? new Date(Date.UTC(le, Ie, ee, z, se, Ce, be + 60 * K.offset * 1e3)) : P ? new Date(Date.UTC(le, Ie, ee, z, se, Ce, be)) : (Nt = new Date(le, Ie, ee, z, se, Ce, be), ge && (Nt = j(Nt).week(ge).toDate()), Nt);
1692
1734
  } catch {
1693
1735
  return /* @__PURE__ */ new Date("");
1694
1736
  }
@@ -1702,7 +1744,7 @@ function Mi() {
1702
1744
  }
1703
1745
  S === M && (this.$d = /* @__PURE__ */ new Date(""));
1704
1746
  }
1705
- else I.call(this, _);
1747
+ else _.call(this, I);
1706
1748
  };
1707
1749
  };
1708
1750
  }));
@@ -1718,7 +1760,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1718
1760
  let a = !0, r = !0;
1719
1761
  const o = ie(e), l = ie();
1720
1762
  return l.format("YYYY") === o.format("YYYY") && (a = !1), l.format("YYYY-MM-DD") === o.format("YYYY-MM-DD") && (r = !1), !a && !r ? ie(o).format(t ? "H:mm:ss" : "H:mm") : a ? ie(o).format(t ? "D.M.YYYY H:mm:ss" : "D.M.YYYY H:mm") : ie(o).format(t ? "D.M. H:mm:ss" : "D.M. H:mm");
1721
- }, Ad = (e, n = "") => e === fa || e === da || e === "" || G(e) || E(e) ? n : ie(e).format("DD.MM.YYYY"), xd = (e, n = "") => e === fa || e === da || e === "" || G(e) || E(e) ? n : ie(e).format("HH:mm"), Id = (e, n, t = "ms") => {
1763
+ }, Ad = (e, n = "") => e === fa || e === da || e === "" || G(e) || E(e) ? n : ie(e).format("DD.MM.YYYY"), xd = (e, n = "") => e === fa || e === da || e === "" || G(e) || E(e) ? n : ie(e).format("HH:mm"), _d = (e, n, t = "ms") => {
1722
1764
  const a = ie(e), r = ie(n);
1723
1765
  return a.diff(r, t);
1724
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), Oi = (e, n, t = 0, a = !1) => {
@@ -1744,7 +1786,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1744
1786
  const t = n, { t: a } = Re(), r = (o) => {
1745
1787
  ma(o), t("submit");
1746
1788
  };
1747
- return (o, l) => (P(), X(Ne, {
1789
+ return (o, l) => (L(), X(Ne, {
1748
1790
  class: Ze(e.buttonClass),
1749
1791
  "data-cy": e.dataCy,
1750
1792
  color: "primary",
@@ -1770,7 +1812,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1770
1812
  const t = n, a = (o) => {
1771
1813
  ma(o), t("reset");
1772
1814
  }, { t: r } = Re();
1773
- return (o, l) => (P(), X(Ne, {
1815
+ return (o, l) => (L(), X(Ne, {
1774
1816
  class: Ze([e.buttonClass, "px-2"]),
1775
1817
  "data-cy": e.dataCy,
1776
1818
  color: "light",
@@ -1803,7 +1845,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1803
1845
  a && typeof a == "object" && Ri(a);
1804
1846
  }
1805
1847
  return Object.freeze(e);
1806
- }, _d = (e) => Object.keys(e).map((n) => e[n]), Md = (e, n, t = ".") => {
1848
+ }, Id = (e) => Object.keys(e).map((n) => e[n]), Md = (e, n, t = ".") => {
1807
1849
  const a = n.split(t);
1808
1850
  let r = e;
1809
1851
  for (; a.length; ) {
@@ -1812,7 +1854,7 @@ const At = ".000000Z", Xn = "YYYY-MM-DDTHH:mm:ss", da = "1970-01-01T00:00:00.000
1812
1854
  r = r[o];
1813
1855
  }
1814
1856
  return r;
1815
- }, Li = (e, n, t, a = ".") => {
1857
+ }, Pi = (e, n, t, a = ".") => {
1816
1858
  const r = n.split(a);
1817
1859
  let o = e;
1818
1860
  for (; r.length - 1; ) {
@@ -1834,11 +1876,14 @@ function $d(e, n, t = ".") {
1834
1876
  }
1835
1877
  return o(e), e;
1836
1878
  }
1837
- const Mn = (e, n, t = "") => pn(n) ? e : yl(t === "" ? e : t, n), $n = (e) => ci.includes(e), Fd = (e, n, t = {}, a, r, o = {}) => new Promise((l, i) => {
1838
- e().get(Mn(n, t), o).then((s) => $n(s.status) ? s.data ? l(s.data) : s.status === Qt ? l(null) : i(new ut()) : i(new nn(s.status))).catch((s) => Tn(s) ? i(new en(s, s.config?.url)) : An(s) ? i(new tn(s, a, r, s)) : In(s) ? i(new on(s, a, r, s)) : xn(s) ? i(new an(s, s)) : i(new ut(s)));
1839
- }), { t: Pi } = xe.global;
1879
+ const Mn = (e, n, t = "") => pn(n) ? e : yl(
1880
+ t === "" ? e : t,
1881
+ n
1882
+ ), $n = (e) => ci.includes(e), Fd = (e, n, t = {}, a, r, o = {}) => new Promise((l, i) => {
1883
+ e().get(Mn(n, t), o).then((s) => $n(s.status) ? s.data ? l(s.data) : s.status === Qt ? l(null) : i(new ut()) : i(new nn(s.status))).catch((s) => Tn(s) ? i(new en(s, s.config?.url)) : An(s) ? i(new tn(s, a, r, s)) : _n(s) ? i(new on(s, a, r, s)) : xn(s) ? i(new an(s, s)) : i(new ut(s)));
1884
+ }), { t: Li } = xe.global;
1840
1885
  function Ni() {
1841
- return et({ t: Pi })(Qr, {
1886
+ return et({ t: Li })(Qr, {
1842
1887
  withArguments: !0,
1843
1888
  messagePath: () => "error.jsValidation.between"
1844
1889
  });
@@ -1995,8 +2040,8 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
1995
2040
  r.value ? String(r.value.minutes).padStart(2, "0") : "00"
1996
2041
  ), i = Bt("hoursRefInput"), s = Bt("minutesRefInput"), u = Y({
1997
2042
  get: () => o.value,
1998
- set: (_) => {
1999
- let h = String(_).replace(/[^0-9]/g, "");
2043
+ set: (I) => {
2044
+ let h = String(I).replace(/[^0-9]/g, "");
2000
2045
  if (h && parseInt(h) > 23) {
2001
2046
  o.value = "23", Ue(() => s.value?.focus());
2002
2047
  return;
@@ -2005,71 +2050,75 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2005
2050
  }
2006
2051
  }), f = Y({
2007
2052
  get: () => l.value,
2008
- set: (_) => {
2009
- let h = String(_).replace(/[^0-9]/g, "");
2053
+ set: (I) => {
2054
+ let h = String(I).replace(/[^0-9]/g, "");
2010
2055
  if (h && parseInt(h) > 59) {
2011
2056
  l.value = "59", a("focusConfirm");
2012
2057
  return;
2013
2058
  }
2014
2059
  h.length > 2 && (h = h.slice(0, 2)), l.value = h, h.length === 2 && a("focusConfirm");
2015
2060
  }
2016
- }), c = async (_) => {
2017
- const h = _.target;
2061
+ }), c = async (I) => {
2062
+ const h = I.target;
2018
2063
  await Ue(), h?.select();
2019
2064
  }, g = () => {
2020
- const _ = parseInt(o.value || "0");
2021
- o.value = _ >= 0 && _ <= 23 ? String(_).padStart(2, "0") : "00";
2065
+ const I = parseInt(o.value || "0");
2066
+ o.value = I >= 0 && I <= 23 ? String(I).padStart(2, "0") : "00";
2022
2067
  }, v = () => {
2023
- const _ = parseInt(l.value || "0");
2024
- l.value = _ >= 0 && _ <= 59 ? String(_).padStart(2, "0") : "00";
2068
+ const I = parseInt(l.value || "0");
2069
+ l.value = I >= 0 && I <= 59 ? String(I).padStart(2, "0") : "00";
2025
2070
  }, T = () => {
2026
2071
  g(), a("onEnterKeyup");
2027
2072
  }, b = () => {
2028
2073
  v(), a("onEnterKeyup");
2029
2074
  }, m = () => {
2030
- const _ = parseInt(o.value || "0"), h = isNaN(_) ? 1 : (_ + 1) % 24;
2075
+ const I = parseInt(o.value || "0"), h = isNaN(I) ? 1 : (I + 1) % 24;
2031
2076
  o.value = String(h).padStart(2, "0");
2032
2077
  }, d = () => {
2033
- const _ = parseInt(o.value || "0"), h = isNaN(_) ? 23 : (_ - 1 + 24) % 24;
2078
+ const I = parseInt(o.value || "0"), h = isNaN(I) ? 23 : (I - 1 + 24) % 24;
2034
2079
  o.value = String(h).padStart(2, "0");
2035
2080
  }, p = () => {
2036
- const _ = parseInt(l.value || "0"), h = parseInt(o.value || "0");
2037
- if (isNaN(_)) {
2081
+ const I = parseInt(l.value || "0"), h = parseInt(o.value || "0");
2082
+ if (isNaN(I)) {
2038
2083
  l.value = "01";
2039
2084
  return;
2040
2085
  }
2041
- if (_ === 59) {
2086
+ if (I === 59) {
2042
2087
  l.value = "00";
2043
2088
  const w = isNaN(h) ? 1 : (h + 1) % 24;
2044
2089
  o.value = String(w).padStart(2, "0");
2045
2090
  } else {
2046
- const w = _ + 1;
2091
+ const w = I + 1;
2047
2092
  l.value = String(w).padStart(2, "0");
2048
2093
  }
2049
2094
  }, A = () => {
2050
- const _ = parseInt(l.value || "0"), h = parseInt(o.value || "0");
2051
- if (isNaN(_)) {
2095
+ const I = parseInt(l.value || "0"), h = parseInt(o.value || "0");
2096
+ if (isNaN(I)) {
2052
2097
  l.value = "59";
2053
2098
  return;
2054
2099
  }
2055
- if (_ === 0) {
2100
+ if (I === 0) {
2056
2101
  l.value = "59";
2057
2102
  const w = isNaN(h) ? 23 : (h - 1 + 24) % 24;
2058
2103
  o.value = String(w).padStart(2, "0");
2059
2104
  } else {
2060
- const w = _ - 1;
2105
+ const w = I - 1;
2061
2106
  l.value = String(w).padStart(2, "0");
2062
2107
  }
2063
- }, I = () => {
2108
+ }, _ = () => {
2064
2109
  i.value?.focus();
2065
2110
  };
2066
- return Ae([o, l], ([_, h], [w, B]) => {
2067
- if (_ === w && h === B) return;
2068
- const D = parseInt(_ ?? (r.value ? r.value.hours.toString() : "12")), F = parseInt(h ?? (r.value ? r.value.minutes.toString() : "0"));
2111
+ return Ae([o, l], ([I, h], [w, B]) => {
2112
+ if (I === w && h === B) return;
2113
+ const D = parseInt(
2114
+ I ?? (r.value ? r.value.hours.toString() : "12")
2115
+ ), F = parseInt(
2116
+ h ?? (r.value ? r.value.minutes.toString() : "0")
2117
+ );
2069
2118
  D >= 0 && D <= 23 && F >= 0 && F <= 59 && (r.value = { hours: D, minutes: F });
2070
2119
  }), n({
2071
- focusHour: I
2072
- }), (_, h) => (P(), de("div", cs, [
2120
+ focusHour: _
2121
+ }), (I, h) => (L(), de("div", cs, [
2073
2122
  Ee("div", ds, [
2074
2123
  wn(Ee("input", {
2075
2124
  ref_key: "hoursRefInput",
@@ -2157,7 +2206,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2157
2206
  ])
2158
2207
  ]));
2159
2208
  }
2160
- }), hs = /* @__PURE__ */ Ka(ps, [["__scopeId", "data-v-3aa2c0c9"]]), gs = { class: "d-flex" }, bs = { class: "ml-1" }, ys = {
2209
+ }), hs = /* @__PURE__ */ Ka(ps, [["__scopeId", "data-v-4d56d16e"]]), gs = { class: "d-flex" }, bs = { class: "ml-1" }, ys = {
2161
2210
  key: 0,
2162
2211
  class: "required"
2163
2212
  }, Cs = /* @__PURE__ */ we({
@@ -2186,9 +2235,9 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2186
2235
  textFieldValue: {
2187
2236
  required: m(t.required)
2188
2237
  }
2189
- })), p = Gn(d, { textFieldValue: f }), A = Y(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), I = (C) => {
2238
+ })), p = Gn(d, { textFieldValue: f }), A = Y(() => t.type === "datetime" ? "DD.MM.YYYY HH:mm" : "DD.MM.YYYY"), _ = (C) => {
2190
2239
  C !== t.modelValue && a("update:modelValue", C);
2191
- }, _ = (C) => {
2240
+ }, I = (C) => {
2192
2241
  G(C) || ((G(g.value) || C.hour() !== g.value.hours || C.minute() !== g.value.minutes) && (g.value = { hours: C.hour(), minutes: C.minute() }), (G(c.value) || C.year() !== c.value.getFullYear() || C.month() !== c.value.getMonth() || C.date() !== c.value.getDate()) && (c.value = C.toDate()));
2193
2242
  };
2194
2243
  Ae(
@@ -2206,17 +2255,17 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2206
2255
  );
2207
2256
  const h = (C, x) => G(C) ? x : x.set("date", C.getDate()).set("month", C.getMonth()).set("year", C.getFullYear()), w = (C, x) => G(C) ? x : x.set("hour", C.hours).set("minute", C.minutes);
2208
2257
  Ae([g, c], ([C, x]) => {
2209
- let L = null;
2210
- G(v.value) ? G(t.modelValue) ? t.lastMinuteMoment ? L = ie().hour(0).minute(0).second(59).millisecond(999) : L = ie().hour(0).minute(0).second(0).millisecond(0) : L = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : L = v.value, L = w(C, L), L = h(x, L), !L.isSame(aa(v.value)) && (v.value = L);
2258
+ let P = null;
2259
+ G(v.value) ? G(t.modelValue) ? t.lastMinuteMoment ? P = ie().hour(0).minute(0).second(59).millisecond(999) : P = ie().hour(0).minute(0).second(0).millisecond(0) : P = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : P = v.value, P = w(C, P), P = h(x, P), !P.isSame(aa(v.value)) && (v.value = P);
2211
2260
  }), Ae(
2212
2261
  v,
2213
2262
  (C) => {
2214
2263
  if (G(C)) {
2215
- f.value = "", I(null);
2264
+ f.value = "", _(null);
2216
2265
  return;
2217
2266
  }
2218
2267
  const x = C.utc().format("YYYY-MM-DDTHH:mm:ss") + At;
2219
- f.value = C.format(A.value), _(C), I(x);
2268
+ f.value = C.format(A.value), I(C), _(x);
2220
2269
  },
2221
2270
  { immediate: !0 }
2222
2271
  ), Ae(r, (C) => {
@@ -2236,12 +2285,12 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2236
2285
  }
2237
2286
  const x = ie(C, ["DD.MM.YYYY HH:mm", "DD.MM.YYYY"]);
2238
2287
  if (x.isValid()) {
2239
- let L = 0;
2288
+ let P = 0;
2240
2289
  if (!G(t.modelValue)) {
2241
2290
  const j = ie(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ");
2242
- j.isValid() && (L = j.second());
2291
+ j.isValid() && (P = j.second());
2243
2292
  }
2244
- v.value = x.second(L), p.value.textFieldValue.$touch(), a("blur");
2293
+ v.value = x.second(P), p.value.textFieldValue.$touch(), a("blur");
2245
2294
  return;
2246
2295
  }
2247
2296
  G(v.value) || (f.value = v.value.format(A.value)), p.value.textFieldValue.$touch(), a("blur");
@@ -2266,11 +2315,11 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2266
2315
  o.value++, l.value++;
2267
2316
  });
2268
2317
  };
2269
- return (C, x) => (P(), X(sa, {
2318
+ return (C, x) => (L(), X(sa, {
2270
2319
  ref_key: "inputInstance",
2271
2320
  ref: s,
2272
2321
  modelValue: f.value,
2273
- "onUpdate:modelValue": x[3] || (x[3] = (L) => f.value = L),
2322
+ "onUpdate:modelValue": x[3] || (x[3] = (P) => f.value = P),
2274
2323
  "error-messages": B.value,
2275
2324
  "persistent-placeholder": !0,
2276
2325
  placeholder: b.value,
@@ -2281,33 +2330,33 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2281
2330
  onBlur: D,
2282
2331
  onFocus: $,
2283
2332
  onKeyup: $a(D, ["enter"])
2284
- }, Lt({
2333
+ }, Pt({
2285
2334
  "append-inner": R(() => [
2286
- e.clearable && e.defaultValue !== e.modelValue ? (P(), X(Oe, {
2335
+ e.clearable && e.defaultValue !== e.modelValue ? (L(), X(Oe, {
2287
2336
  key: 0,
2288
2337
  class: "a-datetime-picker__clearable-icon",
2289
2338
  icon: "mdi-close-circle",
2290
2339
  onClick: ye(F, ["stop"])
2291
2340
  })) : ce("", !0),
2292
- e.disabled ? ce("", !0) : (P(), X(Wa, {
2341
+ e.disabled ? ce("", !0) : (L(), X(Wa, {
2293
2342
  key: 1,
2294
2343
  location: "bottom end",
2295
2344
  origin: "top end",
2296
2345
  "close-on-content-click": !1,
2297
2346
  "model-value": r.value,
2298
- "onUpdate:modelValue": x[2] || (x[2] = (L) => r.value = L)
2347
+ "onUpdate:modelValue": x[2] || (x[2] = (P) => r.value = P)
2299
2348
  }, {
2300
- activator: R(({ props: L }) => [
2349
+ activator: R(({ props: P }) => [
2301
2350
  O(Oe, st({
2302
2351
  class: "a-datetime-picker__calendar-icon",
2303
2352
  icon: "mdi-calendar",
2304
2353
  size: "small"
2305
- }, L), null, 16)
2354
+ }, P), null, 16)
2306
2355
  ]),
2307
2356
  default: R(() => [
2308
- r.value ? (P(), X(la, { key: 0 }, {
2357
+ r.value ? (L(), X(la, { key: 0 }, {
2309
2358
  default: R(() => [
2310
- wn((P(), X(Ne, {
2359
+ wn((L(), X(Ne, {
2311
2360
  icon: "",
2312
2361
  variant: "text",
2313
2362
  width: 36,
@@ -2325,20 +2374,20 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2325
2374
  })), [
2326
2375
  [Go, H(T)("common.button.close")]
2327
2376
  ]),
2328
- (P(), X(ul, st({
2377
+ (L(), X(ul, st({
2329
2378
  key: o.value,
2330
2379
  modelValue: c.value,
2331
- "onUpdate:modelValue": x[0] || (x[0] = (L) => c.value = L),
2380
+ "onUpdate:modelValue": x[0] || (x[0] = (P) => c.value = P),
2332
2381
  class: "a-datetime-picker-calendar",
2333
2382
  color: "primary",
2334
2383
  "show-adjacent-months": ""
2335
2384
  }, C.$attrs, { "onUpdate:modelValue": S }), null, 16, ["modelValue"])),
2336
- (P(), X(hs, {
2385
+ (L(), X(hs, {
2337
2386
  ref_key: "timePickerInstance",
2338
2387
  ref: i,
2339
2388
  key: l.value,
2340
2389
  modelValue: g.value,
2341
- "onUpdate:modelValue": x[1] || (x[1] = (L) => g.value = L),
2390
+ "onUpdate:modelValue": x[1] || (x[1] = (P) => g.value = P),
2342
2391
  onOnEnterKeyup: k,
2343
2392
  onFocusConfirm: M
2344
2393
  }, null, 8, ["modelValue"])),
@@ -2374,13 +2423,13 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2374
2423
  name: "label",
2375
2424
  fn: R(() => [
2376
2425
  De(fe(e.label), 1),
2377
- e.required ? (P(), de("span", ys)) : ce("", !0)
2426
+ e.required ? (L(), de("span", ys)) : ce("", !0)
2378
2427
  ]),
2379
2428
  key: "0"
2380
2429
  }
2381
2430
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2382
2431
  }
2383
- }), ur = /* @__PURE__ */ Ka(Cs, [["__scopeId", "data-v-9d53bed3"]]), Ao = /* @__PURE__ */ we({
2432
+ }), ur = /* @__PURE__ */ Ka(Cs, [["__scopeId", "data-v-84abf4bd"]]), Ao = /* @__PURE__ */ we({
2384
2433
  __name: "AFormDatetimePicker",
2385
2434
  props: {
2386
2435
  modelValue: {},
@@ -2407,10 +2456,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2407
2456
  }), s = N(() => {
2408
2457
  }), u = N(null);
2409
2458
  if (o.value.enabled && he(t.collab)) {
2410
- const { releaseCollabFieldLock: w, changeCollabFieldData: B, acquireCollabFieldLock: D, lockedByUser: F } = ca(
2411
- t.collab.room,
2412
- t.collab.field
2413
- );
2459
+ const { releaseCollabFieldLock: w, changeCollabFieldData: B, acquireCollabFieldLock: D, lockedByUser: F } = ca(t.collab.room, t.collab.field);
2414
2460
  l.value = w, i.value = B, s.value = D, Ae(
2415
2461
  F,
2416
2462
  (U) => {
@@ -2427,22 +2473,22 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2427
2473
  c.value = !1, a("blur", E(t.modelValue) ? null : t.modelValue), t.v?.$touch(), f.value === !1 && l.value(t.modelValue);
2428
2474
  }, p = () => {
2429
2475
  c.value = !0, a("focus", t.modelValue), s.value();
2430
- }, A = Y(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((w) => w.$message).join(" ")] : []), I = Y(() => {
2476
+ }, A = Y(() => he(t.errorMessage) ? [t.errorMessage] : t.v?.$errors?.length ? [t.v.$errors.map((w) => w.$message).join(" ")] : []), _ = Y(() => {
2431
2477
  if (he(t.label)) return t.label;
2432
2478
  if (E(b) || E(m) || E(t.v?.$path)) return "";
2433
2479
  const { end: w } = Sn(t.v?.$path, ".");
2434
2480
  return T(b + "." + m + ".model." + w);
2435
- }), _ = Y(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), h = Y(() => he(t.disabled) ? t.disabled : !!u.value);
2481
+ }), I = Y(() => he(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), h = Y(() => he(t.disabled) ? t.disabled : !!u.value);
2436
2482
  return Ae(r, (w, B) => {
2437
2483
  w !== B && o.value.enabled && (c.value || f.value) && i.value(w);
2438
- }), (w, B) => (P(), X(ur, st({
2484
+ }), (w, B) => (L(), X(ur, st({
2439
2485
  modelValue: r.value,
2440
2486
  "onUpdate:modelValue": B[0] || (B[0] = (D) => r.value = D),
2441
2487
  "data-cy": e.dataCy,
2442
2488
  "error-messages": A.value,
2443
- required: _.value,
2489
+ required: I.value,
2444
2490
  disabled: h.value,
2445
- label: I.value,
2491
+ label: _.value,
2446
2492
  clearable: e.clearable
2447
2493
  }, w.$attrs, {
2448
2494
  onBlur: d,
@@ -2452,7 +2498,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2452
2498
  }), {
2453
2499
  "append-inner": R(() => [
2454
2500
  Se(w.$slots, "locked", { userId: u.value }, () => [
2455
- e.collab ? (P(), X(ua, {
2501
+ e.collab ? (L(), X(ua, {
2456
2502
  key: 0,
2457
2503
  id: u.value,
2458
2504
  users: e.collab.cachedUsers
@@ -2501,7 +2547,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2501
2547
  }, c = () => {
2502
2548
  a("focus", t.modelValue), l.value();
2503
2549
  }, g = Y(() => he(t.disabled) ? t.disabled : !!i.value);
2504
- return (v, T) => (P(), X(fl, {
2550
+ return (v, T) => (L(), X(fl, {
2505
2551
  "data-cy": e.dataCy,
2506
2552
  "model-value": e.modelValue,
2507
2553
  disabled: g.value,
@@ -2509,7 +2555,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2509
2555
  onFocus: c,
2510
2556
  "onUpdate:modelValue": T[0] || (T[0] = (b) => u(b)),
2511
2557
  onClick: ye(s, ["stop"])
2512
- }, Lt({ _: 2 }, [
2558
+ }, Pt({ _: 2 }, [
2513
2559
  e.hideLabel ? void 0 : {
2514
2560
  name: "label",
2515
2561
  fn: R(() => [
@@ -2521,7 +2567,7 @@ const cs = { class: "a-datetime-picker-time" }, ds = { class: "a-datetime-picker
2521
2567
  name: "append",
2522
2568
  fn: R(() => [
2523
2569
  Se(v.$slots, "locked", { userId: i.value }, () => [
2524
- e.collab ? (P(), X(ua, {
2570
+ e.collab ? (L(), X(ua, {
2525
2571
  key: 0,
2526
2572
  id: i.value,
2527
2573
  users: e.collab.cachedUsers
@@ -2609,7 +2655,9 @@ function ct() {
2609
2655
  if (f.type === "timeInterval" && f.related)
2610
2656
  i[o] = f.default, i[f.related] = s.fields[f.related].default;
2611
2657
  else if (ue(i[o]) && i[o].length > 0) {
2612
- const g = i[o].findIndex((T) => T === l), v = [...aa(i[o])];
2658
+ const g = i[o].findIndex(
2659
+ (T) => T === l
2660
+ ), v = [...aa(i[o])];
2613
2661
  v.splice(g, 1), i[o] = v;
2614
2662
  } else (Be(i[o]) || Gt(i[o]) || Je(i[o])) && (i[o] = f.default);
2615
2663
  }, a = (o, l, i) => {
@@ -2639,18 +2687,18 @@ function cr(e, n, t = {}) {
2639
2687
  const d = {};
2640
2688
  for (const p in e)
2641
2689
  try {
2642
- const A = p, I = e[A];
2643
- !E(I) && !G(I) && !Fa(I) && I !== n.fields[A].default && (d[p] = I);
2690
+ const A = p, _ = e[A];
2691
+ !E(_) && !G(_) && !Fa(_) && _ !== n.fields[A].default && (d[p] = _);
2644
2692
  } catch {
2645
2693
  }
2646
2694
  return d;
2647
2695
  }, i = (d, p, A) => {
2648
- const I = new URLSearchParams();
2649
- for (const _ in d) {
2650
- const h = d[_];
2651
- E(h) || G(h) || ue(h) && Fa(h) || En(h) && pn(h) || Be(h) && h.length === 0 || (ue(h) ? I.set(_, h.join(",")) : I.set(_, String(h)));
2696
+ const _ = new URLSearchParams();
2697
+ for (const I in d) {
2698
+ const h = d[I];
2699
+ E(h) || G(h) || ue(h) && Fa(h) || En(h) && pn(h) || Be(h) && h.length === 0 || (ue(h) ? _.set(I, h.join(",")) : _.set(I, String(h)));
2652
2700
  }
2653
- return A && p.value.sortBy && I.set(wa, `${p.value.sortBy.key},${p.value.sortBy.order}`), I.size === 0 ? "" : I.toString() + r;
2701
+ return A && p.value.sortBy && _.set(wa, `${p.value.sortBy.key},${p.value.sortBy.order}`), _.size === 0 ? "" : _.toString() + r;
2654
2702
  }, s = (d) => {
2655
2703
  if (!d) return null;
2656
2704
  if (d.startsWith("#") && (d = d.substring(1)), d.endsWith(r))
@@ -2663,11 +2711,11 @@ function cr(e, n, t = {}) {
2663
2711
  return null;
2664
2712
  }
2665
2713
  const p = new URLSearchParams(d), A = {};
2666
- let I = null;
2667
- const _ = p.get(wa);
2668
- if (_) {
2669
- const [h, w] = _.split(",");
2670
- h && (w === Ct.Asc || w === Ct.Desc) && (I = { key: h, order: w }), p.delete(wa);
2714
+ let _ = null;
2715
+ const I = p.get(wa);
2716
+ if (I) {
2717
+ const [h, w] = I.split(",");
2718
+ h && (w === Ct.Asc || w === Ct.Desc) && (_ = { key: h, order: w }), p.delete(wa);
2671
2719
  }
2672
2720
  for (const [h, w] of p.entries()) {
2673
2721
  const B = n.fields[h];
@@ -2681,7 +2729,7 @@ function cr(e, n, t = {}) {
2681
2729
  } else
2682
2730
  A[h] = w;
2683
2731
  }
2684
- return { filters: A, sortBy: I };
2732
+ return { filters: A, sortBy: _ };
2685
2733
  }, u = (d) => {
2686
2734
  a.populateUrlParams !== !1 && (window.location.hash = d);
2687
2735
  }, f = () => {
@@ -2695,12 +2743,12 @@ function cr(e, n, t = {}) {
2695
2743
  };
2696
2744
  return {
2697
2745
  loadStoredFilters: (d, p) => {
2698
- let A = "hash", I = c();
2699
- if (G(I) && (A = "localStorage", I = v()), G(I) || pn(I.filters) && pn(I.sortBy))
2746
+ let A = "hash", _ = c();
2747
+ if (G(_) && (A = "localStorage", _ = v()), G(_) || pn(_.filters) && pn(_.sortBy))
2700
2748
  return p && p(), !1;
2701
- for (const _ in e) {
2702
- const h = _;
2703
- let w = I.filters[h];
2749
+ for (const I in e) {
2750
+ const h = I;
2751
+ let w = _.filters[h];
2704
2752
  if (!E(w)) {
2705
2753
  if (Be(w)) {
2706
2754
  const B = Jo(w);
@@ -2715,17 +2763,17 @@ function cr(e, n, t = {}) {
2715
2763
  }
2716
2764
  }
2717
2765
  if (A === "localStorage" && o && localStorage) {
2718
- const _ = localStorage.getItem(o);
2719
- _ && u(_);
2766
+ const I = localStorage.getItem(o);
2767
+ I && u(I);
2720
2768
  }
2721
- return d.value = { ...d.value, sortBy: I.sortBy }, p && p(), !0;
2769
+ return d.value = { ...d.value, sortBy: _.sortBy }, p && p(), !0;
2722
2770
  },
2723
2771
  resetFilter: (d, p) => {
2724
2772
  d.value = { ...d.value, page: 1 }, o && localStorage && localStorage.removeItem(o), f(), n.touched = !1, p && p();
2725
2773
  },
2726
2774
  submitFilter: (d, p) => {
2727
- const A = l(), I = i(A, d, !0);
2728
- u(I), g(I), d.value = { ...d.value, page: 1 }, n.touched = !1, p && p();
2775
+ const A = l(), _ = i(A, d, !0);
2776
+ u(_), g(_), d.value = { ...d.value, page: 1 }, n.touched = !1, p && p();
2729
2777
  },
2730
2778
  serializeFilters: i,
2731
2779
  deserializeFilters: s
@@ -2817,23 +2865,25 @@ function As() {
2817
2865
  from: d,
2818
2866
  until: p
2819
2867
  };
2820
- const A = Dn(), I = Fi(A);
2868
+ const A = Dn(), _ = Fi(A);
2821
2869
  switch (d) {
2822
2870
  case dt.CurrentMonth:
2823
- return Ca(I, "utc", 0, !1);
2871
+ return Ca(_, "utc", 0, !1);
2824
2872
  case dt.LastMonth:
2825
- return Ca(I, "utc", -1, !1);
2873
+ return Ca(_, "utc", -1, !1);
2826
2874
  case dt.Last3Months:
2827
- return Ca(I, "utc", -2, !0);
2875
+ return Ca(_, "utc", -2, !0);
2828
2876
  default:
2829
2877
  if (Gt(d))
2830
2878
  return {
2831
- from: Oa(Bi(d * -1, I)),
2879
+ from: Oa(Bi(d * -1, _)),
2832
2880
  until: A
2833
2881
  };
2834
2882
  }
2835
2883
  return null;
2836
- }, i = (c, g) => G(c) ? g.mandatory && !g.exclude && !E(g.default) ? ue(g.default) ? g.default.join(",") : g.default : null : Be(c) ? c.length === 0 ? g.mandatory && !g.exclude && !E(g.default) && !G(g.default) ? encodeURIComponent(ue(g.default) ? g.default.join(",") : g.default) : null : encodeURIComponent(c) : ue(c) ? c.length === 0 ? g.mandatory && !g.exclude && ue(g.default) ? g.default.map((v) => Be(v) ? encodeURIComponent(v) : v).join(",") : null : c.map((v) => Be(v) ? encodeURIComponent(v) : v).join(",") : Gt(c) || Je(c) ? c : null, s = (c, g) => {
2884
+ }, i = (c, g) => G(c) ? g.mandatory && !g.exclude && !E(g.default) ? ue(g.default) ? g.default.join(",") : g.default : null : Be(c) ? c.length === 0 ? g.mandatory && !g.exclude && !E(g.default) && !G(g.default) ? encodeURIComponent(
2885
+ ue(g.default) ? g.default.join(",") : g.default
2886
+ ) : null : encodeURIComponent(c) : ue(c) ? c.length === 0 ? g.mandatory && !g.exclude && ue(g.default) ? g.default.map((v) => Be(v) ? encodeURIComponent(v) : v).join(",") : null : c.map((v) => Be(v) ? encodeURIComponent(v) : v).join(",") : Gt(c) || Je(c) ? c : null, s = (c, g) => {
2837
2887
  e.value.push(c + "=" + g);
2838
2888
  };
2839
2889
  return {
@@ -2860,12 +2910,12 @@ function As() {
2860
2910
  );
2861
2911
  if (G(A))
2862
2912
  continue;
2863
- const _ = g.fields[m.related].apiName || m.related;
2913
+ const I = g.fields[m.related].apiName || m.related;
2864
2914
  if (v) {
2865
- s(d, A.from), s(_, A.until);
2915
+ s(d, A.from), s(I, A.until);
2866
2916
  continue;
2867
2917
  }
2868
- A.from && o("gte", d, A.from), A.until && o("lte", _, A.until);
2918
+ A.from && o("gte", d, A.from), A.until && o("lte", I, A.until);
2869
2919
  continue;
2870
2920
  }
2871
2921
  const p = i(b, m);
@@ -2883,7 +2933,7 @@ function As() {
2883
2933
  q: e
2884
2934
  };
2885
2935
  }
2886
- const xs = (e) => En(e) && Object.hasOwn(e, "totalCount"), Is = (e) => En(e) && Object.hasOwn(e, "hasNextPage"), _s = (e, n, t) => {
2936
+ const xs = (e) => En(e) && Object.hasOwn(e, "totalCount"), _s = (e) => En(e) && Object.hasOwn(e, "hasNextPage"), Is = (e, n, t) => {
2887
2937
  const { querySetLimit: a, querySetOffset: r, querySetOrder: o, queryBuild: l, querySetFilters: i } = As();
2888
2938
  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), i(n, t), l();
2889
2939
  };
@@ -2892,14 +2942,14 @@ function Ms(e, n, t, a, r, o) {
2892
2942
  typeof e == "function" ? (l = e, i = n, s = t, u = a, f = r, c = o ?? {}) : (l = e.client, i = e.system, s = e.entity, u = e.urlTemplate, f = e.urlParams, c = e.options ?? {});
2893
2943
  let g = null;
2894
2944
  return {
2895
- executeFetch: async (b, m, d, p = void 0, A = void 0, I = !1) => {
2945
+ executeFetch: async (b, m, d, p = void 0, A = void 0, _ = !1) => {
2896
2946
  g = new AbortController();
2897
- let _, h, w;
2898
- typeof p == "object" && p !== null ? (_ = p.urlTemplateOverride, h = p.urlParamsOverride, w = p.forceElastic ?? !1) : (_ = p, h = A, w = I);
2947
+ let I, h, w;
2948
+ typeof p == "object" && p !== null ? (I = p.urlTemplate, h = p.urlParams, w = p.forceElastic ?? !1) : (I = p, h = A, w = _);
2899
2949
  try {
2900
- const B = d.general.elastic || w ? "/search" : "", D = he(h) ? h : f, F = he(_) ? _ : u;
2950
+ const B = d.general.elastic || w ? "/search" : "", D = he(h) ? h : f, F = he(I) ? I : u;
2901
2951
  if (E(F)) throw new Error("Url template is undefined");
2902
- const U = (E(D) ? F : Mn(F, D)) + B + _s(b, m, d), $ = await l().get(U, {
2952
+ const U = (E(D) ? F : Mn(F, D)) + B + Is(b, m, d), $ = await l().get(U, {
2903
2953
  ...c,
2904
2954
  signal: g.signal
2905
2955
  });
@@ -2907,7 +2957,7 @@ function Ms(e, n, t, a, r, o) {
2907
2957
  throw new nn($.status);
2908
2958
  if ($.data) {
2909
2959
  const k = $.data;
2910
- return Is(k) ? b.value = {
2960
+ return _s(k) ? b.value = {
2911
2961
  ...b.value,
2912
2962
  hasNextPage: k.hasNextPage,
2913
2963
  currentViewCount: $.data.data.length
@@ -2923,7 +2973,7 @@ function Ms(e, n, t, a, r, o) {
2923
2973
  } catch (B) {
2924
2974
  if (B instanceof DOMException && B.name === "AbortError")
2925
2975
  return [];
2926
- throw Qa(B) ? B : Tn(B) ? new en(B, B.config?.url) : An(B) ? new tn(B, i, s, B) : In(B) ? new on(B, i, s, B) : xn(B) ? new an(B, B) : or(B) ? new eo(B) : Pt.isAxiosError(B) ? (console.error("Axios error: " + u, B.cause), new to(B)) : (console.error("AnzuFatalError: ", B), new ut(B));
2976
+ throw Qa(B) ? B : Tn(B) ? new en(B, B.config?.url) : An(B) ? new tn(B, i, s, B) : _n(B) ? new on(B, i, s, B) : xn(B) ? new an(B, B) : or(B) ? new eo(B) : Lt.isAxiosError(B) ? (console.error("Axios error: " + u, B.cause), new to(B)) : (console.error("AnzuFatalError: ", B), new ut(B));
2927
2977
  } finally {
2928
2978
  g = null;
2929
2979
  }
@@ -2948,7 +2998,10 @@ function kn(e, n = Ct.Desc, t = {}, a) {
2948
2998
  });
2949
2999
  function l(u, f) {
2950
3000
  if (Be(u)) {
2951
- o.value = { ...o.value, sortBy: { key: u, order: f } };
3001
+ o.value = {
3002
+ ...o.value,
3003
+ sortBy: { key: u, order: f }
3004
+ };
2952
3005
  return;
2953
3006
  }
2954
3007
  const c = u;
@@ -2968,8 +3021,14 @@ function kn(e, n = Ct.Desc, t = {}, a) {
2968
3021
  };
2969
3022
  }
2970
3023
  const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
2971
- e().post(Mn(t, a), JSON.stringify(n), l).then((u) => $n(u.status) ? u.data ? i(u.data) : u.status === Qt ? i(null) : s(new ut()) : s(new nn(u.status))).catch((u) => Tn(u) ? s(new en(u, u.config?.url)) : An(u) ? s(new tn(u, r, o, u)) : In(u) ? s(new on(u, r, o, u)) : xn(u) ? s(new an(u, u)) : s(new ut(u)));
2972
- }), tt = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), Ke = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), oo = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), ro = /* @__PURE__ */ Symbol.for("anzu:FilterInnerConfigKey"), pt = /* @__PURE__ */ Symbol.for("anzu:FilterSubmitResetCounterKey"), ot = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), dr = /* @__PURE__ */ Symbol.for("anzu:DatatablePaginationKey"), Fs = /* @__PURE__ */ we({
3024
+ e().post(Mn(t, a), JSON.stringify(n), l).then((u) => $n(u.status) ? u.data ? i(u.data) : u.status === Qt ? i(null) : s(new ut()) : s(new nn(u.status))).catch((u) => Tn(u) ? s(new en(u, u.config?.url)) : An(u) ? s(new tn(u, r, o, u)) : _n(u) ? s(new on(u, r, o, u)) : xn(u) ? s(new an(u, u)) : s(new ut(u)));
3025
+ }), tt = /* @__PURE__ */ Symbol.for("anzu:FilterDataKey"), Ke = /* @__PURE__ */ Symbol.for("anzu:FilterConfigKey"), oo = /* @__PURE__ */ Symbol.for("anzu:FilterInnerDataKey"), ro = /* @__PURE__ */ Symbol.for(
3026
+ "anzu:FilterInnerConfigKey"
3027
+ ), pt = /* @__PURE__ */ Symbol.for(
3028
+ "anzu:FilterSubmitResetCounterKey"
3029
+ ), ot = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), dr = /* @__PURE__ */ Symbol.for(
3030
+ "anzu:DatatablePaginationKey"
3031
+ ), Fs = /* @__PURE__ */ we({
2973
3032
  __name: "AFilterBooleanSelect",
2974
3033
  props: {
2975
3034
  name: {},
@@ -3007,9 +3066,11 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3007
3066
  o.value.delete(t.name);
3008
3067
  return;
3009
3068
  }
3010
- o.value.set(t.name, [{ title: s.value.title, value: s.value.value }]);
3069
+ o.value.set(t.name, [
3070
+ { title: s.value.title, value: s.value.value }
3071
+ ]);
3011
3072
  };
3012
- return (m, d) => (P(), X(zo, {
3073
+ return (m, d) => (L(), X(zo, {
3013
3074
  modelValue: s.value,
3014
3075
  "onUpdate:modelValue": d[0] || (d[0] = (p) => s.value = p),
3015
3076
  "data-cy": e.dataCy,
@@ -3047,7 +3108,9 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3047
3108
  v(t.name, i, l), o.value.delete(t.name);
3048
3109
  }, b = () => {
3049
3110
  if (Gt(s.value)) {
3050
- o.value.set(t.name, [{ title: s.value + "", value: s.value }]);
3111
+ o.value.set(t.name, [
3112
+ { title: s.value + "", value: s.value }
3113
+ ]);
3051
3114
  return;
3052
3115
  }
3053
3116
  if (Be(s.value)) {
@@ -3064,7 +3127,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3064
3127
  m === d || Je(m) || b();
3065
3128
  },
3066
3129
  { immediate: !0 }
3067
- ), (m, d) => (P(), X(sa, {
3130
+ ), (m, d) => (L(), X(sa, {
3068
3131
  modelValue: s.value,
3069
3132
  "onUpdate:modelValue": d[0] || (d[0] = (p) => s.value = p),
3070
3133
  label: c.value,
@@ -3103,15 +3166,18 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3103
3166
  throw new Error(
3104
3167
  `[${f}] Incorrect filter inner config. FilterByField is '${c}' and available options are ${Object.keys(u).join(", ")}.`
3105
3168
  );
3106
- const v = Y(() => l.fields[t.name]), T = N([]), b = N(""), m = N(!1), d = N(null), p = N(0), { t: A } = Re(), I = () => {
3169
+ const v = Y(() => l.fields[t.name]), T = N([]), b = N(""), m = N(!1), d = N(null), p = N(0), { t: A } = Re(), _ = () => {
3107
3170
  m.value = !1;
3108
- }, _ = Y(() => v.value.titleT ? A(v.value.titleT) : void 0), { pagination: h } = kn(G(g) ? null : g.key, g?.order), w = N([]), B = N([]), D = N(!0), F = N(!1), U = Y(() => {
3171
+ }, I = Y(() => v.value.titleT ? A(v.value.titleT) : void 0), { pagination: h } = kn(
3172
+ G(g) ? null : g.key,
3173
+ g?.order
3174
+ ), w = N([]), B = N([]), D = N(!0), F = N(!1), U = Y(() => {
3109
3175
  const Z = /* @__PURE__ */ new Map(), ee = (le) => {
3110
- le.forEach((_e) => {
3111
- Z.set(_e.value, {
3112
- value: _e.value,
3113
- title: _e.title,
3114
- subtitle: _e.subtitle
3176
+ le.forEach((Ie) => {
3177
+ Z.set(Ie.value, {
3178
+ value: Ie.value,
3179
+ title: Ie.title,
3180
+ subtitle: Ie.subtitle
3115
3181
  });
3116
3182
  });
3117
3183
  };
@@ -3119,7 +3185,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3119
3185
  }), $ = N(!1), k = (Z) => {
3120
3186
  B.value = [], T.value = ue(Z) ? [] : null, d.value = ue(Z) ? [] : null, ge(T.value);
3121
3187
  }, M = (Z) => {
3122
- const ee = (le) => U.value.find((_e) => _e.value === le) ?? { title: `${le}`, value: le };
3188
+ const ee = (le) => U.value.find((Ie) => Ie.value === le) ?? { title: `${le}`, value: le };
3123
3189
  return ue(Z) ? Z.map(ee) : ee(Z);
3124
3190
  }, S = async (Z) => {
3125
3191
  $.value = !0;
@@ -3136,7 +3202,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3136
3202
  } finally {
3137
3203
  $.value = !1;
3138
3204
  }
3139
- }, { showErrorsDefault: y } = _n(), C = async (Z, ee) => {
3205
+ }, { showErrorsDefault: y } = In(), C = async (Z, ee) => {
3140
3206
  $.value = !0, u[c] = Z;
3141
3207
  try {
3142
3208
  const le = await t.fetchItems(h, u, s);
@@ -3156,7 +3222,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3156
3222
  $.value = !1;
3157
3223
  }
3158
3224
  }
3159
- }, L = async () => {
3225
+ }, P = async () => {
3160
3226
  m.value = !0, await x("focus");
3161
3227
  }, j = async () => {
3162
3228
  await x("hover");
@@ -3225,7 +3291,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3225
3291
  await S(le);
3226
3292
  },
3227
3293
  { immediate: !0 }
3228
- ), (Z, ee) => (P(), X(ra, {
3294
+ ), (Z, ee) => (L(), X(ra, {
3229
3295
  modelValue: T.value,
3230
3296
  "onUpdate:modelValue": [
3231
3297
  ee[0] || (ee[0] = (le) => T.value = le),
@@ -3236,7 +3302,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3236
3302
  placeholder: te.value,
3237
3303
  multiple: v.value.multiple,
3238
3304
  clearable: !v.value.mandatory,
3239
- label: _.value,
3305
+ label: I.value,
3240
3306
  chips: v.value.multiple,
3241
3307
  loading: $.value,
3242
3308
  "hide-details": "",
@@ -3244,27 +3310,27 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3244
3310
  autocomplete: "off",
3245
3311
  "no-data-text": q.value,
3246
3312
  "onUpdate:search": re,
3247
- onBlur: I,
3248
- onFocus: L,
3313
+ onBlur: _,
3314
+ onFocus: P,
3249
3315
  onMouseenter: j,
3250
3316
  "onClick:clear": ke
3251
- }, Lt({
3252
- item: R(({ props: le, item: _e }) => [
3317
+ }, Pt({
3318
+ item: R(({ props: le, internalItem: Ie }) => [
3253
3319
  O(Rt, st(le, {
3254
- title: _e.raw.title,
3255
- subtitle: _e.raw.subtitle
3320
+ title: Ie.raw.title,
3321
+ subtitle: Ie.raw.subtitle
3256
3322
  }), null, 16, ["title", "subtitle"])
3257
3323
  ]),
3258
- chip: R(({ props: le, item: _e }) => [
3324
+ chip: R(({ props: le, internalItem: Ie }) => [
3259
3325
  O(Kt, {
3260
3326
  closable: le.closable,
3261
3327
  size: "small",
3262
- text: `${_e.title} (${_e.raw.subtitle})`,
3263
- disabled: _e.props.disabled
3328
+ text: `${Ie.title} (${Ie.raw.subtitle})`,
3329
+ disabled: Ie.props.disabled
3264
3330
  }, {
3265
3331
  default: R(() => [
3266
- De(fe(_e.raw.title) + " ", 1),
3267
- _e.raw.subtitle ? (P(), de("span", Os, " (" + fe(_e.raw.subtitle) + ") ", 1)) : ce("", !0)
3332
+ De(fe(Ie.raw.title) + " ", 1),
3333
+ Ie.raw.subtitle ? (L(), de("span", Os, " (" + fe(Ie.raw.subtitle) + ") ", 1)) : ce("", !0)
3268
3334
  ]),
3269
3335
  _: 2
3270
3336
  }, 1032, ["closable", "text", "disabled"])
@@ -3283,7 +3349,7 @@ const Bd = (e, n = {}, t, a = {}, r, o, l = {}) => new Promise((i, s) => {
3283
3349
  ]), 1032, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading", "no-data-text"]));
3284
3350
  }
3285
3351
  });
3286
- function Ls(e, n) {
3352
+ function Ps(e, n) {
3287
3353
  return n.includes(e);
3288
3354
  }
3289
3355
  const Rd = /* @__PURE__ */ we({
@@ -3323,29 +3389,31 @@ const Rd = /* @__PURE__ */ we({
3323
3389
  );
3324
3390
  const c = N([]), g = N(""), v = N(!1), T = N(void 0), b = N(0), { t: m } = Re(), d = Y(() => l.fields[t.name]), p = () => {
3325
3391
  v.value = !1;
3326
- }, A = Y(() => d.value.titleT ? m(d.value.titleT) : void 0), { pagination: I } = kn(
3392
+ }, A = Y(() => d.value.titleT ? m(d.value.titleT) : void 0), { pagination: _ } = kn(
3327
3393
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
3328
3394
  G(t.filterSortBy) ? null : t.filterSortBy.key,
3329
3395
  t.filterSortBy?.order
3330
- ), _ = N([]), h = N([]), w = Y(() => {
3396
+ ), I = N([]), h = N([]), w = Y(() => {
3331
3397
  const W = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map();
3332
3398
  return h.value.forEach((q) => {
3333
3399
  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)));
3334
- }), _.value.forEach((q) => {
3400
+ }), I.value.forEach((q) => {
3335
3401
  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)));
3336
3402
  }), Array.from(W, ([q, K]) => ({ value: q, title: K, raw: te.get(q) }));
3337
- }), B = N(!1), { showErrorsDefault: D } = _n(), F = async (W, te) => {
3403
+ }), B = N(!1), { showErrorsDefault: D } = In(), F = async (W, te) => {
3338
3404
  B.value = !0, u[t.filterByField] = W;
3339
3405
  try {
3340
- const q = await t.fetchItemsMinimal(I, u, s);
3341
- te === b.value && (_.value = q);
3406
+ const q = await t.fetchItemsMinimal(_, u, s);
3407
+ te === b.value && (I.value = q);
3342
3408
  } catch (q) {
3343
3409
  D(q);
3344
3410
  } finally {
3345
3411
  B.value = !1;
3346
3412
  }
3347
3413
  }, U = (W) => {
3348
- const te = w.value.filter((q) => W.includes(q.value));
3414
+ const te = w.value.filter(
3415
+ (q) => W.includes(q.value)
3416
+ );
3349
3417
  return [].concat(te);
3350
3418
  }, $ = async (W) => {
3351
3419
  let te = 1, q = [];
@@ -3356,8 +3424,8 @@ const Rd = /* @__PURE__ */ we({
3356
3424
  if (M(), k.value !== !0) {
3357
3425
  k.value = !0, B.value = !0;
3358
3426
  try {
3359
- const W = await t.fetchItemsMinimal(I, u, s);
3360
- b.value === 0 && (_.value = W);
3427
+ const W = await t.fetchItemsMinimal(_, u, s);
3428
+ b.value === 0 && (I.value = W);
3361
3429
  } catch (W) {
3362
3430
  D(W);
3363
3431
  } finally {
@@ -3371,7 +3439,7 @@ const Rd = /* @__PURE__ */ we({
3371
3439
  }, x = Y(() => {
3372
3440
  if (!d.value.multiple && h.value[0])
3373
3441
  return h.value[0].title;
3374
- }), L = (W) => {
3442
+ }), P = (W) => {
3375
3443
  !d.value.multiple && !v.value && W.length === 0 || x.value !== W && (g.value = W);
3376
3444
  }, j = (W) => {
3377
3445
  l.touched = !0;
@@ -3379,7 +3447,11 @@ const Rd = /* @__PURE__ */ we({
3379
3447
  ue(W) ? te = W.map((q) => q.value) : G(W) || (te = W.value), i[t.name] = te, a("change");
3380
3448
  }, Q = async () => {
3381
3449
  try {
3382
- _.value = await t.fetchItemsMinimal(I, u, s);
3450
+ I.value = await t.fetchItemsMinimal(
3451
+ _,
3452
+ u,
3453
+ s
3454
+ );
3383
3455
  } catch (W) {
3384
3456
  D(W);
3385
3457
  }
@@ -3405,20 +3477,28 @@ const Rd = /* @__PURE__ */ we({
3405
3477
  async (W, te) => {
3406
3478
  if (W === te || Je(W)) return;
3407
3479
  if (G(W) || E(W) || ue(W) && W.length === 0) {
3408
- if (h.value = [], d.value.multiple ? c.value = [] : c.value = null, ke(c.value), k.value === !0 || Ls(t.prefetch, ["hover", "focus", !1])) return;
3480
+ if (h.value = [], d.value.multiple ? c.value = [] : c.value = null, ke(c.value), k.value === !0 || Ps(t.prefetch, ["hover", "focus", !1])) return;
3409
3481
  T.value = setTimeout(() => {
3410
3482
  S();
3411
3483
  }, 3e3);
3412
3484
  return;
3413
3485
  }
3414
3486
  if (await $(W)) {
3415
- c.value = h.value.map((K) => ({ title: K.title, value: K.value })), ke(c.value);
3487
+ c.value = h.value.map((K) => ({
3488
+ title: K.title,
3489
+ value: K.value
3490
+ })), ke(c.value);
3416
3491
  return;
3417
3492
  }
3418
3493
  if (ue(W)) {
3419
3494
  B.value = !0;
3420
3495
  try {
3421
- h.value = await t.fetchItemsMinimalByIds(W), c.value = h.value.map((K) => ({ title: K.title, value: K.value })), ke(c.value);
3496
+ h.value = await t.fetchItemsMinimalByIds(
3497
+ W
3498
+ ), c.value = h.value.map((K) => ({
3499
+ title: K.title,
3500
+ value: K.value
3501
+ })), ke(c.value);
3422
3502
  } catch (K) {
3423
3503
  D(K);
3424
3504
  } finally {
@@ -3428,7 +3508,10 @@ const Rd = /* @__PURE__ */ we({
3428
3508
  }
3429
3509
  B.value = !0;
3430
3510
  try {
3431
- h.value = await t.fetchItemsMinimalByIds([W]), c.value = h.value.map((K) => ({ title: K.title, value: K.value }))[0], ke(c.value);
3511
+ h.value = await t.fetchItemsMinimalByIds([W]), c.value = h.value.map((K) => ({
3512
+ title: K.title,
3513
+ value: K.value
3514
+ }))[0], ke(c.value);
3432
3515
  } catch (K) {
3433
3516
  D(K);
3434
3517
  } finally {
@@ -3442,7 +3525,7 @@ const Rd = /* @__PURE__ */ we({
3442
3525
  W.length < t.searchMinChars || W !== te && (b.value++, F(W, b.value));
3443
3526
  },
3444
3527
  { debounce: 300 }
3445
- ), (W, te) => (P(), X(ra, {
3528
+ ), (W, te) => (L(), X(ra, {
3446
3529
  modelValue: c.value,
3447
3530
  "onUpdate:modelValue": [
3448
3531
  te[0] || (te[0] = (q) => c.value = q),
@@ -3459,13 +3542,13 @@ const Rd = /* @__PURE__ */ we({
3459
3542
  "hide-details": "",
3460
3543
  "return-object": "",
3461
3544
  autocomplete: "off",
3462
- "onUpdate:search": L,
3545
+ "onUpdate:search": P,
3463
3546
  onBlur: p,
3464
3547
  onFocus: y,
3465
3548
  onMouseenter: C,
3466
3549
  "onClick:clear": Q
3467
3550
  }, {
3468
- item: R(({ props: q, item: K }) => [
3551
+ item: R(({ props: q, internalItem: K }) => [
3469
3552
  Se(W.$slots, "item", {
3470
3553
  item: K,
3471
3554
  props: q
@@ -3489,7 +3572,7 @@ const Rd = /* @__PURE__ */ we({
3489
3572
  _: 3
3490
3573
  }, 8, ["modelValue", "items", "placeholder", "multiple", "clearable", "label", "chips", "loading"]));
3491
3574
  }
3492
- }), Ld = /* @__PURE__ */ we({
3575
+ }), Pd = /* @__PURE__ */ we({
3493
3576
  __name: "AFilterValueObjectOptionsSelect",
3494
3577
  props: {
3495
3578
  name: {},
@@ -3523,14 +3606,16 @@ const Rd = /* @__PURE__ */ we({
3523
3606
  o.value.set(
3524
3607
  t.name,
3525
3608
  m.map((p) => {
3526
- const A = t.items.find((I) => I.value === p);
3609
+ const A = t.items.find((_) => _.value === p);
3527
3610
  return A ? { title: A.title, value: A.value } : { title: p, value: p };
3528
3611
  })
3529
3612
  );
3530
3613
  return;
3531
3614
  }
3532
3615
  const d = t.items.find((p) => p.value === m);
3533
- d && o.value.set(t.name, [{ title: d.title, value: d.value }]);
3616
+ d && o.value.set(t.name, [
3617
+ { title: d.title, value: d.value }
3618
+ ]);
3534
3619
  };
3535
3620
  return Ae(
3536
3621
  () => i[t.name],
@@ -3538,7 +3623,7 @@ const Rd = /* @__PURE__ */ we({
3538
3623
  m === d || Je(m) || b(m);
3539
3624
  },
3540
3625
  { immediate: !0 }
3541
- ), (m, d) => (P(), X(ra, {
3626
+ ), (m, d) => (L(), X(ra, {
3542
3627
  modelValue: u.value,
3543
3628
  "onUpdate:modelValue": d[0] || (d[0] = (p) => u.value = p),
3544
3629
  items: e.items,
@@ -3552,7 +3637,7 @@ const Rd = /* @__PURE__ */ we({
3552
3637
  "onClick:clear": ye(T, ["stop"])
3553
3638
  }, null, 8, ["modelValue", "items", "chips", "label", "multiple", "clearable"]));
3554
3639
  }
3555
- }), Ps = /* @__PURE__ */ we({
3640
+ }), Ls = /* @__PURE__ */ we({
3556
3641
  __name: "AFilterTimeInterval",
3557
3642
  props: {
3558
3643
  nameFrom: {},
@@ -3582,11 +3667,11 @@ const Rd = /* @__PURE__ */ we({
3582
3667
  }), { timeIntervalOptions: u, getTimeIntervalOption: f } = Es(t.allowed), c = N(null), g = N(!1), v = N({
3583
3668
  from: null,
3584
3669
  until: Dn()
3585
- }), T = N(!1), { v$: b } = Ts(v), m = Y(() => l.fields[t.nameFrom]), { t: d } = Re(), p = Y(() => m.value.titleT ? d(m.value.titleT) : void 0), { clearOne: A } = ct(), { showValidationError: I } = _n(), _ = () => {
3670
+ }), T = N(!1), { v$: b } = Ts(v), m = Y(() => l.fields[t.nameFrom]), { t: d } = Re(), p = Y(() => m.value.titleT ? d(m.value.titleT) : void 0), { clearOne: A } = ct(), { showValidationError: _ } = In(), I = () => {
3586
3671
  T.value = !1, c.value = null, B();
3587
3672
  }, h = () => {
3588
3673
  if (b.value.$touch(), b.value.$invalid) {
3589
- I();
3674
+ _();
3590
3675
  return;
3591
3676
  }
3592
3677
  T.value = !0, g.value = !1, i[t.nameUntil] = v.value.until, s.value = v.value.from;
@@ -3643,8 +3728,8 @@ const Rd = /* @__PURE__ */ we({
3643
3728
  };
3644
3729
  return ($, k) => {
3645
3730
  const M = Wt("ABtnTertiary"), S = Wt("ABtnPrimary");
3646
- return P(), de(qe, null, [
3647
- T.value ? (P(), X(Jr, {
3731
+ return L(), de(qe, null, [
3732
+ T.value ? (L(), X(Jr, {
3648
3733
  key: 0,
3649
3734
  label: p.value,
3650
3735
  "model-value": H(dn)(v.value.from) + " - " + H(dn)(v.value.until),
@@ -3655,9 +3740,9 @@ const Rd = /* @__PURE__ */ we({
3655
3740
  "append-inner-icon": "mdi-menu-down",
3656
3741
  clearable: "",
3657
3742
  class: "cursor-pointer",
3658
- "onClick:clear": ye(_, ["stop"]),
3743
+ "onClick:clear": ye(I, ["stop"]),
3659
3744
  onClick: k[0] || (k[0] = ye((y) => F(), ["stop"]))
3660
- }, null, 8, ["label", "model-value"])) : (P(), X(zo, {
3745
+ }, null, 8, ["label", "model-value"])) : (L(), X(zo, {
3661
3746
  key: 1,
3662
3747
  modelValue: c.value,
3663
3748
  "onUpdate:modelValue": k[1] || (k[1] = (y) => c.value = y),
@@ -3670,16 +3755,16 @@ const Rd = /* @__PURE__ */ we({
3670
3755
  items: H(u),
3671
3756
  "hide-details": "",
3672
3757
  autocomplete: "off",
3673
- "onClick:clear": ye(_, ["stop"])
3758
+ "onClick:clear": ye(I, ["stop"])
3674
3759
  }, {
3675
- item: R(({ props: y, item: C }) => [
3760
+ item: R(({ props: y, internalItem: C }) => [
3676
3761
  O(Rt, st(y, {
3677
3762
  onClick: (x) => U(C)
3678
3763
  }), null, 16, ["onClick"])
3679
3764
  ]),
3680
3765
  _: 1
3681
3766
  }, 8, ["modelValue", "label", "clearable", "data-cy", "items"])),
3682
- g.value ? (P(), X(za, {
3767
+ g.value ? (L(), X(za, {
3683
3768
  key: 2,
3684
3769
  "model-value": !0,
3685
3770
  width: "auto",
@@ -3758,14 +3843,14 @@ const Rd = /* @__PURE__ */ we({
3758
3843
  ], 64);
3759
3844
  };
3760
3845
  }
3761
- }), Pd = /* @__PURE__ */ Ka(Ps, [["__scopeId", "data-v-622f5681"]]), fr = (e, n = "item") => n + "." + e, Io = /* @__PURE__ */ we({
3846
+ }), Ld = /* @__PURE__ */ Ka(Ls, [["__scopeId", "data-v-845cd41b"]]), fr = (e, n = "item") => n + "." + e, _o = /* @__PURE__ */ we({
3762
3847
  __name: "AFilterEmpty",
3763
3848
  props: {
3764
3849
  name: {}
3765
3850
  },
3766
3851
  setup(e) {
3767
3852
  const n = e;
3768
- return (t, a) => (P(), de("div", null, fe(n.name), 1));
3853
+ return (t, a) => (L(), de("div", null, fe(n.name), 1));
3769
3854
  }
3770
3855
  }), Ns = /* @__PURE__ */ we({
3771
3856
  __name: "AFilterDatetimePicker",
@@ -3790,9 +3875,11 @@ const Rd = /* @__PURE__ */ we({
3790
3875
  }), { t: u } = Re(), f = Y(() => l.fields[t.name]), c = Y(() => f.value.titleT ? u(f.value.titleT) : void 0), { clearOne: g } = ct(), v = () => {
3791
3876
  g(t.name, i, l), o.value.delete(t.name);
3792
3877
  }, T = () => {
3793
- !Be(s.value) || Be(s.value) && s.value.length === 0 || o.value.set(t.name, [{ title: dn(s.value), value: s.value }]);
3878
+ !Be(s.value) || Be(s.value) && s.value.length === 0 || o.value.set(t.name, [
3879
+ { title: dn(s.value), value: s.value }
3880
+ ]);
3794
3881
  };
3795
- return (b, m) => (P(), X(ur, st({
3882
+ return (b, m) => (L(), X(ur, st({
3796
3883
  modelValue: s.value,
3797
3884
  "onUpdate:modelValue": m[0] || (m[0] = (d) => s.value = d),
3798
3885
  "data-cy": e.dataCy,
@@ -3826,7 +3913,9 @@ const Rd = /* @__PURE__ */ we({
3826
3913
  v(t.name, i, l), o.value.delete(t.name);
3827
3914
  }, b = () => {
3828
3915
  if (Gt(s.value)) {
3829
- o.value.set(t.name, [{ title: s.value + "", value: s.value }]);
3916
+ o.value.set(t.name, [
3917
+ { title: s.value + "", value: s.value }
3918
+ ]);
3830
3919
  return;
3831
3920
  }
3832
3921
  if (Be(s.value)) {
@@ -3843,7 +3932,7 @@ const Rd = /* @__PURE__ */ we({
3843
3932
  m === d || Je(m) || b();
3844
3933
  },
3845
3934
  { immediate: !0 }
3846
- ), (m, d) => (P(), X(sa, {
3935
+ ), (m, d) => (L(), X(sa, {
3847
3936
  modelValue: s.value,
3848
3937
  "onUpdate:modelValue": d[0] || (d[0] = (p) => s.value = p),
3849
3938
  label: c.value,
@@ -3867,7 +3956,7 @@ const Rd = /* @__PURE__ */ we({
3867
3956
  E(t.fields[n.name]))
3868
3957
  throw new Error("Incorrect provide/inject config.");
3869
3958
  const a = Y(() => t.fields[n.name]), r = Y(() => {
3870
- if (a.value.render.skip) return Io;
3959
+ if (a.value.render.skip) return _o;
3871
3960
  switch (a.value.type) {
3872
3961
  case "string":
3873
3962
  return Bs;
@@ -3878,13 +3967,13 @@ const Rd = /* @__PURE__ */ we({
3878
3967
  case "integer":
3879
3968
  return Us;
3880
3969
  default:
3881
- return Io;
3970
+ return _o;
3882
3971
  }
3883
3972
  });
3884
- return (o, l) => (P(), X(Ho(r.value), { name: e.name }, null, 8, ["name"]));
3973
+ return (o, l) => (L(), X(Ho(r.value), { name: e.name }, null, 8, ["name"]));
3885
3974
  }
3886
3975
  });
3887
- function _o(e, n = "userAdminConfig") {
3976
+ function Io(e, n = "userAdminConfig") {
3888
3977
  const t = [
3889
3978
  { name: "user", default: null },
3890
3979
  { name: "configType", default: null },
@@ -3928,7 +4017,10 @@ const Zn = {
3928
4017
  }
3929
4018
  const { pagination: g } = kn("position", Ct.Asc, {
3930
4019
  rowsPerPage: Ra
3931
- }), { start: v, end: T } = Sn(i.systemResource, "_"), { filterConfig: b, filterData: m } = _o(v, T);
4020
+ }), { start: v, end: T } = Sn(
4021
+ i.systemResource,
4022
+ "_"
4023
+ ), { filterConfig: b, filterData: m } = Io(v, T);
3932
4024
  m.configType = Zn.FilterBookmark, m.layoutType = i.layoutType, m.systemResource = i.systemResource, m.user = i.user;
3933
4025
  let d = [];
3934
4026
  try {
@@ -3943,7 +4035,10 @@ const Zn = {
3943
4035
  n.value = !1;
3944
4036
  const { pagination: u } = kn("position", Ct.Asc, {
3945
4037
  rowsPerPage: Ra + 1
3946
- }), { start: f, end: c } = Sn(i.systemResource, "_"), { filterConfig: g, filterData: v } = _o(f, c);
4038
+ }), { start: f, end: c } = Sn(
4039
+ i.systemResource,
4040
+ "_"
4041
+ ), { filterConfig: g, filterData: v } = Io(f, c);
3947
4042
  v.configType = Zn.FilterBookmark, v.layoutType = i.layoutType, v.systemResource = i.systemResource, v.user = i.user;
3948
4043
  let T = 1 / 0;
3949
4044
  try {
@@ -3973,10 +4068,10 @@ function rn(e, n, t, a, r, o, l) {
3973
4068
  return {
3974
4069
  executeRequest: async (d = void 0, p = void 0, A = void 0) => {
3975
4070
  T = new AbortController();
3976
- let I, _, h;
3977
- typeof d == "object" && d !== null ? (I = d.urlTemplateOverride, _ = d.urlParamsOverride, h = d.object) : (I = d, _ = p, h = A);
4071
+ let _, I, h;
4072
+ typeof d == "object" && d !== null ? (_ = d.urlTemplate, I = d.urlParams, h = d.object) : (_ = d, I = p, h = A);
3978
4073
  try {
3979
- const w = { method: s }, B = he(_) ? _ : g, D = he(I) ? I : c;
4074
+ const w = { method: s }, B = he(I) ? I : g, D = he(_) ? _ : c;
3980
4075
  if (E(D)) throw new Error("Url template is undefined");
3981
4076
  w.url = D, D !== "" && !E(B) && (w.url = Mn(D, B)), G(h) || (w.data = JSON.stringify(h));
3982
4077
  const F = await i().request({
@@ -3994,7 +4089,7 @@ function rn(e, n, t, a, r, o, l) {
3994
4089
  } catch (w) {
3995
4090
  if (w instanceof DOMException && w.name === "AbortError")
3996
4091
  return [];
3997
- throw Qa(w) ? w : Tn(w) ? new en(w, w.config?.url) : An(w) ? new tn(w, u, f, w) : In(w) ? new on(w, u, f, w) : xn(w) ? new an(w, w) : or(w) ? new eo(w) : Pt.isAxiosError(w) ? (console.error("Axios error: " + c, w.cause), new to(w)) : (console.error("AnzuFatalError: ", w), new ut(w));
4092
+ throw Qa(w) ? w : Tn(w) ? new en(w, w.config?.url) : An(w) ? new tn(w, u, f, w) : _n(w) ? new on(w, u, f, w) : xn(w) ? new an(w, w) : or(w) ? new eo(w) : Lt.isAxiosError(w) ? (console.error("Axios error: " + c, w.cause), new to(w)) : (console.error("AnzuFatalError: ", w), new ut(w));
3998
4093
  } finally {
3999
4094
  T = null;
4000
4095
  }
@@ -4007,26 +4102,49 @@ function rn(e, n, t, a, r, o, l) {
4007
4102
  const Mo = "/adm/v1/user-admin-config", js = "userAdminConfig";
4008
4103
  function pr(e, n, t = js, a = Mo) {
4009
4104
  return {
4010
- useFetchUserAdminConfigList: () => Ms(e, n, t, Mo),
4105
+ useFetchUserAdminConfigList: () => Ms({ client: e, system: n, entity: t, urlTemplate: Mo }),
4011
4106
  fetchUserAdminConfig: (f) => {
4012
- const { executeRequest: c } = rn(e, "GET", n, t);
4013
- return c(a + "/:id", { id: f });
4107
+ const { executeRequest: c } = rn({
4108
+ client: e,
4109
+ method: "GET",
4110
+ system: n,
4111
+ entity: t
4112
+ });
4113
+ return c({ urlTemplate: a + "/:id", urlParams: { id: f } });
4014
4114
  },
4015
4115
  createUserAdminConfig: (f) => {
4016
- const { executeRequest: c } = rn(e, "POST", n, t);
4017
- return c(a, void 0, f);
4116
+ const { executeRequest: c } = rn({
4117
+ client: e,
4118
+ method: "POST",
4119
+ system: n,
4120
+ entity: t
4121
+ });
4122
+ return c({ urlTemplate: a, object: f });
4018
4123
  },
4019
4124
  updateUserAdminConfig: (f, c) => {
4020
- const { executeRequest: g } = rn(e, "PUT", n, t);
4021
- return g(a + "/:id", { id: f }, c);
4125
+ const { executeRequest: g } = rn({
4126
+ client: e,
4127
+ method: "PUT",
4128
+ system: n,
4129
+ entity: t
4130
+ });
4131
+ return g({ urlTemplate: a + "/:id", urlParams: { id: f }, object: c });
4022
4132
  },
4023
4133
  deleteUserAdminConfig: (f) => {
4024
- const { executeRequest: c } = rn(e, "DELETE", n, t);
4025
- return c(a + "/:id", { id: f });
4134
+ const { executeRequest: c } = rn({ client: e, method: "DELETE", system: n, entity: t });
4135
+ return c({ urlTemplate: a + "/:id", urlParams: { id: f } });
4026
4136
  },
4027
4137
  updateUserAdminConfigPositions: (f) => {
4028
- const { executeRequest: c } = rn(e, "PATCH", n, t);
4029
- return c(a + "/update-positions", void 0, { userAdminConfigs: f });
4138
+ const { executeRequest: c } = rn({
4139
+ client: e,
4140
+ method: "PATCH",
4141
+ system: n,
4142
+ entity: t
4143
+ });
4144
+ return c({
4145
+ urlTemplate: a + "/update-positions",
4146
+ object: { userAdminConfigs: f }
4147
+ });
4030
4148
  }
4031
4149
  };
4032
4150
  }
@@ -4061,7 +4179,10 @@ const qs = { key: 0 }, zs = 32, hr = /* @__PURE__ */ we({
4061
4179
  ), u.value = !1;
4062
4180
  }, { deserializeFilters: d } = cr(l, o), p = (h) => {
4063
4181
  const w = h.data;
4064
- he(w.datatableHiddenColumns) && he(r.value) && (r.value = w.datatableHiddenColumns), he(w.sortBy) && (i.value = { ...i.value, sortBy: { key: w.sortBy.key, order: w.sortBy.order } });
4182
+ he(w.datatableHiddenColumns) && he(r.value) && (r.value = w.datatableHiddenColumns), he(w.sortBy) && (i.value = {
4183
+ ...i.value,
4184
+ sortBy: { key: w.sortBy.key, order: w.sortBy.order }
4185
+ });
4065
4186
  const B = d(w.filter);
4066
4187
  if (!G(B)) {
4067
4188
  for (const D in l) {
@@ -4106,29 +4227,29 @@ const qs = { key: 0 }, zs = 32, hr = /* @__PURE__ */ we({
4106
4227
  },
4107
4228
  { throttle: 1e3 }
4108
4229
  );
4109
- const I = Y(() => {
4230
+ const _ = Y(() => {
4110
4231
  const h = v.generateKey(Ft.Desktop, b);
4111
4232
  return v.bookmarks.get(h)?.items ?? [];
4112
- }), _ = Y(() => {
4233
+ }), I = Y(() => {
4113
4234
  const h = g.value;
4114
4235
  return {
4115
- visible: I.value.slice(0, h),
4116
- hidden: I.value.slice(h)
4236
+ visible: _.value.slice(0, h),
4237
+ hidden: _.value.slice(h)
4117
4238
  };
4118
4239
  });
4119
- return Ae([u, () => I.value.length], ([h]) => {
4240
+ return Ae([u, () => _.value.length], ([h]) => {
4120
4241
  h === !0 || G(f.value) || (c.value = f.value.clientWidth, Ue(() => {
4121
4242
  A(c.value);
4122
4243
  }));
4123
4244
  }), Ha(() => {
4124
4245
  m();
4125
- }), (h, w) => (P(), de("div", {
4246
+ }), (h, w) => (L(), de("div", {
4126
4247
  ref: "toolbar",
4127
- key: I.value.length,
4248
+ key: _.value.length,
4128
4249
  class: "w-100 d-flex overflow-hidden align-center mb-1"
4129
4250
  }, [
4130
- u.value ? (P(), de("div", qs)) : (P(), de(qe, { key: 1 }, [
4131
- (P(!0), de(qe, null, Ot(_.value.visible, (B) => (P(), de("div", {
4251
+ u.value ? (L(), de("div", qs)) : (L(), de(qe, { key: 1 }, [
4252
+ (L(!0), de(qe, null, Ot(I.value.visible, (B) => (L(), de("div", {
4132
4253
  key: B.id,
4133
4254
  class: "white-space-nowrap"
4134
4255
  }, [
@@ -4145,7 +4266,7 @@ const qs = { key: 0 }, zs = 32, hr = /* @__PURE__ */ we({
4145
4266
  _: 2
4146
4267
  }, 1032, ["onClick"])
4147
4268
  ]))), 128)),
4148
- _.value.hidden.length > 0 ? (P(), X(Wa, {
4269
+ I.value.hidden.length > 0 ? (L(), X(Wa, {
4149
4270
  key: 0,
4150
4271
  bottom: "",
4151
4272
  "offset-y": ""
@@ -4161,7 +4282,7 @@ const qs = { key: 0 }, zs = 32, hr = /* @__PURE__ */ we({
4161
4282
  default: R(() => [
4162
4283
  O(jo, { density: "compact" }, {
4163
4284
  default: R(() => [
4164
- (P(!0), de(qe, null, Ot(_.value.hidden, (B) => (P(), X(Rt, {
4285
+ (L(!0), de(qe, null, Ot(I.value.hidden, (B) => (L(), X(Rt, {
4165
4286
  key: B.id,
4166
4287
  onClick: (D) => p(B)
4167
4288
  }, {
@@ -4255,13 +4376,13 @@ function Zs(e) {
4255
4376
  var n = Xs(e, "string");
4256
4377
  return typeof n == "symbol" ? n : n + "";
4257
4378
  }
4258
- function La(e) {
4379
+ function Pa(e) {
4259
4380
  "@babel/helpers - typeof";
4260
- return La = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
4381
+ return Pa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
4261
4382
  return typeof n;
4262
4383
  } : function(n) {
4263
4384
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
4264
- }, La(e);
4385
+ }, Pa(e);
4265
4386
  }
4266
4387
  var Js = "1.15.7";
4267
4388
  function yt(e) {
@@ -4352,7 +4473,7 @@ function ft() {
4352
4473
  var e = document.scrollingElement;
4353
4474
  return e || document.documentElement;
4354
4475
  }
4355
- function Pe(e, n, t, a, r) {
4476
+ function Le(e, n, t, a, r) {
4356
4477
  if (!(!e.getBoundingClientRect && e !== window)) {
4357
4478
  var o, l, i, s, u, f, c;
4358
4479
  if (e !== window && e.parentNode && e !== ft() ? (o = e.getBoundingClientRect(), l = o.top, i = o.left, s = o.bottom, u = o.right, f = o.height, c = o.width) : (l = 0, i = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (n || t) && e !== window && (r = r || e.parentNode, !St))
@@ -4378,8 +4499,8 @@ function Pe(e, n, t, a, r) {
4378
4499
  }
4379
4500
  }
4380
4501
  function Oo(e, n, t) {
4381
- for (var a = Et(e, !0), r = Pe(e)[n]; a; ) {
4382
- var o = Pe(a)[t], l = void 0;
4502
+ for (var a = Et(e, !0), r = Le(e)[n]; a; ) {
4503
+ var o = Le(a)[t], l = void 0;
4383
4504
  if (l = r >= o, !l) return a;
4384
4505
  if (a === ft()) break;
4385
4506
  a = Et(a, !1);
@@ -4477,7 +4598,7 @@ function kr(e, n, t) {
4477
4598
  return Array.from(e.children).forEach(function(r) {
4478
4599
  var o, l, i, s;
4479
4600
  if (!(!it(r, n.draggable, e, !1) || r.animated || r === t)) {
4480
- var u = Pe(r);
4601
+ var u = Le(r);
4481
4602
  a.left = Math.min((o = a.left) !== null && o !== void 0 ? o : 1 / 0, u.left), a.top = Math.min((l = a.top) !== null && l !== void 0 ? l : 1 / 0, u.top), a.right = Math.max((i = a.right) !== null && i !== void 0 ? i : -1 / 0, u.right), a.bottom = Math.max((s = a.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
4482
4603
  }
4483
4604
  }), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
@@ -4493,7 +4614,7 @@ function nu() {
4493
4614
  if (!(ne(r, "display") === "none" || r === ae.ghost)) {
4494
4615
  e.push({
4495
4616
  target: r,
4496
- rect: Pe(r)
4617
+ rect: Le(r)
4497
4618
  });
4498
4619
  var o = vt({}, e[e.length - 1].rect);
4499
4620
  if (r.thisAnimationDuration) {
@@ -4521,7 +4642,7 @@ function nu() {
4521
4642
  }
4522
4643
  var o = !1, l = 0;
4523
4644
  e.forEach(function(i) {
4524
- var s = 0, u = i.target, f = u.fromRect, c = Pe(u), g = u.prevFromRect, v = u.prevToRect, T = i.rect, b = zt(u, !0);
4645
+ var s = 0, u = i.target, f = u.fromRect, c = Le(u), g = u.prevFromRect, v = u.prevToRect, T = i.rect, b = zt(u, !0);
4525
4646
  b && (c.top -= b.f, c.left -= b.e), u.toRect = c, u.thisAnimationDuration && Sa(g, c) && !Sa(f, c) && // Make sure animatingRect is on line between toRect & fromRect
4526
4647
  (T.top - c.top) / (T.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = ou(T, g, v, r.options)), Sa(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = r.options.animation), r.animate(u, T, c, s)), s && (o = !0, l = Math.max(l, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
4527
4648
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
@@ -4619,8 +4740,8 @@ var lu = ["evt"], ze = function(n, t) {
4619
4740
  dragEl: V,
4620
4741
  parentEl: Fe,
4621
4742
  ghostEl: oe,
4622
- rootEl: Ie,
4623
- nextEl: _t,
4743
+ rootEl: _e,
4744
+ nextEl: It,
4624
4745
  lastDownEl: jn,
4625
4746
  cloneEl: Me,
4626
4747
  cloneHidden: kt,
@@ -4633,7 +4754,7 @@ var lu = ["evt"], ze = function(n, t) {
4633
4754
  newIndex: Xe,
4634
4755
  newDraggableIndex: Dt,
4635
4756
  hideGhostForTarget: xr,
4636
- unhideGhostForTarget: Ir,
4757
+ unhideGhostForTarget: _r,
4637
4758
  cloneNowHidden: function() {
4638
4759
  kt = !0;
4639
4760
  },
@@ -4654,14 +4775,14 @@ function je(e) {
4654
4775
  putSortable: Ve,
4655
4776
  cloneEl: Me,
4656
4777
  targetEl: V,
4657
- rootEl: Ie,
4778
+ rootEl: _e,
4658
4779
  oldIndex: qt,
4659
4780
  oldDraggableIndex: bn,
4660
4781
  newIndex: Xe,
4661
4782
  newDraggableIndex: Dt
4662
4783
  }, e));
4663
4784
  }
4664
- var V, Fe, oe, Ie, _t, jn, Me, kt, qt, Xe, bn, Dt, Ln, Ve, Ht = !1, Qn = !1, ea = [], xt, lt, ka, Ea, Lo, Po, fn, Vt, yn, Cn = !1, Pn = !1, qn, He, Ta = [], Pa = !1, ta = [], va = typeof document < "u", Nn = lo, No = Fn || St ? "cssFloat" : "float", iu = va && !gr && !lo && "draggable" in document.createElement("div"), Er = (function() {
4785
+ var V, Fe, oe, _e, It, jn, Me, kt, qt, Xe, bn, Dt, Pn, Ve, Ht = !1, Qn = !1, ea = [], xt, lt, ka, Ea, Po, Lo, fn, Vt, yn, Cn = !1, Ln = !1, qn, He, Ta = [], La = !1, ta = [], va = typeof document < "u", Nn = lo, No = Fn || St ? "cssFloat" : "float", iu = va && !gr && !lo && "draggable" in document.createElement("div"), Er = (function() {
4665
4786
  if (va) {
4666
4787
  if (St)
4667
4788
  return !1;
@@ -4669,7 +4790,7 @@ var V, Fe, oe, Ie, _t, jn, Me, kt, qt, Xe, bn, Dt, Ln, Ve, Ht = !1, Qn = !1, ea
4669
4790
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
4670
4791
  }
4671
4792
  })(), Tr = function(n, t) {
4672
- 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), l = Xt(n, 1, t), i = o && ne(o), s = l && ne(l), u = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Pe(o).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Pe(l).width;
4793
+ 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), l = Xt(n, 1, t), i = o && ne(o), s = l && ne(l), u = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + Le(o).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Le(l).width;
4673
4794
  if (a.display === "flex")
4674
4795
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
4675
4796
  if (a.display === "grid")
@@ -4687,7 +4808,7 @@ var V, Fe, oe, Ie, _t, jn, Me, kt, qt, Xe, bn, Dt, Ln, Ve, Ht = !1, Qn = !1, ea
4687
4808
  return ea.some(function(r) {
4688
4809
  var o = r[We].options.emptyInsertThreshold;
4689
4810
  if (!(!o || io(r))) {
4690
- var l = Pe(r), i = n >= l.left - o && n <= l.right + o, s = t >= l.top - o && t <= l.bottom + o;
4811
+ var l = Le(r), i = n >= l.left - o && n <= l.right + o, s = t >= l.top - o && t <= l.bottom + o;
4691
4812
  if (i && s)
4692
4813
  return a = r;
4693
4814
  }
@@ -4709,19 +4830,19 @@ var V, Fe, oe, Ie, _t, jn, Me, kt, qt, Xe, bn, Dt, Ln, Ve, Ht = !1, Qn = !1, ea
4709
4830
  };
4710
4831
  }
4711
4832
  var a = {}, r = n.group;
4712
- (!r || La(r) != "object") && (r = {
4833
+ (!r || Pa(r) != "object") && (r = {
4713
4834
  name: r
4714
4835
  }), a.name = r.name, a.checkPull = t(r.pull, !0), a.checkPut = t(r.put), a.revertClone = r.revertClone, n.group = a;
4715
4836
  }, xr = function() {
4716
4837
  !Er && oe && ne(oe, "display", "none");
4717
- }, Ir = function() {
4838
+ }, _r = function() {
4718
4839
  !Er && oe && ne(oe, "display", "");
4719
4840
  };
4720
4841
  va && !gr && document.addEventListener("click", function(e) {
4721
4842
  if (Qn)
4722
4843
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Qn = !1, !1;
4723
4844
  }, !0);
4724
- var It = function(n) {
4845
+ var _t = function(n) {
4725
4846
  if (V) {
4726
4847
  n = n.touches ? n.touches[0] : n;
4727
4848
  var t = uu(n.clientX, n.clientY);
@@ -4843,12 +4964,12 @@ ae.prototype = /** @lends Sortable.prototype */
4843
4964
  _prepareDragStart: function(n, t, a) {
4844
4965
  var r = this, o = r.el, l = r.options, i = o.ownerDocument, s;
4845
4966
  if (a && !V && a.parentNode === o) {
4846
- var u = Pe(a);
4847
- if (Ie = o, V = a, Fe = V.parentNode, _t = V.nextSibling, jn = a, Ln = l.group, ae.dragged = V, xt = {
4967
+ var u = Le(a);
4968
+ if (_e = o, V = a, Fe = V.parentNode, It = V.nextSibling, jn = a, Pn = l.group, ae.dragged = V, xt = {
4848
4969
  target: V,
4849
4970
  clientX: (t || n).clientX,
4850
4971
  clientY: (t || n).clientY
4851
- }, Lo = xt.clientX - u.left, Po = xt.clientY - u.top, this._lastX = (t || n).clientX, this._lastY = (t || n).clientY, V.style["will-change"] = "all", s = function() {
4972
+ }, Po = xt.clientX - u.left, Lo = xt.clientY - u.top, this._lastX = (t || n).clientX, this._lastY = (t || n).clientY, V.style["will-change"] = "all", s = function() {
4852
4973
  if (ze("delayEnded", r, {
4853
4974
  evt: n
4854
4975
  }), ae.eventCanceled) {
@@ -4862,7 +4983,7 @@ ae.prototype = /** @lends Sortable.prototype */
4862
4983
  }), Ge(V, l.chosenClass, !0);
4863
4984
  }, l.ignore.split(",").forEach(function(f) {
4864
4985
  Cr(V, f.trim(), Aa);
4865
- }), pe(i, "dragover", It), pe(i, "mousemove", It), pe(i, "touchmove", It), l.supportPointer ? (pe(i, "pointerup", r._onDrop), !this.nativeDraggable && pe(i, "pointercancel", r._onDrop)) : (pe(i, "mouseup", r._onDrop), pe(i, "touchend", r._onDrop), pe(i, "touchcancel", r._onDrop)), Fo && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), ze("delayStart", this, {
4986
+ }), pe(i, "dragover", _t), pe(i, "mousemove", _t), pe(i, "touchmove", _t), l.supportPointer ? (pe(i, "pointerup", r._onDrop), !this.nativeDraggable && pe(i, "pointercancel", r._onDrop)) : (pe(i, "mouseup", r._onDrop), pe(i, "touchend", r._onDrop), pe(i, "touchcancel", r._onDrop)), Fo && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), ze("delayStart", this, {
4866
4987
  evt: n
4867
4988
  }), l.delay && (!l.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Fn || St))) {
4868
4989
  if (ae.eventCanceled) {
@@ -4886,7 +5007,7 @@ ae.prototype = /** @lends Sortable.prototype */
4886
5007
  me(n, "mouseup", this._disableDelayedDrag), me(n, "touchend", this._disableDelayedDrag), me(n, "touchcancel", this._disableDelayedDrag), me(n, "pointerup", this._disableDelayedDrag), me(n, "pointercancel", this._disableDelayedDrag), me(n, "mousemove", this._delayedDragTouchMoveHandler), me(n, "touchmove", this._delayedDragTouchMoveHandler), me(n, "pointermove", this._delayedDragTouchMoveHandler);
4887
5008
  },
4888
5009
  _triggerDragStart: function(n, t) {
4889
- t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? pe(document, "pointermove", this._onTouchMove) : t ? pe(document, "touchmove", this._onTouchMove) : pe(document, "mousemove", this._onTouchMove) : (pe(V, "dragend", this), pe(Ie, "dragstart", this._onDragStart));
5010
+ t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? pe(document, "pointermove", this._onTouchMove) : t ? pe(document, "touchmove", this._onTouchMove) : pe(document, "mousemove", this._onTouchMove) : (pe(V, "dragend", this), pe(_e, "dragstart", this._onDragStart));
4890
5011
  try {
4891
5012
  document.selection ? zn(function() {
4892
5013
  document.selection.empty();
@@ -4895,7 +5016,7 @@ ae.prototype = /** @lends Sortable.prototype */
4895
5016
  }
4896
5017
  },
4897
5018
  _dragStarted: function(n, t) {
4898
- if (Ht = !1, Ie && V) {
5019
+ if (Ht = !1, _e && V) {
4899
5020
  ze("dragStarted", this, {
4900
5021
  evt: t
4901
5022
  }), this.nativeDraggable && pe(document, "dragover", cu);
@@ -4927,7 +5048,7 @@ ae.prototype = /** @lends Sortable.prototype */
4927
5048
  }
4928
5049
  n = t;
4929
5050
  } while (t = yr(t));
4930
- Ir();
5051
+ _r();
4931
5052
  }
4932
5053
  },
4933
5054
  _onTouchMove: function(n) {
@@ -4955,13 +5076,13 @@ ae.prototype = /** @lends Sortable.prototype */
4955
5076
  },
4956
5077
  _appendGhost: function() {
4957
5078
  if (!oe) {
4958
- var n = this.options.fallbackOnBody ? document.body : Ie, t = Pe(V, !0, Nn, !0, n), a = this.options;
5079
+ var n = this.options.fallbackOnBody ? document.body : _e, t = Le(V, !0, Nn, !0, n), a = this.options;
4959
5080
  if (Nn) {
4960
5081
  for (He = n; ne(He, "position") === "static" && ne(He, "transform") === "none" && He !== document; )
4961
5082
  He = He.parentNode;
4962
5083
  He !== document.body && He !== document.documentElement ? (He === document && (He = ft()), t.top += He.scrollTop, t.left += He.scrollLeft) : He = ft(), Ta = Ro(He);
4963
5084
  }
4964
- oe = V.cloneNode(!0), Ge(oe, a.ghostClass, !1), Ge(oe, a.fallbackClass, !0), Ge(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Nn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin", Lo / parseInt(oe.style.width) * 100 + "% " + Po / parseInt(oe.style.height) * 100 + "%");
5085
+ oe = V.cloneNode(!0), Ge(oe, a.ghostClass, !1), Ge(oe, a.fallbackClass, !0), Ge(oe, a.dragClass, !0), ne(oe, "transition", ""), ne(oe, "transform", ""), ne(oe, "box-sizing", "border-box"), ne(oe, "margin", 0), ne(oe, "top", t.top), ne(oe, "left", t.left), ne(oe, "width", t.width), ne(oe, "height", t.height), ne(oe, "opacity", "0.8"), ne(oe, "position", Nn ? "absolute" : "fixed"), ne(oe, "zIndex", "100000"), ne(oe, "pointerEvents", "none"), ae.ghost = oe, n.appendChild(oe), ne(oe, "transform-origin", Po / parseInt(oe.style.width) * 100 + "% " + Lo / parseInt(oe.style.height) * 100 + "%");
4965
5086
  }
4966
5087
  },
4967
5088
  _onDragStart: function(n, t) {
@@ -4973,7 +5094,7 @@ ae.prototype = /** @lends Sortable.prototype */
4973
5094
  return;
4974
5095
  }
4975
5096
  ze("setupClone", this), ae.eventCanceled || (Me = Dr(V), Me.removeAttribute("id"), Me.draggable = !1, Me.style["will-change"] = "", this._hideClone(), Ge(Me, this.options.chosenClass, !1), ae.clone = Me), a.cloneId = zn(function() {
4976
- ze("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || Ie.insertBefore(Me, V), a._hideClone(), je({
5097
+ ze("clone", a), !ae.eventCanceled && (a.options.removeCloneOnHide || _e.insertBefore(Me, V), a._hideClone(), je({
4977
5098
  sortable: a,
4978
5099
  name: "clone"
4979
5100
  }));
@@ -4981,9 +5102,9 @@ ae.prototype = /** @lends Sortable.prototype */
4981
5102
  },
4982
5103
  // Returns true - if no further action is needed (either inserted or another condition)
4983
5104
  _onDragOver: function(n) {
4984
- var t = this.el, a = n.target, r, o, l, i = this.options, s = i.group, u = ae.active, f = Ln === s, c = i.sort, g = Ve || u, v, T = this, b = !1;
4985
- if (Pa) return;
4986
- function m(x, L) {
5105
+ var t = this.el, a = n.target, r, o, l, i = this.options, s = i.group, u = ae.active, f = Pn === s, c = i.sort, g = Ve || u, v, T = this, b = !1;
5106
+ if (La) return;
5107
+ function m(x, P) {
4987
5108
  ze(x, T, vt({
4988
5109
  evt: n,
4989
5110
  isOwner: f,
@@ -4996,10 +5117,10 @@ ae.prototype = /** @lends Sortable.prototype */
4996
5117
  target: a,
4997
5118
  completed: p,
4998
5119
  onMove: function(Q, re) {
4999
- return Un(Ie, t, V, r, Q, Pe(Q), n, re);
5120
+ return Un(_e, t, V, r, Q, Le(Q), n, re);
5000
5121
  },
5001
5122
  changed: A
5002
- }, L));
5123
+ }, P));
5003
5124
  }
5004
5125
  function d() {
5005
5126
  m("dragOverAnimationCapture"), T.captureAnimationState(), T !== g && g.captureAnimationState();
@@ -5009,7 +5130,7 @@ ae.prototype = /** @lends Sortable.prototype */
5009
5130
  insertion: x
5010
5131
  }), x && (f ? u._hideClone() : u._showClone(T), T !== g && (Ge(V, Ve ? Ve.options.ghostClass : u.options.ghostClass, !1), Ge(V, i.ghostClass, !0)), Ve !== T && T !== ae.active ? Ve = T : T === ae.active && Ve && (Ve = null), g === T && (T._ignoreWhileAnimating = a), T.animateAll(function() {
5011
5132
  m("dragOverAnimationComplete"), T._ignoreWhileAnimating = null;
5012
- }), T !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (a === V && !V.animated || a === t && !a.animated) && (Vt = null), !i.dragoverBubble && !n.rootEl && a !== document && (V.parentNode[We]._isOutsideThisEl(n.target), !x && It(n)), !i.dragoverBubble && n.stopPropagation && n.stopPropagation(), b = !0;
5133
+ }), T !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (a === V && !V.animated || a === t && !a.animated) && (Vt = null), !i.dragoverBubble && !n.rootEl && a !== document && (V.parentNode[We]._isOutsideThisEl(n.target), !x && _t(n)), !i.dragoverBubble && n.stopPropagation && n.stopPropagation(), b = !0;
5013
5134
  }
5014
5135
  function A() {
5015
5136
  Xe = at(V), Dt = at(V, i.draggable), je({
@@ -5024,26 +5145,26 @@ ae.prototype = /** @lends Sortable.prototype */
5024
5145
  if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = it(a, i.draggable, t, !0), m("dragOver"), ae.eventCanceled) return b;
5025
5146
  if (V.contains(n.target) || a.animated && a.animatingX && a.animatingY || T._ignoreWhileAnimating === a)
5026
5147
  return p(!1);
5027
- if (Qn = !1, u && !i.disabled && (f ? c || (l = Fe !== Ie) : Ve === this || (this.lastPutMode = Ln.checkPull(this, u, V, n)) && s.checkPut(this, u, V, n))) {
5028
- if (v = this._getDirection(n, a) === "vertical", r = Pe(V), m("dragOverValid"), ae.eventCanceled) return b;
5148
+ if (Qn = !1, u && !i.disabled && (f ? c || (l = Fe !== _e) : Ve === this || (this.lastPutMode = Pn.checkPull(this, u, V, n)) && s.checkPut(this, u, V, n))) {
5149
+ if (v = this._getDirection(n, a) === "vertical", r = Le(V), m("dragOverValid"), ae.eventCanceled) return b;
5029
5150
  if (l)
5030
- return Fe = Ie, d(), this._hideClone(), m("revert"), ae.eventCanceled || (_t ? Ie.insertBefore(V, _t) : Ie.appendChild(V)), p(!0);
5031
- var I = io(t, i.draggable);
5032
- if (!I || vu(n, v, this) && !I.animated) {
5033
- if (I === V)
5034
- return p(!1);
5035
- if (I && t === n.target && (a = I), a && (o = Pe(a)), Un(Ie, t, V, r, a, o, n, !!a) !== !1)
5036
- return d(), I && I.nextSibling ? t.insertBefore(V, I.nextSibling) : t.appendChild(V), Fe = t, A(), p(!0);
5037
- } else if (I && mu(n, v, this)) {
5038
- var _ = Xt(t, 0, i, !0);
5151
+ return Fe = _e, d(), this._hideClone(), m("revert"), ae.eventCanceled || (It ? _e.insertBefore(V, It) : _e.appendChild(V)), p(!0);
5152
+ var _ = io(t, i.draggable);
5153
+ if (!_ || vu(n, v, this) && !_.animated) {
5039
5154
  if (_ === V)
5040
5155
  return p(!1);
5041
- if (a = _, o = Pe(a), Un(Ie, t, V, r, a, o, n, !1) !== !1)
5042
- return d(), t.insertBefore(V, _), Fe = t, A(), p(!0);
5156
+ if (_ && t === n.target && (a = _), a && (o = Le(a)), Un(_e, t, V, r, a, o, n, !!a) !== !1)
5157
+ return d(), _ && _.nextSibling ? t.insertBefore(V, _.nextSibling) : t.appendChild(V), Fe = t, A(), p(!0);
5158
+ } else if (_ && mu(n, v, this)) {
5159
+ var I = Xt(t, 0, i, !0);
5160
+ if (I === V)
5161
+ return p(!1);
5162
+ if (a = I, o = Le(a), Un(_e, t, V, r, a, o, n, !1) !== !1)
5163
+ return d(), t.insertBefore(V, I), Fe = t, A(), p(!0);
5043
5164
  } else if (a.parentNode === t) {
5044
- o = Pe(a);
5165
+ o = Le(a);
5045
5166
  var h = 0, w, B = V.parentNode !== t, D = !su(V.animated && V.toRect || r, a.animated && a.toRect || o, v), F = v ? "top" : "left", U = Oo(a, "top", "top") || Oo(V, "top", "top"), $ = U ? U.scrollTop : void 0;
5046
- Vt !== a && (w = o[F], Cn = !1, Pn = !D && i.invertSwap || B), h = pu(n, a, o, v, D ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, Pn, Vt === a);
5167
+ Vt !== a && (w = o[F], Cn = !1, Ln = !D && i.invertSwap || B), h = pu(n, a, o, v, D ? 1 : i.swapThreshold, i.invertedSwapThreshold == null ? i.swapThreshold : i.invertedSwapThreshold, Ln, Vt === a);
5047
5168
  var k;
5048
5169
  if (h !== 0) {
5049
5170
  var M = at(V);
@@ -5056,9 +5177,9 @@ ae.prototype = /** @lends Sortable.prototype */
5056
5177
  Vt = a, yn = h;
5057
5178
  var S = a.nextElementSibling, y = !1;
5058
5179
  y = h === 1;
5059
- var C = Un(Ie, t, V, r, a, o, n, y);
5180
+ var C = Un(_e, t, V, r, a, o, n, y);
5060
5181
  if (C !== !1)
5061
- return (C === 1 || C === -1) && (y = C === 1), Pa = !0, setTimeout(fu, 30), d(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), U && Sr(U, 0, $ - U.scrollTop), Fe = V.parentNode, w !== void 0 && !Pn && (qn = Math.abs(w - Pe(a)[F])), A(), p(!0);
5182
+ return (C === 1 || C === -1) && (y = C === 1), La = !0, setTimeout(fu, 30), d(), y && !S ? t.appendChild(V) : a.parentNode.insertBefore(V, y ? S : a), U && Sr(U, 0, $ - U.scrollTop), Fe = V.parentNode, w !== void 0 && !Ln && (qn = Math.abs(w - Le(a)[F])), A(), p(!0);
5062
5183
  }
5063
5184
  if (t.contains(V))
5064
5185
  return p(!1);
@@ -5067,7 +5188,7 @@ ae.prototype = /** @lends Sortable.prototype */
5067
5188
  },
5068
5189
  _ignoreWhileAnimating: null,
5069
5190
  _offMoveEvents: function() {
5070
- me(document, "mousemove", this._onTouchMove), me(document, "touchmove", this._onTouchMove), me(document, "pointermove", this._onTouchMove), me(document, "dragover", It), me(document, "mousemove", It), me(document, "touchmove", It);
5191
+ me(document, "mousemove", this._onTouchMove), me(document, "touchmove", this._onTouchMove), me(document, "pointermove", this._onTouchMove), me(document, "dragover", _t), me(document, "mousemove", _t), me(document, "touchmove", _t);
5071
5192
  },
5072
5193
  _offUpEvents: function() {
5073
5194
  var n = this.el.ownerDocument;
@@ -5081,18 +5202,18 @@ ae.prototype = /** @lends Sortable.prototype */
5081
5202
  this._nulling();
5082
5203
  return;
5083
5204
  }
5084
- Ht = !1, Pn = !1, Cn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Na(this.cloneId), Na(this._dragStartId), this.nativeDraggable && (me(document, "drop", this), me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), hn && ne(document.body, "user-select", ""), ne(V, "transform", ""), n && (fn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (Ie === Fe || Ve && Ve.lastPutMode !== "clone") && Me && Me.parentNode && Me.parentNode.removeChild(Me), V && (this.nativeDraggable && me(V, "dragend", this), Aa(V), V.style["will-change"] = "", fn && !Ht && Ge(V, Ve ? Ve.options.ghostClass : this.options.ghostClass, !1), Ge(V, this.options.chosenClass, !1), je({
5205
+ Ht = !1, Ln = !1, Cn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Na(this.cloneId), Na(this._dragStartId), this.nativeDraggable && (me(document, "drop", this), me(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), hn && ne(document.body, "user-select", ""), ne(V, "transform", ""), n && (fn && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), oe && oe.parentNode && oe.parentNode.removeChild(oe), (_e === Fe || Ve && Ve.lastPutMode !== "clone") && Me && Me.parentNode && Me.parentNode.removeChild(Me), V && (this.nativeDraggable && me(V, "dragend", this), Aa(V), V.style["will-change"] = "", fn && !Ht && Ge(V, Ve ? Ve.options.ghostClass : this.options.ghostClass, !1), Ge(V, this.options.chosenClass, !1), je({
5085
5206
  sortable: this,
5086
5207
  name: "unchoose",
5087
5208
  toEl: Fe,
5088
5209
  newIndex: null,
5089
5210
  newDraggableIndex: null,
5090
5211
  originalEvent: n
5091
- }), Ie !== Fe ? (Xe >= 0 && (je({
5212
+ }), _e !== Fe ? (Xe >= 0 && (je({
5092
5213
  rootEl: Fe,
5093
5214
  name: "add",
5094
5215
  toEl: Fe,
5095
- fromEl: Ie,
5216
+ fromEl: _e,
5096
5217
  originalEvent: n
5097
5218
  }), je({
5098
5219
  sortable: this,
@@ -5103,7 +5224,7 @@ ae.prototype = /** @lends Sortable.prototype */
5103
5224
  rootEl: Fe,
5104
5225
  name: "sort",
5105
5226
  toEl: Fe,
5106
- fromEl: Ie,
5227
+ fromEl: _e,
5107
5228
  originalEvent: n
5108
5229
  }), je({
5109
5230
  sortable: this,
@@ -5128,7 +5249,7 @@ ae.prototype = /** @lends Sortable.prototype */
5128
5249
  }), this.save()))), this._nulling();
5129
5250
  },
5130
5251
  _nulling: function() {
5131
- ze("nulling", this), Ie = V = Fe = oe = _t = Me = jn = kt = xt = lt = fn = Xe = Dt = qt = bn = Vt = yn = Ve = Ln = ae.dragged = ae.ghost = ae.clone = ae.active = null;
5252
+ ze("nulling", this), _e = V = Fe = oe = It = Me = jn = kt = xt = lt = fn = Xe = Dt = qt = bn = Vt = yn = Ve = Pn = ae.dragged = ae.ghost = ae.clone = ae.active = null;
5132
5253
  var n = this.el;
5133
5254
  ta.forEach(function(t) {
5134
5255
  n.contains(t) && (t.checked = !0);
@@ -5223,7 +5344,7 @@ ae.prototype = /** @lends Sortable.prototype */
5223
5344
  }
5224
5345
  if (kt) {
5225
5346
  if (ze("showClone", this), ae.eventCanceled) return;
5226
- V.parentNode == Ie && !this.options.group.revertClone ? Ie.insertBefore(Me, V) : _t ? Ie.insertBefore(Me, _t) : Ie.appendChild(Me), this.options.group.revertClone && this.animate(V, Me), ne(Me, "display", ""), kt = !1;
5347
+ V.parentNode == _e && !this.options.group.revertClone ? _e.insertBefore(Me, V) : It ? _e.insertBefore(Me, It) : _e.appendChild(Me), this.options.group.revertClone && this.animate(V, Me), ne(Me, "display", ""), kt = !1;
5227
5348
  }
5228
5349
  }
5229
5350
  };
@@ -5235,20 +5356,20 @@ function Un(e, n, t, a, r, o, l, i) {
5235
5356
  return window.CustomEvent && !St && !Fn ? s = new CustomEvent("move", {
5236
5357
  bubbles: !0,
5237
5358
  cancelable: !0
5238
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = n, s.from = e, s.dragged = t, s.draggedRect = a, s.related = r || n, s.relatedRect = o || Pe(n), s.willInsertAfter = i, s.originalEvent = l, e.dispatchEvent(s), f && (c = f.call(u, s, l)), c;
5359
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = n, s.from = e, s.dragged = t, s.draggedRect = a, s.related = r || n, s.relatedRect = o || Le(n), s.willInsertAfter = i, s.originalEvent = l, e.dispatchEvent(s), f && (c = f.call(u, s, l)), c;
5239
5360
  }
5240
5361
  function Aa(e) {
5241
5362
  e.draggable = !1;
5242
5363
  }
5243
5364
  function fu() {
5244
- Pa = !1;
5365
+ La = !1;
5245
5366
  }
5246
5367
  function mu(e, n, t) {
5247
- var a = Pe(Xt(t.el, 0, t.options, !0)), r = kr(t.el, t.options, oe), o = 10;
5368
+ var a = Le(Xt(t.el, 0, t.options, !0)), r = kr(t.el, t.options, oe), o = 10;
5248
5369
  return n ? e.clientX < r.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < r.top - o || e.clientY < a.bottom && e.clientX < a.left;
5249
5370
  }
5250
5371
  function vu(e, n, t) {
5251
- var a = Pe(io(t.el, t.options.draggable)), r = kr(t.el, t.options, oe), o = 10;
5372
+ var a = Le(io(t.el, t.options.draggable)), r = kr(t.el, t.options, oe), o = 10;
5252
5373
  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;
5253
5374
  }
5254
5375
  function pu(e, n, t, a, r, o, l, i) {
@@ -5324,7 +5445,7 @@ ae.create = function(e, n) {
5324
5445
  return new ae(e, n);
5325
5446
  };
5326
5447
  ae.version = Js;
5327
- var Le = [], mn, Ua, Ya = !1, xa, Ia, na, vn;
5448
+ var Pe = [], mn, Ua, Ya = !1, xa, _a, na, vn;
5328
5449
  function yu() {
5329
5450
  function e() {
5330
5451
  this.defaults = {
@@ -5350,7 +5471,7 @@ function yu() {
5350
5471
  this.sortable.nativeDraggable ? me(document, "dragover", this._handleAutoScroll) : (me(document, "pointermove", this._handleFallbackAutoScroll), me(document, "touchmove", this._handleFallbackAutoScroll), me(document, "mousemove", this._handleFallbackAutoScroll)), Uo(), Wn(), tu();
5351
5472
  },
5352
5473
  nulling: function() {
5353
- na = Ua = mn = Ya = vn = xa = Ia = null, Le.length = 0;
5474
+ na = Ua = mn = Ya = vn = xa = _a = null, Pe.length = 0;
5354
5475
  },
5355
5476
  _handleFallbackAutoScroll: function(t) {
5356
5477
  this._handleAutoScroll(t, !0);
@@ -5358,18 +5479,18 @@ function yu() {
5358
5479
  _handleAutoScroll: function(t, a) {
5359
5480
  var r = this, o = (t.touches ? t.touches[0] : t).clientX, l = (t.touches ? t.touches[0] : t).clientY, i = document.elementFromPoint(o, l);
5360
5481
  if (na = t, a || this.options.forceAutoScrollFallback || Fn || St || hn) {
5361
- _a(t, this.options, i, a);
5482
+ Ia(t, this.options, i, a);
5362
5483
  var s = Et(i, !0);
5363
- Ya && (!vn || o !== xa || l !== Ia) && (vn && Uo(), vn = setInterval(function() {
5484
+ Ya && (!vn || o !== xa || l !== _a) && (vn && Uo(), vn = setInterval(function() {
5364
5485
  var u = Et(document.elementFromPoint(o, l), !0);
5365
- u !== s && (s = u, Wn()), _a(t, r.options, u, a);
5366
- }, 10), xa = o, Ia = l);
5486
+ u !== s && (s = u, Wn()), Ia(t, r.options, u, a);
5487
+ }, 10), xa = o, _a = l);
5367
5488
  } else {
5368
5489
  if (!this.options.bubbleScroll || Et(i, !0) === ft()) {
5369
5490
  Wn();
5370
5491
  return;
5371
5492
  }
5372
- _a(t, this.options, Et(i, !1), !1);
5493
+ Ia(t, this.options, Et(i, !1), !1);
5373
5494
  }
5374
5495
  }
5375
5496
  }, wt(e, {
@@ -5378,36 +5499,36 @@ function yu() {
5378
5499
  });
5379
5500
  }
5380
5501
  function Wn() {
5381
- Le.forEach(function(e) {
5502
+ Pe.forEach(function(e) {
5382
5503
  clearInterval(e.pid);
5383
- }), Le = [];
5504
+ }), Pe = [];
5384
5505
  }
5385
5506
  function Uo() {
5386
5507
  clearInterval(vn);
5387
5508
  }
5388
- var _a = wr(function(e, n, t, a) {
5509
+ var Ia = wr(function(e, n, t, a) {
5389
5510
  if (n.scroll) {
5390
5511
  var r = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, l = n.scrollSensitivity, i = n.scrollSpeed, s = ft(), u = !1, f;
5391
5512
  Ua !== t && (Ua = t, Wn(), mn = n.scroll, f = n.scrollFn, mn === !0 && (mn = Et(t, !0)));
5392
5513
  var c = 0, g = mn;
5393
5514
  do {
5394
- var v = g, T = Pe(v), b = T.top, m = T.bottom, d = T.left, p = T.right, A = T.width, I = T.height, _ = void 0, h = void 0, w = v.scrollWidth, B = v.scrollHeight, D = ne(v), F = v.scrollLeft, U = v.scrollTop;
5395
- v === s ? (_ = A < w && (D.overflowX === "auto" || D.overflowX === "scroll" || D.overflowX === "visible"), h = I < B && (D.overflowY === "auto" || D.overflowY === "scroll" || D.overflowY === "visible")) : (_ = A < w && (D.overflowX === "auto" || D.overflowX === "scroll"), h = I < B && (D.overflowY === "auto" || D.overflowY === "scroll"));
5396
- var $ = _ && (Math.abs(p - r) <= l && F + A < w) - (Math.abs(d - r) <= l && !!F), k = h && (Math.abs(m - o) <= l && U + I < B) - (Math.abs(b - o) <= l && !!U);
5397
- if (!Le[c])
5515
+ var v = g, T = Le(v), b = T.top, m = T.bottom, d = T.left, p = T.right, A = T.width, _ = T.height, I = void 0, h = void 0, w = v.scrollWidth, B = v.scrollHeight, D = ne(v), F = v.scrollLeft, U = v.scrollTop;
5516
+ v === s ? (I = A < w && (D.overflowX === "auto" || D.overflowX === "scroll" || D.overflowX === "visible"), h = _ < B && (D.overflowY === "auto" || D.overflowY === "scroll" || D.overflowY === "visible")) : (I = A < w && (D.overflowX === "auto" || D.overflowX === "scroll"), h = _ < B && (D.overflowY === "auto" || D.overflowY === "scroll"));
5517
+ var $ = I && (Math.abs(p - r) <= l && F + A < w) - (Math.abs(d - r) <= l && !!F), k = h && (Math.abs(m - o) <= l && U + _ < B) - (Math.abs(b - o) <= l && !!U);
5518
+ if (!Pe[c])
5398
5519
  for (var M = 0; M <= c; M++)
5399
- Le[M] || (Le[M] = {});
5400
- (Le[c].vx != $ || Le[c].vy != k || Le[c].el !== v) && (Le[c].el = v, Le[c].vx = $, Le[c].vy = k, clearInterval(Le[c].pid), ($ != 0 || k != 0) && (u = !0, Le[c].pid = setInterval((function() {
5520
+ Pe[M] || (Pe[M] = {});
5521
+ (Pe[c].vx != $ || Pe[c].vy != k || Pe[c].el !== v) && (Pe[c].el = v, Pe[c].vx = $, Pe[c].vy = k, clearInterval(Pe[c].pid), ($ != 0 || k != 0) && (u = !0, Pe[c].pid = setInterval((function() {
5401
5522
  a && this.layer === 0 && ae.active._onTouchMove(na);
5402
- var S = Le[this.layer].vy ? Le[this.layer].vy * i : 0, y = Le[this.layer].vx ? Le[this.layer].vx * i : 0;
5403
- typeof f == "function" && f.call(ae.dragged.parentNode[We], y, S, e, na, Le[this.layer].el) !== "continue" || Sr(Le[this.layer].el, y, S);
5523
+ var S = Pe[this.layer].vy ? Pe[this.layer].vy * i : 0, y = Pe[this.layer].vx ? Pe[this.layer].vx * i : 0;
5524
+ typeof f == "function" && f.call(ae.dragged.parentNode[We], y, S, e, na, Pe[this.layer].el) !== "continue" || Sr(Pe[this.layer].el, y, S);
5404
5525
  }).bind({
5405
5526
  layer: c
5406
5527
  }), 24))), c++;
5407
5528
  } while (n.bubbleScroll && g !== s && (g = Et(g, !1)));
5408
5529
  Ya = u;
5409
5530
  }
5410
- }, 30), _r = function(n) {
5531
+ }, 30), Ir = function(n) {
5411
5532
  var t = n.originalEvent, a = n.putSortable, r = n.dragEl, o = n.activeSortable, l = n.dispatchSortableEvent, i = n.hideGhostForTarget, s = n.unhideGhostForTarget;
5412
5533
  if (t) {
5413
5534
  var u = a || o;
@@ -5433,7 +5554,7 @@ so.prototype = {
5433
5554
  var r = Xt(this.sortable.el, this.startIndex, this.options);
5434
5555
  r ? this.sortable.el.insertBefore(t, r) : this.sortable.el.appendChild(t), this.sortable.animateAll(), a && a.animateAll();
5435
5556
  },
5436
- drop: _r
5557
+ drop: Ir
5437
5558
  };
5438
5559
  wt(so, {
5439
5560
  pluginName: "revertOnSpill"
@@ -5445,7 +5566,7 @@ uo.prototype = {
5445
5566
  var t = n.dragEl, a = n.putSortable, r = a || this.sortable;
5446
5567
  r.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), r.animateAll();
5447
5568
  },
5448
- drop: _r
5569
+ drop: Ir
5449
5570
  };
5450
5571
  wt(uo, {
5451
5572
  pluginName: "removeOnSpill"
@@ -5550,17 +5671,17 @@ function Au(e, n, t, a, r, o, l = 0) {
5550
5671
  return o;
5551
5672
  }
5552
5673
  const xu = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Yo = { randomUUID: xu };
5553
- function Iu(e, n, t) {
5674
+ function _u(e, n, t) {
5554
5675
  e = e || {};
5555
5676
  const a = e.random ?? e.rng?.() ?? $r();
5556
5677
  if (a.length < 16)
5557
5678
  throw new Error("Random bytes length must be >= 16");
5558
5679
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Mr(a);
5559
5680
  }
5560
- function _u(e, n, t) {
5561
- return Yo.randomUUID && !e ? Yo.randomUUID() : Iu(e);
5681
+ function Iu(e, n, t) {
5682
+ return Yo.randomUUID && !e ? Yo.randomUUID() : _u(e);
5562
5683
  }
5563
- const Mu = () => Eu(), Nd = () => _u(), sn = "a-sortable-widget__handle", $u = "a-sortable-widget__ghost", Fu = "a-sortable-widget__drag", Bu = "a-sortable-widget__chosen", Vo = "a-sortable-widget__group";
5684
+ const Mu = () => Eu(), Nd = () => Iu(), sn = "a-sortable-widget__handle", $u = "a-sortable-widget__ghost", Fu = "a-sortable-widget__drag", Bu = "a-sortable-widget__chosen", Vo = "a-sortable-widget__group";
5564
5685
  function Ou(e, n, t, a) {
5565
5686
  const r = N(!1), o = N(null), l = N(null), i = N(Mu()), s = N(null), u = N(0), f = N(t.dirty);
5566
5687
  function c(k, M) {
@@ -5581,10 +5702,10 @@ function Ou(e, n, t, a) {
5581
5702
  }, m = (k, M, S, y = []) => {
5582
5703
  const C = M > S ? S : M;
5583
5704
  let x = t.positionMultiplier * C + t.positionMultiplier * 1;
5584
- for (let L = C; L < k.length; L++)
5585
- Li(k[L], t.positionField, x), T(k[L][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
5586
- id: k[L].id,
5587
- position: k[L].position
5705
+ for (let P = C; P < k.length; P++)
5706
+ Pi(k[P], t.positionField, x), T(k[P][t.keyField]), x = x + t.positionMultiplier * 1, y.push({
5707
+ id: k[P].id,
5708
+ position: k[P].position
5588
5709
  });
5589
5710
  return y;
5590
5711
  }, d = (k, M) => {
@@ -5600,10 +5721,10 @@ function Ou(e, n, t, a) {
5600
5721
  return S === -1 ? null : S;
5601
5722
  }, A = (k, M, S, y = null) => {
5602
5723
  k.data = $e(M), G(S) || (k.data.position = S), G(y) || T(M.id);
5603
- }, I = (k, M, S = null, y = null) => {
5724
+ }, _ = (k, M, S = null, y = null) => {
5604
5725
  const C = $e(e.value), x = p(k, C);
5605
5726
  !G(x) && C[x] && (A(C[x], M, S, y), v(C));
5606
- }, _ = (k, M, S, y = null) => {
5727
+ }, I = (k, M, S, y = null) => {
5607
5728
  const C = $e(e.value);
5608
5729
  C[k] && (A(C[k], M, S, y), v(C));
5609
5730
  }, h = (k, M) => {
@@ -5652,11 +5773,11 @@ function Ou(e, n, t, a) {
5652
5773
  addAfterIndex: h,
5653
5774
  removeById: B,
5654
5775
  removeByIndex: D,
5655
- updateData: I,
5656
- updateDataAtIndex: _
5776
+ updateData: _,
5777
+ updateDataAtIndex: I
5657
5778
  };
5658
5779
  }
5659
- const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortable-widget__before" }, Uu = { class: "a-sortable-widget__content" }, Yu = { class: "a-sortable-widget__after" }, Vu = /* @__PURE__ */ we({
5780
+ const Ru = "a-sortable-", Pu = ["id"], Lu = { key: 1 }, Nu = { class: "a-sortable-widget__before" }, Uu = { class: "a-sortable-widget__content" }, Yu = { class: "a-sortable-widget__after" }, Vu = /* @__PURE__ */ we({
5660
5781
  __name: "ASortable",
5661
5782
  props: {
5662
5783
  modelValue: {},
@@ -5706,7 +5827,8 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5706
5827
  dragClass: Fu,
5707
5828
  chosenClass: Bu,
5708
5829
  onEnd: async (C) => {
5709
- if (a.disableDefaultSort || E(C.oldIndex) || E(C.newIndex)) return;
5830
+ if (a.disableDefaultSort || E(C.oldIndex) || E(C.newIndex))
5831
+ return;
5710
5832
  const x = d(C.oldIndex, C.newIndex);
5711
5833
  r("onEnd", x);
5712
5834
  },
@@ -5721,8 +5843,8 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5721
5843
  moveArrayElement: d,
5722
5844
  itemToRemove: p,
5723
5845
  removeDialog: A,
5724
- destroy: I,
5725
- refresh: _,
5846
+ destroy: _,
5847
+ refresh: I,
5726
5848
  onRemoveDialogConfirm: h,
5727
5849
  sortableInstance: w,
5728
5850
  widgetEl: B,
@@ -5735,13 +5857,13 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5735
5857
  updateDataAtIndex: S
5736
5858
  } = Ou(o, v, a, r);
5737
5859
  return Yr(() => {
5738
- I();
5860
+ _();
5739
5861
  }), Ue(() => {
5740
5862
  B.value = document.querySelector("#" + c.value), v();
5741
5863
  }), Ae(
5742
5864
  () => a.disableDraggable,
5743
5865
  async (y) => {
5744
- I(), y === !1 && v();
5866
+ _(), y === !1 && v();
5745
5867
  }
5746
5868
  ), Ae(
5747
5869
  () => a.dirty,
@@ -5749,7 +5871,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5749
5871
  m.value = y;
5750
5872
  }
5751
5873
  ), n({
5752
- refresh: _,
5874
+ refresh: I,
5753
5875
  addAfterId: F,
5754
5876
  addAfterIndex: k,
5755
5877
  removeById: U,
@@ -5757,27 +5879,27 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5757
5879
  updateData: $,
5758
5880
  updateDataAtIndex: S
5759
5881
  }), (y, C) => {
5760
- const x = Wt("ABtnTertiary"), L = Wt("ABtnPrimary");
5761
- return P(), de("div", null, [
5882
+ const x = Wt("ABtnTertiary"), P = Wt("ABtnPrimary");
5883
+ return L(), de("div", null, [
5762
5884
  Ee("div", {
5763
5885
  id: c.value,
5764
5886
  class: Ze(g.value)
5765
5887
  }, [
5766
- (P(), de("div", {
5888
+ (L(), de("div", {
5767
5889
  key: H(b),
5768
5890
  class: Ze(H(Vo))
5769
5891
  }, [
5770
- (P(!0), de(qe, null, Ot(H(T), (j, Q) => (P(), de(qe, {
5892
+ (L(!0), de(qe, null, Ot(H(T), (j, Q) => (L(), de(qe, {
5771
5893
  key: j.key
5772
5894
  }, [
5773
- e.chips ? (P(), X(Kt, {
5895
+ e.chips ? (L(), X(Kt, {
5774
5896
  key: 0,
5775
5897
  size: e.chipSize,
5776
5898
  class: "mr-1",
5777
5899
  "prepend-icon": e.disableDraggable ? void 0 : "mdi-drag",
5778
5900
  "append-icon": e.showDeleteButton ? "mdi-drag" : void 0,
5779
5901
  "onClick:close": (re) => s(j)
5780
- }, Lt({
5902
+ }, Pt({
5781
5903
  default: R(() => [
5782
5904
  Se(y.$slots, "item", { item: j })
5783
5905
  ]),
@@ -5808,7 +5930,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5808
5930
  ]),
5809
5931
  key: "1"
5810
5932
  } : void 0
5811
- ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (P(), de("div", Pu, [
5933
+ ]), 1032, ["size", "prepend-icon", "append-icon", "onClick:close"])) : (L(), de("div", Lu, [
5812
5934
  Ee("div", Nu, [
5813
5935
  Se(y.$slots, "itemBefore", { item: j })
5814
5936
  ]),
@@ -5832,7 +5954,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5832
5954
  class: Ze(["a-sortable-widget__buttons", { "a-sortable-widget__buttons--permanent": e.permanentButtons }])
5833
5955
  }, [
5834
5956
  Se(y.$slots, "item-buttons", { item: j }, () => [
5835
- e.showEditButton ? (P(), X(Ne, {
5957
+ e.showEditButton ? (L(), X(Ne, {
5836
5958
  key: 0,
5837
5959
  icon: "",
5838
5960
  size: "x-small",
@@ -5850,7 +5972,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5850
5972
  ]),
5851
5973
  _: 1
5852
5974
  }, 8, ["onClick"])) : ce("", !0),
5853
- e.showDeleteButton ? (P(), X(Ne, {
5975
+ e.showDeleteButton ? (L(), X(Ne, {
5854
5976
  key: 1,
5855
5977
  icon: "",
5856
5978
  size: "x-small",
@@ -5869,7 +5991,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5869
5991
  _: 1
5870
5992
  }, 8, ["onClick"])) : ce("", !0),
5871
5993
  Se(y.$slots, "buttons", { item: j }),
5872
- e.showAddAfterButton ? (P(), X(Ne, {
5994
+ e.showAddAfterButton ? (L(), X(Ne, {
5873
5995
  key: 2,
5874
5996
  icon: "",
5875
5997
  size: "x-small",
@@ -5887,7 +6009,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5887
6009
  default: R(() => [
5888
6010
  O(jo, { density: "compact" }, {
5889
6011
  default: R(() => [
5890
- e.showAddAfterButton ? (P(), X(Rt, {
6012
+ e.showAddAfterButton ? (L(), X(Rt, {
5891
6013
  key: 0,
5892
6014
  onClick: ye((re) => i(j), ["stop"])
5893
6015
  }, {
@@ -5914,11 +6036,11 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5914
6036
  ]))
5915
6037
  ], 64))), 128))
5916
6038
  ], 2))
5917
- ], 10, Lu),
6039
+ ], 10, Pu),
5918
6040
  Se(y.$slots, "add-last-activator", {
5919
6041
  props: { onClick: ye(() => f(), ["stop"]) }
5920
6042
  }, () => [
5921
- e.showAddLastButton ? (P(), X(Ne, {
6043
+ e.showAddLastButton ? (L(), X(Ne, {
5922
6044
  key: 0,
5923
6045
  size: "small",
5924
6046
  "prepend-icon": "mdi-plus",
@@ -5937,7 +6059,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5937
6059
  width: 500
5938
6060
  }, {
5939
6061
  default: R(() => [
5940
- H(A) ? (P(), X(la, { key: 0 }, {
6062
+ H(A) ? (L(), X(la, { key: 0 }, {
5941
6063
  default: R(() => [
5942
6064
  O(Za, {
5943
6065
  onOnCancel: C[0] || (C[0] = (j) => A.value = !1)
@@ -5958,7 +6080,7 @@ const Ru = "a-sortable-", Lu = ["id"], Pu = { key: 1 }, Nu = { class: "a-sortabl
5958
6080
  ]),
5959
6081
  _: 1
5960
6082
  }),
5961
- O(L, {
6083
+ O(P, {
5962
6084
  onClick: ye(H(h), ["stop"])
5963
6085
  }, {
5964
6086
  default: R(() => [
@@ -6031,12 +6153,12 @@ const ju = {
6031
6153
  required: m,
6032
6154
  maxLength: d(100)
6033
6155
  }
6034
- }, A = Gn(p, { customName: s }, { $stopPropagation: !0 }), I = {
6156
+ }, A = Gn(p, { customName: s }, { $stopPropagation: !0 }), _ = {
6035
6157
  itemEdit: {
6036
6158
  required: m,
6037
6159
  maxLength: d(100)
6038
6160
  }
6039
- }, _ = Gn(I, { itemEdit: b }, { $stopPropagation: !0 }), h = vr(), {
6161
+ }, I = Gn(_, { itemEdit: b }, { $stopPropagation: !0 }), h = vr(), {
6040
6162
  createUserAdminConfig: w,
6041
6163
  useFetchUserAdminConfigList: B,
6042
6164
  updateUserAdminConfigPositions: D,
@@ -6045,7 +6167,7 @@ const ju = {
6045
6167
  } = (
6046
6168
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
6047
6169
  pr(t.client, t.system)
6048
- ), { t: $ } = Re(), { showErrorsDefault: k, showValidationError: M, showWarningT: S } = _n(), { createDefaultUserAdminConfig: y } = Hu(), C = async () => {
6170
+ ), { t: $ } = Re(), { showErrorsDefault: k, showValidationError: M, showWarningT: S } = In(), { createDefaultUserAdminConfig: y } = Hu(), C = async () => {
6049
6171
  c.value = !0;
6050
6172
  const K = T.value.map((ge) => ge.id);
6051
6173
  try {
@@ -6053,10 +6175,10 @@ const ju = {
6053
6175
  } catch (ge) {
6054
6176
  k(ge), c.value = !1;
6055
6177
  }
6056
- }, { serializeFilters: x } = cr(o, r), L = t.system + "_" + t.subject, j = async () => {
6178
+ }, { serializeFilters: x } = cr(o, r), P = t.system + "_" + t.subject, j = async () => {
6057
6179
  c.value = !0, v.value = !1;
6058
6180
  const q = y(t.system);
6059
- q.user = t.user, q.configType = Zn.FilterBookmark, q.layoutType = Ft.Desktop, q.systemResource = L, q.customName = s.value, q.data = {
6181
+ q.user = t.user, q.configType = Zn.FilterBookmark, q.layoutType = Ft.Desktop, q.systemResource = P, q.customName = s.value, q.data = {
6060
6182
  filter: x(o, l, !1),
6061
6183
  datatableHiddenColumns: u.value && t.datatableHiddenColumns ? t.datatableHiddenColumns : void 0,
6062
6184
  sortBy: f.value && l.value.sortBy ? l.value.sortBy : void 0
@@ -6066,7 +6188,7 @@ const ju = {
6066
6188
  {
6067
6189
  user: t.user,
6068
6190
  layoutType: Ft.Desktop,
6069
- systemResource: L
6191
+ systemResource: P
6070
6192
  },
6071
6193
  B
6072
6194
  );
@@ -6076,9 +6198,16 @@ const ju = {
6076
6198
  }
6077
6199
  q.position = K + 1;
6078
6200
  const ge = await w(q);
6079
- h.addOne(h.generateKey(Ft.Desktop, L), ge), a("onClose");
6201
+ h.addOne(
6202
+ h.generateKey(Ft.Desktop, P),
6203
+ ge
6204
+ ), a("onClose");
6080
6205
  } catch (K) {
6081
- if (ar(K) && mi(K, "error_field_not_unique", "cms.userAdminConfig.model.systemResource")) {
6206
+ if (ar(K) && mi(
6207
+ K,
6208
+ "error_field_not_unique",
6209
+ "cms.userAdminConfig.model.systemResource"
6210
+ )) {
6082
6211
  S("common.filter.bookmark.nameUniqueError");
6083
6212
  return;
6084
6213
  }
@@ -6126,7 +6255,7 @@ const ju = {
6126
6255
  {
6127
6256
  user: t.user,
6128
6257
  layoutType: Ft.Desktop,
6129
- systemResource: L
6258
+ systemResource: P
6130
6259
  },
6131
6260
  B,
6132
6261
  !0
@@ -6141,7 +6270,7 @@ const ju = {
6141
6270
  v.value = !1, i.value === "manage" && te();
6142
6271
  }), (q, K) => {
6143
6272
  const ge = Wt("ABtnTertiary"), Z = Wt("ABtnPrimary");
6144
- return P(), X(za, {
6273
+ return L(), X(za, {
6145
6274
  "model-value": !0,
6146
6275
  width: 500
6147
6276
  }, {
@@ -6179,11 +6308,11 @@ const ju = {
6179
6308
  ]),
6180
6309
  _: 1
6181
6310
  }, 8, ["modelValue"]),
6182
- i.value === "add" ? (P(), de("div", ju, [
6311
+ i.value === "add" ? (L(), de("div", ju, [
6183
6312
  O(Mt, {
6184
6313
  title: H($)("common.filter.bookmark.infoSave")
6185
6314
  }, null, 8, ["title"]),
6186
- v.value ? (P(), X(Mt, {
6315
+ v.value ? (L(), X(Mt, {
6187
6316
  key: 0,
6188
6317
  class: "text-error",
6189
6318
  title: H($)("common.filter.bookmark.errorMax")
@@ -6220,10 +6349,10 @@ const ju = {
6220
6349
  ]),
6221
6350
  _: 1
6222
6351
  })
6223
- ])) : i.value === "manage" ? (P(), de("div", qu, [
6224
- g.value ? (P(), de("div", zu, [
6352
+ ])) : i.value === "manage" ? (L(), de("div", qu, [
6353
+ g.value ? (L(), de("div", zu, [
6225
6354
  O(Xo, { indeterminate: "" })
6226
- ])) : (P(), X(Vu, {
6355
+ ])) : (L(), X(Vu, {
6227
6356
  key: 1,
6228
6357
  modelValue: T.value,
6229
6358
  "onUpdate:modelValue": K[7] || (K[7] = (ee) => T.value = ee),
@@ -6232,24 +6361,24 @@ const ju = {
6232
6361
  "permanent-buttons": "",
6233
6362
  onOnDelete: re,
6234
6363
  onOnEdit: Te
6235
- }, Lt({
6364
+ }, Pt({
6236
6365
  item: R(({ item: ee }) => [
6237
- b.value && b.value.id === ee.raw.id ? (P(), X(Co, {
6366
+ b.value && b.value.id === ee.raw.id ? (L(), X(Co, {
6238
6367
  key: 0,
6239
6368
  ref_key: "inputRef",
6240
6369
  ref: ve,
6241
6370
  modelValue: b.value.customName,
6242
6371
  "onUpdate:modelValue": K[5] || (K[5] = (le) => b.value.customName = le),
6243
6372
  "hide-details": "auto",
6244
- v: H(_)
6245
- }, null, 8, ["modelValue", "v"])) : (P(), de("div", Wu, fe(ee.raw.customName), 1))
6373
+ v: H(I)
6374
+ }, null, 8, ["modelValue", "v"])) : (L(), de("div", Wu, fe(ee.raw.customName), 1))
6246
6375
  ]),
6247
6376
  _: 2
6248
6377
  }, [
6249
6378
  H(G)(b.value) ? void 0 : {
6250
6379
  name: "item-buttons",
6251
6380
  fn: R(({ item: ee }) => [
6252
- b.value && b.value.id === ee.raw.id ? (P(), de("div", Ku, [
6381
+ b.value && b.value.id === ee.raw.id ? (L(), de("div", Ku, [
6253
6382
  O(Ne, {
6254
6383
  icon: "",
6255
6384
  size: "x-small",
@@ -6347,7 +6476,7 @@ const ju = {
6347
6476
  const n = Tt(e, "dialog"), t = (r) => {
6348
6477
  ma(r), n.value = !0;
6349
6478
  }, { t: a } = Re();
6350
- return (r, o) => (P(), de(qe, null, [
6479
+ return (r, o) => (L(), de(qe, null, [
6351
6480
  O(Ne, {
6352
6481
  class: Ze([e.buttonClass, "px-2"]),
6353
6482
  "data-cy": e.dataCy,
@@ -6373,7 +6502,7 @@ const ju = {
6373
6502
  ]),
6374
6503
  _: 1
6375
6504
  }, 8, ["class", "data-cy"]),
6376
- n.value ? (P(), X(Gu, {
6505
+ n.value ? (L(), X(Gu, {
6377
6506
  key: 0,
6378
6507
  client: e.client,
6379
6508
  system: e.system,
@@ -6433,22 +6562,22 @@ const ju = {
6433
6562
  return n({
6434
6563
  submit: c,
6435
6564
  reset: b
6436
- }), (p, A) => (P(), X(Wo, {
6565
+ }), (p, A) => (L(), X(Wo, {
6437
6566
  name: e.formName,
6438
6567
  onSubmit: ye(c, ["prevent"])
6439
6568
  }, {
6440
6569
  default: R(() => [
6441
6570
  Ee("div", Xu, [
6442
6571
  Se(p.$slots, "bookmarks", {}, () => [
6443
- O($t, { dense: "" }, {
6572
+ O($t, { density: "compact" }, {
6444
6573
  default: R(() => [
6445
- e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
6574
+ e.store && e.userId && H(he)(e.client) ? (L(), X(gt, { key: 0 }, {
6446
6575
  default: R(() => [
6447
6576
  Ee("div", Zu, [
6448
- s.value.system && s.value.subject && e.userId && H(he)(e.client) ? (P(), X(hr, {
6577
+ s.value.system && s.value.subject && e.userId && H(he)(e.client) ? (L(), X(hr, {
6449
6578
  key: 0,
6450
6579
  "datatable-hidden-columns": o.value,
6451
- "onUpdate:datatableHiddenColumns": A[0] || (A[0] = (I) => o.value = I),
6580
+ "onUpdate:datatableHiddenColumns": A[0] || (A[0] = (_) => o.value = _),
6452
6581
  client: e.client,
6453
6582
  system: s.value.system,
6454
6583
  subject: s.value.subject,
@@ -6466,19 +6595,19 @@ const ju = {
6466
6595
  Se(p.$slots, "detail", {}, () => [
6467
6596
  O($t, null, {
6468
6597
  default: R(() => [
6469
- (P(!0), de(qe, null, Ot(d.value, (I) => (P(), X(gt, {
6470
- key: I,
6471
- cols: H(l).fields[I].render.xs || 12,
6472
- sm: H(l).fields[I].render.sm || 12,
6473
- md: H(l).fields[I].render.md || 12,
6474
- lg: H(l).fields[I].render.lg || 12,
6475
- xl: H(l).fields[I].render.xl || 12
6598
+ (L(!0), de(qe, null, Ot(d.value, (_) => (L(), X(gt, {
6599
+ key: _,
6600
+ cols: H(l).fields[_].render.xs || 12,
6601
+ sm: H(l).fields[_].render.sm || 12,
6602
+ md: H(l).fields[_].render.md || 12,
6603
+ lg: H(l).fields[_].render.lg || 12,
6604
+ xl: H(l).fields[_].render.xl || 12
6476
6605
  }, {
6477
6606
  default: R(() => [
6478
- Se(p.$slots, H(fr)(I), {
6479
- itemConfig: H(l).fields[I]
6607
+ Se(p.$slots, H(fr)(_), {
6608
+ itemConfig: H(l).fields[_]
6480
6609
  }, () => [
6481
- O(mr, { name: I }, null, 8, ["name"])
6610
+ O(mr, { name: _ }, null, 8, ["name"])
6482
6611
  ])
6483
6612
  ]),
6484
6613
  _: 2
@@ -6488,11 +6617,11 @@ const ju = {
6488
6617
  })
6489
6618
  ])
6490
6619
  ]),
6491
- e.hideButtons ? ce("", !0) : (P(), de("div", Ju, [
6620
+ e.hideButtons ? ce("", !0) : (L(), de("div", Ju, [
6492
6621
  Se(p.$slots, "buttons", {}, () => [
6493
6622
  O(ir, { touched: m.value }, null, 8, ["touched"]),
6494
6623
  O(sr, { onReset: b }),
6495
- s.value.system && s.value.subject && e.userId && H(he)(e.client) ? (P(), X(Fr, {
6624
+ s.value.system && s.value.subject && e.userId && H(he)(e.client) ? (L(), X(Fr, {
6496
6625
  key: 0,
6497
6626
  client: e.client,
6498
6627
  user: e.userId,
@@ -6518,7 +6647,7 @@ const ju = {
6518
6647
  const t = n, a = N(!1), r = (l) => {
6519
6648
  ma(l), a.value = !a.value, t("advancedFilter");
6520
6649
  }, { t: o } = Re();
6521
- return (l, i) => (P(), X(Ne, {
6650
+ return (l, i) => (L(), X(Ne, {
6522
6651
  class: Ze(e.buttonClass),
6523
6652
  "data-cy": e.dataCy,
6524
6653
  icon: "",
@@ -6541,7 +6670,7 @@ const ju = {
6541
6670
  _: 1
6542
6671
  }, 8, ["class", "data-cy"]));
6543
6672
  }
6544
- }), ec = { class: "a-selected-filters__label text-caption" }, tc = /* @__PURE__ */ we({
6673
+ }), ec = { class: "a-selected-filters__label text-body-small" }, tc = /* @__PURE__ */ we({
6545
6674
  __name: "FiltersSelected",
6546
6675
  setup(e) {
6547
6676
  const n = J(Ke), t = J(tt), a = J(ot);
@@ -6560,16 +6689,16 @@ const ju = {
6560
6689
  }), { clearOneFilterSelected: i, isClearable: s } = ct(), u = (f, c) => {
6561
6690
  i(f, c, t, n, a), n.touched = !0;
6562
6691
  };
6563
- return (f, c) => (P(!0), de(qe, null, Ot(l.value, (g) => (P(), de("div", {
6692
+ return (f, c) => (L(!0), de(qe, null, Ot(l.value, (g) => (L(), de("div", {
6564
6693
  key: g.name,
6565
6694
  class: "a-selected-filters"
6566
6695
  }, [
6567
6696
  Ee("div", ec, fe(g.title) + ": ", 1),
6568
- (P(!0), de(qe, null, Ot(g.options, (v) => (P(), de("div", {
6697
+ (L(!0), de(qe, null, Ot(g.options, (v) => (L(), de("div", {
6569
6698
  key: v.value,
6570
6699
  class: "a-selected-filters__chips"
6571
6700
  }, [
6572
- H(s)(g.name, H(n)) ? (P(), X(Kt, {
6701
+ H(s)(g.name, H(n)) ? (L(), X(Kt, {
6573
6702
  key: 0,
6574
6703
  closable: "",
6575
6704
  size: "small",
@@ -6586,7 +6715,7 @@ const ju = {
6586
6715
  De(" " + fe(v.title), 1)
6587
6716
  ]),
6588
6717
  _: 2
6589
- }, 1032, ["onClick:close"])) : (P(), X(Kt, {
6718
+ }, 1032, ["onClick:close"])) : (L(), X(Kt, {
6590
6719
  key: 1,
6591
6720
  size: "small",
6592
6721
  class: "a-selected-filters__chip"
@@ -6647,39 +6776,39 @@ const ju = {
6647
6776
  });
6648
6777
  }, d = () => {
6649
6778
  l.value = !l.value;
6650
- }, p = Y(() => i.touched), A = Y(() => Object.entries(i.fields).filter(([, I]) => !I.render.skip).map(([I]) => I));
6779
+ }, p = Y(() => i.touched), A = Y(() => Object.entries(i.fields).filter(([, _]) => !_.render.skip).map(([_]) => _));
6651
6780
  return a.alwaysVisible && (l.value = !0), n({
6652
6781
  submit: g,
6653
6782
  reset: m
6654
- }), (I, _) => (P(), X(Wo, {
6783
+ }), (_, I) => (L(), X(Wo, {
6655
6784
  name: e.formName,
6656
6785
  onSubmit: ye(g, ["prevent"])
6657
6786
  }, {
6658
6787
  default: R(() => [
6659
- e.enableTop ? (P(), X($t, {
6788
+ e.enableTop ? (L(), X($t, {
6660
6789
  key: 0,
6661
6790
  dense: ""
6662
6791
  }, {
6663
6792
  default: R(() => [
6664
6793
  O(gt, null, {
6665
6794
  default: R(() => [
6666
- Se(I.$slots, "top")
6795
+ Se(_.$slots, "top")
6667
6796
  ]),
6668
6797
  _: 3
6669
6798
  })
6670
6799
  ]),
6671
6800
  _: 3
6672
6801
  })) : ce("", !0),
6673
- O($t, { dense: "" }, {
6802
+ O($t, { density: "compact" }, {
6674
6803
  default: R(() => [
6675
- e.store && e.userId && H(he)(e.client) ? (P(), X(gt, { key: 0 }, {
6804
+ e.store && e.userId && H(he)(e.client) ? (L(), X(gt, { key: 0 }, {
6676
6805
  default: R(() => [
6677
- Se(I.$slots, "bookmarks", {}, () => [
6806
+ Se(_.$slots, "bookmarks", {}, () => [
6678
6807
  Ee("div", nc, [
6679
- u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(hr, {
6808
+ u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (L(), X(hr, {
6680
6809
  key: 0,
6681
6810
  "datatable-hidden-columns": o.value,
6682
- "onUpdate:datatableHiddenColumns": _[0] || (_[0] = (h) => o.value = h),
6811
+ "onUpdate:datatableHiddenColumns": I[0] || (I[0] = (h) => o.value = h),
6683
6812
  client: e.client,
6684
6813
  system: u.value.system,
6685
6814
  subject: u.value.subject,
@@ -6694,12 +6823,12 @@ const ju = {
6694
6823
  ]),
6695
6824
  _: 3
6696
6825
  }),
6697
- e.alwaysVisible ? ce("", !0) : (P(), X($t, {
6826
+ e.alwaysVisible ? ce("", !0) : (L(), X($t, {
6698
6827
  key: 1,
6699
6828
  dense: ""
6700
6829
  }, {
6701
6830
  default: R(() => [
6702
- e.hideMore ? ce("", !0) : (P(), X(gt, {
6831
+ e.hideMore ? ce("", !0) : (L(), X(gt, {
6703
6832
  key: 0,
6704
6833
  cols: "auto"
6705
6834
  }, {
@@ -6715,23 +6844,23 @@ const ju = {
6715
6844
  default: R(() => [
6716
6845
  Ee("div", ac, [
6717
6846
  Ee("div", oc, [
6718
- Se(I.$slots, "search")
6847
+ Se(_.$slots, "search")
6719
6848
  ]),
6720
6849
  O(tc)
6721
6850
  ])
6722
6851
  ]),
6723
6852
  _: 3
6724
6853
  }),
6725
- e.hideButtons ? ce("", !0) : (P(), X(gt, {
6854
+ e.hideButtons ? ce("", !0) : (L(), X(gt, {
6726
6855
  key: 1,
6727
6856
  class: "text-right",
6728
6857
  cols: "auto"
6729
6858
  }, {
6730
6859
  default: R(() => [
6731
- Se(I.$slots, "buttons", {}, () => [
6860
+ Se(_.$slots, "buttons", {}, () => [
6732
6861
  O(ir, { touched: p.value }, null, 8, ["touched"]),
6733
6862
  O(sr, { onReset: m }),
6734
- u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (P(), X(Fr, {
6863
+ u.value.system && u.value.subject && e.userId && H(he)(e.client) ? (L(), X(Fr, {
6735
6864
  key: 0,
6736
6865
  client: e.client,
6737
6866
  user: e.userId,
@@ -6746,16 +6875,16 @@ const ju = {
6746
6875
  ]),
6747
6876
  _: 3
6748
6877
  })),
6749
- e.hideMore ? ce("", !0) : (P(), de("div", rc, [
6750
- (P(), X(Ho(e.alwaysVisible ? "div" : "VSlideYTransition"), null, {
6878
+ e.hideMore ? ce("", !0) : (L(), de("div", rc, [
6879
+ (L(), X(Ho(e.alwaysVisible ? "div" : "VSlideYTransition"), null, {
6751
6880
  default: R(() => [
6752
6881
  wn(Ee("div", {
6753
6882
  class: Ze({ "mt-6 pa-4 system-border-a": !e.alwaysVisible })
6754
6883
  }, [
6755
- Se(I.$slots, "detail", {}, () => [
6884
+ Se(_.$slots, "detail", {}, () => [
6756
6885
  O($t, null, {
6757
6886
  default: R(() => [
6758
- (P(!0), de(qe, null, Ot(A.value, (h) => (P(), X(gt, {
6887
+ (L(!0), de(qe, null, Ot(A.value, (h) => (L(), X(gt, {
6759
6888
  key: h,
6760
6889
  cols: H(i).fields[h].render.xs || 12,
6761
6890
  sm: H(i).fields[h].render.sm || 6,
@@ -6764,7 +6893,7 @@ const ju = {
6764
6893
  xl: H(i).fields[h].render.xl || 2
6765
6894
  }, {
6766
6895
  default: R(() => [
6767
- Se(I.$slots, H(fr)(h), {
6896
+ Se(_.$slots, H(fr)(h), {
6768
6897
  itemConfig: H(i).fields[h]
6769
6898
  }, () => [
6770
6899
  O(mr, { name: h }, null, 8, ["name"])
@@ -6788,7 +6917,7 @@ const ju = {
6788
6917
  }, 8, ["name"]));
6789
6918
  }
6790
6919
  }), Vd = (e, n, t = {}, a, r, o = {}) => new Promise((l, i) => {
6791
- e().delete(Mn(n, t), o).then((s) => $n(s.status) ? s.data ? l(s.data) : s.status === Qt ? l(null) : i(new ut()) : i(new nn(s.status))).catch((s) => Tn(s) ? i(new en(s, s.config?.url)) : An(s) ? i(new tn(s, a, r, s)) : In(s) ? i(new on(s, a, r, s)) : xn(s) ? i(new an(s, s)) : i(new ut(s)));
6920
+ e().delete(Mn(n, t), o).then((s) => $n(s.status) ? s.data ? l(s.data) : s.status === Qt ? l(null) : i(new ut()) : i(new nn(s.status))).catch((s) => Tn(s) ? i(new en(s, s.config?.url)) : An(s) ? i(new tn(s, a, r, s)) : _n(s) ? i(new on(s, a, r, s)) : xn(s) ? i(new an(s, s)) : i(new ut(s)));
6792
6921
  }), lc = {
6793
6922
  key: 0,
6794
6923
  class: "font-italic pl-1"
@@ -6845,19 +6974,20 @@ const ju = {
6845
6974
  set(z) {
6846
6975
  return ue(z) ? $e(z) : z;
6847
6976
  }
6848
- }), c = Tt(e, "selected", {
6849
- set(z) {
6850
- return ue(z) ? $e(z) : z;
6977
+ }), c = Tt(
6978
+ e,
6979
+ "selected",
6980
+ {
6981
+ set(z) {
6982
+ return ue(z) ? $e(z) : z;
6983
+ }
6851
6984
  }
6852
- }), { collabOptions: g } = Jt(), v = N((z) => {
6985
+ ), { collabOptions: g } = Jt(), v = N((z) => {
6853
6986
  }), T = N((z) => {
6854
6987
  }), b = N(() => {
6855
6988
  }), m = N(null);
6856
6989
  if (g.value.enabled && he(a.collab)) {
6857
- const { releaseCollabFieldLock: z, changeCollabFieldData: se, acquireCollabFieldLock: Ce, lockedByUser: be } = ca(
6858
- a.collab.room,
6859
- a.collab.field
6860
- );
6990
+ const { releaseCollabFieldLock: z, changeCollabFieldData: se, acquireCollabFieldLock: Ce, lockedByUser: be } = ca(a.collab.room, a.collab.field);
6861
6991
  v.value = z, T.value = se, b.value = Ce, Ae(
6862
6992
  be,
6863
6993
  (Ut) => {
@@ -6866,14 +6996,17 @@ const ju = {
6866
6996
  { immediate: !0 }
6867
6997
  );
6868
6998
  }
6869
- const d = N(""), p = N(!1), A = N(null), I = N(0), { t: _ } = Re(), h = J(Ga, void 0), w = J(Xa, void 0), B = () => {
6999
+ const d = N(""), p = N(!1), A = N(null), _ = N(0), { t: I } = Re(), h = J(Ga, void 0), w = J(Xa, void 0), B = () => {
6870
7000
  p.value = !1, r("blur", f.value), a.v?.$touch(), v.value(f.value);
6871
7001
  }, D = Y(() => he(a.errorMessage) ? [a.errorMessage] : a.v?.$errors?.length ? a.v.$errors.map((z) => z.$message) : []), F = Y(() => {
6872
7002
  if (he(a.label)) return a.label;
6873
7003
  if (E(h) || E(w) || E(a.v?.$path)) return "";
6874
7004
  const { end: z } = Sn(a.v?.$path, ".");
6875
- return _(h + "." + w + ".model." + z);
6876
- }), U = Y(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), $ = Y(() => he(a.disabled) ? a.disabled : !!m.value), { pagination: k } = kn(G(u) ? null : u.key, u?.order), M = N([]), S = N([]), y = N(!0), C = N(!1), x = Y(() => {
7005
+ return I(h + "." + w + ".model." + z);
7006
+ }), U = Y(() => he(a.required) ? a.required : a.v?.required && a.v?.required.$params.type === "required"), $ = Y(() => he(a.disabled) ? a.disabled : !!m.value), { pagination: k } = kn(
7007
+ G(u) ? null : u.key,
7008
+ u?.order
7009
+ ), M = N([]), S = N([]), y = N(!0), C = N(!1), x = Y(() => {
6877
7010
  const z = /* @__PURE__ */ new Map(), se = (Ce) => {
6878
7011
  Ce.forEach((be) => {
6879
7012
  z.set(be.value, {
@@ -6884,55 +7017,55 @@ const ju = {
6884
7017
  });
6885
7018
  };
6886
7019
  return se(S.value), se(M.value), Array.from(z.values());
6887
- }), L = N(!1), j = Y(() => L.value ? !0 : a.loading), Q = (z) => {
7020
+ }), P = N(!1), j = Y(() => P.value ? !0 : a.loading), Q = (z) => {
6888
7021
  S.value = [], c.value = ue(z) ? [] : null, A.value = ue(z) ? [] : null;
6889
7022
  }, re = (z) => {
6890
7023
  const se = (Ce) => x.value.find((be) => be.value === Ce) ?? { title: `${Ce}`, value: Ce };
6891
7024
  return ue(z) ? z.map(se) : se(z);
6892
7025
  }, ve = async (z) => {
6893
- L.value = !0;
7026
+ P.value = !0;
6894
7027
  try {
6895
7028
  const se = ue(z) ? z : [z];
6896
7029
  S.value = await a.fetchItemsByIds(se);
6897
7030
  const Ce = re(z);
6898
7031
  return c.value = Ce, A.value = Ce, S.value;
6899
7032
  } finally {
6900
- L.value = !1;
7033
+ P.value = !1;
6901
7034
  }
6902
7035
  }, Te = async (z, se = !1) => {
6903
7036
  const Ce = ue(z) ? z : [z];
6904
- L.value = !0;
7037
+ P.value = !0;
6905
7038
  try {
6906
7039
  const be = await a.fetchItemsByIds(Ce);
6907
7040
  if (ue(be) && be.length > 0) {
6908
7041
  if (S.value = be, a.multiple) {
6909
7042
  const Ut = be.map((Br) => Br.value);
6910
- return f.value = Ut, se && await te("force", Ut), L.value = !1, !0;
7043
+ return f.value = Ut, se && await te("force", Ut), P.value = !1, !0;
6911
7044
  }
6912
- return f.value = be[0].value, se && await te("force", be[0].value), L.value = !1, !0;
7045
+ return f.value = be[0].value, se && await te("force", be[0].value), P.value = !1, !0;
6913
7046
  }
6914
- return L.value = !1, !1;
7047
+ return P.value = !1, !1;
6915
7048
  } catch (be) {
6916
7049
  ke(be);
6917
7050
  }
6918
- }, { showErrorsDefault: ke } = _n(), W = async (z, se) => {
6919
- L.value = !0, l[s] = z;
7051
+ }, { showErrorsDefault: ke } = In(), W = async (z, se) => {
7052
+ P.value = !0, l[s] = z;
6920
7053
  try {
6921
7054
  const Ce = await a.fetchItems(k, l, o);
6922
- se === I.value && (M.value = Ce);
7055
+ se === _.value && (M.value = Ce);
6923
7056
  } catch (Ce) {
6924
7057
  ke(Ce);
6925
7058
  } finally {
6926
- L.value = !1;
7059
+ P.value = !1;
6927
7060
  }
6928
7061
  }, te = async (z, se) => {
6929
- if (!L.value && !(z !== "force" && (a.prefetch === !1 || a.prefetch !== z || C.value))) {
6930
- L.value = !0;
7062
+ if (!P.value && !(z !== "force" && (a.prefetch === !1 || a.prefetch !== z || C.value))) {
7063
+ P.value = !0;
6931
7064
  try {
6932
7065
  const Ce = await a.fetchItems(k, l, o);
6933
- I.value === 0 && (M.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(se) || E(se) || ue(se) && se.length === 0) && (f.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
7066
+ _.value === 0 && (M.value = Ce, !a.disableAutoSingleSelect && z === "mounted" && Ce.length === 1 && (G(se) || E(se) || ue(se) && se.length === 0) && (f.value = a.multiple ? [Ce[0].value] : Ce[0].value)), C.value = !0;
6934
7067
  } finally {
6935
- L.value = !1;
7068
+ P.value = !1;
6936
7069
  }
6937
7070
  }
6938
7071
  }, q = async () => {
@@ -6970,14 +7103,14 @@ const ju = {
6970
7103
  M.value = [];
6971
7104
  return;
6972
7105
  }
6973
- I.value++, W(z, I.value), r("searchChangeDebounced", z);
7106
+ _.value++, W(z, _.value), r("searchChangeDebounced", z);
6974
7107
  }
6975
7108
  },
6976
7109
  { debounce: sc }
6977
7110
  ), Ae(d, (z, se) => {
6978
7111
  z !== se && r("searchChange", z);
6979
7112
  });
6980
- const _e = (z) => {
7113
+ const Ie = (z) => {
6981
7114
  const se = $e(z);
6982
7115
  if (c.value = se, G(se) || E(se)) {
6983
7116
  f.value = null;
@@ -6989,10 +7122,10 @@ const ju = {
6989
7122
  }
6990
7123
  f.value = se.value;
6991
7124
  }, Nt = Y(() => {
6992
- if (L.value)
7125
+ if (P.value)
6993
7126
  return "$vuetify.loading";
6994
7127
  if (M.value.length === 0 && d.value.length < a.minSearchChars)
6995
- return E(a.minSearchText) ? _("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
7128
+ return E(a.minSearchText) ? I("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
6996
7129
  });
6997
7130
  return Ae(
6998
7131
  f,
@@ -7008,7 +7141,7 @@ const ju = {
7008
7141
  { immediate: !0 }
7009
7142
  ), n({
7010
7143
  tryLoadModelValue: Te
7011
- }), (z, se) => (P(), X(ra, {
7144
+ }), (z, se) => (L(), X(ra, {
7012
7145
  "model-value": A.value,
7013
7146
  items: x.value,
7014
7147
  "no-filter": "",
@@ -7026,19 +7159,19 @@ const ju = {
7026
7159
  "hide-selected": e.closableChips,
7027
7160
  "closable-chips": e.closableChips && !j.value && !$.value && !e.readonly,
7028
7161
  "onUpdate:search": Z,
7029
- "onUpdate:modelValue": _e,
7162
+ "onUpdate:modelValue": Ie,
7030
7163
  onBlur: B,
7031
7164
  onFocus: q,
7032
7165
  onMouseenter: K,
7033
7166
  "onClick:clear": ee
7034
- }, Lt({
7035
- item: R(({ props: Ce, item: be }) => [
7167
+ }, Pt({
7168
+ item: R(({ props: Ce, internalItem: be }) => [
7036
7169
  O(Rt, st(Ce, {
7037
7170
  title: be.raw.title,
7038
7171
  subtitle: be.raw.subtitle
7039
7172
  }), null, 16, ["title", "subtitle"])
7040
7173
  ]),
7041
- chip: R(({ props: Ce, item: be }) => [
7174
+ chip: R(({ props: Ce, internalItem: be }) => [
7042
7175
  O(Kt, {
7043
7176
  closable: Ce.closable,
7044
7177
  size: "small",
@@ -7048,17 +7181,17 @@ const ju = {
7048
7181
  }, {
7049
7182
  default: R(() => [
7050
7183
  De(fe(be.raw.title) + " ", 1),
7051
- be.raw.subtitle ? (P(), de("span", lc, " (" + fe(be.raw.subtitle) + ") ", 1)) : ce("", !0)
7184
+ be.raw.subtitle ? (L(), de("span", lc, " (" + fe(be.raw.subtitle) + ") ", 1)) : ce("", !0)
7052
7185
  ]),
7053
7186
  _: 2
7054
7187
  }, 1032, ["closable", "text", "disabled", "onClick:close"])
7055
7188
  ]),
7056
7189
  label: R(() => [
7057
- e.hideLabel ? ce("", !0) : (P(), de("span", {
7190
+ e.hideLabel ? ce("", !0) : (L(), de("span", {
7058
7191
  key: U.value + ""
7059
7192
  }, [
7060
7193
  De(fe(F.value) + " ", 1),
7061
- U.value ? (P(), de("span", ic)) : ce("", !0)
7194
+ U.value ? (L(), de("span", ic)) : ce("", !0)
7062
7195
  ]))
7063
7196
  ]),
7064
7197
  _: 2
@@ -7067,7 +7200,7 @@ const ju = {
7067
7200
  name: "append-inner",
7068
7201
  fn: R(() => [
7069
7202
  Se(z.$slots, "locked", { userId: m.value }, () => [
7070
- e.collab ? (P(), X(ua, {
7203
+ e.collab ? (L(), X(ua, {
7071
7204
  key: 0,
7072
7205
  id: m.value,
7073
7206
  users: e.collab.cachedUsers
@@ -7087,7 +7220,7 @@ const ju = {
7087
7220
  }
7088
7221
  });
7089
7222
  export {
7090
- Ll as $,
7223
+ Pl as $,
7091
7224
  ma as A,
7092
7225
  ir as B,
7093
7226
  cn as C,
@@ -7096,7 +7229,7 @@ export {
7096
7229
  Fd as F,
7097
7230
  ur as G,
7098
7231
  Dn as H,
7099
- Pc as I,
7232
+ Lc as I,
7100
7233
  ql as J,
7101
7234
  Ri as K,
7102
7235
  Yl as L,
@@ -7128,10 +7261,10 @@ export {
7128
7261
  li as a8,
7129
7262
  Tn as a9,
7130
7263
  Rd as aA,
7131
- Ld as aB,
7264
+ Pd as aB,
7132
7265
  Bs as aC,
7133
7266
  Fs as aD,
7134
- Pd as aE,
7267
+ Ld as aE,
7135
7268
  Ke as aF,
7136
7269
  tt as aG,
7137
7270
  cr as aH,
@@ -7166,9 +7299,9 @@ export {
7166
7299
  $n as aj,
7167
7300
  nn as ak,
7168
7301
  Qt as al,
7169
- In as am,
7302
+ _n as am,
7170
7303
  on as an,
7171
- Is as ao,
7304
+ _s as ao,
7172
7305
  xs as ap,
7173
7306
  Bd as aq,
7174
7307
  kn as ar,
@@ -7194,9 +7327,9 @@ export {
7194
7327
  On as b9,
7195
7328
  Ad as bA,
7196
7329
  xd as bB,
7197
- Id as bC,
7330
+ _d as bC,
7198
7331
  Nd as bD,
7199
- Ls as bE,
7332
+ Ps as bE,
7200
7333
  bd as bF,
7201
7334
  yd as bG,
7202
7335
  ui as bH,
@@ -7215,17 +7348,17 @@ export {
7215
7348
  eo as bU,
7216
7349
  to as bV,
7217
7350
  As as bW,
7218
- _s as bX,
7351
+ Is as bX,
7219
7352
  zl as bY,
7220
7353
  Ns as bZ,
7221
7354
  Us as b_,
7222
7355
  ho as ba,
7223
- Li as bb,
7356
+ Pi as bb,
7224
7357
  Hd as bc,
7225
7358
  xo as bd,
7226
7359
  Vu as be,
7227
7360
  dd as bf,
7228
- _d as bg,
7361
+ Id as bg,
7229
7362
  $d as bh,
7230
7363
  Vc as bi,
7231
7364
  jc as bj,
@@ -7262,7 +7395,7 @@ export {
7262
7395
  Ct as j,
7263
7396
  fd as k,
7264
7397
  Za as l,
7265
- _n as m,
7398
+ In as m,
7266
7399
  dn as n,
7267
7400
  Mt as o,
7268
7401
  ue as p,
@@ -7277,4 +7410,4 @@ export {
7277
7410
  Zo as y,
7278
7411
  bl as z
7279
7412
  };
7280
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-DWMjveFQ.mjs.map
7413
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-BmclBDsI.mjs.map