asiaint-lowcode 3.0.75 → 3.1.0

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 (37) hide show
  1. package/dist/asiaint-lowcode.js +3 -3
  2. package/dist/asiaint-lowcode.umd.cjs +141 -141
  3. package/dist/index.d.ts +139 -22
  4. package/dist/lazy/{Card-BL132uF0.js → Card-6y3b8xK9.js} +1 -1
  5. package/dist/lazy/{Cascader-BNajnGXt.js → Cascader-1XEBAirk.js} +2 -1
  6. package/dist/lazy/{Checkbox-CB78q85K.js → Checkbox-DY7Ufmrz.js} +8 -7
  7. package/dist/lazy/{Collapse-BT3Z_TeL.js → Collapse-BT7RNNg6.js} +1 -1
  8. package/dist/lazy/{Component-CVbGsSj6.js → Component-AYxGCLAH.js} +10 -10
  9. package/dist/lazy/{Component-OAYlB5bp.js → Component-BYlYtzWb.js} +1 -1
  10. package/dist/lazy/{Component-Cwe8AZcy.js → Component-CF4m_685.js} +1 -1
  11. package/dist/lazy/{Component-Dl3PXGm5.js → Component-CkSnYtMh.js} +1 -1
  12. package/dist/lazy/{Component-DdZRdqp7.js → Component-DITfSg2v.js} +1 -1
  13. package/dist/lazy/{Component-BNOSHXwG.js → Component-DZMCcrpa.js} +1 -1
  14. package/dist/lazy/{CurdCard-BrBulKvO.js → CurdCard-BXOxRtCA.js} +50 -44
  15. package/dist/lazy/{Custom-BliwSKbp.js → Custom-Df5H1QJV.js} +1 -1
  16. package/dist/lazy/{DragList-Buw-1bQc.js → DragList-BH1VY62B.js} +35 -34
  17. package/dist/lazy/{FormList-DTdAAtrD.js → FormList-BMk_lCx8.js} +1 -1
  18. package/dist/lazy/{Grid-DUAIHsOo.js → Grid-SVpxXRzO.js} +1 -1
  19. package/dist/lazy/{Inline-BkAIXUU0.js → Inline-CE2A9Of4.js} +1 -1
  20. package/dist/lazy/{JsonEdit-Bx4jK-K8.js → JsonEdit-C_CUvw5t.js} +1 -1
  21. package/dist/lazy/{LogList-DHk7eKeC.js → LogList-COeBYixP.js} +1 -1
  22. package/dist/lazy/{ObjGroup-DXJerzS2.js → ObjGroup-BB2eQigf.js} +1 -1
  23. package/dist/lazy/{OfferDetails-Fs5y40J0.js → OfferDetails-BEyNKQsf.js} +29 -28
  24. package/dist/lazy/{Progress-pRaKkFkw.js → Progress-CYBbCXFh.js} +1 -1
  25. package/dist/lazy/{Radio-C9Z-5npS.js → Radio-qI1r_rWj.js} +8 -7
  26. package/dist/lazy/{SearchSelect-BU-_DOLr.js → SearchSelect-ZmOPM_QH.js} +15 -14
  27. package/dist/lazy/{Select-DJ6Ky5mO.js → Select-CxtVmfLu.js} +10 -9
  28. package/dist/lazy/Table-YeT82lnr.js +438 -0
  29. package/dist/lazy/{Tabs-meM_0XCE.js → Tabs-DFvfP_nb.js} +1 -1
  30. package/dist/lazy/Wrapper-DAFSrkAr.js +87 -0
  31. package/dist/lazy/{index-2Lph8ou3.js → index-DQ889qV3.js} +9667 -9397
  32. package/dist/lazy/useSelect-EfaZqc6a.js +77 -0
  33. package/dist/style.css +2 -2
  34. package/package.json +1 -1
  35. package/dist/lazy/Table-BlBWSnrv.js +0 -351
  36. package/dist/lazy/Wrapper-DlG2aZRe.js +0 -36
  37. package/dist/lazy/useSelect-CmUZu1rN.js +0 -76
@@ -1,14 +1,15 @@
1
- import { defineComponent as z, inject as V, ref as _, resolveComponent as y, openBlock as a, createElementBlock as s, createElementVNode as i, normalizeClass as C, createBlock as r, createCommentVNode as m, toDisplayString as M, withCtx as f, Fragment as w, renderList as $, createTextVNode as j, createVNode as p, unref as T, withDirectives as P, vShow as U } from "vue";
2
- import { u as q, I as u, B as A, a as R, h as G, b as H } from "./index-2Lph8ou3.js";
1
+ import { defineComponent as F, inject as V, ref as w, resolveComponent as C, openBlock as a, createElementBlock as s, normalizeClass as m, normalizeStyle as j, createElementVNode as i, createBlock as r, createCommentVNode as v, toDisplayString as S, withCtx as f, Fragment as _, renderList as M, createTextVNode as A, createVNode as p, unref as B, withDirectives as O, vShow as P } from "vue";
2
+ import { u as U, I as u, B as q, a as $, h as G, b as H } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
- const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "title" }, Q = { class: "right-part" }, W = {
4
+ const J = ["id"], K = { class: "left-part" }, Q = { class: "title" }, W = { class: "right-part" }, X = {
5
5
  key: 0,
6
6
  class: "switch-panel"
7
- }, X = { key: 2 }, Y = /* @__PURE__ */ z({
7
+ }, Y = { key: 2 }, Z = /* @__PURE__ */ F({
8
8
  __name: "CurdCard",
9
9
  props: {
10
10
  name: {},
11
11
  children: {},
12
+ defaultCollapse: { type: Boolean },
12
13
  collapsible: { type: Boolean },
13
14
  onCollapsed: {},
14
15
  typeSwitch: { type: Boolean },
@@ -20,22 +21,23 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
20
21
  displayType: {},
21
22
  radioList: {},
22
23
  onRadioChange: {},
23
- radioDefault: {}
24
+ radioDefault: {},
25
+ style: { type: [Boolean, null, String, Object, Array] }
24
26
  },
25
- setup(S) {
26
- const c = V("ruleModule", void 0), k = V("pageMethodMap", {}), n = S, g = _(n.radioDefault ?? "2"), B = (e) => {
27
- if (e && c)
27
+ setup(R) {
28
+ const d = V("ruleModule", void 0), k = V("pageMethodMap", {}), n = R, g = w(n.radioDefault ?? "2"), T = (e) => {
29
+ if (e && d)
28
30
  try {
29
- c[e](k);
31
+ d[e](k);
30
32
  } catch (o) {
31
33
  console.error(o);
32
34
  }
33
35
  }, D = (e) => {
34
- n.onRadioChange && c && c[n.onRadioChange](k, e);
36
+ n.onRadioChange && d && d[n.onRadioChange](k, e);
35
37
  }, L = () => {
36
- d.value = !d.value, n.onCollapsed && c && c[n.onCollapsed](k, d.value);
37
- }, d = _(!1), v = _(n.displayType || (n.typeSwitch ? "card" : "table")), N = q(), b = (e) => {
38
- v.value = e;
38
+ c.value = !c.value, n.onCollapsed && d && d[n.onCollapsed](k, c.value);
39
+ }, c = w(n.defaultCollapse ?? !1), y = w(n.displayType || (n.typeSwitch ? "card" : "table")), N = U(), b = (e) => {
40
+ y.value = e;
39
41
  const o = G(N.schema.items, n.name), h = (I) => {
40
42
  I.forEach((t) => {
41
43
  t.component === "Table" && t.props && (t.props.displayType = e), t.children && t.children.length > 0 && h(t.children);
@@ -43,16 +45,20 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
43
45
  };
44
46
  o && o.children && h(o.children);
45
47
  };
46
- return b(v.value), (e, o) => {
47
- const h = y("el-radio"), I = y("el-radio-group"), t = y("el-tooltip"), E = y("el-collapse-transition");
48
- return a(), s("div", J, [
48
+ return b(y.value), (e, o) => {
49
+ const h = C("el-radio"), I = C("el-radio-group"), t = C("el-tooltip"), z = C("el-collapse-transition");
50
+ return a(), s("div", {
51
+ class: m(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
52
+ style: j(e.style),
53
+ id: e.name
54
+ }, [
49
55
  i("div", {
50
- class: C(["card-header", {
56
+ class: m(["card-header", {
51
57
  inline: e.type === "inline",
52
58
  mix: e.type === "mix",
53
59
  default: e.type === "default",
54
60
  gridItem: e.type === "gridItem",
55
- collapsedPadding: d.value && e.onCollapsed
61
+ collapsedPadding: c.value && e.onCollapsed
56
62
  }])
57
63
  }, [
58
64
  i("div", K, [
@@ -62,8 +68,8 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
62
68
  size: "large",
63
69
  name: e.mainIcon.name,
64
70
  color: e.mainIcon.color
65
- }, null, 8, ["name", "color"])) : m("", !0),
66
- i("span", O, M(e.title), 1),
71
+ }, null, 8, ["name", "color"])) : v("", !0),
72
+ i("span", Q, S(e.title), 1),
67
73
  e.radioList ? (a(), r(I, {
68
74
  key: 1,
69
75
  class: "ml-9",
@@ -72,19 +78,19 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
72
78
  onChange: o[1] || (o[1] = (l) => D(g.value))
73
79
  }, {
74
80
  default: f(() => [
75
- (a(!0), s(w, null, $(e.radioList, (l) => (a(), r(h, {
81
+ (a(!0), s(_, null, M(e.radioList, (l) => (a(), r(h, {
76
82
  value: l.value,
77
83
  key: l.value
78
84
  }, {
79
85
  default: f(() => [
80
- j(M(l.label), 1)
86
+ A(S(l.label), 1)
81
87
  ]),
82
88
  _: 2
83
89
  }, 1032, ["value"]))), 128))
84
90
  ]),
85
91
  _: 1
86
- }, 8, ["modelValue"])) : m("", !0),
87
- (a(!0), s(w, null, $(e.extraIcons, (l) => (a(), s(w, {
92
+ }, 8, ["modelValue"])) : v("", !0),
93
+ (a(!0), s(_, null, M(e.extraIcons, (l) => (a(), s(_, {
88
94
  key: l.name
89
95
  }, [
90
96
  l.tips ? (a(), r(t, {
@@ -97,7 +103,7 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
97
103
  class: "extra-icon",
98
104
  name: l.name,
99
105
  color: l.color,
100
- onClick: (F) => B(l.onClick)
106
+ onClick: (E) => T(l.onClick)
101
107
  }, null, 8, ["name", "color", "onClick"])
102
108
  ]),
103
109
  _: 2
@@ -106,56 +112,56 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
106
112
  class: "extra-icon",
107
113
  name: l.name,
108
114
  color: l.color,
109
- onClick: (F) => B(l.onClick)
115
+ onClick: (E) => T(l.onClick)
110
116
  }, null, 8, ["name", "color", "onClick"]))
111
117
  ], 64))), 128))
112
118
  ]),
113
- i("div", Q, [
114
- e.typeSwitch ? (a(), s("div", W, [
119
+ i("div", W, [
120
+ e.typeSwitch ? (a(), s("div", X, [
115
121
  i("div", {
116
- class: C(["switch-icon-wrapper", { active: v.value === "card" }]),
122
+ class: m(["switch-icon-wrapper", { active: y.value === "card" }]),
117
123
  onClick: o[2] || (o[2] = (l) => b("card"))
118
124
  }, [
119
125
  p(u, { name: "icon-kapian" })
120
126
  ], 2),
121
127
  i("div", {
122
- class: C(["switch-icon-wrapper", { active: v.value === "table" }]),
128
+ class: m(["switch-icon-wrapper", { active: y.value === "table" }]),
123
129
  onClick: o[3] || (o[3] = (l) => b("table"))
124
130
  }, [
125
131
  p(u, { name: "icon-biaoge" })
126
132
  ], 2)
127
- ])) : m("", !0),
133
+ ])) : v("", !0),
128
134
  e.collapsible ? (a(), s("div", {
129
135
  key: 1,
130
- class: C(["collapse-icon-wrapper", { collapsed: d.value }]),
136
+ class: m(["collapse-icon-wrapper", { collapsed: c.value }]),
131
137
  onClick: L
132
138
  }, [
133
139
  p(u, { name: "icon-shaixuan" })
134
- ], 2)) : m("", !0),
135
- e.btns && e.btns.length > 0 ? (a(), s("div", X, [
136
- p(T(A), {
140
+ ], 2)) : v("", !0),
141
+ e.btns && e.btns.length > 0 ? (a(), s("div", Y, [
142
+ p(B(q), {
137
143
  btns: e.btns || []
138
144
  }, null, 8, ["btns"])
139
- ])) : m("", !0)
145
+ ])) : v("", !0)
140
146
  ])
141
147
  ], 2),
142
- e.onCollapsed ? (a(), r(T(R), {
148
+ e.onCollapsed ? (a(), r(B($), {
143
149
  key: 1,
144
150
  list: e.children
145
- }, null, 8, ["list"])) : (a(), r(E, { key: 0 }, {
151
+ }, null, 8, ["list"])) : (a(), r(z, { key: 0 }, {
146
152
  default: f(() => [
147
- P(i("div", null, [
148
- p(T(R), { list: e.children }, null, 8, ["list"])
153
+ O(i("div", null, [
154
+ p(B($), { list: e.children }, null, 8, ["list"])
149
155
  ], 512), [
150
- [U, !d.value]
156
+ [P, !c.value]
151
157
  ])
152
158
  ]),
153
159
  _: 1
154
160
  }))
155
- ]);
161
+ ], 14, J);
156
162
  };
157
163
  }
158
- }), le = /* @__PURE__ */ H(Y, [["__scopeId", "data-v-f57a931b"]]);
164
+ }), oe = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-73ceae8b"]]);
159
165
  export {
160
- le as default
166
+ oe as default
161
167
  };
@@ -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-2Lph8ou3.js";
2
+ import { b as i } from "./index-DQ889qV3.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,5 +1,5 @@
1
- import { defineComponent as X, reactive as H, ref as U, onBeforeMount as oe, onMounted as le, nextTick as f, onBeforeUnmount as ie, watch as d, provide as W, toRefs as F, openBlock as z, createElementBlock as T, normalizeStyle as re, renderSlot as V, Fragment as ne, renderList as se, createBlock as Y, mergeProps as ue, withCtx as j, withDirectives as de, createVNode as P, vShow as ce, mergeModels as me, useModel as pe, onUnmounted as ge, unref as q, readonly as ye } from "vue";
2
- import { w as fe, k as ve, m as he, n as B, T as we, v as xe, o as b, A as Be, p as A, x as be, L as ke, y as Ce, q as Le, Y as De, r as Se, s as O, V as ze, i as Re, a as Ne, b as Me } from "./index-2Lph8ou3.js";
1
+ import { defineComponent as X, reactive as H, ref as U, onBeforeMount as oe, onMounted as le, nextTick as f, onBeforeUnmount as ie, watch as d, provide as W, toRefs as F, openBlock as z, createElementBlock as T, normalizeStyle as re, renderSlot as V, Fragment as ne, renderList as se, createBlock as Y, mergeProps as ue, withCtx as j, withDirectives as de, createVNode as P, vShow as ce, mergeModels as me, useModel as ge, onUnmounted as pe, unref as q, readonly as ye } from "vue";
2
+ import { w as fe, m as ve, n as he, o as B, T as we, v as xe, p as b, A as Be, q as A, x as be, L as ke, y as De, r as Ce, Y as Le, s as Se, t as O, V as ze, i as Re, a as Ne, b as Me } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const $e = /* @__PURE__ */ X({
5
5
  __name: "grid-layout",
@@ -33,8 +33,8 @@ const $e = /* @__PURE__ */ X({
33
33
  "update:layout",
34
34
  "layout-ready"
35
35
  ],
36
- setup(k, { expose: R, emit: C }) {
37
- const a = k, u = C, t = H({
36
+ setup(k, { expose: R, emit: D }) {
37
+ const a = k, u = D, t = H({
38
38
  width: -1,
39
39
  mergedStyle: {},
40
40
  lastLayoutLength: 0,
@@ -52,7 +52,7 @@ const $e = /* @__PURE__ */ X({
52
52
  // store last active breakpoint
53
53
  originalLayout: null
54
54
  // store original Layout
55
- }), L = /* @__PURE__ */ new Map(), o = U(a.layout), s = U(), { observeResize: c, unobserveResize: w } = fe(), r = ze();
55
+ }), C = /* @__PURE__ */ new Map(), o = U(a.layout), s = U(), { observeResize: c, unobserveResize: w } = fe(), r = ze();
56
56
  r.on("resizeEvent", G), r.on("dragEvent", J), oe(() => {
57
57
  u("layout-before-mount", o.value);
58
58
  }), le(() => {
@@ -64,11 +64,11 @@ const $e = /* @__PURE__ */ X({
64
64
  }), ie(() => {
65
65
  r.clearAll(), s.value && w(s.value);
66
66
  });
67
- function G(e, n, i, g, m, p) {
68
- I(e, n, i, g, m, p);
67
+ function G(e, n, i, p, m, g) {
68
+ I(e, n, i, p, m, g);
69
69
  }
70
- function J(e, n, i, g, m, p) {
71
- E(e, n, i, g, m, p);
70
+ function J(e, n, i, p, m, g) {
71
+ E(e, n, i, p, m, g);
72
72
  }
73
73
  d(
74
74
  () => t.width,
@@ -134,13 +134,13 @@ const $e = /* @__PURE__ */ X({
134
134
  })
135
135
  ), W(xe, r), R({ state: t, getItem: Z, resizeEvent: I, dragEvent: E, layoutUpdate: $ });
136
136
  function K(e) {
137
- L.set(e.i, e);
137
+ C.set(e.i, e);
138
138
  }
139
139
  function Q(e) {
140
- L.delete(e.i);
140
+ C.delete(e.i);
141
141
  }
142
142
  function Z(e) {
143
- return L.get(e);
143
+ return C.get(e);
144
144
  }
145
145
  function $() {
146
146
  if (!b(o.value) && !b(t.originalLayout)) {
@@ -172,47 +172,47 @@ const $e = /* @__PURE__ */ X({
172
172
  return Be(o.value) * (a.rowHeight + e) + e + "px";
173
173
  }
174
174
  let M;
175
- function E(e, n, i, g, m, p) {
175
+ function E(e, n, i, p, m, g) {
176
176
  let l = A(o.value, n);
177
177
  b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" }), e === "dragstart" && !a.verticalCompact && (M = o.value.reduce(
178
- (x, { i: D, x: y, y: h }) => ({
178
+ (x, { i: L, x: y, y: h }) => ({
179
179
  ...x,
180
- [D]: { x: y, y: h }
180
+ [L]: { x: y, y: h }
181
181
  }),
182
182
  {}
183
- )), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = p, t.placeholder.h = m, f(() => {
183
+ )), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = g, t.placeholder.h = m, f(() => {
184
184
  t.isDragging = !0;
185
185
  }), r.emit("updateWidth", t.width)) : f(() => {
186
186
  t.isDragging = !1;
187
- }), o.value = be(o.value, l, i, g, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, B(o.value, a.verticalCompact, M), l.static = !1) : B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "dragend" && (M = void 0, u("layout-updated", o.value));
187
+ }), o.value = be(o.value, l, i, p, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, B(o.value, a.verticalCompact, M), l.static = !1) : B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "dragend" && (M = void 0, u("layout-updated", o.value));
188
188
  }
189
- function I(e, n, i, g, m, p) {
189
+ function I(e, n, i, p, m, g) {
190
190
  let l = A(o.value, n);
191
191
  b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
192
  let x;
193
193
  if (a.preventCollision) {
194
- const D = ke(o.value, { ...l, w: p, h: m }).filter(
194
+ const L = ke(o.value, { ...l, w: g, h: m }).filter(
195
195
  (y) => y.i !== l.i
196
196
  );
197
- if (x = D.length > 0, x) {
197
+ if (x = L.length > 0, x) {
198
198
  let y = 1 / 0, h = 1 / 0;
199
- D.forEach((S) => {
199
+ L.forEach((S) => {
200
200
  S.x > l.x && (y = Math.min(y, S.x)), S.y > l.y && (h = Math.min(h, S.y));
201
201
  }), Number.isFinite(y) && (l.w = y - l.x), Number.isFinite(h) && (l.h = h - l.y);
202
202
  }
203
203
  }
204
- x || (l.w = p, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = i, t.placeholder.y = g, t.placeholder.w = l.w, t.placeholder.h = l.h, f(() => {
204
+ x || (l.w = g, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = i, t.placeholder.y = p, t.placeholder.w = l.w, t.placeholder.h = l.h, f(() => {
205
205
  t.isDragging = !0;
206
206
  }), r.emit("updateWidth", t.width)) : e && f(() => {
207
207
  t.isDragging = !1;
208
208
  }), a.responsive && te(), B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "resizeend" && u("layout-updated", o.value);
209
209
  }
210
210
  function te() {
211
- const e = Ce(a.breakpoints, t.width);
211
+ const e = De(a.breakpoints, t.width);
212
212
  if (e === t.lastBreakpoint)
213
213
  return;
214
- const n = Le(e, a.cols);
215
- !b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = De(o.value));
214
+ const n = Ce(e, a.cols);
215
+ !b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = Le(o.value));
216
216
  const i = Se(
217
217
  t.originalLayout,
218
218
  t.layouts,
@@ -228,8 +228,8 @@ const $e = /* @__PURE__ */ X({
228
228
  t.layouts = Object.assign({}, a.responsiveLayouts);
229
229
  }
230
230
  function ae(e, n) {
231
- const i = new Set(n.map((l) => l.i)), g = new Set(e.map((l) => l.i)), m = e.filter((l) => !i.has(l.i)), p = n.filter((l) => !g.has(l.i));
232
- return m.concat(p);
231
+ const i = new Set(n.map((l) => l.i)), p = new Set(e.map((l) => l.i)), m = e.filter((l) => !i.has(l.i)), g = n.filter((l) => !p.has(l.i));
232
+ return m.concat(g);
233
233
  }
234
234
  return (e, n) => (z(), T("div", {
235
235
  ref_key: "wrapper",
@@ -265,6 +265,7 @@ const $e = /* @__PURE__ */ X({
265
265
  rowHeight: {},
266
266
  colNum: {},
267
267
  maxRows: {},
268
+ isDraggable: { type: Boolean },
268
269
  name: {}
269
270
  }, {
270
271
  gridlayout: { required: !0 },
@@ -272,7 +273,7 @@ const $e = /* @__PURE__ */ X({
272
273
  }),
273
274
  emits: ["update:gridlayout"],
274
275
  setup(k, { expose: R }) {
275
- const C = k, a = pe(k, "gridlayout"), o = {
276
+ const D = k, a = ge(k, "gridlayout"), o = {
276
277
  getLayout: () => ye(a),
277
278
  setItemX: (s, c) => {
278
279
  a.value[s].x = c;
@@ -282,9 +283,9 @@ const $e = /* @__PURE__ */ X({
282
283
  },
283
284
  type: "draglist"
284
285
  };
285
- if (R(o), C.name) {
286
- const s = Re(C.name, o);
287
- ge(() => {
286
+ if (R(o), D.name) {
287
+ const s = Re(D.name, o);
288
+ pe(() => {
288
289
  s();
289
290
  });
290
291
  }
@@ -295,7 +296,7 @@ const $e = /* @__PURE__ */ X({
295
296
  "row-height": s.rowHeight || 30,
296
297
  "max-rows": s.maxRows,
297
298
  margin: [8, 8],
298
- "is-draggable": "",
299
+ "is-draggable": s.isDraggable,
299
300
  "is-bounded": "",
300
301
  "is-resizable": !1,
301
302
  "vertical-compact": "",
@@ -309,9 +310,9 @@ const $e = /* @__PURE__ */ X({
309
310
  }, null, 8, ["list", "gridData"])
310
311
  ]),
311
312
  _: 1
312
- }, 8, ["layout", "col-num", "row-height", "max-rows"]));
313
+ }, 8, ["layout", "col-num", "row-height", "max-rows", "is-draggable"]));
313
314
  }
314
- }), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-599a1a2b"]]);
315
+ }), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-555e834e"]]);
315
316
  export {
316
317
  Ue as default
317
318
  };
@@ -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-2Lph8ou3.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-DQ889qV3.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-2Lph8ou3.js";
2
+ import { a as g } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ i({
5
5
  __name: "Grid",
@@ -1,5 +1,5 @@
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-2Lph8ou3.js";
2
+ import { a as m, b as f } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const u = /* @__PURE__ */ l({
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-2Lph8ou3.js";
2
+ import { b as xt, g as Nt } from "./index-DQ889qV3.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-2Lph8ou3.js";
2
+ import { b as y } from "./index-DQ889qV3.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-2Lph8ou3.js";
2
+ import { u as j, d as h, e as k } from "./index-DQ889qV3.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,
@@ -1,6 +1,6 @@
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 { j as U, $ as z, _ as F, b as j } from "./index-2Lph8ou3.js";
3
- const x = { class: "content" }, K = { class: "product-list" }, L = { class: "attribute-list" }, V = {
1
+ import { defineComponent as B, resolveComponent as M, openBlock as a, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, 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 x } from "./index-DQ889qV3.js";
3
+ const K = { class: "content" }, L = { class: "product-list" }, V = { class: "attribute-list" }, j = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
6
6
  }, q = { class: "product-title attribute-title" }, G = { class: "attribute-item-list" }, H = { class: "attribute-label" }, J = { class: "attribute-value" }, Q = /* @__PURE__ */ B({
@@ -11,41 +11,41 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
11
11
  index: {}
12
12
  },
13
13
  setup(m) {
14
- return (a, p) => {
14
+ return (l, p) => {
15
15
  const _ = M("el-popover");
16
- return l(), O(_, {
16
+ return a(), O(_, {
17
17
  "popper-class": "offer-detail",
18
18
  placement: "right"
19
19
  }, {
20
20
  reference: E(() => [
21
21
  g(U, {
22
- data: a.data,
23
- btns: a.btns,
24
- index: a.index
22
+ data: l.data,
23
+ btns: l.btns,
24
+ index: l.index
25
25
  }, null, 8, ["data", "btns", "index"])
26
26
  ]),
27
27
  default: E(() => [
28
- i("div", x, [
28
+ i("div", K, [
29
29
  p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
30
- i("div", K, [
31
- (l(!0), r(u, null, b(a.data.product, (s) => (l(), r("div", {
30
+ i("div", L, [
31
+ (a(!0), r(u, null, y(l.data.product, (s) => (a(), 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
- i("div", L, [
37
- (l(!0), r(u, null, b(a.data.product, (s) => (l(), r(u, {
36
+ i("div", V, [
37
+ (a(!0), r(u, null, y(l.data.product, (s) => (a(), r(u, {
38
38
  key: s.label
39
39
  }, [
40
- s.children.length > 0 ? (l(), r("div", V, [
41
- i("div", q, y(s.label), 1),
40
+ s.children.length > 0 ? (a(), r("div", j, [
41
+ i("div", q, b(s.label), 1),
42
42
  i("div", G, [
43
- (l(!0), r(u, null, b(s.children, (d) => (l(), r("div", {
43
+ (a(!0), r(u, null, y(s.children, (d) => (a(), 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", H, b(d.label), 1),
48
+ i("div", J, b(d.value || "--"), 1)
49
49
  ]))), 128))
50
50
  ])
51
51
  ])) : I("", !0)
@@ -81,6 +81,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
81
81
  hidden: { type: Boolean },
82
82
  hiddenPagination: { type: Boolean },
83
83
  handleCurrentChange: {},
84
+ selectable: {},
84
85
  pageSizes: {},
85
86
  pagerCount: {},
86
87
  defaultPageSize: {},
@@ -98,7 +99,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
98
99
  },
99
100
  setup(m) {
100
101
  var k, T;
101
- 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) => {
102
+ const l = m, p = D(), _ = D([]), s = (k = l.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (T = l.columns.find((t) => t.position === "subTitle")) == null ? void 0 : T.key, h = l.columns.find((t) => t.position === "footer"), w = (t) => {
102
103
  const e = [];
103
104
  return t.children && t.children.length > 0 && t.children.forEach((n) => {
104
105
  const o = {
@@ -124,8 +125,8 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
124
125
  }
125
126
  const C = N(z), c = C ? C.translateFn : null;
126
127
  return A(() => {
127
- if (a.data) {
128
- const t = P(a.data);
128
+ if (l.data) {
129
+ const t = P(l.data);
129
130
  p.value = t.map((e) => {
130
131
  const n = {
131
132
  content: []
@@ -133,7 +134,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
133
134
  return s && (n.title = c ? c(s, e) : e[s], n.titleColor = "#18AAF8"), d && (n.subTitle = c ? c(d, e) : e[d]), h && (n.footer = {
134
135
  icon: h.footerIcon || "icon-tishi",
135
136
  text: `${h.label}: ${c ? c(h.key, e) : e[h.key]}`
136
- }), e.children && (n.product = w(e)), a.columns.forEach((o) => {
137
+ }), e.children && (n.product = w(e)), l.columns.forEach((o) => {
137
138
  o.position === "content" && n.content.push({
138
139
  label: o.label,
139
140
  value: c ? c(o.key, e) : e[o.key]
@@ -143,12 +144,12 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
143
144
  }
144
145
  }), R(() => {
145
146
  var t;
146
- _.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
147
+ _.value = (t = l.rowBtns) == null ? void 0 : t.map((e) => ({
147
148
  icon: e.icon && e.icon.name ? e.icon.name : "icon-tishi",
148
149
  label: e.label,
149
150
  onClick: e.onClick
150
151
  }));
151
- }), (t, e) => (l(), r(u, null, [
152
+ }), (t, e) => (a(), r(u, null, [
152
153
  i("div", {
153
154
  class: "card-list",
154
155
  style: S({
@@ -156,7 +157,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
156
157
  "--gap": t.gap + "px"
157
158
  })
158
159
  }, [
159
- (l(!0), r(u, null, b(p.value, (n, o) => (l(), r("div", {
160
+ (a(!0), r(u, null, y(p.value, (n, o) => (a(), r("div", {
160
161
  class: "card-list-item",
161
162
  key: o
162
163
  }, [
@@ -167,7 +168,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
167
168
  }, null, 8, ["data", "btns", "index"])
168
169
  ]))), 128))
169
170
  ], 4),
170
- !t.data || t.data.length === 0 ? (l(), r("div", W, [
171
+ !t.data || t.data.length === 0 ? (a(), r("div", W, [
171
172
  g($(F), {
172
173
  name: "tableEmpty",
173
174
  style: { width: 56, height: 56 }
@@ -176,7 +177,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
176
177
  ])) : I("", !0)
177
178
  ], 64));
178
179
  }
179
- }), ee = /* @__PURE__ */ j(X, [["__scopeId", "data-v-09844ac4"]]);
180
+ }), ee = /* @__PURE__ */ x(X, [["__scopeId", "data-v-09844ac4"]]);
180
181
  export {
181
182
  ee as default
182
183
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as l, withCtx as a, 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, _ as C, b as V } from "./index-2Lph8ou3.js";
2
+ import { I as v, _ as C, b as V } from "./index-DQ889qV3.js";
3
3
  const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
4
4
  key: 0,
5
5
  class: "empty-content"
@@ -1,10 +1,11 @@
1
1
  import { defineComponent as F, mergeModels as S, useModel as T, 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 K, withCtx as h, createVNode as N, Fragment as k, renderList as M } from "vue";
2
- import { u as P, b as R } from "./index-2Lph8ou3.js";
3
- import { u as $ } from "./useSelect-CmUZu1rN.js";
4
- const j = { key: 0 }, E = /* @__PURE__ */ F({
2
+ import { u as O, b as P } from "./index-DQ889qV3.js";
3
+ import { u as R } from "./useSelect-EfaZqc6a.js";
4
+ const $ = { key: 0 }, j = /* @__PURE__ */ F({
5
5
  __name: "Radio",
6
6
  props: /* @__PURE__ */ S({
7
7
  options: { default: () => [] },
8
+ defaultOptions: {},
8
9
  mode: { default: "static" },
9
10
  labelKey: { default: "label" },
10
11
  valueKey: { default: "value" },
@@ -27,7 +28,7 @@ const j = { key: 0 }, E = /* @__PURE__ */ F({
27
28
  }),
28
29
  emits: ["update:modelValue"],
29
30
  setup(y) {
30
- const t = y, p = T(y, "modelValue"), m = P(), b = g("ruleModule", void 0), C = g("pageMethodMap", {}), _ = (e) => {
31
+ const t = y, p = T(y, "modelValue"), m = O(), b = g("ruleModule", void 0), C = g("pageMethodMap", {}), _ = (e) => {
31
32
  const { valueKey: d = "value", name: s } = t;
32
33
  let l = {};
33
34
  if (l = r.value.find((n) => n[d] === e) || {}, m.selectData && s && m.updateSelectData(s, l), t.onChange && b)
@@ -36,11 +37,11 @@ const j = { key: 0 }, E = /* @__PURE__ */ F({
36
37
  } catch (n) {
37
38
  console.error(n);
38
39
  }
39
- }, { currentOptions: r, loading: B } = $(t);
40
+ }, { currentOptions: r, loading: B } = R(t);
40
41
  return (e, d) => {
41
42
  var v;
42
43
  const s = u("el-radio"), l = u("el-radio-button"), n = u("el-space"), V = u("el-radio-group"), D = w("loading");
43
- return e.read ? (o(), c("div", j, z(((v = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : v[e.labelKey]) || "--"), 1)) : I((o(), f(V, K({
44
+ return e.read ? (o(), c("div", $, z(((v = i(r).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : v[e.labelKey]) || "--"), 1)) : I((o(), f(V, K({
44
45
  key: 1,
45
46
  modelValue: p.value,
46
47
  "onUpdate:modelValue": d[0] || (d[0] = (a) => p.value = a),
@@ -78,7 +79,7 @@ const j = { key: 0 }, E = /* @__PURE__ */ F({
78
79
  ]);
79
80
  };
80
81
  }
81
- }), q = /* @__PURE__ */ R(E, [["__scopeId", "data-v-3a3fdad0"]]);
82
+ }), q = /* @__PURE__ */ P(j, [["__scopeId", "data-v-3a3fdad0"]]);
82
83
  export {
83
84
  q as default
84
85
  };