ss-component-new 1.1.321 → 1.1.323
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/{array-B7a7NPJU.cjs → array-BLy6dTxS.cjs} +1 -1
- package/dist/{array-C-FBt-w6.js → array-IX9IUh9m.js} +2 -2
- package/dist/{cloneDeep-BCBo2P7c.js → cloneDeep-BqdcURUT.js} +1 -1
- package/dist/{cloneDeep-Dfe27GGP.cjs → cloneDeep-D0K80DHL.cjs} +1 -1
- package/dist/{index-9GphTnn3.js → index-36oaAwsU.js} +3 -3
- package/dist/{index-BhRm0szn.cjs → index-5sRlP80t.cjs} +1 -1
- package/dist/{index-CO1MoNNj.cjs → index-B6ATOi47.cjs} +1 -1
- package/dist/{index-DGQdhDlx.cjs → index-B8KbB-8X.cjs} +1 -1
- package/dist/{index-CXJxkaVz.cjs → index-BBKV22D3.cjs} +1 -1
- package/dist/{index-gv4Kx45I.cjs → index-BE1hUO7e.cjs} +1 -1
- package/dist/{index-C_ALukSb.js → index-BaKyIyFu.js} +5 -5
- package/dist/{index-DSmYcj7E.cjs → index-BcG_v5yb.cjs} +1 -1
- package/dist/{index-GQAcezLl.cjs → index-BfuuBne1.cjs} +1 -1
- package/dist/{index-B9ylWbtH.cjs → index-BiVixJw_.cjs} +1 -1
- package/dist/{index-B1pGYX6g.js → index-BmiiAmhb.js} +3 -3
- package/dist/{index-DtKo1EwI.cjs → index-C36zJQzt.cjs} +1 -1
- package/dist/index-C7Vg0k3i.cjs +11 -0
- package/dist/{index-CnyOW-3P.js → index-C8yOFDtt.js} +4 -4
- package/dist/{index-Ca2rHt6C.js → index-C9-zuyZw.js} +1 -1
- package/dist/{index-B2enzaE2.js → index-CAxDd3ri.js} +3 -3
- package/dist/{index-6JoL18KU.js → index-CC91JpVJ.js} +6 -6
- package/dist/{index-C9giOxZg.js → index-CE4Ldlt4.js} +6 -6
- package/dist/{index-CksMAtZu.cjs → index-CKxM9pon.cjs} +161 -161
- package/dist/{index-DFnqEKzJ.cjs → index-CLKLfkQ-.cjs} +1 -1
- package/dist/{index-CymFMSAS.js → index-CUIMPhPc.js} +9 -9
- package/dist/{index-CvyP7SN4.cjs → index-CZYblYFD.cjs} +1 -1
- package/dist/{index-BQg0VVq4.cjs → index-CZdLtZcH.cjs} +1 -1
- package/dist/{index-ZC9w1ZOi.cjs → index-C_ZX-bzU.cjs} +1 -1
- package/dist/{index-ETZte82B.js → index-CaPN8dJT.js} +5 -5
- package/dist/{index-DWRuDpPB.js → index-CarfPd9p.js} +1 -1
- package/dist/{index-BW8fHFr3.cjs → index-CblYOFsr.cjs} +1 -1
- package/dist/{index-BeJ-4T1d.js → index-Ch8uioxd.js} +135 -135
- package/dist/{index-B8R_1YcJ.cjs → index-CmTmex4y.cjs} +1 -1
- package/dist/{index-IynRqxzh.js → index-CnTxqSXI.js} +9 -9
- package/dist/{index-DH_8-yVF.cjs → index-D1ukr28O.cjs} +1 -1
- package/dist/{index-BYj7719b.js → index-D2nAMrAc.js} +4 -4
- package/dist/{index-DJCo-V_0.js → index-D6RFjfH4.js} +3 -3
- package/dist/{index-DzbEZsq7.cjs → index-DI9uku5W.cjs} +1 -1
- package/dist/{index-Cum9FmiL.js → index-DJlER4fN.js} +7 -7
- package/dist/{index-41WzW0HQ.js → index-DJqrnO55.js} +8 -8
- package/dist/{index-BK4WawKM.cjs → index-DN44r1Lc.cjs} +1 -1
- package/dist/{index-Bgho40P2.cjs → index-DQbr9JoZ.cjs} +1 -1
- package/dist/index-DVeQfmPl.cjs +1 -0
- package/dist/{index-56_km5fJ.cjs → index-DYMPqnBp.cjs} +1 -1
- package/dist/{index-DYKwo9dQ.cjs → index-DZGYp4gi.cjs} +1 -1
- package/dist/{index-bag5UhkN.js → index-DhvBU8l8.js} +6 -6
- package/dist/{index-Yb-y-7vb.js → index-Dmsd8tta.js} +5 -5
- package/dist/{index-rsQ55kHW.cjs → index-KZSHfIo1.cjs} +1 -1
- package/dist/{index-CLaDIaSW.cjs → index-YidUO3nq.cjs} +1 -1
- package/dist/{index-zKJ_fhRb.js → index-f1XZVXrB.js} +1 -1
- package/dist/{index-yAPzGZyB.js → index-iUwOBT-E.js} +3 -3
- package/dist/{index-BCoI86GW.js → index-iu88OSnV.js} +8 -8
- package/dist/index-j85Wo6ug.js +5632 -0
- package/dist/{index-a2ldY1f-.js → index-nK0G37Ty.js} +188 -175
- package/dist/{index-XAfW8sqN.js → index-sSXW5KEi.js} +8 -8
- package/dist/{index-B31X029_.js → index-uJYgijzI.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dhlx6gOT.cjs → index.vue_vue_type_script_setup_true_lang-CSDPievE.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CI6HPiSn.js → index.vue_vue_type_script_setup_true_lang-DNlJJ5Is.js} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-CrPULfrx.js +1178 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_62633fa4_lang-DBaHLZoH.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CUJRJXLZ.js → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-B0-II5N_.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BRb9nIeN.cjs → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-WPM2Y7Cd.cjs} +1 -1
- package/dist/{login-DFyLmZjC.js → login-CgdIhuaW.js} +2 -2
- package/dist/{login-DI3Yef8J.cjs → login-DRDRlC29.cjs} +1 -1
- package/dist/{main-KRl16v8X.js → main-B5beLiR4.js} +7 -7
- package/dist/{main-MMs-Ocq5.cjs → main-DzXLZgrk.cjs} +1 -1
- package/dist/{menu-9axm5sPU.js → menu-BH9Zn1jp.js} +1 -1
- package/dist/{menu-ClaTWnGZ.cjs → menu-Dj4S8GRz.cjs} +1 -1
- package/dist/model/final.pcd +19333 -0
- package/dist/model/target.pcd +29276 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +7 -7
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/package.json +1 -1
- package/public/model/final.pcd +19333 -0
- package/public/model/target.pcd +29276 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-Bs0aQvhY.cjs +0 -1
- package/dist/index-Coyk-8_r.js +0 -5421
- package/dist/index-aBU24Yq6.cjs +0 -9
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-BRkLNqo1.js +0 -1091
- package/dist/index.vue_vue_type_style_index_0_scoped_63a4bd9d_lang-C-PKZjBI.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref as E, watch as we, createElementBlock as J, openBlock as L, createVNode as M, resolveComponent as be, Fragment as me, renderList as ye, createElementVNode as u, createCommentVNode as Ae, toDisplayString as Z, withCtx as se, createBlock as Ce, defineComponent as ze, reactive as el, createTextVNode as
|
|
3
|
-
import { p as Se } from "./index-
|
|
4
|
-
import { F as sl, b as De, s as Ie, g as $l, c as dl, d as _e, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-
|
|
5
|
-
import { f as vl, s as
|
|
1
|
+
import { ah as Cl, aj as tl, u as cl, aq as gl, av as kl, aw as _l } from "./index-nK0G37Ty.js";
|
|
2
|
+
import { ref as E, watch as we, createElementBlock as J, openBlock as L, createVNode as M, resolveComponent as be, Fragment as me, renderList as ye, createElementVNode as u, createCommentVNode as Ae, toDisplayString as Z, withCtx as se, createBlock as Ce, defineComponent as ze, reactive as el, createTextVNode as Ue, resolveDynamicComponent as Ge, computed as ll, renderSlot as He, createSlots as wl, mergeProps as xl, unref as Dl, normalizeStyle as Il, withModifiers as Ke } from "vue";
|
|
3
|
+
import { p as Se } from "./index-uJYgijzI.js";
|
|
4
|
+
import { F as sl, b as De, s as Ie, g as $l, c as dl, d as _e, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-D2nAMrAc.js";
|
|
5
|
+
import { f as vl, s as Pe, E as Re, g as il, b as Fl } from "./menu-BH9Zn1jp.js";
|
|
6
6
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
import { c as p } from "./cloneDeep-
|
|
8
|
-
import { E as Ne } from "./index-
|
|
9
|
-
import { s as Al, a as Ll } from "./index-
|
|
7
|
+
import { c as p } from "./cloneDeep-BqdcURUT.js";
|
|
8
|
+
import { E as Ne } from "./index-CAxDd3ri.js";
|
|
9
|
+
import { s as Al, a as Ll } from "./index-iUwOBT-E.js";
|
|
10
10
|
import Sl from "./index-CZtXRS3l.js";
|
|
11
11
|
const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
12
12
|
state: () => ({
|
|
@@ -38,8 +38,8 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
38
38
|
emits: ["change", "contentChange"],
|
|
39
39
|
setup(b, { emit: S }) {
|
|
40
40
|
const v = b, l = S, h = E([]), x = E(!1), N = E([]), m = Cl(Se), $ = Ol(Se), D = E(!1), w = E(), G = (R) => {
|
|
41
|
-
var
|
|
42
|
-
const T = (n = (
|
|
41
|
+
var U, n, i, e;
|
|
42
|
+
const T = (n = (U = p(v.itemData)) == null ? void 0 : U.find((s) => (s == null ? void 0 : s.key) === "formContent")) == null ? void 0 : n.contents, V = p(R.content);
|
|
43
43
|
let c = {};
|
|
44
44
|
V && ((i = Object.values(V)) == null ? void 0 : i.length) > 0 && ((e = Object.values(V)) == null || e.forEach((s, k) => {
|
|
45
45
|
c[T[k].key] = s;
|
|
@@ -51,23 +51,23 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
51
51
|
};
|
|
52
52
|
l("change", t);
|
|
53
53
|
}, O = (R) => {
|
|
54
|
-
var
|
|
54
|
+
var U, n, i;
|
|
55
55
|
if (!R) return;
|
|
56
56
|
const T = p(v.itemData), V = T == null ? void 0 : T.map((e) => {
|
|
57
57
|
var s;
|
|
58
58
|
return (e == null ? void 0 : e.key) === "formContent" && ((s = e.contents) == null || s.map((k, W) => {
|
|
59
|
-
var Q, pe, de, a, g, z, A,
|
|
59
|
+
var Q, pe, de, a, g, z, A, P, ae, ce, _, B, C, r, H, ie, F;
|
|
60
60
|
return k.type = k != null && k.type ? k.type : (a = (de = (pe = (Q = k == null ? void 0 : k.key) == null ? void 0 : Q.split("$")) == null ? void 0 : pe[1]) == null ? void 0 : de.split("(")) != null && a[0] ? (z = (g = sl) == null ? void 0 : g.find((q) => {
|
|
61
61
|
var j, re, oe, ue;
|
|
62
62
|
return (q == null ? void 0 : q.key) === ((ue = (oe = (re = (j = k == null ? void 0 : k.key) == null ? void 0 : j.split("$")) == null ? void 0 : re[1]) == null ? void 0 : oe.split("(")) == null ? void 0 : ue[0]);
|
|
63
|
-
})) == null ? void 0 : z.value : "Input", k.options = k != null && k.options ? k.options : ((ae = (
|
|
63
|
+
})) == null ? void 0 : z.value : "Input", k.options = k != null && k.options ? k.options : ((ae = (P = (A = k == null ? void 0 : k.key) == null ? void 0 : A.split("$")) == null ? void 0 : P[1]) == null ? void 0 : ae.length) > 0 ? (C = (B = Vl((_ = (ce = k == null ? void 0 : k.key) == null ? void 0 : ce.split("$")) == null ? void 0 : _[1])) == null ? void 0 : B.split(",")) == null ? void 0 : C.map((q) => ({
|
|
64
64
|
label: q,
|
|
65
65
|
value: q
|
|
66
66
|
})) : [], (r = k == null ? void 0 : k.key) != null && r.includes("$") && (k.key = (ie = (H = k == null ? void 0 : k.key) == null ? void 0 : H.split("$")) == null ? void 0 : ie[0]), k.value = (F = Object.values(R)) == null ? void 0 : F[W], k;
|
|
67
67
|
})), e;
|
|
68
68
|
});
|
|
69
69
|
let c = [], t = [];
|
|
70
|
-
if ((n = p((
|
|
70
|
+
if ((n = p((U = V == null ? void 0 : V.find((e) => (e == null ? void 0 : e.key) === "formContent")) == null ? void 0 : U.contents)) == null || n.forEach((e) => {
|
|
71
71
|
var s;
|
|
72
72
|
Array.isArray(e == null ? void 0 : e.value) && ((s = e == null ? void 0 : e.value) != null && s.find((k) => {
|
|
73
73
|
var W;
|
|
@@ -104,10 +104,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
104
104
|
return we(
|
|
105
105
|
() => v.itemData,
|
|
106
106
|
async () => {
|
|
107
|
-
var
|
|
108
|
-
const R = (
|
|
107
|
+
var U, n, i, e, s, k, W, Q, pe, de, a, g, z, A;
|
|
108
|
+
const R = (U = p(v.itemData)) == null ? void 0 : U.find((P) => (P == null ? void 0 : P.key) === "formContent"), T = (n = p(v.itemData)) == null ? void 0 : n.find((P) => (P == null ? void 0 : P.key) === "formButton"), V = (i = p(v.itemData)) == null ? void 0 : i.find((P) => (P == null ? void 0 : P.key) === "formFlex"), c = (e = p(v.itemData)) == null ? void 0 : e.find((P) => (P == null ? void 0 : P.key) === "formWrap"), t = (s = p(v.itemData)) == null ? void 0 : s.find((P) => (P == null ? void 0 : P.key) === "enableWrap");
|
|
109
109
|
if ((c == null ? void 0 : c.contents) === "纵向" ? x.value = !1 : x.value = !0, D.value = (t == null ? void 0 : t.contents) === void 0 ? !1 : t == null ? void 0 : t.contents, w.value = typeof (V == null ? void 0 : V.contents) != "boolean" ? !(!(V != null && V.contents) === "" || ((k = V == null ? void 0 : V.contents) == null ? void 0 : k.toUpperCase()) === "VERTICAL") : V == null ? void 0 : V.contents, ((W = R == null ? void 0 : R.contents) == null ? void 0 : W.length) > 0 && Array.isArray(R == null ? void 0 : R.contents)) {
|
|
110
|
-
const
|
|
110
|
+
const P = [];
|
|
111
111
|
await ((Q = R == null ? void 0 : R.contents) == null ? void 0 : Q.forEach(async (r, H) => {
|
|
112
112
|
var ie, F, q, j, re, oe, ue, ke, ve, We, Me, je;
|
|
113
113
|
if ((r == null ? void 0 : r.label) !== "") {
|
|
@@ -123,7 +123,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
123
123
|
r != null && r.contents && !Array.isArray(r == null ? void 0 : r.contents) && (f = (Me = (We = r == null ? void 0 : r.contents) == null ? void 0 : We.split(",")) == null ? void 0 : Me.map((X) => ({
|
|
124
124
|
label: X,
|
|
125
125
|
value: X
|
|
126
|
-
}))),
|
|
126
|
+
}))), P.push({
|
|
127
127
|
label: o ?? "",
|
|
128
128
|
name: "t" + H,
|
|
129
129
|
type: d === "" ? "Input" : d,
|
|
@@ -132,15 +132,15 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
132
132
|
contents: (f == null ? void 0 : f.length) > 0 ? f : y ?? [],
|
|
133
133
|
width: (r == null ? void 0 : r.width) ?? 1,
|
|
134
134
|
config: r == null ? void 0 : r.config,
|
|
135
|
-
optionUrl: r
|
|
135
|
+
optionUrl: (r == null ? void 0 : r.optionUrl) ?? r
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
}));
|
|
139
|
-
const ae = (pe = p(
|
|
139
|
+
const ae = (pe = p(P)) == null ? void 0 : pe.map((r) => r.value);
|
|
140
140
|
let ce = "";
|
|
141
141
|
ae == null || ae.forEach((r) => {
|
|
142
142
|
r !== "" && r !== void 0 && (ce = ce === "" ? r : ce + "/" + r);
|
|
143
|
-
}), m.setSelectArray(ae), m.setSelectString(ce), h.value =
|
|
143
|
+
}), m.setSelectArray(ae), m.setSelectString(ce), h.value = P;
|
|
144
144
|
let _ = [], B = [];
|
|
145
145
|
if ((de = p(h.value)) == null || de.forEach((r) => {
|
|
146
146
|
var H;
|
|
@@ -184,15 +184,15 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
184
184
|
} else
|
|
185
185
|
h.value = [];
|
|
186
186
|
if (((z = T == null ? void 0 : T.contents) == null ? void 0 : z.length) > 0) {
|
|
187
|
-
const
|
|
187
|
+
const P = [];
|
|
188
188
|
(A = T == null ? void 0 : T.contents) == null || A.forEach((ae, ce) => {
|
|
189
|
-
(ae == null ? void 0 : ae.label) !== "" &&
|
|
189
|
+
(ae == null ? void 0 : ae.label) !== "" && P.push({
|
|
190
190
|
label: (ae == null ? void 0 : ae.label) ?? "",
|
|
191
191
|
id: (ae == null ? void 0 : ae.id) ?? ce,
|
|
192
192
|
type: (ae == null ? void 0 : ae.type) ?? "",
|
|
193
193
|
background: ae == null ? void 0 : ae.background
|
|
194
194
|
});
|
|
195
|
-
}), N.value =
|
|
195
|
+
}), N.value = P;
|
|
196
196
|
} else
|
|
197
197
|
N.value = [];
|
|
198
198
|
},
|
|
@@ -210,7 +210,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
210
210
|
}, null, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "isButtonRow"])
|
|
211
211
|
]));
|
|
212
212
|
}
|
|
213
|
-
}, ul = /* @__PURE__ */ ge(Nl, [["__scopeId", "data-v-
|
|
213
|
+
}, ul = /* @__PURE__ */ ge(Nl, [["__scopeId", "data-v-e1e5e057"]]), Qe = E(0), pl = (b) => {
|
|
214
214
|
var S;
|
|
215
215
|
return !b || (b == null ? void 0 : b.length) === 0 ? [] : (S = p(b)) == null ? void 0 : S.map((l) => (Qe.value++, l = {
|
|
216
216
|
label: (l == null ? void 0 : l.label) ?? "",
|
|
@@ -226,7 +226,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
226
226
|
id: (l == null ? void 0 : l.id) ?? Qe.value,
|
|
227
227
|
children: pl(l == null ? void 0 : l.children)
|
|
228
228
|
}, l));
|
|
229
|
-
},
|
|
229
|
+
}, Ul = (b) => {
|
|
230
230
|
var v;
|
|
231
231
|
return (v = p(b)) == null ? void 0 : v.map((l) => (Qe.value++, l = {
|
|
232
232
|
label: (l == null ? void 0 : l.label) ?? "",
|
|
@@ -305,7 +305,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
305
305
|
label: "是否固定列",
|
|
306
306
|
type: "Switch"
|
|
307
307
|
}
|
|
308
|
-
],
|
|
308
|
+
], Pl = [
|
|
309
309
|
{
|
|
310
310
|
label: "查看",
|
|
311
311
|
value: "view"
|
|
@@ -354,7 +354,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
354
354
|
key: "type",
|
|
355
355
|
label: "类型",
|
|
356
356
|
type: "Select",
|
|
357
|
-
options:
|
|
357
|
+
options: Pl
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
360
|
key: "textColor",
|
|
@@ -368,7 +368,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
368
368
|
},
|
|
369
369
|
emits: ["fixChange", "deleteChange"],
|
|
370
370
|
setup(b, { emit: S }) {
|
|
371
|
-
const v = b, l = S, h = E(!1), x = E(""), N = tl(Se), { tableIndex: m } =
|
|
371
|
+
const v = b, l = S, h = E(!1), x = E(""), N = tl(Se), { tableIndex: m } = Pe(N);
|
|
372
372
|
E(0);
|
|
373
373
|
const $ = E(""), D = E([]), w = E([]), G = (n) => {
|
|
374
374
|
var e;
|
|
@@ -436,7 +436,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
436
436
|
$.value = "", D.value = [], w.value = [];
|
|
437
437
|
}, t = () => {
|
|
438
438
|
h.value = !1, $.value = "", x.value = "", D.value = [], w.value = [];
|
|
439
|
-
},
|
|
439
|
+
}, U = (n) => {
|
|
440
440
|
Ne.confirm("是否确认要删除", "", {
|
|
441
441
|
confirmButtonText: "确认",
|
|
442
442
|
cancelButtonText: "取消",
|
|
@@ -474,7 +474,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
474
474
|
name: "ChildDelete",
|
|
475
475
|
class: "svg-icon-content",
|
|
476
476
|
style: { width: "24px", height: "24px" },
|
|
477
|
-
onClick: (W) =>
|
|
477
|
+
onClick: (W) => U(s)
|
|
478
478
|
}, null, 8, ["onClick"])
|
|
479
479
|
])
|
|
480
480
|
]),
|
|
@@ -525,7 +525,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
525
525
|
},
|
|
526
526
|
emits: ["fixChange", "deleteChange"],
|
|
527
527
|
setup(b, { emit: S }) {
|
|
528
|
-
const v = b, l = S, h = E(!1), x = E(""), N = tl(Se), { tableIndex: m } =
|
|
528
|
+
const v = b, l = S, h = E(!1), x = E(""), N = tl(Se), { tableIndex: m } = Pe(N), $ = E(""), D = E([]), w = E([]), G = (n) => {
|
|
529
529
|
l("fixChange", p(n));
|
|
530
530
|
}, O = (n) => {
|
|
531
531
|
var e;
|
|
@@ -603,7 +603,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
603
603
|
}
|
|
604
604
|
).catch(() => {
|
|
605
605
|
});
|
|
606
|
-
},
|
|
606
|
+
}, U = (n) => {
|
|
607
607
|
l("deleteChange", n);
|
|
608
608
|
};
|
|
609
609
|
return (n, i) => {
|
|
@@ -636,7 +636,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
636
636
|
s != null && s.children && s.children.length > 0 ? (L(), J("div", aa, [
|
|
637
637
|
M(Ql, {
|
|
638
638
|
tableChildContents: s == null ? void 0 : s.children,
|
|
639
|
-
onDeleteChange:
|
|
639
|
+
onDeleteChange: U,
|
|
640
640
|
onFixChange: G
|
|
641
641
|
}, null, 8, ["tableChildContents"])
|
|
642
642
|
])) : Ae("", !0)
|
|
@@ -687,8 +687,8 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
687
687
|
},
|
|
688
688
|
emits: ["change"],
|
|
689
689
|
setup(b, { emit: S }) {
|
|
690
|
-
const v = b, l = S, h = E([]), x = E(!1), N = E(!1), m = E([]), $ = E(!1), D = E([]), w = E(!1), G = E([]), O = E(""), R = E(""), T = E([]), V = E([]), c = E([]), t = E([]),
|
|
691
|
-
|
|
690
|
+
const v = b, l = S, h = E([]), x = E(!1), N = E(!1), m = E([]), $ = E(!1), D = E([]), w = E(!1), G = E([]), O = E(""), R = E(""), T = E([]), V = E([]), c = E([]), t = E([]), U = E(!1), n = E([]), i = E([]), e = E(0), s = E([]), k = E([]), W = E([]), Q = () => {
|
|
691
|
+
U.value = !0;
|
|
692
692
|
let o = [];
|
|
693
693
|
Ve == null || Ve.forEach((d) => {
|
|
694
694
|
e.value++, o.push({
|
|
@@ -791,8 +791,8 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
791
791
|
key: "tableToForm",
|
|
792
792
|
contents: W.value
|
|
793
793
|
}), l("change", y);
|
|
794
|
-
},
|
|
795
|
-
|
|
794
|
+
}, P = (o) => {
|
|
795
|
+
U.value = !0;
|
|
796
796
|
let d = [];
|
|
797
797
|
Ve == null || Ve.forEach((y) => {
|
|
798
798
|
e.value++, d.push({
|
|
@@ -845,7 +845,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
845
845
|
let K = p(V.value) ?? [];
|
|
846
846
|
K.push(o), V.value = K;
|
|
847
847
|
}
|
|
848
|
-
|
|
848
|
+
U.value = !1, O.value = "";
|
|
849
849
|
let d = p(v.originalItemContents);
|
|
850
850
|
(ee = p(v.originalItemContents)) != null && ee.find((K) => (K == null ? void 0 : K.key) === "extraButton") ? d = (he = p(v.originalItemContents)) == null ? void 0 : he.map((K) => ((K == null ? void 0 : K.key) === "extraButton" && (K.contents = V.value), K)) : d.push({
|
|
851
851
|
key: "extraButton",
|
|
@@ -855,7 +855,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
855
855
|
let d = p(i.value);
|
|
856
856
|
d = d == null ? void 0 : d.map((y) => (y.children || (y.value = o == null ? void 0 : o[y.name]), y)), i.value = d;
|
|
857
857
|
}, B = () => {
|
|
858
|
-
|
|
858
|
+
U.value = !1, n.value = [], O.value = "";
|
|
859
859
|
}, C = (o) => {
|
|
860
860
|
$.value = !0;
|
|
861
861
|
let d = [];
|
|
@@ -1026,7 +1026,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1026
1026
|
() => {
|
|
1027
1027
|
var o, d, y, f, X, ee, he, K, le, fe, xe, ne, $e, Y, Te, Be, Le, nl, ol;
|
|
1028
1028
|
if (!(!v.originalItemContents || v.originalItemContents.length === 0))
|
|
1029
|
-
if (h.value = p(v.originalItemContents), m.value = (d = (o = h.value) == null ? void 0 : o.find((I) => (I == null ? void 0 : I.key) === "header")) == null ? void 0 : d.contents, T.value = (f = (y = h.value) == null ? void 0 : y.find((I) => (I == null ? void 0 : I.key) === "rowButton")) == null ? void 0 : f.contents, V.value = (ee = (X = h.value) == null ? void 0 : X.find((I) => (I == null ? void 0 : I.key) === "extraButton")) == null ? void 0 : ee.contents, w.value = (K = (he = h.value) == null ? void 0 : he.find((I) => (I == null ? void 0 : I.key) === "page")) != null && K.contents ? !!((fe = (le = h.value) == null ? void 0 : le.find((I) => (I == null ? void 0 : I.key) === "page")) != null && fe.contents) : !1, W.value = (ne = (xe = h.value) == null ? void 0 : xe.find((I) => (I == null ? void 0 : I.key) === "tableToForm")) == null ? void 0 : ne.contents, m.value = ($e = m.value) == null ? void 0 : $e.map((I, Fe) => (Array.isArray(I) ? I =
|
|
1029
|
+
if (h.value = p(v.originalItemContents), m.value = (d = (o = h.value) == null ? void 0 : o.find((I) => (I == null ? void 0 : I.key) === "header")) == null ? void 0 : d.contents, T.value = (f = (y = h.value) == null ? void 0 : y.find((I) => (I == null ? void 0 : I.key) === "rowButton")) == null ? void 0 : f.contents, V.value = (ee = (X = h.value) == null ? void 0 : X.find((I) => (I == null ? void 0 : I.key) === "extraButton")) == null ? void 0 : ee.contents, w.value = (K = (he = h.value) == null ? void 0 : he.find((I) => (I == null ? void 0 : I.key) === "page")) != null && K.contents ? !!((fe = (le = h.value) == null ? void 0 : le.find((I) => (I == null ? void 0 : I.key) === "page")) != null && fe.contents) : !1, W.value = (ne = (xe = h.value) == null ? void 0 : xe.find((I) => (I == null ? void 0 : I.key) === "tableToForm")) == null ? void 0 : ne.contents, m.value = ($e = m.value) == null ? void 0 : $e.map((I, Fe) => (Array.isArray(I) ? I = Ul(I) : I = {
|
|
1030
1030
|
label: (I == null ? void 0 : I.label) ?? "",
|
|
1031
1031
|
prop: (I == null ? void 0 : I.label) === "操作" ? "operate" : I == null ? void 0 : I.prop,
|
|
1032
1032
|
width: I != null && I.width ? parseInt(I.width) : "",
|
|
@@ -1177,7 +1177,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1177
1177
|
name: "ChildFix",
|
|
1178
1178
|
style: { width: "24px", height: "24px" },
|
|
1179
1179
|
class: "svg-icon-content",
|
|
1180
|
-
onClick: (ee) =>
|
|
1180
|
+
onClick: (ee) => P(f)
|
|
1181
1181
|
}, null, 8, ["onClick"]),
|
|
1182
1182
|
M(y, {
|
|
1183
1183
|
name: "ChildDelete",
|
|
@@ -1295,7 +1295,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1295
1295
|
_: 1
|
|
1296
1296
|
}, 8, ["visible"]),
|
|
1297
1297
|
M(Ie, {
|
|
1298
|
-
visible:
|
|
1298
|
+
visible: U.value,
|
|
1299
1299
|
onBeforeDestroy: B,
|
|
1300
1300
|
width: 840
|
|
1301
1301
|
}, {
|
|
@@ -1355,7 +1355,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1355
1355
|
]);
|
|
1356
1356
|
};
|
|
1357
1357
|
}
|
|
1358
|
-
}, Va = /* @__PURE__ */ ge(Sa, [["__scopeId", "data-v-6a6da0be"]]), Oa = { class: "form-operate-content" }, Ra = { class: "form-operate-item" }, Na = { class: "operate-title" },
|
|
1358
|
+
}, Va = /* @__PURE__ */ ge(Sa, [["__scopeId", "data-v-6a6da0be"]]), Oa = { class: "form-operate-content" }, Ra = { class: "form-operate-item" }, Na = { class: "operate-title" }, Ua = { class: "operate-content" }, Pa = { class: "fix-content" }, Wa = { class: "fix-button" }, ja = { class: "operate-title" }, za = { class: "operate-content" }, Ma = { class: "fix-content" }, Ka = { class: "fix-button" }, Ja = { style: { display: "flex", "justify-content": "space-between" } }, Ga = { class: "form-content" }, qa = { class: "form-content" }, Ha = {
|
|
1359
1359
|
__name: "operate",
|
|
1360
1360
|
props: {
|
|
1361
1361
|
itemContents: {
|
|
@@ -1370,10 +1370,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1370
1370
|
emits: ["change"],
|
|
1371
1371
|
setup(b, { emit: S }) {
|
|
1372
1372
|
const v = b, l = S, h = E(!1), x = E([]), N = E([]), m = E(!1), $ = E([]), D = E([]), w = E(""), G = E(!1), O = E(0), R = E([]), T = E([]), V = async (a) => {
|
|
1373
|
-
var A,
|
|
1373
|
+
var A, P, ae, ce, _, B;
|
|
1374
1374
|
h.value = !0;
|
|
1375
1375
|
let g = [];
|
|
1376
|
-
const z = await ((ae = (
|
|
1376
|
+
const z = await ((ae = (P = (A = _e) == null ? void 0 : A.find((C) => (C == null ? void 0 : C.key) === ((a == null ? void 0 : a.type) === "" ? "Input" : a == null ? void 0 : a.type))) == null ? void 0 : P.value) == null ? void 0 : ae.value) ?? ((_ = (ce = _e) == null ? void 0 : ce.find((C) => (C == null ? void 0 : C.key) === ((a == null ? void 0 : a.type) === "" ? "Input" : a == null ? void 0 : a.type))) == null ? void 0 : _.value);
|
|
1377
1377
|
if (z == null || z.forEach((C) => {
|
|
1378
1378
|
O.value++, g.push({
|
|
1379
1379
|
label: C == null ? void 0 : C.label,
|
|
@@ -1416,7 +1416,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1416
1416
|
{ deep: !0 }
|
|
1417
1417
|
);
|
|
1418
1418
|
const t = () => {
|
|
1419
|
-
var z, A,
|
|
1419
|
+
var z, A, P, ae, ce;
|
|
1420
1420
|
R.value = T.value;
|
|
1421
1421
|
let a = {};
|
|
1422
1422
|
if (w.value !== "" ? a.id = w.value : (O.value++, a.id = "id" + O.value), (z = R.value) == null || z.forEach((_) => {
|
|
@@ -1424,7 +1424,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1424
1424
|
const B = (C = Ze) == null ? void 0 : C.find((r) => (r == null ? void 0 : r.label) === (_ == null ? void 0 : _.label));
|
|
1425
1425
|
B && (a[B.key] = _.value);
|
|
1426
1426
|
}), (A = $.value) != null && A.find((_) => _.id === a.id))
|
|
1427
|
-
$.value = (
|
|
1427
|
+
$.value = (P = $.value) == null ? void 0 : P.map((_) => (_.id === a.id && (_ = a), _));
|
|
1428
1428
|
else {
|
|
1429
1429
|
let _ = p($.value);
|
|
1430
1430
|
$.value || ($.value = []), _.push(a), $.value = _;
|
|
@@ -1435,7 +1435,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1435
1435
|
key: "formButton",
|
|
1436
1436
|
contents: $.value
|
|
1437
1437
|
}), l("change", g);
|
|
1438
|
-
},
|
|
1438
|
+
}, U = (a) => {
|
|
1439
1439
|
Ne.confirm("是否确认要删除", "", {
|
|
1440
1440
|
confirmButtonText: "确认",
|
|
1441
1441
|
cancelButtonText: "取消",
|
|
@@ -1483,24 +1483,24 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1483
1483
|
var g, z, A;
|
|
1484
1484
|
h.value = !0;
|
|
1485
1485
|
let a = [];
|
|
1486
|
-
(A = (z = (g = _e) == null ? void 0 : g.find((
|
|
1486
|
+
(A = (z = (g = _e) == null ? void 0 : g.find((P) => (P == null ? void 0 : P.key) === "Input")) == null ? void 0 : z.value) == null || A.forEach((P) => {
|
|
1487
1487
|
O.value++, a.push({
|
|
1488
|
-
label:
|
|
1489
|
-
name:
|
|
1490
|
-
type:
|
|
1491
|
-
value: (
|
|
1488
|
+
label: P == null ? void 0 : P.label,
|
|
1489
|
+
name: P == null ? void 0 : P.label,
|
|
1490
|
+
type: P.type,
|
|
1491
|
+
value: (P == null ? void 0 : P.label) === "类型" ? "Input" : "",
|
|
1492
1492
|
id: O.value,
|
|
1493
|
-
contents:
|
|
1493
|
+
contents: P == null ? void 0 : P.options
|
|
1494
1494
|
});
|
|
1495
1495
|
}), x.value = a, N.value = a;
|
|
1496
1496
|
}, s = (a) => {
|
|
1497
1497
|
let g = p(T.value);
|
|
1498
1498
|
g = g == null ? void 0 : g.map((z) => (z.value = a == null ? void 0 : a[z.name], z)), T.value = g;
|
|
1499
1499
|
}, k = async (a) => {
|
|
1500
|
-
var g, z, A,
|
|
1500
|
+
var g, z, A, P, ae, ce, _, B, C, r, H, ie;
|
|
1501
1501
|
if ((a == null ? void 0 : a.类型) !== ((z = (g = N.value) == null ? void 0 : g.find((F) => (F == null ? void 0 : F.label) === "类型")) == null ? void 0 : z.value)) {
|
|
1502
1502
|
let F = [];
|
|
1503
|
-
const q = await ((ae = (
|
|
1503
|
+
const q = await ((ae = (P = (A = _e) == null ? void 0 : A.find((j) => (j == null ? void 0 : j.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : P.value) == null ? void 0 : ae.value) ? await ((r = (C = (B = _e) == null ? void 0 : B.find((j) => (j == null ? void 0 : j.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : C.value) == null ? void 0 : r.value) : (_ = (ce = _e) == null ? void 0 : ce.find((j) => (j == null ? void 0 : j.key) === ((a == null ? void 0 : a.类型) === "" ? "Input" : a == null ? void 0 : a.类型))) == null ? void 0 : _.value;
|
|
1504
1504
|
if (q == null || q.forEach((j) => {
|
|
1505
1505
|
O.value++, F.push({
|
|
1506
1506
|
label: j == null ? void 0 : j.label,
|
|
@@ -1528,14 +1528,14 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1528
1528
|
}, Q = async (a) => {
|
|
1529
1529
|
await k(a), x.value = N.value;
|
|
1530
1530
|
}, pe = async () => {
|
|
1531
|
-
var A,
|
|
1531
|
+
var A, P, ae, ce, _, B, C, r, H, ie;
|
|
1532
1532
|
x.value = N.value;
|
|
1533
1533
|
let a = {};
|
|
1534
1534
|
w.value !== "" ? a.id = w.value : (O.value++, a.id = "id" + O.value);
|
|
1535
|
-
let g = await ((ae = (
|
|
1535
|
+
let g = await ((ae = (P = (A = _e) == null ? void 0 : A.find((F) => {
|
|
1536
1536
|
var q, j;
|
|
1537
1537
|
return (F == null ? void 0 : F.key) === (((j = (q = x.value) == null ? void 0 : q.find((re) => (re == null ? void 0 : re.label) === "类型")) == null ? void 0 : j.value) ?? "label");
|
|
1538
|
-
})) == null ? void 0 :
|
|
1538
|
+
})) == null ? void 0 : P.value) == null ? void 0 : ae.value) ?? ((_ = (ce = _e) == null ? void 0 : ce.find((F) => {
|
|
1539
1539
|
var q, j;
|
|
1540
1540
|
return (F == null ? void 0 : F.key) === (((j = (q = x.value) == null ? void 0 : q.find((re) => (re == null ? void 0 : re.label) === "类型")) == null ? void 0 : j.value) ?? "label");
|
|
1541
1541
|
})) == null ? void 0 : _.value);
|
|
@@ -1560,10 +1560,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1560
1560
|
return we(
|
|
1561
1561
|
() => v.originalItemContents,
|
|
1562
1562
|
() => {
|
|
1563
|
-
var g, z, A,
|
|
1563
|
+
var g, z, A, P, ae, ce;
|
|
1564
1564
|
if (!v.originalItemContents || v.originalItemContents.length === 0) return;
|
|
1565
1565
|
const a = p(v.originalItemContents);
|
|
1566
|
-
D.value = ((g = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "formContent")) == null ? void 0 : g.contents) ?? [], $.value = ((z = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "formButton")) == null ? void 0 : z.contents) ?? [], G.value = (A = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "enableWrap")) != null && A.contents ? !((
|
|
1566
|
+
D.value = ((g = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "formContent")) == null ? void 0 : g.contents) ?? [], $.value = ((z = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "formButton")) == null ? void 0 : z.contents) ?? [], G.value = (A = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "enableWrap")) != null && A.contents ? !((P = a == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "enableWrap")) != null && P.contents) : !0, D.value = (ae = p(D.value)) == null ? void 0 : ae.map((_, B) => {
|
|
1567
1567
|
var r;
|
|
1568
1568
|
let C = _;
|
|
1569
1569
|
return C.id = (_ == null ? void 0 : _.id) ?? B, _ != null && _.label || (_.label = (_ == null ? void 0 : _.key) ?? (_ == null ? void 0 : _.label) ?? ""), _ != null && _.type || (_.type = (_ == null ? void 0 : _.type) ?? ""), _.contents = ((r = _ == null ? void 0 : _.options) == null ? void 0 : r.length) === 0 ? (_ == null ? void 0 : _.contents) ?? "" : _ == null ? void 0 : _.options, C;
|
|
@@ -1592,9 +1592,9 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1592
1592
|
g[1] || (g[1] = u("div", null, Z("新增"), -1))
|
|
1593
1593
|
])
|
|
1594
1594
|
]),
|
|
1595
|
-
u("div",
|
|
1596
|
-
(L(!0), J(me, null, ye(D.value, (A,
|
|
1597
|
-
u("div",
|
|
1595
|
+
u("div", Ua, [
|
|
1596
|
+
(L(!0), J(me, null, ye(D.value, (A, P) => (L(), J("div", { key: P }, [
|
|
1597
|
+
u("div", Pa, [
|
|
1598
1598
|
u("div", null, Z(A.label), 1),
|
|
1599
1599
|
u("div", Wa, [
|
|
1600
1600
|
M(z, {
|
|
@@ -1607,7 +1607,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1607
1607
|
name: "ChildDelete",
|
|
1608
1608
|
class: "svg-icon-content",
|
|
1609
1609
|
style: { width: "24px", height: "24px" },
|
|
1610
|
-
onClick: (ae) =>
|
|
1610
|
+
onClick: (ae) => U(A)
|
|
1611
1611
|
}, null, 8, ["onClick"])
|
|
1612
1612
|
])
|
|
1613
1613
|
])
|
|
@@ -1627,7 +1627,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1627
1627
|
])
|
|
1628
1628
|
]),
|
|
1629
1629
|
u("div", za, [
|
|
1630
|
-
(L(!0), J(me, null, ye($.value, (A,
|
|
1630
|
+
(L(!0), J(me, null, ye($.value, (A, P) => (L(), J("div", { key: P }, [
|
|
1631
1631
|
u("div", Ma, [
|
|
1632
1632
|
u("div", null, Z(A.label), 1),
|
|
1633
1633
|
u("div", Ka, [
|
|
@@ -1836,10 +1836,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1836
1836
|
var t;
|
|
1837
1837
|
D.value = c, l("change", (t = T()) == null ? void 0 : t.compData);
|
|
1838
1838
|
}, O = (c, t) => {
|
|
1839
|
-
var
|
|
1839
|
+
var U, n;
|
|
1840
1840
|
switch (c) {
|
|
1841
1841
|
case "create":
|
|
1842
|
-
(
|
|
1842
|
+
(U = x.value) == null || U.forEach((i) => {
|
|
1843
1843
|
i.value = "";
|
|
1844
1844
|
}), $.value = "create", m.visible = !0;
|
|
1845
1845
|
break;
|
|
@@ -1853,7 +1853,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1853
1853
|
break;
|
|
1854
1854
|
}
|
|
1855
1855
|
}, R = (c) => {
|
|
1856
|
-
var t,
|
|
1856
|
+
var t, U, n;
|
|
1857
1857
|
if ((c == null ? void 0 : c.buttonName) === "确认") {
|
|
1858
1858
|
const i = p(c == null ? void 0 : c.content);
|
|
1859
1859
|
switch (Object.keys(i).forEach((e) => {
|
|
@@ -1866,7 +1866,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1866
1866
|
});
|
|
1867
1867
|
break;
|
|
1868
1868
|
case "update":
|
|
1869
|
-
w.value = (
|
|
1869
|
+
w.value = (U = w.value) == null ? void 0 : U.map((e) => e.index === (i == null ? void 0 : i.index) ? {
|
|
1870
1870
|
...e,
|
|
1871
1871
|
title: i == null ? void 0 : i.title,
|
|
1872
1872
|
description: i == null ? void 0 : i.description
|
|
@@ -1892,10 +1892,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1892
1892
|
m.visible = !1;
|
|
1893
1893
|
};
|
|
1894
1894
|
return we(() => v == null ? void 0 : v.itemContents, (c) => {
|
|
1895
|
-
var t,
|
|
1896
|
-
c && (D.value = ((t = c == null ? void 0 : c.find((n) => n.key === "stepConfig")) == null ? void 0 : t.contents) ?? {}, w.value = ((
|
|
1895
|
+
var t, U;
|
|
1896
|
+
c && (D.value = ((t = c == null ? void 0 : c.find((n) => n.key === "stepConfig")) == null ? void 0 : t.contents) ?? {}, w.value = ((U = c == null ? void 0 : c.find((n) => n.key === "stepList")) == null ? void 0 : U.contents) ?? []);
|
|
1897
1897
|
}, { immediate: !0 }), (c, t) => {
|
|
1898
|
-
const
|
|
1898
|
+
const U = be("svg-icon"), n = be("el-button");
|
|
1899
1899
|
return L(), J(me, null, [
|
|
1900
1900
|
u("div", null, [
|
|
1901
1901
|
u("div", Qa, [
|
|
@@ -1904,7 +1904,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1904
1904
|
class: "module-icon",
|
|
1905
1905
|
onClick: t[0] || (t[0] = (i) => O("create"))
|
|
1906
1906
|
}, [
|
|
1907
|
-
M(
|
|
1907
|
+
M(U, {
|
|
1908
1908
|
name: "Plus",
|
|
1909
1909
|
class: "icon-size"
|
|
1910
1910
|
}),
|
|
@@ -1924,7 +1924,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1924
1924
|
onClick: (s) => O("update", { ...i, index: e + 1 })
|
|
1925
1925
|
}, {
|
|
1926
1926
|
default: se(() => t[3] || (t[3] = [
|
|
1927
|
-
|
|
1927
|
+
Ue("修改")
|
|
1928
1928
|
])),
|
|
1929
1929
|
_: 2,
|
|
1930
1930
|
__: [3]
|
|
@@ -1935,7 +1935,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
1935
1935
|
onClick: (s) => O("delete", e)
|
|
1936
1936
|
}, {
|
|
1937
1937
|
default: se(() => t[4] || (t[4] = [
|
|
1938
|
-
|
|
1938
|
+
Ue("删除")
|
|
1939
1939
|
])),
|
|
1940
1940
|
_: 2,
|
|
1941
1941
|
__: [4]
|
|
@@ -2125,10 +2125,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2125
2125
|
var t;
|
|
2126
2126
|
x.value = c, console.log(1212, c), l("change", (t = T()) == null ? void 0 : t.compData);
|
|
2127
2127
|
}, O = (c, t) => {
|
|
2128
|
-
var
|
|
2128
|
+
var U, n;
|
|
2129
2129
|
switch (c) {
|
|
2130
2130
|
case "create":
|
|
2131
|
-
(
|
|
2131
|
+
(U = $.value) == null || U.forEach((i) => {
|
|
2132
2132
|
i.value = "";
|
|
2133
2133
|
}), h.value = "create", w.visible = !0;
|
|
2134
2134
|
break;
|
|
@@ -2142,14 +2142,14 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2142
2142
|
break;
|
|
2143
2143
|
}
|
|
2144
2144
|
}, R = (c) => {
|
|
2145
|
-
var t,
|
|
2145
|
+
var t, U, n, i;
|
|
2146
2146
|
if ((c == null ? void 0 : c.buttonName) === "确认") {
|
|
2147
2147
|
const e = p(c == null ? void 0 : c.content);
|
|
2148
2148
|
switch (Object.keys(e).forEach((s) => {
|
|
2149
2149
|
e[s] === "" && delete e[s];
|
|
2150
2150
|
}), h.value) {
|
|
2151
2151
|
case "create":
|
|
2152
|
-
console.log(1335, N.value, e), (
|
|
2152
|
+
console.log(1335, N.value, e), (U = N.value) == null || U.push({
|
|
2153
2153
|
...e,
|
|
2154
2154
|
index: ((t = N.value) == null ? void 0 : t.length) + 1
|
|
2155
2155
|
});
|
|
@@ -2181,10 +2181,10 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2181
2181
|
w.visible = !1;
|
|
2182
2182
|
};
|
|
2183
2183
|
return we(() => v == null ? void 0 : v.itemContents, (c) => {
|
|
2184
|
-
var t,
|
|
2185
|
-
c && (x.value = ((t = c == null ? void 0 : c.find((n) => n.key === "timeLineConfig")) == null ? void 0 : t.contents) ?? {}, N.value = ((
|
|
2184
|
+
var t, U;
|
|
2185
|
+
c && (x.value = ((t = c == null ? void 0 : c.find((n) => n.key === "timeLineConfig")) == null ? void 0 : t.contents) ?? {}, N.value = ((U = c == null ? void 0 : c.find((n) => n.key === "timeLineList")) == null ? void 0 : U.contents) ?? []);
|
|
2186
2186
|
}, { immediate: !0 }), (c, t) => {
|
|
2187
|
-
const
|
|
2187
|
+
const U = be("svg-icon"), n = be("el-button");
|
|
2188
2188
|
return L(), J(me, null, [
|
|
2189
2189
|
u("div", null, [
|
|
2190
2190
|
u("div", an, [
|
|
@@ -2193,7 +2193,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2193
2193
|
class: "module-icon",
|
|
2194
2194
|
onClick: t[0] || (t[0] = (i) => O("create"))
|
|
2195
2195
|
}, [
|
|
2196
|
-
M(
|
|
2196
|
+
M(U, {
|
|
2197
2197
|
name: "Plus",
|
|
2198
2198
|
class: "icon-size"
|
|
2199
2199
|
}),
|
|
@@ -2213,7 +2213,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2213
2213
|
onClick: (s) => O("update", { ...i, index: e + 1 })
|
|
2214
2214
|
}, {
|
|
2215
2215
|
default: se(() => t[3] || (t[3] = [
|
|
2216
|
-
|
|
2216
|
+
Ue("修改")
|
|
2217
2217
|
])),
|
|
2218
2218
|
_: 2,
|
|
2219
2219
|
__: [3]
|
|
@@ -2224,7 +2224,7 @@ const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
|
|
|
2224
2224
|
onClick: (s) => O("delete", e)
|
|
2225
2225
|
}, {
|
|
2226
2226
|
default: se(() => t[4] || (t[4] = [
|
|
2227
|
-
|
|
2227
|
+
Ue("删除")
|
|
2228
2228
|
])),
|
|
2229
2229
|
_: 2,
|
|
2230
2230
|
__: [4]
|
|
@@ -2316,14 +2316,14 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2316
2316
|
var Q, pe, de, a;
|
|
2317
2317
|
const i = (pe = (Q = Object.values(p($.value))) == null ? void 0 : Q[0]) == null ? void 0 : pe.filter((g) => (g == null ? void 0 : g.key) === "tableContentName"), e = (a = (de = Object.values(p($.value))) == null ? void 0 : de[0]) == null ? void 0 : a.filter((g) => (g == null ? void 0 : g.key) !== "tableContentName"), s = e == null ? void 0 : e.map((g, z) => {
|
|
2318
2318
|
var A;
|
|
2319
|
-
return z === n.index && (g == null ? void 0 : g.comp) === "Table" && (g.compData = (A = g.compData) == null ? void 0 : A.map((
|
|
2319
|
+
return z === n.index && (g == null ? void 0 : g.comp) === "Table" && (g.compData = (A = g.compData) == null ? void 0 : A.map((P) => {
|
|
2320
2320
|
var ae, ce;
|
|
2321
|
-
return (
|
|
2321
|
+
return (P == null ? void 0 : P.key) === "tableContents" && (P.contents = (ce = (ae = n.content) == null ? void 0 : ae.map((_) => {
|
|
2322
2322
|
let B = {};
|
|
2323
2323
|
for (let C in _)
|
|
2324
2324
|
C !== "id" && (B[C] = _[C]);
|
|
2325
2325
|
return B;
|
|
2326
|
-
})) == null ? void 0 : ce.map((_) => Object.values(_))),
|
|
2326
|
+
})) == null ? void 0 : ce.map((_) => Object.values(_))), P;
|
|
2327
2327
|
})), g;
|
|
2328
2328
|
});
|
|
2329
2329
|
s.unshift(i == null ? void 0 : i[0]);
|
|
@@ -2355,11 +2355,11 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2355
2355
|
m.value = !1, $.value = {}, D.value = {}, w.value = void 0;
|
|
2356
2356
|
}, t = (n) => {
|
|
2357
2357
|
N("change", n, "methodData");
|
|
2358
|
-
},
|
|
2358
|
+
}, U = (n) => al(n);
|
|
2359
2359
|
return (n, i) => (L(), J("div", vn, [
|
|
2360
2360
|
(L(!0), J(me, null, ye(h.value, (e, s) => (L(), J("div", { key: l.value }, [
|
|
2361
2361
|
(e == null ? void 0 : e.key) === "extra" ? (L(), J("div", pn)) : (L(), J("div", fn, [
|
|
2362
|
-
(L(), Ce(Ge(
|
|
2362
|
+
(L(), Ce(Ge(U(e.comp)), {
|
|
2363
2363
|
itemData: e == null ? void 0 : e.compData,
|
|
2364
2364
|
childItemData: e == null ? void 0 : e.itemChildData,
|
|
2365
2365
|
key: s,
|
|
@@ -2378,7 +2378,7 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2378
2378
|
key: s,
|
|
2379
2379
|
class: "extra-dialog"
|
|
2380
2380
|
}, [
|
|
2381
|
-
(L(), Ce(Ge(
|
|
2381
|
+
(L(), Ce(Ge(U(e.comp)), {
|
|
2382
2382
|
itemData: e == null ? void 0 : e.compData,
|
|
2383
2383
|
onChange: O,
|
|
2384
2384
|
childItemData: e == null ? void 0 : e.itemChildData,
|
|
@@ -2424,7 +2424,7 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2424
2424
|
}
|
|
2425
2425
|
},
|
|
2426
2426
|
setup(b) {
|
|
2427
|
-
const S = E([]), v = b, l = cl(Se), { itemData: h, isEdit: x } =
|
|
2427
|
+
const S = E([]), v = b, l = cl(Se), { itemData: h, isEdit: x } = Pe(l), N = (D, w) => {
|
|
2428
2428
|
var O;
|
|
2429
2429
|
const G = (O = w == null ? void 0 : w[0]) == null ? void 0 : O.children;
|
|
2430
2430
|
return D == null ? void 0 : D.map((R) => {
|
|
@@ -2449,9 +2449,9 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2449
2449
|
var n, i, e, s, k, W;
|
|
2450
2450
|
let w = {};
|
|
2451
2451
|
if ((n = p(D.content)) == null || n.forEach((Q, pe) => {
|
|
2452
|
-
var de, a, g, z, A,
|
|
2452
|
+
var de, a, g, z, A, P, ae, ce, _, B, C, r, H, ie, F, q, j;
|
|
2453
2453
|
if ((Q == null ? void 0 : Q.comp) === "Table") {
|
|
2454
|
-
let re = (z = (g = (a = (de = Q == null ? void 0 : Q.compData) == null ? void 0 : de.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : a.contents) == null ? void 0 : g[0]) == null ? void 0 : z.some((ve) => ve == null ? void 0 : ve.children), oe = (ae = (
|
|
2454
|
+
let re = (z = (g = (a = (de = Q == null ? void 0 : Q.compData) == null ? void 0 : de.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : a.contents) == null ? void 0 : g[0]) == null ? void 0 : z.some((ve) => ve == null ? void 0 : ve.children), oe = (ae = (P = (A = Q == null ? void 0 : Q.compData) == null ? void 0 : A.find((ve) => (ve == null ? void 0 : ve.key) === "tableContents")) == null ? void 0 : P.contents) == null ? void 0 : ae.map((ve) => ve.slice(1)), ue = (r = (C = (B = (_ = (ce = Q == null ? void 0 : Q.compData) == null ? void 0 : ce.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : _.contents) == null ? void 0 : B[0]) == null ? void 0 : C[0]) == null ? void 0 : r.label, ke = (F = (ie = (H = Q == null ? void 0 : Q.compData) == null ? void 0 : H.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : ie.contents) == null ? void 0 : F[0];
|
|
2455
2455
|
if (re)
|
|
2456
2456
|
w[ue] = N(oe, ke);
|
|
2457
2457
|
else {
|
|
@@ -2489,8 +2489,8 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2489
2489
|
});
|
|
2490
2490
|
var G = new Blob([Q.data], {
|
|
2491
2491
|
type: "application/octet-stream;charset=UTF-8"
|
|
2492
|
-
}), O = Q.headers["content-disposition"], R = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), T = R.exec(O), V = ((k = (s = (e = D == null ? void 0 : D.extraContent) == null ? void 0 : e[0]) == null ? void 0 : s.split(".")) == null ? void 0 : k[0]) + "." + ((W = T[1].split(".")) == null ? void 0 : W[1]), c = document.createElement("a"), t = window.URL.createObjectURL(G),
|
|
2493
|
-
c.style.display = "none", c.href = t, c.download = decodeURI(V.replace(
|
|
2492
|
+
}), O = Q.headers["content-disposition"], R = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), T = R.exec(O), V = ((k = (s = (e = D == null ? void 0 : D.extraContent) == null ? void 0 : e[0]) == null ? void 0 : s.split(".")) == null ? void 0 : k[0]) + "." + ((W = T[1].split(".")) == null ? void 0 : W[1]), c = document.createElement("a"), t = window.URL.createObjectURL(G), U = /^["](.*)["]$/g;
|
|
2493
|
+
c.style.display = "none", c.href = t, c.download = decodeURI(V.replace(U, "$1")), document.body.appendChild(c), c.click(), document.body.removeChild(c), window.URL.revokeObjectURL(t);
|
|
2494
2494
|
}
|
|
2495
2495
|
}, $ = async (D) => {
|
|
2496
2496
|
var R;
|
|
@@ -2509,11 +2509,11 @@ const dn = /* @__PURE__ */ ge(tn, [["render", cn]]), vn = { class: "extra-conten
|
|
|
2509
2509
|
type: "methodData",
|
|
2510
2510
|
tableId: c == null ? void 0 : c.id
|
|
2511
2511
|
}
|
|
2512
|
-
}),
|
|
2512
|
+
}), U = await gl((e = T == null ? void 0 : T.value) == null ? void 0 : e[0], sessionStorage.getItem("systemKey"), ""), n = (s = t.data.result) == null ? void 0 : s[0];
|
|
2513
2513
|
return {
|
|
2514
2514
|
buttonName: (k = c == null ? void 0 : c.key) == null ? void 0 : k.methodKey,
|
|
2515
2515
|
api: (Q = (W = n == null ? void 0 : n.value) == null ? void 0 : W.tableData) == null ? void 0 : Q[0],
|
|
2516
|
-
content:
|
|
2516
|
+
content: U == null ? void 0 : U.filter((de) => de.comp !== "methodButton"),
|
|
2517
2517
|
extraContent: (pe = p(T.value)) == null ? void 0 : pe.slice(1)
|
|
2518
2518
|
};
|
|
2519
2519
|
}), O = await Promise.all(G);
|
|
@@ -2681,7 +2681,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2681
2681
|
var t;
|
|
2682
2682
|
D.value = p(c), l("change", (t = G()) == null ? void 0 : t.compData);
|
|
2683
2683
|
}, R = (c) => {
|
|
2684
|
-
var t,
|
|
2684
|
+
var t, U;
|
|
2685
2685
|
if ((c == null ? void 0 : c.buttonName) === "确认") {
|
|
2686
2686
|
const n = p(c == null ? void 0 : c.content);
|
|
2687
2687
|
switch (x.value) {
|
|
@@ -2692,14 +2692,14 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2692
2692
|
});
|
|
2693
2693
|
break;
|
|
2694
2694
|
}
|
|
2695
|
-
l("change", (
|
|
2695
|
+
l("change", (U = G()) == null ? void 0 : U.compData), h.visible = !1;
|
|
2696
2696
|
} else
|
|
2697
2697
|
h.visible = !1;
|
|
2698
2698
|
}, T = (c, t) => {
|
|
2699
|
-
var
|
|
2699
|
+
var U, n;
|
|
2700
2700
|
switch (c) {
|
|
2701
2701
|
case "create":
|
|
2702
|
-
(
|
|
2702
|
+
(U = $.value) == null || U.forEach((i) => {
|
|
2703
2703
|
i.value = "";
|
|
2704
2704
|
}), x.value = "create", h.visible = !0;
|
|
2705
2705
|
break;
|
|
@@ -2716,10 +2716,10 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2716
2716
|
h.visible = !1;
|
|
2717
2717
|
};
|
|
2718
2718
|
return we(() => v == null ? void 0 : v.itemContents, (c) => {
|
|
2719
|
-
var t,
|
|
2720
|
-
c && (D.value = ((t = c == null ? void 0 : c.find((n) => n.key === "signConfig")) == null ? void 0 : t.contents) ?? {}, w.value = ((
|
|
2719
|
+
var t, U;
|
|
2720
|
+
c && (D.value = ((t = c == null ? void 0 : c.find((n) => n.key === "signConfig")) == null ? void 0 : t.contents) ?? {}, w.value = ((U = c == null ? void 0 : c.find((n) => n.key === "signTypeList")) == null ? void 0 : U.contents) ?? []);
|
|
2721
2721
|
}, { immediate: !0 }), (c, t) => {
|
|
2722
|
-
const
|
|
2722
|
+
const U = be("svg-icon"), n = be("el-button");
|
|
2723
2723
|
return L(), J(me, null, [
|
|
2724
2724
|
u("div", null, [
|
|
2725
2725
|
u("div", xn, [
|
|
@@ -2729,7 +2729,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2729
2729
|
onClick: t[0] || (t[0] = (i) => T("create"))
|
|
2730
2730
|
}, [
|
|
2731
2731
|
u("div", null, [
|
|
2732
|
-
M(
|
|
2732
|
+
M(U, {
|
|
2733
2733
|
name: "Plus",
|
|
2734
2734
|
class: "icon-size"
|
|
2735
2735
|
}),
|
|
@@ -2750,7 +2750,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2750
2750
|
onClick: (s) => T("update", { ...i, index: e + 1 })
|
|
2751
2751
|
}, {
|
|
2752
2752
|
default: se(() => t[3] || (t[3] = [
|
|
2753
|
-
|
|
2753
|
+
Ue("修改")
|
|
2754
2754
|
])),
|
|
2755
2755
|
_: 2,
|
|
2756
2756
|
__: [3]
|
|
@@ -2761,7 +2761,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2761
2761
|
onClick: (s) => T("delete", e)
|
|
2762
2762
|
}, {
|
|
2763
2763
|
default: se(() => t[4] || (t[4] = [
|
|
2764
|
-
|
|
2764
|
+
Ue("删除")
|
|
2765
2765
|
])),
|
|
2766
2766
|
_: 2,
|
|
2767
2767
|
__: [4]
|
|
@@ -2829,7 +2829,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2829
2829
|
l("changeTrigger", G);
|
|
2830
2830
|
};
|
|
2831
2831
|
return (G, O) => {
|
|
2832
|
-
var V, c, t,
|
|
2832
|
+
var V, c, t, U, n;
|
|
2833
2833
|
const R = be("el-step"), T = be("el-steps");
|
|
2834
2834
|
return L(), J(me, null, [
|
|
2835
2835
|
M(T, {
|
|
@@ -2860,7 +2860,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2860
2860
|
]),
|
|
2861
2861
|
_: 3
|
|
2862
2862
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
2863
|
-
(
|
|
2863
|
+
(U = b.stepConfig) != null && U.allowTrigger && ((n = b.stepConfig) != null && n.active) ? (L(!0), J(me, { key: 0 }, ye($(), (i, e) => (L(), J("div", {
|
|
2864
2864
|
key: e,
|
|
2865
2865
|
class: "step-cont-wrap"
|
|
2866
2866
|
}, [
|
|
@@ -2915,10 +2915,10 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2915
2915
|
M(D, { name: "import" })
|
|
2916
2916
|
]),
|
|
2917
2917
|
title: se(({ title: w }) => [
|
|
2918
|
-
|
|
2918
|
+
Ue(Z(w), 1)
|
|
2919
2919
|
]),
|
|
2920
2920
|
description: se(({ description: w }) => [
|
|
2921
|
-
|
|
2921
|
+
Ue(Z(w), 1)
|
|
2922
2922
|
]),
|
|
2923
2923
|
_: 1
|
|
2924
2924
|
}, 8, ["stepConfig", "stepList"]);
|
|
@@ -2993,7 +2993,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
2993
2993
|
_: 1
|
|
2994
2994
|
}, 8, ["activities", "timeLineConfig"]));
|
|
2995
2995
|
}
|
|
2996
|
-
}), Nn = /* @__PURE__ */ ge(Rn, [["__scopeId", "data-v-b4d9deed"]]),
|
|
2996
|
+
}), Nn = /* @__PURE__ */ ge(Rn, [["__scopeId", "data-v-b4d9deed"]]), Un = { class: "tabs-content" }, Pn = {
|
|
2997
2997
|
__name: "index",
|
|
2998
2998
|
props: {
|
|
2999
2999
|
itemData: {
|
|
@@ -3020,11 +3020,11 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3020
3020
|
})));
|
|
3021
3021
|
},
|
|
3022
3022
|
{ immediate: !0, deep: !0 }
|
|
3023
|
-
), (l, h) => (L(), J("div",
|
|
3023
|
+
), (l, h) => (L(), J("div", Un, [
|
|
3024
3024
|
M(El, { tabsContents: v.value }, null, 8, ["tabsContents"])
|
|
3025
3025
|
]));
|
|
3026
3026
|
}
|
|
3027
|
-
}, Wn = /* @__PURE__ */ ge(
|
|
3027
|
+
}, Wn = /* @__PURE__ */ ge(Pn, [["__scopeId", "data-v-d3bb10b7"]]), Xe = vl("tabComp", {
|
|
3028
3028
|
state: () => ({
|
|
3029
3029
|
itemData: [],
|
|
3030
3030
|
originalData: [],
|
|
@@ -3061,7 +3061,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3061
3061
|
}), jn = { class: "type-select" }, zn = ["onClick"], Mn = { class: "list-icon" }, Kn = {
|
|
3062
3062
|
__name: "modelSelect",
|
|
3063
3063
|
setup(b) {
|
|
3064
|
-
const S = Xe(Se), { itemData: v } =
|
|
3064
|
+
const S = Xe(Se), { itemData: v } = Pe(S), l = (h) => {
|
|
3065
3065
|
const x = p(v.value);
|
|
3066
3066
|
x.push({
|
|
3067
3067
|
comp: h.comp,
|
|
@@ -3097,7 +3097,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3097
3097
|
}, lo = ["onClick"], ao = { class: "comp-child" }, no = {
|
|
3098
3098
|
__name: "modelFill",
|
|
3099
3099
|
setup(b) {
|
|
3100
|
-
const S = Xe(Se), { itemData: v, originalData: l } =
|
|
3100
|
+
const S = Xe(Se), { itemData: v, originalData: l } = Pe(S), h = E([]);
|
|
3101
3101
|
E([]);
|
|
3102
3102
|
const x = E([]), N = E([]), m = (R) => {
|
|
3103
3103
|
var V;
|
|
@@ -3108,8 +3108,8 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3108
3108
|
let T = (V = p(N.value)) == null ? void 0 : V.map((c, t) => (R === t && (c.content = !1), c));
|
|
3109
3109
|
N.value = T, h.value = p(v.value);
|
|
3110
3110
|
}, D = (R, T) => {
|
|
3111
|
-
var
|
|
3112
|
-
let V = (
|
|
3111
|
+
var U;
|
|
3112
|
+
let V = (U = p(N.value)) == null ? void 0 : U.map((n, i) => (R === i && (n.content = !1), n));
|
|
3113
3113
|
N.value = V;
|
|
3114
3114
|
const c = p(v.value), t = c == null ? void 0 : c.filter((n, i) => (i === R && (n.name = T), n));
|
|
3115
3115
|
S.setOriginalData(t), S.setItemData(t);
|
|
@@ -3126,10 +3126,10 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3126
3126
|
{ deep: !0, immediate: !0 }
|
|
3127
3127
|
);
|
|
3128
3128
|
const w = (R) => al(R), G = (R, T, V) => {
|
|
3129
|
-
var t,
|
|
3129
|
+
var t, U;
|
|
3130
3130
|
if (!R) return;
|
|
3131
3131
|
let c = p(v.value);
|
|
3132
|
-
c = (t = c == null ? void 0 : c.map((n, i) => (i === V && (n.compData = R), n))) == null ? void 0 : t.filter((n) => (n == null ? void 0 : n.comp) !== "methodButton"), N.value = (
|
|
3132
|
+
c = (t = c == null ? void 0 : c.map((n, i) => (i === V && (n.compData = R), n))) == null ? void 0 : t.filter((n) => (n == null ? void 0 : n.comp) !== "methodButton"), N.value = (U = p(c)) == null ? void 0 : U.map((n, i) => ({
|
|
3133
3133
|
id: i,
|
|
3134
3134
|
content: !1
|
|
3135
3135
|
})), S.setOriginalData(c), S.setItemData(c);
|
|
@@ -3157,11 +3157,11 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3157
3157
|
collapseContents: h.value
|
|
3158
3158
|
}, {
|
|
3159
3159
|
title: se(({ item: c, index: t }) => {
|
|
3160
|
-
var
|
|
3160
|
+
var U, n, i, e, s, k, W, Q, pe, de;
|
|
3161
3161
|
return [
|
|
3162
3162
|
u("div", Hn, [
|
|
3163
3163
|
u("div", Qn, [
|
|
3164
|
-
(n = (
|
|
3164
|
+
(n = (U = N.value) == null ? void 0 : U.find((a) => a.id === t)) != null && n.content ? Ae("", !0) : (L(), J("div", {
|
|
3165
3165
|
key: 0,
|
|
3166
3166
|
class: "collapse-title",
|
|
3167
3167
|
style: Il({ marginRight: c.name && c.name !== "" ? "8px" : "0px" })
|
|
@@ -3215,12 +3215,12 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3215
3215
|
];
|
|
3216
3216
|
}),
|
|
3217
3217
|
content: se(({ item: c, index: t }) => {
|
|
3218
|
-
var
|
|
3218
|
+
var U, n;
|
|
3219
3219
|
return [
|
|
3220
3220
|
u("div", ao, [
|
|
3221
3221
|
(L(), Ce(Ge(w(c.comp + "Operate")), {
|
|
3222
3222
|
itemContents: c == null ? void 0 : c.compData,
|
|
3223
|
-
originalItemContents: (n = (
|
|
3223
|
+
originalItemContents: (n = (U = x.value) == null ? void 0 : U.find((i, e) => e === t)) == null ? void 0 : n.compData,
|
|
3224
3224
|
onChange: (i) => G(i, c, t)
|
|
3225
3225
|
}, null, 40, ["itemContents", "originalItemContents", "onChange"]))
|
|
3226
3226
|
])
|
|
@@ -3238,7 +3238,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3238
3238
|
}, io = { style: { display: "flex" } }, uo = {
|
|
3239
3239
|
__name: "modelShow",
|
|
3240
3240
|
setup(b) {
|
|
3241
|
-
const S = Xe(Se), { itemData: v } =
|
|
3241
|
+
const S = Xe(Se), { itemData: v } = Pe(S), l = E([]);
|
|
3242
3242
|
we(
|
|
3243
3243
|
() => v.value,
|
|
3244
3244
|
() => {
|
|
@@ -3278,14 +3278,14 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3278
3278
|
},
|
|
3279
3279
|
emits: ["change"],
|
|
3280
3280
|
setup(b, { emit: S }) {
|
|
3281
|
-
const v = b, l = S, h = E([]), x = E(!1), N = E(""), m = E({ title: "" }), $ = E(-1), D = E(!1), w = E(-1), G = E(/* @__PURE__ */ new Map()), O = E(null), R = Xe(Se), { itemData: T } =
|
|
3281
|
+
const v = b, l = S, h = E([]), x = E(!1), N = E(""), m = E({ title: "" }), $ = E(-1), D = E(!1), w = E(-1), G = E(/* @__PURE__ */ new Map()), O = E(null), R = Xe(Se), { itemData: T } = Pe(R), V = () => {
|
|
3282
3282
|
N.value = "新增标签页", m.value.title = "", $.value = -1, x.value = !0;
|
|
3283
3283
|
}, c = (B) => {
|
|
3284
3284
|
N.value = "修改标签页", m.value.title = h.value[B].title, $.value = B, x.value = !0;
|
|
3285
3285
|
}, t = (B) => {
|
|
3286
3286
|
const C = i(B);
|
|
3287
3287
|
G.value.delete(C), h.value.splice(B, 1), _();
|
|
3288
|
-
},
|
|
3288
|
+
}, U = () => {
|
|
3289
3289
|
if (m.value.title.trim()) {
|
|
3290
3290
|
if ($.value === -1) {
|
|
3291
3291
|
const B = {
|
|
@@ -3311,7 +3311,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3311
3311
|
let r = G.value.get(C);
|
|
3312
3312
|
!r && ((H = h.value[B].children) == null ? void 0 : H.length) > 0 && (r = Q(h.value[B].children)), r ? R.setItemData(p(r)) : R.setItemData([]), D.value = !0;
|
|
3313
3313
|
}, s = ll(() => {
|
|
3314
|
-
const B = cl(Se), C =
|
|
3314
|
+
const B = cl(Se), C = Pe(B).itemData.value;
|
|
3315
3315
|
return console.log("可用组件数据", C), !C || !Array.isArray(C) ? [] : C.filter((r) => {
|
|
3316
3316
|
var H;
|
|
3317
3317
|
if (r.comp === "Tabs" && w.value >= 0) {
|
|
@@ -3401,7 +3401,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3401
3401
|
case "Form":
|
|
3402
3402
|
return {
|
|
3403
3403
|
type: "form",
|
|
3404
|
-
content:
|
|
3404
|
+
content: P(F || []),
|
|
3405
3405
|
value: "表单"
|
|
3406
3406
|
};
|
|
3407
3407
|
case "Table":
|
|
@@ -3418,7 +3418,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3418
3418
|
};
|
|
3419
3419
|
}
|
|
3420
3420
|
});
|
|
3421
|
-
},
|
|
3421
|
+
}, P = (B) => {
|
|
3422
3422
|
const C = {
|
|
3423
3423
|
formRules: {},
|
|
3424
3424
|
rowContents: [],
|
|
@@ -3513,7 +3513,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3513
3513
|
name: "Plus",
|
|
3514
3514
|
style: { width: "14px", height: "14px", "margin-right": "4px" }
|
|
3515
3515
|
}),
|
|
3516
|
-
C[5] || (C[5] =
|
|
3516
|
+
C[5] || (C[5] = Ue(" 新增标签页 "))
|
|
3517
3517
|
])
|
|
3518
3518
|
]),
|
|
3519
3519
|
u("div", co, [
|
|
@@ -3547,7 +3547,7 @@ const wn = /* @__PURE__ */ ge(kn, [["render", _n]]), xn = { class: "module conte
|
|
|
3547
3547
|
}, "取消"),
|
|
3548
3548
|
u("button", {
|
|
3549
3549
|
type: "primary",
|
|
3550
|
-
onClick:
|
|
3550
|
+
onClick: U
|
|
3551
3551
|
}, "确定")
|
|
3552
3552
|
]),
|
|
3553
3553
|
default: se(() => [
|