@dolusoft/vue3-datatable 1.7.29 → 1.7.31

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,6 +1,6 @@
1
- import { onMounted as Le, nextTick as Oe, getCurrentScope as Vn, onScopeDispose as Un, unref as K, getCurrentInstance as Ct, computed as X, ref as B, watch as te, defineComponent as we, useCssVars as Gn, shallowRef as me, onUnmounted as Ze, openBlock as m, createElementBlock as w, Fragment as G, withDirectives as ve, createElementVNode as z, normalizeClass as T, normalizeStyle as Z, withModifiers as ye, setBlockTracking as Bt, vShow as pt, createCommentVNode as R, mergeProps as Qn, renderSlot as ae, renderList as pe, createVNode as oe, reactive as Kn, watchEffect as Xn, useSlots as un, onBeforeUnmount as zt, provide as Ce, createBlock as ce, resolveDynamicComponent as Yn, inject as Me, h as vt, toRef as Jn, toDisplayString as q, createTextVNode as mt, vModelText as ut, vModelSelect as cn, withCtx as Pe, vModelCheckbox as Zn } from "vue";
1
+ import { onMounted as Le, nextTick as _e, getCurrentScope as Un, onScopeDispose as Vn, unref as K, getCurrentInstance as zt, computed as X, ref as B, watch as ne, defineComponent as we, useCssVars as Gn, shallowRef as me, onUnmounted as Ze, openBlock as m, createElementBlock as w, Fragment as G, withDirectives as ve, createElementVNode as L, normalizeClass as T, normalizeStyle as Z, withModifiers as ye, setBlockTracking as Bt, vShow as vt, createCommentVNode as R, mergeProps as Qn, renderSlot as ae, renderList as pe, createVNode as ie, reactive as Kn, watchEffect as Xn, useSlots as un, onBeforeUnmount as Lt, provide as Ce, createBlock as ue, resolveDynamicComponent as Yn, inject as Me, h as mt, toRef as Jn, toDisplayString as q, createTextVNode as gt, vModelText as ct, vModelSelect as cn, withCtx as Pe, vModelCheckbox as Zn } from "vue";
2
2
  function el(e) {
3
- return Vn() ? (Un(e), !0) : !1;
3
+ return Un() ? (Vn(e), !0) : !1;
4
4
  }
5
5
  function tl(e) {
6
6
  return typeof e == "function" ? e() : K(e);
@@ -8,10 +8,10 @@ function tl(e) {
8
8
  const nl = typeof window < "u" && typeof document < "u";
9
9
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
10
  function ll(e) {
11
- return Ct();
11
+ return zt();
12
12
  }
13
13
  function ol(e, l = !0, n) {
14
- ll() ? Le(e, n) : l ? e() : Oe(e);
14
+ ll() ? Le(e, n) : l ? e() : _e(e);
15
15
  }
16
16
  function Te(e) {
17
17
  var l;
@@ -20,7 +20,7 @@ function Te(e) {
20
20
  }
21
21
  const dn = nl ? window : void 0;
22
22
  function il() {
23
- const e = B(!1), l = Ct();
23
+ const e = B(!1), l = zt();
24
24
  return l && Le(() => {
25
25
  e.value = !0;
26
26
  }, l), e;
@@ -34,7 +34,7 @@ function al(e, l, n = {}) {
34
34
  let i;
35
35
  const a = rl(() => o && "ResizeObserver" in o), r = () => {
36
36
  i && (i.disconnect(), i = void 0);
37
- }, u = X(() => Array.isArray(e) ? e.map((p) => Te(p)) : [Te(e)]), f = te(
37
+ }, u = X(() => Array.isArray(e) ? e.map((p) => Te(p)) : [Te(e)]), f = ne(
38
38
  u,
39
39
  (p) => {
40
40
  if (r(), a.value && o) {
@@ -78,7 +78,7 @@ function sl(e, l = { width: 0, height: 0 }, n = {}) {
78
78
  const p = Te(e);
79
79
  p && (a.value = "offsetWidth" in p ? p.offsetWidth : l.width, r.value = "offsetHeight" in p ? p.offsetHeight : l.height);
80
80
  });
81
- const f = te(
81
+ const f = ne(
82
82
  () => Te(e),
83
83
  (p) => {
84
84
  a.value = p ? l.width : 0, r.value = p ? l.height : 0;
@@ -93,16 +93,16 @@ function sl(e, l = { width: 0, height: 0 }, n = {}) {
93
93
  stop: d
94
94
  };
95
95
  }
96
- var ul = typeof global == "object" && global && global.Object === Object && global, cl = typeof self == "object" && self && self.Object === Object && self, fn = ul || cl || Function("return this")(), et = fn.Symbol, hn = Object.prototype, dl = hn.hasOwnProperty, fl = hn.toString, Ie = et ? et.toStringTag : void 0;
96
+ var ul = typeof global == "object" && global && global.Object === Object && global, cl = typeof self == "object" && self && self.Object === Object && self, fn = ul || cl || Function("return this")(), et = fn.Symbol, hn = Object.prototype, dl = hn.hasOwnProperty, fl = hn.toString, Fe = et ? et.toStringTag : void 0;
97
97
  function hl(e) {
98
- var l = dl.call(e, Ie), n = e[Ie];
98
+ var l = dl.call(e, Fe), n = e[Fe];
99
99
  try {
100
- e[Ie] = void 0;
100
+ e[Fe] = void 0;
101
101
  var o = !0;
102
102
  } catch {
103
103
  }
104
104
  var t = fl.call(e);
105
- return o && (l ? e[Ie] = n : delete e[Ie]), t;
105
+ return o && (l ? e[Fe] = n : delete e[Fe]), t;
106
106
  }
107
107
  var pl = Object.prototype, vl = pl.toString;
108
108
  function ml(e) {
@@ -155,7 +155,7 @@ function _l(e, l, n) {
155
155
  function Qe(e, l, n) {
156
156
  return n === void 0 && (n = l, l = void 0), n !== void 0 && (n = $e(n), n = n === n ? n : 0), l !== void 0 && (l = $e(l), l = l === l ? l : 0), _l($e(e), l, n);
157
157
  }
158
- var ct = function() {
158
+ var dt = function() {
159
159
  return fn.Date.now();
160
160
  }, Il = "Expected a function", Fl = Math.max, Ol = Math.min;
161
161
  function pn(e, l, n) {
@@ -171,15 +171,15 @@ function pn(e, l, n) {
171
171
  return f = S, r = setTimeout(A, l), d ? _(S) : a;
172
172
  }
173
173
  function $(S) {
174
- var k = S - u, W = S - f, V = l - k;
175
- return p ? Ol(V, i - W) : V;
174
+ var k = S - u, W = S - f, U = l - k;
175
+ return p ? Ol(U, i - W) : U;
176
176
  }
177
177
  function y(S) {
178
178
  var k = S - u, W = S - f;
179
179
  return u === void 0 || k >= l || k < 0 || p && W >= i;
180
180
  }
181
181
  function A() {
182
- var S = ct();
182
+ var S = dt();
183
183
  if (y(S))
184
184
  return H(S);
185
185
  r = setTimeout(A, $(S));
@@ -191,10 +191,10 @@ function pn(e, l, n) {
191
191
  r !== void 0 && clearTimeout(r), f = 0, o = u = t = r = void 0;
192
192
  }
193
193
  function O() {
194
- return r === void 0 ? a : H(ct());
194
+ return r === void 0 ? a : H(dt());
195
195
  }
196
196
  function Y() {
197
- var S = ct(), k = y(S);
197
+ var S = dt(), k = y(S);
198
198
  if (o = arguments, t = this, u = S, k) {
199
199
  if (r === void 0)
200
200
  return I(u);
@@ -249,8 +249,8 @@ function ql(e, { expose: l }) {
249
249
  Ze(f);
250
250
  const d = vn((k) => {
251
251
  k.stopPropagation(), k.preventDefault();
252
- const W = n.type === "horizontal" ? "pageX" : "pageY", V = (k[W] - a[W]) / n.scrollInfo.wrapperMainSize * n.scrollInfo.contentMainSize;
253
- n.wrapperEl.scrollTo({ [n.type === "horizontal" ? "left" : "top"]: a.scrollPos + V, behavior: "auto" });
252
+ const W = n.type === "horizontal" ? "pageX" : "pageY", U = (k[W] - a[W]) / n.scrollInfo.wrapperMainSize * n.scrollInfo.contentMainSize;
253
+ n.wrapperEl.scrollTo({ [n.type === "horizontal" ? "left" : "top"]: a.scrollPos + U, behavior: "auto" });
254
254
  }, 16), p = () => {
255
255
  u(), i.value.removeEventListener("pointermove", d), i.value.removeEventListener("pointerup", p), i.value.removeEventListener("pointercancel", p), i.value.removeEventListener("mousewheel", p), document.removeEventListener("mousewheel", p), typeof r == "number" && i.value.releasePointerCapture(r), r = null;
256
256
  }, E = (k) => {
@@ -265,12 +265,12 @@ function ql(e, { expose: l }) {
265
265
  const O = ([k]) => $.value = k.isIntersecting, Y = ([k]) => I.value = k.isIntersecting, S = () => {
266
266
  A && (A.disconnect(), A = null), H && (H.disconnect(), H = null);
267
267
  };
268
- return te(() => [n.fixedThumb, n.wrapperEl], () => {
268
+ return ne(() => [n.fixedThumb, n.wrapperEl], () => {
269
269
  if (!n.fixedThumb || !n.wrapperEl)
270
270
  return S();
271
271
  S(), H = new IntersectionObserver(Y, { threshold: [0, 0.5] }), H.observe(n.wrapperEl), A = new IntersectionObserver(O), A.observe(y.value);
272
272
  }), Ze(S), (k, W) => (m(), w(G, null, [
273
- ve(z("div", {
273
+ ve(L("div", {
274
274
  class: T([
275
275
  "scrollbar__thumbPlaceholder",
276
276
  `scrollbar__thumbPlaceholder--${e.type}`,
@@ -285,25 +285,25 @@ function ql(e, { expose: l }) {
285
285
  position: j.value ? "fixed" : "absolute",
286
286
  [e.type === "vertical" ? "top" : "left"]: j.value ? `${e.scrollInfo.boundaryDistance + 3}px` : "3px"
287
287
  }),
288
- ref: (V, ee) => {
289
- ee.thumbEl = V, i.value = V;
288
+ ref: (U, ee) => {
289
+ ee.thumbEl = U, i.value = U;
290
290
  },
291
291
  onPointerdown: ye(E, ["stop"])
292
292
  }, [
293
- W[0] || (Bt(-1), W[0] = z("div", {
293
+ W[0] || (Bt(-1), W[0] = L("div", {
294
294
  class: T(["scrollbar__thumb", `scrollbar__thumb--${e.type}`])
295
295
  }, null, 2), Bt(1), W[0])
296
296
  ], 46, Dl), [
297
- [pt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? I.value : !0)]
297
+ [vt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? I.value : !0)]
298
298
  ]),
299
299
  n.fixedThumb ? ve((m(), w("div", {
300
300
  key: 0,
301
- ref: (V, ee) => {
302
- ee.shepherdEl = V, y.value = V;
301
+ ref: (U, ee) => {
302
+ ee.shepherdEl = U, y.value = U;
303
303
  },
304
304
  class: T(["scrollbar__shepherd", `scrollbar__shepherd--${e.type}`])
305
305
  }, null, 2)), [
306
- [pt, !!e.scrollInfo.thumbSize]
306
+ [vt, !!e.scrollInfo.thumbSize]
307
307
  ]) : R("", !0)
308
308
  ], 64));
309
309
  }
@@ -319,15 +319,15 @@ const jl = /* @__PURE__ */ we(mn(nt({}, Hl), {
319
319
  wrapperEl: null
320
320
  },
321
321
  setup: ql
322
- })), Vl = {
322
+ })), Ul = {
323
323
  wait: 333,
324
324
  type: "debounce"
325
325
  };
326
- function Vt(...e) {
326
+ function Ut(...e) {
327
327
  const l = "value" in (e == null ? void 0 : e[0]);
328
328
  let n;
329
329
  l ? n = e == null ? void 0 : e[1] : n = e == null ? void 0 : e[0];
330
- const { wait: o, type: t, callback: i } = nt(nt({}, Vl), n), a = l ? e[0] : me(null), r = Kn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
330
+ const { wait: o, type: t, callback: i } = nt(nt({}, Ul), n), a = l ? e[0] : me(null), r = Kn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
331
331
  const E = a.value.getBoundingClientRect();
332
332
  r.left = E.left, r.top = E.top, r.right = E.right, r.bottom = E.bottom, r.width = E.width, r.height = E.height, r.x = E.x, r.y = E.y, i == null || i();
333
333
  };
@@ -339,7 +339,7 @@ function Vt(...e) {
339
339
  a.value && (p(), f = u, t === "throttle" && o >= 4 ? f = vn(f, o) : t === "debounce" && o >= 4 && (f = pn(f, o)), window.addEventListener("resize", f), d = new ResizeObserver(f), d.observe(a.value));
340
340
  }), Ze(p), l ? r : [a, r];
341
341
  }
342
- const Ul = {
342
+ const Vl = {
343
343
  name: "CustomScrollbar",
344
344
  inheritAttrs: !1
345
345
  };
@@ -360,7 +360,7 @@ function Gl(e, { expose: l, emit: n }) {
360
360
  return (W = k == null ? void 0 : k.classList) == null ? void 0 : W.contains(`scrollbar__thumbPlaceholder--${S}`);
361
361
  });
362
362
  });
363
- const u = Vt(a, { wait: o.throttleWait, type: o.throttleType, callback: E }), f = Vt(r, { wait: o.throttleWait, type: o.throttleType, callback: E });
363
+ const u = Ut(a, { wait: o.throttleWait, type: o.throttleType, callback: E }), f = Ut(r, { wait: o.throttleWait, type: o.throttleType, callback: E });
364
364
  let d = me(0), p = me(0);
365
365
  function E() {
366
366
  d.value = Math.max(a.value.scrollHeight - u.height | 0, 0), p.value = Math.max(a.value.scrollWidth - u.width | 0, 0);
@@ -379,7 +379,7 @@ function Gl(e, { expose: l, emit: n }) {
379
379
  const A = () => {
380
380
  p.value && (t.horizontal.el.style.transform = `translate3d(${a.value.scrollLeft / p.value * y.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), d.value && (t.vertical.el.style.transform = `translate3d(0, ${a.value.scrollTop / d.value * $.value}px, 0)`, t.vertical.instance.autoHideAfterScroll());
381
381
  };
382
- te(() => [p.value, d.value], A);
382
+ ne(() => [p.value, d.value], A);
383
383
  const H = (O) => {
384
384
  O.stopPropagation();
385
385
  const Y = a.value.scrollLeft, S = a.value.scrollTop, k = Qe(Y + ((O == null ? void 0 : O.deltaX) || 0), 0, p.value) | 0, W = Qe(S + ((O == null ? void 0 : O.deltaY) || 0), 0, d.value) | 0;
@@ -387,13 +387,13 @@ function Gl(e, { expose: l, emit: n }) {
387
387
  }, j = (O) => {
388
388
  o.simulateScroll ? H(O) : A();
389
389
  };
390
- return te(u, () => n("wrapperResize", u)), te(f, () => n("contentResize", f)), l({
390
+ return ne(u, () => n("wrapperResize", u)), ne(f, () => n("contentResize", f)), l({
391
391
  scrollEl: a
392
392
  }), (O, Y) => (m(), w("div", {
393
393
  class: T(["scrollbar__wrapper", e.wrapperClass]),
394
394
  style: Z(e.wrapperStyle)
395
395
  }, [
396
- z("div", Qn({
396
+ L("div", Qn({
397
397
  ref: (S, k) => {
398
398
  k.wrapperEl = S, a.value = S;
399
399
  },
@@ -402,7 +402,7 @@ function Gl(e, { expose: l, emit: n }) {
402
402
  onWheel: j,
403
403
  onScroll: j
404
404
  }), [
405
- z("div", {
405
+ L("div", {
406
406
  ref: (S, k) => {
407
407
  k.contentEl = S, r.value = S;
408
408
  },
@@ -412,7 +412,7 @@ function Gl(e, { expose: l, emit: n }) {
412
412
  ae(O.$slots, "default")
413
413
  ], 6)
414
414
  ], 16),
415
- (m(), w(G, null, pe(t, (S, k) => oe(jl, {
415
+ (m(), w(G, null, pe(t, (S, k) => ie(jl, {
416
416
  ref: (W) => i(W, k),
417
417
  key: k,
418
418
  autoExpand: e.autoExpand,
@@ -426,7 +426,7 @@ function Gl(e, { expose: l, emit: n }) {
426
426
  }, null, 8, ["autoExpand", "autoHide", "autoHideDelay", "fixedThumb", "type", "scrollInfo", "thumbWidth", "wrapperEl"])), 64))
427
427
  ], 6));
428
428
  }
429
- const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
429
+ const Ql = /* @__PURE__ */ we(mn(nt({}, Vl), {
430
430
  props: {
431
431
  wrapperClass: null,
432
432
  wrapperStyle: null,
@@ -446,7 +446,7 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
446
446
  },
447
447
  emits: ["wrapperResize", "contentResize", "scroll"],
448
448
  setup: Gl
449
- })), Ut = {
449
+ })), Vt = {
450
450
  __name: "splitpanes",
451
451
  props: {
452
452
  horizontal: { type: Boolean, default: !1 },
@@ -487,9 +487,9 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
487
487
  }, I = () => {
488
488
  document.removeEventListener("mousemove", y, { passive: !1 }), document.removeEventListener("mouseup", A), "ontouchstart" in window && (document.removeEventListener("touchmove", y, { passive: !1 }), document.removeEventListener("touchend", A));
489
489
  }, $ = (c, g) => {
490
- const C = c.target.closest(".splitpanes__splitter");
491
- if (C) {
492
- const { left: b, top: x } = C.getBoundingClientRect(), { clientX: M, clientY: N } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
490
+ const z = c.target.closest(".splitpanes__splitter");
491
+ if (z) {
492
+ const { left: b, top: x } = z.getBoundingClientRect(), { clientX: M, clientY: N } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
493
493
  d.value.cursorOffset = o.horizontal ? N - x : M - b;
494
494
  }
495
495
  _(), d.value.mouseDown = !0, d.value.activeSplitter = g;
@@ -505,8 +505,8 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
505
505
  "ontouchstart" in window && (c.preventDefault(), p.value.splitter === g ? (clearTimeout(p.value.timeoutId), p.value.timeoutId = null, j(c, g), p.value.splitter = null) : (p.value.splitter = g, p.value.timeoutId = setTimeout(() => p.value.splitter = null, 500))), d.value.dragging || re("splitter-click", { event: c, index: g }, !0);
506
506
  }, j = (c, g) => {
507
507
  if (re("splitter-dblclick", { event: c, index: g }, !0), o.maximizePanes) {
508
- let C = 0;
509
- i.value = i.value.map((b, x) => (b.size = x === g ? b.max : b.min, x !== g && (C += b.min), b)), i.value[g].size -= C, re("pane-maximize", { event: c, index: g, pane: i.value[g] }), re("resized", { event: c, index: g }, !0);
508
+ let z = 0;
509
+ i.value = i.value.map((b, x) => (b.size = x === g ? b.max : b.min, x !== g && (z += b.min), b)), i.value[g].size -= z, re("pane-maximize", { event: c, index: g, pane: i.value[g] }), re("resized", { event: c, index: g }, !0);
510
510
  }
511
511
  }, O = (c, g) => {
512
512
  re("pane-click", {
@@ -515,9 +515,9 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
515
515
  pane: a.value[g]
516
516
  });
517
517
  }, Y = (c) => {
518
- const g = u.value.getBoundingClientRect(), { clientX: C, clientY: b } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
518
+ const g = u.value.getBoundingClientRect(), { clientX: z, clientY: b } = "ontouchstart" in window && c.touches ? c.touches[0] : c;
519
519
  return {
520
- x: C - (o.horizontal ? 0 : d.value.cursorOffset) - g.left,
520
+ x: z - (o.horizontal ? 0 : d.value.cursorOffset) - g.left,
521
521
  y: b - (o.horizontal ? d.value.cursorOffset : 0) - g.top
522
522
  };
523
523
  }, S = (c) => {
@@ -526,46 +526,46 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
526
526
  return o.rtl && !o.horizontal && (c = g - c), c * 100 / g;
527
527
  }, k = (c) => {
528
528
  const g = d.value.activeSplitter;
529
- let C = {
530
- prevPanesSize: V(g),
529
+ let z = {
530
+ prevPanesSize: U(g),
531
531
  nextPanesSize: ee(g),
532
532
  prevReachedMinPanes: 0,
533
533
  nextReachedMinPanes: 0
534
534
  };
535
- const b = 0 + (o.pushOtherPanes ? 0 : C.prevPanesSize), x = 100 - (o.pushOtherPanes ? 0 : C.nextPanesSize), M = Math.max(Math.min(S(c), x), b);
536
- let N = [g, g + 1], ne = i.value[N[0]] || null, F = i.value[N[1]] || null;
537
- const xe = ne.max < 100 && M >= ne.max + C.prevPanesSize, Ve = F.max < 100 && M <= 100 - (F.max + ee(g + 1));
538
- if (xe || Ve) {
539
- xe ? (ne.size = ne.max, F.size = Math.max(100 - ne.max - C.prevPanesSize - C.nextPanesSize, 0)) : (ne.size = Math.max(100 - F.max - C.prevPanesSize - ee(g + 1), 0), F.size = F.max);
535
+ const b = 0 + (o.pushOtherPanes ? 0 : z.prevPanesSize), x = 100 - (o.pushOtherPanes ? 0 : z.nextPanesSize), M = Math.max(Math.min(S(c), x), b);
536
+ let N = [g, g + 1], le = i.value[N[0]] || null, F = i.value[N[1]] || null;
537
+ const xe = le.max < 100 && M >= le.max + z.prevPanesSize, Ue = F.max < 100 && M <= 100 - (F.max + ee(g + 1));
538
+ if (xe || Ue) {
539
+ xe ? (le.size = le.max, F.size = Math.max(100 - le.max - z.prevPanesSize - z.nextPanesSize, 0)) : (le.size = Math.max(100 - F.max - z.prevPanesSize - ee(g + 1), 0), F.size = F.max);
540
540
  return;
541
541
  }
542
542
  if (o.pushOtherPanes) {
543
- const fe = W(C, M);
543
+ const fe = W(z, M);
544
544
  if (!fe) return;
545
- ({ sums: C, panesToResize: N } = fe), ne = i.value[N[0]] || null, F = i.value[N[1]] || null;
545
+ ({ sums: z, panesToResize: N } = fe), le = i.value[N[0]] || null, F = i.value[N[1]] || null;
546
546
  }
547
- ne !== null && (ne.size = Math.min(Math.max(M - C.prevPanesSize - C.prevReachedMinPanes, ne.min), ne.max)), F !== null && (F.size = Math.min(Math.max(100 - M - C.nextPanesSize - C.nextReachedMinPanes, F.min), F.max));
547
+ le !== null && (le.size = Math.min(Math.max(M - z.prevPanesSize - z.prevReachedMinPanes, le.min), le.max)), F !== null && (F.size = Math.min(Math.max(100 - M - z.nextPanesSize - z.nextReachedMinPanes, F.min), F.max));
548
548
  }, W = (c, g) => {
549
- const C = d.value.activeSplitter, b = [C, C + 1];
550
- return g < c.prevPanesSize + i.value[b[0]].min && (b[0] = at(C).index, c.prevReachedMinPanes = 0, b[0] < C && i.value.forEach((x, M) => {
551
- M > b[0] && M <= C && (x.size = x.min, c.prevReachedMinPanes += x.min);
552
- }), c.prevPanesSize = V(b[0]), b[0] === void 0) ? (c.prevReachedMinPanes = 0, i.value[0].size = i.value[0].min, i.value.forEach((x, M) => {
553
- M > 0 && M <= C && (x.size = x.min, c.prevReachedMinPanes += x.min);
554
- }), i.value[b[1]].size = 100 - c.prevReachedMinPanes - i.value[0].min - c.prevPanesSize - c.nextPanesSize, null) : g > 100 - c.nextPanesSize - i.value[b[1]].min && (b[1] = ie(C).index, c.nextReachedMinPanes = 0, b[1] > C + 1 && i.value.forEach((x, M) => {
555
- M > C && M < b[1] && (x.size = x.min, c.nextReachedMinPanes += x.min);
549
+ const z = d.value.activeSplitter, b = [z, z + 1];
550
+ return g < c.prevPanesSize + i.value[b[0]].min && (b[0] = at(z).index, c.prevReachedMinPanes = 0, b[0] < z && i.value.forEach((x, M) => {
551
+ M > b[0] && M <= z && (x.size = x.min, c.prevReachedMinPanes += x.min);
552
+ }), c.prevPanesSize = U(b[0]), b[0] === void 0) ? (c.prevReachedMinPanes = 0, i.value[0].size = i.value[0].min, i.value.forEach((x, M) => {
553
+ M > 0 && M <= z && (x.size = x.min, c.prevReachedMinPanes += x.min);
554
+ }), i.value[b[1]].size = 100 - c.prevReachedMinPanes - i.value[0].min - c.prevPanesSize - c.nextPanesSize, null) : g > 100 - c.nextPanesSize - i.value[b[1]].min && (b[1] = oe(z).index, c.nextReachedMinPanes = 0, b[1] > z + 1 && i.value.forEach((x, M) => {
555
+ M > z && M < b[1] && (x.size = x.min, c.nextReachedMinPanes += x.min);
556
556
  }), c.nextPanesSize = ee(b[1] - 1), b[1] === void 0) ? (c.nextReachedMinPanes = 0, i.value.forEach((x, M) => {
557
- M < r.value - 1 && M >= C + 1 && (x.size = x.min, c.nextReachedMinPanes += x.min);
557
+ M < r.value - 1 && M >= z + 1 && (x.size = x.min, c.nextReachedMinPanes += x.min);
558
558
  }), i.value[b[0]].size = 100 - c.prevPanesSize - ee(b[0] - 1), null) : { sums: c, panesToResize: b };
559
- }, V = (c) => i.value.reduce((g, C, b) => g + (b < c ? C.size : 0), 0), ee = (c) => i.value.reduce((g, C, b) => g + (b > c + 1 ? C.size : 0), 0), at = (c) => [...i.value].reverse().find((g) => g.index < c && g.size > g.min) || {}, ie = (c) => i.value.find((g) => g.index > c + 1 && g.size > g.min) || {}, Be = () => {
559
+ }, U = (c) => i.value.reduce((g, z, b) => g + (b < c ? z.size : 0), 0), ee = (c) => i.value.reduce((g, z, b) => g + (b > c + 1 ? z.size : 0), 0), at = (c) => [...i.value].reverse().find((g) => g.index < c && g.size > g.min) || {}, oe = (c) => i.value.find((g) => g.index > c + 1 && g.size > g.min) || {}, Be = () => {
560
560
  var c;
561
561
  const g = Array.from(((c = u.value) == null ? void 0 : c.children) || []);
562
- for (const C of g) {
563
- const b = C.classList.contains("splitpanes__pane"), x = C.classList.contains("splitpanes__splitter");
564
- !b && !x && (C.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
562
+ for (const z of g) {
563
+ const b = z.classList.contains("splitpanes__pane"), x = z.classList.contains("splitpanes__splitter");
564
+ !b && !x && (z.remove(), console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."));
565
565
  }
566
- }, J = (c, g, C = !1) => {
566
+ }, J = (c, g, z = !1) => {
567
567
  const b = c - 1, x = document.createElement("div");
568
- x.classList.add("splitpanes__splitter"), C || (x.onmousedown = (M) => $(M, b), typeof window < "u" && "ontouchstart" in window && (x.ontouchstart = (M) => $(M, b)), x.onclick = (M) => H(M, b + 1)), x.ondblclick = (M) => j(M, b + 1), g.parentNode.insertBefore(x, g);
568
+ x.classList.add("splitpanes__splitter"), z || (x.onmousedown = (M) => $(M, b), typeof window < "u" && "ontouchstart" in window && (x.ontouchstart = (M) => $(M, b)), x.onclick = (M) => H(M, b + 1)), x.ondblclick = (M) => j(M, b + 1), g.parentNode.insertBefore(x, g);
569
569
  }, se = (c) => {
570
570
  c.onmousedown = void 0, c.onclick = void 0, c.ondblclick = void 0, c.remove();
571
571
  }, ge = () => {
@@ -573,96 +573,96 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
573
573
  const g = Array.from(((c = u.value) == null ? void 0 : c.children) || []);
574
574
  for (const b of g)
575
575
  b.className.includes("splitpanes__splitter") && se(b);
576
- let C = 0;
576
+ let z = 0;
577
577
  for (const b of g)
578
- b.className.includes("splitpanes__pane") && (!C && o.firstSplitter ? J(C, b, !0) : C && J(C, b), C++);
579
- }, _e = ({ uid: c, ...g }) => {
580
- const C = a.value[c];
581
- for (const [b, x] of Object.entries(g)) C[b] = x;
578
+ b.className.includes("splitpanes__pane") && (!z && o.firstSplitter ? J(z, b, !0) : z && J(z, b), z++);
579
+ }, Ie = ({ uid: c, ...g }) => {
580
+ const z = a.value[c];
581
+ for (const [b, x] of Object.entries(g)) z[b] = x;
582
582
  }, De = (c) => {
583
583
  var g;
584
- let C = -1;
585
- Array.from(((g = u.value) == null ? void 0 : g.children) || []).some((b) => (b.className.includes("splitpanes__pane") && C++, b.isSameNode(c.el))), i.value.splice(C, 0, { ...c, index: C }), i.value.forEach((b, x) => b.index = x), f.value && Oe(() => {
586
- ge(), de({ addedPane: i.value[C] }), re("pane-add", { pane: i.value[C] });
584
+ let z = -1;
585
+ Array.from(((g = u.value) == null ? void 0 : g.children) || []).some((b) => (b.className.includes("splitpanes__pane") && z++, b.isSameNode(c.el))), i.value.splice(z, 0, { ...c, index: z }), i.value.forEach((b, x) => b.index = x), f.value && _e(() => {
586
+ ge(), de({ addedPane: i.value[z] }), re("pane-add", { pane: i.value[z] });
587
587
  });
588
588
  }, He = (c) => {
589
589
  const g = i.value.findIndex((b) => b.id === c);
590
590
  i.value[g].el = null;
591
- const C = i.value.splice(g, 1)[0];
592
- i.value.forEach((b, x) => b.index = x), Oe(() => {
593
- ge(), re("pane-remove", { pane: C }), de({ removedPane: { ...C } });
591
+ const z = i.value.splice(g, 1)[0];
592
+ i.value.forEach((b, x) => b.index = x), _e(() => {
593
+ ge(), re("pane-remove", { pane: z }), de({ removedPane: { ...z } });
594
594
  });
595
595
  }, de = (c = {}) => {
596
- !c.addedPane && !c.removedPane ? qe() : i.value.some((g) => g.givenSize !== null || g.min || g.max < 100) ? je(c) : ue(), f.value && re("resized");
597
- }, ue = () => {
596
+ !c.addedPane && !c.removedPane ? qe() : i.value.some((g) => g.givenSize !== null || g.min || g.max < 100) ? je(c) : ce(), f.value && re("resized");
597
+ }, ce = () => {
598
598
  const c = 100 / r.value;
599
599
  let g = 0;
600
- const C = [], b = [];
600
+ const z = [], b = [];
601
601
  for (const x of i.value)
602
- x.size = Math.max(Math.min(c, x.max), x.min), g -= x.size, x.size >= x.max && C.push(x.id), x.size <= x.min && b.push(x.id);
603
- g > 0.1 && Ee(g, C, b);
602
+ x.size = Math.max(Math.min(c, x.max), x.min), g -= x.size, x.size >= x.max && z.push(x.id), x.size <= x.min && b.push(x.id);
603
+ g > 0.1 && Ee(g, z, b);
604
604
  }, qe = () => {
605
605
  let c = 100;
606
- const g = [], C = [];
606
+ const g = [], z = [];
607
607
  let b = 0;
608
608
  for (const M of i.value)
609
- c -= M.size, M.givenSize !== null && b++, M.size >= M.max && g.push(M.id), M.size <= M.min && C.push(M.id);
609
+ c -= M.size, M.givenSize !== null && b++, M.size >= M.max && g.push(M.id), M.size <= M.min && z.push(M.id);
610
610
  let x = 100;
611
611
  if (c > 0.1) {
612
612
  for (const M of i.value)
613
613
  M.givenSize === null && (M.size = Math.max(Math.min(c / (r.value - b), M.max), M.min)), x -= M.size;
614
- x > 0.1 && Ee(x, g, C);
614
+ x > 0.1 && Ee(x, g, z);
615
615
  }
616
616
  }, je = ({ addedPane: c, removedPane: g } = {}) => {
617
- let C = 100 / r.value, b = 0;
617
+ let z = 100 / r.value, b = 0;
618
618
  const x = [], M = [];
619
- ((c == null ? void 0 : c.givenSize) ?? null) !== null && (C = (100 - c.givenSize) / (r.value - 1));
619
+ ((c == null ? void 0 : c.givenSize) ?? null) !== null && (z = (100 - c.givenSize) / (r.value - 1));
620
620
  for (const N of i.value)
621
621
  b -= N.size, N.size >= N.max && x.push(N.id), N.size <= N.min && M.push(N.id);
622
622
  if (!(Math.abs(b) < 0.1)) {
623
623
  for (const N of i.value)
624
- (c == null ? void 0 : c.givenSize) !== null && (c == null ? void 0 : c.id) === N.id || (N.size = Math.max(Math.min(C, N.max), N.min)), b -= N.size, N.size >= N.max && x.push(N.id), N.size <= N.min && M.push(N.id);
624
+ (c == null ? void 0 : c.givenSize) !== null && (c == null ? void 0 : c.id) === N.id || (N.size = Math.max(Math.min(z, N.max), N.min)), b -= N.size, N.size >= N.max && x.push(N.id), N.size <= N.min && M.push(N.id);
625
625
  b > 0.1 && Ee(b, x, M);
626
626
  }
627
- }, Ee = (c, g, C) => {
627
+ }, Ee = (c, g, z) => {
628
628
  let b;
629
- c > 0 ? b = c / (r.value - g.length) : b = c / (r.value - C.length), i.value.forEach((x, M) => {
629
+ c > 0 ? b = c / (r.value - g.length) : b = c / (r.value - z.length), i.value.forEach((x, M) => {
630
630
  if (c > 0 && !g.includes(x.id)) {
631
- const N = Math.max(Math.min(x.size + b, x.max), x.min), ne = N - x.size;
632
- c -= ne, x.size = N;
633
- } else if (!C.includes(x.id)) {
634
- const N = Math.max(Math.min(x.size + b, x.max), x.min), ne = N - x.size;
635
- c -= ne, x.size = N;
631
+ const N = Math.max(Math.min(x.size + b, x.max), x.min), le = N - x.size;
632
+ c -= le, x.size = N;
633
+ } else if (!z.includes(x.id)) {
634
+ const N = Math.max(Math.min(x.size + b, x.max), x.min), le = N - x.size;
635
+ c -= le, x.size = N;
636
636
  }
637
- }), Math.abs(c) > 0.1 && Oe(() => {
637
+ }), Math.abs(c) > 0.1 && _e(() => {
638
638
  f.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
639
639
  });
640
- }, re = (c, g = void 0, C = !1) => {
640
+ }, re = (c, g = void 0, z = !1) => {
641
641
  const b = (g == null ? void 0 : g.index) ?? d.value.activeSplitter ?? null;
642
642
  n(c, {
643
643
  ...g,
644
644
  ...b !== null && { index: b },
645
- ...C && b !== null && {
645
+ ...z && b !== null && {
646
646
  prevPane: i.value[b - (o.firstSplitter ? 1 : 0)],
647
647
  nextPane: i.value[b + (o.firstSplitter ? 0 : 1)]
648
648
  },
649
649
  panes: i.value.map((x) => ({ min: x.min, max: x.max, size: x.size }))
650
650
  });
651
651
  };
652
- te(() => o.firstSplitter, () => ge()), Le(() => {
652
+ ne(() => o.firstSplitter, () => ge()), Le(() => {
653
653
  Be(), ge(), de(), re("ready"), f.value = !0;
654
- }), zt(() => f.value = !1);
655
- const It = () => {
654
+ }), Lt(() => f.value = !1);
655
+ const Ft = () => {
656
656
  var c;
657
- return vt(
657
+ return mt(
658
658
  "div",
659
659
  { ref: u, class: E.value },
660
660
  (c = t.default) == null ? void 0 : c.call(t)
661
661
  );
662
662
  };
663
- return Ce("panes", i), Ce("indexedPanes", a), Ce("horizontal", X(() => o.horizontal)), Ce("requestUpdate", _e), Ce("onPaneAdd", De), Ce("onPaneRemove", He), Ce("onPaneClick", O), (c, g) => (m(), ce(Yn(It)));
663
+ return Ce("panes", i), Ce("indexedPanes", a), Ce("horizontal", X(() => o.horizontal)), Ce("requestUpdate", Ie), Ce("onPaneAdd", De), Ce("onPaneRemove", He), Ce("onPaneClick", O), (c, g) => (m(), ue(Yn(Ft)));
664
664
  }
665
- }, dt = {
665
+ }, ft = {
666
666
  __name: "pane",
667
667
  props: {
668
668
  size: { type: [Number, String] },
@@ -671,7 +671,7 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
671
671
  },
672
672
  setup(e) {
673
673
  var l;
674
- const n = e, o = Me("requestUpdate"), t = Me("onPaneAdd"), i = Me("horizontal"), a = Me("onPaneRemove"), r = Me("onPaneClick"), u = (l = Ct()) == null ? void 0 : l.uid, f = Me("indexedPanes"), d = X(() => f.value[u]), p = B(null), E = X(() => {
674
+ const n = e, o = Me("requestUpdate"), t = Me("onPaneAdd"), i = Me("horizontal"), a = Me("onPaneRemove"), r = Me("onPaneClick"), u = (l = zt()) == null ? void 0 : l.uid, f = Me("indexedPanes"), d = X(() => f.value[u]), p = B(null), E = X(() => {
675
675
  const y = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
676
676
  return Math.max(Math.min(y, I.value), _.value);
677
677
  }), _ = X(() => {
@@ -684,7 +684,7 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
684
684
  var y;
685
685
  return `${i.value ? "height" : "width"}: ${(y = d.value) == null ? void 0 : y.size}%`;
686
686
  });
687
- return te(() => E.value, (y) => o({ uid: u, size: y })), te(() => _.value, (y) => o({ uid: u, min: y })), te(() => I.value, (y) => o({ uid: u, max: y })), Le(() => {
687
+ return ne(() => E.value, (y) => o({ uid: u, size: y })), ne(() => _.value, (y) => o({ uid: u, min: y })), ne(() => I.value, (y) => o({ uid: u, max: y })), Le(() => {
688
688
  t({
689
689
  id: u,
690
690
  el: p.value,
@@ -695,7 +695,7 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
695
695
  size: E.value
696
696
  // The computed current size at any time.
697
697
  });
698
- }), zt(() => a(u)), (y, A) => (m(), w("div", {
698
+ }), Lt(() => a(u)), (y, A) => (m(), w("div", {
699
699
  ref_key: "paneEl",
700
700
  ref: p,
701
701
  class: "splitpanes__pane",
@@ -755,7 +755,7 @@ const Ql = /* @__PURE__ */ we(mn(nt({}, Ul), {
755
755
  }), it = Object.freeze({
756
756
  ...gn,
757
757
  ...lt
758
- }), gt = Object.freeze({
758
+ }), bt = Object.freeze({
759
759
  ...it,
760
760
  body: "",
761
761
  hidden: !1
@@ -768,7 +768,7 @@ function Kl(e, l) {
768
768
  }
769
769
  function Gt(e, l) {
770
770
  const n = Kl(e, l);
771
- for (const o in gt)
771
+ for (const o in bt)
772
772
  o in lt ? o in e && !(o in n) && (n[o] = lt[o]) : o in l ? n[o] = l[o] : o in e && (n[o] = e[o]);
773
773
  return n;
774
774
  }
@@ -817,7 +817,7 @@ const Jl = {
817
817
  not_found: {},
818
818
  ...gn
819
819
  };
820
- function ft(e, l) {
820
+ function ht(e, l) {
821
821
  for (const n in l)
822
822
  if (n in e && typeof e[n] != typeof l[n])
823
823
  return !1;
@@ -827,23 +827,23 @@ function yn(e) {
827
827
  if (typeof e != "object" || e === null)
828
828
  return null;
829
829
  const l = e;
830
- if (typeof l.prefix != "string" || !e.icons || typeof e.icons != "object" || !ft(e, Jl))
830
+ if (typeof l.prefix != "string" || !e.icons || typeof e.icons != "object" || !ht(e, Jl))
831
831
  return null;
832
832
  const n = l.icons;
833
833
  for (const t in n) {
834
834
  const i = n[t];
835
- if (!t.match(Re) || typeof i.body != "string" || !ft(
835
+ if (!t.match(Re) || typeof i.body != "string" || !ht(
836
836
  i,
837
- gt
837
+ bt
838
838
  ))
839
839
  return null;
840
840
  }
841
841
  const o = l.aliases || /* @__PURE__ */ Object.create(null);
842
842
  for (const t in o) {
843
843
  const i = o[t], a = i.parent;
844
- if (!t.match(Re) || typeof a != "string" || !n[a] && !o[a] || !ft(
844
+ if (!t.match(Re) || typeof a != "string" || !n[a] && !o[a] || !ht(
845
845
  i,
846
- gt
846
+ bt
847
847
  ))
848
848
  return null;
849
849
  }
@@ -862,7 +862,7 @@ function ze(e, l) {
862
862
  const n = Qt[e] || (Qt[e] = /* @__PURE__ */ Object.create(null));
863
863
  return n[l] || (n[l] = Zl(e, l));
864
864
  }
865
- function Lt(e, l) {
865
+ function Et(e, l) {
866
866
  return yn(l) ? bn(l, (n, o) => {
867
867
  o ? e.icons[n] = o : e.missing.add(n);
868
868
  }) : [];
@@ -910,7 +910,7 @@ function lo(e, l) {
910
910
  }))
911
911
  return !1;
912
912
  const o = ze(l, n);
913
- return !!Lt(o, e);
913
+ return !!Et(o, e);
914
914
  }
915
915
  const xn = Object.freeze({
916
916
  width: null,
@@ -1049,14 +1049,14 @@ function vo(e, l = ho) {
1049
1049
  );
1050
1050
  }), e = e.replace(new RegExp(t, "g"), ""), e;
1051
1051
  }
1052
- const bt = /* @__PURE__ */ Object.create(null);
1052
+ const yt = /* @__PURE__ */ Object.create(null);
1053
1053
  function mo(e, l) {
1054
- bt[e] = l;
1054
+ yt[e] = l;
1055
1055
  }
1056
- function yt(e) {
1057
- return bt[e] || bt[""];
1056
+ function wt(e) {
1057
+ return yt[e] || yt[""];
1058
1058
  }
1059
- function Et(e) {
1059
+ function Mt(e) {
1060
1060
  let l;
1061
1061
  if (typeof e.resources == "string")
1062
1062
  l = [e.resources];
@@ -1081,21 +1081,21 @@ function Et(e) {
1081
1081
  dataAfterTimeout: e.dataAfterTimeout !== !1
1082
1082
  };
1083
1083
  }
1084
- const Mt = /* @__PURE__ */ Object.create(null), Fe = [
1084
+ const Pt = /* @__PURE__ */ Object.create(null), Oe = [
1085
1085
  "https://api.simplesvg.com",
1086
1086
  "https://api.unisvg.com"
1087
1087
  ], Ye = [];
1088
- for (; Fe.length > 0; )
1089
- Fe.length === 1 || Math.random() > 0.5 ? Ye.push(Fe.shift()) : Ye.push(Fe.pop());
1090
- Mt[""] = Et({
1088
+ for (; Oe.length > 0; )
1089
+ Oe.length === 1 || Math.random() > 0.5 ? Ye.push(Oe.shift()) : Ye.push(Oe.pop());
1090
+ Pt[""] = Mt({
1091
1091
  resources: ["https://api.iconify.design"].concat(Ye)
1092
1092
  });
1093
1093
  function go(e, l) {
1094
- const n = Et(l);
1095
- return n === null ? !1 : (Mt[e] = n, !0);
1094
+ const n = Mt(l);
1095
+ return n === null ? !1 : (Pt[e] = n, !0);
1096
1096
  }
1097
- function Pt(e) {
1098
- return Mt[e];
1097
+ function Tt(e) {
1098
+ return Pt[e];
1099
1099
  }
1100
1100
  const bo = () => {
1101
1101
  let e;
@@ -1107,7 +1107,7 @@ const bo = () => {
1107
1107
  };
1108
1108
  let Xt = bo();
1109
1109
  function yo(e, l) {
1110
- const n = Pt(e);
1110
+ const n = Tt(e);
1111
1111
  if (!n)
1112
1112
  return 0;
1113
1113
  let o;
@@ -1145,7 +1145,7 @@ const xo = (e, l, n) => {
1145
1145
  };
1146
1146
  function So(e) {
1147
1147
  if (typeof e == "string") {
1148
- const l = Pt(e);
1148
+ const l = Tt(e);
1149
1149
  if (l)
1150
1150
  return l.path;
1151
1151
  }
@@ -1350,12 +1350,12 @@ function _o(e, l, n, o) {
1350
1350
  }), E = [];
1351
1351
  }
1352
1352
  function O(S, k, W) {
1353
- const V = k !== "success";
1353
+ const U = k !== "success";
1354
1354
  switch (E = E.filter((ee) => ee !== S), u) {
1355
1355
  case "pending":
1356
1356
  break;
1357
1357
  case "failed":
1358
- if (V || !e.dataAfterTimeout)
1358
+ if (U || !e.dataAfterTimeout)
1359
1359
  return;
1360
1360
  break;
1361
1361
  default:
@@ -1365,7 +1365,7 @@ function _o(e, l, n, o) {
1365
1365
  d = W, H();
1366
1366
  return;
1367
1367
  }
1368
- if (V) {
1368
+ if (U) {
1369
1369
  d = W, E.length || (a.length ? Y() : H());
1370
1370
  return;
1371
1371
  }
@@ -1395,8 +1395,8 @@ function _o(e, l, n, o) {
1395
1395
  const k = {
1396
1396
  status: "pending",
1397
1397
  resource: S,
1398
- callback: (W, V) => {
1399
- O(k, W, V);
1398
+ callback: (W, U) => {
1399
+ O(k, W, U);
1400
1400
  }
1401
1401
  };
1402
1402
  E.push(k), f++, p = setTimeout(Y, e.rotate), n(S, l, k.callback);
@@ -1438,47 +1438,47 @@ function Cn(e) {
1438
1438
  }
1439
1439
  function Yt() {
1440
1440
  }
1441
- const ht = /* @__PURE__ */ Object.create(null);
1441
+ const pt = /* @__PURE__ */ Object.create(null);
1442
1442
  function Io(e) {
1443
- if (!ht[e]) {
1444
- const l = Pt(e);
1443
+ if (!pt[e]) {
1444
+ const l = Tt(e);
1445
1445
  if (!l)
1446
1446
  return;
1447
1447
  const n = Cn(l), o = {
1448
1448
  config: l,
1449
1449
  redundancy: n
1450
1450
  };
1451
- ht[e] = o;
1451
+ pt[e] = o;
1452
1452
  }
1453
- return ht[e];
1453
+ return pt[e];
1454
1454
  }
1455
1455
  function Fo(e, l, n) {
1456
1456
  let o, t;
1457
1457
  if (typeof e == "string") {
1458
- const i = yt(e);
1458
+ const i = wt(e);
1459
1459
  if (!i)
1460
1460
  return n(void 0, 424), Yt;
1461
1461
  t = i.send;
1462
1462
  const a = Io(e);
1463
1463
  a && (o = a.redundancy);
1464
1464
  } else {
1465
- const i = Et(e);
1465
+ const i = Mt(e);
1466
1466
  if (i) {
1467
1467
  o = Cn(i);
1468
- const a = e.resources ? e.resources[0] : "", r = yt(a);
1468
+ const a = e.resources ? e.resources[0] : "", r = wt(a);
1469
1469
  r && (t = r.send);
1470
1470
  }
1471
1471
  }
1472
1472
  return !o || !t ? (n(void 0, 424), Yt) : o.query(l, t, n)().abort;
1473
1473
  }
1474
1474
  const Jt = "iconify2", Ae = "iconify", zn = Ae + "-count", Zt = Ae + "-version", Ln = 36e5, Oo = 168, $o = 50;
1475
- function wt(e, l) {
1475
+ function xt(e, l) {
1476
1476
  try {
1477
1477
  return e.getItem(l);
1478
1478
  } catch {
1479
1479
  }
1480
1480
  }
1481
- function Tt(e, l, n) {
1481
+ function _t(e, l, n) {
1482
1482
  try {
1483
1483
  return e.setItem(l, n), !0;
1484
1484
  } catch {
@@ -1490,11 +1490,11 @@ function en(e, l) {
1490
1490
  } catch {
1491
1491
  }
1492
1492
  }
1493
- function xt(e, l) {
1494
- return Tt(e, zn, l.toString());
1493
+ function St(e, l) {
1494
+ return _t(e, zn, l.toString());
1495
1495
  }
1496
- function St(e) {
1497
- return parseInt(wt(e, zn)) || 0;
1496
+ function kt(e) {
1497
+ return parseInt(xt(e, zn)) || 0;
1498
1498
  }
1499
1499
  const rt = {
1500
1500
  local: !0,
@@ -1503,9 +1503,9 @@ const rt = {
1503
1503
  local: /* @__PURE__ */ new Set(),
1504
1504
  session: /* @__PURE__ */ new Set()
1505
1505
  };
1506
- let _t = !1;
1506
+ let It = !1;
1507
1507
  function Ro(e) {
1508
- _t = e;
1508
+ It = e;
1509
1509
  }
1510
1510
  let Ke = typeof window > "u" ? {} : window;
1511
1511
  function Mn(e) {
@@ -1521,18 +1521,18 @@ function Pn(e, l) {
1521
1521
  const n = Mn(e);
1522
1522
  if (!n)
1523
1523
  return;
1524
- const o = wt(n, Zt);
1524
+ const o = xt(n, Zt);
1525
1525
  if (o !== Jt) {
1526
1526
  if (o) {
1527
- const r = St(n);
1527
+ const r = kt(n);
1528
1528
  for (let u = 0; u < r; u++)
1529
1529
  en(n, Ae + u.toString());
1530
1530
  }
1531
- Tt(n, Zt, Jt), xt(n, 0);
1531
+ _t(n, Zt, Jt), St(n, 0);
1532
1532
  return;
1533
1533
  }
1534
1534
  const t = Math.floor(Date.now() / Ln) - Oo, i = (r) => {
1535
- const u = Ae + r.toString(), f = wt(n, u);
1535
+ const u = Ae + r.toString(), f = xt(n, u);
1536
1536
  if (typeof f == "string") {
1537
1537
  try {
1538
1538
  const d = JSON.parse(f);
@@ -1544,12 +1544,12 @@ function Pn(e, l) {
1544
1544
  en(n, u);
1545
1545
  }
1546
1546
  };
1547
- let a = St(n);
1547
+ let a = kt(n);
1548
1548
  for (let r = a - 1; r >= 0; r--)
1549
- i(r) || (r === a - 1 ? (a--, xt(n, a)) : En[e].add(r));
1549
+ i(r) || (r === a - 1 ? (a--, St(n, a)) : En[e].add(r));
1550
1550
  }
1551
1551
  function Tn() {
1552
- if (!_t) {
1552
+ if (!It) {
1553
1553
  Ro(!0);
1554
1554
  for (const e in rt)
1555
1555
  Pn(e, (l) => {
@@ -1557,7 +1557,7 @@ function Tn() {
1557
1557
  o,
1558
1558
  t
1559
1559
  );
1560
- if (!Lt(i, n).length)
1560
+ if (!Et(i, n).length)
1561
1561
  return !1;
1562
1562
  const a = n.lastModified || -1;
1563
1563
  return i.lastModifiedCached = i.lastModifiedCached ? Math.min(i.lastModifiedCached, a) : a, !0;
@@ -1580,7 +1580,7 @@ function No(e, l) {
1580
1580
  return !0;
1581
1581
  }
1582
1582
  function Ao(e, l) {
1583
- _t || Tn();
1583
+ It || Tn();
1584
1584
  function n(o) {
1585
1585
  let t;
1586
1586
  if (!rt[o] || !(t = Mn(o)))
@@ -1589,14 +1589,14 @@ function Ao(e, l) {
1589
1589
  let a;
1590
1590
  if (i.size)
1591
1591
  i.delete(a = Array.from(i).shift());
1592
- else if (a = St(t), a >= $o || !xt(t, a + 1))
1592
+ else if (a = kt(t), a >= $o || !St(t, a + 1))
1593
1593
  return;
1594
1594
  const r = {
1595
1595
  cached: Math.floor(Date.now() / Ln),
1596
1596
  provider: e.provider,
1597
1597
  data: l
1598
1598
  };
1599
- return Tt(
1599
+ return _t(
1600
1600
  t,
1601
1601
  Ae + a.toString(),
1602
1602
  JSON.stringify(r)
@@ -1617,7 +1617,7 @@ function Bo(e, l) {
1617
1617
  const { provider: n, prefix: o } = e, t = e.iconsToLoad;
1618
1618
  delete e.iconsToLoad;
1619
1619
  let i;
1620
- if (!t || !(i = yt(n)))
1620
+ if (!t || !(i = wt(n)))
1621
1621
  return;
1622
1622
  i.prepare(n, o, t).forEach((r) => {
1623
1623
  Fo(n, r, (u) => {
@@ -1627,7 +1627,7 @@ function Bo(e, l) {
1627
1627
  });
1628
1628
  else
1629
1629
  try {
1630
- const f = Lt(
1630
+ const f = Et(
1631
1631
  e,
1632
1632
  u
1633
1633
  );
@@ -1700,7 +1700,7 @@ function jo(e, l) {
1700
1700
  }
1701
1701
  });
1702
1702
  }
1703
- function Vo(e, l = 0) {
1703
+ function Uo(e, l = 0) {
1704
1704
  const n = e.replace(/^-?[0-9.]*/, "");
1705
1705
  function o(t) {
1706
1706
  for (; t < 0; )
@@ -1726,7 +1726,7 @@ function Vo(e, l = 0) {
1726
1726
  }
1727
1727
  return l;
1728
1728
  }
1729
- function Uo(e, l) {
1729
+ function Vo(e, l) {
1730
1730
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
1731
1731
  for (const o in l)
1732
1732
  n += " " + o + '="' + l[o] + '"';
@@ -1751,7 +1751,7 @@ const nn = {
1751
1751
  role: "img"
1752
1752
  }, Yo = {
1753
1753
  display: "inline-block"
1754
- }, kt = {
1754
+ }, Ct = {
1755
1755
  backgroundColor: "currentColor"
1756
1756
  }, _n = {
1757
1757
  backgroundColor: "transparent"
@@ -1760,8 +1760,8 @@ const nn = {
1760
1760
  Repeat: "no-repeat",
1761
1761
  Size: "100% 100%"
1762
1762
  }, on = {
1763
- webkitMask: kt,
1764
- mask: kt,
1763
+ webkitMask: Ct,
1764
+ mask: Ct,
1765
1765
  background: _n
1766
1766
  };
1767
1767
  for (const e in on) {
@@ -1800,7 +1800,7 @@ const an = (e, l) => {
1800
1800
  i.color = y;
1801
1801
  break;
1802
1802
  case "rotate":
1803
- typeof y == "string" ? n[$] = Vo(y) : typeof y == "number" && (n[$] = y);
1803
+ typeof y == "string" ? n[$] = Uo(y) : typeof y == "number" && (n[$] = y);
1804
1804
  break;
1805
1805
  case "ariaHidden":
1806
1806
  case "aria-hidden":
@@ -1819,9 +1819,9 @@ const an = (e, l) => {
1819
1819
  ...r
1820
1820
  }, Object.assign(o, f);
1821
1821
  let $ = 0, y = l.id;
1822
- return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = vo(u.body, y ? () => y + "ID" + $++ : "iconifyVue"), vt("svg", o);
1822
+ return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = vo(u.body, y ? () => y + "ID" + $++ : "iconifyVue"), mt("svg", o);
1823
1823
  }
1824
- const { body: d, width: p, height: E } = e, _ = t === "mask" || (t === "bg" ? !1 : d.indexOf("currentColor") !== -1), I = Uo(d, {
1824
+ const { body: d, width: p, height: E } = e, _ = t === "mask" || (t === "bg" ? !1 : d.indexOf("currentColor") !== -1), I = Vo(d, {
1825
1825
  ...f,
1826
1826
  width: p + "",
1827
1827
  height: E + ""
@@ -1832,9 +1832,9 @@ const an = (e, l) => {
1832
1832
  width: rn(f.width),
1833
1833
  height: rn(f.height),
1834
1834
  ...Yo,
1835
- ..._ ? kt : _n,
1835
+ ..._ ? Ct : _n,
1836
1836
  ...r
1837
- }, vt("span", o);
1837
+ }, mt("span", o);
1838
1838
  };
1839
1839
  wn(!0);
1840
1840
  mo("", Co);
@@ -1958,14 +1958,9 @@ const Jo = {
1958
1958
  }
1959
1959
  }
1960
1960
  const i = B(-1);
1961
- return te(
1962
- () => n.value,
1963
- (a, r) => {
1964
- var u;
1965
- new Set(n.value.map((f) => f.isExpanded)).size > 1 ? (i.value = -1, o.value = !0) : (u = n.value.at(0)) != null && u.isExpanded ? (i.value = 0, o.value = !0) : (i.value = 1, o.value = !1);
1966
- },
1967
- { deep: !0 }
1968
- ), (a, r) => {
1961
+ return ne(() => n.value, () => {
1962
+ l.expandall && new Set(n.value.map((a) => a.isExpanded)).size > 1 && (i.value = -1, o.value = !0);
1963
+ }, { deep: !0 }), (a, r) => {
1969
1964
  var u, f;
1970
1965
  return m(), w("button", {
1971
1966
  class: "expandbtn",
@@ -1973,30 +1968,30 @@ const Jo = {
1973
1968
  }, [
1974
1969
  (((u = n.value.find((d) => d.id == a.item.id)) == null ? void 0 : u.isExpanded) == null ? o.value : (f = n.value.find((d) => d.id == a.item.id)) != null && f.isExpanded) ? (m(), w(G, { key: 0 }, [
1975
1970
  l.expandall ? (m(), w(G, { key: 0 }, [
1976
- i.value ? (m(), ce(K(be), {
1971
+ i.value ? (m(), ue(K(be), {
1977
1972
  key: 0,
1978
1973
  icon: "fluent:chevron-down-up-16-filled"
1979
- })) : (m(), ce(K(be), {
1974
+ })) : (m(), ue(K(be), {
1980
1975
  key: 1,
1981
1976
  icon: "mdi:chevron-down"
1982
1977
  }))
1983
- ], 64)) : (m(), ce(K(be), {
1978
+ ], 64)) : (m(), ue(K(be), {
1984
1979
  key: 1,
1985
1980
  icon: "mdi:chevron-down"
1986
1981
  }))
1987
1982
  ], 64)) : (m(), w(G, { key: 1 }, [
1988
1983
  l.expandall ? (m(), w(G, { key: 0 }, [
1989
- i.value == -1 ? (m(), ce(K(be), {
1984
+ i.value == -1 ? (m(), ue(K(be), {
1990
1985
  key: 0,
1991
1986
  icon: "ion:chevron-expand"
1992
- })) : i.value == 0 ? (m(), ce(K(be), {
1987
+ })) : i.value == 0 ? (m(), ue(K(be), {
1993
1988
  key: 1,
1994
1989
  icon: "mdi:chevron-down"
1995
- })) : (m(), ce(K(be), {
1990
+ })) : (m(), ue(K(be), {
1996
1991
  key: 2,
1997
1992
  icon: "mdi:chevron-right"
1998
1993
  }))
1999
- ], 64)) : (m(), ce(K(be), {
1994
+ ], 64)) : (m(), ue(K(be), {
2000
1995
  key: 1,
2001
1996
  icon: "mdi:chevron-right"
2002
1997
  }))
@@ -2009,7 +2004,7 @@ const Jo = {
2009
2004
  for (const [o, t] of l)
2010
2005
  n[o] = t;
2011
2006
  return n;
2012
- }, In = /* @__PURE__ */ We(ei, [["__scopeId", "data-v-8bd9f848"]]), ti = {
2007
+ }, In = /* @__PURE__ */ We(ei, [["__scopeId", "data-v-96f3f821"]]), ti = {
2013
2008
  name: "ButtonRightPanel"
2014
2009
  }, ni = /* @__PURE__ */ we({
2015
2010
  ...ti,
@@ -2026,7 +2021,7 @@ const Jo = {
2026
2021
  class: "rightpanelbtn",
2027
2022
  onClick: ye(t, ["stop"])
2028
2023
  }, [
2029
- oe(K(be), { icon: "lucide:plus" })
2024
+ ie(K(be), { icon: "lucide:plus" })
2030
2025
  ]));
2031
2026
  }
2032
2027
  }), li = /* @__PURE__ */ We(ni, [["__scopeId", "data-v-d739c6bf"]]), oi = { 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" }, ii = {
@@ -2037,7 +2032,7 @@ const Jo = {
2037
2032
  emits: ["close", "filterChange"],
2038
2033
  setup(e, { emit: l }) {
2039
2034
  const n = e;
2040
- zt(() => {
2035
+ Lt(() => {
2041
2036
  document.removeEventListener("click", t);
2042
2037
  }), Le(() => {
2043
2038
  document.addEventListener("click", t);
@@ -2048,105 +2043,105 @@ const Jo = {
2048
2043
  n.column.condition = a, a === "" && (n.column.value = ""), o("filterChange", n.column);
2049
2044
  };
2050
2045
  return (a, r) => (m(), w("div", oi, [
2051
- z("div", {
2046
+ L("div", {
2052
2047
  class: "bh-text-[13px] bh-font-normal bh-rounded bh-overflow-hidden",
2053
2048
  onClick: ye(t, ["stop"])
2054
2049
  }, [
2055
- z("button", {
2050
+ L("button", {
2056
2051
  type: "button",
2057
2052
  class: T({ active: n.column.condition === "" }),
2058
2053
  onClick: r[0] || (r[0] = (u) => i(""))
2059
2054
  }, q((n.columnFilterLang && n.columnFilterLang.NoFilter) ?? "No filter"), 3),
2060
2055
  n.column.type === "string" ? (m(), w(G, { key: 0 }, [
2061
- z("button", {
2056
+ L("button", {
2062
2057
  type: "button",
2063
2058
  class: T({ active: n.column.condition === "Contains" }),
2064
2059
  onClick: r[1] || (r[1] = (u) => i("Contains"))
2065
2060
  }, q((n.columnFilterLang && n.columnFilterLang.Contains) ?? "Contains"), 3),
2066
- z("button", {
2061
+ L("button", {
2067
2062
  type: "button",
2068
2063
  class: T({ active: n.column.condition === "NotContains" }),
2069
2064
  onClick: r[2] || (r[2] = (u) => i("NotContains"))
2070
2065
  }, q((n.columnFilterLang && n.columnFilterLang.NotContains) ?? "NotContains"), 3),
2071
- z("button", {
2066
+ L("button", {
2072
2067
  type: "button",
2073
2068
  class: T({ active: n.column.condition === "Equal" }),
2074
2069
  onClick: r[3] || (r[3] = (u) => i("Equal"))
2075
2070
  }, q((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2076
- z("button", {
2071
+ L("button", {
2077
2072
  type: "button",
2078
2073
  class: T({ active: n.column.condition === "NotEqual" }),
2079
2074
  onClick: r[4] || (r[4] = (u) => i("NotEqual"))
2080
2075
  }, q((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual"), 3),
2081
- z("button", {
2076
+ L("button", {
2082
2077
  type: "button",
2083
2078
  class: T({ active: n.column.condition === "StartsWith" }),
2084
2079
  onClick: r[5] || (r[5] = (u) => i("StartsWith"))
2085
2080
  }, q((n.columnFilterLang && n.columnFilterLang.StartsWith) ?? "StartsWith"), 3),
2086
- z("button", {
2081
+ L("button", {
2087
2082
  type: "button",
2088
2083
  class: T({ active: n.column.condition === "EndsWith" }),
2089
2084
  onClick: r[6] || (r[6] = (u) => i("EndsWith"))
2090
2085
  }, q((n.columnFilterLang && n.columnFilterLang.EndsWith) ?? "EndsWith"), 3)
2091
2086
  ], 64)) : n.column.type === "number" ? (m(), w(G, { key: 1 }, [
2092
- z("button", {
2087
+ L("button", {
2093
2088
  type: "button",
2094
2089
  class: T({ active: n.column.condition === "Equal" }),
2095
2090
  onClick: r[7] || (r[7] = (u) => i("Equal"))
2096
2091
  }, q((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2097
- z("button", {
2092
+ L("button", {
2098
2093
  type: "button",
2099
2094
  class: T({ active: n.column.condition === "NotEqual" }),
2100
2095
  onClick: r[8] || (r[8] = (u) => i("NotEqual"))
2101
2096
  }, q((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual"), 3),
2102
- z("button", {
2097
+ L("button", {
2103
2098
  type: "button",
2104
2099
  class: T({ active: n.column.condition === "GreaterThan" }),
2105
2100
  onClick: r[9] || (r[9] = (u) => i("GreaterThan"))
2106
2101
  }, q((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan"), 3),
2107
- z("button", {
2102
+ L("button", {
2108
2103
  type: "button",
2109
2104
  class: T({ active: n.column.condition === "GreaterThanOrEqual" }),
2110
2105
  onClick: r[10] || (r[10] = (u) => i("GreaterThanOrEqual"))
2111
2106
  }, q((n.columnFilterLang && n.columnFilterLang.GreaterThanOrEqual) ?? "GreaterThanOrEqual"), 3),
2112
- z("button", {
2107
+ L("button", {
2113
2108
  type: "button",
2114
2109
  class: T({ active: n.column.condition === "LessThan" }),
2115
2110
  onClick: r[11] || (r[11] = (u) => i("LessThan"))
2116
2111
  }, q((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan"), 3),
2117
- z("button", {
2112
+ L("button", {
2118
2113
  type: "button",
2119
2114
  class: T({ active: n.column.condition === "LessThanOrEqual" }),
2120
2115
  onClick: r[12] || (r[12] = (u) => i("LessThanOrEqual"))
2121
2116
  }, q((n.columnFilterLang && n.columnFilterLang.LessThanOrEqual) ?? "LessThanOrEqual"), 3)
2122
2117
  ], 64)) : n.column.type === "date" ? (m(), w(G, { key: 2 }, [
2123
- z("button", {
2118
+ L("button", {
2124
2119
  type: "button",
2125
2120
  class: T({ active: n.column.condition === "Equal" }),
2126
2121
  onClick: r[13] || (r[13] = (u) => i("Equal"))
2127
2122
  }, q((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2128
- z("button", {
2123
+ L("button", {
2129
2124
  type: "button",
2130
2125
  class: T({ active: n.column.condition === "NotEqual" }),
2131
2126
  onClick: r[14] || (r[14] = (u) => i("NotEqual"))
2132
2127
  }, q((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "Not equal"), 3),
2133
- z("button", {
2128
+ L("button", {
2134
2129
  type: "button",
2135
2130
  class: T({ active: n.column.condition === "GreaterThan" }),
2136
2131
  onClick: r[15] || (r[15] = (u) => i("GreaterThan"))
2137
2132
  }, q((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan"), 3),
2138
- z("button", {
2133
+ L("button", {
2139
2134
  type: "button",
2140
2135
  class: T({ active: n.column.condition === "LessThan" }),
2141
2136
  onClick: r[16] || (r[16] = (u) => i("LessThan"))
2142
2137
  }, q((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan"), 3)
2143
2138
  ], 64)) : R("", !0),
2144
- z("button", {
2139
+ L("button", {
2145
2140
  type: "button",
2146
2141
  class: T({ active: n.column.condition === "IsNull" }),
2147
2142
  onClick: r[17] || (r[17] = (u) => i("IsNull"))
2148
2143
  }, q((n.columnFilterLang && n.columnFilterLang.IsNull) ?? "IsNull"), 3),
2149
- z("button", {
2144
+ L("button", {
2150
2145
  type: "button",
2151
2146
  class: T({ active: n.column.condition === "IsNotNull" }),
2152
2147
  onClick: r[18] || (r[18] = (u) => i("IsNotNull"))
@@ -2158,16 +2153,16 @@ const Jo = {
2158
2153
  version: "1.1",
2159
2154
  viewBox: "0 0 17 12",
2160
2155
  xmlns: "http://www.w3.org/2000/svg"
2161
- }, ui = /* @__PURE__ */ z("g", {
2156
+ }, ui = /* @__PURE__ */ L("g", {
2162
2157
  fill: "none",
2163
2158
  "fill-rule": "evenodd"
2164
2159
  }, [
2165
- /* @__PURE__ */ z("g", {
2160
+ /* @__PURE__ */ L("g", {
2166
2161
  transform: "translate(-9 -11)",
2167
2162
  fill: "currentColor",
2168
2163
  "fill-rule": "nonzero"
2169
2164
  }, [
2170
- /* @__PURE__ */ z("path", { d: "m25.576 11.414c0.56558 0.55188 0.56558 1.4439 0 1.9961l-9.404 9.176c-0.28213 0.27529-0.65247 0.41385-1.0228 0.41385-0.37034 0-0.74068-0.13855-1.0228-0.41385l-4.7019-4.588c-0.56584-0.55188-0.56584-1.4442 0-1.9961 0.56558-0.55214 1.4798-0.55214 2.0456 0l3.679 3.5899 8.3812-8.1779c0.56558-0.55214 1.4798-0.55214 2.0456 0z" })
2165
+ /* @__PURE__ */ L("path", { d: "m25.576 11.414c0.56558 0.55188 0.56558 1.4439 0 1.9961l-9.404 9.176c-0.28213 0.27529-0.65247 0.41385-1.0228 0.41385-0.37034 0-0.74068-0.13855-1.0228-0.41385l-4.7019-4.588c-0.56584-0.55188-0.56584-1.4442 0-1.9961 0.56558-0.55214 1.4798-0.55214 2.0456 0l3.679 3.5899 8.3812-8.1779c0.56558-0.55214 1.4798-0.55214 2.0456 0z" })
2171
2166
  ])
2172
2167
  ], -1), ci = [
2173
2168
  ui
@@ -2185,7 +2180,7 @@ const Fn = /* @__PURE__ */ We(ai, [["render", di]]), fi = {}, hi = {
2185
2180
  "stroke-linecap": "round",
2186
2181
  "stroke-linejoin": "round",
2187
2182
  class: "css-i6dzq1"
2188
- }, pi = /* @__PURE__ */ z("line", {
2183
+ }, pi = /* @__PURE__ */ L("line", {
2189
2184
  x1: "5",
2190
2185
  y1: "12",
2191
2186
  x2: "19",
@@ -2206,7 +2201,7 @@ const gi = /* @__PURE__ */ We(fi, [["render", mi]]), bi = {}, yi = {
2206
2201
  "stroke-linecap": "round",
2207
2202
  "stroke-linejoin": "round",
2208
2203
  class: "css-i6dzq1"
2209
- }, wi = /* @__PURE__ */ z("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1), xi = [
2204
+ }, wi = /* @__PURE__ */ L("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" }, null, -1), xi = [
2210
2205
  wi
2211
2206
  ];
2212
2207
  function Si(e, l) {
@@ -2220,7 +2215,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2220
2215
  }, Mi = {
2221
2216
  key: 0,
2222
2217
  class: "bh-filter bh-relative"
2223
- }, Pi = ["onUpdate:modelValue"], Ti = ["onUpdate:modelValue"], _i = ["onUpdate:modelValue"], Ii = ["onUpdate:modelValue"], Fi = /* @__PURE__ */ z("option", { value: void 0 }, "All", -1), Oi = /* @__PURE__ */ z("option", { value: !0 }, "True", -1), $i = /* @__PURE__ */ z("option", { value: !1 }, "False", -1), Ri = [
2218
+ }, Pi = ["onUpdate:modelValue"], Ti = ["onUpdate:modelValue"], _i = ["onUpdate:modelValue"], Ii = ["onUpdate:modelValue"], Fi = /* @__PURE__ */ L("option", { value: void 0 }, "All", -1), Oi = /* @__PURE__ */ L("option", { value: !0 }, "True", -1), $i = /* @__PURE__ */ L("option", { value: !1 }, "False", -1), Ri = [
2224
2219
  Fi,
2225
2220
  Oi,
2226
2221
  $i
@@ -2246,7 +2241,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2246
2241
  ],
2247
2242
  setup(e, { emit: l }) {
2248
2243
  const n = B(null), o = e, t = l;
2249
- return te(() => o.checkAll, () => {
2244
+ return ne(() => o.checkAll, () => {
2250
2245
  n.value && (n.value.indeterminate = o.checkAll !== 0 ? !o.checkAll : !1, n.value.checked = o.checkAll);
2251
2246
  }), (a, r) => (m(), w("tr", Ci, [
2252
2247
  o.all.hasCheckbox ? (m(), w("th", {
@@ -2258,8 +2253,8 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2258
2253
  "bh-left-0": o.all.stickyFirstColumn
2259
2254
  })
2260
2255
  }, [
2261
- z("div", zi, [
2262
- z("input", {
2256
+ L("div", zi, [
2257
+ L("input", {
2263
2258
  ref_key: "selectedAll",
2264
2259
  ref: n,
2265
2260
  type: "checkbox",
@@ -2268,9 +2263,9 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2268
2263
  return t("selectAll", (f = u == null ? void 0 : u.target) == null ? void 0 : f.checked);
2269
2264
  }, ["stop"]))
2270
2265
  }, null, 512),
2271
- z("div", null, [
2272
- oe(Fn, { class: "check" }),
2273
- oe(gi, { class: "intermediate" })
2266
+ L("div", null, [
2267
+ ie(Fn, { class: "check" }),
2268
+ ie(gi, { class: "intermediate" })
2274
2269
  ])
2275
2270
  ])
2276
2271
  ], 6)) : R("", !0),
@@ -2287,7 +2282,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2287
2282
  key: 2,
2288
2283
  style: Z({ width: o.all.subtableColumnWidth + " !important", minWidth: o.all.subtableColumnWidth + " !important" })
2289
2284
  }, [
2290
- o.all.expandall ? (m(), ce(In, {
2285
+ o.all.expandall ? (m(), ue(In, {
2291
2286
  key: 0,
2292
2287
  expandedrows: o.expandedrows,
2293
2288
  expandall: o.all.expandall
@@ -2307,24 +2302,24 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2307
2302
  "max-width": u.maxWidth
2308
2303
  })
2309
2304
  }, [
2310
- z("div", {
2305
+ L("div", {
2311
2306
  class: T(["bh-flex bh-items-center", [u.headerClass ? u.headerClass : ""]]),
2312
2307
  onClick: (d) => o.all.sortable && u.sort && t("sortChange", u.field)
2313
2308
  }, [
2314
- mt(q(u.title) + " ", 1),
2309
+ gt(q(u.title) + " ", 1),
2315
2310
  o.all.sortable && u.sort ? (m(), w("span", {
2316
2311
  key: 0,
2317
2312
  class: T(["bh-ml-3 bh-sort bh-flex bh-items-center", [o.currentSortColumn, o.currentSortDirection]])
2318
2313
  }, [
2319
2314
  (m(), w("svg", Ei, [
2320
- z("polygon", {
2315
+ L("polygon", {
2321
2316
  points: "3.11,6.25 10.89,6.25 7,1.75 ",
2322
2317
  fill: "currentColor",
2323
2318
  class: T(["bh-text-black/20", [
2324
2319
  e.currentSortColumn === u.field && e.currentSortDirection === "asc" ? "!bh-text-primary" : ""
2325
2320
  ]])
2326
2321
  }, null, 2),
2327
- z("polygon", {
2322
+ L("polygon", {
2328
2323
  points: "7,12.25 10.89,7.75 3.11,7.75 ",
2329
2324
  fill: "currentColor",
2330
2325
  class: T(["bh-text-black/20", [
@@ -2344,7 +2339,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2344
2339
  onKeyup: r[1] || (r[1] = (d) => t("filterChange"))
2345
2340
  }, null, 40, Pi)), [
2346
2341
  [
2347
- ut,
2342
+ ct,
2348
2343
  u.value,
2349
2344
  void 0,
2350
2345
  { trim: !0 }
@@ -2358,7 +2353,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2358
2353
  onKeyup: r[2] || (r[2] = (d) => t("filterChange"))
2359
2354
  }, null, 40, Ti)), [
2360
2355
  [
2361
- ut,
2356
+ ct,
2362
2357
  u.value,
2363
2358
  void 0,
2364
2359
  {
@@ -2373,7 +2368,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2373
2368
  class: "bh-form-control",
2374
2369
  onChange: r[3] || (r[3] = (d) => t("filterChange"))
2375
2370
  }, null, 40, _i)), [
2376
- [ut, u.value]
2371
+ [ct, u.value]
2377
2372
  ]) : u.type === "bool" ? ve((m(), w("select", {
2378
2373
  key: 3,
2379
2374
  "onUpdate:modelValue": (d) => u.value = d,
@@ -2389,16 +2384,16 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2389
2384
  type: "button",
2390
2385
  onClick: ye((d) => t("toggleFilterMenu", u), ["stop"])
2391
2386
  }, [
2392
- oe(ki, { class: "bh-w-4" })
2387
+ ie(ki, { class: "bh-w-4" })
2393
2388
  ], 8, Ni)) : R("", !0),
2394
- ve(oe(ri, {
2389
+ ve(ie(ri, {
2395
2390
  column: u,
2396
2391
  type: u.type,
2397
2392
  columnFilterLang: o.columnFilterLang,
2398
2393
  onClose: r[6] || (r[6] = (d) => t("toggleFilterMenu", null)),
2399
2394
  onFilterChange: r[7] || (r[7] = (d) => t("filterChange"))
2400
2395
  }, null, 8, ["column", "type", "columnFilterLang"]), [
2401
- [pt, o.isOpenFilter === u.field]
2396
+ [vt, o.isOpenFilter === u.field]
2402
2397
  ])
2403
2398
  ])) : R("", !0)
2404
2399
  ], 64)) : R("", !0)
@@ -2406,7 +2401,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2406
2401
  ], 64))), 256))
2407
2402
  ]));
2408
2403
  }
2409
- }), Wi = { class: "bh-datatable bh-antialiased bh-relative bh-text-black bh-text-sm bh-font-normal" }, Bi = { class: "bh-flex bh-h-full" }, Di = /* @__PURE__ */ z("span", null, "##Left Menu Slot##", -1), Hi = { class: "menu-resize-controls bh-absolute bh-right-0 bh-top-1/2 bh-transform -bh-translate-y-1/2 bh-z-10 bh-bg-gray-100 bh-rounded-l bh-shadow-md bh-select-none" }, qi = /* @__PURE__ */ z("path", {
2404
+ }), Wi = { class: "bh-datatable bh-antialiased bh-relative bh-text-black bh-text-sm bh-font-normal" }, Bi = { class: "bh-flex bh-h-full" }, Di = /* @__PURE__ */ L("span", null, "##Left Menu Slot##", -1), Hi = { class: "menu-resize-controls bh-absolute bh-right-0 bh-top-1/2 bh-transform -bh-translate-y-1/2 bh-z-10 bh-bg-gray-100 bh-rounded-l bh-shadow-md bh-select-none" }, qi = /* @__PURE__ */ L("path", {
2410
2405
  d: "M7 1L1 6L7 11",
2411
2406
  stroke: "currentColor",
2412
2407
  "stroke-width": "2",
@@ -2414,10 +2409,10 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2414
2409
  "stroke-linejoin": "round"
2415
2410
  }, null, -1), ji = [
2416
2411
  qi
2417
- ], Vi = {
2412
+ ], Ui = {
2418
2413
  class: "bh-flex-1",
2419
2414
  style: { overflow: "auto", "min-width": "0", width: "100%" }
2420
- }, Ui = /* @__PURE__ */ z("span", null, "##Top Menu Slot##", -1), Gi = /* @__PURE__ */ z("span", null, "##Table Header Area Slot##", -1), Qi = /* @__PURE__ */ z("span", null, "##Table Action Header Slot##", -1), Ki = ["onClick"], Xi = { class: "bh-checkbox" }, Yi = ["value"], Ji = ["innerHTML"], Zi = ["onClick"], er = ["colspan"], tr = ["colspan"], nr = /* @__PURE__ */ z("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), lr = [
2415
+ }, Vi = /* @__PURE__ */ L("span", null, "##Top Menu Slot##", -1), Gi = /* @__PURE__ */ L("span", null, "##Table Header Area Slot##", -1), Qi = /* @__PURE__ */ L("span", null, "##Table Action Header Slot##", -1), Ki = ["onClick"], Xi = { class: "bh-checkbox" }, Yi = ["value"], Ji = ["innerHTML"], Zi = ["onClick"], er = ["colspan"], tr = ["colspan"], nr = /* @__PURE__ */ L("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), lr = [
2421
2416
  nr
2422
2417
  ], or = ["colspan"], ir = { class: "bh-flex bh-items-center bh-flex-wrap bh-flex-col sm:bh-flex-row bh-gap-4" }, rr = { class: "bh-pagination-info bh-flex bh-items-center" }, ar = { class: "bh-mr-2" }, sr = ["value"], ur = { class: "bh-pagination-number sm:bh-ml-auto bh-inline-flex bh-items-center bh-space-x-1" }, cr = ["innerHTML"], dr = {
2423
2418
  key: 1,
@@ -2425,12 +2420,12 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2425
2420
  width: "14",
2426
2421
  height: "14",
2427
2422
  viewBox: "0 0 16 16"
2428
- }, fr = /* @__PURE__ */ z("g", {
2423
+ }, fr = /* @__PURE__ */ L("g", {
2429
2424
  fill: "currentColor",
2430
2425
  "fill-rule": "evenodd"
2431
2426
  }, [
2432
- /* @__PURE__ */ z("path", { d: "M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" }),
2433
- /* @__PURE__ */ z("path", { d: "M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" })
2427
+ /* @__PURE__ */ L("path", { d: "M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" }),
2428
+ /* @__PURE__ */ L("path", { d: "M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" })
2434
2429
  ], -1), hr = [
2435
2430
  fr
2436
2431
  ], pr = ["innerHTML"], vr = {
@@ -2439,7 +2434,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2439
2434
  width: "14",
2440
2435
  height: "14",
2441
2436
  viewBox: "0 0 16 16"
2442
- }, mr = /* @__PURE__ */ z("path", {
2437
+ }, mr = /* @__PURE__ */ L("path", {
2443
2438
  fill: "currentColor",
2444
2439
  "fill-rule": "evenodd",
2445
2440
  d: "M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"
@@ -2451,7 +2446,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2451
2446
  width: "14",
2452
2447
  height: "14",
2453
2448
  viewBox: "0 0 16 16"
2454
- }, xr = /* @__PURE__ */ z("path", {
2449
+ }, xr = /* @__PURE__ */ L("path", {
2455
2450
  fill: "currentColor",
2456
2451
  "fill-rule": "evenodd",
2457
2452
  d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8L4.646 2.354a.5.5 0 0 1 0-.708z"
@@ -2463,12 +2458,12 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2463
2458
  width: "14",
2464
2459
  height: "14",
2465
2460
  viewBox: "0 0 16 16"
2466
- }, zr = /* @__PURE__ */ z("g", {
2461
+ }, zr = /* @__PURE__ */ L("g", {
2467
2462
  fill: "currentColor",
2468
2463
  "fill-rule": "evenodd"
2469
2464
  }, [
2470
- /* @__PURE__ */ z("path", { d: "M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8L3.646 2.354a.5.5 0 0 1 0-.708z" }),
2471
- /* @__PURE__ */ z("path", { d: "M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8L7.646 2.354a.5.5 0 0 1 0-.708z" })
2465
+ /* @__PURE__ */ L("path", { d: "M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8L3.646 2.354a.5.5 0 0 1 0-.708z" }),
2466
+ /* @__PURE__ */ L("path", { d: "M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8L7.646 2.354a.5.5 0 0 1 0-.708z" })
2472
2467
  ], -1), Lr = [
2473
2468
  zr
2474
2469
  ], Er = {
@@ -2569,7 +2564,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2569
2564
  JSON.parse(JSON.stringify(t.columns));
2570
2565
  const H = B(null), j = B(null);
2571
2566
  let O = B(0);
2572
- const Y = B(230), S = B(t.leftmenuDefaultWidth), k = B(!1), W = B(null), V = () => {
2567
+ const Y = B(230), S = B(t.leftmenuDefaultWidth), k = B(!1), W = B(null), U = () => {
2573
2568
  if (W.value) {
2574
2569
  const s = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth;
2575
2570
  W.value.style.cssText = `
@@ -2579,16 +2574,16 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2579
2574
  `;
2580
2575
  }
2581
2576
  }, ee = () => {
2582
- k.value ? S.value = t.leftmenuMinWidth : S.value = t.leftmenuDefaultWidth, V();
2577
+ k.value ? S.value = t.leftmenuMinWidth : S.value = t.leftmenuDefaultWidth, U();
2583
2578
  }, at = () => {
2584
- k.value = !k.value, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, V(), ie("currentLeftMenuSize", S.value);
2579
+ k.value = !k.value, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, U(), oe("currentLeftMenuSize", S.value);
2585
2580
  };
2586
2581
  Le(() => {
2587
- ue(), Oe(() => {
2588
- Ge.value <= 0 && (Ge.value = 10), t.initialLeftMenuState !== void 0 ? (k.value = t.initialLeftMenuState, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, console.log("Setting initial left menu state:", k.value), console.log("Setting initial left menu width:", S.value)) : S.value = t.leftmenuDefaultWidth, V(), window.addEventListener("resize", ee);
2582
+ ce(), _e(() => {
2583
+ Ge.value <= 0 && (Ge.value = 10), oe("currentTopMenuSize", t.topmenumin || 20), t.initialLeftMenuState !== void 0 ? (k.value = t.initialLeftMenuState, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, console.log("Setting initial left menu state:", k.value), console.log("Setting initial left menu width:", S.value)) : S.value = t.leftmenuDefaultWidth, U(), window.addEventListener("resize", ee);
2589
2584
  });
2590
2585
  });
2591
- const ie = n;
2586
+ const oe = n;
2592
2587
  l({
2593
2588
  reset() {
2594
2589
  $n();
@@ -2603,31 +2598,31 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2603
2598
  return An();
2604
2599
  },
2605
2600
  selectRow(s) {
2606
- Ft(s);
2601
+ Ot(s);
2607
2602
  },
2608
2603
  unselectRow(s) {
2609
- Ot(s);
2604
+ $t(s);
2610
2605
  },
2611
2606
  isRowSelected(s) {
2612
- return Ue(s);
2607
+ return Ve(s);
2613
2608
  },
2614
2609
  getFilteredRows() {
2615
2610
  return He();
2616
2611
  },
2617
2612
  // Expose function to set the left menu state
2618
2613
  setLeftMenuState(s) {
2619
- k.value = s, S.value = s ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, V();
2614
+ k.value = s, S.value = s ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, U();
2620
2615
  }
2621
- }), te(() => t.initialLeftMenuState, (s) => {
2622
- s !== void 0 && (k.value = s, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, V());
2616
+ }), ne(() => t.initialLeftMenuState, (s) => {
2617
+ s !== void 0 && (k.value = s, S.value = k.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, U());
2623
2618
  }, { immediate: !0 });
2624
- const Be = (s, ...v) => s.replace(/{(\d+)}/g, (L, D) => typeof v[D] < "u" ? v[D] : L), J = X(() => {
2619
+ const Be = (s, ...v) => s.replace(/{(\d+)}/g, (C, D) => typeof v[D] < "u" ? v[D] : C), J = X(() => {
2625
2620
  const s = t.columns.find((v) => v.isUnique);
2626
2621
  return (s == null ? void 0 : s.field) || null;
2627
2622
  }), se = X(() => {
2628
2623
  const s = r.value < 1 ? 1 : Math.ceil(_.value / r.value);
2629
2624
  return Math.max(s || 0, 1);
2630
- }), ge = X(() => (a.value - 1) * r.value + 1), _e = X(() => {
2625
+ }), ge = X(() => (a.value - 1) * r.value + 1), Ie = X(() => {
2631
2626
  const s = a.value * r.value;
2632
2627
  return _.value >= s ? s : _.value;
2633
2628
  }), De = X(() => {
@@ -2636,38 +2631,38 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2636
2631
  a.value - Math.floor(t.showNumbersCount / 2),
2637
2632
  1
2638
2633
  ), v = s + t.showNumbersCount - 1, v > se.value && (v = se.value, s = v - t.showNumbersCount + 1)) : (s = 1, v = se.value), Array.from(Array(v + 1 - s).keys()).map(
2639
- (le) => s + le
2634
+ (te) => s + te
2640
2635
  );
2641
2636
  }), He = () => {
2642
- var le, Q, he;
2637
+ var te, Q, he;
2643
2638
  let s = t.rows || [];
2644
2639
  if (!t.isServerMode) {
2645
- if ((le = t.columns) == null || le.forEach((h) => {
2640
+ if ((te = t.columns) == null || te.forEach((h) => {
2646
2641
  h.filter && (h.value !== void 0 && h.value !== null && h.value !== "" || h.condition === "IsNull" || h.condition == "IsNotNull") && (h.type === "string" ? (h.value && !h.condition && (h.condition = "Contains"), h.condition === "Contains" ? s = s.filter((P) => {
2647
- var U;
2648
- return (U = F(P, h.field)) == null ? void 0 : U.toString().toLowerCase().includes(h.value.toLowerCase());
2642
+ var V;
2643
+ return (V = F(P, h.field)) == null ? void 0 : V.toString().toLowerCase().includes(h.value.toLowerCase());
2649
2644
  }) : h.condition === "NotContains" ? s = s.filter((P) => {
2650
- var U;
2651
- return !((U = F(P, h.field)) != null && U.toString().toLowerCase().includes(h.value.toLowerCase()));
2645
+ var V;
2646
+ return !((V = F(P, h.field)) != null && V.toString().toLowerCase().includes(h.value.toLowerCase()));
2652
2647
  }) : h.condition === "Equal" ? s = s.filter((P) => {
2653
- var U;
2654
- return ((U = F(P, h.field)) == null ? void 0 : U.toString().toLowerCase()) === h.value.toLowerCase();
2648
+ var V;
2649
+ return ((V = F(P, h.field)) == null ? void 0 : V.toString().toLowerCase()) === h.value.toLowerCase();
2655
2650
  }) : h.condition === "NotEqual" ? s = s.filter((P) => {
2656
- var U;
2657
- return ((U = F(P, h.field)) == null ? void 0 : U.toString().toLowerCase()) !== h.value.toLowerCase();
2651
+ var V;
2652
+ return ((V = F(P, h.field)) == null ? void 0 : V.toString().toLowerCase()) !== h.value.toLowerCase();
2658
2653
  }) : h.condition == "StartsWith" ? s = s.filter((P) => {
2659
- var U;
2660
- return ((U = F(P, h.field)) == null ? void 0 : U.toString().toLowerCase().indexOf(h.value.toLowerCase())) === 0;
2654
+ var V;
2655
+ return ((V = F(P, h.field)) == null ? void 0 : V.toString().toLowerCase().indexOf(h.value.toLowerCase())) === 0;
2661
2656
  }) : h.condition == "EndsWith" && (s = s.filter((P) => {
2662
- var U;
2663
- return ((U = F(P, h.field)) == null ? void 0 : U.toString().toLowerCase().substr(h.value.length * -1)) === h.value.toLowerCase();
2657
+ var V;
2658
+ return ((V = F(P, h.field)) == null ? void 0 : V.toString().toLowerCase().substr(h.value.length * -1)) === h.value.toLowerCase();
2664
2659
  }))) : h.type === "number" ? (h.value && !h.condition && (h.condition = "Equal"), h.condition === "Equal" ? s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) === parseFloat(h.value)) : h.condition === "NotEqual" ? s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) !== parseFloat(h.value)) : h.condition === "GreaterThan" ? s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) > parseFloat(h.value)) : h.condition === "GreaterThanOrEqual" ? s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) >= parseFloat(h.value)) : h.condition === "LessThan" ? s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) < parseFloat(h.value)) : h.condition === "LessThanOrEqual" && (s = s.filter((P) => F(P, h.field) && parseFloat(F(P, h.field)) <= parseFloat(h.value)))) : h.type === "date" ? (h.value && !h.condition && (h.condition = "Equal"), h.condition === "Equal" ? s = s.filter((P) => F(P, h.field) && xe(F(P, h.field)) === h.value) : h.condition === "NotEqual" ? s = s.filter((P) => F(P, h.field) && xe(F(P, h.field)) !== h.value) : h.condition === "GreaterThan" ? s = s.filter((P) => F(P, h.field) && xe(F(P, h.field)) > h.value) : h.condition === "LessThan" && (s = s.filter((P) => F(P, h.field) && xe(F(P, h.field)) < h.value))) : h.type === "bool" && (s = s.filter((P) => F(P, h.field) === h.value)), h.condition === "IsNull" ? (s = s.filter((P) => F(P, h.field) == null || F(P, h.field) == ""), h.value = "") : h.condition === "IsNotNull" && (h.value = "", s = s.filter((P) => F(P, h.field))));
2665
2660
  }), A.value && (s != null && s.length)) {
2666
2661
  let h = [];
2667
- const P = (t.columns || []).filter((U) => U.search && !U.hide).map((U) => U.field);
2662
+ const P = (t.columns || []).filter((V) => V.search && !V.hide).map((V) => V.field);
2668
2663
  for (var v = 0; v < (s == null ? void 0 : s.length); v++)
2669
- for (var L = 0; L < P.length; L++)
2670
- if ((Q = F(s[v], P[L])) != null && Q.toString().toLowerCase().includes(A.value.toLowerCase())) {
2664
+ for (var C = 0; C < P.length; C++)
2665
+ if ((Q = F(s[v], P[C])) != null && Q.toString().toLowerCase().includes(A.value.toLowerCase())) {
2671
2666
  h.push(s[v]);
2672
2667
  break;
2673
2668
  }
@@ -2680,21 +2675,21 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2680
2675
  const qn = p.value === "desc" ? -1 : 1;
2681
2676
  s.sort((h, P) => {
2682
2677
  var At, Wt;
2683
- const U = (At = f.value) == null ? void 0 : At.split(".").reduce((ke, st) => ke == null ? void 0 : ke[st], h), jn = (Wt = f.value) == null ? void 0 : Wt.split(".").reduce((ke, st) => ke == null ? void 0 : ke[st], P);
2684
- return D.compare(U, jn) * qn;
2678
+ const V = (At = f.value) == null ? void 0 : At.split(".").reduce((ke, ut) => ke == null ? void 0 : ke[ut], h), jn = (Wt = f.value) == null ? void 0 : Wt.split(".").reduce((ke, ut) => ke == null ? void 0 : ke[ut], P);
2679
+ return D.compare(V, jn) * qn;
2685
2680
  });
2686
2681
  }
2687
2682
  return s;
2688
- }, de = B([]), ue = () => {
2683
+ }, de = B([]), ce = () => {
2689
2684
  let s = [], v = He();
2690
- t.isServerMode ? (_.value = t.totalRows || 0, s = v) : (_.value = (v == null ? void 0 : v.length) || 0, s = v.slice(ge.value - 1, _e.value)), t.hasSubtable && s.forEach(function(L) {
2691
- L.isExpanded != null && (de.value.find((le) => le.id == L.id) || de.value.push({
2692
- id: L.id,
2693
- isExpanded: L.isExpanded
2685
+ t.isServerMode ? (_.value = t.totalRows || 0, s = v) : (_.value = (v == null ? void 0 : v.length) || 0, s = v.slice(ge.value - 1, Ie.value)), t.hasSubtable && s.forEach(function(C) {
2686
+ C.isExpanded != null && (de.value.find((te) => te.id == C.id) || de.value.push({
2687
+ id: C.id,
2688
+ isExpanded: C.isExpanded
2694
2689
  }));
2695
2690
  }), i.value = s || [];
2696
2691
  };
2697
- te(
2692
+ ne(
2698
2693
  () => t.loading,
2699
2694
  () => {
2700
2695
  y.value = t.loading;
@@ -2713,62 +2708,62 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2713
2708
  return !1;
2714
2709
  a.value++;
2715
2710
  };
2716
- te(() => a.value, () => {
2717
- M(!1), t.isServerMode ? fe("page") : (ue(), ie("pageChange", a.value));
2718
- }), te(() => t.rows, () => {
2719
- t.isServerMode || (a.value = 1), M(!1), ue();
2711
+ ne(() => a.value, () => {
2712
+ M(!1), t.isServerMode ? fe("page") : (ce(), oe("pageChange", a.value));
2713
+ }), ne(() => t.rows, () => {
2714
+ t.isServerMode || (a.value = 1), M(!1), ce();
2720
2715
  });
2721
2716
  const g = (s) => {
2722
2717
  r.value = s;
2723
2718
  };
2724
- te(() => r.value, () => {
2725
- M(!1), t.isServerMode ? a.value === 1 ? fe("pagesize", !0) : a.value = 1 : (a.value = 1, ue(), ie("pageSizeChange", r.value));
2719
+ ne(() => r.value, () => {
2720
+ M(!1), t.isServerMode ? a.value === 1 ? fe("pagesize", !0) : a.value = 1 : (a.value = 1, ce(), oe("pageSizeChange", r.value));
2726
2721
  });
2727
2722
  const b = (s) => {
2728
2723
  let v = "asc";
2729
2724
  s == f.value && p.value === "asc" && (v = "desc");
2730
- let L = (a.value - 1) * r.value, D = r.value;
2731
- f.value = s, p.value = v, M(!1), ue(), t.isServerMode ? fe("sort") : ie("sortChange", { offset: L, limit: D, field: s, direction: v });
2725
+ let C = (a.value - 1) * r.value, D = r.value;
2726
+ f.value = s, p.value = v, M(!1), ce(), t.isServerMode ? fe("sort") : oe("sortChange", { offset: C, limit: D, field: s, direction: v });
2732
2727
  }, x = (s) => {
2733
2728
  $.value = s.length && i.value.length && s.length === i.value.length;
2734
2729
  const v = i.value.filter(
2735
- (L, D) => I.value.includes(J.value ? L[J.value] : D)
2730
+ (C, D) => I.value.includes(J.value ? C[J.value] : D)
2736
2731
  );
2737
- ie("rowSelect", v);
2732
+ oe("rowSelect", v);
2738
2733
  };
2739
- te(() => I.value, x);
2734
+ ne(() => I.value, x);
2740
2735
  const M = (s) => {
2741
2736
  s ? I.value = i.value.map(
2742
- (v, L) => J.value ? v[J.value] : L
2737
+ (v, C) => J.value ? v[J.value] : C
2743
2738
  ) : I.value = [];
2744
2739
  }, N = () => {
2745
- M(!1), t.isServerMode ? a.value === 1 ? fe("filter", !0) : a.value = 1 : (a.value = 1, ue(), ie("filterChange", t.columns));
2746
- }, ne = () => {
2747
- M(!1), t.isServerMode ? a.value === 1 ? fe("search", !0) : a.value = 1 : (a.value = 1, ue(), ie("searchChange", A.value));
2740
+ M(!1), t.isServerMode ? a.value === 1 ? fe("filter", !0) : a.value = 1 : (a.value = 1, ce(), oe("filterChange", t.columns));
2741
+ }, le = () => {
2742
+ M(!1), t.isServerMode ? a.value === 1 ? fe("search", !0) : a.value = 1 : (a.value = 1, ce(), oe("searchChange", A.value));
2748
2743
  };
2749
- te(
2744
+ ne(
2750
2745
  () => t.search,
2751
2746
  () => {
2752
- A.value = t.search, ne();
2747
+ A.value = t.search, le();
2753
2748
  }
2754
2749
  );
2755
- const F = (s, v) => v == null ? void 0 : v.split(".").reduce((L, D) => L == null ? void 0 : L[D], s), xe = (s) => {
2750
+ const F = (s, v) => v == null ? void 0 : v.split(".").reduce((C, D) => C == null ? void 0 : C[D], s), xe = (s) => {
2756
2751
  try {
2757
2752
  if (!s)
2758
2753
  return "";
2759
- const v = new Date(s), L = v.getDate(), D = v.getMonth() + 1;
2760
- return v.getFullYear() + "-" + (D > 9 ? D : "0" + D) + "-" + (L > 9 ? L : "0" + L);
2754
+ const v = new Date(s), C = v.getDate(), D = v.getMonth() + 1;
2755
+ return v.getFullYear() + "-" + (D > 9 ? D : "0" + D) + "-" + (C > 9 ? C : "0" + C);
2761
2756
  } catch {
2762
2757
  }
2763
2758
  return "";
2764
- }, Ve = (s, v) => {
2759
+ }, Ue = (s, v) => {
2765
2760
  O.value++, O.value === 1 ? j.value = setTimeout(() => {
2766
- O.value = 0, t.selectRowOnClick && (Ue(v) ? Ot(v) : Ft(v), x(I.value)), ie("rowClick", s);
2767
- }, Y.value) : O.value === 2 && (clearTimeout(j.value), O.value = 0, ie("rowDBClick", s));
2761
+ O.value = 0, t.selectRowOnClick && (Ve(v) ? $t(v) : Ot(v), x(I.value)), oe("rowClick", s);
2762
+ }, Y.value) : O.value === 2 && (clearTimeout(j.value), O.value = 0, oe("rowDBClick", s));
2768
2763
  }, fe = (s, v = !1) => {
2769
2764
  if (t.isServerMode) {
2770
2765
  On();
2771
- const L = {
2766
+ const C = {
2772
2767
  current_page: v ? 1 : a.value,
2773
2768
  pagesize: r.value,
2774
2769
  offset: (a.value - 1) * r.value,
@@ -2778,7 +2773,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2778
2773
  column_filters: t.columns,
2779
2774
  change_type: s
2780
2775
  };
2781
- ie("change", L);
2776
+ oe("change", C);
2782
2777
  }
2783
2778
  }, On = () => {
2784
2779
  for (let s = 0; s < t.columns.length; s++) {
@@ -2789,27 +2784,27 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2789
2784
  M(!1);
2790
2785
  for (let s = 0; s < t.columns.length; s++)
2791
2786
  t.columns[s].value = "";
2792
- A.value = "", r.value = u, f.value = d, p.value = E, t.isServerMode ? a.value === 1 ? fe("reset", !0) : a.value = 1 : (a.value = 1, ue());
2787
+ A.value = "", r.value = u, f.value = d, p.value = E, t.isServerMode ? a.value === 1 ? fe("reset", !0) : a.value = 1 : (a.value = 1, ce());
2793
2788
  }, Rn = () => i.value.filter(
2794
- (v, L) => I.value.includes(J.value ? v[J.value] : L)
2789
+ (v, C) => I.value.includes(J.value ? v[J.value] : C)
2795
2790
  ), Nn = () => t.columns, An = () => {
2796
2791
  I.value = [];
2797
- }, Ft = (s) => {
2798
- if (!Ue(s)) {
2799
- const v = i.value.find((L, D) => D === s);
2792
+ }, Ot = (s) => {
2793
+ if (!Ve(s)) {
2794
+ const v = i.value.find((C, D) => D === s);
2800
2795
  I.value.push(
2801
2796
  J.value ? v[J.value] : s
2802
2797
  );
2803
2798
  }
2804
- }, Ot = (s) => {
2805
- if (Ue(s)) {
2806
- const v = i.value.find((L, D) => D === s);
2799
+ }, $t = (s) => {
2800
+ if (Ve(s)) {
2801
+ const v = i.value.find((C, D) => D === s);
2807
2802
  I.value = I.value.filter(
2808
- (L) => L !== (J.value ? v[J.value] : s)
2803
+ (C) => C !== (J.value ? v[J.value] : s)
2809
2804
  );
2810
2805
  }
2811
- }, Ue = (s) => {
2812
- const v = i.value.find((L, D) => D === s);
2806
+ }, Ve = (s) => {
2807
+ const v = i.value.find((C, D) => D === s);
2813
2808
  return v ? I.value.includes(
2814
2809
  J.value ? v[J.value] : s
2815
2810
  ) : !1;
@@ -2818,22 +2813,26 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2818
2813
  t.hasCheckbox && Se++, t.hasSubtable && Se++, t.hasRightPanel && Se++;
2819
2814
  const Wn = B(0), Bn = setInterval(function() {
2820
2815
  Wn.value++;
2821
- }, 2200), Ge = B(t.topmenusize), $t = B(null), Dn = sl($t).height, Hn = (s) => {
2822
- if (!s || !s.length) return;
2823
- const v = s[0].size;
2824
- Ge.value = v, ie("currentTopMenuSize", v);
2816
+ }, 2200), Ge = B(t.topmenusize), st = B(null), Dn = sl(st).height, Hn = (s) => {
2817
+ if (!s || !s.panes || !s.panes.length) return;
2818
+ const v = s.panes[0].size;
2819
+ Ge.value = v, _e(() => {
2820
+ var te;
2821
+ const C = (te = st.value) == null ? void 0 : te.$el, D = C ? C.offsetHeight : 0;
2822
+ oe("currentTopMenuSize", D);
2823
+ });
2825
2824
  };
2826
2825
  return Ze(() => {
2827
2826
  clearInterval(Bn), window.removeEventListener("resize", ee);
2828
2827
  }), (s, v) => (m(), w("div", Wi, [
2829
- oe(K(Ut), {
2828
+ ie(K(Vt), {
2830
2829
  class: "default-theme",
2831
2830
  style: Z({ height: t.height })
2832
2831
  }, {
2833
2832
  default: Pe(() => [
2834
- oe(K(dt), null, {
2833
+ ie(K(ft), null, {
2835
2834
  default: Pe(() => [
2836
- z("div", Bi, [
2835
+ L("div", Bi, [
2837
2836
  s.enableleftmenu ? (m(), w("div", {
2838
2837
  key: 0,
2839
2838
  ref_key: "leftmenuel",
@@ -2850,8 +2849,8 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2850
2849
  ae(s.$slots, "tableleftmenu", {}, () => [
2851
2850
  Di
2852
2851
  ]),
2853
- z("div", Hi, [
2854
- z("button", {
2852
+ L("div", Hi, [
2853
+ L("button", {
2855
2854
  onClick: at,
2856
2855
  class: "bh-w-4 bh-h-10 bh-flex bh-justify-center bh-items-center bh-border-none bh-bg-transparent bh-cursor-pointer bh-outline-none"
2857
2856
  }, [
@@ -2866,30 +2865,31 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2866
2865
  ])
2867
2866
  ])
2868
2867
  ], 4)) : R("", !0),
2869
- z("div", Vi, [
2870
- oe(K(Ut), {
2868
+ L("div", Ui, [
2869
+ s.enabletopmenu ? (m(), ue(K(Vt), {
2870
+ key: 0,
2871
2871
  class: "default-theme",
2872
2872
  horizontal: "horizontal",
2873
2873
  onResize: Hn,
2874
2874
  "push-other-panes": ""
2875
2875
  }, {
2876
2876
  default: Pe(() => [
2877
- s.enabletopmenu ? (m(), ce(K(dt), {
2877
+ s.enabletopmenu ? (m(), ue(K(ft), {
2878
2878
  key: 0,
2879
2879
  ref_key: "topmenuel",
2880
- ref: $t,
2880
+ ref: st,
2881
2881
  size: Ge.value || 10,
2882
2882
  "max-size": s.topmenumax || 100,
2883
2883
  style: Z({ "min-height": s.topmenumin + "px" })
2884
2884
  }, {
2885
2885
  default: Pe(() => [
2886
2886
  ae(s.$slots, "tabletopmenu", {}, () => [
2887
- Ui
2887
+ Vi
2888
2888
  ])
2889
2889
  ]),
2890
2890
  _: 3
2891
2891
  }, 8, ["size", "max-size", "style"])) : R("", !0),
2892
- oe(K(dt), {
2892
+ ie(K(ft), {
2893
2893
  style: Z({ "padding-right": s.tableRightOffset + "px", "padding-left": s.tableLeftOffset + "px" })
2894
2894
  }, {
2895
2895
  default: Pe(() => [
@@ -2905,10 +2905,10 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2905
2905
  ae(s.$slots, "tableactionheader", {}, () => [
2906
2906
  Qi
2907
2907
  ]),
2908
- z("div", {
2908
+ L("div", {
2909
2909
  class: T(t.scrollbarstyle)
2910
2910
  }, [
2911
- oe(K(Ql), {
2911
+ ie(K(Ql), {
2912
2912
  style: Z({
2913
2913
  height: t.stickyHeader && Number(t.height.replace("px", "")) - (s.footerOffset + K(Dn)) + "px"
2914
2914
  }),
@@ -2919,19 +2919,19 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2919
2919
  throttleType: "none"
2920
2920
  }, {
2921
2921
  default: Pe(() => [
2922
- z("div", {
2922
+ L("div", {
2923
2923
  class: T(["bh-table-responsive", { "bh-min-h-[100px]": y.value }]),
2924
2924
  style: Z({ overflow: t.stickyHeader && "inherit" })
2925
2925
  }, [
2926
- z("table", {
2926
+ L("table", {
2927
2927
  class: T([t.skin])
2928
2928
  }, [
2929
- z("thead", {
2929
+ L("thead", {
2930
2930
  class: T({
2931
2931
  "bh-sticky bh-top-0 bh-z-10": t.stickyHeader
2932
2932
  })
2933
2933
  }, [
2934
- oe(sn, {
2934
+ ie(sn, {
2935
2935
  all: t,
2936
2936
  expandedrows: de.value,
2937
2937
  currentSortColumn: f.value,
@@ -2945,19 +2945,19 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2945
2945
  onToggleFilterMenu: qe
2946
2946
  }, null, 8, ["expandedrows", "currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll", "columnFilterLang"])
2947
2947
  ], 2),
2948
- z("tbody", null, [
2949
- (m(!0), w(G, null, pe(i.value, (L, D) => {
2950
- var le;
2948
+ L("tbody", null, [
2949
+ (m(!0), w(G, null, pe(i.value, (C, D) => {
2950
+ var te;
2951
2951
  return m(), w(G, {
2952
- key: L[J.value] ? L[J.value] : D
2952
+ key: C[J.value] ? C[J.value] : D
2953
2953
  }, [
2954
2954
  _.value ? (m(), w("tr", {
2955
2955
  key: 0,
2956
2956
  class: T([
2957
- typeof t.rowClass == "function" ? s.rowClass(L) : t.rowClass,
2957
+ typeof t.rowClass == "function" ? s.rowClass(C) : t.rowClass,
2958
2958
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
2959
2959
  ]),
2960
- onClick: ye((Q) => Ve(L, D), ["prevent"])
2960
+ onClick: ye((Q) => Ue(C, D), ["prevent"])
2961
2961
  }, [
2962
2962
  t.hasCheckbox ? (m(), w("td", {
2963
2963
  key: 0,
@@ -2966,18 +2966,18 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2966
2966
  "bh-sticky bh-left-0 bh-bg-blue-light": t.stickyFirstColumn
2967
2967
  })
2968
2968
  }, [
2969
- z("div", Xi, [
2970
- ve(z("input", {
2969
+ L("div", Xi, [
2970
+ ve(L("input", {
2971
2971
  "onUpdate:modelValue": v[0] || (v[0] = (Q) => I.value = Q),
2972
2972
  type: "checkbox",
2973
- value: L[J.value] ? L[J.value] : D,
2973
+ value: C[J.value] ? C[J.value] : D,
2974
2974
  onClick: v[1] || (v[1] = ye(() => {
2975
2975
  }, ["stop"]))
2976
2976
  }, null, 8, Yi), [
2977
2977
  [Zn, I.value]
2978
2978
  ]),
2979
- z("div", null, [
2980
- oe(Fn, { class: "check" })
2979
+ L("div", null, [
2980
+ ie(Fn, { class: "check" })
2981
2981
  ])
2982
2982
  ])
2983
2983
  ], 6)) : R("", !0),
@@ -2988,9 +2988,9 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
2988
2988
  "bh-sticky bh-left-0 bh-bg-blue-light": t.stickyFirstColumn
2989
2989
  })
2990
2990
  }, [
2991
- oe(li, {
2992
- item: L,
2993
- onRightPanelClick: v[2] || (v[2] = (Q) => ie("rowRightPanelClick", Q))
2991
+ ie(li, {
2992
+ item: C,
2993
+ onRightPanelClick: v[2] || (v[2] = (Q) => oe("rowRightPanelClick", Q))
2994
2994
  }, null, 8, ["item"])
2995
2995
  ], 6)) : R("", !0),
2996
2996
  t.hasSubtable ? (m(), w("td", {
@@ -3000,8 +3000,8 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3000
3000
  "bh-sticky bh-left-0 bh-bg-blue-light": t.stickyFirstColumn
3001
3001
  })
3002
3002
  }, [
3003
- oe(In, {
3004
- item: L,
3003
+ ie(In, {
3004
+ item: C,
3005
3005
  expandedrows: de.value
3006
3006
  }, null, 8, ["item", "expandedrows"])
3007
3007
  ], 6)) : R("", !0),
@@ -3009,7 +3009,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3009
3009
  Q.hide ? R("", !0) : (m(), w("td", {
3010
3010
  key: Q.field,
3011
3011
  class: T([
3012
- typeof t.cellClass == "function" ? s.cellClass(L) : t.cellClass,
3012
+ typeof t.cellClass == "function" ? s.cellClass(C) : t.cellClass,
3013
3013
  he === 0 && t.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
3014
3014
  t.hasCheckbox && he === 0 && t.stickyFirstColumn ? "bh-left-[52px]" : "",
3015
3015
  Q.cellClass ? Q.cellClass : ""
@@ -3017,25 +3017,25 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3017
3017
  }, [
3018
3018
  K(o)[Q.field] ? ae(s.$slots, Q.field, {
3019
3019
  key: 0,
3020
- value: L
3020
+ value: C
3021
3021
  }) : Q.cellRenderer ? (m(), w("div", {
3022
3022
  key: 1,
3023
- innerHTML: Q.cellRenderer(L)
3023
+ innerHTML: Q.cellRenderer(C)
3024
3024
  }, null, 8, Ji)) : (m(), w(G, { key: 2 }, [
3025
- mt(q(F(L, Q.field)), 1)
3025
+ gt(q(F(C, Q.field)), 1)
3026
3026
  ], 64))
3027
3027
  ], 2))
3028
3028
  ], 64))), 256))
3029
3029
  ], 10, Ki)) : R("", !0),
3030
- (le = de.value.find((Q) => Q.id == L.id)) != null && le.isExpanded && t.hasSubtable ? (m(), w("tr", {
3030
+ (te = de.value.find((Q) => Q.id == C.id)) != null && te.isExpanded && t.hasSubtable ? (m(), w("tr", {
3031
3031
  key: 1,
3032
3032
  class: T([
3033
- typeof t.rowClass == "function" ? s.rowClass(L) : t.rowClass,
3033
+ typeof t.rowClass == "function" ? s.rowClass(C) : t.rowClass,
3034
3034
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3035
3035
  ]),
3036
- onClick: ye((Q) => Ve(L, D), ["prevent"])
3036
+ onClick: ye((Q) => Ue(C, D), ["prevent"])
3037
3037
  }, [
3038
- z("td", {
3038
+ L("td", {
3039
3039
  colspan: t.columns.length + K(Se)
3040
3040
  }, [
3041
3041
  ae(s.$slots, "tsub", { value: i.value })
@@ -3043,35 +3043,35 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3043
3043
  ], 10, Zi)) : R("", !0)
3044
3044
  ], 64);
3045
3045
  }), 128)),
3046
- !_.value && y.value && s.skeletonloader ? (m(!0), w(G, { key: 0 }, pe(t.pageSize, (L) => (m(), w("tr", {
3047
- key: L,
3046
+ !_.value && y.value && s.skeletonloader ? (m(!0), w(G, { key: 0 }, pe(t.pageSize, (C) => (m(), w("tr", {
3047
+ key: C,
3048
3048
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
3049
3049
  }, [
3050
- z("td", {
3050
+ L("td", {
3051
3051
  colspan: t.columns.length + K(Se),
3052
3052
  class: "!bh-p-0 !bh-border-transparent"
3053
3053
  }, lr, 8, tr)
3054
3054
  ]))), 128)) : R("", !0),
3055
- _.value ? (m(!0), w(G, { key: 1 }, pe(t.footerRows, (L, D) => (m(), w("tr", {
3056
- key: L[J.value] ? L[J.value] : D,
3055
+ _.value ? (m(!0), w(G, { key: 1 }, pe(t.footerRows, (C, D) => (m(), w("tr", {
3056
+ key: C[J.value] ? C[J.value] : D,
3057
3057
  class: "sticky-table-footer"
3058
3058
  }, [
3059
3059
  K(Se) > 0 ? (m(), w("td", {
3060
3060
  key: 0,
3061
3061
  colspan: K(Se)
3062
3062
  }, null, 8, or)) : R("", !0),
3063
- (m(!0), w(G, null, pe(t.columns, (le, Q) => (m(), w(G, null, [
3064
- le.hide ? R("", !0) : (m(), w("td", {
3065
- key: le.field,
3063
+ (m(!0), w(G, null, pe(t.columns, (te, Q) => (m(), w(G, null, [
3064
+ te.hide ? R("", !0) : (m(), w("td", {
3065
+ key: te.field,
3066
3066
  class: T([
3067
- typeof t.cellClass == "function" ? s.cellClass(L) : t.cellClass,
3067
+ typeof t.cellClass == "function" ? s.cellClass(C) : t.cellClass,
3068
3068
  Q === 0 && t.stickyFirstColumn ? "bh-sticky bh-left-0 bh-bg-blue-light" : "",
3069
3069
  t.hasCheckbox && Q === 0 && t.stickyFirstColumn ? "bh-left-[52px]" : "",
3070
- le.cellClass ? le.cellClass : ""
3070
+ te.cellClass ? te.cellClass : ""
3071
3071
  ])
3072
3072
  }, [
3073
- L.cells.find((he) => he.field == le.field) ? (m(), w(G, { key: 0 }, [
3074
- mt(q(L.cells.find((he) => he.field == le.field).text), 1)
3073
+ C.cells.find((he) => he.field == te.field) ? (m(), w(G, { key: 0 }, [
3074
+ gt(q(C.cells.find((he) => he.field == te.field).text), 1)
3075
3075
  ], 64)) : R("", !0)
3076
3076
  ], 2))
3077
3077
  ], 64))), 256))
@@ -3083,7 +3083,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3083
3083
  "bh-sticky bh-bottom-0": t.stickyHeader
3084
3084
  })
3085
3085
  }, [
3086
- oe(sn, {
3086
+ ie(sn, {
3087
3087
  all: t,
3088
3088
  currentSortColumn: f.value,
3089
3089
  currentSortDirection: p.value,
@@ -3115,7 +3115,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3115
3115
  })
3116
3116
  }, [
3117
3117
  ae(s.$slots, "nodatacontent", {}, () => [
3118
- z("span", null, q(t.noDataContent), 1)
3118
+ L("span", null, q(t.noDataContent), 1)
3119
3119
  ])
3120
3120
  ], 4)) : R("", !0)
3121
3121
  ]),
@@ -3127,7 +3127,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3127
3127
  }, 8, ["style"])
3128
3128
  ]),
3129
3129
  _: 3
3130
- })
3130
+ })) : R("", !0)
3131
3131
  ])
3132
3132
  ])
3133
3133
  ]),
@@ -3143,35 +3143,35 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3143
3143
  "sticky-footer": t.stickyFooter
3144
3144
  }])
3145
3145
  }, [
3146
- z("div", ir, [
3146
+ L("div", ir, [
3147
3147
  s.enablefooterpagination ? ae(s.$slots, "footerpageinfo", {
3148
3148
  key: 0,
3149
3149
  paginationInfo: s.paginationInfo,
3150
3150
  filterRowCount: _.value,
3151
3151
  offset: ge.value,
3152
- limit: _e.value,
3152
+ limit: Ie.value,
3153
3153
  showPageSize: s.showPageSize,
3154
3154
  pageSizeOptions: s.pageSizeOptions,
3155
3155
  currentPageSize: r.value,
3156
3156
  stringFormat: Be,
3157
3157
  setPageSize: g
3158
3158
  }, () => [
3159
- z("div", rr, [
3160
- z("span", ar, q(Be(
3159
+ L("div", rr, [
3160
+ L("span", ar, q(Be(
3161
3161
  t.paginationInfo,
3162
3162
  _.value ? ge.value : 0,
3163
- _e.value,
3163
+ Ie.value,
3164
3164
  _.value
3165
3165
  )), 1),
3166
3166
  t.showPageSize ? ve((m(), w("select", {
3167
3167
  key: 0,
3168
- "onUpdate:modelValue": v[3] || (v[3] = (L) => r.value = L),
3168
+ "onUpdate:modelValue": v[3] || (v[3] = (C) => r.value = C),
3169
3169
  class: "bh-pagesize"
3170
3170
  }, [
3171
- (m(!0), w(G, null, pe(t.pageSizeOptions, (L) => (m(), w("option", {
3172
- value: L,
3173
- key: L
3174
- }, q(L), 9, sr))), 128))
3171
+ (m(!0), w(G, null, pe(t.pageSizeOptions, (C) => (m(), w("option", {
3172
+ value: C,
3173
+ key: C
3174
+ }, q(C), 9, sr))), 128))
3175
3175
  ], 512)), [
3176
3176
  [cn, r.value]
3177
3177
  ]) : R("", !0)
@@ -3186,19 +3186,19 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3186
3186
  nextPage: re,
3187
3187
  previousPage: je
3188
3188
  }, () => [
3189
- z("div", ur, [
3189
+ L("div", ur, [
3190
3190
  t.showFirstPage ? (m(), w("button", {
3191
3191
  key: 0,
3192
3192
  type: "button",
3193
3193
  class: T(["bh-page-item first-page", { disabled: a.value <= 1 }]),
3194
- onClick: v[4] || (v[4] = (L) => a.value = 1)
3194
+ onClick: v[4] || (v[4] = (C) => a.value = 1)
3195
3195
  }, [
3196
3196
  t.firstArrow ? (m(), w("span", {
3197
3197
  key: 0,
3198
3198
  innerHTML: t.firstArrow
3199
3199
  }, null, 8, cr)) : (m(), w("svg", dr, hr))
3200
3200
  ], 2)) : R("", !0),
3201
- z("button", {
3201
+ L("button", {
3202
3202
  type: "button",
3203
3203
  class: T(["bh-page-item previous-page", { disabled: a.value <= 1 }]),
3204
3204
  onClick: je
@@ -3208,16 +3208,16 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3208
3208
  innerHTML: t.previousArrow
3209
3209
  }, null, 8, pr)) : (m(), w("svg", vr, gr))
3210
3210
  ], 2),
3211
- t.showNumbers ? (m(!0), w(G, { key: 1 }, pe(De.value, (L) => (m(), w("button", {
3212
- key: L,
3211
+ t.showNumbers ? (m(!0), w(G, { key: 1 }, pe(De.value, (C) => (m(), w("button", {
3212
+ key: C,
3213
3213
  type: "button",
3214
3214
  class: T(["bh-page-item", {
3215
- disabled: a.value === L,
3216
- "bh-active": L === a.value
3215
+ disabled: a.value === C,
3216
+ "bh-active": C === a.value
3217
3217
  }]),
3218
- onClick: (D) => Ee(L)
3219
- }, q(L), 11, br))), 128)) : R("", !0),
3220
- z("button", {
3218
+ onClick: (D) => Ee(C)
3219
+ }, q(C), 11, br))), 128)) : R("", !0),
3220
+ L("button", {
3221
3221
  type: "button",
3222
3222
  class: T(["bh-page-item next-page", { disabled: a.value >= se.value }]),
3223
3223
  onClick: re
@@ -3231,7 +3231,7 @@ const ki = /* @__PURE__ */ We(bi, [["render", Si]]), Ci = { key: "hdrrow" }, zi
3231
3231
  key: 2,
3232
3232
  type: "button",
3233
3233
  class: T(["bh-page-item last-page", { disabled: a.value >= se.value }]),
3234
- onClick: v[5] || (v[5] = (L) => a.value = se.value)
3234
+ onClick: v[5] || (v[5] = (C) => a.value = se.value)
3235
3235
  }, [
3236
3236
  t.lastArrow ? (m(), w("span", {
3237
3237
  key: 0,