@dolusoft/vue3-datatable 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, onBeforeUnmount as Cn, onMounted as Ze, openBlock as p, createElementBlock as g, createElementVNode as m, withModifiers as le, normalizeClass as S, toDisplayString as R, Fragment as D, createCommentVNode as I, h as He, toRef as zn, ref as j, watch as Q, createBlock as Y, unref as V, createVNode as W, renderList as J, normalizeStyle as se, createTextVNode as je, withDirectives as Z, vModelText as Ne, vModelSelect as Vt, vShow as Ue, useCssVars as _n, computed as G, shallowRef as ee, onUnmounted as Ve, setBlockTracking as kt, mergeProps as Pn, renderSlot as oe, reactive as Mn, watchEffect as Ln, useSlots as Fn, withCtx as xe, vModelCheckbox as En } from "vue";
1
+ import { defineComponent as ae, onBeforeUnmount as Cn, onMounted as Ze, openBlock as p, createElementBlock as g, createElementVNode as m, withModifiers as se, normalizeClass as S, toDisplayString as R, Fragment as D, createCommentVNode as I, h as He, toRef as zn, ref as j, watch as W, createBlock as Y, unref as V, createVNode as Q, renderList as J, normalizeStyle as ne, createTextVNode as je, withDirectives as Z, vModelText as Ne, vModelSelect as Vt, vShow as Ue, useCssVars as _n, computed as G, shallowRef as ee, onUnmounted as Ve, setBlockTracking as kt, mergeProps as Pn, renderSlot as le, reactive as Mn, watchEffect as Ln, useSlots as Fn, withCtx as we, vModelCheckbox as En } from "vue";
2
2
  const In = { 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" }, Tn = {
3
3
  name: "columnFilter"
4
4
  }, $n = /* @__PURE__ */ ae({
@@ -20,111 +20,111 @@ const In = { class: "bh-filter-menu bh-absolute bh-z-[1] bh-bg-white bh-shadow-m
20
20
  return (s, r) => (p(), g("div", In, [
21
21
  m("div", {
22
22
  class: "bh-text-[13px] bh-font-normal bh-rounded bh-overflow-hidden",
23
- onClick: le(t, ["stop"])
23
+ onClick: se(t, ["stop"])
24
24
  }, [
25
25
  m("button", {
26
26
  type: "button",
27
27
  class: S({ active: n.column.condition === "" }),
28
- onClick: r[0] || (r[0] = (a) => l(""))
28
+ onClick: r[0] || (r[0] = (u) => l(""))
29
29
  }, R((n.columnFilterLang && n.columnFilterLang.no_filter) ?? "No filter"), 3),
30
30
  n.column.type === "string" ? (p(), g(D, { key: 0 }, [
31
31
  m("button", {
32
32
  type: "button",
33
33
  class: S({ active: n.column.condition === "contain" }),
34
- onClick: r[1] || (r[1] = (a) => l("contain"))
34
+ onClick: r[1] || (r[1] = (u) => l("contain"))
35
35
  }, R((n.columnFilterLang && n.columnFilterLang.contain) ?? "Contain"), 3),
36
36
  m("button", {
37
37
  type: "button",
38
38
  class: S({ active: n.column.condition === "not_contain" }),
39
- onClick: r[2] || (r[2] = (a) => l("not_contain"))
39
+ onClick: r[2] || (r[2] = (u) => l("not_contain"))
40
40
  }, R((n.columnFilterLang && n.columnFilterLang.not_contain) ?? "Not contain"), 3),
41
41
  m("button", {
42
42
  type: "button",
43
43
  class: S({ active: n.column.condition === "equal" }),
44
- onClick: r[3] || (r[3] = (a) => l("equal"))
44
+ onClick: r[3] || (r[3] = (u) => l("equal"))
45
45
  }, R((n.columnFilterLang && n.columnFilterLang.equal) ?? "Equal"), 3),
46
46
  m("button", {
47
47
  type: "button",
48
48
  class: S({ active: n.column.condition === "not_equal" }),
49
- onClick: r[4] || (r[4] = (a) => l("not_equal"))
49
+ onClick: r[4] || (r[4] = (u) => l("not_equal"))
50
50
  }, R((n.columnFilterLang && n.columnFilterLang.not_equal) ?? "Not equal"), 3),
51
51
  m("button", {
52
52
  type: "button",
53
53
  class: S({ active: n.column.condition === "start_with" }),
54
- onClick: r[5] || (r[5] = (a) => l("start_with"))
54
+ onClick: r[5] || (r[5] = (u) => l("start_with"))
55
55
  }, R((n.columnFilterLang && n.columnFilterLang.start_with) ?? "Starts with"), 3),
56
56
  m("button", {
57
57
  type: "button",
58
58
  class: S({ active: n.column.condition === "end_with" }),
59
- onClick: r[6] || (r[6] = (a) => l("end_with"))
59
+ onClick: r[6] || (r[6] = (u) => l("end_with"))
60
60
  }, R((n.columnFilterLang && n.columnFilterLang.end_with) ?? "Ends with"), 3)
61
61
  ], 64)) : n.column.type === "number" ? (p(), g(D, { key: 1 }, [
62
62
  m("button", {
63
63
  type: "button",
64
64
  class: S({ active: n.column.condition === "equal" }),
65
- onClick: r[7] || (r[7] = (a) => l("equal"))
65
+ onClick: r[7] || (r[7] = (u) => l("equal"))
66
66
  }, R((n.columnFilterLang && n.columnFilterLang.equal) ?? "Equal"), 3),
67
67
  m("button", {
68
68
  type: "button",
69
69
  class: S({ active: n.column.condition === "not_equal" }),
70
- onClick: r[8] || (r[8] = (a) => l("not_equal"))
70
+ onClick: r[8] || (r[8] = (u) => l("not_equal"))
71
71
  }, R((n.columnFilterLang && n.columnFilterLang.not_equal) ?? "Not equal"), 3),
72
72
  m("button", {
73
73
  type: "button",
74
74
  class: S({ active: n.column.condition === "greater_than" }),
75
- onClick: r[9] || (r[9] = (a) => l("greater_than"))
75
+ onClick: r[9] || (r[9] = (u) => l("greater_than"))
76
76
  }, R((n.columnFilterLang && n.columnFilterLang.greater_than) ?? "Greater than"), 3),
77
77
  m("button", {
78
78
  type: "button",
79
79
  class: S({ active: n.column.condition === "greater_than_equal" }),
80
- onClick: r[10] || (r[10] = (a) => l("greater_than_equal"))
80
+ onClick: r[10] || (r[10] = (u) => l("greater_than_equal"))
81
81
  }, R((n.columnFilterLang && n.columnFilterLang.greater_than_equal) ?? "Greater than or equal"), 3),
82
82
  m("button", {
83
83
  type: "button",
84
84
  class: S({ active: n.column.condition === "less_than" }),
85
- onClick: r[11] || (r[11] = (a) => l("less_than"))
85
+ onClick: r[11] || (r[11] = (u) => l("less_than"))
86
86
  }, R((n.columnFilterLang && n.columnFilterLang.less_than) ?? "Less than"), 3),
87
87
  m("button", {
88
88
  type: "button",
89
89
  class: S({ active: n.column.condition === "less_than_equal" }),
90
- onClick: r[12] || (r[12] = (a) => l("less_than_equal"))
90
+ onClick: r[12] || (r[12] = (u) => l("less_than_equal"))
91
91
  }, R((n.columnFilterLang && n.columnFilterLang.less_than_equal) ?? "Less than or equal"), 3)
92
92
  ], 64)) : n.column.type === "date" ? (p(), g(D, { key: 2 }, [
93
93
  m("button", {
94
94
  type: "button",
95
95
  class: S({ active: n.column.condition === "equal" }),
96
- onClick: r[13] || (r[13] = (a) => l("equal"))
96
+ onClick: r[13] || (r[13] = (u) => l("equal"))
97
97
  }, R((n.columnFilterLang && n.columnFilterLang.equal) ?? "Equal"), 3),
98
98
  m("button", {
99
99
  type: "button",
100
100
  class: S({ active: n.column.condition === "not_equal" }),
101
- onClick: r[14] || (r[14] = (a) => l("not_equal"))
101
+ onClick: r[14] || (r[14] = (u) => l("not_equal"))
102
102
  }, R((n.columnFilterLang && n.columnFilterLang.not_equal) ?? "Not equal"), 3),
103
103
  m("button", {
104
104
  type: "button",
105
105
  class: S({ active: n.column.condition === "greater_than" }),
106
- onClick: r[15] || (r[15] = (a) => l("greater_than"))
106
+ onClick: r[15] || (r[15] = (u) => l("greater_than"))
107
107
  }, R((n.columnFilterLang && n.columnFilterLang.greater_than) ?? "Greater than"), 3),
108
108
  m("button", {
109
109
  type: "button",
110
110
  class: S({ active: n.column.condition === "less_than" }),
111
- onClick: r[16] || (r[16] = (a) => l("less_than"))
111
+ onClick: r[16] || (r[16] = (u) => l("less_than"))
112
112
  }, R((n.columnFilterLang && n.columnFilterLang.less_than) ?? "Less than"), 3)
113
113
  ], 64)) : I("", !0),
114
114
  m("button", {
115
115
  type: "button",
116
116
  class: S({ active: n.column.condition === "is_null" }),
117
- onClick: r[17] || (r[17] = (a) => l("is_null"))
117
+ onClick: r[17] || (r[17] = (u) => l("is_null"))
118
118
  }, R((n.columnFilterLang && n.columnFilterLang.is_null) ?? "Is null"), 3),
119
119
  m("button", {
120
120
  type: "button",
121
121
  class: S({ active: n.column.condition === "is_not_null" }),
122
- onClick: r[18] || (r[18] = (a) => l("is_not_null"))
122
+ onClick: r[18] || (r[18] = (u) => l("is_not_null"))
123
123
  }, R((n.columnFilterLang && n.columnFilterLang.is_not_null) ?? "Not null"), 3)
124
124
  ])
125
125
  ]));
126
126
  }
127
- }), Fe = (e, i) => {
127
+ }), Ee = (e, i) => {
128
128
  const n = e.__vccOpts || e;
129
129
  for (const [o, t] of i)
130
130
  n[o] = t;
@@ -150,7 +150,7 @@ const In = { class: "bh-filter-menu bh-absolute bh-z-[1] bh-bg-white bh-shadow-m
150
150
  function Dn(e, i) {
151
151
  return p(), g("svg", Rn, Nn);
152
152
  }
153
- const Wt = /* @__PURE__ */ Fe(On, [["render", Dn]]), qn = {}, Bn = {
153
+ const Wt = /* @__PURE__ */ Ee(On, [["render", Dn]]), qn = {}, Bn = {
154
154
  viewBox: "0 0 24 24",
155
155
  width: "24",
156
156
  height: "24",
@@ -171,7 +171,7 @@ const Wt = /* @__PURE__ */ Fe(On, [["render", Dn]]), qn = {}, Bn = {
171
171
  function Un(e, i) {
172
172
  return p(), g("svg", Bn, jn);
173
173
  }
174
- const Vn = /* @__PURE__ */ Fe(qn, [["render", Un]]), Wn = {}, Qn = {
174
+ const Vn = /* @__PURE__ */ Ee(qn, [["render", Un]]), Wn = {}, Qn = {
175
175
  viewBox: "0 0 24 24",
176
176
  width: "24",
177
177
  height: "24",
@@ -187,7 +187,7 @@ const Vn = /* @__PURE__ */ Fe(qn, [["render", Un]]), Wn = {}, Qn = {
187
187
  function Xn(e, i) {
188
188
  return p(), g("svg", Qn, Kn);
189
189
  }
190
- const Yn = /* @__PURE__ */ Fe(Wn, [["render", Xn]]), pe = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ee = (e, i, n, o = "") => {
190
+ const Yn = /* @__PURE__ */ Ee(Wn, [["render", Xn]]), pe = /^[a-z0-9]+(-[a-z0-9]+)*$/, Ie = (e, i, n, o = "") => {
191
191
  const t = e.split(":");
192
192
  if (e.slice(0, 1) === "@") {
193
193
  if (t.length < 2 || t.length > 3)
@@ -197,13 +197,13 @@ const Yn = /* @__PURE__ */ Fe(Wn, [["render", Xn]]), pe = /^[a-z0-9]+(-[a-z0-9]+
197
197
  if (t.length > 3 || !t.length)
198
198
  return null;
199
199
  if (t.length > 1) {
200
- const r = t.pop(), a = t.pop(), c = {
200
+ const r = t.pop(), u = t.pop(), c = {
201
201
  // Allow provider without '@': "provider:prefix:name"
202
202
  provider: t.length > 0 ? t[0] : o,
203
- prefix: a,
203
+ prefix: u,
204
204
  name: r
205
205
  };
206
- return i && !ke(c) ? null : c;
206
+ return i && !Ce(c) ? null : c;
207
207
  }
208
208
  const l = t[0], s = l.split("-");
209
209
  if (s.length > 1) {
@@ -212,7 +212,7 @@ const Yn = /* @__PURE__ */ Fe(Wn, [["render", Xn]]), pe = /^[a-z0-9]+(-[a-z0-9]+
212
212
  prefix: s.shift(),
213
213
  name: s.join("-")
214
214
  };
215
- return i && !ke(r) ? null : r;
215
+ return i && !Ce(r) ? null : r;
216
216
  }
217
217
  if (n && o === "") {
218
218
  const r = {
@@ -220,25 +220,25 @@ const Yn = /* @__PURE__ */ Fe(Wn, [["render", Xn]]), pe = /^[a-z0-9]+(-[a-z0-9]+
220
220
  prefix: "",
221
221
  name: l
222
222
  };
223
- return i && !ke(r, n) ? null : r;
223
+ return i && !Ce(r, n) ? null : r;
224
224
  }
225
225
  return null;
226
- }, ke = (e, i) => e ? !!((e.provider === "" || e.provider.match(pe)) && (i && e.prefix === "" || e.prefix.match(pe)) && e.name.match(pe)) : !1, Qt = Object.freeze(
226
+ }, Ce = (e, i) => e ? !!((e.provider === "" || e.provider.match(pe)) && (i && e.prefix === "" || e.prefix.match(pe)) && e.name.match(pe)) : !1, Qt = Object.freeze(
227
227
  {
228
228
  left: 0,
229
229
  top: 0,
230
230
  width: 16,
231
231
  height: 16
232
232
  }
233
- ), _e = Object.freeze({
233
+ ), Pe = Object.freeze({
234
234
  rotate: 0,
235
235
  vFlip: !1,
236
236
  hFlip: !1
237
- }), Ie = Object.freeze({
237
+ }), Te = Object.freeze({
238
238
  ...Qt,
239
- ..._e
239
+ ...Pe
240
240
  }), We = Object.freeze({
241
- ...Ie,
241
+ ...Te,
242
242
  body: "",
243
243
  hidden: !1
244
244
  });
@@ -251,7 +251,7 @@ function Jn(e, i) {
251
251
  function Ct(e, i) {
252
252
  const n = Jn(e, i);
253
253
  for (const o in We)
254
- o in _e ? o in e && !(o in n) && (n[o] = _e[o]) : o in i ? n[o] = i[o] : o in e && (n[o] = e[o]);
254
+ o in Pe ? o in e && !(o in n) && (n[o] = Pe[o]) : o in i ? n[o] = i[o] : o in e && (n[o] = e[o]);
255
255
  return n;
256
256
  }
257
257
  function Zn(e, i) {
@@ -261,8 +261,8 @@ function Zn(e, i) {
261
261
  return t[s] = [];
262
262
  if (!(s in t)) {
263
263
  t[s] = null;
264
- const r = o[s] && o[s].parent, a = r && l(r);
265
- a && (t[s] = [r].concat(a));
264
+ const r = o[s] && o[s].parent, u = r && l(r);
265
+ u && (t[s] = [r].concat(u));
266
266
  }
267
267
  return t[s];
268
268
  }
@@ -362,14 +362,14 @@ function Xt(e) {
362
362
  return typeof e == "boolean" && (ve = e), ve;
363
363
  }
364
364
  function oi(e) {
365
- const i = typeof e == "string" ? Ee(e, !0, ve) : e;
365
+ const i = typeof e == "string" ? Ie(e, !0, ve) : e;
366
366
  if (i) {
367
367
  const n = re(i.provider, i.prefix), o = i.name;
368
368
  return n.icons[o] || (n.missing.has(o) ? null : void 0);
369
369
  }
370
370
  }
371
371
  function li(e, i) {
372
- const n = Ee(e, !0, ve);
372
+ const n = Ie(e, !0, ve);
373
373
  if (!n)
374
374
  return !1;
375
375
  const o = re(n.provider, n.prefix);
@@ -385,7 +385,7 @@ function si(e, i) {
385
385
  })), t;
386
386
  }
387
387
  const n = e.prefix;
388
- if (!ke({
388
+ if (!Ce({
389
389
  provider: i,
390
390
  prefix: n,
391
391
  name: "a"
@@ -401,7 +401,7 @@ const Yt = Object.freeze({
401
401
  // Dimensions
402
402
  ...Yt,
403
403
  // Transformations
404
- ..._e
404
+ ...Pe
405
405
  }), ri = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ai = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
406
406
  function _t(e, i, n) {
407
407
  if (i === 1)
@@ -429,7 +429,7 @@ function _t(e, i, n) {
429
429
  const ui = (e) => e === "unset" || e === "undefined" || e === "none";
430
430
  function ci(e, i) {
431
431
  const n = {
432
- ...Ie,
432
+ ...Te,
433
433
  ...e
434
434
  }, o = {
435
435
  ...Jt,
@@ -469,13 +469,13 @@ function ci(e, i) {
469
469
  }
470
470
  O % 2 === 1 && (t.left !== t.top && ($ = t.left, t.left = t.top, t.top = $), t.width !== t.height && ($ = t.width, t.width = t.height, t.height = $)), z.length && (l = '<g transform="' + z.join(" ") + '">' + l + "</g>");
471
471
  });
472
- const s = o.width, r = o.height, a = t.width, c = t.height;
472
+ const s = o.width, r = o.height, u = t.width, c = t.height;
473
473
  let f, y;
474
- s === null ? (y = r === null ? "1em" : r === "auto" ? c : r, f = _t(y, a / c)) : (f = s === "auto" ? a : s, y = r === null ? _t(f, c / a) : r === "auto" ? c : r);
474
+ s === null ? (y = r === null ? "1em" : r === "auto" ? c : r, f = _t(y, u / c)) : (f = s === "auto" ? u : s, y = r === null ? _t(f, c / u) : r === "auto" ? c : r);
475
475
  const C = {}, _ = (P, z) => {
476
476
  ui(z) || (C[P] = z.toString());
477
477
  };
478
- return _("width", f), _("height", y), C.viewBox = t.left.toString() + " " + t.top.toString() + " " + a.toString() + " " + c.toString(), {
478
+ return _("width", f), _("height", y), C.viewBox = t.left.toString() + " " + t.top.toString() + " " + u.toString() + " " + c.toString(), {
479
479
  attributes: C,
480
480
  body: l
481
481
  };
@@ -535,11 +535,11 @@ function tt(e) {
535
535
  const nt = /* @__PURE__ */ Object.create(null), fe = [
536
536
  "https://api.simplesvg.com",
537
537
  "https://api.unisvg.com"
538
- ], Ce = [];
538
+ ], ze = [];
539
539
  for (; fe.length > 0; )
540
- fe.length === 1 || Math.random() > 0.5 ? Ce.push(fe.shift()) : Ce.push(fe.pop());
540
+ fe.length === 1 || Math.random() > 0.5 ? ze.push(fe.shift()) : ze.push(fe.pop());
541
541
  nt[""] = tt({
542
- resources: ["https://api.iconify.design"].concat(Ce)
542
+ resources: ["https://api.iconify.design"].concat(ze)
543
543
  });
544
544
  function vi(e, i) {
545
545
  const n = tt(i);
@@ -585,13 +585,13 @@ const xi = (e, i, n) => {
585
585
  prefix: i,
586
586
  icons: []
587
587
  }, r = 0;
588
- return n.forEach((a, c) => {
589
- r += a.length + 1, r >= t && c > 0 && (o.push(s), s = {
588
+ return n.forEach((u, c) => {
589
+ r += u.length + 1, r >= t && c > 0 && (o.push(s), s = {
590
590
  type: l,
591
591
  provider: e,
592
592
  prefix: i,
593
593
  icons: []
594
- }, r = a.length), s.icons.push(a);
594
+ }, r = u.length), s.icons.push(u);
595
595
  }), o.push(s), o;
596
596
  };
597
597
  function wi(e) {
@@ -610,10 +610,10 @@ const Si = (e, i, n) => {
610
610
  let o = wi(i.provider);
611
611
  switch (i.type) {
612
612
  case "icons": {
613
- const l = i.prefix, r = i.icons.join(","), a = new URLSearchParams({
613
+ const l = i.prefix, r = i.icons.join(","), u = new URLSearchParams({
614
614
  icons: r
615
615
  });
616
- o += l + ".json?" + a.toString();
616
+ o += l + ".json?" + u.toString();
617
617
  break;
618
618
  }
619
619
  case "custom": {
@@ -668,7 +668,7 @@ function Ci(e) {
668
668
  if (o.name === t.name && o.prefix === t.prefix && o.provider === t.provider)
669
669
  return;
670
670
  o = t;
671
- const l = t.provider, s = t.prefix, r = t.name, a = n[l] || (n[l] = /* @__PURE__ */ Object.create(null)), c = a[s] || (a[s] = re(l, s));
671
+ const l = t.provider, s = t.prefix, r = t.name, u = n[l] || (n[l] = /* @__PURE__ */ Object.create(null)), c = u[s] || (u[s] = re(l, s));
672
672
  let f;
673
673
  r in c.icons ? f = i.loaded : s === "" || c.missing.has(r) ? f = i.missing : f = i.pending;
674
674
  const y = {
@@ -695,10 +695,10 @@ function zi(e) {
695
695
  const o = e.provider, t = e.prefix;
696
696
  i.forEach((l) => {
697
697
  const s = l.icons, r = s.pending.length;
698
- s.pending = s.pending.filter((a) => {
699
- if (a.prefix !== t)
698
+ s.pending = s.pending.filter((u) => {
699
+ if (u.prefix !== t)
700
700
  return !0;
701
- const c = a.name;
701
+ const c = u.name;
702
702
  if (e.icons[c])
703
703
  s.loaded.push({
704
704
  provider: o,
@@ -741,7 +741,7 @@ function Pi(e, i, n) {
741
741
  function Mi(e, i = !0, n = !1) {
742
742
  const o = [];
743
743
  return e.forEach((t) => {
744
- const l = typeof t == "string" ? Ee(t, i, n) : t;
744
+ const l = typeof t == "string" ? Ie(t, i, n) : t;
745
745
  l && o.push(l);
746
746
  }), o;
747
747
  }
@@ -766,13 +766,13 @@ function Fi(e, i, n, o) {
766
766
  } else
767
767
  s = e.resources.slice(l).concat(e.resources.slice(0, l));
768
768
  const r = Date.now();
769
- let a = "pending", c = 0, f, y = null, C = [], _ = [];
769
+ let u = "pending", c = 0, f, y = null, C = [], _ = [];
770
770
  typeof o == "function" && _.push(o);
771
771
  function P() {
772
772
  y && (clearTimeout(y), y = null);
773
773
  }
774
774
  function z() {
775
- a === "pending" && (a = "aborted"), P(), C.forEach((x) => {
775
+ u === "pending" && (u = "aborted"), P(), C.forEach((x) => {
776
776
  x.status === "pending" && (x.status = "aborted");
777
777
  }), C = [];
778
778
  }
@@ -783,7 +783,7 @@ function Fi(e, i, n, o) {
783
783
  return {
784
784
  startTime: r,
785
785
  payload: i,
786
- status: a,
786
+ status: u,
787
787
  queriesSent: c,
788
788
  queriesPending: C.length,
789
789
  subscribe: k,
@@ -791,7 +791,7 @@ function Fi(e, i, n, o) {
791
791
  };
792
792
  }
793
793
  function O() {
794
- a = "failed", _.forEach((x) => {
794
+ u = "failed", _.forEach((x) => {
795
795
  x(void 0, f);
796
796
  });
797
797
  }
@@ -802,7 +802,7 @@ function Fi(e, i, n, o) {
802
802
  }
803
803
  function A(x, b, F) {
804
804
  const M = b !== "success";
805
- switch (C = C.filter((B) => B !== x), a) {
805
+ switch (C = C.filter((B) => B !== x), u) {
806
806
  case "pending":
807
807
  break;
808
808
  case "failed":
@@ -824,19 +824,19 @@ function Fi(e, i, n, o) {
824
824
  const B = e.resources.indexOf(x.resource);
825
825
  B !== -1 && B !== e.index && (e.index = B);
826
826
  }
827
- a = "completed", _.forEach((B) => {
827
+ u = "completed", _.forEach((B) => {
828
828
  B(F);
829
829
  });
830
830
  }
831
831
  function q() {
832
- if (a !== "pending")
832
+ if (u !== "pending")
833
833
  return;
834
834
  P();
835
835
  const x = s.shift();
836
836
  if (x === void 0) {
837
837
  if (C.length) {
838
838
  y = setTimeout(() => {
839
- P(), a === "pending" && ($(), O());
839
+ P(), u === "pending" && ($(), O());
840
840
  }, e.timeout);
841
841
  return;
842
842
  }
@@ -863,11 +863,11 @@ function en(e) {
863
863
  function o() {
864
864
  n = n.filter((r) => r().status === "pending");
865
865
  }
866
- function t(r, a, c) {
866
+ function t(r, u, c) {
867
867
  const f = Fi(
868
868
  i,
869
869
  r,
870
- a,
870
+ u,
871
871
  (y, C) => {
872
872
  o(), c && c(y, C);
873
873
  }
@@ -875,7 +875,7 @@ function en(e) {
875
875
  return n.push(f), f;
876
876
  }
877
877
  function l(r) {
878
- return n.find((a) => r(a)) || null;
878
+ return n.find((u) => r(u)) || null;
879
879
  }
880
880
  return {
881
881
  query: t,
@@ -947,7 +947,7 @@ function Xe(e, i) {
947
947
  function Ye(e) {
948
948
  return parseInt(Ke(e, tn)) || 0;
949
949
  }
950
- const Te = {
950
+ const $e = {
951
951
  local: !0,
952
952
  session: !0
953
953
  }, on = {
@@ -958,15 +958,15 @@ let lt = !1;
958
958
  function $i(e) {
959
959
  lt = e;
960
960
  }
961
- let we = typeof window > "u" ? {} : window;
961
+ let Se = typeof window > "u" ? {} : window;
962
962
  function ln(e) {
963
963
  const i = e + "Storage";
964
964
  try {
965
- if (we && we[i] && typeof we[i].length == "number")
966
- return we[i];
965
+ if (Se && Se[i] && typeof Se[i].length == "number")
966
+ return Se[i];
967
967
  } catch {
968
968
  }
969
- Te[e] = !1;
969
+ $e[e] = !1;
970
970
  }
971
971
  function sn(e, i) {
972
972
  const n = ln(e);
@@ -976,14 +976,14 @@ function sn(e, i) {
976
976
  if (o !== Lt) {
977
977
  if (o) {
978
978
  const r = Ye(n);
979
- for (let a = 0; a < r; a++)
980
- Et(n, ge + a.toString());
979
+ for (let u = 0; u < r; u++)
980
+ Et(n, ge + u.toString());
981
981
  }
982
982
  ot(n, Ft, Lt), Xe(n, 0);
983
983
  return;
984
984
  }
985
985
  const t = Math.floor(Date.now() / nn) - Ti, l = (r) => {
986
- const a = ge + r.toString(), c = Ke(n, a);
986
+ const u = ge + r.toString(), c = Ke(n, u);
987
987
  if (typeof c == "string") {
988
988
  try {
989
989
  const f = JSON.parse(c);
@@ -992,7 +992,7 @@ function sn(e, i) {
992
992
  return !0;
993
993
  } catch {
994
994
  }
995
- Et(n, a);
995
+ Et(n, u);
996
996
  }
997
997
  };
998
998
  let s = Ye(n);
@@ -1002,7 +1002,7 @@ function sn(e, i) {
1002
1002
  function rn() {
1003
1003
  if (!lt) {
1004
1004
  $i(!0);
1005
- for (const e in Te)
1005
+ for (const e in $e)
1006
1006
  sn(e, (i) => {
1007
1007
  const n = i.data, o = i.provider, t = n.prefix, l = re(
1008
1008
  o,
@@ -1023,7 +1023,7 @@ function Oi(e, i) {
1023
1023
  )
1024
1024
  return n === i;
1025
1025
  if (e.lastModifiedCached = i, n)
1026
- for (const o in Te)
1026
+ for (const o in $e)
1027
1027
  sn(o, (t) => {
1028
1028
  const l = t.data;
1029
1029
  return t.provider !== e.provider || l.prefix !== e.prefix || l.lastModified === i;
@@ -1034,7 +1034,7 @@ function Ri(e, i) {
1034
1034
  lt || rn();
1035
1035
  function n(o) {
1036
1036
  let t;
1037
- if (!Te[o] || !(t = ln(o)))
1037
+ if (!$e[o] || !(t = ln(o)))
1038
1038
  return;
1039
1039
  const l = on[o];
1040
1040
  let s;
@@ -1071,8 +1071,8 @@ function Ni(e, i) {
1071
1071
  if (!t || !(l = Ge(n)))
1072
1072
  return;
1073
1073
  l.prepare(n, o, t).forEach((r) => {
1074
- Ii(n, r, (a) => {
1075
- if (typeof a != "object")
1074
+ Ii(n, r, (u) => {
1075
+ if (typeof u != "object")
1076
1076
  r.icons.forEach((c) => {
1077
1077
  e.missing.add(c);
1078
1078
  });
@@ -1080,14 +1080,14 @@ function Ni(e, i) {
1080
1080
  try {
1081
1081
  const c = et(
1082
1082
  e,
1083
- a
1083
+ u
1084
1084
  );
1085
1085
  if (!c.length)
1086
1086
  return;
1087
1087
  const f = e.pendingIcons;
1088
1088
  f && c.forEach((y) => {
1089
1089
  f.delete(y);
1090
- }), Ri(e, a);
1090
+ }), Ri(e, u);
1091
1091
  } catch (c) {
1092
1092
  console.error(c);
1093
1093
  }
@@ -1099,33 +1099,33 @@ function Ni(e, i) {
1099
1099
  const Di = (e, i) => {
1100
1100
  const n = Mi(e, !0, Xt()), o = Ci(n);
1101
1101
  if (!o.pending.length) {
1102
- let a = !0;
1102
+ let u = !0;
1103
1103
  return i && setTimeout(() => {
1104
- a && i(
1104
+ u && i(
1105
1105
  o.loaded,
1106
1106
  o.missing,
1107
1107
  o.pending,
1108
1108
  It
1109
1109
  );
1110
1110
  }), () => {
1111
- a = !1;
1111
+ u = !1;
1112
1112
  };
1113
1113
  }
1114
1114
  const t = /* @__PURE__ */ Object.create(null), l = [];
1115
1115
  let s, r;
1116
- return o.pending.forEach((a) => {
1117
- const { provider: c, prefix: f } = a;
1116
+ return o.pending.forEach((u) => {
1117
+ const { provider: c, prefix: f } = u;
1118
1118
  if (f === r && c === s)
1119
1119
  return;
1120
1120
  s = c, r = f, l.push(re(c, f));
1121
1121
  const y = t[c] || (t[c] = /* @__PURE__ */ Object.create(null));
1122
1122
  y[f] || (y[f] = []);
1123
- }), o.pending.forEach((a) => {
1124
- const { provider: c, prefix: f, name: y } = a, C = re(c, f), _ = C.pendingIcons || (C.pendingIcons = /* @__PURE__ */ new Set());
1123
+ }), o.pending.forEach((u) => {
1124
+ const { provider: c, prefix: f, name: y } = u, C = re(c, f), _ = C.pendingIcons || (C.pendingIcons = /* @__PURE__ */ new Set());
1125
1125
  _.has(y) || (_.add(y), t[c][f].push(y));
1126
- }), l.forEach((a) => {
1127
- const { provider: c, prefix: f } = a;
1128
- t[c][f].length && Ni(a, t[c][f]);
1126
+ }), l.forEach((u) => {
1127
+ const { provider: c, prefix: f } = u;
1128
+ t[c][f].length && Ni(u, t[c][f]);
1129
1129
  }), i ? Pi(i, o, l) : It;
1130
1130
  };
1131
1131
  function qi(e, i) {
@@ -1220,10 +1220,10 @@ for (const e in Ot) {
1220
1220
  for (const n in $t)
1221
1221
  i[e + n] = $t[n];
1222
1222
  }
1223
- const ze = {};
1223
+ const _e = {};
1224
1224
  ["horizontal", "vertical"].forEach((e) => {
1225
1225
  const i = e.slice(0, 1) + "Flip";
1226
- ze[e + "-flip"] = i, ze[e.slice(0, 1) + "-flip"] = i, ze[e + "Flip"] = i;
1226
+ _e[e + "-flip"] = i, _e[e.slice(0, 1) + "-flip"] = i, _e[e + "Flip"] = i;
1227
1227
  });
1228
1228
  function Rt(e) {
1229
1229
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
@@ -1258,19 +1258,19 @@ const At = (e, i) => {
1258
1258
  k !== !0 && k !== "true" && delete o["aria-hidden"];
1259
1259
  break;
1260
1260
  default: {
1261
- const T = ze[z];
1261
+ const T = _e[z];
1262
1262
  T ? (k === !0 || k === "true" || k === 1) && (n[T] = !0) : Tt[z] === void 0 && (o[z] = k);
1263
1263
  }
1264
1264
  }
1265
1265
  }
1266
- const a = ci(e, n), c = a.attributes;
1266
+ const u = ci(e, n), c = u.attributes;
1267
1267
  if (n.inline && (l.verticalAlign = "-0.125em"), t === "svg") {
1268
1268
  o.style = {
1269
1269
  ...l,
1270
1270
  ...r
1271
1271
  }, Object.assign(o, c);
1272
1272
  let z = 0, k = i.id;
1273
- return typeof k == "string" && (k = k.replace(/-/g, "_")), o.innerHTML = pi(a.body, k ? () => k + "ID" + z++ : "iconifyVue"), He("svg", o);
1273
+ return typeof k == "string" && (k = k.replace(/-/g, "_")), o.innerHTML = pi(u.body, k ? () => k + "ID" + z++ : "iconifyVue"), He("svg", o);
1274
1274
  }
1275
1275
  const { body: f, width: y, height: C } = e, _ = t === "mask" || (t === "bg" ? !1 : f.indexOf("currentColor") !== -1), P = Ui(f, {
1276
1276
  ...c,
@@ -1322,9 +1322,9 @@ if (typeof document < "u" && typeof window < "u") {
1322
1322
  }
1323
1323
  }
1324
1324
  const Xi = {
1325
- ...Ie,
1325
+ ...Te,
1326
1326
  body: ""
1327
- }, ie = ae({
1327
+ }, oe = ae({
1328
1328
  // Do not inherit other attributes: it is handled by render()
1329
1329
  inheritAttrs: !1,
1330
1330
  // Set initial data
@@ -1353,7 +1353,7 @@ const Xi = {
1353
1353
  data: e
1354
1354
  };
1355
1355
  let n;
1356
- if (typeof e != "string" || (n = Ee(e, !1, !0)) === null)
1356
+ if (typeof e != "string" || (n = Ie(e, !1, !0)) === null)
1357
1357
  return this.abortLoading(), null;
1358
1358
  const o = oi(n);
1359
1359
  if (!o)
@@ -1379,7 +1379,7 @@ const Xi = {
1379
1379
  ...e,
1380
1380
  class: (typeof e.class == "string" ? e.class + " " : "") + i.classes.join(" ")
1381
1381
  }), At({
1382
- ...Ie,
1382
+ ...Te,
1383
1383
  ...i.data
1384
1384
  }, n);
1385
1385
  }
@@ -1400,50 +1400,50 @@ const Xi = {
1400
1400
  r.isExpanded = o.value;
1401
1401
  });
1402
1402
  else {
1403
- const r = n.value.find((a) => a.id == s);
1403
+ const r = n.value.find((u) => u.id == s);
1404
1404
  r ? r.isExpanded = !r.isExpanded : n.value.push({ id: s, isExpanded: !0 });
1405
1405
  }
1406
1406
  }
1407
1407
  const l = j(-1);
1408
- return Q(
1408
+ return W(
1409
1409
  () => n.value,
1410
1410
  (s, r) => {
1411
- var a;
1412
- new Set(n.value.map((c) => c.isExpanded)).size > 1 ? (l.value = -1, o.value = !0) : (a = n.value.at(0)) != null && a.isExpanded ? (l.value = 0, o.value = !0) : (l.value = 1, o.value = !1);
1411
+ var u;
1412
+ new Set(n.value.map((c) => c.isExpanded)).size > 1 ? (l.value = -1, o.value = !0) : (u = n.value.at(0)) != null && u.isExpanded ? (l.value = 0, o.value = !0) : (l.value = 1, o.value = !1);
1413
1413
  },
1414
1414
  { deep: !0 }
1415
1415
  ), (s, r) => {
1416
- var a, c;
1416
+ var u, c;
1417
1417
  return p(), g("button", {
1418
1418
  class: "expandbtn",
1419
1419
  onClick: r[0] || (r[0] = (f) => t(s.item.id))
1420
1420
  }, [
1421
- (((a = n.value.find((f) => f.id == s.item.id)) == null ? void 0 : a.isExpanded) == null ? o.value : (c = n.value.find((f) => f.id == s.item.id)) != null && c.isExpanded) ? (p(), g(D, { key: 0 }, [
1421
+ (((u = n.value.find((f) => f.id == s.item.id)) == null ? void 0 : u.isExpanded) == null ? o.value : (c = n.value.find((f) => f.id == s.item.id)) != null && c.isExpanded) ? (p(), g(D, { key: 0 }, [
1422
1422
  i.expandall ? (p(), g(D, { key: 0 }, [
1423
- l.value ? (p(), Y(V(ie), {
1423
+ l.value ? (p(), Y(V(oe), {
1424
1424
  key: 0,
1425
1425
  icon: "fluent:chevron-down-up-16-filled"
1426
- })) : (p(), Y(V(ie), {
1426
+ })) : (p(), Y(V(oe), {
1427
1427
  key: 1,
1428
1428
  icon: "mdi:chevron-down"
1429
1429
  }))
1430
- ], 64)) : (p(), Y(V(ie), {
1430
+ ], 64)) : (p(), Y(V(oe), {
1431
1431
  key: 1,
1432
1432
  icon: "mdi:chevron-down"
1433
1433
  }))
1434
1434
  ], 64)) : (p(), g(D, { key: 1 }, [
1435
1435
  i.expandall ? (p(), g(D, { key: 0 }, [
1436
- l.value == -1 ? (p(), Y(V(ie), {
1436
+ l.value == -1 ? (p(), Y(V(oe), {
1437
1437
  key: 0,
1438
1438
  icon: "ion:chevron-expand"
1439
- })) : l.value == 0 ? (p(), Y(V(ie), {
1439
+ })) : l.value == 0 ? (p(), Y(V(oe), {
1440
1440
  key: 1,
1441
1441
  icon: "mdi:chevron-down"
1442
- })) : (p(), Y(V(ie), {
1442
+ })) : (p(), Y(V(oe), {
1443
1443
  key: 2,
1444
1444
  icon: "mdi:chevron-right"
1445
1445
  }))
1446
- ], 64)) : (p(), Y(V(ie), {
1446
+ ], 64)) : (p(), Y(V(oe), {
1447
1447
  key: 1,
1448
1448
  icon: "mdi:chevron-right"
1449
1449
  }))
@@ -1451,7 +1451,7 @@ const Xi = {
1451
1451
  ]);
1452
1452
  };
1453
1453
  }
1454
- }), un = /* @__PURE__ */ Fe(Ji, [["__scopeId", "data-v-9a30837e"]]), Zi = { key: "hdrrow" }, eo = { class: "bh-checkbox" }, to = {
1454
+ }), un = /* @__PURE__ */ Ee(Ji, [["__scopeId", "data-v-9a30837e"]]), Zi = { key: "hdrrow" }, eo = { class: "bh-checkbox" }, to = {
1455
1455
  key: 1,
1456
1456
  class: "bh-w-px"
1457
1457
  }, no = ["onClick"], io = {
@@ -1474,7 +1474,7 @@ const Xi = {
1474
1474
  emits: ["selectAll", "sortChange", "filterChange", "toggleFilterMenu"],
1475
1475
  setup(e, { emit: i }) {
1476
1476
  const n = j(null), o = e, t = i;
1477
- return Q(() => o.checkAll, () => {
1477
+ return W(() => o.checkAll, () => {
1478
1478
  n.value && (n.value.indeterminate = o.checkAll !== 0 ? !o.checkAll : !1, n.value.checked = o.checkAll);
1479
1479
  }), (s, r) => (p(), g("tr", Zi, [
1480
1480
  o.all.hasCheckbox ? (p(), g("th", {
@@ -1490,11 +1490,11 @@ const Xi = {
1490
1490
  ref_key: "selectedAll",
1491
1491
  ref: n,
1492
1492
  type: "checkbox",
1493
- onClick: r[0] || (r[0] = le((a) => t("selectAll", a.target.checked), ["stop"]))
1493
+ onClick: r[0] || (r[0] = se((u) => t("selectAll", u.target.checked), ["stop"]))
1494
1494
  }, null, 512),
1495
1495
  m("div", null, [
1496
- W(Wt, { class: "check" }),
1497
- W(Vn, { class: "intermediate" })
1496
+ Q(Wt, { class: "check" }),
1497
+ Q(Vn, { class: "intermediate" })
1498
1498
  ])
1499
1499
  ])
1500
1500
  ], 2)) : I("", !0),
@@ -1505,26 +1505,26 @@ const Xi = {
1505
1505
  expandall: o.all.expandall
1506
1506
  }, null, 8, ["expandedrows", "expandall"])) : I("", !0)
1507
1507
  ])) : I("", !0),
1508
- (p(!0), g(D, null, J(o.all.columns, (a, c) => (p(), g(D, null, [
1509
- a.hide ? I("", !0) : (p(), g("th", {
1510
- key: a.field,
1508
+ (p(!0), g(D, null, J(o.all.columns, (u, c) => (p(), g(D, null, [
1509
+ u.hide ? I("", !0) : (p(), g("th", {
1510
+ key: u.field,
1511
1511
  class: S(["bh-select-none bh-z-[1]", [
1512
- o.all.sortable && a.sort ? "bh-cursor-pointer" : "",
1512
+ o.all.sortable && u.sort ? "bh-cursor-pointer" : "",
1513
1513
  c === 0 && o.all.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
1514
1514
  o.all.hasCheckbox && c === 0 && o.all.stickyFirstColumn ? "bh-left-[52px]" : ""
1515
1515
  ]]),
1516
- style: se({
1517
- width: a.width,
1518
- "min-width": a.minWidth,
1519
- "max-width": a.maxWidth
1516
+ style: ne({
1517
+ width: u.width,
1518
+ "min-width": u.minWidth,
1519
+ "max-width": u.maxWidth
1520
1520
  })
1521
1521
  }, [
1522
1522
  m("div", {
1523
- class: S(["bh-flex bh-items-center", [a.headerClass ? a.headerClass : ""]]),
1524
- onClick: (f) => o.all.sortable && a.sort && t("sortChange", a.field)
1523
+ class: S(["bh-flex bh-items-center", [u.headerClass ? u.headerClass : ""]]),
1524
+ onClick: (f) => o.all.sortable && u.sort && t("sortChange", u.field)
1525
1525
  }, [
1526
- je(R(a.title) + " ", 1),
1527
- o.all.sortable && a.sort ? (p(), g("span", {
1526
+ je(R(u.title) + " ", 1),
1527
+ o.all.sortable && u.sort ? (p(), g("span", {
1528
1528
  key: 0,
1529
1529
  class: S(["bh-ml-3 bh-sort bh-flex bh-items-center", [o.currentSortColumn, o.currentSortDirection]])
1530
1530
  }, [
@@ -1532,81 +1532,81 @@ const Xi = {
1532
1532
  m("polygon", {
1533
1533
  points: "3.11,6.25 10.89,6.25 7,1.75 ",
1534
1534
  fill: "currentColor",
1535
- class: S(["bh-text-black/20", [e.currentSortColumn === a.field && e.currentSortDirection === "asc" ? "!bh-text-primary" : ""]])
1535
+ class: S(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "asc" ? "!bh-text-primary" : ""]])
1536
1536
  }, null, 2),
1537
1537
  m("polygon", {
1538
1538
  points: "7,12.25 10.89,7.75 3.11,7.75 ",
1539
1539
  fill: "currentColor",
1540
- class: S(["bh-text-black/20", [e.currentSortColumn === a.field && e.currentSortDirection === "desc" ? "!bh-text-primary" : ""]])
1540
+ class: S(["bh-text-black/20", [e.currentSortColumn === u.field && e.currentSortDirection === "desc" ? "!bh-text-primary" : ""]])
1541
1541
  }, null, 2)
1542
1542
  ]))
1543
1543
  ], 2)) : I("", !0)
1544
1544
  ], 10, no),
1545
1545
  o.all.columnFilter && !o.isFooter ? (p(), g(D, { key: 0 }, [
1546
- a.filter ? (p(), g("div", oo, [
1547
- a.type === "string" ? Z((p(), g("input", {
1546
+ u.filter ? (p(), g("div", oo, [
1547
+ u.type === "string" ? Z((p(), g("input", {
1548
1548
  key: 0,
1549
- "onUpdate:modelValue": (f) => a.value = f,
1549
+ "onUpdate:modelValue": (f) => u.value = f,
1550
1550
  type: "text",
1551
1551
  class: "bh-form-control",
1552
1552
  onKeyup: r[1] || (r[1] = (f) => t("filterChange"))
1553
1553
  }, null, 40, lo)), [
1554
1554
  [
1555
1555
  Ne,
1556
- a.value,
1556
+ u.value,
1557
1557
  void 0,
1558
1558
  { trim: !0 }
1559
1559
  ]
1560
1560
  ]) : I("", !0),
1561
- a.type === "number" ? Z((p(), g("input", {
1561
+ u.type === "number" ? Z((p(), g("input", {
1562
1562
  key: 1,
1563
- "onUpdate:modelValue": (f) => a.value = f,
1563
+ "onUpdate:modelValue": (f) => u.value = f,
1564
1564
  type: "number",
1565
1565
  class: "bh-form-control",
1566
1566
  onKeyup: r[2] || (r[2] = (f) => t("filterChange"))
1567
1567
  }, null, 40, so)), [
1568
1568
  [
1569
1569
  Ne,
1570
- a.value,
1570
+ u.value,
1571
1571
  void 0,
1572
1572
  {
1573
1573
  number: !0,
1574
1574
  trim: !0
1575
1575
  }
1576
1576
  ]
1577
- ]) : a.type === "date" ? Z((p(), g("input", {
1577
+ ]) : u.type === "date" ? Z((p(), g("input", {
1578
1578
  key: 2,
1579
- "onUpdate:modelValue": (f) => a.value = f,
1579
+ "onUpdate:modelValue": (f) => u.value = f,
1580
1580
  type: "date",
1581
1581
  class: "bh-form-control",
1582
1582
  onChange: r[3] || (r[3] = (f) => t("filterChange"))
1583
1583
  }, null, 40, ro)), [
1584
- [Ne, a.value]
1585
- ]) : a.type === "bool" ? Z((p(), g("select", {
1584
+ [Ne, u.value]
1585
+ ]) : u.type === "bool" ? Z((p(), g("select", {
1586
1586
  key: 3,
1587
- "onUpdate:modelValue": (f) => a.value = f,
1587
+ "onUpdate:modelValue": (f) => u.value = f,
1588
1588
  class: "bh-form-control",
1589
1589
  onChange: r[4] || (r[4] = (f) => t("filterChange")),
1590
1590
  onClick: r[5] || (r[5] = //@ts-ignore
1591
1591
  (...f) => o.isOpenFilter && o.isOpenFilter(...f))
1592
1592
  }, ho, 40, ao)), [
1593
- [Vt, a.value]
1593
+ [Vt, u.value]
1594
1594
  ]) : I("", !0),
1595
- a.type !== "bool" ? (p(), g("button", {
1595
+ u.type !== "bool" ? (p(), g("button", {
1596
1596
  key: 4,
1597
1597
  type: "button",
1598
- onClick: le((f) => t("toggleFilterMenu", a), ["stop"])
1598
+ onClick: se((f) => t("toggleFilterMenu", u), ["stop"])
1599
1599
  }, [
1600
- W(Yn, { class: "bh-w-4" })
1600
+ Q(Yn, { class: "bh-w-4" })
1601
1601
  ], 8, po)) : I("", !0),
1602
- Z(W($n, {
1603
- column: a,
1604
- type: a.type,
1602
+ Z(Q($n, {
1603
+ column: u,
1604
+ type: u.type,
1605
1605
  columnFilterLang: o.columnFilterLang,
1606
1606
  onClose: r[6] || (r[6] = (f) => t("toggleFilterMenu", null)),
1607
1607
  onFilterChange: r[7] || (r[7] = (f) => t("filterChange"))
1608
1608
  }, null, 8, ["column", "type", "columnFilterLang"]), [
1609
- [Ue, o.isOpenFilter === a.field]
1609
+ [Ue, o.isOpenFilter === u.field]
1610
1610
  ])
1611
1611
  ])) : I("", !0)
1612
1612
  ], 64)) : I("", !0)
@@ -1615,7 +1615,7 @@ const Xi = {
1615
1615
  ]));
1616
1616
  }
1617
1617
  });
1618
- var vo = typeof global == "object" && global && global.Object === Object && global, go = typeof self == "object" && self && self.Object === Object && self, cn = vo || go || Function("return this")(), Pe = cn.Symbol, dn = Object.prototype, bo = dn.hasOwnProperty, yo = dn.toString, he = Pe ? Pe.toStringTag : void 0;
1618
+ var vo = typeof global == "object" && global && global.Object === Object && global, go = typeof self == "object" && self && self.Object === Object && self, cn = vo || go || Function("return this")(), Me = cn.Symbol, dn = Object.prototype, bo = dn.hasOwnProperty, yo = dn.toString, he = Me ? Me.toStringTag : void 0;
1619
1619
  function xo(e) {
1620
1620
  var i = bo.call(e, he), n = e[he];
1621
1621
  try {
@@ -1630,7 +1630,7 @@ var wo = Object.prototype, So = wo.toString;
1630
1630
  function ko(e) {
1631
1631
  return So.call(e);
1632
1632
  }
1633
- var Co = "[object Null]", zo = "[object Undefined]", Dt = Pe ? Pe.toStringTag : void 0;
1633
+ var Co = "[object Null]", zo = "[object Undefined]", Dt = Me ? Me.toStringTag : void 0;
1634
1634
  function _o(e) {
1635
1635
  return e == null ? e === void 0 ? zo : Co : Dt && Dt in Object(e) ? xo(e) : ko(e);
1636
1636
  }
@@ -1651,7 +1651,7 @@ var Io = /^\s+/;
1651
1651
  function To(e) {
1652
1652
  return e && e.slice(0, Eo(e) + 1).replace(Io, "");
1653
1653
  }
1654
- function Me(e) {
1654
+ function Le(e) {
1655
1655
  var i = typeof e;
1656
1656
  return e != null && (i == "object" || i == "function");
1657
1657
  }
@@ -1661,9 +1661,9 @@ function me(e) {
1661
1661
  return e;
1662
1662
  if (Lo(e))
1663
1663
  return qt;
1664
- if (Me(e)) {
1664
+ if (Le(e)) {
1665
1665
  var i = typeof e.valueOf == "function" ? e.valueOf() : e;
1666
- e = Me(i) ? i + "" : i;
1666
+ e = Le(i) ? i + "" : i;
1667
1667
  }
1668
1668
  if (typeof e != "string")
1669
1669
  return e === 0 ? e : +e;
@@ -1674,17 +1674,17 @@ function me(e) {
1674
1674
  function No(e, i, n) {
1675
1675
  return e === e && (n !== void 0 && (e = e <= n ? e : n), i !== void 0 && (e = e >= i ? e : i)), e;
1676
1676
  }
1677
- function Se(e, i, n) {
1677
+ function ke(e, i, n) {
1678
1678
  return n === void 0 && (n = i, i = void 0), n !== void 0 && (n = me(n), n = n === n ? n : 0), i !== void 0 && (i = me(i), i = i === i ? i : 0), No(me(e), i, n);
1679
1679
  }
1680
1680
  var Be = function() {
1681
1681
  return cn.Date.now();
1682
1682
  }, Do = "Expected a function", qo = Math.max, Bo = Math.min;
1683
1683
  function fn(e, i, n) {
1684
- var o, t, l, s, r, a, c = 0, f = !1, y = !1, C = !0;
1684
+ var o, t, l, s, r, u, c = 0, f = !1, y = !1, C = !0;
1685
1685
  if (typeof e != "function")
1686
1686
  throw new TypeError(Do);
1687
- i = me(i) || 0, Me(n) && (f = !!n.leading, y = "maxWait" in n, l = y ? qo(me(n.maxWait) || 0, i) : l, C = "trailing" in n ? !!n.trailing : C);
1687
+ i = me(i) || 0, Le(n) && (f = !!n.leading, y = "maxWait" in n, l = y ? qo(me(n.maxWait) || 0, i) : l, C = "trailing" in n ? !!n.trailing : C);
1688
1688
  function _(x) {
1689
1689
  var b = o, F = t;
1690
1690
  return o = t = void 0, c = x, s = e.apply(F, b), s;
@@ -1693,12 +1693,12 @@ function fn(e, i, n) {
1693
1693
  return c = x, r = setTimeout(T, i), f ? _(x) : s;
1694
1694
  }
1695
1695
  function z(x) {
1696
- var b = x - a, F = x - c, M = i - b;
1696
+ var b = x - u, F = x - c, M = i - b;
1697
1697
  return y ? Bo(M, l - F) : M;
1698
1698
  }
1699
1699
  function k(x) {
1700
- var b = x - a, F = x - c;
1701
- return a === void 0 || b >= i || b < 0 || y && F >= l;
1700
+ var b = x - u, F = x - c;
1701
+ return u === void 0 || b >= i || b < 0 || y && F >= l;
1702
1702
  }
1703
1703
  function T() {
1704
1704
  var x = Be();
@@ -1710,18 +1710,18 @@ function fn(e, i, n) {
1710
1710
  return r = void 0, C && o ? _(x) : (o = t = void 0, s);
1711
1711
  }
1712
1712
  function $() {
1713
- r !== void 0 && clearTimeout(r), c = 0, o = a = t = r = void 0;
1713
+ r !== void 0 && clearTimeout(r), c = 0, o = u = t = r = void 0;
1714
1714
  }
1715
1715
  function A() {
1716
1716
  return r === void 0 ? s : O(Be());
1717
1717
  }
1718
1718
  function q() {
1719
1719
  var x = Be(), b = k(x);
1720
- if (o = arguments, t = this, a = x, b) {
1720
+ if (o = arguments, t = this, u = x, b) {
1721
1721
  if (r === void 0)
1722
- return P(a);
1722
+ return P(u);
1723
1723
  if (y)
1724
- return clearTimeout(r), r = setTimeout(T, i), _(a);
1724
+ return clearTimeout(r), r = setTimeout(T, i), _(u);
1725
1725
  }
1726
1726
  return r === void 0 && (r = setTimeout(T, i)), s;
1727
1727
  }
@@ -1732,13 +1732,13 @@ function hn(e, i, n) {
1732
1732
  var o = !0, t = !0;
1733
1733
  if (typeof e != "function")
1734
1734
  throw new TypeError(Ho);
1735
- return Me(n) && (o = "leading" in n ? !!n.leading : o, t = "trailing" in n ? !!n.trailing : t), fn(e, i, {
1735
+ return Le(n) && (o = "leading" in n ? !!n.leading : o, t = "trailing" in n ? !!n.trailing : t), fn(e, i, {
1736
1736
  leading: o,
1737
1737
  maxWait: i,
1738
1738
  trailing: t
1739
1739
  });
1740
1740
  }
1741
- var jo = Object.defineProperty, Uo = Object.defineProperties, Vo = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Wo = Object.prototype.hasOwnProperty, Qo = Object.prototype.propertyIsEnumerable, Ht = (e, i, n) => i in e ? jo(e, i, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[i] = n, Le = (e, i) => {
1741
+ var jo = Object.defineProperty, Uo = Object.defineProperties, Vo = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Wo = Object.prototype.hasOwnProperty, Qo = Object.prototype.propertyIsEnumerable, Ht = (e, i, n) => i in e ? jo(e, i, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[i] = n, Fe = (e, i) => {
1742
1742
  for (var n in i || (i = {}))
1743
1743
  Wo.call(i, n) && Ht(e, n, i[n]);
1744
1744
  if (Bt)
@@ -1761,7 +1761,7 @@ function Xo(e, { expose: i }) {
1761
1761
  let t = null, l = ee(null);
1762
1762
  const s = { pageX: 0, pageY: 0, scrollPos: 0 };
1763
1763
  let r = null;
1764
- const a = () => {
1764
+ const u = () => {
1765
1765
  t = setTimeout(() => {
1766
1766
  l.value && l.value.classList.remove("scrollbar__thumbPlaceholder--scrolling"), t = null;
1767
1767
  }, n.autoHideDelay);
@@ -1774,20 +1774,20 @@ function Xo(e, { expose: i }) {
1774
1774
  const F = n.type === "horizontal" ? "pageX" : "pageY", M = (b[F] - s[F]) / n.scrollInfo.wrapperMainSize * n.scrollInfo.contentMainSize;
1775
1775
  n.wrapperEl.scrollTo({ [n.type === "horizontal" ? "left" : "top"]: s.scrollPos + M, behavior: "auto" });
1776
1776
  }, 16), y = () => {
1777
- a(), l.value.removeEventListener("pointermove", f), l.value.removeEventListener("pointerup", y), l.value.removeEventListener("pointercancel", y), l.value.removeEventListener("mousewheel", y), document.removeEventListener("mousewheel", y), typeof r == "number" && l.value.releasePointerCapture(r), r = null;
1777
+ u(), l.value.removeEventListener("pointermove", f), l.value.removeEventListener("pointerup", y), l.value.removeEventListener("pointercancel", y), l.value.removeEventListener("mousewheel", y), document.removeEventListener("mousewheel", y), typeof r == "number" && l.value.releasePointerCapture(r), r = null;
1778
1778
  }, C = (b) => {
1779
1779
  b.ctrlKey || b.button !== 0 || (c(), s.pageX = b.pageX, s.pageY = b.pageY, s.scrollPos = n.wrapperEl[n.type === "horizontal" ? "scrollLeft" : "scrollTop"], r = b == null ? void 0 : b.pointerId, l.value.setPointerCapture(r), l.value.addEventListener("pointermove", f), l.value.addEventListener("pointerup", y), l.value.addEventListener("pointercancel", y), l.value.addEventListener("mousewheel", y, { passive: !1 }), document.addEventListener("mousewheel", y, { passive: !1 }), l.value.classList.add("scrollbar__thumbPlaceholder--scrolling"));
1780
1780
  };
1781
1781
  i({
1782
1782
  autoHideAfterScroll: () => {
1783
- c(), l.value && l.value.classList.add("scrollbar__thumbPlaceholder--scrolling"), a();
1783
+ c(), l.value && l.value.classList.add("scrollbar__thumbPlaceholder--scrolling"), u();
1784
1784
  }
1785
1785
  });
1786
1786
  let P = ee(!1), z = ee(!1), k = ee(null), T = null, O = null, $ = G(() => n.fixedThumb && !z.value);
1787
1787
  const A = ([b]) => z.value = b.isIntersecting, q = ([b]) => P.value = b.isIntersecting, x = () => {
1788
1788
  T && (T.disconnect(), T = null), O && (O.disconnect(), O = null);
1789
1789
  };
1790
- return Q(() => [n.fixedThumb, n.wrapperEl], () => {
1790
+ return W(() => [n.fixedThumb, n.wrapperEl], () => {
1791
1791
  if (!n.fixedThumb || !n.wrapperEl)
1792
1792
  return x();
1793
1793
  x(), O = new IntersectionObserver(q, { threshold: [0, 0.5] }), O.observe(n.wrapperEl), T = new IntersectionObserver(A), T.observe(k.value);
@@ -1801,7 +1801,7 @@ function Xo(e, { expose: i }) {
1801
1801
  "scrollbar__thumbPlaceholder--autoExpand": e.autoExpand
1802
1802
  }
1803
1803
  ]),
1804
- style: se({
1804
+ style: ne({
1805
1805
  width: e.type === "horizontal" ? `${e.scrollInfo.thumbSize}px` : "",
1806
1806
  height: e.type === "vertical" ? `${e.scrollInfo.thumbSize}px` : "",
1807
1807
  position: $.value ? "fixed" : "absolute",
@@ -1810,7 +1810,7 @@ function Xo(e, { expose: i }) {
1810
1810
  ref: (M, B) => {
1811
1811
  B.thumbEl = M, l.value = M;
1812
1812
  },
1813
- onPointerdown: le(C, ["stop"])
1813
+ onPointerdown: se(C, ["stop"])
1814
1814
  }, [
1815
1815
  F[0] || (kt(-1), F[0] = m("div", {
1816
1816
  class: S(["scrollbar__thumb", `scrollbar__thumb--${e.type}`])
@@ -1829,7 +1829,7 @@ function Xo(e, { expose: i }) {
1829
1829
  ]) : I("", !0)
1830
1830
  ], 64));
1831
1831
  }
1832
- const Yo = /* @__PURE__ */ ae(pn(Le({}, Ko), {
1832
+ const Yo = /* @__PURE__ */ ae(pn(Fe({}, Ko), {
1833
1833
  props: {
1834
1834
  type: null,
1835
1835
  autoExpand: null,
@@ -1849,7 +1849,7 @@ function jt(...e) {
1849
1849
  const i = "value" in (e == null ? void 0 : e[0]);
1850
1850
  let n;
1851
1851
  i ? n = e == null ? void 0 : e[1] : n = e == null ? void 0 : e[0];
1852
- const { wait: o, type: t, callback: l } = Le(Le({}, Jo), n), s = i ? e[0] : ee(null), r = Mn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), a = () => {
1852
+ const { wait: o, type: t, callback: l } = Fe(Fe({}, Jo), n), s = i ? e[0] : ee(null), r = Mn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
1853
1853
  const C = s.value.getBoundingClientRect();
1854
1854
  r.left = C.left, r.top = C.top, r.right = C.right, r.bottom = C.bottom, r.width = C.width, r.height = C.height, r.x = C.x, r.y = C.y, l == null || l();
1855
1855
  };
@@ -1858,7 +1858,7 @@ function jt(...e) {
1858
1858
  c && window.removeEventListener("resize", c), f && (f.disconnect(), f = null);
1859
1859
  };
1860
1860
  return Ln(() => {
1861
- s.value && (y(), c = a, t === "throttle" && o >= 4 ? c = hn(c, o) : t === "debounce" && o >= 4 && (c = fn(c, o)), window.addEventListener("resize", c), f = new ResizeObserver(c), f.observe(s.value));
1861
+ s.value && (y(), c = u, t === "throttle" && o >= 4 ? c = hn(c, o) : t === "debounce" && o >= 4 && (c = fn(c, o)), window.addEventListener("resize", c), f = new ResizeObserver(c), f.observe(s.value));
1862
1862
  }), Ve(y), i ? r : [s, r];
1863
1863
  }
1864
1864
  const Zo = {
@@ -1882,38 +1882,38 @@ function el(e, { expose: i, emit: n }) {
1882
1882
  return (F = b == null ? void 0 : b.classList) == null ? void 0 : F.contains(`scrollbar__thumbPlaceholder--${x}`);
1883
1883
  });
1884
1884
  });
1885
- const a = jt(s, { wait: o.throttleWait, type: o.throttleType, callback: C }), c = jt(r, { wait: o.throttleWait, type: o.throttleType, callback: C });
1885
+ const u = jt(s, { wait: o.throttleWait, type: o.throttleType, callback: C }), c = jt(r, { wait: o.throttleWait, type: o.throttleType, callback: C });
1886
1886
  let f = ee(0), y = ee(0);
1887
1887
  function C() {
1888
- f.value = Math.max(s.value.scrollHeight - a.height | 0, 0), y.value = Math.max(s.value.scrollWidth - a.width | 0, 0);
1888
+ f.value = Math.max(s.value.scrollHeight - u.height | 0, 0), y.value = Math.max(s.value.scrollWidth - u.width | 0, 0);
1889
1889
  }
1890
1890
  let _ = G(() => ({
1891
- thumbSize: y.value ? Se(a.width / s.value.scrollWidth * a.width, o.thumbMinSize > a.width ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
1891
+ thumbSize: y.value ? ke(u.width / s.value.scrollWidth * u.width, o.thumbMinSize > u.width ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
1892
1892
  contentMainSize: c.width,
1893
- wrapperMainSize: a.width,
1894
- boundaryDistance: Math.abs(a.left)
1893
+ wrapperMainSize: u.width,
1894
+ boundaryDistance: Math.abs(u.left)
1895
1895
  })), P = G(() => ({
1896
- thumbSize: f.value ? Se(a.height / s.value.scrollHeight * a.height, o.thumbMinSize > a.height ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
1896
+ thumbSize: f.value ? ke(u.height / s.value.scrollHeight * u.height, o.thumbMinSize > u.height ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
1897
1897
  contentMainSize: c.height,
1898
- wrapperMainSize: a.height,
1899
- boundaryDistance: Math.abs(a.top)
1900
- })), z = G(() => a.height - P.value.thumbSize - 5), k = G(() => a.width - _.value.thumbSize - 5);
1898
+ wrapperMainSize: u.height,
1899
+ boundaryDistance: Math.abs(u.top)
1900
+ })), z = G(() => u.height - P.value.thumbSize - 5), k = G(() => u.width - _.value.thumbSize - 5);
1901
1901
  const T = () => {
1902
1902
  y.value && (t.horizontal.el.style.transform = `translate3d(${s.value.scrollLeft / y.value * k.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), f.value && (t.vertical.el.style.transform = `translate3d(0, ${s.value.scrollTop / f.value * z.value}px, 0)`, t.vertical.instance.autoHideAfterScroll());
1903
1903
  };
1904
- Q(() => [y.value, f.value], T);
1904
+ W(() => [y.value, f.value], T);
1905
1905
  const O = (A) => {
1906
1906
  A.stopPropagation();
1907
- const q = s.value.scrollLeft, x = s.value.scrollTop, b = Se(q + ((A == null ? void 0 : A.deltaX) || 0), 0, y.value) | 0, F = Se(x + ((A == null ? void 0 : A.deltaY) || 0), 0, f.value) | 0;
1907
+ const q = s.value.scrollLeft, x = s.value.scrollTop, b = ke(q + ((A == null ? void 0 : A.deltaX) || 0), 0, y.value) | 0, F = ke(x + ((A == null ? void 0 : A.deltaY) || 0), 0, f.value) | 0;
1908
1908
  s.value.scrollLeft = b, s.value.scrollTop = F, y.value && (t.horizontal.el.style.transform = `translate3d(${b / y.value * k.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), f.value && (t.vertical.el.style.transform = `translate3d(0, ${F / f.value * z.value}px, 0)`, t.vertical.instance.autoHideAfterScroll()), n("scroll", { target: s.value, scrollLeft: b, scrollTop: F });
1909
1909
  }, $ = (A) => {
1910
1910
  o.simulateScroll ? O(A) : T();
1911
1911
  };
1912
- return Q(a, () => n("wrapperResize", a)), Q(c, () => n("contentResize", c)), i({
1912
+ return W(u, () => n("wrapperResize", u)), W(c, () => n("contentResize", c)), i({
1913
1913
  scrollEl: s
1914
1914
  }), (A, q) => (p(), g("div", {
1915
1915
  class: S(["scrollbar__wrapper", e.wrapperClass]),
1916
- style: se(e.wrapperStyle)
1916
+ style: ne(e.wrapperStyle)
1917
1917
  }, [
1918
1918
  m("div", Pn({
1919
1919
  ref: (x, b) => {
@@ -1929,12 +1929,12 @@ function el(e, { expose: i, emit: n }) {
1929
1929
  b.contentEl = x, r.value = x;
1930
1930
  },
1931
1931
  class: S(["scrollbar__content", e.contentClass, { "scrollbar__content--fixedThumb": e.fixedThumb, [`scrollbar__content--${e.direction}`]: e.direction }]),
1932
- style: se(e.contentStyle)
1932
+ style: ne(e.contentStyle)
1933
1933
  }, [
1934
- oe(A.$slots, "default")
1934
+ le(A.$slots, "default")
1935
1935
  ], 6)
1936
1936
  ], 16),
1937
- (p(), g(D, null, J(t, (x, b) => W(Yo, {
1937
+ (p(), g(D, null, J(t, (x, b) => Q(Yo, {
1938
1938
  ref: (F) => l(F, b),
1939
1939
  key: b,
1940
1940
  autoExpand: e.autoExpand,
@@ -1948,7 +1948,7 @@ function el(e, { expose: i, emit: n }) {
1948
1948
  }, null, 8, ["autoExpand", "autoHide", "autoHideDelay", "fixedThumb", "type", "scrollInfo", "thumbWidth", "wrapperEl"])), 64))
1949
1949
  ], 6));
1950
1950
  }
1951
- const tl = /* @__PURE__ */ ae(pn(Le({}, Zo), {
1951
+ const tl = /* @__PURE__ */ ae(pn(Fe({}, Zo), {
1952
1952
  props: {
1953
1953
  wrapperClass: null,
1954
1954
  wrapperStyle: null,
@@ -2066,19 +2066,19 @@ const tl = /* @__PURE__ */ ae(pn(Le({}, Zo), {
2066
2066
  nextReachedMinPanes: 0
2067
2067
  };
2068
2068
  const o = 0 + (this.pushOtherPanes ? 0 : n.prevPanesSize), t = 100 - (this.pushOtherPanes ? 0 : n.nextPanesSize), l = Math.max(Math.min(this.getCurrentDragPercentage(e), t), o);
2069
- let s = [i, i + 1], r = this.panes[s[0]] || null, a = this.panes[s[1]] || null;
2070
- const c = r.max < 100 && l >= r.max + n.prevPanesSize, f = a.max < 100 && l <= 100 - (a.max + this.sumNextPanesSize(i + 1));
2069
+ let s = [i, i + 1], r = this.panes[s[0]] || null, u = this.panes[s[1]] || null;
2070
+ const c = r.max < 100 && l >= r.max + n.prevPanesSize, f = u.max < 100 && l <= 100 - (u.max + this.sumNextPanesSize(i + 1));
2071
2071
  if (c || f) {
2072
- c ? (r.size = r.max, a.size = Math.max(100 - r.max - n.prevPanesSize - n.nextPanesSize, 0)) : (r.size = Math.max(100 - a.max - n.prevPanesSize - this.sumNextPanesSize(i + 1), 0), a.size = a.max);
2072
+ c ? (r.size = r.max, u.size = Math.max(100 - r.max - n.prevPanesSize - n.nextPanesSize, 0)) : (r.size = Math.max(100 - u.max - n.prevPanesSize - this.sumNextPanesSize(i + 1), 0), u.size = u.max);
2073
2073
  return;
2074
2074
  }
2075
2075
  if (this.pushOtherPanes) {
2076
2076
  const y = this.doPushOtherPanes(n, l);
2077
2077
  if (!y)
2078
2078
  return;
2079
- ({ sums: n, panesToResize: s } = y), r = this.panes[s[0]] || null, a = this.panes[s[1]] || null;
2079
+ ({ sums: n, panesToResize: s } = y), r = this.panes[s[0]] || null, u = this.panes[s[1]] || null;
2080
2080
  }
2081
- r !== null && (r.size = Math.min(Math.max(l - n.prevPanesSize - n.prevReachedMinPanes, r.min), r.max)), a !== null && (a.size = Math.min(Math.max(100 - l - n.nextPanesSize - n.nextReachedMinPanes, a.min), a.max));
2081
+ r !== null && (r.size = Math.min(Math.max(l - n.prevPanesSize - n.prevReachedMinPanes, r.min), r.max)), u !== null && (u.size = Math.min(Math.max(100 - l - n.nextPanesSize - n.nextReachedMinPanes, u.min), u.max));
2082
2082
  },
2083
2083
  doPushOtherPanes(e, i) {
2084
2084
  const n = this.touch.activeSplitter, o = [n, n + 1];
@@ -2299,9 +2299,9 @@ function ll(e, i, n, o, t, l) {
2299
2299
  return p(), g("div", {
2300
2300
  class: "splitpanes__pane",
2301
2301
  onClick: i[0] || (i[0] = (s) => l.onPaneClick(s, e._.uid)),
2302
- style: se(e.style)
2302
+ style: ne(e.style)
2303
2303
  }, [
2304
- oe(e.$slots, "default")
2304
+ le(e.$slots, "default")
2305
2305
  ], 4);
2306
2306
  }
2307
2307
  const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable bh-antialiased bh-relative bh-text-black bh-text-sm bh-font-normal" }, rl = ["onClick"], al = { class: "bh-checkbox" }, ul = ["value"], cl = ["innerHTML"], dl = ["onClick"], fl = ["colspan"], hl = { key: 0 }, pl = ["colspan"], ml = ["colspan"], vl = /* @__PURE__ */ m("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), gl = [
@@ -2490,11 +2490,11 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2490
2490
  setup(e, { expose: i, emit: n }) {
2491
2491
  var yt, xt;
2492
2492
  const o = Fn(), t = e;
2493
- for (const u of t.columns || []) {
2494
- const h = ((yt = u.type) == null ? void 0 : yt.toLowerCase()) || "string";
2495
- u.type = h, u.isUnique = u.isUnique !== void 0 ? u.isUnique : !1, u.hide = u.hide !== void 0 ? u.hide : !1, u.filter = u.filter !== void 0 ? u.filter : !0, u.search = u.search !== void 0 ? u.search : !0, u.sort = u.sort !== void 0 ? u.sort : !0, u.html = u.html !== void 0 ? u.html : !1, u.condition = !h || h === "string" ? "contain" : "equal";
2493
+ for (const a of t.columns || []) {
2494
+ const h = ((yt = a.type) == null ? void 0 : yt.toLowerCase()) || "string";
2495
+ 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";
2496
2496
  }
2497
- const l = j([]), s = j(t.page), r = j(t.pagination ? t.pageSize : (xt = t.rows) == null ? void 0 : xt.length), a = t.pageSize, c = j(t.sortColumn), f = t.sortColumn, y = j(t.sortDirection), C = t.sortDirection, _ = j(t.totalRows), P = j([]), z = j(null), k = j(t.loading), T = j(t.search), O = JSON.parse(JSON.stringify(t.columns)), $ = j(null), A = j(null);
2497
+ const l = j([]), s = j(t.page), r = j(t.pagination ? t.pageSize : (xt = t.rows) == null ? void 0 : xt.length), u = t.pageSize, c = j(t.sortColumn), f = t.sortColumn, y = j(t.sortDirection), C = t.sortDirection, _ = j(t.totalRows), P = j([]), z = j(null), k = j(t.loading), T = j(t.search), O = JSON.parse(JSON.stringify(t.columns)), $ = j(null), A = j(null);
2498
2498
  let q = j(0);
2499
2499
  const x = j(230);
2500
2500
  Ze(() => {
@@ -2514,152 +2514,152 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2514
2514
  clearSelectedRows() {
2515
2515
  return wn();
2516
2516
  },
2517
- selectRow(u) {
2518
- vt(u);
2517
+ selectRow(a) {
2518
+ vt(a);
2519
2519
  },
2520
- unselectRow(u) {
2521
- gt(u);
2520
+ unselectRow(a) {
2521
+ gt(a);
2522
2522
  },
2523
- isRowSelected(u) {
2524
- return ye(u);
2523
+ isRowSelected(a) {
2524
+ return ye(a);
2525
2525
  },
2526
2526
  getFilteredRows() {
2527
2527
  return rt();
2528
2528
  }
2529
2529
  });
2530
- const F = (u, ...h) => u.replace(/{(\d+)}/g, (v, E) => typeof h[E] < "u" ? h[E] : v), M = G(() => {
2531
- const u = t.columns.find((h) => h.isUnique);
2532
- return (u == null ? void 0 : u.field) || null;
2530
+ const F = (a, ...h) => a.replace(/{(\d+)}/g, (v, E) => typeof h[E] < "u" ? h[E] : v), M = G(() => {
2531
+ const a = t.columns.find((h) => h.isUnique);
2532
+ return (a == null ? void 0 : a.field) || null;
2533
2533
  }), B = G(() => {
2534
- const u = r.value < 1 ? 1 : Math.ceil(_.value / r.value);
2535
- return Math.max(u || 0, 1);
2536
- }), $e = G(() => (s.value - 1) * r.value + 1), Oe = G(() => {
2537
- const u = s.value * r.value;
2538
- return _.value >= u ? u : _.value;
2534
+ const a = r.value < 1 ? 1 : Math.ceil(_.value / r.value);
2535
+ return Math.max(a || 0, 1);
2536
+ }), Oe = G(() => (s.value - 1) * r.value + 1), Re = G(() => {
2537
+ const a = s.value * r.value;
2538
+ return _.value >= a ? a : _.value;
2539
2539
  }), st = G(() => {
2540
- let u, h;
2541
- return typeof t.showNumbersCount < "u" && t.showNumbersCount < B.value ? (u = Math.max(s.value - Math.floor(t.showNumbersCount / 2), 1), h = u + t.showNumbersCount - 1, h > B.value && (h = B.value, u = h - t.showNumbersCount + 1)) : (u = 1, h = B.value), Array.from(Array(h + 1 - u).keys()).map((U) => u + U);
2540
+ let a, h;
2541
+ return typeof t.showNumbersCount < "u" && t.showNumbersCount < B.value ? (a = Math.max(s.value - Math.floor(t.showNumbersCount / 2), 1), h = a + t.showNumbersCount - 1, h > B.value && (h = B.value, a = h - t.showNumbersCount + 1)) : (a = 1, h = B.value), Array.from(Array(h + 1 - a).keys()).map((U) => a + U);
2542
2542
  }), rt = () => {
2543
2543
  var U, H, X;
2544
- let u = t.rows || [];
2544
+ let a = t.rows || [];
2545
2545
  if (!t.isServerMode) {
2546
2546
  if ((U = t.columns) == null || U.forEach((d) => {
2547
- d.filter && (d.value !== void 0 && d.value !== null && d.value !== "" || d.condition === "is_null" || d.condition == "is_not_null") && (d.type === "string" ? (d.value && !d.condition && (d.condition = "contain"), d.condition === "contain" ? u = u.filter((w) => {
2547
+ d.filter && (d.value !== void 0 && d.value !== null && d.value !== "" || d.condition === "is_null" || d.condition == "is_not_null") && (d.type === "string" ? (d.value && !d.condition && (d.condition = "contain"), d.condition === "contain" ? a = a.filter((w) => {
2548
2548
  var N;
2549
2549
  return (N = L(w, d.field)) == null ? void 0 : N.toString().toLowerCase().includes(d.value.toLowerCase());
2550
- }) : d.condition === "not_contain" ? u = u.filter((w) => {
2550
+ }) : d.condition === "not_contain" ? a = a.filter((w) => {
2551
2551
  var N;
2552
2552
  return !((N = L(w, d.field)) != null && N.toString().toLowerCase().includes(d.value.toLowerCase()));
2553
- }) : d.condition === "equal" ? u = u.filter((w) => {
2553
+ }) : d.condition === "equal" ? a = a.filter((w) => {
2554
2554
  var N;
2555
2555
  return ((N = L(w, d.field)) == null ? void 0 : N.toString().toLowerCase()) === d.value.toLowerCase();
2556
- }) : d.condition === "not_equal" ? u = u.filter((w) => {
2556
+ }) : d.condition === "not_equal" ? a = a.filter((w) => {
2557
2557
  var N;
2558
2558
  return ((N = L(w, d.field)) == null ? void 0 : N.toString().toLowerCase()) !== d.value.toLowerCase();
2559
- }) : d.condition == "start_with" ? u = u.filter((w) => {
2559
+ }) : d.condition == "start_with" ? a = a.filter((w) => {
2560
2560
  var N;
2561
2561
  return ((N = L(w, d.field)) == null ? void 0 : N.toString().toLowerCase().indexOf(d.value.toLowerCase())) === 0;
2562
- }) : d.condition == "end_with" && (u = u.filter((w) => {
2562
+ }) : d.condition == "end_with" && (a = a.filter((w) => {
2563
2563
  var N;
2564
2564
  return ((N = L(w, d.field)) == null ? void 0 : N.toString().toLowerCase().substr(d.value.length * -1)) === d.value.toLowerCase();
2565
- }))) : d.type === "number" ? (d.value && !d.condition && (d.condition = "equal"), d.condition === "equal" ? u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) === parseFloat(d.value)) : d.condition === "not_equal" ? u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) !== parseFloat(d.value)) : d.condition === "greater_than" ? u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) > parseFloat(d.value)) : d.condition === "greater_than_equal" ? u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) >= parseFloat(d.value)) : d.condition === "less_than" ? u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) < parseFloat(d.value)) : d.condition === "less_than_equal" && (u = u.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) <= parseFloat(d.value)))) : d.type === "date" ? (d.value && !d.condition && (d.condition = "equal"), d.condition === "equal" ? u = u.filter((w) => L(w, d.field) && be(L(w, d.field)) === d.value) : d.condition === "not_equal" ? u = u.filter((w) => L(w, d.field) && be(L(w, d.field)) !== d.value) : d.condition === "greater_than" ? u = u.filter((w) => L(w, d.field) && be(L(w, d.field)) > d.value) : d.condition === "less_than" && (u = u.filter((w) => L(w, d.field) && be(L(w, d.field)) < d.value))) : d.type === "bool" && (u = u.filter((w) => L(w, d.field) === d.value)), d.condition === "is_null" ? (u = u.filter((w) => L(w, d.field) == null || L(w, d.field) == ""), d.value = "") : d.condition === "is_not_null" && (d.value = "", u = u.filter((w) => L(w, d.field))));
2566
- }), T.value && (u != null && u.length)) {
2565
+ }))) : d.type === "number" ? (d.value && !d.condition && (d.condition = "equal"), d.condition === "equal" ? a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) === parseFloat(d.value)) : d.condition === "not_equal" ? a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) !== parseFloat(d.value)) : d.condition === "greater_than" ? a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) > parseFloat(d.value)) : d.condition === "greater_than_equal" ? a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) >= parseFloat(d.value)) : d.condition === "less_than" ? a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) < parseFloat(d.value)) : d.condition === "less_than_equal" && (a = a.filter((w) => L(w, d.field) && parseFloat(L(w, d.field)) <= parseFloat(d.value)))) : d.type === "date" ? (d.value && !d.condition && (d.condition = "equal"), d.condition === "equal" ? a = a.filter((w) => L(w, d.field) && be(L(w, d.field)) === d.value) : d.condition === "not_equal" ? a = a.filter((w) => L(w, d.field) && be(L(w, d.field)) !== d.value) : d.condition === "greater_than" ? a = a.filter((w) => L(w, d.field) && be(L(w, d.field)) > d.value) : d.condition === "less_than" && (a = a.filter((w) => L(w, d.field) && be(L(w, d.field)) < d.value))) : d.type === "bool" && (a = a.filter((w) => L(w, d.field) === d.value)), d.condition === "is_null" ? (a = a.filter((w) => L(w, d.field) == null || L(w, d.field) == ""), d.value = "") : d.condition === "is_not_null" && (d.value = "", a = a.filter((w) => L(w, d.field))));
2566
+ }), T.value && (a != null && a.length)) {
2567
2567
  let d = [];
2568
2568
  const w = (t.columns || []).filter((N) => N.search && !N.hide).map((N) => N.field);
2569
- for (var h = 0; h < (u == null ? void 0 : u.length); h++)
2569
+ for (var h = 0; h < (a == null ? void 0 : a.length); h++)
2570
2570
  for (var v = 0; v < w.length; v++)
2571
- if ((H = L(u[h], w[v])) != null && H.toString().toLowerCase().includes(T.value.toLowerCase())) {
2572
- d.push(u[h]);
2571
+ if ((H = L(a[h], w[v])) != null && H.toString().toLowerCase().includes(T.value.toLowerCase())) {
2572
+ d.push(a[h]);
2573
2573
  break;
2574
2574
  }
2575
- u = d;
2575
+ a = d;
2576
2576
  }
2577
2577
  var E = new Intl.Collator(void 0, {
2578
2578
  numeric: ((X = t.columns.find((d) => d.field == c.value)) == null ? void 0 : X.type) === "number",
2579
2579
  sensitivity: "base"
2580
2580
  });
2581
2581
  const Sn = y.value === "desc" ? -1 : 1;
2582
- u.sort((d, w) => {
2582
+ a.sort((d, w) => {
2583
2583
  var wt, St;
2584
- const N = (wt = c.value) == null ? void 0 : wt.split(".").reduce((ne, Ae) => ne == null ? void 0 : ne[Ae], d), kn = (St = c.value) == null ? void 0 : St.split(".").reduce((ne, Ae) => ne == null ? void 0 : ne[Ae], w);
2584
+ const N = (wt = c.value) == null ? void 0 : wt.split(".").reduce((ie, Ae) => ie == null ? void 0 : ie[Ae], d), kn = (St = c.value) == null ? void 0 : St.split(".").reduce((ie, Ae) => ie == null ? void 0 : ie[Ae], w);
2585
2585
  return E.compare(N, kn) * Sn;
2586
2586
  });
2587
2587
  }
2588
- return u;
2588
+ return a;
2589
2589
  }, de = j([]), te = () => {
2590
- let u = [], h = rt();
2591
- t.isServerMode ? (_.value = t.totalRows || 0, u = h) : (_.value = (h == null ? void 0 : h.length) || 0, u = h.slice($e.value - 1, Oe.value)), t.hasSubtable && u.forEach(function(v) {
2590
+ let a = [], h = rt();
2591
+ t.isServerMode ? (_.value = t.totalRows || 0, a = h) : (_.value = (h == null ? void 0 : h.length) || 0, a = h.slice(Oe.value - 1, Re.value)), t.hasSubtable && a.forEach(function(v) {
2592
2592
  v.isExpanded != null && (de.value.find((U) => U.id == v.id) || de.value.push({ id: v.id, isExpanded: v.isExpanded }));
2593
- }), l.value = u || [];
2593
+ }), l.value = a || [];
2594
2594
  };
2595
- Q(
2595
+ W(
2596
2596
  () => t.loading,
2597
2597
  () => {
2598
2598
  k.value = t.loading;
2599
2599
  }
2600
2600
  );
2601
- const at = (u) => {
2602
- u ? $.value === u.field ? $.value = null : $.value = u.field : $.value = null;
2601
+ const at = (a) => {
2602
+ a ? $.value === a.field ? $.value = null : $.value = a.field : $.value = null;
2603
2603
  }, ut = () => {
2604
2604
  if (s.value == 1)
2605
2605
  return !1;
2606
2606
  s.value--;
2607
- }, ct = (u) => {
2608
- s.value = u;
2607
+ }, ct = (a) => {
2608
+ s.value = a;
2609
2609
  }, dt = () => {
2610
2610
  if (s.value >= B.value)
2611
2611
  return !1;
2612
2612
  s.value++;
2613
2613
  };
2614
- Q(() => s.value, () => {
2614
+ W(() => s.value, () => {
2615
2615
  K(!1), t.isServerMode ? ue("page") : (te(), b("pageChange", s.value));
2616
- }), Q(() => t.rows, () => {
2616
+ }), W(() => t.rows, () => {
2617
2617
  t.isServerMode || (s.value = 1), K(!1), te();
2618
2618
  });
2619
- const mn = (u) => {
2620
- r.value = u;
2619
+ const mn = (a) => {
2620
+ r.value = a;
2621
2621
  };
2622
- Q(() => r.value, () => {
2622
+ W(() => r.value, () => {
2623
2623
  K(!1), t.isServerMode ? s.value === 1 ? ue("pagesize", !0) : s.value = 1 : (s.value = 1, te(), b("pageSizeChange", r.value));
2624
2624
  });
2625
- const ft = (u) => {
2625
+ const ft = (a) => {
2626
2626
  let h = "asc";
2627
- u == c.value && y.value === "asc" && (h = "desc");
2627
+ a == c.value && y.value === "asc" && (h = "desc");
2628
2628
  let v = (s.value - 1) * r.value, E = r.value;
2629
- c.value = u, y.value = h, K(!1), te(), t.isServerMode ? ue("sort") : b("sortChange", { offset: v, limit: E, field: u, direction: h });
2630
- }, ht = (u) => {
2631
- z.value = u.length && l.value.length && u.length === l.value.length;
2629
+ c.value = a, y.value = h, K(!1), te(), t.isServerMode ? ue("sort") : b("sortChange", { offset: v, limit: E, field: a, direction: h });
2630
+ }, ht = (a) => {
2631
+ z.value = a.length && l.value.length && a.length === l.value.length;
2632
2632
  const h = l.value.filter((v, E) => P.value.includes(M.value ? v[M.value] : E));
2633
2633
  b("rowSelect", h);
2634
2634
  };
2635
- Q(() => P.value, ht);
2636
- const K = (u) => {
2637
- u ? P.value = l.value.map((h, v) => M.value ? h[M.value] : v) : P.value = [];
2635
+ W(() => P.value, ht);
2636
+ const K = (a) => {
2637
+ a ? P.value = l.value.map((h, v) => M.value ? h[M.value] : v) : P.value = [];
2638
2638
  }, pt = () => {
2639
2639
  K(!1), t.isServerMode ? s.value === 1 ? ue("filter", !0) : s.value = 1 : (s.value = 1, te(), b("filterChange", t.columns));
2640
2640
  }, vn = () => {
2641
2641
  K(!1), t.isServerMode ? s.value === 1 ? ue("search", !0) : s.value = 1 : (s.value = 1, te(), b("searchChange", T.value));
2642
2642
  };
2643
- Q(
2643
+ W(
2644
2644
  () => t.search,
2645
2645
  () => {
2646
2646
  T.value = t.search, vn();
2647
2647
  }
2648
2648
  );
2649
- const L = (u, h) => h == null ? void 0 : h.split(".").reduce((v, E) => v == null ? void 0 : v[E], u), be = (u) => {
2649
+ const L = (a, h) => h == null ? void 0 : h.split(".").reduce((v, E) => v == null ? void 0 : v[E], a), be = (a) => {
2650
2650
  try {
2651
- if (!u)
2651
+ if (!a)
2652
2652
  return "";
2653
- const h = new Date(u), v = h.getDate(), E = h.getMonth() + 1;
2653
+ const h = new Date(a), v = h.getDate(), E = h.getMonth() + 1;
2654
2654
  return h.getFullYear() + "-" + (E > 9 ? E : "0" + E) + "-" + (v > 9 ? v : "0" + v);
2655
2655
  } catch {
2656
2656
  }
2657
2657
  return "";
2658
- }, mt = (u, h) => {
2658
+ }, mt = (a, h) => {
2659
2659
  q.value++, q.value === 1 ? A.value = setTimeout(() => {
2660
- q.value = 0, t.selectRowOnClick && (ye(h) ? gt(h) : vt(h), ht(P.value)), b("rowClick", u);
2661
- }, x.value) : q.value === 2 && (clearTimeout(A.value), q.value = 0, b("rowDBClick", u));
2662
- }, ue = (u, h = !1) => {
2660
+ q.value = 0, t.selectRowOnClick && (ye(h) ? gt(h) : vt(h), ht(P.value)), b("rowClick", a);
2661
+ }, x.value) : q.value === 2 && (clearTimeout(A.value), q.value = 0, b("rowDBClick", a));
2662
+ }, ue = (a, h = !1) => {
2663
2663
  if (t.isServerMode) {
2664
2664
  gn();
2665
2665
  const v = {
@@ -2670,35 +2670,35 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2670
2670
  sort_direction: y.value,
2671
2671
  search: T.value,
2672
2672
  column_filters: t.columns,
2673
- change_type: u
2673
+ change_type: a
2674
2674
  };
2675
2675
  b("change", v);
2676
2676
  }
2677
2677
  }, gn = () => {
2678
- for (let u = 0; u < t.columns.length; u++) {
2679
- let h = t.columns[u];
2678
+ for (let a = 0; a < t.columns.length; a++) {
2679
+ let h = t.columns[a];
2680
2680
  h.filter && (h.value !== void 0 && h.value !== null && h.value !== "" || h.condition === "is_null" || h.condition === "is_not_null") && (h.type === "string" && h.value && !h.condition && (h.condition = "contain"), h.type === "number" && h.value && !h.condition && (h.condition = "equal"), h.type === "date" && h.value && !h.condition && (h.condition = "equal"));
2681
2681
  }
2682
2682
  }, bn = () => {
2683
2683
  K(!1);
2684
- for (let u = 0; u < t.columns.length; u++)
2685
- t.columns[u] = O[u];
2686
- T.value = "", r.value = a, c.value = f, y.value = C, t.isServerMode ? s.value === 1 ? ue("reset", !0) : s.value = 1 : (s.value = 1, te());
2684
+ for (let a = 0; a < t.columns.length; a++)
2685
+ t.columns[a] = O[a];
2686
+ T.value = "", r.value = u, c.value = f, y.value = C, t.isServerMode ? s.value === 1 ? ue("reset", !0) : s.value = 1 : (s.value = 1, te());
2687
2687
  }, yn = () => l.value.filter((h, v) => P.value.includes(M.value ? h[M.value] : v)), xn = () => t.columns, wn = () => {
2688
2688
  P.value = [];
2689
- }, vt = (u) => {
2690
- if (!ye(u)) {
2691
- const h = l.value.find((v, E) => E === u);
2692
- P.value.push(M.value ? h[M.value] : u);
2689
+ }, vt = (a) => {
2690
+ if (!ye(a)) {
2691
+ const h = l.value.find((v, E) => E === a);
2692
+ P.value.push(M.value ? h[M.value] : a);
2693
2693
  }
2694
- }, gt = (u) => {
2695
- if (ye(u)) {
2696
- const h = l.value.find((v, E) => E === u);
2697
- P.value = P.value.filter((v) => v !== (M.value ? h[M.value] : u));
2694
+ }, gt = (a) => {
2695
+ if (ye(a)) {
2696
+ const h = l.value.find((v, E) => E === a);
2697
+ P.value = P.value.filter((v) => v !== (M.value ? h[M.value] : a));
2698
2698
  }
2699
- }, ye = (u) => {
2700
- const h = l.value.find((v, E) => E === u);
2701
- return h ? P.value.includes(M.value ? h[M.value] : u) : !1;
2699
+ }, ye = (a) => {
2700
+ const h = l.value.find((v, E) => E === a);
2701
+ return h ? P.value.includes(M.value ? h[M.value] : a) : !1;
2702
2702
  };
2703
2703
  let ce = 0;
2704
2704
  t.hasCheckbox && ce++, t.hasSubtable && ce++;
@@ -2706,30 +2706,35 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2706
2706
  setInterval(function() {
2707
2707
  bt.value++;
2708
2708
  }, 2200);
2709
- const Re = j(100 - Number(t.rightmenusize));
2710
- return (u, h) => (p(), g("div", sl, [
2711
- W(V(nl), {
2709
+ const xe = j(100 - Number(t.rightmenusize));
2710
+ return W(
2711
+ () => t.rightmenusize,
2712
+ (a) => {
2713
+ xe.value = 100 - Number(a);
2714
+ }
2715
+ ), (a, h) => (p(), g("div", sl, [
2716
+ Q(V(nl), {
2712
2717
  class: "default-theme",
2713
- onResize: h[2] || (h[2] = (v) => Re.value = v[0].size)
2718
+ onResize: h[2] || (h[2] = (v) => xe.value = v[0].size)
2714
2719
  }, {
2715
- default: xe(() => [
2716
- W(V(Ut), { size: Re.value }, {
2717
- default: xe(() => [
2720
+ default: we(() => [
2721
+ Q(V(Ut), { size: xe.value }, {
2722
+ default: we(() => [
2718
2723
  m("div", {
2719
2724
  class: S(t.scrollbarstyle)
2720
2725
  }, [
2721
- W(V(tl), {
2722
- style: se({ height: t.stickyHeader && t.height }),
2726
+ Q(V(tl), {
2727
+ style: ne({ height: t.stickyHeader && t.height }),
2723
2728
  autoHide: t.scrollbarautohide,
2724
2729
  fixedThumb: t.scrollbarfixedthumb,
2725
2730
  autoExpand: t.scrollbarautoexpand,
2726
2731
  direction: t.scrollbardirection,
2727
2732
  throttleType: "none"
2728
2733
  }, {
2729
- default: xe(() => [
2734
+ default: we(() => [
2730
2735
  m("div", {
2731
2736
  class: S(["bh-table-responsive", { "bh-min-h-[100px]": k.value }]),
2732
- style: se({ overflow: t.stickyHeader && "inherit" })
2737
+ style: ne({ overflow: t.stickyHeader && "inherit" })
2733
2738
  }, [
2734
2739
  m("table", {
2735
2740
  class: S([t.skin])
@@ -2737,7 +2742,7 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2737
2742
  m("thead", {
2738
2743
  class: S({ "bh-sticky bh-top-0 bh-z-10": t.stickyHeader })
2739
2744
  }, [
2740
- W(Nt, {
2745
+ Q(Nt, {
2741
2746
  all: t,
2742
2747
  expandedrows: de.value,
2743
2748
  currentSortColumn: c.value,
@@ -2759,8 +2764,8 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2759
2764
  }, [
2760
2765
  _.value ? (p(), g("tr", {
2761
2766
  key: 0,
2762
- class: S([typeof t.rowClass == "function" ? u.rowClass(v) : t.rowClass, t.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2763
- onClick: le((H) => mt(v, E), ["prevent"])
2767
+ class: S([typeof t.rowClass == "function" ? a.rowClass(v) : t.rowClass, t.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2768
+ onClick: se((H) => mt(v, E), ["prevent"])
2764
2769
  }, [
2765
2770
  t.hasCheckbox ? (p(), g("td", {
2766
2771
  key: 0,
@@ -2773,13 +2778,13 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2773
2778
  "onUpdate:modelValue": h[0] || (h[0] = (H) => P.value = H),
2774
2779
  type: "checkbox",
2775
2780
  value: v[M.value] ? v[M.value] : E,
2776
- onClick: h[1] || (h[1] = le(() => {
2781
+ onClick: h[1] || (h[1] = se(() => {
2777
2782
  }, ["stop"]))
2778
2783
  }, null, 8, ul), [
2779
2784
  [En, P.value]
2780
2785
  ]),
2781
2786
  m("div", null, [
2782
- W(Wt, { class: "check" })
2787
+ Q(Wt, { class: "check" })
2783
2788
  ])
2784
2789
  ])
2785
2790
  ], 2)) : I("", !0),
@@ -2789,7 +2794,7 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2789
2794
  "bh-sticky bh-left-0 bh-bg-blue-light": t.stickyFirstColumn
2790
2795
  })
2791
2796
  }, [
2792
- W(un, {
2797
+ Q(un, {
2793
2798
  item: v,
2794
2799
  expandedrows: de.value
2795
2800
  }, null, 8, ["item", "expandedrows"])
@@ -2798,13 +2803,13 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2798
2803
  H.hide ? I("", !0) : (p(), g("td", {
2799
2804
  key: H.field,
2800
2805
  class: S([
2801
- typeof t.cellClass == "function" ? u.cellClass(v) : t.cellClass,
2806
+ typeof t.cellClass == "function" ? a.cellClass(v) : t.cellClass,
2802
2807
  X === 0 && t.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
2803
2808
  t.hasCheckbox && X === 0 && t.stickyFirstColumn ? "bh-left-[52px]" : "",
2804
2809
  H.cellClass ? H.cellClass : ""
2805
2810
  ])
2806
2811
  }, [
2807
- V(o)[H.field] ? oe(u.$slots, H.field, {
2812
+ V(o)[H.field] ? le(a.$slots, H.field, {
2808
2813
  key: 0,
2809
2814
  value: v
2810
2815
  }) : H.cellRenderer ? (p(), g("div", {
@@ -2818,13 +2823,13 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2818
2823
  ], 10, rl)) : I("", !0),
2819
2824
  (U = de.value.find((H) => H.id == v.id)) != null && U.isExpanded && t.hasSubtable ? (p(), g("tr", {
2820
2825
  key: 1,
2821
- class: S([typeof t.rowClass == "function" ? u.rowClass(v) : t.rowClass, t.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2822
- onClick: le((H) => mt(v, E), ["prevent"])
2826
+ class: S([typeof t.rowClass == "function" ? a.rowClass(v) : t.rowClass, t.selectRowOnClick ? "bh-cursor-pointer" : ""]),
2827
+ onClick: se((H) => mt(v, E), ["prevent"])
2823
2828
  }, [
2824
2829
  m("td", {
2825
2830
  colspan: t.columns.length + V(ce)
2826
2831
  }, [
2827
- oe(u.$slots, "tsub", { value: l.value })
2832
+ le(a.$slots, "tsub", { value: l.value })
2828
2833
  ], 8, fl)
2829
2834
  ], 10, dl)) : I("", !0)
2830
2835
  ], 64);
@@ -2851,7 +2856,7 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2851
2856
  U.hide ? I("", !0) : (p(), g("td", {
2852
2857
  key: U.field,
2853
2858
  class: S([
2854
- typeof t.cellClass == "function" ? u.cellClass(v) : t.cellClass,
2859
+ typeof t.cellClass == "function" ? a.cellClass(v) : t.cellClass,
2855
2860
  H === 0 && t.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
2856
2861
  t.hasCheckbox && H === 0 && t.stickyFirstColumn ? "bh-left-[52px]" : "",
2857
2862
  U.cellClass ? U.cellClass : ""
@@ -2868,7 +2873,7 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2868
2873
  key: 0,
2869
2874
  class: S({ "bh-sticky bh-bottom-0": t.stickyHeader })
2870
2875
  }, [
2871
- W(Nt, {
2876
+ Q(Nt, {
2872
2877
  all: t,
2873
2878
  currentSortColumn: c.value,
2874
2879
  currentSortDirection: y.value,
@@ -2899,19 +2904,19 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2899
2904
  ]),
2900
2905
  _: 3
2901
2906
  }, 8, ["size"]),
2902
- u.enablerightmenu ? (p(), Y(V(Ut), {
2907
+ a.enablerightmenu ? (p(), Y(V(Ut), {
2903
2908
  key: 0,
2904
- size: 100 - Re.value,
2905
- "min-size": u.rightmenumin,
2906
- "max-size": u.rightmenumax
2909
+ size: 100 - xe.value,
2910
+ "max-size": a.rightmenumax,
2911
+ style: ne({ "min-width": a.rightmenumin + "px" })
2907
2912
  }, {
2908
- default: xe(() => [
2909
- oe(u.$slots, "tablerightmenu", {}, () => [
2913
+ default: we(() => [
2914
+ le(a.$slots, "tablerightmenu", {}, () => [
2910
2915
  Sl
2911
2916
  ])
2912
2917
  ]),
2913
2918
  _: 3
2914
- }, 8, ["size", "min-size", "max-size"])) : I("", !0)
2919
+ }, 8, ["size", "max-size", "style"])) : I("", !0)
2915
2920
  ]),
2916
2921
  _: 3
2917
2922
  }),
@@ -2920,19 +2925,19 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2920
2925
  class: S(["bh-pagination", { "bh-pointer-events-none": k.value, "sticky-footer": t.stickyFooter }])
2921
2926
  }, [
2922
2927
  m("div", kl, [
2923
- oe(u.$slots, "footerpageinfo", {
2924
- paginationInfo: u.paginationInfo,
2928
+ le(a.$slots, "footerpageinfo", {
2929
+ paginationInfo: a.paginationInfo,
2925
2930
  filterRowCount: _.value,
2926
- offset: $e.value,
2927
- limit: Oe.value,
2928
- showPageSize: u.showPageSize,
2929
- pageSizeOptions: u.pageSizeOptions,
2931
+ offset: Oe.value,
2932
+ limit: Re.value,
2933
+ showPageSize: a.showPageSize,
2934
+ pageSizeOptions: a.pageSizeOptions,
2930
2935
  currentPageSize: r.value,
2931
2936
  stringFormat: F,
2932
2937
  setPageSize: mn
2933
2938
  }, () => [
2934
2939
  m("div", Cl, [
2935
- m("span", zl, R(F(t.paginationInfo, _.value ? $e.value : 0, Oe.value, _.value)), 1),
2940
+ m("span", zl, R(F(t.paginationInfo, _.value ? Oe.value : 0, Re.value, _.value)), 1),
2936
2941
  t.showPageSize ? Z((p(), g("select", {
2937
2942
  key: 0,
2938
2943
  "onUpdate:modelValue": h[3] || (h[3] = (v) => r.value = v),
@@ -2947,7 +2952,7 @@ const Ut = /* @__PURE__ */ il(ol, [["render", ll]]), sl = { class: "bh-datatable
2947
2952
  ]) : I("", !0)
2948
2953
  ])
2949
2954
  ]),
2950
- oe(u.$slots, "footerpagination", {
2955
+ le(a.$slots, "footerpagination", {
2951
2956
  currentPage: s.value,
2952
2957
  maxPage: B.value,
2953
2958
  paging: st.value,