@dolusoft/vue3-datatable 1.7.37 → 1.7.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { onMounted as Ee, nextTick as _e, getCurrentScope as Kn, onScopeDispose as Xn, unref as Q, getCurrentInstance as Mt, computed as Z, ref as q, watch as le, defineComponent as xe, useCssVars as Yn, shallowRef as be, onUnmounted as tt, openBlock as c, createElementBlock as v, Fragment as H, withDirectives as me, createElementVNode as y, normalizeClass as E, normalizeStyle as U, withModifiers as pe, setBlockTracking as qt, vShow as gt, createCommentVNode as T, mergeProps as Jn, renderSlot as oe, renderList as ue, createVNode as te, reactive as Zn, watchEffect as el, useSlots as pn, onBeforeUnmount as Pt, provide as Se, createBlock as he, resolveDynamicComponent as tl, inject as Fe, h as bt, toRef as nl, toDisplayString as G, createTextVNode as Ae, vModelText as ft, vModelSelect as vn, withCtx as ze, vModelCheckbox as jt } from "vue";
1
+ import { onMounted as Ee, nextTick as Ie, getCurrentScope as Kn, onScopeDispose as Xn, unref as Q, getCurrentInstance as Mt, computed as Z, ref as q, watch as le, defineComponent as xe, useCssVars as Yn, shallowRef as be, onUnmounted as tt, openBlock as c, createElementBlock as v, Fragment as H, withDirectives as me, createElementVNode as y, normalizeClass as E, normalizeStyle as U, withModifiers as pe, setBlockTracking as qt, vShow as gt, createCommentVNode as P, mergeProps as Jn, renderSlot as oe, renderList as ue, createVNode as te, reactive as Zn, watchEffect as el, useSlots as pn, onBeforeUnmount as Tt, provide as Se, createBlock as he, resolveDynamicComponent as tl, inject as _e, h as bt, toRef as nl, toDisplayString as G, createTextVNode as Ae, vModelText as ft, vModelSelect as vn, withCtx as ze, vModelCheckbox as jt } from "vue";
2
2
  function ll(e) {
3
3
  return Kn() ? (Xn(e), !0) : !1;
4
4
  }
@@ -11,9 +11,9 @@ function rl(e) {
11
11
  return Mt();
12
12
  }
13
13
  function sl(e, l = !0, n) {
14
- rl() ? Ee(e, n) : l ? e() : _e(e);
14
+ rl() ? Ee(e, n) : l ? e() : Ie(e);
15
15
  }
16
- function Ie(e) {
16
+ function Fe(e) {
17
17
  var l;
18
18
  const n = ol(e);
19
19
  return (l = n == null ? void 0 : n.$el) != null ? l : n;
@@ -34,13 +34,13 @@ function cl(e, l, n = {}) {
34
34
  let i;
35
35
  const a = ul(() => o && "ResizeObserver" in o), r = () => {
36
36
  i && (i.disconnect(), i = void 0);
37
- }, u = Z(() => Array.isArray(e) ? e.map((g) => Ie(g)) : [Ie(e)]), f = le(
37
+ }, u = Z(() => Array.isArray(e) ? e.map((g) => Fe(g)) : [Fe(e)]), f = le(
38
38
  u,
39
39
  (g) => {
40
40
  if (r(), a.value && o) {
41
41
  i = new ResizeObserver(l);
42
- for (const P of g)
43
- P && i.observe(P, t);
42
+ for (const T of g)
43
+ T && i.observe(T, t);
44
44
  }
45
45
  },
46
46
  { immediate: !0, flush: "post" }
@@ -54,32 +54,32 @@ function cl(e, l, n = {}) {
54
54
  }
55
55
  function dl(e, l = { width: 0, height: 0 }, n = {}) {
56
56
  const { window: o = mn, box: t = "content-box" } = n, i = Z(() => {
57
- var g, P;
58
- return (P = (g = Ie(e)) == null ? void 0 : g.namespaceURI) == null ? void 0 : P.includes("svg");
57
+ var g, T;
58
+ return (T = (g = Fe(e)) == null ? void 0 : g.namespaceURI) == null ? void 0 : T.includes("svg");
59
59
  }), a = q(l.width), r = q(l.height), { stop: u } = cl(
60
60
  e,
61
61
  ([g]) => {
62
- const P = t === "border-box" ? g.borderBoxSize : t === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
62
+ const T = t === "border-box" ? g.borderBoxSize : t === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
63
63
  if (o && i.value) {
64
- const I = Ie(e);
65
- if (I) {
66
- const _ = I.getBoundingClientRect();
67
- a.value = _.width, r.value = _.height;
64
+ const F = Fe(e);
65
+ if (F) {
66
+ const I = F.getBoundingClientRect();
67
+ a.value = I.width, r.value = I.height;
68
68
  }
69
- } else if (P) {
70
- const I = Array.isArray(P) ? P : [P];
71
- a.value = I.reduce((_, { inlineSize: A }) => _ + A, 0), r.value = I.reduce((_, { blockSize: A }) => _ + A, 0);
69
+ } else if (T) {
70
+ const F = Array.isArray(T) ? T : [T];
71
+ a.value = F.reduce((I, { inlineSize: A }) => I + A, 0), r.value = F.reduce((I, { blockSize: A }) => I + A, 0);
72
72
  } else
73
73
  a.value = g.contentRect.width, r.value = g.contentRect.height;
74
74
  },
75
75
  n
76
76
  );
77
77
  sl(() => {
78
- const g = Ie(e);
78
+ const g = Fe(e);
79
79
  g && (a.value = "offsetWidth" in g ? g.offsetWidth : l.width, r.value = "offsetHeight" in g ? g.offsetHeight : l.height);
80
80
  });
81
81
  const f = le(
82
- () => Ie(e),
82
+ () => Fe(e),
83
83
  (g) => {
84
84
  a.value = g ? l.width : 0, r.value = g ? l.height : 0;
85
85
  }
@@ -126,14 +126,14 @@ function El(e) {
126
126
  return l;
127
127
  }
128
128
  var Ml = /^\s+/;
129
- function Pl(e) {
129
+ function Tl(e) {
130
130
  return e && e.slice(0, El(e) + 1).replace(Ml, "");
131
131
  }
132
132
  function lt(e) {
133
133
  var l = typeof e;
134
134
  return e != null && (l == "object" || l == "function");
135
135
  }
136
- var Vt = NaN, Tl = /^[-+]0x[0-9a-f]+$/i, Fl = /^0b[01]+$/i, Il = /^0o[0-7]+$/i, _l = parseInt;
136
+ var Vt = NaN, Pl = /^[-+]0x[0-9a-f]+$/i, _l = /^0b[01]+$/i, Fl = /^0o[0-7]+$/i, Il = parseInt;
137
137
  function Ne(e) {
138
138
  if (typeof e == "number")
139
139
  return e;
@@ -145,9 +145,9 @@ function Ne(e) {
145
145
  }
146
146
  if (typeof e != "string")
147
147
  return e === 0 ? e : +e;
148
- e = Pl(e);
149
- var n = Fl.test(e);
150
- return n || Il.test(e) ? _l(e.slice(2), n ? 2 : 8) : Tl.test(e) ? Vt : +e;
148
+ e = Tl(e);
149
+ var n = _l.test(e);
150
+ return n || Fl.test(e) ? Il(e.slice(2), n ? 2 : 8) : Pl.test(e) ? Vt : +e;
151
151
  }
152
152
  function Ol(e, l, n) {
153
153
  return e === e && (n !== void 0 && (e = e <= n ? e : n), l !== void 0 && (e = e >= l ? e : l)), e;
@@ -159,16 +159,16 @@ var ht = function() {
159
159
  return gn.Date.now();
160
160
  }, $l = "Expected a function", Rl = Math.max, Al = Math.min;
161
161
  function yn(e, l, n) {
162
- var o, t, i, a, r, u, f = 0, h = !1, g = !1, P = !0;
162
+ var o, t, i, a, r, u, f = 0, h = !1, g = !1, T = !0;
163
163
  if (typeof e != "function")
164
164
  throw new TypeError($l);
165
- l = Ne(l) || 0, lt(n) && (h = !!n.leading, g = "maxWait" in n, i = g ? Rl(Ne(n.maxWait) || 0, l) : i, P = "trailing" in n ? !!n.trailing : P);
166
- function I(S) {
165
+ l = Ne(l) || 0, lt(n) && (h = !!n.leading, g = "maxWait" in n, i = g ? Rl(Ne(n.maxWait) || 0, l) : i, T = "trailing" in n ? !!n.trailing : T);
166
+ function F(S) {
167
167
  var z = o, B = t;
168
168
  return o = t = void 0, f = S, a = e.apply(B, z), a;
169
169
  }
170
- function _(S) {
171
- return f = S, r = setTimeout(D, l), h ? I(S) : a;
170
+ function I(S) {
171
+ return f = S, r = setTimeout(D, l), h ? F(S) : a;
172
172
  }
173
173
  function A(S) {
174
174
  var z = S - u, B = S - f, Y = l - z;
@@ -185,7 +185,7 @@ function yn(e, l, n) {
185
185
  r = setTimeout(D, A(S));
186
186
  }
187
187
  function j(S) {
188
- return r = void 0, P && o ? I(S) : (o = t = void 0, a);
188
+ return r = void 0, T && o ? F(S) : (o = t = void 0, a);
189
189
  }
190
190
  function X() {
191
191
  r !== void 0 && clearTimeout(r), f = 0, o = u = t = r = void 0;
@@ -197,9 +197,9 @@ function yn(e, l, n) {
197
197
  var S = ht(), z = k(S);
198
198
  if (o = arguments, t = this, u = S, z) {
199
199
  if (r === void 0)
200
- return _(u);
200
+ return I(u);
201
201
  if (g)
202
- return clearTimeout(r), r = setTimeout(D, l), I(u);
202
+ return clearTimeout(r), r = setTimeout(D, l), F(u);
203
203
  }
204
204
  return r === void 0 && (r = setTimeout(D, l)), a;
205
205
  }
@@ -253,7 +253,7 @@ function Vl(e, { expose: l }) {
253
253
  n.wrapperEl.scrollTo({ [n.type === "horizontal" ? "left" : "top"]: a.scrollPos + Y, behavior: "auto" });
254
254
  }, 16), g = () => {
255
255
  u(), i.value.removeEventListener("pointermove", h), i.value.removeEventListener("pointerup", g), i.value.removeEventListener("pointercancel", g), i.value.removeEventListener("mousewheel", g), document.removeEventListener("mousewheel", g), typeof r == "number" && i.value.releasePointerCapture(r), r = null;
256
- }, P = (z) => {
256
+ }, T = (z) => {
257
257
  z.ctrlKey || z.button !== 0 || (f(), a.pageX = z.pageX, a.pageY = z.pageY, a.scrollPos = n.wrapperEl[n.type === "horizontal" ? "scrollLeft" : "scrollTop"], r = z == null ? void 0 : z.pointerId, i.value.setPointerCapture(r), i.value.addEventListener("pointermove", h), i.value.addEventListener("pointerup", g), i.value.addEventListener("pointercancel", g), i.value.addEventListener("mousewheel", g, { passive: !1 }), document.addEventListener("mousewheel", g, { passive: !1 }), i.value.classList.add("scrollbar__thumbPlaceholder--scrolling"));
258
258
  };
259
259
  l({
@@ -261,8 +261,8 @@ function Vl(e, { expose: l }) {
261
261
  f(), i.value && i.value.classList.add("scrollbar__thumbPlaceholder--scrolling"), u();
262
262
  }
263
263
  });
264
- let _ = be(!1), A = be(!1), k = be(null), D = null, j = null, X = Z(() => n.fixedThumb && !A.value);
265
- const N = ([z]) => A.value = z.isIntersecting, ee = ([z]) => _.value = z.isIntersecting, S = () => {
264
+ let I = be(!1), A = be(!1), k = be(null), D = null, j = null, X = Z(() => n.fixedThumb && !A.value);
265
+ const N = ([z]) => A.value = z.isIntersecting, ee = ([z]) => I.value = z.isIntersecting, S = () => {
266
266
  D && (D.disconnect(), D = null), j && (j.disconnect(), j = null);
267
267
  };
268
268
  return le(() => [n.fixedThumb, n.wrapperEl], () => {
@@ -288,13 +288,13 @@ function Vl(e, { expose: l }) {
288
288
  ref: (Y, ne) => {
289
289
  ne.thumbEl = Y, i.value = Y;
290
290
  },
291
- onPointerdown: pe(P, ["stop"])
291
+ onPointerdown: pe(T, ["stop"])
292
292
  }, [
293
293
  B[0] || (qt(-1), B[0] = y("div", {
294
294
  class: E(["scrollbar__thumb", `scrollbar__thumb--${e.type}`])
295
295
  }, null, 2), qt(1), B[0])
296
296
  ], 46, jl), [
297
- [gt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? _.value : !0)]
297
+ [gt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? I.value : !0)]
298
298
  ]),
299
299
  n.fixedThumb ? me((c(), v("div", {
300
300
  key: 0,
@@ -304,7 +304,7 @@ function Vl(e, { expose: l }) {
304
304
  class: E(["scrollbar__shepherd", `scrollbar__shepherd--${e.type}`])
305
305
  }, null, 2)), [
306
306
  [gt, !!e.scrollInfo.thumbSize]
307
- ]) : T("", !0)
307
+ ]) : P("", !0)
308
308
  ], 64));
309
309
  }
310
310
  const Gl = /* @__PURE__ */ xe(xn(ot({}, Ul), {
@@ -328,8 +328,8 @@ function Kt(...e) {
328
328
  let n;
329
329
  l ? n = e == null ? void 0 : e[1] : n = e == null ? void 0 : e[0];
330
330
  const { wait: o, type: t, callback: i } = ot(ot({}, Ql), n), a = l ? e[0] : be(null), r = Zn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
331
- const P = a.value.getBoundingClientRect();
332
- r.left = P.left, r.top = P.top, r.right = P.right, r.bottom = P.bottom, r.width = P.width, r.height = P.height, r.x = P.x, r.y = P.y, i == null || i();
331
+ const T = a.value.getBoundingClientRect();
332
+ r.left = T.left, r.top = T.top, r.right = T.right, r.bottom = T.bottom, r.width = T.width, r.height = T.height, r.x = T.x, r.y = T.y, i == null || i();
333
333
  };
334
334
  let f = null, h = null;
335
335
  const g = () => {
@@ -360,22 +360,22 @@ function Xl(e, { expose: l, emit: n }) {
360
360
  return (B = z == null ? void 0 : z.classList) == null ? void 0 : B.contains(`scrollbar__thumbPlaceholder--${S}`);
361
361
  });
362
362
  });
363
- const u = Kt(a, { wait: o.throttleWait, type: o.throttleType, callback: P }), f = Kt(r, { wait: o.throttleWait, type: o.throttleType, callback: P });
363
+ const u = Kt(a, { wait: o.throttleWait, type: o.throttleType, callback: T }), f = Kt(r, { wait: o.throttleWait, type: o.throttleType, callback: T });
364
364
  let h = be(0), g = be(0);
365
- function P() {
365
+ function T() {
366
366
  h.value = Math.max(a.value.scrollHeight - u.height | 0, 0), g.value = Math.max(a.value.scrollWidth - u.width | 0, 0);
367
367
  }
368
- let I = Z(() => ({
368
+ let F = Z(() => ({
369
369
  thumbSize: g.value ? Ke(u.width / a.value.scrollWidth * u.width, o.thumbMinSize > u.width ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
370
370
  contentMainSize: f.width,
371
371
  wrapperMainSize: u.width,
372
372
  boundaryDistance: Math.abs(u.left)
373
- })), _ = Z(() => ({
373
+ })), I = Z(() => ({
374
374
  thumbSize: h.value ? Ke(u.height / a.value.scrollHeight * u.height, o.thumbMinSize > u.height ? 48 : o.thumbMinSize, o.thumbMaxSize) : 0,
375
375
  contentMainSize: f.height,
376
376
  wrapperMainSize: u.height,
377
377
  boundaryDistance: Math.abs(u.top)
378
- })), A = Z(() => u.height - _.value.thumbSize - 5), k = Z(() => u.width - I.value.thumbSize - 5);
378
+ })), A = Z(() => u.height - I.value.thumbSize - 5), k = Z(() => u.width - F.value.thumbSize - 5);
379
379
  const D = () => {
380
380
  g.value && (t.horizontal.el.style.transform = `translate3d(${a.value.scrollLeft / g.value * k.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), h.value && (t.vertical.el.style.transform = `translate3d(0, ${a.value.scrollTop / h.value * A.value}px, 0)`, t.vertical.instance.autoHideAfterScroll());
381
381
  };
@@ -420,7 +420,7 @@ function Xl(e, { expose: l, emit: n }) {
420
420
  autoHideDelay: e.autoHideDelay,
421
421
  fixedThumb: z === e.direction ? !1 : e.fixedThumb,
422
422
  type: z,
423
- scrollInfo: z === "vertical" ? _.value : I.value,
423
+ scrollInfo: z === "vertical" ? I.value : F.value,
424
424
  thumbWidth: e.thumbWidth,
425
425
  wrapperEl: a.value
426
426
  }, null, 8, ["autoExpand", "autoHide", "autoHideDelay", "fixedThumb", "type", "scrollInfo", "thumbWidth", "wrapperEl"])), 64))
@@ -479,12 +479,12 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
479
479
  // Used to detect double click on touch devices.
480
480
  splitter: null,
481
481
  timeoutId: null
482
- }), P = Z(() => ({
482
+ }), T = Z(() => ({
483
483
  [`splitpanes splitpanes--${o.horizontal ? "horizontal" : "vertical"}`]: !0,
484
484
  "splitpanes--dragging": h.value.dragging
485
- })), I = () => {
485
+ })), F = () => {
486
486
  document.addEventListener("mousemove", k, { passive: !1 }), document.addEventListener("mouseup", D), "ontouchstart" in window && (document.addEventListener("touchmove", k, { passive: !1 }), document.addEventListener("touchend", D));
487
- }, _ = () => {
487
+ }, I = () => {
488
488
  document.removeEventListener("mousemove", k, { passive: !1 }), document.removeEventListener("mouseup", D), "ontouchstart" in window && (document.removeEventListener("touchmove", k, { passive: !1 }), document.removeEventListener("touchend", D));
489
489
  }, A = (d, w) => {
490
490
  const L = d.target.closest(".splitpanes__splitter");
@@ -492,14 +492,14 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
492
492
  const { left: x, top: C } = L.getBoundingClientRect(), { clientX: M, clientY: W } = "ontouchstart" in window && d.touches ? d.touches[0] : d;
493
493
  h.value.cursorOffset = o.horizontal ? W - C : M - x;
494
494
  }
495
- I(), h.value.mouseDown = !0, h.value.activeSplitter = w;
495
+ F(), h.value.mouseDown = !0, h.value.activeSplitter = w;
496
496
  }, k = (d) => {
497
497
  h.value.mouseDown && (d.preventDefault(), h.value.dragging = !0, requestAnimationFrame(() => {
498
498
  z(ee(d)), ae("resize", { event: d }, !0);
499
499
  }));
500
500
  }, D = (d) => {
501
501
  h.value.dragging && ae("resized", { event: d }, !0), h.value.mouseDown = !1, h.value.activeSplitter = null, setTimeout(() => {
502
- h.value.dragging = !1, _();
502
+ h.value.dragging = !1, I();
503
503
  }, 100);
504
504
  }, j = (d, w) => {
505
505
  "ontouchstart" in window && (d.preventDefault(), g.value.splitter === w ? (clearTimeout(g.value.timeoutId), g.value.timeoutId = null, X(d, w), g.value.splitter = null) : (g.value.splitter = w, g.value.timeoutId = setTimeout(() => g.value.splitter = null, 500))), h.value.dragging || ae("splitter-click", { event: d, index: w }, !0);
@@ -534,8 +534,8 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
534
534
  };
535
535
  const x = 0 + (o.pushOtherPanes ? 0 : L.prevPanesSize), C = 100 - (o.pushOtherPanes ? 0 : L.nextPanesSize), M = Math.max(Math.min(S(d), C), x);
536
536
  let W = [w, w + 1], ie = i.value[W[0]] || null, O = i.value[W[1]] || null;
537
- const ke = ie.max < 100 && M >= ie.max + L.prevPanesSize, Te = O.max < 100 && M <= 100 - (O.max + ne(w + 1));
538
- if (ke || Te) {
537
+ const ke = ie.max < 100 && M >= ie.max + L.prevPanesSize, Pe = O.max < 100 && M <= 100 - (O.max + ne(w + 1));
538
+ if (ke || Pe) {
539
539
  ke ? (ie.size = ie.max, O.size = Math.max(100 - ie.max - L.prevPanesSize - L.nextPanesSize, 0)) : (ie.size = Math.max(100 - O.max - L.prevPanesSize - ne(w + 1), 0), O.size = O.max);
540
540
  return;
541
541
  }
@@ -582,14 +582,14 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
582
582
  }, je = (d) => {
583
583
  var w;
584
584
  let L = -1;
585
- Array.from(((w = u.value) == null ? void 0 : w.children) || []).some((x) => (x.className.includes("splitpanes__pane") && L++, x.isSameNode(d.el))), i.value.splice(L, 0, { ...d, index: L }), i.value.forEach((x, C) => x.index = C), f.value && _e(() => {
585
+ Array.from(((w = u.value) == null ? void 0 : w.children) || []).some((x) => (x.className.includes("splitpanes__pane") && L++, x.isSameNode(d.el))), i.value.splice(L, 0, { ...d, index: L }), i.value.forEach((x, C) => x.index = C), f.value && Ie(() => {
586
586
  ye(), ce({ addedPane: i.value[L] }), ae("pane-add", { pane: i.value[L] });
587
587
  });
588
588
  }, Ue = (d) => {
589
589
  const w = i.value.findIndex((x) => x.id === d);
590
590
  i.value[w].el = null;
591
591
  const L = i.value.splice(w, 1)[0];
592
- i.value.forEach((x, C) => x.index = C), _e(() => {
592
+ i.value.forEach((x, C) => x.index = C), Ie(() => {
593
593
  ye(), ae("pane-remove", { pane: L }), ce({ removedPane: { ...L } });
594
594
  });
595
595
  }, ce = (d = {}) => {
@@ -600,7 +600,7 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
600
600
  const L = [], x = [];
601
601
  for (const C of i.value)
602
602
  C.size = Math.max(Math.min(d, C.max), C.min), w -= C.size, C.size >= C.max && L.push(C.id), C.size <= C.min && x.push(C.id);
603
- w > 0.1 && Pe(w, L, x);
603
+ w > 0.1 && Te(w, L, x);
604
604
  }, Me = () => {
605
605
  let d = 100;
606
606
  const w = [], L = [];
@@ -611,7 +611,7 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
611
611
  if (d > 0.1) {
612
612
  for (const M of i.value)
613
613
  M.givenSize === null && (M.size = Math.max(Math.min(d / (r.value - x), M.max), M.min)), C -= M.size;
614
- C > 0.1 && Pe(C, w, L);
614
+ C > 0.1 && Te(C, w, L);
615
615
  }
616
616
  }, Ve = ({ addedPane: d, removedPane: w } = {}) => {
617
617
  let L = 100 / r.value, x = 0;
@@ -622,9 +622,9 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
622
622
  if (!(Math.abs(x) < 0.1)) {
623
623
  for (const W of i.value)
624
624
  (d == null ? void 0 : d.givenSize) !== null && (d == null ? void 0 : d.id) === W.id || (W.size = Math.max(Math.min(L, W.max), W.min)), x -= W.size, W.size >= W.max && C.push(W.id), W.size <= W.min && M.push(W.id);
625
- x > 0.1 && Pe(x, C, M);
625
+ x > 0.1 && Te(x, C, M);
626
626
  }
627
- }, Pe = (d, w, L) => {
627
+ }, Te = (d, w, L) => {
628
628
  let x;
629
629
  d > 0 ? x = d / (r.value - w.length) : x = d / (r.value - L.length), i.value.forEach((C, M) => {
630
630
  if (d > 0 && !w.includes(C.id)) {
@@ -634,7 +634,7 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
634
634
  const W = Math.max(Math.min(C.size + x, C.max), C.min), ie = W - C.size;
635
635
  d -= ie, C.size = W;
636
636
  }
637
- }), Math.abs(d) > 0.1 && _e(() => {
637
+ }), Math.abs(d) > 0.1 && Ie(() => {
638
638
  f.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
639
639
  });
640
640
  }, ae = (d, w = void 0, L = !1) => {
@@ -651,12 +651,12 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
651
651
  };
652
652
  le(() => o.firstSplitter, () => ye()), Ee(() => {
653
653
  qe(), ye(), ce(), ae("ready"), f.value = !0;
654
- }), Pt(() => f.value = !1);
654
+ }), Tt(() => f.value = !1);
655
655
  const Rt = () => {
656
656
  var d;
657
657
  return bt(
658
658
  "div",
659
- { ref: u, class: P.value },
659
+ { ref: u, class: T.value },
660
660
  (d = t.default) == null ? void 0 : d.call(t)
661
661
  );
662
662
  };
@@ -671,31 +671,31 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Kl), {
671
671
  },
672
672
  setup(e) {
673
673
  var l;
674
- const n = e, o = Fe("requestUpdate"), t = Fe("onPaneAdd"), i = Fe("horizontal"), a = Fe("onPaneRemove"), r = Fe("onPaneClick"), u = (l = Mt()) == null ? void 0 : l.uid, f = Fe("indexedPanes"), h = Z(() => f.value[u]), g = q(null), P = Z(() => {
674
+ const n = e, o = _e("requestUpdate"), t = _e("onPaneAdd"), i = _e("horizontal"), a = _e("onPaneRemove"), r = _e("onPaneClick"), u = (l = Mt()) == null ? void 0 : l.uid, f = _e("indexedPanes"), h = Z(() => f.value[u]), g = q(null), T = Z(() => {
675
675
  const k = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
676
- return Math.max(Math.min(k, _.value), I.value);
677
- }), I = Z(() => {
676
+ return Math.max(Math.min(k, I.value), F.value);
677
+ }), F = Z(() => {
678
678
  const k = parseFloat(n.minSize);
679
679
  return isNaN(k) ? 0 : k;
680
- }), _ = Z(() => {
680
+ }), I = Z(() => {
681
681
  const k = parseFloat(n.maxSize);
682
682
  return isNaN(k) ? 100 : k;
683
683
  }), A = Z(() => {
684
684
  var k;
685
685
  return `${i.value ? "height" : "width"}: ${(k = h.value) == null ? void 0 : k.size}%`;
686
686
  });
687
- return le(() => P.value, (k) => o({ uid: u, size: k })), le(() => I.value, (k) => o({ uid: u, min: k })), le(() => _.value, (k) => o({ uid: u, max: k })), Ee(() => {
687
+ return le(() => T.value, (k) => o({ uid: u, size: k })), le(() => F.value, (k) => o({ uid: u, min: k })), le(() => I.value, (k) => o({ uid: u, max: k })), Ee(() => {
688
688
  t({
689
689
  id: u,
690
690
  el: g.value,
691
- min: I.value,
692
- max: _.value,
691
+ min: F.value,
692
+ max: I.value,
693
693
  // The given size (useful to know the user intention).
694
- givenSize: n.size === void 0 ? null : P.value,
695
- size: P.value
694
+ givenSize: n.size === void 0 ? null : T.value,
695
+ size: T.value
696
696
  // The computed current size at any time.
697
697
  });
698
- }), Pt(() => a(u)), (k, D) => (c(), v("div", {
698
+ }), Tt(() => a(u)), (k, D) => (c(), v("div", {
699
699
  ref_key: "paneEl",
700
700
  ref: g,
701
701
  class: "splitpanes__pane",
@@ -862,7 +862,7 @@ function Le(e, l) {
862
862
  const n = Zt[e] || (Zt[e] = /* @__PURE__ */ Object.create(null));
863
863
  return n[l] || (n[l] = to(e, l));
864
864
  }
865
- function Tt(e, l) {
865
+ function Pt(e, l) {
866
866
  return Sn(l) ? Cn(l, (n, o) => {
867
867
  o ? e.icons[n] = o : e.missing.add(n);
868
868
  }) : [];
@@ -910,7 +910,7 @@ function io(e, l) {
910
910
  }))
911
911
  return !1;
912
912
  const o = Le(l, n);
913
- return !!Tt(o, e);
913
+ return !!Pt(o, e);
914
914
  }
915
915
  const Ln = Object.freeze({
916
916
  width: null,
@@ -1018,14 +1018,14 @@ function ho(e, l) {
1018
1018
  const a = o.width, r = o.height, u = t.width, f = t.height;
1019
1019
  let h, g;
1020
1020
  a === null ? (g = r === null ? "1em" : r === "auto" ? f : r, h = en(g, u / f)) : (h = a === "auto" ? u : a, g = r === null ? en(h, f / u) : r === "auto" ? f : r);
1021
- const P = {}, I = (A, k) => {
1022
- fo(k) || (P[A] = k.toString());
1021
+ const T = {}, F = (A, k) => {
1022
+ fo(k) || (T[A] = k.toString());
1023
1023
  };
1024
- I("width", h), I("height", g);
1025
- const _ = [t.left, t.top, u, f];
1026
- return P.viewBox = _.join(" "), {
1027
- attributes: P,
1028
- viewBox: _,
1024
+ F("width", h), F("height", g);
1025
+ const I = [t.left, t.top, u, f];
1026
+ return T.viewBox = I.join(" "), {
1027
+ attributes: T,
1028
+ viewBox: I,
1029
1029
  body: i
1030
1030
  };
1031
1031
  }
@@ -1056,7 +1056,7 @@ function bo(e, l) {
1056
1056
  function xt(e) {
1057
1057
  return wt[e] || wt[""];
1058
1058
  }
1059
- function Ft(e) {
1059
+ function _t(e) {
1060
1060
  let l;
1061
1061
  if (typeof e.resources == "string")
1062
1062
  l = [e.resources];
@@ -1081,21 +1081,21 @@ function Ft(e) {
1081
1081
  dataAfterTimeout: e.dataAfterTimeout !== !1
1082
1082
  };
1083
1083
  }
1084
- const It = /* @__PURE__ */ Object.create(null), Re = [
1084
+ const Ft = /* @__PURE__ */ Object.create(null), Re = [
1085
1085
  "https://api.simplesvg.com",
1086
1086
  "https://api.unisvg.com"
1087
1087
  ], Ze = [];
1088
1088
  for (; Re.length > 0; )
1089
1089
  Re.length === 1 || Math.random() > 0.5 ? Ze.push(Re.shift()) : Ze.push(Re.pop());
1090
- It[""] = Ft({
1090
+ Ft[""] = _t({
1091
1091
  resources: ["https://api.iconify.design"].concat(Ze)
1092
1092
  });
1093
1093
  function yo(e, l) {
1094
- const n = Ft(l);
1095
- return n === null ? !1 : (It[e] = n, !0);
1094
+ const n = _t(l);
1095
+ return n === null ? !1 : (Ft[e] = n, !0);
1096
1096
  }
1097
- function _t(e) {
1098
- return It[e];
1097
+ function It(e) {
1098
+ return Ft[e];
1099
1099
  }
1100
1100
  const wo = () => {
1101
1101
  let e;
@@ -1107,7 +1107,7 @@ const wo = () => {
1107
1107
  };
1108
1108
  let tn = wo();
1109
1109
  function xo(e, l) {
1110
- const n = _t(e);
1110
+ const n = It(e);
1111
1111
  if (!n)
1112
1112
  return 0;
1113
1113
  let o;
@@ -1145,7 +1145,7 @@ const Co = (e, l, n) => {
1145
1145
  };
1146
1146
  function So(e) {
1147
1147
  if (typeof e == "string") {
1148
- const l = _t(e);
1148
+ const l = It(e);
1149
1149
  if (l)
1150
1150
  return l.path;
1151
1151
  }
@@ -1272,9 +1272,9 @@ function Mo(e) {
1272
1272
  });
1273
1273
  }));
1274
1274
  }
1275
- let Po = 0;
1276
- function To(e, l, n) {
1277
- const o = Po++, t = Mn.bind(null, n, o);
1275
+ let To = 0;
1276
+ function Po(e, l, n) {
1277
+ const o = To++, t = Mn.bind(null, n, o);
1278
1278
  if (!l.pending.length)
1279
1279
  return t;
1280
1280
  const i = {
@@ -1287,14 +1287,14 @@ function To(e, l, n) {
1287
1287
  (a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
1288
1288
  }), t;
1289
1289
  }
1290
- function Fo(e, l = !0, n = !1) {
1290
+ function _o(e, l = !0, n = !1) {
1291
1291
  const o = [];
1292
1292
  return e.forEach((t) => {
1293
1293
  const i = typeof t == "string" ? rt(t, l, n) : t;
1294
1294
  i && o.push(i);
1295
1295
  }), o;
1296
1296
  }
1297
- var Io = {
1297
+ var Fo = {
1298
1298
  resources: [],
1299
1299
  index: 0,
1300
1300
  timeout: 2e3,
@@ -1302,7 +1302,7 @@ var Io = {
1302
1302
  random: !1,
1303
1303
  dataAfterTimeout: !1
1304
1304
  };
1305
- function _o(e, l, n, o) {
1305
+ function Io(e, l, n, o) {
1306
1306
  const t = e.resources.length, i = e.random ? Math.floor(Math.random() * t) : e.index;
1307
1307
  let a;
1308
1308
  if (e.random) {
@@ -1315,18 +1315,18 @@ function _o(e, l, n, o) {
1315
1315
  } else
1316
1316
  a = e.resources.slice(i).concat(e.resources.slice(0, i));
1317
1317
  const r = Date.now();
1318
- let u = "pending", f = 0, h, g = null, P = [], I = [];
1319
- typeof o == "function" && I.push(o);
1320
- function _() {
1318
+ let u = "pending", f = 0, h, g = null, T = [], F = [];
1319
+ typeof o == "function" && F.push(o);
1320
+ function I() {
1321
1321
  g && (clearTimeout(g), g = null);
1322
1322
  }
1323
1323
  function A() {
1324
- u === "pending" && (u = "aborted"), _(), P.forEach((S) => {
1324
+ u === "pending" && (u = "aborted"), I(), T.forEach((S) => {
1325
1325
  S.status === "pending" && (S.status = "aborted");
1326
- }), P = [];
1326
+ }), T = [];
1327
1327
  }
1328
1328
  function k(S, z) {
1329
- z && (I = []), typeof S == "function" && I.push(S);
1329
+ z && (F = []), typeof S == "function" && F.push(S);
1330
1330
  }
1331
1331
  function D() {
1332
1332
  return {
@@ -1334,24 +1334,24 @@ function _o(e, l, n, o) {
1334
1334
  payload: l,
1335
1335
  status: u,
1336
1336
  queriesSent: f,
1337
- queriesPending: P.length,
1337
+ queriesPending: T.length,
1338
1338
  subscribe: k,
1339
1339
  abort: A
1340
1340
  };
1341
1341
  }
1342
1342
  function j() {
1343
- u = "failed", I.forEach((S) => {
1343
+ u = "failed", F.forEach((S) => {
1344
1344
  S(void 0, h);
1345
1345
  });
1346
1346
  }
1347
1347
  function X() {
1348
- P.forEach((S) => {
1348
+ T.forEach((S) => {
1349
1349
  S.status === "pending" && (S.status = "aborted");
1350
- }), P = [];
1350
+ }), T = [];
1351
1351
  }
1352
1352
  function N(S, z, B) {
1353
1353
  const Y = z !== "success";
1354
- switch (P = P.filter((ne) => ne !== S), u) {
1354
+ switch (T = T.filter((ne) => ne !== S), u) {
1355
1355
  case "pending":
1356
1356
  break;
1357
1357
  case "failed":
@@ -1366,26 +1366,26 @@ function _o(e, l, n, o) {
1366
1366
  return;
1367
1367
  }
1368
1368
  if (Y) {
1369
- h = B, P.length || (a.length ? ee() : j());
1369
+ h = B, T.length || (a.length ? ee() : j());
1370
1370
  return;
1371
1371
  }
1372
- if (_(), X(), !e.random) {
1372
+ if (I(), X(), !e.random) {
1373
1373
  const ne = e.resources.indexOf(S.resource);
1374
1374
  ne !== -1 && ne !== e.index && (e.index = ne);
1375
1375
  }
1376
- u = "completed", I.forEach((ne) => {
1376
+ u = "completed", F.forEach((ne) => {
1377
1377
  ne(B);
1378
1378
  });
1379
1379
  }
1380
1380
  function ee() {
1381
1381
  if (u !== "pending")
1382
1382
  return;
1383
- _();
1383
+ I();
1384
1384
  const S = a.shift();
1385
1385
  if (S === void 0) {
1386
- if (P.length) {
1386
+ if (T.length) {
1387
1387
  g = setTimeout(() => {
1388
- _(), u === "pending" && (X(), j());
1388
+ I(), u === "pending" && (X(), j());
1389
1389
  }, e.timeout);
1390
1390
  return;
1391
1391
  }
@@ -1399,13 +1399,13 @@ function _o(e, l, n, o) {
1399
1399
  N(z, B, Y);
1400
1400
  }
1401
1401
  };
1402
- P.push(z), f++, g = setTimeout(ee, e.rotate), n(S, l, z.callback);
1402
+ T.push(z), f++, g = setTimeout(ee, e.rotate), n(S, l, z.callback);
1403
1403
  }
1404
1404
  return setTimeout(ee), D;
1405
1405
  }
1406
- function Pn(e) {
1406
+ function Tn(e) {
1407
1407
  const l = {
1408
- ...Io,
1408
+ ...Fo,
1409
1409
  ...e
1410
1410
  };
1411
1411
  let n = [];
@@ -1413,12 +1413,12 @@ function Pn(e) {
1413
1413
  n = n.filter((r) => r().status === "pending");
1414
1414
  }
1415
1415
  function t(r, u, f) {
1416
- const h = _o(
1416
+ const h = Io(
1417
1417
  l,
1418
1418
  r,
1419
1419
  u,
1420
- (g, P) => {
1421
- o(), f && f(g, P);
1420
+ (g, T) => {
1421
+ o(), f && f(g, T);
1422
1422
  }
1423
1423
  );
1424
1424
  return n.push(h), h;
@@ -1441,10 +1441,10 @@ function nn() {
1441
1441
  const mt = /* @__PURE__ */ Object.create(null);
1442
1442
  function Oo(e) {
1443
1443
  if (!mt[e]) {
1444
- const l = _t(e);
1444
+ const l = It(e);
1445
1445
  if (!l)
1446
1446
  return;
1447
- const n = Pn(l), o = {
1447
+ const n = Tn(l), o = {
1448
1448
  config: l,
1449
1449
  redundancy: n
1450
1450
  };
@@ -1462,16 +1462,16 @@ function $o(e, l, n) {
1462
1462
  const a = Oo(e);
1463
1463
  a && (o = a.redundancy);
1464
1464
  } else {
1465
- const i = Ft(e);
1465
+ const i = _t(e);
1466
1466
  if (i) {
1467
- o = Pn(i);
1467
+ o = Tn(i);
1468
1468
  const a = e.resources ? e.resources[0] : "", r = xt(a);
1469
1469
  r && (t = r.send);
1470
1470
  }
1471
1471
  }
1472
1472
  return !o || !t ? (n(void 0, 424), nn) : o.query(l, t, n)().abort;
1473
1473
  }
1474
- const ln = "iconify2", He = "iconify", Tn = He + "-count", on = He + "-version", Fn = 36e5, Ro = 168, Ao = 50;
1474
+ const ln = "iconify2", He = "iconify", Pn = He + "-count", on = He + "-version", _n = 36e5, Ro = 168, Ao = 50;
1475
1475
  function kt(e, l) {
1476
1476
  try {
1477
1477
  return e.getItem(l);
@@ -1491,15 +1491,15 @@ function rn(e, l) {
1491
1491
  }
1492
1492
  }
1493
1493
  function Ct(e, l) {
1494
- return Ot(e, Tn, l.toString());
1494
+ return Ot(e, Pn, l.toString());
1495
1495
  }
1496
1496
  function St(e) {
1497
- return parseInt(kt(e, Tn)) || 0;
1497
+ return parseInt(kt(e, Pn)) || 0;
1498
1498
  }
1499
1499
  const at = {
1500
1500
  local: !0,
1501
1501
  session: !0
1502
- }, In = {
1502
+ }, Fn = {
1503
1503
  local: /* @__PURE__ */ new Set(),
1504
1504
  session: /* @__PURE__ */ new Set()
1505
1505
  };
@@ -1508,7 +1508,7 @@ function No(e) {
1508
1508
  $t = e;
1509
1509
  }
1510
1510
  let Xe = typeof window > "u" ? {} : window;
1511
- function _n(e) {
1511
+ function In(e) {
1512
1512
  const l = e + "Storage";
1513
1513
  try {
1514
1514
  if (Xe && Xe[l] && typeof Xe[l].length == "number")
@@ -1518,7 +1518,7 @@ function _n(e) {
1518
1518
  at[e] = !1;
1519
1519
  }
1520
1520
  function On(e, l) {
1521
- const n = _n(e);
1521
+ const n = In(e);
1522
1522
  if (!n)
1523
1523
  return;
1524
1524
  const o = kt(n, on);
@@ -1531,7 +1531,7 @@ function On(e, l) {
1531
1531
  Ot(n, on, ln), Ct(n, 0);
1532
1532
  return;
1533
1533
  }
1534
- const t = Math.floor(Date.now() / Fn) - Ro, i = (r) => {
1534
+ const t = Math.floor(Date.now() / _n) - Ro, i = (r) => {
1535
1535
  const u = He + r.toString(), f = kt(n, u);
1536
1536
  if (typeof f == "string") {
1537
1537
  try {
@@ -1546,7 +1546,7 @@ function On(e, l) {
1546
1546
  };
1547
1547
  let a = St(n);
1548
1548
  for (let r = a - 1; r >= 0; r--)
1549
- i(r) || (r === a - 1 ? (a--, Ct(n, a)) : In[e].add(r));
1549
+ i(r) || (r === a - 1 ? (a--, Ct(n, a)) : Fn[e].add(r));
1550
1550
  }
1551
1551
  function $n() {
1552
1552
  if (!$t) {
@@ -1557,7 +1557,7 @@ function $n() {
1557
1557
  o,
1558
1558
  t
1559
1559
  );
1560
- if (!Tt(i, n).length)
1560
+ if (!Pt(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;
@@ -1583,16 +1583,16 @@ function Do(e, l) {
1583
1583
  $t || $n();
1584
1584
  function n(o) {
1585
1585
  let t;
1586
- if (!at[o] || !(t = _n(o)))
1586
+ if (!at[o] || !(t = In(o)))
1587
1587
  return;
1588
- const i = In[o];
1588
+ const i = Fn[o];
1589
1589
  let a;
1590
1590
  if (i.size)
1591
1591
  i.delete(a = Array.from(i).shift());
1592
1592
  else if (a = St(t), a >= Ao || !Ct(t, a + 1))
1593
1593
  return;
1594
1594
  const r = {
1595
- cached: Math.floor(Date.now() / Fn),
1595
+ cached: Math.floor(Date.now() / _n),
1596
1596
  provider: e.provider,
1597
1597
  data: l
1598
1598
  };
@@ -1627,7 +1627,7 @@ function Bo(e, l) {
1627
1627
  });
1628
1628
  else
1629
1629
  try {
1630
- const f = Tt(
1630
+ const f = Pt(
1631
1631
  e,
1632
1632
  u
1633
1633
  );
@@ -1646,7 +1646,7 @@ function Bo(e, l) {
1646
1646
  }));
1647
1647
  }
1648
1648
  const qo = (e, l) => {
1649
- const n = Fo(e, !0, zn()), o = Eo(n);
1649
+ const n = _o(e, !0, zn()), o = Eo(n);
1650
1650
  if (!o.pending.length) {
1651
1651
  let u = !0;
1652
1652
  return l && setTimeout(() => {
@@ -1670,12 +1670,12 @@ const qo = (e, l) => {
1670
1670
  const g = t[f] || (t[f] = /* @__PURE__ */ Object.create(null));
1671
1671
  g[h] || (g[h] = []);
1672
1672
  }), o.pending.forEach((u) => {
1673
- const { provider: f, prefix: h, name: g } = u, P = Le(f, h), I = P.pendingIcons || (P.pendingIcons = /* @__PURE__ */ new Set());
1674
- I.has(g) || (I.add(g), t[f][h].push(g));
1673
+ const { provider: f, prefix: h, name: g } = u, T = Le(f, h), F = T.pendingIcons || (T.pendingIcons = /* @__PURE__ */ new Set());
1674
+ F.has(g) || (F.add(g), t[f][h].push(g));
1675
1675
  }), i.forEach((u) => {
1676
1676
  const { provider: f, prefix: h } = u;
1677
1677
  t[f][h].length && Bo(u, t[f][h]);
1678
- }), l ? To(l, o, i) : sn;
1678
+ }), l ? Po(l, o, i) : sn;
1679
1679
  };
1680
1680
  function jo(e, l) {
1681
1681
  const n = {
@@ -1821,18 +1821,18 @@ const fn = (e, l) => {
1821
1821
  let A = 0, k = l.id;
1822
1822
  return typeof k == "string" && (k = k.replace(/-/g, "_")), o.innerHTML = go(u.body, k ? () => k + "ID" + A++ : "iconifyVue"), bt("svg", o);
1823
1823
  }
1824
- const { body: h, width: g, height: P } = e, I = t === "mask" || (t === "bg" ? !1 : h.indexOf("currentColor") !== -1), _ = Qo(h, {
1824
+ const { body: h, width: g, height: T } = e, F = t === "mask" || (t === "bg" ? !1 : h.indexOf("currentColor") !== -1), I = Qo(h, {
1825
1825
  ...f,
1826
1826
  width: g + "",
1827
- height: P + ""
1827
+ height: T + ""
1828
1828
  });
1829
1829
  return o.style = {
1830
1830
  ...i,
1831
- "--svg": Yo(_),
1831
+ "--svg": Yo(I),
1832
1832
  width: dn(f.width),
1833
1833
  height: dn(f.height),
1834
1834
  ...Zo,
1835
- ...I ? zt : Rn,
1835
+ ...F ? zt : Rn,
1836
1836
  ...r
1837
1837
  }, bt("span", o);
1838
1838
  };
@@ -2005,7 +2005,7 @@ const ei = {
2005
2005
  for (const [o, t] of l)
2006
2006
  n[o] = t;
2007
2007
  return n;
2008
- }, Lt = /* @__PURE__ */ Be(ni, [["__scopeId", "data-v-42a02e93"]]), li = {
2008
+ }, Lt = /* @__PURE__ */ Be(ni, [["__scopeId", "data-v-66476098"]]), li = {
2009
2009
  name: "ButtonRightPanel"
2010
2010
  }, oi = /* @__PURE__ */ xe({
2011
2011
  ...li,
@@ -2025,7 +2025,7 @@ const ei = {
2025
2025
  te(Q(we), { icon: "lucide:plus" })
2026
2026
  ]));
2027
2027
  }
2028
- }), hn = /* @__PURE__ */ Be(oi, [["__scopeId", "data-v-d739c6bf"]]), ii = { 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" }, ri = {
2028
+ }), hn = /* @__PURE__ */ Be(oi, [["__scopeId", "data-v-b373d5f7"]]), ii = { 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" }, ri = {
2029
2029
  name: "columnFilter"
2030
2030
  }, si = /* @__PURE__ */ xe({
2031
2031
  ...ri,
@@ -2033,7 +2033,7 @@ const ei = {
2033
2033
  emits: ["close", "filterChange"],
2034
2034
  setup(e, { emit: l }) {
2035
2035
  const n = e;
2036
- Pt(() => {
2036
+ Tt(() => {
2037
2037
  document.removeEventListener("click", t);
2038
2038
  }), Ee(() => {
2039
2039
  document.addEventListener("click", t);
@@ -2068,12 +2068,12 @@ const ei = {
2068
2068
  type: "button",
2069
2069
  class: E({ active: n.column.condition === "Equal" }),
2070
2070
  onClick: r[3] || (r[3] = (u) => i("Equal"))
2071
- }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2071
+ }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal (=)"), 3),
2072
2072
  y("button", {
2073
2073
  type: "button",
2074
2074
  class: E({ active: n.column.condition === "NotEqual" }),
2075
2075
  onClick: r[4] || (r[4] = (u) => i("NotEqual"))
2076
- }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual"), 3),
2076
+ }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual (!=)"), 3),
2077
2077
  y("button", {
2078
2078
  type: "button",
2079
2079
  class: E({ active: n.column.condition === "StartsWith" }),
@@ -2089,54 +2089,54 @@ const ei = {
2089
2089
  type: "button",
2090
2090
  class: E({ active: n.column.condition === "Equal" }),
2091
2091
  onClick: r[7] || (r[7] = (u) => i("Equal"))
2092
- }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2092
+ }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal (=)"), 3),
2093
2093
  y("button", {
2094
2094
  type: "button",
2095
2095
  class: E({ active: n.column.condition === "NotEqual" }),
2096
2096
  onClick: r[8] || (r[8] = (u) => i("NotEqual"))
2097
- }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual"), 3),
2097
+ }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "NotEqual (!=)"), 3),
2098
2098
  y("button", {
2099
2099
  type: "button",
2100
2100
  class: E({ active: n.column.condition === "GreaterThan" }),
2101
2101
  onClick: r[9] || (r[9] = (u) => i("GreaterThan"))
2102
- }, G((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan"), 3),
2102
+ }, G((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan (>)"), 3),
2103
2103
  y("button", {
2104
2104
  type: "button",
2105
2105
  class: E({ active: n.column.condition === "GreaterThanOrEqual" }),
2106
2106
  onClick: r[10] || (r[10] = (u) => i("GreaterThanOrEqual"))
2107
- }, G((n.columnFilterLang && n.columnFilterLang.GreaterThanOrEqual) ?? "GreaterThanOrEqual"), 3),
2107
+ }, G((n.columnFilterLang && n.columnFilterLang.GreaterThanOrEqual) ?? "GreaterThanOrEqual (>=)"), 3),
2108
2108
  y("button", {
2109
2109
  type: "button",
2110
2110
  class: E({ active: n.column.condition === "LessThan" }),
2111
2111
  onClick: r[11] || (r[11] = (u) => i("LessThan"))
2112
- }, G((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan"), 3),
2112
+ }, G((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan (<)"), 3),
2113
2113
  y("button", {
2114
2114
  type: "button",
2115
2115
  class: E({ active: n.column.condition === "LessThanOrEqual" }),
2116
2116
  onClick: r[12] || (r[12] = (u) => i("LessThanOrEqual"))
2117
- }, G((n.columnFilterLang && n.columnFilterLang.LessThanOrEqual) ?? "LessThanOrEqual"), 3)
2117
+ }, G((n.columnFilterLang && n.columnFilterLang.LessThanOrEqual) ?? "LessThanOrEqual (<=)"), 3)
2118
2118
  ], 64)) : n.column.type === "date" ? (c(), v(H, { key: 2 }, [
2119
2119
  y("button", {
2120
2120
  type: "button",
2121
2121
  class: E({ active: n.column.condition === "Equal" }),
2122
2122
  onClick: r[13] || (r[13] = (u) => i("Equal"))
2123
- }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal"), 3),
2123
+ }, G((n.columnFilterLang && n.columnFilterLang.Equal) ?? "Equal (=)"), 3),
2124
2124
  y("button", {
2125
2125
  type: "button",
2126
2126
  class: E({ active: n.column.condition === "NotEqual" }),
2127
2127
  onClick: r[14] || (r[14] = (u) => i("NotEqual"))
2128
- }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "Not equal"), 3),
2128
+ }, G((n.columnFilterLang && n.columnFilterLang.NotEqual) ?? "Not equal (!=)"), 3),
2129
2129
  y("button", {
2130
2130
  type: "button",
2131
2131
  class: E({ active: n.column.condition === "GreaterThan" }),
2132
2132
  onClick: r[15] || (r[15] = (u) => i("GreaterThan"))
2133
- }, G((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan"), 3),
2133
+ }, G((n.columnFilterLang && n.columnFilterLang.GreaterThan) ?? "GreaterThan (>)"), 3),
2134
2134
  y("button", {
2135
2135
  type: "button",
2136
2136
  class: E({ active: n.column.condition === "LessThan" }),
2137
2137
  onClick: r[16] || (r[16] = (u) => i("LessThan"))
2138
- }, G((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan"), 3)
2139
- ], 64)) : T("", !0),
2138
+ }, G((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan (<)"), 3)
2139
+ ], 64)) : P("", !0),
2140
2140
  y("button", {
2141
2141
  type: "button",
2142
2142
  class: E({ active: n.column.condition === "IsNull" }),
@@ -2213,10 +2213,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2213
2213
  height: "16",
2214
2214
  viewBox: "0 0 14 14",
2215
2215
  fill: "none"
2216
- }, Pi = {
2216
+ }, Ti = {
2217
2217
  key: 0,
2218
2218
  class: "bh-filter bh-relative"
2219
- }, Ti = ["onUpdate:modelValue"], Fi = ["onUpdate:modelValue"], Ii = ["onUpdate:modelValue"], _i = ["onUpdate:modelValue"], Oi = /* @__PURE__ */ y("option", { value: void 0 }, "All", -1), $i = /* @__PURE__ */ y("option", { value: !0 }, "True", -1), Ri = /* @__PURE__ */ y("option", { value: !1 }, "False", -1), Ai = [
2219
+ }, Pi = ["onUpdate:modelValue"], _i = ["onUpdate:modelValue"], Fi = ["onUpdate:modelValue"], Ii = ["onUpdate:modelValue"], Oi = /* @__PURE__ */ y("option", { value: void 0 }, "All", -1), $i = /* @__PURE__ */ y("option", { value: !0 }, "True", -1), Ri = /* @__PURE__ */ y("option", { value: !1 }, "False", -1), Ai = [
2220
2220
  Oi,
2221
2221
  $i,
2222
2222
  Ri
@@ -2269,7 +2269,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2269
2269
  te(bi, { class: "intermediate" })
2270
2270
  ])
2271
2271
  ])
2272
- ], 6)) : T("", !0),
2272
+ ], 6)) : P("", !0),
2273
2273
  o.all.hasRightPanel ? (c(), v("th", {
2274
2274
  key: 1,
2275
2275
  style: U({ width: o.all.rightPanelColumnWidth + " !important", minWidth: o.all.rightPanelColumnWidth + " !important" }),
@@ -2278,7 +2278,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2278
2278
  "bh-top-0": o.all.stickyHeader,
2279
2279
  "bh-left-0": o.all.stickyFirstColumn
2280
2280
  })
2281
- }, null, 6)) : T("", !0),
2281
+ }, null, 6)) : P("", !0),
2282
2282
  o.all.hasSubtable ? (c(), v("th", {
2283
2283
  key: 2,
2284
2284
  style: U({ width: o.all.subtableColumnWidth + " !important", minWidth: o.all.subtableColumnWidth + " !important" })
@@ -2287,10 +2287,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2287
2287
  key: 0,
2288
2288
  expandedrows: o.expandedrows,
2289
2289
  expandall: o.all.expandall
2290
- }, null, 8, ["expandedrows", "expandall"])) : T("", !0)
2291
- ], 4)) : T("", !0),
2290
+ }, null, 8, ["expandedrows", "expandall"])) : P("", !0)
2291
+ ], 4)) : P("", !0),
2292
2292
  (c(!0), v(H, null, ue(o.all.columns, (u, f) => (c(), v(H, null, [
2293
- u.hide ? T("", !0) : (c(), v("th", {
2293
+ u.hide ? P("", !0) : (c(), v("th", {
2294
2294
  key: u.field,
2295
2295
  class: E(["bh-select-none bh-z-[1]", [
2296
2296
  o.all.sortable && u.sort ? "bh-cursor-pointer" : "",
@@ -2328,31 +2328,31 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2328
2328
  ]])
2329
2329
  }, null, 2)
2330
2330
  ]))
2331
- ], 2)) : T("", !0)
2331
+ ], 2)) : P("", !0)
2332
2332
  ], 10, Ei),
2333
2333
  o.all.columnFilter && !o.isFooter ? (c(), v(H, { key: 0 }, [
2334
- u.filter ? (c(), v("div", Pi, [
2335
- u.type === "string" ? me((c(), v("input", {
2334
+ u.filter ? (c(), v("div", Ti, [
2335
+ u.type === "string" || u.type === "String" ? me((c(), v("input", {
2336
2336
  key: 0,
2337
2337
  "onUpdate:modelValue": (h) => u.value = h,
2338
2338
  type: "text",
2339
2339
  class: "bh-form-control",
2340
2340
  onKeyup: r[1] || (r[1] = (h) => t("filterChange"))
2341
- }, null, 40, Ti)), [
2341
+ }, null, 40, Pi)), [
2342
2342
  [
2343
2343
  ft,
2344
2344
  u.value,
2345
2345
  void 0,
2346
2346
  { trim: !0 }
2347
2347
  ]
2348
- ]) : T("", !0),
2349
- u.type === "number" ? me((c(), v("input", {
2348
+ ]) : P("", !0),
2349
+ u.type === "number" || u.type === "integer" || u.type === "Integer" ? me((c(), v("input", {
2350
2350
  key: 1,
2351
2351
  "onUpdate:modelValue": (h) => u.value = h,
2352
2352
  type: "number",
2353
2353
  class: "bh-form-control",
2354
2354
  onKeyup: r[2] || (r[2] = (h) => t("filterChange"))
2355
- }, null, 40, Fi)), [
2355
+ }, null, 40, _i)), [
2356
2356
  [
2357
2357
  ft,
2358
2358
  u.value,
@@ -2362,13 +2362,13 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2362
2362
  trim: !0
2363
2363
  }
2364
2364
  ]
2365
- ]) : u.type === "date" ? me((c(), v("input", {
2365
+ ]) : u.type === "date" || u.type === "DateTime" ? me((c(), v("input", {
2366
2366
  key: 2,
2367
2367
  "onUpdate:modelValue": (h) => u.value = h,
2368
2368
  type: "date",
2369
2369
  class: "bh-form-control",
2370
2370
  onChange: r[3] || (r[3] = (h) => t("filterChange"))
2371
- }, null, 40, Ii)), [
2371
+ }, null, 40, Fi)), [
2372
2372
  [ft, u.value]
2373
2373
  ]) : u.type === "bool" ? me((c(), v("select", {
2374
2374
  key: 3,
@@ -2377,16 +2377,16 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2377
2377
  onChange: r[4] || (r[4] = (h) => t("filterChange")),
2378
2378
  onClick: r[5] || (r[5] = //@ts-ignore
2379
2379
  (...h) => o.isOpenFilter && o.isOpenFilter(...h))
2380
- }, Ai, 40, _i)), [
2380
+ }, Ai, 40, Ii)), [
2381
2381
  [vn, u.value]
2382
- ]) : T("", !0),
2382
+ ]) : P("", !0),
2383
2383
  u.type !== "bool" ? (c(), v("button", {
2384
2384
  key: 4,
2385
2385
  type: "button",
2386
2386
  onClick: pe((h) => t("toggleFilterMenu", u), ["stop"])
2387
2387
  }, [
2388
2388
  te(Si, { class: "bh-w-4" })
2389
- ], 8, Ni)) : T("", !0),
2389
+ ], 8, Ni)) : P("", !0),
2390
2390
  me(te(si, {
2391
2391
  column: u,
2392
2392
  type: u.type,
@@ -2396,8 +2396,8 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2396
2396
  }, null, 8, ["column", "type", "columnFilterLang"]), [
2397
2397
  [gt, o.isOpenFilter === u.field]
2398
2398
  ])
2399
- ])) : T("", !0)
2400
- ], 64)) : T("", !0)
2399
+ ])) : P("", !0)
2400
+ ], 64)) : P("", !0)
2401
2401
  ], 6))
2402
2402
  ], 64))), 256))
2403
2403
  ]));
@@ -2441,20 +2441,20 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2441
2441
  fill: "currentColor",
2442
2442
  "fill-rule": "evenodd",
2443
2443
  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"
2444
- }, null, -1), Pr = [
2444
+ }, null, -1), Tr = [
2445
2445
  Mr
2446
- ], Tr = ["onClick"], Fr = ["innerHTML"], Ir = {
2446
+ ], Pr = ["onClick"], _r = ["innerHTML"], Fr = {
2447
2447
  key: 1,
2448
2448
  "aria-hidden": "true",
2449
2449
  width: "14",
2450
2450
  height: "14",
2451
2451
  viewBox: "0 0 16 16"
2452
- }, _r = /* @__PURE__ */ y("path", {
2452
+ }, Ir = /* @__PURE__ */ y("path", {
2453
2453
  fill: "currentColor",
2454
2454
  "fill-rule": "evenodd",
2455
2455
  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"
2456
2456
  }, null, -1), Or = [
2457
- _r
2457
+ Ir
2458
2458
  ], $r = ["innerHTML"], Rr = {
2459
2459
  key: 1,
2460
2460
  "aria-hidden": "true",
@@ -2565,7 +2565,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2565
2565
  }
2566
2566
  const i = q([]), a = q(t.page), r = q(
2567
2567
  t.pagination ? t.pageSize : (Dt = t.rows) == null ? void 0 : Dt.length
2568
- ), u = t.pageSize, f = q(t.sortColumn), h = t.sortColumn, g = q(t.sortDirection), P = t.sortDirection, I = q(t.totalRows), _ = q([]), A = q(null), k = q(t.loading), D = q(t.search);
2568
+ ), u = t.pageSize, f = q(t.sortColumn), h = t.sortColumn, g = q(t.sortDirection), T = t.sortDirection, F = q(t.totalRows), I = q([]), A = q(null), k = q(t.loading), D = q(t.search);
2569
2569
  JSON.parse(JSON.stringify(t.columns));
2570
2570
  const j = q(null), X = q(null);
2571
2571
  let N = q(0);
@@ -2584,7 +2584,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2584
2584
  z.value = !z.value, S.value = z.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth, Y(), re("currentLeftMenuSize", S.value);
2585
2585
  };
2586
2586
  Ee(() => {
2587
- ve(), _e(() => {
2587
+ ve(), Ie(() => {
2588
2588
  Qe.value <= 0 && (Qe.value = 10), re("currentTopMenuSize", t.topmenumin || 20), t.initialLeftMenuState !== void 0 ? (z.value = t.initialLeftMenuState, S.value = z.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth) : S.value = t.leftmenuDefaultWidth, Y(), window.addEventListener("resize", ne);
2589
2589
  });
2590
2590
  });
@@ -2628,11 +2628,11 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2628
2628
  const s = t.columns.find((m) => m.isUnique);
2629
2629
  return (s == null ? void 0 : s.field) || null;
2630
2630
  }), de = Z(() => {
2631
- const s = r.value < 1 ? 1 : Math.ceil(I.value / r.value);
2631
+ const s = r.value < 1 ? 1 : Math.ceil(F.value / r.value);
2632
2632
  return Math.max(s || 0, 1);
2633
2633
  }), ye = Z(() => (a.value - 1) * r.value + 1), Oe = Z(() => {
2634
2634
  const s = a.value * r.value;
2635
- return I.value >= s ? s : I.value;
2635
+ return F.value >= s ? s : F.value;
2636
2636
  }), je = Z(() => {
2637
2637
  let s, m;
2638
2638
  return typeof t.showNumbersCount < "u" && t.showNumbersCount < de.value ? (s = Math.max(
@@ -2646,31 +2646,31 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2646
2646
  let s = t.rows || [];
2647
2647
  if (!t.isServerMode) {
2648
2648
  if ((V = t.columns) == null || V.forEach((b) => {
2649
- b.filter && (b.value !== void 0 && b.value !== null && b.value !== "" || b.condition === "IsNull" || b.condition == "IsNotNull") && (b.type === "string" ? (b.value && !b.condition && (b.condition = "Contains"), b.condition === "Contains" ? s = s.filter((F) => {
2649
+ b.filter && (b.value !== void 0 && b.value !== null && b.value !== "" || b.condition === "IsNull" || b.condition == "IsNotNull") && (b.type === "string" ? (b.value && !b.condition && (b.condition = "Contains"), b.condition === "Contains" ? s = s.filter((_) => {
2650
2650
  var J;
2651
- return (J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().includes(b.value.toLowerCase());
2652
- }) : b.condition === "NotContains" ? s = s.filter((F) => {
2651
+ return (J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().includes(b.value.toLowerCase());
2652
+ }) : b.condition === "NotContains" ? s = s.filter((_) => {
2653
2653
  var J;
2654
- return !((J = O(F, b.field)) != null && J.toString().toLowerCase().includes(b.value.toLowerCase()));
2655
- }) : b.condition === "Equal" ? s = s.filter((F) => {
2654
+ return !((J = O(_, b.field)) != null && J.toString().toLowerCase().includes(b.value.toLowerCase()));
2655
+ }) : b.condition === "Equal" ? s = s.filter((_) => {
2656
2656
  var J;
2657
- return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase()) === b.value.toLowerCase();
2658
- }) : b.condition === "NotEqual" ? s = s.filter((F) => {
2657
+ return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase()) === b.value.toLowerCase();
2658
+ }) : b.condition === "NotEqual" ? s = s.filter((_) => {
2659
2659
  var J;
2660
- return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase()) !== b.value.toLowerCase();
2661
- }) : b.condition == "StartsWith" ? s = s.filter((F) => {
2660
+ return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase()) !== b.value.toLowerCase();
2661
+ }) : b.condition == "StartsWith" ? s = s.filter((_) => {
2662
2662
  var J;
2663
- return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().indexOf(b.value.toLowerCase())) === 0;
2664
- }) : b.condition == "EndsWith" && (s = s.filter((F) => {
2663
+ return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().indexOf(b.value.toLowerCase())) === 0;
2664
+ }) : b.condition == "EndsWith" && (s = s.filter((_) => {
2665
2665
  var J;
2666
- return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().substr(b.value.length * -1)) === b.value.toLowerCase();
2667
- }))) : b.type === "number" ? (b.value && !b.condition && (b.condition = "Equal"), b.condition === "Equal" ? s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) === parseFloat(b.value)) : b.condition === "NotEqual" ? s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) !== parseFloat(b.value)) : b.condition === "GreaterThan" ? s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) > parseFloat(b.value)) : b.condition === "GreaterThanOrEqual" ? s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) >= parseFloat(b.value)) : b.condition === "LessThan" ? s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) < parseFloat(b.value)) : b.condition === "LessThanOrEqual" && (s = s.filter((F) => O(F, b.field) && parseFloat(O(F, b.field)) <= parseFloat(b.value)))) : b.type === "date" ? (b.value && !b.condition && (b.condition = "Equal"), b.condition === "Equal" ? s = s.filter((F) => O(F, b.field) && ke(O(F, b.field)) === b.value) : b.condition === "NotEqual" ? s = s.filter((F) => O(F, b.field) && ke(O(F, b.field)) !== b.value) : b.condition === "GreaterThan" ? s = s.filter((F) => O(F, b.field) && ke(O(F, b.field)) > b.value) : b.condition === "LessThan" && (s = s.filter((F) => O(F, b.field) && ke(O(F, b.field)) < b.value))) : b.type === "bool" && (s = s.filter((F) => O(F, b.field) === b.value)), b.condition === "IsNull" ? (s = s.filter((F) => O(F, b.field) == null || O(F, b.field) == ""), b.value = "") : b.condition === "IsNotNull" && (b.value = "", s = s.filter((F) => O(F, b.field))));
2666
+ return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().substr(b.value.length * -1)) === b.value.toLowerCase();
2667
+ }))) : b.type === "number" ? (b.value && !b.condition && (b.condition = "Equal"), b.condition === "Equal" ? s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) === parseFloat(b.value)) : b.condition === "NotEqual" ? s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) !== parseFloat(b.value)) : b.condition === "GreaterThan" ? s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) > parseFloat(b.value)) : b.condition === "GreaterThanOrEqual" ? s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) >= parseFloat(b.value)) : b.condition === "LessThan" ? s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) < parseFloat(b.value)) : b.condition === "LessThanOrEqual" && (s = s.filter((_) => O(_, b.field) && parseFloat(O(_, b.field)) <= parseFloat(b.value)))) : b.type === "date" ? (b.value && !b.condition && (b.condition = "Equal"), b.condition === "Equal" ? s = s.filter((_) => O(_, b.field) && ke(O(_, b.field)) === b.value) : b.condition === "NotEqual" ? s = s.filter((_) => O(_, b.field) && ke(O(_, b.field)) !== b.value) : b.condition === "GreaterThan" ? s = s.filter((_) => O(_, b.field) && ke(O(_, b.field)) > b.value) : b.condition === "LessThan" && (s = s.filter((_) => O(_, b.field) && ke(O(_, b.field)) < b.value))) : b.type === "bool" && (s = s.filter((_) => O(_, b.field) === b.value)), b.condition === "IsNull" ? (s = s.filter((_) => O(_, b.field) == null || O(_, b.field) == ""), b.value = "") : b.condition === "IsNotNull" && (b.value = "", s = s.filter((_) => O(_, b.field))));
2668
2668
  }), D.value && (s != null && s.length)) {
2669
2669
  let b = [];
2670
- const F = (t.columns || []).filter((J) => J.search && !J.hide).map((J) => J.field);
2670
+ const _ = (t.columns || []).filter((J) => J.search && !J.hide).map((J) => J.field);
2671
2671
  for (var m = 0; m < (s == null ? void 0 : s.length); m++)
2672
- for (var p = 0; p < F.length; p++)
2673
- if ((R = O(s[m], F[p])) != null && R.toString().toLowerCase().includes(D.value.toLowerCase())) {
2672
+ for (var p = 0; p < _.length; p++)
2673
+ if ((R = O(s[m], _[p])) != null && R.toString().toLowerCase().includes(D.value.toLowerCase())) {
2674
2674
  b.push(s[m]);
2675
2675
  break;
2676
2676
  }
@@ -2681,16 +2681,16 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2681
2681
  sensitivity: "base"
2682
2682
  });
2683
2683
  const Gn = g.value === "desc" ? -1 : 1;
2684
- s.sort((b, F) => {
2684
+ s.sort((b, _) => {
2685
2685
  var Ht, Bt;
2686
- const J = (Ht = f.value) == null ? void 0 : Ht.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], b), Qn = (Bt = f.value) == null ? void 0 : Bt.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], F);
2686
+ const J = (Ht = f.value) == null ? void 0 : Ht.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], b), Qn = (Bt = f.value) == null ? void 0 : Bt.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], _);
2687
2687
  return $.compare(J, Qn) * Gn;
2688
2688
  });
2689
2689
  }
2690
2690
  return s;
2691
2691
  }, ce = q([]), ve = () => {
2692
2692
  let s = [], m = Ue();
2693
- t.isServerMode ? (I.value = t.totalRows || 0, s = m) : (I.value = (m == null ? void 0 : m.length) || 0, s = m.slice(ye.value - 1, Oe.value)), t.hasSubtable && s.forEach(function(p) {
2693
+ t.isServerMode ? (F.value = t.totalRows || 0, s = m) : (F.value = (m == null ? void 0 : m.length) || 0, s = m.slice(ye.value - 1, Oe.value)), t.hasSubtable && s.forEach(function(p) {
2694
2694
  p.isExpanded != null && (ce.value.find((V) => V.id == p.id) || ce.value.push({
2695
2695
  id: p.id,
2696
2696
  isExpanded: p.isExpanded
@@ -2709,7 +2709,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2709
2709
  if (a.value == 1)
2710
2710
  return !1;
2711
2711
  a.value--;
2712
- }, Pe = (s) => {
2712
+ }, Te = (s) => {
2713
2713
  a.value = s;
2714
2714
  }, ae = () => {
2715
2715
  if (a.value >= de.value)
@@ -2735,15 +2735,15 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2735
2735
  }, C = (s) => {
2736
2736
  A.value = s.length && i.value.length && s.length === i.value.length;
2737
2737
  const m = i.value.filter(
2738
- (p, $) => _.value.includes(K.value ? p[K.value] : $)
2738
+ (p, $) => I.value.includes(K.value ? p[K.value] : $)
2739
2739
  );
2740
2740
  re("rowSelect", m);
2741
2741
  };
2742
- le(() => _.value, C);
2742
+ le(() => I.value, C);
2743
2743
  const M = (s) => {
2744
- s ? _.value = i.value.map(
2744
+ s ? I.value = i.value.map(
2745
2745
  (m, p) => K.value ? m[K.value] : p
2746
- ) : _.value = [];
2746
+ ) : I.value = [];
2747
2747
  }, W = () => {
2748
2748
  M(!1), t.isServerMode ? a.value === 1 ? ge("filter", !0) : a.value = 1 : (a.value = 1, ve(), re("filterChange", t.columns));
2749
2749
  }, ie = () => {
@@ -2764,9 +2764,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2764
2764
  } catch {
2765
2765
  }
2766
2766
  return "";
2767
- }, Te = (s, m) => {
2767
+ }, Pe = (s, m) => {
2768
2768
  N.value++, N.value === 1 ? X.value = setTimeout(() => {
2769
- N.value = 0, t.selectRowOnClick && (Ge(m) ? Nt(m) : At(m), C(_.value)), re("rowClick", s);
2769
+ N.value = 0, t.selectRowOnClick && (Ge(m) ? Nt(m) : At(m), C(I.value)), re("rowClick", s);
2770
2770
  }, ee.value) : N.value === 2 && (clearTimeout(X.value), N.value = 0, re("rowDBClick", s));
2771
2771
  }, ge = (s, m = !1) => {
2772
2772
  if (t.isServerMode) {
@@ -2792,28 +2792,28 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2792
2792
  M(!1);
2793
2793
  for (let s = 0; s < t.columns.length; s++)
2794
2794
  t.columns[s].value = "";
2795
- D.value = "", r.value = u, f.value = h, g.value = P, t.isServerMode ? a.value === 1 ? ge("reset", !0) : a.value = 1 : (a.value = 1, ve());
2795
+ D.value = "", r.value = u, f.value = h, g.value = T, t.isServerMode ? a.value === 1 ? ge("reset", !0) : a.value = 1 : (a.value = 1, ve());
2796
2796
  }, Wn = () => i.value.filter(
2797
- (m, p) => _.value.includes(K.value ? m[K.value] : p)
2797
+ (m, p) => I.value.includes(K.value ? m[K.value] : p)
2798
2798
  ), Dn = () => t.columns, Hn = () => {
2799
- _.value = [];
2799
+ I.value = [];
2800
2800
  }, At = (s) => {
2801
2801
  if (!Ge(s)) {
2802
2802
  const m = i.value.find((p, $) => $ === s);
2803
- _.value.push(
2803
+ I.value.push(
2804
2804
  K.value ? m[K.value] : s
2805
2805
  );
2806
2806
  }
2807
2807
  }, Nt = (s) => {
2808
2808
  if (Ge(s)) {
2809
2809
  const m = i.value.find((p, $) => $ === s);
2810
- _.value = _.value.filter(
2810
+ I.value = I.value.filter(
2811
2811
  (p) => p !== (K.value ? m[K.value] : s)
2812
2812
  );
2813
2813
  }
2814
2814
  }, Ge = (s) => {
2815
2815
  const m = i.value.find((p, $) => $ === s);
2816
- return m ? _.value.includes(
2816
+ return m ? I.value.includes(
2817
2817
  K.value ? m[K.value] : s
2818
2818
  ) : !1;
2819
2819
  }, Bn = () => {
@@ -2828,7 +2828,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2828
2828
  }, 2200), Qe = q(t.topmenusize), ct = q(null), Un = dl(ct).height, Vn = (s) => {
2829
2829
  if (!s || !s.panes || !s.panes.length) return;
2830
2830
  const m = s.panes[0].size;
2831
- Qe.value = m, _e(() => {
2831
+ Qe.value = m, Ie(() => {
2832
2832
  var V;
2833
2833
  const p = (V = ct.value) == null ? void 0 : V.$el, $ = p ? p.offsetHeight : 0;
2834
2834
  re("currentTopMenuSize", $);
@@ -2876,7 +2876,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2876
2876
  }, Ui, 4))
2877
2877
  ])
2878
2878
  ])
2879
- ], 4)) : T("", !0),
2879
+ ], 4)) : P("", !0),
2880
2880
  y("div", Vi, [
2881
2881
  s.enabletopmenu ? (c(), he(Q(Yt), {
2882
2882
  key: 0,
@@ -2900,7 +2900,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2900
2900
  ])
2901
2901
  ]),
2902
2902
  _: 3
2903
- }, 8, ["size", "max-size", "style"])) : T("", !0),
2903
+ }, 8, ["size", "max-size", "style"])) : P("", !0),
2904
2904
  te(Q(pt), {
2905
2905
  style: U({ "padding-right": s.tableRightOffset + "px", "padding-left": s.tableLeftOffset + "px" })
2906
2906
  }, {
@@ -2913,7 +2913,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2913
2913
  oe(s.$slots, "tableHeaderArea", {}, () => [
2914
2914
  Qi
2915
2915
  ])
2916
- ], 4)) : T("", !0),
2916
+ ], 4)) : P("", !0),
2917
2917
  oe(s.$slots, "tableactionheader", {}, () => [
2918
2918
  Ki
2919
2919
  ]),
@@ -2963,13 +2963,13 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2963
2963
  return c(), v(H, {
2964
2964
  key: p[K.value] ? p[K.value] : $
2965
2965
  }, [
2966
- I.value ? (c(), v("tr", {
2966
+ F.value ? (c(), v("tr", {
2967
2967
  key: 0,
2968
2968
  class: E([
2969
2969
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
2970
2970
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
2971
2971
  ]),
2972
- onClick: pe((R) => Te(p, $), ["prevent"])
2972
+ onClick: pe((R) => Pe(p, $), ["prevent"])
2973
2973
  }, [
2974
2974
  t.hasCheckbox ? (c(), v("td", {
2975
2975
  key: 0,
@@ -2980,19 +2980,19 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
2980
2980
  }, [
2981
2981
  y("div", Yi, [
2982
2982
  me(y("input", {
2983
- "onUpdate:modelValue": m[0] || (m[0] = (R) => _.value = R),
2983
+ "onUpdate:modelValue": m[0] || (m[0] = (R) => I.value = R),
2984
2984
  type: "checkbox",
2985
2985
  value: p[K.value] ? p[K.value] : $,
2986
2986
  onClick: m[1] || (m[1] = pe(() => {
2987
2987
  }, ["stop"]))
2988
2988
  }, null, 8, Ji), [
2989
- [jt, _.value]
2989
+ [jt, I.value]
2990
2990
  ]),
2991
2991
  y("div", null, [
2992
2992
  te(Et, { class: "check" })
2993
2993
  ])
2994
2994
  ])
2995
- ], 6)) : T("", !0),
2995
+ ], 6)) : P("", !0),
2996
2996
  t.hasRightPanel ? (c(), v("td", {
2997
2997
  key: 1,
2998
2998
  style: U({ width: t.rightPanelColumnWidth + " !important", minWidth: t.rightPanelColumnWidth + " !important", padding: "0px !important" }),
@@ -3004,7 +3004,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3004
3004
  item: p,
3005
3005
  onRightPanelClick: m[2] || (m[2] = (R) => re("rowRightPanelClick", R))
3006
3006
  }, null, 8, ["item"])
3007
- ], 6)) : T("", !0),
3007
+ ], 6)) : P("", !0),
3008
3008
  t.hasSubtable ? (c(), v("td", {
3009
3009
  key: 2,
3010
3010
  style: U({ width: t.subtableColumnWidth + " !important", minWidth: t.subtableColumnWidth + " !important" }),
@@ -3016,9 +3016,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3016
3016
  item: { ...p, _rowIndex: $ },
3017
3017
  expandedrows: ce.value
3018
3018
  }, null, 8, ["item", "expandedrows"])
3019
- ], 6)) : T("", !0),
3019
+ ], 6)) : P("", !0),
3020
3020
  (c(!0), v(H, null, ue(t.columns, (R, se) => (c(), v(H, null, [
3021
- R.hide ? T("", !0) : (c(), v("td", {
3021
+ R.hide ? P("", !0) : (c(), v("td", {
3022
3022
  key: R.field,
3023
3023
  class: E([
3024
3024
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3038,14 +3038,14 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3038
3038
  ], 64))
3039
3039
  ], 2))
3040
3040
  ], 64))), 256))
3041
- ], 10, Xi)) : T("", !0),
3041
+ ], 10, Xi)) : P("", !0),
3042
3042
  (V = ce.value.find((R) => R.id == (p._rowIndex !== void 0 ? p._rowIndex : p.id || $))) != null && V.isExpanded && t.hasSubtable ? (c(), v("tr", {
3043
3043
  key: 1,
3044
3044
  class: E([
3045
3045
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3046
3046
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3047
3047
  ]),
3048
- onClick: pe((R) => Te(p, $), ["prevent"])
3048
+ onClick: pe((R) => Pe(p, $), ["prevent"])
3049
3049
  }, [
3050
3050
  y("td", {
3051
3051
  colspan: t.columns.length + Q(fe)
@@ -3056,10 +3056,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3056
3056
  filterItems: i.value
3057
3057
  })
3058
3058
  ], 8, tr)
3059
- ], 10, er)) : T("", !0)
3059
+ ], 10, er)) : P("", !0)
3060
3060
  ], 64);
3061
3061
  }), 128)),
3062
- !I.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3062
+ !F.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3063
3063
  key: p,
3064
3064
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
3065
3065
  }, [
@@ -3067,17 +3067,17 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3067
3067
  colspan: t.columns.length + Q(fe),
3068
3068
  class: "!bh-p-0 !bh-border-transparent"
3069
3069
  }, or, 8, nr)
3070
- ]))), 128)) : T("", !0),
3071
- I.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3070
+ ]))), 128)) : P("", !0),
3071
+ F.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3072
3072
  key: p[K.value] ? p[K.value] : $,
3073
3073
  class: "sticky-table-footer"
3074
3074
  }, [
3075
3075
  Q(fe) > 0 ? (c(), v("td", {
3076
3076
  key: 0,
3077
3077
  colspan: Q(fe)
3078
- }, null, 8, ir)) : T("", !0),
3078
+ }, null, 8, ir)) : P("", !0),
3079
3079
  (c(!0), v(H, null, ue(t.columns, (V, R) => (c(), v(H, null, [
3080
- V.hide ? T("", !0) : (c(), v("td", {
3080
+ V.hide ? P("", !0) : (c(), v("td", {
3081
3081
  key: V.field,
3082
3082
  class: E([
3083
3083
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3088,10 +3088,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3088
3088
  }, [
3089
3089
  p.cells.find((se) => se.field == V.field) ? (c(), v(H, { key: 0 }, [
3090
3090
  Ae(G(p.cells.find((se) => se.field == V.field).text), 1)
3091
- ], 64)) : T("", !0)
3091
+ ], 64)) : P("", !0)
3092
3092
  ], 2))
3093
3093
  ], 64))), 256))
3094
- ]))), 128)) : T("", !0)
3094
+ ]))), 128)) : P("", !0)
3095
3095
  ]),
3096
3096
  t.cloneHeaderInFooter ? (c(), v("tfoot", {
3097
3097
  key: 0,
@@ -3111,7 +3111,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3111
3111
  onFilterChange: W,
3112
3112
  onToggleFilterMenu: Me
3113
3113
  }, null, 8, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll"])
3114
- ], 2)) : T("", !0)
3114
+ ], 2)) : P("", !0)
3115
3115
  ], 2),
3116
3116
  k.value && s.enableloadinganimation ? (c(), v("div", {
3117
3117
  key: 0,
@@ -3121,9 +3121,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3121
3121
  })
3122
3122
  }, [
3123
3123
  oe(s.$slots, "loadercontent")
3124
- ], 4)) : T("", !0)
3124
+ ], 4)) : P("", !0)
3125
3125
  ], 6),
3126
- !I.value && !k.value ? (c(), v("div", {
3126
+ !F.value && !k.value ? (c(), v("div", {
3127
3127
  key: 0,
3128
3128
  class: "nodatacontent",
3129
3129
  style: U({
@@ -3133,7 +3133,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3133
3133
  oe(s.$slots, "nodatacontent", {}, () => [
3134
3134
  y("span", null, G(t.noDataContent), 1)
3135
3135
  ])
3136
- ], 4)) : T("", !0)
3136
+ ], 4)) : P("", !0)
3137
3137
  ]),
3138
3138
  _: 3
3139
3139
  }, 8, ["style", "autoHide", "fixedThumb", "autoExpand", "direction"])
@@ -3143,10 +3143,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3143
3143
  }, 8, ["style"])
3144
3144
  ]),
3145
3145
  _: 3
3146
- })) : T("", !0),
3147
- s.enabletopmenu ? T("", !0) : (c(), v("div", {
3146
+ })) : P("", !0),
3147
+ s.enabletopmenu ? P("", !0) : (c(), v("div", {
3148
3148
  key: 1,
3149
- class: "bh-w-full bh-h-full",
3149
+ class: "bh-w-full bh-h-full default-theme splitpanes__pane",
3150
3150
  style: U({ "padding-right": s.tableRightOffset + "px", "padding-left": s.tableLeftOffset + "px" })
3151
3151
  }, [
3152
3152
  s.enableHeaderArea ? (c(), v("div", {
@@ -3157,7 +3157,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3157
3157
  oe(s.$slots, "tableHeaderArea", {}, () => [
3158
3158
  rr
3159
3159
  ])
3160
- ], 4)) : T("", !0),
3160
+ ], 4)) : P("", !0),
3161
3161
  oe(s.$slots, "tableactionheader"),
3162
3162
  y("div", {
3163
3163
  class: E(t.scrollbarstyle)
@@ -3205,13 +3205,13 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3205
3205
  return c(), v(H, {
3206
3206
  key: p[K.value] ? p[K.value] : $
3207
3207
  }, [
3208
- I.value ? (c(), v("tr", {
3208
+ F.value ? (c(), v("tr", {
3209
3209
  key: 0,
3210
3210
  class: E([
3211
3211
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3212
3212
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3213
3213
  ]),
3214
- onClick: pe((R) => Te(p, $), ["prevent"])
3214
+ onClick: pe((R) => Pe(p, $), ["prevent"])
3215
3215
  }, [
3216
3216
  t.hasCheckbox ? (c(), v("td", {
3217
3217
  key: 0,
@@ -3222,19 +3222,19 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3222
3222
  }, [
3223
3223
  y("div", ar, [
3224
3224
  me(y("input", {
3225
- "onUpdate:modelValue": m[3] || (m[3] = (R) => _.value = R),
3225
+ "onUpdate:modelValue": m[3] || (m[3] = (R) => I.value = R),
3226
3226
  type: "checkbox",
3227
3227
  value: p[K.value] ? p[K.value] : $,
3228
3228
  onClick: m[4] || (m[4] = pe(() => {
3229
3229
  }, ["stop"]))
3230
3230
  }, null, 8, ur), [
3231
- [jt, _.value]
3231
+ [jt, I.value]
3232
3232
  ]),
3233
3233
  y("div", null, [
3234
3234
  te(Et, { class: "check" })
3235
3235
  ])
3236
3236
  ])
3237
- ], 6)) : T("", !0),
3237
+ ], 6)) : P("", !0),
3238
3238
  t.hasRightPanel ? (c(), v("td", {
3239
3239
  key: 1,
3240
3240
  style: U({ width: t.rightPanelColumnWidth + " !important", minWidth: t.rightPanelColumnWidth + " !important", padding: "0px !important" }),
@@ -3246,7 +3246,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3246
3246
  item: p,
3247
3247
  onRightPanelClick: m[5] || (m[5] = (R) => re("rowRightPanelClick", R))
3248
3248
  }, null, 8, ["item"])
3249
- ], 6)) : T("", !0),
3249
+ ], 6)) : P("", !0),
3250
3250
  t.hasSubtable ? (c(), v("td", {
3251
3251
  key: 2,
3252
3252
  style: U({ width: t.subtableColumnWidth + " !important", minWidth: t.subtableColumnWidth + " !important" }),
@@ -3258,9 +3258,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3258
3258
  item: { ...p, _rowIndex: $ },
3259
3259
  expandedrows: ce.value
3260
3260
  }, null, 8, ["item", "expandedrows"])
3261
- ], 6)) : T("", !0),
3261
+ ], 6)) : P("", !0),
3262
3262
  (c(!0), v(H, null, ue(t.columns, (R, se) => (c(), v(H, null, [
3263
- R.hide ? T("", !0) : (c(), v("td", {
3263
+ R.hide ? P("", !0) : (c(), v("td", {
3264
3264
  key: R.field,
3265
3265
  class: E([
3266
3266
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3280,14 +3280,14 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3280
3280
  ], 64))
3281
3281
  ], 2))
3282
3282
  ], 64))), 256))
3283
- ], 10, sr)) : T("", !0),
3283
+ ], 10, sr)) : P("", !0),
3284
3284
  (V = ce.value.find((R) => R.id == (p._rowIndex !== void 0 ? p._rowIndex : p.id || $))) != null && V.isExpanded && t.hasSubtable ? (c(), v("tr", {
3285
3285
  key: 1,
3286
3286
  class: E([
3287
3287
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3288
3288
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3289
3289
  ]),
3290
- onClick: pe((R) => Te(p, $), ["prevent"])
3290
+ onClick: pe((R) => Pe(p, $), ["prevent"])
3291
3291
  }, [
3292
3292
  y("td", {
3293
3293
  colspan: t.columns.length + Q(fe)
@@ -3309,10 +3309,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3309
3309
  })
3310
3310
  ], 4)
3311
3311
  ], 8, fr)
3312
- ], 10, dr)) : T("", !0)
3312
+ ], 10, dr)) : P("", !0)
3313
3313
  ], 64);
3314
3314
  }), 128)),
3315
- !I.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3315
+ !F.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3316
3316
  key: p,
3317
3317
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
3318
3318
  }, [
@@ -3320,17 +3320,17 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3320
3320
  colspan: t.columns.length + Q(fe),
3321
3321
  class: "!bh-p-0 !bh-border-transparent"
3322
3322
  }, vr, 8, hr)
3323
- ]))), 128)) : T("", !0),
3324
- I.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3323
+ ]))), 128)) : P("", !0),
3324
+ F.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3325
3325
  key: p[K.value] ? p[K.value] : $,
3326
3326
  class: "sticky-table-footer"
3327
3327
  }, [
3328
3328
  Q(fe) > 0 ? (c(), v("td", {
3329
3329
  key: 0,
3330
3330
  colspan: Q(fe)
3331
- }, null, 8, mr)) : T("", !0),
3331
+ }, null, 8, mr)) : P("", !0),
3332
3332
  (c(!0), v(H, null, ue(t.columns, (V, R) => (c(), v(H, null, [
3333
- V.hide ? T("", !0) : (c(), v("td", {
3333
+ V.hide ? P("", !0) : (c(), v("td", {
3334
3334
  key: V.field,
3335
3335
  class: E([
3336
3336
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3341,10 +3341,10 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3341
3341
  }, [
3342
3342
  p.cells.find((se) => se.field == V.field) ? (c(), v(H, { key: 0 }, [
3343
3343
  Ae(G(p.cells.find((se) => se.field == V.field).text), 1)
3344
- ], 64)) : T("", !0)
3344
+ ], 64)) : P("", !0)
3345
3345
  ], 2))
3346
3346
  ], 64))), 256))
3347
- ]))), 128)) : T("", !0)
3347
+ ]))), 128)) : P("", !0)
3348
3348
  ]),
3349
3349
  t.cloneHeaderInFooter ? (c(), v("tfoot", {
3350
3350
  key: 0,
@@ -3364,7 +3364,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3364
3364
  onFilterChange: W,
3365
3365
  onToggleFilterMenu: Me
3366
3366
  }, null, 8, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll"])
3367
- ], 2)) : T("", !0)
3367
+ ], 2)) : P("", !0)
3368
3368
  ], 2),
3369
3369
  k.value && s.enableloadinganimation ? (c(), v("div", {
3370
3370
  key: 0,
@@ -3374,9 +3374,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3374
3374
  })
3375
3375
  }, [
3376
3376
  oe(s.$slots, "loadercontent")
3377
- ], 4)) : T("", !0)
3377
+ ], 4)) : P("", !0)
3378
3378
  ], 6),
3379
- !I.value && !k.value ? (c(), v("div", {
3379
+ !F.value && !k.value ? (c(), v("div", {
3380
3380
  key: 0,
3381
3381
  class: "nodatacontent",
3382
3382
  style: U({
@@ -3386,7 +3386,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3386
3386
  oe(s.$slots, "nodatacontent", {}, () => [
3387
3387
  y("span", null, G(t.noDataContent), 1)
3388
3388
  ])
3389
- ], 4)) : T("", !0)
3389
+ ], 4)) : P("", !0)
3390
3390
  ]),
3391
3391
  _: 3
3392
3392
  }, 8, ["style", "autoHide", "fixedThumb", "autoExpand", "direction"])
@@ -3400,7 +3400,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3400
3400
  ]),
3401
3401
  _: 3
3402
3402
  }, 8, ["style"]),
3403
- t.pagination && I.value ? (c(), v("div", {
3403
+ t.pagination && F.value ? (c(), v("div", {
3404
3404
  key: 0,
3405
3405
  class: E(["bh-pagination", {
3406
3406
  "bh-pointer-events-none": k.value,
@@ -3411,7 +3411,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3411
3411
  s.enablefooterpagination ? oe(s.$slots, "footerpageinfo", {
3412
3412
  key: 0,
3413
3413
  paginationInfo: s.paginationInfo,
3414
- filterRowCount: I.value,
3414
+ filterRowCount: F.value,
3415
3415
  offset: ye.value,
3416
3416
  limit: Oe.value,
3417
3417
  showPageSize: s.showPageSize,
@@ -3423,9 +3423,9 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3423
3423
  y("div", br, [
3424
3424
  y("span", yr, G(qe(
3425
3425
  t.paginationInfo,
3426
- I.value ? ye.value : 0,
3426
+ F.value ? ye.value : 0,
3427
3427
  Oe.value,
3428
- I.value
3428
+ F.value
3429
3429
  )), 1),
3430
3430
  t.showPageSize ? me((c(), v("select", {
3431
3431
  key: 0,
@@ -3438,15 +3438,15 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3438
3438
  }, G(p), 9, wr))), 128))
3439
3439
  ], 512)), [
3440
3440
  [vn, r.value]
3441
- ]) : T("", !0)
3441
+ ]) : P("", !0)
3442
3442
  ])
3443
- ]) : T("", !0),
3443
+ ]) : P("", !0),
3444
3444
  s.enablefooterpagination ? oe(s.$slots, "footerpagination", {
3445
3445
  key: 1,
3446
3446
  currentPage: a.value,
3447
3447
  maxPage: de.value,
3448
3448
  paging: je.value,
3449
- movePage: Pe,
3449
+ movePage: Te,
3450
3450
  nextPage: ae,
3451
3451
  previousPage: Ve
3452
3452
  }, () => [
@@ -3461,7 +3461,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3461
3461
  key: 0,
3462
3462
  innerHTML: t.firstArrow
3463
3463
  }, null, 8, kr)) : (c(), v("svg", Cr, zr))
3464
- ], 2)) : T("", !0),
3464
+ ], 2)) : P("", !0),
3465
3465
  y("button", {
3466
3466
  type: "button",
3467
3467
  class: E(["bh-page-item previous-page", { disabled: a.value <= 1 }]),
@@ -3470,7 +3470,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3470
3470
  t.previousArrow ? (c(), v("span", {
3471
3471
  key: 0,
3472
3472
  innerHTML: t.previousArrow
3473
- }, null, 8, Lr)) : (c(), v("svg", Er, Pr))
3473
+ }, null, 8, Lr)) : (c(), v("svg", Er, Tr))
3474
3474
  ], 2),
3475
3475
  t.showNumbers ? (c(!0), v(H, { key: 1 }, ue(je.value, (p) => (c(), v("button", {
3476
3476
  key: p,
@@ -3479,8 +3479,8 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3479
3479
  disabled: a.value === p,
3480
3480
  "bh-active": p === a.value
3481
3481
  }]),
3482
- onClick: ($) => Pe(p)
3483
- }, G(p), 11, Tr))), 128)) : T("", !0),
3482
+ onClick: ($) => Te(p)
3483
+ }, G(p), 11, Pr))), 128)) : P("", !0),
3484
3484
  y("button", {
3485
3485
  type: "button",
3486
3486
  class: E(["bh-page-item next-page", { disabled: a.value >= de.value }]),
@@ -3489,7 +3489,7 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3489
3489
  t.nextArrow ? (c(), v("span", {
3490
3490
  key: 0,
3491
3491
  innerHTML: t.nextArrow
3492
- }, null, 8, Fr)) : (c(), v("svg", Ir, Or))
3492
+ }, null, 8, _r)) : (c(), v("svg", Fr, Or))
3493
3493
  ], 2),
3494
3494
  t.showLastPage ? (c(), v("button", {
3495
3495
  key: 2,
@@ -3501,11 +3501,11 @@ const Si = /* @__PURE__ */ Be(yi, [["render", Ci]]), zi = { key: "hdrrow" }, Li
3501
3501
  key: 0,
3502
3502
  innerHTML: t.lastArrow
3503
3503
  }, null, 8, $r)) : (c(), v("svg", Rr, Nr))
3504
- ], 2)) : T("", !0)
3504
+ ], 2)) : P("", !0)
3505
3505
  ])
3506
- ]) : T("", !0)
3506
+ ]) : P("", !0)
3507
3507
  ])
3508
- ], 2)) : T("", !0)
3508
+ ], 2)) : P("", !0)
3509
3509
  ]));
3510
3510
  }
3511
3511
  });