ss-component-new 1.2.97 → 1.2.99
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/MTLLoader-B4z0XNO-.js +304 -0
- package/dist/MTLLoader-n_3HPhif.cjs +2 -0
- package/dist/OBJLoader-C_JaUegI.cjs +5 -0
- package/dist/OBJLoader-Dilcv9TL.js +356 -0
- package/dist/{OrbitControls-B85G8nPk.cjs → OrbitControls-8LBwRzcq.cjs} +1 -1
- package/dist/{OrbitControls-DFhYzlF3.js → OrbitControls-Cz47Q27N.js} +1 -1
- package/dist/{animationData-DfKVkFbz.js → animationData-C8lM4zZj.js} +1 -1
- package/dist/{animationData-DxBvEqB1.cjs → animationData-CKcPDmLp.cjs} +1 -1
- package/dist/{iconfont-C7kE-QbU.cjs → iconfont-B1cUqs_N.cjs} +1 -1
- package/dist/{iconfont-WOKNi2xx.js → iconfont-CUWS5tNH.js} +2 -2
- package/dist/{index-D0hovh9R.cjs → index-2hqZ_tND.cjs} +1 -1
- package/dist/{index-331j518H.cjs → index-AuEh0RiU.cjs} +1 -1
- package/dist/{index-D_igus4A.cjs → index-B2UPNwqJ.cjs} +1 -1
- package/dist/{index-BYk9Fb6p.js → index-BCvmfE-Q.js} +3 -3
- package/dist/{index-DeOwZgqL.js → index-BDw8DIQx.js} +130 -130
- package/dist/{index-CqI3frdZ.js → index-BPv8txj6.js} +6 -6
- package/dist/{index-DgZVeYqH.js → index-BQaejVqo.js} +1 -1
- package/dist/{index-DSPjcpWK.cjs → index-Ba16ouw0.cjs} +1 -1
- package/dist/{index-D_RGoDln.js → index-BaSO3EEl.js} +3 -3
- package/dist/{index-DHZMd8iK.cjs → index-BdSiNUC0.cjs} +1 -1
- package/dist/{index-BDxPlbe2.cjs → index-BfU8GMj1.cjs} +1 -1
- package/dist/{index-Cppt0AsF.cjs → index-BjKKDSDx.cjs} +1 -1
- package/dist/{index-C-dlFxRJ.cjs → index-BqgfejIC.cjs} +1 -1
- package/dist/{index-BODyH6MD.js → index-BxONUPjM.js} +1 -1
- package/dist/{index-BFzMf0GC.js → index-Byp3gJNW.js} +1 -1
- package/dist/{index-DJ6qg2Mo.js → index-C7ZsHeLt.js} +3 -3
- package/dist/{index-B-AhHUV1.js → index-C9p_wwJ7.js} +6 -6
- package/dist/{index-BoTiP0aV.js → index-CKlt750z.js} +1 -1
- package/dist/{index-CQRJ3pLh.cjs → index-CQwDw3-2.cjs} +1 -1
- package/dist/{index-hhS08X8b.js → index-CR1Ng5ip.js} +3 -3
- package/dist/{index-D6u590uA.cjs → index-CZIqVNof.cjs} +1 -1
- package/dist/{index-iErxMZBi.cjs → index-C_208RkZ.cjs} +1 -1
- package/dist/{index-S1LIIzCa.cjs → index-CqZ1E-Mt.cjs} +1 -1
- package/dist/{index-DHjtOySN.js → index-CrNsPd4D.js} +2 -2
- package/dist/{index-DrzK0O_g.cjs → index-CvQCAGWI.cjs} +1 -1
- package/dist/{index-Cnk_4Zz5.cjs → index-CyCcPnZb.cjs} +1 -1
- package/dist/{index-BI7g3c_u.js → index-CyE5qCBb.js} +13 -13
- package/dist/{index-DHBoRe9V.cjs → index-D32pAhQk.cjs} +1 -1
- package/dist/{index-DRfVnLTN.js → index-DAUjjqaD.js} +391 -391
- package/dist/{index-DbDM-XfB.cjs → index-DQTlc6Gq.cjs} +1 -1
- package/dist/{index-B_zjoT4m.js → index-DTilOAv_.js} +2 -2
- package/dist/{index-_PP-dSm3.cjs → index-D_22J0ok.cjs} +1 -1
- package/dist/{index-iZ9BRKg5.js → index-DboUMA_C.js} +1 -1
- package/dist/{index-BXv3aZ7v.js → index-DgMQpO6g.js} +1 -1
- package/dist/{index-CPAXrzNY.cjs → index-Dh6GqpZF.cjs} +1 -1
- package/dist/{index-CZPnP0uy.cjs → index-DhqEoDPT.cjs} +1 -1
- package/dist/{index-CeGM8aBH.js → index-DlwlGkyt.js} +2 -2
- package/dist/{index-6sZXjGGz.cjs → index-DtDmxPdD.cjs} +1 -1
- package/dist/{index-kLDMroPk.js → index-GxmJC9kr.js} +1 -1
- package/dist/{index-CLOUp_4j.cjs → index-XKn5AuYT.cjs} +1 -1
- package/dist/{index-Cr5if46q.js → index-mEKMjplD.js} +1 -1
- package/dist/{index-Bhha7SY3.js → index-vglZ0qjT.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DSlAeFA3.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DKwCF412.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ERjMISIK.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DqIuWlps.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CICG8Qah.js} +8908 -8949
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-K6lh7Rrj.cjs} +302 -302
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-mJB_yl_P.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cpyo5jke.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DODc2KPN.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cq8VF9uK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BH0DRFVE.js → index.vue_vue_type_style_index_1_lang-B_HCEX9y.js} +6 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-BRFs_L5R.cjs → index.vue_vue_type_style_index_1_lang-rTLLuvuo.cjs} +5 -5
- package/dist/loaderUtil-B0djdt91.js +5 -0
- package/dist/loaderUtil-CaWWb8db.cjs +1 -0
- package/dist/{main-Z5UMyCj6.js → main-DHx-3OSy.js} +2 -2
- package/dist/{main-B541MQH8.cjs → main-DS156sQ4.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-tKq0hvaK.cjs → threeModel-CfIK1rQB.cjs} +1 -1
- package/dist/{threeModel-BcjGbIJZ.js → threeModel-WYCdw_Ff.js} +4 -4
- package/dist/{threePreview-BnPMGQ2H.js → threePreview-C29AR7Mr.js} +310 -305
- package/dist/threePreview-Ci8TnUQ8.cjs +1 -0
- package/dist/{threeSceneView-DVUTlm6F.cjs → threeSceneView-C2MDCMux.cjs} +2 -2
- package/dist/{threeSceneView-BUD002PP.js → threeSceneView-F15mW1mm.js} +7 -7
- package/dist/threeSceneViewForCPMPIP-DK4G_ZpP.js +687 -0
- package/dist/threeSceneViewForCPMPIP-DuPZn_qv.cjs +5 -0
- package/dist/threeTrackPathView-C4eBUMef.cjs +370 -0
- package/dist/{threeTrackPathView-DDCEu3Gx.js → threeTrackPathView-DMj6YGxT.js} +436 -427
- package/dist/{threeViewerHost-BVeUteVd.js → threeViewerHost-C9ipsMff.js} +2 -2
- package/dist/{threeViewerHost-Sda_AoRw.cjs → threeViewerHost-CW6JmOUJ.cjs} +2 -2
- package/dist/{urdfTree-Br9VYqKp.cjs → urdfTree-CTiMB7ge.cjs} +1 -1
- package/dist/{urdfTree-DaWvX-6R.js → urdfTree-DGEACy9-.js} +1 -1
- package/dist/{workpieceTreePanel-BdRaFNRp.js → workpieceTreePanel-C1gy5a8r.js} +53 -52
- package/dist/workpieceTreePanel-Ded0Gqke.cjs +1 -0
- package/package.json +1 -1
- package/dist/MTLLoader-DnouUI-8.js +0 -657
- package/dist/MTLLoader-zZDM0NQh.cjs +0 -6
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/threePreview-DD0br2ae.cjs +0 -1
- package/dist/threeSceneViewForCPMPIP-BYYbyqD7.cjs +0 -5
- package/dist/threeSceneViewForCPMPIP-D4RC4BAo.js +0 -683
- package/dist/threeTrackPathView-BvUihuyk.cjs +0 -370
- package/dist/workpieceTreePanel-Z3aVdOWB.cjs +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,16 +1,16 @@
|
|
|
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-BDw8DIQx.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
|
-
import { cc as
|
|
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-
|
|
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
|
|
3
|
+
import { cc as Zo, k as ii, cd as Qo, 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-C7ZsHeLt.js";
|
|
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 Zi, 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-Cg1p_3ne.js";
|
|
6
6
|
import { s as pa, _ as xl } from "./index-DRizRbU3.js";
|
|
7
|
-
import { a as gs, T as ys } from "./threeViewerHost-
|
|
8
|
-
import {
|
|
7
|
+
import { a as gs, T as ys } from "./threeViewerHost-C9ipsMff.js";
|
|
8
|
+
import { aO as ms, aP as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CICG8Qah.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-CR1Ng5ip.js";
|
|
12
12
|
import mr from "./index-rlStojTL.js";
|
|
13
|
-
import { s as ws } from "./index-
|
|
13
|
+
import { s as ws } from "./index-BQaejVqo.js";
|
|
14
14
|
var _s = /\s/;
|
|
15
15
|
function Cs(a) {
|
|
16
16
|
for (var r = a.length; r-- && _s.test(a.charAt(r)); )
|
|
@@ -25,7 +25,7 @@ var _l = NaN, Ds = /^[-+]0x[0-9a-f]+$/i, Ts = /^0b[01]+$/i, Is = /^0o[0-7]+$/i,
|
|
|
25
25
|
function Cl(a) {
|
|
26
26
|
if (typeof a == "number")
|
|
27
27
|
return a;
|
|
28
|
-
if (
|
|
28
|
+
if (Zo(a))
|
|
29
29
|
return _l;
|
|
30
30
|
if (ii(a)) {
|
|
31
31
|
var r = typeof a.valueOf == "function" ? a.valueOf() : a;
|
|
@@ -38,7 +38,7 @@ function Cl(a) {
|
|
|
38
38
|
return o || Is.test(a) ? As(a.slice(2), o ? 2 : 8) : Ds.test(a) ? _l : +a;
|
|
39
39
|
}
|
|
40
40
|
var Wi = function() {
|
|
41
|
-
return
|
|
41
|
+
return Qo.Date.now();
|
|
42
42
|
}, Os = "Expected a function", zs = Math.max, Ps = Math.min;
|
|
43
43
|
function br(a, r, o) {
|
|
44
44
|
var i, s, c, m, p, f, _ = 0, S = !1, I = !1, M = !0;
|
|
@@ -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(), 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),
|
|
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), Q = 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",
|
|
@@ -145,7 +145,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
145
145
|
checked: !1
|
|
146
146
|
}
|
|
147
147
|
]), ie = async (g) => {
|
|
148
|
-
|
|
148
|
+
Q.value = g, await nt("disabled", null, g, !0);
|
|
149
149
|
}, je = async (g) => {
|
|
150
150
|
await nt("operable", null, g, !0);
|
|
151
151
|
};
|
|
@@ -247,7 +247,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
247
247
|
await nt("label", F, g);
|
|
248
248
|
}, rt = async (g, F) => {
|
|
249
249
|
g && await nt("type", F, g);
|
|
250
|
-
},
|
|
250
|
+
}, Z = async (g, F, C) => {
|
|
251
251
|
await nt(F, C, g, !1);
|
|
252
252
|
}, ae = (g, F) => {
|
|
253
253
|
P.value === F ? A.value = !1 : A.value = !0, P.value = F == null ? void 0 : F.changeProp;
|
|
@@ -339,11 +339,11 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
339
339
|
let B = C == null ? void 0 : C.map((X) => {
|
|
340
340
|
var he;
|
|
341
341
|
return (X == null ? void 0 : X.key) === "formContent" && ((he = X.contents) == null || he.map((de, Pe) => {
|
|
342
|
-
var D, xe, ot,
|
|
343
|
-
return de.type = (xe = (D = c.value) == null ? void 0 : D.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : xe.type, de.options = de != null && de.options ? de.options : ((ht = (
|
|
342
|
+
var D, xe, ot, Qe, ht, xt, yt, Ze, Ee, Ye, it, bt, Lt, Ot, Ct, It, Nt, Zt, Vt;
|
|
343
|
+
return de.type = (xe = (D = c.value) == null ? void 0 : D.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : xe.type, de.options = de != null && de.options ? de.options : ((ht = (Qe = (ot = de == null ? void 0 : de.key) == null ? void 0 : ot.split("$")) == null ? void 0 : Qe[1]) == null ? void 0 : ht.length) > 0 ? (Ee = (Ze = Lo((yt = (xt = de == null ? void 0 : de.key) == null ? void 0 : xt.split("$")) == null ? void 0 : yt[1])) == null ? void 0 : Ze.split(",")) == null ? void 0 : Ee.map((Kt) => ({
|
|
344
344
|
label: Kt,
|
|
345
345
|
value: Kt
|
|
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 = (
|
|
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 = (Zt = c.value) == null ? void 0 : Zt.find((Kt) => (Kt == null ? void 0 : Kt.prop) === (de == null ? void 0 : de.prop))) == null ? void 0 : Vt.isFormColHidden, de;
|
|
347
347
|
})), X;
|
|
348
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) => {
|
|
@@ -366,24 +366,24 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
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
|
-
var D, xe, ot,
|
|
370
|
-
U === ((xe = (D = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : xe[1]) && ((ht = (
|
|
369
|
+
var D, xe, ot, Qe, ht, xt, yt, Ze, Ee, Ye;
|
|
370
|
+
U === ((xe = (D = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : D.groupSelect) == null ? void 0 : xe[1]) && ((ht = (Qe = (ot = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Qe[1]) != null && ht.includes("[")) && ((Ye = v(Pe)) == null ? void 0 : Ye[(Ee = (Ze = (yt = (xt = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : xt.groupSelect) == null ? void 0 : yt[1]) == null ? void 0 : Ze.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) => {
|
|
374
|
-
var ot,
|
|
375
|
-
return (he != null && he[xe == null ? void 0 : xe.label] || he != null && he[(xt = (ht = (
|
|
374
|
+
var ot, Qe, ht, xt, yt, Ze, Ee, Ye, it, bt, Lt;
|
|
375
|
+
return (he != null && he[xe == null ? void 0 : xe.label] || he != null && he[(xt = (ht = (Qe = (ot = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Qe[1]) == null ? void 0 : ht.replaceAll("[", "")) == null ? void 0 : xt.replaceAll("]", "")]) && ((Ee = (Ze = (yt = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : yt.groupSelect) == null ? void 0 : Ze[1]) != null && Ee.includes("[")) && de != null && de.every((Ot) => {
|
|
376
376
|
var Ct, It;
|
|
377
377
|
return (It = (Ct = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : Ct.menuSelect) == null ? void 0 : It.includes(Ot);
|
|
378
378
|
}) && (xe.value = (he == null ? void 0 : he[xe == null ? void 0 : xe.label]) || (he == null ? void 0 : he[(Lt = (bt = (it = (Ye = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : Ye.groupSelect) == null ? void 0 : it[1]) == null ? void 0 : bt.replaceAll("[", "")) == null ? void 0 : Lt.replaceAll("]", "")]), Array.isArray(xe.value) && xe.value.every((Ot) => (Ot == null ? void 0 : Ot.url) && (Ot == null ? void 0 : Ot.name)) && (xe.type = "Upload")), xe;
|
|
379
379
|
}), Pe = Pe == null ? void 0 : Pe.map((xe) => {
|
|
380
|
-
var ot,
|
|
381
|
-
return (ot = xe == null ? void 0 : xe.optionUrl) != null && ot.oldMenuSelect && (xe.optionUrl.menuSelect = (ht = (
|
|
380
|
+
var ot, Qe, ht;
|
|
381
|
+
return (ot = xe == null ? void 0 : xe.optionUrl) != null && ot.oldMenuSelect && (xe.optionUrl.menuSelect = (ht = (Qe = v(xe)) == null ? void 0 : Qe.optionUrl) == null ? void 0 : ht.oldMenuSelect), xe;
|
|
382
382
|
}), c.value = v(Pe);
|
|
383
383
|
let D = v(Pe);
|
|
384
384
|
D = D == null ? void 0 : D.map((xe) => {
|
|
385
|
-
var ot,
|
|
386
|
-
return (
|
|
385
|
+
var ot, Qe, ht, xt, yt, Ze;
|
|
386
|
+
return (Qe = (ot = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : ot.menuSelect) != null && Qe.some((Ee) => Ee == null ? void 0 : Ee.includes("[")) && (xe.optionUrl.oldMenuSelect = (xt = (ht = v(xe)) == null ? void 0 : ht.optionUrl) == null ? void 0 : xt.menuSelect, xe.optionUrl.menuSelect = (Ze = (yt = xe == null ? void 0 : xe.optionUrl) == null ? void 0 : yt.menuSelect) == null ? void 0 : Ze.map((Ee) => {
|
|
387
387
|
var Ye, it, bt, Lt;
|
|
388
388
|
if (Ee != null && Ee.includes("[")) {
|
|
389
389
|
let Ot = (it = (Ye = Ee == null ? void 0 : Ee.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ye.split(":")) == null ? void 0 : it[1];
|
|
@@ -397,8 +397,8 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
397
397
|
B = B == null ? void 0 : B.map((Pe) => {
|
|
398
398
|
var D;
|
|
399
399
|
return (Pe == null ? void 0 : Pe.key) === "formContent" && (Pe.contents = (D = Pe.contents) == null ? void 0 : D.map((xe) => {
|
|
400
|
-
var ot,
|
|
401
|
-
return xe.value = ((
|
|
400
|
+
var ot, Qe, ht, xt;
|
|
401
|
+
return xe.value = ((Qe = (ot = c.value) == null ? void 0 : ot.find((yt) => (yt == null ? void 0 : yt.label) === (xe == null ? void 0 : xe.key))) == null ? void 0 : Qe.value) ?? (xe == null ? void 0 : xe.value), xe.type = ((xt = (ht = c.value) == null ? void 0 : ht.find((yt) => (yt == null ? void 0 : yt.prop) === (xe == null ? void 0 : xe.key))) == null ? void 0 : xt.type) ?? (xe == null ? void 0 : xe.type), xe;
|
|
402
402
|
})), Pe;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
@@ -420,18 +420,18 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
420
420
|
});
|
|
421
421
|
X == null || X.forEach((he) => {
|
|
422
422
|
var Pe, D, xe, ot;
|
|
423
|
-
const de = (Pe = H == null ? void 0 : H.filter((
|
|
423
|
+
const de = (Pe = H == null ? void 0 : H.filter((Qe) => {
|
|
424
424
|
var ht;
|
|
425
|
-
return (
|
|
426
|
-
})) == null ? void 0 : Pe.map((
|
|
425
|
+
return (Qe == null ? void 0 : Qe.name) === (he == null ? void 0 : he.name) && ((ht = Qe == null ? void 0 : Qe.url) == null ? void 0 : ht.includes(".mtl"));
|
|
426
|
+
})) == null ? void 0 : Pe.map((Qe) => Qe == null ? void 0 : Qe.url);
|
|
427
427
|
fe.push({
|
|
428
428
|
objUrl: he == null ? void 0 : he.url,
|
|
429
|
-
mtlUrls: ((D = H == null ? void 0 : H.filter((
|
|
429
|
+
mtlUrls: ((D = H == null ? void 0 : H.filter((Qe) => {
|
|
430
430
|
var ht;
|
|
431
|
-
return (
|
|
432
|
-
})) == null ? void 0 : D.length) === 1 ? (ot = (xe = H == null ? void 0 : H.filter((
|
|
431
|
+
return (Qe == null ? void 0 : Qe.name) === (he == null ? void 0 : he.name) && ((ht = Qe == null ? void 0 : Qe.url) == null ? void 0 : ht.includes(".mtl"));
|
|
432
|
+
})) == null ? void 0 : D.length) === 1 ? (ot = (xe = H == null ? void 0 : H.filter((Qe) => {
|
|
433
433
|
var ht;
|
|
434
|
-
return (
|
|
434
|
+
return (Qe == null ? void 0 : Qe.name) === (he == null ? void 0 : he.name) && ((ht = Qe == null ? void 0 : Qe.url) == null ? void 0 : ht.includes(".mtl"));
|
|
435
435
|
})) == null ? void 0 : xe[0]) == null ? void 0 : ot.url : de
|
|
436
436
|
});
|
|
437
437
|
}), K.setObjUrl(fe);
|
|
@@ -451,11 +451,11 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
451
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
453
|
let se = i.allMapContents, Be = (Re = (N = v(g)) == null ? void 0 : N.contents) == null ? void 0 : Re.map((D, xe) => {
|
|
454
|
-
var Ot, Ct, It, Nt,
|
|
455
|
-
let ot = (D == null ? void 0 : D.label) ?? (D == null ? void 0 : D.key) ?? "",
|
|
454
|
+
var Ot, Ct, It, Nt, Zt, Vt, Kt, ua, _a, oa, Ka, Pa, Ua, Ya, Ba, Ja, $a, Za, Qa, en, tn, ma, gn, an, Ma, sn, nn;
|
|
455
|
+
let ot = (D == null ? void 0 : D.label) ?? (D == null ? void 0 : D.key) ?? "", Qe = (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)) {
|
|
457
|
-
const [wt, da] = (Vt = (
|
|
458
|
-
|
|
457
|
+
const [wt, da] = (Vt = (Zt = v(D == null ? void 0 : D.key).split("$")) == null ? void 0 : Zt[1]) == null ? void 0 : Vt.split(/[()]/);
|
|
458
|
+
Qe = ((Kt = rs.find((kt) => (kt == null ? void 0 : kt.key) === wt)) == null ? void 0 : Kt.value) ?? "", ((ua = da == null ? void 0 : da.split(",")) == null ? void 0 : ua.length) > 0 && (ht = (_a = da == null ? void 0 : da.split(",")) == null ? void 0 : _a.map((kt) => ({
|
|
459
459
|
label: kt,
|
|
460
460
|
value: kt
|
|
461
461
|
})));
|
|
@@ -468,9 +468,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
468
468
|
label: wt,
|
|
469
469
|
value: wt
|
|
470
470
|
})));
|
|
471
|
-
let yt = !1,
|
|
471
|
+
let yt = !1, Ze = (D == null ? void 0 : D.isFormColHidden) ?? !1, Ee = gr((Ba = v(D)) == null ? void 0 : Ba.optionUrl, se), Ye = Ee !== void 0 && Ee !== "" ? Ee : D != null && D.originalContent && (D == null ? void 0 : D.originalContent) !== "" ? D.originalContent : D != null && D.value ? D.value : (ht == null ? void 0 : ht.length) > 0 ? (Ja = ht == null ? void 0 : ht[0]) == null ? void 0 : Ja.value : (D == null ? void 0 : D.value) ?? "", it = !1, bt = Ee !== void 0 || Qe === "" ? "Input" : Qe;
|
|
472
472
|
if ((Array.isArray(Ee) && (Ee != null && Ee.every((wt) => (wt == null ? void 0 : wt.name) && (wt == null ? void 0 : wt.url))) || Array.isArray(Ye) && (Ye != null && Ye.every((wt) => (wt == null ? void 0 : wt.name) && (wt == null ? void 0 : wt.url)))) && (bt = "upload"), typeof Ye == "string" && (Ye != null && Ye.includes("loginUser")) && !(Ye != null && Ye.includes("loginUserSign")) || D != null && D.isLoginUser)
|
|
473
|
-
yt = !0, Ye = (($a = b.value) == null ? void 0 : $a.姓名) || ((
|
|
473
|
+
yt = !0, Ye = (($a = b.value) == null ? void 0 : $a.姓名) || ((Za = b.value) == null ? void 0 : Za.account) || ((Qa = b.value) == null ? void 0 : Qa.账号) || ((en = b.value) == null ? void 0 : en.userName);
|
|
474
474
|
else if (typeof Ye == "string" && (Ye != null && Ye.includes("loginUserSign")) || D != null && D.signature || D != null && D.isShow)
|
|
475
475
|
if (it = !0, (D == null ? void 0 : D.isShow) === "originalSignature")
|
|
476
476
|
bt = "image", Ye = lt.value + "/" + ((tn = b.value) == null ? void 0 : tn.signature);
|
|
@@ -500,7 +500,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
500
500
|
}), kt = D == null ? void 0 : D.isShow;
|
|
501
501
|
da == null || da.forEach((jt) => {
|
|
502
502
|
jt != null && jt.value ? kt = kt.replaceAll(jt == null ? void 0 : jt.key, "'" + (jt == null ? void 0 : jt.value) + "'") : kt = kt.replaceAll(jt == null ? void 0 : jt.key, "undefined");
|
|
503
|
-
}), kt != null && kt.includes("(") || (kt != null && kt.includes("==") ? kt = ((gn = kt == null ? void 0 : kt.split("===")) == null ? void 0 : gn[0]) + "==='" + ((an = kt == null ? void 0 : kt.split("===")) == null ? void 0 : an[1]) + "'" : kt = ((Ma = kt == null ? void 0 : kt.split("=")) == null ? void 0 : Ma[0]) + "='" + ((sn = kt == null ? void 0 : kt.split("=")) == null ? void 0 : sn[1]) + "'"), kt != null && kt.includes("=") && !(kt != null && kt.includes("==")) && !(kt != null && kt.includes("===")) && (kt = kt == null ? void 0 : kt.replaceAll("=", "==")), new Function(`if (${kt}) { return true } else { return false }`)() ? (
|
|
503
|
+
}), kt != null && kt.includes("(") || (kt != null && kt.includes("==") ? kt = ((gn = kt == null ? void 0 : kt.split("===")) == null ? void 0 : gn[0]) + "==='" + ((an = kt == null ? void 0 : kt.split("===")) == null ? void 0 : an[1]) + "'" : kt = ((Ma = kt == null ? void 0 : kt.split("=")) == null ? void 0 : Ma[0]) + "='" + ((sn = kt == null ? void 0 : kt.split("=")) == null ? void 0 : sn[1]) + "'"), kt != null && kt.includes("=") && !(kt != null && kt.includes("==")) && !(kt != null && kt.includes("===")) && (kt = kt == null ? void 0 : kt.replaceAll("=", "==")), new Function(`if (${kt}) { return true } else { return false }`)() ? (Ze = !1, bt = "image", Ye = lt.value + "/" + ((nn = b.value) == null ? void 0 : nn.signature)) : Ye = "";
|
|
504
504
|
}
|
|
505
505
|
return Array.isArray(Ye) && Ye.every((wt) => (wt == null ? void 0 : wt.url) && (wt == null ? void 0 : wt.name)) && (D.type = "Upload"), D != null && D.isMainUrl && (bt = "Url"), {
|
|
506
506
|
label: ot ?? "",
|
|
@@ -514,7 +514,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
514
514
|
isLoginUser: yt,
|
|
515
515
|
config: D == null ? void 0 : D.config,
|
|
516
516
|
optionUrl: (D == null ? void 0 : D.optionUrl) ?? D,
|
|
517
|
-
isFormColHidden:
|
|
517
|
+
isFormColHidden: Ze,
|
|
518
518
|
signature: it,
|
|
519
519
|
isMain: D == null ? void 0 : D.isMain,
|
|
520
520
|
isMainUrl: D == null ? void 0 : D.isMainUrl,
|
|
@@ -523,7 +523,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
523
523
|
};
|
|
524
524
|
});
|
|
525
525
|
Be = await (Be == null ? void 0 : Be.map(async (D) => {
|
|
526
|
-
var xe, ot,
|
|
526
|
+
var xe, ot, Qe, ht, xt, yt, Ze;
|
|
527
527
|
if (((xe = D == null ? void 0 : D.type) == null ? void 0 : xe.toUpperCase()) === "UPLOAD" && !Array.isArray(D == null ? void 0 : D.value) && (D == null ? void 0 : D.value) !== "") {
|
|
528
528
|
let Ee = await Ai.get(D == null ? void 0 : D.value, {
|
|
529
529
|
responseType: "blob",
|
|
@@ -531,13 +531,13 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
531
531
|
"Content-Type": "application/json"
|
|
532
532
|
}
|
|
533
533
|
}), Ye = "";
|
|
534
|
-
Ye = (xt = (ht = (
|
|
534
|
+
Ye = (xt = (ht = (Qe = (ot = Ee == null ? void 0 : Ee.headers) == null ? void 0 : ot["content-disposition"]) == null ? void 0 : Qe.split("filename=")) == null ? void 0 : ht[1]) == null ? void 0 : xt.replaceAll('"', "");
|
|
535
535
|
const it = new FormData();
|
|
536
536
|
it.append("file", Ee.data, Ye);
|
|
537
537
|
const bt = await ns(it);
|
|
538
538
|
let Lt = [{
|
|
539
539
|
name: Ye,
|
|
540
|
-
url: (
|
|
540
|
+
url: (Ze = (yt = bt == null ? void 0 : bt.data) == null ? void 0 : yt.result) == null ? void 0 : Ze.url
|
|
541
541
|
}];
|
|
542
542
|
D.value = Lt;
|
|
543
543
|
}
|
|
@@ -550,26 +550,26 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
550
550
|
}), q.setSelectArray(Ge), q.setSelectString(X);
|
|
551
551
|
let he = (Ie = v(Be)) == null ? void 0 : Ie.map((D) => (D != null && D.value && Ji(D == null ? void 0 : D.value) && Array.isArray(JSON.parse(D == null ? void 0 : D.value)) && (D.value = JSON.parse(D.value)), D));
|
|
552
552
|
he = he == null ? void 0 : he.map((D) => {
|
|
553
|
-
var xe, ot,
|
|
553
|
+
var xe, ot, Qe, ht, xt, yt, Ze, Ee;
|
|
554
554
|
if ((ot = (xe = D == null ? void 0 : D.optionUrl) == null ? void 0 : xe.menuSelect) != null && ot.some((Ye) => Ye == null ? void 0 : Ye.includes("["))) {
|
|
555
555
|
let Ye = "";
|
|
556
|
-
D.optionUrl.oldMenuSelect = (ht = (
|
|
556
|
+
D.optionUrl.oldMenuSelect = (ht = (Qe = v(D)) == null ? void 0 : Qe.optionUrl) == null ? void 0 : ht.menuSelect, D.optionUrl.menuSelect = (yt = (xt = D == null ? void 0 : D.optionUrl) == null ? void 0 : xt.menuSelect) == null ? void 0 : yt.map((it) => {
|
|
557
557
|
var bt, Lt, Ot, Ct, It, Nt;
|
|
558
558
|
if (it != null && it.includes("[")) {
|
|
559
|
-
let
|
|
560
|
-
Ye = Oi((Ot = it == null ? void 0 : it.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ot.split(":"), se == null ? void 0 : se[qe.value], se), it = ((It = (Ct = v(he)) == null ? void 0 : Ct.find((Vt) => (Vt == null ? void 0 : Vt.label) ===
|
|
559
|
+
let Zt = (Lt = (bt = it == null ? void 0 : it.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : bt.split(":")) == null ? void 0 : Lt[1];
|
|
560
|
+
Ye = Oi((Ot = it == null ? void 0 : it.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ot.split(":"), se == null ? void 0 : se[qe.value], se), it = ((It = (Ct = v(he)) == null ? void 0 : Ct.find((Vt) => (Vt == null ? void 0 : Vt.label) === Zt)) == null ? void 0 : It.value) || Oi((Nt = it == null ? void 0 : it.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Nt.split(":"), se == null ? void 0 : se[qe.value], se);
|
|
561
561
|
}
|
|
562
562
|
return it;
|
|
563
|
-
}), Ye !== "" && D.value === "" && (D.value = yr(D.optionUrl.menuSelect, D.optionUrl.oldMenuSelect, (
|
|
563
|
+
}), Ye !== "" && D.value === "" && (D.value = yr(D.optionUrl.menuSelect, D.optionUrl.oldMenuSelect, (Ze = D == null ? void 0 : D.optionUrl) == null ? void 0 : Ze.groupSelect, se), Array.isArray(D.value) && ((Ee = D.value) != null && Ee.every((it) => it == null ? void 0 : it.url)) && (D.type = "UPLOAD"));
|
|
564
564
|
}
|
|
565
565
|
return D;
|
|
566
|
-
}), c.value = he,
|
|
566
|
+
}), c.value = he, Q.value = ((ge = c.value) == null ? void 0 : ge.every((D) => D == null ? void 0 : D.disabled)) || _e.value === qe.value, te.value = (L = c.value) == null ? void 0 : L.every((D) => D == null ? void 0 : D.operable), E.value = (pe = c.value) == null ? void 0 : pe.map((D) => D == null ? void 0 : D.label);
|
|
567
567
|
let de = [], Pe = [];
|
|
568
568
|
if ((be = v(c.value)) == null || be.forEach((D) => {
|
|
569
569
|
var xe;
|
|
570
570
|
Array.isArray(D == null ? void 0 : D.value) && ((xe = D == null ? void 0 : D.value) != null && xe.find((ot) => {
|
|
571
|
-
var
|
|
572
|
-
return (
|
|
571
|
+
var Qe;
|
|
572
|
+
return (Qe = ot == null ? void 0 : ot.url) == null ? void 0 : Qe.includes(".obj");
|
|
573
573
|
})) && (Pe = D == null ? void 0 : D.value);
|
|
574
574
|
}), (Pe == null ? void 0 : Pe.length) > 0) {
|
|
575
575
|
const D = (ke = v(Pe)) == null ? void 0 : ke.filter((xe) => {
|
|
@@ -577,29 +577,29 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
577
577
|
return (ot = xe == null ? void 0 : xe.url) == null ? void 0 : ot.includes(".obj");
|
|
578
578
|
});
|
|
579
579
|
D == null || D.forEach((xe) => {
|
|
580
|
-
var
|
|
581
|
-
const ot = (
|
|
580
|
+
var Qe, ht, xt, yt;
|
|
581
|
+
const ot = (Qe = Pe == null ? void 0 : Pe.filter((Ze) => {
|
|
582
582
|
var Ee;
|
|
583
|
-
return (
|
|
584
|
-
})) == null ? void 0 :
|
|
583
|
+
return (Ze == null ? void 0 : Ze.name) === (xe == null ? void 0 : xe.name) && ((Ee = Ze == null ? void 0 : Ze.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
584
|
+
})) == null ? void 0 : Qe.map((Ze) => Ze == null ? void 0 : Ze.url);
|
|
585
585
|
de.push({
|
|
586
586
|
objUrl: xe == null ? void 0 : xe.url,
|
|
587
|
-
mtlUrls: ((ht = Pe == null ? void 0 : Pe.filter((
|
|
587
|
+
mtlUrls: ((ht = Pe == null ? void 0 : Pe.filter((Ze) => {
|
|
588
588
|
var Ee;
|
|
589
|
-
return (
|
|
590
|
-
})) == null ? void 0 : ht.length) === 1 ? (yt = (xt = Pe == null ? void 0 : Pe.filter((
|
|
589
|
+
return (Ze == null ? void 0 : Ze.name) === (xe == null ? void 0 : xe.name) && ((Ee = Ze == null ? void 0 : Ze.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
590
|
+
})) == null ? void 0 : ht.length) === 1 ? (yt = (xt = Pe == null ? void 0 : Pe.filter((Ze) => {
|
|
591
591
|
var Ee;
|
|
592
|
-
return (
|
|
592
|
+
return (Ze == null ? void 0 : Ze.name) === (xe == null ? void 0 : xe.name) && ((Ee = Ze == null ? void 0 : Ze.url) == null ? void 0 : Ee.includes(".mtl"));
|
|
593
593
|
})) == null ? void 0 : xt[0]) == null ? void 0 : yt.url : ot
|
|
594
594
|
});
|
|
595
595
|
}), K.setObjUrl(de);
|
|
596
596
|
}
|
|
597
597
|
(Fe = v(c.value)) == null || Fe.forEach((D) => {
|
|
598
|
-
var xe, ot,
|
|
599
|
-
if ((ot = (xe = D == null ? void 0 : D.value) == null ? void 0 : xe.toString()) != null && ot.includes(".stl") || (ht = (
|
|
598
|
+
var xe, ot, Qe, ht, xt, yt, Ze, Ee, Ye, it, bt, Lt, Ot;
|
|
599
|
+
if ((ot = (xe = D == null ? void 0 : D.value) == null ? void 0 : xe.toString()) != null && ot.includes(".stl") || (ht = (Qe = D == null ? void 0 : D.value) == null ? void 0 : Qe.toString()) != null && ht.includes(".STL") || (yt = (xt = D == null ? void 0 : D.value) == null ? void 0 : xt.toString()) != null && yt.includes(".obj") || (Ee = (Ze = D == null ? void 0 : D.value) == null ? void 0 : Ze.toString()) != null && Ee.includes(".mtl") || (it = (Ye = D == null ? void 0 : D.value) == null ? void 0 : Ye.toString()) != null && it.includes(".urdf")) {
|
|
600
600
|
let Ct = {}, It = [], Nt;
|
|
601
|
-
Array.isArray(D == null ? void 0 : D.value) ? Nt = D == null ? void 0 : D.value : Nt = (bt = D == null ? void 0 : D.value) == null ? void 0 : bt.split(","), Nt == null || Nt.forEach((
|
|
602
|
-
|
|
601
|
+
Array.isArray(D == null ? void 0 : D.value) ? Nt = D == null ? void 0 : D.value : Nt = (bt = D == null ? void 0 : D.value) == null ? void 0 : bt.split(","), Nt == null || Nt.forEach((Zt) => {
|
|
602
|
+
Zt.includes(".mtl") ? It.push(Zt) : Ct.blob = Ct.blob === "undefined" ? Zt : Ct.blob + "," + Zt;
|
|
603
603
|
}), (It == null ? void 0 : It.length) > 0 && (Ct.mtlBlobs = It), (Ot = (Lt = Object.values(Ct)) == null ? void 0 : Lt[0]) != null && Ot.includes("http:");
|
|
604
604
|
}
|
|
605
605
|
});
|
|
@@ -635,7 +635,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
635
635
|
},
|
|
636
636
|
{ deep: !0, immediate: !0 }
|
|
637
637
|
), mt(() => _e.value, (g) => {
|
|
638
|
-
|
|
638
|
+
Q.value = g === qe.value;
|
|
639
639
|
}, { immediate: !0 }), (g, F) => {
|
|
640
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, [
|
|
@@ -647,7 +647,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
647
647
|
isEnableWrap: oe.value,
|
|
648
648
|
onOnButtonClick: at,
|
|
649
649
|
onChange: k,
|
|
650
|
-
formDisabled:
|
|
650
|
+
formDisabled: Q.value,
|
|
651
651
|
formLabelsOperable: te.value,
|
|
652
652
|
isButtonRow: S.value,
|
|
653
653
|
onPreview: Te,
|
|
@@ -738,7 +738,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
738
738
|
value: fe == null ? void 0 : fe[ve],
|
|
739
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
|
-
onChange: (Ie) =>
|
|
741
|
+
onChange: (Ie) => Z(Ie, ve, fe)
|
|
742
742
|
}, null, 8, ["value", "active-text", "onChange"])
|
|
743
743
|
]);
|
|
744
744
|
}), 128))
|
|
@@ -939,7 +939,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
939
939
|
label: "按钮颜色",
|
|
940
940
|
type: "Color"
|
|
941
941
|
}
|
|
942
|
-
], Vs = { class: "table-header-child" }, Hs = { class: "table-header-child-main" }, qs = { class: "table-header-child-content" }, Gs = { class: "table-header-child-content-item" }, Xs = { class: "fix-button" }, Ys = { key: 0 }, Js = { class: "form-content" },
|
|
942
|
+
], Vs = { class: "table-header-child" }, Hs = { class: "table-header-child-main" }, qs = { class: "table-header-child-content" }, Gs = { class: "table-header-child-content-item" }, Xs = { class: "fix-button" }, Ys = { key: 0 }, Js = { class: "form-content" }, Zs = {
|
|
943
943
|
__name: "tableNewChild",
|
|
944
944
|
props: {
|
|
945
945
|
tableChildContents: Array
|
|
@@ -1096,7 +1096,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1096
1096
|
]);
|
|
1097
1097
|
};
|
|
1098
1098
|
}
|
|
1099
|
-
},
|
|
1099
|
+
}, Qs = /* @__PURE__ */ Jt(Zs, [["__scopeId", "data-v-e0fef72d"]]), eu = { class: "table-header-child" }, tu = { class: "table-header-child-main" }, au = { class: "table-header-child-content" }, nu = { class: "table-header-child-content-item" }, iu = { class: "fix-button" }, lu = { key: 0 }, ru = { class: "form-content" }, ou = { class: "dialog-footer" }, su = {
|
|
1100
1100
|
__name: "tableChildren",
|
|
1101
1101
|
props: {
|
|
1102
1102
|
tableChildContents: Array
|
|
@@ -1212,7 +1212,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1212
1212
|
])
|
|
1213
1213
|
]),
|
|
1214
1214
|
A != null && A.children && A.children.length > 0 ? (Oe(), tt("div", lu, [
|
|
1215
|
-
De(
|
|
1215
|
+
De(Qs, {
|
|
1216
1216
|
tableChildContents: A == null ? void 0 : A.children,
|
|
1217
1217
|
onDeleteChange: oe,
|
|
1218
1218
|
onFixChange: I
|
|
@@ -1377,7 +1377,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1377
1377
|
x = x == null ? void 0 : x.map((H) => ((H == null ? void 0 : H.name) === "组信息选项" && (H.contents = fe), H));
|
|
1378
1378
|
}
|
|
1379
1379
|
M.value = k == null ? void 0 : k.id, P.value = await on(In(x)), A.value = await on(In(x));
|
|
1380
|
-
},
|
|
1380
|
+
}, Q = (k) => {
|
|
1381
1381
|
Xa.confirm("是否确认要删除", "", {
|
|
1382
1382
|
confirmButtonText: "确认",
|
|
1383
1383
|
cancelButtonText: "取消",
|
|
@@ -1583,7 +1583,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1583
1583
|
var F;
|
|
1584
1584
|
return (g == null ? void 0 : g.key) === "header" && (g.contents = (F = p.value) != null && F.some((C) => C == null ? void 0 : C.children) ? [p.value] : p.value), g;
|
|
1585
1585
|
}));
|
|
1586
|
-
},
|
|
1586
|
+
}, Z = (k) => {
|
|
1587
1587
|
var g, F, C;
|
|
1588
1588
|
k.type === "fix" ? k.id !== "" ? p.value = Cr(p.value, k) : p.value = _r(p.value, k == null ? void 0 : k.contents) : p.value = Sr(p.value, k), p.value = (g = p.value) != null && g.some((B) => B == null ? void 0 : B.children) ? [p.value] : p.value, M.value = "";
|
|
1589
1589
|
let x = v(o.originalItemContents);
|
|
@@ -1688,7 +1688,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1688
1688
|
});
|
|
1689
1689
|
else {
|
|
1690
1690
|
let L = [];
|
|
1691
|
-
const pe = (Ie =
|
|
1691
|
+
const pe = (Ie = Zi(v(p.value))) == null ? void 0 : Ie.filter((be) => (be == null ? void 0 : be.prop) !== "operate");
|
|
1692
1692
|
pe == null || pe.forEach((be) => {
|
|
1693
1693
|
var ke;
|
|
1694
1694
|
b.value++, L.push({
|
|
@@ -1759,7 +1759,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1759
1759
|
De(Er, {
|
|
1760
1760
|
tableChildContents: C == null ? void 0 : C.children,
|
|
1761
1761
|
onDeleteChange: rt,
|
|
1762
|
-
onFixChange:
|
|
1762
|
+
onFixChange: Z
|
|
1763
1763
|
}, null, 8, ["tableChildContents"])
|
|
1764
1764
|
])) : fa("", !0)
|
|
1765
1765
|
]))), 128))
|
|
@@ -1881,7 +1881,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1881
1881
|
name: "ChildDelete",
|
|
1882
1882
|
class: "svg-icon-content",
|
|
1883
1883
|
style: { width: "24px", height: "24px" },
|
|
1884
|
-
onClick: (ne) =>
|
|
1884
|
+
onClick: (ne) => Q(C)
|
|
1885
1885
|
}, null, 8, ["onClick"])
|
|
1886
1886
|
])
|
|
1887
1887
|
])
|
|
@@ -2077,7 +2077,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2077
2077
|
]);
|
|
2078
2078
|
};
|
|
2079
2079
|
}
|
|
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),
|
|
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), Zu = (a, r, o, i) => {
|
|
2081
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,
|
|
@@ -2093,7 +2093,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2093
2093
|
id: (a == null ? void 0 : a.id) || r + "",
|
|
2094
2094
|
component: i
|
|
2095
2095
|
};
|
|
2096
|
-
},
|
|
2096
|
+
}, Qu = (a, r) => {
|
|
2097
2097
|
var i, s, c, m, p, f, _, S;
|
|
2098
2098
|
let o = 1;
|
|
2099
2099
|
if (a != null && a.compData && Array.isArray(a == null ? void 0 : a.compData))
|
|
@@ -2110,9 +2110,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2110
2110
|
}), s = i == null ? void 0 : i.find((f) => {
|
|
2111
2111
|
var _, S, I;
|
|
2112
2112
|
return ((I = (S = (_ = f == null ? void 0 : f.value) == null ? void 0 : _.tableData) == null ? void 0 : S.component) == null ? void 0 : I.id) === a.id;
|
|
2113
|
-
}), c =
|
|
2113
|
+
}), c = Qu(a);
|
|
2114
2114
|
return a != null && a.children && (a == null ? void 0 : a.children.length) > 0 && (a.children = a.children.map((f, _) => Dr(f, _))), {
|
|
2115
|
-
...
|
|
2115
|
+
...Zu(s, r, c, a)
|
|
2116
2116
|
};
|
|
2117
2117
|
}, jh = (a, r) => {
|
|
2118
2118
|
if ((a == null ? void 0 : a.length) === 0) return [];
|
|
@@ -2670,15 +2670,15 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2670
2670
|
return w ? R == null ? void 0 : R.filter((b) => w == null ? void 0 : w.includes(b == null ? void 0 : b.prop)) : R;
|
|
2671
2671
|
}, M = (K, oe) => {
|
|
2672
2672
|
var A, re, Ne, ut, Me, Xe, _e, O, te;
|
|
2673
|
-
const w = ((Me = (ut = (Ne = (re = (A = o == null ? void 0 : o.comp) == null ? void 0 : A.compData) == null ? void 0 : re.find((
|
|
2674
|
-
value:
|
|
2675
|
-
label:
|
|
2676
|
-
}))) || [], R = /button/i, b = ((te = (O = (_e = (Xe = o == null ? void 0 : o.comp) == null ? void 0 : Xe.compData) == null ? void 0 : _e.filter((
|
|
2677
|
-
value:
|
|
2678
|
-
label:
|
|
2673
|
+
const w = ((Me = (ut = (Ne = (re = (A = o == null ? void 0 : o.comp) == null ? void 0 : A.compData) == null ? void 0 : re.find((Q) => (Q == null ? void 0 : Q.key) === "header")) == null ? void 0 : Ne.contents) == null ? void 0 : ut.filter((Q) => (Q == null ? void 0 : Q.label) !== "操作")) == null ? void 0 : Me.map((Q) => ({
|
|
2674
|
+
value: Q == null ? void 0 : Q.prop,
|
|
2675
|
+
label: Q.label
|
|
2676
|
+
}))) || [], R = /button/i, b = ((te = (O = (_e = (Xe = o == null ? void 0 : o.comp) == null ? void 0 : Xe.compData) == null ? void 0 : _e.filter((Q) => R.test(Q == null ? void 0 : Q.key))) == null ? void 0 : O.flatMap((Q) => Q == null ? void 0 : Q.contents)) == null ? void 0 : te.map((Q) => ({
|
|
2677
|
+
value: Q == null ? void 0 : Q.label,
|
|
2678
|
+
label: Q.label
|
|
2679
2679
|
}))) || [], P = S(w, b, K);
|
|
2680
|
-
f.value = oe ? tc(P, oe) : P, K && (K == null ? void 0 : K.length) > 0 && c.value.push(...K == null ? void 0 : K.map((
|
|
2681
|
-
prop:
|
|
2680
|
+
f.value = oe ? tc(P, oe) : P, K && (K == null ? void 0 : K.length) > 0 && c.value.push(...K == null ? void 0 : K.map((Q) => ({
|
|
2681
|
+
prop: Q,
|
|
2682
2682
|
rule: s
|
|
2683
2683
|
})));
|
|
2684
2684
|
};
|
|
@@ -2734,30 +2734,30 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2734
2734
|
setup(a, { emit: r }) {
|
|
2735
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
|
-
const
|
|
2738
|
-
return (
|
|
2737
|
+
const Q = te == null ? void 0 : te.optionUrl;
|
|
2738
|
+
return (Q == null ? void 0 : Q.selectRelateType) || te[O.key];
|
|
2739
2739
|
}
|
|
2740
2740
|
if ((te == null ? void 0 : te.type) == "Select" && (O == null ? void 0 : O.key) === "menuSelect") {
|
|
2741
|
-
const
|
|
2742
|
-
return (
|
|
2741
|
+
const Q = te == null ? void 0 : te.optionUrl;
|
|
2742
|
+
return (Q == null ? void 0 : Q.menuSelect) || te[O.key];
|
|
2743
2743
|
}
|
|
2744
2744
|
if ((te == null ? void 0 : te.type) == "Select" && (O == null ? void 0 : O.key) === "groupSelect") {
|
|
2745
|
-
const
|
|
2746
|
-
return (
|
|
2745
|
+
const Q = te == null ? void 0 : te.optionUrl;
|
|
2746
|
+
return (Q == null ? void 0 : Q.groupSelect) || te[O.key];
|
|
2747
2747
|
}
|
|
2748
2748
|
if ((te == null ? void 0 : te.type) == "Select" && (O == null ? void 0 : O.key) === "originalContent")
|
|
2749
2749
|
return (te == null ? void 0 : te.value) || te[O.key];
|
|
2750
2750
|
if ((te == null ? void 0 : te.type) == "Select" && (O == null ? void 0 : O.key) === "multiple") {
|
|
2751
|
-
const
|
|
2752
|
-
return kr(
|
|
2751
|
+
const Q = te[O.key];
|
|
2752
|
+
return kr(Q) ? Q : O.default;
|
|
2753
2753
|
}
|
|
2754
2754
|
return (O == null ? void 0 : O.label) === "类型" && te[O.key] === "" ? "Input" : (O == null ? void 0 : O.key) === "isFormColHidden" && !te[O.key] ? !1 : te[O.key];
|
|
2755
2755
|
}, q = async (O) => {
|
|
2756
2756
|
var ye, qe, dt, $e, E, ze;
|
|
2757
2757
|
s.value = !0;
|
|
2758
2758
|
let te = [];
|
|
2759
|
-
const
|
|
2760
|
-
if (
|
|
2759
|
+
const Q = await ((dt = (qe = (ye = ha) == null ? void 0 : ye.find((ie) => (ie == null ? void 0 : ie.key) === ((O == null ? void 0 : O.type) === "" ? "Input" : O == null ? void 0 : O.type))) == null ? void 0 : qe.value) == null ? void 0 : dt.value) ?? ((E = ($e = ha) == null ? void 0 : $e.find((ie) => (ie == null ? void 0 : ie.key) === ((O == null ? void 0 : O.type) === "" ? "Input" : O == null ? void 0 : O.type))) == null ? void 0 : E.value);
|
|
2760
|
+
if (Q == null || Q.forEach((ie) => {
|
|
2761
2761
|
M.value++, te.push({
|
|
2762
2762
|
label: ie == null ? void 0 : ie.label,
|
|
2763
2763
|
name: ie == null ? void 0 : ie.label,
|
|
@@ -2775,10 +2775,10 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2775
2775
|
}
|
|
2776
2776
|
S.value = O == null ? void 0 : O.id, c.value = await on(In(te)), m.value = await on(In(te));
|
|
2777
2777
|
}, K = (O) => {
|
|
2778
|
-
var
|
|
2778
|
+
var Q;
|
|
2779
2779
|
p.value = !0;
|
|
2780
2780
|
let te = [];
|
|
2781
|
-
(
|
|
2781
|
+
(Q = Ni) == null || Q.forEach((ye) => {
|
|
2782
2782
|
M.value++, te.push({
|
|
2783
2783
|
label: ye == null ? void 0 : ye.label,
|
|
2784
2784
|
name: ye == null ? void 0 : ye.label,
|
|
@@ -2792,9 +2792,9 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2792
2792
|
mt(
|
|
2793
2793
|
() => I.value,
|
|
2794
2794
|
() => {
|
|
2795
|
-
var te,
|
|
2795
|
+
var te, Q;
|
|
2796
2796
|
let O = v(o.originalItemContents);
|
|
2797
|
-
(te = v(o.originalItemContents)) != null && te.find((ye) => (ye == null ? void 0 : ye.key) === "enableWrap") ? O = (
|
|
2797
|
+
(te = v(o.originalItemContents)) != null && te.find((ye) => (ye == null ? void 0 : ye.key) === "enableWrap") ? O = (Q = v(o.originalItemContents)) == null ? void 0 : Q.map((ye) => ((ye == null ? void 0 : ye.key) === "enableWrap" && (ye.contents = !I.value), ye)) : O.push({
|
|
2798
2798
|
key: "enableWrap",
|
|
2799
2799
|
contents: !I.value
|
|
2800
2800
|
}), i("change", O);
|
|
@@ -2802,10 +2802,10 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2802
2802
|
{ deep: !0 }
|
|
2803
2803
|
);
|
|
2804
2804
|
const oe = () => {
|
|
2805
|
-
var
|
|
2805
|
+
var Q, ye, qe, dt, $e;
|
|
2806
2806
|
$.value = W.value;
|
|
2807
2807
|
let O = {};
|
|
2808
|
-
if (S.value !== "" ? O.id = S.value : (M.value++, O.id = "id" + M.value), (
|
|
2808
|
+
if (S.value !== "" ? O.id = S.value : (M.value++, O.id = "id" + M.value), (Q = $.value) == null || Q.forEach((E) => {
|
|
2809
2809
|
var ie;
|
|
2810
2810
|
const ze = (ie = Ni) == null ? void 0 : ie.find((je) => (je == null ? void 0 : je.label) === (E == null ? void 0 : E.label));
|
|
2811
2811
|
ze && (O[ze.key] = E.value);
|
|
@@ -2828,8 +2828,8 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2828
2828
|
type: "warning"
|
|
2829
2829
|
}).then(
|
|
2830
2830
|
() => {
|
|
2831
|
-
var te,
|
|
2832
|
-
_.value = (te = v(_.value)) == null ? void 0 : te.filter((ye) => (ye == null ? void 0 : ye.id) !== (O == null ? void 0 : O.id)), i("change", (
|
|
2831
|
+
var te, Q;
|
|
2832
|
+
_.value = (te = v(_.value)) == null ? void 0 : te.filter((ye) => (ye == null ? void 0 : ye.id) !== (O == null ? void 0 : O.id)), i("change", (Q = v(o.originalItemContents)) == null ? void 0 : Q.map((ye) => ((ye == null ? void 0 : ye.key) === "formContent" && (ye.contents = _.value), ye))), Ft({
|
|
2833
2833
|
type: "success",
|
|
2834
2834
|
message: "删除成功"
|
|
2835
2835
|
});
|
|
@@ -2843,8 +2843,8 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2843
2843
|
type: "warning"
|
|
2844
2844
|
}).then(
|
|
2845
2845
|
() => {
|
|
2846
|
-
var te,
|
|
2847
|
-
f.value = (te = v(f.value)) == null ? void 0 : te.filter((ye) => (ye == null ? void 0 : ye.id) !== (O == null ? void 0 : O.id)), i("change", (
|
|
2846
|
+
var te, Q;
|
|
2847
|
+
f.value = (te = v(f.value)) == null ? void 0 : te.filter((ye) => (ye == null ? void 0 : ye.id) !== (O == null ? void 0 : O.id)), i("change", (Q = v(o.originalItemContents)) == null ? void 0 : Q.map((ye) => ((ye == null ? void 0 : ye.key) === "formButton" && (ye.contents = f.value), ye))), Ft({
|
|
2848
2848
|
type: "success",
|
|
2849
2849
|
message: "删除成功"
|
|
2850
2850
|
});
|
|
@@ -2855,21 +2855,21 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2855
2855
|
var te;
|
|
2856
2856
|
p.value = !0;
|
|
2857
2857
|
let O = [];
|
|
2858
|
-
(te = Ni) == null || te.forEach((
|
|
2858
|
+
(te = Ni) == null || te.forEach((Q) => {
|
|
2859
2859
|
M.value++, O.push({
|
|
2860
|
-
label:
|
|
2861
|
-
name:
|
|
2862
|
-
type:
|
|
2863
|
-
value: (
|
|
2860
|
+
label: Q == null ? void 0 : Q.label,
|
|
2861
|
+
name: Q == null ? void 0 : Q.label,
|
|
2862
|
+
type: Q.type,
|
|
2863
|
+
value: (Q == null ? void 0 : Q.label) === "类型" ? "normal" : "",
|
|
2864
2864
|
id: M.value,
|
|
2865
|
-
contents:
|
|
2865
|
+
contents: Q == null ? void 0 : Q.options
|
|
2866
2866
|
});
|
|
2867
2867
|
}), $.value = O, W.value = O;
|
|
2868
2868
|
}, P = () => {
|
|
2869
|
-
var te,
|
|
2869
|
+
var te, Q, ye;
|
|
2870
2870
|
s.value = !0;
|
|
2871
2871
|
let O = [];
|
|
2872
|
-
(ye = (
|
|
2872
|
+
(ye = (Q = (te = ha) == null ? void 0 : te.find((qe) => (qe == null ? void 0 : qe.key) === "Input")) == null ? void 0 : Q.value) == null || ye.forEach((qe) => {
|
|
2873
2873
|
M.value++, O.push({
|
|
2874
2874
|
label: qe == null ? void 0 : qe.label,
|
|
2875
2875
|
name: qe == null ? void 0 : qe.label,
|
|
@@ -2881,16 +2881,16 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2881
2881
|
}), c.value = O, m.value = O;
|
|
2882
2882
|
}, A = (O) => {
|
|
2883
2883
|
let te = v(W.value);
|
|
2884
|
-
te = te == null ? void 0 : te.map((
|
|
2884
|
+
te = te == null ? void 0 : te.map((Q) => (Q.value = O == null ? void 0 : O[Q.name], Q)), 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")
|
|
2888
2888
|
return;
|
|
2889
|
-
const
|
|
2890
|
-
|
|
2889
|
+
const Q = O.find((qe) => (qe == null ? void 0 : qe.name) === "多选"), ye = O.find((qe) => (qe == null ? void 0 : qe.name) === "初始值");
|
|
2890
|
+
Q != null && Q.value && wl(ye.value) && (ye.value = [ye.value]), !(Q != null && Q.value) && !wl(ye.value) && (ye.value = "");
|
|
2891
2891
|
}, Ne = async (O) => {
|
|
2892
|
-
var te,
|
|
2893
|
-
if ((O == null ? void 0 : O.类型) !== ((
|
|
2892
|
+
var te, Q, ye, qe, dt, $e, E, ze, ie, je, We, Ce;
|
|
2893
|
+
if ((O == null ? void 0 : O.类型) !== ((Q = (te = m.value) == null ? void 0 : te.find((Ve) => (Ve == null ? void 0 : Ve.label) === "类型")) == null ? void 0 : Q.value)) {
|
|
2894
2894
|
let Ve = [];
|
|
2895
2895
|
const ft = await ((dt = (qe = (ye = ha) == null ? void 0 : ye.find((G) => (G == null ? void 0 : G.key) === ((O == null ? void 0 : O.类型) === "" ? "Input" : O == null ? void 0 : O.类型))) == null ? void 0 : qe.value) == null ? void 0 : dt.value) ? await ((je = (ie = (ze = ha) == null ? void 0 : ze.find((G) => (G == null ? void 0 : G.key) === ((O == null ? void 0 : O.类型) === "" ? "Input" : O == null ? void 0 : O.类型))) == null ? void 0 : ie.value) == null ? void 0 : je.value) : (E = ($e = ha) == null ? void 0 : $e.find((G) => (G == null ? void 0 : G.key) === ((O == null ? void 0 : O.类型) === "" ? "Input" : O == null ? void 0 : O.类型))) == null ? void 0 : E.value;
|
|
2896
2896
|
if (ft == null || ft.forEach((G) => {
|
|
@@ -2946,21 +2946,21 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2946
2946
|
G.push(O), _.value = G;
|
|
2947
2947
|
}
|
|
2948
2948
|
_.value = _.value.map(({ id: G, ...nt }) => nt), s.value = !1, S.value = "";
|
|
2949
|
-
let
|
|
2950
|
-
(Ve = v(o.originalItemContents)) != null && Ve.find((G) => (G == null ? void 0 : G.key) === "formContent") ?
|
|
2949
|
+
let Q = v(o.originalItemContents);
|
|
2950
|
+
(Ve = v(o.originalItemContents)) != null && Ve.find((G) => (G == null ? void 0 : G.key) === "formContent") ? Q = (ft = v(o.originalItemContents)) == null ? void 0 : ft.map((G) => ((G == null ? void 0 : G.key) === "formContent" && (G.contents = _.value), G)) : Q.push({
|
|
2951
2951
|
key: "formContent",
|
|
2952
2952
|
contents: _.value
|
|
2953
|
-
}), i("change",
|
|
2953
|
+
}), i("change", Q);
|
|
2954
2954
|
}, 300), _e = () => {
|
|
2955
2955
|
s.value = !1, p.value = !1, S.value = "", m.value = [], W.value = [];
|
|
2956
2956
|
};
|
|
2957
2957
|
return mt(
|
|
2958
2958
|
() => o.originalItemContents,
|
|
2959
2959
|
() => {
|
|
2960
|
-
var te,
|
|
2960
|
+
var te, Q, ye, qe, dt, $e;
|
|
2961
2961
|
if (!o.originalItemContents || o.originalItemContents.length === 0) return;
|
|
2962
2962
|
const O = v(o.originalItemContents);
|
|
2963
|
-
_.value = ((te = O == null ? void 0 : O.find((E) => (E == null ? void 0 : E.key) === "formContent")) == null ? void 0 : te.contents) ?? [], f.value = ((
|
|
2963
|
+
_.value = ((te = O == null ? void 0 : O.find((E) => (E == null ? void 0 : E.key) === "formContent")) == null ? void 0 : te.contents) ?? [], f.value = ((Q = O == null ? void 0 : O.find((E) => (E == null ? void 0 : E.key) === "formButton")) == null ? void 0 : Q.contents) ?? [], I.value = (ye = O == null ? void 0 : O.find((E) => (E == null ? void 0 : E.key) === "enableWrap")) != null && ye.contents ? !((qe = O == null ? void 0 : O.find((E) => (E == null ? void 0 : E.key) === "enableWrap")) != null && qe.contents) : !0, _.value = (dt = v(_.value)) == null ? void 0 : dt.map((E, ze) => {
|
|
2964
2964
|
var je;
|
|
2965
2965
|
let ie = E;
|
|
2966
2966
|
return ie.id = (E == null ? void 0 : E.id) ?? ze, E != null && E.label || (E.label = (E == null ? void 0 : E.key) ?? (E == null ? void 0 : E.label) ?? ""), E != null && E.type || (E.type = (E == null ? void 0 : E.type) ?? ""), E.contents = ((je = E == null ? void 0 : E.options) == null ? void 0 : je.length) === 0 ? (E == null ? void 0 : E.contents) ?? "" : E == null ? void 0 : E.options, ie;
|
|
@@ -2973,7 +2973,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2973
2973
|
},
|
|
2974
2974
|
{ deep: !0, immediate: !0 }
|
|
2975
2975
|
), (O, te) => {
|
|
2976
|
-
const
|
|
2976
|
+
const Q = Rt("svg-icon"), ye = Rt("el-button");
|
|
2977
2977
|
return Oe(), tt("div", uc, [
|
|
2978
2978
|
le("div", cc, [
|
|
2979
2979
|
le("div", dc, [
|
|
@@ -2984,7 +2984,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2984
2984
|
onClick: P
|
|
2985
2985
|
}, {
|
|
2986
2986
|
icon: Le(() => [
|
|
2987
|
-
De(
|
|
2987
|
+
De(Q, {
|
|
2988
2988
|
name: "Plus",
|
|
2989
2989
|
class: "icon-size"
|
|
2990
2990
|
})
|
|
@@ -3001,13 +3001,13 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3001
3001
|
le("div", pc, [
|
|
3002
3002
|
le("div", null, vt(qe.label), 1),
|
|
3003
3003
|
le("div", hc, [
|
|
3004
|
-
De(
|
|
3004
|
+
De(Q, {
|
|
3005
3005
|
name: "ChildFix",
|
|
3006
3006
|
class: "svg-icon-content",
|
|
3007
3007
|
style: { width: "24px", height: "24px" },
|
|
3008
3008
|
onClick: ($e) => q(qe)
|
|
3009
3009
|
}, null, 8, ["onClick"]),
|
|
3010
|
-
De(
|
|
3010
|
+
De(Q, {
|
|
3011
3011
|
name: "ChildDelete",
|
|
3012
3012
|
class: "svg-icon-content",
|
|
3013
3013
|
style: { width: "24px", height: "24px" },
|
|
@@ -3025,7 +3025,7 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3025
3025
|
onClick: b
|
|
3026
3026
|
}, {
|
|
3027
3027
|
icon: Le(() => [
|
|
3028
|
-
De(
|
|
3028
|
+
De(Q, {
|
|
3029
3029
|
name: "Plus",
|
|
3030
3030
|
class: "icon-size"
|
|
3031
3031
|
})
|
|
@@ -3042,13 +3042,13 @@ const sc = /* @__PURE__ */ Jt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3042
3042
|
le("div", yc, [
|
|
3043
3043
|
le("div", null, vt(qe.label), 1),
|
|
3044
3044
|
le("div", mc, [
|
|
3045
|
-
De(
|
|
3045
|
+
De(Q, {
|
|
3046
3046
|
name: "ChildFix",
|
|
3047
3047
|
class: "svg-icon-content",
|
|
3048
3048
|
style: { width: "24px", height: "24px" },
|
|
3049
3049
|
onClick: ($e) => K(qe)
|
|
3050
3050
|
}, null, 8, ["onClick"]),
|
|
3051
|
-
De(
|
|
3051
|
+
De(Q, {
|
|
3052
3052
|
name: "ChildDelete",
|
|
3053
3053
|
class: "svg-icon-content",
|
|
3054
3054
|
style: { width: "24px", height: "24px" },
|
|
@@ -3755,14 +3755,14 @@ const Lc = /* @__PURE__ */ Jt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3755
3755
|
var Ne, ut, Me, Xe;
|
|
3756
3756
|
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) => {
|
|
3757
3757
|
var te;
|
|
3758
|
-
return O === w.index && (_e == null ? void 0 : _e.comp) === "Table" && (_e.compData = (te = _e.compData) == null ? void 0 : te.map((
|
|
3758
|
+
return O === w.index && (_e == null ? void 0 : _e.comp) === "Table" && (_e.compData = (te = _e.compData) == null ? void 0 : te.map((Q) => {
|
|
3759
3759
|
var ye, qe;
|
|
3760
|
-
return (
|
|
3760
|
+
return (Q == null ? void 0 : Q.key) === "tableContents" && (Q.contents = (qe = (ye = w.content) == null ? void 0 : ye.map((dt) => {
|
|
3761
3761
|
let $e = {};
|
|
3762
3762
|
for (let E in dt)
|
|
3763
3763
|
E !== "id" && ($e[E] = dt[E]);
|
|
3764
3764
|
return $e;
|
|
3765
|
-
})) == null ? void 0 : qe.map((dt) => Object.values(dt))),
|
|
3765
|
+
})) == null ? void 0 : qe.map((dt) => Object.values(dt))), Q;
|
|
3766
3766
|
})), _e;
|
|
3767
3767
|
});
|
|
3768
3768
|
P.unshift(R == null ? void 0 : R[0]);
|
|
@@ -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, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te,
|
|
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, Q, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Z, 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)
|
|
@@ -3908,7 +3908,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3908
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
|
-
const Pe = (
|
|
3911
|
+
const Pe = (Q = (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 : Q[1];
|
|
3912
3912
|
if (de != null && de.includes("?"))
|
|
3913
3913
|
X = ((ye = de == null ? void 0 : de.split("?")) == null ? void 0 : ye[1]) + "&&" + ((dt = (qe = de == null ? void 0 : de.split("?")) == null ? void 0 : qe[0]) == null ? void 0 : dt.replaceAll("#", "==="));
|
|
3914
3914
|
else if (Pe) {
|
|
@@ -3921,7 +3921,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3921
3921
|
X = (Ce = (We = (je = a == null ? void 0 : a.replace(":", Bt)) == null ? void 0 : je.split(Bt)) == null ? void 0 : We[1]) == null ? void 0 : Ce.replaceAll("'", "");
|
|
3922
3922
|
else {
|
|
3923
3923
|
let Pe = (G = (ft = (Ve = a == null ? void 0 : a.replace(":", Bt)) == null ? void 0 : Ve.split(Bt)) == null ? void 0 : ft[1]) == null ? void 0 : G.replaceAll("'", "");
|
|
3924
|
-
X = ((rt = (pt = (nt = Pe == null ? void 0 : Pe.split("?")) == null ? void 0 : nt[1]) == null ? void 0 : pt.split(":")) == null ? void 0 : rt[0]) + "&&" + ((
|
|
3924
|
+
X = ((rt = (pt = (nt = Pe == null ? void 0 : Pe.split("?")) == null ? void 0 : nt[1]) == null ? void 0 : pt.split(":")) == null ? void 0 : rt[0]) + "&&" + ((Z = Pe == null ? void 0 : Pe.split("?")) == null ? void 0 : Z[0]);
|
|
3925
3925
|
}
|
|
3926
3926
|
return Be[Ge] = he !== "" ? he + "$##" + X : X, {
|
|
3927
3927
|
groupName: "",
|
|
@@ -3967,7 +3967,7 @@ 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 $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te,
|
|
3970
|
+
var $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te, Q, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Z, ae, Te, me, at, lt, k, x, g, F, C, B;
|
|
3971
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("("))) {
|
|
@@ -3983,38 +3983,38 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3983
3983
|
});
|
|
3984
3984
|
}
|
|
3985
3985
|
} else {
|
|
3986
|
-
if (!((
|
|
3986
|
+
if (!((Q = (te = v(I)) == null ? void 0 : te[1]) != null && Q.includes("[")) && !((qe = (ye = v(I)) == null ? void 0 : ye[1]) != null && qe.includes("("))) {
|
|
3987
3987
|
Ji((dt = v(I)) == null ? void 0 : dt[1].replaceAll("'", '"')) && i.push(JSON.parse(($e = v(I)) == null ? void 0 : $e[1].replaceAll("'", '"')));
|
|
3988
3988
|
return;
|
|
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
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,
|
|
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, Qe, ht, xt, yt, Ze, Ee, Ye, it, bt, Lt, Ot;
|
|
3994
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("(")))
|
|
3998
|
-
ce = (Ke = v(ce)) == null ? void 0 : Ke.replaceAll(":", "/").replaceAll("'", ""), (Be = (se = v(ee)) == null ? void 0 : se[1]) != null && Be.includes("[") && (ce = v(ce) + "[" + ((
|
|
3998
|
+
ce = (Ke = v(ce)) == null ? void 0 : Ke.replaceAll(":", "/").replaceAll("'", ""), (Be = (se = v(ee)) == null ? void 0 : se[1]) != null && Be.includes("[") && (ce = v(ce) + "[" + ((Qe = (ot = (xe = (D = (X = (Ge = v(ee)) == null ? void 0 : Ge[1]) == null ? void 0 : X.split("[")) == null ? void 0 : D[((Pe = (de = (he = v(ee)) == null ? void 0 : he[1]) == null ? void 0 : de.split("[")) == null ? void 0 : Pe.length) - 1]) == null ? void 0 : xe.split("]")) == null ? void 0 : ot[0]) == null ? void 0 : Qe.replaceAll("'", "")) + "]");
|
|
3999
3999
|
else {
|
|
4000
4000
|
let Ct = "";
|
|
4001
4001
|
(ht = Si(ce, ":")) == null || ht.forEach((It) => {
|
|
4002
|
-
var Nt,
|
|
4002
|
+
var Nt, Zt, Vt, Kt, ua, _a, oa, Ka, Pa, Ua, Ya, Ba, Ja, $a, Za, Qa, en, tn;
|
|
4003
4003
|
if (!(It != null && It.includes("(")))
|
|
4004
|
-
Ct = Ct === "" ? Ct + ((Nt = It == null ? void 0 : It.replaceAll(":", "")) == null ? void 0 : Nt.replaceAll("'", "")) : Ct + "/" + ((
|
|
4004
|
+
Ct = Ct === "" ? Ct + ((Nt = It == null ? void 0 : It.replaceAll(":", "")) == null ? void 0 : Nt.replaceAll("'", "")) : Ct + "/" + ((Zt = It == null ? void 0 : It.replaceAll(":", "")) == null ? void 0 : Zt.replaceAll("'", ""));
|
|
4005
4005
|
else if (It != null && It.includes(")[")) {
|
|
4006
4006
|
let ma = (ua = (Kt = (Vt = v(It)) == null ? void 0 : Vt.split(")")) == null ? void 0 : Kt[0]) == null ? void 0 : ua.replaceAll("'", "");
|
|
4007
4007
|
Ct = Ct === "" ? Ct + ma : Ct + "/" + ma;
|
|
4008
4008
|
} else {
|
|
4009
4009
|
let ma = (Ja = (Ba = (Ya = (Ua = (Pa = (Ka = (oa = (_a = v(It)) == null ? void 0 : _a.replaceAll("{", "")) == null ? void 0 : oa.replaceAll("}", "")) == null ? void 0 : Ka.replace("(", Bt)) == null ? void 0 : Pa.split(Bt)) == null ? void 0 : Ua[1]) == null ? void 0 : Ya.split(")")) == null ? void 0 : Ba[0]) == null ? void 0 : Ja.replaceAll(":", "/").replaceAll("'", "");
|
|
4010
|
-
ma = ma + "[" + ((tn = (en = (
|
|
4010
|
+
ma = ma + "[" + ((tn = (en = (Qa = (Za = ($a = v(It)) == null ? void 0 : $a.split("[")) == null ? void 0 : Za[1]) == null ? void 0 : Qa.split("]")) == null ? void 0 : en[0]) == null ? void 0 : tn.replaceAll("'", "")) + "]", Ct = Ct === "" ? Ct + "[" + ma + "]" : Ct + "/[" + ma + "]";
|
|
4011
4011
|
}
|
|
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 = (
|
|
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 = (Ze = v(ee)) == null ? void 0 : Ze[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), V = {}, U = (g = (x = (Te = (ae = (
|
|
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 = (Z = v(ne)) == null ? void 0 : Z.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
4018
|
V[U] = ee, i.push(V);
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
@@ -4022,7 +4022,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4022
4022
|
output: i,
|
|
4023
4023
|
input: s
|
|
4024
4024
|
};
|
|
4025
|
-
}, qc = Rn(qt), { routeToChildPath: qa } = Xt(qc), rn = Hn(qt), { activeMenuPath: Dn } = Xt(rn),
|
|
4025
|
+
}, qc = Rn(qt), { routeToChildPath: qa } = Xt(qc), rn = Hn(qt), { activeMenuPath: Dn } = Xt(rn), Zn = Mi(), { loginUserInfo: ca } = Xt(Zn), Gc = Ri(qt), { originalPath: Xc } = Xt(Gc), ga = Xc.value, Yc = (a) => {
|
|
4026
4026
|
const r = /^name(\d+)$/, o = a == null ? void 0 : a.map((s) => {
|
|
4027
4027
|
const c = [];
|
|
4028
4028
|
for (const m in s) {
|
|
@@ -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, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe, _e, O, te,
|
|
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, Q, ye, qe, dt, $e, E, ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Z, 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({
|
|
@@ -4089,29 +4089,29 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4089
4089
|
}));
|
|
4090
4090
|
});
|
|
4091
4091
|
let L = ge == null ? void 0 : ge.find((pe) => (pe == null ? void 0 : pe.isMain) === !0);
|
|
4092
|
-
if (L ? (Ie = L == null ? void 0 : L.value, a = L == null ? void 0 : L.key) : Ie = ($e = (dt = (qe = (ye = (
|
|
4092
|
+
if (L ? (Ie = L == null ? void 0 : L.value, a = L == null ? void 0 : L.key) : Ie = ($e = (dt = (qe = (ye = (Q = (te = (O = (_e = (Xe = i == null ? void 0 : i.data) == null ? void 0 : Xe.result) == null ? void 0 : _e[0]) == null ? void 0 : O.value) == null ? void 0 : te.pageData) == null ? void 0 : Q.compData) == null ? void 0 : ye.find((pe) => (pe == null ? void 0 : pe.key) === "formContent")) == null ? void 0 : qe.contents) == null ? void 0 : dt.find((pe) => {
|
|
4093
4093
|
var be, ke;
|
|
4094
4094
|
return (pe == null ? void 0 : pe.key) === a || ((ke = (be = pe == null ? void 0 : pe.optionUrl) == null ? void 0 : be.groupSelect) == null ? void 0 : ke[1]) === a;
|
|
4095
4095
|
})) == null ? void 0 : $e.value, (ie = Dn.value) != null && ie.includes(`updateLoading${((E = ca.value) == null ? void 0 : E.account) || ((ze = ca.value) == null ? void 0 : ze.账号)}`)) {
|
|
4096
4096
|
let pe = [], be = [];
|
|
4097
4097
|
const ke = await va({
|
|
4098
4098
|
key: {
|
|
4099
|
-
pageKey: (ae = Dn.value.split(ga + `updateLoading${((rt = ca.value) == null ? void 0 : rt.account) || ((
|
|
4099
|
+
pageKey: (ae = Dn.value.split(ga + `updateLoading${((rt = ca.value) == null ? void 0 : rt.account) || ((Z = ca.value) == null ? void 0 : Z.账号)}`)) == null ? void 0 : ae[0],
|
|
4100
4100
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4101
4101
|
}
|
|
4102
4102
|
});
|
|
4103
4103
|
if (((me = (Te = ke == null ? void 0 : ke.data) == null ? void 0 : Te.result) == null ? void 0 : me.length) > 0) {
|
|
4104
4104
|
let Fe = (at = i == null ? void 0 : i.data) == null ? void 0 : at.result, et = (lt = v(Fe)) == null ? void 0 : lt.map(async (Ae) => {
|
|
4105
|
-
var Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot,
|
|
4105
|
+
var Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot, Qe, ht, xt;
|
|
4106
4106
|
if (((Ke = Ae == null ? void 0 : Ae.key) == null ? void 0 : Ke.type) === "structure") {
|
|
4107
|
-
let yt = (X = (Ge = (Be = (se = Ae == null ? void 0 : Ae.value) == null ? void 0 : se.pageData) == null ? void 0 : Be.compData) == null ? void 0 : Ge.find((
|
|
4107
|
+
let yt = (X = (Ge = (Be = (se = Ae == null ? void 0 : Ae.value) == null ? void 0 : se.pageData) == null ? void 0 : Be.compData) == null ? void 0 : Ge.find((Ze) => (Ze == null ? void 0 : Ze.key) === "parentFormPath")) == null ? void 0 : X.contents;
|
|
4108
4108
|
if (yt) {
|
|
4109
|
-
let
|
|
4109
|
+
let Ze = await aa(yt, sessionStorage.getItem("systemKey"), ""), Ee = (D = (Pe = (de = (he = Ae == null ? void 0 : Ae.value) == null ? void 0 : he.pageData) == null ? void 0 : de.compData) == null ? void 0 : Pe.find((it) => (it == null ? void 0 : it.key) === "formContent")) == null ? void 0 : D.contents, Ye = Ze == null ? void 0 : Ze.filter((it) => (it == null ? void 0 : it.comp) === "Form");
|
|
4110
4110
|
Ye == null || Ye.forEach((it) => {
|
|
4111
4111
|
var bt;
|
|
4112
4112
|
(bt = it == null ? void 0 : it.compData) == null || bt.forEach((Lt) => {
|
|
4113
4113
|
var Ot, Ct;
|
|
4114
|
-
if ((Lt == null ? void 0 : Lt.key) === "formContent" && ((Ot = Lt == null ? void 0 : Lt.contents) == null ? void 0 : Ot.some((Nt) => Ee == null ? void 0 : Ee.find((
|
|
4114
|
+
if ((Lt == null ? void 0 : Lt.key) === "formContent" && ((Ot = Lt == null ? void 0 : Lt.contents) == null ? void 0 : Ot.some((Nt) => Ee == null ? void 0 : Ee.find((Zt) => (Zt == null ? void 0 : Zt.prop) === (Nt == null ? void 0 : Nt.prop))))) {
|
|
4115
4115
|
let Nt = it;
|
|
4116
4116
|
Nt.compData = (Ct = Nt.compData) == null ? void 0 : Ct.map((Vt) => {
|
|
4117
4117
|
var Kt;
|
|
@@ -4120,35 +4120,35 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4120
4120
|
return Ee != null && Ee.find((oa) => (oa == null ? void 0 : oa.prop) === (ua == null ? void 0 : ua.prop)) && (ua.value = (_a = Ee == null ? void 0 : Ee.find((oa) => (oa == null ? void 0 : oa.prop) === (ua == null ? void 0 : ua.prop))) == null ? void 0 : _a.value), ua;
|
|
4121
4121
|
})), Vt;
|
|
4122
4122
|
});
|
|
4123
|
-
let
|
|
4123
|
+
let Zt = {};
|
|
4124
4124
|
for (let Vt in Nt)
|
|
4125
|
-
Vt !== "id" && (
|
|
4125
|
+
Vt !== "id" && (Zt[Vt] = Nt[Vt]);
|
|
4126
4126
|
s.push({
|
|
4127
4127
|
id: it == null ? void 0 : it.id,
|
|
4128
4128
|
value: {
|
|
4129
|
-
pageData:
|
|
4129
|
+
pageData: Zt
|
|
4130
4130
|
}
|
|
4131
4131
|
});
|
|
4132
4132
|
}
|
|
4133
4133
|
});
|
|
4134
4134
|
});
|
|
4135
|
-
} else if ((ot = (xe = ke == null ? void 0 : ke.data) == null ? void 0 : xe.result) != null && ot.find((
|
|
4135
|
+
} else if ((ot = (xe = ke == null ? void 0 : ke.data) == null ? void 0 : xe.result) != null && ot.find((Ze) => {
|
|
4136
4136
|
var Ee, Ye, it, bt;
|
|
4137
|
-
return ((Ye = (Ee =
|
|
4137
|
+
return ((Ye = (Ee = Ze == null ? void 0 : Ze.value) == null ? void 0 : Ee.pageData) == null ? void 0 : Ye.name) === ((bt = (it = Ae == null ? void 0 : Ae.value) == null ? void 0 : it.pageData) == null ? void 0 : bt.name);
|
|
4138
4138
|
})) {
|
|
4139
|
-
let
|
|
4140
|
-
|
|
4141
|
-
id: (xt = (ht = (
|
|
4139
|
+
let Ze = Ae == null ? void 0 : Ae.key;
|
|
4140
|
+
Ze.pageKey = v(qa).value + ga + Ie, s.push({
|
|
4141
|
+
id: (xt = (ht = (Qe = ke == null ? void 0 : ke.data) == null ? void 0 : Qe.result) == null ? void 0 : ht.find((Ee) => {
|
|
4142
4142
|
var Ye, it, bt, Lt;
|
|
4143
4143
|
return ((it = (Ye = Ee == null ? void 0 : Ee.value) == null ? void 0 : Ye.pageData) == null ? void 0 : it.name) === ((Lt = (bt = Ae == null ? void 0 : Ae.value) == null ? void 0 : bt.pageData) == null ? void 0 : Lt.name);
|
|
4144
4144
|
})) == null ? void 0 : xt.id,
|
|
4145
|
-
key:
|
|
4145
|
+
key: Ze,
|
|
4146
4146
|
value: Ae == null ? void 0 : Ae.value
|
|
4147
4147
|
});
|
|
4148
4148
|
} else {
|
|
4149
|
-
let
|
|
4150
|
-
|
|
4151
|
-
key:
|
|
4149
|
+
let Ze = Ae == null ? void 0 : Ae.key;
|
|
4150
|
+
Ze.pageKey = v(qa).value + ga + Ie, pe.push({
|
|
4151
|
+
key: Ze,
|
|
4152
4152
|
value: Ae == null ? void 0 : Ae.value
|
|
4153
4153
|
});
|
|
4154
4154
|
}
|
|
@@ -4170,12 +4170,12 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4170
4170
|
if ((s == null ? void 0 : s.length) > 0) {
|
|
4171
4171
|
await Bn({
|
|
4172
4172
|
dataList: s
|
|
4173
|
-
}), (g = s == null ? void 0 : s[0]) != null && g.key && await
|
|
4173
|
+
}), (g = s == null ? void 0 : s[0]) != null && g.key && await Zn.setLogRecordAsync({
|
|
4174
4174
|
type: "保存",
|
|
4175
4175
|
data: s
|
|
4176
4176
|
}, (F = s == null ? void 0 : s[0]) == null ? void 0 : F.key), (pe == null ? void 0 : pe.length) > 0 && (await Vn({
|
|
4177
4177
|
dataList: pe
|
|
4178
|
-
}), (C = pe == null ? void 0 : pe[0]) != null && C.key && await
|
|
4178
|
+
}), (C = pe == null ? void 0 : pe[0]) != null && C.key && await Zn.setLogRecordAsync({
|
|
4179
4179
|
type: "保存",
|
|
4180
4180
|
data: pe
|
|
4181
4181
|
}, (B = pe == null ? void 0 : pe[0]) == null ? void 0 : B.key));
|
|
@@ -4188,7 +4188,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4188
4188
|
if (((Y = (ee = Fe == null ? void 0 : Fe.data) == null ? void 0 : ee.result) == null ? void 0 : Y.length) > 0) {
|
|
4189
4189
|
let et = [], Ae = (ce = i == null ? void 0 : i.data) == null ? void 0 : ce.result;
|
|
4190
4190
|
(fe = v(Ae)) == null || fe.forEach((Ke) => {
|
|
4191
|
-
var se, Be, Ge, X, he, de, Pe, D, xe, ot,
|
|
4191
|
+
var se, Be, Ge, X, he, de, Pe, D, xe, ot, Qe, ht;
|
|
4192
4192
|
if (((se = Ke == null ? void 0 : Ke.key) == null ? void 0 : se.type) !== "structure") {
|
|
4193
4193
|
let xt = (X = (Ge = (Be = Fe == null ? void 0 : Fe.data) == null ? void 0 : Be.result) == null ? void 0 : Ge.filter((Ye) => {
|
|
4194
4194
|
var it;
|
|
@@ -4198,11 +4198,11 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4198
4198
|
let yt = (D = (Pe = (de = (he = v(Ae)) == null ? void 0 : he.find((Ye) => {
|
|
4199
4199
|
var it;
|
|
4200
4200
|
return ((it = Ke == null ? void 0 : Ke.key) == null ? void 0 : it.tableId) === (Ye == null ? void 0 : Ye.id);
|
|
4201
|
-
})) == null ? void 0 : de.value) == null ? void 0 : Pe.pageData) == null ? void 0 : D.name,
|
|
4201
|
+
})) == null ? void 0 : de.value) == null ? void 0 : Pe.pageData) == null ? void 0 : D.name, Ze = (Qe = (ot = (xe = Fe == null ? void 0 : Fe.data) == null ? void 0 : xe.result) == null ? void 0 : ot.find((Ye) => {
|
|
4202
4202
|
var it, bt;
|
|
4203
4203
|
return ((bt = (it = Ye == null ? void 0 : Ye.value) == null ? void 0 : it.pageData) == null ? void 0 : bt.name) === yt;
|
|
4204
|
-
})) == null ? void 0 :
|
|
4205
|
-
Ee.tableId =
|
|
4204
|
+
})) == null ? void 0 : Qe.id, Ee = (ht = v(Ke)) == null ? void 0 : ht.key;
|
|
4205
|
+
Ee.tableId = Ze, Ee.pageKey = v(qa).value + ga + Ie, be.push({
|
|
4206
4206
|
key: Ee,
|
|
4207
4207
|
value: Ke == null ? void 0 : Ke.value
|
|
4208
4208
|
});
|
|
@@ -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
|
-
}), (N = pe == null ? void 0 : pe[0]) != null && N.key && await
|
|
4223
|
+
}), (N = pe == null ? void 0 : pe[0]) != null && N.key && await Zn.setLogRecordAsync({
|
|
4224
4224
|
type: "保存",
|
|
4225
4225
|
data: be
|
|
4226
4226
|
}, (Re = be == null ? void 0 : be[0]) == null ? void 0 : Re.key)), Ft.success("保存成功");
|
|
@@ -4239,17 +4239,17 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4239
4239
|
}
|
|
4240
4240
|
(Ce = s == null ? void 0 : s[0]) != null && Ce.key && (await Bn({
|
|
4241
4241
|
dataList: s
|
|
4242
|
-
}), await
|
|
4242
|
+
}), await Zn.setLogRecordAsync({
|
|
4243
4243
|
type: "保存",
|
|
4244
4244
|
data: s
|
|
4245
4245
|
}, (Ve = s == null ? void 0 : s[0]) == null ? void 0 : Ve.key)), await os(v(qa).value + ga + Ie, v(qa).value + ga + Ie + ga + `updateLoading${((ft = ca.value) == null ? void 0 : ft.account) || ((G = ca.value) == null ? void 0 : G.账号)}`), rn.setActiveMenuPath(v(qa).value + ga + Ie + ga + `updateLoading${((nt = ca.value) == null ? void 0 : nt.account) || ((pt = ca.value) == null ? void 0 : pt.账号)}`), Ft.success("保存成功");
|
|
4246
4246
|
}
|
|
4247
4247
|
}
|
|
4248
4248
|
rn.setImportLoading(!1);
|
|
4249
|
-
},
|
|
4249
|
+
}, Zc = {
|
|
4250
4250
|
key: 0,
|
|
4251
4251
|
class: "method-content"
|
|
4252
|
-
},
|
|
4252
|
+
}, Qc = {
|
|
4253
4253
|
__name: "index",
|
|
4254
4254
|
props: {
|
|
4255
4255
|
itemData: {
|
|
@@ -4314,7 +4314,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4314
4314
|
}
|
|
4315
4315
|
return ie;
|
|
4316
4316
|
}), Xe = async (E, ze, ie = []) => {
|
|
4317
|
-
var We, Ce, Ve, ft, G, nt, pt, rt,
|
|
4317
|
+
var We, Ce, Ve, ft, G, nt, pt, rt, Z, ae, Te, me, at, lt, k;
|
|
4318
4318
|
let je = (We = v(ze)) == null ? void 0 : We.filter((x) => (x == null ? void 0 : x.comp) !== "methodButton");
|
|
4319
4319
|
if (E != null && E.includes("[")) {
|
|
4320
4320
|
let x = (nt = (G = (ft = (Ve = (Ce = v(E)) == null ? void 0 : Ce.split("[")) == null ? void 0 : Ve[1]) == null ? void 0 : ft.split("]")) == null ? void 0 : G[0]) == null ? void 0 : nt.split(":"), g = "";
|
|
@@ -4343,7 +4343,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4343
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;
|
|
4344
4344
|
if (!F) {
|
|
4345
4345
|
let C = (rt = E == null ? void 0 : E.split("[")) == null ? void 0 : rt[0], B = await aa(C, sessionStorage.getItem("systemKey"), "", !1, "", "", ie);
|
|
4346
|
-
F = (
|
|
4346
|
+
F = (Z = B == null ? void 0 : B.find((ne) => (ne == null ? void 0 : ne.name) === (x == null ? void 0 : x[0]))) == null ? void 0 : Z.compData;
|
|
4347
4347
|
}
|
|
4348
4348
|
F == null || F.forEach((C) => {
|
|
4349
4349
|
var B, ne, V, U, ee, Y;
|
|
@@ -4355,7 +4355,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4355
4355
|
else if ((C == null ? void 0 : C.key) === "tableContents") {
|
|
4356
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]) ?? "";
|
|
4357
4357
|
if (fe != null && fe.every((ve) => Array.isArray(ve))) {
|
|
4358
|
-
let ve =
|
|
4358
|
+
let ve = Zi((ee = fe == null ? void 0 : fe[0]) == null ? void 0 : ee.filter((N) => (N == null ? void 0 : N.label) !== "操作"));
|
|
4359
4359
|
(Y = C.contents) == null || Y.forEach((N) => {
|
|
4360
4360
|
let Re = {};
|
|
4361
4361
|
N = N == null ? void 0 : N.filter((Ie) => !(Ie != null && Ie.id)), ve == null || ve.forEach((Ie, ge) => {
|
|
@@ -4445,7 +4445,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4445
4445
|
[me[ie[1]]]: me
|
|
4446
4446
|
});
|
|
4447
4447
|
});
|
|
4448
|
-
let rt = [],
|
|
4448
|
+
let rt = [], Z = nt == null ? void 0 : nt.map((me) => {
|
|
4449
4449
|
var at;
|
|
4450
4450
|
return (at = Object.keys(me)) == null ? void 0 : at[0];
|
|
4451
4451
|
});
|
|
@@ -4454,8 +4454,8 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4454
4454
|
(me == null ? void 0 : me.name) === (ie == null ? void 0 : ie[0]) && ((at = me == null ? void 0 : me.compData) == null || at.forEach((lt) => {
|
|
4455
4455
|
var k;
|
|
4456
4456
|
(lt == null ? void 0 : lt.key) === "tableContents" && ((k = lt == null ? void 0 : lt.contents) == null || k.forEach((x) => {
|
|
4457
|
-
x != null && x.some((g) =>
|
|
4458
|
-
[x.find((g) => g.id).id]: x.find((g) =>
|
|
4457
|
+
x != null && x.some((g) => Z.includes(g)) && rt.push({
|
|
4458
|
+
[x.find((g) => g.id).id]: x.find((g) => Z.includes(g))
|
|
4459
4459
|
});
|
|
4460
4460
|
}));
|
|
4461
4461
|
}));
|
|
@@ -4484,8 +4484,8 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4484
4484
|
} else if ((We == null ? void 0 : We.comp) === "Form") {
|
|
4485
4485
|
let G = v(We);
|
|
4486
4486
|
G.compData = (ft = G.compData) == null ? void 0 : ft.map((rt) => {
|
|
4487
|
-
var
|
|
4488
|
-
return (rt == null ? void 0 : rt.key) === "formContent" && (rt.contents = (
|
|
4487
|
+
var Z;
|
|
4488
|
+
return (rt == null ? void 0 : rt.key) === "formContent" && (rt.contents = (Z = rt.contents) == null ? void 0 : Z.map((ae) => ((ae == null ? void 0 : ae.key) === (ie == null ? void 0 : ie[1]) && (ae.value = (E == null ? void 0 : E[ae == null ? void 0 : ae.prop]) || E), ae))), rt;
|
|
4489
4489
|
});
|
|
4490
4490
|
let nt = {};
|
|
4491
4491
|
for (let rt in G)
|
|
@@ -4509,7 +4509,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4509
4509
|
}
|
|
4510
4510
|
}
|
|
4511
4511
|
}, O = async (E, ze, ie) => {
|
|
4512
|
-
var Ce, Ve, ft, G, nt, pt, rt,
|
|
4512
|
+
var Ce, Ve, ft, G, nt, pt, rt, Z, ae, Te;
|
|
4513
4513
|
let je = await aa(ze, sessionStorage.getItem("systemKey"), ""), We = je == null ? void 0 : je.find((me) => (me == null ? void 0 : me.name) === (ie == null ? void 0 : ie[0]));
|
|
4514
4514
|
if (We) {
|
|
4515
4515
|
if ((We == null ? void 0 : We.comp) === "Table") {
|
|
@@ -4582,7 +4582,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4582
4582
|
}
|
|
4583
4583
|
});
|
|
4584
4584
|
let C = "";
|
|
4585
|
-
((
|
|
4585
|
+
((Z = F == null ? void 0 : F.data) == null ? void 0 : Z.type) === "success" && ((Te = (ae = F == null ? void 0 : F.data) == null ? void 0 : ae.result) == null || Te.forEach((B) => {
|
|
4586
4586
|
var ne, V;
|
|
4587
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);
|
|
4588
4588
|
}), await Xi({
|
|
@@ -4600,13 +4600,13 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4600
4600
|
Object.prototype.toString.call(We) !== "[object Date]" ? te(We, Ce, ie) : ie[Ce] = We;
|
|
4601
4601
|
}
|
|
4602
4602
|
return ie;
|
|
4603
|
-
},
|
|
4604
|
-
var Ve, ft, G, nt, pt, rt,
|
|
4603
|
+
}, Q = async (E, ze, ie, je) => {
|
|
4604
|
+
var Ve, ft, G, nt, pt, rt, Z, ae, Te, me, at, lt, k, x, g, F, C, B, ne, V, U, ee, Y, ce, fe;
|
|
4605
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]));
|
|
4606
4606
|
if (Ce) {
|
|
4607
4607
|
if (!(ie != null && ie[1]) && (Ce == null ? void 0 : Ce.comp) === "Table") {
|
|
4608
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 =
|
|
4609
|
+
N != null && N.every((ge) => Array.isArray(ge)) ? ve = (nt = Zi((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);
|
|
4610
4610
|
for (let ge in v(E))
|
|
4611
4611
|
if (v(E)[ge] !== "loginUser") {
|
|
4612
4612
|
let L = te(v(E)[ge]), pe = {};
|
|
@@ -4625,7 +4625,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4625
4625
|
tableId: Ce == null ? void 0 : Ce.id
|
|
4626
4626
|
}
|
|
4627
4627
|
});
|
|
4628
|
-
if (((ae = (
|
|
4628
|
+
if (((ae = (Z = Re == null ? void 0 : Re.data) == null ? void 0 : Z.result) == null ? void 0 : ae.length) > 0) {
|
|
4629
4629
|
let ge = (me = (Te = Re == null ? void 0 : Re.data) == null ? void 0 : Te.result) == null ? void 0 : me.map((L) => L == null ? void 0 : L.id);
|
|
4630
4630
|
(ge == null ? void 0 : ge.length) > 0 && await vn({
|
|
4631
4631
|
ids: ge
|
|
@@ -4696,7 +4696,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4696
4696
|
}
|
|
4697
4697
|
}
|
|
4698
4698
|
}, ye = async (E) => {
|
|
4699
|
-
var ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt,
|
|
4699
|
+
var ze, ie, je, We, Ce, Ve, ft, G, nt, pt, rt, Z, ae, Te, me, at;
|
|
4700
4700
|
I.setImportLoading(!0);
|
|
4701
4701
|
try {
|
|
4702
4702
|
if (E.api) {
|
|
@@ -4780,30 +4780,30 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4780
4780
|
"Content-Type": "application/json"
|
|
4781
4781
|
}
|
|
4782
4782
|
});
|
|
4783
|
-
let ne = (
|
|
4783
|
+
let ne = (Z = (rt = (pt = (nt = v(E)) == null ? void 0 : nt.extraValues) == null ? void 0 : pt.output) == null ? void 0 : rt.map((Y) => {
|
|
4784
4784
|
var ce, fe, H, ve, N, Re, Ie, ge, L, pe, be, ke, Fe, et, Ae, Ke;
|
|
4785
4785
|
if (!((fe = (ce = Object.values(Y)) == null ? void 0 : ce[0]) != null && fe.includes(".doc"))) {
|
|
4786
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("["));
|
|
4787
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("[")) {
|
|
4788
4788
|
let X = "";
|
|
4789
4789
|
if ((Ke = Si(Ge, "/")) == null || Ke.forEach((he) => {
|
|
4790
|
-
var de, Pe, D, xe, ot,
|
|
4790
|
+
var de, Pe, D, xe, ot, Qe, ht;
|
|
4791
4791
|
if (!(he != null && he.includes("[")))
|
|
4792
4792
|
X = X === "" ? X + he.replaceAll("/", "") : X + "/" + he.replaceAll("/", "");
|
|
4793
4793
|
else {
|
|
4794
|
-
let xt = v(he).slice(1, ((de = v(he)) == null ? void 0 : de.length) - 1), yt = (
|
|
4794
|
+
let xt = v(he).slice(1, ((de = v(he)) == null ? void 0 : de.length) - 1), yt = (Qe = (ot = (xe = (D = (Pe = v(xt)) == null ? void 0 : Pe.split("[")) == null ? void 0 : D[1]) == null ? void 0 : xe.split("]")) == null ? void 0 : ot[0]) == null ? void 0 : Qe.split(":"), Ze = "", Ee = (ht = x == null ? void 0 : x.find((Ye) => (Ye == null ? void 0 : Ye.name) === (yt == null ? void 0 : yt[0]))) == null ? void 0 : ht.compData;
|
|
4795
4795
|
Ee == null || Ee.forEach((Ye) => {
|
|
4796
4796
|
var it;
|
|
4797
4797
|
(Ye == null ? void 0 : Ye.key) === "formContent" && ((it = Ye == null ? void 0 : Ye.contents) == null || it.forEach((bt) => {
|
|
4798
|
-
(bt == null ? void 0 : bt.key) === (yt == null ? void 0 : yt[1]) && (
|
|
4798
|
+
(bt == null ? void 0 : bt.key) === (yt == null ? void 0 : yt[1]) && (Ze = bt == null ? void 0 : bt.value);
|
|
4799
4799
|
}));
|
|
4800
|
-
}), X = X === "" ? X +
|
|
4800
|
+
}), X = X === "" ? X + Ze.replaceAll("/", "") : X + "/" + Ze.replaceAll("/", "");
|
|
4801
4801
|
}
|
|
4802
4802
|
}), Ge = X, Ge[(Ge == null ? void 0 : Ge.length) - 1] !== "/")
|
|
4803
4803
|
return Ge;
|
|
4804
4804
|
}
|
|
4805
4805
|
}
|
|
4806
|
-
})) == null ? void 0 :
|
|
4806
|
+
})) == null ? void 0 : Z.filter((Y) => Y);
|
|
4807
4807
|
ne = [...new Set(v(ne))];
|
|
4808
4808
|
let V = ne == null ? void 0 : ne.map(async (Y) => {
|
|
4809
4809
|
let ce = await aa(Y, sessionStorage.getItem("systemKey"), "", !1, "", "", lt);
|
|
@@ -4812,7 +4812,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4812
4812
|
});
|
|
4813
4813
|
await Promise.all(V);
|
|
4814
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) => {
|
|
4815
|
-
var ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot,
|
|
4815
|
+
var ge, L, pe, be, ke, Fe, et, Ae, Ke, se, Be, Ge, X, he, de, Pe, D, xe, ot, Qe, ht, xt, yt, Ze, Ee, Ye, it, bt, Lt, Ot, Ct, It, Nt, Zt, Vt, Kt, ua, _a, oa, Ka, Pa, Ua, Ya, Ba, Ja, $a, Za, Qa, en, tn, ma, gn, an, Ma, sn, nn, wt, da, kt, Fn, jt, Ca, un, Sa, Na, Ea, kn, Ra, qn, ui;
|
|
4816
4816
|
if ((L = (ge = Object.values(Y)) == null ? void 0 : ge[0]) != null && L.includes(".doc")) {
|
|
4817
4817
|
var ce = new Blob([B.data], {
|
|
4818
4818
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -4822,7 +4822,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4822
4822
|
blobUrl: Ie
|
|
4823
4823
|
}], c.value = !0;
|
|
4824
4824
|
} else {
|
|
4825
|
-
let xn = (se = (Ke = (Ae = (be = v((pe = Object.values(Y)) == null ? void 0 : pe[0])) == null ? void 0 : be.split("[")) == null ? void 0 : Ae[((et = (Fe = v((ke = Object.values(Y)) == null ? void 0 : ke[0])) == null ? void 0 : Fe.split("[")) == null ? void 0 : et.length) - 1]) == null ? void 0 : Ke.split("]")) == null ? void 0 : se[0],
|
|
4825
|
+
let xn = (se = (Ke = (Ae = (be = v((pe = Object.values(Y)) == null ? void 0 : pe[0])) == null ? void 0 : be.split("[")) == null ? void 0 : Ae[((et = (Fe = v((ke = Object.values(Y)) == null ? void 0 : ke[0])) == null ? void 0 : Fe.split("[")) == null ? void 0 : et.length) - 1]) == null ? void 0 : Ke.split("]")) == null ? void 0 : se[0], Qt = xn == null ? void 0 : xn.split(":"), la = (X = v((Be = Object.values(Y)) == null ? void 0 : Be[0])) == null ? void 0 : X.substring(0, v((Ge = Object.values(Y)) == null ? void 0 : Ge[0]).lastIndexOf("["));
|
|
4826
4826
|
if (la != null && la.includes("[") ? la = (de = v(la)) == null ? void 0 : de.slice(0, ((he = v(la)) == null ? void 0 : he.length) - 1) : la === "" && (la = w.value), la = la.replaceAll("<", "[").replaceAll(">", "]"), la != null && la.includes("[")) {
|
|
4827
4827
|
let Dt = "";
|
|
4828
4828
|
(Pe = Si(la, "/")) == null || Pe.forEach((Wt, na) => {
|
|
@@ -4843,22 +4843,22 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4843
4843
|
}), (D = w.value) != null && D.includes(Dt) ? la = w.value : la = Dt;
|
|
4844
4844
|
}
|
|
4845
4845
|
let Ia = v((xe = Object.keys(Y)) == null ? void 0 : xe[0]);
|
|
4846
|
-
if (((ot = B == null ? void 0 : B.data) == null ? void 0 : ot.statusCode) === 200 || ((
|
|
4847
|
-
if (((xt = (ht = B == null ? void 0 : B.data) == null ? void 0 : ht.data) != null && xt[Ia] || (
|
|
4848
|
-
return await
|
|
4846
|
+
if (((ot = B == null ? void 0 : B.data) == null ? void 0 : ot.statusCode) === 200 || ((Qe = B == null ? void 0 : B.data) == null ? void 0 : Qe.code) === 200) {
|
|
4847
|
+
if (((xt = (ht = B == null ? void 0 : B.data) == null ? void 0 : ht.data) != null && xt[Ia] || (Ze = (yt = B == null ? void 0 : B.data) == null ? void 0 : yt.result) != null && Ze[Ia]) && (Qt == null ? void 0 : Qt.length) === 1)
|
|
4848
|
+
return await Q(((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), Qt, g);
|
|
4849
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]) {
|
|
4850
|
-
let Dt = await _e(((
|
|
4850
|
+
let Dt = await _e(((Zt = (Nt = B == null ? void 0 : B.data) == null ? void 0 : Nt.data) == null ? void 0 : Zt[Ia]) || ((Kt = (Vt = B == null ? void 0 : B.data) == null ? void 0 : Vt.result) == null ? void 0 : Kt[Ia]), v(la), Qt);
|
|
4851
4851
|
return Dt && (U = [...U, ...Dt]), Dt;
|
|
4852
4852
|
} else {
|
|
4853
4853
|
if (!((ua = B == null ? void 0 : B.data) != null && ua.data)) {
|
|
4854
4854
|
let Dt = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, "", "", lt);
|
|
4855
4855
|
Dt = Dt == null ? void 0 : Dt.map((na) => {
|
|
4856
4856
|
var ra;
|
|
4857
|
-
return (na == null ? void 0 : na.name) === (
|
|
4857
|
+
return (na == null ? void 0 : na.name) === (Qt == null ? void 0 : Qt[0]) && (na.compData = (ra = na.compData) == null ? void 0 : ra.map((ta) => {
|
|
4858
4858
|
var Da;
|
|
4859
4859
|
return (ta == null ? void 0 : ta.key) === "formContent" && (ta.contents = (Da = ta.contents) == null ? void 0 : Da.map((Ta) => {
|
|
4860
4860
|
var wn, Wa;
|
|
4861
|
-
return (Ta == null ? void 0 : Ta.key) === (
|
|
4861
|
+
return (Ta == null ? void 0 : Ta.key) === (Qt == null ? void 0 : Qt[1]) && (Ta.value = (Wa = (wn = B == null ? void 0 : B.data) == null ? void 0 : wn.result) == null ? void 0 : Wa[Ia == null ? void 0 : Ia.replaceAll(":", "")]), Ta;
|
|
4862
4862
|
})), ta;
|
|
4863
4863
|
})), na;
|
|
4864
4864
|
});
|
|
@@ -4878,22 +4878,22 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4878
4878
|
});
|
|
4879
4879
|
return;
|
|
4880
4880
|
}
|
|
4881
|
-
if ((
|
|
4881
|
+
if ((Qt == null ? void 0 : Qt.length) === 1) {
|
|
4882
4882
|
const Dt = (Pa = (Ka = (oa = B == null ? void 0 : B.data) == null ? void 0 : oa.data) == null ? void 0 : Ka.path) == null ? void 0 : Pa.path;
|
|
4883
4883
|
let Wt = "";
|
|
4884
4884
|
($a = (Ja = (Ba = (Ya = (Ua = Dt == null ? void 0 : Dt.split("(")) == null ? void 0 : Ua[1]) == null ? void 0 : Ya.split(")")) == null ? void 0 : Ba[0]) == null ? void 0 : Ja.split(":")) == null || $a.forEach((ta) => {
|
|
4885
4885
|
var Da, Ta;
|
|
4886
4886
|
Wt = Wt === "" ? Wt + ((Da = ta == null ? void 0 : ta.replaceAll("'", "")) == null ? void 0 : Da.trim()) : Wt + "/" + ((Ta = ta == null ? void 0 : ta.replaceAll("'", "")) == null ? void 0 : Ta.trim());
|
|
4887
4887
|
});
|
|
4888
|
-
let na = [(ma = (tn = (en = (
|
|
4889
|
-
return (Ma = (an = (gn = B == null ? void 0 : B.data) == null ? void 0 : gn.data) == null ? void 0 : an.data) != null && Ma[
|
|
4888
|
+
let na = [(ma = (tn = (en = (Qa = (Za = Dt == null ? void 0 : Dt.split("<")) == null ? void 0 : Za[1]) == null ? void 0 : Qa.split(">")) == null ? void 0 : en[0]) == null ? void 0 : tn.replaceAll("'", "")) == null ? void 0 : ma.trim()], ra;
|
|
4889
|
+
return (Ma = (an = (gn = B == null ? void 0 : B.data) == null ? void 0 : gn.data) == null ? void 0 : an.data) != null && Ma[Qt == null ? void 0 : Qt[0]] ? ra = await Q((wt = (nn = (sn = B == null ? void 0 : B.data) == null ? void 0 : sn.data) == null ? void 0 : nn.data) == null ? void 0 : wt[Qt == null ? void 0 : Qt[0]], Wt, Qt, g) : ra = await O((kt = (da = B == null ? void 0 : B.data) == null ? void 0 : da.data) == null ? void 0 : kt.data, Wt, na, lt), ra;
|
|
4890
4890
|
} else {
|
|
4891
4891
|
const Dt = (Ca = (jt = (Fn = B == null ? void 0 : B.data) == null ? void 0 : Fn.data) == null ? void 0 : jt.path) == null ? void 0 : Ca.path;
|
|
4892
4892
|
let Wt = "";
|
|
4893
4893
|
return (kn = (Ea = (Na = (Sa = (un = Dt == null ? void 0 : Dt.split("(")) == null ? void 0 : un[1]) == null ? void 0 : Sa.split(")")) == null ? void 0 : Na[0]) == null ? void 0 : Ea.split(":")) == null || kn.forEach((ra) => {
|
|
4894
4894
|
var ta, Da;
|
|
4895
4895
|
Wt = Wt === "" ? Wt + ((ta = ra == null ? void 0 : ra.replaceAll("'", "")) == null ? void 0 : ta.trim()) : Wt + "/" + ((Da = ra == null ? void 0 : ra.replaceAll("'", "")) == null ? void 0 : Da.trim());
|
|
4896
|
-
}), await _e((ui = (qn = (Ra = B == null ? void 0 : B.data) == null ? void 0 : Ra.data) == null ? void 0 : qn.data) == null ? void 0 : ui[
|
|
4896
|
+
}), await _e((ui = (qn = (Ra = B == null ? void 0 : B.data) == null ? void 0 : Ra.data) == null ? void 0 : qn.data) == null ? void 0 : ui[Qt == null ? void 0 : Qt[0]], Wt, Qt);
|
|
4897
4897
|
}
|
|
4898
4898
|
}
|
|
4899
4899
|
}
|
|
@@ -5020,14 +5020,14 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5020
5020
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
5021
5021
|
type: oe.value
|
|
5022
5022
|
});
|
|
5023
|
-
(G = (ft = We.data.result) == null ? void 0 : ft.filter((
|
|
5023
|
+
(G = (ft = We.data.result) == null ? void 0 : ft.filter((Z) => {
|
|
5024
5024
|
var ae, Te;
|
|
5025
|
-
return ((ae =
|
|
5026
|
-
})) == null || G.forEach((
|
|
5027
|
-
je[
|
|
5028
|
-
}), E != null && E[0].path && (ie = await (ze == null ? void 0 : ze.map(async (
|
|
5025
|
+
return ((ae = Z == null ? void 0 : Z.key) == null ? void 0 : ae.pageKey) !== "menu" && ((Te = Z == null ? void 0 : Z.key) == null ? void 0 : Te.pageKey) !== "secret";
|
|
5026
|
+
})) == null || G.forEach((Z) => {
|
|
5027
|
+
je[Z.key.pageKey] ? je[Z.key.pageKey] = [...je[Z.key.pageKey], Z] : je[Z.key.pageKey] = [Z];
|
|
5028
|
+
}), E != null && E[0].path && (ie = await (ze == null ? void 0 : ze.map(async (Z, ae) => {
|
|
5029
5029
|
var F, C, B, ne, V, U, ee, Y, ce, fe, H, ve, N, Re, Ie, ge;
|
|
5030
|
-
const me = (F = je[
|
|
5030
|
+
const me = (F = je[Z == null ? void 0 : Z.path]) == null ? void 0 : F.filter((L) => {
|
|
5031
5031
|
var pe;
|
|
5032
5032
|
return ((pe = L == null ? void 0 : L.key) == null ? void 0 : pe.type) === "data";
|
|
5033
5033
|
});
|
|
@@ -5037,23 +5037,23 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5037
5037
|
var pe, be, ke, Fe, et;
|
|
5038
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.算法体);
|
|
5039
5039
|
});
|
|
5040
|
-
const k = await aa(
|
|
5040
|
+
const k = await aa(Z == null ? void 0 : Z.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, je);
|
|
5041
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
5042
|
return (ee = (U = k == null ? void 0 : k[0]) == null ? void 0 : U.compData) == null || ee.forEach((L) => {
|
|
5043
5043
|
var pe;
|
|
5044
5044
|
(L == null ? void 0 : L.key) === "tableContents" && ((pe = L == null ? void 0 : L.contents) == null || pe.forEach((be) => {
|
|
5045
|
-
be != null && be.find((ke) => ke === (
|
|
5045
|
+
be != null && be.find((ke) => ke === (Z == null ? void 0 : Z.method)) && (x = be[g]);
|
|
5046
5046
|
}));
|
|
5047
5047
|
}), {
|
|
5048
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.算法名称),
|
|
5049
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,
|
|
5050
5050
|
content: lt == null ? void 0 : lt.filter((L) => L.comp !== "methodButton"),
|
|
5051
|
-
extraContent: (Ie = v(
|
|
5052
|
-
methodName: (
|
|
5051
|
+
extraContent: (Ie = v(Z.value)) == null ? void 0 : Ie.slice(1),
|
|
5052
|
+
methodName: (Z == null ? void 0 : Z.path) ?? "",
|
|
5053
5053
|
extraValues: (ge = ze == null ? void 0 : ze[ae]) == null ? void 0 : ge.data
|
|
5054
5054
|
};
|
|
5055
5055
|
})));
|
|
5056
|
-
const Ce = ze == null ? void 0 : ze.map(async (
|
|
5056
|
+
const Ce = ze == null ? void 0 : ze.map(async (Z) => {
|
|
5057
5057
|
var k, x, g, F, C, B;
|
|
5058
5058
|
const ae = (k = We.data.result) == null ? void 0 : k.filter((ne) => {
|
|
5059
5059
|
var V, U, ee;
|
|
@@ -5066,18 +5066,18 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5066
5066
|
buttonName: (g = Te == null ? void 0 : Te.key) == null ? void 0 : g.methodKey,
|
|
5067
5067
|
api: (C = (F = lt == null ? void 0 : lt.value) == null ? void 0 : F.tableData) == null ? void 0 : C[0],
|
|
5068
5068
|
content: at == null ? void 0 : at.filter((ne) => ne.comp !== "methodButton"),
|
|
5069
|
-
extraContent: (B = v(
|
|
5070
|
-
methodName: (
|
|
5069
|
+
extraContent: (B = v(Z.value)) == null ? void 0 : B.slice(1),
|
|
5070
|
+
methodName: (Z == null ? void 0 : Z.method) ?? ""
|
|
5071
5071
|
};
|
|
5072
5072
|
}), Ve = (
|
|
5073
5073
|
// await Promise.all(currentValueContents)
|
|
5074
5074
|
(nt = E == null ? void 0 : E[0]) != null && nt.path && ((pt = E == null ? void 0 : E[0]) == null ? void 0 : pt.path) !== "" ? await Promise.all(ie) : await Promise.all(Ce)
|
|
5075
5075
|
);
|
|
5076
|
-
r.value = Ve == null ? void 0 : Ve.filter((
|
|
5076
|
+
r.value = Ve == null ? void 0 : Ve.filter((Z) => Z == null ? void 0 : Z.extraContent), (rt = r.value) == null || rt.forEach((Z) => {
|
|
5077
5077
|
var ae;
|
|
5078
|
-
|
|
5078
|
+
Z.api === "" && ((ae = Z.content) == null || ae.forEach((Te) => {
|
|
5079
5079
|
var me;
|
|
5080
|
-
Te.comp == "Table" && _.setExtraContents(ss(Te.compData, (me =
|
|
5080
|
+
Te.comp == "Table" && _.setExtraContents(ss(Te.compData, (me = Z.extraContent) == null ? void 0 : me[0]));
|
|
5081
5081
|
}));
|
|
5082
5082
|
});
|
|
5083
5083
|
};
|
|
@@ -5089,7 +5089,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5089
5089
|
{ immediate: !0, deep: !0 }
|
|
5090
5090
|
), (E, ze) => {
|
|
5091
5091
|
var ie, je, We;
|
|
5092
|
-
return $t(W) !== "edit" ? (Oe(), tt("div",
|
|
5092
|
+
return $t(W) !== "edit" ? (Oe(), tt("div", Zc, [
|
|
5093
5093
|
(Oe(!0), tt(Ut, null, Yt((ie = r.value) == null ? void 0 : ie.filter((Ce) => (Ce == null ? void 0 : Ce.buttonName) !== "保存"), (Ce) => {
|
|
5094
5094
|
var Ve;
|
|
5095
5095
|
return Oe(), tt("div", null, [
|
|
@@ -5119,7 +5119,7 @@ const Kh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Uh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5119
5119
|
])) : fa("", !0);
|
|
5120
5120
|
};
|
|
5121
5121
|
}
|
|
5122
|
-
}, ed = /* @__PURE__ */ Jt(
|
|
5122
|
+
}, ed = /* @__PURE__ */ Jt(Qc, [["__scopeId", "data-v-86dfd7cb"]]), td = {};
|
|
5123
5123
|
function ad(a, r) {
|
|
5124
5124
|
return " 567 ";
|
|
5125
5125
|
}
|
|
@@ -5857,7 +5857,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5857
5857
|
}, Ud = /* @__PURE__ */ Jt(Kd, [["__scopeId", "data-v-3f3e863e"]]), Nd = { class: "tabs-header" }, Wd = { class: "tabs-list" }, Vd = { class: "tab-name" }, Hd = { class: "tab-actions" }, qd = ["onClick"], Gd = ["onClick"], Xd = ["onClick"], Yd = { class: "model-operate" }, Jd = {
|
|
5858
5858
|
class: "model-select",
|
|
5859
5859
|
style: { display: "unset" }
|
|
5860
|
-
},
|
|
5860
|
+
}, Zd = { class: "existing-components" }, Qd = { class: "component-list" }, ef = ["onClick"], tf = { class: "component-info" }, af = { class: "component-type" }, nf = { class: "component-name" }, lf = { class: "model-fill" }, rf = {
|
|
5861
5861
|
__name: "operate",
|
|
5862
5862
|
props: {
|
|
5863
5863
|
itemContents: {
|
|
@@ -5990,7 +5990,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5990
5990
|
case "Form":
|
|
5991
5991
|
return {
|
|
5992
5992
|
type: "form",
|
|
5993
|
-
content:
|
|
5993
|
+
content: Q(We || []),
|
|
5994
5994
|
value: "表单"
|
|
5995
5995
|
};
|
|
5996
5996
|
case "Table":
|
|
@@ -6007,7 +6007,7 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6007
6007
|
};
|
|
6008
6008
|
}
|
|
6009
6009
|
});
|
|
6010
|
-
},
|
|
6010
|
+
}, Q = ($e) => {
|
|
6011
6011
|
const E = {
|
|
6012
6012
|
formRules: {},
|
|
6013
6013
|
rowContents: [],
|
|
@@ -6179,9 +6179,9 @@ const nd = /* @__PURE__ */ Jt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6179
6179
|
le("div", Yd, [
|
|
6180
6180
|
le("div", Jd, [
|
|
6181
6181
|
De(Ed),
|
|
6182
|
-
le("div",
|
|
6182
|
+
le("div", Zd, [
|
|
6183
6183
|
E[8] || (E[8] = le("h5", null, "添加已有组件", -1)),
|
|
6184
|
-
le("div",
|
|
6184
|
+
le("div", Qd, [
|
|
6185
6185
|
(Oe(!0), tt(Ut, null, Yt(P.value, (Ce) => (Oe(), tt("div", {
|
|
6186
6186
|
key: Ce.id,
|
|
6187
6187
|
class: "component-item",
|
|
@@ -6560,17 +6560,17 @@ const pn = {
|
|
|
6560
6560
|
value: ""
|
|
6561
6561
|
}
|
|
6562
6562
|
], p = ue({}), f = () => {
|
|
6563
|
-
var
|
|
6564
|
-
c.value = m(), (
|
|
6563
|
+
var Z;
|
|
6564
|
+
c.value = m(), (Z = c.value) == null || Z.forEach((ae) => {
|
|
6565
6565
|
var me;
|
|
6566
6566
|
const Te = ae == null ? void 0 : ae.prop;
|
|
6567
6567
|
ae.value = (me = p == null ? void 0 : p.value) == null ? void 0 : me[Te];
|
|
6568
6568
|
}), s.visible = !0;
|
|
6569
|
-
}, _ = (
|
|
6570
|
-
p.value =
|
|
6569
|
+
}, _ = (Z) => {
|
|
6570
|
+
p.value = Z;
|
|
6571
6571
|
}, S = () => {
|
|
6572
|
-
var
|
|
6573
|
-
s.visible = !1, i("change", (
|
|
6572
|
+
var Z;
|
|
6573
|
+
s.visible = !1, i("change", (Z = pt()) == null ? void 0 : Z.compData);
|
|
6574
6574
|
}, I = ja({
|
|
6575
6575
|
visible: !1,
|
|
6576
6576
|
width: "840",
|
|
@@ -6626,21 +6626,21 @@ const pn = {
|
|
|
6626
6626
|
// isFormColHidden: true
|
|
6627
6627
|
// },
|
|
6628
6628
|
], W = ue({}), Se = () => {
|
|
6629
|
-
const
|
|
6629
|
+
const Z = M.value, ae = v(Z);
|
|
6630
6630
|
return ae == null || ae.forEach((Te) => {
|
|
6631
6631
|
var at;
|
|
6632
6632
|
const me = Te == null ? void 0 : Te.prop;
|
|
6633
6633
|
Te.value = (at = W.value) == null ? void 0 : at[me];
|
|
6634
6634
|
}), ae;
|
|
6635
|
-
}, q = (
|
|
6635
|
+
}, q = (Z) => {
|
|
6636
6636
|
var Te;
|
|
6637
|
-
W.value =
|
|
6637
|
+
W.value = Z;
|
|
6638
6638
|
const ae = Se();
|
|
6639
6639
|
M.value = ae, i("change", (Te = pt()) == null ? void 0 : Te.compData);
|
|
6640
6640
|
}, K = async () => {
|
|
6641
|
-
const
|
|
6641
|
+
const Z = await cs(), ae = Se();
|
|
6642
6642
|
ae == null || ae.forEach((Te) => {
|
|
6643
|
-
(Te == null ? void 0 : Te.prop) === "menu" && (Te.contents =
|
|
6643
|
+
(Te == null ? void 0 : Te.prop) === "menu" && (Te.contents = Z);
|
|
6644
6644
|
}), M.value = ae, I.visible = !0, await Ce(W.value.menu), await G(W.value.group);
|
|
6645
6645
|
}, oe = ja({
|
|
6646
6646
|
visible: !1,
|
|
@@ -6677,27 +6677,27 @@ const pn = {
|
|
|
6677
6677
|
contents: []
|
|
6678
6678
|
}
|
|
6679
6679
|
], b = ue({}), P = () => {
|
|
6680
|
-
const
|
|
6680
|
+
const Z = w.value, ae = v(Z);
|
|
6681
6681
|
return ae == null || ae.forEach((Te) => {
|
|
6682
6682
|
var at;
|
|
6683
6683
|
const me = Te == null ? void 0 : Te.prop;
|
|
6684
6684
|
Te.value = (at = b.value) == null ? void 0 : at[me];
|
|
6685
6685
|
}), ae;
|
|
6686
|
-
}, A = (
|
|
6686
|
+
}, A = (Z) => {
|
|
6687
6687
|
var Te;
|
|
6688
|
-
b.value =
|
|
6688
|
+
b.value = Z;
|
|
6689
6689
|
const ae = P();
|
|
6690
6690
|
w.value = ae, i("change", (Te = pt()) == null ? void 0 : Te.compData);
|
|
6691
6691
|
}, re = async () => {
|
|
6692
6692
|
await O();
|
|
6693
|
-
const
|
|
6693
|
+
const Z = v(Ne.value), ae = P();
|
|
6694
6694
|
ae == null || ae.forEach((Te) => {
|
|
6695
6695
|
var at;
|
|
6696
6696
|
const me = Te == null ? void 0 : Te.prop;
|
|
6697
|
-
Te.value = (at = b == null ? void 0 : b.value) == null ? void 0 : at[me], me === "mainKey" && (Te.contents =
|
|
6697
|
+
Te.value = (at = b == null ? void 0 : b.value) == null ? void 0 : at[me], me === "mainKey" && (Te.contents = Z);
|
|
6698
6698
|
}), w.value = ae, oe.visible = !0;
|
|
6699
6699
|
}, Ne = ue([]), ut = ue([]), Me = ue({}), Xe = ue({}), _e = () => {
|
|
6700
|
-
const { compData:
|
|
6700
|
+
const { compData: Z } = ie.value || {}, ae = Z == null ? void 0 : Z.find((g) => {
|
|
6701
6701
|
const { key: F } = g;
|
|
6702
6702
|
return F === "header";
|
|
6703
6703
|
}), Te = (ae == null ? void 0 : ae.contents) || [], me = Te == null ? void 0 : Te.filter((g, F) => {
|
|
@@ -6709,7 +6709,7 @@ const pn = {
|
|
|
6709
6709
|
});
|
|
6710
6710
|
if (at < 0)
|
|
6711
6711
|
return [];
|
|
6712
|
-
const lt =
|
|
6712
|
+
const lt = Z == null ? void 0 : Z.find((g) => {
|
|
6713
6713
|
const { key: F } = g;
|
|
6714
6714
|
return F === "tableContents";
|
|
6715
6715
|
}), k = (lt == null ? void 0 : lt.contents) || [];
|
|
@@ -6724,13 +6724,13 @@ const pn = {
|
|
|
6724
6724
|
};
|
|
6725
6725
|
});
|
|
6726
6726
|
}, O = async () => {
|
|
6727
|
-
const
|
|
6728
|
-
Ne.value =
|
|
6729
|
-
}, te = async (
|
|
6727
|
+
const Z = await _e();
|
|
6728
|
+
Ne.value = Z;
|
|
6729
|
+
}, te = async (Z) => {
|
|
6730
6730
|
const ae = sessionStorage.getItem("systemKey");
|
|
6731
|
-
return await aa(
|
|
6732
|
-
},
|
|
6733
|
-
const ae =
|
|
6731
|
+
return await aa(Z, ae, "");
|
|
6732
|
+
}, Q = async (Z) => {
|
|
6733
|
+
const ae = Z;
|
|
6734
6734
|
ut.value = ae == null ? void 0 : ae.map((Te) => {
|
|
6735
6735
|
const { name: me } = Te;
|
|
6736
6736
|
return Me.value[me] = Te, {
|
|
@@ -6738,7 +6738,7 @@ const pn = {
|
|
|
6738
6738
|
value: me
|
|
6739
6739
|
};
|
|
6740
6740
|
});
|
|
6741
|
-
}, ye = (
|
|
6741
|
+
}, ye = (Z) => {
|
|
6742
6742
|
const { comp: ae, compData: Te } = Xe.value || {};
|
|
6743
6743
|
if (ae === "Table") {
|
|
6744
6744
|
let me = P();
|
|
@@ -6749,10 +6749,10 @@ const pn = {
|
|
|
6749
6749
|
}
|
|
6750
6750
|
}, qe = async () => {
|
|
6751
6751
|
var Te, me;
|
|
6752
|
-
const
|
|
6753
|
-
if (
|
|
6754
|
-
const lt = `${ae == null ? void 0 : ae.join("/")}^${
|
|
6755
|
-
await
|
|
6752
|
+
const Z = (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;
|
|
6753
|
+
if (Z) {
|
|
6754
|
+
const lt = `${ae == null ? void 0 : ae.join("/")}^${Z}`, k = await te(lt);
|
|
6755
|
+
await Q(k);
|
|
6756
6756
|
const x = P();
|
|
6757
6757
|
x == null || x.forEach((g) => {
|
|
6758
6758
|
(g == null ? void 0 : g.prop) === "group" && (g.contents = ut.value);
|
|
@@ -6760,31 +6760,31 @@ const pn = {
|
|
|
6760
6760
|
}
|
|
6761
6761
|
};
|
|
6762
6762
|
mt(() => {
|
|
6763
|
-
var
|
|
6764
|
-
return (
|
|
6765
|
-
}, async (
|
|
6766
|
-
|
|
6763
|
+
var Z;
|
|
6764
|
+
return (Z = b == null ? void 0 : b.value) == null ? void 0 : Z.mainKey;
|
|
6765
|
+
}, async (Z, ae) => {
|
|
6766
|
+
Z != ae && Z && await qe();
|
|
6767
6767
|
});
|
|
6768
|
-
const dt = async (
|
|
6769
|
-
const ae = Me.value[
|
|
6768
|
+
const dt = async (Z) => {
|
|
6769
|
+
const ae = Me.value[Z];
|
|
6770
6770
|
Xe.value = ae, await ye();
|
|
6771
6771
|
};
|
|
6772
6772
|
mt(() => {
|
|
6773
|
-
var
|
|
6774
|
-
return (
|
|
6775
|
-
}, async (
|
|
6776
|
-
|
|
6773
|
+
var Z;
|
|
6774
|
+
return (Z = b == null ? void 0 : b.value) == null ? void 0 : Z.group;
|
|
6775
|
+
}, async (Z, ae) => {
|
|
6776
|
+
Z != ae && Z && dt(Z);
|
|
6777
6777
|
});
|
|
6778
6778
|
const $e = async () => {
|
|
6779
6779
|
var ae;
|
|
6780
6780
|
await qe();
|
|
6781
|
-
const
|
|
6782
|
-
await dt(
|
|
6783
|
-
}, E = ue([]), ze = ue({}), ie = ue({}), je = async (
|
|
6784
|
-
const ae =
|
|
6781
|
+
const Z = (ae = b.value) == null ? void 0 : ae.group;
|
|
6782
|
+
await dt(Z);
|
|
6783
|
+
}, E = ue([]), ze = ue({}), ie = ue({}), je = async (Z) => {
|
|
6784
|
+
const ae = Z == null ? void 0 : Z.join("/"), Te = sessionStorage.getItem("systemKey");
|
|
6785
6785
|
return await aa(ae, Te, "");
|
|
6786
|
-
}, We = async (
|
|
6787
|
-
const ae = await je(
|
|
6786
|
+
}, We = async (Z) => {
|
|
6787
|
+
const ae = await je(Z);
|
|
6788
6788
|
E.value = ae == null ? void 0 : ae.map((Te) => {
|
|
6789
6789
|
const { name: me } = Te;
|
|
6790
6790
|
return ze.value[me] = Te, {
|
|
@@ -6792,21 +6792,21 @@ const pn = {
|
|
|
6792
6792
|
value: me
|
|
6793
6793
|
};
|
|
6794
6794
|
});
|
|
6795
|
-
}, Ce = async (
|
|
6796
|
-
await We(
|
|
6795
|
+
}, Ce = async (Z, ae) => {
|
|
6796
|
+
await We(Z);
|
|
6797
6797
|
const Te = Se();
|
|
6798
6798
|
Te == null || Te.forEach((me) => {
|
|
6799
6799
|
(me == null ? void 0 : me.prop) === "group" && (me.contents = E.value);
|
|
6800
6800
|
}), M.value = Te;
|
|
6801
6801
|
};
|
|
6802
6802
|
mt(() => {
|
|
6803
|
-
var
|
|
6804
|
-
return (
|
|
6805
|
-
}, async (
|
|
6806
|
-
const Te =
|
|
6807
|
-
Te != me && await Ce(
|
|
6803
|
+
var Z;
|
|
6804
|
+
return (Z = W == null ? void 0 : W.value) == null ? void 0 : Z.menu;
|
|
6805
|
+
}, async (Z, ae) => {
|
|
6806
|
+
const Te = Z == null ? void 0 : Z.join("/"), me = ae == null ? void 0 : ae.join("/");
|
|
6807
|
+
Te != me && await Ce(Z);
|
|
6808
6808
|
});
|
|
6809
|
-
const Ve = (
|
|
6809
|
+
const Ve = (Z, ae) => {
|
|
6810
6810
|
const Te = ae == null ? void 0 : ae.find((k) => {
|
|
6811
6811
|
const { key: x } = k;
|
|
6812
6812
|
return x === "header";
|
|
@@ -6820,11 +6820,11 @@ const pn = {
|
|
|
6820
6820
|
value: x
|
|
6821
6821
|
};
|
|
6822
6822
|
});
|
|
6823
|
-
|
|
6823
|
+
Z == null || Z.forEach((k) => {
|
|
6824
6824
|
const x = k == null ? void 0 : k.prop;
|
|
6825
6825
|
(x === "nameCol" || x === "valueCol") && (k.contents = lt);
|
|
6826
6826
|
});
|
|
6827
|
-
}, ft = (
|
|
6827
|
+
}, ft = (Z) => {
|
|
6828
6828
|
const { comp: ae, compData: Te } = ie.value || {};
|
|
6829
6829
|
if (ae === "Table") {
|
|
6830
6830
|
W.value.formItems = [];
|
|
@@ -6834,20 +6834,20 @@ const pn = {
|
|
|
6834
6834
|
return lt !== "formItems";
|
|
6835
6835
|
}), Ve(me, Te), M.value = me;
|
|
6836
6836
|
}
|
|
6837
|
-
}, G = async (
|
|
6838
|
-
const ae = ze.value[
|
|
6837
|
+
}, G = async (Z) => {
|
|
6838
|
+
const ae = ze.value[Z];
|
|
6839
6839
|
ie.value = ae, await ft();
|
|
6840
6840
|
};
|
|
6841
6841
|
mt(() => {
|
|
6842
|
-
var
|
|
6843
|
-
return (
|
|
6844
|
-
}, async (
|
|
6845
|
-
|
|
6842
|
+
var Z;
|
|
6843
|
+
return (Z = W == null ? void 0 : W.value) == null ? void 0 : Z.group;
|
|
6844
|
+
}, async (Z, ae) => {
|
|
6845
|
+
Z != ae && G(Z);
|
|
6846
6846
|
});
|
|
6847
6847
|
const nt = async () => {
|
|
6848
6848
|
var Te, me;
|
|
6849
|
-
const
|
|
6850
|
-
await Ce(
|
|
6849
|
+
const Z = (Te = W.value) == null ? void 0 : Te.menu;
|
|
6850
|
+
await Ce(Z);
|
|
6851
6851
|
const ae = (me = W.value) == null ? void 0 : me.group;
|
|
6852
6852
|
await G(ae);
|
|
6853
6853
|
}, pt = () => ({
|
|
@@ -6872,9 +6872,9 @@ const pn = {
|
|
|
6872
6872
|
return Mn(async () => {
|
|
6873
6873
|
var ae, Te, me;
|
|
6874
6874
|
M.value = $(), w.value = R();
|
|
6875
|
-
const
|
|
6876
|
-
p.value = ((ae =
|
|
6877
|
-
}), (
|
|
6875
|
+
const Z = o == null ? void 0 : o.itemContents;
|
|
6876
|
+
p.value = ((ae = Z == null ? void 0 : Z.find((at) => at.key === "chartBaseConfig")) == null ? void 0 : ae.contents) ?? {}, W.value = ((Te = Z == null ? void 0 : Z.find((at) => at.key === "chartDataConfig")) == null ? void 0 : Te.contents) ?? {}, await nt(), b.value = ((me = Z == null ? void 0 : Z.find((at) => at.key === "chartDetailConfig")) == null ? void 0 : me.contents) ?? {}, await $e();
|
|
6877
|
+
}), (Z, ae) => {
|
|
6878
6878
|
const Te = Rt("el-button");
|
|
6879
6879
|
return Oe(), tt(Ut, null, [
|
|
6880
6880
|
le("div", null, [
|
|
@@ -7137,7 +7137,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7137
7137
|
payloadTypes: Ff,
|
|
7138
7138
|
pageMapState: Pi,
|
|
7139
7139
|
itemExtendData: xi
|
|
7140
|
-
} = Xt(ea), za = Hn(qt), { activeTopMenuPath: jf, activeMenuPath: Gt, platform: Gh, activeAsideMenu: Kf, buttonTriggerType: Uf } = Xt(za), Fa = jo(qt), { selectTitle: Pl } = Xt(Fa), Nf = Ri(qt), { originalPath: Fi } = Xt(Nf), Bl = vs(qt),
|
|
7140
|
+
} = Xt(ea), za = Hn(qt), { activeTopMenuPath: jf, activeMenuPath: Gt, platform: Gh, activeAsideMenu: Kf, buttonTriggerType: Uf } = Xt(za), Fa = jo(qt), { selectTitle: Pl } = Xt(Fa), Nf = Ri(qt), { originalPath: Fi } = Xt(Nf), Bl = vs(qt), Qi = ue(!0), Bi = ue(0), Ir = ue([]), li = Ht(async () => {
|
|
7141
7141
|
var r, o;
|
|
7142
7142
|
const a = (r = Gt.value) != null && r.startsWith("/") ? (o = Gt.value) == null ? void 0 : o.substring(1) : Gt.value;
|
|
7143
7143
|
return (a == null ? void 0 : a.includes(Fi.value)) || await Yf(a);
|
|
@@ -7244,7 +7244,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7244
7244
|
} catch (Se) {
|
|
7245
7245
|
throw new Error(Se);
|
|
7246
7246
|
}
|
|
7247
|
-
},
|
|
7247
|
+
}, Zh = async (a) => {
|
|
7248
7248
|
var _, S, I, M, $, W, Se, q, K, oe;
|
|
7249
7249
|
za.setContentLoading(!0);
|
|
7250
7250
|
const r = JSON.parse(v(JSON.stringify($f.value)));
|
|
@@ -7269,7 +7269,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7269
7269
|
}).catch((w) => {
|
|
7270
7270
|
Ft.success(w);
|
|
7271
7271
|
}), za.setContentLoading(!1);
|
|
7272
|
-
}, Ar = (a) => si(a), zt = ue([]),
|
|
7272
|
+
}, Ar = (a) => si(a), zt = ue([]), Qh = Ht(() => {
|
|
7273
7273
|
var a;
|
|
7274
7274
|
return (a = zt.value) == null ? void 0 : a.filter((r) => (r == null ? void 0 : r.affix) && (r == null ? void 0 : r.affix) !== "default");
|
|
7275
7275
|
}), Wf = Ht(() => {
|
|
@@ -7415,8 +7415,8 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7415
7415
|
}
|
|
7416
7416
|
(b = a == null ? void 0 : a.singleContent) == null || b.forEach((O) => {
|
|
7417
7417
|
let te = {};
|
|
7418
|
-
for (let
|
|
7419
|
-
|
|
7418
|
+
for (let Q in O)
|
|
7419
|
+
Q !== "id" && Q !== "index" && (te[Q] = O[Q]);
|
|
7420
7420
|
typeof (O == null ? void 0 : O.id) == "number" ? re.push({
|
|
7421
7421
|
id: O == null ? void 0 : O.id,
|
|
7422
7422
|
value: {
|
|
@@ -7498,7 +7498,7 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7498
7498
|
}
|
|
7499
7499
|
});
|
|
7500
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;
|
|
7501
|
-
}, Jf = ue(), bn = ue(null),
|
|
7501
|
+
}, Jf = ue(), bn = ue(null), Zf = (a) => {
|
|
7502
7502
|
var _, S, I, M, $, W, Se, q, K, oe, w, R, b, P, A, re, Ne, ut, Me, Xe;
|
|
7503
7503
|
const r = (S = (_ = Pi.value) == null ? void 0 : _[a]) == null ? void 0 : S.filter((_e) => {
|
|
7504
7504
|
var O;
|
|
@@ -7507,13 +7507,13 @@ const $n = Mi(), { loginUserInfo: ki } = Xt($n), ea = Rn(qt), Di = ue(!1), {
|
|
|
7507
7507
|
if ((r == null ? void 0 : r.length) === 0) return bn.value = null;
|
|
7508
7508
|
Jf.value = r;
|
|
7509
7509
|
const o = (M = (I = r == null ? void 0 : r.find((_e) => {
|
|
7510
|
-
var O, te,
|
|
7511
|
-
return (
|
|
7510
|
+
var O, te, Q;
|
|
7511
|
+
return (Q = (te = (O = _e == null ? void 0 : _e.value) == null ? void 0 : O.tableData) == null ? void 0 : te.执行任务) == null ? void 0 : Q.includes("计时");
|
|
7512
7512
|
})) == null ? void 0 : I.value) == null ? void 0 : M.tableData;
|
|
7513
7513
|
if (!o) return bn.value = null;
|
|
7514
7514
|
const i = (Se = (W = ($ = r == null ? void 0 : r.find((_e) => {
|
|
7515
|
-
var O, te,
|
|
7516
|
-
return (
|
|
7515
|
+
var O, te, Q;
|
|
7516
|
+
return (Q = (te = (O = _e == null ? void 0 : _e.value) == null ? void 0 : O.tableData) == null ? void 0 : te.执行任务) == null ? void 0 : Q.includes("计时");
|
|
7517
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);
|
|
7518
7518
|
if (!s) return bn.value = null;
|
|
7519
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];
|
|
@@ -7571,7 +7571,7 @@ mt(
|
|
|
7571
7571
|
return;
|
|
7572
7572
|
ea.setLockingPage(""), zt.value = [];
|
|
7573
7573
|
let r = Wo();
|
|
7574
|
-
(c = r == null ? void 0 : r.scope) == null || c.stop(), r = null,
|
|
7574
|
+
(c = r == null ? void 0 : r.scope) == null || c.stop(), r = null, Qi.value = !1, Di.value = !0;
|
|
7575
7575
|
const o = (m = a == null ? void 0 : a[0]) != null && m.startsWith("/") ? (p = a == null ? void 0 : a[0]) == null ? void 0 : p.substring(1) : a == null ? void 0 : a[0];
|
|
7576
7576
|
let i = /* @__PURE__ */ new WeakMap();
|
|
7577
7577
|
(_ = (f = (await Yi({
|
|
@@ -7585,11 +7585,11 @@ mt(
|
|
|
7585
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({
|
|
7586
7586
|
type: "查询",
|
|
7587
7587
|
data: zt.value
|
|
7588
|
-
}, Gt.value), zt.value = oi(zt.value), await Xf(zt.value), Br(),
|
|
7588
|
+
}, Gt.value), zt.value = oi(zt.value), await Xf(zt.value), Br(), Zf(o), $r.value = (S = zt.value) == null ? void 0 : S.map(($) => ({
|
|
7589
7589
|
label: $ == null ? void 0 : $.name,
|
|
7590
7590
|
value: $ == null ? void 0 : $.id
|
|
7591
7591
|
})), ea.setExtraContents([]), Fa.setSelectTitle([]), Fa.setSelectIndex(""), Fa.setSelectMenu(""), ea.setItemData(zt.value), ea.setOriginalData(zt.value), ea.setCurStructureCompIds((I = zt.value) == null ? void 0 : I.map(($) => $ == null ? void 0 : $.id)), ea.setRefreshCurStructure(!1), Fa.setSelectTitle((M = Gt.value) == null ? void 0 : M.split("/").map(($) => ({ value: $.trim() }))), za.setChildMenu(""), za.setContentLoading(!1), ea.setTableLoading(!1), Di.value = !1) : (zt.value = [], Di.value = !1), Ga(() => {
|
|
7592
|
-
Bi.value = Bi.value++,
|
|
7592
|
+
Bi.value = Bi.value++, Qi.value = !0;
|
|
7593
7593
|
});
|
|
7594
7594
|
},
|
|
7595
7595
|
{
|
|
@@ -7628,8 +7628,8 @@ const av = async () => {
|
|
|
7628
7628
|
type: "删除",
|
|
7629
7629
|
data: o
|
|
7630
7630
|
}, Gt.value)), za.setActiveMenuPath(Lf.value), zt.value = null, ea.setRouteToChildPath(""), za.setChildMenu("");
|
|
7631
|
-
}, nv = (a) => new RegExp("button", "i").test(a),
|
|
7632
|
-
if (
|
|
7631
|
+
}, nv = (a) => new RegExp("button", "i").test(a), Qf = (a) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(a), ep = (a) => {
|
|
7632
|
+
if (Qf(a)) {
|
|
7633
7633
|
const r = a == null ? void 0 : a.split("^");
|
|
7634
7634
|
(r == null ? void 0 : r.length) > 0 && (r != null && r[0]) && za.setLinkMenuInfo({
|
|
7635
7635
|
path: r == null ? void 0 : r[0],
|
|
@@ -7644,7 +7644,7 @@ const av = async () => {
|
|
|
7644
7644
|
});
|
|
7645
7645
|
}, iv = (a) => {
|
|
7646
7646
|
qf.value = a;
|
|
7647
|
-
},
|
|
7647
|
+
}, Qn = ja({
|
|
7648
7648
|
index: 0,
|
|
7649
7649
|
comp: null
|
|
7650
7650
|
}), lv = Ht(() => {
|
|
@@ -7666,7 +7666,7 @@ const av = async () => {
|
|
|
7666
7666
|
let o = "process";
|
|
7667
7667
|
if (((i = a == null ? void 0 : a.comp) == null ? void 0 : i.toUpperCase()) === "TABLE") {
|
|
7668
7668
|
const { valid: s, length: c } = Mr(r, !0);
|
|
7669
|
-
|
|
7669
|
+
Qn.index === r ? o = "process" : c === 0 ? o = "wait" : o = s ? "success" : "error";
|
|
7670
7670
|
}
|
|
7671
7671
|
return o;
|
|
7672
7672
|
}, np = (a) => {
|
|
@@ -7674,13 +7674,13 @@ const av = async () => {
|
|
|
7674
7674
|
const r = a + 1;
|
|
7675
7675
|
if (r > 1 && ((s = (i = (o = zt.value) == null ? void 0 : o[a]) == null ? void 0 : i.comp) == null ? void 0 : s.toUpperCase()) === "TABLE") {
|
|
7676
7676
|
const { valid: p } = Mr(r);
|
|
7677
|
-
p ? (
|
|
7677
|
+
p ? (Qn.index = r, Qn.comp = (c = zt.value) == null ? void 0 : c[a]) : Ft({
|
|
7678
7678
|
showClose: !0,
|
|
7679
7679
|
type: "warning",
|
|
7680
7680
|
message: "当前流程有输入未完成"
|
|
7681
7681
|
});
|
|
7682
7682
|
} else
|
|
7683
|
-
|
|
7683
|
+
Qn.index = r, Qn.comp = (m = zt.value) == null ? void 0 : m[a];
|
|
7684
7684
|
}, Rr = Ht(() => {
|
|
7685
7685
|
var a, r;
|
|
7686
7686
|
return (r = (a = Wf.value) == null ? void 0 : a[0]) == null ? void 0 : r.isStepLayout;
|
|
@@ -7755,7 +7755,7 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ya({
|
|
|
7755
7755
|
default: Le(() => {
|
|
7756
7756
|
var q;
|
|
7757
7757
|
return [
|
|
7758
|
-
$t(
|
|
7758
|
+
$t(Qi) ? (Oe(), At(hn($t(Ar)(W.comp)), {
|
|
7759
7759
|
key: $t(Bi),
|
|
7760
7760
|
compName: W.name,
|
|
7761
7761
|
index: (W == null ? void 0 : W.id) ?? Se,
|
|
@@ -8603,7 +8603,7 @@ function Lp() {
|
|
|
8603
8603
|
var O = Xe, te = { init: function(t) {
|
|
8604
8604
|
var e = O.Element, n = t.navigator || {};
|
|
8605
8605
|
te.supportsTouch = "ontouchstart" in t || A.func(t.DocumentTouch) && O.document instanceof t.DocumentTouch, te.supportsPointerEvent = n.pointerEnabled !== !1 && !!O.PointerEvent, te.isIOS = /iP(hone|od|ad)/.test(n.platform), te.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), te.isIe9 = /MSIE 9/.test(n.userAgent), te.isOperaMobile = n.appName === "Opera" && te.supportsTouch && /Presto/.test(n.userAgent), te.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", te.pEventTypes = te.supportsPointerEvent ? O.PointerEvent === t.MSPointerEvent ? { up: "MSPointerUp", down: "MSPointerDown", over: "mouseover", out: "mouseout", move: "MSPointerMove", cancel: "MSPointerCancel" } : { up: "pointerup", down: "pointerdown", over: "pointerover", out: "pointerout", move: "pointermove", cancel: "pointercancel" } : null, te.wheelEvent = O.document && "onmousewheel" in O.document ? "mousewheel" : "wheel";
|
|
8606
|
-
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null },
|
|
8606
|
+
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null }, Q = te;
|
|
8607
8607
|
function ye(t, e) {
|
|
8608
8608
|
if (t.contains) return t.contains(e);
|
|
8609
8609
|
for (; e; ) {
|
|
@@ -8628,7 +8628,7 @@ function Lp() {
|
|
|
8628
8628
|
return e;
|
|
8629
8629
|
}
|
|
8630
8630
|
function $e(t, e) {
|
|
8631
|
-
return oe !== K && (e = e.replace(/\/deep\//g, " ")), t[
|
|
8631
|
+
return oe !== K && (e = e.replace(/\/deep\//g, " ")), t[Q.prefixedMatchesSelector](e);
|
|
8632
8632
|
}
|
|
8633
8633
|
var E = function(t) {
|
|
8634
8634
|
return t.parentNode || t.host;
|
|
@@ -8653,7 +8653,7 @@ function Lp() {
|
|
|
8653
8653
|
}
|
|
8654
8654
|
function Ce(t) {
|
|
8655
8655
|
var e, n = We(t);
|
|
8656
|
-
if (!
|
|
8656
|
+
if (!Q.isIOS7 && n) {
|
|
8657
8657
|
var l = { x: (e = (e = R(t)) || oe).scrollX || e.document.documentElement.scrollLeft, y: e.scrollY || e.document.documentElement.scrollTop };
|
|
8658
8658
|
n.left += l.x, n.right += l.x, n.top += l.y, n.bottom += l.y;
|
|
8659
8659
|
}
|
|
@@ -8680,7 +8680,7 @@ function Lp() {
|
|
|
8680
8680
|
function rt(t) {
|
|
8681
8681
|
return t && { x: "x" in t ? t.x : t.left, y: "y" in t ? t.y : t.top };
|
|
8682
8682
|
}
|
|
8683
|
-
function
|
|
8683
|
+
function Z(t) {
|
|
8684
8684
|
return !t || "x" in t && "y" in t || ((t = G({}, t)).x = t.left || 0, t.y = t.top || 0, t.width = t.width || (t.right || 0) - t.x, t.height = t.height || (t.bottom || 0) - t.y), t;
|
|
8685
8685
|
}
|
|
8686
8686
|
function ae(t, e, n) {
|
|
@@ -8742,7 +8742,7 @@ function Lp() {
|
|
|
8742
8742
|
return t = t || "page", (n = n || {}).x = e[t + "X"], n.y = e[t + "Y"], n;
|
|
8743
8743
|
}
|
|
8744
8744
|
function ne(t, e) {
|
|
8745
|
-
return e = e || { x: 0, y: 0 },
|
|
8745
|
+
return e = e || { x: 0, y: 0 }, Q.isOperaMobile && C(t) ? (B("screen", t, e), e.x += window.scrollX, e.y += window.scrollY) : B("page", t, e), e;
|
|
8746
8746
|
}
|
|
8747
8747
|
function V(t) {
|
|
8748
8748
|
return A.number(t.pointerId) ? t.pointerId : t.identifier;
|
|
@@ -8750,7 +8750,7 @@ function Lp() {
|
|
|
8750
8750
|
function U(t, e, n) {
|
|
8751
8751
|
var l = e.length > 1 ? Y(e) : e[0];
|
|
8752
8752
|
ne(l, t.page), function(u, d) {
|
|
8753
|
-
d = d || {},
|
|
8753
|
+
d = d || {}, Q.isOperaMobile && C(u) ? B("screen", u, d) : B("client", u, d);
|
|
8754
8754
|
}(l, t.client), t.timeStamp = n;
|
|
8755
8755
|
}
|
|
8756
8756
|
function ee(t) {
|
|
@@ -9037,15 +9037,15 @@ function Lp() {
|
|
|
9037
9037
|
n.interactable.options.resize.square ? (n.resizeAxes === "y" ? l.delta.x = l.delta.y : l.delta.y = l.delta.x, l.axes = "xy") : (l.axes = n.resizeAxes, n.resizeAxes === "x" ? l.delta.y = 0 : n.resizeAxes === "y" && (l.delta.x = 0));
|
|
9038
9038
|
}
|
|
9039
9039
|
}
|
|
9040
|
-
var xe, ot,
|
|
9040
|
+
var xe, ot, Qe = { id: "actions/resize", before: ["actions/drag"], install: function(t) {
|
|
9041
9041
|
var e = t.actions, n = t.browser, l = t.Interactable, u = t.defaults;
|
|
9042
|
-
|
|
9042
|
+
Qe.cursors = function(d) {
|
|
9043
9043
|
return d.isIe9 ? { x: "e-resize", y: "s-resize", xy: "se-resize", top: "n-resize", left: "w-resize", bottom: "s-resize", right: "e-resize", topleft: "se-resize", bottomright: "se-resize", topright: "ne-resize", bottomleft: "ne-resize" } : { x: "ew-resize", y: "ns-resize", xy: "nwse-resize", top: "ns-resize", left: "ew-resize", bottom: "ns-resize", right: "ew-resize", topleft: "nwse-resize", bottomright: "nwse-resize", topright: "nesw-resize", bottomleft: "nesw-resize" };
|
|
9044
|
-
}(n),
|
|
9044
|
+
}(n), Qe.defaultMargin = n.supportsTouch || n.supportsPointerEvent ? 20 : 10, l.prototype.resizable = function(d) {
|
|
9045
9045
|
return function(h, y, T) {
|
|
9046
9046
|
return A.object(y) ? (h.options.resize.enabled = y.enabled !== !1, h.setPerAction("resize", y), h.setOnEvents("resize", y), A.string(y.axis) && /^x$|^y$|^xy$/.test(y.axis) ? h.options.resize.axis = y.axis : y.axis === null && (h.options.resize.axis = T.defaults.actions.resize.axis), A.bool(y.preserveAspectRatio) ? h.options.resize.preserveAspectRatio = y.preserveAspectRatio : A.bool(y.square) && (h.options.resize.square = y.square), h) : A.bool(y) ? (h.options.resize.enabled = y, h) : h.options.resize;
|
|
9047
9047
|
}(this, d, t);
|
|
9048
|
-
}, e.map.resize =
|
|
9048
|
+
}, e.map.resize = Qe, e.methodDict.resize = "resizable", u.actions.resize = Qe.defaults;
|
|
9049
9049
|
}, listeners: { "interactions:new": function(t) {
|
|
9050
9050
|
t.interaction.resizeAxes = "xy";
|
|
9051
9051
|
}, "interactions:action-start": function(t) {
|
|
@@ -9090,17 +9090,17 @@ function Lp() {
|
|
|
9090
9090
|
if (y && y.enabled && (!e.pointerIsDown || !/mouse|pointer/.test(e.pointerType) || (d & y.mouseButtons) != 0)) {
|
|
9091
9091
|
if (A.object(y.edges)) {
|
|
9092
9092
|
var T = { left: !1, right: !1, top: !1, bottom: !1 };
|
|
9093
|
-
for (var j in T) T[j] = Pe(j, y.edges[j], h, e._latestPointer.eventTarget, l, u, y.margin ||
|
|
9093
|
+
for (var j in T) T[j] = Pe(j, y.edges[j], h, e._latestPointer.eventTarget, l, u, y.margin || Qe.defaultMargin);
|
|
9094
9094
|
T.left = T.left && !T.right, T.top = T.top && !T.bottom, (T.left || T.right || T.top || T.bottom) && (t.action = { name: "resize", edges: T });
|
|
9095
9095
|
} else {
|
|
9096
|
-
var z = y.axis !== "y" && h.x > u.right -
|
|
9096
|
+
var z = y.axis !== "y" && h.x > u.right - Qe.defaultMargin, J = y.axis !== "x" && h.y > u.bottom - Qe.defaultMargin;
|
|
9097
9097
|
(z || J) && (t.action = { name: "resize", axes: (z ? "x" : "") + (J ? "y" : "") });
|
|
9098
9098
|
}
|
|
9099
9099
|
return !t.action && void 0;
|
|
9100
9100
|
}
|
|
9101
9101
|
}
|
|
9102
9102
|
} }, defaults: { square: !1, preserveAspectRatio: !1, axis: "xy", margin: NaN, edges: null, invert: "none" }, cursors: null, getCursor: function(t) {
|
|
9103
|
-
var e = t.edges, n = t.axis, l = t.name, u =
|
|
9103
|
+
var e = t.edges, n = t.axis, l = t.name, u = Qe.cursors, d = null;
|
|
9104
9104
|
if (n) d = u[l + n];
|
|
9105
9105
|
else if (e) {
|
|
9106
9106
|
for (var h = "", y = 0, T = ["top", "bottom", "left", "right"]; y < T.length; y++) {
|
|
@@ -9112,9 +9112,9 @@ function Lp() {
|
|
|
9112
9112
|
return d;
|
|
9113
9113
|
}, filterEventType: function(t) {
|
|
9114
9114
|
return t.search("resize") === 0;
|
|
9115
|
-
}, defaultMargin: null }, ht =
|
|
9115
|
+
}, defaultMargin: null }, ht = Qe, xt = { id: "actions", install: function(t) {
|
|
9116
9116
|
t.usePlugin(de), t.usePlugin(ht), t.usePlugin(Me), t.usePlugin(Ge);
|
|
9117
|
-
} }, yt = 0,
|
|
9117
|
+
} }, yt = 0, Ze = { request: function(t) {
|
|
9118
9118
|
return xe(t);
|
|
9119
9119
|
}, cancel: function(t) {
|
|
9120
9120
|
return ot(t);
|
|
@@ -9132,9 +9132,9 @@ function Lp() {
|
|
|
9132
9132
|
return clearTimeout(u);
|
|
9133
9133
|
});
|
|
9134
9134
|
} }, Ee = { defaults: { enabled: !1, margin: 60, container: null, speed: 300 }, now: Date.now, interaction: null, i: 0, x: 0, y: 0, isScrolling: !1, prevTime: 0, margin: 0, speed: 0, start: function(t) {
|
|
9135
|
-
Ee.isScrolling = !0,
|
|
9135
|
+
Ee.isScrolling = !0, Ze.cancel(Ee.i), t.autoScroll = Ee, Ee.interaction = t, Ee.prevTime = Ee.now(), Ee.i = Ze.request(Ee.scroll);
|
|
9136
9136
|
}, stop: function() {
|
|
9137
|
-
Ee.isScrolling = !1, Ee.interaction && (Ee.interaction.autoScroll = null),
|
|
9137
|
+
Ee.isScrolling = !1, Ee.interaction && (Ee.interaction.autoScroll = null), Ze.cancel(Ee.i);
|
|
9138
9138
|
}, scroll: function() {
|
|
9139
9139
|
var t = Ee.interaction, e = t.interactable, n = t.element, l = t.prepared.name, u = e.options[l].autoScroll, d = Ye(u.container, e, n), h = Ee.now(), y = (h - Ee.prevTime) / 1e3, T = u.speed * y;
|
|
9140
9140
|
if (T >= 1) {
|
|
@@ -9147,7 +9147,7 @@ function Lp() {
|
|
|
9147
9147
|
}
|
|
9148
9148
|
Ee.prevTime = h;
|
|
9149
9149
|
}
|
|
9150
|
-
Ee.isScrolling && (
|
|
9150
|
+
Ee.isScrolling && (Ze.cancel(Ee.i), Ee.i = Ze.request(Ee.scroll));
|
|
9151
9151
|
}, check: function(t, e) {
|
|
9152
9152
|
var n;
|
|
9153
9153
|
return (n = t.options[e].autoScroll) == null ? void 0 : n.enabled;
|
|
@@ -9197,7 +9197,7 @@ function Lp() {
|
|
|
9197
9197
|
function Nt(t) {
|
|
9198
9198
|
return A.func(t) ? (this.options.actionChecker = t, this) : t === null ? (delete this.options.actionChecker, this) : this.options.actionChecker;
|
|
9199
9199
|
}
|
|
9200
|
-
var
|
|
9200
|
+
var Zt = { id: "auto-start/interactableMethods", install: function(t) {
|
|
9201
9201
|
var e = t.Interactable;
|
|
9202
9202
|
e.prototype.getAction = function(n, l, u, d) {
|
|
9203
9203
|
var h = function(y, T, j, z, J) {
|
|
@@ -9271,7 +9271,7 @@ function Lp() {
|
|
|
9271
9271
|
}
|
|
9272
9272
|
var Ya = { id: "auto-start/base", before: ["actions"], install: function(t) {
|
|
9273
9273
|
var e = t.interactStatic, n = t.defaults;
|
|
9274
|
-
t.usePlugin(
|
|
9274
|
+
t.usePlugin(Zt), n.base.actionChecker = null, n.base.styleCursor = !0, G(n.perAction, { manualStart: !1, max: 1 / 0, maxPerElement: 1, allowFrom: null, ignoreFrom: null, mouseButtons: 1 }), e.maxInteractions = function(l) {
|
|
9275
9275
|
return Ka(l, t);
|
|
9276
9276
|
}, t.autoStart = { maxInteractions: 1 / 0, withinInteractionLimit: oa, cursorElement: null };
|
|
9277
9277
|
}, listeners: { "interactions:down": function(t, e) {
|
|
@@ -9327,7 +9327,7 @@ function Lp() {
|
|
|
9327
9327
|
var n = t.interactable.options;
|
|
9328
9328
|
return n[e].hold || n[e].delay;
|
|
9329
9329
|
}
|
|
9330
|
-
var
|
|
9330
|
+
var Za = { id: "auto-start/hold", install: function(t) {
|
|
9331
9331
|
var e = t.defaults;
|
|
9332
9332
|
t.usePlugin(Ba), e.perAction.hold = 0, e.perAction.delay = 0;
|
|
9333
9333
|
}, listeners: { "interactions:new": function(t) {
|
|
@@ -9343,8 +9343,8 @@ function Lp() {
|
|
|
9343
9343
|
}, "autoStart:before-start": function(t) {
|
|
9344
9344
|
var e = t.interaction;
|
|
9345
9345
|
$a(e) > 0 && (e.prepared.name = null);
|
|
9346
|
-
} }, getHoldDuration: $a },
|
|
9347
|
-
t.usePlugin(Ba), t.usePlugin(
|
|
9346
|
+
} }, getHoldDuration: $a }, Qa = Za, en = { id: "auto-start", install: function(t) {
|
|
9347
|
+
t.usePlugin(Ba), t.usePlugin(Qa), t.usePlugin(Ja);
|
|
9348
9348
|
} }, tn = function(t) {
|
|
9349
9349
|
return /^(always|never|auto)$/.test(t) ? (this.options.preventDefault = t, this) : A.bool(t) ? (this.options.preventDefault = t ? "always" : "never", this) : this.options.preventDefault;
|
|
9350
9350
|
};
|
|
@@ -9702,7 +9702,7 @@ function Lp() {
|
|
|
9702
9702
|
n.x += u, n.y += d, l.x += u, l.y += d;
|
|
9703
9703
|
}
|
|
9704
9704
|
Na.offsetBy = "";
|
|
9705
|
-
var
|
|
9705
|
+
var Qt = { id: "offset", before: ["modifiers", "pointer-events", "actions", "inertia"], install: function(t) {
|
|
9706
9706
|
t.Interaction.prototype.offsetBy = ui;
|
|
9707
9707
|
}, listeners: { "interactions:new": function(t) {
|
|
9708
9708
|
t.interaction.offset = { total: { x: 0, y: 0 }, pending: { x: 0, y: 0 } };
|
|
@@ -9716,7 +9716,7 @@ function Lp() {
|
|
|
9716
9716
|
}, "interactions:stop": function(t) {
|
|
9717
9717
|
var e = t.interaction;
|
|
9718
9718
|
e.offset.total.x = 0, e.offset.total.y = 0, e.offset.pending.x = 0, e.offset.pending.y = 0;
|
|
9719
|
-
} } }, la =
|
|
9719
|
+
} } }, la = Qt, Ia = function() {
|
|
9720
9720
|
function t(e) {
|
|
9721
9721
|
c(this, t), this.active = !1, this.isModified = !1, this.smoothEnd = !1, this.allowResume = !1, this.modification = void 0, this.modifierCount = 0, this.modifierArg = void 0, this.startCoords = void 0, this.t0 = 0, this.v0 = 0, this.te = 0, this.targetOffset = void 0, this.modifiedOffset = void 0, this.currentOffset = void 0, this.lambda_v0 = 0, this.one_ve_v0 = 0, this.timeout = void 0, this.interaction = void 0, this.interaction = e;
|
|
9722
9722
|
}
|
|
@@ -9744,7 +9744,7 @@ function Lp() {
|
|
|
9744
9744
|
});
|
|
9745
9745
|
} }, { key: "onNextFrame", value: function(e) {
|
|
9746
9746
|
var n = this;
|
|
9747
|
-
this.timeout =
|
|
9747
|
+
this.timeout = Ze.request(function() {
|
|
9748
9748
|
n.active && e();
|
|
9749
9749
|
});
|
|
9750
9750
|
} }, { key: "inertiaTick", value: function() {
|
|
@@ -9771,7 +9771,7 @@ function Lp() {
|
|
|
9771
9771
|
} }, { key: "end", value: function() {
|
|
9772
9772
|
this.interaction.move(), this.interaction.end(), this.stop();
|
|
9773
9773
|
} }, { key: "stop", value: function() {
|
|
9774
|
-
this.active = this.smoothEnd = !1, this.interaction.simulation = null,
|
|
9774
|
+
this.active = this.smoothEnd = !1, this.interaction.simulation = null, Ze.cancel(this.timeout);
|
|
9775
9775
|
} }]), t;
|
|
9776
9776
|
}();
|
|
9777
9777
|
function Dt(t) {
|
|
@@ -10024,7 +10024,7 @@ function Lp() {
|
|
|
10024
10024
|
}
|
|
10025
10025
|
} else {
|
|
10026
10026
|
var Ue = !1;
|
|
10027
|
-
if (!
|
|
10027
|
+
if (!Q.supportsPointerEvent && /mouse/.test(n.type)) {
|
|
10028
10028
|
for (var Je = 0; Je < l.length && !Ue; Je++) Ue = l[Je].pointerType !== "mouse" && l[Je].pointerIsDown;
|
|
10029
10029
|
Ue = Ue || e.now() - e.prevTouchTime < 500 || n.timeStamp === 0;
|
|
10030
10030
|
}
|
|
@@ -10056,7 +10056,7 @@ function Lp() {
|
|
|
10056
10056
|
var l = yn[n];
|
|
10057
10057
|
e[l] = Va(l, t);
|
|
10058
10058
|
}
|
|
10059
|
-
var u, d =
|
|
10059
|
+
var u, d = Q.pEventTypes;
|
|
10060
10060
|
function h() {
|
|
10061
10061
|
for (var y = 0, T = t.interactions.list; y < T.length; y++) {
|
|
10062
10062
|
var j = T[y];
|
|
@@ -10158,7 +10158,7 @@ function Lp() {
|
|
|
10158
10158
|
A.object(n) && !A.array(n) && (u = l, l = null);
|
|
10159
10159
|
var h = me(n, l, d);
|
|
10160
10160
|
for (var y in h) {
|
|
10161
|
-
y === "wheel" && (y =
|
|
10161
|
+
y === "wheel" && (y = Q.wheelEvent);
|
|
10162
10162
|
for (var T = 0, j = h[y]; T < j.length; T++) {
|
|
10163
10163
|
var z = j[T];
|
|
10164
10164
|
an(y, this._actions) ? this.events[e === ba.On ? "on" : "off"](y, z) : A.string(this.target) ? this._scopeEvents[e === ba.On ? "addDelegate" : "removeDelegate"](this.target, this._context, y, z, u) : this._scopeEvents[e === ba.On ? "add" : "remove"](this.target, y, z, u);
|
|
@@ -10213,7 +10213,7 @@ function Lp() {
|
|
|
10213
10213
|
}(), lo = function() {
|
|
10214
10214
|
function t() {
|
|
10215
10215
|
var e = this;
|
|
10216
|
-
c(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser =
|
|
10216
|
+
c(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser = Q, this.defaults = Ma(jt), this.Eventable = Ta, this.actions = { map: {}, phases: { start: !0, move: !0, end: !0 }, methodDict: {}, phaselessTypes: {} }, this.interactStatic = function(l) {
|
|
10217
10217
|
var u = function d(h, y) {
|
|
10218
10218
|
var T = l.interactables.getExisting(h, y);
|
|
10219
10219
|
return T || ((T = l.interactables.new(h, y)).events.global = d.globalEvents), T;
|
|
@@ -10252,9 +10252,9 @@ function Lp() {
|
|
|
10252
10252
|
}, "The interact.off() method is being deprecated"), u.debug = function() {
|
|
10253
10253
|
return this.scope;
|
|
10254
10254
|
}, u.supportsTouch = function() {
|
|
10255
|
-
return
|
|
10255
|
+
return Q.supportsTouch;
|
|
10256
10256
|
}, u.supportsPointerEvent = function() {
|
|
10257
|
-
return
|
|
10257
|
+
return Q.supportsPointerEvent;
|
|
10258
10258
|
}, u.stop = function() {
|
|
10259
10259
|
for (var d = 0, h = this.scope.interactions.list; d < h.length; d++) h[d].stop();
|
|
10260
10260
|
return this;
|
|
@@ -10295,7 +10295,7 @@ function Lp() {
|
|
|
10295
10295
|
}
|
|
10296
10296
|
} }, { key: "init", value: function(e) {
|
|
10297
10297
|
return this.isInitialized ? this : function(n, l) {
|
|
10298
|
-
return n.isInitialized = !0, A.window(l) && w(l), O.init(l),
|
|
10298
|
+
return n.isInitialized = !0, A.window(l) && w(l), O.init(l), Q.init(l), Ze.init(l), n.window = l, n.document = l.document, n.usePlugin(fi), n.usePlugin(ci), n;
|
|
10299
10299
|
}(this, e);
|
|
10300
10300
|
} }, { key: "pluginIsInstalled", value: function(e) {
|
|
10301
10301
|
var n = e.id;
|
|
@@ -10437,7 +10437,7 @@ function Lp() {
|
|
|
10437
10437
|
}, set: function(t) {
|
|
10438
10438
|
var e = t.interaction, n = t.state, l = t.rect, u = t.edges, d = n.options;
|
|
10439
10439
|
if (u) {
|
|
10440
|
-
var h =
|
|
10440
|
+
var h = Z(En(d.min, e, t.coords)) || bo, y = Z(En(d.max, e, t.coords)) || ko;
|
|
10441
10441
|
n.options = { endOnly: d.endOnly, inner: G({}, Xn.noInner), outer: G({}, Xn.noOuter) }, u.top ? (n.options.inner.top = l.bottom - h.height, n.options.outer.top = l.bottom - y.height) : u.bottom && (n.options.inner.bottom = l.top + h.height, n.options.outer.bottom = l.top + y.height), u.left ? (n.options.inner.left = l.right - h.width, n.options.outer.left = l.right - y.width) : u.right && (n.options.inner.right = l.left + h.width, n.options.outer.right = l.left + y.width), Xn.set(t), n.options = d;
|
|
10442
10442
|
}
|
|
10443
10443
|
}, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), ji = { start: function(t) {
|
|
@@ -10647,7 +10647,7 @@ function Lp() {
|
|
|
10647
10647
|
Ue._reflowResolve = st;
|
|
10648
10648
|
}));
|
|
10649
10649
|
else {
|
|
10650
|
-
var Je =
|
|
10650
|
+
var Je = Z(we), ct = /* @__PURE__ */ function(st) {
|
|
10651
10651
|
return { coords: st, get page() {
|
|
10652
10652
|
return this.coords.page;
|
|
10653
10653
|
}, get client() {
|
|
@@ -10787,7 +10787,7 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10787
10787
|
function te(C) {
|
|
10788
10788
|
f.rowHeight = C;
|
|
10789
10789
|
}
|
|
10790
|
-
function
|
|
10790
|
+
function Q(C) {
|
|
10791
10791
|
f.maxRows = C;
|
|
10792
10792
|
}
|
|
10793
10793
|
function ye() {
|
|
@@ -10801,9 +10801,9 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10801
10801
|
}), Mn(() => {
|
|
10802
10802
|
c.responsive && c.lastBreakpoint ? f.cols = qr(c.lastBreakpoint, c.cols) : f.cols = c.colNum, f.rowHeight = c.rowHeight, f.containerWidth = c.width !== null ? c.width : 100, f.margin = c.margin !== void 0 ? c.margin.map(Number) : [10, 10], f.maxRows = c.maxRows, Oa(i.isDraggable) ? f.draggable = c.isDraggable : f.draggable = i.isDraggable, Oa(i.isResizable) ? f.resizable = c.isResizable : f.resizable = i.isResizable, Oa(i.isBounded) ? f.bounded = c.isBounded : f.bounded = i.isBounded, f.transformScale = c.transformScale, f.useCssTransforms = c.useCssTransforms, f.useStyleCursor = c.useStyleCursor, qo(() => {
|
|
10803
10803
|
w = i.x, R = i.y, P = i.h, b = i.w, wa(Ce);
|
|
10804
|
-
}), m.on("updateWidth", Ne), m.on("compact", ut), m.on("setDraggable", Me), m.on("setResizable", Xe), m.on("setBounded", _e), m.on("setTransformScale", O), m.on("setRowHeight", te), m.on("setMaxRows",
|
|
10804
|
+
}), m.on("updateWidth", Ne), m.on("compact", ut), m.on("setDraggable", Me), m.on("setResizable", Xe), m.on("setBounded", _e), m.on("setTransformScale", O), m.on("setRowHeight", te), m.on("setMaxRows", Q), m.on("directionchange", ye), m.on("setColNum", qe);
|
|
10805
10805
|
}), dr(() => {
|
|
10806
|
-
m.off("updateWidth", Ne), m.off("compact", ut), m.off("setDraggable", Me), m.off("setResizable", Xe), m.off("setBounded", _e), m.off("setTransformScale", O), m.off("setRowHeight", te), m.off("setMaxRows",
|
|
10806
|
+
m.off("updateWidth", Ne), m.off("compact", ut), m.off("setDraggable", Me), m.off("setResizable", Xe), m.off("setBounded", _e), m.off("setTransformScale", O), m.off("setRowHeight", te), m.off("setMaxRows", Q), m.off("directionchange", ye), m.off("setColNum", qe), p.value && (p.value.unset(), p.value = null), c.decreaseItem(re);
|
|
10807
10807
|
}), r({ state: f, wrapper: A });
|
|
10808
10808
|
const dt = typeof navigator < "u" ? navigator.userAgent.toLowerCase().includes("android") : !1, $e = Ht(() => f.resizable && !i.static), E = Ht(() => c.isMirrored ? !f.rtl : f.rtl), ze = Ht(() => (f.draggable || f.resizable) && !i.static), ie = Ap("item"), je = Ht(() => ({
|
|
10809
10809
|
[ie.b()]: !0,
|
|
@@ -10924,9 +10924,9 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10924
10924
|
case "dragmove": {
|
|
10925
10925
|
const fe = Ul(I, M, V, U);
|
|
10926
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) {
|
|
10927
|
-
const H = ee.offsetParent.clientHeight -
|
|
10927
|
+
const H = ee.offsetParent.clientHeight - Z(i.h, f.rowHeight, f.margin[1]);
|
|
10928
10928
|
Y.top = ae(Y.top, 0, H);
|
|
10929
|
-
const ve = rt(), N = f.containerWidth -
|
|
10929
|
+
const ve = rt(), N = f.containerWidth - Z(i.w, ve, f.margin[0]);
|
|
10930
10930
|
Y.left = ae(Y.left, 0, N);
|
|
10931
10931
|
}
|
|
10932
10932
|
f.dragging = Y;
|
|
@@ -10970,7 +10970,7 @@ const Vl = /* @__PURE__ */ bs(Fp), nl = /* @__PURE__ */ ya({
|
|
|
10970
10970
|
function rt() {
|
|
10971
10971
|
return (f.containerWidth - f.margin[0] * (f.cols + 1)) / f.cols;
|
|
10972
10972
|
}
|
|
10973
|
-
function
|
|
10973
|
+
function Z(C, B, ne) {
|
|
10974
10974
|
return Number.isFinite(C) ? Math.round(B * C + Math.max(0, C - 1) * ne) : C;
|
|
10975
10975
|
}
|
|
10976
10976
|
function ae(C, B, ne) {
|
|
@@ -11309,7 +11309,7 @@ var On = [], Yp = function() {
|
|
|
11309
11309
|
return On.some(function(a) {
|
|
11310
11310
|
return a.skippedTargets.length > 0;
|
|
11311
11311
|
});
|
|
11312
|
-
}, Xl = "ResizeObserver loop completed with undelivered notifications.",
|
|
11312
|
+
}, Xl = "ResizeObserver loop completed with undelivered notifications.", Zp = function() {
|
|
11313
11313
|
var a;
|
|
11314
11314
|
typeof ErrorEvent == "function" ? a = new ErrorEvent("error", {
|
|
11315
11315
|
message: Xl
|
|
@@ -11320,7 +11320,7 @@ var On = [], Yp = function() {
|
|
|
11320
11320
|
})(ri || (ri = {}));
|
|
11321
11321
|
var zn = function(a) {
|
|
11322
11322
|
return Object.freeze(a);
|
|
11323
|
-
},
|
|
11323
|
+
}, Qp = /* @__PURE__ */ function() {
|
|
11324
11324
|
function a(r, o) {
|
|
11325
11325
|
this.inlineSize = r, this.blockSize = o, zn(this);
|
|
11326
11326
|
}
|
|
@@ -11368,17 +11368,17 @@ var zn = function(a) {
|
|
|
11368
11368
|
}, ni = typeof window < "u" ? window : {}, wi = /* @__PURE__ */ new WeakMap(), Jl = /auto|scroll/, th = /^tb|vertical/, ah = /msie|trident/i.test(ni.navigator && ni.navigator.userAgent), ln = function(a) {
|
|
11369
11369
|
return parseFloat(a || "0");
|
|
11370
11370
|
}, Wn = function(a, r, o) {
|
|
11371
|
-
return a === void 0 && (a = 0), r === void 0 && (r = 0), o === void 0 && (o = !1), new
|
|
11372
|
-
},
|
|
11371
|
+
return a === void 0 && (a = 0), r === void 0 && (r = 0), o === void 0 && (o = !1), new Qp((o ? r : a) || 0, (o ? a : r) || 0);
|
|
11372
|
+
}, Zl = zn({
|
|
11373
11373
|
devicePixelContentBoxSize: Wn(),
|
|
11374
11374
|
borderBoxSize: Wn(),
|
|
11375
11375
|
contentBoxSize: Wn(),
|
|
11376
11376
|
contentRect: new Yr(0, 0, 0, 0)
|
|
11377
|
-
}),
|
|
11377
|
+
}), Zr = function(a, r) {
|
|
11378
11378
|
if (r === void 0 && (r = !1), wi.has(a) && !r)
|
|
11379
11379
|
return wi.get(a);
|
|
11380
11380
|
if (Jr(a))
|
|
11381
|
-
return wi.set(a,
|
|
11381
|
+
return wi.set(a, Zl), Zl;
|
|
11382
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({
|
|
11383
11383
|
devicePixelContentBoxSize: Wn(Math.round(re * devicePixelRatio), Math.round(Ne * devicePixelRatio), c),
|
|
11384
11384
|
borderBoxSize: Wn(ut, Me, c),
|
|
@@ -11386,8 +11386,8 @@ var zn = function(a) {
|
|
|
11386
11386
|
contentRect: new Yr(I, f, re, Ne)
|
|
11387
11387
|
});
|
|
11388
11388
|
return wi.set(a, Xe), Xe;
|
|
11389
|
-
},
|
|
11390
|
-
var i =
|
|
11389
|
+
}, Qr = function(a, r, o) {
|
|
11390
|
+
var i = Zr(a, o), s = i.borderBoxSize, c = i.contentBoxSize, m = i.devicePixelContentBoxSize;
|
|
11391
11391
|
switch (r) {
|
|
11392
11392
|
case ri.DEVICE_PIXEL_CONTENT_BOX:
|
|
11393
11393
|
return m;
|
|
@@ -11398,7 +11398,7 @@ var zn = function(a) {
|
|
|
11398
11398
|
}
|
|
11399
11399
|
}, nh = /* @__PURE__ */ function() {
|
|
11400
11400
|
function a(r) {
|
|
11401
|
-
var o =
|
|
11401
|
+
var o = Zr(r);
|
|
11402
11402
|
this.target = r, this.contentRect = o.contentRect, this.borderBoxSize = zn([o.borderBoxSize]), this.contentBoxSize = zn([o.contentBoxSize]), this.devicePixelContentBoxSize = zn([o.devicePixelContentBoxSize]);
|
|
11403
11403
|
}
|
|
11404
11404
|
return a;
|
|
@@ -11415,7 +11415,7 @@ var zn = function(a) {
|
|
|
11415
11415
|
var m = [];
|
|
11416
11416
|
c.activeTargets.forEach(function(p) {
|
|
11417
11417
|
var f = new nh(p.target), _ = eo(p.target);
|
|
11418
|
-
m.push(f), p.lastReportedSize =
|
|
11418
|
+
m.push(f), p.lastReportedSize = Qr(p.target, p.observedBox), _ < a && (a = _);
|
|
11419
11419
|
}), r.push(function() {
|
|
11420
11420
|
c.callback.call(c.observer, m, c.observer);
|
|
11421
11421
|
}), c.activeTargets.splice(0, c.activeTargets.length);
|
|
@@ -11426,7 +11426,7 @@ var zn = function(a) {
|
|
|
11426
11426
|
s();
|
|
11427
11427
|
}
|
|
11428
11428
|
return a;
|
|
11429
|
-
},
|
|
11429
|
+
}, Ql = function(a) {
|
|
11430
11430
|
On.forEach(function(r) {
|
|
11431
11431
|
r.activeTargets.splice(0, r.activeTargets.length), r.skippedTargets.splice(0, r.skippedTargets.length), r.observationTargets.forEach(function(o) {
|
|
11432
11432
|
o.isActive() && (eo(o.target) > a ? r.activeTargets.push(o) : r.skippedTargets.push(o));
|
|
@@ -11434,9 +11434,9 @@ var zn = function(a) {
|
|
|
11434
11434
|
});
|
|
11435
11435
|
}, lh = function() {
|
|
11436
11436
|
var a = 0;
|
|
11437
|
-
for (
|
|
11438
|
-
a = ih(),
|
|
11439
|
-
return Jp() &&
|
|
11437
|
+
for (Ql(a); Yp(); )
|
|
11438
|
+
a = ih(), Ql(a);
|
|
11439
|
+
return Jp() && Zp(), a > 0;
|
|
11440
11440
|
}, Hi, to = [], rh = function() {
|
|
11441
11441
|
return to.splice(0).forEach(function(a) {
|
|
11442
11442
|
return a();
|
|
@@ -11527,7 +11527,7 @@ var zn = function(a) {
|
|
|
11527
11527
|
};
|
|
11528
11528
|
}
|
|
11529
11529
|
return a.prototype.isActive = function() {
|
|
11530
|
-
var r =
|
|
11530
|
+
var r = Qr(this.target, this.observedBox, !0);
|
|
11531
11531
|
return ph(this.target) && (this.lastReportedSize = r), this.lastReportedSize.inlineSize !== r.inlineSize || this.lastReportedSize.blockSize !== r.blockSize;
|
|
11532
11532
|
}, a;
|
|
11533
11533
|
}(), vh = /* @__PURE__ */ function() {
|
|
@@ -11713,11 +11713,11 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11713
11713
|
}), dr(() => {
|
|
11714
11714
|
I.clearAll(), f.value && S(f.value);
|
|
11715
11715
|
});
|
|
11716
|
-
function M(Me, Xe, _e, O, te,
|
|
11717
|
-
A(Me, Xe, _e, O, te,
|
|
11716
|
+
function M(Me, Xe, _e, O, te, Q) {
|
|
11717
|
+
A(Me, Xe, _e, O, te, Q);
|
|
11718
11718
|
}
|
|
11719
|
-
function $(Me, Xe, _e, O, te,
|
|
11720
|
-
P(Me, Xe, _e, O, te,
|
|
11719
|
+
function $(Me, Xe, _e, O, te, Q) {
|
|
11720
|
+
P(Me, Xe, _e, O, te, Q);
|
|
11721
11721
|
}
|
|
11722
11722
|
mt(
|
|
11723
11723
|
() => c.width,
|
|
@@ -11821,7 +11821,7 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11821
11821
|
return xp(p.value) * (i.rowHeight + Me) + Me + "px";
|
|
11822
11822
|
}
|
|
11823
11823
|
let b;
|
|
11824
|
-
function P(Me, Xe, _e, O, te,
|
|
11824
|
+
function P(Me, Xe, _e, O, te, Q) {
|
|
11825
11825
|
let ye = Fl(p.value, Xe);
|
|
11826
11826
|
Oa(ye) && (ye = { h: 0, w: 0, x: 0, y: 0, i: "" }), Me === "dragstart" && !i.verticalCompact && (b = p.value.reduce(
|
|
11827
11827
|
(qe, { i: dt, x: $e, y: E }) => ({
|
|
@@ -11829,18 +11829,18 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11829
11829
|
[dt]: { x: $e, y: E }
|
|
11830
11830
|
}),
|
|
11831
11831
|
{}
|
|
11832
|
-
)), Me === "dragmove" || Me === "dragstart" ? (c.placeholder.i = Xe, c.placeholder.x = ye.x, c.placeholder.y = ye.y, c.placeholder.w =
|
|
11832
|
+
)), Me === "dragmove" || Me === "dragstart" ? (c.placeholder.i = Xe, c.placeholder.x = ye.x, c.placeholder.y = ye.y, c.placeholder.w = Q, c.placeholder.h = te, Ga(() => {
|
|
11833
11833
|
c.isDragging = !0;
|
|
11834
11834
|
}), I.emit("updateWidth", c.width)) : Ga(() => {
|
|
11835
11835
|
c.isDragging = !1;
|
|
11836
11836
|
}), p.value = al(p.value, ye, _e, O, !0, i.preventCollision), i.restoreOnDrag ? (ye.static = !0, Un(p.value, i.verticalCompact, b), ye.static = !1) : Un(p.value, i.verticalCompact), I.emit("compact"), oe(), Me === "dragend" && (b = void 0, s("layout-updated", p.value));
|
|
11837
11837
|
}
|
|
11838
|
-
function A(Me, Xe, _e, O, te,
|
|
11838
|
+
function A(Me, Xe, _e, O, te, Q) {
|
|
11839
11839
|
let ye = Fl(p.value, Xe);
|
|
11840
11840
|
Oa(ye) && (ye = { h: 0, w: 0, x: 0, y: 0, i: "" });
|
|
11841
11841
|
let qe;
|
|
11842
11842
|
if (i.preventCollision) {
|
|
11843
|
-
const dt = Wr(p.value, { ...ye, w:
|
|
11843
|
+
const dt = Wr(p.value, { ...ye, w: Q, h: te }).filter(
|
|
11844
11844
|
($e) => $e.i !== ye.i
|
|
11845
11845
|
);
|
|
11846
11846
|
if (qe = dt.length > 0, qe) {
|
|
@@ -11850,7 +11850,7 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11850
11850
|
}), Number.isFinite($e) && (ye.w = $e - ye.x), Number.isFinite(E) && (ye.h = E - ye.y);
|
|
11851
11851
|
}
|
|
11852
11852
|
}
|
|
11853
|
-
qe || (ye.w =
|
|
11853
|
+
qe || (ye.w = Q, ye.h = te), Me === "resizestart" || Me === "resizemove" ? (c.placeholder.i = Xe, c.placeholder.x = _e, c.placeholder.y = O, c.placeholder.w = ye.w, c.placeholder.h = ye.h, Ga(() => {
|
|
11854
11854
|
c.isDragging = !0;
|
|
11855
11855
|
}), I.emit("updateWidth", c.width)) : Me && Ga(() => {
|
|
11856
11856
|
c.isDragging = !1;
|
|
@@ -11877,8 +11877,8 @@ const kh = /* @__PURE__ */ ya({
|
|
|
11877
11877
|
c.layouts = Object.assign({}, i.responsiveLayouts);
|
|
11878
11878
|
}
|
|
11879
11879
|
function ut(Me, Xe) {
|
|
11880
|
-
const _e = new Set(Xe.map((ye) => ye.i)), O = new Set(Me.map((ye) => ye.i)), te = Me.filter((ye) => !_e.has(ye.i)),
|
|
11881
|
-
return te.concat(
|
|
11880
|
+
const _e = new Set(Xe.map((ye) => ye.i)), O = new Set(Me.map((ye) => ye.i)), te = Me.filter((ye) => !_e.has(ye.i)), Q = Xe.filter((ye) => !O.has(ye.i));
|
|
11881
|
+
return te.concat(Q);
|
|
11882
11882
|
}
|
|
11883
11883
|
return (Me, Xe) => (Oe(), tt("div", {
|
|
11884
11884
|
ref_key: "wrapper",
|
|
@@ -12117,7 +12117,7 @@ export {
|
|
|
12117
12117
|
nv as C,
|
|
12118
12118
|
kh as D,
|
|
12119
12119
|
iv as E,
|
|
12120
|
-
|
|
12120
|
+
Qn as F,
|
|
12121
12121
|
lv as G,
|
|
12122
12122
|
np as H,
|
|
12123
12123
|
Jc as I,
|
|
@@ -12142,15 +12142,15 @@ export {
|
|
|
12142
12142
|
Yh as e,
|
|
12143
12143
|
Jh as f,
|
|
12144
12144
|
si as g,
|
|
12145
|
-
|
|
12145
|
+
Zh as h,
|
|
12146
12146
|
Xh as i,
|
|
12147
12147
|
av as j,
|
|
12148
12148
|
ev as k,
|
|
12149
12149
|
Rr as l,
|
|
12150
12150
|
tv as m,
|
|
12151
|
-
|
|
12151
|
+
Qh as n,
|
|
12152
12152
|
zr as o,
|
|
12153
|
-
|
|
12153
|
+
Qi as p,
|
|
12154
12154
|
tp as q,
|
|
12155
12155
|
Wf as r,
|
|
12156
12156
|
zt as s,
|