asiaint-lowcode 3.0.74 → 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 +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +108 -108
  4. package/dist/index.d.ts +31 -8
  5. package/dist/lazy/{Card-BLkyronF.js → Card-BL132uF0.js} +2 -2
  6. package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-BNajnGXt.js} +1 -1
  7. package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-CB78q85K.js} +2 -2
  8. package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT3Z_TeL.js} +1 -1
  9. package/dist/lazy/{Component-DN6wPVjw.js → Component-BNOSHXwG.js} +2 -2
  10. package/dist/lazy/{Component-BgbXAvZP.js → Component-CVbGsSj6.js} +13 -13
  11. package/dist/lazy/{Component-DtKK0pz0.js → Component-Cwe8AZcy.js} +1 -1
  12. package/dist/lazy/{Component-BTW9MMvF.js → Component-DdZRdqp7.js} +1 -1
  13. package/dist/lazy/{Component-B0YN5w1O.js → Component-Dl3PXGm5.js} +1 -1
  14. package/dist/lazy/{Component-CxjtIKb4.js → Component-OAYlB5bp.js} +2 -2
  15. package/dist/lazy/{CurdCard-YilgvVgg.js → CurdCard-BrBulKvO.js} +20 -19
  16. package/dist/lazy/{Custom-BHrk3rwy.js → Custom-BliwSKbp.js} +7 -7
  17. package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-Buw-1bQc.js} +57 -56
  18. package/dist/lazy/{FormList-Bve4HUdY.js → FormList-DTdAAtrD.js} +1 -1
  19. package/dist/lazy/{Grid-gYua8Lbh.js → Grid-DUAIHsOo.js} +1 -1
  20. package/dist/lazy/Inline-BkAIXUU0.js +35 -0
  21. package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-Bx4jK-K8.js} +3 -3
  22. package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-DHk7eKeC.js} +7 -7
  23. package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-DXJerzS2.js} +1 -1
  24. package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-Fs5y40J0.js} +24 -24
  25. package/dist/lazy/{Progress-CZiRwjox.js → Progress-pRaKkFkw.js} +5 -5
  26. package/dist/lazy/{Radio-DAQ63lEp.js → Radio-C9Z-5npS.js} +23 -22
  27. package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-BU-_DOLr.js} +11 -11
  28. package/dist/lazy/{Select-B9ka9Z-o.js → Select-DJ6Ky5mO.js} +2 -2
  29. package/dist/lazy/{Table-BT_PlC1e.js → Table-BlBWSnrv.js} +2 -2
  30. package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-meM_0XCE.js} +1 -1
  31. package/dist/lazy/{Wrapper-Db2njs9z.js → Wrapper-DlG2aZRe.js} +5 -5
  32. package/dist/lazy/{index-CPs7U1jG.js → index-2Lph8ou3.js} +6842 -6630
  33. package/dist/lazy/{useSelect-DBsTZmYm.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-DP_W3TA1.js +0 -33
@@ -1,7 +1,7 @@
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 S, 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 x, 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-CPs7U1jG.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 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
3
  import "element-plus";
4
- const _e = /* @__PURE__ */ X({
4
+ const $e = /* @__PURE__ */ X({
5
5
  __name: "grid-layout",
6
6
  props: {
7
7
  autoSize: { type: Boolean, default: !0 },
@@ -33,8 +33,8 @@ const _e = /* @__PURE__ */ X({
33
33
  "update:layout",
34
34
  "layout-ready"
35
35
  ],
36
- setup(b, { expose: z, emit: k }) {
37
- const a = b, u = k, t = H({
36
+ setup(k, { expose: R, emit: C }) {
37
+ const a = k, u = C, t = H({
38
38
  width: -1,
39
39
  mergedStyle: {},
40
40
  lastLayoutLength: 0,
@@ -52,23 +52,23 @@ const _e = /* @__PURE__ */ X({
52
52
  // store last active breakpoint
53
53
  originalLayout: null
54
54
  // store original Layout
55
- }), C = /* @__PURE__ */ new Map(), o = U(a.layout), s = U(), { observeResize: g, unobserveResize: R } = fe(), r = ze();
55
+ }), L = /* @__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(() => {
59
59
  u("layout-mounted", o.value), f(() => {
60
60
  ve(o.value), t.originalLayout = o.value, f(() => {
61
- I(), s.value && g(s.value, he(N, 16)), x(o.value, a.verticalCompact), u("layout-updated", o.value), v(), N();
61
+ _(), s.value && c(s.value, he(N, 16)), B(o.value, a.verticalCompact), u("layout-updated", o.value), v(), N();
62
62
  });
63
63
  });
64
64
  }), ie(() => {
65
- r.clearAll(), s.value && R(s.value);
65
+ r.clearAll(), s.value && w(s.value);
66
66
  });
67
- function G(e, n, i, p, c, m) {
68
- E(e, n, i, p, c, m);
67
+ function G(e, n, i, g, m, p) {
68
+ I(e, n, i, g, m, p);
69
69
  }
70
- function J(e, n, i, p, c, m) {
71
- $(e, n, i, p, c, m);
70
+ function J(e, n, i, g, m, p) {
71
+ E(e, n, i, g, m, p);
72
72
  }
73
73
  d(
74
74
  () => t.width,
@@ -82,7 +82,7 @@ const _e = /* @__PURE__ */ X({
82
82
  ), d(
83
83
  () => [a.layout, a.layout.length],
84
84
  () => {
85
- o.value = a.layout, _();
85
+ o.value = a.layout, $();
86
86
  }
87
87
  ), d(
88
88
  () => a.colNum,
@@ -132,18 +132,18 @@ const _e = /* @__PURE__ */ X({
132
132
  increaseItem: K,
133
133
  decreaseItem: Q
134
134
  })
135
- ), W(xe, r), z({ state: t, getItem: Z, resizeEvent: E, dragEvent: $, layoutUpdate: _ });
135
+ ), W(xe, r), R({ state: t, getItem: Z, resizeEvent: I, dragEvent: E, layoutUpdate: $ });
136
136
  function K(e) {
137
- C.set(e.i, e);
137
+ L.set(e.i, e);
138
138
  }
139
139
  function Q(e) {
140
- C.delete(e.i);
140
+ L.delete(e.i);
141
141
  }
142
142
  function Z(e) {
143
- return C.get(e);
143
+ return L.get(e);
144
144
  }
145
- function _() {
146
- if (!B(o.value) && !B(t.originalLayout)) {
145
+ function $() {
146
+ if (!b(o.value) && !b(t.originalLayout)) {
147
147
  if (o.value.length !== t.originalLayout.length) {
148
148
  const e = ae(o.value, t.originalLayout);
149
149
  if (e.length > 0)
@@ -153,9 +153,9 @@ const _e = /* @__PURE__ */ X({
153
153
  const n = new Set(e.map((i) => i.i));
154
154
  t.originalLayout = t.originalLayout.filter((i) => !n.has(i.i));
155
155
  }
156
- t.lastLayoutLength = o.value.length, I();
156
+ t.lastLayoutLength = o.value.length, _();
157
157
  }
158
- x(o.value, a.verticalCompact), r.emit("updateWidth", t.width), v(), u("layout-updated", o.value);
158
+ B(o.value, a.verticalCompact), r.emit("updateWidth", t.width), v(), u("layout-updated", o.value);
159
159
  }
160
160
  }
161
161
  function v() {
@@ -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, n, i, p, c, m) {
175
+ function E(e, n, i, g, m, p) {
176
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
- (w, { i: L, x: y, y: h }) => ({
179
- ...w,
180
- [L]: { x: y, y: h }
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
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 = m, t.placeholder.h = c, f(() => {
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
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, p, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, x(o.value, a.verticalCompact, M), l.static = !1) : x(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, 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
188
  }
189
- function E(e, n, i, p, c, m) {
189
+ function I(e, n, i, g, m, p) {
190
190
  let l = A(o.value, n);
191
- B(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
- let w;
191
+ b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
+ let x;
193
193
  if (a.preventCollision) {
194
- const L = ke(o.value, { ...l, w: m, h: c }).filter(
194
+ const D = ke(o.value, { ...l, w: p, h: m }).filter(
195
195
  (y) => y.i !== l.i
196
196
  );
197
- if (w = L.length > 0, w) {
197
+ if (x = D.length > 0, x) {
198
198
  let y = 1 / 0, h = 1 / 0;
199
- L.forEach((D) => {
200
- D.x > l.x && (y = Math.min(y, D.x)), D.y > l.y && (h = Math.min(h, D.y));
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
201
  }), Number.isFinite(y) && (l.w = y - l.x), Number.isFinite(h) && (l.h = h - l.y);
202
202
  }
203
203
  }
204
- w || (l.w = m, l.h = c), 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(() => {
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
205
  t.isDragging = !0;
206
206
  }), r.emit("updateWidth", t.width)) : e && f(() => {
207
207
  t.isDragging = !1;
208
- }), a.responsive && te(), x(o.value, a.verticalCompact), r.emit("compact"), v(), e === "resizeend" && u("layout-updated", o.value);
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
211
  const e = Ce(a.breakpoints, t.width);
212
212
  if (e === t.lastBreakpoint)
213
213
  return;
214
214
  const n = Le(e, a.cols);
215
- !B(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = De(o.value));
215
+ !b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = De(o.value));
216
216
  const i = Se(
217
217
  t.originalLayout,
218
218
  t.layouts,
@@ -224,20 +224,20 @@ const _e = /* @__PURE__ */ X({
224
224
  );
225
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
226
  }
227
- function I() {
227
+ function _() {
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)), p = new Set(e.map((l) => l.i)), c = e.filter((l) => !i.has(l.i)), m = n.filter((l) => !p.has(l.i));
232
- return c.concat(m);
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
233
  }
234
- return (e, n) => (S(), T("div", {
234
+ return (e, n) => (z(), T("div", {
235
235
  ref_key: "wrapper",
236
236
  ref: s,
237
237
  class: "vgl-layout",
238
238
  style: re(t.mergedStyle)
239
239
  }, [
240
- e.$slots.default ? V(e.$slots, "default", { key: 0 }) : (S(!0), T(ne, { key: 1 }, se(o.value, (i) => (S(), Y(O, ue({
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
241
  key: i.i,
242
242
  ref_for: !0
243
243
  }, i), {
@@ -258,7 +258,7 @@ const _e = /* @__PURE__ */ X({
258
258
  ])
259
259
  ], 4));
260
260
  }
261
- }), $e = /* @__PURE__ */ X({
261
+ }), Ee = /* @__PURE__ */ X({
262
262
  __name: "DragList",
263
263
  props: /* @__PURE__ */ me({
264
264
  children: {},
@@ -271,26 +271,26 @@ const _e = /* @__PURE__ */ X({
271
271
  gridlayoutModifiers: {}
272
272
  }),
273
273
  emits: ["update:gridlayout"],
274
- setup(b, { expose: z }) {
275
- const k = b, a = pe(b, "gridlayout"), o = {
274
+ setup(k, { expose: R }) {
275
+ const C = k, a = pe(k, "gridlayout"), o = {
276
276
  getLayout: () => ye(a),
277
- setItemX: (s, g) => {
278
- a.value[s].x = g;
277
+ setItemX: (s, c) => {
278
+ a.value[s].x = c;
279
279
  },
280
- setItemY: (s, g) => {
281
- a.value[s].y = g;
280
+ setItemY: (s, c) => {
281
+ a.value[s].y = c;
282
282
  },
283
283
  type: "draglist"
284
284
  };
285
- if (z(o), k.name) {
286
- const s = Re(k.name, o);
285
+ if (R(o), C.name) {
286
+ const s = Re(C.name, o);
287
287
  ge(() => {
288
288
  s();
289
289
  });
290
290
  }
291
- return (s, g) => (S(), Y(q(_e), {
291
+ return (s, c) => (z(), Y(q($e), {
292
292
  layout: a.value,
293
- "onUpdate:layout": g[0] || (g[0] = (R) => a.value = R),
293
+ "onUpdate:layout": c[1] || (c[1] = (w) => a.value = w),
294
294
  "col-num": s.colNum || 12,
295
295
  "row-height": s.rowHeight || 30,
296
296
  "max-rows": s.maxRows,
@@ -304,13 +304,14 @@ const _e = /* @__PURE__ */ X({
304
304
  default: j(() => [
305
305
  P(q(Ne), {
306
306
  list: s.children,
307
- gridData: a.value
307
+ gridData: a.value,
308
+ "onUpdate:gridData": c[0] || (c[0] = (w) => a.value = w)
308
309
  }, null, 8, ["list", "gridData"])
309
310
  ]),
310
311
  _: 1
311
312
  }, 8, ["layout", "col-num", "row-height", "max-rows"]));
312
313
  }
313
- }), Ue = /* @__PURE__ */ Me($e, [["__scopeId", "data-v-5be2b6d8"]]);
314
+ }), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-599a1a2b"]]);
314
315
  export {
315
316
  Ue as default
316
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-CPs7U1jG.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,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-CPs7U1jG.js";
2
+ import { a as g } from "./index-2Lph8ou3.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ i({
5
5
  __name: "Grid",
@@ -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-CPs7U1jG.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-CPs7U1jG.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-CPs7U1jG.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-CPs7U1jG.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-CPs7U1jG.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
  };