@dolusoft/vue3-datatable 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ie, onBeforeUnmount as kn, onMounted as Xe, openBlock as p, createElementBlock as m, createElementVNode as v, withModifiers as le, normalizeClass as C, toDisplayString as A, Fragment as D, createCommentVNode as $, h as wt, toRef as Cn, ref as j, watch as W, createBlock as te, unref as U, createVNode as G, renderList as Y, normalizeStyle as ve, createTextVNode as He, withDirectives as J, vModelText as Ae, vModelSelect as Bt, vShow as Ne, useCssVars as xn, computed as Q, shallowRef as Z, onUnmounted as Be, setBlockTracking as kt, mergeProps as Sn, renderSlot as de, reactive as _n, watchEffect as Ln, useSlots as Fn, withCtx as In, vModelCheckbox as Tn } from "vue";
1
+ import { defineComponent as ie, onBeforeUnmount as kn, onMounted as Xe, openBlock as p, createElementBlock as m, createElementVNode as v, withModifiers as le, normalizeClass as x, toDisplayString as A, Fragment as H, createCommentVNode as $, h as wt, toRef as xn, ref as j, watch as W, createBlock as te, unref as U, createVNode as G, renderList as Y, normalizeStyle as ue, createTextVNode as De, withDirectives as J, vModelText as Ae, vModelSelect as Nt, vShow as Be, useCssVars as Cn, computed as Q, shallowRef as Z, onUnmounted as Ne, setBlockTracking as kt, mergeProps as Sn, renderSlot as he, reactive as _n, watchEffect as Ln, useSlots as Fn, withCtx as In, vModelCheckbox as Tn } from "vue";
2
2
  const En = { class: "bh-filter-menu bh-absolute bh-z-[1] bh-bg-white bh-shadow-md bh-rounded-md bh-top-full bh-right-0 bh-w-32 bh-mt-1" }, Mn = {
3
3
  name: "columnFilter"
4
4
  }, $n = /* @__PURE__ */ ie({
@@ -24,101 +24,101 @@ const En = { class: "bh-filter-menu bh-absolute bh-z-[1] bh-bg-white bh-shadow-m
24
24
  }, [
25
25
  v("button", {
26
26
  type: "button",
27
- class: C({ active: t.column.condition === "" }),
27
+ class: x({ active: t.column.condition === "" }),
28
28
  onClick: i[0] || (i[0] = (u) => r(""))
29
29
  }, A((t.columnFilterLang && t.columnFilterLang.no_filter) ?? "No filter"), 3),
30
- t.column.type === "string" ? (p(), m(D, { key: 0 }, [
30
+ t.column.type === "string" ? (p(), m(H, { key: 0 }, [
31
31
  v("button", {
32
32
  type: "button",
33
- class: C({ active: t.column.condition === "contain" }),
33
+ class: x({ active: t.column.condition === "contain" }),
34
34
  onClick: i[1] || (i[1] = (u) => r("contain"))
35
35
  }, A((t.columnFilterLang && t.columnFilterLang.contain) ?? "Contain"), 3),
36
36
  v("button", {
37
37
  type: "button",
38
- class: C({ active: t.column.condition === "not_contain" }),
38
+ class: x({ active: t.column.condition === "not_contain" }),
39
39
  onClick: i[2] || (i[2] = (u) => r("not_contain"))
40
40
  }, A((t.columnFilterLang && t.columnFilterLang.not_contain) ?? "Not contain"), 3),
41
41
  v("button", {
42
42
  type: "button",
43
- class: C({ active: t.column.condition === "equal" }),
43
+ class: x({ active: t.column.condition === "equal" }),
44
44
  onClick: i[3] || (i[3] = (u) => r("equal"))
45
45
  }, A((t.columnFilterLang && t.columnFilterLang.equal) ?? "Equal"), 3),
46
46
  v("button", {
47
47
  type: "button",
48
- class: C({ active: t.column.condition === "not_equal" }),
48
+ class: x({ active: t.column.condition === "not_equal" }),
49
49
  onClick: i[4] || (i[4] = (u) => r("not_equal"))
50
50
  }, A((t.columnFilterLang && t.columnFilterLang.not_equal) ?? "Not equal"), 3),
51
51
  v("button", {
52
52
  type: "button",
53
- class: C({ active: t.column.condition === "start_with" }),
53
+ class: x({ active: t.column.condition === "start_with" }),
54
54
  onClick: i[5] || (i[5] = (u) => r("start_with"))
55
55
  }, A((t.columnFilterLang && t.columnFilterLang.start_with) ?? "Starts with"), 3),
56
56
  v("button", {
57
57
  type: "button",
58
- class: C({ active: t.column.condition === "end_with" }),
58
+ class: x({ active: t.column.condition === "end_with" }),
59
59
  onClick: i[6] || (i[6] = (u) => r("end_with"))
60
60
  }, A((t.columnFilterLang && t.columnFilterLang.end_with) ?? "Ends with"), 3)
61
- ], 64)) : t.column.type === "number" ? (p(), m(D, { key: 1 }, [
61
+ ], 64)) : t.column.type === "number" ? (p(), m(H, { key: 1 }, [
62
62
  v("button", {
63
63
  type: "button",
64
- class: C({ active: t.column.condition === "equal" }),
64
+ class: x({ active: t.column.condition === "equal" }),
65
65
  onClick: i[7] || (i[7] = (u) => r("equal"))
66
66
  }, A((t.columnFilterLang && t.columnFilterLang.equal) ?? "Equal"), 3),
67
67
  v("button", {
68
68
  type: "button",
69
- class: C({ active: t.column.condition === "not_equal" }),
69
+ class: x({ active: t.column.condition === "not_equal" }),
70
70
  onClick: i[8] || (i[8] = (u) => r("not_equal"))
71
71
  }, A((t.columnFilterLang && t.columnFilterLang.not_equal) ?? "Not equal"), 3),
72
72
  v("button", {
73
73
  type: "button",
74
- class: C({ active: t.column.condition === "greater_than" }),
74
+ class: x({ active: t.column.condition === "greater_than" }),
75
75
  onClick: i[9] || (i[9] = (u) => r("greater_than"))
76
76
  }, A((t.columnFilterLang && t.columnFilterLang.greater_than) ?? "Greater than"), 3),
77
77
  v("button", {
78
78
  type: "button",
79
- class: C({ active: t.column.condition === "greater_than_equal" }),
79
+ class: x({ active: t.column.condition === "greater_than_equal" }),
80
80
  onClick: i[10] || (i[10] = (u) => r("greater_than_equal"))
81
81
  }, A((t.columnFilterLang && t.columnFilterLang.greater_than_equal) ?? "Greater than or equal"), 3),
82
82
  v("button", {
83
83
  type: "button",
84
- class: C({ active: t.column.condition === "less_than" }),
84
+ class: x({ active: t.column.condition === "less_than" }),
85
85
  onClick: i[11] || (i[11] = (u) => r("less_than"))
86
86
  }, A((t.columnFilterLang && t.columnFilterLang.less_than) ?? "Less than"), 3),
87
87
  v("button", {
88
88
  type: "button",
89
- class: C({ active: t.column.condition === "less_than_equal" }),
89
+ class: x({ active: t.column.condition === "less_than_equal" }),
90
90
  onClick: i[12] || (i[12] = (u) => r("less_than_equal"))
91
91
  }, A((t.columnFilterLang && t.columnFilterLang.less_than_equal) ?? "Less than or equal"), 3)
92
- ], 64)) : t.column.type === "date" ? (p(), m(D, { key: 2 }, [
92
+ ], 64)) : t.column.type === "date" ? (p(), m(H, { key: 2 }, [
93
93
  v("button", {
94
94
  type: "button",
95
- class: C({ active: t.column.condition === "equal" }),
95
+ class: x({ active: t.column.condition === "equal" }),
96
96
  onClick: i[13] || (i[13] = (u) => r("equal"))
97
97
  }, A((t.columnFilterLang && t.columnFilterLang.equal) ?? "Equal"), 3),
98
98
  v("button", {
99
99
  type: "button",
100
- class: C({ active: t.column.condition === "not_equal" }),
100
+ class: x({ active: t.column.condition === "not_equal" }),
101
101
  onClick: i[14] || (i[14] = (u) => r("not_equal"))
102
102
  }, A((t.columnFilterLang && t.columnFilterLang.not_equal) ?? "Not equal"), 3),
103
103
  v("button", {
104
104
  type: "button",
105
- class: C({ active: t.column.condition === "greater_than" }),
105
+ class: x({ active: t.column.condition === "greater_than" }),
106
106
  onClick: i[15] || (i[15] = (u) => r("greater_than"))
107
107
  }, A((t.columnFilterLang && t.columnFilterLang.greater_than) ?? "Greater than"), 3),
108
108
  v("button", {
109
109
  type: "button",
110
- class: C({ active: t.column.condition === "less_than" }),
110
+ class: x({ active: t.column.condition === "less_than" }),
111
111
  onClick: i[16] || (i[16] = (u) => r("less_than"))
112
112
  }, A((t.columnFilterLang && t.columnFilterLang.less_than) ?? "Less than"), 3)
113
113
  ], 64)) : $("", !0),
114
114
  v("button", {
115
115
  type: "button",
116
- class: C({ active: t.column.condition === "is_null" }),
116
+ class: x({ active: t.column.condition === "is_null" }),
117
117
  onClick: i[17] || (i[17] = (u) => r("is_null"))
118
118
  }, A((t.columnFilterLang && t.columnFilterLang.is_null) ?? "Is null"), 3),
119
119
  v("button", {
120
120
  type: "button",
121
- class: C({ active: t.column.condition === "is_not_null" }),
121
+ class: x({ active: t.column.condition === "is_not_null" }),
122
122
  onClick: i[18] || (i[18] = (u) => r("is_not_null"))
123
123
  }, A((t.columnFilterLang && t.columnFilterLang.is_not_null) ?? "Not null"), 3)
124
124
  ])
@@ -150,7 +150,7 @@ const En = { class: "bh-filter-menu bh-absolute bh-z-[1] bh-bg-white bh-shadow-m
150
150
  function Rn(e, o) {
151
151
  return p(), m("svg", zn, An);
152
152
  }
153
- const jt = /* @__PURE__ */ Te(Pn, [["render", Rn]]), qn = {}, Dn = {
153
+ const jt = /* @__PURE__ */ Te(Pn, [["render", Rn]]), qn = {}, Hn = {
154
154
  viewBox: "0 0 24 24",
155
155
  width: "24",
156
156
  height: "24",
@@ -160,18 +160,18 @@ const jt = /* @__PURE__ */ Te(Pn, [["render", Rn]]), qn = {}, Dn = {
160
160
  "stroke-linecap": "round",
161
161
  "stroke-linejoin": "round",
162
162
  class: "css-i6dzq1"
163
- }, Hn = /* @__PURE__ */ v("line", {
163
+ }, Dn = /* @__PURE__ */ v("line", {
164
164
  x1: "5",
165
165
  y1: "12",
166
166
  x2: "19",
167
167
  y2: "12"
168
- }, null, -1), Nn = [
169
- Hn
168
+ }, null, -1), Bn = [
169
+ Dn
170
170
  ];
171
- function Bn(e, o) {
172
- return p(), m("svg", Dn, Nn);
171
+ function Nn(e, o) {
172
+ return p(), m("svg", Hn, Bn);
173
173
  }
174
- const jn = /* @__PURE__ */ Te(qn, [["render", Bn]]), Vn = {}, Un = {
174
+ const jn = /* @__PURE__ */ Te(qn, [["render", Nn]]), Vn = {}, Un = {
175
175
  viewBox: "0 0 24 24",
176
176
  width: "24",
177
177
  height: "24",
@@ -187,7 +187,7 @@ const jn = /* @__PURE__ */ Te(qn, [["render", Bn]]), Vn = {}, Un = {
187
187
  function Gn(e, o) {
188
188
  return p(), m("svg", Un, Qn);
189
189
  }
190
- const Kn = /* @__PURE__ */ Te(Vn, [["render", Gn]]), he = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ee = (e, o, t, l = "") => {
190
+ const Kn = /* @__PURE__ */ Te(Vn, [["render", Gn]]), pe = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ee = (e, o, t, l = "") => {
191
191
  const n = e.split(":");
192
192
  if (e.slice(0, 1) === "@") {
193
193
  if (n.length < 2 || n.length > 3)
@@ -203,7 +203,7 @@ const Kn = /* @__PURE__ */ Te(Vn, [["render", Gn]]), he = /^[a-z0-9]+(-[a-z0-9]+
203
203
  prefix: u,
204
204
  name: i
205
205
  };
206
- return o && !Ce(c) ? null : c;
206
+ return o && !xe(c) ? null : c;
207
207
  }
208
208
  const r = n[0], s = r.split("-");
209
209
  if (s.length > 1) {
@@ -212,7 +212,7 @@ const Kn = /* @__PURE__ */ Te(Vn, [["render", Gn]]), he = /^[a-z0-9]+(-[a-z0-9]+
212
212
  prefix: s.shift(),
213
213
  name: s.join("-")
214
214
  };
215
- return o && !Ce(i) ? null : i;
215
+ return o && !xe(i) ? null : i;
216
216
  }
217
217
  if (t && l === "") {
218
218
  const i = {
@@ -220,10 +220,10 @@ const Kn = /* @__PURE__ */ Te(Vn, [["render", Gn]]), he = /^[a-z0-9]+(-[a-z0-9]+
220
220
  prefix: "",
221
221
  name: r
222
222
  };
223
- return o && !Ce(i, t) ? null : i;
223
+ return o && !xe(i, t) ? null : i;
224
224
  }
225
225
  return null;
226
- }, Ce = (e, o) => e ? !!((e.provider === "" || e.provider.match(he)) && (o && e.prefix === "" || e.prefix.match(he)) && e.name.match(he)) : !1, Vt = Object.freeze(
226
+ }, xe = (e, o) => e ? !!((e.provider === "" || e.provider.match(pe)) && (o && e.prefix === "" || e.prefix.match(pe)) && e.name.match(pe)) : !1, Vt = Object.freeze(
227
227
  {
228
228
  left: 0,
229
229
  top: 0,
@@ -248,7 +248,7 @@ function Xn(e, o) {
248
248
  const l = ((e.rotate || 0) + (o.rotate || 0)) % 4;
249
249
  return l && (t.rotate = l), t;
250
250
  }
251
- function Ct(e, o) {
251
+ function xt(e, o) {
252
252
  const t = Xn(e, o);
253
253
  for (const l in je)
254
254
  l in _e ? l in e && !(l in t) && (t[l] = _e[l]) : l in o ? t[l] = o[l] : l in e && (t[l] = e[l]);
@@ -272,12 +272,12 @@ function Jn(e, o, t) {
272
272
  const l = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null);
273
273
  let r = {};
274
274
  function s(i) {
275
- r = Ct(
275
+ r = xt(
276
276
  l[i] || n[i],
277
277
  r
278
278
  );
279
279
  }
280
- return s(o), t.forEach(s), Ct(e, r);
280
+ return s(o), t.forEach(s), xt(e, r);
281
281
  }
282
282
  function Ut(e, o) {
283
283
  const t = [];
@@ -314,7 +314,7 @@ function Wt(e) {
314
314
  const t = o.icons;
315
315
  for (const n in t) {
316
316
  const r = t[n];
317
- if (!n.match(he) || typeof r.body != "string" || !Re(
317
+ if (!n.match(pe) || typeof r.body != "string" || !Re(
318
318
  r,
319
319
  je
320
320
  ))
@@ -323,7 +323,7 @@ function Wt(e) {
323
323
  const l = o.aliases || /* @__PURE__ */ Object.create(null);
324
324
  for (const n in l) {
325
325
  const r = l[n], s = r.parent;
326
- if (!n.match(he) || typeof s != "string" || !t[s] && !l[s] || !Re(
326
+ if (!n.match(pe) || typeof s != "string" || !t[s] && !l[s] || !Re(
327
327
  r,
328
328
  je
329
329
  ))
@@ -331,7 +331,7 @@ function Wt(e) {
331
331
  }
332
332
  return o;
333
333
  }
334
- const xt = /* @__PURE__ */ Object.create(null);
334
+ const Ct = /* @__PURE__ */ Object.create(null);
335
335
  function eo(e, o) {
336
336
  return {
337
337
  provider: e,
@@ -341,7 +341,7 @@ function eo(e, o) {
341
341
  };
342
342
  }
343
343
  function re(e, o) {
344
- const t = xt[e] || (xt[e] = /* @__PURE__ */ Object.create(null));
344
+ const t = Ct[e] || (Ct[e] = /* @__PURE__ */ Object.create(null));
345
345
  return t[o] || (t[o] = eo(e, o));
346
346
  }
347
347
  function Ye(e, o) {
@@ -385,7 +385,7 @@ function lo(e, o) {
385
385
  })), n;
386
386
  }
387
387
  const t = e.prefix;
388
- if (!Ce({
388
+ if (!xe({
389
389
  provider: o,
390
390
  prefix: t,
391
391
  name: "a"
@@ -442,9 +442,9 @@ function ao(e, o) {
442
442
  };
443
443
  let r = t.body;
444
444
  [t, l].forEach((F) => {
445
- const _ = [], x = F.hFlip, P = F.vFlip;
445
+ const _ = [], C = F.hFlip, P = F.vFlip;
446
446
  let O = F.rotate;
447
- x ? P ? O += 2 : (_.push(
447
+ C ? P ? O += 2 : (_.push(
448
448
  "translate(" + (n.width + n.left).toString() + " " + (0 - n.top).toString() + ")"
449
449
  ), _.push("scale(-1 1)"), n.top = n.left = 0) : P && (_.push(
450
450
  "translate(" + (0 - n.left).toString() + " " + (n.height + n.top).toString() + ")"
@@ -532,14 +532,14 @@ function Je(e) {
532
532
  dataAfterTimeout: e.dataAfterTimeout !== !1
533
533
  };
534
534
  }
535
- const Ze = /* @__PURE__ */ Object.create(null), ce = [
535
+ const Ze = /* @__PURE__ */ Object.create(null), fe = [
536
536
  "https://api.simplesvg.com",
537
537
  "https://api.unisvg.com"
538
- ], xe = [];
539
- for (; ce.length > 0; )
540
- ce.length === 1 || Math.random() > 0.5 ? xe.push(ce.shift()) : xe.push(ce.pop());
538
+ ], Ce = [];
539
+ for (; fe.length > 0; )
540
+ fe.length === 1 || Math.random() > 0.5 ? Ce.push(fe.shift()) : Ce.push(fe.pop());
541
541
  Ze[""] = Je({
542
- resources: ["https://api.iconify.design"].concat(xe)
542
+ resources: ["https://api.iconify.design"].concat(Ce)
543
543
  });
544
544
  function vo(e, o) {
545
545
  const t = Je(o);
@@ -648,11 +648,11 @@ const ko = (e, o, t) => {
648
648
  }).catch(() => {
649
649
  t("next", n);
650
650
  });
651
- }, Co = {
651
+ }, xo = {
652
652
  prepare: yo,
653
653
  send: ko
654
654
  };
655
- function xo(e) {
655
+ function Co(e) {
656
656
  const o = {
657
657
  loaded: [],
658
658
  missing: [],
@@ -776,7 +776,7 @@ function To(e, o, t, l) {
776
776
  y.status === "pending" && (y.status = "aborted");
777
777
  }), S = [];
778
778
  }
779
- function x(y, b) {
779
+ function C(y, b) {
780
780
  b && (L = []), typeof y == "function" && L.push(y);
781
781
  }
782
782
  function P() {
@@ -786,7 +786,7 @@ function To(e, o, t, l) {
786
786
  status: u,
787
787
  queriesSent: c,
788
788
  queriesPending: S.length,
789
- subscribe: x,
789
+ subscribe: C,
790
790
  abort: _
791
791
  };
792
792
  }
@@ -802,7 +802,7 @@ function To(e, o, t, l) {
802
802
  }
803
803
  function R(y, b, E) {
804
804
  const I = b !== "success";
805
- switch (S = S.filter((N) => N !== y), u) {
805
+ switch (S = S.filter((B) => B !== y), u) {
806
806
  case "pending":
807
807
  break;
808
808
  case "failed":
@@ -817,18 +817,18 @@ function To(e, o, t, l) {
817
817
  return;
818
818
  }
819
819
  if (I) {
820
- d = E, S.length || (s.length ? H() : O());
820
+ d = E, S.length || (s.length ? D() : O());
821
821
  return;
822
822
  }
823
823
  if (F(), z(), !e.random) {
824
- const N = e.resources.indexOf(y.resource);
825
- N !== -1 && N !== e.index && (e.index = N);
824
+ const B = e.resources.indexOf(y.resource);
825
+ B !== -1 && B !== e.index && (e.index = B);
826
826
  }
827
- u = "completed", L.forEach((N) => {
828
- N(E);
827
+ u = "completed", L.forEach((B) => {
828
+ B(E);
829
829
  });
830
830
  }
831
- function H() {
831
+ function D() {
832
832
  if (u !== "pending")
833
833
  return;
834
834
  F();
@@ -850,9 +850,9 @@ function To(e, o, t, l) {
850
850
  R(b, E, I);
851
851
  }
852
852
  };
853
- S.push(b), c++, w = setTimeout(H, e.rotate), t(y, o, b.callback);
853
+ S.push(b), c++, w = setTimeout(D, e.rotate), t(y, o, b.callback);
854
854
  }
855
- return setTimeout(H), P;
855
+ return setTimeout(D), P;
856
856
  }
857
857
  function Yt(e) {
858
858
  const o = {
@@ -1097,7 +1097,7 @@ function Ro(e, o) {
1097
1097
  }));
1098
1098
  }
1099
1099
  const qo = (e, o) => {
1100
- const t = Fo(e, !0, Qt()), l = xo(t);
1100
+ const t = Fo(e, !0, Qt()), l = Co(t);
1101
1101
  if (!l.pending.length) {
1102
1102
  let u = !0;
1103
1103
  return o && setTimeout(() => {
@@ -1128,7 +1128,7 @@ const qo = (e, o) => {
1128
1128
  n[c][d].length && Ro(u, n[c][d]);
1129
1129
  }), o ? Lo(o, l, r) : Et;
1130
1130
  };
1131
- function Do(e, o) {
1131
+ function Ho(e, o) {
1132
1132
  const t = {
1133
1133
  ...e
1134
1134
  };
@@ -1138,9 +1138,9 @@ function Do(e, o) {
1138
1138
  }
1139
1139
  return t;
1140
1140
  }
1141
- const Ho = /[\s,]+/;
1142
- function No(e, o) {
1143
- o.split(Ho).forEach((t) => {
1141
+ const Do = /[\s,]+/;
1142
+ function Bo(e, o) {
1143
+ o.split(Do).forEach((t) => {
1144
1144
  switch (t.trim()) {
1145
1145
  case "horizontal":
1146
1146
  e.hFlip = !0;
@@ -1151,7 +1151,7 @@ function No(e, o) {
1151
1151
  }
1152
1152
  });
1153
1153
  }
1154
- function Bo(e, o = 0) {
1154
+ function No(e, o = 0) {
1155
1155
  const t = e.replace(/^-?[0-9.]*/, "");
1156
1156
  function l(n) {
1157
1157
  for (; n < 0; )
@@ -1229,10 +1229,10 @@ function zt(e) {
1229
1229
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
1230
1230
  }
1231
1231
  const Ot = (e, o) => {
1232
- const t = Do(Mt, o), l = { ...Qo }, n = o.mode || "svg", r = {}, s = o.style, i = typeof s == "object" && !(s instanceof Array) ? s : {};
1232
+ const t = Ho(Mt, o), l = { ...Qo }, n = o.mode || "svg", r = {}, s = o.style, i = typeof s == "object" && !(s instanceof Array) ? s : {};
1233
1233
  for (let _ in o) {
1234
- const x = o[_];
1235
- if (x !== void 0)
1234
+ const C = o[_];
1235
+ if (C !== void 0)
1236
1236
  switch (_) {
1237
1237
  case "icon":
1238
1238
  case "style":
@@ -1242,24 +1242,24 @@ const Ot = (e, o) => {
1242
1242
  case "inline":
1243
1243
  case "hFlip":
1244
1244
  case "vFlip":
1245
- t[_] = x === !0 || x === "true" || x === 1;
1245
+ t[_] = C === !0 || C === "true" || C === 1;
1246
1246
  break;
1247
1247
  case "flip":
1248
- typeof x == "string" && No(t, x);
1248
+ typeof C == "string" && Bo(t, C);
1249
1249
  break;
1250
1250
  case "color":
1251
- r.color = x;
1251
+ r.color = C;
1252
1252
  break;
1253
1253
  case "rotate":
1254
- typeof x == "string" ? t[_] = Bo(x) : typeof x == "number" && (t[_] = x);
1254
+ typeof C == "string" ? t[_] = No(C) : typeof C == "number" && (t[_] = C);
1255
1255
  break;
1256
1256
  case "ariaHidden":
1257
1257
  case "aria-hidden":
1258
- x !== !0 && x !== "true" && delete l["aria-hidden"];
1258
+ C !== !0 && C !== "true" && delete l["aria-hidden"];
1259
1259
  break;
1260
1260
  default: {
1261
1261
  const P = Se[_];
1262
- P ? (x === !0 || x === "true" || x === 1) && (t[P] = !0) : Mt[_] === void 0 && (l[_] = x);
1262
+ P ? (C === !0 || C === "true" || C === 1) && (t[P] = !0) : Mt[_] === void 0 && (l[_] = C);
1263
1263
  }
1264
1264
  }
1265
1265
  }
@@ -1269,8 +1269,8 @@ const Ot = (e, o) => {
1269
1269
  ...r,
1270
1270
  ...i
1271
1271
  }, Object.assign(l, c);
1272
- let _ = 0, x = o.id;
1273
- return typeof x == "string" && (x = x.replace(/-/g, "_")), l.innerHTML = ho(u.body, x ? () => x + "ID" + _++ : "iconifyVue"), wt("svg", l);
1272
+ let _ = 0, C = o.id;
1273
+ return typeof C == "string" && (C = C.replace(/-/g, "_")), l.innerHTML = ho(u.body, C ? () => C + "ID" + _++ : "iconifyVue"), wt("svg", l);
1274
1274
  }
1275
1275
  const { body: d, width: w, height: S } = e, L = n === "mask" || (n === "bg" ? !1 : d.indexOf("currentColor") !== -1), F = jo(d, {
1276
1276
  ...c,
@@ -1288,7 +1288,7 @@ const Ot = (e, o) => {
1288
1288
  }, wt("span", l);
1289
1289
  };
1290
1290
  Qt(!0);
1291
- po("", Co);
1291
+ po("", xo);
1292
1292
  if (typeof document < "u" && typeof window < "u") {
1293
1293
  on();
1294
1294
  const e = window;
@@ -1393,7 +1393,7 @@ const Ko = {
1393
1393
  expandall: { type: Boolean, default: !1 }
1394
1394
  },
1395
1395
  setup(e) {
1396
- const o = e, t = Cn(o, "expandedrows"), l = j(!1);
1396
+ const o = e, t = xn(o, "expandedrows"), l = j(!1);
1397
1397
  function n(s) {
1398
1398
  if (console.log(t.value), o.expandall)
1399
1399
  l.value = !l.value, t.value.forEach((i) => {
@@ -1418,8 +1418,8 @@ const Ko = {
1418
1418
  class: "expandbtn",
1419
1419
  onClick: i[0] || (i[0] = (d) => n(s.item.id))
1420
1420
  }, [
1421
- (((u = t.value.find((d) => d.id == s.item.id)) == null ? void 0 : u.isExpanded) == null ? l.value : (c = t.value.find((d) => d.id == s.item.id)) != null && c.isExpanded) ? (p(), m(D, { key: 0 }, [
1422
- o.expandall ? (p(), m(D, { key: 0 }, [
1421
+ (((u = t.value.find((d) => d.id == s.item.id)) == null ? void 0 : u.isExpanded) == null ? l.value : (c = t.value.find((d) => d.id == s.item.id)) != null && c.isExpanded) ? (p(), m(H, { key: 0 }, [
1422
+ o.expandall ? (p(), m(H, { key: 0 }, [
1423
1423
  r.value ? (p(), te(U(oe), {
1424
1424
  key: 0,
1425
1425
  icon: "fluent:chevron-down-up-16-filled"
@@ -1431,8 +1431,8 @@ const Ko = {
1431
1431
  key: 1,
1432
1432
  icon: "mdi:chevron-down"
1433
1433
  }))
1434
- ], 64)) : (p(), m(D, { key: 1 }, [
1435
- o.expandall ? (p(), m(D, { key: 0 }, [
1434
+ ], 64)) : (p(), m(H, { key: 1 }, [
1435
+ o.expandall ? (p(), m(H, { key: 0 }, [
1436
1436
  r.value == -1 ? (p(), te(U(oe), {
1437
1437
  key: 0,
1438
1438
  icon: "ion:chevron-expand"
@@ -1479,7 +1479,7 @@ const Ko = {
1479
1479
  }), (s, i) => (p(), m("tr", Jo, [
1480
1480
  l.all.hasCheckbox ? (p(), m("th", {
1481
1481
  key: "chkall",
1482
- class: C(["bh-w-px", {
1482
+ class: x(["bh-w-px", {
1483
1483
  "bh-sticky bh-bg-blue-light bh-z-[1]": l.all.stickyHeader || l.all.stickyFirstColumn,
1484
1484
  "bh-top-0": l.all.stickyHeader,
1485
1485
  "bh-left-0": l.all.stickyFirstColumn
@@ -1505,44 +1505,44 @@ const Ko = {
1505
1505
  expandall: l.all.expandall
1506
1506
  }, null, 8, ["expandedrows", "expandall"])) : $("", !0)
1507
1507
  ])) : $("", !0),
1508
- (p(!0), m(D, null, Y(l.all.columns, (u, c) => (p(), m(D, null, [
1508
+ (p(!0), m(H, null, Y(l.all.columns, (u, c) => (p(), m(H, null, [
1509
1509
  u.hide ? $("", !0) : (p(), m("th", {
1510
1510
  key: u.field,
1511
- class: C(["bh-select-none bh-z-[1]", [
1511
+ class: x(["bh-select-none bh-z-[1]", [
1512
1512
  l.all.sortable && u.sort ? "bh-cursor-pointer" : "",
1513
1513
  c === 0 && l.all.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
1514
1514
  l.all.hasCheckbox && c === 0 && l.all.stickyFirstColumn ? "bh-left-[52px]" : ""
1515
1515
  ]]),
1516
- style: ve({
1516
+ style: ue({
1517
1517
  width: u.width,
1518
1518
  "min-width": u.minWidth,
1519
1519
  "max-width": u.maxWidth
1520
1520
  })
1521
1521
  }, [
1522
1522
  v("div", {
1523
- class: C(["bh-flex bh-items-center", [u.headerClass ? u.headerClass : ""]]),
1523
+ class: x(["bh-flex bh-items-center", [u.headerClass ? u.headerClass : ""]]),
1524
1524
  onClick: (d) => l.all.sortable && u.sort && n("sortChange", u.field)
1525
1525
  }, [
1526
- He(A(u.title) + " ", 1),
1526
+ De(A(u.title) + " ", 1),
1527
1527
  l.all.sortable && u.sort ? (p(), m("span", {
1528
1528
  key: 0,
1529
- class: C(["bh-ml-3 bh-sort bh-flex bh-items-center", [l.currentSortColumn, l.currentSortDirection]])
1529
+ class: x(["bh-ml-3 bh-sort bh-flex bh-items-center", [l.currentSortColumn, l.currentSortDirection]])
1530
1530
  }, [
1531
1531
  (p(), m("svg", nl, [
1532
1532
  v("polygon", {
1533
1533
  points: "3.11,6.25 10.89,6.25 7,1.75 ",
1534
1534
  fill: "currentColor",
1535
- class: C(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "asc" ? "!bh-text-primary" : ""]])
1535
+ class: x(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "asc" ? "!bh-text-primary" : ""]])
1536
1536
  }, null, 2),
1537
1537
  v("polygon", {
1538
1538
  points: "7,12.25 10.89,7.75 3.11,7.75 ",
1539
1539
  fill: "currentColor",
1540
- class: C(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "desc" ? "!bh-text-primary" : ""]])
1540
+ class: x(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "desc" ? "!bh-text-primary" : ""]])
1541
1541
  }, null, 2)
1542
1542
  ]))
1543
1543
  ], 2)) : $("", !0)
1544
1544
  ], 10, tl),
1545
- l.all.columnFilter && !l.isFooter ? (p(), m(D, { key: 0 }, [
1545
+ l.all.columnFilter && !l.isFooter ? (p(), m(H, { key: 0 }, [
1546
1546
  u.filter ? (p(), m("div", ol, [
1547
1547
  u.type === "string" ? J((p(), m("input", {
1548
1548
  key: 0,
@@ -1590,7 +1590,7 @@ const Ko = {
1590
1590
  onClick: i[5] || (i[5] = //@ts-ignore
1591
1591
  (...d) => l.isOpenFilter && l.isOpenFilter(...d))
1592
1592
  }, fl, 40, sl)), [
1593
- [Bt, u.value]
1593
+ [Nt, u.value]
1594
1594
  ]) : $("", !0),
1595
1595
  u.type !== "bool" ? (p(), m("button", {
1596
1596
  key: 4,
@@ -1606,7 +1606,7 @@ const Ko = {
1606
1606
  onClose: i[6] || (i[6] = (d) => n("toggleFilterMenu", null)),
1607
1607
  onFilterChange: i[7] || (i[7] = (d) => n("filterChange"))
1608
1608
  }, null, 8, ["column", "type", "columnFilterLang"]), [
1609
- [Ne, l.isOpenFilter === u.field]
1609
+ [Be, l.isOpenFilter === u.field]
1610
1610
  ])
1611
1611
  ])) : $("", !0)
1612
1612
  ], 64)) : $("", !0)
@@ -1615,24 +1615,24 @@ const Ko = {
1615
1615
  ]));
1616
1616
  }
1617
1617
  });
1618
- var pl = typeof global == "object" && global && global.Object === Object && global, vl = typeof self == "object" && self && self.Object === Object && self, sn = pl || vl || Function("return this")(), Le = sn.Symbol, an = Object.prototype, gl = an.hasOwnProperty, ml = an.toString, fe = Le ? Le.toStringTag : void 0;
1618
+ var pl = typeof global == "object" && global && global.Object === Object && global, vl = typeof self == "object" && self && self.Object === Object && self, sn = pl || vl || Function("return this")(), Le = sn.Symbol, an = Object.prototype, gl = an.hasOwnProperty, ml = an.toString, de = Le ? Le.toStringTag : void 0;
1619
1619
  function bl(e) {
1620
- var o = gl.call(e, fe), t = e[fe];
1620
+ var o = gl.call(e, de), t = e[de];
1621
1621
  try {
1622
- e[fe] = void 0;
1622
+ e[de] = void 0;
1623
1623
  var l = !0;
1624
1624
  } catch {
1625
1625
  }
1626
1626
  var n = ml.call(e);
1627
- return l && (o ? e[fe] = t : delete e[fe]), n;
1627
+ return l && (o ? e[de] = t : delete e[de]), n;
1628
1628
  }
1629
1629
  var yl = Object.prototype, wl = yl.toString;
1630
1630
  function kl(e) {
1631
1631
  return wl.call(e);
1632
1632
  }
1633
- var Cl = "[object Null]", xl = "[object Undefined]", Rt = Le ? Le.toStringTag : void 0;
1633
+ var xl = "[object Null]", Cl = "[object Undefined]", Rt = Le ? Le.toStringTag : void 0;
1634
1634
  function Sl(e) {
1635
- return e == null ? e === void 0 ? xl : Cl : Rt && Rt in Object(e) ? bl(e) : kl(e);
1635
+ return e == null ? e === void 0 ? Cl : xl : Rt && Rt in Object(e) ? bl(e) : kl(e);
1636
1636
  }
1637
1637
  function _l(e) {
1638
1638
  return e != null && typeof e == "object";
@@ -1656,7 +1656,7 @@ function Fe(e) {
1656
1656
  return e != null && (o == "object" || o == "function");
1657
1657
  }
1658
1658
  var qt = NaN, $l = /^[-+]0x[0-9a-f]+$/i, Pl = /^0b[01]+$/i, zl = /^0o[0-7]+$/i, Ol = parseInt;
1659
- function pe(e) {
1659
+ function ve(e) {
1660
1660
  if (typeof e == "number")
1661
1661
  return e;
1662
1662
  if (Fl(e))
@@ -1675,16 +1675,16 @@ function Al(e, o, t) {
1675
1675
  return e === e && (t !== void 0 && (e = e <= t ? e : t), o !== void 0 && (e = e >= o ? e : o)), e;
1676
1676
  }
1677
1677
  function ke(e, o, t) {
1678
- return t === void 0 && (t = o, o = void 0), t !== void 0 && (t = pe(t), t = t === t ? t : 0), o !== void 0 && (o = pe(o), o = o === o ? o : 0), Al(pe(e), o, t);
1678
+ return t === void 0 && (t = o, o = void 0), t !== void 0 && (t = ve(t), t = t === t ? t : 0), o !== void 0 && (o = ve(o), o = o === o ? o : 0), Al(ve(e), o, t);
1679
1679
  }
1680
- var De = function() {
1680
+ var He = function() {
1681
1681
  return sn.Date.now();
1682
- }, Rl = "Expected a function", ql = Math.max, Dl = Math.min;
1682
+ }, Rl = "Expected a function", ql = Math.max, Hl = Math.min;
1683
1683
  function un(e, o, t) {
1684
1684
  var l, n, r, s, i, u, c = 0, d = !1, w = !1, S = !0;
1685
1685
  if (typeof e != "function")
1686
1686
  throw new TypeError(Rl);
1687
- o = pe(o) || 0, Fe(t) && (d = !!t.leading, w = "maxWait" in t, r = w ? ql(pe(t.maxWait) || 0, o) : r, S = "trailing" in t ? !!t.trailing : S);
1687
+ o = ve(o) || 0, Fe(t) && (d = !!t.leading, w = "maxWait" in t, r = w ? ql(ve(t.maxWait) || 0, o) : r, S = "trailing" in t ? !!t.trailing : S);
1688
1688
  function L(y) {
1689
1689
  var b = l, E = n;
1690
1690
  return l = n = void 0, c = y, s = e.apply(E, b), s;
@@ -1694,15 +1694,15 @@ function un(e, o, t) {
1694
1694
  }
1695
1695
  function _(y) {
1696
1696
  var b = y - u, E = y - c, I = o - b;
1697
- return w ? Dl(I, r - E) : I;
1697
+ return w ? Hl(I, r - E) : I;
1698
1698
  }
1699
- function x(y) {
1699
+ function C(y) {
1700
1700
  var b = y - u, E = y - c;
1701
1701
  return u === void 0 || b >= o || b < 0 || w && E >= r;
1702
1702
  }
1703
1703
  function P() {
1704
- var y = De();
1705
- if (x(y))
1704
+ var y = He();
1705
+ if (C(y))
1706
1706
  return O(y);
1707
1707
  i = setTimeout(P, _(y));
1708
1708
  }
@@ -1713,10 +1713,10 @@ function un(e, o, t) {
1713
1713
  i !== void 0 && clearTimeout(i), c = 0, l = u = n = i = void 0;
1714
1714
  }
1715
1715
  function R() {
1716
- return i === void 0 ? s : O(De());
1716
+ return i === void 0 ? s : O(He());
1717
1717
  }
1718
- function H() {
1719
- var y = De(), b = x(y);
1718
+ function D() {
1719
+ var y = He(), b = C(y);
1720
1720
  if (l = arguments, n = this, u = y, b) {
1721
1721
  if (i === void 0)
1722
1722
  return F(u);
@@ -1725,33 +1725,33 @@ function un(e, o, t) {
1725
1725
  }
1726
1726
  return i === void 0 && (i = setTimeout(P, o)), s;
1727
1727
  }
1728
- return H.cancel = z, H.flush = R, H;
1728
+ return D.cancel = z, D.flush = R, D;
1729
1729
  }
1730
- var Hl = "Expected a function";
1730
+ var Dl = "Expected a function";
1731
1731
  function cn(e, o, t) {
1732
1732
  var l = !0, n = !0;
1733
1733
  if (typeof e != "function")
1734
- throw new TypeError(Hl);
1734
+ throw new TypeError(Dl);
1735
1735
  return Fe(t) && (l = "leading" in t ? !!t.leading : l, n = "trailing" in t ? !!t.trailing : n), un(e, o, {
1736
1736
  leading: l,
1737
1737
  maxWait: o,
1738
1738
  trailing: n
1739
1739
  });
1740
1740
  }
1741
- var Nl = Object.defineProperty, Bl = Object.defineProperties, jl = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Vl = Object.prototype.hasOwnProperty, Ul = Object.prototype.propertyIsEnumerable, Ht = (e, o, t) => o in e ? Nl(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, Ie = (e, o) => {
1741
+ var Bl = Object.defineProperty, Nl = Object.defineProperties, jl = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Vl = Object.prototype.hasOwnProperty, Ul = Object.prototype.propertyIsEnumerable, Dt = (e, o, t) => o in e ? Bl(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, Ie = (e, o) => {
1742
1742
  for (var t in o || (o = {}))
1743
- Vl.call(o, t) && Ht(e, t, o[t]);
1744
- if (Dt)
1745
- for (var t of Dt(o))
1746
- Ul.call(o, t) && Ht(e, t, o[t]);
1743
+ Vl.call(o, t) && Dt(e, t, o[t]);
1744
+ if (Ht)
1745
+ for (var t of Ht(o))
1746
+ Ul.call(o, t) && Dt(e, t, o[t]);
1747
1747
  return e;
1748
- }, fn = (e, o) => Bl(e, jl(o));
1748
+ }, fn = (e, o) => Nl(e, jl(o));
1749
1749
  const Wl = ["onPointerdown"], Ql = {
1750
1750
  name: "ScrollbarThumb"
1751
1751
  };
1752
1752
  function Gl(e, { expose: o }) {
1753
1753
  const t = e;
1754
- xn((b) => ({
1754
+ Cn((b) => ({
1755
1755
  "1fb98f78": U(l)
1756
1756
  }));
1757
1757
  const l = Q(() => {
@@ -1768,7 +1768,7 @@ function Gl(e, { expose: o }) {
1768
1768
  }, c = () => {
1769
1769
  n !== null && clearTimeout(n);
1770
1770
  };
1771
- Be(c);
1771
+ Ne(c);
1772
1772
  const d = cn((b) => {
1773
1773
  b.stopPropagation(), b.preventDefault();
1774
1774
  const E = t.type === "horizontal" ? "pageX" : "pageY", I = (b[E] - s[E]) / t.scrollInfo.wrapperMainSize * t.scrollInfo.contentMainSize;
@@ -1783,17 +1783,17 @@ function Gl(e, { expose: o }) {
1783
1783
  c(), r.value && r.value.classList.add("scrollbar__thumbPlaceholder--scrolling"), u();
1784
1784
  }
1785
1785
  });
1786
- let F = Z(!1), _ = Z(!1), x = Z(null), P = null, O = null, z = Q(() => t.fixedThumb && !_.value);
1787
- const R = ([b]) => _.value = b.isIntersecting, H = ([b]) => F.value = b.isIntersecting, y = () => {
1786
+ let F = Z(!1), _ = Z(!1), C = Z(null), P = null, O = null, z = Q(() => t.fixedThumb && !_.value);
1787
+ const R = ([b]) => _.value = b.isIntersecting, D = ([b]) => F.value = b.isIntersecting, y = () => {
1788
1788
  P && (P.disconnect(), P = null), O && (O.disconnect(), O = null);
1789
1789
  };
1790
1790
  return W(() => [t.fixedThumb, t.wrapperEl], () => {
1791
1791
  if (!t.fixedThumb || !t.wrapperEl)
1792
1792
  return y();
1793
- y(), O = new IntersectionObserver(H, { threshold: [0, 0.5] }), O.observe(t.wrapperEl), P = new IntersectionObserver(R), P.observe(x.value);
1794
- }), Be(y), (b, E) => (p(), m(D, null, [
1793
+ y(), O = new IntersectionObserver(D, { threshold: [0, 0.5] }), O.observe(t.wrapperEl), P = new IntersectionObserver(R), P.observe(C.value);
1794
+ }), Ne(y), (b, E) => (p(), m(H, null, [
1795
1795
  J(v("div", {
1796
- class: C([
1796
+ class: x([
1797
1797
  "scrollbar__thumbPlaceholder",
1798
1798
  `scrollbar__thumbPlaceholder--${e.type}`,
1799
1799
  {
@@ -1801,31 +1801,31 @@ function Gl(e, { expose: o }) {
1801
1801
  "scrollbar__thumbPlaceholder--autoExpand": e.autoExpand
1802
1802
  }
1803
1803
  ]),
1804
- style: ve({
1804
+ style: ue({
1805
1805
  width: e.type === "horizontal" ? `${e.scrollInfo.thumbSize}px` : "",
1806
1806
  height: e.type === "vertical" ? `${e.scrollInfo.thumbSize}px` : "",
1807
1807
  position: z.value ? "fixed" : "absolute",
1808
1808
  [e.type === "vertical" ? "top" : "left"]: z.value ? `${e.scrollInfo.boundaryDistance + 3}px` : "3px"
1809
1809
  }),
1810
- ref: (I, N) => {
1811
- N.thumbEl = I, r.value = I;
1810
+ ref: (I, B) => {
1811
+ B.thumbEl = I, r.value = I;
1812
1812
  },
1813
1813
  onPointerdown: le(S, ["stop"])
1814
1814
  }, [
1815
1815
  E[0] || (kt(-1), E[0] = v("div", {
1816
- class: C(["scrollbar__thumb", `scrollbar__thumb--${e.type}`])
1816
+ class: x(["scrollbar__thumb", `scrollbar__thumb--${e.type}`])
1817
1817
  }, null, 2), kt(1), E[0])
1818
1818
  ], 46, Wl), [
1819
- [Ne, !!e.scrollInfo.thumbSize && (e.fixedThumb ? F.value : !0)]
1819
+ [Be, !!e.scrollInfo.thumbSize && (e.fixedThumb ? F.value : !0)]
1820
1820
  ]),
1821
1821
  t.fixedThumb ? J((p(), m("div", {
1822
1822
  key: 0,
1823
- ref: (I, N) => {
1824
- N.shepherdEl = I, x.value = I;
1823
+ ref: (I, B) => {
1824
+ B.shepherdEl = I, C.value = I;
1825
1825
  },
1826
- class: C(["scrollbar__shepherd", `scrollbar__shepherd--${e.type}`])
1826
+ class: x(["scrollbar__shepherd", `scrollbar__shepherd--${e.type}`])
1827
1827
  }, null, 2)), [
1828
- [Ne, !!e.scrollInfo.thumbSize]
1828
+ [Be, !!e.scrollInfo.thumbSize]
1829
1829
  ]) : $("", !0)
1830
1830
  ], 64));
1831
1831
  }
@@ -1845,7 +1845,7 @@ const Kl = /* @__PURE__ */ ie(fn(Ie({}, Ql), {
1845
1845
  wait: 333,
1846
1846
  type: "debounce"
1847
1847
  };
1848
- function Nt(...e) {
1848
+ function Bt(...e) {
1849
1849
  const o = "value" in (e == null ? void 0 : e[0]);
1850
1850
  let t;
1851
1851
  o ? t = e == null ? void 0 : e[1] : t = e == null ? void 0 : e[0];
@@ -1859,7 +1859,7 @@ function Nt(...e) {
1859
1859
  };
1860
1860
  return Ln(() => {
1861
1861
  s.value && (w(), c = u, n === "throttle" && l >= 4 ? c = cn(c, l) : n === "debounce" && l >= 4 && (c = un(c, l)), window.addEventListener("resize", c), d = new ResizeObserver(c), d.observe(s.value));
1862
- }), Be(w), o ? i : [s, i];
1862
+ }), Ne(w), o ? i : [s, i];
1863
1863
  }
1864
1864
  const Yl = {
1865
1865
  name: "CustomScrollbar",
@@ -1869,20 +1869,20 @@ function Jl(e, { expose: o, emit: t }) {
1869
1869
  const l = e, n = {
1870
1870
  horizontal: { el: null, instance: null },
1871
1871
  vertical: { el: null, instance: null }
1872
- }, r = (R, H) => {
1873
- n[H].instance || (n[H].instance = R);
1872
+ }, r = (R, D) => {
1873
+ n[D].instance || (n[D].instance = R);
1874
1874
  };
1875
1875
  let s = Z(null), i = Z(null);
1876
1876
  Xe(() => {
1877
1877
  var R;
1878
- const H = Array.from((R = s.value.parentElement) == null ? void 0 : R.childNodes);
1878
+ const D = Array.from((R = s.value.parentElement) == null ? void 0 : R.childNodes);
1879
1879
  for (const y in n)
1880
- n[y].el = H.find((b) => {
1880
+ n[y].el = D.find((b) => {
1881
1881
  var E;
1882
1882
  return (E = b == null ? void 0 : b.classList) == null ? void 0 : E.contains(`scrollbar__thumbPlaceholder--${y}`);
1883
1883
  });
1884
1884
  });
1885
- const u = Nt(s, { wait: l.throttleWait, type: l.throttleType, callback: S }), c = Nt(i, { wait: l.throttleWait, type: l.throttleType, callback: S });
1885
+ const u = Bt(s, { wait: l.throttleWait, type: l.throttleType, callback: S }), c = Bt(i, { wait: l.throttleWait, type: l.throttleType, callback: S });
1886
1886
  let d = Z(0), w = Z(0);
1887
1887
  function S() {
1888
1888
  d.value = Math.max(s.value.scrollHeight - u.height | 0, 0), w.value = Math.max(s.value.scrollWidth - u.width | 0, 0);
@@ -1897,23 +1897,23 @@ function Jl(e, { expose: o, emit: t }) {
1897
1897
  contentMainSize: c.height,
1898
1898
  wrapperMainSize: u.height,
1899
1899
  boundaryDistance: Math.abs(u.top)
1900
- })), _ = Q(() => u.height - F.value.thumbSize - 5), x = Q(() => u.width - L.value.thumbSize - 5);
1900
+ })), _ = Q(() => u.height - F.value.thumbSize - 5), C = Q(() => u.width - L.value.thumbSize - 5);
1901
1901
  const P = () => {
1902
- w.value && (n.horizontal.el.style.transform = `translate3d(${s.value.scrollLeft / w.value * x.value}px, 0, 0)`, n.horizontal.instance.autoHideAfterScroll()), d.value && (n.vertical.el.style.transform = `translate3d(0, ${s.value.scrollTop / d.value * _.value}px, 0)`, n.vertical.instance.autoHideAfterScroll());
1902
+ w.value && (n.horizontal.el.style.transform = `translate3d(${s.value.scrollLeft / w.value * C.value}px, 0, 0)`, n.horizontal.instance.autoHideAfterScroll()), d.value && (n.vertical.el.style.transform = `translate3d(0, ${s.value.scrollTop / d.value * _.value}px, 0)`, n.vertical.instance.autoHideAfterScroll());
1903
1903
  };
1904
1904
  W(() => [w.value, d.value], P);
1905
1905
  const O = (R) => {
1906
1906
  R.stopPropagation();
1907
- const H = s.value.scrollLeft, y = s.value.scrollTop, b = ke(H + ((R == null ? void 0 : R.deltaX) || 0), 0, w.value) | 0, E = ke(y + ((R == null ? void 0 : R.deltaY) || 0), 0, d.value) | 0;
1908
- s.value.scrollLeft = b, s.value.scrollTop = E, w.value && (n.horizontal.el.style.transform = `translate3d(${b / w.value * x.value}px, 0, 0)`, n.horizontal.instance.autoHideAfterScroll()), d.value && (n.vertical.el.style.transform = `translate3d(0, ${E / d.value * _.value}px, 0)`, n.vertical.instance.autoHideAfterScroll()), t("scroll", { target: s.value, scrollLeft: b, scrollTop: E });
1907
+ const D = s.value.scrollLeft, y = s.value.scrollTop, b = ke(D + ((R == null ? void 0 : R.deltaX) || 0), 0, w.value) | 0, E = ke(y + ((R == null ? void 0 : R.deltaY) || 0), 0, d.value) | 0;
1908
+ s.value.scrollLeft = b, s.value.scrollTop = E, w.value && (n.horizontal.el.style.transform = `translate3d(${b / w.value * C.value}px, 0, 0)`, n.horizontal.instance.autoHideAfterScroll()), d.value && (n.vertical.el.style.transform = `translate3d(0, ${E / d.value * _.value}px, 0)`, n.vertical.instance.autoHideAfterScroll()), t("scroll", { target: s.value, scrollLeft: b, scrollTop: E });
1909
1909
  }, z = (R) => {
1910
1910
  l.simulateScroll ? O(R) : P();
1911
1911
  };
1912
1912
  return W(u, () => t("wrapperResize", u)), W(c, () => t("contentResize", c)), o({
1913
1913
  scrollEl: s
1914
- }), (R, H) => (p(), m("div", {
1915
- class: C(["scrollbar__wrapper", e.wrapperClass]),
1916
- style: ve(e.wrapperStyle)
1914
+ }), (R, D) => (p(), m("div", {
1915
+ class: x(["scrollbar__wrapper", e.wrapperClass]),
1916
+ style: ue(e.wrapperStyle)
1917
1917
  }, [
1918
1918
  v("div", Sn({
1919
1919
  ref: (y, b) => {
@@ -1928,13 +1928,13 @@ function Jl(e, { expose: o, emit: t }) {
1928
1928
  ref: (y, b) => {
1929
1929
  b.contentEl = y, i.value = y;
1930
1930
  },
1931
- class: C(["scrollbar__content", e.contentClass, { "scrollbar__content--fixedThumb": e.fixedThumb, [`scrollbar__content--${e.direction}`]: e.direction }]),
1932
- style: ve(e.contentStyle)
1931
+ class: x(["scrollbar__content", e.contentClass, { "scrollbar__content--fixedThumb": e.fixedThumb, [`scrollbar__content--${e.direction}`]: e.direction }]),
1932
+ style: ue(e.contentStyle)
1933
1933
  }, [
1934
- de(R.$slots, "default")
1934
+ he(R.$slots, "default")
1935
1935
  ], 6)
1936
1936
  ], 16),
1937
- (p(), m(D, null, Y(n, (y, b) => G(Kl, {
1937
+ (p(), m(H, null, Y(n, (y, b) => G(Kl, {
1938
1938
  ref: (E) => r(E, b),
1939
1939
  key: b,
1940
1940
  autoExpand: e.autoExpand,
@@ -2043,20 +2043,20 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2043
2043
  ])
2044
2044
  ], -1), vr = [
2045
2045
  pr
2046
- ], gr = { class: "bh-flex bh-items-center bh-flex-wrap bh-flex-col sm:bh-flex-row bh-gap-4" }, mr = { class: "bh-pagination-info bh-flex bh-items-center" }, br = { class: "bh-mr-2" }, yr = ["value"], wr = { class: "bh-pagination-number sm:bh-ml-auto bh-inline-flex bh-items-center bh-space-x-1" }, kr = ["innerHTML"], Cr = {
2046
+ ], gr = { class: "bh-flex bh-items-center bh-flex-wrap bh-flex-col sm:bh-flex-row bh-gap-4" }, mr = { class: "bh-pagination-info bh-flex bh-items-center" }, br = { class: "bh-mr-2" }, yr = ["value"], wr = { class: "bh-pagination-number sm:bh-ml-auto bh-inline-flex bh-items-center bh-space-x-1" }, kr = ["innerHTML"], xr = {
2047
2047
  key: 1,
2048
2048
  "aria-hidden": "true",
2049
2049
  width: "14",
2050
2050
  height: "14",
2051
2051
  viewBox: "0 0 16 16"
2052
- }, xr = /* @__PURE__ */ v("g", {
2052
+ }, Cr = /* @__PURE__ */ v("g", {
2053
2053
  fill: "currentColor",
2054
2054
  "fill-rule": "evenodd"
2055
2055
  }, [
2056
2056
  /* @__PURE__ */ v("path", { d: "M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" }),
2057
2057
  /* @__PURE__ */ v("path", { d: "M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" })
2058
2058
  ], -1), Sr = [
2059
- xr
2059
+ Cr
2060
2060
  ], _r = ["innerHTML"], Lr = {
2061
2061
  key: 1,
2062
2062
  "aria-hidden": "true",
@@ -2140,7 +2140,11 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2140
2140
  stickyFirstColumn: { type: Boolean, default: !1 },
2141
2141
  cloneHeaderInFooter: { type: Boolean, default: !1 },
2142
2142
  selectRowOnClick: { type: Boolean, default: !1 },
2143
- scrollbarstyle: {}
2143
+ scrollbarstyle: {},
2144
+ scrollbarautohide: { type: Boolean, default: !0 },
2145
+ scrollbarfixedthumb: { type: Boolean, default: !1 },
2146
+ scrollbarautoexpand: { type: Boolean, default: !1 },
2147
+ scrollbardirection: { default: "vertical" }
2144
2148
  },
2145
2149
  emits: ["change", "sortChange", "searchChange", "pageChange", "pageSizeChange", "rowSelect", "filterChange", "rowClick", "rowDBClick"],
2146
2150
  setup(e, { expose: o, emit: t }) {
@@ -2150,8 +2154,8 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2150
2154
  const h = ((gt = a.type) == null ? void 0 : gt.toLowerCase()) || "string";
2151
2155
  a.type = h, a.isUnique = a.isUnique !== void 0 ? a.isUnique : !1, a.hide = a.hide !== void 0 ? a.hide : !1, a.filter = a.filter !== void 0 ? a.filter : !0, a.search = a.search !== void 0 ? a.search : !0, a.sort = a.sort !== void 0 ? a.sort : !0, a.html = a.html !== void 0 ? a.html : !1, a.condition = !h || h === "string" ? "contain" : "equal";
2152
2156
  }
2153
- const r = j([]), s = j(n.page), i = j(n.pagination ? n.pageSize : (mt = n.rows) == null ? void 0 : mt.length), u = n.pageSize, c = j(n.sortColumn), d = n.sortColumn, w = j(n.sortDirection), S = n.sortDirection, L = j(n.totalRows), F = j([]), _ = j(null), x = j(n.loading), P = j(n.search), O = JSON.parse(JSON.stringify(n.columns)), z = j(null), R = j(null);
2154
- let H = j(0);
2157
+ const r = j([]), s = j(n.page), i = j(n.pagination ? n.pageSize : (mt = n.rows) == null ? void 0 : mt.length), u = n.pageSize, c = j(n.sortColumn), d = n.sortColumn, w = j(n.sortDirection), S = n.sortDirection, L = j(n.totalRows), F = j([]), _ = j(null), C = j(n.loading), P = j(n.search), O = JSON.parse(JSON.stringify(n.columns)), z = j(null), R = j(null);
2158
+ let D = j(0);
2155
2159
  const y = j(230);
2156
2160
  Xe(() => {
2157
2161
  ee();
@@ -2186,7 +2190,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2186
2190
  const E = (a, ...h) => a.replace(/{(\d+)}/g, (g, M) => typeof h[M] < "u" ? h[M] : g), I = Q(() => {
2187
2191
  const a = n.columns.find((h) => h.isUnique);
2188
2192
  return (a == null ? void 0 : a.field) || null;
2189
- }), N = Q(() => {
2193
+ }), B = Q(() => {
2190
2194
  const a = i.value < 1 ? 1 : Math.ceil(L.value / i.value);
2191
2195
  return Math.max(a || 0, 1);
2192
2196
  }), Pe = Q(() => (s.value - 1) * i.value + 1), ze = Q(() => {
@@ -2194,9 +2198,9 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2194
2198
  return L.value >= a ? a : L.value;
2195
2199
  }), ot = Q(() => {
2196
2200
  let a, h;
2197
- return typeof n.showNumbersCount < "u" && n.showNumbersCount < N.value ? (a = Math.max(s.value - Math.floor(n.showNumbersCount / 2), 1), h = a + n.showNumbersCount - 1, h > N.value && (h = N.value, a = h - n.showNumbersCount + 1)) : (a = 1, h = N.value), Array.from(Array(h + 1 - a).keys()).map((V) => a + V);
2201
+ return typeof n.showNumbersCount < "u" && n.showNumbersCount < B.value ? (a = Math.max(s.value - Math.floor(n.showNumbersCount / 2), 1), h = a + n.showNumbersCount - 1, h > B.value && (h = B.value, a = h - n.showNumbersCount + 1)) : (a = 1, h = B.value), Array.from(Array(h + 1 - a).keys()).map((V) => a + V);
2198
2202
  }), lt = () => {
2199
- var V, B, X;
2203
+ var V, N, X;
2200
2204
  let a = n.rows || [];
2201
2205
  if (!n.isServerMode) {
2202
2206
  if ((V = n.columns) == null || V.forEach((f) => {
@@ -2224,7 +2228,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2224
2228
  const k = (n.columns || []).filter((q) => q.search && !q.hide).map((q) => q.field);
2225
2229
  for (var h = 0; h < (a == null ? void 0 : a.length); h++)
2226
2230
  for (var g = 0; g < k.length; g++)
2227
- if ((B = T(a[h], k[g])) != null && B.toString().toLowerCase().includes(P.value.toLowerCase())) {
2231
+ if ((N = T(a[h], k[g])) != null && N.toString().toLowerCase().includes(P.value.toLowerCase())) {
2228
2232
  f.push(a[h]);
2229
2233
  break;
2230
2234
  }
@@ -2242,16 +2246,16 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2242
2246
  });
2243
2247
  }
2244
2248
  return a;
2245
- }, ue = j([]), ee = () => {
2249
+ }, ce = j([]), ee = () => {
2246
2250
  let a = [], h = lt();
2247
2251
  n.isServerMode ? (L.value = n.totalRows || 0, a = h) : (L.value = (h == null ? void 0 : h.length) || 0, a = h.slice(Pe.value - 1, ze.value)), n.hasSubtable && a.forEach(function(g) {
2248
- g.isExpanded != null && (ue.value.find((V) => V.id == g.id) || ue.value.push({ id: g.id, isExpanded: g.isExpanded }));
2252
+ g.isExpanded != null && (ce.value.find((V) => V.id == g.id) || ce.value.push({ id: g.id, isExpanded: g.isExpanded }));
2249
2253
  }), r.value = a || [];
2250
2254
  };
2251
2255
  W(
2252
2256
  () => n.loading,
2253
2257
  () => {
2254
- x.value = n.loading;
2258
+ C.value = n.loading;
2255
2259
  }
2256
2260
  );
2257
2261
  const rt = (a) => {
@@ -2263,7 +2267,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2263
2267
  }, st = (a) => {
2264
2268
  s.value = a;
2265
2269
  }, at = () => {
2266
- if (s.value >= N.value)
2270
+ if (s.value >= B.value)
2267
2271
  return !1;
2268
2272
  s.value++;
2269
2273
  };
@@ -2312,9 +2316,9 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2312
2316
  }
2313
2317
  return "";
2314
2318
  }, dt = (a, h) => {
2315
- H.value++, H.value === 1 ? R.value = setTimeout(() => {
2316
- H.value = 0, n.selectRowOnClick && (ye(h) ? pt(h) : ht(h), ct(F.value)), b("rowClick", a);
2317
- }, y.value) : H.value === 2 && (clearTimeout(R.value), H.value = 0, b("rowDBClick", a));
2319
+ D.value++, D.value === 1 ? R.value = setTimeout(() => {
2320
+ D.value = 0, n.selectRowOnClick && (ye(h) ? pt(h) : ht(h), ct(F.value)), b("rowClick", a);
2321
+ }, y.value) : D.value === 2 && (clearTimeout(R.value), D.value = 0, b("rowDBClick", a));
2318
2322
  }, se = (a, h = !1) => {
2319
2323
  if (n.isServerMode) {
2320
2324
  pn();
@@ -2363,28 +2367,30 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2363
2367
  vt.value++;
2364
2368
  }, 2200), (a, h) => (p(), m("div", er, [
2365
2369
  v("div", {
2366
- class: C(n.scrollbarstyle)
2370
+ class: x(n.scrollbarstyle)
2367
2371
  }, [
2368
2372
  G(U(Zl), {
2369
- autoHide: !0,
2370
- fixedThumb: !0,
2371
- autoExpand: !1,
2373
+ style: ue({ height: n.stickyHeader && n.height }),
2374
+ autoHide: n.scrollbarautohide,
2375
+ fixedThumb: n.scrollbarfixedthumb,
2376
+ autoExpand: n.scrollbarautoexpand,
2377
+ direction: n.scrollbardirection,
2372
2378
  throttleType: "none"
2373
2379
  }, {
2374
2380
  default: In(() => [
2375
2381
  v("div", {
2376
- class: C(["bh-table-responsive", { "bh-min-h-[100px]": x.value }]),
2377
- style: ve([{ overflow: "inherit" }, { height: n.stickyHeader && n.height }])
2382
+ class: x(["bh-table-responsive", { "bh-min-h-[100px]": C.value }]),
2383
+ style: ue({ overflow: n.stickyHeader && "inherit" })
2378
2384
  }, [
2379
2385
  v("table", {
2380
- class: C([n.skin])
2386
+ class: x([n.skin])
2381
2387
  }, [
2382
2388
  v("thead", {
2383
- class: C({ "bh-sticky bh-top-0 bh-z-10": n.stickyHeader })
2389
+ class: x({ "bh-sticky bh-top-0 bh-z-10": n.stickyHeader })
2384
2390
  }, [
2385
2391
  G(At, {
2386
2392
  all: n,
2387
- expandedrows: ue.value,
2393
+ expandedrows: ce.value,
2388
2394
  currentSortColumn: c.value,
2389
2395
  currentSortDirection: w.value,
2390
2396
  isOpenFilter: z.value,
@@ -2397,25 +2403,25 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2397
2403
  }, null, 8, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang"])
2398
2404
  ], 2),
2399
2405
  v("tbody", null, [
2400
- (p(!0), m(D, null, Y(r.value, (g, M) => {
2406
+ (p(!0), m(H, null, Y(r.value, (g, M) => {
2401
2407
  var V;
2402
- return p(), m(D, {
2408
+ return p(), m(H, {
2403
2409
  key: g[I.value] ? g[I.value] : M
2404
2410
  }, [
2405
2411
  L.value ? (p(), m("tr", {
2406
2412
  key: 0,
2407
- class: C([typeof n.rowClass == "function" ? a.rowClass(g) : n.rowClass, n.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2408
- onClick: le((B) => dt(g, M), ["prevent"])
2413
+ class: x([typeof n.rowClass == "function" ? a.rowClass(g) : n.rowClass, n.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2414
+ onClick: le((N) => dt(g, M), ["prevent"])
2409
2415
  }, [
2410
2416
  n.hasCheckbox ? (p(), m("td", {
2411
2417
  key: 0,
2412
- class: C({
2418
+ class: x({
2413
2419
  "bh-sticky bh-left-0 bh-bg-blue-light": n.stickyFirstColumn
2414
2420
  })
2415
2421
  }, [
2416
2422
  v("div", nr, [
2417
2423
  J(v("input", {
2418
- "onUpdate:modelValue": h[0] || (h[0] = (B) => F.value = B),
2424
+ "onUpdate:modelValue": h[0] || (h[0] = (N) => F.value = N),
2419
2425
  type: "checkbox",
2420
2426
  value: g[I.value] ? g[I.value] : M,
2421
2427
  onClick: h[1] || (h[1] = le(() => {
@@ -2430,56 +2436,56 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2430
2436
  ], 2)) : $("", !0),
2431
2437
  n.hasSubtable ? (p(), m("td", {
2432
2438
  key: 1,
2433
- class: C({
2439
+ class: x({
2434
2440
  "bh-sticky bh-left-0 bh-bg-blue-light": n.stickyFirstColumn
2435
2441
  })
2436
2442
  }, [
2437
2443
  G(rn, {
2438
2444
  item: g,
2439
- expandedrows: ue.value
2445
+ expandedrows: ce.value
2440
2446
  }, null, 8, ["item", "expandedrows"])
2441
2447
  ], 2)) : $("", !0),
2442
- (p(!0), m(D, null, Y(n.columns, (B, X) => (p(), m(D, null, [
2443
- B.hide ? $("", !0) : (p(), m("td", {
2444
- key: B.field,
2445
- class: C([
2448
+ (p(!0), m(H, null, Y(n.columns, (N, X) => (p(), m(H, null, [
2449
+ N.hide ? $("", !0) : (p(), m("td", {
2450
+ key: N.field,
2451
+ class: x([
2446
2452
  typeof n.cellClass == "function" ? a.cellClass(g) : n.cellClass,
2447
2453
  X === 0 && n.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
2448
2454
  n.hasCheckbox && X === 0 && n.stickyFirstColumn ? "bh-left-[52px]" : "",
2449
- B.cellClass ? B.cellClass : ""
2455
+ N.cellClass ? N.cellClass : ""
2450
2456
  ])
2451
2457
  }, [
2452
- U(l)[B.field] ? de(a.$slots, B.field, {
2458
+ U(l)[N.field] ? he(a.$slots, N.field, {
2453
2459
  key: 0,
2454
2460
  value: g
2455
- }) : B.cellRenderer ? (p(), m("div", {
2461
+ }) : N.cellRenderer ? (p(), m("div", {
2456
2462
  key: 1,
2457
- innerHTML: B.cellRenderer(g)
2458
- }, null, 8, lr)) : (p(), m(D, { key: 2 }, [
2459
- He(A(T(g, B.field)), 1)
2463
+ innerHTML: N.cellRenderer(g)
2464
+ }, null, 8, lr)) : (p(), m(H, { key: 2 }, [
2465
+ De(A(T(g, N.field)), 1)
2460
2466
  ], 64))
2461
2467
  ], 2))
2462
2468
  ], 64))), 256))
2463
2469
  ], 10, tr)) : $("", !0),
2464
- (V = ue.value.find((B) => B.id == g.id)) != null && V.isExpanded && n.hasSubtable ? (p(), m("tr", {
2470
+ (V = ce.value.find((N) => N.id == g.id)) != null && V.isExpanded && n.hasSubtable ? (p(), m("tr", {
2465
2471
  key: 1,
2466
- class: C([typeof n.rowClass == "function" ? a.rowClass(g) : n.rowClass, n.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2467
- onClick: le((B) => dt(g, M), ["prevent"])
2472
+ class: x([typeof n.rowClass == "function" ? a.rowClass(g) : n.rowClass, n.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2473
+ onClick: le((N) => dt(g, M), ["prevent"])
2468
2474
  }, [
2469
2475
  v("td", {
2470
2476
  colspan: n.columns.length + U(ae)
2471
2477
  }, [
2472
- de(a.$slots, "tsub", { value: r.value })
2478
+ he(a.$slots, "tsub", { value: r.value })
2473
2479
  ], 8, ir)
2474
2480
  ], 10, rr)) : $("", !0)
2475
2481
  ], 64);
2476
2482
  }), 128)),
2477
- !L.value && !x.value ? (p(), m("tr", sr, [
2483
+ !L.value && !C.value ? (p(), m("tr", sr, [
2478
2484
  v("td", {
2479
2485
  colspan: n.columns.length + U(ae)
2480
2486
  }, A(n.noDataContent), 9, ar)
2481
2487
  ])) : $("", !0),
2482
- !L.value && x.value ? (p(!0), m(D, { key: 1 }, Y(n.pageSize, (g) => (p(), m("tr", {
2488
+ !L.value && C.value ? (p(!0), m(H, { key: 1 }, Y(n.pageSize, (g) => (p(), m("tr", {
2483
2489
  key: g,
2484
2490
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
2485
2491
  }, [
@@ -2488,22 +2494,22 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2488
2494
  class: "!bh-p-0 !bh-border-transparent"
2489
2495
  }, fr, 8, ur)
2490
2496
  ]))), 128)) : $("", !0),
2491
- L.value ? (p(!0), m(D, { key: 2 }, Y(n.footerRows, (g, M) => (p(), m("tr", {
2497
+ L.value ? (p(!0), m(H, { key: 2 }, Y(n.footerRows, (g, M) => (p(), m("tr", {
2492
2498
  key: g[I.value] ? g[I.value] : M
2493
2499
  }, [
2494
2500
  v("td", { colspan: U(ae) }, null, 8, dr),
2495
- (p(!0), m(D, null, Y(n.columns, (V, B) => (p(), m(D, null, [
2501
+ (p(!0), m(H, null, Y(n.columns, (V, N) => (p(), m(H, null, [
2496
2502
  V.hide ? $("", !0) : (p(), m("td", {
2497
2503
  key: V.field,
2498
- class: C([
2504
+ class: x([
2499
2505
  typeof n.cellClass == "function" ? a.cellClass(g) : n.cellClass,
2500
- B === 0 && n.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
2501
- n.hasCheckbox && B === 0 && n.stickyFirstColumn ? "bh-left-[52px]" : "",
2506
+ N === 0 && n.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
2507
+ n.hasCheckbox && N === 0 && n.stickyFirstColumn ? "bh-left-[52px]" : "",
2502
2508
  V.cellClass ? V.cellClass : ""
2503
2509
  ])
2504
2510
  }, [
2505
- g.cells.find((X) => X.field == V.field) ? (p(), m(D, { key: 0 }, [
2506
- He(A(g.cells.find((X) => X.field == V.field).text), 1)
2511
+ g.cells.find((X) => X.field == V.field) ? (p(), m(H, { key: 0 }, [
2512
+ De(A(g.cells.find((X) => X.field == V.field).text), 1)
2507
2513
  ], 64)) : $("", !0)
2508
2514
  ], 2))
2509
2515
  ], 64))), 256))
@@ -2511,7 +2517,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2511
2517
  ]),
2512
2518
  n.cloneHeaderInFooter ? (p(), m("tfoot", {
2513
2519
  key: 0,
2514
- class: C({ "bh-sticky bh-bottom-0": n.stickyHeader })
2520
+ class: x({ "bh-sticky bh-bottom-0": n.stickyHeader })
2515
2521
  }, [
2516
2522
  G(At, {
2517
2523
  all: n,
@@ -2527,7 +2533,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2527
2533
  }, null, 8, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll"])
2528
2534
  ], 2)) : $("", !0)
2529
2535
  ], 2),
2530
- L.value && x.value ? (p(), m("div", hr, [
2536
+ L.value && C.value ? (p(), m("div", hr, [
2531
2537
  (p(), m("svg", {
2532
2538
  key: vt.value,
2533
2539
  xmlns: "http://www.w3.org/2000/svg",
@@ -2539,14 +2545,14 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2539
2545
  ], 6)
2540
2546
  ]),
2541
2547
  _: 3
2542
- })
2548
+ }, 8, ["style", "autoHide", "fixedThumb", "autoExpand", "direction"])
2543
2549
  ], 2),
2544
2550
  n.pagination && L.value ? (p(), m("div", {
2545
2551
  key: 0,
2546
- class: C(["bh-pagination", { "bh-pointer-events-none": x.value, "sticky-footer": n.stickyFooter }])
2552
+ class: x(["bh-pagination", { "bh-pointer-events-none": C.value, "sticky-footer": n.stickyFooter }])
2547
2553
  }, [
2548
2554
  v("div", gr, [
2549
- de(a.$slots, "footerpageinfo", {
2555
+ he(a.$slots, "footerpageinfo", {
2550
2556
  paginationInfo: a.paginationInfo,
2551
2557
  filterRowCount: L.value,
2552
2558
  offset: Pe.value,
@@ -2564,18 +2570,18 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2564
2570
  "onUpdate:modelValue": h[2] || (h[2] = (g) => i.value = g),
2565
2571
  class: "bh-pagesize"
2566
2572
  }, [
2567
- (p(!0), m(D, null, Y(n.pageSizeOptions, (g) => (p(), m("option", {
2573
+ (p(!0), m(H, null, Y(n.pageSizeOptions, (g) => (p(), m("option", {
2568
2574
  value: g,
2569
2575
  key: g
2570
2576
  }, A(g), 9, yr))), 128))
2571
2577
  ], 512)), [
2572
- [Bt, i.value]
2578
+ [Nt, i.value]
2573
2579
  ]) : $("", !0)
2574
2580
  ])
2575
2581
  ]),
2576
- de(a.$slots, "footerpagination", {
2582
+ he(a.$slots, "footerpagination", {
2577
2583
  currentPage: s.value,
2578
- maxPage: N.value,
2584
+ maxPage: B.value,
2579
2585
  paging: ot.value,
2580
2586
  movePage: st,
2581
2587
  nextPage: at,
@@ -2585,17 +2591,17 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2585
2591
  n.showFirstPage ? (p(), m("button", {
2586
2592
  key: 0,
2587
2593
  type: "button",
2588
- class: C(["bh-page-item first-page", { disabled: s.value <= 1 }]),
2594
+ class: x(["bh-page-item first-page", { disabled: s.value <= 1 }]),
2589
2595
  onClick: h[3] || (h[3] = (g) => s.value = 1)
2590
2596
  }, [
2591
2597
  n.firstArrow ? (p(), m("span", {
2592
2598
  key: 0,
2593
2599
  innerHTML: n.firstArrow
2594
- }, null, 8, kr)) : (p(), m("svg", Cr, Sr))
2600
+ }, null, 8, kr)) : (p(), m("svg", xr, Sr))
2595
2601
  ], 2)) : $("", !0),
2596
2602
  v("button", {
2597
2603
  type: "button",
2598
- class: C(["bh-page-item previous-page", { disabled: s.value <= 1 }]),
2604
+ class: x(["bh-page-item previous-page", { disabled: s.value <= 1 }]),
2599
2605
  onClick: it
2600
2606
  }, [
2601
2607
  n.previousArrow ? (p(), m("span", {
@@ -2603,10 +2609,10 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2603
2609
  innerHTML: n.previousArrow
2604
2610
  }, null, 8, _r)) : (p(), m("svg", Lr, Ir))
2605
2611
  ], 2),
2606
- n.showNumbers ? (p(!0), m(D, { key: 1 }, Y(ot.value, (g) => (p(), m("button", {
2612
+ n.showNumbers ? (p(!0), m(H, { key: 1 }, Y(ot.value, (g) => (p(), m("button", {
2607
2613
  key: g,
2608
2614
  type: "button",
2609
- class: C(["bh-page-item", {
2615
+ class: x(["bh-page-item", {
2610
2616
  disabled: s.value === g,
2611
2617
  "bh-active": g === s.value
2612
2618
  }]),
@@ -2614,7 +2620,7 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2614
2620
  }, A(g), 11, Tr))), 128)) : $("", !0),
2615
2621
  v("button", {
2616
2622
  type: "button",
2617
- class: C(["bh-page-item next-page", { disabled: s.value >= N.value }]),
2623
+ class: x(["bh-page-item next-page", { disabled: s.value >= B.value }]),
2618
2624
  onClick: at
2619
2625
  }, [
2620
2626
  n.nextArrow ? (p(), m("span", {
@@ -2625,8 +2631,8 @@ const Zl = /* @__PURE__ */ ie(fn(Ie({}, Yl), {
2625
2631
  n.showLastPage ? (p(), m("button", {
2626
2632
  key: 2,
2627
2633
  type: "button",
2628
- class: C(["bh-page-item last-page", { disabled: s.value >= N.value }]),
2629
- onClick: h[4] || (h[4] = (g) => s.value = N.value)
2634
+ class: x(["bh-page-item last-page", { disabled: s.value >= B.value }]),
2635
+ onClick: h[4] || (h[4] = (g) => s.value = B.value)
2630
2636
  }, [
2631
2637
  n.lastArrow ? (p(), m("span", {
2632
2638
  key: 0,