@ianicdev/datatables2 0.11.7 → 0.12.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 (41) hide show
  1. package/dist/{Comparison-De27pAUU.cjs → Comparison-Cjz-f6QE.cjs} +1 -1
  2. package/dist/{Comparison-BGS-fuIe.js → Comparison-c7-5FHzt.js} +1 -1
  3. package/dist/{Datepicker-Cw_J535b.js → Datepicker-D8R5O3nA.js} +2 -2
  4. package/dist/{Datepicker-CIuhuD6k.cjs → Datepicker-tYZiV7pL.cjs} +1 -1
  5. package/dist/Options-BqEPdV4P.cjs +1 -0
  6. package/dist/Options-t9XPNKFJ.js +222 -0
  7. package/dist/{RefreshTable-CwKNOxC1.cjs → RefreshTable-BK-a6F4w.cjs} +1 -1
  8. package/dist/{RefreshTable-DJh8kVcF.js → RefreshTable-BMZFOov3.js} +2 -2
  9. package/dist/{Search-C8e4aEIt.js → Search-CcSzJ7EN.js} +19 -19
  10. package/dist/Search-ggJbFRUZ.cjs +1 -0
  11. package/dist/{Table-BJ5tGV-x.cjs → Table-Cd3b9yno.cjs} +1 -1
  12. package/dist/{Table-ubU5wjVY.js → Table-DFgbsnAr.js} +3 -3
  13. package/dist/{TableServer-CDPE93Bi.cjs → TableServer-CkRGzG9m.cjs} +1 -1
  14. package/dist/{TableServer-DuwL1c97.js → TableServer-RGxAza7r.js} +3 -3
  15. package/dist/{cellRender-u5Pfy695.js → cellRender-BrYyjDR0.js} +2 -2
  16. package/dist/{cellRender-Dh2_N7Hn.cjs → cellRender-yRAYLhMZ.cjs} +1 -1
  17. package/dist/{dataTables-Du4VyMxR.js → dataTables-BwYZVAqY.js} +3 -2
  18. package/dist/{dataTables-BxXcbziu.cjs → dataTables-CT4H3tPX.cjs} +1 -1
  19. package/dist/datatables.cjs +1 -1
  20. package/dist/datatables.js +1 -1
  21. package/dist/{index-BeStYA4v.cjs → index-Bascl9Tm.cjs} +1 -1
  22. package/dist/{index-D0oTlDPt.js → index-Bra3YXTV.js} +1 -1
  23. package/dist/{index-R3Q-lW3h.cjs → index-CI5-YbRX.cjs} +1 -1
  24. package/dist/{index-Cfk_p1QT.cjs → index-CLiQ28nF.cjs} +1 -1
  25. package/dist/{index-BebQe8X1.cjs → index-CRNAJrYh.cjs} +1 -1
  26. package/dist/{index-pVnRXL21.js → index-CWXBoVzR.js} +9 -9
  27. package/dist/{index-CTF3ArB5.js → index-hM02sYDS.js} +2 -2
  28. package/dist/{index-Dlb5c56z.js → index-vAe2qE0y.js} +553 -561
  29. package/dist/{useColumns-BpprQUUi.cjs → useColumns-GzXxHCN7.cjs} +1 -1
  30. package/dist/{useColumns-Csi8mDCk.js → useColumns-qXPhS6kv.js} +3 -2
  31. package/dist/useRefreshTable-B3JWG3uB.cjs +1 -0
  32. package/dist/useRefreshTable-C01Fva1U.js +17 -0
  33. package/lib/locale/de.js +9 -0
  34. package/lib/locale/el.js +9 -0
  35. package/lib/locale/en.js +8 -0
  36. package/package.json +5 -5
  37. package/dist/Options-DEe2eGBJ.cjs +0 -1
  38. package/dist/Options-I1PQEYFi.js +0 -108
  39. package/dist/Search-_MWrcP0W.cjs +0 -1
  40. package/dist/useRefreshTable-CYZLF_fz.cjs +0 -1
  41. package/dist/useRefreshTable-DkrhQ57E.js +0 -18
@@ -1,13 +1,11 @@
1
1
  import { ref as K, inject as Pe, computed as x, toRef as E, shallowRef as Z, watch as ue, createVNode as g, normalizeStyle as Ie, normalizeClass as se, createElementVNode as b, mergeProps as N, withDirectives as Ke, vShow as Pt, Fragment as re, toDisplayString as Vt, useModel as _t, openBlock as ae, createBlock as ke, withCtx as Ve, createElementBlock as je, renderList as Gt, unref as L, mergeModels as Wt, useId as Xe, provide as We, onScopeDispose as rt, nextTick as Ce, onBeforeMount as Vn, onBeforeUnmount as xn, onMounted as at, cloneVNode as In, watchEffect as Ht, toValue as zt, createTextVNode as pl, defineAsyncComponent as Oe, resolveDynamicComponent as Me, isRef as xt, createCommentVNode as Ne, defineComponent as kl } from "vue";
2
2
  import { defineStore as Sl } from "pinia";
3
- import { u as At, m as Ut, P as Cl, c as Le, a as wn, e as Pn, r as _n, g as oe, b as Vl, d as xl, f as It, I as ct, h as ce, V as sl, i as Se, j as Il, p as Q, k as ye, l as wl, n as $e, o as An, q as he, s as ot, t as qt, v as qe, w as Jt, x as ze, R as lt, y as it, z as Xt, A as Ft, B as Yt, C as gt, D as Fn, E as xe, F as rl, G as Pl, H as _l, J as Al, K as Fl, L as Fe, M as nt, N as Dn, O as Dl, Q as yt, S as Tn, T as Qt, U as ht, W as Zt, X as He, Y as Dt, Z as bt, _ as el, $ as Tl, a0 as Bl, a1 as tl, a2 as pt, a3 as Rl, a4 as Ee, a5 as kt, a6 as dt, a7 as Ye, a8 as El, a9 as ll, aa as Tt, ab as Ol, ac as $l, ad as Ml, ae as Kt, af as Bn, ag as Nl, ah as Rn, ai as En, aj as Ll, ak as et, al as Hl, am as On, an as cl, ao as St, ap as zl, aq as $n, ar as Mn, as as Ul, at as Kl, au as nl, av as vt, aw as Nn, ax as Ue, ay as jl, az as Gl, aA as wt, aB as Wl, aC as Ln, aD as Hn, aE as zn, aF as Un, aG as Kn, aH as dl, aI as jn, aJ as Gn, aK as Wn, aL as tt, aM as qn, aN as Jn, aO as Xn, aP as Yn } from "./dataTables-Du4VyMxR.js";
3
+ import { u as At, m as Ut, P as Cl, c as Le, a as wn, e as Pn, r as _n, g as oe, b as Vl, d as xl, f as It, I as ct, h as ce, V as sl, i as Se, j as Il, p as Q, k as ye, l as wl, n as $e, o as An, q as he, s as ot, t as qt, v as qe, w as Jt, x as ze, R as lt, y as it, z as Xt, A as Ft, B as Yt, C as gt, D as Fn, E as xe, F as rl, G as Pl, H as _l, J as Al, K as Fl, L as Fe, M as nt, N as Dn, O as Dl, Q as yt, S as Tn, T as Qt, U as ht, W as Zt, X as He, Y as Dt, Z as bt, _ as el, $ as Tl, a0 as Bl, a1 as tl, a2 as pt, a3 as Rl, a4 as Ee, a5 as kt, a6 as dt, a7 as Ye, a8 as El, a9 as ll, aa as Tt, ab as Ol, ac as $l, ad as Ml, ae as Kt, af as Bn, ag as Nl, ah as Rn, ai as En, aj as Ll, ak as et, al as Hl, am as On, an as cl, ao as St, ap as zl, aq as $n, ar as Mn, as as Ul, at as Kl, au as nl, av as vt, aw as Nn, ax as Ue, ay as jl, az as Gl, aA as wt, aB as Wl, aC as Ln, aD as Hn, aE as zn, aF as Un, aG as Kn, aH as dl, aI as jn, aJ as Gn, aK as Wn, aL as tt, aM as qn, aN as Jn, aO as Xn, aP as Yn } from "./dataTables-BwYZVAqY.js";
4
4
  import { useI18n as Qn } from "vue-i18n";
5
5
  import { createSharedComposable as Zn, useResizeObserver as ea } from "@vueuse/core";
6
6
  const Bt = Sl("datatables", () => {
7
- const e = K([]), a = ({ table_id: i }) => {
8
- const d = e.value.findIndex(
9
- (r) => r.id === i
10
- ), s = {
7
+ const e = K([]), a = ({ table_id: o }) => {
8
+ const u = e.value.findIndex((r) => r.id === o), d = {
11
9
  search: {
12
10
  query: ""
13
11
  },
@@ -23,21 +21,21 @@ const Bt = Sl("datatables", () => {
23
21
  state: {}
24
22
  }
25
23
  };
26
- d !== -1 && e.value.splice(d, 1), e.value.push({ id: i, ...s });
27
- }, t = async (i) => {
28
- const s = new TextEncoder().encode(i), r = await crypto.subtle.digest("SHA-256", s);
29
- return Array.from(new Uint8Array(r)).map((h) => h.toString(16).padStart(2, "0")).join("");
30
- }, n = ({ table_id: i, headers: d }) => {
31
- t(JSON.stringify(d ?? [])).then((s) => {
32
- l({ table_id: i, name: "options", value: { hash: s } });
24
+ u !== -1 && e.value.splice(u, 1), e.value.push({ id: o, ...d });
25
+ }, t = async (o) => {
26
+ const d = new TextEncoder().encode(o), r = await crypto.subtle.digest("SHA-256", d);
27
+ return Array.from(new Uint8Array(r)).map((v) => v.toString(16).padStart(2, "0")).join("");
28
+ }, n = ({ table_id: o, headers: u }) => {
29
+ t(JSON.stringify(u ?? [])).then((d) => {
30
+ l({ table_id: o, name: "options", value: { hash: d } });
33
31
  });
34
- }, l = ({ table_id: i, name: d, value: s }) => {
32
+ }, l = ({ table_id: o, name: u, value: d }) => {
35
33
  e.value = e.value.map((r) => {
36
- if (r.id === i && r.hasOwnProperty(d)) {
37
- const m = r[d];
38
- if (m && typeof s == "object")
39
- for (const v in s)
40
- v in m && (m[v] = s[v]);
34
+ if (r.id === o && r.hasOwnProperty(u)) {
35
+ const s = r[u];
36
+ if (s && typeof d == "object")
37
+ for (const m in d)
38
+ m in s && (s[m] = d[m]);
41
39
  }
42
40
  return r;
43
41
  });
@@ -48,29 +46,29 @@ const Bt = Sl("datatables", () => {
48
46
  // Store Methods
49
47
  addTable: a,
50
48
  setData: l,
51
- restoreData: ({ table_id: i, data: d }) => {
52
- e.value = e.value.map((s) => (s.id === i && (s = d), s));
49
+ restoreData: ({ table_id: o, data: u }) => {
50
+ e.value = e.value.map((d) => (d.id === o && (d = u), d));
53
51
  },
54
- getCurrentTable: (i) => e.value.find((d) => d.id === i),
52
+ getCurrentTable: (o) => e.value.find((u) => u.id === o),
55
53
  // Hash
56
54
  hashString: t,
57
55
  setTableHash: n
58
56
  };
59
57
  });
60
58
  function Rt() {
61
- const { setData: e, getCurrentTable: a } = Bt(), t = Pe("table_props"), n = x(() => a(t.id)), l = x(() => n.value.search?.query), o = x(() => {
59
+ const { setData: e, getCurrentTable: a } = Bt(), t = Pe("table_props"), n = x(() => a(t.id)), l = x(() => n.value.search?.query), i = x(() => {
62
60
  if (!t?.headers.length) return null;
63
61
  const d = n.value.options?.columns.selected ?? [];
64
62
  return (n.value.options?.columns.sorted ?? []).filter((m) => d.includes(m)).map(
65
63
  (m) => t.headers.find((v) => v.key === m)
66
64
  );
67
- }), c = x(() => n.value.hardFilters?.query), u = x(() => n.value.advancedFilters?.query);
65
+ }), c = x(() => n.value.hardFilters?.query), o = x(() => n.value.advancedFilters?.query);
68
66
  return {
69
67
  tableState: n,
70
68
  searchState: l,
71
- advancedFiltersState: u,
69
+ advancedFiltersState: o,
72
70
  hardFiltersState: c,
73
- headersState: o,
71
+ headersState: i,
74
72
  saveTableOptions: (d) => {
75
73
  e({
76
74
  table_id: t.id,
@@ -107,25 +105,25 @@ function Mt(e, a, t) {
107
105
  return l;
108
106
  }
109
107
  async function vl(e, a, t, n) {
110
- const l = t ? "scrollLeft" : "scrollTop", o = Ut(n?.options ?? la(), a), c = n?.rtl.value, u = (typeof e == "number" ? e : al(e)) ?? 0, i = o.container === "parent" && u instanceof HTMLElement ? u.parentElement : na(o.container), d = Cl() ? o.patterns.instant : typeof o.easing == "function" ? o.easing : o.patterns[o.easing];
111
- if (!d) throw new TypeError(`Easing function "${o.easing}" not found.`);
112
- let s;
113
- if (typeof u == "number")
114
- s = Mt(u, t, c);
115
- else if (s = Mt(u, t, c) - Mt(i, t, c), o.layout) {
116
- const h = window.getComputedStyle(u).getPropertyValue("--v-layout-top");
117
- h && (s -= parseInt(h, 10));
108
+ const l = t ? "scrollLeft" : "scrollTop", i = Ut(n?.options ?? la(), a), c = n?.rtl.value, o = (typeof e == "number" ? e : al(e)) ?? 0, u = i.container === "parent" && o instanceof HTMLElement ? o.parentElement : na(i.container), d = Cl() ? i.patterns.instant : typeof i.easing == "function" ? i.easing : i.patterns[i.easing];
109
+ if (!d) throw new TypeError(`Easing function "${i.easing}" not found.`);
110
+ let r;
111
+ if (typeof o == "number")
112
+ r = Mt(o, t, c);
113
+ else if (r = Mt(o, t, c) - Mt(u, t, c), i.layout) {
114
+ const h = window.getComputedStyle(o).getPropertyValue("--v-layout-top");
115
+ h && (r -= parseInt(h, 10));
118
116
  }
119
- s += o.offset, s = oa(i, s, !!c, !!t);
120
- const r = i[l] ?? 0;
121
- if (s === r) return Promise.resolve(s);
117
+ r += i.offset, r = oa(u, r, !!c, !!t);
118
+ const s = u[l] ?? 0;
119
+ if (r === s) return Promise.resolve(r);
122
120
  const m = performance.now();
123
121
  return new Promise((v) => requestAnimationFrame(function h(y) {
124
- const w = (y - m) / o.duration, P = Math.floor(r + (s - r) * d(Le(w, 0, 1)));
125
- if (i[l] = P, w >= 1 && Math.abs(P - i[l]) < 10)
126
- return v(s);
122
+ const w = (y - m) / i.duration, P = Math.floor(s + (r - s) * d(Le(w, 0, 1)));
123
+ if (u[l] = P, w >= 1 && Math.abs(P - u[l]) < 10)
124
+ return v(r);
127
125
  if (w > 2)
128
- return wn("Scroll target is not reachable"), v(i[l]);
126
+ return wn("Scroll target is not reachable"), v(u[l]);
129
127
  requestAnimationFrame(h);
130
128
  }));
131
129
  }
@@ -140,18 +138,18 @@ function aa() {
140
138
  // can be set via VLocaleProvider
141
139
  rtl: E(() => a.rtl.value || t.value)
142
140
  };
143
- async function l(o, c) {
144
- return vl(o, Ut(e, c), !1, n);
141
+ async function l(i, c) {
142
+ return vl(i, Ut(e, c), !1, n);
145
143
  }
146
- return l.horizontal = async (o, c) => vl(o, Ut(e, c), !0, n), l;
144
+ return l.horizontal = async (i, c) => vl(i, Ut(e, c), !0, n), l;
147
145
  }
148
146
  function oa(e, a, t, n) {
149
147
  const {
150
148
  scrollWidth: l,
151
- scrollHeight: o
152
- } = e, [c, u] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight];
153
- let i, d;
154
- return n ? t ? (i = -(l - c), d = 0) : (i = 0, d = l - c) : (i = 0, d = o + -u), Le(a, i, d);
149
+ scrollHeight: i
150
+ } = e, [c, o] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight];
151
+ let u, d;
152
+ return n ? t ? (u = -(l - c), d = 0) : (u = 0, d = l - c) : (u = 0, d = i + -o), Le(a, u, d);
155
153
  }
156
154
  function ia(e) {
157
155
  let {
@@ -160,8 +158,8 @@ function ia(e) {
160
158
  isRtl: n,
161
159
  isHorizontal: l
162
160
  } = e;
163
- const o = ft(l, t), c = ql(l, n, t), u = ft(l, a), i = Jl(l, a), d = u * 0.4;
164
- return c > i ? i - d : c + o < i + u ? i - o + u + d : c;
161
+ const i = ft(l, t), c = ql(l, n, t), o = ft(l, a), u = Jl(l, a), d = o * 0.4;
162
+ return c > u ? u - d : c + i < u + o ? u - i + o + d : c;
165
163
  }
166
164
  function ua(e) {
167
165
  let {
@@ -169,8 +167,8 @@ function ua(e) {
169
167
  containerElement: t,
170
168
  isHorizontal: n
171
169
  } = e;
172
- const l = ft(n, t), o = Jl(n, a), c = ft(n, a);
173
- return o - l / 2 + c / 2;
170
+ const l = ft(n, t), i = Jl(n, a), c = ft(n, a);
171
+ return i - l / 2 + c / 2;
174
172
  }
175
173
  function fl(e, a) {
176
174
  return a?.[e ? "scrollWidth" : "scrollHeight"] || 0;
@@ -184,9 +182,9 @@ function ql(e, a, t) {
184
182
  const {
185
183
  scrollLeft: n,
186
184
  offsetWidth: l,
187
- scrollWidth: o
185
+ scrollWidth: i
188
186
  } = t;
189
- return e ? a ? o - l + n : n : t.scrollTop;
187
+ return e ? a ? i - l + n : n : t.scrollTop;
190
188
  }
191
189
  function ft(e, a) {
192
190
  return a?.[e ? "offsetWidth" : "offsetHeight"] || 0;
@@ -243,8 +241,8 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
243
241
  isRtl: n
244
242
  } = At(), {
245
243
  displayClasses: l,
246
- mobile: o
247
- } = Vl(e), c = xl(e, e.symbol), u = Z(!1), i = Z(0), d = Z(0), s = Z(0), r = x(() => e.direction === "horizontal"), {
244
+ mobile: i
245
+ } = Vl(e), c = xl(e, e.symbol), o = Z(!1), u = Z(0), d = Z(0), r = Z(0), s = x(() => e.direction === "horizontal"), {
248
246
  resizeRef: m,
249
247
  contentRect: v
250
248
  } = It(), {
@@ -257,11 +255,11 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
257
255
  })), P = x(() => c.selected.value.length ? c.items.value.findIndex((p) => p.id === c.selected.value[0]) : -1), k = x(() => c.selected.value.length ? c.items.value.findIndex((p) => p.id === c.selected.value[c.selected.value.length - 1]) : -1);
258
256
  if (ct) {
259
257
  let p = -1;
260
- ue(() => [c.selected.value, v.value, y.value, r.value], () => {
258
+ ue(() => [c.selected.value, v.value, y.value, s.value], () => {
261
259
  cancelAnimationFrame(p), p = requestAnimationFrame(() => {
262
260
  if (v.value && y.value) {
263
- const f = r.value ? "width" : "height";
264
- d.value = v.value[f], s.value = y.value[f], u.value = d.value + 1 < s.value;
261
+ const f = s.value ? "width" : "height";
262
+ d.value = v.value[f], r.value = y.value[f], o.value = d.value + 1 < r.value;
265
263
  }
266
264
  if (e.scrollToActive && P.value >= 0 && h.el) {
267
265
  const f = h.el.children[k.value];
@@ -275,28 +273,28 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
275
273
  let _ = 0;
276
274
  f ? _ = ua({
277
275
  containerElement: m.el,
278
- isHorizontal: r.value,
276
+ isHorizontal: s.value,
279
277
  selectedElement: p
280
278
  }) : _ = ia({
281
279
  containerElement: m.el,
282
- isHorizontal: r.value,
280
+ isHorizontal: s.value,
283
281
  isRtl: n.value,
284
282
  selectedElement: p
285
283
  }), j(_);
286
284
  }
287
285
  function j(p) {
288
286
  if (!ct || !m.el) return;
289
- const f = ft(r.value, m.el), _ = ql(r.value, n.value, m.el);
290
- if (!(fl(r.value, m.el) <= f || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
287
+ const f = ft(s.value, m.el), _ = ql(s.value, n.value, m.el);
288
+ if (!(fl(s.value, m.el) <= f || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
291
289
  Math.abs(p - _) < 16)) {
292
- if (r.value && n.value && m.el) {
290
+ if (s.value && n.value && m.el) {
293
291
  const {
294
292
  scrollWidth: de,
295
293
  offsetWidth: me
296
294
  } = m.el;
297
295
  p = de - me - p;
298
296
  }
299
- r.value ? V.horizontal(p, w.value) : V(p, w.value);
297
+ s.value ? V.horizontal(p, w.value) : V(p, w.value);
300
298
  }
301
299
  }
302
300
  function I(p) {
@@ -304,10 +302,10 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
304
302
  scrollTop: f,
305
303
  scrollLeft: _
306
304
  } = p.target;
307
- i.value = r.value ? _ : f;
305
+ u.value = s.value ? _ : f;
308
306
  }
309
307
  function S(p) {
310
- if (F.value = !0, !(!u.value || !h.el)) {
308
+ if (F.value = !0, !(!o.value || !h.el)) {
311
309
  for (const f of p.composedPath())
312
310
  for (const _ of h.el.children)
313
311
  if (_ === f) {
@@ -331,7 +329,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
331
329
  function f(_) {
332
330
  p.preventDefault(), W(_);
333
331
  }
334
- r.value ? p.key === "ArrowRight" ? f(n.value ? "prev" : "next") : p.key === "ArrowLeft" && f(n.value ? "next" : "prev") : p.key === "ArrowDown" ? f("next") : p.key === "ArrowUp" && f("prev"), p.key === "Home" ? f("first") : p.key === "End" && f("last");
332
+ s.value ? p.key === "ArrowRight" ? f(n.value ? "prev" : "next") : p.key === "ArrowLeft" && f(n.value ? "next" : "prev") : p.key === "ArrowDown" ? f("next") : p.key === "ArrowUp" && f("prev"), p.key === "Home" ? f("first") : p.key === "End" && f("last");
335
333
  }
336
334
  function J(p, f) {
337
335
  if (!p) return;
@@ -356,9 +354,9 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
356
354
  });
357
355
  }
358
356
  function ie(p) {
359
- const f = r.value && n.value ? -1 : 1, _ = (p === "prev" ? -f : f) * d.value;
360
- let Y = i.value + _;
361
- if (r.value && n.value && m.el) {
357
+ const f = s.value && n.value ? -1 : 1, _ = (p === "prev" ? -f : f) * d.value;
358
+ let Y = u.value + _;
359
+ if (s.value && n.value && m.el) {
362
360
  const {
363
361
  scrollWidth: de,
364
362
  offsetWidth: me
@@ -372,7 +370,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
372
370
  prev: c.prev,
373
371
  select: c.select,
374
372
  isSelected: c.isSelected
375
- })), U = x(() => u.value || Math.abs(i.value) > 0), ve = x(() => {
373
+ })), U = x(() => o.value || Math.abs(u.value) > 0), ve = x(() => {
376
374
  switch (e.showArrows) {
377
375
  case "never":
378
376
  return !1;
@@ -381,30 +379,30 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
381
379
  return !0;
382
380
  // Always show arrows on desktop
383
381
  case "desktop":
384
- return !o.value;
382
+ return !i.value;
385
383
  // Show arrows on mobile when overflowing.
386
384
  // This matches the default 2.2 behavior
387
385
  case !0:
388
386
  return U.value;
389
387
  // Always show on mobile
390
388
  case "mobile":
391
- return o.value || U.value;
389
+ return i.value || U.value;
392
390
  // https://material.io/components/tabs#scrollable-tabs
393
391
  // Always show arrows when
394
392
  // overflowed on desktop
395
393
  default:
396
- return !o.value && U.value;
394
+ return !i.value && U.value;
397
395
  }
398
- }), T = x(() => Math.abs(i.value) > 1), $ = x(() => {
396
+ }), T = x(() => Math.abs(u.value) > 1), $ = x(() => {
399
397
  if (!m.value || !U.value) return !1;
400
- const p = fl(r.value, m.el), f = sa(r.value, m.el);
401
- return p - f - Math.abs(i.value) > 1;
398
+ const p = fl(s.value, m.el), f = sa(s.value, m.el);
399
+ return p - f - Math.abs(u.value) > 1;
402
400
  });
403
401
  return ce(() => g(e.tag, {
404
402
  class: se(["v-slide-group", {
405
- "v-slide-group--vertical": !r.value,
403
+ "v-slide-group--vertical": !s.value,
406
404
  "v-slide-group--has-affixes": ve.value,
407
- "v-slide-group--is-overflowing": u.value
405
+ "v-slide-group--is-overflowing": o.value
408
406
  }, l.value, e.class]),
409
407
  style: Ie(e.style),
410
408
  tabindex: F.value || c.selected.value.length ? -1 : 0,
@@ -447,7 +445,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
447
445
  })), {
448
446
  selected: c.selected,
449
447
  scrollTo: ie,
450
- scrollOffset: i,
448
+ scrollOffset: u,
451
449
  focus: W,
452
450
  hasPrev: T,
453
451
  hasNext: $
@@ -487,10 +485,10 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
487
485
  themeClasses: n
488
486
  } = ot(e), {
489
487
  isSelected: l,
490
- select: o,
488
+ select: i,
491
489
  next: c,
492
- prev: u,
493
- selected: i
490
+ prev: o,
491
+ selected: u
494
492
  } = xl(e, Ql);
495
493
  return qt({
496
494
  VChip: {
@@ -510,10 +508,10 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
510
508
  }), {
511
509
  default: () => [t.default?.({
512
510
  isSelected: l,
513
- select: o,
511
+ select: i,
514
512
  next: c,
515
- prev: u,
516
- selected: i.value
513
+ prev: o,
514
+ selected: u.value
517
515
  })]
518
516
  });
519
517
  }), {};
@@ -594,21 +592,21 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
594
592
  slots: l
595
593
  } = a;
596
594
  const {
597
- t: o
595
+ t: i
598
596
  } = it(), {
599
597
  borderClasses: c
600
598
  } = Xt(e), {
601
- densityClasses: u
599
+ densityClasses: o
602
600
  } = Ft(e), {
603
- elevationClasses: i
601
+ elevationClasses: u
604
602
  } = Yt(e), {
605
603
  roundedClasses: d
606
604
  } = gt(e), {
607
- sizeClasses: s
605
+ sizeClasses: r
608
606
  } = Fn(e), {
609
- themeClasses: r
607
+ themeClasses: s
610
608
  } = ot(e), m = xe(e, "modelValue"), v = rl(e, Ql, !1), h = rl(e, Xl, !1), y = Pl(e, t), V = E(() => e.link !== !1 && y.isLink.value), w = x(() => !e.disabled && e.link !== !1 && (!!v || e.link || y.isClickable.value)), P = E(() => ({
611
- "aria-label": o(e.closeLabel),
609
+ "aria-label": i(e.closeLabel),
612
610
  disabled: e.disabled,
613
611
  onClick(S) {
614
612
  S.preventDefault(), S.stopPropagation(), m.value = !1, n("click:close", S);
@@ -641,7 +639,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
641
639
  "v-chip--filter": te,
642
640
  "v-chip--pill": e.pill,
643
641
  [`${e.activeClass}`]: e.activeClass && y.isActive?.value
644
- }, r.value, c.value, k.value, u.value, i.value, d.value, s.value, O.value, v?.selectedClass.value, e.class],
642
+ }, s.value, c.value, k.value, o.value, u.value, d.value, r.value, O.value, v?.selectedClass.value, e.class],
645
643
  style: [F.value, e.style],
646
644
  disabled: e.disabled || void 0,
647
645
  draggable: e.draggable,
@@ -767,23 +765,23 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
767
765
  themeClasses: n
768
766
  } = ot(e), {
769
767
  backgroundColorClasses: l,
770
- backgroundColorStyles: o
768
+ backgroundColorStyles: i
771
769
  } = Dt(() => e.color), {
772
770
  borderClasses: c
773
771
  } = Xt(e), {
774
- dimensionStyles: u
772
+ dimensionStyles: o
775
773
  } = bt(e), {
776
- elevationClasses: i
774
+ elevationClasses: u
777
775
  } = Yt(e), {
778
776
  locationStyles: d
779
777
  } = el(e), {
780
- positionClasses: s
778
+ positionClasses: r
781
779
  } = Tl(e), {
782
- roundedClasses: r
780
+ roundedClasses: s
783
781
  } = gt(e);
784
782
  return ce(() => g(e.tag, {
785
- class: se(["v-sheet", n.value, l.value, c.value, i.value, s.value, r.value, e.class]),
786
- style: Ie([o.value, u.value, d.value, e.style])
783
+ class: se(["v-sheet", n.value, l.value, c.value, u.value, r.value, s.value, e.class]),
784
+ style: Ie([i.value, o.value, d.value, e.style])
787
785
  }, t)), {};
788
786
  }
789
787
  }), fa = {
@@ -794,31 +792,31 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
794
792
  },
795
793
  emits: /* @__PURE__ */ Wt("save", ["update:modelValue"]),
796
794
  setup(e, { emit: a }) {
797
- const { advancedFiltersState: t } = Rt(), n = Pe("table_props"), l = _t(e, "modelValue"), o = (i, d) => {
798
- const s = n.headers.find((h) => (h.advancedFilter?.key ?? h.key) === d), r = i.comparison === "=" ? ":" : " " + i.comparison, m = Array.isArray(i.value) ? i.value : [i.value], v = m.filter((h, y) => !(s.advancedFilter?.component === "datepicker" && y !== 0 && y !== m.length - 1)).map((h) => {
799
- const y = s.advancedFilter?.options?.items ?? [];
795
+ const { advancedFiltersState: t } = Rt(), n = Pe("table_props"), l = _t(e, "modelValue"), i = (u, d) => {
796
+ const r = n.headers.find((h) => (h.advancedFilter?.key ?? h.key) === d), s = u.comparison === "=" ? ":" : " " + u.comparison, m = Array.isArray(u.value) ? u.value : [u.value], v = m.filter((h, y) => !(r.advancedFilter?.component === "datepicker" && y !== 0 && y !== m.length - 1)).map((h) => {
797
+ const y = r.advancedFilter?.options?.items ?? [];
800
798
  let V = h, w;
801
- return y.length && (w = y.find((P) => P.value === h), w && (V = w.title)), typeof s.advancedFilter?.valueFormatter == "function" && (V = s.advancedFilter.valueFormatter({
799
+ return y.length && (w = y.find((P) => P.value === h), w && (V = w.title)), typeof r.advancedFilter?.valueFormatter == "function" && (V = r.advancedFilter.valueFormatter({
802
800
  item: w,
803
801
  value: h
804
802
  })), V;
805
803
  });
806
- return `${s.title}${r} ${v.join(", ")}`;
807
- }, c = (i) => {
808
- l.value[i] = { comparison: "=", value: null }, u("save");
809
- }, u = a;
810
- return (i, d) => (ae(), ke(ol, null, {
804
+ return `${r.title}${s} ${v.join(", ")}`;
805
+ }, c = (u) => {
806
+ l.value[u] = { comparison: "=", value: null }, o("save");
807
+ }, o = a;
808
+ return (u, d) => (ae(), ke(ol, null, {
811
809
  default: Ve(() => [
812
810
  g(ca, null, {
813
811
  default: Ve(() => [
814
- (ae(!0), je(re, null, Gt(L(t), (s, r) => (ae(), ke(mt, {
815
- key: r,
812
+ (ae(!0), je(re, null, Gt(L(t), (r, s) => (ae(), ke(mt, {
813
+ key: s,
816
814
  class: "my-0",
817
- text: o(s, r),
815
+ text: i(r, s),
818
816
  closable: "",
819
- value: s,
817
+ value: r,
820
818
  density: "comfortable",
821
- "onClick:close": (m) => c(r)
819
+ "onClick:close": (m) => c(s)
822
820
  }, null, 8, ["text", "value", "onClick:close"]))), 128))
823
821
  ]),
824
822
  _: 1
@@ -896,15 +894,15 @@ oe()({
896
894
  let {
897
895
  slots: t
898
896
  } = a;
899
- const n = xe(e, "modelValue"), l = Xe(), o = E(() => e.id || `v-selection-control-group-${l}`), c = E(() => e.name || o.value), u = /* @__PURE__ */ new Set();
897
+ const n = xe(e, "modelValue"), l = Xe(), i = E(() => e.id || `v-selection-control-group-${l}`), c = E(() => e.name || i.value), o = /* @__PURE__ */ new Set();
900
898
  return We(en, {
901
899
  modelValue: n,
902
900
  forceUpdate: () => {
903
- u.forEach((i) => i());
901
+ o.forEach((u) => u());
904
902
  },
905
- onForceUpdate: (i) => {
906
- u.add(i), rt(() => {
907
- u.delete(i);
903
+ onForceUpdate: (u) => {
904
+ o.add(u), rt(() => {
905
+ o.delete(u);
908
906
  });
909
907
  }
910
908
  }), qt({
@@ -945,37 +943,37 @@ const ln = Q({
945
943
  function ya(e) {
946
944
  const a = Pe(en, void 0), {
947
945
  densityClasses: t
948
- } = Ft(e), n = xe(e, "modelValue"), l = x(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), o = x(() => e.falseValue !== void 0 ? e.falseValue : !1), c = x(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), u = x({
946
+ } = Ft(e), n = xe(e, "modelValue"), l = x(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), i = x(() => e.falseValue !== void 0 ? e.falseValue : !1), c = x(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), o = x({
949
947
  get() {
950
948
  const v = a ? a.modelValue.value : n.value;
951
949
  return c.value ? Ee(v).some((h) => e.valueComparator(h, l.value)) : e.valueComparator(v, l.value);
952
950
  },
953
951
  set(v) {
954
952
  if (e.readonly) return;
955
- const h = v ? l.value : o.value;
953
+ const h = v ? l.value : i.value;
956
954
  let y = h;
957
955
  c.value && (y = v ? [...Ee(n.value), h] : Ee(n.value).filter((V) => !e.valueComparator(V, l.value))), a ? a.modelValue.value = y : n.value = y;
958
956
  }
959
957
  }), {
960
- textColorClasses: i,
958
+ textColorClasses: u,
961
959
  textColorStyles: d
962
960
  } = kt(() => {
963
961
  if (!(e.error || e.disabled))
964
- return u.value ? e.color : e.baseColor;
962
+ return o.value ? e.color : e.baseColor;
965
963
  }), {
966
- backgroundColorClasses: s,
967
- backgroundColorStyles: r
968
- } = Dt(() => u.value && !e.error && !e.disabled ? e.color : e.baseColor), m = x(() => u.value ? e.trueIcon : e.falseIcon);
964
+ backgroundColorClasses: r,
965
+ backgroundColorStyles: s
966
+ } = Dt(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor), m = x(() => o.value ? e.trueIcon : e.falseIcon);
969
967
  return {
970
968
  group: a,
971
969
  densityClasses: t,
972
970
  trueValue: l,
973
- falseValue: o,
974
- model: u,
975
- textColorClasses: i,
971
+ falseValue: i,
972
+ model: o,
973
+ textColorClasses: u,
976
974
  textColorStyles: d,
977
- backgroundColorClasses: s,
978
- backgroundColorStyles: r,
975
+ backgroundColorClasses: r,
976
+ backgroundColorStyles: s,
979
977
  icon: m
980
978
  };
981
979
  }
@@ -996,17 +994,17 @@ const gl = oe()({
996
994
  } = a;
997
995
  const {
998
996
  group: l,
999
- densityClasses: o,
997
+ densityClasses: i,
1000
998
  icon: c,
1001
- model: u,
1002
- textColorClasses: i,
999
+ model: o,
1000
+ textColorClasses: u,
1003
1001
  textColorStyles: d,
1004
- backgroundColorClasses: s,
1005
- backgroundColorStyles: r,
1002
+ backgroundColorClasses: r,
1003
+ backgroundColorStyles: s,
1006
1004
  trueValue: m
1007
1005
  } = ya(e), v = Xe(), h = Z(!1), y = Z(!1), V = K(), w = E(() => e.id || `input-${v}`), P = E(() => !e.disabled && !e.readonly);
1008
1006
  l?.onForceUpdate(() => {
1009
- V.value && (V.value.checked = u.value);
1007
+ V.value && (V.value.checked = o.value);
1010
1008
  });
1011
1009
  function k(I) {
1012
1010
  P.value && (h.value = !0, dt(I.target, ":focus-visible") !== !1 && (y.value = !0));
@@ -1019,10 +1017,10 @@ const gl = oe()({
1019
1017
  }
1020
1018
  function j(I) {
1021
1019
  if (!P.value) {
1022
- V.value && (V.value.checked = u.value);
1020
+ V.value && (V.value.checked = o.value);
1023
1021
  return;
1024
1022
  }
1025
- e.readonly && l && Ce(() => l.forceUpdate()), u.value = I.target.checked;
1023
+ e.readonly && l && Ce(() => l.forceUpdate()), o.value = I.target.checked;
1026
1024
  }
1027
1025
  return ce(() => {
1028
1026
  const I = n.label ? n.label({
@@ -1032,7 +1030,7 @@ const gl = oe()({
1032
1030
  }
1033
1031
  }) : e.label, [S, M] = Rl(t), D = b("input", N({
1034
1032
  ref: V,
1035
- checked: u.value,
1033
+ checked: o.value,
1036
1034
  disabled: !!e.disabled,
1037
1035
  id: w.value,
1038
1036
  onBlur: F,
@@ -1043,33 +1041,33 @@ const gl = oe()({
1043
1041
  type: e.type,
1044
1042
  value: m.value,
1045
1043
  name: e.name,
1046
- "aria-checked": e.type === "checkbox" ? u.value : void 0
1044
+ "aria-checked": e.type === "checkbox" ? o.value : void 0
1047
1045
  }, M), null);
1048
1046
  return b("div", N({
1049
1047
  class: ["v-selection-control", {
1050
- "v-selection-control--dirty": u.value,
1048
+ "v-selection-control--dirty": o.value,
1051
1049
  "v-selection-control--disabled": e.disabled,
1052
1050
  "v-selection-control--error": e.error,
1053
1051
  "v-selection-control--focused": h.value,
1054
1052
  "v-selection-control--focus-visible": y.value,
1055
1053
  "v-selection-control--inline": e.inline
1056
- }, o.value, e.class]
1054
+ }, i.value, e.class]
1057
1055
  }, S, {
1058
1056
  style: e.style
1059
1057
  }), [b("div", {
1060
- class: se(["v-selection-control__wrapper", i.value]),
1058
+ class: se(["v-selection-control__wrapper", u.value]),
1061
1059
  style: Ie(d.value)
1062
1060
  }, [n.default?.({
1063
- backgroundColorClasses: s,
1064
- backgroundColorStyles: r
1061
+ backgroundColorClasses: r,
1062
+ backgroundColorStyles: s
1065
1063
  }), Ke(b("div", {
1066
1064
  class: se(["v-selection-control__input"])
1067
1065
  }, [n.input?.({
1068
- model: u,
1069
- textColorClasses: i,
1066
+ model: o,
1067
+ textColorClasses: u,
1070
1068
  textColorStyles: d,
1071
- backgroundColorClasses: s,
1072
- backgroundColorStyles: r,
1069
+ backgroundColorClasses: r,
1070
+ backgroundColorStyles: s,
1073
1071
  inputNode: D,
1074
1072
  icon: c.value,
1075
1073
  props: {
@@ -1116,20 +1114,20 @@ const gl = oe()({
1116
1114
  slots: t
1117
1115
  } = a;
1118
1116
  const n = xe(e, "indeterminate"), l = xe(e, "modelValue");
1119
- function o(i) {
1117
+ function i(u) {
1120
1118
  n.value && (n.value = !1);
1121
1119
  }
1122
- const c = E(() => n.value ? e.indeterminateIcon : e.falseIcon), u = E(() => n.value ? e.indeterminateIcon : e.trueIcon);
1120
+ const c = E(() => n.value ? e.indeterminateIcon : e.falseIcon), o = E(() => n.value ? e.indeterminateIcon : e.trueIcon);
1123
1121
  return ce(() => {
1124
- const i = Ye(gl.filterProps(e), ["modelValue"]);
1125
- return g(gl, N(i, {
1122
+ const u = Ye(gl.filterProps(e), ["modelValue"]);
1123
+ return g(gl, N(u, {
1126
1124
  modelValue: l.value,
1127
- "onUpdate:modelValue": [(d) => l.value = d, o],
1125
+ "onUpdate:modelValue": [(d) => l.value = d, i],
1128
1126
  class: ["v-checkbox-btn", e.class],
1129
1127
  style: e.style,
1130
1128
  type: "checkbox",
1131
1129
  falseIcon: c.value,
1132
- trueIcon: u.value,
1130
+ trueIcon: o.value,
1133
1131
  "aria-checked": n.value ? "mixed" : void 0
1134
1132
  }), t);
1135
1133
  }), {};
@@ -1142,26 +1140,26 @@ function Et(e) {
1142
1140
  function t(n) {
1143
1141
  let {
1144
1142
  name: l,
1145
- color: o,
1143
+ color: i,
1146
1144
  ...c
1147
1145
  } = n;
1148
- const u = {
1146
+ const o = {
1149
1147
  prepend: "prependAction",
1150
1148
  prependInner: "prependAction",
1151
1149
  append: "appendAction",
1152
1150
  appendInner: "appendAction",
1153
1151
  clear: "clear"
1154
- }[l], i = e[`onClick:${l}`];
1155
- function d(r) {
1156
- r.key !== "Enter" && r.key !== " " || (r.preventDefault(), r.stopPropagation(), El(i, new PointerEvent("click", r)));
1152
+ }[l], u = e[`onClick:${l}`];
1153
+ function d(s) {
1154
+ s.key !== "Enter" && s.key !== " " || (s.preventDefault(), s.stopPropagation(), El(u, new PointerEvent("click", s)));
1157
1155
  }
1158
- const s = i && u ? a(`$vuetify.input.${u}`, e.label ?? "") : void 0;
1156
+ const r = u && o ? a(`$vuetify.input.${o}`, e.label ?? "") : void 0;
1159
1157
  return g(Se, N({
1160
1158
  icon: e[`${l}Icon`],
1161
- "aria-label": s,
1162
- onClick: i,
1159
+ "aria-label": r,
1160
+ onClick: u,
1163
1161
  onKeydown: d,
1164
- color: o
1162
+ color: i
1165
1163
  }, c), null);
1166
1164
  }
1167
1165
  return {
@@ -1192,17 +1190,17 @@ const ba = Q({
1192
1190
  } = a;
1193
1191
  const n = x(() => Ee(e.messages)), {
1194
1192
  textColorClasses: l,
1195
- textColorStyles: o
1193
+ textColorStyles: i
1196
1194
  } = kt(() => e.color);
1197
1195
  return ce(() => g(ll, {
1198
1196
  transition: e.transition,
1199
1197
  tag: "div",
1200
1198
  class: se(["v-messages", l.value, e.class]),
1201
- style: Ie([o.value, e.style])
1199
+ style: Ie([i.value, e.style])
1202
1200
  }, {
1203
- default: () => [e.active && n.value.map((c, u) => b("div", {
1201
+ default: () => [e.active && n.value.map((c, o) => b("div", {
1204
1202
  class: "v-messages__message",
1205
- key: `${u}-${n.value}`
1203
+ key: `${o}-${n.value}`
1206
1204
  }, [t.message ? t.message({
1207
1205
  message: c
1208
1206
  }) : c]))]
@@ -1220,14 +1218,14 @@ function on(e) {
1220
1218
  function l() {
1221
1219
  t.value = !0;
1222
1220
  }
1223
- function o() {
1221
+ function i() {
1224
1222
  t.value = !1;
1225
1223
  }
1226
1224
  return {
1227
1225
  focusClasses: n,
1228
1226
  isFocused: t,
1229
1227
  focus: l,
1230
- blur: o
1228
+ blur: i
1231
1229
  };
1232
1230
  }
1233
1231
  const ka = /* @__PURE__ */ Symbol.for("vuetify:form");
@@ -1280,8 +1278,8 @@ const Va = Q({
1280
1278
  }, "validation");
1281
1279
  function xa(e) {
1282
1280
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $l(), t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xe();
1283
- const n = xe(e, "modelValue"), l = x(() => e.validationValue === void 0 ? n.value : e.validationValue), o = Ot(e), c = Ca(() => e.rules), u = K([]), i = Z(!0), d = x(() => !!(Ee(n.value === "" ? null : n.value).length || Ee(l.value === "" ? null : l.value).length)), s = x(() => e.errorMessages?.length ? Ee(e.errorMessages).concat(u.value).slice(0, Math.max(0, Number(e.maxErrors))) : u.value), r = x(() => {
1284
- let F = (e.validateOn ?? o.validateOn?.value) || "input";
1281
+ const n = xe(e, "modelValue"), l = x(() => e.validationValue === void 0 ? n.value : e.validationValue), i = Ot(e), c = Ca(() => e.rules), o = K([]), u = Z(!0), d = x(() => !!(Ee(n.value === "" ? null : n.value).length || Ee(l.value === "" ? null : l.value).length)), r = x(() => e.errorMessages?.length ? Ee(e.errorMessages).concat(o.value).slice(0, Math.max(0, Number(e.maxErrors))) : o.value), s = x(() => {
1282
+ let F = (e.validateOn ?? i.validateOn?.value) || "input";
1285
1283
  F === "lazy" && (F = "input lazy"), F === "eager" && (F = "input eager");
1286
1284
  const O = new Set(F?.split(" ") ?? []);
1287
1285
  return {
@@ -1291,14 +1289,14 @@ function xa(e) {
1291
1289
  lazy: O.has("lazy"),
1292
1290
  eager: O.has("eager")
1293
1291
  };
1294
- }), m = x(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? i.value ? u.value.length || r.value.lazy ? null : !0 : !u.value.length : !0), v = Z(!1), h = x(() => ({
1292
+ }), m = x(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? u.value ? o.value.length || s.value.lazy ? null : !0 : !o.value.length : !0), v = Z(!1), h = x(() => ({
1295
1293
  [`${a}--error`]: m.value === !1,
1296
1294
  [`${a}--dirty`]: d.value,
1297
- [`${a}--disabled`]: o.isDisabled.value,
1298
- [`${a}--readonly`]: o.isReadonly.value
1295
+ [`${a}--disabled`]: i.isDisabled.value,
1296
+ [`${a}--readonly`]: i.isReadonly.value
1299
1297
  })), y = Ml("validation"), V = x(() => e.name ?? L(t));
1300
1298
  Vn(() => {
1301
- o.register?.({
1299
+ i.register?.({
1302
1300
  id: V.value,
1303
1301
  vm: y,
1304
1302
  validate: k,
@@ -1306,10 +1304,10 @@ function xa(e) {
1306
1304
  resetValidation: P
1307
1305
  });
1308
1306
  }), xn(() => {
1309
- o.unregister?.(V.value);
1307
+ i.unregister?.(V.value);
1310
1308
  }), at(async () => {
1311
- r.value.lazy || await k(!r.value.eager), o.update?.(V.value, m.value, s.value);
1312
- }), Kt(() => r.value.input || r.value.invalidInput && m.value === !1, () => {
1309
+ s.value.lazy || await k(!s.value.eager), i.update?.(V.value, m.value, r.value);
1310
+ }), Kt(() => s.value.input || s.value.invalidInput && m.value === !1, () => {
1313
1311
  ue(l, () => {
1314
1312
  if (l.value != null)
1315
1313
  k();
@@ -1319,18 +1317,18 @@ function xa(e) {
1319
1317
  });
1320
1318
  }
1321
1319
  });
1322
- }), Kt(() => r.value.blur, () => {
1320
+ }), Kt(() => s.value.blur, () => {
1323
1321
  ue(() => e.focused, (F) => {
1324
1322
  F || k();
1325
1323
  });
1326
- }), ue([m, s], () => {
1327
- o.update?.(V.value, m.value, s.value);
1324
+ }), ue([m, r], () => {
1325
+ i.update?.(V.value, m.value, r.value);
1328
1326
  });
1329
1327
  async function w() {
1330
1328
  n.value = null, await Ce(), await P();
1331
1329
  }
1332
1330
  async function P() {
1333
- i.value = !0, r.value.lazy ? u.value = [] : await k(!r.value.eager);
1331
+ u.value = !0, s.value.lazy ? o.value = [] : await k(!s.value.eager);
1334
1332
  }
1335
1333
  async function k() {
1336
1334
  let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
@@ -1348,14 +1346,14 @@ function xa(e) {
1348
1346
  O.push(S || "");
1349
1347
  }
1350
1348
  }
1351
- return u.value = O, v.value = !1, i.value = F, u.value;
1349
+ return o.value = O, v.value = !1, u.value = F, o.value;
1352
1350
  }
1353
1351
  return {
1354
- errorMessages: s,
1352
+ errorMessages: r,
1355
1353
  isDirty: d,
1356
- isDisabled: o.isDisabled,
1357
- isReadonly: o.isReadonly,
1358
- isPristine: i,
1354
+ isDisabled: i.isDisabled,
1355
+ isReadonly: i.isReadonly,
1356
+ isPristine: u,
1359
1357
  isValid: m,
1360
1358
  isValidating: v,
1361
1359
  reset: w,
@@ -1411,16 +1409,16 @@ const un = Q({
1411
1409
  emit: l
1412
1410
  } = a;
1413
1411
  const {
1414
- densityClasses: o
1412
+ densityClasses: i
1415
1413
  } = Ft(e), {
1416
1414
  dimensionStyles: c
1417
1415
  } = bt(e), {
1418
- themeClasses: u
1416
+ themeClasses: o
1419
1417
  } = ot(e), {
1420
- rtlClasses: i
1418
+ rtlClasses: u
1421
1419
  } = At(), {
1422
1420
  InputIcon: d
1423
- } = Et(e), s = Xe(), r = x(() => e.id || `input-${s}`), {
1421
+ } = Et(e), r = Xe(), s = x(() => e.id || `input-${r}`), {
1424
1422
  errorMessages: m,
1425
1423
  isDirty: v,
1426
1424
  isDisabled: h,
@@ -1432,8 +1430,8 @@ const un = Q({
1432
1430
  resetValidation: F,
1433
1431
  validate: O,
1434
1432
  validationClasses: j
1435
- } = xa(e, "v-input", r), I = x(() => e.errorMessages?.length || !V.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), S = E(() => I.value.length > 0), M = E(() => !e.hideDetails || e.hideDetails === "auto" && (S.value || !!n.details)), D = x(() => M.value ? `${r.value}-messages` : void 0), q = x(() => ({
1436
- id: r,
1433
+ } = xa(e, "v-input", s), I = x(() => e.errorMessages?.length || !V.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), S = E(() => I.value.length > 0), M = E(() => !e.hideDetails || e.hideDetails === "auto" && (S.value || !!n.details)), D = x(() => M.value ? `${s.value}-messages` : void 0), q = x(() => ({
1434
+ id: s,
1437
1435
  messagesId: D,
1438
1436
  isDirty: v,
1439
1437
  isDisabled: h,
@@ -1457,7 +1455,7 @@ const un = Q({
1457
1455
  "v-input--focused": e.focused,
1458
1456
  "v-input--glow": e.glow,
1459
1457
  "v-input--hide-spin-buttons": e.hideSpinButtons
1460
- }, o.value, u.value, i.value, j.value, e.class]),
1458
+ }, i.value, o.value, u.value, j.value, e.class]),
1461
1459
  style: Ie([c.value, e.style])
1462
1460
  }, [J && b("div", {
1463
1461
  key: "prepend",
@@ -1611,22 +1609,22 @@ const un = Q({
1611
1609
  slots: l
1612
1610
  } = a;
1613
1611
  const {
1614
- themeClasses: o
1612
+ themeClasses: i
1615
1613
  } = ot(e), {
1616
1614
  loaderClasses: c
1617
1615
  } = Nl(e), {
1618
- focusClasses: u,
1619
- isFocused: i,
1616
+ focusClasses: o,
1617
+ isFocused: u,
1620
1618
  focus: d,
1621
- blur: s
1619
+ blur: r
1622
1620
  } = on(e), {
1623
- InputIcon: r
1621
+ InputIcon: s
1624
1622
  } = Et(e), {
1625
1623
  roundedClasses: m
1626
1624
  } = gt(e), {
1627
1625
  rtlClasses: v
1628
- } = At(), h = E(() => e.dirty || e.active), y = E(() => !!(e.label || l.label)), V = E(() => !e.singleLine && y.value), w = Xe(), P = x(() => e.id || `input-${w}`), k = E(() => e.details ? `${P.value}-messages` : void 0), F = K(), O = K(), j = K(), I = x(() => ["plain", "underlined"].includes(e.variant)), S = x(() => e.error || e.disabled ? void 0 : h.value && i.value ? e.color : e.baseColor), M = x(() => {
1629
- if (!(!e.iconColor || e.glow && !i.value))
1626
+ } = At(), h = E(() => e.dirty || e.active), y = E(() => !!(e.label || l.label)), V = E(() => !e.singleLine && y.value), w = Xe(), P = x(() => e.id || `input-${w}`), k = E(() => e.details ? `${P.value}-messages` : void 0), F = K(), O = K(), j = K(), I = x(() => ["plain", "underlined"].includes(e.variant)), S = x(() => e.error || e.disabled ? void 0 : h.value && u.value ? e.color : e.baseColor), M = x(() => {
1627
+ if (!(!e.iconColor || e.glow && !u.value))
1630
1628
  return e.iconColor === !0 ? S.value : e.iconColor;
1631
1629
  }), {
1632
1630
  backgroundColorClasses: D,
@@ -1660,10 +1658,10 @@ const un = Q({
1660
1658
  });
1661
1659
  const J = x(() => ({
1662
1660
  isActive: h,
1663
- isFocused: i,
1661
+ isFocused: u,
1664
1662
  controlRef: j,
1665
1663
  iconColor: M,
1666
- blur: s,
1664
+ blur: r,
1667
1665
  focus: d
1668
1666
  })), W = E(() => {
1669
1667
  const U = !h.value;
@@ -1706,7 +1704,7 @@ const un = Q({
1706
1704
  "v-field--single-line": e.singleLine,
1707
1705
  "v-field--no-label": !p(),
1708
1706
  [`v-field--variant-${e.variant}`]: !0
1709
- }, o.value, D.value, u.value, c.value, m.value, v.value, e.class],
1707
+ }, i.value, D.value, o.value, c.value, m.value, v.value, e.class],
1710
1708
  style: [q.value, e.style],
1711
1709
  onClick: X
1712
1710
  }, t), [b("div", {
@@ -1720,7 +1718,7 @@ const un = Q({
1720
1718
  }), ve && b("div", {
1721
1719
  key: "prepend",
1722
1720
  class: "v-field__prepend-inner"
1723
- }, [l["prepend-inner"] ? l["prepend-inner"](J.value) : e.prependInnerIcon && g(r, {
1721
+ }, [l["prepend-inner"] ? l["prepend-inner"](J.value) : e.prependInnerIcon && g(s, {
1724
1722
  key: "prepend-icon",
1725
1723
  name: "prependInner",
1726
1724
  color: M.value
@@ -1750,7 +1748,7 @@ const un = Q({
1750
1748
  "aria-describedby": k.value
1751
1749
  },
1752
1750
  focus: d,
1753
- blur: s
1751
+ blur: r
1754
1752
  }) ?? b("div", {
1755
1753
  id: P.value,
1756
1754
  class: "v-field__input",
@@ -1774,21 +1772,21 @@ const un = Q({
1774
1772
  ...J.value,
1775
1773
  props: {
1776
1774
  onFocus: d,
1777
- onBlur: s,
1775
+ onBlur: r,
1778
1776
  onClick: e["onClick:clear"],
1779
1777
  tabindex: -1
1780
1778
  }
1781
- }) : g(r, {
1779
+ }) : g(s, {
1782
1780
  name: "clear",
1783
1781
  onFocus: d,
1784
- onBlur: s,
1782
+ onBlur: r,
1785
1783
  tabindex: -1
1786
1784
  }, null)]
1787
1785
  })]), [[Pt, e.dirty]])]
1788
1786
  }), $ && b("div", {
1789
1787
  key: "append",
1790
1788
  class: "v-field__append-inner"
1791
- }, [l["append-inner"] ? l["append-inner"](J.value) : e.appendInnerIcon && g(r, {
1789
+ }, [l["append-inner"] ? l["append-inner"](J.value) : e.appendInnerIcon && g(s, {
1792
1790
  key: "append-icon",
1793
1791
  name: "appendInner",
1794
1792
  color: M.value
@@ -1824,10 +1822,10 @@ function rn(e) {
1824
1822
  const a = Xe(), t = Z(0), n = E(() => e.autocomplete === "suppress"), l = E(() => {
1825
1823
  if (e.name)
1826
1824
  return n.value ? `${e.name}-${a}-${t.value}` : e.name;
1827
- }), o = E(() => n.value ? "off" : e.autocomplete);
1825
+ }), i = E(() => n.value ? "off" : e.autocomplete);
1828
1826
  return {
1829
1827
  isSuppressing: n,
1830
- fieldAutocomplete: o,
1828
+ fieldAutocomplete: i,
1831
1829
  fieldName: l,
1832
1830
  update: () => t.value = (/* @__PURE__ */ new Date()).getTime()
1833
1831
  };
@@ -1879,19 +1877,19 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1879
1877
  emit: n,
1880
1878
  slots: l
1881
1879
  } = a;
1882
- const o = xe(e, "modelValue", void 0, (I) => Object.is(I, -0) ? "-0" : I), {
1880
+ const i = xe(e, "modelValue", void 0, (I) => Object.is(I, -0) ? "-0" : I), {
1883
1881
  isFocused: c,
1884
- focus: u,
1885
- blur: i
1882
+ focus: o,
1883
+ blur: u
1886
1884
  } = on(e), {
1887
1885
  onIntersect: d
1888
- } = Fa(e), s = x(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : (o.value ?? "").toString().length), r = x(() => {
1886
+ } = Fa(e), r = x(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), s = x(() => {
1889
1887
  if (t.maxlength) return t.maxlength;
1890
1888
  if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
1891
1889
  return e.counter;
1892
1890
  }), m = x(() => ["plain", "underlined"].includes(e.variant)), v = K(), h = K(), y = K(), V = rn(e), w = x(() => Da.includes(e.type) || e.persistentPlaceholder || c.value || e.active);
1893
1891
  function P() {
1894
- V.isSuppressing.value && V.update(), c.value || u(), Ce(() => {
1892
+ V.isSuppressing.value && V.update(), c.value || o(), Ce(() => {
1895
1893
  y.value !== document.activeElement && y.value?.focus();
1896
1894
  });
1897
1895
  }
@@ -1909,11 +1907,11 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1909
1907
  function j(I) {
1910
1908
  const S = I.target;
1911
1909
  if (!(e.modelModifiers?.trim && ["text", "search", "password", "tel", "url"].includes(e.type))) {
1912
- o.value = S.value;
1910
+ i.value = S.value;
1913
1911
  return;
1914
1912
  }
1915
1913
  const M = S.value, D = S.selectionStart, q = S.selectionEnd;
1916
- o.value = M, Ce(() => {
1914
+ i.value = M, Ce(() => {
1917
1915
  let te = 0;
1918
1916
  M.trimStart().length === S.value.length && (te = M.length - S.value.length), D != null && (S.selectionStart = D - te), q != null && (S.selectionEnd = q - te);
1919
1917
  });
@@ -1925,8 +1923,8 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1925
1923
  } = yl.filterProps(e), H = hl.filterProps(e);
1926
1924
  return g(yl, N({
1927
1925
  ref: v,
1928
- modelValue: o.value,
1929
- "onUpdate:modelValue": (J) => o.value = J,
1926
+ modelValue: i.value,
1927
+ "onUpdate:modelValue": (J) => i.value = J,
1930
1928
  class: ["v-text-field", {
1931
1929
  "v-text-field--prefixed": e.prefix,
1932
1930
  "v-text-field--suffixed": e.suffix,
@@ -1975,7 +1973,7 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1975
1973
  } = p;
1976
1974
  const de = b("input", N({
1977
1975
  ref: (me) => y.value = Y.value = me,
1978
- value: o.value,
1976
+ value: i.value,
1979
1977
  onInput: j,
1980
1978
  autofocus: e.autofocus,
1981
1979
  readonly: U.value,
@@ -1986,8 +1984,8 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1986
1984
  size: 1,
1987
1985
  role: e.role,
1988
1986
  type: e.type,
1989
- onFocus: u,
1990
- onBlur: i,
1987
+ onFocus: o,
1988
+ onBlur: u,
1991
1989
  "aria-labelledby": `${W.value}-label`
1992
1990
  }, _, D), null);
1993
1991
  return b(re, null, [e.prefix && b("span", {
@@ -2013,8 +2011,8 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2013
2011
  },
2014
2012
  details: S ? (J) => b(re, null, [l.details?.(J), I && b(re, null, [b("span", null, null), g(wa, {
2015
2013
  active: e.persistentCounter || c.value,
2016
- value: s.value,
2017
- max: r.value,
2014
+ value: r.value,
2015
+ max: s.value,
2018
2016
  disabled: e.disabled
2019
2017
  }, l.counter)])]) : void 0
2020
2018
  });
@@ -2037,15 +2035,15 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2037
2035
  slots: l
2038
2036
  } = a;
2039
2037
  const {
2040
- resizeRef: o,
2038
+ resizeRef: i,
2041
2039
  contentRect: c
2042
2040
  } = It(void 0, "border");
2043
- ue(() => c.value?.height, (u) => {
2044
- u != null && n("update:height", u);
2041
+ ue(() => c.value?.height, (o) => {
2042
+ o != null && n("update:height", o);
2045
2043
  }), ce(() => e.renderless ? b(re, null, [l.default?.({
2046
- itemRef: o
2044
+ itemRef: i
2047
2045
  })]) : b("div", N({
2048
- ref: o,
2046
+ ref: i,
2049
2047
  class: ["v-virtual-scroll__item", e.class],
2050
2048
  style: e.style
2051
2049
  }, t), [l.default?.()]));
@@ -2066,22 +2064,22 @@ function $a(e, a) {
2066
2064
  Ht(() => {
2067
2065
  n.value = parseFloat(e.itemHeight || 0);
2068
2066
  });
2069
- const l = Z(0), o = Z(Math.ceil(
2067
+ const l = Z(0), i = Z(Math.ceil(
2070
2068
  // Assume 16px items filling the entire screen height if
2071
2069
  // not provided. This is probably incorrect but it minimises
2072
2070
  // the chance of ending up with empty space at the bottom.
2073
2071
  // The default value is set here to avoid poisoning getSize()
2074
2072
  (parseInt(e.height) || t.height.value) / (n.value || 16)
2075
- ) || 1), c = Z(0), u = Z(0), i = K(), d = K();
2076
- let s = 0;
2073
+ ) || 1), c = Z(0), o = Z(0), u = K(), d = K();
2074
+ let r = 0;
2077
2075
  const {
2078
- resizeRef: r,
2076
+ resizeRef: s,
2079
2077
  contentRect: m
2080
2078
  } = It();
2081
2079
  Ht(() => {
2082
- r.value = i.value;
2080
+ s.value = u.value;
2083
2081
  });
2084
- const v = x(() => i.value === document.documentElement ? t.height.value : m.value?.height || parseInt(e.height) || 0), h = x(() => !!(i.value && d.value && v.value && n.value));
2082
+ const v = x(() => u.value === document.documentElement ? t.height.value : m.value?.height || parseInt(e.height) || 0), h = x(() => !!(u.value && d.value && v.value && n.value));
2085
2083
  let y = Array.from({
2086
2084
  length: a.value.length
2087
2085
  }), V = Array.from({
@@ -2100,7 +2098,7 @@ function $a(e, a) {
2100
2098
  V[p] = (V[p - 1] || 0) + k(p - 1);
2101
2099
  w.value = Math.max(w.value, performance.now() - T);
2102
2100
  }, w), O = ue(h, (T) => {
2103
- T && (O(), s = d.value.offsetTop, F.immediate(), ie(), ~P && Ce(() => {
2101
+ T && (O(), r = d.value.offsetTop, F.immediate(), ie(), ~P && Ce(() => {
2104
2102
  ct && window.requestAnimationFrame(() => {
2105
2103
  U(P), P = -1;
2106
2104
  });
@@ -2129,35 +2127,35 @@ function $a(e, a) {
2129
2127
  });
2130
2128
  let te = -1;
2131
2129
  function H() {
2132
- if (!i.value || !d.value) return;
2133
- const T = i.value.scrollTop, $ = performance.now();
2134
- $ - q > 500 ? (D = Math.sign(T - M), s = d.value.offsetTop) : D = T - M, M = T, q = $, window.clearTimeout(te), te = window.setTimeout(J, 500), ie();
2130
+ if (!u.value || !d.value) return;
2131
+ const T = u.value.scrollTop, $ = performance.now();
2132
+ $ - q > 500 ? (D = Math.sign(T - M), r = d.value.offsetTop) : D = T - M, M = T, q = $, window.clearTimeout(te), te = window.setTimeout(J, 500), ie();
2135
2133
  }
2136
2134
  function J() {
2137
- !i.value || !d.value || (D = 0, q = 0, window.clearTimeout(te), ie());
2135
+ !u.value || !d.value || (D = 0, q = 0, window.clearTimeout(te), ie());
2138
2136
  }
2139
2137
  let W = -1;
2140
2138
  function ie() {
2141
2139
  cancelAnimationFrame(W), W = requestAnimationFrame(X);
2142
2140
  }
2143
2141
  function X() {
2144
- if (!i.value || !v.value || !n.value) return;
2145
- const T = M - s, $ = Math.sign(D), p = Math.max(0, T - Nt), f = Le(S(p), 0, a.value.length), _ = T + v.value + Nt, Y = Le(S(_) + 1, f + 1, a.value.length);
2142
+ if (!u.value || !v.value || !n.value) return;
2143
+ const T = M - r, $ = Math.sign(D), p = Math.max(0, T - Nt), f = Le(S(p), 0, a.value.length), _ = T + v.value + Nt, Y = Le(S(_) + 1, f + 1, a.value.length);
2146
2144
  if (
2147
2145
  // Only update the side we're scrolling towards,
2148
2146
  // the other side will be updated incidentally
2149
- ($ !== Ra || f < l.value) && ($ !== Ea || Y > o.value)
2147
+ ($ !== Ra || f < l.value) && ($ !== Ea || Y > i.value)
2150
2148
  ) {
2151
- const de = I(l.value) - I(f), me = I(Y) - I(o.value);
2152
- Math.max(de, me) > Nt ? (l.value = f, o.value = Y) : (f <= 0 && (l.value = f), Y >= a.value.length && (o.value = Y));
2149
+ const de = I(l.value) - I(f), me = I(Y) - I(i.value);
2150
+ Math.max(de, me) > Nt ? (l.value = f, i.value = Y) : (f <= 0 && (l.value = f), Y >= a.value.length && (i.value = Y));
2153
2151
  }
2154
- c.value = I(l.value), u.value = I(a.value.length) - I(o.value);
2152
+ c.value = I(l.value), o.value = I(a.value.length) - I(i.value);
2155
2153
  }
2156
2154
  function U(T) {
2157
2155
  const $ = I(T);
2158
- !i.value || T && !$ ? P = T : i.value.scrollTop = $;
2156
+ !u.value || T && !$ ? P = T : u.value.scrollTop = $;
2159
2157
  }
2160
- const ve = x(() => a.value.slice(l.value, o.value).map((T, $) => {
2158
+ const ve = x(() => a.value.slice(l.value, i.value).map((T, $) => {
2161
2159
  const p = $ + l.value;
2162
2160
  return {
2163
2161
  raw: T,
@@ -2175,11 +2173,11 @@ function $a(e, a) {
2175
2173
  deep: 1
2176
2174
  }), {
2177
2175
  calculateVisibleItems: ie,
2178
- containerRef: i,
2176
+ containerRef: u,
2179
2177
  markerRef: d,
2180
2178
  computedItems: ve,
2181
2179
  paddingTop: c,
2182
- paddingBottom: u,
2180
+ paddingBottom: o,
2183
2181
  scrollToIndex: U,
2184
2182
  handleScroll: H,
2185
2183
  handleScrollend: J,
@@ -2187,15 +2185,15 @@ function $a(e, a) {
2187
2185
  };
2188
2186
  }
2189
2187
  function Ma(e, a) {
2190
- let t = e.length - 1, n = 0, l = 0, o = null, c = -1;
2188
+ let t = e.length - 1, n = 0, l = 0, i = null, c = -1;
2191
2189
  if (e[t] < a)
2192
2190
  return t;
2193
2191
  for (; n <= t; )
2194
- if (l = n + t >> 1, o = e[l], o > a)
2192
+ if (l = n + t >> 1, i = e[l], i > a)
2195
2193
  t = l - 1;
2196
- else if (o < a)
2194
+ else if (i < a)
2197
2195
  c = l, n = l + 1;
2198
- else return o === a ? l : n;
2196
+ else return i === a ? l : n;
2199
2197
  return c;
2200
2198
  }
2201
2199
  const Na = Q({
@@ -2217,13 +2215,13 @@ const Na = Q({
2217
2215
  const n = Ml("VVirtualScroll"), {
2218
2216
  dimensionStyles: l
2219
2217
  } = bt(e), {
2220
- calculateVisibleItems: o,
2218
+ calculateVisibleItems: i,
2221
2219
  containerRef: c,
2222
- markerRef: u,
2223
- handleScroll: i,
2220
+ markerRef: o,
2221
+ handleScroll: u,
2224
2222
  handleScrollend: d,
2225
- handleItemResize: s,
2226
- scrollToIndex: r,
2223
+ handleItemResize: r,
2224
+ scrollToIndex: s,
2227
2225
  paddingTop: m,
2228
2226
  paddingBottom: v,
2229
2227
  computedItems: h
@@ -2231,9 +2229,9 @@ const Na = Q({
2231
2229
  return Kt(() => e.renderless, () => {
2232
2230
  function y() {
2233
2231
  const w = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
2234
- c.value === document.documentElement ? (document[w]("scroll", i, {
2232
+ c.value === document.documentElement ? (document[w]("scroll", u, {
2235
2233
  passive: !0
2236
- }), document[w]("scrollend", d)) : (c.value?.[w]("scroll", i, {
2234
+ }), document[w]("scrollend", d)) : (c.value?.[w]("scroll", u, {
2237
2235
  passive: !0
2238
2236
  }), c.value?.[w]("scrollend", d));
2239
2237
  }
@@ -2244,7 +2242,7 @@ const Na = Q({
2244
2242
  const y = h.value.map((V) => g(Ba, {
2245
2243
  key: V.key,
2246
2244
  renderless: e.renderless,
2247
- "onUpdate:height": (w) => s(V.index, w)
2245
+ "onUpdate:height": (w) => r(V.index, w)
2248
2246
  }, {
2249
2247
  default: (w) => t.default?.({
2250
2248
  item: V.raw,
@@ -2253,7 +2251,7 @@ const Na = Q({
2253
2251
  })
2254
2252
  }));
2255
2253
  return e.renderless ? b(re, null, [b("div", {
2256
- ref: u,
2254
+ ref: o,
2257
2255
  class: "v-virtual-scroll__spacer",
2258
2256
  style: {
2259
2257
  paddingTop: et(m.value)
@@ -2266,11 +2264,11 @@ const Na = Q({
2266
2264
  }, null)]) : b("div", {
2267
2265
  ref: c,
2268
2266
  class: se(["v-virtual-scroll", e.class]),
2269
- onScrollPassive: i,
2267
+ onScrollPassive: u,
2270
2268
  onScrollend: d,
2271
2269
  style: Ie([l.value, e.style])
2272
2270
  }, [b("div", {
2273
- ref: u,
2271
+ ref: o,
2274
2272
  class: "v-virtual-scroll__container",
2275
2273
  style: {
2276
2274
  paddingTop: et(m.value),
@@ -2278,51 +2276,51 @@ const Na = Q({
2278
2276
  }
2279
2277
  }, [y])]);
2280
2278
  }), {
2281
- calculateVisibleItems: o,
2282
- scrollToIndex: r
2279
+ calculateVisibleItems: i,
2280
+ scrollToIndex: s
2283
2281
  };
2284
2282
  }
2285
2283
  });
2286
2284
  function dn(e, a) {
2287
2285
  const t = Z(!1);
2288
2286
  let n;
2289
- function l(u) {
2287
+ function l(o) {
2290
2288
  cancelAnimationFrame(n), t.value = !0, n = requestAnimationFrame(() => {
2291
2289
  n = requestAnimationFrame(() => {
2292
2290
  t.value = !1;
2293
2291
  });
2294
2292
  });
2295
2293
  }
2296
- async function o() {
2297
- await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => requestAnimationFrame(u)), await new Promise((u) => {
2294
+ async function i() {
2295
+ await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => {
2298
2296
  if (t.value) {
2299
- const i = ue(t, () => {
2300
- i(), u();
2297
+ const u = ue(t, () => {
2298
+ u(), o();
2301
2299
  });
2302
- } else u();
2300
+ } else o();
2303
2301
  });
2304
2302
  }
2305
- async function c(u) {
2306
- if (u.key === "Tab" && a.value?.focus(), !["PageDown", "PageUp", "Home", "End"].includes(u.key)) return;
2307
- const i = e.value?.$el;
2308
- if (!i) return;
2309
- (u.key === "Home" || u.key === "End") && i.scrollTo({
2310
- top: u.key === "Home" ? 0 : i.scrollHeight,
2303
+ async function c(o) {
2304
+ if (o.key === "Tab" && a.value?.focus(), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) return;
2305
+ const u = e.value?.$el;
2306
+ if (!u) return;
2307
+ (o.key === "Home" || o.key === "End") && u.scrollTo({
2308
+ top: o.key === "Home" ? 0 : u.scrollHeight,
2311
2309
  behavior: "smooth"
2312
- }), await o();
2313
- const d = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
2314
- if (u.key === "PageDown" || u.key === "Home") {
2315
- const s = i.getBoundingClientRect().top;
2316
- for (const r of d)
2317
- if (r.getBoundingClientRect().top >= s) {
2318
- r.focus();
2310
+ }), await i();
2311
+ const d = u.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
2312
+ if (o.key === "PageDown" || o.key === "Home") {
2313
+ const r = u.getBoundingClientRect().top;
2314
+ for (const s of d)
2315
+ if (s.getBoundingClientRect().top >= r) {
2316
+ s.focus();
2319
2317
  break;
2320
2318
  }
2321
2319
  } else {
2322
- const s = i.getBoundingClientRect().bottom;
2323
- for (const r of [...d].reverse())
2324
- if (r.getBoundingClientRect().bottom <= s) {
2325
- r.focus();
2320
+ const r = u.getBoundingClientRect().bottom;
2321
+ for (const s of [...d].reverse())
2322
+ if (s.getBoundingClientRect().bottom <= r) {
2323
+ s.focus();
2326
2324
  break;
2327
2325
  }
2328
2326
  }
@@ -2337,43 +2335,43 @@ function vn(e) {
2337
2335
  groups: a,
2338
2336
  onLeave: t
2339
2337
  } = e;
2340
- function n(u) {
2341
- return u.type === "list" ? u.contentRef.value?.$el : u.contentRef.value;
2338
+ function n(o) {
2339
+ return o.type === "list" ? o.contentRef.value?.$el : o.contentRef.value;
2342
2340
  }
2343
- function l(u) {
2344
- const i = n(u);
2345
- return i ? Il(i) : [];
2341
+ function l(o) {
2342
+ const u = n(o);
2343
+ return u ? Il(u) : [];
2346
2344
  }
2347
- function o(u) {
2348
- const i = u.target, d = u.shiftKey ? "backward" : "forward", s = a.map(l), r = a.map((v) => v.type === "list" ? v.contentRef.value?.$el : v.contentRef.value).findIndex((v) => v?.contains(i)), m = c(s, r, d, i);
2345
+ function i(o) {
2346
+ const u = o.target, d = o.shiftKey ? "backward" : "forward", r = a.map(l), s = a.map((v) => v.type === "list" ? v.contentRef.value?.$el : v.contentRef.value).findIndex((v) => v?.contains(u)), m = c(r, s, d, u);
2349
2347
  if (m === null) {
2350
- const v = a[r], h = s[r];
2351
- (v.type === "list" || (d === "forward" ? h.at(-1) === u.target : h.at(0) === u.target)) && t();
2348
+ const v = a[s], h = r[s];
2349
+ (v.type === "list" || (d === "forward" ? h.at(-1) === o.target : h.at(0) === o.target)) && t();
2352
2350
  } else {
2353
- u.preventDefault(), u.stopImmediatePropagation();
2351
+ o.preventDefault(), o.stopImmediatePropagation();
2354
2352
  const v = a[m];
2355
2353
  if (v.type === "list" && zt(v.displayItemsCount) > 0)
2356
2354
  v.contentRef.value?.focus(0);
2357
2355
  else {
2358
2356
  const h = d === "forward";
2359
- s[m].at(h ? 0 : -1).focus();
2357
+ r[m].at(h ? 0 : -1).focus();
2360
2358
  }
2361
2359
  }
2362
2360
  }
2363
- function c(u, i, d, s) {
2364
- const r = a[i], m = u[i];
2365
- if (r.type !== "list" && !(d === "forward" ? m.at(-1) === s : m.at(0) === s))
2361
+ function c(o, u, d, r) {
2362
+ const s = a[u], m = o[u];
2363
+ if (s.type !== "list" && !(d === "forward" ? m.at(-1) === r : m.at(0) === r))
2366
2364
  return null;
2367
2365
  const v = d === "forward" ? 1 : -1;
2368
- for (let h = i + v; h >= 0 && h < a.length; h += v) {
2366
+ for (let h = u + v; h >= 0 && h < a.length; h += v) {
2369
2367
  const y = a[h];
2370
- if (u[h].length > 0 || y.type === "list" && zt(y.displayItemsCount) > 0)
2368
+ if (o[h].length > 0 || y.type === "list" && zt(y.displayItemsCount) > 0)
2371
2369
  return h;
2372
2370
  }
2373
2371
  return null;
2374
2372
  }
2375
2373
  return {
2376
- onTabKeydown: o
2374
+ onTabKeydown: i
2377
2375
  };
2378
2376
  }
2379
2377
  const La = (e, a, t) => {
@@ -2401,51 +2399,51 @@ const fn = Q({
2401
2399
  noFilter: Boolean
2402
2400
  }, "filter");
2403
2401
  function Ha(e, a, t) {
2404
- const n = [], l = t?.default ?? La, o = t?.filterKeys ? Ee(t.filterKeys) : !1, c = Object.keys(t?.customKeyFilter ?? {}).length;
2402
+ const n = [], l = t?.default ?? La, i = t?.filterKeys ? Ee(t.filterKeys) : !1, c = Object.keys(t?.customKeyFilter ?? {}).length;
2405
2403
  if (!e?.length) return n;
2406
- let u = [];
2407
- e: for (let i = 0; i < e.length; i++) {
2408
- const [d, s = d] = Ee(e[i]), r = {}, m = {};
2404
+ let o = [];
2405
+ e: for (let u = 0; u < e.length; u++) {
2406
+ const [d, r = d] = Ee(e[u]), s = {}, m = {};
2409
2407
  let v = -1;
2410
2408
  if ((a || c > 0) && !t?.noFilter) {
2411
2409
  let h = !1;
2412
2410
  if (typeof d == "object") {
2413
2411
  if (d.type === "divider" || d.type === "subheader") {
2414
- (u.at(-1)?.type !== "divider" || d.type !== "subheader") && (u = []), u.push({
2415
- index: i,
2412
+ (o.at(-1)?.type !== "divider" || d.type !== "subheader") && (o = []), o.push({
2413
+ index: u,
2416
2414
  matches: {},
2417
2415
  type: d.type
2418
2416
  });
2419
2417
  continue;
2420
2418
  }
2421
- const w = o || Object.keys(s);
2419
+ const w = i || Object.keys(r);
2422
2420
  h = w.length === c;
2423
2421
  for (const P of w) {
2424
- const k = zl(s, P), F = t?.customKeyFilter?.[P];
2422
+ const k = zl(r, P), F = t?.customKeyFilter?.[P];
2425
2423
  if (v = F ? F(k, a, d) : l(k, a, d), v !== -1 && v !== !1)
2426
- F ? r[P] = Lt(v, a) : m[P] = Lt(v, a);
2424
+ F ? s[P] = Lt(v, a) : m[P] = Lt(v, a);
2427
2425
  else if (t?.filterMode === "every")
2428
2426
  continue e;
2429
2427
  }
2430
2428
  } else
2431
2429
  v = l(d, a, d), v !== -1 && v !== !1 && (m.title = Lt(v, a));
2432
- const y = Object.keys(m).length, V = Object.keys(r).length;
2430
+ const y = Object.keys(m).length, V = Object.keys(s).length;
2433
2431
  if (!y && !V || t?.filterMode === "union" && V !== c && !y || t?.filterMode === "intersection" && (V !== c || !y && c > 0 && !h)) continue;
2434
2432
  }
2435
- u.length && (n.push(...u), u = []), n.push({
2436
- index: i,
2433
+ o.length && (n.push(...o), o = []), n.push({
2434
+ index: u,
2437
2435
  matches: {
2438
2436
  ...m,
2439
- ...r
2437
+ ...s
2440
2438
  }
2441
2439
  });
2442
2440
  }
2443
2441
  return n;
2444
2442
  }
2445
2443
  function mn(e, a, t, n) {
2446
- const l = Z([]), o = Z(/* @__PURE__ */ new Map()), c = x(() => n?.transform ? L(a).map((i) => [i, n.transform(i)]) : L(a));
2444
+ const l = Z([]), i = Z(/* @__PURE__ */ new Map()), c = x(() => n?.transform ? L(a).map((u) => [u, n.transform(u)]) : L(a));
2447
2445
  Ht(() => {
2448
- const i = typeof t == "function" ? t() : L(t), d = typeof i != "string" && typeof i != "number" ? "" : String(i), s = Ha(c.value, d, {
2446
+ const u = typeof t == "function" ? t() : L(t), d = typeof u != "string" && typeof u != "number" ? "" : String(u), r = Ha(c.value, d, {
2449
2447
  customKeyFilter: {
2450
2448
  ...e.customKeyFilter,
2451
2449
  ...L(n?.customKeyFilter)
@@ -2454,30 +2452,30 @@ function mn(e, a, t, n) {
2454
2452
  filterKeys: e.filterKeys,
2455
2453
  filterMode: e.filterMode,
2456
2454
  noFilter: e.noFilter
2457
- }), r = L(a), m = [], v = /* @__PURE__ */ new Map();
2458
- s.forEach((h) => {
2455
+ }), s = L(a), m = [], v = /* @__PURE__ */ new Map();
2456
+ r.forEach((h) => {
2459
2457
  let {
2460
2458
  index: y,
2461
2459
  matches: V
2462
2460
  } = h;
2463
- const w = r[y];
2461
+ const w = s[y];
2464
2462
  m.push(w), v.set(w.value, V);
2465
- }), l.value = m, o.value = v;
2463
+ }), l.value = m, i.value = v;
2466
2464
  });
2467
- function u(i) {
2468
- return o.value.get(i.value);
2465
+ function o(u) {
2466
+ return i.value.get(u.value);
2469
2467
  }
2470
2468
  return {
2471
2469
  filteredItems: l,
2472
- filteredMatches: o,
2473
- getMatches: u
2470
+ filteredMatches: i,
2471
+ getMatches: o
2474
2472
  };
2475
2473
  }
2476
2474
  function gn(e, a, t) {
2477
2475
  return t == null || !t.length ? a : t.map((n, l) => {
2478
- const o = l === 0 ? 0 : t[l - 1][1], c = [b("span", {
2476
+ const i = l === 0 ? 0 : t[l - 1][1], c = [b("span", {
2479
2477
  class: se(`${e}__unmask`)
2480
- }, [a.slice(o, n[0])]), b("span", {
2478
+ }, [a.slice(i, n[0])]), b("span", {
2481
2479
  class: se(`${e}__mask`)
2482
2480
  }, [a.slice(n[0], n[1])])];
2483
2481
  return l === t.length - 1 && c.push(b("span", {
@@ -2496,11 +2494,11 @@ const za = Q({
2496
2494
  }
2497
2495
  }, "autocomplete");
2498
2496
  function yn(e, a) {
2499
- const t = Xe(), n = x(() => `menu-${t}`), l = E(() => zt(a)), o = E(() => n.value);
2497
+ const t = Xe(), n = x(() => `menu-${t}`), l = E(() => zt(a)), i = E(() => n.value);
2500
2498
  return {
2501
2499
  menuId: n,
2502
2500
  ariaExpanded: l,
2503
- ariaControls: o
2501
+ ariaControls: i
2504
2502
  };
2505
2503
  }
2506
2504
  const hn = Q({
@@ -2562,15 +2560,15 @@ const hn = Q({
2562
2560
  } = a;
2563
2561
  const {
2564
2562
  t: n
2565
- } = it(), l = K(), o = K(), c = K(), u = K(), i = K(), {
2563
+ } = it(), l = K(), i = K(), c = K(), o = K(), u = K(), {
2566
2564
  items: d,
2567
- transformIn: s,
2568
- transformOut: r
2565
+ transformIn: r,
2566
+ transformOut: s
2569
2567
  } = Ul(e), m = xe(e, "search", ""), {
2570
2568
  filteredItems: v,
2571
2569
  getMatches: h
2572
- } = mn(e, d, () => m.value), y = xe(e, "modelValue", [], (A) => s(A === null ? [null] : Ee(A)), (A) => {
2573
- const G = r(A);
2570
+ } = mn(e, d, () => m.value), y = xe(e, "modelValue", [], (A) => r(A === null ? [null] : Ee(A)), (A) => {
2571
+ const G = s(A);
2574
2572
  return e.multiple ? G : G[0] ?? null;
2575
2573
  }), V = x(() => typeof e.counterValue == "function" ? e.counterValue(y.value) : typeof e.counterValue == "number" ? e.counterValue : y.value.length), w = Ot(e), P = rn(e), k = x(() => y.value.map((A) => A.value)), F = Z(!1), O = E(() => e.closableChips && !w.isReadonly.value && !w.isDisabled.value), {
2576
2574
  InputIcon: j
@@ -2582,7 +2580,7 @@ const hn = Q({
2582
2580
  }), q = x(() => e.hideNoData && !D.value.length || w.isReadonly.value || w.isDisabled.value), te = xe(e, "menu"), H = x({
2583
2581
  get: () => te.value,
2584
2582
  set: (A) => {
2585
- te.value && !A && o.value?.ΨopenChildren.size || A && q.value || (te.value = A);
2583
+ te.value && !A && i.value?.ΨopenChildren.size || A && q.value || (te.value = A);
2586
2584
  }
2587
2585
  }), {
2588
2586
  menuId: J,
@@ -2607,7 +2605,7 @@ const hn = Q({
2607
2605
  displayItemsCount: () => D.value.length
2608
2606
  }, {
2609
2607
  type: "element",
2610
- contentRef: u
2608
+ contentRef: o
2611
2609
  }],
2612
2610
  onLeave: () => {
2613
2611
  H.value = !1, l.value?.focus();
@@ -2684,7 +2682,7 @@ const hn = Q({
2684
2682
  return -1;
2685
2683
  }
2686
2684
  function we() {
2687
- if (e.eager && i.value?.calculateVisibleItems(), U.value) {
2685
+ if (e.eager && u.value?.calculateVisibleItems(), U.value) {
2688
2686
  const A = be();
2689
2687
  U.value.focus(A >= 0 ? A : "first");
2690
2688
  }
@@ -2706,7 +2704,7 @@ const hn = Q({
2706
2704
  if (!e.hideSelected && H.value && y.value.length) {
2707
2705
  const A = me();
2708
2706
  ct && !e.noAutoScroll && window.requestAnimationFrame(() => {
2709
- A >= 0 && i.value?.scrollToIndex(A);
2707
+ A >= 0 && u.value?.scrollToIndex(A);
2710
2708
  });
2711
2709
  }
2712
2710
  }), ue(d, (A, G) => {
@@ -2759,7 +2757,7 @@ const hn = Q({
2759
2757
  selected: k.value.includes(B.value)
2760
2758
  }, null))]), g(Kl, N({
2761
2759
  id: J.value,
2762
- ref: o,
2760
+ ref: i,
2763
2761
  modelValue: H.value,
2764
2762
  "onUpdate:modelValue": (B) => H.value = B,
2765
2763
  activator: "parent",
@@ -2795,7 +2793,7 @@ const hn = Q({
2795
2793
  key: "no-data",
2796
2794
  title: n(e.noDataText)
2797
2795
  }, null)), g(cn, {
2798
- ref: i,
2796
+ ref: u,
2799
2797
  renderless: !0,
2800
2798
  items: D.value,
2801
2799
  itemKey: "value"
@@ -2852,7 +2850,7 @@ const hn = Q({
2852
2850
  }
2853
2851
  }), t["append-item"]?.()]
2854
2852
  }), t["menu-footer"] && b("footer", {
2855
- ref: u
2853
+ ref: o
2856
2854
  }, [t["menu-footer"](Be)])]
2857
2855
  })]
2858
2856
  }), y.value.map((B, R) => {
@@ -2957,7 +2955,7 @@ const hn = Q({
2957
2955
  } = a;
2958
2956
  const {
2959
2957
  t: n
2960
- } = it(), l = K(), o = Z(!1), c = Z(!0), u = Z(!1), i = K(), d = K(), s = Z(-1), r = Z(null), {
2958
+ } = it(), l = K(), i = Z(!1), c = Z(!0), o = Z(!1), u = K(), d = K(), r = Z(-1), s = Z(null), {
2961
2959
  items: m,
2962
2960
  transformIn: v,
2963
2961
  transformOut: h
@@ -2972,10 +2970,10 @@ const hn = Q({
2972
2970
  }), F = x(() => typeof e.counterValue == "function" ? e.counterValue(k.value) : typeof e.counterValue == "number" ? e.counterValue : k.value.length), O = Ot(e), {
2973
2971
  filteredItems: j,
2974
2972
  getMatches: I
2975
- } = mn(e, m, () => r.value ?? (c.value ? "" : P.value)), S = x(() => e.hideSelected && r.value === null ? j.value.filter((C) => !k.value.some((B) => B.value === C.value)) : j.value), M = E(() => e.closableChips && !O.isReadonly.value && !O.isDisabled.value), D = x(() => !!(e.chips || t.chip)), q = x(() => D.value || !!t.selection), te = x(() => k.value.map((C) => C.props.value)), H = x(() => S.value.find((C) => C.type === "item" && !C.props.disabled)), J = x(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && P.value === H.value?.title) && S.value.length > 0 && !c.value && !u.value), W = x(() => e.hideNoData && !S.value.length || O.isReadonly.value || O.isDisabled.value), ie = xe(e, "menu"), X = x({
2973
+ } = mn(e, m, () => s.value ?? (c.value ? "" : P.value)), S = x(() => e.hideSelected && s.value === null ? j.value.filter((C) => !k.value.some((B) => B.value === C.value)) : j.value), M = E(() => e.closableChips && !O.isReadonly.value && !O.isDisabled.value), D = x(() => !!(e.chips || t.chip)), q = x(() => D.value || !!t.selection), te = x(() => k.value.map((C) => C.props.value)), H = x(() => S.value.find((C) => C.type === "item" && !C.props.disabled)), J = x(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && P.value === H.value?.title) && S.value.length > 0 && !c.value && !o.value), W = x(() => e.hideNoData && !S.value.length || O.isReadonly.value || O.isDisabled.value), ie = xe(e, "menu"), X = x({
2976
2974
  get: () => ie.value,
2977
2975
  set: (C) => {
2978
- ie.value && !C && i.value?.ΨopenChildren.size || C && W.value || (ie.value = C);
2976
+ ie.value && !C && u.value?.ΨopenChildren.size || C && W.value || (ie.value = C);
2979
2977
  }
2980
2978
  }), {
2981
2979
  menuId: U,
@@ -3006,7 +3004,7 @@ const hn = Q({
3006
3004
  W.value || (X.value = !0);
3007
3005
  }
3008
3006
  function be(C) {
3009
- W.value || (o.value && (C.preventDefault(), C.stopPropagation()), X.value = !X.value);
3007
+ W.value || (i.value && (C.preventDefault(), C.stopPropagation()), X.value = !X.value);
3010
3008
  }
3011
3009
  function we(C) {
3012
3010
  C.key === "Tab" && Y(C), $.value?.$el.contains(C.target) && (wt(C) || C.key === "Backspace") && l.value?.focus();
@@ -3021,28 +3019,28 @@ const hn = Q({
3021
3019
  return fe === H.value.value;
3022
3020
  }) && pe(H.value), C.key === "ArrowDown" && J.value && $.value?.focus("next"), ["Backspace", "Delete"].includes(C.key)) {
3023
3021
  if (!e.multiple && q.value && k.value.length > 0 && !P.value) return pe(k.value[0], !1);
3024
- if (~s.value) {
3022
+ if (~r.value) {
3025
3023
  C.preventDefault();
3026
- const ee = s.value;
3027
- pe(k.value[s.value], !1), s.value = ee >= R - 1 ? R - 2 : ee;
3028
- } else C.key === "Backspace" && !P.value && (s.value = R - 1);
3024
+ const ee = r.value;
3025
+ pe(k.value[r.value], !1), r.value = ee >= R - 1 ? R - 2 : ee;
3026
+ } else C.key === "Backspace" && !P.value && (r.value = R - 1);
3029
3027
  return;
3030
3028
  }
3031
3029
  if (e.multiple)
3032
3030
  if (C.key === "ArrowLeft") {
3033
- if (s.value < 0 && B && B > 0) return;
3034
- const ee = s.value > -1 ? s.value - 1 : R - 1;
3031
+ if (r.value < 0 && B && B > 0) return;
3032
+ const ee = r.value > -1 ? r.value - 1 : R - 1;
3035
3033
  if (k.value[ee])
3036
- s.value = ee;
3034
+ r.value = ee;
3037
3035
  else {
3038
3036
  const fe = P.value?.length ?? null;
3039
- s.value = -1, l.value?.setSelectionRange(fe, fe);
3037
+ r.value = -1, l.value?.setSelectionRange(fe, fe);
3040
3038
  }
3041
3039
  } else if (C.key === "ArrowRight") {
3042
- if (s.value < 0) return;
3043
- const ee = s.value + 1;
3044
- k.value[ee] ? s.value = ee : (s.value = -1, l.value?.setSelectionRange(0, 0));
3045
- } else ~s.value && wt(C) && (s.value = -1);
3040
+ if (r.value < 0) return;
3041
+ const ee = r.value + 1;
3042
+ k.value[ee] ? r.value = ee : (r.value = -1, l.value?.setSelectionRange(0, 0));
3043
+ } else ~r.value && wt(C) && (r.value = -1);
3046
3044
  }
3047
3045
  function Ge(C) {
3048
3046
  if (dt(l.value, ":autofill") || dt(l.value, ":-webkit-autofill")) {
@@ -3054,21 +3052,21 @@ const hn = Q({
3054
3052
  e.eager && d.value?.calculateVisibleItems();
3055
3053
  }
3056
3054
  function A() {
3057
- o.value && (c.value = !0, l.value?.focus()), r.value = null;
3055
+ i.value && (c.value = !0, l.value?.focus()), s.value = null;
3058
3056
  }
3059
3057
  function G(C) {
3060
- o.value = !0, setTimeout(() => {
3061
- u.value = !0;
3058
+ i.value = !0, setTimeout(() => {
3059
+ o.value = !0;
3062
3060
  });
3063
3061
  }
3064
3062
  function le(C) {
3065
- u.value = !1;
3063
+ o.value = !1;
3066
3064
  }
3067
3065
  function ge(C) {
3068
3066
  (C == null || C === "" && !e.multiple && !q.value) && (k.value = []);
3069
3067
  }
3070
3068
  function De(C) {
3071
- i.value?.contentEl?.contains(C.relatedTarget) && (o.value = !0);
3069
+ u.value?.contentEl?.contains(C.relatedTarget) && (i.value = !0);
3072
3070
  }
3073
3071
  const Be = Z(!1);
3074
3072
  function pe(C) {
@@ -3083,15 +3081,15 @@ const hn = Q({
3083
3081
  e.clearOnSelect && (P.value = "");
3084
3082
  } else {
3085
3083
  const R = B !== !1;
3086
- k.value = R ? [C] : [], r.value = c.value ? "" : P.value ?? "", P.value = R && !q.value ? C.title : "", Ce(() => {
3084
+ k.value = R ? [C] : [], s.value = c.value ? "" : P.value ?? "", P.value = R && !q.value ? C.title : "", Ce(() => {
3087
3085
  X.value = !1, c.value = !0;
3088
3086
  });
3089
3087
  }
3090
3088
  }
3091
- return ue(o, (C, B) => {
3092
- C !== B && (C ? (Be.value = !0, P.value = e.multiple || q.value ? "" : String(k.value.at(-1)?.props.title ?? ""), c.value = !0, Ce(() => Be.value = !1)) : (!e.multiple && P.value == null && (k.value = []), X.value = !1, !c.value && P.value && (r.value = P.value), P.value = "", s.value = -1));
3089
+ return ue(i, (C, B) => {
3090
+ C !== B && (C ? (Be.value = !0, P.value = e.multiple || q.value ? "" : String(k.value.at(-1)?.props.title ?? ""), c.value = !0, Ce(() => Be.value = !1)) : (!e.multiple && P.value == null && (k.value = []), X.value = !1, !c.value && P.value && (s.value = P.value), P.value = "", r.value = -1));
3093
3091
  }), ue(P, (C) => {
3094
- !o.value || Be.value || (C && (X.value = !0), c.value = !C);
3092
+ !i.value || Be.value || (C && (X.value = !0), c.value = !C);
3095
3093
  }), ue(X, (C) => {
3096
3094
  if (!e.hideSelected && C && k.value.length && c.value) {
3097
3095
  const B = S.value.findIndex((R) => k.value.some((ee) => R.value === ee.value));
@@ -3099,9 +3097,9 @@ const hn = Q({
3099
3097
  B >= 0 && d.value?.scrollToIndex(B);
3100
3098
  });
3101
3099
  }
3102
- C && (r.value = null);
3100
+ C && (s.value = null);
3103
3101
  }), ue(m, (C, B) => {
3104
- X.value || o.value && !B.length && C.length && (X.value = !0);
3102
+ X.value || i.value && !B.length && C.length && (X.value = !0);
3105
3103
  }), ce(() => {
3106
3104
  const C = !!(!e.hideNoData || S.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), B = k.value.length > 0, R = Je.filterProps(e), ee = {
3107
3105
  search: P,
@@ -3112,8 +3110,8 @@ const hn = Q({
3112
3110
  }, R, {
3113
3111
  modelValue: P.value,
3114
3112
  "onUpdate:modelValue": [(fe) => P.value = fe, ge],
3115
- focused: o.value,
3116
- "onUpdate:focused": (fe) => o.value = fe,
3113
+ focused: i.value,
3114
+ "onUpdate:focused": (fe) => i.value = fe,
3117
3115
  validationValue: k.externalValue,
3118
3116
  counterValue: F.value,
3119
3117
  dirty: B,
@@ -3122,7 +3120,7 @@ const hn = Q({
3122
3120
  "v-autocomplete--active-menu": X.value,
3123
3121
  "v-autocomplete--chips": !!e.chips,
3124
3122
  "v-autocomplete--selection-slot": !!q.value,
3125
- "v-autocomplete--selecting-index": s.value > -1
3123
+ "v-autocomplete--selecting-index": r.value > -1
3126
3124
  }, e.class],
3127
3125
  style: e.style,
3128
3126
  readonly: O.isReadonly.value,
@@ -3141,7 +3139,7 @@ const hn = Q({
3141
3139
  } = fe;
3142
3140
  return b(re, null, [g(Kl, N({
3143
3141
  id: U.value,
3144
- ref: i,
3142
+ ref: u,
3145
3143
  modelValue: X.value,
3146
3144
  "onUpdate:modelValue": (ne) => X.value = ne,
3147
3145
  activator: "parent",
@@ -3265,8 +3263,8 @@ const hn = Q({
3265
3263
  if (!(ut && !st))
3266
3264
  return b("div", {
3267
3265
  key: ne.value,
3268
- class: se(["v-autocomplete__selection", z === s.value && ["v-autocomplete__selection--selected", y.value]]),
3269
- style: Ie(z === s.value ? V.value : {})
3266
+ class: se(["v-autocomplete__selection", z === r.value && ["v-autocomplete__selection--selected", y.value]]),
3267
+ style: Ie(z === r.value ? V.value : {})
3270
3268
  }, [D.value ? t.chip ? g(Fe, {
3271
3269
  key: "chip-defaults",
3272
3270
  defaults: {
@@ -3310,7 +3308,7 @@ const hn = Q({
3310
3308
  }
3311
3309
  });
3312
3310
  }), St({
3313
- isFocused: o,
3311
+ isFocused: i,
3314
3312
  isPristine: c,
3315
3313
  menu: X,
3316
3314
  search: P,
@@ -3360,19 +3358,19 @@ const hn = Q({
3360
3358
  } = Dt(() => e.color), {
3361
3359
  roundedClasses: l
3362
3360
  } = gt(e), {
3363
- t: o
3361
+ t: i
3364
3362
  } = it(), {
3365
3363
  textColorClasses: c,
3366
- textColorStyles: u
3364
+ textColorStyles: o
3367
3365
  } = kt(() => e.textColor), {
3368
- themeClasses: i
3366
+ themeClasses: u
3369
3367
  } = zn(), {
3370
3368
  locationStyles: d
3371
- } = el(e, !0, (r) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(r) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(r) ? Number(e.offsetX ?? 0) : 0)), {
3372
- dimensionStyles: s
3369
+ } = el(e, !0, (s) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(s) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(s) ? Number(e.offsetX ?? 0) : 0)), {
3370
+ dimensionStyles: r
3373
3371
  } = bt(e);
3374
3372
  return ce(() => {
3375
- const r = Number(e.content), m = !e.max || isNaN(r) ? e.content : r <= Number(e.max) ? r : `${e.max}+`, [v, h] = Un(a.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
3373
+ const s = Number(e.content), m = !e.max || isNaN(s) ? e.content : s <= Number(e.max) ? s : `${e.max}+`, [v, h] = Un(a.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
3376
3374
  return g(e.tag, N({
3377
3375
  class: ["v-badge", {
3378
3376
  "v-badge--bordered": e.bordered,
@@ -3389,10 +3387,10 @@ const hn = Q({
3389
3387
  transition: e.transition
3390
3388
  }, {
3391
3389
  default: () => [Ke(b("span", N({
3392
- class: ["v-badge__badge", i.value, t.value, l.value, c.value],
3393
- style: [n.value, u.value, s.value, e.inline ? {} : d.value],
3390
+ class: ["v-badge__badge", u.value, t.value, l.value, c.value],
3391
+ style: [n.value, o.value, r.value, e.inline ? {} : d.value],
3394
3392
  "aria-atomic": "true",
3395
- "aria-label": o(e.label, r),
3393
+ "aria-label": i(e.label, s),
3396
3394
  "aria-live": "polite",
3397
3395
  role: "status"
3398
3396
  }, v), [e.dot ? void 0 : a.slots.badge ? a.slots.badge?.() : e.icon ? g(Se, {
@@ -3429,14 +3427,14 @@ const hn = Q({
3429
3427
  slots: n
3430
3428
  } = a;
3431
3429
  const l = xe(e, "modelValue"), {
3432
- scopeId: o
3430
+ scopeId: i
3433
3431
  } = Kn(), c = K();
3434
- function u() {
3432
+ function o() {
3435
3433
  t("afterEnter"), (e.scrim || e.retainFocus) && c.value?.contentEl && !c.value.contentEl.contains(document.activeElement) && c.value.contentEl.focus({
3436
3434
  preventScroll: !0
3437
3435
  });
3438
3436
  }
3439
- function i() {
3437
+ function u() {
3440
3438
  t("afterLeave");
3441
3439
  }
3442
3440
  return ue(l, async (d) => {
@@ -3444,9 +3442,9 @@ const hn = Q({
3444
3442
  preventScroll: !0
3445
3443
  }));
3446
3444
  }), ce(() => {
3447
- const d = dl.filterProps(e), s = N({
3445
+ const d = dl.filterProps(e), r = N({
3448
3446
  "aria-haspopup": "dialog"
3449
- }, e.activatorProps), r = N({
3447
+ }, e.activatorProps), s = N({
3450
3448
  tabindex: -1
3451
3449
  }, e.contentProps);
3452
3450
  return g(dl, N({
@@ -3460,16 +3458,16 @@ const hn = Q({
3460
3458
  modelValue: l.value,
3461
3459
  "onUpdate:modelValue": (m) => l.value = m,
3462
3460
  "aria-modal": "true",
3463
- activatorProps: s,
3464
- contentProps: r,
3461
+ activatorProps: r,
3462
+ contentProps: s,
3465
3463
  height: e.fullscreen ? void 0 : e.height,
3466
3464
  width: e.fullscreen ? void 0 : e.width,
3467
3465
  maxHeight: e.fullscreen ? void 0 : e.maxHeight,
3468
3466
  maxWidth: e.fullscreen ? void 0 : e.maxWidth,
3469
3467
  role: "dialog",
3470
- onAfterEnter: u,
3471
- onAfterLeave: i
3472
- }, o), {
3468
+ onAfterEnter: o,
3469
+ onAfterLeave: u
3470
+ }, i), {
3473
3471
  activator: n.activator,
3474
3472
  default: function() {
3475
3473
  for (var m = arguments.length, v = new Array(m), h = 0; h < m; h++)
@@ -3545,7 +3543,7 @@ const hn = Q({
3545
3543
  slots: t
3546
3544
  } = a;
3547
3545
  return ce(() => {
3548
- const n = !!(e.prependAvatar || e.prependIcon), l = !!(n || t.prepend), o = !!(e.appendAvatar || e.appendIcon), c = !!(o || t.append), u = !!(e.title != null || t.title), i = !!(e.subtitle != null || t.subtitle);
3546
+ const n = !!(e.prependAvatar || e.prependIcon), l = !!(n || t.prepend), i = !!(e.appendAvatar || e.appendIcon), c = !!(i || t.append), o = !!(e.title != null || t.title), u = !!(e.subtitle != null || t.subtitle);
3549
3547
  return g(e.tag, {
3550
3548
  class: se(["v-card-item", e.class]),
3551
3549
  style: Ie(e.style)
@@ -3576,11 +3574,11 @@ const hn = Q({
3576
3574
  icon: e.prependIcon
3577
3575
  }, null)])]), b("div", {
3578
3576
  class: "v-card-item__content"
3579
- }, [u && g(il, {
3577
+ }, [o && g(il, {
3580
3578
  key: "title"
3581
3579
  }, {
3582
3580
  default: () => [t.title?.() ?? Vt(e.title)]
3583
- }), i && g(Ya, {
3581
+ }), u && g(Ya, {
3584
3582
  key: "subtitle"
3585
3583
  }, {
3586
3584
  default: () => [t.subtitle?.() ?? Vt(e.subtitle)]
@@ -3589,7 +3587,7 @@ const hn = Q({
3589
3587
  class: "v-card-item__append"
3590
3588
  }, [t.append ? g(Fe, {
3591
3589
  key: "append-defaults",
3592
- disabled: !o,
3590
+ disabled: !i,
3593
3591
  defaults: {
3594
3592
  VAvatar: {
3595
3593
  density: e.density,
@@ -3688,17 +3686,17 @@ const hn = Q({
3688
3686
  const {
3689
3687
  themeClasses: l
3690
3688
  } = ot(e), {
3691
- borderClasses: o
3689
+ borderClasses: i
3692
3690
  } = Xt(e), {
3693
3691
  colorClasses: c,
3694
- colorStyles: u,
3695
- variantClasses: i
3692
+ colorStyles: o,
3693
+ variantClasses: u
3696
3694
  } = _l(e), {
3697
3695
  densityClasses: d
3698
3696
  } = Ft(e), {
3699
- dimensionStyles: s
3697
+ dimensionStyles: r
3700
3698
  } = bt(e), {
3701
- elevationClasses: r
3699
+ elevationClasses: s
3702
3700
  } = Yt(e), {
3703
3701
  loaderClasses: m
3704
3702
  } = Nl(e), {
@@ -3720,8 +3718,8 @@ const hn = Q({
3720
3718
  "v-card--flat": e.flat,
3721
3719
  "v-card--hover": e.hover && !(e.disabled || e.flat),
3722
3720
  "v-card--link": k
3723
- }, l.value, o.value, c.value, d.value, r.value, m.value, h.value, y.value, i.value, e.class],
3724
- style: [u.value, s.value, v.value, {
3721
+ }, l.value, i.value, c.value, d.value, s.value, m.value, h.value, y.value, u.value, e.class],
3722
+ style: [o.value, r.value, v.value, {
3725
3723
  "--v-card-height": et(e.height)
3726
3724
  }, e.style],
3727
3725
  onClick: k && V.navigate.value,
@@ -3778,22 +3776,22 @@ function ao(e) {
3778
3776
  let {
3779
3777
  toggleUpDown: a
3780
3778
  } = e, t = -1, n = -1;
3781
- rt(o);
3782
- function l(u) {
3783
- o(), c(u), window.addEventListener("pointerup", o), document.addEventListener("blur", o), t = window.setTimeout(() => {
3784
- n = window.setInterval(() => c(u), lo);
3779
+ rt(i);
3780
+ function l(o) {
3781
+ i(), c(o), window.addEventListener("pointerup", i), document.addEventListener("blur", i), t = window.setTimeout(() => {
3782
+ n = window.setInterval(() => c(o), lo);
3785
3783
  }, no);
3786
3784
  }
3787
- function o() {
3788
- window.clearTimeout(t), window.clearInterval(n), window.removeEventListener("pointerup", o), document.removeEventListener("blur", o);
3785
+ function i() {
3786
+ window.clearTimeout(t), window.clearInterval(n), window.removeEventListener("pointerup", i), document.removeEventListener("blur", i);
3789
3787
  }
3790
- rt(o);
3791
- function c(u) {
3792
- a(u === "up");
3788
+ rt(i);
3789
+ function c(o) {
3790
+ a(o === "up");
3793
3791
  }
3794
3792
  return {
3795
3793
  holdStart: l,
3796
- holdStop: o
3794
+ holdStop: i
3797
3795
  };
3798
3796
  }
3799
3797
  const oo = Q({
@@ -3847,25 +3845,25 @@ const oo = Q({
3847
3845
  } = a;
3848
3846
  const n = K(), {
3849
3847
  holdStart: l,
3850
- holdStop: o
3848
+ holdStop: i
3851
3849
  } = ao({
3852
3850
  toggleUpDown: q
3853
- }), c = Ot(e), u = x(() => c.isDisabled.value || c.isReadonly.value), i = Z(e.focused), {
3851
+ }), c = Ot(e), o = x(() => c.isDisabled.value || c.isReadonly.value), u = Z(e.focused), {
3854
3852
  decimalSeparator: d
3855
- } = it(), s = x(() => e.decimalSeparator?.[0] || d.value);
3856
- function r(f) {
3853
+ } = it(), r = x(() => e.decimalSeparator?.[0] || d.value);
3854
+ function s(f) {
3857
3855
  let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
3858
3856
  const de = _ == null ? String(f) : f.toFixed(_);
3859
- if (i.value && Y)
3860
- return Number(de).toString().replace(".", s.value);
3857
+ if (u.value && Y)
3858
+ return Number(de).toString().replace(".", r.value);
3861
3859
  if (e.minFractionDigits === null || _ !== null && _ < e.minFractionDigits)
3862
- return de.replace(".", s.value);
3860
+ return de.replace(".", r.value);
3863
3861
  let [me, be] = de.split(".");
3864
- return be = (be ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [me, be].filter(Boolean).join(s.value);
3862
+ return be = (be ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [me, be].filter(Boolean).join(r.value);
3865
3863
  }
3866
3864
  const m = xe(e, "modelValue", null, (f) => f ?? null, (f) => f == null ? f ?? null : Le(Number(f), e.min, e.max)), v = Z(null), h = Z(null);
3867
3865
  ue(m, (f) => {
3868
- i.value && !u.value && Number(v.value?.replace(s.value, ".")) === f || (f == null ? (v.value = null, h.value = null) : isNaN(f) || (v.value = r(f), h.value = Number(v.value.replace(s.value, "."))));
3866
+ u.value && !o.value && Number(v.value?.replace(r.value, ".")) === f || (f == null ? (v.value = null, h.value = null) : isNaN(f) || (v.value = s(f), h.value = Number(v.value.replace(r.value, "."))));
3869
3867
  }, {
3870
3868
  immediate: !0
3871
3869
  });
@@ -3876,14 +3874,14 @@ const oo = Q({
3876
3874
  m.value = null, v.value = null, h.value = null;
3877
3875
  return;
3878
3876
  }
3879
- const _ = Number(f.replace(s.value, "."));
3877
+ const _ = Number(f.replace(r.value, "."));
3880
3878
  isNaN(_) || (v.value = f, h.value = _, _ <= e.max && _ >= e.min && (m.value = _));
3881
3879
  }
3882
3880
  }), V = x(() => {
3883
3881
  if (h.value === null) return !1;
3884
- const f = Number(v.value?.replace(s.value, "."));
3882
+ const f = Number(v.value?.replace(r.value, "."));
3885
3883
  return f !== Le(f, e.min, e.max);
3886
- }), w = x(() => u.value ? !1 : (m.value ?? 0) + e.step <= e.max), P = x(() => u.value ? !1 : (m.value ?? 0) - e.step >= e.min), k = x(() => e.hideInput ? "stacked" : e.controlVariant), F = E(() => k.value === "split" ? "$plus" : "$collapse"), O = E(() => k.value === "split" ? "$minus" : "$expand"), j = E(() => k.value === "split" ? "default" : "small"), I = E(() => k.value === "stacked" ? "auto" : "100%"), S = {
3884
+ }), w = x(() => o.value ? !1 : (m.value ?? 0) + e.step <= e.max), P = x(() => o.value ? !1 : (m.value ?? 0) - e.step >= e.min), k = x(() => e.hideInput ? "stacked" : e.controlVariant), F = E(() => k.value === "split" ? "$plus" : "$collapse"), O = E(() => k.value === "split" ? "$minus" : "$expand"), j = E(() => k.value === "split" ? "default" : "small"), I = E(() => k.value === "stacked" ? "auto" : "100%"), S = {
3887
3885
  props: {
3888
3886
  onClick: J,
3889
3887
  onPointerup: W,
@@ -3908,13 +3906,13 @@ const oo = Q({
3908
3906
  }
3909
3907
  function q() {
3910
3908
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
3911
- if (u.value) return;
3909
+ if (o.value) return;
3912
3910
  if (m.value == null) {
3913
- y.value = r(Le(0, e.min, e.max));
3911
+ y.value = s(Le(0, e.min, e.max));
3914
3912
  return;
3915
3913
  }
3916
3914
  let _ = Math.max(D(m.value), D(e.step));
3917
- e.precision != null && (_ = Math.max(_, e.precision)), f ? w.value && (y.value = r(m.value + e.step, _)) : P.value && (y.value = r(m.value - e.step, _));
3915
+ e.precision != null && (_ = Math.max(_, e.precision)), f ? w.value && (y.value = s(m.value + e.step, _)) : P.value && (y.value = s(m.value - e.step, _));
3918
3916
  }
3919
3917
  function te(f) {
3920
3918
  if (!f.data) return;
@@ -3922,14 +3920,14 @@ const oo = Q({
3922
3920
  value: Y,
3923
3921
  selectionStart: de,
3924
3922
  selectionEnd: me
3925
- } = _ ?? {}, be = Y ? Y.slice(0, de) + f.data + Y.slice(me) : f.data, we = qn(be, e.precision, s.value);
3926
- if (new RegExp(`^-?\\d*${Jn(s.value)}?\\d*$`).test(be) || (f.preventDefault(), _.value = we, Ce(() => y.value = we)), e.precision != null) {
3927
- if (be.split(s.value)[1]?.length > e.precision) {
3923
+ } = _ ?? {}, be = Y ? Y.slice(0, de) + f.data + Y.slice(me) : f.data, we = qn(be, e.precision, r.value);
3924
+ if (new RegExp(`^-?\\d*${Jn(r.value)}?\\d*$`).test(be) || (f.preventDefault(), _.value = we, Ce(() => y.value = we)), e.precision != null) {
3925
+ if (be.split(r.value)[1]?.length > e.precision) {
3928
3926
  f.preventDefault(), _.value = we, Ce(() => y.value = we);
3929
3927
  const Te = (de ?? 0) + f.data.length;
3930
3928
  _.setSelectionRange(Te, Te);
3931
3929
  }
3932
- e.precision === 0 && be.endsWith(s.value) && (f.preventDefault(), _.value = we, Ce(() => y.value = we));
3930
+ e.precision === 0 && be.endsWith(r.value) && (f.preventDefault(), _.value = we, Ce(() => y.value = we));
3933
3931
  }
3934
3932
  }
3935
3933
  async function H(f) {
@@ -3939,7 +3937,7 @@ const oo = Q({
3939
3937
  f.stopPropagation();
3940
3938
  }
3941
3939
  function W(f) {
3942
- f.currentTarget?.releasePointerCapture(f.pointerId), f.preventDefault(), o();
3940
+ f.currentTarget?.releasePointerCapture(f.pointerId), f.preventDefault(), i();
3943
3941
  }
3944
3942
  function ie(f) {
3945
3943
  f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("up");
@@ -3948,20 +3946,20 @@ const oo = Q({
3948
3946
  f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("down");
3949
3947
  }
3950
3948
  function U() {
3951
- if (u.value || !n.value) return;
3952
- const f = n.value.value, _ = Number(f.replace(s.value, "."));
3953
- f && !isNaN(_) ? y.value = r(Le(_, e.min, e.max)) : y.value = null;
3949
+ if (o.value || !n.value) return;
3950
+ const f = n.value.value, _ = Number(f.replace(r.value, "."));
3951
+ f && !isNaN(_) ? y.value = s(Le(_, e.min, e.max)) : y.value = null;
3954
3952
  }
3955
3953
  function ve() {
3956
- u.value || (y.value = m.value !== null && !isNaN(m.value) ? r(m.value, e.precision, !1) : null);
3954
+ o.value || (y.value = m.value !== null && !isNaN(m.value) ? s(m.value, e.precision, !1) : null);
3957
3955
  }
3958
3956
  function T() {
3959
- if (!u.value) {
3957
+ if (!o.value) {
3960
3958
  if (m.value === null || isNaN(m.value)) {
3961
3959
  y.value = null;
3962
3960
  return;
3963
3961
  }
3964
- y.value = m.value.toString().replace(".", s.value);
3962
+ y.value = m.value.toString().replace(".", r.value);
3965
3963
  }
3966
3964
  }
3967
3965
  function $() {
@@ -4062,8 +4060,8 @@ const oo = Q({
4062
4060
  }, Y, {
4063
4061
  modelValue: y.value,
4064
4062
  "onUpdate:modelValue": (G) => y.value = G,
4065
- focused: i.value,
4066
- "onUpdate:focused": (G) => i.value = G,
4063
+ focused: u.value,
4064
+ "onUpdate:focused": (G) => u.value = G,
4067
4065
  validationValue: m.value,
4068
4066
  error: e.error || V.value || void 0,
4069
4067
  onBeforeinput: te,
@@ -4103,23 +4101,23 @@ const oo = Q({
4103
4101
  },
4104
4102
  emits: /* @__PURE__ */ Wt(["closeDialog", "save"], ["update:modelValue"]),
4105
4103
  setup(e, { emit: a }) {
4106
- const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = _t(e, "modelValue"), o = a, c = {
4104
+ const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = _t(e, "modelValue"), i = a, c = {
4107
4105
  textfield: Je,
4108
4106
  select: ja,
4109
4107
  number: io,
4110
4108
  datepicker: Oe(
4111
- () => import("./Datepicker-Cw_J535b.js")
4109
+ () => import("./Datepicker-D8R5O3nA.js")
4112
4110
  ),
4113
4111
  comparison: Oe(
4114
- () => import("./Comparison-BGS-fuIe.js")
4112
+ () => import("./Comparison-c7-5FHzt.js")
4115
4113
  )
4116
- }, u = x(() => t.headers.filter((d) => d.advancedFilter !== !1 && !d.hidden)), i = (d) => d ? typeof d == "string" ? c[d] : d : c.textfield;
4114
+ }, o = x(() => t.headers.filter((d) => d.advancedFilter !== !1 && !d.hidden)), u = (d) => d ? typeof d == "string" ? c[d] : d : c.textfield;
4117
4115
  return ue(
4118
- u,
4116
+ o,
4119
4117
  (d) => {
4120
- d.forEach((s) => {
4121
- const r = s.advancedFilter?.key ?? s.key;
4122
- Object.hasOwn(l.value, r) || (l.value[r] = {
4118
+ d.forEach((r) => {
4119
+ const s = r.advancedFilter?.key ?? r.key;
4120
+ Object.hasOwn(l.value, s) || (l.value[s] = {
4123
4121
  comparison: "=",
4124
4122
  value: null
4125
4123
  });
@@ -4128,7 +4126,7 @@ const oo = Q({
4128
4126
  { immediate: !0 }
4129
4127
  ), at(async () => {
4130
4128
  await t.options.advancedFilters?.onMounted();
4131
- }), (d, s) => (ae(), ke(kn, { rounded: "lg" }, {
4129
+ }), (d, r) => (ae(), ke(kn, { rounded: "lg" }, {
4132
4130
  default: Ve(() => [
4133
4131
  g(il, { class: "d-flex justify-space-between align-center" }, {
4134
4132
  default: Ve(() => [
@@ -4136,7 +4134,7 @@ const oo = Q({
4136
4134
  g(tt, {
4137
4135
  icon: L(n).header.icons.close,
4138
4136
  variant: "text",
4139
- onClick: s[0] || (s[0] = (r) => o("closeDialog"))
4137
+ onClick: r[0] || (r[0] = (s) => i("closeDialog"))
4140
4138
  }, null, 8, ["icon"])
4141
4139
  ]),
4142
4140
  _: 1
@@ -4144,18 +4142,18 @@ const oo = Q({
4144
4142
  g(Ue),
4145
4143
  g(ul, { class: "overflow-auto pt-8" }, {
4146
4144
  default: Ve(() => [
4147
- (ae(!0), je(re, null, Gt(L(u), (r, m) => (ae(), je("div", {
4148
- id: `advanced-filter-${r.key}`,
4145
+ (ae(!0), je(re, null, Gt(L(o), (s, m) => (ae(), je("div", {
4146
+ id: `advanced-filter-${s.key}`,
4149
4147
  key: `filter-${m}`,
4150
- class: se(`advanced-filter advanced-filter--${r.key}`)
4148
+ class: se(`advanced-filter advanced-filter--${s.key}`)
4151
4149
  }, [
4152
- (ae(), ke(Me(i(r.advancedFilter?.component)), N({
4153
- modelValue: l.value[r.advancedFilter?.key ?? r.key].value,
4154
- "onUpdate:modelValue": (v) => l.value[r.advancedFilter?.key ?? r.key].value = v,
4155
- comparison: l.value[r.advancedFilter?.key ?? r.key].comparison,
4156
- "onUpdate:comparison": (v) => l.value[r.advancedFilter?.key ?? r.key].comparison = v
4157
- }, { ref_for: !0 }, r.advancedFilter?.options, {
4158
- label: r.title,
4150
+ (ae(), ke(Me(u(s.advancedFilter?.component)), N({
4151
+ modelValue: l.value[s.advancedFilter?.key ?? s.key].value,
4152
+ "onUpdate:modelValue": (v) => l.value[s.advancedFilter?.key ?? s.key].value = v,
4153
+ comparison: l.value[s.advancedFilter?.key ?? s.key].comparison,
4154
+ "onUpdate:comparison": (v) => l.value[s.advancedFilter?.key ?? s.key].comparison = v
4155
+ }, { ref_for: !0 }, s.advancedFilter?.options, {
4156
+ label: s.title,
4159
4157
  variant: "underlined",
4160
4158
  clearable: ""
4161
4159
  }), null, 16, ["modelValue", "onUpdate:modelValue", "comparison", "onUpdate:comparison", "label"]))
@@ -4169,14 +4167,14 @@ const oo = Q({
4169
4167
  g(tt, {
4170
4168
  class: "text-none",
4171
4169
  text: d.$t("$datatables.cancel"),
4172
- onClick: s[1] || (s[1] = (r) => o("closeDialog"))
4170
+ onClick: r[1] || (r[1] = (s) => i("closeDialog"))
4173
4171
  }, null, 8, ["text"]),
4174
4172
  g(tt, {
4175
4173
  class: "text-none",
4176
4174
  color: "primary",
4177
4175
  text: d.$t("$datatables.submit"),
4178
4176
  variant: "flat",
4179
- onClick: s[2] || (s[2] = (r) => o("save"))
4177
+ onClick: r[2] || (r[2] = (s) => i("save"))
4180
4178
  }, null, 8, ["text"])
4181
4179
  ]),
4182
4180
  _: 1
@@ -4207,8 +4205,8 @@ function jt(e, a) {
4207
4205
  if (t.length !== n.length) return !1;
4208
4206
  for (const l of t) {
4209
4207
  if (!n.includes(l)) return !1;
4210
- const o = e[l], c = a[l];
4211
- if (!jt(o, c)) return !1;
4208
+ const i = e[l], c = a[l];
4209
+ if (!jt(i, c)) return !1;
4212
4210
  }
4213
4211
  return !0;
4214
4212
  }
@@ -4222,33 +4220,33 @@ const co = {
4222
4220
  },
4223
4221
  emits: ["update:modelValue"],
4224
4222
  setup(e) {
4225
- const a = Bt(), { advancedFiltersState: t } = Rt(), { setData: n } = a, l = _t(e, "modelValue"), o = K({}), c = Pe("table_props"), u = Pe("busEmits"), i = () => {
4226
- const d = Object.entries(o.value).filter(([, s]) => {
4227
- const r = s.value;
4228
- return Array.isArray(r) || typeof r == "string" ? r.length > 0 : r != null && r !== "";
4229
- }).reduce((s, [r, m]) => (s[r] = m, s), {});
4223
+ const a = Bt(), { advancedFiltersState: t } = Rt(), { setData: n } = a, l = _t(e, "modelValue"), i = K({}), c = Pe("table_props"), o = Pe("busEmits"), u = () => {
4224
+ const d = Object.entries(i.value).filter(([, r]) => {
4225
+ const s = r.value;
4226
+ return Array.isArray(s) || typeof s == "string" ? s.length > 0 : s != null && s !== "";
4227
+ }).reduce((r, [s, m]) => (r[s] = m, r), {});
4230
4228
  jt(d, t.value) || (n({
4231
4229
  table_id: c.id,
4232
4230
  name: "advancedFilters",
4233
4231
  value: { query: bl(d) }
4234
- }), u("advancedFilters:update", d)), l.value = !1;
4232
+ }), o("advancedFilters:update", d)), l.value = !1;
4235
4233
  };
4236
4234
  return at(() => {
4237
- o.value = bl(t.value);
4238
- }), (d, s) => {
4239
- const r = ro, m = fa;
4235
+ i.value = bl(t.value);
4236
+ }), (d, r) => {
4237
+ const s = ro, m = fa;
4240
4238
  return ae(), je("div", null, [
4241
4239
  g(bn, {
4242
4240
  modelValue: l.value,
4243
- "onUpdate:modelValue": s[1] || (s[1] = (v) => l.value = v),
4241
+ "onUpdate:modelValue": r[1] || (r[1] = (v) => l.value = v),
4244
4242
  "max-width": "550",
4245
4243
  "retain-focus": !1
4246
4244
  }, {
4247
4245
  default: Ve(({ isActive: v }) => [
4248
- g(r, {
4249
- modelValue: L(o),
4250
- "onUpdate:modelValue": s[0] || (s[0] = (h) => xt(o) ? o.value = h : null),
4251
- onSave: i,
4246
+ g(s, {
4247
+ modelValue: L(i),
4248
+ "onUpdate:modelValue": r[0] || (r[0] = (h) => xt(i) ? i.value = h : null),
4249
+ onSave: u,
4252
4250
  onCloseDialog: (h) => v.value = !1
4253
4251
  }, null, 8, ["modelValue", "onCloseDialog"])
4254
4252
  ]),
@@ -4256,9 +4254,9 @@ const co = {
4256
4254
  }, 8, ["modelValue"]),
4257
4255
  Object.keys(L(t)).length ? (ae(), ke(m, {
4258
4256
  key: 0,
4259
- modelValue: L(o),
4260
- "onUpdate:modelValue": s[2] || (s[2] = (v) => xt(o) ? o.value = v : null),
4261
- onSave: i
4257
+ modelValue: L(i),
4258
+ "onUpdate:modelValue": r[2] || (r[2] = (v) => xt(i) ? i.value = v : null),
4259
+ onSave: u
4262
4260
  }, null, 8, ["modelValue"])) : Ne("", !0)
4263
4261
  ]);
4264
4262
  };
@@ -4278,16 +4276,16 @@ const fo = /* @__PURE__ */ kl({
4278
4276
  __name: "index",
4279
4277
  setup(e) {
4280
4278
  const { advancedFiltersItems: a, advancedFiltersDialog: t, activeAdvancedFilters: n } = vo();
4281
- return (l, o) => {
4279
+ return (l, i) => {
4282
4280
  const c = co;
4283
4281
  return ae(), je("div", null, [
4284
- (ae(!0), je(re, null, Gt(L(a), (u, i) => (ae(), ke(tt, N({
4285
- key: i,
4282
+ (ae(!0), je(re, null, Gt(L(a), (o, u) => (ae(), ke(tt, N({
4283
+ key: u,
4286
4284
  icon: "",
4287
4285
  variant: "text",
4288
4286
  color: L(n) ? "primary" : "dark",
4289
4287
  density: "comfortable"
4290
- }, { ref_for: !0 }, u), {
4288
+ }, { ref_for: !0 }, o), {
4291
4289
  default: Ve(() => [
4292
4290
  L(n) ? (ae(), ke(Wa, {
4293
4291
  key: 0,
@@ -4296,20 +4294,20 @@ const fo = /* @__PURE__ */ kl({
4296
4294
  }, {
4297
4295
  default: Ve(() => [
4298
4296
  g(Se, {
4299
- icon: u.prependIcon
4297
+ icon: o.prependIcon
4300
4298
  }, null, 8, ["icon"])
4301
4299
  ]),
4302
4300
  _: 2
4303
4301
  }, 1032, ["content"])) : (ae(), ke(Se, {
4304
4302
  key: 1,
4305
- icon: u.prependIcon
4303
+ icon: o.prependIcon
4306
4304
  }, null, 8, ["icon"]))
4307
4305
  ]),
4308
4306
  _: 2
4309
4307
  }, 1040, ["color"]))), 128)),
4310
4308
  g(c, {
4311
4309
  modelValue: L(t),
4312
- "onUpdate:modelValue": o[0] || (o[0] = (u) => xt(t) ? t.value = u : null)
4310
+ "onUpdate:modelValue": i[0] || (i[0] = (o) => xt(t) ? t.value = o : null)
4313
4311
  }, null, 8, ["modelValue"])
4314
4312
  ]);
4315
4313
  };
@@ -4323,21 +4321,21 @@ const fo = /* @__PURE__ */ kl({
4323
4321
  responsiveHeader: { type: Boolean }
4324
4322
  },
4325
4323
  setup(e) {
4326
- const a = Oe(() => import("./Search-C8e4aEIt.js")), t = Oe(() => import("./RefreshTable-DJh8kVcF.js")), n = Oe(() => import("./Options-I1PQEYFi.js")), l = Oe(() => import("./index-pVnRXL21.js")), o = Oe(() => import("./index-CTF3ArB5.js")), c = Oe(() => import("./index-D0oTlDPt.js")), u = Pe("table_props"), i = K(null), d = u.options?.header?.components ?? {};
4327
- return (s, r) => {
4324
+ const a = Oe(() => import("./Search-CcSzJ7EN.js")), t = Oe(() => import("./RefreshTable-BMZFOov3.js")), n = Oe(() => import("./Options-t9XPNKFJ.js")), l = Oe(() => import("./index-CWXBoVzR.js")), i = Oe(() => import("./index-hM02sYDS.js")), c = Oe(() => import("./index-Bra3YXTV.js")), o = Pe("table_props"), u = K(null), d = o.options?.header?.components ?? {};
4325
+ return (r, s) => {
4328
4326
  const m = fo;
4329
4327
  return ae(), je("div", mo, [
4330
4328
  e.responsiveHeader ? Ne("", !0) : (ae(), ke(m, { key: 0 })),
4331
- L(u).hardFilters.length ? (ae(), ke(Me(L(d).hardFilters ?? L(l)), {
4329
+ L(o).hardFilters.length ? (ae(), ke(Me(L(d).hardFilters ?? L(l)), {
4332
4330
  key: 1,
4333
4331
  id: "header-hardFilters"
4334
4332
  })) : Ne("", !0),
4335
4333
  (ae(), ke(Me(L(d).toolbar), { id: "header-toolbar" })),
4336
4334
  b("div", go, [
4337
4335
  (ae(), ke(Me(L(d).search ?? L(a)), { id: "header-search" })),
4338
- e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).columns ?? L(o)), {
4336
+ e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).columns ?? L(i)), {
4339
4337
  key: 0,
4340
- "component-refs": { columns: L(i) }
4338
+ "component-refs": { columns: L(u) }
4341
4339
  }, null, 8, ["component-refs"])),
4342
4340
  e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).download ?? L(c)), { key: 1 })),
4343
4341
  e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).refreshTable ?? L(t)), { key: 2 })),
@@ -4348,35 +4346,33 @@ const fo = /* @__PURE__ */ kl({
4348
4346
  }
4349
4347
  });
4350
4348
  function ho(e) {
4351
- const a = Bt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, o = K(!1), c = 5, u = x(() => t(e.id));
4349
+ const a = Bt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, i = K(!1), c = 5, o = x(() => t(e.id));
4352
4350
  ue(
4353
- u,
4351
+ o,
4354
4352
  async (v) => {
4355
- v.options.hash && await i(v);
4353
+ v.options.hash && await u(v);
4356
4354
  },
4357
4355
  {
4358
4356
  deep: !0
4359
4357
  }
4360
4358
  );
4361
- const i = async (v) => {
4362
- if (o.value) return;
4363
- o.value = !0, await Ce();
4364
- const h = d(), y = h.findIndex(
4365
- (V) => V.id === e.id
4366
- );
4367
- y > -1 ? h[y] = v : h.push(v), localStorage.setItem("datatables-state", JSON.stringify(h)), o.value = !1;
4359
+ const u = async (v) => {
4360
+ if (i.value) return;
4361
+ i.value = !0, await Ce();
4362
+ const h = d(), y = h.findIndex((V) => V.id === e.id);
4363
+ y > -1 ? h[y] = v : h.push(v), localStorage.setItem("datatables-state", JSON.stringify(h)), i.value = !1;
4368
4364
  }, d = () => {
4369
4365
  const v = localStorage.getItem("datatables-state");
4370
4366
  return JSON.parse(v ?? "[]");
4371
- }, s = () => d().find((y) => y.id === e.id);
4367
+ }, r = () => d().find((y) => y.id === e.id);
4372
4368
  return {
4373
- saving: o,
4374
- dataStateGet: s,
4375
- tableDataState: u,
4369
+ saving: i,
4370
+ dataStateGet: r,
4371
+ tableDataState: o,
4376
4372
  checkTableState: async () => {
4377
4373
  const v = localStorage.getItem("datatables-state-v");
4378
4374
  parseInt(v) !== parseInt(c) && (localStorage.removeItem("datatables-state"), localStorage.setItem("datatables-state-v", c));
4379
- const y = s()?.options.hash;
4375
+ const y = r()?.options.hash;
4380
4376
  if (y) {
4381
4377
  const V = await l(JSON.stringify(e.headers ?? []));
4382
4378
  y !== V && localStorage.removeItem("datatables-state");
@@ -4397,9 +4393,9 @@ const Sn = Zn(() => {
4397
4393
  },
4398
4394
  setUserOptions: ({
4399
4395
  state: l = null,
4400
- columns: o = null
4396
+ columns: i = null
4401
4397
  }) => {
4402
- l && (e.value = l), o && (a.value = o);
4398
+ l && (e.value = l), i && (a.value = i);
4403
4399
  }
4404
4400
  };
4405
4401
  }), bo = {
@@ -4413,26 +4409,22 @@ const Sn = Zn(() => {
4413
4409
  },
4414
4410
  emits: /* @__PURE__ */ Wt(["refreshTable", "refetchData", "advancedFilters:update", "hardFilters:update"], ["update:modelValue"]),
4415
4411
  setup(e, { expose: a, emit: t }) {
4416
- const n = Oe(() => import("./Table-ubU5wjVY.js")), l = Oe(() => import("./TableServer-DuwL1c97.js")), { storeOptions: o } = Sn(), { saveTableOptions: c } = Rt(), u = _t(e, "modelValue"), i = Pe("table_props"), d = Pe("datatablesPluginOptions"), s = K(null), r = K(!1), m = K(!1), v = K(!1), h = t, y = Bt(), { dataStateGet: V, tableDataState: w, checkTableState: P } = ho(i), { addTable: k, restoreData: F } = y, O = K(!1);
4417
- ea(s, (I) => {
4412
+ const n = Oe(() => import("./Table-DFgbsnAr.js")), l = Oe(() => import("./TableServer-RGxAza7r.js")), { storeOptions: i } = Sn(), { saveTableOptions: c } = Rt(), o = _t(e, "modelValue"), u = Pe("table_props"), d = Pe("datatablesPluginOptions"), r = K(null), s = K(!1), m = K(!1), v = K(!1), h = t, y = Bt(), { dataStateGet: V, tableDataState: w, checkTableState: P } = ho(u), { addTable: k, restoreData: F } = y, O = K(!1);
4413
+ ea(r, (I) => {
4418
4414
  const S = I[0], { width: M } = S.contentRect;
4419
4415
  O.value = M < 950;
4420
4416
  });
4421
4417
  const j = x(() => {
4422
- const I = i.options?.header;
4418
+ const I = u.options?.header;
4423
4419
  return I === void 0 || typeof I == "object" && I !== null;
4424
4420
  });
4425
4421
  return at(async () => {
4426
- k({ table_id: i.id }), await P();
4422
+ k({ table_id: u.id }), await P();
4427
4423
  const I = V();
4428
- if (I)
4429
- F({ table_id: i.id, data: I });
4430
- else {
4431
- const M = w.value.options.columns;
4432
- M.selected = i.headers.filter((D) => !D.hidden).map((D) => D.key), M.sorted = i.headers.map((D) => D.key);
4433
- }
4434
- c(Xn(o.state.value, w.value.options.state)), m.value = !0, await Ce(), v.value = !0;
4435
- }), We("busEmits", h), We("tableRef", s), We("tableState", w), We("downloadModal", r), a({ tableRef: s }), (I, S) => {
4424
+ I && F({ table_id: u.id, data: I });
4425
+ const M = w.value.options.columns;
4426
+ M.sorted?.length || (M.selected?.length || (M.selected = u.headers.filter((D) => !D.hidden).map((D) => D.key)), M.sorted = u.headers.map((D) => D.key)), c(Xn(i.state.value, w.value.options.state)), m.value = !0, await Ce(), v.value = !0;
4427
+ }), We("busEmits", h), We("tableRef", r), We("tableState", w), We("downloadModal", s), a({ tableRef: r }), (I, S) => {
4436
4428
  const M = yo;
4437
4429
  return L(m) ? (ae(), je("div", bo, [
4438
4430
  g(kn, null, {
@@ -4445,12 +4437,12 @@ const Sn = Zn(() => {
4445
4437
  })) : Ne("", !0),
4446
4438
  g(ul, { class: "pa-0" }, {
4447
4439
  default: Ve(() => [
4448
- L(v) ? (ae(), ke(Me(L(i).api ? L(l) : L(n)), {
4440
+ L(v) ? (ae(), ke(Me(L(u).api ? L(l) : L(n)), {
4449
4441
  key: 0,
4450
4442
  ref_key: "tableRef",
4451
- ref: s,
4452
- modelValue: u.value,
4453
- "onUpdate:modelValue": S[0] || (S[0] = (D) => u.value = D)
4443
+ ref: r,
4444
+ modelValue: o.value,
4445
+ "onUpdate:modelValue": S[0] || (S[0] = (D) => o.value = D)
4454
4446
  }, null, 8, ["modelValue"])) : Ne("", !0)
4455
4447
  ]),
4456
4448
  _: 1
@@ -4459,8 +4451,8 @@ const Sn = Zn(() => {
4459
4451
  _: 1
4460
4452
  }),
4461
4453
  g(bn, {
4462
- modelValue: L(r),
4463
- "onUpdate:modelValue": S[1] || (S[1] = (D) => xt(r) ? r.value = D : null),
4454
+ modelValue: L(s),
4455
+ "onUpdate:modelValue": S[1] || (S[1] = (D) => xt(s) ? s.value = D : null),
4464
4456
  "max-width": "350",
4465
4457
  persistent: ""
4466
4458
  }, {
@@ -4561,20 +4553,20 @@ const Sn = Zn(() => {
4561
4553
  },
4562
4554
  emits: ["refreshTable", "refetchData"],
4563
4555
  setup(e, { expose: a, emit: t }) {
4564
- const n = e, { triggerHook: l } = So(), { storeOptions: o, setUserOptions: c } = Sn(), u = K(null), i = K(0), d = async (m = {}) => {
4565
- c(m), i.value < 99 && (r("refreshTable"), await Ce(), i.value++);
4566
- }, s = (m = {}) => {
4567
- c(m), u.value.tableRef.hasOwnProperty("reloadItems") && (u.value.tableRef.reloadItems(o.state.value), r("refetchData"));
4568
- }, r = t;
4569
- return a({ refreshTable: d, refetchData: s, triggerHook: l }), We("table_props", n), We("triggerHook", l), (m, v) => {
4556
+ const n = e, { triggerHook: l } = So(), { storeOptions: i, setUserOptions: c } = Sn(), o = K(null), u = K(0), d = async (m = {}) => {
4557
+ c(m), u.value < 99 && (s("refreshTable"), await Ce(), u.value++);
4558
+ }, r = (m = {}) => {
4559
+ c(m), o.value.tableRef.hasOwnProperty("reloadItems") && (o.value.tableRef.reloadItems(i.state.value), s("refetchData"));
4560
+ }, s = t;
4561
+ return a({ refreshTable: d, refetchData: r, triggerHook: l }), We("table_props", n), We("triggerHook", l), (m, v) => {
4570
4562
  const h = ko;
4571
4563
  return ae(), ke(h, {
4572
4564
  id: e.id,
4573
4565
  ref_key: "table",
4574
- ref: u,
4575
- key: `${e.id}-${L(i)}`,
4566
+ ref: o,
4567
+ key: `${e.id}-${L(u)}`,
4576
4568
  onRefreshTable: d,
4577
- onRefetchData: s
4569
+ onRefetchData: r
4578
4570
  }, null, 8, ["id"]);
4579
4571
  };
4580
4572
  }
@@ -4598,20 +4590,20 @@ export {
4598
4590
  kn as g,
4599
4591
  ul as h,
4600
4592
  Je as i,
4601
- vo as j,
4602
- ho as k,
4603
- So as l,
4593
+ bn as j,
4594
+ il as k,
4595
+ pn as l,
4604
4596
  fn as m,
4605
- ol as n,
4606
- ca as o,
4607
- on as p,
4608
- yl as q,
4609
- ha as r,
4610
- un as s,
4611
- bn as t,
4597
+ vo as n,
4598
+ So as o,
4599
+ ol as p,
4600
+ ca as q,
4601
+ on as r,
4602
+ yl as s,
4603
+ ha as t,
4612
4604
  Rt as u,
4613
- il as v,
4614
- pn as w,
4605
+ un as v,
4606
+ ho as w,
4615
4607
  va as x,
4616
4608
  Wa as y,
4617
4609
  Et as z