@dolusoft/vue3-datatable 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { onMounted as we, nextTick as On, getCurrentScope as Nn, onScopeDispose as Rn, unref as D, getCurrentInstance as Yt, computed as Q, ref as O, watch as V, defineComponent as ue, useCssVars as An, shallowRef as oe, onUnmounted as Qe, openBlock as m, createElementBlock as g, Fragment as B, withDirectives as ne, createElementVNode as y, normalizeClass as k, normalizeStyle as K, withModifiers as re, setBlockTracking as Tt, vShow as Ke, createCommentVNode as M, mergeProps as Dn, renderSlot as X, renderList as te, createVNode as G, reactive as Bn, watchEffect as qn, h as Xe, toRef as Hn, createBlock as Y, onBeforeUnmount as jn, toDisplayString as R, createTextVNode as Ye, vModelText as je, vModelSelect as Jt, useSlots as Wn, withCtx as ee, vModelCheckbox as Un } from "vue";
1
+ import { onMounted as Se, nextTick as On, getCurrentScope as Nn, onScopeDispose as Rn, unref as D, getCurrentInstance as Yt, computed as Q, ref as O, watch as U, defineComponent as ue, useCssVars as An, shallowRef as oe, onUnmounted as Qe, openBlock as m, createElementBlock as g, Fragment as B, withDirectives as ne, createElementVNode as y, normalizeClass as k, normalizeStyle as K, withModifiers as re, setBlockTracking as Tt, vShow as Ke, createCommentVNode as M, mergeProps as Dn, renderSlot as X, renderList as te, createVNode as G, reactive as Bn, watchEffect as qn, h as Xe, toRef as Hn, createBlock as Y, onBeforeUnmount as jn, toDisplayString as R, createTextVNode as Ye, vModelText as je, vModelSelect as Jt, useSlots as Wn, withCtx as ee, vModelCheckbox as Un } from "vue";
2
2
  function Vn(e) {
3
3
  return Nn() ? (Rn(e), !0) : !1;
4
4
  }
@@ -11,7 +11,7 @@ function Kn(e) {
11
11
  return Yt();
12
12
  }
13
13
  function Xn(e, o = !0, n) {
14
- Kn() ? we(e, n) : o ? e() : On(e);
14
+ Kn() ? Se(e, n) : o ? e() : On(e);
15
15
  }
16
16
  function fe(e) {
17
17
  var o;
@@ -21,7 +21,7 @@ function fe(e) {
21
21
  const Zt = Qn ? window : void 0;
22
22
  function Yn() {
23
23
  const e = O(!1), o = Yt();
24
- return o && we(() => {
24
+ return o && Se(() => {
25
25
  e.value = !0;
26
26
  }, o), e;
27
27
  }
@@ -34,7 +34,7 @@ function Zn(e, o, n = {}) {
34
34
  let l;
35
35
  const s = Jn(() => i && "ResizeObserver" in i), r = () => {
36
36
  l && (l.disconnect(), l = void 0);
37
- }, u = Q(() => Array.isArray(e) ? e.map((p) => fe(p)) : [fe(e)]), c = V(
37
+ }, u = Q(() => Array.isArray(e) ? e.map((p) => fe(p)) : [fe(e)]), c = U(
38
38
  u,
39
39
  (p) => {
40
40
  if (r(), s.value && i) {
@@ -78,7 +78,7 @@ function Mt(e, o = { width: 0, height: 0 }, n = {}) {
78
78
  const p = fe(e);
79
79
  p && (s.value = "offsetWidth" in p ? p.offsetWidth : o.width, r.value = "offsetHeight" in p ? p.offsetHeight : o.height);
80
80
  });
81
- const c = V(
81
+ const c = U(
82
82
  () => fe(e),
83
83
  (p) => {
84
84
  s.value = p ? o.width : 0, r.value = p ? o.height : 0;
@@ -93,22 +93,22 @@ function Mt(e, o = { width: 0, height: 0 }, n = {}) {
93
93
  stop: d
94
94
  };
95
95
  }
96
- var eo = typeof global == "object" && global && global.Object === Object && global, to = typeof self == "object" && self && self.Object === Object && self, en = eo || to || Function("return this")(), Me = en.Symbol, tn = Object.prototype, no = tn.hasOwnProperty, oo = tn.toString, pe = Me ? Me.toStringTag : void 0;
96
+ var eo = typeof global == "object" && global && global.Object === Object && global, to = typeof self == "object" && self && self.Object === Object && self, en = eo || to || Function("return this")(), Ie = en.Symbol, tn = Object.prototype, no = tn.hasOwnProperty, oo = tn.toString, me = Ie ? Ie.toStringTag : void 0;
97
97
  function io(e) {
98
- var o = no.call(e, pe), n = e[pe];
98
+ var o = no.call(e, me), n = e[me];
99
99
  try {
100
- e[pe] = void 0;
100
+ e[me] = void 0;
101
101
  var i = !0;
102
102
  } catch {
103
103
  }
104
104
  var t = oo.call(e);
105
- return i && (o ? e[pe] = n : delete e[pe]), t;
105
+ return i && (o ? e[me] = n : delete e[me]), t;
106
106
  }
107
107
  var lo = Object.prototype, so = lo.toString;
108
108
  function ro(e) {
109
109
  return so.call(e);
110
110
  }
111
- var ao = "[object Null]", uo = "[object Undefined]", It = Me ? Me.toStringTag : void 0;
111
+ var ao = "[object Null]", uo = "[object Undefined]", It = Ie ? Ie.toStringTag : void 0;
112
112
  function co(e) {
113
113
  return e == null ? e === void 0 ? uo : ao : It && It in Object(e) ? io(e) : ro(e);
114
114
  }
@@ -129,19 +129,19 @@ var go = /^\s+/;
129
129
  function bo(e) {
130
130
  return e && e.slice(0, vo(e) + 1).replace(go, "");
131
131
  }
132
- function Ie(e) {
132
+ function Fe(e) {
133
133
  var o = typeof e;
134
134
  return e != null && (o == "object" || o == "function");
135
135
  }
136
136
  var Ft = NaN, yo = /^[-+]0x[0-9a-f]+$/i, xo = /^0b[01]+$/i, wo = /^0o[0-7]+$/i, So = parseInt;
137
- function ge(e) {
137
+ function be(e) {
138
138
  if (typeof e == "number")
139
139
  return e;
140
140
  if (po(e))
141
141
  return Ft;
142
- if (Ie(e)) {
142
+ if (Fe(e)) {
143
143
  var o = typeof e.valueOf == "function" ? e.valueOf() : e;
144
- e = Ie(o) ? o + "" : o;
144
+ e = Fe(o) ? o + "" : o;
145
145
  }
146
146
  if (typeof e != "string")
147
147
  return e === 0 ? e : +e;
@@ -152,8 +152,8 @@ function ge(e) {
152
152
  function Co(e, o, n) {
153
153
  return e === e && (n !== void 0 && (e = e <= n ? e : n), o !== void 0 && (e = e >= o ? e : o)), e;
154
154
  }
155
- function ze(e, o, n) {
156
- return n === void 0 && (n = o, o = void 0), n !== void 0 && (n = ge(n), n = n === n ? n : 0), o !== void 0 && (o = ge(o), o = o === o ? o : 0), Co(ge(e), o, n);
155
+ function Pe(e, o, n) {
156
+ return n === void 0 && (n = o, o = void 0), n !== void 0 && (n = be(n), n = n === n ? n : 0), o !== void 0 && (o = be(o), o = o === o ? o : 0), Co(be(e), o, n);
157
157
  }
158
158
  var We = function() {
159
159
  return en.Date.now();
@@ -162,7 +162,7 @@ function nn(e, o, n) {
162
162
  var i, t, l, s, r, u, c = 0, d = !1, p = !1, C = !0;
163
163
  if (typeof e != "function")
164
164
  throw new TypeError(ko);
165
- o = ge(o) || 0, Ie(n) && (d = !!n.leading, p = "maxWait" in n, l = p ? zo(ge(n.maxWait) || 0, o) : l, C = "trailing" in n ? !!n.trailing : C);
165
+ o = be(o) || 0, Fe(n) && (d = !!n.leading, p = "maxWait" in n, l = p ? zo(be(n.maxWait) || 0, o) : l, C = "trailing" in n ? !!n.trailing : C);
166
166
  function z(x) {
167
167
  var b = i, F = t;
168
168
  return i = t = void 0, c = x, s = e.apply(F, b), s;
@@ -210,13 +210,13 @@ function on(e, o, n) {
210
210
  var i = !0, t = !0;
211
211
  if (typeof e != "function")
212
212
  throw new TypeError(Eo);
213
- return Ie(n) && (i = "leading" in n ? !!n.leading : i, t = "trailing" in n ? !!n.trailing : t), nn(e, o, {
213
+ return Fe(n) && (i = "leading" in n ? !!n.leading : i, t = "trailing" in n ? !!n.trailing : t), nn(e, o, {
214
214
  leading: i,
215
215
  maxWait: o,
216
216
  trailing: t
217
217
  });
218
218
  }
219
- var Lo = Object.defineProperty, To = Object.defineProperties, Mo = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Io = Object.prototype.hasOwnProperty, Fo = Object.prototype.propertyIsEnumerable, $t = (e, o, n) => o in e ? Lo(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, Fe = (e, o) => {
219
+ var Lo = Object.defineProperty, To = Object.defineProperties, Mo = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Io = Object.prototype.hasOwnProperty, Fo = Object.prototype.propertyIsEnumerable, $t = (e, o, n) => o in e ? Lo(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, _e = (e, o) => {
220
220
  for (var n in o || (o = {}))
221
221
  Io.call(o, n) && $t(e, n, o[n]);
222
222
  if (_t)
@@ -265,7 +265,7 @@ function Oo(e, { expose: o }) {
265
265
  const E = ([b]) => L.value = b.isIntersecting, q = ([b]) => P.value = b.isIntersecting, x = () => {
266
266
  $ && ($.disconnect(), $ = null), W && (W.disconnect(), W = null);
267
267
  };
268
- return V(() => [n.fixedThumb, n.wrapperEl], () => {
268
+ return U(() => [n.fixedThumb, n.wrapperEl], () => {
269
269
  if (!n.fixedThumb || !n.wrapperEl)
270
270
  return x();
271
271
  x(), W = new IntersectionObserver(q, { threshold: [0, 0.5] }), W.observe(n.wrapperEl), $ = new IntersectionObserver(E), $.observe(w.value);
@@ -307,7 +307,7 @@ function Oo(e, { expose: o }) {
307
307
  ]) : M("", !0)
308
308
  ], 64));
309
309
  }
310
- const No = /* @__PURE__ */ ue(ln(Fe({}, $o), {
310
+ const No = /* @__PURE__ */ ue(ln(_e({}, $o), {
311
311
  props: {
312
312
  type: null,
313
313
  autoExpand: null,
@@ -327,7 +327,7 @@ function Ot(...e) {
327
327
  const o = "value" in (e == null ? void 0 : e[0]);
328
328
  let n;
329
329
  o ? n = e == null ? void 0 : e[1] : n = e == null ? void 0 : e[0];
330
- const { wait: i, type: t, callback: l } = Fe(Fe({}, Ro), n), s = o ? e[0] : oe(null), r = Bn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
330
+ const { wait: i, type: t, callback: l } = _e(_e({}, Ro), n), s = o ? e[0] : oe(null), r = Bn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
331
331
  const C = s.value.getBoundingClientRect();
332
332
  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();
333
333
  };
@@ -351,7 +351,7 @@ function Do(e, { expose: o, emit: n }) {
351
351
  t[q].instance || (t[q].instance = E);
352
352
  };
353
353
  let s = oe(null), r = oe(null);
354
- we(() => {
354
+ Se(() => {
355
355
  var E;
356
356
  const q = Array.from((E = s.value.parentElement) == null ? void 0 : E.childNodes);
357
357
  for (const x in t)
@@ -366,12 +366,12 @@ function Do(e, { expose: o, emit: n }) {
366
366
  d.value = Math.max(s.value.scrollHeight - u.height | 0, 0), p.value = Math.max(s.value.scrollWidth - u.width | 0, 0);
367
367
  }
368
368
  let z = Q(() => ({
369
- thumbSize: p.value ? ze(u.width / s.value.scrollWidth * u.width, i.thumbMinSize > u.width ? 48 : i.thumbMinSize, i.thumbMaxSize) : 0,
369
+ thumbSize: p.value ? Pe(u.width / s.value.scrollWidth * u.width, i.thumbMinSize > u.width ? 48 : i.thumbMinSize, i.thumbMaxSize) : 0,
370
370
  contentMainSize: c.width,
371
371
  wrapperMainSize: u.width,
372
372
  boundaryDistance: Math.abs(u.left)
373
373
  })), P = Q(() => ({
374
- thumbSize: d.value ? ze(u.height / s.value.scrollHeight * u.height, i.thumbMinSize > u.height ? 48 : i.thumbMinSize, i.thumbMaxSize) : 0,
374
+ thumbSize: d.value ? Pe(u.height / s.value.scrollHeight * u.height, i.thumbMinSize > u.height ? 48 : i.thumbMinSize, i.thumbMaxSize) : 0,
375
375
  contentMainSize: c.height,
376
376
  wrapperMainSize: u.height,
377
377
  boundaryDistance: Math.abs(u.top)
@@ -379,15 +379,15 @@ function Do(e, { expose: o, emit: n }) {
379
379
  const $ = () => {
380
380
  p.value && (t.horizontal.el.style.transform = `translate3d(${s.value.scrollLeft / p.value * w.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), d.value && (t.vertical.el.style.transform = `translate3d(0, ${s.value.scrollTop / d.value * L.value}px, 0)`, t.vertical.instance.autoHideAfterScroll());
381
381
  };
382
- V(() => [p.value, d.value], $);
382
+ U(() => [p.value, d.value], $);
383
383
  const W = (E) => {
384
384
  E.stopPropagation();
385
- const q = s.value.scrollLeft, x = s.value.scrollTop, b = ze(q + ((E == null ? void 0 : E.deltaX) || 0), 0, p.value) | 0, F = ze(x + ((E == null ? void 0 : E.deltaY) || 0), 0, d.value) | 0;
385
+ const q = s.value.scrollLeft, x = s.value.scrollTop, b = Pe(q + ((E == null ? void 0 : E.deltaX) || 0), 0, p.value) | 0, F = Pe(x + ((E == null ? void 0 : E.deltaY) || 0), 0, d.value) | 0;
386
386
  s.value.scrollLeft = b, s.value.scrollTop = F, p.value && (t.horizontal.el.style.transform = `translate3d(${b / p.value * w.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), d.value && (t.vertical.el.style.transform = `translate3d(0, ${F / d.value * L.value}px, 0)`, t.vertical.instance.autoHideAfterScroll()), n("scroll", { target: s.value, scrollLeft: b, scrollTop: F });
387
387
  }, N = (E) => {
388
388
  i.simulateScroll ? W(E) : $();
389
389
  };
390
- return V(u, () => n("wrapperResize", u)), V(c, () => n("contentResize", c)), o({
390
+ return U(u, () => n("wrapperResize", u)), U(c, () => n("contentResize", c)), o({
391
391
  scrollEl: s
392
392
  }), (E, q) => (m(), g("div", {
393
393
  class: k(["scrollbar__wrapper", e.wrapperClass]),
@@ -426,7 +426,7 @@ function Do(e, { expose: o, emit: n }) {
426
426
  }, null, 8, ["autoExpand", "autoHide", "autoHideDelay", "fixedThumb", "type", "scrollInfo", "thumbWidth", "wrapperEl"])), 64))
427
427
  ], 6));
428
428
  }
429
- const Bo = /* @__PURE__ */ ue(ln(Fe({}, Ao), {
429
+ const Bo = /* @__PURE__ */ ue(ln(_e({}, Ao), {
430
430
  props: {
431
431
  wrapperClass: null,
432
432
  wrapperStyle: null,
@@ -782,7 +782,7 @@ function jo(e, o, n, i, t, l) {
782
782
  X(e.$slots, "default")
783
783
  ], 4);
784
784
  }
785
- const me = /* @__PURE__ */ qo(Ho, [["render", jo]]), be = /^[a-z0-9]+(-[a-z0-9]+)*$/, $e = (e, o, n, i = "") => {
785
+ const ve = /* @__PURE__ */ qo(Ho, [["render", jo]]), ye = /^[a-z0-9]+(-[a-z0-9]+)*$/, Oe = (e, o, n, i = "") => {
786
786
  const t = e.split(":");
787
787
  if (e.slice(0, 1) === "@") {
788
788
  if (t.length < 2 || t.length > 3)
@@ -798,7 +798,7 @@ const me = /* @__PURE__ */ qo(Ho, [["render", jo]]), be = /^[a-z0-9]+(-[a-z0-9]+
798
798
  prefix: u,
799
799
  name: r
800
800
  };
801
- return o && !Ee(c) ? null : c;
801
+ return o && !Le(c) ? null : c;
802
802
  }
803
803
  const l = t[0], s = l.split("-");
804
804
  if (s.length > 1) {
@@ -807,7 +807,7 @@ const me = /* @__PURE__ */ qo(Ho, [["render", jo]]), be = /^[a-z0-9]+(-[a-z0-9]+
807
807
  prefix: s.shift(),
808
808
  name: s.join("-")
809
809
  };
810
- return o && !Ee(r) ? null : r;
810
+ return o && !Le(r) ? null : r;
811
811
  }
812
812
  if (n && i === "") {
813
813
  const r = {
@@ -815,25 +815,25 @@ const me = /* @__PURE__ */ qo(Ho, [["render", jo]]), be = /^[a-z0-9]+(-[a-z0-9]+
815
815
  prefix: "",
816
816
  name: l
817
817
  };
818
- return o && !Ee(r, n) ? null : r;
818
+ return o && !Le(r, n) ? null : r;
819
819
  }
820
820
  return null;
821
- }, Ee = (e, o) => e ? !!((e.provider === "" || e.provider.match(be)) && (o && e.prefix === "" || e.prefix.match(be)) && e.name.match(be)) : !1, sn = Object.freeze(
821
+ }, Le = (e, o) => e ? !!((e.provider === "" || e.provider.match(ye)) && (o && e.prefix === "" || e.prefix.match(ye)) && e.name.match(ye)) : !1, sn = Object.freeze(
822
822
  {
823
823
  left: 0,
824
824
  top: 0,
825
825
  width: 16,
826
826
  height: 16
827
827
  }
828
- ), _e = Object.freeze({
828
+ ), $e = Object.freeze({
829
829
  rotate: 0,
830
830
  vFlip: !1,
831
831
  hFlip: !1
832
- }), Oe = Object.freeze({
832
+ }), Ne = Object.freeze({
833
833
  ...sn,
834
- ..._e
834
+ ...$e
835
835
  }), Je = Object.freeze({
836
- ...Oe,
836
+ ...Ne,
837
837
  body: "",
838
838
  hidden: !1
839
839
  });
@@ -846,7 +846,7 @@ function Wo(e, o) {
846
846
  function Nt(e, o) {
847
847
  const n = Wo(e, o);
848
848
  for (const i in Je)
849
- i in _e ? i in e && !(i in n) && (n[i] = _e[i]) : i in o ? n[i] = o[i] : i in e && (n[i] = e[i]);
849
+ i in $e ? i in e && !(i in n) && (n[i] = $e[i]) : i in o ? n[i] = o[i] : i in e && (n[i] = e[i]);
850
850
  return n;
851
851
  }
852
852
  function Uo(e, o) {
@@ -909,7 +909,7 @@ function an(e) {
909
909
  const n = o.icons;
910
910
  for (const t in n) {
911
911
  const l = n[t];
912
- if (!t.match(be) || typeof l.body != "string" || !Ve(
912
+ if (!t.match(ye) || typeof l.body != "string" || !Ve(
913
913
  l,
914
914
  Je
915
915
  ))
@@ -918,7 +918,7 @@ function an(e) {
918
918
  const i = o.aliases || /* @__PURE__ */ Object.create(null);
919
919
  for (const t in i) {
920
920
  const l = i[t], s = l.parent;
921
- if (!t.match(be) || typeof s != "string" || !n[s] && !i[s] || !Ve(
921
+ if (!t.match(ye) || typeof s != "string" || !n[s] && !i[s] || !Ve(
922
922
  l,
923
923
  Je
924
924
  ))
@@ -952,19 +952,19 @@ function Ko(e, o, n) {
952
952
  }
953
953
  return !1;
954
954
  }
955
- let ye = !1;
955
+ let xe = !1;
956
956
  function un(e) {
957
- return typeof e == "boolean" && (ye = e), ye;
957
+ return typeof e == "boolean" && (xe = e), xe;
958
958
  }
959
959
  function Xo(e) {
960
- const o = typeof e == "string" ? $e(e, !0, ye) : e;
960
+ const o = typeof e == "string" ? Oe(e, !0, xe) : e;
961
961
  if (o) {
962
962
  const n = ae(o.provider, o.prefix), i = o.name;
963
963
  return n.icons[i] || (n.missing.has(i) ? null : void 0);
964
964
  }
965
965
  }
966
966
  function Yo(e, o) {
967
- const n = $e(e, !0, ye);
967
+ const n = Oe(e, !0, xe);
968
968
  if (!n)
969
969
  return !1;
970
970
  const i = ae(n.provider, n.prefix);
@@ -973,14 +973,14 @@ function Yo(e, o) {
973
973
  function Jo(e, o) {
974
974
  if (typeof e != "object")
975
975
  return !1;
976
- if (typeof o != "string" && (o = e.provider || ""), ye && !o && !e.prefix) {
976
+ if (typeof o != "string" && (o = e.provider || ""), xe && !o && !e.prefix) {
977
977
  let t = !1;
978
978
  return an(e) && (e.prefix = "", rn(e, (l, s) => {
979
979
  s && Yo(l, s) && (t = !0);
980
980
  })), t;
981
981
  }
982
982
  const n = e.prefix;
983
- if (!Ee({
983
+ if (!Le({
984
984
  provider: o,
985
985
  prefix: n,
986
986
  name: "a"
@@ -996,7 +996,7 @@ const cn = Object.freeze({
996
996
  // Dimensions
997
997
  ...cn,
998
998
  // Transformations
999
- ..._e
999
+ ...$e
1000
1000
  }), Zo = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ei = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
1001
1001
  function At(e, o, n) {
1002
1002
  if (o === 1)
@@ -1048,7 +1048,7 @@ function oi(e, o, n) {
1048
1048
  const ii = (e) => e === "unset" || e === "undefined" || e === "none";
1049
1049
  function li(e, o) {
1050
1050
  const n = {
1051
- ...Oe,
1051
+ ...Ne,
1052
1052
  ...e
1053
1053
  }, i = {
1054
1054
  ...dn,
@@ -1158,14 +1158,14 @@ function st(e) {
1158
1158
  dataAfterTimeout: e.dataAfterTimeout !== !1
1159
1159
  };
1160
1160
  }
1161
- const rt = /* @__PURE__ */ Object.create(null), ve = [
1161
+ const rt = /* @__PURE__ */ Object.create(null), ge = [
1162
1162
  "https://api.simplesvg.com",
1163
1163
  "https://api.unisvg.com"
1164
- ], Le = [];
1165
- for (; ve.length > 0; )
1166
- ve.length === 1 || Math.random() > 0.5 ? Le.push(ve.shift()) : Le.push(ve.pop());
1164
+ ], Te = [];
1165
+ for (; ge.length > 0; )
1166
+ ge.length === 1 || Math.random() > 0.5 ? Te.push(ge.shift()) : Te.push(ge.pop());
1167
1167
  rt[""] = st({
1168
- resources: ["https://api.iconify.design"].concat(Le)
1168
+ resources: ["https://api.iconify.design"].concat(Te)
1169
1169
  });
1170
1170
  function di(e, o) {
1171
1171
  const n = st(o);
@@ -1367,7 +1367,7 @@ function Si(e, o, n) {
1367
1367
  function Ci(e, o = !0, n = !1) {
1368
1368
  const i = [];
1369
1369
  return e.forEach((t) => {
1370
- const l = typeof t == "string" ? $e(t, o, n) : t;
1370
+ const l = typeof t == "string" ? Oe(t, o, n) : t;
1371
1371
  l && i.push(l);
1372
1372
  }), i;
1373
1373
  }
@@ -1548,7 +1548,7 @@ function Ei(e, o, n) {
1548
1548
  }
1549
1549
  return !i || !t ? (n(void 0, 424), Bt) : i.query(o, t, n)().abort;
1550
1550
  }
1551
- const qt = "iconify2", xe = "iconify", pn = xe + "-count", Ht = xe + "-version", mn = 36e5, Li = 168, Ti = 50;
1551
+ const qt = "iconify2", we = "iconify", pn = we + "-count", Ht = we + "-version", mn = 36e5, Li = 168, Ti = 50;
1552
1552
  function tt(e, o) {
1553
1553
  try {
1554
1554
  return e.getItem(o);
@@ -1573,7 +1573,7 @@ function nt(e, o) {
1573
1573
  function ot(e) {
1574
1574
  return parseInt(tt(e, pn)) || 0;
1575
1575
  }
1576
- const Ne = {
1576
+ const Re = {
1577
1577
  local: !0,
1578
1578
  session: !0
1579
1579
  }, vn = {
@@ -1584,15 +1584,15 @@ let ct = !1;
1584
1584
  function Mi(e) {
1585
1585
  ct = e;
1586
1586
  }
1587
- let Pe = typeof window > "u" ? {} : window;
1587
+ let Ee = typeof window > "u" ? {} : window;
1588
1588
  function gn(e) {
1589
1589
  const o = e + "Storage";
1590
1590
  try {
1591
- if (Pe && Pe[o] && typeof Pe[o].length == "number")
1592
- return Pe[o];
1591
+ if (Ee && Ee[o] && typeof Ee[o].length == "number")
1592
+ return Ee[o];
1593
1593
  } catch {
1594
1594
  }
1595
- Ne[e] = !1;
1595
+ Re[e] = !1;
1596
1596
  }
1597
1597
  function bn(e, o) {
1598
1598
  const n = gn(e);
@@ -1603,13 +1603,13 @@ function bn(e, o) {
1603
1603
  if (i) {
1604
1604
  const r = ot(n);
1605
1605
  for (let u = 0; u < r; u++)
1606
- jt(n, xe + u.toString());
1606
+ jt(n, we + u.toString());
1607
1607
  }
1608
1608
  ut(n, Ht, qt), nt(n, 0);
1609
1609
  return;
1610
1610
  }
1611
1611
  const t = Math.floor(Date.now() / mn) - Li, l = (r) => {
1612
- const u = xe + r.toString(), c = tt(n, u);
1612
+ const u = we + r.toString(), c = tt(n, u);
1613
1613
  if (typeof c == "string") {
1614
1614
  try {
1615
1615
  const d = JSON.parse(c);
@@ -1628,7 +1628,7 @@ function bn(e, o) {
1628
1628
  function yn() {
1629
1629
  if (!ct) {
1630
1630
  Mi(!0);
1631
- for (const e in Ne)
1631
+ for (const e in Re)
1632
1632
  bn(e, (o) => {
1633
1633
  const n = o.data, i = o.provider, t = n.prefix, l = ae(
1634
1634
  i,
@@ -1649,7 +1649,7 @@ function Ii(e, o) {
1649
1649
  )
1650
1650
  return n === o;
1651
1651
  if (e.lastModifiedCached = o, n)
1652
- for (const i in Ne)
1652
+ for (const i in Re)
1653
1653
  bn(i, (t) => {
1654
1654
  const l = t.data;
1655
1655
  return t.provider !== e.provider || l.prefix !== e.prefix || l.lastModified === o;
@@ -1660,7 +1660,7 @@ function Fi(e, o) {
1660
1660
  ct || yn();
1661
1661
  function n(i) {
1662
1662
  let t;
1663
- if (!Ne[i] || !(t = gn(i)))
1663
+ if (!Re[i] || !(t = gn(i)))
1664
1664
  return;
1665
1665
  const l = vn[i];
1666
1666
  let s;
@@ -1675,7 +1675,7 @@ function Fi(e, o) {
1675
1675
  };
1676
1676
  return ut(
1677
1677
  t,
1678
- xe + s.toString(),
1678
+ we + s.toString(),
1679
1679
  JSON.stringify(r)
1680
1680
  );
1681
1681
  }
@@ -1846,10 +1846,10 @@ for (const e in Gt) {
1846
1846
  for (const n in Vt)
1847
1847
  o[e + n] = Vt[n];
1848
1848
  }
1849
- const Te = {};
1849
+ const Me = {};
1850
1850
  ["horizontal", "vertical"].forEach((e) => {
1851
1851
  const o = e.slice(0, 1) + "Flip";
1852
- Te[e + "-flip"] = o, Te[e.slice(0, 1) + "-flip"] = o, Te[e + "Flip"] = o;
1852
+ Me[e + "-flip"] = o, Me[e.slice(0, 1) + "-flip"] = o, Me[e + "Flip"] = o;
1853
1853
  });
1854
1854
  function Qt(e) {
1855
1855
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
@@ -1884,7 +1884,7 @@ const Kt = (e, o) => {
1884
1884
  w !== !0 && w !== "true" && delete i["aria-hidden"];
1885
1885
  break;
1886
1886
  default: {
1887
- const $ = Te[L];
1887
+ const $ = Me[L];
1888
1888
  $ ? (w === !0 || w === "true" || w === 1) && (n[$] = !0) : Ut[L] === void 0 && (i[L] = w);
1889
1889
  }
1890
1890
  }
@@ -1948,7 +1948,7 @@ if (typeof document < "u" && typeof window < "u") {
1948
1948
  }
1949
1949
  }
1950
1950
  const Vi = {
1951
- ...Oe,
1951
+ ...Ne,
1952
1952
  body: ""
1953
1953
  }, se = ue({
1954
1954
  // Do not inherit other attributes: it is handled by render()
@@ -1983,7 +1983,7 @@ const Vi = {
1983
1983
  data: e
1984
1984
  };
1985
1985
  let n;
1986
- if (typeof e != "string" || (n = $e(e, !1, !0)) === null)
1986
+ if (typeof e != "string" || (n = Oe(e, !1, !0)) === null)
1987
1987
  return this.abortLoading(), null;
1988
1988
  const i = Xo(n);
1989
1989
  if (!i)
@@ -2009,7 +2009,7 @@ const Vi = {
2009
2009
  ...e,
2010
2010
  class: (typeof e.class == "string" ? e.class + " " : "") + o.classes.join(" ")
2011
2011
  }), Kt({
2012
- ...Oe,
2012
+ ...Ne,
2013
2013
  ...o.data
2014
2014
  }, n);
2015
2015
  }
@@ -2035,7 +2035,7 @@ const Vi = {
2035
2035
  }
2036
2036
  }
2037
2037
  const l = O(-1);
2038
- return V(
2038
+ return U(
2039
2039
  () => n.value,
2040
2040
  (s, r) => {
2041
2041
  var u;
@@ -2081,12 +2081,12 @@ const Vi = {
2081
2081
  ]);
2082
2082
  };
2083
2083
  }
2084
- }), Re = (e, o) => {
2084
+ }), Ae = (e, o) => {
2085
2085
  const n = e.__vccOpts || e;
2086
2086
  for (const [i, t] of o)
2087
2087
  n[i] = t;
2088
2088
  return n;
2089
- }, wn = /* @__PURE__ */ Re(Qi, [["__scopeId", "data-v-fc173ebd"]]), Ki = { 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" }, Xi = {
2089
+ }, wn = /* @__PURE__ */ Ae(Qi, [["__scopeId", "data-v-fc173ebd"]]), Ki = { 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" }, Xi = {
2090
2090
  name: "columnFilter"
2091
2091
  }, Yi = /* @__PURE__ */ ue({
2092
2092
  ...Xi,
@@ -2096,7 +2096,7 @@ const Vi = {
2096
2096
  const n = e;
2097
2097
  jn(() => {
2098
2098
  document.removeEventListener("click", t);
2099
- }), we(() => {
2099
+ }), Se(() => {
2100
2100
  document.addEventListener("click", t);
2101
2101
  });
2102
2102
  const i = o, t = () => {
@@ -2232,7 +2232,7 @@ const Vi = {
2232
2232
  function nl(e, o) {
2233
2233
  return m(), g("svg", Zi, tl);
2234
2234
  }
2235
- const Sn = /* @__PURE__ */ Re(Ji, [["render", nl]]), ol = {}, il = {
2235
+ const Sn = /* @__PURE__ */ Ae(Ji, [["render", nl]]), ol = {}, il = {
2236
2236
  viewBox: "0 0 24 24",
2237
2237
  width: "24",
2238
2238
  height: "24",
@@ -2253,7 +2253,7 @@ const Sn = /* @__PURE__ */ Re(Ji, [["render", nl]]), ol = {}, il = {
2253
2253
  function rl(e, o) {
2254
2254
  return m(), g("svg", il, sl);
2255
2255
  }
2256
- const al = /* @__PURE__ */ Re(ol, [["render", rl]]), ul = {}, cl = {
2256
+ const al = /* @__PURE__ */ Ae(ol, [["render", rl]]), ul = {}, cl = {
2257
2257
  viewBox: "0 0 24 24",
2258
2258
  width: "24",
2259
2259
  height: "24",
@@ -2269,7 +2269,7 @@ const al = /* @__PURE__ */ Re(ol, [["render", rl]]), ul = {}, cl = {
2269
2269
  function hl(e, o) {
2270
2270
  return m(), g("svg", cl, fl);
2271
2271
  }
2272
- const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl = { class: "bh-checkbox" }, gl = {
2272
+ const pl = /* @__PURE__ */ Ae(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl = { class: "bh-checkbox" }, gl = {
2273
2273
  key: 1,
2274
2274
  class: "bh-w-px"
2275
2275
  }, bl = ["onClick"], yl = {
@@ -2306,7 +2306,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2306
2306
  ],
2307
2307
  setup(e, { emit: o }) {
2308
2308
  const n = O(null), i = e, t = o;
2309
- return V(() => i.checkAll, () => {
2309
+ return U(() => i.checkAll, () => {
2310
2310
  n.value && (n.value.indeterminate = i.checkAll !== 0 ? !i.checkAll : !1, n.value.checked = i.checkAll);
2311
2311
  }), (s, r) => (m(), g("tr", ml, [
2312
2312
  i.all.hasCheckbox ? (m(), g("th", {
@@ -2584,7 +2584,9 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2584
2584
  "rowSelect",
2585
2585
  "filterChange",
2586
2586
  "rowClick",
2587
- "rowDBClick"
2587
+ "rowDBClick",
2588
+ "currentTopMenuSize",
2589
+ "currentLeftMenuSize"
2588
2590
  ],
2589
2591
  setup(e, { expose: o, emit: n }) {
2590
2592
  var zt, Pt;
@@ -2598,7 +2600,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2598
2600
  ), u = t.pageSize, c = O(t.sortColumn), d = t.sortColumn, p = O(t.sortDirection), C = t.sortDirection, z = O(t.totalRows), P = O([]), L = O(null), w = O(t.loading), $ = O(t.search), W = JSON.parse(JSON.stringify(t.columns)), N = O(null), E = O(null);
2599
2601
  let q = O(0);
2600
2602
  const x = O(230);
2601
- we(() => {
2603
+ Se(() => {
2602
2604
  ie();
2603
2605
  });
2604
2606
  const b = n;
@@ -2622,7 +2624,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2622
2624
  St(a);
2623
2625
  },
2624
2626
  isRowSelected(a) {
2625
- return Ce(a);
2627
+ return ke(a);
2626
2628
  },
2627
2629
  getFilteredRows() {
2628
2630
  return ft();
@@ -2634,7 +2636,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2634
2636
  }), H = Q(() => {
2635
2637
  const a = r.value < 1 ? 1 : Math.ceil(z.value / r.value);
2636
2638
  return Math.max(a || 0, 1);
2637
- }), Ae = Q(() => (s.value - 1) * r.value + 1), De = Q(() => {
2639
+ }), De = Q(() => (s.value - 1) * r.value + 1), Be = Q(() => {
2638
2640
  const a = s.value * r.value;
2639
2641
  return z.value >= a ? a : z.value;
2640
2642
  }), dt = Q(() => {
@@ -2643,13 +2645,13 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2643
2645
  s.value - Math.floor(t.showNumbersCount / 2),
2644
2646
  1
2645
2647
  ), h = a + t.showNumbersCount - 1, h > H.value && (h = H.value, a = h - t.showNumbersCount + 1)) : (a = 1, h = H.value), Array.from(Array(h + 1 - a).keys()).map(
2646
- (U) => a + U
2648
+ (V) => a + V
2647
2649
  );
2648
2650
  }), ft = () => {
2649
- var U, j, Z;
2651
+ var V, j, Z;
2650
2652
  let a = t.rows || [];
2651
2653
  if (!t.isServerMode) {
2652
- if ((U = t.columns) == null || U.forEach((f) => {
2654
+ if ((V = t.columns) == null || V.forEach((f) => {
2653
2655
  f.filter && (f.value !== void 0 && f.value !== null && f.value !== "" || f.condition === "IsNull" || f.condition == "IsNotNull") && (f.type === "string" ? (f.value && !f.condition && (f.condition = "Contains"), f.condition === "Contains" ? a = a.filter((S) => {
2654
2656
  var A;
2655
2657
  return (A = I(S, f.field)) == null ? void 0 : A.toString().toLowerCase().includes(f.value.toLowerCase());
@@ -2668,7 +2670,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2668
2670
  }) : f.condition == "EndsWith" && (a = a.filter((S) => {
2669
2671
  var A;
2670
2672
  return ((A = I(S, f.field)) == null ? void 0 : A.toString().toLowerCase().substr(f.value.length * -1)) === f.value.toLowerCase();
2671
- }))) : f.type === "number" ? (f.value && !f.condition && (f.condition = "Equal"), f.condition === "Equal" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) === parseFloat(f.value)) : f.condition === "NotEqual" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) !== parseFloat(f.value)) : f.condition === "GreaterThan" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) > parseFloat(f.value)) : f.condition === "GreaterThanOrEqual" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) >= parseFloat(f.value)) : f.condition === "LessThan" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) < parseFloat(f.value)) : f.condition === "LessThanOrEqual" && (a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) <= parseFloat(f.value)))) : f.type === "date" ? (f.value && !f.condition && (f.condition = "Equal"), f.condition === "Equal" ? a = a.filter((S) => I(S, f.field) && Se(I(S, f.field)) === f.value) : f.condition === "NotEqual" ? a = a.filter((S) => I(S, f.field) && Se(I(S, f.field)) !== f.value) : f.condition === "GreaterThan" ? a = a.filter((S) => I(S, f.field) && Se(I(S, f.field)) > f.value) : f.condition === "LessThan" && (a = a.filter((S) => I(S, f.field) && Se(I(S, f.field)) < f.value))) : f.type === "bool" && (a = a.filter((S) => I(S, f.field) === f.value)), f.condition === "IsNull" ? (a = a.filter((S) => I(S, f.field) == null || I(S, f.field) == ""), f.value = "") : f.condition === "IsNotNull" && (f.value = "", a = a.filter((S) => I(S, f.field))));
2673
+ }))) : f.type === "number" ? (f.value && !f.condition && (f.condition = "Equal"), f.condition === "Equal" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) === parseFloat(f.value)) : f.condition === "NotEqual" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) !== parseFloat(f.value)) : f.condition === "GreaterThan" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) > parseFloat(f.value)) : f.condition === "GreaterThanOrEqual" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) >= parseFloat(f.value)) : f.condition === "LessThan" ? a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) < parseFloat(f.value)) : f.condition === "LessThanOrEqual" && (a = a.filter((S) => I(S, f.field) && parseFloat(I(S, f.field)) <= parseFloat(f.value)))) : f.type === "date" ? (f.value && !f.condition && (f.condition = "Equal"), f.condition === "Equal" ? a = a.filter((S) => I(S, f.field) && Ce(I(S, f.field)) === f.value) : f.condition === "NotEqual" ? a = a.filter((S) => I(S, f.field) && Ce(I(S, f.field)) !== f.value) : f.condition === "GreaterThan" ? a = a.filter((S) => I(S, f.field) && Ce(I(S, f.field)) > f.value) : f.condition === "LessThan" && (a = a.filter((S) => I(S, f.field) && Ce(I(S, f.field)) < f.value))) : f.type === "bool" && (a = a.filter((S) => I(S, f.field) === f.value)), f.condition === "IsNull" ? (a = a.filter((S) => I(S, f.field) == null || I(S, f.field) == ""), f.value = "") : f.condition === "IsNotNull" && (f.value = "", a = a.filter((S) => I(S, f.field))));
2672
2674
  }), $.value && (a != null && a.length)) {
2673
2675
  let f = [];
2674
2676
  const S = (t.columns || []).filter((A) => A.search && !A.hide).map((A) => A.field);
@@ -2694,14 +2696,14 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2694
2696
  return a;
2695
2697
  }, he = O([]), ie = () => {
2696
2698
  let a = [], h = ft();
2697
- t.isServerMode ? (z.value = t.totalRows || 0, a = h) : (z.value = (h == null ? void 0 : h.length) || 0, a = h.slice(Ae.value - 1, De.value)), t.hasSubtable && a.forEach(function(v) {
2698
- v.isExpanded != null && (he.value.find((U) => U.id == v.id) || he.value.push({
2699
+ t.isServerMode ? (z.value = t.totalRows || 0, a = h) : (z.value = (h == null ? void 0 : h.length) || 0, a = h.slice(De.value - 1, Be.value)), t.hasSubtable && a.forEach(function(v) {
2700
+ v.isExpanded != null && (he.value.find((V) => V.id == v.id) || he.value.push({
2699
2701
  id: v.id,
2700
2702
  isExpanded: v.isExpanded
2701
2703
  }));
2702
2704
  }), l.value = a || [];
2703
2705
  };
2704
- V(
2706
+ U(
2705
2707
  () => t.loading,
2706
2708
  () => {
2707
2709
  w.value = t.loading;
@@ -2720,15 +2722,15 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2720
2722
  return !1;
2721
2723
  s.value++;
2722
2724
  };
2723
- V(() => s.value, () => {
2725
+ U(() => s.value, () => {
2724
2726
  J(!1), t.isServerMode ? ce("page") : (ie(), b("pageChange", s.value));
2725
- }), V(() => t.rows, () => {
2727
+ }), U(() => t.rows, () => {
2726
2728
  t.isServerMode || (s.value = 1), J(!1), ie();
2727
2729
  });
2728
2730
  const Cn = (a) => {
2729
2731
  r.value = a;
2730
2732
  };
2731
- V(() => r.value, () => {
2733
+ U(() => r.value, () => {
2732
2734
  J(!1), t.isServerMode ? s.value === 1 ? ce("pagesize", !0) : s.value = 1 : (s.value = 1, ie(), b("pageSizeChange", r.value));
2733
2735
  });
2734
2736
  const gt = (a) => {
@@ -2743,7 +2745,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2743
2745
  );
2744
2746
  b("rowSelect", h);
2745
2747
  };
2746
- V(() => P.value, bt);
2748
+ U(() => P.value, bt);
2747
2749
  const J = (a) => {
2748
2750
  a ? P.value = l.value.map(
2749
2751
  (h, v) => T.value ? h[T.value] : v
@@ -2753,13 +2755,13 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2753
2755
  }, kn = () => {
2754
2756
  J(!1), t.isServerMode ? s.value === 1 ? ce("search", !0) : s.value = 1 : (s.value = 1, ie(), b("searchChange", $.value));
2755
2757
  };
2756
- V(
2758
+ U(
2757
2759
  () => t.search,
2758
2760
  () => {
2759
2761
  $.value = t.search, kn();
2760
2762
  }
2761
2763
  );
2762
- const I = (a, h) => h == null ? void 0 : h.split(".").reduce((v, _) => v == null ? void 0 : v[_], a), Se = (a) => {
2764
+ const I = (a, h) => h == null ? void 0 : h.split(".").reduce((v, _) => v == null ? void 0 : v[_], a), Ce = (a) => {
2763
2765
  try {
2764
2766
  if (!a)
2765
2767
  return "";
@@ -2770,7 +2772,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2770
2772
  return "";
2771
2773
  }, xt = (a, h) => {
2772
2774
  q.value++, q.value === 1 ? E.value = setTimeout(() => {
2773
- q.value = 0, t.selectRowOnClick && (Ce(h) ? St(h) : wt(h), bt(P.value)), b("rowClick", a);
2775
+ q.value = 0, t.selectRowOnClick && (ke(h) ? St(h) : wt(h), bt(P.value)), b("rowClick", a);
2774
2776
  }, x.value) : q.value === 2 && (clearTimeout(E.value), q.value = 0, b("rowDBClick", a));
2775
2777
  }, ce = (a, h = !1) => {
2776
2778
  if (t.isServerMode) {
@@ -2802,20 +2804,20 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2802
2804
  ), Ln = () => t.columns, Tn = () => {
2803
2805
  P.value = [];
2804
2806
  }, wt = (a) => {
2805
- if (!Ce(a)) {
2807
+ if (!ke(a)) {
2806
2808
  const h = l.value.find((v, _) => _ === a);
2807
2809
  P.value.push(
2808
2810
  T.value ? h[T.value] : a
2809
2811
  );
2810
2812
  }
2811
2813
  }, St = (a) => {
2812
- if (Ce(a)) {
2814
+ if (ke(a)) {
2813
2815
  const h = l.value.find((v, _) => _ === a);
2814
2816
  P.value = P.value.filter(
2815
2817
  (v) => v !== (T.value ? h[T.value] : a)
2816
2818
  );
2817
2819
  }
2818
- }, Ce = (a) => {
2820
+ }, ke = (a) => {
2819
2821
  const h = l.value.find((v, _) => _ === a);
2820
2822
  return h ? P.value.includes(
2821
2823
  T.value ? h[T.value] : a
@@ -2827,42 +2829,46 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2827
2829
  setInterval(function() {
2828
2830
  Mn.value++;
2829
2831
  }, 2200);
2830
- const ke = O(Number(t.leftmenusize));
2831
- V(
2832
+ const pe = O(Number(t.leftmenusize));
2833
+ U(
2832
2834
  () => t.leftmenusize,
2833
2835
  (a) => {
2834
- ke.value = 100 - Number(a);
2836
+ pe.value = 100 - Number(a);
2835
2837
  }
2836
2838
  );
2837
- const Be = O(100 - Number(t.topmenusize)), Ct = O(null), In = Mt(Ct).height;
2838
- V(
2839
+ const ze = O(100 - Number(t.topmenusize)), Ct = O(null), In = Mt(Ct).height;
2840
+ U(
2839
2841
  () => t.topmenusize,
2840
2842
  (a) => {
2841
- Be.value = 100 - Number(a);
2843
+ ze.value = 100 - Number(a);
2842
2844
  }
2843
2845
  );
2844
2846
  const qe = O(t.leftmenumax), kt = O(null), Fn = Mt(kt).width;
2845
- return V(ke, (a) => {
2847
+ return U(pe, (a) => {
2846
2848
  Fn.value == t.leftmenumaxpx ? qe.value = a : qe.value = t.leftmenumax;
2847
- }, { immediate: !0 }), (a, h) => (m(), g("div", Il, [
2849
+ }, { immediate: !0 }), U(() => ze.value, (a) => {
2850
+ b("currentTopMenuSize", a);
2851
+ }), U(() => pe.value, (a) => {
2852
+ b("currentLeftMenuSize", a);
2853
+ }), (a, h) => (m(), g("div", Il, [
2848
2854
  G(D(Ue), {
2849
2855
  class: "default-theme",
2850
2856
  style: K({ height: t.height })
2851
2857
  }, {
2852
2858
  default: ee(() => [
2853
- G(D(me), null, {
2859
+ G(D(ve), null, {
2854
2860
  default: ee(() => [
2855
2861
  G(D(Ue), {
2856
2862
  vertical: "vertical",
2857
2863
  class: "default-theme",
2858
- onResize: h[2] || (h[2] = (v) => ke.value = v[0].size)
2864
+ onResize: h[2] || (h[2] = (v) => pe.value = v[0].size)
2859
2865
  }, {
2860
2866
  default: ee(() => [
2861
- a.enableleftmenu ? (m(), Y(D(me), {
2867
+ a.enableleftmenu ? (m(), Y(D(ve), {
2862
2868
  key: 0,
2863
2869
  ref_key: "leftmenuel",
2864
2870
  ref: kt,
2865
- size: ke.value,
2871
+ size: pe.value,
2866
2872
  "max-size": qe.value,
2867
2873
  style: K({ "min-width": a.leftmenumin + "px", "max-width": a.leftmenumaxpx + "px" })
2868
2874
  }, {
@@ -2873,18 +2879,18 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2873
2879
  ]),
2874
2880
  _: 3
2875
2881
  }, 8, ["size", "max-size", "style"])) : M("", !0),
2876
- G(D(me), null, {
2882
+ G(D(ve), null, {
2877
2883
  default: ee(() => [
2878
2884
  G(D(Ue), {
2879
2885
  class: "default-theme",
2880
2886
  horizontal: "horizontal"
2881
2887
  }, {
2882
2888
  default: ee(() => [
2883
- a.enabletopmenu ? (m(), Y(D(me), {
2889
+ a.enabletopmenu ? (m(), Y(D(ve), {
2884
2890
  key: 0,
2885
2891
  ref_key: "topmenuel",
2886
2892
  ref: Ct,
2887
- size: 100 - Be.value,
2893
+ size: 100 - ze.value,
2888
2894
  "max-size": a.topmenumax,
2889
2895
  style: K({ "min-height": a.topmenumin + "px" })
2890
2896
  }, {
@@ -2895,8 +2901,8 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2895
2901
  ]),
2896
2902
  _: 3
2897
2903
  }, 8, ["size", "max-size", "style"])) : M("", !0),
2898
- G(D(me), {
2899
- size: Be.value,
2904
+ G(D(ve), {
2905
+ size: ze.value,
2900
2906
  style: K({ "padding-right": a.tableRightOffset + "px" })
2901
2907
  }, {
2902
2908
  default: ee(() => [
@@ -2945,7 +2951,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
2945
2951
  ], 2),
2946
2952
  y("tbody", null, [
2947
2953
  (m(!0), g(B, null, te(l.value, (v, _) => {
2948
- var U;
2954
+ var V;
2949
2955
  return m(), g(B, {
2950
2956
  key: v[T.value] ? v[T.value] : _
2951
2957
  }, [
@@ -3011,7 +3017,7 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
3011
3017
  ], 2))
3012
3018
  ], 64))), 256))
3013
3019
  ], 10, Ol)) : M("", !0),
3014
- (U = he.value.find((j) => j.id == v.id)) != null && U.isExpanded && t.hasSubtable ? (m(), g("tr", {
3020
+ (V = he.value.find((j) => j.id == v.id)) != null && V.isExpanded && t.hasSubtable ? (m(), g("tr", {
3015
3021
  key: 1,
3016
3022
  class: k([
3017
3023
  typeof t.rowClass == "function" ? a.rowClass(v) : t.rowClass,
@@ -3043,18 +3049,18 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
3043
3049
  key: 0,
3044
3050
  colspan: D(de)
3045
3051
  }, null, 8, Wl)) : M("", !0),
3046
- (m(!0), g(B, null, te(t.columns, (U, j) => (m(), g(B, null, [
3047
- U.hide ? M("", !0) : (m(), g("td", {
3048
- key: U.field,
3052
+ (m(!0), g(B, null, te(t.columns, (V, j) => (m(), g(B, null, [
3053
+ V.hide ? M("", !0) : (m(), g("td", {
3054
+ key: V.field,
3049
3055
  class: k([
3050
3056
  typeof t.cellClass == "function" ? a.cellClass(v) : t.cellClass,
3051
3057
  j === 0 && t.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
3052
3058
  t.hasCheckbox && j === 0 && t.stickyFirstColumn ? "bh-left-[52px]" : "",
3053
- U.cellClass ? U.cellClass : ""
3059
+ V.cellClass ? V.cellClass : ""
3054
3060
  ])
3055
3061
  }, [
3056
- v.cells.find((Z) => Z.field == U.field) ? (m(), g(B, { key: 0 }, [
3057
- Ye(R(v.cells.find((Z) => Z.field == U.field).text), 1)
3062
+ v.cells.find((Z) => Z.field == V.field) ? (m(), g(B, { key: 0 }, [
3063
+ Ye(R(v.cells.find((Z) => Z.field == V.field).text), 1)
3058
3064
  ], 64)) : M("", !0)
3059
3065
  ], 2))
3060
3066
  ], 64))), 256))
@@ -3129,8 +3135,8 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
3129
3135
  key: 0,
3130
3136
  paginationInfo: a.paginationInfo,
3131
3137
  filterRowCount: z.value,
3132
- offset: Ae.value,
3133
- limit: De.value,
3138
+ offset: De.value,
3139
+ limit: Be.value,
3134
3140
  showPageSize: a.showPageSize,
3135
3141
  pageSizeOptions: a.pageSizeOptions,
3136
3142
  currentPageSize: r.value,
@@ -3140,8 +3146,8 @@ const pl = /* @__PURE__ */ Re(ul, [["render", hl]]), ml = { key: "hdrrow" }, vl
3140
3146
  y("div", Gl, [
3141
3147
  y("span", Ql, R(F(
3142
3148
  t.paginationInfo,
3143
- z.value ? Ae.value : 0,
3144
- De.value,
3149
+ z.value ? De.value : 0,
3150
+ Be.value,
3145
3151
  z.value
3146
3152
  )), 1),
3147
3153
  t.showPageSize ? ne((m(), g("select", {