ss-component-new 1.1.511 → 1.1.513
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/dist/{index-Btfqm3Aj.js → index-0qsMaBmh.js} +1 -1
- package/dist/{index-DnGhhxPP.js → index-B0llR9_z.js} +1 -1
- package/dist/{index-BSC7EQfO.js → index-B9F6l0zb.js} +2 -2
- package/dist/{index-Oixs__9V.cjs → index-BeWcmtTy.cjs} +1 -1
- package/dist/{index-Bz3SW9qv.js → index-BwkUqDo1.js} +1 -1
- package/dist/{index-C3Lo66u2.js → index-By8ctQrJ.js} +2 -2
- package/dist/index-C1C3POgc.cjs +1 -0
- package/dist/{index-BDmXVjP1.cjs → index-C4HIdk7g.cjs} +1 -1
- package/dist/index-C4Ht4Ux1.js +1508 -0
- package/dist/{index-Bsluws3x.js → index-CGL_mhqS.js} +1 -1
- package/dist/{index-DQxqAo5T.cjs → index-CMxBxHE6.cjs} +1 -1
- package/dist/{index-B72kja43.js → index-Coe89zD8.js} +2 -2
- package/dist/{index-Cd0szVvZ.cjs → index-CsdYgAst.cjs} +1 -1
- package/dist/{index-LCDlyiVS.js → index-CtUe8YAg.js} +1 -1
- package/dist/{index-DLfWd1qr.js → index-CtY-GovO.js} +1 -1
- package/dist/{index-Ci1hpo3R.cjs → index-D7RatvOA.cjs} +1 -1
- package/dist/{index-D8QyJVl9.cjs → index-DOPbDWwi.cjs} +1 -1
- package/dist/index-DOdeZnag.cjs +1 -0
- package/dist/{index-3GfpOmBm.cjs → index-DaKszXxT.cjs} +1 -1
- package/dist/{index-DRXd1T3-.cjs → index-DezcQgvT.cjs} +1 -1
- package/dist/{index-BBFJJ4tl.js → index-DoaePomj.js} +1 -1
- package/dist/index-DpQkeVJC.cjs +1 -0
- package/dist/{index-NJKX8un9.js → index-DzBnQ8Js.js} +163 -163
- package/dist/{index-BY-71neG.js → index-MkPNp_9U.js} +2 -2
- package/dist/index-NfljvcSC.js +1159 -0
- package/dist/{index-D42emtHS.cjs → index-RdZQe-zJ.cjs} +1 -1
- package/dist/{index-CRSpuXYg.cjs → index-XxBRvAwN.cjs} +1 -1
- package/dist/{index-t25R8oz_.js → index-_8PVb_am.js} +34 -26
- package/dist/{index-CbWlMlxi.cjs → index-hirP8IYA.cjs} +1 -1
- package/dist/{index-D9ZIJbHw.cjs → index-lBO5Mf5F.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-BFaKxxEb.cjs → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-CmhcgHDU.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-BZQSdupd.js → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-DO9GRy4C.js} +4230 -4223
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang--3mE_B9B.js → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-C9i3W1DI.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-B2bfU2M4.cjs → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-MDy8S6k3.cjs} +1 -1
- package/dist/{main-1yb7Pay5.js → main-BOW1Cc6K.js} +2 -2
- package/dist/{main-DkeO8sGR.cjs → main-CugqLD2C.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +4 -4
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/package.json +1 -1
- package/dist/index-9keTbNci.js +0 -1490
- package/dist/index-BBQrfTQg.cjs +0 -1
- package/dist/index-C3G2rcyE.cjs +0 -1
- package/dist/index-CT9N59g0.cjs +0 -1
- package/dist/index-DF8AKNJv.js +0 -1135
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { p as Dl, a as fl,
|
|
1
|
+
import { p as Dl, a as fl, g as rl, q as Il, r as Tl, v as $l, w as El, x as tl, y as Bl, z as Fl, A as Al, B as Sl } from "./index-C4Ht4Ux1.js";
|
|
2
2
|
import { ref as F, watch as Ee, createElementBlock as X, openBlock as S, createVNode as B, resolveComponent as ye, Fragment as be, renderList as _e, createElementVNode as f, createCommentVNode as Pe, toDisplayString as se, withCtx as q, createBlock as ke, createTextVNode as me, defineComponent as Ge, reactive as nl, resolveDynamicComponent as Xe, unref as ml, computed as ol, renderSlot as Ze, createSlots as Ll, mergeProps as Ol, normalizeStyle as Rl, withModifiers as Qe } from "vue";
|
|
3
|
-
import { bR as hl, p as
|
|
4
|
-
import { d as Le, c as Oe, e as yl, _ as Nl, f as Pl, h as
|
|
3
|
+
import { bR as hl, p as je, c as p, s as Je, E as Ue, u as Vl, g as Ye, d as cl } from "./menu-BPLW-L8U.js";
|
|
4
|
+
import { d as Le, c as Oe, e as yl, _ as Nl, f as Pl, h as Ul, a as jl } from "./index-By8ctQrJ.js";
|
|
5
5
|
import { F as dl, a as Wl, b as $e, m as He, s as We, f as qe, e as al } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-0GZj6SDy.js";
|
|
6
6
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { E as Ke } from "./index-NkBocgtR.js";
|
|
8
8
|
import { u as bl } from "./threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-DZ9BnDSy.js";
|
|
9
|
-
import { s as zl, a as Ml } from "./index-
|
|
9
|
+
import { s as zl, a as Ml } from "./index-CtUe8YAg.js";
|
|
10
10
|
import Kl from "./index-CZtXRS3l.js";
|
|
11
11
|
const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -37,12 +37,12 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
37
37
|
},
|
|
38
38
|
emits: ["change", "contentChange"],
|
|
39
39
|
setup(k, { emit: L }) {
|
|
40
|
-
const v = k, o = L, m = F([]), I = F(!1),
|
|
40
|
+
const v = k, o = L, m = F([]), I = F(!1), U = F([]), b = Dl(je), $ = ql(je), O = F(!1), E = F(), ae = (Q) => {
|
|
41
41
|
var N, n, u, s;
|
|
42
|
-
const
|
|
42
|
+
const j = (n = (N = p(v.itemData)) == null ? void 0 : N.find((i) => (i == null ? void 0 : i.key) === "formContent")) == null ? void 0 : n.contents, C = p(Q.content);
|
|
43
43
|
let c = {};
|
|
44
44
|
C && ((u = Object.values(C)) == null ? void 0 : u.length) > 0 && ((s = Object.values(C)) == null || s.forEach((i, d) => {
|
|
45
|
-
c[
|
|
45
|
+
c[j[d].key] = i;
|
|
46
46
|
}));
|
|
47
47
|
const t = {
|
|
48
48
|
content: c,
|
|
@@ -53,7 +53,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
53
53
|
}, H = (Q) => {
|
|
54
54
|
var N, n, u;
|
|
55
55
|
if (!Q) return;
|
|
56
|
-
const
|
|
56
|
+
const j = p(v.itemData), C = j == null ? void 0 : j.map((s) => {
|
|
57
57
|
var i;
|
|
58
58
|
return (s == null ? void 0 : s.key) === "formContent" && ((i = s.contents) == null || i.map((d, G) => {
|
|
59
59
|
var le, de, pe, a, _, M, w, P, ie, ce, g, V, l, x, oe, z, D;
|
|
@@ -105,7 +105,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
105
105
|
() => v.itemData,
|
|
106
106
|
async () => {
|
|
107
107
|
var N, n, u, s, i, d, G, le, de, pe, a, _, M;
|
|
108
|
-
const Q = (N = v.itemData) == null ? void 0 : N.find((w) => (w == null ? void 0 : w.key) === "formContent"),
|
|
108
|
+
const Q = (N = v.itemData) == null ? void 0 : N.find((w) => (w == null ? void 0 : w.key) === "formContent"), j = (n = p(v.itemData)) == null ? void 0 : n.find((w) => (w == null ? void 0 : w.key) === "formButton"), C = (u = p(v.itemData)) == null ? void 0 : u.find((w) => (w == null ? void 0 : w.key) === "formFlex"), c = (s = p(v.itemData)) == null ? void 0 : s.find((w) => (w == null ? void 0 : w.key) === "formWrap"), t = (i = p(v.itemData)) == null ? void 0 : i.find((w) => (w == null ? void 0 : w.key) === "enableWrap");
|
|
109
109
|
if ((c == null ? void 0 : c.contents) === "纵向" ? I.value = !1 : I.value = !0, O.value = (t == null ? void 0 : t.contents) === void 0 ? !1 : t == null ? void 0 : t.contents, E.value = typeof (C == null ? void 0 : C.contents) != "boolean" ? !(!(C != null && C.contents) === "" || ((d = C == null ? void 0 : C.contents) == null ? void 0 : d.toUpperCase()) === "VERTICAL") : C == null ? void 0 : C.contents, ((G = Q == null ? void 0 : Q.contents) == null ? void 0 : G.length) > 0 && Array.isArray(Q == null ? void 0 : Q.contents)) {
|
|
110
110
|
const w = [];
|
|
111
111
|
await ((le = Q == null ? void 0 : Q.contents) == null ? void 0 : le.forEach(async (l, x) => {
|
|
@@ -183,25 +183,25 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
183
183
|
}), (V == null ? void 0 : V.length) > 0 && $.setBlobUrls(V);
|
|
184
184
|
} else
|
|
185
185
|
m.value = [];
|
|
186
|
-
if (((_ =
|
|
186
|
+
if (((_ = j == null ? void 0 : j.contents) == null ? void 0 : _.length) > 0) {
|
|
187
187
|
const w = [];
|
|
188
|
-
(M =
|
|
188
|
+
(M = j == null ? void 0 : j.contents) == null || M.forEach((P, ie) => {
|
|
189
189
|
(P == null ? void 0 : P.label) !== "" && w.push({
|
|
190
190
|
label: (P == null ? void 0 : P.label) ?? "",
|
|
191
191
|
id: (P == null ? void 0 : P.id) ?? ie,
|
|
192
192
|
type: (P == null ? void 0 : P.type) ?? "",
|
|
193
193
|
background: P == null ? void 0 : P.background
|
|
194
194
|
});
|
|
195
|
-
}),
|
|
195
|
+
}), U.value = w;
|
|
196
196
|
} else
|
|
197
|
-
|
|
197
|
+
U.value = [];
|
|
198
198
|
},
|
|
199
199
|
{ deep: !0, immediate: !0 }
|
|
200
|
-
), (Q,
|
|
200
|
+
), (Q, j) => (S(), X("div", Gl, [
|
|
201
201
|
B(Le, {
|
|
202
202
|
rowContents: m.value,
|
|
203
203
|
formRules: k.formRules,
|
|
204
|
-
buttonValue:
|
|
204
|
+
buttonValue: U.value,
|
|
205
205
|
isRowFlex: !1,
|
|
206
206
|
isEnableWrap: O.value,
|
|
207
207
|
onOnButtonClick: ae,
|
|
@@ -368,7 +368,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
368
368
|
},
|
|
369
369
|
emits: ["fixChange", "deleteChange"],
|
|
370
370
|
setup(k, { emit: L }) {
|
|
371
|
-
const v = k, o = L, m = F(!1), I = F(""),
|
|
371
|
+
const v = k, o = L, m = F(!1), I = F(""), U = fl(je), { tableIndex: b } = Je(U);
|
|
372
372
|
F(0);
|
|
373
373
|
const $ = F(""), O = F([]), E = F([]), ae = (n) => {
|
|
374
374
|
var s;
|
|
@@ -376,7 +376,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
376
376
|
let u = [];
|
|
377
377
|
ve == null || ve.forEach((i) => {
|
|
378
378
|
let d = p(b.value) + 1;
|
|
379
|
-
|
|
379
|
+
U.setTableIndex(d), u.push({
|
|
380
380
|
label: i == null ? void 0 : i.label,
|
|
381
381
|
name: i == null ? void 0 : i.label,
|
|
382
382
|
type: i.type,
|
|
@@ -392,12 +392,12 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
392
392
|
o("fixChange", p(n));
|
|
393
393
|
}, Q = (n) => {
|
|
394
394
|
o("deleteChange", p(n));
|
|
395
|
-
},
|
|
395
|
+
}, j = (n) => {
|
|
396
396
|
m.value = !0;
|
|
397
397
|
let u = [];
|
|
398
398
|
ve == null || ve.forEach((s) => {
|
|
399
399
|
let i = p(b.value) + 1;
|
|
400
|
-
|
|
400
|
+
U.setTableIndex(i), u.push({
|
|
401
401
|
label: s == null ? void 0 : s.label,
|
|
402
402
|
name: s == null ? void 0 : s.label,
|
|
403
403
|
type: s.type,
|
|
@@ -424,7 +424,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
424
424
|
});
|
|
425
425
|
else {
|
|
426
426
|
let i = p(b.value) + 1;
|
|
427
|
-
|
|
427
|
+
U.setTableIndex(i), n.id = "id" + b.value, (s = O.value) == null || s.forEach((d) => {
|
|
428
428
|
const G = ve == null ? void 0 : ve.find((le) => (le == null ? void 0 : le.label) === (d == null ? void 0 : d.label));
|
|
429
429
|
G ? n[G.key] = d.value : d != null && d.children && d.children.length > 0 && (n.children = d.children);
|
|
430
430
|
}), m.value = !1, o("fixChange", {
|
|
@@ -443,7 +443,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
443
443
|
type: "warning"
|
|
444
444
|
}).then(
|
|
445
445
|
() => {
|
|
446
|
-
o("deleteChange", n),
|
|
446
|
+
o("deleteChange", n), Ue({
|
|
447
447
|
type: "success",
|
|
448
448
|
message: "删除成功"
|
|
449
449
|
});
|
|
@@ -462,7 +462,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
462
462
|
name: "ChildAdd",
|
|
463
463
|
class: "svg-icon-content",
|
|
464
464
|
style: { width: "24px", height: "24px" },
|
|
465
|
-
onClick: (G) =>
|
|
465
|
+
onClick: (G) => j(i)
|
|
466
466
|
}, null, 8, ["onClick"]),
|
|
467
467
|
B(s, {
|
|
468
468
|
name: "ChildFix",
|
|
@@ -525,7 +525,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
525
525
|
},
|
|
526
526
|
emits: ["fixChange", "deleteChange"],
|
|
527
527
|
setup(k, { emit: L }) {
|
|
528
|
-
const v = k, o = L, m = F(!1), I = F(""),
|
|
528
|
+
const v = k, o = L, m = F(!1), I = F(""), U = fl(je), { tableIndex: b } = Je(U), $ = F(""), O = F([]), E = F([]), ae = (n) => {
|
|
529
529
|
o("fixChange", p(n));
|
|
530
530
|
}, H = (n) => {
|
|
531
531
|
var s;
|
|
@@ -533,7 +533,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
533
533
|
let u = [];
|
|
534
534
|
ve == null || ve.forEach((i) => {
|
|
535
535
|
let d = p(b.value) + 1;
|
|
536
|
-
|
|
536
|
+
U.setTableIndex(d), u.push({
|
|
537
537
|
label: i == null ? void 0 : i.label,
|
|
538
538
|
name: i == null ? void 0 : i.label,
|
|
539
539
|
type: i.type,
|
|
@@ -550,7 +550,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
550
550
|
let u = [];
|
|
551
551
|
ve == null || ve.forEach((s) => {
|
|
552
552
|
let i = p(b.value) + 1;
|
|
553
|
-
|
|
553
|
+
U.setTableIndex(i), u.push({
|
|
554
554
|
label: s == null ? void 0 : s.label,
|
|
555
555
|
name: s == null ? void 0 : s.label,
|
|
556
556
|
type: s.type,
|
|
@@ -559,7 +559,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
559
559
|
contents: s == null ? void 0 : s.options
|
|
560
560
|
});
|
|
561
561
|
}), I.value = n == null ? void 0 : n.id, O.value = u, E.value = u;
|
|
562
|
-
},
|
|
562
|
+
}, j = (n) => {
|
|
563
563
|
let u = p(E.value);
|
|
564
564
|
u = u == null ? void 0 : u.map((s) => (s.children || (s.value = n == null ? void 0 : n[s.name]), s)), E.value = u;
|
|
565
565
|
}, C = () => {
|
|
@@ -577,7 +577,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
577
577
|
});
|
|
578
578
|
else {
|
|
579
579
|
let i = p(b.value) + 1;
|
|
580
|
-
|
|
580
|
+
U.setTableIndex(i), n.id = "idChild" + b.value, (s = O.value) == null || s.forEach((d) => {
|
|
581
581
|
const G = ve == null ? void 0 : ve.find((le) => (le == null ? void 0 : le.label) === (d == null ? void 0 : d.label));
|
|
582
582
|
G ? n[G.key] = d.value : d != null && d.children && d.children.length > 0 && (n.children = d.children);
|
|
583
583
|
}), m.value = !1, o("fixChange", {
|
|
@@ -596,7 +596,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
596
596
|
type: "warning"
|
|
597
597
|
}).then(
|
|
598
598
|
() => {
|
|
599
|
-
o("deleteChange", n),
|
|
599
|
+
o("deleteChange", n), Ue({
|
|
600
600
|
type: "success",
|
|
601
601
|
message: "删除成功"
|
|
602
602
|
});
|
|
@@ -652,7 +652,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
652
652
|
rowContents: O.value,
|
|
653
653
|
key: O.value,
|
|
654
654
|
isEnableWrap: !0,
|
|
655
|
-
onChange:
|
|
655
|
+
onChange: j
|
|
656
656
|
}, null, 8, ["rowContents"]))
|
|
657
657
|
])
|
|
658
658
|
]),
|
|
@@ -687,7 +687,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
687
687
|
]);
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
}, xl = /* @__PURE__ */ Te(ha, [["__scopeId", "data-v-ebd68fa1"]]), ya = { class: "table-operate-content" }, ba = { class: "table-operate-item" }, ga = { class: "operate-title" }, Ca = { class: "operate-content" }, _a = { class: "fix-content" }, ka = { class: "fix-content-label" }, wa = { class: "fix-button" }, xa = { key: 0 }, Da = { class: "operate-title" }, Ia = { class: "operate-content" }, Ta = { class: "fix-content" }, $a = { class: "fix-content-label" }, Ea = { class: "fix-button" }, Ba = { class: "operate-title" }, Fa = { class: "operate-content" }, Aa = { class: "fix-content" }, Sa = { class: "fix-content-label" }, La = { class: "fix-button" }, Oa = { class: "operate-title" }, Ra = { class: "operate-content" }, Va = { class: "fix-content" }, Na = { class: "fix-content-label" }, Pa = { class: "fix-button" },
|
|
690
|
+
}, xl = /* @__PURE__ */ Te(ha, [["__scopeId", "data-v-ebd68fa1"]]), ya = { class: "table-operate-content" }, ba = { class: "table-operate-item" }, ga = { class: "operate-title" }, Ca = { class: "operate-content" }, _a = { class: "fix-content" }, ka = { class: "fix-content-label" }, wa = { class: "fix-button" }, xa = { key: 0 }, Da = { class: "operate-title" }, Ia = { class: "operate-content" }, Ta = { class: "fix-content" }, $a = { class: "fix-content-label" }, Ea = { class: "fix-button" }, Ba = { class: "operate-title" }, Fa = { class: "operate-content" }, Aa = { class: "fix-content" }, Sa = { class: "fix-content-label" }, La = { class: "fix-button" }, Oa = { class: "operate-title" }, Ra = { class: "operate-content" }, Va = { class: "fix-content" }, Na = { class: "fix-content-label" }, Pa = { class: "fix-button" }, Ua = { class: "operate-content" }, ja = { style: { display: "flex", "justify-content": "space-between" } }, Wa = { class: "form-content" }, za = { class: "dialog-footer" }, Ma = { class: "form-content" }, Ka = { class: "dialog-footer" }, Ja = { class: "form-content" }, qa = { class: "dialog-footer" }, Ga = { class: "form-content" }, Ha = { class: "dialog-footer" }, Qa = {
|
|
691
691
|
__name: "operate",
|
|
692
692
|
props: {
|
|
693
693
|
itemContents: {
|
|
@@ -701,7 +701,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
701
701
|
},
|
|
702
702
|
emits: ["change"],
|
|
703
703
|
setup(k, { emit: L }) {
|
|
704
|
-
const v = k, o = L, m = F([]), I = F(!1),
|
|
704
|
+
const v = k, o = L, m = F([]), I = F(!1), U = F(!1), b = F([]), $ = F(!1), O = F([]), E = F(!1), ae = F([]), H = F(""), Q = F(""), j = F([]), C = F([]), c = F([]), t = F([]), N = F(!1), n = F([]), u = F([]), s = F(0), i = F([]), d = F([]), G = F([]), le = () => {
|
|
705
705
|
N.value = !0;
|
|
706
706
|
let e = [];
|
|
707
707
|
ze == null || ze.forEach((r) => {
|
|
@@ -716,7 +716,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
716
716
|
}), n.value = e, u.value = e;
|
|
717
717
|
}, de = () => {
|
|
718
718
|
var r, h, y;
|
|
719
|
-
|
|
719
|
+
U.value = !0;
|
|
720
720
|
let e = [];
|
|
721
721
|
(y = (h = (r = $e) == null ? void 0 : r.find((R) => (R == null ? void 0 : R.key) === "Input")) == null ? void 0 : h.value) == null || y.forEach((R) => {
|
|
722
722
|
s.value++, e.push({
|
|
@@ -760,7 +760,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
760
760
|
await a(e), i.value = d.value;
|
|
761
761
|
}, M = async (e) => {
|
|
762
762
|
var y, R, J, re, A, Y, ne, Ie, Re;
|
|
763
|
-
|
|
763
|
+
U.value = !0;
|
|
764
764
|
let r = [];
|
|
765
765
|
const h = await ((J = (R = (y = $e) == null ? void 0 : y.find((te) => (te == null ? void 0 : te.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : R.value) == null ? void 0 : J.value) ? await ((Ie = (ne = (Y = $e) == null ? void 0 : Y.find((te) => (te == null ? void 0 : te.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : ne.value) == null ? void 0 : Ie.value) : (A = (re = $e) == null ? void 0 : re.find((te) => (te == null ? void 0 : te.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : A.value;
|
|
766
766
|
if (h == null || h.forEach((te) => {
|
|
@@ -785,7 +785,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
785
785
|
}).then(
|
|
786
786
|
() => {
|
|
787
787
|
var r, h;
|
|
788
|
-
G.value = (r = p(G.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => ((y == null ? void 0 : y.key) === "tableToForm" && (y.contents = G.value), y))),
|
|
788
|
+
G.value = (r = p(G.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => ((y == null ? void 0 : y.key) === "tableToForm" && (y.contents = G.value), y))), Ue({
|
|
789
789
|
type: "success",
|
|
790
790
|
message: "删除成功"
|
|
791
791
|
});
|
|
@@ -793,7 +793,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
793
793
|
).catch(() => {
|
|
794
794
|
});
|
|
795
795
|
}, P = () => {
|
|
796
|
-
|
|
796
|
+
U.value = !1, i.value = [], H.value = "";
|
|
797
797
|
}, ie = async () => {
|
|
798
798
|
var y, R, J, re, A, Y, ne, Ie, Re, te;
|
|
799
799
|
i.value = d.value;
|
|
@@ -815,7 +815,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
815
815
|
let ee = p(G.value);
|
|
816
816
|
G.value || (G.value = []), ee.push(e), G.value = ee;
|
|
817
817
|
}
|
|
818
|
-
G.value = G.value.map(({ id: ee, ...ge }) => ge),
|
|
818
|
+
G.value = G.value.map(({ id: ee, ...ge }) => ge), U.value = !1, H.value = "";
|
|
819
819
|
let h = p(v.originalItemContents);
|
|
820
820
|
(Re = p(v.originalItemContents)) != null && Re.find((ee) => (ee == null ? void 0 : ee.key) === "tableToForm") ? h = (te = p(v.originalItemContents)) == null ? void 0 : te.map((ee) => ((ee == null ? void 0 : ee.key) === "tableToForm" && (ee.contents = G.value), ee)) : h.push({
|
|
821
821
|
key: "tableToForm",
|
|
@@ -855,7 +855,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
855
855
|
}).then(
|
|
856
856
|
() => {
|
|
857
857
|
var r, h;
|
|
858
|
-
C.value = (r = p(C.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => ((y == null ? void 0 : y.key) === "extraButton" && (y.contents = C.value), y))),
|
|
858
|
+
C.value = (r = p(C.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => ((y == null ? void 0 : y.key) === "extraButton" && (y.contents = C.value), y))), Ue({
|
|
859
859
|
type: "success",
|
|
860
860
|
message: "删除成功"
|
|
861
861
|
});
|
|
@@ -907,7 +907,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
907
907
|
}).then(
|
|
908
908
|
() => {
|
|
909
909
|
var r, h;
|
|
910
|
-
|
|
910
|
+
j.value = (r = p(j.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => ((y == null ? void 0 : y.key) === "rowButton" && (y.contents = j.value), y))), Ue({
|
|
911
911
|
type: "success",
|
|
912
912
|
message: "删除成功"
|
|
913
913
|
});
|
|
@@ -950,17 +950,17 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
950
950
|
if (H.value !== "" ? e.id = H.value : (s.value++, e.id = "id" + s.value), (h = c.value) == null || h.forEach((A) => {
|
|
951
951
|
const Y = Me == null ? void 0 : Me.find((ne) => (ne == null ? void 0 : ne.label) === (A == null ? void 0 : A.label));
|
|
952
952
|
Y ? e[Y.key] = A.value : A != null && A.children && A.children.length > 0 && (e.children = A.children);
|
|
953
|
-
}), (y =
|
|
954
|
-
|
|
953
|
+
}), (y = j.value) != null && y.find((A) => A.id === e.id))
|
|
954
|
+
j.value = (R = j.value) == null ? void 0 : R.map((A) => (A.id === e.id && (A = e), A));
|
|
955
955
|
else {
|
|
956
|
-
let A = p(
|
|
957
|
-
A.push(e),
|
|
956
|
+
let A = p(j.value);
|
|
957
|
+
A.push(e), j.value = A;
|
|
958
958
|
}
|
|
959
959
|
$.value = !1, H.value = "";
|
|
960
960
|
let r = p(v.originalItemContents);
|
|
961
|
-
(J = p(v.originalItemContents)) != null && J.find((A) => (A == null ? void 0 : A.key) === "rowButton") ? r = (re = p(v.originalItemContents)) == null ? void 0 : re.map((A) => ((A == null ? void 0 : A.key) === "rowButton" && (A.contents =
|
|
961
|
+
(J = p(v.originalItemContents)) != null && J.find((A) => (A == null ? void 0 : A.key) === "rowButton") ? r = (re = p(v.originalItemContents)) == null ? void 0 : re.map((A) => ((A == null ? void 0 : A.key) === "rowButton" && (A.contents = j.value), A)) : r.push({
|
|
962
962
|
key: "rowButton",
|
|
963
|
-
contents:
|
|
963
|
+
contents: j.value
|
|
964
964
|
}), o("change", r);
|
|
965
965
|
}, fe = () => {
|
|
966
966
|
$.value = !1, H.value = "", t.value = [], c.value = [];
|
|
@@ -1043,7 +1043,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1043
1043
|
b.value = (r = p(b.value)) == null ? void 0 : r.filter((y) => (y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id)), o("change", (h = p(v.originalItemContents)) == null ? void 0 : h.map((y) => {
|
|
1044
1044
|
var R;
|
|
1045
1045
|
return (y == null ? void 0 : y.key) === "header" && (y.contents = (R = b.value) != null && R.some((J) => J == null ? void 0 : J.children) ? [b.value] : b.value), y;
|
|
1046
|
-
})),
|
|
1046
|
+
})), Ue({
|
|
1047
1047
|
type: "success",
|
|
1048
1048
|
message: "删除成功"
|
|
1049
1049
|
});
|
|
@@ -1056,7 +1056,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1056
1056
|
() => {
|
|
1057
1057
|
var e, r, h, y, R, J, re, A, Y, ne, Ie, Re, te, ee, ge, ue, Se, il, ul;
|
|
1058
1058
|
if (!(!v.originalItemContents || v.originalItemContents.length === 0))
|
|
1059
|
-
if (m.value = p(v.originalItemContents), b.value = (r = (e = m.value) == null ? void 0 : e.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : r.contents,
|
|
1059
|
+
if (m.value = p(v.originalItemContents), b.value = (r = (e = m.value) == null ? void 0 : e.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : r.contents, j.value = (y = (h = m.value) == null ? void 0 : h.find((T) => (T == null ? void 0 : T.key) === "rowButton")) == null ? void 0 : y.contents, C.value = (J = (R = m.value) == null ? void 0 : R.find((T) => (T == null ? void 0 : T.key) === "extraButton")) == null ? void 0 : J.contents, E.value = (A = (re = m.value) == null ? void 0 : re.find((T) => (T == null ? void 0 : T.key) === "page")) != null && A.contents ? !!((ne = (Y = m.value) == null ? void 0 : Y.find((T) => (T == null ? void 0 : T.key) === "page")) != null && ne.contents) : !1, G.value = (Re = (Ie = m.value) == null ? void 0 : Ie.find((T) => (T == null ? void 0 : T.key) === "tableToForm")) == null ? void 0 : Re.contents, b.value = (te = b.value) == null ? void 0 : te.map((T, Ne) => (Array.isArray(T) ? T = Ql(T) : T = {
|
|
1060
1060
|
label: (T == null ? void 0 : T.label) ?? "",
|
|
1061
1061
|
prop: (T == null ? void 0 : T.label) === "操作" ? "operate" : T == null ? void 0 : T.prop,
|
|
1062
1062
|
width: T != null && T.width ? parseInt(T.width) : "",
|
|
@@ -1068,7 +1068,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1068
1068
|
isEditCol: (T == null ? void 0 : T.isEditCol) ?? !1,
|
|
1069
1069
|
isOperate: (T == null ? void 0 : T.isOperate) ?? !1,
|
|
1070
1070
|
id: (T == null ? void 0 : T.id) ?? Ne
|
|
1071
|
-
}, T)), b.value = (ee = b.value) != null && ee.every((T) => Array.isArray(T)) ? (ge = b.value) == null ? void 0 : ge[0] : b.value,
|
|
1071
|
+
}, T)), b.value = (ee = b.value) != null && ee.every((T) => Array.isArray(T)) ? (ge = b.value) == null ? void 0 : ge[0] : b.value, j.value = (ue = j.value) == null ? void 0 : ue.map((T, Ne) => T = {
|
|
1072
1072
|
label: (T == null ? void 0 : T.label) ?? "",
|
|
1073
1073
|
type: (T == null ? void 0 : T.type) ?? "",
|
|
1074
1074
|
textColor: (T == null ? void 0 : T.textColor) ?? "#000000",
|
|
@@ -1179,7 +1179,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1179
1179
|
})
|
|
1180
1180
|
]),
|
|
1181
1181
|
f("div", Ia, [
|
|
1182
|
-
(S(!0), X(be, null, _e(
|
|
1182
|
+
(S(!0), X(be, null, _e(j.value, (R, J) => (S(), X("div", { key: J }, [
|
|
1183
1183
|
f("div", Ta, [
|
|
1184
1184
|
f("div", $a, se(R == null ? void 0 : R.label), 1),
|
|
1185
1185
|
f("div", Ea, [
|
|
@@ -1284,8 +1284,8 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1284
1284
|
r[10] || (r[10] = f("div", { class: "operate-title" }, [
|
|
1285
1285
|
f("div", null, se("分页"))
|
|
1286
1286
|
], -1)),
|
|
1287
|
-
f("div",
|
|
1288
|
-
f("div",
|
|
1287
|
+
f("div", Ua, [
|
|
1288
|
+
f("div", ja, [
|
|
1289
1289
|
r[9] || (r[9] = f("div", { class: "operate-center-content" }, se("是否分页"), -1)),
|
|
1290
1290
|
B(yl, {
|
|
1291
1291
|
modelValue: E.value,
|
|
@@ -1424,7 +1424,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1424
1424
|
_: 1
|
|
1425
1425
|
}, 8, ["visible"]),
|
|
1426
1426
|
B(Oe, {
|
|
1427
|
-
visible:
|
|
1427
|
+
visible: U.value,
|
|
1428
1428
|
onBeforeDestroy: P,
|
|
1429
1429
|
width: 840
|
|
1430
1430
|
}, {
|
|
@@ -1485,7 +1485,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1485
1485
|
},
|
|
1486
1486
|
emits: ["change"],
|
|
1487
1487
|
setup(k, { emit: L }) {
|
|
1488
|
-
const v = k, o = L, m = F(!1), I = F([]),
|
|
1488
|
+
const v = k, o = L, m = F(!1), I = F([]), U = F([]), b = F(!1), $ = F([]), O = F([]), E = F(""), ae = F(!1), H = F(0), Q = F([]), j = F([]), C = async (a) => {
|
|
1489
1489
|
var w, P, ie, ce, g, V;
|
|
1490
1490
|
m.value = !0;
|
|
1491
1491
|
let _ = [];
|
|
@@ -1503,7 +1503,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1503
1503
|
const l = await He(a == null ? void 0 : a.menuSelect);
|
|
1504
1504
|
_ = _ == null ? void 0 : _.map((x) => ((x == null ? void 0 : x.name) === "组信息选项" && (x.contents = l), x));
|
|
1505
1505
|
}
|
|
1506
|
-
E.value = a == null ? void 0 : a.id, I.value = await We(qe(_)),
|
|
1506
|
+
E.value = a == null ? void 0 : a.id, I.value = await We(qe(_)), U.value = await We(qe(_));
|
|
1507
1507
|
}, c = (a) => {
|
|
1508
1508
|
var M;
|
|
1509
1509
|
b.value = !0;
|
|
@@ -1517,7 +1517,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1517
1517
|
id: H.value,
|
|
1518
1518
|
contents: w == null ? void 0 : w.options
|
|
1519
1519
|
});
|
|
1520
|
-
}), Q.value = _,
|
|
1520
|
+
}), Q.value = _, j.value = _, E.value = a == null ? void 0 : a.id;
|
|
1521
1521
|
};
|
|
1522
1522
|
Ee(
|
|
1523
1523
|
() => ae.value,
|
|
@@ -1533,7 +1533,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1533
1533
|
);
|
|
1534
1534
|
const t = () => {
|
|
1535
1535
|
var M, w, P, ie, ce;
|
|
1536
|
-
Q.value =
|
|
1536
|
+
Q.value = j.value;
|
|
1537
1537
|
let a = {};
|
|
1538
1538
|
if (E.value !== "" ? a.id = E.value : (H.value++, a.id = "id" + H.value), (M = Q.value) == null || M.forEach((g) => {
|
|
1539
1539
|
var l;
|
|
@@ -1559,7 +1559,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1559
1559
|
}).then(
|
|
1560
1560
|
() => {
|
|
1561
1561
|
var _, M;
|
|
1562
|
-
O.value = (_ = p(O.value)) == null ? void 0 : _.filter((w) => (w == null ? void 0 : w.id) !== (a == null ? void 0 : a.id)), o("change", (M = p(v.originalItemContents)) == null ? void 0 : M.map((w) => ((w == null ? void 0 : w.key) === "formContent" && (w.contents = O.value), w))),
|
|
1562
|
+
O.value = (_ = p(O.value)) == null ? void 0 : _.filter((w) => (w == null ? void 0 : w.id) !== (a == null ? void 0 : a.id)), o("change", (M = p(v.originalItemContents)) == null ? void 0 : M.map((w) => ((w == null ? void 0 : w.key) === "formContent" && (w.contents = O.value), w))), Ue({
|
|
1563
1563
|
type: "success",
|
|
1564
1564
|
message: "删除成功"
|
|
1565
1565
|
});
|
|
@@ -1574,7 +1574,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1574
1574
|
}).then(
|
|
1575
1575
|
() => {
|
|
1576
1576
|
var _, M;
|
|
1577
|
-
$.value = (_ = p($.value)) == null ? void 0 : _.filter((w) => (w == null ? void 0 : w.id) !== (a == null ? void 0 : a.id)), o("change", (M = p(v.originalItemContents)) == null ? void 0 : M.map((w) => ((w == null ? void 0 : w.key) === "formButton" && (w.contents = $.value), w))),
|
|
1577
|
+
$.value = (_ = p($.value)) == null ? void 0 : _.filter((w) => (w == null ? void 0 : w.id) !== (a == null ? void 0 : a.id)), o("change", (M = p(v.originalItemContents)) == null ? void 0 : M.map((w) => ((w == null ? void 0 : w.key) === "formButton" && (w.contents = $.value), w))), Ue({
|
|
1578
1578
|
type: "success",
|
|
1579
1579
|
message: "删除成功"
|
|
1580
1580
|
});
|
|
@@ -1594,7 +1594,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1594
1594
|
id: H.value,
|
|
1595
1595
|
contents: M == null ? void 0 : M.options
|
|
1596
1596
|
});
|
|
1597
|
-
}), Q.value = a,
|
|
1597
|
+
}), Q.value = a, j.value = a;
|
|
1598
1598
|
}, s = () => {
|
|
1599
1599
|
var _, M, w;
|
|
1600
1600
|
m.value = !0;
|
|
@@ -1608,13 +1608,13 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1608
1608
|
id: H.value,
|
|
1609
1609
|
contents: P == null ? void 0 : P.options
|
|
1610
1610
|
});
|
|
1611
|
-
}), I.value = a,
|
|
1611
|
+
}), I.value = a, U.value = a;
|
|
1612
1612
|
}, i = (a) => {
|
|
1613
|
-
let _ = p(
|
|
1614
|
-
_ = _ == null ? void 0 : _.map((M) => (M.value = a == null ? void 0 : a[M.name], M)),
|
|
1613
|
+
let _ = p(j.value);
|
|
1614
|
+
_ = _ == null ? void 0 : _.map((M) => (M.value = a == null ? void 0 : a[M.name], M)), j.value = _;
|
|
1615
1615
|
}, d = async (a) => {
|
|
1616
1616
|
var _, M, w, P, ie, ce, g, V, l, x, oe, z;
|
|
1617
|
-
if ((a == null ? void 0 : a.类型) !== ((M = (_ =
|
|
1617
|
+
if ((a == null ? void 0 : a.类型) !== ((M = (_ = U.value) == null ? void 0 : _.find((D) => (D == null ? void 0 : D.label) === "类型")) == null ? void 0 : M.value)) {
|
|
1618
1618
|
let D = [];
|
|
1619
1619
|
const K = await ((ie = (P = (w = $e) == null ? void 0 : w.find((W) => (W == null ? void 0 : W.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : P.value) == null ? void 0 : ie.value) ? await ((x = (l = (V = $e) == null ? void 0 : V.find((W) => (W == null ? void 0 : W.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : l.value) == null ? void 0 : x.value) : (g = (ce = $e) == null ? void 0 : ce.find((W) => (W == null ? void 0 : W.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : g.value;
|
|
1620
1620
|
if (K == null || K.forEach((W) => {
|
|
@@ -1630,22 +1630,22 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1630
1630
|
const W = await He(a == null ? void 0 : a.菜单选项);
|
|
1631
1631
|
D = D == null ? void 0 : D.map((Z) => ((Z == null ? void 0 : Z.name) === "组信息选项" && (Z.contents = W), Z));
|
|
1632
1632
|
}
|
|
1633
|
-
|
|
1633
|
+
U.value = await We(p(D)), I.value = await We(p(D));
|
|
1634
1634
|
} else {
|
|
1635
|
-
let D = p(
|
|
1635
|
+
let D = p(U.value);
|
|
1636
1636
|
if (D = D == null ? void 0 : D.map((K) => (K.value = a == null ? void 0 : a[K.name], K)), a != null && a.菜单选项 && ((z = a == null ? void 0 : a.菜单选项) == null ? void 0 : z.length) > 0) {
|
|
1637
1637
|
const K = await He(a == null ? void 0 : a.菜单选项);
|
|
1638
1638
|
D = D == null ? void 0 : D.map((W) => ((W == null ? void 0 : W.name) === "组信息选项" && (W.contents = K), W));
|
|
1639
1639
|
}
|
|
1640
|
-
D = qe(D),
|
|
1640
|
+
D = qe(D), U.value = await We(p(D));
|
|
1641
1641
|
}
|
|
1642
1642
|
}, G = (a) => {
|
|
1643
|
-
a || (I.value =
|
|
1643
|
+
a || (I.value = U.value);
|
|
1644
1644
|
}, le = async (a) => {
|
|
1645
|
-
await d(a), I.value =
|
|
1645
|
+
await d(a), I.value = U.value;
|
|
1646
1646
|
}, de = async () => {
|
|
1647
1647
|
var w, P, ie, ce, g, V, l, x, oe, z;
|
|
1648
|
-
I.value =
|
|
1648
|
+
I.value = U.value;
|
|
1649
1649
|
let a = {};
|
|
1650
1650
|
E.value !== "" ? a.id = E.value : (H.value++, a.id = "id" + H.value);
|
|
1651
1651
|
let _ = await ((ie = (P = (w = $e) == null ? void 0 : w.find((D) => {
|
|
@@ -1671,7 +1671,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1671
1671
|
contents: O.value
|
|
1672
1672
|
}), o("change", M);
|
|
1673
1673
|
}, pe = () => {
|
|
1674
|
-
m.value = !1, b.value = !1, E.value = "",
|
|
1674
|
+
m.value = !1, b.value = !1, E.value = "", U.value = [], j.value = [];
|
|
1675
1675
|
};
|
|
1676
1676
|
return Ee(
|
|
1677
1677
|
() => v.originalItemContents,
|
|
@@ -1963,7 +1963,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1963
1963
|
type: "input",
|
|
1964
1964
|
value: ""
|
|
1965
1965
|
}
|
|
1966
|
-
]),
|
|
1966
|
+
]), U = F([
|
|
1967
1967
|
{
|
|
1968
1968
|
label: "取消",
|
|
1969
1969
|
background: "#c0c4cc"
|
|
@@ -1978,7 +1978,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
1978
1978
|
title: "步骤条"
|
|
1979
1979
|
}), $ = F("create"), O = F({}), E = F([]), ae = (c) => {
|
|
1980
1980
|
var t;
|
|
1981
|
-
O.value = c, o("change", (t =
|
|
1981
|
+
O.value = c, o("change", (t = j()) == null ? void 0 : t.compData);
|
|
1982
1982
|
}, H = (c, t) => {
|
|
1983
1983
|
var N, n;
|
|
1984
1984
|
switch (c) {
|
|
@@ -2017,10 +2017,10 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2017
2017
|
} : s);
|
|
2018
2018
|
break;
|
|
2019
2019
|
}
|
|
2020
|
-
o("change", (n =
|
|
2020
|
+
o("change", (n = j()) == null ? void 0 : n.compData), b.visible = !1;
|
|
2021
2021
|
} else
|
|
2022
2022
|
b.visible = !1;
|
|
2023
|
-
},
|
|
2023
|
+
}, j = () => ({
|
|
2024
2024
|
comp: "Step",
|
|
2025
2025
|
compData: [
|
|
2026
2026
|
{
|
|
@@ -2116,7 +2116,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2116
2116
|
isEnableWrap: !1,
|
|
2117
2117
|
isButtonRow: !1,
|
|
2118
2118
|
isStartJustify: !1,
|
|
2119
|
-
buttonValue:
|
|
2119
|
+
buttonValue: U.value,
|
|
2120
2120
|
onOnButtonClick: Q
|
|
2121
2121
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
2122
2122
|
])
|
|
@@ -2140,7 +2140,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2140
2140
|
},
|
|
2141
2141
|
emits: ["change"],
|
|
2142
2142
|
setup(k, { emit: L }) {
|
|
2143
|
-
const v = k, o = L, m = F("create"), I = F({}),
|
|
2143
|
+
const v = k, o = L, m = F("create"), I = F({}), U = F([]), b = F([
|
|
2144
2144
|
{
|
|
2145
2145
|
label: "方向:",
|
|
2146
2146
|
prop: "placement",
|
|
@@ -2274,7 +2274,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2274
2274
|
title: "时间线"
|
|
2275
2275
|
}), ae = (c) => {
|
|
2276
2276
|
var t;
|
|
2277
|
-
I.value = c, console.log(1212, c), o("change", (t =
|
|
2277
|
+
I.value = c, console.log(1212, c), o("change", (t = j()) == null ? void 0 : t.compData);
|
|
2278
2278
|
}, H = (c, t) => {
|
|
2279
2279
|
var N, n;
|
|
2280
2280
|
switch (c) {
|
|
@@ -2289,7 +2289,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2289
2289
|
}), m.value = "update", E.visible = !0;
|
|
2290
2290
|
break;
|
|
2291
2291
|
case "delete":
|
|
2292
|
-
|
|
2292
|
+
U.value.splice(t, 1), m.value = "delete";
|
|
2293
2293
|
break;
|
|
2294
2294
|
}
|
|
2295
2295
|
}, Q = (c) => {
|
|
@@ -2300,28 +2300,28 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2300
2300
|
s[i] === "" && delete s[i];
|
|
2301
2301
|
}), m.value) {
|
|
2302
2302
|
case "create":
|
|
2303
|
-
console.log(1335,
|
|
2303
|
+
console.log(1335, U.value, s), (N = U.value) == null || N.push({
|
|
2304
2304
|
...s,
|
|
2305
|
-
index: ((t =
|
|
2305
|
+
index: ((t = U.value) == null ? void 0 : t.length) + 1
|
|
2306
2306
|
});
|
|
2307
2307
|
break;
|
|
2308
2308
|
case "update":
|
|
2309
|
-
|
|
2309
|
+
U.value = (n = U.value) == null ? void 0 : n.map((i) => i.index === (s == null ? void 0 : s.index) ? {
|
|
2310
2310
|
...i,
|
|
2311
2311
|
content: s == null ? void 0 : s.content,
|
|
2312
2312
|
timestamp: s == null ? void 0 : s.timestamp
|
|
2313
2313
|
} : i);
|
|
2314
2314
|
break;
|
|
2315
2315
|
}
|
|
2316
|
-
o("change", (u =
|
|
2316
|
+
o("change", (u = j()) == null ? void 0 : u.compData), E.visible = !1;
|
|
2317
2317
|
} else
|
|
2318
2318
|
E.visible = !1;
|
|
2319
|
-
},
|
|
2319
|
+
}, j = () => ({
|
|
2320
2320
|
comp: "TimeLine",
|
|
2321
2321
|
compData: [
|
|
2322
2322
|
{
|
|
2323
2323
|
key: "timeLineList",
|
|
2324
|
-
contents:
|
|
2324
|
+
contents: U.value
|
|
2325
2325
|
},
|
|
2326
2326
|
{
|
|
2327
2327
|
key: "timeLineConfig",
|
|
@@ -2333,7 +2333,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2333
2333
|
};
|
|
2334
2334
|
return Ee(() => v == null ? void 0 : v.itemContents, (c) => {
|
|
2335
2335
|
var t, N;
|
|
2336
|
-
c && (I.value = ((t = c == null ? void 0 : c.find((n) => n.key === "timeLineConfig")) == null ? void 0 : t.contents) ?? {},
|
|
2336
|
+
c && (I.value = ((t = c == null ? void 0 : c.find((n) => n.key === "timeLineConfig")) == null ? void 0 : t.contents) ?? {}, U.value = ((N = c == null ? void 0 : c.find((n) => n.key === "timeLineList")) == null ? void 0 : N.contents) ?? []);
|
|
2337
2337
|
}, { immediate: !0 }), (c, t) => {
|
|
2338
2338
|
const N = ye("svg-icon"), n = ye("el-button");
|
|
2339
2339
|
return S(), X(be, null, [
|
|
@@ -2359,7 +2359,7 @@ const Jl = (k) => k.match(/\((.*)\)/)[1], ql = hl("formComp", {
|
|
|
2359
2359
|
})
|
|
2360
2360
|
]),
|
|
2361
2361
|
f("div", _n, [
|
|
2362
|
-
(S(!0), X(be, null, _e(
|
|
2362
|
+
(S(!0), X(be, null, _e(U.value, (u, s) => (S(), X("div", {
|
|
2363
2363
|
class: "module-data-item",
|
|
2364
2364
|
key: s
|
|
2365
2365
|
}, [
|
|
@@ -2446,7 +2446,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2446
2446
|
},
|
|
2447
2447
|
emits: ["change"],
|
|
2448
2448
|
setup(k, { emit: L }) {
|
|
2449
|
-
const v = k, o = F(0), m = F(), I = F(),
|
|
2449
|
+
const v = k, o = F(0), m = F(), I = F(), U = L, b = F(!1), $ = F({}), O = F({}), E = F();
|
|
2450
2450
|
Ee(
|
|
2451
2451
|
() => [v.itemData],
|
|
2452
2452
|
() => {
|
|
@@ -2491,7 +2491,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2491
2491
|
$.value = G;
|
|
2492
2492
|
}, Q = () => {
|
|
2493
2493
|
b.value = !1, $.value = {}, O.value = {}, E.value = void 0, o.value++;
|
|
2494
|
-
},
|
|
2494
|
+
}, j = (n) => {
|
|
2495
2495
|
var le, de, pe, a;
|
|
2496
2496
|
const u = (de = (le = Object.values(p($.value))) == null ? void 0 : le[0]) == null ? void 0 : de.filter((_) => (_ == null ? void 0 : _.key) === "tableContentName"), s = (a = (pe = Object.values(p($.value))) == null ? void 0 : pe[0]) == null ? void 0 : a.filter((_) => (_ == null ? void 0 : _.key) !== "tableContentName"), i = s == null ? void 0 : s.map((_, M) => (M === n.index && (_.compData = n.contents), _));
|
|
2497
2497
|
i.unshift(u == null ? void 0 : u[0]);
|
|
@@ -2504,7 +2504,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2504
2504
|
let n = {};
|
|
2505
2505
|
for (let i in O.value)
|
|
2506
2506
|
i === ((u = Object.keys($.value)) == null ? void 0 : u[0]) ? n[i] = (s = Object.values($.value)) == null ? void 0 : s[0] : n[i] = O.value[i];
|
|
2507
|
-
|
|
2507
|
+
U("change", {
|
|
2508
2508
|
buttonName: "编辑",
|
|
2509
2509
|
index: E.value,
|
|
2510
2510
|
singleContent: n
|
|
@@ -2512,7 +2512,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2512
2512
|
}, c = () => {
|
|
2513
2513
|
b.value = !1, $.value = {}, O.value = {}, E.value = void 0;
|
|
2514
2514
|
}, t = (n) => {
|
|
2515
|
-
|
|
2515
|
+
U("change", n, "methodData");
|
|
2516
2516
|
}, N = (n) => sl(n);
|
|
2517
2517
|
return (n, u) => {
|
|
2518
2518
|
const s = ye("el-button");
|
|
@@ -2543,7 +2543,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2543
2543
|
onChange: H,
|
|
2544
2544
|
childItemData: i == null ? void 0 : i.itemChildData,
|
|
2545
2545
|
key: d,
|
|
2546
|
-
onContentChange:
|
|
2546
|
+
onContentChange: j,
|
|
2547
2547
|
index: (i == null ? void 0 : i.id) ?? d,
|
|
2548
2548
|
class: "extra-component"
|
|
2549
2549
|
}, null, 40, ["itemData", "childItemData", "index"]))
|
|
@@ -2599,7 +2599,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2599
2599
|
}
|
|
2600
2600
|
},
|
|
2601
2601
|
setup(k) {
|
|
2602
|
-
const L = F([]), v = k, o = bl(
|
|
2602
|
+
const L = F([]), v = k, o = bl(je), m = F(!1), I = Vl(je), { itemData: U, isEdit: b } = Je(o), { activeMenuPath: $, platform: O } = Je(I), E = F(!1), ae = (C, c) => {
|
|
2603
2603
|
const t = c;
|
|
2604
2604
|
return C == null ? void 0 : C.map((N) => {
|
|
2605
2605
|
var n;
|
|
@@ -2613,9 +2613,9 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2613
2613
|
});
|
|
2614
2614
|
};
|
|
2615
2615
|
Ee(
|
|
2616
|
-
() =>
|
|
2616
|
+
() => U.value,
|
|
2617
2617
|
async () => {
|
|
2618
|
-
b.value === "view" && !E.value && await
|
|
2618
|
+
b.value === "view" && !E.value && await j(p(v.itemData)), E.value = !1;
|
|
2619
2619
|
},
|
|
2620
2620
|
{ deep: !0 }
|
|
2621
2621
|
);
|
|
@@ -2676,17 +2676,17 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2676
2676
|
);
|
|
2677
2677
|
if (((de = z == null ? void 0 : z.data) == null ? void 0 : de.code) === 200 || ((pe = z == null ? void 0 : z.data) == null ? void 0 : pe.statusCode) === 200) {
|
|
2678
2678
|
let D = await ((a = z == null ? void 0 : z.data) == null ? void 0 : a.data);
|
|
2679
|
-
const K = (_ = p(
|
|
2679
|
+
const K = (_ = p(U.value)) == null ? void 0 : _.filter((he) => (he == null ? void 0 : he.comp) !== "methodButton"), W = await Promise.all(
|
|
2680
2680
|
K.map((he) => H(he, D))
|
|
2681
2681
|
);
|
|
2682
2682
|
await Promise.all(W);
|
|
2683
|
-
const Z = (M = p(
|
|
2683
|
+
const Z = (M = p(U.value)) == null ? void 0 : M.filter((he) => (he == null ? void 0 : he.comp) === "methodButton");
|
|
2684
2684
|
let fe = [...W, ...Z];
|
|
2685
2685
|
await El(fe), m.value = !1;
|
|
2686
2686
|
} else
|
|
2687
|
-
|
|
2687
|
+
Ue.error("方法调用失败:" + ((w = z == null ? void 0 : z.data) == null ? void 0 : w.errors)), m.value = !1;
|
|
2688
2688
|
} catch {
|
|
2689
|
-
|
|
2689
|
+
Ue.error("方法调用失败"), m.value = !1;
|
|
2690
2690
|
}
|
|
2691
2691
|
o.setFreshContent(!0);
|
|
2692
2692
|
}
|
|
@@ -2737,7 +2737,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2737
2737
|
i.style.display = "none", i.href = d, i.download = decodeURI(s.replace(G, "$1")), document.body.appendChild(i), i.click(), document.body.removeChild(i), window.URL.revokeObjectURL(d);
|
|
2738
2738
|
}
|
|
2739
2739
|
E.value = !0;
|
|
2740
|
-
},
|
|
2740
|
+
}, j = async (C) => {
|
|
2741
2741
|
var u, s, i;
|
|
2742
2742
|
const c = p(C);
|
|
2743
2743
|
let t;
|
|
@@ -2812,7 +2812,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2812
2812
|
return Ee(
|
|
2813
2813
|
() => v.itemData,
|
|
2814
2814
|
async () => {
|
|
2815
|
-
b.value == "view" && !E.value && await
|
|
2815
|
+
b.value == "view" && !E.value && await j(p(v.itemData)), E.value = !1;
|
|
2816
2816
|
},
|
|
2817
2817
|
{ immediate: !0, deep: !0 }
|
|
2818
2818
|
), (C, c) => (S(), X("div", On, [
|
|
@@ -2831,7 +2831,7 @@ const $n = /* @__PURE__ */ Te(In, [["render", Tn]]), En = { class: "extra-conten
|
|
|
2831
2831
|
function Pn(k, L) {
|
|
2832
2832
|
return " 567 ";
|
|
2833
2833
|
}
|
|
2834
|
-
const
|
|
2834
|
+
const Un = /* @__PURE__ */ Te(Nn, [["render", Pn]]), jn = { class: "module content" }, Wn = { class: "module data" }, zn = { class: "module layout" }, Mn = { class: "form-content" }, Kn = /* @__PURE__ */ Ge({
|
|
2835
2835
|
__name: "operate",
|
|
2836
2836
|
props: {
|
|
2837
2837
|
itemContents: {
|
|
@@ -2849,7 +2849,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
2849
2849
|
visible: !1,
|
|
2850
2850
|
width: "40%",
|
|
2851
2851
|
title: "签名配置"
|
|
2852
|
-
}), I = F("create"),
|
|
2852
|
+
}), I = F("create"), U = F([
|
|
2853
2853
|
{
|
|
2854
2854
|
label: "取消",
|
|
2855
2855
|
background: "#c0c4cc"
|
|
@@ -2981,7 +2981,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
2981
2981
|
o("change", (N = ae()) == null ? void 0 : N.compData), m.visible = !1;
|
|
2982
2982
|
} else
|
|
2983
2983
|
m.visible = !1;
|
|
2984
|
-
},
|
|
2984
|
+
}, j = (c, t) => {
|
|
2985
2985
|
var N, n;
|
|
2986
2986
|
switch (c) {
|
|
2987
2987
|
case "create":
|
|
@@ -3008,12 +3008,12 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3008
3008
|
const N = ye("svg-icon"), n = ye("el-button");
|
|
3009
3009
|
return S(), X(be, null, [
|
|
3010
3010
|
f("div", null, [
|
|
3011
|
-
f("div",
|
|
3011
|
+
f("div", jn, [
|
|
3012
3012
|
t[2] || (t[2] = f("h4", { class: "module-title" }, "签名类型", -1)),
|
|
3013
3013
|
B(n, {
|
|
3014
3014
|
class: "module-icon",
|
|
3015
3015
|
id: "themeButton",
|
|
3016
|
-
onClick: t[0] || (t[0] = (u) =>
|
|
3016
|
+
onClick: t[0] || (t[0] = (u) => j("create"))
|
|
3017
3017
|
}, {
|
|
3018
3018
|
icon: q(() => [
|
|
3019
3019
|
B(N, {
|
|
@@ -3038,7 +3038,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3038
3038
|
B(n, {
|
|
3039
3039
|
type: "primary",
|
|
3040
3040
|
size: "small",
|
|
3041
|
-
onClick: (i) =>
|
|
3041
|
+
onClick: (i) => j("update", { ...u, index: s + 1 })
|
|
3042
3042
|
}, {
|
|
3043
3043
|
default: q(() => t[3] || (t[3] = [
|
|
3044
3044
|
me("修改")
|
|
@@ -3049,7 +3049,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3049
3049
|
B(n, {
|
|
3050
3050
|
type: "danger",
|
|
3051
3051
|
size: "small",
|
|
3052
|
-
onClick: (i) =>
|
|
3052
|
+
onClick: (i) => j("delete", s)
|
|
3053
3053
|
}, {
|
|
3054
3054
|
default: q(() => t[4] || (t[4] = [
|
|
3055
3055
|
me("删除")
|
|
@@ -3081,7 +3081,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3081
3081
|
isEnableWrap: !1,
|
|
3082
3082
|
isButtonRow: !1,
|
|
3083
3083
|
isStartJustify: !1,
|
|
3084
|
-
buttonValue:
|
|
3084
|
+
buttonValue: U.value,
|
|
3085
3085
|
onOnButtonClick: Q
|
|
3086
3086
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3087
3087
|
])
|
|
@@ -3108,11 +3108,11 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3108
3108
|
const v = k, o = L, m = F(1), I = ol(() => {
|
|
3109
3109
|
var ae, H;
|
|
3110
3110
|
return (ae = v == null ? void 0 : v.stepConfig) != null && ae.allowTrigger ? m.value : (H = v == null ? void 0 : v.stepConfig) == null ? void 0 : H.active;
|
|
3111
|
-
}),
|
|
3111
|
+
}), U = (ae, H) => {
|
|
3112
3112
|
m.value = H, o("clickStep", ae, H);
|
|
3113
3113
|
}, b = (ae) => Pl(ae), $ = () => {
|
|
3114
3114
|
var H;
|
|
3115
|
-
const ae = (H = v == null ? void 0 : v.stepList) == null ? void 0 : H.find((Q,
|
|
3115
|
+
const ae = (H = v == null ? void 0 : v.stepList) == null ? void 0 : H.find((Q, j) => j + 1 === I.value);
|
|
3116
3116
|
return console.log("findStep", ae), ae ? ae == null ? void 0 : ae.children : [];
|
|
3117
3117
|
}, O = (ae) => {
|
|
3118
3118
|
o("clickTrigger", ae);
|
|
@@ -3121,9 +3121,9 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3121
3121
|
};
|
|
3122
3122
|
return (ae, H) => {
|
|
3123
3123
|
var C, c, t, N, n;
|
|
3124
|
-
const Q = ye("el-step"),
|
|
3124
|
+
const Q = ye("el-step"), j = ye("el-steps");
|
|
3125
3125
|
return S(), X(be, null, [
|
|
3126
|
-
B(
|
|
3126
|
+
B(j, {
|
|
3127
3127
|
direction: (C = k.stepConfig) == null ? void 0 : C.direction,
|
|
3128
3128
|
active: I.value,
|
|
3129
3129
|
"finish-status": "success",
|
|
@@ -3134,7 +3134,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3134
3134
|
(S(!0), X(be, null, _e(k.stepList, (u, s) => (S(), ke(Q, {
|
|
3135
3135
|
key: s,
|
|
3136
3136
|
class: "step-item",
|
|
3137
|
-
onClick: (i) =>
|
|
3137
|
+
onClick: (i) => U(u, s + 1)
|
|
3138
3138
|
}, {
|
|
3139
3139
|
title: q(() => [
|
|
3140
3140
|
Ze(ae.$slots, "title", {
|
|
@@ -3187,7 +3187,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3187
3187
|
},
|
|
3188
3188
|
emits: ["clickStep"],
|
|
3189
3189
|
setup(k, { emit: L }) {
|
|
3190
|
-
const v = k, o = L, m = F({}), I = F([]),
|
|
3190
|
+
const v = k, o = L, m = F({}), I = F([]), U = (b, $) => {
|
|
3191
3191
|
o("clickStep", b, $);
|
|
3192
3192
|
};
|
|
3193
3193
|
return Ee(() => v == null ? void 0 : v.itemData, (b) => {
|
|
@@ -3200,7 +3200,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3200
3200
|
return S(), ke(Gn, {
|
|
3201
3201
|
stepConfig: m.value,
|
|
3202
3202
|
stepList: I.value,
|
|
3203
|
-
onClickStep:
|
|
3203
|
+
onClickStep: U
|
|
3204
3204
|
}, {
|
|
3205
3205
|
icon: q(() => [
|
|
3206
3206
|
B(O, { name: "import" })
|
|
@@ -3233,8 +3233,8 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3233
3233
|
const o = ye("el-timeline-item"), m = ye("el-timeline");
|
|
3234
3234
|
return S(), ke(m, null, {
|
|
3235
3235
|
default: q(() => [
|
|
3236
|
-
(S(!0), X(be, null, _e(k.activities, (I,
|
|
3237
|
-
key:
|
|
3236
|
+
(S(!0), X(be, null, _e(k.activities, (I, U) => (S(), ke(o, {
|
|
3237
|
+
key: U,
|
|
3238
3238
|
timestamp: I.timestamp,
|
|
3239
3239
|
placement: k.timeLineConfig.placement,
|
|
3240
3240
|
center: k.timeLineConfig.isCenter,
|
|
@@ -3269,16 +3269,16 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3269
3269
|
setup(k) {
|
|
3270
3270
|
const L = k, v = F({}), o = F([]);
|
|
3271
3271
|
return Ee(() => L == null ? void 0 : L.itemData, (m) => {
|
|
3272
|
-
var I,
|
|
3273
|
-
o.value = (I = m == null ? void 0 : m.find((b) => (b == null ? void 0 : b.key) === "timeLineList")) == null ? void 0 : I.contents, v.value = (
|
|
3272
|
+
var I, U;
|
|
3273
|
+
o.value = (I = m == null ? void 0 : m.find((b) => (b == null ? void 0 : b.key) === "timeLineList")) == null ? void 0 : I.contents, v.value = (U = m == null ? void 0 : m.find((b) => (b == null ? void 0 : b.key) === "timeLineConfig")) == null ? void 0 : U.contents;
|
|
3274
3274
|
}, {
|
|
3275
3275
|
immediate: !0
|
|
3276
3276
|
}), (m, I) => (S(), ke(Xn, {
|
|
3277
3277
|
activities: o.value,
|
|
3278
3278
|
timeLineConfig: v.value
|
|
3279
3279
|
}, {
|
|
3280
|
-
content: q(({ content:
|
|
3281
|
-
f("span", Yn, se(
|
|
3280
|
+
content: q(({ content: U, timestamp: b }) => [
|
|
3281
|
+
f("span", Yn, se(U), 1),
|
|
3282
3282
|
f("span", Zn, se(b), 1)
|
|
3283
3283
|
]),
|
|
3284
3284
|
_: 1
|
|
@@ -3312,7 +3312,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3312
3312
|
},
|
|
3313
3313
|
{ immediate: !0, deep: !0 }
|
|
3314
3314
|
), (o, m) => (S(), X("div", ao, [
|
|
3315
|
-
B(
|
|
3315
|
+
B(Ul, { tabsContents: v.value }, null, 8, ["tabsContents"])
|
|
3316
3316
|
]));
|
|
3317
3317
|
}
|
|
3318
3318
|
}, oo = /* @__PURE__ */ Te(no, [["__scopeId", "data-v-d3bb10b7"]]), ll = hl("tabComp", {
|
|
@@ -3352,7 +3352,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3352
3352
|
}), so = { class: "type-select" }, io = ["onClick"], uo = { class: "list-icon" }, ro = {
|
|
3353
3353
|
__name: "modelSelect",
|
|
3354
3354
|
setup(k) {
|
|
3355
|
-
const L = ll(
|
|
3355
|
+
const L = ll(je), { itemData: v } = Je(L), o = (m) => {
|
|
3356
3356
|
const I = p(v.value);
|
|
3357
3357
|
I.push({
|
|
3358
3358
|
comp: m.comp,
|
|
@@ -3361,7 +3361,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3361
3361
|
}), L.setItemData(I);
|
|
3362
3362
|
};
|
|
3363
3363
|
return (m, I) => {
|
|
3364
|
-
const
|
|
3364
|
+
const U = ye("svg-icon");
|
|
3365
3365
|
return S(), X("div", so, [
|
|
3366
3366
|
(S(!0), X(be, null, _e(ml(Ko), (b, $) => (S(), X("div", {
|
|
3367
3367
|
class: "type-list",
|
|
@@ -3372,7 +3372,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3372
3372
|
onClick: (O) => o(b)
|
|
3373
3373
|
}, [
|
|
3374
3374
|
f("div", uo, [
|
|
3375
|
-
B(
|
|
3375
|
+
B(U, {
|
|
3376
3376
|
name: b.icon
|
|
3377
3377
|
}, null, 8, ["name"])
|
|
3378
3378
|
]),
|
|
@@ -3388,39 +3388,39 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3388
3388
|
}, go = ["onClick"], Co = { class: "comp-child" }, _o = {
|
|
3389
3389
|
__name: "modelFill",
|
|
3390
3390
|
setup(k) {
|
|
3391
|
-
const L = ll(
|
|
3391
|
+
const L = ll(je), { itemData: v, originalData: o } = Je(L), m = F([]);
|
|
3392
3392
|
F([]);
|
|
3393
|
-
const I = F([]),
|
|
3393
|
+
const I = F([]), U = F([]), b = (Q) => {
|
|
3394
3394
|
var C;
|
|
3395
|
-
let
|
|
3396
|
-
|
|
3395
|
+
let j = (C = p(U.value)) == null ? void 0 : C.map((c, t) => (Q === t && (c.content = !0), c));
|
|
3396
|
+
U.value = j;
|
|
3397
3397
|
}, $ = (Q) => {
|
|
3398
3398
|
var C;
|
|
3399
|
-
let
|
|
3400
|
-
|
|
3401
|
-
}, O = (Q,
|
|
3399
|
+
let j = (C = p(U.value)) == null ? void 0 : C.map((c, t) => (Q === t && (c.content = !1), c));
|
|
3400
|
+
U.value = j, m.value = p(v.value);
|
|
3401
|
+
}, O = (Q, j) => {
|
|
3402
3402
|
var N;
|
|
3403
|
-
let C = (N = p(
|
|
3404
|
-
|
|
3405
|
-
const c = p(v.value), t = c == null ? void 0 : c.filter((n, u) => (u === Q && (n.name =
|
|
3403
|
+
let C = (N = p(U.value)) == null ? void 0 : N.map((n, u) => (Q === u && (n.content = !1), n));
|
|
3404
|
+
U.value = C;
|
|
3405
|
+
const c = p(v.value), t = c == null ? void 0 : c.filter((n, u) => (u === Q && (n.name = j), n));
|
|
3406
3406
|
L.setOriginalData(t), L.setItemData(t);
|
|
3407
3407
|
};
|
|
3408
3408
|
Ee(
|
|
3409
3409
|
() => v.value,
|
|
3410
3410
|
() => {
|
|
3411
|
-
var Q,
|
|
3412
|
-
!v.value || ((Q = v.value) == null ? void 0 : Q.length) === 0 ? m.value = [] : m.value = (
|
|
3411
|
+
var Q, j, C;
|
|
3412
|
+
!v.value || ((Q = v.value) == null ? void 0 : Q.length) === 0 ? m.value = [] : m.value = (j = p(v.value)) == null ? void 0 : j.filter((c) => (c == null ? void 0 : c.comp) !== "methodButton"), I.value = m.value, U.value = (C = p(I.value)) == null ? void 0 : C.map((c, t) => ({
|
|
3413
3413
|
id: t,
|
|
3414
3414
|
content: !1
|
|
3415
3415
|
}));
|
|
3416
3416
|
},
|
|
3417
3417
|
{ deep: !0, immediate: !0 }
|
|
3418
3418
|
);
|
|
3419
|
-
const E = (Q) => sl(Q), ae = (Q,
|
|
3419
|
+
const E = (Q) => sl(Q), ae = (Q, j, C) => {
|
|
3420
3420
|
var t, N;
|
|
3421
3421
|
if (!Q) return;
|
|
3422
3422
|
let c = p(v.value);
|
|
3423
|
-
c = (t = c == null ? void 0 : c.map((n, u) => (u === C && (n.compData = Q), n))) == null ? void 0 : t.filter((n) => (n == null ? void 0 : n.comp) !== "methodButton"),
|
|
3423
|
+
c = (t = c == null ? void 0 : c.map((n, u) => (u === C && (n.compData = Q), n))) == null ? void 0 : t.filter((n) => (n == null ? void 0 : n.comp) !== "methodButton"), U.value = (N = p(c)) == null ? void 0 : N.map((n, u) => ({
|
|
3424
3424
|
id: u,
|
|
3425
3425
|
content: !1
|
|
3426
3426
|
})), L.setOriginalData(c), L.setItemData(c);
|
|
@@ -3430,18 +3430,18 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3430
3430
|
cancelButtonText: "取消",
|
|
3431
3431
|
type: "warning"
|
|
3432
3432
|
}).then(() => {
|
|
3433
|
-
const
|
|
3434
|
-
L.setOriginalData(C), L.setItemData(C),
|
|
3433
|
+
const j = p(v.value), C = j == null ? void 0 : j.filter((c, t) => t !== Q);
|
|
3434
|
+
L.setOriginalData(C), L.setItemData(C), Ue({
|
|
3435
3435
|
type: "success",
|
|
3436
3436
|
message: "删除成功"
|
|
3437
3437
|
});
|
|
3438
3438
|
}).catch(() => {
|
|
3439
3439
|
});
|
|
3440
3440
|
};
|
|
3441
|
-
return (Q,
|
|
3441
|
+
return (Q, j) => {
|
|
3442
3442
|
const C = ye("svg-icon");
|
|
3443
3443
|
return S(), X("div", co, [
|
|
3444
|
-
|
|
3444
|
+
j[1] || (j[1] = f("div", { class: "fill-operate" }, se("操作栏"), -1)),
|
|
3445
3445
|
f("div", po, [
|
|
3446
3446
|
B(Kl, {
|
|
3447
3447
|
class: "collapse-content",
|
|
@@ -3452,20 +3452,20 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3452
3452
|
return [
|
|
3453
3453
|
f("div", vo, [
|
|
3454
3454
|
f("div", fo, [
|
|
3455
|
-
(n = (N =
|
|
3455
|
+
(n = (N = U.value) == null ? void 0 : N.find((a) => a.id === t)) != null && n.content ? Pe("", !0) : (S(), X("div", {
|
|
3456
3456
|
key: 0,
|
|
3457
3457
|
class: "collapse-title",
|
|
3458
3458
|
style: Rl({ marginRight: c.name && c.name !== "" ? "8px" : "0px" })
|
|
3459
3459
|
}, se(c.name), 5)),
|
|
3460
|
-
(s = (u =
|
|
3461
|
-
B(
|
|
3460
|
+
(s = (u = U.value) == null ? void 0 : u.find((a) => a.id === t)) != null && s.content ? (S(), X("div", mo, [
|
|
3461
|
+
B(jl, {
|
|
3462
3462
|
modelValue: c.name,
|
|
3463
3463
|
"onUpdate:modelValue": (a) => c.name = a,
|
|
3464
|
-
onClick:
|
|
3464
|
+
onClick: j[0] || (j[0] = Qe(() => {
|
|
3465
3465
|
}, ["stop"]))
|
|
3466
3466
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
3467
3467
|
])) : Pe("", !0),
|
|
3468
|
-
(d = (i =
|
|
3468
|
+
(d = (i = U.value) == null ? void 0 : i.find((a) => a.id === t)) != null && d.content ? Pe("", !0) : (S(), X("div", {
|
|
3469
3469
|
key: 2,
|
|
3470
3470
|
onClick: Qe((a) => b(t), ["stop"]),
|
|
3471
3471
|
class: "icon-content"
|
|
@@ -3477,7 +3477,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3477
3477
|
], 8, ho))
|
|
3478
3478
|
]),
|
|
3479
3479
|
f("div", yo, [
|
|
3480
|
-
(le = (G =
|
|
3480
|
+
(le = (G = U.value) == null ? void 0 : G.find((a) => a.id === t)) != null && le.content ? (S(), X("div", bo, [
|
|
3481
3481
|
B(C, {
|
|
3482
3482
|
name: "Cancel",
|
|
3483
3483
|
style: { width: "16px", height: "16px" },
|
|
@@ -3491,7 +3491,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3491
3491
|
class: "icon-content"
|
|
3492
3492
|
}, null, 8, ["onClick"])
|
|
3493
3493
|
])) : Pe("", !0),
|
|
3494
|
-
(pe = (de =
|
|
3494
|
+
(pe = (de = U.value) == null ? void 0 : de.find((a) => a.id === t)) != null && pe.content ? Pe("", !0) : (S(), X("div", {
|
|
3495
3495
|
key: 1,
|
|
3496
3496
|
onClick: Qe((a) => H(t), ["stop"]),
|
|
3497
3497
|
class: "icon-content"
|
|
@@ -3529,7 +3529,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3529
3529
|
}, xo = { style: { display: "flex" } }, Do = {
|
|
3530
3530
|
__name: "modelShow",
|
|
3531
3531
|
setup(k) {
|
|
3532
|
-
const L = ll(
|
|
3532
|
+
const L = ll(je), { itemData: v } = Je(L), o = F([]);
|
|
3533
3533
|
Ee(
|
|
3534
3534
|
() => v.value,
|
|
3535
3535
|
() => {
|
|
@@ -3539,7 +3539,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3539
3539
|
{ deep: !0, immediate: !0 }
|
|
3540
3540
|
);
|
|
3541
3541
|
const m = (I) => sl(I);
|
|
3542
|
-
return (I,
|
|
3542
|
+
return (I, U) => {
|
|
3543
3543
|
var b;
|
|
3544
3544
|
return ((b = o.value) == null ? void 0 : b.length) > 0 ? (S(), X("div", wo, [
|
|
3545
3545
|
(S(!0), X(be, null, _e(o.value, ($, O) => (S(), X("div", {
|
|
@@ -3559,7 +3559,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3559
3559
|
}, Io = /* @__PURE__ */ Te(Do, [["__scopeId", "data-v-3f3e863e"]]), To = { class: "tabs-header" }, $o = { class: "tabs-list" }, Eo = { class: "tab-name" }, Bo = { class: "tab-actions" }, Fo = ["onClick"], Ao = ["onClick"], So = ["onClick"], Lo = { class: "model-operate" }, Oo = {
|
|
3560
3560
|
class: "model-select",
|
|
3561
3561
|
style: { display: "unset" }
|
|
3562
|
-
}, Ro = { class: "existing-components" }, Vo = { class: "component-list" }, No = ["onClick"], Po = { class: "component-info" },
|
|
3562
|
+
}, Ro = { class: "existing-components" }, Vo = { class: "component-list" }, No = ["onClick"], Po = { class: "component-info" }, Uo = { class: "component-type" }, jo = { class: "component-name" }, Wo = { class: "model-fill" }, zo = {
|
|
3563
3563
|
__name: "operate",
|
|
3564
3564
|
props: {
|
|
3565
3565
|
itemContents: {
|
|
@@ -3569,10 +3569,10 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3569
3569
|
},
|
|
3570
3570
|
emits: ["change"],
|
|
3571
3571
|
setup(k, { emit: L }) {
|
|
3572
|
-
const v = k, o = L, m = F([]), I = F(!1),
|
|
3573
|
-
|
|
3572
|
+
const v = k, o = L, m = F([]), I = F(!1), U = F(""), b = F({ title: "" }), $ = F(-1), O = F(!1), E = F(-1), ae = F(/* @__PURE__ */ new Map()), H = F(null), Q = ll(je), { itemData: j } = Je(Q), C = () => {
|
|
3573
|
+
U.value = "新增标签页", b.value.title = "", $.value = -1, I.value = !0;
|
|
3574
3574
|
}, c = (V) => {
|
|
3575
|
-
|
|
3575
|
+
U.value = "修改标签页", b.value.title = m.value[V].title, $.value = V, I.value = !0;
|
|
3576
3576
|
}, t = (V) => {
|
|
3577
3577
|
const l = u(V);
|
|
3578
3578
|
ae.value.delete(l), m.value.splice(V, 1), g();
|
|
@@ -3598,11 +3598,11 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3598
3598
|
var oe;
|
|
3599
3599
|
E.value = V;
|
|
3600
3600
|
const l = u(V);
|
|
3601
|
-
H.value = p(
|
|
3601
|
+
H.value = p(j.value);
|
|
3602
3602
|
let x = ae.value.get(l);
|
|
3603
3603
|
!x && ((oe = m.value[V].children) == null ? void 0 : oe.length) > 0 && (x = le(m.value[V].children)), x ? Q.setItemData(p(x)) : Q.setItemData([]), O.value = !0;
|
|
3604
3604
|
}, i = ol(() => {
|
|
3605
|
-
const V = bl(
|
|
3605
|
+
const V = bl(je), l = Je(V).itemData.value;
|
|
3606
3606
|
return console.log("可用组件数据", l), !l || !Array.isArray(l) ? [] : l.filter((x) => {
|
|
3607
3607
|
var oe;
|
|
3608
3608
|
if (x.comp === "Tabs" && E.value >= 0) {
|
|
@@ -3631,7 +3631,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3631
3631
|
D.id = n();
|
|
3632
3632
|
});
|
|
3633
3633
|
}));
|
|
3634
|
-
const oe = p(
|
|
3634
|
+
const oe = p(j.value);
|
|
3635
3635
|
oe.push(x), Q.setItemData(oe);
|
|
3636
3636
|
} catch (x) {
|
|
3637
3637
|
console.error("添加组件失败:", x);
|
|
@@ -3674,7 +3674,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3674
3674
|
}, pe = (V) => [], a = () => {
|
|
3675
3675
|
if (E.value >= 0 && E.value < m.value.length) {
|
|
3676
3676
|
const V = u(E.value);
|
|
3677
|
-
ae.value.set(V, p(
|
|
3677
|
+
ae.value.set(V, p(j.value)), m.value[E.value].children = w(j.value), console.log("保存后的数据", w(j.value));
|
|
3678
3678
|
}
|
|
3679
3679
|
O.value = !1, E.value = -1, H.value = null, g();
|
|
3680
3680
|
}, _ = () => {
|
|
@@ -3829,7 +3829,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3829
3829
|
B(Oe, {
|
|
3830
3830
|
modelValue: I.value,
|
|
3831
3831
|
"onUpdate:modelValue": l[2] || (l[2] = (K) => I.value = K),
|
|
3832
|
-
title:
|
|
3832
|
+
title: U.value,
|
|
3833
3833
|
onBeforeDestroy: l[3] || (l[3] = (K) => I.value = !1)
|
|
3834
3834
|
}, {
|
|
3835
3835
|
footer: q(() => [
|
|
@@ -3890,8 +3890,8 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3890
3890
|
onClick: (W) => G(K)
|
|
3891
3891
|
}, [
|
|
3892
3892
|
f("div", Po, [
|
|
3893
|
-
f("span",
|
|
3894
|
-
f("span",
|
|
3893
|
+
f("span", Uo, se(d(K.comp)), 1),
|
|
3894
|
+
f("span", jo, se(K.name), 1)
|
|
3895
3895
|
]),
|
|
3896
3896
|
l[7] || (l[7] = f("button", { class: "add-btn" }, "添加", -1))
|
|
3897
3897
|
], 8, No))), 128))
|
|
@@ -3980,7 +3980,7 @@ const jn = /* @__PURE__ */ Te(Nn, [["render", Pn]]), Un = { class: "module conte
|
|
|
3980
3980
|
TIMELINEOPERATE: Dn,
|
|
3981
3981
|
FORMTOPOPERATE: vl,
|
|
3982
3982
|
SIGNATUREOPERATE: Jn,
|
|
3983
|
-
AVATARUPLOADOPERATE:
|
|
3983
|
+
AVATARUPLOADOPERATE: Un,
|
|
3984
3984
|
TABS: oo,
|
|
3985
3985
|
TABSOPERATE: Mo
|
|
3986
3986
|
// 添加其他组件...
|