@ianicdev/datatables2 0.9.10 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{Columns-CPYUVLvE.js → Columns-BVivQbA1.js} +1 -1
  2. package/dist/{Columns-BaARuW1m.cjs → Columns-uuugU4i9.cjs} +1 -1
  3. package/dist/{Comparison-DDhGIBui.cjs → Comparison-BNSlLRqf.cjs} +1 -1
  4. package/dist/{Comparison-BiPlTpXM.js → Comparison-D6zByMKH.js} +1 -1
  5. package/dist/{Datepicker-CzJ1wZmm.cjs → Datepicker-B8PS_dQ1.cjs} +1 -1
  6. package/dist/{Datepicker-KGlOP9ck.js → Datepicker-DXbpHltW.js} +2 -2
  7. package/dist/{Download-FGUE_z5x.js → Download-BSWYh8Kp.js} +2 -2
  8. package/dist/{Download-DZqwXPMb.cjs → Download-CnCzctX1.cjs} +1 -1
  9. package/dist/{Options-CAwRqQpx.js → Options-1LMo1jYF.js} +1 -1
  10. package/dist/{Options-B-Vq57w_.cjs → Options-CB6BQtI-.cjs} +1 -1
  11. package/dist/{RefreshTable-DyLlkCOt.js → RefreshTable-DEXlcdI0.js} +2 -2
  12. package/dist/{RefreshTable-C-UPC-U5.cjs → RefreshTable-DIwWSpaJ.cjs} +1 -1
  13. package/dist/{Search-Tks4mpaH.cjs → Search-BNaYhckX.cjs} +1 -1
  14. package/dist/{Search-DBOrKgEi.js → Search-BsWYytSk.js} +2 -2
  15. package/dist/{Table-P8c-sRdr.js → Table-BMwdrPuC.js} +2 -2
  16. package/dist/{Table-DYDzb63V.cjs → Table-CGDzgkKx.cjs} +1 -1
  17. package/dist/{TableServer--svcmINA.js → TableServer-DaBF1vxr.js} +3 -3
  18. package/dist/{TableServer-ftB17VAQ.cjs → TableServer-ZDSaEYRy.cjs} +1 -1
  19. package/dist/{cellRender-BPzg8pfq.js → cellRender-BuLj_AFK.js} +825 -813
  20. package/dist/cellRender-CYGQmmZC.cjs +1 -0
  21. package/dist/{dataTables-CPrc2H_E.js → dataTables-CxEnAUfF.js} +1 -1
  22. package/dist/{dataTables-CxQh692H.cjs → dataTables-P7hOrFAn.cjs} +1 -1
  23. package/dist/datatables.cjs +1 -1
  24. package/dist/datatables.js +1 -1
  25. package/dist/{index-CXBiVM0n.js → index-Bc0AtRk2.js} +1 -1
  26. package/dist/{index-BW-yzY3p.js → index-BjcvkMIS.js} +11 -11
  27. package/dist/{index-BTfw-D-T.cjs → index-DfTO4Zx6.cjs} +1 -1
  28. package/dist/{index-Dn353bZ1.cjs → index-VkGoAdXo.cjs} +1 -1
  29. package/dist/{index.es-DbLPWyn6.cjs → index.es-Ciudu1vj.cjs} +2 -2
  30. package/dist/{index.es-BXudRhtE.js → index.es-eRsZ1LFr.js} +10 -6
  31. package/dist/jspdf-B3ZoDzKb.cjs +79 -0
  32. package/dist/{jspdf-Dt---f5Z.js → jspdf-ooxm5O8S.js} +3905 -3893
  33. package/package.json +6 -6
  34. package/dist/cellRender-DpRXHxxv.cjs +0 -1
  35. package/dist/jspdf-DQdhUPLM.cjs +0 -79
@@ -1,19 +1,19 @@
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 { aP as Et, U as Nt, p as _, N as z, aA as ee, K as J, aQ as de, _ as Ge, J as Ke, af as ye, aR as Rt, T as Z, aS as se, g as $, a0 as $t, h as Ie, aj as fe, a as Se, al as Mt, aT 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, aU as Be, aV as Wt, ax as A, aW 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-CPrc2H_E.js";
3
- import { V as Qe, a as ta, b as De, u as aa, d as la } from "./index-BW-yzY3p.js";
1
+ import { shallowRef as ue, computed as D, unref as q, watchEffect as je, toRef as C, provide as Y, toRaw as le, inject as Q, ref as j, toValue as Tt, watch as ce, onBeforeUpdate as Ct, createVNode as F, 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 { aP as Et, U as Nt, p as _, N as z, aA as ee, K as J, aQ as de, _ as Ge, J as Ke, af as ye, aR as Rt, T as Z, aS as se, g as $, a0 as $t, h as Ie, aj as fe, a as Se, al as Mt, aT 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, aU as Be, aV as Wt, ax as A, aW as zt, o as Ut, P as Je, L as Jt, D as Qt, ao as De, 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-CxEnAUfF.js";
3
+ import { V as Qe, a as ta, b as Ve, u as aa, d as na } from "./index-BjcvkMIS.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) => Nt(e[n], r, a(r)), l), {});
6
+ return Object.keys(e).filter((n) => Et(n) && n.endsWith(t)).reduce((n, l) => (n[l.slice(0, -t.length)] = (r) => Nt(e[l], r, a(r)), n), {});
7
7
  }
8
- const na = (e, t, a) => {
8
+ const la = (e, t, a) => {
9
9
  if (e == null || t == null) return -1;
10
10
  if (!t.length) return 0;
11
11
  e = e.toString().toLocaleLowerCase(), t = t.toString().toLocaleLowerCase();
12
- const l = [];
13
- let n = e.indexOf(t);
14
- for (; ~n; )
15
- l.push([n, n + t.length]), n = e.indexOf(t, n + t.length);
16
- return l.length ? l : -1;
12
+ const n = [];
13
+ let l = e.indexOf(t);
14
+ for (; ~l; )
15
+ n.push([l, l + t.length]), l = e.indexOf(t, l + t.length);
16
+ return n.length ? n : -1;
17
17
  };
18
18
  function xe(e, t) {
19
19
  if (!(e == null || typeof e == "boolean" || e === -1))
@@ -30,76 +30,76 @@ 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, i = Object.keys(a?.customKeyFilter ?? {}).length;
34
- if (!e?.length) return l;
35
- let u = null;
36
- e: for (let s = 0; s < e.length; s++) {
37
- const [o, c = o] = z(e[s]), m = {}, d = {};
38
- let f = -1;
39
- if ((t || i > 0) && !a?.noFilter) {
40
- let y = !1;
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
- index: s,
33
+ const n = [], l = a?.default ?? la, r = a?.filterKeys ? z(a.filterKeys) : !1, u = Object.keys(a?.customKeyFilter ?? {}).length;
34
+ if (!e?.length) return n;
35
+ let c = null;
36
+ e: for (let o = 0; o < e.length; o++) {
37
+ const [d, g = d] = z(e[o]), h = {}, s = {};
38
+ let i = -1;
39
+ if ((t || u > 0) && !a?.noFilter) {
40
+ let b = !1;
41
+ if (typeof d == "object") {
42
+ if (d.type === "divider" || d.type === "subheader") {
43
+ c?.type === "divider" && d.type === "subheader" && n.push(c), c = {
44
+ index: o,
45
45
  matches: {},
46
- type: o.type
46
+ type: d.type
47
47
  };
48
48
  continue;
49
49
  }
50
- const F = r || Object.keys(c);
51
- y = F.length === i;
52
- for (const h of F) {
53
- const I = ee(c, h), D = a?.customKeyFilter?.[h];
54
- if (f = D ? D(I, t, o) : n(I, t, o), f !== -1 && f !== !1)
55
- D ? m[h] = xe(f, t) : d[h] = xe(f, t);
50
+ const k = r || Object.keys(g);
51
+ b = k.length === u;
52
+ for (const y of k) {
53
+ const P = ee(g, y), V = a?.customKeyFilter?.[y];
54
+ if (i = V ? V(P, t, d) : l(P, t, d), i !== -1 && i !== !1)
55
+ V ? h[y] = xe(i, t) : s[y] = xe(i, t);
56
56
  else if (a?.filterMode === "every")
57
57
  continue e;
58
58
  }
59
59
  } else
60
- f = n(o, t, o), f !== -1 && f !== !1 && (d.title = xe(f, t));
61
- const b = Object.keys(d).length, v = Object.keys(m).length;
62
- if (!b && !v || a?.filterMode === "union" && v !== i && !b || a?.filterMode === "intersection" && (v !== i || !b && i > 0 && !y)) continue;
60
+ i = l(d, t, d), i !== -1 && i !== !1 && (s.title = xe(i, t));
61
+ const f = Object.keys(s).length, v = Object.keys(h).length;
62
+ if (!f && !v || a?.filterMode === "union" && v !== u && !f || a?.filterMode === "intersection" && (v !== u || !f && u > 0 && !b)) continue;
63
63
  }
64
- u && (l.push(u), u = null), l.push({
65
- index: s,
64
+ c && (n.push(c), c = null), n.push({
65
+ index: o,
66
66
  matches: {
67
- ...d,
68
- ...m
67
+ ...s,
68
+ ...h
69
69
  }
70
70
  });
71
71
  }
72
- return l;
72
+ return n;
73
73
  }
74
- function oa(e, t, a, l) {
75
- const n = ue([]), r = ue(/* @__PURE__ */ new Map()), i = V(() => l?.transform ? q(t).map((s) => [s, l.transform(s)]) : q(t));
74
+ function oa(e, t, a, n) {
75
+ const l = ue([]), r = ue(/* @__PURE__ */ new Map()), u = D(() => n?.transform ? q(t).map((o) => [o, n.transform(o)]) : q(t));
76
76
  je(() => {
77
- const s = typeof a == "function" ? a() : q(a), o = typeof s != "string" && typeof s != "number" ? "" : String(s), c = sa(i.value, o, {
77
+ const o = typeof a == "function" ? a() : q(a), d = typeof o != "string" && typeof o != "number" ? "" : String(o), g = sa(u.value, d, {
78
78
  customKeyFilter: {
79
79
  ...e.customKeyFilter,
80
- ...q(l?.customKeyFilter)
80
+ ...q(n?.customKeyFilter)
81
81
  },
82
82
  default: e.customFilter,
83
83
  filterKeys: e.filterKeys,
84
84
  filterMode: e.filterMode,
85
85
  noFilter: e.noFilter
86
- }), m = q(t), d = [], f = /* @__PURE__ */ new Map();
87
- c.forEach((y) => {
86
+ }), h = q(t), s = [], i = /* @__PURE__ */ new Map();
87
+ g.forEach((b) => {
88
88
  let {
89
- index: b,
89
+ index: f,
90
90
  matches: v
91
- } = y;
92
- const F = m[b];
93
- d.push(F), f.set(F.value, v);
94
- }), n.value = d, r.value = f;
91
+ } = b;
92
+ const k = h[f];
93
+ s.push(k), i.set(k.value, v);
94
+ }), l.value = s, r.value = i;
95
95
  });
96
- function u(s) {
97
- return r.value.get(s.value);
96
+ function c(o) {
97
+ return r.value.get(o.value);
98
98
  }
99
99
  return {
100
- filteredItems: n,
100
+ filteredItems: l,
101
101
  filteredMatches: r,
102
- getMatches: u
102
+ getMatches: c
103
103
  };
104
104
  }
105
105
  const ia = _({
@@ -111,32 +111,32 @@ const ia = _({
111
111
  }
112
112
  }, "DataTable-expand"), Xe = Symbol.for("vuetify:datatable:expanded");
113
113
  function ua(e) {
114
- const t = C(() => e.expandOnClick), a = J(e, "expanded", e.expanded, (u) => new Set(u), (u) => [...u.values()]);
115
- function l(u, s) {
116
- const o = new Set(a.value), c = ne(u.value);
117
- if (s)
118
- o.add(c);
114
+ const t = C(() => e.expandOnClick), a = J(e, "expanded", e.expanded, (c) => new Set(c), (c) => [...c.values()]);
115
+ function n(c, o) {
116
+ const d = new Set(a.value), g = le(c.value);
117
+ if (o)
118
+ d.add(g);
119
119
  else {
120
- const m = [...a.value].find((d) => ne(d) === c);
121
- o.delete(m);
120
+ const h = [...a.value].find((s) => le(s) === g);
121
+ d.delete(h);
122
122
  }
123
- a.value = o;
123
+ a.value = d;
124
124
  }
125
- function n(u) {
126
- const s = ne(u.value);
127
- return [...a.value].some((o) => ne(o) === s);
125
+ function l(c) {
126
+ const o = le(c.value);
127
+ return [...a.value].some((d) => le(d) === o);
128
128
  }
129
- function r(u) {
130
- l(u, !n(u));
129
+ function r(c) {
130
+ n(c, !l(c));
131
131
  }
132
- const i = {
133
- expand: l,
132
+ const u = {
133
+ expand: n,
134
134
  expanded: a,
135
135
  expandOnClick: t,
136
- isExpanded: n,
136
+ isExpanded: l,
137
137
  toggleExpand: r
138
138
  };
139
- return Y(Xe, i), i;
139
+ return Y(Xe, u), u;
140
140
  }
141
141
  function Ye() {
142
142
  const e = Q(Xe);
@@ -158,38 +158,38 @@ function fa(e) {
158
158
  const {
159
159
  disableSort: t,
160
160
  groupBy: a,
161
- sortBy: l
162
- } = e, n = j(/* @__PURE__ */ new Set()), r = V(() => a.value.map((c) => ({
163
- ...c,
164
- order: c.order ?? !1
165
- })).concat(t?.value ? [] : l.value));
166
- function i(c) {
167
- return n.value.has(c.id);
161
+ sortBy: n
162
+ } = e, l = j(/* @__PURE__ */ new Set()), r = D(() => a.value.map((g) => ({
163
+ ...g,
164
+ order: g.order ?? !1
165
+ })).concat(t?.value ? [] : n.value));
166
+ function u(g) {
167
+ return l.value.has(g.id);
168
168
  }
169
- function u(c) {
170
- const m = new Set(n.value);
171
- i(c) ? m.delete(c.id) : m.add(c.id), n.value = m;
169
+ function c(g) {
170
+ const h = new Set(l.value);
171
+ u(g) ? h.delete(g.id) : h.add(g.id), l.value = h;
172
172
  }
173
- function s(c) {
174
- function m(d) {
175
- const f = [];
176
- for (const y of d.items)
177
- "type" in y && y.type === "group" ? f.push(...m(y)) : f.push(y);
178
- return [...new Set(f)];
173
+ function o(g) {
174
+ function h(s) {
175
+ const i = [];
176
+ for (const b of s.items)
177
+ "type" in b && b.type === "group" ? i.push(...h(b)) : i.push(b);
178
+ return [...new Set(i)];
179
179
  }
180
- return m({
181
- items: c
180
+ return h({
181
+ items: g
182
182
  });
183
183
  }
184
- const o = {
184
+ const d = {
185
185
  sortByWithGroups: r,
186
- toggleGroup: u,
187
- opened: n,
186
+ toggleGroup: c,
187
+ opened: l,
188
188
  groupBy: a,
189
- extractRows: s,
190
- isGroupOpen: i
189
+ extractRows: o,
190
+ isGroupOpen: u
191
191
  };
192
- return Y(Ze, o), o;
192
+ return Y(Ze, d), d;
193
193
  }
194
194
  function qe() {
195
195
  const e = Q(Ze);
@@ -199,43 +199,43 @@ function qe() {
199
199
  function va(e, t) {
200
200
  if (!e.length) return [];
201
201
  const a = /* @__PURE__ */ new Map();
202
- for (const l of e) {
203
- const n = de(l.raw, t);
204
- a.has(n) || a.set(n, []), a.get(n).push(l);
202
+ for (const n of e) {
203
+ const l = de(n.raw, t);
204
+ a.has(l) || a.set(l, []), a.get(l).push(n);
205
205
  }
206
206
  return a;
207
207
  }
208
208
  function et(e, t) {
209
- let a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "root";
209
+ let a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "root";
210
210
  if (!t.length) return [];
211
- const n = va(e, t[0]), r = [], i = t.slice(1);
212
- return n.forEach((u, s) => {
213
- const o = t[0], c = `${l}_${o}_${s}`;
211
+ const l = va(e, t[0]), r = [], u = t.slice(1);
212
+ return l.forEach((c, o) => {
213
+ const d = t[0], g = `${n}_${d}_${o}`;
214
214
  r.push({
215
215
  depth: a,
216
- id: c,
217
- key: o,
218
- value: s,
219
- items: i.length ? et(u, i, a + 1, c) : u,
216
+ id: g,
217
+ key: d,
218
+ value: o,
219
+ items: u.length ? et(c, u, a + 1, g) : c,
220
220
  type: "group"
221
221
  });
222
222
  }), r;
223
223
  }
224
224
  function tt(e, t, a) {
225
- const l = [];
226
- for (const n of e)
227
- "type" in n && n.type === "group" ? (n.value != null && l.push(n), (t.has(n.id) || n.value == null) && (l.push(...tt(n.items, t, a)), a && l.push({
228
- ...n,
225
+ const n = [];
226
+ for (const l of e)
227
+ "type" in l && l.type === "group" ? (l.value != null && n.push(l), (t.has(l.id) || l.value == null) && (n.push(...tt(l.items, t, a)), a && n.push({
228
+ ...l,
229
229
  type: "group-summary"
230
- }))) : l.push(n);
231
- return l;
230
+ }))) : n.push(l);
231
+ return n;
232
232
  }
233
- function ga(e, t, a, l) {
233
+ function ga(e, t, a, n) {
234
234
  return {
235
- flatItems: V(() => {
235
+ flatItems: D(() => {
236
236
  if (!t.value.length) return e.value;
237
- const r = et(e.value, t.value.map((i) => i.key));
238
- return tt(r, a.value, Tt(l));
237
+ const r = et(e.value, t.value.map((u) => u.key));
238
+ return tt(r, a.value, Tt(n));
239
239
  })
240
240
  };
241
241
  }
@@ -243,20 +243,20 @@ function ma(e) {
243
243
  let {
244
244
  page: t,
245
245
  itemsPerPage: a,
246
- sortBy: l,
247
- groupBy: n,
246
+ sortBy: n,
247
+ groupBy: l,
248
248
  search: r
249
249
  } = e;
250
- const i = Ge("VDataTable"), u = () => ({
250
+ const u = Ge("VDataTable"), c = () => ({
251
251
  page: t.value,
252
252
  itemsPerPage: a.value,
253
- sortBy: l.value,
254
- groupBy: n.value,
253
+ sortBy: n.value,
254
+ groupBy: l.value,
255
255
  search: r.value
256
256
  });
257
- let s = null;
258
- ce(u, (o) => {
259
- Ke(s, o) || (s && s.search !== o.search && (t.value = 1), i.emit("update:options", o), s = o);
257
+ let o = null;
258
+ ce(c, (d) => {
259
+ Ke(o, d) || (o && o.search !== d.search && (t.value = 1), u.emit("update:options", d), o = d);
260
260
  }, {
261
261
  deep: !0,
262
262
  immediate: !0
@@ -273,7 +273,7 @@ const ba = _({
273
273
  }
274
274
  }, "DataTable-paginate"), at = Symbol.for("vuetify:data-table-pagination");
275
275
  function ha(e) {
276
- const t = J(e, "page", void 0, (l) => Number(l ?? 1)), a = J(e, "itemsPerPage", void 0, (l) => Number(l ?? 10));
276
+ const t = J(e, "page", void 0, (n) => Number(n ?? 1)), a = J(e, "itemsPerPage", void 0, (n) => Number(n ?? 10));
277
277
  return {
278
278
  page: t,
279
279
  itemsPerPage: a
@@ -283,36 +283,36 @@ function ya(e) {
283
283
  const {
284
284
  page: t,
285
285
  itemsPerPage: a,
286
- itemsLength: l
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);
286
+ itemsLength: n
287
+ } = e, l = D(() => a.value === -1 ? 0 : a.value * (t.value - 1)), r = D(() => a.value === -1 ? n.value : Math.min(n.value, l.value + a.value)), u = D(() => a.value === -1 || n.value === 0 ? 1 : Math.ceil(n.value / a.value));
288
+ ce([t, u], () => {
289
+ t.value > u.value && (t.value = u.value);
290
290
  });
291
- function u(d) {
292
- a.value = d, t.value = 1;
293
- }
294
- function s() {
295
- t.value = ye(t.value + 1, 1, i.value);
291
+ function c(s) {
292
+ a.value = s, t.value = 1;
296
293
  }
297
294
  function o() {
298
- t.value = ye(t.value - 1, 1, i.value);
295
+ t.value = ye(t.value + 1, 1, u.value);
296
+ }
297
+ function d() {
298
+ t.value = ye(t.value - 1, 1, u.value);
299
299
  }
300
- function c(d) {
301
- t.value = ye(d, 1, i.value);
300
+ function g(s) {
301
+ t.value = ye(s, 1, u.value);
302
302
  }
303
- const m = {
303
+ const h = {
304
304
  page: t,
305
305
  itemsPerPage: a,
306
- startIndex: n,
306
+ startIndex: l,
307
307
  stopIndex: r,
308
- pageCount: i,
309
- itemsLength: l,
310
- nextPage: s,
311
- prevPage: o,
312
- setPage: c,
313
- setItemsPerPage: u
308
+ pageCount: u,
309
+ itemsLength: n,
310
+ nextPage: o,
311
+ prevPage: d,
312
+ setPage: g,
313
+ setItemsPerPage: c
314
314
  };
315
- return Y(at, m), m;
315
+ return Y(at, h), h;
316
316
  }
317
317
  function pa() {
318
318
  const e = Q(at);
@@ -322,16 +322,16 @@ function pa() {
322
322
  function xa(e) {
323
323
  const t = Ge("usePaginatedItems"), {
324
324
  items: a,
325
- startIndex: l,
326
- stopIndex: n,
325
+ startIndex: n,
326
+ stopIndex: l,
327
327
  itemsPerPage: r
328
- } = e, i = V(() => r.value <= 0 ? a.value : a.value.slice(l.value, n.value));
329
- return ce(i, (u) => {
330
- t.emit("update:currentItems", u);
328
+ } = e, u = D(() => r.value <= 0 ? a.value : a.value.slice(n.value, l.value));
329
+ return ce(u, (c) => {
330
+ t.emit("update:currentItems", c);
331
331
  }, {
332
332
  immediate: !0
333
333
  }), {
334
- paginatedItems: i
334
+ paginatedItems: u
335
335
  };
336
336
  }
337
337
  const Sa = {
@@ -350,7 +350,7 @@ const Sa = {
350
350
  } = e;
351
351
  return t;
352
352
  }
353
- }, lt = {
353
+ }, nt = {
354
354
  showSelectAll: !0,
355
355
  allSelected: (e) => {
356
356
  let {
@@ -362,22 +362,22 @@ const Sa = {
362
362
  let {
363
363
  items: t,
364
364
  value: a,
365
- selected: l
365
+ selected: n
366
366
  } = e;
367
- for (const n of t)
368
- a ? l.add(n.value) : l.delete(n.value);
369
- return l;
367
+ for (const l of t)
368
+ a ? n.add(l.value) : n.delete(l.value);
369
+ return n;
370
370
  },
371
371
  selectAll: (e) => {
372
372
  let {
373
373
  value: t,
374
374
  currentPage: a,
375
- selected: l
375
+ selected: n
376
376
  } = e;
377
- return lt.select({
377
+ return nt.select({
378
378
  items: a,
379
379
  value: t,
380
- selected: l
380
+ selected: n
381
381
  });
382
382
  }
383
383
  }, Pa = {
@@ -392,20 +392,20 @@ const Sa = {
392
392
  let {
393
393
  items: t,
394
394
  value: a,
395
- selected: l
395
+ selected: n
396
396
  } = e;
397
- for (const n of t)
398
- a ? l.add(n.value) : l.delete(n.value);
399
- return l;
397
+ for (const l of t)
398
+ a ? n.add(l.value) : n.delete(l.value);
399
+ return n;
400
400
  },
401
401
  selectAll: (e) => {
402
402
  let {
403
403
  value: t,
404
404
  allItems: a
405
405
  } = e;
406
- return new Set(t ? a.map((l) => l.value) : []);
406
+ return new Set(t ? a.map((n) => n.value) : []);
407
407
  }
408
- }, ka = _({
408
+ }, wa = _({
409
409
  showSelect: Boolean,
410
410
  selectStrategy: {
411
411
  type: [String, Object],
@@ -416,16 +416,16 @@ const Sa = {
416
416
  default: () => []
417
417
  },
418
418
  valueComparator: Function
419
- }, "DataTable-select"), nt = Symbol.for("vuetify:data-table-selection");
420
- function wa(e, t) {
419
+ }, "DataTable-select"), lt = Symbol.for("vuetify:data-table-selection");
420
+ function ka(e, t) {
421
421
  let {
422
422
  allItems: a,
423
- currentPage: l
423
+ currentPage: n
424
424
  } = t;
425
- const n = J(e, "modelValue", e.modelValue, (h) => {
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) => 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(() => {
425
+ const l = J(e, "modelValue", e.modelValue, (y) => {
426
+ const P = e.valueComparator;
427
+ return P ? new Set(z(y).map((V) => a.value.find((w) => P(V, w.value))?.value ?? V)) : new Set(z(y).map((V) => Rt(V) ? a.value.find((w) => V === w.value)?.value ?? V : a.value.find((w) => Ke(V, w.value))?.value ?? V));
428
+ }, (y) => [...y.values()]), r = D(() => a.value.filter((y) => y.selectable)), u = D(() => n.value.filter((y) => y.selectable)), c = D(() => {
429
429
  if (typeof e.selectStrategy == "object") return e.selectStrategy;
430
430
  switch (e.selectStrategy) {
431
431
  case "single":
@@ -434,63 +434,63 @@ function wa(e, t) {
434
434
  return Pa;
435
435
  case "page":
436
436
  default:
437
- return lt;
437
+ return nt;
438
438
  }
439
- }), s = ue(null);
440
- function o(h) {
441
- return z(h).every((I) => n.value.has(I.value));
439
+ }), o = ue(null);
440
+ function d(y) {
441
+ return z(y).every((P) => l.value.has(P.value));
442
442
  }
443
- function c(h) {
444
- return z(h).some((I) => n.value.has(I.value));
443
+ function g(y) {
444
+ return z(y).some((P) => l.value.has(P.value));
445
445
  }
446
- function m(h, I) {
447
- const D = u.value.select({
448
- items: h,
449
- value: I,
450
- selected: new Set(n.value)
446
+ function h(y, P) {
447
+ const V = c.value.select({
448
+ items: y,
449
+ value: P,
450
+ selected: new Set(l.value)
451
451
  });
452
- n.value = D;
452
+ l.value = V;
453
453
  }
454
- function d(h, I, D) {
455
- const P = [];
456
- if (I = I ?? l.value.findIndex((L) => L.value === h.value), e.selectStrategy !== "single" && D?.shiftKey && s.value !== null) {
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));
454
+ function s(y, P, V) {
455
+ const w = [];
456
+ if (P = P ?? n.value.findIndex((L) => L.value === y.value), e.selectStrategy !== "single" && V?.shiftKey && o.value !== null) {
457
+ const [L, N] = [o.value, P].sort((p, x) => p - x);
458
+ w.push(...n.value.slice(L, N + 1).filter((p) => p.selectable));
459
459
  } else
460
- P.push(h), s.value = I;
461
- m(P, !o([h]));
460
+ w.push(y), o.value = P;
461
+ h(w, !d([y]));
462
462
  }
463
- function f(h) {
464
- const I = u.value.selectAll({
465
- value: h,
463
+ function i(y) {
464
+ const P = c.value.selectAll({
465
+ value: y,
466
466
  allItems: r.value,
467
- currentPage: i.value,
468
- selected: new Set(n.value)
467
+ currentPage: u.value,
468
+ selected: new Set(l.value)
469
469
  });
470
- n.value = I;
470
+ l.value = P;
471
471
  }
472
- const y = V(() => n.value.size > 0), b = V(() => {
473
- const h = u.value.allSelected({
472
+ const b = D(() => l.value.size > 0), f = D(() => {
473
+ const y = c.value.allSelected({
474
474
  allItems: r.value,
475
- currentPage: i.value
475
+ currentPage: u.value
476
476
  });
477
- return !!h.length && o(h);
478
- }), v = C(() => u.value.showSelectAll), F = {
479
- toggleSelect: d,
480
- select: m,
481
- selectAll: f,
482
- isSelected: o,
483
- isSomeSelected: c,
484
- someSelected: y,
485
- allSelected: b,
477
+ return !!y.length && d(y);
478
+ }), v = C(() => c.value.showSelectAll), k = {
479
+ toggleSelect: s,
480
+ select: h,
481
+ selectAll: i,
482
+ isSelected: d,
483
+ isSomeSelected: g,
484
+ someSelected: b,
485
+ allSelected: f,
486
486
  showSelectAll: v,
487
- lastSelectedIndex: s,
488
- selectStrategy: u
487
+ lastSelectedIndex: o,
488
+ selectStrategy: c
489
489
  };
490
- return Y(nt, F), F;
490
+ return Y(lt, k), k;
491
491
  }
492
492
  function ve() {
493
- const e = Q(nt);
493
+ const e = Q(lt);
494
494
  if (!e) throw new Error("Missing selection!");
495
495
  return e;
496
496
  }
@@ -504,96 +504,96 @@ const Ia = _({
504
504
  mustSort: Boolean
505
505
  }, "DataTable-sort"), rt = Symbol.for("vuetify:data-table-sort");
506
506
  function Fa(e) {
507
- const t = J(e, "sortBy"), a = C(() => e.mustSort), l = C(() => e.multiSort);
507
+ const t = J(e, "sortBy"), a = C(() => e.mustSort), n = C(() => e.multiSort);
508
508
  return {
509
509
  sortBy: t,
510
510
  mustSort: a,
511
- multiSort: l
511
+ multiSort: n
512
512
  };
513
513
  }
514
- function Va(e) {
514
+ function Da(e) {
515
515
  const {
516
516
  sortBy: t,
517
517
  mustSort: a,
518
- multiSort: l,
519
- page: n
520
- } = e, r = (s) => {
521
- if (s.key == null) return;
522
- let o = t.value.map((m) => ({
523
- ...m
518
+ multiSort: n,
519
+ page: l
520
+ } = e, r = (o) => {
521
+ if (o.key == null) return;
522
+ let d = t.value.map((h) => ({
523
+ ...h
524
524
  })) ?? [];
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
- key: s.key,
525
+ const g = d.find((h) => h.key === o.key);
526
+ g ? g.order === "desc" ? a.value && d.length === 1 ? g.order = "asc" : d = d.filter((h) => h.key !== o.key) : g.order = "desc" : n.value ? d.push({
527
+ key: o.key,
528
528
  order: "asc"
529
- }) : o = [{
530
- key: s.key,
529
+ }) : d = [{
530
+ key: o.key,
531
531
  order: "asc"
532
- }], t.value = o, n && (n.value = 1);
532
+ }], t.value = d, l && (l.value = 1);
533
533
  };
534
- function i(s) {
535
- return !!t.value.find((o) => o.key === s.key);
534
+ function u(o) {
535
+ return !!t.value.find((d) => d.key === o.key);
536
536
  }
537
- const u = {
537
+ const c = {
538
538
  sortBy: t,
539
539
  toggleSort: r,
540
- isSorted: i
540
+ isSorted: u
541
541
  };
542
- return Y(rt, u), u;
542
+ return Y(rt, c), c;
543
543
  }
544
544
  function st() {
545
545
  const e = Q(rt);
546
546
  if (!e) throw new Error("Missing sort!");
547
547
  return e;
548
548
  }
549
- function Da(e, t, a, l) {
550
- const n = Z();
549
+ function Va(e, t, a, n) {
550
+ const l = Z();
551
551
  return {
552
- sortedItems: V(() => a.value.length ? Ta(t.value, a.value, n.current.value, {
553
- transform: l?.transform,
552
+ sortedItems: D(() => a.value.length ? Ta(t.value, a.value, l.current.value, {
553
+ transform: n?.transform,
554
554
  sortFunctions: {
555
555
  ...e.customKeySort,
556
- ...l?.sortFunctions?.value
556
+ ...n?.sortFunctions?.value
557
557
  },
558
- sortRawFunctions: l?.sortRawFunctions?.value
558
+ sortRawFunctions: n?.sortRawFunctions?.value
559
559
  }) : t.value)
560
560
  };
561
561
  }
562
- function Ta(e, t, a, l) {
563
- const n = new Intl.Collator(a, {
562
+ function Ta(e, t, a, n) {
563
+ const l = new Intl.Collator(a, {
564
564
  sensitivity: "accent",
565
565
  usage: "sort"
566
566
  });
567
- return e.map((i) => [i, l?.transform ? l.transform(i) : i]).sort((i, u) => {
568
- for (let s = 0; s < t.length; s++) {
569
- let o = !1;
570
- const c = t[s].key, m = t[s].order ?? "asc";
571
- if (m === !1) continue;
572
- let d = de(i[1], c), f = de(u[1], c), y = i[0].raw, b = u[0].raw;
573
- if (m === "desc" && ([d, f] = [f, d], [y, b] = [b, y]), l?.sortRawFunctions?.[c]) {
574
- const v = l.sortRawFunctions[c](y, b);
567
+ return e.map((u) => [u, n?.transform ? n.transform(u) : u]).sort((u, c) => {
568
+ for (let o = 0; o < t.length; o++) {
569
+ let d = !1;
570
+ const g = t[o].key, h = t[o].order ?? "asc";
571
+ if (h === !1) continue;
572
+ let s = de(u[1], g), i = de(c[1], g), b = u[0].raw, f = c[0].raw;
573
+ if (h === "desc" && ([s, i] = [i, s], [b, f] = [f, b]), n?.sortRawFunctions?.[g]) {
574
+ const v = n.sortRawFunctions[g](b, f);
575
575
  if (v == null) continue;
576
- if (o = !0, v) return v;
576
+ if (d = !0, v) return v;
577
577
  }
578
- if (l?.sortFunctions?.[c]) {
579
- const v = l.sortFunctions[c](d, f);
578
+ if (n?.sortFunctions?.[g]) {
579
+ const v = n.sortFunctions[g](s, i);
580
580
  if (v == null) continue;
581
- if (o = !0, v) return v;
581
+ if (d = !0, v) return v;
582
582
  }
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
- return se(d) && se(f) ? 0 : se(d) ? -1 : se(f) ? 1 : !isNaN(d) && !isNaN(f) ? Number(d) - Number(f) : n.compare(d, f);
583
+ if (!d && (s instanceof Date && i instanceof Date && (s = s.getTime(), i = i.getTime()), [s, i] = [s, i].map((v) => v != null ? v.toString().toLocaleLowerCase() : v), s !== i))
584
+ return se(s) && se(i) ? 0 : se(s) ? -1 : se(i) ? 1 : !isNaN(s) && !isNaN(i) ? Number(s) - Number(i) : l.compare(s, i);
585
585
  }
586
586
  return 0;
587
- }).map((i) => {
588
- let [u] = i;
589
- return u;
587
+ }).map((u) => {
588
+ let [c] = u;
589
+ return c;
590
590
  });
591
591
  }
592
592
  function Ca() {
593
593
  const e = j([]);
594
594
  Ct(() => e.value = []);
595
- function t(a, l) {
596
- e.value[l] = a;
595
+ function t(a, n) {
596
+ e.value[n] = a;
597
597
  }
598
598
  return {
599
599
  refs: e,
@@ -692,63 +692,63 @@ const _a = _({
692
692
  setup(e, t) {
693
693
  let {
694
694
  slots: a,
695
- emit: l
695
+ emit: n
696
696
  } = t;
697
- const n = J(e, "modelValue"), {
697
+ const l = J(e, "modelValue"), {
698
698
  t: r,
699
- n: i
699
+ n: u
700
700
  } = Z(), {
701
- isRtl: u
701
+ isRtl: c
702
702
  } = $t(), {
703
- themeClasses: s
703
+ themeClasses: o
704
704
  } = Ie(e), {
705
- width: o
706
- } = fe(), c = ue(-1);
705
+ width: d
706
+ } = fe(), g = ue(-1);
707
707
  Se(void 0, {
708
708
  scoped: !0
709
709
  });
710
710
  const {
711
- resizeRef: m
711
+ resizeRef: h
712
712
  } = Mt((p) => {
713
713
  if (!p.length) return;
714
714
  const {
715
715
  target: x,
716
- contentRect: g
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
- function b(p, x) {
723
- const g = e.showFirstLastPage ? 5 : 3;
716
+ contentRect: m
717
+ } = p[0], I = x.querySelector(".v-pagination__list > *");
718
+ if (!I) return;
719
+ const T = m.width, R = I.offsetWidth + parseFloat(getComputedStyle(I).marginRight) * 2;
720
+ g.value = f(T, R);
721
+ }), s = D(() => parseInt(e.length, 10)), i = D(() => parseInt(e.start, 10)), b = D(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : g.value >= 0 ? g.value : f(d.value, 58));
722
+ function f(p, x) {
723
+ const m = e.showFirstLastPage ? 5 : 3;
724
724
  return Math.max(0, Math.floor(
725
725
  // Round to two decimal places to avoid floating point errors
726
- Number(((p - x * g) / x).toFixed(2))
726
+ Number(((p - x * m) / x).toFixed(2))
727
727
  ));
728
728
  }
729
- const v = V(() => {
730
- if (d.value <= 0 || isNaN(d.value) || d.value > Number.MAX_SAFE_INTEGER) return [];
731
- if (y.value <= 0) return [];
732
- if (y.value === 1) return [n.value];
733
- if (d.value <= y.value)
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, k = d.value - x;
736
- if (g - n.value >= 0)
737
- return [...oe(Math.max(1, y.value - 1), f.value), e.ellipsis, d.value];
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)];
729
+ const v = D(() => {
730
+ if (s.value <= 0 || isNaN(s.value) || s.value > Number.MAX_SAFE_INTEGER) return [];
731
+ if (b.value <= 0) return [];
732
+ if (b.value === 1) return [l.value];
733
+ if (s.value <= b.value)
734
+ return oe(s.value, i.value);
735
+ const p = b.value % 2 === 0, x = p ? b.value / 2 : Math.floor(b.value / 2), m = p ? x : x + 1, I = s.value - x;
736
+ if (m - l.value >= 0)
737
+ return [...oe(Math.max(1, b.value - 1), i.value), e.ellipsis, s.value];
738
+ if (l.value - I >= (p ? 1 : 0)) {
739
+ const T = b.value - 1, R = s.value - T + i.value;
740
+ return [i.value, e.ellipsis, ...oe(T, R)];
741
741
  } else {
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];
742
+ const T = Math.max(1, b.value - 2), R = T === 1 ? l.value : l.value - Math.ceil(T / 2) + i.value;
743
+ return [i.value, e.ellipsis, ...oe(T, R), e.ellipsis, s.value];
744
744
  }
745
745
  });
746
- function F(p, x, g) {
747
- p.preventDefault(), n.value = x, g && l(g, x);
746
+ function k(p, x, m) {
747
+ p.preventDefault(), l.value = x, m && n(m, x);
748
748
  }
749
749
  const {
750
- refs: h,
751
- updateRef: I
750
+ refs: y,
751
+ updateRef: P
752
752
  } = Ca();
753
753
  Se({
754
754
  VPaginationBtn: {
@@ -761,65 +761,65 @@ const _a = _({
761
761
  elevation: C(() => e.elevation)
762
762
  }
763
763
  });
764
- const D = V(() => v.value.map((p, x) => {
765
- const g = (k) => I(k, x);
764
+ const V = D(() => v.value.map((p, x) => {
765
+ const m = (I) => P(I, x);
766
766
  if (typeof p == "string")
767
767
  return {
768
768
  isActive: !1,
769
769
  key: `ellipsis-${x}`,
770
770
  page: p,
771
771
  props: {
772
- ref: g,
772
+ ref: m,
773
773
  ellipsis: !0,
774
774
  icon: !0,
775
775
  disabled: !0
776
776
  }
777
777
  };
778
778
  {
779
- const k = p === n.value;
779
+ const I = p === l.value;
780
780
  return {
781
- isActive: k,
781
+ isActive: I,
782
782
  key: p,
783
- page: i(p),
783
+ page: u(p),
784
784
  props: {
785
- ref: g,
785
+ ref: m,
786
786
  ellipsis: !1,
787
787
  icon: !0,
788
788
  disabled: !!e.disabled || Number(e.length) < 2,
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)
789
+ color: I ? e.activeColor : e.color,
790
+ "aria-current": I,
791
+ "aria-label": r(I ? e.currentPageAriaLabel : e.pageAriaLabel, p),
792
+ onClick: (T) => k(T, p)
793
793
  }
794
794
  };
795
795
  }
796
- })), P = V(() => {
797
- const p = !!e.disabled || n.value <= f.value, x = !!e.disabled || n.value >= f.value + d.value - 1;
796
+ })), w = D(() => {
797
+ const p = !!e.disabled || l.value <= i.value, x = !!e.disabled || l.value >= i.value + s.value - 1;
798
798
  return {
799
799
  first: e.showFirstLastPage ? {
800
- icon: u.value ? e.lastIcon : e.firstIcon,
801
- onClick: (g) => F(g, f.value, "first"),
800
+ icon: c.value ? e.lastIcon : e.firstIcon,
801
+ onClick: (m) => k(m, i.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
- icon: u.value ? e.nextIcon : e.prevIcon,
808
- onClick: (g) => F(g, n.value - 1, "prev"),
807
+ icon: c.value ? e.nextIcon : e.prevIcon,
808
+ onClick: (m) => k(m, l.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
- icon: u.value ? e.prevIcon : e.nextIcon,
815
- onClick: (g) => F(g, n.value + 1, "next"),
814
+ icon: c.value ? e.prevIcon : e.nextIcon,
815
+ onClick: (m) => k(m, l.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
- icon: u.value ? e.firstIcon : e.lastIcon,
822
- onClick: (g) => F(g, f.value + d.value - 1, "last"),
821
+ icon: c.value ? e.firstIcon : e.lastIcon,
822
+ onClick: (m) => k(m, i.value + s.value - 1, "last"),
823
823
  disabled: x,
824
824
  "aria-label": r(e.lastAriaLabel),
825
825
  "aria-disabled": x
@@ -827,16 +827,16 @@ const _a = _({
827
827
  };
828
828
  });
829
829
  function L() {
830
- const p = n.value - f.value;
831
- h.value[p]?.$el.focus();
830
+ const p = l.value - i.value;
831
+ y.value[p]?.$el.focus();
832
832
  }
833
833
  function N(p) {
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));
834
+ p.key === Be.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1, Ce(L)) : p.key === Be.right && !e.disabled && l.value < i.value + s.value - 1 && (l.value = l.value + 1, Ce(L));
835
835
  }
836
- return K(() => w(e.tag, {
837
- ref: m,
838
- class: G(["v-pagination", s.value, e.class]),
839
- style: we(e.style),
836
+ return K(() => F(e.tag, {
837
+ ref: h,
838
+ class: G(["v-pagination", o.value, e.class]),
839
+ style: ke(e.style),
840
840
  role: "navigation",
841
841
  "aria-label": r(e.ariaLabel),
842
842
  onKeydown: N,
@@ -848,21 +848,21 @@ 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) : w(W, B({
851
+ }, [a.first ? a.first(w.value.first) : F(W, B({
852
852
  _as: "VPaginationBtn"
853
- }, P.value.first), null)]), S("li", {
853
+ }, w.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) : w(W, B({
857
+ }, [a.prev ? a.prev(w.value.prev) : F(W, B({
858
858
  _as: "VPaginationBtn"
859
- }, P.value.prev), null)]), D.value.map((p, x) => S("li", {
859
+ }, w.value.prev), null)]), V.value.map((p, x) => S("li", {
860
860
  key: p.key,
861
861
  class: G(["v-pagination__item", {
862
862
  "v-pagination__item--is-active": p.isActive
863
863
  }]),
864
864
  "data-test": "v-pagination-item"
865
- }, [a.item ? a.item(p) : w(W, B({
865
+ }, [a.item ? a.item(p) : F(W, B({
866
866
  _as: "VPaginationBtn"
867
867
  }, p.props), {
868
868
  default: () => [p.page]
@@ -870,15 +870,15 @@ 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) : w(W, B({
873
+ }, [a.next ? a.next(w.value.next) : F(W, B({
874
874
  _as: "VPaginationBtn"
875
- }, P.value.next), null)]), e.showFirstLastPage && S("li", {
875
+ }, w.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) : w(W, B({
879
+ }, [a.last ? a.last(w.value.last) : F(W, B({
880
880
  _as: "VPaginationBtn"
881
- }, P.value.last), null)])])]
881
+ }, w.value.last), null)])])]
882
882
  })), {};
883
883
  }
884
884
  }), ot = _({
@@ -950,44 +950,44 @@ const _a = _({
950
950
  slots: a
951
951
  } = t;
952
952
  const {
953
- t: l
953
+ t: n
954
954
  } = Z(), {
955
- page: n,
955
+ page: l,
956
956
  pageCount: r,
957
- startIndex: i,
958
- stopIndex: u,
959
- itemsLength: s,
960
- itemsPerPage: o,
961
- setItemsPerPage: c
962
- } = pa(), m = V(() => e.itemsPerPageOptions.map((d) => typeof d == "number" ? {
963
- value: d,
964
- title: d === -1 ? l("$vuetify.dataFooter.itemsPerPageAll") : String(d)
957
+ startIndex: u,
958
+ stopIndex: c,
959
+ itemsLength: o,
960
+ itemsPerPage: d,
961
+ setItemsPerPage: g
962
+ } = pa(), h = D(() => e.itemsPerPageOptions.map((s) => typeof s == "number" ? {
963
+ value: s,
964
+ title: s === -1 ? n("$vuetify.dataFooter.itemsPerPageAll") : String(s)
965
965
  } : {
966
- ...d,
967
- title: isNaN(Number(d.title)) ? l(d.title) : d.title
966
+ ...s,
967
+ title: isNaN(Number(s.title)) ? n(s.title) : s.title
968
968
  }));
969
969
  return K(() => {
970
- const d = Ae.filterProps(e);
970
+ const s = Ae.filterProps(e);
971
971
  return S("div", {
972
972
  class: "v-data-table-footer"
973
973
  }, [a.prepend?.(), S("div", {
974
974
  class: "v-data-table-footer__items-per-page"
975
975
  }, [S("span", {
976
- "aria-label": l(e.itemsPerPageText)
977
- }, [l(e.itemsPerPageText)]), w(Qe, {
978
- items: m.value,
979
- modelValue: o.value,
980
- "onUpdate:modelValue": (f) => c(Number(f)),
976
+ "aria-label": n(e.itemsPerPageText)
977
+ }, [n(e.itemsPerPageText)]), F(Qe, {
978
+ items: h.value,
979
+ modelValue: d.value,
980
+ "onUpdate:modelValue": (i) => g(Number(i)),
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 ? i.value + 1 : 0, u.value, s.value)])]), S("div", {
986
+ }, [S("div", null, [n(e.pageText, o.value ? u.value + 1 : 0, c.value, o.value)])]), S("div", {
987
987
  class: "v-data-table-footer__pagination"
988
- }, [w(Ae, B({
989
- modelValue: n.value,
990
- "onUpdate:modelValue": (f) => n.value = f,
988
+ }, [F(Ae, B({
989
+ modelValue: l.value,
990
+ "onUpdate:modelValue": (i) => l.value = i,
991
991
  density: "comfortable",
992
992
  firstAriaLabel: e.firstPageLabel,
993
993
  lastAriaLabel: e.lastPageLabel,
@@ -998,7 +998,7 @@ const _a = _({
998
998
  showFirstLastPage: !0,
999
999
  totalVisible: e.showCurrentPage ? 1 : 0,
1000
1000
  variant: "plain"
1001
- }, d), null)])]);
1001
+ }, s), null)])]);
1002
1002
  }), {};
1003
1003
  }
1004
1004
  }), te = Wt({
@@ -1026,11 +1026,11 @@ const _a = _({
1026
1026
  let {
1027
1027
  slots: a
1028
1028
  } = t;
1029
- const l = e.tag ?? "td", n = typeof e.fixed == "string" ? e.fixed : e.fixed ? "start" : "none";
1030
- return w(l, {
1029
+ const n = e.tag ?? "td", l = typeof e.fixed == "string" ? e.fixed : e.fixed ? "start" : "none";
1030
+ return F(n, {
1031
1031
  class: G(["v-data-table__td", {
1032
- "v-data-table-column--fixed": n === "start",
1033
- "v-data-table-column--fixed-end": n === "end",
1032
+ "v-data-table-column--fixed": l === "start",
1033
+ "v-data-table-column--fixed-end": l === "end",
1034
1034
  "v-data-table-column--last-fixed": e.lastFixed,
1035
1035
  "v-data-table-column--first-fixed-end": e.firstFixedEnd,
1036
1036
  "v-data-table-column--no-padding": e.noPadding,
@@ -1041,8 +1041,8 @@ const _a = _({
1041
1041
  height: A(e.height),
1042
1042
  width: A(e.width),
1043
1043
  maxWidth: A(e.maxWidth),
1044
- left: n === "start" ? A(e.fixedOffset || null) : void 0,
1045
- right: n === "end" ? A(e.fixedEndOffset || null) : void 0,
1044
+ left: l === "start" ? A(e.fixedOffset || null) : void 0,
1045
+ right: l === "end" ? A(e.fixedEndOffset || null) : void 0,
1046
1046
  paddingInlineStart: e.indent ? A(e.indent) : void 0
1047
1047
  }
1048
1048
  }, {
@@ -1063,40 +1063,40 @@ function La() {
1063
1063
  priority: 0
1064
1064
  }));
1065
1065
  return {
1066
- enqueue: (a, l) => {
1067
- let n = !1;
1066
+ enqueue: (a, n) => {
1067
+ let l = !1;
1068
1068
  for (let r = 0; r < t.length; r++)
1069
- if (t[r].priority > l) {
1069
+ if (t[r].priority > n) {
1070
1070
  t.splice(r, 0, {
1071
1071
  element: a,
1072
- priority: l
1073
- }), n = !0;
1072
+ priority: n
1073
+ }), l = !0;
1074
1074
  break;
1075
1075
  }
1076
- n || t.push({
1076
+ l || t.push({
1077
1077
  element: a,
1078
- priority: l
1078
+ priority: n
1079
1079
  });
1080
1080
  },
1081
1081
  size: () => t.length,
1082
1082
  count: () => {
1083
1083
  let a = 0;
1084
1084
  if (!t.length) return 0;
1085
- const l = Math.floor(t[0].priority);
1086
- for (let n = 0; n < t.length; n++)
1087
- Math.floor(t[n].priority) === l && (a += 1);
1085
+ const n = Math.floor(t[0].priority);
1086
+ for (let l = 0; l < t.length; l++)
1087
+ Math.floor(t[l].priority) === n && (a += 1);
1088
1088
  return a;
1089
1089
  },
1090
1090
  dequeue: () => t.shift()
1091
1091
  };
1092
1092
  }
1093
- function ke(e) {
1093
+ function we(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
- ke(a, t);
1099
+ we(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, i) {
1121
- let u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "none";
1120
+ function a(r, u) {
1121
+ let c = 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 === i)
1123
+ if (c !== "none" && (r.fixed = c), r.fixed === !0 && (r.fixed = "start"), r.fixed === u)
1124
1124
  if (r.children)
1125
- if (i === "start")
1126
- for (let s = r.children.length - 1; s >= 0; s--)
1127
- a(r.children[s], i, i);
1125
+ if (u === "start")
1126
+ for (let o = r.children.length - 1; o >= 0; o--)
1127
+ a(r.children[o], u, u);
1128
1128
  else
1129
- for (let s = 0; s < r.children.length; s++)
1130
- a(r.children[s], i, i);
1129
+ for (let o = 0; o < r.children.length; o++)
1130
+ a(r.children[o], u, u);
1131
1131
  else
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;
1132
+ !t && u === "start" ? r.lastFixed = !0 : !t && u === "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 (i === "start")
1135
- for (let s = r.children.length - 1; s >= 0; s--)
1136
- a(r.children[s], i);
1134
+ if (u === "start")
1135
+ for (let o = r.children.length - 1; o >= 0; o--)
1136
+ a(r.children[o], u);
1137
1137
  else
1138
- for (let s = 0; s < r.children.length; s++)
1139
- a(r.children[s], i);
1138
+ for (let o = 0; o < r.children.length; o++)
1139
+ a(r.children[o], u);
1140
1140
  else
1141
1141
  t = !1;
1142
1142
  }
@@ -1144,12 +1144,12 @@ function Ea(e) {
1144
1144
  a(e[r], "start");
1145
1145
  for (let r = 0; r < e.length; r++)
1146
1146
  a(e[r], "end");
1147
- let l = 0;
1148
- for (let r = 0; r < e.length; r++)
1149
- l = ct(e[r], l);
1150
1147
  let n = 0;
1148
+ for (let r = 0; r < e.length; r++)
1149
+ n = ct(e[r], n);
1150
+ let l = 0;
1151
1151
  for (let r = e.length - 1; r >= 0; r--)
1152
- n = ft(e[r], n);
1152
+ l = ft(e[r], l);
1153
1153
  }
1154
1154
  function ct(e) {
1155
1155
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
@@ -1173,83 +1173,83 @@ function ft(e) {
1173
1173
  }
1174
1174
  function Na(e, t) {
1175
1175
  const a = [];
1176
- let l = 0;
1177
- const n = La(e);
1178
- for (; n.size() > 0; ) {
1179
- let i = n.count();
1180
- const u = [];
1181
- let s = 1;
1182
- for (; i > 0; ) {
1176
+ let n = 0;
1177
+ const l = La(e);
1178
+ for (; l.size() > 0; ) {
1179
+ let u = l.count();
1180
+ const c = [];
1181
+ let o = 1;
1182
+ for (; u > 0; ) {
1183
1183
  const {
1184
- element: o,
1185
- priority: c
1186
- } = n.dequeue(), m = t - l - Te(o);
1187
- if (u.push({
1188
- ...o,
1189
- rowspan: m ?? 1,
1190
- colspan: o.children ? ke(o).length : 1
1191
- }), o.children)
1192
- for (const d of o.children) {
1193
- const f = c % 1 + s / Math.pow(10, l + 2);
1194
- n.enqueue(d, l + m + f);
1184
+ element: d,
1185
+ priority: g
1186
+ } = l.dequeue(), h = t - n - Te(d);
1187
+ if (c.push({
1188
+ ...d,
1189
+ rowspan: h ?? 1,
1190
+ colspan: d.children ? we(d).length : 1
1191
+ }), d.children)
1192
+ for (const s of d.children) {
1193
+ const i = g % 1 + o / Math.pow(10, n + 2);
1194
+ l.enqueue(s, n + h + i);
1195
1195
  }
1196
- s += 1, i -= 1;
1196
+ o += 1, u -= 1;
1197
1197
  }
1198
- l += 1, a.push(u);
1198
+ n += 1, a.push(c);
1199
1199
  }
1200
1200
  return {
1201
- columns: e.map((i) => ke(i)).flat(),
1201
+ columns: e.map((u) => we(u)).flat(),
1202
1202
  headers: a
1203
1203
  };
1204
1204
  }
1205
1205
  function vt(e) {
1206
1206
  const t = [];
1207
1207
  for (const a of e) {
1208
- const l = {
1208
+ const n = {
1209
1209
  ...Aa(a),
1210
1210
  ...a
1211
- }, n = l.key ?? (typeof l.value == "string" ? l.value : null), r = l.value ?? n ?? null, i = {
1212
- ...l,
1213
- key: n,
1211
+ }, l = n.key ?? (typeof n.value == "string" ? n.value : null), r = n.value ?? l ?? null, u = {
1212
+ ...n,
1213
+ key: l,
1214
1214
  value: r,
1215
- sortable: l.sortable ?? (l.key != null || !!l.sort),
1216
- children: l.children ? vt(l.children) : void 0
1215
+ sortable: n.sortable ?? (n.key != null || !!n.sort),
1216
+ children: n.children ? vt(n.children) : void 0
1217
1217
  };
1218
- t.push(i);
1218
+ t.push(u);
1219
1219
  }
1220
1220
  return t;
1221
1221
  }
1222
1222
  function Ra(e, t) {
1223
- const a = j([]), l = j([]), n = j({}), r = j({}), i = j({});
1223
+ const a = j([]), n = j([]), l = j({}), r = j({}), u = j({});
1224
1224
  je(() => {
1225
- const o = (e.headers || Object.keys(e.items[0] ?? {}).map((b) => ({
1226
- key: b,
1227
- title: _t(b)
1228
- }))).slice(), c = dt(o);
1229
- t?.groupBy?.value.length && !c.has("data-table-group") && o.unshift({
1225
+ const d = (e.headers || Object.keys(e.items[0] ?? {}).map((f) => ({
1226
+ key: f,
1227
+ title: _t(f)
1228
+ }))).slice(), g = dt(d);
1229
+ t?.groupBy?.value.length && !g.has("data-table-group") && d.unshift({
1230
1230
  key: "data-table-group",
1231
1231
  title: "Group"
1232
- }), t?.showSelect?.value && !c.has("data-table-select") && o.unshift({
1232
+ }), t?.showSelect?.value && !g.has("data-table-select") && d.unshift({
1233
1233
  key: "data-table-select"
1234
- }), t?.showExpand?.value && !c.has("data-table-expand") && o.push({
1234
+ }), t?.showExpand?.value && !g.has("data-table-expand") && d.push({
1235
1235
  key: "data-table-expand"
1236
1236
  });
1237
- const m = vt(o);
1238
- Ea(m);
1239
- const d = Math.max(...m.map((b) => Te(b))) + 1, f = Na(m, d);
1240
- a.value = f.headers, l.value = f.columns;
1241
- const y = f.headers.flat(1);
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 && (i.value[b.key] = b.filter));
1237
+ const h = vt(d);
1238
+ Ea(h);
1239
+ const s = Math.max(...h.map((f) => Te(f))) + 1, i = Na(h, s);
1240
+ a.value = i.headers, n.value = i.columns;
1241
+ const b = i.headers.flat(1);
1242
+ for (const f of b)
1243
+ f.key && (f.sortable && (f.sort && (l.value[f.key] = f.sort), f.sortRaw && (r.value[f.key] = f.sortRaw)), f.filter && (u.value[f.key] = f.filter));
1244
1244
  });
1245
- const u = {
1245
+ const c = {
1246
1246
  headers: a,
1247
- columns: l,
1248
- sortFunctions: n,
1247
+ columns: n,
1248
+ sortFunctions: l,
1249
1249
  sortRawFunctions: r,
1250
- filterFunctions: i
1250
+ filterFunctions: u
1251
1251
  };
1252
- return Y(it, u), u;
1252
+ return Y(it, c), c;
1253
1253
  }
1254
1254
  function ge() {
1255
1255
  const e = Q(it);
@@ -1275,7 +1275,7 @@ const gt = _({
1275
1275
  /** @deprecated */
1276
1276
  sticky: Boolean,
1277
1277
  ...ae(),
1278
- ...Ve(),
1278
+ ...De(),
1279
1279
  ...Qt()
1280
1280
  }, "VDataTableHeaders"), Ne = $()({
1281
1281
  name: "VDataTableHeaders",
@@ -1285,168 +1285,168 @@ const gt = _({
1285
1285
  slots: a
1286
1286
  } = t;
1287
1287
  const {
1288
- t: l
1288
+ t: n
1289
1289
  } = Z(), {
1290
- toggleSort: n,
1290
+ toggleSort: l,
1291
1291
  sortBy: r,
1292
- isSorted: i
1292
+ isSorted: u
1293
1293
  } = st(), {
1294
- someSelected: u,
1295
- allSelected: s,
1296
- selectAll: o,
1297
- showSelectAll: c
1294
+ someSelected: c,
1295
+ allSelected: o,
1296
+ selectAll: d,
1297
+ showSelectAll: g
1298
1298
  } = ve(), {
1299
- columns: m,
1300
- headers: d
1299
+ columns: h,
1300
+ headers: s
1301
1301
  } = ge(), {
1302
- loaderClasses: f
1302
+ loaderClasses: i
1303
1303
  } = Ut(e);
1304
- function y(x, g) {
1304
+ function b(x, m) {
1305
1305
  if (!(e.sticky || e.fixedHeader) && !x.fixed) return;
1306
- const k = typeof x.fixed == "string" ? x.fixed : x.fixed ? "start" : "none";
1306
+ const I = typeof x.fixed == "string" ? x.fixed : x.fixed ? "start" : "none";
1307
1307
  return {
1308
1308
  position: "sticky",
1309
- left: k === "start" ? A(x.fixedOffset) : void 0,
1310
- right: k === "end" ? A(x.fixedEndOffset) : void 0,
1311
- top: e.sticky || e.fixedHeader ? `calc(var(--v-table-header-height) * ${g})` : void 0
1309
+ left: I === "start" ? A(x.fixedOffset) : void 0,
1310
+ right: I === "end" ? A(x.fixedEndOffset) : void 0,
1311
+ top: e.sticky || e.fixedHeader ? `calc(var(--v-table-header-height) * ${m})` : void 0
1312
1312
  };
1313
1313
  }
1314
- function b(x, g) {
1315
- x.key === "Enter" && !e.disableSort && n(g);
1314
+ function f(x, m) {
1315
+ x.key === "Enter" && !e.disableSort && l(m);
1316
1316
  }
1317
1317
  function v(x) {
1318
- const g = r.value.find((k) => k.key === x.key);
1319
- return g ? g.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
1318
+ const m = r.value.find((I) => I.key === x.key);
1319
+ return m ? m.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
1320
1320
  }
1321
1321
  const {
1322
- backgroundColorClasses: F,
1323
- backgroundColorStyles: h
1322
+ backgroundColorClasses: k,
1323
+ backgroundColorStyles: y
1324
1324
  } = Je(() => e.color), {
1325
- displayClasses: I,
1326
- mobile: D
1327
- } = fe(e), P = V(() => ({
1328
- headers: d.value,
1329
- columns: m.value,
1330
- toggleSort: n,
1331
- isSorted: i,
1325
+ displayClasses: P,
1326
+ mobile: V
1327
+ } = fe(e), w = D(() => ({
1328
+ headers: s.value,
1329
+ columns: h.value,
1330
+ toggleSort: l,
1331
+ isSorted: u,
1332
1332
  sortBy: r.value,
1333
- someSelected: u.value,
1334
- allSelected: s.value,
1335
- selectAll: o,
1333
+ someSelected: c.value,
1334
+ allSelected: o.value,
1335
+ selectAll: d,
1336
1336
  getSortIcon: v
1337
- })), L = V(() => ["v-data-table__th", {
1337
+ })), L = D(() => ["v-data-table__th", {
1338
1338
  "v-data-table__th--sticky": e.sticky || e.fixedHeader
1339
- }, I.value, f.value]), N = (x) => {
1339
+ }, P.value, i.value]), N = (x) => {
1340
1340
  let {
1341
- column: g,
1342
- x: k,
1341
+ column: m,
1342
+ x: I,
1343
1343
  y: T
1344
1344
  } = x;
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({
1345
+ const R = m.key === "data-table-select" || m.key === "data-table-expand", ne = m.key === "data-table-group" && m.width === 0 && !m.title, be = B(e.headerProps ?? {}, m.headerProps ?? {});
1346
+ return F(te, B({
1347
1347
  tag: "th",
1348
- align: g.align,
1348
+ align: m.align,
1349
1349
  class: [{
1350
- "v-data-table__th--sortable": g.sortable && !e.disableSort,
1351
- "v-data-table__th--sorted": i(g),
1352
- "v-data-table__th--fixed": g.fixed
1350
+ "v-data-table__th--sortable": m.sortable && !e.disableSort,
1351
+ "v-data-table__th--sorted": u(m),
1352
+ "v-data-table__th--fixed": m.fixed
1353
1353
  }, ...L.value],
1354
1354
  style: {
1355
- width: A(g.width),
1356
- minWidth: A(g.minWidth),
1357
- maxWidth: A(g.maxWidth),
1358
- ...y(g, T)
1355
+ width: A(m.width),
1356
+ minWidth: A(m.minWidth),
1357
+ maxWidth: A(m.maxWidth),
1358
+ ...b(m, T)
1359
1359
  },
1360
- colspan: g.colspan,
1361
- rowspan: g.rowspan,
1362
- fixed: g.fixed,
1363
- nowrap: g.nowrap,
1364
- lastFixed: g.lastFixed,
1365
- firstFixedEnd: g.firstFixedEnd,
1360
+ colspan: m.colspan,
1361
+ rowspan: m.rowspan,
1362
+ fixed: m.fixed,
1363
+ nowrap: m.nowrap,
1364
+ lastFixed: m.lastFixed,
1365
+ firstFixedEnd: m.firstFixedEnd,
1366
1366
  noPadding: R,
1367
- empty: le,
1368
- tabindex: g.sortable ? 0 : void 0,
1369
- onClick: g.sortable ? () => n(g) : void 0,
1370
- onKeydown: g.sortable ? (M) => b(M, g) : void 0
1367
+ empty: ne,
1368
+ tabindex: m.sortable ? 0 : void 0,
1369
+ onClick: m.sortable ? () => l(m) : void 0,
1370
+ onKeydown: m.sortable ? (M) => f(M, m) : void 0
1371
1371
  }, be), {
1372
1372
  default: () => {
1373
- const M = `header.${g.key}`, X = {
1374
- column: g,
1375
- selectAll: o,
1376
- isSorted: i,
1377
- toggleSort: n,
1373
+ const M = `header.${m.key}`, X = {
1374
+ column: m,
1375
+ selectAll: d,
1376
+ isSorted: u,
1377
+ toggleSort: l,
1378
1378
  sortBy: r.value,
1379
- someSelected: u.value,
1380
- allSelected: s.value,
1379
+ someSelected: c.value,
1380
+ allSelected: o.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 && w(De, {
1383
+ return a[M] ? a[M](X) : ne ? "" : m.key === "data-table-select" ? a["header.data-table-select"]?.(X) ?? (g.value && F(Ve, {
1384
1384
  density: e.density,
1385
- modelValue: s.value,
1386
- indeterminate: u.value && !s.value,
1387
- "onUpdate:modelValue": o
1385
+ modelValue: o.value,
1386
+ indeterminate: c.value && !o.value,
1387
+ "onUpdate:modelValue": d
1388
1388
  }, null)) : S("div", {
1389
1389
  class: "v-data-table-header__content"
1390
- }, [S("span", null, [g.title]), g.sortable && !e.disableSort && w(Oe, {
1390
+ }, [S("span", null, [m.title]), m.sortable && !e.disableSort && F(Oe, {
1391
1391
  key: "icon",
1392
1392
  class: "v-data-table-header__sort-icon",
1393
- icon: v(g)
1394
- }, null), e.multiSort && i(g) && S("div", {
1393
+ icon: v(m)
1394
+ }, null), e.multiSort && u(m) && S("div", {
1395
1395
  key: "badge",
1396
- class: G(["v-data-table-header__sort-badge", ...F.value]),
1397
- style: we(h.value)
1398
- }, [r.value.findIndex((he) => he.key === g.key) + 1])]);
1396
+ class: G(["v-data-table-header__sort-badge", ...k.value]),
1397
+ style: ke(y.value)
1398
+ }, [r.value.findIndex((he) => he.key === m.key) + 1])]);
1399
1399
  }
1400
1400
  });
1401
1401
  }, p = () => {
1402
- const x = V(() => m.value.filter((k) => k?.sortable && !e.disableSort)), g = V(() => {
1403
- if (m.value.find((T) => T.key === "data-table-select") != null)
1404
- return s.value ? "$checkboxOn" : u.value ? "$checkboxIndeterminate" : "$checkboxOff";
1402
+ const x = D(() => h.value.filter((I) => I?.sortable && !e.disableSort)), m = D(() => {
1403
+ if (h.value.find((T) => T.key === "data-table-select") != null)
1404
+ return o.value ? "$checkboxOn" : c.value ? "$checkboxIndeterminate" : "$checkboxOff";
1405
1405
  });
1406
- return w(te, B({
1406
+ return F(te, B({
1407
1407
  tag: "th",
1408
1408
  class: [...L.value],
1409
- colspan: d.value.length + 1
1409
+ colspan: s.value.length + 1
1410
1410
  }, e.headerProps), {
1411
1411
  default: () => [S("div", {
1412
1412
  class: "v-data-table-header__content"
1413
- }, [w(Qe, {
1413
+ }, [F(Qe, {
1414
1414
  chips: !0,
1415
1415
  class: "v-data-table__td-sort-select",
1416
1416
  clearable: !0,
1417
1417
  density: "default",
1418
1418
  items: x.value,
1419
- label: l("$vuetify.dataTable.sortBy"),
1419
+ label: n("$vuetify.dataTable.sortBy"),
1420
1420
  multiple: e.multiSort,
1421
1421
  variant: "underlined",
1422
1422
  "onClick:clear": () => r.value = [],
1423
- appendIcon: g.value,
1424
- "onClick:append": () => o(!s.value)
1423
+ appendIcon: m.value,
1424
+ "onClick:append": () => d(!o.value)
1425
1425
  }, {
1426
- chip: (k) => w(ta, {
1427
- onClick: k.item.raw?.sortable ? () => n(k.item.raw) : void 0,
1426
+ chip: (I) => F(ta, {
1427
+ onClick: I.item.raw?.sortable ? () => l(I.item.raw) : void 0,
1428
1428
  onMousedown: (T) => {
1429
1429
  T.preventDefault(), T.stopPropagation();
1430
1430
  }
1431
1431
  }, {
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),
1432
+ default: () => [I.item.title, F(Oe, {
1433
+ class: G(["v-data-table__td-sort-icon", u(I.item.raw) && "v-data-table__td-sort-icon-active"]),
1434
+ icon: v(I.item.raw),
1435
1435
  size: "small"
1436
1436
  }, null)]
1437
1437
  })
1438
1438
  })])]
1439
1439
  });
1440
1440
  };
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,
1441
+ K(() => V.value ? S("tr", null, [F(p, null, null)]) : S(U, null, [a.headers ? a.headers(w.value) : s.value.map((x, m) => S("tr", null, [x.map((I, T) => F(N, {
1442
+ column: I,
1443
1443
  x: T,
1444
- y: g
1444
+ y: m
1445
1445
  }, null))])), e.loading && S("tr", {
1446
1446
  class: "v-data-table-progress"
1447
1447
  }, [S("th", {
1448
- colspan: m.value.length
1449
- }, [w(Jt, {
1448
+ colspan: h.value.length
1449
+ }, [F(Jt, {
1450
1450
  name: "v-data-table-progress",
1451
1451
  absolute: !0,
1452
1452
  active: !0,
@@ -1478,59 +1478,59 @@ const gt = _({
1478
1478
  slots: a
1479
1479
  } = t;
1480
1480
  const {
1481
- isGroupOpen: l,
1482
- toggleGroup: n,
1481
+ isGroupOpen: n,
1482
+ toggleGroup: l,
1483
1483
  extractRows: r
1484
1484
  } = qe(), {
1485
- isSelected: i,
1486
- isSomeSelected: u,
1487
- select: s
1485
+ isSelected: u,
1486
+ isSomeSelected: c,
1487
+ select: o
1488
1488
  } = ve(), {
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));
1489
+ columns: d
1490
+ } = ge(), g = D(() => r([e.item])), h = C(() => d.value.length - (d.value.some((s) => s.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
- }, [o.value.map((d) => {
1497
- if (d.key === "data-table-group") {
1498
- const f = l(e.item) ? e.groupCollapseIcon : e.groupExpandIcon, y = () => n(e.item);
1496
+ }, [d.value.map((s) => {
1497
+ if (s.key === "data-table-group") {
1498
+ const i = n(e.item) ? e.groupCollapseIcon : e.groupExpandIcon, b = () => l(e.item);
1499
1499
  return a["data-table-group"]?.({
1500
1500
  item: e.item,
1501
- count: c.value.length,
1501
+ count: g.value.length,
1502
1502
  props: {
1503
- icon: f,
1504
- onClick: y
1503
+ icon: i,
1504
+ onClick: b
1505
1505
  }
1506
- }) ?? w(te, {
1506
+ }) ?? F(te, {
1507
1507
  class: "v-data-table-group-header-row__column",
1508
- colspan: m.value
1508
+ colspan: h.value
1509
1509
  }, {
1510
- default: () => [w(W, {
1510
+ default: () => [F(W, {
1511
1511
  size: "small",
1512
1512
  variant: "text",
1513
- icon: f,
1514
- onClick: y
1515
- }, null), S("span", null, [e.item.value]), S("span", null, [_e("("), c.value.length, _e(")")])]
1513
+ icon: i,
1514
+ onClick: b
1515
+ }, null), S("span", null, [e.item.value]), S("span", null, [_e("("), g.value.length, _e(")")])]
1516
1516
  });
1517
- } else if (d.key === "data-table-select") {
1518
- const f = i(c.value), y = u(c.value) && !f, b = (v) => s(c.value, v);
1517
+ } else if (s.key === "data-table-select") {
1518
+ const i = u(g.value), b = c(g.value) && !i, f = (v) => o(g.value, v);
1519
1519
  return a["data-table-select"]?.({
1520
1520
  props: {
1521
- modelValue: f,
1522
- indeterminate: y,
1523
- "onUpdate:modelValue": b
1521
+ modelValue: i,
1522
+ indeterminate: b,
1523
+ "onUpdate:modelValue": f
1524
1524
  }
1525
- }) ?? w(te, {
1525
+ }) ?? F(te, {
1526
1526
  class: "v-data-table__td--select-row",
1527
1527
  noPadding: !0
1528
1528
  }, {
1529
- default: () => [w(De, {
1529
+ default: () => [F(Ve, {
1530
1530
  density: e.density,
1531
- modelValue: f,
1532
- indeterminate: y,
1533
- "onUpdate:modelValue": b
1531
+ modelValue: i,
1532
+ indeterminate: b,
1533
+ "onUpdate:modelValue": f
1534
1534
  }, null)]
1535
1535
  });
1536
1536
  }
@@ -1553,7 +1553,7 @@ const gt = _({
1553
1553
  onContextmenu: pe(),
1554
1554
  onDblclick: pe(),
1555
1555
  ...ae(),
1556
- ...Ve()
1556
+ ...De()
1557
1557
  }, "VDataTableRow"), Ma = $()({
1558
1558
  name: "VDataTableRow",
1559
1559
  props: bt(),
@@ -1562,64 +1562,64 @@ const gt = _({
1562
1562
  slots: a
1563
1563
  } = t;
1564
1564
  const {
1565
- displayClasses: l,
1566
- mobile: n
1565
+ displayClasses: n,
1566
+ mobile: l
1567
1567
  } = fe(e, "v-data-table__tr"), {
1568
1568
  isSelected: r,
1569
- toggleSelect: i,
1570
- someSelected: u,
1571
- allSelected: s,
1572
- selectAll: o
1569
+ toggleSelect: u,
1570
+ someSelected: c,
1571
+ allSelected: o,
1572
+ selectAll: d
1573
1573
  } = ve(), {
1574
- isExpanded: c,
1575
- toggleExpand: m
1574
+ isExpanded: g,
1575
+ toggleExpand: h
1576
1576
  } = Ye(), {
1577
- toggleSort: d,
1578
- sortBy: f,
1579
- isSorted: y
1577
+ toggleSort: s,
1578
+ sortBy: i,
1579
+ isSorted: b
1580
1580
  } = st(), {
1581
- columns: b
1581
+ columns: f
1582
1582
  } = ge();
1583
1583
  K(() => S("tr", {
1584
1584
  class: G(["v-data-table__tr", {
1585
1585
  "v-data-table__tr--clickable": !!(e.onClick || e.onContextmenu || e.onDblclick)
1586
- }, l.value]),
1586
+ }, n.value]),
1587
1587
  onClick: e.onClick,
1588
1588
  onContextmenu: e.onContextmenu,
1589
1589
  onDblclick: e.onDblclick
1590
- }, [e.item && b.value.map((v, F) => {
1591
- const h = e.item, I = `item.${v.key}`, D = `header.${v.key}`, P = {
1590
+ }, [e.item && f.value.map((v, k) => {
1591
+ const y = e.item, P = `item.${v.key}`, V = `header.${v.key}`, w = {
1592
1592
  index: e.index,
1593
- item: h.raw,
1594
- internalItem: h,
1595
- value: de(h.columns, v.key),
1593
+ item: y.raw,
1594
+ internalItem: y,
1595
+ value: de(y.columns, v.key),
1596
1596
  column: v,
1597
1597
  isSelected: r,
1598
- toggleSelect: i,
1599
- isExpanded: c,
1600
- toggleExpand: m
1598
+ toggleSelect: u,
1599
+ isExpanded: g,
1600
+ toggleExpand: h
1601
1601
  }, L = {
1602
1602
  column: v,
1603
- selectAll: o,
1604
- isSorted: y,
1605
- toggleSort: d,
1606
- sortBy: f.value,
1607
- someSelected: u.value,
1608
- allSelected: s.value,
1603
+ selectAll: d,
1604
+ isSorted: b,
1605
+ toggleSort: s,
1606
+ sortBy: i.value,
1607
+ someSelected: c.value,
1608
+ allSelected: o.value,
1609
1609
  getSortIcon: () => ""
1610
1610
  }, N = typeof e.cellProps == "function" ? e.cellProps({
1611
- index: P.index,
1612
- item: P.item,
1613
- internalItem: P.internalItem,
1614
- value: P.value,
1611
+ index: w.index,
1612
+ item: w.item,
1613
+ internalItem: w.internalItem,
1614
+ value: w.value,
1615
1615
  column: v
1616
1616
  }) : e.cellProps, p = typeof v.cellProps == "function" ? v.cellProps({
1617
- index: P.index,
1618
- item: P.item,
1619
- internalItem: P.internalItem,
1620
- value: P.value
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 w(te, B({
1617
+ index: w.index,
1618
+ item: w.item,
1619
+ internalItem: w.internalItem,
1620
+ value: w.value
1621
+ }) : v.cellProps, x = v.key === "data-table-select" || v.key === "data-table-expand", m = v.key === "data-table-group" && v.width === 0 && !v.title;
1622
+ return F(te, B({
1623
1623
  align: v.align,
1624
1624
  indent: v.intent,
1625
1625
  class: {
@@ -1631,49 +1631,49 @@ const gt = _({
1631
1631
  fixedEndOffset: v.fixedEndOffset,
1632
1632
  lastFixed: v.lastFixed,
1633
1633
  firstFixedEnd: v.firstFixedEnd,
1634
- maxWidth: n.value ? void 0 : v.maxWidth,
1634
+ maxWidth: l.value ? void 0 : v.maxWidth,
1635
1635
  noPadding: x,
1636
- empty: g,
1636
+ empty: m,
1637
1637
  nowrap: v.nowrap,
1638
- width: n.value ? void 0 : v.width
1638
+ width: l.value ? void 0 : v.width
1639
1639
  }, N, p), {
1640
1640
  default: () => {
1641
1641
  if (v.key === "data-table-select")
1642
1642
  return a["item.data-table-select"]?.({
1643
- ...P,
1643
+ ...w,
1644
1644
  props: {
1645
- disabled: !h.selectable,
1646
- modelValue: r([h]),
1647
- onClick: re(() => i(h), ["stop"])
1645
+ disabled: !y.selectable,
1646
+ modelValue: r([y]),
1647
+ onClick: re(() => u(y), ["stop"])
1648
1648
  }
1649
- }) ?? w(De, {
1650
- disabled: !h.selectable,
1649
+ }) ?? F(Ve, {
1650
+ disabled: !y.selectable,
1651
1651
  density: e.density,
1652
- modelValue: r([h]),
1653
- onClick: re((T) => i(h, e.index, T), ["stop"])
1652
+ modelValue: r([y]),
1653
+ onClick: re((T) => u(y, e.index, T), ["stop"])
1654
1654
  }, null);
1655
1655
  if (v.key === "data-table-expand")
1656
1656
  return a["item.data-table-expand"]?.({
1657
- ...P,
1657
+ ...w,
1658
1658
  props: {
1659
- icon: c(h) ? e.collapseIcon : e.expandIcon,
1659
+ icon: g(y) ? e.collapseIcon : e.expandIcon,
1660
1660
  size: "small",
1661
1661
  variant: "text",
1662
- onClick: re(() => m(h), ["stop"])
1662
+ onClick: re(() => h(y), ["stop"])
1663
1663
  }
1664
- }) ?? w(W, {
1665
- icon: c(h) ? e.collapseIcon : e.expandIcon,
1664
+ }) ?? F(W, {
1665
+ icon: g(y) ? e.collapseIcon : e.expandIcon,
1666
1666
  size: "small",
1667
1667
  variant: "text",
1668
- onClick: re(() => m(h), ["stop"])
1668
+ onClick: re(() => h(y), ["stop"])
1669
1669
  }, null);
1670
- if (a[I] && !n.value) return a[I](P);
1671
- const k = Bt(P.value);
1672
- return n.value ? S(U, null, [S("div", {
1670
+ if (a[P] && !l.value) return a[P](w);
1671
+ const I = Bt(w.value);
1672
+ return l.value ? S(U, null, [S("div", {
1673
1673
  class: "v-data-table__td-title"
1674
- }, [a[D]?.(L) ?? v.title]), S("div", {
1674
+ }, [a[V]?.(L) ?? v.title]), S("div", {
1675
1675
  class: "v-data-table__td-value"
1676
- }, [a[I]?.(P) ?? k])]) : k;
1676
+ }, [a[P]?.(w) ?? I])]) : I;
1677
1677
  }
1678
1678
  });
1679
1679
  })]));
@@ -1697,7 +1697,7 @@ const gt = _({
1697
1697
  cellProps: [Object, Function],
1698
1698
  ...Pe(bt(), ["collapseIcon", "expandIcon", "density"]),
1699
1699
  ...Pe(mt(), ["groupCollapseIcon", "groupExpandIcon", "density"]),
1700
- ...Ve()
1700
+ ...De()
1701
1701
  }, "VDataTableRows"), Re = $()({
1702
1702
  name: "VDataTableRows",
1703
1703
  inheritAttrs: !1,
@@ -1705,96 +1705,96 @@ const gt = _({
1705
1705
  setup(e, t) {
1706
1706
  let {
1707
1707
  attrs: a,
1708
- slots: l
1708
+ slots: n
1709
1709
  } = t;
1710
1710
  const {
1711
- columns: n
1711
+ columns: l
1712
1712
  } = ge(), {
1713
1713
  expandOnClick: r,
1714
- toggleExpand: i,
1715
- isExpanded: u
1714
+ toggleExpand: u,
1715
+ isExpanded: c
1716
1716
  } = Ye(), {
1717
- isSelected: s,
1718
- toggleSelect: o
1717
+ isSelected: o,
1718
+ toggleSelect: d
1719
1719
  } = ve(), {
1720
- toggleGroup: c,
1721
- isGroupOpen: m
1720
+ toggleGroup: g,
1721
+ isGroupOpen: h
1722
1722
  } = qe(), {
1723
- t: d
1723
+ t: s
1724
1724
  } = Z(), {
1725
- mobile: f
1725
+ mobile: i
1726
1726
  } = fe(e);
1727
1727
  return K(() => {
1728
- const y = Pe(e, ["groupCollapseIcon", "groupExpandIcon", "density"]);
1729
- return e.loading && (!e.items.length || l.loading) ? S("tr", {
1728
+ const b = Pe(e, ["groupCollapseIcon", "groupExpandIcon", "density"]);
1729
+ return e.loading && (!e.items.length || n.loading) ? S("tr", {
1730
1730
  class: "v-data-table-rows-loading",
1731
1731
  key: "loading"
1732
1732
  }, [S("td", {
1733
- colspan: n.value.length
1734
- }, [l.loading?.() ?? d(e.loadingText)])]) : !e.loading && !e.items.length && !e.hideNoData ? S("tr", {
1733
+ colspan: l.value.length
1734
+ }, [n.loading?.() ?? s(e.loadingText)])]) : !e.loading && !e.items.length && !e.hideNoData ? S("tr", {
1735
1735
  class: "v-data-table-rows-no-data",
1736
1736
  key: "no-data"
1737
1737
  }, [S("td", {
1738
- colspan: n.value.length
1739
- }, [l["no-data"]?.() ?? d(e.noDataText)])]) : S(U, null, [e.items.map((b, v) => {
1740
- if (b.type === "group") {
1741
- const I = {
1738
+ colspan: l.value.length
1739
+ }, [n["no-data"]?.() ?? s(e.noDataText)])]) : S(U, null, [e.items.map((f, v) => {
1740
+ if (f.type === "group") {
1741
+ const P = {
1742
1742
  index: v,
1743
- item: b,
1744
- columns: n.value,
1745
- isExpanded: u,
1746
- toggleExpand: i,
1747
- isSelected: s,
1748
- toggleSelect: o,
1749
- toggleGroup: c,
1750
- isGroupOpen: m
1743
+ item: f,
1744
+ columns: l.value,
1745
+ isExpanded: c,
1746
+ toggleExpand: u,
1747
+ isSelected: o,
1748
+ toggleSelect: d,
1749
+ toggleGroup: g,
1750
+ isGroupOpen: h
1751
1751
  };
1752
- return l["group-header"] ? l["group-header"](I) : w($a, B({
1753
- key: `group-header_${b.id}`,
1754
- item: b
1755
- }, Le(a, ":groupHeader", () => I), y), l);
1752
+ return n["group-header"] ? n["group-header"](P) : F($a, B({
1753
+ key: `group-header_${f.id}`,
1754
+ item: f
1755
+ }, Le(a, ":groupHeader", () => P), b), n);
1756
1756
  }
1757
- if (b.type === "group-summary") {
1758
- const I = {
1757
+ if (f.type === "group-summary") {
1758
+ const P = {
1759
1759
  index: v,
1760
- item: b,
1761
- columns: n.value,
1762
- toggleGroup: c
1760
+ item: f,
1761
+ columns: l.value,
1762
+ toggleGroup: g
1763
1763
  };
1764
- return l["group-summary"]?.(I) ?? "";
1764
+ return n["group-summary"]?.(P) ?? "";
1765
1765
  }
1766
- const F = {
1766
+ const k = {
1767
1767
  index: v,
1768
- item: b.raw,
1769
- internalItem: b,
1770
- columns: n.value,
1771
- isExpanded: u,
1772
- toggleExpand: i,
1773
- isSelected: s,
1774
- toggleSelect: o
1775
- }, h = {
1776
- ...F,
1768
+ item: f.raw,
1769
+ internalItem: f,
1770
+ columns: l.value,
1771
+ isExpanded: c,
1772
+ toggleExpand: u,
1773
+ isSelected: o,
1774
+ toggleSelect: d
1775
+ }, y = {
1776
+ ...k,
1777
1777
  props: B({
1778
- key: `item_${b.key ?? b.index}`,
1778
+ key: `item_${f.key ?? f.index}`,
1779
1779
  onClick: r.value ? () => {
1780
- i(b);
1780
+ u(f);
1781
1781
  } : void 0,
1782
1782
  index: v,
1783
- item: b,
1783
+ item: f,
1784
1784
  cellProps: e.cellProps,
1785
1785
  collapseIcon: e.collapseIcon,
1786
1786
  expandIcon: e.expandIcon,
1787
1787
  density: e.density,
1788
- mobile: f.value
1789
- }, Le(a, ":row", () => F), typeof e.rowProps == "function" ? e.rowProps({
1790
- item: F.item,
1791
- index: F.index,
1792
- internalItem: F.internalItem
1788
+ mobile: i.value
1789
+ }, Le(a, ":row", () => k), typeof e.rowProps == "function" ? e.rowProps({
1790
+ item: k.item,
1791
+ index: k.index,
1792
+ internalItem: k.internalItem
1793
1793
  }) : e.rowProps)
1794
1794
  };
1795
1795
  return S(U, {
1796
- key: h.props.key
1797
- }, [l.item ? l.item(h) : w(Ma, h.props, l), u(b) && l["expanded-row"]?.(F)]);
1796
+ key: y.props.key
1797
+ }, [n.item ? n.item(y) : F(Ma, y.props, n), c(f) && n["expanded-row"]?.(k)]);
1798
1798
  })]);
1799
1799
  }), {};
1800
1800
  }
@@ -1818,14 +1818,14 @@ const gt = _({
1818
1818
  setup(e, t) {
1819
1819
  let {
1820
1820
  slots: a,
1821
- emit: l
1821
+ emit: n
1822
1822
  } = t;
1823
1823
  const {
1824
- themeClasses: n
1824
+ themeClasses: l
1825
1825
  } = Ie(e), {
1826
1826
  densityClasses: r
1827
1827
  } = Xt(e);
1828
- return K(() => w(e.tag, {
1828
+ return K(() => F(e.tag, {
1829
1829
  class: G(["v-table", {
1830
1830
  "v-table--fixed-height": !!e.height,
1831
1831
  "v-table--fixed-header": e.fixedHeader,
@@ -1835,8 +1835,8 @@ const gt = _({
1835
1835
  "v-table--hover": e.hover,
1836
1836
  "v-table--striped-even": e.striped === "even",
1837
1837
  "v-table--striped-odd": e.striped === "odd"
1838
- }, n.value, r.value, e.class]),
1839
- style: we(e.style)
1838
+ }, l.value, r.value, e.class]),
1839
+ style: ke(e.style)
1840
1840
  }, {
1841
1841
  default: () => [a.top?.(), a.default ? S("div", {
1842
1842
  class: "v-table__wrapper",
@@ -1863,24 +1863,24 @@ const gt = _({
1863
1863
  cellProps: [Object, Function],
1864
1864
  returnObject: Boolean
1865
1865
  }, "DataTable-items");
1866
- function ja(e, t, a, l) {
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), {});
1866
+ function ja(e, t, a, n) {
1867
+ const l = e.returnObject ? t : ee(t, e.itemValue), r = ee(t, e.itemSelectable, !0), u = n.reduce((c, o) => (o.key != null && (c[o.key] = ee(t, o.value)), c), {});
1868
1868
  return {
1869
1869
  type: "item",
1870
- key: e.returnObject ? ee(t, e.itemValue) : n,
1870
+ key: e.returnObject ? ee(t, e.itemValue) : l,
1871
1871
  index: a,
1872
- value: n,
1872
+ value: l,
1873
1873
  selectable: r,
1874
- columns: i,
1874
+ columns: u,
1875
1875
  raw: t
1876
1876
  };
1877
1877
  }
1878
1878
  function Ga(e, t, a) {
1879
- return t.map((l, n) => ja(e, l, n, a));
1879
+ return t.map((n, l) => ja(e, n, l, a));
1880
1880
  }
1881
1881
  function Ka(e, t) {
1882
1882
  return {
1883
- items: V(() => Ga(e, e.items, t.value))
1883
+ items: D(() => 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
- ...ka(),
1897
+ ...wa(),
1898
1898
  ...Ia(),
1899
1899
  ...gt(),
1900
1900
  ...yt()
@@ -1903,7 +1903,7 @@ const Wa = _({
1903
1903
  ...Wa(),
1904
1904
  ...ra(),
1905
1905
  ...ot()
1906
- }, "VDataTable"), tl = $()({
1906
+ }, "VDataTable"), tn = $()({
1907
1907
  name: "VDataTable",
1908
1908
  props: za(),
1909
1909
  emits: {
@@ -1919,100 +1919,100 @@ const Wa = _({
1919
1919
  setup(e, t) {
1920
1920
  let {
1921
1921
  attrs: a,
1922
- slots: l
1922
+ slots: n
1923
1923
  } = t;
1924
1924
  const {
1925
- groupBy: n
1925
+ groupBy: l
1926
1926
  } = ca(e), {
1927
1927
  sortBy: r,
1928
- multiSort: i,
1929
- mustSort: u
1928
+ multiSort: u,
1929
+ mustSort: c
1930
1930
  } = Fa(e), {
1931
- page: s,
1932
- itemsPerPage: o
1931
+ page: o,
1932
+ itemsPerPage: d
1933
1933
  } = ha(e), {
1934
- disableSort: c
1934
+ disableSort: g
1935
1935
  } = Ot(e), {
1936
- columns: m,
1937
- headers: d,
1938
- sortFunctions: f,
1939
- sortRawFunctions: y,
1940
- filterFunctions: b
1936
+ columns: h,
1937
+ headers: s,
1938
+ sortFunctions: i,
1939
+ sortRawFunctions: b,
1940
+ filterFunctions: f
1941
1941
  } = Ra(e, {
1942
- groupBy: n,
1942
+ groupBy: l,
1943
1943
  showSelect: C(() => e.showSelect),
1944
1944
  showExpand: C(() => e.showExpand)
1945
1945
  }), {
1946
1946
  items: v
1947
- } = Ka(e, m), F = C(() => e.search), {
1948
- filteredItems: h
1949
- } = oa(e, v, F, {
1947
+ } = Ka(e, h), k = C(() => e.search), {
1948
+ filteredItems: y
1949
+ } = oa(e, v, k, {
1950
1950
  transform: (H) => H.columns,
1951
- customKeyFilter: b
1951
+ customKeyFilter: f
1952
1952
  }), {
1953
- toggleSort: I
1954
- } = Va({
1953
+ toggleSort: P
1954
+ } = Da({
1955
1955
  sortBy: r,
1956
- multiSort: i,
1957
- mustSort: u,
1958
- page: s
1956
+ multiSort: u,
1957
+ mustSort: c,
1958
+ page: o
1959
1959
  }), {
1960
- sortByWithGroups: D,
1961
- opened: P,
1960
+ sortByWithGroups: V,
1961
+ opened: w,
1962
1962
  extractRows: L,
1963
1963
  isGroupOpen: N,
1964
1964
  toggleGroup: p
1965
1965
  } = fa({
1966
- groupBy: n,
1966
+ groupBy: l,
1967
1967
  sortBy: r,
1968
- disableSort: c
1968
+ disableSort: g
1969
1969
  }), {
1970
1970
  sortedItems: x
1971
- } = Da(e, h, D, {
1971
+ } = Va(e, y, V, {
1972
1972
  transform: (H) => ({
1973
1973
  ...H.raw,
1974
1974
  ...H.columns
1975
1975
  }),
1976
- sortFunctions: f,
1977
- sortRawFunctions: y
1976
+ sortFunctions: i,
1977
+ sortRawFunctions: b
1978
1978
  }), {
1979
- flatItems: g
1980
- } = ga(x, n, P, () => !!l["group-summary"]), k = V(() => g.value.length), {
1979
+ flatItems: m
1980
+ } = ga(x, l, w, () => !!n["group-summary"]), I = D(() => m.value.length), {
1981
1981
  startIndex: T,
1982
1982
  stopIndex: R,
1983
- pageCount: le,
1983
+ pageCount: ne,
1984
1984
  setItemsPerPage: be
1985
1985
  } = ya({
1986
- page: s,
1987
- itemsPerPage: o,
1988
- itemsLength: k
1986
+ page: o,
1987
+ itemsPerPage: d,
1988
+ itemsLength: I
1989
1989
  }), {
1990
1990
  paginatedItems: M
1991
1991
  } = xa({
1992
- items: g,
1992
+ items: m,
1993
1993
  startIndex: T,
1994
1994
  stopIndex: R,
1995
- itemsPerPage: o
1996
- }), X = V(() => L(M.value)), {
1995
+ itemsPerPage: d
1996
+ }), X = D(() => 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: kt
2003
- } = wa(e, {
2002
+ allSelected: wt
2003
+ } = ka(e, {
2004
2004
  allItems: v,
2005
2005
  currentPage: X
2006
2006
  }), {
2007
- isExpanded: wt,
2007
+ isExpanded: kt,
2008
2008
  toggleExpand: It
2009
2009
  } = ua(e);
2010
2010
  ma({
2011
- page: s,
2012
- itemsPerPage: o,
2011
+ page: o,
2012
+ itemsPerPage: d,
2013
2013
  sortBy: r,
2014
- groupBy: n,
2015
- search: F
2014
+ groupBy: l,
2015
+ search: k
2016
2016
  }), Se({
2017
2017
  VDataTableRows: {
2018
2018
  hideNoData: C(() => e.hideNoData),
@@ -2021,48 +2021,48 @@ const Wa = _({
2021
2021
  loadingText: C(() => e.loadingText)
2022
2022
  }
2023
2023
  });
2024
- const E = V(() => ({
2025
- page: s.value,
2026
- itemsPerPage: o.value,
2024
+ const E = D(() => ({
2025
+ page: o.value,
2026
+ itemsPerPage: d.value,
2027
2027
  sortBy: r.value,
2028
- pageCount: le.value,
2029
- toggleSort: I,
2028
+ pageCount: ne.value,
2029
+ toggleSort: P,
2030
2030
  setItemsPerPage: be,
2031
2031
  someSelected: Pt.value,
2032
- allSelected: kt.value,
2032
+ allSelected: wt.value,
2033
2033
  isSelected: he,
2034
2034
  select: pt,
2035
2035
  selectAll: xt,
2036
2036
  toggleSelect: St,
2037
- isExpanded: wt,
2037
+ isExpanded: kt,
2038
2038
  toggleExpand: It,
2039
2039
  isGroupOpen: N,
2040
2040
  toggleGroup: p,
2041
2041
  items: X.value.map((H) => H.raw),
2042
2042
  internalItems: X.value,
2043
2043
  groupedItems: M.value,
2044
- columns: m.value,
2045
- headers: d.value
2044
+ columns: h.value,
2045
+ headers: s.value
2046
2046
  }));
2047
2047
  return K(() => {
2048
- const H = Ee.filterProps(e), Ft = Ne.filterProps(e), Vt = Re.filterProps(e), Dt = $e.filterProps(e);
2049
- return w($e, B({
2048
+ const H = Ee.filterProps(e), Ft = Ne.filterProps(e), Dt = Re.filterProps(e), Vt = $e.filterProps(e);
2049
+ return F($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
2053
2053
  }, e.class],
2054
2054
  style: e.style
2055
- }, Dt, {
2055
+ }, Vt, {
2056
2056
  fixedHeader: e.fixedHeader || e.sticky
2057
2057
  }), {
2058
- top: () => l.top?.(E.value),
2059
- default: () => l.default ? l.default(E.value) : S(U, null, [l.colgroup?.(E.value), !e.hideDefaultHeader && S("thead", {
2058
+ top: () => n.top?.(E.value),
2059
+ default: () => n.default ? n.default(E.value) : S(U, null, [n.colgroup?.(E.value), !e.hideDefaultHeader && S("thead", {
2060
2060
  key: "thead"
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, {
2061
+ }, [F(Ne, Ft, n)]), n.thead?.(E.value), !e.hideDefaultBody && S("tbody", null, [n["body.prepend"]?.(E.value), n.body ? n.body(E.value) : F(Re, B(a, Dt, {
2062
2062
  items: M.value
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, [w(Yt, null, null), w(Ee, H, {
2065
- prepend: l["footer.prepend"]
2063
+ }), n), n["body.append"]?.(E.value)]), n.tbody?.(E.value), n.tfoot?.(E.value)]),
2064
+ bottom: () => n.bottom ? n.bottom(E.value) : !e.hideDefaultFooter && S(U, null, [F(Yt, null, null), F(Ee, H, {
2065
+ prepend: n["footer.prepend"]
2066
2066
  })])
2067
2067
  });
2068
2068
  }), {};
@@ -2141,39 +2141,39 @@ const Qa = _({
2141
2141
  ...ea(),
2142
2142
  ...ze(),
2143
2143
  ...Fe()
2144
- }, "VSkeletonLoader"), al = $()({
2144
+ }, "VSkeletonLoader"), an = $()({
2145
2145
  name: "VSkeletonLoader",
2146
2146
  inheritAttrs: !1,
2147
2147
  props: Qa(),
2148
2148
  setup(e, t) {
2149
2149
  let {
2150
2150
  attrs: a,
2151
- slots: l
2151
+ slots: n
2152
2152
  } = t;
2153
2153
  const {
2154
- backgroundColorClasses: n,
2154
+ backgroundColorClasses: l,
2155
2155
  backgroundColorStyles: r
2156
2156
  } = Je(() => e.color), {
2157
- dimensionStyles: i
2157
+ dimensionStyles: u
2158
2158
  } = Zt(e), {
2159
- elevationClasses: u
2159
+ elevationClasses: c
2160
2160
  } = qt(e), {
2161
- themeClasses: s
2161
+ themeClasses: o
2162
2162
  } = Ie(e), {
2163
- t: o
2164
- } = Z(), c = V(() => me(z(e.type).join(",")));
2163
+ t: d
2164
+ } = Z(), g = D(() => me(z(e.type).join(",")));
2165
2165
  return K(() => {
2166
- const m = !l.default || e.loading, d = e.boilerplate || !m ? {} : {
2166
+ const h = !n.default || e.loading, s = e.boilerplate || !h ? {} : {
2167
2167
  ariaLive: "polite",
2168
- ariaLabel: o(e.loadingText),
2168
+ ariaLabel: d(e.loadingText),
2169
2169
  role: "alert"
2170
2170
  };
2171
- return m ? S("div", B({
2171
+ return h ? S("div", B({
2172
2172
  class: ["v-skeleton-loader", {
2173
2173
  "v-skeleton-loader--boilerplate": e.boilerplate
2174
- }, s.value, n.value, u.value],
2175
- style: [r.value, i.value]
2176
- }, d, a), [c.value]) : S(U, null, [l.default?.()]);
2174
+ }, o.value, l.value, c.value],
2175
+ style: [r.value, u.value]
2176
+ }, s, a), [g.value]) : S(U, null, [n.default?.()]);
2177
2177
  }), {};
2178
2178
  }
2179
2179
  });
@@ -2193,53 +2193,65 @@ function Xa(e, t, a) {
2193
2193
  throw new Error(`Invalid operator: ${a}`);
2194
2194
  }
2195
2195
  }
2196
- function ll() {
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
- let s = l.value;
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
2209
- }));
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;
2196
+ function nn() {
2197
+ const { advancedFiltersState: e, hardFiltersState: t } = aa(), a = Q("table_props"), n = j(), l = D(() => {
2198
+ let s = n.value;
2199
+ if (!s) return s;
2200
+ const i = o(e.value, t.value);
2201
+ return !i || Object.keys(i).length === 0 || Object.keys(i).forEach((b) => {
2202
+ const { value: f, comparison: v = "=" } = i[b];
2203
+ if (!f) return;
2204
+ const k = h(a.headers, b);
2205
+ k && (s = s.filter((y) => {
2206
+ const P = g(y, b, k);
2207
+ return k.advancedFilter?.customFilterFn && typeof k.advancedFilter.customFilterFn == "function" ? k.advancedFilter.customFilterFn({ value: P, filterValue: f, filterComparison: v, header: k, item: y }) : c(P, f, v, k);
2227
2208
  }));
2228
2209
  }), s;
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;
2232
- };
2210
+ });
2211
+ function r(s, i) {
2212
+ const b = Array.isArray(i) ? i : [i], f = ie(b[0]).startOf("day").isSameOrBefore(ie(s).format()), v = ie(b[b.length - 1]).endOf("day").isSameOrAfter(ie(s).format());
2213
+ return f && v;
2214
+ }
2215
+ function u(s, i) {
2216
+ return Array.isArray(i) ? i.map((b) => b.toString().toLowerCase()).includes(s.toString().toLowerCase()) : s?.toString().toLowerCase().includes(i.toString().toLowerCase());
2217
+ }
2218
+ function c(s, i, b, f) {
2219
+ switch (f.advancedFilter?.component) {
2220
+ case "datepicker":
2221
+ return r(s, i);
2222
+ case "comparison":
2223
+ return Xa(Number(s), Number(i), b);
2224
+ default:
2225
+ return u(s, i);
2226
+ }
2227
+ }
2228
+ function o(s, i) {
2229
+ const b = Object.values(i).filter((f) => f.args).map((f) => f.args).reduce((f, v) => ({ ...f, ...v }), {});
2230
+ return { ...s, ...b };
2231
+ }
2232
+ function d(s, i) {
2233
+ return i.split(".").reduce((b, f) => b && b[f], s);
2234
+ }
2235
+ function g(s, i, b) {
2236
+ const f = na(s);
2237
+ return Object.hasOwn(b, "filterReturnValue") && typeof b.filterReturnValue == "function" && (f[i] = b.filterReturnValue({
2238
+ value: s[i],
2239
+ item: s
2240
+ })), d(f, i);
2241
+ }
2242
+ function h(s, i) {
2243
+ return s.find((b) => (b.advancedFilter?.key ?? b.key) === i);
2244
+ }
2233
2245
  return ce(
2234
2246
  () => a.data,
2235
- async (i, u) => {
2236
- const s = i ?? [], o = u ?? [];
2237
- JSON.stringify(s) !== JSON.stringify(o) && (l.value = i);
2247
+ (s, i) => {
2248
+ const b = s ?? [], f = i ?? [];
2249
+ JSON.stringify(b) !== JSON.stringify(f) && (n.value = s);
2238
2250
  },
2239
2251
  { deep: !0, immediate: !0 }
2240
- ), { tableData: l, filteredData: n };
2252
+ ), { tableData: n, filteredData: l };
2241
2253
  }
2242
- const nl = Lt({
2254
+ const ln = Lt({
2243
2255
  props: {
2244
2256
  render: {
2245
2257
  type: [Function, Object, String, Number, Date],
@@ -2260,9 +2272,9 @@ const nl = Lt({
2260
2272
  }
2261
2273
  });
2262
2274
  export {
2263
- nl as C,
2264
- tl as V,
2265
- al as a,
2275
+ ln as C,
2276
+ tn as V,
2277
+ an as a,
2266
2278
  Fa as b,
2267
2279
  ca as c,
2268
2280
  ha as d,
@@ -2271,16 +2283,16 @@ export {
2271
2283
  fa as g,
2272
2284
  ya as h,
2273
2285
  ga as i,
2274
- wa as j,
2286
+ ka as j,
2275
2287
  ua as k,
2276
2288
  ma as l,
2277
2289
  Ee as m,
2278
2290
  Ne as n,
2279
2291
  Re as o,
2280
- Va as p,
2292
+ Da as p,
2281
2293
  $e as q,
2282
2294
  ot as r,
2283
2295
  Wa as s,
2284
2296
  ba as t,
2285
- ll as u
2297
+ nn as u
2286
2298
  };