ss-component-new 1.1.621 → 1.1.623
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-B4fU_Oqr.js → index-B5t2-ZF6.js} +1 -1
- package/dist/{index-JuKGX07D.js → index-BCMeBOjv.js} +1 -1
- package/dist/{index-D5P_BYL7.cjs → index-BD6RuAif.cjs} +1 -1
- package/dist/{index-DE4qOxcb.cjs → index-BdEXRw33.cjs} +1 -1
- package/dist/{index-aptPIfv7.cjs → index-Bf6gYS22.cjs} +1 -1
- package/dist/{index-twApCU3A.js → index-BkdY6cw6.js} +1 -1
- package/dist/{index-CX298lYO.cjs → index-BoSad116.cjs} +1 -1
- package/dist/{index-BLUSTZzG.js → index-Br-w0WJD.js} +2 -2
- package/dist/{index-CEcr_wVS.js → index-BrKRAOn4.js} +2 -2
- package/dist/{index-CMgvFfxY.js → index-C9WrVGHF.js} +2 -2
- package/dist/{index-CW1zJWa7.cjs → index-CTmwu9TK.cjs} +1 -1
- package/dist/{index-CgHGkDUQ.js → index-ClfctUMo.js} +2 -2
- package/dist/{index-BdAqAS8j.cjs → index-Cn6GByoU.cjs} +1 -1
- package/dist/{index-DfQCPyug.js → index-CnWb9Gz8.js} +2 -2
- package/dist/{index-rBRZ7zGU.cjs → index-CzX-ygFB.cjs} +1 -1
- package/dist/{index-B6QTa9We.cjs → index-DJRurgY2.cjs} +1 -1
- package/dist/{index-OUcbra1H.cjs → index-DJSmgjQk.cjs} +1 -1
- package/dist/index-DN5pkkVv.cjs +1 -0
- package/dist/{index-BFWDxfM0.js → index-DOoBCwOE.js} +2 -2
- package/dist/{index-COcl6KL3.cjs → index-DWdWY1BZ.cjs} +1 -1
- package/dist/{index-By4IZGWU.cjs → index-DXCMSB90.cjs} +1 -1
- package/dist/{index-tyYdP21K.cjs → index-De1UH5m5.cjs} +1 -1
- package/dist/{index-YTvm8Dyq.cjs → index-Df_pm0Y-.cjs} +1 -1
- package/dist/{index-CMwn0ZEb.js → index-Df_wLpcP.js} +2 -2
- package/dist/{index-DUyXqunV.js → index-DqZD4y9T.js} +5 -5
- package/dist/{index-Cz_YKerb.js → index-J9CTbDdp.js} +10 -10
- package/dist/{index-D1eHyt-Y.js → index-NoRGArvy.js} +330 -328
- package/dist/{index-cwNAtWkQ.js → index-QkD67YhY.js} +3 -3
- package/dist/{index-DbxbzUiK.js → index-Qyw2gFZu.js} +1 -1
- package/dist/{index-BS0NY42k.js → index-S285mI0p.js} +1 -1
- package/dist/{index-Dmc9yBFD.cjs → index-Viq8WtM7.cjs} +13 -13
- package/dist/{index-DnY817qu.cjs → index-_kKZEgxm.cjs} +1 -1
- package/dist/{index-CPeCOE_d.js → index-koQady1K.js} +2128 -2010
- package/dist/{index-B6McL4Y5.cjs → index-meJ6fhCn.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BH9_Te0S.js → index.vue_vue_type_script_setup_true_lang-BhbHPZ34.js} +22 -22
- package/dist/{index.vue_vue_type_script_setup_true_lang-at_JPyg5.cjs → index.vue_vue_type_script_setup_true_lang-DoqHilMG.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BfNWM92-.cjs +1339 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-EGVEMSWV.js +62017 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DtoHG_C9.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DIgKXB3H.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-CHdL2mdi.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DkeTpBJu.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-CZvlVQ3K.js → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-D7pmcVtE.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-BmbIlTnn.cjs → index.vue_vue_type_style_index_0_scoped_57a7854d_lang-DG6bewEh.cjs} +1 -1
- package/dist/{main-DZAZF0E8.js → main-CJ_KB_5P.js} +2 -2
- package/dist/{main-MdhpVHXc.cjs → main-thQ5jkR7.cjs} +1 -1
- 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 +2 -2
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-BRkJrghm.cjs → threeModel-CGGVqbwo.cjs} +1 -1
- package/dist/{threeModel-C2biL1qd.js → threeModel-CkKiopXp.js} +1 -1
- package/package.json +3 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-Noso3rqY.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Br0-XuvP.js +0 -52928
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CZZJYhO9.cjs +0 -1286
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { b as Ua, a as Ea, s as Ka } from "./index-
|
|
1
|
+
import { b as Ua, a as Ea, s as Ka } from "./index-DOoBCwOE.js";
|
|
2
2
|
import { ref as z, watch as Ne, createElementBlock as fe, openBlock as Z, createVNode as J, createBlock as Se, createCommentVNode as Ye, resolveComponent as Be, Fragment as Te, renderList as Oe, createElementVNode as x, toDisplayString as ke, withCtx as ce, createTextVNode as Ee, defineComponent as yl, reactive as la, resolveDynamicComponent as Kl, unref as $a, computed as aa, renderSlot as Wl, createSlots as Wa, mergeProps as za, normalizeStyle as Ma, withModifiers as Nl } from "vue";
|
|
3
3
|
import { bR as Ba, p as Ze, c as l, d as zl, s as ol, E as ll, u as Ja, g as Ul, bO as Ca, bM as wa, bN as Ga } from "./menu-wif0xsml.js";
|
|
4
|
-
import { e as Ke, f as Ha, s as Je, h as Ta, a as qa, i as Qa, j as Xa, b as Ya } from "./index-
|
|
5
|
-
import { F as Da, u as Za, I as il, v as es, w as Ve, x as kl, y as sl, z as ml, A as Ql, g as hl, B as ls, C as as, D as ss, E as is, G as ns, H as Aa, K as os, L as us, M as rs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
+
import { e as Ke, f as Ha, s as Je, h as Ta, a as qa, i as Qa, j as Xa, b as Ya } from "./index-koQady1K.js";
|
|
5
|
+
import { F as Da, u as Za, I as il, v as es, w as Ve, x as kl, y as sl, z as ml, A as Ql, g as hl, B as ls, C as as, D as ss, E as is, G as ns, H as Aa, K as os, L as us, M as rs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-EGVEMSWV.js";
|
|
6
6
|
import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { E as dl } from "./index-BHxSsIXo.js";
|
|
8
8
|
import { u as Sa } from "./modelComp-bhPfLPDx.js";
|
|
9
9
|
import { u as cs } from "./login-wUTWXQ7u.js";
|
|
10
|
-
import { s as ts, a as ds } from "./index-
|
|
10
|
+
import { s as ts, a as ds } from "./index-Df_wLpcP.js";
|
|
11
11
|
import ps from "./index-CZtXRS3l.js";
|
|
12
12
|
const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
13
13
|
state: () => ({
|
|
@@ -38,7 +38,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["change", "contentChange"],
|
|
40
40
|
setup(p, { emit: k }) {
|
|
41
|
-
const n = p, s = k, f = z([]), F = z(!1),
|
|
41
|
+
const n = p, s = k, f = z([]), F = z(!1), P = z(!1), w = z([]), R = z(), U = Ua(Ze), S = hs(Ze), X = z(!1), Y = z(), pe = async (m) => {
|
|
42
42
|
var c, h, a, d, _, O, T, ne, K, oe;
|
|
43
43
|
let W = [];
|
|
44
44
|
if ((c = m == null ? void 0 : m.toString()) != null && c.includes(".stl") || (h = m == null ? void 0 : m.toString()) != null && h.includes(".STL") || (a = m == null ? void 0 : m.toString()) != null && a.includes(".obj") || (d = m == null ? void 0 : m.toString()) != null && d.includes(".mtl") || (_ = m == null ? void 0 : m.toString()) != null && _.includes(".urdf")) {
|
|
@@ -58,7 +58,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
58
58
|
}), (K = B.blob) != null && K.includes(".stl") && (M = (M == null ? void 0 : M.replaceAll(">", "")) + ".urdf"), R.value = [{
|
|
59
59
|
name: M,
|
|
60
60
|
blobUrl: I
|
|
61
|
-
}],
|
|
61
|
+
}], P.value = !0;
|
|
62
62
|
}
|
|
63
63
|
} else {
|
|
64
64
|
const i = await zl.get(m, {
|
|
@@ -76,11 +76,11 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
76
76
|
}), R.value = [{
|
|
77
77
|
name: o,
|
|
78
78
|
blobUrl: B
|
|
79
|
-
}],
|
|
79
|
+
}], P.value = !0;
|
|
80
80
|
}
|
|
81
81
|
(W == null ? void 0 : W.length) > 0 && S.setBlobUrls(W);
|
|
82
82
|
}, ue = () => {
|
|
83
|
-
|
|
83
|
+
P.value = !1;
|
|
84
84
|
}, de = (m) => {
|
|
85
85
|
var d, _, O, T;
|
|
86
86
|
const W = (_ = (d = l(n.itemData)) == null ? void 0 : d.find((ne) => (ne == null ? void 0 : ne.key) === "formContent")) == null ? void 0 : _.contents, c = l(m.content);
|
|
@@ -100,14 +100,14 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
100
100
|
const W = l(n.itemData), c = W == null ? void 0 : W.map((T) => {
|
|
101
101
|
var ne;
|
|
102
102
|
return (T == null ? void 0 : T.key) === "formContent" && ((ne = T.contents) == null || ne.map((K, oe) => {
|
|
103
|
-
var i, E, B, o, I, M, L, u, b, $, Q, me, re, t, D, g,
|
|
104
|
-
return K.type = K != null && K.type ? K.type : (o = (B = (E = (i = K == null ? void 0 : K.key) == null ? void 0 : i.split("$")) == null ? void 0 : E[1]) == null ? void 0 : B.split("(")) != null && o[0] ? (M = (I = Da) == null ? void 0 : I.find((
|
|
105
|
-
var ve,
|
|
106
|
-
return (
|
|
107
|
-
})) == null ? void 0 : M.value : "Input", K.options = K != null && K.options ? K.options : ((b = (u = (L = K == null ? void 0 : K.key) == null ? void 0 : L.split("$")) == null ? void 0 : u[1]) == null ? void 0 : b.length) > 0 ? (re = (me = fs((Q = ($ = K == null ? void 0 : K.key) == null ? void 0 : $.split("$")) == null ? void 0 : Q[1])) == null ? void 0 : me.split(",")) == null ? void 0 : re.map((
|
|
108
|
-
label:
|
|
109
|
-
value:
|
|
110
|
-
})) : [], (t = K == null ? void 0 : K.key) != null && t.includes("$") && (K.key = (g = (D = K == null ? void 0 : K.key) == null ? void 0 : D.split("$")) == null ? void 0 : g[0]), K.value = (
|
|
103
|
+
var i, E, B, o, I, M, L, u, b, $, Q, me, re, t, D, g, ee;
|
|
104
|
+
return K.type = K != null && K.type ? K.type : (o = (B = (E = (i = K == null ? void 0 : K.key) == null ? void 0 : i.split("$")) == null ? void 0 : E[1]) == null ? void 0 : B.split("(")) != null && o[0] ? (M = (I = Da) == null ? void 0 : I.find((G) => {
|
|
105
|
+
var ve, le, se, te;
|
|
106
|
+
return (G == null ? void 0 : G.key) === ((te = (se = (le = (ve = K == null ? void 0 : K.key) == null ? void 0 : ve.split("$")) == null ? void 0 : le[1]) == null ? void 0 : se.split("(")) == null ? void 0 : te[0]);
|
|
107
|
+
})) == null ? void 0 : M.value : "Input", K.options = K != null && K.options ? K.options : ((b = (u = (L = K == null ? void 0 : K.key) == null ? void 0 : L.split("$")) == null ? void 0 : u[1]) == null ? void 0 : b.length) > 0 ? (re = (me = fs((Q = ($ = K == null ? void 0 : K.key) == null ? void 0 : $.split("$")) == null ? void 0 : Q[1])) == null ? void 0 : me.split(",")) == null ? void 0 : re.map((G) => ({
|
|
108
|
+
label: G,
|
|
109
|
+
value: G
|
|
110
|
+
})) : [], (t = K == null ? void 0 : K.key) != null && t.includes("$") && (K.key = (g = (D = K == null ? void 0 : K.key) == null ? void 0 : D.split("$")) == null ? void 0 : g[0]), K.value = (ee = Object.values(m)) == null ? void 0 : ee[oe], K;
|
|
111
111
|
})), T;
|
|
112
112
|
});
|
|
113
113
|
let h = [], a = [];
|
|
@@ -152,18 +152,18 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
152
152
|
const m = (d = n.itemData) == null ? void 0 : d.find((u) => (u == null ? void 0 : u.key) === "formContent"), W = (_ = l(n.itemData)) == null ? void 0 : _.find((u) => (u == null ? void 0 : u.key) === "formButton"), c = (O = l(n.itemData)) == null ? void 0 : O.find((u) => (u == null ? void 0 : u.key) === "formFlex"), h = (T = l(n.itemData)) == null ? void 0 : T.find((u) => (u == null ? void 0 : u.key) === "formWrap"), a = (ne = l(n.itemData)) == null ? void 0 : ne.find((u) => (u == null ? void 0 : u.key) === "enableWrap");
|
|
153
153
|
if ((h == null ? void 0 : h.contents) === "纵向" ? F.value = !1 : F.value = !0, X.value = (a == null ? void 0 : a.contents) === void 0 ? !1 : a == null ? void 0 : a.contents, Y.value = typeof (c == null ? void 0 : c.contents) != "boolean" ? !(!(c != null && c.contents) === "" || ((K = c == null ? void 0 : c.contents) == null ? void 0 : K.toUpperCase()) === "VERTICAL") : c == null ? void 0 : c.contents, ((oe = m == null ? void 0 : m.contents) == null ? void 0 : oe.length) > 0 && Array.isArray(m == null ? void 0 : m.contents)) {
|
|
154
154
|
const u = await ((i = m == null ? void 0 : m.contents) == null ? void 0 : i.map(async (t, D) => {
|
|
155
|
-
var g,
|
|
155
|
+
var g, ee, G, ve, le, se, te, we, ye, H, e, r, y;
|
|
156
156
|
if ((t == null ? void 0 : t.label) !== "") {
|
|
157
157
|
let v = (t == null ? void 0 : t.label) ?? (t == null ? void 0 : t.key) ?? "", C = (t == null ? void 0 : t.type) ?? "", N = (t == null ? void 0 : t.options) ?? [];
|
|
158
|
-
if ((g = t == null ? void 0 : t.key) != null && g.includes("$") && (v = (
|
|
159
|
-
const [ge, _e] = (
|
|
158
|
+
if ((g = t == null ? void 0 : t.key) != null && g.includes("$") && (v = (ee = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : ee[0], ((ve = (G = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : G[1]) == null ? void 0 : ve.length) > 0)) {
|
|
159
|
+
const [ge, _e] = (se = (le = l(t == null ? void 0 : t.key).split("$")) == null ? void 0 : le[1]) == null ? void 0 : se.split(/[()]/);
|
|
160
160
|
C = ((te = Da.find((Ce) => (Ce == null ? void 0 : Ce.key) === ge)) == null ? void 0 : te.value) ?? "", ((we = _e == null ? void 0 : _e.split(",")) == null ? void 0 : we.length) > 0 && (N = (ye = _e == null ? void 0 : _e.split(",")) == null ? void 0 : ye.map((Ce) => ({
|
|
161
161
|
label: Ce,
|
|
162
162
|
value: Ce
|
|
163
163
|
})));
|
|
164
164
|
}
|
|
165
|
-
let
|
|
166
|
-
t != null && t.contents && !Array.isArray(t == null ? void 0 : t.contents) && (
|
|
165
|
+
let ae = [];
|
|
166
|
+
t != null && t.contents && !Array.isArray(t == null ? void 0 : t.contents) && (ae = (e = (H = t == null ? void 0 : t.contents) == null ? void 0 : H.split(",")) == null ? void 0 : e.map((ge) => ({
|
|
167
167
|
label: ge,
|
|
168
168
|
value: ge
|
|
169
169
|
})));
|
|
@@ -174,7 +174,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
174
174
|
type: V !== void 0 || C === "" ? "Input" : C,
|
|
175
175
|
value: V !== void 0 && !(t != null && t.value) ? V : t != null && t.originalContent && (t == null ? void 0 : t.originalContent) !== "" ? t.originalContent : t != null && t.value ? t.value : (N == null ? void 0 : N.length) > 0 ? (y = N == null ? void 0 : N[0]) == null ? void 0 : y.value : (t == null ? void 0 : t.value) ?? "",
|
|
176
176
|
id: (t == null ? void 0 : t.id) ?? D,
|
|
177
|
-
contents: (
|
|
177
|
+
contents: (ae == null ? void 0 : ae.length) > 0 ? ae : N ?? [],
|
|
178
178
|
width: (t == null ? void 0 : t.width) ?? 1,
|
|
179
179
|
config: t == null ? void 0 : t.config,
|
|
180
180
|
optionUrl: (t == null ? void 0 : t.optionUrl) ?? t,
|
|
@@ -190,8 +190,8 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
190
190
|
if ((B = l(f.value)) == null || B.forEach((t) => {
|
|
191
191
|
var D;
|
|
192
192
|
Array.isArray(t == null ? void 0 : t.value) && ((D = t == null ? void 0 : t.value) != null && D.find((g) => {
|
|
193
|
-
var
|
|
194
|
-
return (
|
|
193
|
+
var ee;
|
|
194
|
+
return (ee = g == null ? void 0 : g.url) == null ? void 0 : ee.includes(".obj");
|
|
195
195
|
})) && (re = t == null ? void 0 : t.value);
|
|
196
196
|
}), (re == null ? void 0 : re.length) > 0) {
|
|
197
197
|
const t = (o = l(re)) == null ? void 0 : o.filter((D) => {
|
|
@@ -199,28 +199,28 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
199
199
|
return (g = D == null ? void 0 : D.url) == null ? void 0 : g.includes(".obj");
|
|
200
200
|
});
|
|
201
201
|
t == null || t.forEach((D) => {
|
|
202
|
-
var
|
|
203
|
-
const g = (
|
|
202
|
+
var ee, G, ve, le;
|
|
203
|
+
const g = (ee = re == null ? void 0 : re.filter((se) => {
|
|
204
204
|
var te;
|
|
205
|
-
return (
|
|
206
|
-
})) == null ? void 0 :
|
|
205
|
+
return (se == null ? void 0 : se.name) === (D == null ? void 0 : D.name) && ((te = se == null ? void 0 : se.url) == null ? void 0 : te.includes(".mtl"));
|
|
206
|
+
})) == null ? void 0 : ee.map((se) => se == null ? void 0 : se.url);
|
|
207
207
|
me.push({
|
|
208
208
|
objUrl: D == null ? void 0 : D.url,
|
|
209
|
-
mtlUrls: ((
|
|
209
|
+
mtlUrls: ((G = re == null ? void 0 : re.filter((se) => {
|
|
210
210
|
var te;
|
|
211
|
-
return (
|
|
212
|
-
})) == null ? void 0 :
|
|
211
|
+
return (se == null ? void 0 : se.name) === (D == null ? void 0 : D.name) && ((te = se == null ? void 0 : se.url) == null ? void 0 : te.includes(".mtl"));
|
|
212
|
+
})) == null ? void 0 : G.length) === 1 ? (le = (ve = re == null ? void 0 : re.filter((se) => {
|
|
213
213
|
var te;
|
|
214
|
-
return (
|
|
215
|
-
})) == null ? void 0 : ve[0]) == null ? void 0 :
|
|
214
|
+
return (se == null ? void 0 : se.name) === (D == null ? void 0 : D.name) && ((te = se == null ? void 0 : se.url) == null ? void 0 : te.includes(".mtl"));
|
|
215
|
+
})) == null ? void 0 : ve[0]) == null ? void 0 : le.url : g
|
|
216
216
|
});
|
|
217
217
|
}), S.setObjUrl(me);
|
|
218
218
|
}
|
|
219
219
|
(I = l(f.value)) == null || I.forEach((t) => {
|
|
220
|
-
var D, g,
|
|
221
|
-
if ((g = (D = t == null ? void 0 : t.value) == null ? void 0 : D.toString()) != null && g.includes(".stl") || (
|
|
220
|
+
var D, g, ee, G, ve, le, se, te, we, ye, H, e, r;
|
|
221
|
+
if ((g = (D = t == null ? void 0 : t.value) == null ? void 0 : D.toString()) != null && g.includes(".stl") || (G = (ee = t == null ? void 0 : t.value) == null ? void 0 : ee.toString()) != null && G.includes(".STL") || (le = (ve = t == null ? void 0 : t.value) == null ? void 0 : ve.toString()) != null && le.includes(".obj") || (te = (se = t == null ? void 0 : t.value) == null ? void 0 : se.toString()) != null && te.includes(".mtl") || (ye = (we = t == null ? void 0 : t.value) == null ? void 0 : we.toString()) != null && ye.includes(".urdf")) {
|
|
222
222
|
let y = {}, v = [], C;
|
|
223
|
-
Array.isArray(t == null ? void 0 : t.value) ? C = t == null ? void 0 : t.value : C = (
|
|
223
|
+
Array.isArray(t == null ? void 0 : t.value) ? C = t == null ? void 0 : t.value : C = (H = t == null ? void 0 : t.value) == null ? void 0 : H.split(","), C == null || C.forEach((N) => {
|
|
224
224
|
N.includes(".mtl") ? v.push(N) : y.blob = y.blob === "undefined" ? N : y.blob + "," + N;
|
|
225
225
|
}), (v == null ? void 0 : v.length) > 0 && (y.mtlBlobs = v), (r = (e = Object.values(y)) == null ? void 0 : e[0]) != null && r.includes("http:");
|
|
226
226
|
}
|
|
@@ -253,7 +253,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
253
253
|
isButtonRow: F.value,
|
|
254
254
|
onPreview: pe
|
|
255
255
|
}, null, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "isButtonRow"]),
|
|
256
|
-
|
|
256
|
+
P.value ? (Z(), Se(Ha, {
|
|
257
257
|
key: 0,
|
|
258
258
|
fileDataList: R.value,
|
|
259
259
|
onDestroy: ue
|
|
@@ -418,7 +418,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
418
418
|
},
|
|
419
419
|
emits: ["fixChange", "deleteChange"],
|
|
420
420
|
setup(p, { emit: k }) {
|
|
421
|
-
const n = p, s = k, f = z(!1), F = z(""),
|
|
421
|
+
const n = p, s = k, f = z(!1), F = z(""), P = Ea(Ze), { tableIndex: w } = ol(P);
|
|
422
422
|
z(0);
|
|
423
423
|
const R = z(""), U = z([]), S = z([]), X = (c) => {
|
|
424
424
|
var a;
|
|
@@ -426,7 +426,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
426
426
|
let h = [];
|
|
427
427
|
Ae == null || Ae.forEach((d) => {
|
|
428
428
|
let _ = l(w.value) + 1;
|
|
429
|
-
|
|
429
|
+
P.setTableIndex(_), h.push({
|
|
430
430
|
label: d == null ? void 0 : d.label,
|
|
431
431
|
name: d == null ? void 0 : d.label,
|
|
432
432
|
type: d.type,
|
|
@@ -447,7 +447,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
447
447
|
let h = [];
|
|
448
448
|
Ae == null || Ae.forEach((a) => {
|
|
449
449
|
let d = l(w.value) + 1;
|
|
450
|
-
|
|
450
|
+
P.setTableIndex(d), h.push({
|
|
451
451
|
label: a == null ? void 0 : a.label,
|
|
452
452
|
name: a == null ? void 0 : a.label,
|
|
453
453
|
type: a.type,
|
|
@@ -474,7 +474,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
474
474
|
});
|
|
475
475
|
else {
|
|
476
476
|
let d = l(w.value) + 1;
|
|
477
|
-
|
|
477
|
+
P.setTableIndex(d), c.id = "id" + w.value, (a = U.value) == null || a.forEach((_) => {
|
|
478
478
|
const O = Ae == null ? void 0 : Ae.find((T) => (T == null ? void 0 : T.label) === (_ == null ? void 0 : _.label));
|
|
479
479
|
O ? c[O.key] = _.value : _ != null && _.children && _.children.length > 0 && (c.children = _.children);
|
|
480
480
|
}), f.value = !1, s("fixChange", {
|
|
@@ -575,7 +575,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
575
575
|
},
|
|
576
576
|
emits: ["fixChange", "deleteChange"],
|
|
577
577
|
setup(p, { emit: k }) {
|
|
578
|
-
const n = p, s = k, f = z(!1), F = z(""),
|
|
578
|
+
const n = p, s = k, f = z(!1), F = z(""), P = Ea(Ze), { tableIndex: w } = ol(P), R = z(""), U = z([]), S = z([]), X = (c) => {
|
|
579
579
|
s("fixChange", l(c));
|
|
580
580
|
}, Y = (c) => {
|
|
581
581
|
var a;
|
|
@@ -583,7 +583,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
583
583
|
let h = [];
|
|
584
584
|
Ae == null || Ae.forEach((d) => {
|
|
585
585
|
let _ = l(w.value) + 1;
|
|
586
|
-
|
|
586
|
+
P.setTableIndex(_), h.push({
|
|
587
587
|
label: d == null ? void 0 : d.label,
|
|
588
588
|
name: d == null ? void 0 : d.label,
|
|
589
589
|
type: d.type,
|
|
@@ -600,7 +600,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
600
600
|
let h = [];
|
|
601
601
|
Ae == null || Ae.forEach((a) => {
|
|
602
602
|
let d = l(w.value) + 1;
|
|
603
|
-
|
|
603
|
+
P.setTableIndex(d), h.push({
|
|
604
604
|
label: a == null ? void 0 : a.label,
|
|
605
605
|
name: a == null ? void 0 : a.label,
|
|
606
606
|
type: a.type,
|
|
@@ -627,7 +627,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
627
627
|
});
|
|
628
628
|
else {
|
|
629
629
|
let d = l(w.value) + 1;
|
|
630
|
-
|
|
630
|
+
P.setTableIndex(d), c.id = "idChild" + w.value, (a = U.value) == null || a.forEach((_) => {
|
|
631
631
|
const O = Ae == null ? void 0 : Ae.find((T) => (T == null ? void 0 : T.label) === (_ == null ? void 0 : _.label));
|
|
632
632
|
O ? c[O.key] = _.value : _ != null && _.children && _.children.length > 0 && (c.children = _.children);
|
|
633
633
|
}), f.value = !1, s("fixChange", {
|
|
@@ -751,7 +751,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
751
751
|
},
|
|
752
752
|
emits: ["change"],
|
|
753
753
|
setup(p, { emit: k }) {
|
|
754
|
-
const n = p, s = k, f = z([]), F = z(!1),
|
|
754
|
+
const n = p, s = k, f = z([]), F = z(!1), P = z(!1), w = z([]), R = z(!1), U = z([]), S = z(!1), X = z([]), Y = z(""), pe = z(""), ue = z([]), de = z([]), A = z([]), m = z([]), W = z(!1), c = z([]), h = z([]), a = z(0), d = z([]), _ = z([]), O = z([]), T = () => {
|
|
755
755
|
W.value = !0;
|
|
756
756
|
let e = [];
|
|
757
757
|
cl == null || cl.forEach((r) => {
|
|
@@ -766,7 +766,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
766
766
|
}), c.value = e, h.value = e;
|
|
767
767
|
}, ne = () => {
|
|
768
768
|
var r, y, v;
|
|
769
|
-
|
|
769
|
+
P.value = !0;
|
|
770
770
|
let e = [];
|
|
771
771
|
(v = (y = (r = Ve) == null ? void 0 : r.find((C) => (C == null ? void 0 : C.key) === "Input")) == null ? void 0 : y.value) == null || v.forEach((C) => {
|
|
772
772
|
a.value++, e.push({
|
|
@@ -781,9 +781,9 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
781
781
|
}, K = (e) => {
|
|
782
782
|
e || (d.value = _.value);
|
|
783
783
|
}, oe = async (e) => {
|
|
784
|
-
var r, y, v, C, N,
|
|
784
|
+
var r, y, v, C, N, ae, V, q, ge, _e, Ce, he;
|
|
785
785
|
if ((e == null ? void 0 : e.类型) !== ((y = (r = _.value) == null ? void 0 : r.find((ie) => (ie == null ? void 0 : ie.label) === "类型")) == null ? void 0 : y.value)) {
|
|
786
|
-
let ie = [], Ie = await ((N = (C = (v = Ve) == null ? void 0 : v.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : C.value) == null ? void 0 : N.value) ? await ((_e = (ge = (
|
|
786
|
+
let ie = [], Ie = await ((N = (C = (v = Ve) == null ? void 0 : v.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : C.value) == null ? void 0 : N.value) ? await ((_e = (ge = (q = Ve) == null ? void 0 : q.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : ge.value) == null ? void 0 : _e.value) : (V = (ae = Ve) == null ? void 0 : ae.find((be) => (be == null ? void 0 : be.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : V.value;
|
|
787
787
|
if (Ie == null || Ie.forEach((be) => {
|
|
788
788
|
a.value++, ie.push({
|
|
789
789
|
label: be == null ? void 0 : be.label,
|
|
@@ -809,10 +809,10 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
809
809
|
}, i = async (e) => {
|
|
810
810
|
await oe(e), d.value = _.value;
|
|
811
811
|
}, E = async (e) => {
|
|
812
|
-
var v, C, N,
|
|
813
|
-
|
|
812
|
+
var v, C, N, ae, V, q, ge, _e, Ce;
|
|
813
|
+
P.value = !0;
|
|
814
814
|
let r = [];
|
|
815
|
-
const y = await ((N = (C = (v = Ve) == null ? void 0 : v.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : C.value) == null ? void 0 : N.value) ? await ((_e = (ge = (
|
|
815
|
+
const y = await ((N = (C = (v = Ve) == null ? void 0 : v.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : C.value) == null ? void 0 : N.value) ? await ((_e = (ge = (q = Ve) == null ? void 0 : q.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : ge.value) == null ? void 0 : _e.value) : (V = (ae = Ve) == null ? void 0 : ae.find((he) => (he == null ? void 0 : he.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : V.value;
|
|
816
816
|
if (y == null || y.forEach((he) => {
|
|
817
817
|
a.value++, r.push({
|
|
818
818
|
label: he == null ? void 0 : he.label,
|
|
@@ -843,20 +843,20 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
843
843
|
).catch(() => {
|
|
844
844
|
});
|
|
845
845
|
}, o = () => {
|
|
846
|
-
|
|
846
|
+
P.value = !1, d.value = [], Y.value = "";
|
|
847
847
|
}, I = async () => {
|
|
848
|
-
var v, C, N,
|
|
848
|
+
var v, C, N, ae, V, q, ge, _e, Ce, he;
|
|
849
849
|
d.value = _.value;
|
|
850
850
|
let e = {};
|
|
851
851
|
Y.value !== "" ? e.id = Y.value : (a.value++, e.id = "id" + a.value);
|
|
852
852
|
let r = await ((N = (C = (v = Ve) == null ? void 0 : v.find((ie) => {
|
|
853
853
|
var Ie, be;
|
|
854
854
|
return (ie == null ? void 0 : ie.key) === (((be = (Ie = d.value) == null ? void 0 : Ie.find(($e) => ($e == null ? void 0 : $e.label) === "类型")) == null ? void 0 : be.value) ?? "label");
|
|
855
|
-
})) == null ? void 0 : C.value) == null ? void 0 : N.value) ?? ((V = (
|
|
855
|
+
})) == null ? void 0 : C.value) == null ? void 0 : N.value) ?? ((V = (ae = Ve) == null ? void 0 : ae.find((ie) => {
|
|
856
856
|
var Ie, be;
|
|
857
857
|
return (ie == null ? void 0 : ie.key) === (((be = (Ie = d.value) == null ? void 0 : Ie.find(($e) => ($e == null ? void 0 : $e.label) === "类型")) == null ? void 0 : be.value) ?? "label");
|
|
858
858
|
})) == null ? void 0 : V.value);
|
|
859
|
-
if ((
|
|
859
|
+
if ((q = d.value) == null || q.forEach((ie) => {
|
|
860
860
|
const Ie = r == null ? void 0 : r.find((be) => (be == null ? void 0 : be.label) === (ie == null ? void 0 : ie.label));
|
|
861
861
|
Ie && (e[Ie.key] = ie.value);
|
|
862
862
|
}), e.name = e.label, (ge = O.value) != null && ge.find((ie) => ie.id === e.id))
|
|
@@ -865,7 +865,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
865
865
|
let ie = l(O.value);
|
|
866
866
|
O.value || (O.value = []), ie.push(e), O.value = ie;
|
|
867
867
|
}
|
|
868
|
-
O.value = O.value.map(({ id: ie, ...Ie }) => Ie),
|
|
868
|
+
O.value = O.value.map(({ id: ie, ...Ie }) => Ie), P.value = !1, Y.value = "";
|
|
869
869
|
let y = l(n.originalItemContents);
|
|
870
870
|
(Ce = l(n.originalItemContents)) != null && Ce.find((ie) => (ie == null ? void 0 : ie.key) === "tableToForm") ? y = (he = l(n.originalItemContents)) == null ? void 0 : he.map((ie) => ((ie == null ? void 0 : ie.key) === "tableToForm" && (ie.contents = O.value), ie)) : y.push({
|
|
871
871
|
key: "tableToForm",
|
|
@@ -913,12 +913,12 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
913
913
|
).catch(() => {
|
|
914
914
|
});
|
|
915
915
|
}, u = () => {
|
|
916
|
-
var y, v, C, N,
|
|
916
|
+
var y, v, C, N, ae;
|
|
917
917
|
c.value = h.value;
|
|
918
918
|
let e = {};
|
|
919
919
|
if (Y.value !== "" ? e.id = Y.value : (a.value++, e.id = "id" + a.value), (y = c.value) == null || y.forEach((V) => {
|
|
920
|
-
const
|
|
921
|
-
|
|
920
|
+
const q = cl == null ? void 0 : cl.find((ge) => (ge == null ? void 0 : ge.label) === (V == null ? void 0 : V.label));
|
|
921
|
+
q ? e[q.key] = V.value : V != null && V.children && V.children.length > 0 && (e.children = V.children);
|
|
922
922
|
}), (v = de.value) != null && v.find((V) => V.id === e.id))
|
|
923
923
|
de.value = (C = de.value) == null ? void 0 : C.map((V) => (V.id === e.id && (V = e), V));
|
|
924
924
|
else {
|
|
@@ -927,7 +927,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
927
927
|
}
|
|
928
928
|
W.value = !1, Y.value = "";
|
|
929
929
|
let r = l(n.originalItemContents);
|
|
930
|
-
(N = l(n.originalItemContents)) != null && N.find((V) => (V == null ? void 0 : V.key) === "extraButton") ? r = (
|
|
930
|
+
(N = l(n.originalItemContents)) != null && N.find((V) => (V == null ? void 0 : V.key) === "extraButton") ? r = (ae = l(n.originalItemContents)) == null ? void 0 : ae.map((V) => ((V == null ? void 0 : V.key) === "extraButton" && (V.contents = de.value), V)) : r.push({
|
|
931
931
|
key: "extraButton",
|
|
932
932
|
contents: de.value
|
|
933
933
|
}), s("change", r);
|
|
@@ -994,12 +994,12 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
994
994
|
let r = l(m.value);
|
|
995
995
|
r = r == null ? void 0 : r.map((y) => (y.children || (y.value = e == null ? void 0 : e[y.name]), y)), m.value = r;
|
|
996
996
|
}, g = () => {
|
|
997
|
-
var y, v, C, N,
|
|
997
|
+
var y, v, C, N, ae;
|
|
998
998
|
A.value = m.value;
|
|
999
999
|
let e = {};
|
|
1000
1000
|
if (Y.value !== "" ? e.id = Y.value : (a.value++, e.id = "id" + a.value), (y = A.value) == null || y.forEach((V) => {
|
|
1001
|
-
const
|
|
1002
|
-
|
|
1001
|
+
const q = tl == null ? void 0 : tl.find((ge) => (ge == null ? void 0 : ge.label) === (V == null ? void 0 : V.label));
|
|
1002
|
+
q ? e[q.key] = V.value : V != null && V.children && V.children.length > 0 && (e.children = V.children);
|
|
1003
1003
|
}), (v = ue.value) != null && v.find((V) => V.id === e.id))
|
|
1004
1004
|
ue.value = (C = ue.value) == null ? void 0 : C.map((V) => (V.id === e.id && (V = e), V));
|
|
1005
1005
|
else {
|
|
@@ -1008,13 +1008,13 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
R.value = !1, Y.value = "";
|
|
1010
1010
|
let r = l(n.originalItemContents);
|
|
1011
|
-
(N = l(n.originalItemContents)) != null && N.find((V) => (V == null ? void 0 : V.key) === "rowButton") ? r = (
|
|
1011
|
+
(N = l(n.originalItemContents)) != null && N.find((V) => (V == null ? void 0 : V.key) === "rowButton") ? r = (ae = l(n.originalItemContents)) == null ? void 0 : ae.map((V) => ((V == null ? void 0 : V.key) === "rowButton" && (V.contents = ue.value), V)) : r.push({
|
|
1012
1012
|
key: "rowButton",
|
|
1013
1013
|
contents: ue.value
|
|
1014
1014
|
}), s("change", r);
|
|
1015
|
-
},
|
|
1015
|
+
}, ee = () => {
|
|
1016
1016
|
R.value = !1, Y.value = "", m.value = [], A.value = [];
|
|
1017
|
-
},
|
|
1017
|
+
}, G = (e) => {
|
|
1018
1018
|
F.value = !0;
|
|
1019
1019
|
let r = [];
|
|
1020
1020
|
Ae == null || Ae.forEach((y) => {
|
|
@@ -1033,7 +1033,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1033
1033
|
var v;
|
|
1034
1034
|
return (y == null ? void 0 : y.key) === "header" && (y.contents = (v = w.value) != null && v.some((C) => C == null ? void 0 : C.children) ? [w.value] : w.value), y;
|
|
1035
1035
|
}));
|
|
1036
|
-
},
|
|
1036
|
+
}, le = (e) => {
|
|
1037
1037
|
var y, v, C;
|
|
1038
1038
|
e.type === "fix" ? e.id !== "" ? w.value = Ra(w.value, e) : w.value = La(w.value, e == null ? void 0 : e.contents) : w.value = Pa(w.value, e), w.value = (y = w.value) != null && y.some((N) => N == null ? void 0 : N.children) ? [w.value] : w.value, Y.value = "";
|
|
1039
1039
|
let r = l(n.originalItemContents);
|
|
@@ -1041,7 +1041,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1041
1041
|
key: "header",
|
|
1042
1042
|
contents: w.value
|
|
1043
1043
|
}), s("change", r);
|
|
1044
|
-
},
|
|
1044
|
+
}, se = (e) => {
|
|
1045
1045
|
var y;
|
|
1046
1046
|
F.value = !0;
|
|
1047
1047
|
let r = [];
|
|
@@ -1064,25 +1064,25 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1064
1064
|
}, we = () => {
|
|
1065
1065
|
F.value = !1, Y.value = "", pe.value = "", X.value = [];
|
|
1066
1066
|
}, ye = () => {
|
|
1067
|
-
var y, v, C, N,
|
|
1067
|
+
var y, v, C, N, ae, V;
|
|
1068
1068
|
U.value = X.value;
|
|
1069
1069
|
let e = {};
|
|
1070
|
-
if (Y.value !== "" ? e.id = Y.value : (a.value++, e.id = "id" + a.value), (y = U.value) == null || y.forEach((
|
|
1071
|
-
const ge = Ae == null ? void 0 : Ae.find((_e) => (_e == null ? void 0 : _e.label) === (
|
|
1072
|
-
ge ? e[ge.key] =
|
|
1073
|
-
}), (v = w.value) != null && v.find((
|
|
1074
|
-
w.value = (C = w.value) == null ? void 0 : C.map((
|
|
1070
|
+
if (Y.value !== "" ? e.id = Y.value : (a.value++, e.id = "id" + a.value), (y = U.value) == null || y.forEach((q) => {
|
|
1071
|
+
const ge = Ae == null ? void 0 : Ae.find((_e) => (_e == null ? void 0 : _e.label) === (q == null ? void 0 : q.label));
|
|
1072
|
+
ge ? e[ge.key] = q.value : q != null && q.children && q.children.length > 0 && (e.children = q.children);
|
|
1073
|
+
}), (v = w.value) != null && v.find((q) => q.id === e.id))
|
|
1074
|
+
w.value = (C = w.value) == null ? void 0 : C.map((q) => (q.id === e.id && (q = e), q));
|
|
1075
1075
|
else {
|
|
1076
|
-
let
|
|
1077
|
-
pe.value === "" ?
|
|
1076
|
+
let q = l(w.value) ?? [];
|
|
1077
|
+
pe.value === "" ? q.push(e) : q = q == null ? void 0 : q.map((ge) => (ge.id === pe.value && (ge.children || (ge.children = []), ge.children.push(e)), ge)), w.value = q;
|
|
1078
1078
|
}
|
|
1079
|
-
w.value = (N = w.value) != null && N.some((
|
|
1079
|
+
w.value = (N = w.value) != null && N.some((q) => q == null ? void 0 : q.children) ? [w.value] : w.value, F.value = !1, Y.value = "", pe.value = "";
|
|
1080
1080
|
let r = l(n.originalItemContents);
|
|
1081
|
-
(
|
|
1081
|
+
(ae = l(n.originalItemContents)) != null && ae.find((q) => (q == null ? void 0 : q.key) === "header") ? r = (V = l(n.originalItemContents)) == null ? void 0 : V.map((q) => ((q == null ? void 0 : q.key) === "header" && (q.contents = w.value), q)) : r.push({
|
|
1082
1082
|
key: "header",
|
|
1083
1083
|
contents: w.value
|
|
1084
1084
|
}), s("change", r);
|
|
1085
|
-
},
|
|
1085
|
+
}, H = (e) => {
|
|
1086
1086
|
dl.confirm("是否确认要删除", "", {
|
|
1087
1087
|
confirmButtonText: "确认",
|
|
1088
1088
|
cancelButtonText: "取消",
|
|
@@ -1104,41 +1104,41 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1104
1104
|
return Ne(
|
|
1105
1105
|
() => n.originalItemContents,
|
|
1106
1106
|
() => {
|
|
1107
|
-
var e, r, y, v, C, N,
|
|
1107
|
+
var e, r, y, v, C, N, ae, V, q, ge, _e, Ce, he, ie, Ie, be, $e, We, ze;
|
|
1108
1108
|
if (!(!n.originalItemContents || n.originalItemContents.length === 0))
|
|
1109
|
-
if (f.value = l(n.originalItemContents), w.value = (r = (e = f.value) == null ? void 0 : e.find((
|
|
1110
|
-
label: (
|
|
1111
|
-
prop: (
|
|
1112
|
-
width:
|
|
1113
|
-
fixed: (
|
|
1114
|
-
sortable: (
|
|
1115
|
-
align: (
|
|
1116
|
-
showOverflowTooltip: (
|
|
1117
|
-
isNotDrag: (
|
|
1118
|
-
isEditCol: (
|
|
1119
|
-
isOperate: (
|
|
1120
|
-
id: (
|
|
1121
|
-
},
|
|
1122
|
-
label: (
|
|
1123
|
-
type: (
|
|
1124
|
-
textColor: (
|
|
1125
|
-
id: (
|
|
1126
|
-
}), de.value = ($e = de.value) == null ? void 0 : $e.map((
|
|
1127
|
-
label: (
|
|
1128
|
-
type: (
|
|
1129
|
-
background: (
|
|
1130
|
-
id: (
|
|
1109
|
+
if (f.value = l(n.originalItemContents), w.value = (r = (e = f.value) == null ? void 0 : e.find((j) => (j == null ? void 0 : j.key) === "header")) == null ? void 0 : r.contents, ue.value = (v = (y = f.value) == null ? void 0 : y.find((j) => (j == null ? void 0 : j.key) === "rowButton")) == null ? void 0 : v.contents, de.value = (N = (C = f.value) == null ? void 0 : C.find((j) => (j == null ? void 0 : j.key) === "extraButton")) == null ? void 0 : N.contents, S.value = (V = (ae = f.value) == null ? void 0 : ae.find((j) => (j == null ? void 0 : j.key) === "page")) != null && V.contents ? !!((ge = (q = f.value) == null ? void 0 : q.find((j) => (j == null ? void 0 : j.key) === "page")) != null && ge.contents) : !1, O.value = (Ce = (_e = f.value) == null ? void 0 : _e.find((j) => (j == null ? void 0 : j.key) === "tableToForm")) == null ? void 0 : Ce.contents, w.value = (he = w.value) == null ? void 0 : he.map((j, Le) => (Array.isArray(j) ? j = ys(j) : j = {
|
|
1110
|
+
label: (j == null ? void 0 : j.label) ?? "",
|
|
1111
|
+
prop: (j == null ? void 0 : j.label) === "操作" ? "operate" : j == null ? void 0 : j.prop,
|
|
1112
|
+
width: j != null && j.width ? parseInt(j.width) : "",
|
|
1113
|
+
fixed: (j == null ? void 0 : j.fixed) ?? void 0,
|
|
1114
|
+
sortable: (j == null ? void 0 : j.sortable) ?? !1,
|
|
1115
|
+
align: (j == null ? void 0 : j.align) ?? "center",
|
|
1116
|
+
showOverflowTooltip: (j == null ? void 0 : j.showOverflowTooltip) ?? !0,
|
|
1117
|
+
isNotDrag: (j == null ? void 0 : j.isNotDrag) ?? !1,
|
|
1118
|
+
isEditCol: (j == null ? void 0 : j.isEditCol) ?? !1,
|
|
1119
|
+
isOperate: (j == null ? void 0 : j.isOperate) ?? !1,
|
|
1120
|
+
id: (j == null ? void 0 : j.id) ?? Le
|
|
1121
|
+
}, j)), w.value = (ie = w.value) != null && ie.every((j) => Array.isArray(j)) ? (Ie = w.value) == null ? void 0 : Ie[0] : w.value, ue.value = (be = ue.value) == null ? void 0 : be.map((j, Le) => j = {
|
|
1122
|
+
label: (j == null ? void 0 : j.label) ?? "",
|
|
1123
|
+
type: (j == null ? void 0 : j.type) ?? "",
|
|
1124
|
+
textColor: (j == null ? void 0 : j.textColor) ?? "#000000",
|
|
1125
|
+
id: (j == null ? void 0 : j.id) ?? Le
|
|
1126
|
+
}), de.value = ($e = de.value) == null ? void 0 : $e.map((j, Le) => j = {
|
|
1127
|
+
label: (j == null ? void 0 : j.label) ?? "",
|
|
1128
|
+
type: (j == null ? void 0 : j.type) ?? "",
|
|
1129
|
+
background: (j == null ? void 0 : j.background) ?? "var(--ssComponent-primary-color)",
|
|
1130
|
+
id: (j == null ? void 0 : j.id) ?? Le
|
|
1131
1131
|
}), O.value)
|
|
1132
|
-
O.value = (ze = O.value) == null ? void 0 : ze.map((
|
|
1132
|
+
O.value = (ze = O.value) == null ? void 0 : ze.map((j) => {
|
|
1133
1133
|
a.value++;
|
|
1134
|
-
let Le =
|
|
1134
|
+
let Le = j;
|
|
1135
1135
|
return Le.id = a.value, Le;
|
|
1136
1136
|
});
|
|
1137
1137
|
else {
|
|
1138
|
-
let
|
|
1138
|
+
let j = [];
|
|
1139
1139
|
const Le = (We = es(l(w.value))) == null ? void 0 : We.filter((Re) => (Re == null ? void 0 : Re.prop) !== "operate");
|
|
1140
1140
|
Le == null || Le.forEach((Re) => {
|
|
1141
|
-
a.value++,
|
|
1141
|
+
a.value++, j.push({
|
|
1142
1142
|
label: Re == null ? void 0 : Re.label,
|
|
1143
1143
|
name: Re == null ? void 0 : Re.label,
|
|
1144
1144
|
type: "Input",
|
|
@@ -1146,7 +1146,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1146
1146
|
id: a.value,
|
|
1147
1147
|
contents: Re == null ? void 0 : Re.options
|
|
1148
1148
|
});
|
|
1149
|
-
}), O.value =
|
|
1149
|
+
}), O.value = j;
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
1152
|
{ deep: !0, immediate: !0 }
|
|
@@ -1183,19 +1183,19 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1183
1183
|
name: "ChildAdd",
|
|
1184
1184
|
class: "svg-icon-content",
|
|
1185
1185
|
style: { width: "24px", height: "24px" },
|
|
1186
|
-
onClick: (
|
|
1186
|
+
onClick: (ae) => G(C)
|
|
1187
1187
|
}, null, 8, ["onClick"]),
|
|
1188
1188
|
J(y, {
|
|
1189
1189
|
name: "ChildFix",
|
|
1190
1190
|
class: "svg-icon-content",
|
|
1191
1191
|
style: { width: "24px", height: "24px" },
|
|
1192
|
-
onClick: (
|
|
1192
|
+
onClick: (ae) => se(C)
|
|
1193
1193
|
}, null, 8, ["onClick"]),
|
|
1194
1194
|
J(y, {
|
|
1195
1195
|
name: "ChildDelete",
|
|
1196
1196
|
class: "svg-icon-content",
|
|
1197
1197
|
style: { width: "24px", height: "24px" },
|
|
1198
|
-
onClick: (
|
|
1198
|
+
onClick: (ae) => H(C)
|
|
1199
1199
|
}, null, 8, ["onClick"])
|
|
1200
1200
|
])
|
|
1201
1201
|
]),
|
|
@@ -1203,7 +1203,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1203
1203
|
J(ja, {
|
|
1204
1204
|
tableChildContents: C == null ? void 0 : C.children,
|
|
1205
1205
|
onDeleteChange: ve,
|
|
1206
|
-
onFixChange:
|
|
1206
|
+
onFixChange: le
|
|
1207
1207
|
}, null, 8, ["tableChildContents"])
|
|
1208
1208
|
])) : Ye("", !0)
|
|
1209
1209
|
]))), 128))
|
|
@@ -1237,13 +1237,13 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1237
1237
|
name: "ChildFix",
|
|
1238
1238
|
style: { width: "24px", height: "24px" },
|
|
1239
1239
|
class: "svg-icon-content",
|
|
1240
|
-
onClick: (
|
|
1240
|
+
onClick: (ae) => Q(C)
|
|
1241
1241
|
}, null, 8, ["onClick"]),
|
|
1242
1242
|
J(y, {
|
|
1243
1243
|
name: "ChildDelete",
|
|
1244
1244
|
class: "svg-icon-content",
|
|
1245
1245
|
style: { width: "24px", height: "24px" },
|
|
1246
|
-
onClick: (
|
|
1246
|
+
onClick: (ae) => me(C)
|
|
1247
1247
|
}, null, 8, ["onClick"])
|
|
1248
1248
|
])
|
|
1249
1249
|
])
|
|
@@ -1278,13 +1278,13 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1278
1278
|
name: "ChildFix",
|
|
1279
1279
|
style: { width: "24px", height: "24px" },
|
|
1280
1280
|
class: "svg-icon-content",
|
|
1281
|
-
onClick: (
|
|
1281
|
+
onClick: (ae) => M(C)
|
|
1282
1282
|
}, null, 8, ["onClick"]),
|
|
1283
1283
|
J(y, {
|
|
1284
1284
|
name: "ChildDelete",
|
|
1285
1285
|
class: "svg-icon-content",
|
|
1286
1286
|
style: { width: "24px", height: "24px" },
|
|
1287
|
-
onClick: (
|
|
1287
|
+
onClick: (ae) => L(C)
|
|
1288
1288
|
}, null, 8, ["onClick"])
|
|
1289
1289
|
])
|
|
1290
1290
|
])
|
|
@@ -1319,13 +1319,13 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1319
1319
|
name: "ChildFix",
|
|
1320
1320
|
style: { width: "24px", height: "24px" },
|
|
1321
1321
|
class: "svg-icon-content",
|
|
1322
|
-
onClick: (
|
|
1322
|
+
onClick: (ae) => E(C)
|
|
1323
1323
|
}, null, 8, ["onClick"]),
|
|
1324
1324
|
J(y, {
|
|
1325
1325
|
name: "ChildDelete",
|
|
1326
1326
|
class: "svg-icon-content",
|
|
1327
1327
|
style: { width: "24px", height: "24px" },
|
|
1328
|
-
onClick: (
|
|
1328
|
+
onClick: (ae) => B(C)
|
|
1329
1329
|
}, null, 8, ["onClick"])
|
|
1330
1330
|
])
|
|
1331
1331
|
])
|
|
@@ -1389,7 +1389,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1389
1389
|
}, 8, ["visible"]),
|
|
1390
1390
|
J(Je, {
|
|
1391
1391
|
visible: R.value,
|
|
1392
|
-
onBeforeDestroy:
|
|
1392
|
+
onBeforeDestroy: ee,
|
|
1393
1393
|
width: 840
|
|
1394
1394
|
}, {
|
|
1395
1395
|
default: ce(() => [
|
|
@@ -1405,7 +1405,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1405
1405
|
footer: ce(() => [
|
|
1406
1406
|
x("div", pi, [
|
|
1407
1407
|
J(v, {
|
|
1408
|
-
onClick:
|
|
1408
|
+
onClick: ee,
|
|
1409
1409
|
class: "cancel-button button",
|
|
1410
1410
|
id: "themeBorderButton"
|
|
1411
1411
|
}, {
|
|
@@ -1474,7 +1474,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1474
1474
|
_: 1
|
|
1475
1475
|
}, 8, ["visible"]),
|
|
1476
1476
|
J(Je, {
|
|
1477
|
-
visible:
|
|
1477
|
+
visible: P.value,
|
|
1478
1478
|
onBeforeDestroy: o,
|
|
1479
1479
|
width: 840
|
|
1480
1480
|
}, {
|
|
@@ -1535,7 +1535,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1535
1535
|
},
|
|
1536
1536
|
emits: ["change"],
|
|
1537
1537
|
setup(p, { emit: k }) {
|
|
1538
|
-
const n = p, s = k, f = z(!1), F = z([]),
|
|
1538
|
+
const n = p, s = k, f = z(!1), F = z([]), P = z([]), w = z(!1), R = z([]), U = z([]), S = z(""), X = z(!1), Y = z(0), pe = z([]), ue = z([]), de = (i, E) => (console.log(345, i), (i == null ? void 0 : i.label) === "类型" && E[i.key] === "" ? "Input" : (i == null ? void 0 : i.key) === "isFormColHidden" && !E[i.key] ? !1 : E[i.key]), A = async (i) => {
|
|
1539
1539
|
var o, I, M, L, u, b;
|
|
1540
1540
|
f.value = !0;
|
|
1541
1541
|
let E = [];
|
|
@@ -1555,7 +1555,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1555
1555
|
const $ = await kl(i == null ? void 0 : i.menuSelect);
|
|
1556
1556
|
E = E == null ? void 0 : E.map((Q) => ((Q == null ? void 0 : Q.name) === "组信息选项" && (Q.contents = $), Q));
|
|
1557
1557
|
}
|
|
1558
|
-
S.value = i == null ? void 0 : i.id, F.value = await sl(ml(E)),
|
|
1558
|
+
S.value = i == null ? void 0 : i.id, F.value = await sl(ml(E)), P.value = await sl(ml(E));
|
|
1559
1559
|
}, m = (i) => {
|
|
1560
1560
|
var B;
|
|
1561
1561
|
w.value = !0;
|
|
@@ -1660,70 +1660,72 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1660
1660
|
id: Y.value,
|
|
1661
1661
|
contents: I == null ? void 0 : I.options
|
|
1662
1662
|
});
|
|
1663
|
-
}), F.value = i,
|
|
1663
|
+
}), F.value = i, P.value = i;
|
|
1664
1664
|
}, _ = (i) => {
|
|
1665
1665
|
let E = l(ue.value);
|
|
1666
1666
|
E = E == null ? void 0 : E.map((B) => (B.value = i == null ? void 0 : i[B.name], B)), ue.value = E;
|
|
1667
1667
|
}, O = async (i) => {
|
|
1668
1668
|
var E, B, o, I, M, L, u, b, $, Q, me, re;
|
|
1669
|
-
if ((i == null ? void 0 : i.类型) !== ((B = (E =
|
|
1669
|
+
if ((i == null ? void 0 : i.类型) !== ((B = (E = P.value) == null ? void 0 : E.find((t) => (t == null ? void 0 : t.label) === "类型")) == null ? void 0 : B.value)) {
|
|
1670
1670
|
let t = [];
|
|
1671
1671
|
const D = await ((M = (I = (o = Ve) == null ? void 0 : o.find((g) => (g == null ? void 0 : g.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : I.value) == null ? void 0 : M.value) ? await ((Q = ($ = (b = Ve) == null ? void 0 : b.find((g) => (g == null ? void 0 : g.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : $.value) == null ? void 0 : Q.value) : (u = (L = Ve) == null ? void 0 : L.find((g) => (g == null ? void 0 : g.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : u.value;
|
|
1672
1672
|
if (D == null || D.forEach((g) => {
|
|
1673
|
+
var ee, G;
|
|
1673
1674
|
Y.value++, t.push({
|
|
1674
1675
|
label: g == null ? void 0 : g.label,
|
|
1675
1676
|
name: g == null ? void 0 : g.label,
|
|
1676
1677
|
type: g.type,
|
|
1677
1678
|
value: (i == null ? void 0 : i[g.label]) ?? "",
|
|
1678
1679
|
id: Y.value,
|
|
1679
|
-
contents: g == null ? void 0 : g.options
|
|
1680
|
+
contents: g == null ? void 0 : g.options,
|
|
1681
|
+
width: ((G = (ee = P.value) == null ? void 0 : ee[0]) == null ? void 0 : G.width) ?? 1
|
|
1680
1682
|
});
|
|
1681
1683
|
}), i != null && i.菜单选项 && ((me = i == null ? void 0 : i.菜单选项) == null ? void 0 : me.length) > 0) {
|
|
1682
1684
|
const g = await kl(i == null ? void 0 : i.菜单选项);
|
|
1683
|
-
t = t == null ? void 0 : t.map((
|
|
1685
|
+
t = t == null ? void 0 : t.map((ee) => ((ee == null ? void 0 : ee.name) === "组信息选项" && (ee.contents = g), ee));
|
|
1684
1686
|
}
|
|
1685
|
-
|
|
1687
|
+
P.value = await sl(l(t)), F.value = await sl(l(t));
|
|
1686
1688
|
} else {
|
|
1687
|
-
let t = l(
|
|
1689
|
+
let t = l(P.value);
|
|
1688
1690
|
if (t = t == null ? void 0 : t.map((D) => (D.value = i == null ? void 0 : i[D.name], D)), i != null && i.菜单选项 && ((re = i == null ? void 0 : i.菜单选项) == null ? void 0 : re.length) > 0) {
|
|
1689
1691
|
const D = await kl(i == null ? void 0 : i.菜单选项);
|
|
1690
1692
|
t = t == null ? void 0 : t.map((g) => ((g == null ? void 0 : g.name) === "组信息选项" && (g.contents = D), g));
|
|
1691
1693
|
}
|
|
1692
|
-
t = ml(t),
|
|
1694
|
+
t = ml(t), P.value = await sl(l(t));
|
|
1693
1695
|
}
|
|
1694
1696
|
}, T = (i) => {
|
|
1695
|
-
i || (F.value =
|
|
1697
|
+
i || (F.value = P.value);
|
|
1696
1698
|
}, ne = async (i) => {
|
|
1697
|
-
await O(i), F.value =
|
|
1699
|
+
await O(i), F.value = P.value;
|
|
1698
1700
|
}, K = async () => {
|
|
1699
1701
|
var o, I, M, L, u, b, $, Q, me, re, t, D;
|
|
1700
|
-
F.value =
|
|
1702
|
+
F.value = P.value;
|
|
1701
1703
|
let i = {};
|
|
1702
1704
|
i.width = ((I = (o = F.value) == null ? void 0 : o[0]) == null ? void 0 : I.width) ?? 1, S.value !== "" ? i.id = S.value : (Y.value++, i.id = "id" + Y.value);
|
|
1703
1705
|
let E = await ((u = (L = (M = Ve) == null ? void 0 : M.find((g) => {
|
|
1704
|
-
var
|
|
1705
|
-
return (g == null ? void 0 : g.key) === (((
|
|
1706
|
+
var ee, G;
|
|
1707
|
+
return (g == null ? void 0 : g.key) === (((G = (ee = F.value) == null ? void 0 : ee.find((ve) => (ve == null ? void 0 : ve.label) === "类型")) == null ? void 0 : G.value) ?? "label");
|
|
1706
1708
|
})) == null ? void 0 : L.value) == null ? void 0 : u.value) ?? (($ = (b = Ve) == null ? void 0 : b.find((g) => {
|
|
1707
|
-
var
|
|
1708
|
-
return (g == null ? void 0 : g.key) === (((
|
|
1709
|
+
var ee, G;
|
|
1710
|
+
return (g == null ? void 0 : g.key) === (((G = (ee = F.value) == null ? void 0 : ee.find((ve) => (ve == null ? void 0 : ve.label) === "类型")) == null ? void 0 : G.value) ?? "label");
|
|
1709
1711
|
})) == null ? void 0 : $.value);
|
|
1710
1712
|
if ((Q = F.value) == null || Q.forEach((g) => {
|
|
1711
|
-
const
|
|
1712
|
-
|
|
1713
|
+
const ee = E == null ? void 0 : E.find((G) => (G == null ? void 0 : G.label) === (g == null ? void 0 : g.label));
|
|
1714
|
+
ee && (i[ee.key] = g.value);
|
|
1713
1715
|
}), i.width = i.width ? i.width : 1, i.key = i == null ? void 0 : i.label, i.isFormColHidden = i == null ? void 0 : i.isFormColHidden, (me = U.value) != null && me.find((g) => g.id === i.id))
|
|
1714
1716
|
U.value = (re = U.value) == null ? void 0 : re.map((g) => (g.id === i.id && (g = i), g));
|
|
1715
1717
|
else {
|
|
1716
1718
|
let g = l(U.value);
|
|
1717
1719
|
g.push(i), U.value = g;
|
|
1718
1720
|
}
|
|
1719
|
-
U.value = U.value.map(({ id: g, ...
|
|
1721
|
+
U.value = U.value.map(({ id: g, ...ee }) => ee), f.value = !1, S.value = "";
|
|
1720
1722
|
let B = l(n.originalItemContents);
|
|
1721
1723
|
(t = l(n.originalItemContents)) != null && t.find((g) => (g == null ? void 0 : g.key) === "formContent") ? B = (D = l(n.originalItemContents)) == null ? void 0 : D.map((g) => ((g == null ? void 0 : g.key) === "formContent" && (g.contents = U.value), g)) : B.push({
|
|
1722
1724
|
key: "formContent",
|
|
1723
1725
|
contents: U.value
|
|
1724
1726
|
}), s("change", B);
|
|
1725
1727
|
}, oe = () => {
|
|
1726
|
-
f.value = !1, w.value = !1, S.value = "",
|
|
1728
|
+
f.value = !1, w.value = !1, S.value = "", P.value = [], ue.value = [];
|
|
1727
1729
|
};
|
|
1728
1730
|
return Ne(
|
|
1729
1731
|
() => n.originalItemContents,
|
|
@@ -1917,7 +1919,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
1917
1919
|
]);
|
|
1918
1920
|
};
|
|
1919
1921
|
}
|
|
1920
|
-
}, xa = /* @__PURE__ */ je(Fi, [["__scopeId", "data-v-
|
|
1922
|
+
}, xa = /* @__PURE__ */ je(Fi, [["__scopeId", "data-v-517c65fd"]]), Oi = { class: "step-module content" }, Li = { class: "module-data" }, Ri = { class: "step-module layout" }, Pi = { class: "form-content" }, ji = /* @__PURE__ */ yl({
|
|
1921
1923
|
__name: "operate",
|
|
1922
1924
|
props: {
|
|
1923
1925
|
itemContents: {
|
|
@@ -2015,7 +2017,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2015
2017
|
type: "input",
|
|
2016
2018
|
value: ""
|
|
2017
2019
|
}
|
|
2018
|
-
]),
|
|
2020
|
+
]), P = z([
|
|
2019
2021
|
{
|
|
2020
2022
|
label: "取消",
|
|
2021
2023
|
background: "#c0c4cc"
|
|
@@ -2168,7 +2170,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2168
2170
|
isEnableWrap: !1,
|
|
2169
2171
|
isButtonRow: !1,
|
|
2170
2172
|
isStartJustify: !1,
|
|
2171
|
-
buttonValue:
|
|
2173
|
+
buttonValue: P.value,
|
|
2172
2174
|
onOnButtonClick: pe
|
|
2173
2175
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
2174
2176
|
])
|
|
@@ -2192,7 +2194,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2192
2194
|
},
|
|
2193
2195
|
emits: ["change"],
|
|
2194
2196
|
setup(p, { emit: k }) {
|
|
2195
|
-
const n = p, s = k, f = z("create"), F = z({}),
|
|
2197
|
+
const n = p, s = k, f = z("create"), F = z({}), P = z([]), w = z([
|
|
2196
2198
|
{
|
|
2197
2199
|
label: "方向:",
|
|
2198
2200
|
prop: "placement",
|
|
@@ -2341,7 +2343,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2341
2343
|
}), f.value = "update", S.visible = !0;
|
|
2342
2344
|
break;
|
|
2343
2345
|
case "delete":
|
|
2344
|
-
|
|
2346
|
+
P.value.splice(m, 1), f.value = "delete";
|
|
2345
2347
|
break;
|
|
2346
2348
|
}
|
|
2347
2349
|
}, pe = (A) => {
|
|
@@ -2352,13 +2354,13 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2352
2354
|
a[d] === "" && delete a[d];
|
|
2353
2355
|
}), f.value) {
|
|
2354
2356
|
case "create":
|
|
2355
|
-
console.log(1335,
|
|
2357
|
+
console.log(1335, P.value, a), (W = P.value) == null || W.push({
|
|
2356
2358
|
...a,
|
|
2357
|
-
index: ((m =
|
|
2359
|
+
index: ((m = P.value) == null ? void 0 : m.length) + 1
|
|
2358
2360
|
});
|
|
2359
2361
|
break;
|
|
2360
2362
|
case "update":
|
|
2361
|
-
|
|
2363
|
+
P.value = (c = P.value) == null ? void 0 : c.map((d) => d.index === (a == null ? void 0 : a.index) ? {
|
|
2362
2364
|
...d,
|
|
2363
2365
|
content: a == null ? void 0 : a.content,
|
|
2364
2366
|
timestamp: a == null ? void 0 : a.timestamp
|
|
@@ -2373,7 +2375,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2373
2375
|
compData: [
|
|
2374
2376
|
{
|
|
2375
2377
|
key: "timeLineList",
|
|
2376
|
-
contents:
|
|
2378
|
+
contents: P.value
|
|
2377
2379
|
},
|
|
2378
2380
|
{
|
|
2379
2381
|
key: "timeLineConfig",
|
|
@@ -2385,7 +2387,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2385
2387
|
};
|
|
2386
2388
|
return Ne(() => n == null ? void 0 : n.itemContents, (A) => {
|
|
2387
2389
|
var m, W;
|
|
2388
|
-
A && (F.value = ((m = A == null ? void 0 : A.find((c) => c.key === "timeLineConfig")) == null ? void 0 : m.contents) ?? {},
|
|
2390
|
+
A && (F.value = ((m = A == null ? void 0 : A.find((c) => c.key === "timeLineConfig")) == null ? void 0 : m.contents) ?? {}, P.value = ((W = A == null ? void 0 : A.find((c) => c.key === "timeLineList")) == null ? void 0 : W.contents) ?? []);
|
|
2389
2391
|
}, { immediate: !0 }), (A, m) => {
|
|
2390
2392
|
const W = Be("svg-icon"), c = Be("el-button");
|
|
2391
2393
|
return Z(), fe(Te, null, [
|
|
@@ -2411,7 +2413,7 @@ const fs = (p) => p.match(/\((.*)\)/)[1], hs = Ba("formComp", {
|
|
|
2411
2413
|
})
|
|
2412
2414
|
]),
|
|
2413
2415
|
x("div", Ui, [
|
|
2414
|
-
(Z(!0), fe(Te, null, Oe(
|
|
2416
|
+
(Z(!0), fe(Te, null, Oe(P.value, (h, a) => (Z(), fe("div", {
|
|
2415
2417
|
class: "module-data-item",
|
|
2416
2418
|
key: a
|
|
2417
2419
|
}, [
|
|
@@ -2498,7 +2500,7 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2498
2500
|
},
|
|
2499
2501
|
emits: ["change"],
|
|
2500
2502
|
setup(p, { emit: k }) {
|
|
2501
|
-
const n = p, s = z(0), f = z(), F = z(),
|
|
2503
|
+
const n = p, s = z(0), f = z(), F = z(), P = k, w = z(!1), R = z({}), U = z({}), S = z();
|
|
2502
2504
|
Ne(
|
|
2503
2505
|
() => [n.itemData],
|
|
2504
2506
|
() => {
|
|
@@ -2556,7 +2558,7 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2556
2558
|
let c = {};
|
|
2557
2559
|
for (let d in U.value)
|
|
2558
2560
|
d === ((h = Object.keys(R.value)) == null ? void 0 : h[0]) ? c[d] = (a = Object.values(R.value)) == null ? void 0 : a[0] : c[d] = U.value[d];
|
|
2559
|
-
|
|
2561
|
+
P("change", {
|
|
2560
2562
|
buttonName: "编辑",
|
|
2561
2563
|
index: S.value,
|
|
2562
2564
|
singleContent: c
|
|
@@ -2564,7 +2566,7 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2564
2566
|
}, A = () => {
|
|
2565
2567
|
w.value = !1, R.value = {}, U.value = {}, S.value = void 0;
|
|
2566
2568
|
}, m = (c) => {
|
|
2567
|
-
|
|
2569
|
+
P("change", c, "methodData");
|
|
2568
2570
|
}, W = (c) => sa(c);
|
|
2569
2571
|
return (c, h) => {
|
|
2570
2572
|
const a = Be("el-button");
|
|
@@ -2636,19 +2638,19 @@ const Hi = /* @__PURE__ */ je(Ji, [["render", Gi]]), qi = { class: "extra-conten
|
|
|
2636
2638
|
var w, R, U, S, X, Y, pe, ue, de, A, m, W, c, h, a, d, _, O, T, ne, K, oe, i, E;
|
|
2637
2639
|
const k = Zl(p) ? (w = nl(l(p))) == null ? void 0 : w[0] : "[]", n = Zl(p) ? "[" + ((R = nl(l(p))) == null ? void 0 : R[2]) + "]" : "[" + p + "]";
|
|
2638
2640
|
let s = [], f = [], F = "";
|
|
2639
|
-
const
|
|
2640
|
-
if (il(
|
|
2641
|
+
const P = (S = (U = n == null ? void 0 : n.trim()) == null ? void 0 : U.slice(1, (n == null ? void 0 : n.trim().length) - 1)) == null ? void 0 : S.replaceAll("'", '"');
|
|
2642
|
+
if (il(P) ? s = JSON.parse(P) : il((pe = (Y = (X = P == null ? void 0 : P.split("}")) == null ? void 0 : X[0]) == null ? void 0 : Y.replace(":", "")) == null ? void 0 : pe.replaceAll("\\", "\\\\")) && (s = JSON.parse((A = (de = (ue = P == null ? void 0 : P.split("}")) == null ? void 0 : ue[0]) == null ? void 0 : de.replace(":", "")) == null ? void 0 : A.replaceAll("\\", "\\\\"))), s = s != null && s.every((B) => Array.isArray(B) && B.every((o) => Array.isArray(o))) ? s == null ? void 0 : s[0] : s, !(k != null && k.includes("(")))
|
|
2641
2643
|
!k.includes("{") && il(k == null ? void 0 : k.replaceAll("'", '"')) ? f = JSON.parse(k == null ? void 0 : k.replaceAll("'", '"')) : il((W = (m = k == null ? void 0 : k.split("{")) == null ? void 0 : m[1]) == null ? void 0 : W.replaceAll("'", '"')) && (f = JSON.parse((h = (c = k == null ? void 0 : k.split("{")) == null ? void 0 : c[1]) == null ? void 0 : h.replaceAll("'", '"')));
|
|
2642
2644
|
else {
|
|
2643
2645
|
let B = [];
|
|
2644
2646
|
if (((d = (a = k == null ? void 0 : k.slice(1, (k == null ? void 0 : k.length) - 1)) == null ? void 0 : a.split(",")) == null ? void 0 : d.length) > 1)
|
|
2645
2647
|
(O = (_ = k == null ? void 0 : k.slice(1, (k == null ? void 0 : k.length) - 1)) == null ? void 0 : _.split(",")) == null || O.forEach((o) => {
|
|
2646
|
-
var I, M, L, u, b, $, Q, me, re, t, D, g,
|
|
2648
|
+
var I, M, L, u, b, $, Q, me, re, t, D, g, ee, G, ve, le, se, te, we, ye, H, e, r, y;
|
|
2647
2649
|
if (!(o != null && o.includes("(")))
|
|
2648
2650
|
B.push(o == null ? void 0 : o.replaceAll("'", ""));
|
|
2649
2651
|
else if (o != null && o.includes("[")) {
|
|
2650
2652
|
let v;
|
|
2651
|
-
v = (
|
|
2653
|
+
v = (G = (ee = (g = (D = o == null ? void 0 : o.split("[")) == null ? void 0 : D[((t = o == null ? void 0 : o.split("[")) == null ? void 0 : t.length) - 1]) == null ? void 0 : g.split("]")) == null ? void 0 : ee[0]) == null ? void 0 : G.replaceAll("'", ""), v = (v == null ? void 0 : v[0]) === ":" ? '""' + v : v, o != null && o.includes("#") && (v = ((le = (ve = o == null ? void 0 : o.split("#")) == null ? void 0 : ve[0]) == null ? void 0 : le.replaceAll("'", "")) + "#" + v), v.includes(":") ? v = v + "[" + ((ye = (we = (te = o == null ? void 0 : o.split("(")) == null ? void 0 : te[((se = o == null ? void 0 : o.split("(")) == null ? void 0 : se.length) - 1]) == null ? void 0 : we.split(")")) == null ? void 0 : ye[0].replaceAll(":", "/").replaceAll("'", "")) + "]" : v = v + "[" + ((y = (r = (e = o == null ? void 0 : o.split("(")) == null ? void 0 : e[((H = o == null ? void 0 : o.split("(")) == null ? void 0 : H.length) - 1]) == null ? void 0 : r.split(")")) == null ? void 0 : y[0].replaceAll(":", "/").replaceAll("'", "")) + "]()", B.push(v == null ? void 0 : v.replaceAll('"', "'"));
|
|
2652
2654
|
} else {
|
|
2653
2655
|
let v = (b = (u = (L = (M = o == null ? void 0 : o.split(":")) == null ? void 0 : M[((I = o == null ? void 0 : o.split(":")) == null ? void 0 : I.length) - 1]) == null ? void 0 : L.split(")")) == null ? void 0 : u[0]) == null ? void 0 : b.replaceAll("'", "");
|
|
2654
2656
|
v = v + "[" + ((re = (me = (Q = o == null ? void 0 : o.split("(")) == null ? void 0 : Q[(($ = o == null ? void 0 : o.split("(")) == null ? void 0 : $.length) - 1]) == null ? void 0 : me.split(")")) == null ? void 0 : re[0].replaceAll(":", "/").replaceAll("'", "")) + "]", B.push(v);
|
|
@@ -2677,14 +2679,14 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2677
2679
|
let n = p;
|
|
2678
2680
|
const s = [];
|
|
2679
2681
|
let f = "", F = 0;
|
|
2680
|
-
for (const
|
|
2681
|
-
F++,
|
|
2682
|
+
for (const P of n)
|
|
2683
|
+
F++, P.includes("{") || f.includes("{") || P.includes("[") || f.includes("[") || P.includes("【") || f.includes("【") || P.includes("(") || f.includes("(") || P.includes("(") || f.includes("(") || P.includes("/*") || f.includes("/*") ? (f += P.trim(), l(f).split("{").length - 1 === l(f).split("}").length - 1 && l(f).split("【").length - 1 === l(f).split("】").length - 1 && l(f).split("[").length - 1 === l(f).split("]").length - 1 && l(f).split("(").length - 1 === l(f).split(")").length - 1 && l(f).split("(").length - 1 === l(f).split(")").length - 1 && l(f).split("/*").length - 1 === l(f).split("*/").length - 1 && f[f.length - 1] !== "," && f[f.length - 1] === k ? (s.push(f.replace(/\/\*[\s\S]*?\*\//g, "")), f = "") : F === (p == null ? void 0 : p.length) && s.push(f.replace(/\/\*[\s\S]*?\*\//g, ""))) : (f += P.trim(), (f == null ? void 0 : f[(f == null ? void 0 : f.length) - 1]) === k && (s.push(f.replace(/\/\*[\s\S]*?\*\//g, "")), f = ""));
|
|
2682
2684
|
return s;
|
|
2683
2685
|
}, Zl = (p) => /^\[.*?\]:\[.*?\]$/.exec(l(p)), sn = (p) => {
|
|
2684
|
-
var k, n, s, f, F,
|
|
2686
|
+
var k, n, s, f, F, P, w, R, U, S, X, Y, pe, ue, de, A, m, W, c, h, a, d, _, O, T, ne, K, oe, i, E, B, o, I, M, L, u, b, $, Q, me, re, t, D, g, ee, G, ve, le, se;
|
|
2685
2687
|
if (an(p)) {
|
|
2686
|
-
let te = {}, we = (s = (n = (k = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : k.split(De)) == null ? void 0 : n[0]) == null ? void 0 : s.replaceAll("'", ""), ye = "",
|
|
2687
|
-
return
|
|
2688
|
+
let te = {}, we = (s = (n = (k = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : k.split(De)) == null ? void 0 : n[0]) == null ? void 0 : s.replaceAll("'", ""), ye = "", H = (F = (f = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : f.split(De)) == null ? void 0 : F[1];
|
|
2689
|
+
return H.includes("{") || H.includes("(") ? (H.includes("{") ? ye = ye + ((U = (R = (w = (P = H == null ? void 0 : H.split("{")) == null ? void 0 : P[1]) == null ? void 0 : w.split("}")) == null ? void 0 : R[0]) == null ? void 0 : U.replace(":", "/").replaceAll("'", "")) + "[" : ye = ye + ((pe = (Y = (X = (S = H == null ? void 0 : H.split("(")) == null ? void 0 : S[1]) == null ? void 0 : X.split(")")) == null ? void 0 : Y[0]) == null ? void 0 : pe.replace(":", "/").replaceAll("'", "")) + "[", ye = ye + ((A = (de = (ue = H == null ? void 0 : H.split("[")) == null ? void 0 : ue[1]) == null ? void 0 : de.split("]")) == null ? void 0 : A[0]) + "]") : ye = (c = (W = (m = p == null ? void 0 : p.replace(":", De)) == null ? void 0 : m.split(De)) == null ? void 0 : W[1]) == null ? void 0 : c.replaceAll("'", ""), te[we] = ye, {
|
|
2688
2690
|
groupName: "",
|
|
2689
2691
|
formContents: [[te]]
|
|
2690
2692
|
};
|
|
@@ -2692,18 +2694,18 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2692
2694
|
let te = {}, we = "", ye = "";
|
|
2693
2695
|
if (p.includes("#")) {
|
|
2694
2696
|
we = (a = (h = p == null ? void 0 : p.split("#")) == null ? void 0 : h[0]) == null ? void 0 : a.replaceAll("'", "");
|
|
2695
|
-
let
|
|
2696
|
-
|
|
2697
|
+
let H = (_ = (d = p == null ? void 0 : p.split("#")) == null ? void 0 : d[1]) == null ? void 0 : _.replaceAll("'", "");
|
|
2698
|
+
H != null && H.includes("{") ? ye = ye + ((K = (ne = (T = (O = H == null ? void 0 : H.split("{")) == null ? void 0 : O[1]) == null ? void 0 : T.split("}")) == null ? void 0 : ne[0]) == null ? void 0 : K.replaceAll(":", "/").replaceAll("'", "")) + "[" : ye = ye + ((B = (E = (i = (oe = H == null ? void 0 : H.split("(")) == null ? void 0 : oe[1]) == null ? void 0 : i.split(")")) == null ? void 0 : E[0]) == null ? void 0 : B.replaceAll(":", "/").replaceAll("'", "")) + "[", ye = ye + ((M = (I = (o = H == null ? void 0 : H.split("[")) == null ? void 0 : o[1]) == null ? void 0 : I.split("]")) == null ? void 0 : M[0]) + "]";
|
|
2697
2699
|
} else {
|
|
2698
|
-
let
|
|
2699
|
-
if (($ =
|
|
2700
|
+
let H = (b = (u = (L = p == null ? void 0 : p.split("]")) == null ? void 0 : L[0]) == null ? void 0 : u.split("[")) == null ? void 0 : b[1];
|
|
2701
|
+
if (($ = H == null ? void 0 : H.split(":")) == null || $.forEach((e, r) => {
|
|
2700
2702
|
var y;
|
|
2701
|
-
((y =
|
|
2703
|
+
((y = H == null ? void 0 : H.split(":")) == null ? void 0 : y.length) - 1 === r && (we = e == null ? void 0 : e.replaceAll("'", ""));
|
|
2702
2704
|
}), !(p != null && p.includes("[")))
|
|
2703
2705
|
ye = ((t = (re = (me = (Q = p == null ? void 0 : p.split("]")) == null ? void 0 : Q[1]) == null ? void 0 : me.replace(":", De).split(De)) == null ? void 0 : re[1]) == null ? void 0 : t.replaceAll("'", "")) ?? "";
|
|
2704
2706
|
else {
|
|
2705
|
-
let e = (
|
|
2706
|
-
(
|
|
2707
|
+
let e = (le = (ve = (G = (ee = (g = (D = l(p)) == null ? void 0 : D.split("(")) == null ? void 0 : g[1]) == null ? void 0 : ee.split(")")) == null ? void 0 : G[0]) == null ? void 0 : ve.replaceAll("{", "").replaceAll("}", "")) == null ? void 0 : le.replaceAll("'", "").replaceAll(":", "/"), r = "";
|
|
2708
|
+
(se = H == null ? void 0 : H.split(":")) == null || se.forEach((y) => {
|
|
2707
2709
|
r = r === "" ? r + (y == null ? void 0 : y.replaceAll("'", "")) : r + ":" + (y == null ? void 0 : y.replaceAll("'", ""));
|
|
2708
2710
|
}), ye = e + "[" + r + "]";
|
|
2709
2711
|
}
|
|
@@ -2720,9 +2722,9 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2720
2722
|
return p.substring(0, n) + k + p.substring(n + 1);
|
|
2721
2723
|
return p;
|
|
2722
2724
|
}, un = (p) => {
|
|
2723
|
-
var F,
|
|
2725
|
+
var F, P, w, R, U;
|
|
2724
2726
|
let k = p.slice(1, p.length - 1), n;
|
|
2725
|
-
(k == null ? void 0 : k[0]) === "[" ? n = (
|
|
2727
|
+
(k == null ? void 0 : k[0]) === "[" ? n = (P = (F = nl(l(k))) == null ? void 0 : F.filter((S) => S !== ",")) == null ? void 0 : P.map((S) => S == null ? void 0 : S.slice(1, S.length - 1)) : (k = "[" + l(k) + "]", n = (R = (w = nl(l(k))) == null ? void 0 : w.filter((S) => S !== ",")) == null ? void 0 : R.map((S) => S == null ? void 0 : S.slice(1, S.length - 1))), n = (U = l(n)) == null ? void 0 : U.map((S) => {
|
|
2726
2728
|
var X, Y;
|
|
2727
2729
|
return S = (Y = (X = S.replace(")", De)) == null ? void 0 : X.split(De)) == null ? void 0 : Y[1], S;
|
|
2728
2730
|
});
|
|
@@ -2736,11 +2738,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2736
2738
|
return;
|
|
2737
2739
|
}
|
|
2738
2740
|
if (((O = (_ = l(X)) == null ? void 0 : _[1]) == null ? void 0 : O[0]) === "[") {
|
|
2739
|
-
let
|
|
2740
|
-
(E = (i = nl(
|
|
2741
|
-
var we, ye,
|
|
2742
|
-
let ve = {},
|
|
2743
|
-
(r =
|
|
2741
|
+
let ee = (oe = (T = l(X)) == null ? void 0 : T[1]) == null ? void 0 : oe.slice(1, ((K = (ne = l(X)) == null ? void 0 : ne[1]) == null ? void 0 : K.length) - 1);
|
|
2742
|
+
(E = (i = nl(ee)) == null ? void 0 : i.filter((G) => G !== ",")) == null || E.forEach((G) => {
|
|
2743
|
+
var we, ye, H, e, r, y, v, C, N, ae, V, q, ge, _e, Ce, he, ie, Ie, be, $e, We, ze;
|
|
2744
|
+
let ve = {}, le = (H = (ye = l(G)) == null ? void 0 : ye.slice(1, ((we = l(G)) == null ? void 0 : we.length) - 1)) == null ? void 0 : H.replace(":", De).split(De), se = (e = le == null ? void 0 : le[0]) == null ? void 0 : e.replaceAll("'", ""), te;
|
|
2745
|
+
(r = le == null ? void 0 : le[1]) != null && r.includes("(") ? (te = (_e = (ge = (q = (V = (ae = (N = (C = (v = l(le)) == null ? void 0 : v[1]) == null ? void 0 : C.replaceAll("{", "")) == null ? void 0 : N.replaceAll("}", "")) == null ? void 0 : ae.split("(")) == null ? void 0 : V[1]) == null ? void 0 : q.split(")")) == null ? void 0 : ge[0]) == null ? void 0 : _e.replaceAll(":", "/").replaceAll("'", ""), (he = (Ce = l(le)) == null ? void 0 : Ce[1]) != null && he.includes("[") && (te = l(te) + "[" + ((ze = (We = ($e = (be = (Ie = (ie = l(le)) == null ? void 0 : ie[1]) == null ? void 0 : Ie.split("[")) == null ? void 0 : be[1]) == null ? void 0 : $e.split("]")) == null ? void 0 : We[0]) == null ? void 0 : ze.replaceAll("'", "")) + "]")) : te = (y = le == null ? void 0 : le[1]) == null ? void 0 : y.replaceAll("'", ""), ve[se] = te, f.push(ve);
|
|
2744
2746
|
});
|
|
2745
2747
|
}
|
|
2746
2748
|
} else {
|
|
@@ -2749,14 +2751,14 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2749
2751
|
return;
|
|
2750
2752
|
}
|
|
2751
2753
|
if ((($ = (b = l(X)) == null ? void 0 : b[1]) == null ? void 0 : $[0]) === "[") {
|
|
2752
|
-
let
|
|
2753
|
-
(g = (D = nl(
|
|
2754
|
-
var we, ye,
|
|
2755
|
-
let ve = {},
|
|
2756
|
-
if (!((r =
|
|
2757
|
-
te = (y =
|
|
2758
|
-
else if (te = (
|
|
2759
|
-
te = (Ce = l(te)) == null ? void 0 : Ce.replaceAll(":", "/").replaceAll("'", ""), (ie = (he = l(
|
|
2754
|
+
let ee = (t = (Q = l(X)) == null ? void 0 : Q[1]) == null ? void 0 : t.slice(1, ((re = (me = l(X)) == null ? void 0 : me[1]) == null ? void 0 : re.length) - 1);
|
|
2755
|
+
(g = (D = nl(ee)) == null ? void 0 : D.filter((G) => G !== ",")) == null || g.forEach((G) => {
|
|
2756
|
+
var we, ye, H, e, r, y, v, C, N, ae, V, q, ge, _e, Ce, he, ie, Ie, be, $e, We, ze, j, Le, Re, He, ul, rl, Ue, pl, qe, _l, Cl;
|
|
2757
|
+
let ve = {}, le = (H = (ye = l(G)) == null ? void 0 : ye.slice(1, ((we = l(G)) == null ? void 0 : we.length) - 1)) == null ? void 0 : H.replace(":", De).split(De), se = (e = le == null ? void 0 : le[0]) == null ? void 0 : e.replaceAll("'", ""), te;
|
|
2758
|
+
if (!((r = le == null ? void 0 : le[1]) != null && r.includes("(")))
|
|
2759
|
+
te = (y = le == null ? void 0 : le[1]) == null ? void 0 : y.replaceAll("'", "");
|
|
2760
|
+
else if (te = (q = (V = (ae = (N = (C = (v = l(le)) == null ? void 0 : v[1]) == null ? void 0 : C.replaceAll("{", "")) == null ? void 0 : N.replaceAll("}", "")) == null ? void 0 : ae.replace("(", De)) == null ? void 0 : V.split(De)) == null ? void 0 : q[1], te = (_e = (ge = on(l(te), De)) == null ? void 0 : ge.split(De)) == null ? void 0 : _e[0], !(te != null && te.includes("(")))
|
|
2761
|
+
te = (Ce = l(te)) == null ? void 0 : Ce.replaceAll(":", "/").replaceAll("'", ""), (ie = (he = l(le)) == null ? void 0 : he[1]) != null && ie.includes("[") && (te = l(te) + "[" + ((j = (ze = (We = ($e = (be = (Ie = l(le)) == null ? void 0 : Ie[1]) == null ? void 0 : be.split("[")) == null ? void 0 : $e[1]) == null ? void 0 : We.split("]")) == null ? void 0 : ze[0]) == null ? void 0 : j.replaceAll("'", "")) + "]");
|
|
2760
2762
|
else {
|
|
2761
2763
|
let Qe = "";
|
|
2762
2764
|
(Le = Yl(te, ":")) == null || Le.forEach((Me) => {
|
|
@@ -2767,9 +2769,9 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2767
2769
|
let vl = (Sl = (Tl = (Bl = ($l = (El = (xl = (Il = (Al = l(Me)) == null ? void 0 : Al.replaceAll("{", "")) == null ? void 0 : Il.replaceAll("}", "")) == null ? void 0 : xl.replace("(", De)) == null ? void 0 : El.split(De)) == null ? void 0 : $l[1]) == null ? void 0 : Bl.split(")")) == null ? void 0 : Tl[0]) == null ? void 0 : Sl.replaceAll(":", "/").replaceAll("'", "");
|
|
2768
2770
|
vl = vl + "[" + ((Pl = (Rl = (Ll = (Ol = (Fl = l(Me)) == null ? void 0 : Fl.split("[")) == null ? void 0 : Ol[1]) == null ? void 0 : Ll.split("]")) == null ? void 0 : Rl[0]) == null ? void 0 : Pl.replaceAll("'", "")) + "]", Qe = Qe === "" ? Qe + "[" + vl + "]" : Qe + "/[" + vl + "]";
|
|
2769
2771
|
}
|
|
2770
|
-
}), te = Qe + "[" + ((Cl = (_l = (qe = (pl = (He = (Re = l(
|
|
2772
|
+
}), te = Qe + "[" + ((Cl = (_l = (qe = (pl = (He = (Re = l(le)) == null ? void 0 : Re[1]) == null ? void 0 : He.split("[")) == null ? void 0 : pl[((Ue = (rl = (ul = l(le)) == null ? void 0 : ul[1]) == null ? void 0 : rl.split("[")) == null ? void 0 : Ue.length) - 1]) == null ? void 0 : qe.split("]")) == null ? void 0 : _l[0]) == null ? void 0 : Cl.replaceAll("'", "")) + "]";
|
|
2771
2773
|
}
|
|
2772
|
-
ve[
|
|
2774
|
+
ve[se] = te, s.push(ve);
|
|
2773
2775
|
});
|
|
2774
2776
|
}
|
|
2775
2777
|
}
|
|
@@ -2778,24 +2780,24 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2778
2780
|
input: f
|
|
2779
2781
|
};
|
|
2780
2782
|
}, Va = (p) => {
|
|
2781
|
-
var s, f, F,
|
|
2783
|
+
var s, f, F, P, w, R, U, S, X, Y, pe, ue, de, A, m, W, c, h, a, d, _, O, T, ne, K, oe, i, E, B, o, I, M, L, u, b, $, Q, me, re, t, D, g, ee, G, ve, le, se, te, we, ye;
|
|
2782
2784
|
let k = "";
|
|
2783
2785
|
p = p.replace(/:([^=]*)==/g, ":");
|
|
2784
2786
|
let n = p;
|
|
2785
|
-
if (ln(l(p)) !== null && (k = (f = (s = l(p).replace(":", De).split(De)) == null ? void 0 : s[0]) == null ? void 0 : f.replaceAll("'", ""), n = (F = l(p).replace(":", De).split(De)) == null ? void 0 : F[1]), Zl(l(n).slice(1, ((
|
|
2787
|
+
if (ln(l(p)) !== null && (k = (f = (s = l(p).replace(":", De).split(De)) == null ? void 0 : s[0]) == null ? void 0 : f.replaceAll("'", ""), n = (F = l(p).replace(":", De).split(De)) == null ? void 0 : F[1]), Zl(l(n).slice(1, ((P = l(n)) == null ? void 0 : P.length) - 1)) || nn(l(n).slice(1, ((w = l(n)) == null ? void 0 : w.length) - 1)))
|
|
2786
2788
|
if (((U = l(n).slice(1, ((R = l(n)) == null ? void 0 : R.length) - 1)) == null ? void 0 : U[1]) !== "[") {
|
|
2787
|
-
const
|
|
2789
|
+
const H = Xl(l(n).slice(1, ((S = l(n)) == null ? void 0 : S.length) - 1));
|
|
2788
2790
|
return {
|
|
2789
2791
|
groupName: k,
|
|
2790
|
-
tableColumn:
|
|
2791
|
-
tableContents:
|
|
2792
|
-
tableColumnPath:
|
|
2792
|
+
tableColumn: H == null ? void 0 : H.tableColumns,
|
|
2793
|
+
tableContents: H == null ? void 0 : H.tableContents,
|
|
2794
|
+
tableColumnPath: H == null ? void 0 : H.tablePath
|
|
2793
2795
|
};
|
|
2794
2796
|
} else if (l(n).slice(1, ((X = l(n)) == null ? void 0 : X.length) - 1).includes("{")) {
|
|
2795
|
-
let
|
|
2797
|
+
let H = l(n).slice(1, ((Y = l(n)) == null ? void 0 : Y.length) - 1), e = H.indexOf("{"), r = H.slice(e, (H == null ? void 0 : H.length) - e);
|
|
2796
2798
|
return (ue = (pe = nl(r)) == null ? void 0 : pe.filter((v) => v == null ? void 0 : v.includes("{"))) == null ? void 0 : ue.map((v, C) => {
|
|
2797
|
-
var
|
|
2798
|
-
let N = Xl(l(v).slice(1, ((
|
|
2799
|
+
var ae;
|
|
2800
|
+
let N = Xl(l(v).slice(1, ((ae = l(v)) == null ? void 0 : ae.length) - 1));
|
|
2799
2801
|
return {
|
|
2800
2802
|
groupName: C === 0 ? k : "",
|
|
2801
2803
|
tableColumn: N == null ? void 0 : N.tableColumns,
|
|
@@ -2804,39 +2806,39 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2804
2806
|
};
|
|
2805
2807
|
});
|
|
2806
2808
|
} else {
|
|
2807
|
-
const
|
|
2809
|
+
const H = Xl(l(n).slice(1, ((de = l(n)) == null ? void 0 : de.length) - 1));
|
|
2808
2810
|
return {
|
|
2809
2811
|
groupName: k,
|
|
2810
|
-
tableColumn:
|
|
2811
|
-
tableContents:
|
|
2812
|
-
tableColumnPath:
|
|
2812
|
+
tableColumn: H == null ? void 0 : H.tableColumns,
|
|
2813
|
+
tableContents: H == null ? void 0 : H.tableContents,
|
|
2814
|
+
tableColumnPath: H == null ? void 0 : H.tablePath
|
|
2813
2815
|
};
|
|
2814
2816
|
}
|
|
2815
2817
|
else {
|
|
2816
|
-
let
|
|
2818
|
+
let H = [];
|
|
2817
2819
|
if (il((A = n.slice(1, (n == null ? void 0 : n.length) - 1)) == null ? void 0 : A.replaceAll("'", '"')))
|
|
2818
|
-
|
|
2820
|
+
H = JSON.parse((m = n.slice(1, (n == null ? void 0 : n.length) - 1)) == null ? void 0 : m.replaceAll("'", '"'));
|
|
2819
2821
|
else if (n.includes("(")) {
|
|
2820
2822
|
if ((n == null ? void 0 : n[0]) !== "{") {
|
|
2821
2823
|
let e = (E = (i = (oe = (K = l(n)) == null ? void 0 : K.split("]")) == null ? void 0 : oe[0]) == null ? void 0 : i.split("[")) == null ? void 0 : E[1], r = "", v = ((u = (L = (M = (I = (o = (B = l(n)) == null ? void 0 : B.split(")")) == null ? void 0 : o[0]) == null ? void 0 : I.split("(")) == null ? void 0 : M[1]) == null ? void 0 : L.replaceAll("[", "")) == null ? void 0 : u.replaceAll("]", "")).replaceAll("'", "").replaceAll(":", "/");
|
|
2822
|
-
(b = v == null ? void 0 : v.split("/")) == null || b.forEach((N,
|
|
2824
|
+
(b = v == null ? void 0 : v.split("/")) == null || b.forEach((N, ae) => {
|
|
2823
2825
|
var V;
|
|
2824
|
-
|
|
2826
|
+
ae !== ((V = v == null ? void 0 : v.split("/")) == null ? void 0 : V.length) - 1 && (r = r === "" ? r + N : r + "/" + N);
|
|
2825
2827
|
});
|
|
2826
2828
|
let C;
|
|
2827
2829
|
return ((re = (me = (Q = ($ = l(n)) == null ? void 0 : $.replace(",", De)) == null ? void 0 : Q.split(De)) == null ? void 0 : me[1]) == null ? void 0 : re[0]) === "[" && (C = un((g = (D = (t = l(n)) == null ? void 0 : t.replace(",", De)) == null ? void 0 : D.split(De)) == null ? void 0 : g[1])), {
|
|
2828
2830
|
groupName: "",
|
|
2829
|
-
extraButton: (
|
|
2831
|
+
extraButton: (G = e == null ? void 0 : e.split(":")) == null ? void 0 : G[((ee = e == null ? void 0 : e.split(":")) == null ? void 0 : ee.length) - 1].replaceAll("'", ""),
|
|
2830
2832
|
extraPath: r,
|
|
2831
2833
|
extraData: C
|
|
2832
2834
|
};
|
|
2833
2835
|
} else if (n = n.slice(1, (n == null ? void 0 : n.length) - 1), (n == null ? void 0 : n[0]) !== "[") {
|
|
2834
|
-
let e = "{" + n + "}", r = (
|
|
2835
|
-
return (
|
|
2836
|
+
let e = "{" + n + "}", r = (le = (ve = nl(e)) == null ? void 0 : ve.filter((v) => v !== ",")) == null ? void 0 : le.map((v) => sn(l(v).slice(1, l(v).length - 1))), y = [];
|
|
2837
|
+
return (se = l(r)) == null || se.forEach((v) => {
|
|
2836
2838
|
var C;
|
|
2837
2839
|
(C = v == null ? void 0 : v.formContents) == null || C.forEach((N) => {
|
|
2838
|
-
N == null || N.forEach((
|
|
2839
|
-
y.push(
|
|
2840
|
+
N == null || N.forEach((ae) => {
|
|
2841
|
+
y.push(ae);
|
|
2840
2842
|
});
|
|
2841
2843
|
});
|
|
2842
2844
|
}), {
|
|
@@ -2849,11 +2851,11 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2849
2851
|
n = n.slice(1, (n == null ? void 0 : n.length) - 1);
|
|
2850
2852
|
let e = [], r = [];
|
|
2851
2853
|
return (ye = (we = nl(n)) == null ? void 0 : we.filter((y) => y !== ",")) == null || ye.forEach((y) => {
|
|
2852
|
-
var v, C, N,
|
|
2854
|
+
var v, C, N, ae;
|
|
2853
2855
|
if (!y.includes("&"))
|
|
2854
2856
|
Array.isArray(ea(y)) || e.push((v = ea(y)) == null ? void 0 : v.formContents);
|
|
2855
2857
|
else {
|
|
2856
|
-
let V = (
|
|
2858
|
+
let V = (ae = (N = (C = l(y)) == null ? void 0 : C.split("&")) == null ? void 0 : N[1]) == null ? void 0 : ae.replaceAll("'", '"');
|
|
2857
2859
|
il(V) && r.push({
|
|
2858
2860
|
[JSON.parse(V)[0]]: JSON.parse(V)
|
|
2859
2861
|
});
|
|
@@ -2865,7 +2867,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2865
2867
|
};
|
|
2866
2868
|
}
|
|
2867
2869
|
} else if (n = "[[" + n + "]]", il((W = n.slice(1, (n == null ? void 0 : n.length) - 1)) == null ? void 0 : W.replaceAll("'", '"')))
|
|
2868
|
-
|
|
2870
|
+
H = JSON.parse((c = n.slice(1, (n == null ? void 0 : n.length) - 1)) == null ? void 0 : c.replaceAll("'", '"'));
|
|
2869
2871
|
else if (n = n.slice(2, n.length - 2), ((d = (a = (h = n == null ? void 0 : n.replace(":", De)) == null ? void 0 : h.split(De)) == null ? void 0 : a[1]) == null ? void 0 : d[0]) !== "{") {
|
|
2870
2872
|
n = ((O = (_ = n == null ? void 0 : n.replace(":", De)) == null ? void 0 : _.split(De)) == null ? void 0 : O[0]) + ":{[" + ((ne = (T = n == null ? void 0 : n.replace(":", De)) == null ? void 0 : T.split(De)) == null ? void 0 : ne[1]) + "]}";
|
|
2871
2873
|
const e = Va(n);
|
|
@@ -2880,7 +2882,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2880
2882
|
}
|
|
2881
2883
|
return {
|
|
2882
2884
|
groupName: k,
|
|
2883
|
-
formContents:
|
|
2885
|
+
formContents: H
|
|
2884
2886
|
};
|
|
2885
2887
|
}
|
|
2886
2888
|
}, ea = (p) => Va(l(p).slice(1, l(p).length - 1)), To = (p) => {
|
|
@@ -2912,7 +2914,7 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2912
2914
|
}
|
|
2913
2915
|
},
|
|
2914
2916
|
setup(p) {
|
|
2915
|
-
const k = z([]), n = p, s = Sa(Ze), f = z(!1), F = Ja(Ze),
|
|
2917
|
+
const k = z([]), n = p, s = Sa(Ze), f = z(!1), F = Ja(Ze), P = cs(Ze), { itemData: w, isEdit: R } = ol(s), { activeMenuPath: U, platform: S } = ol(F), { loginUserInfo: X } = ol(P), Y = z(!1), pe = (a, d) => {
|
|
2916
2918
|
const _ = d;
|
|
2917
2919
|
return a == null ? void 0 : a.map((O) => {
|
|
2918
2920
|
var T;
|
|
@@ -2960,24 +2962,24 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
2960
2962
|
} else if (a != null && a.includes("/")) {
|
|
2961
2963
|
let o = {};
|
|
2962
2964
|
return (B = l(_)) == null || B.forEach((I, M) => {
|
|
2963
|
-
var L, u, b, $, Q, me, re, t, D, g,
|
|
2965
|
+
var L, u, b, $, Q, me, re, t, D, g, ee, G, ve, le, se, te, we, ye, H;
|
|
2964
2966
|
if ((I == null ? void 0 : I.comp) === "Table") {
|
|
2965
|
-
let e = Array.isArray((b = (u = (L = I == null ? void 0 : I.compData) == null ? void 0 : L.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : u.contents) == null ? void 0 : b[0]) ? (re = (me = (Q = ($ = I == null ? void 0 : I.compData) == null ? void 0 : $.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : Q.contents) == null ? void 0 : me[0]) == null ? void 0 : re.some((C) => C == null ? void 0 : C.children) : [], r = (g = (D = (t = I == null ? void 0 : I.compData) == null ? void 0 : t.find((C) => (C == null ? void 0 : C.key) === "tableContents")) == null ? void 0 : D.contents) == null ? void 0 : g.map((C) => C.slice(1)), y = (
|
|
2967
|
+
let e = Array.isArray((b = (u = (L = I == null ? void 0 : I.compData) == null ? void 0 : L.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : u.contents) == null ? void 0 : b[0]) ? (re = (me = (Q = ($ = I == null ? void 0 : I.compData) == null ? void 0 : $.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : Q.contents) == null ? void 0 : me[0]) == null ? void 0 : re.some((C) => C == null ? void 0 : C.children) : [], r = (g = (D = (t = I == null ? void 0 : I.compData) == null ? void 0 : t.find((C) => (C == null ? void 0 : C.key) === "tableContents")) == null ? void 0 : D.contents) == null ? void 0 : g.map((C) => C.slice(1)), y = (se = (le = (ve = (G = (ee = I == null ? void 0 : I.compData) == null ? void 0 : ee.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : G.contents) == null ? void 0 : ve[0]) == null ? void 0 : le[0]) == null ? void 0 : se.label, v = (we = (te = I == null ? void 0 : I.compData) == null ? void 0 : te.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : we.contents;
|
|
2966
2968
|
if (e)
|
|
2967
2969
|
(e == null ? void 0 : e.length) === 0 ? o[I.name] = pe(r, v) : o[y] = pe(r, v);
|
|
2968
2970
|
else {
|
|
2969
2971
|
const C = [];
|
|
2970
|
-
v = v.slice(1, v.length - 1), v == null || v.forEach((N,
|
|
2972
|
+
v = v.slice(1, v.length - 1), v == null || v.forEach((N, ae) => {
|
|
2971
2973
|
r == null || r.forEach((V) => {
|
|
2972
2974
|
C.push({
|
|
2973
2975
|
key: N.label + V[0],
|
|
2974
|
-
value: V[
|
|
2976
|
+
value: V[ae + 1]
|
|
2975
2977
|
});
|
|
2976
2978
|
});
|
|
2977
2979
|
}), o["form" + M] = C;
|
|
2978
2980
|
}
|
|
2979
2981
|
} else {
|
|
2980
|
-
const e = (
|
|
2982
|
+
const e = (H = (ye = I.compData) == null ? void 0 : ye.find((y) => (y == null ? void 0 : y.key) === "formContent")) == null ? void 0 : H.contents;
|
|
2981
2983
|
o.form = {};
|
|
2982
2984
|
const r = [];
|
|
2983
2985
|
e == null || e.forEach((y) => {
|
|
@@ -3063,10 +3065,10 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3063
3065
|
} else if ((T == null ? void 0 : T.comp) === "Form") {
|
|
3064
3066
|
let L = l(T), u = Object.keys(a), b = "";
|
|
3065
3067
|
(oe = (K = l(L)) == null ? void 0 : K.compData) == null || oe.forEach((D) => {
|
|
3066
|
-
var g,
|
|
3067
|
-
(D == null ? void 0 : D.key) === "formContent" && ((
|
|
3068
|
+
var g, ee;
|
|
3069
|
+
(D == null ? void 0 : D.key) === "formContent" && ((ee = (g = l(D)) == null ? void 0 : g.contents) == null || ee.forEach((G) => {
|
|
3068
3070
|
var ve;
|
|
3069
|
-
u.includes(
|
|
3071
|
+
u.includes(G == null ? void 0 : G.key) && (G == null ? void 0 : G.value) === ((ve = X.value) == null ? void 0 : ve.姓名) && (b = G == null ? void 0 : G.key);
|
|
3070
3072
|
}));
|
|
3071
3073
|
});
|
|
3072
3074
|
let $ = [];
|
|
@@ -3074,23 +3076,23 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3074
3076
|
D != null && D.includes("(") && $.push(D);
|
|
3075
3077
|
}), $ = [...new Set($)];
|
|
3076
3078
|
const Q = $ == null ? void 0 : $.map(async (D) => {
|
|
3077
|
-
var
|
|
3079
|
+
var le, se, te, we, ye, H, e, r, y, v, C, N;
|
|
3078
3080
|
let g = "";
|
|
3079
|
-
(
|
|
3080
|
-
g = g === "" ? g +
|
|
3081
|
+
(H = (ye = (we = (te = (se = (le = l(D)) == null ? void 0 : le.split("(")) == null ? void 0 : se[1]) == null ? void 0 : te.split(")")) == null ? void 0 : we[0]) == null ? void 0 : ye.split(":")) == null || H.forEach((ae) => {
|
|
3082
|
+
g = g === "" ? g + ae.replaceAll("'", "") : g + "/" + ae.replaceAll("'", "");
|
|
3081
3083
|
});
|
|
3082
|
-
let
|
|
3083
|
-
(N = (C = (v = (y = (r = (e = l(D)) == null ? void 0 : e.split("<")) == null ? void 0 : r[1]) == null ? void 0 : y.split(">")) == null ? void 0 : v[0]) == null ? void 0 : C.split(":")) == null || N.forEach((
|
|
3084
|
-
|
|
3084
|
+
let ee = [];
|
|
3085
|
+
(N = (C = (v = (y = (r = (e = l(D)) == null ? void 0 : e.split("<")) == null ? void 0 : r[1]) == null ? void 0 : y.split(">")) == null ? void 0 : v[0]) == null ? void 0 : C.split(":")) == null || N.forEach((ae) => {
|
|
3086
|
+
ee.push(ae.replaceAll("'", ""));
|
|
3085
3087
|
});
|
|
3086
|
-
const
|
|
3088
|
+
const G = await hl(g, sessionStorage.getItem("systemKey"), "");
|
|
3087
3089
|
let ve = "";
|
|
3088
|
-
return
|
|
3090
|
+
return G == null || G.forEach((ae) => {
|
|
3089
3091
|
var V;
|
|
3090
|
-
|
|
3092
|
+
ae.name === (ee == null ? void 0 : ee[0]) && ((V = ae == null ? void 0 : ae.compData) == null || V.forEach((q) => {
|
|
3091
3093
|
var ge;
|
|
3092
|
-
(
|
|
3093
|
-
(_e == null ? void 0 : _e.key) === (
|
|
3094
|
+
(q == null ? void 0 : q.key) === "formContent" && ((ge = q.contents) == null || ge.forEach((_e) => {
|
|
3095
|
+
(_e == null ? void 0 : _e.key) === (ee == null ? void 0 : ee[1]) && (ve = _e == null ? void 0 : _e.value);
|
|
3094
3096
|
}));
|
|
3095
3097
|
}));
|
|
3096
3098
|
}), {
|
|
@@ -3098,13 +3100,13 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3098
3100
|
};
|
|
3099
3101
|
}), me = await Promise.all(Q);
|
|
3100
3102
|
L.compData = (B = (E = l(L)) == null ? void 0 : E.compData) == null ? void 0 : B.map((D) => {
|
|
3101
|
-
var g,
|
|
3102
|
-
return (D == null ? void 0 : D.key) === "formContent" && (D.contents = (
|
|
3103
|
-
var ve,
|
|
3104
|
-
return (ve = a[b]) != null && ve[
|
|
3103
|
+
var g, ee;
|
|
3104
|
+
return (D == null ? void 0 : D.key) === "formContent" && (D.contents = (ee = (g = l(D)) == null ? void 0 : g.contents) == null ? void 0 : ee.map((G) => {
|
|
3105
|
+
var ve, le, se, te;
|
|
3106
|
+
return (ve = a[b]) != null && ve[G == null ? void 0 : G.key] && (a[b][G == null ? void 0 : G.key].includes("(") ? G.value = (le = me == null ? void 0 : me.find((we) => {
|
|
3105
3107
|
var ye;
|
|
3106
|
-
return ((ye = Object.keys(we)) == null ? void 0 : ye[0]) === a[b][
|
|
3107
|
-
})) == null ? void 0 :
|
|
3108
|
+
return ((ye = Object.keys(we)) == null ? void 0 : ye[0]) === a[b][G == null ? void 0 : G.key];
|
|
3109
|
+
})) == null ? void 0 : le[a[b][G == null ? void 0 : G.key]] : G.value = (te = (se = l(a)) == null ? void 0 : se[b]) == null ? void 0 : te[G == null ? void 0 : G.key]), G;
|
|
3108
3110
|
})), D;
|
|
3109
3111
|
});
|
|
3110
3112
|
const re = await Ul({
|
|
@@ -3116,8 +3118,8 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3116
3118
|
});
|
|
3117
3119
|
let t = "";
|
|
3118
3120
|
((o = re == null ? void 0 : re.data) == null ? void 0 : o.type) === "success" && ((M = (I = re == null ? void 0 : re.data) == null ? void 0 : I.result) == null || M.forEach((D) => {
|
|
3119
|
-
var g,
|
|
3120
|
-
((
|
|
3121
|
+
var g, ee;
|
|
3122
|
+
((ee = (g = D == null ? void 0 : D.value) == null ? void 0 : g.pageData) == null ? void 0 : ee.name) === (_ == null ? void 0 : _[0]) && (t = D.id);
|
|
3121
3123
|
}), await wa({
|
|
3122
3124
|
id: t,
|
|
3123
3125
|
value: {
|
|
@@ -3179,28 +3181,28 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3179
3181
|
if (S.value !== "browser") {
|
|
3180
3182
|
const re = [];
|
|
3181
3183
|
d.form = {}, (_ = l(a.content)) == null || _.forEach((D, g) => {
|
|
3182
|
-
var
|
|
3184
|
+
var ee, G, ve, le, se, te, we, ye, H, e, r, y, v, C;
|
|
3183
3185
|
if ((D == null ? void 0 : D.comp) === "Table") {
|
|
3184
|
-
(
|
|
3185
|
-
let N = (
|
|
3186
|
-
(e = (
|
|
3187
|
-
let
|
|
3188
|
-
N == null || N.forEach((
|
|
3186
|
+
(G = (ee = D == null ? void 0 : D.compData) == null ? void 0 : ee.find((q) => (q == null ? void 0 : q.key) === "header")) == null || G.contents;
|
|
3187
|
+
let N = (se = (le = (ve = D == null ? void 0 : D.compData) == null ? void 0 : ve.find((q) => (q == null ? void 0 : q.key) === "tableContents")) == null ? void 0 : le.contents) == null ? void 0 : se.map((q) => q.slice(1));
|
|
3188
|
+
(e = (H = (ye = (we = (te = D == null ? void 0 : D.compData) == null ? void 0 : te.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : we.contents) == null ? void 0 : ye[0]) == null ? void 0 : H[0]) == null || e.label;
|
|
3189
|
+
let ae = (y = (r = D == null ? void 0 : D.compData) == null ? void 0 : r.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : y.contents, V = [];
|
|
3190
|
+
N == null || N.forEach((q) => {
|
|
3189
3191
|
let ge = [];
|
|
3190
|
-
|
|
3192
|
+
q == null || q.forEach((_e, Ce) => {
|
|
3191
3193
|
var ie;
|
|
3192
3194
|
let he = {};
|
|
3193
|
-
((ie =
|
|
3195
|
+
((ie = ae[Ce]) == null ? void 0 : ie.label) !== "操作" && (he[ae[Ce].label] = _e, ge.push(he));
|
|
3194
3196
|
}), V.push(ge);
|
|
3195
3197
|
}), d[D.name] = V;
|
|
3196
3198
|
} else {
|
|
3197
|
-
const N = (C = (v = D.compData) == null ? void 0 : v.find((
|
|
3198
|
-
N == null || N.forEach((
|
|
3199
|
+
const N = (C = (v = D.compData) == null ? void 0 : v.find((ae) => (ae == null ? void 0 : ae.key) === "formContent")) == null ? void 0 : C.contents;
|
|
3200
|
+
N == null || N.forEach((ae) => {
|
|
3199
3201
|
var V;
|
|
3200
|
-
|
|
3201
|
-
key: (
|
|
3202
|
-
value: (V =
|
|
3203
|
-
}, re.push(
|
|
3202
|
+
ae.key !== "" && (ae = {
|
|
3203
|
+
key: (ae == null ? void 0 : ae.key) ?? (ae == null ? void 0 : ae.label),
|
|
3204
|
+
value: (V = ae == null ? void 0 : ae.value) == null ? void 0 : V.toString()
|
|
3205
|
+
}, re.push(ae));
|
|
3204
3206
|
});
|
|
3205
3207
|
}
|
|
3206
3208
|
}), d.form = as(re);
|
|
@@ -3221,13 +3223,13 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3221
3223
|
);
|
|
3222
3224
|
if (((O = D == null ? void 0 : D.data) == null ? void 0 : O.code) === 200 || ((T = D == null ? void 0 : D.data) == null ? void 0 : T.statusCode) === 200) {
|
|
3223
3225
|
let g = await ((ne = D == null ? void 0 : D.data) == null ? void 0 : ne.data);
|
|
3224
|
-
const
|
|
3225
|
-
|
|
3226
|
+
const ee = (K = l(w.value)) == null ? void 0 : K.filter((se) => (se == null ? void 0 : se.comp) !== "methodButton"), G = await Promise.all(
|
|
3227
|
+
ee.map((se) => ue(se, g))
|
|
3226
3228
|
);
|
|
3227
|
-
await Promise.all(
|
|
3228
|
-
const ve = (oe = l(w.value)) == null ? void 0 : oe.filter((
|
|
3229
|
-
let
|
|
3230
|
-
await is(
|
|
3229
|
+
await Promise.all(G);
|
|
3230
|
+
const ve = (oe = l(w.value)) == null ? void 0 : oe.filter((se) => (se == null ? void 0 : se.comp) === "methodButton");
|
|
3231
|
+
let le = [...G, ...ve];
|
|
3232
|
+
await is(le), f.value = !1;
|
|
3231
3233
|
} else
|
|
3232
3234
|
ll.error("方法调用失败:" + ((i = D == null ? void 0 : D.data) == null ? void 0 : i.errors)), f.value = !1;
|
|
3233
3235
|
} catch {
|
|
@@ -3237,14 +3239,14 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3237
3239
|
}
|
|
3238
3240
|
} else if (a.api) {
|
|
3239
3241
|
let re = await hl(U.value, sessionStorage.getItem("systemKey"), ""), t = {};
|
|
3240
|
-
(B = (E = a == null ? void 0 : a.extraValues) == null ? void 0 : E.input) == null || B.forEach((
|
|
3241
|
-
var
|
|
3242
|
-
t[Object.keys(
|
|
3242
|
+
(B = (E = a == null ? void 0 : a.extraValues) == null ? void 0 : E.input) == null || B.forEach((le) => {
|
|
3243
|
+
var se;
|
|
3244
|
+
t[Object.keys(le)[0]] = de((se = Object.values(le)) == null ? void 0 : se[0], re);
|
|
3243
3245
|
});
|
|
3244
3246
|
let D = !1;
|
|
3245
|
-
(I = (o = a == null ? void 0 : a.extraValues) == null ? void 0 : o.output) == null || I.forEach((
|
|
3246
|
-
var
|
|
3247
|
-
(te = (
|
|
3247
|
+
(I = (o = a == null ? void 0 : a.extraValues) == null ? void 0 : o.output) == null || I.forEach((le) => {
|
|
3248
|
+
var se, te;
|
|
3249
|
+
(te = (se = Object.values(le)) == null ? void 0 : se[0]) != null && te.includes(".doc") && (D = !0);
|
|
3248
3250
|
});
|
|
3249
3251
|
let g;
|
|
3250
3252
|
D ? g = await zl.post(a.api, t, {
|
|
@@ -3258,20 +3260,20 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3258
3260
|
"Content-Type": "application/json"
|
|
3259
3261
|
}
|
|
3260
3262
|
});
|
|
3261
|
-
let
|
|
3262
|
-
var
|
|
3263
|
-
if (!((te = (
|
|
3264
|
-
let _e = (C = (v = (y = (ye = l((we = Object.values(
|
|
3263
|
+
let ee = (b = (u = (L = (M = l(a)) == null ? void 0 : M.extraValues) == null ? void 0 : L.output) == null ? void 0 : u.map((le) => {
|
|
3264
|
+
var se, te, we, ye, H, e, r, y, v, C, N, ae, V, q, ge;
|
|
3265
|
+
if (!((te = (se = Object.values(le)) == null ? void 0 : se[0]) != null && te.includes(".doc"))) {
|
|
3266
|
+
let _e = (C = (v = (y = (ye = l((we = Object.values(le)) == null ? void 0 : we[0])) == null ? void 0 : ye.split("[")) == null ? void 0 : y[((r = (e = l((H = Object.values(le)) == null ? void 0 : H[0])) == null ? void 0 : e.split("[")) == null ? void 0 : r.length) - 1]) == null ? void 0 : v.split("]")) == null ? void 0 : C[0];
|
|
3265
3267
|
_e == null || _e.split(":");
|
|
3266
|
-
let Ce = l((N = Object.values(
|
|
3267
|
-
if (Ce = (
|
|
3268
|
+
let Ce = l((N = Object.values(le)) == null ? void 0 : N[0]).substring(0, l((ae = Object.values(le)) == null ? void 0 : ae[0]).lastIndexOf("["));
|
|
3269
|
+
if (Ce = (q = l(Ce)) == null ? void 0 : q.slice(0, ((V = l(Ce)) == null ? void 0 : V.length) - 1), Ce != null && Ce.includes("[")) {
|
|
3268
3270
|
let he = "";
|
|
3269
3271
|
if ((ge = Yl(Ce, "/")) == null || ge.forEach((ie) => {
|
|
3270
|
-
var Ie, be, $e, We, ze,
|
|
3272
|
+
var Ie, be, $e, We, ze, j, Le;
|
|
3271
3273
|
if (!(ie != null && ie.includes("[")))
|
|
3272
3274
|
he = he === "" ? he + ie.replaceAll("/", "") : he + "/" + ie.replaceAll("/", "");
|
|
3273
3275
|
else {
|
|
3274
|
-
let Re = l(ie).slice(1, ((Ie = l(ie)) == null ? void 0 : Ie.length) - 1), He = (
|
|
3276
|
+
let Re = l(ie).slice(1, ((Ie = l(ie)) == null ? void 0 : Ie.length) - 1), He = (j = (ze = (We = ($e = (be = l(Re)) == null ? void 0 : be.split("[")) == null ? void 0 : $e[1]) == null ? void 0 : We.split("]")) == null ? void 0 : ze[0]) == null ? void 0 : j.split(":"), ul = "", rl = (Le = re == null ? void 0 : re.find((Ue) => (Ue == null ? void 0 : Ue.name) === (He == null ? void 0 : He[0]))) == null ? void 0 : Le.compData;
|
|
3275
3277
|
rl == null || rl.forEach((Ue) => {
|
|
3276
3278
|
var pl;
|
|
3277
3279
|
(Ue == null ? void 0 : Ue.key) === "formContent" && ((pl = Ue == null ? void 0 : Ue.contents) == null || pl.forEach((qe) => {
|
|
@@ -3283,24 +3285,24 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3283
3285
|
return Ce;
|
|
3284
3286
|
}
|
|
3285
3287
|
}
|
|
3286
|
-
})) == null ? void 0 : b.filter((
|
|
3287
|
-
|
|
3288
|
-
let
|
|
3289
|
-
let
|
|
3290
|
-
if ((
|
|
3291
|
-
return await ns(
|
|
3288
|
+
})) == null ? void 0 : b.filter((le) => le);
|
|
3289
|
+
ee = [...new Set(l(ee))];
|
|
3290
|
+
let G = ee == null ? void 0 : ee.map(async (le) => {
|
|
3291
|
+
let se = await hl(le, sessionStorage.getItem("systemKey"), "");
|
|
3292
|
+
if ((se == null ? void 0 : se.length) === 0)
|
|
3293
|
+
return await ns(le);
|
|
3292
3294
|
});
|
|
3293
|
-
await Promise.all(
|
|
3294
|
-
let ve = (me = (Q = ($ = l(a)) == null ? void 0 : $.extraValues) == null ? void 0 : Q.output) == null ? void 0 : me.map(async (
|
|
3295
|
-
var v, C, N,
|
|
3296
|
-
if ((C = (v = Object.values(
|
|
3297
|
-
var
|
|
3295
|
+
await Promise.all(G);
|
|
3296
|
+
let ve = (me = (Q = ($ = l(a)) == null ? void 0 : $.extraValues) == null ? void 0 : Q.output) == null ? void 0 : me.map(async (le) => {
|
|
3297
|
+
var v, C, N, ae, V, q, ge, _e, Ce, he, ie, Ie, be, $e, We, ze, j, Le, Re, He, ul, rl, Ue, pl, qe, _l, Cl, Qe, Me, wl, Dl, Al, Il, xl, El, $l, Bl, Tl, Sl, Fl, Ol, Ll, Rl, Pl, vl, ia, na, oa, ua, ra, ca, ta, da, pa, fa, ha, va, ma, ya, ba;
|
|
3298
|
+
if ((C = (v = Object.values(le)) == null ? void 0 : v[0]) != null && C.includes(".doc")) {
|
|
3299
|
+
var se = new Blob([g.data], {
|
|
3298
3300
|
type: "application/octet-stream;charset=UTF-8"
|
|
3299
|
-
}), te = g.headers["content-disposition"], we = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ye = we.exec(te),
|
|
3300
|
-
e.style.display = "none", e.href = r, e.download = decodeURI(
|
|
3301
|
+
}), te = g.headers["content-disposition"], we = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ye = we.exec(te), H = ((V = (ae = (N = a == null ? void 0 : a.extraContent) == null ? void 0 : N[0]) == null ? void 0 : ae.split(".")) == null ? void 0 : V[0]) + "." + ((q = ye == null ? void 0 : ye[1].split(".")) == null ? void 0 : q[1]), e = document.createElement("a"), r = window.URL.createObjectURL(se), y = /^["](.*)["]$/g;
|
|
3302
|
+
e.style.display = "none", e.href = r, e.download = decodeURI(H.replace(y, "$1")), document.body.appendChild(e), e.click(), document.body.removeChild(e), window.URL.revokeObjectURL(r);
|
|
3301
3303
|
} else {
|
|
3302
|
-
let Gl = ($e = (be = (Ie = (_e = l((ge = Object.values(
|
|
3303
|
-
if (el.includes("[") && (el = (Le = l(el)) == null ? void 0 : Le.slice(0, ((
|
|
3304
|
+
let Gl = ($e = (be = (Ie = (_e = l((ge = Object.values(le)) == null ? void 0 : ge[0])) == null ? void 0 : _e.split("[")) == null ? void 0 : Ie[((ie = (he = l((Ce = Object.values(le)) == null ? void 0 : Ce[0])) == null ? void 0 : he.split("[")) == null ? void 0 : ie.length) - 1]) == null ? void 0 : be.split("]")) == null ? void 0 : $e[0], xe = Gl == null ? void 0 : Gl.split(":"), el = l((We = Object.values(le)) == null ? void 0 : We[0]).substring(0, l((ze = Object.values(le)) == null ? void 0 : ze[0]).lastIndexOf("["));
|
|
3305
|
+
if (el.includes("[") && (el = (Le = l(el)) == null ? void 0 : Le.slice(0, ((j = l(el)) == null ? void 0 : j.length) - 1)), el != null && el.includes("[")) {
|
|
3304
3306
|
let Fe = "";
|
|
3305
3307
|
(Re = Yl(el, "/")) == null || Re.forEach((Pe) => {
|
|
3306
3308
|
var jl, Ge, Xe, fl, Vl, ga, ka;
|
|
@@ -3360,13 +3362,13 @@ const ln = (p) => /^'[^']+':\{.*\}$/.exec(l(p)), an = (p) => /^'([^']+)':.*$/.ex
|
|
|
3360
3362
|
})).data.result;
|
|
3361
3363
|
let I = "";
|
|
3362
3364
|
const M = await hl(U.value, sessionStorage.getItem("systemKey"), "");
|
|
3363
|
-
return o == null || o.forEach((
|
|
3364
|
-
var
|
|
3365
|
-
((ve = (
|
|
3365
|
+
return o == null || o.forEach((ee) => {
|
|
3366
|
+
var G, ve, le, se, te;
|
|
3367
|
+
((ve = (G = ee == null ? void 0 : ee.value) == null ? void 0 : G.tableData) == null ? void 0 : ve.算法名称) === ((le = d == null ? void 0 : d[E]) == null ? void 0 : le.method) && (I = (te = (se = ee == null ? void 0 : ee.value) == null ? void 0 : se.tableData) == null ? void 0 : te.算法体);
|
|
3366
3368
|
}), {
|
|
3367
3369
|
buttonName: ((u = d == null ? void 0 : d[E]) == null ? void 0 : u.method) ?? ((Q = ($ = (b = o == null ? void 0 : o[0]) == null ? void 0 : b.value) == null ? void 0 : $.tableData) == null ? void 0 : Q.算法名称),
|
|
3368
3370
|
api: I === "" ? (t = (re = (me = o == null ? void 0 : o[0]) == null ? void 0 : me.value) == null ? void 0 : re.tableData) == null ? void 0 : t.算法体 : I,
|
|
3369
|
-
content: M == null ? void 0 : M.filter((
|
|
3371
|
+
content: M == null ? void 0 : M.filter((ee) => ee.comp !== "methodButton"),
|
|
3370
3372
|
extraContent: (D = l(i.value)) == null ? void 0 : D.slice(1),
|
|
3371
3373
|
methodName: (i == null ? void 0 : i.path) ?? "",
|
|
3372
3374
|
extraValues: (g = d == null ? void 0 : d[E]) == null ? void 0 : g.data
|
|
@@ -3444,7 +3446,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3444
3446
|
visible: !1,
|
|
3445
3447
|
width: "40%",
|
|
3446
3448
|
title: "签名配置"
|
|
3447
|
-
}), F = z("create"),
|
|
3449
|
+
}), F = z("create"), P = z([
|
|
3448
3450
|
{
|
|
3449
3451
|
label: "取消",
|
|
3450
3452
|
background: "#c0c4cc"
|
|
@@ -3676,7 +3678,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3676
3678
|
isEnableWrap: !1,
|
|
3677
3679
|
isButtonRow: !1,
|
|
3678
3680
|
isStartJustify: !1,
|
|
3679
|
-
buttonValue:
|
|
3681
|
+
buttonValue: P.value,
|
|
3680
3682
|
onOnButtonClick: pe
|
|
3681
3683
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3682
3684
|
])
|
|
@@ -3703,7 +3705,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3703
3705
|
const n = p, s = k, f = z(1), F = aa(() => {
|
|
3704
3706
|
var X, Y;
|
|
3705
3707
|
return (X = n == null ? void 0 : n.stepConfig) != null && X.allowTrigger ? f.value : (Y = n == null ? void 0 : n.stepConfig) == null ? void 0 : Y.active;
|
|
3706
|
-
}),
|
|
3708
|
+
}), P = (X, Y) => {
|
|
3707
3709
|
f.value = Y, s("clickStep", X, Y);
|
|
3708
3710
|
}, w = (X) => Qa(X), R = () => {
|
|
3709
3711
|
var Y;
|
|
@@ -3729,7 +3731,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3729
3731
|
(Z(!0), fe(Te, null, Oe(p.stepList, (h, a) => (Z(), Se(pe, {
|
|
3730
3732
|
key: a,
|
|
3731
3733
|
class: "step-item",
|
|
3732
|
-
onClick: (d) =>
|
|
3734
|
+
onClick: (d) => P(h, a + 1)
|
|
3733
3735
|
}, {
|
|
3734
3736
|
title: ce(() => [
|
|
3735
3737
|
Wl(X.$slots, "title", {
|
|
@@ -3782,7 +3784,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3782
3784
|
},
|
|
3783
3785
|
emits: ["clickStep"],
|
|
3784
3786
|
setup(p, { emit: k }) {
|
|
3785
|
-
const n = p, s = k, f = z({}), F = z([]),
|
|
3787
|
+
const n = p, s = k, f = z({}), F = z([]), P = (w, R) => {
|
|
3786
3788
|
s("clickStep", w, R);
|
|
3787
3789
|
};
|
|
3788
3790
|
return Ne(() => n == null ? void 0 : n.itemData, (w) => {
|
|
@@ -3795,7 +3797,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3795
3797
|
return Z(), Se(_n, {
|
|
3796
3798
|
stepConfig: f.value,
|
|
3797
3799
|
stepList: F.value,
|
|
3798
|
-
onClickStep:
|
|
3800
|
+
onClickStep: P
|
|
3799
3801
|
}, {
|
|
3800
3802
|
icon: ce(() => [
|
|
3801
3803
|
J(U, { name: "import" })
|
|
@@ -3828,8 +3830,8 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3828
3830
|
const s = Be("el-timeline-item"), f = Be("el-timeline");
|
|
3829
3831
|
return Z(), Se(f, null, {
|
|
3830
3832
|
default: ce(() => [
|
|
3831
|
-
(Z(!0), fe(Te, null, Oe(p.activities, (F,
|
|
3832
|
-
key:
|
|
3833
|
+
(Z(!0), fe(Te, null, Oe(p.activities, (F, P) => (Z(), Se(s, {
|
|
3834
|
+
key: P,
|
|
3833
3835
|
timestamp: F.timestamp,
|
|
3834
3836
|
placement: p.timeLineConfig.placement,
|
|
3835
3837
|
center: p.timeLineConfig.isCenter,
|
|
@@ -3864,16 +3866,16 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3864
3866
|
setup(p) {
|
|
3865
3867
|
const k = p, n = z({}), s = z([]);
|
|
3866
3868
|
return Ne(() => k == null ? void 0 : k.itemData, (f) => {
|
|
3867
|
-
var F,
|
|
3868
|
-
s.value = (F = f == null ? void 0 : f.find((w) => (w == null ? void 0 : w.key) === "timeLineList")) == null ? void 0 : F.contents, n.value = (
|
|
3869
|
+
var F, P;
|
|
3870
|
+
s.value = (F = f == null ? void 0 : f.find((w) => (w == null ? void 0 : w.key) === "timeLineList")) == null ? void 0 : F.contents, n.value = (P = f == null ? void 0 : f.find((w) => (w == null ? void 0 : w.key) === "timeLineConfig")) == null ? void 0 : P.contents;
|
|
3869
3871
|
}, {
|
|
3870
3872
|
immediate: !0
|
|
3871
3873
|
}), (f, F) => (Z(), Se(Dn, {
|
|
3872
3874
|
activities: s.value,
|
|
3873
3875
|
timeLineConfig: n.value
|
|
3874
3876
|
}, {
|
|
3875
|
-
content: ce(({ content:
|
|
3876
|
-
x("span", An, ke(
|
|
3877
|
+
content: ce(({ content: P, timestamp: w }) => [
|
|
3878
|
+
x("span", An, ke(P), 1),
|
|
3877
3879
|
x("span", In, ke(w), 1)
|
|
3878
3880
|
]),
|
|
3879
3881
|
_: 1
|
|
@@ -3956,7 +3958,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3956
3958
|
}), k.setItemData(F);
|
|
3957
3959
|
};
|
|
3958
3960
|
return (f, F) => {
|
|
3959
|
-
const
|
|
3961
|
+
const P = Be("svg-icon");
|
|
3960
3962
|
return Z(), fe("div", Sn, [
|
|
3961
3963
|
(Z(!0), fe(Te, null, Oe($a(bo), (w, R) => (Z(), fe("div", {
|
|
3962
3964
|
class: "type-list",
|
|
@@ -3967,7 +3969,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3967
3969
|
onClick: (U) => s(w)
|
|
3968
3970
|
}, [
|
|
3969
3971
|
x("div", On, [
|
|
3970
|
-
J(
|
|
3972
|
+
J(P, {
|
|
3971
3973
|
name: w.icon
|
|
3972
3974
|
}, null, 8, ["name"])
|
|
3973
3975
|
]),
|
|
@@ -3985,18 +3987,18 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
3985
3987
|
setup(p) {
|
|
3986
3988
|
const k = Jl(Ze), { itemData: n, originalData: s } = ol(k), f = z([]);
|
|
3987
3989
|
z([]);
|
|
3988
|
-
const F = z([]),
|
|
3990
|
+
const F = z([]), P = z([]), w = (pe) => {
|
|
3989
3991
|
var de;
|
|
3990
|
-
let ue = (de = l(
|
|
3991
|
-
|
|
3992
|
+
let ue = (de = l(P.value)) == null ? void 0 : de.map((A, m) => (pe === m && (A.content = !0), A));
|
|
3993
|
+
P.value = ue;
|
|
3992
3994
|
}, R = (pe) => {
|
|
3993
3995
|
var de;
|
|
3994
|
-
let ue = (de = l(
|
|
3995
|
-
|
|
3996
|
+
let ue = (de = l(P.value)) == null ? void 0 : de.map((A, m) => (pe === m && (A.content = !1), A));
|
|
3997
|
+
P.value = ue, f.value = l(n.value);
|
|
3996
3998
|
}, U = (pe, ue) => {
|
|
3997
3999
|
var W;
|
|
3998
|
-
let de = (W = l(
|
|
3999
|
-
|
|
4000
|
+
let de = (W = l(P.value)) == null ? void 0 : W.map((c, h) => (pe === h && (c.content = !1), c));
|
|
4001
|
+
P.value = de;
|
|
4000
4002
|
const A = l(n.value), m = A == null ? void 0 : A.filter((c, h) => (h === pe && (c.name = ue), c));
|
|
4001
4003
|
k.setOriginalData(m), k.setItemData(m);
|
|
4002
4004
|
};
|
|
@@ -4004,7 +4006,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4004
4006
|
() => n.value,
|
|
4005
4007
|
() => {
|
|
4006
4008
|
var pe, ue, de;
|
|
4007
|
-
!n.value || ((pe = n.value) == null ? void 0 : pe.length) === 0 ? f.value = [] : f.value = (ue = l(n.value)) == null ? void 0 : ue.filter((A) => (A == null ? void 0 : A.comp) !== "methodButton"), F.value = f.value,
|
|
4009
|
+
!n.value || ((pe = n.value) == null ? void 0 : pe.length) === 0 ? f.value = [] : f.value = (ue = l(n.value)) == null ? void 0 : ue.filter((A) => (A == null ? void 0 : A.comp) !== "methodButton"), F.value = f.value, P.value = (de = l(F.value)) == null ? void 0 : de.map((A, m) => ({
|
|
4008
4010
|
id: m,
|
|
4009
4011
|
content: !1
|
|
4010
4012
|
}));
|
|
@@ -4015,7 +4017,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4015
4017
|
var m, W;
|
|
4016
4018
|
if (!pe) return;
|
|
4017
4019
|
let A = l(n.value);
|
|
4018
|
-
A = (m = A == null ? void 0 : A.map((c, h) => (h === de && (c.compData = pe), c))) == null ? void 0 : m.filter((c) => (c == null ? void 0 : c.comp) !== "methodButton"),
|
|
4020
|
+
A = (m = A == null ? void 0 : A.map((c, h) => (h === de && (c.compData = pe), c))) == null ? void 0 : m.filter((c) => (c == null ? void 0 : c.comp) !== "methodButton"), P.value = (W = l(A)) == null ? void 0 : W.map((c, h) => ({
|
|
4019
4021
|
id: h,
|
|
4020
4022
|
content: !1
|
|
4021
4023
|
})), k.setOriginalData(A), k.setItemData(A);
|
|
@@ -4047,12 +4049,12 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4047
4049
|
return [
|
|
4048
4050
|
x("div", Vn, [
|
|
4049
4051
|
x("div", Nn, [
|
|
4050
|
-
(c = (W =
|
|
4052
|
+
(c = (W = P.value) == null ? void 0 : W.find((oe) => oe.id === m)) != null && c.content ? Ye("", !0) : (Z(), fe("div", {
|
|
4051
4053
|
key: 0,
|
|
4052
4054
|
class: "collapse-title",
|
|
4053
4055
|
style: Ma({ marginRight: A.name && A.name !== "" ? "8px" : "0px" })
|
|
4054
4056
|
}, ke(A.name), 5)),
|
|
4055
|
-
(a = (h =
|
|
4057
|
+
(a = (h = P.value) == null ? void 0 : h.find((oe) => oe.id === m)) != null && a.content ? (Z(), fe("div", Un, [
|
|
4056
4058
|
J(Ya, {
|
|
4057
4059
|
modelValue: A.name,
|
|
4058
4060
|
"onUpdate:modelValue": (oe) => A.name = oe,
|
|
@@ -4060,7 +4062,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4060
4062
|
}, ["stop"]))
|
|
4061
4063
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4062
4064
|
])) : Ye("", !0),
|
|
4063
|
-
(_ = (d =
|
|
4065
|
+
(_ = (d = P.value) == null ? void 0 : d.find((oe) => oe.id === m)) != null && _.content ? Ye("", !0) : (Z(), fe("div", {
|
|
4064
4066
|
key: 2,
|
|
4065
4067
|
onClick: Nl((oe) => w(m), ["stop"]),
|
|
4066
4068
|
class: "icon-content"
|
|
@@ -4072,7 +4074,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4072
4074
|
], 8, Kn))
|
|
4073
4075
|
]),
|
|
4074
4076
|
x("div", Wn, [
|
|
4075
|
-
(T = (O =
|
|
4077
|
+
(T = (O = P.value) == null ? void 0 : O.find((oe) => oe.id === m)) != null && T.content ? (Z(), fe("div", zn, [
|
|
4076
4078
|
J(de, {
|
|
4077
4079
|
name: "Cancel",
|
|
4078
4080
|
style: { width: "16px", height: "16px" },
|
|
@@ -4086,7 +4088,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4086
4088
|
class: "icon-content"
|
|
4087
4089
|
}, null, 8, ["onClick"])
|
|
4088
4090
|
])) : Ye("", !0),
|
|
4089
|
-
(K = (ne =
|
|
4091
|
+
(K = (ne = P.value) == null ? void 0 : ne.find((oe) => oe.id === m)) != null && K.content ? Ye("", !0) : (Z(), fe("div", {
|
|
4090
4092
|
key: 1,
|
|
4091
4093
|
onClick: Nl((oe) => Y(m), ["stop"]),
|
|
4092
4094
|
class: "icon-content"
|
|
@@ -4134,7 +4136,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4134
4136
|
{ deep: !0, immediate: !0 }
|
|
4135
4137
|
);
|
|
4136
4138
|
const f = (F) => sa(F);
|
|
4137
|
-
return (F,
|
|
4139
|
+
return (F, P) => {
|
|
4138
4140
|
var w;
|
|
4139
4141
|
return ((w = s.value) == null ? void 0 : w.length) > 0 ? (Z(), fe("div", qn, [
|
|
4140
4142
|
(Z(!0), fe(Te, null, Oe(s.value, (R, U) => (Z(), fe("div", {
|
|
@@ -4164,10 +4166,10 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4164
4166
|
},
|
|
4165
4167
|
emits: ["change"],
|
|
4166
4168
|
setup(p, { emit: k }) {
|
|
4167
|
-
const n = p, s = k, f = z([]), F = z(!1),
|
|
4168
|
-
|
|
4169
|
+
const n = p, s = k, f = z([]), F = z(!1), P = z(""), w = z({ title: "" }), R = z(-1), U = z(!1), S = z(-1), X = z(/* @__PURE__ */ new Map()), Y = z(null), pe = Jl(Ze), { itemData: ue } = ol(pe), de = () => {
|
|
4170
|
+
P.value = "新增标签页", w.value.title = "", R.value = -1, F.value = !0;
|
|
4169
4171
|
}, A = (u) => {
|
|
4170
|
-
|
|
4172
|
+
P.value = "修改标签页", w.value.title = f.value[u].title, R.value = u, F.value = !0;
|
|
4171
4173
|
}, m = (u) => {
|
|
4172
4174
|
const b = h(u);
|
|
4173
4175
|
X.value.delete(b), f.value.splice(u, 1), L();
|
|
@@ -4424,7 +4426,7 @@ const fn = /* @__PURE__ */ je(dn, [["render", pn]]), hn = { class: "module conte
|
|
|
4424
4426
|
J(Je, {
|
|
4425
4427
|
modelValue: F.value,
|
|
4426
4428
|
"onUpdate:modelValue": b[2] || (b[2] = (t) => F.value = t),
|
|
4427
|
-
title:
|
|
4429
|
+
title: P.value,
|
|
4428
4430
|
onBeforeDestroy: b[3] || (b[3] = (t) => F.value = !1)
|
|
4429
4431
|
}, {
|
|
4430
4432
|
footer: ce(() => [
|