@prefabs.tech/vue3-tanstack-table 0.23.1 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { defineComponent as Q, h as Y, isRef as Jt, shallowRef as Zt, watch as Ct, ref as K, watchEffect as en, unref as C, computed as B, createElementBlock as y, openBlock as S, createCommentVNode as D, createElementVNode as A, toDisplayString as N, Fragment as H, renderList as z, createVNode as M, createBlock as E, withCtx as G, normalizeClass as ce, normalizeStyle as oe, mergeProps as te, resolveDynamicComponent as yt, createTextVNode as tn, renderSlot as J, createSlots as Rt } from "vue";
1
+ import { defineComponent as Q, h as Y, isRef as Jt, shallowRef as Zt, watch as yt, ref as K, watchEffect as en, unref as C, computed as B, createElementBlock as y, openBlock as S, createCommentVNode as D, createElementVNode as A, toDisplayString as N, Fragment as H, renderList as z, createVNode as E, createBlock as _, withCtx as G, normalizeClass as ge, normalizeStyle as oe, mergeProps as te, resolveDynamicComponent as ue, createTextVNode as tn, renderSlot as J, createSlots as Rt } from "vue";
2
2
  import { DebouncedInput as Ft, ButtonElement as Z, formatDateTime as nn, formatDate as on, Tooltip as rn, Dropdown as ln, ConfirmationModal as sn, Popup as an, SortableList as un, getStorage as dn, LoadingIcon as cn, FilesList as gn } from "@prefabs.tech/vue3-ui";
3
- import { SelectInput as fn, DatePicker as pn, NumberInput as et, Checkbox as ke } from "@prefabs.tech/vue3-form";
4
- const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, Re = (e, o, t, n = "") => {
3
+ import { SelectInput as fn, DatePicker as pn, NumberInput as tt, Checkbox as Te } from "@prefabs.tech/vue3-form";
4
+ const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, be = (e, o, t, n = "") => {
5
5
  const i = e.split(":");
6
6
  if (e.slice(0, 1) === "@") {
7
7
  if (i.length < 2 || i.length > 3)
@@ -17,7 +17,7 @@ const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, Re = (e, o, t, n = "") => {
17
17
  prefix: a,
18
18
  name: s
19
19
  };
20
- return o && !Se(u) ? null : u;
20
+ return o && !Ce(u) ? null : u;
21
21
  }
22
22
  const r = i[0], l = r.split("-");
23
23
  if (l.length > 1) {
@@ -26,7 +26,7 @@ const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, Re = (e, o, t, n = "") => {
26
26
  prefix: l.shift(),
27
27
  name: l.join("-")
28
28
  };
29
- return o && !Se(s) ? null : s;
29
+ return o && !Ce(s) ? null : s;
30
30
  }
31
31
  if (t && n === "") {
32
32
  const s = {
@@ -34,10 +34,10 @@ const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, Re = (e, o, t, n = "") => {
34
34
  prefix: "",
35
35
  name: r
36
36
  };
37
- return o && !Se(s, t) ? null : s;
37
+ return o && !Ce(s, t) ? null : s;
38
38
  }
39
39
  return null;
40
- }, Se = (e, o) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
40
+ }, Ce = (e, o) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
41
41
  // Check name: cannot be empty
42
42
  ((o && e.prefix === "" || e.prefix) && e.name) : !1, Pt = Object.freeze(
43
43
  {
@@ -46,15 +46,15 @@ const bt = /^[a-z0-9]+(-[a-z0-9]+)*$/, Re = (e, o, t, n = "") => {
46
46
  width: 16,
47
47
  height: 16
48
48
  }
49
- ), ye = Object.freeze({
49
+ ), Fe = Object.freeze({
50
50
  rotate: 0,
51
51
  vFlip: !1,
52
52
  hFlip: !1
53
- }), Fe = Object.freeze({
53
+ }), Pe = Object.freeze({
54
54
  ...Pt,
55
- ...ye
56
- }), Te = Object.freeze({
57
- ...Fe,
55
+ ...Fe
56
+ }), He = Object.freeze({
57
+ ...Pe,
58
58
  body: "",
59
59
  hidden: !1
60
60
  });
@@ -64,10 +64,10 @@ function mn(e, o) {
64
64
  const n = ((e.rotate || 0) + (o.rotate || 0)) % 4;
65
65
  return n && (t.rotate = n), t;
66
66
  }
67
- function tt(e, o) {
67
+ function nt(e, o) {
68
68
  const t = mn(e, o);
69
- for (const n in Te)
70
- n in ye ? n in e && !(n in t) && (t[n] = ye[n]) : n in o ? t[n] = o[n] : n in e && (t[n] = e[n]);
69
+ for (const n in He)
70
+ n in Fe ? n in e && !(n in t) && (t[n] = Fe[n]) : n in o ? t[n] = o[n] : n in e && (t[n] = e[n]);
71
71
  return t;
72
72
  }
73
73
  function hn(e, o) {
@@ -88,12 +88,12 @@ function vn(e, o, t) {
88
88
  const n = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null);
89
89
  let r = {};
90
90
  function l(s) {
91
- r = tt(
91
+ r = nt(
92
92
  n[s] || i[s],
93
93
  r
94
94
  );
95
95
  }
96
- return l(o), t.forEach(l), tt(e, r);
96
+ return l(o), t.forEach(l), nt(e, r);
97
97
  }
98
98
  function $t(e, o) {
99
99
  const t = [];
@@ -115,7 +115,7 @@ const Sn = {
115
115
  not_found: {},
116
116
  ...Pt
117
117
  };
118
- function Pe(e, o) {
118
+ function Ie(e, o) {
119
119
  for (const t in o)
120
120
  if (t in e && typeof e[t] != typeof o[t])
121
121
  return !1;
@@ -125,7 +125,7 @@ function It(e) {
125
125
  if (typeof e != "object" || e === null)
126
126
  return null;
127
127
  const o = e;
128
- if (typeof o.prefix != "string" || !e.icons || typeof e.icons != "object" || !Pe(e, Sn))
128
+ if (typeof o.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ie(e, Sn))
129
129
  return null;
130
130
  const t = o.icons;
131
131
  for (const i in t) {
@@ -134,9 +134,9 @@ function It(e) {
134
134
  // Name cannot be empty
135
135
  !i || // Must have body
136
136
  typeof r.body != "string" || // Check other props
137
- !Pe(
137
+ !Ie(
138
138
  r,
139
- Te
139
+ He
140
140
  )
141
141
  )
142
142
  return null;
@@ -148,16 +148,16 @@ function It(e) {
148
148
  // Name cannot be empty
149
149
  !i || // Parent must be set and point to existing icon
150
150
  typeof l != "string" || !t[l] && !n[l] || // Check other props
151
- !Pe(
151
+ !Ie(
152
152
  r,
153
- Te
153
+ He
154
154
  )
155
155
  )
156
156
  return null;
157
157
  }
158
158
  return o;
159
159
  }
160
- const nt = /* @__PURE__ */ Object.create(null);
160
+ const ot = /* @__PURE__ */ Object.create(null);
161
161
  function wn(e, o) {
162
162
  return {
163
163
  provider: e,
@@ -167,7 +167,7 @@ function wn(e, o) {
167
167
  };
168
168
  }
169
169
  function ie(e, o) {
170
- const t = nt[e] || (nt[e] = /* @__PURE__ */ Object.create(null));
170
+ const t = ot[e] || (ot[e] = /* @__PURE__ */ Object.create(null));
171
171
  return t[o] || (t[o] = wn(e, o));
172
172
  }
173
173
  function xt(e, o) {
@@ -183,19 +183,19 @@ function Cn(e, o, t) {
183
183
  }
184
184
  return !1;
185
185
  }
186
- let ge = !1;
186
+ let fe = !1;
187
187
  function At(e) {
188
- return typeof e == "boolean" && (ge = e), ge;
188
+ return typeof e == "boolean" && (fe = e), fe;
189
189
  }
190
190
  function yn(e) {
191
- const o = typeof e == "string" ? Re(e, !0, ge) : e;
191
+ const o = typeof e == "string" ? be(e, !0, fe) : e;
192
192
  if (o) {
193
193
  const t = ie(o.provider, o.prefix), n = o.name;
194
194
  return t.icons[n] || (t.missing.has(n) ? null : void 0);
195
195
  }
196
196
  }
197
197
  function Rn(e, o) {
198
- const t = Re(e, !0, ge);
198
+ const t = be(e, !0, fe);
199
199
  if (!t)
200
200
  return !1;
201
201
  const n = ie(t.provider, t.prefix);
@@ -204,14 +204,14 @@ function Rn(e, o) {
204
204
  function Fn(e, o) {
205
205
  if (typeof e != "object")
206
206
  return !1;
207
- if (typeof o != "string" && (o = e.provider || ""), ge && !o && !e.prefix) {
207
+ if (typeof o != "string" && (o = e.provider || ""), fe && !o && !e.prefix) {
208
208
  let i = !1;
209
209
  return It(e) && (e.prefix = "", $t(e, (r, l) => {
210
210
  Rn(r, l) && (i = !0);
211
211
  })), i;
212
212
  }
213
213
  const t = e.prefix;
214
- if (!Se({
214
+ if (!Ce({
215
215
  prefix: t,
216
216
  name: "a"
217
217
  }))
@@ -226,9 +226,9 @@ const Dt = Object.freeze({
226
226
  // Dimensions
227
227
  ...Dt,
228
228
  // Transformations
229
- ...ye
229
+ ...Fe
230
230
  }), bn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Pn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
231
- function ot(e, o, t) {
231
+ function it(e, o, t) {
232
232
  if (o === 1)
233
233
  return e;
234
234
  if (t = t || 100, typeof e == "number")
@@ -278,7 +278,7 @@ function xn(e, o, t) {
278
278
  const An = (e) => e === "unset" || e === "undefined" || e === "none";
279
279
  function Dn(e, o) {
280
280
  const t = {
281
- ...Fe,
281
+ ...Pe,
282
282
  ...e
283
283
  }, n = {
284
284
  ...Vt,
@@ -290,19 +290,19 @@ function Dn(e, o) {
290
290
  height: t.height
291
291
  };
292
292
  let r = t.body;
293
- [t, n].forEach((m) => {
294
- const h = [], R = m.hFlip, $ = m.vFlip;
295
- let P = m.rotate;
293
+ [t, n].forEach((p) => {
294
+ const h = [], R = p.hFlip, $ = p.vFlip;
295
+ let P = p.rotate;
296
296
  R ? $ ? P += 2 : (h.push(
297
297
  "translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
298
298
  ), h.push("scale(-1 1)"), i.top = i.left = 0) : $ && (h.push(
299
299
  "translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
300
300
  ), h.push("scale(1 -1)"), i.top = i.left = 0);
301
- let _;
301
+ let M;
302
302
  switch (P < 0 && (P -= Math.floor(P / 4) * 4), P = P % 4, P) {
303
303
  case 1:
304
- _ = i.height / 2 + i.top, h.unshift(
305
- "rotate(90 " + _.toString() + " " + _.toString() + ")"
304
+ M = i.height / 2 + i.top, h.unshift(
305
+ "rotate(90 " + M.toString() + " " + M.toString() + ")"
306
306
  );
307
307
  break;
308
308
  case 2:
@@ -311,28 +311,28 @@ function Dn(e, o) {
311
311
  );
312
312
  break;
313
313
  case 3:
314
- _ = i.width / 2 + i.left, h.unshift(
315
- "rotate(-90 " + _.toString() + " " + _.toString() + ")"
314
+ M = i.width / 2 + i.left, h.unshift(
315
+ "rotate(-90 " + M.toString() + " " + M.toString() + ")"
316
316
  );
317
317
  break;
318
318
  }
319
- P % 2 === 1 && (i.left !== i.top && (_ = i.left, i.left = i.top, i.top = _), i.width !== i.height && (_ = i.width, i.width = i.height, i.height = _)), h.length && (r = xn(
319
+ P % 2 === 1 && (i.left !== i.top && (M = i.left, i.left = i.top, i.top = M), i.width !== i.height && (M = i.width, i.width = i.height, i.height = M)), h.length && (r = xn(
320
320
  r,
321
321
  '<g transform="' + h.join(" ") + '">',
322
322
  "</g>"
323
323
  ));
324
324
  });
325
325
  const l = n.width, s = n.height, a = i.width, u = i.height;
326
- let g, f;
327
- l === null ? (f = s === null ? "1em" : s === "auto" ? u : s, g = ot(f, a / u)) : (g = l === "auto" ? a : l, f = s === null ? ot(g, u / a) : s === "auto" ? u : s);
328
- const c = {}, d = (m, h) => {
329
- An(h) || (c[m] = h.toString());
326
+ let c, f;
327
+ l === null ? (f = s === null ? "1em" : s === "auto" ? u : s, c = it(f, a / u)) : (c = l === "auto" ? a : l, f = s === null ? it(c, u / a) : s === "auto" ? u : s);
328
+ const g = {}, d = (p, h) => {
329
+ An(h) || (g[p] = h.toString());
330
330
  };
331
- d("width", g), d("height", f);
332
- const p = [i.left, i.top, a, u];
333
- return c.viewBox = p.join(" "), {
334
- attributes: c,
335
- viewBox: p,
331
+ d("width", c), d("height", f);
332
+ const m = [i.left, i.top, a, u];
333
+ return g.viewBox = m.join(" "), {
334
+ attributes: g,
335
+ viewBox: m,
336
336
  body: r
337
337
  };
338
338
  }
@@ -356,14 +356,14 @@ function En(e, o = _n) {
356
356
  );
357
357
  }), e = e.replace(new RegExp(i, "g"), ""), e;
358
358
  }
359
- const He = /* @__PURE__ */ Object.create(null);
360
- function Ln(e, o) {
361
- He[e] = o;
359
+ const Be = /* @__PURE__ */ Object.create(null);
360
+ function kn(e, o) {
361
+ Be[e] = o;
362
362
  }
363
363
  function Oe(e) {
364
- return He[e] || He[""];
364
+ return Be[e] || Be[""];
365
365
  }
366
- function Ue(e) {
366
+ function We(e) {
367
367
  let o;
368
368
  if (typeof e.resources == "string")
369
369
  o = [e.resources];
@@ -388,21 +388,21 @@ function Ue(e) {
388
388
  dataAfterTimeout: e.dataAfterTimeout !== !1
389
389
  };
390
390
  }
391
- const We = /* @__PURE__ */ Object.create(null), re = [
391
+ const Qe = /* @__PURE__ */ Object.create(null), re = [
392
392
  "https://api.simplesvg.com",
393
393
  "https://api.unisvg.com"
394
- ], we = [];
394
+ ], ye = [];
395
395
  for (; re.length > 0; )
396
- re.length === 1 || Math.random() > 0.5 ? we.push(re.shift()) : we.push(re.pop());
397
- We[""] = Ue({
398
- resources: ["https://api.iconify.design"].concat(we)
396
+ re.length === 1 || Math.random() > 0.5 ? ye.push(re.shift()) : ye.push(re.pop());
397
+ Qe[""] = We({
398
+ resources: ["https://api.iconify.design"].concat(ye)
399
399
  });
400
- function kn(e, o) {
401
- const t = Ue(o);
402
- return t === null ? !1 : (We[e] = t, !0);
400
+ function Ln(e, o) {
401
+ const t = We(o);
402
+ return t === null ? !1 : (Qe[e] = t, !0);
403
403
  }
404
- function Qe(e) {
405
- return We[e];
404
+ function Xe(e) {
405
+ return Qe[e];
406
406
  }
407
407
  const Tn = () => {
408
408
  let e;
@@ -412,9 +412,9 @@ const Tn = () => {
412
412
  } catch {
413
413
  }
414
414
  };
415
- let it = Tn();
415
+ let rt = Tn();
416
416
  function Hn(e, o) {
417
- const t = Qe(e);
417
+ const t = Xe(e);
418
418
  if (!t)
419
419
  return 0;
420
420
  let n;
@@ -430,10 +430,10 @@ function Hn(e, o) {
430
430
  }
431
431
  return n;
432
432
  }
433
- function On(e) {
433
+ function Bn(e) {
434
434
  return e === 404;
435
435
  }
436
- const Bn = (e, o, t) => {
436
+ const On = (e, o, t) => {
437
437
  const n = [], i = Hn(e, o), r = "icons";
438
438
  let l = {
439
439
  type: r,
@@ -452,14 +452,14 @@ const Bn = (e, o, t) => {
452
452
  };
453
453
  function Gn(e) {
454
454
  if (typeof e == "string") {
455
- const o = Qe(e);
455
+ const o = Xe(e);
456
456
  if (o)
457
457
  return o.path;
458
458
  }
459
459
  return "/";
460
460
  }
461
461
  const zn = (e, o, t) => {
462
- if (!it) {
462
+ if (!rt) {
463
463
  t("abort", 424);
464
464
  return;
465
465
  }
@@ -482,11 +482,11 @@ const zn = (e, o, t) => {
482
482
  return;
483
483
  }
484
484
  let i = 503;
485
- it(e + n).then((r) => {
485
+ rt(e + n).then((r) => {
486
486
  const l = r.status;
487
487
  if (l !== 200) {
488
488
  setTimeout(() => {
489
- t(On(l) ? "abort" : "next", l);
489
+ t(Bn(l) ? "abort" : "next", l);
490
490
  });
491
491
  return;
492
492
  }
@@ -505,7 +505,7 @@ const zn = (e, o, t) => {
505
505
  t("next", i);
506
506
  });
507
507
  }, Nn = {
508
- prepare: Bn,
508
+ prepare: On,
509
509
  send: zn
510
510
  };
511
511
  function jn(e) {
@@ -525,14 +525,14 @@ function jn(e) {
525
525
  return;
526
526
  n = i;
527
527
  const r = i.provider, l = i.prefix, s = i.name, a = t[r] || (t[r] = /* @__PURE__ */ Object.create(null)), u = a[l] || (a[l] = ie(r, l));
528
- let g;
529
- s in u.icons ? g = o.loaded : l === "" || u.missing.has(s) ? g = o.missing : g = o.pending;
528
+ let c;
529
+ s in u.icons ? c = o.loaded : l === "" || u.missing.has(s) ? c = o.missing : c = o.pending;
530
530
  const f = {
531
531
  provider: r,
532
532
  prefix: l,
533
533
  name: s
534
534
  };
535
- g.push(f);
535
+ c.push(f);
536
536
  }), o;
537
537
  }
538
538
  function _t(e, o) {
@@ -597,7 +597,7 @@ function Un(e, o, t) {
597
597
  function Wn(e, o = !0, t = !1) {
598
598
  const n = [];
599
599
  return e.forEach((i) => {
600
- const r = typeof i == "string" ? Re(i, o, t) : i;
600
+ const r = typeof i == "string" ? be(i, o, t) : i;
601
601
  r && n.push(r);
602
602
  }), n;
603
603
  }
@@ -622,15 +622,15 @@ function Xn(e, o, t, n) {
622
622
  } else
623
623
  l = e.resources.slice(r).concat(e.resources.slice(0, r));
624
624
  const s = Date.now();
625
- let a = "pending", u = 0, g, f = null, c = [], d = [];
625
+ let a = "pending", u = 0, c, f = null, g = [], d = [];
626
626
  typeof n == "function" && d.push(n);
627
- function p() {
627
+ function m() {
628
628
  f && (clearTimeout(f), f = null);
629
629
  }
630
- function m() {
631
- a === "pending" && (a = "aborted"), p(), c.forEach((w) => {
630
+ function p() {
631
+ a === "pending" && (a = "aborted"), m(), g.forEach((w) => {
632
632
  w.status === "pending" && (w.status = "aborted");
633
- }), c = [];
633
+ }), g = [];
634
634
  }
635
635
  function h(w, I) {
636
636
  I && (d = []), typeof w == "function" && d.push(w);
@@ -641,58 +641,58 @@ function Xn(e, o, t, n) {
641
641
  payload: o,
642
642
  status: a,
643
643
  queriesSent: u,
644
- queriesPending: c.length,
644
+ queriesPending: g.length,
645
645
  subscribe: h,
646
- abort: m
646
+ abort: p
647
647
  };
648
648
  }
649
649
  function $() {
650
650
  a = "failed", d.forEach((w) => {
651
- w(void 0, g);
651
+ w(void 0, c);
652
652
  });
653
653
  }
654
654
  function P() {
655
- c.forEach((w) => {
655
+ g.forEach((w) => {
656
656
  w.status === "pending" && (w.status = "aborted");
657
- }), c = [];
657
+ }), g = [];
658
658
  }
659
- function _(w, I, V) {
660
- const L = I !== "success";
661
- switch (c = c.filter((k) => k !== w), a) {
659
+ function M(w, I, V) {
660
+ const k = I !== "success";
661
+ switch (g = g.filter((L) => L !== w), a) {
662
662
  case "pending":
663
663
  break;
664
664
  case "failed":
665
- if (L || !e.dataAfterTimeout)
665
+ if (k || !e.dataAfterTimeout)
666
666
  return;
667
667
  break;
668
668
  default:
669
669
  return;
670
670
  }
671
671
  if (I === "abort") {
672
- g = V, $();
672
+ c = V, $();
673
673
  return;
674
674
  }
675
- if (L) {
676
- g = V, c.length || (l.length ? v() : $());
675
+ if (k) {
676
+ c = V, g.length || (l.length ? v() : $());
677
677
  return;
678
678
  }
679
- if (p(), P(), !e.random) {
680
- const k = e.resources.indexOf(w.resource);
681
- k !== -1 && k !== e.index && (e.index = k);
679
+ if (m(), P(), !e.random) {
680
+ const L = e.resources.indexOf(w.resource);
681
+ L !== -1 && L !== e.index && (e.index = L);
682
682
  }
683
- a = "completed", d.forEach((k) => {
684
- k(V);
683
+ a = "completed", d.forEach((L) => {
684
+ L(V);
685
685
  });
686
686
  }
687
687
  function v() {
688
688
  if (a !== "pending")
689
689
  return;
690
- p();
690
+ m();
691
691
  const w = l.shift();
692
692
  if (w === void 0) {
693
- if (c.length) {
693
+ if (g.length) {
694
694
  f = setTimeout(() => {
695
- p(), a === "pending" && (P(), $());
695
+ m(), a === "pending" && (P(), $());
696
696
  }, e.timeout);
697
697
  return;
698
698
  }
@@ -702,11 +702,11 @@ function Xn(e, o, t, n) {
702
702
  const I = {
703
703
  status: "pending",
704
704
  resource: w,
705
- callback: (V, L) => {
706
- _(I, V, L);
705
+ callback: (V, k) => {
706
+ M(I, V, k);
707
707
  }
708
708
  };
709
- c.push(I), u++, f = setTimeout(v, e.rotate), t(w, o, I.callback);
709
+ g.push(I), u++, f = setTimeout(v, e.rotate), t(w, o, I.callback);
710
710
  }
711
711
  return setTimeout(v), R;
712
712
  }
@@ -720,15 +720,15 @@ function Mt(e) {
720
720
  t = t.filter((s) => s().status === "pending");
721
721
  }
722
722
  function i(s, a, u) {
723
- const g = Xn(
723
+ const c = Xn(
724
724
  o,
725
725
  s,
726
726
  a,
727
- (f, c) => {
728
- n(), u && u(f, c);
727
+ (f, g) => {
728
+ n(), u && u(f, g);
729
729
  }
730
730
  );
731
- return t.push(g), g;
731
+ return t.push(c), c;
732
732
  }
733
733
  function r(s) {
734
734
  return t.find((a) => s(a)) || null;
@@ -743,42 +743,42 @@ function Mt(e) {
743
743
  cleanup: n
744
744
  };
745
745
  }
746
- function rt() {
746
+ function lt() {
747
747
  }
748
- const $e = /* @__PURE__ */ Object.create(null);
748
+ const xe = /* @__PURE__ */ Object.create(null);
749
749
  function Yn(e) {
750
- if (!$e[e]) {
751
- const o = Qe(e);
750
+ if (!xe[e]) {
751
+ const o = Xe(e);
752
752
  if (!o)
753
753
  return;
754
754
  const t = Mt(o), n = {
755
755
  config: o,
756
756
  redundancy: t
757
757
  };
758
- $e[e] = n;
758
+ xe[e] = n;
759
759
  }
760
- return $e[e];
760
+ return xe[e];
761
761
  }
762
762
  function Jn(e, o, t) {
763
763
  let n, i;
764
764
  if (typeof e == "string") {
765
765
  const r = Oe(e);
766
766
  if (!r)
767
- return t(void 0, 424), rt;
767
+ return t(void 0, 424), lt;
768
768
  i = r.send;
769
769
  const l = Yn(e);
770
770
  l && (n = l.redundancy);
771
771
  } else {
772
- const r = Ue(e);
772
+ const r = We(e);
773
773
  if (r) {
774
774
  n = Mt(r);
775
775
  const l = e.resources ? e.resources[0] : "", s = Oe(l);
776
776
  s && (i = s.send);
777
777
  }
778
778
  }
779
- return !n || !i ? (t(void 0, 424), rt) : n.query(o, i, t)().abort;
779
+ return !n || !i ? (t(void 0, 424), lt) : n.query(o, i, t)().abort;
780
780
  }
781
- function lt() {
781
+ function st() {
782
782
  }
783
783
  function Zn(e) {
784
784
  e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
@@ -812,7 +812,7 @@ function le(e, o, t) {
812
812
  }
813
813
  n(), Zn(e);
814
814
  }
815
- function st(e, o) {
815
+ function at(e, o) {
816
816
  e instanceof Promise ? e.then((t) => {
817
817
  o(t);
818
818
  }).catch(() => {
@@ -827,25 +827,25 @@ function to(e, o) {
827
827
  return;
828
828
  const r = e.loadIcon;
829
829
  if (e.loadIcons && (i.length > 1 || !r)) {
830
- st(
830
+ at(
831
831
  e.loadIcons(i, n, t),
832
- (g) => {
833
- le(e, i, g);
832
+ (c) => {
833
+ le(e, i, c);
834
834
  }
835
835
  );
836
836
  return;
837
837
  }
838
838
  if (r) {
839
- i.forEach((g) => {
840
- const f = r(g, n, t);
841
- st(f, (c) => {
842
- const d = c ? {
839
+ i.forEach((c) => {
840
+ const f = r(c, n, t);
841
+ at(f, (g) => {
842
+ const d = g ? {
843
843
  prefix: n,
844
844
  icons: {
845
- [g]: c
845
+ [c]: g
846
846
  }
847
847
  } : null;
848
- le(e, [g], d);
848
+ le(e, [c], d);
849
849
  });
850
850
  });
851
851
  return;
@@ -858,9 +858,9 @@ function to(e, o) {
858
858
  le(e, l, null);
859
859
  return;
860
860
  }
861
- a.prepare(t, n, l).forEach((g) => {
862
- Jn(t, g, (f) => {
863
- le(e, g.icons, f);
861
+ a.prepare(t, n, l).forEach((c) => {
862
+ Jn(t, c, (f) => {
863
+ le(e, c.icons, f);
864
864
  });
865
865
  });
866
866
  }));
@@ -874,7 +874,7 @@ const no = (e, o) => {
874
874
  n.loaded,
875
875
  n.missing,
876
876
  n.pending,
877
- lt
877
+ st
878
878
  );
879
879
  }), () => {
880
880
  a = !1;
@@ -883,19 +883,19 @@ const no = (e, o) => {
883
883
  const i = /* @__PURE__ */ Object.create(null), r = [];
884
884
  let l, s;
885
885
  return n.pending.forEach((a) => {
886
- const { provider: u, prefix: g } = a;
887
- if (g === s && u === l)
886
+ const { provider: u, prefix: c } = a;
887
+ if (c === s && u === l)
888
888
  return;
889
- l = u, s = g, r.push(ie(u, g));
889
+ l = u, s = c, r.push(ie(u, c));
890
890
  const f = i[u] || (i[u] = /* @__PURE__ */ Object.create(null));
891
- f[g] || (f[g] = []);
891
+ f[c] || (f[c] = []);
892
892
  }), n.pending.forEach((a) => {
893
- const { provider: u, prefix: g, name: f } = a, c = ie(u, g), d = c.pendingIcons || (c.pendingIcons = /* @__PURE__ */ new Set());
894
- d.has(f) || (d.add(f), i[u][g].push(f));
893
+ const { provider: u, prefix: c, name: f } = a, g = ie(u, c), d = g.pendingIcons || (g.pendingIcons = /* @__PURE__ */ new Set());
894
+ d.has(f) || (d.add(f), i[u][c].push(f));
895
895
  }), r.forEach((a) => {
896
896
  const u = i[a.provider][a.prefix];
897
897
  u.length && to(a, u);
898
- }), o ? Un(o, n, r) : lt;
898
+ }), o ? Un(o, n, r) : st;
899
899
  };
900
900
  function oo(e, o) {
901
901
  const t = {
@@ -961,7 +961,7 @@ function uo(e) {
961
961
  function co(e) {
962
962
  return 'url("' + uo(e) + '")';
963
963
  }
964
- const at = {
964
+ const ut = {
965
965
  ...Vt,
966
966
  inline: !1
967
967
  }, go = {
@@ -971,38 +971,38 @@ const at = {
971
971
  role: "img"
972
972
  }, fo = {
973
973
  display: "inline-block"
974
- }, Be = {
974
+ }, Ge = {
975
975
  backgroundColor: "currentColor"
976
976
  }, Et = {
977
977
  backgroundColor: "transparent"
978
- }, ut = {
978
+ }, dt = {
979
979
  Image: "var(--svg)",
980
980
  Repeat: "no-repeat",
981
981
  Size: "100% 100%"
982
- }, dt = {
983
- webkitMask: Be,
984
- mask: Be,
982
+ }, ct = {
983
+ webkitMask: Ge,
984
+ mask: Ge,
985
985
  background: Et
986
986
  };
987
- for (const e in dt) {
988
- const o = dt[e];
989
- for (const t in ut)
990
- o[e + t] = ut[t];
987
+ for (const e in ct) {
988
+ const o = ct[e];
989
+ for (const t in dt)
990
+ o[e + t] = dt[t];
991
991
  }
992
- const Ce = {};
992
+ const Re = {};
993
993
  ["horizontal", "vertical"].forEach((e) => {
994
994
  const o = e.slice(0, 1) + "Flip";
995
- Ce[e + "-flip"] = o, Ce[e.slice(0, 1) + "-flip"] = o, Ce[e + "Flip"] = o;
995
+ Re[e + "-flip"] = o, Re[e.slice(0, 1) + "-flip"] = o, Re[e + "Flip"] = o;
996
996
  });
997
- function ct(e) {
997
+ function gt(e) {
998
998
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
999
999
  }
1000
- const gt = (e, o) => {
1001
- const t = oo(at, o), n = { ...go }, i = o.mode || "svg", r = {}, l = o.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
1002
- for (let m in o) {
1003
- const h = o[m];
1000
+ const ft = (e, o) => {
1001
+ const t = oo(ut, o), n = { ...go }, i = o.mode || "svg", r = {}, l = o.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
1002
+ for (let p in o) {
1003
+ const h = o[p];
1004
1004
  if (h !== void 0)
1005
- switch (m) {
1005
+ switch (p) {
1006
1006
  // Properties to ignore
1007
1007
  case "icon":
1008
1008
  case "style":
@@ -1014,7 +1014,7 @@ const gt = (e, o) => {
1014
1014
  case "inline":
1015
1015
  case "hFlip":
1016
1016
  case "vFlip":
1017
- t[m] = h === !0 || h === "true" || h === 1;
1017
+ t[p] = h === !0 || h === "true" || h === 1;
1018
1018
  break;
1019
1019
  // Flip as string: 'horizontal,vertical'
1020
1020
  case "flip":
@@ -1026,7 +1026,7 @@ const gt = (e, o) => {
1026
1026
  break;
1027
1027
  // Rotation as string
1028
1028
  case "rotate":
1029
- typeof h == "string" ? t[m] = lo(h) : typeof h == "number" && (t[m] = h);
1029
+ typeof h == "string" ? t[p] = lo(h) : typeof h == "number" && (t[p] = h);
1030
1030
  break;
1031
1031
  // Remove aria-hidden
1032
1032
  case "ariaHidden":
@@ -1034,8 +1034,8 @@ const gt = (e, o) => {
1034
1034
  h !== !0 && h !== "true" && delete n["aria-hidden"];
1035
1035
  break;
1036
1036
  default: {
1037
- const R = Ce[m];
1038
- R ? (h === !0 || h === "true" || h === 1) && (t[R] = !0) : at[m] === void 0 && (n[m] = h);
1037
+ const R = Re[p];
1038
+ R ? (h === !0 || h === "true" || h === 1) && (t[R] = !0) : ut[p] === void 0 && (n[p] = h);
1039
1039
  }
1040
1040
  }
1041
1041
  }
@@ -1045,26 +1045,26 @@ const gt = (e, o) => {
1045
1045
  ...r,
1046
1046
  ...s
1047
1047
  }, Object.assign(n, u);
1048
- let m = 0, h = o.id;
1049
- return typeof h == "string" && (h = h.replace(/-/g, "_")), n.innerHTML = En(a.body, h ? () => h + "ID" + m++ : "iconifyVue"), Y("svg", n);
1048
+ let p = 0, h = o.id;
1049
+ return typeof h == "string" && (h = h.replace(/-/g, "_")), n.innerHTML = En(a.body, h ? () => h + "ID" + p++ : "iconifyVue"), Y("svg", n);
1050
1050
  }
1051
- const { body: g, width: f, height: c } = e, d = i === "mask" || (i === "bg" ? !1 : g.indexOf("currentColor") !== -1), p = so(g, {
1051
+ const { body: c, width: f, height: g } = e, d = i === "mask" || (i === "bg" ? !1 : c.indexOf("currentColor") !== -1), m = so(c, {
1052
1052
  ...u,
1053
1053
  width: f + "",
1054
- height: c + ""
1054
+ height: g + ""
1055
1055
  });
1056
1056
  return n.style = {
1057
1057
  ...r,
1058
- "--svg": co(p),
1059
- width: ct(u.width),
1060
- height: ct(u.height),
1058
+ "--svg": co(m),
1059
+ width: gt(u.width),
1060
+ height: gt(u.height),
1061
1061
  ...fo,
1062
- ...d ? Be : Et,
1062
+ ...d ? Ge : Et,
1063
1063
  ...s
1064
1064
  }, Y("span", n);
1065
1065
  };
1066
1066
  At(!0);
1067
- Ln("", Nn);
1067
+ kn("", Nn);
1068
1068
  if (typeof document < "u" && typeof window < "u") {
1069
1069
  const e = window;
1070
1070
  if (e.IconifyPreload !== void 0) {
@@ -1089,7 +1089,7 @@ if (typeof document < "u" && typeof window < "u") {
1089
1089
  const i = o[t];
1090
1090
  if (typeof i != "object" || !i || i.resources === void 0)
1091
1091
  continue;
1092
- kn(t, i) || console.error(n);
1092
+ Ln(t, i) || console.error(n);
1093
1093
  } catch {
1094
1094
  console.error(n);
1095
1095
  }
@@ -1097,7 +1097,7 @@ if (typeof document < "u" && typeof window < "u") {
1097
1097
  }
1098
1098
  }
1099
1099
  const po = {
1100
- ...Fe,
1100
+ ...Pe,
1101
1101
  body: ""
1102
1102
  }, j = Q({
1103
1103
  // Do not inherit other attributes: it is handled by render()
@@ -1132,7 +1132,7 @@ const po = {
1132
1132
  data: e
1133
1133
  };
1134
1134
  let n;
1135
- if (typeof e != "string" || (n = Re(e, !1, !0)) === null)
1135
+ if (typeof e != "string" || (n = be(e, !1, !0)) === null)
1136
1136
  return this.abortLoading(), null;
1137
1137
  let i = yn(n);
1138
1138
  if (!i)
@@ -1156,13 +1156,13 @@ const po = {
1156
1156
  this.counter;
1157
1157
  const e = this.$attrs, o = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad, e.customise) : null;
1158
1158
  if (!o)
1159
- return gt(po, e);
1159
+ return ft(po, e);
1160
1160
  let t = e;
1161
1161
  return o.classes && (t = {
1162
1162
  ...e,
1163
1163
  class: (typeof e.class == "string" ? e.class + " " : "") + o.classes.join(" ")
1164
- }), gt({
1165
- ...Fe,
1164
+ }), ft({
1165
+ ...Pe,
1166
1166
  ...o.data
1167
1167
  }, t);
1168
1168
  }
@@ -1201,7 +1201,7 @@ function q(e, o) {
1201
1201
  }));
1202
1202
  };
1203
1203
  }
1204
- function be(e) {
1204
+ function $e(e) {
1205
1205
  return e instanceof Function;
1206
1206
  }
1207
1207
  function ho(e) {
@@ -1223,20 +1223,20 @@ function F(e, o, t) {
1223
1223
  let l;
1224
1224
  t.key && t.debug && (l = Date.now());
1225
1225
  const s = e(r);
1226
- if (!(s.length !== n.length || s.some((g, f) => n[f] !== g)))
1226
+ if (!(s.length !== n.length || s.some((c, f) => n[f] !== c)))
1227
1227
  return i;
1228
1228
  n = s;
1229
1229
  let u;
1230
1230
  if (t.key && t.debug && (u = Date.now()), i = o(...s), t == null || t.onChange == null || t.onChange(i), t.key && t.debug && t != null && t.debug()) {
1231
- const g = Math.round((Date.now() - l) * 100) / 100, f = Math.round((Date.now() - u) * 100) / 100, c = f / 16, d = (p, m) => {
1232
- for (p = String(p); p.length < m; )
1233
- p = " " + p;
1234
- return p;
1231
+ const c = Math.round((Date.now() - l) * 100) / 100, f = Math.round((Date.now() - u) * 100) / 100, g = f / 16, d = (m, p) => {
1232
+ for (m = String(m); m.length < p; )
1233
+ m = " " + m;
1234
+ return m;
1235
1235
  };
1236
- console.info(`%c⏱ ${d(f, 5)} /${d(g, 5)} ms`, `
1236
+ console.info(`%c⏱ ${d(f, 5)} /${d(c, 5)} ms`, `
1237
1237
  font-size: .6rem;
1238
1238
  font-weight: bold;
1239
- color: hsl(${Math.max(0, Math.min(120 - 120 * c, 120))}deg 100% 31%);`, t?.key);
1239
+ color: hsl(${Math.max(0, Math.min(120 - 120 * g, 120))}deg 100% 31%);`, t?.key);
1240
1240
  }
1241
1241
  return i;
1242
1242
  };
@@ -1280,42 +1280,42 @@ function wo(e, o, t, n) {
1280
1280
  ...e._getDefaultColumnDef(),
1281
1281
  ...o
1282
1282
  }, a = s.accessorKey;
1283
- let u = (i = (r = s.id) != null ? r : a ? typeof String.prototype.replaceAll == "function" ? a.replaceAll(".", "_") : a.replace(/\./g, "_") : void 0) != null ? i : typeof s.header == "string" ? s.header : void 0, g;
1284
- if (s.accessorFn ? g = s.accessorFn : a && (a.includes(".") ? g = (c) => {
1285
- let d = c;
1286
- for (const m of a.split(".")) {
1287
- var p;
1288
- d = (p = d) == null ? void 0 : p[m], process.env.NODE_ENV !== "production" && d === void 0 && console.warn(`"${m}" in deeply nested key "${a}" returned undefined.`);
1283
+ let u = (i = (r = s.id) != null ? r : a ? typeof String.prototype.replaceAll == "function" ? a.replaceAll(".", "_") : a.replace(/\./g, "_") : void 0) != null ? i : typeof s.header == "string" ? s.header : void 0, c;
1284
+ if (s.accessorFn ? c = s.accessorFn : a && (a.includes(".") ? c = (g) => {
1285
+ let d = g;
1286
+ for (const p of a.split(".")) {
1287
+ var m;
1288
+ d = (m = d) == null ? void 0 : m[p], process.env.NODE_ENV !== "production" && d === void 0 && console.warn(`"${p}" in deeply nested key "${a}" returned undefined.`);
1289
1289
  }
1290
1290
  return d;
1291
- } : g = (c) => c[s.accessorKey]), !u)
1291
+ } : c = (g) => g[s.accessorKey]), !u)
1292
1292
  throw process.env.NODE_ENV !== "production" ? new Error(s.accessorFn ? "Columns require an id when using an accessorFn" : "Columns require an id when using a non-string header") : new Error();
1293
1293
  let f = {
1294
1294
  id: `${String(u)}`,
1295
- accessorFn: g,
1295
+ accessorFn: c,
1296
1296
  parent: n,
1297
1297
  depth: t,
1298
1298
  columnDef: s,
1299
1299
  columns: [],
1300
1300
  getFlatColumns: F(() => [!0], () => {
1301
- var c;
1302
- return [f, ...(c = f.columns) == null ? void 0 : c.flatMap((d) => d.getFlatColumns())];
1301
+ var g;
1302
+ return [f, ...(g = f.columns) == null ? void 0 : g.flatMap((d) => d.getFlatColumns())];
1303
1303
  }, b(e.options, "debugColumns", "column.getFlatColumns")),
1304
- getLeafColumns: F(() => [e._getOrderColumnsFn()], (c) => {
1304
+ getLeafColumns: F(() => [e._getOrderColumnsFn()], (g) => {
1305
1305
  var d;
1306
1306
  if ((d = f.columns) != null && d.length) {
1307
- let p = f.columns.flatMap((m) => m.getLeafColumns());
1308
- return c(p);
1307
+ let m = f.columns.flatMap((p) => p.getLeafColumns());
1308
+ return g(m);
1309
1309
  }
1310
1310
  return [f];
1311
1311
  }, b(e.options, "debugColumns", "column.getLeafColumns"))
1312
1312
  };
1313
- for (const c of e._features)
1314
- c.createColumn == null || c.createColumn(f, e);
1313
+ for (const g of e._features)
1314
+ g.createColumn == null || g.createColumn(f, e);
1315
1315
  return f;
1316
1316
  }
1317
1317
  const O = "debugHeaders";
1318
- function ft(e, o, t) {
1318
+ function pt(e, o, t) {
1319
1319
  var n;
1320
1320
  let r = {
1321
1321
  id: (n = t.id) != null ? n : o.id,
@@ -1348,16 +1348,16 @@ const Co = {
1348
1348
  createTable: (e) => {
1349
1349
  e.getHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, i) => {
1350
1350
  var r, l;
1351
- const s = (r = n?.map((f) => t.find((c) => c.id === f)).filter(Boolean)) != null ? r : [], a = (l = i?.map((f) => t.find((c) => c.id === f)).filter(Boolean)) != null ? l : [], u = t.filter((f) => !(n != null && n.includes(f.id)) && !(i != null && i.includes(f.id)));
1352
- return pe(o, [...s, ...u, ...a], e);
1353
- }, b(e.options, O, "getHeaderGroups")), e.getCenterHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, i) => (t = t.filter((r) => !(n != null && n.includes(r.id)) && !(i != null && i.includes(r.id))), pe(o, t, e, "center")), b(e.options, O, "getCenterHeaderGroups")), e.getLeftHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
1351
+ const s = (r = n?.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? r : [], a = (l = i?.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? l : [], u = t.filter((f) => !(n != null && n.includes(f.id)) && !(i != null && i.includes(f.id)));
1352
+ return me(o, [...s, ...u, ...a], e);
1353
+ }, b(e.options, O, "getHeaderGroups")), e.getCenterHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, i) => (t = t.filter((r) => !(n != null && n.includes(r.id)) && !(i != null && i.includes(r.id))), me(o, t, e, "center")), b(e.options, O, "getCenterHeaderGroups")), e.getLeftHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
1354
1354
  var i;
1355
1355
  const r = (i = n?.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
1356
- return pe(o, r, e, "left");
1356
+ return me(o, r, e, "left");
1357
1357
  }, b(e.options, O, "getLeftHeaderGroups")), e.getRightHeaderGroups = F(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (o, t, n) => {
1358
1358
  var i;
1359
1359
  const r = (i = n?.map((l) => t.find((s) => s.id === l)).filter(Boolean)) != null ? i : [];
1360
- return pe(o, r, e, "right");
1360
+ return me(o, r, e, "right");
1361
1361
  }, b(e.options, O, "getRightHeaderGroups")), e.getFooterGroups = F(() => [e.getHeaderGroups()], (o) => [...o].reverse(), b(e.options, O, "getFooterGroups")), e.getLeftFooterGroups = F(() => [e.getLeftHeaderGroups()], (o) => [...o].reverse(), b(e.options, O, "getLeftFooterGroups")), e.getCenterFooterGroups = F(() => [e.getCenterHeaderGroups()], (o) => [...o].reverse(), b(e.options, O, "getCenterFooterGroups")), e.getRightFooterGroups = F(() => [e.getRightHeaderGroups()], (o) => [...o].reverse(), b(e.options, O, "getRightFooterGroups")), e.getFlatHeaders = F(() => [e.getHeaderGroups()], (o) => o.map((t) => t.headers).flat(), b(e.options, O, "getFlatHeaders")), e.getLeftFlatHeaders = F(() => [e.getLeftHeaderGroups()], (o) => o.map((t) => t.headers).flat(), b(e.options, O, "getLeftFlatHeaders")), e.getCenterFlatHeaders = F(() => [e.getCenterHeaderGroups()], (o) => o.map((t) => t.headers).flat(), b(e.options, O, "getCenterFlatHeaders")), e.getRightFlatHeaders = F(() => [e.getRightHeaderGroups()], (o) => o.map((t) => t.headers).flat(), b(e.options, O, "getRightFlatHeaders")), e.getCenterLeafHeaders = F(() => [e.getCenterFlatHeaders()], (o) => o.filter((t) => {
1362
1362
  var n;
1363
1363
  return !((n = t.subHeaders) != null && n.length);
@@ -1369,67 +1369,67 @@ const Co = {
1369
1369
  return !((n = t.subHeaders) != null && n.length);
1370
1370
  }), b(e.options, O, "getRightLeafHeaders")), e.getLeafHeaders = F(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (o, t, n) => {
1371
1371
  var i, r, l, s, a, u;
1372
- return [...(i = (r = o[0]) == null ? void 0 : r.headers) != null ? i : [], ...(l = (s = t[0]) == null ? void 0 : s.headers) != null ? l : [], ...(a = (u = n[0]) == null ? void 0 : u.headers) != null ? a : []].map((g) => g.getLeafHeaders()).flat();
1372
+ return [...(i = (r = o[0]) == null ? void 0 : r.headers) != null ? i : [], ...(l = (s = t[0]) == null ? void 0 : s.headers) != null ? l : [], ...(a = (u = n[0]) == null ? void 0 : u.headers) != null ? a : []].map((c) => c.getLeafHeaders()).flat();
1373
1373
  }, b(e.options, O, "getLeafHeaders"));
1374
1374
  }
1375
1375
  };
1376
- function pe(e, o, t, n) {
1376
+ function me(e, o, t, n) {
1377
1377
  var i, r;
1378
1378
  let l = 0;
1379
- const s = function(c, d) {
1380
- d === void 0 && (d = 1), l = Math.max(l, d), c.filter((p) => p.getIsVisible()).forEach((p) => {
1381
- var m;
1382
- (m = p.columns) != null && m.length && s(p.columns, d + 1);
1379
+ const s = function(g, d) {
1380
+ d === void 0 && (d = 1), l = Math.max(l, d), g.filter((m) => m.getIsVisible()).forEach((m) => {
1381
+ var p;
1382
+ (p = m.columns) != null && p.length && s(m.columns, d + 1);
1383
1383
  }, 0);
1384
1384
  };
1385
1385
  s(e);
1386
1386
  let a = [];
1387
- const u = (c, d) => {
1388
- const p = {
1387
+ const u = (g, d) => {
1388
+ const m = {
1389
1389
  depth: d,
1390
1390
  id: [n, `${d}`].filter(Boolean).join("_"),
1391
1391
  headers: []
1392
- }, m = [];
1393
- c.forEach((h) => {
1394
- const R = [...m].reverse()[0], $ = h.column.depth === p.depth;
1395
- let P, _ = !1;
1396
- if ($ && h.column.parent ? P = h.column.parent : (P = h.column, _ = !0), R && R?.column === P)
1392
+ }, p = [];
1393
+ g.forEach((h) => {
1394
+ const R = [...p].reverse()[0], $ = h.column.depth === m.depth;
1395
+ let P, M = !1;
1396
+ if ($ && h.column.parent ? P = h.column.parent : (P = h.column, M = !0), R && R?.column === P)
1397
1397
  R.subHeaders.push(h);
1398
1398
  else {
1399
- const v = ft(t, P, {
1399
+ const v = pt(t, P, {
1400
1400
  id: [n, d, P.id, h?.id].filter(Boolean).join("_"),
1401
- isPlaceholder: _,
1402
- placeholderId: _ ? `${m.filter((w) => w.column === P).length}` : void 0,
1401
+ isPlaceholder: M,
1402
+ placeholderId: M ? `${p.filter((w) => w.column === P).length}` : void 0,
1403
1403
  depth: d,
1404
- index: m.length
1404
+ index: p.length
1405
1405
  });
1406
- v.subHeaders.push(h), m.push(v);
1406
+ v.subHeaders.push(h), p.push(v);
1407
1407
  }
1408
- p.headers.push(h), h.headerGroup = p;
1409
- }), a.push(p), d > 0 && u(m, d - 1);
1410
- }, g = o.map((c, d) => ft(t, c, {
1408
+ m.headers.push(h), h.headerGroup = m;
1409
+ }), a.push(m), d > 0 && u(p, d - 1);
1410
+ }, c = o.map((g, d) => pt(t, g, {
1411
1411
  depth: l,
1412
1412
  index: d
1413
1413
  }));
1414
- u(g, l - 1), a.reverse();
1415
- const f = (c) => c.filter((p) => p.column.getIsVisible()).map((p) => {
1416
- let m = 0, h = 0, R = [0];
1417
- p.subHeaders && p.subHeaders.length ? (R = [], f(p.subHeaders).forEach((P) => {
1414
+ u(c, l - 1), a.reverse();
1415
+ const f = (g) => g.filter((m) => m.column.getIsVisible()).map((m) => {
1416
+ let p = 0, h = 0, R = [0];
1417
+ m.subHeaders && m.subHeaders.length ? (R = [], f(m.subHeaders).forEach((P) => {
1418
1418
  let {
1419
- colSpan: _,
1419
+ colSpan: M,
1420
1420
  rowSpan: v
1421
1421
  } = P;
1422
- m += _, R.push(v);
1423
- })) : m = 1;
1422
+ p += M, R.push(v);
1423
+ })) : p = 1;
1424
1424
  const $ = Math.min(...R);
1425
- return h = h + $, p.colSpan = m, p.rowSpan = h, {
1426
- colSpan: m,
1425
+ return h = h + $, m.colSpan = p, m.rowSpan = h, {
1426
+ colSpan: p,
1427
1427
  rowSpan: h
1428
1428
  };
1429
1429
  });
1430
1430
  return f((i = (r = a[0]) == null ? void 0 : r.headers) != null ? i : []), a;
1431
1431
  }
1432
- const Xe = (e, o, t, n, i, r, l) => {
1432
+ const Ye = (e, o, t, n, i, r, l) => {
1433
1433
  let s = {
1434
1434
  id: o,
1435
1435
  index: n,
@@ -1462,14 +1462,14 @@ const Xe = (e, o, t, n, i, r, l) => {
1462
1462
  getParentRows: () => {
1463
1463
  let a = [], u = s;
1464
1464
  for (; ; ) {
1465
- const g = u.getParentRow();
1466
- if (!g) break;
1467
- a.push(g), u = g;
1465
+ const c = u.getParentRow();
1466
+ if (!c) break;
1467
+ a.push(c), u = c;
1468
1468
  }
1469
1469
  return a.reverse();
1470
1470
  },
1471
1471
  getAllCells: F(() => [e.getAllLeafColumns()], (a) => a.map((u) => So(e, s, u, u.id)), b(e.options, "debugRows", "getAllCells")),
1472
- _getAllCellsByColumnId: F(() => [s.getAllCells()], (a) => a.reduce((u, g) => (u[g.column.id] = g, u), {}), b(e.options, "debugRows", "getAllCellsByColumnId"))
1472
+ _getAllCellsByColumnId: F(() => [s.getAllCells()], (a) => a.reduce((u, c) => (u[c.column.id] = c, u), {}), b(e.options, "debugRows", "getAllCellsByColumnId"))
1473
1473
  };
1474
1474
  for (let a = 0; a < e._features.length; a++) {
1475
1475
  const u = e._features[a];
@@ -1483,17 +1483,17 @@ const Xe = (e, o, t, n, i, r, l) => {
1483
1483
  return e._getFacetedMinMaxValues();
1484
1484
  };
1485
1485
  }
1486
- }, Lt = (e, o, t) => {
1486
+ }, kt = (e, o, t) => {
1487
1487
  var n, i;
1488
1488
  const r = t == null || (n = t.toString()) == null ? void 0 : n.toLowerCase();
1489
1489
  return !!(!((i = e.getValue(o)) == null || (i = i.toString()) == null || (i = i.toLowerCase()) == null) && i.includes(r));
1490
1490
  };
1491
- Lt.autoRemove = (e) => W(e);
1492
- const kt = (e, o, t) => {
1491
+ kt.autoRemove = (e) => W(e);
1492
+ const Lt = (e, o, t) => {
1493
1493
  var n;
1494
1494
  return !!(!((n = e.getValue(o)) == null || (n = n.toString()) == null) && n.includes(t));
1495
1495
  };
1496
- kt.autoRemove = (e) => W(e);
1496
+ Lt.autoRemove = (e) => W(e);
1497
1497
  const Tt = (e, o, t) => {
1498
1498
  var n;
1499
1499
  return ((n = e.getValue(o)) == null || (n = n.toString()) == null ? void 0 : n.toLowerCase()) === t?.toLowerCase();
@@ -1504,26 +1504,26 @@ const Ht = (e, o, t) => {
1504
1504
  return (n = e.getValue(o)) == null ? void 0 : n.includes(t);
1505
1505
  };
1506
1506
  Ht.autoRemove = (e) => W(e);
1507
- const Ot = (e, o, t) => !t.some((n) => {
1507
+ const Bt = (e, o, t) => !t.some((n) => {
1508
1508
  var i;
1509
1509
  return !((i = e.getValue(o)) != null && i.includes(n));
1510
1510
  });
1511
- Ot.autoRemove = (e) => W(e) || !(e != null && e.length);
1512
- const Bt = (e, o, t) => t.some((n) => {
1511
+ Bt.autoRemove = (e) => W(e) || !(e != null && e.length);
1512
+ const Ot = (e, o, t) => t.some((n) => {
1513
1513
  var i;
1514
1514
  return (i = e.getValue(o)) == null ? void 0 : i.includes(n);
1515
1515
  });
1516
- Bt.autoRemove = (e) => W(e) || !(e != null && e.length);
1516
+ Ot.autoRemove = (e) => W(e) || !(e != null && e.length);
1517
1517
  const Gt = (e, o, t) => e.getValue(o) === t;
1518
1518
  Gt.autoRemove = (e) => W(e);
1519
1519
  const zt = (e, o, t) => e.getValue(o) == t;
1520
1520
  zt.autoRemove = (e) => W(e);
1521
- const Ye = (e, o, t) => {
1521
+ const Je = (e, o, t) => {
1522
1522
  let [n, i] = t;
1523
1523
  const r = e.getValue(o);
1524
1524
  return r >= n && r <= i;
1525
1525
  };
1526
- Ye.resolveFilterValue = (e) => {
1526
+ Je.resolveFilterValue = (e) => {
1527
1527
  let [o, t] = e, n = typeof o != "number" ? parseFloat(o) : o, i = typeof t != "number" ? parseFloat(t) : t, r = o === null || Number.isNaN(n) ? -1 / 0 : n, l = t === null || Number.isNaN(i) ? 1 / 0 : i;
1528
1528
  if (r > l) {
1529
1529
  const s = r;
@@ -1531,17 +1531,17 @@ Ye.resolveFilterValue = (e) => {
1531
1531
  }
1532
1532
  return [r, l];
1533
1533
  };
1534
- Ye.autoRemove = (e) => W(e) || W(e[0]) && W(e[1]);
1534
+ Je.autoRemove = (e) => W(e) || W(e[0]) && W(e[1]);
1535
1535
  const X = {
1536
- includesString: Lt,
1537
- includesStringSensitive: kt,
1536
+ includesString: kt,
1537
+ includesStringSensitive: Lt,
1538
1538
  equalsString: Tt,
1539
1539
  arrIncludes: Ht,
1540
- arrIncludesAll: Ot,
1541
- arrIncludesSome: Bt,
1540
+ arrIncludesAll: Bt,
1541
+ arrIncludesSome: Ot,
1542
1542
  equals: Gt,
1543
1543
  weakEquals: zt,
1544
- inNumberRange: Ye
1544
+ inNumberRange: Je
1545
1545
  };
1546
1546
  function W(e) {
1547
1547
  return e == null || e === "";
@@ -1565,7 +1565,7 @@ const Ro = {
1565
1565
  return typeof n == "string" ? X.includesString : typeof n == "number" ? X.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? X.equals : Array.isArray(n) ? X.arrIncludes : X.weakEquals;
1566
1566
  }, e.getFilterFn = () => {
1567
1567
  var t, n;
1568
- return be(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
1568
+ return $e(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
1569
1569
  // @ts-ignore
1570
1570
  (t = (n = o.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? t : X[e.columnDef.filterFn]
1571
1571
  );
@@ -1580,10 +1580,10 @@ const Ro = {
1580
1580
  return (t = (n = o.getState().columnFilters) == null ? void 0 : n.findIndex((i) => i.id === e.id)) != null ? t : -1;
1581
1581
  }, e.setFilterValue = (t) => {
1582
1582
  o.setColumnFilters((n) => {
1583
- const i = e.getFilterFn(), r = n?.find((g) => g.id === e.id), l = ee(t, r ? r.value : void 0);
1584
- if (pt(i, l, e)) {
1583
+ const i = e.getFilterFn(), r = n?.find((c) => c.id === e.id), l = ee(t, r ? r.value : void 0);
1584
+ if (mt(i, l, e)) {
1585
1585
  var s;
1586
- return (s = n?.filter((g) => g.id !== e.id)) != null ? s : [];
1586
+ return (s = n?.filter((c) => c.id !== e.id)) != null ? s : [];
1587
1587
  }
1588
1588
  const a = {
1589
1589
  id: e.id,
@@ -1591,7 +1591,7 @@ const Ro = {
1591
1591
  };
1592
1592
  if (r) {
1593
1593
  var u;
1594
- return (u = n?.map((g) => g.id === e.id ? a : g)) != null ? u : [];
1594
+ return (u = n?.map((c) => c.id === e.id ? a : c)) != null ? u : [];
1595
1595
  }
1596
1596
  return n != null && n.length ? [...n, a] : [a];
1597
1597
  });
@@ -1608,7 +1608,7 @@ const Ro = {
1608
1608
  const s = t.find((a) => a.id === l.id);
1609
1609
  if (s) {
1610
1610
  const a = s.getFilterFn();
1611
- if (pt(a, l.value, s))
1611
+ if (mt(a, l.value, s))
1612
1612
  return !1;
1613
1613
  }
1614
1614
  return !0;
@@ -1621,7 +1621,7 @@ const Ro = {
1621
1621
  }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
1622
1622
  }
1623
1623
  };
1624
- function pt(e, o, t) {
1624
+ function mt(e, o, t) {
1625
1625
  return (e && e.autoRemove ? e.autoRemove(o, t) : !1) || typeof o > "u" || typeof o == "string" && !o;
1626
1626
  }
1627
1627
  const Fo = (e, o, t) => t.reduce((n, i) => {
@@ -1661,7 +1661,7 @@ const Fo = (e, o, t) => t.reduce((n, i) => {
1661
1661
  return t[0];
1662
1662
  const n = Math.floor(t.length / 2), i = t.sort((r, l) => r - l);
1663
1663
  return t.length % 2 !== 0 ? i[n] : (i[n - 1] + i[n]) / 2;
1664
- }, Ao = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), Do = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Vo = (e, o) => o.length, Ie = {
1664
+ }, Ao = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), Do = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Vo = (e, o) => o.length, Ae = {
1665
1665
  sum: Fo,
1666
1666
  min: bo,
1667
1667
  max: Po,
@@ -1707,14 +1707,14 @@ const Fo = (e, o, t) => t.reduce((n, i) => {
1707
1707
  }, e.getAutoAggregationFn = () => {
1708
1708
  const t = o.getCoreRowModel().flatRows[0], n = t?.getValue(e.id);
1709
1709
  if (typeof n == "number")
1710
- return Ie.sum;
1710
+ return Ae.sum;
1711
1711
  if (Object.prototype.toString.call(n) === "[object Date]")
1712
- return Ie.extent;
1712
+ return Ae.extent;
1713
1713
  }, e.getAggregationFn = () => {
1714
1714
  var t, n;
1715
1715
  if (!e)
1716
1716
  throw new Error();
1717
- return be(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (n = o.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? t : Ie[e.columnDef.aggregationFn];
1717
+ return $e(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (n = o.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? t : Ae[e.columnDef.aggregationFn];
1718
1718
  };
1719
1719
  },
1720
1720
  createTable: (e) => {
@@ -1753,12 +1753,12 @@ const Eo = {
1753
1753
  onColumnOrderChange: q("columnOrder", e)
1754
1754
  }),
1755
1755
  createColumn: (e, o) => {
1756
- e.getIndex = F((t) => [ue(o, t)], (t) => t.findIndex((n) => n.id === e.id), b(o.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
1756
+ e.getIndex = F((t) => [de(o, t)], (t) => t.findIndex((n) => n.id === e.id), b(o.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
1757
1757
  var n;
1758
- return ((n = ue(o, t)[0]) == null ? void 0 : n.id) === e.id;
1758
+ return ((n = de(o, t)[0]) == null ? void 0 : n.id) === e.id;
1759
1759
  }, e.getIsLastColumn = (t) => {
1760
1760
  var n;
1761
- const i = ue(o, t);
1761
+ const i = de(o, t);
1762
1762
  return ((n = i[i.length - 1]) == null ? void 0 : n.id) === e.id;
1763
1763
  };
1764
1764
  },
@@ -1773,7 +1773,7 @@ const Eo = {
1773
1773
  else {
1774
1774
  const l = [...o], s = [...i];
1775
1775
  for (; s.length && l.length; ) {
1776
- const a = l.shift(), u = s.findIndex((g) => g.id === a);
1776
+ const a = l.shift(), u = s.findIndex((c) => c.id === a);
1777
1777
  u > -1 && r.push(s.splice(u, 1)[0]);
1778
1778
  }
1779
1779
  r = [...r, ...s];
@@ -1781,12 +1781,12 @@ const Eo = {
1781
1781
  return Mo(r, t, n);
1782
1782
  }, b(e.options, "debugTable", "_getOrderColumnsFn"));
1783
1783
  }
1784
- }, xe = () => ({
1784
+ }, De = () => ({
1785
1785
  left: [],
1786
1786
  right: []
1787
- }), Lo = {
1787
+ }), ko = {
1788
1788
  getInitialState: (e) => ({
1789
- columnPinning: xe(),
1789
+ columnPinning: De(),
1790
1790
  ...e
1791
1791
  }),
1792
1792
  getDefaultOptions: (e) => ({
@@ -1805,10 +1805,10 @@ const Eo = {
1805
1805
  };
1806
1806
  }
1807
1807
  if (t === "left") {
1808
- var u, g;
1808
+ var u, c;
1809
1809
  return {
1810
1810
  left: [...((u = i?.left) != null ? u : []).filter((f) => !(n != null && n.includes(f))), ...n],
1811
- right: ((g = i?.right) != null ? g : []).filter((f) => !(n != null && n.includes(f)))
1811
+ right: ((c = i?.right) != null ? c : []).filter((f) => !(n != null && n.includes(f)))
1812
1812
  };
1813
1813
  }
1814
1814
  return {
@@ -1846,7 +1846,7 @@ const Eo = {
1846
1846
  createTable: (e) => {
1847
1847
  e.setColumnPinning = (o) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(o), e.resetColumnPinning = (o) => {
1848
1848
  var t, n;
1849
- return e.setColumnPinning(o ? xe() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : xe());
1849
+ return e.setColumnPinning(o ? De() : (t = (n = e.initialState) == null ? void 0 : n.columnPinning) != null ? t : De());
1850
1850
  }, e.getIsSomeColumnsPinned = (o) => {
1851
1851
  var t;
1852
1852
  const n = e.getState().columnPinning;
@@ -1860,22 +1860,22 @@ const Eo = {
1860
1860
  return o.filter((r) => !i.includes(r.id));
1861
1861
  }, b(e.options, "debugColumns", "getCenterLeafColumns"));
1862
1862
  }
1863
- }, me = {
1863
+ }, he = {
1864
1864
  size: 150,
1865
1865
  minSize: 20,
1866
1866
  maxSize: Number.MAX_SAFE_INTEGER
1867
- }, Ae = () => ({
1867
+ }, Ve = () => ({
1868
1868
  startOffset: null,
1869
1869
  startSize: null,
1870
1870
  deltaOffset: null,
1871
1871
  deltaPercentage: null,
1872
1872
  isResizingColumn: !1,
1873
1873
  columnSizingStart: []
1874
- }), ko = {
1875
- getDefaultColumnDef: () => me,
1874
+ }), Lo = {
1875
+ getDefaultColumnDef: () => he,
1876
1876
  getInitialState: (e) => ({
1877
1877
  columnSizing: {},
1878
- columnSizingInfo: Ae(),
1878
+ columnSizingInfo: Ve(),
1879
1879
  ...e
1880
1880
  }),
1881
1881
  getDefaultOptions: (e) => ({
@@ -1888,8 +1888,8 @@ const Eo = {
1888
1888
  e.getSize = () => {
1889
1889
  var t, n, i;
1890
1890
  const r = o.getState().columnSizing[e.id];
1891
- return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : me.minSize, (n = r ?? e.columnDef.size) != null ? n : me.size), (i = e.columnDef.maxSize) != null ? i : me.maxSize);
1892
- }, e.getStart = F((t) => [t, ue(o, t), o.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((i, r) => i + r.getSize(), 0), b(o.options, "debugColumns", "getStart")), e.getAfter = F((t) => [t, ue(o, t), o.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((i, r) => i + r.getSize(), 0), b(o.options, "debugColumns", "getAfter")), e.resetSize = () => {
1891
+ return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : he.minSize, (n = r ?? e.columnDef.size) != null ? n : he.size), (i = e.columnDef.maxSize) != null ? i : he.maxSize);
1892
+ }, e.getStart = F((t) => [t, de(o, t), o.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((i, r) => i + r.getSize(), 0), b(o.options, "debugColumns", "getStart")), e.getAfter = F((t) => [t, de(o, t), o.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((i, r) => i + r.getSize(), 0), b(o.options, "debugColumns", "getAfter")), e.resetSize = () => {
1893
1893
  o.setColumnSizing((t) => {
1894
1894
  let {
1895
1895
  [e.id]: n,
@@ -1923,15 +1923,15 @@ const Eo = {
1923
1923
  }, e.getResizeHandler = (t) => {
1924
1924
  const n = o.getColumn(e.column.id), i = n?.getCanResize();
1925
1925
  return (r) => {
1926
- if (!n || !i || (r.persist == null || r.persist(), De(r) && r.touches && r.touches.length > 1))
1926
+ if (!n || !i || (r.persist == null || r.persist(), _e(r) && r.touches && r.touches.length > 1))
1927
1927
  return;
1928
- const l = e.getSize(), s = e ? e.getLeafHeaders().map((R) => [R.column.id, R.column.getSize()]) : [[n.id, n.getSize()]], a = De(r) ? Math.round(r.touches[0].clientX) : r.clientX, u = {}, g = (R, $) => {
1928
+ const l = e.getSize(), s = e ? e.getLeafHeaders().map((R) => [R.column.id, R.column.getSize()]) : [[n.id, n.getSize()]], a = _e(r) ? Math.round(r.touches[0].clientX) : r.clientX, u = {}, c = (R, $) => {
1929
1929
  typeof $ == "number" && (o.setColumnSizingInfo((P) => {
1930
- var _, v;
1931
- const w = o.options.columnResizeDirection === "rtl" ? -1 : 1, I = ($ - ((_ = P?.startOffset) != null ? _ : 0)) * w, V = Math.max(I / ((v = P?.startSize) != null ? v : 0), -0.999999);
1932
- return P.columnSizingStart.forEach((L) => {
1933
- let [k, U] = L;
1934
- u[k] = Math.round(Math.max(U + U * V, 0) * 100) / 100;
1930
+ var M, v;
1931
+ const w = o.options.columnResizeDirection === "rtl" ? -1 : 1, I = ($ - ((M = P?.startOffset) != null ? M : 0)) * w, V = Math.max(I / ((v = P?.startSize) != null ? v : 0), -0.999999);
1932
+ return P.columnSizingStart.forEach((k) => {
1933
+ let [L, U] = k;
1934
+ u[L] = Math.round(Math.max(U + U * V, 0) * 100) / 100;
1935
1935
  }), {
1936
1936
  ...P,
1937
1937
  deltaOffset: I,
@@ -1941,8 +1941,8 @@ const Eo = {
1941
1941
  ...P,
1942
1942
  ...u
1943
1943
  })));
1944
- }, f = (R) => g("move", R), c = (R) => {
1945
- g("end", R), o.setColumnSizingInfo(($) => ({
1944
+ }, f = (R) => c("move", R), g = (R) => {
1945
+ c("end", R), o.setColumnSizingInfo(($) => ({
1946
1946
  ...$,
1947
1947
  isResizingColumn: !1,
1948
1948
  startOffset: null,
@@ -1951,21 +1951,21 @@ const Eo = {
1951
1951
  deltaPercentage: null,
1952
1952
  columnSizingStart: []
1953
1953
  }));
1954
- }, d = t || typeof document < "u" ? document : null, p = {
1954
+ }, d = t || typeof document < "u" ? document : null, m = {
1955
1955
  moveHandler: (R) => f(R.clientX),
1956
1956
  upHandler: (R) => {
1957
- d?.removeEventListener("mousemove", p.moveHandler), d?.removeEventListener("mouseup", p.upHandler), c(R.clientX);
1957
+ d?.removeEventListener("mousemove", m.moveHandler), d?.removeEventListener("mouseup", m.upHandler), g(R.clientX);
1958
1958
  }
1959
- }, m = {
1959
+ }, p = {
1960
1960
  moveHandler: (R) => (R.cancelable && (R.preventDefault(), R.stopPropagation()), f(R.touches[0].clientX), !1),
1961
1961
  upHandler: (R) => {
1962
1962
  var $;
1963
- d?.removeEventListener("touchmove", m.moveHandler), d?.removeEventListener("touchend", m.upHandler), R.cancelable && (R.preventDefault(), R.stopPropagation()), c(($ = R.touches[0]) == null ? void 0 : $.clientX);
1963
+ d?.removeEventListener("touchmove", p.moveHandler), d?.removeEventListener("touchend", p.upHandler), R.cancelable && (R.preventDefault(), R.stopPropagation()), g(($ = R.touches[0]) == null ? void 0 : $.clientX);
1964
1964
  }
1965
1965
  }, h = To() ? {
1966
1966
  passive: !1
1967
1967
  } : !1;
1968
- De(r) ? (d?.addEventListener("touchmove", m.moveHandler, h), d?.addEventListener("touchend", m.upHandler, h)) : (d?.addEventListener("mousemove", p.moveHandler, h), d?.addEventListener("mouseup", p.upHandler, h)), o.setColumnSizingInfo((R) => ({
1968
+ _e(r) ? (d?.addEventListener("touchmove", p.moveHandler, h), d?.addEventListener("touchend", p.upHandler, h)) : (d?.addEventListener("mousemove", m.moveHandler, h), d?.addEventListener("mouseup", m.upHandler, h)), o.setColumnSizingInfo((R) => ({
1969
1969
  ...R,
1970
1970
  startOffset: a,
1971
1971
  startSize: l,
@@ -1983,7 +1983,7 @@ const Eo = {
1983
1983
  e.setColumnSizing(o ? {} : (t = e.initialState.columnSizing) != null ? t : {});
1984
1984
  }, e.resetHeaderSizeInfo = (o) => {
1985
1985
  var t;
1986
- e.setColumnSizingInfo(o ? Ae() : (t = e.initialState.columnSizingInfo) != null ? t : Ae());
1986
+ e.setColumnSizingInfo(o ? Ve() : (t = e.initialState.columnSizingInfo) != null ? t : Ve());
1987
1987
  }, e.getTotalSize = () => {
1988
1988
  var o, t;
1989
1989
  return (o = (t = e.getHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((n, i) => n + i.getSize(), 0)) != null ? o : 0;
@@ -1999,9 +1999,9 @@ const Eo = {
1999
1999
  };
2000
2000
  }
2001
2001
  };
2002
- let he = null;
2002
+ let ve = null;
2003
2003
  function To() {
2004
- if (typeof he == "boolean") return he;
2004
+ if (typeof ve == "boolean") return ve;
2005
2005
  let e = !1;
2006
2006
  try {
2007
2007
  const o = {
@@ -2014,9 +2014,9 @@ function To() {
2014
2014
  } catch {
2015
2015
  e = !1;
2016
2016
  }
2017
- return he = e, he;
2017
+ return ve = e, ve;
2018
2018
  }
2019
- function De(e) {
2019
+ function _e(e) {
2020
2020
  return e.type === "touchstart";
2021
2021
  }
2022
2022
  const Ho = {
@@ -2064,17 +2064,17 @@ const Ho = {
2064
2064
  };
2065
2065
  }
2066
2066
  };
2067
- function ue(e, o) {
2067
+ function de(e, o) {
2068
2068
  return o ? o === "center" ? e.getCenterVisibleLeafColumns() : o === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
2069
2069
  }
2070
- const Oo = {
2070
+ const Bo = {
2071
2071
  createTable: (e) => {
2072
2072
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
2073
2073
  if (e._getGlobalFacetedMinMaxValues)
2074
2074
  return e._getGlobalFacetedMinMaxValues();
2075
2075
  };
2076
2076
  }
2077
- }, Bo = {
2077
+ }, Oo = {
2078
2078
  getInitialState: (e) => ({
2079
2079
  globalFilter: void 0,
2080
2080
  ...e
@@ -2100,7 +2100,7 @@ const Oo = {
2100
2100
  const {
2101
2101
  globalFilterFn: n
2102
2102
  } = e.options;
2103
- return be(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : X[n];
2103
+ return $e(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (o = (t = e.options.filterFns) == null ? void 0 : t[n]) != null ? o : X[n];
2104
2104
  }, e.setGlobalFilter = (o) => {
2105
2105
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(o);
2106
2106
  }, e.resetGlobalFilter = (o) => {
@@ -2194,14 +2194,14 @@ const Oo = {
2194
2194
  };
2195
2195
  };
2196
2196
  }
2197
- }, Ge = 0, ze = 10, Ve = () => ({
2198
- pageIndex: Ge,
2199
- pageSize: ze
2197
+ }, ze = 0, Ne = 10, Me = () => ({
2198
+ pageIndex: ze,
2199
+ pageSize: Ne
2200
2200
  }), zo = {
2201
2201
  getInitialState: (e) => ({
2202
2202
  ...e,
2203
2203
  pagination: {
2204
- ...Ve(),
2204
+ ...Me(),
2205
2205
  ...e?.pagination
2206
2206
  }
2207
2207
  }),
@@ -2229,7 +2229,7 @@ const Oo = {
2229
2229
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(i);
2230
2230
  }, e.resetPagination = (n) => {
2231
2231
  var i;
2232
- e.setPagination(n ? Ve() : (i = e.initialState.pagination) != null ? i : Ve());
2232
+ e.setPagination(n ? Me() : (i = e.initialState.pagination) != null ? i : Me());
2233
2233
  }, e.setPageIndex = (n) => {
2234
2234
  e.setPagination((i) => {
2235
2235
  let r = ee(n, i.pageIndex);
@@ -2241,10 +2241,10 @@ const Oo = {
2241
2241
  });
2242
2242
  }, e.resetPageIndex = (n) => {
2243
2243
  var i, r;
2244
- e.setPageIndex(n ? Ge : (i = (r = e.initialState) == null || (r = r.pagination) == null ? void 0 : r.pageIndex) != null ? i : Ge);
2244
+ e.setPageIndex(n ? ze : (i = (r = e.initialState) == null || (r = r.pagination) == null ? void 0 : r.pageIndex) != null ? i : ze);
2245
2245
  }, e.resetPageSize = (n) => {
2246
2246
  var i, r;
2247
- e.setPageSize(n ? ze : (i = (r = e.initialState) == null || (r = r.pagination) == null ? void 0 : r.pageSize) != null ? i : ze);
2247
+ e.setPageSize(n ? Ne : (i = (r = e.initialState) == null || (r = r.pagination) == null ? void 0 : r.pageSize) != null ? i : Ne);
2248
2248
  }, e.setPageSize = (n) => {
2249
2249
  e.setPagination((i) => {
2250
2250
  const r = Math.max(1, ee(n, i.pageSize)), l = i.pageSize * i.pageIndex, s = Math.floor(l / r);
@@ -2277,12 +2277,12 @@ const Oo = {
2277
2277
  return (n = e.options.rowCount) != null ? n : e.getPrePaginationRowModel().rows.length;
2278
2278
  };
2279
2279
  }
2280
- }, _e = () => ({
2280
+ }, Ee = () => ({
2281
2281
  top: [],
2282
2282
  bottom: []
2283
2283
  }), No = {
2284
2284
  getInitialState: (e) => ({
2285
- rowPinning: _e(),
2285
+ rowPinning: Ee(),
2286
2286
  ...e
2287
2287
  }),
2288
2288
  getDefaultOptions: (e) => ({
@@ -2302,24 +2302,24 @@ const Oo = {
2302
2302
  return u;
2303
2303
  }) : [], s = /* @__PURE__ */ new Set([...l, e.id, ...r]);
2304
2304
  o.setRowPinning((a) => {
2305
- var u, g;
2305
+ var u, c;
2306
2306
  if (t === "bottom") {
2307
- var f, c;
2307
+ var f, g;
2308
2308
  return {
2309
- top: ((f = a?.top) != null ? f : []).filter((m) => !(s != null && s.has(m))),
2310
- bottom: [...((c = a?.bottom) != null ? c : []).filter((m) => !(s != null && s.has(m))), ...Array.from(s)]
2309
+ top: ((f = a?.top) != null ? f : []).filter((p) => !(s != null && s.has(p))),
2310
+ bottom: [...((g = a?.bottom) != null ? g : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)]
2311
2311
  };
2312
2312
  }
2313
2313
  if (t === "top") {
2314
- var d, p;
2314
+ var d, m;
2315
2315
  return {
2316
- top: [...((d = a?.top) != null ? d : []).filter((m) => !(s != null && s.has(m))), ...Array.from(s)],
2317
- bottom: ((p = a?.bottom) != null ? p : []).filter((m) => !(s != null && s.has(m)))
2316
+ top: [...((d = a?.top) != null ? d : []).filter((p) => !(s != null && s.has(p))), ...Array.from(s)],
2317
+ bottom: ((m = a?.bottom) != null ? m : []).filter((p) => !(s != null && s.has(p)))
2318
2318
  };
2319
2319
  }
2320
2320
  return {
2321
- top: ((u = a?.top) != null ? u : []).filter((m) => !(s != null && s.has(m))),
2322
- bottom: ((g = a?.bottom) != null ? g : []).filter((m) => !(s != null && s.has(m)))
2321
+ top: ((u = a?.top) != null ? u : []).filter((p) => !(s != null && s.has(p))),
2322
+ bottom: ((c = a?.bottom) != null ? c : []).filter((p) => !(s != null && s.has(p)))
2323
2323
  };
2324
2324
  });
2325
2325
  }, e.getCanPin = () => {
@@ -2351,7 +2351,7 @@ const Oo = {
2351
2351
  createTable: (e) => {
2352
2352
  e.setRowPinning = (o) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(o), e.resetRowPinning = (o) => {
2353
2353
  var t, n;
2354
- return e.setRowPinning(o ? _e() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : _e());
2354
+ return e.setRowPinning(o ? Ee() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : Ee());
2355
2355
  }, e.getIsSomeRowsPinned = (o) => {
2356
2356
  var t;
2357
2357
  const n = e.getState().rowPinning;
@@ -2416,17 +2416,17 @@ const Oo = {
2416
2416
  ...t
2417
2417
  };
2418
2418
  return e.getRowModel().rows.forEach((r) => {
2419
- Ne(i, r.id, n, !0, e);
2419
+ je(i, r.id, n, !0, e);
2420
2420
  }), i;
2421
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = F(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? Me(e, t) : {
2421
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = F(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? ke(e, t) : {
2422
2422
  rows: [],
2423
2423
  flatRows: [],
2424
2424
  rowsById: {}
2425
- }, b(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = F(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? Me(e, t) : {
2425
+ }, b(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = F(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? ke(e, t) : {
2426
2426
  rows: [],
2427
2427
  flatRows: [],
2428
2428
  rowsById: {}
2429
- }, b(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = F(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? Me(e, t) : {
2429
+ }, b(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = F(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? ke(e, t) : {
2430
2430
  rows: [],
2431
2431
  flatRows: [],
2432
2432
  rowsById: {}
@@ -2465,23 +2465,23 @@ const Oo = {
2465
2465
  const s = {
2466
2466
  ...r
2467
2467
  };
2468
- return Ne(s, e.id, t, (l = n?.selectChildren) != null ? l : !0, o), s;
2468
+ return je(s, e.id, t, (l = n?.selectChildren) != null ? l : !0, o), s;
2469
2469
  });
2470
2470
  }, e.getIsSelected = () => {
2471
2471
  const {
2472
2472
  rowSelection: t
2473
2473
  } = o.getState();
2474
- return Je(e, t);
2474
+ return Ze(e, t);
2475
2475
  }, e.getIsSomeSelected = () => {
2476
2476
  const {
2477
2477
  rowSelection: t
2478
2478
  } = o.getState();
2479
- return je(e, t) === "some";
2479
+ return qe(e, t) === "some";
2480
2480
  }, e.getIsAllSubRowsSelected = () => {
2481
2481
  const {
2482
2482
  rowSelection: t
2483
2483
  } = o.getState();
2484
- return je(e, t) === "all";
2484
+ return qe(e, t) === "all";
2485
2485
  }, e.getCanSelect = () => {
2486
2486
  var t;
2487
2487
  return typeof o.options.enableRowSelection == "function" ? o.options.enableRowSelection(e) : (t = o.options.enableRowSelection) != null ? t : !0;
@@ -2499,20 +2499,20 @@ const Oo = {
2499
2499
  };
2500
2500
  };
2501
2501
  }
2502
- }, Ne = (e, o, t, n, i) => {
2502
+ }, je = (e, o, t, n, i) => {
2503
2503
  var r;
2504
2504
  const l = i.getRow(o, !0);
2505
- t ? (l.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), l.getCanSelect() && (e[o] = !0)) : delete e[o], n && (r = l.subRows) != null && r.length && l.getCanSelectSubRows() && l.subRows.forEach((s) => Ne(e, s.id, t, n, i));
2505
+ t ? (l.getCanMultiSelect() || Object.keys(e).forEach((s) => delete e[s]), l.getCanSelect() && (e[o] = !0)) : delete e[o], n && (r = l.subRows) != null && r.length && l.getCanSelectSubRows() && l.subRows.forEach((s) => je(e, s.id, t, n, i));
2506
2506
  };
2507
- function Me(e, o) {
2507
+ function ke(e, o) {
2508
2508
  const t = e.getState().rowSelection, n = [], i = {}, r = function(l, s) {
2509
2509
  return l.map((a) => {
2510
2510
  var u;
2511
- const g = Je(a, t);
2512
- if (g && (n.push(a), i[a.id] = a), (u = a.subRows) != null && u.length && (a = {
2511
+ const c = Ze(a, t);
2512
+ if (c && (n.push(a), i[a.id] = a), (u = a.subRows) != null && u.length && (a = {
2513
2513
  ...a,
2514
2514
  subRows: r(a.subRows)
2515
- }), g)
2515
+ }), c)
2516
2516
  return a;
2517
2517
  }).filter(Boolean);
2518
2518
  };
@@ -2522,33 +2522,33 @@ function Me(e, o) {
2522
2522
  rowsById: i
2523
2523
  };
2524
2524
  }
2525
- function Je(e, o) {
2525
+ function Ze(e, o) {
2526
2526
  var t;
2527
2527
  return (t = o[e.id]) != null ? t : !1;
2528
2528
  }
2529
- function je(e, o, t) {
2529
+ function qe(e, o, t) {
2530
2530
  var n;
2531
2531
  if (!((n = e.subRows) != null && n.length)) return !1;
2532
2532
  let i = !0, r = !1;
2533
2533
  return e.subRows.forEach((l) => {
2534
- if (!(r && !i) && (l.getCanSelect() && (Je(l, o) ? r = !0 : i = !1), l.subRows && l.subRows.length)) {
2535
- const s = je(l, o);
2534
+ if (!(r && !i) && (l.getCanSelect() && (Ze(l, o) ? r = !0 : i = !1), l.subRows && l.subRows.length)) {
2535
+ const s = qe(l, o);
2536
2536
  s === "all" ? r = !0 : (s === "some" && (r = !0), i = !1);
2537
2537
  }
2538
2538
  }), i ? "all" : r ? "some" : !1;
2539
2539
  }
2540
- const qe = /([0-9]+)/gm, qo = (e, o, t) => Nt(ne(e.getValue(t)).toLowerCase(), ne(o.getValue(t)).toLowerCase()), Ko = (e, o, t) => Nt(ne(e.getValue(t)), ne(o.getValue(t))), Uo = (e, o, t) => Ze(ne(e.getValue(t)).toLowerCase(), ne(o.getValue(t)).toLowerCase()), Wo = (e, o, t) => Ze(ne(e.getValue(t)), ne(o.getValue(t))), Qo = (e, o, t) => {
2540
+ const Ke = /([0-9]+)/gm, qo = (e, o, t) => Nt(ne(e.getValue(t)).toLowerCase(), ne(o.getValue(t)).toLowerCase()), Ko = (e, o, t) => Nt(ne(e.getValue(t)), ne(o.getValue(t))), Uo = (e, o, t) => et(ne(e.getValue(t)).toLowerCase(), ne(o.getValue(t)).toLowerCase()), Wo = (e, o, t) => et(ne(e.getValue(t)), ne(o.getValue(t))), Qo = (e, o, t) => {
2541
2541
  const n = e.getValue(t), i = o.getValue(t);
2542
2542
  return n > i ? 1 : n < i ? -1 : 0;
2543
- }, Xo = (e, o, t) => Ze(e.getValue(t), o.getValue(t));
2544
- function Ze(e, o) {
2543
+ }, Xo = (e, o, t) => et(e.getValue(t), o.getValue(t));
2544
+ function et(e, o) {
2545
2545
  return e === o ? 0 : e > o ? 1 : -1;
2546
2546
  }
2547
2547
  function ne(e) {
2548
2548
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
2549
2549
  }
2550
2550
  function Nt(e, o) {
2551
- const t = e.split(qe).filter(Boolean), n = o.split(qe).filter(Boolean);
2551
+ const t = e.split(Ke).filter(Boolean), n = o.split(Ke).filter(Boolean);
2552
2552
  for (; t.length && n.length; ) {
2553
2553
  const i = t.shift(), r = n.shift(), l = parseInt(i, 10), s = parseInt(r, 10), a = [l, s].sort();
2554
2554
  if (isNaN(a[0])) {
@@ -2595,7 +2595,7 @@ const se = {
2595
2595
  const r = i?.getValue(e.id);
2596
2596
  if (Object.prototype.toString.call(r) === "[object Date]")
2597
2597
  return se.datetime;
2598
- if (typeof r == "string" && (n = !0, r.split(qe).length > 1))
2598
+ if (typeof r == "string" && (n = !0, r.split(Ke).length > 1))
2599
2599
  return se.alphanumeric;
2600
2600
  }
2601
2601
  return n ? se.text : se.basic;
@@ -2606,22 +2606,22 @@ const se = {
2606
2606
  var t, n;
2607
2607
  if (!e)
2608
2608
  throw new Error();
2609
- return be(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (n = o.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? t : se[e.columnDef.sortingFn];
2609
+ return $e(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (n = o.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? t : se[e.columnDef.sortingFn];
2610
2610
  }, e.toggleSorting = (t, n) => {
2611
2611
  const i = e.getNextSortingOrder(), r = typeof t < "u" && t !== null;
2612
2612
  o.setSorting((l) => {
2613
2613
  const s = l?.find((d) => d.id === e.id), a = l?.findIndex((d) => d.id === e.id);
2614
- let u = [], g, f = r ? t : i === "desc";
2615
- if (l != null && l.length && e.getCanMultiSort() && n ? s ? g = "toggle" : g = "add" : l != null && l.length && a !== l.length - 1 ? g = "replace" : s ? g = "toggle" : g = "replace", g === "toggle" && (r || i || (g = "remove")), g === "add") {
2616
- var c;
2614
+ let u = [], c, f = r ? t : i === "desc";
2615
+ if (l != null && l.length && e.getCanMultiSort() && n ? s ? c = "toggle" : c = "add" : l != null && l.length && a !== l.length - 1 ? c = "replace" : s ? c = "toggle" : c = "replace", c === "toggle" && (r || i || (c = "remove")), c === "add") {
2616
+ var g;
2617
2617
  u = [...l, {
2618
2618
  id: e.id,
2619
2619
  desc: f
2620
- }], u.splice(0, u.length - ((c = o.options.maxMultiSortColCount) != null ? c : Number.MAX_SAFE_INTEGER));
2621
- } else g === "toggle" ? u = l.map((d) => d.id === e.id ? {
2620
+ }], u.splice(0, u.length - ((g = o.options.maxMultiSortColCount) != null ? g : Number.MAX_SAFE_INTEGER));
2621
+ } else c === "toggle" ? u = l.map((d) => d.id === e.id ? {
2622
2622
  ...d,
2623
2623
  desc: f
2624
- } : d) : g === "remove" ? u = l.filter((d) => d.id !== e.id) : u = [{
2624
+ } : d) : c === "remove" ? u = l.filter((d) => d.id !== e.id) : u = [{
2625
2625
  id: e.id,
2626
2626
  desc: f
2627
2627
  }];
@@ -2667,12 +2667,12 @@ const se = {
2667
2667
  Co,
2668
2668
  Ho,
2669
2669
  Eo,
2670
- Lo,
2670
+ ko,
2671
2671
  yo,
2672
2672
  Ro,
2673
- Oo,
2674
- //depends on ColumnFaceting
2675
2673
  Bo,
2674
+ //depends on ColumnFaceting
2675
+ Oo,
2676
2676
  //depends on ColumnFiltering
2677
2677
  Yo,
2678
2678
  _o,
@@ -2681,7 +2681,7 @@ const se = {
2681
2681
  zo,
2682
2682
  No,
2683
2683
  jo,
2684
- ko
2684
+ Lo
2685
2685
  ];
2686
2686
  function Zo(e) {
2687
2687
  var o, t;
@@ -2690,20 +2690,20 @@ function Zo(e) {
2690
2690
  let i = {
2691
2691
  _features: n
2692
2692
  };
2693
- const r = i._features.reduce((c, d) => Object.assign(c, d.getDefaultOptions == null ? void 0 : d.getDefaultOptions(i)), {}), l = (c) => i.options.mergeOptions ? i.options.mergeOptions(r, c) : {
2693
+ const r = i._features.reduce((g, d) => Object.assign(g, d.getDefaultOptions == null ? void 0 : d.getDefaultOptions(i)), {}), l = (g) => i.options.mergeOptions ? i.options.mergeOptions(r, g) : {
2694
2694
  ...r,
2695
- ...c
2695
+ ...g
2696
2696
  };
2697
2697
  let a = {
2698
2698
  ...{},
2699
2699
  ...(t = e.initialState) != null ? t : {}
2700
2700
  };
2701
- i._features.forEach((c) => {
2701
+ i._features.forEach((g) => {
2702
2702
  var d;
2703
- a = (d = c.getInitialState == null ? void 0 : c.getInitialState(a)) != null ? d : a;
2703
+ a = (d = g.getInitialState == null ? void 0 : g.getInitialState(a)) != null ? d : a;
2704
2704
  });
2705
2705
  const u = [];
2706
- let g = !1;
2706
+ let c = !1;
2707
2707
  const f = {
2708
2708
  _features: n,
2709
2709
  options: {
@@ -2711,11 +2711,11 @@ function Zo(e) {
2711
2711
  ...e
2712
2712
  },
2713
2713
  initialState: a,
2714
- _queue: (c) => {
2715
- u.push(c), g || (g = !0, Promise.resolve().then(() => {
2714
+ _queue: (g) => {
2715
+ u.push(g), c || (c = !0, Promise.resolve().then(() => {
2716
2716
  for (; u.length; )
2717
2717
  u.shift()();
2718
- g = !1;
2718
+ c = !1;
2719
2719
  }).catch((d) => setTimeout(() => {
2720
2720
  throw d;
2721
2721
  })));
@@ -2723,69 +2723,69 @@ function Zo(e) {
2723
2723
  reset: () => {
2724
2724
  i.setState(i.initialState);
2725
2725
  },
2726
- setOptions: (c) => {
2727
- const d = ee(c, i.options);
2726
+ setOptions: (g) => {
2727
+ const d = ee(g, i.options);
2728
2728
  i.options = l(d);
2729
2729
  },
2730
2730
  getState: () => i.options.state,
2731
- setState: (c) => {
2732
- i.options.onStateChange == null || i.options.onStateChange(c);
2731
+ setState: (g) => {
2732
+ i.options.onStateChange == null || i.options.onStateChange(g);
2733
2733
  },
2734
- _getRowId: (c, d, p) => {
2735
- var m;
2736
- return (m = i.options.getRowId == null ? void 0 : i.options.getRowId(c, d, p)) != null ? m : `${p ? [p.id, d].join(".") : d}`;
2734
+ _getRowId: (g, d, m) => {
2735
+ var p;
2736
+ return (p = i.options.getRowId == null ? void 0 : i.options.getRowId(g, d, m)) != null ? p : `${m ? [m.id, d].join(".") : d}`;
2737
2737
  },
2738
2738
  getCoreRowModel: () => (i._getCoreRowModel || (i._getCoreRowModel = i.options.getCoreRowModel(i)), i._getCoreRowModel()),
2739
2739
  // The final calls start at the bottom of the model,
2740
2740
  // expanded rows, which then work their way up
2741
2741
  getRowModel: () => i.getPaginationRowModel(),
2742
2742
  //in next version, we should just pass in the row model as the optional 2nd arg
2743
- getRow: (c, d) => {
2744
- let p = (d ? i.getPrePaginationRowModel() : i.getRowModel()).rowsById[c];
2745
- if (!p && (p = i.getCoreRowModel().rowsById[c], !p))
2746
- throw process.env.NODE_ENV !== "production" ? new Error(`getRow could not find row with ID: ${c}`) : new Error();
2747
- return p;
2743
+ getRow: (g, d) => {
2744
+ let m = (d ? i.getPrePaginationRowModel() : i.getRowModel()).rowsById[g];
2745
+ if (!m && (m = i.getCoreRowModel().rowsById[g], !m))
2746
+ throw process.env.NODE_ENV !== "production" ? new Error(`getRow could not find row with ID: ${g}`) : new Error();
2747
+ return m;
2748
2748
  },
2749
- _getDefaultColumnDef: F(() => [i.options.defaultColumn], (c) => {
2749
+ _getDefaultColumnDef: F(() => [i.options.defaultColumn], (g) => {
2750
2750
  var d;
2751
- return c = (d = c) != null ? d : {}, {
2752
- header: (p) => {
2753
- const m = p.header.column.columnDef;
2754
- return m.accessorKey ? m.accessorKey : m.accessorFn ? m.id : null;
2751
+ return g = (d = g) != null ? d : {}, {
2752
+ header: (m) => {
2753
+ const p = m.header.column.columnDef;
2754
+ return p.accessorKey ? p.accessorKey : p.accessorFn ? p.id : null;
2755
2755
  },
2756
2756
  // footer: props => props.header.column.id,
2757
- cell: (p) => {
2758
- var m, h;
2759
- return (m = (h = p.renderValue()) == null || h.toString == null ? void 0 : h.toString()) != null ? m : null;
2757
+ cell: (m) => {
2758
+ var p, h;
2759
+ return (p = (h = m.renderValue()) == null || h.toString == null ? void 0 : h.toString()) != null ? p : null;
2760
2760
  },
2761
- ...i._features.reduce((p, m) => Object.assign(p, m.getDefaultColumnDef == null ? void 0 : m.getDefaultColumnDef()), {}),
2762
- ...c
2761
+ ...i._features.reduce((m, p) => Object.assign(m, p.getDefaultColumnDef == null ? void 0 : p.getDefaultColumnDef()), {}),
2762
+ ...g
2763
2763
  };
2764
2764
  }, b(e, "debugColumns", "_getDefaultColumnDef")),
2765
2765
  _getColumnDefs: () => i.options.columns,
2766
- getAllColumns: F(() => [i._getColumnDefs()], (c) => {
2767
- const d = function(p, m, h) {
2768
- return h === void 0 && (h = 0), p.map((R) => {
2769
- const $ = wo(i, R, h, m), P = R;
2766
+ getAllColumns: F(() => [i._getColumnDefs()], (g) => {
2767
+ const d = function(m, p, h) {
2768
+ return h === void 0 && (h = 0), m.map((R) => {
2769
+ const $ = wo(i, R, h, p), P = R;
2770
2770
  return $.columns = P.columns ? d(P.columns, $, h + 1) : [], $;
2771
2771
  });
2772
2772
  };
2773
- return d(c);
2773
+ return d(g);
2774
2774
  }, b(e, "debugColumns", "getAllColumns")),
2775
- getAllFlatColumns: F(() => [i.getAllColumns()], (c) => c.flatMap((d) => d.getFlatColumns()), b(e, "debugColumns", "getAllFlatColumns")),
2776
- _getAllFlatColumnsById: F(() => [i.getAllFlatColumns()], (c) => c.reduce((d, p) => (d[p.id] = p, d), {}), b(e, "debugColumns", "getAllFlatColumnsById")),
2777
- getAllLeafColumns: F(() => [i.getAllColumns(), i._getOrderColumnsFn()], (c, d) => {
2778
- let p = c.flatMap((m) => m.getLeafColumns());
2779
- return d(p);
2775
+ getAllFlatColumns: F(() => [i.getAllColumns()], (g) => g.flatMap((d) => d.getFlatColumns()), b(e, "debugColumns", "getAllFlatColumns")),
2776
+ _getAllFlatColumnsById: F(() => [i.getAllFlatColumns()], (g) => g.reduce((d, m) => (d[m.id] = m, d), {}), b(e, "debugColumns", "getAllFlatColumnsById")),
2777
+ getAllLeafColumns: F(() => [i.getAllColumns(), i._getOrderColumnsFn()], (g, d) => {
2778
+ let m = g.flatMap((p) => p.getLeafColumns());
2779
+ return d(m);
2780
2780
  }, b(e, "debugColumns", "getAllLeafColumns")),
2781
- getColumn: (c) => {
2782
- const d = i._getAllFlatColumnsById()[c];
2783
- return process.env.NODE_ENV !== "production" && !d && console.error(`[Table] Column with id '${c}' does not exist.`), d;
2781
+ getColumn: (g) => {
2782
+ const d = i._getAllFlatColumnsById()[g];
2783
+ return process.env.NODE_ENV !== "production" && !d && console.error(`[Table] Column with id '${g}' does not exist.`), d;
2784
2784
  }
2785
2785
  };
2786
2786
  Object.assign(i, f);
2787
- for (let c = 0; c < i._features.length; c++) {
2788
- const d = i._features[c];
2787
+ for (let g = 0; g < i._features.length; g++) {
2788
+ const d = i._features[g];
2789
2789
  d == null || d.createTable == null || d.createTable(i);
2790
2790
  }
2791
2791
  return i;
@@ -2800,10 +2800,10 @@ function jt() {
2800
2800
  r === void 0 && (r = 0);
2801
2801
  const s = [];
2802
2802
  for (let u = 0; u < i.length; u++) {
2803
- const g = Xe(e, e._getRowId(i[u], u, l), i[u], u, r, void 0, l?.id);
2804
- if (t.flatRows.push(g), t.rowsById[g.id] = g, s.push(g), e.options.getSubRows) {
2803
+ const c = Ye(e, e._getRowId(i[u], u, l), i[u], u, r, void 0, l?.id);
2804
+ if (t.flatRows.push(c), t.rowsById[c.id] = c, s.push(c), e.options.getSubRows) {
2805
2805
  var a;
2806
- g.originalSubRows = e.options.getSubRows(i[u], u), (a = g.originalSubRows) != null && a.length && (g.subRows = n(g.originalSubRows, r + 1, g));
2806
+ c.originalSubRows = e.options.getSubRows(i[u], u), (a = c.originalSubRows) != null && a.length && (c.subRows = n(c.originalSubRows, r + 1, c));
2807
2807
  }
2808
2808
  }
2809
2809
  return s;
@@ -2829,24 +2829,24 @@ function ni(e, o, t) {
2829
2829
  var n;
2830
2830
  const i = [], r = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, s = function(a, u) {
2831
2831
  u === void 0 && (u = 0);
2832
- const g = [];
2833
- for (let c = 0; c < a.length; c++) {
2832
+ const c = [];
2833
+ for (let g = 0; g < a.length; g++) {
2834
2834
  var f;
2835
- let d = a[c];
2836
- const p = Xe(t, d.id, d.original, d.index, d.depth, void 0, d.parentId);
2837
- if (p.columnFilters = d.columnFilters, (f = d.subRows) != null && f.length && u < l) {
2838
- if (p.subRows = s(d.subRows, u + 1), d = p, o(d) && !p.subRows.length) {
2839
- g.push(d), r[d.id] = d, i.push(d);
2835
+ let d = a[g];
2836
+ const m = Ye(t, d.id, d.original, d.index, d.depth, void 0, d.parentId);
2837
+ if (m.columnFilters = d.columnFilters, (f = d.subRows) != null && f.length && u < l) {
2838
+ if (m.subRows = s(d.subRows, u + 1), d = m, o(d) && !m.subRows.length) {
2839
+ c.push(d), r[d.id] = d, i.push(d);
2840
2840
  continue;
2841
2841
  }
2842
- if (o(d) || p.subRows.length) {
2843
- g.push(d), r[d.id] = d, i.push(d);
2842
+ if (o(d) || m.subRows.length) {
2843
+ c.push(d), r[d.id] = d, i.push(d);
2844
2844
  continue;
2845
2845
  }
2846
2846
  } else
2847
- d = p, o(d) && (g.push(d), r[d.id] = d, i.push(d));
2847
+ d = m, o(d) && (c.push(d), r[d.id] = d, i.push(d));
2848
2848
  }
2849
- return g;
2849
+ return c;
2850
2850
  };
2851
2851
  return {
2852
2852
  rows: s(e),
@@ -2858,19 +2858,19 @@ function oi(e, o, t) {
2858
2858
  var n;
2859
2859
  const i = [], r = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, s = function(a, u) {
2860
2860
  u === void 0 && (u = 0);
2861
- const g = [];
2862
- for (let c = 0; c < a.length; c++) {
2863
- let d = a[c];
2861
+ const c = [];
2862
+ for (let g = 0; g < a.length; g++) {
2863
+ let d = a[g];
2864
2864
  if (o(d)) {
2865
2865
  var f;
2866
2866
  if ((f = d.subRows) != null && f.length && u < l) {
2867
- const m = Xe(t, d.id, d.original, d.index, d.depth, void 0, d.parentId);
2868
- m.subRows = s(d.subRows, u + 1), d = m;
2867
+ const p = Ye(t, d.id, d.original, d.index, d.depth, void 0, d.parentId);
2868
+ p.subRows = s(d.subRows, u + 1), d = p;
2869
2869
  }
2870
- g.push(d), i.push(d), r[d.id] = d;
2870
+ c.push(d), i.push(d), r[d.id] = d;
2871
2871
  }
2872
2872
  }
2873
- return g;
2873
+ return c;
2874
2874
  };
2875
2875
  return {
2876
2876
  rows: s(e),
@@ -2881,53 +2881,53 @@ function oi(e, o, t) {
2881
2881
  function qt() {
2882
2882
  return (e) => F(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter], (o, t, n) => {
2883
2883
  if (!o.rows.length || !(t != null && t.length) && !n) {
2884
- for (let c = 0; c < o.flatRows.length; c++)
2885
- o.flatRows[c].columnFilters = {}, o.flatRows[c].columnFiltersMeta = {};
2884
+ for (let g = 0; g < o.flatRows.length; g++)
2885
+ o.flatRows[g].columnFilters = {}, o.flatRows[g].columnFiltersMeta = {};
2886
2886
  return o;
2887
2887
  }
2888
2888
  const i = [], r = [];
2889
- (t ?? []).forEach((c) => {
2889
+ (t ?? []).forEach((g) => {
2890
2890
  var d;
2891
- const p = e.getColumn(c.id);
2892
- if (!p)
2891
+ const m = e.getColumn(g.id);
2892
+ if (!m)
2893
2893
  return;
2894
- const m = p.getFilterFn();
2895
- if (!m) {
2896
- process.env.NODE_ENV !== "production" && console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${p.id}.`);
2894
+ const p = m.getFilterFn();
2895
+ if (!p) {
2896
+ process.env.NODE_ENV !== "production" && console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${m.id}.`);
2897
2897
  return;
2898
2898
  }
2899
2899
  i.push({
2900
- id: c.id,
2901
- filterFn: m,
2902
- resolvedValue: (d = m.resolveFilterValue == null ? void 0 : m.resolveFilterValue(c.value)) != null ? d : c.value
2900
+ id: g.id,
2901
+ filterFn: p,
2902
+ resolvedValue: (d = p.resolveFilterValue == null ? void 0 : p.resolveFilterValue(g.value)) != null ? d : g.value
2903
2903
  });
2904
2904
  });
2905
- const l = (t ?? []).map((c) => c.id), s = e.getGlobalFilterFn(), a = e.getAllLeafColumns().filter((c) => c.getCanGlobalFilter());
2906
- n && s && a.length && (l.push("__global__"), a.forEach((c) => {
2905
+ const l = (t ?? []).map((g) => g.id), s = e.getGlobalFilterFn(), a = e.getAllLeafColumns().filter((g) => g.getCanGlobalFilter());
2906
+ n && s && a.length && (l.push("__global__"), a.forEach((g) => {
2907
2907
  var d;
2908
2908
  r.push({
2909
- id: c.id,
2909
+ id: g.id,
2910
2910
  filterFn: s,
2911
2911
  resolvedValue: (d = s.resolveFilterValue == null ? void 0 : s.resolveFilterValue(n)) != null ? d : n
2912
2912
  });
2913
2913
  }));
2914
- let u, g;
2915
- for (let c = 0; c < o.flatRows.length; c++) {
2916
- const d = o.flatRows[c];
2914
+ let u, c;
2915
+ for (let g = 0; g < o.flatRows.length; g++) {
2916
+ const d = o.flatRows[g];
2917
2917
  if (d.columnFilters = {}, i.length)
2918
- for (let p = 0; p < i.length; p++) {
2919
- u = i[p];
2920
- const m = u.id;
2921
- d.columnFilters[m] = u.filterFn(d, m, u.resolvedValue, (h) => {
2922
- d.columnFiltersMeta[m] = h;
2918
+ for (let m = 0; m < i.length; m++) {
2919
+ u = i[m];
2920
+ const p = u.id;
2921
+ d.columnFilters[p] = u.filterFn(d, p, u.resolvedValue, (h) => {
2922
+ d.columnFiltersMeta[p] = h;
2923
2923
  });
2924
2924
  }
2925
2925
  if (r.length) {
2926
- for (let p = 0; p < r.length; p++) {
2927
- g = r[p];
2928
- const m = g.id;
2929
- if (g.filterFn(d, m, g.resolvedValue, (h) => {
2930
- d.columnFiltersMeta[m] = h;
2926
+ for (let m = 0; m < r.length; m++) {
2927
+ c = r[m];
2928
+ const p = c.id;
2929
+ if (c.filterFn(d, p, c.resolvedValue, (h) => {
2930
+ d.columnFiltersMeta[p] = h;
2931
2931
  })) {
2932
2932
  d.columnFilters.__global__ = !0;
2933
2933
  break;
@@ -2936,9 +2936,9 @@ function qt() {
2936
2936
  d.columnFilters.__global__ !== !0 && (d.columnFilters.__global__ = !1);
2937
2937
  }
2938
2938
  }
2939
- const f = (c) => {
2939
+ const f = (g) => {
2940
2940
  for (let d = 0; d < l.length; d++)
2941
- if (c.columnFilters[l[d]] === !1)
2941
+ if (g.columnFilters[l[d]] === !1)
2942
2942
  return !1;
2943
2943
  return !0;
2944
2944
  };
@@ -2958,8 +2958,8 @@ function Kt(e) {
2958
2958
  flatRows: s,
2959
2959
  rowsById: a
2960
2960
  } = n;
2961
- const u = i * r, g = u + i;
2962
- l = l.slice(u, g);
2961
+ const u = i * r, c = u + i;
2962
+ l = l.slice(u, c);
2963
2963
  let f;
2964
2964
  o.options.paginateExpandedRows ? f = {
2965
2965
  rows: l,
@@ -2970,10 +2970,10 @@ function Kt(e) {
2970
2970
  flatRows: s,
2971
2971
  rowsById: a
2972
2972
  }), f.flatRows = [];
2973
- const c = (d) => {
2974
- f.flatRows.push(d), d.subRows.length && d.subRows.forEach(c);
2973
+ const g = (d) => {
2974
+ f.flatRows.push(d), d.subRows.length && d.subRows.forEach(g);
2975
2975
  };
2976
- return f.rows.forEach(c), f;
2976
+ return f.rows.forEach(g), f;
2977
2977
  }, b(o.options, "debugTable", "getPaginationRowModel"));
2978
2978
  }
2979
2979
  function Ut() {
@@ -2993,29 +2993,29 @@ function Ut() {
2993
2993
  });
2994
2994
  });
2995
2995
  const s = (a) => {
2996
- const u = a.map((g) => ({
2997
- ...g
2996
+ const u = a.map((c) => ({
2997
+ ...c
2998
2998
  }));
2999
- return u.sort((g, f) => {
2999
+ return u.sort((c, f) => {
3000
3000
  for (let d = 0; d < r.length; d += 1) {
3001
- var c;
3002
- const p = r[d], m = l[p.id], h = m.sortUndefined, R = (c = p?.desc) != null ? c : !1;
3001
+ var g;
3002
+ const m = r[d], p = l[m.id], h = p.sortUndefined, R = (g = m?.desc) != null ? g : !1;
3003
3003
  let $ = 0;
3004
3004
  if (h) {
3005
- const P = g.getValue(p.id), _ = f.getValue(p.id), v = P === void 0, w = _ === void 0;
3005
+ const P = c.getValue(m.id), M = f.getValue(m.id), v = P === void 0, w = M === void 0;
3006
3006
  if (v || w) {
3007
3007
  if (h === "first") return v ? -1 : 1;
3008
3008
  if (h === "last") return v ? 1 : -1;
3009
3009
  $ = v && w ? 0 : v ? h : -h;
3010
3010
  }
3011
3011
  }
3012
- if ($ === 0 && ($ = m.sortingFn(g, f, p.id)), $ !== 0)
3013
- return R && ($ *= -1), m.invertSorting && ($ *= -1), $;
3012
+ if ($ === 0 && ($ = p.sortingFn(c, f, m.id)), $ !== 0)
3013
+ return R && ($ *= -1), p.invertSorting && ($ *= -1), $;
3014
3014
  }
3015
- return g.index - f.index;
3016
- }), u.forEach((g) => {
3015
+ return c.index - f.index;
3016
+ }), u.forEach((c) => {
3017
3017
  var f;
3018
- i.push(g), (f = g.subRows) != null && f.length && (g.subRows = s(g.subRows));
3018
+ i.push(c), (f = c.subRows) != null && f.length && (c.subRows = s(c.subRows));
3019
3019
  }), u;
3020
3020
  };
3021
3021
  return {
@@ -3035,7 +3035,7 @@ function Ut() {
3035
3035
  *
3036
3036
  * @license MIT
3037
3037
  */
3038
- function ve() {
3038
+ function Se() {
3039
3039
  return !0;
3040
3040
  }
3041
3041
  const ii = Symbol("merge-proxy"), ri = {
@@ -3045,8 +3045,8 @@ const ii = Symbol("merge-proxy"), ri = {
3045
3045
  has(e, o) {
3046
3046
  return e.has(o);
3047
3047
  },
3048
- set: ve,
3049
- deleteProperty: ve,
3048
+ set: Se,
3049
+ deleteProperty: Se,
3050
3050
  getOwnPropertyDescriptor(e, o) {
3051
3051
  return {
3052
3052
  configurable: !0,
@@ -3054,15 +3054,15 @@ const ii = Symbol("merge-proxy"), ri = {
3054
3054
  get() {
3055
3055
  return e.get(o);
3056
3056
  },
3057
- set: ve,
3058
- deleteProperty: ve
3057
+ set: Se,
3058
+ deleteProperty: Se
3059
3059
  };
3060
3060
  },
3061
3061
  ownKeys(e) {
3062
3062
  return e.keys();
3063
3063
  }
3064
3064
  };
3065
- function Ee(e) {
3065
+ function Le(e) {
3066
3066
  return "value" in e ? e.value : e;
3067
3067
  }
3068
3068
  function ae() {
@@ -3071,27 +3071,27 @@ function ae() {
3071
3071
  return new Proxy({
3072
3072
  get(n) {
3073
3073
  for (let i = o.length - 1; i >= 0; i--) {
3074
- const r = Ee(o[i])[n];
3074
+ const r = Le(o[i])[n];
3075
3075
  if (r !== void 0) return r;
3076
3076
  }
3077
3077
  },
3078
3078
  has(n) {
3079
3079
  for (let i = o.length - 1; i >= 0; i--)
3080
- if (n in Ee(o[i])) return !0;
3080
+ if (n in Le(o[i])) return !0;
3081
3081
  return !1;
3082
3082
  },
3083
3083
  keys() {
3084
3084
  const n = [];
3085
- for (let i = 0; i < o.length; i++) n.push(...Object.keys(Ee(o[i])));
3085
+ for (let i = 0; i < o.length; i++) n.push(...Object.keys(Le(o[i])));
3086
3086
  return [...Array.from(new Set(n))];
3087
3087
  }
3088
3088
  }, ri);
3089
3089
  }
3090
- const fe = Q({
3090
+ const pe = Q({
3091
3091
  props: ["render", "props"],
3092
3092
  setup: (e) => () => typeof e.render == "function" || typeof e.render == "object" ? Y(e.render, e.props) : e.render
3093
3093
  });
3094
- function mt(e) {
3094
+ function ht(e) {
3095
3095
  return ae(e, {
3096
3096
  data: C(e.data)
3097
3097
  });
@@ -3110,10 +3110,10 @@ function Wt(e) {
3110
3110
  ...l
3111
3111
  } : ae(r, l);
3112
3112
  }
3113
- }, o ? mt(e) : e), n = Zo(t);
3113
+ }, o ? ht(e) : e), n = Zo(t);
3114
3114
  if (o) {
3115
3115
  const r = Zt(e.data);
3116
- Ct(r, () => {
3116
+ yt(r, () => {
3117
3117
  n.setState((l) => ({
3118
3118
  ...l,
3119
3119
  data: r.value
@@ -3129,7 +3129,7 @@ function Wt(e) {
3129
3129
  const s = new Proxy({}, {
3130
3130
  get: (a, u) => i.value[u]
3131
3131
  });
3132
- return ae(r, o ? mt(e) : e, {
3132
+ return ae(r, o ? ht(e) : e, {
3133
3133
  // merge the initialState and `options.state`
3134
3134
  // create a new proxy on each `setOptions` call
3135
3135
  // and get the value from state on each property access
@@ -3214,18 +3214,18 @@ const li = { class: "pagination" }, si = {
3214
3214
  ), r = B(
3215
3215
  () => Math.ceil(t.totalItems / i.value)
3216
3216
  ), l = B(
3217
- () => Array.from({ length: r.value }, (u, g) => g + 1)
3217
+ () => Array.from({ length: r.value }, (u, c) => c + 1)
3218
3218
  ), s = (u) => {
3219
- const g = parseInt(
3219
+ const c = parseInt(
3220
3220
  u.target.value,
3221
3221
  10
3222
3222
  );
3223
- i.value = g, n("update:itemsPerPage", i.value);
3223
+ i.value = c, n("update:itemsPerPage", i.value);
3224
3224
  }, a = (u) => {
3225
- const g = parseInt(u.toString(), 10) - 1;
3226
- !isNaN(g) && g >= 0 && g < r.value && n("update:currentPage", g);
3225
+ const c = parseInt(u.toString(), 10) - 1;
3226
+ !isNaN(c) && c >= 0 && c < r.value && n("update:currentPage", c);
3227
3227
  };
3228
- return (u, g) => (S(), y("div", li, [
3228
+ return (u, c) => (S(), y("div", li, [
3229
3229
  e.showItemsPerPageControl ? (S(), y("div", si, [
3230
3230
  A("span", null, N(e.itemsPerPageControlLabel), 1),
3231
3231
  A("select", {
@@ -3240,7 +3240,7 @@ const li = { class: "pagination" }, si = {
3240
3240
  ])) : D("", !0),
3241
3241
  r.value > 1 && e.showPageInput ? (S(), y("div", di, [
3242
3242
  A("span", null, N(e.pageInputLabel), 1),
3243
- M(C(Ft), {
3243
+ E(C(Ft), {
3244
3244
  type: "number",
3245
3245
  "debounce-time": e.inputDebounceTime,
3246
3246
  "onUpdate:modelValue": a
@@ -3248,62 +3248,62 @@ const li = { class: "pagination" }, si = {
3248
3248
  ])) : D("", !0),
3249
3249
  r.value > 1 ? (S(), y("div", ci, [
3250
3250
  e.showFirstLastButtons || e.showPreviousNextButtons ? (S(), y("div", gi, [
3251
- e.showFirstLastButtons ? (S(), E(C(Z), {
3251
+ e.showFirstLastButtons ? (S(), _(C(Z), {
3252
3252
  key: 0,
3253
3253
  disabled: !(e.currentPage > 0),
3254
3254
  class: "first-page",
3255
3255
  size: "small",
3256
- onClick: g[0] || (g[0] = (f) => u.$emit("update:currentPage", 0))
3256
+ onClick: c[0] || (c[0] = (f) => u.$emit("update:currentPage", 0))
3257
3257
  }, {
3258
3258
  iconLeft: G(() => [
3259
- M(C(j), { icon: "prime:angle-double-left" })
3259
+ E(C(j), { icon: "prime:angle-double-left" })
3260
3260
  ]),
3261
3261
  _: 1
3262
3262
  }, 8, ["disabled"])) : D("", !0),
3263
- e.showPreviousNextButtons ? (S(), E(C(Z), {
3263
+ e.showPreviousNextButtons ? (S(), _(C(Z), {
3264
3264
  key: 1,
3265
3265
  disabled: !(e.currentPage > 0),
3266
3266
  class: "previous-page",
3267
3267
  size: "small",
3268
- onClick: g[1] || (g[1] = (f) => u.$emit("update:currentPage", e.currentPage - 1))
3268
+ onClick: c[1] || (c[1] = (f) => u.$emit("update:currentPage", e.currentPage - 1))
3269
3269
  }, {
3270
3270
  iconLeft: G(() => [
3271
- M(C(j), { icon: "prime:angle-left" })
3271
+ E(C(j), { icon: "prime:angle-left" })
3272
3272
  ]),
3273
3273
  _: 1
3274
3274
  }, 8, ["disabled"])) : D("", !0)
3275
3275
  ])) : D("", !0),
3276
3276
  A("div", null, [
3277
- e.showPageButtons ? (S(!0), y(H, { key: 0 }, z(l.value, (f) => (S(), E(C(Z), {
3277
+ e.showPageButtons ? (S(!0), y(H, { key: 0 }, z(l.value, (f) => (S(), _(C(Z), {
3278
3278
  key: `page-button-${f}`,
3279
- class: ce(`page-button ${f === e.currentPage + 1 ? "active" : ""}`),
3279
+ class: ge(`page-button ${f === e.currentPage + 1 ? "active" : ""}`),
3280
3280
  label: `${f}`,
3281
3281
  size: "small",
3282
- onClick: (c) => u.$emit("update:currentPage", f - 1)
3282
+ onClick: (g) => u.$emit("update:currentPage", f - 1)
3283
3283
  }, null, 8, ["class", "label", "onClick"]))), 128)) : (S(), y("span", fi, N(`${e.currentPage + 1} / ${r.value}`), 1))
3284
3284
  ]),
3285
3285
  e.showFirstLastButtons || e.showPreviousNextButtons ? (S(), y("div", pi, [
3286
- e.showPreviousNextButtons ? (S(), E(C(Z), {
3286
+ e.showPreviousNextButtons ? (S(), _(C(Z), {
3287
3287
  key: 0,
3288
3288
  disabled: !(e.currentPage < r.value - 1),
3289
3289
  class: "next-page",
3290
3290
  size: "small",
3291
- onClick: g[2] || (g[2] = (f) => u.$emit("update:currentPage", e.currentPage + 1))
3291
+ onClick: c[2] || (c[2] = (f) => u.$emit("update:currentPage", e.currentPage + 1))
3292
3292
  }, {
3293
3293
  iconLeft: G(() => [
3294
- M(C(j), { icon: "prime:angle-right" })
3294
+ E(C(j), { icon: "prime:angle-right" })
3295
3295
  ]),
3296
3296
  _: 1
3297
3297
  }, 8, ["disabled"])) : D("", !0),
3298
- e.showFirstLastButtons ? (S(), E(C(Z), {
3298
+ e.showFirstLastButtons ? (S(), _(C(Z), {
3299
3299
  key: 1,
3300
3300
  disabled: !(e.currentPage < r.value - 1),
3301
3301
  class: "last-page",
3302
3302
  size: "small",
3303
- onClick: g[3] || (g[3] = (f) => u.$emit("update:currentPage", r.value - 1))
3303
+ onClick: c[3] || (c[3] = (f) => u.$emit("update:currentPage", r.value - 1))
3304
3304
  }, {
3305
3305
  iconLeft: G(() => [
3306
- M(C(j), { icon: "prime:angle-double-right" })
3306
+ E(C(j), { icon: "prime:angle-double-right" })
3307
3307
  ]),
3308
3308
  _: 1
3309
3309
  }, 8, ["disabled"])) : D("", !0)
@@ -3311,7 +3311,7 @@ const li = { class: "pagination" }, si = {
3311
3311
  ])) : (S(), y("span", mi, N(`${e.currentPage + 1} / ${r.value}`), 1))
3312
3312
  ]));
3313
3313
  }
3314
- }), Le = 0, Si = [10, 20, 30], wi = 10, Qt = "table", Xt = {
3314
+ }), we = 0, Si = [10, 20, 30], wi = 10, Qt = "table", Xt = {
3315
3315
  day: "2-digit",
3316
3316
  month: "2-digit",
3317
3317
  year: "numeric"
@@ -3320,11 +3320,11 @@ const li = { class: "pagination" }, si = {
3320
3320
  hour: "2-digit",
3321
3321
  minute: "2-digit",
3322
3322
  hour12: !1
3323
- }, ht = ({
3323
+ }, vt = ({
3324
3324
  value: e,
3325
3325
  locale: o = "en-GB",
3326
3326
  formatOptions: t
3327
- }) => typeof e != "number" || isNaN(e) ? e : new Intl.NumberFormat(o, t).format(e), yi = (e, o, t) => on(e, o, t ?? Xt), Ri = (e, o, t) => nn(e, o, t ?? Ci), de = (e) => {
3327
+ }) => typeof e != "number" || isNaN(e) ? e : new Intl.NumberFormat(o, t).format(e), yi = (e, o, t) => on(e, o, t ?? Xt), Ri = (e, o, t) => nn(e, o, t ?? Ci), ce = (e) => {
3328
3328
  switch (e) {
3329
3329
  case x.CONTAINS:
3330
3330
  return { operator: T.CONTAINS };
@@ -3367,7 +3367,7 @@ const li = { class: "pagination" }, si = {
3367
3367
  default:
3368
3368
  throw new Error(`Unhandled filter function: ${e}`);
3369
3369
  }
3370
- }, vt = (e) => {
3370
+ }, St = (e) => {
3371
3371
  switch (e) {
3372
3372
  case !1:
3373
3373
  return "ASC";
@@ -3376,48 +3376,48 @@ const li = { class: "pagination" }, si = {
3376
3376
  default:
3377
3377
  return "";
3378
3378
  }
3379
- }, Ke = ({
3379
+ }, Ue = ({
3380
3380
  align: e,
3381
3381
  dataType: o
3382
- }) => e || (o == "other" ? "center" : o == "number" || o == "currency" ? "right" : "left"), St = (e) => {
3382
+ }) => e || (o == "other" ? "center" : o == "number" || o == "currency" ? "right" : "left"), wt = (e) => {
3383
3383
  const o = e.value.filter(
3384
3384
  (t) => Yt(t)
3385
3385
  );
3386
3386
  return o.length < 1 ? null : e.filterFn === x.BETWEEN ? o.length > 1 ? {
3387
3387
  key: e.id,
3388
- ...de(e.filterFn),
3388
+ ...ce(e.filterFn),
3389
3389
  value: o.slice(0, 2).join(",")
3390
3390
  } : null : e.filterFn && !Pi(e.filterFn) ? {
3391
3391
  key: e.id,
3392
- ...de(e.filterFn),
3392
+ ...ce(e.filterFn),
3393
3393
  value: o[0]
3394
3394
  } : {
3395
3395
  key: e.id,
3396
- ...de(e.filterFn || x.IN),
3396
+ ...ce(e.filterFn || x.IN),
3397
3397
  value: o.join(",")
3398
3398
  };
3399
3399
  }, Fi = (e, o, t) => {
3400
3400
  const n = () => {
3401
3401
  if (!o || o.length === 0) return null;
3402
- const s = o.filter((a) => Array.isArray(a.value) ? a.value.filter((g) => Yt(g)).length > 0 : typeof a.value == "string" ? a.value.trim() !== "" : a.value != null);
3403
- return s.length === 0 ? null : s.length === 1 ? Array.isArray(s[0].value) ? St(s[0]) : {
3402
+ const s = o.filter((a) => Array.isArray(a.value) ? a.value.filter((c) => Yt(c)).length > 0 : typeof a.value == "string" ? a.value.trim() !== "" : a.value != null);
3403
+ return s.length === 0 ? null : s.length === 1 ? Array.isArray(s[0].value) ? wt(s[0]) : {
3404
3404
  key: s[0].id,
3405
- ...de(s[0].filterFn || x.CONTAINS),
3405
+ ...ce(s[0].filterFn || x.CONTAINS),
3406
3406
  value: String(s[0].value)
3407
3407
  } : {
3408
- AND: s.map((a) => Array.isArray(a.value) ? St(a) : {
3408
+ AND: s.map((a) => Array.isArray(a.value) ? wt(a) : {
3409
3409
  key: a.id,
3410
- ...de(a.filterFn || x.CONTAINS),
3410
+ ...ce(a.filterFn || x.CONTAINS),
3411
3411
  value: String(a.value)
3412
3412
  })
3413
3413
  };
3414
3414
  }, i = () => !t || t && Object.keys(t).length === 0 ? null : t.pageSize, r = () => !t || t && Object.keys(t).length === 0 ? null : t.pageIndex * t.pageSize, l = () => !e || e.length === 0 ? null : e.length > 1 ? e.map((s) => ({
3415
3415
  key: s.id,
3416
- direction: vt(s.desc)
3416
+ direction: St(s.desc)
3417
3417
  })) : [
3418
3418
  {
3419
3419
  key: e[0].id,
3420
- direction: vt(e[0].desc)
3420
+ direction: St(e[0].desc)
3421
3421
  }
3422
3422
  ];
3423
3423
  return {
@@ -3434,7 +3434,7 @@ const li = { class: "pagination" }, si = {
3434
3434
  console.log("[Dz table] Could not restore table state", t);
3435
3435
  }
3436
3436
  return null;
3437
- }, wt = (e, o, t) => {
3437
+ }, Ct = (e, o, t) => {
3438
3438
  try {
3439
3439
  t.setItem(`${Qt}-${e}`, JSON.stringify(o));
3440
3440
  } catch (n) {
@@ -3474,28 +3474,28 @@ const li = { class: "pagination" }, si = {
3474
3474
  return {
3475
3475
  props: r,
3476
3476
  render: (() => {
3477
- const g = {
3477
+ const c = {
3478
3478
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3479
- number: (c) => ht({
3480
- value: Number(c),
3479
+ number: (g) => vt({
3480
+ value: Number(g),
3481
3481
  locale: s?.locale ?? o.locale,
3482
3482
  formatOptions: s?.formatOptions
3483
3483
  }),
3484
3484
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3485
- date: (c) => yi(
3486
- c,
3485
+ date: (g) => yi(
3486
+ g,
3487
3487
  l?.locale ?? o.locale,
3488
3488
  l?.formatOptions
3489
3489
  ),
3490
3490
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3491
- datetime: (c) => Ri(
3492
- c,
3491
+ datetime: (g) => Ri(
3492
+ g,
3493
3493
  l?.locale ?? o.locale,
3494
3494
  l?.formatOptions
3495
3495
  ),
3496
3496
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3497
- currency: (c) => ht({
3498
- value: Number(c),
3497
+ currency: (g) => vt({
3498
+ value: Number(g),
3499
3499
  locale: s?.locale ?? o.locale,
3500
3500
  formatOptions: {
3501
3501
  style: "currency",
@@ -3505,7 +3505,7 @@ const li = { class: "pagination" }, si = {
3505
3505
  }),
3506
3506
  ...o.customFormatters
3507
3507
  }, f = i.column.columnDef.dataType || "text";
3508
- return g?.[f]?.(r.getValue()) || a;
3508
+ return c?.[f]?.(r.getValue()) || a;
3509
3509
  })()
3510
3510
  };
3511
3511
  }, n = (i) => {
@@ -3520,9 +3520,9 @@ const li = { class: "pagination" }, si = {
3520
3520
  }, [
3521
3521
  (S(!0), y(H, null, z(l.getVisibleCells(), (s) => (S(), y("td", {
3522
3522
  key: `table-data-${l.id}-${s.id}`,
3523
- class: ce([s.column.id ? `cell-${s.column.id}` : ""]),
3523
+ class: ge([s.column.id ? `cell-${s.column.id}` : ""]),
3524
3524
  "data-label": s.column.id,
3525
- "data-align": C(Ke)({
3525
+ "data-align": C(Ue)({
3526
3526
  align: s.column.columnDef.align,
3527
3527
  dataType: s.column.columnDef.dataType
3528
3528
  }),
@@ -3532,20 +3532,20 @@ const li = { class: "pagination" }, si = {
3532
3532
  minWidth: s.column.columnDef.minWidth
3533
3533
  })
3534
3534
  }, [
3535
- s.column.columnDef.tooltip ? (S(), E(C(rn), te({
3535
+ s.column.columnDef.tooltip ? (S(), _(C(rn), te({
3536
3536
  key: 0,
3537
3537
  ref_for: !0
3538
3538
  }, s.column.columnDef.tooltipOptions), {
3539
3539
  content: G(() => [
3540
- typeof s.column.columnDef.tooltip == "function" && typeof n(s) != "string" ? (S(), E(yt(n(s)), { key: 0 })) : (S(), y(H, { key: 1 }, [
3540
+ typeof s.column.columnDef.tooltip == "function" && typeof n(s) != "string" ? (S(), _(ue(n(s)), { key: 0 })) : (S(), y(H, { key: 1 }, [
3541
3541
  tn(N(n(s)), 1)
3542
3542
  ], 64))
3543
3543
  ]),
3544
3544
  default: G(() => [
3545
- M(C(fe), te({ ref_for: !0 }, t(s)), null, 16)
3545
+ E(C(pe), te({ ref_for: !0 }, t(s)), null, 16)
3546
3546
  ]),
3547
3547
  _: 2
3548
- }, 1040)) : (S(), E(C(fe), te({
3548
+ }, 1040)) : (S(), _(C(pe), te({
3549
3549
  key: 1,
3550
3550
  ref_for: !0
3551
3551
  }, t(s)), null, 16))
@@ -3561,10 +3561,10 @@ const li = { class: "pagination" }, si = {
3561
3561
  }), _i = {
3562
3562
  key: 0,
3563
3563
  class: "data-actions"
3564
- }, Mi = {
3564
+ }, Mi = { key: 0 }, Ei = { key: 0 }, ki = { key: 0 }, Li = {
3565
3565
  name: "TableDataActions"
3566
- }, Ei = /* @__PURE__ */ Q({
3567
- ...Mi,
3566
+ }, Ti = /* @__PURE__ */ Q({
3567
+ ...Li,
3568
3568
  props: {
3569
3569
  actions: {
3570
3570
  type: Array,
@@ -3591,25 +3591,29 @@ const li = { class: "pagination" }, si = {
3591
3591
  emits: ["action:select"],
3592
3592
  setup(e, { emit: o }) {
3593
3593
  const t = e, n = o, i = K(!1), r = K(), l = B(
3594
- () => t.actions.map((c) => ({
3595
- ...c,
3596
- display: typeof c.display == "function" ? c.display(t.data) : c.display ?? !0,
3597
- disabled: typeof c.disabled == "function" ? c.disabled(t.data) : c.disabled
3598
- })).filter((c) => c.display)
3599
- ), s = B(
3594
+ () => t.actions.map((d) => ({
3595
+ ...d,
3596
+ display: typeof d.display == "function" ? d.display(t.data) : d.display ?? !0,
3597
+ disabled: typeof d.disabled == "function" ? d.disabled(t.data) : d.disabled
3598
+ })).filter((d) => d.display)
3599
+ ), s = B(() => {
3600
+ const d = r.value?.confirmationOptions;
3601
+ if (d)
3602
+ return typeof d == "function" ? d(t.data) : d;
3603
+ }), a = B(
3600
3604
  () => (typeof t.displayActions == "function" ? t.displayActions(t.data) : t.displayActions) && l.value?.length
3601
- ), a = B(
3602
- () => l.value?.length && t.mode === "buttons" || t.mode === "auto" && l.value?.length <= t.autoModeCount
3603
3605
  ), u = B(
3606
+ () => l.value?.length && t.mode === "buttons" || t.mode === "auto" && l.value?.length <= t.autoModeCount
3607
+ ), c = B(
3604
3608
  () => l.value?.length && t.mode === "dropdown" || t.mode === "auto" && l.value?.length > t.autoModeCount
3605
- ), g = () => {
3609
+ ), f = () => {
3606
3610
  i.value = !1, n("action:select", r.value);
3607
- }, f = (c) => {
3608
- r.value = c, c?.requireConfirmationModal ? i.value = !0 : n("action:select", r.value);
3611
+ }, g = (d) => {
3612
+ r.value = d, d?.requireConfirmationModal ? i.value = !0 : n("action:select", r.value);
3609
3613
  };
3610
- return (c, d) => s.value ? (S(), y("div", _i, [
3611
- a.value ? (S(!0), y(H, { key: 0 }, z(l.value, (p, m) => (S(), E(C(Z), te({ ref_for: !0 }, p, {
3612
- key: `mode-button-${m}`,
3614
+ return (d, m) => a.value ? (S(), y("div", _i, [
3615
+ u.value ? (S(!0), y(H, { key: 0 }, z(l.value, (p, h) => (S(), _(C(Z), te({ ref_for: !0 }, p, {
3616
+ key: `mode-button-${h}`,
3613
3617
  class: p.class,
3614
3618
  disabled: p.disabled,
3615
3619
  "icon-left": p.icon,
@@ -3617,15 +3621,15 @@ const li = { class: "pagination" }, si = {
3617
3621
  title: p.label,
3618
3622
  rounded: "",
3619
3623
  variant: "textOnly",
3620
- onClick: (h) => f(p)
3621
- }), null, 16, ["class", "disabled", "icon-left", "label", "title", "onClick"]))), 128)) : u.value ? (S(), E(C(ln), {
3624
+ onClick: (R) => g(p)
3625
+ }), null, 16, ["class", "disabled", "icon-left", "label", "title", "onClick"]))), 128)) : c.value ? (S(), _(C(ln), {
3622
3626
  key: 1,
3623
3627
  menu: l.value,
3624
- onSelect: f
3628
+ onSelect: g
3625
3629
  }, {
3626
3630
  default: G(() => [
3627
- J(c.$slots, "trigger", {}, () => [
3628
- M(C(j), {
3631
+ J(d.$slots, "trigger", {}, () => [
3632
+ E(C(j), {
3629
3633
  icon: "prime:cog",
3630
3634
  width: "22"
3631
3635
  })
@@ -3633,30 +3637,30 @@ const li = { class: "pagination" }, si = {
3633
3637
  ]),
3634
3638
  _: 3
3635
3639
  }, 8, ["menu"])) : D("", !0),
3636
- J(c.$slots, "confirmationModal", {}, () => [
3637
- i.value ? (S(), E(C(sn), {
3640
+ J(d.$slots, "confirmationModal", {}, () => [
3641
+ i.value ? (S(), _(C(sn), {
3638
3642
  key: 0,
3639
- "onOn:close": d[0] || (d[0] = (p) => i.value = !1),
3640
- "onOn:confirm": g
3643
+ "onOn:close": m[0] || (m[0] = (p) => i.value = !1),
3644
+ "onOn:confirm": f
3641
3645
  }, Rt({ _: 2 }, [
3642
- r.value?.confirmationOptions?.header ? {
3646
+ s.value?.header ? {
3643
3647
  name: "header",
3644
3648
  fn: G(() => [
3645
- A("p", null, N(r.value?.confirmationOptions?.header), 1)
3649
+ typeof s.value?.header == "string" ? (S(), y("p", Mi, N(s.value?.header), 1)) : (S(), _(ue(s.value?.header), { key: 1 }))
3646
3650
  ]),
3647
3651
  key: "0"
3648
3652
  } : void 0,
3649
- r.value?.confirmationOptions?.body ? {
3650
- name: "body",
3653
+ s.value?.body ? {
3654
+ name: "message",
3651
3655
  fn: G(() => [
3652
- A("p", null, N(r.value?.confirmationOptions?.body), 1)
3656
+ typeof s.value?.body == "string" ? (S(), y("p", Ei, N(s.value?.body), 1)) : (S(), _(ue(s.value?.body), { key: 1 }))
3653
3657
  ]),
3654
3658
  key: "1"
3655
3659
  } : void 0,
3656
- r.value?.confirmationOptions?.footer ? {
3660
+ s.value?.footer ? {
3657
3661
  name: "footer",
3658
3662
  fn: G(() => [
3659
- A("p", null, N(r.value?.confirmationOptions?.footer), 1)
3663
+ typeof s.value?.footer == "string" ? (S(), y("p", ki, N(s.value?.footer), 1)) : (S(), _(ue(s.value?.footer), { key: 1 }))
3660
3664
  ]),
3661
3665
  key: "2"
3662
3666
  } : void 0
@@ -3664,40 +3668,40 @@ const li = { class: "pagination" }, si = {
3664
3668
  ])
3665
3669
  ])) : D("", !0);
3666
3670
  }
3667
- }), Li = ["colSpan", "data-align", "onClick"], ki = {
3671
+ }), Hi = ["colSpan", "data-align", "onClick"], Bi = {
3668
3672
  key: 0,
3669
3673
  class: "sort-state"
3670
- }, Ti = {
3674
+ }, Oi = {
3671
3675
  key: 0,
3672
3676
  class: "sort-icon",
3673
3677
  height: "16",
3674
3678
  viewBox: "0 0 24 24",
3675
3679
  width: "16",
3676
3680
  xmlns: "http://www.w3.org/2000/svg"
3677
- }, Hi = {
3681
+ }, Gi = {
3678
3682
  key: 0,
3679
3683
  class: "sort-icon",
3680
3684
  height: "16",
3681
3685
  viewBox: "0 0 24 24",
3682
3686
  width: "16",
3683
3687
  xmlns: "http://www.w3.org/2000/svg"
3684
- }, Oi = {
3688
+ }, zi = {
3685
3689
  key: 1,
3686
3690
  class: "sort-icon",
3687
3691
  height: "16",
3688
3692
  viewBox: "0 0 24 24",
3689
3693
  width: "16",
3690
3694
  xmlns: "http://www.w3.org/2000/svg"
3691
- }, Bi = {
3695
+ }, Ni = {
3692
3696
  key: 0,
3693
3697
  class: "header-row filters"
3694
- }, Gi = ["data-align"], zi = {
3698
+ }, ji = ["data-align"], qi = {
3695
3699
  key: 3,
3696
3700
  class: "number-range-filter"
3697
- }, Ni = {
3701
+ }, Ki = {
3698
3702
  name: "TableHeader"
3699
- }, ji = /* @__PURE__ */ Q({
3700
- ...Ni,
3703
+ }, Ui = /* @__PURE__ */ Q({
3704
+ ...Ki,
3701
3705
  props: {
3702
3706
  highlightActiveColumn: Boolean,
3703
3707
  inputDebounceTime: {
@@ -3715,15 +3719,15 @@ const li = { class: "pagination" }, si = {
3715
3719
  },
3716
3720
  setup(e) {
3717
3721
  const o = e, t = (l) => o.highlightActiveColumn && (l.getIsSorted() === "asc" || l.getIsSorted() === "desc" || l.getIsFiltered()) ? "highlight" : "", n = (l) => l.getFilterValue(), i = (l) => l?.length ? l.map((s, a) => {
3718
- const u = String(s.getDate()).padStart(2, "0"), g = String(s.getMonth() + 1).padStart(2, "0"), f = a === 0 ? "00:00:00" : "23:59:59";
3719
- return `${s.getFullYear()}-${g}-${u} ${f}`;
3722
+ const u = String(s.getDate()).padStart(2, "0"), c = String(s.getMonth() + 1).padStart(2, "0"), f = a === 0 ? "00:00:00" : "23:59:59";
3723
+ return `${s.getFullYear()}-${c}-${u} ${f}`;
3720
3724
  }).filter((s) => s !== null) : null, r = (l, s, a) => {
3721
- const u = l.getFilterValue(), g = Array.isArray(u) ? [...u] : [void 0, void 0];
3722
- g[s] = a !== void 0 ? Number(a) : void 0;
3723
- const f = g.some(
3724
- (c) => c !== void 0
3725
+ const u = l.getFilterValue(), c = Array.isArray(u) ? [...u] : [void 0, void 0];
3726
+ c[s] = a !== void 0 ? Number(a) : void 0;
3727
+ const f = c.some(
3728
+ (g) => g !== void 0
3725
3729
  );
3726
- l.setFilterValue(f ? g : []);
3730
+ l.setFilterValue(f ? c : []);
3727
3731
  };
3728
3732
  return (l, s) => (S(), y("thead", null, [
3729
3733
  (S(!0), y(H, null, z(e.table.getHeaderGroups(), (a) => (S(), y("tr", {
@@ -3732,13 +3736,13 @@ const li = { class: "pagination" }, si = {
3732
3736
  }, [
3733
3737
  (S(!0), y(H, null, z(a.headers, (u) => (S(), y("th", {
3734
3738
  key: `table-header-${u.id}`,
3735
- class: ce([
3739
+ class: ge([
3736
3740
  t(u.column),
3737
3741
  `column-${u.id}`,
3738
3742
  u.column.columnDef.enableSorting ? "sortable" : ""
3739
3743
  ]),
3740
3744
  colSpan: u.colSpan,
3741
- "data-align": C(Ke)({
3745
+ "data-align": C(Ue)({
3742
3746
  align: u.column.columnDef.align,
3743
3747
  dataType: u.column.columnDef.dataType
3744
3748
  }),
@@ -3747,27 +3751,27 @@ const li = { class: "pagination" }, si = {
3747
3751
  maxWidth: u.column.columnDef.maxWidth,
3748
3752
  minWidth: u.column.columnDef.minWidth
3749
3753
  }),
3750
- onClick: (g) => u.column.getCanSort() ? u.column.getToggleSortingHandler()?.(g) : null
3754
+ onClick: (c) => u.column.getCanSort() ? u.column.getToggleSortingHandler()?.(c) : null
3751
3755
  }, [
3752
3756
  u.isPlaceholder ? D("", !0) : (S(), y(H, { key: 0 }, [
3753
- M(C(fe), {
3757
+ E(C(pe), {
3754
3758
  props: u.getContext(),
3755
3759
  render: u.column.columnDef.header
3756
3760
  }, null, 8, ["props", "render"]),
3757
- u.column.columnDef.enableSorting ? (S(), y("span", ki, [
3758
- !u.column.getIsSorted() && u.column.getCanSort() ? (S(), y("svg", Ti, s[0] || (s[0] = [
3761
+ u.column.columnDef.enableSorting ? (S(), y("span", Bi, [
3762
+ !u.column.getIsSorted() && u.column.getCanSort() ? (S(), y("svg", Oi, s[0] || (s[0] = [
3759
3763
  A("path", {
3760
3764
  d: "M18 10.75H6a.74.74 0 0 1-.69-.46a.75.75 0 0 1 .16-.82l6-6a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 .16.82a.74.74 0 0 1-.69.46M7.81 9.25h8.38L12 5.06ZM12 20.75a.74.74 0 0 1-.53-.22l-6-6a.75.75 0 0 1-.16-.82a.74.74 0 0 1 .69-.46h12a.74.74 0 0 1 .69.46a.75.75 0 0 1-.16.82l-6 6a.74.74 0 0 1-.53.22m-4.19-6L12 18.94l4.19-4.19Z",
3761
3765
  fill: "currentColor"
3762
3766
  }, null, -1)
3763
3767
  ]))) : D("", !0),
3764
3768
  u.column.getIsSorted() && u.column.getCanSort() ? (S(), y(H, { key: 1 }, [
3765
- u.column.getIsSorted() === "asc" ? (S(), y("svg", Hi, s[1] || (s[1] = [
3769
+ u.column.getIsSorted() === "asc" ? (S(), y("svg", Gi, s[1] || (s[1] = [
3766
3770
  A("path", {
3767
3771
  d: "M12.53 7.97a.75.75 0 0 0-1.06 0l-7 7A.75.75 0 0 0 5 16.25h14a.75.75 0 0 0 .53-1.28z",
3768
3772
  fill: "currentColor"
3769
3773
  }, null, -1)
3770
- ]))) : (S(), y("svg", Oi, s[2] || (s[2] = [
3774
+ ]))) : (S(), y("svg", zi, s[2] || (s[2] = [
3771
3775
  A("path", {
3772
3776
  d: "M5 7.75a.75.75 0 0 0-.53 1.28l7 7a.75.75 0 0 0 1.06 0l7-7A.75.75 0 0 0 19 7.75z",
3773
3777
  fill: "currentColor"
@@ -3776,18 +3780,18 @@ const li = { class: "pagination" }, si = {
3776
3780
  ], 64)) : D("", !0)
3777
3781
  ])) : D("", !0)
3778
3782
  ], 64))
3779
- ], 14, Li))), 128))
3783
+ ], 14, Hi))), 128))
3780
3784
  ]))), 128)),
3781
- e.isFilterRowVisible ? (S(), y("tr", Bi, [
3785
+ e.isFilterRowVisible ? (S(), y("tr", Ni, [
3782
3786
  (S(!0), y(H, null, z(e.table.getVisibleLeafColumns(), (a) => (S(), y("th", {
3783
3787
  key: `table-filter-${a.id}`,
3784
- class: ce([
3788
+ class: ge([
3785
3789
  t(a),
3786
3790
  a.id ? `column-${a.id}` : "",
3787
3791
  a.columnDef.className || "",
3788
3792
  a.getCanFilter() ? `filter ${a.columnDef.meta?.filterVariant}` : ""
3789
3793
  ]),
3790
- "data-align": C(Ke)({
3794
+ "data-align": C(Ue)({
3791
3795
  align: a.columnDef.align,
3792
3796
  dataType: a.columnDef.dataType
3793
3797
  }),
@@ -3798,7 +3802,7 @@ const li = { class: "pagination" }, si = {
3798
3802
  })
3799
3803
  }, [
3800
3804
  a.getCanFilter() ? (S(), y(H, { key: 0 }, [
3801
- a.columnDef.customFilterComponent ? (S(), E(yt(a.columnDef.customFilterComponent(a)), { key: 0 })) : a.columnDef.meta?.filterVariant === "multiselect" || a.columnDef.meta?.filterVariant === "select" ? (S(), E(C(fn), {
3805
+ a.columnDef.customFilterComponent ? (S(), _(ue(a.columnDef.customFilterComponent(a)), { key: 0 })) : a.columnDef.meta?.filterVariant === "multiselect" || a.columnDef.meta?.filterVariant === "select" ? (S(), _(C(fn), {
3802
3806
  key: 1,
3803
3807
  "model-value": n(a),
3804
3808
  options: a.columnDef.meta?.filterOptions || [],
@@ -3807,7 +3811,7 @@ const li = { class: "pagination" }, si = {
3807
3811
  multiple: a.columnDef.meta?.filterVariant === "multiselect",
3808
3812
  "enable-tooltip": "",
3809
3813
  "onUpdate:modelValue": (u) => a.setFilterValue(u)
3810
- }, null, 8, ["model-value", "options", "placeholder", "name", "multiple", "onUpdate:modelValue"])) : a.columnDef.meta?.filterVariant === "dateRange" ? (S(), E(C(pn), {
3814
+ }, null, 8, ["model-value", "options", "placeholder", "name", "multiple", "onUpdate:modelValue"])) : a.columnDef.meta?.filterVariant === "dateRange" ? (S(), _(C(pn), {
3811
3815
  key: 2,
3812
3816
  "model-value": n(a),
3813
3817
  placeholder: a.columnDef.filterPlaceholder,
@@ -3815,20 +3819,20 @@ const li = { class: "pagination" }, si = {
3815
3819
  range: "",
3816
3820
  teleport: "",
3817
3821
  "onUpdate:modelValue": (u) => a.setFilterValue(i(u))
3818
- }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : a.columnDef.meta?.filterVariant === "range" ? (S(), y("div", zi, [
3819
- M(C(et), {
3822
+ }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : a.columnDef.meta?.filterVariant === "range" ? (S(), y("div", qi, [
3823
+ E(C(tt), {
3820
3824
  "model-value": Array.isArray(n(a)) && n(a)[0] !== null ? Number(n(a)[0]) : void 0,
3821
3825
  placeholder: a.columnDef.filterPlaceholder?.split(",")[0],
3822
3826
  name: "`range-${column.columnDef.accessorKey}-start`",
3823
3827
  "onUpdate:modelValue": (u) => r(a, 0, u)
3824
3828
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
3825
- M(C(et), {
3829
+ E(C(tt), {
3826
3830
  "model-value": Array.isArray(n(a)) && n(a)[1] !== null ? Number(n(a)[1]) : void 0,
3827
3831
  placeholder: a.columnDef.filterPlaceholder?.split(",")[1] ?? a.columnDef.filterPlaceholder,
3828
3832
  name: "`range-${column.columnDef.accessorKey}-end`",
3829
3833
  "onUpdate:modelValue": (u) => r(a, 1, u)
3830
3834
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])
3831
- ])) : (S(), E(C(Ft), {
3835
+ ])) : (S(), _(C(Ft), {
3832
3836
  key: 4,
3833
3837
  id: `input-filter-${a.id}`,
3834
3838
  "debounce-time": e.inputDebounceTime,
@@ -3837,14 +3841,14 @@ const li = { class: "pagination" }, si = {
3837
3841
  "onUpdate:modelValue": (u) => a.setFilterValue(u)
3838
3842
  }, null, 8, ["id", "debounce-time", "model-value", "placeholder", "onUpdate:modelValue"]))
3839
3843
  ], 64)) : D("", !0)
3840
- ], 14, Gi))), 128))
3844
+ ], 14, ji))), 128))
3841
3845
  ])) : D("", !0)
3842
3846
  ]));
3843
3847
  }
3844
- }), qi = { class: "toolbar" }, Ki = {
3848
+ }), Wi = { class: "toolbar" }, Qi = {
3845
3849
  name: "TableToolbar"
3846
- }, Ui = /* @__PURE__ */ Q({
3847
- ...Ki,
3850
+ }, Xi = /* @__PURE__ */ Q({
3851
+ ...Qi,
3848
3852
  props: {
3849
3853
  columnActionButtonLabel: {
3850
3854
  default: "Columns",
@@ -3872,7 +3876,7 @@ const li = { class: "pagination" }, si = {
3872
3876
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3873
3877
  render: (a) => {
3874
3878
  let u = a.columnDef.header;
3875
- return typeof a.columnDef.header == "function" && (u = a.columnDef.header()), Y(ke, {
3879
+ return typeof a.columnDef.header == "function" && (u = a.columnDef.header()), Y(Te, {
3876
3880
  label: u,
3877
3881
  modelValue: a.getIsVisible(),
3878
3882
  name: a.columnDef.accessorKey,
@@ -3888,26 +3892,26 @@ const li = { class: "pagination" }, si = {
3888
3892
  ];
3889
3893
  n("on:drag", s);
3890
3894
  };
3891
- return (l, s) => (S(), y("div", qi, [
3892
- e.showResetButton ? (S(), E(C(Z), {
3895
+ return (l, s) => (S(), y("div", Wi, [
3896
+ e.showResetButton ? (S(), _(C(Z), {
3893
3897
  key: 0,
3894
3898
  label: e.resetButtonLabel,
3895
3899
  variant: "outlined",
3896
3900
  severity: "secondary",
3897
3901
  onClick: s[0] || (s[0] = (a) => l.$emit("on:reset"))
3898
3902
  }, null, 8, ["label"])) : D("", !0),
3899
- e.showColumnAction ? (S(), E(C(an), {
3903
+ e.showColumnAction ? (S(), _(C(an), {
3900
3904
  key: 1,
3901
3905
  position: "bottom"
3902
3906
  }, {
3903
3907
  content: G(() => [
3904
- M(C(un), {
3908
+ E(C(un), {
3905
3909
  list: i.value,
3906
3910
  onOnDrag: r
3907
3911
  }, null, 8, ["list"])
3908
3912
  ]),
3909
3913
  default: G(() => [
3910
- M(C(Z), {
3914
+ E(C(Z), {
3911
3915
  label: e.columnActionButtonLabel,
3912
3916
  variant: "outlined",
3913
3917
  severity: "secondary"
@@ -3918,13 +3922,13 @@ const li = { class: "pagination" }, si = {
3918
3922
  J(l.$slots, "default")
3919
3923
  ]));
3920
3924
  }
3921
- }), Wi = ["id"], Qi = {
3925
+ }), Yi = ["id"], Ji = {
3922
3926
  key: 0,
3923
3927
  class: "loading-overlay"
3924
- }, Xi = ["data-align"], Yi = { class: "table-wrapper" }, Ji = { key: 0 }, Zi = {
3928
+ }, Zi = ["data-align"], er = { class: "table-wrapper" }, tr = { key: 0 }, nr = {
3925
3929
  name: "DataTable"
3926
- }, er = /* @__PURE__ */ Q({
3927
- ...Zi,
3930
+ }, or = /* @__PURE__ */ Q({
3931
+ ...nr,
3928
3932
  props: {
3929
3933
  actionsMode: {
3930
3934
  default: "auto",
@@ -4050,19 +4054,19 @@ const li = { class: "pagination" }, si = {
4050
4054
  ],
4051
4055
  setup(e, { emit: o }) {
4052
4056
  const t = e, n = o, i = [], r = K(t.initialFilters), l = K([]), s = K({}), a = K({
4053
- pageIndex: Le,
4057
+ pageIndex: we,
4054
4058
  pageSize: t.paginated ? t.rowPerPage : t.data.length
4055
- }), u = K({}), g = K(t.initialSorting), f = B(() => t.columnsData.some((v) => v.enableColumnFilter)), c = B(() => ({
4059
+ }), u = K({}), c = K(t.initialSorting), f = B(() => t.columnsData.some((v) => v.enableColumnFilter)), g = B(() => ({
4056
4060
  columnFilters: r.value,
4057
4061
  columnOrder: l.value,
4058
4062
  columnVisibility: s.value,
4059
4063
  pagination: a.value,
4060
- sorting: g.value
4064
+ sorting: c.value
4061
4065
  })), d = B(
4062
4066
  () => dn(t.persistStateStorage)
4063
- ), p = B(
4064
- () => t.isServerTable ? t.totalRecords : h.value.getFilteredRowModel().rows?.length
4065
4067
  ), m = B(
4068
+ () => t.isServerTable ? t.totalRecords : h.value.getFilteredRowModel().rows?.length
4069
+ ), p = B(
4066
4070
  () => h.value.getSelectedRowModel().rows.map((v) => v.original)
4067
4071
  ), h = B(
4068
4072
  () => Wt({
@@ -4074,11 +4078,11 @@ const li = { class: "pagination" }, si = {
4074
4078
  pagination: a.value,
4075
4079
  rowSelection: u.value,
4076
4080
  get sorting() {
4077
- return g.value;
4081
+ return c.value;
4078
4082
  }
4079
4083
  },
4080
4084
  onColumnFiltersChange: (v) => {
4081
- r.value = typeof v == "function" ? v(r.value) : v, Array.isArray(r.value) || (r.value = []), a.value.pageIndex = Le, t.isServerTable && (r.value = t.columnsData.filter(
4085
+ r.value = typeof v == "function" ? v(r.value) : v, Array.isArray(r.value) || (r.value = []), a.value.pageIndex = we, t.isServerTable && (r.value = t.columnsData.filter(
4082
4086
  (w) => w.enableColumnFilter && (t.visibleColumns.includes(
4083
4087
  String(w.accessorKey ?? w.id)
4084
4088
  ) || !t.visibleColumns.length)
@@ -4086,9 +4090,9 @@ const li = { class: "pagination" }, si = {
4086
4090
  if (w.meta?.filterVariant === "range") {
4087
4091
  const I = r.value.find(
4088
4092
  (U) => U?.id === w.accessorKey
4089
- )?.value, [V, L] = I || [], k = w.meta?.serverFilterFn || (typeof V == "number" && typeof L == "number" && V <= L ? x.BETWEEN : typeof V == "number" && !L ? x.GREATER_THAN_OR_EQUAL : typeof L == "number" ? x.LESS_THAN_OR_EQUAL : null);
4090
- return k && I?.length ? {
4091
- filterFn: k,
4093
+ )?.value, [V, k] = I || [], L = w.meta?.serverFilterFn || (typeof V == "number" && typeof k == "number" && V <= k ? x.BETWEEN : typeof V == "number" && !k ? x.GREATER_THAN_OR_EQUAL : typeof k == "number" ? x.LESS_THAN_OR_EQUAL : null);
4094
+ return L && I?.length ? {
4095
+ filterFn: L,
4092
4096
  id: w.accessorKey,
4093
4097
  value: I
4094
4098
  } : void 0;
@@ -4109,10 +4113,10 @@ const li = { class: "pagination" }, si = {
4109
4113
  a.value = typeof v == "function" ? v(a.value) : v, t.isServerTable && R();
4110
4114
  },
4111
4115
  onRowSelectionChange: (v) => {
4112
- u.value = typeof v == "function" ? v(u.value) : v, n("change:rowSelection", m.value);
4116
+ u.value = typeof v == "function" ? v(u.value) : v, n("change:rowSelection", p.value);
4113
4117
  },
4114
4118
  onSortingChange: (v) => {
4115
- g.value = typeof v == "function" ? v(g.value) : v, t.isServerTable && R();
4119
+ c.value = typeof v == "function" ? v(c.value) : v, a.value.pageIndex = we, t.isServerTable && R();
4116
4120
  },
4117
4121
  columnResizeMode: "onChange",
4118
4122
  data: t.data,
@@ -4127,33 +4131,33 @@ const li = { class: "pagination" }, si = {
4127
4131
  ...t.tableOptions
4128
4132
  })
4129
4133
  );
4130
- Ct(
4131
- [r, l, s, a, g],
4134
+ yt(
4135
+ [r, l, s, a, c],
4132
4136
  () => {
4133
- t.persistState && t.id && wt(t.id, c.value, d.value);
4137
+ t.persistState && t.id && Ct(t.id, g.value, d.value);
4134
4138
  }
4135
4139
  );
4136
4140
  const R = () => {
4137
4141
  const v = Fi(
4138
- g.value,
4142
+ c.value,
4139
4143
  r.value,
4140
4144
  a.value
4141
4145
  );
4142
4146
  n("update:request", v);
4143
4147
  }, $ = () => {
4144
4148
  r.value = t.initialFilters, l.value = [], s.value = {}, a.value = {
4145
- pageIndex: Le,
4149
+ pageIndex: we,
4146
4150
  pageSize: t.paginated ? t.rowPerPage : t.data.length
4147
- }, g.value = t.initialSorting;
4151
+ }, c.value = t.initialSorting;
4148
4152
  }, P = () => {
4149
4153
  if (t.enableRowSelection && i.push({
4150
4154
  accessorKey: "select",
4151
- header: ({ table: v }) => Y(ke, {
4155
+ header: ({ table: v }) => Y(Te, {
4152
4156
  "aria-label": "Select all",
4153
4157
  modelValue: v.getIsAllPageRowsSelected(),
4154
4158
  "onUpdate:modelValue": () => v.toggleAllPageRowsSelected(!v.getIsAllPageRowsSelected())
4155
4159
  }),
4156
- cell: ({ row: v }) => Y(ke, {
4160
+ cell: ({ row: v }) => Y(Te, {
4157
4161
  "aria-label": "Select row",
4158
4162
  modelValue: v.getIsSelected(),
4159
4163
  "onUpdate:modelValue": () => v.toggleSelected(!v.getIsSelected())
@@ -4162,17 +4166,17 @@ const li = { class: "pagination" }, si = {
4162
4166
  enableColumnFilter: !1,
4163
4167
  enableSorting: !1
4164
4168
  }), t.columnsData.forEach((v) => {
4165
- t.visibleColumns.length && !t.visibleColumns.includes(String(v.accessorKey ?? v.id)) || (v.meta?.filterVariant === "multiselect" && !v.filterFn ? v.filterFn = (w, I, V) => !V || V.length === 0 ? w : V.some((L) => w.getValue(I) == L) : v.meta?.filterVariant === "select" && !v.filterFn ? v.filterFn = (w, I, V) => V === void 0 || V.length === 0 ? !0 : String(V) === String(w.getValue(I)) : v.meta?.filterVariant === "dateRange" && !v.filterFn ? v.filterFn = (w, I, V) => {
4169
+ t.visibleColumns.length && !t.visibleColumns.includes(String(v.accessorKey ?? v.id)) || (v.meta?.filterVariant === "multiselect" && !v.filterFn ? v.filterFn = (w, I, V) => !V || V.length === 0 ? w : V.some((k) => w.getValue(I) == k) : v.meta?.filterVariant === "select" && !v.filterFn ? v.filterFn = (w, I, V) => V === void 0 || V.length === 0 ? !0 : String(V) === String(w.getValue(I)) : v.meta?.filterVariant === "dateRange" && !v.filterFn ? v.filterFn = (w, I, V) => {
4166
4170
  if (V?.length) {
4167
- const L = new Date(V[1]).setHours(23, 59, 59, 999), k = new Date(w.getValue(I)), U = new Date(V[0]).setHours(0, 0, 0, 0);
4168
- return k.getTime() >= U && k.getTime() <= L;
4171
+ const k = new Date(V[1]).setHours(23, 59, 59, 999), L = new Date(w.getValue(I)), U = new Date(V[0]).setHours(0, 0, 0, 0);
4172
+ return L.getTime() >= U && L.getTime() <= k;
4169
4173
  }
4170
4174
  return !0;
4171
4175
  } : v.meta?.filterVariant === "range" && (v.filterFn = (w, I, V) => {
4172
4176
  if (!Array.isArray(V))
4173
4177
  return !0;
4174
- const [L, k] = V, U = w.getValue(I);
4175
- return L && k ? U >= L && U <= k : L ? U >= L : k ? U <= k : !0;
4178
+ const [k, L] = V, U = w.getValue(I);
4179
+ return k && L ? U >= k && U <= L : k ? U >= k : L ? U <= L : !0;
4176
4180
  }), i.push({
4177
4181
  ...v,
4178
4182
  enableColumnFilter: v.enableColumnFilter ?? !1,
@@ -4187,7 +4191,7 @@ const li = { class: "pagination" }, si = {
4187
4191
  icon: "prime:cog",
4188
4192
  width: "24"
4189
4193
  }),
4190
- cell: ({ row: v }) => Y(Ei, {
4194
+ cell: ({ row: v }) => Y(Ti, {
4191
4195
  actions: t.dataActionMenu,
4192
4196
  autoModeCount: t.autoModeCount,
4193
4197
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -4201,25 +4205,25 @@ const li = { class: "pagination" }, si = {
4201
4205
  })
4202
4206
  }), t.persistState && !t.id)
4203
4207
  throw new Error('Id is required when prop "persistState" is true');
4204
- _(), t.isServerTable && R();
4205
- }, _ = () => {
4208
+ M(), t.isServerTable && R();
4209
+ }, M = () => {
4206
4210
  if (!t.persistState || !t.id)
4207
4211
  return;
4208
4212
  const v = bi(t.id, d.value);
4209
- v && (r.value = v.columnFilters, l.value = v.columnOrder, s.value = v.columnVisibility, g.value = v.sorting, t.rowPerPageOptions.includes(v.pagination.pageSize) && (a.value = v.pagination)), wt(t.id, c.value, d.value);
4213
+ v && (r.value = v.columnFilters, l.value = v.columnOrder, s.value = v.columnVisibility, c.value = v.sorting, t.rowPerPageOptions.includes(v.pagination.pageSize) && (a.value = v.pagination)), Ct(t.id, g.value, d.value);
4210
4214
  };
4211
4215
  return P(), (v, w) => (S(), y("div", {
4212
4216
  id: e.id,
4213
4217
  class: "table-container"
4214
4218
  }, [
4215
- e.isLoading ? (S(), y("div", Qi, [
4216
- M(C(cn), { class: "loading-icon" })
4219
+ e.isLoading ? (S(), y("div", Ji, [
4220
+ E(C(cn), { class: "loading-icon" })
4217
4221
  ])) : D("", !0),
4218
4222
  e.titleInfo ? (S(), y("span", {
4219
4223
  key: 1,
4220
4224
  "data-align": e.titleInfo.align || "center"
4221
- }, N(e.titleInfo.text), 9, Xi)) : D("", !0),
4222
- e.showColumnAction || e.showResetButton || v.$slots.toolbar ? (S(), E(Ui, {
4225
+ }, N(e.titleInfo.text), 9, Zi)) : D("", !0),
4226
+ e.showColumnAction || e.showResetButton || v.$slots.toolbar ? (S(), _(Xi, {
4223
4227
  key: 2,
4224
4228
  "column-action-button-label": e.columnActionButtonLabel,
4225
4229
  "has-actions-column": !!e.dataActionMenu.length,
@@ -4236,43 +4240,43 @@ const li = { class: "pagination" }, si = {
4236
4240
  ]),
4237
4241
  _: 3
4238
4242
  }, 8, ["column-action-button-label", "has-actions-column", "has-selection-column", "reset-button-label", "show-column-action", "show-reset-button", "table"])) : D("", !0),
4239
- A("div", Yi, [
4243
+ A("div", er, [
4240
4244
  A("table", {
4241
4245
  style: oe(`width: ${h.value.getCenterTotalSize()}`)
4242
4246
  }, [
4243
- M(ji, {
4247
+ E(Ui, {
4244
4248
  "highlight-active-column": e.highlightActiveHeaderColumn,
4245
4249
  "input-debounce-time": e.inputDebounceTime,
4246
4250
  "is-filter-row-visible": f.value,
4247
4251
  table: h.value
4248
4252
  }, null, 8, ["highlight-active-column", "input-debounce-time", "is-filter-row-visible", "table"]),
4249
- M(Vi, {
4253
+ E(Vi, {
4250
4254
  "custom-formatters": e.customFormatters,
4251
4255
  "empty-table-message": e.emptyTableMessage,
4252
4256
  locale: e.locale,
4253
4257
  table: h.value
4254
4258
  }, null, 8, ["custom-formatters", "empty-table-message", "locale", "table"]),
4255
- v.$slots.footer ? (S(), y("tfoot", Ji, [
4259
+ v.$slots.footer ? (S(), y("tfoot", tr, [
4256
4260
  J(v.$slots, "footer")
4257
4261
  ])) : D("", !0)
4258
4262
  ], 4)
4259
4263
  ]),
4260
- (e.isServerTable || e.paginated) && p.value > 0 ? J(v.$slots, "pagination", { key: 3 }, () => [
4261
- M(vi, te(e.paginationOptions, {
4264
+ (e.isServerTable || e.paginated) && m.value > 0 ? J(v.$slots, "pagination", { key: 3 }, () => [
4265
+ E(vi, te(e.paginationOptions, {
4262
4266
  "current-page": a.value.pageIndex,
4263
4267
  "default-items-per-page": a.value.pageSize,
4264
4268
  "items-per-page-options": e.rowPerPageOptions,
4265
- "total-items": p.value,
4269
+ "total-items": m.value,
4266
4270
  "onUpdate:currentPage": h.value.setPageIndex,
4267
4271
  "onUpdate:itemsPerPage": h.value.setPageSize
4268
4272
  }), null, 16, ["current-page", "default-items-per-page", "items-per-page-options", "total-items", "onUpdate:currentPage", "onUpdate:itemsPerPage"])
4269
4273
  ]) : D("", !0)
4270
- ], 8, Wi));
4274
+ ], 8, Yi));
4271
4275
  }
4272
- }), tr = {
4276
+ }), ir = {
4273
4277
  name: "FilesTable"
4274
- }, nr = /* @__PURE__ */ Q({
4275
- ...tr,
4278
+ }, rr = /* @__PURE__ */ Q({
4279
+ ...ir,
4276
4280
  props: {
4277
4281
  archiveFile: Boolean,
4278
4282
  columnsData: {
@@ -4370,9 +4374,9 @@ const li = { class: "pagination" }, si = {
4370
4374
  cell: ({ row: { original: u } }) => u.uploadedBy ? u.uploadedBy.givenName || u.uploadedBy.lastName ? `${u.uploadedBy.givenName || ""} ${u.uploadedBy.lastName || ""}` : u.uploadedBy.email : Y("code", {}, "—"),
4371
4375
  enableColumnFilter: !t.isServerTable,
4372
4376
  enableSorting: !t.isServerTable,
4373
- filterFn: (u, g, f) => {
4374
- const c = u.getValue(g);
4375
- return !f || f.length === 0 ? !0 : `${c.givenName || ""} ${c.lastName || ""}`.trim().toLowerCase().includes(f.toLowerCase()) || (c.email?.toLowerCase().includes(f.toLowerCase()) ?? !1);
4377
+ filterFn: (u, c, f) => {
4378
+ const g = u.getValue(c);
4379
+ return !f || f.length === 0 ? !0 : `${g.givenName || ""} ${g.lastName || ""}`.trim().toLowerCase().includes(f.toLowerCase()) || (g.email?.toLowerCase().includes(f.toLowerCase()) ?? !1);
4376
4380
  },
4377
4381
  filterPlaceholder: "Name",
4378
4382
  header: "Uploaded by"
@@ -4452,14 +4456,14 @@ const li = { class: "pagination" }, si = {
4452
4456
  }), u;
4453
4457
  }), l = B(() => [
4454
4458
  ...i.map((u) => {
4455
- const g = t.columnsData.find(
4459
+ const c = t.columnsData.find(
4456
4460
  (f) => f.accessorKey === u.accessorKey
4457
4461
  );
4458
- return g ? { ...u, ...g } : u;
4462
+ return c ? { ...u, ...c } : u;
4459
4463
  }),
4460
4464
  ...t.columnsData.filter(
4461
4465
  (u) => !i.some(
4462
- (g) => g.accessorKey === u.accessorKey
4466
+ (c) => c.accessorKey === u.accessorKey
4463
4467
  )
4464
4468
  )
4465
4469
  ]), s = (u) => {
@@ -4486,7 +4490,7 @@ const li = { class: "pagination" }, si = {
4486
4490
  }, a = (u) => {
4487
4491
  n("update:request", u);
4488
4492
  };
4489
- return (u, g) => (S(), E(er, te(e.tableOptions, {
4493
+ return (u, c) => (S(), _(or, te(e.tableOptions, {
4490
4494
  id: e.id,
4491
4495
  "columns-data": l.value,
4492
4496
  data: e.files,
@@ -4527,10 +4531,10 @@ const li = { class: "pagination" }, si = {
4527
4531
  } : void 0
4528
4532
  ]), 1040, ["id", "columns-data", "data", "data-action-menu", "empty-table-message", "initial-sorting", "is-loading", "is-server-table", "locale", "persist-state", "persist-state-storage", "total-records", "visible-columns"]));
4529
4533
  }
4530
- }), or = {
4534
+ }), lr = {
4531
4535
  name: "FilesPresentation"
4532
- }, Pr = /* @__PURE__ */ Q({
4533
- ...or,
4536
+ }, xr = /* @__PURE__ */ Q({
4537
+ ...lr,
4534
4538
  props: {
4535
4539
  actionButtonsVisibility: {
4536
4540
  default: () => ({
@@ -4616,7 +4620,7 @@ const li = { class: "pagination" }, si = {
4616
4620
  break;
4617
4621
  }
4618
4622
  };
4619
- return (l, s) => e.presentation === "list" ? (S(), E(C(gn), te({ key: 0 }, e.listProps, {
4623
+ return (l, s) => e.presentation === "list" ? (S(), _(C(gn), te({ key: 0 }, e.listProps, {
4620
4624
  "action-buttons-visibility": e.actionButtonsVisibility,
4621
4625
  files: e.files,
4622
4626
  "file-detail-visibility": i.value,
@@ -4628,7 +4632,7 @@ const li = { class: "pagination" }, si = {
4628
4632
  "onAction:edit": s[3] || (s[3] = (a) => r("edit", a)),
4629
4633
  "onAction:share": s[4] || (s[4] = (a) => r("share", a)),
4630
4634
  "onAction:view": s[5] || (s[5] = (a) => r("view", a))
4631
- }), null, 16, ["action-buttons-visibility", "files", "file-detail-visibility", "locale", "messages"])) : (S(), E(nr, te({ key: 1 }, e.tableProps, {
4635
+ }), null, 16, ["action-buttons-visibility", "files", "file-detail-visibility", "locale", "messages"])) : (S(), _(rr, te({ key: 1 }, e.tableProps, {
4632
4636
  "archive-file": e.actionButtonsVisibility.archive,
4633
4637
  "delete-file": e.actionButtonsVisibility.delete,
4634
4638
  "download-file": e.actionButtonsVisibility.download,
@@ -4647,13 +4651,13 @@ const li = { class: "pagination" }, si = {
4647
4651
  "onAction:view": s[11] || (s[11] = (a) => r("view", a))
4648
4652
  }), null, 16, ["archive-file", "delete-file", "download-file", "edit-description", "files", "locale", "messages", "share-file", "view-file", "visible-columns"]));
4649
4653
  }
4650
- }), ir = { class: "table-wrapper" }, rr = {
4654
+ }), sr = { class: "table-wrapper" }, ar = {
4651
4655
  key: 0,
4652
4656
  class: "toggle-wrap"
4653
- }, lr = ["colSpan", "onClick"], sr = { key: 0 }, ar = ["data-label"], ur = { class: "page-navigation-container" }, dr = { class: "page-indicators-selection-container" }, cr = { class: "page-number-indicators" }, gr = { class: "go-to-page-container" }, fr = ["value", "max"], pr = ["value"], mr = ["value"], hr = { class: "page-navigation-buttons-container" }, vr = ["disabled"], Sr = ["disabled"], wr = ["disabled"], Cr = ["disabled"], yr = {
4657
+ }, ur = ["colSpan", "onClick"], dr = { key: 0 }, cr = ["data-label"], gr = { class: "page-navigation-container" }, fr = { class: "page-indicators-selection-container" }, pr = { class: "page-number-indicators" }, mr = { class: "go-to-page-container" }, hr = ["value", "max"], vr = ["value"], Sr = ["value"], wr = { class: "page-navigation-buttons-container" }, Cr = ["disabled"], yr = ["disabled"], Rr = ["disabled"], Fr = ["disabled"], br = {
4654
4658
  name: "TanstackTable"
4655
- }, $r = /* @__PURE__ */ Q({
4656
- ...yr,
4659
+ }, Ar = /* @__PURE__ */ Q({
4660
+ ...br,
4657
4661
  props: {
4658
4662
  columnsData: {
4659
4663
  type: Array,
@@ -4670,13 +4674,13 @@ const li = { class: "pagination" }, si = {
4670
4674
  },
4671
4675
  setup(e) {
4672
4676
  const o = e, t = mo(), n = [];
4673
- o.columnsData.forEach((g) => {
4677
+ o.columnsData.forEach((c) => {
4674
4678
  const f = t.accessor(
4675
- g.accessorKey,
4679
+ c.accessorKey,
4676
4680
  {
4677
- header: () => g.header,
4678
- footer: (c) => c.column.id,
4679
- enableSorting: g.sort !== void 0 ? g.sort : !1
4681
+ header: () => c.header,
4682
+ footer: (g) => g.column.id,
4683
+ enableSorting: c.sort !== void 0 ? c.sort : !1
4680
4684
  }
4681
4685
  );
4682
4686
  n.push(f);
@@ -4688,8 +4692,8 @@ const li = { class: "pagination" }, si = {
4688
4692
  return i.value;
4689
4693
  }
4690
4694
  },
4691
- onSortingChange: (g) => {
4692
- i.value = typeof g == "function" ? g(i.value) : g;
4695
+ onSortingChange: (c) => {
4696
+ i.value = typeof c == "function" ? c(i.value) : c;
4693
4697
  },
4694
4698
  columnResizeMode: "onChange",
4695
4699
  data: o.rows,
@@ -4699,154 +4703,154 @@ const li = { class: "pagination" }, si = {
4699
4703
  getSortedRowModel: Ut()
4700
4704
  }), l = K(!1), s = () => {
4701
4705
  l.value = !l.value;
4702
- }, a = (g) => {
4703
- const f = g.target, c = f.value ? Number(f.value) - 1 : 0;
4704
- r.setPageIndex(c);
4705
- }, u = (g) => {
4706
- const f = g.target, c = f.value ? Number(f.value) : 10;
4707
- r.setPageSize(c);
4706
+ }, a = (c) => {
4707
+ const f = c.target, g = f.value ? Number(f.value) - 1 : 0;
4708
+ r.setPageIndex(g);
4709
+ }, u = (c) => {
4710
+ const f = c.target, g = f.value ? Number(f.value) : 10;
4711
+ r.setPageSize(g);
4708
4712
  };
4709
- return (g, f) => (S(), y("div", ir, [
4713
+ return (c, f) => (S(), y("div", sr, [
4710
4714
  A("table", {
4711
4715
  style: oe(`width: ${C(r).getCenterTotalSize()}`)
4712
4716
  }, [
4713
- o.enableToggle ? (S(), y("div", rr, [
4717
+ o.enableToggle ? (S(), y("div", ar, [
4714
4718
  A("button", {
4715
4719
  class: "table-toggle",
4716
4720
  onClick: s
4717
4721
  }, [
4718
- M(C(j), {
4722
+ E(C(j), {
4719
4723
  icon: "mingcute:menu-fill",
4720
4724
  class: "toggle-icon"
4721
4725
  })
4722
4726
  ])
4723
4727
  ])) : D("", !0),
4724
4728
  A("colgroup", null, [
4725
- (S(!0), y(H, null, z(o.columnsData, (c) => (S(), y("col", {
4726
- key: c.accessorKey,
4727
- style: oe(`width: ${c.size}px`)
4729
+ (S(!0), y(H, null, z(o.columnsData, (g) => (S(), y("col", {
4730
+ key: g.accessorKey,
4731
+ style: oe(`width: ${g.size}px`)
4728
4732
  }, null, 4))), 128))
4729
4733
  ]),
4730
4734
  A("thead", {
4731
- class: ce({ expand: l.value })
4735
+ class: ge({ expand: l.value })
4732
4736
  }, [
4733
- (S(!0), y(H, null, z(C(r).getHeaderGroups(), (c) => (S(), y("tr", {
4734
- key: c.id
4737
+ (S(!0), y(H, null, z(C(r).getHeaderGroups(), (g) => (S(), y("tr", {
4738
+ key: g.id
4735
4739
  }, [
4736
- (S(!0), y(H, null, z(c.headers, (d) => (S(), y("th", {
4740
+ (S(!0), y(H, null, z(g.headers, (d) => (S(), y("th", {
4737
4741
  key: d.id,
4738
4742
  colSpan: d.colSpan,
4739
- onClick: (p) => d.column.getCanSort() ? d.column.getToggleSortingHandler()?.(p) : null
4743
+ onClick: (m) => d.column.getCanSort() ? d.column.getToggleSortingHandler()?.(m) : null
4740
4744
  }, [
4741
- d.isPlaceholder ? D("", !0) : (S(), y("div", sr, [
4742
- M(C(fe), {
4745
+ d.isPlaceholder ? D("", !0) : (S(), y("div", dr, [
4746
+ E(C(pe), {
4743
4747
  props: d.getContext(),
4744
4748
  render: d.column.columnDef.header
4745
4749
  }, null, 8, ["props", "render"]),
4746
- !d.column.getIsSorted() && d.column.getCanSort() ? (S(), E(C(j), {
4750
+ !d.column.getIsSorted() && d.column.getCanSort() ? (S(), _(C(j), {
4747
4751
  key: 0,
4748
4752
  icon: "ri:arrow-up-down-line",
4749
4753
  class: "sort-icon"
4750
4754
  })) : D("", !0),
4751
- d.column.getIsSorted() && d.column.getCanSort() ? (S(), E(C(j), {
4755
+ d.column.getIsSorted() && d.column.getCanSort() ? (S(), _(C(j), {
4752
4756
  key: 1,
4753
4757
  icon: d.column.getIsSorted() === "asc" ? "mdi:arrow-up" : "mdi:arrow-down",
4754
4758
  class: "sort-icon"
4755
4759
  }, null, 8, ["icon"])) : D("", !0)
4756
4760
  ]))
4757
- ], 8, lr))), 128))
4761
+ ], 8, ur))), 128))
4758
4762
  ]))), 128))
4759
4763
  ], 2),
4760
4764
  A("tbody", null, [
4761
- (S(!0), y(H, null, z(C(r).getRowModel().rows, (c) => (S(), y("tr", {
4762
- key: c.id
4765
+ (S(!0), y(H, null, z(C(r).getRowModel().rows, (g) => (S(), y("tr", {
4766
+ key: g.id
4763
4767
  }, [
4764
- (S(!0), y(H, null, z(c.getVisibleCells(), (d) => (S(), y("td", {
4768
+ (S(!0), y(H, null, z(g.getVisibleCells(), (d) => (S(), y("td", {
4765
4769
  key: d.id,
4766
4770
  "data-label": d.column.id
4767
4771
  }, [
4768
- M(C(fe), {
4772
+ E(C(pe), {
4769
4773
  props: d.getContext(),
4770
4774
  render: d.column.columnDef.cell
4771
4775
  }, null, 8, ["props", "render"])
4772
- ], 8, ar))), 128))
4776
+ ], 8, cr))), 128))
4773
4777
  ]))), 128))
4774
4778
  ])
4775
4779
  ], 4),
4776
- A("div", ur, [
4777
- A("div", dr, [
4778
- A("span", cr, N(C(r).getState().pagination.pageIndex + 1) + " of " + N(C(r).getPageCount()), 1),
4779
- A("span", gr, [
4780
+ A("div", gr, [
4781
+ A("div", fr, [
4782
+ A("span", pr, N(C(r).getState().pagination.pageIndex + 1) + " of " + N(C(r).getPageCount()), 1),
4783
+ A("span", mr, [
4780
4784
  f[6] || (f[6] = A("span", { class: "go-to-page-text" }, " Go to page: ", -1)),
4781
4785
  A("input", {
4782
4786
  class: "page-input",
4783
4787
  type: "number",
4784
4788
  value: C(r).getState().pagination.pageIndex + 1,
4785
4789
  max: C(r).getPageCount(),
4786
- onInput: f[0] || (f[0] = (c) => a(c))
4787
- }, null, 40, fr)
4790
+ onInput: f[0] || (f[0] = (g) => a(g))
4791
+ }, null, 40, hr)
4788
4792
  ]),
4789
4793
  A("select", {
4790
4794
  value: C(r).getState().pagination.pageSize,
4791
- onChange: f[1] || (f[1] = (c) => u(c))
4795
+ onChange: f[1] || (f[1] = (g) => u(g))
4792
4796
  }, [
4793
- (S(), y(H, null, z([10, 20, 30, 40, 50], (c) => A("option", {
4794
- key: c,
4795
- value: c
4796
- }, " Show " + N(c), 9, mr)), 64))
4797
- ], 40, pr)
4797
+ (S(), y(H, null, z([10, 20, 30, 40, 50], (g) => A("option", {
4798
+ key: g,
4799
+ value: g
4800
+ }, " Show " + N(g), 9, Sr)), 64))
4801
+ ], 40, vr)
4798
4802
  ]),
4799
- A("div", hr, [
4803
+ A("div", wr, [
4800
4804
  A("button", {
4801
4805
  class: "page-navigation-button",
4802
4806
  disabled: !C(r).getCanPreviousPage(),
4803
- onClick: f[2] || (f[2] = (c) => C(r).setPageIndex(0))
4807
+ onClick: f[2] || (f[2] = (g) => C(r).setPageIndex(0))
4804
4808
  }, [
4805
- M(C(j), {
4809
+ E(C(j), {
4806
4810
  icon: "material-symbols:keyboard-double-arrow-left-rounded",
4807
4811
  class: "navigation-button-icon"
4808
4812
  })
4809
- ], 8, vr),
4813
+ ], 8, Cr),
4810
4814
  A("button", {
4811
4815
  class: "page-navigation-button",
4812
4816
  disabled: !C(r).getCanPreviousPage(),
4813
- onClick: f[3] || (f[3] = (c) => C(r).previousPage())
4817
+ onClick: f[3] || (f[3] = (g) => C(r).previousPage())
4814
4818
  }, [
4815
- M(C(j), {
4819
+ E(C(j), {
4816
4820
  icon: "material-symbols:arrow-back-ios-new-rounded",
4817
4821
  class: "navigation-button-icon"
4818
4822
  })
4819
- ], 8, Sr),
4823
+ ], 8, yr),
4820
4824
  A("button", {
4821
4825
  class: "page-navigation-button",
4822
4826
  disabled: !C(r).getCanNextPage(),
4823
- onClick: f[4] || (f[4] = (c) => C(r).nextPage())
4827
+ onClick: f[4] || (f[4] = (g) => C(r).nextPage())
4824
4828
  }, [
4825
- M(C(j), {
4829
+ E(C(j), {
4826
4830
  icon: "material-symbols:arrow-forward-ios-rounded",
4827
4831
  class: "navigation-button-icon"
4828
4832
  })
4829
- ], 8, wr),
4833
+ ], 8, Rr),
4830
4834
  A("button", {
4831
4835
  class: "page-navigation-button",
4832
4836
  disabled: !C(r).getCanNextPage(),
4833
- onClick: f[5] || (f[5] = (c) => C(r).setPageIndex(C(r).getPageCount() - 1))
4837
+ onClick: f[5] || (f[5] = (g) => C(r).setPageIndex(C(r).getPageCount() - 1))
4834
4838
  }, [
4835
- M(C(j), {
4839
+ E(C(j), {
4836
4840
  icon: "material-symbols:keyboard-double-arrow-right-rounded",
4837
4841
  class: "navigation-button-icon"
4838
4842
  })
4839
- ], 8, Cr)
4843
+ ], 8, Fr)
4840
4844
  ])
4841
4845
  ])
4842
4846
  ]));
4843
4847
  }
4844
4848
  });
4845
4849
  export {
4846
- Pr as FilesPresentation,
4847
- nr as FilesTable,
4848
- er as Table,
4850
+ xr as FilesPresentation,
4851
+ rr as FilesTable,
4852
+ or as Table,
4849
4853
  Vi as TableBody,
4850
- ji as TableHeader,
4851
- $r as TanstackTable
4854
+ Ui as TableHeader,
4855
+ Ar as TanstackTable
4852
4856
  };