@ianicdev/datatables2 0.10.3 → 0.10.5

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 (33) hide show
  1. package/dist/{Columns-B2I3fQK-.cjs → Columns-CPCKKIx3.cjs} +1 -1
  2. package/dist/{Columns-Cul89zUK.js → Columns-ZxF5CuL6.js} +1 -1
  3. package/dist/{Comparison-DqBhxa7w.js → Comparison-CMTDEfUJ.js} +6 -6
  4. package/dist/{Comparison-BR_UI0MQ.cjs → Comparison-DfPeTvCT.cjs} +1 -1
  5. package/dist/{Datepicker-B-Whoyb7.js → Datepicker-BLYCUwKH.js} +2 -2
  6. package/dist/{Datepicker-DAsmREFO.cjs → Datepicker-CbsULJsG.cjs} +1 -1
  7. package/dist/{Download-eF23Wfl5.js → Download-CBodg9GI.js} +1 -1
  8. package/dist/{Download-CaYGcN68.cjs → Download-CjD4NWhV.cjs} +1 -1
  9. package/dist/{Options-DKcffgvi.js → Options-BHx4o8aa.js} +1 -1
  10. package/dist/{Options-DjlXBvIh.cjs → Options-e0hJOpF8.cjs} +1 -1
  11. package/dist/{RefreshTable-DLAVYGly.cjs → RefreshTable-CyPWCK3e.cjs} +1 -1
  12. package/dist/{RefreshTable-BdKbgZ6r.js → RefreshTable-DlG8UH4c.js} +2 -2
  13. package/dist/{Search-RSFNzOye.cjs → Search-D4UmoZpS.cjs} +1 -1
  14. package/dist/{Search-3cdgX6ng.js → Search-DDRz2N_S.js} +2 -2
  15. package/dist/{Table-CMF3XY7Y.cjs → Table-ACmKFpAk.cjs} +1 -1
  16. package/dist/{Table-DDIeeeXR.js → Table-QxreAQB1.js} +8 -8
  17. package/dist/{TableServer-CgG-cidx.js → TableServer-BQUFKBeQ.js} +134 -134
  18. package/dist/{TableServer-BorxYj9a.cjs → TableServer-pRzLKhVw.cjs} +1 -1
  19. package/dist/{cellRender-Cf0NNgl8.js → cellRender-B3IOPLJf.js} +854 -951
  20. package/dist/cellRender-CA6S9KvF.cjs +1 -0
  21. package/dist/{dataTables-Dh14DLi7.cjs → dataTables-BbXv6am2.cjs} +3 -3
  22. package/dist/{dataTables-BcX90H2j.js → dataTables-Be-U1RVV.js} +133 -130
  23. package/dist/datatables.cjs +1 -1
  24. package/dist/datatables.js +1 -1
  25. package/dist/datatables2.css +1 -1
  26. package/dist/{index-DyARQ6Al.js → index-5WIEduUN.js} +20 -20
  27. package/dist/index-BAxGZLuh.js +4533 -0
  28. package/dist/{index-B8YkxY0t.cjs → index-CDteNa2i.cjs} +1 -1
  29. package/dist/index-m_LBTAkz.cjs +1 -0
  30. package/package.json +6 -6
  31. package/dist/cellRender-BjvgzE1x.cjs +0 -1
  32. package/dist/index-BSSvj4Pj.cjs +0 -1
  33. package/dist/index-BhA2W09j.js +0 -4078
@@ -1,245 +1,148 @@
1
- import { shallowRef as de, computed as F, unref as ee, watchEffect as Ke, toRef as T, provide as Y, toRaw as re, inject as Q, ref as H, toValue as _t, watch as ve, onBeforeUpdate as Ot, createVNode as I, normalizeStyle as Ie, normalizeClass as K, createElementVNode as S, mergeProps as O, nextTick as _e, capitalize as Bt, Fragment as U, createTextVNode as Oe, withModifiers as se, toDisplayString as Lt, toRefs as At, defineComponent as Et, h as Nt } from "vue";
2
- import { aP as Rt, U as $t, p as _, N as z, aA as te, K as J, aQ as ce, _ as Ge, J as We, ad as pe, aR as Mt, T as Z, aS as oe, aT as jt, g as $, a0 as Ht, h as Fe, ah as ge, a as Pe, aj as Kt, aU as ie, u as G, a7 as W, x as Gt, y as De, m as ze, as as Wt, A as zt, E as Ue, f as le, b as Je, G as Ut, I as B, aV as Be, S as Ve, aW as Jt, ax as A, aX as Qt, o as Xt, P as Qe, L as Yt, D as Zt, an as Te, d as Le, H as xe, a1 as ke, k as qt, a8 as ea, l as ta, n as aa, F as la } from "./dataTables-BcX90H2j.js";
3
- import { V as Xe, a as na, b as fe, u as ra, d as sa } from "./index-BhA2W09j.js";
4
- import ue from "moment";
5
- function Ae(e, t, a) {
6
- return Object.keys(e).filter((l) => Rt(l) && l.endsWith(t)).reduce((l, n) => (l[n.slice(0, -t.length)] = (r) => $t(e[n], r, a(r)), l), {});
1
+ import { toRef as T, provide as Q, toRaw as le, inject as U, ref as M, computed as V, toValue as Ft, watch as ce, shallowRef as He, onBeforeUpdate as Tt, createVNode as w, normalizeStyle as Pe, normalizeClass as G, createElementVNode as S, mergeProps as B, nextTick as Fe, watchEffect as Ct, capitalize as _t, Fragment as z, createTextVNode as Te, withModifiers as ne, toDisplayString as Bt, toRefs as Ot, defineComponent as At, h as Et } from "vue";
2
+ import { aQ as Lt, U as Nt, K as q, p as _, aR as ue, _ as je, J as Me, ad as he, N as Z, aS as Rt, T as X, aT as re, aU as $t, g as $, a0 as Ht, h as we, ah as fe, a as pe, aj as jt, aV as oe, u as K, a7 as W, x as Mt, y as ke, m as Ge, as as Gt, A as Kt, E as Ke, f as te, b as We, G as Wt, I as O, aW as Ce, S as Ie, aX as zt, ax as E, aY as qt, o as Ut, P as ze, L as Jt, D as Qt, an as De, d as _e, H as ye, a1 as xe, k as Xt, aA as se, a8 as Yt, l as Zt, n as ea, F as ta } from "./dataTables-Be-U1RVV.js";
3
+ import { V as qe, a as aa, b as de, c as la, m as na, u as ra, d as oa } from "./index-BAxGZLuh.js";
4
+ import ie from "moment";
5
+ function Be(e, t, a) {
6
+ return Object.keys(e).filter((l) => Lt(l) && l.endsWith(t)).reduce((l, n) => (l[n.slice(0, -t.length)] = (r) => Nt(e[n], r, a(r)), l), {});
7
7
  }
8
- const oa = (e, t, a) => {
9
- if (e == null || t == null) return -1;
10
- if (!t.length) return 0;
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;
17
- };
18
- function Se(e, t) {
19
- if (!(e == null || typeof e == "boolean" || e === -1))
20
- return typeof e == "number" ? [[e, e + t.length]] : Array.isArray(e[0]) ? e : [e];
21
- }
22
- const ia = _({
23
- customFilter: Function,
24
- customKeyFilter: Object,
25
- filterKeys: [Array, String],
26
- filterMode: {
27
- type: String,
28
- default: "intersection"
29
- },
30
- noFilter: Boolean
31
- }, "filter");
32
- function ua(e, t, a) {
33
- const l = [], n = a?.default ?? oa, r = a?.filterKeys ? z(a.filterKeys) : !1, i = Object.keys(a?.customKeyFilter ?? {}).length;
34
- if (!e?.length) return l;
35
- let f = null;
36
- e: for (let u = 0; u < e.length; u++) {
37
- const [d, m = d] = z(e[u]), h = {}, s = {};
38
- let o = -1;
39
- if ((t || i > 0) && !a?.noFilter) {
40
- let b = !1;
41
- if (typeof d == "object") {
42
- if (d.type === "divider" || d.type === "subheader") {
43
- f?.type === "divider" && d.type === "subheader" && l.push(f), f = {
44
- index: u,
45
- matches: {},
46
- type: d.type
47
- };
48
- continue;
49
- }
50
- const w = r || Object.keys(m);
51
- b = w.length === i;
52
- for (const y of w) {
53
- const P = te(m, y), V = a?.customKeyFilter?.[y];
54
- if (o = V ? V(P, t, d) : n(P, t, d), o !== -1 && o !== !1)
55
- V ? h[y] = Se(o, t) : s[y] = Se(o, t);
56
- else if (a?.filterMode === "every")
57
- continue e;
58
- }
59
- } else
60
- o = n(d, t, d), o !== -1 && o !== !1 && (s.title = Se(o, t));
61
- const c = Object.keys(s).length, v = Object.keys(h).length;
62
- if (!c && !v || a?.filterMode === "union" && v !== i && !c || a?.filterMode === "intersection" && (v !== i || !c && i > 0 && !b)) continue;
63
- }
64
- f && (l.push(f), f = null), l.push({
65
- index: u,
66
- matches: {
67
- ...s,
68
- ...h
69
- }
70
- });
71
- }
72
- return l;
73
- }
74
- function da(e, t, a, l) {
75
- const n = de([]), r = de(/* @__PURE__ */ new Map()), i = F(() => l?.transform ? ee(t).map((u) => [u, l.transform(u)]) : ee(t));
76
- Ke(() => {
77
- const u = typeof a == "function" ? a() : ee(a), d = typeof u != "string" && typeof u != "number" ? "" : String(u), m = ua(i.value, d, {
78
- customKeyFilter: {
79
- ...e.customKeyFilter,
80
- ...ee(l?.customKeyFilter)
81
- },
82
- default: e.customFilter,
83
- filterKeys: e.filterKeys,
84
- filterMode: e.filterMode,
85
- noFilter: e.noFilter
86
- }), h = ee(t), s = [], o = /* @__PURE__ */ new Map();
87
- m.forEach((b) => {
88
- let {
89
- index: c,
90
- matches: v
91
- } = b;
92
- const w = h[c];
93
- s.push(w), o.set(w.value, v);
94
- }), n.value = s, r.value = o;
95
- });
96
- function f(u) {
97
- return r.value.get(u.value);
98
- }
99
- return {
100
- filteredItems: n,
101
- filteredMatches: r,
102
- getMatches: f
103
- };
104
- }
105
- const ca = _({
8
+ const sa = _({
106
9
  expandOnClick: Boolean,
107
10
  showExpand: Boolean,
108
11
  expanded: {
109
12
  type: Array,
110
13
  default: () => []
111
14
  }
112
- }, "DataTable-expand"), Ye = Symbol.for("vuetify:datatable:expanded");
113
- function fa(e) {
114
- const t = T(() => e.expandOnClick), a = J(e, "expanded", e.expanded, (f) => new Set(f), (f) => [...f.values()]);
115
- function l(f, u) {
116
- const d = new Set(a.value), m = re(f.value);
15
+ }, "DataTable-expand"), Ue = Symbol.for("vuetify:datatable:expanded");
16
+ function ia(e) {
17
+ const t = T(() => e.expandOnClick), a = q(e, "expanded", e.expanded, (v) => new Set(v), (v) => [...v.values()]);
18
+ function l(v, u) {
19
+ const c = new Set(a.value), m = le(v.value);
117
20
  if (u)
118
- d.add(m);
21
+ c.add(m);
119
22
  else {
120
- const h = [...a.value].find((s) => re(s) === m);
121
- d.delete(h);
23
+ const h = [...a.value].find((o) => le(o) === m);
24
+ c.delete(h);
122
25
  }
123
- a.value = d;
26
+ a.value = c;
124
27
  }
125
- function n(f) {
126
- const u = re(f.value);
127
- return [...a.value].some((d) => re(d) === u);
28
+ function n(v) {
29
+ const u = le(v.value);
30
+ return [...a.value].some((c) => le(c) === u);
128
31
  }
129
- function r(f) {
130
- l(f, !n(f));
32
+ function r(v) {
33
+ l(v, !n(v));
131
34
  }
132
- const i = {
35
+ const s = {
133
36
  expand: l,
134
37
  expanded: a,
135
38
  expandOnClick: t,
136
39
  isExpanded: n,
137
40
  toggleExpand: r
138
41
  };
139
- return Y(Ye, i), i;
42
+ return Q(Ue, s), s;
140
43
  }
141
- function Ze() {
142
- const e = Q(Ye);
44
+ function Je() {
45
+ const e = U(Ue);
143
46
  if (!e) throw new Error("foo");
144
47
  return e;
145
48
  }
146
- const va = _({
49
+ const ua = _({
147
50
  groupBy: {
148
51
  type: Array,
149
52
  default: () => []
150
53
  }
151
- }, "DataTable-group"), qe = Symbol.for("vuetify:data-table-group");
152
- function ga(e) {
54
+ }, "DataTable-group"), Qe = Symbol.for("vuetify:data-table-group");
55
+ function da(e) {
153
56
  return {
154
- groupBy: J(e, "groupBy")
57
+ groupBy: q(e, "groupBy")
155
58
  };
156
59
  }
157
- function ma(e) {
60
+ function ca(e) {
158
61
  const {
159
62
  disableSort: t,
160
63
  groupBy: a,
161
64
  sortBy: l
162
- } = e, n = H(/* @__PURE__ */ new Set()), r = F(() => a.value.map((m) => ({
65
+ } = e, n = M(/* @__PURE__ */ new Set()), r = V(() => a.value.map((m) => ({
163
66
  ...m,
164
67
  order: m.order ?? !1
165
68
  })).concat(t?.value ? [] : l.value));
166
- function i(m) {
69
+ function s(m) {
167
70
  return n.value.has(m.id);
168
71
  }
169
- function f(m) {
72
+ function v(m) {
170
73
  const h = new Set(n.value);
171
- i(m) ? h.delete(m.id) : h.add(m.id), n.value = h;
74
+ s(m) ? h.delete(m.id) : h.add(m.id), n.value = h;
172
75
  }
173
76
  function u(m) {
174
- function h(s) {
175
- const o = [];
176
- for (const b of s.items)
177
- "type" in b && b.type === "group" ? o.push(...h(b)) : o.push(b);
178
- return [...new Set(o)];
77
+ function h(o) {
78
+ const i = [];
79
+ for (const b of o.items)
80
+ "type" in b && b.type === "group" ? i.push(...h(b)) : i.push(b);
81
+ return [...new Set(i)];
179
82
  }
180
83
  return h({
181
84
  items: m
182
85
  });
183
86
  }
184
- const d = {
87
+ const c = {
185
88
  sortByWithGroups: r,
186
- toggleGroup: f,
89
+ toggleGroup: v,
187
90
  opened: n,
188
91
  groupBy: a,
189
92
  extractRows: u,
190
- isGroupOpen: i
93
+ isGroupOpen: s
191
94
  };
192
- return Y(qe, d), d;
95
+ return Q(Qe, c), c;
193
96
  }
194
- function et() {
195
- const e = Q(qe);
97
+ function Xe() {
98
+ const e = U(Qe);
196
99
  if (!e) throw new Error("Missing group!");
197
100
  return e;
198
101
  }
199
- function ba(e, t) {
102
+ function fa(e, t) {
200
103
  if (!e.length) return [];
201
104
  const a = /* @__PURE__ */ new Map();
202
105
  for (const l of e) {
203
- const n = ce(l.raw, t);
106
+ const n = ue(l.raw, t);
204
107
  a.has(n) || a.set(n, []), a.get(n).push(l);
205
108
  }
206
109
  return a;
207
110
  }
208
- function tt(e, t) {
111
+ function Ye(e, t) {
209
112
  let a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "root";
210
113
  if (!t.length) return [];
211
- const n = ba(e, t[0]), r = [], i = t.slice(1);
212
- return n.forEach((f, u) => {
213
- const d = t[0], m = `${l}_${d}_${u}`;
114
+ const n = fa(e, t[0]), r = [], s = t.slice(1);
115
+ return n.forEach((v, u) => {
116
+ const c = t[0], m = `${l}_${c}_${u}`;
214
117
  r.push({
215
118
  depth: a,
216
119
  id: m,
217
- key: d,
120
+ key: c,
218
121
  value: u,
219
- items: i.length ? tt(f, i, a + 1, m) : f,
122
+ items: s.length ? Ye(v, s, a + 1, m) : v,
220
123
  type: "group"
221
124
  });
222
125
  }), r;
223
126
  }
224
- function at(e, t, a) {
127
+ function Ze(e, t, a) {
225
128
  const l = [];
226
129
  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(...at(n.items, t, a)), a && l.push({
130
+ "type" in n && n.type === "group" ? (n.value != null && l.push(n), (t.has(n.id) || n.value == null) && (l.push(...Ze(n.items, t, a)), a && l.push({
228
131
  ...n,
229
132
  type: "group-summary"
230
133
  }))) : l.push(n);
231
134
  return l;
232
135
  }
233
- function ha(e, t, a, l) {
136
+ function va(e, t, a, l) {
234
137
  return {
235
- flatItems: F(() => {
138
+ flatItems: V(() => {
236
139
  if (!t.value.length) return e.value;
237
- const r = tt(e.value, t.value.map((i) => i.key));
238
- return at(r, a.value, _t(l));
140
+ const r = Ye(e.value, t.value.map((s) => s.key));
141
+ return Ze(r, a.value, Ft(l));
239
142
  })
240
143
  };
241
144
  }
242
- function ya(e) {
145
+ function ga(e) {
243
146
  let {
244
147
  page: t,
245
148
  itemsPerPage: a,
@@ -247,7 +150,7 @@ function ya(e) {
247
150
  groupBy: n,
248
151
  search: r
249
152
  } = e;
250
- const i = Ge("VDataTable"), f = () => ({
153
+ const s = je("VDataTable"), v = () => ({
251
154
  page: t.value,
252
155
  itemsPerPage: a.value,
253
156
  sortBy: l.value,
@@ -255,14 +158,14 @@ function ya(e) {
255
158
  search: r.value
256
159
  });
257
160
  let u = null;
258
- ve(f, (d) => {
259
- We(u, d) || (u && u.search !== d.search && (t.value = 1), i.emit("update:options", d), u = d);
161
+ ce(v, (c) => {
162
+ Me(u, c) || (u && u.search !== c.search && (t.value = 1), s.emit("update:options", c), u = c);
260
163
  }, {
261
164
  deep: !0,
262
165
  immediate: !0
263
166
  });
264
167
  }
265
- const pa = _({
168
+ const ma = _({
266
169
  page: {
267
170
  type: [Number, String],
268
171
  default: 1
@@ -271,70 +174,70 @@ const pa = _({
271
174
  type: [Number, String],
272
175
  default: 10
273
176
  }
274
- }, "DataTable-paginate"), lt = Symbol.for("vuetify:data-table-pagination");
275
- function xa(e) {
276
- const t = J(e, "page", void 0, (l) => Number(l ?? 1)), a = J(e, "itemsPerPage", void 0, (l) => Number(l ?? 10));
177
+ }, "DataTable-paginate"), et = Symbol.for("vuetify:data-table-pagination");
178
+ function ba(e) {
179
+ const t = q(e, "page", void 0, (l) => Number(l ?? 1)), a = q(e, "itemsPerPage", void 0, (l) => Number(l ?? 10));
277
180
  return {
278
181
  page: t,
279
182
  itemsPerPage: a
280
183
  };
281
184
  }
282
- function Sa(e) {
185
+ function ha(e) {
283
186
  const {
284
187
  page: t,
285
188
  itemsPerPage: a,
286
189
  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)), i = F(() => a.value === -1 || l.value === 0 ? 1 : Math.ceil(l.value / a.value));
288
- ve([t, i], () => {
289
- t.value > i.value && (t.value = i.value);
190
+ } = 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)), s = V(() => a.value === -1 || l.value === 0 ? 1 : Math.ceil(l.value / a.value));
191
+ ce([t, s], () => {
192
+ t.value > s.value && (t.value = s.value);
290
193
  });
291
- function f(s) {
292
- a.value = s, t.value = 1;
194
+ function v(o) {
195
+ a.value = o, t.value = 1;
293
196
  }
294
197
  function u() {
295
- t.value = pe(t.value + 1, 1, i.value);
198
+ t.value = he(t.value + 1, 1, s.value);
296
199
  }
297
- function d() {
298
- t.value = pe(t.value - 1, 1, i.value);
200
+ function c() {
201
+ t.value = he(t.value - 1, 1, s.value);
299
202
  }
300
- function m(s) {
301
- t.value = pe(s, 1, i.value);
203
+ function m(o) {
204
+ t.value = he(o, 1, s.value);
302
205
  }
303
206
  const h = {
304
207
  page: t,
305
208
  itemsPerPage: a,
306
209
  startIndex: n,
307
210
  stopIndex: r,
308
- pageCount: i,
211
+ pageCount: s,
309
212
  itemsLength: l,
310
213
  nextPage: u,
311
- prevPage: d,
214
+ prevPage: c,
312
215
  setPage: m,
313
- setItemsPerPage: f
216
+ setItemsPerPage: v
314
217
  };
315
- return Y(lt, h), h;
218
+ return Q(et, h), h;
316
219
  }
317
- function Pa() {
318
- const e = Q(lt);
220
+ function ya() {
221
+ const e = U(et);
319
222
  if (!e) throw new Error("Missing pagination!");
320
223
  return e;
321
224
  }
322
- function ka(e) {
323
- const t = Ge("usePaginatedItems"), {
225
+ function pa(e) {
226
+ const t = je("usePaginatedItems"), {
324
227
  items: a,
325
228
  startIndex: l,
326
229
  stopIndex: n,
327
230
  itemsPerPage: r
328
- } = e, i = F(() => r.value <= 0 ? a.value : a.value.slice(l.value, n.value));
329
- return ve(i, (f) => {
330
- t.emit("update:currentItems", f);
231
+ } = e, s = V(() => r.value <= 0 ? a.value : a.value.slice(l.value, n.value));
232
+ return ce(s, (v) => {
233
+ t.emit("update:currentItems", v);
331
234
  }, {
332
235
  immediate: !0
333
236
  }), {
334
- paginatedItems: i
237
+ paginatedItems: s
335
238
  };
336
239
  }
337
- const wa = {
240
+ const xa = {
338
241
  showSelectAll: !1,
339
242
  allSelected: () => [],
340
243
  select: (e) => {
@@ -350,7 +253,7 @@ const wa = {
350
253
  } = e;
351
254
  return t;
352
255
  }
353
- }, nt = {
256
+ }, tt = {
354
257
  showSelectAll: !0,
355
258
  allSelected: (e) => {
356
259
  let {
@@ -374,13 +277,13 @@ const wa = {
374
277
  currentPage: a,
375
278
  selected: l
376
279
  } = e;
377
- return nt.select({
280
+ return tt.select({
378
281
  items: a,
379
282
  value: t,
380
283
  selected: l
381
284
  });
382
285
  }
383
- }, Ia = {
286
+ }, Sa = {
384
287
  showSelectAll: !0,
385
288
  allSelected: (e) => {
386
289
  let {
@@ -405,7 +308,7 @@ const wa = {
405
308
  } = e;
406
309
  return new Set(t ? a.map((l) => l.value) : []);
407
310
  }
408
- }, Fa = _({
311
+ }, Pa = _({
409
312
  showSelect: Boolean,
410
313
  selectStrategy: {
411
314
  type: [String, Object],
@@ -416,85 +319,85 @@ const wa = {
416
319
  default: () => []
417
320
  },
418
321
  valueComparator: Function
419
- }, "DataTable-select"), rt = Symbol.for("vuetify:data-table-selection");
420
- function Da(e, t) {
322
+ }, "DataTable-select"), at = Symbol.for("vuetify:data-table-selection");
323
+ function wa(e, t) {
421
324
  let {
422
325
  allItems: a,
423
326
  currentPage: l
424
327
  } = t;
425
- const n = J(e, "modelValue", e.modelValue, (y) => {
426
- const P = e.valueComparator;
427
- return P ? new Set(z(y).map((V) => a.value.find((k) => P(V, k.value))?.value ?? V)) : new Set(z(y).map((V) => Mt(V) ? a.value.find((k) => V === k.value)?.value ?? V : a.value.find((k) => We(V, k.value))?.value ?? V));
428
- }, (y) => [...y.values()]), r = F(() => a.value.filter((y) => y.selectable)), i = F(() => l.value.filter((y) => y.selectable)), f = F(() => {
328
+ const n = q(e, "modelValue", e.modelValue, (y) => {
329
+ const k = e.valueComparator;
330
+ return k ? new Set(Z(y).map((F) => a.value.find((P) => k(F, P.value))?.value ?? F)) : new Set(Z(y).map((F) => Rt(F) ? a.value.find((P) => F === P.value)?.value ?? F : a.value.find((P) => Me(F, P.value))?.value ?? F));
331
+ }, (y) => [...y.values()]), r = V(() => a.value.filter((y) => y.selectable)), s = V(() => l.value.filter((y) => y.selectable)), v = V(() => {
429
332
  if (typeof e.selectStrategy == "object") return e.selectStrategy;
430
333
  switch (e.selectStrategy) {
431
334
  case "single":
432
- return wa;
335
+ return xa;
433
336
  case "all":
434
- return Ia;
337
+ return Sa;
435
338
  case "page":
436
339
  default:
437
- return nt;
340
+ return tt;
438
341
  }
439
- }), u = de(null);
440
- function d(y) {
441
- return z(y).every((P) => n.value.has(P.value));
342
+ }), u = He(null);
343
+ function c(y) {
344
+ return Z(y).every((k) => n.value.has(k.value));
442
345
  }
443
346
  function m(y) {
444
- return z(y).some((P) => n.value.has(P.value));
347
+ return Z(y).some((k) => n.value.has(k.value));
445
348
  }
446
- function h(y, P) {
447
- const V = f.value.select({
349
+ function h(y, k) {
350
+ const F = v.value.select({
448
351
  items: y,
449
- value: P,
352
+ value: k,
450
353
  selected: new Set(n.value)
451
354
  });
452
- n.value = V;
355
+ n.value = F;
453
356
  }
454
- function s(y, P, V) {
455
- const k = [];
456
- if (P = P ?? l.value.findIndex((L) => L.value === y.value), e.selectStrategy !== "single" && V?.shiftKey && u.value !== null) {
457
- const [L, N] = [u.value, P].sort((p, x) => p - x);
458
- k.push(...l.value.slice(L, N + 1).filter((p) => p.selectable));
357
+ function o(y, k, F) {
358
+ const P = [];
359
+ if (k = k ?? l.value.findIndex((A) => A.value === y.value), e.selectStrategy !== "single" && F?.shiftKey && u.value !== null) {
360
+ const [A, N] = [u.value, k].sort((p, x) => p - x);
361
+ P.push(...l.value.slice(A, N + 1).filter((p) => p.selectable));
459
362
  } else
460
- k.push(y), u.value = P;
461
- h(k, !d([y]));
363
+ P.push(y), u.value = k;
364
+ h(P, !c([y]));
462
365
  }
463
- function o(y) {
464
- const P = f.value.selectAll({
366
+ function i(y) {
367
+ const k = v.value.selectAll({
465
368
  value: y,
466
369
  allItems: r.value,
467
- currentPage: i.value,
370
+ currentPage: s.value,
468
371
  selected: new Set(n.value)
469
372
  });
470
- n.value = P;
373
+ n.value = k;
471
374
  }
472
- const b = F(() => n.value.size > 0), c = F(() => {
473
- const y = f.value.allSelected({
375
+ const b = V(() => n.value.size > 0), d = V(() => {
376
+ const y = v.value.allSelected({
474
377
  allItems: r.value,
475
- currentPage: i.value
378
+ currentPage: s.value
476
379
  });
477
- return !!y.length && d(y);
478
- }), v = T(() => f.value.showSelectAll), w = {
479
- toggleSelect: s,
380
+ return !!y.length && c(y);
381
+ }), g = T(() => v.value.showSelectAll), I = {
382
+ toggleSelect: o,
480
383
  select: h,
481
- selectAll: o,
482
- isSelected: d,
384
+ selectAll: i,
385
+ isSelected: c,
483
386
  isSomeSelected: m,
484
387
  someSelected: b,
485
- allSelected: c,
486
- showSelectAll: v,
388
+ allSelected: d,
389
+ showSelectAll: g,
487
390
  lastSelectedIndex: u,
488
- selectStrategy: f
391
+ selectStrategy: v
489
392
  };
490
- return Y(rt, w), w;
393
+ return Q(at, I), I;
491
394
  }
492
- function me() {
493
- const e = Q(rt);
395
+ function ve() {
396
+ const e = U(at);
494
397
  if (!e) throw new Error("Missing selection!");
495
398
  return e;
496
399
  }
497
- const Va = _({
400
+ const ka = _({
498
401
  initialSortOrder: {
499
402
  type: String,
500
403
  default: "asc",
@@ -510,9 +413,9 @@ const Va = _({
510
413
  default: !1
511
414
  },
512
415
  mustSort: Boolean
513
- }, "DataTable-sort"), st = Symbol.for("vuetify:data-table-sort");
514
- function Ta(e) {
515
- const t = T(() => e.initialSortOrder), a = J(e, "sortBy"), l = T(() => e.mustSort), n = T(() => e.multiSort);
416
+ }, "DataTable-sort"), lt = Symbol.for("vuetify:data-table-sort");
417
+ function Ia(e) {
418
+ const t = T(() => e.initialSortOrder), a = q(e, "sortBy"), l = T(() => e.mustSort), n = T(() => e.multiSort);
516
419
  return {
517
420
  initialSortOrder: t,
518
421
  sortBy: a,
@@ -520,8 +423,8 @@ function Ta(e) {
520
423
  mustSort: l
521
424
  };
522
425
  }
523
- function Ca(e, t) {
524
- if (!jt(e))
426
+ function Da(e, t) {
427
+ if (!$t(e))
525
428
  return {
526
429
  active: !!e
527
430
  };
@@ -535,58 +438,58 @@ function Ca(e, t) {
535
438
  mode: r ? l === "append" ? "prepend" : "append" : l
536
439
  };
537
440
  }
538
- function _a(e) {
441
+ function Va(e) {
539
442
  const {
540
443
  initialSortOrder: t,
541
444
  sortBy: a,
542
445
  mustSort: l,
543
446
  multiSort: n,
544
447
  page: r
545
- } = e, i = (d, m) => {
546
- if (d.key == null) return;
547
- let h = a.value.map((c) => ({
548
- ...c
448
+ } = e, s = (c, m) => {
449
+ if (c.key == null) return;
450
+ let h = a.value.map((d) => ({
451
+ ...d
549
452
  })) ?? [];
550
- const s = h.find((c) => c.key === d.key), o = t.value, b = t.value === "desc" ? "asc" : "desc";
551
- if (s)
552
- s.order === b ? l.value && h.length === 1 ? s.order = t.value : h = h.filter((c) => c.key !== d.key) : s.order = b;
453
+ const o = h.find((d) => d.key === c.key), i = t.value, b = t.value === "desc" ? "asc" : "desc";
454
+ if (o)
455
+ o.order === b ? l.value && h.length === 1 ? o.order = t.value : h = h.filter((d) => d.key !== c.key) : o.order = b;
553
456
  else {
554
457
  const {
555
- active: c,
556
- mode: v
557
- } = Ca(n.value, m);
558
- c ? v === "prepend" ? h.unshift({
559
- key: d.key,
560
- order: o
458
+ active: d,
459
+ mode: g
460
+ } = Da(n.value, m);
461
+ d ? g === "prepend" ? h.unshift({
462
+ key: c.key,
463
+ order: i
561
464
  }) : h.push({
562
- key: d.key,
563
- order: o
465
+ key: c.key,
466
+ order: i
564
467
  }) : h = [{
565
- key: d.key,
566
- order: o
468
+ key: c.key,
469
+ order: i
567
470
  }];
568
471
  }
569
472
  a.value = h, r && (r.value = 1);
570
473
  };
571
- function f(d) {
572
- return !!a.value.find((m) => m.key === d.key);
474
+ function v(c) {
475
+ return !!a.value.find((m) => m.key === c.key);
573
476
  }
574
477
  const u = {
575
478
  sortBy: a,
576
- toggleSort: i,
577
- isSorted: f
479
+ toggleSort: s,
480
+ isSorted: v
578
481
  };
579
- return Y(st, u), u;
482
+ return Q(lt, u), u;
580
483
  }
581
- function ot() {
582
- const e = Q(st);
484
+ function nt() {
485
+ const e = U(lt);
583
486
  if (!e) throw new Error("Missing sort!");
584
487
  return e;
585
488
  }
586
- function Oa(e, t, a, l) {
587
- const n = Z();
489
+ function Fa(e, t, a, l) {
490
+ const n = X();
588
491
  return {
589
- sortedItems: F(() => a.value.length ? Ba(t.value, a.value, n.current.value, {
492
+ sortedItems: V(() => a.value.length ? Ta(t.value, a.value, n.current.value, {
590
493
  transform: l?.transform,
591
494
  sortFunctions: {
592
495
  ...e.customKeySort,
@@ -596,39 +499,39 @@ function Oa(e, t, a, l) {
596
499
  }) : t.value)
597
500
  };
598
501
  }
599
- function Ba(e, t, a, l) {
502
+ function Ta(e, t, a, l) {
600
503
  const n = new Intl.Collator(a, {
601
504
  sensitivity: "accent",
602
505
  usage: "sort"
603
506
  });
604
- return e.map((i) => [i, l?.transform ? l.transform(i) : i]).sort((i, f) => {
507
+ return e.map((s) => [s, l?.transform ? l.transform(s) : s]).sort((s, v) => {
605
508
  for (let u = 0; u < t.length; u++) {
606
- let d = !1;
509
+ let c = !1;
607
510
  const m = t[u].key, h = t[u].order ?? "asc";
608
511
  if (h === !1) continue;
609
- let s = ce(i[1], m), o = ce(f[1], m), b = i[0].raw, c = f[0].raw;
610
- if (h === "desc" && ([s, o] = [o, s], [b, c] = [c, b]), l?.sortRawFunctions?.[m]) {
611
- const v = l.sortRawFunctions[m](b, c);
612
- if (v == null) continue;
613
- if (d = !0, v) return v;
512
+ let o = ue(s[1], m), i = ue(v[1], m), b = s[0].raw, d = v[0].raw;
513
+ if (h === "desc" && ([o, i] = [i, o], [b, d] = [d, b]), l?.sortRawFunctions?.[m]) {
514
+ const g = l.sortRawFunctions[m](b, d);
515
+ if (g == null) continue;
516
+ if (c = !0, g) return g;
614
517
  }
615
518
  if (l?.sortFunctions?.[m]) {
616
- const v = l.sortFunctions[m](s, o);
617
- if (v == null) continue;
618
- if (d = !0, v) return v;
519
+ const g = l.sortFunctions[m](o, i);
520
+ if (g == null) continue;
521
+ if (c = !0, g) return g;
619
522
  }
620
- if (!d && (s instanceof Date && o instanceof Date && (s = s.getTime(), o = o.getTime()), [s, o] = [s, o].map((v) => v != null ? v.toString().toLocaleLowerCase() : v), s !== o))
621
- return oe(s) && oe(o) ? 0 : oe(s) ? -1 : oe(o) ? 1 : !isNaN(s) && !isNaN(o) ? Number(s) - Number(o) : n.compare(s, o);
523
+ if (!c && (o instanceof Date && i instanceof Date && (o = o.getTime(), i = i.getTime()), [o, i] = [o, i].map((g) => g != null ? g.toString().toLocaleLowerCase() : g), o !== i))
524
+ return re(o) && re(i) ? 0 : re(o) ? -1 : re(i) ? 1 : !isNaN(o) && !isNaN(i) ? Number(o) - Number(i) : n.compare(o, i);
622
525
  }
623
526
  return 0;
624
- }).map((i) => {
625
- let [f] = i;
626
- return f;
527
+ }).map((s) => {
528
+ let [v] = s;
529
+ return v;
627
530
  });
628
531
  }
629
- function La() {
630
- const e = H([]);
631
- Ot(() => e.value = []);
532
+ function Ca() {
533
+ const e = M([]);
534
+ Tt(() => e.value = []);
632
535
  function t(a, l) {
633
536
  e.value[l] = a;
634
537
  }
@@ -637,7 +540,7 @@ function La() {
637
540
  updateRef: t
638
541
  };
639
542
  }
640
- const Aa = _({
543
+ const _a = _({
641
544
  activeColor: String,
642
545
  start: {
643
546
  type: [Number, String],
@@ -655,19 +558,19 @@ const Aa = _({
655
558
  },
656
559
  totalVisible: [Number, String],
657
560
  firstIcon: {
658
- type: B,
561
+ type: O,
659
562
  default: "$first"
660
563
  },
661
564
  prevIcon: {
662
- type: B,
565
+ type: O,
663
566
  default: "$prev"
664
567
  },
665
568
  nextIcon: {
666
- type: B,
569
+ type: O,
667
570
  default: "$next"
668
571
  },
669
572
  lastIcon: {
670
- type: B,
573
+ type: O,
671
574
  default: "$last"
672
575
  },
673
576
  ariaLabel: {
@@ -703,22 +606,22 @@ const Aa = _({
703
606
  default: "..."
704
607
  },
705
608
  showFirstLastPage: Boolean,
706
- ...Ut(),
707
- ...Je(),
708
- ...le(),
709
- ...Ue(),
710
- ...zt(),
711
609
  ...Wt(),
712
- ...ze({
610
+ ...We(),
611
+ ...te(),
612
+ ...Ke(),
613
+ ...Kt(),
614
+ ...Gt(),
615
+ ...Ge({
713
616
  tag: "nav"
714
617
  }),
715
- ...De(),
716
- ...Gt({
618
+ ...ke(),
619
+ ...Mt({
717
620
  variant: "text"
718
621
  })
719
- }, "VPagination"), Ee = $()({
622
+ }, "VPagination"), Oe = $()({
720
623
  name: "VPagination",
721
- props: Aa(),
624
+ props: _a(),
722
625
  emits: {
723
626
  "update:modelValue": (e) => !0,
724
627
  first: (e) => !0,
@@ -731,63 +634,63 @@ const Aa = _({
731
634
  slots: a,
732
635
  emit: l
733
636
  } = t;
734
- const n = J(e, "modelValue"), {
637
+ const n = q(e, "modelValue"), {
735
638
  t: r,
736
- n: i
737
- } = Z(), {
738
- isRtl: f
639
+ n: s
640
+ } = X(), {
641
+ isRtl: v
739
642
  } = Ht(), {
740
643
  themeClasses: u
741
- } = Fe(e), {
742
- width: d
743
- } = ge(), m = de(-1);
744
- Pe(void 0, {
644
+ } = we(e), {
645
+ width: c
646
+ } = fe(), m = He(-1);
647
+ pe(void 0, {
745
648
  scoped: !0
746
649
  });
747
650
  const {
748
651
  resizeRef: h
749
- } = Kt((p) => {
652
+ } = jt((p) => {
750
653
  if (!p.length) return;
751
654
  const {
752
655
  target: x,
753
- contentRect: g
656
+ contentRect: f
754
657
  } = p[0], D = x.querySelector(".v-pagination__list > *");
755
658
  if (!D) return;
756
- const C = g.width, R = D.offsetWidth + parseFloat(getComputedStyle(D).marginRight) * 2;
757
- m.value = c(C, R);
758
- }), s = F(() => parseInt(e.length, 10)), o = F(() => parseInt(e.start, 10)), b = F(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : m.value >= 0 ? m.value : c(d.value, 58));
759
- function c(p, x) {
760
- const g = e.showFirstLastPage ? 5 : 3;
659
+ const C = f.width, R = D.offsetWidth + parseFloat(getComputedStyle(D).marginRight) * 2;
660
+ m.value = d(C, R);
661
+ }), o = V(() => parseInt(e.length, 10)), i = V(() => parseInt(e.start, 10)), b = V(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : m.value >= 0 ? m.value : d(c.value, 58));
662
+ function d(p, x) {
663
+ const f = e.showFirstLastPage ? 5 : 3;
761
664
  return Math.max(0, Math.floor(
762
665
  // Round to two decimal places to avoid floating point errors
763
- Number(((p - x * g) / x).toFixed(2))
666
+ Number(((p - x * f) / x).toFixed(2))
764
667
  ));
765
668
  }
766
- const v = F(() => {
767
- if (s.value <= 0 || isNaN(s.value) || s.value > Number.MAX_SAFE_INTEGER) return [];
669
+ const g = V(() => {
670
+ if (o.value <= 0 || isNaN(o.value) || o.value > Number.MAX_SAFE_INTEGER) return [];
768
671
  if (b.value <= 0) return [];
769
672
  if (b.value === 1) return [n.value];
770
- if (s.value <= b.value)
771
- return ie(s.value, o.value);
772
- const p = b.value % 2 === 0, x = p ? b.value / 2 : Math.floor(b.value / 2), g = p ? x : x + 1, D = s.value - x;
773
- if (g - n.value >= 0)
774
- return [...ie(Math.max(1, b.value - 1), o.value), e.ellipsis, s.value];
673
+ if (o.value <= b.value)
674
+ return oe(o.value, i.value);
675
+ const p = b.value % 2 === 0, x = p ? b.value / 2 : Math.floor(b.value / 2), f = p ? x : x + 1, D = o.value - x;
676
+ if (f - n.value >= 0)
677
+ return [...oe(Math.max(1, b.value - 1), i.value), e.ellipsis, o.value];
775
678
  if (n.value - D >= (p ? 1 : 0)) {
776
- const C = b.value - 1, R = s.value - C + o.value;
777
- return [o.value, e.ellipsis, ...ie(C, R)];
679
+ const C = b.value - 1, R = o.value - C + i.value;
680
+ return [i.value, e.ellipsis, ...oe(C, R)];
778
681
  } else {
779
- const C = Math.max(1, b.value - 2), R = C === 1 ? n.value : n.value - Math.ceil(C / 2) + o.value;
780
- return [o.value, e.ellipsis, ...ie(C, R), e.ellipsis, s.value];
682
+ const C = Math.max(1, b.value - 2), R = C === 1 ? n.value : n.value - Math.ceil(C / 2) + i.value;
683
+ return [i.value, e.ellipsis, ...oe(C, R), e.ellipsis, o.value];
781
684
  }
782
685
  });
783
- function w(p, x, g) {
784
- p.preventDefault(), n.value = x, g && l(g, x);
686
+ function I(p, x, f) {
687
+ p.preventDefault(), n.value = x, f && l(f, x);
785
688
  }
786
689
  const {
787
690
  refs: y,
788
- updateRef: P
789
- } = La();
790
- Pe({
691
+ updateRef: k
692
+ } = Ca();
693
+ pe({
791
694
  VPaginationBtn: {
792
695
  color: T(() => e.color),
793
696
  border: T(() => e.border),
@@ -798,15 +701,15 @@ const Aa = _({
798
701
  elevation: T(() => e.elevation)
799
702
  }
800
703
  });
801
- const V = F(() => v.value.map((p, x) => {
802
- const g = (D) => P(D, x);
704
+ const F = V(() => g.value.map((p, x) => {
705
+ const f = (D) => k(D, x);
803
706
  if (typeof p == "string")
804
707
  return {
805
708
  isActive: !1,
806
709
  key: `ellipsis-${x}`,
807
710
  page: p,
808
711
  props: {
809
- ref: g,
712
+ ref: f,
810
713
  ellipsis: !0,
811
714
  icon: !0,
812
715
  disabled: !0
@@ -817,63 +720,63 @@ const Aa = _({
817
720
  return {
818
721
  isActive: D,
819
722
  key: p,
820
- page: i(p),
723
+ page: s(p),
821
724
  props: {
822
- ref: g,
725
+ ref: f,
823
726
  ellipsis: !1,
824
727
  icon: !0,
825
728
  disabled: !!e.disabled || Number(e.length) < 2,
826
729
  color: D ? e.activeColor : e.color,
827
730
  "aria-current": D,
828
731
  "aria-label": r(D ? e.currentPageAriaLabel : e.pageAriaLabel, p),
829
- onClick: (C) => w(C, p)
732
+ onClick: (C) => I(C, p)
830
733
  }
831
734
  };
832
735
  }
833
- })), k = F(() => {
834
- const p = !!e.disabled || n.value <= o.value, x = !!e.disabled || n.value >= o.value + s.value - 1;
736
+ })), P = V(() => {
737
+ const p = !!e.disabled || n.value <= i.value, x = !!e.disabled || n.value >= i.value + o.value - 1;
835
738
  return {
836
739
  first: e.showFirstLastPage ? {
837
- icon: f.value ? e.lastIcon : e.firstIcon,
838
- onClick: (g) => w(g, o.value, "first"),
740
+ icon: v.value ? e.lastIcon : e.firstIcon,
741
+ onClick: (f) => I(f, i.value, "first"),
839
742
  disabled: p,
840
743
  "aria-label": r(e.firstAriaLabel),
841
744
  "aria-disabled": p
842
745
  } : void 0,
843
746
  prev: {
844
- icon: f.value ? e.nextIcon : e.prevIcon,
845
- onClick: (g) => w(g, n.value - 1, "prev"),
747
+ icon: v.value ? e.nextIcon : e.prevIcon,
748
+ onClick: (f) => I(f, n.value - 1, "prev"),
846
749
  disabled: p,
847
750
  "aria-label": r(e.previousAriaLabel),
848
751
  "aria-disabled": p
849
752
  },
850
753
  next: {
851
- icon: f.value ? e.prevIcon : e.nextIcon,
852
- onClick: (g) => w(g, n.value + 1, "next"),
754
+ icon: v.value ? e.prevIcon : e.nextIcon,
755
+ onClick: (f) => I(f, n.value + 1, "next"),
853
756
  disabled: x,
854
757
  "aria-label": r(e.nextAriaLabel),
855
758
  "aria-disabled": x
856
759
  },
857
760
  last: e.showFirstLastPage ? {
858
- icon: f.value ? e.firstIcon : e.lastIcon,
859
- onClick: (g) => w(g, o.value + s.value - 1, "last"),
761
+ icon: v.value ? e.firstIcon : e.lastIcon,
762
+ onClick: (f) => I(f, i.value + o.value - 1, "last"),
860
763
  disabled: x,
861
764
  "aria-label": r(e.lastAriaLabel),
862
765
  "aria-disabled": x
863
766
  } : void 0
864
767
  };
865
768
  });
866
- function L() {
867
- const p = n.value - o.value;
769
+ function A() {
770
+ const p = n.value - i.value;
868
771
  y.value[p]?.$el.focus();
869
772
  }
870
773
  function N(p) {
871
- p.key === Be.left && !e.disabled && n.value > Number(e.start) ? (n.value = n.value - 1, _e(L)) : p.key === Be.right && !e.disabled && n.value < o.value + s.value - 1 && (n.value = n.value + 1, _e(L));
774
+ p.key === Ce.left && !e.disabled && n.value > Number(e.start) ? (n.value = n.value - 1, Fe(A)) : p.key === Ce.right && !e.disabled && n.value < i.value + o.value - 1 && (n.value = n.value + 1, Fe(A));
872
775
  }
873
- return G(() => I(e.tag, {
776
+ return K(() => w(e.tag, {
874
777
  ref: h,
875
- class: K(["v-pagination", u.value, e.class]),
876
- style: Ie(e.style),
778
+ class: G(["v-pagination", u.value, e.class]),
779
+ style: Pe(e.style),
877
780
  role: "navigation",
878
781
  "aria-label": r(e.ariaLabel),
879
782
  onKeydown: N,
@@ -885,21 +788,21 @@ const Aa = _({
885
788
  key: "first",
886
789
  class: "v-pagination__first",
887
790
  "data-test": "v-pagination-first"
888
- }, [a.first ? a.first(k.value.first) : I(W, O({
791
+ }, [a.first ? a.first(P.value.first) : w(W, B({
889
792
  _as: "VPaginationBtn"
890
- }, k.value.first), null)]), S("li", {
793
+ }, P.value.first), null)]), S("li", {
891
794
  key: "prev",
892
795
  class: "v-pagination__prev",
893
796
  "data-test": "v-pagination-prev"
894
- }, [a.prev ? a.prev(k.value.prev) : I(W, O({
797
+ }, [a.prev ? a.prev(P.value.prev) : w(W, B({
895
798
  _as: "VPaginationBtn"
896
- }, k.value.prev), null)]), V.value.map((p, x) => S("li", {
799
+ }, P.value.prev), null)]), F.value.map((p, x) => S("li", {
897
800
  key: p.key,
898
- class: K(["v-pagination__item", {
801
+ class: G(["v-pagination__item", {
899
802
  "v-pagination__item--is-active": p.isActive
900
803
  }]),
901
804
  "data-test": "v-pagination-item"
902
- }, [a.item ? a.item(p) : I(W, O({
805
+ }, [a.item ? a.item(p) : w(W, B({
903
806
  _as: "VPaginationBtn"
904
807
  }, p.props), {
905
808
  default: () => [p.page]
@@ -907,33 +810,33 @@ const Aa = _({
907
810
  key: "next",
908
811
  class: "v-pagination__next",
909
812
  "data-test": "v-pagination-next"
910
- }, [a.next ? a.next(k.value.next) : I(W, O({
813
+ }, [a.next ? a.next(P.value.next) : w(W, B({
911
814
  _as: "VPaginationBtn"
912
- }, k.value.next), null)]), e.showFirstLastPage && S("li", {
815
+ }, P.value.next), null)]), e.showFirstLastPage && S("li", {
913
816
  key: "last",
914
817
  class: "v-pagination__last",
915
818
  "data-test": "v-pagination-last"
916
- }, [a.last ? a.last(k.value.last) : I(W, O({
819
+ }, [a.last ? a.last(P.value.last) : w(W, B({
917
820
  _as: "VPaginationBtn"
918
- }, k.value.last), null)])])]
821
+ }, P.value.last), null)])])]
919
822
  })), {};
920
823
  }
921
- }), it = _({
824
+ }), rt = _({
922
825
  color: String,
923
826
  prevIcon: {
924
- type: B,
827
+ type: O,
925
828
  default: "$prev"
926
829
  },
927
830
  nextIcon: {
928
- type: B,
831
+ type: O,
929
832
  default: "$next"
930
833
  },
931
834
  firstIcon: {
932
- type: B,
835
+ type: O,
933
836
  default: "$first"
934
837
  },
935
838
  lastIcon: {
936
- type: B,
839
+ type: O,
937
840
  default: "$last"
938
841
  },
939
842
  itemsPerPageText: {
@@ -980,53 +883,53 @@ const Aa = _({
980
883
  }]
981
884
  },
982
885
  showCurrentPage: Boolean
983
- }, "VDataTableFooter"), Ne = $()({
886
+ }, "VDataTableFooter"), Ae = $()({
984
887
  name: "VDataTableFooter",
985
- props: it(),
888
+ props: rt(),
986
889
  setup(e, t) {
987
890
  let {
988
891
  slots: a
989
892
  } = t;
990
893
  const {
991
894
  t: l
992
- } = Z(), {
895
+ } = X(), {
993
896
  page: n,
994
897
  pageCount: r,
995
- startIndex: i,
996
- stopIndex: f,
898
+ startIndex: s,
899
+ stopIndex: v,
997
900
  itemsLength: u,
998
- itemsPerPage: d,
901
+ itemsPerPage: c,
999
902
  setItemsPerPage: m
1000
- } = Pa(), h = F(() => e.itemsPerPageOptions.map((s) => typeof s == "number" ? {
1001
- value: s,
1002
- title: s === -1 ? l("$vuetify.dataFooter.itemsPerPageAll") : String(s)
903
+ } = ya(), h = V(() => e.itemsPerPageOptions.map((o) => typeof o == "number" ? {
904
+ value: o,
905
+ title: o === -1 ? l("$vuetify.dataFooter.itemsPerPageAll") : String(o)
1003
906
  } : {
1004
- ...s,
1005
- title: isNaN(Number(s.title)) ? l(s.title) : s.title
907
+ ...o,
908
+ title: isNaN(Number(o.title)) ? l(o.title) : o.title
1006
909
  }));
1007
- return G(() => {
1008
- const s = Ee.filterProps(e);
910
+ return K(() => {
911
+ const o = Oe.filterProps(e);
1009
912
  return S("div", {
1010
913
  class: "v-data-table-footer"
1011
914
  }, [a.prepend?.(), S("div", {
1012
915
  class: "v-data-table-footer__items-per-page"
1013
916
  }, [S("span", {
1014
917
  "aria-label": l(e.itemsPerPageText)
1015
- }, [l(e.itemsPerPageText)]), I(Xe, {
918
+ }, [l(e.itemsPerPageText)]), w(qe, {
1016
919
  items: h.value,
1017
920
  itemColor: e.color,
1018
- modelValue: d.value,
1019
- "onUpdate:modelValue": (o) => m(Number(o)),
921
+ modelValue: c.value,
922
+ "onUpdate:modelValue": (i) => m(Number(i)),
1020
923
  density: "compact",
1021
924
  variant: "outlined",
1022
925
  hideDetails: !0
1023
926
  }, null)]), S("div", {
1024
927
  class: "v-data-table-footer__info"
1025
- }, [S("div", null, [l(e.pageText, u.value ? i.value + 1 : 0, f.value, u.value)])]), S("div", {
928
+ }, [S("div", null, [l(e.pageText, u.value ? s.value + 1 : 0, v.value, u.value)])]), S("div", {
1026
929
  class: "v-data-table-footer__pagination"
1027
- }, [I(Ee, O({
930
+ }, [w(Oe, B({
1028
931
  modelValue: n.value,
1029
- "onUpdate:modelValue": (o) => n.value = o,
932
+ "onUpdate:modelValue": (i) => n.value = i,
1030
933
  density: "comfortable",
1031
934
  firstAriaLabel: e.firstPageLabel,
1032
935
  lastAriaLabel: e.lastPageLabel,
@@ -1037,10 +940,10 @@ const Aa = _({
1037
940
  showFirstLastPage: !0,
1038
941
  totalVisible: e.showCurrentPage ? 1 : 0,
1039
942
  variant: "plain"
1040
- }, Ve(s, ["color"])), null)])]);
943
+ }, Ie(o, ["color"])), null)])]);
1041
944
  }), {};
1042
945
  }
1043
- }), ae = Jt({
946
+ }), ee = zt({
1044
947
  align: {
1045
948
  type: String,
1046
949
  default: "start"
@@ -1066,8 +969,8 @@ const Aa = _({
1066
969
  slots: a
1067
970
  } = t;
1068
971
  const l = e.tag ?? "td", n = typeof e.fixed == "string" ? e.fixed : e.fixed ? "start" : "none";
1069
- return I(l, {
1070
- class: K(["v-data-table__td", {
972
+ return w(l, {
973
+ class: G(["v-data-table__td", {
1071
974
  "v-data-table-column--fixed": n === "start",
1072
975
  "v-data-table-column--fixed-end": n === "end",
1073
976
  "v-data-table-column--last-fixed": e.lastFixed,
@@ -1077,26 +980,26 @@ const Aa = _({
1077
980
  "v-data-table-column--empty": e.empty
1078
981
  }, `v-data-table-column--align-${e.align}`]),
1079
982
  style: {
1080
- height: A(e.height),
1081
- width: A(e.width),
1082
- maxWidth: A(e.maxWidth),
1083
- left: n === "start" ? A(e.fixedOffset || null) : void 0,
1084
- right: n === "end" ? A(e.fixedEndOffset || null) : void 0,
1085
- paddingInlineStart: e.indent ? A(e.indent) : void 0
983
+ height: E(e.height),
984
+ width: E(e.width),
985
+ maxWidth: E(e.maxWidth),
986
+ left: n === "start" ? E(e.fixedOffset || null) : void 0,
987
+ right: n === "end" ? E(e.fixedEndOffset || null) : void 0,
988
+ paddingInlineStart: e.indent ? E(e.indent) : void 0
1086
989
  }
1087
990
  }, {
1088
991
  default: () => [a.default?.()]
1089
992
  });
1090
- }), Ea = _({
993
+ }), Ba = _({
1091
994
  headers: Array
1092
- }, "DataTable-header"), ut = Symbol.for("vuetify:data-table-headers"), dt = {
995
+ }, "DataTable-header"), ot = Symbol.for("vuetify:data-table-headers"), st = {
1093
996
  title: "",
1094
997
  sortable: !1
1095
- }, Na = {
1096
- ...dt,
998
+ }, Oa = {
999
+ ...st,
1097
1000
  width: 48
1098
1001
  };
1099
- function Ra() {
1002
+ function Aa() {
1100
1003
  const t = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []).map((a) => ({
1101
1004
  element: a,
1102
1005
  priority: 0
@@ -1129,53 +1032,53 @@ function Ra() {
1129
1032
  dequeue: () => t.shift()
1130
1033
  };
1131
1034
  }
1132
- function we(e) {
1035
+ function Se(e) {
1133
1036
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1134
1037
  if (!e.children)
1135
1038
  t.push(e);
1136
1039
  else
1137
1040
  for (const a of e.children)
1138
- we(a, t);
1041
+ Se(a, t);
1139
1042
  return t;
1140
1043
  }
1141
- function ct(e) {
1044
+ function it(e) {
1142
1045
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : /* @__PURE__ */ new Set();
1143
1046
  for (const a of e)
1144
- a.key && t.add(a.key), a.children && ct(a.children, t);
1047
+ a.key && t.add(a.key), a.children && it(a.children, t);
1145
1048
  return t;
1146
1049
  }
1147
- function $a(e) {
1050
+ function Ea(e) {
1148
1051
  if (e.key) {
1149
- if (e.key === "data-table-group") return dt;
1150
- if (["data-table-expand", "data-table-select"].includes(e.key)) return Na;
1052
+ if (e.key === "data-table-group") return st;
1053
+ if (["data-table-expand", "data-table-select"].includes(e.key)) return Oa;
1151
1054
  }
1152
1055
  }
1153
- function Ce(e) {
1056
+ function Ve(e) {
1154
1057
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
1155
- return e.children ? Math.max(t, ...e.children.map((a) => Ce(a, t + 1))) : t;
1058
+ return e.children ? Math.max(t, ...e.children.map((a) => Ve(a, t + 1))) : t;
1156
1059
  }
1157
- function Ma(e) {
1060
+ function La(e) {
1158
1061
  let t = !1;
1159
- function a(r, i) {
1160
- let f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "none";
1062
+ function a(r, s) {
1063
+ let v = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "none";
1161
1064
  if (r)
1162
- if (f !== "none" && (r.fixed = f), r.fixed === !0 && (r.fixed = "start"), r.fixed === i)
1065
+ if (v !== "none" && (r.fixed = v), r.fixed === !0 && (r.fixed = "start"), r.fixed === s)
1163
1066
  if (r.children)
1164
- if (i === "start")
1067
+ if (s === "start")
1165
1068
  for (let u = r.children.length - 1; u >= 0; u--)
1166
- a(r.children[u], i, i);
1069
+ a(r.children[u], s, s);
1167
1070
  else
1168
1071
  for (let u = 0; u < r.children.length; u++)
1169
- a(r.children[u], i, i);
1072
+ a(r.children[u], s, s);
1170
1073
  else
1171
- !t && i === "start" ? r.lastFixed = !0 : !t && i === "end" ? r.firstFixedEnd = !0 : isNaN(Number(r.width)) ? Qt(`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;
1074
+ !t && s === "start" ? r.lastFixed = !0 : !t && s === "end" ? r.firstFixedEnd = !0 : isNaN(Number(r.width)) ? qt(`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;
1172
1075
  else if (r.children)
1173
- if (i === "start")
1076
+ if (s === "start")
1174
1077
  for (let u = r.children.length - 1; u >= 0; u--)
1175
- a(r.children[u], i);
1078
+ a(r.children[u], s);
1176
1079
  else
1177
1080
  for (let u = 0; u < r.children.length; u++)
1178
- a(r.children[u], i);
1081
+ a(r.children[u], s);
1179
1082
  else
1180
1083
  t = !1;
1181
1084
  }
@@ -1185,127 +1088,127 @@ function Ma(e) {
1185
1088
  a(e[r], "end");
1186
1089
  let l = 0;
1187
1090
  for (let r = 0; r < e.length; r++)
1188
- l = ft(e[r], l);
1091
+ l = ut(e[r], l);
1189
1092
  let n = 0;
1190
1093
  for (let r = e.length - 1; r >= 0; r--)
1191
- n = vt(e[r], n);
1094
+ n = dt(e[r], n);
1192
1095
  }
1193
- function ft(e) {
1096
+ function ut(e) {
1194
1097
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
1195
1098
  if (!e) return t;
1196
1099
  if (e.children) {
1197
1100
  e.fixedOffset = t;
1198
1101
  for (const a of e.children)
1199
- t = ft(a, t);
1102
+ t = ut(a, t);
1200
1103
  } else e.fixed && e.fixed !== "end" && (e.fixedOffset = t, t += parseFloat(e.width || "0") || 0);
1201
1104
  return t;
1202
1105
  }
1203
- function vt(e) {
1106
+ function dt(e) {
1204
1107
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
1205
1108
  if (!e) return t;
1206
1109
  if (e.children) {
1207
1110
  e.fixedEndOffset = t;
1208
1111
  for (const a of e.children)
1209
- t = vt(a, t);
1112
+ t = dt(a, t);
1210
1113
  } else e.fixed === "end" && (e.fixedEndOffset = t, t += parseFloat(e.width || "0") || 0);
1211
1114
  return t;
1212
1115
  }
1213
- function ja(e, t) {
1116
+ function Na(e, t) {
1214
1117
  const a = [];
1215
1118
  let l = 0;
1216
- const n = Ra(e);
1119
+ const n = Aa(e);
1217
1120
  for (; n.size() > 0; ) {
1218
- let i = n.count();
1219
- const f = [];
1121
+ let s = n.count();
1122
+ const v = [];
1220
1123
  let u = 1;
1221
- for (; i > 0; ) {
1124
+ for (; s > 0; ) {
1222
1125
  const {
1223
- element: d,
1126
+ element: c,
1224
1127
  priority: m
1225
- } = n.dequeue(), h = t - l - Ce(d);
1226
- if (f.push({
1227
- ...d,
1128
+ } = n.dequeue(), h = t - l - Ve(c);
1129
+ if (v.push({
1130
+ ...c,
1228
1131
  rowspan: h ?? 1,
1229
- colspan: d.children ? we(d).length : 1
1230
- }), d.children)
1231
- for (const s of d.children) {
1232
- const o = m % 1 + u / Math.pow(10, l + 2);
1233
- n.enqueue(s, l + h + o);
1132
+ colspan: c.children ? Se(c).length : 1
1133
+ }), c.children)
1134
+ for (const o of c.children) {
1135
+ const i = m % 1 + u / Math.pow(10, l + 2);
1136
+ n.enqueue(o, l + h + i);
1234
1137
  }
1235
- u += 1, i -= 1;
1138
+ u += 1, s -= 1;
1236
1139
  }
1237
- l += 1, a.push(f);
1140
+ l += 1, a.push(v);
1238
1141
  }
1239
1142
  return {
1240
- columns: e.map((i) => we(i)).flat(),
1143
+ columns: e.map((s) => Se(s)).flat(),
1241
1144
  headers: a
1242
1145
  };
1243
1146
  }
1244
- function gt(e) {
1147
+ function ct(e) {
1245
1148
  const t = [];
1246
1149
  for (const a of e) {
1247
1150
  const l = {
1248
- ...$a(a),
1151
+ ...Ea(a),
1249
1152
  ...a
1250
- }, n = l.key ?? (typeof l.value == "string" ? l.value : null), r = l.value ?? n ?? null, i = {
1153
+ }, n = l.key ?? (typeof l.value == "string" ? l.value : null), r = l.value ?? n ?? null, s = {
1251
1154
  ...l,
1252
1155
  key: n,
1253
1156
  value: r,
1254
1157
  sortable: l.sortable ?? (l.key != null || !!l.sort),
1255
- children: l.children ? gt(l.children) : void 0
1158
+ children: l.children ? ct(l.children) : void 0
1256
1159
  };
1257
- t.push(i);
1160
+ t.push(s);
1258
1161
  }
1259
1162
  return t;
1260
1163
  }
1261
- function Ha(e, t) {
1262
- const a = H([]), l = H([]), n = H({}), r = H({}), i = H({});
1263
- Ke(() => {
1264
- const d = (e.headers || Object.keys(e.items[0] ?? {}).map((c) => ({
1265
- key: c,
1266
- title: Bt(c)
1267
- }))).slice(), m = ct(d);
1268
- t?.groupBy?.value.length && !m.has("data-table-group") && d.unshift({
1164
+ function Ra(e, t) {
1165
+ const a = M([]), l = M([]), n = M({}), r = M({}), s = M({});
1166
+ Ct(() => {
1167
+ const c = (e.headers || Object.keys(e.items[0] ?? {}).map((d) => ({
1168
+ key: d,
1169
+ title: _t(d)
1170
+ }))).slice(), m = it(c);
1171
+ t?.groupBy?.value.length && !m.has("data-table-group") && c.unshift({
1269
1172
  key: "data-table-group",
1270
1173
  title: "Group"
1271
- }), t?.showSelect?.value && !m.has("data-table-select") && d.unshift({
1174
+ }), t?.showSelect?.value && !m.has("data-table-select") && c.unshift({
1272
1175
  key: "data-table-select"
1273
- }), t?.showExpand?.value && !m.has("data-table-expand") && d.push({
1176
+ }), t?.showExpand?.value && !m.has("data-table-expand") && c.push({
1274
1177
  key: "data-table-expand"
1275
1178
  });
1276
- const h = gt(d);
1277
- Ma(h);
1278
- const s = Math.max(...h.map((c) => Ce(c))) + 1, o = ja(h, s);
1279
- a.value = o.headers, l.value = o.columns;
1280
- const b = o.headers.flat(1);
1281
- for (const c of b)
1282
- c.key && (c.sortable && (c.sort && (n.value[c.key] = c.sort), c.sortRaw && (r.value[c.key] = c.sortRaw)), c.filter && (i.value[c.key] = c.filter));
1179
+ const h = ct(c);
1180
+ La(h);
1181
+ const o = Math.max(...h.map((d) => Ve(d))) + 1, i = Na(h, o);
1182
+ a.value = i.headers, l.value = i.columns;
1183
+ const b = i.headers.flat(1);
1184
+ for (const d of b)
1185
+ d.key && (d.sortable && (d.sort && (n.value[d.key] = d.sort), d.sortRaw && (r.value[d.key] = d.sortRaw)), d.filter && (s.value[d.key] = d.filter));
1283
1186
  });
1284
- const f = {
1187
+ const v = {
1285
1188
  headers: a,
1286
1189
  columns: l,
1287
1190
  sortFunctions: n,
1288
1191
  sortRawFunctions: r,
1289
- filterFunctions: i
1192
+ filterFunctions: s
1290
1193
  };
1291
- return Y(ut, f), f;
1194
+ return Q(ot, v), v;
1292
1195
  }
1293
- function be() {
1294
- const e = Q(ut);
1196
+ function ge() {
1197
+ const e = U(ot);
1295
1198
  if (!e) throw new Error("Missing headers!");
1296
1199
  return e;
1297
1200
  }
1298
- const mt = _({
1201
+ const ft = _({
1299
1202
  color: String,
1300
1203
  disableSort: Boolean,
1301
1204
  fixedHeader: Boolean,
1302
1205
  multiSort: Boolean,
1303
1206
  sortAscIcon: {
1304
- type: B,
1207
+ type: O,
1305
1208
  default: "$sortAsc"
1306
1209
  },
1307
1210
  sortDescIcon: {
1308
- type: B,
1211
+ type: O,
1309
1212
  default: "$sortDesc"
1310
1213
  },
1311
1214
  headerProps: {
@@ -1313,141 +1216,141 @@ const mt = _({
1313
1216
  },
1314
1217
  /** @deprecated */
1315
1218
  sticky: Boolean,
1316
- ...le(),
1317
- ...Te(),
1318
- ...Zt()
1319
- }, "VDataTableHeaders"), Re = $()({
1219
+ ...te(),
1220
+ ...De(),
1221
+ ...Qt()
1222
+ }, "VDataTableHeaders"), Ee = $()({
1320
1223
  name: "VDataTableHeaders",
1321
- props: mt(),
1224
+ props: ft(),
1322
1225
  setup(e, t) {
1323
1226
  let {
1324
1227
  slots: a
1325
1228
  } = t;
1326
1229
  const {
1327
1230
  t: l
1328
- } = Z(), {
1231
+ } = X(), {
1329
1232
  toggleSort: n,
1330
1233
  sortBy: r,
1331
- isSorted: i
1332
- } = ot(), {
1333
- someSelected: f,
1234
+ isSorted: s
1235
+ } = nt(), {
1236
+ someSelected: v,
1334
1237
  allSelected: u,
1335
- selectAll: d,
1238
+ selectAll: c,
1336
1239
  showSelectAll: m
1337
- } = me(), {
1240
+ } = ve(), {
1338
1241
  columns: h,
1339
- headers: s
1340
- } = be(), {
1341
- loaderClasses: o
1342
- } = Xt(e);
1343
- function b(x, g) {
1242
+ headers: o
1243
+ } = ge(), {
1244
+ loaderClasses: i
1245
+ } = Ut(e);
1246
+ function b(x, f) {
1344
1247
  if (!(e.sticky || e.fixedHeader) && !x.fixed) return;
1345
1248
  const D = typeof x.fixed == "string" ? x.fixed : x.fixed ? "start" : "none";
1346
1249
  return {
1347
1250
  position: "sticky",
1348
- left: D === "start" ? A(x.fixedOffset) : void 0,
1349
- right: D === "end" ? A(x.fixedEndOffset) : void 0,
1350
- top: e.sticky || e.fixedHeader ? `calc(var(--v-table-header-height) * ${g})` : void 0
1251
+ left: D === "start" ? E(x.fixedOffset) : void 0,
1252
+ right: D === "end" ? E(x.fixedEndOffset) : void 0,
1253
+ top: e.sticky || e.fixedHeader ? `calc(var(--v-table-header-height) * ${f})` : void 0
1351
1254
  };
1352
1255
  }
1353
- function c(x, g) {
1354
- x.key === "Enter" && !e.disableSort && n(g, x);
1256
+ function d(x, f) {
1257
+ x.key === "Enter" && !e.disableSort && n(f, x);
1355
1258
  }
1356
- function v(x) {
1357
- const g = r.value.find((D) => D.key === x.key);
1358
- return g ? g.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
1259
+ function g(x) {
1260
+ const f = r.value.find((D) => D.key === x.key);
1261
+ return f ? f.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
1359
1262
  }
1360
1263
  const {
1361
- backgroundColorClasses: w,
1264
+ backgroundColorClasses: I,
1362
1265
  backgroundColorStyles: y
1363
- } = Qe(() => e.color), {
1364
- displayClasses: P,
1365
- mobile: V
1366
- } = ge(e), k = F(() => ({
1367
- headers: s.value,
1266
+ } = ze(() => e.color), {
1267
+ displayClasses: k,
1268
+ mobile: F
1269
+ } = fe(e), P = V(() => ({
1270
+ headers: o.value,
1368
1271
  columns: h.value,
1369
1272
  toggleSort: n,
1370
- isSorted: i,
1273
+ isSorted: s,
1371
1274
  sortBy: r.value,
1372
- someSelected: f.value,
1275
+ someSelected: v.value,
1373
1276
  allSelected: u.value,
1374
- selectAll: d,
1375
- getSortIcon: v
1376
- })), L = F(() => ["v-data-table__th", {
1277
+ selectAll: c,
1278
+ getSortIcon: g
1279
+ })), A = V(() => ["v-data-table__th", {
1377
1280
  "v-data-table__th--sticky": e.sticky || e.fixedHeader
1378
- }, P.value, o.value]), N = (x) => {
1281
+ }, k.value, i.value]), N = (x) => {
1379
1282
  let {
1380
- column: g,
1283
+ column: f,
1381
1284
  x: D,
1382
1285
  y: C
1383
1286
  } = x;
1384
- const R = g.key === "data-table-select" || g.key === "data-table-expand", ne = g.key === "data-table-group" && g.width === 0 && !g.title, ye = O(e.headerProps ?? {}, g.headerProps ?? {});
1385
- return I(ae, O({
1287
+ const R = f.key === "data-table-select" || f.key === "data-table-expand", ae = f.key === "data-table-group" && f.width === 0 && !f.title, be = B(e.headerProps ?? {}, f.headerProps ?? {});
1288
+ return w(ee, B({
1386
1289
  tag: "th",
1387
- align: g.align,
1290
+ align: f.align,
1388
1291
  class: [{
1389
- "v-data-table__th--sortable": g.sortable && !e.disableSort,
1390
- "v-data-table__th--sorted": i(g),
1391
- "v-data-table__th--fixed": g.fixed
1392
- }, ...L.value],
1292
+ "v-data-table__th--sortable": f.sortable && !e.disableSort,
1293
+ "v-data-table__th--sorted": s(f),
1294
+ "v-data-table__th--fixed": f.fixed
1295
+ }, ...A.value],
1393
1296
  style: {
1394
- width: A(g.width),
1395
- minWidth: A(g.minWidth),
1396
- maxWidth: A(g.maxWidth),
1397
- ...b(g, C)
1297
+ width: E(f.width),
1298
+ minWidth: E(f.minWidth),
1299
+ maxWidth: E(f.maxWidth),
1300
+ ...b(f, C)
1398
1301
  },
1399
- colspan: g.colspan,
1400
- rowspan: g.rowspan,
1401
- fixed: g.fixed,
1402
- nowrap: g.nowrap,
1403
- lastFixed: g.lastFixed,
1404
- firstFixedEnd: g.firstFixedEnd,
1302
+ colspan: f.colspan,
1303
+ rowspan: f.rowspan,
1304
+ fixed: f.fixed,
1305
+ nowrap: f.nowrap,
1306
+ lastFixed: f.lastFixed,
1307
+ firstFixedEnd: f.firstFixedEnd,
1405
1308
  noPadding: R,
1406
- empty: ne,
1407
- tabindex: g.sortable ? 0 : void 0,
1408
- onClick: g.sortable ? (M) => n(g, M) : void 0,
1409
- onKeydown: g.sortable ? (M) => c(M, g) : void 0
1410
- }, ye), {
1309
+ empty: ae,
1310
+ tabindex: f.sortable ? 0 : void 0,
1311
+ onClick: f.sortable ? (H) => n(f, H) : void 0,
1312
+ onKeydown: f.sortable ? (H) => d(H, f) : void 0
1313
+ }, be), {
1411
1314
  default: () => {
1412
- const M = `header.${g.key}`, X = {
1413
- column: g,
1414
- selectAll: d,
1415
- isSorted: i,
1315
+ const H = `header.${f.key}`, J = {
1316
+ column: f,
1317
+ selectAll: c,
1318
+ isSorted: s,
1416
1319
  toggleSort: n,
1417
1320
  sortBy: r.value,
1418
- someSelected: f.value,
1321
+ someSelected: v.value,
1419
1322
  allSelected: u.value,
1420
- getSortIcon: v
1323
+ getSortIcon: g
1421
1324
  };
1422
- return a[M] ? a[M](X) : ne ? "" : g.key === "data-table-select" ? a["header.data-table-select"]?.(X) ?? (m.value && I(fe, {
1325
+ return a[H] ? a[H](J) : ae ? "" : f.key === "data-table-select" ? a["header.data-table-select"]?.(J) ?? (m.value && w(de, {
1423
1326
  color: e.color,
1424
1327
  density: e.density,
1425
1328
  modelValue: u.value,
1426
- indeterminate: f.value && !u.value,
1427
- "onUpdate:modelValue": d
1329
+ indeterminate: v.value && !u.value,
1330
+ "onUpdate:modelValue": c
1428
1331
  }, null)) : S("div", {
1429
1332
  class: "v-data-table-header__content"
1430
- }, [S("span", null, [g.title]), g.sortable && !e.disableSort && I(Le, {
1333
+ }, [S("span", null, [f.title]), f.sortable && !e.disableSort && w(_e, {
1431
1334
  key: "icon",
1432
1335
  class: "v-data-table-header__sort-icon",
1433
- icon: v(g)
1434
- }, null), e.multiSort && i(g) && S("div", {
1336
+ icon: g(f)
1337
+ }, null), e.multiSort && s(f) && S("div", {
1435
1338
  key: "badge",
1436
- class: K(["v-data-table-header__sort-badge", ...w.value]),
1437
- style: Ie(y.value)
1438
- }, [r.value.findIndex((q) => q.key === g.key) + 1])]);
1339
+ class: G(["v-data-table-header__sort-badge", ...I.value]),
1340
+ style: Pe(y.value)
1341
+ }, [r.value.findIndex((Y) => Y.key === f.key) + 1])]);
1439
1342
  }
1440
1343
  });
1441
1344
  }, p = () => {
1442
- const x = F(() => h.value.filter((g) => g?.sortable && !e.disableSort));
1443
- return I(ae, O({
1345
+ const x = V(() => h.value.filter((f) => f?.sortable && !e.disableSort));
1346
+ return w(ee, B({
1444
1347
  tag: "th",
1445
- class: [...L.value],
1446
- colspan: s.value.length + 1
1348
+ class: [...A.value],
1349
+ colspan: o.value.length + 1
1447
1350
  }, e.headerProps), {
1448
1351
  default: () => [S("div", {
1449
1352
  class: "v-data-table-header__content"
1450
- }, [I(Xe, {
1353
+ }, [w(qe, {
1451
1354
  chips: !0,
1452
1355
  color: e.color,
1453
1356
  class: "v-data-table__td-sort-select",
@@ -1458,39 +1361,39 @@ const mt = _({
1458
1361
  multiple: e.multiSort,
1459
1362
  variant: "underlined",
1460
1363
  "onClick:clear": () => r.value = [],
1461
- "onClick:append": () => d(!u.value)
1364
+ "onClick:append": () => c(!u.value)
1462
1365
  }, {
1463
- append: () => I(fe, {
1366
+ append: () => w(de, {
1464
1367
  color: e.color,
1465
1368
  density: "compact",
1466
1369
  modelValue: u.value,
1467
- indeterminate: f.value && !u.value,
1468
- "onUpdate:modelValue": d
1370
+ indeterminate: v.value && !u.value,
1371
+ "onUpdate:modelValue": c
1469
1372
  }, null),
1470
- chip: (g) => I(na, {
1471
- onClick: g.item.raw?.sortable ? () => n(g.item.raw) : void 0,
1373
+ chip: (f) => w(aa, {
1374
+ onClick: f.item.raw?.sortable ? () => n(f.item.raw) : void 0,
1472
1375
  onMousedown: (D) => {
1473
1376
  D.preventDefault(), D.stopPropagation();
1474
1377
  }
1475
1378
  }, {
1476
- default: () => [g.item.title, I(Le, {
1477
- class: K(["v-data-table__td-sort-icon", i(g.item.raw) && "v-data-table__td-sort-icon-active"]),
1478
- icon: v(g.item.raw),
1379
+ default: () => [f.item.title, w(_e, {
1380
+ class: G(["v-data-table__td-sort-icon", s(f.item.raw) && "v-data-table__td-sort-icon-active"]),
1381
+ icon: g(f.item.raw),
1479
1382
  size: "small"
1480
1383
  }, null)]
1481
1384
  })
1482
1385
  })])]
1483
1386
  });
1484
1387
  };
1485
- G(() => V.value ? S("tr", null, [I(p, null, null)]) : S(U, null, [a.headers ? a.headers(k.value) : s.value.map((x, g) => S("tr", null, [x.map((D, C) => I(N, {
1388
+ K(() => F.value ? S("tr", null, [w(p, null, null)]) : S(z, null, [a.headers ? a.headers(P.value) : o.value.map((x, f) => S("tr", null, [x.map((D, C) => w(N, {
1486
1389
  column: D,
1487
1390
  x: C,
1488
- y: g
1391
+ y: f
1489
1392
  }, null))])), e.loading && S("tr", {
1490
1393
  class: "v-data-table-progress"
1491
1394
  }, [S("th", {
1492
1395
  colspan: h.value.length
1493
- }, [I(Yt, {
1396
+ }, [w(Jt, {
1494
1397
  name: "v-data-table-progress",
1495
1398
  absolute: !0,
1496
1399
  active: !0,
@@ -1500,23 +1403,23 @@ const mt = _({
1500
1403
  default: a.loader
1501
1404
  })])])]));
1502
1405
  }
1503
- }), bt = _({
1406
+ }), vt = _({
1504
1407
  item: {
1505
1408
  type: Object,
1506
1409
  required: !0
1507
1410
  },
1508
1411
  groupCollapseIcon: {
1509
- type: B,
1412
+ type: O,
1510
1413
  default: "$tableGroupCollapse"
1511
1414
  },
1512
1415
  groupExpandIcon: {
1513
- type: B,
1416
+ type: O,
1514
1417
  default: "$tableGroupExpand"
1515
1418
  },
1516
- ...le()
1517
- }, "VDataTableGroupHeaderRow"), Ka = $()({
1419
+ ...te()
1420
+ }, "VDataTableGroupHeaderRow"), $a = $()({
1518
1421
  name: "VDataTableGroupHeaderRow",
1519
- props: bt(),
1422
+ props: vt(),
1520
1423
  setup(e, t) {
1521
1424
  let {
1522
1425
  slots: a
@@ -1525,83 +1428,83 @@ const mt = _({
1525
1428
  isGroupOpen: l,
1526
1429
  toggleGroup: n,
1527
1430
  extractRows: r
1528
- } = et(), {
1529
- isSelected: i,
1530
- isSomeSelected: f,
1431
+ } = Xe(), {
1432
+ isSelected: s,
1433
+ isSomeSelected: v,
1531
1434
  select: u
1532
- } = me(), {
1533
- columns: d
1534
- } = be(), m = F(() => r([e.item])), h = T(() => d.value.length - (d.value.some((s) => s.key === "data-table-select") ? 1 : 0));
1435
+ } = ve(), {
1436
+ columns: c
1437
+ } = ge(), m = V(() => r([e.item])), h = T(() => c.value.length - (c.value.some((o) => o.key === "data-table-select") ? 1 : 0));
1535
1438
  return () => S("tr", {
1536
1439
  class: "v-data-table-group-header-row",
1537
1440
  style: {
1538
1441
  "--v-data-table-group-header-row-depth": e.item.depth
1539
1442
  }
1540
- }, [d.value.map((s) => {
1541
- if (s.key === "data-table-group") {
1542
- const o = l(e.item) ? e.groupCollapseIcon : e.groupExpandIcon, b = () => n(e.item);
1443
+ }, [c.value.map((o) => {
1444
+ if (o.key === "data-table-group") {
1445
+ const i = l(e.item) ? e.groupCollapseIcon : e.groupExpandIcon, b = () => n(e.item);
1543
1446
  return a["data-table-group"]?.({
1544
1447
  item: e.item,
1545
1448
  count: m.value.length,
1546
1449
  props: {
1547
- icon: o,
1450
+ icon: i,
1548
1451
  onClick: b
1549
1452
  }
1550
- }) ?? I(ae, {
1453
+ }) ?? w(ee, {
1551
1454
  class: "v-data-table-group-header-row__column",
1552
1455
  colspan: h.value
1553
1456
  }, {
1554
- default: () => [I(W, {
1457
+ default: () => [w(W, {
1555
1458
  size: "small",
1556
1459
  variant: "text",
1557
- icon: o,
1460
+ icon: i,
1558
1461
  onClick: b
1559
- }, null), S("span", null, [e.item.value]), S("span", null, [Oe("("), m.value.length, Oe(")")])]
1462
+ }, null), S("span", null, [e.item.value]), S("span", null, [Te("("), m.value.length, Te(")")])]
1560
1463
  });
1561
- } else if (s.key === "data-table-select") {
1562
- const o = i(m.value), b = f(m.value) && !o, c = (v) => u(m.value, v);
1464
+ } else if (o.key === "data-table-select") {
1465
+ const i = s(m.value), b = v(m.value) && !i, d = (g) => u(m.value, g);
1563
1466
  return a["data-table-select"]?.({
1564
1467
  props: {
1565
- modelValue: o,
1468
+ modelValue: i,
1566
1469
  indeterminate: b,
1567
- "onUpdate:modelValue": c
1470
+ "onUpdate:modelValue": d
1568
1471
  }
1569
- }) ?? I(ae, {
1472
+ }) ?? w(ee, {
1570
1473
  class: "v-data-table__td--select-row",
1571
1474
  noPadding: !0
1572
1475
  }, {
1573
- default: () => [I(fe, {
1476
+ default: () => [w(de, {
1574
1477
  density: e.density,
1575
- modelValue: o,
1478
+ modelValue: i,
1576
1479
  indeterminate: b,
1577
- "onUpdate:modelValue": c
1480
+ "onUpdate:modelValue": d
1578
1481
  }, null)]
1579
1482
  });
1580
1483
  }
1581
1484
  return "";
1582
1485
  })]);
1583
1486
  }
1584
- }), ht = _({
1487
+ }), gt = _({
1585
1488
  color: String,
1586
1489
  index: Number,
1587
1490
  item: Object,
1588
1491
  cellProps: [Object, Function],
1589
1492
  collapseIcon: {
1590
- type: B,
1493
+ type: O,
1591
1494
  default: "$collapse"
1592
1495
  },
1593
1496
  expandIcon: {
1594
- type: B,
1497
+ type: O,
1595
1498
  default: "$expand"
1596
1499
  },
1597
- onClick: xe(),
1598
- onContextmenu: xe(),
1599
- onDblclick: xe(),
1600
- ...le(),
1601
- ...Te()
1602
- }, "VDataTableRow"), Ga = $()({
1500
+ onClick: ye(),
1501
+ onContextmenu: ye(),
1502
+ onDblclick: ye(),
1503
+ ...te(),
1504
+ ...De()
1505
+ }, "VDataTableRow"), Ha = $()({
1603
1506
  name: "VDataTableRow",
1604
- props: ht(),
1507
+ props: gt(),
1605
1508
  setup(e, t) {
1606
1509
  let {
1607
1510
  slots: a
@@ -1609,123 +1512,123 @@ const mt = _({
1609
1512
  const {
1610
1513
  displayClasses: l,
1611
1514
  mobile: n
1612
- } = ge(e, "v-data-table__tr"), {
1515
+ } = fe(e, "v-data-table__tr"), {
1613
1516
  isSelected: r,
1614
- toggleSelect: i,
1615
- someSelected: f,
1517
+ toggleSelect: s,
1518
+ someSelected: v,
1616
1519
  allSelected: u,
1617
- selectAll: d
1618
- } = me(), {
1520
+ selectAll: c
1521
+ } = ve(), {
1619
1522
  isExpanded: m,
1620
1523
  toggleExpand: h
1621
- } = Ze(), {
1622
- toggleSort: s,
1623
- sortBy: o,
1524
+ } = Je(), {
1525
+ toggleSort: o,
1526
+ sortBy: i,
1624
1527
  isSorted: b
1625
- } = ot(), {
1626
- columns: c
1627
- } = be();
1628
- G(() => S("tr", {
1629
- class: K(["v-data-table__tr", {
1528
+ } = nt(), {
1529
+ columns: d
1530
+ } = ge();
1531
+ K(() => S("tr", {
1532
+ class: G(["v-data-table__tr", {
1630
1533
  "v-data-table__tr--clickable": !!(e.onClick || e.onContextmenu || e.onDblclick)
1631
1534
  }, l.value]),
1632
1535
  onClick: e.onClick,
1633
1536
  onContextmenu: e.onContextmenu,
1634
1537
  onDblclick: e.onDblclick
1635
- }, [e.item && c.value.map((v, w) => {
1636
- const y = e.item, P = `item.${v.key}`, V = `header.${v.key}`, k = {
1538
+ }, [e.item && d.value.map((g, I) => {
1539
+ const y = e.item, k = `item.${g.key}`, F = `header.${g.key}`, P = {
1637
1540
  index: e.index,
1638
1541
  item: y.raw,
1639
1542
  internalItem: y,
1640
- value: ce(y.columns, v.key),
1641
- column: v,
1543
+ value: ue(y.columns, g.key),
1544
+ column: g,
1642
1545
  isSelected: r,
1643
- toggleSelect: i,
1546
+ toggleSelect: s,
1644
1547
  isExpanded: m,
1645
1548
  toggleExpand: h
1646
- }, L = {
1647
- column: v,
1648
- selectAll: d,
1549
+ }, A = {
1550
+ column: g,
1551
+ selectAll: c,
1649
1552
  isSorted: b,
1650
- toggleSort: s,
1651
- sortBy: o.value,
1652
- someSelected: f.value,
1553
+ toggleSort: o,
1554
+ sortBy: i.value,
1555
+ someSelected: v.value,
1653
1556
  allSelected: u.value,
1654
1557
  getSortIcon: () => ""
1655
1558
  }, N = typeof e.cellProps == "function" ? e.cellProps({
1656
- index: k.index,
1657
- item: k.item,
1658
- internalItem: k.internalItem,
1659
- value: k.value,
1660
- column: v
1661
- }) : e.cellProps, p = typeof v.cellProps == "function" ? v.cellProps({
1662
- index: k.index,
1663
- item: k.item,
1664
- internalItem: k.internalItem,
1665
- value: k.value
1666
- }) : v.cellProps, x = v.key === "data-table-select" || v.key === "data-table-expand", g = v.key === "data-table-group" && v.width === 0 && !v.title;
1667
- return I(ae, O({
1668
- align: v.align,
1669
- indent: v.intent,
1559
+ index: P.index,
1560
+ item: P.item,
1561
+ internalItem: P.internalItem,
1562
+ value: P.value,
1563
+ column: g
1564
+ }) : e.cellProps, p = typeof g.cellProps == "function" ? g.cellProps({
1565
+ index: P.index,
1566
+ item: P.item,
1567
+ internalItem: P.internalItem,
1568
+ value: P.value
1569
+ }) : g.cellProps, x = g.key === "data-table-select" || g.key === "data-table-expand", f = g.key === "data-table-group" && g.width === 0 && !g.title;
1570
+ return w(ee, B({
1571
+ align: g.align,
1572
+ indent: g.intent,
1670
1573
  class: {
1671
- "v-data-table__td--expanded-row": v.key === "data-table-expand",
1672
- "v-data-table__td--select-row": v.key === "data-table-select"
1574
+ "v-data-table__td--expanded-row": g.key === "data-table-expand",
1575
+ "v-data-table__td--select-row": g.key === "data-table-select"
1673
1576
  },
1674
- fixed: v.fixed,
1675
- fixedOffset: v.fixedOffset,
1676
- fixedEndOffset: v.fixedEndOffset,
1677
- lastFixed: v.lastFixed,
1678
- firstFixedEnd: v.firstFixedEnd,
1679
- maxWidth: n.value ? void 0 : v.maxWidth,
1577
+ fixed: g.fixed,
1578
+ fixedOffset: g.fixedOffset,
1579
+ fixedEndOffset: g.fixedEndOffset,
1580
+ lastFixed: g.lastFixed,
1581
+ firstFixedEnd: g.firstFixedEnd,
1582
+ maxWidth: n.value ? void 0 : g.maxWidth,
1680
1583
  noPadding: x,
1681
- empty: g,
1682
- nowrap: v.nowrap,
1683
- width: n.value ? void 0 : v.width
1584
+ empty: f,
1585
+ nowrap: g.nowrap,
1586
+ width: n.value ? void 0 : g.width
1684
1587
  }, N, p), {
1685
1588
  default: () => {
1686
- if (v.key === "data-table-select")
1589
+ if (g.key === "data-table-select")
1687
1590
  return a["item.data-table-select"]?.({
1688
- ...k,
1591
+ ...P,
1689
1592
  props: {
1690
1593
  color: e.color,
1691
1594
  disabled: !y.selectable,
1692
1595
  modelValue: r([y]),
1693
- onClick: se(() => i(y), ["stop"])
1596
+ onClick: ne(() => s(y), ["stop"])
1694
1597
  }
1695
- }) ?? I(fe, {
1598
+ }) ?? w(de, {
1696
1599
  color: e.color,
1697
1600
  disabled: !y.selectable,
1698
1601
  density: e.density,
1699
1602
  modelValue: r([y]),
1700
- onClick: se((C) => i(y, e.index, C), ["stop"])
1603
+ onClick: ne((C) => s(y, e.index, C), ["stop"])
1701
1604
  }, null);
1702
- if (v.key === "data-table-expand")
1605
+ if (g.key === "data-table-expand")
1703
1606
  return a["item.data-table-expand"]?.({
1704
- ...k,
1607
+ ...P,
1705
1608
  props: {
1706
1609
  icon: m(y) ? e.collapseIcon : e.expandIcon,
1707
1610
  size: "small",
1708
1611
  variant: "text",
1709
- onClick: se(() => h(y), ["stop"])
1612
+ onClick: ne(() => h(y), ["stop"])
1710
1613
  }
1711
- }) ?? I(W, {
1614
+ }) ?? w(W, {
1712
1615
  icon: m(y) ? e.collapseIcon : e.expandIcon,
1713
1616
  size: "small",
1714
1617
  variant: "text",
1715
- onClick: se(() => h(y), ["stop"])
1618
+ onClick: ne(() => h(y), ["stop"])
1716
1619
  }, null);
1717
- if (a[P] && !n.value) return a[P](k);
1718
- const D = Lt(k.value);
1719
- return n.value ? S(U, null, [S("div", {
1620
+ if (a[k] && !n.value) return a[k](P);
1621
+ const D = Bt(P.value);
1622
+ return n.value ? S(z, null, [S("div", {
1720
1623
  class: "v-data-table__td-title"
1721
- }, [a[V]?.(L) ?? v.title]), S("div", {
1624
+ }, [a[F]?.(A) ?? g.title]), S("div", {
1722
1625
  class: "v-data-table__td-value"
1723
- }, [a[P]?.(k) ?? D])]) : D;
1626
+ }, [a[k]?.(P) ?? D])]) : D;
1724
1627
  }
1725
1628
  });
1726
1629
  })]));
1727
1630
  }
1728
- }), yt = _({
1631
+ }), mt = _({
1729
1632
  color: String,
1730
1633
  loading: [Boolean, String],
1731
1634
  loadingText: {
@@ -1743,13 +1646,13 @@ const mt = _({
1743
1646
  },
1744
1647
  rowProps: [Object, Function],
1745
1648
  cellProps: [Object, Function],
1746
- ...ke(ht(), ["collapseIcon", "expandIcon", "density"]),
1747
- ...ke(bt(), ["groupCollapseIcon", "groupExpandIcon", "density"]),
1748
- ...Te()
1749
- }, "VDataTableRows"), $e = $()({
1649
+ ...xe(gt(), ["collapseIcon", "expandIcon", "density"]),
1650
+ ...xe(vt(), ["groupCollapseIcon", "groupExpandIcon", "density"]),
1651
+ ...De()
1652
+ }, "VDataTableRows"), Le = $()({
1750
1653
  name: "VDataTableRows",
1751
1654
  inheritAttrs: !1,
1752
- props: yt(),
1655
+ props: mt(),
1753
1656
  setup(e, t) {
1754
1657
  let {
1755
1658
  attrs: a,
@@ -1757,97 +1660,97 @@ const mt = _({
1757
1660
  } = t;
1758
1661
  const {
1759
1662
  columns: n
1760
- } = be(), {
1663
+ } = ge(), {
1761
1664
  expandOnClick: r,
1762
- toggleExpand: i,
1763
- isExpanded: f
1764
- } = Ze(), {
1665
+ toggleExpand: s,
1666
+ isExpanded: v
1667
+ } = Je(), {
1765
1668
  isSelected: u,
1766
- toggleSelect: d
1767
- } = me(), {
1669
+ toggleSelect: c
1670
+ } = ve(), {
1768
1671
  toggleGroup: m,
1769
1672
  isGroupOpen: h
1770
- } = et(), {
1771
- t: s
1772
- } = Z(), {
1773
- mobile: o
1774
- } = ge(e);
1775
- return G(() => {
1776
- const b = ke(e, ["groupCollapseIcon", "groupExpandIcon", "density"]);
1673
+ } = Xe(), {
1674
+ t: o
1675
+ } = X(), {
1676
+ mobile: i
1677
+ } = fe(e);
1678
+ return K(() => {
1679
+ const b = xe(e, ["groupCollapseIcon", "groupExpandIcon", "density"]);
1777
1680
  return e.loading && (!e.items.length || l.loading) ? S("tr", {
1778
1681
  class: "v-data-table-rows-loading",
1779
1682
  key: "loading"
1780
1683
  }, [S("td", {
1781
1684
  colspan: n.value.length
1782
- }, [l.loading?.() ?? s(e.loadingText)])]) : !e.loading && !e.items.length && !e.hideNoData ? S("tr", {
1685
+ }, [l.loading?.() ?? o(e.loadingText)])]) : !e.loading && !e.items.length && !e.hideNoData ? S("tr", {
1783
1686
  class: "v-data-table-rows-no-data",
1784
1687
  key: "no-data"
1785
1688
  }, [S("td", {
1786
1689
  colspan: n.value.length
1787
- }, [l["no-data"]?.() ?? s(e.noDataText)])]) : S(U, null, [e.items.map((c, v) => {
1788
- if (c.type === "group") {
1789
- const P = {
1790
- index: v,
1791
- item: c,
1690
+ }, [l["no-data"]?.() ?? o(e.noDataText)])]) : S(z, null, [e.items.map((d, g) => {
1691
+ if (d.type === "group") {
1692
+ const k = {
1693
+ index: g,
1694
+ item: d,
1792
1695
  columns: n.value,
1793
- isExpanded: f,
1794
- toggleExpand: i,
1696
+ isExpanded: v,
1697
+ toggleExpand: s,
1795
1698
  isSelected: u,
1796
- toggleSelect: d,
1699
+ toggleSelect: c,
1797
1700
  toggleGroup: m,
1798
1701
  isGroupOpen: h
1799
1702
  };
1800
- return l["group-header"] ? l["group-header"](P) : I(Ka, O({
1801
- key: `group-header_${c.id}`,
1802
- item: c
1803
- }, Ae(a, ":groupHeader", () => P), b), l);
1703
+ return l["group-header"] ? l["group-header"](k) : w($a, B({
1704
+ key: `group-header_${d.id}`,
1705
+ item: d
1706
+ }, Be(a, ":groupHeader", () => k), b), l);
1804
1707
  }
1805
- if (c.type === "group-summary") {
1806
- const P = {
1807
- index: v,
1808
- item: c,
1708
+ if (d.type === "group-summary") {
1709
+ const k = {
1710
+ index: g,
1711
+ item: d,
1809
1712
  columns: n.value,
1810
1713
  toggleGroup: m
1811
1714
  };
1812
- return l["group-summary"]?.(P) ?? "";
1715
+ return l["group-summary"]?.(k) ?? "";
1813
1716
  }
1814
- const w = {
1815
- index: v,
1816
- item: c.raw,
1817
- internalItem: c,
1717
+ const I = {
1718
+ index: g,
1719
+ item: d.raw,
1720
+ internalItem: d,
1818
1721
  columns: n.value,
1819
- isExpanded: f,
1820
- toggleExpand: i,
1722
+ isExpanded: v,
1723
+ toggleExpand: s,
1821
1724
  isSelected: u,
1822
- toggleSelect: d
1725
+ toggleSelect: c
1823
1726
  }, y = {
1824
- ...w,
1825
- props: O({
1826
- key: `item_${c.key ?? c.index}`,
1727
+ ...I,
1728
+ props: B({
1729
+ key: `item_${d.key ?? d.index}`,
1827
1730
  onClick: r.value ? () => {
1828
- i(c);
1731
+ s(d);
1829
1732
  } : void 0,
1830
- index: v,
1831
- item: c,
1733
+ index: g,
1734
+ item: d,
1832
1735
  color: e.color,
1833
1736
  cellProps: e.cellProps,
1834
1737
  collapseIcon: e.collapseIcon,
1835
1738
  expandIcon: e.expandIcon,
1836
1739
  density: e.density,
1837
- mobile: o.value
1838
- }, Ae(a, ":row", () => w), typeof e.rowProps == "function" ? e.rowProps({
1839
- item: w.item,
1840
- index: w.index,
1841
- internalItem: w.internalItem
1740
+ mobile: i.value
1741
+ }, Be(a, ":row", () => I), typeof e.rowProps == "function" ? e.rowProps({
1742
+ item: I.item,
1743
+ index: I.index,
1744
+ internalItem: I.internalItem
1842
1745
  }) : e.rowProps)
1843
1746
  };
1844
- return S(U, {
1747
+ return S(z, {
1845
1748
  key: y.props.key
1846
- }, [l.item ? l.item(y) : I(Ga, y.props, l), f(c) && l["expanded-row"]?.(w)]);
1749
+ }, [l.item ? l.item(y) : w(Ha, y.props, l), v(d) && l["expanded-row"]?.(I)]);
1847
1750
  })]);
1848
1751
  }), {};
1849
1752
  }
1850
- }), pt = _({
1753
+ }), bt = _({
1851
1754
  fixedHeader: Boolean,
1852
1755
  fixedFooter: Boolean,
1853
1756
  height: [Number, String],
@@ -1857,13 +1760,13 @@ const mt = _({
1857
1760
  default: null,
1858
1761
  validator: (e) => ["even", "odd"].includes(e)
1859
1762
  },
1860
- ...Je(),
1861
- ...le(),
1862
- ...ze(),
1863
- ...De()
1864
- }, "VTable"), Me = $()({
1763
+ ...We(),
1764
+ ...te(),
1765
+ ...Ge(),
1766
+ ...ke()
1767
+ }, "VTable"), Ne = $()({
1865
1768
  name: "VTable",
1866
- props: pt(),
1769
+ props: bt(),
1867
1770
  setup(e, t) {
1868
1771
  let {
1869
1772
  slots: a,
@@ -1871,11 +1774,11 @@ const mt = _({
1871
1774
  } = t;
1872
1775
  const {
1873
1776
  themeClasses: n
1874
- } = Fe(e), {
1777
+ } = we(e), {
1875
1778
  densityClasses: r
1876
- } = qt(e);
1877
- return G(() => I(e.tag, {
1878
- class: K(["v-table", {
1779
+ } = Xt(e);
1780
+ return K(() => w(e.tag, {
1781
+ class: G(["v-table", {
1879
1782
  "v-table--fixed-height": !!e.height,
1880
1783
  "v-table--fixed-header": e.fixedHeader,
1881
1784
  "v-table--fixed-footer": e.fixedFooter,
@@ -1885,17 +1788,17 @@ const mt = _({
1885
1788
  "v-table--striped-even": e.striped === "even",
1886
1789
  "v-table--striped-odd": e.striped === "odd"
1887
1790
  }, n.value, r.value, e.class]),
1888
- style: Ie(e.style)
1791
+ style: Pe(e.style)
1889
1792
  }, {
1890
1793
  default: () => [a.top?.(), a.default ? S("div", {
1891
1794
  class: "v-table__wrapper",
1892
1795
  style: {
1893
- height: A(e.height)
1796
+ height: E(e.height)
1894
1797
  }
1895
1798
  }, [S("table", null, [a.default()])]) : a.wrapper?.(), a.bottom?.()]
1896
1799
  })), {};
1897
1800
  }
1898
- }), Wa = _({
1801
+ }), ja = _({
1899
1802
  items: {
1900
1803
  type: Array,
1901
1804
  default: () => []
@@ -1912,49 +1815,49 @@ const mt = _({
1912
1815
  cellProps: [Object, Function],
1913
1816
  returnObject: Boolean
1914
1817
  }, "DataTable-items");
1915
- function za(e, t, a, l) {
1916
- const n = e.returnObject ? t : te(t, e.itemValue), r = te(t, e.itemSelectable, !0), i = l.reduce((f, u) => (u.key != null && (f[u.key] = te(t, u.value)), f), {});
1818
+ function Ma(e, t, a, l) {
1819
+ const n = e.returnObject ? t : se(t, e.itemValue), r = se(t, e.itemSelectable, !0), s = l.reduce((v, u) => (u.key != null && (v[u.key] = se(t, u.value)), v), {});
1917
1820
  return {
1918
1821
  type: "item",
1919
- key: e.returnObject ? te(t, e.itemValue) : n,
1822
+ key: e.returnObject ? se(t, e.itemValue) : n,
1920
1823
  index: a,
1921
1824
  value: n,
1922
1825
  selectable: r,
1923
- columns: i,
1826
+ columns: s,
1924
1827
  raw: t
1925
1828
  };
1926
1829
  }
1927
- function Ua(e, t, a) {
1928
- return t.map((l, n) => za(e, l, n, a));
1830
+ function Ga(e, t, a) {
1831
+ return t.map((l, n) => Ma(e, l, n, a));
1929
1832
  }
1930
- function Ja(e, t) {
1833
+ function Ka(e, t) {
1931
1834
  return {
1932
- items: F(() => Ua(e, e.items, t.value))
1835
+ items: V(() => Ga(e, e.items, t.value))
1933
1836
  };
1934
1837
  }
1935
- const Qa = _({
1936
- ...yt(),
1838
+ const Wa = _({
1839
+ ...mt(),
1937
1840
  hideDefaultBody: Boolean,
1938
1841
  hideDefaultFooter: Boolean,
1939
1842
  hideDefaultHeader: Boolean,
1940
1843
  width: [String, Number],
1941
1844
  search: String,
1942
- ...ca(),
1943
- ...va(),
1944
- ...Ea(),
1845
+ ...sa(),
1846
+ ...ua(),
1847
+ ...Ba(),
1848
+ ...ja(),
1849
+ ...Pa(),
1850
+ ...ka(),
1851
+ ...Ie(ft(), ["multiSort"]),
1852
+ ...bt()
1853
+ }, "DataTable"), za = _({
1854
+ ...ma(),
1945
1855
  ...Wa(),
1946
- ...Fa(),
1947
- ...Va(),
1948
- ...Ve(mt(), ["multiSort"]),
1949
- ...pt()
1950
- }, "DataTable"), Xa = _({
1951
- ...pa(),
1952
- ...Qa(),
1953
- ...ia(),
1954
- ...it()
1955
- }, "VDataTable"), rl = $()({
1856
+ ...na(),
1857
+ ...rt()
1858
+ }, "VDataTable"), tl = $()({
1956
1859
  name: "VDataTable",
1957
- props: Xa(),
1860
+ props: za(),
1958
1861
  emits: {
1959
1862
  "update:modelValue": (e) => !0,
1960
1863
  "update:page": (e) => !0,
@@ -1972,99 +1875,99 @@ const Qa = _({
1972
1875
  } = t;
1973
1876
  const {
1974
1877
  groupBy: n
1975
- } = ga(e), {
1878
+ } = da(e), {
1976
1879
  initialSortOrder: r,
1977
- sortBy: i,
1978
- multiSort: f,
1880
+ sortBy: s,
1881
+ multiSort: v,
1979
1882
  mustSort: u
1980
- } = Ta(e), {
1981
- page: d,
1883
+ } = Ia(e), {
1884
+ page: c,
1982
1885
  itemsPerPage: m
1983
- } = xa(e), {
1886
+ } = ba(e), {
1984
1887
  disableSort: h
1985
- } = At(e), {
1986
- columns: s,
1987
- headers: o,
1888
+ } = Ot(e), {
1889
+ columns: o,
1890
+ headers: i,
1988
1891
  sortFunctions: b,
1989
- sortRawFunctions: c,
1990
- filterFunctions: v
1991
- } = Ha(e, {
1892
+ sortRawFunctions: d,
1893
+ filterFunctions: g
1894
+ } = Ra(e, {
1992
1895
  groupBy: n,
1993
1896
  showSelect: T(() => e.showSelect),
1994
1897
  showExpand: T(() => e.showExpand)
1995
1898
  }), {
1996
- items: w
1997
- } = Ja(e, s), y = T(() => e.search), {
1998
- filteredItems: P
1999
- } = da(e, w, y, {
1899
+ items: I
1900
+ } = Ka(e, o), y = T(() => e.search), {
1901
+ filteredItems: k
1902
+ } = la(e, I, y, {
2000
1903
  transform: (j) => j.columns,
2001
- customKeyFilter: v
1904
+ customKeyFilter: g
2002
1905
  }), {
2003
- toggleSort: V
2004
- } = _a({
1906
+ toggleSort: F
1907
+ } = Va({
2005
1908
  initialSortOrder: r,
2006
- sortBy: i,
2007
- multiSort: f,
1909
+ sortBy: s,
1910
+ multiSort: v,
2008
1911
  mustSort: u,
2009
- page: d
1912
+ page: c
2010
1913
  }), {
2011
- sortByWithGroups: k,
2012
- opened: L,
1914
+ sortByWithGroups: P,
1915
+ opened: A,
2013
1916
  extractRows: N,
2014
1917
  isGroupOpen: p,
2015
1918
  toggleGroup: x
2016
- } = ma({
1919
+ } = ca({
2017
1920
  groupBy: n,
2018
- sortBy: i,
1921
+ sortBy: s,
2019
1922
  disableSort: h
2020
1923
  }), {
2021
- sortedItems: g
2022
- } = Oa(e, P, k, {
1924
+ sortedItems: f
1925
+ } = Fa(e, k, P, {
2023
1926
  transform: (j) => ({
2024
1927
  ...j.raw,
2025
1928
  ...j.columns
2026
1929
  }),
2027
1930
  sortFunctions: b,
2028
- sortRawFunctions: c
1931
+ sortRawFunctions: d
2029
1932
  }), {
2030
1933
  flatItems: D
2031
- } = ha(g, n, L, () => !!l["group-summary"]), C = F(() => D.value.length), {
1934
+ } = va(f, n, A, () => !!l["group-summary"]), C = V(() => D.value.length), {
2032
1935
  startIndex: R,
2033
- stopIndex: ne,
2034
- pageCount: ye,
2035
- setItemsPerPage: M
2036
- } = Sa({
2037
- page: d,
1936
+ stopIndex: ae,
1937
+ pageCount: be,
1938
+ setItemsPerPage: H
1939
+ } = ha({
1940
+ page: c,
2038
1941
  itemsPerPage: m,
2039
1942
  itemsLength: C
2040
1943
  }), {
2041
- paginatedItems: X
2042
- } = ka({
1944
+ paginatedItems: J
1945
+ } = pa({
2043
1946
  items: D,
2044
1947
  startIndex: R,
2045
- stopIndex: ne,
1948
+ stopIndex: ae,
2046
1949
  itemsPerPage: m
2047
- }), q = F(() => N(X.value)), {
2048
- isSelected: xt,
2049
- select: St,
2050
- selectAll: Pt,
2051
- toggleSelect: kt,
2052
- someSelected: wt,
2053
- allSelected: It
2054
- } = Da(e, {
2055
- allItems: w,
2056
- currentPage: q
1950
+ }), Y = V(() => N(J.value)), {
1951
+ isSelected: ht,
1952
+ select: yt,
1953
+ selectAll: pt,
1954
+ toggleSelect: xt,
1955
+ someSelected: St,
1956
+ allSelected: Pt
1957
+ } = wa(e, {
1958
+ allItems: I,
1959
+ currentPage: Y
2057
1960
  }), {
2058
- isExpanded: Ft,
2059
- toggleExpand: Dt
2060
- } = fa(e);
2061
- ya({
2062
- page: d,
1961
+ isExpanded: wt,
1962
+ toggleExpand: kt
1963
+ } = ia(e);
1964
+ ga({
1965
+ page: c,
2063
1966
  itemsPerPage: m,
2064
- sortBy: i,
1967
+ sortBy: s,
2065
1968
  groupBy: n,
2066
1969
  search: y
2067
- }), Pe({
1970
+ }), pe({
2068
1971
  VDataTableRows: {
2069
1972
  hideNoData: T(() => e.hideNoData),
2070
1973
  noDataText: T(() => e.noDataText),
@@ -2072,55 +1975,55 @@ const Qa = _({
2072
1975
  loadingText: T(() => e.loadingText)
2073
1976
  }
2074
1977
  });
2075
- const E = F(() => ({
2076
- page: d.value,
1978
+ const L = V(() => ({
1979
+ page: c.value,
2077
1980
  itemsPerPage: m.value,
2078
- sortBy: i.value,
2079
- pageCount: ye.value,
2080
- toggleSort: V,
2081
- setItemsPerPage: M,
2082
- someSelected: wt.value,
2083
- allSelected: It.value,
2084
- isSelected: xt,
2085
- select: St,
2086
- selectAll: Pt,
2087
- toggleSelect: kt,
2088
- isExpanded: Ft,
2089
- toggleExpand: Dt,
1981
+ sortBy: s.value,
1982
+ pageCount: be.value,
1983
+ toggleSort: F,
1984
+ setItemsPerPage: H,
1985
+ someSelected: St.value,
1986
+ allSelected: Pt.value,
1987
+ isSelected: ht,
1988
+ select: yt,
1989
+ selectAll: pt,
1990
+ toggleSelect: xt,
1991
+ isExpanded: wt,
1992
+ toggleExpand: kt,
2090
1993
  isGroupOpen: p,
2091
1994
  toggleGroup: x,
2092
- items: q.value.map((j) => j.raw),
2093
- internalItems: q.value,
2094
- groupedItems: X.value,
2095
- columns: s.value,
2096
- headers: o.value
1995
+ items: Y.value.map((j) => j.raw),
1996
+ internalItems: Y.value,
1997
+ groupedItems: J.value,
1998
+ columns: o.value,
1999
+ headers: i.value
2097
2000
  }));
2098
- return G(() => {
2099
- const j = Ne.filterProps(e), Vt = Re.filterProps(Ve(e, ["multiSort"])), Tt = $e.filterProps(e), Ct = Me.filterProps(e);
2100
- return I(Me, O({
2001
+ return K(() => {
2002
+ const j = Ae.filterProps(e), It = Ee.filterProps(Ie(e, ["multiSort"])), Dt = Le.filterProps(e), Vt = Ne.filterProps(e);
2003
+ return w(Ne, B({
2101
2004
  class: ["v-data-table", {
2102
2005
  "v-data-table--show-select": e.showSelect,
2103
2006
  "v-data-table--loading": e.loading
2104
2007
  }, e.class],
2105
2008
  style: e.style
2106
- }, Ct, {
2009
+ }, Vt, {
2107
2010
  fixedHeader: e.fixedHeader || e.sticky
2108
2011
  }), {
2109
- top: () => l.top?.(E.value),
2110
- default: () => l.default ? l.default(E.value) : S(U, null, [l.colgroup?.(E.value), !e.hideDefaultHeader && S("thead", {
2012
+ top: () => l.top?.(L.value),
2013
+ default: () => l.default ? l.default(L.value) : S(z, null, [l.colgroup?.(L.value), !e.hideDefaultHeader && S("thead", {
2111
2014
  key: "thead"
2112
- }, [I(Re, O(Vt, {
2015
+ }, [w(Ee, B(It, {
2113
2016
  multiSort: !!e.multiSort
2114
- }), l)]), l.thead?.(E.value), !e.hideDefaultBody && S("tbody", null, [l["body.prepend"]?.(E.value), l.body ? l.body(E.value) : I($e, O(a, Tt, {
2115
- items: X.value
2116
- }), l), l["body.append"]?.(E.value)]), l.tbody?.(E.value), l.tfoot?.(E.value)]),
2117
- bottom: () => l.bottom ? l.bottom(E.value) : !e.hideDefaultFooter && S(U, null, [I(ea, null, null), I(Ne, j, {
2017
+ }), l)]), l.thead?.(L.value), !e.hideDefaultBody && S("tbody", null, [l["body.prepend"]?.(L.value), l.body ? l.body(L.value) : w(Le, B(a, Dt, {
2018
+ items: J.value
2019
+ }), l), l["body.append"]?.(L.value)]), l.tbody?.(L.value), l.tfoot?.(L.value)]),
2020
+ bottom: () => l.bottom ? l.bottom(L.value) : !e.hideDefaultFooter && S(z, null, [w(Yt, null, null), w(Ae, j, {
2118
2021
  prepend: l["footer.prepend"]
2119
2022
  })])
2120
2023
  });
2121
2024
  }), {};
2122
2025
  }
2123
- }), Ya = {
2026
+ }), qa = {
2124
2027
  actions: "button@2",
2125
2028
  article: "heading, paragraph",
2126
2029
  avatar: "avatar",
@@ -2153,33 +2056,33 @@ const Qa = _({
2153
2056
  "table-tfoot": "text@2, avatar@2",
2154
2057
  text: "text"
2155
2058
  };
2156
- function Za(e) {
2059
+ function Ua(e) {
2157
2060
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
2158
2061
  return S("div", {
2159
- class: K(["v-skeleton-loader__bone", `v-skeleton-loader__${e}`])
2062
+ class: G(["v-skeleton-loader__bone", `v-skeleton-loader__${e}`])
2160
2063
  }, [t]);
2161
2064
  }
2162
- function je(e) {
2065
+ function Re(e) {
2163
2066
  const [t, a] = e.split("@");
2164
2067
  return Array.from({
2165
2068
  length: a
2166
- }).map(() => he(t));
2069
+ }).map(() => me(t));
2167
2070
  }
2168
- function he(e) {
2071
+ function me(e) {
2169
2072
  let t = [];
2170
2073
  if (!e) return t;
2171
- const a = Ya[e];
2074
+ const a = qa[e];
2172
2075
  if (e !== a) {
2173
- if (e.includes(",")) return He(e);
2174
- if (e.includes("@")) return je(e);
2175
- a.includes(",") ? t = He(a) : a.includes("@") ? t = je(a) : a && t.push(he(a));
2076
+ if (e.includes(",")) return $e(e);
2077
+ if (e.includes("@")) return Re(e);
2078
+ a.includes(",") ? t = $e(a) : a.includes("@") ? t = Re(a) : a && t.push(me(a));
2176
2079
  }
2177
- return [Za(e, t)];
2080
+ return [Ua(e, t)];
2178
2081
  }
2179
- function He(e) {
2180
- return e.replace(/\s/g, "").split(",").map(he);
2082
+ function $e(e) {
2083
+ return e.replace(/\s/g, "").split(",").map(me);
2181
2084
  }
2182
- const qa = _({
2085
+ const Ja = _({
2183
2086
  boilerplate: Boolean,
2184
2087
  color: String,
2185
2088
  loading: Boolean,
@@ -2191,13 +2094,13 @@ const qa = _({
2191
2094
  type: [String, Array],
2192
2095
  default: "ossein"
2193
2096
  },
2194
- ...la(),
2195
- ...Ue(),
2196
- ...De()
2197
- }, "VSkeletonLoader"), sl = $()({
2097
+ ...ta(),
2098
+ ...Ke(),
2099
+ ...ke()
2100
+ }, "VSkeletonLoader"), al = $()({
2198
2101
  name: "VSkeletonLoader",
2199
2102
  inheritAttrs: !1,
2200
- props: qa(),
2103
+ props: Ja(),
2201
2104
  setup(e, t) {
2202
2105
  let {
2203
2106
  attrs: a,
@@ -2206,31 +2109,31 @@ const qa = _({
2206
2109
  const {
2207
2110
  backgroundColorClasses: n,
2208
2111
  backgroundColorStyles: r
2209
- } = Qe(() => e.color), {
2210
- dimensionStyles: i
2211
- } = ta(e), {
2212
- elevationClasses: f
2213
- } = aa(e), {
2112
+ } = ze(() => e.color), {
2113
+ dimensionStyles: s
2114
+ } = Zt(e), {
2115
+ elevationClasses: v
2116
+ } = ea(e), {
2214
2117
  themeClasses: u
2215
- } = Fe(e), {
2216
- t: d
2217
- } = Z(), m = F(() => he(z(e.type).join(",")));
2218
- return G(() => {
2219
- const h = !l.default || e.loading, s = e.boilerplate || !h ? {} : {
2118
+ } = we(e), {
2119
+ t: c
2120
+ } = X(), m = V(() => me(Z(e.type).join(",")));
2121
+ return K(() => {
2122
+ const h = !l.default || e.loading, o = e.boilerplate || !h ? {} : {
2220
2123
  ariaLive: "polite",
2221
- ariaLabel: d(e.loadingText),
2124
+ ariaLabel: c(e.loadingText),
2222
2125
  role: "alert"
2223
2126
  };
2224
- return h ? S("div", O({
2127
+ return h ? S("div", B({
2225
2128
  class: ["v-skeleton-loader", {
2226
2129
  "v-skeleton-loader--boilerplate": e.boilerplate
2227
- }, u.value, n.value, f.value],
2228
- style: [r.value, i.value]
2229
- }, s, a), [m.value]) : S(U, null, [l.default?.()]);
2130
+ }, u.value, n.value, v.value],
2131
+ style: [r.value, s.value]
2132
+ }, o, a), [m.value]) : S(z, null, [l.default?.()]);
2230
2133
  }), {};
2231
2134
  }
2232
2135
  });
2233
- function el(e, t, a) {
2136
+ function Qa(e, t, a) {
2234
2137
  switch (a) {
2235
2138
  case ">":
2236
2139
  return e > t;
@@ -2246,65 +2149,65 @@ function el(e, t, a) {
2246
2149
  throw new Error(`Invalid operator: ${a}`);
2247
2150
  }
2248
2151
  }
2249
- function ol() {
2250
- const { advancedFiltersState: e, hardFiltersState: t } = ra(), a = Q("table_props"), l = H(), n = F(() => {
2251
- let s = l.value;
2252
- if (!s) return s;
2253
- const o = u(e.value, t.value);
2254
- return !o || Object.keys(o).length === 0 || Object.keys(o).forEach((b) => {
2255
- const { value: c, comparison: v = "=" } = o[b];
2256
- if (!c) return;
2257
- const w = h(a.headers, b);
2258
- w && (s = s.filter((y) => {
2259
- const P = m(y, b, w);
2260
- return w.advancedFilter?.customFilterFn && typeof w.advancedFilter.customFilterFn == "function" ? w.advancedFilter.customFilterFn({ value: P, filterValue: c, filterComparison: v, header: w, item: y }) : f(P, c, v, w);
2152
+ function ll() {
2153
+ const { advancedFiltersState: e, hardFiltersState: t } = ra(), a = U("table_props"), l = M(), n = V(() => {
2154
+ let o = l.value;
2155
+ if (!o) return o;
2156
+ const i = u(e.value, t.value);
2157
+ return !i || Object.keys(i).length === 0 || Object.keys(i).forEach((b) => {
2158
+ const { value: d, comparison: g = "=" } = i[b];
2159
+ if (!d) return;
2160
+ const I = h(a.headers, b);
2161
+ I && (o = o.filter((y) => {
2162
+ const k = m(y, b, I);
2163
+ return I.advancedFilter?.customFilterFn && typeof I.advancedFilter.customFilterFn == "function" ? I.advancedFilter.customFilterFn({ value: k, filterValue: d, filterComparison: g, header: I, item: y }) : v(k, d, g, I);
2261
2164
  }));
2262
- }), s;
2165
+ }), o;
2263
2166
  });
2264
- function r(s, o) {
2265
- const b = Array.isArray(o) ? o : [o], c = ue(b[0]).startOf("day").isSameOrBefore(ue(s).format()), v = ue(b[b.length - 1]).endOf("day").isSameOrAfter(ue(s).format());
2266
- return c && v;
2167
+ function r(o, i) {
2168
+ const b = Array.isArray(i) ? i : [i], d = ie(b[0]).startOf("day").isSameOrBefore(ie(o).format()), g = ie(b[b.length - 1]).endOf("day").isSameOrAfter(ie(o).format());
2169
+ return d && g;
2267
2170
  }
2268
- function i(s, o) {
2269
- return Array.isArray(o) ? o.map((b) => b.toString().toLowerCase()).includes(s.toString().toLowerCase()) : s?.toString().toLowerCase().includes(o.toString().toLowerCase());
2171
+ function s(o, i) {
2172
+ return Array.isArray(i) ? i.map((b) => b.toString().toLowerCase()).includes(o.toString().toLowerCase()) : o?.toString().toLowerCase().includes(i.toString().toLowerCase());
2270
2173
  }
2271
- function f(s, o, b, c) {
2272
- switch (c.advancedFilter?.component) {
2174
+ function v(o, i, b, d) {
2175
+ switch (d.advancedFilter?.component) {
2273
2176
  case "datepicker":
2274
- return r(s, o);
2177
+ return r(o, i);
2275
2178
  case "comparison":
2276
- return el(Number(s), Number(o), b);
2179
+ return Qa(Number(o), Number(i), b);
2277
2180
  default:
2278
- return i(s, o);
2181
+ return s(o, i);
2279
2182
  }
2280
2183
  }
2281
- function u(s, o) {
2282
- const b = Object.values(o).filter((c) => c.args).map((c) => c.args).reduce((c, v) => ({ ...c, ...v }), {});
2283
- return { ...s, ...b };
2184
+ function u(o, i) {
2185
+ const b = Object.values(i).filter((d) => d.args).map((d) => d.args).reduce((d, g) => ({ ...d, ...g }), {});
2186
+ return { ...o, ...b };
2284
2187
  }
2285
- function d(s, o) {
2286
- return o.split(".").reduce((b, c) => b && b[c], s);
2188
+ function c(o, i) {
2189
+ return i.split(".").reduce((b, d) => b && b[d], o);
2287
2190
  }
2288
- function m(s, o, b) {
2289
- const c = sa(s);
2290
- return Object.hasOwn(b, "filterReturnValue") && typeof b.filterReturnValue == "function" && (c[o] = b.filterReturnValue({
2291
- value: s[o],
2292
- item: s
2293
- })), d(c, o);
2191
+ function m(o, i, b) {
2192
+ const d = oa(o);
2193
+ return Object.hasOwn(b, "filterReturnValue") && typeof b.filterReturnValue == "function" && (d[i] = b.filterReturnValue({
2194
+ value: o[i],
2195
+ item: o
2196
+ })), c(d, i);
2294
2197
  }
2295
- function h(s, o) {
2296
- return s.find((b) => (b.advancedFilter?.key ?? b.key) === o);
2198
+ function h(o, i) {
2199
+ return o.find((b) => (b.advancedFilter?.key ?? b.key) === i);
2297
2200
  }
2298
- return ve(
2201
+ return ce(
2299
2202
  () => a.data,
2300
- (s, o) => {
2301
- const b = s ?? [], c = o ?? [];
2302
- JSON.stringify(b) !== JSON.stringify(c) && (l.value = s);
2203
+ (o, i) => {
2204
+ const b = o ?? [], d = i ?? [];
2205
+ JSON.stringify(b) !== JSON.stringify(d) && (l.value = o);
2303
2206
  },
2304
2207
  { deep: !0, immediate: !0 }
2305
2208
  ), { tableData: l, filteredData: n };
2306
2209
  }
2307
- const il = Et({
2210
+ const nl = At({
2308
2211
  props: {
2309
2212
  render: {
2310
2213
  type: [Function, Object, String, Number, Date],
@@ -2321,31 +2224,31 @@ const il = Et({
2321
2224
  },
2322
2225
  setup: (e) => () => {
2323
2226
  const t = { ...e.props, ...e.params };
2324
- return typeof e.render == "function" ? e.render(t) : typeof e.render == "object" && e.render !== null ? Nt(e.render, t) : e.render;
2227
+ return typeof e.render == "function" ? e.render(t) : typeof e.render == "object" && e.render !== null ? Et(e.render, t) : e.render;
2325
2228
  }
2326
2229
  });
2327
2230
  export {
2328
- il as C,
2329
- rl as V,
2330
- sl as a,
2331
- Ta as b,
2332
- ga as c,
2333
- xa as d,
2334
- Ha as e,
2335
- Ja as f,
2336
- ma as g,
2337
- Sa as h,
2338
- ha as i,
2339
- Da as j,
2340
- fa as k,
2341
- ya as l,
2342
- Ne as m,
2343
- Re as n,
2344
- $e as o,
2345
- _a as p,
2346
- Me as q,
2347
- it as r,
2348
- Qa as s,
2349
- pa as t,
2350
- ol as u
2231
+ nl as C,
2232
+ tl as V,
2233
+ al as a,
2234
+ Ia as b,
2235
+ da as c,
2236
+ ba as d,
2237
+ Ra as e,
2238
+ Ka as f,
2239
+ ca as g,
2240
+ ha as h,
2241
+ va as i,
2242
+ wa as j,
2243
+ ia as k,
2244
+ ga as l,
2245
+ Ae as m,
2246
+ Ee as n,
2247
+ Le as o,
2248
+ Va as p,
2249
+ Ne as q,
2250
+ rt as r,
2251
+ Wa as s,
2252
+ ma as t,
2253
+ ll as u
2351
2254
  };