asiaint-lowcode 3.0.19 → 3.0.21

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 (32) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +80 -80
  3. package/dist/index.d.ts +1 -0
  4. package/dist/lazy/{Card-C0svyzWN.js → Card-B9TmoruW.js} +1 -1
  5. package/dist/lazy/{Cascader-h0uYEaTX.js → Cascader-CLDWxuLZ.js} +1 -1
  6. package/dist/lazy/{Checkbox-BT1pOO9x.js → Checkbox-Bd-6skOr.js} +2 -2
  7. package/dist/lazy/{Collapse-DaskcZsh.js → Collapse-DzvSK5n6.js} +1 -1
  8. package/dist/lazy/{Component-CJm4wK8L.js → Component-CBo4C6cv.js} +1 -1
  9. package/dist/lazy/{Component-Db_jMv7Z.js → Component-D2-tTCrO.js} +1 -1
  10. package/dist/lazy/{Component-CfJuhpMD.js → Component-DY4iIcyg.js} +1 -1
  11. package/dist/lazy/{Component-CU5Vt5h_.js → Component-Fk9DHV9r.js} +1 -1
  12. package/dist/lazy/{Component-C1PK1e1O.js → Component-_VukJzpq.js} +1 -1
  13. package/dist/lazy/{Component-BieMFR_R.js → Component-y-l4S88q.js} +1 -1
  14. package/dist/lazy/CurdCard-Cs3cLXID.js +137 -0
  15. package/dist/lazy/{Custom-CsypsOGf.js → Custom-DnQG_iR5.js} +1 -1
  16. package/dist/lazy/{FormList-CxxcaDK2.js → FormList-B-DF7tvw.js} +1 -1
  17. package/dist/lazy/{Grid-CUBLaDE3.js → Grid-BO7y8CD3.js} +1 -1
  18. package/dist/lazy/{Inline-zKXaEqwJ.js → Inline-vILmMFRv.js} +1 -1
  19. package/dist/lazy/{JsonEdit-p2Pd0nJU.js → JsonEdit-BpY5sOl1.js} +1 -1
  20. package/dist/lazy/{ObjGroup-CVJTWWxL.js → ObjGroup-aeDbzYG3.js} +1 -1
  21. package/dist/lazy/{OfferDetails-CZqb_xlB.js → OfferDetails-DuiRJqza.js} +7 -6
  22. package/dist/lazy/{Radio-BD6Irvdg.js → Radio-SY-nqRX6.js} +2 -2
  23. package/dist/lazy/{SearchSelect-DmazBOwK.js → SearchSelect-B1PFv8JE.js} +2 -2
  24. package/dist/lazy/{Select-CoOQpaeQ.js → Select-DnB8rx4M.js} +2 -2
  25. package/dist/lazy/{Table-DNsWnP_g.js → Table-Cjxguy49.js} +27 -25
  26. package/dist/lazy/{Tabs-Dx0cy5Ll.js → Tabs-CqC-GerS.js} +1 -1
  27. package/dist/lazy/{Wrapper-Cs9R2uf3.js → Wrapper-B3BtgtaJ.js} +1 -1
  28. package/dist/lazy/{index-txSDEbhu.js → index-DNuDGSpm.js} +51 -36
  29. package/dist/lazy/{useSelect-DHP6UE_X.js → useSelect-BYtxgQRQ.js} +1 -1
  30. package/dist/style.css +2 -2
  31. package/package.json +1 -1
  32. package/dist/lazy/CurdCard-Bahfe6Nn.js +0 -136
package/dist/index.d.ts CHANGED
@@ -718,6 +718,7 @@ declare type TableSchema = {
718
718
  hiddenPagination?: boolean;
719
719
  handleCurrentChange?: string;
720
720
  pageSizes?: any;
721
+ pagerCount?: number;
721
722
  defaultPageSize?: number;
722
723
  typeSwitch?: boolean;
723
724
  displayType?: 'card' | 'table';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as y, inject as u, resolveComponent as _, openBlock as l, createBlock as c, mergeProps as g, withCtx as s, createElementVNode as r, createElementBlock as d, createVNode as a, unref as i, normalizeClass as B, createCommentVNode as M, toDisplayString as $, Fragment as v, renderList as I, Transition as E, withDirectives as V, vShow as x } from "vue";
2
- import { _ as D, I as C, B as F, a as N, b as S } from "./index-txSDEbhu.js";
2
+ import { _ as D, I as C, B as F, a as N, b as S } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const j = { class: "card-header" }, z = { class: "card-btns" }, L = /* @__PURE__ */ w({
5
5
  __name: "Card",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as d, resolveComponent as y, openBlock as M, createBlock as C, mergeProps as h, unref as r } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-DHP6UE_X.js";
3
+ import { u as b } from "./useSelect-BYtxgQRQ.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as T, mergeModels as w, useModel as D, watch as F, resolveComponent as u, resolveDirective as M, unref as a, openBlock as l, createElementBlock as n, toDisplayString as I, Fragment as d, createCommentVNode as i, withDirectives as P, createBlock as s, mergeProps as S, withCtx as f, renderList as h } from "vue";
2
2
  import "element-plus";
3
- import { u as j } from "./index-txSDEbhu.js";
4
- import { u as E } from "./useSelect-DHP6UE_X.js";
3
+ import { u as j } from "./index-DNuDGSpm.js";
4
+ import { u as E } from "./useSelect-BYtxgQRQ.js";
5
5
  const L = { key: 0 }, N = {
6
6
  key: 0,
7
7
  style: { "font-size": "12px" }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
2
- import { a as y } from "./index-txSDEbhu.js";
2
+ import { a as y } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
5
5
  const x = /* @__PURE__ */ u({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
2
2
  import { ElMessage as M, ElMessageBox as N } from "element-plus";
3
- import { _ as f } from "./index-txSDEbhu.js";
3
+ import { _ as f } from "./index-DNuDGSpm.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
2
- import { b as H, u as K, c as Q } from "./index-txSDEbhu.js";
2
+ import { b as H, u as K, c as Q } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
2
- import { u as V } from "./index-txSDEbhu.js";
2
+ import { u as V } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, inject as h, ref as b, resolveComponent as C, openBlock as c, createBlock as m, mergeProps as B, withCtx as f, createElementVNode as d, toDisplayString as y, createElementBlock as _, createCommentVNode as k, Fragment as v, renderList as I, unref as P, withModifiers as V, createTextVNode as w } from "vue";
2
- import { f as E, I as F, b as j } from "./index-txSDEbhu.js";
2
+ import { f as E, I as F, b as j } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const A = { class: "custom-tree-node" }, D = { class: "tree-node-text" }, K = { class: "tree-node-label" }, R = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, mergeModels as u, useModel as p, resolveComponent as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as y, mergeProps as f } from "vue";
2
- import { u as v } from "./index-txSDEbhu.js";
2
+ import { u as v } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const _ = { key: 0 }, K = /* @__PURE__ */ s({
5
5
  __name: "Component",
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
2
2
  var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
5
- import { u as b, b as x } from "./index-txSDEbhu.js";
5
+ import { u as b, b as x } from "./index-DNuDGSpm.js";
6
6
  import "element-plus";
7
7
  function S() {
8
8
  return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
@@ -0,0 +1,137 @@
1
+ import { defineComponent as S, inject as I, ref as w, resolveComponent as E, openBlock as n, createElementBlock as s, createElementVNode as t, normalizeClass as v, createBlock as p, createCommentVNode as y, toDisplayString as F, Fragment as g, renderList as N, withCtx as T, createVNode as i, unref as k, Transition as V, withDirectives as z, vShow as D } from "vue";
2
+ import { u as j, I as r, B as L, a as _, i as R, b as q } from "./index-DNuDGSpm.js";
3
+ import "element-plus";
4
+ const A = { class: "crm-curd-card" }, G = { class: "left-part" }, H = { class: "title" }, J = { class: "right-part" }, K = {
5
+ key: 0,
6
+ class: "switch-panel"
7
+ }, O = { key: 2 }, P = /* @__PURE__ */ S({
8
+ __name: "CurdCard",
9
+ props: {
10
+ name: {},
11
+ children: {},
12
+ collapsible: { type: Boolean },
13
+ onCollapsed: {},
14
+ typeSwitch: { type: Boolean },
15
+ title: {},
16
+ btns: {},
17
+ type: {},
18
+ mainIcon: {},
19
+ extraIcons: {},
20
+ displayType: {}
21
+ },
22
+ setup(B) {
23
+ const d = I("ruleModule", void 0), f = I("pageMethodMap", {}), m = B, b = (e) => {
24
+ if (e && d)
25
+ try {
26
+ d[e](f);
27
+ } catch (o) {
28
+ console.error(o);
29
+ }
30
+ }, M = () => {
31
+ c.value = !c.value, m.onCollapsed && d && d[m.onCollapsed](f, c.value);
32
+ }, c = w(!1), u = w(m.displayType || "table"), $ = j(), C = (e) => {
33
+ u.value = e;
34
+ const o = R($.schema.items, m.name), h = (l) => {
35
+ l.forEach((a) => {
36
+ a.component === "Table" && a.props && (a.props.displayType = e), a.children && a.children.length > 0 && h(a.children);
37
+ });
38
+ };
39
+ o && o.children && h(o.children);
40
+ };
41
+ return C(u.value), (e, o) => {
42
+ const h = E("el-tooltip");
43
+ return n(), s("div", A, [
44
+ t("div", {
45
+ class: v(["card-header", {
46
+ inline: e.type === "inline",
47
+ mix: e.type === "mix",
48
+ default: e.type === "default"
49
+ }])
50
+ }, [
51
+ t("div", G, [
52
+ e.mainIcon ? (n(), p(r, {
53
+ key: 0,
54
+ class: "title-icon",
55
+ size: "large",
56
+ name: e.mainIcon.name,
57
+ color: e.mainIcon.color
58
+ }, null, 8, ["name", "color"])) : y("", !0),
59
+ t("span", H, F(e.title), 1),
60
+ (n(!0), s(g, null, N(e.extraIcons, (l) => (n(), s(g, {
61
+ key: l.name
62
+ }, [
63
+ l.tips ? (n(), p(h, {
64
+ key: 0,
65
+ content: l.tips,
66
+ placement: "right"
67
+ }, {
68
+ default: T(() => [
69
+ i(r, {
70
+ class: "extra-icon",
71
+ name: l.name,
72
+ color: l.color,
73
+ onClick: (a) => b(l.onClick)
74
+ }, null, 8, ["name", "color", "onClick"])
75
+ ]),
76
+ _: 2
77
+ }, 1032, ["content"])) : (n(), p(r, {
78
+ key: 1,
79
+ class: "extra-icon",
80
+ name: l.name,
81
+ color: l.color,
82
+ onClick: (a) => b(l.onClick)
83
+ }, null, 8, ["name", "color", "onClick"]))
84
+ ], 64))), 128))
85
+ ]),
86
+ t("div", J, [
87
+ e.typeSwitch ? (n(), s("div", K, [
88
+ t("div", {
89
+ class: v(["switch-icon-wrapper", { active: u.value === "card" }]),
90
+ onClick: o[0] || (o[0] = (l) => C("card"))
91
+ }, [
92
+ i(r, { name: "icon-kapian" })
93
+ ], 2),
94
+ t("div", {
95
+ class: v(["switch-icon-wrapper", { active: u.value === "table" }]),
96
+ onClick: o[1] || (o[1] = (l) => C("table"))
97
+ }, [
98
+ i(r, { name: "icon-biaoge" })
99
+ ], 2)
100
+ ])) : y("", !0),
101
+ e.collapsible ? (n(), s("div", {
102
+ key: 1,
103
+ class: v(["collapse-icon-wrapper", { collapsed: c.value }]),
104
+ onClick: M
105
+ }, [
106
+ i(r, { name: "icon-shaixuan" })
107
+ ], 2)) : y("", !0),
108
+ e.btns && e.btns.length > 0 ? (n(), s("div", O, [
109
+ i(k(L), {
110
+ btns: e.btns || []
111
+ }, null, 8, ["btns"])
112
+ ])) : y("", !0)
113
+ ])
114
+ ], 2),
115
+ e.onCollapsed ? (n(), p(k(_), {
116
+ key: 1,
117
+ list: e.children
118
+ }, null, 8, ["list"])) : (n(), p(V, {
119
+ key: 0,
120
+ name: "collapse"
121
+ }, {
122
+ default: T(() => [
123
+ z(t("div", null, [
124
+ i(k(_), { list: e.children }, null, 8, ["list"])
125
+ ], 512), [
126
+ [D, !c.value]
127
+ ])
128
+ ]),
129
+ _: 1
130
+ }))
131
+ ]);
132
+ };
133
+ }
134
+ }), X = /* @__PURE__ */ q(P, [["__scopeId", "data-v-10064540"]]);
135
+ export {
136
+ X as default
137
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
2
- import { b as i } from "./index-txSDEbhu.js";
2
+ import { b as i } from "./index-DNuDGSpm.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-txSDEbhu.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
5
5
  __name: "FormList",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, computed as a, openBlock as d, createBlock as e, unref as r, normalizeStyle as l } from "vue";
2
- import { a as m } from "./index-txSDEbhu.js";
2
+ import { a as m } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const f = /* @__PURE__ */ o({
5
5
  __name: "Grid",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, computed as l, openBlock as p, createBlock as r, unref as i, normalizeStyle as s } from "vue";
2
- import { a as c, b as f } from "./index-txSDEbhu.js";
2
+ import { a as c, b as f } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const m = /* @__PURE__ */ a({
5
5
  __name: "Inline",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
2
- import { b as xt, g as Nt } from "./index-txSDEbhu.js";
2
+ import { b as xt, g as Nt } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const Mt = /* @__PURE__ */ At({
5
5
  __name: "Disabled",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
2
- import { u as j, d as h, e as k } from "./index-txSDEbhu.js";
2
+ import { u as j, d as h, e as k } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
- import { defineComponent as D, resolveComponent as I, openBlock as l, createBlock as N, withCtx as M, createVNode as S, createElementVNode as a, createElementBlock as s, Fragment as c, renderList as _, toDisplayString as h, createCommentVNode as O, ref as F, inject as m, watchEffect as P, onMounted as $, normalizeStyle as z } from "vue";
2
- import { j as A, $ as L, b as R } from "./index-txSDEbhu.js";
1
+ import { defineComponent as D, resolveComponent as I, openBlock as l, createBlock as N, withCtx as M, createVNode as S, createElementVNode as a, createElementBlock as s, Fragment as c, renderList as _, toDisplayString as h, createCommentVNode as O, ref as F, inject as g, watchEffect as P, onMounted as $, normalizeStyle as z } from "vue";
2
+ import { j as A, $ as L, b as R } from "./index-DNuDGSpm.js";
3
3
  const V = { class: "content" }, j = { class: "product-list" }, K = { class: "attribute-list" }, x = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
@@ -9,7 +9,7 @@ const V = { class: "content" }, j = { class: "product-list" }, K = { class: "att
9
9
  data: {},
10
10
  btns: {}
11
11
  },
12
- setup(g) {
12
+ setup(m) {
13
13
  return (o, d) => {
14
14
  const y = I("el-popover");
15
15
  return l(), N(y, {
@@ -77,6 +77,7 @@ const V = { class: "content" }, j = { class: "product-list" }, K = { class: "att
77
77
  hiddenPagination: { type: Boolean },
78
78
  handleCurrentChange: {},
79
79
  pageSizes: {},
80
+ pagerCount: {},
80
81
  defaultPageSize: {},
81
82
  typeSwitch: { type: Boolean },
82
83
  displayType: {},
@@ -86,9 +87,9 @@ const V = { class: "content" }, j = { class: "product-list" }, K = { class: "att
86
87
  data: {},
87
88
  columns: {}
88
89
  },
89
- setup(g) {
90
+ setup(m) {
90
91
  var B, w;
91
- const o = g, d = F(), y = m("ruleModule", void 0), r = m("pageMethodMap", {}), u = () => {
92
+ const o = m, d = F(), y = g("ruleModule", void 0), r = g("pageMethodMap", {}), u = () => {
92
93
  try {
93
94
  y[o.onClickFooter](r, o.data);
94
95
  } catch (e) {
@@ -108,7 +109,7 @@ const V = { class: "content" }, j = { class: "product-list" }, K = { class: "att
108
109
  });
109
110
  }), t.push(f);
110
111
  }), t;
111
- }, C = m(L), i = C ? C.translateFn : null;
112
+ }, C = g(L), i = C ? C.translateFn : null;
112
113
  return P(() => {
113
114
  o.data && (d.value = o.data.map((e) => {
114
115
  const t = {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, mergeModels as S, useModel as T, inject as K, resolveComponent as p, resolveDirective as w, openBlock as o, createElementBlock as d, toDisplayString as F, unref as l, Fragment as m, createCommentVNode as N, withDirectives as I, createBlock as y, mergeProps as k, withCtx as C, createVNode as P, renderList as M } from "vue";
2
- import { u as $ } from "./index-txSDEbhu.js";
3
- import { u as j } from "./useSelect-DHP6UE_X.js";
2
+ import { u as $ } from "./index-DNuDGSpm.js";
3
+ import { u as j } from "./useSelect-BYtxgQRQ.js";
4
4
  const E = { key: 0 }, L = {
5
5
  key: 0,
6
6
  style: { "font-size": "12px" }
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, mergeModels as A, useModel as F, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as y, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as b, Fragment as P, renderList as $, createTextVNode as E, createVNode as C } from "vue";
2
- import { u as L, _ as O, b as T } from "./index-txSDEbhu.js";
3
- import { u as U } from "./useSelect-DHP6UE_X.js";
2
+ import { u as L, _ as O, b as T } from "./index-DNuDGSpm.js";
3
+ import { u as U } from "./useSelect-BYtxgQRQ.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, mergeModels as k, useModel as B, inject as f, computed as D, resolveComponent as y, resolveDirective as S, openBlock as r, createElementBlock as i, toDisplayString as v, createBlock as b, mergeProps as A, withCtx as g, withDirectives as F, Fragment as j, renderList as w, unref as h, createTextVNode as I } from "vue";
2
- import { u as N } from "./index-txSDEbhu.js";
3
- import { u as P } from "./useSelect-DHP6UE_X.js";
2
+ import { u as N } from "./index-DNuDGSpm.js";
3
+ import { u as P } from "./useSelect-BYtxgQRQ.js";
4
4
  const E = { key: 0 }, L = { style: { "min-height": "32px" } }, $ = /* @__PURE__ */ _({
5
5
  __name: "Select",
6
6
  props: /* @__PURE__ */ k({
@@ -1,5 +1,5 @@
1
- import { defineComponent as ge, inject as B, ref as f, useTemplateRef as he, readonly as fe, toRefs as ye, onUnmounted as me, resolveComponent as b, openBlock as c, createElementBlock as w, normalizeClass as _, withDirectives as V, createElementVNode as y, createVNode as m, unref as p, withCtx as u, createBlock as z, createCommentVNode as C, Fragment as R, renderList as $, toDisplayString as N, withModifiers as Ce, createTextVNode as ve, vShow as F, mergeProps as ke } from "vue";
2
- import { $ as we, h as ze, _ as Se, f as be, I as Re, C as Be, b as _e } from "./index-txSDEbhu.js";
1
+ import { defineComponent as ge, inject as B, ref as f, useTemplateRef as he, readonly as fe, toRefs as ye, onUnmounted as me, resolveComponent as b, openBlock as u, createElementBlock as w, normalizeClass as _, withDirectives as V, createElementVNode as y, createVNode as m, unref as p, withCtx as c, createBlock as z, createCommentVNode as C, Fragment as R, renderList as $, toDisplayString as N, withModifiers as Ce, createTextVNode as ve, vShow as F, mergeProps as ke } from "vue";
2
+ import { $ as we, h as ze, _ as Se, f as be, I as Re, C as Be, b as _e } from "./index-DNuDGSpm.js";
3
3
  import { ElTable as Ne } from "element-plus";
4
4
  const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { class: "text-ellipsis" }, Me = /* @__PURE__ */ ge({
5
5
  __name: "Table",
@@ -24,9 +24,10 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
24
24
  hiddenPagination: { type: Boolean },
25
25
  handleCurrentChange: {},
26
26
  pageSizes: {},
27
+ pagerCount: {},
27
28
  defaultPageSize: {},
28
29
  typeSwitch: { type: Boolean },
29
- displayType: {},
30
+ displayType: { default: "table" },
30
31
  onMounted: {},
31
32
  name: {}
32
33
  },
@@ -110,9 +111,9 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
110
111
  });
111
112
  }, s = f([]), se = (e) => {
112
113
  s.value = e;
113
- }, ce = (e = {}) => {
114
+ }, ue = (e = {}) => {
114
115
  s.value.push(e);
115
- }, ue = (e) => {
116
+ }, ce = (e) => {
116
117
  e >= 0 && e < s.value.length && s.value.splice(e, 1);
117
118
  }, pe = async () => {
118
119
  s.value = [...s.value];
@@ -123,8 +124,8 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
123
124
  getData: J,
124
125
  getCurrentRow: Q,
125
126
  getSelectedRows: X,
126
- addRow: ce,
127
- deleteRow: ue,
127
+ addRow: ue,
128
+ deleteRow: ce,
128
129
  refresh: pe,
129
130
  validate: Y,
130
131
  setData: se,
@@ -148,7 +149,7 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
148
149
  }
149
150
  return j(E), (e, t) => {
150
151
  const a = b("el-table-column"), l = b("el-tooltip"), k = b("el-button"), de = b("el-pagination");
151
- return e.hidden ? C("", !0) : (c(), w("div", {
152
+ return e.hidden ? C("", !0) : (u(), w("div", {
152
153
  key: 0,
153
154
  class: _(["table-render", { tableBorder: e.displayType === "table" }]),
154
155
  ref_key: "rootRef",
@@ -168,7 +169,7 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
168
169
  onCurrentChange: O,
169
170
  height: 250
170
171
  }, {
171
- empty: u(() => [
172
+ empty: c(() => [
172
173
  y("div", Pe, [
173
174
  m(p(Se), {
174
175
  name: "tableEmpty",
@@ -177,22 +178,22 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
177
178
  t[2] || (t[2] = y("div", null, "No data available,please check", -1))
178
179
  ])
179
180
  ]),
180
- default: u(() => [
181
- e.multipleSelection ? (c(), z(a, {
181
+ default: c(() => [
182
+ e.multipleSelection ? (u(), z(a, {
182
183
  key: 0,
183
184
  type: "selection",
184
185
  width: "55"
185
186
  })) : C("", !0),
186
- (c(!0), w(R, null, $(e.columns, (o) => (c(), w(R, {
187
+ (u(!0), w(R, null, $(e.columns, (o) => (u(), w(R, {
187
188
  key: o.key
188
189
  }, [
189
- o.hidden ? C("", !0) : (c(), z(a, {
190
+ o.hidden ? C("", !0) : (u(), z(a, {
190
191
  key: 0,
191
192
  prop: o.key,
192
193
  "min-width": o.minWidth,
193
194
  fixed: o.fixed || !1
194
195
  }, {
195
- header: u(() => [
196
+ header: c(() => [
196
197
  m(l, {
197
198
  class: "box-item",
198
199
  effect: "dark",
@@ -200,13 +201,13 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
200
201
  "show-after": 300,
201
202
  placement: "top"
202
203
  }, {
203
- default: u(() => [
204
+ default: c(() => [
204
205
  y("div", De, N(o.label), 1)
205
206
  ]),
206
207
  _: 2
207
208
  }, 1032, ["content"])
208
209
  ]),
209
- default: u(({ row: h }) => [
210
+ default: c(({ row: h }) => [
210
211
  m(l, {
211
212
  class: "box-item",
212
213
  effect: "dark",
@@ -214,7 +215,7 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
214
215
  "show-after": 300,
215
216
  placement: "top"
216
217
  }, {
217
- default: u(() => [
218
+ default: c(() => [
218
219
  y("div", Te, N(p(S) ? p(S)(o.key, h) : h[o.key]), 1)
219
220
  ]),
220
221
  _: 2
@@ -223,17 +224,17 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
223
224
  _: 2
224
225
  }, 1032, ["prop", "min-width", "fixed"]))
225
226
  ], 64))), 128)),
226
- e.rowBtns && e.rowBtns.length > 0 ? (c(), z(a, {
227
+ e.rowBtns && e.rowBtns.length > 0 ? (u(), z(a, {
227
228
  key: 1,
228
229
  label: "Action",
229
230
  fixed: "right",
230
231
  align: "left"
231
232
  }, {
232
- default: u(({ row: o, $index: h }) => [
233
- (c(!0), w(R, null, $(e.rowBtns, (i) => (c(), w(R, {
233
+ default: c(({ row: o, $index: h }) => [
234
+ (u(!0), w(R, null, $(e.rowBtns, (i) => (u(), w(R, {
234
235
  key: i.key
235
236
  }, [
236
- i.condition === void 0 || i.condition === null || p(be)(i.condition, { $row: o }) ? (c(), z(k, {
237
+ i.condition === void 0 || i.condition === null || p(be)(i.condition, { $row: o }) ? (u(), z(k, {
237
238
  key: 0,
238
239
  disabled: i.disabled,
239
240
  link: "",
@@ -241,8 +242,8 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
241
242
  type: i.type,
242
243
  onClick: Ce((Ee) => L(i, o, h), ["stop"])
243
244
  }, {
244
- default: u(() => [
245
- i.icon ? (c(), z(Re, {
245
+ default: c(() => [
246
+ i.icon ? (u(), z(Re, {
246
247
  key: 0,
247
248
  name: i.icon.name,
248
249
  color: i.icon.color,
@@ -281,14 +282,15 @@ const Pe = { class: "empty-content" }, De = { class: "text-ellipsis" }, Te = { c
281
282
  "onUpdate:currentPage": t[0] || (t[0] = (o) => r.value.pageNum = o),
282
283
  "page-size": r.value.pageSize,
283
284
  "onUpdate:pageSize": t[1] || (t[1] = (o) => r.value.pageSize = o),
285
+ "pager-count": e.pagerCount,
284
286
  onSizeChange: ae,
285
287
  onCurrentChange: oe
286
- }, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size"])
288
+ }, null, 8, ["total", "page-sizes", "default-page-size", "current-page", "page-size", "pager-count"])
287
289
  ], 2)
288
290
  ], 2));
289
291
  };
290
292
  }
291
- }), Ue = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-cd30bf86"]]);
293
+ }), Ue = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-afcfc029"]]);
292
294
  export {
293
295
  Ue as default
294
296
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
2
- import { a as V } from "./index-txSDEbhu.js";
2
+ import { a as V } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "Tabs",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as r, createBlock as t, Transition as a, withCtx as l, withDirectives as n, createElementVNode as s, normalizeStyle as p, normalizeClass as i, createVNode as c, unref as m, vShow as f } from "vue";
2
- import { a as _, b as d } from "./index-txSDEbhu.js";
2
+ import { a as _, b as d } from "./index-DNuDGSpm.js";
3
3
  import "element-plus";
4
4
  const y = /* @__PURE__ */ o({
5
5
  __name: "Wrapper",