@ianicdev/datatables2 0.9.7 → 0.9.9

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 (29) hide show
  1. package/dist/{Columns-DTv7MWRp.cjs → Columns-CDLnbOfE.cjs} +1 -1
  2. package/dist/{Columns-CCYchHa0.js → Columns-DxucHH-j.js} +1 -1
  3. package/dist/{Comparison-RTNJ-jgv.cjs → Comparison-CHjrrN3c.cjs} +1 -1
  4. package/dist/{Comparison-AhfXYzfE.js → Comparison-CslFerQQ.js} +1 -1
  5. package/dist/{Datepicker-DSjMlqtb.cjs → Datepicker-CxvPF0zZ.cjs} +1 -1
  6. package/dist/{Datepicker-DUfshD-3.js → Datepicker-D8vwZ38h.js} +2 -2
  7. package/dist/{Download-B1pTv84B.cjs → Download-D-ndjQ67.cjs} +1 -1
  8. package/dist/{Download-D8MSzss8.js → Download-DgYOV8mb.js} +1 -1
  9. package/dist/{Options-kXkfb_48.cjs → Options-C-W6qrj1.cjs} +1 -1
  10. package/dist/{Options-Dcj3uArs.js → Options-D6Z-3lah.js} +1 -1
  11. package/dist/{RefreshTable-BO4EHmrd.cjs → RefreshTable-CPF3Vp4b.cjs} +1 -1
  12. package/dist/{RefreshTable-y0JrrjKc.js → RefreshTable-c_tkU3fk.js} +2 -2
  13. package/dist/{Search-Dua19ww5.js → Search-Bx2AzB7t.js} +2 -2
  14. package/dist/{Search-BT42crjD.cjs → Search-CeLm1eyI.cjs} +1 -1
  15. package/dist/{Table-BHOMw6-0.cjs → Table-CNmE3KW2.cjs} +1 -1
  16. package/dist/{Table-Cqpq3RIS.js → Table-Z_rmozuI.js} +2 -2
  17. package/dist/{TableServer-BN5WFT6b.js → TableServer-CBTrJ0vo.js} +3 -3
  18. package/dist/{TableServer-CXvVFN1x.cjs → TableServer-DNTtDYDl.cjs} +1 -1
  19. package/dist/{cellRender-CdZNXUYq.js → cellRender-BViDgos4.js} +322 -311
  20. package/dist/{cellRender-Dz15x_9D.cjs → cellRender-FnwSkEIM.cjs} +1 -1
  21. package/dist/{dataTables-CBDJgN1v.js → dataTables-CMgBvCIf.js} +1 -1
  22. package/dist/{dataTables-BW8WbTCq.cjs → dataTables-DQ_kHodz.cjs} +1 -1
  23. package/dist/datatables.cjs +1 -1
  24. package/dist/datatables.js +1 -1
  25. package/dist/{index-DR9ck5ep.cjs → index-C3mP-9-I.cjs} +1 -1
  26. package/dist/{index-CHHP7XZu.js → index-CMZixazT.js} +1 -1
  27. package/dist/{index-DCnXUVmu.cjs → index-DTbAXhZ7.cjs} +1 -1
  28. package/dist/{index-C6ugZfQ9.js → index-MpbTiTYw.js} +11 -11
  29. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
- import { shallowRef as ue, computed as F, unref as q, watchEffect as je, toRef as C, provide as Y, toRaw as ne, inject as Q, ref as j, toValue as Tt, watch as ce, onBeforeUpdate as Ct, createVNode as k, normalizeStyle as ke, normalizeClass as G, createElementVNode as S, mergeProps as B, nextTick as Ce, capitalize as _t, Fragment as U, createTextVNode as _e, withModifiers as re, toDisplayString as Bt, toRefs as Ot, defineComponent as Lt, h as At } from "vue";
2
- import { aQ as Et, U as Rt, p as _, N as z, aA as ee, K as J, aR as de, _ as Ge, J as Ke, af as ye, aS as Nt, T as Z, aT as se, g as $, a0 as $t, h as Ie, aj as fe, a as Se, al as Mt, aU as oe, u as K, a9 as W, x as Ht, y as Fe, m as We, as as jt, A as Gt, E as ze, f as ae, b as Ue, G as Kt, I as O, aV as Be, aW as Wt, ax as A, aX as zt, o as Ut, P as Je, L as Jt, D as Qt, ao as Ve, d as Oe, H as pe, a1 as Pe, k as Xt, aa as Yt, l as Zt, n as qt, F as ea } from "./dataTables-CBDJgN1v.js";
3
- import { V as Qe, a as ta, b as De, u as aa, d as la } from "./index-C6ugZfQ9.js";
1
+ import { shallowRef as ue, computed as V, unref as q, watchEffect as je, toRef as C, provide as Y, toRaw as ne, inject as Q, ref as j, toValue as Tt, watch as ce, onBeforeUpdate as Ct, createVNode as w, normalizeStyle as we, normalizeClass as G, createElementVNode as S, mergeProps as B, nextTick as Ce, capitalize as _t, Fragment as U, createTextVNode as _e, withModifiers as re, toDisplayString as Bt, toRefs as Ot, defineComponent as Lt, h as At } from "vue";
2
+ import { aQ as Et, U as Nt, p as _, N as z, aA as ee, K as J, aR as de, _ as Ge, J as Ke, af as ye, aS as Rt, T as Z, aT as se, g as $, a0 as $t, h as Ie, aj as fe, a as Se, al as Mt, aU as oe, u as K, a9 as W, x as Ht, y as Fe, m as We, as as jt, A as Gt, E as ze, f as ae, b as Ue, G as Kt, I as O, aV as Be, aW as Wt, ax as A, aX as zt, o as Ut, P as Je, L as Jt, D as Qt, ao as Ve, d as Oe, H as pe, a1 as Pe, k as Xt, aa as Yt, l as Zt, n as qt, F as ea } from "./dataTables-CMgBvCIf.js";
3
+ import { V as Qe, a as ta, b as De, u as aa, d as la } from "./index-MpbTiTYw.js";
4
4
  import ie from "moment";
5
5
  function Le(e, t, a) {
6
- return Object.keys(e).filter((l) => Et(l) && l.endsWith(t)).reduce((l, n) => (l[n.slice(0, -t.length)] = (r) => Rt(e[n], r, a(r)), l), {});
6
+ return Object.keys(e).filter((l) => Et(l) && l.endsWith(t)).reduce((l, n) => (l[n.slice(0, -t.length)] = (r) => Nt(e[n], r, a(r)), l), {});
7
7
  }
8
8
  const na = (e, t, a) => {
9
9
  if (e == null || t == null) return -1;
@@ -30,36 +30,36 @@ const ra = _({
30
30
  noFilter: Boolean
31
31
  }, "filter");
32
32
  function sa(e, t, a) {
33
- const l = [], n = a?.default ?? na, r = a?.filterKeys ? z(a.filterKeys) : !1, o = Object.keys(a?.customKeyFilter ?? {}).length;
33
+ const l = [], n = a?.default ?? na, r = a?.filterKeys ? z(a.filterKeys) : !1, i = Object.keys(a?.customKeyFilter ?? {}).length;
34
34
  if (!e?.length) return l;
35
35
  let u = null;
36
36
  e: for (let s = 0; s < e.length; s++) {
37
- const [i, c = i] = z(e[s]), m = {}, d = {};
37
+ const [o, c = o] = z(e[s]), m = {}, d = {};
38
38
  let f = -1;
39
- if ((t || o > 0) && !a?.noFilter) {
39
+ if ((t || i > 0) && !a?.noFilter) {
40
40
  let y = !1;
41
- if (typeof i == "object") {
42
- if (i.type === "divider" || i.type === "subheader") {
43
- u?.type === "divider" && i.type === "subheader" && l.push(u), u = {
41
+ if (typeof o == "object") {
42
+ if (o.type === "divider" || o.type === "subheader") {
43
+ u?.type === "divider" && o.type === "subheader" && l.push(u), u = {
44
44
  index: s,
45
45
  matches: {},
46
- type: i.type
46
+ type: o.type
47
47
  };
48
48
  continue;
49
49
  }
50
- const V = r || Object.keys(c);
51
- y = V.length === o;
52
- for (const h of V) {
50
+ const F = r || Object.keys(c);
51
+ y = F.length === i;
52
+ for (const h of F) {
53
53
  const I = ee(c, h), D = a?.customKeyFilter?.[h];
54
- if (f = D ? D(I, t, i) : n(I, t, i), f !== -1 && f !== !1)
54
+ if (f = D ? D(I, t, o) : n(I, t, o), f !== -1 && f !== !1)
55
55
  D ? m[h] = xe(f, t) : d[h] = xe(f, t);
56
56
  else if (a?.filterMode === "every")
57
57
  continue e;
58
58
  }
59
59
  } else
60
- f = n(i, t, i), f !== -1 && f !== !1 && (d.title = xe(f, t));
60
+ f = n(o, t, o), f !== -1 && f !== !1 && (d.title = xe(f, t));
61
61
  const b = Object.keys(d).length, v = Object.keys(m).length;
62
- if (!b && !v || a?.filterMode === "union" && v !== o && !b || a?.filterMode === "intersection" && (v !== o || !b && o > 0 && !y)) continue;
62
+ if (!b && !v || a?.filterMode === "union" && v !== i && !b || a?.filterMode === "intersection" && (v !== i || !b && i > 0 && !y)) continue;
63
63
  }
64
64
  u && (l.push(u), u = null), l.push({
65
65
  index: s,
@@ -72,9 +72,9 @@ function sa(e, t, a) {
72
72
  return l;
73
73
  }
74
74
  function oa(e, t, a, l) {
75
- const n = ue([]), r = ue(/* @__PURE__ */ new Map()), o = F(() => l?.transform ? q(t).map((s) => [s, l.transform(s)]) : q(t));
75
+ const n = ue([]), r = ue(/* @__PURE__ */ new Map()), i = V(() => l?.transform ? q(t).map((s) => [s, l.transform(s)]) : q(t));
76
76
  je(() => {
77
- const s = typeof a == "function" ? a() : q(a), i = typeof s != "string" && typeof s != "number" ? "" : String(s), c = sa(o.value, i, {
77
+ const s = typeof a == "function" ? a() : q(a), o = typeof s != "string" && typeof s != "number" ? "" : String(s), c = sa(i.value, o, {
78
78
  customKeyFilter: {
79
79
  ...e.customKeyFilter,
80
80
  ...q(l?.customKeyFilter)
@@ -89,8 +89,8 @@ function oa(e, t, a, l) {
89
89
  index: b,
90
90
  matches: v
91
91
  } = y;
92
- const V = m[b];
93
- d.push(V), f.set(V.value, v);
92
+ const F = m[b];
93
+ d.push(F), f.set(F.value, v);
94
94
  }), n.value = d, r.value = f;
95
95
  });
96
96
  function u(s) {
@@ -113,30 +113,30 @@ const ia = _({
113
113
  function ua(e) {
114
114
  const t = C(() => e.expandOnClick), a = J(e, "expanded", e.expanded, (u) => new Set(u), (u) => [...u.values()]);
115
115
  function l(u, s) {
116
- const i = new Set(a.value), c = ne(u.value);
116
+ const o = new Set(a.value), c = ne(u.value);
117
117
  if (s)
118
- i.add(c);
118
+ o.add(c);
119
119
  else {
120
120
  const m = [...a.value].find((d) => ne(d) === c);
121
- i.delete(m);
121
+ o.delete(m);
122
122
  }
123
- a.value = i;
123
+ a.value = o;
124
124
  }
125
125
  function n(u) {
126
126
  const s = ne(u.value);
127
- return [...a.value].some((i) => ne(i) === s);
127
+ return [...a.value].some((o) => ne(o) === s);
128
128
  }
129
129
  function r(u) {
130
130
  l(u, !n(u));
131
131
  }
132
- const o = {
132
+ const i = {
133
133
  expand: l,
134
134
  expanded: a,
135
135
  expandOnClick: t,
136
136
  isExpanded: n,
137
137
  toggleExpand: r
138
138
  };
139
- return Y(Xe, o), o;
139
+ return Y(Xe, i), i;
140
140
  }
141
141
  function Ye() {
142
142
  const e = Q(Xe);
@@ -159,16 +159,16 @@ function fa(e) {
159
159
  disableSort: t,
160
160
  groupBy: a,
161
161
  sortBy: l
162
- } = e, n = j(/* @__PURE__ */ new Set()), r = F(() => a.value.map((c) => ({
162
+ } = e, n = j(/* @__PURE__ */ new Set()), r = V(() => a.value.map((c) => ({
163
163
  ...c,
164
164
  order: c.order ?? !1
165
165
  })).concat(t?.value ? [] : l.value));
166
- function o(c) {
166
+ function i(c) {
167
167
  return n.value.has(c.id);
168
168
  }
169
169
  function u(c) {
170
170
  const m = new Set(n.value);
171
- o(c) ? m.delete(c.id) : m.add(c.id), n.value = m;
171
+ i(c) ? m.delete(c.id) : m.add(c.id), n.value = m;
172
172
  }
173
173
  function s(c) {
174
174
  function m(d) {
@@ -181,15 +181,15 @@ function fa(e) {
181
181
  items: c
182
182
  });
183
183
  }
184
- const i = {
184
+ const o = {
185
185
  sortByWithGroups: r,
186
186
  toggleGroup: u,
187
187
  opened: n,
188
188
  groupBy: a,
189
189
  extractRows: s,
190
- isGroupOpen: o
190
+ isGroupOpen: i
191
191
  };
192
- return Y(Ze, i), i;
192
+ return Y(Ze, o), o;
193
193
  }
194
194
  function qe() {
195
195
  const e = Q(Ze);
@@ -208,15 +208,15 @@ function va(e, t) {
208
208
  function et(e, t) {
209
209
  let a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "root";
210
210
  if (!t.length) return [];
211
- const n = va(e, t[0]), r = [], o = t.slice(1);
211
+ const n = va(e, t[0]), r = [], i = t.slice(1);
212
212
  return n.forEach((u, s) => {
213
- const i = t[0], c = `${l}_${i}_${s}`;
213
+ const o = t[0], c = `${l}_${o}_${s}`;
214
214
  r.push({
215
215
  depth: a,
216
216
  id: c,
217
- key: i,
217
+ key: o,
218
218
  value: s,
219
- items: o.length ? et(u, o, a + 1, c) : u,
219
+ items: i.length ? et(u, i, a + 1, c) : u,
220
220
  type: "group"
221
221
  });
222
222
  }), r;
@@ -232,9 +232,9 @@ function tt(e, t, a) {
232
232
  }
233
233
  function ga(e, t, a, l) {
234
234
  return {
235
- flatItems: F(() => {
235
+ flatItems: V(() => {
236
236
  if (!t.value.length) return e.value;
237
- const r = et(e.value, t.value.map((o) => o.key));
237
+ const r = et(e.value, t.value.map((i) => i.key));
238
238
  return tt(r, a.value, Tt(l));
239
239
  })
240
240
  };
@@ -247,7 +247,7 @@ function ma(e) {
247
247
  groupBy: n,
248
248
  search: r
249
249
  } = e;
250
- const o = Ge("VDataTable"), u = () => ({
250
+ const i = Ge("VDataTable"), u = () => ({
251
251
  page: t.value,
252
252
  itemsPerPage: a.value,
253
253
  sortBy: l.value,
@@ -255,8 +255,8 @@ function ma(e) {
255
255
  search: r.value
256
256
  });
257
257
  let s = null;
258
- ce(u, (i) => {
259
- Ke(s, i) || (s && s.search !== i.search && (t.value = 1), o.emit("update:options", i), s = i);
258
+ ce(u, (o) => {
259
+ Ke(s, o) || (s && s.search !== o.search && (t.value = 1), i.emit("update:options", o), s = o);
260
260
  }, {
261
261
  deep: !0,
262
262
  immediate: !0
@@ -284,31 +284,31 @@ function ya(e) {
284
284
  page: t,
285
285
  itemsPerPage: a,
286
286
  itemsLength: l
287
- } = e, n = F(() => a.value === -1 ? 0 : a.value * (t.value - 1)), r = F(() => a.value === -1 ? l.value : Math.min(l.value, n.value + a.value)), o = F(() => a.value === -1 || l.value === 0 ? 1 : Math.ceil(l.value / a.value));
288
- ce([t, o], () => {
289
- t.value > o.value && (t.value = o.value);
287
+ } = e, n = V(() => a.value === -1 ? 0 : a.value * (t.value - 1)), r = V(() => a.value === -1 ? l.value : Math.min(l.value, n.value + a.value)), i = V(() => a.value === -1 || l.value === 0 ? 1 : Math.ceil(l.value / a.value));
288
+ ce([t, i], () => {
289
+ t.value > i.value && (t.value = i.value);
290
290
  });
291
291
  function u(d) {
292
292
  a.value = d, t.value = 1;
293
293
  }
294
294
  function s() {
295
- t.value = ye(t.value + 1, 1, o.value);
295
+ t.value = ye(t.value + 1, 1, i.value);
296
296
  }
297
- function i() {
298
- t.value = ye(t.value - 1, 1, o.value);
297
+ function o() {
298
+ t.value = ye(t.value - 1, 1, i.value);
299
299
  }
300
300
  function c(d) {
301
- t.value = ye(d, 1, o.value);
301
+ t.value = ye(d, 1, i.value);
302
302
  }
303
303
  const m = {
304
304
  page: t,
305
305
  itemsPerPage: a,
306
306
  startIndex: n,
307
307
  stopIndex: r,
308
- pageCount: o,
308
+ pageCount: i,
309
309
  itemsLength: l,
310
310
  nextPage: s,
311
- prevPage: i,
311
+ prevPage: o,
312
312
  setPage: c,
313
313
  setItemsPerPage: u
314
314
  };
@@ -325,13 +325,13 @@ function xa(e) {
325
325
  startIndex: l,
326
326
  stopIndex: n,
327
327
  itemsPerPage: r
328
- } = e, o = F(() => r.value <= 0 ? a.value : a.value.slice(l.value, n.value));
329
- return ce(o, (u) => {
328
+ } = e, i = V(() => r.value <= 0 ? a.value : a.value.slice(l.value, n.value));
329
+ return ce(i, (u) => {
330
330
  t.emit("update:currentItems", u);
331
331
  }, {
332
332
  immediate: !0
333
333
  }), {
334
- paginatedItems: o
334
+ paginatedItems: i
335
335
  };
336
336
  }
337
337
  const Sa = {
@@ -405,7 +405,7 @@ const Sa = {
405
405
  } = e;
406
406
  return new Set(t ? a.map((l) => l.value) : []);
407
407
  }
408
- }, wa = _({
408
+ }, ka = _({
409
409
  showSelect: Boolean,
410
410
  selectStrategy: {
411
411
  type: [String, Object],
@@ -417,15 +417,15 @@ const Sa = {
417
417
  },
418
418
  valueComparator: Function
419
419
  }, "DataTable-select"), nt = Symbol.for("vuetify:data-table-selection");
420
- function ka(e, t) {
420
+ function wa(e, t) {
421
421
  let {
422
422
  allItems: a,
423
423
  currentPage: l
424
424
  } = t;
425
425
  const n = J(e, "modelValue", e.modelValue, (h) => {
426
426
  const I = e.valueComparator;
427
- return I ? new Set(z(h).map((D) => a.value.find((P) => I(D, P.value))?.value ?? D)) : new Set(z(h).map((D) => Nt(D) ? a.value.find((P) => D === P.value)?.value ?? D : a.value.find((P) => Ke(D, P.value))?.value ?? D));
428
- }, (h) => [...h.values()]), r = F(() => a.value.filter((h) => h.selectable)), o = F(() => l.value.filter((h) => h.selectable)), u = F(() => {
427
+ return I ? new Set(z(h).map((D) => a.value.find((P) => I(D, P.value))?.value ?? D)) : new Set(z(h).map((D) => Rt(D) ? a.value.find((P) => D === P.value)?.value ?? D : a.value.find((P) => Ke(D, P.value))?.value ?? D));
428
+ }, (h) => [...h.values()]), r = V(() => a.value.filter((h) => h.selectable)), i = V(() => l.value.filter((h) => h.selectable)), u = V(() => {
429
429
  if (typeof e.selectStrategy == "object") return e.selectStrategy;
430
430
  switch (e.selectStrategy) {
431
431
  case "single":
@@ -437,7 +437,7 @@ function ka(e, t) {
437
437
  return lt;
438
438
  }
439
439
  }), s = ue(null);
440
- function i(h) {
440
+ function o(h) {
441
441
  return z(h).every((I) => n.value.has(I.value));
442
442
  }
443
443
  function c(h) {
@@ -454,32 +454,32 @@ function ka(e, t) {
454
454
  function d(h, I, D) {
455
455
  const P = [];
456
456
  if (I = I ?? l.value.findIndex((L) => L.value === h.value), e.selectStrategy !== "single" && D?.shiftKey && s.value !== null) {
457
- const [L, R] = [s.value, I].sort((p, x) => p - x);
458
- P.push(...l.value.slice(L, R + 1).filter((p) => p.selectable));
457
+ const [L, N] = [s.value, I].sort((p, x) => p - x);
458
+ P.push(...l.value.slice(L, N + 1).filter((p) => p.selectable));
459
459
  } else
460
460
  P.push(h), s.value = I;
461
- m(P, !i([h]));
461
+ m(P, !o([h]));
462
462
  }
463
463
  function f(h) {
464
464
  const I = u.value.selectAll({
465
465
  value: h,
466
466
  allItems: r.value,
467
- currentPage: o.value,
467
+ currentPage: i.value,
468
468
  selected: new Set(n.value)
469
469
  });
470
470
  n.value = I;
471
471
  }
472
- const y = F(() => n.value.size > 0), b = F(() => {
472
+ const y = V(() => n.value.size > 0), b = V(() => {
473
473
  const h = u.value.allSelected({
474
474
  allItems: r.value,
475
- currentPage: o.value
475
+ currentPage: i.value
476
476
  });
477
- return !!h.length && i(h);
478
- }), v = C(() => u.value.showSelectAll), V = {
477
+ return !!h.length && o(h);
478
+ }), v = C(() => u.value.showSelectAll), F = {
479
479
  toggleSelect: d,
480
480
  select: m,
481
481
  selectAll: f,
482
- isSelected: i,
482
+ isSelected: o,
483
483
  isSomeSelected: c,
484
484
  someSelected: y,
485
485
  allSelected: b,
@@ -487,7 +487,7 @@ function ka(e, t) {
487
487
  lastSelectedIndex: s,
488
488
  selectStrategy: u
489
489
  };
490
- return Y(nt, V), V;
490
+ return Y(nt, F), F;
491
491
  }
492
492
  function ve() {
493
493
  const e = Q(nt);
@@ -519,25 +519,25 @@ function Va(e) {
519
519
  page: n
520
520
  } = e, r = (s) => {
521
521
  if (s.key == null) return;
522
- let i = t.value.map((m) => ({
522
+ let o = t.value.map((m) => ({
523
523
  ...m
524
524
  })) ?? [];
525
- const c = i.find((m) => m.key === s.key);
526
- c ? c.order === "desc" ? a.value && i.length === 1 ? c.order = "asc" : i = i.filter((m) => m.key !== s.key) : c.order = "desc" : l.value ? i.push({
525
+ const c = o.find((m) => m.key === s.key);
526
+ c ? c.order === "desc" ? a.value && o.length === 1 ? c.order = "asc" : o = o.filter((m) => m.key !== s.key) : c.order = "desc" : l.value ? o.push({
527
527
  key: s.key,
528
528
  order: "asc"
529
- }) : i = [{
529
+ }) : o = [{
530
530
  key: s.key,
531
531
  order: "asc"
532
- }], t.value = i, n && (n.value = 1);
532
+ }], t.value = o, n && (n.value = 1);
533
533
  };
534
- function o(s) {
535
- return !!t.value.find((i) => i.key === s.key);
534
+ function i(s) {
535
+ return !!t.value.find((o) => o.key === s.key);
536
536
  }
537
537
  const u = {
538
538
  sortBy: t,
539
539
  toggleSort: r,
540
- isSorted: o
540
+ isSorted: i
541
541
  };
542
542
  return Y(rt, u), u;
543
543
  }
@@ -549,7 +549,7 @@ function st() {
549
549
  function Da(e, t, a, l) {
550
550
  const n = Z();
551
551
  return {
552
- sortedItems: F(() => a.value.length ? Ta(t.value, a.value, n.current.value, {
552
+ sortedItems: V(() => a.value.length ? Ta(t.value, a.value, n.current.value, {
553
553
  transform: l?.transform,
554
554
  sortFunctions: {
555
555
  ...e.customKeySort,
@@ -564,28 +564,28 @@ function Ta(e, t, a, l) {
564
564
  sensitivity: "accent",
565
565
  usage: "sort"
566
566
  });
567
- return e.map((o) => [o, l?.transform ? l.transform(o) : o]).sort((o, u) => {
567
+ return e.map((i) => [i, l?.transform ? l.transform(i) : i]).sort((i, u) => {
568
568
  for (let s = 0; s < t.length; s++) {
569
- let i = !1;
569
+ let o = !1;
570
570
  const c = t[s].key, m = t[s].order ?? "asc";
571
571
  if (m === !1) continue;
572
- let d = de(o[1], c), f = de(u[1], c), y = o[0].raw, b = u[0].raw;
572
+ let d = de(i[1], c), f = de(u[1], c), y = i[0].raw, b = u[0].raw;
573
573
  if (m === "desc" && ([d, f] = [f, d], [y, b] = [b, y]), l?.sortRawFunctions?.[c]) {
574
574
  const v = l.sortRawFunctions[c](y, b);
575
575
  if (v == null) continue;
576
- if (i = !0, v) return v;
576
+ if (o = !0, v) return v;
577
577
  }
578
578
  if (l?.sortFunctions?.[c]) {
579
579
  const v = l.sortFunctions[c](d, f);
580
580
  if (v == null) continue;
581
- if (i = !0, v) return v;
581
+ if (o = !0, v) return v;
582
582
  }
583
- if (!i && (d instanceof Date && f instanceof Date && (d = d.getTime(), f = f.getTime()), [d, f] = [d, f].map((v) => v != null ? v.toString().toLocaleLowerCase() : v), d !== f))
583
+ if (!o && (d instanceof Date && f instanceof Date && (d = d.getTime(), f = f.getTime()), [d, f] = [d, f].map((v) => v != null ? v.toString().toLocaleLowerCase() : v), d !== f))
584
584
  return se(d) && se(f) ? 0 : se(d) ? -1 : se(f) ? 1 : !isNaN(d) && !isNaN(f) ? Number(d) - Number(f) : n.compare(d, f);
585
585
  }
586
586
  return 0;
587
- }).map((o) => {
588
- let [u] = o;
587
+ }).map((i) => {
588
+ let [u] = i;
589
589
  return u;
590
590
  });
591
591
  }
@@ -696,13 +696,13 @@ const _a = _({
696
696
  } = t;
697
697
  const n = J(e, "modelValue"), {
698
698
  t: r,
699
- n: o
699
+ n: i
700
700
  } = Z(), {
701
701
  isRtl: u
702
702
  } = $t(), {
703
703
  themeClasses: s
704
704
  } = Ie(e), {
705
- width: i
705
+ width: o
706
706
  } = fe(), c = ue(-1);
707
707
  Se(void 0, {
708
708
  scoped: !0
@@ -714,11 +714,11 @@ const _a = _({
714
714
  const {
715
715
  target: x,
716
716
  contentRect: g
717
- } = p[0], w = x.querySelector(".v-pagination__list > *");
718
- if (!w) return;
719
- const T = g.width, N = w.offsetWidth + parseFloat(getComputedStyle(w).marginRight) * 2;
720
- c.value = b(T, N);
721
- }), d = F(() => parseInt(e.length, 10)), f = F(() => parseInt(e.start, 10)), y = F(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : c.value >= 0 ? c.value : b(i.value, 58));
717
+ } = p[0], k = x.querySelector(".v-pagination__list > *");
718
+ if (!k) return;
719
+ const T = g.width, R = k.offsetWidth + parseFloat(getComputedStyle(k).marginRight) * 2;
720
+ c.value = b(T, R);
721
+ }), d = V(() => parseInt(e.length, 10)), f = V(() => parseInt(e.start, 10)), y = V(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : c.value >= 0 ? c.value : b(o.value, 58));
722
722
  function b(p, x) {
723
723
  const g = e.showFirstLastPage ? 5 : 3;
724
724
  return Math.max(0, Math.floor(
@@ -726,24 +726,24 @@ const _a = _({
726
726
  Number(((p - x * g) / x).toFixed(2))
727
727
  ));
728
728
  }
729
- const v = F(() => {
729
+ const v = V(() => {
730
730
  if (d.value <= 0 || isNaN(d.value) || d.value > Number.MAX_SAFE_INTEGER) return [];
731
731
  if (y.value <= 0) return [];
732
732
  if (y.value === 1) return [n.value];
733
733
  if (d.value <= y.value)
734
734
  return oe(d.value, f.value);
735
- const p = y.value % 2 === 0, x = p ? y.value / 2 : Math.floor(y.value / 2), g = p ? x : x + 1, w = d.value - x;
735
+ const p = y.value % 2 === 0, x = p ? y.value / 2 : Math.floor(y.value / 2), g = p ? x : x + 1, k = d.value - x;
736
736
  if (g - n.value >= 0)
737
737
  return [...oe(Math.max(1, y.value - 1), f.value), e.ellipsis, d.value];
738
- if (n.value - w >= (p ? 1 : 0)) {
739
- const T = y.value - 1, N = d.value - T + f.value;
740
- return [f.value, e.ellipsis, ...oe(T, N)];
738
+ if (n.value - k >= (p ? 1 : 0)) {
739
+ const T = y.value - 1, R = d.value - T + f.value;
740
+ return [f.value, e.ellipsis, ...oe(T, R)];
741
741
  } else {
742
- const T = Math.max(1, y.value - 2), N = T === 1 ? n.value : n.value - Math.ceil(T / 2) + f.value;
743
- return [f.value, e.ellipsis, ...oe(T, N), e.ellipsis, d.value];
742
+ const T = Math.max(1, y.value - 2), R = T === 1 ? n.value : n.value - Math.ceil(T / 2) + f.value;
743
+ return [f.value, e.ellipsis, ...oe(T, R), e.ellipsis, d.value];
744
744
  }
745
745
  });
746
- function V(p, x, g) {
746
+ function F(p, x, g) {
747
747
  p.preventDefault(), n.value = x, g && l(g, x);
748
748
  }
749
749
  const {
@@ -761,8 +761,8 @@ const _a = _({
761
761
  elevation: C(() => e.elevation)
762
762
  }
763
763
  });
764
- const D = F(() => v.value.map((p, x) => {
765
- const g = (w) => I(w, x);
764
+ const D = V(() => v.value.map((p, x) => {
765
+ const g = (k) => I(k, x);
766
766
  if (typeof p == "string")
767
767
  return {
768
768
  isActive: !1,
@@ -776,50 +776,50 @@ const _a = _({
776
776
  }
777
777
  };
778
778
  {
779
- const w = p === n.value;
779
+ const k = p === n.value;
780
780
  return {
781
- isActive: w,
781
+ isActive: k,
782
782
  key: p,
783
- page: o(p),
783
+ page: i(p),
784
784
  props: {
785
785
  ref: g,
786
786
  ellipsis: !1,
787
787
  icon: !0,
788
788
  disabled: !!e.disabled || Number(e.length) < 2,
789
- color: w ? e.activeColor : e.color,
790
- "aria-current": w,
791
- "aria-label": r(w ? e.currentPageAriaLabel : e.pageAriaLabel, p),
792
- onClick: (T) => V(T, p)
789
+ color: k ? e.activeColor : e.color,
790
+ "aria-current": k,
791
+ "aria-label": r(k ? e.currentPageAriaLabel : e.pageAriaLabel, p),
792
+ onClick: (T) => F(T, p)
793
793
  }
794
794
  };
795
795
  }
796
- })), P = F(() => {
796
+ })), P = V(() => {
797
797
  const p = !!e.disabled || n.value <= f.value, x = !!e.disabled || n.value >= f.value + d.value - 1;
798
798
  return {
799
799
  first: e.showFirstLastPage ? {
800
800
  icon: u.value ? e.lastIcon : e.firstIcon,
801
- onClick: (g) => V(g, f.value, "first"),
801
+ onClick: (g) => F(g, f.value, "first"),
802
802
  disabled: p,
803
803
  "aria-label": r(e.firstAriaLabel),
804
804
  "aria-disabled": p
805
805
  } : void 0,
806
806
  prev: {
807
807
  icon: u.value ? e.nextIcon : e.prevIcon,
808
- onClick: (g) => V(g, n.value - 1, "prev"),
808
+ onClick: (g) => F(g, n.value - 1, "prev"),
809
809
  disabled: p,
810
810
  "aria-label": r(e.previousAriaLabel),
811
811
  "aria-disabled": p
812
812
  },
813
813
  next: {
814
814
  icon: u.value ? e.prevIcon : e.nextIcon,
815
- onClick: (g) => V(g, n.value + 1, "next"),
815
+ onClick: (g) => F(g, n.value + 1, "next"),
816
816
  disabled: x,
817
817
  "aria-label": r(e.nextAriaLabel),
818
818
  "aria-disabled": x
819
819
  },
820
820
  last: e.showFirstLastPage ? {
821
821
  icon: u.value ? e.firstIcon : e.lastIcon,
822
- onClick: (g) => V(g, f.value + d.value - 1, "last"),
822
+ onClick: (g) => F(g, f.value + d.value - 1, "last"),
823
823
  disabled: x,
824
824
  "aria-label": r(e.lastAriaLabel),
825
825
  "aria-disabled": x
@@ -830,16 +830,16 @@ const _a = _({
830
830
  const p = n.value - f.value;
831
831
  h.value[p]?.$el.focus();
832
832
  }
833
- function R(p) {
833
+ function N(p) {
834
834
  p.key === Be.left && !e.disabled && n.value > Number(e.start) ? (n.value = n.value - 1, Ce(L)) : p.key === Be.right && !e.disabled && n.value < f.value + d.value - 1 && (n.value = n.value + 1, Ce(L));
835
835
  }
836
- return K(() => k(e.tag, {
836
+ return K(() => w(e.tag, {
837
837
  ref: m,
838
838
  class: G(["v-pagination", s.value, e.class]),
839
- style: ke(e.style),
839
+ style: we(e.style),
840
840
  role: "navigation",
841
841
  "aria-label": r(e.ariaLabel),
842
- onKeydown: R,
842
+ onKeydown: N,
843
843
  "data-test": "v-pagination-root"
844
844
  }, {
845
845
  default: () => [S("ul", {
@@ -848,13 +848,13 @@ const _a = _({
848
848
  key: "first",
849
849
  class: "v-pagination__first",
850
850
  "data-test": "v-pagination-first"
851
- }, [a.first ? a.first(P.value.first) : k(W, B({
851
+ }, [a.first ? a.first(P.value.first) : w(W, B({
852
852
  _as: "VPaginationBtn"
853
853
  }, P.value.first), null)]), S("li", {
854
854
  key: "prev",
855
855
  class: "v-pagination__prev",
856
856
  "data-test": "v-pagination-prev"
857
- }, [a.prev ? a.prev(P.value.prev) : k(W, B({
857
+ }, [a.prev ? a.prev(P.value.prev) : w(W, B({
858
858
  _as: "VPaginationBtn"
859
859
  }, P.value.prev), null)]), D.value.map((p, x) => S("li", {
860
860
  key: p.key,
@@ -862,7 +862,7 @@ const _a = _({
862
862
  "v-pagination__item--is-active": p.isActive
863
863
  }]),
864
864
  "data-test": "v-pagination-item"
865
- }, [a.item ? a.item(p) : k(W, B({
865
+ }, [a.item ? a.item(p) : w(W, B({
866
866
  _as: "VPaginationBtn"
867
867
  }, p.props), {
868
868
  default: () => [p.page]
@@ -870,13 +870,13 @@ const _a = _({
870
870
  key: "next",
871
871
  class: "v-pagination__next",
872
872
  "data-test": "v-pagination-next"
873
- }, [a.next ? a.next(P.value.next) : k(W, B({
873
+ }, [a.next ? a.next(P.value.next) : w(W, B({
874
874
  _as: "VPaginationBtn"
875
875
  }, P.value.next), null)]), e.showFirstLastPage && S("li", {
876
876
  key: "last",
877
877
  class: "v-pagination__last",
878
878
  "data-test": "v-pagination-last"
879
- }, [a.last ? a.last(P.value.last) : k(W, B({
879
+ }, [a.last ? a.last(P.value.last) : w(W, B({
880
880
  _as: "VPaginationBtn"
881
881
  }, P.value.last), null)])])]
882
882
  })), {};
@@ -954,12 +954,12 @@ const _a = _({
954
954
  } = Z(), {
955
955
  page: n,
956
956
  pageCount: r,
957
- startIndex: o,
957
+ startIndex: i,
958
958
  stopIndex: u,
959
959
  itemsLength: s,
960
- itemsPerPage: i,
960
+ itemsPerPage: o,
961
961
  setItemsPerPage: c
962
- } = pa(), m = F(() => e.itemsPerPageOptions.map((d) => typeof d == "number" ? {
962
+ } = pa(), m = V(() => e.itemsPerPageOptions.map((d) => typeof d == "number" ? {
963
963
  value: d,
964
964
  title: d === -1 ? l("$vuetify.dataFooter.itemsPerPageAll") : String(d)
965
965
  } : {
@@ -974,18 +974,18 @@ const _a = _({
974
974
  class: "v-data-table-footer__items-per-page"
975
975
  }, [S("span", {
976
976
  "aria-label": l(e.itemsPerPageText)
977
- }, [l(e.itemsPerPageText)]), k(Qe, {
977
+ }, [l(e.itemsPerPageText)]), w(Qe, {
978
978
  items: m.value,
979
- modelValue: i.value,
979
+ modelValue: o.value,
980
980
  "onUpdate:modelValue": (f) => c(Number(f)),
981
981
  density: "compact",
982
982
  variant: "outlined",
983
983
  hideDetails: !0
984
984
  }, null)]), S("div", {
985
985
  class: "v-data-table-footer__info"
986
- }, [S("div", null, [l(e.pageText, s.value ? o.value + 1 : 0, u.value, s.value)])]), S("div", {
986
+ }, [S("div", null, [l(e.pageText, s.value ? i.value + 1 : 0, u.value, s.value)])]), S("div", {
987
987
  class: "v-data-table-footer__pagination"
988
- }, [k(Ae, B({
988
+ }, [w(Ae, B({
989
989
  modelValue: n.value,
990
990
  "onUpdate:modelValue": (f) => n.value = f,
991
991
  density: "comfortable",
@@ -1027,7 +1027,7 @@ const _a = _({
1027
1027
  slots: a
1028
1028
  } = t;
1029
1029
  const l = e.tag ?? "td", n = typeof e.fixed == "string" ? e.fixed : e.fixed ? "start" : "none";
1030
- return k(l, {
1030
+ return w(l, {
1031
1031
  class: G(["v-data-table__td", {
1032
1032
  "v-data-table-column--fixed": n === "start",
1033
1033
  "v-data-table-column--fixed-end": n === "end",
@@ -1090,13 +1090,13 @@ function La() {
1090
1090
  dequeue: () => t.shift()
1091
1091
  };
1092
1092
  }
1093
- function we(e) {
1093
+ function ke(e) {
1094
1094
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1095
1095
  if (!e.children)
1096
1096
  t.push(e);
1097
1097
  else
1098
1098
  for (const a of e.children)
1099
- we(a, t);
1099
+ ke(a, t);
1100
1100
  return t;
1101
1101
  }
1102
1102
  function dt(e) {
@@ -1117,26 +1117,26 @@ function Te(e) {
1117
1117
  }
1118
1118
  function Ea(e) {
1119
1119
  let t = !1;
1120
- function a(r, o) {
1120
+ function a(r, i) {
1121
1121
  let u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "none";
1122
1122
  if (r)
1123
- if (u !== "none" && (r.fixed = u), r.fixed === !0 && (r.fixed = "start"), r.fixed === o)
1123
+ if (u !== "none" && (r.fixed = u), r.fixed === !0 && (r.fixed = "start"), r.fixed === i)
1124
1124
  if (r.children)
1125
- if (o === "start")
1125
+ if (i === "start")
1126
1126
  for (let s = r.children.length - 1; s >= 0; s--)
1127
- a(r.children[s], o, o);
1127
+ a(r.children[s], i, i);
1128
1128
  else
1129
1129
  for (let s = 0; s < r.children.length; s++)
1130
- a(r.children[s], o, o);
1130
+ a(r.children[s], i, i);
1131
1131
  else
1132
- !t && o === "start" ? r.lastFixed = !0 : !t && o === "end" ? r.firstFixedEnd = !0 : isNaN(Number(r.width)) ? zt(`Multiple fixed columns should have a static width (key: ${r.key})`) : r.minWidth = Math.max(Number(r.width) || 0, Number(r.minWidth) || 0), t = !0;
1132
+ !t && i === "start" ? r.lastFixed = !0 : !t && i === "end" ? r.firstFixedEnd = !0 : isNaN(Number(r.width)) ? zt(`Multiple fixed columns should have a static width (key: ${r.key})`) : r.minWidth = Math.max(Number(r.width) || 0, Number(r.minWidth) || 0), t = !0;
1133
1133
  else if (r.children)
1134
- if (o === "start")
1134
+ if (i === "start")
1135
1135
  for (let s = r.children.length - 1; s >= 0; s--)
1136
- a(r.children[s], o);
1136
+ a(r.children[s], i);
1137
1137
  else
1138
1138
  for (let s = 0; s < r.children.length; s++)
1139
- a(r.children[s], o);
1139
+ a(r.children[s], i);
1140
1140
  else
1141
1141
  t = !1;
1142
1142
  }
@@ -1171,34 +1171,34 @@ function ft(e) {
1171
1171
  } else e.fixed === "end" && (e.fixedEndOffset = t, t += parseFloat(e.width || "0") || 0);
1172
1172
  return t;
1173
1173
  }
1174
- function Ra(e, t) {
1174
+ function Na(e, t) {
1175
1175
  const a = [];
1176
1176
  let l = 0;
1177
1177
  const n = La(e);
1178
1178
  for (; n.size() > 0; ) {
1179
- let o = n.count();
1179
+ let i = n.count();
1180
1180
  const u = [];
1181
1181
  let s = 1;
1182
- for (; o > 0; ) {
1182
+ for (; i > 0; ) {
1183
1183
  const {
1184
- element: i,
1184
+ element: o,
1185
1185
  priority: c
1186
- } = n.dequeue(), m = t - l - Te(i);
1186
+ } = n.dequeue(), m = t - l - Te(o);
1187
1187
  if (u.push({
1188
- ...i,
1188
+ ...o,
1189
1189
  rowspan: m ?? 1,
1190
- colspan: i.children ? we(i).length : 1
1191
- }), i.children)
1192
- for (const d of i.children) {
1190
+ colspan: o.children ? ke(o).length : 1
1191
+ }), o.children)
1192
+ for (const d of o.children) {
1193
1193
  const f = c % 1 + s / Math.pow(10, l + 2);
1194
1194
  n.enqueue(d, l + m + f);
1195
1195
  }
1196
- s += 1, o -= 1;
1196
+ s += 1, i -= 1;
1197
1197
  }
1198
1198
  l += 1, a.push(u);
1199
1199
  }
1200
1200
  return {
1201
- columns: e.map((o) => we(o)).flat(),
1201
+ columns: e.map((i) => ke(i)).flat(),
1202
1202
  headers: a
1203
1203
  };
1204
1204
  }
@@ -1208,46 +1208,46 @@ function vt(e) {
1208
1208
  const l = {
1209
1209
  ...Aa(a),
1210
1210
  ...a
1211
- }, n = l.key ?? (typeof l.value == "string" ? l.value : null), r = l.value ?? n ?? null, o = {
1211
+ }, n = l.key ?? (typeof l.value == "string" ? l.value : null), r = l.value ?? n ?? null, i = {
1212
1212
  ...l,
1213
1213
  key: n,
1214
1214
  value: r,
1215
1215
  sortable: l.sortable ?? (l.key != null || !!l.sort),
1216
1216
  children: l.children ? vt(l.children) : void 0
1217
1217
  };
1218
- t.push(o);
1218
+ t.push(i);
1219
1219
  }
1220
1220
  return t;
1221
1221
  }
1222
- function Na(e, t) {
1223
- const a = j([]), l = j([]), n = j({}), r = j({}), o = j({});
1222
+ function Ra(e, t) {
1223
+ const a = j([]), l = j([]), n = j({}), r = j({}), i = j({});
1224
1224
  je(() => {
1225
- const i = (e.headers || Object.keys(e.items[0] ?? {}).map((b) => ({
1225
+ const o = (e.headers || Object.keys(e.items[0] ?? {}).map((b) => ({
1226
1226
  key: b,
1227
1227
  title: _t(b)
1228
- }))).slice(), c = dt(i);
1229
- t?.groupBy?.value.length && !c.has("data-table-group") && i.unshift({
1228
+ }))).slice(), c = dt(o);
1229
+ t?.groupBy?.value.length && !c.has("data-table-group") && o.unshift({
1230
1230
  key: "data-table-group",
1231
1231
  title: "Group"
1232
- }), t?.showSelect?.value && !c.has("data-table-select") && i.unshift({
1232
+ }), t?.showSelect?.value && !c.has("data-table-select") && o.unshift({
1233
1233
  key: "data-table-select"
1234
- }), t?.showExpand?.value && !c.has("data-table-expand") && i.push({
1234
+ }), t?.showExpand?.value && !c.has("data-table-expand") && o.push({
1235
1235
  key: "data-table-expand"
1236
1236
  });
1237
- const m = vt(i);
1237
+ const m = vt(o);
1238
1238
  Ea(m);
1239
- const d = Math.max(...m.map((b) => Te(b))) + 1, f = Ra(m, d);
1239
+ const d = Math.max(...m.map((b) => Te(b))) + 1, f = Na(m, d);
1240
1240
  a.value = f.headers, l.value = f.columns;
1241
1241
  const y = f.headers.flat(1);
1242
1242
  for (const b of y)
1243
- b.key && (b.sortable && (b.sort && (n.value[b.key] = b.sort), b.sortRaw && (r.value[b.key] = b.sortRaw)), b.filter && (o.value[b.key] = b.filter));
1243
+ b.key && (b.sortable && (b.sort && (n.value[b.key] = b.sort), b.sortRaw && (r.value[b.key] = b.sortRaw)), b.filter && (i.value[b.key] = b.filter));
1244
1244
  });
1245
1245
  const u = {
1246
1246
  headers: a,
1247
1247
  columns: l,
1248
1248
  sortFunctions: n,
1249
1249
  sortRawFunctions: r,
1250
- filterFunctions: o
1250
+ filterFunctions: i
1251
1251
  };
1252
1252
  return Y(it, u), u;
1253
1253
  }
@@ -1277,7 +1277,7 @@ const gt = _({
1277
1277
  ...ae(),
1278
1278
  ...Ve(),
1279
1279
  ...Qt()
1280
- }, "VDataTableHeaders"), Re = $()({
1280
+ }, "VDataTableHeaders"), Ne = $()({
1281
1281
  name: "VDataTableHeaders",
1282
1282
  props: gt(),
1283
1283
  setup(e, t) {
@@ -1289,11 +1289,11 @@ const gt = _({
1289
1289
  } = Z(), {
1290
1290
  toggleSort: n,
1291
1291
  sortBy: r,
1292
- isSorted: o
1292
+ isSorted: i
1293
1293
  } = st(), {
1294
1294
  someSelected: u,
1295
1295
  allSelected: s,
1296
- selectAll: i,
1296
+ selectAll: o,
1297
1297
  showSelectAll: c
1298
1298
  } = ve(), {
1299
1299
  columns: m,
@@ -1303,11 +1303,11 @@ const gt = _({
1303
1303
  } = Ut(e);
1304
1304
  function y(x, g) {
1305
1305
  if (!(e.sticky || e.fixedHeader) && !x.fixed) return;
1306
- const w = typeof x.fixed == "string" ? x.fixed : x.fixed ? "start" : "none";
1306
+ const k = typeof x.fixed == "string" ? x.fixed : x.fixed ? "start" : "none";
1307
1307
  return {
1308
1308
  position: "sticky",
1309
- left: w === "start" ? A(x.fixedOffset) : void 0,
1310
- right: w === "end" ? A(x.fixedEndOffset) : void 0,
1309
+ left: k === "start" ? A(x.fixedOffset) : void 0,
1310
+ right: k === "end" ? A(x.fixedEndOffset) : void 0,
1311
1311
  top: e.sticky || e.fixedHeader ? `calc(var(--v-table-header-height) * ${g})` : void 0
1312
1312
  };
1313
1313
  }
@@ -1315,40 +1315,40 @@ const gt = _({
1315
1315
  x.key === "Enter" && !e.disableSort && n(g);
1316
1316
  }
1317
1317
  function v(x) {
1318
- const g = r.value.find((w) => w.key === x.key);
1318
+ const g = r.value.find((k) => k.key === x.key);
1319
1319
  return g ? g.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
1320
1320
  }
1321
1321
  const {
1322
- backgroundColorClasses: V,
1322
+ backgroundColorClasses: F,
1323
1323
  backgroundColorStyles: h
1324
1324
  } = Je(() => e.color), {
1325
1325
  displayClasses: I,
1326
1326
  mobile: D
1327
- } = fe(e), P = F(() => ({
1327
+ } = fe(e), P = V(() => ({
1328
1328
  headers: d.value,
1329
1329
  columns: m.value,
1330
1330
  toggleSort: n,
1331
- isSorted: o,
1331
+ isSorted: i,
1332
1332
  sortBy: r.value,
1333
1333
  someSelected: u.value,
1334
1334
  allSelected: s.value,
1335
- selectAll: i,
1335
+ selectAll: o,
1336
1336
  getSortIcon: v
1337
- })), L = F(() => ["v-data-table__th", {
1337
+ })), L = V(() => ["v-data-table__th", {
1338
1338
  "v-data-table__th--sticky": e.sticky || e.fixedHeader
1339
- }, I.value, f.value]), R = (x) => {
1339
+ }, I.value, f.value]), N = (x) => {
1340
1340
  let {
1341
1341
  column: g,
1342
- x: w,
1342
+ x: k,
1343
1343
  y: T
1344
1344
  } = x;
1345
- const N = g.key === "data-table-select" || g.key === "data-table-expand", le = g.key === "data-table-group" && g.width === 0 && !g.title, be = B(e.headerProps ?? {}, g.headerProps ?? {});
1346
- return k(te, B({
1345
+ const R = g.key === "data-table-select" || g.key === "data-table-expand", le = g.key === "data-table-group" && g.width === 0 && !g.title, be = B(e.headerProps ?? {}, g.headerProps ?? {});
1346
+ return w(te, B({
1347
1347
  tag: "th",
1348
1348
  align: g.align,
1349
1349
  class: [{
1350
1350
  "v-data-table__th--sortable": g.sortable && !e.disableSort,
1351
- "v-data-table__th--sorted": o(g),
1351
+ "v-data-table__th--sorted": i(g),
1352
1352
  "v-data-table__th--fixed": g.fixed
1353
1353
  }, ...L.value],
1354
1354
  style: {
@@ -1363,7 +1363,7 @@ const gt = _({
1363
1363
  nowrap: g.nowrap,
1364
1364
  lastFixed: g.lastFixed,
1365
1365
  firstFixedEnd: g.firstFixedEnd,
1366
- noPadding: N,
1366
+ noPadding: R,
1367
1367
  empty: le,
1368
1368
  tabindex: g.sortable ? 0 : void 0,
1369
1369
  onClick: g.sortable ? () => n(g) : void 0,
@@ -1372,45 +1372,45 @@ const gt = _({
1372
1372
  default: () => {
1373
1373
  const M = `header.${g.key}`, X = {
1374
1374
  column: g,
1375
- selectAll: i,
1376
- isSorted: o,
1375
+ selectAll: o,
1376
+ isSorted: i,
1377
1377
  toggleSort: n,
1378
1378
  sortBy: r.value,
1379
1379
  someSelected: u.value,
1380
1380
  allSelected: s.value,
1381
1381
  getSortIcon: v
1382
1382
  };
1383
- return a[M] ? a[M](X) : le ? "" : g.key === "data-table-select" ? a["header.data-table-select"]?.(X) ?? (c.value && k(De, {
1383
+ return a[M] ? a[M](X) : le ? "" : g.key === "data-table-select" ? a["header.data-table-select"]?.(X) ?? (c.value && w(De, {
1384
1384
  density: e.density,
1385
1385
  modelValue: s.value,
1386
1386
  indeterminate: u.value && !s.value,
1387
- "onUpdate:modelValue": i
1387
+ "onUpdate:modelValue": o
1388
1388
  }, null)) : S("div", {
1389
1389
  class: "v-data-table-header__content"
1390
- }, [S("span", null, [g.title]), g.sortable && !e.disableSort && k(Oe, {
1390
+ }, [S("span", null, [g.title]), g.sortable && !e.disableSort && w(Oe, {
1391
1391
  key: "icon",
1392
1392
  class: "v-data-table-header__sort-icon",
1393
1393
  icon: v(g)
1394
- }, null), e.multiSort && o(g) && S("div", {
1394
+ }, null), e.multiSort && i(g) && S("div", {
1395
1395
  key: "badge",
1396
- class: G(["v-data-table-header__sort-badge", ...V.value]),
1397
- style: ke(h.value)
1396
+ class: G(["v-data-table-header__sort-badge", ...F.value]),
1397
+ style: we(h.value)
1398
1398
  }, [r.value.findIndex((he) => he.key === g.key) + 1])]);
1399
1399
  }
1400
1400
  });
1401
1401
  }, p = () => {
1402
- const x = F(() => m.value.filter((w) => w?.sortable && !e.disableSort)), g = F(() => {
1402
+ const x = V(() => m.value.filter((k) => k?.sortable && !e.disableSort)), g = V(() => {
1403
1403
  if (m.value.find((T) => T.key === "data-table-select") != null)
1404
1404
  return s.value ? "$checkboxOn" : u.value ? "$checkboxIndeterminate" : "$checkboxOff";
1405
1405
  });
1406
- return k(te, B({
1406
+ return w(te, B({
1407
1407
  tag: "th",
1408
1408
  class: [...L.value],
1409
1409
  colspan: d.value.length + 1
1410
1410
  }, e.headerProps), {
1411
1411
  default: () => [S("div", {
1412
1412
  class: "v-data-table-header__content"
1413
- }, [k(Qe, {
1413
+ }, [w(Qe, {
1414
1414
  chips: !0,
1415
1415
  class: "v-data-table__td-sort-select",
1416
1416
  clearable: !0,
@@ -1421,32 +1421,32 @@ const gt = _({
1421
1421
  variant: "underlined",
1422
1422
  "onClick:clear": () => r.value = [],
1423
1423
  appendIcon: g.value,
1424
- "onClick:append": () => i(!s.value)
1424
+ "onClick:append": () => o(!s.value)
1425
1425
  }, {
1426
- chip: (w) => k(ta, {
1427
- onClick: w.item.raw?.sortable ? () => n(w.item.raw) : void 0,
1426
+ chip: (k) => w(ta, {
1427
+ onClick: k.item.raw?.sortable ? () => n(k.item.raw) : void 0,
1428
1428
  onMousedown: (T) => {
1429
1429
  T.preventDefault(), T.stopPropagation();
1430
1430
  }
1431
1431
  }, {
1432
- default: () => [w.item.title, k(Oe, {
1433
- class: G(["v-data-table__td-sort-icon", o(w.item.raw) && "v-data-table__td-sort-icon-active"]),
1434
- icon: v(w.item.raw),
1432
+ default: () => [k.item.title, w(Oe, {
1433
+ class: G(["v-data-table__td-sort-icon", i(k.item.raw) && "v-data-table__td-sort-icon-active"]),
1434
+ icon: v(k.item.raw),
1435
1435
  size: "small"
1436
1436
  }, null)]
1437
1437
  })
1438
1438
  })])]
1439
1439
  });
1440
1440
  };
1441
- K(() => D.value ? S("tr", null, [k(p, null, null)]) : S(U, null, [a.headers ? a.headers(P.value) : d.value.map((x, g) => S("tr", null, [x.map((w, T) => k(R, {
1442
- column: w,
1441
+ K(() => D.value ? S("tr", null, [w(p, null, null)]) : S(U, null, [a.headers ? a.headers(P.value) : d.value.map((x, g) => S("tr", null, [x.map((k, T) => w(N, {
1442
+ column: k,
1443
1443
  x: T,
1444
1444
  y: g
1445
1445
  }, null))])), e.loading && S("tr", {
1446
1446
  class: "v-data-table-progress"
1447
1447
  }, [S("th", {
1448
1448
  colspan: m.value.length
1449
- }, [k(Jt, {
1449
+ }, [w(Jt, {
1450
1450
  name: "v-data-table-progress",
1451
1451
  absolute: !0,
1452
1452
  active: !0,
@@ -1482,18 +1482,18 @@ const gt = _({
1482
1482
  toggleGroup: n,
1483
1483
  extractRows: r
1484
1484
  } = qe(), {
1485
- isSelected: o,
1485
+ isSelected: i,
1486
1486
  isSomeSelected: u,
1487
1487
  select: s
1488
1488
  } = ve(), {
1489
- columns: i
1490
- } = ge(), c = F(() => r([e.item])), m = C(() => i.value.length - (i.value.some((d) => d.key === "data-table-select") ? 1 : 0));
1489
+ columns: o
1490
+ } = ge(), c = V(() => r([e.item])), m = C(() => o.value.length - (o.value.some((d) => d.key === "data-table-select") ? 1 : 0));
1491
1491
  return () => S("tr", {
1492
1492
  class: "v-data-table-group-header-row",
1493
1493
  style: {
1494
1494
  "--v-data-table-group-header-row-depth": e.item.depth
1495
1495
  }
1496
- }, [i.value.map((d) => {
1496
+ }, [o.value.map((d) => {
1497
1497
  if (d.key === "data-table-group") {
1498
1498
  const f = l(e.item) ? e.groupCollapseIcon : e.groupExpandIcon, y = () => n(e.item);
1499
1499
  return a["data-table-group"]?.({
@@ -1503,11 +1503,11 @@ const gt = _({
1503
1503
  icon: f,
1504
1504
  onClick: y
1505
1505
  }
1506
- }) ?? k(te, {
1506
+ }) ?? w(te, {
1507
1507
  class: "v-data-table-group-header-row__column",
1508
1508
  colspan: m.value
1509
1509
  }, {
1510
- default: () => [k(W, {
1510
+ default: () => [w(W, {
1511
1511
  size: "small",
1512
1512
  variant: "text",
1513
1513
  icon: f,
@@ -1515,18 +1515,18 @@ const gt = _({
1515
1515
  }, null), S("span", null, [e.item.value]), S("span", null, [_e("("), c.value.length, _e(")")])]
1516
1516
  });
1517
1517
  } else if (d.key === "data-table-select") {
1518
- const f = o(c.value), y = u(c.value) && !f, b = (v) => s(c.value, v);
1518
+ const f = i(c.value), y = u(c.value) && !f, b = (v) => s(c.value, v);
1519
1519
  return a["data-table-select"]?.({
1520
1520
  props: {
1521
1521
  modelValue: f,
1522
1522
  indeterminate: y,
1523
1523
  "onUpdate:modelValue": b
1524
1524
  }
1525
- }) ?? k(te, {
1525
+ }) ?? w(te, {
1526
1526
  class: "v-data-table__td--select-row",
1527
1527
  noPadding: !0
1528
1528
  }, {
1529
- default: () => [k(De, {
1529
+ default: () => [w(De, {
1530
1530
  density: e.density,
1531
1531
  modelValue: f,
1532
1532
  indeterminate: y,
@@ -1566,10 +1566,10 @@ const gt = _({
1566
1566
  mobile: n
1567
1567
  } = fe(e, "v-data-table__tr"), {
1568
1568
  isSelected: r,
1569
- toggleSelect: o,
1569
+ toggleSelect: i,
1570
1570
  someSelected: u,
1571
1571
  allSelected: s,
1572
- selectAll: i
1572
+ selectAll: o
1573
1573
  } = ve(), {
1574
1574
  isExpanded: c,
1575
1575
  toggleExpand: m
@@ -1587,7 +1587,7 @@ const gt = _({
1587
1587
  onClick: e.onClick,
1588
1588
  onContextmenu: e.onContextmenu,
1589
1589
  onDblclick: e.onDblclick
1590
- }, [e.item && b.value.map((v, V) => {
1590
+ }, [e.item && b.value.map((v, F) => {
1591
1591
  const h = e.item, I = `item.${v.key}`, D = `header.${v.key}`, P = {
1592
1592
  index: e.index,
1593
1593
  item: h.raw,
@@ -1595,19 +1595,19 @@ const gt = _({
1595
1595
  value: de(h.columns, v.key),
1596
1596
  column: v,
1597
1597
  isSelected: r,
1598
- toggleSelect: o,
1598
+ toggleSelect: i,
1599
1599
  isExpanded: c,
1600
1600
  toggleExpand: m
1601
1601
  }, L = {
1602
1602
  column: v,
1603
- selectAll: i,
1603
+ selectAll: o,
1604
1604
  isSorted: y,
1605
1605
  toggleSort: d,
1606
1606
  sortBy: f.value,
1607
1607
  someSelected: u.value,
1608
1608
  allSelected: s.value,
1609
1609
  getSortIcon: () => ""
1610
- }, R = typeof e.cellProps == "function" ? e.cellProps({
1610
+ }, N = typeof e.cellProps == "function" ? e.cellProps({
1611
1611
  index: P.index,
1612
1612
  item: P.item,
1613
1613
  internalItem: P.internalItem,
@@ -1619,7 +1619,7 @@ const gt = _({
1619
1619
  internalItem: P.internalItem,
1620
1620
  value: P.value
1621
1621
  }) : v.cellProps, x = v.key === "data-table-select" || v.key === "data-table-expand", g = v.key === "data-table-group" && v.width === 0 && !v.title;
1622
- return k(te, B({
1622
+ return w(te, B({
1623
1623
  align: v.align,
1624
1624
  indent: v.intent,
1625
1625
  class: {
@@ -1636,7 +1636,7 @@ const gt = _({
1636
1636
  empty: g,
1637
1637
  nowrap: v.nowrap,
1638
1638
  width: n.value ? void 0 : v.width
1639
- }, R, p), {
1639
+ }, N, p), {
1640
1640
  default: () => {
1641
1641
  if (v.key === "data-table-select")
1642
1642
  return a["item.data-table-select"]?.({
@@ -1644,13 +1644,13 @@ const gt = _({
1644
1644
  props: {
1645
1645
  disabled: !h.selectable,
1646
1646
  modelValue: r([h]),
1647
- onClick: re(() => o(h), ["stop"])
1647
+ onClick: re(() => i(h), ["stop"])
1648
1648
  }
1649
- }) ?? k(De, {
1649
+ }) ?? w(De, {
1650
1650
  disabled: !h.selectable,
1651
1651
  density: e.density,
1652
1652
  modelValue: r([h]),
1653
- onClick: re((T) => o(h, e.index, T), ["stop"])
1653
+ onClick: re((T) => i(h, e.index, T), ["stop"])
1654
1654
  }, null);
1655
1655
  if (v.key === "data-table-expand")
1656
1656
  return a["item.data-table-expand"]?.({
@@ -1661,19 +1661,19 @@ const gt = _({
1661
1661
  variant: "text",
1662
1662
  onClick: re(() => m(h), ["stop"])
1663
1663
  }
1664
- }) ?? k(W, {
1664
+ }) ?? w(W, {
1665
1665
  icon: c(h) ? e.collapseIcon : e.expandIcon,
1666
1666
  size: "small",
1667
1667
  variant: "text",
1668
1668
  onClick: re(() => m(h), ["stop"])
1669
1669
  }, null);
1670
1670
  if (a[I] && !n.value) return a[I](P);
1671
- const w = Bt(P.value);
1671
+ const k = Bt(P.value);
1672
1672
  return n.value ? S(U, null, [S("div", {
1673
1673
  class: "v-data-table__td-title"
1674
1674
  }, [a[D]?.(L) ?? v.title]), S("div", {
1675
1675
  class: "v-data-table__td-value"
1676
- }, [a[I]?.(P) ?? w])]) : w;
1676
+ }, [a[I]?.(P) ?? k])]) : k;
1677
1677
  }
1678
1678
  });
1679
1679
  })]));
@@ -1698,7 +1698,7 @@ const gt = _({
1698
1698
  ...Pe(bt(), ["collapseIcon", "expandIcon", "density"]),
1699
1699
  ...Pe(mt(), ["groupCollapseIcon", "groupExpandIcon", "density"]),
1700
1700
  ...Ve()
1701
- }, "VDataTableRows"), Ne = $()({
1701
+ }, "VDataTableRows"), Re = $()({
1702
1702
  name: "VDataTableRows",
1703
1703
  inheritAttrs: !1,
1704
1704
  props: ht(),
@@ -1711,11 +1711,11 @@ const gt = _({
1711
1711
  columns: n
1712
1712
  } = ge(), {
1713
1713
  expandOnClick: r,
1714
- toggleExpand: o,
1714
+ toggleExpand: i,
1715
1715
  isExpanded: u
1716
1716
  } = Ye(), {
1717
1717
  isSelected: s,
1718
- toggleSelect: i
1718
+ toggleSelect: o
1719
1719
  } = ve(), {
1720
1720
  toggleGroup: c,
1721
1721
  isGroupOpen: m
@@ -1743,13 +1743,13 @@ const gt = _({
1743
1743
  item: b,
1744
1744
  columns: n.value,
1745
1745
  isExpanded: u,
1746
- toggleExpand: o,
1746
+ toggleExpand: i,
1747
1747
  isSelected: s,
1748
- toggleSelect: i,
1748
+ toggleSelect: o,
1749
1749
  toggleGroup: c,
1750
1750
  isGroupOpen: m
1751
1751
  };
1752
- return l["group-header"] ? l["group-header"](I) : k($a, B({
1752
+ return l["group-header"] ? l["group-header"](I) : w($a, B({
1753
1753
  key: `group-header_${b.id}`,
1754
1754
  item: b
1755
1755
  }, Le(a, ":groupHeader", () => I), y), l);
@@ -1763,21 +1763,21 @@ const gt = _({
1763
1763
  };
1764
1764
  return l["group-summary"]?.(I) ?? "";
1765
1765
  }
1766
- const V = {
1766
+ const F = {
1767
1767
  index: v,
1768
1768
  item: b.raw,
1769
1769
  internalItem: b,
1770
1770
  columns: n.value,
1771
1771
  isExpanded: u,
1772
- toggleExpand: o,
1772
+ toggleExpand: i,
1773
1773
  isSelected: s,
1774
- toggleSelect: i
1774
+ toggleSelect: o
1775
1775
  }, h = {
1776
- ...V,
1776
+ ...F,
1777
1777
  props: B({
1778
1778
  key: `item_${b.key ?? b.index}`,
1779
1779
  onClick: r.value ? () => {
1780
- o(b);
1780
+ i(b);
1781
1781
  } : void 0,
1782
1782
  index: v,
1783
1783
  item: b,
@@ -1786,15 +1786,15 @@ const gt = _({
1786
1786
  expandIcon: e.expandIcon,
1787
1787
  density: e.density,
1788
1788
  mobile: f.value
1789
- }, Le(a, ":row", () => V), typeof e.rowProps == "function" ? e.rowProps({
1790
- item: V.item,
1791
- index: V.index,
1792
- internalItem: V.internalItem
1789
+ }, Le(a, ":row", () => F), typeof e.rowProps == "function" ? e.rowProps({
1790
+ item: F.item,
1791
+ index: F.index,
1792
+ internalItem: F.internalItem
1793
1793
  }) : e.rowProps)
1794
1794
  };
1795
1795
  return S(U, {
1796
1796
  key: h.props.key
1797
- }, [l.item ? l.item(h) : k(Ma, h.props, l), u(b) && l["expanded-row"]?.(V)]);
1797
+ }, [l.item ? l.item(h) : w(Ma, h.props, l), u(b) && l["expanded-row"]?.(F)]);
1798
1798
  })]);
1799
1799
  }), {};
1800
1800
  }
@@ -1825,7 +1825,7 @@ const gt = _({
1825
1825
  } = Ie(e), {
1826
1826
  densityClasses: r
1827
1827
  } = Xt(e);
1828
- return K(() => k(e.tag, {
1828
+ return K(() => w(e.tag, {
1829
1829
  class: G(["v-table", {
1830
1830
  "v-table--fixed-height": !!e.height,
1831
1831
  "v-table--fixed-header": e.fixedHeader,
@@ -1836,7 +1836,7 @@ const gt = _({
1836
1836
  "v-table--striped-even": e.striped === "even",
1837
1837
  "v-table--striped-odd": e.striped === "odd"
1838
1838
  }, n.value, r.value, e.class]),
1839
- style: ke(e.style)
1839
+ style: we(e.style)
1840
1840
  }, {
1841
1841
  default: () => [a.top?.(), a.default ? S("div", {
1842
1842
  class: "v-table__wrapper",
@@ -1864,14 +1864,14 @@ const gt = _({
1864
1864
  returnObject: Boolean
1865
1865
  }, "DataTable-items");
1866
1866
  function ja(e, t, a, l) {
1867
- const n = e.returnObject ? t : ee(t, e.itemValue), r = ee(t, e.itemSelectable, !0), o = l.reduce((u, s) => (s.key != null && (u[s.key] = ee(t, s.value)), u), {});
1867
+ const n = e.returnObject ? t : ee(t, e.itemValue), r = ee(t, e.itemSelectable, !0), i = l.reduce((u, s) => (s.key != null && (u[s.key] = ee(t, s.value)), u), {});
1868
1868
  return {
1869
1869
  type: "item",
1870
1870
  key: e.returnObject ? ee(t, e.itemValue) : n,
1871
1871
  index: a,
1872
1872
  value: n,
1873
1873
  selectable: r,
1874
- columns: o,
1874
+ columns: i,
1875
1875
  raw: t
1876
1876
  };
1877
1877
  }
@@ -1880,7 +1880,7 @@ function Ga(e, t, a) {
1880
1880
  }
1881
1881
  function Ka(e, t) {
1882
1882
  return {
1883
- items: F(() => Ga(e, e.items, t.value))
1883
+ items: V(() => Ga(e, e.items, t.value))
1884
1884
  };
1885
1885
  }
1886
1886
  const Wa = _({
@@ -1894,7 +1894,7 @@ const Wa = _({
1894
1894
  ...da(),
1895
1895
  ...Ba(),
1896
1896
  ...Ha(),
1897
- ...wa(),
1897
+ ...ka(),
1898
1898
  ...Ia(),
1899
1899
  ...gt(),
1900
1900
  ...yt()
@@ -1925,11 +1925,11 @@ const Wa = _({
1925
1925
  groupBy: n
1926
1926
  } = ca(e), {
1927
1927
  sortBy: r,
1928
- multiSort: o,
1928
+ multiSort: i,
1929
1929
  mustSort: u
1930
1930
  } = Fa(e), {
1931
1931
  page: s,
1932
- itemsPerPage: i
1932
+ itemsPerPage: o
1933
1933
  } = ha(e), {
1934
1934
  disableSort: c
1935
1935
  } = Ot(e), {
@@ -1938,29 +1938,29 @@ const Wa = _({
1938
1938
  sortFunctions: f,
1939
1939
  sortRawFunctions: y,
1940
1940
  filterFunctions: b
1941
- } = Na(e, {
1941
+ } = Ra(e, {
1942
1942
  groupBy: n,
1943
1943
  showSelect: C(() => e.showSelect),
1944
1944
  showExpand: C(() => e.showExpand)
1945
1945
  }), {
1946
1946
  items: v
1947
- } = Ka(e, m), V = C(() => e.search), {
1947
+ } = Ka(e, m), F = C(() => e.search), {
1948
1948
  filteredItems: h
1949
- } = oa(e, v, V, {
1949
+ } = oa(e, v, F, {
1950
1950
  transform: (H) => H.columns,
1951
1951
  customKeyFilter: b
1952
1952
  }), {
1953
1953
  toggleSort: I
1954
1954
  } = Va({
1955
1955
  sortBy: r,
1956
- multiSort: o,
1956
+ multiSort: i,
1957
1957
  mustSort: u,
1958
1958
  page: s
1959
1959
  }), {
1960
1960
  sortByWithGroups: D,
1961
1961
  opened: P,
1962
1962
  extractRows: L,
1963
- isGroupOpen: R,
1963
+ isGroupOpen: N,
1964
1964
  toggleGroup: p
1965
1965
  } = fa({
1966
1966
  groupBy: n,
@@ -1977,42 +1977,42 @@ const Wa = _({
1977
1977
  sortRawFunctions: y
1978
1978
  }), {
1979
1979
  flatItems: g
1980
- } = ga(x, n, P, () => !!l["group-summary"]), w = F(() => g.value.length), {
1980
+ } = ga(x, n, P, () => !!l["group-summary"]), k = V(() => g.value.length), {
1981
1981
  startIndex: T,
1982
- stopIndex: N,
1982
+ stopIndex: R,
1983
1983
  pageCount: le,
1984
1984
  setItemsPerPage: be
1985
1985
  } = ya({
1986
1986
  page: s,
1987
- itemsPerPage: i,
1988
- itemsLength: w
1987
+ itemsPerPage: o,
1988
+ itemsLength: k
1989
1989
  }), {
1990
1990
  paginatedItems: M
1991
1991
  } = xa({
1992
1992
  items: g,
1993
1993
  startIndex: T,
1994
- stopIndex: N,
1995
- itemsPerPage: i
1996
- }), X = F(() => L(M.value)), {
1994
+ stopIndex: R,
1995
+ itemsPerPage: o
1996
+ }), X = V(() => L(M.value)), {
1997
1997
  isSelected: he,
1998
1998
  select: pt,
1999
1999
  selectAll: xt,
2000
2000
  toggleSelect: St,
2001
2001
  someSelected: Pt,
2002
- allSelected: wt
2003
- } = ka(e, {
2002
+ allSelected: kt
2003
+ } = wa(e, {
2004
2004
  allItems: v,
2005
2005
  currentPage: X
2006
2006
  }), {
2007
- isExpanded: kt,
2007
+ isExpanded: wt,
2008
2008
  toggleExpand: It
2009
2009
  } = ua(e);
2010
2010
  ma({
2011
2011
  page: s,
2012
- itemsPerPage: i,
2012
+ itemsPerPage: o,
2013
2013
  sortBy: r,
2014
2014
  groupBy: n,
2015
- search: V
2015
+ search: F
2016
2016
  }), Se({
2017
2017
  VDataTableRows: {
2018
2018
  hideNoData: C(() => e.hideNoData),
@@ -2021,22 +2021,22 @@ const Wa = _({
2021
2021
  loadingText: C(() => e.loadingText)
2022
2022
  }
2023
2023
  });
2024
- const E = F(() => ({
2024
+ const E = V(() => ({
2025
2025
  page: s.value,
2026
- itemsPerPage: i.value,
2026
+ itemsPerPage: o.value,
2027
2027
  sortBy: r.value,
2028
2028
  pageCount: le.value,
2029
2029
  toggleSort: I,
2030
2030
  setItemsPerPage: be,
2031
2031
  someSelected: Pt.value,
2032
- allSelected: wt.value,
2032
+ allSelected: kt.value,
2033
2033
  isSelected: he,
2034
2034
  select: pt,
2035
2035
  selectAll: xt,
2036
2036
  toggleSelect: St,
2037
- isExpanded: kt,
2037
+ isExpanded: wt,
2038
2038
  toggleExpand: It,
2039
- isGroupOpen: R,
2039
+ isGroupOpen: N,
2040
2040
  toggleGroup: p,
2041
2041
  items: X.value.map((H) => H.raw),
2042
2042
  internalItems: X.value,
@@ -2045,8 +2045,8 @@ const Wa = _({
2045
2045
  headers: d.value
2046
2046
  }));
2047
2047
  return K(() => {
2048
- const H = Ee.filterProps(e), Ft = Re.filterProps(e), Vt = Ne.filterProps(e), Dt = $e.filterProps(e);
2049
- return k($e, B({
2048
+ const H = Ee.filterProps(e), Ft = Ne.filterProps(e), Vt = Re.filterProps(e), Dt = $e.filterProps(e);
2049
+ return w($e, B({
2050
2050
  class: ["v-data-table", {
2051
2051
  "v-data-table--show-select": e.showSelect,
2052
2052
  "v-data-table--loading": e.loading
@@ -2058,10 +2058,10 @@ const Wa = _({
2058
2058
  top: () => l.top?.(E.value),
2059
2059
  default: () => l.default ? l.default(E.value) : S(U, null, [l.colgroup?.(E.value), !e.hideDefaultHeader && S("thead", {
2060
2060
  key: "thead"
2061
- }, [k(Re, Ft, l)]), l.thead?.(E.value), !e.hideDefaultBody && S("tbody", null, [l["body.prepend"]?.(E.value), l.body ? l.body(E.value) : k(Ne, B(a, Vt, {
2061
+ }, [w(Ne, Ft, l)]), l.thead?.(E.value), !e.hideDefaultBody && S("tbody", null, [l["body.prepend"]?.(E.value), l.body ? l.body(E.value) : w(Re, B(a, Vt, {
2062
2062
  items: M.value
2063
2063
  }), l), l["body.append"]?.(E.value)]), l.tbody?.(E.value), l.tfoot?.(E.value)]),
2064
- bottom: () => l.bottom ? l.bottom(E.value) : !e.hideDefaultFooter && S(U, null, [k(Yt, null, null), k(Ee, H, {
2064
+ bottom: () => l.bottom ? l.bottom(E.value) : !e.hideDefaultFooter && S(U, null, [w(Yt, null, null), w(Ee, H, {
2065
2065
  prepend: l["footer.prepend"]
2066
2066
  })])
2067
2067
  });
@@ -2154,25 +2154,25 @@ const Qa = _({
2154
2154
  backgroundColorClasses: n,
2155
2155
  backgroundColorStyles: r
2156
2156
  } = Je(() => e.color), {
2157
- dimensionStyles: o
2157
+ dimensionStyles: i
2158
2158
  } = Zt(e), {
2159
2159
  elevationClasses: u
2160
2160
  } = qt(e), {
2161
2161
  themeClasses: s
2162
2162
  } = Ie(e), {
2163
- t: i
2164
- } = Z(), c = F(() => me(z(e.type).join(",")));
2163
+ t: o
2164
+ } = Z(), c = V(() => me(z(e.type).join(",")));
2165
2165
  return K(() => {
2166
2166
  const m = !l.default || e.loading, d = e.boilerplate || !m ? {} : {
2167
2167
  ariaLive: "polite",
2168
- ariaLabel: i(e.loadingText),
2168
+ ariaLabel: o(e.loadingText),
2169
2169
  role: "alert"
2170
2170
  };
2171
2171
  return m ? S("div", B({
2172
2172
  class: ["v-skeleton-loader", {
2173
2173
  "v-skeleton-loader--boilerplate": e.boilerplate
2174
2174
  }, s.value, n.value, u.value],
2175
- style: [r.value, o.value]
2175
+ style: [r.value, i.value]
2176
2176
  }, d, a), [c.value]) : S(U, null, [l.default?.()]);
2177
2177
  }), {};
2178
2178
  }
@@ -2194,36 +2194,47 @@ function Xa(e, t, a) {
2194
2194
  }
2195
2195
  }
2196
2196
  function ll() {
2197
- const { advancedFiltersState: e, hardFiltersState: t } = aa(), a = Q("table_props"), l = j(), n = F(() => {
2198
- const o = Object.values(t.value).filter((i) => i.args).map((i) => i.args).reduce((i, c) => ({ ...i, ...c }), {}), u = { ...e.value, ...o };
2197
+ const { advancedFiltersState: e, hardFiltersState: t } = aa(), a = Q("table_props"), l = j(), n = V(() => {
2198
+ const i = Object.values(t.value).filter((o) => o.args).map((o) => o.args).reduce((o, c) => ({ ...o, ...c }), {}), u = { ...e.value, ...i };
2199
2199
  let s = l.value;
2200
- return u && Object.keys(u).forEach((i) => {
2201
- const c = u[i].value, m = u[i]?.comparison ?? "=";
2202
- c && (s = s.filter((d) => {
2203
- const f = a.headers.find((v) => (v.advancedFilter?.key ?? v.key) === i);
2204
- let y = la(d);
2205
- Object.hasOwn(f, "filterReturnValue") && typeof f.filterReturnValue == "function" && (y[i] = f.filterReturnValue({
2206
- value: d[i],
2207
- item: d
2200
+ return !u || Object.keys(u).length === 0 || Object.keys(u).forEach((o) => {
2201
+ const c = u[o].value, m = u[o]?.comparison ?? "=", d = a.headers.find((f) => (f.advancedFilter?.key ?? f.key) === o);
2202
+ c && (s = s.filter((f) => {
2203
+ let y = !0;
2204
+ if (!d) return y;
2205
+ let b = la(f);
2206
+ Object.hasOwn(d, "filterReturnValue") && typeof d.filterReturnValue == "function" && (b[o] = d.filterReturnValue({
2207
+ value: f[o],
2208
+ item: f
2208
2209
  }));
2209
- let b = i.split(".").reduce((v, V) => v && v[V], y);
2210
- if (f.advancedFilter?.component === "datepicker")
2211
- return r(b, c);
2212
- if (typeof b == "number")
2213
- return Xa(b, c, m);
2214
- if (typeof b == "string")
2215
- return Array.isArray(c) ? c.map((v) => v.toLowerCase()).includes(b.toLowerCase()) : b?.toLowerCase().includes(c.toLowerCase());
2210
+ let v = o.split(".").reduce((F, h) => F && F[h], b);
2211
+ switch (console.log(v), d.advancedFilter?.component) {
2212
+ case "datepicker":
2213
+ y = r(v, c);
2214
+ break;
2215
+ case "comparison":
2216
+ y = Xa(
2217
+ Number(v),
2218
+ Number(c),
2219
+ m
2220
+ );
2221
+ break;
2222
+ default:
2223
+ Array.isArray(c) ? y = c.map((F) => F.toString().toLowerCase()).includes(v.toString().toLowerCase()) : y = v?.toString().toLowerCase().includes(c.toString().toLowerCase());
2224
+ break;
2225
+ }
2226
+ return y;
2216
2227
  }));
2217
2228
  }), s;
2218
- }), r = (o, u) => {
2219
- const s = Array.isArray(u) ? u : [u];
2220
- return ie(s[0]).startOf("day").isSameOrBefore(ie(o).format()) && ie(s[s.length - 1]).endOf("day").isSameOrAfter(ie(o).format());
2229
+ }), r = (i, u) => {
2230
+ const s = Array.isArray(u) ? u : [u], o = ie(s[0]).startOf("day").isSameOrBefore(ie(i).format()), c = ie(s[s.length - 1]).endOf("day").isSameOrAfter(ie(i).format());
2231
+ return o && c;
2221
2232
  };
2222
2233
  return ce(
2223
2234
  () => a.data,
2224
- async (o, u) => {
2225
- const s = o ?? [], i = u ?? [];
2226
- JSON.stringify(s) !== JSON.stringify(i) && (l.value = o);
2235
+ async (i, u) => {
2236
+ const s = i ?? [], o = u ?? [];
2237
+ JSON.stringify(s) !== JSON.stringify(o) && (l.value = i);
2227
2238
  },
2228
2239
  { deep: !0, immediate: !0 }
2229
2240
  ), { tableData: l, filteredData: n };
@@ -2255,17 +2266,17 @@ export {
2255
2266
  Fa as b,
2256
2267
  ca as c,
2257
2268
  ha as d,
2258
- Na as e,
2269
+ Ra as e,
2259
2270
  Ka as f,
2260
2271
  fa as g,
2261
2272
  ya as h,
2262
2273
  ga as i,
2263
- ka as j,
2274
+ wa as j,
2264
2275
  ua as k,
2265
2276
  ma as l,
2266
2277
  Ee as m,
2267
- Re as n,
2268
- Ne as o,
2278
+ Ne as n,
2279
+ Re as o,
2269
2280
  Va as p,
2270
2281
  $e as q,
2271
2282
  ot as r,