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.
- package/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +108 -108
- package/dist/index.d.ts +31 -8
- package/dist/lazy/{Card-BLkyronF.js → Card-BL132uF0.js} +2 -2
- package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-BNajnGXt.js} +1 -1
- package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-CB78q85K.js} +2 -2
- package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT3Z_TeL.js} +1 -1
- package/dist/lazy/{Component-DN6wPVjw.js → Component-BNOSHXwG.js} +2 -2
- package/dist/lazy/{Component-BgbXAvZP.js → Component-CVbGsSj6.js} +13 -13
- package/dist/lazy/{Component-DtKK0pz0.js → Component-Cwe8AZcy.js} +1 -1
- package/dist/lazy/{Component-BTW9MMvF.js → Component-DdZRdqp7.js} +1 -1
- package/dist/lazy/{Component-B0YN5w1O.js → Component-Dl3PXGm5.js} +1 -1
- package/dist/lazy/{Component-CxjtIKb4.js → Component-OAYlB5bp.js} +2 -2
- package/dist/lazy/{CurdCard-YilgvVgg.js → CurdCard-BrBulKvO.js} +20 -19
- package/dist/lazy/{Custom-BHrk3rwy.js → Custom-BliwSKbp.js} +7 -7
- package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-Buw-1bQc.js} +57 -56
- package/dist/lazy/{FormList-Bve4HUdY.js → FormList-DTdAAtrD.js} +1 -1
- package/dist/lazy/{Grid-gYua8Lbh.js → Grid-DUAIHsOo.js} +1 -1
- package/dist/lazy/Inline-BkAIXUU0.js +35 -0
- package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-Bx4jK-K8.js} +3 -3
- package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-DHk7eKeC.js} +7 -7
- package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-DXJerzS2.js} +1 -1
- package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-Fs5y40J0.js} +24 -24
- package/dist/lazy/{Progress-CZiRwjox.js → Progress-pRaKkFkw.js} +5 -5
- package/dist/lazy/{Radio-DAQ63lEp.js → Radio-C9Z-5npS.js} +23 -22
- package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-BU-_DOLr.js} +11 -11
- package/dist/lazy/{Select-B9ka9Z-o.js → Select-DJ6Ky5mO.js} +2 -2
- package/dist/lazy/{Table-BT_PlC1e.js → Table-BlBWSnrv.js} +2 -2
- package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-meM_0XCE.js} +1 -1
- package/dist/lazy/{Wrapper-Db2njs9z.js → Wrapper-DlG2aZRe.js} +5 -5
- package/dist/lazy/{index-CPs7U1jG.js → index-2Lph8ou3.js} +6842 -6630
- package/dist/lazy/{useSelect-DBsTZmYm.js → useSelect-CmUZu1rN.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- 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
|
|
2
|
-
import { w as fe, k as ve, m as he, n as
|
|
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
|
|
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(
|
|
37
|
-
const a =
|
|
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
|
-
}),
|
|
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
|
-
|
|
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 &&
|
|
65
|
+
r.clearAll(), s.value && w(s.value);
|
|
66
66
|
});
|
|
67
|
-
function G(e, n, i,
|
|
68
|
-
|
|
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,
|
|
71
|
-
|
|
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),
|
|
135
|
+
), W(xe, r), R({ state: t, getItem: Z, resizeEvent: I, dragEvent: E, layoutUpdate: $ });
|
|
136
136
|
function K(e) {
|
|
137
|
-
|
|
137
|
+
L.set(e.i, e);
|
|
138
138
|
}
|
|
139
139
|
function Q(e) {
|
|
140
|
-
|
|
140
|
+
L.delete(e.i);
|
|
141
141
|
}
|
|
142
142
|
function Z(e) {
|
|
143
|
-
return
|
|
143
|
+
return L.get(e);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
if (!
|
|
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,
|
|
156
|
+
t.lastLayoutLength = o.value.length, _();
|
|
157
157
|
}
|
|
158
|
-
|
|
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
|
|
175
|
+
function E(e, n, i, g, m, p) {
|
|
176
176
|
let l = A(o.value, n);
|
|
177
|
-
|
|
178
|
-
(
|
|
179
|
-
...
|
|
180
|
-
[
|
|
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 =
|
|
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,
|
|
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
|
|
189
|
+
function I(e, n, i, g, m, p) {
|
|
190
190
|
let l = A(o.value, n);
|
|
191
|
-
|
|
192
|
-
let
|
|
191
|
+
b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
|
|
192
|
+
let x;
|
|
193
193
|
if (a.preventCollision) {
|
|
194
|
-
const
|
|
194
|
+
const D = ke(o.value, { ...l, w: p, h: m }).filter(
|
|
195
195
|
(y) => y.i !== l.i
|
|
196
196
|
);
|
|
197
|
-
if (
|
|
197
|
+
if (x = D.length > 0, x) {
|
|
198
198
|
let y = 1 / 0, h = 1 / 0;
|
|
199
|
-
|
|
200
|
-
|
|
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
|
-
|
|
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(),
|
|
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
|
-
!
|
|
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
|
|
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)),
|
|
232
|
-
return
|
|
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) => (
|
|
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 }) : (
|
|
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
|
-
}),
|
|
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(
|
|
275
|
-
const
|
|
274
|
+
setup(k, { expose: R }) {
|
|
275
|
+
const C = k, a = pe(k, "gridlayout"), o = {
|
|
276
276
|
getLayout: () => ye(a),
|
|
277
|
-
setItemX: (s,
|
|
278
|
-
a.value[s].x =
|
|
277
|
+
setItemX: (s, c) => {
|
|
278
|
+
a.value[s].x = c;
|
|
279
279
|
},
|
|
280
|
-
setItemY: (s,
|
|
281
|
-
a.value[s].y =
|
|
280
|
+
setItemY: (s, c) => {
|
|
281
|
+
a.value[s].y = c;
|
|
282
282
|
},
|
|
283
283
|
type: "draglist"
|
|
284
284
|
};
|
|
285
|
-
if (
|
|
286
|
-
const s = Re(
|
|
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,
|
|
291
|
+
return (s, c) => (z(), Y(q($e), {
|
|
292
292
|
layout: a.value,
|
|
293
|
-
"onUpdate:layout":
|
|
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(
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
|
2
|
-
import { b as y } from "./index-
|
|
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,
|
|
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:
|
|
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:
|
|
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,
|
|
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-
|
|
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-
|
|
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
|
|
2
|
-
import { j as U, $ as z, _ as F, b as j } from "./index-
|
|
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 (
|
|
14
|
+
return (a, p) => {
|
|
15
15
|
const _ = M("el-popover");
|
|
16
|
-
return
|
|
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:
|
|
23
|
-
btns:
|
|
24
|
-
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
|
-
(
|
|
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
|
-
},
|
|
34
|
+
}, y(s.label), 1))), 128))
|
|
35
35
|
]),
|
|
36
36
|
i("div", L, [
|
|
37
|
-
(
|
|
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 ? (
|
|
41
|
-
i("div", q,
|
|
40
|
+
s.children.length > 0 ? (l(), r("div", V, [
|
|
41
|
+
i("div", q, y(s.label), 1),
|
|
42
42
|
i("div", G, [
|
|
43
|
-
(
|
|
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,
|
|
48
|
-
i("div", J,
|
|
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
|
|
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 (
|
|
128
|
-
const t = P(
|
|
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)),
|
|
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 =
|
|
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) => (
|
|
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
|
-
(
|
|
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 ? (
|
|
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-
|
|
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
|
|
3
|
-
const
|
|
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",
|
|
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(
|
|
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__ */
|
|
51
|
+
}), F = /* @__PURE__ */ V(I, [["__scopeId", "data-v-088a0692"]]);
|
|
52
52
|
export {
|
|
53
53
|
F as default
|
|
54
54
|
};
|