asiaint-lowcode 3.1.5 → 3.1.7

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 (38) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +106 -106
  3. package/dist/index.d.ts +46 -0
  4. package/dist/lazy/{Card-BOfaGCAD.js → Card--w9nxiAx.js} +1 -1
  5. package/dist/lazy/{Cascader-c9NVH0HO.js → Cascader-BY76cR4O.js} +1 -1
  6. package/dist/lazy/{Checkbox-CP5Hz_sn.js → Checkbox-BLeYFkT_.js} +3 -3
  7. package/dist/lazy/{Collapse-DmRhWMQi.js → Collapse-Bt4Ahrnf.js} +1 -1
  8. package/dist/lazy/{Component-B7oOk_E_.js → Component-Bd5bXSKi.js} +1 -1
  9. package/dist/lazy/{Component-Dxp6d8WW.js → Component-Bf3EVLvi.js} +1 -1
  10. package/dist/lazy/{Component-C-kcQly6.js → Component-BoRVBr-7.js} +1 -1
  11. package/dist/lazy/{Component-6pKnk_5J.js → Component-CJcTBpFq.js} +1 -1
  12. package/dist/lazy/{Component-BY0o1x9x.js → Component-CR8voVwE.js} +1 -1
  13. package/dist/lazy/{Component-NhzPHEjf.js → Component-Da2LNm-N.js} +1 -1
  14. package/dist/lazy/CurdCard-DpsAKs25.js +171 -0
  15. package/dist/lazy/{Custom-DYftWr_j.js → Custom-NVgxR9_v.js} +1 -1
  16. package/dist/lazy/{DatePicker-BRMH_x0K.js → DatePicker-DB4gjOJt.js} +1 -1
  17. package/dist/lazy/{DragList-D64A9BXk.js → DragList-De-xGFzP.js} +1 -1
  18. package/dist/lazy/{FormList-CkML06iK.js → FormList-BzXHPyJc.js} +1 -1
  19. package/dist/lazy/{Grid-IbiIAh4a.js → Grid-yeqxjsOY.js} +1 -1
  20. package/dist/lazy/{Inline-Rx-auuwH.js → Inline-IpWQp9Kw.js} +4 -4
  21. package/dist/lazy/{JsonEdit-DuM8TwHB.js → JsonEdit-DP4Yj85B.js} +1 -1
  22. package/dist/lazy/{LogList-ByQb0pIn.js → LogList-BykvjbR5.js} +1 -1
  23. package/dist/lazy/{ObjGroup-BSlL3U9c.js → ObjGroup-DqUiVSMx.js} +1 -1
  24. package/dist/lazy/{OfferDetails-CCJ9cBaX.js → OfferDetails-BZg6nCSv.js} +25 -23
  25. package/dist/lazy/Pagination-BcTgnr0F.js +70 -0
  26. package/dist/lazy/{Progress-DUt0ohVN.js → Progress-N36ua9TW.js} +1 -1
  27. package/dist/lazy/{Radio-tICi60XR.js → Radio-BLBujjCW.js} +2 -2
  28. package/dist/lazy/{SearchSelect-GKmQ98_x.js → SearchSelect-BGVGwqiE.js} +2 -2
  29. package/dist/lazy/{Select-CJnwBHHb.js → Select-pPcyEW_N.js} +2 -2
  30. package/dist/lazy/Table-DI7XDMgJ.js +471 -0
  31. package/dist/lazy/{Tabs-DRmGUewV.js → Tabs-DEvFGQW7.js} +1 -1
  32. package/dist/lazy/{Wrapper-wgAxYRVL.js → Wrapper-C8lKnyo8.js} +10 -10
  33. package/dist/lazy/{index-Dx7tUT8V.js → index-CEq1kq6m.js} +1614 -1583
  34. package/dist/lazy/{useSelect-C5yOBcgw.js → useSelect-3qVf5sLK.js} +1 -1
  35. package/dist/style.css +2 -2
  36. package/package.json +1 -1
  37. package/dist/lazy/CurdCard-BELDwe8l.js +0 -167
  38. package/dist/lazy/Table-BGK1AwZz.js +0 -448
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { ModelRef } from 'vue';
13
13
  import { PropType } from 'vue';
14
14
  import { PublicProps } from 'vue';
15
15
  import { Ref } from 'vue';
16
+ import { StyleValue } from 'vue';
16
17
  import { TabPaneName } from 'element-plus';
17
18
  import { TabsProps } from 'element-plus';
18
19
  import { VNode } from 'vue';
@@ -156,6 +157,8 @@ onAddPageParams?: ((data: any) => any) | undefined;
156
157
 
157
158
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
158
159
 
160
+ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
161
+
159
162
  declare function __VLS_template(): {
160
163
  default?(_: {}): any;
161
164
  };
@@ -173,6 +176,15 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
173
176
  };
174
177
  };
175
178
 
179
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
180
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
181
+ type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
182
+ } : {
183
+ type: PropType<T[K]>;
184
+ required: true;
185
+ };
186
+ };
187
+
176
188
  declare type __VLS_WithTemplateSlots<T, S> = T & {
177
189
  new (): {
178
190
  $slots: S;
@@ -516,6 +528,35 @@ type: PropType<string>;
516
528
  };
517
529
  }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
518
530
 
531
+ declare const _default_7: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<{
532
+ pageSizes: number[];
533
+ defaultPageSize: number;
534
+ paginationLayout: string;
535
+ hiddenPagination: boolean;
536
+ pagerCount: number;
537
+ style: StyleValue;
538
+ sizeChange: string;
539
+ pageChange: string;
540
+ name: string;
541
+ }>>, {
542
+ getPagination: () => {
543
+ pageNum: number;
544
+ pageSize: number;
545
+ };
546
+ setTotal: (val: number) => void;
547
+ type: "pagination";
548
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<{
549
+ pageSizes: number[];
550
+ defaultPageSize: number;
551
+ paginationLayout: string;
552
+ hiddenPagination: boolean;
553
+ pagerCount: number;
554
+ style: StyleValue;
555
+ sizeChange: string;
556
+ pageChange: string;
557
+ name: string;
558
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
559
+
519
560
  declare type DropdownType = {
520
561
  key: string;
521
562
  text: string;
@@ -541,6 +582,7 @@ declare type DropdownType = {
541
582
  */
542
583
  declare type ExtraRefTypeMap = {
543
584
  draglist: InstanceType<typeof _default_6> & ComponentPublicInstance;
585
+ pagination: InstanceType<typeof _default_7> & ComponentPublicInstance;
544
586
  };
545
587
 
546
588
  declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
@@ -907,6 +949,7 @@ declare interface TableColumn {
907
949
  getIconInfo?: string;
908
950
  getTextStyle?: string;
909
951
  encrypted?: boolean;
952
+ iconPosition?: 'left' | 'right';
910
953
  }
911
954
 
912
955
  export declare const TableRender: DefineComponent<ExtractPropTypes< {
@@ -1002,7 +1045,10 @@ declare type TableSchema = {
1002
1045
  topBtns?: BtnType[];
1003
1046
  rowBtns?: (Omit<BtnType, 'hidden'> & {
1004
1047
  condition?: string | boolean;
1048
+ buttonText?: string;
1005
1049
  })[];
1050
+ rowBtnsLabel?: string;
1051
+ rowBtnsWidth?: number;
1006
1052
  columns: TableColumn[];
1007
1053
  hidden?: boolean;
1008
1054
  hiddenPagination?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as g, inject as h, resolveComponent as d, openBlock as s, createBlock as i, mergeProps as M, withCtx as c, createElementVNode as o, createElementBlock as n, createVNode as t, unref as p, normalizeClass as $, createCommentVNode as I, toDisplayString as v, Fragment as u, renderList as C, withDirectives as E, vShow as V } from "vue";
2
- import { _ as D, I as k, B as F, a as N, b as S } from "./index-Dx7tUT8V.js";
2
+ import { _ as D, I as k, B as F, a as N, b as S } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const j = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ B({
5
5
  __name: "Card",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as v, inject as r, resolveComponent as y, openBlock as C, createBlock as M, mergeProps as h, unref as d } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-C5yOBcgw.js";
3
+ import { u as b } from "./useSelect-3qVf5sLK.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 w, mergeModels as z, useModel as F, watch as D, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as O, createBlock as r, mergeProps as P, withCtx as y, Fragment as b, renderList as f, createCommentVNode as v } from "vue";
2
2
  import "element-plus";
3
- import { u as S } from "./index-Dx7tUT8V.js";
4
- import { u as j } from "./useSelect-C5yOBcgw.js";
3
+ import { u as S } from "./index-CEq1kq6m.js";
4
+ import { u as j } from "./useSelect-3qVf5sLK.js";
5
5
  const E = { key: 0 }, q = /* @__PURE__ */ w({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ z({
@@ -34,7 +34,7 @@ const E = { key: 0 }, q = /* @__PURE__ */ w({
34
34
  return D(n, p), (e, i) => {
35
35
  var c;
36
36
  const K = t("el-checkbox"), C = t("el-checkbox-button"), V = t("el-space"), _ = t("el-checkbox-group"), B = M("loading");
37
- return a(k).read ? (l(), s("div", E, I((c = n.value) == null ? void 0 : c.map((o) => {
37
+ return a(k).schema.read ? (l(), s("div", E, I((c = n.value) == null ? void 0 : c.map((o) => {
38
38
  var m;
39
39
  return (m = a(u).find((T) => T[e.valueKey] === o)) == null ? void 0 : m[e.labelKey];
40
40
  }).join("、")), 1)) : O((l(), r(_, P({ key: 1 }, e.$attrs, {
@@ -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-Dx7tUT8V.js";
2
+ import { a as y } from "./index-CEq1kq6m.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,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-Dx7tUT8V.js";
2
+ import { b as H, u as K, c as Q } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -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-Dx7tUT8V.js";
3
+ import { _ as f } from "./index-CEq1kq6m.js";
4
4
  const $ = {
5
5
  key: 0,
6
6
  style: { "min-width": "300px" }
@@ -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-Dx7tUT8V.js";
2
+ import { u as V } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
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-Dx7tUT8V.js";
5
+ import { u as b, b as x } from "./index-CEq1kq6m.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(",");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, inject as C, ref as v, watch as $, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as A, withCtx as f, createElementVNode as c, toDisplayString as B, createElementBlock as k, createCommentVNode as _, Fragment as N, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
2
- import { f as F, I as j, b as D } from "./index-Dx7tUT8V.js";
2
+ import { f as F, I as j, b as D } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, mergeModels as d, useModel as i, computed as c, resolveComponent as f, openBlock as t, createElementBlock as y, toDisplayString as v, createBlock as k, mergeProps as V } from "vue";
2
- import { u as _ } from "./index-Dx7tUT8V.js";
2
+ import { u as _ } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const B = { key: 0 }, g = /* @__PURE__ */ p({
5
5
  __name: "Component",
@@ -0,0 +1,171 @@
1
+ import { defineComponent as F, inject as V, ref as _, resolveComponent as C, openBlock as o, createElementBlock as s, normalizeClass as v, normalizeStyle as j, createElementVNode as i, createBlock as r, createCommentVNode as u, toDisplayString as M, withCtx as f, Fragment as B, renderList as $, createTextVNode as A, createVNode as d, unref as k, withDirectives as O, vShow as P } from "vue";
2
+ import { u as U, I as m, a as S, B as q, h as G, b as H } from "./index-CEq1kq6m.js";
3
+ import "element-plus";
4
+ const J = ["id"], K = { class: "left-part" }, Q = { class: "title" }, W = { class: "right-part" }, X = { key: 0 }, Y = {
5
+ key: 1,
6
+ class: "switch-panel"
7
+ }, Z = { key: 3 }, x = /* @__PURE__ */ F({
8
+ __name: "CurdCard",
9
+ props: {
10
+ name: {},
11
+ children: {},
12
+ defaultCollapse: { type: Boolean },
13
+ collapsible: { type: Boolean },
14
+ onCollapsed: {},
15
+ typeSwitch: { type: Boolean },
16
+ title: {},
17
+ btns: {},
18
+ type: {},
19
+ mainIcon: {},
20
+ extraIcons: {},
21
+ displayType: {},
22
+ radioList: {},
23
+ onRadioChange: {},
24
+ radioDefault: {},
25
+ formSlots: {},
26
+ style: { type: [Boolean, null, String, Object, Array] }
27
+ },
28
+ setup(R) {
29
+ const c = V("ruleModule", void 0), g = V("pageMethodMap", {}), n = R, b = _(n.radioDefault ?? "2"), T = (e) => {
30
+ if (e && c)
31
+ try {
32
+ c[e](g);
33
+ } catch (a) {
34
+ console.error(a);
35
+ }
36
+ }, D = (e) => {
37
+ n.onRadioChange && c && c[n.onRadioChange](g, e);
38
+ }, L = () => {
39
+ p.value = !p.value, n.onCollapsed && c && c[n.onCollapsed](g, p.value);
40
+ }, p = _(n.defaultCollapse ?? !1), y = _(n.displayType || (n.typeSwitch ? "card" : "table")), N = U(), I = (e) => {
41
+ y.value = e;
42
+ const a = G(N.schema.items, n.name), h = (w) => {
43
+ w.forEach((t) => {
44
+ t.component === "Table" && t.props && (t.props.displayType = e), t.children && t.children.length > 0 && h(t.children);
45
+ });
46
+ };
47
+ a && a.children && h(a.children);
48
+ };
49
+ return I(y.value), (e, a) => {
50
+ const h = C("el-radio"), w = C("el-radio-group"), t = C("el-tooltip"), z = C("el-collapse-transition");
51
+ return o(), s("div", {
52
+ class: v(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
53
+ style: j(e.style),
54
+ id: e.name
55
+ }, [
56
+ i("div", {
57
+ class: v(["card-header", {
58
+ inline: e.type === "inline",
59
+ mix: e.type === "mix",
60
+ default: e.type === "default",
61
+ gridItem: e.type === "gridItem",
62
+ collapsedPadding: p.value && e.onCollapsed
63
+ }])
64
+ }, [
65
+ i("div", K, [
66
+ e.mainIcon ? (o(), r(m, {
67
+ key: 0,
68
+ class: "title-icon",
69
+ size: "large",
70
+ name: e.mainIcon.name,
71
+ color: e.mainIcon.color
72
+ }, null, 8, ["name", "color"])) : u("", !0),
73
+ i("span", Q, M(e.title), 1),
74
+ e.radioList ? (o(), r(w, {
75
+ key: 1,
76
+ class: "ml-9",
77
+ modelValue: b.value,
78
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => b.value = l),
79
+ onChange: a[1] || (a[1] = (l) => D(b.value))
80
+ }, {
81
+ default: f(() => [
82
+ (o(!0), s(B, null, $(e.radioList, (l) => (o(), r(h, {
83
+ value: l.value,
84
+ key: l.value
85
+ }, {
86
+ default: f(() => [
87
+ A(M(l.label), 1)
88
+ ]),
89
+ _: 2
90
+ }, 1032, ["value"]))), 128))
91
+ ]),
92
+ _: 1
93
+ }, 8, ["modelValue"])) : u("", !0),
94
+ (o(!0), s(B, null, $(e.extraIcons, (l) => (o(), s(B, {
95
+ key: l.name
96
+ }, [
97
+ l.tips ? (o(), r(t, {
98
+ key: 0,
99
+ content: l.tips,
100
+ placement: "right"
101
+ }, {
102
+ default: f(() => [
103
+ d(m, {
104
+ class: "extra-icon",
105
+ name: l.name,
106
+ color: l.color,
107
+ onClick: (E) => T(l.onClick)
108
+ }, null, 8, ["name", "color", "onClick"])
109
+ ]),
110
+ _: 2
111
+ }, 1032, ["content"])) : (o(), r(m, {
112
+ key: 1,
113
+ class: "extra-icon",
114
+ name: l.name,
115
+ color: l.color,
116
+ onClick: (E) => T(l.onClick)
117
+ }, null, 8, ["name", "color", "onClick"]))
118
+ ], 64))), 128))
119
+ ]),
120
+ i("div", W, [
121
+ e.formSlots ? (o(), s("div", X, [
122
+ d(k(S), { list: e.formSlots }, null, 8, ["list"])
123
+ ])) : u("", !0),
124
+ e.typeSwitch ? (o(), s("div", Y, [
125
+ i("div", {
126
+ class: v(["switch-icon-wrapper", { active: y.value === "card" }]),
127
+ onClick: a[2] || (a[2] = (l) => I("card"))
128
+ }, [
129
+ d(m, { name: "icon-kapian" })
130
+ ], 2),
131
+ i("div", {
132
+ class: v(["switch-icon-wrapper", { active: y.value === "table" }]),
133
+ onClick: a[3] || (a[3] = (l) => I("table"))
134
+ }, [
135
+ d(m, { name: "icon-biaoge" })
136
+ ], 2)
137
+ ])) : u("", !0),
138
+ e.collapsible ? (o(), s("div", {
139
+ key: 2,
140
+ class: v(["collapse-icon-wrapper", { collapsed: p.value }]),
141
+ onClick: L
142
+ }, [
143
+ d(m, { name: "icon-shaixuan" })
144
+ ], 2)) : u("", !0),
145
+ e.btns && e.btns.length > 0 ? (o(), s("div", Z, [
146
+ d(k(q), {
147
+ btns: e.btns || []
148
+ }, null, 8, ["btns"])
149
+ ])) : u("", !0)
150
+ ])
151
+ ], 2),
152
+ e.onCollapsed ? (o(), r(k(S), {
153
+ key: 1,
154
+ list: e.children
155
+ }, null, 8, ["list"])) : (o(), r(z, { key: 0 }, {
156
+ default: f(() => [
157
+ O(i("div", null, [
158
+ d(k(S), { list: e.children }, null, 8, ["list"])
159
+ ], 512), [
160
+ [P, !p.value]
161
+ ])
162
+ ]),
163
+ _: 1
164
+ }))
165
+ ], 14, J);
166
+ };
167
+ }
168
+ }), ae = /* @__PURE__ */ H(x, [["__scopeId", "data-v-b95dea29"]]);
169
+ export {
170
+ ae as default
171
+ };
@@ -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-Dx7tUT8V.js";
2
+ import { b as i } from "./index-CEq1kq6m.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, mergeModels as f, useModel as v, useAttrs as k, computed as r, resolveComponent as y, openBlock as l, createElementBlock as _, toDisplayString as V, createBlock as B, mergeProps as M } from "vue";
2
2
  import { dayjs as g } from "element-plus";
3
- import { u as h } from "./index-Dx7tUT8V.js";
3
+ import { u as h } from "./index-CEq1kq6m.js";
4
4
  const D = { key: 0 }, I = /* @__PURE__ */ i({
5
5
  __name: "DatePicker",
6
6
  props: /* @__PURE__ */ f({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as G, reactive as W, ref as F, onBeforeMount as le, onMounted as ie, nextTick as v, onBeforeUnmount as re, watch as u, provide as T, toRefs as V, openBlock as S, createElementBlock as j, normalizeStyle as ne, renderSlot as q, Fragment as se, renderList as ue, createBlock as P, mergeProps as de, withCtx as J, withDirectives as ce, createVNode as K, vShow as me, mergeModels as pe, useModel as ge, onUnmounted as ye, unref as A, readonly as O } from "vue";
2
- import { w as ve, m as fe, n as he, o as b, T as we, v as xe, p as k, A as Be, q as X, x as be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as Y, V as Se, j as ze, i as Re, a as Ne, b as $e } from "./index-Dx7tUT8V.js";
2
+ import { w as ve, m as fe, n as he, o as b, T as we, v as xe, p as k, A as Be, q as X, x as be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as Y, V as Se, j as ze, i as Re, a as Ne, b as $e } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const Ie = /* @__PURE__ */ G({
5
5
  __name: "grid-layout",
@@ -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-Dx7tUT8V.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-CEq1kq6m.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 i, computed as o, openBlock as a, createElementBlock as d, normalizeStyle as r, createVNode as l, unref as m } from "vue";
2
- import { a as g } from "./index-Dx7tUT8V.js";
2
+ import { a as g } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ i({
5
5
  __name: "Grid",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, computed as o, openBlock as r, createElementBlock as i, normalizeStyle as p, createVNode as s, unref as c } from "vue";
2
- import { a as m, b as f } from "./index-Dx7tUT8V.js";
2
+ import { a as m, b as u } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
- const u = /* @__PURE__ */ l({
4
+ const f = /* @__PURE__ */ l({
5
5
  __name: "Inline",
6
6
  props: {
7
7
  children: {},
@@ -19,7 +19,7 @@ const u = /* @__PURE__ */ l({
19
19
  "align-items": e.alignItems,
20
20
  "flex-wrap": e.autoWrap ? "wrap" : "nowrap",
21
21
  "overflow-x": "auto",
22
- gap: `${e.gap || 12}px`,
22
+ gap: `${isNaN(e.gap) ? 12 : e.gap}px`,
23
23
  ...e.style || {}
24
24
  }));
25
25
  return (a, d) => (r(), i("div", {
@@ -29,7 +29,7 @@ const u = /* @__PURE__ */ l({
29
29
  s(c(m), { list: a.children }, null, 8, ["list"])
30
30
  ], 4));
31
31
  }
32
- }), x = /* @__PURE__ */ f(u, [["__scopeId", "data-v-8f8d5854"]]);
32
+ }), x = /* @__PURE__ */ u(f, [["__scopeId", "data-v-8ba696e7"]]);
33
33
  export {
34
34
  x as default
35
35
  };
@@ -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-Dx7tUT8V.js";
2
+ import { b as xt, g as Nt } from "./index-CEq1kq6m.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, openBlock as e, createElementBlock as o, Fragment as a, renderList as d, createElementVNode as s, normalizeStyle as i, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
2
- import { b as y } from "./index-Dx7tUT8V.js";
2
+ import { b as y } from "./index-CEq1kq6m.js";
3
3
  const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "title" }, m = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
4
4
  __name: "LogList",
5
5
  props: {
@@ -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-Dx7tUT8V.js";
2
+ import { u as j, d as h, e as k } from "./index-CEq1kq6m.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,9 +1,9 @@
1
- import { defineComponent as B, resolveComponent as M, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as b, toDisplayString as y, createCommentVNode as I, ref as D, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
2
- import { k as U, $ as z, _ as F, b as L } from "./index-Dx7tUT8V.js";
1
+ import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as B, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, createCommentVNode as I, ref as E, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
2
+ import { k as L, $ as U, _ as z, b as F } from "./index-CEq1kq6m.js";
3
3
  const x = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
6
- }, q = { class: "product-title attribute-title" }, G = { class: "attribute-item-list" }, H = { class: "attribute-label" }, J = { class: "attribute-value" }, Q = /* @__PURE__ */ B({
6
+ }, W = { class: "product-title attribute-title" }, q = { class: "attribute-item-list" }, G = { class: "attribute-label" }, H = { class: "attribute-value" }, J = /* @__PURE__ */ D({
7
7
  __name: "OfferDetailItem",
8
8
  props: {
9
9
  data: {},
@@ -17,35 +17,35 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
17
17
  "popper-class": "offer-detail",
18
18
  placement: "right"
19
19
  }, {
20
- reference: E(() => [
21
- g(U, {
20
+ reference: B(() => [
21
+ g(L, {
22
22
  data: a.data,
23
23
  btns: a.btns,
24
24
  index: a.index
25
25
  }, null, 8, ["data", "btns", "index"])
26
26
  ]),
27
- default: E(() => [
27
+ default: B(() => [
28
28
  i("div", x, [
29
29
  p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
30
30
  i("div", K, [
31
- (l(!0), r(u, null, b(a.data.product, (s) => (l(), r("div", {
31
+ (l(!0), r(u, null, y(a.data.product, (s) => (l(), r("div", {
32
32
  class: "product-item",
33
33
  key: s.label
34
- }, y(s.label), 1))), 128))
34
+ }, b(s.label), 1))), 128))
35
35
  ]),
36
36
  i("div", V, [
37
- (l(!0), r(u, null, b(a.data.product, (s) => (l(), r(u, {
37
+ (l(!0), r(u, null, y(a.data.product, (s) => (l(), r(u, {
38
38
  key: s.label
39
39
  }, [
40
40
  s.children.length > 0 ? (l(), r("div", j, [
41
- i("div", q, y(s.label), 1),
42
- i("div", G, [
43
- (l(!0), r(u, null, b(s.children, (d) => (l(), r("div", {
41
+ i("div", W, b(s.label), 1),
42
+ i("div", q, [
43
+ (l(!0), r(u, null, y(s.children, (d) => (l(), r("div", {
44
44
  class: "attribute-item",
45
45
  key: d.label
46
46
  }, [
47
- i("div", H, y(d.label), 1),
48
- i("div", J, y(d.value || "--"), 1)
47
+ i("div", G, b(d.label), 1),
48
+ i("div", H, b(d.value || "--"), 1)
49
49
  ]))), 128))
50
50
  ])
51
51
  ])) : I("", !0)
@@ -57,10 +57,10 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
57
57
  });
58
58
  };
59
59
  }
60
- }), W = {
60
+ }), Q = {
61
61
  key: 0,
62
62
  class: "empty-content"
63
- }, X = /* @__PURE__ */ B({
63
+ }, X = /* @__PURE__ */ D({
64
64
  __name: "OfferDetails",
65
65
  props: {
66
66
  title: {},
@@ -78,6 +78,8 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
78
78
  pageChange: {},
79
79
  topBtns: {},
80
80
  rowBtns: {},
81
+ rowBtnsLabel: {},
82
+ rowBtnsWidth: {},
81
83
  hidden: { type: Boolean },
82
84
  hiddenPagination: { type: Boolean },
83
85
  handleCurrentChange: {},
@@ -100,7 +102,7 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
100
102
  },
101
103
  setup(m) {
102
104
  var k, T;
103
- const a = m, p = D(), _ = D([]), s = (k = a.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (T = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : T.key, h = a.columns.find((t) => t.position === "footer"), w = (t) => {
105
+ const a = m, p = E(), _ = E([]), s = (k = a.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (T = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : T.key, h = a.columns.find((t) => t.position === "footer"), w = (t) => {
104
106
  const e = [];
105
107
  return t.children && t.children.length > 0 && t.children.forEach((n) => {
106
108
  const o = {
@@ -124,7 +126,7 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
124
126
  v === 0 || !e[v] ? n.push(f) : e[v].children.push(f);
125
127
  }), n;
126
128
  }
127
- const C = N(z), c = C ? C.translateFn : null;
129
+ const C = N(U), c = C ? C.translateFn : null;
128
130
  return A(() => {
129
131
  if (a.data) {
130
132
  const t = P(a.data);
@@ -158,19 +160,19 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
158
160
  "--gap": t.gap + "px"
159
161
  })
160
162
  }, [
161
- (l(!0), r(u, null, b(p.value, (n, o) => (l(), r("div", {
163
+ (l(!0), r(u, null, y(p.value, (n, o) => (l(), r("div", {
162
164
  class: "card-list-item",
163
165
  key: o
164
166
  }, [
165
- g(Q, {
167
+ g(J, {
166
168
  data: n,
167
169
  btns: _.value,
168
170
  index: o
169
171
  }, null, 8, ["data", "btns", "index"])
170
172
  ]))), 128))
171
173
  ], 4),
172
- !t.data || t.data.length === 0 ? (l(), r("div", W, [
173
- g($(F), {
174
+ !t.data || t.data.length === 0 ? (l(), r("div", Q, [
175
+ g($(z), {
174
176
  name: "tableEmpty",
175
177
  style: { width: 56, height: 56 }
176
178
  }),
@@ -178,7 +180,7 @@ const x = { class: "content" }, K = { class: "product-list" }, V = { class: "att
178
180
  ])) : I("", !0)
179
181
  ], 64));
180
182
  }
181
- }), ee = /* @__PURE__ */ L(X, [["__scopeId", "data-v-09844ac4"]]);
183
+ }), ee = /* @__PURE__ */ F(X, [["__scopeId", "data-v-09844ac4"]]);
182
184
  export {
183
185
  ee as default
184
186
  };