@ianicdev/datatables2 0.13.3 → 0.14.0

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.
Files changed (38) hide show
  1. package/dist/{Comparison-Bfmyo3Xa.cjs → Comparison-2YRbsBSJ.cjs} +1 -1
  2. package/dist/{Comparison-DQKuQ5sY.js → Comparison-BuQzB-si.js} +6 -6
  3. package/dist/{Datepicker-CHXMZ0_U.cjs → Datepicker-BObFVsrA.cjs} +1 -1
  4. package/dist/{Datepicker-CgaWBwqc.js → Datepicker-ZDAgPotu.js} +24 -24
  5. package/dist/{Options-Dzm1_SN_.js → Options-BKNqYsWg.js} +6 -6
  6. package/dist/{Options-BsWwBtFA.cjs → Options-D4bbZDNy.cjs} +1 -1
  7. package/dist/{RefreshTable-CiCnJqRp.cjs → RefreshTable-B4lcus6j.cjs} +1 -1
  8. package/dist/{RefreshTable-0OZhCgVc.js → RefreshTable-C_KSEQQ2.js} +1 -1
  9. package/dist/{Search-B-kaxLsc.cjs → Search-BmKJJX6W.cjs} +1 -1
  10. package/dist/{Search-DBCGZBxm.js → Search-CpSeJNQo.js} +8 -8
  11. package/dist/{Table-Cngs-CvH.cjs → Table-BLFlqJby.cjs} +1 -1
  12. package/dist/{Table-VfsWPt6d.js → Table-BQwX5npC.js} +3 -3
  13. package/dist/{TableServer-CPxJnObB.js → TableServer-CoKdajJh.js} +3 -3
  14. package/dist/{TableServer-DPQ_XeXs.cjs → TableServer-wxRxfrz2.cjs} +1 -1
  15. package/dist/TableVirtual-C9iDM-wb.cjs +1 -0
  16. package/dist/TableVirtual-Ca9Tk07w.js +310 -0
  17. package/dist/{cellRender-CuPsd_dj.js → cellRender-B9kC6jEb.js} +22 -19
  18. package/dist/{cellRender-DNNEbGS8.cjs → cellRender-DbyhkQEK.cjs} +1 -1
  19. package/dist/{dataTables-DCTgRVVK.cjs → dataTables-BH3T8M7g.cjs} +1 -1
  20. package/dist/{dataTables-DaHH5BJi.js → dataTables-CTzHnAN4.js} +2 -2
  21. package/dist/datatables.cjs +1 -1
  22. package/dist/datatables.js +1 -1
  23. package/dist/datatables2.css +1 -1
  24. package/dist/{index-CYN9sV_c.cjs → index--3PYYrqJ.cjs} +1 -1
  25. package/dist/{index-upuyXG4P.js → index-BjQjVIrq.js} +1067 -1060
  26. package/dist/{index-CheHIvYC.cjs → index-Br6pmK7t.cjs} +1 -1
  27. package/dist/{index-DoH33mkF.js → index-DBe3_idS.js} +2 -2
  28. package/dist/{index-Dyh2yegg.cjs → index-Dcsy9dQc.cjs} +1 -1
  29. package/dist/{index-D65STyD7.js → index-Dnh2gNmS.js} +1 -1
  30. package/dist/index-OvaUUUMW.cjs +1 -0
  31. package/dist/{index-2dniBO7B.js → index-cgveAwK7.js} +12 -12
  32. package/dist/{useColumns-DBnIlIB2.cjs → useColumns-2-5bXJ1Y.cjs} +1 -1
  33. package/dist/{useColumns-CwA9Nn3T.js → useColumns-DMHiyKUY.js} +2 -2
  34. package/lib/locale/de.js +5 -0
  35. package/lib/locale/el.js +5 -0
  36. package/lib/locale/en.js +5 -0
  37. package/package.json +1 -1
  38. package/dist/index-DT_nX8re.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { ref as j, inject as Pe, computed as I, toRef as E, shallowRef as ee, watch as se, createVNode as g, normalizeStyle as xe, normalizeClass as re, createElementVNode as b, mergeProps as L, withDirectives as Ue, vShow as _t, Fragment as ce, toDisplayString as Vt, useModel as Pt, openBlock as oe, createBlock as ye, withCtx as Ce, createElementBlock as Ke, renderList as Wt, unref as M, mergeModels as qt, useId as Xe, provide as We, onScopeDispose as rt, nextTick as ke, onBeforeMount as wn, onBeforeUnmount as kl, onMounted as at, cloneVNode as _n, watchEffect as zt, toValue as Ut, createTextVNode as Sl, defineAsyncComponent as Ee, resolveDynamicComponent as $e, onUnmounted as Pn, isRef as xt, createCommentVNode as Me, defineComponent as At, useTemplateRef as Cl } from "vue";
1
+ import { ref as G, inject as Pe, computed as I, toRef as R, shallowRef as ee, watch as se, createVNode as g, normalizeStyle as xe, normalizeClass as re, createElementVNode as b, mergeProps as H, withDirectives as Ue, vShow as _t, Fragment as ce, toDisplayString as Vt, useModel as Pt, openBlock as oe, createBlock as ye, withCtx as Ce, createElementBlock as Ke, renderList as Wt, unref as $, mergeModels as qt, useId as Xe, provide as We, onScopeDispose as rt, nextTick as ke, onBeforeMount as wn, onBeforeUnmount as kl, onMounted as at, cloneVNode as _n, watchEffect as zt, toValue as Ut, createTextVNode as Sl, defineAsyncComponent as Te, resolveDynamicComponent as $e, onUnmounted as Pn, isRef as xt, createCommentVNode as Me, defineComponent as At, useTemplateRef as Cl } from "vue";
2
2
  import { defineStore as Vl } from "pinia";
3
- import { u as Ft, m as Kt, P as xl, c as Ne, a as An, e as Fn, r as Dn, g as ie, b as Il, d as wl, f as It, I as ct, h as de, V as rl, i as Se, j as _l, p as X, k as he, l as Pl, n as Oe, o as Tn, q as be, s as ot, t as Jt, v as qe, w as Xt, x as He, R as lt, y as it, z as Yt, A as Dt, B as Qt, C as gt, D as Bn, E as Ve, F as cl, G as Al, H as Fl, J as Dl, K as Tl, L as Fe, M as nt, N as Rn, O as Bl, Q as yt, S as En, T as Zt, U as ht, W as el, X as Le, Y as Tt, Z as bt, _ as tl, $ as Rl, a0 as El, a1 as ll, a2 as pt, a3 as Ol, a4 as Te, a5 as kt, a6 as dt, a7 as Ye, a8 as $l, a9 as nl, aa as Bt, ab as Ml, ac as Nl, ad as Ll, ae as jt, af as On, ag as Hl, ah as $n, ai as Mn, aj as Nn, ak as zl, al as et, am as Ul, an as Ln, ao as dl, ap as St, aq as Kl, ar as Hn, as as zn, at as jl, au as Gl, av as al, aw as vt, ax as Un, ay as ze, az as Wl, aA as ql, aB as wt, aC as Jl, aD as Kn, aE as jn, aF as Gn, aG as Wn, aH as qn, aI as Jn, aJ as vl, aK as Xn, aL as Yn, aM as tt, aN as Qn, aO as Zn, aP as ea, aQ as ta } from "./dataTables-DaHH5BJi.js";
3
+ import { u as Ft, m as Kt, P as xl, c as Ne, a as An, e as Fn, r as Dn, g as ie, b as Il, d as wl, f as It, I as ct, h as de, V as rl, i as Se, j as _l, p as X, k as he, l as Pl, n as Oe, o as Tn, q as be, s as ot, t as Jt, v as qe, w as Xt, x as He, R as lt, y as it, z as Yt, A as Dt, B as Qt, C as gt, D as Bn, E as Ve, F as cl, G as Al, H as Fl, J as Dl, K as Tl, L as Fe, M as nt, N as Rn, O as Bl, Q as yt, S as En, T as Zt, U as ht, W as el, X as Le, Y as Tt, Z as bt, _ as tl, $ as Rl, a0 as El, a1 as ll, a2 as pt, a3 as Ol, a4 as Be, a5 as kt, a6 as dt, a7 as Ye, a8 as $l, a9 as nl, aa as Bt, ab as Ml, ac as Nl, ad as Ll, ae as jt, af as On, ag as Hl, ah as $n, ai as Mn, aj as Nn, ak as zl, al as et, am as Ul, an as Ln, ao as dl, ap as St, aq as Kl, ar as Hn, as as zn, at as jl, au as Gl, av as al, aw as vt, ax as Un, ay as ze, az as Wl, aA as ql, aB as wt, aC as Jl, aD as Kn, aE as jn, aF as Gn, aG as Wn, aH as qn, aI as Jn, aJ as vl, aK as Xn, aL as Yn, aM as tt, aN as Qn, aO as Zn, aP as ea, aQ as ta } from "./dataTables-CTzHnAN4.js";
4
4
  import { useEventBus as Xl, createSharedComposable as la, useResizeObserver as na } from "@vueuse/core";
5
5
  import { useI18n as aa } from "vue-i18n";
6
6
  const Rt = Vl("datatables", () => {
7
- const e = j([]), a = ({ table_id: i }) => {
8
- const o = e.value.findIndex((d) => d.id === i), r = {
7
+ const e = G([]), a = ({ table_id: o }) => {
8
+ const i = e.value.findIndex((d) => d.id === o), s = {
9
9
  search: {
10
10
  query: ""
11
11
  },
@@ -21,21 +21,21 @@ const Rt = Vl("datatables", () => {
21
21
  state: {}
22
22
  }
23
23
  };
24
- o !== -1 && e.value.splice(o, 1), e.value.push({ id: i, ...r });
25
- }, t = async (i) => {
26
- const r = new TextEncoder().encode(i), d = await crypto.subtle.digest("SHA-256", r);
24
+ i !== -1 && e.value.splice(i, 1), e.value.push({ id: o, ...s });
25
+ }, t = async (o) => {
26
+ const s = new TextEncoder().encode(o), d = await crypto.subtle.digest("SHA-256", s);
27
27
  return Array.from(new Uint8Array(d)).map((v) => v.toString(16).padStart(2, "0")).join("");
28
- }, n = ({ table_id: i, headers: o }) => {
29
- t(JSON.stringify(o ?? [])).then((r) => {
30
- l({ table_id: i, name: "options", value: { hash: r } });
28
+ }, n = ({ table_id: o, headers: i }) => {
29
+ t(JSON.stringify(i ?? [])).then((s) => {
30
+ l({ table_id: o, name: "options", value: { hash: s } });
31
31
  });
32
- }, l = ({ table_id: i, name: o, value: r }) => {
32
+ }, l = ({ table_id: o, name: i, value: s }) => {
33
33
  e.value = e.value.map((d) => {
34
- if (d.id === i && d.hasOwnProperty(o)) {
35
- const c = d[o];
36
- if (c && typeof r == "object")
37
- for (const m in r)
38
- m in c && (c[m] = r[m]);
34
+ if (d.id === o && d.hasOwnProperty(i)) {
35
+ const c = d[i];
36
+ if (c && typeof s == "object")
37
+ for (const f in s)
38
+ f in c && (c[f] = s[f]);
39
39
  }
40
40
  return d;
41
41
  });
@@ -46,10 +46,10 @@ const Rt = Vl("datatables", () => {
46
46
  // Store Methods
47
47
  addTable: a,
48
48
  setData: l,
49
- restoreData: ({ table_id: i, data: o }) => {
50
- e.value = e.value.map((r) => (r.id === i && (r = o), r));
49
+ restoreData: ({ table_id: o, data: i }) => {
50
+ e.value = e.value.map((s) => (s.id === o && (s = i), s));
51
51
  },
52
- getCurrentTable: (i) => e.value.find((o) => o.id === i),
52
+ getCurrentTable: (o) => e.value.find((i) => i.id === o),
53
53
  // Hash
54
54
  hashString: t,
55
55
  setTableHash: n
@@ -58,23 +58,23 @@ const Rt = Vl("datatables", () => {
58
58
  function Et() {
59
59
  const { setData: e, getCurrentTable: a } = Rt(), t = Pe("table_props"), n = I(() => a(t.id)), l = I(() => n.value.search?.query), u = I(() => {
60
60
  if (!t?.headers.length) return null;
61
- const r = n.value.options?.columns.selected ?? [];
62
- return (n.value.options?.columns.sorted ?? []).filter((m) => r.includes(m)).map(
63
- (m) => t.headers.find((v) => v.key === m)
61
+ const s = n.value.options?.columns.selected ?? [];
62
+ return (n.value.options?.columns.sorted ?? []).filter((f) => s.includes(f)).map(
63
+ (f) => t.headers.find((v) => v.key === f)
64
64
  );
65
- }), s = I(() => n.value.hardFilters?.query), i = I(() => n.value.advancedFilters?.query);
65
+ }), r = I(() => n.value.hardFilters?.query), o = I(() => n.value.advancedFilters?.query);
66
66
  return {
67
67
  tableState: n,
68
68
  searchState: l,
69
- advancedFiltersState: i,
70
- hardFiltersState: s,
69
+ advancedFiltersState: o,
70
+ hardFiltersState: r,
71
71
  headersState: u,
72
- saveTableOptions: (r) => {
72
+ saveTableOptions: (s) => {
73
73
  e({
74
74
  table_id: t.id,
75
75
  name: "options",
76
76
  value: {
77
- state: r
77
+ state: s
78
78
  }
79
79
  });
80
80
  }
@@ -105,25 +105,25 @@ function Nt(e, a, t) {
105
105
  return l;
106
106
  }
107
107
  async function fl(e, a, t, n) {
108
- const l = t ? "scrollLeft" : "scrollTop", u = Kt(n?.options ?? ia(), a), s = n?.rtl.value, i = (typeof e == "number" ? e : ol(e)) ?? 0, o = u.container === "parent" && i instanceof HTMLElement ? i.parentElement : ua(u.container), r = xl() ? u.patterns.instant : typeof u.easing == "function" ? u.easing : u.patterns[u.easing];
109
- if (!r) throw new TypeError(`Easing function "${u.easing}" not found.`);
108
+ const l = t ? "scrollLeft" : "scrollTop", u = Kt(n?.options ?? ia(), a), r = n?.rtl.value, o = (typeof e == "number" ? e : ol(e)) ?? 0, i = u.container === "parent" && o instanceof HTMLElement ? o.parentElement : ua(u.container), s = xl() ? u.patterns.instant : typeof u.easing == "function" ? u.easing : u.patterns[u.easing];
109
+ if (!s) throw new TypeError(`Easing function "${u.easing}" not found.`);
110
110
  let d;
111
- if (typeof i == "number")
112
- d = Nt(i, t, s);
113
- else if (d = Nt(i, t, s) - Nt(o, t, s), u.layout) {
114
- const y = window.getComputedStyle(i).getPropertyValue("--v-layout-top");
111
+ if (typeof o == "number")
112
+ d = Nt(o, t, r);
113
+ else if (d = Nt(o, t, r) - Nt(i, t, r), u.layout) {
114
+ const y = window.getComputedStyle(o).getPropertyValue("--v-layout-top");
115
115
  y && (d -= parseInt(y, 10));
116
116
  }
117
- d += u.offset, d = ra(o, d, !!s, !!t);
118
- const c = o[l] ?? 0;
117
+ d += u.offset, d = ra(i, d, !!r, !!t);
118
+ const c = i[l] ?? 0;
119
119
  if (d === c) return Promise.resolve(d);
120
- const m = performance.now();
120
+ const f = performance.now();
121
121
  return new Promise((v) => requestAnimationFrame(function y(h) {
122
- const w = (h - m) / u.duration, P = Math.floor(c + (d - c) * r(Ne(w, 0, 1)));
123
- if (o[l] = P, w >= 1 && Math.abs(P - o[l]) < 10)
122
+ const _ = (h - f) / u.duration, w = Math.floor(c + (d - c) * s(Ne(_, 0, 1)));
123
+ if (i[l] = w, _ >= 1 && Math.abs(w - i[l]) < 10)
124
124
  return v(d);
125
- if (w > 2)
126
- return An("Scroll target is not reachable"), v(o[l]);
125
+ if (_ > 2)
126
+ return An("Scroll target is not reachable"), v(i[l]);
127
127
  requestAnimationFrame(y);
128
128
  }));
129
129
  }
@@ -136,20 +136,20 @@ function sa() {
136
136
  const n = {
137
137
  ...a,
138
138
  // can be set via VLocaleProvider
139
- rtl: E(() => a.rtl.value || t.value)
139
+ rtl: R(() => a.rtl.value || t.value)
140
140
  };
141
- async function l(u, s) {
142
- return fl(u, Kt(e, s), !1, n);
141
+ async function l(u, r) {
142
+ return fl(u, Kt(e, r), !1, n);
143
143
  }
144
- return l.horizontal = async (u, s) => fl(u, Kt(e, s), !0, n), l;
144
+ return l.horizontal = async (u, r) => fl(u, Kt(e, r), !0, n), l;
145
145
  }
146
146
  function ra(e, a, t, n) {
147
147
  const {
148
148
  scrollWidth: l,
149
149
  scrollHeight: u
150
- } = e, [s, i] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight];
151
- let o, r;
152
- return n ? t ? (o = -(l - s), r = 0) : (o = 0, r = l - s) : (o = 0, r = u + -i), Ne(a, o, r);
150
+ } = e, [r, o] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight];
151
+ let i, s;
152
+ return n ? t ? (i = -(l - r), s = 0) : (i = 0, s = l - r) : (i = 0, s = u + -o), Ne(a, i, s);
153
153
  }
154
154
  function ca(e) {
155
155
  let {
@@ -158,8 +158,8 @@ function ca(e) {
158
158
  isRtl: n,
159
159
  isHorizontal: l
160
160
  } = e;
161
- const u = ft(l, t), s = Yl(l, n, t), i = ft(l, a), o = Ql(l, a), r = i * 0.4;
162
- return s > o ? o - r : s + u < o + i ? o - u + i + r : s;
161
+ const u = ft(l, t), r = Yl(l, n, t), o = ft(l, a), i = Ql(l, a), s = o * 0.4;
162
+ return r > i ? i - s : r + u < i + o ? i - u + o + s : r;
163
163
  }
164
164
  function da(e) {
165
165
  let {
@@ -167,8 +167,8 @@ function da(e) {
167
167
  containerElement: t,
168
168
  isHorizontal: n
169
169
  } = e;
170
- const l = ft(n, t), u = Ql(n, a), s = ft(n, a);
171
- return u - l / 2 + s / 2;
170
+ const l = ft(n, t), u = Ql(n, a), r = ft(n, a);
171
+ return u - l / 2 + r / 2;
172
172
  }
173
173
  function ml(e, a) {
174
174
  return a?.[e ? "scrollWidth" : "scrollHeight"] || 0;
@@ -242,135 +242,135 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
242
242
  } = Ft(), {
243
243
  displayClasses: l,
244
244
  mobile: u
245
- } = Il(e), s = wl(e, e.symbol), i = ee(!1), o = ee(0), r = ee(0), d = ee(0), c = I(() => e.direction === "horizontal"), {
246
- resizeRef: m,
245
+ } = Il(e), r = wl(e, e.symbol), o = ee(!1), i = ee(0), s = ee(0), d = ee(0), c = I(() => e.direction === "horizontal"), {
246
+ resizeRef: f,
247
247
  contentRect: v
248
248
  } = It(), {
249
249
  resizeRef: y,
250
250
  contentRect: h
251
- } = It(), p = sa(), w = I(() => ({
252
- container: m.el,
251
+ } = It(), p = sa(), _ = I(() => ({
252
+ container: f.el,
253
253
  duration: 200,
254
254
  easing: "easeOutQuart"
255
- })), P = I(() => s.selected.value.length ? s.items.value.findIndex((k) => k.id === s.selected.value[0]) : -1), C = I(() => s.selected.value.length ? s.items.value.findIndex((k) => k.id === s.selected.value[s.selected.value.length - 1]) : -1);
255
+ })), w = I(() => r.selected.value.length ? r.items.value.findIndex((k) => k.id === r.selected.value[0]) : -1), C = I(() => r.selected.value.length ? r.items.value.findIndex((k) => k.id === r.selected.value[r.selected.value.length - 1]) : -1);
256
256
  if (ct) {
257
257
  let k = -1;
258
- se(() => [s.selected.value, v.value, h.value, c.value], () => {
258
+ se(() => [r.selected.value, v.value, h.value, c.value], () => {
259
259
  cancelAnimationFrame(k), k = requestAnimationFrame(() => {
260
260
  if (v.value && h.value) {
261
- const f = c.value ? "width" : "height";
262
- r.value = v.value[f], d.value = h.value[f], i.value = r.value + 1 < d.value;
261
+ const m = c.value ? "width" : "height";
262
+ s.value = v.value[m], d.value = h.value[m], o.value = s.value + 1 < d.value;
263
263
  }
264
- if (e.scrollToActive && P.value >= 0 && y.el) {
265
- const f = y.el.children[C.value];
266
- B(f, e.centerActive);
264
+ if (e.scrollToActive && w.value >= 0 && y.el) {
265
+ const m = y.el.children[C.value];
266
+ E(m, e.centerActive);
267
267
  }
268
268
  });
269
269
  });
270
270
  }
271
271
  const F = ee(!1);
272
- function B(k, f) {
273
- let A = 0;
274
- f ? A = da({
275
- containerElement: m.el,
272
+ function E(k, m) {
273
+ let P = 0;
274
+ m ? P = da({
275
+ containerElement: f.el,
276
276
  isHorizontal: c.value,
277
277
  selectedElement: k
278
- }) : A = ca({
279
- containerElement: m.el,
278
+ }) : P = ca({
279
+ containerElement: f.el,
280
280
  isHorizontal: c.value,
281
281
  isRtl: n.value,
282
282
  selectedElement: k
283
- }), U(A);
283
+ }), U(P);
284
284
  }
285
285
  function U(k) {
286
- if (!ct || !m.el) return;
287
- const f = ft(c.value, m.el), A = Yl(c.value, n.value, m.el);
288
- if (!(ml(c.value, m.el) <= f || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
289
- Math.abs(k - A) < 16)) {
290
- if (c.value && n.value && m.el) {
286
+ if (!ct || !f.el) return;
287
+ const m = ft(c.value, f.el), P = Yl(c.value, n.value, f.el);
288
+ if (!(ml(c.value, f.el) <= m || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
289
+ Math.abs(k - P) < 16)) {
290
+ if (c.value && n.value && f.el) {
291
291
  const {
292
292
  scrollWidth: ve,
293
293
  offsetWidth: ge
294
- } = m.el;
294
+ } = f.el;
295
295
  k = ve - ge - k;
296
296
  }
297
- c.value ? p.horizontal(k, w.value) : p(k, w.value);
297
+ c.value ? p.horizontal(k, _.value) : p(k, _.value);
298
298
  }
299
299
  }
300
- function _(k) {
300
+ function A(k) {
301
301
  const {
302
- scrollTop: f,
303
- scrollLeft: A
302
+ scrollTop: m,
303
+ scrollLeft: P
304
304
  } = k.target;
305
- o.value = c.value ? A : f;
305
+ i.value = c.value ? P : m;
306
306
  }
307
307
  function V(k) {
308
- if (F.value = !0, !(!i.value || !y.el)) {
309
- for (const f of k.composedPath())
310
- for (const A of y.el.children)
311
- if (A === f) {
312
- B(A);
308
+ if (F.value = !0, !(!o.value || !y.el)) {
309
+ for (const m of k.composedPath())
310
+ for (const P of y.el.children)
311
+ if (P === m) {
312
+ E(P);
313
313
  return;
314
314
  }
315
315
  }
316
316
  }
317
- function $(k) {
317
+ function M(k) {
318
318
  F.value = !1;
319
319
  }
320
320
  let D = !1;
321
- function G(k) {
322
- !D && !F.value && !(k.relatedTarget && y.el?.contains(k.relatedTarget)) && K(), D = !1;
321
+ function N(k) {
322
+ !D && !F.value && !(k.relatedTarget && y.el?.contains(k.relatedTarget)) && j(), D = !1;
323
323
  }
324
324
  function ne() {
325
325
  D = !0;
326
326
  }
327
- function H(k) {
327
+ function z(k) {
328
328
  if (!y.el) return;
329
- function f(A) {
330
- k.preventDefault(), K(A);
329
+ function m(P) {
330
+ k.preventDefault(), j(P);
331
331
  }
332
- c.value ? k.key === "ArrowRight" ? f(n.value ? "prev" : "next") : k.key === "ArrowLeft" && f(n.value ? "next" : "prev") : k.key === "ArrowDown" ? f("next") : k.key === "ArrowUp" && f("prev"), k.key === "Home" ? f("first") : k.key === "End" && f("last");
332
+ c.value ? k.key === "ArrowRight" ? m(n.value ? "prev" : "next") : k.key === "ArrowLeft" && m(n.value ? "next" : "prev") : k.key === "ArrowDown" ? m("next") : k.key === "ArrowUp" && m("prev"), k.key === "Home" ? m("first") : k.key === "End" && m("last");
333
333
  }
334
- function W(k, f) {
334
+ function W(k, m) {
335
335
  if (!k) return;
336
- let A = k;
336
+ let P = k;
337
337
  do
338
- A = A?.[f === "next" ? "nextElementSibling" : "previousElementSibling"];
339
- while (A?.hasAttribute("disabled"));
340
- return A;
338
+ P = P?.[m === "next" ? "nextElementSibling" : "previousElementSibling"];
339
+ while (P?.hasAttribute("disabled"));
340
+ return P;
341
341
  }
342
- function K(k) {
342
+ function j(k) {
343
343
  if (!y.el) return;
344
- let f;
344
+ let m;
345
345
  if (!k)
346
- f = _l(y.el)[0];
346
+ m = _l(y.el)[0];
347
347
  else if (k === "next") {
348
- if (f = W(y.el.querySelector(":focus"), k), !f) return K("first");
348
+ if (m = W(y.el.querySelector(":focus"), k), !m) return j("first");
349
349
  } else if (k === "prev") {
350
- if (f = W(y.el.querySelector(":focus"), k), !f) return K("last");
351
- } else k === "first" ? (f = y.el.firstElementChild, f?.hasAttribute("disabled") && (f = W(f, "next"))) : k === "last" && (f = y.el.lastElementChild, f?.hasAttribute("disabled") && (f = W(f, "prev")));
352
- f && f.focus({
350
+ if (m = W(y.el.querySelector(":focus"), k), !m) return j("last");
351
+ } else k === "first" ? (m = y.el.firstElementChild, m?.hasAttribute("disabled") && (m = W(m, "next"))) : k === "last" && (m = y.el.lastElementChild, m?.hasAttribute("disabled") && (m = W(m, "prev")));
352
+ m && m.focus({
353
353
  preventScroll: !0
354
354
  });
355
355
  }
356
356
  function ue(k) {
357
- const f = c.value && n.value ? -1 : 1, A = (k === "prev" ? -f : f) * r.value;
358
- let J = o.value + A;
359
- if (c.value && n.value && m.el) {
357
+ const m = c.value && n.value ? -1 : 1, P = (k === "prev" ? -m : m) * s.value;
358
+ let J = i.value + P;
359
+ if (c.value && n.value && f.el) {
360
360
  const {
361
361
  scrollWidth: ve,
362
362
  offsetWidth: ge
363
- } = m.el;
363
+ } = f.el;
364
364
  J += ve - ge;
365
365
  }
366
366
  U(J);
367
367
  }
368
368
  const q = I(() => ({
369
- next: s.next,
370
- prev: s.prev,
371
- select: s.select,
372
- isSelected: s.isSelected
373
- })), z = I(() => i.value || Math.abs(o.value) > 0), fe = I(() => {
369
+ next: r.next,
370
+ prev: r.prev,
371
+ select: r.select,
372
+ isSelected: r.isSelected
373
+ })), K = I(() => o.value || Math.abs(i.value) > 0), fe = I(() => {
374
374
  switch (e.showArrows) {
375
375
  case "never":
376
376
  return !1;
@@ -383,53 +383,53 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
383
383
  // Show arrows on mobile when overflowing.
384
384
  // This matches the default 2.2 behavior
385
385
  case !0:
386
- return z.value;
386
+ return K.value;
387
387
  // Always show on mobile
388
388
  case "mobile":
389
- return u.value || z.value;
389
+ return u.value || K.value;
390
390
  // https://material.io/components/tabs#scrollable-tabs
391
391
  // Always show arrows when
392
392
  // overflowed on desktop
393
393
  default:
394
- return !u.value && z.value;
394
+ return !u.value && K.value;
395
395
  }
396
- }), R = I(() => Math.abs(o.value) > 1), O = I(() => {
397
- if (!m.value || !z.value) return !1;
398
- const k = ml(c.value, m.el), f = va(c.value, m.el);
399
- return k - f - Math.abs(o.value) > 1;
396
+ }), B = I(() => Math.abs(i.value) > 1), O = I(() => {
397
+ if (!f.value || !K.value) return !1;
398
+ const k = ml(c.value, f.el), m = va(c.value, f.el);
399
+ return k - m - Math.abs(i.value) > 1;
400
400
  });
401
401
  return de(() => g(e.tag, {
402
402
  class: re(["v-slide-group", {
403
403
  "v-slide-group--vertical": !c.value,
404
404
  "v-slide-group--has-affixes": fe.value,
405
- "v-slide-group--is-overflowing": i.value
405
+ "v-slide-group--is-overflowing": o.value
406
406
  }, l.value, e.class]),
407
407
  style: xe(e.style),
408
- tabindex: F.value || s.selected.value.length ? -1 : 0,
409
- onFocus: G
408
+ tabindex: F.value || r.selected.value.length ? -1 : 0,
409
+ onFocus: N
410
410
  }, {
411
411
  default: () => [fe.value && b("div", {
412
412
  key: "prev",
413
413
  class: re(["v-slide-group__prev", {
414
- "v-slide-group__prev--disabled": !R.value
414
+ "v-slide-group__prev--disabled": !B.value
415
415
  }]),
416
416
  onMousedown: ne,
417
- onClick: () => R.value && ue("prev")
417
+ onClick: () => B.value && ue("prev")
418
418
  }, [t.prev?.(q.value) ?? g(rl, null, {
419
419
  default: () => [g(Se, {
420
420
  icon: n.value ? e.nextIcon : e.prevIcon
421
421
  }, null)]
422
422
  })]), b("div", {
423
423
  key: "container",
424
- ref: m,
424
+ ref: f,
425
425
  class: re(["v-slide-group__container", e.contentClass]),
426
- onScroll: _
426
+ onScroll: A
427
427
  }, [b("div", {
428
428
  ref: y,
429
429
  class: "v-slide-group__content",
430
430
  onFocusin: V,
431
- onFocusout: $,
432
- onKeydown: H
431
+ onFocusout: M,
432
+ onKeydown: z
433
433
  }, [t.default?.(q.value)])]), fe.value && b("div", {
434
434
  key: "next",
435
435
  class: re(["v-slide-group__next", {
@@ -443,11 +443,11 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
443
443
  }, null)]
444
444
  })])]
445
445
  })), {
446
- selected: s.selected,
446
+ selected: r.selected,
447
447
  scrollTo: ue,
448
- scrollOffset: o,
449
- focus: K,
450
- hasPrev: R,
448
+ scrollOffset: i,
449
+ focus: j,
450
+ hasPrev: B,
451
451
  hasNext: O
452
452
  };
453
453
  }
@@ -486,21 +486,21 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
486
486
  } = ot(e), {
487
487
  isSelected: l,
488
488
  select: u,
489
- next: s,
490
- prev: i,
491
- selected: o
489
+ next: r,
490
+ prev: o,
491
+ selected: i
492
492
  } = wl(e, tn);
493
493
  return Jt({
494
494
  VChip: {
495
- baseColor: E(() => e.baseColor),
496
- color: E(() => e.color),
497
- disabled: E(() => e.disabled),
498
- filter: E(() => e.filter),
499
- variant: E(() => e.variant)
495
+ baseColor: R(() => e.baseColor),
496
+ color: R(() => e.color),
497
+ disabled: R(() => e.disabled),
498
+ filter: R(() => e.filter),
499
+ variant: R(() => e.variant)
500
500
  }
501
501
  }), de(() => {
502
- const r = gl.filterProps(e);
503
- return g(gl, L(r, {
502
+ const s = gl.filterProps(e);
503
+ return g(gl, H(s, {
504
504
  class: ["v-chip-group", {
505
505
  "v-chip-group--column": e.column
506
506
  }, n.value, e.class],
@@ -509,9 +509,9 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
509
509
  default: () => [t.default?.({
510
510
  isSelected: l,
511
511
  select: u,
512
- next: s,
513
- prev: i,
514
- selected: o.value
512
+ next: r,
513
+ prev: o,
514
+ selected: i.value
515
515
  })]
516
516
  });
517
517
  }), {};
@@ -594,60 +594,60 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
594
594
  const {
595
595
  t: u
596
596
  } = it(), {
597
- borderClasses: s
597
+ borderClasses: r
598
598
  } = Yt(e), {
599
- densityClasses: i
599
+ densityClasses: o
600
600
  } = Dt(e), {
601
- elevationClasses: o
601
+ elevationClasses: i
602
602
  } = Qt(e), {
603
- roundedClasses: r
603
+ roundedClasses: s
604
604
  } = gt(e), {
605
605
  sizeClasses: d
606
606
  } = Bn(e), {
607
607
  themeClasses: c
608
- } = ot(e), m = Ve(e, "modelValue"), v = cl(e, tn, !1), y = cl(e, Zl, !1), h = Al(e, t), p = E(() => e.link !== !1 && h.isLink.value), w = I(() => !e.disabled && e.link !== !1 && (!!v || e.link || h.isClickable.value)), P = E(() => ({
608
+ } = ot(e), f = Ve(e, "modelValue"), v = cl(e, tn, !1), y = cl(e, Zl, !1), h = Al(e, t), p = R(() => e.link !== !1 && h.isLink.value), _ = I(() => !e.disabled && e.link !== !1 && (!!v || e.link || h.isClickable.value)), w = R(() => ({
609
609
  "aria-label": u(e.closeLabel),
610
610
  disabled: e.disabled,
611
611
  onClick(V) {
612
- V.preventDefault(), V.stopPropagation(), m.value = !1, n("click:close", V);
612
+ V.preventDefault(), V.stopPropagation(), f.value = !1, n("click:close", V);
613
613
  }
614
614
  }));
615
- se(m, (V) => {
615
+ se(f, (V) => {
616
616
  V ? (v?.register(), y?.register()) : (v?.unregister(), y?.unregister());
617
617
  });
618
618
  const {
619
619
  colorClasses: C,
620
620
  colorStyles: F,
621
- variantClasses: B
621
+ variantClasses: E
622
622
  } = Fl(() => ({
623
623
  color: !v || v.isSelected.value ? e.color ?? e.baseColor : e.baseColor,
624
624
  variant: e.variant
625
625
  }));
626
626
  function U(V) {
627
- n("click", V), w.value && (h.navigate.value?.(V), v?.toggle());
627
+ n("click", V), _.value && (h.navigate.value?.(V), v?.toggle());
628
628
  }
629
- function _(V) {
629
+ function A(V) {
630
630
  (V.key === "Enter" || V.key === " ") && (V.preventDefault(), U(V));
631
631
  }
632
632
  return () => {
633
- const V = h.isLink.value ? "a" : e.tag, $ = !!(e.appendIcon || e.appendAvatar), D = !!($ || l.append), G = !!(l.close || e.closable), ne = !!(l.filter || e.filter) && v, H = !!(e.prependIcon || e.prependAvatar), W = !!(H || l.prepend);
634
- return m.value && Ue(g(V, L(h.linkProps, {
633
+ const V = h.isLink.value ? "a" : e.tag, M = !!(e.appendIcon || e.appendAvatar), D = !!(M || l.append), N = !!(l.close || e.closable), ne = !!(l.filter || e.filter) && v, z = !!(e.prependIcon || e.prependAvatar), W = !!(z || l.prepend);
634
+ return f.value && Ue(g(V, H(h.linkProps, {
635
635
  class: ["v-chip", {
636
636
  "v-chip--disabled": e.disabled,
637
637
  "v-chip--label": e.label,
638
- "v-chip--link": w.value,
638
+ "v-chip--link": _.value,
639
639
  "v-chip--filter": ne,
640
640
  "v-chip--pill": e.pill,
641
641
  [`${e.activeClass}`]: e.activeClass && h.isActive?.value
642
- }, c.value, s.value, C.value, i.value, o.value, r.value, d.value, B.value, v?.selectedClass.value, e.class],
642
+ }, c.value, r.value, C.value, o.value, i.value, s.value, d.value, E.value, v?.selectedClass.value, e.class],
643
643
  style: [F.value, e.style],
644
644
  disabled: e.disabled || void 0,
645
645
  draggable: e.draggable,
646
- tabindex: w.value ? 0 : void 0,
646
+ tabindex: _.value ? 0 : void 0,
647
647
  onClick: U,
648
- onKeydown: w.value && !p.value && _
648
+ onKeydown: _.value && !p.value && A
649
649
  }), {
650
- default: () => [Dl(w.value, "v-chip"), ne && g(Tl, {
650
+ default: () => [Dl(_.value, "v-chip"), ne && g(Tl, {
651
651
  key: "filter"
652
652
  }, {
653
653
  default: () => [Ue(b("div", {
@@ -669,7 +669,7 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
669
669
  class: "v-chip__prepend"
670
670
  }, [l.prepend ? g(Fe, {
671
671
  key: "prepend-defaults",
672
- disabled: !H,
672
+ disabled: !z,
673
673
  defaults: {
674
674
  VAvatar: {
675
675
  image: e.prependAvatar,
@@ -703,7 +703,7 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
703
703
  class: "v-chip__append"
704
704
  }, [l.append ? g(Fe, {
705
705
  key: "append-defaults",
706
- disabled: !$,
706
+ disabled: !M,
707
707
  defaults: {
708
708
  VAvatar: {
709
709
  end: !0,
@@ -722,12 +722,12 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
722
722
  key: "append-avatar",
723
723
  end: !0,
724
724
  image: e.appendAvatar
725
- }, null)])]), G && b("button", L({
725
+ }, null)])]), N && b("button", H({
726
726
  key: "close",
727
727
  class: "v-chip__close",
728
728
  type: "button",
729
729
  "data-testid": "close-chip"
730
- }, P.value), [l.close ? g(Fe, {
730
+ }, w.value), [l.close ? g(Fe, {
731
731
  key: "close-defaults",
732
732
  defaults: {
733
733
  VIcon: {
@@ -740,7 +740,7 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
740
740
  icon: e.closeIcon,
741
741
  size: "x-small"
742
742
  }, null)])]
743
- }), [[lt, w.value && e.ripple, null]]);
743
+ }), [[lt, _.value && e.ripple, null]]);
744
744
  };
745
745
  }
746
746
  }), ya = X({
@@ -767,21 +767,21 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
767
767
  backgroundColorClasses: l,
768
768
  backgroundColorStyles: u
769
769
  } = Tt(() => e.color), {
770
- borderClasses: s
770
+ borderClasses: r
771
771
  } = Yt(e), {
772
- dimensionStyles: i
772
+ dimensionStyles: o
773
773
  } = bt(e), {
774
- elevationClasses: o
774
+ elevationClasses: i
775
775
  } = Qt(e), {
776
- locationStyles: r
776
+ locationStyles: s
777
777
  } = tl(e), {
778
778
  positionClasses: d
779
779
  } = Rl(e), {
780
780
  roundedClasses: c
781
781
  } = gt(e);
782
782
  return de(() => g(e.tag, {
783
- class: re(["v-sheet", n.value, l.value, s.value, o.value, d.value, c.value, e.class]),
784
- style: xe([u.value, i.value, r.value, e.style])
783
+ class: re(["v-sheet", n.value, l.value, r.value, i.value, d.value, c.value, e.class]),
784
+ style: xe([u.value, o.value, s.value, e.style])
785
785
  }, t)), {};
786
786
  }
787
787
  }), ha = {
@@ -792,31 +792,31 @@ const Zl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), en = X({
792
792
  },
793
793
  emits: /* @__PURE__ */ qt("save", ["update:modelValue"]),
794
794
  setup(e, { emit: a }) {
795
- const { advancedFiltersState: t } = Et(), n = Pe("table_props"), l = Pt(e, "modelValue"), u = (o, r) => {
796
- const d = n.headers.find((y) => (y.advancedFilter?.key ?? y.key) === r), c = o.comparison === "=" ? ":" : " " + o.comparison, m = Array.isArray(o.value) ? o.value : [o.value], v = m.filter((y, h) => !(d.advancedFilter?.component === "datepicker" && h !== 0 && h !== m.length - 1)).map((y) => {
795
+ const { advancedFiltersState: t } = Et(), n = Pe("table_props"), l = Pt(e, "modelValue"), u = (i, s) => {
796
+ const d = n.headers.find((y) => (y.advancedFilter?.key ?? y.key) === s), c = i.comparison === "=" ? ":" : " " + i.comparison, f = Array.isArray(i.value) ? i.value : [i.value], v = f.filter((y, h) => !(d.advancedFilter?.component === "datepicker" && h !== 0 && h !== f.length - 1)).map((y) => {
797
797
  const h = d.advancedFilter?.options?.items ?? [];
798
- let p = y, w;
799
- return h.length && (w = h.find((P) => P.value === y), w && (p = w.title)), typeof d.advancedFilter?.valueFormatter == "function" && (p = d.advancedFilter.valueFormatter({
800
- item: w,
798
+ let p = y, _;
799
+ return h.length && (_ = h.find((w) => w.value === y), _ && (p = _.title)), typeof d.advancedFilter?.valueFormatter == "function" && (p = d.advancedFilter.valueFormatter({
800
+ item: _,
801
801
  value: y
802
802
  })), p;
803
803
  });
804
804
  return `${d.title}${c} ${v.join(", ")}`;
805
- }, s = (o) => {
806
- l.value[o] = { comparison: "=", value: null }, i("save");
807
- }, i = a;
808
- return (o, r) => (oe(), ye(il, null, {
805
+ }, r = (i) => {
806
+ l.value[i] = { comparison: "=", value: null }, o("save");
807
+ }, o = a;
808
+ return (i, s) => (oe(), ye(il, null, {
809
809
  default: Ce(() => [
810
810
  g(ma, null, {
811
811
  default: Ce(() => [
812
- (oe(!0), Ke(ce, null, Wt(M(t), (d, c) => (oe(), ye(mt, {
812
+ (oe(!0), Ke(ce, null, Wt($(t), (d, c) => (oe(), ye(mt, {
813
813
  key: c,
814
814
  class: "my-0",
815
815
  text: u(d, c),
816
816
  closable: "",
817
817
  value: d,
818
818
  density: "comfortable",
819
- "onClick:close": (m) => s(c)
819
+ "onClick:close": (f) => r(c)
820
820
  }, null, 8, ["text", "value", "onClick:close"]))), 128))
821
821
  ]),
822
822
  _: 1
@@ -894,33 +894,33 @@ ie()({
894
894
  let {
895
895
  slots: t
896
896
  } = a;
897
- const n = Ve(e, "modelValue"), l = Xe(), u = E(() => e.id || `v-selection-control-group-${l}`), s = E(() => e.name || u.value), i = /* @__PURE__ */ new Set();
897
+ const n = Ve(e, "modelValue"), l = Xe(), u = R(() => e.id || `v-selection-control-group-${l}`), r = R(() => e.name || u.value), o = /* @__PURE__ */ new Set();
898
898
  return We(nn, {
899
899
  modelValue: n,
900
900
  forceUpdate: () => {
901
- i.forEach((o) => o());
901
+ o.forEach((i) => i());
902
902
  },
903
- onForceUpdate: (o) => {
904
- i.add(o), rt(() => {
905
- i.delete(o);
903
+ onForceUpdate: (i) => {
904
+ o.add(i), rt(() => {
905
+ o.delete(i);
906
906
  });
907
907
  }
908
908
  }), Jt({
909
909
  [e.defaultsTarget]: {
910
- color: E(() => e.color),
911
- disabled: E(() => e.disabled),
912
- density: E(() => e.density),
913
- error: E(() => e.error),
914
- inline: E(() => e.inline),
910
+ color: R(() => e.color),
911
+ disabled: R(() => e.disabled),
912
+ density: R(() => e.density),
913
+ error: R(() => e.error),
914
+ inline: R(() => e.inline),
915
915
  modelValue: n,
916
- multiple: E(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)),
917
- name: s,
918
- falseIcon: E(() => e.falseIcon),
919
- trueIcon: E(() => e.trueIcon),
920
- readonly: E(() => e.readonly),
921
- ripple: E(() => e.ripple),
922
- type: E(() => e.type),
923
- valueComparator: E(() => e.valueComparator)
916
+ multiple: R(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)),
917
+ name: r,
918
+ falseIcon: R(() => e.falseIcon),
919
+ trueIcon: R(() => e.trueIcon),
920
+ readonly: R(() => e.readonly),
921
+ ripple: R(() => e.ripple),
922
+ type: R(() => e.type),
923
+ valueComparator: R(() => e.valueComparator)
924
924
  }
925
925
  }), de(() => b("div", {
926
926
  class: re(["v-selection-control-group", {
@@ -943,38 +943,38 @@ const on = X({
943
943
  function ka(e) {
944
944
  const a = Pe(nn, void 0), {
945
945
  densityClasses: t
946
- } = Dt(e), n = Ve(e, "modelValue"), l = I(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), u = I(() => e.falseValue !== void 0 ? e.falseValue : !1), s = I(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), i = I({
946
+ } = Dt(e), n = Ve(e, "modelValue"), l = I(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), u = I(() => e.falseValue !== void 0 ? e.falseValue : !1), r = I(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), o = I({
947
947
  get() {
948
948
  const v = a ? a.modelValue.value : n.value;
949
- return s.value ? Te(v).some((y) => e.valueComparator(y, l.value)) : e.valueComparator(v, l.value);
949
+ return r.value ? Be(v).some((y) => e.valueComparator(y, l.value)) : e.valueComparator(v, l.value);
950
950
  },
951
951
  set(v) {
952
952
  if (e.readonly) return;
953
953
  const y = v ? l.value : u.value;
954
954
  let h = y;
955
- s.value && (h = v ? [...Te(n.value), y] : Te(n.value).filter((p) => !e.valueComparator(p, l.value))), a ? a.modelValue.value = h : n.value = h;
955
+ r.value && (h = v ? [...Be(n.value), y] : Be(n.value).filter((p) => !e.valueComparator(p, l.value))), a ? a.modelValue.value = h : n.value = h;
956
956
  }
957
957
  }), {
958
- textColorClasses: o,
959
- textColorStyles: r
958
+ textColorClasses: i,
959
+ textColorStyles: s
960
960
  } = kt(() => {
961
961
  if (!(e.error || e.disabled))
962
- return i.value ? e.color : e.baseColor;
962
+ return o.value ? e.color : e.baseColor;
963
963
  }), {
964
964
  backgroundColorClasses: d,
965
965
  backgroundColorStyles: c
966
- } = Tt(() => i.value && !e.error && !e.disabled ? e.color : e.baseColor), m = I(() => i.value ? e.trueIcon : e.falseIcon);
966
+ } = Tt(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor), f = I(() => o.value ? e.trueIcon : e.falseIcon);
967
967
  return {
968
968
  group: a,
969
969
  densityClasses: t,
970
970
  trueValue: l,
971
971
  falseValue: u,
972
- model: i,
973
- textColorClasses: o,
974
- textColorStyles: r,
972
+ model: o,
973
+ textColorClasses: i,
974
+ textColorStyles: s,
975
975
  backgroundColorClasses: d,
976
976
  backgroundColorStyles: c,
977
- icon: m
977
+ icon: f
978
978
  };
979
979
  }
980
980
  const yl = ie()({
@@ -995,57 +995,57 @@ const yl = ie()({
995
995
  const {
996
996
  group: l,
997
997
  densityClasses: u,
998
- icon: s,
999
- model: i,
1000
- textColorClasses: o,
1001
- textColorStyles: r,
998
+ icon: r,
999
+ model: o,
1000
+ textColorClasses: i,
1001
+ textColorStyles: s,
1002
1002
  backgroundColorClasses: d,
1003
1003
  backgroundColorStyles: c,
1004
- trueValue: m
1005
- } = ka(e), v = Xe(), y = ee(!1), h = ee(!1), p = j(), w = E(() => e.id || `input-${v}`), P = E(() => !e.disabled && !e.readonly);
1004
+ trueValue: f
1005
+ } = ka(e), v = Xe(), y = ee(!1), h = ee(!1), p = G(), _ = R(() => e.id || `input-${v}`), w = R(() => !e.disabled && !e.readonly);
1006
1006
  l?.onForceUpdate(() => {
1007
- p.value && (p.value.checked = i.value);
1007
+ p.value && (p.value.checked = o.value);
1008
1008
  });
1009
- function C(_) {
1010
- P.value && (y.value = !0, dt(_.target, ":focus-visible") !== !1 && (h.value = !0));
1009
+ function C(A) {
1010
+ w.value && (y.value = !0, dt(A.target, ":focus-visible") !== !1 && (h.value = !0));
1011
1011
  }
1012
1012
  function F() {
1013
1013
  y.value = !1, h.value = !1;
1014
1014
  }
1015
- function B(_) {
1016
- _.stopPropagation();
1015
+ function E(A) {
1016
+ A.stopPropagation();
1017
1017
  }
1018
- function U(_) {
1019
- if (!P.value) {
1020
- p.value && (p.value.checked = i.value);
1018
+ function U(A) {
1019
+ if (!w.value) {
1020
+ p.value && (p.value.checked = o.value);
1021
1021
  return;
1022
1022
  }
1023
- e.readonly && l && ke(() => l.forceUpdate()), i.value = _.target.checked;
1023
+ e.readonly && l && ke(() => l.forceUpdate()), o.value = A.target.checked;
1024
1024
  }
1025
1025
  return de(() => {
1026
- const _ = n.label ? n.label({
1026
+ const A = n.label ? n.label({
1027
1027
  label: e.label,
1028
1028
  props: {
1029
- for: w.value
1029
+ for: _.value
1030
1030
  }
1031
- }) : e.label, [V, $] = Ol(t), D = b("input", L({
1031
+ }) : e.label, [V, M] = Ol(t), D = b("input", H({
1032
1032
  ref: p,
1033
- checked: i.value,
1033
+ checked: o.value,
1034
1034
  disabled: !!e.disabled,
1035
- id: w.value,
1035
+ id: _.value,
1036
1036
  onBlur: F,
1037
1037
  onFocus: C,
1038
1038
  onInput: U,
1039
1039
  "aria-disabled": !!e.disabled,
1040
1040
  "aria-label": e.label,
1041
1041
  type: e.type,
1042
- value: m.value,
1042
+ value: f.value,
1043
1043
  name: e.name,
1044
- "aria-checked": e.type === "checkbox" ? i.value : void 0
1045
- }, $), null);
1046
- return b("div", L({
1044
+ "aria-checked": e.type === "checkbox" ? o.value : void 0
1045
+ }, M), null);
1046
+ return b("div", H({
1047
1047
  class: ["v-selection-control", {
1048
- "v-selection-control--dirty": i.value,
1048
+ "v-selection-control--dirty": o.value,
1049
1049
  "v-selection-control--disabled": e.disabled,
1050
1050
  "v-selection-control--error": e.error,
1051
1051
  "v-selection-control--focused": y.value,
@@ -1055,37 +1055,37 @@ const yl = ie()({
1055
1055
  }, V, {
1056
1056
  style: e.style
1057
1057
  }), [b("div", {
1058
- class: re(["v-selection-control__wrapper", o.value]),
1059
- style: xe(r.value)
1058
+ class: re(["v-selection-control__wrapper", i.value]),
1059
+ style: xe(s.value)
1060
1060
  }, [n.default?.({
1061
1061
  backgroundColorClasses: d,
1062
1062
  backgroundColorStyles: c
1063
1063
  }), Ue(b("div", {
1064
1064
  class: re(["v-selection-control__input"])
1065
1065
  }, [n.input?.({
1066
- model: i,
1067
- textColorClasses: o,
1068
- textColorStyles: r,
1066
+ model: o,
1067
+ textColorClasses: i,
1068
+ textColorStyles: s,
1069
1069
  backgroundColorClasses: d,
1070
1070
  backgroundColorStyles: c,
1071
1071
  inputNode: D,
1072
- icon: s.value,
1072
+ icon: r.value,
1073
1073
  props: {
1074
1074
  onFocus: C,
1075
1075
  onBlur: F,
1076
- id: w.value
1076
+ id: _.value
1077
1077
  }
1078
- }) ?? b(ce, null, [s.value && g(Se, {
1078
+ }) ?? b(ce, null, [r.value && g(Se, {
1079
1079
  key: "icon",
1080
- icon: s.value
1080
+ icon: r.value
1081
1081
  }, null), D])]), [[lt, !e.disabled && !e.readonly && e.ripple, null, {
1082
1082
  center: !0,
1083
1083
  circle: !0
1084
- }]])]), _ && g(ln, {
1085
- for: w.value,
1086
- onClick: B
1084
+ }]])]), A && g(ln, {
1085
+ for: _.value,
1086
+ onClick: E
1087
1087
  }, {
1088
- default: () => [_]
1088
+ default: () => [A]
1089
1089
  })]);
1090
1090
  }), {
1091
1091
  isFocused: y,
@@ -1114,20 +1114,20 @@ const yl = ie()({
1114
1114
  slots: t
1115
1115
  } = a;
1116
1116
  const n = Ve(e, "indeterminate"), l = Ve(e, "modelValue");
1117
- function u(o) {
1117
+ function u(i) {
1118
1118
  n.value && (n.value = !1);
1119
1119
  }
1120
- const s = E(() => n.value ? e.indeterminateIcon : e.falseIcon), i = E(() => n.value ? e.indeterminateIcon : e.trueIcon);
1120
+ const r = R(() => n.value ? e.indeterminateIcon : e.falseIcon), o = R(() => n.value ? e.indeterminateIcon : e.trueIcon);
1121
1121
  return de(() => {
1122
- const o = Ye(yl.filterProps(e), ["modelValue"]);
1123
- return g(yl, L(o, {
1122
+ const i = Ye(yl.filterProps(e), ["modelValue"]);
1123
+ return g(yl, H(i, {
1124
1124
  modelValue: l.value,
1125
- "onUpdate:modelValue": [(r) => l.value = r, u],
1125
+ "onUpdate:modelValue": [(s) => l.value = s, u],
1126
1126
  class: ["v-checkbox-btn", e.class],
1127
1127
  style: e.style,
1128
1128
  type: "checkbox",
1129
- falseIcon: s.value,
1130
- trueIcon: i.value,
1129
+ falseIcon: r.value,
1130
+ trueIcon: o.value,
1131
1131
  "aria-checked": n.value ? "mixed" : void 0
1132
1132
  }), t);
1133
1133
  }), {};
@@ -1141,26 +1141,26 @@ function Ot(e) {
1141
1141
  let {
1142
1142
  name: l,
1143
1143
  color: u,
1144
- ...s
1144
+ ...r
1145
1145
  } = n;
1146
- const i = {
1146
+ const o = {
1147
1147
  prepend: "prependAction",
1148
1148
  prependInner: "prependAction",
1149
1149
  append: "appendAction",
1150
1150
  appendInner: "appendAction",
1151
1151
  clear: "clear"
1152
- }[l], o = e[`onClick:${l}`];
1153
- function r(c) {
1154
- c.key !== "Enter" && c.key !== " " || (c.preventDefault(), c.stopPropagation(), $l(o, new PointerEvent("click", c)));
1152
+ }[l], i = e[`onClick:${l}`];
1153
+ function s(c) {
1154
+ c.key !== "Enter" && c.key !== " " || (c.preventDefault(), c.stopPropagation(), $l(i, new PointerEvent("click", c)));
1155
1155
  }
1156
- const d = o && i ? a(`$vuetify.input.${i}`, e.label ?? "") : void 0;
1157
- return g(Se, L({
1156
+ const d = i && o ? a(`$vuetify.input.${o}`, e.label ?? "") : void 0;
1157
+ return g(Se, H({
1158
1158
  icon: e[`${l}Icon`],
1159
1159
  "aria-label": d,
1160
- onClick: o,
1161
- onKeydown: r,
1160
+ onClick: i,
1161
+ onKeydown: s,
1162
1162
  color: u
1163
- }, s), null);
1163
+ }, r), null);
1164
1164
  }
1165
1165
  return {
1166
1166
  InputIcon: t
@@ -1188,7 +1188,7 @@ const Ca = X({
1188
1188
  let {
1189
1189
  slots: t
1190
1190
  } = a;
1191
- const n = I(() => Te(e.messages)), {
1191
+ const n = I(() => Be(e.messages)), {
1192
1192
  textColorClasses: l,
1193
1193
  textColorStyles: u
1194
1194
  } = kt(() => e.color);
@@ -1198,12 +1198,12 @@ const Ca = X({
1198
1198
  class: re(["v-messages", l.value, e.class]),
1199
1199
  style: xe([u.value, e.style])
1200
1200
  }, {
1201
- default: () => [e.active && n.value.map((s, i) => b("div", {
1201
+ default: () => [e.active && n.value.map((r, o) => b("div", {
1202
1202
  class: "v-messages__message",
1203
- key: `${i}-${n.value}`
1203
+ key: `${o}-${n.value}`
1204
1204
  }, [t.message ? t.message({
1205
- message: s
1206
- }) : s]))]
1205
+ message: r
1206
+ }) : r]))]
1207
1207
  })), {};
1208
1208
  }
1209
1209
  }), sn = X({
@@ -1212,7 +1212,7 @@ const Ca = X({
1212
1212
  }, "focus");
1213
1213
  function rn(e) {
1214
1214
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Nl();
1215
- const t = Ve(e, "focused"), n = E(() => ({
1215
+ const t = Ve(e, "focused"), n = R(() => ({
1216
1216
  [`${a}--focused`]: t.value
1217
1217
  }));
1218
1218
  function l() {
@@ -1245,7 +1245,7 @@ function wa(e) {
1245
1245
  throw new Error("Could not find Vuetify rules injection");
1246
1246
  return a.aliases;
1247
1247
  }
1248
- return a?.resolve(e) ?? E(e);
1248
+ return a?.resolve(e) ?? R(e);
1249
1249
  }
1250
1250
  const _a = X({
1251
1251
  disabled: {
@@ -1278,42 +1278,42 @@ const _a = X({
1278
1278
  }, "validation");
1279
1279
  function Pa(e) {
1280
1280
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Nl(), t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xe();
1281
- const n = Ve(e, "modelValue"), l = I(() => e.validationValue === void 0 ? n.value : e.validationValue), u = $t(e), s = wa(() => e.rules), i = j([]), o = ee(!0), r = I(() => !!(Te(n.value === "" ? null : n.value).length || Te(l.value === "" ? null : l.value).length)), d = I(() => e.errorMessages?.length ? Te(e.errorMessages).concat(i.value).slice(0, Math.max(0, Number(e.maxErrors))) : i.value), c = I(() => {
1281
+ const n = Ve(e, "modelValue"), l = I(() => e.validationValue === void 0 ? n.value : e.validationValue), u = $t(e), r = wa(() => e.rules), o = G([]), i = ee(!0), s = I(() => !!(Be(n.value === "" ? null : n.value).length || Be(l.value === "" ? null : l.value).length)), d = I(() => e.errorMessages?.length ? Be(e.errorMessages).concat(o.value).slice(0, Math.max(0, Number(e.maxErrors))) : o.value), c = I(() => {
1282
1282
  let F = (e.validateOn ?? u.validateOn?.value) || "input";
1283
1283
  F === "lazy" && (F = "input lazy"), F === "eager" && (F = "input eager");
1284
- const B = new Set(F?.split(" ") ?? []);
1284
+ const E = new Set(F?.split(" ") ?? []);
1285
1285
  return {
1286
- input: B.has("input"),
1287
- blur: B.has("blur") || B.has("input") || B.has("invalid-input"),
1288
- invalidInput: B.has("invalid-input"),
1289
- lazy: B.has("lazy"),
1290
- eager: B.has("eager")
1286
+ input: E.has("input"),
1287
+ blur: E.has("blur") || E.has("input") || E.has("invalid-input"),
1288
+ invalidInput: E.has("invalid-input"),
1289
+ lazy: E.has("lazy"),
1290
+ eager: E.has("eager")
1291
1291
  };
1292
- }), m = I(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? o.value ? i.value.length || c.value.lazy ? null : !0 : !i.value.length : !0), v = ee(!1), y = I(() => ({
1293
- [`${a}--error`]: m.value === !1,
1294
- [`${a}--dirty`]: r.value,
1292
+ }), f = I(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? i.value ? o.value.length || c.value.lazy ? null : !0 : !o.value.length : !0), v = ee(!1), y = I(() => ({
1293
+ [`${a}--error`]: f.value === !1,
1294
+ [`${a}--dirty`]: s.value,
1295
1295
  [`${a}--disabled`]: u.isDisabled.value,
1296
1296
  [`${a}--readonly`]: u.isReadonly.value
1297
- })), h = Ll("validation"), p = I(() => e.name ?? M(t));
1297
+ })), h = Ll("validation"), p = I(() => e.name ?? $(t));
1298
1298
  wn(() => {
1299
1299
  u.register?.({
1300
1300
  id: p.value,
1301
1301
  vm: h,
1302
1302
  validate: C,
1303
- reset: w,
1304
- resetValidation: P
1303
+ reset: _,
1304
+ resetValidation: w
1305
1305
  });
1306
1306
  }), kl(() => {
1307
1307
  u.unregister?.(p.value);
1308
1308
  }), at(async () => {
1309
- c.value.lazy || await C(!c.value.eager), u.update?.(p.value, m.value, d.value);
1310
- }), jt(() => c.value.input || c.value.invalidInput && m.value === !1, () => {
1309
+ c.value.lazy || await C(!c.value.eager), u.update?.(p.value, f.value, d.value);
1310
+ }), jt(() => c.value.input || c.value.invalidInput && f.value === !1, () => {
1311
1311
  se(l, () => {
1312
1312
  if (l.value != null)
1313
1313
  C();
1314
1314
  else if (e.focused) {
1315
- const F = se(() => e.focused, (B) => {
1316
- B || C(), F();
1315
+ const F = se(() => e.focused, (E) => {
1316
+ E || C(), F();
1317
1317
  });
1318
1318
  }
1319
1319
  });
@@ -1321,21 +1321,21 @@ function Pa(e) {
1321
1321
  se(() => e.focused, (F) => {
1322
1322
  F || C();
1323
1323
  });
1324
- }), se([m, d], () => {
1325
- u.update?.(p.value, m.value, d.value);
1324
+ }), se([f, d], () => {
1325
+ u.update?.(p.value, f.value, d.value);
1326
1326
  });
1327
- async function w() {
1328
- n.value = null, await ke(), await P();
1327
+ async function _() {
1328
+ n.value = null, await ke(), await w();
1329
1329
  }
1330
- async function P() {
1331
- o.value = !0, c.value.lazy ? i.value = [] : await C(!c.value.eager);
1330
+ async function w() {
1331
+ i.value = !0, c.value.lazy ? o.value = [] : await C(!c.value.eager);
1332
1332
  }
1333
1333
  async function C() {
1334
1334
  let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
1335
- const B = [];
1335
+ const E = [];
1336
1336
  v.value = !0;
1337
- for (const U of s.value) {
1338
- if (B.length >= Number(e.maxErrors ?? 1))
1337
+ for (const U of r.value) {
1338
+ if (E.length >= Number(e.maxErrors ?? 1))
1339
1339
  break;
1340
1340
  const V = await (typeof U == "function" ? U : () => U)(l.value);
1341
1341
  if (V !== !0) {
@@ -1343,21 +1343,21 @@ function Pa(e) {
1343
1343
  console.warn(`${V} is not a valid value. Rule functions must return boolean true or a string.`);
1344
1344
  continue;
1345
1345
  }
1346
- B.push(V || "");
1346
+ E.push(V || "");
1347
1347
  }
1348
1348
  }
1349
- return i.value = B, v.value = !1, o.value = F, i.value;
1349
+ return o.value = E, v.value = !1, i.value = F, o.value;
1350
1350
  }
1351
1351
  return {
1352
1352
  errorMessages: d,
1353
- isDirty: r,
1353
+ isDirty: s,
1354
1354
  isDisabled: u.isDisabled,
1355
1355
  isReadonly: u.isReadonly,
1356
- isPristine: o,
1357
- isValid: m,
1356
+ isPristine: i,
1357
+ isValid: f,
1358
1358
  isValidating: v,
1359
- reset: w,
1360
- resetValidation: P,
1359
+ reset: _,
1360
+ resetValidation: w,
1361
1361
  validate: C,
1362
1362
  validationClasses: y
1363
1363
  };
@@ -1411,85 +1411,85 @@ const cn = X({
1411
1411
  const {
1412
1412
  densityClasses: u
1413
1413
  } = Dt(e), {
1414
- dimensionStyles: s
1414
+ dimensionStyles: r
1415
1415
  } = bt(e), {
1416
- themeClasses: i
1416
+ themeClasses: o
1417
1417
  } = ot(e), {
1418
- rtlClasses: o
1418
+ rtlClasses: i
1419
1419
  } = Ft(), {
1420
- InputIcon: r
1420
+ InputIcon: s
1421
1421
  } = Ot(e), d = Xe(), c = I(() => e.id || `input-${d}`), {
1422
- errorMessages: m,
1422
+ errorMessages: f,
1423
1423
  isDirty: v,
1424
1424
  isDisabled: y,
1425
1425
  isReadonly: h,
1426
1426
  isPristine: p,
1427
- isValid: w,
1428
- isValidating: P,
1427
+ isValid: _,
1428
+ isValidating: w,
1429
1429
  reset: C,
1430
1430
  resetValidation: F,
1431
- validate: B,
1431
+ validate: E,
1432
1432
  validationClasses: U
1433
- } = Pa(e, "v-input", c), _ = I(() => e.errorMessages?.length || !p.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), V = E(() => _.value.length > 0), $ = E(() => !e.hideDetails || e.hideDetails === "auto" && (V.value || !!n.details)), D = I(() => $.value ? `${c.value}-messages` : void 0), G = I(() => ({
1433
+ } = Pa(e, "v-input", c), A = I(() => e.errorMessages?.length || !p.value && f.value.length ? f.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), V = R(() => A.value.length > 0), M = R(() => !e.hideDetails || e.hideDetails === "auto" && (V.value || !!n.details)), D = I(() => M.value ? `${c.value}-messages` : void 0), N = I(() => ({
1434
1434
  id: c,
1435
1435
  messagesId: D,
1436
1436
  isDirty: v,
1437
1437
  isDisabled: y,
1438
1438
  isReadonly: h,
1439
1439
  isPristine: p,
1440
- isValid: w,
1441
- isValidating: P,
1442
- hasDetails: $,
1440
+ isValid: _,
1441
+ isValidating: w,
1442
+ hasDetails: M,
1443
1443
  reset: C,
1444
1444
  resetValidation: F,
1445
- validate: B
1446
- })), ne = E(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), H = E(() => {
1445
+ validate: E
1446
+ })), ne = R(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), z = R(() => {
1447
1447
  if (e.iconColor)
1448
1448
  return e.iconColor === !0 ? ne.value : e.iconColor;
1449
1449
  });
1450
1450
  return de(() => {
1451
- const W = !!(n.prepend || e.prependIcon), K = !!(n.append || e.appendIcon);
1451
+ const W = !!(n.prepend || e.prependIcon), j = !!(n.append || e.appendIcon);
1452
1452
  return b("div", {
1453
1453
  class: re(["v-input", `v-input--${e.direction}`, {
1454
1454
  "v-input--center-affix": e.centerAffix,
1455
1455
  "v-input--focused": e.focused,
1456
1456
  "v-input--glow": e.glow,
1457
1457
  "v-input--hide-spin-buttons": e.hideSpinButtons
1458
- }, u.value, i.value, o.value, U.value, e.class]),
1459
- style: xe([s.value, e.style])
1458
+ }, u.value, o.value, i.value, U.value, e.class]),
1459
+ style: xe([r.value, e.style])
1460
1460
  }, [W && b("div", {
1461
1461
  key: "prepend",
1462
1462
  class: "v-input__prepend"
1463
- }, [n.prepend ? n.prepend(G.value) : e.prependIcon && g(r, {
1463
+ }, [n.prepend ? n.prepend(N.value) : e.prependIcon && g(s, {
1464
1464
  key: "prepend-icon",
1465
1465
  name: "prepend",
1466
- color: H.value
1466
+ color: z.value
1467
1467
  }, null)]), n.default && b("div", {
1468
1468
  class: "v-input__control"
1469
- }, [n.default?.(G.value)]), K && b("div", {
1469
+ }, [n.default?.(N.value)]), j && b("div", {
1470
1470
  key: "append",
1471
1471
  class: "v-input__append"
1472
- }, [n.append ? n.append(G.value) : e.appendIcon && g(r, {
1472
+ }, [n.append ? n.append(N.value) : e.appendIcon && g(s, {
1473
1473
  key: "append-icon",
1474
1474
  name: "append",
1475
- color: H.value
1476
- }, null)]), $.value && b("div", {
1475
+ color: z.value
1476
+ }, null)]), M.value && b("div", {
1477
1477
  id: D.value,
1478
1478
  class: "v-input__details",
1479
1479
  role: "alert",
1480
1480
  "aria-live": "polite"
1481
1481
  }, [g(Va, {
1482
1482
  active: V.value,
1483
- messages: _.value
1483
+ messages: A.value
1484
1484
  }, {
1485
1485
  message: n.message
1486
- }), n.details?.(G.value)])]);
1486
+ }), n.details?.(N.value)])]);
1487
1487
  }), {
1488
1488
  reset: C,
1489
1489
  resetValidation: F,
1490
- validate: B,
1491
- isValid: w,
1492
- errorMessages: m
1490
+ validate: E,
1491
+ isValid: _,
1492
+ errorMessages: f
1493
1493
  };
1494
1494
  }
1495
1495
  }), Aa = X({
@@ -1514,7 +1514,7 @@ const cn = X({
1514
1514
  let {
1515
1515
  slots: t
1516
1516
  } = a;
1517
- const n = E(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
1517
+ const n = R(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
1518
1518
  return de(() => g(nl, {
1519
1519
  transition: e.transition
1520
1520
  }, {
@@ -1611,45 +1611,45 @@ const cn = X({
1611
1611
  const {
1612
1612
  themeClasses: u
1613
1613
  } = ot(e), {
1614
- loaderClasses: s
1614
+ loaderClasses: r
1615
1615
  } = Hl(e), {
1616
- focusClasses: i,
1617
- isFocused: o,
1618
- focus: r,
1616
+ focusClasses: o,
1617
+ isFocused: i,
1618
+ focus: s,
1619
1619
  blur: d
1620
1620
  } = rn(e), {
1621
1621
  InputIcon: c
1622
1622
  } = Ot(e), {
1623
- roundedClasses: m
1623
+ roundedClasses: f
1624
1624
  } = gt(e), {
1625
1625
  rtlClasses: v
1626
- } = Ft(), y = E(() => e.dirty || e.active), h = E(() => !!(e.label || l.label)), p = E(() => !e.singleLine && h.value), w = Xe(), P = I(() => e.id || `input-${w}`), C = E(() => e.details ? `${P.value}-messages` : void 0), F = j(), B = j(), U = j(), _ = I(() => ["plain", "underlined"].includes(e.variant)), V = I(() => e.error || e.disabled ? void 0 : y.value && o.value ? e.color : e.baseColor), $ = I(() => {
1627
- if (!(!e.iconColor || e.glow && !o.value))
1626
+ } = Ft(), y = R(() => e.dirty || e.active), h = R(() => !!(e.label || l.label)), p = R(() => !e.singleLine && h.value), _ = Xe(), w = I(() => e.id || `input-${_}`), C = R(() => e.details ? `${w.value}-messages` : void 0), F = G(), E = G(), U = G(), A = I(() => ["plain", "underlined"].includes(e.variant)), V = I(() => e.error || e.disabled ? void 0 : y.value && i.value ? e.color : e.baseColor), M = I(() => {
1627
+ if (!(!e.iconColor || e.glow && !i.value))
1628
1628
  return e.iconColor === !0 ? V.value : e.iconColor;
1629
1629
  }), {
1630
1630
  backgroundColorClasses: D,
1631
- backgroundColorStyles: G
1631
+ backgroundColorStyles: N
1632
1632
  } = Tt(() => e.bgColor), {
1633
1633
  textColorClasses: ne,
1634
- textColorStyles: H
1634
+ textColorStyles: z
1635
1635
  } = kt(V);
1636
- se(y, (z) => {
1636
+ se(y, (K) => {
1637
1637
  if (p.value && !xl()) {
1638
- const fe = F.value.$el, R = B.value.$el;
1638
+ const fe = F.value.$el, B = E.value.$el;
1639
1639
  requestAnimationFrame(() => {
1640
- const O = $n(fe), k = new Mn(R), f = k.x - O.x, A = k.y - O.y - (O.height / 2 - k.height / 2), J = k.width / 0.75, ve = Math.abs(J - O.width) > 1 ? {
1640
+ const O = $n(fe), k = new Mn(B), m = k.x - O.x, P = k.y - O.y - (O.height / 2 - k.height / 2), J = k.width / 0.75, ve = Math.abs(J - O.width) > 1 ? {
1641
1641
  maxWidth: et(J)
1642
- } : void 0, ge = getComputedStyle(fe), pe = getComputedStyle(R), Ie = parseFloat(ge.transitionDuration) * 1e3 || 150, De = parseFloat(pe.getPropertyValue("--v-field-label-scale")), je = pe.getPropertyValue("color");
1643
- fe.style.visibility = "visible", R.style.visibility = "hidden", Nn(fe, {
1644
- transform: `translate(${f}px, ${A}px) scale(${De})`,
1642
+ } : void 0, ge = getComputedStyle(fe), pe = getComputedStyle(B), Ie = parseFloat(ge.transitionDuration) * 1e3 || 150, De = parseFloat(pe.getPropertyValue("--v-field-label-scale")), je = pe.getPropertyValue("color");
1643
+ fe.style.visibility = "visible", B.style.visibility = "hidden", Nn(fe, {
1644
+ transform: `translate(${m}px, ${P}px) scale(${De})`,
1645
1645
  color: je,
1646
1646
  ...ve
1647
1647
  }, {
1648
1648
  duration: Ie,
1649
1649
  easing: Ln,
1650
- direction: z ? "normal" : "reverse"
1650
+ direction: K ? "normal" : "reverse"
1651
1651
  }).finished.then(() => {
1652
- fe.style.removeProperty("visibility"), R.style.removeProperty("visibility");
1652
+ fe.style.removeProperty("visibility"), B.style.removeProperty("visibility");
1653
1653
  });
1654
1654
  });
1655
1655
  }
@@ -1658,40 +1658,40 @@ const cn = X({
1658
1658
  });
1659
1659
  const W = I(() => ({
1660
1660
  isActive: y,
1661
- isFocused: o,
1661
+ isFocused: i,
1662
1662
  controlRef: U,
1663
- iconColor: $,
1663
+ iconColor: M,
1664
1664
  blur: d,
1665
- focus: r
1666
- })), K = E(() => {
1667
- const z = !y.value;
1665
+ focus: s
1666
+ })), j = R(() => {
1667
+ const K = !y.value;
1668
1668
  return {
1669
- "aria-hidden": z,
1670
- for: z ? void 0 : P.value
1669
+ "aria-hidden": K,
1670
+ for: K ? void 0 : w.value
1671
1671
  };
1672
- }), ue = E(() => {
1673
- const z = p.value && y.value;
1672
+ }), ue = R(() => {
1673
+ const K = p.value && y.value;
1674
1674
  return {
1675
- "aria-hidden": z,
1676
- for: z ? void 0 : P.value
1675
+ "aria-hidden": K,
1676
+ for: K ? void 0 : w.value
1677
1677
  };
1678
1678
  });
1679
- function q(z) {
1680
- z.target !== document.activeElement && z.preventDefault();
1679
+ function q(K) {
1680
+ K.target !== document.activeElement && K.preventDefault();
1681
1681
  }
1682
1682
  return de(() => {
1683
- const z = e.variant === "outlined", fe = !!(l["prepend-inner"] || e.prependInnerIcon), R = !!(e.clearable || l.clear) && !e.disabled, O = !!(l["append-inner"] || e.appendInnerIcon || R), k = () => l.label ? l.label({
1683
+ const K = e.variant === "outlined", fe = !!(l["prepend-inner"] || e.prependInnerIcon), B = !!(e.clearable || l.clear) && !e.disabled, O = !!(l["append-inner"] || e.appendInnerIcon || B), k = () => l.label ? l.label({
1684
1684
  ...W.value,
1685
1685
  label: e.label,
1686
1686
  props: {
1687
- for: P.value
1687
+ for: w.value
1688
1688
  }
1689
1689
  }) : e.label;
1690
- return b("div", L({
1690
+ return b("div", H({
1691
1691
  class: ["v-field", {
1692
1692
  "v-field--active": y.value,
1693
1693
  "v-field--appended": O,
1694
- "v-field--center-affix": e.centerAffix ?? !_.value,
1694
+ "v-field--center-affix": e.centerAffix ?? !A.value,
1695
1695
  "v-field--disabled": e.disabled,
1696
1696
  "v-field--dirty": e.dirty,
1697
1697
  "v-field--error": e.error,
@@ -1704,8 +1704,8 @@ const cn = X({
1704
1704
  "v-field--single-line": e.singleLine,
1705
1705
  "v-field--no-label": !k(),
1706
1706
  [`v-field--variant-${e.variant}`]: !0
1707
- }, u.value, D.value, i.value, s.value, m.value, v.value, e.class],
1708
- style: [G.value, e.style],
1707
+ }, u.value, D.value, o.value, r.value, f.value, v.value, e.class],
1708
+ style: [N.value, e.style],
1709
1709
  onClick: q
1710
1710
  }, t), [b("div", {
1711
1711
  class: "v-field__overlay"
@@ -1721,20 +1721,20 @@ const cn = X({
1721
1721
  }, [l["prepend-inner"] ? l["prepend-inner"](W.value) : e.prependInnerIcon && g(c, {
1722
1722
  key: "prepend-icon",
1723
1723
  name: "prependInner",
1724
- color: $.value
1724
+ color: M.value
1725
1725
  }, null)]), b("div", {
1726
1726
  class: "v-field__field",
1727
1727
  "data-no-activator": ""
1728
- }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && p.value && g(Ct, L({
1728
+ }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && p.value && g(Ct, H({
1729
1729
  key: "floating-label",
1730
- ref: B,
1730
+ ref: E,
1731
1731
  class: [ne.value],
1732
1732
  floating: !0
1733
- }, K.value, {
1734
- style: H.value
1733
+ }, j.value, {
1734
+ style: z.value
1735
1735
  }), {
1736
1736
  default: () => [k()]
1737
- }), h.value && g(Ct, L({
1737
+ }), h.value && g(Ct, H({
1738
1738
  key: "label",
1739
1739
  ref: F,
1740
1740
  id: e.labelId
@@ -1743,23 +1743,23 @@ const cn = X({
1743
1743
  }), l.default?.({
1744
1744
  ...W.value,
1745
1745
  props: {
1746
- id: P.value,
1746
+ id: w.value,
1747
1747
  class: "v-field__input",
1748
1748
  "aria-describedby": C.value
1749
1749
  },
1750
- focus: r,
1750
+ focus: s,
1751
1751
  blur: d
1752
1752
  }) ?? b("div", {
1753
- id: P.value,
1753
+ id: w.value,
1754
1754
  class: "v-field__input",
1755
1755
  "aria-describedby": C.value
1756
- }, null)]), R && g(Tl, {
1756
+ }, null)]), B && g(Tl, {
1757
1757
  key: "clear"
1758
1758
  }, {
1759
1759
  default: () => [Ue(b("div", {
1760
1760
  class: "v-field__clearable",
1761
- onMousedown: (f) => {
1762
- f.preventDefault(), f.stopPropagation();
1761
+ onMousedown: (m) => {
1762
+ m.preventDefault(), m.stopPropagation();
1763
1763
  }
1764
1764
  }, [g(Fe, {
1765
1765
  defaults: {
@@ -1771,14 +1771,14 @@ const cn = X({
1771
1771
  default: () => [l.clear ? l.clear({
1772
1772
  ...W.value,
1773
1773
  props: {
1774
- onFocus: r,
1774
+ onFocus: s,
1775
1775
  onBlur: d,
1776
1776
  onClick: e["onClick:clear"],
1777
1777
  tabindex: -1
1778
1778
  }
1779
1779
  }) : g(c, {
1780
1780
  name: "clear",
1781
- onFocus: r,
1781
+ onFocus: s,
1782
1782
  onBlur: d,
1783
1783
  tabindex: -1
1784
1784
  }, null)]
@@ -1789,40 +1789,40 @@ const cn = X({
1789
1789
  }, [l["append-inner"] ? l["append-inner"](W.value) : e.appendInnerIcon && g(c, {
1790
1790
  key: "append-icon",
1791
1791
  name: "appendInner",
1792
- color: $.value
1792
+ color: M.value
1793
1793
  }, null)]), b("div", {
1794
1794
  class: re(["v-field__outline", ne.value]),
1795
- style: xe(H.value)
1796
- }, [z && b(ce, null, [b("div", {
1795
+ style: xe(z.value)
1796
+ }, [K && b(ce, null, [b("div", {
1797
1797
  class: "v-field__outline__start"
1798
1798
  }, null), p.value && b("div", {
1799
1799
  class: "v-field__outline__notch"
1800
- }, [g(Ct, L({
1801
- ref: B,
1800
+ }, [g(Ct, H({
1801
+ ref: E,
1802
1802
  floating: !0
1803
- }, K.value), {
1803
+ }, j.value), {
1804
1804
  default: () => [k()]
1805
1805
  })]), b("div", {
1806
1806
  class: "v-field__outline__end"
1807
- }, null)]), _.value && p.value && g(Ct, L({
1808
- ref: B,
1807
+ }, null)]), A.value && p.value && g(Ct, H({
1808
+ ref: E,
1809
1809
  floating: !0
1810
- }, K.value), {
1810
+ }, j.value), {
1811
1811
  default: () => [k()]
1812
1812
  })])]);
1813
1813
  }), {
1814
1814
  controlRef: U,
1815
- fieldIconColor: $
1815
+ fieldIconColor: M
1816
1816
  };
1817
1817
  }
1818
1818
  }), Ba = X({
1819
1819
  autocomplete: String
1820
1820
  }, "autocomplete");
1821
1821
  function vn(e) {
1822
- const a = Xe(), t = ee(0), n = E(() => e.autocomplete === "suppress"), l = E(() => {
1822
+ const a = Xe(), t = ee(0), n = R(() => e.autocomplete === "suppress"), l = R(() => {
1823
1823
  if (e.name)
1824
1824
  return n.value ? `${e.name}-${a}-${t.value}` : e.name;
1825
- }), u = E(() => n.value ? "off" : e.autocomplete);
1825
+ }), u = R(() => n.value ? "off" : e.autocomplete);
1826
1826
  return {
1827
1827
  isSuppressing: n,
1828
1828
  fieldAutocomplete: u,
@@ -1877,106 +1877,106 @@ const Ea = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1877
1877
  emit: n,
1878
1878
  slots: l
1879
1879
  } = a;
1880
- const u = Ve(e, "modelValue", void 0, (_) => Object.is(_, -0) ? "-0" : _), {
1881
- isFocused: s,
1882
- focus: i,
1883
- blur: o
1880
+ const u = Ve(e, "modelValue", void 0, (A) => Object.is(A, -0) ? "-0" : A), {
1881
+ isFocused: r,
1882
+ focus: o,
1883
+ blur: i
1884
1884
  } = rn(e), {
1885
- onIntersect: r
1885
+ onIntersect: s
1886
1886
  } = Ra(e), d = I(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : (u.value ?? "").toString().length), c = I(() => {
1887
1887
  if (t.maxlength) return t.maxlength;
1888
1888
  if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
1889
1889
  return e.counter;
1890
- }), m = I(() => ["plain", "underlined"].includes(e.variant)), v = j(), y = j(), h = j(), p = vn(e), w = I(() => Ea.includes(e.type) || e.persistentPlaceholder || s.value || e.active);
1891
- function P() {
1892
- p.isSuppressing.value && p.update(), s.value || i(), ke(() => {
1890
+ }), f = I(() => ["plain", "underlined"].includes(e.variant)), v = G(), y = G(), h = G(), p = vn(e), _ = I(() => Ea.includes(e.type) || e.persistentPlaceholder || r.value || e.active);
1891
+ function w() {
1892
+ p.isSuppressing.value && p.update(), r.value || o(), ke(() => {
1893
1893
  h.value !== document.activeElement && h.value?.focus();
1894
1894
  });
1895
1895
  }
1896
- function C(_) {
1897
- n("mousedown:control", _), _.target !== h.value && (P(), _.preventDefault());
1896
+ function C(A) {
1897
+ n("mousedown:control", A), A.target !== h.value && (w(), A.preventDefault());
1898
1898
  }
1899
- function F(_) {
1900
- n("click:control", _);
1899
+ function F(A) {
1900
+ n("click:control", A);
1901
1901
  }
1902
- function B(_, V) {
1903
- _.stopPropagation(), P(), ke(() => {
1904
- V(), $l(e["onClick:clear"], _);
1902
+ function E(A, V) {
1903
+ A.stopPropagation(), w(), ke(() => {
1904
+ V(), $l(e["onClick:clear"], A);
1905
1905
  });
1906
1906
  }
1907
- function U(_) {
1908
- const V = _.target;
1907
+ function U(A) {
1908
+ const V = A.target;
1909
1909
  if (!(e.modelModifiers?.trim && ["text", "search", "password", "tel", "url"].includes(e.type))) {
1910
1910
  u.value = V.value;
1911
1911
  return;
1912
1912
  }
1913
- const $ = V.value, D = V.selectionStart, G = V.selectionEnd;
1914
- u.value = $, ke(() => {
1913
+ const M = V.value, D = V.selectionStart, N = V.selectionEnd;
1914
+ u.value = M, ke(() => {
1915
1915
  let ne = 0;
1916
- $.trimStart().length === V.value.length && (ne = $.length - V.value.length), D != null && (V.selectionStart = D - ne), G != null && (V.selectionEnd = G - ne);
1916
+ M.trimStart().length === V.value.length && (ne = M.length - V.value.length), D != null && (V.selectionStart = D - ne), N != null && (V.selectionEnd = N - ne);
1917
1917
  });
1918
1918
  }
1919
1919
  return de(() => {
1920
- const _ = !!(l.counter || e.counter !== !1 && e.counter != null), V = !!(_ || l.details), [$, D] = Ol(t), {
1921
- modelValue: G,
1920
+ const A = !!(l.counter || e.counter !== !1 && e.counter != null), V = !!(A || l.details), [M, D] = Ol(t), {
1921
+ modelValue: N,
1922
1922
  ...ne
1923
- } = hl.filterProps(e), H = bl.filterProps(e);
1924
- return g(hl, L({
1923
+ } = hl.filterProps(e), z = bl.filterProps(e);
1924
+ return g(hl, H({
1925
1925
  ref: v,
1926
1926
  modelValue: u.value,
1927
1927
  "onUpdate:modelValue": (W) => u.value = W,
1928
1928
  class: ["v-text-field", {
1929
1929
  "v-text-field--prefixed": e.prefix,
1930
1930
  "v-text-field--suffixed": e.suffix,
1931
- "v-input--plain-underlined": m.value
1931
+ "v-input--plain-underlined": f.value
1932
1932
  }, e.class],
1933
1933
  style: e.style
1934
- }, $, ne, {
1935
- centerAffix: !m.value,
1936
- focused: s.value
1934
+ }, M, ne, {
1935
+ centerAffix: !f.value,
1936
+ focused: r.value
1937
1937
  }), {
1938
1938
  ...l,
1939
1939
  default: (W) => {
1940
1940
  let {
1941
- id: K,
1941
+ id: j,
1942
1942
  isDisabled: ue,
1943
1943
  isDirty: q,
1944
- isReadonly: z,
1944
+ isReadonly: K,
1945
1945
  isValid: fe,
1946
- hasDetails: R,
1946
+ hasDetails: B,
1947
1947
  reset: O
1948
1948
  } = W;
1949
- return g(bl, L({
1949
+ return g(bl, H({
1950
1950
  ref: y,
1951
1951
  onMousedown: C,
1952
1952
  onClick: F,
1953
- "onClick:clear": (k) => B(k, O),
1953
+ "onClick:clear": (k) => E(k, O),
1954
1954
  role: e.role
1955
- }, Ye(H, ["onClick:clear"]), {
1956
- id: K.value,
1957
- labelId: `${K.value}-label`,
1958
- active: w.value || q.value,
1955
+ }, Ye(z, ["onClick:clear"]), {
1956
+ id: j.value,
1957
+ labelId: `${j.value}-label`,
1958
+ active: _.value || q.value,
1959
1959
  dirty: q.value || e.dirty,
1960
1960
  disabled: ue.value,
1961
- focused: s.value,
1962
- details: R.value,
1961
+ focused: r.value,
1962
+ details: B.value,
1963
1963
  error: fe.value === !1
1964
1964
  }), {
1965
1965
  ...l,
1966
1966
  default: (k) => {
1967
1967
  let {
1968
1968
  props: {
1969
- class: f,
1970
- ...A
1969
+ class: m,
1970
+ ...P
1971
1971
  },
1972
1972
  controlRef: J
1973
1973
  } = k;
1974
- const ve = b("input", L({
1974
+ const ve = b("input", H({
1975
1975
  ref: (ge) => h.value = J.value = ge,
1976
1976
  value: u.value,
1977
1977
  onInput: U,
1978
1978
  autofocus: e.autofocus,
1979
- readonly: z.value,
1979
+ readonly: K.value,
1980
1980
  disabled: ue.value,
1981
1981
  name: p.fieldName.value,
1982
1982
  autocomplete: p.fieldAutocomplete.value,
@@ -1984,22 +1984,22 @@ const Ea = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1984
1984
  size: 1,
1985
1985
  role: e.role,
1986
1986
  type: e.type,
1987
- onFocus: i,
1988
- onBlur: o,
1989
- "aria-labelledby": `${K.value}-label`
1990
- }, A, D), null);
1987
+ onFocus: o,
1988
+ onBlur: i,
1989
+ "aria-labelledby": `${j.value}-label`
1990
+ }, P, D), null);
1991
1991
  return b(ce, null, [e.prefix && b("span", {
1992
1992
  class: "v-text-field__prefix"
1993
1993
  }, [b("span", {
1994
1994
  class: "v-text-field__prefix__text"
1995
1995
  }, [e.prefix])]), Ue(l.default ? b("div", {
1996
- class: re(f),
1996
+ class: re(m),
1997
1997
  "data-no-activator": ""
1998
1998
  }, [l.default({
1999
- id: K
1999
+ id: j
2000
2000
  }), ve]) : _n(ve, {
2001
- class: f
2002
- }), [[dl, r, null, {
2001
+ class: m
2002
+ }), [[dl, s, null, {
2003
2003
  once: !0
2004
2004
  }]]), e.suffix && b("span", {
2005
2005
  class: "v-text-field__suffix"
@@ -2009,8 +2009,8 @@ const Ea = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2009
2009
  }
2010
2010
  });
2011
2011
  },
2012
- details: V ? (W) => b(ce, null, [l.details?.(W), _ && b(ce, null, [b("span", null, null), g(Fa, {
2013
- active: e.persistentCounter || s.value,
2012
+ details: V ? (W) => b(ce, null, [l.details?.(W), A && b(ce, null, [b("span", null, null), g(Fa, {
2013
+ active: e.persistentCounter || r.value,
2014
2014
  value: d.value,
2015
2015
  max: c.value,
2016
2016
  disabled: e.disabled
@@ -2036,13 +2036,13 @@ const Ea = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2036
2036
  } = a;
2037
2037
  const {
2038
2038
  resizeRef: u,
2039
- contentRect: s
2039
+ contentRect: r
2040
2040
  } = It(void 0, "border");
2041
- se(() => s.value?.height, (i) => {
2042
- i != null && n("update:height", i);
2041
+ se(() => r.value?.height, (o) => {
2042
+ o != null && n("update:height", o);
2043
2043
  }), de(() => e.renderless ? b(ce, null, [l.default?.({
2044
2044
  itemRef: u
2045
- })]) : b("div", L({
2045
+ })]) : b("div", H({
2046
2046
  ref: u,
2047
2047
  class: ["v-virtual-scroll__item", e.class],
2048
2048
  style: e.style
@@ -2070,97 +2070,97 @@ function Ha(e, a) {
2070
2070
  // the chance of ending up with empty space at the bottom.
2071
2071
  // The default value is set here to avoid poisoning getSize()
2072
2072
  (parseInt(e.height) || t.height.value) / (n.value || 16)
2073
- ) || 1), s = ee(0), i = ee(0), o = j(), r = j();
2073
+ ) || 1), r = ee(0), o = ee(0), i = G(), s = G();
2074
2074
  let d = 0;
2075
2075
  const {
2076
2076
  resizeRef: c,
2077
- contentRect: m
2077
+ contentRect: f
2078
2078
  } = It();
2079
2079
  zt(() => {
2080
- c.value = o.value;
2080
+ c.value = i.value;
2081
2081
  });
2082
- const v = I(() => o.value === document.documentElement ? t.height.value : m.value?.height || parseInt(e.height) || 0), y = I(() => !!(o.value && r.value && v.value && n.value));
2082
+ const v = I(() => i.value === document.documentElement ? t.height.value : f.value?.height || parseInt(e.height) || 0), y = I(() => !!(i.value && s.value && v.value && n.value));
2083
2083
  let h = Array.from({
2084
2084
  length: a.value.length
2085
2085
  }), p = Array.from({
2086
2086
  length: a.value.length
2087
2087
  });
2088
- const w = ee(0);
2089
- let P = -1;
2090
- function C(R) {
2091
- return h[R] || n.value;
2088
+ const _ = ee(0);
2089
+ let w = -1;
2090
+ function C(B) {
2091
+ return h[B] || n.value;
2092
2092
  }
2093
2093
  const F = Hn(() => {
2094
- const R = performance.now();
2094
+ const B = performance.now();
2095
2095
  p[0] = 0;
2096
2096
  const O = a.value.length;
2097
2097
  for (let k = 1; k <= O; k++)
2098
2098
  p[k] = (p[k - 1] || 0) + C(k - 1);
2099
- w.value = Math.max(w.value, performance.now() - R);
2100
- }, w), B = se(y, (R) => {
2101
- R && (B(), d = r.value.offsetTop, F.immediate(), ue(), ~P && ke(() => {
2099
+ _.value = Math.max(_.value, performance.now() - B);
2100
+ }, _), E = se(y, (B) => {
2101
+ B && (E(), d = s.value.offsetTop, F.immediate(), ue(), ~w && ke(() => {
2102
2102
  ct && window.requestAnimationFrame(() => {
2103
- z(P), P = -1;
2103
+ K(w), w = -1;
2104
2104
  });
2105
2105
  }));
2106
2106
  });
2107
2107
  rt(() => {
2108
2108
  F.clear();
2109
2109
  });
2110
- function U(R, O) {
2111
- const k = h[R], f = n.value;
2112
- n.value = f ? Math.min(n.value, O) : O, (k !== O || f !== n.value) && (h[R] = O, F());
2110
+ function U(B, O) {
2111
+ const k = h[B], m = n.value;
2112
+ n.value = m ? Math.min(n.value, O) : O, (k !== O || m !== n.value) && (h[B] = O, F());
2113
2113
  }
2114
- function _(R) {
2115
- R = Ne(R, 0, a.value.length);
2116
- const O = Math.floor(R), k = R % 1, f = O + 1, A = p[O] || 0, J = p[f] || A;
2117
- return A + (J - A) * k;
2114
+ function A(B) {
2115
+ B = Ne(B, 0, a.value.length);
2116
+ const O = Math.floor(B), k = B % 1, m = O + 1, P = p[O] || 0, J = p[m] || P;
2117
+ return P + (J - P) * k;
2118
2118
  }
2119
- function V(R) {
2120
- return za(p, R);
2119
+ function V(B) {
2120
+ return za(p, B);
2121
2121
  }
2122
- let $ = 0, D = 0, G = 0;
2123
- se(v, (R, O) => {
2124
- ue(), R < O && requestAnimationFrame(() => {
2122
+ let M = 0, D = 0, N = 0;
2123
+ se(v, (B, O) => {
2124
+ ue(), B < O && requestAnimationFrame(() => {
2125
2125
  D = 0, ue();
2126
2126
  });
2127
2127
  });
2128
2128
  let ne = -1;
2129
- function H() {
2130
- if (!o.value || !r.value) return;
2131
- const R = o.value.scrollTop, O = performance.now();
2132
- O - G > 500 ? (D = Math.sign(R - $), d = r.value.offsetTop) : D = R - $, $ = R, G = O, window.clearTimeout(ne), ne = window.setTimeout(W, 500), ue();
2129
+ function z() {
2130
+ if (!i.value || !s.value) return;
2131
+ const B = i.value.scrollTop, O = performance.now();
2132
+ O - N > 500 ? (D = Math.sign(B - M), d = s.value.offsetTop) : D = B - M, M = B, N = O, window.clearTimeout(ne), ne = window.setTimeout(W, 500), ue();
2133
2133
  }
2134
2134
  function W() {
2135
- !o.value || !r.value || (D = 0, G = 0, window.clearTimeout(ne), ue());
2135
+ !i.value || !s.value || (D = 0, N = 0, window.clearTimeout(ne), ue());
2136
2136
  }
2137
- let K = -1;
2137
+ let j = -1;
2138
2138
  function ue() {
2139
- cancelAnimationFrame(K), K = requestAnimationFrame(q);
2139
+ cancelAnimationFrame(j), j = requestAnimationFrame(q);
2140
2140
  }
2141
2141
  function q() {
2142
- if (!o.value || !v.value || !n.value) return;
2143
- const R = $ - d, O = Math.sign(D), k = Math.max(0, R - Lt), f = Ne(V(k), 0, a.value.length), A = R + v.value + Lt, J = Ne(V(A) + 1, f + 1, a.value.length);
2142
+ if (!i.value || !v.value || !n.value) return;
2143
+ const B = M - d, O = Math.sign(D), k = Math.max(0, B - Lt), m = Ne(V(k), 0, a.value.length), P = B + v.value + Lt, J = Ne(V(P) + 1, m + 1, a.value.length);
2144
2144
  if (
2145
2145
  // Only update the side we're scrolling towards,
2146
2146
  // the other side will be updated incidentally
2147
- (O !== Ma || f < l.value) && (O !== Na || J > u.value)
2147
+ (O !== Ma || m < l.value) && (O !== Na || J > u.value)
2148
2148
  ) {
2149
- const ve = _(l.value) - _(f), ge = _(J) - _(u.value);
2150
- Math.max(ve, ge) > Lt ? (l.value = f, u.value = J) : (f <= 0 && (l.value = f), J >= a.value.length && (u.value = J));
2149
+ const ve = A(l.value) - A(m), ge = A(J) - A(u.value);
2150
+ Math.max(ve, ge) > Lt ? (l.value = m, u.value = J) : (m <= 0 && (l.value = m), J >= a.value.length && (u.value = J));
2151
2151
  }
2152
- s.value = _(l.value), i.value = _(a.value.length) - _(u.value);
2152
+ r.value = A(l.value), o.value = A(a.value.length) - A(u.value);
2153
2153
  }
2154
- function z(R) {
2155
- const O = _(R);
2156
- !o.value || R && !O ? P = R : o.value.scrollTop = O;
2154
+ function K(B) {
2155
+ const O = A(B);
2156
+ !i.value || B && !O ? w = B : i.value.scrollTop = O;
2157
2157
  }
2158
- const fe = I(() => a.value.slice(l.value, u.value).map((R, O) => {
2158
+ const fe = I(() => a.value.slice(l.value, u.value).map((B, O) => {
2159
2159
  const k = O + l.value;
2160
2160
  return {
2161
- raw: R,
2161
+ raw: B,
2162
2162
  index: k,
2163
- key: Kl(R, e.itemKey, k)
2163
+ key: Kl(B, e.itemKey, k)
2164
2164
  };
2165
2165
  }));
2166
2166
  return se(a, () => {
@@ -2173,28 +2173,28 @@ function Ha(e, a) {
2173
2173
  deep: 1
2174
2174
  }), {
2175
2175
  calculateVisibleItems: ue,
2176
- containerRef: o,
2177
- markerRef: r,
2176
+ containerRef: i,
2177
+ markerRef: s,
2178
2178
  computedItems: fe,
2179
- paddingTop: s,
2180
- paddingBottom: i,
2181
- scrollToIndex: z,
2182
- handleScroll: H,
2179
+ paddingTop: r,
2180
+ paddingBottom: o,
2181
+ scrollToIndex: K,
2182
+ handleScroll: z,
2183
2183
  handleScrollend: W,
2184
2184
  handleItemResize: U
2185
2185
  };
2186
2186
  }
2187
2187
  function za(e, a) {
2188
- let t = e.length - 1, n = 0, l = 0, u = null, s = -1;
2188
+ let t = e.length - 1, n = 0, l = 0, u = null, r = -1;
2189
2189
  if (e[t] < a)
2190
2190
  return t;
2191
2191
  for (; n <= t; )
2192
2192
  if (l = n + t >> 1, u = e[l], u > a)
2193
2193
  t = l - 1;
2194
2194
  else if (u < a)
2195
- s = l, n = l + 1;
2195
+ r = l, n = l + 1;
2196
2196
  else return u === a ? l : n;
2197
- return s;
2197
+ return r;
2198
2198
  }
2199
2199
  const Ua = X({
2200
2200
  items: {
@@ -2216,45 +2216,45 @@ const Ua = X({
2216
2216
  dimensionStyles: l
2217
2217
  } = bt(e), {
2218
2218
  calculateVisibleItems: u,
2219
- containerRef: s,
2220
- markerRef: i,
2221
- handleScroll: o,
2222
- handleScrollend: r,
2219
+ containerRef: r,
2220
+ markerRef: o,
2221
+ handleScroll: i,
2222
+ handleScrollend: s,
2223
2223
  handleItemResize: d,
2224
2224
  scrollToIndex: c,
2225
- paddingTop: m,
2225
+ paddingTop: f,
2226
2226
  paddingBottom: v,
2227
2227
  computedItems: y
2228
- } = Ha(e, E(() => e.items));
2228
+ } = Ha(e, R(() => e.items));
2229
2229
  return jt(() => e.renderless, () => {
2230
2230
  function h() {
2231
- const w = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
2232
- s.value === document.documentElement ? (document[w]("scroll", o, {
2231
+ const _ = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
2232
+ r.value === document.documentElement ? (document[_]("scroll", i, {
2233
2233
  passive: !0
2234
- }), document[w]("scrollend", r)) : (s.value?.[w]("scroll", o, {
2234
+ }), document[_]("scrollend", s)) : (r.value?.[_]("scroll", i, {
2235
2235
  passive: !0
2236
- }), s.value?.[w]("scrollend", r));
2236
+ }), r.value?.[_]("scrollend", s));
2237
2237
  }
2238
2238
  at(() => {
2239
- s.value = zn(n.vnode.el, !0), h(!0);
2239
+ r.value = zn(n.vnode.el, !0), h(!0);
2240
2240
  }), rt(h);
2241
2241
  }), de(() => {
2242
2242
  const h = y.value.map((p) => g($a, {
2243
2243
  key: p.key,
2244
2244
  renderless: e.renderless,
2245
- "onUpdate:height": (w) => d(p.index, w)
2245
+ "onUpdate:height": (_) => d(p.index, _)
2246
2246
  }, {
2247
- default: (w) => t.default?.({
2247
+ default: (_) => t.default?.({
2248
2248
  item: p.raw,
2249
2249
  index: p.index,
2250
- ...w
2250
+ ..._
2251
2251
  })
2252
2252
  }));
2253
2253
  return e.renderless ? b(ce, null, [b("div", {
2254
- ref: i,
2254
+ ref: o,
2255
2255
  class: "v-virtual-scroll__spacer",
2256
2256
  style: {
2257
- paddingTop: et(m.value)
2257
+ paddingTop: et(f.value)
2258
2258
  }
2259
2259
  }, null), h, b("div", {
2260
2260
  class: "v-virtual-scroll__spacer",
@@ -2262,16 +2262,16 @@ const Ua = X({
2262
2262
  paddingBottom: et(v.value)
2263
2263
  }
2264
2264
  }, null)]) : b("div", {
2265
- ref: s,
2265
+ ref: r,
2266
2266
  class: re(["v-virtual-scroll", e.class]),
2267
- onScrollPassive: o,
2268
- onScrollend: r,
2267
+ onScrollPassive: i,
2268
+ onScrollend: s,
2269
2269
  style: xe([l.value, e.style])
2270
2270
  }, [b("div", {
2271
- ref: i,
2271
+ ref: o,
2272
2272
  class: "v-virtual-scroll__container",
2273
2273
  style: {
2274
- paddingTop: et(m.value),
2274
+ paddingTop: et(f.value),
2275
2275
  paddingBottom: et(v.value)
2276
2276
  }
2277
2277
  }, [h])]);
@@ -2284,7 +2284,7 @@ const Ua = X({
2284
2284
  function mn(e, a) {
2285
2285
  const t = ee(!1);
2286
2286
  let n;
2287
- function l(i) {
2287
+ function l(o) {
2288
2288
  cancelAnimationFrame(n), t.value = !0, n = requestAnimationFrame(() => {
2289
2289
  n = requestAnimationFrame(() => {
2290
2290
  t.value = !1;
@@ -2292,33 +2292,33 @@ function mn(e, a) {
2292
2292
  });
2293
2293
  }
2294
2294
  async function u() {
2295
- await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => {
2295
+ await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => {
2296
2296
  if (t.value) {
2297
- const o = se(t, () => {
2298
- o(), i();
2297
+ const i = se(t, () => {
2298
+ i(), o();
2299
2299
  });
2300
- } else i();
2300
+ } else o();
2301
2301
  });
2302
2302
  }
2303
- async function s(i) {
2304
- if (i.key === "Tab" && a.value?.focus(), !["PageDown", "PageUp", "Home", "End"].includes(i.key)) return;
2305
- const o = e.value?.$el;
2306
- if (!o) return;
2307
- (i.key === "Home" || i.key === "End") && o.scrollTo({
2308
- top: i.key === "Home" ? 0 : o.scrollHeight,
2303
+ async function r(o) {
2304
+ if (o.key === "Tab" && a.value?.focus(), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) return;
2305
+ const i = e.value?.$el;
2306
+ if (!i) return;
2307
+ (o.key === "Home" || o.key === "End") && i.scrollTo({
2308
+ top: o.key === "Home" ? 0 : i.scrollHeight,
2309
2309
  behavior: "smooth"
2310
2310
  }), await u();
2311
- const r = o.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
2312
- if (i.key === "PageDown" || i.key === "Home") {
2313
- const d = o.getBoundingClientRect().top;
2314
- for (const c of r)
2311
+ const s = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
2312
+ if (o.key === "PageDown" || o.key === "Home") {
2313
+ const d = i.getBoundingClientRect().top;
2314
+ for (const c of s)
2315
2315
  if (c.getBoundingClientRect().top >= d) {
2316
2316
  c.focus();
2317
2317
  break;
2318
2318
  }
2319
2319
  } else {
2320
- const d = o.getBoundingClientRect().bottom;
2321
- for (const c of [...r].reverse())
2320
+ const d = i.getBoundingClientRect().bottom;
2321
+ for (const c of [...s].reverse())
2322
2322
  if (c.getBoundingClientRect().bottom <= d) {
2323
2323
  c.focus();
2324
2324
  break;
@@ -2327,7 +2327,7 @@ function mn(e, a) {
2327
2327
  }
2328
2328
  return {
2329
2329
  onScrollPassive: l,
2330
- onKeydown: s
2330
+ onKeydown: r
2331
2331
  };
2332
2332
  }
2333
2333
  function gn(e) {
@@ -2335,37 +2335,37 @@ function gn(e) {
2335
2335
  groups: a,
2336
2336
  onLeave: t
2337
2337
  } = e;
2338
- function n(i) {
2339
- return i.type === "list" ? i.contentRef.value?.$el : i.contentRef.value;
2338
+ function n(o) {
2339
+ return o.type === "list" ? o.contentRef.value?.$el : o.contentRef.value;
2340
2340
  }
2341
- function l(i) {
2342
- const o = n(i);
2343
- return o ? _l(o) : [];
2341
+ function l(o) {
2342
+ const i = n(o);
2343
+ return i ? _l(i) : [];
2344
2344
  }
2345
- function u(i) {
2346
- const o = i.target, r = i.shiftKey ? "backward" : "forward", d = a.map(l), c = a.map((v) => v.type === "list" ? v.contentRef.value?.$el : v.contentRef.value).findIndex((v) => v?.contains(o)), m = s(d, c, r, o);
2347
- if (m === null) {
2345
+ function u(o) {
2346
+ const i = o.target, s = o.shiftKey ? "backward" : "forward", d = a.map(l), c = a.map((v) => v.type === "list" ? v.contentRef.value?.$el : v.contentRef.value).findIndex((v) => v?.contains(i)), f = r(d, c, s, i);
2347
+ if (f === null) {
2348
2348
  const v = a[c], y = d[c];
2349
- (v.type === "list" || (r === "forward" ? y.at(-1) === i.target : y.at(0) === i.target)) && t();
2349
+ (v.type === "list" || (s === "forward" ? y.at(-1) === o.target : y.at(0) === o.target)) && t();
2350
2350
  } else {
2351
- i.preventDefault(), i.stopImmediatePropagation();
2352
- const v = a[m];
2351
+ o.preventDefault(), o.stopImmediatePropagation();
2352
+ const v = a[f];
2353
2353
  if (v.type === "list" && Ut(v.displayItemsCount) > 0)
2354
2354
  v.contentRef.value?.focus(0);
2355
2355
  else {
2356
- const y = r === "forward";
2357
- d[m].at(y ? 0 : -1).focus();
2356
+ const y = s === "forward";
2357
+ d[f].at(y ? 0 : -1).focus();
2358
2358
  }
2359
2359
  }
2360
2360
  }
2361
- function s(i, o, r, d) {
2362
- const c = a[o], m = i[o];
2363
- if (c.type !== "list" && !(r === "forward" ? m.at(-1) === d : m.at(0) === d))
2361
+ function r(o, i, s, d) {
2362
+ const c = a[i], f = o[i];
2363
+ if (c.type !== "list" && !(s === "forward" ? f.at(-1) === d : f.at(0) === d))
2364
2364
  return null;
2365
- const v = r === "forward" ? 1 : -1;
2366
- for (let y = o + v; y >= 0 && y < a.length; y += v) {
2365
+ const v = s === "forward" ? 1 : -1;
2366
+ for (let y = i + v; y >= 0 && y < a.length; y += v) {
2367
2367
  const h = a[y];
2368
- if (i[y].length > 0 || h.type === "list" && Ut(h.displayItemsCount) > 0)
2368
+ if (o[y].length > 0 || h.type === "list" && Ut(h.displayItemsCount) > 0)
2369
2369
  return y;
2370
2370
  }
2371
2371
  return null;
@@ -2399,41 +2399,41 @@ const yn = X({
2399
2399
  noFilter: Boolean
2400
2400
  }, "filter");
2401
2401
  function ja(e, a, t) {
2402
- const n = [], l = t?.default ?? Ka, u = t?.filterKeys ? Te(t.filterKeys) : !1, s = Object.keys(t?.customKeyFilter ?? {}).length;
2402
+ const n = [], l = t?.default ?? Ka, u = t?.filterKeys ? Be(t.filterKeys) : !1, r = Object.keys(t?.customKeyFilter ?? {}).length;
2403
2403
  if (!e?.length) return n;
2404
- let i = [];
2405
- e: for (let o = 0; o < e.length; o++) {
2406
- const [r, d = r] = Te(e[o]), c = {}, m = {};
2404
+ let o = [];
2405
+ e: for (let i = 0; i < e.length; i++) {
2406
+ const [s, d = s] = Be(e[i]), c = {}, f = {};
2407
2407
  let v = -1;
2408
- if ((a || s > 0) && !t?.noFilter) {
2408
+ if ((a || r > 0) && !t?.noFilter) {
2409
2409
  let y = !1;
2410
- if (typeof r == "object") {
2411
- if (r.type === "divider" || r.type === "subheader") {
2412
- (i.at(-1)?.type !== "divider" || r.type !== "subheader") && (i = []), i.push({
2413
- index: o,
2410
+ if (typeof s == "object") {
2411
+ if (s.type === "divider" || s.type === "subheader") {
2412
+ (o.at(-1)?.type !== "divider" || s.type !== "subheader") && (o = []), o.push({
2413
+ index: i,
2414
2414
  matches: {},
2415
- type: r.type
2415
+ type: s.type
2416
2416
  });
2417
2417
  continue;
2418
2418
  }
2419
- const w = u || Object.keys(d);
2420
- y = w.length === s;
2421
- for (const P of w) {
2422
- const C = Kl(d, P), F = t?.customKeyFilter?.[P];
2423
- if (v = F ? F(C, a, r) : l(C, a, r), v !== -1 && v !== !1)
2424
- F ? c[P] = Ht(v, a) : m[P] = Ht(v, a);
2419
+ const _ = u || Object.keys(d);
2420
+ y = _.length === r;
2421
+ for (const w of _) {
2422
+ const C = Kl(d, w), F = t?.customKeyFilter?.[w];
2423
+ if (v = F ? F(C, a, s) : l(C, a, s), v !== -1 && v !== !1)
2424
+ F ? c[w] = Ht(v, a) : f[w] = Ht(v, a);
2425
2425
  else if (t?.filterMode === "every")
2426
2426
  continue e;
2427
2427
  }
2428
2428
  } else
2429
- v = l(r, a, r), v !== -1 && v !== !1 && (m.title = Ht(v, a));
2430
- const h = Object.keys(m).length, p = Object.keys(c).length;
2431
- if (!h && !p || t?.filterMode === "union" && p !== s && !h || t?.filterMode === "intersection" && (p !== s || !h && s > 0 && !y)) continue;
2429
+ v = l(s, a, s), v !== -1 && v !== !1 && (f.title = Ht(v, a));
2430
+ const h = Object.keys(f).length, p = Object.keys(c).length;
2431
+ if (!h && !p || t?.filterMode === "union" && p !== r && !h || t?.filterMode === "intersection" && (p !== r || !h && r > 0 && !y)) continue;
2432
2432
  }
2433
- i.length && (n.push(...i), i = []), n.push({
2434
- index: o,
2433
+ o.length && (n.push(...o), o = []), n.push({
2434
+ index: i,
2435
2435
  matches: {
2436
- ...m,
2436
+ ...f,
2437
2437
  ...c
2438
2438
  }
2439
2439
  });
@@ -2441,46 +2441,46 @@ function ja(e, a, t) {
2441
2441
  return n;
2442
2442
  }
2443
2443
  function hn(e, a, t, n) {
2444
- const l = ee([]), u = ee(/* @__PURE__ */ new Map()), s = I(() => n?.transform ? M(a).map((o) => [o, n.transform(o)]) : M(a));
2444
+ const l = ee([]), u = ee(/* @__PURE__ */ new Map()), r = I(() => n?.transform ? $(a).map((i) => [i, n.transform(i)]) : $(a));
2445
2445
  zt(() => {
2446
- const o = typeof t == "function" ? t() : M(t), r = typeof o != "string" && typeof o != "number" ? "" : String(o), d = ja(s.value, r, {
2446
+ const i = typeof t == "function" ? t() : $(t), s = typeof i != "string" && typeof i != "number" ? "" : String(i), d = ja(r.value, s, {
2447
2447
  customKeyFilter: {
2448
2448
  ...e.customKeyFilter,
2449
- ...M(n?.customKeyFilter)
2449
+ ...$(n?.customKeyFilter)
2450
2450
  },
2451
2451
  default: e.customFilter,
2452
2452
  filterKeys: e.filterKeys,
2453
2453
  filterMode: e.filterMode,
2454
2454
  noFilter: e.noFilter
2455
- }), c = M(a), m = [], v = /* @__PURE__ */ new Map();
2455
+ }), c = $(a), f = [], v = /* @__PURE__ */ new Map();
2456
2456
  d.forEach((y) => {
2457
2457
  let {
2458
2458
  index: h,
2459
2459
  matches: p
2460
2460
  } = y;
2461
- const w = c[h];
2462
- m.push(w), v.set(w.value, p);
2463
- }), l.value = m, u.value = v;
2461
+ const _ = c[h];
2462
+ f.push(_), v.set(_.value, p);
2463
+ }), l.value = f, u.value = v;
2464
2464
  });
2465
- function i(o) {
2466
- return u.value.get(o.value);
2465
+ function o(i) {
2466
+ return u.value.get(i.value);
2467
2467
  }
2468
2468
  return {
2469
2469
  filteredItems: l,
2470
2470
  filteredMatches: u,
2471
- getMatches: i
2471
+ getMatches: o
2472
2472
  };
2473
2473
  }
2474
2474
  function bn(e, a, t) {
2475
2475
  return t == null || !t.length ? a : t.map((n, l) => {
2476
- const u = l === 0 ? 0 : t[l - 1][1], s = [b("span", {
2476
+ const u = l === 0 ? 0 : t[l - 1][1], r = [b("span", {
2477
2477
  class: re(`${e}__unmask`)
2478
2478
  }, [a.slice(u, n[0])]), b("span", {
2479
2479
  class: re(`${e}__mask`)
2480
2480
  }, [a.slice(n[0], n[1])])];
2481
- return l === t.length - 1 && s.push(b("span", {
2481
+ return l === t.length - 1 && r.push(b("span", {
2482
2482
  class: re(`${e}__unmask`)
2483
- }, [a.slice(n[1])])), b(ce, null, [s]);
2483
+ }, [a.slice(n[1])])), b(ce, null, [r]);
2484
2484
  });
2485
2485
  }
2486
2486
  const Ga = X({
@@ -2494,7 +2494,7 @@ const Ga = X({
2494
2494
  }
2495
2495
  }, "autocomplete");
2496
2496
  function pn(e, a) {
2497
- const t = Xe(), n = I(() => `menu-${t}`), l = E(() => Ut(a)), u = E(() => n.value);
2497
+ const t = Xe(), n = I(() => `menu-${t}`), l = R(() => Ut(a)), u = R(() => n.value);
2498
2498
  return {
2499
2499
  menuId: n,
2500
2500
  ariaExpanded: l,
@@ -2560,113 +2560,113 @@ const kn = X({
2560
2560
  } = a;
2561
2561
  const {
2562
2562
  t: n
2563
- } = it(), l = j(), u = j(), s = j(), i = j(), o = j(), {
2564
- items: r,
2563
+ } = it(), l = G(), u = G(), r = G(), o = G(), i = G(), {
2564
+ items: s,
2565
2565
  transformIn: d,
2566
2566
  transformOut: c
2567
- } = jl(e), m = Ve(e, "search", ""), {
2567
+ } = jl(e), f = Ve(e, "search", ""), {
2568
2568
  filteredItems: v,
2569
2569
  getMatches: y
2570
- } = hn(e, r, () => m.value), h = Ve(e, "modelValue", [], (x) => d(x === null ? [null] : Te(x)), (x) => {
2570
+ } = hn(e, s, () => f.value), h = Ve(e, "modelValue", [], (x) => d(x === null ? [null] : Be(x)), (x) => {
2571
2571
  const Q = c(x);
2572
2572
  return e.multiple ? Q : Q[0] ?? null;
2573
- }), p = I(() => typeof e.counterValue == "function" ? e.counterValue(h.value) : typeof e.counterValue == "number" ? e.counterValue : h.value.length), w = $t(e), P = vn(e), C = I(() => h.value.map((x) => x.value)), F = ee(!1), B = E(() => e.closableChips && !w.isReadonly.value && !w.isDisabled.value), {
2573
+ }), p = I(() => typeof e.counterValue == "function" ? e.counterValue(h.value) : typeof e.counterValue == "number" ? e.counterValue : h.value.length), _ = $t(e), w = vn(e), C = I(() => h.value.map((x) => x.value)), F = ee(!1), E = R(() => e.closableChips && !_.isReadonly.value && !_.isDisabled.value), {
2574
2574
  InputIcon: U
2575
2575
  } = Ot(e);
2576
- let _ = "", V = 0, $;
2576
+ let A = "", V = 0, M;
2577
2577
  const D = I(() => {
2578
- const x = m.value ? v.value : r.value;
2578
+ const x = f.value ? v.value : s.value;
2579
2579
  return e.hideSelected ? x.filter((Q) => !h.value.some((te) => (e.valueComparator || qe)(te, Q))) : x;
2580
- }), G = I(() => e.hideNoData && !D.value.length || w.isReadonly.value || w.isDisabled.value), ne = Ve(e, "menu"), H = I({
2580
+ }), N = I(() => e.hideNoData && !D.value.length || _.isReadonly.value || _.isDisabled.value), ne = Ve(e, "menu"), z = I({
2581
2581
  get: () => ne.value,
2582
2582
  set: (x) => {
2583
- ne.value && !x && u.value?.ΨopenChildren.size || x && G.value || (ne.value = x);
2583
+ ne.value && !x && u.value?.ΨopenChildren.size || x && N.value || (ne.value = x);
2584
2584
  }
2585
2585
  }), {
2586
2586
  menuId: W,
2587
- ariaExpanded: K,
2587
+ ariaExpanded: j,
2588
2588
  ariaControls: ue
2589
- } = pn(e, H), q = I(() => ({
2589
+ } = pn(e, z), q = I(() => ({
2590
2590
  ...e.menuProps,
2591
2591
  activatorProps: {
2592
2592
  ...e.menuProps?.activatorProps || {},
2593
2593
  "aria-haspopup": "listbox"
2594
2594
  // Set aria-haspopup to 'listbox'
2595
2595
  }
2596
- })), z = j(), fe = mn(z, l), {
2597
- onTabKeydown: R
2596
+ })), K = G(), fe = mn(K, l), {
2597
+ onTabKeydown: B
2598
2598
  } = gn({
2599
2599
  groups: [{
2600
2600
  type: "element",
2601
- contentRef: s
2601
+ contentRef: r
2602
2602
  }, {
2603
2603
  type: "list",
2604
- contentRef: z,
2604
+ contentRef: K,
2605
2605
  displayItemsCount: () => D.value.length
2606
2606
  }, {
2607
2607
  type: "element",
2608
- contentRef: i
2608
+ contentRef: o
2609
2609
  }],
2610
2610
  onLeave: () => {
2611
- H.value = !1, l.value?.focus();
2611
+ z.value = !1, l.value?.focus();
2612
2612
  }
2613
2613
  });
2614
2614
  function O(x) {
2615
- e.openOnClear && (H.value = !0);
2615
+ e.openOnClear && (z.value = !0);
2616
2616
  }
2617
2617
  function k() {
2618
- G.value || (H.value = !H.value);
2618
+ N.value || (z.value = !z.value);
2619
2619
  }
2620
- function f(x) {
2621
- x.key === "Tab" && R(x), z.value?.$el.contains(x.target) && wt(x) && A(x);
2620
+ function m(x) {
2621
+ x.key === "Tab" && B(x), K.value?.$el.contains(x.target) && wt(x) && P(x);
2622
2622
  }
2623
- function A(x) {
2624
- if (!x.key || w.isReadonly.value) return;
2625
- if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(x.key) && x.preventDefault(), ["Enter", "ArrowDown", " "].includes(x.key) && (H.value = !0), ["Escape", "Tab"].includes(x.key) && (H.value = !1), e.clearable && x.key === "Backspace") {
2623
+ function P(x) {
2624
+ if (!x.key || _.isReadonly.value) return;
2625
+ if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(x.key) && x.preventDefault(), ["Enter", "ArrowDown", " "].includes(x.key) && (z.value = !0), ["Escape", "Tab"].includes(x.key) && (z.value = !1), e.clearable && x.key === "Backspace") {
2626
2626
  x.preventDefault(), h.value = [], O();
2627
2627
  return;
2628
2628
  }
2629
- x.key === "Home" ? z.value?.focus("first") : x.key === "End" && z.value?.focus("last");
2629
+ x.key === "Home" ? K.value?.focus("first") : x.key === "End" && K.value?.focus("last");
2630
2630
  const Q = 1e3;
2631
2631
  if (!wt(x)) return;
2632
2632
  const te = performance.now();
2633
- te - $ > Q && (_ = "", V = 0), _ += x.key.toLowerCase(), $ = te;
2634
- const Be = D.value;
2633
+ te - M > Q && (A = "", V = 0), A += x.key.toLowerCase(), M = te;
2634
+ const Re = D.value;
2635
2635
  function _e() {
2636
2636
  let T = we();
2637
- return T || _.at(-1) === _.at(-2) && (_ = _.slice(0, -1), V++, T = we(), T) || (V = 0, T = we(), T) ? T : (_ = x.key.toLowerCase(), we());
2637
+ return T || A.at(-1) === A.at(-2) && (A = A.slice(0, -1), V++, T = we(), T) || (V = 0, T = we(), T) ? T : (A = x.key.toLowerCase(), we());
2638
2638
  }
2639
2639
  function we() {
2640
- for (let T = V; T < Be.length; T++) {
2641
- const le = Be[T];
2642
- if (le.title.toLowerCase().startsWith(_))
2640
+ for (let T = V; T < Re.length; T++) {
2641
+ const le = Re[T];
2642
+ if (le.title.toLowerCase().startsWith(A))
2643
2643
  return [le, T];
2644
2644
  }
2645
2645
  }
2646
2646
  const S = _e();
2647
2647
  if (!S) return;
2648
- const [Y, N] = S;
2649
- V = N, z.value?.focus(N), e.multiple || (h.value = [Y]);
2648
+ const [Y, L] = S;
2649
+ V = L, K.value?.focus(L), e.multiple || (h.value = [Y]);
2650
2650
  }
2651
2651
  function J(x) {
2652
2652
  let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2653
2653
  if (!x.props.disabled)
2654
2654
  if (e.multiple) {
2655
- const te = h.value.findIndex((_e) => (e.valueComparator || qe)(_e.value, x.value)), Be = Q ?? !~te;
2655
+ const te = h.value.findIndex((_e) => (e.valueComparator || qe)(_e.value, x.value)), Re = Q ?? !~te;
2656
2656
  if (~te) {
2657
- const _e = Be ? [...h.value, x] : [...h.value];
2657
+ const _e = Re ? [...h.value, x] : [...h.value];
2658
2658
  _e.splice(te, 1), h.value = _e;
2659
- } else Be && (h.value = [...h.value, x]);
2659
+ } else Re && (h.value = [...h.value, x]);
2660
2660
  } else {
2661
2661
  const te = Q !== !1;
2662
2662
  h.value = te ? [x] : [], ke(() => {
2663
- H.value = !1;
2663
+ z.value = !1;
2664
2664
  });
2665
2665
  }
2666
2666
  }
2667
2667
  function ve(x) {
2668
2668
  const Q = x.target;
2669
- l.value?.$el.contains(Q) || (H.value = !1);
2669
+ l.value?.$el.contains(Q) || (z.value = !1);
2670
2670
  }
2671
2671
  function ge() {
2672
2672
  return D.value.findIndex((x) => h.value.some((Q) => (e.valueComparator || qe)(Q.value, x.value)));
@@ -2682,13 +2682,13 @@ const kn = X({
2682
2682
  return -1;
2683
2683
  }
2684
2684
  function Ie() {
2685
- if (e.eager && o.value?.calculateVisibleItems(), z.value && F.value) {
2685
+ if (e.eager && i.value?.calculateVisibleItems(), K.value && F.value) {
2686
2686
  const x = pe();
2687
- z.value.focus(x >= 0 ? x : "first");
2687
+ K.value.focus(x >= 0 ? x : "first");
2688
2688
  }
2689
2689
  }
2690
2690
  function De() {
2691
- m.value = "", F.value && l.value?.focus();
2691
+ f.value = "", F.value && l.value?.focus();
2692
2692
  }
2693
2693
  function je(x) {
2694
2694
  F.value = !0;
@@ -2699,27 +2699,27 @@ const kn = X({
2699
2699
  function ut(x) {
2700
2700
  if (x == null) h.value = [];
2701
2701
  else if (dt(l.value, ":autofill") || dt(l.value, ":-webkit-autofill")) {
2702
- const Q = r.value.find((te) => te.title === x);
2702
+ const Q = s.value.find((te) => te.title === x);
2703
2703
  Q && J(Q);
2704
2704
  } else l.value && (l.value.value = "");
2705
2705
  }
2706
- return se(H, () => {
2707
- if (!e.hideSelected && H.value && h.value.length) {
2706
+ return se(z, () => {
2707
+ if (!e.hideSelected && z.value && h.value.length) {
2708
2708
  const x = ge();
2709
2709
  ct && !e.noAutoScroll && window.requestAnimationFrame(() => {
2710
- x >= 0 && o.value?.scrollToIndex(x);
2710
+ x >= 0 && i.value?.scrollToIndex(x);
2711
2711
  });
2712
2712
  }
2713
- }), se(r, (x, Q) => {
2714
- H.value || F.value && e.hideNoData && !Q.length && x.length && (H.value = !0);
2713
+ }), se(s, (x, Q) => {
2714
+ z.value || F.value && e.hideNoData && !Q.length && x.length && (z.value = !0);
2715
2715
  }), de(() => {
2716
- const x = !!(e.chips || t.chip), Q = !!(!e.hideNoData || D.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), te = h.value.length > 0, Be = Je.filterProps(e), _e = te || !F.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, we = {
2717
- search: m,
2716
+ const x = !!(e.chips || t.chip), Q = !!(!e.hideNoData || D.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), te = h.value.length > 0, Re = Je.filterProps(e), _e = te || !F.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, we = {
2717
+ search: f,
2718
2718
  filteredItems: v.value
2719
2719
  };
2720
- return g(Je, L({
2720
+ return g(Je, H({
2721
2721
  ref: l
2722
- }, Be, {
2722
+ }, Re, {
2723
2723
  modelValue: h.value.map((S) => S.props.title).join(", "),
2724
2724
  name: void 0,
2725
2725
  "onUpdate:modelValue": ut,
@@ -2729,7 +2729,7 @@ const kn = X({
2729
2729
  counterValue: p.value,
2730
2730
  dirty: te,
2731
2731
  class: ["v-select", {
2732
- "v-select--active-menu": H.value,
2732
+ "v-select--active-menu": z.value,
2733
2733
  "v-select--chips": !!e.chips,
2734
2734
  [`v-select--${e.multiple ? "multiple" : "single"}`]: !0,
2735
2735
  "v-select--selected": h.value.length,
@@ -2741,8 +2741,8 @@ const kn = X({
2741
2741
  "onClick:clear": O,
2742
2742
  "onMousedown:control": k,
2743
2743
  onBlur: ve,
2744
- onKeydown: A,
2745
- "aria-expanded": K.value,
2744
+ onKeydown: P,
2745
+ "aria-expanded": j.value,
2746
2746
  "aria-controls": ue.value
2747
2747
  }), {
2748
2748
  ...t,
@@ -2753,19 +2753,19 @@ const kn = X({
2753
2753
  return b(ce, null, [b("select", {
2754
2754
  hidden: !0,
2755
2755
  multiple: e.multiple,
2756
- name: P.fieldName.value
2757
- }, [r.value.map((N) => b("option", {
2758
- key: N.value,
2759
- value: N.value,
2760
- selected: C.value.includes(N.value)
2761
- }, null))]), g(Gl, L({
2756
+ name: w.fieldName.value
2757
+ }, [s.value.map((L) => b("option", {
2758
+ key: L.value,
2759
+ value: L.value,
2760
+ selected: C.value.includes(L.value)
2761
+ }, null))]), g(Gl, H({
2762
2762
  id: W.value,
2763
2763
  ref: u,
2764
- modelValue: H.value,
2765
- "onUpdate:modelValue": (N) => H.value = N,
2764
+ modelValue: z.value,
2765
+ "onUpdate:modelValue": (L) => z.value = L,
2766
2766
  activator: "parent",
2767
2767
  contentClass: "v-select__content",
2768
- disabled: G.value,
2768
+ disabled: N.value,
2769
2769
  eager: e.eager,
2770
2770
  maxHeight: 310,
2771
2771
  openOnClick: !1,
@@ -2777,13 +2777,13 @@ const kn = X({
2777
2777
  default: () => [g(il, {
2778
2778
  onFocusin: je,
2779
2779
  onFocusout: Qe,
2780
- onKeydown: f
2780
+ onKeydown: m
2781
2781
  }, {
2782
2782
  default: () => [t["menu-header"] && b("header", {
2783
- ref: s
2784
- }, [t["menu-header"](we)]), Q && g(al, L({
2783
+ ref: r
2784
+ }, [t["menu-header"](we)]), Q && g(al, H({
2785
2785
  key: "select-list",
2786
- ref: z,
2786
+ ref: K,
2787
2787
  selected: C.value,
2788
2788
  selectStrategy: e.multiple ? "independent" : "single-independent",
2789
2789
  tabindex: "-1",
@@ -2797,19 +2797,19 @@ const kn = X({
2797
2797
  key: "no-data",
2798
2798
  title: n(e.noDataText)
2799
2799
  }, null)), g(fn, {
2800
- ref: o,
2800
+ ref: i,
2801
2801
  renderless: !0,
2802
2802
  items: D.value,
2803
2803
  itemKey: "value"
2804
2804
  }, {
2805
- default: (N) => {
2805
+ default: (L) => {
2806
2806
  let {
2807
2807
  item: T,
2808
2808
  index: le,
2809
- itemRef: Re
2810
- } = N;
2811
- const ae = Un(T.props), Z = L(T.props, {
2812
- ref: Re,
2809
+ itemRef: Ee
2810
+ } = L;
2811
+ const ae = Un(T.props), Z = H(T.props, {
2812
+ ref: Ee,
2813
2813
  key: T.value,
2814
2814
  onClick: () => J(T, null),
2815
2815
  "aria-posinset": le + 1,
@@ -2818,18 +2818,18 @@ const kn = X({
2818
2818
  return T.type === "divider" ? t.divider?.({
2819
2819
  props: T.raw,
2820
2820
  index: le
2821
- }) ?? g(ze, L(T.props, {
2821
+ }) ?? g(ze, H(T.props, {
2822
2822
  key: `divider-${le}`
2823
2823
  }), null) : T.type === "subheader" ? t.subheader?.({
2824
2824
  props: T.raw,
2825
2825
  index: le
2826
- }) ?? g(Wl, L(T.props, {
2826
+ }) ?? g(Wl, H(T.props, {
2827
2827
  key: `subheader-${le}`
2828
2828
  }), null) : t.item?.({
2829
2829
  item: T,
2830
2830
  index: le,
2831
2831
  props: Z
2832
- }) ?? g(vt, L(Z, {
2832
+ }) ?? g(vt, H(Z, {
2833
2833
  role: "option"
2834
2834
  }), {
2835
2835
  prepend: (me) => {
@@ -2849,19 +2849,19 @@ const kn = X({
2849
2849
  icon: ae.prependIcon
2850
2850
  }, null)]);
2851
2851
  },
2852
- title: () => m.value ? bn("v-select", T.title, y(T)?.title) : T.title
2852
+ title: () => f.value ? bn("v-select", T.title, y(T)?.title) : T.title
2853
2853
  });
2854
2854
  }
2855
2855
  }), t["append-item"]?.()]
2856
2856
  }), t["menu-footer"] && b("footer", {
2857
- ref: i
2857
+ ref: o
2858
2858
  }, [t["menu-footer"](we)])]
2859
2859
  })]
2860
- }), h.value.map((N, T) => {
2860
+ }), h.value.map((L, T) => {
2861
2861
  function le(me) {
2862
- me.stopPropagation(), me.preventDefault(), J(N, !1);
2862
+ me.stopPropagation(), me.preventDefault(), J(L, !1);
2863
2863
  }
2864
- const Re = L(mt.filterProps(N.props), {
2864
+ const Ee = H(mt.filterProps(L.props), {
2865
2865
  "onClick:close": le,
2866
2866
  onKeydown(me) {
2867
2867
  me.key !== "Enter" && me.key !== " " || (me.preventDefault(), me.stopPropagation(), le(me));
@@ -2872,44 +2872,44 @@ const kn = X({
2872
2872
  modelValue: !0,
2873
2873
  "onUpdate:modelValue": void 0
2874
2874
  }), ae = x ? !!t.chip : !!t.selection, Z = ae ? ql(x ? t.chip({
2875
- item: N,
2875
+ item: L,
2876
2876
  index: T,
2877
- props: Re
2877
+ props: Ee
2878
2878
  }) : t.selection({
2879
- item: N,
2879
+ item: L,
2880
2880
  index: T
2881
2881
  })) : void 0;
2882
2882
  if (!(ae && !Z))
2883
2883
  return b("div", {
2884
- key: N.value,
2884
+ key: L.value,
2885
2885
  class: "v-select__selection"
2886
2886
  }, [x ? t.chip ? g(Fe, {
2887
2887
  key: "chip-defaults",
2888
2888
  defaults: {
2889
2889
  VChip: {
2890
- closable: B.value,
2890
+ closable: E.value,
2891
2891
  size: "small",
2892
- text: N.title
2892
+ text: L.title
2893
2893
  }
2894
2894
  }
2895
2895
  }, {
2896
2896
  default: () => [Z]
2897
- }) : g(mt, L({
2897
+ }) : g(mt, H({
2898
2898
  key: "chip",
2899
- closable: B.value,
2899
+ closable: E.value,
2900
2900
  size: "small",
2901
- text: N.title,
2902
- disabled: N.props.disabled
2903
- }, Re), null) : Z ?? b("span", {
2901
+ text: L.title,
2902
+ disabled: L.props.disabled
2903
+ }, Ee), null) : Z ?? b("span", {
2904
2904
  class: "v-select__selection-text"
2905
- }, [N.title, e.multiple && T < h.value.length - 1 && b("span", {
2905
+ }, [L.title, e.multiple && T < h.value.length - 1 && b("span", {
2906
2906
  class: "v-select__selection-comma"
2907
2907
  }, [Sl(",")])])]);
2908
2908
  })]);
2909
2909
  },
2910
2910
  "append-inner": function() {
2911
- for (var S = arguments.length, Y = new Array(S), N = 0; N < S; N++)
2912
- Y[N] = arguments[N];
2911
+ for (var S = arguments.length, Y = new Array(S), L = 0; L < S; L++)
2912
+ Y[L] = arguments[L];
2913
2913
  return b(ce, null, [t["append-inner"]?.(...Y), e.menuIcon ? g(Se, {
2914
2914
  class: "v-select__menu-icon",
2915
2915
  color: l.value?.fieldIconColor,
@@ -2924,8 +2924,8 @@ const kn = X({
2924
2924
  });
2925
2925
  }), St({
2926
2926
  isFocused: F,
2927
- menu: H,
2928
- search: m,
2927
+ menu: z,
2928
+ search: f,
2929
2929
  filteredItems: v,
2930
2930
  select: J
2931
2931
  }, l);
@@ -2959,31 +2959,31 @@ const kn = X({
2959
2959
  } = a;
2960
2960
  const {
2961
2961
  t: n
2962
- } = it(), l = j(), u = ee(!1), s = ee(!0), i = ee(!1), o = j(), r = j(), d = ee(-1), c = ee(null), {
2963
- items: m,
2962
+ } = it(), l = G(), u = ee(!1), r = ee(!0), o = ee(!1), i = G(), s = G(), d = ee(-1), c = ee(null), {
2963
+ items: f,
2964
2964
  transformIn: v,
2965
2965
  transformOut: y
2966
2966
  } = jl(e), {
2967
2967
  textColorClasses: h,
2968
2968
  textColorStyles: p
2969
2969
  } = kt(() => l.value?.color), {
2970
- InputIcon: w
2971
- } = Ot(e), P = Ve(e, "search", ""), C = Ve(e, "modelValue", [], (S) => v(S === null ? [null] : Te(S)), (S) => {
2970
+ InputIcon: _
2971
+ } = Ot(e), w = Ve(e, "search", ""), C = Ve(e, "modelValue", [], (S) => v(S === null ? [null] : Be(S)), (S) => {
2972
2972
  const Y = y(S);
2973
2973
  return e.multiple ? Y : Y[0] ?? null;
2974
- }), F = I(() => typeof e.counterValue == "function" ? e.counterValue(C.value) : typeof e.counterValue == "number" ? e.counterValue : C.value.length), B = $t(e), {
2974
+ }), F = I(() => typeof e.counterValue == "function" ? e.counterValue(C.value) : typeof e.counterValue == "number" ? e.counterValue : C.value.length), E = $t(e), {
2975
2975
  filteredItems: U,
2976
- getMatches: _
2977
- } = hn(e, m, () => c.value ?? (s.value ? "" : P.value)), V = I(() => e.hideSelected && c.value === null ? U.value.filter((S) => !C.value.some((Y) => Y.value === S.value)) : U.value), $ = E(() => e.closableChips && !B.isReadonly.value && !B.isDisabled.value), D = I(() => !!(e.chips || t.chip)), G = I(() => D.value || !!t.selection), ne = I(() => C.value.map((S) => S.props.value)), H = I(() => V.value.find((S) => S.type === "item" && !S.props.disabled)), W = I(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && P.value === H.value?.title) && V.value.length > 0 && !s.value && !i.value), K = I(() => e.hideNoData && !V.value.length || B.isReadonly.value || B.isDisabled.value), ue = Ve(e, "menu"), q = I({
2976
+ getMatches: A
2977
+ } = hn(e, f, () => c.value ?? (r.value ? "" : w.value)), V = I(() => e.hideSelected && c.value === null ? U.value.filter((S) => !C.value.some((Y) => Y.value === S.value)) : U.value), M = R(() => e.closableChips && !E.isReadonly.value && !E.isDisabled.value), D = I(() => !!(e.chips || t.chip)), N = I(() => D.value || !!t.selection), ne = I(() => C.value.map((S) => S.props.value)), z = I(() => V.value.find((S) => S.type === "item" && !S.props.disabled)), W = I(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && w.value === z.value?.title) && V.value.length > 0 && !r.value && !o.value), j = I(() => e.hideNoData && !V.value.length || E.isReadonly.value || E.isDisabled.value), ue = Ve(e, "menu"), q = I({
2978
2978
  get: () => ue.value,
2979
2979
  set: (S) => {
2980
- ue.value && !S && o.value?.ΨopenChildren.size || S && K.value || (ue.value = S);
2980
+ ue.value && !S && i.value?.ΨopenChildren.size || S && j.value || (ue.value = S);
2981
2981
  }
2982
2982
  }), {
2983
- menuId: z,
2983
+ menuId: K,
2984
2984
  ariaExpanded: fe,
2985
- ariaControls: R
2986
- } = pn(e, q), O = j(), k = j(), f = j(), A = mn(O, l), {
2985
+ ariaControls: B
2986
+ } = pn(e, q), O = G(), k = G(), m = G(), P = mn(O, l), {
2987
2987
  onTabKeydown: J
2988
2988
  } = gn({
2989
2989
  groups: [{
@@ -2995,49 +2995,49 @@ const kn = X({
2995
2995
  displayItemsCount: () => V.value.length
2996
2996
  }, {
2997
2997
  type: "element",
2998
- contentRef: f
2998
+ contentRef: m
2999
2999
  }],
3000
3000
  onLeave: () => {
3001
3001
  q.value = !1, l.value?.focus();
3002
3002
  }
3003
3003
  });
3004
3004
  function ve(S) {
3005
- e.openOnClear && (q.value = !0), P.value = "";
3005
+ e.openOnClear && (q.value = !0), w.value = "";
3006
3006
  }
3007
3007
  function ge() {
3008
- K.value || (q.value = !0);
3008
+ j.value || (q.value = !0);
3009
3009
  }
3010
3010
  function pe(S) {
3011
- K.value || (u.value && (S.preventDefault(), S.stopPropagation()), q.value = !q.value);
3011
+ j.value || (u.value && (S.preventDefault(), S.stopPropagation()), q.value = !q.value);
3012
3012
  }
3013
3013
  function Ie(S) {
3014
3014
  S.key === "Tab" && J(S), O.value?.$el.contains(S.target) && (wt(S) || S.key === "Backspace") && l.value?.focus();
3015
3015
  }
3016
3016
  function De(S) {
3017
- if (B.isReadonly.value) return;
3018
- const Y = l.value?.selectionStart, N = C.value.length;
3019
- if (["Enter", "ArrowDown", "ArrowUp"].includes(S.key) && S.preventDefault(), ["Enter", "ArrowDown"].includes(S.key) && (q.value = !0), ["Escape"].includes(S.key) && (q.value = !1), W.value && ["Enter", "Tab"].includes(S.key) && H.value && !C.value.some((T) => {
3017
+ if (E.isReadonly.value) return;
3018
+ const Y = l.value?.selectionStart, L = C.value.length;
3019
+ if (["Enter", "ArrowDown", "ArrowUp"].includes(S.key) && S.preventDefault(), ["Enter", "ArrowDown"].includes(S.key) && (q.value = !0), ["Escape"].includes(S.key) && (q.value = !1), W.value && ["Enter", "Tab"].includes(S.key) && z.value && !C.value.some((T) => {
3020
3020
  let {
3021
3021
  value: le
3022
3022
  } = T;
3023
- return le === H.value.value;
3024
- }) && we(H.value), S.key === "ArrowDown" && W.value && O.value?.focus("next"), ["Backspace", "Delete"].includes(S.key)) {
3025
- if (!e.multiple && G.value && C.value.length > 0 && !P.value) return we(C.value[0], !1);
3023
+ return le === z.value.value;
3024
+ }) && we(z.value), S.key === "ArrowDown" && W.value && O.value?.focus("next"), ["Backspace", "Delete"].includes(S.key)) {
3025
+ if (!e.multiple && N.value && C.value.length > 0 && !w.value) return we(C.value[0], !1);
3026
3026
  if (~d.value) {
3027
3027
  S.preventDefault();
3028
3028
  const T = d.value;
3029
- we(C.value[d.value], !1), d.value = T >= N - 1 ? N - 2 : T;
3030
- } else S.key === "Backspace" && !P.value && (d.value = N - 1);
3029
+ we(C.value[d.value], !1), d.value = T >= L - 1 ? L - 2 : T;
3030
+ } else S.key === "Backspace" && !w.value && (d.value = L - 1);
3031
3031
  return;
3032
3032
  }
3033
3033
  if (e.multiple)
3034
3034
  if (S.key === "ArrowLeft") {
3035
3035
  if (d.value < 0 && Y && Y > 0) return;
3036
- const T = d.value > -1 ? d.value - 1 : N - 1;
3036
+ const T = d.value > -1 ? d.value - 1 : L - 1;
3037
3037
  if (C.value[T])
3038
3038
  d.value = T;
3039
3039
  else {
3040
- const le = P.value?.length ?? null;
3040
+ const le = w.value?.length ?? null;
3041
3041
  d.value = -1, l.value?.setSelectionRange(le, le);
3042
3042
  }
3043
3043
  } else if (S.key === "ArrowRight") {
@@ -3048,72 +3048,72 @@ const kn = X({
3048
3048
  }
3049
3049
  function je(S) {
3050
3050
  if (dt(l.value, ":autofill") || dt(l.value, ":-webkit-autofill")) {
3051
- const Y = m.value.find((N) => N.title === S.target.value);
3051
+ const Y = f.value.find((L) => L.title === S.target.value);
3052
3052
  Y && we(Y);
3053
3053
  }
3054
3054
  }
3055
3055
  function Qe() {
3056
- e.eager && r.value?.calculateVisibleItems();
3056
+ e.eager && s.value?.calculateVisibleItems();
3057
3057
  }
3058
3058
  function ut() {
3059
- u.value && (s.value = !0, l.value?.focus()), c.value = null;
3059
+ u.value && (r.value = !0, l.value?.focus()), c.value = null;
3060
3060
  }
3061
3061
  function x(S) {
3062
3062
  u.value = !0, setTimeout(() => {
3063
- i.value = !0;
3063
+ o.value = !0;
3064
3064
  });
3065
3065
  }
3066
3066
  function Q(S) {
3067
- i.value = !1, l.value?.$el.contains(S.relatedTarget) || (u.value = !1);
3067
+ o.value = !1, l.value?.$el.contains(S.relatedTarget) || (u.value = !1);
3068
3068
  }
3069
3069
  function te(S) {
3070
- (S == null || S === "" && !e.multiple && !G.value) && (C.value = []);
3070
+ (S == null || S === "" && !e.multiple && !N.value) && (C.value = []);
3071
3071
  }
3072
- function Be(S) {
3073
- o.value?.contentEl?.contains(S.relatedTarget) && (u.value = !0);
3072
+ function Re(S) {
3073
+ i.value?.contentEl?.contains(S.relatedTarget) && (u.value = !0);
3074
3074
  }
3075
3075
  const _e = ee(!1);
3076
3076
  function we(S) {
3077
3077
  let Y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3078
3078
  if (!(!S || S.props.disabled))
3079
3079
  if (e.multiple) {
3080
- const N = C.value.findIndex((le) => (e.valueComparator || qe)(le.value, S.value)), T = Y ?? !~N;
3081
- if (~N) {
3080
+ const L = C.value.findIndex((le) => (e.valueComparator || qe)(le.value, S.value)), T = Y ?? !~L;
3081
+ if (~L) {
3082
3082
  const le = T ? [...C.value, S] : [...C.value];
3083
- le.splice(N, 1), C.value = le;
3083
+ le.splice(L, 1), C.value = le;
3084
3084
  } else T && (C.value = [...C.value, S]);
3085
- e.clearOnSelect && (P.value = "");
3085
+ e.clearOnSelect && (w.value = "");
3086
3086
  } else {
3087
- const N = Y !== !1;
3088
- C.value = N ? [S] : [], c.value = s.value ? "" : P.value ?? "", P.value = N && !G.value ? S.title : "", ke(() => {
3089
- q.value = !1, s.value = !0;
3087
+ const L = Y !== !1;
3088
+ C.value = L ? [S] : [], c.value = r.value ? "" : w.value ?? "", w.value = L && !N.value ? S.title : "", ke(() => {
3089
+ q.value = !1, r.value = !0;
3090
3090
  });
3091
3091
  }
3092
3092
  }
3093
3093
  return se(u, (S, Y) => {
3094
- S !== Y && (S ? (_e.value = !0, P.value = e.multiple || G.value ? "" : String(C.value.at(-1)?.props.title ?? ""), s.value = !0, ke(() => _e.value = !1)) : (!e.multiple && P.value == null && (C.value = []), q.value = !1, !s.value && P.value && (c.value = P.value), P.value = "", d.value = -1));
3095
- }), se(P, (S) => {
3096
- !u.value || _e.value || (S && (q.value = !0), s.value = !S);
3094
+ S !== Y && (S ? (_e.value = !0, w.value = e.multiple || N.value ? "" : String(C.value.at(-1)?.props.title ?? ""), r.value = !0, ke(() => _e.value = !1)) : (!e.multiple && w.value == null && (C.value = []), q.value = !1, !r.value && w.value && (c.value = w.value), w.value = "", d.value = -1));
3095
+ }), se(w, (S) => {
3096
+ !u.value || _e.value || (S && (q.value = !0), r.value = !S);
3097
3097
  }), se(q, (S) => {
3098
- if (!e.hideSelected && S && C.value.length && s.value) {
3099
- const Y = V.value.findIndex((N) => C.value.some((T) => N.value === T.value));
3098
+ if (!e.hideSelected && S && C.value.length && r.value) {
3099
+ const Y = V.value.findIndex((L) => C.value.some((T) => L.value === T.value));
3100
3100
  ct && window.requestAnimationFrame(() => {
3101
- Y >= 0 && r.value?.scrollToIndex(Y);
3101
+ Y >= 0 && s.value?.scrollToIndex(Y);
3102
3102
  });
3103
3103
  }
3104
3104
  S && (c.value = null);
3105
- }), se(m, (S, Y) => {
3105
+ }), se(f, (S, Y) => {
3106
3106
  q.value || u.value && !Y.length && S.length && (q.value = !0);
3107
3107
  }), de(() => {
3108
- const S = !!(!e.hideNoData || V.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), Y = C.value.length > 0, N = Je.filterProps(e), T = {
3109
- search: P,
3108
+ const S = !!(!e.hideNoData || V.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), Y = C.value.length > 0, L = Je.filterProps(e), T = {
3109
+ search: w,
3110
3110
  filteredItems: U.value
3111
3111
  };
3112
- return g(Je, L({
3112
+ return g(Je, H({
3113
3113
  ref: l
3114
- }, N, {
3115
- modelValue: P.value,
3116
- "onUpdate:modelValue": [(le) => P.value = le, te],
3114
+ }, L, {
3115
+ modelValue: w.value,
3116
+ "onUpdate:modelValue": [(le) => w.value = le, te],
3117
3117
  focused: u.value,
3118
3118
  "onUpdate:focused": (le) => u.value = le,
3119
3119
  validationValue: C.externalValue,
@@ -3123,32 +3123,32 @@ const kn = X({
3123
3123
  class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
3124
3124
  "v-autocomplete--active-menu": q.value,
3125
3125
  "v-autocomplete--chips": !!e.chips,
3126
- "v-autocomplete--selection-slot": !!G.value,
3126
+ "v-autocomplete--selection-slot": !!N.value,
3127
3127
  "v-autocomplete--selecting-index": d.value > -1
3128
3128
  }, e.class],
3129
3129
  style: e.style,
3130
- readonly: B.isReadonly.value,
3130
+ readonly: E.isReadonly.value,
3131
3131
  placeholder: Y ? void 0 : e.placeholder,
3132
3132
  "onClick:clear": ve,
3133
3133
  "onMousedown:control": ge,
3134
3134
  onKeydown: De,
3135
- onBlur: Be,
3135
+ onBlur: Re,
3136
3136
  "aria-expanded": fe.value,
3137
- "aria-controls": R.value
3137
+ "aria-controls": B.value
3138
3138
  }), {
3139
3139
  ...t,
3140
3140
  default: (le) => {
3141
3141
  let {
3142
- id: Re
3142
+ id: Ee
3143
3143
  } = le;
3144
- return b(ce, null, [g(Gl, L({
3145
- id: z.value,
3146
- ref: o,
3144
+ return b(ce, null, [g(Gl, H({
3145
+ id: K.value,
3146
+ ref: i,
3147
3147
  modelValue: q.value,
3148
3148
  "onUpdate:modelValue": (ae) => q.value = ae,
3149
3149
  activator: "parent",
3150
3150
  contentClass: "v-autocomplete__content",
3151
- disabled: K.value,
3151
+ disabled: j.value,
3152
3152
  eager: e.eager,
3153
3153
  maxHeight: 310,
3154
3154
  openOnClick: !1,
@@ -3162,7 +3162,7 @@ const kn = X({
3162
3162
  }, {
3163
3163
  default: () => [t["menu-header"] && b("header", {
3164
3164
  ref: k
3165
- }, [t["menu-header"](T)]), S && g(al, L({
3165
+ }, [t["menu-header"](T)]), S && g(al, H({
3166
3166
  key: "autocomplete-list",
3167
3167
  ref: O,
3168
3168
  filterable: !0,
@@ -3173,15 +3173,15 @@ const kn = X({
3173
3173
  tabindex: "-1",
3174
3174
  selectable: !!V.value.length,
3175
3175
  "aria-live": "polite",
3176
- "aria-labelledby": `${Re.value}-label`,
3176
+ "aria-labelledby": `${Ee.value}-label`,
3177
3177
  "aria-multiselectable": e.multiple,
3178
3178
  color: e.itemColor ?? e.color
3179
- }, A, e.listProps), {
3179
+ }, P, e.listProps), {
3180
3180
  default: () => [t["prepend-item"]?.(), !V.value.length && !e.hideNoData && (t["no-data"]?.() ?? g(vt, {
3181
3181
  key: "no-data",
3182
3182
  title: n(e.noDataText)
3183
3183
  }, null)), g(fn, {
3184
- ref: r,
3184
+ ref: s,
3185
3185
  renderless: !0,
3186
3186
  items: V.value,
3187
3187
  itemKey: "value"
@@ -3192,10 +3192,10 @@ const kn = X({
3192
3192
  index: me,
3193
3193
  itemRef: Ze
3194
3194
  } = ae;
3195
- const Ge = L(Z.props, {
3195
+ const Ge = H(Z.props, {
3196
3196
  ref: Ze,
3197
3197
  key: Z.value,
3198
- active: W.value && Z === H.value ? !0 : void 0,
3198
+ active: W.value && Z === z.value ? !0 : void 0,
3199
3199
  onClick: () => we(Z, null),
3200
3200
  "aria-posinset": me + 1,
3201
3201
  "aria-setsize": V.value.length
@@ -3203,18 +3203,18 @@ const kn = X({
3203
3203
  return Z.type === "divider" ? t.divider?.({
3204
3204
  props: Z.raw,
3205
3205
  index: me
3206
- }) ?? g(ze, L(Z.props, {
3206
+ }) ?? g(ze, H(Z.props, {
3207
3207
  key: `divider-${me}`
3208
3208
  }), null) : Z.type === "subheader" ? t.subheader?.({
3209
3209
  props: Z.raw,
3210
3210
  index: me
3211
- }) ?? g(Wl, L(Z.props, {
3211
+ }) ?? g(Wl, H(Z.props, {
3212
3212
  key: `subheader-${me}`
3213
3213
  }), null) : t.item?.({
3214
3214
  item: Z,
3215
3215
  index: me,
3216
3216
  props: Ge
3217
- }) ?? g(vt, L(Ge, {
3217
+ }) ?? g(vt, H(Ge, {
3218
3218
  role: "option"
3219
3219
  }), {
3220
3220
  prepend: (st) => {
@@ -3234,19 +3234,19 @@ const kn = X({
3234
3234
  icon: Z.props.prependIcon
3235
3235
  }, null)]);
3236
3236
  },
3237
- title: () => s.value ? Z.title : bn("v-autocomplete", Z.title, _(Z)?.title)
3237
+ title: () => r.value ? Z.title : bn("v-autocomplete", Z.title, A(Z)?.title)
3238
3238
  });
3239
3239
  }
3240
3240
  }), t["append-item"]?.()]
3241
3241
  }), t["menu-footer"] && b("footer", {
3242
- ref: f
3242
+ ref: m
3243
3243
  }, [t["menu-footer"](T)])]
3244
3244
  })]
3245
3245
  }), C.value.map((ae, Z) => {
3246
3246
  function me(Ae) {
3247
3247
  Ae.stopPropagation(), Ae.preventDefault(), we(ae, !1);
3248
3248
  }
3249
- const Ze = L(mt.filterProps(ae.props), {
3249
+ const Ze = H(mt.filterProps(ae.props), {
3250
3250
  "onClick:close": me,
3251
3251
  onKeydown(Ae) {
3252
3252
  Ae.key !== "Enter" && Ae.key !== " " || (Ae.preventDefault(), Ae.stopPropagation(), me(Ae));
@@ -3273,16 +3273,16 @@ const kn = X({
3273
3273
  key: "chip-defaults",
3274
3274
  defaults: {
3275
3275
  VChip: {
3276
- closable: $.value,
3276
+ closable: M.value,
3277
3277
  size: "small",
3278
3278
  text: ae.title
3279
3279
  }
3280
3280
  }
3281
3281
  }, {
3282
3282
  default: () => [st]
3283
- }) : g(mt, L({
3283
+ }) : g(mt, H({
3284
3284
  key: "chip",
3285
- closable: $.value,
3285
+ closable: M.value,
3286
3286
  size: "small",
3287
3287
  text: ae.title,
3288
3288
  disabled: ae.props.disabled
@@ -3294,9 +3294,9 @@ const kn = X({
3294
3294
  })]);
3295
3295
  },
3296
3296
  "append-inner": function() {
3297
- for (var le = arguments.length, Re = new Array(le), ae = 0; ae < le; ae++)
3298
- Re[ae] = arguments[ae];
3299
- return b(ce, null, [t["append-inner"]?.(...Re), e.menuIcon ? g(Se, {
3297
+ for (var le = arguments.length, Ee = new Array(le), ae = 0; ae < le; ae++)
3298
+ Ee[ae] = arguments[ae];
3299
+ return b(ce, null, [t["append-inner"]?.(...Ee), e.menuIcon ? g(Se, {
3300
3300
  class: "v-autocomplete__menu-icon",
3301
3301
  color: l.value?.fieldIconColor,
3302
3302
  icon: e.menuIcon,
@@ -3304,18 +3304,18 @@ const kn = X({
3304
3304
  onClick: jn,
3305
3305
  "aria-hidden": !0,
3306
3306
  tabindex: "-1"
3307
- }, null) : void 0, e.appendInnerIcon && g(w, {
3307
+ }, null) : void 0, e.appendInnerIcon && g(_, {
3308
3308
  key: "append-icon",
3309
3309
  name: "appendInner",
3310
- color: Re[0].iconColor.value
3310
+ color: Ee[0].iconColor.value
3311
3311
  }, null)]);
3312
3312
  }
3313
3313
  });
3314
3314
  }), St({
3315
3315
  isFocused: u,
3316
- isPristine: s,
3316
+ isPristine: r,
3317
3317
  menu: q,
3318
- search: P,
3318
+ search: w,
3319
3319
  filteredItems: U,
3320
3320
  select: we
3321
3321
  }, l);
@@ -3364,18 +3364,18 @@ const kn = X({
3364
3364
  } = gt(e), {
3365
3365
  t: u
3366
3366
  } = it(), {
3367
- textColorClasses: s,
3368
- textColorStyles: i
3367
+ textColorClasses: r,
3368
+ textColorStyles: o
3369
3369
  } = kt(() => e.textColor), {
3370
- themeClasses: o
3370
+ themeClasses: i
3371
3371
  } = Gn(), {
3372
- locationStyles: r
3372
+ locationStyles: s
3373
3373
  } = tl(e, !0, (c) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(c) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(c) ? Number(e.offsetX ?? 0) : 0)), {
3374
3374
  dimensionStyles: d
3375
3375
  } = bt(e);
3376
3376
  return de(() => {
3377
- const c = Number(e.content), m = !e.max || isNaN(c) ? e.content : c <= Number(e.max) ? c : `${e.max}+`, [v, y] = Wn(a.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
3378
- return g(e.tag, L({
3377
+ const c = Number(e.content), f = !e.max || isNaN(c) ? e.content : c <= Number(e.max) ? c : `${e.max}+`, [v, y] = Wn(a.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
3378
+ return g(e.tag, H({
3379
3379
  class: ["v-badge", {
3380
3380
  "v-badge--bordered": e.bordered,
3381
3381
  "v-badge--dot": e.dot,
@@ -3390,16 +3390,16 @@ const kn = X({
3390
3390
  }, [a.slots.default?.(), g(nl, {
3391
3391
  transition: e.transition
3392
3392
  }, {
3393
- default: () => [Ue(b("span", L({
3394
- class: ["v-badge__badge", o.value, t.value, l.value, s.value],
3395
- style: [n.value, i.value, d.value, e.inline ? {} : r.value],
3393
+ default: () => [Ue(b("span", H({
3394
+ class: ["v-badge__badge", i.value, t.value, l.value, r.value],
3395
+ style: [n.value, o.value, d.value, e.inline ? {} : s.value],
3396
3396
  "aria-atomic": "true",
3397
3397
  "aria-label": u(e.label, c),
3398
3398
  "aria-live": "polite",
3399
3399
  role: "status"
3400
3400
  }, v), [e.dot ? void 0 : a.slots.badge ? a.slots.badge?.() : e.icon ? g(Se, {
3401
3401
  icon: e.icon
3402
- }, null) : m]), [[_t, e.modelValue]])]
3402
+ }, null) : f]), [[_t, e.modelValue]])]
3403
3403
  })])]
3404
3404
  });
3405
3405
  }), {};
@@ -3432,35 +3432,35 @@ const kn = X({
3432
3432
  } = a;
3433
3433
  const l = Ve(e, "modelValue"), {
3434
3434
  scopeId: u
3435
- } = qn(), s = j();
3436
- function i() {
3437
- t("afterEnter"), (e.scrim || e.retainFocus) && s.value?.contentEl && !s.value.contentEl.contains(document.activeElement) && s.value.contentEl.focus({
3435
+ } = qn(), r = G();
3436
+ function o() {
3437
+ t("afterEnter"), (e.scrim || e.retainFocus) && r.value?.contentEl && !r.value.contentEl.contains(document.activeElement) && r.value.contentEl.focus({
3438
3438
  preventScroll: !0
3439
3439
  });
3440
3440
  }
3441
- function o() {
3441
+ function i() {
3442
3442
  t("afterLeave");
3443
3443
  }
3444
- return se(l, async (r) => {
3445
- r || (await ke(), s.value.activatorEl?.focus({
3444
+ return se(l, async (s) => {
3445
+ s || (await ke(), r.value.activatorEl?.focus({
3446
3446
  preventScroll: !0
3447
3447
  }));
3448
3448
  }), de(() => {
3449
- const r = vl.filterProps(e), d = L({
3449
+ const s = vl.filterProps(e), d = H({
3450
3450
  "aria-haspopup": "dialog"
3451
- }, e.activatorProps), c = L({
3451
+ }, e.activatorProps), c = H({
3452
3452
  tabindex: -1
3453
3453
  }, e.contentProps);
3454
- return g(vl, L({
3455
- ref: s,
3454
+ return g(vl, H({
3455
+ ref: r,
3456
3456
  class: ["v-dialog", {
3457
3457
  "v-dialog--fullscreen": e.fullscreen,
3458
3458
  "v-dialog--scrollable": e.scrollable
3459
3459
  }, e.class],
3460
3460
  style: e.style
3461
- }, r, {
3461
+ }, s, {
3462
3462
  modelValue: l.value,
3463
- "onUpdate:modelValue": (m) => l.value = m,
3463
+ "onUpdate:modelValue": (f) => l.value = f,
3464
3464
  "aria-modal": "true",
3465
3465
  activatorProps: d,
3466
3466
  contentProps: c,
@@ -3469,12 +3469,12 @@ const kn = X({
3469
3469
  maxHeight: e.fullscreen ? void 0 : e.maxHeight,
3470
3470
  maxWidth: e.fullscreen ? void 0 : e.maxWidth,
3471
3471
  role: "dialog",
3472
- onAfterEnter: i,
3473
- onAfterLeave: o
3472
+ onAfterEnter: o,
3473
+ onAfterLeave: i
3474
3474
  }, u), {
3475
3475
  activator: n.activator,
3476
3476
  default: function() {
3477
- for (var m = arguments.length, v = new Array(m), y = 0; y < m; y++)
3477
+ for (var f = arguments.length, v = new Array(f), y = 0; y < f; y++)
3478
3478
  v[y] = arguments[y];
3479
3479
  return g(Fe, {
3480
3480
  root: "VDialog"
@@ -3483,7 +3483,7 @@ const kn = X({
3483
3483
  });
3484
3484
  }
3485
3485
  });
3486
- }), St({}, s);
3486
+ }), St({}, r);
3487
3487
  }
3488
3488
  }), Za = X({
3489
3489
  ...be(),
@@ -3547,7 +3547,7 @@ const kn = X({
3547
3547
  slots: t
3548
3548
  } = a;
3549
3549
  return de(() => {
3550
- const n = !!(e.prependAvatar || e.prependIcon), l = !!(n || t.prepend), u = !!(e.appendAvatar || e.appendIcon), s = !!(u || t.append), i = !!(e.title != null || t.title), o = !!(e.subtitle != null || t.subtitle);
3550
+ const n = !!(e.prependAvatar || e.prependIcon), l = !!(n || t.prepend), u = !!(e.appendAvatar || e.appendIcon), r = !!(u || t.append), o = !!(e.title != null || t.title), i = !!(e.subtitle != null || t.subtitle);
3551
3551
  return g(e.tag, {
3552
3552
  class: re(["v-card-item", e.class]),
3553
3553
  style: xe(e.style)
@@ -3578,15 +3578,15 @@ const kn = X({
3578
3578
  icon: e.prependIcon
3579
3579
  }, null)])]), b("div", {
3580
3580
  class: "v-card-item__content"
3581
- }, [i && g(ul, {
3581
+ }, [o && g(ul, {
3582
3582
  key: "title"
3583
3583
  }, {
3584
3584
  default: () => [t.title?.() ?? Vt(e.title)]
3585
- }), o && g(to, {
3585
+ }), i && g(to, {
3586
3586
  key: "subtitle"
3587
3587
  }, {
3588
3588
  default: () => [t.subtitle?.() ?? Vt(e.subtitle)]
3589
- }), t.default?.()]), s && b("div", {
3589
+ }), t.default?.()]), r && b("div", {
3590
3590
  key: "append",
3591
3591
  class: "v-card-item__append"
3592
3592
  }, [t.append ? g(Fe, {
@@ -3692,38 +3692,38 @@ const kn = X({
3692
3692
  } = ot(e), {
3693
3693
  borderClasses: u
3694
3694
  } = Yt(e), {
3695
- colorClasses: s,
3696
- colorStyles: i,
3697
- variantClasses: o
3695
+ colorClasses: r,
3696
+ colorStyles: o,
3697
+ variantClasses: i
3698
3698
  } = Fl(e), {
3699
- densityClasses: r
3699
+ densityClasses: s
3700
3700
  } = Dt(e), {
3701
3701
  dimensionStyles: d
3702
3702
  } = bt(e), {
3703
3703
  elevationClasses: c
3704
3704
  } = Qt(e), {
3705
- loaderClasses: m
3705
+ loaderClasses: f
3706
3706
  } = Hl(e), {
3707
3707
  locationStyles: v
3708
3708
  } = tl(e), {
3709
3709
  positionClasses: y
3710
3710
  } = Rl(e), {
3711
3711
  roundedClasses: h
3712
- } = gt(e), p = Al(e, t), w = ee(void 0);
3713
- return se(() => e.loading, (P, C) => {
3714
- w.value = !P && typeof C == "string" ? C : typeof P == "boolean" ? void 0 : P;
3712
+ } = gt(e), p = Al(e, t), _ = ee(void 0);
3713
+ return se(() => e.loading, (w, C) => {
3714
+ _.value = !w && typeof C == "string" ? C : typeof w == "boolean" ? void 0 : w;
3715
3715
  }, {
3716
3716
  immediate: !0
3717
3717
  }), de(() => {
3718
- const P = e.link !== !1 && p.isLink.value, C = !e.disabled && e.link !== !1 && (e.link || p.isClickable.value), F = P ? "a" : e.tag, B = !!(n.title || e.title != null), U = !!(n.subtitle || e.subtitle != null), _ = B || U, V = !!(n.append || e.appendAvatar || e.appendIcon), $ = !!(n.prepend || e.prependAvatar || e.prependIcon), D = !!(n.image || e.image), G = _ || $ || V, ne = !!(n.text || e.text != null);
3719
- return Ue(g(F, L(p.linkProps, {
3718
+ const w = e.link !== !1 && p.isLink.value, C = !e.disabled && e.link !== !1 && (e.link || p.isClickable.value), F = w ? "a" : e.tag, E = !!(n.title || e.title != null), U = !!(n.subtitle || e.subtitle != null), A = E || U, V = !!(n.append || e.appendAvatar || e.appendIcon), M = !!(n.prepend || e.prependAvatar || e.prependIcon), D = !!(n.image || e.image), N = A || M || V, ne = !!(n.text || e.text != null);
3719
+ return Ue(g(F, H(p.linkProps, {
3720
3720
  class: ["v-card", {
3721
3721
  "v-card--disabled": e.disabled,
3722
3722
  "v-card--flat": e.flat,
3723
3723
  "v-card--hover": e.hover && !(e.disabled || e.flat),
3724
3724
  "v-card--link": C
3725
- }, l.value, u.value, s.value, r.value, c.value, m.value, y.value, h.value, o.value, e.class],
3726
- style: [i.value, d.value, v.value, {
3725
+ }, l.value, u.value, r.value, s.value, c.value, f.value, y.value, h.value, i.value, e.class],
3726
+ style: [o.value, d.value, v.value, {
3727
3727
  "--v-card-height": et(e.height)
3728
3728
  }, e.style],
3729
3729
  onClick: C && p.navigate.value,
@@ -3748,10 +3748,10 @@ const kn = X({
3748
3748
  }, null)]), g(zl, {
3749
3749
  name: "v-card",
3750
3750
  active: !!e.loading,
3751
- color: w.value
3751
+ color: _.value
3752
3752
  }, {
3753
3753
  default: n.loader
3754
- }), G && g(no, {
3754
+ }), N && g(no, {
3755
3755
  key: "item",
3756
3756
  prependAvatar: e.prependAvatar,
3757
3757
  prependIcon: e.prependIcon,
@@ -3781,17 +3781,17 @@ function so(e) {
3781
3781
  toggleUpDown: a
3782
3782
  } = e, t = -1, n = -1;
3783
3783
  rt(u);
3784
- function l(i) {
3785
- u(), s(i), window.addEventListener("pointerup", u), document.addEventListener("blur", u), t = window.setTimeout(() => {
3786
- n = window.setInterval(() => s(i), io);
3784
+ function l(o) {
3785
+ u(), r(o), window.addEventListener("pointerup", u), document.addEventListener("blur", u), t = window.setTimeout(() => {
3786
+ n = window.setInterval(() => r(o), io);
3787
3787
  }, uo);
3788
3788
  }
3789
3789
  function u() {
3790
3790
  window.clearTimeout(t), window.clearInterval(n), window.removeEventListener("pointerup", u), document.removeEventListener("blur", u);
3791
3791
  }
3792
3792
  rt(u);
3793
- function s(i) {
3794
- a(i === "up");
3793
+ function r(o) {
3794
+ a(o === "up");
3795
3795
  }
3796
3796
  return {
3797
3797
  holdStart: l,
@@ -3847,135 +3847,135 @@ const ro = X({
3847
3847
  let {
3848
3848
  slots: t
3849
3849
  } = a;
3850
- const n = j(), {
3850
+ const n = G(), {
3851
3851
  holdStart: l,
3852
3852
  holdStop: u
3853
3853
  } = so({
3854
- toggleUpDown: G
3855
- }), s = $t(e), i = I(() => s.isDisabled.value || s.isReadonly.value), o = ee(e.focused), {
3856
- decimalSeparator: r
3857
- } = it(), d = I(() => e.decimalSeparator?.[0] || r.value);
3858
- function c(f) {
3859
- let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, J = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
3860
- const ve = A == null ? String(f) : f.toFixed(A);
3861
- if (o.value && J)
3854
+ toggleUpDown: N
3855
+ }), r = $t(e), o = I(() => r.isDisabled.value || r.isReadonly.value), i = ee(e.focused), {
3856
+ decimalSeparator: s
3857
+ } = it(), d = I(() => e.decimalSeparator?.[0] || s.value);
3858
+ function c(m) {
3859
+ let P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, J = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
3860
+ const ve = P == null ? String(m) : m.toFixed(P);
3861
+ if (i.value && J)
3862
3862
  return Number(ve).toString().replace(".", d.value);
3863
- if (e.minFractionDigits === null || A !== null && A < e.minFractionDigits)
3863
+ if (e.minFractionDigits === null || P !== null && P < e.minFractionDigits)
3864
3864
  return ve.replace(".", d.value);
3865
3865
  let [ge, pe] = ve.split(".");
3866
3866
  return pe = (pe ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [ge, pe].filter(Boolean).join(d.value);
3867
3867
  }
3868
- const m = Ve(e, "modelValue", null, (f) => f ?? null, (f) => f == null ? f ?? null : Ne(Number(f), e.min, e.max)), v = ee(null), y = ee(null);
3869
- se(m, (f) => {
3870
- o.value && !i.value && Number(v.value?.replace(d.value, ".")) === f || (f == null ? (v.value = null, y.value = null) : isNaN(f) || (v.value = c(f), y.value = Number(v.value.replace(d.value, "."))));
3868
+ const f = Ve(e, "modelValue", null, (m) => m ?? null, (m) => m == null ? m ?? null : Ne(Number(m), e.min, e.max)), v = ee(null), y = ee(null);
3869
+ se(f, (m) => {
3870
+ i.value && !o.value && Number(v.value?.replace(d.value, ".")) === m || (m == null ? (v.value = null, y.value = null) : isNaN(m) || (v.value = c(m), y.value = Number(v.value.replace(d.value, "."))));
3871
3871
  }, {
3872
3872
  immediate: !0
3873
3873
  });
3874
3874
  const h = I({
3875
3875
  get: () => v.value,
3876
- set(f) {
3877
- if (f === null || f === "") {
3878
- m.value = null, v.value = null, y.value = null;
3876
+ set(m) {
3877
+ if (m === null || m === "") {
3878
+ f.value = null, v.value = null, y.value = null;
3879
3879
  return;
3880
3880
  }
3881
- const A = Number(f.replace(d.value, "."));
3882
- isNaN(A) || (v.value = f, y.value = A, A <= e.max && A >= e.min && (m.value = A));
3881
+ const P = Number(m.replace(d.value, "."));
3882
+ isNaN(P) || (v.value = m, y.value = P, P <= e.max && P >= e.min && (f.value = P));
3883
3883
  }
3884
3884
  }), p = I(() => {
3885
3885
  if (y.value === null) return !1;
3886
- const f = Number(v.value?.replace(d.value, "."));
3887
- return f !== Ne(f, e.min, e.max);
3888
- }), w = I(() => i.value ? !1 : (m.value ?? 0) + e.step <= e.max), P = I(() => i.value ? !1 : (m.value ?? 0) - e.step >= e.min), C = I(() => e.hideInput ? "stacked" : e.controlVariant), F = E(() => C.value === "split" ? "$plus" : "$collapse"), B = E(() => C.value === "split" ? "$minus" : "$expand"), U = E(() => C.value === "split" ? "default" : "small"), _ = E(() => C.value === "stacked" ? "auto" : "100%"), V = {
3886
+ const m = Number(v.value?.replace(d.value, "."));
3887
+ return m !== Ne(m, e.min, e.max);
3888
+ }), _ = I(() => o.value ? !1 : (f.value ?? 0) + e.step <= e.max), w = I(() => o.value ? !1 : (f.value ?? 0) - e.step >= e.min), C = I(() => e.hideInput ? "stacked" : e.controlVariant), F = R(() => C.value === "split" ? "$plus" : "$collapse"), E = R(() => C.value === "split" ? "$minus" : "$expand"), U = R(() => C.value === "split" ? "default" : "small"), A = R(() => C.value === "stacked" ? "auto" : "100%"), V = {
3889
3889
  props: {
3890
3890
  onClick: W,
3891
- onPointerup: K,
3891
+ onPointerup: j,
3892
3892
  onPointerdown: ue,
3893
- onPointercancel: K
3893
+ onPointercancel: j
3894
3894
  }
3895
- }, $ = {
3895
+ }, M = {
3896
3896
  props: {
3897
3897
  onClick: W,
3898
- onPointerup: K,
3898
+ onPointerup: j,
3899
3899
  onPointerdown: q,
3900
- onPointercancel: K
3900
+ onPointercancel: j
3901
3901
  }
3902
3902
  };
3903
3903
  se(() => e.precision, () => fe()), se(() => e.minFractionDigits, () => fe()), at(() => {
3904
- z();
3904
+ K();
3905
3905
  });
3906
- function D(f) {
3907
- if (f == null) return 0;
3908
- const A = f.toString(), J = A.indexOf(".");
3909
- return ~J ? A.length - J : 0;
3906
+ function D(m) {
3907
+ if (m == null) return 0;
3908
+ const P = m.toString(), J = P.indexOf(".");
3909
+ return ~J ? P.length - J : 0;
3910
3910
  }
3911
- function G() {
3912
- let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
3913
- if (i.value) return;
3914
- if (m.value == null) {
3911
+ function N() {
3912
+ let m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
3913
+ if (o.value) return;
3914
+ if (f.value == null) {
3915
3915
  h.value = c(Ne(0, e.min, e.max));
3916
3916
  return;
3917
3917
  }
3918
- let A = Math.max(D(m.value), D(e.step));
3919
- e.precision != null && (A = Math.max(A, e.precision)), f ? w.value && (h.value = c(m.value + e.step, A)) : P.value && (h.value = c(m.value - e.step, A));
3918
+ let P = Math.max(D(f.value), D(e.step));
3919
+ e.precision != null && (P = Math.max(P, e.precision)), m ? _.value && (h.value = c(f.value + e.step, P)) : w.value && (h.value = c(f.value - e.step, P));
3920
3920
  }
3921
- function ne(f) {
3922
- if (i.value || !f.data) return;
3923
- const A = f.target, {
3921
+ function ne(m) {
3922
+ if (o.value || !m.data) return;
3923
+ const P = m.target, {
3924
3924
  value: J,
3925
3925
  selectionStart: ve,
3926
3926
  selectionEnd: ge
3927
- } = A ?? {}, pe = J ? J.slice(0, ve) + f.data + J.slice(ge) : f.data, Ie = Qn(pe, e.precision, d.value);
3928
- if (new RegExp(`^-?\\d*${Zn(d.value)}?\\d*$`).test(pe) || (f.preventDefault(), A.value = Ie, ke(() => h.value = Ie)), e.precision != null) {
3927
+ } = P ?? {}, pe = J ? J.slice(0, ve) + m.data + J.slice(ge) : m.data, Ie = Qn(pe, e.precision, d.value);
3928
+ if (new RegExp(`^-?\\d*${Zn(d.value)}?\\d*$`).test(pe) || (m.preventDefault(), P.value = Ie, ke(() => h.value = Ie)), e.precision != null) {
3929
3929
  if (pe.split(d.value)[1]?.length > e.precision) {
3930
- f.preventDefault(), A.value = Ie, ke(() => h.value = Ie);
3931
- const De = (ve ?? 0) + f.data.length;
3932
- A.setSelectionRange(De, De);
3930
+ m.preventDefault(), P.value = Ie, ke(() => h.value = Ie);
3931
+ const De = (ve ?? 0) + m.data.length;
3932
+ P.setSelectionRange(De, De);
3933
3933
  }
3934
- e.precision === 0 && pe.endsWith(d.value) && (f.preventDefault(), A.value = Ie, ke(() => h.value = Ie));
3934
+ e.precision === 0 && pe.endsWith(d.value) && (m.preventDefault(), P.value = Ie, ke(() => h.value = Ie));
3935
3935
  }
3936
3936
  }
3937
- async function H(f) {
3938
- ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(f.key) || f.ctrlKey || ["ArrowDown", "ArrowUp"].includes(f.key) && (f.preventDefault(), f.stopPropagation(), z(), await ke(), f.key === "ArrowDown" ? G(!1) : G());
3937
+ async function z(m) {
3938
+ ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(m.key) || m.ctrlKey || ["ArrowDown", "ArrowUp"].includes(m.key) && (m.preventDefault(), m.stopPropagation(), K(), await ke(), m.key === "ArrowDown" ? N(!1) : N());
3939
3939
  }
3940
- function W(f) {
3941
- f.stopPropagation();
3940
+ function W(m) {
3941
+ m.stopPropagation();
3942
3942
  }
3943
- function K(f) {
3944
- f.currentTarget?.releasePointerCapture(f.pointerId), f.preventDefault(), u();
3943
+ function j(m) {
3944
+ m.currentTarget?.releasePointerCapture(m.pointerId), m.preventDefault(), u();
3945
3945
  }
3946
- function ue(f) {
3947
- f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("up");
3946
+ function ue(m) {
3947
+ m.currentTarget?.setPointerCapture(m.pointerId), m.preventDefault(), m.stopPropagation(), l("up");
3948
3948
  }
3949
- function q(f) {
3950
- f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("down");
3949
+ function q(m) {
3950
+ m.currentTarget?.setPointerCapture(m.pointerId), m.preventDefault(), m.stopPropagation(), l("down");
3951
3951
  }
3952
- function z() {
3953
- if (i.value || !n.value) return;
3954
- const f = n.value.value, A = Number(f.replace(d.value, "."));
3955
- f && !isNaN(A) ? h.value = c(Ne(A, e.min, e.max)) : h.value = null;
3952
+ function K() {
3953
+ if (o.value || !n.value) return;
3954
+ const m = n.value.value, P = Number(m.replace(d.value, "."));
3955
+ m && !isNaN(P) ? h.value = c(Ne(P, e.min, e.max)) : h.value = null;
3956
3956
  }
3957
3957
  function fe() {
3958
- i.value || (h.value = m.value !== null && !isNaN(m.value) ? c(m.value, e.precision, !1) : null);
3958
+ o.value || (h.value = f.value !== null && !isNaN(f.value) ? c(f.value, e.precision, !1) : null);
3959
3959
  }
3960
- function R() {
3961
- if (!i.value) {
3962
- if (m.value === null || isNaN(m.value)) {
3960
+ function B() {
3961
+ if (!o.value) {
3962
+ if (f.value === null || isNaN(f.value)) {
3963
3963
  h.value = null;
3964
3964
  return;
3965
3965
  }
3966
- h.value = m.value.toString().replace(".", d.value);
3966
+ h.value = f.value.toString().replace(".", d.value);
3967
3967
  }
3968
3968
  }
3969
3969
  function O() {
3970
- R();
3970
+ B();
3971
3971
  }
3972
3972
  function k() {
3973
- z();
3973
+ K();
3974
3974
  }
3975
3975
  return de(() => {
3976
3976
  const {
3977
- modelValue: f,
3978
- type: A,
3977
+ modelValue: m,
3978
+ type: P,
3979
3979
  ...J
3980
3980
  } = Je.filterProps(e);
3981
3981
  function ve() {
@@ -3983,8 +3983,8 @@ const ro = X({
3983
3983
  key: "increment-defaults",
3984
3984
  defaults: {
3985
3985
  VBtn: {
3986
- disabled: !w.value,
3987
- height: _.value,
3986
+ disabled: !_.value,
3987
+ height: A.value,
3988
3988
  size: U.value,
3989
3989
  icon: F.value,
3990
3990
  variant: "text"
@@ -3995,14 +3995,14 @@ const ro = X({
3995
3995
  }) : g(tt, {
3996
3996
  "aria-hidden": "true",
3997
3997
  "data-testid": "increment",
3998
- disabled: !w.value,
3999
- height: _.value,
3998
+ disabled: !_.value,
3999
+ height: A.value,
4000
4000
  icon: F.value,
4001
4001
  key: "increment-btn",
4002
4002
  onClick: W,
4003
4003
  onPointerdown: ue,
4004
- onPointerup: K,
4005
- onPointercancel: K,
4004
+ onPointerup: j,
4005
+ onPointercancel: j,
4006
4006
  size: U.value,
4007
4007
  variant: "text",
4008
4008
  tabindex: "-1"
@@ -4013,26 +4013,26 @@ const ro = X({
4013
4013
  key: "decrement-defaults",
4014
4014
  defaults: {
4015
4015
  VBtn: {
4016
- disabled: !P.value,
4017
- height: _.value,
4016
+ disabled: !w.value,
4017
+ height: A.value,
4018
4018
  size: U.value,
4019
- icon: B.value,
4019
+ icon: E.value,
4020
4020
  variant: "text"
4021
4021
  }
4022
4022
  }
4023
4023
  }, {
4024
- default: () => [t.decrement($)]
4024
+ default: () => [t.decrement(M)]
4025
4025
  }) : g(tt, {
4026
4026
  "aria-hidden": "true",
4027
4027
  "data-testid": "decrement",
4028
- disabled: !P.value,
4029
- height: _.value,
4030
- icon: B.value,
4028
+ disabled: !w.value,
4029
+ height: A.value,
4030
+ icon: E.value,
4031
4031
  key: "decrement-btn",
4032
4032
  onClick: W,
4033
4033
  onPointerdown: q,
4034
- onPointerup: K,
4035
- onPointercancel: K,
4034
+ onPointerup: j,
4035
+ onPointercancel: j,
4036
4036
  size: U.value,
4037
4037
  variant: "text",
4038
4038
  tabindex: "-1"
@@ -4059,19 +4059,19 @@ const ro = X({
4059
4059
  }, [ge(), g(ze, {
4060
4060
  vertical: !0
4061
4061
  }, null)]) : e.reverse && C.value !== "hidden" ? b(ce, null, [pe(), Ie()]) : void 0, ut = t["prepend-inner"] || Qe;
4062
- return g(Je, L({
4062
+ return g(Je, H({
4063
4063
  ref: n
4064
4064
  }, J, {
4065
4065
  modelValue: h.value,
4066
4066
  "onUpdate:modelValue": (x) => h.value = x,
4067
- focused: o.value,
4068
- "onUpdate:focused": (x) => o.value = x,
4069
- validationValue: m.value,
4067
+ focused: i.value,
4068
+ "onUpdate:focused": (x) => i.value = x,
4069
+ validationValue: f.value,
4070
4070
  error: e.error || p.value || void 0,
4071
4071
  onBeforeinput: ne,
4072
4072
  onFocus: O,
4073
4073
  onBlur: k,
4074
- onKeydown: H,
4074
+ onKeydown: z,
4075
4075
  class: ["v-number-input", {
4076
4076
  "v-number-input--default": C.value === "default",
4077
4077
  "v-number-input--hide-input": e.hideInput,
@@ -4105,21 +4105,21 @@ const ro = X({
4105
4105
  },
4106
4106
  emits: /* @__PURE__ */ qt(["closeDialog", "save"], ["update:modelValue"]),
4107
4107
  setup(e, { emit: a }) {
4108
- const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = Pt(e, "modelValue"), u = a, s = {
4108
+ const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = Pt(e, "modelValue"), u = a, r = {
4109
4109
  textfield: Je,
4110
4110
  select: Ja,
4111
4111
  number: co,
4112
- datepicker: Ee(
4113
- () => import("./Datepicker-CgaWBwqc.js")
4112
+ datepicker: Te(
4113
+ () => import("./Datepicker-ZDAgPotu.js")
4114
4114
  ),
4115
- comparison: Ee(
4116
- () => import("./Comparison-DQKuQ5sY.js")
4115
+ comparison: Te(
4116
+ () => import("./Comparison-BuQzB-si.js")
4117
4117
  )
4118
- }, i = I(() => t.headers.filter((r) => r.advancedFilter !== !1 && !r.hidden)), o = (r) => r ? typeof r == "string" ? s[r] : r : s.textfield;
4118
+ }, o = I(() => t.headers.filter((s) => s.advancedFilter !== !1 && !s.hidden)), i = (s) => s ? typeof s == "string" ? r[s] : s : r.textfield;
4119
4119
  return se(
4120
- i,
4121
- (r) => {
4122
- r.forEach((d) => {
4120
+ o,
4121
+ (s) => {
4122
+ s.forEach((d) => {
4123
4123
  const c = d.advancedFilter?.key ?? d.key;
4124
4124
  Object.hasOwn(l.value, c) || (l.value[c] = {
4125
4125
  comparison: "=",
@@ -4130,13 +4130,13 @@ const ro = X({
4130
4130
  { immediate: !0 }
4131
4131
  ), at(async () => {
4132
4132
  await t.options.advancedFilters?.onMounted();
4133
- }), (r, d) => (oe(), ye(Vn, { rounded: "lg" }, {
4133
+ }), (s, d) => (oe(), ye(Vn, { rounded: "lg" }, {
4134
4134
  default: Ce(() => [
4135
4135
  g(ul, { class: "d-flex justify-space-between align-center" }, {
4136
4136
  default: Ce(() => [
4137
- b("div", vo, Vt(r.$t("$datatables.advancedFilters")), 1),
4137
+ b("div", vo, Vt(s.$t("$datatables.advancedFilters")), 1),
4138
4138
  g(tt, {
4139
- icon: M(n).header.icons.close,
4139
+ icon: $(n).header.icons.close,
4140
4140
  variant: "text",
4141
4141
  onClick: d[0] || (d[0] = (c) => u("closeDialog"))
4142
4142
  }, null, 8, ["icon"])
@@ -4146,12 +4146,12 @@ const ro = X({
4146
4146
  g(ze),
4147
4147
  g(sl, { class: "overflow-auto pt-8" }, {
4148
4148
  default: Ce(() => [
4149
- (oe(!0), Ke(ce, null, Wt(M(i), (c, m) => (oe(), Ke("div", {
4149
+ (oe(!0), Ke(ce, null, Wt($(o), (c, f) => (oe(), Ke("div", {
4150
4150
  id: `advanced-filter-${c.key}`,
4151
- key: `filter-${m}`,
4151
+ key: `filter-${f}`,
4152
4152
  class: re(`advanced-filter advanced-filter--${c.key}`)
4153
4153
  }, [
4154
- (oe(), ye($e(o(c.advancedFilter?.component)), L({
4154
+ (oe(), ye($e(i(c.advancedFilter?.component)), H({
4155
4155
  modelValue: l.value[c.advancedFilter?.key ?? c.key].value,
4156
4156
  "onUpdate:modelValue": (v) => l.value[c.advancedFilter?.key ?? c.key].value = v,
4157
4157
  comparison: l.value[c.advancedFilter?.key ?? c.key].comparison,
@@ -4170,13 +4170,13 @@ const ro = X({
4170
4170
  default: Ce(() => [
4171
4171
  g(tt, {
4172
4172
  class: "text-none",
4173
- text: r.$t("$datatables.cancel"),
4173
+ text: s.$t("$datatables.cancel"),
4174
4174
  onClick: d[1] || (d[1] = (c) => u("closeDialog"))
4175
4175
  }, null, 8, ["text"]),
4176
4176
  g(tt, {
4177
4177
  class: "text-none",
4178
4178
  color: "primary",
4179
- text: r.$t("$datatables.submit"),
4179
+ text: s.$t("$datatables.submit"),
4180
4180
  variant: "flat",
4181
4181
  onClick: d[2] || (d[2] = (c) => u("save"))
4182
4182
  }, null, 8, ["text"])
@@ -4209,8 +4209,8 @@ function Gt(e, a) {
4209
4209
  if (t.length !== n.length) return !1;
4210
4210
  for (const l of t) {
4211
4211
  if (!n.includes(l)) return !1;
4212
- const u = e[l], s = a[l];
4213
- if (!Gt(u, s)) return !1;
4212
+ const u = e[l], r = a[l];
4213
+ if (!Gt(u, r)) return !1;
4214
4214
  }
4215
4215
  return !0;
4216
4216
  }
@@ -4224,52 +4224,52 @@ const go = {
4224
4224
  },
4225
4225
  emits: ["update:modelValue"],
4226
4226
  setup(e) {
4227
- const a = Pe("table_props"), t = Pe("busEmits"), n = Rt(), { advancedFiltersState: l } = Et(), u = Xl("advancedFilters"), { setData: s } = n, i = Pt(e, "modelValue"), o = j({}), r = () => {
4228
- const m = Object.entries(o.value).filter(([, v]) => {
4227
+ const a = Pe("table_props"), t = Pe("busEmits"), n = Rt(), { advancedFiltersState: l } = Et(), u = Xl("advancedFilters"), { setData: r } = n, o = Pt(e, "modelValue"), i = G({}), s = () => {
4228
+ const f = Object.entries(i.value).filter(([, v]) => {
4229
4229
  const y = v.value;
4230
4230
  return Array.isArray(y) || typeof y == "string" ? y.length > 0 : y != null && y !== "";
4231
4231
  }).reduce((v, [y, h]) => (v[y] = h, v), {});
4232
- Gt(m, l.value) || (s({
4232
+ Gt(f, l.value) || (r({
4233
4233
  table_id: a.id,
4234
4234
  name: "advancedFilters",
4235
- value: { query: pl(m) }
4236
- }), t("advancedFilters:update", m)), i.value = !1;
4237
- }, d = (m, v) => {
4238
- m === "save" && (o.value[v.key] = { comparison: v.comparison, value: v.value }, r());
4235
+ value: { query: pl(f) }
4236
+ }), t("advancedFilters:update", f)), o.value = !1;
4237
+ }, d = (f, v) => {
4238
+ f === "save" && (i.value[v.key] = { comparison: v.comparison, value: v.value }, s());
4239
4239
  }, c = u.on(d);
4240
4240
  return at(() => {
4241
- o.value = pl(l.value);
4242
- }), Pn(c), (m, v) => {
4241
+ i.value = pl(l.value);
4242
+ }), Pn(c), (f, v) => {
4243
4243
  const y = mo, h = ha;
4244
4244
  return oe(), Ke("div", null, [
4245
4245
  g(Sn, {
4246
- modelValue: i.value,
4247
- "onUpdate:modelValue": v[1] || (v[1] = (p) => i.value = p),
4246
+ modelValue: o.value,
4247
+ "onUpdate:modelValue": v[1] || (v[1] = (p) => o.value = p),
4248
4248
  "max-width": "550",
4249
4249
  "retain-focus": !1
4250
4250
  }, {
4251
4251
  default: Ce(({ isActive: p }) => [
4252
4252
  g(y, {
4253
- modelValue: M(o),
4254
- "onUpdate:modelValue": v[0] || (v[0] = (w) => xt(o) ? o.value = w : null),
4255
- onSave: r,
4256
- onCloseDialog: (w) => p.value = !1
4253
+ modelValue: $(i),
4254
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => xt(i) ? i.value = _ : null),
4255
+ onSave: s,
4256
+ onCloseDialog: (_) => p.value = !1
4257
4257
  }, null, 8, ["modelValue", "onCloseDialog"])
4258
4258
  ]),
4259
4259
  _: 1
4260
4260
  }, 8, ["modelValue"]),
4261
- Object.keys(M(l)).length ? (oe(), ye(h, {
4261
+ Object.keys($(l)).length ? (oe(), ye(h, {
4262
4262
  key: 0,
4263
- modelValue: M(o),
4264
- "onUpdate:modelValue": v[2] || (v[2] = (p) => xt(o) ? o.value = p : null),
4265
- onSave: r
4263
+ modelValue: $(i),
4264
+ "onUpdate:modelValue": v[2] || (v[2] = (p) => xt(i) ? i.value = p : null),
4265
+ onSave: s
4266
4266
  }, null, 8, ["modelValue"])) : Me("", !0)
4267
4267
  ]);
4268
4268
  };
4269
4269
  }
4270
4270
  };
4271
4271
  function yo() {
4272
- const e = Pe("datatablesPluginOptions"), { t: a } = aa(), { advancedFiltersState: t } = Et(), n = j(!1), l = I(() => Object.keys(t.value).length);
4272
+ const e = Pe("datatablesPluginOptions"), { t: a } = aa(), { advancedFiltersState: t } = Et(), n = G(!1), l = I(() => Object.keys(t.value).length);
4273
4273
  return { advancedFiltersItems: I(() => [
4274
4274
  {
4275
4275
  title: `${a("$datatables.advancedFilters")}`,
@@ -4286,37 +4286,37 @@ const ho = {
4286
4286
  setup(e) {
4287
4287
  const { advancedFiltersItems: a, advancedFiltersDialog: t, activeAdvancedFilters: n } = yo();
4288
4288
  return (l, u) => {
4289
- const s = go;
4289
+ const r = go;
4290
4290
  return oe(), Ke("div", ho, [
4291
- (oe(!0), Ke(ce, null, Wt(M(a), (i, o) => (oe(), ye(tt, L({
4292
- key: o,
4291
+ (oe(!0), Ke(ce, null, Wt($(a), (o, i) => (oe(), ye(tt, H({
4292
+ key: i,
4293
4293
  icon: "",
4294
4294
  variant: "text",
4295
- color: M(n) ? "primary" : "dark",
4295
+ color: $(n) ? "primary" : "dark",
4296
4296
  density: "comfortable"
4297
- }, { ref_for: !0 }, i), {
4297
+ }, { ref_for: !0 }, o), {
4298
4298
  default: Ce(() => [
4299
- M(n) ? (oe(), ye(Ya, {
4299
+ $(n) ? (oe(), ye(Ya, {
4300
4300
  key: 0,
4301
4301
  color: "primary",
4302
- content: M(n)
4302
+ content: $(n)
4303
4303
  }, {
4304
4304
  default: Ce(() => [
4305
4305
  g(Se, {
4306
- icon: i.prependIcon
4306
+ icon: o.prependIcon
4307
4307
  }, null, 8, ["icon"])
4308
4308
  ]),
4309
4309
  _: 2
4310
4310
  }, 1032, ["content"])) : (oe(), ye(Se, {
4311
4311
  key: 1,
4312
- icon: i.prependIcon
4312
+ icon: o.prependIcon
4313
4313
  }, null, 8, ["icon"]))
4314
4314
  ]),
4315
4315
  _: 2
4316
4316
  }, 1040, ["color"]))), 128)),
4317
- g(s, {
4318
- modelValue: M(t),
4319
- "onUpdate:modelValue": u[0] || (u[0] = (i) => xt(t) ? t.value = i : null)
4317
+ g(r, {
4318
+ modelValue: $(t),
4319
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => xt(t) ? t.value = o : null)
4320
4320
  }, null, 8, ["modelValue"])
4321
4321
  ]);
4322
4322
  };
@@ -4330,57 +4330,57 @@ const ho = {
4330
4330
  responsiveHeader: { type: Boolean }
4331
4331
  },
4332
4332
  setup(e) {
4333
- const a = Ee(() => import("./Search-DBCGZBxm.js")), t = Ee(() => import("./RefreshTable-0OZhCgVc.js")), n = Ee(() => import("./Options-Dzm1_SN_.js")), l = Ee(() => import("./index-2dniBO7B.js")), u = Ee(() => import("./index-DoH33mkF.js")), s = Ee(() => import("./index-D65STyD7.js")), i = Pe("table_props"), o = j(null), r = i.options?.header?.components ?? {};
4333
+ const a = Te(() => import("./Search-CpSeJNQo.js")), t = Te(() => import("./RefreshTable-C_KSEQQ2.js")), n = Te(() => import("./Options-BKNqYsWg.js")), l = Te(() => import("./index-cgveAwK7.js")), u = Te(() => import("./index-DBe3_idS.js")), r = Te(() => import("./index-Dnh2gNmS.js")), o = Pe("table_props"), i = G(null), s = o.options?.header?.components ?? {};
4334
4334
  return (d, c) => {
4335
- const m = bo;
4335
+ const f = bo;
4336
4336
  return oe(), Ke("div", po, [
4337
- e.responsiveHeader ? Me("", !0) : (oe(), ye(m, { key: 0 })),
4338
- M(i).hardFilters.length ? (oe(), ye($e(M(r).hardFilters ?? M(l)), {
4337
+ e.responsiveHeader ? Me("", !0) : (oe(), ye(f, { key: 0 })),
4338
+ $(o).hardFilters.length ? (oe(), ye($e($(s).hardFilters ?? $(l)), {
4339
4339
  key: 1,
4340
4340
  id: "header-hardFilters"
4341
4341
  })) : Me("", !0),
4342
- (oe(), ye($e(M(r).toolbar), { id: "header-toolbar" })),
4342
+ (oe(), ye($e($(s).toolbar), { id: "header-toolbar" })),
4343
4343
  b("div", ko, [
4344
- (oe(), ye($e(M(r).search ?? M(a)), { id: "header-search" })),
4345
- e.responsiveHeader ? Me("", !0) : (oe(), ye($e(M(r).columns ?? M(u)), {
4344
+ (oe(), ye($e($(s).search ?? $(a)), { id: "header-search" })),
4345
+ e.responsiveHeader ? Me("", !0) : (oe(), ye($e($(s).columns ?? $(u)), {
4346
4346
  key: 0,
4347
- "component-refs": { columns: M(o) }
4347
+ "component-refs": { columns: $(i) }
4348
4348
  }, null, 8, ["component-refs"])),
4349
- e.responsiveHeader ? Me("", !0) : (oe(), ye($e(M(r).download ?? M(s)), { key: 1 })),
4350
- e.responsiveHeader ? Me("", !0) : (oe(), ye($e(M(r).refreshTable ?? M(t)), { key: 2 })),
4351
- (oe(), ye($e(M(r).options ?? M(n)), { "responsive-header": e.responsiveHeader }, null, 8, ["responsive-header"]))
4349
+ e.responsiveHeader ? Me("", !0) : (oe(), ye($e($(s).download ?? $(r)), { key: 1 })),
4350
+ e.responsiveHeader ? Me("", !0) : (oe(), ye($e($(s).refreshTable ?? $(t)), { key: 2 })),
4351
+ (oe(), ye($e($(s).options ?? $(n)), { "responsive-header": e.responsiveHeader }, null, 8, ["responsive-header"]))
4352
4352
  ])
4353
4353
  ]);
4354
4354
  };
4355
4355
  }
4356
4356
  });
4357
4357
  function Co(e) {
4358
- const a = Rt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, u = j(!1), s = 5, i = I(() => t(e.id));
4358
+ const a = Rt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, u = G(!1), r = 5, o = I(() => t(e.id));
4359
4359
  se(
4360
- i,
4360
+ o,
4361
4361
  async (v) => {
4362
- v.options.hash && await o(v);
4362
+ v.options.hash && await i(v);
4363
4363
  },
4364
4364
  {
4365
4365
  deep: !0
4366
4366
  }
4367
4367
  );
4368
- const o = async (v) => {
4368
+ const i = async (v) => {
4369
4369
  if (u.value) return;
4370
4370
  u.value = !0, await ke();
4371
- const y = r(), h = y.findIndex((p) => p.id === e.id);
4371
+ const y = s(), h = y.findIndex((p) => p.id === e.id);
4372
4372
  h > -1 ? y[h] = v : y.push(v), localStorage.setItem("datatables-state", JSON.stringify(y)), u.value = !1;
4373
- }, r = () => {
4373
+ }, s = () => {
4374
4374
  const v = localStorage.getItem("datatables-state");
4375
4375
  return JSON.parse(v ?? "[]");
4376
- }, d = () => r().find((h) => h.id === e.id);
4376
+ }, d = () => s().find((h) => h.id === e.id);
4377
4377
  return {
4378
4378
  saving: u,
4379
4379
  dataStateGet: d,
4380
- tableDataState: i,
4380
+ tableDataState: o,
4381
4381
  checkTableState: async () => {
4382
4382
  const v = localStorage.getItem("datatables-state-v");
4383
- parseInt(v) !== parseInt(s) && (localStorage.removeItem("datatables-state"), localStorage.setItem("datatables-state-v", s));
4383
+ parseInt(v) !== parseInt(r) && (localStorage.removeItem("datatables-state"), localStorage.setItem("datatables-state-v", r));
4384
4384
  const h = d()?.options.hash;
4385
4385
  if (h) {
4386
4386
  const p = await l(JSON.stringify(e.headers ?? []));
@@ -4418,46 +4418,46 @@ const xn = la(() => {
4418
4418
  },
4419
4419
  emits: /* @__PURE__ */ qt(["refreshTable", "refetchData", "advancedFilters:update", "hardFilters:update"], ["update:modelValue"]),
4420
4420
  setup(e, { expose: a, emit: t }) {
4421
- const n = Ee(() => import("./Table-VfsWPt6d.js")), l = Ee(() => import("./TableServer-CPxJnObB.js")), { storeOptions: u } = xn(), { saveTableOptions: s } = Et(), i = Pt(e, "modelValue"), o = Pe("table_props"), r = Pe("datatablesPluginOptions"), d = Cl("tableRef"), c = j(!1), m = j(!1), v = j(!1), y = t, h = Rt(), { dataStateGet: p, tableDataState: w, checkTableState: P } = Co(o), { addTable: C, restoreData: F } = h, B = j(!1);
4422
- na(d, (_) => {
4423
- if (!v.value) return;
4424
- const V = _[0], { width: $ } = V.contentRect;
4425
- B.value = $ < 950;
4421
+ const n = Te(() => import("./Table-BQwX5npC.js")), l = Te(() => import("./TableVirtual-Ca9Tk07w.js")), u = Te(() => import("./TableServer-CoKdajJh.js")), { storeOptions: r } = xn(), { saveTableOptions: o } = Et(), i = Pt(e, "modelValue"), s = Pe("table_props"), d = Pe("datatablesPluginOptions"), c = Cl("tableRef"), f = G(!1), v = G(!1), y = G(!1), h = t, p = Rt(), { dataStateGet: _, tableDataState: w, checkTableState: C } = Co(s), { addTable: F, restoreData: E } = p, U = G(!1);
4422
+ na(c, (V) => {
4423
+ if (!y.value) return;
4424
+ const M = V[0], { width: D } = M.contentRect;
4425
+ U.value = D < 950;
4426
4426
  });
4427
- const U = I(() => {
4428
- const _ = o.options?.header;
4429
- return _ === void 0 || typeof _ == "object" && _ !== null;
4427
+ const A = I(() => {
4428
+ const V = s.options?.header;
4429
+ return V === void 0 || typeof V == "object" && V !== null;
4430
4430
  });
4431
4431
  return at(async () => {
4432
- C({ table_id: o.id }), await P();
4433
- const _ = p();
4434
- _ && F({ table_id: o.id, data: _ });
4435
- const $ = w.value.options.columns;
4436
- $.sorted?.length || ($.selected?.length || ($.selected = o.headers.filter((D) => !D.hidden).map((D) => D.key)), $.sorted = o.headers.map((D) => D.key)), s(ea(u.state.value, w.value.options.state)), m.value = !0, await ke(), v.value = !0;
4432
+ F({ table_id: s.id }), await C();
4433
+ const V = _();
4434
+ V && E({ table_id: s.id, data: V });
4435
+ const D = w.value.options.columns;
4436
+ D.sorted?.length || (D.selected?.length || (D.selected = s.headers.filter((N) => !N.hidden).map((N) => N.key)), D.sorted = s.headers.map((N) => N.key)), o(ea(r.state.value, w.value.options.state)), v.value = !0, await ke(), y.value = !0;
4437
4437
  }), kl(() => {
4438
- v.value = !1;
4439
- }), We("busEmits", y), We("tableRef", d), We("tableState", w), We("downloadModal", c), a({ tableRef: d }), (_, V) => {
4440
- const $ = So;
4441
- return M(m) ? (oe(), Ke("div", Vo, [
4438
+ y.value = !1;
4439
+ }), We("busEmits", h), We("tableRef", c), We("tableState", w), We("downloadModal", f), a({ tableRef: c }), (V, M) => {
4440
+ const D = So;
4441
+ return $(v) ? (oe(), Ke("div", Vo, [
4442
4442
  g(Vn, null, {
4443
4443
  default: Ce(() => [
4444
- M(U) ? (oe(), ye(ul, { key: 0 }, {
4444
+ $(A) ? (oe(), ye(ul, { key: 0 }, {
4445
4445
  default: Ce(() => [
4446
- (oe(), ye($, {
4447
- key: M(B) ? "responsive" : "full",
4448
- "responsive-header": M(B)
4446
+ (oe(), ye(D, {
4447
+ key: $(U) ? "responsive" : "full",
4448
+ "responsive-header": $(U)
4449
4449
  }, null, 8, ["responsive-header"]))
4450
4450
  ]),
4451
4451
  _: 1
4452
4452
  })) : Me("", !0),
4453
4453
  g(sl, { class: "pa-0" }, {
4454
4454
  default: Ce(() => [
4455
- M(v) ? (oe(), ye($e(M(o).api ? M(l) : M(n)), {
4455
+ $(y) ? (oe(), ye($e($(s).api ? $(u) : $(s).virtual ? $(l) : $(n)), {
4456
4456
  ref_key: "tableRef",
4457
- ref: d,
4458
- key: M(o).api ? "server" : "client",
4457
+ ref: c,
4458
+ key: $(s).api ? "server" : "client",
4459
4459
  modelValue: i.value,
4460
- "onUpdate:modelValue": V[0] || (V[0] = (D) => i.value = D)
4460
+ "onUpdate:modelValue": M[0] || (M[0] = (N) => i.value = N)
4461
4461
  }, null, 8, ["modelValue"])) : Me("", !0)
4462
4462
  ]),
4463
4463
  _: 1
@@ -4466,8 +4466,8 @@ const xn = la(() => {
4466
4466
  _: 1
4467
4467
  }),
4468
4468
  g(Sn, {
4469
- modelValue: M(c),
4470
- "onUpdate:modelValue": V[1] || (V[1] = (D) => xt(c) ? c.value = D : null),
4469
+ modelValue: $(f),
4470
+ "onUpdate:modelValue": M[1] || (M[1] = (N) => xt(f) ? f.value = N : null),
4471
4471
  "max-width": "350",
4472
4472
  persistent: ""
4473
4473
  }, {
@@ -4480,8 +4480,8 @@ const xn = la(() => {
4480
4480
  }, {
4481
4481
  default: Ce(() => [
4482
4482
  g(vt, {
4483
- "prepend-icon": M(r).header.icons.download,
4484
- title: _.$t("$datatables.preparing_download_file")
4483
+ "prepend-icon": $(d).header.icons.download,
4484
+ title: V.$t("$datatables.preparing_download_file")
4485
4485
  }, {
4486
4486
  prepend: Ce(() => [
4487
4487
  b("div", xo, [
@@ -4511,7 +4511,7 @@ const xn = la(() => {
4511
4511
  };
4512
4512
  }
4513
4513
  }), wo = Vl("datatablesHooks", () => {
4514
- const e = j({});
4514
+ const e = G({});
4515
4515
  return {
4516
4516
  hooks: e,
4517
4517
  registerHook: (n, l) => {
@@ -4564,24 +4564,28 @@ const xn = la(() => {
4564
4564
  title: {
4565
4565
  type: String,
4566
4566
  default: ""
4567
+ },
4568
+ virtual: {
4569
+ type: Boolean,
4570
+ default: !1
4567
4571
  }
4568
4572
  },
4569
4573
  emits: ["refreshTable", "refetchData"],
4570
4574
  setup(e, { expose: a, emit: t }) {
4571
- const n = e, { triggerHook: l } = wo(), { storeOptions: u, setUserOptions: s } = xn(), i = Xl("advancedFilters"), o = Cl("table"), r = j(0), d = async (y = {}) => {
4572
- s(y), r.value < 99 && (v("refreshTable"), await ke(), r.value++);
4575
+ const n = e, { triggerHook: l } = wo(), { storeOptions: u, setUserOptions: r } = xn(), o = Xl("advancedFilters"), i = Cl("table"), s = G(0), d = async (y = {}) => {
4576
+ r(y), s.value < 99 && (v("refreshTable"), await ke(), s.value++);
4573
4577
  }, c = async (y = {}) => {
4574
- await ke(), !(!o.value || !o.value?.tableRef) && (s(y), "reloadItems" in o.value.tableRef && (o.value.tableRef.reloadItems(u.state.value), v("refetchData")));
4575
- }, m = (y, h, p = "=") => {
4576
- i.emit("save", { key: y, value: h, comparison: p });
4578
+ await ke(), !(!i.value || !i.value?.tableRef) && (r(y), "reloadItems" in i.value.tableRef && (i.value.tableRef.reloadItems(u.state.value), v("refetchData")));
4579
+ }, f = (y, h, p = "=") => {
4580
+ o.emit("save", { key: y, value: h, comparison: p });
4577
4581
  }, v = t;
4578
- return We("table_props", n), We("triggerHook", l), a({ refreshTable: d, refetchData: c, triggerHook: l, updateAdvancedFilter: m }), (y, h) => {
4582
+ return We("table_props", n), We("triggerHook", l), a({ refreshTable: d, refetchData: c, triggerHook: l, updateAdvancedFilter: f }), (y, h) => {
4579
4583
  const p = Io;
4580
4584
  return oe(), ye(p, {
4581
4585
  id: e.id,
4582
4586
  ref_key: "table",
4583
- ref: o,
4584
- key: `${e.id}-${M(r)}`,
4587
+ ref: i,
4588
+ key: `${e.id}-${$(s)}`,
4585
4589
  onRefreshTable: d,
4586
4590
  onRefetchData: c
4587
4591
  }, null, 8, ["id"]);
@@ -4592,36 +4596,39 @@ const xn = la(() => {
4592
4596
  default: _o
4593
4597
  }, Symbol.toStringTag, { value: "Module" }));
4594
4598
  export {
4595
- Mt as A,
4596
- sn as B,
4597
- co as C,
4598
- Ro as D,
4599
- Bo as V,
4599
+ ya as A,
4600
+ Ya as B,
4601
+ Ot as C,
4602
+ Mt as D,
4603
+ sn as E,
4604
+ co as F,
4605
+ Ro as G,
4606
+ $a as V,
4600
4607
  go as _,
4601
- Gt as a,
4602
- mt as b,
4603
- un as c,
4608
+ hn as a,
4609
+ Ha as b,
4610
+ La as c,
4604
4611
  pl as d,
4605
- hn as e,
4606
- Rt as f,
4607
- Vn as g,
4608
- sl as h,
4609
- Je as i,
4610
- Sn as j,
4611
- ul as k,
4612
- Cn as l,
4612
+ Gt as e,
4613
+ Bo as f,
4614
+ mt as g,
4615
+ un as h,
4616
+ Rt as i,
4617
+ Vn as j,
4618
+ sl as k,
4619
+ Je as l,
4613
4620
  yn as m,
4614
- yo as n,
4615
- wo as o,
4616
- il as p,
4617
- ma as q,
4618
- rn as r,
4619
- Sa as s,
4620
- cn as t,
4621
+ Sn as n,
4622
+ ul as o,
4623
+ Cn as p,
4624
+ yo as q,
4625
+ wo as r,
4626
+ il as s,
4627
+ ma as t,
4621
4628
  Et as u,
4622
- hl as v,
4623
- Co as w,
4624
- ya as x,
4625
- Ya as y,
4626
- Ot as z
4629
+ rn as v,
4630
+ Sa as w,
4631
+ cn as x,
4632
+ hl as y,
4633
+ Co as z
4627
4634
  };