asiaint-lowcode 3.0.73 → 3.0.75

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/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +3 -3
  3. package/dist/asiaint-lowcode.umd.cjs +168 -168
  4. package/dist/index.d.ts +125 -15
  5. package/dist/lazy/{Card-BSLPnj0t.js → Card-BL132uF0.js} +2 -2
  6. package/dist/lazy/{Cascader-DbhMXzZV.js → Cascader-BNajnGXt.js} +1 -1
  7. package/dist/lazy/{Checkbox-CugjGjO9.js → Checkbox-CB78q85K.js} +2 -2
  8. package/dist/lazy/{Collapse-vmX3PUGx.js → Collapse-BT3Z_TeL.js} +1 -1
  9. package/dist/lazy/{Component-0yrWAeoC.js → Component-BNOSHXwG.js} +2 -2
  10. package/dist/lazy/{Component-B0QFEwWr.js → Component-CVbGsSj6.js} +13 -13
  11. package/dist/lazy/{Component-BG11YH1L.js → Component-Cwe8AZcy.js} +1 -1
  12. package/dist/lazy/{Component-OVhYSWDw.js → Component-DdZRdqp7.js} +1 -1
  13. package/dist/lazy/{Component-DYYKdz9f.js → Component-Dl3PXGm5.js} +1 -1
  14. package/dist/lazy/{Component-DmRET3rE.js → Component-OAYlB5bp.js} +2 -2
  15. package/dist/lazy/{CurdCard-DYgLc5Ux.js → CurdCard-BrBulKvO.js} +20 -19
  16. package/dist/lazy/{Custom-D7UjpkOW.js → Custom-BliwSKbp.js} +7 -7
  17. package/dist/lazy/DragList-Buw-1bQc.js +317 -0
  18. package/dist/lazy/{FormList-D40CRggh.js → FormList-DTdAAtrD.js} +1 -1
  19. package/dist/lazy/{Grid-SH-t5UKW.js → Grid-DUAIHsOo.js} +10 -9
  20. package/dist/lazy/Inline-BkAIXUU0.js +35 -0
  21. package/dist/lazy/{JsonEdit-DYvUy8q6.js → JsonEdit-Bx4jK-K8.js} +3 -3
  22. package/dist/lazy/{LogList-D0JGptci.js → LogList-DHk7eKeC.js} +7 -7
  23. package/dist/lazy/{ObjGroup-DHQJdcpe.js → ObjGroup-DXJerzS2.js} +1 -1
  24. package/dist/lazy/{OfferDetails-DSgaH1Gs.js → OfferDetails-Fs5y40J0.js} +24 -24
  25. package/dist/lazy/{Progress-CogcTWsd.js → Progress-pRaKkFkw.js} +5 -5
  26. package/dist/lazy/{Radio-9tV-vmZH.js → Radio-C9Z-5npS.js} +23 -22
  27. package/dist/lazy/{SearchSelect-DLgYdGsW.js → SearchSelect-BU-_DOLr.js} +11 -11
  28. package/dist/lazy/{Select-BfKuShpB.js → Select-DJ6Ky5mO.js} +2 -2
  29. package/dist/lazy/{Table-BeIhsi28.js → Table-BlBWSnrv.js} +2 -2
  30. package/dist/lazy/{Tabs-DHYb7Jot.js → Tabs-meM_0XCE.js} +1 -1
  31. package/dist/lazy/{Wrapper-CfglrkCe.js → Wrapper-DlG2aZRe.js} +5 -5
  32. package/dist/lazy/{index-COoXTzR3.js → index-2Lph8ou3.js} +12971 -8926
  33. package/dist/lazy/{useSelect-v7E0loNK.js → useSelect-CmUZu1rN.js} +1 -1
  34. package/dist/style.css +2 -2
  35. package/global.d.ts +10 -10
  36. package/package.json +36 -36
  37. package/dist/lazy/Inline-BeKoTPJ_.js +0 -32
@@ -0,0 +1,317 @@
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";
3
+ import "element-plus";
4
+ const $e = /* @__PURE__ */ X({
5
+ __name: "grid-layout",
6
+ props: {
7
+ autoSize: { type: Boolean, default: !0 },
8
+ colNum: { default: 12 },
9
+ rowHeight: { default: 150 },
10
+ maxRows: { default: 1 / 0 },
11
+ margin: { default: () => [10, 10] },
12
+ isDraggable: { type: Boolean, default: !0 },
13
+ isResizable: { type: Boolean, default: !0 },
14
+ isMirrored: { type: Boolean, default: !1 },
15
+ isBounded: { type: Boolean, default: !1 },
16
+ useCssTransforms: { type: Boolean, default: !0 },
17
+ verticalCompact: { type: Boolean, default: !0 },
18
+ restoreOnDrag: { type: Boolean, default: !1 },
19
+ layout: {},
20
+ responsive: { type: Boolean, default: !1 },
21
+ responsiveLayouts: { default: () => ({}) },
22
+ transformScale: { default: 1 },
23
+ breakpoints: { default: () => ({ lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 }) },
24
+ cols: { default: () => ({ lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 }) },
25
+ preventCollision: { type: Boolean, default: !1 },
26
+ useStyleCursor: { type: Boolean, default: !0 }
27
+ },
28
+ emits: [
29
+ "layout-before-mount",
30
+ "layout-mounted",
31
+ "layout-updated",
32
+ "breakpoint-changed",
33
+ "update:layout",
34
+ "layout-ready"
35
+ ],
36
+ setup(k, { expose: R, emit: C }) {
37
+ const a = k, u = C, t = H({
38
+ width: -1,
39
+ mergedStyle: {},
40
+ lastLayoutLength: 0,
41
+ isDragging: !1,
42
+ placeholder: {
43
+ x: 0,
44
+ y: 0,
45
+ w: 0,
46
+ h: 0,
47
+ i: ""
48
+ },
49
+ layouts: {},
50
+ // array to store all layouts from different breakpoints
51
+ lastBreakpoint: null,
52
+ // store last active breakpoint
53
+ originalLayout: null
54
+ // store original Layout
55
+ }), L = /* @__PURE__ */ new Map(), o = U(a.layout), s = U(), { observeResize: c, unobserveResize: w } = fe(), r = ze();
56
+ r.on("resizeEvent", G), r.on("dragEvent", J), oe(() => {
57
+ u("layout-before-mount", o.value);
58
+ }), le(() => {
59
+ u("layout-mounted", o.value), f(() => {
60
+ ve(o.value), t.originalLayout = o.value, f(() => {
61
+ _(), s.value && c(s.value, he(N, 16)), B(o.value, a.verticalCompact), u("layout-updated", o.value), v(), N();
62
+ });
63
+ });
64
+ }), ie(() => {
65
+ r.clearAll(), s.value && w(s.value);
66
+ });
67
+ function G(e, n, i, g, m, p) {
68
+ I(e, n, i, g, m, p);
69
+ }
70
+ function J(e, n, i, g, m, p) {
71
+ E(e, n, i, g, m, p);
72
+ }
73
+ d(
74
+ () => t.width,
75
+ (e, n) => {
76
+ f(() => {
77
+ r.emit("updateWidth", e), n === -1 && f(() => {
78
+ u("layout-ready", o.value);
79
+ }), v();
80
+ });
81
+ }
82
+ ), d(
83
+ () => [a.layout, a.layout.length],
84
+ () => {
85
+ o.value = a.layout, $();
86
+ }
87
+ ), d(
88
+ () => a.colNum,
89
+ (e) => {
90
+ r.emit("setColNum", e);
91
+ }
92
+ ), d(
93
+ () => a.rowHeight,
94
+ (e) => {
95
+ r.emit("setRowHeight", e);
96
+ }
97
+ ), d(
98
+ () => a.isDraggable,
99
+ (e) => {
100
+ r.emit("setDraggable", e);
101
+ }
102
+ ), d(
103
+ () => a.isResizable,
104
+ (e) => {
105
+ r.emit("setResizable", e);
106
+ }
107
+ ), d(
108
+ () => a.isBounded,
109
+ (e) => {
110
+ r.emit("setBounded", e);
111
+ }
112
+ ), d(
113
+ () => a.transformScale,
114
+ (e) => {
115
+ r.emit("setTransformScale", e);
116
+ }
117
+ ), d(
118
+ () => a.responsive,
119
+ (e) => {
120
+ e || (u("update:layout", t.originalLayout), r.emit("setColNum", a.colNum)), N();
121
+ }
122
+ ), d(
123
+ () => a.maxRows,
124
+ (e) => {
125
+ r.emit("setMaxRows", e);
126
+ }
127
+ ), d([() => a.margin, () => a.margin[1]], v), W(
128
+ we,
129
+ H({
130
+ ...F(a),
131
+ ...F(t),
132
+ increaseItem: K,
133
+ decreaseItem: Q
134
+ })
135
+ ), W(xe, r), R({ state: t, getItem: Z, resizeEvent: I, dragEvent: E, layoutUpdate: $ });
136
+ function K(e) {
137
+ L.set(e.i, e);
138
+ }
139
+ function Q(e) {
140
+ L.delete(e.i);
141
+ }
142
+ function Z(e) {
143
+ return L.get(e);
144
+ }
145
+ function $() {
146
+ if (!b(o.value) && !b(t.originalLayout)) {
147
+ if (o.value.length !== t.originalLayout.length) {
148
+ const e = ae(o.value, t.originalLayout);
149
+ if (e.length > 0)
150
+ if (o.value.length > t.originalLayout.length)
151
+ t.originalLayout = t.originalLayout.concat(e);
152
+ else {
153
+ const n = new Set(e.map((i) => i.i));
154
+ t.originalLayout = t.originalLayout.filter((i) => !n.has(i.i));
155
+ }
156
+ t.lastLayoutLength = o.value.length, _();
157
+ }
158
+ B(o.value, a.verticalCompact), r.emit("updateWidth", t.width), v(), u("layout-updated", o.value);
159
+ }
160
+ }
161
+ function v() {
162
+ t.mergedStyle = {
163
+ height: ee()
164
+ };
165
+ }
166
+ function N() {
167
+ s.value && (t.width = s.value.offsetWidth), r.emit("resizeEvent");
168
+ }
169
+ function ee() {
170
+ if (!a.autoSize) return;
171
+ const e = parseFloat(a.margin[1]);
172
+ return Be(o.value) * (a.rowHeight + e) + e + "px";
173
+ }
174
+ let M;
175
+ function E(e, n, i, g, m, p) {
176
+ let l = A(o.value, n);
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 }) => ({
179
+ ...x,
180
+ [D]: { x: y, y: h }
181
+ }),
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(() => {
184
+ t.isDragging = !0;
185
+ }), r.emit("updateWidth", t.width)) : f(() => {
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));
188
+ }
189
+ function I(e, n, i, g, m, p) {
190
+ let l = A(o.value, n);
191
+ b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
+ let x;
193
+ if (a.preventCollision) {
194
+ const D = ke(o.value, { ...l, w: p, h: m }).filter(
195
+ (y) => y.i !== l.i
196
+ );
197
+ if (x = D.length > 0, x) {
198
+ let y = 1 / 0, h = 1 / 0;
199
+ D.forEach((S) => {
200
+ S.x > l.x && (y = Math.min(y, S.x)), S.y > l.y && (h = Math.min(h, S.y));
201
+ }), Number.isFinite(y) && (l.w = y - l.x), Number.isFinite(h) && (l.h = h - l.y);
202
+ }
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(() => {
205
+ t.isDragging = !0;
206
+ }), r.emit("updateWidth", t.width)) : e && f(() => {
207
+ t.isDragging = !1;
208
+ }), a.responsive && te(), B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "resizeend" && u("layout-updated", o.value);
209
+ }
210
+ function te() {
211
+ const e = Ce(a.breakpoints, t.width);
212
+ if (e === t.lastBreakpoint)
213
+ return;
214
+ const n = Le(e, a.cols);
215
+ !b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = De(o.value));
216
+ const i = Se(
217
+ t.originalLayout,
218
+ t.layouts,
219
+ a.breakpoints,
220
+ e,
221
+ t.lastBreakpoint,
222
+ n,
223
+ a.verticalCompact
224
+ );
225
+ t.layouts[e] = i, t.lastBreakpoint !== e && u("breakpoint-changed", e, i), o.value = i, u("update:layout", i), t.lastBreakpoint = e, r.emit("setColNum", n);
226
+ }
227
+ function _() {
228
+ t.layouts = Object.assign({}, a.responsiveLayouts);
229
+ }
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);
233
+ }
234
+ return (e, n) => (z(), T("div", {
235
+ ref_key: "wrapper",
236
+ ref: s,
237
+ class: "vgl-layout",
238
+ style: re(t.mergedStyle)
239
+ }, [
240
+ e.$slots.default ? V(e.$slots, "default", { key: 0 }) : (z(!0), T(ne, { key: 1 }, se(o.value, (i) => (z(), Y(O, ue({
241
+ key: i.i,
242
+ ref_for: !0
243
+ }, i), {
244
+ default: j(() => [
245
+ V(e.$slots, "item", { item: i })
246
+ ]),
247
+ _: 2
248
+ }, 1040))), 128)),
249
+ de(P(O, {
250
+ class: "vgl-item--placeholder",
251
+ x: t.placeholder.x,
252
+ y: t.placeholder.y,
253
+ w: t.placeholder.w,
254
+ h: t.placeholder.h,
255
+ i: t.placeholder.i
256
+ }, null, 8, ["x", "y", "w", "h", "i"]), [
257
+ [ce, t.isDragging]
258
+ ])
259
+ ], 4));
260
+ }
261
+ }), Ee = /* @__PURE__ */ X({
262
+ __name: "DragList",
263
+ props: /* @__PURE__ */ me({
264
+ children: {},
265
+ rowHeight: {},
266
+ colNum: {},
267
+ maxRows: {},
268
+ name: {}
269
+ }, {
270
+ gridlayout: { required: !0 },
271
+ gridlayoutModifiers: {}
272
+ }),
273
+ emits: ["update:gridlayout"],
274
+ setup(k, { expose: R }) {
275
+ const C = k, a = pe(k, "gridlayout"), o = {
276
+ getLayout: () => ye(a),
277
+ setItemX: (s, c) => {
278
+ a.value[s].x = c;
279
+ },
280
+ setItemY: (s, c) => {
281
+ a.value[s].y = c;
282
+ },
283
+ type: "draglist"
284
+ };
285
+ if (R(o), C.name) {
286
+ const s = Re(C.name, o);
287
+ ge(() => {
288
+ s();
289
+ });
290
+ }
291
+ return (s, c) => (z(), Y(q($e), {
292
+ layout: a.value,
293
+ "onUpdate:layout": c[1] || (c[1] = (w) => a.value = w),
294
+ "col-num": s.colNum || 12,
295
+ "row-height": s.rowHeight || 30,
296
+ "max-rows": s.maxRows,
297
+ margin: [8, 8],
298
+ "is-draggable": "",
299
+ "is-bounded": "",
300
+ "is-resizable": !1,
301
+ "vertical-compact": "",
302
+ "use-css-transforms": ""
303
+ }, {
304
+ default: j(() => [
305
+ P(q(Ne), {
306
+ list: s.children,
307
+ gridData: a.value,
308
+ "onUpdate:gridData": c[0] || (c[0] = (w) => a.value = w)
309
+ }, null, 8, ["list", "gridData"])
310
+ ]),
311
+ _: 1
312
+ }, 8, ["layout", "col-num", "row-height", "max-rows"]));
313
+ }
314
+ }), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-599a1a2b"]]);
315
+ export {
316
+ Ue as default
317
+ };
@@ -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-COoXTzR3.js";
2
+ import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-2Lph8ou3.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,7 +1,7 @@
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-COoXTzR3.js";
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";
3
3
  import "element-plus";
4
- const f = /* @__PURE__ */ o({
4
+ const x = /* @__PURE__ */ i({
5
5
  __name: "Grid",
6
6
  props: {
7
7
  children: {},
@@ -15,7 +15,7 @@ const f = /* @__PURE__ */ o({
15
15
  paddingRight: {}
16
16
  },
17
17
  setup(t) {
18
- const p = t, n = a(() => ({
18
+ const p = t, n = o(() => ({
19
19
  display: "grid",
20
20
  "grid-template-columns": `repeat(${p.columns}, 1fr)`,
21
21
  "row-gap": (p.rowGap || 12) + "px",
@@ -26,13 +26,14 @@ const f = /* @__PURE__ */ o({
26
26
  "padding-left": p.paddingLeft + "px",
27
27
  "padding-right": p.paddingRight + "px"
28
28
  }));
29
- return (i, g) => (d(), e(r(m), {
29
+ return (e, s) => (a(), d("div", {
30
30
  class: "form-item-grid",
31
- style: l(n.value),
32
- list: i.children
33
- }, null, 8, ["style", "list"]));
31
+ style: r(n.value)
32
+ }, [
33
+ l(m(g), { list: e.children }, null, 8, ["list"])
34
+ ], 4));
34
35
  }
35
36
  });
36
37
  export {
37
- f as default
38
+ x as default
38
39
  };
@@ -0,0 +1,35 @@
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";
3
+ import "element-plus";
4
+ const u = /* @__PURE__ */ l({
5
+ __name: "Inline",
6
+ props: {
7
+ children: {},
8
+ align: {},
9
+ autoWrap: { type: Boolean },
10
+ gap: {},
11
+ alignItems: {},
12
+ style: { type: [Boolean, null, String, Object, Array] }
13
+ },
14
+ setup(t) {
15
+ const e = t, n = o(() => ({
16
+ width: "100%",
17
+ display: "flex",
18
+ "justify-content": e.align,
19
+ "align-items": e.alignItems,
20
+ "flex-wrap": e.autoWrap ? "wrap" : "nowrap",
21
+ "overflow-x": "auto",
22
+ gap: `${e.gap || 12}px`,
23
+ ...e.style || {}
24
+ }));
25
+ return (a, d) => (r(), i("div", {
26
+ class: "form-item-inline",
27
+ style: p(n.value)
28
+ }, [
29
+ s(c(m), { list: a.children }, null, 8, ["list"])
30
+ ], 4));
31
+ }
32
+ }), x = /* @__PURE__ */ f(u, [["__scopeId", "data-v-8f8d5854"]]);
33
+ export {
34
+ x as default
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-COoXTzR3.js";
2
+ import { b as xt, g as Nt } from "./index-2Lph8ou3.js";
3
3
  import "element-plus";
4
4
  const Mt = /* @__PURE__ */ At({
5
5
  __name: "Disabled",
@@ -12,7 +12,7 @@ const Mt = /* @__PURE__ */ At({
12
12
  It(Je.$slots, "default", {}, void 0, !0)
13
13
  ], 16)) : It(Je.$slots, "default", { key: 1 }, void 0, !0);
14
14
  }
15
- }), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-353650ae"]]);
15
+ }), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-f3803727"]]);
16
16
  var kt = { exports: {} };
17
17
  /*!
18
18
  * jsoneditor.js
@@ -16350,7 +16350,7 @@ function Ft(je, Je, Xe, et, qe, ae) {
16350
16350
  }, null, 2)
16351
16351
  ], 2);
16352
16352
  }
16353
- const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-c3373674"]]), jt = /* @__PURE__ */ At({
16353
+ const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-c53d52f1"]]), jt = /* @__PURE__ */ At({
16354
16354
  inheritAttrs: !1,
16355
16355
  __name: "JsonEdit",
16356
16356
  props: /* @__PURE__ */ Tt({
@@ -1,5 +1,5 @@
1
- import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as i, createElementVNode as s, normalizeStyle as d, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
2
- import { b as y } from "./index-COoXTzR3.js";
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";
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: {
@@ -7,7 +7,7 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
7
7
  },
8
8
  setup(x) {
9
9
  return (_, N) => (e(), o("div", b, [
10
- (e(!0), o(a, null, i(_.content, (t) => {
10
+ (e(!0), o(a, null, d(_.content, (t) => {
11
11
  var r;
12
12
  return e(), o("div", {
13
13
  class: "log-list-item",
@@ -15,18 +15,18 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
15
15
  }, [
16
16
  s("div", {
17
17
  class: "left-bar",
18
- style: d({ backgroundColor: t.color })
18
+ style: i({ backgroundColor: t.color })
19
19
  }, null, 4),
20
20
  s("div", f, [
21
21
  s("div", {
22
22
  class: "circle",
23
- style: d({ backgroundColor: t.color })
23
+ style: i({ backgroundColor: t.color })
24
24
  }, l((r = t.title) == null ? void 0 : r[0]), 5),
25
25
  s("div", h, l(t.title), 1),
26
26
  s("div", m, l(t.subTitle), 1)
27
27
  ]),
28
28
  s("div", k, [
29
- (e(!0), o(a, null, i(t.content, (n, c) => (e(), o("span", {
29
+ (e(!0), o(a, null, d(t.content, (n, c) => (e(), o("span", {
30
30
  key: c,
31
31
  class: u({ bold: n.style === "bold", normal: n.style === "normal" })
32
32
  }, [
@@ -38,7 +38,7 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
38
38
  }), 128))
39
39
  ]));
40
40
  }
41
- }), B = /* @__PURE__ */ y(L, [["__scopeId", "data-v-fe451915"]]);
41
+ }), B = /* @__PURE__ */ y(L, [["__scopeId", "data-v-646d4f4d"]]);
42
42
  export {
43
43
  B as default
44
44
  };
@@ -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-COoXTzR3.js";
2
+ import { u as j, d as h, e as k } from "./index-2Lph8ou3.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 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 { j as U, $ as z, _ as F, b as j } from "./index-COoXTzR3.js";
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
3
  const x = { class: "content" }, K = { class: "product-list" }, L = { class: "attribute-list" }, V = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
@@ -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 (l, p) => {
14
+ return (a, p) => {
15
15
  const _ = M("el-popover");
16
- return a(), O(_, {
16
+ return l(), O(_, {
17
17
  "popper-class": "offer-detail",
18
18
  placement: "right"
19
19
  }, {
20
20
  reference: E(() => [
21
21
  g(U, {
22
- data: l.data,
23
- btns: l.btns,
24
- index: l.index
22
+ data: a.data,
23
+ btns: a.btns,
24
+ index: a.index
25
25
  }, null, 8, ["data", "btns", "index"])
26
26
  ]),
27
27
  default: E(() => [
28
28
  i("div", x, [
29
29
  p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
30
30
  i("div", K, [
31
- (a(!0), r(u, null, y(l.data.product, (s) => (a(), r("div", {
31
+ (l(!0), r(u, null, b(a.data.product, (s) => (l(), r("div", {
32
32
  class: "product-item",
33
33
  key: s.label
34
- }, b(s.label), 1))), 128))
34
+ }, y(s.label), 1))), 128))
35
35
  ]),
36
36
  i("div", L, [
37
- (a(!0), r(u, null, y(l.data.product, (s) => (a(), r(u, {
37
+ (l(!0), r(u, null, b(a.data.product, (s) => (l(), r(u, {
38
38
  key: s.label
39
39
  }, [
40
- s.children.length > 0 ? (a(), r("div", V, [
41
- i("div", q, b(s.label), 1),
40
+ s.children.length > 0 ? (l(), r("div", V, [
41
+ i("div", q, y(s.label), 1),
42
42
  i("div", G, [
43
- (a(!0), r(u, null, y(s.children, (d) => (a(), r("div", {
43
+ (l(!0), r(u, null, b(s.children, (d) => (l(), r("div", {
44
44
  class: "attribute-item",
45
45
  key: d.label
46
46
  }, [
47
- i("div", H, b(d.label), 1),
48
- i("div", J, b(d.value || "--"), 1)
47
+ i("div", H, y(d.label), 1),
48
+ i("div", J, y(d.value || "--"), 1)
49
49
  ]))), 128))
50
50
  ])
51
51
  ])) : I("", !0)
@@ -98,7 +98,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
98
98
  },
99
99
  setup(m) {
100
100
  var k, T;
101
- 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) => {
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
102
  const e = [];
103
103
  return t.children && t.children.length > 0 && t.children.forEach((n) => {
104
104
  const o = {
@@ -124,8 +124,8 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
124
124
  }
125
125
  const C = N(z), c = C ? C.translateFn : null;
126
126
  return A(() => {
127
- if (l.data) {
128
- const t = P(l.data);
127
+ if (a.data) {
128
+ const t = P(a.data);
129
129
  p.value = t.map((e) => {
130
130
  const n = {
131
131
  content: []
@@ -133,7 +133,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
133
133
  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
134
  icon: h.footerIcon || "icon-tishi",
135
135
  text: `${h.label}: ${c ? c(h.key, e) : e[h.key]}`
136
- }), e.children && (n.product = w(e)), l.columns.forEach((o) => {
136
+ }), e.children && (n.product = w(e)), a.columns.forEach((o) => {
137
137
  o.position === "content" && n.content.push({
138
138
  label: o.label,
139
139
  value: c ? c(o.key, e) : e[o.key]
@@ -143,12 +143,12 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
143
143
  }
144
144
  }), R(() => {
145
145
  var t;
146
- _.value = (t = l.rowBtns) == null ? void 0 : t.map((e) => ({
146
+ _.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
147
147
  icon: e.icon && e.icon.name ? e.icon.name : "icon-tishi",
148
148
  label: e.label,
149
149
  onClick: e.onClick
150
150
  }));
151
- }), (t, e) => (a(), r(u, null, [
151
+ }), (t, e) => (l(), r(u, null, [
152
152
  i("div", {
153
153
  class: "card-list",
154
154
  style: S({
@@ -156,7 +156,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
156
156
  "--gap": t.gap + "px"
157
157
  })
158
158
  }, [
159
- (a(!0), r(u, null, y(p.value, (n, o) => (a(), r("div", {
159
+ (l(!0), r(u, null, b(p.value, (n, o) => (l(), r("div", {
160
160
  class: "card-list-item",
161
161
  key: o
162
162
  }, [
@@ -167,7 +167,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
167
167
  }, null, 8, ["data", "btns", "index"])
168
168
  ]))), 128))
169
169
  ], 4),
170
- !t.data || t.data.length === 0 ? (a(), r("div", W, [
170
+ !t.data || t.data.length === 0 ? (l(), r("div", W, [
171
171
  g($(F), {
172
172
  name: "tableEmpty",
173
173
  style: { width: 56, height: 56 }
@@ -176,7 +176,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
176
176
  ])) : I("", !0)
177
177
  ], 64));
178
178
  }
179
- }), ee = /* @__PURE__ */ j(X, [["__scopeId", "data-v-98057b14"]]);
179
+ }), ee = /* @__PURE__ */ j(X, [["__scopeId", "data-v-09844ac4"]]);
180
180
  export {
181
181
  ee as default
182
182
  };
@@ -1,6 +1,6 @@
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 b, b as C } from "./index-COoXTzR3.js";
3
- const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
2
+ import { I as v, _ as C, b as V } from "./index-2Lph8ou3.js";
3
+ const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
4
4
  key: 0,
5
5
  class: "empty-content"
6
6
  }, I = /* @__PURE__ */ p({
@@ -11,7 +11,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
11
11
  setup(w) {
12
12
  return (o, i) => {
13
13
  const _ = m("el-timeline-item"), c = m("el-timeline");
14
- return n(), s("div", V, [
14
+ return n(), s("div", b, [
15
15
  l(c, null, {
16
16
  default: a(() => [
17
17
  (n(!0), s(u, null, f(o.data, (t, d) => (n(), g(_, {
@@ -39,7 +39,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
39
39
  _: 1
40
40
  }),
41
41
  !o.data || o.data.length === 0 ? (n(), s("div", E, [
42
- l(k(b), {
42
+ l(k(C), {
43
43
  name: "tableEmpty",
44
44
  style: { width: 56, height: 56 }
45
45
  }),
@@ -48,7 +48,7 @@ const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
48
48
  ]);
49
49
  };
50
50
  }
51
- }), F = /* @__PURE__ */ C(I, [["__scopeId", "data-v-6b11ed96"]]);
51
+ }), F = /* @__PURE__ */ V(I, [["__scopeId", "data-v-088a0692"]]);
52
52
  export {
53
53
  F as default
54
54
  };