asiaint-lowcode 3.1.38 → 3.1.39

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.
Files changed (43) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +161 -160
  3. package/dist/index.d.ts +15 -1
  4. package/dist/lazy/{Card-BDM6XuJU.js → Card-xaPIgEf-.js} +23 -22
  5. package/dist/lazy/{Cascader-CZHGG0pG.js → Cascader-CIneQK_J.js} +6 -5
  6. package/dist/lazy/{Checkbox-BhvL5E2k.js → Checkbox-C72IOaoc.js} +8 -7
  7. package/dist/lazy/{Collapse-ClRN3_Of.js → Collapse-KICA4Zu5.js} +1 -1
  8. package/dist/lazy/{Component-C7VeIPP5.js → Component-CuDRSQjU.js} +1 -1
  9. package/dist/lazy/{Component-DM4mr-di.js → Component-DYC0xOUO.js} +1 -1
  10. package/dist/lazy/{Component-555PMoc2.js → Component-D_olaC47.js} +1 -1
  11. package/dist/lazy/{Component-Z05b2x3I.js → Component-F_Q0psy5.js} +1 -1
  12. package/dist/lazy/{Component-CwrnPKx7.js → Component-jJWl2i0B.js} +1 -1
  13. package/dist/lazy/Component-vSUXweJM.js +153 -0
  14. package/dist/lazy/{CurdCard-MbVA6Mi-.js → CurdCard-D0jdTzK2.js} +1 -1
  15. package/dist/lazy/{Custom-CfeLPQAL.js → Custom-CT-vwPPd.js} +1 -1
  16. package/dist/lazy/DatePicker-QOEOzrF4.js +48 -0
  17. package/dist/lazy/{DragList-Ch2e0ELU.js → DragList-XbDqvP-j.js} +1 -1
  18. package/dist/lazy/{FilterSearch-Kt9PdLaA.js → FilterSearch-BqIZ1S1W.js} +1 -1
  19. package/dist/lazy/{FormList-D9SgU07A.js → FormList-xtHCsYzT.js} +1 -1
  20. package/dist/lazy/{Grid-BkcT4oBE.js → Grid-C1jTdSoZ.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-CcpNdUU1.js → InfiniteScroll-CZ4l8YsY.js} +1 -1
  22. package/dist/lazy/{Inline-DGUu4c-C.js → Inline-ChaJEtb4.js} +1 -1
  23. package/dist/lazy/{JsonEdit-EzeyrtX4.js → JsonEdit-Dcco309G.js} +1 -1
  24. package/dist/lazy/{LogList-CHVupI_V.js → LogList-CZXtzROI.js} +1 -1
  25. package/dist/lazy/{ObjGroup-ChPL8CLg.js → ObjGroup-CRIqAsRN.js} +1 -1
  26. package/dist/lazy/{OfferDetails-JouhmtOf.js → OfferDetails-B8Rz--PH.js} +1 -1
  27. package/dist/lazy/{Pagination-Dt_xyHyP.js → Pagination-DVdsyCWo.js} +1 -1
  28. package/dist/lazy/{Progress-BrL4wDR7.js → Progress-D0qjx-AG.js} +1 -1
  29. package/dist/lazy/{Radio-CR0QoEHh.js → Radio-DqnUepm9.js} +11 -10
  30. package/dist/lazy/{SearchSelect-BbDe3rPF.js → SearchSelect-DwBCUhg1.js} +8 -7
  31. package/dist/lazy/{Select-DOMvoT5o.js → Select-aTvuzPTf.js} +15 -13
  32. package/dist/lazy/{Table-BKElHVXy.js → Table-BLs3eSzr.js} +104 -93
  33. package/dist/lazy/Tabs-X9CjeOA2.js +72 -0
  34. package/dist/lazy/TextArea-Bc-TYkjs.js +36 -0
  35. package/dist/lazy/{Wrapper-DkjAAPP8.js → Wrapper-DxwoVC2i.js} +1 -1
  36. package/dist/lazy/{index-BHy32Cui.js → index-BAvzFzs-.js} +4200 -4103
  37. package/dist/lazy/{useSelect-BLTr8z88.js → useSelect-BglioMMD.js} +1 -1
  38. package/dist/style.css +2 -2
  39. package/package.json +1 -1
  40. package/dist/lazy/Component-BW8Nr-Mq.js +0 -96
  41. package/dist/lazy/DatePicker-Cdulq02P.js +0 -33
  42. package/dist/lazy/Tabs-DmKX4tAt.js +0 -47
  43. package/dist/lazy/TextArea-dV8kQ_Qw.js +0 -36
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
2
- import { I as v, a as C, _ as V } from "./index-BHy32Cui.js";
2
+ import { I as v, a as C, _ as V } from "./index-BAvzFzs-.js";
3
3
  const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
4
4
  key: 0,
5
5
  class: "empty-content"
@@ -1,9 +1,9 @@
1
- import { defineComponent as T, mergeModels as F, useModel as S, inject as g, resolveComponent as u, resolveDirective as w, openBlock as o, createElementBlock as c, toDisplayString as z, unref as i, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
2
- import { u as N, _ as O } from "./index-BHy32Cui.js";
3
- import { u as P } from "./useSelect-BLTr8z88.js";
1
+ import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
2
+ import { u as N, _ as O } from "./index-BAvzFzs-.js";
3
+ import { u as P } from "./useSelect-BglioMMD.js";
4
4
  const R = { key: 0 }, j = /* @__PURE__ */ T({
5
5
  __name: "Radio",
6
- props: /* @__PURE__ */ F({
6
+ props: /* @__PURE__ */ w({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  mode: { default: "static" },
@@ -20,6 +20,7 @@ const R = { key: 0 }, j = /* @__PURE__ */ T({
20
20
  filters: {},
21
21
  refreshFlag: { type: Boolean },
22
22
  clearable: { type: Boolean },
23
+ width: {},
23
24
  optionType: { default: "circle" },
24
25
  direction: { default: "horizontal" },
25
26
  space: { default: 8 }
@@ -29,7 +30,7 @@ const R = { key: 0 }, j = /* @__PURE__ */ T({
29
30
  }),
30
31
  emits: ["update:modelValue"],
31
32
  setup(y) {
32
- const l = y, p = S(y, "modelValue"), m = N(), v = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
33
+ const l = y, p = F(y, "modelValue"), m = N(), v = g("ruleModule", void 0), M = g("pageMethodMap", {}), _ = (e) => {
33
34
  const { valueKey: d = "value", name: s } = l;
34
35
  let n = {};
35
36
  if (n = r.value.find((t) => t[d] === e) || {}, m.selectData && s && m.updateSelectData(s, n), l.onChange && v)
@@ -42,8 +43,8 @@ onChange: ${l.onChange}`);
42
43
  }, { currentOptions: r, loading: B } = P(l);
43
44
  return (e, d) => {
44
45
  var b;
45
- const s = u("el-radio"), n = u("el-radio-button"), t = u("el-space"), V = u("el-radio-group"), D = w("loading");
46
- return e.read ? (o(), c("div", R, z(((b = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : b[e.labelKey]) || "--"), 1)) : I((o(), f(V, h({
46
+ const s = i("el-radio"), n = i("el-radio-button"), t = i("el-space"), V = i("el-radio-group"), D = S("loading");
47
+ return e.read ? (o(), c("div", R, z(((b = u(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : b[e.labelKey]) || "--"), 1)) : I((o(), f(V, h({
47
48
  key: 1,
48
49
  modelValue: p.value,
49
50
  "onUpdate:modelValue": d[0] || (d[0] = (a) => p.value = a),
@@ -57,13 +58,13 @@ onChange: ${l.onChange}`);
57
58
  alignment: "normal"
58
59
  }, {
59
60
  default: K(() => [
60
- e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(C, { key: 0 }, k(i(r), (a) => (o(), f(s, {
61
+ e.optionType === "circle" || e.optionType === "border" ? (o(!0), c(C, { key: 0 }, k(u(r), (a) => (o(), f(s, {
61
62
  key: a[e.valueKey],
62
63
  label: a[e.labelKey],
63
64
  value: a[e.valueKey],
64
65
  disabled: a[e.disabledKey],
65
66
  border: e.optionType === "border"
66
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(C, { key: 1 }, k(i(r), (a) => (o(), f(n, h({
67
+ }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), c(C, { key: 1 }, k(u(r), (a) => (o(), f(n, h({
67
68
  key: a[e.valueKey],
68
69
  label: a[e.labelKey],
69
70
  value: a[e.valueKey],
@@ -77,7 +78,7 @@ onChange: ${l.onChange}`);
77
78
  ]),
78
79
  _: 1
79
80
  }, 16, ["modelValue"])), [
80
- [D, i(B)]
81
+ [D, u(B)]
81
82
  ]);
82
83
  };
83
84
  }
@@ -1,12 +1,12 @@
1
- import { defineComponent as F, mergeModels as $, useModel as w, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
2
- import { u as T, a as E, _ as L } from "./index-BHy32Cui.js";
3
- import { u as U } from "./useSelect-BLTr8z88.js";
1
+ import { defineComponent as w, mergeModels as F, useModel as $, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
2
+ import { u as T, a as E, _ as L } from "./index-BAvzFzs-.js";
3
+ import { u as U } from "./useSelect-BglioMMD.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
7
- }, J = /* @__PURE__ */ F({
7
+ }, J = /* @__PURE__ */ w({
8
8
  __name: "SearchSelect",
9
- props: /* @__PURE__ */ $({
9
+ props: /* @__PURE__ */ F({
10
10
  onSearch: {},
11
11
  disabled: { type: Boolean },
12
12
  read: { type: Boolean },
@@ -25,14 +25,15 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
25
25
  readTextColor: {},
26
26
  filters: {},
27
27
  refreshFlag: { type: Boolean },
28
- clearable: { type: Boolean }
28
+ clearable: { type: Boolean },
29
+ width: {}
29
30
  }, {
30
31
  modelValue: { type: [String, Number, Boolean, Array] },
31
32
  modelModifiers: {}
32
33
  }),
33
34
  emits: ["update:modelValue"],
34
35
  setup(b) {
35
- const l = b, r = w(b, "modelValue"), v = T(), c = K("ruleModule", void 0), g = K("pageMethodMap", {}), B = (e) => {
36
+ const l = b, r = $(b, "modelValue"), v = T(), c = K("ruleModule", void 0), g = K("pageMethodMap", {}), B = (e) => {
36
37
  const { valueKey: s = "value", multiple: m, name: p } = l;
37
38
  let n = {};
38
39
  if (m && Array.isArray(e) ? n = d.value.filter((o) => e.includes(o[s])) : n = d.value.find((o) => o[s] === e) || {}, v.selectData && p && v.updateSelectData(p, n), l.onChange && c)
@@ -1,9 +1,9 @@
1
- import { defineComponent as F, mergeModels as w, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
2
- import { u as E } from "./index-BHy32Cui.js";
3
- import { u as I } from "./useSelect-BLTr8z88.js";
4
- const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
1
+ import { defineComponent as D, mergeModels as F, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
2
+ import { u as E } from "./index-BAvzFzs-.js";
3
+ import { u as I } from "./useSelect-BglioMMD.js";
4
+ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ D({
5
5
  __name: "Select",
6
- props: /* @__PURE__ */ w({
6
+ props: /* @__PURE__ */ F({
7
7
  options: { default: () => [] },
8
8
  defaultOptions: {},
9
9
  multiple: { type: Boolean, default: !1 },
@@ -20,14 +20,15 @@ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
20
20
  readTextColor: {},
21
21
  filters: {},
22
22
  refreshFlag: { type: Boolean },
23
- clearable: { type: Boolean, default: !0 }
23
+ clearable: { type: Boolean, default: !0 },
24
+ width: {}
24
25
  }, {
25
26
  modelValue: { type: [String, Number, Boolean, Array] },
26
27
  modelModifiers: {}
27
28
  }),
28
29
  emits: ["update:modelValue"],
29
30
  setup(y) {
30
- const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
31
+ const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => l.read ?? c.schema.read ?? !1), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
31
32
  const { valueKey: t = "value", multiple: n, name: o } = l;
32
33
  let a = {};
33
34
  if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, c.selectData && o && c.updateSelectData(o, a), l.onChange && f)
@@ -37,7 +38,7 @@ const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ F({
37
38
  console.error(u + `
38
39
  onChange: ${l.onChange}`);
39
40
  }
40
- }, { currentOptions: s, loading: S } = I(l), D = p(() => {
41
+ }, { currentOptions: s, loading: w } = I(l), S = p(() => {
41
42
  var t;
42
43
  if (l.multiple)
43
44
  return s.value.filter(
@@ -48,10 +49,10 @@ onChange: ${l.onChange}`);
48
49
  });
49
50
  return (e, t) => {
50
51
  const n = b("el-option"), o = b("el-select");
51
- return e.read || M.value ? (i(), g("span", {
52
+ return M.value ? (i(), g("span", {
52
53
  key: 0,
53
54
  style: A({ color: e.readTextColor })
54
- }, h(D.value), 5)) : (i(), C(o, N({
55
+ }, h(S.value), 5)) : (i(), C(o, N({
55
56
  key: 1,
56
57
  modelValue: d.value,
57
58
  "onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
@@ -61,8 +62,9 @@ onChange: ${l.onChange}`);
61
62
  clearable: V.value,
62
63
  filterable: "",
63
64
  "fallback-placements": ["bottom"],
64
- loading: K(S),
65
- placeholder: ""
65
+ loading: K(w),
66
+ placeholder: "",
67
+ style: { width: e.width }
66
68
  }), {
67
69
  loading: m(() => t[1] || (t[1] = [
68
70
  r("svg", {
@@ -117,7 +119,7 @@ onChange: ${l.onChange}`);
117
119
  ])
118
120
  ]),
119
121
  _: 1
120
- }, 16, ["modelValue", "multiple", "clearable", "loading"]));
122
+ }, 16, ["modelValue", "multiple", "clearable", "loading", "style"]));
121
123
  };
122
124
  }
123
125
  });
@@ -1,10 +1,10 @@
1
- import { defineComponent as Fe, computed as V, inject as D, ref as P, useTemplateRef as Ee, readonly as Ve, toRefs as je, onMounted as Ue, nextTick as We, onActivated as Ge, onUnmounted as He, resolveComponent as x, openBlock as r, createElementBlock as g, normalizeClass as E, withDirectives as ee, createElementVNode as w, createVNode as f, unref as h, withCtx as d, createBlock as y, createCommentVNode as v, Fragment as B, renderList as te, toDisplayString as N, normalizeStyle as j, withModifiers as ne, vShow as ae, mergeProps as Ke } from "vue";
2
- import { $ as qe, h as A, j as Je, a as Oe, I as R, b as U, C as Qe, _ as Xe } from "./index-BHy32Cui.js";
3
- import { ElTable as Ye, ElLoading as oe } from "element-plus";
4
- const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title", "onClick"], at = {
1
+ import { defineComponent as Ee, computed as j, inject as D, ref as P, useTemplateRef as Ve, readonly as je, toRefs as Ue, onMounted as We, nextTick as Ge, onActivated as He, onUnmounted as Ke, resolveComponent as x, openBlock as r, createElementBlock as g, normalizeClass as E, withDirectives as ee, createElementVNode as w, createVNode as y, unref as h, withCtx as d, createBlock as v, createCommentVNode as f, Fragment as B, renderList as te, toDisplayString as N, normalizeStyle as U, withModifiers as ne, vShow as ae, mergeProps as qe } from "vue";
2
+ import { $ as Je, h as A, j as Oe, a as Qe, I as R, b as V, C as Xe, _ as Ye } from "./index-BAvzFzs-.js";
3
+ import { ElTable as Ze, ElLoading as oe } from "element-plus";
4
+ const et = ["id"], tt = { class: "empty-content" }, nt = ["title"], at = ["title", "onClick"], ot = {
5
5
  key: 1,
6
6
  class: "icon-text-wrapper"
7
- }, ot = ["title", "onClick"], lt = ["title"], rt = { class: "row-btn-wrapper" }, it = /* @__PURE__ */ Fe({
7
+ }, lt = ["title", "onClick"], rt = { key: 2 }, it = ["title"], st = { class: "row-btn-wrapper" }, ut = /* @__PURE__ */ Ee({
8
8
  __name: "Table",
9
9
  props: {
10
10
  title: {},
@@ -43,15 +43,15 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
43
43
  gridColumns: {}
44
44
  },
45
45
  setup(le, { expose: re }) {
46
- const a = le, I = V(() => a.displayType ? a.displayType : a.typeSwitch ? "card" : "table"), ie = D("ruleModule", void 0), W = D("ruleMap", void 0), c = V(() => a.rulePath && W[a.rulePath] ? W[a.rulePath] : ie), m = D("pageMethodMap", {}), T = D("getGlobalParams", () => {
47
- }), G = D(qe), H = G ? G.translateFn : null, $ = P(), se = (e, t, o) => {
46
+ const a = le, I = j(() => a.displayType ? a.displayType : a.typeSwitch ? "card" : "table"), ie = D("ruleModule", void 0), W = D("ruleMap", void 0), c = j(() => a.rulePath && W[a.rulePath] ? W[a.rulePath] : ie), m = D("pageMethodMap", {}), T = D("getGlobalParams", () => {
47
+ }), G = D(Je), H = G ? G.translateFn : null, $ = P(), se = (e, t, o) => {
48
48
  p.value[e] && (p.value[e][t] = o);
49
49
  }, ue = (e, t) => {
50
- const o = a.columns.find((i) => i.key === e);
50
+ const o = a.columns.find((s) => s.key === e);
51
51
  o && (o.hidden = !t);
52
- }, L = (e, t, o, i) => {
52
+ }, L = (e, t, o, s) => {
53
53
  try {
54
- c.value[e.onClick](m, t, o, i), i == null || i.stopPropagation();
54
+ c.value[e.onClick](m, t, o, s), s == null || s.stopPropagation();
55
55
  } catch (z) {
56
56
  console.error(z);
57
57
  }
@@ -94,12 +94,12 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
94
94
  var e;
95
95
  return (e = $.value) == null ? void 0 : e.getSelectionRows();
96
96
  }, Ce = async () => !0, Se = (e, t) => {
97
- var i;
98
- const o = (i = a.topBtns) == null ? void 0 : i.find((z) => z.key === e);
97
+ var s;
98
+ const o = (s = a.topBtns) == null ? void 0 : s.find((z) => z.key === e);
99
99
  o && (o.hidden = t);
100
100
  }, ze = (e, t) => {
101
- var i;
102
- const o = (i = a.rowBtns) == null ? void 0 : i.find((z) => z.key === e);
101
+ var s;
102
+ const o = (s = a.rowBtns) == null ? void 0 : s.find((z) => z.key === e);
103
103
  o && (o.condition = !t);
104
104
  }, q = P(0), we = (e) => {
105
105
  q.value = e;
@@ -141,8 +141,8 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
141
141
  var t;
142
142
  (t = $.value) == null || t.setCurrentRow(p.value[e]);
143
143
  }, Te = (e, t, o) => {
144
- a.columns.forEach((i) => {
145
- i.key === e && i[t] && (i[t] = o);
144
+ a.columns.forEach((s) => {
145
+ s.key === e && s[t] && (s[t] = o);
146
146
  });
147
147
  }, p = P([]), $e = (e) => {
148
148
  p.value = e;
@@ -152,8 +152,8 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
152
152
  e >= 0 && e < p.value.length && p.value.splice(e, 1);
153
153
  }, xe = async () => {
154
154
  p.value = [...p.value];
155
- }, J = Ee("rootRef"), O = Ve({
156
- ...je(a),
155
+ }, J = Ve("rootRef"), O = je({
156
+ ...Ue(a),
157
157
  setCellData: se,
158
158
  clearSelection: me,
159
159
  getData: ye,
@@ -179,8 +179,8 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
179
179
  const o = H ? H(e.key, t) : t[e.key];
180
180
  if (!e.encrypted || !o)
181
181
  return o;
182
- const i = `${o}`;
183
- return i.length <= 4 ? "*".repeat(i.length) : i.slice(0, -4) + "****";
182
+ const s = `${o}`;
183
+ return s.length <= 4 ? "*".repeat(s.length) : s.slice(0, -4) + "****";
184
184
  }, Ae = (e, t) => {
185
185
  if (!e.getTextStyle || !c.value)
186
186
  return {};
@@ -203,7 +203,14 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
203
203
  } catch (o) {
204
204
  console.error(o);
205
205
  }
206
- }, Ie = V(() => !a.rowBtns || a.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
206
+ }, Ie = (e, t) => {
207
+ if (!(!e.getCustomContent || !c.value))
208
+ try {
209
+ return c.value[e.getCustomContent](m, t, e);
210
+ } catch (o) {
211
+ console.error(o);
212
+ }
213
+ }, Le = j(() => !a.rowBtns || a.rowBtns.length === 0 || !p.value || p.value.length === 0 ? !1 : p.value.some(
207
214
  (e) => {
208
215
  var t;
209
216
  return (t = a.rowBtns) == null ? void 0 : t.some((o) => o.condition === void 0 || o.condition === null ? !0 : A(o.condition, {
@@ -212,17 +219,17 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
212
219
  }));
213
220
  }
214
221
  ));
215
- if (Ue(async () => {
222
+ if (We(async () => {
216
223
  if (!a.onMounted || !c.value)
217
224
  return;
218
- await We();
225
+ await Ge();
219
226
  const e = a.onMounted;
220
227
  try {
221
228
  c.value[e](m);
222
229
  } catch (t) {
223
230
  console.error(t);
224
231
  }
225
- }), Ge(() => {
232
+ }), He(() => {
226
233
  if (!a.onActivated || !c.value)
227
234
  return;
228
235
  const e = a.onActivated;
@@ -232,14 +239,14 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
232
239
  console.error(t);
233
240
  }
234
241
  }), a.name) {
235
- const e = Je(a.name, O);
236
- He(() => {
242
+ const e = Oe(a.name, O);
243
+ Ke(() => {
237
244
  e();
238
245
  });
239
246
  }
240
247
  return re(O), (e, t) => {
241
- const o = x("el-table-column"), i = x("el-popover"), z = x("el-tooltip"), Q = x("el-button"), Le = x("el-pagination");
242
- return e.hidden ? v("", !0) : (r(), g("div", {
248
+ const o = x("el-table-column"), s = x("el-popover"), z = x("el-tooltip"), Q = x("el-button"), Fe = x("el-pagination");
249
+ return e.hidden ? f("", !0) : (r(), g("div", {
243
250
  key: 0,
244
251
  class: E(["table-render", { tableBorder: I.value === "table", [e.name]: !0 }]),
245
252
  ref_key: "rootRef",
@@ -247,7 +254,7 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
247
254
  id: e.name
248
255
  }, [
249
256
  ee(w("div", null, [
250
- f(h(Ye), {
257
+ y(h(Ze), {
251
258
  ref_key: "tableRef",
252
259
  ref: $,
253
260
  data: p.value,
@@ -261,8 +268,8 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
261
268
  height: e.height
262
269
  }, {
263
270
  empty: d(() => [
264
- w("div", et, [
265
- f(h(Oe), {
271
+ w("div", tt, [
272
+ y(h(Qe), {
266
273
  name: "tableEmpty",
267
274
  style: { width: 56, height: 56 }
268
275
  }),
@@ -270,16 +277,16 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
270
277
  ])
271
278
  ]),
272
279
  default: d(() => [
273
- e.multipleSelection ? (r(), y(o, {
280
+ e.multipleSelection ? (r(), v(o, {
274
281
  key: 0,
275
282
  type: "selection",
276
283
  width: "55",
277
284
  selectable: he
278
- })) : v("", !0),
285
+ })) : f("", !0),
279
286
  (r(!0), g(B, null, te(e.columns, (n) => (r(), g(B, {
280
287
  key: n.key
281
288
  }, [
282
- n.hidden ? v("", !0) : (r(), y(o, {
289
+ n.hidden ? f("", !0) : (r(), v(o, {
283
290
  key: 0,
284
291
  prop: n.key,
285
292
  "min-width": n.minWidth,
@@ -289,92 +296,96 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
289
296
  w("div", {
290
297
  class: "text-ellipsis",
291
298
  title: n.label
292
- }, N(n.label), 9, tt)
299
+ }, N(n.label), 9, nt)
293
300
  ]),
294
- default: d(({ row: s, $index: l }) => {
301
+ default: d(({ row: i, $index: l }) => {
295
302
  var _, X, Y, Z;
296
303
  return [
297
304
  n.type === "link" ? (r(), g("div", {
298
305
  key: 0,
299
306
  class: E(["text-ellipsis link-style", { "click-style": n.onClick }]),
300
- title: b(n, s),
301
- onClick: (k) => L(n, s, l, k)
302
- }, N(b(n, s)), 11, nt)) : n.type === "iconText" ? (r(), g("div", at, [
307
+ title: b(n, i),
308
+ onClick: (k) => L(n, i, l, k)
309
+ }, N(b(n, i)), 11, at)) : n.type === "iconText" ? (r(), g("div", ot, [
303
310
  n.iconPosition === "left" ? (r(), g(B, { key: 0 }, [
304
- n.iconPopover && Array.isArray(F(n, s)) ? (r(), y(i, { key: 0 }, {
311
+ n.iconPopover && Array.isArray(F(n, i)) ? (r(), v(s, { key: 0 }, {
305
312
  reference: d(() => {
306
313
  var k, M;
307
314
  return [
308
- f(R, {
309
- name: (k = S(n, s)) == null ? void 0 : k.name,
310
- color: (M = S(n, s)) == null ? void 0 : M.color
315
+ y(R, {
316
+ name: (k = S(n, i)) == null ? void 0 : k.name,
317
+ color: (M = S(n, i)) == null ? void 0 : M.color
311
318
  }, null, 8, ["name", "color"])
312
319
  ];
313
320
  }),
314
321
  default: d(() => [
315
- f(h(U), {
316
- list: F(n, s) || []
322
+ y(h(V), {
323
+ list: F(n, i) || []
317
324
  }, null, 8, ["list"])
318
325
  ]),
319
326
  _: 2
320
- }, 1024)) : (r(), y(R, {
327
+ }, 1024)) : (r(), v(R, {
321
328
  key: 1,
322
- name: (_ = S(n, s)) == null ? void 0 : _.name,
323
- color: (X = S(n, s)) == null ? void 0 : X.color
329
+ name: (_ = S(n, i)) == null ? void 0 : _.name,
330
+ color: (X = S(n, i)) == null ? void 0 : X.color
324
331
  }, null, 8, ["name", "color"]))
325
- ], 64)) : v("", !0),
332
+ ], 64)) : f("", !0),
326
333
  w("span", {
327
334
  class: E(["text-ellipsis", { "click-style": n.onClick }]),
328
- title: b(n, s),
329
- onClick: (k) => L(n, s, l, k)
330
- }, N(b(n, s)), 11, ot),
335
+ title: b(n, i),
336
+ onClick: (k) => L(n, i, l, k)
337
+ }, N(b(n, i)), 11, lt),
331
338
  n.iconPosition === "right" ? (r(), g(B, { key: 1 }, [
332
- n.iconPopover && Array.isArray(F(n, s)) ? (r(), y(i, { key: 0 }, {
339
+ n.iconPopover && Array.isArray(F(n, i)) ? (r(), v(s, { key: 0 }, {
333
340
  reference: d(() => {
334
341
  var k, M;
335
342
  return [
336
- f(R, {
337
- name: (k = S(n, s)) == null ? void 0 : k.name,
338
- color: (M = S(n, s)) == null ? void 0 : M.color
343
+ y(R, {
344
+ name: (k = S(n, i)) == null ? void 0 : k.name,
345
+ color: (M = S(n, i)) == null ? void 0 : M.color
339
346
  }, null, 8, ["name", "color"])
340
347
  ];
341
348
  }),
342
349
  default: d(() => [
343
- f(h(U), {
344
- list: F(n, s) || []
350
+ y(h(V), {
351
+ list: F(n, i) || []
345
352
  }, null, 8, ["list"])
346
353
  ]),
347
354
  _: 2
348
- }, 1024)) : (r(), y(R, {
355
+ }, 1024)) : (r(), v(R, {
349
356
  key: 1,
350
- name: (Y = S(n, s)) == null ? void 0 : Y.name,
351
- color: (Z = S(n, s)) == null ? void 0 : Z.color
357
+ name: (Y = S(n, i)) == null ? void 0 : Y.name,
358
+ color: (Z = S(n, i)) == null ? void 0 : Z.color
352
359
  }, null, 8, ["name", "color"]))
353
- ], 64)) : v("", !0)
360
+ ], 64)) : f("", !0)
361
+ ])) : n.type === "customContent" ? (r(), g("div", rt, [
362
+ y(h(V), {
363
+ list: Ie(n, i) || []
364
+ }, null, 8, ["list"])
354
365
  ])) : (r(), g("div", {
355
- key: 2,
366
+ key: 3,
356
367
  class: "text-ellipsis",
357
- title: b(n, s),
358
- style: j(Ae(n, s))
359
- }, N(b(n, s)), 13, lt))
368
+ title: b(n, i),
369
+ style: U(Ae(n, i))
370
+ }, N(b(n, i)), 13, it))
360
371
  ];
361
372
  }),
362
373
  _: 2
363
374
  }, 1032, ["prop", "min-width", "fixed"]))
364
375
  ], 64))), 128)),
365
- Ie.value && e.rowBtns && e.rowBtns.length > 0 ? (r(), y(o, {
376
+ Le.value && e.rowBtns && e.rowBtns.length > 0 ? (r(), v(o, {
366
377
  key: 1,
367
378
  label: e.rowBtnsLabel || "Action",
368
379
  fixed: "right",
369
380
  align: "left",
370
381
  width: e.rowBtnsWidth || (e.rowBtns.length * 34 + 12 > 100 ? e.rowBtns.length * 34 + 12 : 100)
371
382
  }, {
372
- default: d(({ row: n, $index: s }) => [
373
- w("div", rt, [
383
+ default: d(({ row: n, $index: i }) => [
384
+ w("div", st, [
374
385
  (r(!0), g(B, null, te(e.rowBtns, (l) => (r(), g(B, {
375
386
  key: l.key
376
387
  }, [
377
- l.component === "Popover" ? (r(), y(i, {
388
+ l.component === "Popover" ? (r(), v(s, {
378
389
  key: 0,
379
390
  title: l.label,
380
391
  trigger: "click",
@@ -385,16 +396,16 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
385
396
  l.condition === void 0 || l.condition === null || h(A)(l.condition, {
386
397
  $row: n,
387
398
  $globalParams: h(T)()
388
- }) ? (r(), y(Q, {
399
+ }) ? (r(), v(Q, {
389
400
  key: 0,
390
401
  disabled: l.disabled,
391
402
  link: "",
392
403
  size: "small",
393
404
  type: l.type,
394
- onClick: ne((_) => L(l, n, s, _), ["stop"])
405
+ onClick: ne((_) => L(l, n, i, _), ["stop"])
395
406
  }, {
396
407
  default: d(() => [
397
- f(z, {
408
+ y(z, {
398
409
  class: "box-item",
399
410
  effect: "dark",
400
411
  content: l.label,
@@ -402,28 +413,28 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
402
413
  "popper-class": "low-tsp"
403
414
  }, {
404
415
  default: d(() => [
405
- l.icon ? (r(), y(R, {
416
+ l.icon ? (r(), v(R, {
406
417
  key: 0,
407
418
  name: l.icon.name,
408
419
  color: l.icon.color
409
- }, null, 8, ["name", "color"])) : v("", !0)
420
+ }, null, 8, ["name", "color"])) : f("", !0)
410
421
  ]),
411
422
  _: 2
412
423
  }, 1032, ["content"]),
413
424
  l.buttonText ? (r(), g("span", {
414
425
  key: 0,
415
- style: j({ color: l.buttonText.color, fontSize: "14px" })
426
+ style: U({ color: l.buttonText.color, fontSize: "14px" })
416
427
  }, N(h(A)(l.buttonText.text, {
417
428
  $row: n,
418
429
  $globalParams: h(T)()
419
- })), 5)) : v("", !0)
430
+ })), 5)) : f("", !0)
420
431
  ]),
421
432
  _: 2
422
- }, 1032, ["disabled", "type", "onClick"])) : v("", !0)
433
+ }, 1032, ["disabled", "type", "onClick"])) : f("", !0)
423
434
  ]),
424
435
  default: d(() => [
425
436
  w("div", null, [
426
- f(h(U), {
437
+ y(h(V), {
427
438
  list: l.children
428
439
  }, null, 8, ["list"])
429
440
  ])
@@ -433,16 +444,16 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
433
444
  l.condition === void 0 || l.condition === null || h(A)(l.condition, {
434
445
  $row: n,
435
446
  $globalParams: h(T)()
436
- }) ? (r(), y(Q, {
447
+ }) ? (r(), v(Q, {
437
448
  key: 0,
438
449
  disabled: l.disabled,
439
450
  link: "",
440
451
  size: "small",
441
452
  type: l.type,
442
- onClick: ne((_) => L(l, n, s, _), ["stop"])
453
+ onClick: ne((_) => L(l, n, i, _), ["stop"])
443
454
  }, {
444
455
  default: d(() => [
445
- f(z, {
456
+ y(z, {
446
457
  class: "box-item",
447
458
  effect: "dark",
448
459
  content: l.label,
@@ -450,37 +461,37 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
450
461
  "popper-class": "low-tsp"
451
462
  }, {
452
463
  default: d(() => [
453
- l.icon ? (r(), y(R, {
464
+ l.icon ? (r(), v(R, {
454
465
  key: 0,
455
466
  name: l.icon.name,
456
467
  color: l.icon.color
457
- }, null, 8, ["name", "color"])) : v("", !0)
468
+ }, null, 8, ["name", "color"])) : f("", !0)
458
469
  ]),
459
470
  _: 2
460
471
  }, 1032, ["content"]),
461
472
  l.buttonText ? (r(), g("span", {
462
473
  key: 0,
463
- style: j({ color: l.buttonText.color, fontSize: "14px" })
474
+ style: U({ color: l.buttonText.color, fontSize: "14px" })
464
475
  }, N(h(A)(l.buttonText.text, {
465
476
  $row: n,
466
477
  $globalParams: h(T)()
467
- })), 5)) : v("", !0)
478
+ })), 5)) : f("", !0)
468
479
  ]),
469
480
  _: 2
470
- }, 1032, ["disabled", "type", "onClick"])) : v("", !0)
481
+ }, 1032, ["disabled", "type", "onClick"])) : f("", !0)
471
482
  ], 64))
472
483
  ], 64))), 128))
473
484
  ])
474
485
  ]),
475
486
  _: 1
476
- }, 8, ["label", "width"])) : v("", !0)
487
+ }, 8, ["label", "width"])) : f("", !0)
477
488
  ]),
478
489
  _: 1
479
490
  }, 8, ["data", "row-key", "stripe", "height"])
480
491
  ], 512), [
481
492
  [ae, I.value === "table"]
482
493
  ]),
483
- ee(f(Qe, Ke({ data: p.value }, a, { getColText: b }), null, 16, ["data"]), [
494
+ ee(y(Xe, qe({ data: p.value }, a, { getColText: b }), null, 16, ["data"]), [
484
495
  [ae, I.value === "card"]
485
496
  ]),
486
497
  w("div", {
@@ -490,7 +501,7 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
490
501
  cardlistPadding: I.value === "card"
491
502
  }])
492
503
  }, [
493
- f(Le, {
504
+ y(Fe, {
494
505
  layout: e.paginationLayout || "total,sizes, prev, pager, next,jumper",
495
506
  total: q.value,
496
507
  "page-sizes": e.pageSizes || [5, 6, 10, 20, 30, 40],
@@ -504,10 +515,10 @@ const Ze = ["id"], et = { class: "empty-content" }, tt = ["title"], nt = ["title
504
515
  onCurrentChange: _e
505
516
  }, null, 8, ["layout", "total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
506
517
  ], 2)
507
- ], 10, Ze));
518
+ ], 10, et));
508
519
  };
509
520
  }
510
- }), pt = /* @__PURE__ */ Xe(it, [["__scopeId", "data-v-b3fd4fb6"]]);
521
+ }), gt = /* @__PURE__ */ Ye(ut, [["__scopeId", "data-v-ad29d6bf"]]);
511
522
  export {
512
- pt as default
523
+ gt as default
513
524
  };