ss-component-new 1.2.93 → 1.2.94
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-BV8uuWxo.cjs → animationData-BXJymBf1.cjs} +1 -1
- package/dist/{animationData-pWr0q4LQ.js → animationData-CC_EC9j-.js} +1 -1
- package/dist/{index-DuPQtW5w.cjs → index--F1U6vAJ.cjs} +1 -1
- package/dist/{index-BiPJErfq.js → index-260Qu36O.js} +3 -3
- package/dist/{index-pRDAMiN6.cjs → index-2LVJybjB.cjs} +1 -1
- package/dist/{index-d8HtdjjA.js → index-3t_HapIu.js} +1 -1
- package/dist/{index-DZOPhOwT.js → index-6MBk7YsU.js} +1 -1
- package/dist/{index-CkJ3dja_.js → index-B-pYf4fC.js} +2 -2
- package/dist/{index-Cg2OBNWR.js → index-BKYwhVDU.js} +369 -370
- package/dist/{index-lwWOeFJ2.cjs → index-BL51CN92.cjs} +1 -1
- package/dist/{index-BrWiZG4y.cjs → index-BOsFRR22.cjs} +1 -1
- package/dist/{index-D9cOD8pq.js → index-BQgBL4mp.js} +12 -12
- package/dist/index-BRNs8_K6.cjs +1 -0
- package/dist/{index-DZVELtDt.cjs → index-BU95sZ0Y.cjs} +1 -1
- package/dist/{index-B-ISmVJC.cjs → index-BWfzhlIb.cjs} +1 -1
- package/dist/{index-xE7sPerP.cjs → index-BcIzliCn.cjs} +1 -1
- package/dist/{index-BehWQ_lM.js → index-BcJ5yKyA.js} +3 -3
- package/dist/{index-C2k82Lij.js → index-Bl3fYYAV.js} +2 -2
- package/dist/{index-CeUaRgKO.cjs → index-C64dGSqi.cjs} +1 -1
- package/dist/{index-DNlkoFfq.cjs → index-C8N3F3ec.cjs} +1 -1
- package/dist/{index-Bnv7-7Q_.js → index-CDNt_0sV.js} +1 -1
- package/dist/{index-B2U5mieP.cjs → index-CjspLKZN.cjs} +1 -1
- package/dist/{index-CA4Rnfh-.cjs → index-Cus62ZeK.cjs} +1 -1
- package/dist/{index-BENFg-Zm.js → index-D78TpO0w.js} +2 -2
- package/dist/{index-sdy4rOwc.js → index-D7s3P2jl.js} +2 -2
- package/dist/{index-B3N4uz-K.js → index-DI0PUVaR.js} +1 -1
- package/dist/{index-FcinJWji.cjs → index-DNJpT0_O.cjs} +1 -1
- package/dist/{index-CCHBi7OE.js → index-DQ5DjIVG.js} +1 -1
- package/dist/{index-VjYMOvAX.js → index-DQFvXEIV.js} +1 -1
- package/dist/{index-Cy6QWoA0.js → index-DQOvMRe3.js} +1 -1
- package/dist/{index-VQkps0BU.cjs → index-IemfeHbH.cjs} +1 -1
- package/dist/{index-BO0QhxMC.js → index-SrN23_le.js} +1 -1
- package/dist/{index-DRfB6AIJ.js → index-c4KXPOVQ.js} +5 -5
- package/dist/{index-HYG7cVcZ.cjs → index-eQzqwKhP.cjs} +1 -1
- package/dist/{index-DW8kOx8l.cjs → index-etoQsMTc.cjs} +1 -1
- package/dist/{index-CX7_nZY6.cjs → index-fGeOwHSq.cjs} +1 -1
- package/dist/{index-DPSCHBsV.js → index-h1B7tCqK.js} +1 -1
- package/dist/{index-DmBA9Ti2.cjs → index-nSK480UF.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-jTusmekk.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CUBR2vja.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-WCDkJgBy.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CYt_iRxB.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B-xjaP8a.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-CVndK9Z1.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CzCs0sf6.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-pPec6lo_.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-CWHB_cKA.cjs → index.vue_vue_type_style_index_1_lang-DSolTjJR.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-B_aFzFdO.js → index.vue_vue_type_style_index_1_lang-DeN-1hjz.js} +1 -1
- package/dist/{main-L79lE2kN.cjs → main-BiNhUZSd.cjs} +1 -1
- package/dist/{main-CY7oPwNS.js → main-rwu2YuKn.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-Dr59FK8j.js → threeModel-B9va_TpV.js} +2 -2
- package/dist/{threeModel-Dq8a_wOl.cjs → threeModel-CxKhN45R.cjs} +1 -1
- package/dist/{threeSceneView-DjR97Vkq.cjs → threeSceneView-Bkm_GCcO.cjs} +1 -1
- package/dist/{threeSceneView-1RY5O4xF.js → threeSceneView-D5zDhJoR.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-Df02-XUC.js → threeSceneViewForCPMPIP-8I4MXfwL.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-B_8OVRtE.cjs → threeSceneViewForCPMPIP-BXDzBuqf.cjs} +1 -1
- package/dist/{threeTrackPathView-BiB_wa-w.js → threeTrackPathView-QDp-h2uJ.js} +1 -1
- package/dist/{threeTrackPathView-BFt_gZ1r.cjs → threeTrackPathView-UDhsLLJ8.cjs} +1 -1
- package/dist/{threeViewerHost-BfHIT_rf.cjs → threeViewerHost-C1cS3BQx.cjs} +1 -1
- package/dist/{threeViewerHost-B5qIQeOb.js → threeViewerHost-Clyh4deQ.js} +1 -1
- package/dist/{workpieceTreePanel-CFmb-A_i.cjs → workpieceTreePanel-BDkiRWjc.cjs} +1 -1
- package/dist/{workpieceTreePanel-CGNBaTZD.js → workpieceTreePanel-IMs7wLsr.js} +2 -2
- package/package.json +1 -1
- package/dist/index-DjGhoJ9G.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-
|
|
1
|
+
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Ko } from "./index-BcJ5yKyA.js";
|
|
2
2
|
import { computed as Ht, ref as ue, watch as mt, onUnmounted as Uo, resolveComponent as Rt, createElementBlock as tt, openBlock as Oe, createVNode as De, createBlock as At, createCommentVNode as fa, withCtx as Le, createElementVNode as le, Fragment as Ut, renderList as Yt, toDisplayString as vt, nextTick as Ga, createTextVNode as Et, defineComponent as ya, resolveDynamicComponent as hn, onMounted as Mn, unref as $t, reactive as ja, renderSlot as An, createSlots as No, mergeProps as ur, normalizeStyle as Pn, withModifiers as Kn, getCurrentInstance as Wo, inject as yl, shallowRef as Vo, toRef as Ho, onBeforeMount as cr, watchEffect as qo, onBeforeUnmount as dr, normalizeClass as ml, getCurrentScope as Go, onScopeDispose as Xo, provide as bl, toRefs as kl, withDirectives as Yo, vShow as Jo } from "vue";
|
|
3
3
|
import { cc as Qo, k as ii, cd as Zo, bS as es, bT as ts, s as Xt, p as qt, u as Mi, c as v, b as Ai, E as Ft, g as va, f as Xi, bK as Bn, bI as Vn, d as vn, bJ as Yi, e as fr, cb as as } from "./index-BUYYl2Pc.js";
|
|
4
|
-
import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-
|
|
4
|
+
import { u as ns, c as sa, a as ll, e as pr, E as hr, f as vr, d as is, b as ls, i as yi } from "./index-h1B7tCqK.js";
|
|
5
5
|
import { a as Rn, u as Hn, i as Ri, ax as rs, ay as gr, an as Ji, az as Oi, aA as yr, j as aa, aB as rl, E as Xa, aC as Qi, aD as ha, aE as Nn, aF as on, aG as In, aH as Ni, l as os, aI as ss, aJ as us, aK as cs, aL as ds, aM as fs, aN as ps, aO as hs, aP as vs } from "./index.vue_vue_type_style_index_1_lang-Bjoq8geZ.js";
|
|
6
6
|
import { s as pa, _ as xl } from "./index-Bg0aEQlB.js";
|
|
7
|
-
import { a as gs, T as ys } from "./threeViewerHost-
|
|
7
|
+
import { a as gs, T as ys } from "./threeViewerHost-Clyh4deQ.js";
|
|
8
8
|
import { aP as ms, aQ as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CdhgB7xx.js";
|
|
9
9
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as wl } from "./isString-BATKat46.js";
|
|
11
|
-
import { a as ks, s as xs } from "./index-
|
|
11
|
+
import { a as ks, s as xs } from "./index-D7s3P2jl.js";
|
|
12
12
|
import mr from "./index-rlStojTL.js";
|
|
13
13
|
import { s as ws } from "./index-BNWYMxbm.js";
|
|
14
14
|
var _s = /\s/;
|
|
@@ -49,7 +49,7 @@ function br(a, r, o) {
|
|
|
49
49
|
var A = i, re = s;
|
|
50
50
|
return i = s = void 0, _ = P, m = a.apply(re, A), m;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function W(P) {
|
|
53
53
|
return _ = P, p = setTimeout(K, r), S ? $(P) : m;
|
|
54
54
|
}
|
|
55
55
|
function Se(P) {
|
|
@@ -79,7 +79,7 @@ function br(a, r, o) {
|
|
|
79
79
|
var P = Wi(), A = q(P);
|
|
80
80
|
if (i = arguments, s = this, f = P, A) {
|
|
81
81
|
if (p === void 0)
|
|
82
|
-
return
|
|
82
|
+
return W(f);
|
|
83
83
|
if (I)
|
|
84
84
|
return clearTimeout(p), p = setTimeout(K, r), $(f);
|
|
85
85
|
}
|
|
@@ -133,7 +133,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
133
133
|
});
|
|
134
134
|
const s = r, c = ue([]), m = ue(!1), p = ue(!1), f = ue([]);
|
|
135
135
|
gs();
|
|
136
|
-
const _ = ue(), S = ue(!1), I = ue(!1), M = ue([]), $ = ue(),
|
|
136
|
+
const _ = ue(), S = ue(!1), I = ue(!1), M = ue([]), $ = ue(), W = ue(!1), Se = ue([]), q = Mo(qt), K = Ro(qt), oe = ue(!1), w = ue(), R = Mi(qt), { loginUserInfo: b } = Xt(R), P = ue(), A = ue(!0), re = Rn(qt), { tableViewContents: Ne, itemData: ut, isEdit: Me, routeToChildPath: Xe, lockingPage: _e } = Xt(re), O = ue(null), te = ue(!1), Z = ue(!1), ye = Hn(), { activeMenuPath: qe } = Xt(ye), dt = Ri(qt), { originalPath: $e } = Xt(dt), E = ue([]), ze = ue([
|
|
137
137
|
{
|
|
138
138
|
label: "编辑",
|
|
139
139
|
value: "operable",
|
|
@@ -173,16 +173,16 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
173
173
|
const Ve = (g) => {
|
|
174
174
|
s("clickTrigger", g);
|
|
175
175
|
}, ft = async (g) => {
|
|
176
|
-
var F, C, B, ne,
|
|
176
|
+
var F, C, B, ne, V, U;
|
|
177
177
|
if (g === "") {
|
|
178
178
|
let ee = "";
|
|
179
179
|
(F = c.value) == null || F.forEach((H) => {
|
|
180
180
|
H != null && H.isMain && (ee = H == null ? void 0 : H.value);
|
|
181
181
|
});
|
|
182
182
|
let Y = await aa(Xe.value, sessionStorage.getItem("systemKey"), "");
|
|
183
|
-
ee = ((
|
|
183
|
+
ee = ((U = (V = (ne = (B = (C = Y == null ? void 0 : Y[0]) == null ? void 0 : C.compData) == null ? void 0 : B.find((H) => (H == null ? void 0 : H.key) === "mainRouters")) == null ? void 0 : ne.contents) == null ? void 0 : V[0]) == null ? void 0 : U.routerContent) + $e.value + ee;
|
|
184
184
|
let fe = await aa(ee, sessionStorage.getItem("systemKey"), "");
|
|
185
|
-
|
|
185
|
+
W.value = !0, Se.value = fe == null ? void 0 : fe.filter((H) => (H == null ? void 0 : H.comp) !== "methodButton"), s("routeUrl", Se.value);
|
|
186
186
|
}
|
|
187
187
|
}, G = () => {
|
|
188
188
|
var F;
|
|
@@ -194,22 +194,22 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
194
194
|
onEnd: (C) => {
|
|
195
195
|
const { oldIndex: B, newIndex: ne } = C;
|
|
196
196
|
if (B === ne) return;
|
|
197
|
-
const
|
|
198
|
-
c.value.splice(ne, 0,
|
|
197
|
+
const V = c.value.splice(B, 1)[0];
|
|
198
|
+
c.value.splice(ne, 0, V);
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
}, nt = async (g, F, C, B = !1) => {
|
|
202
|
-
var ne,
|
|
202
|
+
var ne, V, U, ee, Y, ce, fe, H;
|
|
203
203
|
try {
|
|
204
204
|
re.setRefreshCurStructure(!1);
|
|
205
205
|
const ve = await va({
|
|
206
206
|
id: i == null ? void 0 : i.index
|
|
207
207
|
});
|
|
208
208
|
if (((ne = ve == null ? void 0 : ve.data) == null ? void 0 : ne.code) === 200) {
|
|
209
|
-
let
|
|
210
|
-
B ?
|
|
211
|
-
...
|
|
212
|
-
compData: (fe =
|
|
209
|
+
let N = (Y = (ee = (U = (V = ve == null ? void 0 : ve.data) == null ? void 0 : V.result) == null ? void 0 : U[0]) == null ? void 0 : ee.value) == null ? void 0 : Y.pageData;
|
|
210
|
+
B ? N = {
|
|
211
|
+
...N,
|
|
212
|
+
compData: (fe = N == null ? void 0 : N.compData) == null ? void 0 : fe.map((Ie) => {
|
|
213
213
|
var ge;
|
|
214
214
|
return (Ie == null ? void 0 : Ie.key) === "formContent" ? {
|
|
215
215
|
...Ie,
|
|
@@ -219,9 +219,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
219
219
|
}))
|
|
220
220
|
} : Ie;
|
|
221
221
|
})
|
|
222
|
-
} :
|
|
223
|
-
...
|
|
224
|
-
compData: (ce =
|
|
222
|
+
} : N = {
|
|
223
|
+
...N,
|
|
224
|
+
compData: (ce = N == null ? void 0 : N.compData) == null ? void 0 : ce.map((Ie) => {
|
|
225
225
|
var ge;
|
|
226
226
|
return (Ie == null ? void 0 : Ie.key) === "formContent" ? {
|
|
227
227
|
...Ie,
|
|
@@ -235,7 +235,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
235
235
|
const Re = await Xi({
|
|
236
236
|
id: i == null ? void 0 : i.index,
|
|
237
237
|
value: {
|
|
238
|
-
pageData:
|
|
238
|
+
pageData: N
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
241
|
((H = Re == null ? void 0 : Re.data) == null ? void 0 : H.code) === 200 ? (Ft.success("编辑成功"), re.setRefreshCurStructure(!0)) : Ft.error("编辑响应失败");
|
|
@@ -252,7 +252,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
252
252
|
}, ae = (g, F) => {
|
|
253
253
|
P.value === F ? A.value = !1 : A.value = !0, P.value = F == null ? void 0 : F.changeProp;
|
|
254
254
|
}, Te = async (g) => {
|
|
255
|
-
var C, B, ne,
|
|
255
|
+
var C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge;
|
|
256
256
|
let F = [];
|
|
257
257
|
if ((C = g == null ? void 0 : g.toString()) != null && C.includes(".urdf")) {
|
|
258
258
|
if (g.includes(",")) {
|
|
@@ -262,7 +262,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
262
262
|
f.value = [g], p.value = !0, m.value = !0;
|
|
263
263
|
return;
|
|
264
264
|
}
|
|
265
|
-
if ((B = g == null ? void 0 : g.toString()) != null && B.includes(".stl") || (ne = g == null ? void 0 : g.toString()) != null && ne.includes(".STL") || (
|
|
265
|
+
if ((B = g == null ? void 0 : g.toString()) != null && B.includes(".stl") || (ne = g == null ? void 0 : g.toString()) != null && ne.includes(".STL") || (V = g == null ? void 0 : g.toString()) != null && V.includes(".obj") || (U = g == null ? void 0 : g.toString()) != null && U.includes(".mtl")) {
|
|
266
266
|
f.value = (ee = g == null ? void 0 : g.toString()) == null ? void 0 : ee.split(","), p.value = !1, m.value = !0;
|
|
267
267
|
return;
|
|
268
268
|
}
|
|
@@ -270,7 +270,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
270
270
|
let L, pe = [], be = {};
|
|
271
271
|
if (Array.isArray(g) ? L = g : L = g == null ? void 0 : g.split(","), L == null || L.forEach((ke) => {
|
|
272
272
|
ke.includes(".mtl") ? pe.push(ke) : be.blob = be.blob ? be.blob + "," + ke : ke;
|
|
273
|
-
}), (pe == null ? void 0 : pe.length) > 0 && (be.mtlBlobs = pe), (
|
|
273
|
+
}), (pe == null ? void 0 : pe.length) > 0 && (be.mtlBlobs = pe), (N = (ve = Object.values(be)) == null ? void 0 : ve[0]) != null && N.includes("http:"))
|
|
274
274
|
F.push(be);
|
|
275
275
|
else {
|
|
276
276
|
const ke = new Blob([be.blob], {
|
|
@@ -313,8 +313,8 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
313
313
|
}, me = () => {
|
|
314
314
|
I.value = !1;
|
|
315
315
|
}, at = (g) => {
|
|
316
|
-
var
|
|
317
|
-
const F = (
|
|
316
|
+
var V, U, ee, Y;
|
|
317
|
+
const F = (U = (V = v(i.itemData)) == null ? void 0 : V.find((ce) => (ce == null ? void 0 : ce.key) === "formContent")) == null ? void 0 : U.contents, C = v(g.content);
|
|
318
318
|
let B = {};
|
|
319
319
|
C && ((ee = Object.values(C)) == null ? void 0 : ee.length) > 0 && ((Y = Object.values(C)) == null || Y.forEach((ce, fe) => {
|
|
320
320
|
B[F[fe].key] = ce;
|
|
@@ -326,9 +326,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
326
326
|
};
|
|
327
327
|
s("change", ne);
|
|
328
328
|
}, lt = Ht(() => "http://222.92.178.198:62001"), k = async (g) => {
|
|
329
|
-
var ve,
|
|
329
|
+
var ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge;
|
|
330
330
|
if (!g) return;
|
|
331
|
-
(
|
|
331
|
+
(N = (ve = i == null ? void 0 : i.itemData) == null ? void 0 : ve.find((X) => (X == null ? void 0 : X.key) === "parentFormPath")) == null || N.contents;
|
|
332
332
|
let F = Ne.value;
|
|
333
333
|
(F == null ? void 0 : F.length) > 0 && (F = F == null ? void 0 : F.map((X) => {
|
|
334
334
|
var de, Pe, D, xe;
|
|
@@ -345,10 +345,10 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
345
345
|
value: Kt
|
|
346
346
|
})) : [], (Ye = de == null ? void 0 : de.key) != null && Ye.includes("$") && (de.key = (bt = (it = de == null ? void 0 : de.key) == null ? void 0 : it.split("$")) == null ? void 0 : bt[0]), de.signature = (Ot = (Lt = c.value) == null ? void 0 : Lt.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : Ot.signature, de.isLoginUser = (It = (Ct = c.value) == null ? void 0 : Ct.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : It.isLoginUser, de.value = (Nt = Object.values(g)) == null ? void 0 : Nt[Pe], de.isFormColHidden = (Vt = (Qt = c.value) == null ? void 0 : Qt.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : Vt.isFormColHidden, de;
|
|
347
347
|
})), X;
|
|
348
|
-
}), ne = c.value,
|
|
348
|
+
}), ne = c.value, V = (Ie = (Re = v(B)) == null ? void 0 : Re.find((X) => (X == null ? void 0 : X.key) === "formContent")) == null ? void 0 : Ie.contents;
|
|
349
349
|
if (ne = ne == null ? void 0 : ne.map((X) => {
|
|
350
350
|
var he;
|
|
351
|
-
return X.value = (he =
|
|
351
|
+
return X.value = (he = V == null ? void 0 : V.find((de, Pe) => ((de == null ? void 0 : de.id) ?? Pe) === (X == null ? void 0 : X.id))) == null ? void 0 : he.value, X;
|
|
352
352
|
}), !A.value) {
|
|
353
353
|
s("contentChange", {
|
|
354
354
|
contents: B,
|
|
@@ -356,18 +356,18 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
356
356
|
});
|
|
357
357
|
return;
|
|
358
358
|
}
|
|
359
|
-
let
|
|
359
|
+
let U = "", ee = (pe = (L = (ge = v(B)) == null ? void 0 : ge.find((X) => (X == null ? void 0 : X.key) === "formContent")) == null ? void 0 : L.contents) == null ? void 0 : pe.find((X, he) => {
|
|
360
360
|
var de, Pe, D;
|
|
361
361
|
return (X == null ? void 0 : X.label) === P.value || he.toString() === ((D = (Pe = (de = P.value) == null ? void 0 : de.split("t")) == null ? void 0 : Pe[1]) == null ? void 0 : D.toString());
|
|
362
362
|
}), Y = (be = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : be.menuSelect, ce = !0;
|
|
363
363
|
if ((et = (Fe = (ke = v(B)) == null ? void 0 : ke.find((X) => (X == null ? void 0 : X.key) === "formContent")) == null ? void 0 : Fe.contents) == null || et.forEach((X) => {
|
|
364
364
|
var he, de, Pe, D, xe, ot;
|
|
365
|
-
ce && ((Pe = (de = (he = X == null ? void 0 : X.optionUrl) == null ? void 0 : he.groupSelect) == null ? void 0 : de[1]) != null && Pe.includes("[")) && (
|
|
365
|
+
ce && ((Pe = (de = (he = X == null ? void 0 : X.optionUrl) == null ? void 0 : he.groupSelect) == null ? void 0 : de[1]) != null && Pe.includes("[")) && (U = (xe = (D = X == null ? void 0 : X.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : xe[1], JSON.stringify(Y) === JSON.stringify((ot = X == null ? void 0 : X.optionUrl) == null ? void 0 : ot.menuSelect) && (ce = !1));
|
|
366
366
|
}), (Ae = ee == null ? void 0 : ee.optionUrl) != null && Ae.menuSelect && A.value) {
|
|
367
367
|
let X = await Fo(ee), he, de = (Ke = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : Ke.menuSelect;
|
|
368
368
|
if (X == null || X.forEach((Pe) => {
|
|
369
369
|
var D, xe, ot, Ze, ht, xt, yt, Qe, Ee, Ye;
|
|
370
|
-
|
|
370
|
+
U === ((xe = (D = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : xe[1]) && ((ht = (Ze = (ot = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Ze[1]) != null && ht.includes("[")) && ((Ye = v(Pe)) == null ? void 0 : Ye[(Ee = (Qe = (yt = (xt = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : xt.groupSelect) == null ? void 0 : yt[1]) == null ? void 0 : Qe.replaceAll("[", "")) == null ? void 0 : Ee.replaceAll("]", "")]) === (ee == null ? void 0 : ee.value) && (he = Pe);
|
|
371
371
|
}), he) {
|
|
372
372
|
let Pe = v(ne);
|
|
373
373
|
Pe = Pe == null ? void 0 : Pe.map((xe) => {
|
|
@@ -447,10 +447,10 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
447
447
|
return mt(
|
|
448
448
|
() => i.itemData,
|
|
449
449
|
async () => {
|
|
450
|
-
var
|
|
451
|
-
const g = (
|
|
450
|
+
var U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke;
|
|
451
|
+
const g = (U = i.itemData) == null ? void 0 : U.find((se) => (se == null ? void 0 : se.key) === "formContent"), F = (ee = v(i.itemData)) == null ? void 0 : ee.find((se) => (se == null ? void 0 : se.key) === "formButton"), C = (Y = v(i.itemData)) == null ? void 0 : Y.find((se) => (se == null ? void 0 : se.key) === "formFlex"), B = (ce = v(i.itemData)) == null ? void 0 : ce.find((se) => (se == null ? void 0 : se.key) === "formWrap"), ne = (fe = v(i.itemData)) == null ? void 0 : fe.find((se) => (se == null ? void 0 : se.key) === "enableWrap");
|
|
452
452
|
if ((B == null ? void 0 : B.contents) === "纵向" ? S.value = !1 : S.value = !0, oe.value = (ne == null ? void 0 : ne.contents) === void 0 ? !1 : ne == null ? void 0 : ne.contents, w.value = typeof (C == null ? void 0 : C.contents) != "boolean" ? !(!(C != null && C.contents) === "" || ((H = C == null ? void 0 : C.contents) == null ? void 0 : H.toUpperCase()) === "VERTICAL") : C == null ? void 0 : C.contents, ((ve = g == null ? void 0 : g.contents) == null ? void 0 : ve.length) > 0 && Array.isArray(g == null ? void 0 : g.contents)) {
|
|
453
|
-
let se = i.allMapContents, Be = (Re = (
|
|
453
|
+
let se = i.allMapContents, Be = (Re = (N = v(g)) == null ? void 0 : N.contents) == null ? void 0 : Re.map((D, xe) => {
|
|
454
454
|
var Ot, Ct, It, Nt, Qt, Vt, Kt, ua, _a, oa, Ka, Pa, Ua, Ya, Ba, Ja, $a, Qa, Za, en, tn, ma, gn, an, Ma, sn, nn;
|
|
455
455
|
let ot = (D == null ? void 0 : D.label) ?? (D == null ? void 0 : D.key) ?? "", Ze = (D == null ? void 0 : D.type) ?? "", ht = (D == null ? void 0 : D.options) ?? [];
|
|
456
456
|
if ((Ot = D == null ? void 0 : D.key) != null && Ot.includes("$") && (ot = (Ct = v(D == null ? void 0 : D.key).split("$")) == null ? void 0 : Ct[0], ((Nt = (It = v(D == null ? void 0 : D.key).split("$")) == null ? void 0 : It[1]) == null ? void 0 : Nt.length) > 0)) {
|
|
@@ -605,12 +605,12 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
605
605
|
});
|
|
606
606
|
} else
|
|
607
607
|
c.value = [];
|
|
608
|
-
let
|
|
609
|
-
if ((
|
|
608
|
+
let V = Ne.value;
|
|
609
|
+
if ((V == null ? void 0 : V.length) > 0 && (V = V == null ? void 0 : V.map((se) => {
|
|
610
610
|
var Ge, X, he, de;
|
|
611
611
|
let Be = (Ge = se == null ? void 0 : se.key) == null ? void 0 : Ge.split("/");
|
|
612
612
|
return (i == null ? void 0 : i.compName) === (Be == null ? void 0 : Be[0]) && (X = c.value) != null && X.find((Pe) => (Pe == null ? void 0 : Pe.prop) === (Be == null ? void 0 : Be[1])) && (se.value = (de = (he = c.value) == null ? void 0 : he.find((Pe) => (Pe == null ? void 0 : Pe.prop) === (Be == null ? void 0 : Be[1]))) == null ? void 0 : de.value), se;
|
|
613
|
-
}), re.setTableViewContents(
|
|
613
|
+
}), re.setTableViewContents(V)), i != null && i.formRules)
|
|
614
614
|
_.value = i == null ? void 0 : i.formRules;
|
|
615
615
|
else {
|
|
616
616
|
let se = {};
|
|
@@ -637,7 +637,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
637
637
|
), mt(() => _e.value, (g) => {
|
|
638
638
|
Z.value = g === qe.value;
|
|
639
639
|
}, { immediate: !0 }), (g, F) => {
|
|
640
|
-
const C = Rt("svg-icon"), B = Rt("el-switch"), ne = Rt("el-checkbox"),
|
|
640
|
+
const C = Rt("svg-icon"), B = Rt("el-switch"), ne = Rt("el-checkbox"), V = Rt("el-popover"), U = Rt("el-checkbox-group");
|
|
641
641
|
return Oe(), tt("div", Ms, [
|
|
642
642
|
De(sa, {
|
|
643
643
|
rowContents: c.value,
|
|
@@ -658,7 +658,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
658
658
|
onClickTrigger: Ve
|
|
659
659
|
}, {
|
|
660
660
|
operateCol: Le(({ renderColumns: ee, formDisabled: Y, formLabelsOperable: ce }) => [
|
|
661
|
-
De(
|
|
661
|
+
De(V, {
|
|
662
662
|
title: "选择操作的标签",
|
|
663
663
|
placement: "left-start",
|
|
664
664
|
"popper-class": "menu-operate-popover",
|
|
@@ -690,7 +690,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
690
690
|
onChange: je
|
|
691
691
|
}, null, 8, ["model-value"]),
|
|
692
692
|
F[2] || (F[2] = le("div", { class: "group-title" }, "表单列操作", -1)),
|
|
693
|
-
De(
|
|
693
|
+
De(U, {
|
|
694
694
|
modelValue: E.value,
|
|
695
695
|
"onUpdate:modelValue": F[0] || (F[0] = (fe) => E.value = fe),
|
|
696
696
|
style: { height: "100%" },
|
|
@@ -712,7 +712,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
712
712
|
]),
|
|
713
713
|
_: 2
|
|
714
714
|
}, 1032, ["value"]),
|
|
715
|
-
De(
|
|
715
|
+
De(V, {
|
|
716
716
|
title: "标签操作",
|
|
717
717
|
placement: "left",
|
|
718
718
|
teleported: !1,
|
|
@@ -729,14 +729,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
729
729
|
return [
|
|
730
730
|
le("div", Fs, [
|
|
731
731
|
(Oe(!0), tt(Ut, null, Yt((H = Object.keys(fe)) == null ? void 0 : H.filter((ve) => {
|
|
732
|
-
var
|
|
733
|
-
return (
|
|
732
|
+
var N;
|
|
733
|
+
return (N = ze.value) == null ? void 0 : N.find((Re) => (Re == null ? void 0 : Re.value) === ve);
|
|
734
734
|
}), (ve) => {
|
|
735
|
-
var
|
|
735
|
+
var N, Re;
|
|
736
736
|
return Oe(), tt("div", { key: ve }, [
|
|
737
737
|
De(ll, {
|
|
738
738
|
value: fe == null ? void 0 : fe[ve],
|
|
739
|
-
"active-text": (Re = (
|
|
739
|
+
"active-text": (Re = (N = ze.value) == null ? void 0 : N.find((Ie) => (Ie == null ? void 0 : Ie.value) === ve)) == null ? void 0 : Re.label,
|
|
740
740
|
inactiveText: "",
|
|
741
741
|
onChange: (Ie) => Q(Ie, ve, fe)
|
|
742
742
|
}, null, 8, ["value", "active-text", "onChange"])
|
|
@@ -970,7 +970,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
970
970
|
i("fixChange", v(w));
|
|
971
971
|
}, $ = (w) => {
|
|
972
972
|
i("deleteChange", v(w));
|
|
973
|
-
},
|
|
973
|
+
}, W = (w) => {
|
|
974
974
|
s.value = !0;
|
|
975
975
|
let R = [];
|
|
976
976
|
Mt == null || Mt.forEach((b) => {
|
|
@@ -1040,7 +1040,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1040
1040
|
name: "ChildAdd",
|
|
1041
1041
|
class: "svg-icon-content",
|
|
1042
1042
|
style: { width: "24px", height: "24px" },
|
|
1043
|
-
onClick: (re) =>
|
|
1043
|
+
onClick: (re) => W(P)
|
|
1044
1044
|
}, null, 8, ["onClick"]),
|
|
1045
1045
|
De(b, {
|
|
1046
1046
|
name: "ChildFix",
|
|
@@ -1137,7 +1137,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1137
1137
|
contents: b == null ? void 0 : b.options
|
|
1138
1138
|
});
|
|
1139
1139
|
}), c.value = w == null ? void 0 : w.id, _.value = R, S.value = R;
|
|
1140
|
-
},
|
|
1140
|
+
}, W = (w) => {
|
|
1141
1141
|
let R = v(S.value);
|
|
1142
1142
|
R = R == null ? void 0 : R.map((b) => (b.children || (b.value = w == null ? void 0 : w[b.name]), b)), S.value = R;
|
|
1143
1143
|
}, Se = () => {
|
|
@@ -1230,7 +1230,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1230
1230
|
rowContents: _.value,
|
|
1231
1231
|
key: _.value,
|
|
1232
1232
|
isEnableWrap: !0,
|
|
1233
|
-
onChange:
|
|
1233
|
+
onChange: W
|
|
1234
1234
|
}, null, 8, ["rowContents"]))
|
|
1235
1235
|
])
|
|
1236
1236
|
]),
|
|
@@ -1279,7 +1279,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1279
1279
|
},
|
|
1280
1280
|
emits: ["change"],
|
|
1281
1281
|
setup(a, { emit: r }) {
|
|
1282
|
-
const o = a, i = r, s = ue([]), c = ue(!1), m = ue(!1), p = ue([]), f = ue(!1), _ = ue([]), S = ue(!1), I = ue([]), M = ue(""), $ = ue(""),
|
|
1282
|
+
const o = a, i = r, s = ue([]), c = ue(!1), m = ue(!1), p = ue([]), f = ue(!1), _ = ue([]), S = ue(!1), I = ue([]), M = ue(""), $ = ue(""), W = ue([]), Se = ue([]), q = ue([]), K = ue([]), oe = ue(!1), w = ue([]), R = ue([]), b = ue(0), P = ue([]), A = ue([]), re = ue([]), Ne = () => {
|
|
1283
1283
|
oe.value = !0;
|
|
1284
1284
|
let k = [];
|
|
1285
1285
|
dn == null || dn.forEach((x) => {
|
|
@@ -1309,29 +1309,29 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1309
1309
|
}, Me = (k) => {
|
|
1310
1310
|
k || (P.value = A.value);
|
|
1311
1311
|
}, Xe = async (k) => {
|
|
1312
|
-
var x, g, F, C, B, ne,
|
|
1312
|
+
var x, g, F, C, B, ne, V, U, ee, Y, ce, fe;
|
|
1313
1313
|
if ((k == null ? void 0 : k.类型) !== ((g = (x = A.value) == null ? void 0 : x.find((H) => (H == null ? void 0 : H.label) === "类型")) == null ? void 0 : g.value)) {
|
|
1314
|
-
let H = [], ve = await ((B = (C = (F = ha) == null ? void 0 : F.find((
|
|
1315
|
-
if (ve == null || ve.forEach((
|
|
1314
|
+
let H = [], ve = await ((B = (C = (F = ha) == null ? void 0 : F.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : C.value) == null ? void 0 : B.value) ? await ((Y = (ee = (U = ha) == null ? void 0 : U.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : ee.value) == null ? void 0 : Y.value) : (V = (ne = ha) == null ? void 0 : ne.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : V.value;
|
|
1315
|
+
if (ve == null || ve.forEach((N) => {
|
|
1316
1316
|
b.value++, H.push({
|
|
1317
|
-
label:
|
|
1318
|
-
name: (
|
|
1319
|
-
type:
|
|
1320
|
-
value:
|
|
1317
|
+
label: N == null ? void 0 : N.label,
|
|
1318
|
+
name: (N == null ? void 0 : N.name) || (N == null ? void 0 : N.label),
|
|
1319
|
+
type: N.type,
|
|
1320
|
+
value: N != null && N.属性名 ? (k == null ? void 0 : k.prop) || (k == null ? void 0 : k.name) || (k == null ? void 0 : k.label) : (k == null ? void 0 : k[N.label]) ?? "",
|
|
1321
1321
|
id: b.value,
|
|
1322
|
-
contents:
|
|
1323
|
-
prop: (
|
|
1322
|
+
contents: N == null ? void 0 : N.options,
|
|
1323
|
+
prop: (N == null ? void 0 : N.prop) || (N == null ? void 0 : N.name) || (N == null ? void 0 : N.label)
|
|
1324
1324
|
});
|
|
1325
1325
|
}), k != null && k.菜单选项 && ((ce = k == null ? void 0 : k.菜单选项) == null ? void 0 : ce.length) > 0) {
|
|
1326
|
-
const
|
|
1327
|
-
H = H == null ? void 0 : H.map((Re) => ((Re == null ? void 0 : Re.name) === "组信息选项" && (Re.contents =
|
|
1326
|
+
const N = await Nn(k == null ? void 0 : k.菜单选项);
|
|
1327
|
+
H = H == null ? void 0 : H.map((Re) => ((Re == null ? void 0 : Re.name) === "组信息选项" && (Re.contents = N), Re));
|
|
1328
1328
|
}
|
|
1329
1329
|
A.value = await on(v(H)), P.value = await on(v(H));
|
|
1330
1330
|
} else {
|
|
1331
1331
|
let H = v(P.value);
|
|
1332
1332
|
if (H = H == null ? void 0 : H.map((ve) => (ve.value = k == null ? void 0 : k[ve.name], ve)), k != null && k.菜单选项 && ((fe = k == null ? void 0 : k.菜单选项) == null ? void 0 : fe.length) > 0) {
|
|
1333
1333
|
const ve = await Nn(k == null ? void 0 : k.菜单选项);
|
|
1334
|
-
H = H == null ? void 0 : H.map((
|
|
1334
|
+
H = H == null ? void 0 : H.map((N) => ((N == null ? void 0 : N.name) === "组信息选项" && (N.contents = ve), N));
|
|
1335
1335
|
}
|
|
1336
1336
|
H = In(H), A.value = await on(v(H));
|
|
1337
1337
|
}
|
|
@@ -1358,10 +1358,10 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
return (k == null ? void 0 : k.label) === "类型" && x[k.key] === "" ? "Input" : (k == null ? void 0 : k.key) === "isFormColHidden" && !x[k.key] ? !1 : x[k.key];
|
|
1360
1360
|
}, te = async (k) => {
|
|
1361
|
-
var F, C, B, ne,
|
|
1361
|
+
var F, C, B, ne, V, U, ee, Y, ce;
|
|
1362
1362
|
m.value = !0;
|
|
1363
1363
|
let x = [];
|
|
1364
|
-
const g = await ((B = (C = (F = ha) == null ? void 0 : F.find((fe) => (fe == null ? void 0 : fe.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : C.value) == null ? void 0 : B.value) ? await ((Y = (ee = (
|
|
1364
|
+
const g = await ((B = (C = (F = ha) == null ? void 0 : F.find((fe) => (fe == null ? void 0 : fe.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : C.value) == null ? void 0 : B.value) ? await ((Y = (ee = (U = ha) == null ? void 0 : U.find((fe) => (fe == null ? void 0 : fe.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : ee.value) == null ? void 0 : Y.value) : (V = (ne = ha) == null ? void 0 : ne.find((fe) => (fe == null ? void 0 : fe.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : V.value;
|
|
1365
1365
|
if (g == null || g.forEach((fe) => {
|
|
1366
1366
|
b.value++, x.push({
|
|
1367
1367
|
label: fe == null ? void 0 : fe.label,
|
|
@@ -1395,19 +1395,19 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1395
1395
|
}, ye = () => {
|
|
1396
1396
|
m.value = !1, P.value = [], M.value = "";
|
|
1397
1397
|
}, qe = async () => {
|
|
1398
|
-
var F, C, B, ne,
|
|
1398
|
+
var F, C, B, ne, V, U, ee, Y, ce, fe;
|
|
1399
1399
|
P.value = A.value;
|
|
1400
1400
|
let k = {};
|
|
1401
1401
|
M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value);
|
|
1402
1402
|
let x = await ((B = (C = (F = ha) == null ? void 0 : F.find((H) => {
|
|
1403
|
-
var ve,
|
|
1404
|
-
return (H == null ? void 0 : H.key) === (((
|
|
1405
|
-
})) == null ? void 0 : C.value) == null ? void 0 : B.value) ?? ((
|
|
1406
|
-
var ve,
|
|
1407
|
-
return (H == null ? void 0 : H.key) === (((
|
|
1408
|
-
})) == null ? void 0 :
|
|
1409
|
-
if ((
|
|
1410
|
-
const ve = x == null ? void 0 : x.find((
|
|
1403
|
+
var ve, N;
|
|
1404
|
+
return (H == null ? void 0 : H.key) === (((N = (ve = P.value) == null ? void 0 : ve.find((Re) => (Re == null ? void 0 : Re.label) === "类型")) == null ? void 0 : N.value) ?? "label");
|
|
1405
|
+
})) == null ? void 0 : C.value) == null ? void 0 : B.value) ?? ((V = (ne = ha) == null ? void 0 : ne.find((H) => {
|
|
1406
|
+
var ve, N;
|
|
1407
|
+
return (H == null ? void 0 : H.key) === (((N = (ve = P.value) == null ? void 0 : ve.find((Re) => (Re == null ? void 0 : Re.label) === "类型")) == null ? void 0 : N.value) ?? "label");
|
|
1408
|
+
})) == null ? void 0 : V.value);
|
|
1409
|
+
if ((U = P.value) == null || U.forEach((H) => {
|
|
1410
|
+
const ve = x == null ? void 0 : x.find((N) => (N == null ? void 0 : N.label) === (H == null ? void 0 : H.label));
|
|
1411
1411
|
ve && (k[ve.key] = H.value);
|
|
1412
1412
|
}), k.name = k.label, (ee = re.value) != null && ee.find((H) => H.id === k.id))
|
|
1413
1413
|
re.value = (Y = re.value) == null ? void 0 : Y.map((H) => (H.id === k.id && (H = k), H));
|
|
@@ -1466,18 +1466,18 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1466
1466
|
var g, F, C, B, ne;
|
|
1467
1467
|
w.value = R.value;
|
|
1468
1468
|
let k = {};
|
|
1469
|
-
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = w.value) == null || g.forEach((
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1472
|
-
}), (F = Se.value) != null && F.find((
|
|
1473
|
-
Se.value = (C = Se.value) == null ? void 0 : C.map((
|
|
1469
|
+
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = w.value) == null || g.forEach((V) => {
|
|
1470
|
+
const U = dn == null ? void 0 : dn.find((ee) => (ee == null ? void 0 : ee.label) === (V == null ? void 0 : V.label));
|
|
1471
|
+
U ? k[U.key] = V.value : V != null && V.children && V.children.length > 0 && (k.children = V.children);
|
|
1472
|
+
}), (F = Se.value) != null && F.find((V) => V.id === k.id))
|
|
1473
|
+
Se.value = (C = Se.value) == null ? void 0 : C.map((V) => (V.id === k.id && (V = k), V));
|
|
1474
1474
|
else {
|
|
1475
|
-
let
|
|
1476
|
-
|
|
1475
|
+
let V = v(Se.value) ?? [];
|
|
1476
|
+
V.push(k), Se.value = V;
|
|
1477
1477
|
}
|
|
1478
1478
|
oe.value = !1, M.value = "";
|
|
1479
1479
|
let x = v(o.originalItemContents);
|
|
1480
|
-
(B = v(o.originalItemContents)) != null && B.find((
|
|
1480
|
+
(B = v(o.originalItemContents)) != null && B.find((V) => (V == null ? void 0 : V.key) === "extraButton") ? x = (ne = v(o.originalItemContents)) == null ? void 0 : ne.map((V) => ((V == null ? void 0 : V.key) === "extraButton" && (V.contents = Se.value), V)) : x.push({
|
|
1481
1481
|
key: "extraButton",
|
|
1482
1482
|
contents: Se.value
|
|
1483
1483
|
}), i("change", x);
|
|
@@ -1507,7 +1507,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1507
1507
|
}).then(
|
|
1508
1508
|
() => {
|
|
1509
1509
|
var x, g;
|
|
1510
|
-
|
|
1510
|
+
W.value = (x = v(W.value)) == null ? void 0 : x.filter((F) => (F == null ? void 0 : F.id) !== (k == null ? void 0 : k.id)), i("change", (g = v(o.originalItemContents)) == null ? void 0 : g.map((F) => ((F == null ? void 0 : F.key) === "rowButton" && (F.contents = W.value), F))), Ft({
|
|
1511
1511
|
type: "success",
|
|
1512
1512
|
message: "删除成功"
|
|
1513
1513
|
});
|
|
@@ -1547,20 +1547,20 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1547
1547
|
var g, F, C, B, ne;
|
|
1548
1548
|
q.value = K.value;
|
|
1549
1549
|
let k = {};
|
|
1550
|
-
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = q.value) == null || g.forEach((
|
|
1551
|
-
const
|
|
1552
|
-
|
|
1553
|
-
}), (F =
|
|
1554
|
-
|
|
1550
|
+
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = q.value) == null || g.forEach((V) => {
|
|
1551
|
+
const U = fn == null ? void 0 : fn.find((ee) => (ee == null ? void 0 : ee.label) === (V == null ? void 0 : V.label));
|
|
1552
|
+
U ? k[U.key] = V.value : V != null && V.children && V.children.length > 0 && (k.children = V.children);
|
|
1553
|
+
}), (F = W.value) != null && F.find((V) => V.id === k.id))
|
|
1554
|
+
W.value = (C = W.value) == null ? void 0 : C.map((V) => (V.id === k.id && (V = k), V));
|
|
1555
1555
|
else {
|
|
1556
|
-
let
|
|
1557
|
-
|
|
1556
|
+
let V = v(W.value);
|
|
1557
|
+
V.push(k), W.value = V;
|
|
1558
1558
|
}
|
|
1559
1559
|
f.value = !1, M.value = "";
|
|
1560
1560
|
let x = v(o.originalItemContents);
|
|
1561
|
-
(B = v(o.originalItemContents)) != null && B.find((
|
|
1561
|
+
(B = v(o.originalItemContents)) != null && B.find((V) => (V == null ? void 0 : V.key) === "rowButton") ? x = (ne = v(o.originalItemContents)) == null ? void 0 : ne.map((V) => ((V == null ? void 0 : V.key) === "rowButton" && (V.contents = W.value), V)) : x.push({
|
|
1562
1562
|
key: "rowButton",
|
|
1563
|
-
contents:
|
|
1563
|
+
contents: W.value
|
|
1564
1564
|
}), i("change", x);
|
|
1565
1565
|
}, nt = () => {
|
|
1566
1566
|
f.value = !1, M.value = "", K.value = [], q.value = [];
|
|
@@ -1614,21 +1614,21 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1614
1614
|
}, me = () => {
|
|
1615
1615
|
c.value = !1, M.value = "", $.value = "", I.value = [];
|
|
1616
1616
|
}, at = () => {
|
|
1617
|
-
var g, F, C, B, ne,
|
|
1617
|
+
var g, F, C, B, ne, V;
|
|
1618
1618
|
_.value = I.value;
|
|
1619
1619
|
let k = {};
|
|
1620
|
-
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = _.value) == null || g.forEach((
|
|
1621
|
-
const ee = Mt == null ? void 0 : Mt.find((Y) => (Y == null ? void 0 : Y.label) === (
|
|
1622
|
-
ee ? k[ee.key] =
|
|
1623
|
-
}), (F = p.value) != null && F.find((
|
|
1624
|
-
p.value = (C = p.value) == null ? void 0 : C.map((
|
|
1620
|
+
if (M.value !== "" ? k.id = M.value : (b.value++, k.id = "id" + b.value), (g = _.value) == null || g.forEach((U) => {
|
|
1621
|
+
const ee = Mt == null ? void 0 : Mt.find((Y) => (Y == null ? void 0 : Y.label) === (U == null ? void 0 : U.label));
|
|
1622
|
+
ee ? k[ee.key] = U.value : U != null && U.children && U.children.length > 0 && (k.children = U.children);
|
|
1623
|
+
}), (F = p.value) != null && F.find((U) => U.id === k.id))
|
|
1624
|
+
p.value = (C = p.value) == null ? void 0 : C.map((U) => (U.id === k.id && (U = k), U));
|
|
1625
1625
|
else {
|
|
1626
|
-
let
|
|
1627
|
-
$.value === "" ?
|
|
1626
|
+
let U = v(p.value) ?? [];
|
|
1627
|
+
$.value === "" ? U.push(k) : U = U == null ? void 0 : U.map((ee) => (ee.id === $.value && (ee.children || (ee.children = []), ee.children.push(k)), ee)), p.value = U;
|
|
1628
1628
|
}
|
|
1629
|
-
p.value = (B = p.value) != null && B.some((
|
|
1629
|
+
p.value = (B = p.value) != null && B.some((U) => U == null ? void 0 : U.children) ? [p.value] : p.value, c.value = !1, M.value = "", $.value = "";
|
|
1630
1630
|
let x = v(o.originalItemContents);
|
|
1631
|
-
(ne = v(o.originalItemContents)) != null && ne.find((
|
|
1631
|
+
(ne = v(o.originalItemContents)) != null && ne.find((U) => (U == null ? void 0 : U.key) === "header") ? x = (V = v(o.originalItemContents)) == null ? void 0 : V.map((U) => ((U == null ? void 0 : U.key) === "header" && (U.contents = p.value), U)) : x.push({
|
|
1632
1632
|
key: "header",
|
|
1633
1633
|
contents: p.value
|
|
1634
1634
|
}), i("change", x);
|
|
@@ -1654,9 +1654,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1654
1654
|
return mt(
|
|
1655
1655
|
() => o.originalItemContents,
|
|
1656
1656
|
() => {
|
|
1657
|
-
var k, x, g, F, C, B, ne,
|
|
1657
|
+
var k, x, g, F, C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge;
|
|
1658
1658
|
if (!(!o.originalItemContents || o.originalItemContents.length === 0))
|
|
1659
|
-
if (s.value = v(o.originalItemContents), p.value = (x = (k = s.value) == null ? void 0 : k.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : x.contents,
|
|
1659
|
+
if (s.value = v(o.originalItemContents), p.value = (x = (k = s.value) == null ? void 0 : k.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : x.contents, W.value = (F = (g = s.value) == null ? void 0 : g.find((L) => (L == null ? void 0 : L.key) === "rowButton")) == null ? void 0 : F.contents, Se.value = (B = (C = s.value) == null ? void 0 : C.find((L) => (L == null ? void 0 : L.key) === "extraButton")) == null ? void 0 : B.contents, S.value = (V = (ne = s.value) == null ? void 0 : ne.find((L) => (L == null ? void 0 : L.key) === "page")) != null && V.contents ? !!((ee = (U = s.value) == null ? void 0 : U.find((L) => (L == null ? void 0 : L.key) === "page")) != null && ee.contents) : !1, re.value = (ce = (Y = s.value) == null ? void 0 : Y.find((L) => (L == null ? void 0 : L.key) === "tableToForm")) == null ? void 0 : ce.contents, p.value = (fe = p.value) == null ? void 0 : fe.map((L, pe) => (Array.isArray(L) ? L = Us(L) : L = {
|
|
1660
1660
|
label: (L == null ? void 0 : L.label) ?? "",
|
|
1661
1661
|
prop: (L == null ? void 0 : L.label) === "操作" ? "operate" : L == null ? void 0 : L.prop,
|
|
1662
1662
|
width: L != null && L.width ? parseInt(L.width) : "",
|
|
@@ -1670,7 +1670,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1670
1670
|
id: (L == null ? void 0 : L.id) ?? pe,
|
|
1671
1671
|
formMenuSelect: (L == null ? void 0 : L.formMenuSelect) ?? void 0,
|
|
1672
1672
|
groupSelect: (L == null ? void 0 : L.groupSelect) ?? void 0
|
|
1673
|
-
}, L)), p.value = (H = p.value) != null && H.every((L) => Array.isArray(L)) ? (ve = p.value) == null ? void 0 : ve[0] : p.value,
|
|
1673
|
+
}, L)), p.value = (H = p.value) != null && H.every((L) => Array.isArray(L)) ? (ve = p.value) == null ? void 0 : ve[0] : p.value, W.value = (N = W.value) == null ? void 0 : N.map((L, pe) => L = {
|
|
1674
1674
|
label: (L == null ? void 0 : L.label) ?? "",
|
|
1675
1675
|
type: (L == null ? void 0 : L.type) ?? "",
|
|
1676
1676
|
textColor: (L == null ? void 0 : L.textColor) ?? "#000000",
|
|
@@ -1785,7 +1785,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1785
1785
|
})
|
|
1786
1786
|
]),
|
|
1787
1787
|
le("div", mu, [
|
|
1788
|
-
(Oe(!0), tt(Ut, null, Yt(
|
|
1788
|
+
(Oe(!0), tt(Ut, null, Yt(W.value, (C, B) => (Oe(), tt("div", { key: B }, [
|
|
1789
1789
|
le("div", bu, [
|
|
1790
1790
|
le("div", ku, vt(C == null ? void 0 : C.label), 1),
|
|
1791
1791
|
le("div", xu, [
|
|
@@ -2078,7 +2078,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2078
2078
|
};
|
|
2079
2079
|
}
|
|
2080
2080
|
}, Nu = /* @__PURE__ */ Jt(Uu, [["__scopeId", "data-v-0a7fc163"]]), Wu = Rn(qt), { pageMapState: Vu } = Xt(Wu), Hu = Hn(qt), { activeMenuPath: qu } = Xt(Hu), Gu = ue(24), Xu = ue(6), Fh = ue(70), Yu = ue(0.18), Ju = ue(45), Qu = (a, r, o, i) => {
|
|
2081
|
-
var s, c, m, p, f, _, S, I, M, $,
|
|
2081
|
+
var s, c, m, p, f, _, S, I, M, $, W, Se, q, K, oe, w;
|
|
2082
2082
|
return {
|
|
2083
2083
|
x: ((c = (s = a == null ? void 0 : a.value) == null ? void 0 : s.tableData) == null ? void 0 : c.x) || r % 2 * 12,
|
|
2084
2084
|
// 每个占2列,每列12格
|
|
@@ -2087,7 +2087,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2087
2087
|
w: ((_ = (f = a == null ? void 0 : a.value) == null ? void 0 : f.tableData) == null ? void 0 : _.w) || Gu.value,
|
|
2088
2088
|
h: ((I = (S = a == null ? void 0 : a.value) == null ? void 0 : S.tableData) == null ? void 0 : I.h) || o,
|
|
2089
2089
|
minW: (($ = (M = a == null ? void 0 : a.value) == null ? void 0 : M.tableData) == null ? void 0 : $.minW) || Xu.value,
|
|
2090
|
-
minH: ((Se = (
|
|
2090
|
+
minH: ((Se = (W = a == null ? void 0 : a.value) == null ? void 0 : W.tableData) == null ? void 0 : Se.minH) || Yu.value,
|
|
2091
2091
|
maxH: ((K = (q = a == null ? void 0 : a.value) == null ? void 0 : q.tableData) == null ? void 0 : K.maxH) || Ju.value,
|
|
2092
2092
|
i: ((w = (oe = a == null ? void 0 : a.value) == null ? void 0 : oe.tableData) == null ? void 0 : w.i) || r,
|
|
2093
2093
|
id: (a == null ? void 0 : a.id) || r + "",
|
|
@@ -2692,7 +2692,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2692
2692
|
const w = oe == null ? void 0 : oe.join("/");
|
|
2693
2693
|
M(w === "统计/统计规则/自定义" ? ["统计算法源", "统计是否获取错误集"] : w === "进度设置/进度条" ? ["进度关键词"] : null, K);
|
|
2694
2694
|
}
|
|
2695
|
-
},
|
|
2695
|
+
}, W = (K) => {
|
|
2696
2696
|
i("change", {
|
|
2697
2697
|
target: o == null ? void 0 : o.target,
|
|
2698
2698
|
extendConfigs: K
|
|
@@ -2709,7 +2709,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2709
2709
|
isEnableWrap: !1,
|
|
2710
2710
|
formRules: p.value.formRules,
|
|
2711
2711
|
buttonValue: p.value.buttonValue,
|
|
2712
|
-
onChange:
|
|
2712
|
+
onChange: W,
|
|
2713
2713
|
onBlurChange: Se,
|
|
2714
2714
|
onOnButtonClick: q
|
|
2715
2715
|
}, null, 8, ["rowContents", "formRules", "buttonValue"]));
|
|
@@ -2732,7 +2732,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2732
2732
|
},
|
|
2733
2733
|
emits: ["change"],
|
|
2734
2734
|
setup(a, { emit: r }) {
|
|
2735
|
-
const o = a, i = r, s = ue(!1), c = ue([]), m = ue([]), p = ue(!1), f = ue([]), _ = ue([]), S = ue(""), I = ue(!1), M = ue(0), $ = ue([]),
|
|
2735
|
+
const o = a, i = r, s = ue(!1), c = ue([]), m = ue([]), p = ue(!1), f = ue([]), _ = ue([]), S = ue(""), I = ue(!1), M = ue(0), $ = ue([]), W = ue([]), Se = (O, te) => {
|
|
2736
2736
|
if ((te == null ? void 0 : te.type) == "Select" && (O == null ? void 0 : O.key) === "selectRelateType") {
|
|
2737
2737
|
const Z = te == null ? void 0 : te.optionUrl;
|
|
2738
2738
|
return (Z == null ? void 0 : Z.selectRelateType) || te[O.key];
|
|
@@ -2787,7 +2787,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2787
2787
|
id: M.value,
|
|
2788
2788
|
contents: ye == null ? void 0 : ye.options
|
|
2789
2789
|
});
|
|
2790
|
-
}), $.value = te,
|
|
2790
|
+
}), $.value = te, W.value = te, S.value = O == null ? void 0 : O.id;
|
|
2791
2791
|
};
|
|
2792
2792
|
mt(
|
|
2793
2793
|
() => I.value,
|
|
@@ -2803,7 +2803,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2803
2803
|
);
|
|
2804
2804
|
const oe = () => {
|
|
2805
2805
|
var Z, ye, qe, dt, $e;
|
|
2806
|
-
$.value =
|
|
2806
|
+
$.value = W.value;
|
|
2807
2807
|
let O = {};
|
|
2808
2808
|
if (S.value !== "" ? O.id = S.value : (M.value++, O.id = "id" + M.value), (Z = $.value) == null || Z.forEach((E) => {
|
|
2809
2809
|
var ie;
|
|
@@ -2864,7 +2864,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2864
2864
|
id: M.value,
|
|
2865
2865
|
contents: Z == null ? void 0 : Z.options
|
|
2866
2866
|
});
|
|
2867
|
-
}), $.value = O,
|
|
2867
|
+
}), $.value = O, W.value = O;
|
|
2868
2868
|
}, P = () => {
|
|
2869
2869
|
var te, Z, ye;
|
|
2870
2870
|
s.value = !0;
|
|
@@ -2880,8 +2880,8 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2880
2880
|
});
|
|
2881
2881
|
}), c.value = O, m.value = O;
|
|
2882
2882
|
}, A = (O) => {
|
|
2883
|
-
let te = v(
|
|
2884
|
-
te = te == null ? void 0 : te.map((Z) => (Z.value = O == null ? void 0 : O[Z.name], Z)),
|
|
2883
|
+
let te = v(W.value);
|
|
2884
|
+
te = te == null ? void 0 : te.map((Z) => (Z.value = O == null ? void 0 : O[Z.name], Z)), W.value = te;
|
|
2885
2885
|
}, re = (O) => {
|
|
2886
2886
|
const te = O.find((qe) => (qe == null ? void 0 : qe.name) === "类型");
|
|
2887
2887
|
if ((te == null ? void 0 : te.value) != "Select")
|
|
@@ -2952,7 +2952,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2952
2952
|
contents: _.value
|
|
2953
2953
|
}), i("change", Z);
|
|
2954
2954
|
}, 300), _e = () => {
|
|
2955
|
-
s.value = !1, p.value = !1, S.value = "", m.value = [],
|
|
2955
|
+
s.value = !1, p.value = !1, S.value = "", m.value = [], W.value = [];
|
|
2956
2956
|
};
|
|
2957
2957
|
return mt(
|
|
2958
2958
|
() => o.originalItemContents,
|
|
@@ -3259,7 +3259,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3259
3259
|
title: "步骤条"
|
|
3260
3260
|
}), f = ue("create"), _ = ue({}), S = ue([]), I = (q) => {
|
|
3261
3261
|
var K;
|
|
3262
|
-
_.value = q, i("change", (K =
|
|
3262
|
+
_.value = q, i("change", (K = W()) == null ? void 0 : K.compData);
|
|
3263
3263
|
}, M = (q, K) => {
|
|
3264
3264
|
var oe, w;
|
|
3265
3265
|
switch (q) {
|
|
@@ -3298,10 +3298,10 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3298
3298
|
} : b);
|
|
3299
3299
|
break;
|
|
3300
3300
|
}
|
|
3301
|
-
i("change", (w =
|
|
3301
|
+
i("change", (w = W()) == null ? void 0 : w.compData), p.visible = !1;
|
|
3302
3302
|
} else
|
|
3303
3303
|
p.visible = !1;
|
|
3304
|
-
},
|
|
3304
|
+
}, W = () => ({
|
|
3305
3305
|
comp: "Step",
|
|
3306
3306
|
compData: [
|
|
3307
3307
|
{
|
|
@@ -3555,7 +3555,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3555
3555
|
title: "时间线"
|
|
3556
3556
|
}), I = (q) => {
|
|
3557
3557
|
var K;
|
|
3558
|
-
c.value = q, i("change", (K =
|
|
3558
|
+
c.value = q, i("change", (K = W()) == null ? void 0 : K.compData);
|
|
3559
3559
|
}, M = (q, K) => {
|
|
3560
3560
|
var oe, w;
|
|
3561
3561
|
switch (q) {
|
|
@@ -3594,10 +3594,10 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3594
3594
|
} : P);
|
|
3595
3595
|
break;
|
|
3596
3596
|
}
|
|
3597
|
-
i("change", (R =
|
|
3597
|
+
i("change", (R = W()) == null ? void 0 : R.compData), S.visible = !1;
|
|
3598
3598
|
} else
|
|
3599
3599
|
S.visible = !1;
|
|
3600
|
-
},
|
|
3600
|
+
}, W = () => ({
|
|
3601
3601
|
comp: "TimeLine",
|
|
3602
3602
|
compData: [
|
|
3603
3603
|
{
|
|
@@ -3772,7 +3772,7 @@ const Lc = /* @__PURE__ */ Jt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3772
3772
|
f.value = re;
|
|
3773
3773
|
}, $ = () => {
|
|
3774
3774
|
p.value = !1, f.value = {}, _.value = {}, S.value = void 0, i.value++;
|
|
3775
|
-
},
|
|
3775
|
+
}, W = (w) => {
|
|
3776
3776
|
var Ne, ut, Me, Xe;
|
|
3777
3777
|
const R = (ut = (Ne = Object.values(v(f.value))) == null ? void 0 : Ne[0]) == null ? void 0 : ut.filter((_e) => (_e == null ? void 0 : _e.key) === "tableContentName"), b = (Xe = (Me = Object.values(v(f.value))) == null ? void 0 : Me[0]) == null ? void 0 : Xe.filter((_e) => (_e == null ? void 0 : _e.key) !== "tableContentName"), P = b == null ? void 0 : b.map((_e, O) => (O === w.index && (_e.compData = w.contents), _e));
|
|
3778
3778
|
P.unshift(R == null ? void 0 : R[0]);
|
|
@@ -3824,7 +3824,7 @@ const Lc = /* @__PURE__ */ Jt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3824
3824
|
onChange: M,
|
|
3825
3825
|
childItemData: P == null ? void 0 : P.itemChildData,
|
|
3826
3826
|
key: A,
|
|
3827
|
-
onContentChange:
|
|
3827
|
+
onContentChange: W,
|
|
3828
3828
|
index: (P == null ? void 0 : P.id) ?? A,
|
|
3829
3829
|
class: "extra-component"
|
|
3830
3830
|
}, null, 40, ["itemData", "childItemData", "index"]))
|
|
@@ -3897,7 +3897,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3897
3897
|
c++, m.includes("{") || s.includes("{") || m.includes("[") || s.includes("[") || m.includes("【") || s.includes("【") || m.includes("(") || s.includes("(") || m.includes("(") || s.includes("(") || m.includes("/*") || s.includes("/*") ? (s += m.trim(), v(s).split("{").length - 1 === v(s).split("}").length - 1 && v(s).split("【").length - 1 === v(s).split("】").length - 1 && v(s).split("[").length - 1 === v(s).split("]").length - 1 && v(s).split("(").length - 1 === v(s).split(")").length - 1 && v(s).split("(").length - 1 === v(s).split(")").length - 1 && v(s).split("/*").length - 1 === v(s).split("*/").length - 1 && s[s.length - 1] === r && Dl(s, "'") ? (i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), s = "") : c === (a == null ? void 0 : a.length) && (i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), s = "")) : (s += m.trim(), (s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1]) === r && Dl(s, "'") && (i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), s = ""));
|
|
3898
3898
|
return (s == null ? void 0 : s.length) !== 0 && i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), i;
|
|
3899
3899
|
}, Wh = (a) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(v(a)), Vh = (a) => {
|
|
3900
|
-
var r, o, i, s, c, m, p, f, _, S, I, M, $,
|
|
3900
|
+
var r, o, i, s, c, m, p, f, _, S, I, M, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te, Z, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Q, ae, Te, me, at, lt, k, x, g, F, C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke, se;
|
|
3901
3901
|
if (Vc(a)) {
|
|
3902
3902
|
let Be = {}, Ge = (i = (o = (r = a == null ? void 0 : a.replace(":", Bt)) == null ? void 0 : r.split(Bt)) == null ? void 0 : o[0]) == null ? void 0 : i.replaceAll("'", ""), X = "", he = "", de = (c = (s = a == null ? void 0 : a.replace(":", Bt)) == null ? void 0 : s.split(Bt)) == null ? void 0 : c[1];
|
|
3903
3903
|
if ((de == null ? void 0 : de[0]) === "(" && (he = (f = (p = (m = de == null ? void 0 : de.split("(")) == null ? void 0 : m[1]) == null ? void 0 : p.split(")")) == null ? void 0 : f[0], de = (S = (_ = de == null ? void 0 : de.replace(")", Bt)) == null ? void 0 : _.split(Bt)) == null ? void 0 : S[1]), ((I = Tl(de, "/")) == null ? void 0 : I.length) > 1)
|
|
@@ -3905,7 +3905,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3905
3905
|
(Pe) => Pe == null ? void 0 : Pe.replaceAll("/", "").replaceAll("'", "")
|
|
3906
3906
|
);
|
|
3907
3907
|
else if (de.includes("{") || de.includes("("))
|
|
3908
|
-
if (de.includes("{") ? X = X + ((oe = (K = (q = (Se = (
|
|
3908
|
+
if (de.includes("{") ? X = X + ((oe = (K = (q = (Se = (W = ($ = de == null ? void 0 : de.split("{")) == null ? void 0 : $[1]) == null ? void 0 : W.split("}")) == null ? void 0 : Se[0]) == null ? void 0 : q.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : K.replaceAll("[", "([")) == null ? void 0 : oe.replaceAll("]", "])")) + "[" : X = X + ((re = (A = (P = (b = (R = (w = de == null ? void 0 : de.split("(")) == null ? void 0 : w[1]) == null ? void 0 : R.split(")")) == null ? void 0 : b[0]) == null ? void 0 : P.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : A.replaceAll("[", "([")) == null ? void 0 : re.replaceAll("]", "])")) + "[", !((Ne = de == null ? void 0 : de.split(")")) != null && Ne[1]))
|
|
3909
3909
|
X = X + ((Xe = (Me = (ut = de == null ? void 0 : de.split("[")) == null ? void 0 : ut[1]) == null ? void 0 : Me.split("]")) == null ? void 0 : Xe[0]) + "]";
|
|
3910
3910
|
else {
|
|
3911
3911
|
const Pe = (Z = (te = (O = (_e = de == null ? void 0 : de.split(")")) == null ? void 0 : _e[1]) == null ? void 0 : O.replace("[", Bt)) == null ? void 0 : te.split(Bt)) == null ? void 0 : Z[1];
|
|
@@ -3932,9 +3932,9 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3932
3932
|
if (a.includes("#")) {
|
|
3933
3933
|
Ge = (Te = (ae = a == null ? void 0 : a.split("#")) == null ? void 0 : ae[0]) == null ? void 0 : Te.replaceAll("'", "");
|
|
3934
3934
|
let he = (at = (me = a == null ? void 0 : a.split("#")) == null ? void 0 : me[1]) == null ? void 0 : at.replaceAll("'", "");
|
|
3935
|
-
he != null && he.includes("{") ? X = X + ((g = (x = (k = (lt = he == null ? void 0 : he.split("{")) == null ? void 0 : lt[1]) == null ? void 0 : k.split("}")) == null ? void 0 : x[0]) == null ? void 0 : g.replaceAll(":", "/").replaceAll("'", "")) + "[" : X = X + ((ne = (B = (C = (F = he == null ? void 0 : he.split("(")) == null ? void 0 : F[1]) == null ? void 0 : C.split(")")) == null ? void 0 : B[0]) == null ? void 0 : ne.replaceAll(":", "/").replaceAll("'", "")) + "[", X = X + ((fe = (
|
|
3935
|
+
he != null && he.includes("{") ? X = X + ((g = (x = (k = (lt = he == null ? void 0 : he.split("{")) == null ? void 0 : lt[1]) == null ? void 0 : k.split("}")) == null ? void 0 : x[0]) == null ? void 0 : g.replaceAll(":", "/").replaceAll("'", "")) + "[" : X = X + ((ne = (B = (C = (F = he == null ? void 0 : he.split("(")) == null ? void 0 : F[1]) == null ? void 0 : C.split(")")) == null ? void 0 : B[0]) == null ? void 0 : ne.replaceAll(":", "/").replaceAll("'", "")) + "[", X = X + ((fe = (U = (V = he == null ? void 0 : he.replace("[", Bt)) == null ? void 0 : V.split(Bt)) == null ? void 0 : U[1]) == null ? void 0 : fe.slice(0, ((ce = (Y = (ee = he == null ? void 0 : he.replace("[", Bt)) == null ? void 0 : ee.split(Bt)) == null ? void 0 : Y[1]) == null ? void 0 : ce.length) - 1));
|
|
3936
3936
|
} else {
|
|
3937
|
-
let he = (
|
|
3937
|
+
let he = (N = (ve = (H = a == null ? void 0 : a.split("]")) == null ? void 0 : H[0]) == null ? void 0 : ve.split("[")) == null ? void 0 : N[1];
|
|
3938
3938
|
if ((Re = he == null ? void 0 : he.split(":")) == null || Re.forEach((de, Pe) => {
|
|
3939
3939
|
var D;
|
|
3940
3940
|
((D = he == null ? void 0 : he.split(":")) == null ? void 0 : D.length) - 1 === Pe && (Ge = de == null ? void 0 : de.replaceAll("'", ""));
|
|
@@ -3967,8 +3967,8 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3967
3967
|
});
|
|
3968
3968
|
let i = [], s = [];
|
|
3969
3969
|
return o == null || o.forEach((S) => {
|
|
3970
|
-
var $,
|
|
3971
|
-
let I = (
|
|
3970
|
+
var $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te, Z, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Q, ae, Te, me, at, lt, k, x, g, F, C, B;
|
|
3971
|
+
let I = (W = ($ = v(S)) == null ? void 0 : $.slice(1, v(S).length - 1)) == null ? void 0 : W.replace(":", Bt).split(Bt);
|
|
3972
3972
|
if (((q = (Se = v(I)) == null ? void 0 : Se[0]) == null ? void 0 : q.replaceAll("'", "")) === "输入") {
|
|
3973
3973
|
if (!((oe = (K = v(I)) == null ? void 0 : K[1]) != null && oe.includes("[")) && !((R = (w = v(I)) == null ? void 0 : w[1]) != null && R.includes("("))) {
|
|
3974
3974
|
Ji((b = v(I)) == null ? void 0 : b[1].replaceAll("'", '"')) && s.push(JSON.parse((P = v(I)) == null ? void 0 : P[1].replaceAll("'", '"')));
|
|
@@ -3976,10 +3976,10 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3976
3976
|
}
|
|
3977
3977
|
if (((re = (A = v(I)) == null ? void 0 : A[1]) == null ? void 0 : re[0]) === "[") {
|
|
3978
3978
|
let ne = (Xe = (Ne = v(I)) == null ? void 0 : Ne[1]) == null ? void 0 : Xe.slice(1, ((Me = (ut = v(I)) == null ? void 0 : ut[1]) == null ? void 0 : Me.length) - 1);
|
|
3979
|
-
(O = (_e = bi(ne)) == null ? void 0 : _e.filter((
|
|
3980
|
-
var fe, H, ve,
|
|
3981
|
-
let
|
|
3982
|
-
(Re = ee == null ? void 0 : ee[1]) != null && Re.includes("(") ? (ce = (Ae = (et = (Fe = (ke = (be = (pe = (L = (ge = v(ee)) == null ? void 0 : ge[1]) == null ? void 0 : L.replaceAll("{", "")) == null ? void 0 : pe.replaceAll("}", "")) == null ? void 0 : be.split("(")) == null ? void 0 : ke[1]) == null ? void 0 : Fe.split(")")) == null ? void 0 : et[0]) == null ? void 0 : Ae.replaceAll(":", "/").replaceAll("'", ""), (se = (Ke = v(ee)) == null ? void 0 : Ke[1]) != null && se.includes("[") && (ce = v(ce) + "[" + ((Pe = (de = (he = (X = (Ge = (Be = v(ee)) == null ? void 0 : Be[1]) == null ? void 0 : Ge.split("[")) == null ? void 0 : X[1]) == null ? void 0 : he.split("]")) == null ? void 0 : de[0]) == null ? void 0 : Pe.replaceAll("'", "")) + "]")) : ce = (Ie = ee == null ? void 0 : ee[1]) == null ? void 0 : Ie.replaceAll("'", ""),
|
|
3979
|
+
(O = (_e = bi(ne)) == null ? void 0 : _e.filter((V) => V !== ",")) == null || O.forEach((V) => {
|
|
3980
|
+
var fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge, X, he, de, Pe;
|
|
3981
|
+
let U = {}, ee = (ve = (H = v(V)) == null ? void 0 : H.slice(1, ((fe = v(V)) == null ? void 0 : fe.length) - 1)) == null ? void 0 : ve.replace(":", Bt).split(Bt), Y = (N = ee == null ? void 0 : ee[0]) == null ? void 0 : N.replaceAll("'", ""), ce;
|
|
3982
|
+
(Re = ee == null ? void 0 : ee[1]) != null && Re.includes("(") ? (ce = (Ae = (et = (Fe = (ke = (be = (pe = (L = (ge = v(ee)) == null ? void 0 : ge[1]) == null ? void 0 : L.replaceAll("{", "")) == null ? void 0 : pe.replaceAll("}", "")) == null ? void 0 : be.split("(")) == null ? void 0 : ke[1]) == null ? void 0 : Fe.split(")")) == null ? void 0 : et[0]) == null ? void 0 : Ae.replaceAll(":", "/").replaceAll("'", ""), (se = (Ke = v(ee)) == null ? void 0 : Ke[1]) != null && se.includes("[") && (ce = v(ce) + "[" + ((Pe = (de = (he = (X = (Ge = (Be = v(ee)) == null ? void 0 : Be[1]) == null ? void 0 : Ge.split("[")) == null ? void 0 : X[1]) == null ? void 0 : he.split("]")) == null ? void 0 : de[0]) == null ? void 0 : Pe.replaceAll("'", "")) + "]")) : ce = (Ie = ee == null ? void 0 : ee[1]) == null ? void 0 : Ie.replaceAll("'", ""), U[Y] = ce, s.push(U);
|
|
3983
3983
|
});
|
|
3984
3984
|
}
|
|
3985
3985
|
} else {
|
|
@@ -3989,9 +3989,9 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3989
3989
|
}
|
|
3990
3990
|
if (((ze = (E = v(I)) == null ? void 0 : E[1]) == null ? void 0 : ze[0]) === "[") {
|
|
3991
3991
|
let ne = (Ce = (ie = v(I)) == null ? void 0 : ie[1]) == null ? void 0 : Ce.slice(1, ((We = (je = v(I)) == null ? void 0 : je[1]) == null ? void 0 : We.length) - 1);
|
|
3992
|
-
(ft = (Ve = bi(ne)) == null ? void 0 : Ve.filter((
|
|
3993
|
-
var fe, H, ve,
|
|
3994
|
-
let
|
|
3992
|
+
(ft = (Ve = bi(ne)) == null ? void 0 : Ve.filter((V) => V !== ",")) == null || ft.forEach((V) => {
|
|
3993
|
+
var fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot, Ze, ht, xt, yt, Qe, Ee, Ye, it, bt, Lt, Ot;
|
|
3994
|
+
let U = {}, ee = (ve = (H = v(V)) == null ? void 0 : H.slice(1, ((fe = v(V)) == null ? void 0 : fe.length) - 1)) == null ? void 0 : ve.replace(":", Bt).split(Bt), Y = (N = ee == null ? void 0 : ee[0]) == null ? void 0 : N.replaceAll("'", ""), ce;
|
|
3995
3995
|
if (!((Re = ee == null ? void 0 : ee[1]) != null && Re.includes("(")))
|
|
3996
3996
|
ce = (Ie = ee == null ? void 0 : ee[1]) == null ? void 0 : Ie.replaceAll("'", "");
|
|
3997
3997
|
else if (ce = (Fe = (ke = (be = (pe = (L = (ge = v(ee)) == null ? void 0 : ge[1]) == null ? void 0 : L.replaceAll("{", "")) == null ? void 0 : pe.replaceAll("}", "")) == null ? void 0 : be.replace("(", Bt)) == null ? void 0 : ke.split(Bt)) == null ? void 0 : Fe[1], ce = (Ae = (et = Hc(v(ce), Bt)) == null ? void 0 : et.split(Bt)) == null ? void 0 : Ae[0], !(ce != null && ce.includes("(")))
|
|
@@ -4011,11 +4011,11 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4011
4011
|
}
|
|
4012
4012
|
}), ce = Ct + "[" + ((Ot = (Lt = (bt = (it = (yt = (xt = v(ee)) == null ? void 0 : xt[1]) == null ? void 0 : yt.split("[")) == null ? void 0 : it[((Ye = (Ee = (Qe = v(ee)) == null ? void 0 : Qe[1]) == null ? void 0 : Ee.split("[")) == null ? void 0 : Ye.length) - 1]) == null ? void 0 : bt.split("]")) == null ? void 0 : Lt[0]) == null ? void 0 : Ot.replaceAll("'", "")) + "]";
|
|
4013
4013
|
}
|
|
4014
|
-
|
|
4014
|
+
U[Y] = ce, i.push(U);
|
|
4015
4015
|
});
|
|
4016
4016
|
} else {
|
|
4017
|
-
let ne = (rt = (G = v(I)) == null ? void 0 : G[1]) == null ? void 0 : rt.slice(1, ((pt = (nt = v(I)) == null ? void 0 : nt[1]) == null ? void 0 : pt.length) - 1),
|
|
4018
|
-
|
|
4017
|
+
let ne = (rt = (G = v(I)) == null ? void 0 : G[1]) == null ? void 0 : rt.slice(1, ((pt = (nt = v(I)) == null ? void 0 : nt[1]) == null ? void 0 : pt.length) - 1), V = {}, U = (g = (x = (Te = (ae = (Q = v(ne)) == null ? void 0 : Q.split("]")) == null ? void 0 : ae[0]) == null ? void 0 : Te.split(":")) == null ? void 0 : x[((k = (lt = (at = (me = v(ne)) == null ? void 0 : me.split("]")) == null ? void 0 : at[0]) == null ? void 0 : lt.split(":")) == null ? void 0 : k.length) - 1]) == null ? void 0 : g.replaceAll("'", ""), ee = ((B = (C = (F = v(ne)) == null ? void 0 : F.split("]")) == null ? void 0 : C[0]) == null ? void 0 : B.replaceAll("'", "")) + "]";
|
|
4018
|
+
V[U] = ee, i.push(V);
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
4021
4021
|
}), {
|
|
@@ -4057,7 +4057,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4057
4057
|
var o, i;
|
|
4058
4058
|
return ((i = (o = Object.keys(r)) == null ? void 0 : o.filter((s) => s == null ? void 0 : s.includes("name"))) == null ? void 0 : i.length) === 1;
|
|
4059
4059
|
}) ? a : Yc(a), Jc = async () => {
|
|
4060
|
-
var c, m, p, f, _, S, I, M, $,
|
|
4060
|
+
var c, m, p, f, _, S, I, M, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te, Z, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Q, ae, Te, me, at, lt, k, x, g, F, C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re;
|
|
4061
4061
|
rn.setImportLoading(!0);
|
|
4062
4062
|
let a = "";
|
|
4063
4063
|
const r = await va({
|
|
@@ -4069,7 +4069,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4069
4069
|
});
|
|
4070
4070
|
if (((m = (c = r == null ? void 0 : r.data) == null ? void 0 : c.result) == null ? void 0 : m.length) > 0) {
|
|
4071
4071
|
let Ie = ($ = (M = (I = (S = (_ = (f = (p = r == null ? void 0 : r.data) == null ? void 0 : p.result) == null ? void 0 : f[0]) == null ? void 0 : _.value) == null ? void 0 : S.pageData) == null ? void 0 : I.compData) == null ? void 0 : M.find((ge) => (ge == null ? void 0 : ge.key) === "header")) == null ? void 0 : $.contents;
|
|
4072
|
-
a = (Se = (
|
|
4072
|
+
a = (Se = (W = v(Ie)) == null ? void 0 : W[0]) == null ? void 0 : Se.label;
|
|
4073
4073
|
}
|
|
4074
4074
|
let o = Dn.value;
|
|
4075
4075
|
(oe = Dn.value) != null && oe.includes(`updateLoading${((q = ca.value) == null ? void 0 : q.account) || ((K = ca.value) == null ? void 0 : K.账号)}`) ? o = v(Dn).value : (b = Dn.value) != null && b.includes(`loading${((w = ca.value) == null ? void 0 : w.account) || ((R = ca.value) == null ? void 0 : R.账号)}`) && (o = v(qa).value + ga + `loading${((P = ca.value) == null ? void 0 : P.account) || ((A = ca.value) == null ? void 0 : A.账号)}`);
|
|
@@ -4181,7 +4181,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4181
4181
|
}, (B = pe == null ? void 0 : pe[0]) == null ? void 0 : B.key));
|
|
4182
4182
|
const Fe = await va({
|
|
4183
4183
|
key: {
|
|
4184
|
-
pageKey: (
|
|
4184
|
+
pageKey: (U = Dn.value.split(ga + `updateLoading${((ne = ca.value) == null ? void 0 : ne.account) || ((V = ca.value) == null ? void 0 : V.账号)}`)) == null ? void 0 : U[0],
|
|
4185
4185
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4186
4186
|
}
|
|
4187
4187
|
});
|
|
@@ -4220,7 +4220,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4220
4220
|
}
|
|
4221
4221
|
(be == null ? void 0 : be.length) > 0 && (await Vn({
|
|
4222
4222
|
dataList: be
|
|
4223
|
-
}), (
|
|
4223
|
+
}), (N = pe == null ? void 0 : pe[0]) != null && N.key && await Qn.setLogRecordAsync({
|
|
4224
4224
|
type: "保存",
|
|
4225
4225
|
data: be
|
|
4226
4226
|
}, (Re = be == null ? void 0 : be[0]) == null ? void 0 : Re.key)), Ft.success("保存成功");
|
|
@@ -4268,7 +4268,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4268
4268
|
}
|
|
4269
4269
|
},
|
|
4270
4270
|
setup(a) {
|
|
4271
|
-
const r = ue([]), o = Ri(qt), { originalPath: i } = Xt(o), s = a, c = ue(!1), m = ue(), p = rl(qt), { multipleTableConst: f } = Xt(p), _ = Rn(qt), S = ue(!1), I = Hn(qt), M = Mi(qt), { itemData: $, isEdit:
|
|
4271
|
+
const r = ue([]), o = Ri(qt), { originalPath: i } = Xt(o), s = a, c = ue(!1), m = ue(), p = rl(qt), { multipleTableConst: f } = Xt(p), _ = Rn(qt), S = ue(!1), I = Hn(qt), M = Mi(qt), { itemData: $, isEdit: W, routeToChildPath: Se, tableViewContents: q, lockingPage: K, payloadTypes: oe } = Xt(_), { activeMenuPath: w, platform: R, childMenu: b } = Xt(I), { loginUserInfo: P } = Xt(M), A = ue(!1), re = (E, ze) => {
|
|
4272
4272
|
const ie = ze;
|
|
4273
4273
|
return E == null ? void 0 : E.map((je) => {
|
|
4274
4274
|
var We;
|
|
@@ -4293,7 +4293,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4293
4293
|
mt(
|
|
4294
4294
|
() => $.value,
|
|
4295
4295
|
async () => {
|
|
4296
|
-
|
|
4296
|
+
W.value === "view" && !A.value && await $e(v(s.itemData)), A.value = !1;
|
|
4297
4297
|
},
|
|
4298
4298
|
{ deep: !0 }
|
|
4299
4299
|
);
|
|
@@ -4322,23 +4322,22 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4322
4322
|
je = je == null ? void 0 : je.map((C) => {
|
|
4323
4323
|
var B;
|
|
4324
4324
|
return C.compData = (B = C.compData) == null ? void 0 : B.map((ne) => {
|
|
4325
|
-
var
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
}), ne;
|
|
4325
|
+
var V;
|
|
4326
|
+
return (ne == null ? void 0 : ne.key) === "formContent" && (ne.contents = (V = ne.contents) == null ? void 0 : V.map((U) => {
|
|
4327
|
+
var ee, Y, ce, fe, H, ve, N, Re;
|
|
4328
|
+
if ((Y = (ee = U == null ? void 0 : U.optionUrl) == null ? void 0 : ee.menuSelect) != null && Y.some((Ie) => Ie == null ? void 0 : Ie.includes("["))) {
|
|
4329
|
+
let Ie = "";
|
|
4330
|
+
U.optionUrl.oldMenuSelect = (fe = (ce = v(U)) == null ? void 0 : ce.optionUrl) == null ? void 0 : fe.menuSelect, U.optionUrl.menuSelect = (ve = (H = U == null ? void 0 : U.optionUrl) == null ? void 0 : H.menuSelect) == null ? void 0 : ve.map((ge) => {
|
|
4331
|
+
var L, pe, be, ke, Fe, et;
|
|
4332
|
+
if (ge != null && ge.includes("[")) {
|
|
4333
|
+
let Ae = (pe = (L = ge == null ? void 0 : ge.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : L.split(":")) == null ? void 0 : pe[1];
|
|
4334
|
+
Ie = Oi((be = ge == null ? void 0 : ge.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : be.split(":"), ie == null ? void 0 : ie[w.value], ie), ge = ((Fe = (ke = v(je)) == null ? void 0 : ke.find((Ke) => (Ke == null ? void 0 : Ke.label) === Ae)) == null ? void 0 : Fe.value) || Oi((et = ge == null ? void 0 : ge.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : et.split(":"), ie == null ? void 0 : ie[w.value], ie);
|
|
4335
|
+
}
|
|
4336
|
+
return ge;
|
|
4337
|
+
}), Ie !== "" && (U.value === "" || !(U != null && U.value)) && (U.value = yr(U.optionUrl.menuSelect, U.optionUrl.oldMenuSelect, (N = U == null ? void 0 : U.optionUrl) == null ? void 0 : N.groupSelect, ie), Array.isArray(U.value) && ((Re = U.value) != null && Re.every((ge) => ge == null ? void 0 : ge.url)) && (U.type = "UPLOAD"));
|
|
4338
|
+
}
|
|
4339
|
+
return U;
|
|
4340
|
+
})), ne;
|
|
4342
4341
|
}), C;
|
|
4343
4342
|
});
|
|
4344
4343
|
let F = (pt = je == null ? void 0 : je.find((C) => (C == null ? void 0 : C.name) === (x == null ? void 0 : x[0]))) == null ? void 0 : pt.compData;
|
|
@@ -4347,7 +4346,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4347
4346
|
F = (Q = B == null ? void 0 : B.find((ne) => (ne == null ? void 0 : ne.name) === (x == null ? void 0 : x[0]))) == null ? void 0 : Q.compData;
|
|
4348
4347
|
}
|
|
4349
4348
|
F == null || F.forEach((C) => {
|
|
4350
|
-
var B, ne,
|
|
4349
|
+
var B, ne, V, U, ee, Y;
|
|
4351
4350
|
if ((C == null ? void 0 : C.key) === "formContent")
|
|
4352
4351
|
(B = C == null ? void 0 : C.contents) == null || B.forEach((ce) => {
|
|
4353
4352
|
var fe;
|
|
@@ -4356,21 +4355,21 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4356
4355
|
else if ((C == null ? void 0 : C.key) === "tableContents") {
|
|
4357
4356
|
let ce = [], fe = (ne = F == null ? void 0 : F.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : ne.contents, H = (x == null ? void 0 : x[1]) ?? "";
|
|
4358
4357
|
if (fe != null && fe.every((ve) => Array.isArray(ve))) {
|
|
4359
|
-
let ve = Qi((ee = fe == null ? void 0 : fe[0]) == null ? void 0 : ee.filter((
|
|
4360
|
-
(Y = C.contents) == null || Y.forEach((
|
|
4358
|
+
let ve = Qi((ee = fe == null ? void 0 : fe[0]) == null ? void 0 : ee.filter((N) => (N == null ? void 0 : N.label) !== "操作"));
|
|
4359
|
+
(Y = C.contents) == null || Y.forEach((N) => {
|
|
4361
4360
|
let Re = {};
|
|
4362
|
-
|
|
4363
|
-
let L =
|
|
4364
|
-
typeof
|
|
4361
|
+
N = N == null ? void 0 : N.filter((Ie) => !(Ie != null && Ie.id)), ve == null || ve.forEach((Ie, ge) => {
|
|
4362
|
+
let L = N[ge];
|
|
4363
|
+
typeof N[ge] == "number" && (L = N[ge].toString()), (H === "" || H === Ie.prop) && (Re[Ie.prop] = L);
|
|
4365
4364
|
}), ce.push(Re);
|
|
4366
4365
|
}), ce = Me(ce);
|
|
4367
4366
|
} else {
|
|
4368
|
-
let ve = (
|
|
4369
|
-
(
|
|
4367
|
+
let ve = (V = fe == null ? void 0 : fe.map((N) => N == null ? void 0 : N.label)) == null ? void 0 : V.filter((N) => N !== "操作");
|
|
4368
|
+
(U = C.contents) == null || U.forEach((N) => {
|
|
4370
4369
|
let Re = {};
|
|
4371
|
-
|
|
4372
|
-
let L =
|
|
4373
|
-
typeof
|
|
4370
|
+
N = N == null ? void 0 : N.filter((Ie) => !(Ie != null && Ie.id)), ve == null || ve.forEach((Ie, ge) => {
|
|
4371
|
+
let L = N[ge];
|
|
4372
|
+
typeof N[ge] == "number" && (L = N[ge].toString()), (H === "" || H === Ie) && (Re[Ie] = L);
|
|
4374
4373
|
}), ce.push(Re);
|
|
4375
4374
|
});
|
|
4376
4375
|
}
|
|
@@ -4382,9 +4381,9 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4382
4381
|
} else if (E != null && E.includes("/")) {
|
|
4383
4382
|
let x = {};
|
|
4384
4383
|
return (ae = v(je)) == null || ae.forEach((g, F) => {
|
|
4385
|
-
var C, B, ne,
|
|
4384
|
+
var C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke;
|
|
4386
4385
|
if ((g == null ? void 0 : g.comp) === "Table") {
|
|
4387
|
-
let Fe = Array.isArray((ne = (B = (C = g == null ? void 0 : g.compData) == null ? void 0 : C.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : ne[0]) ? (Y = (ee = (
|
|
4386
|
+
let Fe = Array.isArray((ne = (B = (C = g == null ? void 0 : g.compData) == null ? void 0 : C.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : ne[0]) ? (Y = (ee = (U = (V = g == null ? void 0 : g.compData) == null ? void 0 : V.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : U.contents) == null ? void 0 : ee[0]) == null ? void 0 : Y.some((se) => se == null ? void 0 : se.children) : [], et = (H = (fe = (ce = g == null ? void 0 : g.compData) == null ? void 0 : ce.find((se) => (se == null ? void 0 : se.key) === "tableContents")) == null ? void 0 : fe.contents) == null ? void 0 : H.map((se) => (se != null && se.find((Be) => Be == null ? void 0 : Be.id) && (se = se.slice(1)), se)), Ae = (ge = (Ie = (Re = (N = (ve = g == null ? void 0 : g.compData) == null ? void 0 : ve.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : N.contents) == null ? void 0 : Re[0]) == null ? void 0 : Ie[0]) == null ? void 0 : ge.label, Ke = (pe = (L = g == null ? void 0 : g.compData) == null ? void 0 : L.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : pe.contents;
|
|
4388
4387
|
if (Fe)
|
|
4389
4388
|
(Fe == null ? void 0 : Fe.length) === 0 ? x[g.name] = x != null && x[g.name] ? x[g.name] : re(et, Ke) : x[Ae] = re(et, Ke);
|
|
4390
4389
|
else {
|
|
@@ -4531,10 +4530,10 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4531
4530
|
} else if ((We == null ? void 0 : We.comp) === "Form") {
|
|
4532
4531
|
let me = v(We), at = Object.keys(E), lt = "";
|
|
4533
4532
|
(G = (ft = v(me)) == null ? void 0 : ft.compData) == null || G.forEach((B) => {
|
|
4534
|
-
var ne,
|
|
4535
|
-
(B == null ? void 0 : B.key) === "formContent" && ((
|
|
4533
|
+
var ne, V;
|
|
4534
|
+
(B == null ? void 0 : B.key) === "formContent" && ((V = (ne = v(B)) == null ? void 0 : ne.contents) == null || V.forEach((U) => {
|
|
4536
4535
|
var ee;
|
|
4537
|
-
at.includes(
|
|
4536
|
+
at.includes(U == null ? void 0 : U.key) && (U == null ? void 0 : U.value) === ((ee = P.value) == null ? void 0 : ee.姓名) && (lt = U == null ? void 0 : U.key);
|
|
4538
4537
|
}));
|
|
4539
4538
|
});
|
|
4540
4539
|
let k = [];
|
|
@@ -4542,23 +4541,23 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4542
4541
|
B != null && B.includes("(") && k.push(B);
|
|
4543
4542
|
}), k = [...new Set(k)];
|
|
4544
4543
|
const x = k == null ? void 0 : k.map(async (B) => {
|
|
4545
|
-
var Y, ce, fe, H, ve,
|
|
4544
|
+
var Y, ce, fe, H, ve, N, Re, Ie, ge, L, pe, be;
|
|
4546
4545
|
let ne = "";
|
|
4547
|
-
(
|
|
4546
|
+
(N = (ve = (H = (fe = (ce = (Y = v(B)) == null ? void 0 : Y.split("(")) == null ? void 0 : ce[1]) == null ? void 0 : fe.split(")")) == null ? void 0 : H[0]) == null ? void 0 : ve.split(":")) == null || N.forEach((ke) => {
|
|
4548
4547
|
ne = ne === "" ? ne + ke.replaceAll("'", "") : ne + "/" + ke.replaceAll("'", "");
|
|
4549
4548
|
});
|
|
4550
|
-
let
|
|
4549
|
+
let V = [];
|
|
4551
4550
|
(be = (pe = (L = (ge = (Ie = (Re = v(B)) == null ? void 0 : Re.split("<")) == null ? void 0 : Ie[1]) == null ? void 0 : ge.split(">")) == null ? void 0 : L[0]) == null ? void 0 : pe.split(":")) == null || be.forEach((ke) => {
|
|
4552
|
-
|
|
4551
|
+
V.push(ke.replaceAll("'", ""));
|
|
4553
4552
|
});
|
|
4554
|
-
const
|
|
4553
|
+
const U = await aa(ne, sessionStorage.getItem("systemKey"), "");
|
|
4555
4554
|
let ee = "";
|
|
4556
|
-
return
|
|
4555
|
+
return U == null || U.forEach((ke) => {
|
|
4557
4556
|
var Fe;
|
|
4558
|
-
ke.name === (
|
|
4557
|
+
ke.name === (V == null ? void 0 : V[0]) && ((Fe = ke == null ? void 0 : ke.compData) == null || Fe.forEach((et) => {
|
|
4559
4558
|
var Ae;
|
|
4560
4559
|
(et == null ? void 0 : et.key) === "formContent" && ((Ae = et.contents) == null || Ae.forEach((Ke) => {
|
|
4561
|
-
(Ke == null ? void 0 : Ke.key) === (
|
|
4560
|
+
(Ke == null ? void 0 : Ke.key) === (V == null ? void 0 : V[1]) && (ee = Ke == null ? void 0 : Ke.value);
|
|
4562
4561
|
}));
|
|
4563
4562
|
}));
|
|
4564
4563
|
}), {
|
|
@@ -4566,13 +4565,13 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4566
4565
|
};
|
|
4567
4566
|
}), g = await Promise.all(x);
|
|
4568
4567
|
me.compData = (rt = (pt = v(me)) == null ? void 0 : pt.compData) == null ? void 0 : rt.map((B) => {
|
|
4569
|
-
var ne,
|
|
4570
|
-
return (B == null ? void 0 : B.key) === "formContent" && (B.contents = (
|
|
4568
|
+
var ne, V;
|
|
4569
|
+
return (B == null ? void 0 : B.key) === "formContent" && (B.contents = (V = (ne = v(B)) == null ? void 0 : ne.contents) == null ? void 0 : V.map((U) => {
|
|
4571
4570
|
var ee, Y, ce, fe;
|
|
4572
|
-
return (ee = E[lt]) != null && ee[
|
|
4571
|
+
return (ee = E[lt]) != null && ee[U == null ? void 0 : U.key] && (E[lt][U == null ? void 0 : U.key].includes("(") ? U.value = (Y = g == null ? void 0 : g.find((H) => {
|
|
4573
4572
|
var ve;
|
|
4574
|
-
return ((ve = Object.keys(H)) == null ? void 0 : ve[0]) === E[lt][
|
|
4575
|
-
})) == null ? void 0 : Y[E[lt][
|
|
4573
|
+
return ((ve = Object.keys(H)) == null ? void 0 : ve[0]) === E[lt][U == null ? void 0 : U.key];
|
|
4574
|
+
})) == null ? void 0 : Y[E[lt][U == null ? void 0 : U.key]] : U.value = (fe = (ce = v(E)) == null ? void 0 : ce[lt]) == null ? void 0 : fe[U == null ? void 0 : U.key]), U;
|
|
4576
4575
|
})), B;
|
|
4577
4576
|
});
|
|
4578
4577
|
const F = await va({
|
|
@@ -4584,8 +4583,8 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4584
4583
|
});
|
|
4585
4584
|
let C = "";
|
|
4586
4585
|
((Q = F == null ? void 0 : F.data) == null ? void 0 : Q.type) === "success" && ((Te = (ae = F == null ? void 0 : F.data) == null ? void 0 : ae.result) == null || Te.forEach((B) => {
|
|
4587
|
-
var ne,
|
|
4588
|
-
((
|
|
4586
|
+
var ne, V;
|
|
4587
|
+
((V = (ne = B == null ? void 0 : B.value) == null ? void 0 : ne.pageData) == null ? void 0 : V.name) === (ie == null ? void 0 : ie[0]) && (C = B.id);
|
|
4589
4588
|
}), await Xi({
|
|
4590
4589
|
id: C,
|
|
4591
4590
|
value: {
|
|
@@ -4602,12 +4601,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4602
4601
|
}
|
|
4603
4602
|
return ie;
|
|
4604
4603
|
}, Z = async (E, ze, ie, je) => {
|
|
4605
|
-
var Ve, ft, G, nt, pt, rt, Q, ae, Te, me, at, lt, k, x, g, F, C, B, ne,
|
|
4604
|
+
var Ve, ft, G, nt, pt, rt, Q, ae, Te, me, at, lt, k, x, g, F, C, B, ne, V, U, ee, Y, ce, fe;
|
|
4606
4605
|
let We = await aa(ze, sessionStorage.getItem("systemKey"), ""), Ce = We == null ? void 0 : We.find((H) => (H == null ? void 0 : H.name) === (ie == null ? void 0 : ie[0]));
|
|
4607
4606
|
if (Ce) {
|
|
4608
4607
|
if (!(ie != null && ie[1]) && (Ce == null ? void 0 : Ce.comp) === "Table") {
|
|
4609
|
-
let H = {}, ve = [],
|
|
4610
|
-
|
|
4608
|
+
let H = {}, ve = [], N = (ft = (Ve = Ce == null ? void 0 : Ce.compData) == null ? void 0 : Ve.find((ge) => (ge == null ? void 0 : ge.key) === "header")) == null ? void 0 : ft.contents;
|
|
4609
|
+
N != null && N.every((ge) => Array.isArray(ge)) ? ve = (nt = Qi((G = N == null ? void 0 : N[0]) == null ? void 0 : G.filter((ge) => (ge == null ? void 0 : ge.label) !== "操作"))) == null ? void 0 : nt.map((ge) => ge == null ? void 0 : ge.prop) : ve = N == null ? void 0 : N.map((ge) => ge == null ? void 0 : ge.label);
|
|
4611
4610
|
for (let ge in v(E))
|
|
4612
4611
|
if (v(E)[ge] !== "loginUser") {
|
|
4613
4612
|
let L = te(v(E)[ge]), pe = {};
|
|
@@ -4652,7 +4651,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4652
4651
|
});
|
|
4653
4652
|
});
|
|
4654
4653
|
} else
|
|
4655
|
-
(
|
|
4654
|
+
(V = Object.values(H)) == null || V.forEach((ge) => {
|
|
4656
4655
|
Ie.push({
|
|
4657
4656
|
key: {
|
|
4658
4657
|
type: "data",
|
|
@@ -4670,7 +4669,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4670
4669
|
});
|
|
4671
4670
|
} else if (!(ie != null && ie[1]) && (Ce == null ? void 0 : Ce.comp) === "Form") {
|
|
4672
4671
|
let H = v(Ce);
|
|
4673
|
-
H.compData = (ee = (
|
|
4672
|
+
H.compData = (ee = (U = v(H)) == null ? void 0 : U.compData) == null ? void 0 : ee.map((Re) => {
|
|
4674
4673
|
var Ie, ge;
|
|
4675
4674
|
return (Re == null ? void 0 : Re.key) === "formContent" && (Re.contents = (ge = (Ie = v(Re)) == null ? void 0 : Ie.contents) == null ? void 0 : ge.map((L) => {
|
|
4676
4675
|
var pe, be;
|
|
@@ -4684,12 +4683,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4684
4683
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4685
4684
|
}
|
|
4686
4685
|
});
|
|
4687
|
-
let
|
|
4686
|
+
let N = "";
|
|
4688
4687
|
((Y = ve == null ? void 0 : ve.data) == null ? void 0 : Y.type) === "success" && ((fe = (ce = ve == null ? void 0 : ve.data) == null ? void 0 : ce.result) == null || fe.forEach((Re) => {
|
|
4689
4688
|
var Ie, ge;
|
|
4690
|
-
((ge = (Ie = Re == null ? void 0 : Re.value) == null ? void 0 : Ie.pageData) == null ? void 0 : ge.name) === (ie == null ? void 0 : ie[0]) && (
|
|
4689
|
+
((ge = (Ie = Re == null ? void 0 : Re.value) == null ? void 0 : Ie.pageData) == null ? void 0 : ge.name) === (ie == null ? void 0 : ie[0]) && (N = Re.id);
|
|
4691
4690
|
}), await Xi({
|
|
4692
|
-
id:
|
|
4691
|
+
id: N,
|
|
4693
4692
|
value: {
|
|
4694
4693
|
pageData: H
|
|
4695
4694
|
}
|
|
@@ -4713,7 +4712,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4713
4712
|
});
|
|
4714
4713
|
let x = await aa((b == null ? void 0 : b.value) === "" ? w.value : b == null ? void 0 : b.value, sessionStorage.getItem("systemKey"), "", !1, "", "", lt), g = "";
|
|
4715
4714
|
if (x = x == null ? void 0 : x.map((Y) => {
|
|
4716
|
-
var ce, fe, H, ve,
|
|
4715
|
+
var ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke;
|
|
4717
4716
|
if ((Y == null ? void 0 : Y.comp) === "Form")
|
|
4718
4717
|
Y.compData = (ce = Y.compData) == null ? void 0 : ce.map((Fe) => {
|
|
4719
4718
|
var et;
|
|
@@ -4727,16 +4726,16 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4727
4726
|
})), Fe;
|
|
4728
4727
|
});
|
|
4729
4728
|
else if ((Y == null ? void 0 : Y.comp) === "Table" && (fe = Y.compData) != null && fe.find((Fe) => (Fe == null ? void 0 : Fe.key) === "pageColumn")) {
|
|
4730
|
-
let Fe = (ve = (H = Y.compData) == null ? void 0 : H.find((se) => (se == null ? void 0 : se.key) === "pageColumn")) == null ? void 0 : ve.contents, et = ((Re = (
|
|
4729
|
+
let Fe = (ve = (H = Y.compData) == null ? void 0 : H.find((se) => (se == null ? void 0 : se.key) === "pageColumn")) == null ? void 0 : ve.contents, et = ((Re = (N = Y.compData) == null ? void 0 : N.find((se) => (se == null ? void 0 : se.key) === "pageGroup")) == null ? void 0 : Re.contents) ?? "", Ae = (L = (ge = (Ie = Fe == null ? void 0 : Fe.split("[")) == null ? void 0 : Ie[1]) == null ? void 0 : ge.split("]")) == null ? void 0 : L[0];
|
|
4731
4730
|
g = ((pe = Fe == null ? void 0 : Fe.split("[")) == null ? void 0 : pe[0]) + ((ke = (be = q.value) == null ? void 0 : be.find((se) => (se == null ? void 0 : se.key) === Ae)) == null ? void 0 : ke.value);
|
|
4732
4731
|
}
|
|
4733
4732
|
return Y;
|
|
4734
4733
|
}), !(g === "" || g === "")) {
|
|
4735
4734
|
const Y = await aa(g, sessionStorage.getItem("systemKey"), "", !1, "", "", lt);
|
|
4736
4735
|
x = x == null ? void 0 : x.map((ce) => {
|
|
4737
|
-
var fe, H, ve,
|
|
4736
|
+
var fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et;
|
|
4738
4737
|
if ((ce == null ? void 0 : ce.comp) === "Table" && (fe = ce.compData) != null && fe.find((Ae) => (Ae == null ? void 0 : Ae.key) === "pageColumn")) {
|
|
4739
|
-
let Ae = (ve = (H = ce.compData) == null ? void 0 : H.find((X) => (X == null ? void 0 : X.key) === "pageColumn")) == null ? void 0 : ve.contents, Ke = ((Re = (
|
|
4738
|
+
let Ae = (ve = (H = ce.compData) == null ? void 0 : H.find((X) => (X == null ? void 0 : X.key) === "pageColumn")) == null ? void 0 : ve.contents, Ke = ((Re = (N = ce.compData) == null ? void 0 : N.find((X) => (X == null ? void 0 : X.key) === "pageGroup")) == null ? void 0 : Re.contents) ?? "", se = (L = (ge = (Ie = Ae == null ? void 0 : Ae.split("[")) == null ? void 0 : Ie[1]) == null ? void 0 : ge.split("]")) == null ? void 0 : L[0], Be = ((pe = Ae == null ? void 0 : Ae.split("[")) == null ? void 0 : pe[0]) + ((ke = (be = q.value) == null ? void 0 : be.find((X) => (X == null ? void 0 : X.key) === se)) == null ? void 0 : ke.value), Ge = (Fe = Y == null ? void 0 : Y.find((X) => (X == null ? void 0 : X.name) === (Ke === "" ? s == null ? void 0 : s.compName : Ke))) == null ? void 0 : Fe.compData;
|
|
4740
4739
|
ce.compData = (et = ce.compData) == null ? void 0 : et.map((X) => {
|
|
4741
4740
|
var he;
|
|
4742
4741
|
return (X == null ? void 0 : X.key) === "tableContents" && (X.contents = (he = Ge == null ? void 0 : Ge.find((de) => (de == null ? void 0 : de.key) === "tableContents")) == null ? void 0 : he.contents), X;
|
|
@@ -4782,9 +4781,9 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4782
4781
|
}
|
|
4783
4782
|
});
|
|
4784
4783
|
let ne = (Q = (rt = (pt = (nt = v(E)) == null ? void 0 : nt.extraValues) == null ? void 0 : pt.output) == null ? void 0 : rt.map((Y) => {
|
|
4785
|
-
var ce, fe, H, ve,
|
|
4784
|
+
var ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke;
|
|
4786
4785
|
if (!((fe = (ce = Object.values(Y)) == null ? void 0 : ce[0]) != null && fe.includes(".doc"))) {
|
|
4787
|
-
let se = (pe = (L = (ge = (ve = v((H = Object.values(Y)) == null ? void 0 : H[0])) == null ? void 0 : ve.split("[")) == null ? void 0 : ge[((Ie = (Re = v((
|
|
4786
|
+
let se = (pe = (L = (ge = (ve = v((H = Object.values(Y)) == null ? void 0 : H[0])) == null ? void 0 : ve.split("[")) == null ? void 0 : ge[((Ie = (Re = v((N = Object.values(Y)) == null ? void 0 : N[0])) == null ? void 0 : Re.split("[")) == null ? void 0 : Ie.length) - 1]) == null ? void 0 : L.split("]")) == null ? void 0 : pe[0], Be = se == null ? void 0 : se.split(":"), Ge = (Fe = v((be = Object.values(Y)) == null ? void 0 : be[0])) == null ? void 0 : Fe.substring(0, v((ke = Object.values(Y)) == null ? void 0 : ke[0]).lastIndexOf("["));
|
|
4788
4787
|
if (Ge = (Ae = v(Ge)) == null ? void 0 : Ae.slice(0, ((et = v(Ge)) == null ? void 0 : et.length) - 1), Ge != null && Ge.includes("[")) {
|
|
4789
4788
|
let X = "";
|
|
4790
4789
|
if ((Ke = Si(Ge, "/")) == null || Ke.forEach((he) => {
|
|
@@ -4806,20 +4805,20 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4806
4805
|
}
|
|
4807
4806
|
})) == null ? void 0 : Q.filter((Y) => Y);
|
|
4808
4807
|
ne = [...new Set(v(ne))];
|
|
4809
|
-
let
|
|
4808
|
+
let V = ne == null ? void 0 : ne.map(async (Y) => {
|
|
4810
4809
|
let ce = await aa(Y, sessionStorage.getItem("systemKey"), "", !1, "", "", lt);
|
|
4811
4810
|
if ((ce == null ? void 0 : ce.length) === 0)
|
|
4812
4811
|
return await us(Y);
|
|
4813
4812
|
});
|
|
4814
|
-
await Promise.all(
|
|
4815
|
-
let
|
|
4813
|
+
await Promise.all(V);
|
|
4814
|
+
let U = [], ee = (me = (Te = (ae = v(E)) == null ? void 0 : ae.extraValues) == null ? void 0 : Te.output) == null ? void 0 : me.map(async (Y) => {
|
|
4816
4815
|
var ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot, Ze, ht, xt, yt, Qe, Ee, Ye, it, bt, Lt, Ot, Ct, It, Nt, Qt, Vt, Kt, ua, _a, oa, Ka, Pa, Ua, Ya, Ba, Ja, $a, Qa, Za, en, tn, ma, gn, an, Ma, sn, nn, wt, da, kt, Fn, jt, Ca, un, Sa, Na, Ea, kn, Ra, qn, ui;
|
|
4817
4816
|
if ((L = (ge = Object.values(Y)) == null ? void 0 : ge[0]) != null && L.includes(".doc")) {
|
|
4818
4817
|
var ce = new Blob([B.data], {
|
|
4819
4818
|
type: "application/octet-stream;charset=UTF-8"
|
|
4820
|
-
}), fe = B.headers["content-disposition"], H = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ve = H.exec(fe),
|
|
4819
|
+
}), fe = B.headers["content-disposition"], H = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), ve = H.exec(fe), N = ve == null ? void 0 : ve[1], Re = document.createElement("a"), Ie = window.URL.createObjectURL(ce);
|
|
4821
4820
|
m.value = [{
|
|
4822
|
-
name:
|
|
4821
|
+
name: N,
|
|
4823
4822
|
blobUrl: Ie
|
|
4824
4823
|
}], c.value = !0;
|
|
4825
4824
|
} else {
|
|
@@ -4849,7 +4848,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4849
4848
|
return await Z(((Ye = (Ee = B == null ? void 0 : B.data) == null ? void 0 : Ee.data) == null ? void 0 : Ye[Ia]) || ((bt = (it = B == null ? void 0 : B.data) == null ? void 0 : it.result) == null ? void 0 : bt[Ia]), v(la), Zt, g);
|
|
4850
4849
|
if ((Ot = (Lt = B == null ? void 0 : B.data) == null ? void 0 : Lt.data) != null && Ot[Ia] || (It = (Ct = B == null ? void 0 : B.data) == null ? void 0 : Ct.result) != null && It[Ia]) {
|
|
4851
4850
|
let Dt = await _e(((Qt = (Nt = B == null ? void 0 : B.data) == null ? void 0 : Nt.data) == null ? void 0 : Qt[Ia]) || ((Kt = (Vt = B == null ? void 0 : B.data) == null ? void 0 : Vt.result) == null ? void 0 : Kt[Ia]), v(la), Zt);
|
|
4852
|
-
return Dt && (
|
|
4851
|
+
return Dt && (U = [...U, ...Dt]), Dt;
|
|
4853
4852
|
} else {
|
|
4854
4853
|
if (!((ua = B == null ? void 0 : B.data) != null && ua.data)) {
|
|
4855
4854
|
let Dt = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, "", "", lt);
|
|
@@ -4900,12 +4899,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4900
4899
|
}
|
|
4901
4900
|
}
|
|
4902
4901
|
});
|
|
4903
|
-
if (await Promise.all(ee), (
|
|
4902
|
+
if (await Promise.all(ee), (U == null ? void 0 : U.length) > 0) {
|
|
4904
4903
|
let Y = [];
|
|
4905
|
-
|
|
4904
|
+
U == null || U.forEach((H) => {
|
|
4906
4905
|
Y != null && Y.find((ve) => {
|
|
4907
|
-
var
|
|
4908
|
-
return ((Re = (
|
|
4906
|
+
var N, Re, Ie, ge;
|
|
4907
|
+
return ((Re = (N = ve == null ? void 0 : ve.value) == null ? void 0 : N.pageData) == null ? void 0 : Re.name) === ((ge = (Ie = H == null ? void 0 : H.value) == null ? void 0 : Ie.pageData) == null ? void 0 : ge.name);
|
|
4909
4908
|
}) || Y.push(H);
|
|
4910
4909
|
});
|
|
4911
4910
|
let ce = [];
|
|
@@ -4916,7 +4915,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4916
4915
|
var be;
|
|
4917
4916
|
return (pe == null ? void 0 : pe.key) === "formContent" && (pe.contents = (be = pe.contents) == null ? void 0 : be.map((ke) => {
|
|
4918
4917
|
var et, Ae, Ke, se;
|
|
4919
|
-
let Fe = (et = v(
|
|
4918
|
+
let Fe = (et = v(U)) == null ? void 0 : et.find((Be) => (Be == null ? void 0 : Be.keyType) === (ke == null ? void 0 : ke.key));
|
|
4920
4919
|
if (Fe) {
|
|
4921
4920
|
let Be = (se = (Ke = (Ae = Fe.value.pageData.compData) == null ? void 0 : Ae.find((Ge) => (Ge == null ? void 0 : Ge.key) === "formContent")) == null ? void 0 : Ke.contents) == null ? void 0 : se.find((Ge) => (Ge == null ? void 0 : Ge.key) === (ke == null ? void 0 : ke.key));
|
|
4922
4921
|
ke.value = Be == null ? void 0 : Be.value;
|
|
@@ -4927,17 +4926,17 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4927
4926
|
id: ve == null ? void 0 : ve.id,
|
|
4928
4927
|
value: ve == null ? void 0 : ve.value
|
|
4929
4928
|
});
|
|
4930
|
-
let
|
|
4929
|
+
let N = [];
|
|
4931
4930
|
(L = (ge = (Ie = ve == null ? void 0 : ve.value) == null ? void 0 : Ie.pageData) == null ? void 0 : ge.compData) == null || L.forEach((pe) => {
|
|
4932
4931
|
var be;
|
|
4933
4932
|
(pe == null ? void 0 : pe.key) === "formContent" && ((be = pe == null ? void 0 : pe.contents) == null || be.forEach((ke) => {
|
|
4934
4933
|
var Fe, et, Ae, Ke, se, Be;
|
|
4935
4934
|
if ((et = (Fe = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : Fe.menuSelect) != null && et.find((Ge) => Ge == null ? void 0 : Ge.includes("[")))
|
|
4936
|
-
if (
|
|
4935
|
+
if (N != null && N.find((Ge) => {
|
|
4937
4936
|
var X, he, de;
|
|
4938
4937
|
return ((X = Ge == null ? void 0 : Ge.key) == null ? void 0 : X.join(",")) === ((de = (he = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : he.menuSelect) == null ? void 0 : de.join(","));
|
|
4939
4938
|
})) {
|
|
4940
|
-
let Ge = (Ae =
|
|
4939
|
+
let Ge = (Ae = N == null ? void 0 : N.find((X) => {
|
|
4941
4940
|
var he, de, Pe;
|
|
4942
4941
|
return ((he = X == null ? void 0 : X.key) == null ? void 0 : he.join(",")) === ((Pe = (de = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : de.menuSelect) == null ? void 0 : Pe.join(","));
|
|
4943
4942
|
})) == null ? void 0 : Ae.value;
|
|
@@ -4945,12 +4944,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4945
4944
|
key: ke == null ? void 0 : ke.prop,
|
|
4946
4945
|
groups: (Ke = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : Ke.groupSelect,
|
|
4947
4946
|
value: ke == null ? void 0 : ke.value
|
|
4948
|
-
}),
|
|
4947
|
+
}), N = N == null ? void 0 : N.map((X) => {
|
|
4949
4948
|
var he, de, Pe;
|
|
4950
4949
|
return ((he = X == null ? void 0 : X.key) == null ? void 0 : he.join(",")) === ((Pe = (de = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : de.menuSelect) == null ? void 0 : Pe.join(",")) && (X.value = Ge), X;
|
|
4951
4950
|
});
|
|
4952
4951
|
} else
|
|
4953
|
-
|
|
4952
|
+
N.push({
|
|
4954
4953
|
key: (se = ke == null ? void 0 : ke.optionUrl) == null ? void 0 : se.menuSelect,
|
|
4955
4954
|
value: [{
|
|
4956
4955
|
key: ke == null ? void 0 : ke.prop,
|
|
@@ -4959,7 +4958,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4959
4958
|
}]
|
|
4960
4959
|
});
|
|
4961
4960
|
}));
|
|
4962
|
-
}), (
|
|
4961
|
+
}), (N == null ? void 0 : N.length) > 0 && (N = N == null ? void 0 : N.map((pe) => {
|
|
4963
4962
|
var ke;
|
|
4964
4963
|
let be = "";
|
|
4965
4964
|
return (ke = pe == null ? void 0 : pe.key) == null || ke.forEach((Fe) => {
|
|
@@ -4979,7 +4978,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4979
4978
|
}), be = be + i.value + Ae;
|
|
4980
4979
|
}
|
|
4981
4980
|
}), pe.key = be, pe;
|
|
4982
|
-
})),
|
|
4981
|
+
})), N == null || N.forEach((pe) => {
|
|
4983
4982
|
var et, Ae, Ke;
|
|
4984
4983
|
let be = (et = lt[pe.key]) == null ? void 0 : et.find((se) => {
|
|
4985
4984
|
var Be, Ge, X, he, de, Pe, D;
|
|
@@ -5000,7 +4999,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5000
4999
|
});
|
|
5001
5000
|
});
|
|
5002
5001
|
});
|
|
5003
|
-
let fe = (at = v(
|
|
5002
|
+
let fe = (at = v(U)) == null ? void 0 : at[0];
|
|
5004
5003
|
(ce == null ? void 0 : ce.length) > 0 && await Bn({
|
|
5005
5004
|
dataList: ce
|
|
5006
5005
|
});
|
|
@@ -5027,7 +5026,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5027
5026
|
})) == null || G.forEach((Q) => {
|
|
5028
5027
|
je[Q.key.pageKey] ? je[Q.key.pageKey] = [...je[Q.key.pageKey], Q] : je[Q.key.pageKey] = [Q];
|
|
5029
5028
|
}), E != null && E[0].path && (ie = await (ze == null ? void 0 : ze.map(async (Q, ae) => {
|
|
5030
|
-
var F, C, B, ne,
|
|
5029
|
+
var F, C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge;
|
|
5031
5030
|
const me = (F = je[Q == null ? void 0 : Q.path]) == null ? void 0 : F.filter((L) => {
|
|
5032
5031
|
var pe;
|
|
5033
5032
|
return ((pe = L == null ? void 0 : L.key) == null ? void 0 : pe.type) === "data";
|
|
@@ -5039,15 +5038,15 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5039
5038
|
((be = (pe = L == null ? void 0 : L.value) == null ? void 0 : pe.tableData) == null ? void 0 : be.算法名称) === ((ke = ze == null ? void 0 : ze[ae]) == null ? void 0 : ke.method) && (at = (et = (Fe = L == null ? void 0 : L.value) == null ? void 0 : Fe.tableData) == null ? void 0 : et.算法体);
|
|
5040
5039
|
});
|
|
5041
5040
|
const k = await aa(Q == null ? void 0 : Q.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, je);
|
|
5042
|
-
let x = "", g = (
|
|
5043
|
-
return (ee = (
|
|
5041
|
+
let x = "", g = (V = (ne = (B = (C = k == null ? void 0 : k[0]) == null ? void 0 : C.compData) == null ? void 0 : B.find((L) => (L == null ? void 0 : L.key) === "header")) == null ? void 0 : ne.contents) == null ? void 0 : V.findIndex((L) => (L == null ? void 0 : L.prop) === "算法体");
|
|
5042
|
+
return (ee = (U = k == null ? void 0 : k[0]) == null ? void 0 : U.compData) == null || ee.forEach((L) => {
|
|
5044
5043
|
var pe;
|
|
5045
5044
|
(L == null ? void 0 : L.key) === "tableContents" && ((pe = L == null ? void 0 : L.contents) == null || pe.forEach((be) => {
|
|
5046
5045
|
be != null && be.find((ke) => ke === (Q == null ? void 0 : Q.method)) && (x = be[g]);
|
|
5047
5046
|
}));
|
|
5048
5047
|
}), {
|
|
5049
5048
|
buttonName: ((Y = ze == null ? void 0 : ze[ae]) == null ? void 0 : Y.method) || ((H = (fe = (ce = me == null ? void 0 : me[0]) == null ? void 0 : ce.value) == null ? void 0 : fe.tableData) == null ? void 0 : H.算法名称),
|
|
5050
|
-
api: (at === "" ? (Re = (
|
|
5049
|
+
api: (at === "" ? (Re = (N = (ve = me == null ? void 0 : me[0]) == null ? void 0 : ve.value) == null ? void 0 : N.tableData) == null ? void 0 : Re.算法体 : at) || x,
|
|
5051
5050
|
content: lt == null ? void 0 : lt.filter((L) => L.comp !== "methodButton"),
|
|
5052
5051
|
extraContent: (Ie = v(Q.value)) == null ? void 0 : Ie.slice(1),
|
|
5053
5052
|
methodName: (Q == null ? void 0 : Q.path) ?? "",
|
|
@@ -5057,11 +5056,11 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5057
5056
|
const Ce = ze == null ? void 0 : ze.map(async (Q) => {
|
|
5058
5057
|
var k, x, g, F, C, B;
|
|
5059
5058
|
const ae = (k = We.data.result) == null ? void 0 : k.filter((ne) => {
|
|
5060
|
-
var
|
|
5061
|
-
return ((
|
|
5059
|
+
var V, U, ee;
|
|
5060
|
+
return ((V = ne == null ? void 0 : ne.key) == null ? void 0 : V.parentTable) === "" && ((U = ne == null ? void 0 : ne.key) == null ? void 0 : U.type) === "method" && ((ee = ne == null ? void 0 : ne.key) == null ? void 0 : ee.methodName) === ne.method;
|
|
5062
5061
|
}), Te = ae == null ? void 0 : ae[0], me = (x = We.data.result) == null ? void 0 : x.filter((ne) => {
|
|
5063
|
-
var
|
|
5064
|
-
return ((
|
|
5062
|
+
var V, U;
|
|
5063
|
+
return ((V = ne == null ? void 0 : ne.key) == null ? void 0 : V.type) === "methodData" && ((U = ne == null ? void 0 : ne.key) == null ? void 0 : U.tableId) === (Te == null ? void 0 : Te.id);
|
|
5065
5064
|
}), at = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, je), lt = me == null ? void 0 : me[0];
|
|
5066
5065
|
return {
|
|
5067
5066
|
buttonName: (g = Te == null ? void 0 : Te.key) == null ? void 0 : g.methodKey,
|
|
@@ -5085,12 +5084,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5085
5084
|
return mt(
|
|
5086
5085
|
() => s.itemData,
|
|
5087
5086
|
async () => {
|
|
5088
|
-
|
|
5087
|
+
W.value == "view" && !A.value && await $e(v(s.itemData)), A.value = !1;
|
|
5089
5088
|
},
|
|
5090
5089
|
{ immediate: !0, deep: !0 }
|
|
5091
5090
|
), (E, ze) => {
|
|
5092
5091
|
var ie, je, We;
|
|
5093
|
-
return $t(
|
|
5092
|
+
return $t(W) !== "edit" ? (Oe(), tt("div", Qc, [
|
|
5094
5093
|
(Oe(!0), tt(Ut, null, Yt((ie = r.value) == null ? void 0 : ie.filter((Ce) => (Ce == null ? void 0 : Ce.buttonName) !== "保存"), (Ce) => {
|
|
5095
5094
|
var Ve;
|
|
5096
5095
|
return Oe(), tt("div", null, [
|
|
@@ -5120,7 +5119,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5120
5119
|
])) : fa("", !0);
|
|
5121
5120
|
};
|
|
5122
5121
|
}
|
|
5123
|
-
}, ed = /* @__PURE__ */ Jt(Zc, [["__scopeId", "data-v-
|
|
5122
|
+
}, ed = /* @__PURE__ */ Jt(Zc, [["__scopeId", "data-v-86dfd7cb"]]), td = {};
|
|
5124
5123
|
function ad(a, r) {
|
|
5125
5124
|
return " 567 ";
|
|
5126
5125
|
}
|
|
@@ -5274,7 +5273,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5274
5273
|
i("change", (oe = I()) == null ? void 0 : oe.compData), s.visible = !1;
|
|
5275
5274
|
} else
|
|
5276
5275
|
s.visible = !1;
|
|
5277
|
-
},
|
|
5276
|
+
}, W = (q, K) => {
|
|
5278
5277
|
var oe, w;
|
|
5279
5278
|
switch (q) {
|
|
5280
5279
|
case "create":
|
|
@@ -5306,7 +5305,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5306
5305
|
De(w, {
|
|
5307
5306
|
class: "module-icon",
|
|
5308
5307
|
id: "themeButton",
|
|
5309
|
-
onClick: K[0] || (K[0] = (R) =>
|
|
5308
|
+
onClick: K[0] || (K[0] = (R) => W("create"))
|
|
5310
5309
|
}, {
|
|
5311
5310
|
icon: Le(() => [
|
|
5312
5311
|
De(oe, {
|
|
@@ -5331,7 +5330,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5331
5330
|
De(w, {
|
|
5332
5331
|
type: "primary",
|
|
5333
5332
|
size: "small",
|
|
5334
|
-
onClick: (P) =>
|
|
5333
|
+
onClick: (P) => W("update", { ...R, index: b + 1 })
|
|
5335
5334
|
}, {
|
|
5336
5335
|
default: Le(() => K[3] || (K[3] = [
|
|
5337
5336
|
Et("修改")
|
|
@@ -5342,7 +5341,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5342
5341
|
De(w, {
|
|
5343
5342
|
type: "danger",
|
|
5344
5343
|
size: "small",
|
|
5345
|
-
onClick: (P) =>
|
|
5344
|
+
onClick: (P) => W("delete", b)
|
|
5346
5345
|
}, {
|
|
5347
5346
|
default: Le(() => K[4] || (K[4] = [
|
|
5348
5347
|
Et("删除")
|
|
@@ -5405,7 +5404,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5405
5404
|
s.value = M, i("clickStep", I, M);
|
|
5406
5405
|
}, p = (I) => vr(I), f = () => {
|
|
5407
5406
|
var M;
|
|
5408
|
-
const I = (M = o == null ? void 0 : o.stepList) == null ? void 0 : M.find(($,
|
|
5407
|
+
const I = (M = o == null ? void 0 : o.stepList) == null ? void 0 : M.find(($, W) => W + 1 === c.value);
|
|
5409
5408
|
return console.log("findStep", I), I ? I == null ? void 0 : I.children : [];
|
|
5410
5409
|
}, _ = (I) => {
|
|
5411
5410
|
i("clickTrigger", I);
|
|
@@ -5414,9 +5413,9 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5414
5413
|
};
|
|
5415
5414
|
return (I, M) => {
|
|
5416
5415
|
var Se, q, K, oe, w;
|
|
5417
|
-
const $ = Rt("el-step"),
|
|
5416
|
+
const $ = Rt("el-step"), W = Rt("el-steps");
|
|
5418
5417
|
return Oe(), tt(Ut, null, [
|
|
5419
|
-
De(
|
|
5418
|
+
De(W, {
|
|
5420
5419
|
direction: (Se = a.stepConfig) == null ? void 0 : Se.direction,
|
|
5421
5420
|
active: c.value,
|
|
5422
5421
|
"finish-status": "success",
|
|
@@ -5690,31 +5689,31 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5690
5689
|
ue([]);
|
|
5691
5690
|
const c = ue([]), m = ue([]), p = ($) => {
|
|
5692
5691
|
var Se;
|
|
5693
|
-
let
|
|
5694
|
-
m.value =
|
|
5692
|
+
let W = (Se = v(m.value)) == null ? void 0 : Se.map((q, K) => ($ === K && (q.content = !0), q));
|
|
5693
|
+
m.value = W;
|
|
5695
5694
|
}, f = ($) => {
|
|
5696
5695
|
var Se;
|
|
5697
|
-
let
|
|
5698
|
-
m.value =
|
|
5699
|
-
}, _ = ($,
|
|
5696
|
+
let W = (Se = v(m.value)) == null ? void 0 : Se.map((q, K) => ($ === K && (q.content = !1), q));
|
|
5697
|
+
m.value = W, s.value = v(o.value);
|
|
5698
|
+
}, _ = ($, W) => {
|
|
5700
5699
|
var oe;
|
|
5701
5700
|
let Se = (oe = v(m.value)) == null ? void 0 : oe.map((w, R) => ($ === R && (w.content = !1), w));
|
|
5702
5701
|
m.value = Se;
|
|
5703
|
-
const q = v(o.value), K = q == null ? void 0 : q.filter((w, R) => (R === $ && (w.name =
|
|
5702
|
+
const q = v(o.value), K = q == null ? void 0 : q.filter((w, R) => (R === $ && (w.name = W), w));
|
|
5704
5703
|
r.setOriginalData(K), r.setItemData(K);
|
|
5705
5704
|
};
|
|
5706
5705
|
mt(
|
|
5707
5706
|
() => o.value,
|
|
5708
5707
|
() => {
|
|
5709
|
-
var $,
|
|
5710
|
-
!o.value || (($ = o.value) == null ? void 0 : $.length) === 0 ? s.value = [] : s.value = (
|
|
5708
|
+
var $, W, Se;
|
|
5709
|
+
!o.value || (($ = o.value) == null ? void 0 : $.length) === 0 ? s.value = [] : s.value = (W = v(o.value)) == null ? void 0 : W.filter((q) => (q == null ? void 0 : q.comp) !== "methodButton"), c.value = s.value, m.value = (Se = v(c.value)) == null ? void 0 : Se.map((q, K) => ({
|
|
5711
5710
|
id: K,
|
|
5712
5711
|
content: !1
|
|
5713
5712
|
}));
|
|
5714
5713
|
},
|
|
5715
5714
|
{ deep: !0, immediate: !0 }
|
|
5716
5715
|
);
|
|
5717
|
-
const S = ($) => si($), I = ($,
|
|
5716
|
+
const S = ($) => si($), I = ($, W, Se) => {
|
|
5718
5717
|
var K, oe;
|
|
5719
5718
|
if (!$) return;
|
|
5720
5719
|
let q = v(o.value);
|
|
@@ -5728,7 +5727,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5728
5727
|
cancelButtonText: "取消",
|
|
5729
5728
|
type: "warning"
|
|
5730
5729
|
}).then(() => {
|
|
5731
|
-
const
|
|
5730
|
+
const W = v(o.value), Se = W == null ? void 0 : W.filter((q, K) => K !== $);
|
|
5732
5731
|
r.setOriginalData(Se), r.setItemData(Se), Ft({
|
|
5733
5732
|
type: "success",
|
|
5734
5733
|
message: "删除成功"
|
|
@@ -5736,10 +5735,10 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5736
5735
|
}).catch(() => {
|
|
5737
5736
|
});
|
|
5738
5737
|
};
|
|
5739
|
-
return ($,
|
|
5738
|
+
return ($, W) => {
|
|
5740
5739
|
const Se = Rt("svg-icon");
|
|
5741
5740
|
return Oe(), tt("div", Dd, [
|
|
5742
|
-
|
|
5741
|
+
W[1] || (W[1] = le("div", { class: "fill-operate" }, vt("操作栏"), -1)),
|
|
5743
5742
|
le("div", Td, [
|
|
5744
5743
|
De(mr, {
|
|
5745
5744
|
class: "collapse-content",
|
|
@@ -5759,7 +5758,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5759
5758
|
De(ls, {
|
|
5760
5759
|
modelValue: q.name,
|
|
5761
5760
|
"onUpdate:modelValue": (Xe) => q.name = Xe,
|
|
5762
|
-
onClick:
|
|
5761
|
+
onClick: W[0] || (W[0] = Kn(() => {
|
|
5763
5762
|
}, ["stop"]))
|
|
5764
5763
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
5765
5764
|
])) : fa("", !0),
|
|
@@ -5868,7 +5867,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5868
5867
|
},
|
|
5869
5868
|
emits: ["change"],
|
|
5870
5869
|
setup(a, { emit: r }) {
|
|
5871
|
-
const o = a, i = r, s = ue([]), c = ue(!1), m = ue(""), p = ue({ title: "" }), f = ue(-1), _ = ue(!1), S = ue(-1), I = ue(/* @__PURE__ */ new WeakMap()), M = ue(null), $ = Li(qt), { itemData:
|
|
5870
|
+
const o = a, i = r, s = ue([]), c = ue(!1), m = ue(""), p = ue({ title: "" }), f = ue(-1), _ = ue(!1), S = ue(-1), I = ue(/* @__PURE__ */ new WeakMap()), M = ue(null), $ = Li(qt), { itemData: W } = Xt($), Se = () => {
|
|
5872
5871
|
m.value = "新增标签页", p.value.title = "", f.value = -1, c.value = !0;
|
|
5873
5872
|
}, q = ($e) => {
|
|
5874
5873
|
m.value = "修改标签页", p.value.title = s.value[$e].title, f.value = $e, c.value = !0;
|
|
@@ -5897,7 +5896,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5897
5896
|
var ie;
|
|
5898
5897
|
S.value = $e;
|
|
5899
5898
|
const E = R($e);
|
|
5900
|
-
M.value = v(
|
|
5899
|
+
M.value = v(W.value);
|
|
5901
5900
|
let ze = I.value.get(E);
|
|
5902
5901
|
!ze && ((ie = s.value[$e].children) == null ? void 0 : ie.length) > 0 && (ze = Ne(s.value[$e].children)), ze ? $.setItemData(v(ze)) : $.setItemData([]), _.value = !0;
|
|
5903
5902
|
}, P = Ht(() => {
|
|
@@ -5930,7 +5929,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5930
5929
|
We.id = w();
|
|
5931
5930
|
});
|
|
5932
5931
|
}));
|
|
5933
|
-
const ie = v(
|
|
5932
|
+
const ie = v(W.value);
|
|
5934
5933
|
ie.push(ze), $.setItemData(ie);
|
|
5935
5934
|
} catch (ze) {
|
|
5936
5935
|
console.error("添加组件失败:", ze);
|
|
@@ -5973,7 +5972,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5973
5972
|
}, Me = ($e) => [], Xe = () => {
|
|
5974
5973
|
if (S.value >= 0 && S.value < s.value.length) {
|
|
5975
5974
|
const $e = R(S.value);
|
|
5976
|
-
I.value.set($e, v(
|
|
5975
|
+
I.value.set($e, v(W.value)), s.value[S.value].children = te(W.value), console.log("保存后的数据", te(W.value));
|
|
5977
5976
|
}
|
|
5978
5977
|
_.value = !1, S.value = -1, M.value = null, dt();
|
|
5979
5978
|
}, _e = () => {
|
|
@@ -6361,9 +6360,9 @@ const pn = {
|
|
|
6361
6360
|
const M = I == null ? void 0 : I[0];
|
|
6362
6361
|
let $ = !1;
|
|
6363
6362
|
ii(M) && (M != null && M.id) && ($ = !0);
|
|
6364
|
-
let
|
|
6365
|
-
$ && (
|
|
6366
|
-
const q = I == null ? void 0 : I[
|
|
6363
|
+
let W = c, Se = m;
|
|
6364
|
+
$ && (W = W + 1, Se = Se + 1);
|
|
6365
|
+
const q = I == null ? void 0 : I[W], K = I == null ? void 0 : I[Se];
|
|
6367
6366
|
o.push(q), i.push(K);
|
|
6368
6367
|
}), {
|
|
6369
6368
|
names: o,
|
|
@@ -6452,9 +6451,9 @@ const pn = {
|
|
|
6452
6451
|
return f;
|
|
6453
6452
|
const I = [];
|
|
6454
6453
|
for (let $ = 0; $ < _.length; $++) {
|
|
6455
|
-
const
|
|
6454
|
+
const W = _[$], Se = S[$];
|
|
6456
6455
|
I.push({
|
|
6457
|
-
name:
|
|
6456
|
+
name: W,
|
|
6458
6457
|
value: Se
|
|
6459
6458
|
});
|
|
6460
6459
|
}
|
|
@@ -6626,23 +6625,23 @@ const pn = {
|
|
|
6626
6625
|
// contents: [],
|
|
6627
6626
|
// isFormColHidden: true
|
|
6628
6627
|
// },
|
|
6629
|
-
],
|
|
6628
|
+
], W = ue({}), Se = () => {
|
|
6630
6629
|
const Q = M.value, ae = v(Q);
|
|
6631
6630
|
return ae == null || ae.forEach((Te) => {
|
|
6632
6631
|
var at;
|
|
6633
6632
|
const me = Te == null ? void 0 : Te.prop;
|
|
6634
|
-
Te.value = (at =
|
|
6633
|
+
Te.value = (at = W.value) == null ? void 0 : at[me];
|
|
6635
6634
|
}), ae;
|
|
6636
6635
|
}, q = (Q) => {
|
|
6637
6636
|
var Te;
|
|
6638
|
-
|
|
6637
|
+
W.value = Q;
|
|
6639
6638
|
const ae = Se();
|
|
6640
6639
|
M.value = ae, i("change", (Te = pt()) == null ? void 0 : Te.compData);
|
|
6641
6640
|
}, K = async () => {
|
|
6642
6641
|
const Q = await cs(), ae = Se();
|
|
6643
6642
|
ae == null || ae.forEach((Te) => {
|
|
6644
6643
|
(Te == null ? void 0 : Te.prop) === "menu" && (Te.contents = Q);
|
|
6645
|
-
}), M.value = ae, I.visible = !0, await Ce(
|
|
6644
|
+
}), M.value = ae, I.visible = !0, await Ce(W.value.menu), await G(W.value.group);
|
|
6646
6645
|
}, oe = ja({
|
|
6647
6646
|
visible: !1,
|
|
6648
6647
|
width: "840",
|
|
@@ -6750,7 +6749,7 @@ const pn = {
|
|
|
6750
6749
|
}
|
|
6751
6750
|
}, qe = async () => {
|
|
6752
6751
|
var Te, me;
|
|
6753
|
-
const Q = (Te = b == null ? void 0 : b.value) == null ? void 0 : Te.mainKey, ae = (me =
|
|
6752
|
+
const Q = (Te = b == null ? void 0 : b.value) == null ? void 0 : Te.mainKey, ae = (me = W == null ? void 0 : W.value) == null ? void 0 : me.menu;
|
|
6754
6753
|
if (Q) {
|
|
6755
6754
|
const lt = `${ae == null ? void 0 : ae.join("/")}^${Q}`, k = await te(lt);
|
|
6756
6755
|
await Z(k);
|
|
@@ -6802,7 +6801,7 @@ const pn = {
|
|
|
6802
6801
|
};
|
|
6803
6802
|
mt(() => {
|
|
6804
6803
|
var Q;
|
|
6805
|
-
return (Q =
|
|
6804
|
+
return (Q = W == null ? void 0 : W.value) == null ? void 0 : Q.menu;
|
|
6806
6805
|
}, async (Q, ae) => {
|
|
6807
6806
|
const Te = Q == null ? void 0 : Q.join("/"), me = ae == null ? void 0 : ae.join("/");
|
|
6808
6807
|
Te != me && await Ce(Q);
|
|
@@ -6828,7 +6827,7 @@ const pn = {
|
|
|
6828
6827
|
}, ft = (Q) => {
|
|
6829
6828
|
const { comp: ae, compData: Te } = ie.value || {};
|
|
6830
6829
|
if (ae === "Table") {
|
|
6831
|
-
|
|
6830
|
+
W.value.formItems = [];
|
|
6832
6831
|
let me = Se();
|
|
6833
6832
|
me = me.filter((at) => {
|
|
6834
6833
|
const { prop: lt } = at;
|
|
@@ -6841,15 +6840,15 @@ const pn = {
|
|
|
6841
6840
|
};
|
|
6842
6841
|
mt(() => {
|
|
6843
6842
|
var Q;
|
|
6844
|
-
return (Q =
|
|
6843
|
+
return (Q = W == null ? void 0 : W.value) == null ? void 0 : Q.group;
|
|
6845
6844
|
}, async (Q, ae) => {
|
|
6846
6845
|
Q != ae && G(Q);
|
|
6847
6846
|
});
|
|
6848
6847
|
const nt = async () => {
|
|
6849
6848
|
var Te, me;
|
|
6850
|
-
const Q = (Te =
|
|
6849
|
+
const Q = (Te = W.value) == null ? void 0 : Te.menu;
|
|
6851
6850
|
await Ce(Q);
|
|
6852
|
-
const ae = (me =
|
|
6851
|
+
const ae = (me = W.value) == null ? void 0 : me.group;
|
|
6853
6852
|
await G(ae);
|
|
6854
6853
|
}, pt = () => ({
|
|
6855
6854
|
comp: "chart",
|
|
@@ -6860,7 +6859,7 @@ const pn = {
|
|
|
6860
6859
|
},
|
|
6861
6860
|
{
|
|
6862
6861
|
key: "chartDataConfig",
|
|
6863
|
-
contents:
|
|
6862
|
+
contents: W.value
|
|
6864
6863
|
},
|
|
6865
6864
|
{
|
|
6866
6865
|
key: "chartDetailConfig",
|
|
@@ -6874,7 +6873,7 @@ const pn = {
|
|
|
6874
6873
|
var ae, Te, me;
|
|
6875
6874
|
M.value = $(), w.value = R();
|
|
6876
6875
|
const Q = o == null ? void 0 : o.itemContents;
|
|
6877
|
-
p.value = ((ae = Q == null ? void 0 : Q.find((at) => at.key === "chartBaseConfig")) == null ? void 0 : ae.contents) ?? {},
|
|
6876
|
+
p.value = ((ae = Q == null ? void 0 : Q.find((at) => at.key === "chartBaseConfig")) == null ? void 0 : ae.contents) ?? {}, W.value = ((Te = Q == null ? void 0 : Q.find((at) => at.key === "chartDataConfig")) == null ? void 0 : Te.contents) ?? {}, await nt(), b.value = ((me = Q == null ? void 0 : Q.find((at) => at.key === "chartDetailConfig")) == null ? void 0 : me.contents) ?? {}, await $e();
|
|
6878
6877
|
}), (Q, ae) => {
|
|
6879
6878
|
const Te = Rt("el-button");
|
|
6880
6879
|
return Oe(), tt(Ut, null, [
|
|
@@ -7108,8 +7107,8 @@ function Bf() {
|
|
|
7108
7107
|
}
|
|
7109
7108
|
} : function(_, S, I, M) {
|
|
7110
7109
|
if (M = M || open("", "_blank"), M && (M.document.title = M.document.body.innerText = "downloading..."), typeof _ == "string") return i(_, S, I);
|
|
7111
|
-
var $ = _.type === "application/octet-stream",
|
|
7112
|
-
if ((Se || $ &&
|
|
7110
|
+
var $ = _.type === "application/octet-stream", W = /constructor/i.test(m.HTMLElement) || m.safari, Se = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
7111
|
+
if ((Se || $ && W || p) && typeof FileReader < "u") {
|
|
7113
7112
|
var q = new FileReader();
|
|
7114
7113
|
q.onloadend = function() {
|
|
7115
7114
|
var w = q.result;
|
|
@@ -7208,7 +7207,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7208
7207
|
Ft.error("保存响应失败");
|
|
7209
7208
|
}
|
|
7210
7209
|
}, $l = async (a, r, o, i) => {
|
|
7211
|
-
var s, c, m, p, f, _, S, I, M, $,
|
|
7210
|
+
var s, c, m, p, f, _, S, I, M, $, W;
|
|
7212
7211
|
try {
|
|
7213
7212
|
const Se = (c = (s = a == null ? void 0 : a.results) == null ? void 0 : s.filter((b) => !(b != null && b.id) || typeof (b == null ? void 0 : b.id) == "string")) == null ? void 0 : c.map((b) => ({
|
|
7214
7213
|
key: {
|
|
@@ -7230,10 +7229,10 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7230
7229
|
o ? w = (I = (S = (_ = Pi.value) == null ? void 0 : _[Gt.value]) == null ? void 0 : S.filter((b) => {
|
|
7231
7230
|
var P, A, re;
|
|
7232
7231
|
return ((P = b == null ? void 0 : b.key) == null ? void 0 : P.type) === r && ((re = (A = b == null ? void 0 : b.key) == null ? void 0 : A.relatedInfo) == null ? void 0 : re.target) === i;
|
|
7233
|
-
})) == null ? void 0 : I.map((b) => b == null ? void 0 : b.id) : w = (
|
|
7232
|
+
})) == null ? void 0 : I.map((b) => b == null ? void 0 : b.id) : w = (W = ($ = (M = Pi.value) == null ? void 0 : M[Gt.value]) == null ? void 0 : $.filter((b) => {
|
|
7234
7233
|
var P;
|
|
7235
7234
|
return ((P = b == null ? void 0 : b.key) == null ? void 0 : P.type) === r;
|
|
7236
|
-
})) == null ? void 0 :
|
|
7235
|
+
})) == null ? void 0 : W.map((b) => b == null ? void 0 : b.id);
|
|
7237
7236
|
const R = w == null ? void 0 : w.filter((b) => !(oe != null && oe.includes(b)) && typeof b == "number");
|
|
7238
7237
|
(Se == null ? void 0 : Se.length) > 0 && await Vn({
|
|
7239
7238
|
dataList: Se
|
|
@@ -7246,7 +7245,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7246
7245
|
throw new Error(Se);
|
|
7247
7246
|
}
|
|
7248
7247
|
}, Qh = async (a) => {
|
|
7249
|
-
var _, S, I, M, $,
|
|
7248
|
+
var _, S, I, M, $, W, Se, q, K, oe;
|
|
7250
7249
|
za.setContentLoading(!0);
|
|
7251
7250
|
const r = JSON.parse(v(JSON.stringify($f.value)));
|
|
7252
7251
|
if (!Mf.value)
|
|
@@ -7259,7 +7258,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7259
7258
|
return !((R = Ol.value) != null && R.includes(w));
|
|
7260
7259
|
}), s = (_ = Ol.value) == null ? void 0 : _.filter((w) => !o.includes(w)), c = [...i, ...s].filter((w) => typeof w !== null && typeof w < "u"), m = r == null ? void 0 : r.filter((w) => !w.id), p = r == null ? void 0 : r.filter((w) => w.id);
|
|
7261
7260
|
let f = [];
|
|
7262
|
-
if (c && (c == null ? void 0 : c.length) > 0 && f.push(Vi(c, "delete", a)), m && (m == null ? void 0 : m.length) > 0 && f.push(Vi(m, "create", a)), p && (p == null ? void 0 : p.length) > 0 && f.push(Vi(p, "update", a)), Tn.value && ((S = Tn.value) != null && S.isDelete && ((M = (I = Tn.value) == null ? void 0 : I.results) == null ? void 0 : M.length) > 0 && ((
|
|
7261
|
+
if (c && (c == null ? void 0 : c.length) > 0 && f.push(Vi(c, "delete", a)), m && (m == null ? void 0 : m.length) > 0 && f.push(Vi(m, "create", a)), p && (p == null ? void 0 : p.length) > 0 && f.push(Vi(p, "update", a)), Tn.value && ((S = Tn.value) != null && S.isDelete && ((M = (I = Tn.value) == null ? void 0 : I.results) == null ? void 0 : M.length) > 0 && ((W = ($ = Tn.value) == null ? void 0 : $.results) != null && W.every((w) => typeof w == "number")) ? await vn({
|
|
7263
7262
|
//@ts-ignore
|
|
7264
7263
|
ids: (Se = Tn.value) == null ? void 0 : Se.results
|
|
7265
7264
|
}) : (console.log("itemGridData.value", Tn.value), f.push(await $l(Tn.value, "gridLayout")))), xi.value)
|
|
@@ -7358,7 +7357,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7358
7357
|
throw Ft.error(i), new Error(i);
|
|
7359
7358
|
}
|
|
7360
7359
|
}, qf = ue(0), el = ue(null), Or = async (a, r = "data", o) => {
|
|
7361
|
-
var i, s, c, m, p, f, _, S, I, M, $,
|
|
7360
|
+
var i, s, c, m, p, f, _, S, I, M, $, W, Se, q, K, oe, w, R, b, P, A;
|
|
7362
7361
|
if (el.value = null, (a == null ? void 0 : a.buttonName) === "删除")
|
|
7363
7362
|
typeof ((i = a == null ? void 0 : a.singleContent) == null ? void 0 : i.id) == "string" ? await Ml(a) : await fs((s = a == null ? void 0 : a.singleContent) == null ? void 0 : s.id), await $n.setLogRecordAsync({
|
|
7364
7363
|
type: "删除",
|
|
@@ -7412,7 +7411,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7412
7411
|
const O = await va({
|
|
7413
7412
|
id: ut
|
|
7414
7413
|
});
|
|
7415
|
-
Xe = ((q = (Se = (
|
|
7414
|
+
Xe = ((q = (Se = (W = ($ = O == null ? void 0 : O.data) == null ? void 0 : $.result) == null ? void 0 : W[0]) == null ? void 0 : Se.key) == null ? void 0 : q.tableId) ?? "", _e = ((R = (w = (oe = (K = O == null ? void 0 : O.data) == null ? void 0 : K.result) == null ? void 0 : oe[0]) == null ? void 0 : w.key) == null ? void 0 : R.pageKey) ?? "";
|
|
7416
7415
|
}
|
|
7417
7416
|
(b = a == null ? void 0 : a.singleContent) == null || b.forEach((O) => {
|
|
7418
7417
|
let te = {};
|
|
@@ -7500,7 +7499,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7500
7499
|
});
|
|
7501
7500
|
return ((f = (p = i == null ? void 0 : i.data) == null ? void 0 : p.result) == null ? void 0 : f.length) > 0 || ((S = (_ = s == null ? void 0 : s.data) == null ? void 0 : _.result) == null ? void 0 : S.length) > 0;
|
|
7502
7501
|
}, Jf = ue(), bn = ue(null), Qf = (a) => {
|
|
7503
|
-
var _, S, I, M, $,
|
|
7502
|
+
var _, S, I, M, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe;
|
|
7504
7503
|
const r = (S = (_ = Pi.value) == null ? void 0 : _[a]) == null ? void 0 : S.filter((_e) => {
|
|
7505
7504
|
var O;
|
|
7506
7505
|
return ((O = _e == null ? void 0 : _e.key) == null ? void 0 : O.type) === "extend";
|
|
@@ -7512,10 +7511,10 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7512
7511
|
return (Z = (te = (O = _e == null ? void 0 : _e.value) == null ? void 0 : O.tableData) == null ? void 0 : te.执行任务) == null ? void 0 : Z.includes("计时");
|
|
7513
7512
|
})) == null ? void 0 : I.value) == null ? void 0 : M.tableData;
|
|
7514
7513
|
if (!o) return bn.value = null;
|
|
7515
|
-
const i = (Se = (
|
|
7514
|
+
const i = (Se = (W = ($ = r == null ? void 0 : r.find((_e) => {
|
|
7516
7515
|
var O, te, Z;
|
|
7517
7516
|
return (Z = (te = (O = _e == null ? void 0 : _e.value) == null ? void 0 : O.tableData) == null ? void 0 : te.执行任务) == null ? void 0 : Z.includes("计时");
|
|
7518
|
-
})) == null ? void 0 : $.key) == null ? void 0 :
|
|
7517
|
+
})) == null ? void 0 : $.key) == null ? void 0 : W.relatedInfo) == null ? void 0 : Se.compId, s = (q = zt.value) == null ? void 0 : q.find((_e) => (_e == null ? void 0 : _e.id) === i);
|
|
7519
7518
|
if (!s) return bn.value = null;
|
|
7520
7519
|
const c = (oe = o == null ? void 0 : o.任务关键词) == null ? void 0 : oe[((K = o == null ? void 0 : o.任务关键词) == null ? void 0 : K.length) - 1], m = (b = (R = (w = s == null ? void 0 : s.compData) == null ? void 0 : w.find((_e) => (_e == null ? void 0 : _e.key) === "header")) == null ? void 0 : R.contents) == null ? void 0 : b.findIndex((_e) => (_e == null ? void 0 : _e.prop) === c), p = (Ne = (re = (A = (P = s == null ? void 0 : s.compData) == null ? void 0 : P.find((_e) => (_e == null ? void 0 : _e.key) === "header")) == null ? void 0 : A.contents) == null ? void 0 : re.find((_e) => _e == null ? void 0 : _e.isMainKey)) == null ? void 0 : Ne.prop, f = (Xe = (Me = (ut = s == null ? void 0 : s.compData) == null ? void 0 : ut.find((_e) => (_e == null ? void 0 : _e.key) === "tableContents")) == null ? void 0 : Me.contents) == null ? void 0 : Xe[m];
|
|
7521
7520
|
bn.value = {
|
|
@@ -7579,8 +7578,8 @@ mt(
|
|
|
7579
7578
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7580
7579
|
type: Ff.value
|
|
7581
7580
|
})).data.result) == null ? void 0 : f.filter(($) => {
|
|
7582
|
-
var
|
|
7583
|
-
return ((
|
|
7581
|
+
var W, Se;
|
|
7582
|
+
return ((W = $ == null ? void 0 : $.key) == null ? void 0 : W.pageKey) !== "menu" && ((Se = $ == null ? void 0 : $.key) == null ? void 0 : Se.pageKey) !== "secret";
|
|
7584
7583
|
})) == null || _.forEach(($) => {
|
|
7585
7584
|
i[$.key.pageKey] ? i[$.key.pageKey] = [...i[$.key.pageKey], $] : i[$.key.pageKey] = [$];
|
|
7586
7585
|
}), Ir.value = i, o ? (za.setContentLoading(!0), sessionStorage.setItem("pageKey", Gt.value), zt.value = await aa(o, sessionStorage.getItem("systemKey"), "", !1, [], await li.value, i), await $n.setLogRecordAsync({
|
|
@@ -7730,12 +7729,12 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7730
7729
|
let I = 0;
|
|
7731
7730
|
const M = [];
|
|
7732
7731
|
if (_ = _.map(($) => {
|
|
7733
|
-
const
|
|
7734
|
-
return
|
|
7732
|
+
const W = $.span;
|
|
7733
|
+
return W ? ($.span = Number(W), I = I + $.span) : M.push($), $;
|
|
7735
7734
|
}), I < 24) {
|
|
7736
7735
|
const $ = Math.floor((24 - I) / S);
|
|
7737
|
-
M.forEach((
|
|
7738
|
-
|
|
7736
|
+
M.forEach((W) => {
|
|
7737
|
+
W.span = $;
|
|
7739
7738
|
});
|
|
7740
7739
|
}
|
|
7741
7740
|
return _;
|
|
@@ -7750,19 +7749,19 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7750
7749
|
style: Pn({ height: ($ = c.value) == null ? void 0 : $.height })
|
|
7751
7750
|
}, {
|
|
7752
7751
|
default: Le(() => [
|
|
7753
|
-
(Oe(!0), tt(Ut, null, Yt(p.value, (
|
|
7754
|
-
span:
|
|
7752
|
+
(Oe(!0), tt(Ut, null, Yt(p.value, (W, Se) => (Oe(), At(I, {
|
|
7753
|
+
span: W == null ? void 0 : W.span
|
|
7755
7754
|
}, {
|
|
7756
7755
|
default: Le(() => {
|
|
7757
7756
|
var q;
|
|
7758
7757
|
return [
|
|
7759
|
-
$t(Zi) ? (Oe(), At(hn($t(Ar)(
|
|
7758
|
+
$t(Zi) ? (Oe(), At(hn($t(Ar)(W.comp)), {
|
|
7760
7759
|
key: $t(Bi),
|
|
7761
|
-
compName:
|
|
7762
|
-
index: (
|
|
7760
|
+
compName: W.name,
|
|
7761
|
+
index: (W == null ? void 0 : W.id) ?? Se,
|
|
7763
7762
|
height: (q = c.value) == null ? void 0 : q.height,
|
|
7764
|
-
itemData:
|
|
7765
|
-
childItemData:
|
|
7763
|
+
itemData: W == null ? void 0 : W.compData,
|
|
7764
|
+
childItemData: W == null ? void 0 : W.itemChildData,
|
|
7766
7765
|
onChange: $t(Or),
|
|
7767
7766
|
onContentChange: $t(zr),
|
|
7768
7767
|
onPageChange: $t(Pr),
|
|
@@ -7826,7 +7825,7 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7826
7825
|
return re === "baseConfig";
|
|
7827
7826
|
});
|
|
7828
7827
|
return P == null ? void 0 : P.contents;
|
|
7829
|
-
}),
|
|
7828
|
+
}), W = Ht(() => {
|
|
7830
7829
|
const b = M == null ? void 0 : M.value, P = b == null ? void 0 : b.find((A) => {
|
|
7831
7830
|
const { key: re } = A;
|
|
7832
7831
|
return re === "children";
|
|
@@ -7834,7 +7833,7 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7834
7833
|
return P == null ? void 0 : P.contents;
|
|
7835
7834
|
}), Se = () => {
|
|
7836
7835
|
var b;
|
|
7837
|
-
s.value = M.value || {}, _.value = (
|
|
7836
|
+
s.value = M.value || {}, _.value = (W == null ? void 0 : W.value) || [], m.value = p(), m.value = (b = m.value) == null ? void 0 : b.map((P) => {
|
|
7838
7837
|
var re;
|
|
7839
7838
|
const { prop: A } = P;
|
|
7840
7839
|
return P.value = (re = $.value) == null ? void 0 : re[A], P;
|
|
@@ -7842,19 +7841,19 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7842
7841
|
};
|
|
7843
7842
|
mt(() => {
|
|
7844
7843
|
var b;
|
|
7845
|
-
return (b =
|
|
7844
|
+
return (b = W == null ? void 0 : W.value) == null ? void 0 : b.length;
|
|
7846
7845
|
}, () => {
|
|
7847
7846
|
var b;
|
|
7848
|
-
_.value = (
|
|
7847
|
+
_.value = (W == null ? void 0 : W.value) || [], S.value = (b = W.value) == null ? void 0 : b.map((P) => I(P));
|
|
7849
7848
|
}, {
|
|
7850
7849
|
immediate: !0
|
|
7851
7850
|
});
|
|
7852
7851
|
const q = (b, P) => {
|
|
7853
|
-
const A = v(
|
|
7852
|
+
const A = v(W == null ? void 0 : W.value);
|
|
7854
7853
|
A[P].span = b.span, _.value = A, i("change", R(), !0);
|
|
7855
7854
|
}, K = (b) => si(b), oe = (b, P, A) => {
|
|
7856
7855
|
if (!b) return;
|
|
7857
|
-
const re = v(
|
|
7856
|
+
const re = v(W == null ? void 0 : W.value);
|
|
7858
7857
|
re[A] && (re[A].compData = b, _.value = re, i("change", R(), !0));
|
|
7859
7858
|
}, w = (b) => {
|
|
7860
7859
|
Xa.confirm("是否确认要删除", "", {
|
|
@@ -7862,7 +7861,7 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7862
7861
|
cancelButtonText: "取消",
|
|
7863
7862
|
type: "warning"
|
|
7864
7863
|
}).then(() => {
|
|
7865
|
-
let P = v(
|
|
7864
|
+
let P = v(W == null ? void 0 : W.value);
|
|
7866
7865
|
P = P == null ? void 0 : P.filter((A, re) => b !== re), _.value = P, i("change", R(), !0), Ft({
|
|
7867
7866
|
type: "success",
|
|
7868
7867
|
message: "删除成功"
|
|
@@ -7896,7 +7895,7 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7896
7895
|
]),
|
|
7897
7896
|
De(mr, {
|
|
7898
7897
|
class: "collapse-content",
|
|
7899
|
-
collapseContents:
|
|
7898
|
+
collapseContents: W.value
|
|
7900
7899
|
}, {
|
|
7901
7900
|
title: Le(({ item: re, index: Ne }) => [
|
|
7902
7901
|
le("div", up, [
|
|
@@ -8506,8 +8505,8 @@ function Lp() {
|
|
|
8506
8505
|
}(this, n);
|
|
8507
8506
|
};
|
|
8508
8507
|
}
|
|
8509
|
-
function
|
|
8510
|
-
return
|
|
8508
|
+
function W() {
|
|
8509
|
+
return W = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(t, e, n) {
|
|
8511
8510
|
var l = function(d, h) {
|
|
8512
8511
|
for (; !Object.prototype.hasOwnProperty.call(d, h) && (d = S(d)) !== null; ) ;
|
|
8513
8512
|
return d;
|
|
@@ -8516,7 +8515,7 @@ function Lp() {
|
|
|
8516
8515
|
var u = Object.getOwnPropertyDescriptor(l, e);
|
|
8517
8516
|
return u.get ? u.get.call(arguments.length < 3 ? t : n) : u.value;
|
|
8518
8517
|
}
|
|
8519
|
-
},
|
|
8518
|
+
}, W.apply(this, arguments);
|
|
8520
8519
|
}
|
|
8521
8520
|
function Se(t) {
|
|
8522
8521
|
var e = function(n, l) {
|
|
@@ -8745,10 +8744,10 @@ function Lp() {
|
|
|
8745
8744
|
function ne(t, e) {
|
|
8746
8745
|
return e = e || { x: 0, y: 0 }, Z.isOperaMobile && C(t) ? (B("screen", t, e), e.x += window.scrollX, e.y += window.scrollY) : B("page", t, e), e;
|
|
8747
8746
|
}
|
|
8748
|
-
function
|
|
8747
|
+
function V(t) {
|
|
8749
8748
|
return A.number(t.pointerId) ? t.pointerId : t.identifier;
|
|
8750
8749
|
}
|
|
8751
|
-
function
|
|
8750
|
+
function U(t, e, n) {
|
|
8752
8751
|
var l = e.length > 1 ? Y(e) : e[0];
|
|
8753
8752
|
ne(l, t.page), function(u, d) {
|
|
8754
8753
|
d = d || {}, Z.isOperaMobile && C(u) ? B("screen", u, d) : B("client", u, d);
|
|
@@ -8782,7 +8781,7 @@ function Lp() {
|
|
|
8782
8781
|
function ve(t) {
|
|
8783
8782
|
return A.string(t.pointerType) ? t.pointerType : A.number(t.pointerType) ? [void 0, void 0, "touch", "pen", "mouse"][t.pointerType] : /touch/.test(t.type || "") || t instanceof O.Touch ? "touch" : "mouse";
|
|
8784
8783
|
}
|
|
8785
|
-
function
|
|
8784
|
+
function N(t) {
|
|
8786
8785
|
var e = A.func(t.composedPath) ? t.composedPath() : t.path;
|
|
8787
8786
|
return [je(e ? e[0] : t.target), je(t.currentTarget)];
|
|
8788
8787
|
}
|
|
@@ -9649,15 +9648,15 @@ function Lp() {
|
|
|
9649
9648
|
} }, { key: "stop", value: function() {
|
|
9650
9649
|
this._scopeFire("interactions:stop", { interaction: this }), this.interactable = this.element = null, this._interacting = !1, this._stopped = !0, this.prepared.name = this.prevEvent = null;
|
|
9651
9650
|
} }, { key: "getPointerIndex", value: function(e) {
|
|
9652
|
-
var n =
|
|
9651
|
+
var n = V(e);
|
|
9653
9652
|
return this.pointerType === "mouse" || this.pointerType === "pen" ? this.pointers.length - 1 : L(this.pointers, function(l) {
|
|
9654
9653
|
return l.id === n;
|
|
9655
9654
|
});
|
|
9656
9655
|
} }, { key: "getPointerInfo", value: function(e) {
|
|
9657
9656
|
return this.pointers[this.getPointerIndex(e)];
|
|
9658
9657
|
} }, { key: "updatePointer", value: function(e, n, l, u) {
|
|
9659
|
-
var d, h, y, T =
|
|
9660
|
-
return u = u !== !1 && (u || /(down|start)$/i.test(n.type)), z ? z.pointer = e : (z = new un(T, e, n, null, null), j = this.pointers.length, this.pointers.push(z)),
|
|
9658
|
+
var d, h, y, T = V(e), j = this.getPointerIndex(e), z = this.pointers[j];
|
|
9659
|
+
return u = u !== !1 && (u || /(down|start)$/i.test(n.type)), z ? z.pointer = e : (z = new un(T, e, n, null, null), j = this.pointers.length, this.pointers.push(z)), U(this.coords.cur, this.pointers.map(function(J) {
|
|
9661
9660
|
return J.pointer;
|
|
9662
9661
|
}), this._now()), d = this.coords.delta, h = this.coords.prev, y = this.coords.cur, d.page.x = y.page.x - h.page.x, d.page.y = y.page.y - h.page.y, d.client.x = y.client.x - h.client.x, d.client.y = y.client.y - h.client.y, d.timeStamp = y.timeStamp - h.timeStamp, u && (this.pointerIsDown = !0, z.downTime = this.coords.cur.timeStamp, z.downTarget = l, x(this.downPointer, e), this.interacting() || (g(this.coords.start, this.coords.cur), g(this.coords.prev, this.coords.cur), this.downEvent = n, this.pointerWasMoved = !1)), this._updateLatestPointer(e, n, l), this._scopeFire("interactions:update-pointer", { pointer: e, event: n, eventTarget: l, down: u, pointerInfo: z, pointerIndex: j, interaction: this }), j;
|
|
9663
9662
|
} }, { key: "removePointer", value: function(e, n) {
|
|
@@ -9934,7 +9933,7 @@ function Lp() {
|
|
|
9934
9933
|
}
|
|
9935
9934
|
}
|
|
9936
9935
|
function T(z, J) {
|
|
9937
|
-
for (var we = Wa(J), He = new wn(z), Ue = l[z.type], Je =
|
|
9936
|
+
for (var we = Wa(J), He = new wn(z), Ue = l[z.type], Je = N(z)[0], ct = Je; A.element(ct); ) {
|
|
9938
9937
|
for (var st = 0; st < Ue.length; st++) {
|
|
9939
9938
|
var gt = Ue[st], St = gt.selector, Pt = gt.context;
|
|
9940
9939
|
if ($e(ct, St) && ye(Pt, Je) && ye(Pt, ct)) {
|
|
@@ -10016,11 +10015,11 @@ function Lp() {
|
|
|
10016
10015
|
var di = jn, yn = ["pointerDown", "pointerMove", "pointerUp", "updatePointer", "removePointer", "windowBlur"];
|
|
10017
10016
|
function Va(t, e) {
|
|
10018
10017
|
return function(n) {
|
|
10019
|
-
var l = e.interactions.list, u = ve(n), d =
|
|
10018
|
+
var l = e.interactions.list, u = ve(n), d = N(n), h = d[0], y = d[1], T = [];
|
|
10020
10019
|
if (/^touch/.test(n.type)) {
|
|
10021
10020
|
e.prevTouchTime = e.now();
|
|
10022
10021
|
for (var j = 0, z = n.changedTouches; j < z.length; j++) {
|
|
10023
|
-
var J = z[j], we = { pointer: J, pointerId:
|
|
10022
|
+
var J = z[j], we = { pointer: J, pointerId: V(J), pointerType: u, eventType: n.type, eventTarget: h, curEventTarget: y, scope: e }, He = Cn(we);
|
|
10024
10023
|
T.push([we.pointer, we.eventTarget, we.curEventTarget, He]);
|
|
10025
10024
|
}
|
|
10026
10025
|
} else {
|
|
@@ -10030,7 +10029,7 @@ function Lp() {
|
|
|
10030
10029
|
Ue = Ue || e.now() - e.prevTouchTime < 500 || n.timeStamp === 0;
|
|
10031
10030
|
}
|
|
10032
10031
|
if (!Ue) {
|
|
10033
|
-
var ct = { pointer: n, pointerId:
|
|
10032
|
+
var ct = { pointer: n, pointerId: V(n), pointerType: u, eventType: n.type, curEventTarget: y, eventTarget: h, scope: e }, st = Cn(ct);
|
|
10034
10033
|
T.push([ct.pointer, ct.eventTarget, ct.curEventTarget, st]);
|
|
10035
10034
|
}
|
|
10036
10035
|
}
|
|
@@ -10279,9 +10278,9 @@ function Lp() {
|
|
|
10279
10278
|
return p(d, [{ key: "_defaults", get: function() {
|
|
10280
10279
|
return n.defaults;
|
|
10281
10280
|
} }, { key: "set", value: function(h) {
|
|
10282
|
-
return
|
|
10281
|
+
return W(S(d.prototype), "set", this).call(this, h), n.fire("interactable:set", { options: h, interactable: this }), this;
|
|
10283
10282
|
} }, { key: "unset", value: function() {
|
|
10284
|
-
|
|
10283
|
+
W(S(d.prototype), "unset", this).call(this);
|
|
10285
10284
|
var h = n.interactables.list.indexOf(this);
|
|
10286
10285
|
h < 0 || (n.interactables.list.splice(h, 1), n.fire("interactable:unset", { interactable: this }));
|
|
10287
10286
|
} }]), d;
|
|
@@ -10503,7 +10502,7 @@ function Lp() {
|
|
|
10503
10502
|
var e = $(n);
|
|
10504
10503
|
function n(l, u, d, h, y, T) {
|
|
10505
10504
|
var j;
|
|
10506
|
-
if (c(this, n), x(M(j = e.call(this, y)), d), d !== u && x(M(j), u), j.timeStamp = T, j.originalEvent = d, j.type = l, j.pointerId =
|
|
10505
|
+
if (c(this, n), x(M(j = e.call(this, y)), d), d !== u && x(M(j), u), j.timeStamp = T, j.originalEvent = d, j.type = l, j.pointerId = V(u), j.pointerType = ve(u), j.target = h, j.currentTarget = null, l === "tap") {
|
|
10507
10506
|
var z = y.getPointerIndex(u);
|
|
10508
10507
|
j.dt = j.timeStamp - y.pointers[z].downTime;
|
|
10509
10508
|
var J = j.timeStamp - y.tapTime;
|
|
@@ -10760,7 +10759,7 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10760
10759
|
style: {},
|
|
10761
10760
|
rtl: !1
|
|
10762
10761
|
});
|
|
10763
|
-
let _ = !1, S = !1, I = NaN, M = NaN, $ = NaN,
|
|
10762
|
+
let _ = !1, S = !1, I = NaN, M = NaN, $ = NaN, W = NaN, Se = -1, q = -1, K = -1, oe = -1, w = i.x, R = i.y, b = i.w, P = i.h;
|
|
10764
10763
|
const A = ue(), re = ja({
|
|
10765
10764
|
i: Ho(i, "i"),
|
|
10766
10765
|
state: f,
|
|
@@ -10885,7 +10884,7 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10885
10884
|
return;
|
|
10886
10885
|
const ne = Kl(C);
|
|
10887
10886
|
if (Oa(ne)) return;
|
|
10888
|
-
const { x:
|
|
10887
|
+
const { x: V, y: U } = ne, ee = { width: 0, height: 0 };
|
|
10889
10888
|
let Y;
|
|
10890
10889
|
switch (B) {
|
|
10891
10890
|
case "resizestart": {
|
|
@@ -10893,8 +10892,8 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10893
10892
|
break;
|
|
10894
10893
|
}
|
|
10895
10894
|
case "resizemove": {
|
|
10896
|
-
!C.edges.right && !C.edges.left && ($ =
|
|
10897
|
-
const ce = Ul($,
|
|
10895
|
+
!C.edges.right && !C.edges.left && ($ = V), !C.edges.top && !C.edges.bottom && (W = U);
|
|
10896
|
+
const ce = Ul($, W, V, U);
|
|
10898
10897
|
E.value ? ee.width = f.resizing.width - ce.deltaX / f.transformScale : ee.width = f.resizing.width + ce.deltaX / f.transformScale, ee.height = f.resizing.height + ce.deltaY / f.transformScale, f.resizing = ee;
|
|
10899
10898
|
break;
|
|
10900
10899
|
}
|
|
@@ -10903,7 +10902,7 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10903
10902
|
break;
|
|
10904
10903
|
}
|
|
10905
10904
|
}
|
|
10906
|
-
Y = Te(ee.height, ee.width), Y.w < i.minW && (Y.w = i.minW), Y.w > i.maxW && (Y.w = i.maxW), Y.h < i.minH && (Y.h = i.minH), Y.h > i.maxH && (Y.h = i.maxH), Y.h < 1 && (Y.h = 1), Y.w < 1 && (Y.w = 1), $ =
|
|
10905
|
+
Y = Te(ee.height, ee.width), Y.w < i.minW && (Y.w = i.minW), Y.w > i.maxW && (Y.w = i.maxW), Y.h < i.minH && (Y.h = i.minH), Y.h > i.maxH && (Y.h = i.maxH), Y.h < 1 && (Y.h = 1), Y.w < 1 && (Y.w = 1), $ = V, W = U, (b !== Y.w || P !== Y.h) && s("resize", i.i, Y.h, Y.w, ee.height, ee.width), C.type === "resizeend" && (Se !== b || q !== P) && s("resized", i.i, Y.h, Y.w, ee.height, ee.width), m.emit("resizeEvent", C.type, i.i, w, R, Y.h, Y.w);
|
|
10907
10906
|
}
|
|
10908
10907
|
function G(C) {
|
|
10909
10908
|
if (i.static || f.isResizing) return;
|
|
@@ -10912,61 +10911,61 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10912
10911
|
return;
|
|
10913
10912
|
const ne = Kl(C);
|
|
10914
10913
|
if (Oa(ne)) return;
|
|
10915
|
-
const { x:
|
|
10914
|
+
const { x: V, y: U } = ne, ee = C.target;
|
|
10916
10915
|
if (!ee.offsetParent) return;
|
|
10917
10916
|
const Y = { top: 0, left: 0 };
|
|
10918
10917
|
switch (B) {
|
|
10919
10918
|
case "dragstart": {
|
|
10920
10919
|
K = w, oe = R;
|
|
10921
|
-
const fe = ee.offsetParent.getBoundingClientRect(), H = ee.getBoundingClientRect(), ve = H.left / f.transformScale,
|
|
10922
|
-
E.value ? Y.left = (Re - Ie) * -1 : Y.left = ve -
|
|
10920
|
+
const fe = ee.offsetParent.getBoundingClientRect(), H = ee.getBoundingClientRect(), ve = H.left / f.transformScale, N = fe.left / f.transformScale, Re = H.right / f.transformScale, Ie = fe.right / f.transformScale, ge = H.top / f.transformScale, L = fe.top / f.transformScale;
|
|
10921
|
+
E.value ? Y.left = (Re - Ie) * -1 : Y.left = ve - N, Y.top = ge - L, f.dragging = Y, f.isDragging = !0;
|
|
10923
10922
|
break;
|
|
10924
10923
|
}
|
|
10925
10924
|
case "dragmove": {
|
|
10926
|
-
const fe = Ul(I, M,
|
|
10925
|
+
const fe = Ul(I, M, V, U);
|
|
10927
10926
|
if (E.value ? Y.left = f.dragging.left - fe.deltaX / f.transformScale : Y.left = f.dragging.left + fe.deltaX / f.transformScale, Y.top = f.dragging.top + fe.deltaY / f.transformScale, f.bounded) {
|
|
10928
10927
|
const H = ee.offsetParent.clientHeight - Q(i.h, f.rowHeight, f.margin[1]);
|
|
10929
10928
|
Y.top = ae(Y.top, 0, H);
|
|
10930
|
-
const ve = rt(),
|
|
10931
|
-
Y.left = ae(Y.left, 0,
|
|
10929
|
+
const ve = rt(), N = f.containerWidth - Q(i.w, ve, f.margin[0]);
|
|
10930
|
+
Y.left = ae(Y.left, 0, N);
|
|
10932
10931
|
}
|
|
10933
10932
|
f.dragging = Y;
|
|
10934
10933
|
break;
|
|
10935
10934
|
}
|
|
10936
10935
|
case "dragend": {
|
|
10937
|
-
const fe = ee.offsetParent.getBoundingClientRect(), H = ee.getBoundingClientRect(), ve = H.left / f.transformScale,
|
|
10938
|
-
E.value ? Y.left = (Re - Ie) * -1 : Y.left = ve -
|
|
10936
|
+
const fe = ee.offsetParent.getBoundingClientRect(), H = ee.getBoundingClientRect(), ve = H.left / f.transformScale, N = fe.left / f.transformScale, Re = H.right / f.transformScale, Ie = fe.right / f.transformScale, ge = H.top / f.transformScale, L = fe.top / f.transformScale;
|
|
10937
|
+
E.value ? Y.left = (Re - Ie) * -1 : Y.left = ve - N, Y.top = ge - L, f.dragging = { top: -1, left: -1 }, f.isDragging = !1;
|
|
10939
10938
|
break;
|
|
10940
10939
|
}
|
|
10941
10940
|
}
|
|
10942
10941
|
let ce;
|
|
10943
|
-
E.value, ce = pt(Y.top, Y.left), I =
|
|
10942
|
+
E.value, ce = pt(Y.top, Y.left), I = V, M = U, (w !== ce.x || R !== ce.y) && s("move", i.i, ce.x, ce.y), C.type === "dragend" && (K !== w || oe !== R) && s("moved", i.i, ce.x, ce.y), m.emit("dragEvent", C.type, i.i, ce.x, ce.y, P, b);
|
|
10944
10943
|
}
|
|
10945
|
-
function nt(C, B, ne,
|
|
10946
|
-
const
|
|
10944
|
+
function nt(C, B, ne, V) {
|
|
10945
|
+
const U = rt();
|
|
10947
10946
|
let ee;
|
|
10948
10947
|
return E.value ? ee = {
|
|
10949
|
-
right: Math.round(
|
|
10948
|
+
right: Math.round(U * C + (C + 1) * f.margin[0]),
|
|
10950
10949
|
top: Math.round(f.rowHeight * B + (B + 1) * f.margin[1]),
|
|
10951
10950
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
10952
10951
|
// Fix this if it occurs.
|
|
10953
10952
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
10954
|
-
width: ne === 1 / 0 ? ne : Math.round(
|
|
10955
|
-
height:
|
|
10953
|
+
width: ne === 1 / 0 ? ne : Math.round(U * ne + Math.max(0, ne - 1) * f.margin[0]),
|
|
10954
|
+
height: V === 1 / 0 ? V : Math.round(f.rowHeight * V + Math.max(0, V - 1) * f.margin[1])
|
|
10956
10955
|
} : ee = {
|
|
10957
|
-
left: Math.round(
|
|
10956
|
+
left: Math.round(U * C + (C + 1) * f.margin[0]),
|
|
10958
10957
|
top: Math.round(f.rowHeight * B + (B + 1) * f.margin[1]),
|
|
10959
10958
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
10960
10959
|
// Fix this if it occurs.
|
|
10961
10960
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
10962
|
-
width: ne === 1 / 0 ? ne : Math.round(
|
|
10963
|
-
height:
|
|
10961
|
+
width: ne === 1 / 0 ? ne : Math.round(U * ne + Math.max(0, ne - 1) * f.margin[0]),
|
|
10962
|
+
height: V === 1 / 0 ? V : Math.round(f.rowHeight * V + Math.max(0, V - 1) * f.margin[1])
|
|
10964
10963
|
}, ee;
|
|
10965
10964
|
}
|
|
10966
10965
|
function pt(C, B) {
|
|
10967
10966
|
const ne = rt();
|
|
10968
|
-
let
|
|
10969
|
-
return
|
|
10967
|
+
let V = Math.round((B - f.margin[0]) / (ne + f.margin[0])), U = Math.round((C - f.margin[1]) / (f.rowHeight + f.margin[1]));
|
|
10968
|
+
return V = Math.max(Math.min(V, f.cols - b), 0), U = Math.max(Math.min(U, f.maxRows - P), 0), { x: V, y: U };
|
|
10970
10969
|
}
|
|
10971
10970
|
function rt() {
|
|
10972
10971
|
return (f.containerWidth - f.margin[0] * (f.cols + 1)) / f.cols;
|
|
@@ -10978,9 +10977,9 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10978
10977
|
return Math.max(Math.min(C, ne), B);
|
|
10979
10978
|
}
|
|
10980
10979
|
function Te(C, B, ne = !1) {
|
|
10981
|
-
const
|
|
10982
|
-
let
|
|
10983
|
-
return ne ? ee = Math.ceil((C + f.margin[1]) / (f.rowHeight + f.margin[1])) : ee = Math.round((C + f.margin[1]) / (f.rowHeight + f.margin[1])),
|
|
10980
|
+
const V = rt();
|
|
10981
|
+
let U = Math.round((B + f.margin[0]) / (V + f.margin[0])), ee = 0;
|
|
10982
|
+
return ne ? ee = Math.ceil((C + f.margin[1]) / (f.rowHeight + f.margin[1])) : ee = Math.round((C + f.margin[1]) / (f.rowHeight + f.margin[1])), U = Math.max(Math.min(U, f.cols - w), 0), ee = Math.max(Math.min(ee, f.maxRows - R), 0), { w: U, h: ee };
|
|
10984
10983
|
}
|
|
10985
10984
|
function me(C, B) {
|
|
10986
10985
|
f.containerWidth = C;
|
|
@@ -11030,8 +11029,8 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
11030
11029
|
},
|
|
11031
11030
|
...i.resizeOption
|
|
11032
11031
|
};
|
|
11033
|
-
i.preserveAspectRatio && (ne.modifiers = [Vl.modifiers.aspectRatio({ ratio: "preserve" })]), p.value.resizable(ne), S || (S = !0, p.value.on("resizestart resizemove resizeend", (
|
|
11034
|
-
|
|
11032
|
+
i.preserveAspectRatio && (ne.modifiers = [Vl.modifiers.aspectRatio({ ratio: "preserve" })]), p.value.resizable(ne), S || (S = !0, p.value.on("resizestart resizemove resizeend", (V) => {
|
|
11033
|
+
V.type === "resizemove" ? g(V) : ft(V);
|
|
11035
11034
|
}));
|
|
11036
11035
|
} else
|
|
11037
11036
|
p.value.resizable({ enabled: !1 });
|
|
@@ -11380,7 +11379,7 @@ var zn = function(a) {
|
|
|
11380
11379
|
return wi.get(a);
|
|
11381
11380
|
if (Jr(a))
|
|
11382
11381
|
return wi.set(a, Ql), Ql;
|
|
11383
|
-
var o = getComputedStyle(a), i = sl(a) && a.ownerSVGElement && a.getBBox(), s = !ah && o.boxSizing === "border-box", c = th.test(o.writingMode || ""), m = !i && Jl.test(o.overflowY || ""), p = !i && Jl.test(o.overflowX || ""), f = i ? 0 : ln(o.paddingTop), _ = i ? 0 : ln(o.paddingRight), S = i ? 0 : ln(o.paddingBottom), I = i ? 0 : ln(o.paddingLeft), M = i ? 0 : ln(o.borderTopWidth), $ = i ? 0 : ln(o.borderRightWidth),
|
|
11382
|
+
var o = getComputedStyle(a), i = sl(a) && a.ownerSVGElement && a.getBBox(), s = !ah && o.boxSizing === "border-box", c = th.test(o.writingMode || ""), m = !i && Jl.test(o.overflowY || ""), p = !i && Jl.test(o.overflowX || ""), f = i ? 0 : ln(o.paddingTop), _ = i ? 0 : ln(o.paddingRight), S = i ? 0 : ln(o.paddingBottom), I = i ? 0 : ln(o.paddingLeft), M = i ? 0 : ln(o.borderTopWidth), $ = i ? 0 : ln(o.borderRightWidth), W = i ? 0 : ln(o.borderBottomWidth), Se = i ? 0 : ln(o.borderLeftWidth), q = I + _, K = f + S, oe = Se + $, w = M + W, R = p ? a.offsetHeight - w - a.clientHeight : 0, b = m ? a.offsetWidth - oe - a.clientWidth : 0, P = s ? q + oe : 0, A = s ? K + w : 0, re = i ? i.width : ln(o.width) - P - b, Ne = i ? i.height : ln(o.height) - A - R, ut = re + q + b + oe, Me = Ne + K + R + w, Xe = zn({
|
|
11384
11383
|
devicePixelContentBoxSize: Wn(Math.round(re * devicePixelRatio), Math.round(Ne * devicePixelRatio), c),
|
|
11385
11384
|
borderBoxSize: Wn(ut, Me, c),
|
|
11386
11385
|
contentBoxSize: Wn(re, Ne, c),
|
|
@@ -11779,11 +11778,11 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11779
11778
|
ja({
|
|
11780
11779
|
...kl(i),
|
|
11781
11780
|
...kl(c),
|
|
11782
|
-
increaseItem:
|
|
11781
|
+
increaseItem: W,
|
|
11783
11782
|
decreaseItem: Se
|
|
11784
11783
|
})
|
|
11785
11784
|
), bl(Ur, I), r({ state: c, getItem: q, resizeEvent: A, dragEvent: P, layoutUpdate: K });
|
|
11786
|
-
function
|
|
11785
|
+
function W(Me) {
|
|
11787
11786
|
m.set(Me.i, Me);
|
|
11788
11787
|
}
|
|
11789
11788
|
function Se(Me) {
|
|
@@ -11938,8 +11937,8 @@ const xh = {
|
|
|
11938
11937
|
emits: ["rowClick", "routeUrl"],
|
|
11939
11938
|
setup(a, { emit: r }) {
|
|
11940
11939
|
const o = Rn(qt), { isEdit: i } = Xt(o), s = r, c = a, m = Ht(() => c == null ? void 0 : c.children), p = Ht(() => {
|
|
11941
|
-
var I, M, $,
|
|
11942
|
-
return ((I = c == null ? void 0 : c.children) == null ? void 0 : I.length) > 0 && ((M = c == null ? void 0 : c.children) != null && M.every((Se) => Se == null ? void 0 : Se.layout)) ? (
|
|
11940
|
+
var I, M, $, W;
|
|
11941
|
+
return ((I = c == null ? void 0 : c.children) == null ? void 0 : I.length) > 0 && ((M = c == null ? void 0 : c.children) != null && M.every((Se) => Se == null ? void 0 : Se.layout)) ? (W = ($ = c == null ? void 0 : c.children) == null ? void 0 : $[0]) == null ? void 0 : W.layout : "vertical";
|
|
11943
11942
|
}), f = ue((c == null ? void 0 : c.level) + 1), _ = (I) => {
|
|
11944
11943
|
s("rowClick", I);
|
|
11945
11944
|
}, S = (I, M) => {
|
|
@@ -11955,7 +11954,7 @@ const xh = {
|
|
|
11955
11954
|
margin: [8, 16]
|
|
11956
11955
|
}, {
|
|
11957
11956
|
default: Le(() => [
|
|
11958
|
-
(Oe(!0), tt(Ut, null, Yt(m.value, ($,
|
|
11957
|
+
(Oe(!0), tt(Ut, null, Yt(m.value, ($, W) => (Oe(), At($t(nl), {
|
|
11959
11958
|
key: $.i,
|
|
11960
11959
|
x: $.x,
|
|
11961
11960
|
y: $.y,
|
|
@@ -11970,7 +11969,7 @@ const xh = {
|
|
|
11970
11969
|
var Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me;
|
|
11971
11970
|
return [
|
|
11972
11971
|
le("div", {
|
|
11973
|
-
style: Pn({ gap: "16px", display: "flex", flexDirection: "column", paddingBottom:
|
|
11972
|
+
style: Pn({ gap: "16px", display: "flex", flexDirection: "column", paddingBottom: W === ((Se = c == null ? void 0 : c.children) == null ? void 0 : Se.length) - 1 ? "0px" : "24px" })
|
|
11974
11973
|
}, [
|
|
11975
11974
|
((K = (q = $ == null ? void 0 : $.component) == null ? void 0 : q.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && ((oe = $ == null ? void 0 : $.component) != null && oe.name) ? (Oe(), tt("div", xh, [
|
|
11976
11975
|
le("div", {
|
|
@@ -11985,9 +11984,9 @@ const xh = {
|
|
|
11985
11984
|
(Oe(), At(hn($t(Ar)((R = $ == null ? void 0 : $.component) == null ? void 0 : R.comp)), {
|
|
11986
11985
|
pageLayout: p.value,
|
|
11987
11986
|
config: {
|
|
11988
|
-
showIndex: (b = $t(zt)[
|
|
11989
|
-
allowMove: (P = $t(zt)[
|
|
11990
|
-
viewport: (A = $t(zt)[
|
|
11987
|
+
showIndex: (b = $t(zt)[W]) == null ? void 0 : b.showIndex,
|
|
11988
|
+
allowMove: (P = $t(zt)[W]) == null ? void 0 : P.allowMove,
|
|
11989
|
+
viewport: (A = $t(zt)[W]) == null ? void 0 : A.viewport
|
|
11991
11990
|
},
|
|
11992
11991
|
compName: $ == null ? void 0 : $.component.name,
|
|
11993
11992
|
compNames: $t($r),
|
|
@@ -11996,7 +11995,7 @@ const xh = {
|
|
|
11996
11995
|
key: $t(Bi),
|
|
11997
11996
|
cacheNewData: $t(el),
|
|
11998
11997
|
onChange: $t(Or),
|
|
11999
|
-
index: ($ == null ? void 0 : $.id) ??
|
|
11998
|
+
index: ($ == null ? void 0 : $.id) ?? W,
|
|
12000
11999
|
onContentChange: $t(zr),
|
|
12001
12000
|
onPageChange: $t(Pr),
|
|
12002
12001
|
parentTableId: (ut = $ == null ? void 0 : $.component) == null ? void 0 : ut.tableId,
|