ss-component-new 1.1.968 → 1.1.970
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/{animationData-CgXg3aWP.js → animationData-Cs1xyi1A.js} +3 -3
- package/dist/{animationData-vIUPsax5.cjs → animationData-DkzG4wWh.cjs} +1 -1
- package/dist/{array-CAtuJ0Ce.cjs → array-DecM9H4l.cjs} +1 -1
- package/dist/{array-CJ3NaEEf.js → array-NKfRbH0h.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-C_uHbUqr.cjs → index-0lr165xC.cjs} +1 -1
- package/dist/{index-_lT_HEqC.js → index-2Yqq67IU.js} +6 -6
- package/dist/{index-CYhfJZ5v.js → index-B39shW3q.js} +1 -1
- package/dist/{index-Dedec4ge.cjs → index-B3S02VaR.cjs} +1 -1
- package/dist/{index-CIYgpADx.cjs → index-BA9qwfKE.cjs} +1 -1
- package/dist/{index-D6KPdpP0.cjs → index-BDdnhKwm.cjs} +1 -1
- package/dist/{index-CUwwHEzW.js → index-BDmRbPuQ.js} +2 -2
- package/dist/{index-CcuOHcIO.cjs → index-BEKa9i86.cjs} +1 -1
- package/dist/{index-DQ828YJ3.cjs → index-BGpDTuVY.cjs} +1 -1
- package/dist/{index-0VYkrhJG.cjs → index-BIDCc1G8.cjs} +1 -1
- package/dist/{index-DRTFRXRa.js → index-BNbgnFHv.js} +1 -1
- package/dist/{index-CdfTuxGb.cjs → index-BOA7HMCD.cjs} +1 -1
- package/dist/{index-EJijm_gT.cjs → index-BavrW-fo.cjs} +1 -1
- package/dist/{index-De5eoiw8.js → index-Bd-euVm_.js} +2962 -2958
- package/dist/{index-CHaodEQ4.cjs → index-BgPOSTQs.cjs} +1 -1
- package/dist/{index-BbqNb19X.cjs → index-Bn1aDzTt.cjs} +1 -1
- package/dist/index-BpO_tdLl.cjs +1 -0
- package/dist/{index-rn9SX9Nl.cjs → index-Bpf2owNM.cjs} +1 -1
- package/dist/{index-Cq3syoIX.js → index-Brhf4ViU.js} +806 -806
- package/dist/{index-CBbAqPtN.js → index-BwPZurBP.js} +3 -3
- package/dist/{index-D9F8SKLx.cjs → index-BzC6eWC8.cjs} +1 -1
- package/dist/{index-D0iUTRGH.js → index-C0HRdd_c.js} +3 -3
- package/dist/{index-i-G3yrP3.cjs → index-C4R0CfEE.cjs} +1 -1
- package/dist/{index-ClbwQSnc.cjs → index-C8G_IwB1.cjs} +13 -13
- package/dist/{index-Cn1CAT5v.js → index-CEKH6kdU.js} +1 -1
- package/dist/{index-CdMRtchd.js → index-CExK-pXu.js} +2 -2
- package/dist/{index-DepJzm_V.js → index-CFyNIMNy.js} +2 -2
- package/dist/{index-DKUUYMq4.cjs → index-CHyYHZBB.cjs} +1 -1
- package/dist/{index-BKqNnsf0.cjs → index-CN6vGDE8.cjs} +1 -1
- package/dist/{index-BwL4IL28.cjs → index-CNb3G2v8.cjs} +1 -1
- package/dist/{index-BxEki0jM.cjs → index-CXLYjBEr.cjs} +1 -1
- package/dist/{index-disrgkJ3.js → index-CYkldwGL.js} +2 -2
- package/dist/{index-VNfOCqKl.cjs → index-CZxB1qs5.cjs} +1 -1
- package/dist/{index-DjFfYbPX.js → index-Ca2f0VUg.js} +6 -6
- package/dist/{index-B1XIkz_I.js → index-CcWv2JMn.js} +2 -2
- package/dist/{index-C_rCUjYa.js → index-ClwnmBI2.js} +2 -2
- package/dist/{index-BxGHSUPl.cjs → index-CmSvv5sz.cjs} +1 -1
- package/dist/{index-B6SS1Bmw.js → index-CtFW037j.js} +1 -1
- package/dist/{index-D5-da4-g.js → index-CwH74rkT.js} +5 -5
- package/dist/{index-Bt91L-4V.cjs → index-CwyjIWlq.cjs} +1 -1
- package/dist/{index-jsWJ1pPX.cjs → index-D1qiSl4z.cjs} +1 -1
- package/dist/{index-ZZPgG1-B.cjs → index-D5qQ230r.cjs} +1 -1
- package/dist/{index-BdHcdEnw.cjs → index-D6XpMz35.cjs} +1 -1
- package/dist/{index-9_77UsVI.js → index-D7G9AJWF.js} +2 -2
- package/dist/{index-DpsBCJ_W.js → index-DGk8PC6I.js} +2 -2
- package/dist/{index-BITQf-IP.js → index-DXQvtODI.js} +3 -3
- package/dist/{index-iWe5mgri.cjs → index-DZ1Lftny.cjs} +1 -1
- package/dist/{index-B2rYLxXt.js → index-DZezlj6e.js} +4 -4
- package/dist/{index-HASvh5ZQ.js → index-D_0XLuS9.js} +3 -3
- package/dist/{index-Cysq1-Lh.js → index-D_We23lH.js} +11 -11
- package/dist/{index-BZFlG1sR.js → index-DmMJJ0Jf.js} +3 -3
- package/dist/{index-U_9xRe4o.js → index-DmuGYM5h.js} +19 -19
- package/dist/{index-x-j1smHg.cjs → index-DuQHeRpA.cjs} +1 -1
- package/dist/{index-D5npP3EM.cjs → index-DvWyTRLB.cjs} +1 -1
- package/dist/{index-CsQHODXt.js → index-Dzd34mso.js} +1 -1
- package/dist/{index-CP_TZr3w.cjs → index-Ekt8m_1C.cjs} +1 -1
- package/dist/{index-CP3-EZXr.js → index-LB81kaSe.js} +6 -6
- package/dist/{index-4bnmiKnw.js → index-UpV405LB.js} +10 -10
- package/dist/{index-BzwifOO1.js → index-c1LZxfv-.js} +6 -6
- package/dist/{index-CRKAT5Xa.js → index-cu1e_o9m.js} +2 -2
- package/dist/{index-BPHEc-g6.cjs → index-dSxc93u_.cjs} +1 -1
- package/dist/{index-C_EQzYyN.js → index-enkFmdPq.js} +4 -4
- package/dist/{index-ChrTJ1W6.js → index-iKElN44U.js} +1 -1
- package/dist/{index-CgJJ7PbV.cjs → index-wJwy2tSX.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DBQPkAbZ.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bkf-CuS1.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-9oJPX8GC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Ct7whq54.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Cvm84UNX.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cx0s-ean.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CC00QRwn.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Dbljel7j.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CzQC3P3d.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-9YdwQa2u.js} +14 -14
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CQa0CS1h.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DKICgO-I.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DnIBHMkQ.cjs → index.vue_vue_type_style_index_1_lang-BpnUtA8o.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-IgCzvgcg.cjs → index.vue_vue_type_style_index_1_lang-CletbRcG.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-F_FjApJY.js → index.vue_vue_type_style_index_1_lang-DEUcHlZd.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-ChD2Hmhy.js → index.vue_vue_type_style_index_1_lang-DQF03uWi.js} +2 -2
- package/dist/{isString-DRPPYOfx.js → isString-BMd91i2E.js} +1 -1
- package/dist/{isString-9uUnZx8o.cjs → isString-CS7YCv9X.cjs} +1 -1
- package/dist/{isUndefined-0SDwo3OT.js → isUndefined-BAPZm5c1.js} +1 -1
- package/dist/{isUndefined-BMUWuDCd.cjs → isUndefined-CkboWss0.cjs} +1 -1
- package/dist/{main-SYj23ymE.cjs → main-BmmcLWmM.cjs} +1 -1
- package/dist/{main-V_8TBVI5.js → main-FbCHbEH9.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeLatheView-CVb17wAI.cjs → threeLatheView-B__-ooFI.cjs} +1 -1
- package/dist/{threeLatheView-BwdNkKJr.js → threeLatheView-Bl2igq1g.js} +2 -2
- package/dist/{threeModel-84rNSik2.js → threeModel-4uFHxx8P.js} +3 -3
- package/dist/{threeModel-wxWlWxtG.cjs → threeModel-DqqiLPCU.cjs} +1 -1
- package/dist/{threePreview-CCPOdEt6.js → threePreview-1VkG7-qJ.js} +1 -1
- package/dist/{threePreview-D8GMBJD2.cjs → threePreview-BuRwDPP-.cjs} +1 -1
- package/dist/{threeSceneView-DRmiFIah.cjs → threeSceneView-BRCKwrsg.cjs} +1 -1
- package/dist/{threeSceneView-C1G0Mt5Y.js → threeSceneView-CRWQXkBv.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-DtZV5jVr.cjs → threeSceneViewForCPMPIP-DeKWat2R.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-Dody72Vh.js → threeSceneViewForCPMPIP-rdRrOQgn.js} +3 -3
- package/dist/{threeViewerHost-DW1H-gNy.cjs → threeViewerHost-C7J24Dzw.cjs} +1 -1
- package/dist/{threeViewerHost-DdFJuluc.js → threeViewerHost-EDXsKeN5.js} +4 -4
- package/package.json +1 -1
- package/public/config.js +1 -1
- package/dist/index-D26u2Y9X.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { b as hi, a as mi, f as gi, g as bi, u as ki, s as _i } from "./index-
|
|
2
|
-
import { computed as Xl, ref as W, watch as Tl, onUnmounted as Ci, resolveComponent as dl, createElementBlock as
|
|
3
|
-
import { bu as Ii, bv as xi, s as El, p as xl, u as vs, c as s, E as Cl, b as _s, g as Gl, f as ts, bp as Ha, bo as cs, d as Ea, bw as Cs, e as Ys, bx as Ai, i as Qs, bq as Ei } from "./index-
|
|
4
|
-
import { c as jl, a as As, d as Zs, E as ei, e as Ti, f as $i, b as Bi, i as ls } from "./index-
|
|
5
|
-
import { a as qa, u as Xa, k as ys, aq as Li, ar as ws, ap as Ds, i as Bl, as as Es, E as ta, at as Ss, au as zl, av as Aa, aw as ra, ax as wa, ay as bs, l as Oi, az as Fi, aA as Ki, aB as Ui, aC as Ri, aD as Pi, aE as ji, aF as Ni, aG as Mi } from "./index.vue_vue_type_style_index_1_lang-
|
|
6
|
-
import { s as Wl } from "./index-
|
|
7
|
-
import { a as Vi, T as Wi } from "./threeViewerHost-
|
|
8
|
-
import { S as zi, e as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
import { b as hi, a as mi, f as gi, g as bi, u as ki, s as _i } from "./index-UpV405LB.js";
|
|
2
|
+
import { computed as Xl, ref as W, watch as Tl, onUnmounted as Ci, resolveComponent as dl, createElementBlock as Te, openBlock as te, createVNode as le, createBlock as pl, createCommentVNode as Vl, withCtx as he, createElementVNode as $, Fragment as bl, renderList as Al, toDisplayString as Je, nextTick as xs, createTextVNode as nl, unref as Kl, defineComponent as ea, reactive as xa, resolveDynamicComponent as ka, renderSlot as ns, createSlots as wi, mergeProps as Di, normalizeStyle as Ga, withModifiers as Ia, onMounted as fs, getCurrentInstance as Si } from "vue";
|
|
3
|
+
import { bu as Ii, bv as xi, s as El, p as xl, u as vs, c as s, E as Cl, b as _s, g as Gl, f as ts, bp as Ha, bo as cs, d as Ea, bw as Cs, e as Ys, bx as Ai, i as Qs, bq as Ei } from "./index-BNbgnFHv.js";
|
|
4
|
+
import { c as jl, a as As, d as Zs, E as ei, e as Ti, f as $i, b as Bi, i as ls } from "./index-Bd-euVm_.js";
|
|
5
|
+
import { a as qa, u as Xa, k as ys, aq as Li, ar as ws, ap as Ds, i as Bl, as as Es, E as ta, at as Ss, au as zl, av as Aa, aw as ra, ax as wa, ay as bs, l as Oi, az as Fi, aA as Ki, aB as Ui, aC as Ri, aD as Pi, aE as ji, aF as Ni, aG as Mi } from "./index.vue_vue_type_style_index_1_lang-DQF03uWi.js";
|
|
6
|
+
import { s as Wl } from "./index-Dzd34mso.js";
|
|
7
|
+
import { a as Vi, T as Wi } from "./threeViewerHost-EDXsKeN5.js";
|
|
8
|
+
import { S as zi, e as as } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bkf-CuS1.js";
|
|
9
9
|
import { _ as $l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { d as li, i as Gi } from "./isUndefined-
|
|
11
|
-
import { i as Rs } from "./isString-
|
|
10
|
+
import { d as li, i as Gi } from "./isUndefined-BAPZm5c1.js";
|
|
11
|
+
import { i as Rs } from "./isString-BMd91i2E.js";
|
|
12
12
|
import { _ as Ps } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
13
|
-
import { a as Hi, s as Ji } from "./index-
|
|
13
|
+
import { a as Hi, s as Ji } from "./index-2Yqq67IU.js";
|
|
14
14
|
import ai from "./index-DiRBJiMW.js";
|
|
15
|
-
import { s as qi } from "./index-
|
|
15
|
+
import { s as qi } from "./index-CEKH6kdU.js";
|
|
16
16
|
var Xi = "[object Boolean]";
|
|
17
17
|
function si(e) {
|
|
18
18
|
return e === !0 || e === !1 || Ii(e) && xi(e) == Xi;
|
|
@@ -54,7 +54,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
54
54
|
const o = (ee = J.value) == null ? void 0 : ee.split("/");
|
|
55
55
|
return (o == null ? void 0 : o.some((N) => (N == null ? void 0 : N.includes("updateLoading")) || (N == null ? void 0 : N.includes("loading")))) ? !1 : ge.value === "view";
|
|
56
56
|
});
|
|
57
|
-
const a = v, t = W([]), k = W(!1), f = W(!1), w = W([]), { isUseBackdrop:
|
|
57
|
+
const a = v, t = W([]), k = W(!1), f = W(!1), w = W([]), { isUseBackdrop: d, isThreeSystem: y, isTrackPathFile: T, initTrackFileType: D, getFileExtension: re, setData: L } = Vi(), De = W(), R = W(!1), O = W(!1), Ce = W([]), b = W(), I = W(!1), h = W([]), C = hi(xl), ce = mi(xl), ae = W(!1), Ue = W(), al = vs(xl), { loginUserInfo: ul } = El(al), Ye = W(), ze = W(!0), g = qa(xl), { tableViewContents: H, itemData: pe, isEdit: ge, routeToChildPath: Le } = El(g), se = W(null), q = W(!1), r = W(!1), de = Xa(), { activeMenuPath: J } = El(de), ue = ys(xl), { originalPath: Ve } = El(ue), Re = W([]), _e = W([
|
|
58
58
|
{
|
|
59
59
|
label: "编辑",
|
|
60
60
|
value: "operable",
|
|
@@ -91,14 +91,14 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
91
91
|
Ci(() => {
|
|
92
92
|
se.value = null;
|
|
93
93
|
});
|
|
94
|
-
const
|
|
94
|
+
const Pe = async (o) => {
|
|
95
95
|
var _, ee, N, K, x, ye;
|
|
96
96
|
if (o === "") {
|
|
97
97
|
let B = "";
|
|
98
98
|
(_ = t.value) == null || _.forEach((p) => {
|
|
99
99
|
p != null && p.isMain && (B = p == null ? void 0 : p.value);
|
|
100
100
|
});
|
|
101
|
-
let Q = await Bl(
|
|
101
|
+
let Q = await Bl(Le.value, sessionStorage.getItem("systemKey"), "");
|
|
102
102
|
B = ((ye = (x = (K = (N = (ee = Q == null ? void 0 : Q[0]) == null ? void 0 : ee.compData) == null ? void 0 : N.find((p) => (p == null ? void 0 : p.key) === "mainRouters")) == null ? void 0 : K.contents) == null ? void 0 : x[0]) == null ? void 0 : ye.routerContent) + Ve.value + B;
|
|
103
103
|
let Z = await Bl(B, sessionStorage.getItem("systemKey"), "");
|
|
104
104
|
I.value = !0, h.value = Z == null ? void 0 : Z.filter((p) => (p == null ? void 0 : p.comp) !== "methodButton"), a("routeUrl", h.value);
|
|
@@ -129,10 +129,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
129
129
|
N ? P = {
|
|
130
130
|
...P,
|
|
131
131
|
compData: (Z = P == null ? void 0 : P.compData) == null ? void 0 : Z.map((fe) => {
|
|
132
|
-
var
|
|
132
|
+
var Oe;
|
|
133
133
|
return (fe == null ? void 0 : fe.key) === "formContent" ? {
|
|
134
134
|
...fe,
|
|
135
|
-
contents: (
|
|
135
|
+
contents: (Oe = fe == null ? void 0 : fe.contents) == null ? void 0 : Oe.map((V) => ({
|
|
136
136
|
...V,
|
|
137
137
|
[o]: ee
|
|
138
138
|
}))
|
|
@@ -141,10 +141,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
141
141
|
} : P = {
|
|
142
142
|
...P,
|
|
143
143
|
compData: (j = P == null ? void 0 : P.compData) == null ? void 0 : j.map((fe) => {
|
|
144
|
-
var
|
|
144
|
+
var Oe;
|
|
145
145
|
return (fe == null ? void 0 : fe.key) === "formContent" ? {
|
|
146
146
|
...fe,
|
|
147
|
-
contents: (
|
|
147
|
+
contents: (Oe = fe == null ? void 0 : fe.contents) == null ? void 0 : Oe.map((V) => (V == null ? void 0 : V.prop) === (_ == null ? void 0 : _.prop) ? {
|
|
148
148
|
...V,
|
|
149
149
|
[o]: ee
|
|
150
150
|
} : V)
|
|
@@ -164,21 +164,21 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
164
164
|
}
|
|
165
165
|
}, U = async (o, _) => {
|
|
166
166
|
await A("label", _, o);
|
|
167
|
-
},
|
|
167
|
+
}, G = async (o, _) => {
|
|
168
168
|
o && await A("type", _, o);
|
|
169
|
-
},
|
|
169
|
+
}, Ke = async (o, _, ee) => {
|
|
170
170
|
await A(_, ee, o, !1);
|
|
171
171
|
}, xe = (o, _) => {
|
|
172
172
|
Ye.value === _ ? ze.value = !1 : ze.value = !0, Ye.value = _ == null ? void 0 : _.changeProp;
|
|
173
173
|
}, i = async (o) => {
|
|
174
|
-
var ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe, fe,
|
|
174
|
+
var ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe, fe, Oe, V;
|
|
175
175
|
let _ = [];
|
|
176
176
|
if ((ee = o == null ? void 0 : o.toString()) != null && ee.includes(".urdf")) {
|
|
177
177
|
if (o.includes(",")) {
|
|
178
178
|
Cl.error("当前版本仅允许单个urdf预览!");
|
|
179
179
|
return;
|
|
180
180
|
}
|
|
181
|
-
if (
|
|
181
|
+
if (d(o)) {
|
|
182
182
|
L({
|
|
183
183
|
url: [o]
|
|
184
184
|
});
|
|
@@ -213,7 +213,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
213
213
|
(fe = o == null ? void 0 : o.split("/")) == null || fe.forEach((vl, Ne) => {
|
|
214
214
|
var Me;
|
|
215
215
|
Ne === ((Me = o == null ? void 0 : o.split("/")) == null ? void 0 : Me.length) - 1 && (sl = vl);
|
|
216
|
-
}), (
|
|
216
|
+
}), (Oe = me.blob) != null && Oe.includes(".stl") && (sl = (sl == null ? void 0 : sl.replaceAll(">", "")) + ".urdf"), b.value = [{
|
|
217
217
|
name: sl,
|
|
218
218
|
blobUrl: qe
|
|
219
219
|
}], O.value = !0;
|
|
@@ -237,7 +237,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
237
237
|
if ((V = o == null ? void 0 : o.split("/")) == null || V.forEach((sl, vl) => {
|
|
238
238
|
var Ne;
|
|
239
239
|
vl === ((Ne = o == null ? void 0 : o.split("/")) == null ? void 0 : Ne.length) - 1 && (qe = sl);
|
|
240
|
-
}),
|
|
240
|
+
}), d(qe) && T(qe)) {
|
|
241
241
|
const sl = D(qe), vl = re(qe);
|
|
242
242
|
L({
|
|
243
243
|
extension: vl,
|
|
@@ -269,30 +269,30 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
269
269
|
buttonName: o == null ? void 0 : o.buttonName
|
|
270
270
|
};
|
|
271
271
|
a("change", K);
|
|
272
|
-
}, m = Xl(() => "http://222.92.178.198:
|
|
273
|
-
var S, P, oe, fe,
|
|
272
|
+
}, m = Xl(() => "http://222.92.178.198:62009"), F = async (o) => {
|
|
273
|
+
var S, P, oe, fe, Oe, V, X, ve, me, Ae, qe, sl, vl, Ne, Me, Dl;
|
|
274
274
|
if (!o) return;
|
|
275
|
-
(P = (S = l == null ? void 0 : l.itemData) == null ? void 0 : S.find((
|
|
275
|
+
(P = (S = l == null ? void 0 : l.itemData) == null ? void 0 : S.find((we) => (we == null ? void 0 : we.key) === "parentFormPath")) == null || P.contents;
|
|
276
276
|
let _ = H.value;
|
|
277
|
-
(_ == null ? void 0 : _.length) > 0 && (_ = _ == null ? void 0 : _.map((
|
|
278
|
-
var Ie;
|
|
279
|
-
let
|
|
280
|
-
return (l == null ? void 0 : l.compName) === (
|
|
277
|
+
(_ == null ? void 0 : _.length) > 0 && (_ = _ == null ? void 0 : _.map((we) => {
|
|
278
|
+
var Ie, Fe, c, z;
|
|
279
|
+
let $e = (Ie = we == null ? void 0 : we.key) == null ? void 0 : Ie.split("/");
|
|
280
|
+
return (l == null ? void 0 : l.compName) === ($e == null ? void 0 : $e[0]) && (Fe = t.value) != null && Fe.find((Be) => (Be == null ? void 0 : Be.prop) === ($e == null ? void 0 : $e[1])) && (we.value = (z = (c = t.value) == null ? void 0 : c.find((Be) => (Be == null ? void 0 : Be.prop) === ($e == null ? void 0 : $e[1]))) == null ? void 0 : z.value), we;
|
|
281
281
|
}), g.setTableViewContents(_));
|
|
282
282
|
const ee = s(l.itemData);
|
|
283
|
-
let N = ee == null ? void 0 : ee.map((
|
|
284
|
-
var
|
|
285
|
-
return (
|
|
286
|
-
var
|
|
287
|
-
return Ie.type = (
|
|
283
|
+
let N = ee == null ? void 0 : ee.map((we) => {
|
|
284
|
+
var $e;
|
|
285
|
+
return (we == null ? void 0 : we.key) === "formContent" && (($e = we.contents) == null || $e.map((Ie, Fe) => {
|
|
286
|
+
var c, z, Be, ke, Ee, Qe, ll, Xe, Ge, He, Ze, fl, yl, hl, rl, Il, wl, Ml, Jl;
|
|
287
|
+
return Ie.type = (z = (c = t.value) == null ? void 0 : c.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : z.type, Ie.options = Ie != null && Ie.options ? Ie.options : ((Ee = (ke = (Be = Ie == null ? void 0 : Ie.key) == null ? void 0 : Be.split("$")) == null ? void 0 : ke[1]) == null ? void 0 : Ee.length) > 0 ? (Ge = (Xe = gi((ll = (Qe = Ie == null ? void 0 : Ie.key) == null ? void 0 : Qe.split("$")) == null ? void 0 : ll[1])) == null ? void 0 : Xe.split(",")) == null ? void 0 : Ge.map((Sl) => ({
|
|
288
288
|
label: Sl,
|
|
289
289
|
value: Sl
|
|
290
|
-
})) : [], (He = Ie == null ? void 0 : Ie.key) != null && He.includes("$") && (Ie.key = (fl = (Ze = Ie == null ? void 0 : Ie.key) == null ? void 0 : Ze.split("$")) == null ? void 0 : fl[0]), Ie.signature = (hl = (yl = t.value) == null ? void 0 : yl.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : hl.signature, Ie.isLoginUser = (Il = (rl = t.value) == null ? void 0 : rl.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : Il.isLoginUser, Ie.value = (wl = Object.values(o)) == null ? void 0 : wl[
|
|
291
|
-
})),
|
|
292
|
-
}), K = s(t).value, x = (fe = (oe = s(N)) == null ? void 0 : oe.find((
|
|
293
|
-
if (K = K == null ? void 0 : K.map((
|
|
294
|
-
var
|
|
295
|
-
return
|
|
290
|
+
})) : [], (He = Ie == null ? void 0 : Ie.key) != null && He.includes("$") && (Ie.key = (fl = (Ze = Ie == null ? void 0 : Ie.key) == null ? void 0 : Ze.split("$")) == null ? void 0 : fl[0]), Ie.signature = (hl = (yl = t.value) == null ? void 0 : yl.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : hl.signature, Ie.isLoginUser = (Il = (rl = t.value) == null ? void 0 : rl.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : Il.isLoginUser, Ie.value = (wl = Object.values(o)) == null ? void 0 : wl[Fe], Ie.isFormColHidden = (Jl = (Ml = t.value) == null ? void 0 : Ml.find((Sl) => (Sl == null ? void 0 : Sl.prop) === (Ie == null ? void 0 : Ie.prop))) == null ? void 0 : Jl.isFormColHidden, Ie;
|
|
291
|
+
})), we;
|
|
292
|
+
}), K = s(t).value, x = (fe = (oe = s(N)) == null ? void 0 : oe.find((we) => (we == null ? void 0 : we.key) === "formContent")) == null ? void 0 : fe.contents;
|
|
293
|
+
if (K = K == null ? void 0 : K.map((we) => {
|
|
294
|
+
var $e;
|
|
295
|
+
return we.value = ($e = x == null ? void 0 : x.find((Ie, Fe) => ((Ie == null ? void 0 : Ie.id) ?? Fe) === (we == null ? void 0 : we.id))) == null ? void 0 : $e.value, we;
|
|
296
296
|
}), !ze.value) {
|
|
297
297
|
a("contentChange", {
|
|
298
298
|
contents: N,
|
|
@@ -300,50 +300,50 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
300
300
|
});
|
|
301
301
|
return;
|
|
302
302
|
}
|
|
303
|
-
let ye = "", B = (X = (V = (
|
|
304
|
-
var Ie,
|
|
305
|
-
return (
|
|
303
|
+
let ye = "", B = (X = (V = (Oe = s(N)) == null ? void 0 : Oe.find((we) => (we == null ? void 0 : we.key) === "formContent")) == null ? void 0 : V.contents) == null ? void 0 : X.find((we, $e) => {
|
|
304
|
+
var Ie, Fe, c;
|
|
305
|
+
return (we == null ? void 0 : we.label) === Ye.value || $e.toString() === ((c = (Fe = (Ie = Ye.value) == null ? void 0 : Ie.split("t")) == null ? void 0 : Fe[1]) == null ? void 0 : c.toString());
|
|
306
306
|
}), Q = (ve = B == null ? void 0 : B.optionUrl) == null ? void 0 : ve.menuSelect, j = !0;
|
|
307
|
-
if ((qe = (Ae = (me = s(N)) == null ? void 0 : me.find((
|
|
308
|
-
var
|
|
309
|
-
j && ((
|
|
307
|
+
if ((qe = (Ae = (me = s(N)) == null ? void 0 : me.find((we) => (we == null ? void 0 : we.key) === "formContent")) == null ? void 0 : Ae.contents) == null || qe.forEach((we) => {
|
|
308
|
+
var $e, Ie, Fe, c, z, Be;
|
|
309
|
+
j && ((Fe = (Ie = ($e = we == null ? void 0 : we.optionUrl) == null ? void 0 : $e.groupSelect) == null ? void 0 : Ie[1]) != null && Fe.includes("[")) && (ye = (z = (c = we == null ? void 0 : we.optionUrl) == null ? void 0 : c.groupSelect) == null ? void 0 : z[1], JSON.stringify(Q) === JSON.stringify((Be = we == null ? void 0 : we.optionUrl) == null ? void 0 : Be.menuSelect) && (j = !1));
|
|
310
310
|
}), (sl = B == null ? void 0 : B.optionUrl) != null && sl.menuSelect && ze.value) {
|
|
311
|
-
let
|
|
312
|
-
if (
|
|
313
|
-
var
|
|
314
|
-
ye === ((
|
|
315
|
-
}),
|
|
316
|
-
let
|
|
317
|
-
|
|
318
|
-
var
|
|
319
|
-
return (
|
|
311
|
+
let we = await bi(B), $e, Ie = (vl = B == null ? void 0 : B.optionUrl) == null ? void 0 : vl.menuSelect;
|
|
312
|
+
if (we == null || we.forEach((Fe) => {
|
|
313
|
+
var c, z, Be, ke, Ee, Qe, ll, Xe, Ge, He;
|
|
314
|
+
ye === ((z = (c = B == null ? void 0 : B.optionUrl) == null ? void 0 : c.groupSelect) == null ? void 0 : z[1]) && ((Ee = (ke = (Be = B == null ? void 0 : B.optionUrl) == null ? void 0 : Be.groupSelect) == null ? void 0 : ke[1]) != null && Ee.includes("[")) && ((He = s(Fe)) == null ? void 0 : He[(Ge = (Xe = (ll = (Qe = B == null ? void 0 : B.optionUrl) == null ? void 0 : Qe.groupSelect) == null ? void 0 : ll[1]) == null ? void 0 : Xe.replaceAll("[", "")) == null ? void 0 : Ge.replaceAll("]", "")]) === (B == null ? void 0 : B.value) && ($e = Fe);
|
|
315
|
+
}), $e) {
|
|
316
|
+
let Fe = s(K);
|
|
317
|
+
Fe = Fe == null ? void 0 : Fe.map((z) => {
|
|
318
|
+
var Be, ke, Ee, Qe, ll, Xe, Ge, He, Ze, fl, yl;
|
|
319
|
+
return ($e != null && $e[z == null ? void 0 : z.label] || $e != null && $e[(Qe = (Ee = (ke = (Be = z == null ? void 0 : z.optionUrl) == null ? void 0 : Be.groupSelect) == null ? void 0 : ke[1]) == null ? void 0 : Ee.replaceAll("[", "")) == null ? void 0 : Qe.replaceAll("]", "")]) && ((Ge = (Xe = (ll = z == null ? void 0 : z.optionUrl) == null ? void 0 : ll.groupSelect) == null ? void 0 : Xe[1]) != null && Ge.includes("[")) && Ie != null && Ie.every((hl) => {
|
|
320
320
|
var rl, Il;
|
|
321
|
-
return (Il = (rl =
|
|
322
|
-
}) && (
|
|
323
|
-
}),
|
|
324
|
-
var
|
|
325
|
-
return (
|
|
326
|
-
}), t.value = s(
|
|
327
|
-
let
|
|
328
|
-
|
|
329
|
-
var
|
|
330
|
-
return (ke = (
|
|
321
|
+
return (Il = (rl = z == null ? void 0 : z.optionUrl) == null ? void 0 : rl.menuSelect) == null ? void 0 : Il.includes(hl);
|
|
322
|
+
}) && (z.value = ($e == null ? void 0 : $e[z == null ? void 0 : z.label]) || ($e == null ? void 0 : $e[(yl = (fl = (Ze = (He = z == null ? void 0 : z.optionUrl) == null ? void 0 : He.groupSelect) == null ? void 0 : Ze[1]) == null ? void 0 : fl.replaceAll("[", "")) == null ? void 0 : yl.replaceAll("]", "")]), Array.isArray(z.value) && z.value.every((hl) => (hl == null ? void 0 : hl.url) && (hl == null ? void 0 : hl.name)) && (z.type = "Upload")), z;
|
|
323
|
+
}), Fe = Fe == null ? void 0 : Fe.map((z) => {
|
|
324
|
+
var Be, ke, Ee;
|
|
325
|
+
return (Be = z == null ? void 0 : z.optionUrl) != null && Be.oldMenuSelect && (z.optionUrl.menuSelect = (Ee = (ke = s(z)) == null ? void 0 : ke.optionUrl) == null ? void 0 : Ee.oldMenuSelect), z;
|
|
326
|
+
}), t.value = s(Fe);
|
|
327
|
+
let c = s(Fe);
|
|
328
|
+
c = c == null ? void 0 : c.map((z) => {
|
|
329
|
+
var Be, ke, Ee, Qe, ll, Xe;
|
|
330
|
+
return (ke = (Be = z == null ? void 0 : z.optionUrl) == null ? void 0 : Be.menuSelect) != null && ke.some((Ge) => Ge == null ? void 0 : Ge.includes("[")) && (z.optionUrl.oldMenuSelect = (Qe = (Ee = s(z)) == null ? void 0 : Ee.optionUrl) == null ? void 0 : Qe.menuSelect, z.optionUrl.menuSelect = (Xe = (ll = z == null ? void 0 : z.optionUrl) == null ? void 0 : ll.menuSelect) == null ? void 0 : Xe.map((Ge) => {
|
|
331
331
|
var He, Ze, fl, yl;
|
|
332
332
|
if (Ge != null && Ge.includes("[")) {
|
|
333
333
|
let hl = (Ze = (He = Ge == null ? void 0 : Ge.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : He.split(":")) == null ? void 0 : Ze[1];
|
|
334
|
-
Ge = (yl = (fl = s(
|
|
334
|
+
Ge = (yl = (fl = s(Fe)) == null ? void 0 : fl.find((rl) => (rl == null ? void 0 : rl.label) === hl)) == null ? void 0 : yl.value;
|
|
335
335
|
}
|
|
336
336
|
return Ge;
|
|
337
|
-
})),
|
|
338
|
-
}), t.value =
|
|
337
|
+
})), z;
|
|
338
|
+
}), t.value = c;
|
|
339
339
|
} else
|
|
340
340
|
t.value = K;
|
|
341
|
-
N = N == null ? void 0 : N.map((
|
|
342
|
-
var
|
|
343
|
-
return (
|
|
344
|
-
var
|
|
345
|
-
return
|
|
346
|
-
})),
|
|
341
|
+
N = N == null ? void 0 : N.map((Fe) => {
|
|
342
|
+
var c;
|
|
343
|
+
return (Fe == null ? void 0 : Fe.key) === "formContent" && (Fe.contents = (c = Fe.contents) == null ? void 0 : c.map((z) => {
|
|
344
|
+
var Be, ke, Ee, Qe;
|
|
345
|
+
return z.value = ((ke = (Be = s(t).value) == null ? void 0 : Be.find((ll) => (ll == null ? void 0 : ll.label) === (z == null ? void 0 : z.key))) == null ? void 0 : ke.value) ?? (z == null ? void 0 : z.value), z.type = ((Qe = (Ee = s(t).value) == null ? void 0 : Ee.find((ll) => (ll == null ? void 0 : ll.prop) === (z == null ? void 0 : z.key))) == null ? void 0 : Qe.type) ?? (z == null ? void 0 : z.type), z;
|
|
346
|
+
})), Fe;
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
349
|
ze.value = !1, a("contentChange", {
|
|
@@ -351,32 +351,32 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
351
351
|
index: l.index
|
|
352
352
|
});
|
|
353
353
|
let Z = [], p = [];
|
|
354
|
-
if ((Me = s((Ne = N == null ? void 0 : N.find((
|
|
355
|
-
var
|
|
356
|
-
Array.isArray(
|
|
357
|
-
var
|
|
358
|
-
return (
|
|
359
|
-
})) && (p =
|
|
354
|
+
if ((Me = s((Ne = N == null ? void 0 : N.find((we) => (we == null ? void 0 : we.key) === "formContent")) == null ? void 0 : Ne.contents)) == null || Me.forEach((we) => {
|
|
355
|
+
var $e;
|
|
356
|
+
Array.isArray(we == null ? void 0 : we.value) && (($e = we == null ? void 0 : we.value) != null && $e.find((Ie) => {
|
|
357
|
+
var Fe;
|
|
358
|
+
return (Fe = Ie == null ? void 0 : Ie.url) == null ? void 0 : Fe.includes(".obj");
|
|
359
|
+
})) && (p = we == null ? void 0 : we.value);
|
|
360
360
|
}), (p == null ? void 0 : p.length) > 0) {
|
|
361
|
-
const
|
|
361
|
+
const we = (Dl = s(p)) == null ? void 0 : Dl.filter(($e) => {
|
|
362
362
|
var Ie;
|
|
363
|
-
return (Ie =
|
|
363
|
+
return (Ie = $e == null ? void 0 : $e.url) == null ? void 0 : Ie.includes(".obj");
|
|
364
364
|
});
|
|
365
|
-
|
|
366
|
-
var
|
|
367
|
-
const Ie = (
|
|
368
|
-
var
|
|
369
|
-
return (ke == null ? void 0 : ke.name) === (
|
|
370
|
-
})) == null ? void 0 :
|
|
365
|
+
we == null || we.forEach(($e) => {
|
|
366
|
+
var Fe, c, z, Be;
|
|
367
|
+
const Ie = (Fe = p == null ? void 0 : p.filter((ke) => {
|
|
368
|
+
var Ee;
|
|
369
|
+
return (ke == null ? void 0 : ke.name) === ($e == null ? void 0 : $e.name) && ((Ee = ke == null ? void 0 : ke.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
370
|
+
})) == null ? void 0 : Fe.map((ke) => ke == null ? void 0 : ke.url);
|
|
371
371
|
Z.push({
|
|
372
|
-
objUrl:
|
|
373
|
-
mtlUrls: ((
|
|
374
|
-
var
|
|
375
|
-
return (ke == null ? void 0 : ke.name) === (
|
|
376
|
-
})) == null ? void 0 :
|
|
377
|
-
var
|
|
378
|
-
return (ke == null ? void 0 : ke.name) === (
|
|
379
|
-
})) == null ? void 0 :
|
|
372
|
+
objUrl: $e == null ? void 0 : $e.url,
|
|
373
|
+
mtlUrls: ((c = p == null ? void 0 : p.filter((ke) => {
|
|
374
|
+
var Ee;
|
|
375
|
+
return (ke == null ? void 0 : ke.name) === ($e == null ? void 0 : $e.name) && ((Ee = ke == null ? void 0 : ke.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
376
|
+
})) == null ? void 0 : c.length) === 1 ? (Be = (z = p == null ? void 0 : p.filter((ke) => {
|
|
377
|
+
var Ee;
|
|
378
|
+
return (ke == null ? void 0 : ke.name) === ($e == null ? void 0 : $e.name) && ((Ee = ke == null ? void 0 : ke.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
379
|
+
})) == null ? void 0 : z[0]) == null ? void 0 : Be.url : Ie
|
|
380
380
|
});
|
|
381
381
|
}), ce.setObjUrl(Z);
|
|
382
382
|
}
|
|
@@ -426,36 +426,36 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
426
426
|
return Tl(
|
|
427
427
|
() => l.itemData,
|
|
428
428
|
async () => {
|
|
429
|
-
var ye, B, Q, j, Z, p, S, P, oe, fe,
|
|
429
|
+
var ye, B, Q, j, Z, p, S, P, oe, fe, Oe, V, X, ve, me, Ae, qe, sl, vl;
|
|
430
430
|
const o = (ye = l.itemData) == null ? void 0 : ye.find((Ne) => (Ne == null ? void 0 : Ne.key) === "formContent"), _ = (B = s(l.itemData)) == null ? void 0 : B.find((Ne) => (Ne == null ? void 0 : Ne.key) === "formButton"), ee = (Q = s(l.itemData)) == null ? void 0 : Q.find((Ne) => (Ne == null ? void 0 : Ne.key) === "formFlex"), N = (j = s(l.itemData)) == null ? void 0 : j.find((Ne) => (Ne == null ? void 0 : Ne.key) === "formWrap"), K = (Z = s(l.itemData)) == null ? void 0 : Z.find((Ne) => (Ne == null ? void 0 : Ne.key) === "enableWrap");
|
|
431
|
-
if ((N == null ? void 0 : N.contents) === "纵向" ? R.value = !1 : R.value = !0, ae.value = (K == null ? void 0 : K.contents) === void 0 ? !1 : K == null ? void 0 : K.contents,
|
|
431
|
+
if ((N == null ? void 0 : N.contents) === "纵向" ? R.value = !1 : R.value = !0, ae.value = (K == null ? void 0 : K.contents) === void 0 ? !1 : K == null ? void 0 : K.contents, Ue.value = typeof (ee == null ? void 0 : ee.contents) != "boolean" ? !(!(ee != null && ee.contents) === "" || ((p = ee == null ? void 0 : ee.contents) == null ? void 0 : p.toUpperCase()) === "VERTICAL") : ee == null ? void 0 : ee.contents, ((S = o == null ? void 0 : o.contents) == null ? void 0 : S.length) > 0 && Array.isArray(o == null ? void 0 : o.contents)) {
|
|
432
432
|
let Ne = l.allMapContents;
|
|
433
|
-
const Me = (oe = (P = s(o)) == null ? void 0 : P.contents) == null ? void 0 : oe.map((
|
|
433
|
+
const Me = (oe = (P = s(o)) == null ? void 0 : P.contents) == null ? void 0 : oe.map((c, z) => {
|
|
434
434
|
var hl, rl, Il, wl, Ml, Jl, Sl, va, ya, ha, ma, ga, ia, Ta, $a, Ba, La, Oa, Fa, Ka, Ua, Ra, Pa, ja, Na, Ma;
|
|
435
|
-
let
|
|
436
|
-
if ((hl =
|
|
437
|
-
const [ol, Yl] = (Jl = (Ml = s(
|
|
438
|
-
ke = ((Sl = Li.find((el) => (el == null ? void 0 : el.key) === ol)) == null ? void 0 : Sl.value) ?? "", ((va = Yl == null ? void 0 : Yl.split(",")) == null ? void 0 : va.length) > 0 && (
|
|
435
|
+
let Be = (c == null ? void 0 : c.label) ?? (c == null ? void 0 : c.key) ?? "", ke = (c == null ? void 0 : c.type) ?? "", Ee = (c == null ? void 0 : c.options) ?? [];
|
|
436
|
+
if ((hl = c == null ? void 0 : c.key) != null && hl.includes("$") && (Be = (rl = s(c == null ? void 0 : c.key).split("$")) == null ? void 0 : rl[0], ((wl = (Il = s(c == null ? void 0 : c.key).split("$")) == null ? void 0 : Il[1]) == null ? void 0 : wl.length) > 0)) {
|
|
437
|
+
const [ol, Yl] = (Jl = (Ml = s(c == null ? void 0 : c.key).split("$")) == null ? void 0 : Ml[1]) == null ? void 0 : Jl.split(/[()]/);
|
|
438
|
+
ke = ((Sl = Li.find((el) => (el == null ? void 0 : el.key) === ol)) == null ? void 0 : Sl.value) ?? "", ((va = Yl == null ? void 0 : Yl.split(",")) == null ? void 0 : va.length) > 0 && (Ee = (ya = Yl == null ? void 0 : Yl.split(",")) == null ? void 0 : ya.map((el) => ({
|
|
439
439
|
label: el,
|
|
440
440
|
value: el
|
|
441
441
|
})));
|
|
442
442
|
}
|
|
443
443
|
let Qe = [];
|
|
444
|
-
|
|
444
|
+
c != null && c.contents && !Array.isArray(c == null ? void 0 : c.contents) && (Qe = (ma = (ha = c == null ? void 0 : c.contents) == null ? void 0 : ha.split(",")) == null ? void 0 : ma.map((ol) => ({
|
|
445
445
|
label: ol,
|
|
446
446
|
value: ol
|
|
447
|
-
}))), ((ga =
|
|
447
|
+
}))), ((ga = c == null ? void 0 : c.optionUrl) == null ? void 0 : ga.selectRelateType) === "自定义绑定" && (Qe = (Ta = (ia = c == null ? void 0 : c.optionUrl) == null ? void 0 : ia.defaultSelect) == null ? void 0 : Ta.map((ol) => ({
|
|
448
448
|
label: ol,
|
|
449
449
|
value: ol
|
|
450
450
|
})));
|
|
451
|
-
let ll = !1, Xe = (
|
|
452
|
-
if ((Array.isArray(Ge) && (Ge != null && Ge.every((ol) => (ol == null ? void 0 : ol.name) && (ol == null ? void 0 : ol.url))) || Array.isArray(He) && (He != null && He.every((ol) => (ol == null ? void 0 : ol.name) && (ol == null ? void 0 : ol.url)))) && (fl = "upload"), typeof He == "string" && (He != null && He.includes("loginUser")) && !(He != null && He.includes("loginUserSign")) ||
|
|
451
|
+
let ll = !1, Xe = (c == null ? void 0 : c.isFormColHidden) ?? !1, Ge = ws(($a = s(c)) == null ? void 0 : $a.optionUrl, Ne), He = Ge !== void 0 && Ge !== "" ? Ge : c != null && c.originalContent && (c == null ? void 0 : c.originalContent) !== "" ? c.originalContent : c != null && c.value ? c.value : (Ee == null ? void 0 : Ee.length) > 0 ? (Ba = Ee == null ? void 0 : Ee[0]) == null ? void 0 : Ba.value : (c == null ? void 0 : c.value) ?? "", Ze = !1, fl = Ge !== void 0 || ke === "" ? "Input" : ke;
|
|
452
|
+
if ((Array.isArray(Ge) && (Ge != null && Ge.every((ol) => (ol == null ? void 0 : ol.name) && (ol == null ? void 0 : ol.url))) || Array.isArray(He) && (He != null && He.every((ol) => (ol == null ? void 0 : ol.name) && (ol == null ? void 0 : ol.url)))) && (fl = "upload"), typeof He == "string" && (He != null && He.includes("loginUser")) && !(He != null && He.includes("loginUserSign")) || c != null && c.isLoginUser)
|
|
453
453
|
ll = !0, He = ((La = ul.value) == null ? void 0 : La.姓名) || ((Oa = ul.value) == null ? void 0 : Oa.userName) || ((Fa = ul.value) == null ? void 0 : Fa.account);
|
|
454
|
-
else if (typeof He == "string" && (He != null && He.includes("loginUserSign")) ||
|
|
455
|
-
if (Ze = !0, (
|
|
454
|
+
else if (typeof He == "string" && (He != null && He.includes("loginUserSign")) || c != null && c.signature || c != null && c.isShow)
|
|
455
|
+
if (Ze = !0, (c == null ? void 0 : c.isShow) === "originalSignature")
|
|
456
456
|
fl = "image", He = m.value + "/" + ((Ka = ul.value) == null ? void 0 : Ka.signature);
|
|
457
457
|
else {
|
|
458
|
-
let ol = [...new Set(be(
|
|
458
|
+
let ol = [...new Set(be(c.isShow))].map((gl) => {
|
|
459
459
|
var _a, Ql, ml, kl;
|
|
460
460
|
return {
|
|
461
461
|
key: (kl = (ml = (Ql = (_a = gl == null ? void 0 : gl.split("[")) == null ? void 0 : _a[1]) == null ? void 0 : Ql.split("]")) == null ? void 0 : ml[0]) == null ? void 0 : kl.split(":"),
|
|
@@ -477,86 +477,86 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
477
477
|
let Yl = ol == null ? void 0 : ol.map((gl) => {
|
|
478
478
|
var na;
|
|
479
479
|
return gl.key = "[" + ((na = gl.key) == null ? void 0 : na.join(":")) + "]", gl;
|
|
480
|
-
}), el =
|
|
480
|
+
}), el = c == null ? void 0 : c.isShow;
|
|
481
481
|
Yl == null || Yl.forEach((gl) => {
|
|
482
482
|
gl != null && gl.value ? el = el.replaceAll(gl == null ? void 0 : gl.key, "'" + (gl == null ? void 0 : gl.value) + "'") : el = el.replaceAll(gl == null ? void 0 : gl.key, "undefined");
|
|
483
483
|
}), el != null && el.includes("(") || (el != null && el.includes("==") ? el = ((Ra = el == null ? void 0 : el.split("===")) == null ? void 0 : Ra[0]) + "==='" + ((Pa = el == null ? void 0 : el.split("===")) == null ? void 0 : Pa[1]) + "'" : el = ((ja = el == null ? void 0 : el.split("=")) == null ? void 0 : ja[0]) + "='" + ((Na = el == null ? void 0 : el.split("=")) == null ? void 0 : Na[1]) + "'"), el != null && el.includes("=") && !(el != null && el.includes("==")) && !(el != null && el.includes("===")) && (el = el == null ? void 0 : el.replaceAll("=", "==")), new Function(`if (${el}) { return true } else { return false }`)() ? (Xe = !1, fl = "image", He = m.value + "/" + ((Ma = ul.value) == null ? void 0 : Ma.signature)) : He = "";
|
|
484
484
|
}
|
|
485
|
-
return Array.isArray(He) && He.every((ol) => (ol == null ? void 0 : ol.url) && (ol == null ? void 0 : ol.name)) && (
|
|
486
|
-
label:
|
|
487
|
-
name: "t" +
|
|
488
|
-
prop: s(
|
|
485
|
+
return Array.isArray(He) && He.every((ol) => (ol == null ? void 0 : ol.url) && (ol == null ? void 0 : ol.name)) && (c.type = "Upload"), c != null && c.isMainUrl && (fl = "Url"), {
|
|
486
|
+
label: Be ?? "",
|
|
487
|
+
name: "t" + z,
|
|
488
|
+
prop: s(c == null ? void 0 : c.key),
|
|
489
489
|
type: fl,
|
|
490
|
-
value:
|
|
491
|
-
id: (
|
|
492
|
-
contents: (Qe == null ? void 0 : Qe.length) > 0 ? Qe :
|
|
493
|
-
width: (
|
|
490
|
+
value: c != null && c.isNewDate && He === "" ? /* @__PURE__ */ new Date() : He,
|
|
491
|
+
id: (c == null ? void 0 : c.id) ?? z,
|
|
492
|
+
contents: (Qe == null ? void 0 : Qe.length) > 0 ? Qe : Ee ?? [],
|
|
493
|
+
width: (c == null ? void 0 : c.width) ?? 1,
|
|
494
494
|
isLoginUser: ll,
|
|
495
|
-
config:
|
|
496
|
-
optionUrl: (
|
|
495
|
+
config: c == null ? void 0 : c.config,
|
|
496
|
+
optionUrl: (c == null ? void 0 : c.optionUrl) ?? c,
|
|
497
497
|
isFormColHidden: Xe,
|
|
498
498
|
signature: Ze,
|
|
499
|
-
isMain:
|
|
500
|
-
isMainUrl:
|
|
501
|
-
operable: (
|
|
502
|
-
disabled: (
|
|
499
|
+
isMain: c == null ? void 0 : c.isMain,
|
|
500
|
+
isMainUrl: c == null ? void 0 : c.isMainUrl,
|
|
501
|
+
operable: (c == null ? void 0 : c.operable) ?? !1,
|
|
502
|
+
disabled: (c == null ? void 0 : c.disabled) ?? !1
|
|
503
503
|
};
|
|
504
|
-
}), Dl = Me == null ? void 0 : Me.map((
|
|
505
|
-
let
|
|
506
|
-
Dl == null || Dl.forEach((
|
|
507
|
-
|
|
508
|
-
}), C.setSelectArray(Dl), C.setSelectString(
|
|
509
|
-
let
|
|
510
|
-
|
|
511
|
-
var
|
|
512
|
-
if ((
|
|
504
|
+
}), Dl = Me == null ? void 0 : Me.map((c) => c == null ? void 0 : c.value);
|
|
505
|
+
let we = "";
|
|
506
|
+
Dl == null || Dl.forEach((c) => {
|
|
507
|
+
c !== "" && c !== void 0 && (we = we === "" ? c : we + "/" + c);
|
|
508
|
+
}), C.setSelectArray(Dl), C.setSelectString(we);
|
|
509
|
+
let $e = (fe = s(Me)) == null ? void 0 : fe.map((c) => (c != null && c.value && Ds(c == null ? void 0 : c.value) && Array.isArray(JSON.parse(c == null ? void 0 : c.value)) && (c.value = JSON.parse(c.value)), c));
|
|
510
|
+
$e = $e == null ? void 0 : $e.map((c) => {
|
|
511
|
+
var z, Be, ke, Ee, Qe, ll, Xe, Ge;
|
|
512
|
+
if ((Be = (z = c == null ? void 0 : c.optionUrl) == null ? void 0 : z.menuSelect) != null && Be.some((He) => He == null ? void 0 : He.includes("["))) {
|
|
513
513
|
let He = "";
|
|
514
|
-
|
|
514
|
+
c.optionUrl.oldMenuSelect = (Ee = (ke = s(c)) == null ? void 0 : ke.optionUrl) == null ? void 0 : Ee.menuSelect, c.optionUrl.menuSelect = (ll = (Qe = c == null ? void 0 : c.optionUrl) == null ? void 0 : Qe.menuSelect) == null ? void 0 : ll.map((Ze) => {
|
|
515
515
|
var fl, yl, hl, rl, Il, wl;
|
|
516
516
|
if (Ze != null && Ze.includes("[")) {
|
|
517
517
|
let Ml = (yl = (fl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : fl.split(":")) == null ? void 0 : yl[1];
|
|
518
|
-
He = ie((hl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : hl.split(":"), Ne == null ? void 0 : Ne[J.value], Ne), Ze = ((Il = (rl = s(
|
|
518
|
+
He = ie((hl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : hl.split(":"), Ne == null ? void 0 : Ne[J.value], Ne), Ze = ((Il = (rl = s($e)) == null ? void 0 : rl.find((Jl) => (Jl == null ? void 0 : Jl.label) === Ml)) == null ? void 0 : Il.value) || ie((wl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : wl.split(":"), Ne == null ? void 0 : Ne[J.value], Ne);
|
|
519
519
|
}
|
|
520
520
|
return Ze;
|
|
521
|
-
}), He !== "" &&
|
|
521
|
+
}), He !== "" && c.value === "" && (c.value = Y(c.optionUrl.menuSelect, c.optionUrl.oldMenuSelect, (Xe = c == null ? void 0 : c.optionUrl) == null ? void 0 : Xe.groupSelect, Ne), Array.isArray(c.value) && ((Ge = c.value) != null && Ge.every((Ze) => Ze == null ? void 0 : Ze.url)) && (c.type = "UPLOAD"));
|
|
522
522
|
}
|
|
523
|
-
return
|
|
524
|
-
}), t.value =
|
|
525
|
-
let Ie = [],
|
|
526
|
-
if ((ve = s(t.value)) == null || ve.forEach((
|
|
527
|
-
var
|
|
528
|
-
Array.isArray(
|
|
523
|
+
return c;
|
|
524
|
+
}), t.value = $e, r.value = (Oe = t.value) == null ? void 0 : Oe.every((c) => c == null ? void 0 : c.disabled), q.value = (V = t.value) == null ? void 0 : V.every((c) => c == null ? void 0 : c.operable), Re.value = (X = t.value) == null ? void 0 : X.map((c) => c == null ? void 0 : c.label);
|
|
525
|
+
let Ie = [], Fe = [];
|
|
526
|
+
if ((ve = s(t.value)) == null || ve.forEach((c) => {
|
|
527
|
+
var z;
|
|
528
|
+
Array.isArray(c == null ? void 0 : c.value) && ((z = c == null ? void 0 : c.value) != null && z.find((Be) => {
|
|
529
529
|
var ke;
|
|
530
|
-
return (ke =
|
|
531
|
-
})) && (
|
|
532
|
-
}), (
|
|
533
|
-
const
|
|
534
|
-
var
|
|
535
|
-
return (
|
|
530
|
+
return (ke = Be == null ? void 0 : Be.url) == null ? void 0 : ke.includes(".obj");
|
|
531
|
+
})) && (Fe = c == null ? void 0 : c.value);
|
|
532
|
+
}), (Fe == null ? void 0 : Fe.length) > 0) {
|
|
533
|
+
const c = (me = s(Fe)) == null ? void 0 : me.filter((z) => {
|
|
534
|
+
var Be;
|
|
535
|
+
return (Be = z == null ? void 0 : z.url) == null ? void 0 : Be.includes(".obj");
|
|
536
536
|
});
|
|
537
|
-
|
|
538
|
-
var ke,
|
|
539
|
-
const
|
|
537
|
+
c == null || c.forEach((z) => {
|
|
538
|
+
var ke, Ee, Qe, ll;
|
|
539
|
+
const Be = (ke = Fe == null ? void 0 : Fe.filter((Xe) => {
|
|
540
540
|
var Ge;
|
|
541
|
-
return (Xe == null ? void 0 : Xe.name) === (
|
|
541
|
+
return (Xe == null ? void 0 : Xe.name) === (z == null ? void 0 : z.name) && ((Ge = Xe == null ? void 0 : Xe.url) == null ? void 0 : Ge.includes(".mtl"));
|
|
542
542
|
})) == null ? void 0 : ke.map((Xe) => Xe == null ? void 0 : Xe.url);
|
|
543
543
|
Ie.push({
|
|
544
|
-
objUrl:
|
|
545
|
-
mtlUrls: ((
|
|
544
|
+
objUrl: z == null ? void 0 : z.url,
|
|
545
|
+
mtlUrls: ((Ee = Fe == null ? void 0 : Fe.filter((Xe) => {
|
|
546
546
|
var Ge;
|
|
547
|
-
return (Xe == null ? void 0 : Xe.name) === (
|
|
548
|
-
})) == null ? void 0 :
|
|
547
|
+
return (Xe == null ? void 0 : Xe.name) === (z == null ? void 0 : z.name) && ((Ge = Xe == null ? void 0 : Xe.url) == null ? void 0 : Ge.includes(".mtl"));
|
|
548
|
+
})) == null ? void 0 : Ee.length) === 1 ? (ll = (Qe = Fe == null ? void 0 : Fe.filter((Xe) => {
|
|
549
549
|
var Ge;
|
|
550
|
-
return (Xe == null ? void 0 : Xe.name) === (
|
|
551
|
-
})) == null ? void 0 : Qe[0]) == null ? void 0 : ll.url :
|
|
550
|
+
return (Xe == null ? void 0 : Xe.name) === (z == null ? void 0 : z.name) && ((Ge = Xe == null ? void 0 : Xe.url) == null ? void 0 : Ge.includes(".mtl"));
|
|
551
|
+
})) == null ? void 0 : Qe[0]) == null ? void 0 : ll.url : Be
|
|
552
552
|
});
|
|
553
553
|
}), ce.setObjUrl(Ie);
|
|
554
554
|
}
|
|
555
|
-
(Ae = s(t.value)) == null || Ae.forEach((
|
|
556
|
-
var
|
|
557
|
-
if ((
|
|
555
|
+
(Ae = s(t.value)) == null || Ae.forEach((c) => {
|
|
556
|
+
var z, Be, ke, Ee, Qe, ll, Xe, Ge, He, Ze, fl, yl, hl;
|
|
557
|
+
if ((Be = (z = c == null ? void 0 : c.value) == null ? void 0 : z.toString()) != null && Be.includes(".stl") || (Ee = (ke = c == null ? void 0 : c.value) == null ? void 0 : ke.toString()) != null && Ee.includes(".STL") || (ll = (Qe = c == null ? void 0 : c.value) == null ? void 0 : Qe.toString()) != null && ll.includes(".obj") || (Ge = (Xe = c == null ? void 0 : c.value) == null ? void 0 : Xe.toString()) != null && Ge.includes(".mtl") || (Ze = (He = c == null ? void 0 : c.value) == null ? void 0 : He.toString()) != null && Ze.includes(".urdf")) {
|
|
558
558
|
let rl = {}, Il = [], wl;
|
|
559
|
-
Array.isArray(
|
|
559
|
+
Array.isArray(c == null ? void 0 : c.value) ? wl = c == null ? void 0 : c.value : wl = (fl = c == null ? void 0 : c.value) == null ? void 0 : fl.split(","), wl == null || wl.forEach((Ml) => {
|
|
560
560
|
Ml.includes(".mtl") ? Il.push(Ml) : rl.blob = rl.blob === "undefined" ? Ml : rl.blob + "," + Ml;
|
|
561
561
|
}), (Il == null ? void 0 : Il.length) > 0 && (rl.mtlBlobs = Il), (hl = (yl = Object.values(rl)) == null ? void 0 : yl[0]) != null && hl.includes("http:");
|
|
562
562
|
}
|
|
@@ -565,9 +565,9 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
565
565
|
t.value = [];
|
|
566
566
|
let x = H.value;
|
|
567
567
|
if ((x == null ? void 0 : x.length) > 0 && (x = x == null ? void 0 : x.map((Ne) => {
|
|
568
|
-
var Dl,
|
|
568
|
+
var Dl, we, $e, Ie;
|
|
569
569
|
let Me = (Dl = Ne == null ? void 0 : Ne.key) == null ? void 0 : Dl.split("/");
|
|
570
|
-
return (l == null ? void 0 : l.compName) === (Me == null ? void 0 : Me[0]) && (
|
|
570
|
+
return (l == null ? void 0 : l.compName) === (Me == null ? void 0 : Me[0]) && (we = t.value) != null && we.find((Fe) => (Fe == null ? void 0 : Fe.prop) === (Me == null ? void 0 : Me[1])) && (Ne.value = (Ie = ($e = t.value) == null ? void 0 : $e.find((Fe) => (Fe == null ? void 0 : Fe.prop) === (Me == null ? void 0 : Me[1]))) == null ? void 0 : Ie.value), Ne;
|
|
571
571
|
}), g.setTableViewContents(x)), l != null && l.formRules)
|
|
572
572
|
De.value = l == null ? void 0 : l.formRules;
|
|
573
573
|
else {
|
|
@@ -587,18 +587,18 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
587
587
|
type: (Me == null ? void 0 : Me.type) ?? "",
|
|
588
588
|
background: Me == null ? void 0 : Me.background
|
|
589
589
|
});
|
|
590
|
-
}),
|
|
590
|
+
}), Ce.value = Ne;
|
|
591
591
|
} else
|
|
592
|
-
|
|
592
|
+
Ce.value = [];
|
|
593
593
|
},
|
|
594
594
|
{ deep: !0, immediate: !0 }
|
|
595
595
|
), (o, _) => {
|
|
596
596
|
const ee = dl("svg-icon"), N = dl("el-switch"), K = dl("el-checkbox"), x = dl("el-popover"), ye = dl("el-checkbox-group");
|
|
597
|
-
return te(),
|
|
597
|
+
return te(), Te("div", Yi, [
|
|
598
598
|
le(jl, {
|
|
599
599
|
rowContents: t.value,
|
|
600
600
|
formRules: De.value,
|
|
601
|
-
buttonValue:
|
|
601
|
+
buttonValue: Ce.value,
|
|
602
602
|
isRowFlex: !1,
|
|
603
603
|
isEnableWrap: ae.value,
|
|
604
604
|
onOnButtonClick: E,
|
|
@@ -609,8 +609,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
609
609
|
onPreview: i,
|
|
610
610
|
onBlurChange: xe,
|
|
611
611
|
onHandleColEditChange: U,
|
|
612
|
-
onHandleColTypeChange:
|
|
613
|
-
onRouteUrl:
|
|
612
|
+
onHandleColTypeChange: G,
|
|
613
|
+
onRouteUrl: Pe
|
|
614
614
|
}, {
|
|
615
615
|
operateCol: he(({ renderColumns: B, formDisabled: Q, formLabelsOperable: j }) => [
|
|
616
616
|
le(x, {
|
|
@@ -646,15 +646,15 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
646
646
|
}, null, 8, ["model-value"]),
|
|
647
647
|
_[2] || (_[2] = $("div", { class: "group-title" }, "表单列操作", -1)),
|
|
648
648
|
le(ye, {
|
|
649
|
-
modelValue:
|
|
650
|
-
"onUpdate:modelValue": _[0] || (_[0] = (Z) =>
|
|
649
|
+
modelValue: Re.value,
|
|
650
|
+
"onUpdate:modelValue": _[0] || (_[0] = (Z) => Re.value = Z),
|
|
651
651
|
style: { height: "100%" },
|
|
652
652
|
ref_key: "checkboxGroupRef",
|
|
653
653
|
ref: se,
|
|
654
654
|
onChange: Se
|
|
655
655
|
}, {
|
|
656
656
|
default: he(() => [
|
|
657
|
-
(te(!0),
|
|
657
|
+
(te(!0), Te(bl, null, Al(B, (Z) => (te(), Te("div", {
|
|
658
658
|
style: { display: "flex", "align-items": "center" },
|
|
659
659
|
key: Z.label
|
|
660
660
|
}, [
|
|
@@ -683,17 +683,17 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
683
683
|
var p;
|
|
684
684
|
return [
|
|
685
685
|
$("div", en, [
|
|
686
|
-
(te(!0),
|
|
686
|
+
(te(!0), Te(bl, null, Al((p = Object.keys(Z)) == null ? void 0 : p.filter((S) => {
|
|
687
687
|
var P;
|
|
688
688
|
return (P = _e.value) == null ? void 0 : P.find((oe) => (oe == null ? void 0 : oe.value) === S);
|
|
689
689
|
}), (S) => {
|
|
690
690
|
var P, oe;
|
|
691
|
-
return te(),
|
|
691
|
+
return te(), Te("div", { key: S }, [
|
|
692
692
|
le(As, {
|
|
693
693
|
value: Z == null ? void 0 : Z[S],
|
|
694
694
|
"active-text": (oe = (P = _e.value) == null ? void 0 : P.find((fe) => (fe == null ? void 0 : fe.value) === S)) == null ? void 0 : oe.label,
|
|
695
695
|
inactiveText: "",
|
|
696
|
-
onChange: (fe) =>
|
|
696
|
+
onChange: (fe) => Ke(fe, S, Z)
|
|
697
697
|
}, null, 8, ["value", "active-text", "onChange"])
|
|
698
698
|
]);
|
|
699
699
|
}), 128))
|
|
@@ -743,7 +743,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
743
743
|
]);
|
|
744
744
|
};
|
|
745
745
|
}
|
|
746
|
-
}, js = /* @__PURE__ */ $l(an, [["__scopeId", "data-v-
|
|
746
|
+
}, js = /* @__PURE__ */ $l(an, [["__scopeId", "data-v-396e22d2"]]), ds = W(0), ii = (e) => {
|
|
747
747
|
var v;
|
|
748
748
|
return !e || (e == null ? void 0 : e.length) === 0 ? [] : (v = s(e)) == null ? void 0 : v.map((l) => (ds.value++, l = {
|
|
749
749
|
label: (l == null ? void 0 : l.label) ?? "",
|
|
@@ -903,7 +903,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
903
903
|
setup(e, { emit: v }) {
|
|
904
904
|
const n = e, l = v, a = W(!1), t = W(""), k = Es(xl), { tableIndex: f } = El(k);
|
|
905
905
|
W(0);
|
|
906
|
-
const w = W(""),
|
|
906
|
+
const w = W(""), d = W([]), y = W([]), T = (b) => {
|
|
907
907
|
var h;
|
|
908
908
|
a.value = !0;
|
|
909
909
|
let I = [];
|
|
@@ -920,7 +920,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
920
920
|
}), b != null && b.children && ((h = b == null ? void 0 : b.children) == null ? void 0 : h.length) > 0 && I.push({
|
|
921
921
|
children: b == null ? void 0 : b.children,
|
|
922
922
|
isFormColHidden: !0
|
|
923
|
-
}), w.value = b == null ? void 0 : b.id,
|
|
923
|
+
}), w.value = b == null ? void 0 : b.id, d.value = I, y.value = I;
|
|
924
924
|
}, D = (b) => {
|
|
925
925
|
l("fixChange", s(b));
|
|
926
926
|
}, re = (b) => {
|
|
@@ -938,16 +938,16 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
938
938
|
id: f.value,
|
|
939
939
|
contents: h == null ? void 0 : h.options
|
|
940
940
|
});
|
|
941
|
-
}), t.value = b == null ? void 0 : b.id,
|
|
941
|
+
}), t.value = b == null ? void 0 : b.id, d.value = I, y.value = I;
|
|
942
942
|
}, De = (b) => {
|
|
943
943
|
let I = s(y.value);
|
|
944
944
|
I = I == null ? void 0 : I.map((h) => (h.children || (h.value = b == null ? void 0 : b[h.name]), h)), y.value = I;
|
|
945
945
|
}, R = () => {
|
|
946
946
|
var I, h;
|
|
947
|
-
|
|
947
|
+
d.value = y.value;
|
|
948
948
|
let b = {};
|
|
949
949
|
if (w.value !== "")
|
|
950
|
-
b.id = w.value, (I =
|
|
950
|
+
b.id = w.value, (I = d.value) == null || I.forEach((C) => {
|
|
951
951
|
const ce = tl == null ? void 0 : tl.find((ae) => (ae == null ? void 0 : ae.label) === (C == null ? void 0 : C.label));
|
|
952
952
|
ce ? b[ce.key] = C.value : C != null && C.children && C.children.length > 0 && (b.children = C.children);
|
|
953
953
|
}), a.value = !1, l("fixChange", {
|
|
@@ -957,8 +957,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
957
957
|
});
|
|
958
958
|
else {
|
|
959
959
|
let C = s(f.value) + 1;
|
|
960
|
-
k.setTableIndex(C), b.id = "id" + f.value, (h =
|
|
961
|
-
const ae = tl == null ? void 0 : tl.find((
|
|
960
|
+
k.setTableIndex(C), b.id = "id" + f.value, (h = d.value) == null || h.forEach((ce) => {
|
|
961
|
+
const ae = tl == null ? void 0 : tl.find((Ue) => (Ue == null ? void 0 : Ue.label) === (ce == null ? void 0 : ce.label));
|
|
962
962
|
ae ? b[ae.key] = ce.value : ce != null && ce.children && ce.children.length > 0 && (b.children = ce.children);
|
|
963
963
|
}), a.value = !1, l("fixChange", {
|
|
964
964
|
contents: s(b),
|
|
@@ -966,10 +966,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
966
966
|
type: "add"
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
w.value = "",
|
|
969
|
+
w.value = "", d.value = [], y.value = [];
|
|
970
970
|
}, O = () => {
|
|
971
|
-
a.value = !1, w.value = "", t.value = "",
|
|
972
|
-
},
|
|
971
|
+
a.value = !1, w.value = "", t.value = "", d.value = [], y.value = [];
|
|
972
|
+
}, Ce = (b) => {
|
|
973
973
|
ta.confirm("是否确认要删除", "", {
|
|
974
974
|
confirmButtonText: "确认",
|
|
975
975
|
cancelButtonText: "取消",
|
|
@@ -986,8 +986,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
986
986
|
};
|
|
987
987
|
return (b, I) => {
|
|
988
988
|
const h = dl("svg-icon");
|
|
989
|
-
return te(),
|
|
990
|
-
(te(!0),
|
|
989
|
+
return te(), Te("div", un, [
|
|
990
|
+
(te(!0), Te(bl, null, Al(n == null ? void 0 : n.tableChildContents, (C, ce) => (te(), Te("div", rn, [
|
|
991
991
|
$("div", tn, [
|
|
992
992
|
$("div", cn, Je(C.label), 1),
|
|
993
993
|
$("div", dn, [
|
|
@@ -1007,11 +1007,11 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1007
1007
|
name: "ChildDelete",
|
|
1008
1008
|
class: "svg-icon-content",
|
|
1009
1009
|
style: { width: "24px", height: "24px" },
|
|
1010
|
-
onClick: (ae) =>
|
|
1010
|
+
onClick: (ae) => Ce(C)
|
|
1011
1011
|
}, null, 8, ["onClick"])
|
|
1012
1012
|
])
|
|
1013
1013
|
]),
|
|
1014
|
-
C != null && C.children && C.children.length > 0 ? (te(),
|
|
1014
|
+
C != null && C.children && C.children.length > 0 ? (te(), Te("div", pn, [
|
|
1015
1015
|
le(ti, {
|
|
1016
1016
|
tableChildContents: C == null ? void 0 : C.children,
|
|
1017
1017
|
onDeleteChange: re,
|
|
@@ -1027,8 +1027,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1027
1027
|
default: he(() => [
|
|
1028
1028
|
$("div", fn, [
|
|
1029
1029
|
(te(), pl(jl, {
|
|
1030
|
-
rowContents:
|
|
1031
|
-
key:
|
|
1030
|
+
rowContents: d.value,
|
|
1031
|
+
key: d.value,
|
|
1032
1032
|
isEnableWrap: !0,
|
|
1033
1033
|
onChange: De
|
|
1034
1034
|
}, null, 8, ["rowContents"]))
|
|
@@ -1058,7 +1058,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1058
1058
|
},
|
|
1059
1059
|
emits: ["fixChange", "deleteChange"],
|
|
1060
1060
|
setup(e, { emit: v }) {
|
|
1061
|
-
const n = e, l = v, a = W(!1), t = W(""), k = Es(xl), { tableIndex: f } = El(k), w = W(""),
|
|
1061
|
+
const n = e, l = v, a = W(!1), t = W(""), k = Es(xl), { tableIndex: f } = El(k), w = W(""), d = W([]), y = W([]), T = (b) => {
|
|
1062
1062
|
l("fixChange", s(b));
|
|
1063
1063
|
}, D = (b) => {
|
|
1064
1064
|
var h;
|
|
@@ -1077,7 +1077,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1077
1077
|
}), b != null && b.children && ((h = b == null ? void 0 : b.children) == null ? void 0 : h.length) > 0 && I.push({
|
|
1078
1078
|
children: b == null ? void 0 : b.children,
|
|
1079
1079
|
isFormColHidden: !0
|
|
1080
|
-
}), w.value = b == null ? void 0 : b.id,
|
|
1080
|
+
}), w.value = b == null ? void 0 : b.id, d.value = I, y.value = I;
|
|
1081
1081
|
}, re = (b) => {
|
|
1082
1082
|
a.value = !0;
|
|
1083
1083
|
let I = [];
|
|
@@ -1091,16 +1091,16 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1091
1091
|
id: f.value,
|
|
1092
1092
|
contents: h == null ? void 0 : h.options
|
|
1093
1093
|
});
|
|
1094
|
-
}), t.value = b == null ? void 0 : b.id,
|
|
1094
|
+
}), t.value = b == null ? void 0 : b.id, d.value = I, y.value = I;
|
|
1095
1095
|
}, L = (b) => {
|
|
1096
1096
|
let I = s(y.value);
|
|
1097
1097
|
I = I == null ? void 0 : I.map((h) => (h.children || (h.value = b == null ? void 0 : b[h.name]), h)), y.value = I;
|
|
1098
1098
|
}, De = () => {
|
|
1099
1099
|
var I, h;
|
|
1100
|
-
|
|
1100
|
+
d.value = y.value;
|
|
1101
1101
|
let b = {};
|
|
1102
1102
|
if (w.value !== "")
|
|
1103
|
-
b.id = w.value, (I =
|
|
1103
|
+
b.id = w.value, (I = d.value) == null || I.forEach((C) => {
|
|
1104
1104
|
const ce = tl == null ? void 0 : tl.find((ae) => (ae == null ? void 0 : ae.label) === (C == null ? void 0 : C.label));
|
|
1105
1105
|
ce ? b[ce.key] = C.value : C != null && C.children && C.children.length > 0 && (b.children = C.children);
|
|
1106
1106
|
}), a.value = !1, l("fixChange", {
|
|
@@ -1110,8 +1110,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1110
1110
|
});
|
|
1111
1111
|
else {
|
|
1112
1112
|
let C = s(f.value) + 1;
|
|
1113
|
-
k.setTableIndex(C), b.id = "idChild" + f.value, (h =
|
|
1114
|
-
const ae = tl == null ? void 0 : tl.find((
|
|
1113
|
+
k.setTableIndex(C), b.id = "idChild" + f.value, (h = d.value) == null || h.forEach((ce) => {
|
|
1114
|
+
const ae = tl == null ? void 0 : tl.find((Ue) => (Ue == null ? void 0 : Ue.label) === (ce == null ? void 0 : ce.label));
|
|
1115
1115
|
ae ? b[ae.key] = ce.value : ce != null && ce.children && ce.children.length > 0 && (b.children = ce.children);
|
|
1116
1116
|
}), a.value = !1, l("fixChange", {
|
|
1117
1117
|
contents: s(b),
|
|
@@ -1119,9 +1119,9 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1119
1119
|
type: "add"
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
w.value = "",
|
|
1122
|
+
w.value = "", d.value = [], y.value = [];
|
|
1123
1123
|
}, R = () => {
|
|
1124
|
-
a.value = !1, w.value = "", t.value = "",
|
|
1124
|
+
a.value = !1, w.value = "", t.value = "", d.value = [], y.value = [];
|
|
1125
1125
|
}, O = (b) => {
|
|
1126
1126
|
ta.confirm("是否确认要删除", "", {
|
|
1127
1127
|
confirmButtonText: "确认",
|
|
@@ -1136,13 +1136,13 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
).catch(() => {
|
|
1138
1138
|
});
|
|
1139
|
-
},
|
|
1139
|
+
}, Ce = (b) => {
|
|
1140
1140
|
l("deleteChange", b);
|
|
1141
1141
|
};
|
|
1142
1142
|
return (b, I) => {
|
|
1143
1143
|
const h = dl("svg-icon"), C = dl("el-button");
|
|
1144
|
-
return te(),
|
|
1145
|
-
(te(!0),
|
|
1144
|
+
return te(), Te("div", hn, [
|
|
1145
|
+
(te(!0), Te(bl, null, Al(n == null ? void 0 : n.tableChildContents, (ce, ae) => (te(), Te("div", mn, [
|
|
1146
1146
|
$("div", gn, [
|
|
1147
1147
|
$("div", bn, Je(ce.label), 1),
|
|
1148
1148
|
$("div", kn, [
|
|
@@ -1150,26 +1150,26 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1150
1150
|
name: "ChildAdd",
|
|
1151
1151
|
class: "svg-icon-content",
|
|
1152
1152
|
style: { width: "24px", height: "24px" },
|
|
1153
|
-
onClick: (
|
|
1153
|
+
onClick: (Ue) => re(ce)
|
|
1154
1154
|
}, null, 8, ["onClick"]),
|
|
1155
1155
|
le(h, {
|
|
1156
1156
|
name: "ChildFix",
|
|
1157
1157
|
class: "svg-icon-content",
|
|
1158
1158
|
style: { width: "24px", height: "24px" },
|
|
1159
|
-
onClick: (
|
|
1159
|
+
onClick: (Ue) => D(ce)
|
|
1160
1160
|
}, null, 8, ["onClick"]),
|
|
1161
1161
|
le(h, {
|
|
1162
1162
|
name: "ChildDelete",
|
|
1163
1163
|
class: "svg-icon-content",
|
|
1164
1164
|
style: { width: "24px", height: "24px" },
|
|
1165
|
-
onClick: (
|
|
1165
|
+
onClick: (Ue) => O(ce)
|
|
1166
1166
|
}, null, 8, ["onClick"])
|
|
1167
1167
|
])
|
|
1168
1168
|
]),
|
|
1169
|
-
ce != null && ce.children && ce.children.length > 0 ? (te(),
|
|
1169
|
+
ce != null && ce.children && ce.children.length > 0 ? (te(), Te("div", _n, [
|
|
1170
1170
|
le(yn, {
|
|
1171
1171
|
tableChildContents: ce == null ? void 0 : ce.children,
|
|
1172
|
-
onDeleteChange:
|
|
1172
|
+
onDeleteChange: Ce,
|
|
1173
1173
|
onFixChange: T
|
|
1174
1174
|
}, null, 8, ["tableChildContents"])
|
|
1175
1175
|
])) : Vl("", !0)
|
|
@@ -1182,8 +1182,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1182
1182
|
default: he(() => [
|
|
1183
1183
|
$("div", Cn, [
|
|
1184
1184
|
(te(), pl(jl, {
|
|
1185
|
-
rowContents:
|
|
1186
|
-
key:
|
|
1185
|
+
rowContents: d.value,
|
|
1186
|
+
key: d.value,
|
|
1187
1187
|
isEnableWrap: !0,
|
|
1188
1188
|
onChange: L
|
|
1189
1189
|
}, null, 8, ["rowContents"]))
|
|
@@ -1234,8 +1234,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1234
1234
|
},
|
|
1235
1235
|
emits: ["change"],
|
|
1236
1236
|
setup(e, { emit: v }) {
|
|
1237
|
-
const n = e, l = v, a = W([]), t = W(!1), k = W(!1), f = W([]), w = W(!1),
|
|
1238
|
-
|
|
1237
|
+
const n = e, l = v, a = W([]), t = W(!1), k = W(!1), f = W([]), w = W(!1), d = W([]), y = W(!1), T = W([]), D = W(""), re = W(""), L = W([]), De = W([]), R = W([]), O = W([]), Ce = W(!1), b = W([]), I = W([]), h = W(0), C = W([]), ce = W([]), ae = W([]), Ue = () => {
|
|
1238
|
+
Ce.value = !0;
|
|
1239
1239
|
let i = [];
|
|
1240
1240
|
ca == null || ca.forEach((u) => {
|
|
1241
1241
|
h.value++, i.push({
|
|
@@ -1349,7 +1349,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1349
1349
|
});
|
|
1350
1350
|
}, ge = () => {
|
|
1351
1351
|
k.value = !1, C.value = [], D.value = "";
|
|
1352
|
-
},
|
|
1352
|
+
}, Le = async () => {
|
|
1353
1353
|
var m, F, be, ie, Y, o, _, ee, N, K;
|
|
1354
1354
|
C.value = ce.value;
|
|
1355
1355
|
let i = {};
|
|
@@ -1377,7 +1377,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1377
1377
|
contents: ae.value
|
|
1378
1378
|
}), l("change", E);
|
|
1379
1379
|
}, se = (i) => {
|
|
1380
|
-
|
|
1380
|
+
Ce.value = !0;
|
|
1381
1381
|
let u = [];
|
|
1382
1382
|
ca == null || ca.forEach((E) => {
|
|
1383
1383
|
h.value++, u.push({
|
|
@@ -1430,7 +1430,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1430
1430
|
let Y = s(De.value) ?? [];
|
|
1431
1431
|
Y.push(i), De.value = Y;
|
|
1432
1432
|
}
|
|
1433
|
-
|
|
1433
|
+
Ce.value = !1, D.value = "";
|
|
1434
1434
|
let u = s(n.originalItemContents);
|
|
1435
1435
|
(be = s(n.originalItemContents)) != null && be.find((Y) => (Y == null ? void 0 : Y.key) === "extraButton") ? u = (ie = s(n.originalItemContents)) == null ? void 0 : ie.map((Y) => ((Y == null ? void 0 : Y.key) === "extraButton" && (Y.contents = De.value), Y)) : u.push({
|
|
1436
1436
|
key: "extraButton",
|
|
@@ -1440,7 +1440,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1440
1440
|
let u = s(I.value);
|
|
1441
1441
|
u = u == null ? void 0 : u.map((E) => (E.children || (E.value = i == null ? void 0 : i[E.name]), E)), I.value = u;
|
|
1442
1442
|
}, J = () => {
|
|
1443
|
-
|
|
1443
|
+
Ce.value = !1, b.value = [], D.value = "";
|
|
1444
1444
|
}, ue = (i) => {
|
|
1445
1445
|
w.value = !0;
|
|
1446
1446
|
let u = [];
|
|
@@ -1469,7 +1469,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
).catch(() => {
|
|
1471
1471
|
});
|
|
1472
|
-
},
|
|
1472
|
+
}, Re = () => {
|
|
1473
1473
|
t.value = !0;
|
|
1474
1474
|
let i = [];
|
|
1475
1475
|
tl == null || tl.forEach((u) => {
|
|
@@ -1481,7 +1481,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1481
1481
|
id: h.value,
|
|
1482
1482
|
contents: u == null ? void 0 : u.options
|
|
1483
1483
|
});
|
|
1484
|
-
}),
|
|
1484
|
+
}), d.value = i, T.value = i;
|
|
1485
1485
|
}, _e = () => {
|
|
1486
1486
|
w.value = !0;
|
|
1487
1487
|
let i = [];
|
|
@@ -1531,8 +1531,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1531
1531
|
id: h.value,
|
|
1532
1532
|
contents: E == null ? void 0 : E.options
|
|
1533
1533
|
});
|
|
1534
|
-
}),
|
|
1535
|
-
},
|
|
1534
|
+
}), d.value = u, re.value = i == null ? void 0 : i.id, T.value = u;
|
|
1535
|
+
}, Pe = (i) => {
|
|
1536
1536
|
var u;
|
|
1537
1537
|
f.value = ni(s(f.value), i == null ? void 0 : i.id), l("change", (u = s(n.originalItemContents)) == null ? void 0 : u.map((E) => {
|
|
1538
1538
|
var m;
|
|
@@ -1562,17 +1562,17 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1562
1562
|
}), i != null && i.children && ((E = i == null ? void 0 : i.children) == null ? void 0 : E.length) > 0 && u.push({
|
|
1563
1563
|
children: i == null ? void 0 : i.children,
|
|
1564
1564
|
isFormColHidden: !0
|
|
1565
|
-
}), D.value = i == null ? void 0 : i.id, re.value = "",
|
|
1565
|
+
}), D.value = i == null ? void 0 : i.id, re.value = "", d.value = u, T.value = u;
|
|
1566
1566
|
}, U = (i) => {
|
|
1567
1567
|
let u = s(T.value);
|
|
1568
1568
|
u = u == null ? void 0 : u.map((E) => (E.children || (E.value = i == null ? void 0 : i[E.name]), E)), T.value = u;
|
|
1569
|
-
},
|
|
1569
|
+
}, G = () => {
|
|
1570
1570
|
t.value = !1, D.value = "", re.value = "", T.value = [];
|
|
1571
|
-
},
|
|
1571
|
+
}, Ke = () => {
|
|
1572
1572
|
var E, m, F, be, ie, Y;
|
|
1573
|
-
|
|
1573
|
+
d.value = T.value;
|
|
1574
1574
|
let i = {};
|
|
1575
|
-
if (D.value !== "" ? i.id = D.value : (h.value++, i.id = "id" + h.value), (E =
|
|
1575
|
+
if (D.value !== "" ? i.id = D.value : (h.value++, i.id = "id" + h.value), (E = d.value) == null || E.forEach((o) => {
|
|
1576
1576
|
const _ = tl == null ? void 0 : tl.find((ee) => (ee == null ? void 0 : ee.label) === (o == null ? void 0 : o.label));
|
|
1577
1577
|
_ ? i[_.key] = o.value : o != null && o.children && o.children.length > 0 && (i.children = o.children);
|
|
1578
1578
|
}), (m = f.value) != null && m.find((o) => o.id === i.id))
|
|
@@ -1663,13 +1663,13 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1663
1663
|
{ deep: !0, immediate: !0 }
|
|
1664
1664
|
), (i, u) => {
|
|
1665
1665
|
const E = dl("svg-icon"), m = dl("el-button");
|
|
1666
|
-
return te(),
|
|
1666
|
+
return te(), Te("div", Sn, [
|
|
1667
1667
|
$("div", In, [
|
|
1668
1668
|
$("div", xn, [
|
|
1669
1669
|
u[2] || (u[2] = $("div", null, Je("表头"), -1)),
|
|
1670
1670
|
le(m, {
|
|
1671
1671
|
class: "icon-content",
|
|
1672
|
-
onClick:
|
|
1672
|
+
onClick: Re,
|
|
1673
1673
|
id: "themeButton"
|
|
1674
1674
|
}, {
|
|
1675
1675
|
icon: he(() => [
|
|
@@ -1686,7 +1686,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1686
1686
|
})
|
|
1687
1687
|
]),
|
|
1688
1688
|
$("div", An, [
|
|
1689
|
-
(te(!0),
|
|
1689
|
+
(te(!0), Te(bl, null, Al(f.value, (F, be) => (te(), Te("div", { key: be }, [
|
|
1690
1690
|
$("div", En, [
|
|
1691
1691
|
$("div", Tn, Je(F == null ? void 0 : F.label), 1),
|
|
1692
1692
|
$("div", $n, [
|
|
@@ -1710,10 +1710,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1710
1710
|
}, null, 8, ["onClick"])
|
|
1711
1711
|
])
|
|
1712
1712
|
]),
|
|
1713
|
-
F != null && F.children && F.children.length > 0 ? (te(),
|
|
1713
|
+
F != null && F.children && F.children.length > 0 ? (te(), Te("div", Bn, [
|
|
1714
1714
|
le(ti, {
|
|
1715
1715
|
tableChildContents: F == null ? void 0 : F.children,
|
|
1716
|
-
onDeleteChange:
|
|
1716
|
+
onDeleteChange: Pe,
|
|
1717
1717
|
onFixChange: M
|
|
1718
1718
|
}, null, 8, ["tableChildContents"])
|
|
1719
1719
|
])) : Vl("", !0)
|
|
@@ -1740,7 +1740,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1740
1740
|
})
|
|
1741
1741
|
]),
|
|
1742
1742
|
$("div", On, [
|
|
1743
|
-
(te(!0),
|
|
1743
|
+
(te(!0), Te(bl, null, Al(L.value, (F, be) => (te(), Te("div", { key: be }, [
|
|
1744
1744
|
$("div", Fn, [
|
|
1745
1745
|
$("div", Kn, Je(F == null ? void 0 : F.label), 1),
|
|
1746
1746
|
$("div", Un, [
|
|
@@ -1765,7 +1765,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1765
1765
|
le(m, {
|
|
1766
1766
|
class: "icon-content",
|
|
1767
1767
|
id: "themeButton",
|
|
1768
|
-
onClick:
|
|
1768
|
+
onClick: Ue
|
|
1769
1769
|
}, {
|
|
1770
1770
|
icon: he(() => [
|
|
1771
1771
|
le(E, {
|
|
@@ -1781,7 +1781,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1781
1781
|
})
|
|
1782
1782
|
]),
|
|
1783
1783
|
$("div", Pn, [
|
|
1784
|
-
(te(!0),
|
|
1784
|
+
(te(!0), Te(bl, null, Al(De.value, (F, be) => (te(), Te("div", { key: be }, [
|
|
1785
1785
|
$("div", jn, [
|
|
1786
1786
|
$("div", Nn, Je(F == null ? void 0 : F.label), 1),
|
|
1787
1787
|
$("div", Mn, [
|
|
@@ -1822,7 +1822,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1822
1822
|
})
|
|
1823
1823
|
]),
|
|
1824
1824
|
$("div", Wn, [
|
|
1825
|
-
(te(!0),
|
|
1825
|
+
(te(!0), Te(bl, null, Al(ae.value, (F, be) => (te(), Te("div", { key: be }, [
|
|
1826
1826
|
$("div", zn, [
|
|
1827
1827
|
$("div", Gn, Je(F == null ? void 0 : F.label), 1),
|
|
1828
1828
|
$("div", Hn, [
|
|
@@ -1857,14 +1857,14 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1857
1857
|
]),
|
|
1858
1858
|
le(Wl, {
|
|
1859
1859
|
visible: t.value,
|
|
1860
|
-
onBeforeDestroy:
|
|
1860
|
+
onBeforeDestroy: G,
|
|
1861
1861
|
width: 840
|
|
1862
1862
|
}, {
|
|
1863
1863
|
default: he(() => [
|
|
1864
1864
|
$("div", Xn, [
|
|
1865
1865
|
(te(), pl(jl, {
|
|
1866
|
-
rowContents:
|
|
1867
|
-
key:
|
|
1866
|
+
rowContents: d.value,
|
|
1867
|
+
key: d.value,
|
|
1868
1868
|
isEnableWrap: !0,
|
|
1869
1869
|
onChange: U
|
|
1870
1870
|
}, null, 8, ["rowContents"]))
|
|
@@ -1873,7 +1873,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1873
1873
|
footer: he(() => [
|
|
1874
1874
|
$("div", Yn, [
|
|
1875
1875
|
le(m, {
|
|
1876
|
-
onClick:
|
|
1876
|
+
onClick: G,
|
|
1877
1877
|
class: "cancel-button button",
|
|
1878
1878
|
id: "themeBorderButton"
|
|
1879
1879
|
}, {
|
|
@@ -1885,7 +1885,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1885
1885
|
}),
|
|
1886
1886
|
le(m, {
|
|
1887
1887
|
class: "ok-button button",
|
|
1888
|
-
onClick:
|
|
1888
|
+
onClick: Ke,
|
|
1889
1889
|
id: "themeButton"
|
|
1890
1890
|
}, {
|
|
1891
1891
|
default: he(() => u[12] || (u[12] = [
|
|
@@ -1942,7 +1942,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
1942
1942
|
_: 1
|
|
1943
1943
|
}, 8, ["visible"]),
|
|
1944
1944
|
le(Wl, {
|
|
1945
|
-
visible:
|
|
1945
|
+
visible: Ce.value,
|
|
1946
1946
|
onBeforeDestroy: J,
|
|
1947
1947
|
width: 840
|
|
1948
1948
|
}, {
|
|
@@ -2016,7 +2016,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2016
2016
|
}),
|
|
2017
2017
|
le(m, {
|
|
2018
2018
|
class: "ok-button button",
|
|
2019
|
-
onClick:
|
|
2019
|
+
onClick: Le,
|
|
2020
2020
|
id: "themeButton"
|
|
2021
2021
|
}, {
|
|
2022
2022
|
default: he(() => u[18] || (u[18] = [
|
|
@@ -2046,7 +2046,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2046
2046
|
},
|
|
2047
2047
|
emits: ["change"],
|
|
2048
2048
|
setup(e, { emit: v }) {
|
|
2049
|
-
const n = e, l = v, a = W(!1), t = W([]), k = W([]), f = W(!1), w = W([]),
|
|
2049
|
+
const n = e, l = v, a = W(!1), t = W([]), k = W([]), f = W(!1), w = W([]), d = W([]), y = W(""), T = W(!1), D = W(0), re = W([]), L = W([]), De = (g, H) => {
|
|
2050
2050
|
if ((H == null ? void 0 : H.type) == "Select" && (g == null ? void 0 : g.key) === "selectRelateType") {
|
|
2051
2051
|
const pe = H == null ? void 0 : H.optionUrl;
|
|
2052
2052
|
return (pe == null ? void 0 : pe.selectRelateType) || H[g.key];
|
|
@@ -2067,10 +2067,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
return (g == null ? void 0 : g.label) === "类型" && H[g.key] === "" ? "Input" : (g == null ? void 0 : g.key) === "isFormColHidden" && !H[g.key] ? !1 : H[g.key];
|
|
2069
2069
|
}, R = async (g) => {
|
|
2070
|
-
var ge,
|
|
2070
|
+
var ge, Le, se, q, r, de;
|
|
2071
2071
|
a.value = !0;
|
|
2072
2072
|
let H = [];
|
|
2073
|
-
const pe = await ((se = (
|
|
2073
|
+
const pe = await ((se = (Le = (ge = zl) == null ? void 0 : ge.find((J) => (J == null ? void 0 : J.key) === ((g == null ? void 0 : g.type) === "" ? "Input" : g == null ? void 0 : g.type))) == null ? void 0 : Le.value) == null ? void 0 : se.value) ?? ((r = (q = zl) == null ? void 0 : q.find((J) => (J == null ? void 0 : J.key) === ((g == null ? void 0 : g.type) === "" ? "Input" : g == null ? void 0 : g.type))) == null ? void 0 : r.value);
|
|
2074
2074
|
if (pe == null || pe.forEach((J) => {
|
|
2075
2075
|
D.value++, H.push({
|
|
2076
2076
|
label: J == null ? void 0 : J.label,
|
|
@@ -2115,8 +2115,8 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2115
2115
|
},
|
|
2116
2116
|
{ deep: !0 }
|
|
2117
2117
|
);
|
|
2118
|
-
const
|
|
2119
|
-
var pe, ge,
|
|
2118
|
+
const Ce = () => {
|
|
2119
|
+
var pe, ge, Le, se, q;
|
|
2120
2120
|
re.value = L.value;
|
|
2121
2121
|
let g = {};
|
|
2122
2122
|
if (y.value !== "" ? g.id = y.value : (D.value++, g.id = "id" + D.value), (pe = re.value) == null || pe.forEach((r) => {
|
|
@@ -2124,7 +2124,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2124
2124
|
const de = (J = bs) == null ? void 0 : J.find((ue) => (ue == null ? void 0 : ue.label) === (r == null ? void 0 : r.label));
|
|
2125
2125
|
de && (g[de.key] = r.value);
|
|
2126
2126
|
}), (ge = w.value) != null && ge.find((r) => r.id === g.id))
|
|
2127
|
-
w.value = (
|
|
2127
|
+
w.value = (Le = w.value) == null ? void 0 : Le.map((r) => (r.id === g.id && (r = g), r));
|
|
2128
2128
|
else {
|
|
2129
2129
|
let r = s(w.value);
|
|
2130
2130
|
w.value || (w.value = []), r.push(g), w.value = r;
|
|
@@ -2143,7 +2143,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2143
2143
|
}).then(
|
|
2144
2144
|
() => {
|
|
2145
2145
|
var H, pe;
|
|
2146
|
-
|
|
2146
|
+
d.value = (H = s(d.value)) == null ? void 0 : H.filter((ge) => (ge == null ? void 0 : ge.id) !== (g == null ? void 0 : g.id)), l("change", (pe = s(n.originalItemContents)) == null ? void 0 : pe.map((ge) => ((ge == null ? void 0 : ge.key) === "formContent" && (ge.contents = d.value), ge))), Cl({
|
|
2147
2147
|
type: "success",
|
|
2148
2148
|
message: "删除成功"
|
|
2149
2149
|
});
|
|
@@ -2183,32 +2183,32 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2183
2183
|
var H, pe, ge;
|
|
2184
2184
|
a.value = !0;
|
|
2185
2185
|
let g = [];
|
|
2186
|
-
(ge = (pe = (H = zl) == null ? void 0 : H.find((
|
|
2186
|
+
(ge = (pe = (H = zl) == null ? void 0 : H.find((Le) => (Le == null ? void 0 : Le.key) === "Input")) == null ? void 0 : pe.value) == null || ge.forEach((Le) => {
|
|
2187
2187
|
D.value++, g.push({
|
|
2188
|
-
label:
|
|
2189
|
-
name:
|
|
2190
|
-
type:
|
|
2191
|
-
value: (
|
|
2188
|
+
label: Le == null ? void 0 : Le.label,
|
|
2189
|
+
name: Le == null ? void 0 : Le.label,
|
|
2190
|
+
type: Le.type,
|
|
2191
|
+
value: (Le == null ? void 0 : Le.label) === "类型" ? "Input" : "",
|
|
2192
2192
|
id: D.value,
|
|
2193
|
-
contents:
|
|
2193
|
+
contents: Le == null ? void 0 : Le.options
|
|
2194
2194
|
});
|
|
2195
2195
|
}), t.value = g, k.value = g;
|
|
2196
2196
|
}, ce = (g) => {
|
|
2197
2197
|
let H = s(L.value);
|
|
2198
2198
|
H = H == null ? void 0 : H.map((pe) => (pe.value = g == null ? void 0 : g[pe.name], pe)), L.value = H;
|
|
2199
2199
|
}, ae = (g) => {
|
|
2200
|
-
const H = g.find((
|
|
2200
|
+
const H = g.find((Le) => (Le == null ? void 0 : Le.name) === "类型");
|
|
2201
2201
|
if ((H == null ? void 0 : H.value) != "Select")
|
|
2202
2202
|
return;
|
|
2203
|
-
const pe = g.find((
|
|
2203
|
+
const pe = g.find((Le) => (Le == null ? void 0 : Le.name) === "多选"), ge = g.find((Le) => (Le == null ? void 0 : Le.name) === "初始值");
|
|
2204
2204
|
pe != null && pe.value && Rs(ge.value) && (ge.value = [ge.value]), !(pe != null && pe.value) && !Rs(ge.value) && (ge.value = "");
|
|
2205
|
-
},
|
|
2206
|
-
var H, pe, ge,
|
|
2205
|
+
}, Ue = async (g) => {
|
|
2206
|
+
var H, pe, ge, Le, se, q, r, de, J, ue, Ve, Re;
|
|
2207
2207
|
if ((g == null ? void 0 : g.类型) !== ((pe = (H = k.value) == null ? void 0 : H.find((_e) => (_e == null ? void 0 : _e.label) === "类型")) == null ? void 0 : pe.value)) {
|
|
2208
2208
|
let _e = [];
|
|
2209
|
-
const We = await ((se = (
|
|
2209
|
+
const We = await ((se = (Le = (ge = zl) == null ? void 0 : ge.find((ne) => (ne == null ? void 0 : ne.key) === ((g == null ? void 0 : g.类型) === "" ? "Input" : g == null ? void 0 : g.类型))) == null ? void 0 : Le.value) == null ? void 0 : se.value) ? await ((ue = (J = (de = zl) == null ? void 0 : de.find((ne) => (ne == null ? void 0 : ne.key) === ((g == null ? void 0 : g.类型) === "" ? "Input" : g == null ? void 0 : g.类型))) == null ? void 0 : J.value) == null ? void 0 : ue.value) : (r = (q = zl) == null ? void 0 : q.find((ne) => (ne == null ? void 0 : ne.key) === ((g == null ? void 0 : g.类型) === "" ? "Input" : g == null ? void 0 : g.类型))) == null ? void 0 : r.value;
|
|
2210
2210
|
if (We == null || We.forEach((ne) => {
|
|
2211
|
-
var Se,
|
|
2211
|
+
var Se, Pe;
|
|
2212
2212
|
D.value++;
|
|
2213
2213
|
const je = Gi(ne == null ? void 0 : ne.default) ? (g == null ? void 0 : g[ne.label]) ?? ne.value ?? "" : ne == null ? void 0 : ne.default;
|
|
2214
2214
|
_e.push({
|
|
@@ -2219,7 +2219,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2219
2219
|
prop: ne == null ? void 0 : ne.prop,
|
|
2220
2220
|
id: D.value,
|
|
2221
2221
|
contents: ne == null ? void 0 : ne.options,
|
|
2222
|
-
width: ((
|
|
2222
|
+
width: ((Pe = (Se = k.value) == null ? void 0 : Se[0]) == null ? void 0 : Pe.width) ?? 1
|
|
2223
2223
|
});
|
|
2224
2224
|
}), g != null && g.菜单选项 && ((Ve = g == null ? void 0 : g.菜单选项) == null ? void 0 : Ve.length) > 0) {
|
|
2225
2225
|
const ne = await Aa(g == null ? void 0 : g.菜单选项);
|
|
@@ -2228,7 +2228,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2228
2228
|
ae(_e), k.value = await ra(s(_e)), t.value = await ra(s(_e));
|
|
2229
2229
|
} else {
|
|
2230
2230
|
let _e = s(k.value);
|
|
2231
|
-
if (_e = _e == null ? void 0 : _e.map((We) => (We.value = g == null ? void 0 : g[We.name], We)), g != null && g.菜单选项 && ((
|
|
2231
|
+
if (_e = _e == null ? void 0 : _e.map((We) => (We.value = g == null ? void 0 : g[We.name], We)), g != null && g.菜单选项 && ((Re = g == null ? void 0 : g.菜单选项) == null ? void 0 : Re.length) > 0) {
|
|
2232
2232
|
const We = await Aa(g == null ? void 0 : g.菜单选项);
|
|
2233
2233
|
_e = _e == null ? void 0 : _e.map((ne) => ((ne == null ? void 0 : ne.name) === "组信息选项" && (ne.contents = We), ne));
|
|
2234
2234
|
}
|
|
@@ -2237,33 +2237,33 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2237
2237
|
}, al = (g) => {
|
|
2238
2238
|
g || (t.value = k.value);
|
|
2239
2239
|
}, ul = async (g) => {
|
|
2240
|
-
await
|
|
2240
|
+
await Ue(g), t.value = k.value;
|
|
2241
2241
|
}, Ye = li(async () => {
|
|
2242
|
-
var ge,
|
|
2242
|
+
var ge, Le, se, q, r, de, J, ue, Ve, Re, _e, We;
|
|
2243
2243
|
t.value = k.value;
|
|
2244
2244
|
let g = {};
|
|
2245
|
-
g.width = ((
|
|
2245
|
+
g.width = ((Le = (ge = t.value) == null ? void 0 : ge[0]) == null ? void 0 : Le.width) ?? 1, y.value !== "" ? g.id = y.value : (D.value++, g.id = "id" + D.value);
|
|
2246
2246
|
let H = await ((r = (q = (se = zl) == null ? void 0 : se.find((ne) => {
|
|
2247
2247
|
var je, Se;
|
|
2248
|
-
return (ne == null ? void 0 : ne.key) === (((Se = (je = t.value) == null ? void 0 : je.find((
|
|
2248
|
+
return (ne == null ? void 0 : ne.key) === (((Se = (je = t.value) == null ? void 0 : je.find((Pe) => (Pe == null ? void 0 : Pe.label) === "类型")) == null ? void 0 : Se.value) ?? "label");
|
|
2249
2249
|
})) == null ? void 0 : q.value) == null ? void 0 : r.value) ?? ((J = (de = zl) == null ? void 0 : de.find((ne) => {
|
|
2250
2250
|
var je, Se;
|
|
2251
|
-
return (ne == null ? void 0 : ne.key) === (((Se = (je = t.value) == null ? void 0 : je.find((
|
|
2251
|
+
return (ne == null ? void 0 : ne.key) === (((Se = (je = t.value) == null ? void 0 : je.find((Pe) => (Pe == null ? void 0 : Pe.label) === "类型")) == null ? void 0 : Se.value) ?? "label");
|
|
2252
2252
|
})) == null ? void 0 : J.value);
|
|
2253
2253
|
if ((ue = t.value) == null || ue.forEach((ne) => {
|
|
2254
2254
|
const je = H == null ? void 0 : H.find((Se) => (Se == null ? void 0 : Se.label) === (ne == null ? void 0 : ne.label));
|
|
2255
2255
|
je && (g[je.key] = ne.value);
|
|
2256
|
-
}), g.width = g.width ? g.width : 1, g.key = g == null ? void 0 : g.label, g.isFormColHidden = g == null ? void 0 : g.isFormColHidden, (Ve =
|
|
2257
|
-
|
|
2256
|
+
}), g.width = g.width ? g.width : 1, g.key = g == null ? void 0 : g.label, g.isFormColHidden = g == null ? void 0 : g.isFormColHidden, (Ve = d.value) != null && Ve.find((ne) => ne.id === g.id))
|
|
2257
|
+
d.value = (Re = d.value) == null ? void 0 : Re.map((ne) => (ne.id === g.id && (ne = g), ne));
|
|
2258
2258
|
else {
|
|
2259
|
-
let ne = s(
|
|
2260
|
-
ne.push(g),
|
|
2259
|
+
let ne = s(d.value);
|
|
2260
|
+
ne.push(g), d.value = ne;
|
|
2261
2261
|
}
|
|
2262
|
-
|
|
2262
|
+
d.value = d.value.map(({ id: ne, ...je }) => je), a.value = !1, y.value = "";
|
|
2263
2263
|
let pe = s(n.originalItemContents);
|
|
2264
|
-
(_e = s(n.originalItemContents)) != null && _e.find((ne) => (ne == null ? void 0 : ne.key) === "formContent") ? pe = (We = s(n.originalItemContents)) == null ? void 0 : We.map((ne) => ((ne == null ? void 0 : ne.key) === "formContent" && (ne.contents =
|
|
2264
|
+
(_e = s(n.originalItemContents)) != null && _e.find((ne) => (ne == null ? void 0 : ne.key) === "formContent") ? pe = (We = s(n.originalItemContents)) == null ? void 0 : We.map((ne) => ((ne == null ? void 0 : ne.key) === "formContent" && (ne.contents = d.value), ne)) : pe.push({
|
|
2265
2265
|
key: "formContent",
|
|
2266
|
-
contents:
|
|
2266
|
+
contents: d.value
|
|
2267
2267
|
}), l("change", pe);
|
|
2268
2268
|
}, 300), ze = () => {
|
|
2269
2269
|
a.value = !1, f.value = !1, y.value = "", k.value = [], L.value = [];
|
|
@@ -2271,14 +2271,14 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2271
2271
|
return Tl(
|
|
2272
2272
|
() => n.originalItemContents,
|
|
2273
2273
|
() => {
|
|
2274
|
-
var H, pe, ge,
|
|
2274
|
+
var H, pe, ge, Le, se, q;
|
|
2275
2275
|
if (!n.originalItemContents || n.originalItemContents.length === 0) return;
|
|
2276
2276
|
const g = s(n.originalItemContents);
|
|
2277
|
-
|
|
2277
|
+
d.value = ((H = g == null ? void 0 : g.find((r) => (r == null ? void 0 : r.key) === "formContent")) == null ? void 0 : H.contents) ?? [], w.value = ((pe = g == null ? void 0 : g.find((r) => (r == null ? void 0 : r.key) === "formButton")) == null ? void 0 : pe.contents) ?? [], T.value = (ge = g == null ? void 0 : g.find((r) => (r == null ? void 0 : r.key) === "enableWrap")) != null && ge.contents ? !((Le = g == null ? void 0 : g.find((r) => (r == null ? void 0 : r.key) === "enableWrap")) != null && Le.contents) : !0, d.value = (se = s(d.value)) == null ? void 0 : se.map((r, de) => {
|
|
2278
2278
|
var ue;
|
|
2279
2279
|
let J = r;
|
|
2280
2280
|
return J.id = (r == null ? void 0 : r.id) ?? de, r != null && r.label || (r.label = (r == null ? void 0 : r.key) ?? (r == null ? void 0 : r.label) ?? ""), r != null && r.type || (r.type = (r == null ? void 0 : r.type) ?? ""), r.contents = ((ue = r == null ? void 0 : r.options) == null ? void 0 : ue.length) === 0 ? (r == null ? void 0 : r.contents) ?? "" : r == null ? void 0 : r.options, J;
|
|
2281
|
-
}),
|
|
2281
|
+
}), d.value = wa(d.value), w.value = (q = w.value) == null ? void 0 : q.map((r, de) => r = {
|
|
2282
2282
|
label: (r == null ? void 0 : r.label) ?? "",
|
|
2283
2283
|
type: (r == null ? void 0 : r.type) ?? "",
|
|
2284
2284
|
background: (r == null ? void 0 : r.background) ?? "var(--ssComponent-primary-color)",
|
|
@@ -2288,7 +2288,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2288
2288
|
{ deep: !0, immediate: !0 }
|
|
2289
2289
|
), (g, H) => {
|
|
2290
2290
|
const pe = dl("svg-icon"), ge = dl("el-button");
|
|
2291
|
-
return te(),
|
|
2291
|
+
return te(), Te("div", oo, [
|
|
2292
2292
|
$("div", uo, [
|
|
2293
2293
|
$("div", ro, [
|
|
2294
2294
|
H[2] || (H[2] = $("div", null, Je("表单内容"), -1)),
|
|
@@ -2311,21 +2311,21 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2311
2311
|
})
|
|
2312
2312
|
]),
|
|
2313
2313
|
$("div", to, [
|
|
2314
|
-
(te(!0),
|
|
2314
|
+
(te(!0), Te(bl, null, Al(d.value, (Le, se) => (te(), Te("div", { key: se }, [
|
|
2315
2315
|
$("div", co, [
|
|
2316
|
-
$("div", null, Je(
|
|
2316
|
+
$("div", null, Je(Le.label), 1),
|
|
2317
2317
|
$("div", po, [
|
|
2318
2318
|
le(pe, {
|
|
2319
2319
|
name: "ChildFix",
|
|
2320
2320
|
class: "svg-icon-content",
|
|
2321
2321
|
style: { width: "24px", height: "24px" },
|
|
2322
|
-
onClick: (q) => R(
|
|
2322
|
+
onClick: (q) => R(Le)
|
|
2323
2323
|
}, null, 8, ["onClick"]),
|
|
2324
2324
|
le(pe, {
|
|
2325
2325
|
name: "ChildDelete",
|
|
2326
2326
|
class: "svg-icon-content",
|
|
2327
2327
|
style: { width: "24px", height: "24px" },
|
|
2328
|
-
onClick: (q) => b(
|
|
2328
|
+
onClick: (q) => b(Le)
|
|
2329
2329
|
}, null, 8, ["onClick"])
|
|
2330
2330
|
])
|
|
2331
2331
|
])
|
|
@@ -2352,21 +2352,21 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2352
2352
|
})
|
|
2353
2353
|
]),
|
|
2354
2354
|
$("div", vo, [
|
|
2355
|
-
(te(!0),
|
|
2355
|
+
(te(!0), Te(bl, null, Al(w.value, (Le, se) => (te(), Te("div", { key: se }, [
|
|
2356
2356
|
$("div", yo, [
|
|
2357
|
-
$("div", null, Je(
|
|
2357
|
+
$("div", null, Je(Le.label), 1),
|
|
2358
2358
|
$("div", ho, [
|
|
2359
2359
|
le(pe, {
|
|
2360
2360
|
name: "ChildFix",
|
|
2361
2361
|
class: "svg-icon-content",
|
|
2362
2362
|
style: { width: "24px", height: "24px" },
|
|
2363
|
-
onClick: (q) => O(
|
|
2363
|
+
onClick: (q) => O(Le)
|
|
2364
2364
|
}, null, 8, ["onClick"]),
|
|
2365
2365
|
le(pe, {
|
|
2366
2366
|
name: "ChildDelete",
|
|
2367
2367
|
class: "svg-icon-content",
|
|
2368
2368
|
style: { width: "24px", height: "24px" },
|
|
2369
|
-
onClick: (q) => I(
|
|
2369
|
+
onClick: (q) => I(Le)
|
|
2370
2370
|
}, null, 8, ["onClick"])
|
|
2371
2371
|
])
|
|
2372
2372
|
])
|
|
@@ -2379,7 +2379,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2379
2379
|
H[5] || (H[5] = $("div", { class: "operate-center-content" }, Je("是否自动撑宽"), -1)),
|
|
2380
2380
|
le(As, {
|
|
2381
2381
|
modelValue: T.value,
|
|
2382
|
-
"onUpdate:modelValue": H[0] || (H[0] = (
|
|
2382
|
+
"onUpdate:modelValue": H[0] || (H[0] = (Le) => T.value = Le)
|
|
2383
2383
|
}, null, 8, ["modelValue"])
|
|
2384
2384
|
])
|
|
2385
2385
|
]),
|
|
@@ -2394,7 +2394,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2394
2394
|
rowContents: t.value,
|
|
2395
2395
|
key: t.value,
|
|
2396
2396
|
isEnableWrap: !0,
|
|
2397
|
-
onChange:
|
|
2397
|
+
onChange: Ue,
|
|
2398
2398
|
onChangeVisible: al,
|
|
2399
2399
|
onBlurChange: ul
|
|
2400
2400
|
}, null, 8, ["rowContents"]))
|
|
@@ -2451,7 +2451,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2451
2451
|
}, Je("取消")),
|
|
2452
2452
|
$("div", {
|
|
2453
2453
|
class: "ok-button button",
|
|
2454
|
-
onClick:
|
|
2454
|
+
onClick: Ce
|
|
2455
2455
|
}, Je("确认"))
|
|
2456
2456
|
])
|
|
2457
2457
|
]),
|
|
@@ -2571,14 +2571,14 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2571
2571
|
visible: !1,
|
|
2572
2572
|
width: "40%",
|
|
2573
2573
|
title: "步骤条"
|
|
2574
|
-
}), w = W("create"),
|
|
2574
|
+
}), w = W("create"), d = W({}), y = W([]), T = (R) => {
|
|
2575
2575
|
var O;
|
|
2576
|
-
|
|
2576
|
+
d.value = R, l("change", (O = L()) == null ? void 0 : O.compData);
|
|
2577
2577
|
}, D = (R, O) => {
|
|
2578
|
-
var
|
|
2578
|
+
var Ce, b;
|
|
2579
2579
|
switch (R) {
|
|
2580
2580
|
case "create":
|
|
2581
|
-
(
|
|
2581
|
+
(Ce = t.value) == null || Ce.forEach((I) => {
|
|
2582
2582
|
I.value = "";
|
|
2583
2583
|
}), w.value = "create", f.visible = !0;
|
|
2584
2584
|
break;
|
|
@@ -2592,7 +2592,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2592
2592
|
break;
|
|
2593
2593
|
}
|
|
2594
2594
|
}, re = (R) => {
|
|
2595
|
-
var O,
|
|
2595
|
+
var O, Ce, b;
|
|
2596
2596
|
if ((R == null ? void 0 : R.buttonName) === "确认") {
|
|
2597
2597
|
const I = s(R == null ? void 0 : R.content);
|
|
2598
2598
|
switch (Object.keys(I).forEach((h) => {
|
|
@@ -2605,7 +2605,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2605
2605
|
});
|
|
2606
2606
|
break;
|
|
2607
2607
|
case "update":
|
|
2608
|
-
y.value = (
|
|
2608
|
+
y.value = (Ce = y.value) == null ? void 0 : Ce.map((h) => h.index === (I == null ? void 0 : I.index) ? {
|
|
2609
2609
|
...h,
|
|
2610
2610
|
title: I == null ? void 0 : I.title,
|
|
2611
2611
|
description: I == null ? void 0 : I.description
|
|
@@ -2624,18 +2624,18 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2624
2624
|
},
|
|
2625
2625
|
{
|
|
2626
2626
|
key: "stepConfig",
|
|
2627
|
-
contents:
|
|
2627
|
+
contents: d.value
|
|
2628
2628
|
}
|
|
2629
2629
|
]
|
|
2630
2630
|
}), De = () => {
|
|
2631
2631
|
f.visible = !1;
|
|
2632
2632
|
};
|
|
2633
2633
|
return Tl(() => n == null ? void 0 : n.itemContents, (R) => {
|
|
2634
|
-
var O,
|
|
2635
|
-
R && (
|
|
2634
|
+
var O, Ce;
|
|
2635
|
+
R && (d.value = ((O = R == null ? void 0 : R.find((b) => b.key === "stepConfig")) == null ? void 0 : O.contents) ?? {}, y.value = ((Ce = R == null ? void 0 : R.find((b) => b.key === "stepList")) == null ? void 0 : Ce.contents) ?? []);
|
|
2636
2636
|
}, { immediate: !0 }), (R, O) => {
|
|
2637
|
-
const
|
|
2638
|
-
return te(),
|
|
2637
|
+
const Ce = dl("svg-icon"), b = dl("el-button");
|
|
2638
|
+
return te(), Te(bl, null, [
|
|
2639
2639
|
$("div", null, [
|
|
2640
2640
|
$("div", Co, [
|
|
2641
2641
|
O[2] || (O[2] = $("h4", { class: "module-title" }, "内容", -1)),
|
|
@@ -2645,7 +2645,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2645
2645
|
onClick: O[0] || (O[0] = (I) => D("create"))
|
|
2646
2646
|
}, {
|
|
2647
2647
|
icon: he(() => [
|
|
2648
|
-
le(
|
|
2648
|
+
le(Ce, {
|
|
2649
2649
|
name: "Plus",
|
|
2650
2650
|
class: "icon-size"
|
|
2651
2651
|
})
|
|
@@ -2658,7 +2658,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2658
2658
|
})
|
|
2659
2659
|
]),
|
|
2660
2660
|
$("div", wo, [
|
|
2661
|
-
(te(!0),
|
|
2661
|
+
(te(!0), Te(bl, null, Al(y.value, (I, h) => (te(), Te("div", {
|
|
2662
2662
|
class: "module-data-item",
|
|
2663
2663
|
key: h
|
|
2664
2664
|
}, [
|
|
@@ -2854,7 +2854,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2854
2854
|
type: "datetime",
|
|
2855
2855
|
value: ""
|
|
2856
2856
|
}
|
|
2857
|
-
]),
|
|
2857
|
+
]), d = W([
|
|
2858
2858
|
{
|
|
2859
2859
|
label: "取消",
|
|
2860
2860
|
background: "#c0c4cc"
|
|
@@ -2871,10 +2871,10 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2871
2871
|
var O;
|
|
2872
2872
|
t.value = R, l("change", (O = L()) == null ? void 0 : O.compData);
|
|
2873
2873
|
}, D = (R, O) => {
|
|
2874
|
-
var
|
|
2874
|
+
var Ce, b;
|
|
2875
2875
|
switch (R) {
|
|
2876
2876
|
case "create":
|
|
2877
|
-
(
|
|
2877
|
+
(Ce = w.value) == null || Ce.forEach((I) => {
|
|
2878
2878
|
I.value = "";
|
|
2879
2879
|
}), a.value = "create", y.visible = !0;
|
|
2880
2880
|
break;
|
|
@@ -2888,14 +2888,14 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2888
2888
|
break;
|
|
2889
2889
|
}
|
|
2890
2890
|
}, re = (R) => {
|
|
2891
|
-
var O,
|
|
2891
|
+
var O, Ce, b, I;
|
|
2892
2892
|
if ((R == null ? void 0 : R.buttonName) === "确认") {
|
|
2893
2893
|
const h = s(R == null ? void 0 : R.content);
|
|
2894
2894
|
switch (Object.keys(h).forEach((C) => {
|
|
2895
2895
|
h[C] === "" && delete h[C];
|
|
2896
2896
|
}), a.value) {
|
|
2897
2897
|
case "create":
|
|
2898
|
-
console.log(1335, k.value, h), (
|
|
2898
|
+
console.log(1335, k.value, h), (Ce = k.value) == null || Ce.push({
|
|
2899
2899
|
...h,
|
|
2900
2900
|
index: ((O = k.value) == null ? void 0 : O.length) + 1
|
|
2901
2901
|
});
|
|
@@ -2927,11 +2927,11 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2927
2927
|
y.visible = !1;
|
|
2928
2928
|
};
|
|
2929
2929
|
return Tl(() => n == null ? void 0 : n.itemContents, (R) => {
|
|
2930
|
-
var O,
|
|
2931
|
-
R && (t.value = ((O = R == null ? void 0 : R.find((b) => b.key === "timeLineConfig")) == null ? void 0 : O.contents) ?? {}, k.value = ((
|
|
2930
|
+
var O, Ce;
|
|
2931
|
+
R && (t.value = ((O = R == null ? void 0 : R.find((b) => b.key === "timeLineConfig")) == null ? void 0 : O.contents) ?? {}, k.value = ((Ce = R == null ? void 0 : R.find((b) => b.key === "timeLineList")) == null ? void 0 : Ce.contents) ?? []);
|
|
2932
2932
|
}, { immediate: !0 }), (R, O) => {
|
|
2933
|
-
const
|
|
2934
|
-
return te(),
|
|
2933
|
+
const Ce = dl("svg-icon"), b = dl("el-button");
|
|
2934
|
+
return te(), Te(bl, null, [
|
|
2935
2935
|
$("div", null, [
|
|
2936
2936
|
$("div", Ao, [
|
|
2937
2937
|
O[2] || (O[2] = $("h4", { class: "module-title" }, "内容", -1)),
|
|
@@ -2941,7 +2941,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2941
2941
|
onClick: O[0] || (O[0] = (I) => D("create"))
|
|
2942
2942
|
}, {
|
|
2943
2943
|
icon: he(() => [
|
|
2944
|
-
le(
|
|
2944
|
+
le(Ce, {
|
|
2945
2945
|
name: "Plus",
|
|
2946
2946
|
class: "icon-size"
|
|
2947
2947
|
})
|
|
@@ -2954,7 +2954,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
2954
2954
|
})
|
|
2955
2955
|
]),
|
|
2956
2956
|
$("div", Eo, [
|
|
2957
|
-
(te(!0),
|
|
2957
|
+
(te(!0), Te(bl, null, Al(k.value, (I, h) => (te(), Te("div", {
|
|
2958
2958
|
class: "module-data-item",
|
|
2959
2959
|
key: h
|
|
2960
2960
|
}, [
|
|
@@ -3007,7 +3007,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
3007
3007
|
isEnableWrap: !1,
|
|
3008
3008
|
isButtonRow: !1,
|
|
3009
3009
|
isStartJustify: !1,
|
|
3010
|
-
buttonValue:
|
|
3010
|
+
buttonValue: d.value,
|
|
3011
3011
|
onOnButtonClick: re
|
|
3012
3012
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3013
3013
|
])
|
|
@@ -3019,7 +3019,7 @@ const Yi = { class: "form-content" }, Qi = { title: "选择标签" }, Zi = {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
}), Lo = /* @__PURE__ */ $l(Bo, [["__scopeId", "data-v-23383e1d"]]), Oo = {};
|
|
3021
3021
|
function Fo(e, v) {
|
|
3022
|
-
return te(),
|
|
3022
|
+
return te(), Te("div");
|
|
3023
3023
|
}
|
|
3024
3024
|
const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-content" }, Ro = { key: 0 }, Po = { key: 1 }, jo = { class: "dialog-footer" }, No = {
|
|
3025
3025
|
__name: "index",
|
|
@@ -3041,7 +3041,7 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3041
3041
|
},
|
|
3042
3042
|
emits: ["change"],
|
|
3043
3043
|
setup(e, { emit: v }) {
|
|
3044
|
-
const n = e, l = W(0), a = W(), t = W(), k = v, f = W(!1), w = W({}),
|
|
3044
|
+
const n = e, l = W(0), a = W(), t = W(), k = v, f = W(!1), w = W({}), d = W({}), y = W();
|
|
3045
3045
|
Tl(
|
|
3046
3046
|
() => [n.itemData],
|
|
3047
3047
|
() => {
|
|
@@ -3052,8 +3052,8 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3052
3052
|
if (h.key === "extra") {
|
|
3053
3053
|
let ce = [];
|
|
3054
3054
|
(C = h.value) == null || C.forEach((ae) => {
|
|
3055
|
-
var
|
|
3056
|
-
ce.push((
|
|
3055
|
+
var Ue;
|
|
3056
|
+
ce.push((Ue = Object.values(ae)) == null ? void 0 : Ue[0]);
|
|
3057
3057
|
}), h.value = ce;
|
|
3058
3058
|
}
|
|
3059
3059
|
return h;
|
|
@@ -3064,19 +3064,19 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3064
3064
|
const T = (b, I, h, C) => {
|
|
3065
3065
|
var ae;
|
|
3066
3066
|
let ce = {};
|
|
3067
|
-
((ae = b == null ? void 0 : b[0]) == null ? void 0 : ae.contents) === "详情" && (f.value = !0, ce[I] = b, t.value = b == null ? void 0 : b.filter((
|
|
3067
|
+
((ae = b == null ? void 0 : b[0]) == null ? void 0 : ae.contents) === "详情" && (f.value = !0, ce[I] = b, t.value = b == null ? void 0 : b.filter((Ue) => (Ue == null ? void 0 : Ue.key) !== "tableContentName"), w.value = ce, d.value = h, y.value = C.id);
|
|
3068
3068
|
}, D = (b) => {
|
|
3069
|
-
var
|
|
3070
|
-
const I = (al = (
|
|
3069
|
+
var Ue, al, ul, Ye;
|
|
3070
|
+
const I = (al = (Ue = Object.values(s(w.value))) == null ? void 0 : Ue[0]) == null ? void 0 : al.filter((ze) => (ze == null ? void 0 : ze.key) === "tableContentName"), h = (Ye = (ul = Object.values(s(w.value))) == null ? void 0 : ul[0]) == null ? void 0 : Ye.filter((ze) => (ze == null ? void 0 : ze.key) !== "tableContentName"), C = h == null ? void 0 : h.map((ze, g) => {
|
|
3071
3071
|
var H;
|
|
3072
3072
|
return g === b.index && (ze == null ? void 0 : ze.comp) === "Table" && (ze.compData = (H = ze.compData) == null ? void 0 : H.map((pe) => {
|
|
3073
|
-
var ge,
|
|
3074
|
-
return (pe == null ? void 0 : pe.key) === "tableContents" && (pe.contents = (
|
|
3073
|
+
var ge, Le;
|
|
3074
|
+
return (pe == null ? void 0 : pe.key) === "tableContents" && (pe.contents = (Le = (ge = b.content) == null ? void 0 : ge.map((se) => {
|
|
3075
3075
|
let q = {};
|
|
3076
3076
|
for (let r in se)
|
|
3077
3077
|
r !== "id" && (q[r] = se[r]);
|
|
3078
3078
|
return q;
|
|
3079
|
-
})) == null ? void 0 :
|
|
3079
|
+
})) == null ? void 0 : Le.map((se) => Object.values(se))), pe;
|
|
3080
3080
|
})), ze;
|
|
3081
3081
|
});
|
|
3082
3082
|
C.unshift(I == null ? void 0 : I[0]);
|
|
@@ -3085,10 +3085,10 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3085
3085
|
ae[ze] = C;
|
|
3086
3086
|
w.value = ae;
|
|
3087
3087
|
}, re = () => {
|
|
3088
|
-
f.value = !1, w.value = {},
|
|
3088
|
+
f.value = !1, w.value = {}, d.value = {}, y.value = void 0, l.value++;
|
|
3089
3089
|
}, L = (b) => {
|
|
3090
|
-
var
|
|
3091
|
-
const I = (al = (
|
|
3090
|
+
var Ue, al, ul, Ye;
|
|
3091
|
+
const I = (al = (Ue = Object.values(s(w.value))) == null ? void 0 : Ue[0]) == null ? void 0 : al.filter((ze) => (ze == null ? void 0 : ze.key) === "tableContentName"), h = (Ye = (ul = Object.values(s(w.value))) == null ? void 0 : ul[0]) == null ? void 0 : Ye.filter((ze) => (ze == null ? void 0 : ze.key) !== "tableContentName"), C = h == null ? void 0 : h.map((ze, g) => (g === b.index && (ze.compData = b.contents), ze));
|
|
3092
3092
|
C.unshift(I == null ? void 0 : I[0]);
|
|
3093
3093
|
let ce = s(w.value), ae = {};
|
|
3094
3094
|
for (let ze in ce)
|
|
@@ -3097,24 +3097,24 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3097
3097
|
}, De = () => {
|
|
3098
3098
|
var I, h;
|
|
3099
3099
|
let b = {};
|
|
3100
|
-
for (let C in
|
|
3101
|
-
C === ((I = Object.keys(w.value)) == null ? void 0 : I[0]) ? b[C] = (h = Object.values(w.value)) == null ? void 0 : h[0] : b[C] =
|
|
3100
|
+
for (let C in d.value)
|
|
3101
|
+
C === ((I = Object.keys(w.value)) == null ? void 0 : I[0]) ? b[C] = (h = Object.values(w.value)) == null ? void 0 : h[0] : b[C] = d.value[C];
|
|
3102
3102
|
k("change", {
|
|
3103
3103
|
buttonName: "编辑",
|
|
3104
3104
|
index: y.value,
|
|
3105
3105
|
singleContent: b
|
|
3106
|
-
}, "methodData"), f.value = !1, w.value = {},
|
|
3106
|
+
}, "methodData"), f.value = !1, w.value = {}, d.value = {}, y.value = void 0;
|
|
3107
3107
|
}, R = () => {
|
|
3108
|
-
f.value = !1, w.value = {},
|
|
3108
|
+
f.value = !1, w.value = {}, d.value = {}, y.value = void 0;
|
|
3109
3109
|
}, O = (b) => {
|
|
3110
3110
|
k("change", b, "methodData");
|
|
3111
|
-
},
|
|
3111
|
+
}, Ce = (b) => Qa(b);
|
|
3112
3112
|
return (b, I) => {
|
|
3113
3113
|
const h = dl("el-button");
|
|
3114
|
-
return te(),
|
|
3115
|
-
(te(!0),
|
|
3116
|
-
(C == null ? void 0 : C.key) === "extra" ? (te(),
|
|
3117
|
-
(te(), pl(ka(
|
|
3114
|
+
return te(), Te("div", Uo, [
|
|
3115
|
+
(te(!0), Te(bl, null, Al(a.value, (C, ce) => (te(), Te("div", { key: l.value }, [
|
|
3116
|
+
(C == null ? void 0 : C.key) === "extra" ? (te(), Te("div", Ro)) : (te(), Te("div", Po, [
|
|
3117
|
+
(te(), pl(ka(Ce(C.comp)), {
|
|
3118
3118
|
itemData: C == null ? void 0 : C.compData,
|
|
3119
3119
|
childItemData: C == null ? void 0 : C.itemChildData,
|
|
3120
3120
|
key: ce,
|
|
@@ -3129,11 +3129,11 @@ const Ko = /* @__PURE__ */ $l(Oo, [["render", Fo]]), Uo = { class: "extra-conten
|
|
|
3129
3129
|
onBeforeDestroy: R
|
|
3130
3130
|
}, {
|
|
3131
3131
|
default: he(() => [
|
|
3132
|
-
(te(!0),
|
|
3132
|
+
(te(!0), Te(bl, null, Al(t.value, (C, ce) => (te(), Te("div", {
|
|
3133
3133
|
key: ce,
|
|
3134
3134
|
class: "extra-dialog"
|
|
3135
3135
|
}, [
|
|
3136
|
-
(te(), pl(ka(
|
|
3136
|
+
(te(), pl(ka(Ce(C.comp)), {
|
|
3137
3137
|
itemData: C == null ? void 0 : C.compData,
|
|
3138
3138
|
onChange: D,
|
|
3139
3139
|
childItemData: C == null ? void 0 : C.itemChildData,
|
|
@@ -3211,47 +3211,47 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3211
3211
|
t++, k.includes("{") || a.includes("{") || k.includes("[") || a.includes("[") || k.includes("【") || a.includes("【") || k.includes("(") || a.includes("(") || k.includes("(") || a.includes("(") || k.includes("/*") || a.includes("/*") ? (a += k.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 && a[a.length - 1] === v && Ms(a, "'") ? (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "") : t === (e == null ? void 0 : e.length) && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "")) : (a += k.trim(), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === v && Ms(a, "'") && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = ""));
|
|
3212
3212
|
return (a == null ? void 0 : a.length) !== 0 && l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), l;
|
|
3213
3213
|
}, Dt = (e) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(s(e)), St = (e) => {
|
|
3214
|
-
var v, n, l, a, t, k, f, w,
|
|
3214
|
+
var v, n, l, a, t, k, f, w, d, y, T, D, re, L, De, R, O, Ce, b, I, h, C, ce, ae, Ue, al, ul, Ye, ze, g, H, pe, ge, Le, se, q, r, de, J, ue, Ve, Re, _e, We, ne, je, Se, Pe, M, A, U, G, Ke, xe, i, u, E, m, F, be, ie, Y, o, _, ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe;
|
|
3215
3215
|
if (Vo(e)) {
|
|
3216
|
-
let fe = {},
|
|
3216
|
+
let fe = {}, Oe = (l = (n = (v = e == null ? void 0 : e.replace(":", cl)) == null ? void 0 : v.split(cl)) == null ? void 0 : n[0]) == null ? void 0 : l.replaceAll("'", ""), V = "", X = (t = (a = e == null ? void 0 : e.replace(":", cl)) == null ? void 0 : a.split(cl)) == null ? void 0 : t[1];
|
|
3217
3217
|
if (((k = Vs(X, "/")) == null ? void 0 : k.length) > 1)
|
|
3218
3218
|
V = (f = Vs(X, "/")) == null ? void 0 : f.map(
|
|
3219
3219
|
(ve) => ve == null ? void 0 : ve.replaceAll("/", "").replaceAll("'", "")
|
|
3220
3220
|
);
|
|
3221
3221
|
else if (X.includes("{") || X.includes("("))
|
|
3222
|
-
if (X.includes("{") ? V = V + ((re = (D = (T = (y = (
|
|
3222
|
+
if (X.includes("{") ? V = V + ((re = (D = (T = (y = (d = (w = X == null ? void 0 : X.split("{")) == null ? void 0 : w[1]) == null ? void 0 : d.split("}")) == null ? void 0 : y[0]) == null ? void 0 : T.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : D.replaceAll("[", "([")) == null ? void 0 : re.replaceAll("]", "])")) + "[" : V = V + ((b = (Ce = (O = (R = (De = (L = X == null ? void 0 : X.split("(")) == null ? void 0 : L[1]) == null ? void 0 : De.split(")")) == null ? void 0 : R[0]) == null ? void 0 : O.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : Ce.replaceAll("[", "([")) == null ? void 0 : b.replaceAll("]", "])")) + "[", !((I = X == null ? void 0 : X.split(")")) != null && I[1]))
|
|
3223
3223
|
V = V + ((ce = (C = (h = X == null ? void 0 : X.split("[")) == null ? void 0 : h[1]) == null ? void 0 : C.split("]")) == null ? void 0 : ce[0]) + "]";
|
|
3224
3224
|
else {
|
|
3225
|
-
const ve = (ul = (al = (
|
|
3225
|
+
const ve = (ul = (al = (Ue = (ae = X == null ? void 0 : X.split(")")) == null ? void 0 : ae[1]) == null ? void 0 : Ue.replace("[", cl)) == null ? void 0 : al.split(cl)) == null ? void 0 : ul[1];
|
|
3226
3226
|
if (X != null && X.includes("?"))
|
|
3227
3227
|
V = ((Ye = X == null ? void 0 : X.split("?")) == null ? void 0 : Ye[1]) + "&&" + ((g = (ze = X == null ? void 0 : X.split("?")) == null ? void 0 : ze[0]) == null ? void 0 : g.replaceAll("#", "==="));
|
|
3228
3228
|
else if (ve) {
|
|
3229
3229
|
const me = ve.lastIndexOf("]"), Ae = ve.substring(0, me) + cl + ve.substring(me + 1);
|
|
3230
3230
|
V = V + ((H = Ae == null ? void 0 : Ae.split(cl)) == null ? void 0 : H[0]) + "]";
|
|
3231
3231
|
} else
|
|
3232
|
-
V = (
|
|
3232
|
+
V = (Le = (ge = (pe = e == null ? void 0 : e.replace(":", cl)) == null ? void 0 : pe.split(cl)) == null ? void 0 : ge[1]) == null ? void 0 : Le.replaceAll("'", "");
|
|
3233
3233
|
}
|
|
3234
3234
|
else if (!(e != null && e.includes("?")))
|
|
3235
3235
|
V = (r = (q = (se = e == null ? void 0 : e.replace(":", cl)) == null ? void 0 : se.split(cl)) == null ? void 0 : q[1]) == null ? void 0 : r.replaceAll("'", "");
|
|
3236
3236
|
else {
|
|
3237
3237
|
let ve = (ue = (J = (de = e == null ? void 0 : e.replace(":", cl)) == null ? void 0 : de.split(cl)) == null ? void 0 : J[1]) == null ? void 0 : ue.replaceAll("'", "");
|
|
3238
|
-
V = ((_e = (
|
|
3238
|
+
V = ((_e = (Re = (Ve = ve == null ? void 0 : ve.split("?")) == null ? void 0 : Ve[1]) == null ? void 0 : Re.split(":")) == null ? void 0 : _e[0]) + "&&" + ((We = ve == null ? void 0 : ve.split("?")) == null ? void 0 : We[0]);
|
|
3239
3239
|
}
|
|
3240
|
-
return fe[
|
|
3240
|
+
return fe[Oe] = V, {
|
|
3241
3241
|
groupName: "",
|
|
3242
3242
|
formContents: [[fe]]
|
|
3243
3243
|
};
|
|
3244
3244
|
} else {
|
|
3245
|
-
let fe = {},
|
|
3245
|
+
let fe = {}, Oe = "", V = "";
|
|
3246
3246
|
if (e.includes("#")) {
|
|
3247
|
-
|
|
3248
|
-
let X = (
|
|
3249
|
-
X != null && X.includes("{") ? V = V + ((
|
|
3247
|
+
Oe = (je = (ne = e == null ? void 0 : e.split("#")) == null ? void 0 : ne[0]) == null ? void 0 : je.replaceAll("'", "");
|
|
3248
|
+
let X = (Pe = (Se = e == null ? void 0 : e.split("#")) == null ? void 0 : Se[1]) == null ? void 0 : Pe.replaceAll("'", "");
|
|
3249
|
+
X != null && X.includes("{") ? V = V + ((G = (U = (A = (M = X == null ? void 0 : X.split("{")) == null ? void 0 : M[1]) == null ? void 0 : A.split("}")) == null ? void 0 : U[0]) == null ? void 0 : G.replaceAll(":", "/").replaceAll("'", "")) + "[" : V = V + ((u = (i = (xe = (Ke = X == null ? void 0 : X.split("(")) == null ? void 0 : Ke[1]) == null ? void 0 : xe.split(")")) == null ? void 0 : i[0]) == null ? void 0 : u.replaceAll(":", "/").replaceAll("'", "")) + "[", V = V + ((Y = (m = (E = X == null ? void 0 : X.replace("[", cl)) == null ? void 0 : E.split(cl)) == null ? void 0 : m[1]) == null ? void 0 : Y.slice(0, ((ie = (be = (F = X == null ? void 0 : X.replace("[", cl)) == null ? void 0 : F.split(cl)) == null ? void 0 : be[1]) == null ? void 0 : ie.length) - 1));
|
|
3250
3250
|
} else {
|
|
3251
3251
|
let X = (ee = (_ = (o = e == null ? void 0 : e.split("]")) == null ? void 0 : o[0]) == null ? void 0 : _.split("[")) == null ? void 0 : ee[1];
|
|
3252
3252
|
if ((N = X == null ? void 0 : X.split(":")) == null || N.forEach((ve, me) => {
|
|
3253
3253
|
var Ae;
|
|
3254
|
-
((Ae = X == null ? void 0 : X.split(":")) == null ? void 0 : Ae.length) - 1 === me && (
|
|
3254
|
+
((Ae = X == null ? void 0 : X.split(":")) == null ? void 0 : Ae.length) - 1 === me && (Oe = ve == null ? void 0 : ve.replaceAll("'", ""));
|
|
3255
3255
|
}), !(e != null && e.includes("[")))
|
|
3256
3256
|
V = ((B = (ye = (x = (K = e == null ? void 0 : e.split("]")) == null ? void 0 : K[1]) == null ? void 0 : x.replace(":", cl).split(cl)) == null ? void 0 : ye[1]) == null ? void 0 : B.replaceAll("'", "")) ?? "";
|
|
3257
3257
|
else {
|
|
@@ -3261,7 +3261,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3261
3261
|
}), V = ve + "[" + me + "]";
|
|
3262
3262
|
}
|
|
3263
3263
|
}
|
|
3264
|
-
return fe[
|
|
3264
|
+
return fe[Oe] = V, {
|
|
3265
3265
|
groupName: "",
|
|
3266
3266
|
formContents: [[fe]]
|
|
3267
3267
|
};
|
|
@@ -3273,43 +3273,43 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3273
3273
|
return e.substring(0, n) + v + e.substring(n + 1);
|
|
3274
3274
|
return e;
|
|
3275
3275
|
}, xt = (e) => {
|
|
3276
|
-
var t, k, f, w,
|
|
3276
|
+
var t, k, f, w, d;
|
|
3277
3277
|
let v = e.slice(1, e.length - 1), n;
|
|
3278
|
-
(v == null ? void 0 : v[0]) === "[" ? n = (k = (t = ss(s(v))) == null ? void 0 : t.filter((y) => y !== ",")) == null ? void 0 : k.map((y) => y == null ? void 0 : y.slice(1, y.length - 1)) : (v = "[" + s(v) + "]", n = (w = (f = ss(s(v))) == null ? void 0 : f.filter((y) => y !== ",")) == null ? void 0 : w.map((y) => y == null ? void 0 : y.slice(1, y.length - 1))), n = (
|
|
3278
|
+
(v == null ? void 0 : v[0]) === "[" ? n = (k = (t = ss(s(v))) == null ? void 0 : t.filter((y) => y !== ",")) == null ? void 0 : k.map((y) => y == null ? void 0 : y.slice(1, y.length - 1)) : (v = "[" + s(v) + "]", n = (w = (f = ss(s(v))) == null ? void 0 : f.filter((y) => y !== ",")) == null ? void 0 : w.map((y) => y == null ? void 0 : y.slice(1, y.length - 1))), n = (d = s(n)) == null ? void 0 : d.map((y) => {
|
|
3279
3279
|
var T, D;
|
|
3280
3280
|
return y = (D = (T = y.replace(")", cl)) == null ? void 0 : T.split(cl)) == null ? void 0 : D[1], y;
|
|
3281
3281
|
});
|
|
3282
3282
|
let l = [], a = [];
|
|
3283
3283
|
return n == null || n.forEach((y) => {
|
|
3284
|
-
var re, L, De, R, O,
|
|
3284
|
+
var re, L, De, R, O, Ce, b, I, h, C, ce, ae, Ue, al, ul, Ye, ze, g, H, pe, ge, Le, se, q, r, de, J, ue, Ve, Re, _e, We, ne, je, Se, Pe, M, A, U, G, Ke, xe, i, u, E, m, F, be;
|
|
3285
3285
|
let T = (L = (re = s(y)) == null ? void 0 : re.slice(1, s(y).length - 1)) == null ? void 0 : L.replace(":", cl).split(cl);
|
|
3286
3286
|
if (((R = (De = s(T)) == null ? void 0 : De[0]) == null ? void 0 : R.replaceAll("'", "")) === "输入") {
|
|
3287
|
-
if (!((
|
|
3287
|
+
if (!((Ce = (O = s(T)) == null ? void 0 : O[1]) != null && Ce.includes("[")) && !((I = (b = s(T)) == null ? void 0 : b[1]) != null && I.includes("("))) {
|
|
3288
3288
|
Ds((h = s(T)) == null ? void 0 : h[1].replaceAll("'", '"')) && a.push(JSON.parse((C = s(T)) == null ? void 0 : C[1].replaceAll("'", '"')));
|
|
3289
3289
|
return;
|
|
3290
3290
|
}
|
|
3291
3291
|
if (((ae = (ce = s(T)) == null ? void 0 : ce[1]) == null ? void 0 : ae[0]) === "[") {
|
|
3292
|
-
let ie = (Ye = (
|
|
3292
|
+
let ie = (Ye = (Ue = s(T)) == null ? void 0 : Ue[1]) == null ? void 0 : Ye.slice(1, ((ul = (al = s(T)) == null ? void 0 : al[1]) == null ? void 0 : ul.length) - 1);
|
|
3293
3293
|
(g = (ze = ss(ie)) == null ? void 0 : ze.filter((Y) => Y !== ",")) == null || g.forEach((Y) => {
|
|
3294
|
-
var K, x, ye, B, Q, j, Z, p, S, P, oe, fe,
|
|
3294
|
+
var K, x, ye, B, Q, j, Z, p, S, P, oe, fe, Oe, V, X, ve, me, Ae, qe, sl, vl, Ne;
|
|
3295
3295
|
let o = {}, _ = (ye = (x = s(Y)) == null ? void 0 : x.slice(1, ((K = s(Y)) == null ? void 0 : K.length) - 1)) == null ? void 0 : ye.replace(":", cl).split(cl), ee = (B = _ == null ? void 0 : _[0]) == null ? void 0 : B.replaceAll("'", ""), N;
|
|
3296
|
-
(Q = _ == null ? void 0 : _[1]) != null && Q.includes("(") ? (N = (V = (
|
|
3296
|
+
(Q = _ == null ? void 0 : _[1]) != null && Q.includes("(") ? (N = (V = (Oe = (fe = (oe = (P = (S = (p = (Z = s(_)) == null ? void 0 : Z[1]) == null ? void 0 : p.replaceAll("{", "")) == null ? void 0 : S.replaceAll("}", "")) == null ? void 0 : P.split("(")) == null ? void 0 : oe[1]) == null ? void 0 : fe.split(")")) == null ? void 0 : Oe[0]) == null ? void 0 : V.replaceAll(":", "/").replaceAll("'", ""), (ve = (X = s(_)) == null ? void 0 : X[1]) != null && ve.includes("[") && (N = s(N) + "[" + ((Ne = (vl = (sl = (qe = (Ae = (me = s(_)) == null ? void 0 : me[1]) == null ? void 0 : Ae.split("[")) == null ? void 0 : qe[1]) == null ? void 0 : sl.split("]")) == null ? void 0 : vl[0]) == null ? void 0 : Ne.replaceAll("'", "")) + "]")) : N = (j = _ == null ? void 0 : _[1]) == null ? void 0 : j.replaceAll("'", ""), o[ee] = N, a.push(o);
|
|
3297
3297
|
});
|
|
3298
3298
|
}
|
|
3299
3299
|
} else {
|
|
3300
|
-
if (!((pe = (H = s(T)) == null ? void 0 : H[1]) != null && pe.includes("[")) && !((
|
|
3300
|
+
if (!((pe = (H = s(T)) == null ? void 0 : H[1]) != null && pe.includes("[")) && !((Le = (ge = s(T)) == null ? void 0 : ge[1]) != null && Le.includes("("))) {
|
|
3301
3301
|
Ds((se = s(T)) == null ? void 0 : se[1].replaceAll("'", '"')) && l.push(JSON.parse((q = s(T)) == null ? void 0 : q[1].replaceAll("'", '"')));
|
|
3302
3302
|
return;
|
|
3303
3303
|
}
|
|
3304
3304
|
if (((de = (r = s(T)) == null ? void 0 : r[1]) == null ? void 0 : de[0]) === "[") {
|
|
3305
|
-
let ie = (
|
|
3305
|
+
let ie = (Re = (J = s(T)) == null ? void 0 : J[1]) == null ? void 0 : Re.slice(1, ((Ve = (ue = s(T)) == null ? void 0 : ue[1]) == null ? void 0 : Ve.length) - 1);
|
|
3306
3306
|
(We = (_e = ss(ie)) == null ? void 0 : _e.filter((Y) => Y !== ",")) == null || We.forEach((Y) => {
|
|
3307
|
-
var K, x, ye, B, Q, j, Z, p, S, P, oe, fe,
|
|
3307
|
+
var K, x, ye, B, Q, j, Z, p, S, P, oe, fe, Oe, V, X, ve, me, Ae, qe, sl, vl, Ne, Me, Dl, we, $e, Ie, Fe, c, z, Be, ke, Ee, Qe, ll, Xe;
|
|
3308
3308
|
let o = {}, _ = (ye = (x = s(Y)) == null ? void 0 : x.slice(1, ((K = s(Y)) == null ? void 0 : K.length) - 1)) == null ? void 0 : ye.replace(":", cl).split(cl), ee = (B = _ == null ? void 0 : _[0]) == null ? void 0 : B.replaceAll("'", ""), N;
|
|
3309
3309
|
if (!((Q = _ == null ? void 0 : _[1]) != null && Q.includes("(")))
|
|
3310
3310
|
N = (j = _ == null ? void 0 : _[1]) == null ? void 0 : j.replaceAll("'", "");
|
|
3311
|
-
else if (N = (fe = (oe = (P = (S = (p = (Z = s(_)) == null ? void 0 : Z[1]) == null ? void 0 : p.replaceAll("{", "")) == null ? void 0 : S.replaceAll("}", "")) == null ? void 0 : P.replace("(", cl)) == null ? void 0 : oe.split(cl)) == null ? void 0 : fe[1], N = (V = (
|
|
3312
|
-
N = (X = s(N)) == null ? void 0 : X.replaceAll(":", "/").replaceAll("'", ""), (me = (ve = s(_)) == null ? void 0 : ve[1]) != null && me.includes("[") && (N = s(N) + "[" + ((
|
|
3311
|
+
else if (N = (fe = (oe = (P = (S = (p = (Z = s(_)) == null ? void 0 : Z[1]) == null ? void 0 : p.replaceAll("{", "")) == null ? void 0 : S.replaceAll("}", "")) == null ? void 0 : P.replace("(", cl)) == null ? void 0 : oe.split(cl)) == null ? void 0 : fe[1], N = (V = (Oe = Wo(s(N), cl)) == null ? void 0 : Oe.split(cl)) == null ? void 0 : V[0], !(N != null && N.includes("(")))
|
|
3312
|
+
N = (X = s(N)) == null ? void 0 : X.replaceAll(":", "/").replaceAll("'", ""), (me = (ve = s(_)) == null ? void 0 : ve[1]) != null && me.includes("[") && (N = s(N) + "[" + (($e = (we = (Dl = (Me = (qe = (Ae = s(_)) == null ? void 0 : Ae[1]) == null ? void 0 : qe.split("[")) == null ? void 0 : Me[((Ne = (vl = (sl = s(_)) == null ? void 0 : sl[1]) == null ? void 0 : vl.split("[")) == null ? void 0 : Ne.length) - 1]) == null ? void 0 : Dl.split("]")) == null ? void 0 : we[0]) == null ? void 0 : $e.replaceAll("'", "")) + "]");
|
|
3313
3313
|
else {
|
|
3314
3314
|
let Ge = "";
|
|
3315
3315
|
(Ie = os(N, ":")) == null || Ie.forEach((He) => {
|
|
@@ -3320,12 +3320,12 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3320
3320
|
let ia = (Sl = (Jl = (Ml = (wl = (Il = (rl = (hl = (yl = s(He)) == null ? void 0 : yl.replaceAll("{", "")) == null ? void 0 : hl.replaceAll("}", "")) == null ? void 0 : rl.replace("(", cl)) == null ? void 0 : Il.split(cl)) == null ? void 0 : wl[1]) == null ? void 0 : Ml.split(")")) == null ? void 0 : Jl[0]) == null ? void 0 : Sl.replaceAll(":", "/").replaceAll("'", "");
|
|
3321
3321
|
ia = ia + "[" + ((ga = (ma = (ha = (ya = (va = s(He)) == null ? void 0 : va.split("[")) == null ? void 0 : ya[1]) == null ? void 0 : ha.split("]")) == null ? void 0 : ma[0]) == null ? void 0 : ga.replaceAll("'", "")) + "]", Ge = Ge === "" ? Ge + "[" + ia + "]" : Ge + "/[" + ia + "]";
|
|
3322
3322
|
}
|
|
3323
|
-
}), N = Ge + "[" + ((Xe = (ll = (Qe = (
|
|
3323
|
+
}), N = Ge + "[" + ((Xe = (ll = (Qe = (Ee = (c = (Fe = s(_)) == null ? void 0 : Fe[1]) == null ? void 0 : c.split("[")) == null ? void 0 : Ee[((ke = (Be = (z = s(_)) == null ? void 0 : z[1]) == null ? void 0 : Be.split("[")) == null ? void 0 : ke.length) - 1]) == null ? void 0 : Qe.split("]")) == null ? void 0 : ll[0]) == null ? void 0 : Xe.replaceAll("'", "")) + "]";
|
|
3324
3324
|
}
|
|
3325
3325
|
o[ee] = N, l.push(o);
|
|
3326
3326
|
});
|
|
3327
3327
|
} else {
|
|
3328
|
-
let ie = (
|
|
3328
|
+
let ie = (Pe = (ne = s(T)) == null ? void 0 : ne[1]) == null ? void 0 : Pe.slice(1, ((Se = (je = s(T)) == null ? void 0 : je[1]) == null ? void 0 : Se.length) - 1), Y = {}, o = (E = (u = (U = (A = (M = s(ie)) == null ? void 0 : M.split("]")) == null ? void 0 : A[0]) == null ? void 0 : U.split(":")) == null ? void 0 : u[((i = (xe = (Ke = (G = s(ie)) == null ? void 0 : G.split("]")) == null ? void 0 : Ke[0]) == null ? void 0 : xe.split(":")) == null ? void 0 : i.length) - 1]) == null ? void 0 : E.replaceAll("'", ""), _ = ((be = (F = (m = s(ie)) == null ? void 0 : m.split("]")) == null ? void 0 : F[0]) == null ? void 0 : be.replaceAll("'", "")) + "]";
|
|
3329
3329
|
Y[o] = _, l.push(Y);
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
@@ -3349,16 +3349,16 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3349
3349
|
return a.map((w) => w.item);
|
|
3350
3350
|
const k = /* @__PURE__ */ new Map();
|
|
3351
3351
|
for (const w of a) {
|
|
3352
|
-
const
|
|
3353
|
-
k.has(
|
|
3352
|
+
const d = w.names[t].value;
|
|
3353
|
+
k.has(d) || k.set(d, []), k.get(d).push(w);
|
|
3354
3354
|
}
|
|
3355
|
-
return Array.from(k.entries()).map(([w,
|
|
3355
|
+
return Array.from(k.entries()).map(([w, d]) => {
|
|
3356
3356
|
var y, T, D;
|
|
3357
|
-
return (
|
|
3357
|
+
return (d[0].names.length === 1 || (d == null ? void 0 : d.length) === 1) && ((T = (y = d[0].names) == null ? void 0 : y[0]) == null ? void 0 : T.idx) === -1 ? (D = d == null ? void 0 : d[0]) == null ? void 0 : D.item : {
|
|
3358
3358
|
name: w,
|
|
3359
3359
|
isShow: !0,
|
|
3360
3360
|
comp: "ParentItem",
|
|
3361
|
-
children: l(
|
|
3361
|
+
children: l(d, t + 1)
|
|
3362
3362
|
};
|
|
3363
3363
|
});
|
|
3364
3364
|
}
|
|
@@ -3368,7 +3368,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3368
3368
|
var n, l;
|
|
3369
3369
|
return ((l = (n = Object.keys(v)) == null ? void 0 : n.filter((a) => a == null ? void 0 : a.includes("name"))) == null ? void 0 : l.length) === 1;
|
|
3370
3370
|
}) ? e : Jo(e), qo = async () => {
|
|
3371
|
-
var t, k, f, w,
|
|
3371
|
+
var t, k, f, w, d, y, T, D, re, L, De, R, O, Ce, b, I, h, C, ce, ae, Ue, al, ul, Ye, ze, g, H, pe, ge, Le, se, q, r, de, J, ue, Ve, Re, _e, We, ne, je, Se, Pe, M, A, U, G, Ke, xe, i, u, E, m, F, be, ie, Y, o, _, ee, N, K, x, ye, B, Q;
|
|
3372
3372
|
ua.setImportLoading(!0);
|
|
3373
3373
|
let e = "";
|
|
3374
3374
|
const v = await Gl({
|
|
@@ -3379,11 +3379,11 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3379
3379
|
}
|
|
3380
3380
|
});
|
|
3381
3381
|
if (((k = (t = v == null ? void 0 : v.data) == null ? void 0 : t.result) == null ? void 0 : k.length) > 0) {
|
|
3382
|
-
let j = (re = (D = (T = (y = (
|
|
3382
|
+
let j = (re = (D = (T = (y = (d = (w = (f = v == null ? void 0 : v.data) == null ? void 0 : f.result) == null ? void 0 : w[0]) == null ? void 0 : d.value) == null ? void 0 : y.pageData) == null ? void 0 : T.compData) == null ? void 0 : D.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : re.contents;
|
|
3383
3383
|
e = (De = (L = s(j)) == null ? void 0 : L[0]) == null ? void 0 : De.label;
|
|
3384
3384
|
}
|
|
3385
3385
|
let n = Ca.value;
|
|
3386
|
-
(
|
|
3386
|
+
(Ce = Ca.value) != null && Ce.includes(`updateLoading${((R = Pl.value) == null ? void 0 : R.account) || ((O = Pl.value) == null ? void 0 : O.账号)}`) ? n = s(Ca).value : (h = Ca.value) != null && h.includes(`loading${((b = Pl.value) == null ? void 0 : b.account) || ((I = Pl.value) == null ? void 0 : I.账号)}`) && (n = s(sa).value + Hl + `loading${((C = Pl.value) == null ? void 0 : C.account) || ((ce = Pl.value) == null ? void 0 : ce.账号)}`);
|
|
3387
3387
|
const l = await Gl({
|
|
3388
3388
|
key: {
|
|
3389
3389
|
pageKey: n,
|
|
@@ -3391,51 +3391,51 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3391
3391
|
}
|
|
3392
3392
|
});
|
|
3393
3393
|
let a = [];
|
|
3394
|
-
if (((
|
|
3394
|
+
if (((Ue = (ae = l == null ? void 0 : l.data) == null ? void 0 : ae.result) == null ? void 0 : Ue.length) > 0) {
|
|
3395
3395
|
let j = "", Z = [];
|
|
3396
3396
|
(ul = (al = l == null ? void 0 : l.data) == null ? void 0 : al.result) == null || ul.forEach((S) => {
|
|
3397
|
-
var P, oe, fe,
|
|
3398
|
-
((oe = (P = S == null ? void 0 : S.value) == null ? void 0 : P.pageData) == null ? void 0 : oe.comp) === "Form" && ((V = (
|
|
3397
|
+
var P, oe, fe, Oe, V;
|
|
3398
|
+
((oe = (P = S == null ? void 0 : S.value) == null ? void 0 : P.pageData) == null ? void 0 : oe.comp) === "Form" && ((V = (Oe = (fe = S == null ? void 0 : S.value) == null ? void 0 : fe.pageData) == null ? void 0 : Oe.compData) == null || V.forEach((X) => {
|
|
3399
3399
|
(X == null ? void 0 : X.key) === "formContent" && (Z = [...Z, ...X == null ? void 0 : X.contents]);
|
|
3400
3400
|
}));
|
|
3401
3401
|
});
|
|
3402
3402
|
let p = Z == null ? void 0 : Z.find((S) => (S == null ? void 0 : S.isMain) === !0);
|
|
3403
|
-
if (p ? (j = p == null ? void 0 : p.value, e = p == null ? void 0 : p.key) : j = (q = (se = (
|
|
3403
|
+
if (p ? (j = p == null ? void 0 : p.value, e = p == null ? void 0 : p.key) : j = (q = (se = (Le = (ge = (pe = (H = (g = (ze = (Ye = l == null ? void 0 : l.data) == null ? void 0 : Ye.result) == null ? void 0 : ze[0]) == null ? void 0 : g.value) == null ? void 0 : H.pageData) == null ? void 0 : pe.compData) == null ? void 0 : ge.find((S) => (S == null ? void 0 : S.key) === "formContent")) == null ? void 0 : Le.contents) == null ? void 0 : se.find((S) => {
|
|
3404
3404
|
var P, oe;
|
|
3405
3405
|
return (S == null ? void 0 : S.key) === e || ((oe = (P = S == null ? void 0 : S.optionUrl) == null ? void 0 : P.groupSelect) == null ? void 0 : oe[1]) === e;
|
|
3406
3406
|
})) == null ? void 0 : q.value, (J = Ca.value) != null && J.includes(`updateLoading${((r = Pl.value) == null ? void 0 : r.account) || ((de = Pl.value) == null ? void 0 : de.账号)}`)) {
|
|
3407
3407
|
let S = [], P = [];
|
|
3408
3408
|
const oe = await Gl({
|
|
3409
3409
|
key: {
|
|
3410
|
-
pageKey: (A = Ca.value.split(Hl + `updateLoading${((
|
|
3410
|
+
pageKey: (A = Ca.value.split(Hl + `updateLoading${((Pe = Pl.value) == null ? void 0 : Pe.account) || ((M = Pl.value) == null ? void 0 : M.账号)}`)) == null ? void 0 : A[0],
|
|
3411
3411
|
systemKey: sessionStorage.getItem("systemKey")
|
|
3412
3412
|
}
|
|
3413
3413
|
});
|
|
3414
|
-
if (((
|
|
3415
|
-
let fe = (
|
|
3416
|
-
var X, ve, me, Ae, qe, sl, vl, Ne, Me, Dl,
|
|
3414
|
+
if (((G = (U = oe == null ? void 0 : oe.data) == null ? void 0 : U.result) == null ? void 0 : G.length) > 0) {
|
|
3415
|
+
let fe = (Ke = l == null ? void 0 : l.data) == null ? void 0 : Ke.result, Oe = (xe = s(fe)) == null ? void 0 : xe.map(async (V) => {
|
|
3416
|
+
var X, ve, me, Ae, qe, sl, vl, Ne, Me, Dl, we, $e, Ie, Fe;
|
|
3417
3417
|
if (((X = V == null ? void 0 : V.key) == null ? void 0 : X.type) === "structure") {
|
|
3418
|
-
let
|
|
3419
|
-
if (
|
|
3420
|
-
let
|
|
3421
|
-
ke == null || ke.forEach((
|
|
3418
|
+
let c = (qe = (Ae = (me = (ve = V == null ? void 0 : V.value) == null ? void 0 : ve.pageData) == null ? void 0 : me.compData) == null ? void 0 : Ae.find((z) => (z == null ? void 0 : z.key) === "parentFormPath")) == null ? void 0 : qe.contents;
|
|
3419
|
+
if (c) {
|
|
3420
|
+
let z = await Bl(c, sessionStorage.getItem("systemKey"), ""), Be = (Me = (Ne = (vl = (sl = V == null ? void 0 : V.value) == null ? void 0 : sl.pageData) == null ? void 0 : vl.compData) == null ? void 0 : Ne.find((Ee) => (Ee == null ? void 0 : Ee.key) === "formContent")) == null ? void 0 : Me.contents, ke = z == null ? void 0 : z.filter((Ee) => (Ee == null ? void 0 : Ee.comp) === "Form");
|
|
3421
|
+
ke == null || ke.forEach((Ee) => {
|
|
3422
3422
|
var Qe;
|
|
3423
|
-
(Qe =
|
|
3423
|
+
(Qe = Ee == null ? void 0 : Ee.compData) == null || Qe.forEach((ll) => {
|
|
3424
3424
|
var Xe, Ge;
|
|
3425
|
-
if ((ll == null ? void 0 : ll.key) === "formContent" && ((Xe = ll == null ? void 0 : ll.contents) == null ? void 0 : Xe.some((Ze) =>
|
|
3426
|
-
let Ze =
|
|
3425
|
+
if ((ll == null ? void 0 : ll.key) === "formContent" && ((Xe = ll == null ? void 0 : ll.contents) == null ? void 0 : Xe.some((Ze) => Be == null ? void 0 : Be.find((fl) => (fl == null ? void 0 : fl.prop) === (Ze == null ? void 0 : Ze.prop))))) {
|
|
3426
|
+
let Ze = Ee;
|
|
3427
3427
|
Ze.compData = (Ge = Ze.compData) == null ? void 0 : Ge.map((yl) => {
|
|
3428
3428
|
var hl;
|
|
3429
3429
|
return (yl == null ? void 0 : yl.key) === "formContent" && (yl.contents = (hl = yl.contents) == null ? void 0 : hl.map((rl) => {
|
|
3430
3430
|
var Il;
|
|
3431
|
-
return
|
|
3431
|
+
return Be != null && Be.find((wl) => (wl == null ? void 0 : wl.prop) === (rl == null ? void 0 : rl.prop)) && (rl.value = (Il = Be == null ? void 0 : Be.find((wl) => (wl == null ? void 0 : wl.prop) === (rl == null ? void 0 : rl.prop))) == null ? void 0 : Il.value), rl;
|
|
3432
3432
|
})), yl;
|
|
3433
3433
|
});
|
|
3434
3434
|
let fl = {};
|
|
3435
3435
|
for (let yl in Ze)
|
|
3436
3436
|
yl !== "id" && (fl[yl] = Ze[yl]);
|
|
3437
3437
|
a.push({
|
|
3438
|
-
id:
|
|
3438
|
+
id: Ee == null ? void 0 : Ee.id,
|
|
3439
3439
|
value: {
|
|
3440
3440
|
pageData: fl
|
|
3441
3441
|
}
|
|
@@ -3443,29 +3443,29 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3443
3443
|
}
|
|
3444
3444
|
});
|
|
3445
3445
|
});
|
|
3446
|
-
} else if ((
|
|
3447
|
-
var
|
|
3448
|
-
return ((ke = (
|
|
3446
|
+
} else if ((we = (Dl = oe == null ? void 0 : oe.data) == null ? void 0 : Dl.result) != null && we.find((z) => {
|
|
3447
|
+
var Be, ke, Ee, Qe;
|
|
3448
|
+
return ((ke = (Be = z == null ? void 0 : z.value) == null ? void 0 : Be.pageData) == null ? void 0 : ke.name) === ((Qe = (Ee = V == null ? void 0 : V.value) == null ? void 0 : Ee.pageData) == null ? void 0 : Qe.name);
|
|
3449
3449
|
})) {
|
|
3450
|
-
let
|
|
3451
|
-
|
|
3452
|
-
id: (
|
|
3453
|
-
var ke,
|
|
3454
|
-
return ((
|
|
3455
|
-
})) == null ? void 0 :
|
|
3456
|
-
key:
|
|
3450
|
+
let z = V == null ? void 0 : V.key;
|
|
3451
|
+
z.pageKey = s(sa).value + Hl + j, a.push({
|
|
3452
|
+
id: (Fe = (Ie = ($e = oe == null ? void 0 : oe.data) == null ? void 0 : $e.result) == null ? void 0 : Ie.find((Be) => {
|
|
3453
|
+
var ke, Ee, Qe, ll;
|
|
3454
|
+
return ((Ee = (ke = Be == null ? void 0 : Be.value) == null ? void 0 : ke.pageData) == null ? void 0 : Ee.name) === ((ll = (Qe = V == null ? void 0 : V.value) == null ? void 0 : Qe.pageData) == null ? void 0 : ll.name);
|
|
3455
|
+
})) == null ? void 0 : Fe.id,
|
|
3456
|
+
key: z,
|
|
3457
3457
|
value: V == null ? void 0 : V.value
|
|
3458
3458
|
});
|
|
3459
3459
|
} else {
|
|
3460
|
-
let
|
|
3461
|
-
|
|
3462
|
-
key:
|
|
3460
|
+
let z = V == null ? void 0 : V.key;
|
|
3461
|
+
z.pageKey = s(sa).value + Hl + j, S.push({
|
|
3462
|
+
key: z,
|
|
3463
3463
|
value: V == null ? void 0 : V.value
|
|
3464
3464
|
});
|
|
3465
3465
|
}
|
|
3466
3466
|
}
|
|
3467
3467
|
});
|
|
3468
|
-
await Promise.all(
|
|
3468
|
+
await Promise.all(Oe), (u = (i = l == null ? void 0 : l.data) == null ? void 0 : i.result) == null || u.forEach((V) => {
|
|
3469
3469
|
var ve, me, Ae;
|
|
3470
3470
|
let X = (ve = s(V)) == null ? void 0 : ve.key;
|
|
3471
3471
|
X.pageKey = s(sa).value + Hl + j + Hl + `updateLoading${((me = Pl.value) == null ? void 0 : me.account) || ((Ae = Pl.value) == null ? void 0 : Ae.账号)}`, ua.setChildMenu(X.pageKey), a.push({
|
|
@@ -3497,29 +3497,29 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3497
3497
|
}
|
|
3498
3498
|
});
|
|
3499
3499
|
if (((ee = (_ = fe == null ? void 0 : fe.data) == null ? void 0 : _.result) == null ? void 0 : ee.length) > 0) {
|
|
3500
|
-
let
|
|
3500
|
+
let Oe = [], V = (N = l == null ? void 0 : l.data) == null ? void 0 : N.result;
|
|
3501
3501
|
(K = s(V)) == null || K.forEach((X) => {
|
|
3502
|
-
var ve, me, Ae, qe, sl, vl, Ne, Me, Dl,
|
|
3502
|
+
var ve, me, Ae, qe, sl, vl, Ne, Me, Dl, we, $e, Ie;
|
|
3503
3503
|
if (((ve = X == null ? void 0 : X.key) == null ? void 0 : ve.type) !== "structure") {
|
|
3504
|
-
let
|
|
3505
|
-
var
|
|
3506
|
-
return ((
|
|
3504
|
+
let Fe = (qe = (Ae = (me = fe == null ? void 0 : fe.data) == null ? void 0 : me.result) == null ? void 0 : Ae.filter((ke) => {
|
|
3505
|
+
var Ee;
|
|
3506
|
+
return ((Ee = ke == null ? void 0 : ke.key) == null ? void 0 : Ee.type) === "data";
|
|
3507
3507
|
})) == null ? void 0 : qe.map((ke) => ke == null ? void 0 : ke.id);
|
|
3508
|
-
|
|
3509
|
-
let
|
|
3510
|
-
var
|
|
3511
|
-
return ((
|
|
3512
|
-
})) == null ? void 0 : vl.value) == null ? void 0 : Ne.pageData) == null ? void 0 : Me.name,
|
|
3513
|
-
var
|
|
3514
|
-
return ((Qe = (
|
|
3515
|
-
})) == null ? void 0 :
|
|
3516
|
-
|
|
3517
|
-
key:
|
|
3508
|
+
Oe = [...Oe, ...Fe];
|
|
3509
|
+
let c = (Me = (Ne = (vl = (sl = s(V)) == null ? void 0 : sl.find((ke) => {
|
|
3510
|
+
var Ee;
|
|
3511
|
+
return ((Ee = X == null ? void 0 : X.key) == null ? void 0 : Ee.tableId) === (ke == null ? void 0 : ke.id);
|
|
3512
|
+
})) == null ? void 0 : vl.value) == null ? void 0 : Ne.pageData) == null ? void 0 : Me.name, z = ($e = (we = (Dl = fe == null ? void 0 : fe.data) == null ? void 0 : Dl.result) == null ? void 0 : we.find((ke) => {
|
|
3513
|
+
var Ee, Qe;
|
|
3514
|
+
return ((Qe = (Ee = ke == null ? void 0 : ke.value) == null ? void 0 : Ee.pageData) == null ? void 0 : Qe.name) === c;
|
|
3515
|
+
})) == null ? void 0 : $e.id, Be = (Ie = s(X)) == null ? void 0 : Ie.key;
|
|
3516
|
+
Be.tableId = z, Be.pageKey = s(sa).value + Hl + j, P.push({
|
|
3517
|
+
key: Be,
|
|
3518
3518
|
value: X == null ? void 0 : X.value
|
|
3519
3519
|
});
|
|
3520
3520
|
}
|
|
3521
|
-
}), (
|
|
3522
|
-
ids:
|
|
3521
|
+
}), (Oe == null ? void 0 : Oe.length) > 0 && (Oe = [...new Set(Oe)], await Ea({
|
|
3522
|
+
ids: Oe
|
|
3523
3523
|
})), (ye = (x = l == null ? void 0 : l.data) == null ? void 0 : x.result) == null || ye.forEach((X) => {
|
|
3524
3524
|
var me, Ae, qe;
|
|
3525
3525
|
let ve = (me = s(X)) == null ? void 0 : me.key;
|
|
@@ -3548,7 +3548,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3548
3548
|
Cl.error(`保存失败,${e}的必填字段没有填写`), ua.setImportLoading(!1), ua.setChildMenu("");
|
|
3549
3549
|
return;
|
|
3550
3550
|
}
|
|
3551
|
-
(
|
|
3551
|
+
(Re = a == null ? void 0 : a[0]) != null && Re.key && (await Ha({
|
|
3552
3552
|
dataList: a
|
|
3553
3553
|
}), await za.setLogRecordAsync({
|
|
3554
3554
|
type: "保存",
|
|
@@ -3579,17 +3579,17 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3579
3579
|
}
|
|
3580
3580
|
},
|
|
3581
3581
|
setup(e) {
|
|
3582
|
-
const v = W([]), n = ys(xl), { originalPath: l } = El(n), a = e, t = W(!1), k = W(), f = Es(xl), { multipleTableConst: w } = El(f),
|
|
3582
|
+
const v = W([]), n = ys(xl), { originalPath: l } = El(n), a = e, t = W(!1), k = W(), f = Es(xl), { multipleTableConst: w } = El(f), d = qa(xl), y = W(!1), T = Xa(xl), D = vs(xl), { itemData: re, isEdit: L, routeToChildPath: De, tableViewContents: R } = El(d), { activeMenuPath: O, platform: Ce, childMenu: b } = El(T), { loginUserInfo: I } = El(D), h = W(!1), C = (se, q) => {
|
|
3583
3583
|
const r = q;
|
|
3584
3584
|
return se == null ? void 0 : se.map((de) => {
|
|
3585
3585
|
var J;
|
|
3586
3586
|
return de = (J = de == null ? void 0 : de.map((ue, Ve) => {
|
|
3587
|
-
var
|
|
3587
|
+
var Re, _e;
|
|
3588
3588
|
return ue != null && ue.id ? {
|
|
3589
3589
|
key: "id",
|
|
3590
3590
|
value: ue == null ? void 0 : ue.id
|
|
3591
3591
|
} : r != null && r.find((We) => We == null ? void 0 : We.id) || de != null && de.find((We) => We == null ? void 0 : We.id) ? {
|
|
3592
|
-
key: (
|
|
3592
|
+
key: (Re = r[Ve - 1]) == null ? void 0 : Re.label,
|
|
3593
3593
|
value: ue
|
|
3594
3594
|
} : {
|
|
3595
3595
|
key: (_e = r[Ve]) == null ? void 0 : _e.label,
|
|
@@ -3604,42 +3604,42 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3604
3604
|
Tl(
|
|
3605
3605
|
() => re.value,
|
|
3606
3606
|
async () => {
|
|
3607
|
-
L.value === "view" && !h.value && await
|
|
3607
|
+
L.value === "view" && !h.value && await Le(s(a.itemData)), h.value = !1;
|
|
3608
3608
|
},
|
|
3609
3609
|
{ deep: !0 }
|
|
3610
3610
|
);
|
|
3611
3611
|
const ae = () => {
|
|
3612
3612
|
t.value = !1, k.value = void 0;
|
|
3613
|
-
},
|
|
3613
|
+
}, Ue = (se) => se.map((q) => {
|
|
3614
3614
|
const r = {};
|
|
3615
3615
|
for (const de in q) {
|
|
3616
3616
|
const J = q[de];
|
|
3617
3617
|
if (de.includes(w.value)) {
|
|
3618
3618
|
const ue = de.split(w.value);
|
|
3619
3619
|
let Ve = r;
|
|
3620
|
-
ue.forEach((
|
|
3621
|
-
_e === ue.length - 1 ? Ve[
|
|
3620
|
+
ue.forEach((Re, _e) => {
|
|
3621
|
+
_e === ue.length - 1 ? Ve[Re] = J : (Ve[Re] || (Ve[Re] = {}), Ve = Ve[Re]);
|
|
3622
3622
|
});
|
|
3623
3623
|
} else
|
|
3624
3624
|
r[de] = J;
|
|
3625
3625
|
}
|
|
3626
3626
|
return r;
|
|
3627
3627
|
}), al = (se, q) => {
|
|
3628
|
-
var de, J, ue, Ve,
|
|
3628
|
+
var de, J, ue, Ve, Re, _e, We, ne, je, Se, Pe, M, A;
|
|
3629
3629
|
let r = (de = s(q)) == null ? void 0 : de.filter((U) => (U == null ? void 0 : U.comp) !== "methodButton");
|
|
3630
3630
|
if (se != null && se.includes("[")) {
|
|
3631
|
-
let U = (_e = (
|
|
3631
|
+
let U = (_e = (Re = (Ve = (ue = (J = s(se)) == null ? void 0 : J.split("[")) == null ? void 0 : ue[1]) == null ? void 0 : Ve.split("]")) == null ? void 0 : Re[0]) == null ? void 0 : _e.split(":"), G = "";
|
|
3632
3632
|
if (U != null && U[0]) {
|
|
3633
|
-
let
|
|
3634
|
-
|
|
3633
|
+
let Ke = (We = r == null ? void 0 : r.find((xe) => (xe == null ? void 0 : xe.name) === (U == null ? void 0 : U[0]))) == null ? void 0 : We.compData;
|
|
3634
|
+
Ke == null || Ke.forEach((xe) => {
|
|
3635
3635
|
var i, u, E, m, F, be;
|
|
3636
3636
|
if ((xe == null ? void 0 : xe.key) === "formContent")
|
|
3637
3637
|
(i = xe == null ? void 0 : xe.contents) == null || i.forEach((ie) => {
|
|
3638
3638
|
var Y;
|
|
3639
|
-
(ie == null ? void 0 : ie.key) === (U == null ? void 0 : U[1]) && (Array.isArray(ie == null ? void 0 : ie.value) ?
|
|
3639
|
+
(ie == null ? void 0 : ie.key) === (U == null ? void 0 : U[1]) && (Array.isArray(ie == null ? void 0 : ie.value) ? G = ie == null ? void 0 : ie.value : G = (Y = ie == null ? void 0 : ie.value) == null ? void 0 : Y.toString());
|
|
3640
3640
|
});
|
|
3641
3641
|
else if ((xe == null ? void 0 : xe.key) === "tableContents") {
|
|
3642
|
-
let ie = [], Y = (u =
|
|
3642
|
+
let ie = [], Y = (u = Ke == null ? void 0 : Ke.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : u.contents;
|
|
3643
3643
|
if (Y != null && Y.every((o) => Array.isArray(o))) {
|
|
3644
3644
|
let o = Ss((F = Y == null ? void 0 : Y[0]) == null ? void 0 : F.filter((_) => (_ == null ? void 0 : _.label) !== "操作"));
|
|
3645
3645
|
(be = xe.contents) == null || be.forEach((_) => {
|
|
@@ -3648,7 +3648,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3648
3648
|
let x = _[K];
|
|
3649
3649
|
typeof _[K] == "number" && (x = _[K].toString()), ee[N.prop] = x;
|
|
3650
3650
|
}), ie.push(ee);
|
|
3651
|
-
}), ie =
|
|
3651
|
+
}), ie = Ue(ie);
|
|
3652
3652
|
} else {
|
|
3653
3653
|
let o = (E = Y == null ? void 0 : Y.map((_) => _ == null ? void 0 : _.label)) == null ? void 0 : E.filter((_) => _ !== "操作");
|
|
3654
3654
|
(m = xe.contents) == null || m.forEach((_) => {
|
|
@@ -3659,32 +3659,32 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3659
3659
|
}), ie.push(ee);
|
|
3660
3660
|
});
|
|
3661
3661
|
}
|
|
3662
|
-
|
|
3662
|
+
G = ie;
|
|
3663
3663
|
}
|
|
3664
3664
|
});
|
|
3665
3665
|
}
|
|
3666
|
-
return
|
|
3666
|
+
return G;
|
|
3667
3667
|
} else if (se != null && se.includes("/")) {
|
|
3668
3668
|
let U = {};
|
|
3669
|
-
return (ne = s(r)) == null || ne.forEach((
|
|
3669
|
+
return (ne = s(r)) == null || ne.forEach((G, Ke) => {
|
|
3670
3670
|
var xe, i, u, E, m, F, be, ie, Y, o, _, ee, N, K, x, ye, B, Q, j;
|
|
3671
|
-
if ((
|
|
3672
|
-
let Z = Array.isArray((u = (i = (xe =
|
|
3671
|
+
if ((G == null ? void 0 : G.comp) === "Table") {
|
|
3672
|
+
let Z = Array.isArray((u = (i = (xe = G == null ? void 0 : G.compData) == null ? void 0 : xe.find((oe) => (oe == null ? void 0 : oe.key) === "header")) == null ? void 0 : i.contents) == null ? void 0 : u[0]) ? (be = (F = (m = (E = G == null ? void 0 : G.compData) == null ? void 0 : E.find((oe) => (oe == null ? void 0 : oe.key) === "header")) == null ? void 0 : m.contents) == null ? void 0 : F[0]) == null ? void 0 : be.some((oe) => oe == null ? void 0 : oe.children) : [], p = (o = (Y = (ie = G == null ? void 0 : G.compData) == null ? void 0 : ie.find((oe) => (oe == null ? void 0 : oe.key) === "tableContents")) == null ? void 0 : Y.contents) == null ? void 0 : o.map((oe) => (oe != null && oe.find((fe) => fe == null ? void 0 : fe.id) && (oe = oe.slice(1)), oe)), S = (x = (K = (N = (ee = (_ = G == null ? void 0 : G.compData) == null ? void 0 : _.find((oe) => (oe == null ? void 0 : oe.key) === "header")) == null ? void 0 : ee.contents) == null ? void 0 : N[0]) == null ? void 0 : K[0]) == null ? void 0 : x.label, P = (B = (ye = G == null ? void 0 : G.compData) == null ? void 0 : ye.find((oe) => (oe == null ? void 0 : oe.key) === "header")) == null ? void 0 : B.contents;
|
|
3673
3673
|
if (Z)
|
|
3674
|
-
(Z == null ? void 0 : Z.length) === 0 ? U[
|
|
3674
|
+
(Z == null ? void 0 : Z.length) === 0 ? U[G.name] = C(p, P) : U[S] = C(p, P);
|
|
3675
3675
|
else {
|
|
3676
3676
|
const oe = [];
|
|
3677
|
-
P = P.slice(1, P.length - 1), P == null || P.forEach((fe,
|
|
3677
|
+
P = P.slice(1, P.length - 1), P == null || P.forEach((fe, Oe) => {
|
|
3678
3678
|
p == null || p.forEach((V) => {
|
|
3679
3679
|
oe.push({
|
|
3680
3680
|
key: fe.label + V[0],
|
|
3681
|
-
value: V[
|
|
3681
|
+
value: V[Oe + 1]
|
|
3682
3682
|
});
|
|
3683
3683
|
});
|
|
3684
|
-
}), U["form" +
|
|
3684
|
+
}), U["form" + Ke] = oe;
|
|
3685
3685
|
}
|
|
3686
3686
|
} else {
|
|
3687
|
-
const Z = (j = (Q =
|
|
3687
|
+
const Z = (j = (Q = G.compData) == null ? void 0 : Q.find((S) => (S == null ? void 0 : S.key) === "formContent")) == null ? void 0 : j.contents;
|
|
3688
3688
|
U != null && U.form || (U.form = []);
|
|
3689
3689
|
const p = [];
|
|
3690
3690
|
Z == null || Z.forEach((S) => {
|
|
@@ -3700,7 +3700,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3700
3700
|
let U = (je = s(q)) == null ? void 0 : je[0];
|
|
3701
3701
|
return U = {
|
|
3702
3702
|
comp: (Se = s(U)) == null ? void 0 : Se.comp,
|
|
3703
|
-
compData: (
|
|
3703
|
+
compData: (Pe = s(U)) == null ? void 0 : Pe.compData,
|
|
3704
3704
|
name: (M = s(U)) == null ? void 0 : M.name,
|
|
3705
3705
|
isShow: (A = s(U)) == null ? void 0 : A.isShow
|
|
3706
3706
|
}, {
|
|
@@ -3718,7 +3718,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3718
3718
|
return se;
|
|
3719
3719
|
}
|
|
3720
3720
|
}, ul = async (se, q, r) => {
|
|
3721
|
-
var ue, Ve,
|
|
3721
|
+
var ue, Ve, Re;
|
|
3722
3722
|
let de = await Bl(q, sessionStorage.getItem("systemKey"), ""), J = de == null ? void 0 : de.find((_e) => (_e == null ? void 0 : _e.name) === (r == null ? void 0 : r[0]));
|
|
3723
3723
|
if (J) {
|
|
3724
3724
|
if ((J == null ? void 0 : J.comp) === "Table") {
|
|
@@ -3737,41 +3737,41 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3737
3737
|
});
|
|
3738
3738
|
de == null || de.forEach((A) => {
|
|
3739
3739
|
var U;
|
|
3740
|
-
(A == null ? void 0 : A.name) === (r == null ? void 0 : r[0]) && ((U = A == null ? void 0 : A.compData) == null || U.forEach((
|
|
3741
|
-
var
|
|
3742
|
-
(
|
|
3740
|
+
(A == null ? void 0 : A.name) === (r == null ? void 0 : r[0]) && ((U = A == null ? void 0 : A.compData) == null || U.forEach((G) => {
|
|
3741
|
+
var Ke;
|
|
3742
|
+
(G == null ? void 0 : G.key) === "tableContents" && ((Ke = G == null ? void 0 : G.contents) == null || Ke.forEach((xe) => {
|
|
3743
3743
|
xe != null && xe.some((i) => Se.includes(i)) && je.push({
|
|
3744
3744
|
[xe.find((i) => i.id).id]: xe.find((i) => Se.includes(i))
|
|
3745
3745
|
});
|
|
3746
3746
|
}));
|
|
3747
3747
|
}));
|
|
3748
3748
|
});
|
|
3749
|
-
let
|
|
3749
|
+
let Pe = je == null ? void 0 : je.map((A) => {
|
|
3750
3750
|
var U;
|
|
3751
3751
|
return (U = Object.keys(A)) == null ? void 0 : U[0];
|
|
3752
3752
|
}), M = [];
|
|
3753
|
-
if (
|
|
3754
|
-
var
|
|
3755
|
-
let U = (
|
|
3753
|
+
if (Pe == null || Pe.forEach((A) => {
|
|
3754
|
+
var Ke;
|
|
3755
|
+
let U = (Ke = je == null ? void 0 : je.find((xe) => {
|
|
3756
3756
|
var i;
|
|
3757
3757
|
return ((i = Object.keys(xe)) == null ? void 0 : i[0].toString()) === A.toString();
|
|
3758
|
-
})) == null ? void 0 :
|
|
3758
|
+
})) == null ? void 0 : Ke[A], G = We == null ? void 0 : We.find((xe) => {
|
|
3759
3759
|
var i;
|
|
3760
3760
|
return ((i = Object.keys(xe)) == null ? void 0 : i[0]) === U;
|
|
3761
3761
|
});
|
|
3762
3762
|
M.push({
|
|
3763
3763
|
id: parseInt(A),
|
|
3764
3764
|
value: {
|
|
3765
|
-
tableData:
|
|
3765
|
+
tableData: G[U]
|
|
3766
3766
|
}
|
|
3767
3767
|
});
|
|
3768
3768
|
}), (M == null ? void 0 : M.length) > 0)
|
|
3769
3769
|
return M;
|
|
3770
3770
|
} else if ((J == null ? void 0 : J.comp) === "Form") {
|
|
3771
3771
|
let _e = s(J);
|
|
3772
|
-
_e.compData = (
|
|
3772
|
+
_e.compData = (Re = _e.compData) == null ? void 0 : Re.map((je) => {
|
|
3773
3773
|
var Se;
|
|
3774
|
-
return (je == null ? void 0 : je.key) === "formContent" && (je.contents = (Se = je.contents) == null ? void 0 : Se.map((
|
|
3774
|
+
return (je == null ? void 0 : je.key) === "formContent" && (je.contents = (Se = je.contents) == null ? void 0 : Se.map((Pe) => ((Pe == null ? void 0 : Pe.key) === (r == null ? void 0 : r[1]) && (Pe.value = (se == null ? void 0 : se[Pe == null ? void 0 : Pe.prop]) || se), Pe))), je;
|
|
3775
3775
|
});
|
|
3776
3776
|
let We = {};
|
|
3777
3777
|
for (let je in _e)
|
|
@@ -3795,7 +3795,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3795
3795
|
}
|
|
3796
3796
|
}
|
|
3797
3797
|
}, Ye = async (se, q, r) => {
|
|
3798
|
-
var ue, Ve,
|
|
3798
|
+
var ue, Ve, Re, _e, We, ne, je, Se, Pe, M;
|
|
3799
3799
|
let de = await Bl(q, sessionStorage.getItem("systemKey"), ""), J = de == null ? void 0 : de.find((A) => (A == null ? void 0 : A.name) === (r == null ? void 0 : r[0]));
|
|
3800
3800
|
if (J) {
|
|
3801
3801
|
if ((J == null ? void 0 : J.comp) === "Table") {
|
|
@@ -3814,19 +3814,19 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3814
3814
|
}
|
|
3815
3815
|
});
|
|
3816
3816
|
} else if ((J == null ? void 0 : J.comp) === "Form") {
|
|
3817
|
-
let A = s(J), U = Object.keys(se),
|
|
3818
|
-
(_e = (
|
|
3817
|
+
let A = s(J), U = Object.keys(se), G = "";
|
|
3818
|
+
(_e = (Re = s(A)) == null ? void 0 : Re.compData) == null || _e.forEach((m) => {
|
|
3819
3819
|
var F, be;
|
|
3820
3820
|
(m == null ? void 0 : m.key) === "formContent" && ((be = (F = s(m)) == null ? void 0 : F.contents) == null || be.forEach((ie) => {
|
|
3821
3821
|
var Y;
|
|
3822
|
-
U.includes(ie == null ? void 0 : ie.key) && (ie == null ? void 0 : ie.value) === ((Y = I.value) == null ? void 0 : Y.姓名) && (
|
|
3822
|
+
U.includes(ie == null ? void 0 : ie.key) && (ie == null ? void 0 : ie.value) === ((Y = I.value) == null ? void 0 : Y.姓名) && (G = ie == null ? void 0 : ie.key);
|
|
3823
3823
|
}));
|
|
3824
3824
|
});
|
|
3825
|
-
let
|
|
3826
|
-
(We = Object.values(se[
|
|
3827
|
-
m != null && m.includes("(") &&
|
|
3828
|
-
}),
|
|
3829
|
-
const xe =
|
|
3825
|
+
let Ke = [];
|
|
3826
|
+
(We = Object.values(se[G])) == null || We.forEach((m) => {
|
|
3827
|
+
m != null && m.includes("(") && Ke.push(m);
|
|
3828
|
+
}), Ke = [...new Set(Ke)];
|
|
3829
|
+
const xe = Ke == null ? void 0 : Ke.map(async (m) => {
|
|
3830
3830
|
var o, _, ee, N, K, x, ye, B, Q, j, Z, p;
|
|
3831
3831
|
let F = "";
|
|
3832
3832
|
(x = (K = (N = (ee = (_ = (o = s(m)) == null ? void 0 : o.split("(")) == null ? void 0 : _[1]) == null ? void 0 : ee.split(")")) == null ? void 0 : N[0]) == null ? void 0 : K.split(":")) == null || x.forEach((S) => {
|
|
@@ -3842,8 +3842,8 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3842
3842
|
var P;
|
|
3843
3843
|
S.name === (be == null ? void 0 : be[0]) && ((P = S == null ? void 0 : S.compData) == null || P.forEach((oe) => {
|
|
3844
3844
|
var fe;
|
|
3845
|
-
(oe == null ? void 0 : oe.key) === "formContent" && ((fe = oe.contents) == null || fe.forEach((
|
|
3846
|
-
(
|
|
3845
|
+
(oe == null ? void 0 : oe.key) === "formContent" && ((fe = oe.contents) == null || fe.forEach((Oe) => {
|
|
3846
|
+
(Oe == null ? void 0 : Oe.key) === (be == null ? void 0 : be[1]) && (Y = Oe == null ? void 0 : Oe.value);
|
|
3847
3847
|
}));
|
|
3848
3848
|
}));
|
|
3849
3849
|
}), {
|
|
@@ -3854,10 +3854,10 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3854
3854
|
var F, be;
|
|
3855
3855
|
return (m == null ? void 0 : m.key) === "formContent" && (m.contents = (be = (F = s(m)) == null ? void 0 : F.contents) == null ? void 0 : be.map((ie) => {
|
|
3856
3856
|
var Y, o, _, ee;
|
|
3857
|
-
return (Y = se[
|
|
3857
|
+
return (Y = se[G]) != null && Y[ie == null ? void 0 : ie.key] && (se[G][ie == null ? void 0 : ie.key].includes("(") ? ie.value = (o = i == null ? void 0 : i.find((N) => {
|
|
3858
3858
|
var K;
|
|
3859
|
-
return ((K = Object.keys(N)) == null ? void 0 : K[0]) === se[
|
|
3860
|
-
})) == null ? void 0 : o[se[
|
|
3859
|
+
return ((K = Object.keys(N)) == null ? void 0 : K[0]) === se[G][ie == null ? void 0 : ie.key];
|
|
3860
|
+
})) == null ? void 0 : o[se[G][ie == null ? void 0 : ie.key]] : ie.value = (ee = (_ = s(se)) == null ? void 0 : _[G]) == null ? void 0 : ee[ie == null ? void 0 : ie.key]), ie;
|
|
3861
3861
|
})), m;
|
|
3862
3862
|
});
|
|
3863
3863
|
const u = await Gl({
|
|
@@ -3868,7 +3868,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3868
3868
|
}
|
|
3869
3869
|
});
|
|
3870
3870
|
let E = "";
|
|
3871
|
-
((Se = u == null ? void 0 : u.data) == null ? void 0 : Se.type) === "success" && ((M = (
|
|
3871
|
+
((Se = u == null ? void 0 : u.data) == null ? void 0 : Se.type) === "success" && ((M = (Pe = u == null ? void 0 : u.data) == null ? void 0 : Pe.result) == null || M.forEach((m) => {
|
|
3872
3872
|
var F, be;
|
|
3873
3873
|
((be = (F = m == null ? void 0 : m.value) == null ? void 0 : F.pageData) == null ? void 0 : be.name) === (r == null ? void 0 : r[0]) && (E = m.id);
|
|
3874
3874
|
}), await ts({
|
|
@@ -3887,11 +3887,11 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3887
3887
|
}
|
|
3888
3888
|
return r;
|
|
3889
3889
|
}, g = async (se, q, r, de) => {
|
|
3890
|
-
var Ve,
|
|
3890
|
+
var Ve, Re, _e, We, ne, je, Se, Pe, M, A, U, G, Ke, xe, i, u, E, m, F, be, ie, Y, o, _, ee;
|
|
3891
3891
|
let J = await Bl(q, sessionStorage.getItem("systemKey"), ""), ue = J == null ? void 0 : J.find((N) => (N == null ? void 0 : N.name) === (r == null ? void 0 : r[0]));
|
|
3892
3892
|
if (ue) {
|
|
3893
3893
|
if (!(r != null && r[1]) && (ue == null ? void 0 : ue.comp) === "Table") {
|
|
3894
|
-
let N = {}, K = [], x = (
|
|
3894
|
+
let N = {}, K = [], x = (Re = (Ve = ue == null ? void 0 : ue.compData) == null ? void 0 : Ve.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : Re.contents;
|
|
3895
3895
|
x != null && x.every((Q) => Array.isArray(Q)) ? K = (We = Ss((_e = x == null ? void 0 : x[0]) == null ? void 0 : _e.filter((Q) => (Q == null ? void 0 : Q.label) !== "操作"))) == null ? void 0 : We.map((Q) => Q == null ? void 0 : Q.prop) : K = x == null ? void 0 : x.map((Q) => Q == null ? void 0 : Q.label);
|
|
3896
3896
|
for (let Q in s(se))
|
|
3897
3897
|
if (s(se)[Q] !== "loginUser") {
|
|
@@ -3911,14 +3911,14 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3911
3911
|
tableId: ue == null ? void 0 : ue.id
|
|
3912
3912
|
}
|
|
3913
3913
|
});
|
|
3914
|
-
if (((
|
|
3914
|
+
if (((Pe = (Se = ye == null ? void 0 : ye.data) == null ? void 0 : Se.result) == null ? void 0 : Pe.length) > 0) {
|
|
3915
3915
|
let Q = (A = (M = ye == null ? void 0 : ye.data) == null ? void 0 : M.result) == null ? void 0 : A.map((j) => j == null ? void 0 : j.id);
|
|
3916
3916
|
(Q == null ? void 0 : Q.length) > 0 && await Ea({
|
|
3917
3917
|
ids: Q
|
|
3918
3918
|
});
|
|
3919
3919
|
}
|
|
3920
3920
|
let B = [];
|
|
3921
|
-
if ((U = ue == null ? void 0 : ue.compData) != null && U.find((Q) => (Q == null ? void 0 : Q.key) === "pageColumn") && ((xe = (
|
|
3921
|
+
if ((U = ue == null ? void 0 : ue.compData) != null && U.find((Q) => (Q == null ? void 0 : Q.key) === "pageColumn") && ((xe = (Ke = (G = ue == null ? void 0 : ue.compData) == null ? void 0 : G.find((Q) => (Q == null ? void 0 : Q.key) === "pageColumn")) == null ? void 0 : Ke.contents) != null && xe.includes("["))) {
|
|
3922
3922
|
const Q = await Gl({
|
|
3923
3923
|
id: ue == null ? void 0 : ue.tableId
|
|
3924
3924
|
});
|
|
@@ -3982,11 +3982,11 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
3984
3984
|
}, H = async (se) => {
|
|
3985
|
-
var q, r, de, J, ue, Ve,
|
|
3985
|
+
var q, r, de, J, ue, Ve, Re, _e, We, ne, je, Se, Pe, M, A, U;
|
|
3986
3986
|
T.setImportLoading(!0);
|
|
3987
3987
|
try {
|
|
3988
3988
|
if (se.api) {
|
|
3989
|
-
let
|
|
3989
|
+
let G = /* @__PURE__ */ new WeakMap();
|
|
3990
3990
|
(r = (q = (await Cs({
|
|
3991
3991
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
3992
3992
|
type: "data,structure,structureMethod"
|
|
@@ -3994,18 +3994,18 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
3994
3994
|
var _, ee;
|
|
3995
3995
|
return ((_ = o == null ? void 0 : o.key) == null ? void 0 : _.pageKey) !== "menu" && ((ee = o == null ? void 0 : o.key) == null ? void 0 : ee.pageKey) !== "secret";
|
|
3996
3996
|
})) == null || r.forEach((o) => {
|
|
3997
|
-
|
|
3997
|
+
G[o.key.pageKey] ? G[o.key.pageKey] = [...G[o.key.pageKey], o] : G[o.key.pageKey] = [o];
|
|
3998
3998
|
});
|
|
3999
|
-
let xe = await Bl((b == null ? void 0 : b.value) === "" ? O.value : b == null ? void 0 : b.value, sessionStorage.getItem("systemKey"), "", !1, "", "",
|
|
3999
|
+
let xe = await Bl((b == null ? void 0 : b.value) === "" ? O.value : b == null ? void 0 : b.value, sessionStorage.getItem("systemKey"), "", !1, "", "", G), i = "";
|
|
4000
4000
|
if (xe = xe == null ? void 0 : xe.map((o) => {
|
|
4001
4001
|
var _, ee, N, K, x, ye, B, Q, j, Z, p, S;
|
|
4002
4002
|
if ((o == null ? void 0 : o.comp) === "Form")
|
|
4003
4003
|
o.compData = (_ = o.compData) == null ? void 0 : _.map((P) => {
|
|
4004
4004
|
var oe;
|
|
4005
4005
|
return (P == null ? void 0 : P.key) === "formContent" && (P.contents = (oe = P.contents) == null ? void 0 : oe.map((fe) => {
|
|
4006
|
-
var
|
|
4006
|
+
var Oe;
|
|
4007
4007
|
if ((fe == null ? void 0 : fe.value) === "" && (fe == null ? void 0 : fe.type) === "Select") {
|
|
4008
|
-
let V = ws((
|
|
4008
|
+
let V = ws((Oe = s(fe)) == null ? void 0 : Oe.optionUrl, G);
|
|
4009
4009
|
fe.value = fe.value || V;
|
|
4010
4010
|
}
|
|
4011
4011
|
return fe;
|
|
@@ -4017,11 +4017,11 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4017
4017
|
}
|
|
4018
4018
|
return o;
|
|
4019
4019
|
}), !(i === "" || i === "")) {
|
|
4020
|
-
const o = await Bl(i, sessionStorage.getItem("systemKey"), "", !1, "", "",
|
|
4020
|
+
const o = await Bl(i, sessionStorage.getItem("systemKey"), "", !1, "", "", G);
|
|
4021
4021
|
xe = xe == null ? void 0 : xe.map((_) => {
|
|
4022
4022
|
var ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe;
|
|
4023
4023
|
if ((_ == null ? void 0 : _.comp) === "Table" && (ee = _.compData) != null && ee.find((fe) => (fe == null ? void 0 : fe.key) === "pageColumn")) {
|
|
4024
|
-
let fe = (K = (N = _.compData) == null ? void 0 : N.find((me) => (me == null ? void 0 : me.key) === "pageColumn")) == null ? void 0 : K.contents,
|
|
4024
|
+
let fe = (K = (N = _.compData) == null ? void 0 : N.find((me) => (me == null ? void 0 : me.key) === "pageColumn")) == null ? void 0 : K.contents, Oe = ((ye = (x = _.compData) == null ? void 0 : x.find((me) => (me == null ? void 0 : me.key) === "pageGroup")) == null ? void 0 : ye.contents) ?? "", V = (j = (Q = (B = fe == null ? void 0 : fe.split("[")) == null ? void 0 : B[1]) == null ? void 0 : Q.split("]")) == null ? void 0 : j[0], X = ((Z = fe == null ? void 0 : fe.split("[")) == null ? void 0 : Z[0]) + ((S = (p = R.value) == null ? void 0 : p.find((me) => (me == null ? void 0 : me.key) === V)) == null ? void 0 : S.value), ve = (P = o == null ? void 0 : o.find((me) => (me == null ? void 0 : me.name) === (Oe === "" ? a == null ? void 0 : a.compName : Oe))) == null ? void 0 : P.compData;
|
|
4025
4025
|
_.compData = (oe = _.compData) == null ? void 0 : oe.map((me) => {
|
|
4026
4026
|
var Ae;
|
|
4027
4027
|
return (me == null ? void 0 : me.key) === "tableContents" && (me.contents = (Ae = ve == null ? void 0 : ve.find((qe) => (qe == null ? void 0 : qe.key) === "tableContents")) == null ? void 0 : Ae.contents), me;
|
|
@@ -4036,7 +4036,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4036
4036
|
pe != null && pe.find((ee) => ee === o) ? u = al(o, xe) : u[Object.keys(o)[0]] = al((_ = Object.values(o)) == null ? void 0 : _[0], xe);
|
|
4037
4037
|
}) : u = al("/", xe);
|
|
4038
4038
|
let E = !1;
|
|
4039
|
-
(_e = (
|
|
4039
|
+
(_e = (Re = se == null ? void 0 : se.extraValues) == null ? void 0 : Re.output) == null || _e.forEach((o) => {
|
|
4040
4040
|
var _, ee;
|
|
4041
4041
|
(ee = (_ = Object.values(o)) == null ? void 0 : _[0]) != null && ee.includes(".doc") && (E = !0);
|
|
4042
4042
|
});
|
|
@@ -4063,23 +4063,23 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4063
4063
|
}
|
|
4064
4064
|
});
|
|
4065
4065
|
let F = (Se = (je = (ne = (We = s(se)) == null ? void 0 : We.extraValues) == null ? void 0 : ne.output) == null ? void 0 : je.map((o) => {
|
|
4066
|
-
var _, ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe, fe,
|
|
4066
|
+
var _, ee, N, K, x, ye, B, Q, j, Z, p, S, P, oe, fe, Oe;
|
|
4067
4067
|
if (!((ee = (_ = Object.values(o)) == null ? void 0 : _[0]) != null && ee.includes(".doc"))) {
|
|
4068
4068
|
let V = (Z = (j = (Q = (K = s((N = Object.values(o)) == null ? void 0 : N[0])) == null ? void 0 : K.split("[")) == null ? void 0 : Q[((B = (ye = s((x = Object.values(o)) == null ? void 0 : x[0])) == null ? void 0 : ye.split("[")) == null ? void 0 : B.length) - 1]) == null ? void 0 : j.split("]")) == null ? void 0 : Z[0], X = V == null ? void 0 : V.split(":"), ve = (P = s((p = Object.values(o)) == null ? void 0 : p[0])) == null ? void 0 : P.substring(0, s((S = Object.values(o)) == null ? void 0 : S[0]).lastIndexOf("["));
|
|
4069
4069
|
if (ve = (fe = s(ve)) == null ? void 0 : fe.slice(0, ((oe = s(ve)) == null ? void 0 : oe.length) - 1), ve != null && ve.includes("[")) {
|
|
4070
4070
|
let me = "";
|
|
4071
|
-
if ((
|
|
4072
|
-
var qe, sl, vl, Ne, Me, Dl,
|
|
4071
|
+
if ((Oe = os(ve, "/")) == null || Oe.forEach((Ae) => {
|
|
4072
|
+
var qe, sl, vl, Ne, Me, Dl, we;
|
|
4073
4073
|
if (!(Ae != null && Ae.includes("[")))
|
|
4074
4074
|
me = me === "" ? me + Ae.replaceAll("/", "") : me + "/" + Ae.replaceAll("/", "");
|
|
4075
4075
|
else {
|
|
4076
|
-
let
|
|
4077
|
-
|
|
4078
|
-
var
|
|
4079
|
-
(
|
|
4080
|
-
(ke == null ? void 0 : ke.key) === (Ie == null ? void 0 : Ie[1]) && (
|
|
4076
|
+
let $e = s(Ae).slice(1, ((qe = s(Ae)) == null ? void 0 : qe.length) - 1), Ie = (Dl = (Me = (Ne = (vl = (sl = s($e)) == null ? void 0 : sl.split("[")) == null ? void 0 : vl[1]) == null ? void 0 : Ne.split("]")) == null ? void 0 : Me[0]) == null ? void 0 : Dl.split(":"), Fe = "", c = (we = xe == null ? void 0 : xe.find((z) => (z == null ? void 0 : z.name) === (Ie == null ? void 0 : Ie[0]))) == null ? void 0 : we.compData;
|
|
4077
|
+
c == null || c.forEach((z) => {
|
|
4078
|
+
var Be;
|
|
4079
|
+
(z == null ? void 0 : z.key) === "formContent" && ((Be = z == null ? void 0 : z.contents) == null || Be.forEach((ke) => {
|
|
4080
|
+
(ke == null ? void 0 : ke.key) === (Ie == null ? void 0 : Ie[1]) && (Fe = ke == null ? void 0 : ke.value);
|
|
4081
4081
|
}));
|
|
4082
|
-
}), me = me === "" ? me +
|
|
4082
|
+
}), me = me === "" ? me + Fe.replaceAll("/", "") : me + "/" + Fe.replaceAll("/", "");
|
|
4083
4083
|
}
|
|
4084
4084
|
}), ve = me, ve[(ve == null ? void 0 : ve.length) - 1] !== "/")
|
|
4085
4085
|
return ve;
|
|
@@ -4088,13 +4088,13 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4088
4088
|
})) == null ? void 0 : Se.filter((o) => o);
|
|
4089
4089
|
F = [...new Set(s(F))];
|
|
4090
4090
|
let be = F == null ? void 0 : F.map(async (o) => {
|
|
4091
|
-
let _ = await Bl(o, sessionStorage.getItem("systemKey"), "", !1, "", "",
|
|
4091
|
+
let _ = await Bl(o, sessionStorage.getItem("systemKey"), "", !1, "", "", G);
|
|
4092
4092
|
if ((_ == null ? void 0 : _.length) === 0)
|
|
4093
4093
|
return await Ki(o);
|
|
4094
4094
|
});
|
|
4095
4095
|
await Promise.all(be);
|
|
4096
|
-
let ie = [], Y = (A = (M = (
|
|
4097
|
-
var Q, j, Z, p, S, P, oe, fe,
|
|
4096
|
+
let ie = [], Y = (A = (M = (Pe = s(se)) == null ? void 0 : Pe.extraValues) == null ? void 0 : M.output) == null ? void 0 : A.map(async (o) => {
|
|
4097
|
+
var Q, j, Z, p, S, P, oe, fe, Oe, V, X, ve, me, Ae, qe, sl, vl, Ne, Me, Dl, we, $e, Ie, Fe, c, z, Be, ke, Ee, Qe, ll, Xe, Ge, He, Ze, fl, yl, hl, rl, Il, wl, Ml, Jl, Sl, va, ya, ha, ma, ga, ia, Ta, $a, Ba, La, Oa, Fa, Ka, Ua, Ra, Pa, ja, Na, Ma, ol, Yl, el, ms, gl, na, _a;
|
|
4098
4098
|
if ((j = (Q = Object.values(o)) == null ? void 0 : Q[0]) != null && j.includes(".doc")) {
|
|
4099
4099
|
var _ = new Blob([m.data], {
|
|
4100
4100
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -4104,7 +4104,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4104
4104
|
blobUrl: B
|
|
4105
4105
|
}], t.value = !0;
|
|
4106
4106
|
} else {
|
|
4107
|
-
let Ql = (V = (
|
|
4107
|
+
let Ql = (V = (Oe = (fe = (p = s((Z = Object.values(o)) == null ? void 0 : Z[0])) == null ? void 0 : p.split("[")) == null ? void 0 : fe[((oe = (P = s((S = Object.values(o)) == null ? void 0 : S[0])) == null ? void 0 : P.split("[")) == null ? void 0 : oe.length) - 1]) == null ? void 0 : Oe.split("]")) == null ? void 0 : V[0], ml = Ql == null ? void 0 : Ql.split(":"), kl = (me = s((X = Object.values(o)) == null ? void 0 : X[0])) == null ? void 0 : me.substring(0, s((ve = Object.values(o)) == null ? void 0 : ve[0]).lastIndexOf("["));
|
|
4108
4108
|
if (kl != null && kl.includes("[") ? kl = (qe = s(kl)) == null ? void 0 : qe.slice(0, ((Ae = s(kl)) == null ? void 0 : Ae.length) - 1) : kl === "" && (kl = O.value), kl = kl.replaceAll("<", "[").replaceAll(">", "]"), kl != null && kl.includes("[")) {
|
|
4109
4109
|
let il = "";
|
|
4110
4110
|
(sl = os(kl, "/")) == null || sl.forEach((_l, Ul) => {
|
|
@@ -4126,14 +4126,14 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4126
4126
|
}
|
|
4127
4127
|
let ql = s((Ne = Object.keys(o)) == null ? void 0 : Ne[0]);
|
|
4128
4128
|
if (((Me = m == null ? void 0 : m.data) == null ? void 0 : Me.statusCode) === 200 || ((Dl = m == null ? void 0 : m.data) == null ? void 0 : Dl.code) === 200) {
|
|
4129
|
-
if (((
|
|
4130
|
-
return await g(((
|
|
4131
|
-
if ((Qe = (
|
|
4129
|
+
if ((($e = (we = m == null ? void 0 : m.data) == null ? void 0 : we.data) != null && $e[ql] || (Fe = (Ie = m == null ? void 0 : m.data) == null ? void 0 : Ie.result) != null && Fe[ql]) && (ml == null ? void 0 : ml.length) === 1)
|
|
4130
|
+
return await g(((z = (c = m == null ? void 0 : m.data) == null ? void 0 : c.data) == null ? void 0 : z[ql]) || ((ke = (Be = m == null ? void 0 : m.data) == null ? void 0 : Be.result) == null ? void 0 : ke[ql]), s(kl), ml, i);
|
|
4131
|
+
if ((Qe = (Ee = m == null ? void 0 : m.data) == null ? void 0 : Ee.data) != null && Qe[ql] || (Xe = (ll = m == null ? void 0 : m.data) == null ? void 0 : ll.result) != null && Xe[ql]) {
|
|
4132
4132
|
let il = await ul(((He = (Ge = m == null ? void 0 : m.data) == null ? void 0 : Ge.data) == null ? void 0 : He[ql]) || ((fl = (Ze = m == null ? void 0 : m.data) == null ? void 0 : Ze.result) == null ? void 0 : fl[ql]), s(kl), ml);
|
|
4133
4133
|
return il && (ie = [...ie, ...il]), il;
|
|
4134
4134
|
} else {
|
|
4135
4135
|
if (!((yl = m == null ? void 0 : m.data) != null && yl.data)) {
|
|
4136
|
-
let il = await Bl(O.value, sessionStorage.getItem("systemKey"), "", !1, "", "",
|
|
4136
|
+
let il = await Bl(O.value, sessionStorage.getItem("systemKey"), "", !1, "", "", G);
|
|
4137
4137
|
il = il == null ? void 0 : il.map((Ul) => {
|
|
4138
4138
|
var Nl;
|
|
4139
4139
|
return (Ul == null ? void 0 : Ul.name) === (ml == null ? void 0 : ml[0]) && (Ul.compData = (Nl = Ul.compData) == null ? void 0 : Nl.map((Ol) => {
|
|
@@ -4168,7 +4168,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4168
4168
|
_l = _l === "" ? _l + ((la = Ol == null ? void 0 : Ol.replaceAll("'", "")) == null ? void 0 : la.trim()) : _l + "/" + ((aa = Ol == null ? void 0 : Ol.replaceAll("'", "")) == null ? void 0 : aa.trim());
|
|
4169
4169
|
});
|
|
4170
4170
|
let Ul = [(Ta = (ia = (ga = (ma = (ha = il == null ? void 0 : il.split("<")) == null ? void 0 : ha[1]) == null ? void 0 : ma.split(">")) == null ? void 0 : ga[0]) == null ? void 0 : ia.replaceAll("'", "")) == null ? void 0 : Ta.trim()], Nl;
|
|
4171
|
-
return (La = (Ba = ($a = m == null ? void 0 : m.data) == null ? void 0 : $a.data) == null ? void 0 : Ba.data) != null && La[ml == null ? void 0 : ml[0]] ? Nl = await g((Ka = (Fa = (Oa = m == null ? void 0 : m.data) == null ? void 0 : Oa.data) == null ? void 0 : Fa.data) == null ? void 0 : Ka[ml == null ? void 0 : ml[0]], _l, ml, i) : Nl = await Ye((Ra = (Ua = m == null ? void 0 : m.data) == null ? void 0 : Ua.data) == null ? void 0 : Ra.data, _l, Ul,
|
|
4171
|
+
return (La = (Ba = ($a = m == null ? void 0 : m.data) == null ? void 0 : $a.data) == null ? void 0 : Ba.data) != null && La[ml == null ? void 0 : ml[0]] ? Nl = await g((Ka = (Fa = (Oa = m == null ? void 0 : m.data) == null ? void 0 : Oa.data) == null ? void 0 : Fa.data) == null ? void 0 : Ka[ml == null ? void 0 : ml[0]], _l, ml, i) : Nl = await Ye((Ra = (Ua = m == null ? void 0 : m.data) == null ? void 0 : Ua.data) == null ? void 0 : Ra.data, _l, Ul, G), Nl;
|
|
4172
4172
|
} else {
|
|
4173
4173
|
const il = (Na = (ja = (Pa = m == null ? void 0 : m.data) == null ? void 0 : Pa.data) == null ? void 0 : ja.path) == null ? void 0 : Na.path;
|
|
4174
4174
|
let _l = "";
|
|
@@ -4196,10 +4196,10 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4196
4196
|
K.value.pageData.compData = (ye = K.value.pageData.compData) == null ? void 0 : ye.map((Z) => {
|
|
4197
4197
|
var p;
|
|
4198
4198
|
return (Z == null ? void 0 : Z.key) === "formContent" && (Z.contents = (p = Z.contents) == null ? void 0 : p.map((S) => {
|
|
4199
|
-
var oe, fe,
|
|
4199
|
+
var oe, fe, Oe, V;
|
|
4200
4200
|
let P = (oe = s(ie)) == null ? void 0 : oe.find((X) => (X == null ? void 0 : X.keyType) === (S == null ? void 0 : S.key));
|
|
4201
4201
|
if (P) {
|
|
4202
|
-
let X = (V = (
|
|
4202
|
+
let X = (V = (Oe = (fe = P.value.pageData.compData) == null ? void 0 : fe.find((ve) => (ve == null ? void 0 : ve.key) === "formContent")) == null ? void 0 : Oe.contents) == null ? void 0 : V.find((ve) => (ve == null ? void 0 : ve.key) === (S == null ? void 0 : S.key));
|
|
4203
4203
|
S.value = X == null ? void 0 : X.value;
|
|
4204
4204
|
}
|
|
4205
4205
|
return S;
|
|
@@ -4212,7 +4212,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4212
4212
|
(j = (Q = (B = K == null ? void 0 : K.value) == null ? void 0 : B.pageData) == null ? void 0 : Q.compData) == null || j.forEach((Z) => {
|
|
4213
4213
|
var p;
|
|
4214
4214
|
(Z == null ? void 0 : Z.key) === "formContent" && ((p = Z == null ? void 0 : Z.contents) == null || p.forEach((S) => {
|
|
4215
|
-
var P, oe, fe,
|
|
4215
|
+
var P, oe, fe, Oe, V, X;
|
|
4216
4216
|
if ((oe = (P = S == null ? void 0 : S.optionUrl) == null ? void 0 : P.menuSelect) != null && oe.find((ve) => ve == null ? void 0 : ve.includes("[")))
|
|
4217
4217
|
if (x != null && x.find((ve) => {
|
|
4218
4218
|
var me, Ae, qe;
|
|
@@ -4224,7 +4224,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4224
4224
|
})) == null ? void 0 : fe.value;
|
|
4225
4225
|
ve.push({
|
|
4226
4226
|
key: S == null ? void 0 : S.prop,
|
|
4227
|
-
groups: (
|
|
4227
|
+
groups: (Oe = S == null ? void 0 : S.optionUrl) == null ? void 0 : Oe.groupSelect,
|
|
4228
4228
|
value: S == null ? void 0 : S.value
|
|
4229
4229
|
}), x = x == null ? void 0 : x.map((me) => {
|
|
4230
4230
|
var Ae, qe, sl;
|
|
@@ -4248,25 +4248,25 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4248
4248
|
if (!(P != null && P.includes("[")))
|
|
4249
4249
|
p = p === "" ? p + P : p + "/" + P;
|
|
4250
4250
|
else {
|
|
4251
|
-
let fe = "",
|
|
4251
|
+
let fe = "", Oe = (oe = P == null ? void 0 : P.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : oe.split(":");
|
|
4252
4252
|
xe == null || xe.forEach((V) => {
|
|
4253
4253
|
var X;
|
|
4254
|
-
(V == null ? void 0 : V.name) === (
|
|
4254
|
+
(V == null ? void 0 : V.name) === (Oe == null ? void 0 : Oe[0]) && ((X = V == null ? void 0 : V.compData) == null || X.forEach((ve) => {
|
|
4255
4255
|
var me;
|
|
4256
4256
|
(ve == null ? void 0 : ve.key) === "formContent" && ((me = ve == null ? void 0 : ve.contents) == null || me.forEach((Ae) => {
|
|
4257
|
-
(Ae == null ? void 0 : Ae.prop) === (
|
|
4257
|
+
(Ae == null ? void 0 : Ae.prop) === (Oe == null ? void 0 : Oe[1]) && (fe = Ae == null ? void 0 : Ae.value);
|
|
4258
4258
|
}));
|
|
4259
4259
|
}));
|
|
4260
4260
|
}), p = p + l.value + fe;
|
|
4261
4261
|
}
|
|
4262
4262
|
}), Z.key = p, Z;
|
|
4263
4263
|
})), x == null || x.forEach((Z) => {
|
|
4264
|
-
var oe, fe,
|
|
4265
|
-
let p = (oe =
|
|
4264
|
+
var oe, fe, Oe;
|
|
4265
|
+
let p = (oe = G[Z.key]) == null ? void 0 : oe.find((V) => {
|
|
4266
4266
|
var X, ve, me, Ae, qe, sl, vl;
|
|
4267
4267
|
return ((ve = (X = V == null ? void 0 : V.value) == null ? void 0 : X.pageData) == null ? void 0 : ve.name) === ((qe = (Ae = (me = Z == null ? void 0 : Z.value) == null ? void 0 : me[0]) == null ? void 0 : Ae.groups) == null ? void 0 : qe[0]) && ((vl = (sl = V == null ? void 0 : V.value) == null ? void 0 : sl.pageData) == null ? void 0 : vl.name) !== void 0;
|
|
4268
4268
|
}), S = p == null ? void 0 : p.id, P = (fe = p == null ? void 0 : p.value) == null ? void 0 : fe.pageData;
|
|
4269
|
-
P.compData = (
|
|
4269
|
+
P.compData = (Oe = P.compData) == null ? void 0 : Oe.map((V) => {
|
|
4270
4270
|
var X;
|
|
4271
4271
|
return (V == null ? void 0 : V.key) === "formContent" && (V.contents = (X = V.contents) == null ? void 0 : X.map((ve) => {
|
|
4272
4272
|
var Ae;
|
|
@@ -4286,7 +4286,7 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4286
4286
|
dataList: _
|
|
4287
4287
|
});
|
|
4288
4288
|
}
|
|
4289
|
-
|
|
4289
|
+
d.setFreshContent(!0);
|
|
4290
4290
|
}
|
|
4291
4291
|
T.setImportLoading(!1);
|
|
4292
4292
|
} catch {
|
|
@@ -4295,58 +4295,58 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4295
4295
|
h.value = !0;
|
|
4296
4296
|
}, pe = ["createInsofDataApi"], ge = li(async (se) => {
|
|
4297
4297
|
H(se);
|
|
4298
|
-
}, 100),
|
|
4299
|
-
var
|
|
4298
|
+
}, 100), Le = async (se) => {
|
|
4299
|
+
var Re, _e, We, ne, je;
|
|
4300
4300
|
const q = s(se);
|
|
4301
4301
|
let r, de = /* @__PURE__ */ new WeakMap(), J = await Cs({
|
|
4302
4302
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4303
4303
|
type: "data,structure,structureMethod"
|
|
4304
4304
|
});
|
|
4305
|
-
(_e = (
|
|
4306
|
-
var
|
|
4307
|
-
return ((
|
|
4305
|
+
(_e = (Re = J.data.result) == null ? void 0 : Re.filter((Se) => {
|
|
4306
|
+
var Pe, M;
|
|
4307
|
+
return ((Pe = Se == null ? void 0 : Se.key) == null ? void 0 : Pe.pageKey) !== "menu" && ((M = Se == null ? void 0 : Se.key) == null ? void 0 : M.pageKey) !== "secret";
|
|
4308
4308
|
})) == null || _e.forEach((Se) => {
|
|
4309
4309
|
de[Se.key.pageKey] ? de[Se.key.pageKey] = [...de[Se.key.pageKey], Se] : de[Se.key.pageKey] = [Se];
|
|
4310
|
-
}), se != null && se[0].path && (r = await (q == null ? void 0 : q.map(async (Se,
|
|
4310
|
+
}), se != null && se[0].path && (r = await (q == null ? void 0 : q.map(async (Se, Pe) => {
|
|
4311
4311
|
var u, E, m, F, be, ie, Y, o, _, ee, N, K, x, ye, B, Q;
|
|
4312
4312
|
const A = (u = de[Se == null ? void 0 : Se.path]) == null ? void 0 : u.filter((j) => {
|
|
4313
4313
|
var Z;
|
|
4314
4314
|
return ((Z = j == null ? void 0 : j.key) == null ? void 0 : Z.type) === "data";
|
|
4315
4315
|
});
|
|
4316
4316
|
let U = "";
|
|
4317
|
-
const
|
|
4317
|
+
const G = await Bl(O.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, de);
|
|
4318
4318
|
A == null || A.forEach((j) => {
|
|
4319
4319
|
var Z, p, S, P, oe;
|
|
4320
|
-
((p = (Z = j == null ? void 0 : j.value) == null ? void 0 : Z.tableData) == null ? void 0 : p.算法名称) === ((S = q == null ? void 0 : q[
|
|
4320
|
+
((p = (Z = j == null ? void 0 : j.value) == null ? void 0 : Z.tableData) == null ? void 0 : p.算法名称) === ((S = q == null ? void 0 : q[Pe]) == null ? void 0 : S.method) && (U = (oe = (P = j == null ? void 0 : j.value) == null ? void 0 : P.tableData) == null ? void 0 : oe.算法体);
|
|
4321
4321
|
});
|
|
4322
|
-
const
|
|
4323
|
-
let xe = "", i = (be = (F = (m = (E =
|
|
4324
|
-
return (Y = (ie =
|
|
4322
|
+
const Ke = await Bl(Se == null ? void 0 : Se.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, de);
|
|
4323
|
+
let xe = "", i = (be = (F = (m = (E = Ke == null ? void 0 : Ke[0]) == null ? void 0 : E.compData) == null ? void 0 : m.find((j) => (j == null ? void 0 : j.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : be.findIndex((j) => (j == null ? void 0 : j.prop) === "算法体");
|
|
4324
|
+
return (Y = (ie = Ke == null ? void 0 : Ke[0]) == null ? void 0 : ie.compData) == null || Y.forEach((j) => {
|
|
4325
4325
|
var Z;
|
|
4326
4326
|
(j == null ? void 0 : j.key) === "tableContents" && ((Z = j == null ? void 0 : j.contents) == null || Z.forEach((p) => {
|
|
4327
4327
|
p != null && p.find((S) => S === (Se == null ? void 0 : Se.method)) && (xe = p[i]);
|
|
4328
4328
|
}));
|
|
4329
4329
|
}), {
|
|
4330
|
-
buttonName: ((o = q == null ? void 0 : q[
|
|
4330
|
+
buttonName: ((o = q == null ? void 0 : q[Pe]) == null ? void 0 : o.method) || ((N = (ee = (_ = A == null ? void 0 : A[0]) == null ? void 0 : _.value) == null ? void 0 : ee.tableData) == null ? void 0 : N.算法名称),
|
|
4331
4331
|
api: (U === "" ? (ye = (x = (K = A == null ? void 0 : A[0]) == null ? void 0 : K.value) == null ? void 0 : x.tableData) == null ? void 0 : ye.算法体 : U) || xe,
|
|
4332
|
-
content:
|
|
4332
|
+
content: G == null ? void 0 : G.filter((j) => j.comp !== "methodButton"),
|
|
4333
4333
|
extraContent: (B = s(Se.value)) == null ? void 0 : B.slice(1),
|
|
4334
4334
|
methodName: (Se == null ? void 0 : Se.path) ?? "",
|
|
4335
|
-
extraValues: (Q = q == null ? void 0 : q[
|
|
4335
|
+
extraValues: (Q = q == null ? void 0 : q[Pe]) == null ? void 0 : Q.data
|
|
4336
4336
|
};
|
|
4337
4337
|
})));
|
|
4338
4338
|
const ue = q == null ? void 0 : q.map(async (Se) => {
|
|
4339
|
-
var
|
|
4340
|
-
const
|
|
4339
|
+
var Ke, xe, i, u, E, m;
|
|
4340
|
+
const Pe = (Ke = J.data.result) == null ? void 0 : Ke.filter((F) => {
|
|
4341
4341
|
var be, ie, Y;
|
|
4342
4342
|
return ((be = F == null ? void 0 : F.key) == null ? void 0 : be.parentTable) === "" && ((ie = F == null ? void 0 : F.key) == null ? void 0 : ie.type) === "method" && ((Y = F == null ? void 0 : F.key) == null ? void 0 : Y.methodName) === F.method;
|
|
4343
|
-
}), M =
|
|
4343
|
+
}), M = Pe == null ? void 0 : Pe[0], A = (xe = J.data.result) == null ? void 0 : xe.filter((F) => {
|
|
4344
4344
|
var be, ie;
|
|
4345
4345
|
return ((be = F == null ? void 0 : F.key) == null ? void 0 : be.type) === "methodData" && ((ie = F == null ? void 0 : F.key) == null ? void 0 : ie.tableId) === (M == null ? void 0 : M.id);
|
|
4346
|
-
}), U = await Bl(O.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, de),
|
|
4346
|
+
}), U = await Bl(O.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, de), G = A == null ? void 0 : A[0];
|
|
4347
4347
|
return {
|
|
4348
4348
|
buttonName: (i = M == null ? void 0 : M.key) == null ? void 0 : i.methodKey,
|
|
4349
|
-
api: (E = (u =
|
|
4349
|
+
api: (E = (u = G == null ? void 0 : G.value) == null ? void 0 : u.tableData) == null ? void 0 : E[0],
|
|
4350
4350
|
content: U == null ? void 0 : U.filter((F) => F.comp !== "methodButton"),
|
|
4351
4351
|
extraContent: (m = s(Se.value)) == null ? void 0 : m.slice(1),
|
|
4352
4352
|
methodName: (Se == null ? void 0 : Se.method) ?? ""
|
|
@@ -4356,23 +4356,23 @@ const _t = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Ct = (e) => /^'[^']+':(?:\[{1,2
|
|
|
4356
4356
|
(We = se == null ? void 0 : se[0]) != null && We.path && ((ne = se == null ? void 0 : se[0]) == null ? void 0 : ne.path) !== "" ? await Promise.all(r) : await Promise.all(ue)
|
|
4357
4357
|
);
|
|
4358
4358
|
v.value = Ve == null ? void 0 : Ve.filter((Se) => Se == null ? void 0 : Se.extraContent), (je = v.value) == null || je.forEach((Se) => {
|
|
4359
|
-
var
|
|
4360
|
-
Se.api === "" && ((
|
|
4359
|
+
var Pe;
|
|
4360
|
+
Se.api === "" && ((Pe = Se.content) == null || Pe.forEach((M) => {
|
|
4361
4361
|
var A;
|
|
4362
|
-
M.comp == "Table" &&
|
|
4362
|
+
M.comp == "Table" && d.setExtraContents(Fi(M.compData, (A = Se.extraContent) == null ? void 0 : A[0]));
|
|
4363
4363
|
}));
|
|
4364
4364
|
});
|
|
4365
4365
|
};
|
|
4366
4366
|
return Tl(
|
|
4367
4367
|
() => a.itemData,
|
|
4368
4368
|
async () => {
|
|
4369
|
-
L.value == "view" && !h.value && await
|
|
4369
|
+
L.value == "view" && !h.value && await Le(s(a.itemData)), h.value = !1;
|
|
4370
4370
|
},
|
|
4371
4371
|
{ immediate: !0, deep: !0 }
|
|
4372
4372
|
), (se, q) => {
|
|
4373
4373
|
var r, de, J;
|
|
4374
|
-
return Kl(L) !== "edit" ? (te(),
|
|
4375
|
-
(te(!0),
|
|
4374
|
+
return Kl(L) !== "edit" ? (te(), Te("div", Xo, [
|
|
4375
|
+
(te(!0), Te(bl, null, Al((r = v.value) == null ? void 0 : r.filter((ue) => (ue == null ? void 0 : ue.buttonName) !== "保存"), (ue) => (te(), Te("div", null, [
|
|
4376
4376
|
ue.api !== "" ? (te(), pl(Kl(Ps), {
|
|
4377
4377
|
key: 0,
|
|
4378
4378
|
class: "calculator-content",
|
|
@@ -4521,7 +4521,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4521
4521
|
// ],
|
|
4522
4522
|
// value: false
|
|
4523
4523
|
// },
|
|
4524
|
-
]),
|
|
4524
|
+
]), d = W({}), y = W([]), T = () => ({
|
|
4525
4525
|
comp: "Signature",
|
|
4526
4526
|
compData: [
|
|
4527
4527
|
{
|
|
@@ -4530,14 +4530,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4530
4530
|
},
|
|
4531
4531
|
{
|
|
4532
4532
|
key: "signConfig",
|
|
4533
|
-
contents:
|
|
4533
|
+
contents: d.value
|
|
4534
4534
|
}
|
|
4535
4535
|
]
|
|
4536
4536
|
}), D = (R) => {
|
|
4537
4537
|
var O;
|
|
4538
|
-
|
|
4538
|
+
d.value = s(R), l("change", (O = T()) == null ? void 0 : O.compData);
|
|
4539
4539
|
}, re = (R) => {
|
|
4540
|
-
var O,
|
|
4540
|
+
var O, Ce;
|
|
4541
4541
|
if ((R == null ? void 0 : R.buttonName) === "确认") {
|
|
4542
4542
|
const b = s(R == null ? void 0 : R.content);
|
|
4543
4543
|
switch (t.value) {
|
|
@@ -4548,14 +4548,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4548
4548
|
});
|
|
4549
4549
|
break;
|
|
4550
4550
|
}
|
|
4551
|
-
l("change", (
|
|
4551
|
+
l("change", (Ce = T()) == null ? void 0 : Ce.compData), a.visible = !1;
|
|
4552
4552
|
} else
|
|
4553
4553
|
a.visible = !1;
|
|
4554
4554
|
}, L = (R, O) => {
|
|
4555
|
-
var
|
|
4555
|
+
var Ce, b;
|
|
4556
4556
|
switch (R) {
|
|
4557
4557
|
case "create":
|
|
4558
|
-
(
|
|
4558
|
+
(Ce = w.value) == null || Ce.forEach((I) => {
|
|
4559
4559
|
I.value = "";
|
|
4560
4560
|
}), t.value = "create", a.visible = !0;
|
|
4561
4561
|
break;
|
|
@@ -4572,11 +4572,11 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4572
4572
|
a.visible = !1;
|
|
4573
4573
|
};
|
|
4574
4574
|
return Tl(() => n == null ? void 0 : n.itemContents, (R) => {
|
|
4575
|
-
var O,
|
|
4576
|
-
R && (
|
|
4575
|
+
var O, Ce;
|
|
4576
|
+
R && (d.value = ((O = R == null ? void 0 : R.find((b) => b.key === "signConfig")) == null ? void 0 : O.contents) ?? {}, y.value = ((Ce = R == null ? void 0 : R.find((b) => b.key === "signTypeList")) == null ? void 0 : Ce.contents) ?? []);
|
|
4577
4577
|
}, { immediate: !0 }), (R, O) => {
|
|
4578
|
-
const
|
|
4579
|
-
return te(),
|
|
4578
|
+
const Ce = dl("svg-icon"), b = dl("el-button");
|
|
4579
|
+
return te(), Te(bl, null, [
|
|
4580
4580
|
$("div", null, [
|
|
4581
4581
|
$("div", au, [
|
|
4582
4582
|
O[2] || (O[2] = $("h4", { class: "module-title" }, "签名类型", -1)),
|
|
@@ -4586,7 +4586,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4586
4586
|
onClick: O[0] || (O[0] = (I) => L("create"))
|
|
4587
4587
|
}, {
|
|
4588
4588
|
icon: he(() => [
|
|
4589
|
-
le(
|
|
4589
|
+
le(Ce, {
|
|
4590
4590
|
name: "Plus",
|
|
4591
4591
|
class: "icon-size"
|
|
4592
4592
|
})
|
|
@@ -4599,7 +4599,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4599
4599
|
})
|
|
4600
4600
|
]),
|
|
4601
4601
|
$("div", su, [
|
|
4602
|
-
(te(!0),
|
|
4602
|
+
(te(!0), Te(bl, null, Al(y.value, (I, h) => (te(), Te("div", {
|
|
4603
4603
|
class: "module-data-item",
|
|
4604
4604
|
key: h
|
|
4605
4605
|
}, [
|
|
@@ -4684,15 +4684,15 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4684
4684
|
var D;
|
|
4685
4685
|
const T = (D = n == null ? void 0 : n.stepList) == null ? void 0 : D.find((re, L) => L + 1 === t.value);
|
|
4686
4686
|
return console.log("findStep", T), T ? T == null ? void 0 : T.children : [];
|
|
4687
|
-
},
|
|
4687
|
+
}, d = (T) => {
|
|
4688
4688
|
l("clickTrigger", T);
|
|
4689
4689
|
}, y = (T) => {
|
|
4690
4690
|
l("changeTrigger", T);
|
|
4691
4691
|
};
|
|
4692
4692
|
return (T, D) => {
|
|
4693
|
-
var De, R, O,
|
|
4693
|
+
var De, R, O, Ce, b;
|
|
4694
4694
|
const re = dl("el-step"), L = dl("el-steps");
|
|
4695
|
-
return te(),
|
|
4695
|
+
return te(), Te(bl, null, [
|
|
4696
4696
|
le(L, {
|
|
4697
4697
|
direction: (De = e.stepConfig) == null ? void 0 : De.direction,
|
|
4698
4698
|
active: t.value,
|
|
@@ -4701,7 +4701,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4701
4701
|
"align-center": ((O = e.stepConfig) == null ? void 0 : O.alignCenter) ?? !0
|
|
4702
4702
|
}, {
|
|
4703
4703
|
default: he(() => [
|
|
4704
|
-
(te(!0),
|
|
4704
|
+
(te(!0), Te(bl, null, Al(e.stepList, (I, h) => (te(), pl(re, {
|
|
4705
4705
|
key: h,
|
|
4706
4706
|
class: "step-item",
|
|
4707
4707
|
onClick: (C) => k(I, h + 1)
|
|
@@ -4721,14 +4721,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4721
4721
|
]),
|
|
4722
4722
|
_: 3
|
|
4723
4723
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
4724
|
-
(
|
|
4724
|
+
(Ce = e.stepConfig) != null && Ce.allowTrigger && ((b = e.stepConfig) != null && b.active) ? (te(!0), Te(bl, { key: 0 }, Al(w(), (I, h) => (te(), Te("div", {
|
|
4725
4725
|
key: h,
|
|
4726
4726
|
class: "step-cont-wrap"
|
|
4727
4727
|
}, [
|
|
4728
4728
|
(te(), pl(ka(f(I == null ? void 0 : I.type)), {
|
|
4729
4729
|
modelValue: I.value,
|
|
4730
4730
|
"onUpdate:modelValue": (C) => I.value = C,
|
|
4731
|
-
onClickTrigger:
|
|
4731
|
+
onClickTrigger: d,
|
|
4732
4732
|
onChangeTrigger: y,
|
|
4733
4733
|
content: I == null ? void 0 : I.content
|
|
4734
4734
|
}, wi({ _: 2 }, [
|
|
@@ -4761,19 +4761,19 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4761
4761
|
l("clickStep", f, w);
|
|
4762
4762
|
};
|
|
4763
4763
|
return Tl(() => n == null ? void 0 : n.itemData, (f) => {
|
|
4764
|
-
var w,
|
|
4765
|
-
t.value = (w = f == null ? void 0 : f.find((y) => (y == null ? void 0 : y.key) === "stepList")) == null ? void 0 : w.contents, a.value = (
|
|
4764
|
+
var w, d;
|
|
4765
|
+
t.value = (w = f == null ? void 0 : f.find((y) => (y == null ? void 0 : y.key) === "stepList")) == null ? void 0 : w.contents, a.value = (d = f == null ? void 0 : f.find((y) => (y == null ? void 0 : y.key) === "stepConfig")) == null ? void 0 : d.contents;
|
|
4766
4766
|
}, {
|
|
4767
4767
|
immediate: !0
|
|
4768
4768
|
}), (f, w) => {
|
|
4769
|
-
const
|
|
4769
|
+
const d = dl("svg-icon");
|
|
4770
4770
|
return te(), pl(tu, {
|
|
4771
4771
|
stepConfig: a.value,
|
|
4772
4772
|
stepList: t.value,
|
|
4773
4773
|
onClickStep: k
|
|
4774
4774
|
}, {
|
|
4775
4775
|
icon: he(() => [
|
|
4776
|
-
le(
|
|
4776
|
+
le(d, { name: "import" })
|
|
4777
4777
|
]),
|
|
4778
4778
|
title: he(({ title: y }) => [
|
|
4779
4779
|
nl(Je(y), 1)
|
|
@@ -4803,7 +4803,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4803
4803
|
const l = dl("el-timeline-item"), a = dl("el-timeline");
|
|
4804
4804
|
return te(), pl(a, null, {
|
|
4805
4805
|
default: he(() => [
|
|
4806
|
-
(te(!0),
|
|
4806
|
+
(te(!0), Te(bl, null, Al(e.activities, (t, k) => (te(), pl(l, {
|
|
4807
4807
|
key: k,
|
|
4808
4808
|
timestamp: t.timestamp,
|
|
4809
4809
|
placement: e.timeLineConfig.placement,
|
|
@@ -4881,7 +4881,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4881
4881
|
})));
|
|
4882
4882
|
},
|
|
4883
4883
|
{ immediate: !0, deep: !0 }
|
|
4884
|
-
), (l, a) => (te(),
|
|
4884
|
+
), (l, a) => (te(), Te("div", mu, [
|
|
4885
4885
|
le($i, { tabsContents: n.value }, null, 8, ["tabsContents"])
|
|
4886
4886
|
]));
|
|
4887
4887
|
}
|
|
@@ -4932,14 +4932,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4932
4932
|
};
|
|
4933
4933
|
return (a, t) => {
|
|
4934
4934
|
const k = dl("svg-icon");
|
|
4935
|
-
return te(),
|
|
4936
|
-
(te(!0),
|
|
4935
|
+
return te(), Te("div", ku, [
|
|
4936
|
+
(te(!0), Te(bl, null, Al(Kl(it), (f, w) => (te(), Te("div", {
|
|
4937
4937
|
class: "type-list",
|
|
4938
4938
|
key: w
|
|
4939
4939
|
}, [
|
|
4940
4940
|
$("div", {
|
|
4941
4941
|
class: "list-content",
|
|
4942
|
-
onClick: (
|
|
4942
|
+
onClick: (d) => l(f)
|
|
4943
4943
|
}, [
|
|
4944
4944
|
$("div", Cu, [
|
|
4945
4945
|
le(k, {
|
|
@@ -4968,9 +4968,9 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4968
4968
|
var De;
|
|
4969
4969
|
let L = (De = s(k.value)) == null ? void 0 : De.map((R, O) => (re === O && (R.content = !1), R));
|
|
4970
4970
|
k.value = L, a.value = s(n.value);
|
|
4971
|
-
},
|
|
4972
|
-
var
|
|
4973
|
-
let De = (
|
|
4971
|
+
}, d = (re, L) => {
|
|
4972
|
+
var Ce;
|
|
4973
|
+
let De = (Ce = s(k.value)) == null ? void 0 : Ce.map((b, I) => (re === I && (b.content = !1), b));
|
|
4974
4974
|
k.value = De;
|
|
4975
4975
|
const R = s(n.value), O = R == null ? void 0 : R.filter((b, I) => (I === re && (b.name = L), b));
|
|
4976
4976
|
v.setOriginalData(O), v.setItemData(O);
|
|
@@ -4987,10 +4987,10 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
4987
4987
|
{ deep: !0, immediate: !0 }
|
|
4988
4988
|
);
|
|
4989
4989
|
const y = (re) => Qa(re), T = (re, L, De) => {
|
|
4990
|
-
var O,
|
|
4990
|
+
var O, Ce;
|
|
4991
4991
|
if (!re) return;
|
|
4992
4992
|
let R = s(n.value);
|
|
4993
|
-
R = (O = R == null ? void 0 : R.map((b, I) => (I === De && (b.compData = re), b))) == null ? void 0 : O.filter((b) => (b == null ? void 0 : b.comp) !== "methodButton"), k.value = (
|
|
4993
|
+
R = (O = R == null ? void 0 : R.map((b, I) => (I === De && (b.compData = re), b))) == null ? void 0 : O.filter((b) => (b == null ? void 0 : b.comp) !== "methodButton"), k.value = (Ce = s(R)) == null ? void 0 : Ce.map((b, I) => ({
|
|
4994
4994
|
id: I,
|
|
4995
4995
|
content: !1
|
|
4996
4996
|
})), v.setOriginalData(R), v.setItemData(R);
|
|
@@ -5010,7 +5010,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5010
5010
|
};
|
|
5011
5011
|
return (re, L) => {
|
|
5012
5012
|
const De = dl("svg-icon");
|
|
5013
|
-
return te(),
|
|
5013
|
+
return te(), Te("div", Su, [
|
|
5014
5014
|
L[1] || (L[1] = $("div", { class: "fill-operate" }, Je("操作栏"), -1)),
|
|
5015
5015
|
$("div", Iu, [
|
|
5016
5016
|
le(ai, {
|
|
@@ -5018,16 +5018,16 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5018
5018
|
collapseContents: a.value
|
|
5019
5019
|
}, {
|
|
5020
5020
|
title: he(({ item: R, index: O }) => {
|
|
5021
|
-
var
|
|
5021
|
+
var Ce, b, I, h, C, ce, ae, Ue, al, ul;
|
|
5022
5022
|
return [
|
|
5023
5023
|
$("div", xu, [
|
|
5024
5024
|
$("div", Au, [
|
|
5025
|
-
(b = (
|
|
5025
|
+
(b = (Ce = k.value) == null ? void 0 : Ce.find((Ye) => Ye.id === O)) != null && b.content ? Vl("", !0) : (te(), Te("div", {
|
|
5026
5026
|
key: 0,
|
|
5027
5027
|
class: "collapse-title",
|
|
5028
5028
|
style: Ga({ marginRight: R.name && R.name !== "" ? "8px" : "0px" })
|
|
5029
5029
|
}, Je(R.name), 5)),
|
|
5030
|
-
(h = (I = k.value) == null ? void 0 : I.find((Ye) => Ye.id === O)) != null && h.content ? (te(),
|
|
5030
|
+
(h = (I = k.value) == null ? void 0 : I.find((Ye) => Ye.id === O)) != null && h.content ? (te(), Te("div", Eu, [
|
|
5031
5031
|
le(Bi, {
|
|
5032
5032
|
modelValue: R.name,
|
|
5033
5033
|
"onUpdate:modelValue": (Ye) => R.name = Ye,
|
|
@@ -5035,7 +5035,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5035
5035
|
}, ["stop"]))
|
|
5036
5036
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5037
5037
|
])) : Vl("", !0),
|
|
5038
|
-
(ce = (C = k.value) == null ? void 0 : C.find((Ye) => Ye.id === O)) != null && ce.content ? Vl("", !0) : (te(),
|
|
5038
|
+
(ce = (C = k.value) == null ? void 0 : C.find((Ye) => Ye.id === O)) != null && ce.content ? Vl("", !0) : (te(), Te("div", {
|
|
5039
5039
|
key: 2,
|
|
5040
5040
|
onClick: Ia((Ye) => f(O), ["stop"]),
|
|
5041
5041
|
class: "icon-content"
|
|
@@ -5047,7 +5047,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5047
5047
|
], 8, Tu))
|
|
5048
5048
|
]),
|
|
5049
5049
|
$("div", $u, [
|
|
5050
|
-
(
|
|
5050
|
+
(Ue = (ae = k.value) == null ? void 0 : ae.find((Ye) => Ye.id === O)) != null && Ue.content ? (te(), Te("div", Bu, [
|
|
5051
5051
|
le(De, {
|
|
5052
5052
|
name: "Cancel",
|
|
5053
5053
|
style: { width: "16px", height: "16px" },
|
|
@@ -5056,12 +5056,12 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5056
5056
|
}, null, 8, ["onClick"]),
|
|
5057
5057
|
le(De, {
|
|
5058
5058
|
name: "Save",
|
|
5059
|
-
onClick: Ia((Ye) =>
|
|
5059
|
+
onClick: Ia((Ye) => d(O, R.name), ["stop"]),
|
|
5060
5060
|
style: { width: "16px", height: "16px", fill: "var(--ssComponent-primary-color)" },
|
|
5061
5061
|
class: "icon-content"
|
|
5062
5062
|
}, null, 8, ["onClick"])
|
|
5063
5063
|
])) : Vl("", !0),
|
|
5064
|
-
(ul = (al = k.value) == null ? void 0 : al.find((Ye) => Ye.id === O)) != null && ul.content ? Vl("", !0) : (te(),
|
|
5064
|
+
(ul = (al = k.value) == null ? void 0 : al.find((Ye) => Ye.id === O)) != null && ul.content ? Vl("", !0) : (te(), Te("div", {
|
|
5065
5065
|
key: 1,
|
|
5066
5066
|
onClick: Ia((Ye) => D(O), ["stop"]),
|
|
5067
5067
|
class: "icon-content"
|
|
@@ -5076,13 +5076,13 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5076
5076
|
];
|
|
5077
5077
|
}),
|
|
5078
5078
|
content: he(({ item: R, index: O }) => {
|
|
5079
|
-
var
|
|
5079
|
+
var Ce, b;
|
|
5080
5080
|
return [
|
|
5081
5081
|
$("div", Ou, [
|
|
5082
5082
|
nl(Je(y(R.comp + "Operate")) + " ", 1),
|
|
5083
5083
|
(te(), pl(ka(y(R.comp + "Operate")), {
|
|
5084
5084
|
itemContents: R == null ? void 0 : R.compData,
|
|
5085
|
-
originalItemContents: (b = (
|
|
5085
|
+
originalItemContents: (b = (Ce = t.value) == null ? void 0 : Ce.find((I, h) => h === O)) == null ? void 0 : b.compData,
|
|
5086
5086
|
onChange: (I) => T(I, R, O)
|
|
5087
5087
|
}, null, 40, ["itemContents", "originalItemContents", "onChange"]))
|
|
5088
5088
|
])
|
|
@@ -5112,16 +5112,16 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5112
5112
|
const a = (t) => Qa(t);
|
|
5113
5113
|
return (t, k) => {
|
|
5114
5114
|
var f;
|
|
5115
|
-
return ((f = l.value) == null ? void 0 : f.length) > 0 ? (te(),
|
|
5116
|
-
(te(!0),
|
|
5115
|
+
return ((f = l.value) == null ? void 0 : f.length) > 0 ? (te(), Te("div", Uu, [
|
|
5116
|
+
(te(!0), Te(bl, null, Al(l.value, (w, d) => (te(), Te("div", {
|
|
5117
5117
|
class: "item-content",
|
|
5118
|
-
key:
|
|
5118
|
+
key: d
|
|
5119
5119
|
}, [
|
|
5120
5120
|
$("div", Ru, Je(w.name), 1),
|
|
5121
5121
|
(te(), pl(ka(a(w.comp)), {
|
|
5122
5122
|
itemData: w == null ? void 0 : w.compData,
|
|
5123
5123
|
childItemData: w == null ? void 0 : w.itemChildData,
|
|
5124
|
-
key:
|
|
5124
|
+
key: d
|
|
5125
5125
|
}, null, 8, ["itemData", "childItemData"]))
|
|
5126
5126
|
]))), 128))
|
|
5127
5127
|
])) : Vl("", !0);
|
|
@@ -5140,14 +5140,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5140
5140
|
},
|
|
5141
5141
|
emits: ["change"],
|
|
5142
5142
|
setup(e, { emit: v }) {
|
|
5143
|
-
const n = e, l = v, a = W([]), t = W(!1), k = W(""), f = W({ title: "" }), w = W(-1),
|
|
5143
|
+
const n = e, l = v, a = W([]), t = W(!1), k = W(""), f = W({ title: "" }), w = W(-1), d = W(!1), y = W(-1), T = W(/* @__PURE__ */ new WeakMap()), D = W(null), re = hs(xl), { itemData: L } = El(re), De = () => {
|
|
5144
5144
|
k.value = "新增标签页", f.value.title = "", w.value = -1, t.value = !0;
|
|
5145
5145
|
}, R = (q) => {
|
|
5146
5146
|
k.value = "修改标签页", f.value.title = a.value[q].title, w.value = q, t.value = !0;
|
|
5147
5147
|
}, O = (q) => {
|
|
5148
5148
|
const r = I(q);
|
|
5149
5149
|
T.value.delete(r), a.value.splice(q, 1), se();
|
|
5150
|
-
},
|
|
5150
|
+
}, Ce = () => {
|
|
5151
5151
|
if (f.value.title.trim()) {
|
|
5152
5152
|
if (w.value === -1) {
|
|
5153
5153
|
const q = {
|
|
@@ -5171,7 +5171,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5171
5171
|
const r = I(q);
|
|
5172
5172
|
D.value = s(L.value);
|
|
5173
5173
|
let de = T.value.get(r);
|
|
5174
|
-
!de && ((J = a.value[q].children) == null ? void 0 : J.length) > 0 && (de =
|
|
5174
|
+
!de && ((J = a.value[q].children) == null ? void 0 : J.length) > 0 && (de = Ue(a.value[q].children)), de ? re.setItemData(s(de)) : re.setItemData([]), d.value = !0;
|
|
5175
5175
|
}, C = Xl(() => {
|
|
5176
5176
|
const q = qa(xl), r = El(q).itemData.value;
|
|
5177
5177
|
return console.log("可用组件数据", r), !r || !Array.isArray(r) ? [] : r.filter((de) => {
|
|
@@ -5179,9 +5179,9 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5179
5179
|
if (de.comp === "Tabs" && y.value >= 0) {
|
|
5180
5180
|
const ue = I(y.value);
|
|
5181
5181
|
if ((J = de.compData) == null ? void 0 : J.some(
|
|
5182
|
-
(
|
|
5182
|
+
(Re) => {
|
|
5183
5183
|
var _e;
|
|
5184
|
-
return
|
|
5184
|
+
return Re.key === "stepList" && ((_e = Re.contents) == null ? void 0 : _e.some((We) => We.id === ue));
|
|
5185
5185
|
}
|
|
5186
5186
|
)) return !1;
|
|
5187
5187
|
}
|
|
@@ -5207,7 +5207,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5207
5207
|
} catch (de) {
|
|
5208
5208
|
console.error("添加组件失败:", de);
|
|
5209
5209
|
}
|
|
5210
|
-
},
|
|
5210
|
+
}, Ue = (q) => q.map((r) => {
|
|
5211
5211
|
var de;
|
|
5212
5212
|
switch (r.type) {
|
|
5213
5213
|
case "form":
|
|
@@ -5247,11 +5247,11 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5247
5247
|
const q = I(y.value);
|
|
5248
5248
|
T.value.set(q, s(L.value)), a.value[y.value].children = H(L.value), console.log("保存后的数据", H(L.value));
|
|
5249
5249
|
}
|
|
5250
|
-
|
|
5250
|
+
d.value = !1, y.value = -1, D.value = null, se();
|
|
5251
5251
|
}, ze = () => {
|
|
5252
|
-
D.value && re.setItemData(s(D.value)),
|
|
5252
|
+
D.value && re.setItemData(s(D.value)), d.value = !1, y.value = -1, D.value = null;
|
|
5253
5253
|
}, g = () => {
|
|
5254
|
-
|
|
5254
|
+
d.value && ze();
|
|
5255
5255
|
}, H = (q) => {
|
|
5256
5256
|
if (!Array.isArray(q))
|
|
5257
5257
|
throw new Error("sourceData must be an array");
|
|
@@ -5275,7 +5275,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5275
5275
|
default:
|
|
5276
5276
|
return {
|
|
5277
5277
|
type: "xxx",
|
|
5278
|
-
content:
|
|
5278
|
+
content: Le(Ve || []),
|
|
5279
5279
|
value: ""
|
|
5280
5280
|
};
|
|
5281
5281
|
}
|
|
@@ -5301,12 +5301,12 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5301
5301
|
console.warn(`Invalid config at index ${ue}:`, J);
|
|
5302
5302
|
return;
|
|
5303
5303
|
}
|
|
5304
|
-
const { key: Ve, contents:
|
|
5304
|
+
const { key: Ve, contents: Re } = J, _e = de[Ve];
|
|
5305
5305
|
if (!_e) {
|
|
5306
5306
|
console.warn(`Unknown Form config key: ${Ve}`);
|
|
5307
5307
|
return;
|
|
5308
5308
|
}
|
|
5309
|
-
Ve === "enableWrap" ? r[_e] = !!
|
|
5309
|
+
Ve === "enableWrap" ? r[_e] = !!Re : r[_e] = Array.isArray(Re) ? Re : [];
|
|
5310
5310
|
}), r;
|
|
5311
5311
|
}, ge = (q) => {
|
|
5312
5312
|
const r = {
|
|
@@ -5330,14 +5330,14 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5330
5330
|
console.warn(`Invalid config at index ${ue}:`, J);
|
|
5331
5331
|
return;
|
|
5332
5332
|
}
|
|
5333
|
-
const { key: Ve, contents:
|
|
5333
|
+
const { key: Ve, contents: Re } = J, _e = de[Ve];
|
|
5334
5334
|
if (!_e) {
|
|
5335
5335
|
console.warn(`Unknown Table config key: ${Ve}`);
|
|
5336
5336
|
return;
|
|
5337
5337
|
}
|
|
5338
|
-
r[_e] = Array.isArray(
|
|
5338
|
+
r[_e] = Array.isArray(Re) ? Re : [];
|
|
5339
5339
|
}), r;
|
|
5340
|
-
},
|
|
5340
|
+
}, Le = (q) => (console.log("Default conversion logic - to be implemented"), {
|
|
5341
5341
|
originalData: q,
|
|
5342
5342
|
processed: !1,
|
|
5343
5343
|
componentType: "unknown"
|
|
@@ -5367,7 +5367,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5367
5367
|
{ immediate: !0, deep: !0 }
|
|
5368
5368
|
), (q, r) => {
|
|
5369
5369
|
const de = dl("svg-icon"), J = dl("el-input"), ue = dl("el-form-item"), Ve = dl("el-form");
|
|
5370
|
-
return te(),
|
|
5370
|
+
return te(), Te("div", null, [
|
|
5371
5371
|
$("div", Nu, [
|
|
5372
5372
|
r[6] || (r[6] = $("h4", null, "标签页管理", -1)),
|
|
5373
5373
|
$("button", { onClick: De }, [
|
|
@@ -5379,11 +5379,11 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5379
5379
|
])
|
|
5380
5380
|
]),
|
|
5381
5381
|
$("div", Mu, [
|
|
5382
|
-
(te(!0),
|
|
5382
|
+
(te(!0), Te(bl, null, Al(a.value, (Re, _e) => (te(), Te("div", {
|
|
5383
5383
|
class: "tab-item",
|
|
5384
5384
|
key: _e
|
|
5385
5385
|
}, [
|
|
5386
|
-
$("span", Vu, Je(
|
|
5386
|
+
$("span", Vu, Je(Re.title), 1),
|
|
5387
5387
|
$("div", Wu, [
|
|
5388
5388
|
$("button", {
|
|
5389
5389
|
onClick: (We) => R(_e)
|
|
@@ -5399,17 +5399,17 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5399
5399
|
]),
|
|
5400
5400
|
le(Wl, {
|
|
5401
5401
|
modelValue: t.value,
|
|
5402
|
-
"onUpdate:modelValue": r[2] || (r[2] = (
|
|
5402
|
+
"onUpdate:modelValue": r[2] || (r[2] = (Re) => t.value = Re),
|
|
5403
5403
|
title: k.value,
|
|
5404
|
-
onBeforeDestroy: r[3] || (r[3] = (
|
|
5404
|
+
onBeforeDestroy: r[3] || (r[3] = (Re) => t.value = !1)
|
|
5405
5405
|
}, {
|
|
5406
5406
|
footer: he(() => [
|
|
5407
5407
|
$("button", {
|
|
5408
|
-
onClick: r[1] || (r[1] = (
|
|
5408
|
+
onClick: r[1] || (r[1] = (Re) => t.value = !1)
|
|
5409
5409
|
}, "取消"),
|
|
5410
5410
|
$("button", {
|
|
5411
5411
|
type: "primary",
|
|
5412
|
-
onClick:
|
|
5412
|
+
onClick: Ce
|
|
5413
5413
|
}, "确定")
|
|
5414
5414
|
]),
|
|
5415
5415
|
default: he(() => [
|
|
@@ -5425,7 +5425,7 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5425
5425
|
default: he(() => [
|
|
5426
5426
|
le(J, {
|
|
5427
5427
|
modelValue: f.value.title,
|
|
5428
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
5428
|
+
"onUpdate:modelValue": r[0] || (r[0] = (Re) => f.value.title = Re),
|
|
5429
5429
|
placeholder: "请输入标签页名称"
|
|
5430
5430
|
}, null, 8, ["modelValue"])
|
|
5431
5431
|
]),
|
|
@@ -5438,8 +5438,8 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5438
5438
|
_: 1
|
|
5439
5439
|
}, 8, ["modelValue", "title"]),
|
|
5440
5440
|
le(Wl, {
|
|
5441
|
-
modelValue:
|
|
5442
|
-
"onUpdate:modelValue": r[4] || (r[4] = (
|
|
5441
|
+
modelValue: d.value,
|
|
5442
|
+
"onUpdate:modelValue": r[4] || (r[4] = (Re) => d.value = Re),
|
|
5443
5443
|
title: "布局调整",
|
|
5444
5444
|
fullScreen: "",
|
|
5445
5445
|
onBeforeDestroy: g
|
|
@@ -5455,21 +5455,21 @@ const lu = /* @__PURE__ */ $l(Zo, [["render", eu]]), au = { class: "module conte
|
|
|
5455
5455
|
$("div", Xu, [
|
|
5456
5456
|
r[8] || (r[8] = $("h5", null, "添加已有组件", -1)),
|
|
5457
5457
|
$("div", Yu, [
|
|
5458
|
-
(te(!0),
|
|
5459
|
-
key:
|
|
5458
|
+
(te(!0), Te(bl, null, Al(C.value, (Re) => (te(), Te("div", {
|
|
5459
|
+
key: Re.id,
|
|
5460
5460
|
class: "component-item",
|
|
5461
|
-
onClick: (_e) => ae(
|
|
5461
|
+
onClick: (_e) => ae(Re)
|
|
5462
5462
|
}, [
|
|
5463
5463
|
$("div", Zu, [
|
|
5464
|
-
$("span", er, Je(ce(
|
|
5465
|
-
$("span", lr, Je(
|
|
5464
|
+
$("span", er, Je(ce(Re.comp)), 1),
|
|
5465
|
+
$("span", lr, Je(Re.name), 1)
|
|
5466
5466
|
]),
|
|
5467
5467
|
r[7] || (r[7] = $("button", { class: "add-btn" }, "添加", -1))
|
|
5468
5468
|
], 8, Qu))), 128))
|
|
5469
5469
|
])
|
|
5470
5470
|
])
|
|
5471
5471
|
]),
|
|
5472
|
-
(te(),
|
|
5472
|
+
(te(), Te("div", {
|
|
5473
5473
|
class: "model-show",
|
|
5474
5474
|
key: q.innerWidth
|
|
5475
5475
|
}, [
|
|
@@ -5646,8 +5646,8 @@ const pa = {
|
|
|
5646
5646
|
let f = null;
|
|
5647
5647
|
const w = sessionStorage.getItem("systemKey");
|
|
5648
5648
|
if (k && Ws.activeMenuPath && (f = await Bl(`${Ws.activeMenuPath}`, w, "")), !k) {
|
|
5649
|
-
const
|
|
5650
|
-
f = await Bl(`${
|
|
5649
|
+
const d = v == null ? void 0 : v.join("/");
|
|
5650
|
+
f = await Bl(`${d}^${n}`, w, "");
|
|
5651
5651
|
}
|
|
5652
5652
|
return ci(f, {
|
|
5653
5653
|
group: l,
|
|
@@ -5668,15 +5668,15 @@ const pa = {
|
|
|
5668
5668
|
const {
|
|
5669
5669
|
mainKey: f,
|
|
5670
5670
|
group: w,
|
|
5671
|
-
nameCol:
|
|
5671
|
+
nameCol: d,
|
|
5672
5672
|
valueCol: y,
|
|
5673
5673
|
isSelfDetail: T
|
|
5674
5674
|
} = v || {};
|
|
5675
|
-
return f && w && ls(
|
|
5675
|
+
return f && w && ls(d) && ls(y) ? await dr({
|
|
5676
5676
|
menu: l,
|
|
5677
5677
|
mainKey: f,
|
|
5678
5678
|
detailGroup: w,
|
|
5679
|
-
detailNameCol:
|
|
5679
|
+
detailNameCol: d,
|
|
5680
5680
|
detailValueCol: y,
|
|
5681
5681
|
isSelfDetail: T
|
|
5682
5682
|
}) : ls(t) && ls(k) ? await pr({
|
|
@@ -5691,10 +5691,10 @@ const pa = {
|
|
|
5691
5691
|
return;
|
|
5692
5692
|
const { initBaseoptions: k, initSeries: f } = t, w = k();
|
|
5693
5693
|
w.title.text = a ?? "";
|
|
5694
|
-
const { names:
|
|
5695
|
-
if (!
|
|
5694
|
+
const { names: d, values: y } = await Ts(v, n);
|
|
5695
|
+
if (!d || !y)
|
|
5696
5696
|
return w;
|
|
5697
|
-
w.xAxis.data =
|
|
5697
|
+
w.xAxis.data = d;
|
|
5698
5698
|
const T = f({
|
|
5699
5699
|
data: y
|
|
5700
5700
|
});
|
|
@@ -5705,10 +5705,10 @@ const pa = {
|
|
|
5705
5705
|
return;
|
|
5706
5706
|
const { initBaseoptions: k, initSeries: f } = t, w = k();
|
|
5707
5707
|
w.title.text = a ?? "";
|
|
5708
|
-
const { names:
|
|
5709
|
-
if (!
|
|
5708
|
+
const { names: d, values: y } = await Ts(v, n);
|
|
5709
|
+
if (!d || !y)
|
|
5710
5710
|
return w;
|
|
5711
|
-
w.xAxis.data =
|
|
5711
|
+
w.xAxis.data = d;
|
|
5712
5712
|
const T = f({
|
|
5713
5713
|
data: y
|
|
5714
5714
|
});
|
|
@@ -5719,12 +5719,12 @@ const pa = {
|
|
|
5719
5719
|
return;
|
|
5720
5720
|
const { initBaseoptions: k, initSeries: f } = t, w = k();
|
|
5721
5721
|
w.title.text = a ?? "";
|
|
5722
|
-
const { names:
|
|
5723
|
-
if (!
|
|
5722
|
+
const { names: d, values: y } = await Ts(v, n);
|
|
5723
|
+
if (!d || !y)
|
|
5724
5724
|
return w;
|
|
5725
5725
|
const T = [];
|
|
5726
|
-
for (let re = 0; re <
|
|
5727
|
-
const L =
|
|
5726
|
+
for (let re = 0; re < d.length; re++) {
|
|
5727
|
+
const L = d[re], De = y[re];
|
|
5728
5728
|
T.push({
|
|
5729
5729
|
name: L,
|
|
5730
5730
|
value: De
|
|
@@ -5736,7 +5736,7 @@ const pa = {
|
|
|
5736
5736
|
return w.series.push(D), w;
|
|
5737
5737
|
}, hr = async (e = []) => {
|
|
5738
5738
|
var k, f, w;
|
|
5739
|
-
const v = ((k = e == null ? void 0 : e.find((
|
|
5739
|
+
const v = ((k = e == null ? void 0 : e.find((d) => d.key === "chartBaseConfig")) == null ? void 0 : k.contents) ?? {}, n = ((f = e == null ? void 0 : e.find((d) => d.key === "chartDataConfig")) == null ? void 0 : f.contents) ?? {}, l = ((w = e == null ? void 0 : e.find((d) => d.key === "chartDetailConfig")) == null ? void 0 : w.contents) ?? {}, { type: a } = v;
|
|
5740
5740
|
let t = {};
|
|
5741
5741
|
return a === "line" && (t = await fr({
|
|
5742
5742
|
chartBaseConfig: v,
|
|
@@ -5778,7 +5778,7 @@ const pa = {
|
|
|
5778
5778
|
n.value = await hr(a);
|
|
5779
5779
|
});
|
|
5780
5780
|
const l = Xl(() => (v == null ? void 0 : v.height) || "300px");
|
|
5781
|
-
return (a, t) => (te(),
|
|
5781
|
+
return (a, t) => (te(), Te("div", {
|
|
5782
5782
|
class: "eCharts",
|
|
5783
5783
|
style: Ga({
|
|
5784
5784
|
height: l.value
|
|
@@ -5835,11 +5835,11 @@ const pa = {
|
|
|
5835
5835
|
], f = W({}), w = () => {
|
|
5836
5836
|
var M;
|
|
5837
5837
|
t.value = k(), (M = t.value) == null || M.forEach((A) => {
|
|
5838
|
-
var
|
|
5838
|
+
var G;
|
|
5839
5839
|
const U = A == null ? void 0 : A.prop;
|
|
5840
|
-
A.value = (
|
|
5840
|
+
A.value = (G = f == null ? void 0 : f.value) == null ? void 0 : G[U];
|
|
5841
5841
|
}), a.visible = !0;
|
|
5842
|
-
},
|
|
5842
|
+
}, d = (M) => {
|
|
5843
5843
|
f.value = M;
|
|
5844
5844
|
}, y = () => {
|
|
5845
5845
|
var M;
|
|
@@ -5901,9 +5901,9 @@ const pa = {
|
|
|
5901
5901
|
], L = W({}), De = () => {
|
|
5902
5902
|
const M = D.value, A = s(M);
|
|
5903
5903
|
return A == null || A.forEach((U) => {
|
|
5904
|
-
var
|
|
5905
|
-
const
|
|
5906
|
-
U.value = (
|
|
5904
|
+
var Ke;
|
|
5905
|
+
const G = U == null ? void 0 : U.prop;
|
|
5906
|
+
U.value = (Ke = L.value) == null ? void 0 : Ke[G];
|
|
5907
5907
|
}), A;
|
|
5908
5908
|
}, R = (M) => {
|
|
5909
5909
|
var U;
|
|
@@ -5914,8 +5914,8 @@ const pa = {
|
|
|
5914
5914
|
const M = await Ui(), A = De();
|
|
5915
5915
|
A == null || A.forEach((U) => {
|
|
5916
5916
|
(U == null ? void 0 : U.prop) === "menu" && (U.contents = M);
|
|
5917
|
-
}), D.value = A, T.visible = !0, await
|
|
5918
|
-
},
|
|
5917
|
+
}), D.value = A, T.visible = !0, await Re(L.value.menu), await ne(L.value.group);
|
|
5918
|
+
}, Ce = xa({
|
|
5919
5919
|
visible: !1,
|
|
5920
5920
|
width: "840",
|
|
5921
5921
|
title: "详情页配置"
|
|
@@ -5952,9 +5952,9 @@ const pa = {
|
|
|
5952
5952
|
], h = W({}), C = () => {
|
|
5953
5953
|
const M = b.value, A = s(M);
|
|
5954
5954
|
return A == null || A.forEach((U) => {
|
|
5955
|
-
var
|
|
5956
|
-
const
|
|
5957
|
-
U.value = (
|
|
5955
|
+
var Ke;
|
|
5956
|
+
const G = U == null ? void 0 : U.prop;
|
|
5957
|
+
U.value = (Ke = h.value) == null ? void 0 : Ke[G];
|
|
5958
5958
|
}), A;
|
|
5959
5959
|
}, ce = (M) => {
|
|
5960
5960
|
var U;
|
|
@@ -5963,24 +5963,24 @@ const pa = {
|
|
|
5963
5963
|
b.value = A, l("change", (U = Se()) == null ? void 0 : U.compData);
|
|
5964
5964
|
}, ae = async () => {
|
|
5965
5965
|
await g();
|
|
5966
|
-
const M = s(
|
|
5966
|
+
const M = s(Ue.value), A = C();
|
|
5967
5967
|
A == null || A.forEach((U) => {
|
|
5968
|
-
var
|
|
5969
|
-
const
|
|
5970
|
-
U.value = (
|
|
5971
|
-
}), b.value = A,
|
|
5972
|
-
},
|
|
5968
|
+
var Ke;
|
|
5969
|
+
const G = U == null ? void 0 : U.prop;
|
|
5970
|
+
U.value = (Ke = h == null ? void 0 : h.value) == null ? void 0 : Ke[G], G === "mainKey" && (U.contents = M);
|
|
5971
|
+
}), b.value = A, Ce.visible = !0;
|
|
5972
|
+
}, Ue = W([]), al = W([]), ul = W({}), Ye = W({}), ze = () => {
|
|
5973
5973
|
const { compData: M } = J.value || {}, A = M == null ? void 0 : M.find((E) => {
|
|
5974
5974
|
const { key: m } = E;
|
|
5975
5975
|
return m === "header";
|
|
5976
|
-
}), U = (A == null ? void 0 : A.contents) || [],
|
|
5976
|
+
}), U = (A == null ? void 0 : A.contents) || [], G = U == null ? void 0 : U.filter((E, m) => {
|
|
5977
5977
|
const { label: F } = E;
|
|
5978
5978
|
return F !== "操作";
|
|
5979
|
-
}),
|
|
5979
|
+
}), Ke = G == null ? void 0 : G.findIndex((E, m) => {
|
|
5980
5980
|
const { isMainKey: F } = E;
|
|
5981
5981
|
return F;
|
|
5982
5982
|
});
|
|
5983
|
-
if (
|
|
5983
|
+
if (Ke < 0)
|
|
5984
5984
|
return [];
|
|
5985
5985
|
const xe = M == null ? void 0 : M.find((E) => {
|
|
5986
5986
|
const { key: m } = E;
|
|
@@ -5988,7 +5988,7 @@ const pa = {
|
|
|
5988
5988
|
}), i = (xe == null ? void 0 : xe.contents) || [];
|
|
5989
5989
|
return i == null ? void 0 : i.map((E) => {
|
|
5990
5990
|
const m = E == null ? void 0 : E[0];
|
|
5991
|
-
let F =
|
|
5991
|
+
let F = Ke;
|
|
5992
5992
|
Qs(m) && (m != null && m.id) && (F = F + 1);
|
|
5993
5993
|
const be = E == null ? void 0 : E[F];
|
|
5994
5994
|
return {
|
|
@@ -5998,31 +5998,31 @@ const pa = {
|
|
|
5998
5998
|
});
|
|
5999
5999
|
}, g = async () => {
|
|
6000
6000
|
const M = await ze();
|
|
6001
|
-
|
|
6001
|
+
Ue.value = M;
|
|
6002
6002
|
}, H = async (M) => {
|
|
6003
6003
|
const A = sessionStorage.getItem("systemKey");
|
|
6004
6004
|
return await Bl(M, A, "");
|
|
6005
6005
|
}, pe = async (M) => {
|
|
6006
6006
|
const A = M;
|
|
6007
6007
|
al.value = A == null ? void 0 : A.map((U) => {
|
|
6008
|
-
const { name:
|
|
6009
|
-
return ul.value[
|
|
6010
|
-
label:
|
|
6011
|
-
value:
|
|
6008
|
+
const { name: G } = U;
|
|
6009
|
+
return ul.value[G] = U, {
|
|
6010
|
+
label: G,
|
|
6011
|
+
value: G
|
|
6012
6012
|
};
|
|
6013
6013
|
});
|
|
6014
6014
|
}, ge = (M) => {
|
|
6015
6015
|
const { comp: A, compData: U } = Ye.value || {};
|
|
6016
6016
|
if (A === "Table") {
|
|
6017
|
-
let
|
|
6018
|
-
|
|
6019
|
-
const { prop: xe } =
|
|
6017
|
+
let G = C();
|
|
6018
|
+
G = G.filter((Ke) => {
|
|
6019
|
+
const { prop: xe } = Ke;
|
|
6020
6020
|
return xe !== "formItems";
|
|
6021
|
-
}), _e(
|
|
6021
|
+
}), _e(G, U), b.value = G;
|
|
6022
6022
|
}
|
|
6023
|
-
},
|
|
6024
|
-
var U,
|
|
6025
|
-
const M = (U = h == null ? void 0 : h.value) == null ? void 0 : U.mainKey, A = (
|
|
6023
|
+
}, Le = async () => {
|
|
6024
|
+
var U, G;
|
|
6025
|
+
const M = (U = h == null ? void 0 : h.value) == null ? void 0 : U.mainKey, A = (G = L == null ? void 0 : L.value) == null ? void 0 : G.menu;
|
|
6026
6026
|
if (M) {
|
|
6027
6027
|
const xe = `${A == null ? void 0 : A.join("/")}^${M}`, i = await H(xe);
|
|
6028
6028
|
await pe(i);
|
|
@@ -6036,7 +6036,7 @@ const pa = {
|
|
|
6036
6036
|
var M;
|
|
6037
6037
|
return (M = h == null ? void 0 : h.value) == null ? void 0 : M.mainKey;
|
|
6038
6038
|
}, async (M, A) => {
|
|
6039
|
-
M != A && M && await
|
|
6039
|
+
M != A && M && await Le();
|
|
6040
6040
|
});
|
|
6041
6041
|
const se = async (M) => {
|
|
6042
6042
|
const A = ul.value[M];
|
|
@@ -6050,7 +6050,7 @@ const pa = {
|
|
|
6050
6050
|
});
|
|
6051
6051
|
const q = async () => {
|
|
6052
6052
|
var A;
|
|
6053
|
-
await
|
|
6053
|
+
await Le();
|
|
6054
6054
|
const M = (A = h.value) == null ? void 0 : A.group;
|
|
6055
6055
|
await se(M);
|
|
6056
6056
|
}, r = W([]), de = W({}), J = W({}), ue = async (M) => {
|
|
@@ -6059,34 +6059,34 @@ const pa = {
|
|
|
6059
6059
|
}, Ve = async (M) => {
|
|
6060
6060
|
const A = await ue(M);
|
|
6061
6061
|
r.value = A == null ? void 0 : A.map((U) => {
|
|
6062
|
-
const { name:
|
|
6063
|
-
return de.value[
|
|
6064
|
-
label:
|
|
6065
|
-
value:
|
|
6062
|
+
const { name: G } = U;
|
|
6063
|
+
return de.value[G] = U, {
|
|
6064
|
+
label: G,
|
|
6065
|
+
value: G
|
|
6066
6066
|
};
|
|
6067
6067
|
});
|
|
6068
|
-
},
|
|
6068
|
+
}, Re = async (M, A) => {
|
|
6069
6069
|
await Ve(M);
|
|
6070
6070
|
const U = De();
|
|
6071
|
-
U == null || U.forEach((
|
|
6072
|
-
(
|
|
6071
|
+
U == null || U.forEach((G) => {
|
|
6072
|
+
(G == null ? void 0 : G.prop) === "group" && (G.contents = r.value);
|
|
6073
6073
|
}), D.value = U;
|
|
6074
6074
|
};
|
|
6075
6075
|
Tl(() => {
|
|
6076
6076
|
var M;
|
|
6077
6077
|
return (M = L == null ? void 0 : L.value) == null ? void 0 : M.menu;
|
|
6078
6078
|
}, async (M, A) => {
|
|
6079
|
-
const U = M == null ? void 0 : M.join("/"),
|
|
6080
|
-
U !=
|
|
6079
|
+
const U = M == null ? void 0 : M.join("/"), G = A == null ? void 0 : A.join("/");
|
|
6080
|
+
U != G && await Re(M);
|
|
6081
6081
|
});
|
|
6082
6082
|
const _e = (M, A) => {
|
|
6083
6083
|
const U = A == null ? void 0 : A.find((i) => {
|
|
6084
6084
|
const { key: u } = i;
|
|
6085
6085
|
return u === "header";
|
|
6086
|
-
}),
|
|
6086
|
+
}), G = (U == null ? void 0 : U.contents) || [], Ke = G == null ? void 0 : G.filter((i, u) => {
|
|
6087
6087
|
const { label: E } = i;
|
|
6088
6088
|
return E !== "操作";
|
|
6089
|
-
}), xe =
|
|
6089
|
+
}), xe = Ke == null ? void 0 : Ke.map((i, u) => {
|
|
6090
6090
|
const { label: E } = i;
|
|
6091
6091
|
return {
|
|
6092
6092
|
label: E,
|
|
@@ -6101,11 +6101,11 @@ const pa = {
|
|
|
6101
6101
|
const { comp: A, compData: U } = J.value || {};
|
|
6102
6102
|
if (A === "Table") {
|
|
6103
6103
|
L.value.formItems = [];
|
|
6104
|
-
let
|
|
6105
|
-
|
|
6106
|
-
const { prop: xe } =
|
|
6104
|
+
let G = De();
|
|
6105
|
+
G = G.filter((Ke) => {
|
|
6106
|
+
const { prop: xe } = Ke;
|
|
6107
6107
|
return xe !== "formItems";
|
|
6108
|
-
}), _e(
|
|
6108
|
+
}), _e(G, U), D.value = G;
|
|
6109
6109
|
}
|
|
6110
6110
|
}, ne = async (M) => {
|
|
6111
6111
|
const A = de.value[M];
|
|
@@ -6118,10 +6118,10 @@ const pa = {
|
|
|
6118
6118
|
M != A && ne(M);
|
|
6119
6119
|
});
|
|
6120
6120
|
const je = async () => {
|
|
6121
|
-
var U,
|
|
6121
|
+
var U, G;
|
|
6122
6122
|
const M = (U = L.value) == null ? void 0 : U.menu;
|
|
6123
|
-
await
|
|
6124
|
-
const A = (
|
|
6123
|
+
await Re(M);
|
|
6124
|
+
const A = (G = L.value) == null ? void 0 : G.group;
|
|
6125
6125
|
await ne(A);
|
|
6126
6126
|
}, Se = () => ({
|
|
6127
6127
|
comp: "chart",
|
|
@@ -6139,23 +6139,23 @@ const pa = {
|
|
|
6139
6139
|
contents: h.value
|
|
6140
6140
|
}
|
|
6141
6141
|
]
|
|
6142
|
-
}),
|
|
6143
|
-
a.visible = !1, T.visible = !1,
|
|
6142
|
+
}), Pe = () => {
|
|
6143
|
+
a.visible = !1, T.visible = !1, Ce.visible = !1;
|
|
6144
6144
|
};
|
|
6145
6145
|
return fs(async () => {
|
|
6146
|
-
var A, U,
|
|
6146
|
+
var A, U, G;
|
|
6147
6147
|
D.value = re(), b.value = I();
|
|
6148
6148
|
const M = n == null ? void 0 : n.itemContents;
|
|
6149
|
-
f.value = ((A = M == null ? void 0 : M.find((
|
|
6149
|
+
f.value = ((A = M == null ? void 0 : M.find((Ke) => Ke.key === "chartBaseConfig")) == null ? void 0 : A.contents) ?? {}, L.value = ((U = M == null ? void 0 : M.find((Ke) => Ke.key === "chartDataConfig")) == null ? void 0 : U.contents) ?? {}, await je(), h.value = ((G = M == null ? void 0 : M.find((Ke) => Ke.key === "chartDetailConfig")) == null ? void 0 : G.contents) ?? {}, await q();
|
|
6150
6150
|
}), (M, A) => {
|
|
6151
6151
|
const U = dl("el-button");
|
|
6152
|
-
return te(),
|
|
6152
|
+
return te(), Te(bl, null, [
|
|
6153
6153
|
$("div", null, [
|
|
6154
6154
|
$("div", br, [
|
|
6155
6155
|
A[4] || (A[4] = $("div", { class: "module-title" }, "基础配置", -1)),
|
|
6156
6156
|
le(U, {
|
|
6157
6157
|
id: "themeButton",
|
|
6158
|
-
onClick: A[0] || (A[0] = (
|
|
6158
|
+
onClick: A[0] || (A[0] = (G) => w())
|
|
6159
6159
|
}, {
|
|
6160
6160
|
default: he(() => A[3] || (A[3] = [
|
|
6161
6161
|
nl(" 修改 ")
|
|
@@ -6168,7 +6168,7 @@ const pa = {
|
|
|
6168
6168
|
A[6] || (A[6] = $("h4", { class: "module-title" }, "数据配置", -1)),
|
|
6169
6169
|
le(U, {
|
|
6170
6170
|
id: "themeButton",
|
|
6171
|
-
onClick: A[1] || (A[1] = (
|
|
6171
|
+
onClick: A[1] || (A[1] = (G) => O())
|
|
6172
6172
|
}, {
|
|
6173
6173
|
default: he(() => A[5] || (A[5] = [
|
|
6174
6174
|
nl(" 修改 ")
|
|
@@ -6181,7 +6181,7 @@ const pa = {
|
|
|
6181
6181
|
A[8] || (A[8] = $("h4", { class: "module-title" }, "详情数据配置", -1)),
|
|
6182
6182
|
le(U, {
|
|
6183
6183
|
id: "themeButton",
|
|
6184
|
-
onClick: A[2] || (A[2] = (
|
|
6184
|
+
onClick: A[2] || (A[2] = (G) => ae())
|
|
6185
6185
|
}, {
|
|
6186
6186
|
default: he(() => A[7] || (A[7] = [
|
|
6187
6187
|
nl(" 修改 ")
|
|
@@ -6194,7 +6194,7 @@ const pa = {
|
|
|
6194
6194
|
le(Wl, {
|
|
6195
6195
|
visible: a.visible,
|
|
6196
6196
|
title: a.title,
|
|
6197
|
-
onBeforeDestroy:
|
|
6197
|
+
onBeforeDestroy: Pe,
|
|
6198
6198
|
width: a.width
|
|
6199
6199
|
}, {
|
|
6200
6200
|
default: he(() => [
|
|
@@ -6203,7 +6203,7 @@ const pa = {
|
|
|
6203
6203
|
rowContents: t.value,
|
|
6204
6204
|
key: t.value,
|
|
6205
6205
|
isEnableWrap: !0,
|
|
6206
|
-
onChange:
|
|
6206
|
+
onChange: d
|
|
6207
6207
|
}, null, 8, ["rowContents"]))
|
|
6208
6208
|
])
|
|
6209
6209
|
]),
|
|
@@ -6211,7 +6211,7 @@ const pa = {
|
|
|
6211
6211
|
$("div", wr, [
|
|
6212
6212
|
le(U, {
|
|
6213
6213
|
class: "cancel-button button",
|
|
6214
|
-
onClick:
|
|
6214
|
+
onClick: Pe,
|
|
6215
6215
|
id: "themeBorderButton"
|
|
6216
6216
|
}, {
|
|
6217
6217
|
default: he(() => A[9] || (A[9] = [
|
|
@@ -6238,7 +6238,7 @@ const pa = {
|
|
|
6238
6238
|
le(Wl, {
|
|
6239
6239
|
visible: T.visible,
|
|
6240
6240
|
title: T.title,
|
|
6241
|
-
onBeforeDestroy:
|
|
6241
|
+
onBeforeDestroy: Pe,
|
|
6242
6242
|
width: T.width
|
|
6243
6243
|
}, {
|
|
6244
6244
|
default: he(() => [
|
|
@@ -6255,7 +6255,7 @@ const pa = {
|
|
|
6255
6255
|
$("div", Sr, [
|
|
6256
6256
|
le(U, {
|
|
6257
6257
|
class: "cancel-button button",
|
|
6258
|
-
onClick:
|
|
6258
|
+
onClick: Pe,
|
|
6259
6259
|
id: "themeBorderButton"
|
|
6260
6260
|
}, {
|
|
6261
6261
|
default: he(() => A[11] || (A[11] = [
|
|
@@ -6266,7 +6266,7 @@ const pa = {
|
|
|
6266
6266
|
}),
|
|
6267
6267
|
le(U, {
|
|
6268
6268
|
class: "ok-button button",
|
|
6269
|
-
onClick:
|
|
6269
|
+
onClick: Pe,
|
|
6270
6270
|
id: "themeButton"
|
|
6271
6271
|
}, {
|
|
6272
6272
|
default: he(() => A[12] || (A[12] = [
|
|
@@ -6280,10 +6280,10 @@ const pa = {
|
|
|
6280
6280
|
_: 1
|
|
6281
6281
|
}, 8, ["visible", "title", "width"]),
|
|
6282
6282
|
le(Wl, {
|
|
6283
|
-
visible:
|
|
6284
|
-
title:
|
|
6285
|
-
onBeforeDestroy:
|
|
6286
|
-
width:
|
|
6283
|
+
visible: Ce.visible,
|
|
6284
|
+
title: Ce.title,
|
|
6285
|
+
onBeforeDestroy: Pe,
|
|
6286
|
+
width: Ce.width
|
|
6287
6287
|
}, {
|
|
6288
6288
|
default: he(() => [
|
|
6289
6289
|
$("div", Ir, [
|
|
@@ -6299,7 +6299,7 @@ const pa = {
|
|
|
6299
6299
|
$("div", xr, [
|
|
6300
6300
|
le(U, {
|
|
6301
6301
|
class: "cancel-button button",
|
|
6302
|
-
onClick:
|
|
6302
|
+
onClick: Pe,
|
|
6303
6303
|
id: "themeBorderButton"
|
|
6304
6304
|
}, {
|
|
6305
6305
|
default: he(() => A[13] || (A[13] = [
|
|
@@ -6310,7 +6310,7 @@ const pa = {
|
|
|
6310
6310
|
}),
|
|
6311
6311
|
le(U, {
|
|
6312
6312
|
class: "ok-button button",
|
|
6313
|
-
onClick:
|
|
6313
|
+
onClick: Pe,
|
|
6314
6314
|
id: "themeButton"
|
|
6315
6315
|
}, {
|
|
6316
6316
|
default: he(() => A[14] || (A[14] = [
|
|
@@ -6333,64 +6333,64 @@ function $r() {
|
|
|
6333
6333
|
(function(n, l) {
|
|
6334
6334
|
l();
|
|
6335
6335
|
})(Tr, function() {
|
|
6336
|
-
function n(
|
|
6337
|
-
return typeof y > "u" ? y = { autoBom: !1 } : typeof y != "object" && (console.warn("Deprecated: Expected third argument to be a object"), y = { autoBom: !y }), y.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(
|
|
6336
|
+
function n(d, y) {
|
|
6337
|
+
return typeof y > "u" ? y = { autoBom: !1 } : typeof y != "object" && (console.warn("Deprecated: Expected third argument to be a object"), y = { autoBom: !y }), y.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
|
|
6338
6338
|
}
|
|
6339
|
-
function l(
|
|
6339
|
+
function l(d, y, T) {
|
|
6340
6340
|
var D = new XMLHttpRequest();
|
|
6341
|
-
D.open("GET",
|
|
6341
|
+
D.open("GET", d), D.responseType = "blob", D.onload = function() {
|
|
6342
6342
|
w(D.response, y, T);
|
|
6343
6343
|
}, D.onerror = function() {
|
|
6344
6344
|
console.error("could not download file");
|
|
6345
6345
|
}, D.send();
|
|
6346
6346
|
}
|
|
6347
|
-
function a(
|
|
6347
|
+
function a(d) {
|
|
6348
6348
|
var y = new XMLHttpRequest();
|
|
6349
|
-
y.open("HEAD",
|
|
6349
|
+
y.open("HEAD", d, !1);
|
|
6350
6350
|
try {
|
|
6351
6351
|
y.send();
|
|
6352
6352
|
} catch {
|
|
6353
6353
|
}
|
|
6354
6354
|
return 200 <= y.status && 299 >= y.status;
|
|
6355
6355
|
}
|
|
6356
|
-
function t(
|
|
6356
|
+
function t(d) {
|
|
6357
6357
|
try {
|
|
6358
|
-
|
|
6358
|
+
d.dispatchEvent(new MouseEvent("click"));
|
|
6359
6359
|
} catch {
|
|
6360
6360
|
var y = document.createEvent("MouseEvents");
|
|
6361
|
-
y.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null),
|
|
6361
|
+
y.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(y);
|
|
6362
6362
|
}
|
|
6363
6363
|
}
|
|
6364
6364
|
var k = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof as == "object" && as.global === as ? as : void 0, f = k.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), w = k.saveAs || (typeof window != "object" || window !== k ? function() {
|
|
6365
|
-
} : "download" in HTMLAnchorElement.prototype && !f ? function(
|
|
6365
|
+
} : "download" in HTMLAnchorElement.prototype && !f ? function(d, y, T) {
|
|
6366
6366
|
var D = k.URL || k.webkitURL, re = document.createElement("a");
|
|
6367
|
-
y = y ||
|
|
6367
|
+
y = y || d.name || "download", re.download = y, re.rel = "noopener", typeof d == "string" ? (re.href = d, re.origin === location.origin ? t(re) : a(re.href) ? l(d, y, T) : t(re, re.target = "_blank")) : (re.href = D.createObjectURL(d), setTimeout(function() {
|
|
6368
6368
|
D.revokeObjectURL(re.href);
|
|
6369
6369
|
}, 4e4), setTimeout(function() {
|
|
6370
6370
|
t(re);
|
|
6371
6371
|
}, 0));
|
|
6372
|
-
} : "msSaveOrOpenBlob" in navigator ? function(
|
|
6373
|
-
if (y = y ||
|
|
6374
|
-
else if (a(
|
|
6372
|
+
} : "msSaveOrOpenBlob" in navigator ? function(d, y, T) {
|
|
6373
|
+
if (y = y || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(n(d, T), y);
|
|
6374
|
+
else if (a(d)) l(d, y, T);
|
|
6375
6375
|
else {
|
|
6376
6376
|
var D = document.createElement("a");
|
|
6377
|
-
D.href =
|
|
6377
|
+
D.href = d, D.target = "_blank", setTimeout(function() {
|
|
6378
6378
|
t(D);
|
|
6379
6379
|
});
|
|
6380
6380
|
}
|
|
6381
|
-
} : function(
|
|
6382
|
-
if (D = D || open("", "_blank"), D && (D.document.title = D.document.body.innerText = "downloading..."), typeof
|
|
6383
|
-
var re =
|
|
6381
|
+
} : function(d, y, T, D) {
|
|
6382
|
+
if (D = D || open("", "_blank"), D && (D.document.title = D.document.body.innerText = "downloading..."), typeof d == "string") return l(d, y, T);
|
|
6383
|
+
var re = d.type === "application/octet-stream", L = /constructor/i.test(k.HTMLElement) || k.safari, De = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
6384
6384
|
if ((De || re && L || f) && typeof FileReader < "u") {
|
|
6385
6385
|
var R = new FileReader();
|
|
6386
6386
|
R.onloadend = function() {
|
|
6387
6387
|
var b = R.result;
|
|
6388
6388
|
b = De ? b : b.replace(/^data:[^;]*;/, "data:attachment/file;"), D ? D.location.href = b : location = b, D = null;
|
|
6389
|
-
}, R.readAsDataURL(
|
|
6389
|
+
}, R.readAsDataURL(d);
|
|
6390
6390
|
} else {
|
|
6391
|
-
var O = k.URL || k.webkitURL,
|
|
6392
|
-
D ? D.location =
|
|
6393
|
-
O.revokeObjectURL(
|
|
6391
|
+
var O = k.URL || k.webkitURL, Ce = O.createObjectURL(d);
|
|
6392
|
+
D ? D.location = Ce : location.href = Ce, D = null, setTimeout(function() {
|
|
6393
|
+
O.revokeObjectURL(Ce);
|
|
6394
6394
|
}, 4e4);
|
|
6395
6395
|
}
|
|
6396
6396
|
});
|
|
@@ -6474,15 +6474,15 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6474
6474
|
version: 1
|
|
6475
6475
|
}
|
|
6476
6476
|
}, w = Ei);
|
|
6477
|
-
const
|
|
6478
|
-
if (((k =
|
|
6479
|
-
return
|
|
6477
|
+
const d = await w(f);
|
|
6478
|
+
if (((k = d == null ? void 0 : d.data) == null ? void 0 : k.code) === 200)
|
|
6479
|
+
return d.data.result;
|
|
6480
6480
|
throw Cl.error("保存响应失败"), new Error("保存响应失败");
|
|
6481
6481
|
} catch {
|
|
6482
6482
|
Cl.error("保存响应失败");
|
|
6483
6483
|
}
|
|
6484
6484
|
}, Lt = async (e) => {
|
|
6485
|
-
var
|
|
6485
|
+
var d;
|
|
6486
6486
|
const v = JSON.parse(s(JSON.stringify(Br.value)));
|
|
6487
6487
|
if (!Lr.value)
|
|
6488
6488
|
return fa.setCacheStructures({
|
|
@@ -6492,7 +6492,7 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6492
6492
|
const n = v == null ? void 0 : v.map((y) => y.id), l = n.filter((y) => {
|
|
6493
6493
|
var T;
|
|
6494
6494
|
return !((T = Gs.value) != null && T.includes(y));
|
|
6495
|
-
}), a = (
|
|
6495
|
+
}), a = (d = Gs.value) == null ? void 0 : d.filter((y) => !n.includes(y)), t = [...l, ...a], k = v == null ? void 0 : v.filter((y) => !y.id), f = v == null ? void 0 : v.filter((y) => y.id);
|
|
6496
6496
|
let w = [];
|
|
6497
6497
|
t && (t == null ? void 0 : t.length) > 0 && (t == null || t.forEach((y) => {
|
|
6498
6498
|
y && w.push(ks(y, "delete", e));
|
|
@@ -6516,8 +6516,8 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6516
6516
|
}
|
|
6517
6517
|
});
|
|
6518
6518
|
if (((t = (a = n == null ? void 0 : n.data) == null ? void 0 : a.result) == null ? void 0 : t.length) > 0) {
|
|
6519
|
-
const
|
|
6520
|
-
ids:
|
|
6519
|
+
const d = (f = (k = n == null ? void 0 : n.data) == null ? void 0 : k.result) == null ? void 0 : f.map((T) => T == null ? void 0 : T.id), y = await Ea({
|
|
6520
|
+
ids: d
|
|
6521
6521
|
});
|
|
6522
6522
|
((w = y == null ? void 0 : y.data) == null ? void 0 : w.code) === 200 ? (Cl.success("删除成功"), await Da.setLogRecordAsync({
|
|
6523
6523
|
type: "删除",
|
|
@@ -6544,8 +6544,8 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6544
6544
|
return ((f = k == null ? void 0 : k.data) == null ? void 0 : f.code) === 200;
|
|
6545
6545
|
}))) {
|
|
6546
6546
|
const k = Array.from(new Set((v = t == null ? void 0 : t.flatMap((w) => {
|
|
6547
|
-
var
|
|
6548
|
-
return (
|
|
6547
|
+
var d;
|
|
6548
|
+
return (d = w == null ? void 0 : w.data) == null ? void 0 : d.result;
|
|
6549
6549
|
})) == null ? void 0 : v.map((w) => w == null ? void 0 : w.id))), f = await Ea({
|
|
6550
6550
|
ids: k
|
|
6551
6551
|
});
|
|
@@ -6563,7 +6563,7 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6563
6563
|
Fl.setTableLoading(!1);
|
|
6564
6564
|
}
|
|
6565
6565
|
}, fi = async (e, v = "data", n) => {
|
|
6566
|
-
var l, a, t, k, f, w,
|
|
6566
|
+
var l, a, t, k, f, w, d, y, T, D, re, L, De, R, O, Ce, b, I, h, C, ce;
|
|
6567
6567
|
if ((e == null ? void 0 : e.buttonName) === "删除")
|
|
6568
6568
|
typeof ((l = e == null ? void 0 : e.singleContent) == null ? void 0 : l.id) == "string" ? await Xs(e) : await Pi((a = e == null ? void 0 : e.singleContent) == null ? void 0 : a.id), await Da.setLogRecordAsync({
|
|
6569
6569
|
type: "删除",
|
|
@@ -6571,9 +6571,9 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6571
6571
|
}, Rl.value);
|
|
6572
6572
|
else if ((e == null ? void 0 : e.buttonName) === "批量删除")
|
|
6573
6573
|
if ((t = e == null ? void 0 : e.selectItems) != null && t.every((ae) => typeof (ae == null ? void 0 : ae.id) == "string")) {
|
|
6574
|
-
const ae = (k = e == null ? void 0 : e.selectItems) == null ? void 0 : k.map((
|
|
6574
|
+
const ae = (k = e == null ? void 0 : e.selectItems) == null ? void 0 : k.map((Ue) => ({
|
|
6575
6575
|
content: e == null ? void 0 : e.content,
|
|
6576
|
-
singleContent:
|
|
6576
|
+
singleContent: Ue,
|
|
6577
6577
|
index: e == null ? void 0 : e.index,
|
|
6578
6578
|
type: e == null ? void 0 : e.type,
|
|
6579
6579
|
buttonName: e == null ? void 0 : e.buttonName,
|
|
@@ -6581,7 +6581,7 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6581
6581
|
}));
|
|
6582
6582
|
await Xs(ae);
|
|
6583
6583
|
} else {
|
|
6584
|
-
const ae = (f = e == null ? void 0 : e.selectItems) == null ? void 0 : f.map((
|
|
6584
|
+
const ae = (f = e == null ? void 0 : e.selectItems) == null ? void 0 : f.map((Ue) => Ue == null ? void 0 : Ue.id);
|
|
6585
6585
|
await Ea({
|
|
6586
6586
|
ids: ae
|
|
6587
6587
|
}), await Da.setLogRecordAsync({
|
|
@@ -6591,8 +6591,8 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6591
6591
|
}
|
|
6592
6592
|
else if ((e == null ? void 0 : e.buttonName) === "新增") {
|
|
6593
6593
|
let ae = {};
|
|
6594
|
-
for (let
|
|
6595
|
-
|
|
6594
|
+
for (let Ue in e == null ? void 0 : e.singleContent)
|
|
6595
|
+
Ue !== "id" && Ue !== "index" && (ae[Ue] = e == null ? void 0 : e.singleContent[Ue]);
|
|
6596
6596
|
await ji(
|
|
6597
6597
|
v,
|
|
6598
6598
|
Rl.value,
|
|
@@ -6607,12 +6607,12 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6607
6607
|
), Fl.setCacheUpdatingData(null);
|
|
6608
6608
|
} else if ((e == null ? void 0 : e.buttonName) === "编辑") {
|
|
6609
6609
|
if (Array.isArray(e == null ? void 0 : e.singleContent)) {
|
|
6610
|
-
let ae = [],
|
|
6610
|
+
let ae = [], Ue = [], al = ((d = (w = e == null ? void 0 : e.content) == null ? void 0 : w[0]) == null ? void 0 : d.id) ?? "", ul = n == null ? void 0 : n.url, Ye = "", ze = "";
|
|
6611
6611
|
if (al !== "" && ((y = e == null ? void 0 : e.content) == null ? void 0 : y.length) > 1 && typeof ((D = (T = e == null ? void 0 : e.content) == null ? void 0 : T[0]) == null ? void 0 : D.id) != "string") {
|
|
6612
6612
|
const g = await Gl({
|
|
6613
6613
|
id: al
|
|
6614
6614
|
});
|
|
6615
|
-
Ye = ((R = (De = (L = (re = g == null ? void 0 : g.data) == null ? void 0 : re.result) == null ? void 0 : L[0]) == null ? void 0 : De.key) == null ? void 0 : R.tableId) ?? "", ze = ((I = (b = (
|
|
6615
|
+
Ye = ((R = (De = (L = (re = g == null ? void 0 : g.data) == null ? void 0 : re.result) == null ? void 0 : L[0]) == null ? void 0 : De.key) == null ? void 0 : R.tableId) ?? "", ze = ((I = (b = (Ce = (O = g == null ? void 0 : g.data) == null ? void 0 : O.result) == null ? void 0 : Ce[0]) == null ? void 0 : b.key) == null ? void 0 : I.pageKey) ?? "";
|
|
6616
6616
|
}
|
|
6617
6617
|
(h = e == null ? void 0 : e.singleContent) == null || h.forEach((g) => {
|
|
6618
6618
|
let H = {};
|
|
@@ -6623,7 +6623,7 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6623
6623
|
value: {
|
|
6624
6624
|
tableData: H
|
|
6625
6625
|
}
|
|
6626
|
-
}) :
|
|
6626
|
+
}) : Ue.push({
|
|
6627
6627
|
key: {
|
|
6628
6628
|
type: v,
|
|
6629
6629
|
pageKey: ul || ze || Rl.value,
|
|
@@ -6634,20 +6634,20 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6634
6634
|
tableData: H
|
|
6635
6635
|
}
|
|
6636
6636
|
});
|
|
6637
|
-
}), (
|
|
6638
|
-
dataList:
|
|
6637
|
+
}), (Ue == null ? void 0 : Ue.length) > 0 && await cs({
|
|
6638
|
+
dataList: Ue
|
|
6639
6639
|
}), (ae == null ? void 0 : ae.length) > 0 && await Ha({
|
|
6640
6640
|
dataList: ae
|
|
6641
6641
|
});
|
|
6642
6642
|
} else {
|
|
6643
|
-
let ae = {},
|
|
6643
|
+
let ae = {}, Ue = (C = e == null ? void 0 : e.singleContent) == null ? void 0 : C.id;
|
|
6644
6644
|
for (let al in e == null ? void 0 : e.singleContent)
|
|
6645
6645
|
al !== "id" && al !== "index" && (ae[al] = e == null ? void 0 : e.singleContent[al]);
|
|
6646
6646
|
await Ni(
|
|
6647
6647
|
v,
|
|
6648
6648
|
Rl.value,
|
|
6649
6649
|
e == null ? void 0 : e.index,
|
|
6650
|
-
|
|
6650
|
+
Ue,
|
|
6651
6651
|
sessionStorage.getItem("systemKey"),
|
|
6652
6652
|
Object.values(ae),
|
|
6653
6653
|
e == null ? void 0 : e.column
|
|
@@ -6678,7 +6678,7 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6678
6678
|
var v;
|
|
6679
6679
|
await xs(), (v = Kr.value) != null && v.isRouter ? qs.setRouterPageStructure(e) : qs.setRouterPageStructure([]);
|
|
6680
6680
|
}, Mr = async (e) => {
|
|
6681
|
-
var t, k, f, w,
|
|
6681
|
+
var t, k, f, w, d, y;
|
|
6682
6682
|
let v = "", n = "";
|
|
6683
6683
|
(t = e == null ? void 0 : e.split("/")) == null || t.forEach((T, D) => {
|
|
6684
6684
|
var re;
|
|
@@ -6698,12 +6698,12 @@ const Da = vs(), { loginUserInfo: is } = El(Da), Fl = qa(xl), rs = W(!1), {
|
|
|
6698
6698
|
systemKey: sessionStorage.getItem("systemKey")
|
|
6699
6699
|
}
|
|
6700
6700
|
});
|
|
6701
|
-
return ((w = (f = l == null ? void 0 : l.data) == null ? void 0 : f.result) == null ? void 0 : w.length) > 0 || ((y = (
|
|
6701
|
+
return ((w = (f = l == null ? void 0 : l.data) == null ? void 0 : f.result) == null ? void 0 : w.length) > 0 || ((y = (d = a == null ? void 0 : a.data) == null ? void 0 : d.result) == null ? void 0 : y.length) > 0;
|
|
6702
6702
|
};
|
|
6703
6703
|
Tl(
|
|
6704
6704
|
() => [Rl.value, Or.value],
|
|
6705
6705
|
async (e) => {
|
|
6706
|
-
var t, k, f, w,
|
|
6706
|
+
var t, k, f, w, d, y, T;
|
|
6707
6707
|
if (!Rl.value)
|
|
6708
6708
|
return;
|
|
6709
6709
|
Ll.value = [];
|
|
@@ -6711,13 +6711,13 @@ Tl(
|
|
|
6711
6711
|
(t = v == null ? void 0 : v.scope) == null || t.stop(), v = null, Is.value = !1, rs.value = !0;
|
|
6712
6712
|
const n = (k = e == null ? void 0 : e[0]) != null && k.startsWith("/") ? (f = e == null ? void 0 : e[0]) == null ? void 0 : f.substring(1) : e == null ? void 0 : e[0];
|
|
6713
6713
|
let l = /* @__PURE__ */ new WeakMap();
|
|
6714
|
-
(
|
|
6714
|
+
(d = (w = (await Cs({
|
|
6715
6715
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
6716
6716
|
type: "data,structure,structureMethod"
|
|
6717
6717
|
})).data.result) == null ? void 0 : w.filter((D) => {
|
|
6718
6718
|
var re, L;
|
|
6719
6719
|
return ((re = D == null ? void 0 : D.key) == null ? void 0 : re.pageKey) !== "menu" && ((L = D == null ? void 0 : D.key) == null ? void 0 : L.pageKey) !== "secret";
|
|
6720
|
-
})) == null ||
|
|
6720
|
+
})) == null || d.forEach((D) => {
|
|
6721
6721
|
l[D.key.pageKey] ? l[D.key.pageKey] = [...l[D.key.pageKey], D] : l[D.key.pageKey] = [D];
|
|
6722
6722
|
}), di.value = l, n ? (fa.setContentLoading(!0), sessionStorage.setItem("pageKey", Rl.value), Ll.value = await Bl(n, sessionStorage.getItem("systemKey"), "", !1, [], await Ja.value, l), await Da.setLogRecordAsync({
|
|
6723
6723
|
type: "查询",
|
|
@@ -6741,7 +6741,7 @@ Tl(
|
|
|
6741
6741
|
{ deep: !0 }
|
|
6742
6742
|
);
|
|
6743
6743
|
const Ot = async () => {
|
|
6744
|
-
var a, t, k, f, w,
|
|
6744
|
+
var a, t, k, f, w, d, y, T;
|
|
6745
6745
|
const e = await Gl({
|
|
6746
6746
|
keyLikes: {
|
|
6747
6747
|
pageKey: `loading${((a = is.value) == null ? void 0 : a.account) || ((t = is.value) == null ? void 0 : t.账号)}`,
|
|
@@ -6753,7 +6753,7 @@ const Ot = async () => {
|
|
|
6753
6753
|
systemKey: sessionStorage.getItem("systemKey")
|
|
6754
6754
|
}
|
|
6755
6755
|
});
|
|
6756
|
-
let n = (
|
|
6756
|
+
let n = (d = (w = e == null ? void 0 : e.data) == null ? void 0 : w.result) == null ? void 0 : d.map((D) => D == null ? void 0 : D.id);
|
|
6757
6757
|
const l = (T = (y = v == null ? void 0 : v.data) == null ? void 0 : y.result) == null ? void 0 : T.map((D) => D == null ? void 0 : D.id);
|
|
6758
6758
|
n = [...s(n), ...l], (n == null ? void 0 : n.length) > 0 && (n != null && n.every((D) => D !== null && D)) && (await Ea({
|
|
6759
6759
|
ids: n
|
|
@@ -6784,24 +6784,24 @@ const Ot = async () => {
|
|
|
6784
6784
|
});
|
|
6785
6785
|
const a = Xl(() => s(l == null ? void 0 : l.itemData) || []), t = Xl(() => {
|
|
6786
6786
|
var y;
|
|
6787
|
-
const
|
|
6787
|
+
const d = (y = a == null ? void 0 : a.value) == null ? void 0 : y.find((T) => {
|
|
6788
6788
|
const { key: D } = T;
|
|
6789
6789
|
return D === "baseConfig";
|
|
6790
6790
|
});
|
|
6791
|
-
return
|
|
6791
|
+
return d == null ? void 0 : d.contents;
|
|
6792
6792
|
}), k = Xl(() => {
|
|
6793
6793
|
var y;
|
|
6794
|
-
const
|
|
6794
|
+
const d = (y = a == null ? void 0 : a.value) == null ? void 0 : y.find((T) => {
|
|
6795
6795
|
const { key: D } = T;
|
|
6796
6796
|
return D === "children";
|
|
6797
6797
|
});
|
|
6798
|
-
return
|
|
6798
|
+
return d == null ? void 0 : d.contents;
|
|
6799
6799
|
}), f = Xl(() => {
|
|
6800
|
-
let
|
|
6801
|
-
const y =
|
|
6800
|
+
let d = s(k.value) || [];
|
|
6801
|
+
const y = d.length;
|
|
6802
6802
|
let T = 0;
|
|
6803
6803
|
const D = [];
|
|
6804
|
-
if (
|
|
6804
|
+
if (d = d.map((re) => {
|
|
6805
6805
|
const L = re.span;
|
|
6806
6806
|
return L ? (re.span = Number(L), T = T + re.span) : D.push(re), re;
|
|
6807
6807
|
}), T < 24) {
|
|
@@ -6810,19 +6810,19 @@ const Ot = async () => {
|
|
|
6810
6810
|
L.span = re;
|
|
6811
6811
|
});
|
|
6812
6812
|
}
|
|
6813
|
-
return
|
|
6814
|
-
}), w = (
|
|
6815
|
-
n("rowClick",
|
|
6813
|
+
return d;
|
|
6814
|
+
}), w = (d) => {
|
|
6815
|
+
n("rowClick", d);
|
|
6816
6816
|
};
|
|
6817
|
-
return (
|
|
6817
|
+
return (d, y) => {
|
|
6818
6818
|
var re;
|
|
6819
6819
|
const T = dl("el-col"), D = dl("el-row");
|
|
6820
|
-
return te(),
|
|
6820
|
+
return te(), Te("div", Vr, [
|
|
6821
6821
|
le(D, {
|
|
6822
6822
|
style: Ga({ height: (re = t.value) == null ? void 0 : re.height })
|
|
6823
6823
|
}, {
|
|
6824
6824
|
default: he(() => [
|
|
6825
|
-
(te(!0),
|
|
6825
|
+
(te(!0), Te(bl, null, Al(f.value, (L, De) => (te(), pl(T, {
|
|
6826
6826
|
span: L == null ? void 0 : L.span
|
|
6827
6827
|
}, {
|
|
6828
6828
|
default: he(() => {
|
|
@@ -6882,7 +6882,7 @@ const Ot = async () => {
|
|
|
6882
6882
|
}
|
|
6883
6883
|
], w = (h) => {
|
|
6884
6884
|
t.value = h, l("change", I(), !0);
|
|
6885
|
-
},
|
|
6885
|
+
}, d = W([]), y = W([]), T = (h) => [
|
|
6886
6886
|
{
|
|
6887
6887
|
label: "占比",
|
|
6888
6888
|
prop: "span",
|
|
@@ -6906,7 +6906,7 @@ const Ot = async () => {
|
|
|
6906
6906
|
return C == null ? void 0 : C.contents;
|
|
6907
6907
|
}), De = () => {
|
|
6908
6908
|
var h;
|
|
6909
|
-
a.value = D.value || {},
|
|
6909
|
+
a.value = D.value || {}, d.value = (L == null ? void 0 : L.value) || [], k.value = f(), k.value = (h = k.value) == null ? void 0 : h.map((C) => {
|
|
6910
6910
|
var ae;
|
|
6911
6911
|
const { prop: ce } = C;
|
|
6912
6912
|
return C.value = (ae = re.value) == null ? void 0 : ae[ce], C;
|
|
@@ -6917,17 +6917,17 @@ const Ot = async () => {
|
|
|
6917
6917
|
return (h = L == null ? void 0 : L.value) == null ? void 0 : h.length;
|
|
6918
6918
|
}, () => {
|
|
6919
6919
|
var h;
|
|
6920
|
-
|
|
6920
|
+
d.value = (L == null ? void 0 : L.value) || [], y.value = (h = L.value) == null ? void 0 : h.map((C) => T(C));
|
|
6921
6921
|
}, {
|
|
6922
6922
|
immediate: !0
|
|
6923
6923
|
});
|
|
6924
6924
|
const R = (h, C) => {
|
|
6925
6925
|
const ce = s(L == null ? void 0 : L.value);
|
|
6926
|
-
ce[C].span = h.span,
|
|
6927
|
-
}, O = (h) => Qa(h),
|
|
6926
|
+
ce[C].span = h.span, d.value = ce, l("change", I(), !0);
|
|
6927
|
+
}, O = (h) => Qa(h), Ce = (h, C, ce) => {
|
|
6928
6928
|
if (!h) return;
|
|
6929
6929
|
const ae = s(L == null ? void 0 : L.value);
|
|
6930
|
-
ae[ce] && (ae[ce].compData = h,
|
|
6930
|
+
ae[ce] && (ae[ce].compData = h, d.value = ae, l("change", I(), !0));
|
|
6931
6931
|
}, b = (h) => {
|
|
6932
6932
|
ta.confirm("是否确认要删除", "", {
|
|
6933
6933
|
confirmButtonText: "确认",
|
|
@@ -6935,7 +6935,7 @@ const Ot = async () => {
|
|
|
6935
6935
|
type: "warning"
|
|
6936
6936
|
}).then(() => {
|
|
6937
6937
|
let C = s(L == null ? void 0 : L.value);
|
|
6938
|
-
C = C == null ? void 0 : C.filter((ce, ae) => h !== ae),
|
|
6938
|
+
C = C == null ? void 0 : C.filter((ce, ae) => h !== ae), d.value = C, l("change", I(), !0), Cl({
|
|
6939
6939
|
type: "success",
|
|
6940
6940
|
message: "删除成功"
|
|
6941
6941
|
});
|
|
@@ -6949,13 +6949,13 @@ const Ot = async () => {
|
|
|
6949
6949
|
},
|
|
6950
6950
|
{
|
|
6951
6951
|
key: "children",
|
|
6952
|
-
contents:
|
|
6952
|
+
contents: d == null ? void 0 : d.value
|
|
6953
6953
|
}
|
|
6954
6954
|
]
|
|
6955
6955
|
});
|
|
6956
6956
|
return (h, C) => {
|
|
6957
6957
|
const ce = dl("svg-icon");
|
|
6958
|
-
return te(),
|
|
6958
|
+
return te(), Te("div", Gr, [
|
|
6959
6959
|
$("div", Hr, [
|
|
6960
6960
|
C[1] || (C[1] = $("div", { class: "module-title" }, "基础配置", -1)),
|
|
6961
6961
|
$("div", null, [
|
|
@@ -6970,12 +6970,12 @@ const Ot = async () => {
|
|
|
6970
6970
|
class: "collapse-content",
|
|
6971
6971
|
collapseContents: L.value
|
|
6972
6972
|
}, {
|
|
6973
|
-
title: he(({ item: ae, index:
|
|
6973
|
+
title: he(({ item: ae, index: Ue }) => [
|
|
6974
6974
|
$("div", Jr, [
|
|
6975
6975
|
$("div", qr, Je(ae.name), 1),
|
|
6976
6976
|
$("div", Xr, [
|
|
6977
6977
|
$("div", {
|
|
6978
|
-
onClick: Ia((al) => b(
|
|
6978
|
+
onClick: Ia((al) => b(Ue), ["stop"]),
|
|
6979
6979
|
class: "icon-content"
|
|
6980
6980
|
}, [
|
|
6981
6981
|
le(ce, {
|
|
@@ -6986,20 +6986,20 @@ const Ot = async () => {
|
|
|
6986
6986
|
])
|
|
6987
6987
|
])
|
|
6988
6988
|
]),
|
|
6989
|
-
content: he(({ item: ae, index:
|
|
6989
|
+
content: he(({ item: ae, index: Ue }) => [
|
|
6990
6990
|
$("div", Qr, [
|
|
6991
6991
|
$("div", null, [
|
|
6992
6992
|
(te(), pl(jl, {
|
|
6993
|
-
rowContents: y.value[
|
|
6994
|
-
key:
|
|
6993
|
+
rowContents: y.value[Ue],
|
|
6994
|
+
key: Ue,
|
|
6995
6995
|
isEnableWrap: !0,
|
|
6996
|
-
onChange: (al) => R(al,
|
|
6996
|
+
onChange: (al) => R(al, Ue)
|
|
6997
6997
|
}, null, 8, ["rowContents", "onChange"]))
|
|
6998
6998
|
]),
|
|
6999
6999
|
(te(), pl(ka(O(ae.comp + "Operate")), {
|
|
7000
7000
|
itemContents: ae == null ? void 0 : ae.compData,
|
|
7001
7001
|
originalItemContents: ae.compData,
|
|
7002
|
-
onChange: (al) =>
|
|
7002
|
+
onChange: (al) => Ce(al, ae, Ue)
|
|
7003
7003
|
}, null, 40, ["itemContents", "originalItemContents", "onChange"]))
|
|
7004
7004
|
])
|
|
7005
7005
|
]),
|
|
@@ -7031,12 +7031,12 @@ const Ot = async () => {
|
|
|
7031
7031
|
}, k = (f, w) => {
|
|
7032
7032
|
n("routeUrl", f, w);
|
|
7033
7033
|
};
|
|
7034
|
-
return (f, w) => (te(!0),
|
|
7034
|
+
return (f, w) => (te(!0), Te(bl, null, Al(l == null ? void 0 : l.children, (d, y) => {
|
|
7035
7035
|
var T, D;
|
|
7036
|
-
return te(),
|
|
7036
|
+
return te(), Te("div", {
|
|
7037
7037
|
style: Ga({ gap: "16px", display: "flex", flexDirection: "column", paddingBottom: parseInt(y) === ((T = l == null ? void 0 : l.children) == null ? void 0 : T.length) - 1 ? "0px" : "24px" })
|
|
7038
7038
|
}, [
|
|
7039
|
-
((D =
|
|
7039
|
+
((D = d == null ? void 0 : d.comp) == null ? void 0 : D.toUpperCase()) !== "TABLE" && d.name ? (te(), Te("div", lt, [
|
|
7040
7040
|
$("div", {
|
|
7041
7041
|
class: "group-name-wrap",
|
|
7042
7042
|
style: Ga({
|
|
@@ -7044,20 +7044,20 @@ const Ot = async () => {
|
|
|
7044
7044
|
fontWeight: 600 - (a.value - 1) * 100 >= 400 ? 600 - (a.value - 1) * 100 : 400,
|
|
7045
7045
|
fontSize: 17 - a.value >= 14 ? 17 - a.value + "px" : "14px"
|
|
7046
7046
|
})
|
|
7047
|
-
}, Je(
|
|
7047
|
+
}, Je(d.name), 5)
|
|
7048
7048
|
])) : Vl("", !0),
|
|
7049
|
-
(te(), pl(ka(Kl(pi)(
|
|
7050
|
-
compName:
|
|
7051
|
-
itemData:
|
|
7052
|
-
childItemData:
|
|
7049
|
+
(te(), pl(ka(Kl(pi)(d.comp)), {
|
|
7050
|
+
compName: d.name,
|
|
7051
|
+
itemData: d == null ? void 0 : d.compData,
|
|
7052
|
+
childItemData: d == null ? void 0 : d.itemChildData,
|
|
7053
7053
|
key: Kl(ps),
|
|
7054
7054
|
onChange: Kl(fi),
|
|
7055
|
-
index: (
|
|
7055
|
+
index: (d == null ? void 0 : d.id) ?? y,
|
|
7056
7056
|
onContentChange: Kl(vi),
|
|
7057
7057
|
onPageChange: Kl(yi),
|
|
7058
|
-
parentTableId:
|
|
7058
|
+
parentTableId: d == null ? void 0 : d.tableId,
|
|
7059
7059
|
allMapContents: Kl(di),
|
|
7060
|
-
children:
|
|
7060
|
+
children: d == null ? void 0 : d.children,
|
|
7061
7061
|
level: a.value,
|
|
7062
7062
|
onRowClick: t,
|
|
7063
7063
|
onRouteUrl: k
|