@fewangsit/wangsvue-fats 1.0.1-alpha.22 → 1.0.1-alpha.24

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,35 +1,35 @@
1
- import { defineComponent as gt, mergeModels as Fa, useModel as yt, computed as F, inject as xa, ref as I, shallowRef as R, onMounted as ht, onUnmounted as mt, watch as we, createElementBlock as c, openBlock as d, normalizeProps as se, guardReactiveProps as ie, unref as r, createElementVNode as x, withDirectives as wt, createCommentVNode as y, createVNode as _, createBlock as E, mergeProps as p, withCtx as de, Fragment as P, renderList as Z, createTextVNode as ue, toDisplayString as H, withModifiers as S, normalizeClass as ke, resolveDynamicComponent as kt, toHandlers as Ct, vShow as Rt, nextTick as Ha } from "vue";
2
- import { s as Dt } from "../vendor/simplebar-vue/dist/simplebar-vue.esm.es.js";
1
+ import { defineComponent as gt, mergeModels as Fa, useModel as yt, computed as F, inject as xa, ref as I, shallowRef as R, onMounted as ht, onUnmounted as mt, watch as we, createElementBlock as c, openBlock as d, normalizeProps as se, guardReactiveProps as ie, unref as r, createElementVNode as x, withDirectives as wt, createCommentVNode as y, createVNode as P, createBlock as E, mergeProps as p, withCtx as de, Fragment as _, renderList as Z, createTextVNode as ue, toDisplayString as H, renderSlot as kt, withModifiers as S, normalizeClass as ke, resolveDynamicComponent as Ct, toHandlers as Rt, vShow as Dt, nextTick as Ha } from "vue";
2
+ import { s as Tt } from "../vendor/simplebar-vue/dist/simplebar-vue.esm.es.js";
3
3
  import { e as m } from "../event-bus/index.es.js";
4
- import { u as Tt } from "../plugins/WangsVue.es.js";
5
- import { u as _t } from "../utils/baseToast.util.es.js";
6
- import { f as Pt } from "../utils/date.util.es.js";
7
- import { n as Kt, e as Et } from "../utils/exportToExcel.util.es.js";
8
- import { m as St } from "../utils/mergePropsWithDefaults.util.es.js";
4
+ import { u as _t } from "../plugins/WangsVue.es.js";
5
+ import { u as Pt } from "../utils/baseToast.util.es.js";
6
+ import { f as Kt } from "../utils/date.util.es.js";
7
+ import { n as Et, e as St } from "../utils/exportToExcel.util.es.js";
8
+ import { m as Nt } from "../utils/mergePropsWithDefaults.util.es.js";
9
9
  import { s as ce, g as B } from "../utils/object.util.es.js";
10
- import { u as Nt } from "../assetinfo/index.es.js";
11
- import { s as At } from "../vendor/primevue/paginator/paginator.esm.es.js";
10
+ import { u as At } from "../assetinfo/index.es.js";
11
+ import { s as Ft } from "../vendor/primevue/paginator/paginator.esm.es.js";
12
12
  import { O as Ba } from "../vendor/primevue/utils/utils.esm.es.js";
13
13
  import { _ as Be } from "../checkbox/index.es.js";
14
14
  import { _ as Ce } from "../animation/index.es.js";
15
15
  import { _ as $e } from "../button/index.es.js";
16
- import { _ as Ft } from "../customcolumn/index.es.js";
17
- import { _ as xt } from "../dialogconfirm/index.es.js";
16
+ import { _ as xt } from "../customcolumn/index.es.js";
17
+ import { _ as Ht } from "../dialogconfirm/index.es.js";
18
18
  import { _ as Q } from "../icon/index.es.js";
19
- import { _ as Ht } from "../menu/index.es.js";
20
- import { _ as Bt } from "../toast/index.es.js";
21
- import { _ as $t } from "../toggleswitch/index.es.js";
22
- import { _ as Mt } from "../multirow/index.es.js";
19
+ import { _ as Bt } from "../menu/index.es.js";
20
+ import { _ as $t } from "../toast/index.es.js";
21
+ import { _ as Mt } from "../toggleswitch/index.es.js";
22
+ import { _ as Ot } from "../multirow/index.es.js";
23
23
  /* empty css */
24
- import { c as Ot } from "../vendor/lodash-es/cloneDeep.es.js";
25
- import { _ as Ut } from "../backgroundimagecropper/index.es.js";
26
- function Lt(W) {
24
+ import { c as Ut } from "../vendor/lodash-es/cloneDeep.es.js";
25
+ import { _ as Lt } from "../backgroundimagecropper/index.es.js";
26
+ function It(W) {
27
27
  let $ = W.target;
28
28
  $.tagName === "UL" && ($ = $.parentElement);
29
29
  const { offsetHeight: t = 0 } = $, z = window.innerHeight * 90 / 100;
30
30
  t >= z && ($.style.transform = "translateY(5vh)");
31
31
  }
32
- const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"], Vt = { class: "flex" }, Qt = ["id"], Wt = { key: 0 }, qt = ["colspan"], Gt = ["id", "draggable", "onClick", "onDblclick", "onDragenter", "onDragstart"], Jt = ["onClick"], Yt = ["colspan"], Zt = ["colspan"], Xt = ["colspan"], el = ["colspan"], al = ["colspan"], tl = ["contenteditable", "onBlur", "onKeypress"], ll = { key: 1 }, ol = { key: 2 }, nl = ["colspan"], rl = /* @__PURE__ */ gt({
32
+ const zt = (W, $) => W.every((t) => $.includes(t)), jt = ["id"], Vt = ["onClick"], Qt = { class: "flex" }, Wt = ["id"], qt = { key: 0 }, Gt = ["colspan"], Jt = ["id", "draggable", "onClick", "onDblclick", "onDragenter", "onDragstart"], Yt = ["onClick"], Zt = ["colspan"], Xt = ["colspan"], el = ["colspan"], al = ["colspan"], tl = ["colspan"], ll = ["contenteditable", "onBlur", "onKeypress"], ol = { key: 1 }, nl = { key: 2 }, rl = ["colspan"], sl = /* @__PURE__ */ gt({
33
33
  __name: "DataTable",
34
34
  props: /* @__PURE__ */ Fa({
35
35
  treeTable: { type: Boolean },
@@ -75,7 +75,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
75
75
  }),
76
76
  emits: /* @__PURE__ */ Fa(["toggleOption", "selectData", "rowSelect", "page", "sort", "update:selectedData", "update:singleSelection", "cellEdited", "input", "rowReorder"], ["update:singleSelection"]),
77
77
  setup(W, { emit: $ }) {
78
- const t = W, z = $, Me = yt(W, "singleSelection"), { defaultProps: $a, locale: Oe } = Tt("DataTable"), X = F(() => St(t, $a)), u = xa("preset", {}).datatable, Ma = [10, 25, 50, 100], Oa = xa("useToastConfig"), Ue = _t(Oa), { setLoading: Le } = Nt(), Re = `${window.location.pathname.replace("/", "").split("/").join("-")}-${t.tableName}`, g = I(t.data ?? []), pe = R(t.data ?? []), M = I({}), O = I(t.columns), Ua = I(), La = I(), T = R([]), q = R(), Ie = R(0), ee = R(!1), fe = R(!1), Ia = R(0), ze = R(0), ve = R(0), De = R(!1), be = R(), Te = I(), je = I(), U = I([]), _e = R({}), ae = R(), Ve = R(), N = R(), D = R(), G = R(1), j = R(10), L = R(0), ge = I({}), Qe = F(() => {
78
+ const t = W, z = $, Me = yt(W, "singleSelection"), { defaultProps: $a, locale: Oe } = _t("DataTable"), X = F(() => Nt(t, $a)), u = xa("preset", {}).datatable, Ma = [10, 25, 50, 100], Oa = xa("useToastConfig"), Ue = Pt(Oa), { setLoading: Le } = At(), Re = `${window.location.pathname.replace("/", "").split("/").join("-")}-${t.tableName}`, g = I(t.data ?? []), pe = R(t.data ?? []), M = I({}), O = I(t.columns), Ua = I(), La = I(), T = R([]), q = R(), Ie = R(0), ee = R(!1), fe = R(!1), Ia = R(0), ze = R(0), ve = R(0), De = R(!1), be = R(), Te = I(), je = I(), U = I([]), _e = R({}), ae = R(), Ve = R(), N = R(), D = R(), G = R(1), j = R(10), L = R(0), ge = I({}), Qe = F(() => {
79
79
  var e, a;
80
80
  return (e = t.childTableProps) != null && e.columns ? (a = t.childTableProps) == null ? void 0 : a.columns.filter((n) => {
81
81
  var s;
@@ -106,7 +106,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
106
106
  var i, b, f, w, k;
107
107
  if (t.disableAllRows || !((i = Y()) != null && i.length) || t.selectionType !== "checkbox" || ((b = te.value) == null ? void 0 : b.length) === g.value.length)
108
108
  return !1;
109
- const e = (f = T.value) == null ? void 0 : f.length, a = ((w = xe(Y())) == null ? void 0 : w.map((l) => l[t.dataKey])) ?? [], n = ((k = T.value) == null ? void 0 : k.map((l) => l[t.dataKey])) ?? [], s = n.length ? It(a, n) : !1, v = e > 0 && e === (L.value ?? 0) - (te.value.length ?? 0);
109
+ const e = (f = T.value) == null ? void 0 : f.length, a = ((w = xe(Y())) == null ? void 0 : w.map((l) => l[t.dataKey])) ?? [], n = ((k = T.value) == null ? void 0 : k.map((l) => l[t.dataKey])) ?? [], s = n.length ? zt(a, n) : !1, v = e > 0 && e === (L.value ?? 0) - (te.value.length ?? 0);
110
110
  return s || v;
111
111
  }), te = F(
112
112
  () => ea(t.data ?? Y() ?? [])
@@ -345,7 +345,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
345
345
  }
346
346
  }, Ze = async () => {
347
347
  var n;
348
- const e = Ot(qe.value);
348
+ const e = Ut(qe.value);
349
349
  delete e.page, delete e.limit;
350
350
  const a = await ((n = t.fetchFunction) == null ? void 0 : n.call(t, e));
351
351
  if (a instanceof Error) throw a;
@@ -390,7 +390,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
390
390
  try {
391
391
  if (m.off("data-table:download", he), e === t.tableName) {
392
392
  Le(!0, Oe.downloadingMessage);
393
- const { data: k } = t.fetchFunction ? await Ze() : { data: t.data }, l = Kt(k, i, Oe);
393
+ const { data: k } = t.fetchFunction ? await Ze() : { data: t.data }, l = Et(k, i, Oe);
394
394
  if (a != null && a.length) {
395
395
  m.emit("button-download:multi-tables", {
396
396
  table: {
@@ -402,7 +402,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
402
402
  });
403
403
  return;
404
404
  }
405
- await Et({
405
+ await St({
406
406
  tables: [
407
407
  { headers: b, data: l, tableName: e, tableTitle: t.tableTitle }
408
408
  ],
@@ -484,7 +484,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
484
484
  var n, s, v;
485
485
  return d(), c("div", se(ie((n = r(u)) == null ? void 0 : n.root)), [
486
486
  x("div", se(ie((s = r(u)) == null ? void 0 : s.tablewrapper)), [
487
- _(r(Dt), p({ "auto-hide": !1 }, (v = r(u)) == null ? void 0 : v.scrollheightwrapper({ props: t }), { class: "custom-scrollbar" }), {
487
+ P(r(Tt), p({ "auto-hide": !1 }, (v = r(u)) == null ? void 0 : v.scrollheightwrapper({ props: t }), { class: "custom-scrollbar" }), {
488
488
  default: de(() => {
489
489
  var i, b, f, w, k;
490
490
  return [
@@ -500,7 +500,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
500
500
  e.selectionType === "checkbox" ? (d(), c("th", p({ key: 1 }, r(u).headercellcheckbox, {
501
501
  class: oe().class
502
502
  }), [
503
- _(Be, p(
503
+ P(Be, p(
504
504
  (b = r(u)) == null ? void 0 : b.headercheckbox({ context: { isSelectedAll: Je.value } }),
505
505
  {
506
506
  "model-value": Je.value,
@@ -512,7 +512,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
512
512
  e.treeTable ? (d(), c("th", p({ key: 2 }, r(u).headertoggler, {
513
513
  class: oe().class
514
514
  }), [
515
- _($e, p(
515
+ P($e, p(
516
516
  { onClick: qa },
517
517
  r(u).headertogglerbutton({ context: { isExpandedAll: Ge.value } }),
518
518
  {
@@ -521,7 +521,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
521
521
  }
522
522
  ), null, 16)
523
523
  ], 16)) : y("", !0),
524
- (d(!0), c(P, null, Z(O.value, (l) => (d(), c("th", p({
524
+ (d(!0), c(_, null, Z(O.value, (l) => (d(), c("th", p({
525
525
  key: l.field,
526
526
  class: [l.headerClass, l.class],
527
527
  ref_for: !0
@@ -529,7 +529,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
529
529
  onClick: (h) => l.sortable ? st(l.field, h) : null
530
530
  }), [
531
531
  x("span", p({ ref_for: !0 }, r(u).headercellcontent), [
532
- x("span", Vt, [
532
+ x("span", Qt, [
533
533
  ue(H(l.header) + " ", 1),
534
534
  l.info ? (d(), E(Q, {
535
535
  key: 0,
@@ -545,7 +545,7 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
545
545
  class: "text-base"
546
546
  }, null, 8, ["icon"])) : y("", !0)
547
547
  ], 16)
548
- ], 16, jt))), 128)),
548
+ ], 16, Vt))), 128)),
549
549
  Ke.value ? (d(), c("th", p({ key: 3 }, oe(void 0, t.customColumn), {
550
550
  id: `column-visibility-toggle-${r(Re)}`,
551
551
  onClick: a[1] || (a[1] = //@ts-ignore
@@ -558,35 +558,35 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
558
558
  icon: "ellipsis-h",
559
559
  "tooltip-pos": "left"
560
560
  }), null, 16)) : y("", !0)
561
- ], 16, Qt)) : y("", !0)
561
+ ], 16, Wt)) : y("", !0)
562
562
  ], 16)
563
563
  ], 16),
564
564
  x("tbody", se(ie((f = r(u)) == null ? void 0 : f.tbody)), [
565
- Pe.value ? (d(), c("tr", Wt, [
565
+ Pe.value ? (d(), c("tr", qt, [
566
566
  x("td", p({ colspan: We.value }, (w = r(u)) == null ? void 0 : w.bodycell), [
567
- (d(!0), c(P, null, Z(r(u).invisiblelottiewrapper ? 2 : 1, (l) => (d(), c("div", p(
567
+ (d(!0), c(_, null, Z(r(u).invisiblelottiewrapper ? 2 : 1, (l) => (d(), c("div", p(
568
568
  {
569
569
  key: l,
570
570
  ref_for: !0
571
571
  },
572
572
  l === 1 ? r(u).loadingtablewrapper : r(u).invisiblelottiewrapper
573
573
  ), [
574
- _(Ce, p({
574
+ P(Ce, p({
575
575
  animation: "loading-table",
576
576
  ref_for: !0
577
577
  }, r(u).loadingtablelottie), null, 16)
578
578
  ], 16))), 128))
579
- ], 16, qt)
580
- ])) : za.value ? (d(), c("tr", ol, [
579
+ ], 16, Gt)
580
+ ])) : za.value ? (d(), c("tr", nl, [
581
581
  x("td", p({ colspan: We.value }, (k = r(u)) == null ? void 0 : k.bodycell), [
582
- (d(!0), c(P, null, Z(r(u).invisiblelottiewrapper ? 2 : 1, (l) => (d(), c("div", p(
582
+ (d(!0), c(_, null, Z(r(u).invisiblelottiewrapper ? 2 : 1, (l) => (d(), c("div", p(
583
583
  {
584
584
  key: l,
585
585
  ref_for: !0
586
586
  },
587
587
  l === 1 ? r(u).nodatalottiewrapper : r(u).invisiblelottiewrapper
588
588
  ), [
589
- _(Ce, p({
589
+ P(Ce, p({
590
590
  animation: "no-data",
591
591
  ref_for: !0
592
592
  }, r(u).nodatalottie), null, 16),
@@ -595,348 +595,352 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
595
595
  ref_for: !0
596
596
  }, r(u).nodatamessage), H(X.value.emptyTableMessage), 17)) : y("", !0)
597
597
  ], 16))), 128))
598
- ], 16, nl)
599
- ])) : (d(!0), c(P, { key: 1 }, Z(ja.value, (l, h) => {
598
+ ], 16, rl)
599
+ ])) : (d(!0), c(_, { key: 1 }, Z(ja.value, (l, h) => {
600
600
  var ne, sa, ia, da, ua, ca, pa, fa, va, ba, ga;
601
- return d(), c("tr", p(
602
- {
603
- id: l._id,
604
- key: `${h}-${l[e.dataKey]}`,
605
- draggable: Ne(l),
606
- ref_for: !0
607
- },
608
- (ne = r(u)) == null ? void 0 : ne.bodyrow({
609
- context: {
610
- highlighted: l[e.highlightKey ?? ""],
611
- selected: Se(l[e.dataKey]),
612
- disabled: J(l[e.dataKey]),
601
+ return d(), c(_, {
602
+ key: `${h}-${l[e.dataKey]}`
603
+ }, [
604
+ x("tr", p(
605
+ {
606
+ id: l._id,
613
607
  draggable: Ne(l),
614
- dragging: De.value
615
- },
616
- props: t
617
- }),
618
- {
619
- onClick: (o) => Wa(o, l, h),
620
- onDblclick: (o) => {
621
- var V;
622
- return e.treeTable && ((V = l.children) != null && V.length || l.hasChildren) ? ye(l, h) : null;
608
+ ref_for: !0
623
609
  },
624
- onDrag: a[11] || (a[11] = (o) => De.value = !0),
625
- onDragenter: S((o) => Ya(o, l), ["prevent"]),
626
- onDragleave: a[12] || (a[12] = S(() => {
627
- }, ["prevent"])),
628
- onDragover: a[13] || (a[13] = S(() => {
629
- }, ["prevent"])),
630
- onDragstart: (o) => Ja(o, l, h),
631
- onDrop: Za
632
- }
633
- ), [
634
- e.reorderable && !D.value ? (d(), c("td", p({
635
- key: 0,
636
- ref_for: !0
637
- }, (sa = r(u)) == null ? void 0 : sa.bodycell), [
638
- !l.childRow && !l.childRowHeader ? (d(), E(Q, {
639
- key: 0,
640
- class: "draggableicon",
641
- icon: "dragable-menu"
642
- })) : y("", !0)
643
- ], 16)) : y("", !0),
644
- e.selectionType === "checkbox" ? (d(), c("td", p({
645
- key: 1,
646
- ref_for: !0
647
- }, (ia = r(u)) == null ? void 0 : ia.bodycell, {
648
- onClick: a[3] || (a[3] = S(() => {
649
- }, ["stop"]))
650
- }), [
651
- !l.childRow && !l.childRowHeader ? (d(), E(Be, p({
610
+ (ne = r(u)) == null ? void 0 : ne.bodyrow({
611
+ context: {
612
+ highlighted: l[e.highlightKey ?? ""],
613
+ selected: Se(l[e.dataKey]),
614
+ disabled: J(l[e.dataKey]),
615
+ draggable: Ne(l),
616
+ dragging: De.value
617
+ },
618
+ props: t
619
+ }),
620
+ {
621
+ onClick: (o) => Wa(o, l, h),
622
+ onDblclick: (o) => {
623
+ var V;
624
+ return e.treeTable && ((V = l.children) != null && V.length || l.hasChildren) ? ye(l, h) : null;
625
+ },
626
+ onDrag: a[11] || (a[11] = (o) => De.value = !0),
627
+ onDragenter: S((o) => Ya(o, l), ["prevent"]),
628
+ onDragleave: a[12] || (a[12] = S(() => {
629
+ }, ["prevent"])),
630
+ onDragover: a[13] || (a[13] = S(() => {
631
+ }, ["prevent"])),
632
+ onDragstart: (o) => Ja(o, l, h),
633
+ onDrop: Za
634
+ }
635
+ ), [
636
+ e.reorderable && !D.value ? (d(), c("td", p({
652
637
  key: 0,
653
638
  ref_for: !0
654
- }, (da = r(u)) == null ? void 0 : da.rowcheckbox, {
655
- modelValue: T.value,
656
- "onUpdate:modelValue": a[2] || (a[2] = (o) => T.value = o),
657
- binary: !1,
658
- disabled: J(l[e.dataKey]),
659
- value: l
660
- }), null, 16, ["modelValue", "disabled", "value"])) : y("", !0)
661
- ], 16)) : y("", !0),
662
- e.treeTable ? (d(), c("td", p({
663
- key: 2,
664
- ref_for: !0
665
- }, (ua = r(u)) == null ? void 0 : ua.bodycell, {
666
- onClick: (o) => {
667
- (l.childRow || l.childRowHeader) && o.stopPropagation();
668
- }
669
- }), [
670
- (ca = l.children) != null && ca.length || l.hasChildren ? (d(), E($e, p(
671
- {
639
+ }, (sa = r(u)) == null ? void 0 : sa.bodycell), [
640
+ !l.childRow && !l.childRowHeader ? (d(), E(Q, {
641
+ key: 0,
642
+ class: "draggableicon",
643
+ icon: "dragable-menu"
644
+ })) : y("", !0)
645
+ ], 16)) : y("", !0),
646
+ e.selectionType === "checkbox" ? (d(), c("td", p({
647
+ key: 1,
648
+ ref_for: !0
649
+ }, (ia = r(u)) == null ? void 0 : ia.bodycell, {
650
+ onClick: a[3] || (a[3] = S(() => {
651
+ }, ["stop"]))
652
+ }), [
653
+ !l.childRow && !l.childRowHeader ? (d(), E(Be, p({
672
654
  key: 0,
673
- onClick: S((o) => ye(l, h), ["stop"]),
674
655
  ref_for: !0
675
- },
676
- r(u).rowtogglerbutton({
677
- context: {
678
- isRowExpanded: Ee(l[e.dataKey])
679
- }
680
- }),
681
- {
682
- icon: "arrow-down",
683
- text: ""
656
+ }, (da = r(u)) == null ? void 0 : da.rowcheckbox, {
657
+ modelValue: T.value,
658
+ "onUpdate:modelValue": a[2] || (a[2] = (o) => T.value = o),
659
+ binary: !1,
660
+ disabled: J(l[e.dataKey]),
661
+ value: l
662
+ }), null, 16, ["modelValue", "disabled", "value"])) : y("", !0)
663
+ ], 16)) : y("", !0),
664
+ e.treeTable ? (d(), c("td", p({
665
+ key: 2,
666
+ ref_for: !0
667
+ }, (ua = r(u)) == null ? void 0 : ua.bodycell, {
668
+ onClick: (o) => {
669
+ (l.childRow || l.childRowHeader) && o.stopPropagation();
684
670
  }
685
- ), null, 16, ["onClick"])) : y("", !0)
686
- ], 16, Jt)) : y("", !0),
687
- (() => {
688
- var o;
689
- return l.childRowHeader && ((o = t.childTableProps) == null ? void 0 : o.useColumnsHeader);
690
- })() ? (d(), c(P, { key: 3 }, [
691
- (d(!0), c(P, null, Z(Qe.value, (o) => {
692
- var V, re;
693
- return d(), c("td", {
694
- key: o.header,
695
- class: ke([(V = r(u)) == null ? void 0 : V.bodycell.class, "font-semibold text-xs"]),
696
- colspan: o.colspan ?? ((re = o.parentColumnsFields) == null ? void 0 : re.length),
697
- onClick: a[4] || (a[4] = S(() => {
671
+ }), [
672
+ (ca = l.children) != null && ca.length || l.hasChildren ? (d(), E($e, p(
673
+ {
674
+ key: 0,
675
+ onClick: S((o) => ye(l, h), ["stop"]),
676
+ ref_for: !0
677
+ },
678
+ r(u).rowtogglerbutton({
679
+ context: {
680
+ isRowExpanded: Ee(l[e.dataKey])
681
+ }
682
+ }),
683
+ {
684
+ icon: "arrow-down",
685
+ text: ""
686
+ }
687
+ ), null, 16, ["onClick"])) : y("", !0)
688
+ ], 16, Yt)) : y("", !0),
689
+ (() => {
690
+ var o;
691
+ return l.childRowHeader && ((o = t.childTableProps) == null ? void 0 : o.useColumnsHeader);
692
+ })() ? (d(), c(_, { key: 3 }, [
693
+ (d(!0), c(_, null, Z(Qe.value, (o) => {
694
+ var V, re;
695
+ return d(), c("td", {
696
+ key: o.header,
697
+ class: ke([(V = r(u)) == null ? void 0 : V.bodycell.class, "font-semibold text-xs"]),
698
+ colspan: o.colspan ?? ((re = o.parentColumnsFields) == null ? void 0 : re.length),
699
+ onClick: a[4] || (a[4] = S(() => {
700
+ }, ["stop"]))
701
+ }, H(o.header), 11, Zt);
702
+ }), 128)),
703
+ Ke.value ? (d(), c("td", {
704
+ key: 0,
705
+ class: ke(r(u).bodycell.class),
706
+ onClick: a[5] || (a[5] = S(() => {
698
707
  }, ["stop"]))
699
- }, H(o.header), 11, Yt);
700
- }), 128)),
701
- Ke.value ? (d(), c("td", {
702
- key: 0,
703
- class: ke(r(u).bodycell.class),
704
- onClick: a[5] || (a[5] = S(() => {
708
+ }, null, 2)) : y("", !0)
709
+ ], 64)) : l.childRowHeader ? (d(), c("td", p({
710
+ key: 4,
711
+ ref_for: !0
712
+ }, r(u).childrowheader, {
713
+ class: (pa = r(u)) == null ? void 0 : pa.bodycell.class,
714
+ colspan: t.columns.length + 1,
715
+ onClick: a[6] || (a[6] = S(() => {
705
716
  }, ["stop"]))
706
- }, null, 2)) : y("", !0)
707
- ], 64)) : l.childRowHeader ? (d(), c("td", p({
708
- key: 4,
709
- ref_for: !0
710
- }, r(u).childrowheader, {
711
- class: (pa = r(u)) == null ? void 0 : pa.bodycell.class,
712
- colspan: t.columns.length + 1,
713
- onClick: a[6] || (a[6] = S(() => {
714
- }, ["stop"]))
715
- }), H(l.header), 17, Zt)) : l.loadingRow ? (d(), c("td", {
716
- key: 5,
717
- class: ke((fa = r(u)) == null ? void 0 : fa.bodycell.class),
718
- colspan: t.columns.length + 1,
719
- onClick: a[7] || (a[7] = S(() => {
720
- }, ["stop"]))
721
- }, [
722
- x("div", p({ ref_for: !0 }, r(u).loadingtablewrapper), [
723
- _(Ce, p({
724
- animation: "loading-table",
725
- ref_for: !0
726
- }, r(u).loadingtablelottie), null, 16)
727
- ], 16)
728
- ], 10, Xt)) : l.noDataRow ? (d(), c("td", {
729
- key: 6,
730
- class: ke((va = r(u)) == null ? void 0 : va.bodycell.class),
731
- colspan: t.columns.length + 1,
732
- onClick: a[8] || (a[8] = S(() => {
733
- }, ["stop"]))
734
- }, [
735
- x("div", p({ ref_for: !0 }, r(u).nodatalottiewrapper), [
736
- _(Ce, p({
737
- animation: "no-data",
738
- ref_for: !0
739
- }, r(u).nodatalottie), null, 16),
740
- X.value.emptyTableMessage ? (d(), c("span", p({
741
- key: 0,
742
- ref_for: !0
743
- }, r(u).nodatamessage), H(X.value.emptyTableMessage), 17)) : y("", !0)
744
- ], 16)
745
- ], 10, el)) : (d(), c(P, { key: 7 }, [
746
- (d(!0), c(P, null, Z(l.childRow ? Qe.value : O.value, (o) => {
747
- var V, re, ya, ha, ma, wa, ka, Ca, Ra, Da, Ta, _a, Pa, Ka, Ea, me, Sa, Na;
748
- return d(), c("td", p({
749
- key: o.field,
750
- class: [
751
- {
752
- "!py-0": o.editable,
753
- "!px-0": ((V = o.preset) == null ? void 0 : V.type) === "multirow"
754
- },
755
- typeof o.bodyClass == "function" ? o.bodyClass(l) : o.bodyClass,
756
- o.class
757
- ],
758
- colspan: o.colspan ?? ((re = o.parentColumnsFields) == null ? void 0 : re.length),
759
- ref_for: !0
760
- }, (ya = r(u)) == null ? void 0 : ya.bodycell), [
761
- ((ha = o.preset) == null ? void 0 : ha.type) === "toggle" || ((ma = o.preset) == null ? void 0 : ma.type) === "checkbox" ? (d(), c(P, { key: 0 }, [
762
- ((wa = o.preset) == null ? void 0 : wa.type) === "toggle" ? (d(), E($t, {
763
- key: 0,
764
- disabled: J(l[e.dataKey]) || (typeof ((ka = o.preset) == null ? void 0 : ka.disabled) == "function" ? (Ca = o.preset) == null ? void 0 : Ca.disabled(l) : (Ra = o.preset) == null ? void 0 : Ra.disabled),
765
- "input-id": l[e.dataKey],
766
- "model-value": r(B)(l, o.field),
767
- onClick: a[9] || (a[9] = S(() => {
768
- }, ["stop"])),
769
- "onUpdate:modelValue": (C) => {
770
- r(ce)(l, o.field, C), Ye(C, l, o);
771
- }
772
- }, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : y("", !0),
773
- ((Da = o.preset) == null ? void 0 : Da.type) === "checkbox" ? (d(), E(Be, {
774
- key: 1,
775
- disabled: J(l[e.dataKey]) || (typeof ((Ta = o.preset) == null ? void 0 : Ta.disabled) == "function" ? (_a = o.preset) == null ? void 0 : _a.disabled(l) : (Pa = o.preset) == null ? void 0 : Pa.disabled),
776
- "input-id": l[e.dataKey],
777
- "model-value": r(B)(l, o.field),
778
- onClick: a[10] || (a[10] = S(() => {
779
- }, ["stop"])),
780
- "onUpdate:modelValue": (C) => {
781
- r(ce)(l, o.field, !!C), Ye(!!C, l, o);
782
- },
783
- binary: ""
784
- }, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : y("", !0),
785
- (Ka = o.preset) != null && Ka.confirmDialogProps ? (d(), E(xt, p(
717
+ }), H(l.header), 17, Xt)) : l.loadingRow ? (d(), c("td", {
718
+ key: 5,
719
+ class: ke((fa = r(u)) == null ? void 0 : fa.bodycell.class),
720
+ colspan: t.columns.length + 1,
721
+ onClick: a[7] || (a[7] = S(() => {
722
+ }, ["stop"]))
723
+ }, [
724
+ x("div", p({ ref_for: !0 }, r(u).loadingtablewrapper), [
725
+ P(Ce, p({
726
+ animation: "loading-table",
727
+ ref_for: !0
728
+ }, r(u).loadingtablelottie), null, 16)
729
+ ], 16)
730
+ ], 10, el)) : l.noDataRow ? (d(), c("td", {
731
+ key: 6,
732
+ class: ke((va = r(u)) == null ? void 0 : va.bodycell.class),
733
+ colspan: t.columns.length + 1,
734
+ onClick: a[8] || (a[8] = S(() => {
735
+ }, ["stop"]))
736
+ }, [
737
+ x("div", p({ ref_for: !0 }, r(u).nodatalottiewrapper), [
738
+ P(Ce, p({
739
+ animation: "no-data",
740
+ ref_for: !0
741
+ }, r(u).nodatalottie), null, 16),
742
+ X.value.emptyTableMessage ? (d(), c("span", p({
743
+ key: 0,
744
+ ref_for: !0
745
+ }, r(u).nodatamessage), H(X.value.emptyTableMessage), 17)) : y("", !0)
746
+ ], 16)
747
+ ], 10, al)) : (d(), c(_, { key: 7 }, [
748
+ (d(!0), c(_, null, Z(l.childRow ? Qe.value : O.value, (o) => {
749
+ var V, re, ya, ha, ma, wa, ka, Ca, Ra, Da, Ta, _a, Pa, Ka, Ea, me, Sa, Na;
750
+ return d(), c("td", p({
751
+ key: o.field,
752
+ class: [
786
753
  {
787
- key: 2,
788
- list: [l],
789
- visible: !!ge.value[l[e.dataKey] + o.field],
790
- onClose: () => {
791
- var K, A, Aa;
792
- const C = () => r(ce)(
793
- l,
794
- o.field,
795
- !r(B)(l, o.field)
796
- );
797
- ((K = He(
798
- o.preset,
799
- l[o.field],
800
- l
801
- )) == null ? void 0 : K.actionable) == !1 && "onConfirm" in o.preset ? (Aa = (A = o.preset).onConfirm) == null || Aa.call(
802
- A,
803
- l[o.field],
804
- l,
805
- C
806
- ) : C();
754
+ "!py-0": o.editable,
755
+ "!px-0": ((V = o.preset) == null ? void 0 : V.type) === "multirow"
756
+ },
757
+ typeof o.bodyClass == "function" ? o.bodyClass(l) : o.bodyClass,
758
+ o.class
759
+ ],
760
+ colspan: o.colspan ?? ((re = o.parentColumnsFields) == null ? void 0 : re.length),
761
+ ref_for: !0
762
+ }, (ya = r(u)) == null ? void 0 : ya.bodycell), [
763
+ ((ha = o.preset) == null ? void 0 : ha.type) === "toggle" || ((ma = o.preset) == null ? void 0 : ma.type) === "checkbox" ? (d(), c(_, { key: 0 }, [
764
+ ((wa = o.preset) == null ? void 0 : wa.type) === "toggle" ? (d(), E(Mt, {
765
+ key: 0,
766
+ disabled: J(l[e.dataKey]) || (typeof ((ka = o.preset) == null ? void 0 : ka.disabled) == "function" ? (Ca = o.preset) == null ? void 0 : Ca.disabled(l) : (Ra = o.preset) == null ? void 0 : Ra.disabled),
767
+ "input-id": l[e.dataKey],
768
+ "model-value": r(B)(l, o.field),
769
+ onClick: a[9] || (a[9] = S(() => {
770
+ }, ["stop"])),
771
+ "onUpdate:modelValue": (C) => {
772
+ r(ce)(l, o.field, C), Ye(C, l, o);
773
+ }
774
+ }, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : y("", !0),
775
+ ((Da = o.preset) == null ? void 0 : Da.type) === "checkbox" ? (d(), E(Be, {
776
+ key: 1,
777
+ disabled: J(l[e.dataKey]) || (typeof ((Ta = o.preset) == null ? void 0 : Ta.disabled) == "function" ? (_a = o.preset) == null ? void 0 : _a.disabled(l) : (Pa = o.preset) == null ? void 0 : Pa.disabled),
778
+ "input-id": l[e.dataKey],
779
+ "model-value": r(B)(l, o.field),
780
+ onClick: a[10] || (a[10] = S(() => {
781
+ }, ["stop"])),
782
+ "onUpdate:modelValue": (C) => {
783
+ r(ce)(l, o.field, !!C), Ye(!!C, l, o);
807
784
  },
808
- onConfirm: (C) => {
809
- var K, A;
810
- return (A = (K = o.preset) == null ? void 0 : K.onConfirm) == null ? void 0 : A.call(
811
- K,
812
- l[o.field],
813
- l,
814
- () => r(ce)(
785
+ binary: ""
786
+ }, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : y("", !0),
787
+ (Ka = o.preset) != null && Ka.confirmDialogProps ? (d(), E(Ht, p(
788
+ {
789
+ key: 2,
790
+ list: [l],
791
+ visible: !!ge.value[l[e.dataKey] + o.field],
792
+ onClose: () => {
793
+ var K, A, Aa;
794
+ const C = () => r(ce)(
815
795
  l,
816
796
  o.field,
817
797
  !r(B)(l, o.field)
818
- )
819
- );
798
+ );
799
+ ((K = He(
800
+ o.preset,
801
+ l[o.field],
802
+ l
803
+ )) == null ? void 0 : K.actionable) == !1 && "onConfirm" in o.preset ? (Aa = (A = o.preset).onConfirm) == null || Aa.call(
804
+ A,
805
+ l[o.field],
806
+ l,
807
+ C
808
+ ) : C();
809
+ },
810
+ onConfirm: (C) => {
811
+ var K, A;
812
+ return (A = (K = o.preset) == null ? void 0 : K.onConfirm) == null ? void 0 : A.call(
813
+ K,
814
+ l[o.field],
815
+ l,
816
+ () => r(ce)(
817
+ l,
818
+ o.field,
819
+ !r(B)(l, o.field)
820
+ )
821
+ );
822
+ },
823
+ "onUpdate:visible": (C) => ge.value[l[e.dataKey] + o.field] = C,
824
+ actionable: "",
825
+ ref_for: !0
820
826
  },
821
- "onUpdate:visible": (C) => ge.value[l[e.dataKey] + o.field] = C,
822
- actionable: "",
823
- ref_for: !0
824
- },
825
- He(
826
- o.preset,
827
- l[o.field],
828
- l
829
- )
830
- ), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : y("", !0)
831
- ], 64)) : ((Ea = o.preset) == null ? void 0 : Ea.type) === "multirow" ? (d(), E(Mt, {
832
- key: 1,
833
- attributes: ((Sa = (me = o.preset) == null ? void 0 : me.fieldAttributes) == null ? void 0 : Sa.call(me, l)) ?? []
834
- }, null, 8, ["attributes"])) : o.editable ? (d(), c("span", p({
835
- key: 2,
836
- ref_for: !0
837
- }, r(u).celleditableelement, {
838
- contenteditable: o.editable,
839
- onBlur: (C) => {
840
- e.$emit("cellEdited", {
841
- item: l,
842
- field: o.field,
843
- index: h,
844
- value: C.target.innerText
845
- });
846
- },
847
- onKeypress: (C) => {
848
- o.numberInputOnly && ft(C);
849
- }
850
- }), H(r(B)(l, o.field) || "-"), 17, tl)) : o.bodyComponent || o.bodyClass || o.bodyTemplate || o.dateFormatOptions ? (d(), c(P, { key: 3 }, [
851
- o.bodyComponent ? (d(), E(kt(o.bodyComponent(l, h).component), p({
852
- key: 0,
853
- modelValue: o.bodyComponent(l, h).model,
854
- "onUpdate:modelValue": (C) => o.bodyComponent(l, h).model = C,
855
- disabled: o.bodyComponent(l, h).disabled,
827
+ He(
828
+ o.preset,
829
+ l[o.field],
830
+ l
831
+ )
832
+ ), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : y("", !0)
833
+ ], 64)) : ((Ea = o.preset) == null ? void 0 : Ea.type) === "multirow" ? (d(), E(Ot, {
834
+ key: 1,
835
+ attributes: ((Sa = (me = o.preset) == null ? void 0 : me.fieldAttributes) == null ? void 0 : Sa.call(me, l)) ?? []
836
+ }, null, 8, ["attributes"])) : o.editable ? (d(), c("span", p({
837
+ key: 2,
856
838
  ref_for: !0
857
- }, o.bodyComponent(l, h).props, Ct(
858
- o.bodyComponent(l, h).events ? o.bodyComponent(l, h).events : {}
859
- ), {
860
- onChange: (C) => {
861
- var K, A;
862
- return (A = (K = o.bodyComponent(l, h)).onChange) == null ? void 0 : A.call(K, l);
839
+ }, r(u).celleditableelement, {
840
+ contenteditable: o.editable,
841
+ onBlur: (C) => {
842
+ e.$emit("cellEdited", {
843
+ item: l,
844
+ field: o.field,
845
+ index: h,
846
+ value: C.target.innerText
847
+ });
863
848
  },
864
- onClick: (C) => {
865
- o.bodyComponent(l, h).stop !== !1 && C.stopPropagation();
866
- },
867
- "onUpdate:modelValue": (C) => {
868
- var K, A;
869
- return (A = (K = o.bodyComponent(l, h)).onChange) == null ? void 0 : A.call(K, l);
849
+ onKeypress: (C) => {
850
+ o.numberInputOnly && ft(C);
870
851
  }
871
- }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (d(), c("span", ll, [
872
- o.bodyTemplate ? (d(), c(P, { key: 0 }, [
873
- ue(H(((Na = o.bodyTemplate) == null ? void 0 : Na.call(o, l, h)) || "-"), 1)
874
- ], 64)) : o.dateFormatOptions ? (d(), c(P, { key: 1 }, [
875
- ue(H(r(Pt)(
876
- new Date(
877
- r(B)(
878
- l,
879
- o.field
880
- )
881
- ),
882
- o.dateFormatOptions
883
- )), 1)
884
- ], 64)) : (d(), c(P, { key: 2 }, [
885
- ue(H(r(B)(l, o.field) || "-"), 1)
886
- ], 64))
887
- ]))
888
- ], 64)) : (d(), c(P, { key: 4 }, [
889
- ue(H(r(B)(l, o.field) ?? "-"), 1)
890
- ], 64))
891
- ], 16, al);
892
- }), 128)),
893
- Ke.value ? (d(), c("td", p(
894
- {
895
- key: 0,
896
- ref_for: !0,
897
- ref_key: "rowSingleActionCell",
898
- ref: La
899
- },
900
- (ba = r(u)) == null ? void 0 : ba.rowsingleactioncell({
901
- props: t,
902
- context: {
903
- selected: Se(l[e.dataKey]),
904
- highlighted: l[e.highlightKey ?? ""]
852
+ }), H(r(B)(l, o.field) || "-"), 17, ll)) : o.bodyComponent || o.bodyClass || o.bodyTemplate || o.dateFormatOptions ? (d(), c(_, { key: 3 }, [
853
+ o.bodyComponent ? (d(), E(Ct(o.bodyComponent(l, h).component), p({
854
+ key: 0,
855
+ modelValue: o.bodyComponent(l, h).model,
856
+ "onUpdate:modelValue": (C) => o.bodyComponent(l, h).model = C,
857
+ disabled: o.bodyComponent(l, h).disabled,
858
+ ref_for: !0
859
+ }, o.bodyComponent(l, h).props, Rt(
860
+ o.bodyComponent(l, h).events ? o.bodyComponent(l, h).events : {}
861
+ ), {
862
+ onChange: (C) => {
863
+ var K, A;
864
+ return (A = (K = o.bodyComponent(l, h)).onChange) == null ? void 0 : A.call(K, l);
865
+ },
866
+ onClick: (C) => {
867
+ o.bodyComponent(l, h).stop !== !1 && C.stopPropagation();
868
+ },
869
+ "onUpdate:modelValue": (C) => {
870
+ var K, A;
871
+ return (A = (K = o.bodyComponent(l, h)).onChange) == null ? void 0 : A.call(K, l);
872
+ }
873
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (d(), c("span", ol, [
874
+ o.bodyTemplate ? (d(), c(_, { key: 0 }, [
875
+ ue(H(((Na = o.bodyTemplate) == null ? void 0 : Na.call(o, l, h)) || "-"), 1)
876
+ ], 64)) : o.dateFormatOptions ? (d(), c(_, { key: 1 }, [
877
+ ue(H(r(Kt)(
878
+ new Date(
879
+ r(B)(
880
+ l,
881
+ o.field
882
+ )
883
+ ),
884
+ o.dateFormatOptions
885
+ )), 1)
886
+ ], 64)) : (d(), c(_, { key: 2 }, [
887
+ ue(H(r(B)(l, o.field) || "-"), 1)
888
+ ], 64))
889
+ ]))
890
+ ], 64)) : (d(), c(_, { key: 4 }, [
891
+ ue(H(r(B)(l, o.field) ?? "-"), 1)
892
+ ], 64))
893
+ ], 16, tl);
894
+ }), 128)),
895
+ Ke.value ? (d(), c("td", p(
896
+ {
897
+ key: 0,
898
+ ref_for: !0,
899
+ ref_key: "rowSingleActionCell",
900
+ ref: La
901
+ },
902
+ (ba = r(u)) == null ? void 0 : ba.rowsingleactioncell({
903
+ props: t,
904
+ context: {
905
+ selected: Se(l[e.dataKey]),
906
+ highlighted: l[e.highlightKey ?? ""]
907
+ }
908
+ }),
909
+ {
910
+ class: r(u).bodycell.class
905
911
  }
906
- }),
907
- {
908
- class: r(u).bodycell.class
909
- }
910
- ), [
911
- !l.childRow && e.useOption || l.childRow && ((ga = t.childTableProps) != null && ga.useOption) ? (d(), c("div", p({
912
- key: 0,
913
- ref_for: !0
914
- }, r(u).singleactionwrapper), [
915
- _($e, p({
916
- id: "button-action-" + l[t.dataKey],
912
+ ), [
913
+ !l.childRow && e.useOption || l.childRow && ((ga = t.childTableProps) != null && ga.useOption) ? (d(), c("div", p({
914
+ key: 0,
917
915
  ref_for: !0
918
- }, r(u).singleactionbutton({ props: t }), {
919
- disabled: e.disableAllRows,
920
- onClick: S((o) => Ga(o, l), ["stop"]),
921
- icon: "ellipsis-h",
922
- outlined: "",
923
- size: "small",
924
- "tooltip-pos": "left",
925
- type: "button"
926
- }), null, 16, ["id", "disabled", "onClick"])
916
+ }, r(u).singleactionwrapper), [
917
+ P($e, p({
918
+ id: "button-action-" + l[t.dataKey],
919
+ ref_for: !0
920
+ }, r(u).singleactionbutton({ props: t }), {
921
+ disabled: e.disableAllRows,
922
+ onClick: S((o) => Ga(o, l), ["stop"]),
923
+ icon: "ellipsis-h",
924
+ outlined: "",
925
+ size: "small",
926
+ "tooltip-pos": "left",
927
+ type: "button"
928
+ }), null, 16, ["id", "disabled", "onClick"])
929
+ ], 16)) : y("", !0)
927
930
  ], 16)) : y("", !0)
928
- ], 16)) : y("", !0)
929
- ], 64))
930
- ], 16, Gt);
931
+ ], 64))
932
+ ], 16, Jt),
933
+ kt(e.$slots, "row-subcontent", { item: l }, void 0, !0)
934
+ ], 64);
931
935
  }), 128))
932
936
  ], 16)
933
- ], 16, zt))
937
+ ], 16, jt))
934
938
  ];
935
939
  }),
936
- _: 1
940
+ _: 3
937
941
  }, 16)
938
942
  ], 16),
939
- e.usePaginator ? wt((d(), E(r(At), p({
943
+ e.usePaginator ? wt((d(), E(r(Ft), p({
940
944
  key: ve.value,
941
945
  rows: j.value,
942
946
  "onUpdate:rows": a[14] || (a[14] = (i) => j.value = i)
@@ -946,32 +950,32 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
946
950
  onPage: rt
947
951
  }), {
948
952
  firstpagelinkicon: de(() => [
949
- _(Q, { icon: "round-keyboard-double-arrow-left" })
953
+ P(Q, { icon: "round-keyboard-double-arrow-left" })
950
954
  ]),
951
955
  lastpagelinkicon: de(() => [
952
- _(Q, { icon: "round-keyboard-double-arrow-right" })
956
+ P(Q, { icon: "round-keyboard-double-arrow-right" })
953
957
  ]),
954
958
  prevpagelinkicon: de(() => [
955
- _(Q, { icon: "round-keyboard-arrow-left" })
959
+ P(Q, { icon: "round-keyboard-arrow-left" })
956
960
  ]),
957
961
  nextpagelinkicon: de(() => [
958
- _(Q, { icon: "round-keyboard-arrow-right" })
962
+ P(Q, { icon: "round-keyboard-arrow-right" })
959
963
  ]),
960
964
  _: 1
961
965
  }, 16, ["rows", "total-records"])), [
962
- [Rt, !Pe.value]
966
+ [Dt, !Pe.value]
963
967
  ]) : y("", !0),
964
- _(Ht, {
968
+ P(Bt, {
965
969
  id: "single-action-menu",
966
970
  ref_key: "optionMenu",
967
971
  ref: je,
968
972
  model: e.options,
969
- onFocus: r(Lt),
973
+ onFocus: r(It),
970
974
  "append-to": "body",
971
975
  "auto-z-index": "",
972
976
  popup: ""
973
977
  }, null, 8, ["model", "onFocus"]),
974
- t.customColumn ? (d(), E(Ft, {
978
+ t.customColumn ? (d(), E(xt, {
975
979
  key: Ie.value,
976
980
  ref_key: "customColumn",
977
981
  ref: Te,
@@ -980,11 +984,11 @@ const It = (W, $) => W.every((t) => $.includes(t)), zt = ["id"], jt = ["onClick"
980
984
  "default-columns": e.columns.filter((i) => i.visible !== !1),
981
985
  "table-id": r(Re)
982
986
  }, null, 8, ["visible-columns", "default-columns", "table-id"])) : y("", !0),
983
- _(Bt, { group: "download" })
987
+ P($t, { group: "download" })
984
988
  ], 16);
985
989
  };
986
990
  }
987
- }), Al = /* @__PURE__ */ Ut(rl, [["__scopeId", "data-v-5797150a"]]);
991
+ }), Fl = /* @__PURE__ */ Lt(sl, [["__scopeId", "data-v-37d9df20"]]);
988
992
  export {
989
- Al as D
993
+ Fl as D
990
994
  };