@anzusystems/common-admin 1.47.0-beta.dev-1777971795 → 1.47.0-beta.dev-1777971797

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,6 +1,6 @@
1
- import { defineComponent as Ee, openBlock as I, createBlock as W, withCtx as D, createVNode as S, createElementBlock as ne, normalizeClass as Je, toDisplayString as Q, createCommentVNode as re, renderSlot as he, createElementVNode as ye, isProxy as Jr, toRaw as Ba, isRef as Oa, unref as _, computed as P, Fragment as qe, normalizeStyle as Qr, createTextVNode as ie, shallowRef as ka, watch as Ae, ref as N, reactive as Gt, inject as ae, createSlots as Xt, withDirectives as Vn, onMounted as Mo, withModifiers as fe, onUnmounted as es, TransitionGroup as ts, mergeProps as Ue, isVNode as ns, useModel as it, useTemplateRef as At, nextTick as je, withKeys as Da, vModelText as sl, mergeModels as Qe, getCurrentInstance as zn, resolveComponent as rn, resolveDynamicComponent as Ul, renderList as Vt, toValue as il, toRef as as, onBeforeUnmount as Io, provide as sn, vShow as os, useSlots as ls, shallowReactive as rs, normalizeProps as ul } from "vue";
2
- import { useEventBus as ct, tryOnBeforeUnmount as ss, watchDebounced as $o, useResizeObserver as is, watchThrottled as us, defaultDocument as cs, unrefElement as cl, tryOnMounted as ds, tryOnScopeDispose as fs, useElementSize as ms } from "@vueuse/core";
3
- import { useI18n as Oe, createI18n as vs } from "vue-i18n";
1
+ import { defineComponent as Ee, openBlock as I, createBlock as W, withCtx as D, createVNode as S, createElementBlock as ne, normalizeClass as Je, toDisplayString as Q, createCommentVNode as re, renderSlot as he, createElementVNode as ye, isProxy as Qr, toRaw as Ba, isRef as Oa, unref as _, computed as P, Fragment as qe, normalizeStyle as es, createTextVNode as ie, shallowRef as ka, watch as xe, ref as N, reactive as Gt, inject as ae, createSlots as Xt, withDirectives as Vn, onMounted as Mo, withModifiers as fe, onUnmounted as ts, TransitionGroup as ns, mergeProps as Ue, isVNode as as, useModel as it, useTemplateRef as At, nextTick as je, withKeys as Da, vModelText as sl, mergeModels as Qe, getCurrentInstance as zn, resolveComponent as rn, resolveDynamicComponent as Ul, renderList as Vt, toValue as il, toRef as os, onBeforeUnmount as Io, provide as sn, vShow as ls, useSlots as rs, shallowReactive as ss, normalizeProps as ul } from "vue";
2
+ import { useEventBus as ct, tryOnBeforeUnmount as is, watchDebounced as $o, useResizeObserver as us, watchThrottled as cs, defaultDocument as ds, unrefElement as cl, tryOnMounted as fs, tryOnScopeDispose as ms, useElementSize as vs } from "@vueuse/core";
3
+ import { useI18n as Oe, createI18n as ps } from "vue-i18n";
4
4
  import { VAutocomplete as Ra } from "vuetify/components/VAutocomplete";
5
5
  import { VChip as un } from "vuetify/components/VChip";
6
6
  import { VListItem as st, VList as Ea, VListItemTitle as zt } from "vuetify/components/VList";
@@ -8,28 +8,28 @@ import { VCard as fn, VCardText as Pa, VCardActions as jn, VCardTitle as Yl } fr
8
8
  import { VDialog as qn } from "vuetify/components/VDialog";
9
9
  import { VRow as Kt, VCol as Tt, VSpacer as mn } from "vuetify/components/VGrid";
10
10
  import { VSelect as Hl } from "vuetify/components/VSelect";
11
- import { VTextarea as ps } from "vuetify/components/VTextarea";
11
+ import { VTextarea as hs } from "vuetify/components/VTextarea";
12
12
  import { VForm as zl } from "vuetify/components/VForm";
13
- import { VBtn as Te } from "vuetify/components/VBtn";
13
+ import { VBtn as Ae } from "vuetify/components/VBtn";
14
14
  import { VIcon as we } from "vuetify/components/VIcon";
15
15
  import { VTooltip as Ze } from "vuetify/components/VTooltip";
16
16
  import { VTextField as Kn } from "vuetify/components/VTextField";
17
17
  import xa from "@vuelidate/core";
18
- import { createI18nMessage as dt, between as hs, email as gs, maxLength as bs, maxValue as ys, minLength as Cs, minValue as ws, numeric as Ss, required as ks, requiredIf as Ds, helpers as jl, url as Es } from "@vuelidate/validators";
19
- import { VDatePicker as xs } from "vuetify/components/VDatePicker";
18
+ import { createI18nMessage as dt, between as gs, email as bs, maxLength as ys, maxValue as Cs, minLength as ws, minValue as Ss, numeric as ks, required as Ds, requiredIf as Es, helpers as jl, url as xs } from "@vuelidate/validators";
19
+ import { VDatePicker as Ts } from "vuetify/components/VDatePicker";
20
20
  import { VMenu as Nn } from "vuetify/components/VMenu";
21
21
  import { Tooltip as ql } from "vuetify/directives";
22
- import { VToolbar as Ts, VToolbarTitle as As } from "vuetify/components/VToolbar";
23
- import { VSwitch as Ms } from "vuetify/components/VSwitch";
24
- import { defineStore as Is } from "pinia";
22
+ import { VToolbar as As, VToolbarTitle as Ms } from "vuetify/components/VToolbar";
23
+ import { VSwitch as Is } from "vuetify/components/VSwitch";
24
+ import { defineStore as $s } from "pinia";
25
25
  import Zt from "axios";
26
26
  import { VProgressCircular as Fo } from "vuetify/components/VProgressCircular";
27
- import { VTabs as $s, VTab as dl } from "vuetify/components/VTabs";
28
- import { useDisplay as Fs } from "vuetify";
27
+ import { VTabs as Fs, VTab as dl } from "vuetify/components/VTabs";
28
+ import { useDisplay as _s } from "vuetify";
29
29
  import { VAlert as Kl } from "vuetify/components/VAlert";
30
- import { VAvatar as _s } from "vuetify/components/VAvatar";
31
- import { VBadge as Bs } from "vuetify/components/VBadge";
32
- const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
30
+ import { VAvatar as Bs } from "vuetify/components/VAvatar";
31
+ import { VBadge as Os } from "vuetify/components/VBadge";
32
+ const Rs = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
33
33
  __name: "ARow",
34
34
  props: {
35
35
  title: { default: "" },
@@ -47,7 +47,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
47
47
  class: Je(e.titleClass)
48
48
  }, Q(e.title), 3)) : re("", !0),
49
49
  he(n.$slots, "default", {}, () => [
50
- ye("span", Os, Q(e.value), 1)
50
+ ye("span", Rs, Q(e.value), 1)
51
51
  ])
52
52
  ]),
53
53
  _: 3
@@ -67,7 +67,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
67
67
  }, Wn = (e) => typeof e == "object" && !Se(e) && !te(e), _n = (e) => Wn(e) ? Object.keys(e).length === 0 : !1, Co = (e) => Se(e) && e.length === 0, Wl = (e) => te(e) || A(e) || e === "" || e === 0 || Co(e) || _n(e), Be = (e) => {
68
68
  if (typeof structuredClone == "function")
69
69
  try {
70
- return Jr(e) ? structuredClone(Ba(e)) : Oa(e) ? structuredClone(_(e)) : structuredClone(e);
70
+ return Qr(e) ? structuredClone(Ba(e)) : Oa(e) ? structuredClone(_(e)) : structuredClone(e);
71
71
  } catch {
72
72
  return JSON.parse(JSON.stringify(e));
73
73
  }
@@ -103,7 +103,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
103
103
  start: e.slice(0, t),
104
104
  end: e.slice(t + n.length)
105
105
  };
106
- }, om = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), lm = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), rm = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, Rs = (e, n) => {
106
+ }, om = (e) => e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").replace(/&/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), lm = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), rm = (e, n = 80) => e.length > n ? e.substring(1, n) + "..." : e, Ps = (e, n) => {
107
107
  if (e.indexOf(":") === -1) return e;
108
108
  const t = [], [a, l] = e.split("?");
109
109
  return a.split("/").forEach((s, r) => {
@@ -136,7 +136,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
136
136
  return o.length > 0 ? o : n.user.email.slice(0, 2);
137
137
  });
138
138
  return (o, s) => (I(), ne(qe, null, [
139
- S(_s, {
139
+ S(Bs, {
140
140
  color: t.value,
141
141
  class: Je(["text-uppercase", e.containerClass]),
142
142
  size: e.size
@@ -144,7 +144,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
144
144
  default: D(() => [
145
145
  ye("div", {
146
146
  class: "d-inline-flex text-white font-weight-light",
147
- style: Qr({ fontSize: a.value })
147
+ style: es({ fontSize: a.value })
148
148
  }, Q(l.value), 5),
149
149
  e.tooltip ? (I(), W(Ze, {
150
150
  key: 0,
@@ -161,7 +161,7 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
161
161
  s[0] || (s[0] = ye("div", null, null, -1))
162
162
  ], 64));
163
163
  }
164
- }), Ps = { class: "d-inline-flex" }, Ls = { key: 0 }, La = /* @__PURE__ */ Ee({
164
+ }), Ls = { class: "d-inline-flex" }, Vs = { key: 0 }, La = /* @__PURE__ */ Ee({
165
165
  __name: "ACollabLockedByUser",
166
166
  props: {
167
167
  id: {},
@@ -177,15 +177,15 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
177
177
  if (n.isModerator && (i = o("common.collab.moderator") + ": "), s.value)
178
178
  return s.value.person.fullName.length ? i + s.value.person.fullName : i + s.value.email.split("@")[0];
179
179
  });
180
- return Ae(
180
+ return xe(
181
181
  s,
182
182
  async (i) => {
183
183
  a.value || A(i) || !i._loaded || (t.value = i, a.value = !0);
184
184
  },
185
185
  { immediate: !0 }
186
- ), (i, u) => (I(), ne("div", Ps, [
187
- _(te)(e.id) || _(A)(e.id) ? (I(), ne("span", Ls)) : a.value ? (I(), ne(qe, { key: 1 }, [
188
- e.isModerator ? (I(), W(Bs, {
186
+ ), (i, u) => (I(), ne("div", Ls, [
187
+ _(te)(e.id) || _(A)(e.id) ? (I(), ne("span", Vs)) : a.value ? (I(), ne(qe, { key: 1 }, [
188
+ e.isModerator ? (I(), W(Os, {
189
189
  key: 0,
190
190
  location: "top right",
191
191
  color: "white",
@@ -225,54 +225,54 @@ const Os = { class: "text-high-emphasis" }, qt = /* @__PURE__ */ Ee({
225
225
  }))
226
226
  ]));
227
227
  }
228
- }), Vs = /* @__PURE__ */ Symbol(
228
+ }), Ns = /* @__PURE__ */ Symbol(
229
229
  "anzu:collabRoomDataChanged"
230
- ), Ns = /* @__PURE__ */ Symbol("anzu:collabReconnect"), Us = /* @__PURE__ */ Symbol("anzu:collabStarting"), Ys = /* @__PURE__ */ Symbol("anzu:collabGatheringBufferData"), Hs = /* @__PURE__ */ Symbol("anzu:collabApprovedJoinRequest"), zs = /* @__PURE__ */ Symbol("anzu:collabRejectedJoinRequest"), js = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), qs = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), Ks = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Ws = /* @__PURE__ */ Symbol("anzu:collabRequestToTakeModeration"), Gs = /* @__PURE__ */ Symbol(
230
+ ), Us = /* @__PURE__ */ Symbol("anzu:collabReconnect"), Ys = /* @__PURE__ */ Symbol("anzu:collabStarting"), Hs = /* @__PURE__ */ Symbol("anzu:collabGatheringBufferData"), zs = /* @__PURE__ */ Symbol("anzu:collabApprovedJoinRequest"), js = /* @__PURE__ */ Symbol("anzu:collabRejectedJoinRequest"), qs = /* @__PURE__ */ Symbol("anzu:collabJoinRequest"), Ks = /* @__PURE__ */ Symbol("anzu:collabApprovedRequestToTakeModeration"), Ws = /* @__PURE__ */ Symbol("anzu:collabRejectedRequestToTakeModeration"), Gs = /* @__PURE__ */ Symbol("anzu:collabRequestToTakeModeration"), Xs = /* @__PURE__ */ Symbol(
231
231
  "anzu:collabKickedFromRoom"
232
- ), Xs = /* @__PURE__ */ Symbol("anzu:collabPurgeRoom");
233
- function Zs() {
232
+ ), Zs = /* @__PURE__ */ Symbol("anzu:collabPurgeRoom");
233
+ function Js() {
234
234
  return ct(
235
- Vs
235
+ Ns
236
236
  );
237
237
  }
238
238
  function fm() {
239
- return ct(Ns);
239
+ return ct(Us);
240
240
  }
241
241
  function mm() {
242
242
  return ct(
243
- Us
243
+ Ys
244
244
  );
245
245
  }
246
246
  function Jl() {
247
- return ct(Ys);
247
+ return ct(Hs);
248
248
  }
249
249
  function vm() {
250
- return ct(Hs);
250
+ return ct(zs);
251
251
  }
252
252
  function pm() {
253
- return ct(zs);
253
+ return ct(js);
254
254
  }
255
255
  function hm() {
256
- return ct(js);
256
+ return ct(qs);
257
257
  }
258
258
  function gm() {
259
259
  return ct(
260
- qs
260
+ Ks
261
261
  );
262
262
  }
263
263
  function bm() {
264
264
  return ct(
265
- Ks
265
+ Ws
266
266
  );
267
267
  }
268
268
  function ym() {
269
- return ct(Ws);
269
+ return ct(Gs);
270
270
  }
271
271
  function Cm() {
272
- return ct(Gs);
272
+ return ct(Xs);
273
273
  }
274
274
  function wm() {
275
- return ct(Xs);
275
+ return ct(Zs);
276
276
  }
277
277
  const Tn = {
278
278
  Acquire: "acquire",
@@ -283,24 +283,24 @@ const Tn = {
283
283
  }, ca = (e, n) => ({
284
284
  type: e,
285
285
  status: n
286
- }), Js = /* @__PURE__ */ Symbol(
286
+ }), Qs = /* @__PURE__ */ Symbol(
287
287
  "anzu:collabFieldLockStatus"
288
288
  );
289
- function Qs() {
289
+ function ei() {
290
290
  return ct(
291
- Js
291
+ Qs
292
292
  );
293
293
  }
294
294
  const to = {
295
295
  Inactive: "inactive",
296
296
  Active: "active"
297
- }, ei = {
297
+ }, ti = {
298
298
  Ok: "ok",
299
299
  Occupied: "occupied",
300
300
  Failed: "failed"
301
301
  };
302
302
  function Sm(e) {
303
- return e.status === ei.Ok;
303
+ return e.status === ti.Ok;
304
304
  }
305
305
  const Ql = {
306
306
  Ok: "ok",
@@ -338,17 +338,17 @@ function vn() {
338
338
  collabOptions: wo
339
339
  };
340
340
  }
341
- const pl = N(!0), ti = N(), ni = Gt(/* @__PURE__ */ new Map()), ai = Gt(/* @__PURE__ */ new Map()), no = Gt(
341
+ const pl = N(!0), ni = N(), ai = Gt(/* @__PURE__ */ new Map()), oi = Gt(/* @__PURE__ */ new Map()), no = Gt(
342
342
  /* @__PURE__ */ new Map()
343
343
  );
344
- function oi() {
344
+ function li() {
345
345
  const { collabOptions: e } = vn();
346
346
  return {
347
347
  collabReconnecting: P(() => e.value.enabled && !pl.value),
348
348
  collabConnected: pl,
349
- collabSocket: ti,
350
- collabRoomInfoState: ni,
351
- collabFieldLocksState: ai,
349
+ collabSocket: ni,
350
+ collabRoomInfoState: ai,
351
+ collabFieldLocksState: oi,
352
352
  collabFieldDataBufferState: no,
353
353
  gatherBufferData: (a) => {
354
354
  Jl().emit({ room: a });
@@ -359,7 +359,7 @@ function oi() {
359
359
  };
360
360
  }
361
361
  const hl = N(null);
362
- function li() {
362
+ function ri() {
363
363
  function e(n) {
364
364
  hl.value = n;
365
365
  }
@@ -369,7 +369,7 @@ function li() {
369
369
  };
370
370
  }
371
371
  function Va(e, n, t = !1) {
372
- const { collabOptions: a } = vn(), { currentUserId: l } = li(), { collabSocket: o, collabFieldLocksState: s, collabFieldDataBufferState: r, collabRoomInfoState: i } = oi(), u = Zs(), f = N(), c = N(), h = Qs(), p = N(), k = N(), g = Jl(), m = N(), d = N(), v = (V, F) => {
372
+ const { collabOptions: a } = vn(), { currentUserId: l } = ri(), { collabSocket: o, collabFieldLocksState: s, collabFieldDataBufferState: r, collabRoomInfoState: i } = li(), u = Js(), f = N(), c = N(), h = ei(), p = N(), k = N(), g = Jl(), m = N(), d = N(), v = (V, F) => {
373
373
  V.room !== e || V.field !== n || A(F) || A(c.value) || c.value(F);
374
374
  }, C = (V, F) => {
375
375
  V.room !== e || V.field !== n || A(F) || A(k.value) || k.value(F);
@@ -386,7 +386,7 @@ function Va(e, n, t = !1) {
386
386
  $
387
387
  );
388
388
  };
389
- ss(() => {
389
+ is(() => {
390
390
  t || (Ie(f.value) && f.value(), Ie(p.value) && p.value(), Ie(m.value) && m.value());
391
391
  });
392
392
  const H = P(() => {
@@ -487,7 +487,7 @@ function Va(e, n, t = !1) {
487
487
  unsubscribeCollabGatheringBufferData: m
488
488
  };
489
489
  }
490
- const ri = {
490
+ const si = {
491
491
  key: 0,
492
492
  class: "required"
493
493
  }, gl = /* @__PURE__ */ Ee({
@@ -526,7 +526,7 @@ const ri = {
526
526
  addCollabGatheringBufferDataListener: H,
527
527
  lockedByUser: M
528
528
  } = Va(a.collab.room, a.collab.field);
529
- r.value = x, i.value = b, Ae(
529
+ r.value = x, i.value = b, xe(
530
530
  M,
531
531
  (L) => {
532
532
  u.value = L;
@@ -580,7 +580,7 @@ const ri = {
580
580
  name: "label",
581
581
  fn: D(() => [
582
582
  ie(Q(d.value), 1),
583
- v.value ? (I(), ne("span", ri)) : re("", !0)
583
+ v.value ? (I(), ne("span", si)) : re("", !0)
584
584
  ]),
585
585
  key: "0"
586
586
  },
@@ -615,18 +615,18 @@ const ri = {
615
615
  } : void 0
616
616
  ]), 1032, ["prepend-icon", "data-cy", "error-messages", "model-value", "required", "type", "step", "append-icon", "maxlength", "disabled", "placeholder", "persistent-placeholder"]));
617
617
  }
618
- }), bl = ["en", "sk"], si = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, Pe = vs({
618
+ }), bl = ["en", "sk"], ii = (e, n) => n === 4 ? e === 0 ? 0 : e === 1 ? 1 : e >= 2 && e <= 4 ? 2 : 3 : n === 3 ? e === 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2 : e === 1 ? 0 : 1, Pe = ps({
619
619
  globalInjection: !1,
620
620
  locale: bl[0],
621
621
  fallbackLocale: !1,
622
622
  pluralRules: {
623
- sk: si
623
+ sk: ii
624
624
  },
625
625
  missing: (e, n) => {
626
626
  bl.includes(e) && !n.startsWith("system.subject.") && console.warn(`Missing ${e} translation: ${n}`);
627
627
  }
628
628
  });
629
- function ii(e = "id", n = !0) {
629
+ function ui(e = "id", n = !0) {
630
630
  return Gt({
631
631
  sortBy: e,
632
632
  descending: n,
@@ -643,23 +643,23 @@ function Tm(e) {
643
643
  showPagination: P(() => !(e.page === 1 && e.currentViewCount < e.rowsPerPage))
644
644
  };
645
645
  }
646
- const ui = ["createdAt", "modifiedAt"], Am = "_score", Mm = "id", Im = "score_date", $m = "score_best", It = {
646
+ const ci = ["createdAt", "modifiedAt"], Am = "_score", Mm = "id", Im = "score_date", $m = "score_best", It = {
647
647
  Asc: "asc",
648
648
  Desc: "desc"
649
- }, ci = {
649
+ }, di = {
650
650
  key: "",
651
651
  title: void 0,
652
652
  sortable: !1,
653
653
  fixed: !1
654
654
  };
655
655
  function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = void 0, i = void 0) {
656
- const u = s ?? Pe, { t: f } = u.global || u, c = ii();
656
+ const u = s ?? Pe, { t: f } = u.global || u, c = ui();
657
657
  if (o)
658
658
  for (const d of Object.keys(c))
659
659
  d in o && (c[d] = o[d]);
660
660
  const h = e.map((d) => {
661
- const v = { ...ci, ...d };
662
- return A(v.title) && (A(v.title) && ui.includes(v.key) ? v.title = f("common.model.tracking." + v.key) : A(v.title) && t && a ? v.title = f(t + "." + a + ".model." + v.key) : v.title = ""), v;
661
+ const v = { ...di, ...d };
662
+ return A(v.title) && (A(v.title) && ci.includes(v.key) ? v.title = f("common.model.tracking." + v.key) : A(v.title) && t && a ? v.title = f(t + "." + a + ".model." + v.key) : v.title = ""), v;
663
663
  }), p = P(() => {
664
664
  const d = [];
665
665
  return r && d.push({ key: "data-table-expand", sortable: !1 }), h.forEach((v) => {
@@ -682,7 +682,7 @@ function Fm(e, n, t = void 0, a = void 0, l = !1, o = void 0, s = void 0, r = vo
682
682
  };
683
683
  return Mo(() => {
684
684
  g();
685
- }), Ae(n, (d) => {
685
+ }), xe(n, (d) => {
686
686
  m(d);
687
687
  }), {
688
688
  columnsAll: h,
@@ -699,19 +699,19 @@ const Ro = /* @__PURE__ */ Ee({
699
699
  const t = n, a = () => {
700
700
  t("onCancel");
701
701
  };
702
- return (l, o) => (I(), W(Ts, {
702
+ return (l, o) => (I(), W(As, {
703
703
  density: "compact",
704
704
  color: "transparent"
705
705
  }, {
706
706
  default: D(() => [
707
- S(As, { class: "flex-fill" }, {
707
+ S(Ms, { class: "flex-fill" }, {
708
708
  default: D(() => [
709
709
  he(l.$slots, "default")
710
710
  ]),
711
711
  _: 3
712
712
  }),
713
713
  S(mn),
714
- S(Te, {
714
+ S(Ae, {
715
715
  class: "ml-2",
716
716
  icon: "mdi-close",
717
717
  size: "small",
@@ -736,7 +736,7 @@ const Ro = /* @__PURE__ */ Ee({
736
736
  }
737
737
  })();
738
738
  const er = /* @__PURE__ */ new Map();
739
- function di(e) {
739
+ function fi(e) {
740
740
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(n, t) {
741
741
  var a = e.get(n);
742
742
  a ? a.push(t) : e.set(n, [t]);
@@ -752,7 +752,7 @@ function di(e) {
752
752
  });
753
753
  } };
754
754
  }
755
- const an = di(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
755
+ const an = fi(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
756
756
  {
757
757
  name: "px",
758
758
  regexp: new RegExp(`^${ao}px$`)
@@ -769,7 +769,7 @@ const an = di(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
769
769
  name: "px",
770
770
  regexp: new RegExp(`^${ao}$`)
771
771
  }
772
- ], fi = (e) => {
772
+ ], mi = (e) => {
773
773
  if (e === "auto")
774
774
  return {
775
775
  type: e,
@@ -787,20 +787,20 @@ const an = di(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
787
787
  type: "",
788
788
  value: e
789
789
  };
790
- }, mi = (e) => {
790
+ }, vi = (e) => {
791
791
  switch (typeof e) {
792
792
  case "number":
793
793
  return { type: "px", value: e };
794
794
  case "string":
795
- return fi(e);
795
+ return mi(e);
796
796
  default:
797
797
  return { type: "", value: e };
798
798
  }
799
799
  }, Cl = {
800
800
  x: /* @__PURE__ */ new Set(["left", "center", "right"]),
801
801
  y: /* @__PURE__ */ new Set(["top", "bottom"])
802
- }, vi = /* @__PURE__ */ ((e) => () => e++)(0), pi = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), hi = (e) => {
803
- typeof e == "string" && (e = pi(e));
802
+ }, pi = /* @__PURE__ */ ((e) => () => e++)(0), hi = (e) => typeof e != "string" ? [] : e.split(/\s+/gi).filter(Boolean), gi = (e) => {
803
+ typeof e == "string" && (e = hi(e));
804
804
  let n = null, t = null;
805
805
  return e.forEach((a) => {
806
806
  Cl.y.has(a) && (t = a), Cl.x.has(a) && (n = a);
@@ -818,7 +818,7 @@ const an = di(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
818
818
  opacity: [0, 1]
819
819
  }
820
820
  }
821
- }, gi = (e, n) => {
821
+ }, bi = (e, n) => {
822
822
  let t, a, l = n;
823
823
  const o = () => {
824
824
  a = Date.now(), t = setTimeout(e, l);
@@ -830,13 +830,13 @@ const an = di(), ao = "[-+]?[0-9]*.?[0-9]+", yl = [
830
830
  stop: s
831
831
  };
832
832
  };
833
- function bi(e) {
834
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ns(e);
833
+ function yi(e) {
834
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !as(e);
835
835
  }
836
836
  const da = {
837
837
  IDLE: 0,
838
838
  DESTROYED: 2
839
- }, yi = /* @__PURE__ */ Ee({
839
+ }, Ci = /* @__PURE__ */ Ee({
840
840
  // eslint-disable-next-line vue/multi-word-component-names
841
841
  name: "notifications",
842
842
  props: {
@@ -929,11 +929,11 @@ const da = {
929
929
  slots: t,
930
930
  expose: a
931
931
  }) => {
932
- const l = N([]), o = er.get("velocity"), s = P(() => e.animationType === "velocity"), r = P(() => l.value.filter((M) => M.state !== da.DESTROYED)), i = P(() => mi(e.width)), u = P(() => {
932
+ const l = N([]), o = er.get("velocity"), s = P(() => e.animationType === "velocity"), r = P(() => l.value.filter((M) => M.state !== da.DESTROYED)), i = P(() => vi(e.width)), u = P(() => {
933
933
  const {
934
934
  x: M,
935
935
  y: L
936
- } = hi(e.position), z = i.value.value, V = i.value.type, F = {
936
+ } = gi(e.position), z = i.value.value, V = i.value.type, F = {
937
937
  width: z + V
938
938
  };
939
939
  return L && (F[L] = "0px"), M && (M === "center" ? F.left = `calc(50% - ${+z / 2}${V})` : F[M] = "0px"), F;
@@ -963,7 +963,7 @@ const da = {
963
963
  data: w,
964
964
  id: E
965
965
  } = M, B = {
966
- id: E || vi(),
966
+ id: E || pi(),
967
967
  title: F,
968
968
  text: R,
969
969
  type: T,
@@ -973,7 +973,7 @@ const da = {
973
973
  data: w,
974
974
  duplicates: 0
975
975
  };
976
- L >= 0 && (B.timer = gi(() => v(B), B.length));
976
+ L >= 0 && (B.timer = bi(() => v(B), B.length));
977
977
  const U = "bottom" in u.value, K = e.reverse ? !U : U;
978
978
  let oe = -1;
979
979
  const de = r.value.find((ke) => ke.title === M.title && ke.text === M.text);
@@ -1016,18 +1016,18 @@ const da = {
1016
1016
  }
1017
1017
  return Mo(() => {
1018
1018
  an.on("add", k), an.on("close", g);
1019
- }), es(() => {
1019
+ }), ts(() => {
1020
1020
  an.off("add", k), an.off("close", g);
1021
1021
  }), () => {
1022
1022
  let M;
1023
1023
  return S("div", {
1024
1024
  class: "vue-notification-group",
1025
1025
  style: u.value
1026
- }, [S(ts, Ue(f.value, {
1026
+ }, [S(ns, Ue(f.value, {
1027
1027
  tag: "div",
1028
1028
  css: !s.value,
1029
1029
  name: e.animationName
1030
- }), bi(M = r.value.map((L) => S("div", {
1030
+ }), yi(M = r.value.map((L) => S("div", {
1031
1031
  key: L.id,
1032
1032
  class: "vue-notification-wrapper",
1033
1033
  style: d(L),
@@ -1062,24 +1062,24 @@ const da = {
1062
1062
  mt.close = (e) => {
1063
1063
  an.emit("close", e);
1064
1064
  };
1065
- const Ci = "Notifications";
1066
- function wi(e, n = {}) {
1065
+ const wi = "Notifications";
1066
+ function Si(e, n = {}) {
1067
1067
  Object.entries(n).forEach((a) => er.set(...a));
1068
1068
  const t = n.name || "notify";
1069
- e.config.globalProperties["$" + t] = mt, e.component(n.componentName || Ci, yi);
1069
+ e.config.globalProperties["$" + t] = mt, e.component(n.componentName || wi, Ci);
1070
1070
  }
1071
1071
  const _m = {
1072
- install: wi
1073
- }, Si = (e) => e instanceof yt;
1072
+ install: Si
1073
+ }, ki = (e) => e instanceof yt;
1074
1074
  class yt extends Error {
1075
1075
  constructor(n, t = "") {
1076
1076
  super(t), this.name = "AnzuFatalError", this.cause = n, this.message = t;
1077
1077
  }
1078
1078
  }
1079
- const ki = 200, Di = 201, Ei = 202, pn = 204, Bm = 400, Om = 401, xi = 403, Rm = 404, Po = 422, Ti = [
1080
- ki,
1079
+ const Di = 200, Ei = 201, tr = 202, pn = 204, Bm = 400, Om = 401, xi = 403, Rm = 404, Po = 422, Ti = [
1081
1080
  Di,
1082
1081
  Ei,
1082
+ tr,
1083
1083
  pn
1084
1084
  ], Gn = (e) => Zt.isAxiosError(e) && e.response?.status === xi, Ai = (e) => e instanceof hn;
1085
1085
  class hn extends Error {
@@ -1087,7 +1087,7 @@ class hn extends Error {
1087
1087
  super(t), this.name = "AnzuApiForbiddenError", this.cause = n, this.message = t;
1088
1088
  }
1089
1089
  }
1090
- const Mi = "validation_failed", Xn = (e) => Zt.isAxiosError(e) && e.response?.status === Po && e.response.data?.error === Mi && e.response.data?.fields, tr = (e) => e instanceof gn, Ii = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1090
+ const Mi = "validation_failed", Xn = (e) => Zt.isAxiosError(e) && e.response?.status === Po && e.response.data?.error === Mi && e.response.data?.fields, nr = (e) => e instanceof gn, Ii = (e, n, t) => e.fields.some((a) => a.field === t && a.errors.includes(n));
1091
1091
  function $i(e, n, t) {
1092
1092
  const a = e.response?.data, l = [];
1093
1093
  for (const [o, s] of Object.entries(a.fields))
@@ -1130,7 +1130,7 @@ class Cn extends Error {
1130
1130
  super(o), this.name = "AnzuApiDependencyExistsError", this.cause = l, this.message = o, this.dependencies = Pi(n);
1131
1131
  }
1132
1132
  }
1133
- const Li = (e) => e instanceof Vo, nr = (e) => Zt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1133
+ const Li = (e) => e instanceof Vo, ar = (e) => Zt.isAxiosError(e) && (e.code === "ECONNABORTED" || e.message.includes("timeout") || e.cause instanceof Error && e.cause.message.includes("timeout"));
1134
1134
  class Vo extends Error {
1135
1135
  constructor(n = void 0) {
1136
1136
  super("API request timed out"), this.name = "AnzuApiAxiosError", this.cause = n;
@@ -1247,7 +1247,7 @@ function Qn() {
1247
1247
  duration: m * 1e3,
1248
1248
  type: "error"
1249
1249
  });
1250
- }, k = (m, d = -1) => Ai(m) ? (p(d), !0) : tr(m) ? (f(m.fields, d), !0) : Ri(m) ? (a("error.apiDependencyExists.message", d), !0) : _i(m) ? (c(m.detail, d), !0) : Li(m) ? (a("error.apiTimedOut.message", d), !0) : Vi(m) || Si(m) || Lo(m) ? (h(d), !0) : !1, g = (m) => {
1250
+ }, k = (m, d = -1) => Ai(m) ? (p(d), !0) : nr(m) ? (f(m.fields, d), !0) : Ri(m) ? (a("error.apiDependencyExists.message", d), !0) : _i(m) ? (c(m.detail, d), !0) : Li(m) ? (a("error.apiTimedOut.message", d), !0) : Vi(m) || ki(m) || Lo(m) ? (h(d), !0) : !1, g = (m) => {
1251
1251
  const { t: d } = Pe.global, v = m.split("["), C = v[0].trim(), $ = v[1].split("]"), x = $[0], b = $[1] ?? "";
1252
1252
  return d(C) + "[" + x + "]: " + d(C.slice(0, -1) + b);
1253
1253
  };
@@ -1628,7 +1628,7 @@ function ji() {
1628
1628
  })(ga)), ga.exports;
1629
1629
  }
1630
1630
  var qi = ji();
1631
- const ar = /* @__PURE__ */ Uo(qi);
1631
+ const or = /* @__PURE__ */ Uo(qi);
1632
1632
  var ba = { exports: {} }, Ki = ba.exports, kl;
1633
1633
  function Wi() {
1634
1634
  return kl || (kl = 1, (function(e, n) {
@@ -1753,9 +1753,9 @@ function Wi() {
1753
1753
  })(ba)), ba.exports;
1754
1754
  }
1755
1755
  var Gi = Wi();
1756
- const or = /* @__PURE__ */ Uo(Gi);
1757
- be.extend(ar);
1756
+ const lr = /* @__PURE__ */ Uo(Gi);
1758
1757
  be.extend(or);
1758
+ be.extend(lr);
1759
1759
  const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000000Z", Ua = "2100-01-01T00:00:00.000000Z", Pm = () => be().utc().toDate(), Xi = (e) => be(e).toDate(), Lm = () => Gl(be().utc().unix()), Yn = (e = !0, n = !1) => e && !n ? be().utc().format("YYYY-MM-DDTHH:mm:ss") + Nt : e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00") + Nt : !e && n ? be().utc().format("YYYY-MM-DDTHH:mm:00.SSSSSS") + "Z" : be().utc().format("YYYY-MM-DDTHH:mm:ss.SSSSSS") + "Z", Vm = (e = 0) => e === 0 ? be().startOf("day").utc().format(Ta) + Nt : be().add(e, "days").startOf("day").utc().format(Ta) + Nt, Nm = (e = 0) => e === 0 ? be().endOf("day").utc().format(Ta) + Nt : be().add(e, "days").endOf("day").utc().format(Ta) + Nt, Zi = (e = 0, n = null) => (n === null && (n = /* @__PURE__ */ new Date()), e === 0 ? n : e > 0 ? be(n).add(e, "minutes").toDate() : e < 0 ? be(n).subtract(Math.abs(e), "minutes").toDate() : n), So = (e, n = Nt) => be(e).utc().format("YYYY-MM-DDTHH:mm:ss") + n, Um = () => be().utc().format("YYYY"), Mn = (e, n = "", t = !1) => e === Ua || e === Na || e === "" || te(e) || A(e) ? n : be(e).format(t ? "DD.MM.YYYY HH:mm:ss" : "DD.MM.YYYY HH:mm"), Ym = (e, n = "", t = !1) => {
1760
1760
  if (e === Ua || e === Na || e === "" || te(e) || A(e))
1761
1761
  return n;
@@ -1775,7 +1775,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
1775
1775
  } : { from: l, until: o };
1776
1776
  }, ro = Ji, Ya = (e) => {
1777
1777
  e?.currentTarget instanceof HTMLElement && e.currentTarget.blur();
1778
- }, lr = /* @__PURE__ */ Ee({
1778
+ }, rr = /* @__PURE__ */ Ee({
1779
1779
  __name: "AFilterSubmitButton",
1780
1780
  props: {
1781
1781
  buttonT: { default: "common.button.submitFilter" },
@@ -1788,7 +1788,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
1788
1788
  const t = n, { t: a } = Oe(), l = (o) => {
1789
1789
  Ya(o), t("submit");
1790
1790
  };
1791
- return (o, s) => (I(), W(Te, {
1791
+ return (o, s) => (I(), W(Ae, {
1792
1792
  class: Je(e.buttonClass),
1793
1793
  "data-cy": e.dataCy,
1794
1794
  color: "primary",
@@ -1802,7 +1802,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
1802
1802
  _: 1
1803
1803
  }, 8, ["class", "data-cy", "variant"]));
1804
1804
  }
1805
- }), rr = /* @__PURE__ */ Ee({
1805
+ }), sr = /* @__PURE__ */ Ee({
1806
1806
  __name: "AFilterResetButton",
1807
1807
  props: {
1808
1808
  tooltipT: { default: "common.button.resetFilter" },
@@ -1814,7 +1814,7 @@ const Nt = ".000000Z", Ta = "YYYY-MM-DDTHH:mm:ss", Na = "1970-01-01T00:00:00.000
1814
1814
  const t = n, a = (o) => {
1815
1815
  Ya(o), t("reset");
1816
1816
  }, { t: l } = Oe();
1817
- return (o, s) => (I(), W(Te, {
1817
+ return (o, s) => (I(), W(Ae, {
1818
1818
  class: Je([e.buttonClass, "text-medium-emphasis px-2"]),
1819
1819
  "data-cy": e.dataCy,
1820
1820
  "min-width": "36px",
@@ -1877,67 +1877,67 @@ function Wm(e, n, t = ".") {
1877
1877
  }
1878
1878
  return o(e), e;
1879
1879
  }
1880
- const ea = (e, n, t = "") => _n(n) ? e : Rs(
1880
+ const ea = (e, n, t = "") => _n(n) ? e : Ps(
1881
1881
  t === "" ? e : t,
1882
1882
  n
1883
1883
  ), ta = (e) => Ti.includes(e), Gm = (e, n, t = {}, a, l, o = {}) => new Promise((s, r) => {
1884
1884
  e().get(ea(n, t), o).then((i) => ta(i.status) ? i.data ? s(i.data) : i.status === pn ? s(null) : r(new yt()) : r(new bn(i.status))).catch((i) => Gn(i) ? r(new hn(i, i.config?.url)) : Xn(i) ? r(new gn(i, a, l, i)) : Jn(i) ? r(new Cn(i, a, l, i)) : Zn(i) ? r(new yn(i, i)) : r(new yt(i)));
1885
1885
  }), { t: tu } = Pe.global;
1886
1886
  function nu() {
1887
- return dt({ t: tu })(hs, {
1887
+ return dt({ t: tu })(gs, {
1888
1888
  withArguments: !0,
1889
1889
  messagePath: () => "error.jsValidation.between"
1890
1890
  });
1891
1891
  }
1892
1892
  const { t: au } = Pe.global;
1893
1893
  function ou() {
1894
- return dt({ t: au })(gs, {
1894
+ return dt({ t: au })(bs, {
1895
1895
  messagePath: () => "error.jsValidation.email"
1896
1896
  });
1897
1897
  }
1898
1898
  const { t: lu } = Pe.global;
1899
1899
  function ru() {
1900
- return dt({ t: lu })(bs, {
1900
+ return dt({ t: lu })(ys, {
1901
1901
  withArguments: !0,
1902
1902
  messagePath: () => "error.jsValidation.maxLength"
1903
1903
  });
1904
1904
  }
1905
1905
  const { t: su } = Pe.global;
1906
1906
  function iu() {
1907
- return dt({ t: su })(ys, {
1907
+ return dt({ t: su })(Cs, {
1908
1908
  withArguments: !0,
1909
1909
  messagePath: () => "error.jsValidation.maxValue"
1910
1910
  });
1911
1911
  }
1912
1912
  const { t: uu } = Pe.global;
1913
1913
  function cu() {
1914
- return dt({ t: uu })(Cs, {
1914
+ return dt({ t: uu })(ws, {
1915
1915
  withArguments: !0,
1916
1916
  messagePath: () => "error.jsValidation.minLength"
1917
1917
  });
1918
1918
  }
1919
1919
  const { t: du } = Pe.global;
1920
1920
  function fu() {
1921
- return dt({ t: du })(ws, {
1921
+ return dt({ t: du })(Ss, {
1922
1922
  withArguments: !0,
1923
1923
  messagePath: () => "error.jsValidation.minValue"
1924
1924
  });
1925
1925
  }
1926
1926
  const { t: mu } = Pe.global;
1927
1927
  function vu() {
1928
- return dt({ t: mu })(Ss, {
1928
+ return dt({ t: mu })(ks, {
1929
1929
  messagePath: () => "error.jsValidation.numeric"
1930
1930
  });
1931
1931
  }
1932
1932
  const { t: pu } = Pe.global;
1933
1933
  function hu() {
1934
- return dt({ t: pu })(ks, {
1934
+ return dt({ t: pu })(Ds, {
1935
1935
  messagePath: () => "error.jsValidation.required"
1936
1936
  });
1937
1937
  }
1938
1938
  const { t: gu } = Pe.global;
1939
1939
  function bu() {
1940
- return dt({ t: gu })(Ds, {
1940
+ return dt({ t: gu })(Es, {
1941
1941
  withArguments: !0,
1942
1942
  messagePath: () => "error.jsValidation.required"
1943
1943
  });
@@ -1970,7 +1970,7 @@ function Su() {
1970
1970
  }
1971
1971
  const { t: ku } = Pe.global;
1972
1972
  function Du() {
1973
- return dt({ t: ku })(Es, {
1973
+ return dt({ t: ku })(xs, {
1974
1974
  messagePath: () => "error.jsValidation.url"
1975
1975
  });
1976
1976
  }
@@ -2109,7 +2109,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2109
2109
  }, $ = () => {
2110
2110
  r.value?.focus();
2111
2111
  };
2112
- return Ae([o, s], ([x, b], [O, H]) => {
2112
+ return xe([o, s], ([x, b], [O, H]) => {
2113
2113
  if (x === O && b === H) return;
2114
2114
  const M = parseInt(
2115
2115
  x ?? (l.value ? l.value.hours.toString() : "12")
@@ -2138,7 +2138,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2138
2138
  [sl, u.value]
2139
2139
  ]),
2140
2140
  ye("div", Mu, [
2141
- S(Te, {
2141
+ S(Ae, {
2142
2142
  tabindex: "-1",
2143
2143
  variant: "text",
2144
2144
  class: "a-datetime-picker-time__arrow-up",
@@ -2149,7 +2149,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2149
2149
  ]),
2150
2150
  _: 1
2151
2151
  }),
2152
- S(Te, {
2152
+ S(Ae, {
2153
2153
  tabindex: "-1",
2154
2154
  variant: "text",
2155
2155
  class: "a-datetime-picker-time__arrow-down",
@@ -2181,7 +2181,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2181
2181
  [sl, f.value]
2182
2182
  ]),
2183
2183
  ye("div", $u, [
2184
- S(Te, {
2184
+ S(Ae, {
2185
2185
  tabindex: "-1",
2186
2186
  variant: "text",
2187
2187
  class: "a-datetime-picker-time__arrow-up",
@@ -2192,7 +2192,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2192
2192
  ]),
2193
2193
  _: 1
2194
2194
  }),
2195
- S(Te, {
2195
+ S(Ae, {
2196
2196
  tabindex: "-1",
2197
2197
  variant: "text",
2198
2198
  class: "a-datetime-picker-time__arrow-down",
@@ -2231,7 +2231,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2231
2231
  emits: ["blur", "focus", "update:modelValue", "onOpen", "onClose", "afterClear"],
2232
2232
  setup(e, { emit: n }) {
2233
2233
  const t = e, a = n;
2234
- be.extend(ar), be.extend(or);
2234
+ be.extend(or), be.extend(lr);
2235
2235
  const l = N(!1), o = N(0), s = N(0), r = At("timePickerInstance"), i = At("inputInstance"), u = At("confirmRefButton"), f = N(""), c = N(null), h = N(null), p = N(null), { t: k } = Oe(), g = P(() => t.type === "datetime" ? "dd.mm.yyyy hh:mm" : "dd.mm.yyyy"), { requiredIf: m } = Yo(), d = P(() => ({
2236
2236
  textFieldValue: {
2237
2237
  required: m(t.required)
@@ -2241,7 +2241,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2241
2241
  }, x = (E) => {
2242
2242
  te(E) || ((te(h.value) || E.hour() !== h.value.hours || E.minute() !== h.value.minutes) && (h.value = { hours: E.hour(), minutes: E.minute() }), (te(c.value) || E.year() !== c.value.getFullYear() || E.month() !== c.value.getMonth() || E.date() !== c.value.getDate()) && (c.value = E.toDate()));
2243
2243
  };
2244
- Ae(
2244
+ xe(
2245
2245
  () => t.modelValue,
2246
2246
  (E, B) => {
2247
2247
  if (E !== B) {
@@ -2255,10 +2255,10 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2255
2255
  { immediate: !0 }
2256
2256
  );
2257
2257
  const b = (E, B) => te(E) ? B : B.set("date", E.getDate()).set("month", E.getMonth()).set("year", E.getFullYear()), O = (E, B) => te(E) ? B : B.set("hour", E.hours).set("minute", E.minutes);
2258
- Ae([h, c], ([E, B]) => {
2258
+ xe([h, c], ([E, B]) => {
2259
2259
  let U = null;
2260
2260
  te(p.value) ? te(t.modelValue) ? t.lastMinuteMoment ? U = be().hour(0).minute(0).second(59).millisecond(999) : U = be().hour(0).minute(0).second(0).millisecond(0) : U = be(t.modelValue, "YYYY-MM-DDTHH:mm:ss.SSSSSSZ") : U = p.value, U = O(E, U), U = b(B, U), !U.isSame(Ba(p.value)) && (p.value = U);
2261
- }), Ae(
2261
+ }), xe(
2262
2262
  p,
2263
2263
  (E) => {
2264
2264
  if (te(E)) {
@@ -2269,7 +2269,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2269
2269
  f.value = E.format(C.value), x(E), $(B);
2270
2270
  },
2271
2271
  { immediate: !0 }
2272
- ), Ae(l, (E) => {
2272
+ ), xe(l, (E) => {
2273
2273
  if (E) {
2274
2274
  M(), te(p.value) && (te(t.defaultValue) || A(t.defaultValue)) && (t.lastMinuteMoment ? p.value = be().second(59).millisecond(999) : p.value = be().second(0).millisecond(0)), je(() => {
2275
2275
  o.value++;
@@ -2357,7 +2357,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2357
2357
  default: D(() => [
2358
2358
  l.value ? (I(), W(fn, { key: 0 }, {
2359
2359
  default: D(() => [
2360
- Vn((I(), W(Te, {
2360
+ Vn((I(), W(Ae, {
2361
2361
  icon: "",
2362
2362
  variant: "text",
2363
2363
  width: 36,
@@ -2375,7 +2375,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2375
2375
  })), [
2376
2376
  [ql, _(k)("common.button.close")]
2377
2377
  ]),
2378
- (I(), W(xs, Ue({
2378
+ (I(), W(Ts, Ue({
2379
2379
  key: o.value,
2380
2380
  modelValue: c.value,
2381
2381
  "onUpdate:modelValue": B[0] || (B[0] = (U) => c.value = U),
@@ -2430,7 +2430,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2430
2430
  }
2431
2431
  ]), 1032, ["modelValue", "error-messages", "placeholder", "disabled"]));
2432
2432
  }
2433
- }), sr = /* @__PURE__ */ _o(Pu, [["__scopeId", "data-v-1031cc13"]]), Dl = /* @__PURE__ */ Ee({
2433
+ }), ir = /* @__PURE__ */ _o(Pu, [["__scopeId", "data-v-1031cc13"]]), Dl = /* @__PURE__ */ Ee({
2434
2434
  __name: "AFormDatetimePicker",
2435
2435
  props: {
2436
2436
  modelValue: {},
@@ -2458,7 +2458,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2458
2458
  }), u = N(null);
2459
2459
  if (o.value.enabled && Ie(t.collab)) {
2460
2460
  const { releaseCollabFieldLock: O, changeCollabFieldData: H, acquireCollabFieldLock: M, lockedByUser: L } = Va(t.collab.room, t.collab.field);
2461
- s.value = O, r.value = H, i.value = M, Ae(
2461
+ s.value = O, r.value = H, i.value = M, xe(
2462
2462
  L,
2463
2463
  (z) => {
2464
2464
  u.value = z;
@@ -2480,9 +2480,9 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2480
2480
  const { end: O } = Un(t.v?.$path, ".");
2481
2481
  return k(g + "." + m + ".model." + O);
2482
2482
  }), x = P(() => Ie(t.required) ? t.required : !!(t.v?.required && t.v?.required.$params.type === "required")), b = P(() => Ie(t.disabled) ? t.disabled : !!u.value);
2483
- return Ae(l, (O, H) => {
2483
+ return xe(l, (O, H) => {
2484
2484
  O !== H && o.value.enabled && (c.value || f.value) && r.value(O);
2485
- }), (O, H) => (I(), W(sr, Ue({
2485
+ }), (O, H) => (I(), W(ir, Ue({
2486
2486
  modelValue: l.value,
2487
2487
  "onUpdate:modelValue": H[0] || (H[0] = (M) => l.value = M),
2488
2488
  "data-cy": e.dataCy,
@@ -2529,7 +2529,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2529
2529
  t.collab.room,
2530
2530
  t.collab.field
2531
2531
  );
2532
- o.value = p, s.value = k, Ae(
2532
+ o.value = p, s.value = k, xe(
2533
2533
  g,
2534
2534
  (m) => {
2535
2535
  r.value = m;
@@ -2548,7 +2548,7 @@ const Tu = { class: "a-datetime-picker-time" }, Au = { class: "a-datetime-picker
2548
2548
  }, c = () => {
2549
2549
  a("focus", t.modelValue), s.value();
2550
2550
  }, h = P(() => Ie(t.disabled) ? t.disabled : !!r.value);
2551
- return (p, k) => (I(), W(Ms, {
2551
+ return (p, k) => (I(), W(Is, {
2552
2552
  "data-cy": e.dataCy,
2553
2553
  "model-value": e.modelValue,
2554
2554
  disabled: h.value,
@@ -2692,7 +2692,7 @@ const Yu = {
2692
2692
  storeFiltersLocalStorage: !0,
2693
2693
  populateUrlParams: !0
2694
2694
  };
2695
- function ir(e, n, t = {}) {
2695
+ function ur(e, n, t = {}) {
2696
2696
  const a = { ...Yu, ...t }, l = "~";
2697
2697
  let o;
2698
2698
  Ye(a.storeFiltersLocalStorage) ? o = a.storeFiltersLocalStorage : ut(a.storeFiltersLocalStorage) && a.storeFiltersLocalStorage === !0 && Ye(n.general.system) && Ye(n.general.subject) && (o = "tableFilter_" + n.general.system + "_" + n.general.subject);
@@ -3003,7 +3003,7 @@ const qu = (e) => Wn(e) && Object.hasOwn(e, "totalCount"), Ku = (e) => Wn(e) &&
3003
3003
  } catch (v) {
3004
3004
  if (v instanceof DOMException && v.name === "AbortError")
3005
3005
  return [];
3006
- throw Lo(v) ? v : Gn(v) ? new hn(v, v.config?.url) : Xn(v) ? new gn(v, t, a, v) : Jn(v) ? new Cn(v, t, a, v) : Zn(v) ? new yn(v, v) : nr(v) ? new Vo(v) : Zt.isAxiosError(v) ? (r || console.error("Axios error: " + l, ...v.cause ? [v.cause] : []), new No(v)) : (r || console.error("AnzuFatalError: ", v), new yt(v));
3006
+ throw Lo(v) ? v : Gn(v) ? new hn(v, v.config?.url) : Xn(v) ? new gn(v, t, a, v) : Jn(v) ? new Cn(v, t, a, v) : Zn(v) ? new yn(v, v) : ar(v) ? new Vo(v) : Zt.isAxiosError(v) ? (r || console.error("Axios error: " + l, ...v.cause ? [v.cause] : []), new No(v)) : (r || console.error("AnzuFatalError: ", v), new yt(v));
3007
3007
  } finally {
3008
3008
  i = null;
3009
3009
  }
@@ -3055,7 +3055,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3055
3055
  "anzu:FilterInnerConfigKey"
3056
3056
  ), Dt = /* @__PURE__ */ Symbol.for(
3057
3057
  "anzu:FilterSubmitResetCounterKey"
3058
- ), pt = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), ur = /* @__PURE__ */ Symbol.for(
3058
+ ), pt = /* @__PURE__ */ Symbol.for("anzu:FilterSelectedKey"), cr = /* @__PURE__ */ Symbol.for(
3059
3059
  "anzu:DatatablePaginationKey"
3060
3060
  ), Zu = /* @__PURE__ */ Symbol.for(
3061
3061
  "anzu:SubjectSelectCloseSidebarKey"
@@ -3152,7 +3152,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3152
3152
  o.value.set(t.name, [{ title: i.value, value: i.value }]);
3153
3153
  }
3154
3154
  };
3155
- return Ae(
3155
+ return xe(
3156
3156
  () => r[t.name],
3157
3157
  (m, d) => {
3158
3158
  m === d || ut(m) || g();
@@ -3310,7 +3310,7 @@ const Xm = (e, n = {}, t, a = {}, l, o, s = {}) => new Promise((r, i) => {
3310
3310
  }
3311
3311
  o.value.set(t.name, [{ title: ee.title, value: ee.value }]);
3312
3312
  };
3313
- return Ae(
3313
+ return xe(
3314
3314
  () => r[t.name],
3315
3315
  async (ee, le) => {
3316
3316
  if (ee === le || ut(ee)) return;
@@ -3503,7 +3503,7 @@ const Jm = /* @__PURE__ */ Ee({
3503
3503
  }
3504
3504
  o.value.set(t.name, [{ title: X.title, value: X.value }]);
3505
3505
  };
3506
- return Ae(
3506
+ return xe(
3507
3507
  () => r[t.name],
3508
3508
  async (X, se) => {
3509
3509
  if (X === se || ut(X)) return;
@@ -3648,7 +3648,7 @@ const Jm = /* @__PURE__ */ Ee({
3648
3648
  { title: d.title, value: d.value }
3649
3649
  ]);
3650
3650
  };
3651
- return Ae(
3651
+ return xe(
3652
3652
  () => r[t.name],
3653
3653
  (m, d) => {
3654
3654
  m === d || ut(m) || g(m);
@@ -3731,7 +3731,7 @@ const Jm = /* @__PURE__ */ Ee({
3731
3731
  }, L = (V = !1) => {
3732
3732
  g.value.$reset(), V && (p.value.from = null, p.value.until = Yn()), h.value = !0;
3733
3733
  };
3734
- Ae(
3734
+ xe(
3735
3735
  i,
3736
3736
  (V) => {
3737
3737
  if (Se(V) || ut(V)) return;
@@ -3743,7 +3743,7 @@ const Jm = /* @__PURE__ */ Ee({
3743
3743
  !F && lo(i.value) && lo(R) && (c.value = wt.Custom, p.value.from = i.value, p.value.until = R, k.value = !0), F && (c.value = F.value);
3744
3744
  },
3745
3745
  { immediate: !0 }
3746
- ), Ae(
3746
+ ), xe(
3747
3747
  [() => r[t.nameFrom], () => r[t.nameUntil]],
3748
3748
  ([V, F], [R, T]) => {
3749
3749
  V === R && F === T || M(V);
@@ -3760,7 +3760,7 @@ const Jm = /* @__PURE__ */ Ee({
3760
3760
  return (V, F) => {
3761
3761
  const R = rn("ABtnTertiary"), T = rn("ABtnPrimary");
3762
3762
  return I(), ne(qe, null, [
3763
- k.value ? (I(), W(ps, {
3763
+ k.value ? (I(), W(hs, {
3764
3764
  key: 0,
3765
3765
  label: v.value,
3766
3766
  "model-value": _(Mn)(p.value.from) + " - " + _(Mn)(p.value.until),
@@ -3874,7 +3874,7 @@ const Jm = /* @__PURE__ */ Ee({
3874
3874
  ], 64);
3875
3875
  };
3876
3876
  }
3877
- }), ev = /* @__PURE__ */ _o(ac, [["__scopeId", "data-v-845cd41b"]]), cr = (e, n = "item") => n + "." + e, Tl = /* @__PURE__ */ Ee({
3877
+ }), ev = /* @__PURE__ */ _o(ac, [["__scopeId", "data-v-845cd41b"]]), dr = (e, n = "item") => n + "." + e, Tl = /* @__PURE__ */ Ee({
3878
3878
  __name: "AFilterEmpty",
3879
3879
  props: {
3880
3880
  name: {}
@@ -3910,7 +3910,7 @@ const Jm = /* @__PURE__ */ Ee({
3910
3910
  { title: Mn(i.value), value: i.value }
3911
3911
  ]);
3912
3912
  };
3913
- return (g, m) => (I(), W(sr, Ue({
3913
+ return (g, m) => (I(), W(ir, Ue({
3914
3914
  modelValue: i.value,
3915
3915
  "onUpdate:modelValue": m[0] || (m[0] = (d) => i.value = d),
3916
3916
  "data-cy": e.dataCy,
@@ -3957,7 +3957,7 @@ const Jm = /* @__PURE__ */ Ee({
3957
3957
  o.value.set(t.name, [{ title: i.value, value: i.value }]);
3958
3958
  }
3959
3959
  };
3960
- return Ae(
3960
+ return xe(
3961
3961
  () => r[t.name],
3962
3962
  (m, d) => {
3963
3963
  m === d || ut(m) || g();
@@ -3976,7 +3976,7 @@ const Jm = /* @__PURE__ */ Ee({
3976
3976
  "onClick:clear": fe(k, ["stop"])
3977
3977
  }, null, 8, ["modelValue", "label", "placeholder", "clearable", "data-cy"]));
3978
3978
  }
3979
- }), dr = /* @__PURE__ */ Ee({
3979
+ }), fr = /* @__PURE__ */ Ee({
3980
3980
  __name: "FilterDetailItem",
3981
3981
  props: {
3982
3982
  name: {}
@@ -4027,7 +4027,7 @@ const Aa = {
4027
4027
  }, rc = Aa.PinnedWidgets, Wt = {
4028
4028
  Desktop: "desktop",
4029
4029
  Mobile: "mobile"
4030
- }, sc = Wt.Desktop, ic = 3, ko = 8, fr = Is("filterBookmarkStore", () => {
4030
+ }, sc = Wt.Desktop, ic = 3, ko = 8, mr = $s("filterBookmarkStore", () => {
4031
4031
  const e = N(/* @__PURE__ */ new Map()), n = N(!1);
4032
4032
  function t(r, i) {
4033
4033
  return `userAdminConfig/${i}/${r}/`;
@@ -4120,13 +4120,13 @@ const Aa = {
4120
4120
  throw new bn(C.status);
4121
4121
  if (C.data)
4122
4122
  return C.data;
4123
- if (C.status === pn)
4123
+ if (C.status === pn || C.status === tr)
4124
4124
  return;
4125
4125
  throw new yt();
4126
4126
  } catch (m) {
4127
4127
  if (m instanceof DOMException && m.name === "AbortError")
4128
4128
  return [];
4129
- throw Lo(m) ? m : Gn(m) ? new hn(m, m.config?.url) : Xn(m) ? new gn(m, a, l, m) : Jn(m) ? new Cn(m, a, l, m) : Zn(m) ? new yn(m, m) : nr(m) ? new Vo(m) : Zt.isAxiosError(m) ? (i || console.error("Axios error: " + o, ...m.cause ? [m.cause] : []), new No(m)) : (i || console.error("AnzuFatalError: ", m), new yt(m));
4129
+ throw Lo(m) ? m : Gn(m) ? new hn(m, m.config?.url) : Xn(m) ? new gn(m, a, l, m) : Jn(m) ? new Cn(m, a, l, m) : Zn(m) ? new yn(m, m) : ar(m) ? new Vo(m) : Zt.isAxiosError(m) ? (i || console.error("Axios error: " + o, ...m.cause ? [m.cause] : []), new No(m)) : (i || console.error("AnzuFatalError: ", m), new yt(m));
4130
4130
  } finally {
4131
4131
  u = null;
4132
4132
  }
@@ -4136,7 +4136,7 @@ const Aa = {
4136
4136
  }
4137
4137
  };
4138
4138
  }, Ml = "/adm/v1/user-admin-config", uc = "userAdminConfig";
4139
- function mr(e, n, t = uc, a = Ml) {
4139
+ function vr(e, n, t = uc, a = Ml) {
4140
4140
  return {
4141
4141
  useFetchUserAdminConfigList: () => Gu({ client: e, system: n, entity: t, urlTemplate: Ml }),
4142
4142
  fetchUserAdminConfig: (f) => {
@@ -4184,7 +4184,7 @@ function mr(e, n, t = uc, a = Ml) {
4184
4184
  }
4185
4185
  };
4186
4186
  }
4187
- const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4187
+ const cc = { key: 0 }, dc = 32, pr = /* @__PURE__ */ Ee({
4188
4188
  __name: "FilterBookmarks",
4189
4189
  props: /* @__PURE__ */ Qe({
4190
4190
  client: {},
@@ -4200,10 +4200,10 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4200
4200
  }),
4201
4201
  emits: /* @__PURE__ */ Qe(["submit"], ["update:datatableHiddenColumns"]),
4202
4202
  setup(e, { emit: n }) {
4203
- const t = e, a = n, l = it(e, "datatableHiddenColumns"), o = ae(at), s = ae(ft), r = ae(ur), i = ae(pt);
4203
+ const t = e, a = n, l = it(e, "datatableHiddenColumns"), o = ae(at), s = ae(ft), r = ae(cr), i = ae(pt);
4204
4204
  if (A(r) || A(o) || A(s) || A(i))
4205
4205
  throw new Error("Incorrect provide/inject config.");
4206
- const u = N(!1), f = At("toolbar"), c = N(300), h = N(1e3), p = fr(), { useFetchUserAdminConfigList: k } = mr(t.client, t.system), g = t.system + "_" + t.subject, m = async (b = !1) => {
4206
+ const u = N(!1), f = At("toolbar"), c = N(300), h = N(1e3), p = mr(), { useFetchUserAdminConfigList: k } = vr(t.client, t.system), g = t.system + "_" + t.subject, m = async (b = !1) => {
4207
4207
  u.value = !0, await p.getBookmarks(
4208
4208
  {
4209
4209
  user: t.userId,
@@ -4213,7 +4213,7 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4213
4213
  k,
4214
4214
  b
4215
4215
  ), u.value = !1;
4216
- }, { deserializeFilters: d } = ir(s, o), v = (b) => {
4216
+ }, { deserializeFilters: d } = ur(s, o), v = (b) => {
4217
4217
  const O = b.data;
4218
4218
  Ie(O.datatableHiddenColumns) && Ie(l.value) && (l.value = O.datatableHiddenColumns), Ie(O.sortBy) && (r.value = {
4219
4219
  ...r.value,
@@ -4254,9 +4254,9 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4254
4254
  }
4255
4255
  h.value = M;
4256
4256
  };
4257
- is(f, (b) => {
4257
+ us(f, (b) => {
4258
4258
  b[0] && (c.value = b[0].contentRect.width);
4259
- }), us(
4259
+ }), cs(
4260
4260
  c,
4261
4261
  (b, O) => {
4262
4262
  b !== O && C(b);
@@ -4273,7 +4273,7 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4273
4273
  hidden: $.value.slice(b)
4274
4274
  };
4275
4275
  });
4276
- return Ae([u, () => $.value.length], ([b]) => {
4276
+ return xe([u, () => $.value.length], ([b]) => {
4277
4277
  b === !0 || te(f.value) || (c.value = f.value.clientWidth, je(() => {
4278
4278
  C(c.value);
4279
4279
  }));
@@ -4289,7 +4289,7 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4289
4289
  key: H.id,
4290
4290
  class: "white-space-nowrap"
4291
4291
  }, [
4292
- S(Te, {
4292
+ S(Ae, {
4293
4293
  variant: "text",
4294
4294
  "prepend-icon": "mdi-bookmark-outline",
4295
4295
  size: "small",
@@ -4307,7 +4307,7 @@ const cc = { key: 0 }, dc = 32, vr = /* @__PURE__ */ Ee({
4307
4307
  location: "bottom"
4308
4308
  }, {
4309
4309
  activator: D(({ props: H }) => [
4310
- S(Te, Ue({
4310
+ S(Ae, Ue({
4311
4311
  icon: "mdi-menu-down",
4312
4312
  size: "x-small",
4313
4313
  width: 28,
@@ -4424,15 +4424,15 @@ function Mt(e) {
4424
4424
  if (typeof window < "u" && window.navigator)
4425
4425
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
4426
4426
  }
4427
- var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), na = Mt(/Edge/i), $l = Mt(/firefox/i), Bn = Mt(/safari/i) && !Mt(/chrome/i) && !Mt(/android/i), jo = Mt(/iP(ad|od|hone)/i), pr = Mt(/chrome/i) && Mt(/android/i), hr = {
4427
+ var Ft = Mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), na = Mt(/Edge/i), $l = Mt(/firefox/i), Bn = Mt(/safari/i) && !Mt(/chrome/i) && !Mt(/android/i), jo = Mt(/iP(ad|od|hone)/i), hr = Mt(/chrome/i) && Mt(/android/i), gr = {
4428
4428
  capture: !1,
4429
4429
  passive: !1
4430
4430
  };
4431
4431
  function Me(e, n, t) {
4432
- e.addEventListener(n, t, !Ft && hr);
4432
+ e.addEventListener(n, t, !Ft && gr);
4433
4433
  }
4434
- function xe(e, n, t) {
4435
- e.removeEventListener(n, t, !Ft && hr);
4434
+ function Te(e, n, t) {
4435
+ e.removeEventListener(n, t, !Ft && gr);
4436
4436
  }
4437
4437
  function Ma(e, n) {
4438
4438
  if (n) {
@@ -4450,7 +4450,7 @@ function Ma(e, n) {
4450
4450
  return !1;
4451
4451
  }
4452
4452
  }
4453
- function gr(e) {
4453
+ function br(e) {
4454
4454
  return e.host && e !== document && e.host.nodeType && e.host !== e ? e.host : e.parentNode;
4455
4455
  }
4456
4456
  function bt(e, n, t, a) {
@@ -4460,7 +4460,7 @@ function bt(e, n, t, a) {
4460
4460
  if (n != null && (n[0] === ">" ? e.parentNode === t && Ma(e, n) : Ma(e, n)) || a && e === t)
4461
4461
  return e;
4462
4462
  if (e === t) break;
4463
- } while (e = gr(e));
4463
+ } while (e = br(e));
4464
4464
  }
4465
4465
  return null;
4466
4466
  }
@@ -4494,7 +4494,7 @@ function ln(e, n) {
4494
4494
  var l = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
4495
4495
  return l && new l(t);
4496
4496
  }
4497
- function br(e, n, t) {
4497
+ function yr(e, n, t) {
4498
4498
  if (e) {
4499
4499
  var a = e.getElementsByTagName(n), l = 0, o = a.length;
4500
4500
  if (t)
@@ -4608,7 +4608,7 @@ function uo(e, n) {
4608
4608
  return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
4609
4609
  }
4610
4610
  var On;
4611
- function yr(e, n) {
4611
+ function Cr(e, n) {
4612
4612
  return function() {
4613
4613
  if (!On) {
4614
4614
  var t = arguments, a = this;
@@ -4621,14 +4621,14 @@ function yr(e, n) {
4621
4621
  function Cc() {
4622
4622
  clearTimeout(On), On = void 0;
4623
4623
  }
4624
- function Cr(e, n, t) {
4624
+ function wr(e, n, t) {
4625
4625
  e.scrollLeft += n, e.scrollTop += t;
4626
4626
  }
4627
- function wr(e) {
4627
+ function Sr(e) {
4628
4628
  var n = window.Polymer, t = window.jQuery || window.Zepto;
4629
4629
  return n && n.dom ? n.dom(e).cloneNode(!0) : t ? t(e).clone(!0)[0] : e.cloneNode(!0);
4630
4630
  }
4631
- function Sr(e, n, t) {
4631
+ function kr(e, n, t) {
4632
4632
  var a = {};
4633
4633
  return Array.from(e.children).forEach(function(l) {
4634
4634
  var o, s, r, i;
@@ -4788,8 +4788,8 @@ var Ec = ["evt"], tt = function(n, t) {
4788
4788
  oldDraggableIndex: Rn,
4789
4789
  newIndex: rt,
4790
4790
  newDraggableIndex: Rt,
4791
- hideGhostForTarget: xr,
4792
- unhideGhostForTarget: Tr,
4791
+ hideGhostForTarget: Tr,
4792
+ unhideGhostForTarget: Ar,
4793
4793
  cloneNowHidden: function() {
4794
4794
  Pt = !0;
4795
4795
  },
@@ -4817,14 +4817,14 @@ function et(e) {
4817
4817
  newDraggableIndex: Rt
4818
4818
  }, e));
4819
4819
  }
4820
- var G, Ne, pe, Le, jt, ya, Ve, Pt, on, rt, Rn, Rt, fa, Ge, nn = !1, Ia = !1, $a = [], Yt, gt, fo, mo, Ol, Rl, In, tn, Pn, Ln = !1, ma = !1, Ca, Xe, vo = [], Eo = !1, Fa = [], Ha = typeof document < "u", va = jo, Pl = na || Ft ? "cssFloat" : "float", xc = Ha && !pr && !jo && "draggable" in document.createElement("div"), kr = (function() {
4820
+ var G, Ne, pe, Le, jt, ya, Ve, Pt, on, rt, Rn, Rt, fa, Ge, nn = !1, Ia = !1, $a = [], Yt, gt, fo, mo, Ol, Rl, In, tn, Pn, Ln = !1, ma = !1, Ca, Xe, vo = [], Eo = !1, Fa = [], Ha = typeof document < "u", va = jo, Pl = na || Ft ? "cssFloat" : "float", xc = Ha && !hr && !jo && "draggable" in document.createElement("div"), Dr = (function() {
4821
4821
  if (Ha) {
4822
4822
  if (Ft)
4823
4823
  return !1;
4824
4824
  var e = document.createElement("x");
4825
4825
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
4826
4826
  }
4827
- })(), Dr = function(n, t) {
4827
+ })(), Er = function(n, t) {
4828
4828
  var a = ue(n), l = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), o = dn(n, 0, t), s = dn(n, 1, t), r = o && ue(o), i = s && ue(s), u = r && parseInt(r.marginLeft) + parseInt(r.marginRight) + ze(o).width, f = i && parseInt(i.marginLeft) + parseInt(i.marginRight) + ze(s).width;
4829
4829
  if (a.display === "flex")
4830
4830
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -4848,7 +4848,7 @@ var G, Ne, pe, Le, jt, ya, Ve, Pt, on, rt, Rn, Rt, fa, Ge, nn = !1, Ia = !1, $a
4848
4848
  return a = l;
4849
4849
  }
4850
4850
  }), a;
4851
- }, Er = function(n) {
4851
+ }, xr = function(n) {
4852
4852
  function t(o, s) {
4853
4853
  return function(r, i, u, f) {
4854
4854
  var c = r.options.group.name && i.options.group.name && r.options.group.name === i.options.group.name;
@@ -4868,12 +4868,12 @@ var G, Ne, pe, Le, jt, ya, Ve, Pt, on, rt, Rn, Rt, fa, Ge, nn = !1, Ia = !1, $a
4868
4868
  (!l || Do(l) != "object") && (l = {
4869
4869
  name: l
4870
4870
  }), a.name = l.name, a.checkPull = t(l.pull, !0), a.checkPut = t(l.put), a.revertClone = l.revertClone, n.group = a;
4871
- }, xr = function() {
4872
- !kr && pe && ue(pe, "display", "none");
4873
4871
  }, Tr = function() {
4874
- !kr && pe && ue(pe, "display", "");
4872
+ !Dr && pe && ue(pe, "display", "none");
4873
+ }, Ar = function() {
4874
+ !Dr && pe && ue(pe, "display", "");
4875
4875
  };
4876
- Ha && !pr && document.addEventListener("click", function(e) {
4876
+ Ha && !hr && document.addEventListener("click", function(e) {
4877
4877
  if (Ia)
4878
4878
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Ia = !1, !1;
4879
4879
  }, !0);
@@ -4910,7 +4910,7 @@ function ce(e, n) {
4910
4910
  // will be set to same as swapThreshold if default
4911
4911
  removeCloneOnHide: !0,
4912
4912
  direction: function() {
4913
- return Dr(e, this.options);
4913
+ return Er(e, this.options);
4914
4914
  },
4915
4915
  ghostClass: "sortable-ghost",
4916
4916
  chosenClass: "sortable-chosen",
@@ -4944,7 +4944,7 @@ function ce(e, n) {
4944
4944
  aa.initializePlugins(this, e, t);
4945
4945
  for (var a in t)
4946
4946
  !(a in n) && (n[a] = t[a]);
4947
- Er(n);
4947
+ xr(n);
4948
4948
  for (var l in this)
4949
4949
  l.charAt(0) === "_" && typeof this[l] == "function" && (this[l] = this[l].bind(this));
4950
4950
  this.nativeDraggable = n.forceFallback ? !1 : xc, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? Me(e, "pointerdown", this._onTapStart) : (Me(e, "mousedown", this._onTapStart), Me(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Me(e, "dragover", this), Me(e, "dragenter", this)), $a.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), $t(this, wc());
@@ -5017,7 +5017,7 @@ ce.prototype = /** @lends Sortable.prototype */
5017
5017
  originalEvent: n
5018
5018
  }), lt(G, s.chosenClass, !0);
5019
5019
  }, s.ignore.split(",").forEach(function(f) {
5020
- br(G, f.trim(), po);
5020
+ yr(G, f.trim(), po);
5021
5021
  }), Me(r, "dragover", Ht), Me(r, "mousemove", Ht), Me(r, "touchmove", Ht), s.supportPointer ? (Me(r, "pointerup", l._onDrop), !this.nativeDraggable && Me(r, "pointercancel", l._onDrop)) : (Me(r, "mouseup", l._onDrop), Me(r, "touchend", l._onDrop), Me(r, "touchcancel", l._onDrop)), $l && this.nativeDraggable && (this.options.touchStartThreshold = 4, G.draggable = !0), tt("delayStart", this, {
5022
5022
  evt: n
5023
5023
  }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(na || Ft))) {
@@ -5039,7 +5039,7 @@ ce.prototype = /** @lends Sortable.prototype */
5039
5039
  },
5040
5040
  _disableDelayedDragEvents: function() {
5041
5041
  var n = this.el.ownerDocument;
5042
- xe(n, "mouseup", this._disableDelayedDrag), xe(n, "touchend", this._disableDelayedDrag), xe(n, "touchcancel", this._disableDelayedDrag), xe(n, "pointerup", this._disableDelayedDrag), xe(n, "pointercancel", this._disableDelayedDrag), xe(n, "mousemove", this._delayedDragTouchMoveHandler), xe(n, "touchmove", this._delayedDragTouchMoveHandler), xe(n, "pointermove", this._delayedDragTouchMoveHandler);
5042
+ Te(n, "mouseup", this._disableDelayedDrag), Te(n, "touchend", this._disableDelayedDrag), Te(n, "touchcancel", this._disableDelayedDrag), Te(n, "pointerup", this._disableDelayedDrag), Te(n, "pointercancel", this._disableDelayedDrag), Te(n, "mousemove", this._delayedDragTouchMoveHandler), Te(n, "touchmove", this._delayedDragTouchMoveHandler), Te(n, "pointermove", this._delayedDragTouchMoveHandler);
5043
5043
  },
5044
5044
  _triggerDragStart: function(n, t) {
5045
5045
  t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? Me(document, "pointermove", this._onTouchMove) : t ? Me(document, "touchmove", this._onTouchMove) : Me(document, "mousemove", this._onTouchMove) : (Me(G, "dragend", this), Me(Le, "dragstart", this._onDragStart));
@@ -5066,7 +5066,7 @@ ce.prototype = /** @lends Sortable.prototype */
5066
5066
  },
5067
5067
  _emulateDragOver: function() {
5068
5068
  if (gt) {
5069
- this._lastX = gt.clientX, this._lastY = gt.clientY, xr();
5069
+ this._lastX = gt.clientX, this._lastY = gt.clientY, Tr();
5070
5070
  for (var n = document.elementFromPoint(gt.clientX, gt.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(gt.clientX, gt.clientY), n !== t); )
5071
5071
  t = n;
5072
5072
  if (G.parentNode[nt]._isOutsideThisEl(n), t)
@@ -5082,8 +5082,8 @@ ce.prototype = /** @lends Sortable.prototype */
5082
5082
  break;
5083
5083
  }
5084
5084
  n = t;
5085
- } while (t = gr(t));
5086
- Tr();
5085
+ } while (t = br(t));
5086
+ Ar();
5087
5087
  }
5088
5088
  },
5089
5089
  _onTouchMove: function(n) {
@@ -5128,12 +5128,12 @@ ce.prototype = /** @lends Sortable.prototype */
5128
5128
  this._onDrop();
5129
5129
  return;
5130
5130
  }
5131
- tt("setupClone", this), ce.eventCanceled || (Ve = wr(G), Ve.removeAttribute("id"), Ve.draggable = !1, Ve.style["will-change"] = "", this._hideClone(), lt(Ve, this.options.chosenClass, !1), ce.clone = Ve), a.cloneId = wa(function() {
5131
+ tt("setupClone", this), ce.eventCanceled || (Ve = Sr(G), Ve.removeAttribute("id"), Ve.draggable = !1, Ve.style["will-change"] = "", this._hideClone(), lt(Ve, this.options.chosenClass, !1), ce.clone = Ve), a.cloneId = wa(function() {
5132
5132
  tt("clone", a), !ce.eventCanceled && (a.options.removeCloneOnHide || Le.insertBefore(Ve, G), a._hideClone(), et({
5133
5133
  sortable: a,
5134
5134
  name: "clone"
5135
5135
  }));
5136
- }), !t && lt(G, o.dragClass, !0), t ? (Ia = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (xe(document, "mouseup", a._onDrop), xe(document, "touchend", a._onDrop), xe(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, G)), Me(document, "drop", a), ue(G, "transform", "translateZ(0)")), nn = !0, a._dragStartId = wa(a._dragStarted.bind(a, t, n)), Me(document, "selectstart", a), In = !0, window.getSelection().removeAllRanges(), Bn && ue(document.body, "user-select", "none");
5136
+ }), !t && lt(G, o.dragClass, !0), t ? (Ia = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (Te(document, "mouseup", a._onDrop), Te(document, "touchend", a._onDrop), Te(document, "touchcancel", a._onDrop), l && (l.effectAllowed = "move", o.setData && o.setData.call(a, l, G)), Me(document, "drop", a), ue(G, "transform", "translateZ(0)")), nn = !0, a._dragStartId = wa(a._dragStarted.bind(a, t, n)), Me(document, "selectstart", a), In = !0, window.getSelection().removeAllRanges(), Bn && ue(document.body, "user-select", "none");
5137
5137
  },
5138
5138
  // Returns true - if no further action is needed (either inserted or another condition)
5139
5139
  _onDragOver: function(n) {
@@ -5214,7 +5214,7 @@ ce.prototype = /** @lends Sortable.prototype */
5214
5214
  w = b === 1;
5215
5215
  var E = pa(Le, t, G, l, a, o, n, w);
5216
5216
  if (E !== !1)
5217
- return (E === 1 || E === -1) && (w = E === 1), Eo = !0, setTimeout($c, 30), d(), w && !T ? t.appendChild(G) : a.parentNode.insertBefore(G, w ? T : a), z && Cr(z, 0, V - z.scrollTop), Ne = G.parentNode, O !== void 0 && !ma && (Ca = Math.abs(O - ze(a)[L])), C(), v(!0);
5217
+ return (E === 1 || E === -1) && (w = E === 1), Eo = !0, setTimeout($c, 30), d(), w && !T ? t.appendChild(G) : a.parentNode.insertBefore(G, w ? T : a), z && wr(z, 0, V - z.scrollTop), Ne = G.parentNode, O !== void 0 && !ma && (Ca = Math.abs(O - ze(a)[L])), C(), v(!0);
5218
5218
  }
5219
5219
  if (t.contains(G))
5220
5220
  return v(!1);
@@ -5223,11 +5223,11 @@ ce.prototype = /** @lends Sortable.prototype */
5223
5223
  },
5224
5224
  _ignoreWhileAnimating: null,
5225
5225
  _offMoveEvents: function() {
5226
- xe(document, "mousemove", this._onTouchMove), xe(document, "touchmove", this._onTouchMove), xe(document, "pointermove", this._onTouchMove), xe(document, "dragover", Ht), xe(document, "mousemove", Ht), xe(document, "touchmove", Ht);
5226
+ Te(document, "mousemove", this._onTouchMove), Te(document, "touchmove", this._onTouchMove), Te(document, "pointermove", this._onTouchMove), Te(document, "dragover", Ht), Te(document, "mousemove", Ht), Te(document, "touchmove", Ht);
5227
5227
  },
5228
5228
  _offUpEvents: function() {
5229
5229
  var n = this.el.ownerDocument;
5230
- xe(n, "mouseup", this._onDrop), xe(n, "touchend", this._onDrop), xe(n, "pointerup", this._onDrop), xe(n, "pointercancel", this._onDrop), xe(n, "touchcancel", this._onDrop), xe(document, "selectstart", this);
5230
+ Te(n, "mouseup", this._onDrop), Te(n, "touchend", this._onDrop), Te(n, "pointerup", this._onDrop), Te(n, "pointercancel", this._onDrop), Te(n, "touchcancel", this._onDrop), Te(document, "selectstart", this);
5231
5231
  },
5232
5232
  _onDrop: function(n) {
5233
5233
  var t = this.el, a = this.options;
@@ -5237,7 +5237,7 @@ ce.prototype = /** @lends Sortable.prototype */
5237
5237
  this._nulling();
5238
5238
  return;
5239
5239
  }
5240
- nn = !1, ma = !1, Ln = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xo(this.cloneId), xo(this._dragStartId), this.nativeDraggable && (xe(document, "drop", this), xe(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Bn && ue(document.body, "user-select", ""), ue(G, "transform", ""), n && (In && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), pe && pe.parentNode && pe.parentNode.removeChild(pe), (Le === Ne || Ge && Ge.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), G && (this.nativeDraggable && xe(G, "dragend", this), po(G), G.style["will-change"] = "", In && !nn && lt(G, Ge ? Ge.options.ghostClass : this.options.ghostClass, !1), lt(G, this.options.chosenClass, !1), et({
5240
+ nn = !1, ma = !1, Ln = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), xo(this.cloneId), xo(this._dragStartId), this.nativeDraggable && (Te(document, "drop", this), Te(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Bn && ue(document.body, "user-select", ""), ue(G, "transform", ""), n && (In && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), pe && pe.parentNode && pe.parentNode.removeChild(pe), (Le === Ne || Ge && Ge.lastPutMode !== "clone") && Ve && Ve.parentNode && Ve.parentNode.removeChild(Ve), G && (this.nativeDraggable && Te(G, "dragend", this), po(G), G.style["will-change"] = "", In && !nn && lt(G, Ge ? Ge.options.ghostClass : this.options.ghostClass, !1), lt(G, this.options.chosenClass, !1), et({
5241
5241
  sortable: this,
5242
5242
  name: "unchoose",
5243
5243
  toEl: Ne,
@@ -5354,7 +5354,7 @@ ce.prototype = /** @lends Sortable.prototype */
5354
5354
  if (t === void 0)
5355
5355
  return a[n];
5356
5356
  var l = aa.modifyOption(this, n, t);
5357
- typeof l < "u" ? a[n] = l : a[n] = t, n === "group" && Er(a);
5357
+ typeof l < "u" ? a[n] = l : a[n] = t, n === "group" && xr(a);
5358
5358
  },
5359
5359
  /**
5360
5360
  * Destroy
@@ -5362,7 +5362,7 @@ ce.prototype = /** @lends Sortable.prototype */
5362
5362
  destroy: function() {
5363
5363
  tt("destroy", this);
5364
5364
  var n = this.el;
5365
- n[nt] = null, xe(n, "mousedown", this._onTapStart), xe(n, "touchstart", this._onTapStart), xe(n, "pointerdown", this._onTapStart), this.nativeDraggable && (xe(n, "dragover", this), xe(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
5365
+ n[nt] = null, Te(n, "mousedown", this._onTapStart), Te(n, "touchstart", this._onTapStart), Te(n, "pointerdown", this._onTapStart), this.nativeDraggable && (Te(n, "dragover", this), Te(n, "dragenter", this)), Array.prototype.forEach.call(n.querySelectorAll("[draggable]"), function(t) {
5366
5366
  t.removeAttribute("draggable");
5367
5367
  }), this._onDrop(), this._disableDelayedDragEvents(), $a.splice($a.indexOf(this.el), 1), this.el = n = null;
5368
5368
  },
@@ -5400,11 +5400,11 @@ function $c() {
5400
5400
  Eo = !1;
5401
5401
  }
5402
5402
  function Fc(e, n, t) {
5403
- var a = ze(dn(t.el, 0, t.options, !0)), l = Sr(t.el, t.options, pe), o = 10;
5403
+ var a = ze(dn(t.el, 0, t.options, !0)), l = kr(t.el, t.options, pe), o = 10;
5404
5404
  return n ? e.clientX < l.left - o || e.clientY < a.top && e.clientX < a.right : e.clientY < l.top - o || e.clientY < a.bottom && e.clientX < a.left;
5405
5405
  }
5406
5406
  function _c(e, n, t) {
5407
- var a = ze(qo(t.el, t.options.draggable)), l = Sr(t.el, t.options, pe), o = 10;
5407
+ var a = ze(qo(t.el, t.options.draggable)), l = kr(t.el, t.options, pe), o = 10;
5408
5408
  return n ? e.clientX > l.right + o || e.clientY > a.bottom && e.clientX > a.left : e.clientY > l.bottom + o || e.clientX > a.right && e.clientY > a.top;
5409
5409
  }
5410
5410
  function Bc(e, n, t, a, l, o, s, r) {
@@ -5446,21 +5446,21 @@ Ha && Me(document, "touchmove", function(e) {
5446
5446
  });
5447
5447
  ce.utils = {
5448
5448
  on: Me,
5449
- off: xe,
5449
+ off: Te,
5450
5450
  css: ue,
5451
- find: br,
5451
+ find: yr,
5452
5452
  is: function(n, t) {
5453
5453
  return !!bt(n, t, n, !1);
5454
5454
  },
5455
5455
  extend: yc,
5456
- throttle: yr,
5456
+ throttle: Cr,
5457
5457
  closest: bt,
5458
5458
  toggleClass: lt,
5459
- clone: wr,
5459
+ clone: Sr,
5460
5460
  index: vt,
5461
5461
  nextTick: wa,
5462
5462
  cancelNextTick: xo,
5463
- detectDirection: Dr,
5463
+ detectDirection: Er,
5464
5464
  getChild: dn,
5465
5465
  expando: nt
5466
5466
  };
@@ -5503,7 +5503,7 @@ function Lc() {
5503
5503
  !this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
5504
5504
  },
5505
5505
  drop: function() {
5506
- this.sortable.nativeDraggable ? xe(document, "dragover", this._handleAutoScroll) : (xe(document, "pointermove", this._handleFallbackAutoScroll), xe(document, "touchmove", this._handleFallbackAutoScroll), xe(document, "mousemove", this._handleFallbackAutoScroll)), Ll(), Sa(), Cc();
5506
+ this.sortable.nativeDraggable ? Te(document, "dragover", this._handleAutoScroll) : (Te(document, "pointermove", this._handleFallbackAutoScroll), Te(document, "touchmove", this._handleFallbackAutoScroll), Te(document, "mousemove", this._handleFallbackAutoScroll)), Ll(), Sa(), Cc();
5507
5507
  },
5508
5508
  nulling: function() {
5509
5509
  _a = To = $n = Ao = Fn = ho = go = null, He.length = 0;
@@ -5541,7 +5541,7 @@ function Sa() {
5541
5541
  function Ll() {
5542
5542
  clearInterval(Fn);
5543
5543
  }
5544
- var bo = yr(function(e, n, t, a) {
5544
+ var bo = Cr(function(e, n, t, a) {
5545
5545
  if (n.scroll) {
5546
5546
  var l = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, s = n.scrollSensitivity, r = n.scrollSpeed, i = St(), u = !1, f;
5547
5547
  To !== t && (To = t, Sa(), $n = n.scroll, f = n.scrollFn, $n === !0 && ($n = Lt(t, !0)));
@@ -5556,14 +5556,14 @@ var bo = yr(function(e, n, t, a) {
5556
5556
  (He[c].vx != V || He[c].vy != F || He[c].el !== p) && (He[c].el = p, He[c].vx = V, He[c].vy = F, clearInterval(He[c].pid), (V != 0 || F != 0) && (u = !0, He[c].pid = setInterval((function() {
5557
5557
  a && this.layer === 0 && ce.active._onTouchMove(_a);
5558
5558
  var T = He[this.layer].vy ? He[this.layer].vy * r : 0, w = He[this.layer].vx ? He[this.layer].vx * r : 0;
5559
- typeof f == "function" && f.call(ce.dragged.parentNode[nt], w, T, e, _a, He[this.layer].el) !== "continue" || Cr(He[this.layer].el, w, T);
5559
+ typeof f == "function" && f.call(ce.dragged.parentNode[nt], w, T, e, _a, He[this.layer].el) !== "continue" || wr(He[this.layer].el, w, T);
5560
5560
  }).bind({
5561
5561
  layer: c
5562
5562
  }), 24))), c++;
5563
5563
  } while (n.bubbleScroll && h !== i && (h = Lt(h, !1)));
5564
5564
  Ao = u;
5565
5565
  }
5566
- }, 30), Ar = function(n) {
5566
+ }, 30), Mr = function(n) {
5567
5567
  var t = n.originalEvent, a = n.putSortable, l = n.dragEl, o = n.activeSortable, s = n.dispatchSortableEvent, r = n.hideGhostForTarget, i = n.unhideGhostForTarget;
5568
5568
  if (t) {
5569
5569
  var u = a || o;
@@ -5589,7 +5589,7 @@ Ko.prototype = {
5589
5589
  var l = dn(this.sortable.el, this.startIndex, this.options);
5590
5590
  l ? this.sortable.el.insertBefore(t, l) : this.sortable.el.appendChild(t), this.sortable.animateAll(), a && a.animateAll();
5591
5591
  },
5592
- drop: Ar
5592
+ drop: Mr
5593
5593
  };
5594
5594
  $t(Ko, {
5595
5595
  pluginName: "revertOnSpill"
@@ -5601,16 +5601,16 @@ Wo.prototype = {
5601
5601
  var t = n.dragEl, a = n.putSortable, l = a || this.sortable;
5602
5602
  l.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), l.animateAll();
5603
5603
  },
5604
- drop: Ar
5604
+ drop: Mr
5605
5605
  };
5606
5606
  $t(Wo, {
5607
5607
  pluginName: "removeOnSpill"
5608
5608
  });
5609
5609
  ce.mount(new Lc());
5610
5610
  ce.mount(Wo, Ko);
5611
- function Mr(e, n, t = {}) {
5611
+ function Ir(e, n, t = {}) {
5612
5612
  let a;
5613
- const { document: l = cs, watchElement: o = !1, ...s } = t, r = { onUpdate: (k) => {
5613
+ const { document: l = ds, watchElement: o = !1, ...s } = t, r = { onUpdate: (k) => {
5614
5614
  Uc(n, k.oldIndex, k.newIndex, k);
5615
5615
  } }, i = () => {
5616
5616
  a?.destroy(), a = void 0;
@@ -5627,16 +5627,16 @@ function Mr(e, n, t = {}) {
5627
5627
  else return a?.option(k);
5628
5628
  };
5629
5629
  let h;
5630
- o && typeof e != "string" ? h = Ae(() => cl(e), (k) => {
5630
+ o && typeof e != "string" ? h = xe(() => cl(e), (k) => {
5631
5631
  i(), k && u(k);
5632
5632
  }, {
5633
5633
  immediate: !0,
5634
5634
  flush: "post"
5635
- }) : ds(f);
5635
+ }) : fs(f);
5636
5636
  const p = () => {
5637
5637
  i();
5638
5638
  };
5639
- return fs(() => {
5639
+ return ms(() => {
5640
5640
  h?.(), i();
5641
5641
  }), {
5642
5642
  stop: p,
@@ -5664,21 +5664,21 @@ function Uc(e, n, t, a = null) {
5664
5664
  const We = [];
5665
5665
  for (let e = 0; e < 256; ++e)
5666
5666
  We.push((e + 256).toString(16).slice(1));
5667
- function Ir(e, n = 0) {
5667
+ function $r(e, n = 0) {
5668
5668
  return (We[e[n + 0]] + We[e[n + 1]] + We[e[n + 2]] + We[e[n + 3]] + "-" + We[e[n + 4]] + We[e[n + 5]] + "-" + We[e[n + 6]] + We[e[n + 7]] + "-" + We[e[n + 8]] + We[e[n + 9]] + "-" + We[e[n + 10]] + We[e[n + 11]] + We[e[n + 12]] + We[e[n + 13]] + We[e[n + 14]] + We[e[n + 15]]).toLowerCase();
5669
5669
  }
5670
5670
  const Yc = new Uint8Array(16);
5671
- function $r() {
5671
+ function Fr() {
5672
5672
  return crypto.getRandomValues(Yc);
5673
5673
  }
5674
5674
  const En = {};
5675
5675
  function Hc(e, n, t) {
5676
5676
  let a;
5677
5677
  {
5678
- const l = Date.now(), o = $r();
5678
+ const l = Date.now(), o = Fr();
5679
5679
  zc(En, l, o), a = jc(o, En.msecs, En.nsecs, En.clockseq, En.node, n, t);
5680
5680
  }
5681
- return n ?? Ir(a);
5681
+ return n ?? $r(a);
5682
5682
  }
5683
5683
  function zc(e, n, t) {
5684
5684
  return e.msecs ??= -1 / 0, e.nsecs ??= 0, n === e.msecs ? (e.nsecs++, e.nsecs >= 1e4 && (e.node = void 0, e.nsecs = 0)) : n > e.msecs ? e.nsecs = 0 : n < e.msecs && (e.node = void 0), e.node || (e.node = t.slice(10, 16), e.node[0] |= 1, e.clockseq = (t[8] << 8 | t[9]) & 16383), e.msecs = n, e;
@@ -5704,10 +5704,10 @@ function qc(e, n, t) {
5704
5704
  }
5705
5705
  function Kc(e, n, t) {
5706
5706
  e = e || {};
5707
- const a = e.random ?? e.rng?.() ?? $r();
5707
+ const a = e.random ?? e.rng?.() ?? Fr();
5708
5708
  if (a.length < 16)
5709
5709
  throw new Error("Random bytes length must be >= 16");
5710
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ir(a);
5710
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, $r(a);
5711
5711
  }
5712
5712
  const Wc = () => Hc(), tv = () => qc(), xn = "a-sortable-widget__handle", Gc = "a-sortable-widget__ghost", Xc = "a-sortable-widget__drag", Zc = "a-sortable-widget__chosen", Vl = "a-sortable-widget__group";
5713
5713
  function Jc(e, n, t, a) {
@@ -5830,7 +5830,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
5830
5830
  },
5831
5831
  emits: ["update:modelValue", "update:dirty", "onStart", "onEnd", "onAddAfter", "onAddLast", "onEdit", "onDelete"],
5832
5832
  setup(e, { expose: n, emit: t }) {
5833
- const a = e, l = t, o = as(() => a.modelValue), { t: s } = Oe(), r = (w) => {
5833
+ const a = e, l = t, o = os(() => a.modelValue), { t: s } = Oe(), r = (w) => {
5834
5834
  l("onAddAfter", w);
5835
5835
  }, i = (w) => {
5836
5836
  if (v.value = w, a.disableDeleteDialog) {
@@ -5849,7 +5849,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
5849
5849
  }, c = P(() => A(a.widgetIdentifierId) ? Qc + M.value : a.widgetIdentifierId), h = P(() => a.rootClassName + " " + (a.chips ? a.rootClassName + "--chips" : "")), p = () => {
5850
5850
  if (a.disableDraggable || !H.value) return;
5851
5851
  const w = H.value.querySelector("." + Vl);
5852
- w && (O.value = Mr(w, [], {
5852
+ w && (O.value = Ir(w, [], {
5853
5853
  handle: "." + xn,
5854
5854
  ghostClass: Gc,
5855
5855
  dragClass: Xc,
@@ -5888,12 +5888,12 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
5888
5888
  $();
5889
5889
  }), je(() => {
5890
5890
  H.value = document.querySelector("#" + c.value), p();
5891
- }), Ae(
5891
+ }), xe(
5892
5892
  () => a.disableDraggable,
5893
5893
  async (w) => {
5894
5894
  $(), w === !1 && p();
5895
5895
  }
5896
- ), Ae(
5896
+ ), xe(
5897
5897
  () => a.dirty,
5898
5898
  (w) => {
5899
5899
  m.value = w;
@@ -5982,7 +5982,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
5982
5982
  class: Je(["a-sortable-widget__buttons", { "a-sortable-widget__buttons--permanent": e.permanentButtons }])
5983
5983
  }, [
5984
5984
  he(w.$slots, "item-buttons", { item: K }, () => [
5985
- e.showEditButton ? (I(), W(Te, {
5985
+ e.showEditButton ? (I(), W(Ae, {
5986
5986
  key: 0,
5987
5987
  icon: "",
5988
5988
  size: "x-small",
@@ -6000,7 +6000,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
6000
6000
  ]),
6001
6001
  _: 1
6002
6002
  }, 8, ["onClick"])) : re("", !0),
6003
- e.showDeleteButton ? (I(), W(Te, {
6003
+ e.showDeleteButton ? (I(), W(Ae, {
6004
6004
  key: 1,
6005
6005
  icon: "",
6006
6006
  size: "x-small",
@@ -6019,7 +6019,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
6019
6019
  _: 1
6020
6020
  }, 8, ["onClick"])) : re("", !0),
6021
6021
  he(w.$slots, "buttons", { item: K }),
6022
- e.showAddAfterButton ? (I(), W(Te, {
6022
+ e.showAddAfterButton ? (I(), W(Ae, {
6023
6023
  key: 2,
6024
6024
  icon: "",
6025
6025
  size: "x-small",
@@ -6068,7 +6068,7 @@ const Qc = "a-sortable-", ed = ["id"], td = { key: 1 }, nd = { class: "a-sortabl
6068
6068
  he(w.$slots, "add-last-activator", {
6069
6069
  props: { onClick: fe(() => f(), ["stop"]) }
6070
6070
  }, () => [
6071
- e.showAddLastButton ? (I(), W(Te, {
6071
+ e.showAddLastButton ? (I(), W(Ae, {
6072
6072
  key: 0,
6073
6073
  size: "small",
6074
6074
  "prepend-icon": "mdi-plus",
@@ -6173,7 +6173,7 @@ const sd = {
6173
6173
  },
6174
6174
  emits: ["onClose"],
6175
6175
  setup(e, { emit: n }) {
6176
- const t = e, a = n, l = ae(at), o = ae(ft), s = ae(ur);
6176
+ const t = e, a = n, l = ae(at), o = ae(ft), s = ae(cr);
6177
6177
  if (A(s) || A(l) || A(o))
6178
6178
  throw new Error("Incorrect provide/inject config.");
6179
6179
  const r = N("add"), i = N(""), u = N(!1), f = N(!1), c = N(!1), h = N(!1), p = N(!1), k = N([]), g = N(null), { required: m, maxLength: d } = Yo(), v = {
@@ -6186,7 +6186,7 @@ const sd = {
6186
6186
  required: m,
6187
6187
  maxLength: d(100)
6188
6188
  }
6189
- }, x = xa($, { itemEdit: g }, { $stopPropagation: !0 }), b = fr(), {
6189
+ }, x = xa($, { itemEdit: g }, { $stopPropagation: !0 }), b = mr(), {
6190
6190
  createUserAdminConfig: O,
6191
6191
  useFetchUserAdminConfigList: H,
6192
6192
  updateUserAdminConfigPositions: M,
@@ -6194,7 +6194,7 @@ const sd = {
6194
6194
  updateUserAdminConfig: z
6195
6195
  } = (
6196
6196
  // eslint-disable-next-line vue/no-setup-props-reactivity-loss
6197
- mr(t.client, t.system)
6197
+ vr(t.client, t.system)
6198
6198
  ), { t: V } = Oe(), { showErrorsDefault: F, showValidationError: R, showWarningT: T } = Qn(), { createDefaultUserAdminConfig: w } = rd(), E = async () => {
6199
6199
  c.value = !0;
6200
6200
  const J = k.value.map((De) => De.id);
@@ -6203,7 +6203,7 @@ const sd = {
6203
6203
  } catch (De) {
6204
6204
  F(De), c.value = !1;
6205
6205
  }
6206
- }, { serializeFilters: B } = ir(o, l), U = t.system + "_" + t.subject, K = async () => {
6206
+ }, { serializeFilters: B } = ur(o, l), U = t.system + "_" + t.subject, K = async () => {
6207
6207
  c.value = !0, p.value = !1;
6208
6208
  const q = w(t.system);
6209
6209
  q.user = t.user, q.configType = Aa.FilterBookmark, q.layoutType = Wt.Desktop, q.systemResource = U, q.customName = i.value, q.data = {
@@ -6231,7 +6231,7 @@ const sd = {
6231
6231
  De
6232
6232
  ), a("onClose");
6233
6233
  } catch (J) {
6234
- if (tr(J) && Ii(
6234
+ if (nr(J) && Ii(
6235
6235
  J,
6236
6236
  "error_field_not_unique",
6237
6237
  "cms.userAdminConfig.model.systemResource"
@@ -6294,7 +6294,7 @@ const sd = {
6294
6294
  h.value = !1;
6295
6295
  }
6296
6296
  };
6297
- return Ae(r, () => {
6297
+ return xe(r, () => {
6298
6298
  p.value = !1, r.value === "manage" && se();
6299
6299
  }), (q, J) => {
6300
6300
  const De = rn("ABtnTertiary"), ee = rn("ABtnPrimary");
@@ -6315,7 +6315,7 @@ const sd = {
6315
6315
  }),
6316
6316
  S(Pa, { class: "pt-0" }, {
6317
6317
  default: D(() => [
6318
- S($s, {
6318
+ S(Fs, {
6319
6319
  modelValue: r.value,
6320
6320
  "onUpdate:modelValue": J[1] || (J[1] = (le) => r.value = le),
6321
6321
  "fixed-tabs": ""
@@ -6407,7 +6407,7 @@ const sd = {
6407
6407
  name: "item-buttons",
6408
6408
  fn: D(({ item: le }) => [
6409
6409
  g.value && g.value.id === le.raw.id ? (I(), ne("div", dd, [
6410
- S(Te, {
6410
+ S(Ae, {
6411
6411
  icon: "",
6412
6412
  size: "x-small",
6413
6413
  variant: "text",
@@ -6424,7 +6424,7 @@ const sd = {
6424
6424
  ]),
6425
6425
  _: 1
6426
6426
  }, 8, ["onClick"]),
6427
- S(Te, {
6427
+ S(Ae, {
6428
6428
  icon: "",
6429
6429
  size: "x-small",
6430
6430
  variant: "text",
@@ -6483,7 +6483,7 @@ const sd = {
6483
6483
  });
6484
6484
  };
6485
6485
  }
6486
- }), Fr = /* @__PURE__ */ Ee({
6486
+ }), _r = /* @__PURE__ */ Ee({
6487
6487
  __name: "AFilterBookmarkButton",
6488
6488
  props: /* @__PURE__ */ Qe({
6489
6489
  client: {},
@@ -6505,7 +6505,7 @@ const sd = {
6505
6505
  Ya(l), n.value = !0;
6506
6506
  }, { t: a } = Oe();
6507
6507
  return (l, o) => (I(), ne(qe, null, [
6508
- S(Te, {
6508
+ S(Ae, {
6509
6509
  class: Je([e.buttonClass, "text-medium-emphasis px-2"]),
6510
6510
  "data-cy": e.dataCy,
6511
6511
  "min-width": "36px",
@@ -6602,7 +6602,7 @@ const sd = {
6602
6602
  e.store && e.userId && _(Ie)(e.client) ? (I(), W(Tt, { key: 0 }, {
6603
6603
  default: D(() => [
6604
6604
  ye("div", vd, [
6605
- u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(vr, {
6605
+ u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(pr, {
6606
6606
  key: 0,
6607
6607
  "datatable-hidden-columns": o.value,
6608
6608
  "onUpdate:datatableHiddenColumns": $[0] || ($[0] = (x) => o.value = x),
@@ -6632,10 +6632,10 @@ const sd = {
6632
6632
  xl: _(r).fields[x].render.xl || 12
6633
6633
  }, {
6634
6634
  default: D(() => [
6635
- he(C.$slots, _(cr)(x), {
6635
+ he(C.$slots, _(dr)(x), {
6636
6636
  itemConfig: _(r).fields[x]
6637
6637
  }, () => [
6638
- S(dr, { name: x }, null, 8, ["name"])
6638
+ S(fr, { name: x }, null, 8, ["name"])
6639
6639
  ])
6640
6640
  ]),
6641
6641
  _: 2
@@ -6647,9 +6647,9 @@ const sd = {
6647
6647
  ]),
6648
6648
  e.hideButtons ? re("", !0) : (I(), ne("div", pd, [
6649
6649
  he(C.$slots, "buttons", {}, () => [
6650
- S(lr, { touched: d.value }, null, 8, ["touched"]),
6651
- S(rr, { onReset: m }),
6652
- u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(Fr, {
6650
+ S(rr, { touched: d.value }, null, 8, ["touched"]),
6651
+ S(sr, { onReset: m }),
6652
+ u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(_r, {
6653
6653
  key: 0,
6654
6654
  client: e.client,
6655
6655
  user: e.userId,
@@ -6675,7 +6675,7 @@ const sd = {
6675
6675
  const t = n, a = N(!1), l = (s) => {
6676
6676
  Ya(s), a.value = !a.value, t("advancedFilter");
6677
6677
  }, { t: o } = Oe();
6678
- return (s, r) => (I(), W(Te, {
6678
+ return (s, r) => (I(), W(Ae, {
6679
6679
  class: Je(e.buttonClass),
6680
6680
  "data-cy": e.dataCy,
6681
6681
  icon: "",
@@ -6833,7 +6833,7 @@ const sd = {
6833
6833
  default: D(() => [
6834
6834
  he($.$slots, "bookmarks", {}, () => [
6835
6835
  ye("div", yd, [
6836
- u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(vr, {
6836
+ u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(pr, {
6837
6837
  key: 0,
6838
6838
  "datatable-hidden-columns": o.value,
6839
6839
  "onUpdate:datatableHiddenColumns": x[0] || (x[0] = (b) => o.value = b),
@@ -6886,9 +6886,9 @@ const sd = {
6886
6886
  }, {
6887
6887
  default: D(() => [
6888
6888
  he($.$slots, "buttons", {}, () => [
6889
- S(lr, { touched: v.value }, null, 8, ["touched"]),
6890
- S(rr, { onReset: m }),
6891
- u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(Fr, {
6889
+ S(rr, { touched: v.value }, null, 8, ["touched"]),
6890
+ S(sr, { onReset: m }),
6891
+ u.value.system && u.value.subject && e.userId && _(Ie)(e.client) ? (I(), W(_r, {
6892
6892
  key: 0,
6893
6893
  client: e.client,
6894
6894
  user: e.userId,
@@ -6921,10 +6921,10 @@ const sd = {
6921
6921
  xl: _(r).fields[b].render.xl || 2
6922
6922
  }, {
6923
6923
  default: D(() => [
6924
- he($.$slots, _(cr)(b), {
6924
+ he($.$slots, _(dr)(b), {
6925
6925
  itemConfig: _(r).fields[b]
6926
6926
  }, () => [
6927
- S(dr, { name: b }, null, 8, ["name"])
6927
+ S(fr, { name: b }, null, 8, ["name"])
6928
6928
  ])
6929
6929
  ]),
6930
6930
  _: 2
@@ -6934,7 +6934,7 @@ const sd = {
6934
6934
  })
6935
6935
  ])
6936
6936
  ], 2), [
6937
- [os, s.value]
6937
+ [ls, s.value]
6938
6938
  ])
6939
6939
  ]),
6940
6940
  _: 3
@@ -6948,7 +6948,7 @@ const sd = {
6948
6948
  e().delete(ea(n, t), o).then((i) => ta(i.status) ? i.data ? s(i.data) : i.status === pn ? s(null) : r(new yt()) : r(new bn(i.status))).catch((i) => Gn(i) ? r(new hn(i, i.config?.url)) : Xn(i) ? r(new gn(i, a, l, i)) : Jn(i) ? r(new Cn(i, a, l, i)) : Zn(i) ? r(new yn(i, i)) : r(new yt(i)));
6949
6949
  });
6950
6950
  function kd(e, n = 769) {
6951
- const { width: t } = ms(e), a = P(() => t.value > 0 && t.value < n);
6951
+ const { width: t } = vs(e), a = P(() => t.value > 0 && t.value < n);
6952
6952
  return { width: t, isNarrow: a };
6953
6953
  }
6954
6954
  function Dd(e) {
@@ -6966,7 +6966,7 @@ function Dd(e) {
6966
6966
  n.value = g, u(g);
6967
6967
  }
6968
6968
  let c = [...a.value];
6969
- Ae(a, (g) => {
6969
+ xe(a, (g) => {
6970
6970
  if (n.value === null) {
6971
6971
  c = [...g];
6972
6972
  return;
@@ -6981,7 +6981,7 @@ function Dd(e) {
6981
6981
  }
6982
6982
  const m = c.indexOf(n.value), d = Math.min(Math.max(m, 0), g.length - 1);
6983
6983
  f(g[d]), c = [...g];
6984
- }), Ae(a, (g) => {
6984
+ }), xe(a, (g) => {
6985
6985
  t.value !== null && !g.includes(t.value) && (t.value = null);
6986
6986
  });
6987
6987
  function h() {
@@ -7056,18 +7056,18 @@ function Dd(e) {
7056
7056
  handleKeydown: k
7057
7057
  };
7058
7058
  }
7059
- const _r = /* @__PURE__ */ Symbol(
7059
+ const Br = /* @__PURE__ */ Symbol(
7060
7060
  "le.validation"
7061
7061
  );
7062
7062
  function lv(e) {
7063
- const n = ae(_r, null);
7063
+ const n = ae(Br, null);
7064
7064
  if (!n || !zn()) return;
7065
7065
  const t = P(() => {
7066
7066
  const l = e.state;
7067
7067
  return typeof l == "function" ? l() : l.value;
7068
7068
  });
7069
7069
  let a = null;
7070
- Ae(
7070
+ xe(
7071
7071
  e.key,
7072
7072
  (l) => {
7073
7073
  a !== null && a !== l && n.unregister(a), n.register(l, t), a = l;
@@ -7082,7 +7082,7 @@ function Ed(e) {
7082
7082
  const n = Gt(
7083
7083
  /* @__PURE__ */ new Map()
7084
7084
  );
7085
- return sn(_r, {
7085
+ return sn(Br, {
7086
7086
  register(a, l) {
7087
7087
  n.set(a, l);
7088
7088
  },
@@ -7167,13 +7167,13 @@ function Td(e, n, t) {
7167
7167
  const Ad = (e, n) => e.size === n.size && [...e].every((t) => n.has(t));
7168
7168
  function Md(e) {
7169
7169
  let n = !1;
7170
- Ae(
7170
+ xe(
7171
7171
  e.internalUnsavedKeys,
7172
7172
  (o) => {
7173
7173
  Ad(e.unsavedKeysModel.value, o) || (n = !0, e.unsavedKeysModel.value = new Set(o));
7174
7174
  },
7175
7175
  { immediate: !0 }
7176
- ), Ae(e.unsavedKeysModel, (o) => {
7176
+ ), xe(e.unsavedKeysModel, (o) => {
7177
7177
  if (n) {
7178
7178
  n = !1;
7179
7179
  return;
@@ -7208,7 +7208,15 @@ function Id(e, n = {}) {
7208
7208
  const h = s.value.get(f);
7209
7209
  return h === void 0 ? !0 : h !== o(c);
7210
7210
  };
7211
- return r(), {
7211
+ if (r(), s.value.size === 0) {
7212
+ const f = xe(
7213
+ () => e().length,
7214
+ (c) => {
7215
+ c > 0 && (r(), f());
7216
+ }
7217
+ );
7218
+ }
7219
+ return {
7212
7220
  dirtyBaseline: s,
7213
7221
  captureDirtyBaseline: r,
7214
7222
  rebaselineKey: i,
@@ -7268,7 +7276,7 @@ function Fd(e) {
7268
7276
  }, u = () => {
7269
7277
  a.value = !0;
7270
7278
  };
7271
- return Ae(e.watchKeys, (f, c) => {
7279
+ return xe(e.watchKeys, (f, c) => {
7272
7280
  if (!a.value) return;
7273
7281
  a.value = !1;
7274
7282
  const h = new Set(c ?? []), p = f.find((g) => !h.has(g));
@@ -7316,7 +7324,7 @@ function _d(e) {
7316
7324
  }
7317
7325
  e.snapshot.value = null, e.mode.value = "view", e.onApplyEnd?.(), e.emit.reorderApplied(c), e.emit.reorderEnd();
7318
7326
  };
7319
- return Ae(e.mode, (c, h) => {
7327
+ return xe(e.mode, (c, h) => {
7320
7328
  c === "reorder" && h !== "reorder" && (!r() && !e.snapshot.value && (e.snapshot.value = e.cloneModel(e.modelValue.value)), e.movedKeys.value = /* @__PURE__ */ new Set(), e.onExternalEnter?.()), c === "view" && h === "reorder" && (e.snapshot.value ? (e.snapshot.value = null, e.movedKeys.value = /* @__PURE__ */ new Set(), t.value = null, n.value = !1) : r() && (e.movedKeys.value = /* @__PURE__ */ new Set(), t.value = null, n.value = !1));
7321
7329
  }), {
7322
7330
  applying: n,
@@ -7381,7 +7389,7 @@ const Bd = /* @__PURE__ */ Ee({
7381
7389
  S(jn, null, {
7382
7390
  default: D(() => [
7383
7391
  S(mn),
7384
- S(Te, {
7392
+ S(Ae, {
7385
7393
  variant: "text",
7386
7394
  disabled: e.inFlight,
7387
7395
  onClick: a[0] || (a[0] = (l) => t.$emit("cancel"))
@@ -7391,7 +7399,7 @@ const Bd = /* @__PURE__ */ Ee({
7391
7399
  ]),
7392
7400
  _: 1
7393
7401
  }, 8, ["disabled"]),
7394
- S(Te, {
7402
+ S(Ae, {
7395
7403
  color: "error",
7396
7404
  variant: "flat",
7397
7405
  loading: e.inFlight,
@@ -7429,7 +7437,7 @@ const Bd = /* @__PURE__ */ Ee({
7429
7437
  emits: /* @__PURE__ */ Qe(["confirm"], ["update:modelValue"]),
7430
7438
  setup(e, { emit: n }) {
7431
7439
  const t = e, a = n, l = it(e, "modelValue"), { t: o } = Oe(), s = N(t.currentIndex + 1);
7432
- Ae(l, (c) => {
7440
+ xe(l, (c) => {
7433
7441
  c && (s.value = t.currentIndex + 1);
7434
7442
  });
7435
7443
  const r = P(() => Math.max(t.total, 1)), i = P(
@@ -7483,7 +7491,7 @@ const Bd = /* @__PURE__ */ Ee({
7483
7491
  S(jn, null, {
7484
7492
  default: D(() => [
7485
7493
  S(mn),
7486
- S(Te, {
7494
+ S(Ae, {
7487
7495
  variant: "text",
7488
7496
  onClick: f
7489
7497
  }, {
@@ -7492,7 +7500,7 @@ const Bd = /* @__PURE__ */ Ee({
7492
7500
  ]),
7493
7501
  _: 1
7494
7502
  }),
7495
- S(Te, {
7503
+ S(Ae, {
7496
7504
  color: "primary",
7497
7505
  variant: "elevated",
7498
7506
  disabled: i.value,
@@ -7527,7 +7535,7 @@ const Bd = /* @__PURE__ */ Ee({
7527
7535
  return (t, a) => (I(), ne("div", Pd, [
7528
7536
  ye("h3", Ld, Q(e.title), 1),
7529
7537
  ye("p", Vd, Q(e.text), 1),
7530
- e.addLabel && e.canAdd ? (I(), W(Te, {
7538
+ e.addLabel && e.canAdd ? (I(), W(Ae, {
7531
7539
  key: 0,
7532
7540
  color: "primary",
7533
7541
  variant: "flat",
@@ -7679,7 +7687,7 @@ const Bd = /* @__PURE__ */ Ee({
7679
7687
  }),
7680
7688
  emits: /* @__PURE__ */ Qe(["add", "edit", "deleted", "close", "item-saved", "item-expand", "reorder-start", "reorder-cancel", "reorder-applied", "reorder-apply-error", "reorder-end"], ["update:modelValue", "update:mode", "update:unsavedKeys"]),
7681
7689
  setup(e, { expose: n, emit: t }) {
7682
- const a = e, l = t, o = it(e, "modelValue"), s = it(e, "mode"), { t: r } = Oe(), i = ls(), u = Fs(), f = At("rootEl"), { isNarrow: c } = kd(f), h = P(() => u.platform.value.touch), p = xd(o, {
7690
+ const a = e, l = t, o = it(e, "modelValue"), s = it(e, "mode"), { t: r } = Oe(), i = rs(), u = _s(), f = At("rootEl"), { isNarrow: c } = kd(f), h = P(() => u.platform.value.touch), p = xd(o, {
7683
7691
  keyField: a.keyField,
7684
7692
  positionField: a.positionField,
7685
7693
  positionMultiplier: a.positionMultiplier,
@@ -7750,7 +7758,7 @@ const Bd = /* @__PURE__ */ Ee({
7750
7758
  reorderApplyError: (y) => l("reorder-apply-error", y),
7751
7759
  reorderEnd: () => l("reorder-end")
7752
7760
  }
7753
- }), q = a.embedded ? null : rs(
7761
+ }), q = a.embedded ? null : ss(
7754
7762
  /* @__PURE__ */ new Map()
7755
7763
  );
7756
7764
  if (q && sn(Nl, {
@@ -7781,7 +7789,9 @@ const Bd = /* @__PURE__ */ Ee({
7781
7789
  return !1;
7782
7790
  }), ee = P(() => w.value && a.showAddButton && !me.value), le = P(
7783
7791
  () => (me.value || a.chips) && !h.value && !a.disableDrag
7784
- ), ve = P(() => a.addLabel ?? r("common.sortable.add")), Re = P(() => a.emptyTitle ?? r("common.sortable.emptyTitle")), _t = P(() => a.emptyText ?? r("common.sortable.emptyText")), Z = P(
7792
+ ), ve = P(
7793
+ () => a.addLabel ? r(a.addLabel) : r("common.sortable.add")
7794
+ ), Re = P(() => a.emptyTitle ?? r("common.sortable.emptyTitle")), _t = P(() => a.emptyText ?? r("common.sortable.emptyText")), Z = P(
7785
7795
  () => a.deleteConfirmTitle ?? r("common.sortable.deleteConfirmTitle")
7786
7796
  ), Ce = P(
7787
7797
  () => a.deleteConfirmText ?? r("common.sortable.deleteConfirmText")
@@ -7791,9 +7801,9 @@ const Bd = /* @__PURE__ */ Ee({
7791
7801
  () => !!(a.title || i.header || i["reorder-toggle"] || $e.value || me.value && !a.embedded)
7792
7802
  ), za = P(
7793
7803
  () => !!(a.title || i.header || i["reorder-toggle"] || i["view-body"] || me.value && !a.embedded)
7794
- ), Br = P(() => !!a.onItemSave), Jt = (y) => {
7804
+ ), Or = P(() => !!a.onItemSave), Jt = (y) => {
7795
7805
  v.value.add(y);
7796
- }, Or = P(() => {
7806
+ }, Rr = P(() => {
7797
7807
  const y = /* @__PURE__ */ new Set();
7798
7808
  for (const j of o.value) {
7799
7809
  const Y = j[a.keyField];
@@ -7804,7 +7814,7 @@ const Bd = /* @__PURE__ */ Ee({
7804
7814
  const y = o.value.length, j = [], Y = /* @__PURE__ */ new Set();
7805
7815
  for (const ge of p.viewItems.value) {
7806
7816
  Y.add(ge.key);
7807
- const kn = H.value.has(ge.key), ua = k.value.has(ge.key), nl = a.loadingKeys?.has(ge.key) ?? !1, Qa = v.value.has(ge.key), eo = Or.value.has(ge.key), al = eo || Qa, ol = ge.index > 0, ll = ge.index < y - 1, ot = oa.get(ge.key);
7817
+ const kn = H.value.has(ge.key), ua = k.value.has(ge.key), nl = a.loadingKeys?.has(ge.key) ?? !1, Qa = v.value.has(ge.key), eo = Rr.value.has(ge.key), al = eo || Qa, ol = ge.index > 0, ll = ge.index < y - 1, ot = oa.get(ge.key);
7808
7818
  if (ot && ot.raw === ge.raw && ot.index === ge.index && ot.position === ge.position && ot.editing === kn && ot.expanded === ua && ot.loading === nl && ot.dirty === eo && ot.moved === Qa && ot.unsaved === al && ot.canMoveUp === ol && ot.canMoveDown === ll) {
7809
7819
  j.push(ot);
7810
7820
  continue;
@@ -7856,11 +7866,11 @@ const Bd = /* @__PURE__ */ Ee({
7856
7866
  j && Ja(j.index);
7857
7867
  },
7858
7868
  onCancelReorder: () => X()
7859
- }), ja = N(!1), Ut = ka(null), Rr = P(
7869
+ }), ja = N(!1), Ut = ka(null), Pr = P(
7860
7870
  () => Ut.value ? Xo(Ut.value.raw, Ut.value.key) : ""
7861
- ), Pr = (y) => {
7871
+ ), Lr = (y) => {
7862
7872
  a.showMoveToPosition && (Ut.value = y, ja.value = !0);
7863
- }, Lr = (y) => {
7873
+ }, Vr = (y) => {
7864
7874
  const j = Ut.value;
7865
7875
  Ut.value = null, j && y !== j.index && (p.moveItem(j.index, y), Jt(j.key));
7866
7876
  }, Xo = (y, j) => Td(y, j, {
@@ -7870,7 +7880,7 @@ const Bd = /* @__PURE__ */ Ee({
7870
7880
  getValidationState: (y, j, Y) => a.getValidationState?.(y, j, Y) ?? null
7871
7881
  });
7872
7882
  if (!h.value) {
7873
- const y = Mr(x, o, {
7883
+ const y = Ir(x, o, {
7874
7884
  // The rows container can mount/unmount across mode flips (e.g. when the
7875
7885
  // consumer renders a `#view-body` slot in view mode and the rows are
7876
7886
  // only mounted in reorder mode). vueuse's default `tryOnMounted` fires
@@ -7899,7 +7909,7 @@ const Bd = /* @__PURE__ */ Ee({
7899
7909
  a.updatePosition && (o.value = p.recalculatePositions(o.value));
7900
7910
  }
7901
7911
  });
7902
- Ae(le, (j) => {
7912
+ xe(le, (j) => {
7903
7913
  y.option("disabled", !j);
7904
7914
  });
7905
7915
  }
@@ -7925,7 +7935,7 @@ const Bd = /* @__PURE__ */ Ee({
7925
7935
  k.value.add(j);
7926
7936
  }
7927
7937
  l("item-expand", y, !Y);
7928
- }, Jo = (y) => a.chips || a.disableRowClick || a.disabled || a.loading || me.value && !a.allowEditInReorder ? !1 : !!(y.editing || y.expanded || !a.readonly && a.showEditButton || a.readonly && O.value), Vr = (y) => {
7938
+ }, Jo = (y) => a.chips || a.disableRowClick || a.disabled || a.loading || me.value && !a.allowEditInReorder ? !1 : !!(y.editing || y.expanded || !a.readonly && a.showEditButton), Nr = (y) => {
7929
7939
  if (Jo(y)) {
7930
7940
  if (y.editing || y.expanded) {
7931
7941
  sa(y);
@@ -7935,20 +7945,20 @@ const Bd = /* @__PURE__ */ Ee({
7935
7945
  }
7936
7946
  }, {
7937
7947
  deleteDialog: Wa,
7938
- deleteInFlight: Nr,
7939
- deleteError: Ur,
7940
- onDeleteClick: Yr,
7941
- onDeleteDialogConfirm: Hr,
7942
- onDeleteDialogCancel: zr
7948
+ deleteInFlight: Ur,
7949
+ deleteError: Yr,
7950
+ onDeleteClick: Hr,
7951
+ onDeleteDialogConfirm: zr,
7952
+ onDeleteDialogCancel: jr
7943
7953
  } = $d({
7944
7954
  onDeleteConfirm: (y) => a.onDeleteConfirm ? a.onDeleteConfirm(y) : !0,
7945
7955
  onDelete: (y) => a.onDelete?.(y),
7946
7956
  onDeleted: (y) => {
7947
- p.deleteItem(y.key), H.value.delete(y.key), M.value.delete(y.key), k.value.delete(y.key), l("deleted", y);
7957
+ H.value.delete(y.key), M.value.delete(y.key), k.value.delete(y.key), l("deleted", y);
7948
7958
  },
7949
7959
  disableDeleteConfirm: () => a.disableDeleteConfirm || a.chips
7950
7960
  }), ra = async (y) => {
7951
- w.value && await Yr(y);
7961
+ w.value && await Hr(y);
7952
7962
  }, Qo = async (y) => {
7953
7963
  a.onItemSave && await a.onItemSave(y.raw), F(y), l("item-saved", y);
7954
7964
  }, el = (y) => {
@@ -7974,7 +7984,7 @@ const Bd = /* @__PURE__ */ Ee({
7974
7984
  if (y >= o.value.length - 1) return;
7975
7985
  const j = ia(y);
7976
7986
  p.moveItem(y, o.value.length - 1), j !== null && Jt(j);
7977
- }, Sn = /* @__PURE__ */ new Map(), jr = (y) => {
7987
+ }, Sn = /* @__PURE__ */ new Map(), qr = (y) => {
7978
7988
  let j = Sn.get(y);
7979
7989
  return j || (j = {
7980
7990
  edit: () => {
@@ -8024,7 +8034,7 @@ const Bd = /* @__PURE__ */ Ee({
8024
8034
  update: (Y) => p.updateItem(y, Y)
8025
8035
  }, Sn.set(y, j)), j;
8026
8036
  };
8027
- Ae(
8037
+ xe(
8028
8038
  () => Bt.value,
8029
8039
  (y) => {
8030
8040
  if (Sn.size === 0) return;
@@ -8049,8 +8059,8 @@ const Bd = /* @__PURE__ */ Ee({
8049
8059
  canMoveUp: y.canMoveUp,
8050
8060
  canMoveDown: y.canMoveDown,
8051
8061
  touch: h.value,
8052
- actions: jr(y.key)
8053
- }), qr = P(() => ({
8062
+ actions: qr(y.key)
8063
+ }), Kr = P(() => ({
8054
8064
  applying: K.value,
8055
8065
  hasPendingChanges: De.value,
8056
8066
  movedCount: J.value,
@@ -8067,14 +8077,14 @@ const Bd = /* @__PURE__ */ Ee({
8067
8077
  enterReorderMode: _e,
8068
8078
  exitReorderMode: X
8069
8079
  }
8070
- })), Kr = it(e, "unsavedKeys"), Wr = P(() => {
8080
+ })), Wr = it(e, "unsavedKeys"), Gr = P(() => {
8071
8081
  const y = /* @__PURE__ */ new Set();
8072
8082
  for (const j of Bt.value)
8073
8083
  j.unsaved && y.add(j.key);
8074
8084
  return y;
8075
- }), { hasUnsavedChanges: Gr, unsavedCount: Xr, clearUnsavedState: Zr } = Md({
8076
- unsavedKeysModel: Kr,
8077
- internalUnsavedKeys: Wr,
8085
+ }), { hasUnsavedChanges: Xr, unsavedCount: Zr, clearUnsavedState: Jr } = Md({
8086
+ unsavedKeysModel: Wr,
8087
+ internalUnsavedKeys: Gr,
8078
8088
  onClearAll: () => {
8079
8089
  g(), v.value = /* @__PURE__ */ new Set();
8080
8090
  },
@@ -8090,9 +8100,9 @@ const Bd = /* @__PURE__ */ Ee({
8090
8100
  recalculatePositions: p.recalculatePositions,
8091
8101
  viewItems: p.viewItems,
8092
8102
  resetDirtyBaseline: C,
8093
- hasUnsavedChanges: Gr,
8094
- unsavedCount: Xr,
8095
- clearUnsavedState: Zr,
8103
+ hasUnsavedChanges: Xr,
8104
+ unsavedCount: Zr,
8105
+ clearUnsavedState: Jr,
8096
8106
  enterReorderMode: _e,
8097
8107
  cancelReorderMode: X,
8098
8108
  applyReorder: se
@@ -8118,14 +8128,14 @@ const Bd = /* @__PURE__ */ Ee({
8118
8128
  he(y.$slots, "header", Ue({ title: e.title }, tl.value), () => [
8119
8129
  e.title ? (I(), ne("h3", ef, Q(e.title), 1)) : re("", !0),
8120
8130
  ye("div", tf, [
8121
- _(me) && !e.embedded ? he(y.$slots, "reorder-toolbar", ul(Ue({ key: 0 }, qr.value)), () => [
8131
+ _(me) && !e.embedded ? he(y.$slots, "reorder-toolbar", ul(Ue({ key: 0 }, Kr.value)), () => [
8122
8132
  S(jd, {
8123
8133
  class: Je({ "a-le-toolbar-status--pending": De.value }),
8124
8134
  "has-pending-changes": De.value,
8125
8135
  "pending-count": J.value,
8126
8136
  error: _(oe)
8127
8137
  }, null, 8, ["class", "has-pending-changes", "pending-count", "error"]),
8128
- S(Te, {
8138
+ S(Ae, {
8129
8139
  variant: "text",
8130
8140
  size: "small",
8131
8141
  disabled: _(K),
@@ -8136,7 +8146,7 @@ const Bd = /* @__PURE__ */ Ee({
8136
8146
  ]),
8137
8147
  _: 1
8138
8148
  }, 8, ["disabled", "onClick"]),
8139
- S(Te, {
8149
+ S(Ae, {
8140
8150
  color: "primary",
8141
8151
  variant: "flat",
8142
8152
  size: "small",
@@ -8151,7 +8161,7 @@ const Bd = /* @__PURE__ */ Ee({
8151
8161
  _: 1
8152
8162
  }, 8, ["loading", "disabled", "onClick"])
8153
8163
  ]) : $e.value ? he(y.$slots, "reorder-toggle", ul(Ue({ key: 1 }, tl.value)), () => [
8154
- Fe.value ? (I(), W(Te, {
8164
+ Fe.value ? (I(), W(Ae, {
8155
8165
  key: 0,
8156
8166
  variant: "tonal",
8157
8167
  color: "primary",
@@ -8172,7 +8182,7 @@ const Bd = /* @__PURE__ */ Ee({
8172
8182
  }, null, 8, ["text"])
8173
8183
  ]),
8174
8184
  _: 1
8175
- }, 8, ["disabled", "onClick"])) : (I(), W(Te, {
8185
+ }, 8, ["disabled", "onClick"])) : (I(), W(Ae, {
8176
8186
  key: 1,
8177
8187
  variant: "tonal",
8178
8188
  color: "primary",
@@ -8254,7 +8264,7 @@ const Bd = /* @__PURE__ */ Ee({
8254
8264
  he(y.$slots, "before-item", Ue({ ref_for: !0 }, Ot(Y))),
8255
8265
  ye("div", {
8256
8266
  class: "a-le-row-header",
8257
- onClick: (ge) => Vr(Y)
8267
+ onClick: (ge) => Nr(Y)
8258
8268
  }, [
8259
8269
  le.value ? (I(), W(Wd, { key: 0 })) : re("", !0),
8260
8270
  ye("div", uf, [
@@ -8270,7 +8280,7 @@ const Bd = /* @__PURE__ */ Ee({
8270
8280
  ])) : re("", !0),
8271
8281
  ye("div", mf, [
8272
8282
  he(y.$slots, "item-actions", Ue({ ref_for: !0 }, Ot(Y)), () => [
8273
- e.chips && e.showDeleteButton && w.value ? (I(), W(Te, {
8283
+ e.chips && e.showDeleteButton && w.value ? (I(), W(Ae, {
8274
8284
  key: 0,
8275
8285
  icon: "",
8276
8286
  size: "x-small",
@@ -8288,7 +8298,7 @@ const Bd = /* @__PURE__ */ Ee({
8288
8298
  ]),
8289
8299
  _: 1
8290
8300
  }, 8, ["onClick"])) : _(me) ? (I(), ne(qe, { key: 1 }, [
8291
- S(Te, {
8301
+ S(Ae, {
8292
8302
  icon: "",
8293
8303
  size: "small",
8294
8304
  variant: "text",
@@ -8310,7 +8320,7 @@ const Bd = /* @__PURE__ */ Ee({
8310
8320
  ]),
8311
8321
  _: 1
8312
8322
  }, 8, ["disabled", "onClick"]),
8313
- S(Te, {
8323
+ S(Ae, {
8314
8324
  icon: "",
8315
8325
  size: "small",
8316
8326
  variant: "text",
@@ -8332,7 +8342,7 @@ const Bd = /* @__PURE__ */ Ee({
8332
8342
  ]),
8333
8343
  _: 1
8334
8344
  }, 8, ["disabled", "onClick"]),
8335
- S(Te, {
8345
+ S(Ae, {
8336
8346
  icon: "",
8337
8347
  size: "small",
8338
8348
  variant: "text",
@@ -8390,7 +8400,7 @@ const Bd = /* @__PURE__ */ Ee({
8390
8400
  }, 8, ["disabled", "onClick"]),
8391
8401
  e.showMoveToPosition && Bt.value.length > 1 ? (I(), W(st, {
8392
8402
  key: 0,
8393
- onClick: fe((ge) => Pr(Y), ["stop"])
8403
+ onClick: fe((ge) => Lr(Y), ["stop"])
8394
8404
  }, {
8395
8405
  prepend: D(() => [
8396
8406
  S(we, { icon: "mdi-target" })
@@ -8449,7 +8459,7 @@ const Bd = /* @__PURE__ */ Ee({
8449
8459
  _: 2
8450
8460
  }, 1024)
8451
8461
  ], 64)) : (I(), ne(qe, { key: 2 }, [
8452
- e.showEditButton && w.value ? (I(), W(Te, {
8462
+ e.showEditButton && w.value ? (I(), W(Ae, {
8453
8463
  key: 0,
8454
8464
  icon: "",
8455
8465
  size: "small",
@@ -8472,7 +8482,7 @@ const Bd = /* @__PURE__ */ Ee({
8472
8482
  ]),
8473
8483
  _: 1
8474
8484
  }, 8, ["onClick"])) : re("", !0),
8475
- e.showDeleteButton && w.value ? (I(), W(Te, {
8485
+ e.showDeleteButton && w.value ? (I(), W(Ae, {
8476
8486
  key: 1,
8477
8487
  icon: "",
8478
8488
  size: "small",
@@ -8494,7 +8504,7 @@ const Bd = /* @__PURE__ */ Ee({
8494
8504
  ]),
8495
8505
  _: 1
8496
8506
  }, 8, ["onClick"])) : re("", !0),
8497
- e.showAddAfterAction && w.value ? (I(), W(Te, {
8507
+ e.showAddAfterAction && w.value ? (I(), W(Ae, {
8498
8508
  key: 2,
8499
8509
  icon: "",
8500
8510
  size: "small",
@@ -8553,9 +8563,9 @@ const Bd = /* @__PURE__ */ Ee({
8553
8563
  ])
8554
8564
  ]),
8555
8565
  he(y.$slots, "item-footer", Ue({ ref_for: !0 }, Ot(Y)), () => [
8556
- Br.value && !_(me) ? (I(), ne("div", hf, [
8566
+ Or.value && !_(me) ? (I(), ne("div", hf, [
8557
8567
  j[2] || (j[2] = ye("div", { class: "a-le-row-footer-spacer" }, null, -1)),
8558
- S(Te, {
8568
+ S(Ae, {
8559
8569
  variant: "text",
8560
8570
  disabled: Y.loading,
8561
8571
  onClick: fe((ge) => el(Y), ["stop"])
@@ -8565,7 +8575,7 @@ const Bd = /* @__PURE__ */ Ee({
8565
8575
  ]),
8566
8576
  _: 1
8567
8577
  }, 8, ["disabled", "onClick"]),
8568
- S(Te, {
8578
+ S(Ae, {
8569
8579
  color: "primary",
8570
8580
  variant: "flat",
8571
8581
  "prepend-icon": "mdi-check",
@@ -8579,7 +8589,7 @@ const Bd = /* @__PURE__ */ Ee({
8579
8589
  }, 8, ["disabled", "onClick"])
8580
8590
  ])) : re("", !0)
8581
8591
  ])
8582
- ], 64)) : Y.expanded && (e.allowEditInReorder || !_(me)) && y.$slots["item-readonly"] ? (I(), ne("div", gf, [
8592
+ ], 64)) : y.$slots["item-readonly"] && (e.readonly || Y.expanded) && (e.allowEditInReorder || !_(me)) ? (I(), ne("div", gf, [
8583
8593
  ye("div", bf, [
8584
8594
  he(y.$slots, "item-readonly", Ue({ ref_for: !0 }, Ot(Y)))
8585
8595
  ])
@@ -8612,8 +8622,8 @@ const Bd = /* @__PURE__ */ Ee({
8612
8622
  "onUpdate:modelValue": j[0] || (j[0] = (Y) => ja.value = Y),
8613
8623
  total: Bt.value.length,
8614
8624
  "current-index": Ut.value?.index ?? 0,
8615
- "item-label": Rr.value,
8616
- onConfirm: Lr
8625
+ "item-label": Pr.value,
8626
+ onConfirm: Vr
8617
8627
  }, null, 8, ["modelValue", "total", "current-index", "item-label"]),
8618
8628
  S(Bd, {
8619
8629
  modelValue: _(Wa),
@@ -8622,10 +8632,10 @@ const Bd = /* @__PURE__ */ Ee({
8622
8632
  text: Ce.value,
8623
8633
  "confirm-label": _(r)("common.sortable.delete"),
8624
8634
  "cancel-label": _(r)("common.button.cancel"),
8625
- error: _(Ur),
8626
- "in-flight": _(Nr),
8627
- onConfirm: _(Hr),
8628
- onCancel: _(zr)
8635
+ error: _(Yr),
8636
+ "in-flight": _(Ur),
8637
+ onConfirm: _(zr),
8638
+ onCancel: _(jr)
8629
8639
  }, null, 8, ["modelValue", "title", "text", "confirm-label", "cancel-label", "error", "in-flight", "onConfirm", "onCancel"]),
8630
8640
  ye("div", yf, Q(_(Qt).grabbedKey.value !== null ? _(r)("common.sortable.keyboardGrab.status", {
8631
8641
  n: _(Qt).grabbedIndex.value + 1,
@@ -8703,7 +8713,7 @@ const Bd = /* @__PURE__ */ Ee({
8703
8713
  }), m = N(null);
8704
8714
  if (h.value.enabled && Ie(a.collab)) {
8705
8715
  const { releaseCollabFieldLock: Z, changeCollabFieldData: Ce, acquireCollabFieldLock: $e, lockedByUser: Fe } = Va(a.collab.room, a.collab.field);
8706
- p.value = Z, k.value = Ce, g.value = $e, Ae(
8716
+ p.value = Z, k.value = Ce, g.value = $e, xe(
8707
8717
  Fe,
8708
8718
  (Et) => {
8709
8719
  m.value = Et;
@@ -8822,7 +8832,7 @@ const Bd = /* @__PURE__ */ Ee({
8822
8832
  }
8823
8833
  },
8824
8834
  { debounce: Sf }
8825
- ), Ae(d, (Z, Ce) => {
8835
+ ), xe(d, (Z, Ce) => {
8826
8836
  Z !== Ce && l("searchChange", Z);
8827
8837
  });
8828
8838
  const Re = (Z) => {
@@ -8842,7 +8852,7 @@ const Bd = /* @__PURE__ */ Ee({
8842
8852
  if (R.value.length === 0 && d.value.length < a.minSearchChars)
8843
8853
  return A(a.minSearchText) ? x("common.filter.filterMinChars", { min: a.minSearchChars }) : a.minSearchText;
8844
8854
  });
8845
- return Ae(
8855
+ return xe(
8846
8856
  f,
8847
8857
  async (Z, Ce) => {
8848
8858
  if (Z !== Ce) {
@@ -8935,19 +8945,19 @@ const Bd = /* @__PURE__ */ Ee({
8935
8945
  }
8936
8946
  });
8937
8947
  export {
8938
- ei as $,
8948
+ ti as $,
8939
8949
  Ya as A,
8940
- lr as B,
8950
+ rr as B,
8941
8951
  An as C,
8942
- rr as D,
8952
+ sr as D,
8943
8953
  Gm as E,
8944
8954
  Km as F,
8945
- sr as G,
8955
+ ir as G,
8946
8956
  Yn as H,
8947
8957
  em as I,
8948
- ii as J,
8958
+ ui as J,
8949
8959
  Qi as K,
8950
- oi as L,
8960
+ li as L,
8951
8961
  fm as M,
8952
8962
  hm as N,
8953
8963
  vm as O,
@@ -8965,7 +8975,7 @@ export {
8965
8975
  _o as _,
8966
8976
  Va as a,
8967
8977
  Ai as a$,
8968
- li as a0,
8978
+ ri as a0,
8969
8979
  Lu as a1,
8970
8980
  Pe as a2,
8971
8981
  cm as a3,
@@ -8974,7 +8984,7 @@ export {
8974
8984
  Dl as a6,
8975
8985
  ut as a7,
8976
8986
  Gu as a8,
8977
- ki as a9,
8987
+ Di as a9,
8978
8988
  Zm as aA,
8979
8989
  Jm as aB,
8980
8990
  Qm as aC,
@@ -8983,10 +8993,10 @@ export {
8983
8993
  ev as aF,
8984
8994
  at as aG,
8985
8995
  ft as aH,
8986
- ir as aI,
8996
+ ur as aI,
8987
8997
  nv as aJ,
8988
8998
  Yo as aK,
8989
- Di as aL,
8999
+ Ei as aL,
8990
9000
  Ni as aM,
8991
9001
  gl as aN,
8992
9002
  Mm as aO,
@@ -8994,14 +9004,14 @@ export {
8994
9004
  Wc as aQ,
8995
9005
  av as aR,
8996
9006
  Qc as aS,
8997
- Mr as aT,
9007
+ Ir as aT,
8998
9008
  ov as aU,
8999
9009
  xn as aV,
9000
9010
  rv as aW,
9001
- cr as aX,
9011
+ dr as aX,
9002
9012
  Fm as aY,
9003
9013
  Lo as aZ,
9004
- tr as a_,
9014
+ nr as a_,
9005
9015
  Gn as aa,
9006
9016
  hn as ab,
9007
9017
  Xn as ac,
@@ -9030,12 +9040,12 @@ export {
9030
9040
  Ho as az,
9031
9041
  Tn as b,
9032
9042
  Fd as b$,
9033
- Si as b0,
9043
+ ki as b0,
9034
9044
  lm as b1,
9035
9045
  _m as b2,
9036
9046
  xm as b3,
9037
- Zs as b4,
9038
- Qs as b5,
9047
+ Js as b4,
9048
+ ei as b5,
9039
9049
  vl as b6,
9040
9050
  ca as b7,
9041
9051
  ml as b8,
@@ -9044,13 +9054,13 @@ export {
9044
9054
  nc as bB,
9045
9055
  Wm as bC,
9046
9056
  qm as bD,
9047
- si as bE,
9057
+ ii as bE,
9048
9058
  um as bF,
9049
9059
  im as bG,
9050
9060
  Zl as bH,
9051
9061
  om as bI,
9052
9062
  rm as bJ,
9053
- Rs as bK,
9063
+ Ps as bK,
9054
9064
  sm as bL,
9055
9065
  zm as bM,
9056
9066
  Lm as bN,
@@ -9058,12 +9068,12 @@ export {
9058
9068
  wm as bP,
9059
9069
  Tm as bQ,
9060
9070
  Um as bR,
9061
- ur as bS,
9062
- nr as bT,
9071
+ cr as bS,
9072
+ ar as bT,
9063
9073
  Vo as bU,
9064
9074
  ju as bV,
9065
9075
  Wu as bW,
9066
- ui as bX,
9076
+ ci as bX,
9067
9077
  Zu as bY,
9068
9078
  xd as bZ,
9069
9079
  Id as b_,
@@ -9112,7 +9122,7 @@ export {
9112
9122
  Gd as cf,
9113
9123
  oc as cg,
9114
9124
  lc as ch,
9115
- _r as ci,
9125
+ Br as ci,
9116
9126
  Nl as cj,
9117
9127
  wt as ck,
9118
9128
  Wt as cl,
@@ -9121,7 +9131,7 @@ export {
9121
9131
  rc as co,
9122
9132
  Dn as cp,
9123
9133
  lv as cq,
9124
- mr as cr,
9134
+ vr as cr,
9125
9135
  rd as cs,
9126
9136
  A as d,
9127
9137
  La as e,
@@ -9147,4 +9157,4 @@ export {
9147
9157
  Wl as y,
9148
9158
  Gl as z
9149
9159
  };
9150
- //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CYJc6cht.mjs.map
9160
+ //# sourceMappingURL=AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-KuJ0LSja.mjs.map