@dolusoft/vue3-datatable 1.7.35 → 1.7.36

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 Ie, getCurrentScope as Qn, onScopeDispose as Kn, unref as Q, getCurrentInstance as Mt, computed as Z, ref as q, watch as le, defineComponent as xe, useCssVars as Xn, 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 Yn, renderSlot as oe, renderList as ue, createVNode as te, reactive as Jn, watchEffect as Zn, useSlots as pn, onBeforeUnmount as Tt, provide as Se, createBlock as he, resolveDynamicComponent as el, inject as _e, h as bt, toRef as tl, 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 _e, getCurrentScope as Qn, onScopeDispose as Kn, unref as Q, getCurrentInstance as Mt, computed as Z, ref as q, watch as le, defineComponent as xe, useCssVars as Xn, 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 Yn, renderSlot as oe, renderList as ue, createVNode as te, reactive as Jn, watchEffect as Zn, useSlots as pn, onBeforeUnmount as Pt, provide as Se, createBlock as he, resolveDynamicComponent as el, inject as Fe, h as bt, toRef as tl, toDisplayString as G, createTextVNode as Ne, vModelText as ft, vModelSelect as vn, withCtx as ze, vModelCheckbox as jt } from "vue";
2
2
  function nl(e) {
3
3
  return Qn() ? (Kn(e), !0) : !1;
4
4
  }
@@ -11,9 +11,9 @@ function il(e) {
11
11
  return Mt();
12
12
  }
13
13
  function rl(e, l = !0, n) {
14
- il() ? Ee(e, n) : l ? e() : Ie(e);
14
+ il() ? Ee(e, n) : l ? e() : _e(e);
15
15
  }
16
- function Fe(e) {
16
+ function Ie(e) {
17
17
  var l;
18
18
  const n = ll(e);
19
19
  return (l = n == null ? void 0 : n.$el) != null ? l : n;
@@ -34,13 +34,13 @@ function ul(e, l, n = {}) {
34
34
  let i;
35
35
  const a = al(() => o && "ResizeObserver" in o), r = () => {
36
36
  i && (i.disconnect(), i = void 0);
37
- }, u = Z(() => Array.isArray(e) ? e.map((g) => Fe(g)) : [Fe(e)]), f = le(
37
+ }, u = Z(() => Array.isArray(e) ? e.map((g) => Ie(g)) : [Ie(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 T of g)
43
- T && i.observe(T, t);
42
+ for (const P of g)
43
+ P && i.observe(P, t);
44
44
  }
45
45
  },
46
46
  { immediate: !0, flush: "post" }
@@ -54,32 +54,32 @@ function ul(e, l, n = {}) {
54
54
  }
55
55
  function cl(e, l = { width: 0, height: 0 }, n = {}) {
56
56
  const { window: o = mn, box: t = "content-box" } = n, i = Z(() => {
57
- var g, T;
58
- return (T = (g = Fe(e)) == null ? void 0 : g.namespaceURI) == null ? void 0 : T.includes("svg");
57
+ var g, P;
58
+ return (P = (g = Ie(e)) == null ? void 0 : g.namespaceURI) == null ? void 0 : P.includes("svg");
59
59
  }), a = q(l.width), r = q(l.height), { stop: u } = ul(
60
60
  e,
61
61
  ([g]) => {
62
- const T = t === "border-box" ? g.borderBoxSize : t === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
62
+ const P = t === "border-box" ? g.borderBoxSize : t === "content-box" ? g.contentBoxSize : g.devicePixelContentBoxSize;
63
63
  if (o && i.value) {
64
- const F = Fe(e);
65
- if (F) {
66
- const I = F.getBoundingClientRect();
67
- a.value = I.width, r.value = I.height;
64
+ const I = Ie(e);
65
+ if (I) {
66
+ const _ = I.getBoundingClientRect();
67
+ a.value = _.width, r.value = _.height;
68
68
  }
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);
69
+ } else if (P) {
70
+ const I = Array.isArray(P) ? P : [P];
71
+ a.value = I.reduce((_, { inlineSize: N }) => _ + N, 0), r.value = I.reduce((_, { blockSize: N }) => _ + N, 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
  rl(() => {
78
- const g = Fe(e);
78
+ const g = Ie(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
- () => Fe(e),
82
+ () => Ie(e),
83
83
  (g) => {
84
84
  a.value = g ? l.width : 0, r.value = g ? l.height : 0;
85
85
  }
@@ -133,8 +133,8 @@ 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, Pl = /^0b[01]+$/i, _l = /^0o[0-7]+$/i, Fl = parseInt;
137
- function Ne(e) {
136
+ var Vt = NaN, Pl = /^[-+]0x[0-9a-f]+$/i, Tl = /^0b[01]+$/i, Fl = /^0o[0-7]+$/i, Il = parseInt;
137
+ function Ae(e) {
138
138
  if (typeof e == "number")
139
139
  return e;
140
140
  if (Sl(e))
@@ -146,31 +146,31 @@ function Ne(e) {
146
146
  if (typeof e != "string")
147
147
  return e === 0 ? e : +e;
148
148
  e = Ml(e);
149
- var n = Pl.test(e);
150
- return n || _l.test(e) ? Fl(e.slice(2), n ? 2 : 8) : Tl.test(e) ? Vt : +e;
149
+ var n = Tl.test(e);
150
+ return n || Fl.test(e) ? Il(e.slice(2), n ? 2 : 8) : Pl.test(e) ? Vt : +e;
151
151
  }
152
- function Il(e, l, n) {
152
+ function _l(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;
154
154
  }
155
155
  function Ke(e, l, n) {
156
- return n === void 0 && (n = l, l = void 0), n !== void 0 && (n = Ne(n), n = n === n ? n : 0), l !== void 0 && (l = Ne(l), l = l === l ? l : 0), Il(Ne(e), l, n);
156
+ return n === void 0 && (n = l, l = void 0), n !== void 0 && (n = Ae(n), n = n === n ? n : 0), l !== void 0 && (l = Ae(l), l = l === l ? l : 0), _l(Ae(e), l, n);
157
157
  }
158
158
  var ht = function() {
159
159
  return gn.Date.now();
160
160
  }, Ol = "Expected a function", $l = Math.max, Rl = Math.min;
161
161
  function yn(e, l, n) {
162
- var o, t, i, a, r, u, f = 0, h = !1, g = !1, T = !0;
162
+ var o, t, i, a, r, u, f = 0, h = !1, g = !1, P = !0;
163
163
  if (typeof e != "function")
164
164
  throw new TypeError(Ol);
165
- l = Ne(l) || 0, lt(n) && (h = !!n.leading, g = "maxWait" in n, i = g ? $l(Ne(n.maxWait) || 0, l) : i, T = "trailing" in n ? !!n.trailing : T);
166
- function F(S) {
165
+ l = Ae(l) || 0, lt(n) && (h = !!n.leading, g = "maxWait" in n, i = g ? $l(Ae(n.maxWait) || 0, l) : i, P = "trailing" in n ? !!n.trailing : P);
166
+ function I(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 I(S) {
171
- return f = S, r = setTimeout(D, l), h ? F(S) : a;
170
+ function _(S) {
171
+ return f = S, r = setTimeout(D, l), h ? I(S) : a;
172
172
  }
173
- function A(S) {
173
+ function N(S) {
174
174
  var z = S - u, B = S - f, Y = l - z;
175
175
  return g ? Rl(Y, i - B) : Y;
176
176
  }
@@ -182,41 +182,41 @@ function yn(e, l, n) {
182
182
  var S = ht();
183
183
  if (k(S))
184
184
  return j(S);
185
- r = setTimeout(D, A(S));
185
+ r = setTimeout(D, N(S));
186
186
  }
187
187
  function j(S) {
188
- return r = void 0, T && o ? F(S) : (o = t = void 0, a);
188
+ return r = void 0, P && o ? I(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;
192
192
  }
193
- function N() {
193
+ function A() {
194
194
  return r === void 0 ? a : j(ht());
195
195
  }
196
196
  function ee() {
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 I(u);
200
+ return _(u);
201
201
  if (g)
202
- return clearTimeout(r), r = setTimeout(D, l), F(u);
202
+ return clearTimeout(r), r = setTimeout(D, l), I(u);
203
203
  }
204
204
  return r === void 0 && (r = setTimeout(D, l)), a;
205
205
  }
206
- return ee.cancel = X, ee.flush = N, ee;
206
+ return ee.cancel = X, ee.flush = A, ee;
207
207
  }
208
- var Al = "Expected a function";
208
+ var Nl = "Expected a function";
209
209
  function wn(e, l, n) {
210
210
  var o = !0, t = !0;
211
211
  if (typeof e != "function")
212
- throw new TypeError(Al);
212
+ throw new TypeError(Nl);
213
213
  return lt(n) && (o = "leading" in n ? !!n.leading : o, t = "trailing" in n ? !!n.trailing : t), yn(e, l, {
214
214
  leading: o,
215
215
  maxWait: l,
216
216
  trailing: t
217
217
  });
218
218
  }
219
- var Nl = Object.defineProperty, Wl = Object.defineProperties, Dl = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Hl = Object.prototype.hasOwnProperty, Bl = Object.prototype.propertyIsEnumerable, Qt = (e, l, n) => l in e ? Nl(e, l, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[l] = n, ot = (e, l) => {
219
+ var Al = Object.defineProperty, Wl = Object.defineProperties, Dl = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Hl = Object.prototype.hasOwnProperty, Bl = Object.prototype.propertyIsEnumerable, Qt = (e, l, n) => l in e ? Al(e, l, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[l] = n, ot = (e, l) => {
220
220
  for (var n in l || (l = {}))
221
221
  Hl.call(l, n) && Qt(e, n, l[n]);
222
222
  if (Gt)
@@ -253,7 +253,7 @@ function Ul(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
- }, T = (z) => {
256
+ }, P = (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,14 +261,14 @@ function Ul(e, { expose: l }) {
261
261
  f(), i.value && i.value.classList.add("scrollbar__thumbPlaceholder--scrolling"), u();
262
262
  }
263
263
  });
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 = () => {
264
+ let _ = be(!1), N = be(!1), k = be(null), D = null, j = null, X = Z(() => n.fixedThumb && !N.value);
265
+ const A = ([z]) => N.value = z.isIntersecting, ee = ([z]) => _.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], () => {
269
269
  if (!n.fixedThumb || !n.wrapperEl)
270
270
  return S();
271
- S(), j = new IntersectionObserver(ee, { threshold: [0, 0.5] }), j.observe(n.wrapperEl), D = new IntersectionObserver(N), D.observe(k.value);
271
+ S(), j = new IntersectionObserver(ee, { threshold: [0, 0.5] }), j.observe(n.wrapperEl), D = new IntersectionObserver(A), D.observe(k.value);
272
272
  }), tt(S), (z, B) => (c(), v(H, null, [
273
273
  me(y("div", {
274
274
  class: E([
@@ -288,13 +288,13 @@ function Ul(e, { expose: l }) {
288
288
  ref: (Y, ne) => {
289
289
  ne.thumbEl = Y, i.value = Y;
290
290
  },
291
- onPointerdown: pe(T, ["stop"])
291
+ onPointerdown: pe(P, ["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, ql), [
297
- [gt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? I.value : !0)]
297
+ [gt, !!e.scrollInfo.thumbSize && (e.fixedThumb ? _.value : !0)]
298
298
  ]),
299
299
  n.fixedThumb ? me((c(), v("div", {
300
300
  key: 0,
@@ -304,7 +304,7 @@ function Ul(e, { expose: l }) {
304
304
  class: E(["scrollbar__shepherd", `scrollbar__shepherd--${e.type}`])
305
305
  }, null, 2)), [
306
306
  [gt, !!e.scrollInfo.thumbSize]
307
- ]) : P("", !0)
307
+ ]) : T("", !0)
308
308
  ], 64));
309
309
  }
310
310
  const Vl = /* @__PURE__ */ xe(xn(ot({}, jl), {
@@ -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({}, Gl), n), a = l ? e[0] : be(null), r = Jn({ left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0, x: 0, y: 0 }), u = () => {
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();
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();
333
333
  };
334
334
  let f = null, h = null;
335
335
  const g = () => {
@@ -347,49 +347,49 @@ function Kl(e, { expose: l, emit: n }) {
347
347
  const o = e, t = {
348
348
  horizontal: { el: null, instance: null },
349
349
  vertical: { el: null, instance: null }
350
- }, i = (N, ee) => {
351
- t[ee].instance || (t[ee].instance = N);
350
+ }, i = (A, ee) => {
351
+ t[ee].instance || (t[ee].instance = A);
352
352
  };
353
353
  let a = be(null), r = be(null);
354
354
  Ee(() => {
355
- var N;
356
- const ee = Array.from((N = a.value.parentElement) == null ? void 0 : N.childNodes);
355
+ var A;
356
+ const ee = Array.from((A = a.value.parentElement) == null ? void 0 : A.childNodes);
357
357
  for (const S in t)
358
358
  t[S].el = ee.find((z) => {
359
359
  var B;
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: T }), f = Kt(r, { wait: o.throttleWait, type: o.throttleType, callback: T });
363
+ const u = Kt(a, { wait: o.throttleWait, type: o.throttleType, callback: P }), f = Kt(r, { wait: o.throttleWait, type: o.throttleType, callback: P });
364
364
  let h = be(0), g = be(0);
365
- function T() {
365
+ function P() {
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 F = Z(() => ({
368
+ let I = 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
- })), I = Z(() => ({
373
+ })), _ = 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 - I.value.thumbSize - 5), k = Z(() => u.width - F.value.thumbSize - 5);
378
+ })), N = Z(() => u.height - _.value.thumbSize - 5), k = Z(() => u.width - I.value.thumbSize - 5);
379
379
  const D = () => {
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());
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 * N.value}px, 0)`, t.vertical.instance.autoHideAfterScroll());
381
381
  };
382
382
  le(() => [g.value, h.value], D);
383
- const j = (N) => {
384
- N.stopPropagation();
385
- const ee = a.value.scrollLeft, S = a.value.scrollTop, z = Ke(ee + ((N == null ? void 0 : N.deltaX) || 0), 0, g.value) | 0, B = Ke(S + ((N == null ? void 0 : N.deltaY) || 0), 0, h.value) | 0;
386
- a.value.scrollLeft = z, a.value.scrollTop = B, g.value && (t.horizontal.el.style.transform = `translate3d(${z / g.value * k.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), h.value && (t.vertical.el.style.transform = `translate3d(0, ${B / h.value * A.value}px, 0)`, t.vertical.instance.autoHideAfterScroll()), n("scroll", { target: a.value, scrollLeft: z, scrollTop: B });
387
- }, X = (N) => {
388
- o.simulateScroll ? j(N) : D();
383
+ const j = (A) => {
384
+ A.stopPropagation();
385
+ const ee = a.value.scrollLeft, S = a.value.scrollTop, z = Ke(ee + ((A == null ? void 0 : A.deltaX) || 0), 0, g.value) | 0, B = Ke(S + ((A == null ? void 0 : A.deltaY) || 0), 0, h.value) | 0;
386
+ a.value.scrollLeft = z, a.value.scrollTop = B, g.value && (t.horizontal.el.style.transform = `translate3d(${z / g.value * k.value}px, 0, 0)`, t.horizontal.instance.autoHideAfterScroll()), h.value && (t.vertical.el.style.transform = `translate3d(0, ${B / h.value * N.value}px, 0)`, t.vertical.instance.autoHideAfterScroll()), n("scroll", { target: a.value, scrollLeft: z, scrollTop: B });
387
+ }, X = (A) => {
388
+ o.simulateScroll ? j(A) : D();
389
389
  };
390
390
  return le(u, () => n("wrapperResize", u)), le(f, () => n("contentResize", f)), l({
391
391
  scrollEl: a
392
- }), (N, ee) => (c(), v("div", {
392
+ }), (A, ee) => (c(), v("div", {
393
393
  class: E(["scrollbar__wrapper", e.wrapperClass]),
394
394
  style: U(e.wrapperStyle)
395
395
  }, [
@@ -398,7 +398,7 @@ function Kl(e, { expose: l, emit: n }) {
398
398
  z.wrapperEl = S, a.value = S;
399
399
  },
400
400
  class: "scrollbar__scroller"
401
- }, N.$attrs, {
401
+ }, A.$attrs, {
402
402
  onWheel: X,
403
403
  onScroll: X
404
404
  }), [
@@ -409,7 +409,7 @@ function Kl(e, { expose: l, emit: n }) {
409
409
  class: E(["scrollbar__content", e.contentClass, { "scrollbar__content--fixedThumb": e.fixedThumb, [`scrollbar__content--${e.direction}`]: e.direction }]),
410
410
  style: U(e.contentStyle)
411
411
  }, [
412
- oe(N.$slots, "default")
412
+ oe(A.$slots, "default")
413
413
  ], 6)
414
414
  ], 16),
415
415
  (c(), v(H, null, ue(t, (S, z) => te(Vl, {
@@ -420,7 +420,7 @@ function Kl(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" ? I.value : F.value,
423
+ scrollInfo: z === "vertical" ? _.value : I.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,27 +479,27 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
479
479
  // Used to detect double click on touch devices.
480
480
  splitter: null,
481
481
  timeoutId: null
482
- }), T = Z(() => ({
482
+ }), P = Z(() => ({
483
483
  [`splitpanes splitpanes--${o.horizontal ? "horizontal" : "vertical"}`]: !0,
484
484
  "splitpanes--dragging": h.value.dragging
485
- })), F = () => {
485
+ })), I = () => {
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
- }, I = () => {
487
+ }, _ = () => {
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
- }, A = (d, w) => {
489
+ }, N = (d, w) => {
490
490
  const L = d.target.closest(".splitpanes__splitter");
491
491
  if (L) {
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
- F(), h.value.mouseDown = !0, h.value.activeSplitter = w;
495
+ I(), 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, I();
502
+ h.value.dragging = !1, _();
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);
@@ -508,7 +508,7 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
508
508
  let L = 0;
509
509
  i.value = i.value.map((x, C) => (x.size = C === w ? x.max : x.min, C !== w && (L += x.min), x)), i.value[w].size -= L, ae("pane-maximize", { event: d, index: w, pane: i.value[w] }), ae("resized", { event: d, index: w }, !0);
510
510
  }
511
- }, N = (d, w) => {
511
+ }, A = (d, w) => {
512
512
  ae("pane-click", {
513
513
  event: d,
514
514
  index: a.value[w].index,
@@ -534,8 +534,8 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
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, Pe = O.max < 100 && M <= 100 - (O.max + ne(w + 1));
538
- if (ke || Pe) {
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) {
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
  }
@@ -565,7 +565,7 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
565
565
  }
566
566
  }, K = (d, w, L = !1) => {
567
567
  const x = d - 1, C = document.createElement("div");
568
- C.classList.add("splitpanes__splitter"), L || (C.onmousedown = (M) => A(M, x), typeof window < "u" && "ontouchstart" in window && (C.ontouchstart = (M) => A(M, x)), C.onclick = (M) => j(M, x + 1)), C.ondblclick = (M) => X(M, x + 1), w.parentNode.insertBefore(C, w);
568
+ C.classList.add("splitpanes__splitter"), L || (C.onmousedown = (M) => N(M, x), typeof window < "u" && "ontouchstart" in window && (C.ontouchstart = (M) => N(M, x)), C.onclick = (M) => j(M, x + 1)), C.ondblclick = (M) => X(M, x + 1), w.parentNode.insertBefore(C, w);
569
569
  }, de = (d) => {
570
570
  d.onmousedown = void 0, d.onclick = void 0, d.ondblclick = void 0, d.remove();
571
571
  }, ye = () => {
@@ -582,14 +582,14 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
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 && Ie(() => {
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(() => {
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), Ie(() => {
592
+ i.value.forEach((x, C) => x.index = C), _e(() => {
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({}, Ql), {
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 && Te(w, L, x);
603
+ w > 0.1 && Pe(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({}, Ql), {
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 && Te(C, w, L);
614
+ C > 0.1 && Pe(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({}, Ql), {
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 && Te(x, C, M);
625
+ x > 0.1 && Pe(x, C, M);
626
626
  }
627
- }, Te = (d, w, L) => {
627
+ }, Pe = (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({}, Ql), {
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 && Ie(() => {
637
+ }), Math.abs(d) > 0.1 && _e(() => {
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,16 +651,16 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
651
651
  };
652
652
  le(() => o.firstSplitter, () => ye()), Ee(() => {
653
653
  qe(), ye(), ce(), ae("ready"), f.value = !0;
654
- }), Tt(() => f.value = !1);
654
+ }), Pt(() => f.value = !1);
655
655
  const Rt = () => {
656
656
  var d;
657
657
  return bt(
658
658
  "div",
659
- { ref: u, class: T.value },
659
+ { ref: u, class: P.value },
660
660
  (d = t.default) == null ? void 0 : d.call(t)
661
661
  );
662
662
  };
663
- return Se("panes", i), Se("indexedPanes", a), Se("horizontal", Z(() => o.horizontal)), Se("requestUpdate", Oe), Se("onPaneAdd", je), Se("onPaneRemove", Ue), Se("onPaneClick", N), (d, w) => (c(), he(el(Rt)));
663
+ return Se("panes", i), Se("indexedPanes", a), Se("horizontal", Z(() => o.horizontal)), Se("requestUpdate", Oe), Se("onPaneAdd", je), Se("onPaneRemove", Ue), Se("onPaneClick", A), (d, w) => (c(), he(el(Rt)));
664
664
  }
665
665
  }, pt = {
666
666
  __name: "pane",
@@ -671,36 +671,36 @@ const Xt = /* @__PURE__ */ xe(xn(ot({}, Ql), {
671
671
  },
672
672
  setup(e) {
673
673
  var l;
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(() => {
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(() => {
675
675
  const k = isNaN(n.size) || n.size === void 0 ? 0 : parseFloat(n.size);
676
- return Math.max(Math.min(k, I.value), F.value);
677
- }), F = Z(() => {
676
+ return Math.max(Math.min(k, _.value), I.value);
677
+ }), I = Z(() => {
678
678
  const k = parseFloat(n.minSize);
679
679
  return isNaN(k) ? 0 : k;
680
- }), I = Z(() => {
680
+ }), _ = Z(() => {
681
681
  const k = parseFloat(n.maxSize);
682
682
  return isNaN(k) ? 100 : k;
683
- }), A = Z(() => {
683
+ }), N = 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(() => 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(() => {
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(() => {
688
688
  t({
689
689
  id: u,
690
690
  el: g.value,
691
- min: F.value,
692
- max: I.value,
691
+ min: I.value,
692
+ max: _.value,
693
693
  // The given size (useful to know the user intention).
694
- givenSize: n.size === void 0 ? null : T.value,
695
- size: T.value
694
+ givenSize: n.size === void 0 ? null : P.value,
695
+ size: P.value
696
696
  // The computed current size at any time.
697
697
  });
698
- }), Tt(() => a(u)), (k, D) => (c(), v("div", {
698
+ }), Pt(() => a(u)), (k, D) => (c(), v("div", {
699
699
  ref_key: "paneEl",
700
700
  ref: g,
701
701
  class: "splitpanes__pane",
702
702
  onClick: D[0] || (D[0] = (j) => Q(r)(j, k._.uid)),
703
- style: U(A.value)
703
+ style: U(N.value)
704
704
  }, [
705
705
  oe(k.$slots, "default")
706
706
  ], 4));
@@ -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] = eo(e, l));
864
864
  }
865
- function Pt(e, l) {
865
+ function Tt(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 oo(e, l) {
910
910
  }))
911
911
  return !1;
912
912
  const o = Le(l, n);
913
- return !!Pt(o, e);
913
+ return !!Tt(o, e);
914
914
  }
915
915
  const Ln = Object.freeze({
916
916
  width: null,
@@ -983,19 +983,19 @@ function fo(e, l) {
983
983
  height: n.height
984
984
  };
985
985
  let i = n.body;
986
- [n, o].forEach((A) => {
987
- const k = [], D = A.hFlip, j = A.vFlip;
988
- let X = A.rotate;
986
+ [n, o].forEach((N) => {
987
+ const k = [], D = N.hFlip, j = N.vFlip;
988
+ let X = N.rotate;
989
989
  D ? j ? X += 2 : (k.push(
990
990
  "translate(" + (t.width + t.left).toString() + " " + (0 - t.top).toString() + ")"
991
991
  ), k.push("scale(-1 1)"), t.top = t.left = 0) : j && (k.push(
992
992
  "translate(" + (0 - t.left).toString() + " " + (t.height + t.top).toString() + ")"
993
993
  ), k.push("scale(1 -1)"), t.top = t.left = 0);
994
- let N;
994
+ let A;
995
995
  switch (X < 0 && (X -= Math.floor(X / 4) * 4), X = X % 4, X) {
996
996
  case 1:
997
- N = t.height / 2 + t.top, k.unshift(
998
- "rotate(90 " + N.toString() + " " + N.toString() + ")"
997
+ A = t.height / 2 + t.top, k.unshift(
998
+ "rotate(90 " + A.toString() + " " + A.toString() + ")"
999
999
  );
1000
1000
  break;
1001
1001
  case 2:
@@ -1004,12 +1004,12 @@ function fo(e, l) {
1004
1004
  );
1005
1005
  break;
1006
1006
  case 3:
1007
- N = t.width / 2 + t.left, k.unshift(
1008
- "rotate(-90 " + N.toString() + " " + N.toString() + ")"
1007
+ A = t.width / 2 + t.left, k.unshift(
1008
+ "rotate(-90 " + A.toString() + " " + A.toString() + ")"
1009
1009
  );
1010
1010
  break;
1011
1011
  }
1012
- X % 2 === 1 && (t.left !== t.top && (N = t.left, t.left = t.top, t.top = N), t.width !== t.height && (N = t.width, t.width = t.height, t.height = N)), k.length && (i = uo(
1012
+ X % 2 === 1 && (t.left !== t.top && (A = t.left, t.left = t.top, t.top = A), t.width !== t.height && (A = t.width, t.width = t.height, t.height = A)), k.length && (i = uo(
1013
1013
  i,
1014
1014
  '<g transform="' + k.join(" ") + '">',
1015
1015
  "</g>"
@@ -1018,14 +1018,14 @@ function fo(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 T = {}, F = (A, k) => {
1022
- co(k) || (T[A] = k.toString());
1021
+ const P = {}, I = (N, k) => {
1022
+ co(k) || (P[N] = k.toString());
1023
1023
  };
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,
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: _,
1029
1029
  body: i
1030
1030
  };
1031
1031
  }
@@ -1056,7 +1056,7 @@ function go(e, l) {
1056
1056
  function xt(e) {
1057
1057
  return wt[e] || wt[""];
1058
1058
  }
1059
- function _t(e) {
1059
+ function Ft(e) {
1060
1060
  let l;
1061
1061
  if (typeof e.resources == "string")
1062
1062
  l = [e.resources];
@@ -1081,21 +1081,21 @@ function _t(e) {
1081
1081
  dataAfterTimeout: e.dataAfterTimeout !== !1
1082
1082
  };
1083
1083
  }
1084
- const Ft = /* @__PURE__ */ Object.create(null), Re = [
1084
+ const It = /* @__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
- Ft[""] = _t({
1090
+ It[""] = Ft({
1091
1091
  resources: ["https://api.iconify.design"].concat(Ze)
1092
1092
  });
1093
1093
  function bo(e, l) {
1094
- const n = _t(l);
1095
- return n === null ? !1 : (Ft[e] = n, !0);
1094
+ const n = Ft(l);
1095
+ return n === null ? !1 : (It[e] = n, !0);
1096
1096
  }
1097
- function It(e) {
1098
- return Ft[e];
1097
+ function _t(e) {
1098
+ return It[e];
1099
1099
  }
1100
1100
  const yo = () => {
1101
1101
  let e;
@@ -1107,7 +1107,7 @@ const yo = () => {
1107
1107
  };
1108
1108
  let tn = yo();
1109
1109
  function wo(e, l) {
1110
- const n = It(e);
1110
+ const n = _t(e);
1111
1111
  if (!n)
1112
1112
  return 0;
1113
1113
  let o;
@@ -1145,7 +1145,7 @@ const ko = (e, l, n) => {
1145
1145
  };
1146
1146
  function Co(e) {
1147
1147
  if (typeof e == "string") {
1148
- const l = It(e);
1148
+ const l = _t(e);
1149
1149
  if (l)
1150
1150
  return l.path;
1151
1151
  }
@@ -1273,7 +1273,7 @@ function Eo(e) {
1273
1273
  }));
1274
1274
  }
1275
1275
  let Mo = 0;
1276
- function To(e, l, n) {
1276
+ function Po(e, l, n) {
1277
1277
  const o = Mo++, t = Mn.bind(null, n, o);
1278
1278
  if (!l.pending.length)
1279
1279
  return t;
@@ -1287,14 +1287,14 @@ function To(e, l, n) {
1287
1287
  (a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
1288
1288
  }), t;
1289
1289
  }
1290
- function Po(e, l = !0, n = !1) {
1290
+ function To(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 _o = {
1297
+ var Fo = {
1298
1298
  resources: [],
1299
1299
  index: 0,
1300
1300
  timeout: 2e3,
@@ -1302,7 +1302,7 @@ var _o = {
1302
1302
  random: !1,
1303
1303
  dataAfterTimeout: !1
1304
1304
  };
1305
- function Fo(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 Fo(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, T = [], F = [];
1319
- typeof o == "function" && F.push(o);
1320
- function I() {
1318
+ let u = "pending", f = 0, h, g = null, P = [], I = [];
1319
+ typeof o == "function" && I.push(o);
1320
+ function _() {
1321
1321
  g && (clearTimeout(g), g = null);
1322
1322
  }
1323
- function A() {
1324
- u === "pending" && (u = "aborted"), I(), T.forEach((S) => {
1323
+ function N() {
1324
+ u === "pending" && (u = "aborted"), _(), P.forEach((S) => {
1325
1325
  S.status === "pending" && (S.status = "aborted");
1326
- }), T = [];
1326
+ }), P = [];
1327
1327
  }
1328
1328
  function k(S, z) {
1329
- z && (F = []), typeof S == "function" && F.push(S);
1329
+ z && (I = []), typeof S == "function" && I.push(S);
1330
1330
  }
1331
1331
  function D() {
1332
1332
  return {
@@ -1334,24 +1334,24 @@ function Fo(e, l, n, o) {
1334
1334
  payload: l,
1335
1335
  status: u,
1336
1336
  queriesSent: f,
1337
- queriesPending: T.length,
1337
+ queriesPending: P.length,
1338
1338
  subscribe: k,
1339
- abort: A
1339
+ abort: N
1340
1340
  };
1341
1341
  }
1342
1342
  function j() {
1343
- u = "failed", F.forEach((S) => {
1343
+ u = "failed", I.forEach((S) => {
1344
1344
  S(void 0, h);
1345
1345
  });
1346
1346
  }
1347
1347
  function X() {
1348
- T.forEach((S) => {
1348
+ P.forEach((S) => {
1349
1349
  S.status === "pending" && (S.status = "aborted");
1350
- }), T = [];
1350
+ }), P = [];
1351
1351
  }
1352
- function N(S, z, B) {
1352
+ function A(S, z, B) {
1353
1353
  const Y = z !== "success";
1354
- switch (T = T.filter((ne) => ne !== S), u) {
1354
+ switch (P = P.filter((ne) => ne !== S), u) {
1355
1355
  case "pending":
1356
1356
  break;
1357
1357
  case "failed":
@@ -1366,26 +1366,26 @@ function Fo(e, l, n, o) {
1366
1366
  return;
1367
1367
  }
1368
1368
  if (Y) {
1369
- h = B, T.length || (a.length ? ee() : j());
1369
+ h = B, P.length || (a.length ? ee() : j());
1370
1370
  return;
1371
1371
  }
1372
- if (I(), X(), !e.random) {
1372
+ if (_(), 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", F.forEach((ne) => {
1376
+ u = "completed", I.forEach((ne) => {
1377
1377
  ne(B);
1378
1378
  });
1379
1379
  }
1380
1380
  function ee() {
1381
1381
  if (u !== "pending")
1382
1382
  return;
1383
- I();
1383
+ _();
1384
1384
  const S = a.shift();
1385
1385
  if (S === void 0) {
1386
- if (T.length) {
1386
+ if (P.length) {
1387
1387
  g = setTimeout(() => {
1388
- I(), u === "pending" && (X(), j());
1388
+ _(), u === "pending" && (X(), j());
1389
1389
  }, e.timeout);
1390
1390
  return;
1391
1391
  }
@@ -1396,16 +1396,16 @@ function Fo(e, l, n, o) {
1396
1396
  status: "pending",
1397
1397
  resource: S,
1398
1398
  callback: (B, Y) => {
1399
- N(z, B, Y);
1399
+ A(z, B, Y);
1400
1400
  }
1401
1401
  };
1402
- T.push(z), f++, g = setTimeout(ee, e.rotate), n(S, l, z.callback);
1402
+ P.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 Tn(e) {
1406
+ function Pn(e) {
1407
1407
  const l = {
1408
- ..._o,
1408
+ ...Fo,
1409
1409
  ...e
1410
1410
  };
1411
1411
  let n = [];
@@ -1413,12 +1413,12 @@ function Tn(e) {
1413
1413
  n = n.filter((r) => r().status === "pending");
1414
1414
  }
1415
1415
  function t(r, u, f) {
1416
- const h = Fo(
1416
+ const h = Io(
1417
1417
  l,
1418
1418
  r,
1419
1419
  u,
1420
- (g, T) => {
1421
- o(), f && f(g, T);
1420
+ (g, P) => {
1421
+ o(), f && f(g, P);
1422
1422
  }
1423
1423
  );
1424
1424
  return n.push(h), h;
@@ -1439,12 +1439,12 @@ function Tn(e) {
1439
1439
  function nn() {
1440
1440
  }
1441
1441
  const mt = /* @__PURE__ */ Object.create(null);
1442
- function Io(e) {
1442
+ function _o(e) {
1443
1443
  if (!mt[e]) {
1444
- const l = It(e);
1444
+ const l = _t(e);
1445
1445
  if (!l)
1446
1446
  return;
1447
- const n = Tn(l), o = {
1447
+ const n = Pn(l), o = {
1448
1448
  config: l,
1449
1449
  redundancy: n
1450
1450
  };
@@ -1459,19 +1459,19 @@ function Oo(e, l, n) {
1459
1459
  if (!i)
1460
1460
  return n(void 0, 424), nn;
1461
1461
  t = i.send;
1462
- const a = Io(e);
1462
+ const a = _o(e);
1463
1463
  a && (o = a.redundancy);
1464
1464
  } else {
1465
- const i = _t(e);
1465
+ const i = Ft(e);
1466
1466
  if (i) {
1467
- o = Tn(i);
1467
+ o = Pn(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", Pn = He + "-count", on = He + "-version", _n = 36e5, $o = 168, Ro = 50;
1474
+ const ln = "iconify2", He = "iconify", Tn = He + "-count", on = He + "-version", Fn = 36e5, $o = 168, Ro = 50;
1475
1475
  function kt(e, l) {
1476
1476
  try {
1477
1477
  return e.getItem(l);
@@ -1491,24 +1491,24 @@ function rn(e, l) {
1491
1491
  }
1492
1492
  }
1493
1493
  function Ct(e, l) {
1494
- return Ot(e, Pn, l.toString());
1494
+ return Ot(e, Tn, l.toString());
1495
1495
  }
1496
1496
  function St(e) {
1497
- return parseInt(kt(e, Pn)) || 0;
1497
+ return parseInt(kt(e, Tn)) || 0;
1498
1498
  }
1499
1499
  const at = {
1500
1500
  local: !0,
1501
1501
  session: !0
1502
- }, Fn = {
1502
+ }, In = {
1503
1503
  local: /* @__PURE__ */ new Set(),
1504
1504
  session: /* @__PURE__ */ new Set()
1505
1505
  };
1506
1506
  let $t = !1;
1507
- function Ao(e) {
1507
+ function No(e) {
1508
1508
  $t = e;
1509
1509
  }
1510
1510
  let Xe = typeof window > "u" ? {} : window;
1511
- function In(e) {
1511
+ function _n(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 In(e) {
1518
1518
  at[e] = !1;
1519
1519
  }
1520
1520
  function On(e, l) {
1521
- const n = In(e);
1521
+ const n = _n(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() / _n) - $o, i = (r) => {
1534
+ const t = Math.floor(Date.now() / Fn) - $o, i = (r) => {
1535
1535
  const u = He + r.toString(), f = kt(n, u);
1536
1536
  if (typeof f == "string") {
1537
1537
  try {
@@ -1546,25 +1546,25 @@ 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)) : Fn[e].add(r));
1549
+ i(r) || (r === a - 1 ? (a--, Ct(n, a)) : In[e].add(r));
1550
1550
  }
1551
1551
  function $n() {
1552
1552
  if (!$t) {
1553
- Ao(!0);
1553
+ No(!0);
1554
1554
  for (const e in at)
1555
1555
  On(e, (l) => {
1556
1556
  const n = l.data, o = l.provider, t = n.prefix, i = Le(
1557
1557
  o,
1558
1558
  t
1559
1559
  );
1560
- if (!Pt(i, n).length)
1560
+ if (!Tt(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;
1564
1564
  });
1565
1565
  }
1566
1566
  }
1567
- function No(e, l) {
1567
+ function Ao(e, l) {
1568
1568
  const n = e.lastModifiedCached;
1569
1569
  if (
1570
1570
  // Matches or newer
@@ -1583,16 +1583,16 @@ function Wo(e, l) {
1583
1583
  $t || $n();
1584
1584
  function n(o) {
1585
1585
  let t;
1586
- if (!at[o] || !(t = In(o)))
1586
+ if (!at[o] || !(t = _n(o)))
1587
1587
  return;
1588
- const i = Fn[o];
1588
+ const i = In[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 >= Ro || !Ct(t, a + 1))
1593
1593
  return;
1594
1594
  const r = {
1595
- cached: Math.floor(Date.now() / _n),
1595
+ cached: Math.floor(Date.now() / Fn),
1596
1596
  provider: e.provider,
1597
1597
  data: l
1598
1598
  };
@@ -1602,7 +1602,7 @@ function Wo(e, l) {
1602
1602
  JSON.stringify(r)
1603
1603
  );
1604
1604
  }
1605
- l.lastModified && !No(e, l.lastModified) || Object.keys(l.icons).length && (l.not_found && (l = Object.assign({}, l), delete l.not_found), n("local") || n("session"));
1605
+ l.lastModified && !Ao(e, l.lastModified) || Object.keys(l.icons).length && (l.not_found && (l = Object.assign({}, l), delete l.not_found), n("local") || n("session"));
1606
1606
  }
1607
1607
  function sn() {
1608
1608
  }
@@ -1627,7 +1627,7 @@ function Ho(e, l) {
1627
1627
  });
1628
1628
  else
1629
1629
  try {
1630
- const f = Pt(
1630
+ const f = Tt(
1631
1631
  e,
1632
1632
  u
1633
1633
  );
@@ -1646,7 +1646,7 @@ function Ho(e, l) {
1646
1646
  }));
1647
1647
  }
1648
1648
  const Bo = (e, l) => {
1649
- const n = Po(e, !0, zn()), o = Lo(n);
1649
+ const n = To(e, !0, zn()), o = Lo(n);
1650
1650
  if (!o.pending.length) {
1651
1651
  let u = !0;
1652
1652
  return l && setTimeout(() => {
@@ -1670,12 +1670,12 @@ const Bo = (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, T = Le(f, h), F = T.pendingIcons || (T.pendingIcons = /* @__PURE__ */ new Set());
1674
- F.has(g) || (F.add(g), t[f][h].push(g));
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));
1675
1675
  }), i.forEach((u) => {
1676
1676
  const { provider: f, prefix: h } = u;
1677
1677
  t[f][h].length && Ho(u, t[f][h]);
1678
- }), l ? To(l, o, i) : sn;
1678
+ }), l ? Po(l, o, i) : sn;
1679
1679
  };
1680
1680
  function qo(e, l) {
1681
1681
  const n = {
@@ -1779,10 +1779,10 @@ function dn(e) {
1779
1779
  }
1780
1780
  const fn = (e, l) => {
1781
1781
  const n = qo(an, l), o = { ...Yo }, t = l.mode || "svg", i = {}, a = l.style, r = typeof a == "object" && !(a instanceof Array) ? a : {};
1782
- for (let A in l) {
1783
- const k = l[A];
1782
+ for (let N in l) {
1783
+ const k = l[N];
1784
1784
  if (k !== void 0)
1785
- switch (A) {
1785
+ switch (N) {
1786
1786
  case "icon":
1787
1787
  case "style":
1788
1788
  case "onLoad":
@@ -1791,7 +1791,7 @@ const fn = (e, l) => {
1791
1791
  case "inline":
1792
1792
  case "hFlip":
1793
1793
  case "vFlip":
1794
- n[A] = k === !0 || k === "true" || k === 1;
1794
+ n[N] = k === !0 || k === "true" || k === 1;
1795
1795
  break;
1796
1796
  case "flip":
1797
1797
  typeof k == "string" && Uo(n, k);
@@ -1800,15 +1800,15 @@ const fn = (e, l) => {
1800
1800
  i.color = k;
1801
1801
  break;
1802
1802
  case "rotate":
1803
- typeof k == "string" ? n[A] = Vo(k) : typeof k == "number" && (n[A] = k);
1803
+ typeof k == "string" ? n[N] = Vo(k) : typeof k == "number" && (n[N] = k);
1804
1804
  break;
1805
1805
  case "ariaHidden":
1806
1806
  case "aria-hidden":
1807
1807
  k !== !0 && k !== "true" && delete o["aria-hidden"];
1808
1808
  break;
1809
1809
  default: {
1810
- const D = et[A];
1811
- D ? (k === !0 || k === "true" || k === 1) && (n[D] = !0) : an[A] === void 0 && (o[A] = k);
1810
+ const D = et[N];
1811
+ D ? (k === !0 || k === "true" || k === 1) && (n[D] = !0) : an[N] === void 0 && (o[N] = k);
1812
1812
  }
1813
1813
  }
1814
1814
  }
@@ -1818,21 +1818,21 @@ const fn = (e, l) => {
1818
1818
  ...i,
1819
1819
  ...r
1820
1820
  }, Object.assign(o, f);
1821
- let A = 0, k = l.id;
1822
- return typeof k == "string" && (k = k.replace(/-/g, "_")), o.innerHTML = mo(u.body, k ? () => k + "ID" + A++ : "iconifyVue"), bt("svg", o);
1821
+ let N = 0, k = l.id;
1822
+ return typeof k == "string" && (k = k.replace(/-/g, "_")), o.innerHTML = mo(u.body, k ? () => k + "ID" + N++ : "iconifyVue"), bt("svg", o);
1823
1823
  }
1824
- const { body: h, width: g, height: T } = e, F = t === "mask" || (t === "bg" ? !1 : h.indexOf("currentColor") !== -1), I = Go(h, {
1824
+ const { body: h, width: g, height: P } = e, I = t === "mask" || (t === "bg" ? !1 : h.indexOf("currentColor") !== -1), _ = Go(h, {
1825
1825
  ...f,
1826
1826
  width: g + "",
1827
- height: T + ""
1827
+ height: P + ""
1828
1828
  });
1829
1829
  return o.style = {
1830
1830
  ...i,
1831
- "--svg": Xo(I),
1831
+ "--svg": Xo(_),
1832
1832
  width: dn(f.width),
1833
1833
  height: dn(f.height),
1834
1834
  ...Jo,
1835
- ...F ? zt : Rn,
1835
+ ...I ? zt : Rn,
1836
1836
  ...r
1837
1837
  }, bt("span", o);
1838
1838
  };
@@ -2033,7 +2033,7 @@ const Zo = {
2033
2033
  emits: ["close", "filterChange"],
2034
2034
  setup(e, { emit: l }) {
2035
2035
  const n = e;
2036
- Tt(() => {
2036
+ Pt(() => {
2037
2037
  document.removeEventListener("click", t);
2038
2038
  }), Ee(() => {
2039
2039
  document.addEventListener("click", t);
@@ -2136,7 +2136,7 @@ const Zo = {
2136
2136
  class: E({ active: n.column.condition === "LessThan" }),
2137
2137
  onClick: r[16] || (r[16] = (u) => i("LessThan"))
2138
2138
  }, G((n.columnFilterLang && n.columnFilterLang.LessThan) ?? "LessThan"), 3)
2139
- ], 64)) : P("", !0),
2139
+ ], 64)) : T("", !0),
2140
2140
  y("button", {
2141
2141
  type: "button",
2142
2142
  class: E({ active: n.column.condition === "IsNull" }),
@@ -2216,14 +2216,14 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2216
2216
  }, Mi = {
2217
2217
  key: 0,
2218
2218
  class: "bh-filter bh-relative"
2219
- }, Ti = ["onUpdate:modelValue"], Pi = ["onUpdate:modelValue"], _i = ["onUpdate:modelValue"], Fi = ["onUpdate:modelValue"], Ii = /* @__PURE__ */ y("option", { value: void 0 }, "All", -1), Oi = /* @__PURE__ */ y("option", { value: !0 }, "True", -1), $i = /* @__PURE__ */ y("option", { value: !1 }, "False", -1), Ri = [
2220
- Ii,
2219
+ }, Pi = ["onUpdate:modelValue"], Ti = ["onUpdate:modelValue"], Fi = ["onUpdate:modelValue"], Ii = ["onUpdate:modelValue"], _i = /* @__PURE__ */ y("option", { value: void 0 }, "All", -1), Oi = /* @__PURE__ */ y("option", { value: !0 }, "True", -1), $i = /* @__PURE__ */ y("option", { value: !1 }, "False", -1), Ri = [
2220
+ _i,
2221
2221
  Oi,
2222
2222
  $i
2223
- ], Ai = ["onClick"], Ni = {
2223
+ ], Ni = ["onClick"], Ai = {
2224
2224
  name: "columnHeader"
2225
2225
  }, Ye = /* @__PURE__ */ xe({
2226
- ...Ni,
2226
+ ...Ai,
2227
2227
  props: [
2228
2228
  "all",
2229
2229
  "expandedrows",
@@ -2269,7 +2269,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2269
2269
  te(gi, { class: "intermediate" })
2270
2270
  ])
2271
2271
  ])
2272
- ], 6)) : P("", !0),
2272
+ ], 6)) : T("", !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 Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2278
2278
  "bh-top-0": o.all.stickyHeader,
2279
2279
  "bh-left-0": o.all.stickyFirstColumn
2280
2280
  })
2281
- }, null, 6)) : P("", !0),
2281
+ }, null, 6)) : T("", !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 Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2287
2287
  key: 0,
2288
2288
  expandedrows: o.expandedrows,
2289
2289
  expandall: o.all.expandall
2290
- }, null, 8, ["expandedrows", "expandall"])) : P("", !0)
2291
- ], 4)) : P("", !0),
2290
+ }, null, 8, ["expandedrows", "expandall"])) : T("", !0)
2291
+ ], 4)) : T("", !0),
2292
2292
  (c(!0), v(H, null, ue(o.all.columns, (u, f) => (c(), v(H, null, [
2293
- u.hide ? P("", !0) : (c(), v("th", {
2293
+ u.hide ? T("", !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" : "",
@@ -2307,7 +2307,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2307
2307
  class: E(["bh-flex bh-items-center", [u.headerClass ? u.headerClass : ""]]),
2308
2308
  onClick: (h) => o.all.sortable && u.sort && t("sortChange", u.field)
2309
2309
  }, [
2310
- Ae(G(u.title) + " ", 1),
2310
+ Ne(G(u.title) + " ", 1),
2311
2311
  o.all.sortable && u.sort ? (c(), v("span", {
2312
2312
  key: 0,
2313
2313
  class: E(["bh-ml-3 bh-sort bh-flex bh-items-center", [o.currentSortColumn, o.currentSortDirection]])
@@ -2328,7 +2328,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2328
2328
  ]])
2329
2329
  }, null, 2)
2330
2330
  ]))
2331
- ], 2)) : P("", !0)
2331
+ ], 2)) : T("", !0)
2332
2332
  ], 10, Li),
2333
2333
  o.all.columnFilter && !o.isFooter ? (c(), v(H, { key: 0 }, [
2334
2334
  u.filter ? (c(), v("div", Mi, [
@@ -2338,21 +2338,21 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
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
- ]) : P("", !0),
2348
+ ]) : T("", !0),
2349
2349
  u.type === "number" ? 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, Pi)), [
2355
+ }, null, 40, Ti)), [
2356
2356
  [
2357
2357
  ft,
2358
2358
  u.value,
@@ -2368,7 +2368,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2368
2368
  type: "date",
2369
2369
  class: "bh-form-control",
2370
2370
  onChange: r[3] || (r[3] = (h) => t("filterChange"))
2371
- }, null, 40, _i)), [
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 Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
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
- }, Ri, 40, Fi)), [
2380
+ }, Ri, 40, Ii)), [
2381
2381
  [vn, u.value]
2382
- ]) : P("", !0),
2382
+ ]) : T("", !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(Ci, { class: "bh-w-4" })
2389
- ], 8, Ai)) : P("", !0),
2389
+ ], 8, Ni)) : T("", !0),
2390
2390
  me(te(ri, {
2391
2391
  column: u,
2392
2392
  type: u.type,
@@ -2396,8 +2396,8 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2396
2396
  }, null, 8, ["column", "type", "columnFilterLang"]), [
2397
2397
  [gt, o.isOpenFilter === u.field]
2398
2398
  ])
2399
- ])) : P("", !0)
2400
- ], 64)) : P("", !0)
2399
+ ])) : T("", !0)
2400
+ ], 64)) : T("", !0)
2401
2401
  ], 6))
2402
2402
  ], 64))), 256))
2403
2403
  ]));
@@ -2415,35 +2415,35 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2415
2415
  style: { overflow: "auto", "min-width": "0", width: "100%" }
2416
2416
  }, Vi = /* @__PURE__ */ y("span", null, "##Top Menu Slot##", -1), Gi = /* @__PURE__ */ y("span", null, "##Table Header Area Slot##", -1), Qi = /* @__PURE__ */ y("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__ */ y("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), lr = [
2417
2417
  nr
2418
- ], or = ["colspan"], ir = /* @__PURE__ */ y("span", null, "##Table Header Area Slot##", -1), rr = /* @__PURE__ */ y("span", null, "##Table Action Header Slot##", -1), sr = ["onClick"], ar = { class: "bh-checkbox" }, ur = ["value"], cr = ["innerHTML"], dr = ["onClick"], fr = ["colspan"], hr = ["colspan"], pr = /* @__PURE__ */ y("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), vr = [
2419
- pr
2420
- ], mr = ["colspan"], gr = { class: "bh-flex bh-items-center bh-flex-wrap bh-flex-col sm:bh-flex-row bh-gap-4" }, br = { class: "bh-pagination-info bh-flex bh-items-center" }, yr = { class: "bh-mr-2" }, wr = ["value"], xr = { class: "bh-pagination-number sm:bh-ml-auto bh-inline-flex bh-items-center bh-space-x-1" }, kr = ["innerHTML"], Cr = {
2418
+ ], or = ["colspan"], ir = /* @__PURE__ */ y("span", null, "##Table Header Area Slot##", -1), rr = ["onClick"], sr = { class: "bh-checkbox" }, ar = ["value"], ur = ["innerHTML"], cr = ["onClick"], dr = ["colspan"], fr = ["colspan"], hr = /* @__PURE__ */ y("div", { class: "bh-skeleton-box bh-h-8" }, null, -1), pr = [
2419
+ hr
2420
+ ], vr = ["colspan"], mr = { class: "bh-flex bh-items-center bh-flex-wrap bh-flex-col sm:bh-flex-row bh-gap-4" }, gr = { class: "bh-pagination-info bh-flex bh-items-center" }, br = { class: "bh-mr-2" }, yr = ["value"], wr = { class: "bh-pagination-number sm:bh-ml-auto bh-inline-flex bh-items-center bh-space-x-1" }, xr = ["innerHTML"], kr = {
2421
2421
  key: 1,
2422
2422
  "aria-hidden": "true",
2423
2423
  width: "14",
2424
2424
  height: "14",
2425
2425
  viewBox: "0 0 16 16"
2426
- }, Sr = /* @__PURE__ */ y("g", {
2426
+ }, Cr = /* @__PURE__ */ y("g", {
2427
2427
  fill: "currentColor",
2428
2428
  "fill-rule": "evenodd"
2429
2429
  }, [
2430
2430
  /* @__PURE__ */ y("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" }),
2431
2431
  /* @__PURE__ */ y("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" })
2432
- ], -1), zr = [
2433
- Sr
2434
- ], Lr = ["innerHTML"], Er = {
2432
+ ], -1), Sr = [
2433
+ Cr
2434
+ ], zr = ["innerHTML"], Lr = {
2435
2435
  key: 1,
2436
2436
  "aria-hidden": "true",
2437
2437
  width: "14",
2438
2438
  height: "14",
2439
2439
  viewBox: "0 0 16 16"
2440
- }, Mr = /* @__PURE__ */ y("path", {
2440
+ }, Er = /* @__PURE__ */ y("path", {
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), Tr = [
2445
- Mr
2446
- ], Pr = ["onClick"], _r = ["innerHTML"], Fr = {
2444
+ }, null, -1), Mr = [
2445
+ Er
2446
+ ], Pr = ["onClick"], Tr = ["innerHTML"], Fr = {
2447
2447
  key: 1,
2448
2448
  "aria-hidden": "true",
2449
2449
  width: "14",
@@ -2453,26 +2453,26 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
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
- }, null, -1), Or = [
2456
+ }, null, -1), _r = [
2457
2457
  Ir
2458
- ], $r = ["innerHTML"], Rr = {
2458
+ ], Or = ["innerHTML"], $r = {
2459
2459
  key: 1,
2460
2460
  "aria-hidden": "true",
2461
2461
  width: "14",
2462
2462
  height: "14",
2463
2463
  viewBox: "0 0 16 16"
2464
- }, Ar = /* @__PURE__ */ y("g", {
2464
+ }, Rr = /* @__PURE__ */ y("g", {
2465
2465
  fill: "currentColor",
2466
2466
  "fill-rule": "evenodd"
2467
2467
  }, [
2468
2468
  /* @__PURE__ */ y("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" }),
2469
2469
  /* @__PURE__ */ y("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" })
2470
2470
  ], -1), Nr = [
2471
- Ar
2472
- ], Wr = {
2471
+ Rr
2472
+ ], Ar = {
2473
2473
  name: "Vue3Datatable"
2474
- }, Hr = /* @__PURE__ */ xe({
2475
- ...Wr,
2474
+ }, Dr = /* @__PURE__ */ xe({
2475
+ ...Ar,
2476
2476
  props: {
2477
2477
  loading: { type: Boolean, default: !1 },
2478
2478
  isServerMode: { type: Boolean, default: !1 },
@@ -2565,10 +2565,10 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
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), T = t.sortDirection, F = q(t.totalRows), I = 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), P = t.sortDirection, I = q(t.totalRows), _ = q([]), N = 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
- let N = q(0);
2571
+ let A = q(0);
2572
2572
  const ee = q(230), S = q(t.leftmenuDefaultWidth), z = q(!1), B = q(null), Y = () => {
2573
2573
  if (B.value) {
2574
2574
  const s = z.value ? t.leftmenuMinWidth : t.leftmenuDefaultWidth;
@@ -2584,14 +2584,14 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
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(), Ie(() => {
2587
+ ve(), _e(() => {
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, console.log("Setting initial left menu state:", z.value), console.log("Setting initial left menu width:", S.value)) : S.value = t.leftmenuDefaultWidth, Y(), window.addEventListener("resize", ne);
2589
2589
  });
2590
2590
  });
2591
2591
  const re = n;
2592
2592
  l({
2593
2593
  reset() {
2594
- Nn();
2594
+ An();
2595
2595
  },
2596
2596
  getSelectedRows() {
2597
2597
  return Wn();
@@ -2603,10 +2603,10 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2603
2603
  return Hn();
2604
2604
  },
2605
2605
  selectRow(s) {
2606
- At(s);
2606
+ Nt(s);
2607
2607
  },
2608
2608
  unselectRow(s) {
2609
- Nt(s);
2609
+ At(s);
2610
2610
  },
2611
2611
  isRowSelected(s) {
2612
2612
  return Ge(s);
@@ -2625,11 +2625,11 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2625
2625
  const s = t.columns.find((m) => m.isUnique);
2626
2626
  return (s == null ? void 0 : s.field) || null;
2627
2627
  }), de = Z(() => {
2628
- const s = r.value < 1 ? 1 : Math.ceil(F.value / r.value);
2628
+ const s = r.value < 1 ? 1 : Math.ceil(I.value / r.value);
2629
2629
  return Math.max(s || 0, 1);
2630
2630
  }), ye = Z(() => (a.value - 1) * r.value + 1), Oe = Z(() => {
2631
2631
  const s = a.value * r.value;
2632
- return F.value >= s ? s : F.value;
2632
+ return I.value >= s ? s : I.value;
2633
2633
  }), je = Z(() => {
2634
2634
  let s, m;
2635
2635
  return typeof t.showNumbersCount < "u" && t.showNumbersCount < de.value ? (s = Math.max(
@@ -2643,31 +2643,31 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2643
2643
  let s = t.rows || [];
2644
2644
  if (!t.isServerMode) {
2645
2645
  if ((V = t.columns) == null || V.forEach((b) => {
2646
- 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((_) => {
2646
+ 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) => {
2647
2647
  var J;
2648
- return (J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().includes(b.value.toLowerCase());
2649
- }) : b.condition === "NotContains" ? s = s.filter((_) => {
2648
+ return (J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().includes(b.value.toLowerCase());
2649
+ }) : b.condition === "NotContains" ? s = s.filter((F) => {
2650
2650
  var J;
2651
- return !((J = O(_, b.field)) != null && J.toString().toLowerCase().includes(b.value.toLowerCase()));
2652
- }) : b.condition === "Equal" ? s = s.filter((_) => {
2651
+ return !((J = O(F, b.field)) != null && J.toString().toLowerCase().includes(b.value.toLowerCase()));
2652
+ }) : b.condition === "Equal" ? s = s.filter((F) => {
2653
2653
  var J;
2654
- return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase()) === b.value.toLowerCase();
2655
- }) : b.condition === "NotEqual" ? s = s.filter((_) => {
2654
+ return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase()) === b.value.toLowerCase();
2655
+ }) : b.condition === "NotEqual" ? s = s.filter((F) => {
2656
2656
  var J;
2657
- return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase()) !== b.value.toLowerCase();
2658
- }) : b.condition == "StartsWith" ? s = s.filter((_) => {
2657
+ return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase()) !== b.value.toLowerCase();
2658
+ }) : b.condition == "StartsWith" ? s = s.filter((F) => {
2659
2659
  var J;
2660
- return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().indexOf(b.value.toLowerCase())) === 0;
2661
- }) : b.condition == "EndsWith" && (s = s.filter((_) => {
2660
+ return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().indexOf(b.value.toLowerCase())) === 0;
2661
+ }) : b.condition == "EndsWith" && (s = s.filter((F) => {
2662
2662
  var J;
2663
- return ((J = O(_, b.field)) == null ? void 0 : J.toString().toLowerCase().substr(b.value.length * -1)) === b.value.toLowerCase();
2664
- }))) : 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))));
2663
+ return ((J = O(F, b.field)) == null ? void 0 : J.toString().toLowerCase().substr(b.value.length * -1)) === b.value.toLowerCase();
2664
+ }))) : 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))));
2665
2665
  }), D.value && (s != null && s.length)) {
2666
2666
  let b = [];
2667
- const _ = (t.columns || []).filter((J) => J.search && !J.hide).map((J) => J.field);
2667
+ const F = (t.columns || []).filter((J) => J.search && !J.hide).map((J) => J.field);
2668
2668
  for (var m = 0; m < (s == null ? void 0 : s.length); m++)
2669
- for (var p = 0; p < _.length; p++)
2670
- if ((R = O(s[m], _[p])) != null && R.toString().toLowerCase().includes(D.value.toLowerCase())) {
2669
+ for (var p = 0; p < F.length; p++)
2670
+ if ((R = O(s[m], F[p])) != null && R.toString().toLowerCase().includes(D.value.toLowerCase())) {
2671
2671
  b.push(s[m]);
2672
2672
  break;
2673
2673
  }
@@ -2678,16 +2678,16 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2678
2678
  sensitivity: "base"
2679
2679
  });
2680
2680
  const Vn = g.value === "desc" ? -1 : 1;
2681
- s.sort((b, _) => {
2681
+ s.sort((b, F) => {
2682
2682
  var Ht, Bt;
2683
- const J = (Ht = f.value) == null ? void 0 : Ht.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], b), Gn = (Bt = f.value) == null ? void 0 : Bt.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], _);
2683
+ const J = (Ht = f.value) == null ? void 0 : Ht.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], b), Gn = (Bt = f.value) == null ? void 0 : Bt.split(".").reduce((Ce, dt) => Ce == null ? void 0 : Ce[dt], F);
2684
2684
  return $.compare(J, Gn) * Vn;
2685
2685
  });
2686
2686
  }
2687
2687
  return s;
2688
2688
  }, ce = q([]), ve = () => {
2689
2689
  let s = [], m = Ue();
2690
- 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) {
2690
+ 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) {
2691
2691
  p.isExpanded != null && (ce.value.find((V) => V.id == p.id) || ce.value.push({
2692
2692
  id: p.id,
2693
2693
  isExpanded: p.isExpanded
@@ -2706,7 +2706,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2706
2706
  if (a.value == 1)
2707
2707
  return !1;
2708
2708
  a.value--;
2709
- }, Te = (s) => {
2709
+ }, Pe = (s) => {
2710
2710
  a.value = s;
2711
2711
  }, ae = () => {
2712
2712
  if (a.value >= de.value)
@@ -2730,17 +2730,17 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2730
2730
  let p = (a.value - 1) * r.value, $ = r.value;
2731
2731
  f.value = s, g.value = m, M(!1), ve(), t.isServerMode ? ge("sort") : re("sortChange", { offset: p, limit: $, field: s, direction: m });
2732
2732
  }, C = (s) => {
2733
- A.value = s.length && i.value.length && s.length === i.value.length;
2733
+ N.value = s.length && i.value.length && s.length === i.value.length;
2734
2734
  const m = i.value.filter(
2735
- (p, $) => I.value.includes(K.value ? p[K.value] : $)
2735
+ (p, $) => _.value.includes(K.value ? p[K.value] : $)
2736
2736
  );
2737
2737
  re("rowSelect", m);
2738
2738
  };
2739
- le(() => I.value, C);
2739
+ le(() => _.value, C);
2740
2740
  const M = (s) => {
2741
- s ? I.value = i.value.map(
2741
+ s ? _.value = i.value.map(
2742
2742
  (m, p) => K.value ? m[K.value] : p
2743
- ) : I.value = [];
2743
+ ) : _.value = [];
2744
2744
  }, W = () => {
2745
2745
  M(!1), t.isServerMode ? a.value === 1 ? ge("filter", !0) : a.value = 1 : (a.value = 1, ve(), re("filterChange", t.columns));
2746
2746
  }, ie = () => {
@@ -2761,13 +2761,13 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2761
2761
  } catch {
2762
2762
  }
2763
2763
  return "";
2764
- }, Pe = (s, m) => {
2765
- N.value++, N.value === 1 ? X.value = setTimeout(() => {
2766
- N.value = 0, t.selectRowOnClick && (Ge(m) ? Nt(m) : At(m), C(I.value)), re("rowClick", s);
2767
- }, ee.value) : N.value === 2 && (clearTimeout(X.value), N.value = 0, re("rowDBClick", s));
2764
+ }, Te = (s, m) => {
2765
+ A.value++, A.value === 1 ? X.value = setTimeout(() => {
2766
+ A.value = 0, t.selectRowOnClick && (Ge(m) ? At(m) : Nt(m), C(_.value)), re("rowClick", s);
2767
+ }, ee.value) : A.value === 2 && (clearTimeout(X.value), A.value = 0, re("rowDBClick", s));
2768
2768
  }, ge = (s, m = !1) => {
2769
2769
  if (t.isServerMode) {
2770
- An();
2770
+ Nn();
2771
2771
  const p = {
2772
2772
  current_page: m ? 1 : a.value,
2773
2773
  pagesize: r.value,
@@ -2780,37 +2780,37 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2780
2780
  };
2781
2781
  re("change", p);
2782
2782
  }
2783
- }, An = () => {
2783
+ }, Nn = () => {
2784
2784
  for (let s = 0; s < t.columns.length; s++) {
2785
2785
  let m = t.columns[s];
2786
2786
  m.filter && (m.value !== void 0 && m.value !== null && m.value !== "" || m.condition === "IsNull" || m.condition === "IsNotNull") && (m.type === "string" && m.value && !m.condition && (m.condition = "Contains"), m.type === "number" && m.value && !m.condition && (m.condition = "Equal"), m.type === "date" && m.value && !m.condition && (m.condition = "Equal"));
2787
2787
  }
2788
- }, Nn = () => {
2788
+ }, An = () => {
2789
2789
  M(!1);
2790
2790
  for (let s = 0; s < t.columns.length; s++)
2791
2791
  t.columns[s].value = "";
2792
- 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());
2792
+ 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());
2793
2793
  }, Wn = () => i.value.filter(
2794
- (m, p) => I.value.includes(K.value ? m[K.value] : p)
2794
+ (m, p) => _.value.includes(K.value ? m[K.value] : p)
2795
2795
  ), Dn = () => t.columns, Hn = () => {
2796
- I.value = [];
2797
- }, At = (s) => {
2796
+ _.value = [];
2797
+ }, Nt = (s) => {
2798
2798
  if (!Ge(s)) {
2799
2799
  const m = i.value.find((p, $) => $ === s);
2800
- I.value.push(
2800
+ _.value.push(
2801
2801
  K.value ? m[K.value] : s
2802
2802
  );
2803
2803
  }
2804
- }, Nt = (s) => {
2804
+ }, At = (s) => {
2805
2805
  if (Ge(s)) {
2806
2806
  const m = i.value.find((p, $) => $ === s);
2807
- I.value = I.value.filter(
2807
+ _.value = _.value.filter(
2808
2808
  (p) => p !== (K.value ? m[K.value] : s)
2809
2809
  );
2810
2810
  }
2811
2811
  }, Ge = (s) => {
2812
2812
  const m = i.value.find((p, $) => $ === s);
2813
- return m ? I.value.includes(
2813
+ return m ? _.value.includes(
2814
2814
  K.value ? m[K.value] : s
2815
2815
  ) : !1;
2816
2816
  };
@@ -2821,7 +2821,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2821
2821
  }, 2200), Qe = q(t.topmenusize), ct = q(null), jn = cl(ct).height, Un = (s) => {
2822
2822
  if (!s || !s.panes || !s.panes.length) return;
2823
2823
  const m = s.panes[0].size;
2824
- Qe.value = m, Ie(() => {
2824
+ Qe.value = m, _e(() => {
2825
2825
  var V;
2826
2826
  const p = (V = ct.value) == null ? void 0 : V.$el, $ = p ? p.offsetHeight : 0;
2827
2827
  re("currentTopMenuSize", $);
@@ -2869,7 +2869,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2869
2869
  }, ji, 4))
2870
2870
  ])
2871
2871
  ])
2872
- ], 4)) : P("", !0),
2872
+ ], 4)) : T("", !0),
2873
2873
  y("div", Ui, [
2874
2874
  s.enabletopmenu ? (c(), he(Q(Yt), {
2875
2875
  key: 0,
@@ -2893,7 +2893,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2893
2893
  ])
2894
2894
  ]),
2895
2895
  _: 3
2896
- }, 8, ["size", "max-size", "style"])) : P("", !0),
2896
+ }, 8, ["size", "max-size", "style"])) : T("", !0),
2897
2897
  te(Q(pt), {
2898
2898
  style: U({ "padding-right": s.tableRightOffset + "px", "padding-left": s.tableLeftOffset + "px" })
2899
2899
  }, {
@@ -2906,7 +2906,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2906
2906
  oe(s.$slots, "tableHeaderArea", {}, () => [
2907
2907
  Gi
2908
2908
  ])
2909
- ], 4)) : P("", !0),
2909
+ ], 4)) : T("", !0),
2910
2910
  oe(s.$slots, "tableactionheader", {}, () => [
2911
2911
  Qi
2912
2912
  ]),
@@ -2942,7 +2942,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2942
2942
  currentSortColumn: f.value,
2943
2943
  currentSortDirection: g.value,
2944
2944
  isOpenFilter: j.value,
2945
- checkAll: A.value,
2945
+ checkAll: N.value,
2946
2946
  columnFilterLang: t.columnFilterLang,
2947
2947
  onSelectAll: M,
2948
2948
  onSortChange: x,
@@ -2956,13 +2956,13 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2956
2956
  return c(), v(H, {
2957
2957
  key: p[K.value] ? p[K.value] : $
2958
2958
  }, [
2959
- F.value ? (c(), v("tr", {
2959
+ I.value ? (c(), v("tr", {
2960
2960
  key: 0,
2961
2961
  class: E([
2962
2962
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
2963
2963
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
2964
2964
  ]),
2965
- onClick: pe((R) => Pe(p, $), ["prevent"])
2965
+ onClick: pe((R) => Te(p, $), ["prevent"])
2966
2966
  }, [
2967
2967
  t.hasCheckbox ? (c(), v("td", {
2968
2968
  key: 0,
@@ -2973,19 +2973,19 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2973
2973
  }, [
2974
2974
  y("div", Xi, [
2975
2975
  me(y("input", {
2976
- "onUpdate:modelValue": m[0] || (m[0] = (R) => I.value = R),
2976
+ "onUpdate:modelValue": m[0] || (m[0] = (R) => _.value = R),
2977
2977
  type: "checkbox",
2978
2978
  value: p[K.value] ? p[K.value] : $,
2979
2979
  onClick: m[1] || (m[1] = pe(() => {
2980
2980
  }, ["stop"]))
2981
2981
  }, null, 8, Yi), [
2982
- [jt, I.value]
2982
+ [jt, _.value]
2983
2983
  ]),
2984
2984
  y("div", null, [
2985
2985
  te(Et, { class: "check" })
2986
2986
  ])
2987
2987
  ])
2988
- ], 6)) : P("", !0),
2988
+ ], 6)) : T("", !0),
2989
2989
  t.hasRightPanel ? (c(), v("td", {
2990
2990
  key: 1,
2991
2991
  style: U({ width: t.rightPanelColumnWidth + " !important", minWidth: t.rightPanelColumnWidth + " !important", padding: "0px !important" }),
@@ -2997,7 +2997,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
2997
2997
  item: p,
2998
2998
  onRightPanelClick: m[2] || (m[2] = (R) => re("rowRightPanelClick", R))
2999
2999
  }, null, 8, ["item"])
3000
- ], 6)) : P("", !0),
3000
+ ], 6)) : T("", !0),
3001
3001
  t.hasSubtable ? (c(), v("td", {
3002
3002
  key: 2,
3003
3003
  style: U({ width: t.subtableColumnWidth + " !important", minWidth: t.subtableColumnWidth + " !important" }),
@@ -3009,9 +3009,9 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3009
3009
  item: { ...p, _rowIndex: $ },
3010
3010
  expandedrows: ce.value
3011
3011
  }, null, 8, ["item", "expandedrows"])
3012
- ], 6)) : P("", !0),
3012
+ ], 6)) : T("", !0),
3013
3013
  (c(!0), v(H, null, ue(t.columns, (R, se) => (c(), v(H, null, [
3014
- R.hide ? P("", !0) : (c(), v("td", {
3014
+ R.hide ? T("", !0) : (c(), v("td", {
3015
3015
  key: R.field,
3016
3016
  class: E([
3017
3017
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3027,18 +3027,18 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3027
3027
  key: 1,
3028
3028
  innerHTML: R.cellRenderer(p)
3029
3029
  }, null, 8, Ji)) : (c(), v(H, { key: 2 }, [
3030
- Ae(G(O(p, R.field)), 1)
3030
+ Ne(G(O(p, R.field)), 1)
3031
3031
  ], 64))
3032
3032
  ], 2))
3033
3033
  ], 64))), 256))
3034
- ], 10, Ki)) : P("", !0),
3034
+ ], 10, Ki)) : T("", !0),
3035
3035
  (V = ce.value.find((R) => R.id == (p._rowIndex !== void 0 ? p._rowIndex : p.id || $))) != null && V.isExpanded && t.hasSubtable ? (c(), v("tr", {
3036
3036
  key: 1,
3037
3037
  class: E([
3038
3038
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3039
3039
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3040
3040
  ]),
3041
- onClick: pe((R) => Pe(p, $), ["prevent"])
3041
+ onClick: pe((R) => Te(p, $), ["prevent"])
3042
3042
  }, [
3043
3043
  y("td", {
3044
3044
  colspan: t.columns.length + Q(fe)
@@ -3049,10 +3049,10 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3049
3049
  filterItems: i.value
3050
3050
  })
3051
3051
  ], 8, er)
3052
- ], 10, Zi)) : P("", !0)
3052
+ ], 10, Zi)) : T("", !0)
3053
3053
  ], 64);
3054
3054
  }), 128)),
3055
- !F.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3055
+ !I.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3056
3056
  key: p,
3057
3057
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
3058
3058
  }, [
@@ -3060,17 +3060,17 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3060
3060
  colspan: t.columns.length + Q(fe),
3061
3061
  class: "!bh-p-0 !bh-border-transparent"
3062
3062
  }, lr, 8, tr)
3063
- ]))), 128)) : P("", !0),
3064
- F.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3063
+ ]))), 128)) : T("", !0),
3064
+ I.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3065
3065
  key: p[K.value] ? p[K.value] : $,
3066
3066
  class: "sticky-table-footer"
3067
3067
  }, [
3068
3068
  Q(fe) > 0 ? (c(), v("td", {
3069
3069
  key: 0,
3070
3070
  colspan: Q(fe)
3071
- }, null, 8, or)) : P("", !0),
3071
+ }, null, 8, or)) : T("", !0),
3072
3072
  (c(!0), v(H, null, ue(t.columns, (V, R) => (c(), v(H, null, [
3073
- V.hide ? P("", !0) : (c(), v("td", {
3073
+ V.hide ? T("", !0) : (c(), v("td", {
3074
3074
  key: V.field,
3075
3075
  class: E([
3076
3076
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3080,11 +3080,11 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3080
3080
  ])
3081
3081
  }, [
3082
3082
  p.cells.find((se) => se.field == V.field) ? (c(), v(H, { key: 0 }, [
3083
- Ae(G(p.cells.find((se) => se.field == V.field).text), 1)
3084
- ], 64)) : P("", !0)
3083
+ Ne(G(p.cells.find((se) => se.field == V.field).text), 1)
3084
+ ], 64)) : T("", !0)
3085
3085
  ], 2))
3086
3086
  ], 64))), 256))
3087
- ]))), 128)) : P("", !0)
3087
+ ]))), 128)) : T("", !0)
3088
3088
  ]),
3089
3089
  t.cloneHeaderInFooter ? (c(), v("tfoot", {
3090
3090
  key: 0,
@@ -3098,13 +3098,13 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3098
3098
  currentSortDirection: g.value,
3099
3099
  isOpenFilter: j.value,
3100
3100
  isFooter: !0,
3101
- checkAll: A.value,
3101
+ checkAll: N.value,
3102
3102
  onSelectAll: M,
3103
3103
  onSortChange: x,
3104
3104
  onFilterChange: W,
3105
3105
  onToggleFilterMenu: Me
3106
3106
  }, null, 8, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll"])
3107
- ], 2)) : P("", !0)
3107
+ ], 2)) : T("", !0)
3108
3108
  ], 2),
3109
3109
  k.value && s.enableloadinganimation ? (c(), v("div", {
3110
3110
  key: 0,
@@ -3114,9 +3114,9 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3114
3114
  })
3115
3115
  }, [
3116
3116
  oe(s.$slots, "loadercontent")
3117
- ], 4)) : P("", !0)
3117
+ ], 4)) : T("", !0)
3118
3118
  ], 6),
3119
- !F.value && !k.value ? (c(), v("div", {
3119
+ !I.value && !k.value ? (c(), v("div", {
3120
3120
  key: 0,
3121
3121
  class: "nodatacontent",
3122
3122
  style: U({
@@ -3126,7 +3126,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3126
3126
  oe(s.$slots, "nodatacontent", {}, () => [
3127
3127
  y("span", null, G(t.noDataContent), 1)
3128
3128
  ])
3129
- ], 4)) : P("", !0)
3129
+ ], 4)) : T("", !0)
3130
3130
  ]),
3131
3131
  _: 3
3132
3132
  }, 8, ["style", "autoHide", "fixedThumb", "autoExpand", "direction"])
@@ -3136,8 +3136,8 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3136
3136
  }, 8, ["style"])
3137
3137
  ]),
3138
3138
  _: 3
3139
- })) : P("", !0),
3140
- s.enabletopmenu ? P("", !0) : (c(), v("div", {
3139
+ })) : T("", !0),
3140
+ s.enabletopmenu ? T("", !0) : (c(), v("div", {
3141
3141
  key: 1,
3142
3142
  class: "bh-w-full bh-h-full",
3143
3143
  style: U({ "padding-right": s.tableRightOffset + "px", "padding-left": s.tableLeftOffset + "px" })
@@ -3150,10 +3150,8 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3150
3150
  oe(s.$slots, "tableHeaderArea", {}, () => [
3151
3151
  ir
3152
3152
  ])
3153
- ], 4)) : P("", !0),
3154
- oe(s.$slots, "tableactionheader", {}, () => [
3155
- rr
3156
- ]),
3153
+ ], 4)) : T("", !0),
3154
+ oe(s.$slots, "tableactionheader"),
3157
3155
  y("div", {
3158
3156
  class: E(t.scrollbarstyle)
3159
3157
  }, [
@@ -3186,7 +3184,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3186
3184
  currentSortColumn: f.value,
3187
3185
  currentSortDirection: g.value,
3188
3186
  isOpenFilter: j.value,
3189
- checkAll: A.value,
3187
+ checkAll: N.value,
3190
3188
  columnFilterLang: t.columnFilterLang,
3191
3189
  onSelectAll: M,
3192
3190
  onSortChange: x,
@@ -3200,13 +3198,13 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3200
3198
  return c(), v(H, {
3201
3199
  key: p[K.value] ? p[K.value] : $
3202
3200
  }, [
3203
- F.value ? (c(), v("tr", {
3201
+ I.value ? (c(), v("tr", {
3204
3202
  key: 0,
3205
3203
  class: E([
3206
3204
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3207
3205
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3208
3206
  ]),
3209
- onClick: pe((R) => Pe(p, $), ["prevent"])
3207
+ onClick: pe((R) => Te(p, $), ["prevent"])
3210
3208
  }, [
3211
3209
  t.hasCheckbox ? (c(), v("td", {
3212
3210
  key: 0,
@@ -3215,21 +3213,21 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3215
3213
  "bh-sticky bh-left-0 bh-bg-blue-light": t.stickyFirstColumn
3216
3214
  })
3217
3215
  }, [
3218
- y("div", ar, [
3216
+ y("div", sr, [
3219
3217
  me(y("input", {
3220
- "onUpdate:modelValue": m[3] || (m[3] = (R) => I.value = R),
3218
+ "onUpdate:modelValue": m[3] || (m[3] = (R) => _.value = R),
3221
3219
  type: "checkbox",
3222
3220
  value: p[K.value] ? p[K.value] : $,
3223
3221
  onClick: m[4] || (m[4] = pe(() => {
3224
3222
  }, ["stop"]))
3225
- }, null, 8, ur), [
3226
- [jt, I.value]
3223
+ }, null, 8, ar), [
3224
+ [jt, _.value]
3227
3225
  ]),
3228
3226
  y("div", null, [
3229
3227
  te(Et, { class: "check" })
3230
3228
  ])
3231
3229
  ])
3232
- ], 6)) : P("", !0),
3230
+ ], 6)) : T("", !0),
3233
3231
  t.hasRightPanel ? (c(), v("td", {
3234
3232
  key: 1,
3235
3233
  style: U({ width: t.rightPanelColumnWidth + " !important", minWidth: t.rightPanelColumnWidth + " !important", padding: "0px !important" }),
@@ -3241,7 +3239,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3241
3239
  item: p,
3242
3240
  onRightPanelClick: m[5] || (m[5] = (R) => re("rowRightPanelClick", R))
3243
3241
  }, null, 8, ["item"])
3244
- ], 6)) : P("", !0),
3242
+ ], 6)) : T("", !0),
3245
3243
  t.hasSubtable ? (c(), v("td", {
3246
3244
  key: 2,
3247
3245
  style: U({ width: t.subtableColumnWidth + " !important", minWidth: t.subtableColumnWidth + " !important" }),
@@ -3253,9 +3251,9 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3253
3251
  item: { ...p, _rowIndex: $ },
3254
3252
  expandedrows: ce.value
3255
3253
  }, null, 8, ["item", "expandedrows"])
3256
- ], 6)) : P("", !0),
3254
+ ], 6)) : T("", !0),
3257
3255
  (c(!0), v(H, null, ue(t.columns, (R, se) => (c(), v(H, null, [
3258
- R.hide ? P("", !0) : (c(), v("td", {
3256
+ R.hide ? T("", !0) : (c(), v("td", {
3259
3257
  key: R.field,
3260
3258
  class: E([
3261
3259
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3270,19 +3268,19 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3270
3268
  }) : R.cellRenderer ? (c(), v("div", {
3271
3269
  key: 1,
3272
3270
  innerHTML: R.cellRenderer(p)
3273
- }, null, 8, cr)) : (c(), v(H, { key: 2 }, [
3274
- Ae(G(O(p, R.field)), 1)
3271
+ }, null, 8, ur)) : (c(), v(H, { key: 2 }, [
3272
+ Ne(G(O(p, R.field)), 1)
3275
3273
  ], 64))
3276
3274
  ], 2))
3277
3275
  ], 64))), 256))
3278
- ], 10, sr)) : P("", !0),
3276
+ ], 10, rr)) : T("", !0),
3279
3277
  (V = ce.value.find((R) => R.id == (p._rowIndex !== void 0 ? p._rowIndex : p.id || $))) != null && V.isExpanded && t.hasSubtable ? (c(), v("tr", {
3280
3278
  key: 1,
3281
3279
  class: E([
3282
3280
  typeof t.rowClass == "function" ? s.rowClass(p) : t.rowClass,
3283
3281
  t.selectRowOnClick ? "bh-cursor-pointer" : ""
3284
3282
  ]),
3285
- onClick: pe((R) => Pe(p, $), ["prevent"])
3283
+ onClick: pe((R) => Te(p, $), ["prevent"])
3286
3284
  }, [
3287
3285
  y("td", {
3288
3286
  colspan: t.columns.length + Q(fe)
@@ -3303,29 +3301,29 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3303
3301
  filterItems: i.value
3304
3302
  })
3305
3303
  ], 4)
3306
- ], 8, fr)
3307
- ], 10, dr)) : P("", !0)
3304
+ ], 8, dr)
3305
+ ], 10, cr)) : T("", !0)
3308
3306
  ], 64);
3309
3307
  }), 128)),
3310
- !F.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3308
+ !I.value && k.value && s.skeletonloader ? (c(!0), v(H, { key: 0 }, ue(t.pageSize, (p) => (c(), v("tr", {
3311
3309
  key: p,
3312
3310
  class: "!bh-bg-white bh-h-11 !bh-border-transparent"
3313
3311
  }, [
3314
3312
  y("td", {
3315
3313
  colspan: t.columns.length + Q(fe),
3316
3314
  class: "!bh-p-0 !bh-border-transparent"
3317
- }, vr, 8, hr)
3318
- ]))), 128)) : P("", !0),
3319
- F.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3315
+ }, pr, 8, fr)
3316
+ ]))), 128)) : T("", !0),
3317
+ I.value ? (c(!0), v(H, { key: 1 }, ue(t.footerRows, (p, $) => (c(), v("tr", {
3320
3318
  key: p[K.value] ? p[K.value] : $,
3321
3319
  class: "sticky-table-footer"
3322
3320
  }, [
3323
3321
  Q(fe) > 0 ? (c(), v("td", {
3324
3322
  key: 0,
3325
3323
  colspan: Q(fe)
3326
- }, null, 8, mr)) : P("", !0),
3324
+ }, null, 8, vr)) : T("", !0),
3327
3325
  (c(!0), v(H, null, ue(t.columns, (V, R) => (c(), v(H, null, [
3328
- V.hide ? P("", !0) : (c(), v("td", {
3326
+ V.hide ? T("", !0) : (c(), v("td", {
3329
3327
  key: V.field,
3330
3328
  class: E([
3331
3329
  typeof t.cellClass == "function" ? s.cellClass(p) : t.cellClass,
@@ -3335,11 +3333,11 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3335
3333
  ])
3336
3334
  }, [
3337
3335
  p.cells.find((se) => se.field == V.field) ? (c(), v(H, { key: 0 }, [
3338
- Ae(G(p.cells.find((se) => se.field == V.field).text), 1)
3339
- ], 64)) : P("", !0)
3336
+ Ne(G(p.cells.find((se) => se.field == V.field).text), 1)
3337
+ ], 64)) : T("", !0)
3340
3338
  ], 2))
3341
3339
  ], 64))), 256))
3342
- ]))), 128)) : P("", !0)
3340
+ ]))), 128)) : T("", !0)
3343
3341
  ]),
3344
3342
  t.cloneHeaderInFooter ? (c(), v("tfoot", {
3345
3343
  key: 0,
@@ -3353,13 +3351,13 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3353
3351
  currentSortDirection: g.value,
3354
3352
  isOpenFilter: j.value,
3355
3353
  isFooter: !0,
3356
- checkAll: A.value,
3354
+ checkAll: N.value,
3357
3355
  onSelectAll: M,
3358
3356
  onSortChange: x,
3359
3357
  onFilterChange: W,
3360
3358
  onToggleFilterMenu: Me
3361
3359
  }, null, 8, ["currentSortColumn", "currentSortDirection", "isOpenFilter", "checkAll"])
3362
- ], 2)) : P("", !0)
3360
+ ], 2)) : T("", !0)
3363
3361
  ], 2),
3364
3362
  k.value && s.enableloadinganimation ? (c(), v("div", {
3365
3363
  key: 0,
@@ -3369,9 +3367,9 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3369
3367
  })
3370
3368
  }, [
3371
3369
  oe(s.$slots, "loadercontent")
3372
- ], 4)) : P("", !0)
3370
+ ], 4)) : T("", !0)
3373
3371
  ], 6),
3374
- !F.value && !k.value ? (c(), v("div", {
3372
+ !I.value && !k.value ? (c(), v("div", {
3375
3373
  key: 0,
3376
3374
  class: "nodatacontent",
3377
3375
  style: U({
@@ -3381,7 +3379,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3381
3379
  oe(s.$slots, "nodatacontent", {}, () => [
3382
3380
  y("span", null, G(t.noDataContent), 1)
3383
3381
  ])
3384
- ], 4)) : P("", !0)
3382
+ ], 4)) : T("", !0)
3385
3383
  ]),
3386
3384
  _: 3
3387
3385
  }, 8, ["style", "autoHide", "fixedThumb", "autoExpand", "direction"])
@@ -3395,18 +3393,18 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3395
3393
  ]),
3396
3394
  _: 3
3397
3395
  }, 8, ["style"]),
3398
- t.pagination && F.value ? (c(), v("div", {
3396
+ t.pagination && I.value ? (c(), v("div", {
3399
3397
  key: 0,
3400
3398
  class: E(["bh-pagination", {
3401
3399
  "bh-pointer-events-none": k.value,
3402
3400
  "sticky-footer": t.stickyFooter
3403
3401
  }])
3404
3402
  }, [
3405
- y("div", gr, [
3403
+ y("div", mr, [
3406
3404
  s.enablefooterpagination ? oe(s.$slots, "footerpageinfo", {
3407
3405
  key: 0,
3408
3406
  paginationInfo: s.paginationInfo,
3409
- filterRowCount: F.value,
3407
+ filterRowCount: I.value,
3410
3408
  offset: ye.value,
3411
3409
  limit: Oe.value,
3412
3410
  showPageSize: s.showPageSize,
@@ -3415,12 +3413,12 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3415
3413
  stringFormat: qe,
3416
3414
  setPageSize: w
3417
3415
  }, () => [
3418
- y("div", br, [
3419
- y("span", yr, G(qe(
3416
+ y("div", gr, [
3417
+ y("span", br, G(qe(
3420
3418
  t.paginationInfo,
3421
- F.value ? ye.value : 0,
3419
+ I.value ? ye.value : 0,
3422
3420
  Oe.value,
3423
- F.value
3421
+ I.value
3424
3422
  )), 1),
3425
3423
  t.showPageSize ? me((c(), v("select", {
3426
3424
  key: 0,
@@ -3430,22 +3428,22 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3430
3428
  (c(!0), v(H, null, ue(t.pageSizeOptions, (p) => (c(), v("option", {
3431
3429
  value: p,
3432
3430
  key: p
3433
- }, G(p), 9, wr))), 128))
3431
+ }, G(p), 9, yr))), 128))
3434
3432
  ], 512)), [
3435
3433
  [vn, r.value]
3436
- ]) : P("", !0)
3434
+ ]) : T("", !0)
3437
3435
  ])
3438
- ]) : P("", !0),
3436
+ ]) : T("", !0),
3439
3437
  s.enablefooterpagination ? oe(s.$slots, "footerpagination", {
3440
3438
  key: 1,
3441
3439
  currentPage: a.value,
3442
3440
  maxPage: de.value,
3443
3441
  paging: je.value,
3444
- movePage: Te,
3442
+ movePage: Pe,
3445
3443
  nextPage: ae,
3446
3444
  previousPage: Ve
3447
3445
  }, () => [
3448
- y("div", xr, [
3446
+ y("div", wr, [
3449
3447
  t.showFirstPage ? (c(), v("button", {
3450
3448
  key: 0,
3451
3449
  type: "button",
@@ -3455,8 +3453,8 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3455
3453
  t.firstArrow ? (c(), v("span", {
3456
3454
  key: 0,
3457
3455
  innerHTML: t.firstArrow
3458
- }, null, 8, kr)) : (c(), v("svg", Cr, zr))
3459
- ], 2)) : P("", !0),
3456
+ }, null, 8, xr)) : (c(), v("svg", kr, Sr))
3457
+ ], 2)) : T("", !0),
3460
3458
  y("button", {
3461
3459
  type: "button",
3462
3460
  class: E(["bh-page-item previous-page", { disabled: a.value <= 1 }]),
@@ -3465,7 +3463,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3465
3463
  t.previousArrow ? (c(), v("span", {
3466
3464
  key: 0,
3467
3465
  innerHTML: t.previousArrow
3468
- }, null, 8, Lr)) : (c(), v("svg", Er, Tr))
3466
+ }, null, 8, zr)) : (c(), v("svg", Lr, Mr))
3469
3467
  ], 2),
3470
3468
  t.showNumbers ? (c(!0), v(H, { key: 1 }, ue(je.value, (p) => (c(), v("button", {
3471
3469
  key: p,
@@ -3474,8 +3472,8 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3474
3472
  disabled: a.value === p,
3475
3473
  "bh-active": p === a.value
3476
3474
  }]),
3477
- onClick: ($) => Te(p)
3478
- }, G(p), 11, Pr))), 128)) : P("", !0),
3475
+ onClick: ($) => Pe(p)
3476
+ }, G(p), 11, Pr))), 128)) : T("", !0),
3479
3477
  y("button", {
3480
3478
  type: "button",
3481
3479
  class: E(["bh-page-item next-page", { disabled: a.value >= de.value }]),
@@ -3484,7 +3482,7 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3484
3482
  t.nextArrow ? (c(), v("span", {
3485
3483
  key: 0,
3486
3484
  innerHTML: t.nextArrow
3487
- }, null, 8, _r)) : (c(), v("svg", Fr, Or))
3485
+ }, null, 8, Tr)) : (c(), v("svg", Fr, _r))
3488
3486
  ], 2),
3489
3487
  t.showLastPage ? (c(), v("button", {
3490
3488
  key: 2,
@@ -3495,15 +3493,15 @@ const Ci = /* @__PURE__ */ Be(bi, [["render", ki]]), Si = { key: "hdrrow" }, zi
3495
3493
  t.lastArrow ? (c(), v("span", {
3496
3494
  key: 0,
3497
3495
  innerHTML: t.lastArrow
3498
- }, null, 8, $r)) : (c(), v("svg", Rr, Nr))
3499
- ], 2)) : P("", !0)
3496
+ }, null, 8, Or)) : (c(), v("svg", $r, Nr))
3497
+ ], 2)) : T("", !0)
3500
3498
  ])
3501
- ]) : P("", !0)
3499
+ ]) : T("", !0)
3502
3500
  ])
3503
- ], 2)) : P("", !0)
3501
+ ], 2)) : T("", !0)
3504
3502
  ]));
3505
3503
  }
3506
3504
  });
3507
3505
  export {
3508
- Hr as default
3506
+ Dr as default
3509
3507
  };