@ianicdev/datatables2 0.12.0 → 0.12.1

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 (40) hide show
  1. package/dist/{Comparison-Cjz-f6QE.cjs → Comparison-DtpUZsrU.cjs} +1 -1
  2. package/dist/{Comparison-c7-5FHzt.js → Comparison-IcnZYHnn.js} +1 -1
  3. package/dist/{Datepicker-D8R5O3nA.js → Datepicker-BKJGzszq.js} +2 -2
  4. package/dist/{Datepicker-tYZiV7pL.cjs → Datepicker-tAQpdCVA.cjs} +1 -1
  5. package/dist/{Options-t9XPNKFJ.js → Options-DZWZnKMZ.js} +4 -4
  6. package/dist/{Options-BqEPdV4P.cjs → Options-th4F06rr.cjs} +1 -1
  7. package/dist/{RefreshTable-BK-a6F4w.cjs → RefreshTable-CnvdYMek.cjs} +1 -1
  8. package/dist/{RefreshTable-BMZFOov3.js → RefreshTable-D4ifMTa_.js} +1 -1
  9. package/dist/{Search-ggJbFRUZ.cjs → Search-B9HBH338.cjs} +1 -1
  10. package/dist/{Search-CcSzJ7EN.js → Search-BkQ1aZEe.js} +2 -2
  11. package/dist/{Table-Cd3b9yno.cjs → Table-CGFEU1ml.cjs} +1 -1
  12. package/dist/{Table-DFgbsnAr.js → Table-CUFIrlzk.js} +3 -3
  13. package/dist/{TableServer-CkRGzG9m.cjs → TableServer-Ccn3CM5P.cjs} +1 -1
  14. package/dist/{TableServer-RGxAza7r.js → TableServer-DSAcYBTM.js} +3 -3
  15. package/dist/{cellRender-yRAYLhMZ.cjs → cellRender-8D0QBLeC.cjs} +1 -1
  16. package/dist/{cellRender-BrYyjDR0.js → cellRender-BBnDEG_7.js} +2 -2
  17. package/dist/{dataTables-BwYZVAqY.js → dataTables-B691de3Y.js} +205 -204
  18. package/dist/{dataTables-CT4H3tPX.cjs → dataTables-C0Ygb6M3.cjs} +2 -2
  19. package/dist/datatables.cjs +1 -1
  20. package/dist/datatables.js +1 -1
  21. package/dist/datatables2.css +1 -1
  22. package/dist/{index-CRNAJrYh.cjs → index-BiBUa6-_.cjs} +1 -1
  23. package/dist/{index-vAe2qE0y.js → index-C9x5Z2bI.js} +1202 -1198
  24. package/dist/{index-Bra3YXTV.js → index-CPLpre1I.js} +2 -2
  25. package/dist/index-CX6NrL8T.cjs +1 -0
  26. package/dist/{index-CI5-YbRX.cjs → index-D4MrgePs.cjs} +1 -1
  27. package/dist/{index-hM02sYDS.js → index-DwBno3e_.js} +2 -2
  28. package/dist/{index-CLiQ28nF.cjs → index-GgkpPHGm.cjs} +1 -1
  29. package/dist/{index-CWXBoVzR.js → index-H3lKuAD2.js} +2 -2
  30. package/dist/{index.es-BMrS5t0X.js → index.es-BISbMM3V.js} +1127 -1113
  31. package/dist/{index.es-bmkO-qSm.cjs → index.es-CK9mjb_K.cjs} +5 -5
  32. package/dist/{jspdf-BEHFm2qd.js → jspdf-CEG2zMqe.js} +2176 -2162
  33. package/dist/jspdf-DZiw2wns.cjs +79 -0
  34. package/dist/{useColumns-qXPhS6kv.js → useColumns-CTrxq_by.js} +2 -2
  35. package/dist/{useColumns-GzXxHCN7.cjs → useColumns-Cgjt48Pi.cjs} +1 -1
  36. package/dist/{useDownload-B9YtKO_M.js → useDownload-DpS1G0qa.js} +1 -1
  37. package/dist/{useDownload-CELkYaWd.cjs → useDownload-tCiK460H.cjs} +1 -1
  38. package/package.json +9 -9
  39. package/dist/index-Bascl9Tm.cjs +0 -1
  40. package/dist/jspdf-BCsjByej.cjs +0 -79
@@ -1,10 +1,10 @@
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";
1
+ import { ref as U, inject as _e, computed as I, toRef as R, shallowRef as ee, watch as se, createVNode as g, normalizeStyle as xe, normalizeClass as re, createElementVNode as b, mergeProps as N, withDirectives as Ue, vShow as Pt, Fragment as ce, toDisplayString as Vt, useModel as _t, openBlock as oe, createBlock as pe, withCtx as Ce, createElementBlock as Ke, renderList as Gt, unref as L, mergeModels as Wt, useId as Xe, provide as We, onScopeDispose as rt, nextTick as Se, onBeforeMount as Vn, onBeforeUnmount as xn, onMounted as at, cloneVNode as In, watchEffect as Ht, toValue as zt, createTextVNode as pl, defineAsyncComponent as Ee, resolveDynamicComponent as $e, isRef as xt, createCommentVNode as Me, 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-BwYZVAqY.js";
3
+ import { u as At, m as Ut, P as Cl, c as Ne, a as wn, e as Pn, r as _n, g as ie, b as Vl, d as xl, f as It, I as ct, h as de, V as sl, i as ke, j as Il, p as X, k as ye, l as wl, n as Oe, o as An, q as he, s as ot, t as qt, v as qe, w as Jt, x as He, R as lt, y as it, z as Xt, A as Ft, B as Yt, C as gt, D as Fn, E as Ve, 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 Le, Y as Dt, Z as bt, _ as el, $ as Tl, a0 as Bl, a1 as tl, a2 as pt, a3 as Rl, a4 as Te, 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 ze, 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-B691de3Y.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: o }) => {
7
+ const e = U([]), a = ({ table_id: o }) => {
8
8
  const u = e.value.findIndex((r) => r.id === o), d = {
9
9
  search: {
10
10
  query: ""
@@ -56,13 +56,13 @@ const Bt = Sl("datatables", () => {
56
56
  };
57
57
  });
58
58
  function Rt() {
59
- const { setData: e, getCurrentTable: a } = Bt(), t = Pe("table_props"), n = x(() => a(t.id)), l = x(() => n.value.search?.query), i = x(() => {
59
+ const { setData: e, getCurrentTable: a } = Bt(), t = _e("table_props"), n = I(() => a(t.id)), l = I(() => n.value.search?.query), i = I(() => {
60
60
  if (!t?.headers.length) return null;
61
61
  const d = n.value.options?.columns.selected ?? [];
62
62
  return (n.value.options?.columns.sorted ?? []).filter((m) => d.includes(m)).map(
63
63
  (m) => t.headers.find((v) => v.key === m)
64
64
  );
65
- }), c = x(() => n.value.hardFilters?.query), o = x(() => n.value.advancedFilters?.query);
65
+ }), c = I(() => n.value.hardFilters?.query), o = I(() => n.value.advancedFilters?.query);
66
66
  return {
67
67
  tableState: n,
68
68
  searchState: l,
@@ -119,24 +119,24 @@ async function vl(e, a, t, n) {
119
119
  if (r === s) return Promise.resolve(r);
120
120
  const m = performance.now();
121
121
  return new Promise((v) => requestAnimationFrame(function h(y) {
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)
122
+ const P = (y - m) / i.duration, _ = Math.floor(s + (r - s) * d(Ne(P, 0, 1)));
123
+ if (u[l] = _, P >= 1 && Math.abs(_ - u[l]) < 10)
124
124
  return v(r);
125
- if (w > 2)
125
+ if (P > 2)
126
126
  return wn("Scroll target is not reachable"), v(u[l]);
127
127
  requestAnimationFrame(h);
128
128
  }));
129
129
  }
130
130
  function aa() {
131
131
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
132
- const a = Pe(ta), {
132
+ const a = _e(ta), {
133
133
  isRtl: t
134
134
  } = At();
135
135
  if (!a) throw new Error("[Vuetify] Could not find injected goto instance");
136
136
  const n = {
137
137
  ...a,
138
138
  // can be set via VLocaleProvider
139
- rtl: E(() => a.rtl.value || t.value)
139
+ rtl: R(() => a.rtl.value || t.value)
140
140
  };
141
141
  async function l(i, c) {
142
142
  return vl(i, Ut(e, c), !1, n);
@@ -149,7 +149,7 @@ function oa(e, a, t, n) {
149
149
  scrollHeight: i
150
150
  } = e, [c, o] = e === document.scrollingElement ? [window.innerWidth, window.innerHeight] : [e.offsetWidth, e.offsetHeight];
151
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);
152
+ return n ? t ? (u = -(l - c), d = 0) : (u = 0, d = l - c) : (u = 0, d = i + -o), Ne(a, u, d);
153
153
  }
154
154
  function ia(e) {
155
155
  let {
@@ -192,7 +192,7 @@ function ft(e, a) {
192
192
  function Jl(e, a) {
193
193
  return a?.[e ? "offsetLeft" : "offsetTop"] || 0;
194
194
  }
195
- const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
195
+ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = X({
196
196
  centerActive: Boolean,
197
197
  scrollToActive: {
198
198
  type: Boolean,
@@ -223,11 +223,11 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
223
223
  ...An({
224
224
  mobile: null
225
225
  }),
226
- ...$e(),
226
+ ...Oe(),
227
227
  ...wl({
228
228
  selectedClass: "v-slide-group-item--active"
229
229
  })
230
- }, "VSlideGroup"), ml = oe()({
230
+ }, "VSlideGroup"), ml = ie()({
231
231
  name: "VSlideGroup",
232
232
  props: Yl(),
233
233
  emits: {
@@ -242,135 +242,135 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
242
242
  } = At(), {
243
243
  displayClasses: l,
244
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"), {
245
+ } = Vl(e), c = xl(e, e.symbol), o = ee(!1), u = ee(0), d = ee(0), r = ee(0), s = I(() => e.direction === "horizontal"), {
246
246
  resizeRef: m,
247
247
  contentRect: v
248
248
  } = It(), {
249
249
  resizeRef: h,
250
250
  contentRect: y
251
- } = It(), V = aa(), w = x(() => ({
251
+ } = It(), V = aa(), P = I(() => ({
252
252
  container: m.el,
253
253
  duration: 200,
254
254
  easing: "easeOutQuart"
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);
255
+ })), _ = I(() => c.selected.value.length ? c.items.value.findIndex((p) => p.id === c.selected.value[0]) : -1), S = I(() => c.selected.value.length ? c.items.value.findIndex((p) => p.id === c.selected.value[c.selected.value.length - 1]) : -1);
256
256
  if (ct) {
257
257
  let p = -1;
258
- ue(() => [c.selected.value, v.value, y.value, s.value], () => {
258
+ se(() => [c.selected.value, v.value, y.value, s.value], () => {
259
259
  cancelAnimationFrame(p), p = requestAnimationFrame(() => {
260
260
  if (v.value && y.value) {
261
261
  const f = s.value ? "width" : "height";
262
262
  d.value = v.value[f], r.value = y.value[f], o.value = d.value + 1 < r.value;
263
263
  }
264
- if (e.scrollToActive && P.value >= 0 && h.el) {
265
- const f = h.el.children[k.value];
266
- O(f, e.centerActive);
264
+ if (e.scrollToActive && _.value >= 0 && h.el) {
265
+ const f = h.el.children[S.value];
266
+ E(f, e.centerActive);
267
267
  }
268
268
  });
269
269
  });
270
270
  }
271
- const F = Z(!1);
272
- function O(p, f) {
273
- let _ = 0;
274
- f ? _ = ua({
271
+ const F = ee(!1);
272
+ function E(p, f) {
273
+ let A = 0;
274
+ f ? A = ua({
275
275
  containerElement: m.el,
276
276
  isHorizontal: s.value,
277
277
  selectedElement: p
278
- }) : _ = ia({
278
+ }) : A = ia({
279
279
  containerElement: m.el,
280
280
  isHorizontal: s.value,
281
281
  isRtl: n.value,
282
282
  selectedElement: p
283
- }), j(_);
283
+ }), K(A);
284
284
  }
285
- function j(p) {
285
+ function K(p) {
286
286
  if (!ct || !m.el) return;
287
- const f = ft(s.value, m.el), _ = ql(s.value, n.value, m.el);
287
+ const f = ft(s.value, m.el), A = ql(s.value, n.value, m.el);
288
288
  if (!(fl(s.value, m.el) <= f || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
289
- Math.abs(p - _) < 16)) {
289
+ Math.abs(p - A) < 16)) {
290
290
  if (s.value && n.value && m.el) {
291
291
  const {
292
- scrollWidth: de,
293
- offsetWidth: me
292
+ scrollWidth: ve,
293
+ offsetWidth: ge
294
294
  } = m.el;
295
- p = de - me - p;
295
+ p = ve - ge - p;
296
296
  }
297
- s.value ? V.horizontal(p, w.value) : V(p, w.value);
297
+ s.value ? V.horizontal(p, P.value) : V(p, P.value);
298
298
  }
299
299
  }
300
- function I(p) {
300
+ function w(p) {
301
301
  const {
302
302
  scrollTop: f,
303
- scrollLeft: _
303
+ scrollLeft: A
304
304
  } = p.target;
305
- u.value = s.value ? _ : f;
305
+ u.value = s.value ? A : f;
306
306
  }
307
- function S(p) {
307
+ function C(p) {
308
308
  if (F.value = !0, !(!o.value || !h.el)) {
309
309
  for (const f of p.composedPath())
310
- for (const _ of h.el.children)
311
- if (_ === f) {
312
- O(_);
310
+ for (const A of h.el.children)
311
+ if (A === f) {
312
+ E(A);
313
313
  return;
314
314
  }
315
315
  }
316
316
  }
317
- function M(p) {
317
+ function $(p) {
318
318
  F.value = !1;
319
319
  }
320
320
  let D = !1;
321
- function q(p) {
322
- !D && !F.value && !(p.relatedTarget && h.el?.contains(p.relatedTarget)) && W(), D = !1;
321
+ function G(p) {
322
+ !D && !F.value && !(p.relatedTarget && h.el?.contains(p.relatedTarget)) && j(), D = !1;
323
323
  }
324
- function te() {
324
+ function ne() {
325
325
  D = !0;
326
326
  }
327
327
  function H(p) {
328
328
  if (!h.el) return;
329
- function f(_) {
330
- p.preventDefault(), W(_);
329
+ function f(A) {
330
+ p.preventDefault(), j(A);
331
331
  }
332
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");
333
333
  }
334
- function J(p, f) {
334
+ function W(p, f) {
335
335
  if (!p) return;
336
- let _ = p;
336
+ let A = p;
337
337
  do
338
- _ = _?.[f === "next" ? "nextElementSibling" : "previousElementSibling"];
339
- while (_?.hasAttribute("disabled"));
340
- return _;
338
+ A = A?.[f === "next" ? "nextElementSibling" : "previousElementSibling"];
339
+ while (A?.hasAttribute("disabled"));
340
+ return A;
341
341
  }
342
- function W(p) {
342
+ function j(p) {
343
343
  if (!h.el) return;
344
344
  let f;
345
345
  if (!p)
346
346
  f = Il(h.el)[0];
347
347
  else if (p === "next") {
348
- if (f = J(h.el.querySelector(":focus"), p), !f) return W("first");
348
+ if (f = W(h.el.querySelector(":focus"), p), !f) return j("first");
349
349
  } else if (p === "prev") {
350
- if (f = J(h.el.querySelector(":focus"), p), !f) return W("last");
351
- } else p === "first" ? (f = h.el.firstElementChild, f?.hasAttribute("disabled") && (f = J(f, "next"))) : p === "last" && (f = h.el.lastElementChild, f?.hasAttribute("disabled") && (f = J(f, "prev")));
350
+ if (f = W(h.el.querySelector(":focus"), p), !f) return j("last");
351
+ } else p === "first" ? (f = h.el.firstElementChild, f?.hasAttribute("disabled") && (f = W(f, "next"))) : p === "last" && (f = h.el.lastElementChild, f?.hasAttribute("disabled") && (f = W(f, "prev")));
352
352
  f && f.focus({
353
353
  preventScroll: !0
354
354
  });
355
355
  }
356
- function ie(p) {
357
- const f = s.value && n.value ? -1 : 1, _ = (p === "prev" ? -f : f) * d.value;
358
- let Y = u.value + _;
356
+ function ue(p) {
357
+ const f = s.value && n.value ? -1 : 1, A = (p === "prev" ? -f : f) * d.value;
358
+ let J = u.value + A;
359
359
  if (s.value && n.value && m.el) {
360
360
  const {
361
- scrollWidth: de,
362
- offsetWidth: me
361
+ scrollWidth: ve,
362
+ offsetWidth: ge
363
363
  } = m.el;
364
- Y += de - me;
364
+ J += ve - ge;
365
365
  }
366
- j(Y);
366
+ K(J);
367
367
  }
368
- const X = x(() => ({
368
+ const q = I(() => ({
369
369
  next: c.next,
370
370
  prev: c.prev,
371
371
  select: c.select,
372
372
  isSelected: c.isSelected
373
- })), U = x(() => o.value || Math.abs(u.value) > 0), ve = x(() => {
373
+ })), z = I(() => o.value || Math.abs(u.value) > 0), fe = I(() => {
374
374
  switch (e.showArrows) {
375
375
  case "never":
376
376
  return !1;
@@ -383,75 +383,75 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
383
383
  // Show arrows on mobile when overflowing.
384
384
  // This matches the default 2.2 behavior
385
385
  case !0:
386
- return U.value;
386
+ return z.value;
387
387
  // Always show on mobile
388
388
  case "mobile":
389
- return i.value || U.value;
389
+ return i.value || z.value;
390
390
  // https://material.io/components/tabs#scrollable-tabs
391
391
  // Always show arrows when
392
392
  // overflowed on desktop
393
393
  default:
394
- return !i.value && U.value;
394
+ return !i.value && z.value;
395
395
  }
396
- }), T = x(() => Math.abs(u.value) > 1), $ = x(() => {
397
- if (!m.value || !U.value) return !1;
396
+ }), B = I(() => Math.abs(u.value) > 1), O = I(() => {
397
+ if (!m.value || !z.value) return !1;
398
398
  const p = fl(s.value, m.el), f = sa(s.value, m.el);
399
399
  return p - f - Math.abs(u.value) > 1;
400
400
  });
401
- return ce(() => g(e.tag, {
402
- class: se(["v-slide-group", {
401
+ return de(() => g(e.tag, {
402
+ class: re(["v-slide-group", {
403
403
  "v-slide-group--vertical": !s.value,
404
- "v-slide-group--has-affixes": ve.value,
404
+ "v-slide-group--has-affixes": fe.value,
405
405
  "v-slide-group--is-overflowing": o.value
406
406
  }, l.value, e.class]),
407
- style: Ie(e.style),
407
+ style: xe(e.style),
408
408
  tabindex: F.value || c.selected.value.length ? -1 : 0,
409
- onFocus: q
409
+ onFocus: G
410
410
  }, {
411
- default: () => [ve.value && b("div", {
411
+ default: () => [fe.value && b("div", {
412
412
  key: "prev",
413
- class: se(["v-slide-group__prev", {
414
- "v-slide-group__prev--disabled": !T.value
413
+ class: re(["v-slide-group__prev", {
414
+ "v-slide-group__prev--disabled": !B.value
415
415
  }]),
416
- onMousedown: te,
417
- onClick: () => T.value && ie("prev")
418
- }, [t.prev?.(X.value) ?? g(sl, null, {
419
- default: () => [g(Se, {
416
+ onMousedown: ne,
417
+ onClick: () => B.value && ue("prev")
418
+ }, [t.prev?.(q.value) ?? g(sl, null, {
419
+ default: () => [g(ke, {
420
420
  icon: n.value ? e.nextIcon : e.prevIcon
421
421
  }, null)]
422
422
  })]), b("div", {
423
423
  key: "container",
424
424
  ref: m,
425
- class: se(["v-slide-group__container", e.contentClass]),
426
- onScroll: I
425
+ class: re(["v-slide-group__container", e.contentClass]),
426
+ onScroll: w
427
427
  }, [b("div", {
428
428
  ref: h,
429
429
  class: "v-slide-group__content",
430
- onFocusin: S,
431
- onFocusout: M,
430
+ onFocusin: C,
431
+ onFocusout: $,
432
432
  onKeydown: H
433
- }, [t.default?.(X.value)])]), ve.value && b("div", {
433
+ }, [t.default?.(q.value)])]), fe.value && b("div", {
434
434
  key: "next",
435
- class: se(["v-slide-group__next", {
436
- "v-slide-group__next--disabled": !$.value
435
+ class: re(["v-slide-group__next", {
436
+ "v-slide-group__next--disabled": !O.value
437
437
  }]),
438
- onMousedown: te,
439
- onClick: () => $.value && ie("next")
440
- }, [t.next?.(X.value) ?? g(sl, null, {
441
- default: () => [g(Se, {
438
+ onMousedown: ne,
439
+ onClick: () => O.value && ue("next")
440
+ }, [t.next?.(q.value) ?? g(sl, null, {
441
+ default: () => [g(ke, {
442
442
  icon: n.value ? e.prevIcon : e.nextIcon
443
443
  }, null)]
444
444
  })])]
445
445
  })), {
446
446
  selected: c.selected,
447
- scrollTo: ie,
447
+ scrollTo: ue,
448
448
  scrollOffset: u,
449
- focus: W,
450
- hasPrev: T,
451
- hasNext: $
449
+ focus: j,
450
+ hasPrev: B,
451
+ hasNext: O
452
452
  };
453
453
  }
454
- }), Ql = /* @__PURE__ */ Symbol.for("vuetify:v-chip-group"), ra = Q({
454
+ }), Ql = /* @__PURE__ */ Symbol.for("vuetify:v-chip-group"), ra = X({
455
455
  baseColor: String,
456
456
  column: Boolean,
457
457
  filter: Boolean,
@@ -466,12 +466,12 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
466
466
  ...wl({
467
467
  selectedClass: "v-chip--selected"
468
468
  }),
469
- ...$e(),
470
- ...ze(),
469
+ ...Oe(),
470
+ ...He(),
471
471
  ...Jt({
472
472
  variant: "tonal"
473
473
  })
474
- }, "VChipGroup"), ca = oe()({
474
+ }, "VChipGroup"), ca = ie()({
475
475
  name: "VChipGroup",
476
476
  props: ra(),
477
477
  emits: {
@@ -492,13 +492,13 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
492
492
  } = xl(e, Ql);
493
493
  return qt({
494
494
  VChip: {
495
- baseColor: E(() => e.baseColor),
496
- color: E(() => e.color),
497
- disabled: E(() => e.disabled),
498
- filter: E(() => e.filter),
499
- variant: E(() => e.variant)
495
+ baseColor: R(() => e.baseColor),
496
+ color: R(() => e.color),
497
+ disabled: R(() => e.disabled),
498
+ filter: R(() => e.filter),
499
+ variant: R(() => e.variant)
500
500
  }
501
- }), ce(() => {
501
+ }), de(() => {
502
502
  const d = ml.filterProps(e);
503
503
  return g(ml, N(d, {
504
504
  class: ["v-chip-group", {
@@ -516,7 +516,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
516
516
  });
517
517
  }), {};
518
518
  }
519
- }), da = Q({
519
+ }), da = X({
520
520
  activeClass: String,
521
521
  appendAvatar: String,
522
522
  appendIcon: ye,
@@ -556,8 +556,8 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
556
556
  type: Boolean,
557
557
  default: !0
558
558
  },
559
- onClick: He(),
560
- onClickOnce: He(),
559
+ onClick: Le(),
560
+ onClickOnce: Le(),
561
561
  ...Zt(),
562
562
  ...he(),
563
563
  ...ht(),
@@ -566,14 +566,14 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
566
566
  ...yt(),
567
567
  ...Dl(),
568
568
  ...Dn(),
569
- ...$e({
569
+ ...Oe({
570
570
  tag: "span"
571
571
  }),
572
- ...ze(),
572
+ ...He(),
573
573
  ...Jt({
574
574
  variant: "tonal"
575
575
  })
576
- }, "VChip"), mt = oe()({
576
+ }, "VChip"), mt = ie()({
577
577
  name: "VChip",
578
578
  directives: {
579
579
  vRipple: lt
@@ -605,52 +605,52 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
605
605
  sizeClasses: r
606
606
  } = Fn(e), {
607
607
  themeClasses: s
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(() => ({
608
+ } = ot(e), m = Ve(e, "modelValue"), v = rl(e, Ql, !1), h = rl(e, Xl, !1), y = Pl(e, t), V = R(() => e.link !== !1 && y.isLink.value), P = I(() => !e.disabled && e.link !== !1 && (!!v || e.link || y.isClickable.value)), _ = R(() => ({
609
609
  "aria-label": i(e.closeLabel),
610
610
  disabled: e.disabled,
611
- onClick(S) {
612
- S.preventDefault(), S.stopPropagation(), m.value = !1, n("click:close", S);
611
+ onClick(C) {
612
+ C.preventDefault(), C.stopPropagation(), m.value = !1, n("click:close", C);
613
613
  }
614
614
  }));
615
- ue(m, (S) => {
616
- S ? (v?.register(), h?.register()) : (v?.unregister(), h?.unregister());
615
+ se(m, (C) => {
616
+ C ? (v?.register(), h?.register()) : (v?.unregister(), h?.unregister());
617
617
  });
618
618
  const {
619
- colorClasses: k,
619
+ colorClasses: S,
620
620
  colorStyles: F,
621
- variantClasses: O
621
+ variantClasses: E
622
622
  } = _l(() => ({
623
623
  color: !v || v.isSelected.value ? e.color ?? e.baseColor : e.baseColor,
624
624
  variant: e.variant
625
625
  }));
626
- function j(S) {
627
- n("click", S), w.value && (y.navigate.value?.(S), v?.toggle());
626
+ function K(C) {
627
+ n("click", C), P.value && (y.navigate.value?.(C), v?.toggle());
628
628
  }
629
- function I(S) {
630
- (S.key === "Enter" || S.key === " ") && (S.preventDefault(), j(S));
629
+ function w(C) {
630
+ (C.key === "Enter" || C.key === " ") && (C.preventDefault(), K(C));
631
631
  }
632
632
  return () => {
633
- const S = y.isLink.value ? "a" : e.tag, M = !!(e.appendIcon || e.appendAvatar), D = !!(M || l.append), q = !!(l.close || e.closable), te = !!(l.filter || e.filter) && v, H = !!(e.prependIcon || e.prependAvatar), J = !!(H || l.prepend);
634
- return m.value && Ke(g(S, N(y.linkProps, {
633
+ const C = y.isLink.value ? "a" : e.tag, $ = !!(e.appendIcon || e.appendAvatar), D = !!($ || l.append), G = !!(l.close || e.closable), ne = !!(l.filter || e.filter) && v, H = !!(e.prependIcon || e.prependAvatar), W = !!(H || l.prepend);
634
+ return m.value && Ue(g(C, N(y.linkProps, {
635
635
  class: ["v-chip", {
636
636
  "v-chip--disabled": e.disabled,
637
637
  "v-chip--label": e.label,
638
- "v-chip--link": w.value,
639
- "v-chip--filter": te,
638
+ "v-chip--link": P.value,
639
+ "v-chip--filter": ne,
640
640
  "v-chip--pill": e.pill,
641
641
  [`${e.activeClass}`]: e.activeClass && y.isActive?.value
642
- }, s.value, c.value, k.value, o.value, u.value, d.value, r.value, O.value, v?.selectedClass.value, e.class],
642
+ }, s.value, c.value, S.value, o.value, u.value, d.value, r.value, E.value, v?.selectedClass.value, e.class],
643
643
  style: [F.value, e.style],
644
644
  disabled: e.disabled || void 0,
645
645
  draggable: e.draggable,
646
- tabindex: w.value ? 0 : void 0,
647
- onClick: j,
648
- onKeydown: w.value && !V.value && I
646
+ tabindex: P.value ? 0 : void 0,
647
+ onClick: K,
648
+ onKeydown: P.value && !V.value && w
649
649
  }), {
650
- default: () => [Al(w.value, "v-chip"), te && g(Fl, {
650
+ default: () => [Al(P.value, "v-chip"), ne && g(Fl, {
651
651
  key: "filter"
652
652
  }, {
653
- default: () => [Ke(b("div", {
653
+ default: () => [Ue(b("div", {
654
654
  class: "v-chip__filter"
655
655
  }, [l.filter ? g(Fe, {
656
656
  key: "filter-defaults",
@@ -660,11 +660,11 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
660
660
  icon: e.filterIcon
661
661
  }
662
662
  }
663
- }, l.filter) : g(Se, {
663
+ }, l.filter) : g(ke, {
664
664
  key: "filter-icon",
665
665
  icon: e.filterIcon
666
666
  }, null)]), [[Pt, v.isSelected.value]])]
667
- }), J && b("div", {
667
+ }), W && b("div", {
668
668
  key: "prepend",
669
669
  class: "v-chip__prepend"
670
670
  }, [l.prepend ? g(Fe, {
@@ -680,7 +680,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
680
680
  start: !0
681
681
  }
682
682
  }
683
- }, l.prepend) : b(re, null, [e.prependIcon && g(Se, {
683
+ }, l.prepend) : b(ce, null, [e.prependIcon && g(ke, {
684
684
  key: "prepend-icon",
685
685
  icon: e.prependIcon,
686
686
  start: !0
@@ -703,7 +703,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
703
703
  class: "v-chip__append"
704
704
  }, [l.append ? g(Fe, {
705
705
  key: "append-defaults",
706
- disabled: !M,
706
+ disabled: !$,
707
707
  defaults: {
708
708
  VAvatar: {
709
709
  end: !0,
@@ -714,7 +714,7 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
714
714
  icon: e.appendIcon
715
715
  }
716
716
  }
717
- }, l.append) : b(re, null, [e.appendIcon && g(Se, {
717
+ }, l.append) : b(ce, null, [e.appendIcon && g(ke, {
718
718
  key: "append-icon",
719
719
  end: !0,
720
720
  icon: e.appendIcon
@@ -722,12 +722,12 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
722
722
  key: "append-avatar",
723
723
  end: !0,
724
724
  image: e.appendAvatar
725
- }, null)])]), q && b("button", N({
725
+ }, null)])]), G && b("button", N({
726
726
  key: "close",
727
727
  class: "v-chip__close",
728
728
  type: "button",
729
729
  "data-testid": "close-chip"
730
- }, P.value), [l.close ? g(Fe, {
730
+ }, _.value), [l.close ? g(Fe, {
731
731
  key: "close-defaults",
732
732
  defaults: {
733
733
  VIcon: {
@@ -735,15 +735,15 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
735
735
  size: "x-small"
736
736
  }
737
737
  }
738
- }, l.close) : g(Se, {
738
+ }, l.close) : g(ke, {
739
739
  key: "close-icon",
740
740
  icon: e.closeIcon,
741
741
  size: "x-small"
742
742
  }, null)])]
743
- }), [[lt, w.value && e.ripple, null]]);
743
+ }), [[lt, P.value && e.ripple, null]]);
744
744
  };
745
745
  }
746
- }), va = Q({
746
+ }), va = X({
747
747
  color: String,
748
748
  ...Zt(),
749
749
  ...he(),
@@ -752,9 +752,9 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
752
752
  ...tl(),
753
753
  ...Bl(),
754
754
  ...yt(),
755
- ...$e(),
756
- ...ze()
757
- }, "VSheet"), ol = oe()({
755
+ ...Oe(),
756
+ ...He()
757
+ }, "VSheet"), ol = ie()({
758
758
  name: "VSheet",
759
759
  props: va(),
760
760
  setup(e, a) {
@@ -779,9 +779,9 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
779
779
  } = Tl(e), {
780
780
  roundedClasses: s
781
781
  } = gt(e);
782
- return ce(() => g(e.tag, {
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])
782
+ return de(() => g(e.tag, {
783
+ class: re(["v-sheet", n.value, l.value, c.value, u.value, r.value, s.value, e.class]),
784
+ style: xe([i.value, o.value, d.value, e.style])
785
785
  }, t)), {};
786
786
  }
787
787
  }), fa = {
@@ -792,12 +792,12 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
792
792
  },
793
793
  emits: /* @__PURE__ */ Wt("save", ["update:modelValue"]),
794
794
  setup(e, { emit: a }) {
795
- const { advancedFiltersState: t } = Rt(), n = Pe("table_props"), l = _t(e, "modelValue"), i = (u, d) => {
795
+ const { advancedFiltersState: t } = Rt(), n = _e("table_props"), l = _t(e, "modelValue"), i = (u, d) => {
796
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
797
  const y = r.advancedFilter?.options?.items ?? [];
798
- let V = h, w;
799
- return y.length && (w = y.find((P) => P.value === h), w && (V = w.title)), typeof r.advancedFilter?.valueFormatter == "function" && (V = r.advancedFilter.valueFormatter({
800
- item: w,
798
+ let V = h, P;
799
+ return y.length && (P = y.find((_) => _.value === h), P && (V = P.title)), typeof r.advancedFilter?.valueFormatter == "function" && (V = r.advancedFilter.valueFormatter({
800
+ item: P,
801
801
  value: h
802
802
  })), V;
803
803
  });
@@ -805,11 +805,11 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
805
805
  }, c = (u) => {
806
806
  l.value[u] = { comparison: "=", value: null }, o("save");
807
807
  }, o = a;
808
- return (u, d) => (ae(), ke(ol, null, {
809
- default: Ve(() => [
808
+ return (u, d) => (oe(), pe(ol, null, {
809
+ default: Ce(() => [
810
810
  g(ca, null, {
811
- default: Ve(() => [
812
- (ae(!0), je(re, null, Gt(L(t), (r, s) => (ae(), ke(mt, {
811
+ default: Ce(() => [
812
+ (oe(!0), Ke(ce, null, Gt(L(t), (r, s) => (oe(), pe(mt, {
813
813
  key: s,
814
814
  class: "my-0",
815
815
  text: i(r, s),
@@ -825,27 +825,27 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
825
825
  _: 1
826
826
  }));
827
827
  }
828
- }, ma = Q({
828
+ }, ma = X({
829
829
  text: String,
830
- onClick: He(),
830
+ onClick: Le(),
831
831
  ...he(),
832
- ...ze()
833
- }, "VLabel"), Zl = oe()({
832
+ ...He()
833
+ }, "VLabel"), Zl = ie()({
834
834
  name: "VLabel",
835
835
  props: ma(),
836
836
  setup(e, a) {
837
837
  let {
838
838
  slots: t
839
839
  } = a;
840
- return ce(() => b("label", {
841
- class: se(["v-label", {
840
+ return de(() => b("label", {
841
+ class: re(["v-label", {
842
842
  "v-label--clickable": !!e.onClick
843
843
  }, e.class]),
844
- style: Ie(e.style),
844
+ style: xe(e.style),
845
845
  onClick: e.onClick
846
846
  }, [e.text, t.default?.()])), {};
847
847
  }
848
- }), en = /* @__PURE__ */ Symbol.for("vuetify:selection-control-group"), tn = Q({
848
+ }), en = /* @__PURE__ */ Symbol.for("vuetify:selection-control-group"), tn = X({
849
849
  color: String,
850
850
  disabled: {
851
851
  type: Boolean,
@@ -878,13 +878,13 @@ const Xl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Yl = Q({
878
878
  },
879
879
  ...he(),
880
880
  ...ht(),
881
- ...ze()
882
- }, "SelectionControlGroup"), ga = Q({
881
+ ...He()
882
+ }, "SelectionControlGroup"), ga = X({
883
883
  ...tn({
884
884
  defaultsTarget: "VSelectionControl"
885
885
  })
886
886
  }, "VSelectionControlGroup");
887
- oe()({
887
+ ie()({
888
888
  name: "VSelectionControlGroup",
889
889
  props: ga(),
890
890
  emits: {
@@ -894,7 +894,7 @@ oe()({
894
894
  let {
895
895
  slots: t
896
896
  } = a;
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();
897
+ const n = Ve(e, "modelValue"), l = Xe(), i = R(() => e.id || `v-selection-control-group-${l}`), c = R(() => e.name || i.value), o = /* @__PURE__ */ new Set();
898
898
  return We(en, {
899
899
  modelValue: n,
900
900
  forceUpdate: () => {
@@ -907,31 +907,31 @@ oe()({
907
907
  }
908
908
  }), qt({
909
909
  [e.defaultsTarget]: {
910
- color: E(() => e.color),
911
- disabled: E(() => e.disabled),
912
- density: E(() => e.density),
913
- error: E(() => e.error),
914
- inline: E(() => e.inline),
910
+ color: R(() => e.color),
911
+ disabled: R(() => e.disabled),
912
+ density: R(() => e.density),
913
+ error: R(() => e.error),
914
+ inline: R(() => e.inline),
915
915
  modelValue: n,
916
- multiple: E(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)),
916
+ multiple: R(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)),
917
917
  name: c,
918
- falseIcon: E(() => e.falseIcon),
919
- trueIcon: E(() => e.trueIcon),
920
- readonly: E(() => e.readonly),
921
- ripple: E(() => e.ripple),
922
- type: E(() => e.type),
923
- valueComparator: E(() => e.valueComparator)
918
+ falseIcon: R(() => e.falseIcon),
919
+ trueIcon: R(() => e.trueIcon),
920
+ readonly: R(() => e.readonly),
921
+ ripple: R(() => e.ripple),
922
+ type: R(() => e.type),
923
+ valueComparator: R(() => e.valueComparator)
924
924
  }
925
- }), ce(() => b("div", {
926
- class: se(["v-selection-control-group", {
925
+ }), de(() => b("div", {
926
+ class: re(["v-selection-control-group", {
927
927
  "v-selection-control-group--inline": e.inline
928
928
  }, e.class]),
929
- style: Ie(e.style),
929
+ style: xe(e.style),
930
930
  role: e.type === "radio" ? "radiogroup" : void 0
931
931
  }, [t.default?.()])), {};
932
932
  }
933
933
  });
934
- const ln = Q({
934
+ const ln = X({
935
935
  label: String,
936
936
  baseColor: String,
937
937
  trueValue: null,
@@ -941,18 +941,18 @@ const ln = Q({
941
941
  ...tn()
942
942
  }, "VSelectionControl");
943
943
  function ya(e) {
944
- const a = Pe(en, void 0), {
944
+ const a = _e(en, void 0), {
945
945
  densityClasses: t
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({
946
+ } = Ft(e), n = Ve(e, "modelValue"), l = I(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), i = I(() => e.falseValue !== void 0 ? e.falseValue : !1), c = I(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), o = I({
947
947
  get() {
948
948
  const v = a ? a.modelValue.value : n.value;
949
- return c.value ? Ee(v).some((h) => e.valueComparator(h, l.value)) : e.valueComparator(v, l.value);
949
+ return c.value ? Te(v).some((h) => e.valueComparator(h, l.value)) : e.valueComparator(v, l.value);
950
950
  },
951
951
  set(v) {
952
952
  if (e.readonly) return;
953
953
  const h = v ? l.value : i.value;
954
954
  let y = h;
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;
955
+ c.value && (y = v ? [...Te(n.value), h] : Te(n.value).filter((V) => !e.valueComparator(V, l.value))), a ? a.modelValue.value = y : n.value = y;
956
956
  }
957
957
  }), {
958
958
  textColorClasses: u,
@@ -963,7 +963,7 @@ function ya(e) {
963
963
  }), {
964
964
  backgroundColorClasses: r,
965
965
  backgroundColorStyles: s
966
- } = Dt(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor), m = x(() => o.value ? e.trueIcon : e.falseIcon);
966
+ } = Dt(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor), m = I(() => o.value ? e.trueIcon : e.falseIcon);
967
967
  return {
968
968
  group: a,
969
969
  densityClasses: t,
@@ -977,7 +977,7 @@ function ya(e) {
977
977
  icon: m
978
978
  };
979
979
  }
980
- const gl = oe()({
980
+ const gl = ie()({
981
981
  name: "VSelectionControl",
982
982
  directives: {
983
983
  vRipple: lt
@@ -1002,47 +1002,47 @@ const gl = oe()({
1002
1002
  backgroundColorClasses: r,
1003
1003
  backgroundColorStyles: s,
1004
1004
  trueValue: m
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);
1005
+ } = ya(e), v = Xe(), h = ee(!1), y = ee(!1), V = U(), P = R(() => e.id || `input-${v}`), _ = R(() => !e.disabled && !e.readonly);
1006
1006
  l?.onForceUpdate(() => {
1007
1007
  V.value && (V.value.checked = o.value);
1008
1008
  });
1009
- function k(I) {
1010
- P.value && (h.value = !0, dt(I.target, ":focus-visible") !== !1 && (y.value = !0));
1009
+ function S(w) {
1010
+ _.value && (h.value = !0, dt(w.target, ":focus-visible") !== !1 && (y.value = !0));
1011
1011
  }
1012
1012
  function F() {
1013
1013
  h.value = !1, y.value = !1;
1014
1014
  }
1015
- function O(I) {
1016
- I.stopPropagation();
1015
+ function E(w) {
1016
+ w.stopPropagation();
1017
1017
  }
1018
- function j(I) {
1019
- if (!P.value) {
1018
+ function K(w) {
1019
+ if (!_.value) {
1020
1020
  V.value && (V.value.checked = o.value);
1021
1021
  return;
1022
1022
  }
1023
- e.readonly && l && Ce(() => l.forceUpdate()), o.value = I.target.checked;
1023
+ e.readonly && l && Se(() => l.forceUpdate()), o.value = w.target.checked;
1024
1024
  }
1025
- return ce(() => {
1026
- const I = n.label ? n.label({
1025
+ return de(() => {
1026
+ const w = n.label ? n.label({
1027
1027
  label: e.label,
1028
1028
  props: {
1029
- for: w.value
1029
+ for: P.value
1030
1030
  }
1031
- }) : e.label, [S, M] = Rl(t), D = b("input", N({
1031
+ }) : e.label, [C, $] = Rl(t), D = b("input", N({
1032
1032
  ref: V,
1033
1033
  checked: o.value,
1034
1034
  disabled: !!e.disabled,
1035
- id: w.value,
1035
+ id: P.value,
1036
1036
  onBlur: F,
1037
- onFocus: k,
1038
- onInput: j,
1037
+ onFocus: S,
1038
+ onInput: K,
1039
1039
  "aria-disabled": !!e.disabled,
1040
1040
  "aria-label": e.label,
1041
1041
  type: e.type,
1042
1042
  value: m.value,
1043
1043
  name: e.name,
1044
1044
  "aria-checked": e.type === "checkbox" ? o.value : void 0
1045
- }, M), null);
1045
+ }, $), null);
1046
1046
  return b("div", N({
1047
1047
  class: ["v-selection-control", {
1048
1048
  "v-selection-control--dirty": o.value,
@@ -1052,16 +1052,16 @@ const gl = oe()({
1052
1052
  "v-selection-control--focus-visible": y.value,
1053
1053
  "v-selection-control--inline": e.inline
1054
1054
  }, i.value, e.class]
1055
- }, S, {
1055
+ }, C, {
1056
1056
  style: e.style
1057
1057
  }), [b("div", {
1058
- class: se(["v-selection-control__wrapper", u.value]),
1059
- style: Ie(d.value)
1058
+ class: re(["v-selection-control__wrapper", u.value]),
1059
+ style: xe(d.value)
1060
1060
  }, [n.default?.({
1061
1061
  backgroundColorClasses: r,
1062
1062
  backgroundColorStyles: s
1063
- }), Ke(b("div", {
1064
- class: se(["v-selection-control__input"])
1063
+ }), Ue(b("div", {
1064
+ class: re(["v-selection-control__input"])
1065
1065
  }, [n.input?.({
1066
1066
  model: o,
1067
1067
  textColorClasses: u,
@@ -1071,28 +1071,28 @@ const gl = oe()({
1071
1071
  inputNode: D,
1072
1072
  icon: c.value,
1073
1073
  props: {
1074
- onFocus: k,
1074
+ onFocus: S,
1075
1075
  onBlur: F,
1076
- id: w.value
1076
+ id: P.value
1077
1077
  }
1078
- }) ?? b(re, null, [c.value && g(Se, {
1078
+ }) ?? b(ce, null, [c.value && g(ke, {
1079
1079
  key: "icon",
1080
1080
  icon: c.value
1081
1081
  }, null), D])]), [[lt, !e.disabled && !e.readonly && e.ripple, null, {
1082
1082
  center: !0,
1083
1083
  circle: !0
1084
- }]])]), I && g(Zl, {
1085
- for: w.value,
1086
- onClick: O
1084
+ }]])]), w && g(Zl, {
1085
+ for: P.value,
1086
+ onClick: E
1087
1087
  }, {
1088
- default: () => [I]
1088
+ default: () => [w]
1089
1089
  })]);
1090
1090
  }), {
1091
1091
  isFocused: h,
1092
1092
  input: V
1093
1093
  };
1094
1094
  }
1095
- }), ha = Q({
1095
+ }), ha = X({
1096
1096
  indeterminate: Boolean,
1097
1097
  indeterminateIcon: {
1098
1098
  type: ye,
@@ -1102,7 +1102,7 @@ const gl = oe()({
1102
1102
  falseIcon: "$checkboxOff",
1103
1103
  trueIcon: "$checkboxOn"
1104
1104
  })
1105
- }, "VCheckboxBtn"), nn = oe()({
1105
+ }, "VCheckboxBtn"), nn = ie()({
1106
1106
  name: "VCheckboxBtn",
1107
1107
  props: ha(),
1108
1108
  emits: {
@@ -1113,12 +1113,12 @@ const gl = oe()({
1113
1113
  let {
1114
1114
  slots: t
1115
1115
  } = a;
1116
- const n = xe(e, "indeterminate"), l = xe(e, "modelValue");
1116
+ const n = Ve(e, "indeterminate"), l = Ve(e, "modelValue");
1117
1117
  function i(u) {
1118
1118
  n.value && (n.value = !1);
1119
1119
  }
1120
- const c = E(() => n.value ? e.indeterminateIcon : e.falseIcon), o = E(() => n.value ? e.indeterminateIcon : e.trueIcon);
1121
- return ce(() => {
1120
+ const c = R(() => n.value ? e.indeterminateIcon : e.falseIcon), o = R(() => n.value ? e.indeterminateIcon : e.trueIcon);
1121
+ return de(() => {
1122
1122
  const u = Ye(gl.filterProps(e), ["modelValue"]);
1123
1123
  return g(gl, N(u, {
1124
1124
  modelValue: l.value,
@@ -1154,7 +1154,7 @@ function Et(e) {
1154
1154
  s.key !== "Enter" && s.key !== " " || (s.preventDefault(), s.stopPropagation(), El(u, new PointerEvent("click", s)));
1155
1155
  }
1156
1156
  const r = u && o ? a(`$vuetify.input.${o}`, e.label ?? "") : void 0;
1157
- return g(Se, N({
1157
+ return g(ke, N({
1158
1158
  icon: e[`${l}Icon`],
1159
1159
  "aria-label": r,
1160
1160
  onClick: u,
@@ -1166,7 +1166,7 @@ function Et(e) {
1166
1166
  InputIcon: t
1167
1167
  };
1168
1168
  }
1169
- const ba = Q({
1169
+ const ba = X({
1170
1170
  active: Boolean,
1171
1171
  color: String,
1172
1172
  messages: {
@@ -1181,22 +1181,22 @@ const ba = Q({
1181
1181
  group: !0
1182
1182
  }
1183
1183
  })
1184
- }, "VMessages"), pa = oe()({
1184
+ }, "VMessages"), pa = ie()({
1185
1185
  name: "VMessages",
1186
1186
  props: ba(),
1187
1187
  setup(e, a) {
1188
1188
  let {
1189
1189
  slots: t
1190
1190
  } = a;
1191
- const n = x(() => Ee(e.messages)), {
1191
+ const n = I(() => Te(e.messages)), {
1192
1192
  textColorClasses: l,
1193
1193
  textColorStyles: i
1194
1194
  } = kt(() => e.color);
1195
- return ce(() => g(ll, {
1195
+ return de(() => g(ll, {
1196
1196
  transition: e.transition,
1197
1197
  tag: "div",
1198
- class: se(["v-messages", l.value, e.class]),
1199
- style: Ie([i.value, e.style])
1198
+ class: re(["v-messages", l.value, e.class]),
1199
+ style: xe([i.value, e.style])
1200
1200
  }, {
1201
1201
  default: () => [e.active && n.value.map((c, o) => b("div", {
1202
1202
  class: "v-messages__message",
@@ -1206,13 +1206,13 @@ const ba = Q({
1206
1206
  }) : c]))]
1207
1207
  })), {};
1208
1208
  }
1209
- }), an = Q({
1209
+ }), an = X({
1210
1210
  focused: Boolean,
1211
- "onUpdate:focused": He()
1211
+ "onUpdate:focused": Le()
1212
1212
  }, "focus");
1213
1213
  function on(e) {
1214
1214
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $l();
1215
- const t = xe(e, "focused"), n = E(() => ({
1215
+ const t = Ve(e, "focused"), n = R(() => ({
1216
1216
  [`${a}--focused`]: t.value
1217
1217
  }));
1218
1218
  function l() {
@@ -1230,24 +1230,24 @@ function on(e) {
1230
1230
  }
1231
1231
  const ka = /* @__PURE__ */ Symbol.for("vuetify:form");
1232
1232
  function Ot(e) {
1233
- const a = Pe(ka, null);
1233
+ const a = _e(ka, null);
1234
1234
  return {
1235
1235
  ...a,
1236
- isReadonly: x(() => !!(e?.readonly ?? a?.isReadonly.value)),
1237
- isDisabled: x(() => !!(e?.disabled ?? a?.isDisabled.value))
1236
+ isReadonly: I(() => !!(e?.readonly ?? a?.isReadonly.value)),
1237
+ isDisabled: I(() => !!(e?.disabled ?? a?.isDisabled.value))
1238
1238
  };
1239
1239
  }
1240
1240
  const Sa = /* @__PURE__ */ Symbol.for("vuetify:rules");
1241
1241
  function Ca(e) {
1242
- const a = Pe(Sa, null);
1242
+ const a = _e(Sa, null);
1243
1243
  if (!e) {
1244
1244
  if (!a)
1245
1245
  throw new Error("Could not find Vuetify rules injection");
1246
1246
  return a.aliases;
1247
1247
  }
1248
- return a?.resolve(e) ?? E(e);
1248
+ return a?.resolve(e) ?? R(e);
1249
1249
  }
1250
- const Va = Q({
1250
+ const Va = X({
1251
1251
  disabled: {
1252
1252
  type: Boolean,
1253
1253
  default: null
@@ -1278,75 +1278,75 @@ const Va = Q({
1278
1278
  }, "validation");
1279
1279
  function xa(e) {
1280
1280
  let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $l(), t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xe();
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(() => {
1281
+ const n = Ve(e, "modelValue"), l = I(() => e.validationValue === void 0 ? n.value : e.validationValue), i = Ot(e), c = Ca(() => e.rules), o = U([]), u = ee(!0), d = I(() => !!(Te(n.value === "" ? null : n.value).length || Te(l.value === "" ? null : l.value).length)), r = I(() => e.errorMessages?.length ? Te(e.errorMessages).concat(o.value).slice(0, Math.max(0, Number(e.maxErrors))) : o.value), s = I(() => {
1282
1282
  let F = (e.validateOn ?? i.validateOn?.value) || "input";
1283
1283
  F === "lazy" && (F = "input lazy"), F === "eager" && (F = "input eager");
1284
- const O = new Set(F?.split(" ") ?? []);
1284
+ const E = new Set(F?.split(" ") ?? []);
1285
1285
  return {
1286
- input: O.has("input"),
1287
- blur: O.has("blur") || O.has("input") || O.has("invalid-input"),
1288
- invalidInput: O.has("invalid-input"),
1289
- lazy: O.has("lazy"),
1290
- eager: O.has("eager")
1286
+ input: E.has("input"),
1287
+ blur: E.has("blur") || E.has("input") || E.has("invalid-input"),
1288
+ invalidInput: E.has("invalid-input"),
1289
+ lazy: E.has("lazy"),
1290
+ eager: E.has("eager")
1291
1291
  };
1292
- }), m = 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(() => ({
1292
+ }), m = I(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? u.value ? o.value.length || s.value.lazy ? null : !0 : !o.value.length : !0), v = ee(!1), h = I(() => ({
1293
1293
  [`${a}--error`]: m.value === !1,
1294
1294
  [`${a}--dirty`]: d.value,
1295
1295
  [`${a}--disabled`]: i.isDisabled.value,
1296
1296
  [`${a}--readonly`]: i.isReadonly.value
1297
- })), y = Ml("validation"), V = x(() => e.name ?? L(t));
1297
+ })), y = Ml("validation"), V = I(() => e.name ?? L(t));
1298
1298
  Vn(() => {
1299
1299
  i.register?.({
1300
1300
  id: V.value,
1301
1301
  vm: y,
1302
- validate: k,
1303
- reset: w,
1304
- resetValidation: P
1302
+ validate: S,
1303
+ reset: P,
1304
+ resetValidation: _
1305
1305
  });
1306
1306
  }), xn(() => {
1307
1307
  i.unregister?.(V.value);
1308
1308
  }), at(async () => {
1309
- s.value.lazy || await k(!s.value.eager), i.update?.(V.value, m.value, r.value);
1309
+ s.value.lazy || await S(!s.value.eager), i.update?.(V.value, m.value, r.value);
1310
1310
  }), Kt(() => s.value.input || s.value.invalidInput && m.value === !1, () => {
1311
- ue(l, () => {
1311
+ se(l, () => {
1312
1312
  if (l.value != null)
1313
- k();
1313
+ S();
1314
1314
  else if (e.focused) {
1315
- const F = ue(() => e.focused, (O) => {
1316
- O || k(), F();
1315
+ const F = se(() => e.focused, (E) => {
1316
+ E || S(), F();
1317
1317
  });
1318
1318
  }
1319
1319
  });
1320
1320
  }), Kt(() => s.value.blur, () => {
1321
- ue(() => e.focused, (F) => {
1322
- F || k();
1321
+ se(() => e.focused, (F) => {
1322
+ F || S();
1323
1323
  });
1324
- }), ue([m, r], () => {
1324
+ }), se([m, r], () => {
1325
1325
  i.update?.(V.value, m.value, r.value);
1326
1326
  });
1327
- async function w() {
1328
- n.value = null, await Ce(), await P();
1329
- }
1330
1327
  async function P() {
1331
- u.value = !0, s.value.lazy ? o.value = [] : await k(!s.value.eager);
1328
+ n.value = null, await Se(), await _();
1332
1329
  }
1333
- async function k() {
1330
+ async function _() {
1331
+ u.value = !0, s.value.lazy ? o.value = [] : await S(!s.value.eager);
1332
+ }
1333
+ async function S() {
1334
1334
  let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
1335
- const O = [];
1335
+ const E = [];
1336
1336
  v.value = !0;
1337
- for (const j of c.value) {
1338
- if (O.length >= Number(e.maxErrors ?? 1))
1337
+ for (const K of c.value) {
1338
+ if (E.length >= Number(e.maxErrors ?? 1))
1339
1339
  break;
1340
- const S = await (typeof j == "function" ? j : () => j)(l.value);
1341
- if (S !== !0) {
1342
- if (S !== !1 && typeof S != "string") {
1343
- console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);
1340
+ const C = await (typeof K == "function" ? K : () => K)(l.value);
1341
+ if (C !== !0) {
1342
+ if (C !== !1 && typeof C != "string") {
1343
+ console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);
1344
1344
  continue;
1345
1345
  }
1346
- O.push(S || "");
1346
+ E.push(C || "");
1347
1347
  }
1348
1348
  }
1349
- return o.value = O, v.value = !1, u.value = F, o.value;
1349
+ return o.value = E, v.value = !1, u.value = F, o.value;
1350
1350
  }
1351
1351
  return {
1352
1352
  errorMessages: r,
@@ -1356,13 +1356,13 @@ function xa(e) {
1356
1356
  isPristine: u,
1357
1357
  isValid: m,
1358
1358
  isValidating: v,
1359
- reset: w,
1360
- resetValidation: P,
1361
- validate: k,
1359
+ reset: P,
1360
+ resetValidation: _,
1361
+ validate: S,
1362
1362
  validationClasses: h
1363
1363
  };
1364
1364
  }
1365
- const un = Q({
1365
+ const un = X({
1366
1366
  id: String,
1367
1367
  appendIcon: ye,
1368
1368
  baseColor: String,
@@ -1387,14 +1387,14 @@ const un = Q({
1387
1387
  default: "horizontal",
1388
1388
  validator: (e) => ["horizontal", "vertical"].includes(e)
1389
1389
  },
1390
- "onClick:prepend": He(),
1391
- "onClick:append": He(),
1390
+ "onClick:prepend": Le(),
1391
+ "onClick:append": Le(),
1392
1392
  ...he(),
1393
1393
  ...ht(),
1394
1394
  ...Bn(pt(), ["maxWidth", "minWidth", "width"]),
1395
- ...ze(),
1395
+ ...He(),
1396
1396
  ...Va()
1397
- }, "VInput"), yl = oe()({
1397
+ }, "VInput"), yl = ie()({
1398
1398
  name: "VInput",
1399
1399
  props: {
1400
1400
  ...un()
@@ -1418,81 +1418,81 @@ const un = Q({
1418
1418
  rtlClasses: u
1419
1419
  } = At(), {
1420
1420
  InputIcon: d
1421
- } = Et(e), r = Xe(), s = x(() => e.id || `input-${r}`), {
1421
+ } = Et(e), r = Xe(), s = I(() => e.id || `input-${r}`), {
1422
1422
  errorMessages: m,
1423
1423
  isDirty: v,
1424
1424
  isDisabled: h,
1425
1425
  isReadonly: y,
1426
1426
  isPristine: V,
1427
- isValid: w,
1428
- isValidating: P,
1429
- reset: k,
1427
+ isValid: P,
1428
+ isValidating: _,
1429
+ reset: S,
1430
1430
  resetValidation: F,
1431
- validate: O,
1432
- validationClasses: j
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(() => ({
1431
+ validate: E,
1432
+ validationClasses: K
1433
+ } = xa(e, "v-input", s), w = I(() => e.errorMessages?.length || !V.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), C = R(() => w.value.length > 0), $ = R(() => !e.hideDetails || e.hideDetails === "auto" && (C.value || !!n.details)), D = I(() => $.value ? `${s.value}-messages` : void 0), G = I(() => ({
1434
1434
  id: s,
1435
1435
  messagesId: D,
1436
1436
  isDirty: v,
1437
1437
  isDisabled: h,
1438
1438
  isReadonly: y,
1439
1439
  isPristine: V,
1440
- isValid: w,
1441
- isValidating: P,
1442
- hasDetails: M,
1443
- reset: k,
1440
+ isValid: P,
1441
+ isValidating: _,
1442
+ hasDetails: $,
1443
+ reset: S,
1444
1444
  resetValidation: F,
1445
- validate: O
1446
- })), te = E(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), H = E(() => {
1445
+ validate: E
1446
+ })), ne = R(() => e.error || e.disabled ? void 0 : e.focused ? e.color : e.baseColor), H = R(() => {
1447
1447
  if (e.iconColor)
1448
- return e.iconColor === !0 ? te.value : e.iconColor;
1448
+ return e.iconColor === !0 ? ne.value : e.iconColor;
1449
1449
  });
1450
- return ce(() => {
1451
- const J = !!(n.prepend || e.prependIcon), W = !!(n.append || e.appendIcon);
1450
+ return de(() => {
1451
+ const W = !!(n.prepend || e.prependIcon), j = !!(n.append || e.appendIcon);
1452
1452
  return b("div", {
1453
- class: se(["v-input", `v-input--${e.direction}`, {
1453
+ class: re(["v-input", `v-input--${e.direction}`, {
1454
1454
  "v-input--center-affix": e.centerAffix,
1455
1455
  "v-input--focused": e.focused,
1456
1456
  "v-input--glow": e.glow,
1457
1457
  "v-input--hide-spin-buttons": e.hideSpinButtons
1458
- }, i.value, o.value, u.value, j.value, e.class]),
1459
- style: Ie([c.value, e.style])
1460
- }, [J && b("div", {
1458
+ }, i.value, o.value, u.value, K.value, e.class]),
1459
+ style: xe([c.value, e.style])
1460
+ }, [W && b("div", {
1461
1461
  key: "prepend",
1462
1462
  class: "v-input__prepend"
1463
- }, [n.prepend ? n.prepend(q.value) : e.prependIcon && g(d, {
1463
+ }, [n.prepend ? n.prepend(G.value) : e.prependIcon && g(d, {
1464
1464
  key: "prepend-icon",
1465
1465
  name: "prepend",
1466
1466
  color: H.value
1467
1467
  }, null)]), n.default && b("div", {
1468
1468
  class: "v-input__control"
1469
- }, [n.default?.(q.value)]), W && b("div", {
1469
+ }, [n.default?.(G.value)]), j && b("div", {
1470
1470
  key: "append",
1471
1471
  class: "v-input__append"
1472
- }, [n.append ? n.append(q.value) : e.appendIcon && g(d, {
1472
+ }, [n.append ? n.append(G.value) : e.appendIcon && g(d, {
1473
1473
  key: "append-icon",
1474
1474
  name: "append",
1475
1475
  color: H.value
1476
- }, null)]), M.value && b("div", {
1476
+ }, null)]), $.value && b("div", {
1477
1477
  id: D.value,
1478
1478
  class: "v-input__details",
1479
1479
  role: "alert",
1480
1480
  "aria-live": "polite"
1481
1481
  }, [g(pa, {
1482
- active: S.value,
1483
- messages: I.value
1482
+ active: C.value,
1483
+ messages: w.value
1484
1484
  }, {
1485
1485
  message: n.message
1486
- }), n.details?.(q.value)])]);
1486
+ }), n.details?.(G.value)])]);
1487
1487
  }), {
1488
- reset: k,
1488
+ reset: S,
1489
1489
  resetValidation: F,
1490
- validate: O,
1491
- isValid: w,
1490
+ validate: E,
1491
+ isValid: P,
1492
1492
  errorMessages: m
1493
1493
  };
1494
1494
  }
1495
- }), Ia = Q({
1495
+ }), Ia = X({
1496
1496
  active: Boolean,
1497
1497
  disabled: Boolean,
1498
1498
  max: [Number, String],
@@ -1506,7 +1506,7 @@ const un = Q({
1506
1506
  component: Ol
1507
1507
  }
1508
1508
  })
1509
- }, "VCounter"), wa = oe()({
1509
+ }, "VCounter"), wa = ie()({
1510
1510
  name: "VCounter",
1511
1511
  functional: !0,
1512
1512
  props: Ia(),
@@ -1514,15 +1514,15 @@ const un = Q({
1514
1514
  let {
1515
1515
  slots: t
1516
1516
  } = a;
1517
- const n = E(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
1518
- return ce(() => g(ll, {
1517
+ const n = R(() => e.max ? `${e.value} / ${e.max}` : String(e.value));
1518
+ return de(() => g(ll, {
1519
1519
  transition: e.transition
1520
1520
  }, {
1521
- default: () => [Ke(b("div", {
1522
- class: se(["v-counter", {
1521
+ default: () => [Ue(b("div", {
1522
+ class: re(["v-counter", {
1523
1523
  "text-error": e.max && !e.disabled && parseFloat(e.value) > parseFloat(e.max)
1524
1524
  }, e.class]),
1525
- style: Ie(e.style)
1525
+ style: xe(e.style)
1526
1526
  }, [t.default ? t.default({
1527
1527
  counter: n.value,
1528
1528
  max: e.max,
@@ -1530,24 +1530,24 @@ const un = Q({
1530
1530
  }) : n.value]), [[Pt, e.active]])]
1531
1531
  })), {};
1532
1532
  }
1533
- }), Pa = Q({
1533
+ }), Pa = X({
1534
1534
  floating: Boolean,
1535
1535
  ...he()
1536
- }, "VFieldLabel"), Ct = oe()({
1536
+ }, "VFieldLabel"), Ct = ie()({
1537
1537
  name: "VFieldLabel",
1538
1538
  props: Pa(),
1539
1539
  setup(e, a) {
1540
1540
  let {
1541
1541
  slots: t
1542
1542
  } = a;
1543
- return ce(() => g(Zl, {
1544
- class: se(["v-field-label", {
1543
+ return de(() => g(Zl, {
1544
+ class: re(["v-field-label", {
1545
1545
  "v-field-label--floating": e.floating
1546
1546
  }, e.class]),
1547
- style: Ie(e.style)
1547
+ style: xe(e.style)
1548
1548
  }, t)), {};
1549
1549
  }
1550
- }), _a = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], sn = Q({
1550
+ }), _a = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], sn = X({
1551
1551
  appendInnerIcon: ye,
1552
1552
  bgColor: String,
1553
1553
  clearable: Boolean,
@@ -1581,14 +1581,14 @@ const un = Q({
1581
1581
  default: "filled",
1582
1582
  validator: (e) => _a.includes(e)
1583
1583
  },
1584
- "onClick:clear": He(),
1585
- "onClick:appendInner": He(),
1586
- "onClick:prependInner": He(),
1584
+ "onClick:clear": Le(),
1585
+ "onClick:appendInner": Le(),
1586
+ "onClick:prependInner": Le(),
1587
1587
  ...he(),
1588
1588
  ...Hl(),
1589
1589
  ...yt(),
1590
- ...ze()
1591
- }, "VField"), hl = oe()({
1590
+ ...He()
1591
+ }, "VField"), hl = ie()({
1592
1592
  name: "VField",
1593
1593
  inheritAttrs: !1,
1594
1594
  props: {
@@ -1623,75 +1623,75 @@ const un = Q({
1623
1623
  roundedClasses: m
1624
1624
  } = gt(e), {
1625
1625
  rtlClasses: v
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(() => {
1626
+ } = At(), h = R(() => e.dirty || e.active), y = R(() => !!(e.label || l.label)), V = R(() => !e.singleLine && y.value), P = Xe(), _ = I(() => e.id || `input-${P}`), S = R(() => e.details ? `${_.value}-messages` : void 0), F = U(), E = U(), K = U(), w = I(() => ["plain", "underlined"].includes(e.variant)), C = I(() => e.error || e.disabled ? void 0 : h.value && u.value ? e.color : e.baseColor), $ = I(() => {
1627
1627
  if (!(!e.iconColor || e.glow && !u.value))
1628
- return e.iconColor === !0 ? S.value : e.iconColor;
1628
+ return e.iconColor === !0 ? C.value : e.iconColor;
1629
1629
  }), {
1630
1630
  backgroundColorClasses: D,
1631
- backgroundColorStyles: q
1631
+ backgroundColorStyles: G
1632
1632
  } = Dt(() => e.bgColor), {
1633
- textColorClasses: te,
1633
+ textColorClasses: ne,
1634
1634
  textColorStyles: H
1635
- } = kt(S);
1636
- ue(h, (U) => {
1635
+ } = kt(C);
1636
+ se(h, (z) => {
1637
1637
  if (V.value && !Cl()) {
1638
- const ve = F.value.$el, T = O.value.$el;
1638
+ const fe = F.value.$el, B = E.value.$el;
1639
1639
  requestAnimationFrame(() => {
1640
- const $ = Rn(ve), p = T.getBoundingClientRect(), f = p.x - $.x, _ = p.y - $.y - ($.height / 2 - p.height / 2), Y = p.width / 0.75, de = Math.abs(Y - $.width) > 1 ? {
1641
- maxWidth: et(Y)
1642
- } : void 0, me = getComputedStyle(ve), be = getComputedStyle(T), we = parseFloat(me.transitionDuration) * 1e3 || 150, Te = parseFloat(be.getPropertyValue("--v-field-label-scale")), Ge = be.getPropertyValue("color");
1643
- ve.style.visibility = "visible", T.style.visibility = "hidden", En(ve, {
1644
- transform: `translate(${f}px, ${_}px) scale(${Te})`,
1645
- color: Ge,
1646
- ...de
1640
+ const O = Rn(fe), p = B.getBoundingClientRect(), f = p.x - O.x, A = p.y - O.y - (O.height / 2 - p.height / 2), J = p.width / 0.75, ve = Math.abs(J - O.width) > 1 ? {
1641
+ maxWidth: et(J)
1642
+ } : void 0, ge = getComputedStyle(fe), be = getComputedStyle(B), Ie = parseFloat(ge.transitionDuration) * 1e3 || 150, De = parseFloat(be.getPropertyValue("--v-field-label-scale")), je = be.getPropertyValue("color");
1643
+ fe.style.visibility = "visible", B.style.visibility = "hidden", En(fe, {
1644
+ transform: `translate(${f}px, ${A}px) scale(${De})`,
1645
+ color: je,
1646
+ ...ve
1647
1647
  }, {
1648
- duration: we,
1648
+ duration: Ie,
1649
1649
  easing: On,
1650
- direction: U ? "normal" : "reverse"
1650
+ direction: z ? "normal" : "reverse"
1651
1651
  }).finished.then(() => {
1652
- ve.style.removeProperty("visibility"), T.style.removeProperty("visibility");
1652
+ fe.style.removeProperty("visibility"), B.style.removeProperty("visibility");
1653
1653
  });
1654
1654
  });
1655
1655
  }
1656
1656
  }, {
1657
1657
  flush: "post"
1658
1658
  });
1659
- const J = x(() => ({
1659
+ const W = I(() => ({
1660
1660
  isActive: h,
1661
1661
  isFocused: u,
1662
- controlRef: j,
1663
- iconColor: M,
1662
+ controlRef: K,
1663
+ iconColor: $,
1664
1664
  blur: r,
1665
1665
  focus: d
1666
- })), W = E(() => {
1667
- const U = !h.value;
1666
+ })), j = R(() => {
1667
+ const z = !h.value;
1668
1668
  return {
1669
- "aria-hidden": U,
1670
- for: U ? void 0 : P.value
1669
+ "aria-hidden": z,
1670
+ for: z ? void 0 : _.value
1671
1671
  };
1672
- }), ie = E(() => {
1673
- const U = V.value && h.value;
1672
+ }), ue = R(() => {
1673
+ const z = V.value && h.value;
1674
1674
  return {
1675
- "aria-hidden": U,
1676
- for: U ? void 0 : P.value
1675
+ "aria-hidden": z,
1676
+ for: z ? void 0 : _.value
1677
1677
  };
1678
1678
  });
1679
- function X(U) {
1680
- U.target !== document.activeElement && U.preventDefault();
1679
+ function q(z) {
1680
+ z.target !== document.activeElement && z.preventDefault();
1681
1681
  }
1682
- return ce(() => {
1683
- const U = e.variant === "outlined", ve = !!(l["prepend-inner"] || e.prependInnerIcon), T = !!(e.clearable || l.clear) && !e.disabled, $ = !!(l["append-inner"] || e.appendInnerIcon || T), p = () => l.label ? l.label({
1684
- ...J.value,
1682
+ return de(() => {
1683
+ const z = e.variant === "outlined", fe = !!(l["prepend-inner"] || e.prependInnerIcon), B = !!(e.clearable || l.clear) && !e.disabled, O = !!(l["append-inner"] || e.appendInnerIcon || B), p = () => l.label ? l.label({
1684
+ ...W.value,
1685
1685
  label: e.label,
1686
1686
  props: {
1687
- for: P.value
1687
+ for: _.value
1688
1688
  }
1689
1689
  }) : e.label;
1690
1690
  return b("div", N({
1691
1691
  class: ["v-field", {
1692
1692
  "v-field--active": h.value,
1693
- "v-field--appended": $,
1694
- "v-field--center-affix": e.centerAffix ?? !I.value,
1693
+ "v-field--appended": O,
1694
+ "v-field--center-affix": e.centerAffix ?? !w.value,
1695
1695
  "v-field--disabled": e.disabled,
1696
1696
  "v-field--dirty": e.dirty,
1697
1697
  "v-field--error": e.error,
@@ -1699,14 +1699,14 @@ const un = Q({
1699
1699
  "v-field--flat": e.flat,
1700
1700
  "v-field--has-background": !!e.bgColor,
1701
1701
  "v-field--persistent-clear": e.persistentClear,
1702
- "v-field--prepended": ve,
1702
+ "v-field--prepended": fe,
1703
1703
  "v-field--reverse": e.reverse,
1704
1704
  "v-field--single-line": e.singleLine,
1705
1705
  "v-field--no-label": !p(),
1706
1706
  [`v-field--variant-${e.variant}`]: !0
1707
1707
  }, i.value, D.value, o.value, c.value, m.value, v.value, e.class],
1708
- style: [q.value, e.style],
1709
- onClick: X
1708
+ style: [G.value, e.style],
1709
+ onClick: q
1710
1710
  }, t), [b("div", {
1711
1711
  class: "v-field__overlay"
1712
1712
  }, null), g(Ll, {
@@ -1715,22 +1715,22 @@ const un = Q({
1715
1715
  color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color
1716
1716
  }, {
1717
1717
  default: l.loader
1718
- }), ve && b("div", {
1718
+ }), fe && b("div", {
1719
1719
  key: "prepend",
1720
1720
  class: "v-field__prepend-inner"
1721
- }, [l["prepend-inner"] ? l["prepend-inner"](J.value) : e.prependInnerIcon && g(s, {
1721
+ }, [l["prepend-inner"] ? l["prepend-inner"](W.value) : e.prependInnerIcon && g(s, {
1722
1722
  key: "prepend-icon",
1723
1723
  name: "prependInner",
1724
- color: M.value
1724
+ color: $.value
1725
1725
  }, null)]), b("div", {
1726
1726
  class: "v-field__field",
1727
1727
  "data-no-activator": ""
1728
1728
  }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && V.value && g(Ct, N({
1729
1729
  key: "floating-label",
1730
- ref: O,
1731
- class: [te.value],
1730
+ ref: E,
1731
+ class: [ne.value],
1732
1732
  floating: !0
1733
- }, W.value, {
1733
+ }, j.value, {
1734
1734
  style: H.value
1735
1735
  }), {
1736
1736
  default: () => [p()]
@@ -1738,25 +1738,25 @@ const un = Q({
1738
1738
  key: "label",
1739
1739
  ref: F,
1740
1740
  id: e.labelId
1741
- }, ie.value), {
1741
+ }, ue.value), {
1742
1742
  default: () => [p()]
1743
1743
  }), l.default?.({
1744
- ...J.value,
1744
+ ...W.value,
1745
1745
  props: {
1746
- id: P.value,
1746
+ id: _.value,
1747
1747
  class: "v-field__input",
1748
- "aria-describedby": k.value
1748
+ "aria-describedby": S.value
1749
1749
  },
1750
1750
  focus: d,
1751
1751
  blur: r
1752
1752
  }) ?? b("div", {
1753
- id: P.value,
1753
+ id: _.value,
1754
1754
  class: "v-field__input",
1755
- "aria-describedby": k.value
1756
- }, null)]), T && g(Fl, {
1755
+ "aria-describedby": S.value
1756
+ }, null)]), B && g(Fl, {
1757
1757
  key: "clear"
1758
1758
  }, {
1759
- default: () => [Ke(b("div", {
1759
+ default: () => [Ue(b("div", {
1760
1760
  class: "v-field__clearable",
1761
1761
  onMousedown: (f) => {
1762
1762
  f.preventDefault(), f.stopPropagation();
@@ -1769,7 +1769,7 @@ const un = Q({
1769
1769
  }
1770
1770
  }, {
1771
1771
  default: () => [l.clear ? l.clear({
1772
- ...J.value,
1772
+ ...W.value,
1773
1773
  props: {
1774
1774
  onFocus: d,
1775
1775
  onBlur: r,
@@ -1783,46 +1783,46 @@ const un = Q({
1783
1783
  tabindex: -1
1784
1784
  }, null)]
1785
1785
  })]), [[Pt, e.dirty]])]
1786
- }), $ && b("div", {
1786
+ }), O && b("div", {
1787
1787
  key: "append",
1788
1788
  class: "v-field__append-inner"
1789
- }, [l["append-inner"] ? l["append-inner"](J.value) : e.appendInnerIcon && g(s, {
1789
+ }, [l["append-inner"] ? l["append-inner"](W.value) : e.appendInnerIcon && g(s, {
1790
1790
  key: "append-icon",
1791
1791
  name: "appendInner",
1792
- color: M.value
1792
+ color: $.value
1793
1793
  }, null)]), b("div", {
1794
- class: se(["v-field__outline", te.value]),
1795
- style: Ie(H.value)
1796
- }, [U && b(re, null, [b("div", {
1794
+ class: re(["v-field__outline", ne.value]),
1795
+ style: xe(H.value)
1796
+ }, [z && b(ce, null, [b("div", {
1797
1797
  class: "v-field__outline__start"
1798
1798
  }, null), V.value && b("div", {
1799
1799
  class: "v-field__outline__notch"
1800
1800
  }, [g(Ct, N({
1801
- ref: O,
1801
+ ref: E,
1802
1802
  floating: !0
1803
- }, W.value), {
1803
+ }, j.value), {
1804
1804
  default: () => [p()]
1805
1805
  })]), b("div", {
1806
1806
  class: "v-field__outline__end"
1807
- }, null)]), I.value && V.value && g(Ct, N({
1808
- ref: O,
1807
+ }, null)]), w.value && V.value && g(Ct, N({
1808
+ ref: E,
1809
1809
  floating: !0
1810
- }, W.value), {
1810
+ }, j.value), {
1811
1811
  default: () => [p()]
1812
1812
  })])]);
1813
1813
  }), {
1814
- controlRef: j,
1815
- fieldIconColor: M
1814
+ controlRef: K,
1815
+ fieldIconColor: $
1816
1816
  };
1817
1817
  }
1818
- }), Aa = Q({
1818
+ }), Aa = X({
1819
1819
  autocomplete: String
1820
1820
  }, "autocomplete");
1821
1821
  function rn(e) {
1822
- const a = Xe(), t = Z(0), n = E(() => e.autocomplete === "suppress"), l = E(() => {
1822
+ const a = Xe(), t = ee(0), n = R(() => e.autocomplete === "suppress"), l = R(() => {
1823
1823
  if (e.name)
1824
1824
  return n.value ? `${e.name}-${a}-${t.value}` : e.name;
1825
- }), i = E(() => n.value ? "off" : e.autocomplete);
1825
+ }), i = R(() => n.value ? "off" : e.autocomplete);
1826
1826
  return {
1827
1827
  isSuppressing: n,
1828
1828
  fieldAutocomplete: i,
@@ -1840,7 +1840,7 @@ function Fa(e) {
1840
1840
  onIntersect: a
1841
1841
  };
1842
1842
  }
1843
- const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"], $t = Q({
1843
+ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"], $t = X({
1844
1844
  autofocus: Boolean,
1845
1845
  counter: [Boolean, Number, String],
1846
1846
  counterValue: [Number, Function],
@@ -1858,7 +1858,7 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1858
1858
  ...Aa(),
1859
1859
  ...Ye(un(), ["direction"]),
1860
1860
  ...sn()
1861
- }, "VTextField"), Je = oe()({
1861
+ }, "VTextField"), Je = ie()({
1862
1862
  name: "VTextField",
1863
1863
  directives: {
1864
1864
  vIntersect: cl
@@ -1877,107 +1877,107 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1877
1877
  emit: n,
1878
1878
  slots: l
1879
1879
  } = a;
1880
- const i = xe(e, "modelValue", void 0, (I) => Object.is(I, -0) ? "-0" : I), {
1880
+ const i = Ve(e, "modelValue", void 0, (w) => Object.is(w, -0) ? "-0" : w), {
1881
1881
  isFocused: c,
1882
1882
  focus: o,
1883
1883
  blur: u
1884
1884
  } = on(e), {
1885
1885
  onIntersect: d
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(() => {
1886
+ } = Fa(e), r = I(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), s = I(() => {
1887
1887
  if (t.maxlength) return t.maxlength;
1888
1888
  if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
1889
1889
  return e.counter;
1890
- }), m = 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);
1891
- function P() {
1892
- V.isSuppressing.value && V.update(), c.value || o(), Ce(() => {
1890
+ }), m = I(() => ["plain", "underlined"].includes(e.variant)), v = U(), h = U(), y = U(), V = rn(e), P = I(() => Da.includes(e.type) || e.persistentPlaceholder || c.value || e.active);
1891
+ function _() {
1892
+ V.isSuppressing.value && V.update(), c.value || o(), Se(() => {
1893
1893
  y.value !== document.activeElement && y.value?.focus();
1894
1894
  });
1895
1895
  }
1896
- function k(I) {
1897
- n("mousedown:control", I), I.target !== y.value && (P(), I.preventDefault());
1896
+ function S(w) {
1897
+ n("mousedown:control", w), w.target !== y.value && (_(), w.preventDefault());
1898
1898
  }
1899
- function F(I) {
1900
- n("click:control", I);
1899
+ function F(w) {
1900
+ n("click:control", w);
1901
1901
  }
1902
- function O(I, S) {
1903
- I.stopPropagation(), P(), Ce(() => {
1904
- S(), El(e["onClick:clear"], I);
1902
+ function E(w, C) {
1903
+ w.stopPropagation(), _(), Se(() => {
1904
+ C(), El(e["onClick:clear"], w);
1905
1905
  });
1906
1906
  }
1907
- function j(I) {
1908
- const S = I.target;
1907
+ function K(w) {
1908
+ const C = w.target;
1909
1909
  if (!(e.modelModifiers?.trim && ["text", "search", "password", "tel", "url"].includes(e.type))) {
1910
- i.value = S.value;
1910
+ i.value = C.value;
1911
1911
  return;
1912
1912
  }
1913
- const M = S.value, D = S.selectionStart, q = S.selectionEnd;
1914
- i.value = M, Ce(() => {
1915
- let te = 0;
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);
1913
+ const $ = C.value, D = C.selectionStart, G = C.selectionEnd;
1914
+ i.value = $, Se(() => {
1915
+ let ne = 0;
1916
+ $.trimStart().length === C.value.length && (ne = $.length - C.value.length), D != null && (C.selectionStart = D - ne), G != null && (C.selectionEnd = G - ne);
1917
1917
  });
1918
1918
  }
1919
- return ce(() => {
1920
- const I = !!(l.counter || e.counter !== !1 && e.counter != null), S = !!(I || l.details), [M, D] = Rl(t), {
1921
- modelValue: q,
1922
- ...te
1919
+ return de(() => {
1920
+ const w = !!(l.counter || e.counter !== !1 && e.counter != null), C = !!(w || l.details), [$, D] = Rl(t), {
1921
+ modelValue: G,
1922
+ ...ne
1923
1923
  } = yl.filterProps(e), H = hl.filterProps(e);
1924
1924
  return g(yl, N({
1925
1925
  ref: v,
1926
1926
  modelValue: i.value,
1927
- "onUpdate:modelValue": (J) => i.value = J,
1927
+ "onUpdate:modelValue": (W) => i.value = W,
1928
1928
  class: ["v-text-field", {
1929
1929
  "v-text-field--prefixed": e.prefix,
1930
1930
  "v-text-field--suffixed": e.suffix,
1931
1931
  "v-input--plain-underlined": m.value
1932
1932
  }, e.class],
1933
1933
  style: e.style
1934
- }, M, te, {
1934
+ }, $, ne, {
1935
1935
  centerAffix: !m.value,
1936
1936
  focused: c.value
1937
1937
  }), {
1938
1938
  ...l,
1939
- default: (J) => {
1939
+ default: (W) => {
1940
1940
  let {
1941
- id: W,
1942
- isDisabled: ie,
1943
- isDirty: X,
1944
- isReadonly: U,
1945
- isValid: ve,
1946
- hasDetails: T,
1947
- reset: $
1948
- } = J;
1941
+ id: j,
1942
+ isDisabled: ue,
1943
+ isDirty: q,
1944
+ isReadonly: z,
1945
+ isValid: fe,
1946
+ hasDetails: B,
1947
+ reset: O
1948
+ } = W;
1949
1949
  return g(hl, N({
1950
1950
  ref: h,
1951
- onMousedown: k,
1951
+ onMousedown: S,
1952
1952
  onClick: F,
1953
- "onClick:clear": (p) => O(p, $),
1953
+ "onClick:clear": (p) => E(p, O),
1954
1954
  role: e.role
1955
1955
  }, Ye(H, ["onClick:clear"]), {
1956
- id: W.value,
1957
- labelId: `${W.value}-label`,
1958
- active: w.value || X.value,
1959
- dirty: X.value || e.dirty,
1960
- disabled: ie.value,
1956
+ id: j.value,
1957
+ labelId: `${j.value}-label`,
1958
+ active: P.value || q.value,
1959
+ dirty: q.value || e.dirty,
1960
+ disabled: ue.value,
1961
1961
  focused: c.value,
1962
- details: T.value,
1963
- error: ve.value === !1
1962
+ details: B.value,
1963
+ error: fe.value === !1
1964
1964
  }), {
1965
1965
  ...l,
1966
1966
  default: (p) => {
1967
1967
  let {
1968
1968
  props: {
1969
1969
  class: f,
1970
- ..._
1970
+ ...A
1971
1971
  },
1972
- controlRef: Y
1972
+ controlRef: J
1973
1973
  } = p;
1974
- const de = b("input", N({
1975
- ref: (me) => y.value = Y.value = me,
1974
+ const ve = b("input", N({
1975
+ ref: (ge) => y.value = J.value = ge,
1976
1976
  value: i.value,
1977
- onInput: j,
1977
+ onInput: K,
1978
1978
  autofocus: e.autofocus,
1979
- readonly: U.value,
1980
- disabled: ie.value,
1979
+ readonly: z.value,
1980
+ disabled: ue.value,
1981
1981
  name: V.fieldName.value,
1982
1982
  autocomplete: V.fieldAutocomplete.value,
1983
1983
  placeholder: e.placeholder,
@@ -1986,18 +1986,18 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
1986
1986
  type: e.type,
1987
1987
  onFocus: o,
1988
1988
  onBlur: u,
1989
- "aria-labelledby": `${W.value}-label`
1990
- }, _, D), null);
1991
- return b(re, null, [e.prefix && b("span", {
1989
+ "aria-labelledby": `${j.value}-label`
1990
+ }, A, D), null);
1991
+ return b(ce, null, [e.prefix && b("span", {
1992
1992
  class: "v-text-field__prefix"
1993
1993
  }, [b("span", {
1994
1994
  class: "v-text-field__prefix__text"
1995
- }, [e.prefix])]), Ke(l.default ? b("div", {
1996
- class: se(f),
1995
+ }, [e.prefix])]), Ue(l.default ? b("div", {
1996
+ class: re(f),
1997
1997
  "data-no-activator": ""
1998
1998
  }, [l.default({
1999
- id: W
2000
- }), de]) : In(de, {
1999
+ id: j
2000
+ }), ve]) : In(ve, {
2001
2001
  class: f
2002
2002
  }), [[cl, d, null, {
2003
2003
  once: !0
@@ -2009,7 +2009,7 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2009
2009
  }
2010
2010
  });
2011
2011
  },
2012
- details: S ? (J) => b(re, null, [l.details?.(J), I && b(re, null, [b("span", null, null), g(wa, {
2012
+ details: C ? (W) => b(ce, null, [l.details?.(W), w && b(ce, null, [b("span", null, null), g(wa, {
2013
2013
  active: e.persistentCounter || c.value,
2014
2014
  value: r.value,
2015
2015
  max: s.value,
@@ -2018,10 +2018,10 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2018
2018
  });
2019
2019
  }), St({}, v, h, y);
2020
2020
  }
2021
- }), Ta = Q({
2021
+ }), Ta = X({
2022
2022
  renderless: Boolean,
2023
2023
  ...he()
2024
- }, "VVirtualScrollItem"), Ba = oe()({
2024
+ }, "VVirtualScrollItem"), Ba = ie()({
2025
2025
  name: "VVirtualScrollItem",
2026
2026
  inheritAttrs: !1,
2027
2027
  props: Ta(),
@@ -2038,9 +2038,9 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2038
2038
  resizeRef: i,
2039
2039
  contentRect: c
2040
2040
  } = It(void 0, "border");
2041
- ue(() => c.value?.height, (o) => {
2041
+ se(() => c.value?.height, (o) => {
2042
2042
  o != null && n("update:height", o);
2043
- }), ce(() => e.renderless ? b(re, null, [l.default?.({
2043
+ }), de(() => e.renderless ? b(ce, null, [l.default?.({
2044
2044
  itemRef: i
2045
2045
  })]) : b("div", N({
2046
2046
  ref: i,
@@ -2048,7 +2048,7 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2048
2048
  style: e.style
2049
2049
  }, t), [l.default?.()]));
2050
2050
  }
2051
- }), Ra = -1, Ea = 1, Nt = 100, Oa = Q({
2051
+ }), Ra = -1, Ea = 1, Nt = 100, Oa = X({
2052
2052
  itemHeight: {
2053
2053
  type: [Number, String],
2054
2054
  default: null
@@ -2060,17 +2060,17 @@ const Da = ["color", "file", "time", "date", "datetime-local", "week", "month"],
2060
2060
  height: [Number, String]
2061
2061
  }, "virtual");
2062
2062
  function $a(e, a) {
2063
- const t = Vl(), n = Z(0);
2063
+ const t = Vl(), n = ee(0);
2064
2064
  Ht(() => {
2065
2065
  n.value = parseFloat(e.itemHeight || 0);
2066
2066
  });
2067
- const l = Z(0), i = Z(Math.ceil(
2067
+ const l = ee(0), i = ee(Math.ceil(
2068
2068
  // Assume 16px items filling the entire screen height if
2069
2069
  // not provided. This is probably incorrect but it minimises
2070
2070
  // the chance of ending up with empty space at the bottom.
2071
2071
  // The default value is set here to avoid poisoning getSize()
2072
2072
  (parseInt(e.height) || t.height.value) / (n.value || 16)
2073
- ) || 1), c = Z(0), o = Z(0), u = K(), d = K();
2073
+ ) || 1), c = ee(0), o = ee(0), u = U(), d = U();
2074
2074
  let r = 0;
2075
2075
  const {
2076
2076
  resizeRef: s,
@@ -2079,109 +2079,109 @@ function $a(e, a) {
2079
2079
  Ht(() => {
2080
2080
  s.value = u.value;
2081
2081
  });
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));
2082
+ const v = I(() => u.value === document.documentElement ? t.height.value : m.value?.height || parseInt(e.height) || 0), h = I(() => !!(u.value && d.value && v.value && n.value));
2083
2083
  let y = Array.from({
2084
2084
  length: a.value.length
2085
2085
  }), V = Array.from({
2086
2086
  length: a.value.length
2087
2087
  });
2088
- const w = Z(0);
2089
- let P = -1;
2090
- function k(T) {
2091
- return y[T] || n.value;
2088
+ const P = ee(0);
2089
+ let _ = -1;
2090
+ function S(B) {
2091
+ return y[B] || n.value;
2092
2092
  }
2093
2093
  const F = $n(() => {
2094
- const T = performance.now();
2094
+ const B = performance.now();
2095
2095
  V[0] = 0;
2096
- const $ = a.value.length;
2097
- for (let p = 1; p <= $; p++)
2098
- V[p] = (V[p - 1] || 0) + k(p - 1);
2099
- w.value = Math.max(w.value, performance.now() - T);
2100
- }, w), O = ue(h, (T) => {
2101
- T && (O(), r = d.value.offsetTop, F.immediate(), ie(), ~P && Ce(() => {
2096
+ const O = a.value.length;
2097
+ for (let p = 1; p <= O; p++)
2098
+ V[p] = (V[p - 1] || 0) + S(p - 1);
2099
+ P.value = Math.max(P.value, performance.now() - B);
2100
+ }, P), E = se(h, (B) => {
2101
+ B && (E(), r = d.value.offsetTop, F.immediate(), ue(), ~_ && Se(() => {
2102
2102
  ct && window.requestAnimationFrame(() => {
2103
- U(P), P = -1;
2103
+ z(_), _ = -1;
2104
2104
  });
2105
2105
  }));
2106
2106
  });
2107
2107
  rt(() => {
2108
2108
  F.clear();
2109
2109
  });
2110
- function j(T, $) {
2111
- const p = y[T], f = n.value;
2112
- n.value = f ? Math.min(n.value, $) : $, (p !== $ || f !== n.value) && (y[T] = $, F());
2110
+ function K(B, O) {
2111
+ const p = y[B], f = n.value;
2112
+ n.value = f ? Math.min(n.value, O) : O, (p !== O || f !== n.value) && (y[B] = O, F());
2113
2113
  }
2114
- function I(T) {
2115
- T = Le(T, 0, a.value.length);
2116
- const $ = Math.floor(T), p = T % 1, f = $ + 1, _ = V[$] || 0, Y = V[f] || _;
2117
- return _ + (Y - _) * p;
2114
+ function w(B) {
2115
+ B = Ne(B, 0, a.value.length);
2116
+ const O = Math.floor(B), p = B % 1, f = O + 1, A = V[O] || 0, J = V[f] || A;
2117
+ return A + (J - A) * p;
2118
2118
  }
2119
- function S(T) {
2120
- return Ma(V, T);
2119
+ function C(B) {
2120
+ return Ma(V, B);
2121
2121
  }
2122
- let M = 0, D = 0, q = 0;
2123
- ue(v, (T, $) => {
2124
- ie(), T < $ && requestAnimationFrame(() => {
2125
- D = 0, ie();
2122
+ let $ = 0, D = 0, G = 0;
2123
+ se(v, (B, O) => {
2124
+ ue(), B < O && requestAnimationFrame(() => {
2125
+ D = 0, ue();
2126
2126
  });
2127
2127
  });
2128
- let te = -1;
2128
+ let ne = -1;
2129
2129
  function H() {
2130
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();
2131
+ const B = u.value.scrollTop, O = performance.now();
2132
+ O - G > 500 ? (D = Math.sign(B - $), r = d.value.offsetTop) : D = B - $, $ = B, G = O, window.clearTimeout(ne), ne = window.setTimeout(W, 500), ue();
2133
2133
  }
2134
- function J() {
2135
- !u.value || !d.value || (D = 0, q = 0, window.clearTimeout(te), ie());
2134
+ function W() {
2135
+ !u.value || !d.value || (D = 0, G = 0, window.clearTimeout(ne), ue());
2136
2136
  }
2137
- let W = -1;
2138
- function ie() {
2139
- cancelAnimationFrame(W), W = requestAnimationFrame(X);
2137
+ let j = -1;
2138
+ function ue() {
2139
+ cancelAnimationFrame(j), j = requestAnimationFrame(q);
2140
2140
  }
2141
- function X() {
2141
+ function q() {
2142
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);
2143
+ const B = $ - r, O = Math.sign(D), p = Math.max(0, B - Nt), f = Ne(C(p), 0, a.value.length), A = B + v.value + Nt, J = Ne(C(A) + 1, f + 1, a.value.length);
2144
2144
  if (
2145
2145
  // Only update the side we're scrolling towards,
2146
2146
  // the other side will be updated incidentally
2147
- ($ !== Ra || f < l.value) && ($ !== Ea || Y > i.value)
2147
+ (O !== Ra || f < l.value) && (O !== Ea || J > i.value)
2148
2148
  ) {
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));
2149
+ const ve = w(l.value) - w(f), ge = w(J) - w(i.value);
2150
+ Math.max(ve, ge) > Nt ? (l.value = f, i.value = J) : (f <= 0 && (l.value = f), J >= a.value.length && (i.value = J));
2151
2151
  }
2152
- c.value = I(l.value), o.value = I(a.value.length) - I(i.value);
2152
+ c.value = w(l.value), o.value = w(a.value.length) - w(i.value);
2153
2153
  }
2154
- function U(T) {
2155
- const $ = I(T);
2156
- !u.value || T && !$ ? P = T : u.value.scrollTop = $;
2154
+ function z(B) {
2155
+ const O = w(B);
2156
+ !u.value || B && !O ? _ = B : u.value.scrollTop = O;
2157
2157
  }
2158
- const ve = x(() => a.value.slice(l.value, i.value).map((T, $) => {
2159
- const p = $ + l.value;
2158
+ const fe = I(() => a.value.slice(l.value, i.value).map((B, O) => {
2159
+ const p = O + l.value;
2160
2160
  return {
2161
- raw: T,
2161
+ raw: B,
2162
2162
  index: p,
2163
- key: zl(T, e.itemKey, p)
2163
+ key: zl(B, e.itemKey, p)
2164
2164
  };
2165
2165
  }));
2166
- return ue(a, () => {
2166
+ return se(a, () => {
2167
2167
  y = Array.from({
2168
2168
  length: a.value.length
2169
2169
  }), V = Array.from({
2170
2170
  length: a.value.length
2171
- }), F.immediate(), ie();
2171
+ }), F.immediate(), ue();
2172
2172
  }, {
2173
2173
  deep: 1
2174
2174
  }), {
2175
- calculateVisibleItems: ie,
2175
+ calculateVisibleItems: ue,
2176
2176
  containerRef: u,
2177
2177
  markerRef: d,
2178
- computedItems: ve,
2178
+ computedItems: fe,
2179
2179
  paddingTop: c,
2180
2180
  paddingBottom: o,
2181
- scrollToIndex: U,
2181
+ scrollToIndex: z,
2182
2182
  handleScroll: H,
2183
- handleScrollend: J,
2184
- handleItemResize: j
2183
+ handleScrollend: W,
2184
+ handleItemResize: K
2185
2185
  };
2186
2186
  }
2187
2187
  function Ma(e, a) {
@@ -2196,7 +2196,7 @@ function Ma(e, a) {
2196
2196
  else return i === a ? l : n;
2197
2197
  return c;
2198
2198
  }
2199
- const Na = Q({
2199
+ const Na = X({
2200
2200
  items: {
2201
2201
  type: Array,
2202
2202
  default: () => []
@@ -2205,7 +2205,7 @@ const Na = Q({
2205
2205
  ...Oa(),
2206
2206
  ...he(),
2207
2207
  ...pt()
2208
- }, "VVirtualScroll"), cn = oe()({
2208
+ }, "VVirtualScroll"), cn = ie()({
2209
2209
  name: "VVirtualScroll",
2210
2210
  props: Na(),
2211
2211
  setup(e, a) {
@@ -2225,32 +2225,32 @@ const Na = Q({
2225
2225
  paddingTop: m,
2226
2226
  paddingBottom: v,
2227
2227
  computedItems: h
2228
- } = $a(e, E(() => e.items));
2228
+ } = $a(e, R(() => e.items));
2229
2229
  return Kt(() => e.renderless, () => {
2230
2230
  function y() {
2231
- const w = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
2232
- c.value === document.documentElement ? (document[w]("scroll", u, {
2231
+ const P = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
2232
+ c.value === document.documentElement ? (document[P]("scroll", u, {
2233
2233
  passive: !0
2234
- }), document[w]("scrollend", d)) : (c.value?.[w]("scroll", u, {
2234
+ }), document[P]("scrollend", d)) : (c.value?.[P]("scroll", u, {
2235
2235
  passive: !0
2236
- }), c.value?.[w]("scrollend", d));
2236
+ }), c.value?.[P]("scrollend", d));
2237
2237
  }
2238
2238
  at(() => {
2239
2239
  c.value = Mn(n.vnode.el, !0), y(!0);
2240
2240
  }), rt(y);
2241
- }), ce(() => {
2241
+ }), de(() => {
2242
2242
  const y = h.value.map((V) => g(Ba, {
2243
2243
  key: V.key,
2244
2244
  renderless: e.renderless,
2245
- "onUpdate:height": (w) => r(V.index, w)
2245
+ "onUpdate:height": (P) => r(V.index, P)
2246
2246
  }, {
2247
- default: (w) => t.default?.({
2247
+ default: (P) => t.default?.({
2248
2248
  item: V.raw,
2249
2249
  index: V.index,
2250
- ...w
2250
+ ...P
2251
2251
  })
2252
2252
  }));
2253
- return e.renderless ? b(re, null, [b("div", {
2253
+ return e.renderless ? b(ce, null, [b("div", {
2254
2254
  ref: o,
2255
2255
  class: "v-virtual-scroll__spacer",
2256
2256
  style: {
@@ -2263,10 +2263,10 @@ const Na = Q({
2263
2263
  }
2264
2264
  }, null)]) : b("div", {
2265
2265
  ref: c,
2266
- class: se(["v-virtual-scroll", e.class]),
2266
+ class: re(["v-virtual-scroll", e.class]),
2267
2267
  onScrollPassive: u,
2268
2268
  onScrollend: d,
2269
- style: Ie([l.value, e.style])
2269
+ style: xe([l.value, e.style])
2270
2270
  }, [b("div", {
2271
2271
  ref: o,
2272
2272
  class: "v-virtual-scroll__container",
@@ -2282,7 +2282,7 @@ const Na = Q({
2282
2282
  }
2283
2283
  });
2284
2284
  function dn(e, a) {
2285
- const t = Z(!1);
2285
+ const t = ee(!1);
2286
2286
  let n;
2287
2287
  function l(o) {
2288
2288
  cancelAnimationFrame(n), t.value = !0, n = requestAnimationFrame(() => {
@@ -2294,7 +2294,7 @@ function dn(e, a) {
2294
2294
  async function i() {
2295
2295
  await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => {
2296
2296
  if (t.value) {
2297
- const u = ue(t, () => {
2297
+ const u = se(t, () => {
2298
2298
  u(), o();
2299
2299
  });
2300
2300
  } else o();
@@ -2388,7 +2388,7 @@ function Lt(e, a) {
2388
2388
  if (!(e == null || typeof e == "boolean" || e === -1))
2389
2389
  return typeof e == "number" ? [[e, e + a.length]] : Array.isArray(e[0]) ? e : [e];
2390
2390
  }
2391
- const fn = Q({
2391
+ const fn = X({
2392
2392
  customFilter: Function,
2393
2393
  customKeyFilter: Object,
2394
2394
  filterKeys: [Array, String],
@@ -2399,11 +2399,11 @@ const fn = Q({
2399
2399
  noFilter: Boolean
2400
2400
  }, "filter");
2401
2401
  function Ha(e, a, t) {
2402
- const n = [], l = t?.default ?? La, i = t?.filterKeys ? Ee(t.filterKeys) : !1, c = Object.keys(t?.customKeyFilter ?? {}).length;
2402
+ const n = [], l = t?.default ?? La, i = t?.filterKeys ? Te(t.filterKeys) : !1, c = Object.keys(t?.customKeyFilter ?? {}).length;
2403
2403
  if (!e?.length) return n;
2404
2404
  let o = [];
2405
2405
  e: for (let u = 0; u < e.length; u++) {
2406
- const [d, r = d] = Ee(e[u]), s = {}, m = {};
2406
+ const [d, r = d] = Te(e[u]), s = {}, m = {};
2407
2407
  let v = -1;
2408
2408
  if ((a || c > 0) && !t?.noFilter) {
2409
2409
  let h = !1;
@@ -2416,12 +2416,12 @@ function Ha(e, a, t) {
2416
2416
  });
2417
2417
  continue;
2418
2418
  }
2419
- const w = i || Object.keys(r);
2420
- h = w.length === c;
2421
- for (const P of w) {
2422
- const k = zl(r, P), F = t?.customKeyFilter?.[P];
2423
- if (v = F ? F(k, a, d) : l(k, a, d), v !== -1 && v !== !1)
2424
- F ? s[P] = Lt(v, a) : m[P] = Lt(v, a);
2419
+ const P = i || Object.keys(r);
2420
+ h = P.length === c;
2421
+ for (const _ of P) {
2422
+ const S = zl(r, _), F = t?.customKeyFilter?.[_];
2423
+ if (v = F ? F(S, a, d) : l(S, a, d), v !== -1 && v !== !1)
2424
+ F ? s[_] = Lt(v, a) : m[_] = Lt(v, a);
2425
2425
  else if (t?.filterMode === "every")
2426
2426
  continue e;
2427
2427
  }
@@ -2441,7 +2441,7 @@ function Ha(e, a, t) {
2441
2441
  return n;
2442
2442
  }
2443
2443
  function mn(e, a, t, n) {
2444
- const l = Z([]), i = Z(/* @__PURE__ */ new Map()), c = x(() => n?.transform ? L(a).map((u) => [u, n.transform(u)]) : L(a));
2444
+ const l = ee([]), i = ee(/* @__PURE__ */ new Map()), c = I(() => n?.transform ? L(a).map((u) => [u, n.transform(u)]) : L(a));
2445
2445
  Ht(() => {
2446
2446
  const u = typeof t == "function" ? t() : L(t), d = typeof u != "string" && typeof u != "number" ? "" : String(u), r = Ha(c.value, d, {
2447
2447
  customKeyFilter: {
@@ -2458,8 +2458,8 @@ function mn(e, a, t, n) {
2458
2458
  index: y,
2459
2459
  matches: V
2460
2460
  } = h;
2461
- const w = s[y];
2462
- m.push(w), v.set(w.value, V);
2461
+ const P = s[y];
2462
+ m.push(P), v.set(P.value, V);
2463
2463
  }), l.value = m, i.value = v;
2464
2464
  });
2465
2465
  function o(u) {
@@ -2474,16 +2474,16 @@ function mn(e, a, t, n) {
2474
2474
  function gn(e, a, t) {
2475
2475
  return t == null || !t.length ? a : t.map((n, l) => {
2476
2476
  const i = l === 0 ? 0 : t[l - 1][1], c = [b("span", {
2477
- class: se(`${e}__unmask`)
2477
+ class: re(`${e}__unmask`)
2478
2478
  }, [a.slice(i, n[0])]), b("span", {
2479
- class: se(`${e}__mask`)
2479
+ class: re(`${e}__mask`)
2480
2480
  }, [a.slice(n[0], n[1])])];
2481
2481
  return l === t.length - 1 && c.push(b("span", {
2482
- class: se(`${e}__unmask`)
2483
- }, [a.slice(n[1])])), b(re, null, [c]);
2482
+ class: re(`${e}__unmask`)
2483
+ }, [a.slice(n[1])])), b(ce, null, [c]);
2484
2484
  });
2485
2485
  }
2486
- const za = Q({
2486
+ const za = X({
2487
2487
  closeText: {
2488
2488
  type: String,
2489
2489
  default: "$vuetify.close"
@@ -2494,14 +2494,14 @@ const za = Q({
2494
2494
  }
2495
2495
  }, "autocomplete");
2496
2496
  function yn(e, a) {
2497
- const t = Xe(), n = x(() => `menu-${t}`), l = E(() => zt(a)), i = E(() => n.value);
2497
+ const t = Xe(), n = I(() => `menu-${t}`), l = R(() => zt(a)), i = R(() => n.value);
2498
2498
  return {
2499
2499
  menuId: n,
2500
2500
  ariaExpanded: l,
2501
2501
  ariaControls: i
2502
2502
  };
2503
2503
  }
2504
- const hn = Q({
2504
+ const hn = X({
2505
2505
  chips: Boolean,
2506
2506
  closableChips: Boolean,
2507
2507
  eager: Boolean,
@@ -2530,7 +2530,7 @@ const hn = Q({
2530
2530
  ...Ln({
2531
2531
  itemChildren: !1
2532
2532
  })
2533
- }, "Select"), Ua = Q({
2533
+ }, "Select"), Ua = X({
2534
2534
  search: String,
2535
2535
  ...fn({
2536
2536
  filterKeys: ["title"]
@@ -2545,7 +2545,7 @@ const hn = Q({
2545
2545
  component: Wl
2546
2546
  }
2547
2547
  })
2548
- }, "VSelect"), _o = oe()({
2548
+ }, "VSelect"), _o = ie()({
2549
2549
  name: "VSelect",
2550
2550
  props: Ua(),
2551
2551
  emits: {
@@ -2560,48 +2560,48 @@ const hn = Q({
2560
2560
  } = a;
2561
2561
  const {
2562
2562
  t: n
2563
- } = it(), l = K(), i = K(), c = K(), o = K(), u = K(), {
2563
+ } = it(), l = U(), i = U(), c = U(), o = U(), u = U(), {
2564
2564
  items: d,
2565
2565
  transformIn: r,
2566
2566
  transformOut: s
2567
- } = Ul(e), m = xe(e, "search", ""), {
2567
+ } = Ul(e), m = Ve(e, "search", ""), {
2568
2568
  filteredItems: v,
2569
2569
  getMatches: h
2570
- } = mn(e, d, () => m.value), y = xe(e, "modelValue", [], (A) => r(A === null ? [null] : Ee(A)), (A) => {
2571
- const G = s(A);
2572
- return e.multiple ? G : G[0] ?? null;
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), {
2574
- InputIcon: j
2570
+ } = mn(e, d, () => m.value), y = Ve(e, "modelValue", [], (x) => r(x === null ? [null] : Te(x)), (x) => {
2571
+ const Q = s(x);
2572
+ return e.multiple ? Q : Q[0] ?? null;
2573
+ }), V = I(() => typeof e.counterValue == "function" ? e.counterValue(y.value) : typeof e.counterValue == "number" ? e.counterValue : y.value.length), P = Ot(e), _ = rn(e), S = I(() => y.value.map((x) => x.value)), F = ee(!1), E = R(() => e.closableChips && !P.isReadonly.value && !P.isDisabled.value), {
2574
+ InputIcon: K
2575
2575
  } = Et(e);
2576
- let I = "", S = 0, M;
2577
- const D = x(() => {
2578
- const A = m.value ? v.value : d.value;
2579
- return e.hideSelected ? A.filter((G) => !y.value.some((le) => (e.valueComparator || qe)(le, G))) : A;
2580
- }), q = x(() => e.hideNoData && !D.value.length || w.isReadonly.value || w.isDisabled.value), te = xe(e, "menu"), H = x({
2581
- get: () => te.value,
2582
- set: (A) => {
2583
- te.value && !A && i.value?.ΨopenChildren.size || A && q.value || (te.value = A);
2576
+ let w = "", C = 0, $;
2577
+ const D = I(() => {
2578
+ const x = m.value ? v.value : d.value;
2579
+ return e.hideSelected ? x.filter((Q) => !y.value.some((te) => (e.valueComparator || qe)(te, Q))) : x;
2580
+ }), G = I(() => e.hideNoData && !D.value.length || P.isReadonly.value || P.isDisabled.value), ne = Ve(e, "menu"), H = I({
2581
+ get: () => ne.value,
2582
+ set: (x) => {
2583
+ ne.value && !x && i.value?.ΨopenChildren.size || x && G.value || (ne.value = x);
2584
2584
  }
2585
2585
  }), {
2586
- menuId: J,
2587
- ariaExpanded: W,
2588
- ariaControls: ie
2589
- } = yn(e, H), X = x(() => ({
2586
+ menuId: W,
2587
+ ariaExpanded: j,
2588
+ ariaControls: ue
2589
+ } = yn(e, H), q = I(() => ({
2590
2590
  ...e.menuProps,
2591
2591
  activatorProps: {
2592
2592
  ...e.menuProps?.activatorProps || {},
2593
2593
  "aria-haspopup": "listbox"
2594
2594
  // Set aria-haspopup to 'listbox'
2595
2595
  }
2596
- })), U = K(), ve = dn(U, l), {
2597
- onTabKeydown: T
2596
+ })), z = U(), fe = dn(z, l), {
2597
+ onTabKeydown: B
2598
2598
  } = vn({
2599
2599
  groups: [{
2600
2600
  type: "element",
2601
2601
  contentRef: c
2602
2602
  }, {
2603
2603
  type: "list",
2604
- contentRef: U,
2604
+ contentRef: z,
2605
2605
  displayItemsCount: () => D.value.length
2606
2606
  }, {
2607
2607
  type: "element",
@@ -2611,120 +2611,123 @@ const hn = Q({
2611
2611
  H.value = !1, l.value?.focus();
2612
2612
  }
2613
2613
  });
2614
- function $(A) {
2614
+ function O(x) {
2615
2615
  e.openOnClear && (H.value = !0);
2616
2616
  }
2617
2617
  function p() {
2618
- q.value || (H.value = !H.value);
2618
+ G.value || (H.value = !H.value);
2619
2619
  }
2620
- function f(A) {
2621
- A.key === "Tab" && T(A), U.value?.$el.contains(A.target) && wt(A) && _(A);
2620
+ function f(x) {
2621
+ x.key === "Tab" && B(x), z.value?.$el.contains(x.target) && wt(x) && A(x);
2622
2622
  }
2623
- function _(A) {
2624
- if (!A.key || w.isReadonly.value) return;
2625
- if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(A.key) && A.preventDefault(), ["Enter", "ArrowDown", " "].includes(A.key) && (H.value = !0), ["Escape", "Tab"].includes(A.key) && (H.value = !1), e.clearable && A.key === "Backspace") {
2626
- A.preventDefault(), y.value = [], $();
2623
+ function A(x) {
2624
+ if (!x.key || P.isReadonly.value) return;
2625
+ if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(x.key) && x.preventDefault(), ["Enter", "ArrowDown", " "].includes(x.key) && (H.value = !0), ["Escape", "Tab"].includes(x.key) && (H.value = !1), e.clearable && x.key === "Backspace") {
2626
+ x.preventDefault(), y.value = [], O();
2627
2627
  return;
2628
2628
  }
2629
- A.key === "Home" ? U.value?.focus("first") : A.key === "End" && U.value?.focus("last");
2630
- const G = 1e3;
2631
- if (!wt(A)) return;
2632
- const le = performance.now();
2633
- le - M > G && (I = "", S = 0), I += A.key.toLowerCase(), M = le;
2634
- const ge = D.value;
2635
- function De() {
2636
- let R = Be();
2637
- return R || I.at(-1) === I.at(-2) && (I = I.slice(0, -1), S++, R = Be(), R) || (S = 0, R = Be(), R) ? R : (I = A.key.toLowerCase(), Be());
2629
+ x.key === "Home" ? z.value?.focus("first") : x.key === "End" && z.value?.focus("last");
2630
+ const Q = 1e3;
2631
+ if (!wt(x)) return;
2632
+ const te = performance.now();
2633
+ te - $ > Q && (w = "", C = 0), w += x.key.toLowerCase(), $ = te;
2634
+ const Be = D.value;
2635
+ function Pe() {
2636
+ let T = we();
2637
+ return T || w.at(-1) === w.at(-2) && (w = w.slice(0, -1), C++, T = we(), T) || (C = 0, T = we(), T) ? T : (w = x.key.toLowerCase(), we());
2638
2638
  }
2639
- function Be() {
2640
- for (let R = S; R < ge.length; R++) {
2641
- const ee = ge[R];
2642
- if (ee.title.toLowerCase().startsWith(I))
2643
- return [ee, R];
2639
+ function we() {
2640
+ for (let T = C; T < Be.length; T++) {
2641
+ const le = Be[T];
2642
+ if (le.title.toLowerCase().startsWith(w))
2643
+ return [le, T];
2644
2644
  }
2645
2645
  }
2646
- const pe = De();
2647
- if (!pe) return;
2648
- const [C, B] = pe;
2649
- S = B, U.value?.focus(B), e.multiple || (y.value = [C]);
2646
+ const k = Pe();
2647
+ if (!k) return;
2648
+ const [Y, M] = k;
2649
+ C = M, z.value?.focus(M), e.multiple || (y.value = [Y]);
2650
2650
  }
2651
- function Y(A) {
2652
- let G = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2653
- if (!A.props.disabled)
2651
+ function J(x) {
2652
+ let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2653
+ if (!x.props.disabled)
2654
2654
  if (e.multiple) {
2655
- const le = y.value.findIndex((De) => (e.valueComparator || qe)(De.value, A.value)), ge = G ?? !~le;
2656
- if (~le) {
2657
- const De = ge ? [...y.value, A] : [...y.value];
2658
- De.splice(le, 1), y.value = De;
2659
- } else ge && (y.value = [...y.value, A]);
2655
+ const te = y.value.findIndex((Pe) => (e.valueComparator || qe)(Pe.value, x.value)), Be = Q ?? !~te;
2656
+ if (~te) {
2657
+ const Pe = Be ? [...y.value, x] : [...y.value];
2658
+ Pe.splice(te, 1), y.value = Pe;
2659
+ } else Be && (y.value = [...y.value, x]);
2660
2660
  } else {
2661
- const le = G !== !1;
2662
- y.value = le ? [A] : [], Ce(() => {
2661
+ const te = Q !== !1;
2662
+ y.value = te ? [x] : [], Se(() => {
2663
2663
  H.value = !1;
2664
2664
  });
2665
2665
  }
2666
2666
  }
2667
- function de(A) {
2668
- const G = A.target;
2669
- l.value?.$el.contains(G) || (H.value = !1);
2667
+ function ve(x) {
2668
+ const Q = x.target;
2669
+ l.value?.$el.contains(Q) || (H.value = !1);
2670
2670
  }
2671
- function me() {
2672
- return D.value.findIndex((A) => y.value.some((G) => (e.valueComparator || qe)(G.value, A.value)));
2671
+ function ge() {
2672
+ return D.value.findIndex((x) => y.value.some((Q) => (e.valueComparator || qe)(Q.value, x.value)));
2673
2673
  }
2674
2674
  function be() {
2675
2675
  if (!y.value.length) return -1;
2676
- const A = e.valueComparator || qe;
2677
- let G = 0;
2678
- for (const le of D.value) {
2679
- if (y.value.some((De) => A(De.value, le.value))) return le.props.disabled ? -1 : G;
2680
- le.props.disabled || G++;
2676
+ const x = e.valueComparator || qe;
2677
+ let Q = 0;
2678
+ for (const te of D.value) {
2679
+ if (y.value.some((Pe) => x(Pe.value, te.value))) return te.props.disabled ? -1 : Q;
2680
+ te.props.disabled || Q++;
2681
2681
  }
2682
2682
  return -1;
2683
2683
  }
2684
- function we() {
2685
- if (e.eager && u.value?.calculateVisibleItems(), U.value) {
2686
- const A = be();
2687
- U.value.focus(A >= 0 ? A : "first");
2684
+ function Ie() {
2685
+ if (e.eager && u.value?.calculateVisibleItems(), z.value && F.value) {
2686
+ const x = be();
2687
+ z.value.focus(x >= 0 ? x : "first");
2688
2688
  }
2689
2689
  }
2690
- function Te() {
2690
+ function De() {
2691
2691
  m.value = "", F.value && l.value?.focus();
2692
2692
  }
2693
- function Ge(A) {
2693
+ function je(x) {
2694
2694
  F.value = !0;
2695
2695
  }
2696
- function Qe(A) {
2697
- if (A == null) y.value = [];
2696
+ function Qe(x) {
2697
+ l.value?.$el.contains(x.relatedTarget) || (F.value = !1);
2698
+ }
2699
+ function ut(x) {
2700
+ if (x == null) y.value = [];
2698
2701
  else if (dt(l.value, ":autofill") || dt(l.value, ":-webkit-autofill")) {
2699
- const G = d.value.find((le) => le.title === A);
2700
- G && Y(G);
2702
+ const Q = d.value.find((te) => te.title === x);
2703
+ Q && J(Q);
2701
2704
  } else l.value && (l.value.value = "");
2702
2705
  }
2703
- return ue(H, () => {
2706
+ return se(H, () => {
2704
2707
  if (!e.hideSelected && H.value && y.value.length) {
2705
- const A = me();
2708
+ const x = ge();
2706
2709
  ct && !e.noAutoScroll && window.requestAnimationFrame(() => {
2707
- A >= 0 && u.value?.scrollToIndex(A);
2710
+ x >= 0 && u.value?.scrollToIndex(x);
2708
2711
  });
2709
2712
  }
2710
- }), ue(d, (A, G) => {
2711
- H.value || F.value && e.hideNoData && !G.length && A.length && (H.value = !0);
2712
- }), ce(() => {
2713
- const A = !!(e.chips || t.chip), G = !!(!e.hideNoData || D.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), le = y.value.length > 0, ge = Je.filterProps(e), De = le || !F.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, Be = {
2713
+ }), se(d, (x, Q) => {
2714
+ H.value || F.value && e.hideNoData && !Q.length && x.length && (H.value = !0);
2715
+ }), de(() => {
2716
+ const x = !!(e.chips || t.chip), Q = !!(!e.hideNoData || D.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), te = y.value.length > 0, Be = Je.filterProps(e), Pe = te || !F.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder, we = {
2714
2717
  search: m,
2715
2718
  filteredItems: v.value
2716
2719
  };
2717
2720
  return g(Je, N({
2718
2721
  ref: l
2719
- }, ge, {
2720
- modelValue: y.value.map((pe) => pe.props.title).join(", "),
2722
+ }, Be, {
2723
+ modelValue: y.value.map((k) => k.props.title).join(", "),
2721
2724
  name: void 0,
2722
- "onUpdate:modelValue": Qe,
2725
+ "onUpdate:modelValue": ut,
2723
2726
  focused: F.value,
2724
- "onUpdate:focused": (pe) => F.value = pe,
2727
+ "onUpdate:focused": (k) => F.value = k,
2725
2728
  validationValue: y.externalValue,
2726
2729
  counterValue: V.value,
2727
- dirty: le,
2730
+ dirty: te,
2728
2731
  class: ["v-select", {
2729
2732
  "v-select--active-menu": H.value,
2730
2733
  "v-select--chips": !!e.chips,
@@ -2734,61 +2737,62 @@ const hn = Q({
2734
2737
  }, e.class],
2735
2738
  style: e.style,
2736
2739
  inputmode: "none",
2737
- placeholder: De,
2738
- "onClick:clear": $,
2740
+ placeholder: Pe,
2741
+ "onClick:clear": O,
2739
2742
  "onMousedown:control": p,
2740
- onBlur: de,
2741
- onKeydown: _,
2742
- "aria-expanded": W.value,
2743
- "aria-controls": ie.value
2743
+ onBlur: ve,
2744
+ onKeydown: A,
2745
+ "aria-expanded": j.value,
2746
+ "aria-controls": ue.value
2744
2747
  }), {
2745
2748
  ...t,
2746
- default: (pe) => {
2749
+ default: (k) => {
2747
2750
  let {
2748
- id: C
2749
- } = pe;
2750
- return b(re, null, [b("select", {
2751
+ id: Y
2752
+ } = k;
2753
+ return b(ce, null, [b("select", {
2751
2754
  hidden: !0,
2752
2755
  multiple: e.multiple,
2753
- name: P.fieldName.value
2754
- }, [d.value.map((B) => b("option", {
2755
- key: B.value,
2756
- value: B.value,
2757
- selected: k.value.includes(B.value)
2756
+ name: _.fieldName.value
2757
+ }, [d.value.map((M) => b("option", {
2758
+ key: M.value,
2759
+ value: M.value,
2760
+ selected: S.value.includes(M.value)
2758
2761
  }, null))]), g(Kl, N({
2759
- id: J.value,
2762
+ id: W.value,
2760
2763
  ref: i,
2761
2764
  modelValue: H.value,
2762
- "onUpdate:modelValue": (B) => H.value = B,
2765
+ "onUpdate:modelValue": (M) => H.value = M,
2763
2766
  activator: "parent",
2764
2767
  contentClass: "v-select__content",
2765
- disabled: q.value,
2768
+ disabled: G.value,
2766
2769
  eager: e.eager,
2767
2770
  maxHeight: 310,
2768
2771
  openOnClick: !1,
2769
2772
  closeOnContentClick: !1,
2770
2773
  transition: e.transition,
2771
- onAfterEnter: we,
2772
- onAfterLeave: Te
2773
- }, X.value), {
2774
+ onAfterEnter: Ie,
2775
+ onAfterLeave: De
2776
+ }, q.value), {
2774
2777
  default: () => [g(ol, {
2775
- onFocusin: Ge,
2778
+ onFocusin: je,
2779
+ onFocusout: Qe,
2776
2780
  onKeydown: f
2777
2781
  }, {
2778
2782
  default: () => [t["menu-header"] && b("header", {
2779
2783
  ref: c
2780
- }, [t["menu-header"](Be)]), G && g(nl, N({
2784
+ }, [t["menu-header"](we)]), Q && g(nl, N({
2781
2785
  key: "select-list",
2782
- ref: U,
2783
- selected: k.value,
2786
+ ref: z,
2787
+ selected: S.value,
2784
2788
  selectStrategy: e.multiple ? "independent" : "single-independent",
2785
2789
  tabindex: "-1",
2786
2790
  selectable: !!D.value.length,
2787
2791
  "aria-live": "polite",
2788
- "aria-labelledby": `${C.value}-label`,
2792
+ "aria-labelledby": `${Y.value}-label`,
2789
2793
  "aria-multiselectable": e.multiple,
2790
2794
  color: e.itemColor ?? e.color
2791
- }, ve, e.listProps), {
2795
+ }, fe, e.listProps), {
2792
2796
  default: () => [t["prepend-item"]?.(), !D.value.length && !e.hideNoData && (t["no-data"]?.() ?? g(vt, {
2793
2797
  key: "no-data",
2794
2798
  title: n(e.noDataText)
@@ -2798,123 +2802,123 @@ const hn = Q({
2798
2802
  items: D.value,
2799
2803
  itemKey: "value"
2800
2804
  }, {
2801
- default: (B) => {
2805
+ default: (M) => {
2802
2806
  let {
2803
- item: R,
2804
- index: ee,
2805
- itemRef: fe
2806
- } = B;
2807
- const _e = Nn(R.props), ne = N(R.props, {
2808
- ref: fe,
2809
- key: R.value,
2810
- onClick: () => Y(R, null),
2811
- "aria-posinset": ee + 1,
2807
+ item: T,
2808
+ index: le,
2809
+ itemRef: Re
2810
+ } = M;
2811
+ const ae = Nn(T.props), Z = N(T.props, {
2812
+ ref: Re,
2813
+ key: T.value,
2814
+ onClick: () => J(T, null),
2815
+ "aria-posinset": le + 1,
2812
2816
  "aria-setsize": D.value.length
2813
2817
  });
2814
- return R.type === "divider" ? t.divider?.({
2815
- props: R.raw,
2816
- index: ee
2817
- }) ?? g(Ue, N(R.props, {
2818
- key: `divider-${ee}`
2819
- }), null) : R.type === "subheader" ? t.subheader?.({
2820
- props: R.raw,
2821
- index: ee
2822
- }) ?? g(jl, N(R.props, {
2823
- key: `subheader-${ee}`
2818
+ return T.type === "divider" ? t.divider?.({
2819
+ props: T.raw,
2820
+ index: le
2821
+ }) ?? g(ze, N(T.props, {
2822
+ key: `divider-${le}`
2823
+ }), null) : T.type === "subheader" ? t.subheader?.({
2824
+ props: T.raw,
2825
+ index: le
2826
+ }) ?? g(jl, N(T.props, {
2827
+ key: `subheader-${le}`
2824
2828
  }), null) : t.item?.({
2825
- item: R,
2826
- index: ee,
2827
- props: ne
2828
- }) ?? g(vt, N(ne, {
2829
+ item: T,
2830
+ index: le,
2831
+ props: Z
2832
+ }) ?? g(vt, N(Z, {
2829
2833
  role: "option"
2830
2834
  }), {
2831
- prepend: (z) => {
2835
+ prepend: (me) => {
2832
2836
  let {
2833
- isSelected: Re
2834
- } = z;
2835
- return b(re, null, [e.multiple && !e.hideSelected ? g(nn, {
2836
- key: R.value,
2837
- modelValue: Re,
2837
+ isSelected: Ze
2838
+ } = me;
2839
+ return b(ce, null, [e.multiple && !e.hideSelected ? g(nn, {
2840
+ key: T.value,
2841
+ modelValue: Ze,
2838
2842
  ripple: !1,
2839
2843
  tabindex: "-1",
2840
2844
  "aria-hidden": !0,
2841
- onClick: (Ze) => Ze.preventDefault()
2842
- }, null) : void 0, _e.prependAvatar && g(nt, {
2843
- image: _e.prependAvatar
2844
- }, null), _e.prependIcon && g(Se, {
2845
- icon: _e.prependIcon
2845
+ onClick: (Ge) => Ge.preventDefault()
2846
+ }, null) : void 0, ae.prependAvatar && g(nt, {
2847
+ image: ae.prependAvatar
2848
+ }, null), ae.prependIcon && g(ke, {
2849
+ icon: ae.prependIcon
2846
2850
  }, null)]);
2847
2851
  },
2848
- title: () => m.value ? gn("v-select", R.title, h(R)?.title) : R.title
2852
+ title: () => m.value ? gn("v-select", T.title, h(T)?.title) : T.title
2849
2853
  });
2850
2854
  }
2851
2855
  }), t["append-item"]?.()]
2852
2856
  }), t["menu-footer"] && b("footer", {
2853
2857
  ref: o
2854
- }, [t["menu-footer"](Be)])]
2858
+ }, [t["menu-footer"](we)])]
2855
2859
  })]
2856
- }), y.value.map((B, R) => {
2857
- function ee(z) {
2858
- z.stopPropagation(), z.preventDefault(), Y(B, !1);
2860
+ }), y.value.map((M, T) => {
2861
+ function le(me) {
2862
+ me.stopPropagation(), me.preventDefault(), J(M, !1);
2859
2863
  }
2860
- const fe = N(mt.filterProps(B.props), {
2861
- "onClick:close": ee,
2862
- onKeydown(z) {
2863
- z.key !== "Enter" && z.key !== " " || (z.preventDefault(), z.stopPropagation(), ee(z));
2864
+ const Re = N(mt.filterProps(M.props), {
2865
+ "onClick:close": le,
2866
+ onKeydown(me) {
2867
+ me.key !== "Enter" && me.key !== " " || (me.preventDefault(), me.stopPropagation(), le(me));
2864
2868
  },
2865
- onMousedown(z) {
2866
- z.preventDefault(), z.stopPropagation();
2869
+ onMousedown(me) {
2870
+ me.preventDefault(), me.stopPropagation();
2867
2871
  },
2868
2872
  modelValue: !0,
2869
2873
  "onUpdate:modelValue": void 0
2870
- }), _e = A ? !!t.chip : !!t.selection, ne = _e ? Gl(A ? t.chip({
2871
- item: B,
2872
- index: R,
2873
- props: fe
2874
+ }), ae = x ? !!t.chip : !!t.selection, Z = ae ? Gl(x ? t.chip({
2875
+ item: M,
2876
+ index: T,
2877
+ props: Re
2874
2878
  }) : t.selection({
2875
- item: B,
2876
- index: R
2879
+ item: M,
2880
+ index: T
2877
2881
  })) : void 0;
2878
- if (!(_e && !ne))
2882
+ if (!(ae && !Z))
2879
2883
  return b("div", {
2880
- key: B.value,
2884
+ key: M.value,
2881
2885
  class: "v-select__selection"
2882
- }, [A ? t.chip ? g(Fe, {
2886
+ }, [x ? t.chip ? g(Fe, {
2883
2887
  key: "chip-defaults",
2884
2888
  defaults: {
2885
2889
  VChip: {
2886
- closable: O.value,
2890
+ closable: E.value,
2887
2891
  size: "small",
2888
- text: B.title
2892
+ text: M.title
2889
2893
  }
2890
2894
  }
2891
2895
  }, {
2892
- default: () => [ne]
2896
+ default: () => [Z]
2893
2897
  }) : g(mt, N({
2894
2898
  key: "chip",
2895
- closable: O.value,
2899
+ closable: E.value,
2896
2900
  size: "small",
2897
- text: B.title,
2898
- disabled: B.props.disabled
2899
- }, fe), null) : ne ?? b("span", {
2901
+ text: M.title,
2902
+ disabled: M.props.disabled
2903
+ }, Re), null) : Z ?? b("span", {
2900
2904
  class: "v-select__selection-text"
2901
- }, [B.title, e.multiple && R < y.value.length - 1 && b("span", {
2905
+ }, [M.title, e.multiple && T < y.value.length - 1 && b("span", {
2902
2906
  class: "v-select__selection-comma"
2903
2907
  }, [pl(",")])])]);
2904
2908
  })]);
2905
2909
  },
2906
2910
  "append-inner": function() {
2907
- for (var pe = arguments.length, C = new Array(pe), B = 0; B < pe; B++)
2908
- C[B] = arguments[B];
2909
- return b(re, null, [t["append-inner"]?.(...C), e.menuIcon ? g(Se, {
2911
+ for (var k = arguments.length, Y = new Array(k), M = 0; M < k; M++)
2912
+ Y[M] = arguments[M];
2913
+ return b(ce, null, [t["append-inner"]?.(...Y), e.menuIcon ? g(ke, {
2910
2914
  class: "v-select__menu-icon",
2911
2915
  color: l.value?.fieldIconColor,
2912
2916
  icon: e.menuIcon,
2913
2917
  "aria-hidden": !0
2914
- }, null) : void 0, e.appendInnerIcon && g(j, {
2918
+ }, null) : void 0, e.appendInnerIcon && g(K, {
2915
2919
  key: "append-icon",
2916
2920
  name: "appendInner",
2917
- color: C[0].iconColor.value
2921
+ color: Y[0].iconColor.value
2918
2922
  }, null)]);
2919
2923
  }
2920
2924
  });
@@ -2923,10 +2927,10 @@ const hn = Q({
2923
2927
  menu: H,
2924
2928
  search: m,
2925
2929
  filteredItems: v,
2926
- select: Y
2930
+ select: J
2927
2931
  }, l);
2928
2932
  }
2929
- }), Ka = Q({
2933
+ }), Ka = X({
2930
2934
  autoSelectFirst: {
2931
2935
  type: [Boolean, String]
2932
2936
  },
@@ -2940,7 +2944,7 @@ const hn = Q({
2940
2944
  modelValue: null,
2941
2945
  role: "combobox"
2942
2946
  }), ["validationValue", "dirty"])
2943
- }, "VAutocomplete"), ja = oe()({
2947
+ }, "VAutocomplete"), ja = ie()({
2944
2948
  name: "VAutocomplete",
2945
2949
  props: Ka(),
2946
2950
  emits: {
@@ -2955,7 +2959,7 @@ const hn = Q({
2955
2959
  } = a;
2956
2960
  const {
2957
2961
  t: n
2958
- } = it(), l = K(), i = Z(!1), c = Z(!0), o = Z(!1), u = K(), d = K(), r = Z(-1), s = Z(null), {
2962
+ } = it(), l = U(), i = ee(!1), c = ee(!0), o = ee(!1), u = U(), d = U(), r = ee(-1), s = ee(null), {
2959
2963
  items: m,
2960
2964
  transformIn: v,
2961
2965
  transformOut: h
@@ -2963,336 +2967,336 @@ const hn = Q({
2963
2967
  textColorClasses: y,
2964
2968
  textColorStyles: V
2965
2969
  } = kt(() => l.value?.color), {
2966
- InputIcon: w
2967
- } = Et(e), P = xe(e, "search", ""), k = xe(e, "modelValue", [], (C) => v(C === null ? [null] : Ee(C)), (C) => {
2968
- const B = h(C);
2969
- return e.multiple ? B : B[0] ?? null;
2970
- }), F = x(() => typeof e.counterValue == "function" ? e.counterValue(k.value) : typeof e.counterValue == "number" ? e.counterValue : k.value.length), O = Ot(e), {
2971
- filteredItems: j,
2972
- getMatches: I
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({
2974
- get: () => ie.value,
2975
- set: (C) => {
2976
- ie.value && !C && u.value?.ΨopenChildren.size || C && W.value || (ie.value = C);
2970
+ InputIcon: P
2971
+ } = Et(e), _ = Ve(e, "search", ""), S = Ve(e, "modelValue", [], (k) => v(k === null ? [null] : Te(k)), (k) => {
2972
+ const Y = h(k);
2973
+ return e.multiple ? Y : Y[0] ?? null;
2974
+ }), F = I(() => typeof e.counterValue == "function" ? e.counterValue(S.value) : typeof e.counterValue == "number" ? e.counterValue : S.value.length), E = Ot(e), {
2975
+ filteredItems: K,
2976
+ getMatches: w
2977
+ } = mn(e, m, () => s.value ?? (c.value ? "" : _.value)), C = I(() => e.hideSelected && s.value === null ? K.value.filter((k) => !S.value.some((Y) => Y.value === k.value)) : K.value), $ = R(() => e.closableChips && !E.isReadonly.value && !E.isDisabled.value), D = I(() => !!(e.chips || t.chip)), G = I(() => D.value || !!t.selection), ne = I(() => S.value.map((k) => k.props.value)), H = I(() => C.value.find((k) => k.type === "item" && !k.props.disabled)), W = I(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && _.value === H.value?.title) && C.value.length > 0 && !c.value && !o.value), j = I(() => e.hideNoData && !C.value.length || E.isReadonly.value || E.isDisabled.value), ue = Ve(e, "menu"), q = I({
2978
+ get: () => ue.value,
2979
+ set: (k) => {
2980
+ ue.value && !k && u.value?.ΨopenChildren.size || k && j.value || (ue.value = k);
2977
2981
  }
2978
2982
  }), {
2979
- menuId: U,
2980
- ariaExpanded: ve,
2981
- ariaControls: T
2982
- } = yn(e, X), $ = K(), p = K(), f = K(), _ = dn($, l), {
2983
- onTabKeydown: Y
2983
+ menuId: z,
2984
+ ariaExpanded: fe,
2985
+ ariaControls: B
2986
+ } = yn(e, q), O = U(), p = U(), f = U(), A = dn(O, l), {
2987
+ onTabKeydown: J
2984
2988
  } = vn({
2985
2989
  groups: [{
2986
2990
  type: "element",
2987
2991
  contentRef: p
2988
2992
  }, {
2989
2993
  type: "list",
2990
- contentRef: $,
2991
- displayItemsCount: () => S.value.length
2994
+ contentRef: O,
2995
+ displayItemsCount: () => C.value.length
2992
2996
  }, {
2993
2997
  type: "element",
2994
2998
  contentRef: f
2995
2999
  }],
2996
3000
  onLeave: () => {
2997
- X.value = !1, l.value?.focus();
3001
+ q.value = !1, l.value?.focus();
2998
3002
  }
2999
3003
  });
3000
- function de(C) {
3001
- e.openOnClear && (X.value = !0), P.value = "";
3004
+ function ve(k) {
3005
+ e.openOnClear && (q.value = !0), _.value = "";
3002
3006
  }
3003
- function me() {
3004
- W.value || (X.value = !0);
3007
+ function ge() {
3008
+ j.value || (q.value = !0);
3005
3009
  }
3006
- function be(C) {
3007
- W.value || (i.value && (C.preventDefault(), C.stopPropagation()), X.value = !X.value);
3010
+ function be(k) {
3011
+ j.value || (i.value && (k.preventDefault(), k.stopPropagation()), q.value = !q.value);
3008
3012
  }
3009
- function we(C) {
3010
- C.key === "Tab" && Y(C), $.value?.$el.contains(C.target) && (wt(C) || C.key === "Backspace") && l.value?.focus();
3013
+ function Ie(k) {
3014
+ k.key === "Tab" && J(k), O.value?.$el.contains(k.target) && (wt(k) || k.key === "Backspace") && l.value?.focus();
3011
3015
  }
3012
- function Te(C) {
3013
- if (O.isReadonly.value) return;
3014
- const B = l.value?.selectionStart, R = k.value.length;
3015
- if (["Enter", "ArrowDown", "ArrowUp"].includes(C.key) && C.preventDefault(), ["Enter", "ArrowDown"].includes(C.key) && (X.value = !0), ["Escape"].includes(C.key) && (X.value = !1), J.value && ["Enter", "Tab"].includes(C.key) && H.value && !k.value.some((ee) => {
3016
+ function De(k) {
3017
+ if (E.isReadonly.value) return;
3018
+ const Y = l.value?.selectionStart, M = S.value.length;
3019
+ if (["Enter", "ArrowDown", "ArrowUp"].includes(k.key) && k.preventDefault(), ["Enter", "ArrowDown"].includes(k.key) && (q.value = !0), ["Escape"].includes(k.key) && (q.value = !1), W.value && ["Enter", "Tab"].includes(k.key) && H.value && !S.value.some((T) => {
3016
3020
  let {
3017
- value: fe
3018
- } = ee;
3019
- return fe === H.value.value;
3020
- }) && pe(H.value), C.key === "ArrowDown" && J.value && $.value?.focus("next"), ["Backspace", "Delete"].includes(C.key)) {
3021
- if (!e.multiple && q.value && k.value.length > 0 && !P.value) return pe(k.value[0], !1);
3021
+ value: le
3022
+ } = T;
3023
+ return le === H.value.value;
3024
+ }) && we(H.value), k.key === "ArrowDown" && W.value && O.value?.focus("next"), ["Backspace", "Delete"].includes(k.key)) {
3025
+ if (!e.multiple && G.value && S.value.length > 0 && !_.value) return we(S.value[0], !1);
3022
3026
  if (~r.value) {
3023
- C.preventDefault();
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);
3027
+ k.preventDefault();
3028
+ const T = r.value;
3029
+ we(S.value[r.value], !1), r.value = T >= M - 1 ? M - 2 : T;
3030
+ } else k.key === "Backspace" && !_.value && (r.value = M - 1);
3027
3031
  return;
3028
3032
  }
3029
3033
  if (e.multiple)
3030
- if (C.key === "ArrowLeft") {
3031
- if (r.value < 0 && B && B > 0) return;
3032
- const ee = r.value > -1 ? r.value - 1 : R - 1;
3033
- if (k.value[ee])
3034
- r.value = ee;
3034
+ if (k.key === "ArrowLeft") {
3035
+ if (r.value < 0 && Y && Y > 0) return;
3036
+ const T = r.value > -1 ? r.value - 1 : M - 1;
3037
+ if (S.value[T])
3038
+ r.value = T;
3035
3039
  else {
3036
- const fe = P.value?.length ?? null;
3037
- r.value = -1, l.value?.setSelectionRange(fe, fe);
3040
+ const le = _.value?.length ?? null;
3041
+ r.value = -1, l.value?.setSelectionRange(le, le);
3038
3042
  }
3039
- } else if (C.key === "ArrowRight") {
3043
+ } else if (k.key === "ArrowRight") {
3040
3044
  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);
3045
+ const T = r.value + 1;
3046
+ S.value[T] ? r.value = T : (r.value = -1, l.value?.setSelectionRange(0, 0));
3047
+ } else ~r.value && wt(k) && (r.value = -1);
3044
3048
  }
3045
- function Ge(C) {
3049
+ function je(k) {
3046
3050
  if (dt(l.value, ":autofill") || dt(l.value, ":-webkit-autofill")) {
3047
- const B = m.value.find((R) => R.title === C.target.value);
3048
- B && pe(B);
3051
+ const Y = m.value.find((M) => M.title === k.target.value);
3052
+ Y && we(Y);
3049
3053
  }
3050
3054
  }
3051
3055
  function Qe() {
3052
3056
  e.eager && d.value?.calculateVisibleItems();
3053
3057
  }
3054
- function A() {
3058
+ function ut() {
3055
3059
  i.value && (c.value = !0, l.value?.focus()), s.value = null;
3056
3060
  }
3057
- function G(C) {
3061
+ function x(k) {
3058
3062
  i.value = !0, setTimeout(() => {
3059
3063
  o.value = !0;
3060
3064
  });
3061
3065
  }
3062
- function le(C) {
3063
- o.value = !1;
3066
+ function Q(k) {
3067
+ o.value = !1, l.value?.$el.contains(k.relatedTarget) || (i.value = !1);
3064
3068
  }
3065
- function ge(C) {
3066
- (C == null || C === "" && !e.multiple && !q.value) && (k.value = []);
3069
+ function te(k) {
3070
+ (k == null || k === "" && !e.multiple && !G.value) && (S.value = []);
3067
3071
  }
3068
- function De(C) {
3069
- u.value?.contentEl?.contains(C.relatedTarget) && (i.value = !0);
3072
+ function Be(k) {
3073
+ u.value?.contentEl?.contains(k.relatedTarget) && (i.value = !0);
3070
3074
  }
3071
- const Be = Z(!1);
3072
- function pe(C) {
3073
- let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3074
- if (!(!C || C.props.disabled))
3075
+ const Pe = ee(!1);
3076
+ function we(k) {
3077
+ let Y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3078
+ if (!(!k || k.props.disabled))
3075
3079
  if (e.multiple) {
3076
- const R = k.value.findIndex((fe) => (e.valueComparator || qe)(fe.value, C.value)), ee = B ?? !~R;
3077
- if (~R) {
3078
- const fe = ee ? [...k.value, C] : [...k.value];
3079
- fe.splice(R, 1), k.value = fe;
3080
- } else ee && (k.value = [...k.value, C]);
3081
- e.clearOnSelect && (P.value = "");
3080
+ const M = S.value.findIndex((le) => (e.valueComparator || qe)(le.value, k.value)), T = Y ?? !~M;
3081
+ if (~M) {
3082
+ const le = T ? [...S.value, k] : [...S.value];
3083
+ le.splice(M, 1), S.value = le;
3084
+ } else T && (S.value = [...S.value, k]);
3085
+ e.clearOnSelect && (_.value = "");
3082
3086
  } else {
3083
- const R = B !== !1;
3084
- k.value = R ? [C] : [], s.value = c.value ? "" : P.value ?? "", P.value = R && !q.value ? C.title : "", Ce(() => {
3085
- X.value = !1, c.value = !0;
3087
+ const M = Y !== !1;
3088
+ S.value = M ? [k] : [], s.value = c.value ? "" : _.value ?? "", _.value = M && !G.value ? k.title : "", Se(() => {
3089
+ q.value = !1, c.value = !0;
3086
3090
  });
3087
3091
  }
3088
3092
  }
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));
3091
- }), ue(P, (C) => {
3092
- !i.value || Be.value || (C && (X.value = !0), c.value = !C);
3093
- }), ue(X, (C) => {
3094
- if (!e.hideSelected && C && k.value.length && c.value) {
3095
- const B = S.value.findIndex((R) => k.value.some((ee) => R.value === ee.value));
3093
+ return se(i, (k, Y) => {
3094
+ k !== Y && (k ? (Pe.value = !0, _.value = e.multiple || G.value ? "" : String(S.value.at(-1)?.props.title ?? ""), c.value = !0, Se(() => Pe.value = !1)) : (!e.multiple && _.value == null && (S.value = []), q.value = !1, !c.value && _.value && (s.value = _.value), _.value = "", r.value = -1));
3095
+ }), se(_, (k) => {
3096
+ !i.value || Pe.value || (k && (q.value = !0), c.value = !k);
3097
+ }), se(q, (k) => {
3098
+ if (!e.hideSelected && k && S.value.length && c.value) {
3099
+ const Y = C.value.findIndex((M) => S.value.some((T) => M.value === T.value));
3096
3100
  ct && window.requestAnimationFrame(() => {
3097
- B >= 0 && d.value?.scrollToIndex(B);
3101
+ Y >= 0 && d.value?.scrollToIndex(Y);
3098
3102
  });
3099
3103
  }
3100
- C && (s.value = null);
3101
- }), ue(m, (C, B) => {
3102
- X.value || i.value && !B.length && C.length && (X.value = !0);
3103
- }), ce(() => {
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 = {
3105
- search: P,
3106
- filteredItems: j.value
3104
+ k && (s.value = null);
3105
+ }), se(m, (k, Y) => {
3106
+ q.value || i.value && !Y.length && k.length && (q.value = !0);
3107
+ }), de(() => {
3108
+ const k = !!(!e.hideNoData || C.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), Y = S.value.length > 0, M = Je.filterProps(e), T = {
3109
+ search: _,
3110
+ filteredItems: K.value
3107
3111
  };
3108
3112
  return g(Je, N({
3109
3113
  ref: l
3110
- }, R, {
3111
- modelValue: P.value,
3112
- "onUpdate:modelValue": [(fe) => P.value = fe, ge],
3114
+ }, M, {
3115
+ modelValue: _.value,
3116
+ "onUpdate:modelValue": [(le) => _.value = le, te],
3113
3117
  focused: i.value,
3114
- "onUpdate:focused": (fe) => i.value = fe,
3115
- validationValue: k.externalValue,
3118
+ "onUpdate:focused": (le) => i.value = le,
3119
+ validationValue: S.externalValue,
3116
3120
  counterValue: F.value,
3117
- dirty: B,
3118
- onChange: Ge,
3121
+ dirty: Y,
3122
+ onChange: je,
3119
3123
  class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
3120
- "v-autocomplete--active-menu": X.value,
3124
+ "v-autocomplete--active-menu": q.value,
3121
3125
  "v-autocomplete--chips": !!e.chips,
3122
- "v-autocomplete--selection-slot": !!q.value,
3126
+ "v-autocomplete--selection-slot": !!G.value,
3123
3127
  "v-autocomplete--selecting-index": r.value > -1
3124
3128
  }, e.class],
3125
3129
  style: e.style,
3126
- readonly: O.isReadonly.value,
3127
- placeholder: B ? void 0 : e.placeholder,
3128
- "onClick:clear": de,
3129
- "onMousedown:control": me,
3130
- onKeydown: Te,
3131
- onBlur: De,
3132
- "aria-expanded": ve.value,
3133
- "aria-controls": T.value
3130
+ readonly: E.isReadonly.value,
3131
+ placeholder: Y ? void 0 : e.placeholder,
3132
+ "onClick:clear": ve,
3133
+ "onMousedown:control": ge,
3134
+ onKeydown: De,
3135
+ onBlur: Be,
3136
+ "aria-expanded": fe.value,
3137
+ "aria-controls": B.value
3134
3138
  }), {
3135
3139
  ...t,
3136
- default: (fe) => {
3140
+ default: (le) => {
3137
3141
  let {
3138
- id: _e
3139
- } = fe;
3140
- return b(re, null, [g(Kl, N({
3141
- id: U.value,
3142
+ id: Re
3143
+ } = le;
3144
+ return b(ce, null, [g(Kl, N({
3145
+ id: z.value,
3142
3146
  ref: u,
3143
- modelValue: X.value,
3144
- "onUpdate:modelValue": (ne) => X.value = ne,
3147
+ modelValue: q.value,
3148
+ "onUpdate:modelValue": (ae) => q.value = ae,
3145
3149
  activator: "parent",
3146
3150
  contentClass: "v-autocomplete__content",
3147
- disabled: W.value,
3151
+ disabled: j.value,
3148
3152
  eager: e.eager,
3149
3153
  maxHeight: 310,
3150
3154
  openOnClick: !1,
3151
3155
  closeOnContentClick: !1,
3152
3156
  onAfterEnter: Qe,
3153
- onAfterLeave: A
3157
+ onAfterLeave: ut
3154
3158
  }, e.menuProps), {
3155
3159
  default: () => [g(ol, {
3156
- onFocusin: G,
3157
- onKeydown: we
3160
+ onFocusin: x,
3161
+ onKeydown: Ie
3158
3162
  }, {
3159
3163
  default: () => [t["menu-header"] && b("header", {
3160
3164
  ref: p
3161
- }, [t["menu-header"](ee)]), C && g(nl, N({
3165
+ }, [t["menu-header"](T)]), k && g(nl, N({
3162
3166
  key: "autocomplete-list",
3163
- ref: $,
3167
+ ref: O,
3164
3168
  filterable: !0,
3165
- selected: te.value,
3169
+ selected: ne.value,
3166
3170
  selectStrategy: e.multiple ? "independent" : "single-independent",
3167
- onMousedown: (ne) => ne.preventDefault(),
3168
- onFocusout: le,
3171
+ onMousedown: (ae) => ae.preventDefault(),
3172
+ onFocusout: Q,
3169
3173
  tabindex: "-1",
3170
- selectable: !!S.value.length,
3174
+ selectable: !!C.value.length,
3171
3175
  "aria-live": "polite",
3172
- "aria-labelledby": `${_e.value}-label`,
3176
+ "aria-labelledby": `${Re.value}-label`,
3173
3177
  "aria-multiselectable": e.multiple,
3174
3178
  color: e.itemColor ?? e.color
3175
- }, _, e.listProps), {
3176
- default: () => [t["prepend-item"]?.(), !S.value.length && !e.hideNoData && (t["no-data"]?.() ?? g(vt, {
3179
+ }, A, e.listProps), {
3180
+ default: () => [t["prepend-item"]?.(), !C.value.length && !e.hideNoData && (t["no-data"]?.() ?? g(vt, {
3177
3181
  key: "no-data",
3178
3182
  title: n(e.noDataText)
3179
3183
  }, null)), g(cn, {
3180
3184
  ref: d,
3181
3185
  renderless: !0,
3182
- items: S.value,
3186
+ items: C.value,
3183
3187
  itemKey: "value"
3184
3188
  }, {
3185
- default: (ne) => {
3189
+ default: (ae) => {
3186
3190
  let {
3187
- item: z,
3188
- index: Re,
3191
+ item: Z,
3192
+ index: me,
3189
3193
  itemRef: Ze
3190
- } = ne;
3191
- const ut = N(z.props, {
3194
+ } = ae;
3195
+ const Ge = N(Z.props, {
3192
3196
  ref: Ze,
3193
- key: z.value,
3194
- active: J.value && z === H.value ? !0 : void 0,
3195
- onClick: () => pe(z, null),
3196
- "aria-posinset": Re + 1,
3197
- "aria-setsize": S.value.length
3197
+ key: Z.value,
3198
+ active: W.value && Z === H.value ? !0 : void 0,
3199
+ onClick: () => we(Z, null),
3200
+ "aria-posinset": me + 1,
3201
+ "aria-setsize": C.value.length
3198
3202
  });
3199
- return z.type === "divider" ? t.divider?.({
3200
- props: z.raw,
3201
- index: Re
3202
- }) ?? g(Ue, N(z.props, {
3203
- key: `divider-${Re}`
3204
- }), null) : z.type === "subheader" ? t.subheader?.({
3205
- props: z.raw,
3206
- index: Re
3207
- }) ?? g(jl, N(z.props, {
3208
- key: `subheader-${Re}`
3203
+ return Z.type === "divider" ? t.divider?.({
3204
+ props: Z.raw,
3205
+ index: me
3206
+ }) ?? g(ze, N(Z.props, {
3207
+ key: `divider-${me}`
3208
+ }), null) : Z.type === "subheader" ? t.subheader?.({
3209
+ props: Z.raw,
3210
+ index: me
3211
+ }) ?? g(jl, N(Z.props, {
3212
+ key: `subheader-${me}`
3209
3213
  }), null) : t.item?.({
3210
- item: z,
3211
- index: Re,
3212
- props: ut
3213
- }) ?? g(vt, N(ut, {
3214
+ item: Z,
3215
+ index: me,
3216
+ props: Ge
3217
+ }) ?? g(vt, N(Ge, {
3214
3218
  role: "option"
3215
3219
  }), {
3216
3220
  prepend: (st) => {
3217
3221
  let {
3218
3222
  isSelected: Ae
3219
3223
  } = st;
3220
- return b(re, null, [e.multiple && !e.hideSelected ? g(nn, {
3221
- key: z.value,
3224
+ return b(ce, null, [e.multiple && !e.hideSelected ? g(nn, {
3225
+ key: Z.value,
3222
3226
  modelValue: Ae,
3223
3227
  ripple: !1,
3224
3228
  tabindex: "-1",
3225
3229
  "aria-hidden": !0,
3226
3230
  onClick: (Cn) => Cn.preventDefault()
3227
- }, null) : void 0, z.props.prependAvatar && g(nt, {
3228
- image: z.props.prependAvatar
3229
- }, null), z.props.prependIcon && g(Se, {
3230
- icon: z.props.prependIcon
3231
+ }, null) : void 0, Z.props.prependAvatar && g(nt, {
3232
+ image: Z.props.prependAvatar
3233
+ }, null), Z.props.prependIcon && g(ke, {
3234
+ icon: Z.props.prependIcon
3231
3235
  }, null)]);
3232
3236
  },
3233
- title: () => c.value ? z.title : gn("v-autocomplete", z.title, I(z)?.title)
3237
+ title: () => c.value ? Z.title : gn("v-autocomplete", Z.title, w(Z)?.title)
3234
3238
  });
3235
3239
  }
3236
3240
  }), t["append-item"]?.()]
3237
3241
  }), t["menu-footer"] && b("footer", {
3238
3242
  ref: f
3239
- }, [t["menu-footer"](ee)])]
3243
+ }, [t["menu-footer"](T)])]
3240
3244
  })]
3241
- }), k.value.map((ne, z) => {
3242
- function Re(Ae) {
3243
- Ae.stopPropagation(), Ae.preventDefault(), pe(ne, !1);
3245
+ }), S.value.map((ae, Z) => {
3246
+ function me(Ae) {
3247
+ Ae.stopPropagation(), Ae.preventDefault(), we(ae, !1);
3244
3248
  }
3245
- const Ze = N(mt.filterProps(ne.props), {
3246
- "onClick:close": Re,
3249
+ const Ze = N(mt.filterProps(ae.props), {
3250
+ "onClick:close": me,
3247
3251
  onKeydown(Ae) {
3248
- Ae.key !== "Enter" && Ae.key !== " " || (Ae.preventDefault(), Ae.stopPropagation(), Re(Ae));
3252
+ Ae.key !== "Enter" && Ae.key !== " " || (Ae.preventDefault(), Ae.stopPropagation(), me(Ae));
3249
3253
  },
3250
3254
  onMousedown(Ae) {
3251
3255
  Ae.preventDefault(), Ae.stopPropagation();
3252
3256
  },
3253
3257
  modelValue: !0,
3254
3258
  "onUpdate:modelValue": void 0
3255
- }), ut = D.value ? !!t.chip : !!t.selection, st = ut ? Gl(D.value ? t.chip({
3256
- item: ne,
3257
- index: z,
3259
+ }), Ge = D.value ? !!t.chip : !!t.selection, st = Ge ? Gl(D.value ? t.chip({
3260
+ item: ae,
3261
+ index: Z,
3258
3262
  props: Ze
3259
3263
  }) : t.selection({
3260
- item: ne,
3261
- index: z
3264
+ item: ae,
3265
+ index: Z
3262
3266
  })) : void 0;
3263
- if (!(ut && !st))
3267
+ if (!(Ge && !st))
3264
3268
  return b("div", {
3265
- key: ne.value,
3266
- class: se(["v-autocomplete__selection", z === r.value && ["v-autocomplete__selection--selected", y.value]]),
3267
- style: Ie(z === r.value ? V.value : {})
3269
+ key: ae.value,
3270
+ class: re(["v-autocomplete__selection", Z === r.value && ["v-autocomplete__selection--selected", y.value]]),
3271
+ style: xe(Z === r.value ? V.value : {})
3268
3272
  }, [D.value ? t.chip ? g(Fe, {
3269
3273
  key: "chip-defaults",
3270
3274
  defaults: {
3271
3275
  VChip: {
3272
- closable: M.value,
3276
+ closable: $.value,
3273
3277
  size: "small",
3274
- text: ne.title
3278
+ text: ae.title
3275
3279
  }
3276
3280
  }
3277
3281
  }, {
3278
3282
  default: () => [st]
3279
3283
  }) : g(mt, N({
3280
3284
  key: "chip",
3281
- closable: M.value,
3285
+ closable: $.value,
3282
3286
  size: "small",
3283
- text: ne.title,
3284
- disabled: ne.props.disabled
3287
+ text: ae.title,
3288
+ disabled: ae.props.disabled
3285
3289
  }, Ze), null) : st ?? b("span", {
3286
3290
  class: "v-autocomplete__selection-text"
3287
- }, [ne.title, e.multiple && z < k.value.length - 1 && b("span", {
3291
+ }, [ae.title, e.multiple && Z < S.value.length - 1 && b("span", {
3288
3292
  class: "v-autocomplete__selection-comma"
3289
3293
  }, [pl(",")])])]);
3290
3294
  })]);
3291
3295
  },
3292
3296
  "append-inner": function() {
3293
- for (var fe = arguments.length, _e = new Array(fe), ne = 0; ne < fe; ne++)
3294
- _e[ne] = arguments[ne];
3295
- return b(re, null, [t["append-inner"]?.(..._e), e.menuIcon ? g(Se, {
3297
+ for (var le = arguments.length, Re = new Array(le), ae = 0; ae < le; ae++)
3298
+ Re[ae] = arguments[ae];
3299
+ return b(ce, null, [t["append-inner"]?.(...Re), e.menuIcon ? g(ke, {
3296
3300
  class: "v-autocomplete__menu-icon",
3297
3301
  color: l.value?.fieldIconColor,
3298
3302
  icon: e.menuIcon,
@@ -3300,23 +3304,23 @@ const hn = Q({
3300
3304
  onClick: Hn,
3301
3305
  "aria-hidden": !0,
3302
3306
  tabindex: "-1"
3303
- }, null) : void 0, e.appendInnerIcon && g(w, {
3307
+ }, null) : void 0, e.appendInnerIcon && g(P, {
3304
3308
  key: "append-icon",
3305
3309
  name: "appendInner",
3306
- color: _e[0].iconColor.value
3310
+ color: Re[0].iconColor.value
3307
3311
  }, null)]);
3308
3312
  }
3309
3313
  });
3310
3314
  }), St({
3311
3315
  isFocused: i,
3312
3316
  isPristine: c,
3313
- menu: X,
3314
- search: P,
3315
- filteredItems: j,
3316
- select: pe
3317
+ menu: q,
3318
+ search: _,
3319
+ filteredItems: K,
3320
+ select: we
3317
3321
  }, l);
3318
3322
  }
3319
- }), Ga = Q({
3323
+ }), Ga = X({
3320
3324
  bordered: Boolean,
3321
3325
  color: String,
3322
3326
  content: [Number, String],
@@ -3341,13 +3345,13 @@ const hn = Q({
3341
3345
  location: "top end"
3342
3346
  }),
3343
3347
  ...yt(),
3344
- ...$e(),
3345
- ...ze(),
3348
+ ...Oe(),
3349
+ ...He(),
3346
3350
  ...Tt({
3347
3351
  transition: "scale-rotate-transition"
3348
3352
  }),
3349
3353
  ...pt()
3350
- }, "VBadge"), Wa = oe()({
3354
+ }, "VBadge"), Wa = ie()({
3351
3355
  name: "VBadge",
3352
3356
  inheritAttrs: !1,
3353
3357
  props: Ga(),
@@ -3369,7 +3373,7 @@ const hn = Q({
3369
3373
  } = 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
3374
  dimensionStyles: r
3371
3375
  } = bt(e);
3372
- return ce(() => {
3376
+ return de(() => {
3373
3377
  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"]);
3374
3378
  return g(e.tag, N({
3375
3379
  class: ["v-badge", {
@@ -3386,21 +3390,21 @@ const hn = Q({
3386
3390
  }, [a.slots.default?.(), g(ll, {
3387
3391
  transition: e.transition
3388
3392
  }, {
3389
- default: () => [Ke(b("span", N({
3393
+ default: () => [Ue(b("span", N({
3390
3394
  class: ["v-badge__badge", u.value, t.value, l.value, c.value],
3391
3395
  style: [n.value, o.value, r.value, e.inline ? {} : d.value],
3392
3396
  "aria-atomic": "true",
3393
3397
  "aria-label": i(e.label, s),
3394
3398
  "aria-live": "polite",
3395
3399
  role: "status"
3396
- }, v), [e.dot ? void 0 : a.slots.badge ? a.slots.badge?.() : e.icon ? g(Se, {
3400
+ }, v), [e.dot ? void 0 : a.slots.badge ? a.slots.badge?.() : e.icon ? g(ke, {
3397
3401
  icon: e.icon
3398
3402
  }, null) : m]), [[Pt, e.modelValue]])]
3399
3403
  })])]
3400
3404
  });
3401
3405
  }), {};
3402
3406
  }
3403
- }), qa = Q({
3407
+ }), qa = X({
3404
3408
  fullscreen: Boolean,
3405
3409
  scrollable: Boolean,
3406
3410
  ...Ye(jn({
@@ -3413,7 +3417,7 @@ const hn = Q({
3413
3417
  zIndex: 2400,
3414
3418
  retainFocus: !0
3415
3419
  }), ["disableInitialFocus"])
3416
- }, "VDialog"), bn = oe()({
3420
+ }, "VDialog"), bn = ie()({
3417
3421
  name: "VDialog",
3418
3422
  props: qa(),
3419
3423
  emits: {
@@ -3426,9 +3430,9 @@ const hn = Q({
3426
3430
  emit: t,
3427
3431
  slots: n
3428
3432
  } = a;
3429
- const l = xe(e, "modelValue"), {
3433
+ const l = Ve(e, "modelValue"), {
3430
3434
  scopeId: i
3431
- } = Kn(), c = K();
3435
+ } = Kn(), c = U();
3432
3436
  function o() {
3433
3437
  t("afterEnter"), (e.scrim || e.retainFocus) && c.value?.contentEl && !c.value.contentEl.contains(document.activeElement) && c.value.contentEl.focus({
3434
3438
  preventScroll: !0
@@ -3437,11 +3441,11 @@ const hn = Q({
3437
3441
  function u() {
3438
3442
  t("afterLeave");
3439
3443
  }
3440
- return ue(l, async (d) => {
3441
- d || (await Ce(), c.value.activatorEl?.focus({
3444
+ return se(l, async (d) => {
3445
+ d || (await Se(), c.value.activatorEl?.focus({
3442
3446
  preventScroll: !0
3443
3447
  }));
3444
- }), ce(() => {
3448
+ }), de(() => {
3445
3449
  const d = dl.filterProps(e), r = N({
3446
3450
  "aria-haspopup": "dialog"
3447
3451
  }, e.activatorProps), s = N({
@@ -3481,10 +3485,10 @@ const hn = Q({
3481
3485
  });
3482
3486
  }), St({}, c);
3483
3487
  }
3484
- }), Ja = Q({
3488
+ }), Ja = X({
3485
3489
  ...he(),
3486
- ...$e()
3487
- }, "VCardActions"), pn = oe()({
3490
+ ...Oe()
3491
+ }, "VCardActions"), pn = ie()({
3488
3492
  name: "VCardActions",
3489
3493
  props: Ja(),
3490
3494
  setup(e, a) {
@@ -3496,30 +3500,30 @@ const hn = Q({
3496
3500
  slim: !0,
3497
3501
  variant: "text"
3498
3502
  }
3499
- }), ce(() => g(e.tag, {
3500
- class: se(["v-card-actions", e.class]),
3501
- style: Ie(e.style)
3503
+ }), de(() => g(e.tag, {
3504
+ class: re(["v-card-actions", e.class]),
3505
+ style: xe(e.style)
3502
3506
  }, t)), {};
3503
3507
  }
3504
- }), Xa = Q({
3508
+ }), Xa = X({
3505
3509
  opacity: [Number, String],
3506
3510
  ...he(),
3507
- ...$e()
3508
- }, "VCardSubtitle"), Ya = oe()({
3511
+ ...Oe()
3512
+ }, "VCardSubtitle"), Ya = ie()({
3509
3513
  name: "VCardSubtitle",
3510
3514
  props: Xa(),
3511
3515
  setup(e, a) {
3512
3516
  let {
3513
3517
  slots: t
3514
3518
  } = a;
3515
- return ce(() => g(e.tag, {
3516
- class: se(["v-card-subtitle", e.class]),
3517
- style: Ie([{
3519
+ return de(() => g(e.tag, {
3520
+ class: re(["v-card-subtitle", e.class]),
3521
+ style: xe([{
3518
3522
  "--v-card-subtitle-opacity": e.opacity
3519
3523
  }, e.style])
3520
3524
  }, t)), {};
3521
3525
  }
3522
- }), il = Gn("v-card-title"), Qa = Q({
3526
+ }), il = Gn("v-card-title"), Qa = X({
3523
3527
  appendAvatar: String,
3524
3528
  appendIcon: ye,
3525
3529
  prependAvatar: String,
@@ -3534,19 +3538,19 @@ const hn = Q({
3534
3538
  },
3535
3539
  ...he(),
3536
3540
  ...ht(),
3537
- ...$e()
3538
- }, "VCardItem"), Za = oe()({
3541
+ ...Oe()
3542
+ }, "VCardItem"), Za = ie()({
3539
3543
  name: "VCardItem",
3540
3544
  props: Qa(),
3541
3545
  setup(e, a) {
3542
3546
  let {
3543
3547
  slots: t
3544
3548
  } = a;
3545
- return ce(() => {
3549
+ return de(() => {
3546
3550
  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);
3547
3551
  return g(e.tag, {
3548
- class: se(["v-card-item", e.class]),
3549
- style: Ie(e.style)
3552
+ class: re(["v-card-item", e.class]),
3553
+ style: xe(e.style)
3550
3554
  }, {
3551
3555
  default: () => [l && b("div", {
3552
3556
  key: "prepend",
@@ -3564,11 +3568,11 @@ const hn = Q({
3564
3568
  icon: e.prependIcon
3565
3569
  }
3566
3570
  }
3567
- }, t.prepend) : b(re, null, [e.prependAvatar && g(nt, {
3571
+ }, t.prepend) : b(ce, null, [e.prependAvatar && g(nt, {
3568
3572
  key: "prepend-avatar",
3569
3573
  density: e.density,
3570
3574
  image: e.prependAvatar
3571
- }, null), e.prependIcon && g(Se, {
3575
+ }, null), e.prependIcon && g(ke, {
3572
3576
  key: "prepend-icon",
3573
3577
  density: e.density,
3574
3578
  icon: e.prependIcon
@@ -3598,7 +3602,7 @@ const hn = Q({
3598
3602
  icon: e.appendIcon
3599
3603
  }
3600
3604
  }
3601
- }, t.append) : b(re, null, [e.appendIcon && g(Se, {
3605
+ }, t.append) : b(ce, null, [e.appendIcon && g(ke, {
3602
3606
  key: "append-icon",
3603
3607
  density: e.density,
3604
3608
  icon: e.appendIcon
@@ -3610,25 +3614,25 @@ const hn = Q({
3610
3614
  });
3611
3615
  }), {};
3612
3616
  }
3613
- }), eo = Q({
3617
+ }), eo = X({
3614
3618
  opacity: [Number, String],
3615
3619
  ...he(),
3616
- ...$e()
3617
- }, "VCardText"), ul = oe()({
3620
+ ...Oe()
3621
+ }, "VCardText"), ul = ie()({
3618
3622
  name: "VCardText",
3619
3623
  props: eo(),
3620
3624
  setup(e, a) {
3621
3625
  let {
3622
3626
  slots: t
3623
3627
  } = a;
3624
- return ce(() => g(e.tag, {
3625
- class: se(["v-card-text", e.class]),
3626
- style: Ie([{
3628
+ return de(() => g(e.tag, {
3629
+ class: re(["v-card-text", e.class]),
3630
+ style: xe([{
3627
3631
  "--v-card-text-opacity": e.opacity
3628
3632
  }, e.style])
3629
3633
  }, t)), {};
3630
3634
  }
3631
- }), to = Q({
3635
+ }), to = X({
3632
3636
  appendAvatar: String,
3633
3637
  appendIcon: ye,
3634
3638
  disabled: Boolean,
@@ -3667,12 +3671,12 @@ const hn = Q({
3667
3671
  ...Bl(),
3668
3672
  ...yt(),
3669
3673
  ...Dl(),
3670
- ...$e(),
3671
- ...ze(),
3674
+ ...Oe(),
3675
+ ...He(),
3672
3676
  ...Jt({
3673
3677
  variant: "elevated"
3674
3678
  })
3675
- }, "VCard"), kn = oe()({
3679
+ }, "VCard"), kn = ie()({
3676
3680
  name: "VCard",
3677
3681
  directives: {
3678
3682
  vRipple: lt
@@ -3705,24 +3709,24 @@ const hn = Q({
3705
3709
  positionClasses: h
3706
3710
  } = Tl(e), {
3707
3711
  roundedClasses: y
3708
- } = gt(e), V = Pl(e, t), w = Z(void 0);
3709
- return ue(() => e.loading, (P, k) => {
3710
- w.value = !P && typeof k == "string" ? k : typeof P == "boolean" ? void 0 : P;
3712
+ } = gt(e), V = Pl(e, t), P = ee(void 0);
3713
+ return se(() => e.loading, (_, S) => {
3714
+ P.value = !_ && typeof S == "string" ? S : typeof _ == "boolean" ? void 0 : _;
3711
3715
  }, {
3712
3716
  immediate: !0
3713
- }), ce(() => {
3714
- const P = e.link !== !1 && V.isLink.value, k = !e.disabled && e.link !== !1 && (e.link || V.isClickable.value), F = P ? "a" : e.tag, O = !!(n.title || e.title != null), j = !!(n.subtitle || e.subtitle != null), I = O || j, S = !!(n.append || e.appendAvatar || e.appendIcon), M = !!(n.prepend || e.prependAvatar || e.prependIcon), D = !!(n.image || e.image), q = I || M || S, te = !!(n.text || e.text != null);
3715
- return Ke(g(F, N(V.linkProps, {
3717
+ }), de(() => {
3718
+ const _ = e.link !== !1 && V.isLink.value, S = !e.disabled && e.link !== !1 && (e.link || V.isClickable.value), F = _ ? "a" : e.tag, E = !!(n.title || e.title != null), K = !!(n.subtitle || e.subtitle != null), w = E || K, C = !!(n.append || e.appendAvatar || e.appendIcon), $ = !!(n.prepend || e.prependAvatar || e.prependIcon), D = !!(n.image || e.image), G = w || $ || C, ne = !!(n.text || e.text != null);
3719
+ return Ue(g(F, N(V.linkProps, {
3716
3720
  class: ["v-card", {
3717
3721
  "v-card--disabled": e.disabled,
3718
3722
  "v-card--flat": e.flat,
3719
3723
  "v-card--hover": e.hover && !(e.disabled || e.flat),
3720
- "v-card--link": k
3724
+ "v-card--link": S
3721
3725
  }, l.value, i.value, c.value, d.value, s.value, m.value, h.value, y.value, u.value, e.class],
3722
3726
  style: [o.value, r.value, v.value, {
3723
3727
  "--v-card-height": et(e.height)
3724
3728
  }, e.style],
3725
- onClick: k && V.navigate.value,
3729
+ onClick: S && V.navigate.value,
3726
3730
  tabindex: e.disabled ? -1 : void 0
3727
3731
  }), {
3728
3732
  default: () => [D && b("div", {
@@ -3744,10 +3748,10 @@ const hn = Q({
3744
3748
  }, null)]), g(Ll, {
3745
3749
  name: "v-card",
3746
3750
  active: !!e.loading,
3747
- color: w.value
3751
+ color: P.value
3748
3752
  }, {
3749
3753
  default: n.loader
3750
- }), q && g(Za, {
3754
+ }), G && g(Za, {
3751
3755
  key: "item",
3752
3756
  prependAvatar: e.prependAvatar,
3753
3757
  prependIcon: e.prependIcon,
@@ -3761,14 +3765,14 @@ const hn = Q({
3761
3765
  title: n.title,
3762
3766
  subtitle: n.subtitle,
3763
3767
  append: n.append
3764
- }), te && g(ul, {
3768
+ }), ne && g(ul, {
3765
3769
  key: "text"
3766
3770
  }, {
3767
3771
  default: () => [n.text?.() ?? e.text]
3768
3772
  }), n.default?.(), n.actions && g(pn, null, {
3769
3773
  default: n.actions
3770
- }), Al(k, "v-card")]
3771
- }), [[lt, k && e.ripple]]);
3774
+ }), Al(S, "v-card")]
3775
+ }), [[lt, S && e.ripple]]);
3772
3776
  }), {};
3773
3777
  }
3774
3778
  }), lo = 50, no = 500;
@@ -3794,7 +3798,7 @@ function ao(e) {
3794
3798
  holdStop: i
3795
3799
  };
3796
3800
  }
3797
- const oo = Q({
3801
+ const oo = X({
3798
3802
  controlVariant: {
3799
3803
  type: String,
3800
3804
  default: "default"
@@ -3830,7 +3834,7 @@ const oo = Q({
3830
3834
  validator: (e) => !e || e.length === 1
3831
3835
  },
3832
3836
  ...Ye($t(), ["modelValue", "validationValue"])
3833
- }, "VNumberInput"), io = oe()({
3837
+ }, "VNumberInput"), io = ie()({
3834
3838
  name: "VNumberInput",
3835
3839
  props: {
3836
3840
  ...oo()
@@ -3843,117 +3847,117 @@ const oo = Q({
3843
3847
  let {
3844
3848
  slots: t
3845
3849
  } = a;
3846
- const n = K(), {
3850
+ const n = U(), {
3847
3851
  holdStart: l,
3848
3852
  holdStop: i
3849
3853
  } = ao({
3850
- toggleUpDown: q
3851
- }), c = Ot(e), o = x(() => c.isDisabled.value || c.isReadonly.value), u = Z(e.focused), {
3854
+ toggleUpDown: G
3855
+ }), c = Ot(e), o = I(() => c.isDisabled.value || c.isReadonly.value), u = ee(e.focused), {
3852
3856
  decimalSeparator: d
3853
- } = it(), r = x(() => e.decimalSeparator?.[0] || d.value);
3857
+ } = it(), r = I(() => e.decimalSeparator?.[0] || d.value);
3854
3858
  function s(f) {
3855
- let _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, Y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
3856
- const de = _ == null ? String(f) : f.toFixed(_);
3857
- if (u.value && Y)
3858
- return Number(de).toString().replace(".", r.value);
3859
- if (e.minFractionDigits === null || _ !== null && _ < e.minFractionDigits)
3860
- return de.replace(".", r.value);
3861
- let [me, be] = de.split(".");
3862
- return be = (be ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [me, be].filter(Boolean).join(r.value);
3859
+ let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.precision, J = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
3860
+ const ve = A == null ? String(f) : f.toFixed(A);
3861
+ if (u.value && J)
3862
+ return Number(ve).toString().replace(".", r.value);
3863
+ if (e.minFractionDigits === null || A !== null && A < e.minFractionDigits)
3864
+ return ve.replace(".", r.value);
3865
+ let [ge, be] = ve.split(".");
3866
+ return be = (be ?? "").padEnd(e.minFractionDigits, "0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`, "g"), ""), [ge, be].filter(Boolean).join(r.value);
3863
3867
  }
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);
3865
- ue(m, (f) => {
3868
+ const m = Ve(e, "modelValue", null, (f) => f ?? null, (f) => f == null ? f ?? null : Ne(Number(f), e.min, e.max)), v = ee(null), h = ee(null);
3869
+ se(m, (f) => {
3866
3870
  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, "."))));
3867
3871
  }, {
3868
3872
  immediate: !0
3869
3873
  });
3870
- const y = x({
3874
+ const y = I({
3871
3875
  get: () => v.value,
3872
3876
  set(f) {
3873
3877
  if (f === null || f === "") {
3874
3878
  m.value = null, v.value = null, h.value = null;
3875
3879
  return;
3876
3880
  }
3877
- const _ = Number(f.replace(r.value, "."));
3878
- isNaN(_) || (v.value = f, h.value = _, _ <= e.max && _ >= e.min && (m.value = _));
3881
+ const A = Number(f.replace(r.value, "."));
3882
+ isNaN(A) || (v.value = f, h.value = A, A <= e.max && A >= e.min && (m.value = A));
3879
3883
  }
3880
- }), V = x(() => {
3884
+ }), V = I(() => {
3881
3885
  if (h.value === null) return !1;
3882
3886
  const f = Number(v.value?.replace(r.value, "."));
3883
- return f !== Le(f, e.min, e.max);
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
+ return f !== Ne(f, e.min, e.max);
3888
+ }), P = I(() => o.value ? !1 : (m.value ?? 0) + e.step <= e.max), _ = I(() => o.value ? !1 : (m.value ?? 0) - e.step >= e.min), S = I(() => e.hideInput ? "stacked" : e.controlVariant), F = R(() => S.value === "split" ? "$plus" : "$collapse"), E = R(() => S.value === "split" ? "$minus" : "$expand"), K = R(() => S.value === "split" ? "default" : "small"), w = R(() => S.value === "stacked" ? "auto" : "100%"), C = {
3885
3889
  props: {
3886
- onClick: J,
3887
- onPointerup: W,
3888
- onPointerdown: ie,
3889
- onPointercancel: W
3890
+ onClick: W,
3891
+ onPointerup: j,
3892
+ onPointerdown: ue,
3893
+ onPointercancel: j
3890
3894
  }
3891
- }, M = {
3895
+ }, $ = {
3892
3896
  props: {
3893
- onClick: J,
3894
- onPointerup: W,
3895
- onPointerdown: X,
3896
- onPointercancel: W
3897
+ onClick: W,
3898
+ onPointerup: j,
3899
+ onPointerdown: q,
3900
+ onPointercancel: j
3897
3901
  }
3898
3902
  };
3899
- ue(() => e.precision, () => ve()), ue(() => e.minFractionDigits, () => ve()), at(() => {
3900
- U();
3903
+ se(() => e.precision, () => fe()), se(() => e.minFractionDigits, () => fe()), at(() => {
3904
+ z();
3901
3905
  });
3902
3906
  function D(f) {
3903
3907
  if (f == null) return 0;
3904
- const _ = f.toString(), Y = _.indexOf(".");
3905
- return ~Y ? _.length - Y : 0;
3908
+ const A = f.toString(), J = A.indexOf(".");
3909
+ return ~J ? A.length - J : 0;
3906
3910
  }
3907
- function q() {
3911
+ function G() {
3908
3912
  let f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
3909
3913
  if (o.value) return;
3910
3914
  if (m.value == null) {
3911
- y.value = s(Le(0, e.min, e.max));
3915
+ y.value = s(Ne(0, e.min, e.max));
3912
3916
  return;
3913
3917
  }
3914
- let _ = Math.max(D(m.value), D(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
+ let A = Math.max(D(m.value), D(e.step));
3919
+ e.precision != null && (A = Math.max(A, e.precision)), f ? P.value && (y.value = s(m.value + e.step, A)) : _.value && (y.value = s(m.value - e.step, A));
3916
3920
  }
3917
- function te(f) {
3918
- if (!f.data) return;
3919
- const _ = f.target, {
3920
- value: Y,
3921
- selectionStart: de,
3922
- selectionEnd: me
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) {
3921
+ function ne(f) {
3922
+ if (o.value || !f.data) return;
3923
+ const A = f.target, {
3924
+ value: J,
3925
+ selectionStart: ve,
3926
+ selectionEnd: ge
3927
+ } = A ?? {}, be = J ? J.slice(0, ve) + f.data + J.slice(ge) : f.data, Ie = qn(be, e.precision, r.value);
3928
+ if (new RegExp(`^-?\\d*${Jn(r.value)}?\\d*$`).test(be) || (f.preventDefault(), A.value = Ie, Se(() => y.value = Ie)), e.precision != null) {
3925
3929
  if (be.split(r.value)[1]?.length > e.precision) {
3926
- f.preventDefault(), _.value = we, Ce(() => y.value = we);
3927
- const Te = (de ?? 0) + f.data.length;
3928
- _.setSelectionRange(Te, Te);
3930
+ f.preventDefault(), A.value = Ie, Se(() => y.value = Ie);
3931
+ const De = (ve ?? 0) + f.data.length;
3932
+ A.setSelectionRange(De, De);
3929
3933
  }
3930
- e.precision === 0 && be.endsWith(r.value) && (f.preventDefault(), _.value = we, Ce(() => y.value = we));
3934
+ e.precision === 0 && be.endsWith(r.value) && (f.preventDefault(), A.value = Ie, Se(() => y.value = Ie));
3931
3935
  }
3932
3936
  }
3933
3937
  async function H(f) {
3934
- ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(f.key) || f.ctrlKey || ["ArrowDown", "ArrowUp"].includes(f.key) && (f.preventDefault(), f.stopPropagation(), U(), await Ce(), f.key === "ArrowDown" ? q(!1) : q());
3938
+ ["Enter", "ArrowLeft", "ArrowRight", "Backspace", "Delete", "Tab"].includes(f.key) || f.ctrlKey || ["ArrowDown", "ArrowUp"].includes(f.key) && (f.preventDefault(), f.stopPropagation(), z(), await Se(), f.key === "ArrowDown" ? G(!1) : G());
3935
3939
  }
3936
- function J(f) {
3940
+ function W(f) {
3937
3941
  f.stopPropagation();
3938
3942
  }
3939
- function W(f) {
3943
+ function j(f) {
3940
3944
  f.currentTarget?.releasePointerCapture(f.pointerId), f.preventDefault(), i();
3941
3945
  }
3942
- function ie(f) {
3946
+ function ue(f) {
3943
3947
  f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("up");
3944
3948
  }
3945
- function X(f) {
3949
+ function q(f) {
3946
3950
  f.currentTarget?.setPointerCapture(f.pointerId), f.preventDefault(), f.stopPropagation(), l("down");
3947
3951
  }
3948
- function U() {
3952
+ function z() {
3949
3953
  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
+ const f = n.value.value, A = Number(f.replace(r.value, "."));
3955
+ f && !isNaN(A) ? y.value = s(Ne(A, e.min, e.max)) : y.value = null;
3952
3956
  }
3953
- function ve() {
3957
+ function fe() {
3954
3958
  o.value || (y.value = m.value !== null && !isNaN(m.value) ? s(m.value, e.precision, !1) : null);
3955
3959
  }
3956
- function T() {
3960
+ function B() {
3957
3961
  if (!o.value) {
3958
3962
  if (m.value === null || isNaN(m.value)) {
3959
3963
  y.value = null;
@@ -3962,74 +3966,74 @@ const oo = Q({
3962
3966
  y.value = m.value.toString().replace(".", r.value);
3963
3967
  }
3964
3968
  }
3965
- function $() {
3966
- T();
3969
+ function O() {
3970
+ B();
3967
3971
  }
3968
3972
  function p() {
3969
- U();
3973
+ z();
3970
3974
  }
3971
- return ce(() => {
3975
+ return de(() => {
3972
3976
  const {
3973
3977
  modelValue: f,
3974
- type: _,
3975
- ...Y
3978
+ type: A,
3979
+ ...J
3976
3980
  } = Je.filterProps(e);
3977
- function de() {
3981
+ function ve() {
3978
3982
  return t.increment ? g(Fe, {
3979
3983
  key: "increment-defaults",
3980
3984
  defaults: {
3981
3985
  VBtn: {
3982
- disabled: !w.value,
3983
- height: I.value,
3984
- size: j.value,
3986
+ disabled: !P.value,
3987
+ height: w.value,
3988
+ size: K.value,
3985
3989
  icon: F.value,
3986
3990
  variant: "text"
3987
3991
  }
3988
3992
  }
3989
3993
  }, {
3990
- default: () => [t.increment(S)]
3994
+ default: () => [t.increment(C)]
3991
3995
  }) : g(tt, {
3992
3996
  "aria-hidden": "true",
3993
3997
  "data-testid": "increment",
3994
- disabled: !w.value,
3995
- height: I.value,
3998
+ disabled: !P.value,
3999
+ height: w.value,
3996
4000
  icon: F.value,
3997
4001
  key: "increment-btn",
3998
- onClick: J,
3999
- onPointerdown: ie,
4000
- onPointerup: W,
4001
- onPointercancel: W,
4002
- size: j.value,
4002
+ onClick: W,
4003
+ onPointerdown: ue,
4004
+ onPointerup: j,
4005
+ onPointercancel: j,
4006
+ size: K.value,
4003
4007
  variant: "text",
4004
4008
  tabindex: "-1"
4005
4009
  }, null);
4006
4010
  }
4007
- function me() {
4011
+ function ge() {
4008
4012
  return t.decrement ? g(Fe, {
4009
4013
  key: "decrement-defaults",
4010
4014
  defaults: {
4011
4015
  VBtn: {
4012
- disabled: !P.value,
4013
- height: I.value,
4014
- size: j.value,
4015
- icon: O.value,
4016
+ disabled: !_.value,
4017
+ height: w.value,
4018
+ size: K.value,
4019
+ icon: E.value,
4016
4020
  variant: "text"
4017
4021
  }
4018
4022
  }
4019
4023
  }, {
4020
- default: () => [t.decrement(M)]
4024
+ default: () => [t.decrement($)]
4021
4025
  }) : g(tt, {
4022
4026
  "aria-hidden": "true",
4023
4027
  "data-testid": "decrement",
4024
- disabled: !P.value,
4025
- height: I.value,
4026
- icon: O.value,
4028
+ disabled: !_.value,
4029
+ height: w.value,
4030
+ icon: E.value,
4027
4031
  key: "decrement-btn",
4028
- onClick: J,
4029
- onPointerdown: X,
4030
- onPointerup: W,
4031
- onPointercancel: W,
4032
- size: j.value,
4032
+ onClick: W,
4033
+ onPointerdown: q,
4034
+ onPointerup: j,
4035
+ onPointercancel: j,
4036
+ size: K.value,
4033
4037
  variant: "text",
4034
4038
  tabindex: "-1"
4035
4039
  }, null);
@@ -4037,58 +4041,58 @@ const oo = Q({
4037
4041
  function be() {
4038
4042
  return b("div", {
4039
4043
  class: "v-number-input__control"
4040
- }, [me(), g(Ue, {
4041
- vertical: k.value !== "stacked"
4042
- }, null), de()]);
4044
+ }, [ge(), g(ze, {
4045
+ vertical: S.value !== "stacked"
4046
+ }, null), ve()]);
4043
4047
  }
4044
- function we() {
4045
- return !e.hideInput && !e.inset ? g(Ue, {
4048
+ function Ie() {
4049
+ return !e.hideInput && !e.inset ? g(ze, {
4046
4050
  vertical: !0
4047
4051
  }, null) : void 0;
4048
4052
  }
4049
- const Te = k.value === "split" ? b("div", {
4053
+ const De = S.value === "split" ? b("div", {
4050
4054
  class: "v-number-input__control"
4051
- }, [g(Ue, {
4055
+ }, [g(ze, {
4052
4056
  vertical: !0
4053
- }, null), de()]) : e.reverse || k.value === "hidden" ? void 0 : b(re, null, [we(), be()]), Ge = t["append-inner"] || Te, Qe = k.value === "split" ? b("div", {
4057
+ }, null), ve()]) : e.reverse || S.value === "hidden" ? void 0 : b(ce, null, [Ie(), be()]), je = t["append-inner"] || De, Qe = S.value === "split" ? b("div", {
4054
4058
  class: "v-number-input__control"
4055
- }, [me(), g(Ue, {
4059
+ }, [ge(), g(ze, {
4056
4060
  vertical: !0
4057
- }, null)]) : e.reverse && k.value !== "hidden" ? b(re, null, [be(), we()]) : void 0, A = t["prepend-inner"] || Qe;
4061
+ }, null)]) : e.reverse && S.value !== "hidden" ? b(ce, null, [be(), Ie()]) : void 0, ut = t["prepend-inner"] || Qe;
4058
4062
  return g(Je, N({
4059
4063
  ref: n
4060
- }, Y, {
4064
+ }, J, {
4061
4065
  modelValue: y.value,
4062
- "onUpdate:modelValue": (G) => y.value = G,
4066
+ "onUpdate:modelValue": (x) => y.value = x,
4063
4067
  focused: u.value,
4064
- "onUpdate:focused": (G) => u.value = G,
4068
+ "onUpdate:focused": (x) => u.value = x,
4065
4069
  validationValue: m.value,
4066
4070
  error: e.error || V.value || void 0,
4067
- onBeforeinput: te,
4068
- onFocus: $,
4071
+ onBeforeinput: ne,
4072
+ onFocus: O,
4069
4073
  onBlur: p,
4070
4074
  onKeydown: H,
4071
4075
  class: ["v-number-input", {
4072
- "v-number-input--default": k.value === "default",
4076
+ "v-number-input--default": S.value === "default",
4073
4077
  "v-number-input--hide-input": e.hideInput,
4074
4078
  "v-number-input--inset": e.inset,
4075
4079
  "v-number-input--reverse": e.reverse,
4076
- "v-number-input--split": k.value === "split",
4077
- "v-number-input--stacked": k.value === "stacked"
4080
+ "v-number-input--split": S.value === "split",
4081
+ "v-number-input--stacked": S.value === "stacked"
4078
4082
  }, e.class],
4079
4083
  style: e.style,
4080
4084
  inputmode: "decimal"
4081
4085
  }), {
4082
4086
  ...t,
4083
- "append-inner": Ge ? function() {
4084
- for (var G = arguments.length, le = new Array(G), ge = 0; ge < G; ge++)
4085
- le[ge] = arguments[ge];
4086
- return b(re, null, [t["append-inner"]?.(...le), Te]);
4087
+ "append-inner": je ? function() {
4088
+ for (var x = arguments.length, Q = new Array(x), te = 0; te < x; te++)
4089
+ Q[te] = arguments[te];
4090
+ return b(ce, null, [t["append-inner"]?.(...Q), De]);
4087
4091
  } : void 0,
4088
- "prepend-inner": A ? function() {
4089
- for (var G = arguments.length, le = new Array(G), ge = 0; ge < G; ge++)
4090
- le[ge] = arguments[ge];
4091
- return b(re, null, [Qe, t["prepend-inner"]?.(...le)]);
4092
+ "prepend-inner": ut ? function() {
4093
+ for (var x = arguments.length, Q = new Array(x), te = 0; te < x; te++)
4094
+ Q[te] = arguments[te];
4095
+ return b(ce, null, [Qe, t["prepend-inner"]?.(...Q)]);
4092
4096
  } : void 0
4093
4097
  });
4094
4098
  }), St({}, n);
@@ -4101,18 +4105,18 @@ const oo = Q({
4101
4105
  },
4102
4106
  emits: /* @__PURE__ */ Wt(["closeDialog", "save"], ["update:modelValue"]),
4103
4107
  setup(e, { emit: a }) {
4104
- const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = _t(e, "modelValue"), i = a, c = {
4108
+ const t = _e("table_props"), n = _e("datatablesPluginOptions"), l = _t(e, "modelValue"), i = a, c = {
4105
4109
  textfield: Je,
4106
4110
  select: ja,
4107
4111
  number: io,
4108
- datepicker: Oe(
4109
- () => import("./Datepicker-D8R5O3nA.js")
4112
+ datepicker: Ee(
4113
+ () => import("./Datepicker-BKJGzszq.js")
4110
4114
  ),
4111
- comparison: Oe(
4112
- () => import("./Comparison-c7-5FHzt.js")
4115
+ comparison: Ee(
4116
+ () => import("./Comparison-IcnZYHnn.js")
4113
4117
  )
4114
- }, o = x(() => t.headers.filter((d) => d.advancedFilter !== !1 && !d.hidden)), u = (d) => d ? typeof d == "string" ? c[d] : d : c.textfield;
4115
- return ue(
4118
+ }, o = I(() => t.headers.filter((d) => d.advancedFilter !== !1 && !d.hidden)), u = (d) => d ? typeof d == "string" ? c[d] : d : c.textfield;
4119
+ return se(
4116
4120
  o,
4117
4121
  (d) => {
4118
4122
  d.forEach((r) => {
@@ -4126,10 +4130,10 @@ const oo = Q({
4126
4130
  { immediate: !0 }
4127
4131
  ), at(async () => {
4128
4132
  await t.options.advancedFilters?.onMounted();
4129
- }), (d, r) => (ae(), ke(kn, { rounded: "lg" }, {
4130
- default: Ve(() => [
4133
+ }), (d, r) => (oe(), pe(kn, { rounded: "lg" }, {
4134
+ default: Ce(() => [
4131
4135
  g(il, { class: "d-flex justify-space-between align-center" }, {
4132
- default: Ve(() => [
4136
+ default: Ce(() => [
4133
4137
  b("div", uo, Vt(d.$t("$datatables.advancedFilters")), 1),
4134
4138
  g(tt, {
4135
4139
  icon: L(n).header.icons.close,
@@ -4139,15 +4143,15 @@ const oo = Q({
4139
4143
  ]),
4140
4144
  _: 1
4141
4145
  }),
4142
- g(Ue),
4146
+ g(ze),
4143
4147
  g(ul, { class: "overflow-auto pt-8" }, {
4144
- default: Ve(() => [
4145
- (ae(!0), je(re, null, Gt(L(o), (s, m) => (ae(), je("div", {
4148
+ default: Ce(() => [
4149
+ (oe(!0), Ke(ce, null, Gt(L(o), (s, m) => (oe(), Ke("div", {
4146
4150
  id: `advanced-filter-${s.key}`,
4147
4151
  key: `filter-${m}`,
4148
- class: se(`advanced-filter advanced-filter--${s.key}`)
4152
+ class: re(`advanced-filter advanced-filter--${s.key}`)
4149
4153
  }, [
4150
- (ae(), ke(Me(u(s.advancedFilter?.component)), N({
4154
+ (oe(), pe($e(u(s.advancedFilter?.component)), N({
4151
4155
  modelValue: l.value[s.advancedFilter?.key ?? s.key].value,
4152
4156
  "onUpdate:modelValue": (v) => l.value[s.advancedFilter?.key ?? s.key].value = v,
4153
4157
  comparison: l.value[s.advancedFilter?.key ?? s.key].comparison,
@@ -4161,9 +4165,9 @@ const oo = Q({
4161
4165
  ]),
4162
4166
  _: 1
4163
4167
  }),
4164
- g(Ue, { class: "mt-2" }),
4168
+ g(ze, { class: "mt-2" }),
4165
4169
  g(pn, { class: "my-2 d-flex justify-end" }, {
4166
- default: Ve(() => [
4170
+ default: Ce(() => [
4167
4171
  g(tt, {
4168
4172
  class: "text-none",
4169
4173
  text: d.$t("$datatables.cancel"),
@@ -4220,7 +4224,7 @@ const co = {
4220
4224
  },
4221
4225
  emits: ["update:modelValue"],
4222
4226
  setup(e) {
4223
- const a = Bt(), { advancedFiltersState: t } = Rt(), { setData: n } = a, l = _t(e, "modelValue"), i = K({}), c = Pe("table_props"), o = Pe("busEmits"), u = () => {
4227
+ const a = Bt(), { advancedFiltersState: t } = Rt(), { setData: n } = a, l = _t(e, "modelValue"), i = U({}), c = _e("table_props"), o = _e("busEmits"), u = () => {
4224
4228
  const d = Object.entries(i.value).filter(([, r]) => {
4225
4229
  const s = r.value;
4226
4230
  return Array.isArray(s) || typeof s == "string" ? s.length > 0 : s != null && s !== "";
@@ -4235,14 +4239,14 @@ const co = {
4235
4239
  i.value = bl(t.value);
4236
4240
  }), (d, r) => {
4237
4241
  const s = ro, m = fa;
4238
- return ae(), je("div", null, [
4242
+ return oe(), Ke("div", null, [
4239
4243
  g(bn, {
4240
4244
  modelValue: l.value,
4241
4245
  "onUpdate:modelValue": r[1] || (r[1] = (v) => l.value = v),
4242
4246
  "max-width": "550",
4243
4247
  "retain-focus": !1
4244
4248
  }, {
4245
- default: Ve(({ isActive: v }) => [
4249
+ default: Ce(({ isActive: v }) => [
4246
4250
  g(s, {
4247
4251
  modelValue: L(i),
4248
4252
  "onUpdate:modelValue": r[0] || (r[0] = (h) => xt(i) ? i.value = h : null),
@@ -4252,19 +4256,19 @@ const co = {
4252
4256
  ]),
4253
4257
  _: 1
4254
4258
  }, 8, ["modelValue"]),
4255
- Object.keys(L(t)).length ? (ae(), ke(m, {
4259
+ Object.keys(L(t)).length ? (oe(), pe(m, {
4256
4260
  key: 0,
4257
4261
  modelValue: L(i),
4258
4262
  "onUpdate:modelValue": r[2] || (r[2] = (v) => xt(i) ? i.value = v : null),
4259
4263
  onSave: u
4260
- }, null, 8, ["modelValue"])) : Ne("", !0)
4264
+ }, null, 8, ["modelValue"])) : Me("", !0)
4261
4265
  ]);
4262
4266
  };
4263
4267
  }
4264
4268
  };
4265
4269
  function vo() {
4266
- const e = Pe("datatablesPluginOptions"), { t: a } = Qn(), { advancedFiltersState: t } = Rt(), n = K(!1), l = x(() => Object.keys(t.value).length);
4267
- return { advancedFiltersItems: x(() => [
4270
+ const e = _e("datatablesPluginOptions"), { t: a } = Qn(), { advancedFiltersState: t } = Rt(), n = U(!1), l = I(() => Object.keys(t.value).length);
4271
+ return { advancedFiltersItems: I(() => [
4268
4272
  {
4269
4273
  title: `${a("$datatables.advancedFilters")}`,
4270
4274
  onClick: () => n.value = !0,
@@ -4278,27 +4282,27 @@ const fo = /* @__PURE__ */ kl({
4278
4282
  const { advancedFiltersItems: a, advancedFiltersDialog: t, activeAdvancedFilters: n } = vo();
4279
4283
  return (l, i) => {
4280
4284
  const c = co;
4281
- return ae(), je("div", null, [
4282
- (ae(!0), je(re, null, Gt(L(a), (o, u) => (ae(), ke(tt, N({
4285
+ return oe(), Ke("div", null, [
4286
+ (oe(!0), Ke(ce, null, Gt(L(a), (o, u) => (oe(), pe(tt, N({
4283
4287
  key: u,
4284
4288
  icon: "",
4285
4289
  variant: "text",
4286
4290
  color: L(n) ? "primary" : "dark",
4287
4291
  density: "comfortable"
4288
4292
  }, { ref_for: !0 }, o), {
4289
- default: Ve(() => [
4290
- L(n) ? (ae(), ke(Wa, {
4293
+ default: Ce(() => [
4294
+ L(n) ? (oe(), pe(Wa, {
4291
4295
  key: 0,
4292
4296
  color: "primary",
4293
4297
  content: L(n)
4294
4298
  }, {
4295
- default: Ve(() => [
4296
- g(Se, {
4299
+ default: Ce(() => [
4300
+ g(ke, {
4297
4301
  icon: o.prependIcon
4298
4302
  }, null, 8, ["icon"])
4299
4303
  ]),
4300
4304
  _: 2
4301
- }, 1032, ["content"])) : (ae(), ke(Se, {
4305
+ }, 1032, ["content"])) : (oe(), pe(ke, {
4302
4306
  key: 1,
4303
4307
  icon: o.prependIcon
4304
4308
  }, null, 8, ["icon"]))
@@ -4321,33 +4325,33 @@ const fo = /* @__PURE__ */ kl({
4321
4325
  responsiveHeader: { type: Boolean }
4322
4326
  },
4323
4327
  setup(e) {
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 ?? {};
4328
+ const a = Ee(() => import("./Search-BkQ1aZEe.js")), t = Ee(() => import("./RefreshTable-D4ifMTa_.js")), n = Ee(() => import("./Options-DZWZnKMZ.js")), l = Ee(() => import("./index-H3lKuAD2.js")), i = Ee(() => import("./index-DwBno3e_.js")), c = Ee(() => import("./index-CPLpre1I.js")), o = _e("table_props"), u = U(null), d = o.options?.header?.components ?? {};
4325
4329
  return (r, s) => {
4326
4330
  const m = fo;
4327
- return ae(), je("div", mo, [
4328
- e.responsiveHeader ? Ne("", !0) : (ae(), ke(m, { key: 0 })),
4329
- L(o).hardFilters.length ? (ae(), ke(Me(L(d).hardFilters ?? L(l)), {
4331
+ return oe(), Ke("div", mo, [
4332
+ e.responsiveHeader ? Me("", !0) : (oe(), pe(m, { key: 0 })),
4333
+ L(o).hardFilters.length ? (oe(), pe($e(L(d).hardFilters ?? L(l)), {
4330
4334
  key: 1,
4331
4335
  id: "header-hardFilters"
4332
- })) : Ne("", !0),
4333
- (ae(), ke(Me(L(d).toolbar), { id: "header-toolbar" })),
4336
+ })) : Me("", !0),
4337
+ (oe(), pe($e(L(d).toolbar), { id: "header-toolbar" })),
4334
4338
  b("div", go, [
4335
- (ae(), ke(Me(L(d).search ?? L(a)), { id: "header-search" })),
4336
- e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).columns ?? L(i)), {
4339
+ (oe(), pe($e(L(d).search ?? L(a)), { id: "header-search" })),
4340
+ e.responsiveHeader ? Me("", !0) : (oe(), pe($e(L(d).columns ?? L(i)), {
4337
4341
  key: 0,
4338
4342
  "component-refs": { columns: L(u) }
4339
4343
  }, null, 8, ["component-refs"])),
4340
- e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).download ?? L(c)), { key: 1 })),
4341
- e.responsiveHeader ? Ne("", !0) : (ae(), ke(Me(L(d).refreshTable ?? L(t)), { key: 2 })),
4342
- (ae(), ke(Me(L(d).options ?? L(n)), { "responsive-header": e.responsiveHeader }, null, 8, ["responsive-header"]))
4344
+ e.responsiveHeader ? Me("", !0) : (oe(), pe($e(L(d).download ?? L(c)), { key: 1 })),
4345
+ e.responsiveHeader ? Me("", !0) : (oe(), pe($e(L(d).refreshTable ?? L(t)), { key: 2 })),
4346
+ (oe(), pe($e(L(d).options ?? L(n)), { "responsive-header": e.responsiveHeader }, null, 8, ["responsive-header"]))
4343
4347
  ])
4344
4348
  ]);
4345
4349
  };
4346
4350
  }
4347
4351
  });
4348
4352
  function ho(e) {
4349
- const a = Bt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, i = K(!1), c = 5, o = x(() => t(e.id));
4350
- ue(
4353
+ const a = Bt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, i = U(!1), c = 5, o = I(() => t(e.id));
4354
+ se(
4351
4355
  o,
4352
4356
  async (v) => {
4353
4357
  v.options.hash && await u(v);
@@ -4358,7 +4362,7 @@ function ho(e) {
4358
4362
  );
4359
4363
  const u = async (v) => {
4360
4364
  if (i.value) return;
4361
- i.value = !0, await Ce();
4365
+ i.value = !0, await Se();
4362
4366
  const h = d(), y = h.findIndex((V) => V.id === e.id);
4363
4367
  y > -1 ? h[y] = v : h.push(v), localStorage.setItem("datatables-state", JSON.stringify(h)), i.value = !1;
4364
4368
  }, d = () => {
@@ -4385,7 +4389,7 @@ function ho(e) {
4385
4389
  };
4386
4390
  }
4387
4391
  const Sn = Zn(() => {
4388
- const e = Z({}), a = Z({});
4392
+ const e = ee({}), a = ee({});
4389
4393
  return {
4390
4394
  storeOptions: {
4391
4395
  state: e,
@@ -4409,41 +4413,41 @@ const Sn = Zn(() => {
4409
4413
  },
4410
4414
  emits: /* @__PURE__ */ Wt(["refreshTable", "refetchData", "advancedFilters:update", "hardFilters:update"], ["update:modelValue"]),
4411
4415
  setup(e, { expose: a, emit: t }) {
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) => {
4414
- const S = I[0], { width: M } = S.contentRect;
4415
- O.value = M < 950;
4416
+ const n = Ee(() => import("./Table-CUFIrlzk.js")), l = Ee(() => import("./TableServer-DSAcYBTM.js")), { storeOptions: i } = Sn(), { saveTableOptions: c } = Rt(), o = _t(e, "modelValue"), u = _e("table_props"), d = _e("datatablesPluginOptions"), r = U(null), s = U(!1), m = U(!1), v = U(!1), h = t, y = Bt(), { dataStateGet: V, tableDataState: P, checkTableState: _ } = ho(u), { addTable: S, restoreData: F } = y, E = U(!1);
4417
+ ea(r, (w) => {
4418
+ const C = w[0], { width: $ } = C.contentRect;
4419
+ E.value = $ < 950;
4416
4420
  });
4417
- const j = x(() => {
4418
- const I = u.options?.header;
4419
- return I === void 0 || typeof I == "object" && I !== null;
4421
+ const K = I(() => {
4422
+ const w = u.options?.header;
4423
+ return w === void 0 || typeof w == "object" && w !== null;
4420
4424
  });
4421
4425
  return at(async () => {
4422
- k({ table_id: u.id }), await P();
4423
- const I = V();
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) => {
4428
- const M = yo;
4429
- return L(m) ? (ae(), je("div", bo, [
4426
+ S({ table_id: u.id }), await _();
4427
+ const w = V();
4428
+ w && F({ table_id: u.id, data: w });
4429
+ const $ = P.value.options.columns;
4430
+ $.sorted?.length || ($.selected?.length || ($.selected = u.headers.filter((D) => !D.hidden).map((D) => D.key)), $.sorted = u.headers.map((D) => D.key)), c(Xn(i.state.value, P.value.options.state)), m.value = !0, await Se(), v.value = !0;
4431
+ }), We("busEmits", h), We("tableRef", r), We("tableState", P), We("downloadModal", s), a({ tableRef: r }), (w, C) => {
4432
+ const $ = yo;
4433
+ return L(m) ? (oe(), Ke("div", bo, [
4430
4434
  g(kn, null, {
4431
- default: Ve(() => [
4432
- L(j) ? (ae(), ke(il, { key: 0 }, {
4433
- default: Ve(() => [
4434
- g(M, { "responsive-header": L(O) }, null, 8, ["responsive-header"])
4435
+ default: Ce(() => [
4436
+ L(K) ? (oe(), pe(il, { key: 0 }, {
4437
+ default: Ce(() => [
4438
+ g($, { "responsive-header": L(E) }, null, 8, ["responsive-header"])
4435
4439
  ]),
4436
4440
  _: 1
4437
- })) : Ne("", !0),
4441
+ })) : Me("", !0),
4438
4442
  g(ul, { class: "pa-0" }, {
4439
- default: Ve(() => [
4440
- L(v) ? (ae(), ke(Me(L(u).api ? L(l) : L(n)), {
4443
+ default: Ce(() => [
4444
+ L(v) ? (oe(), pe($e(L(u).api ? L(l) : L(n)), {
4441
4445
  key: 0,
4442
4446
  ref_key: "tableRef",
4443
4447
  ref: r,
4444
4448
  modelValue: o.value,
4445
- "onUpdate:modelValue": S[0] || (S[0] = (D) => o.value = D)
4446
- }, null, 8, ["modelValue"])) : Ne("", !0)
4449
+ "onUpdate:modelValue": C[0] || (C[0] = (D) => o.value = D)
4450
+ }, null, 8, ["modelValue"])) : Me("", !0)
4447
4451
  ]),
4448
4452
  _: 1
4449
4453
  })
@@ -4452,31 +4456,31 @@ const Sn = Zn(() => {
4452
4456
  }),
4453
4457
  g(bn, {
4454
4458
  modelValue: L(s),
4455
- "onUpdate:modelValue": S[1] || (S[1] = (D) => xt(s) ? s.value = D : null),
4459
+ "onUpdate:modelValue": C[1] || (C[1] = (D) => xt(s) ? s.value = D : null),
4456
4460
  "max-width": "350",
4457
4461
  persistent: ""
4458
4462
  }, {
4459
- default: Ve(() => [
4463
+ default: Ce(() => [
4460
4464
  g(nl, {
4461
4465
  class: "py-2",
4462
4466
  color: "primary",
4463
4467
  elevation: "12",
4464
4468
  rounded: "lg"
4465
4469
  }, {
4466
- default: Ve(() => [
4470
+ default: Ce(() => [
4467
4471
  g(vt, {
4468
4472
  "prepend-icon": L(d).header.icons.download,
4469
- title: I.$t("$datatables.preparing_download_file")
4473
+ title: w.$t("$datatables.preparing_download_file")
4470
4474
  }, {
4471
- prepend: Ve(() => [
4475
+ prepend: Ce(() => [
4472
4476
  b("div", po, [
4473
- g(Se, {
4477
+ g(ke, {
4474
4478
  color: "primary",
4475
4479
  size: "x-large"
4476
4480
  })
4477
4481
  ])
4478
4482
  ]),
4479
- append: Ve(() => [
4483
+ append: Ce(() => [
4480
4484
  g(Yn, {
4481
4485
  color: "primary",
4482
4486
  indeterminate: "disable-shrink",
@@ -4492,11 +4496,11 @@ const Sn = Zn(() => {
4492
4496
  ]),
4493
4497
  _: 1
4494
4498
  }, 8, ["modelValue"])
4495
- ])) : Ne("", !0);
4499
+ ])) : Me("", !0);
4496
4500
  };
4497
4501
  }
4498
4502
  }, So = Sl("datatablesHooks", () => {
4499
- const e = K({});
4503
+ const e = U({});
4500
4504
  return {
4501
4505
  hooks: e,
4502
4506
  registerHook: (n, l) => {
@@ -4553,14 +4557,14 @@ const Sn = Zn(() => {
4553
4557
  },
4554
4558
  emits: ["refreshTable", "refetchData"],
4555
4559
  setup(e, { expose: a, emit: t }) {
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++);
4560
+ const n = e, { triggerHook: l } = So(), { storeOptions: i, setUserOptions: c } = Sn(), o = U(null), u = U(0), d = async (m = {}) => {
4561
+ c(m), u.value < 99 && (s("refreshTable"), await Se(), u.value++);
4558
4562
  }, r = (m = {}) => {
4559
4563
  c(m), o.value.tableRef.hasOwnProperty("reloadItems") && (o.value.tableRef.reloadItems(i.state.value), s("refetchData"));
4560
4564
  }, s = t;
4561
4565
  return a({ refreshTable: d, refetchData: r, triggerHook: l }), We("table_props", n), We("triggerHook", l), (m, v) => {
4562
4566
  const h = ko;
4563
- return ae(), ke(h, {
4567
+ return oe(), pe(h, {
4564
4568
  id: e.id,
4565
4569
  ref_key: "table",
4566
4570
  ref: o,