ss-component-new 1.2.165 → 1.2.166
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-DqSL2MhN.cjs → MTLLoader-DLHG9vWs.cjs} +1 -1
- package/dist/{MTLLoader-CZI-laNK.js → MTLLoader-DiZPxyri.js} +1 -1
- package/dist/{OrbitControls-suq0N_mu.cjs → OrbitControls-BQ2FPaVt.cjs} +1 -1
- package/dist/{OrbitControls-BGIh288-.js → OrbitControls-DTxAZ5uy.js} +1 -1
- package/dist/{animationData-bLISc5AB.cjs → animationData-By-roVYO.cjs} +1 -1
- package/dist/{animationData-DPk8z-Qc.js → animationData-G8UlGfAg.js} +2 -2
- package/dist/{array-DXu383Fa.cjs → array-DSI0zoeK.cjs} +1 -1
- package/dist/{array-B9gWNnej.js → array-hVSP5aMP.js} +1 -1
- package/dist/{dataUtil-Brpg9CSN.cjs → dataUtil-CqQ6nLIT.cjs} +1 -1
- package/dist/{dataUtil-DcGEuoWS.js → dataUtil-Db9ZcUfi.js} +1 -1
- package/dist/{iconfont-C-jLDDui.js → iconfont-DDhe-BUl.js} +2 -2
- package/dist/{iconfont-CpbN39ZP.cjs → iconfont-ZL_6BkHR.cjs} +1 -1
- package/dist/{index-Djli8zb_.cjs → index-0tBTYGKK.cjs} +1 -1
- package/dist/{index-X7rj3Bau.cjs → index-B08WJoPH.cjs} +1 -1
- package/dist/{index-D6ZtjYlX.cjs → index-B6VnMtMB.cjs} +1 -1
- package/dist/{index-BJ6RWIyr.cjs → index-BAHt3Bu3.cjs} +1 -1
- package/dist/{index-e3-jEBsv.js → index-BB2L3FNC.js} +2 -2
- package/dist/{index-BbxeIFLk.cjs → index-BGINM1ks.cjs} +1 -1
- package/dist/{index-Ojz4i3x-.js → index-BKuG3c9f.js} +5 -5
- package/dist/{index-CcAVElxY.js → index-BMonRqrI.js} +877 -877
- package/dist/{index-D2Wj4a2B.cjs → index-BR9EBw7N.cjs} +1 -1
- package/dist/{index-DHMUS6aq.cjs → index-BSUi85HP.cjs} +1 -1
- package/dist/{index-AUfoE1wx.cjs → index-BT26HF4q.cjs} +1 -1
- package/dist/{index-CiG2rXe1.cjs → index-BWrJa_TO.cjs} +1 -1
- package/dist/{index-B0iWiP90.cjs → index-BZ7X6w42.cjs} +1 -1
- package/dist/{index-OZj8RHsD.js → index-BaWTomAx.js} +2 -2
- package/dist/{index-DMB7b-Hz.js → index-BbdN9UIl.js} +1 -1
- package/dist/{index-C3iKpqMM.js → index-BdBdQUua.js} +3 -3
- package/dist/{index-BPdtmXp7.js → index-BkV1vzN4.js} +5 -5
- package/dist/{index-CGRTa_BX.js → index-Bp2u-xw_.js} +3 -3
- package/dist/{index-D9GdiI96.js → index-BpQQAZir.js} +5 -5
- package/dist/{index-Dv9gqpfs.js → index-CF7x5YCK.js} +5 -5
- package/dist/{index-BRkEjdIb.cjs → index-CHqr5wBd.cjs} +1 -1
- package/dist/{index-mDbSepFg.cjs → index-CKa59k9C.cjs} +1 -1
- package/dist/{index-CGm-MNi_.js → index-COGhA0Yf.js} +7 -7
- package/dist/{index-BRJMluce.cjs → index-CP9bLJ_L.cjs} +1 -1
- package/dist/{index-CQx1Np10.js → index-CT4RgoX4.js} +1 -1
- package/dist/{index-BPxDakwE.cjs → index-CThVsYAd.cjs} +1 -1
- package/dist/{index-BFMKEtGJ.js → index-CWpLpifR.js} +1 -1
- package/dist/{index-CqMsb2pW.cjs → index-CebVyoCl.cjs} +1 -1
- package/dist/{index-CR1PuEcf.js → index-CfWyd_l0.js} +1 -1
- package/dist/{index-Bfve7oz4.js → index-CfwKwZ3G.js} +2 -2
- package/dist/{index-173y0My_.js → index-Cm0SRhxt.js} +2 -2
- package/dist/{index-CSUfNuHC.cjs → index-Cnv7Inld.cjs} +1 -1
- package/dist/{index-BQQne5Jf.js → index-D4jdGfpn.js} +2 -2
- package/dist/{index-C_U3JqBH.cjs → index-D4mR-sHJ.cjs} +1 -1
- package/dist/{index-UxbTehx5.cjs → index-DAqoWq8u.cjs} +1 -1
- package/dist/{index-B3USisdg.js → index-DBkloVus.js} +19 -19
- package/dist/{index-DWozj8SO.cjs → index-DFa4xUcC.cjs} +1 -1
- package/dist/{index-Dr9Egq23.js → index-DOaO7KkQ.js} +1 -1
- package/dist/{index-DW4LUPva.cjs → index-DX7zT2RF.cjs} +1 -1
- package/dist/{index-t_moO5vN.cjs → index-DXjFAdeI.cjs} +1 -1
- package/dist/{index-B1zHaED0.js → index-D_JEtscY.js} +2 -2
- package/dist/{index-CnKMnhNZ.cjs → index-Dbih6a0y.cjs} +1 -1
- package/dist/{index-DzBBqrxe.js → index-Dc6Zn98q.js} +2 -2
- package/dist/{index-AYV5pgUp.cjs → index-DkMX2HkQ.cjs} +1 -1
- package/dist/{index-CzZ3NFp5.cjs → index-ED7a0ufp.cjs} +1 -1
- package/dist/{index-gcMT9ql0.js → index-EVRwHh-Y.js} +4 -4
- package/dist/{index-BxneVVKn.cjs → index-Fev7kp4Q.cjs} +1 -1
- package/dist/{index-EqgbW679.js → index-GR-D5xOi.js} +1 -1
- package/dist/{index-CIoVLl8r.js → index-RhBv3eG3.js} +1 -1
- package/dist/{index-u963fvJq.js → index-Y5EIVsCv.js} +1 -1
- package/dist/{index-ft2Sbu_F.cjs → index-c9mgIgXD.cjs} +1 -1
- package/dist/index-dbCK5n4i.cjs +1 -0
- package/dist/{index-BZvDnQdj.js → index-s3nl8JNm.js} +1 -1
- package/dist/{index-B2Fw6gYI.js → index-wBztarM7.js} +2 -2
- package/dist/{index-CwKRxn4d.cjs → index-wJjLPgsT.cjs} +1 -1
- package/dist/{index-B8ZpZmFH.js → index-zfbKyJsL.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0w_WkXKi.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BAxvHILQ.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Z4PcDNHn.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-fAgP2ETK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrO2CG13.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cb5M-Cn4.js} +1648 -1643
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-v_tZRKeY.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaF8XJ8v.cjs} +59 -59
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BojpP-bI.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BiC2ra_Y.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D5yZqgZw.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DM1wMSXt.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-V6_Ex77u.cjs → index.vue_vue_type_style_index_1_lang-CIkXLXnr.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-_MRLV2pU.cjs → index.vue_vue_type_style_index_1_lang-CeCV2qWI.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-wEVof7j-.js → index.vue_vue_type_style_index_1_lang-CpFhVt0X.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-DCNwSjkL.js → index.vue_vue_type_style_index_1_lang-DojDVre8.js} +1 -1
- package/dist/{main-DoNgEyOK.cjs → main-BvPseoz-.cjs} +1 -1
- package/dist/{main-CcTySLlm.js → main-Bz9fB17S.js} +4 -4
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{pointTrack-Dcp686Ea.cjs → pointTrack-CPO9-bf6.cjs} +1 -1
- package/dist/{pointTrack-CpqyoYjd.js → pointTrack-D9n7TSzE.js} +1 -1
- package/dist/{robotUtil-D79UKi8S.js → robotUtil-BFjMJVdz.js} +1 -1
- package/dist/{robotUtil-tvll1beF.cjs → robotUtil-NrP32vJA.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-DOPXXUCN.js → threeModel-B75qxvTb.js} +5 -5
- package/dist/{threeModel-CxCbnx-G.cjs → threeModel-CkP5M3fH.cjs} +1 -1
- package/dist/{threePreview-CvFFnufL.js → threePreview-BhigaS7l.js} +3 -3
- package/dist/{threePreview-Bu9WzFI1.cjs → threePreview-Ns7H_etR.cjs} +1 -1
- package/dist/{threeSceneView-pqmQCs1f.cjs → threeSceneView-CxVzPghK.cjs} +1 -1
- package/dist/{threeSceneView-BxY31hG2.js → threeSceneView-gGu_Tiet.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-zbXTglaB.js → threeSceneViewForCPMPIP-ByeK_Nsi.js} +10 -10
- package/dist/{threeSceneViewForCPMPIP-BdIt67iR.cjs → threeSceneViewForCPMPIP-CNvLUDoy.cjs} +1 -1
- package/dist/{threeTrackPathView-OwpZN5Yj.js → threeTrackPathView-BkvgX6iD.js} +5 -5
- package/dist/{threeTrackPathView-BTCabEa-.cjs → threeTrackPathView-eDXMz43B.cjs} +1 -1
- package/dist/{threeViewerHost-Dv-zRfI9.js → threeViewerHost-CNIsWoK3.js} +3 -3
- package/dist/{threeViewerHost-CQAQgsH3.cjs → threeViewerHost-MWedRVF2.cjs} +2 -2
- package/dist/{urdfTree-CUgm69Ah.js → urdfTree-CjCnTExe.js} +1 -1
- package/dist/{urdfTree-jtHwasZ-.cjs → urdfTree-NsMmy6lF.cjs} +1 -1
- package/dist/{workpieceTreePanel-CpYo8N4J.js → workpieceTreePanel-C7_41Iqz.js} +5 -5
- package/dist/{workpieceTreePanel-CGCTSCMV.cjs → workpieceTreePanel-MOJxvcHc.cjs} +1 -1
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BdD3L97f.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Uo } from "./index-
|
|
2
|
-
import { computed as qt, ref as fe, watch as kt, onUnmounted as Ko, resolveComponent as Ft, createElementBlock as Qe, openBlock as Ae, createVNode as De, createBlock as
|
|
3
|
-
import { cc as Zo, k as ei, cd as Qo, bS as es, bT as ts, s as Yt, p as Gt, u as
|
|
4
|
-
import { u as ns, c as ca, a as rl, e as hr, E as vr, f as gr, d as is, b as ls, i as yi } from "./index-
|
|
5
|
-
import { a as In, u as Ln, i as
|
|
6
|
-
import { s as
|
|
7
|
-
import { a as gs, T as ys } from "./threeViewerHost-
|
|
8
|
-
import { aF as ms, aG as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
import { b as Mo, a as Ro, f as Lo, g as Fo, u as jo, s as Uo } from "./index-COGhA0Yf.js";
|
|
2
|
+
import { computed as qt, ref as fe, watch as kt, onUnmounted as Ko, resolveComponent as Ft, createElementBlock as Qe, openBlock as Ae, createVNode as De, createBlock as zt, createCommentVNode as fa, withCtx as Re, createElementVNode as ue, Fragment as Nt, renderList as Jt, toDisplayString as vt, nextTick as Xa, createTextVNode as Tt, defineComponent as ka, resolveDynamicComponent as sn, onMounted as Tn, unref as Rt, reactive as ja, renderSlot as wn, createSlots as No, mergeProps as cr, normalizeStyle as Sn, withModifiers as Pn, getCurrentInstance as Wo, inject as ml, shallowRef as Vo, toRef as Ho, onBeforeMount as dr, watchEffect as qo, onBeforeUnmount as fr, normalizeClass as bl, getCurrentScope as Go, onScopeDispose as Xo, provide as kl, toRefs as xl, withDirectives as Yo, vShow as Jo } from "vue";
|
|
3
|
+
import { cc as Zo, k as ei, cd as Qo, bS as es, bT as ts, s as Yt, p as Gt, u as Mi, c as v, b as Ai, E as Ut, g as ya, f as Xi, bK as En, bI as Rn, d as un, bJ as Yi, e as pr, cb as as } from "./index-BUYYl2Pc.js";
|
|
4
|
+
import { u as ns, c as ca, a as rl, e as hr, E as vr, f as gr, d as is, b as ls, i as yi } from "./index-BkV1vzN4.js";
|
|
5
|
+
import { a as In, u as Ln, i as Ri, ax as rs, ay as yr, an as Ji, az as Oi, aA as Zi, j as aa, aB as ol, E as Ya, aC as Qi, aD as ga, aE as $n, aF as an, aG as xn, 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-DojDVre8.js";
|
|
6
|
+
import { s as va, _ as wl } from "./index-Y5EIVsCv.js";
|
|
7
|
+
import { a as gs, T as ys } from "./threeViewerHost-CNIsWoK3.js";
|
|
8
|
+
import { aF as ms, aG as mi, g as bs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cb5M-Cn4.js";
|
|
9
9
|
import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as _l } from "./isString-BATKat46.js";
|
|
11
|
-
import { a as ks, s as xs } from "./index-
|
|
11
|
+
import { a as ks, s as xs } from "./index-BdBdQUua.js";
|
|
12
12
|
import mr from "./index-rlStojTL.js";
|
|
13
|
-
import { s as ws } from "./index-
|
|
13
|
+
import { s as ws } from "./index-s3nl8JNm.js";
|
|
14
14
|
var _s = /\s/;
|
|
15
15
|
function Cs(a) {
|
|
16
16
|
for (var r = a.length; r-- && _s.test(a.charAt(r)); )
|
|
@@ -37,7 +37,7 @@ function Sl(a) {
|
|
|
37
37
|
var o = Ts.test(a);
|
|
38
38
|
return o || Is.test(a) ? As(a.slice(2), o ? 2 : 8) : Ds.test(a) ? Cl : +a;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var Wi = function() {
|
|
41
41
|
return Qo.Date.now();
|
|
42
42
|
}, Os = "Expected a function", zs = Math.max, Ps = Math.min;
|
|
43
43
|
function br(a, r, o) {
|
|
@@ -61,7 +61,7 @@ function br(a, r, o) {
|
|
|
61
61
|
return f === void 0 || I >= r || I < 0 || T && ce >= c;
|
|
62
62
|
}
|
|
63
63
|
function U() {
|
|
64
|
-
var z =
|
|
64
|
+
var z = Wi();
|
|
65
65
|
if (G(z))
|
|
66
66
|
return de(z);
|
|
67
67
|
p = setTimeout(U, Ee(z));
|
|
@@ -73,10 +73,10 @@ function br(a, r, o) {
|
|
|
73
73
|
p !== void 0 && clearTimeout(p), _ = 0, i = f = s = p = void 0;
|
|
74
74
|
}
|
|
75
75
|
function M() {
|
|
76
|
-
return p === void 0 ? m : de(
|
|
76
|
+
return p === void 0 ? m : de(Wi());
|
|
77
77
|
}
|
|
78
78
|
function b() {
|
|
79
|
-
var z =
|
|
79
|
+
var z = Wi(), I = G(z);
|
|
80
80
|
if (i = arguments, s = this, f = z, I) {
|
|
81
81
|
if (p === void 0)
|
|
82
82
|
return W(f);
|
|
@@ -133,7 +133,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
133
133
|
});
|
|
134
134
|
const s = r, c = fe([]), m = fe(!1), p = fe(!1), f = fe([]);
|
|
135
135
|
gs();
|
|
136
|
-
const _ = fe(), S = fe(!1), T = fe(!1), $ = fe([]), B = fe(), W = fe(!1), Ee = fe([]), G = Mo(Gt), U = Ro(Gt), de = fe(!1), w = fe(), M =
|
|
136
|
+
const _ = fe(), S = fe(!1), T = fe(!1), $ = fe([]), B = fe(), W = fe(!1), Ee = fe([]), G = Mo(Gt), U = Ro(Gt), de = fe(!1), w = fe(), M = Mi(Gt), { loginUserInfo: b } = Yt(M), z = fe(), I = fe(!0), ce = In(Gt), { tableViewContents: Ue, itemData: st, isEdit: $e, routeToChildPath: Ge, lockingPage: Ce } = Yt(ce), A = fe(null), ie = fe(!1), ae = fe(!1), be = Ln(), { activeMenuPath: qe } = Yt(be), ct = Ri(Gt), { originalPath: Be } = Yt(ct), E = fe([]), Oe = fe([
|
|
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
|
]), se = async (g) => {
|
|
148
|
-
|
|
148
|
+
ae.value = g, await at("disabled", null, g, !0);
|
|
149
149
|
}, Le = async (g) => {
|
|
150
150
|
await at("operable", null, g, !0);
|
|
151
151
|
};
|
|
@@ -175,13 +175,13 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
175
175
|
}, dt = async (g) => {
|
|
176
176
|
var L, C, P, oe, V, K;
|
|
177
177
|
if (g === "") {
|
|
178
|
-
let
|
|
178
|
+
let ne = "";
|
|
179
179
|
(L = c.value) == null || L.forEach((H) => {
|
|
180
|
-
H != null && H.isMain && (
|
|
180
|
+
H != null && H.isMain && (ne = H == null ? void 0 : H.value);
|
|
181
181
|
});
|
|
182
|
-
let Z = await
|
|
183
|
-
|
|
184
|
-
let he = await
|
|
182
|
+
let Z = await aa(Ge.value, sessionStorage.getItem("systemKey"), "");
|
|
183
|
+
ne = ((K = (V = (oe = (P = (C = Z == null ? void 0 : Z[0]) == null ? void 0 : C.compData) == null ? void 0 : P.find((H) => (H == null ? void 0 : H.key) === "mainRouters")) == null ? void 0 : oe.contents) == null ? void 0 : V[0]) == null ? void 0 : K.routerContent) + Be.value + ne;
|
|
184
|
+
let he = await aa(ne, sessionStorage.getItem("systemKey"), "");
|
|
185
185
|
W.value = !0, Ee.value = he == null ? void 0 : he.filter((H) => (H == null ? void 0 : H.comp) !== "methodButton"), s("routeUrl", Ee.value);
|
|
186
186
|
}
|
|
187
187
|
}, X = () => {
|
|
@@ -199,14 +199,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
}, at = async (g, L, C, P = !1) => {
|
|
202
|
-
var oe, V, K,
|
|
202
|
+
var oe, V, K, ne, Z, pe, he, H;
|
|
203
203
|
try {
|
|
204
204
|
ce.setRefreshCurStructure(!1);
|
|
205
|
-
const ye = await
|
|
205
|
+
const ye = await ya({
|
|
206
206
|
id: i == null ? void 0 : i.index
|
|
207
207
|
});
|
|
208
208
|
if (((oe = ye == null ? void 0 : ye.data) == null ? void 0 : oe.code) === 200) {
|
|
209
|
-
let N = (Z = (
|
|
209
|
+
let N = (Z = (ne = (K = (V = ye == null ? void 0 : ye.data) == null ? void 0 : V.result) == null ? void 0 : K[0]) == null ? void 0 : ne.value) == null ? void 0 : Z.pageData;
|
|
210
210
|
P ? N = {
|
|
211
211
|
...N,
|
|
212
212
|
compData: (he = N == null ? void 0 : N.compData) == null ? void 0 : he.map((Ie) => {
|
|
@@ -232,7 +232,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
232
232
|
} : Ie;
|
|
233
233
|
})
|
|
234
234
|
};
|
|
235
|
-
const Me = await
|
|
235
|
+
const Me = await Xi({
|
|
236
236
|
id: i == null ? void 0 : i.index,
|
|
237
237
|
value: {
|
|
238
238
|
pageData: N
|
|
@@ -247,12 +247,12 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
247
247
|
await at("label", L, g);
|
|
248
248
|
}, it = async (g, L) => {
|
|
249
249
|
g && await at("type", L, g);
|
|
250
|
-
},
|
|
250
|
+
}, te = async (g, L, C) => {
|
|
251
251
|
await at(L, C, g, !1);
|
|
252
|
-
},
|
|
252
|
+
}, le = (g, L) => {
|
|
253
253
|
z.value === L ? I.value = !1 : I.value = !0, z.value = L == null ? void 0 : L.changeProp;
|
|
254
254
|
}, Te = async (g) => {
|
|
255
|
-
var C, P, oe, V, K,
|
|
255
|
+
var C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me, Ie, me;
|
|
256
256
|
let L = [];
|
|
257
257
|
if ((C = g == null ? void 0 : g.toString()) != null && C.includes(".urdf")) {
|
|
258
258
|
if (g.includes(",")) {
|
|
@@ -263,7 +263,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
263
263
|
return;
|
|
264
264
|
}
|
|
265
265
|
if ((P = g == null ? void 0 : g.toString()) != null && P.includes(".stl") || (oe = g == null ? void 0 : g.toString()) != null && oe.includes(".STL") || (V = g == null ? void 0 : g.toString()) != null && V.includes(".obj") || (K = g == null ? void 0 : g.toString()) != null && K.includes(".mtl")) {
|
|
266
|
-
f.value = (
|
|
266
|
+
f.value = (ne = g == null ? void 0 : g.toString()) == null ? void 0 : ne.split(","), p.value = !1, m.value = !0;
|
|
267
267
|
return;
|
|
268
268
|
}
|
|
269
269
|
if ((Z = g == null ? void 0 : g.toString()) != null && Z.includes(".stl") || (pe = g == null ? void 0 : g.toString()) != null && pe.includes(".STL") || (he = g == null ? void 0 : g.toString()) != null && he.includes(".obj") || (H = g == null ? void 0 : g.toString()) != null && H.includes(".mtl")) {
|
|
@@ -290,7 +290,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
290
290
|
lock: !0,
|
|
291
291
|
text: "Loading",
|
|
292
292
|
background: "rgba(0, 0, 0, 0.7)"
|
|
293
|
-
}), ve = await
|
|
293
|
+
}), ve = await Ai.get(g, {
|
|
294
294
|
responseType: "blob",
|
|
295
295
|
headers: {
|
|
296
296
|
"Content-Type": "application/json"
|
|
@@ -313,10 +313,10 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
313
313
|
}, ke = () => {
|
|
314
314
|
T.value = !1;
|
|
315
315
|
}, et = (g) => {
|
|
316
|
-
var V, K,
|
|
316
|
+
var V, K, ne, Z;
|
|
317
317
|
const L = (K = (V = v(i.itemData)) == null ? void 0 : V.find((pe) => (pe == null ? void 0 : pe.key) === "formContent")) == null ? void 0 : K.contents, C = v(g.content);
|
|
318
318
|
let P = {};
|
|
319
|
-
C && ((
|
|
319
|
+
C && ((ne = Object.values(C)) == null ? void 0 : ne.length) > 0 && ((Z = Object.values(C)) == null || Z.forEach((pe, he) => {
|
|
320
320
|
P[L[he].key] = pe;
|
|
321
321
|
}));
|
|
322
322
|
const oe = {
|
|
@@ -333,17 +333,17 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
333
333
|
(L == null ? void 0 : L.length) > 0 && (L = L == null ? void 0 : L.map((J) => {
|
|
334
334
|
var ee, Ne, rt, Fe;
|
|
335
335
|
let ge = (ee = J == null ? void 0 : J.key) == null ? void 0 : ee.split("/");
|
|
336
|
-
return (i == null ? void 0 : i.compName) === (ge == null ? void 0 : ge[0]) && (Ne = c.value) != null && Ne.find((
|
|
336
|
+
return (i == null ? void 0 : i.compName) === (ge == null ? void 0 : ge[0]) && (Ne = c.value) != null && Ne.find((re) => (re == null ? void 0 : re.prop) === (ge == null ? void 0 : ge[1])) && (J.value = (Fe = (rt = c.value) == null ? void 0 : rt.find((re) => (re == null ? void 0 : re.prop) === (ge == null ? void 0 : ge[1]))) == null ? void 0 : Fe.value), J;
|
|
337
337
|
}), ce.setTableViewContents(L));
|
|
338
338
|
const C = v(i.itemData);
|
|
339
339
|
let P = C == null ? void 0 : C.map((J) => {
|
|
340
340
|
var ge;
|
|
341
341
|
return (J == null ? void 0 : J.key) === "formContent" && ((ge = J.contents) == null || ge.map((ee, Ne) => {
|
|
342
|
-
var rt, Fe,
|
|
343
|
-
return ee.type = (Fe = (rt = c.value) == null ? void 0 : rt.find((
|
|
344
|
-
label:
|
|
345
|
-
value:
|
|
346
|
-
})) : [], (Xe = ee == null ? void 0 : ee.key) != null && Xe.includes("$") && (ee.key = (xt = (lt = ee == null ? void 0 : ee.key) == null ? void 0 : lt.split("$")) == null ? void 0 : xt[0]), ee.signature = (
|
|
342
|
+
var rt, Fe, re, We, ht, _t, mt, ft, ze, Xe, lt, xt, Et, gt, Ct, Bt, Wt, Ht, jt;
|
|
343
|
+
return ee.type = (Fe = (rt = c.value) == null ? void 0 : rt.find((Ot) => (Ot == null ? void 0 : Ot.prop) === (ee == null ? void 0 : ee.prop))) == null ? void 0 : Fe.type, ee.options = ee != null && ee.options ? ee.options : ((ht = (We = (re = ee == null ? void 0 : ee.key) == null ? void 0 : re.split("$")) == null ? void 0 : We[1]) == null ? void 0 : ht.length) > 0 ? (ze = (ft = Lo((mt = (_t = ee == null ? void 0 : ee.key) == null ? void 0 : _t.split("$")) == null ? void 0 : mt[1])) == null ? void 0 : ft.split(",")) == null ? void 0 : ze.map((Ot) => ({
|
|
344
|
+
label: Ot,
|
|
345
|
+
value: Ot
|
|
346
|
+
})) : [], (Xe = ee == null ? void 0 : ee.key) != null && Xe.includes("$") && (ee.key = (xt = (lt = ee == null ? void 0 : ee.key) == null ? void 0 : lt.split("$")) == null ? void 0 : xt[0]), ee.signature = (gt = (Et = c.value) == null ? void 0 : Et.find((Ot) => (Ot == null ? void 0 : Ot.prop) === (ee == null ? void 0 : ee.prop))) == null ? void 0 : gt.signature, ee.isLoginUser = (Bt = (Ct = c.value) == null ? void 0 : Ct.find((Ot) => (Ot == null ? void 0 : Ot.prop) === (ee == null ? void 0 : ee.prop))) == null ? void 0 : Bt.isLoginUser, ee.value = (Wt = Object.values(g)) == null ? void 0 : Wt[Ne], ee.isFormColHidden = (jt = (Ht = c.value) == null ? void 0 : Ht.find((Ot) => (Ot == null ? void 0 : Ot.prop) === (ee == null ? void 0 : ee.prop))) == null ? void 0 : jt.isFormColHidden, ee;
|
|
347
347
|
})), J;
|
|
348
348
|
}), oe = c.value, V = (Ie = (Me = v(P)) == null ? void 0 : Me.find((J) => (J == null ? void 0 : J.key) === "formContent")) == null ? void 0 : Ie.contents;
|
|
349
349
|
if (oe = oe == null ? void 0 : oe.map((J) => {
|
|
@@ -356,38 +356,38 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
356
356
|
});
|
|
357
357
|
return;
|
|
358
358
|
}
|
|
359
|
-
let K = "",
|
|
359
|
+
let K = "", ne = (ve = (R = (me = v(P)) == null ? void 0 : me.find((J) => (J == null ? void 0 : J.key) === "formContent")) == null ? void 0 : R.contents) == null ? void 0 : ve.find((J, ge) => {
|
|
360
360
|
var ee, Ne, rt;
|
|
361
361
|
return (J == null ? void 0 : J.label) === z.value || ge.toString() === ((rt = (Ne = (ee = z.value) == null ? void 0 : ee.split("t")) == null ? void 0 : Ne[1]) == null ? void 0 : rt.toString());
|
|
362
|
-
}), Z = (Y =
|
|
362
|
+
}), Z = (Y = ne == null ? void 0 : ne.optionUrl) == null ? void 0 : Y.menuSelect, pe = !0;
|
|
363
363
|
if ((Ye = (F = (q = v(P)) == null ? void 0 : q.find((J) => (J == null ? void 0 : J.key) === "formContent")) == null ? void 0 : F.contents) == null || Ye.forEach((J) => {
|
|
364
|
-
var ge, ee, Ne, rt, Fe,
|
|
365
|
-
pe && ((Ne = (ee = (ge = J == null ? void 0 : J.optionUrl) == null ? void 0 : ge.groupSelect) == null ? void 0 : ee[1]) != null && Ne.includes("[")) && (K = (Fe = (rt = J == null ? void 0 : J.optionUrl) == null ? void 0 : rt.groupSelect) == null ? void 0 : Fe[1], JSON.stringify(Z) === JSON.stringify((
|
|
366
|
-
}), (xe =
|
|
367
|
-
let J = await Fo(
|
|
364
|
+
var ge, ee, Ne, rt, Fe, re;
|
|
365
|
+
pe && ((Ne = (ee = (ge = J == null ? void 0 : J.optionUrl) == null ? void 0 : ge.groupSelect) == null ? void 0 : ee[1]) != null && Ne.includes("[")) && (K = (Fe = (rt = J == null ? void 0 : J.optionUrl) == null ? void 0 : rt.groupSelect) == null ? void 0 : Fe[1], JSON.stringify(Z) === JSON.stringify((re = J == null ? void 0 : J.optionUrl) == null ? void 0 : re.menuSelect) && (pe = !1));
|
|
366
|
+
}), (xe = ne == null ? void 0 : ne.optionUrl) != null && xe.menuSelect && I.value) {
|
|
367
|
+
let J = await Fo(ne), ge, ee = (Pe = ne == null ? void 0 : ne.optionUrl) == null ? void 0 : Pe.menuSelect;
|
|
368
368
|
if (J == null || J.forEach((Ne) => {
|
|
369
|
-
var rt, Fe,
|
|
370
|
-
K === ((Fe = (rt =
|
|
369
|
+
var rt, Fe, re, We, ht, _t, mt, ft, ze, Xe;
|
|
370
|
+
K === ((Fe = (rt = ne == null ? void 0 : ne.optionUrl) == null ? void 0 : rt.groupSelect) == null ? void 0 : Fe[1]) && ((ht = (We = (re = ne == null ? void 0 : ne.optionUrl) == null ? void 0 : re.groupSelect) == null ? void 0 : We[1]) != null && ht.includes("[")) && ((Xe = v(Ne)) == null ? void 0 : Xe[(ze = (ft = (mt = (_t = ne == null ? void 0 : ne.optionUrl) == null ? void 0 : _t.groupSelect) == null ? void 0 : mt[1]) == null ? void 0 : ft.replaceAll("[", "")) == null ? void 0 : ze.replaceAll("]", "")]) === (ne == null ? void 0 : ne.value) && (ge = Ne);
|
|
371
371
|
}), ge) {
|
|
372
372
|
let Ne = v(oe);
|
|
373
373
|
Ne = Ne == null ? void 0 : Ne.map((Fe) => {
|
|
374
|
-
var
|
|
375
|
-
return (ge != null && ge[Fe == null ? void 0 : Fe.label] || ge != null && ge[(_t = (ht = (We = (
|
|
376
|
-
var
|
|
377
|
-
return (Bt = (
|
|
378
|
-
}) && (Fe.value = (ge == null ? void 0 : ge[Fe == null ? void 0 : Fe.label]) || (ge == null ? void 0 : ge[(
|
|
374
|
+
var re, We, ht, _t, mt, ft, ze, Xe, lt, xt, Et;
|
|
375
|
+
return (ge != null && ge[Fe == null ? void 0 : Fe.label] || ge != null && ge[(_t = (ht = (We = (re = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : re.groupSelect) == null ? void 0 : We[1]) == null ? void 0 : ht.replaceAll("[", "")) == null ? void 0 : _t.replaceAll("]", "")]) && ((ze = (ft = (mt = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : mt.groupSelect) == null ? void 0 : ft[1]) != null && ze.includes("[")) && ee != null && ee.every((gt) => {
|
|
376
|
+
var Ct, Bt;
|
|
377
|
+
return (Bt = (Ct = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : Ct.menuSelect) == null ? void 0 : Bt.includes(gt);
|
|
378
|
+
}) && (Fe.value = (ge == null ? void 0 : ge[Fe == null ? void 0 : Fe.label]) || (ge == null ? void 0 : ge[(Et = (xt = (lt = (Xe = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : Xe.groupSelect) == null ? void 0 : lt[1]) == null ? void 0 : xt.replaceAll("[", "")) == null ? void 0 : Et.replaceAll("]", "")]), Array.isArray(Fe.value) && Fe.value.every((gt) => (gt == null ? void 0 : gt.url) && (gt == null ? void 0 : gt.name)) && (Fe.type = "Upload")), Fe;
|
|
379
379
|
}), Ne = Ne == null ? void 0 : Ne.map((Fe) => {
|
|
380
|
-
var
|
|
381
|
-
return (
|
|
380
|
+
var re, We, ht;
|
|
381
|
+
return (re = Fe == null ? void 0 : Fe.optionUrl) != null && re.oldMenuSelect && (Fe.optionUrl.menuSelect = (ht = (We = v(Fe)) == null ? void 0 : We.optionUrl) == null ? void 0 : ht.oldMenuSelect), Fe;
|
|
382
382
|
}), c.value = v(Ne);
|
|
383
383
|
let rt = v(Ne);
|
|
384
384
|
rt = rt == null ? void 0 : rt.map((Fe) => {
|
|
385
|
-
var
|
|
386
|
-
return (We = (
|
|
387
|
-
var Xe, lt, xt,
|
|
385
|
+
var re, We, ht, _t, mt, ft;
|
|
386
|
+
return (We = (re = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : re.menuSelect) != null && We.some((ze) => ze == null ? void 0 : ze.includes("[")) && (Fe.optionUrl.oldMenuSelect = (_t = (ht = v(Fe)) == null ? void 0 : ht.optionUrl) == null ? void 0 : _t.menuSelect, Fe.optionUrl.menuSelect = (ft = (mt = Fe == null ? void 0 : Fe.optionUrl) == null ? void 0 : mt.menuSelect) == null ? void 0 : ft.map((ze) => {
|
|
387
|
+
var Xe, lt, xt, Et;
|
|
388
388
|
if (ze != null && ze.includes("[")) {
|
|
389
|
-
let
|
|
390
|
-
ze = (
|
|
389
|
+
let gt = (lt = (Xe = ze == null ? void 0 : ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Xe.split(":")) == null ? void 0 : lt[1];
|
|
390
|
+
ze = (Et = (xt = v(Ne)) == null ? void 0 : xt.find((Ct) => (Ct == null ? void 0 : Ct.label) === gt)) == null ? void 0 : Et.value;
|
|
391
391
|
}
|
|
392
392
|
return ze;
|
|
393
393
|
})), Fe;
|
|
@@ -397,8 +397,8 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
397
397
|
P = P == null ? void 0 : P.map((Ne) => {
|
|
398
398
|
var rt;
|
|
399
399
|
return (Ne == null ? void 0 : Ne.key) === "formContent" && (Ne.contents = (rt = Ne.contents) == null ? void 0 : rt.map((Fe) => {
|
|
400
|
-
var
|
|
401
|
-
return Fe.value = ((We = (
|
|
400
|
+
var re, We, ht, _t;
|
|
401
|
+
return Fe.value = ((We = (re = c.value) == null ? void 0 : re.find((mt) => (mt == null ? void 0 : mt.label) === (Fe == null ? void 0 : Fe.key))) == null ? void 0 : We.value) ?? (Fe == null ? void 0 : Fe.value), Fe.type = ((_t = (ht = c.value) == null ? void 0 : ht.find((mt) => (mt == null ? void 0 : mt.prop) === (Fe == null ? void 0 : Fe.key))) == null ? void 0 : _t.type) ?? (Fe == null ? void 0 : Fe.type), Fe;
|
|
402
402
|
})), Ne;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
@@ -419,7 +419,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
419
419
|
return (ee = ge == null ? void 0 : ge.url) == null ? void 0 : ee.includes(".obj");
|
|
420
420
|
});
|
|
421
421
|
J == null || J.forEach((ge) => {
|
|
422
|
-
var Ne, rt, Fe,
|
|
422
|
+
var Ne, rt, Fe, re;
|
|
423
423
|
const ee = (Ne = H == null ? void 0 : H.filter((We) => {
|
|
424
424
|
var ht;
|
|
425
425
|
return (We == null ? void 0 : We.name) === (ge == null ? void 0 : ge.name) && ((ht = We == null ? void 0 : We.url) == null ? void 0 : ht.includes(".mtl"));
|
|
@@ -429,10 +429,10 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
429
429
|
mtlUrls: ((rt = H == null ? void 0 : H.filter((We) => {
|
|
430
430
|
var ht;
|
|
431
431
|
return (We == null ? void 0 : We.name) === (ge == null ? void 0 : ge.name) && ((ht = We == null ? void 0 : We.url) == null ? void 0 : ht.includes(".mtl"));
|
|
432
|
-
})) == null ? void 0 : rt.length) === 1 ? (
|
|
432
|
+
})) == null ? void 0 : rt.length) === 1 ? (re = (Fe = H == null ? void 0 : H.filter((We) => {
|
|
433
433
|
var ht;
|
|
434
434
|
return (We == null ? void 0 : We.name) === (ge == null ? void 0 : ge.name) && ((ht = We == null ? void 0 : We.url) == null ? void 0 : ht.includes(".mtl"));
|
|
435
|
-
})) == null ? void 0 : Fe[0]) == null ? void 0 :
|
|
435
|
+
})) == null ? void 0 : Fe[0]) == null ? void 0 : re.url : ee
|
|
436
436
|
});
|
|
437
437
|
}), U.setObjUrl(he);
|
|
438
438
|
}
|
|
@@ -447,33 +447,33 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
447
447
|
return kt(
|
|
448
448
|
() => i.itemData,
|
|
449
449
|
async () => {
|
|
450
|
-
var K,
|
|
451
|
-
const g = (K = i.itemData) == null ? void 0 : K.find((Y) => (Y == null ? void 0 : Y.key) === "formContent"), L = (
|
|
450
|
+
var K, ne, Z, pe, he, H, ye, N, Me, Ie, me, R, ve;
|
|
451
|
+
const g = (K = i.itemData) == null ? void 0 : K.find((Y) => (Y == null ? void 0 : Y.key) === "formContent"), L = (ne = v(i.itemData)) == null ? void 0 : ne.find((Y) => (Y == null ? void 0 : Y.key) === "formButton"), C = (Z = v(i.itemData)) == null ? void 0 : Z.find((Y) => (Y == null ? void 0 : Y.key) === "formFlex"), P = (pe = v(i.itemData)) == null ? void 0 : pe.find((Y) => (Y == null ? void 0 : Y.key) === "formWrap"), oe = (he = v(i.itemData)) == null ? void 0 : he.find((Y) => (Y == null ? void 0 : Y.key) === "enableWrap");
|
|
452
452
|
if ((P == null ? void 0 : P.contents) === "纵向" ? S.value = !1 : S.value = !0, de.value = (oe == null ? void 0 : oe.contents) === void 0 ? !1 : oe == null ? void 0 : oe.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, ((ye = g == null ? void 0 : g.contents) == null ? void 0 : ye.length) > 0 && Array.isArray(g == null ? void 0 : g.contents)) {
|
|
453
453
|
let Y = i.allMapContents, q = (Me = (N = v(g)) == null ? void 0 : N.contents) == null ? void 0 : Me.map((F, Ye) => {
|
|
454
|
-
var
|
|
454
|
+
var re, We, ht, _t, mt, ft, ze, Xe, lt, xt, Et, gt, Ct, Bt, Wt, Ht, jt, Ot, la, pa, sa, Ua, $a, Ka, Ja, Ma, Za, Ra, Qa;
|
|
455
455
|
let xe = (F == null ? void 0 : F.label) ?? (F == null ? void 0 : F.key) ?? "", Pe = (F == null ? void 0 : F.type) ?? "", we = (F == null ? void 0 : F.options) ?? [];
|
|
456
|
-
if ((
|
|
457
|
-
const [St,
|
|
458
|
-
Pe = ((ze = rs.find((bt) => (bt == null ? void 0 : bt.key) === St)) == null ? void 0 : ze.value) ?? "", ((Xe =
|
|
456
|
+
if ((re = F == null ? void 0 : F.key) != null && re.includes("$") && (xe = (We = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : We[0], ((_t = (ht = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : ht[1]) == null ? void 0 : _t.length) > 0)) {
|
|
457
|
+
const [St, ha] = (ft = (mt = v(F == null ? void 0 : F.key).split("$")) == null ? void 0 : mt[1]) == null ? void 0 : ft.split(/[()]/);
|
|
458
|
+
Pe = ((ze = rs.find((bt) => (bt == null ? void 0 : bt.key) === St)) == null ? void 0 : ze.value) ?? "", ((Xe = ha == null ? void 0 : ha.split(",")) == null ? void 0 : Xe.length) > 0 && (we = (lt = ha == null ? void 0 : ha.split(",")) == null ? void 0 : lt.map((bt) => ({
|
|
459
459
|
label: bt,
|
|
460
460
|
value: bt
|
|
461
461
|
})));
|
|
462
462
|
}
|
|
463
463
|
let tt = [];
|
|
464
|
-
F != null && F.contents && !Array.isArray(F == null ? void 0 : F.contents) && (tt = (
|
|
464
|
+
F != null && F.contents && !Array.isArray(F == null ? void 0 : F.contents) && (tt = (Et = (xt = F == null ? void 0 : F.contents) == null ? void 0 : xt.split(",")) == null ? void 0 : Et.map((St) => ({
|
|
465
465
|
label: St,
|
|
466
466
|
value: St
|
|
467
|
-
}))), ((
|
|
467
|
+
}))), ((gt = F == null ? void 0 : F.optionUrl) == null ? void 0 : gt.selectRelateType) === "自定义绑定" && (tt = (Bt = (Ct = F == null ? void 0 : F.optionUrl) == null ? void 0 : Ct.defaultSelect) == null ? void 0 : Bt.map((St) => ({
|
|
468
468
|
label: St,
|
|
469
469
|
value: St
|
|
470
470
|
})));
|
|
471
471
|
let Je = !1, J = (F == null ? void 0 : F.isFormColHidden) ?? !1, ge = yr((Wt = v(F)) == null ? void 0 : Wt.optionUrl, Y), ee = ge !== void 0 && ge !== "" ? ge : F != null && F.originalContent && (F == null ? void 0 : F.originalContent) !== "" ? F.originalContent : F != null && F.value ? F.value : (we == null ? void 0 : we.length) > 0 ? (Ht = we == null ? void 0 : we[0]) == null ? void 0 : Ht.value : (F == null ? void 0 : F.value) ?? "", Ne = !1, rt = ge !== void 0 || Pe === "" ? "Input" : Pe;
|
|
472
472
|
if ((Array.isArray(ge) && (ge != null && ge.every((St) => (St == null ? void 0 : St.name) && (St == null ? void 0 : St.url))) || Array.isArray(ee) && (ee != null && ee.every((St) => (St == null ? void 0 : St.name) && (St == null ? void 0 : St.url)))) && (rt = "upload"), typeof ee == "string" && (ee != null && ee.includes("loginUser")) && !(ee != null && ee.includes("loginUserSign")) || F != null && F.isLoginUser)
|
|
473
|
-
Je = !0, ee = ((jt = b.value) == null ? void 0 : jt.姓名) || ((
|
|
473
|
+
Je = !0, ee = ((jt = b.value) == null ? void 0 : jt.姓名) || ((Ot = b.value) == null ? void 0 : Ot.account) || ((la = b.value) == null ? void 0 : la.账号) || ((pa = b.value) == null ? void 0 : pa.userName);
|
|
474
474
|
else if (typeof ee == "string" && (ee != null && ee.includes("loginUserSign")) || F != null && F.signature || F != null && F.isShow)
|
|
475
475
|
if (Ne = !0, (F == null ? void 0 : F.isShow) === "originalSignature")
|
|
476
|
-
rt = "image", ee = nt.value + "/" + ((
|
|
476
|
+
rt = "image", ee = nt.value + "/" + ((sa = b.value) == null ? void 0 : sa.signature);
|
|
477
477
|
else {
|
|
478
478
|
let St = [...new Set(x(F.isShow))].map((Kt) => {
|
|
479
479
|
var Ea, ma, Aa, ua;
|
|
@@ -494,11 +494,11 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
494
494
|
}));
|
|
495
495
|
});
|
|
496
496
|
});
|
|
497
|
-
let
|
|
497
|
+
let ha = St == null ? void 0 : St.map((Kt) => {
|
|
498
498
|
var xa;
|
|
499
499
|
return Kt.key = "[" + ((xa = Kt.key) == null ? void 0 : xa.join(":")) + "]", Kt;
|
|
500
500
|
}), bt = F == null ? void 0 : F.isShow;
|
|
501
|
-
|
|
501
|
+
ha == null || ha.forEach((Kt) => {
|
|
502
502
|
Kt != null && Kt.value ? bt = bt.replaceAll(Kt == null ? void 0 : Kt.key, "'" + (Kt == null ? void 0 : Kt.value) + "'") : bt = bt.replaceAll(Kt == null ? void 0 : Kt.key, "undefined");
|
|
503
503
|
}), bt != null && bt.includes("(") || (bt != null && bt.includes("==") ? bt = (($a = bt == null ? void 0 : bt.split("===")) == null ? void 0 : $a[0]) + "==='" + ((Ka = bt == null ? void 0 : bt.split("===")) == null ? void 0 : Ka[1]) + "'" : bt = ((Ja = bt == null ? void 0 : bt.split("=")) == null ? void 0 : Ja[0]) + "='" + ((Ma = bt == null ? void 0 : bt.split("=")) == null ? void 0 : Ma[1]) + "'"), bt != null && bt.includes("=") && !(bt != null && bt.includes("==")) && !(bt != null && bt.includes("===")) && (bt = bt == null ? void 0 : bt.replaceAll("=", "==")), new Function(`if (${bt}) { return true } else { return false }`)() ? (J = !1, rt = "image", ee = nt.value + "/" + ((Za = b.value) == null ? void 0 : Za.signature)) : ee = "";
|
|
504
504
|
}
|
|
@@ -524,62 +524,62 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
524
524
|
});
|
|
525
525
|
setTimeout(async () => {
|
|
526
526
|
var Je, J, ge, ee, Ne, rt, Fe;
|
|
527
|
-
let F = await (q == null ? void 0 : q.map(async (
|
|
527
|
+
let F = await (q == null ? void 0 : q.map(async (re) => {
|
|
528
528
|
var We, ht, _t, mt, ft, ze, Xe;
|
|
529
|
-
if (((We =
|
|
530
|
-
let lt = await
|
|
529
|
+
if (((We = re == null ? void 0 : re.type) == null ? void 0 : We.toUpperCase()) === "UPLOAD" && !Array.isArray(re == null ? void 0 : re.value) && (re == null ? void 0 : re.value) !== "") {
|
|
530
|
+
let lt = await Ai.get(re == null ? void 0 : re.value, {
|
|
531
531
|
responseType: "blob",
|
|
532
532
|
headers: {
|
|
533
533
|
"Content-Type": "application/json"
|
|
534
534
|
}
|
|
535
535
|
}), xt = "";
|
|
536
536
|
xt = (ft = (mt = (_t = (ht = lt == null ? void 0 : lt.headers) == null ? void 0 : ht["content-disposition"]) == null ? void 0 : _t.split("filename=")) == null ? void 0 : mt[1]) == null ? void 0 : ft.replaceAll('"', "");
|
|
537
|
-
const
|
|
538
|
-
|
|
539
|
-
const
|
|
540
|
-
let
|
|
537
|
+
const Et = new FormData();
|
|
538
|
+
Et.append("file", lt.data, xt);
|
|
539
|
+
const gt = await ns(Et);
|
|
540
|
+
let Ct = [{
|
|
541
541
|
name: xt,
|
|
542
|
-
url: (Xe = (ze =
|
|
542
|
+
url: (Xe = (ze = gt == null ? void 0 : gt.data) == null ? void 0 : ze.result) == null ? void 0 : Xe.url
|
|
543
543
|
}];
|
|
544
|
-
|
|
544
|
+
re.value = Ct;
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return re;
|
|
547
547
|
}));
|
|
548
548
|
q = await Promise.all(F);
|
|
549
|
-
const Ye = q == null ? void 0 : q.map((
|
|
549
|
+
const Ye = q == null ? void 0 : q.map((re) => re == null ? void 0 : re.value);
|
|
550
550
|
let xe = "";
|
|
551
|
-
Ye == null || Ye.forEach((
|
|
552
|
-
|
|
551
|
+
Ye == null || Ye.forEach((re) => {
|
|
552
|
+
re !== "" && re !== void 0 && (xe = xe === "" ? re : xe + "/" + re);
|
|
553
553
|
}), G.setSelectArray(Ye), G.setSelectString(xe);
|
|
554
|
-
let Pe = (Je = v(q)) == null ? void 0 : Je.map((
|
|
555
|
-
Pe = Pe == null ? void 0 : Pe.map((
|
|
556
|
-
var We, ht, _t, mt, ft, ze, Xe, lt, xt
|
|
557
|
-
if ((ht = (We =
|
|
558
|
-
let
|
|
559
|
-
|
|
560
|
-
var Bt, Wt, Ht, jt,
|
|
554
|
+
let Pe = (Je = v(q)) == null ? void 0 : Je.map((re) => (re != null && re.value && Ji(re == null ? void 0 : re.value) && Array.isArray(JSON.parse(re == null ? void 0 : re.value)) && (re.value = JSON.parse(re.value)), re));
|
|
555
|
+
Pe = Pe == null ? void 0 : Pe.map((re) => {
|
|
556
|
+
var We, ht, _t, mt, ft, ze, Xe, lt, xt;
|
|
557
|
+
if ((ht = (We = re == null ? void 0 : re.optionUrl) == null ? void 0 : We.menuSelect) != null && ht.some((Et) => Et == null ? void 0 : Et.includes("["))) {
|
|
558
|
+
let Et = "";
|
|
559
|
+
re.optionUrl.oldMenuSelect = (mt = (_t = v(re)) == null ? void 0 : _t.optionUrl) == null ? void 0 : mt.menuSelect, re.optionUrl.menuSelect = (ze = (ft = re == null ? void 0 : re.optionUrl) == null ? void 0 : ft.menuSelect) == null ? void 0 : ze.map((gt) => {
|
|
560
|
+
var Ct, Bt, Wt, Ht, jt, Ot;
|
|
561
561
|
if (gt != null && gt.includes("[")) {
|
|
562
|
-
let
|
|
563
|
-
|
|
562
|
+
let la = (Bt = (Ct = gt == null ? void 0 : gt.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ct.split(":")) == null ? void 0 : Bt[1];
|
|
563
|
+
Et = Oi((Wt = gt == null ? void 0 : gt.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Wt.split(":"), Y == null ? void 0 : Y[qe.value], Y), gt = ((jt = (Ht = v(Pe)) == null ? void 0 : Ht.find((pa) => (pa == null ? void 0 : pa.label) === la)) == null ? void 0 : jt.value) || Oi((Ot = gt == null ? void 0 : gt.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ot.split(":"), Y == null ? void 0 : Y[qe.value], Y);
|
|
564
564
|
}
|
|
565
565
|
return gt;
|
|
566
|
-
}),
|
|
566
|
+
}), Et !== "" && (Zi(re.optionUrl.menuSelect, re.optionUrl.oldMenuSelect, (Xe = re == null ? void 0 : re.optionUrl) == null ? void 0 : Xe.groupSelect, Y) !== void 0 && (re.value = Zi(re.optionUrl.menuSelect, re.optionUrl.oldMenuSelect, (lt = re == null ? void 0 : re.optionUrl) == null ? void 0 : lt.groupSelect, Y)), Array.isArray(re.value) && ((xt = re.value) != null && xt.every((gt) => gt == null ? void 0 : gt.url)) && (re.type = "UPLOAD"));
|
|
567
567
|
}
|
|
568
|
-
return
|
|
569
|
-
}), c.value = Pe,
|
|
568
|
+
return re;
|
|
569
|
+
}), c.value = Pe, ae.value = ((J = c.value) == null ? void 0 : J.every((re) => re == null ? void 0 : re.disabled)) || Ce.value === qe.value, ie.value = (ge = c.value) == null ? void 0 : ge.every((re) => re == null ? void 0 : re.operable), E.value = (ee = c.value) == null ? void 0 : ee.map((re) => re == null ? void 0 : re.label);
|
|
570
570
|
let we = [], tt = [];
|
|
571
|
-
if ((Ne = v(c.value)) == null || Ne.forEach((
|
|
571
|
+
if ((Ne = v(c.value)) == null || Ne.forEach((re) => {
|
|
572
572
|
var We;
|
|
573
|
-
Array.isArray(
|
|
573
|
+
Array.isArray(re == null ? void 0 : re.value) && ((We = re == null ? void 0 : re.value) != null && We.find((ht) => {
|
|
574
574
|
var _t;
|
|
575
575
|
return (_t = ht == null ? void 0 : ht.url) == null ? void 0 : _t.includes(".obj");
|
|
576
|
-
})) && (tt =
|
|
576
|
+
})) && (tt = re == null ? void 0 : re.value);
|
|
577
577
|
}), (tt == null ? void 0 : tt.length) > 0) {
|
|
578
|
-
const
|
|
578
|
+
const re = (rt = v(tt)) == null ? void 0 : rt.filter((We) => {
|
|
579
579
|
var ht;
|
|
580
580
|
return (ht = We == null ? void 0 : We.url) == null ? void 0 : ht.includes(".obj");
|
|
581
581
|
});
|
|
582
|
-
|
|
582
|
+
re == null || re.forEach((We) => {
|
|
583
583
|
var _t, mt, ft, ze;
|
|
584
584
|
const ht = (_t = tt == null ? void 0 : tt.filter((Xe) => {
|
|
585
585
|
var lt;
|
|
@@ -597,13 +597,13 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
597
597
|
});
|
|
598
598
|
}), U.setObjUrl(we);
|
|
599
599
|
}
|
|
600
|
-
(Fe = v(c.value)) == null || Fe.forEach((
|
|
601
|
-
var We, ht, _t, mt, ft, ze, Xe, lt, xt,
|
|
602
|
-
if ((ht = (We =
|
|
600
|
+
(Fe = v(c.value)) == null || Fe.forEach((re) => {
|
|
601
|
+
var We, ht, _t, mt, ft, ze, Xe, lt, xt, Et, gt, Ct, Bt;
|
|
602
|
+
if ((ht = (We = re == null ? void 0 : re.value) == null ? void 0 : We.toString()) != null && ht.includes(".stl") || (mt = (_t = re == null ? void 0 : re.value) == null ? void 0 : _t.toString()) != null && mt.includes(".STL") || (ze = (ft = re == null ? void 0 : re.value) == null ? void 0 : ft.toString()) != null && ze.includes(".obj") || (lt = (Xe = re == null ? void 0 : re.value) == null ? void 0 : Xe.toString()) != null && lt.includes(".mtl") || (Et = (xt = re == null ? void 0 : re.value) == null ? void 0 : xt.toString()) != null && Et.includes(".urdf")) {
|
|
603
603
|
let Wt = {}, Ht = [], jt;
|
|
604
|
-
Array.isArray(
|
|
605
|
-
|
|
606
|
-
}), (Ht == null ? void 0 : Ht.length) > 0 && (Wt.mtlBlobs = Ht), (Bt = (
|
|
604
|
+
Array.isArray(re == null ? void 0 : re.value) ? jt = re == null ? void 0 : re.value : jt = (gt = re == null ? void 0 : re.value) == null ? void 0 : gt.split(","), jt == null || jt.forEach((Ot) => {
|
|
605
|
+
Ot.includes(".mtl") ? Ht.push(Ot) : Wt.blob = Wt.blob === "undefined" ? Ot : Wt.blob + "," + Ot;
|
|
606
|
+
}), (Ht == null ? void 0 : Ht.length) > 0 && (Wt.mtlBlobs = Ht), (Bt = (Ct = Object.values(Wt)) == null ? void 0 : Ct[0]) != null && Bt.includes("http:");
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
}, 100);
|
|
@@ -639,7 +639,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
639
639
|
},
|
|
640
640
|
{ deep: !0, immediate: !0 }
|
|
641
641
|
), kt(() => Ce.value, (g) => {
|
|
642
|
-
|
|
642
|
+
ae.value = g === qe.value;
|
|
643
643
|
}, { immediate: !0 }), (g, L) => {
|
|
644
644
|
const C = Ft("svg-icon"), P = Ft("el-switch"), oe = Ft("el-checkbox"), V = Ft("el-popover"), K = Ft("el-checkbox-group");
|
|
645
645
|
return Ae(), Qe("div", Ms, [
|
|
@@ -651,17 +651,17 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
651
651
|
isEnableWrap: de.value,
|
|
652
652
|
onOnButtonClick: et,
|
|
653
653
|
onChange: k,
|
|
654
|
-
formDisabled:
|
|
655
|
-
formLabelsOperable:
|
|
654
|
+
formDisabled: ae.value,
|
|
655
|
+
formLabelsOperable: ie.value,
|
|
656
656
|
isButtonRow: S.value,
|
|
657
657
|
onPreview: Te,
|
|
658
|
-
onBlurChange:
|
|
658
|
+
onBlurChange: le,
|
|
659
659
|
onHandleColEditChange: pt,
|
|
660
660
|
onHandleColTypeChange: it,
|
|
661
661
|
onRouteUrl: dt,
|
|
662
662
|
onClickTrigger: Ve
|
|
663
663
|
}, {
|
|
664
|
-
operateCol: Re(({ renderColumns:
|
|
664
|
+
operateCol: Re(({ renderColumns: ne, formDisabled: Z, formLabelsOperable: pe }) => [
|
|
665
665
|
De(V, {
|
|
666
666
|
title: "选择操作的标签",
|
|
667
667
|
placement: "left-start",
|
|
@@ -703,7 +703,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
703
703
|
onChange: Se
|
|
704
704
|
}, {
|
|
705
705
|
default: Re(() => [
|
|
706
|
-
(Ae(!0), Qe(Nt, null, Jt(
|
|
706
|
+
(Ae(!0), Qe(Nt, null, Jt(ne, (he) => (Ae(), Qe("div", {
|
|
707
707
|
style: { display: "flex", "align-items": "center" },
|
|
708
708
|
key: he.label
|
|
709
709
|
}, [
|
|
@@ -742,7 +742,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
742
742
|
value: he == null ? void 0 : he[ye],
|
|
743
743
|
"active-text": (Me = (N = Oe.value) == null ? void 0 : N.find((Ie) => (Ie == null ? void 0 : Ie.value) === ye)) == null ? void 0 : Me.label,
|
|
744
744
|
inactiveText: "",
|
|
745
|
-
onChange: (Ie) =>
|
|
745
|
+
onChange: (Ie) => te(Ie, ye, he)
|
|
746
746
|
}, null, 8, ["value", "active-text", "onChange"])
|
|
747
747
|
]);
|
|
748
748
|
}), 128))
|
|
@@ -769,12 +769,12 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
769
769
|
]),
|
|
770
770
|
_: 1
|
|
771
771
|
}, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "formDisabled", "formLabelsOperable", "isButtonRow"]),
|
|
772
|
-
T.value ? (Ae(),
|
|
772
|
+
T.value ? (Ae(), zt(hr, {
|
|
773
773
|
key: 0,
|
|
774
774
|
fileDataList: B.value,
|
|
775
775
|
onDestroy: ke
|
|
776
776
|
}, null, 8, ["fileDataList"])) : fa("", !0),
|
|
777
|
-
m.value ? (Ae(),
|
|
777
|
+
m.value ? (Ae(), zt(va, {
|
|
778
778
|
key: 1,
|
|
779
779
|
visible: m.value,
|
|
780
780
|
onBeforeDestroy: o,
|
|
@@ -792,9 +792,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
792
792
|
]);
|
|
793
793
|
};
|
|
794
794
|
}
|
|
795
|
-
}, El = /* @__PURE__ */ Zt(Us, [["__scopeId", "data-v-
|
|
795
|
+
}, El = /* @__PURE__ */ Zt(Us, [["__scopeId", "data-v-1ff8e8ad"]]), zi = fe(0), xr = (a) => {
|
|
796
796
|
var r;
|
|
797
|
-
return !a || (a == null ? void 0 : a.length) === 0 ? [] : (r = v(a)) == null ? void 0 : r.map((i) => (
|
|
797
|
+
return !a || (a == null ? void 0 : a.length) === 0 ? [] : (r = v(a)) == null ? void 0 : r.map((i) => (zi.value++, i = {
|
|
798
798
|
label: (i == null ? void 0 : i.label) ?? "",
|
|
799
799
|
prop: (i == null ? void 0 : i.label) === "操作" ? "operate" : i == null ? void 0 : i.prop,
|
|
800
800
|
width: i != null && i.width ? parseInt(i.width) : "",
|
|
@@ -805,12 +805,12 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
805
805
|
isNotDrag: (i == null ? void 0 : i.isNotDrag) ?? !1,
|
|
806
806
|
isEditCol: (i == null ? void 0 : i.isEditCol) ?? !1,
|
|
807
807
|
isOperate: (i == null ? void 0 : i.isOperate) ?? !1,
|
|
808
|
-
id: (i == null ? void 0 : i.id) ??
|
|
808
|
+
id: (i == null ? void 0 : i.id) ?? zi.value,
|
|
809
809
|
children: xr(i == null ? void 0 : i.children)
|
|
810
810
|
}, i));
|
|
811
811
|
}, Ks = (a) => {
|
|
812
812
|
var o;
|
|
813
|
-
return (o = v(a)) == null ? void 0 : o.map((i) => (
|
|
813
|
+
return (o = v(a)) == null ? void 0 : o.map((i) => (zi.value++, i = {
|
|
814
814
|
label: (i == null ? void 0 : i.label) ?? "",
|
|
815
815
|
prop: (i == null ? void 0 : i.label) === "操作" ? "operate" : i == null ? void 0 : i.prop,
|
|
816
816
|
width: i != null && i.width ? parseInt(i.width) : "",
|
|
@@ -821,7 +821,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
821
821
|
isNotDrag: (i == null ? void 0 : i.isNotDrag) ?? !1,
|
|
822
822
|
isEditCol: (i == null ? void 0 : i.isEditCol) ?? !1,
|
|
823
823
|
isOperate: (i == null ? void 0 : i.isOperate) ?? !1,
|
|
824
|
-
id: (i == null ? void 0 : i.id) ??
|
|
824
|
+
id: (i == null ? void 0 : i.id) ?? zi.value,
|
|
825
825
|
children: xr(i == null ? void 0 : i.children)
|
|
826
826
|
}, i));
|
|
827
827
|
}, wr = (a, r) => {
|
|
@@ -1068,14 +1068,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1068
1068
|
}, null, 8, ["tableChildContents"])
|
|
1069
1069
|
])) : fa("", !0)
|
|
1070
1070
|
]))), 256)),
|
|
1071
|
-
De(
|
|
1071
|
+
De(va, {
|
|
1072
1072
|
visible: s.value,
|
|
1073
1073
|
onBeforeDestroy: U,
|
|
1074
1074
|
width: 840
|
|
1075
1075
|
}, {
|
|
1076
1076
|
default: Re(() => [
|
|
1077
1077
|
ue("div", Js, [
|
|
1078
|
-
(Ae(),
|
|
1078
|
+
(Ae(), zt(ca, {
|
|
1079
1079
|
rowContents: _.value,
|
|
1080
1080
|
key: _.value,
|
|
1081
1081
|
isEnableWrap: !0,
|
|
@@ -1223,14 +1223,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1223
1223
|
}, null, 8, ["tableChildContents"])
|
|
1224
1224
|
])) : fa("", !0)
|
|
1225
1225
|
]))), 256)),
|
|
1226
|
-
De(
|
|
1226
|
+
De(va, {
|
|
1227
1227
|
visible: s.value,
|
|
1228
1228
|
onBeforeDestroy: G,
|
|
1229
1229
|
width: 840
|
|
1230
1230
|
}, {
|
|
1231
1231
|
default: Re(() => [
|
|
1232
1232
|
ue("div", ru, [
|
|
1233
|
-
(Ae(),
|
|
1233
|
+
(Ae(), zt(ca, {
|
|
1234
1234
|
rowContents: _.value,
|
|
1235
1235
|
key: _.value,
|
|
1236
1236
|
isEnableWrap: !0,
|
|
@@ -1246,7 +1246,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1246
1246
|
id: "themeBorderButton"
|
|
1247
1247
|
}, {
|
|
1248
1248
|
default: Re(() => M[0] || (M[0] = [
|
|
1249
|
-
|
|
1249
|
+
Tt(vt("取消"))
|
|
1250
1250
|
])),
|
|
1251
1251
|
_: 1,
|
|
1252
1252
|
__: [0]
|
|
@@ -1257,7 +1257,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1257
1257
|
id: "themeButton"
|
|
1258
1258
|
}, {
|
|
1259
1259
|
default: Re(() => M[1] || (M[1] = [
|
|
1260
|
-
|
|
1260
|
+
Tt(vt("确认"))
|
|
1261
1261
|
])),
|
|
1262
1262
|
_: 1,
|
|
1263
1263
|
__: [1]
|
|
@@ -1300,7 +1300,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1300
1300
|
var x, g, L;
|
|
1301
1301
|
m.value = !0;
|
|
1302
1302
|
let k = [];
|
|
1303
|
-
(L = (g = (x =
|
|
1303
|
+
(L = (g = (x = ga) == null ? void 0 : x.find((C) => (C == null ? void 0 : C.key) === "Input")) == null ? void 0 : g.value) == null || L.forEach((C) => {
|
|
1304
1304
|
b.value++, k.push({
|
|
1305
1305
|
label: C == null ? void 0 : C.label,
|
|
1306
1306
|
name: (C == null ? void 0 : C.name) || (C == null ? void 0 : C.label),
|
|
@@ -1313,9 +1313,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1313
1313
|
}, $e = (k) => {
|
|
1314
1314
|
k || (z.value = I.value);
|
|
1315
1315
|
}, Ge = async (k) => {
|
|
1316
|
-
var x, g, L, C, P, oe, V, K,
|
|
1316
|
+
var x, g, L, C, P, oe, V, K, ne, Z, pe, he;
|
|
1317
1317
|
if ((k == null ? void 0 : k.类型) !== ((g = (x = I.value) == null ? void 0 : x.find((H) => (H == null ? void 0 : H.label) === "类型")) == null ? void 0 : g.value)) {
|
|
1318
|
-
let H = [], ye = await ((P = (C = (L =
|
|
1318
|
+
let H = [], ye = await ((P = (C = (L = ga) == null ? void 0 : L.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : C.value) == null ? void 0 : P.value) ? await ((Z = (ne = (K = ga) == null ? void 0 : K.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : ne.value) == null ? void 0 : Z.value) : (V = (oe = ga) == null ? void 0 : oe.find((N) => (N == null ? void 0 : N.key) === ((k == null ? void 0 : k.类型) === "" ? "Input" : k == null ? void 0 : k.类型))) == null ? void 0 : V.value;
|
|
1319
1319
|
if (ye == null || ye.forEach((N) => {
|
|
1320
1320
|
b.value++, H.push({
|
|
1321
1321
|
label: N == null ? void 0 : N.label,
|
|
@@ -1361,11 +1361,11 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1361
1361
|
return kr(g) ? g : k.default;
|
|
1362
1362
|
}
|
|
1363
1363
|
return (k == null ? void 0 : k.label) === "类型" && x[k.key] === "" ? "Input" : (k == null ? void 0 : k.key) === "isFormColHidden" && !x[k.key] ? !1 : x[k.key];
|
|
1364
|
-
},
|
|
1365
|
-
var L, C, P, oe, V, K,
|
|
1364
|
+
}, ie = async (k) => {
|
|
1365
|
+
var L, C, P, oe, V, K, ne, Z, pe;
|
|
1366
1366
|
m.value = !0;
|
|
1367
1367
|
let x = [];
|
|
1368
|
-
const g = await ((P = (C = (L =
|
|
1368
|
+
const g = await ((P = (C = (L = ga) == null ? void 0 : L.find((he) => (he == null ? void 0 : he.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : C.value) == null ? void 0 : P.value) ? await ((Z = (ne = (K = ga) == null ? void 0 : K.find((he) => (he == null ? void 0 : he.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : ne.value) == null ? void 0 : Z.value) : (V = (oe = ga) == null ? void 0 : oe.find((he) => (he == null ? void 0 : he.key) === ((k == null ? void 0 : k.type) === "" ? "Input" : k == null ? void 0 : k.type))) == null ? void 0 : V.value;
|
|
1369
1369
|
if (g == null || g.forEach((he) => {
|
|
1370
1370
|
b.value++, x.push({
|
|
1371
1371
|
label: he == null ? void 0 : he.label,
|
|
@@ -1381,7 +1381,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1381
1381
|
x = x == null ? void 0 : x.map((H) => ((H == null ? void 0 : H.name) === "组信息选项" && (H.contents = he), H));
|
|
1382
1382
|
}
|
|
1383
1383
|
$.value = k == null ? void 0 : k.id, z.value = await an(xn(x)), I.value = await an(xn(x));
|
|
1384
|
-
},
|
|
1384
|
+
}, ae = (k) => {
|
|
1385
1385
|
Ya.confirm("是否确认要删除", "", {
|
|
1386
1386
|
confirmButtonText: "确认",
|
|
1387
1387
|
cancelButtonText: "取消",
|
|
@@ -1399,21 +1399,21 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1399
1399
|
}, be = () => {
|
|
1400
1400
|
m.value = !1, z.value = [], $.value = "";
|
|
1401
1401
|
}, qe = async () => {
|
|
1402
|
-
var L, C, P, oe, V, K,
|
|
1402
|
+
var L, C, P, oe, V, K, ne, Z, pe, he;
|
|
1403
1403
|
z.value = I.value;
|
|
1404
1404
|
let k = {};
|
|
1405
1405
|
$.value !== "" ? k.id = $.value : (b.value++, k.id = "id" + b.value);
|
|
1406
|
-
let x = await ((P = (C = (L =
|
|
1406
|
+
let x = await ((P = (C = (L = ga) == null ? void 0 : L.find((H) => {
|
|
1407
1407
|
var ye, N;
|
|
1408
1408
|
return (H == null ? void 0 : H.key) === (((N = (ye = z.value) == null ? void 0 : ye.find((Me) => (Me == null ? void 0 : Me.label) === "类型")) == null ? void 0 : N.value) ?? "label");
|
|
1409
|
-
})) == null ? void 0 : C.value) == null ? void 0 : P.value) ?? ((V = (oe =
|
|
1409
|
+
})) == null ? void 0 : C.value) == null ? void 0 : P.value) ?? ((V = (oe = ga) == null ? void 0 : oe.find((H) => {
|
|
1410
1410
|
var ye, N;
|
|
1411
1411
|
return (H == null ? void 0 : H.key) === (((N = (ye = z.value) == null ? void 0 : ye.find((Me) => (Me == null ? void 0 : Me.label) === "类型")) == null ? void 0 : N.value) ?? "label");
|
|
1412
1412
|
})) == null ? void 0 : V.value);
|
|
1413
1413
|
if ((K = z.value) == null || K.forEach((H) => {
|
|
1414
1414
|
const ye = x == null ? void 0 : x.find((N) => (N == null ? void 0 : N.label) === (H == null ? void 0 : H.label));
|
|
1415
1415
|
ye && (k[ye.key] = H.value);
|
|
1416
|
-
}), k.name = k.label, (
|
|
1416
|
+
}), k.name = k.label, (ne = ce.value) != null && ne.find((H) => H.id === k.id))
|
|
1417
1417
|
ce.value = (Z = ce.value) == null ? void 0 : Z.map((H) => (H.id === k.id && (H = k), H));
|
|
1418
1418
|
else {
|
|
1419
1419
|
let H = v(ce.value);
|
|
@@ -1471,7 +1471,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1471
1471
|
w.value = M.value;
|
|
1472
1472
|
let k = {};
|
|
1473
1473
|
if ($.value !== "" ? k.id = $.value : (b.value++, k.id = "id" + b.value), (g = w.value) == null || g.forEach((V) => {
|
|
1474
|
-
const K = ln == null ? void 0 : ln.find((
|
|
1474
|
+
const K = ln == null ? void 0 : ln.find((ne) => (ne == null ? void 0 : ne.label) === (V == null ? void 0 : V.label));
|
|
1475
1475
|
K ? k[K.key] = V.value : V != null && V.children && V.children.length > 0 && (k.children = V.children);
|
|
1476
1476
|
}), (L = Ee.value) != null && L.find((V) => V.id === k.id))
|
|
1477
1477
|
Ee.value = (C = Ee.value) == null ? void 0 : C.map((V) => (V.id === k.id && (V = k), V));
|
|
@@ -1552,7 +1552,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1552
1552
|
G.value = U.value;
|
|
1553
1553
|
let k = {};
|
|
1554
1554
|
if ($.value !== "" ? k.id = $.value : (b.value++, k.id = "id" + b.value), (g = G.value) == null || g.forEach((V) => {
|
|
1555
|
-
const K = rn == null ? void 0 : rn.find((
|
|
1555
|
+
const K = rn == null ? void 0 : rn.find((ne) => (ne == null ? void 0 : ne.label) === (V == null ? void 0 : V.label));
|
|
1556
1556
|
K ? k[K.key] = V.value : V != null && V.children && V.children.length > 0 && (k.children = V.children);
|
|
1557
1557
|
}), (L = W.value) != null && L.find((V) => V.id === k.id))
|
|
1558
1558
|
W.value = (C = W.value) == null ? void 0 : C.map((V) => (V.id === k.id && (V = k), V));
|
|
@@ -1587,7 +1587,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1587
1587
|
var L;
|
|
1588
1588
|
return (g == null ? void 0 : g.key) === "header" && (g.contents = (L = p.value) != null && L.some((C) => C == null ? void 0 : C.children) ? [p.value] : p.value), g;
|
|
1589
1589
|
}));
|
|
1590
|
-
},
|
|
1590
|
+
}, te = (k) => {
|
|
1591
1591
|
var g, L, C;
|
|
1592
1592
|
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((P) => P == null ? void 0 : P.children) ? [p.value] : p.value, $.value = "";
|
|
1593
1593
|
let x = v(o.originalItemContents);
|
|
@@ -1595,7 +1595,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1595
1595
|
key: "header",
|
|
1596
1596
|
contents: p.value
|
|
1597
1597
|
}), i("change", x);
|
|
1598
|
-
},
|
|
1598
|
+
}, le = (k) => {
|
|
1599
1599
|
var g;
|
|
1600
1600
|
c.value = !0;
|
|
1601
1601
|
let x = [];
|
|
@@ -1622,13 +1622,13 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1622
1622
|
_.value = T.value;
|
|
1623
1623
|
let k = {};
|
|
1624
1624
|
if ($.value !== "" ? k.id = $.value : (b.value++, k.id = "id" + b.value), (g = _.value) == null || g.forEach((K) => {
|
|
1625
|
-
const
|
|
1626
|
-
|
|
1625
|
+
const ne = Lt == null ? void 0 : Lt.find((Z) => (Z == null ? void 0 : Z.label) === (K == null ? void 0 : K.label));
|
|
1626
|
+
ne ? k[ne.key] = K.value : K != null && K.children && K.children.length > 0 && (k.children = K.children);
|
|
1627
1627
|
}), (L = p.value) != null && L.find((K) => K.id === k.id))
|
|
1628
1628
|
p.value = (C = p.value) == null ? void 0 : C.map((K) => (K.id === k.id && (K = k), K));
|
|
1629
1629
|
else {
|
|
1630
1630
|
let K = v(p.value) ?? [];
|
|
1631
|
-
B.value === "" ? K.push(k) : K = K == null ? void 0 : K.map((
|
|
1631
|
+
B.value === "" ? K.push(k) : K = K == null ? void 0 : K.map((ne) => (ne.id === B.value && (ne.children || (ne.children = []), ne.children.push(k)), ne)), p.value = K;
|
|
1632
1632
|
}
|
|
1633
1633
|
p.value = (P = p.value) != null && P.some((K) => K == null ? void 0 : K.children) ? [p.value] : p.value, c.value = !1, $.value = "", B.value = "";
|
|
1634
1634
|
let x = v(o.originalItemContents);
|
|
@@ -1658,9 +1658,9 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1658
1658
|
return kt(
|
|
1659
1659
|
() => o.originalItemContents,
|
|
1660
1660
|
() => {
|
|
1661
|
-
var k, x, g, L, C, P, oe, V, K,
|
|
1661
|
+
var k, x, g, L, C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me, Ie, me;
|
|
1662
1662
|
if (!(!o.originalItemContents || o.originalItemContents.length === 0))
|
|
1663
|
-
if (s.value = v(o.originalItemContents), p.value = (x = (k = s.value) == null ? void 0 : k.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : x.contents, W.value = (L = (g = s.value) == null ? void 0 : g.find((R) => (R == null ? void 0 : R.key) === "rowButton")) == null ? void 0 : L.contents, Ee.value = (P = (C = s.value) == null ? void 0 : C.find((R) => (R == null ? void 0 : R.key) === "extraButton")) == null ? void 0 : P.contents, S.value = (V = (oe = s.value) == null ? void 0 : oe.find((R) => (R == null ? void 0 : R.key) === "page")) != null && V.contents ? !!((
|
|
1663
|
+
if (s.value = v(o.originalItemContents), p.value = (x = (k = s.value) == null ? void 0 : k.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : x.contents, W.value = (L = (g = s.value) == null ? void 0 : g.find((R) => (R == null ? void 0 : R.key) === "rowButton")) == null ? void 0 : L.contents, Ee.value = (P = (C = s.value) == null ? void 0 : C.find((R) => (R == null ? void 0 : R.key) === "extraButton")) == null ? void 0 : P.contents, S.value = (V = (oe = s.value) == null ? void 0 : oe.find((R) => (R == null ? void 0 : R.key) === "page")) != null && V.contents ? !!((ne = (K = s.value) == null ? void 0 : K.find((R) => (R == null ? void 0 : R.key) === "page")) != null && ne.contents) : !1, ce.value = (pe = (Z = s.value) == null ? void 0 : Z.find((R) => (R == null ? void 0 : R.key) === "tableToForm")) == null ? void 0 : pe.contents, p.value = (he = p.value) == null ? void 0 : he.map((R, ve) => (Array.isArray(R) ? R = Ks(R) : R = {
|
|
1664
1664
|
label: (R == null ? void 0 : R.label) ?? "",
|
|
1665
1665
|
prop: (R == null ? void 0 : R.label) === "操作" ? "operate" : R == null ? void 0 : R.prop,
|
|
1666
1666
|
width: R != null && R.width ? parseInt(R.width) : "",
|
|
@@ -1728,7 +1728,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1728
1728
|
})
|
|
1729
1729
|
]),
|
|
1730
1730
|
default: Re(() => [
|
|
1731
|
-
x[1] || (x[1] =
|
|
1731
|
+
x[1] || (x[1] = Tt(" 新增 "))
|
|
1732
1732
|
]),
|
|
1733
1733
|
_: 1,
|
|
1734
1734
|
__: [1]
|
|
@@ -1749,7 +1749,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1749
1749
|
name: "ChildFix",
|
|
1750
1750
|
class: "svg-icon-content",
|
|
1751
1751
|
style: { width: "24px", height: "24px" },
|
|
1752
|
-
onClick: (oe) =>
|
|
1752
|
+
onClick: (oe) => le(C)
|
|
1753
1753
|
}, null, 8, ["onClick"]),
|
|
1754
1754
|
De(g, {
|
|
1755
1755
|
name: "ChildDelete",
|
|
@@ -1763,7 +1763,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1763
1763
|
De(Er, {
|
|
1764
1764
|
tableChildContents: C == null ? void 0 : C.children,
|
|
1765
1765
|
onDeleteChange: it,
|
|
1766
|
-
onFixChange:
|
|
1766
|
+
onFixChange: te
|
|
1767
1767
|
}, null, 8, ["tableChildContents"])
|
|
1768
1768
|
])) : fa("", !0)
|
|
1769
1769
|
]))), 128))
|
|
@@ -1782,7 +1782,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1782
1782
|
})
|
|
1783
1783
|
]),
|
|
1784
1784
|
default: Re(() => [
|
|
1785
|
-
x[3] || (x[3] =
|
|
1785
|
+
x[3] || (x[3] = Tt(" 新增 "))
|
|
1786
1786
|
]),
|
|
1787
1787
|
_: 1,
|
|
1788
1788
|
__: [3]
|
|
@@ -1823,7 +1823,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1823
1823
|
})
|
|
1824
1824
|
]),
|
|
1825
1825
|
default: Re(() => [
|
|
1826
|
-
x[5] || (x[5] =
|
|
1826
|
+
x[5] || (x[5] = Tt(" 新增 "))
|
|
1827
1827
|
]),
|
|
1828
1828
|
_: 1,
|
|
1829
1829
|
__: [5]
|
|
@@ -1864,7 +1864,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1864
1864
|
})
|
|
1865
1865
|
]),
|
|
1866
1866
|
default: Re(() => [
|
|
1867
|
-
x[7] || (x[7] =
|
|
1867
|
+
x[7] || (x[7] = Tt(" 新增 "))
|
|
1868
1868
|
]),
|
|
1869
1869
|
_: 1,
|
|
1870
1870
|
__: [7]
|
|
@@ -1879,13 +1879,13 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1879
1879
|
name: "ChildFix",
|
|
1880
1880
|
style: { width: "24px", height: "24px" },
|
|
1881
1881
|
class: "svg-icon-content",
|
|
1882
|
-
onClick: (oe) =>
|
|
1882
|
+
onClick: (oe) => ie(C)
|
|
1883
1883
|
}, null, 8, ["onClick"]),
|
|
1884
1884
|
De(g, {
|
|
1885
1885
|
name: "ChildDelete",
|
|
1886
1886
|
class: "svg-icon-content",
|
|
1887
1887
|
style: { width: "24px", height: "24px" },
|
|
1888
|
-
onClick: (oe) =>
|
|
1888
|
+
onClick: (oe) => ae(C)
|
|
1889
1889
|
}, null, 8, ["onClick"])
|
|
1890
1890
|
])
|
|
1891
1891
|
])
|
|
@@ -1904,14 +1904,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1904
1904
|
])
|
|
1905
1905
|
])
|
|
1906
1906
|
]),
|
|
1907
|
-
De(
|
|
1907
|
+
De(va, {
|
|
1908
1908
|
visible: c.value,
|
|
1909
1909
|
onBeforeDestroy: ke,
|
|
1910
1910
|
width: 840
|
|
1911
1911
|
}, {
|
|
1912
1912
|
default: Re(() => [
|
|
1913
1913
|
ue("div", Bu, [
|
|
1914
|
-
(Ae(),
|
|
1914
|
+
(Ae(), zt(ca, {
|
|
1915
1915
|
rowContents: _.value,
|
|
1916
1916
|
key: _.value,
|
|
1917
1917
|
isEnableWrap: !0,
|
|
@@ -1927,7 +1927,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1927
1927
|
id: "themeBorderButton"
|
|
1928
1928
|
}, {
|
|
1929
1929
|
default: Re(() => x[11] || (x[11] = [
|
|
1930
|
-
|
|
1930
|
+
Tt(vt("取消"))
|
|
1931
1931
|
])),
|
|
1932
1932
|
_: 1,
|
|
1933
1933
|
__: [11]
|
|
@@ -1938,7 +1938,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1938
1938
|
id: "themeButton"
|
|
1939
1939
|
}, {
|
|
1940
1940
|
default: Re(() => x[12] || (x[12] = [
|
|
1941
|
-
|
|
1941
|
+
Tt(vt("确认"))
|
|
1942
1942
|
])),
|
|
1943
1943
|
_: 1,
|
|
1944
1944
|
__: [12]
|
|
@@ -1947,14 +1947,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1947
1947
|
]),
|
|
1948
1948
|
_: 1
|
|
1949
1949
|
}, 8, ["visible"]),
|
|
1950
|
-
De(
|
|
1950
|
+
De(va, {
|
|
1951
1951
|
visible: f.value,
|
|
1952
1952
|
onBeforeDestroy: at,
|
|
1953
1953
|
width: 840
|
|
1954
1954
|
}, {
|
|
1955
1955
|
default: Re(() => [
|
|
1956
1956
|
ue("div", Mu, [
|
|
1957
|
-
(Ae(),
|
|
1957
|
+
(Ae(), zt(ca, {
|
|
1958
1958
|
rowContents: G.value,
|
|
1959
1959
|
key: G.value,
|
|
1960
1960
|
isEnableWrap: !0,
|
|
@@ -1970,7 +1970,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1970
1970
|
id: "themeBorderButton"
|
|
1971
1971
|
}, {
|
|
1972
1972
|
default: Re(() => x[13] || (x[13] = [
|
|
1973
|
-
|
|
1973
|
+
Tt(vt("取消"))
|
|
1974
1974
|
])),
|
|
1975
1975
|
_: 1,
|
|
1976
1976
|
__: [13]
|
|
@@ -1981,7 +1981,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1981
1981
|
id: "themeButton"
|
|
1982
1982
|
}, {
|
|
1983
1983
|
default: Re(() => x[14] || (x[14] = [
|
|
1984
|
-
|
|
1984
|
+
Tt(vt("确认"))
|
|
1985
1985
|
])),
|
|
1986
1986
|
_: 1,
|
|
1987
1987
|
__: [14]
|
|
@@ -1990,14 +1990,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
1990
1990
|
]),
|
|
1991
1991
|
_: 1
|
|
1992
1992
|
}, 8, ["visible"]),
|
|
1993
|
-
De(
|
|
1993
|
+
De(va, {
|
|
1994
1994
|
visible: de.value,
|
|
1995
1995
|
onBeforeDestroy: se,
|
|
1996
1996
|
width: 840
|
|
1997
1997
|
}, {
|
|
1998
1998
|
default: Re(() => [
|
|
1999
1999
|
ue("div", Lu, [
|
|
2000
|
-
(Ae(),
|
|
2000
|
+
(Ae(), zt(ca, {
|
|
2001
2001
|
rowContents: w.value,
|
|
2002
2002
|
key: w.value,
|
|
2003
2003
|
isEnableWrap: !0,
|
|
@@ -2013,7 +2013,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2013
2013
|
id: "themeBorderButton"
|
|
2014
2014
|
}, {
|
|
2015
2015
|
default: Re(() => x[15] || (x[15] = [
|
|
2016
|
-
|
|
2016
|
+
Tt(vt("取消"))
|
|
2017
2017
|
])),
|
|
2018
2018
|
_: 1,
|
|
2019
2019
|
__: [15]
|
|
@@ -2024,7 +2024,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2024
2024
|
id: "themeButton"
|
|
2025
2025
|
}, {
|
|
2026
2026
|
default: Re(() => x[16] || (x[16] = [
|
|
2027
|
-
|
|
2027
|
+
Tt(vt("确认"))
|
|
2028
2028
|
])),
|
|
2029
2029
|
_: 1,
|
|
2030
2030
|
__: [16]
|
|
@@ -2033,14 +2033,14 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2033
2033
|
]),
|
|
2034
2034
|
_: 1
|
|
2035
2035
|
}, 8, ["visible"]),
|
|
2036
|
-
De(
|
|
2036
|
+
De(va, {
|
|
2037
2037
|
visible: m.value,
|
|
2038
2038
|
onBeforeDestroy: be,
|
|
2039
2039
|
width: 840
|
|
2040
2040
|
}, {
|
|
2041
2041
|
default: Re(() => [
|
|
2042
2042
|
ue("div", ju, [
|
|
2043
|
-
(Ae(),
|
|
2043
|
+
(Ae(), zt(ca, {
|
|
2044
2044
|
rowContents: z.value,
|
|
2045
2045
|
key: z.value,
|
|
2046
2046
|
isEnableWrap: !0,
|
|
@@ -2058,7 +2058,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2058
2058
|
id: "themeBorderButton"
|
|
2059
2059
|
}, {
|
|
2060
2060
|
default: Re(() => x[17] || (x[17] = [
|
|
2061
|
-
|
|
2061
|
+
Tt(vt("取消"))
|
|
2062
2062
|
])),
|
|
2063
2063
|
_: 1,
|
|
2064
2064
|
__: [17]
|
|
@@ -2069,7 +2069,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2069
2069
|
id: "themeButton"
|
|
2070
2070
|
}, {
|
|
2071
2071
|
default: Re(() => x[18] || (x[18] = [
|
|
2072
|
-
|
|
2072
|
+
Tt(vt("确认"))
|
|
2073
2073
|
])),
|
|
2074
2074
|
_: 1,
|
|
2075
2075
|
__: [18]
|
|
@@ -2330,7 +2330,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2330
2330
|
};
|
|
2331
2331
|
return (p, f) => {
|
|
2332
2332
|
const _ = Ft("el-col"), S = Ft("el-row");
|
|
2333
|
-
return Ae(!0), Qe(Nt, null, Jt(s.value, (T) => (Ae(),
|
|
2333
|
+
return Ae(!0), Qe(Nt, null, Jt(s.value, (T) => (Ae(), zt(S, {
|
|
2334
2334
|
class: "style-row",
|
|
2335
2335
|
key: T == null ? void 0 : T.prop
|
|
2336
2336
|
}, {
|
|
@@ -2340,7 +2340,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2340
2340
|
class: "style-row-title"
|
|
2341
2341
|
}, {
|
|
2342
2342
|
default: Re(() => [
|
|
2343
|
-
|
|
2343
|
+
Tt(vt(T == null ? void 0 : T.label) + ":", 1)
|
|
2344
2344
|
]),
|
|
2345
2345
|
_: 2
|
|
2346
2346
|
}, 1024),
|
|
@@ -2349,7 +2349,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2349
2349
|
style: { display: "flex" }
|
|
2350
2350
|
}, {
|
|
2351
2351
|
default: Re(() => [
|
|
2352
|
-
(Ae(),
|
|
2352
|
+
(Ae(), zt(sn(c(T.type)), {
|
|
2353
2353
|
modelValue: T.value,
|
|
2354
2354
|
"onUpdate:modelValue": ($) => T.value = $,
|
|
2355
2355
|
content: T == null ? void 0 : T.options,
|
|
@@ -2673,16 +2673,16 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2673
2673
|
];
|
|
2674
2674
|
return w ? M == null ? void 0 : M.filter((b) => w == null ? void 0 : w.includes(b == null ? void 0 : b.prop)) : M;
|
|
2675
2675
|
}, $ = (U, de) => {
|
|
2676
|
-
var I, ce, Ue, st, $e, Ge, Ce, A,
|
|
2677
|
-
const w = (($e = (st = (Ue = (ce = (I = o == null ? void 0 : o.comp) == null ? void 0 : I.compData) == null ? void 0 : ce.find((
|
|
2678
|
-
value:
|
|
2679
|
-
label:
|
|
2680
|
-
}))) || [], M = /button/i, b = ((
|
|
2681
|
-
value:
|
|
2682
|
-
label:
|
|
2676
|
+
var I, ce, Ue, st, $e, Ge, Ce, A, ie;
|
|
2677
|
+
const w = (($e = (st = (Ue = (ce = (I = o == null ? void 0 : o.comp) == null ? void 0 : I.compData) == null ? void 0 : ce.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : Ue.contents) == null ? void 0 : st.filter((ae) => (ae == null ? void 0 : ae.label) !== "操作")) == null ? void 0 : $e.map((ae) => ({
|
|
2678
|
+
value: ae == null ? void 0 : ae.prop,
|
|
2679
|
+
label: ae.label
|
|
2680
|
+
}))) || [], M = /button/i, b = ((ie = (A = (Ce = (Ge = o == null ? void 0 : o.comp) == null ? void 0 : Ge.compData) == null ? void 0 : Ce.filter((ae) => M.test(ae == null ? void 0 : ae.key))) == null ? void 0 : A.flatMap((ae) => ae == null ? void 0 : ae.contents)) == null ? void 0 : ie.map((ae) => ({
|
|
2681
|
+
value: ae == null ? void 0 : ae.label,
|
|
2682
|
+
label: ae.label
|
|
2683
2683
|
}))) || [], z = S(w, b, U);
|
|
2684
|
-
f.value = de ? tc(z, de) : z, U && (U == null ? void 0 : U.length) > 0 && c.value.push(...U == null ? void 0 : U.map((
|
|
2685
|
-
prop:
|
|
2684
|
+
f.value = de ? tc(z, de) : z, U && (U == null ? void 0 : U.length) > 0 && c.value.push(...U == null ? void 0 : U.map((ae) => ({
|
|
2685
|
+
prop: ae,
|
|
2686
2686
|
rule: s
|
|
2687
2687
|
})));
|
|
2688
2688
|
};
|
|
@@ -2706,7 +2706,7 @@ const Ms = { class: "form-content" }, Rs = { title: "选择标签" }, Ls = {
|
|
|
2706
2706
|
}, G = (U) => {
|
|
2707
2707
|
i("onButtonClick", U);
|
|
2708
2708
|
};
|
|
2709
|
-
return (U, de) => (Ae(),
|
|
2709
|
+
return (U, de) => (Ae(), zt(ca, {
|
|
2710
2710
|
rowContents: f.value,
|
|
2711
2711
|
key: f.value,
|
|
2712
2712
|
isStartJustify: !1,
|
|
@@ -2736,33 +2736,33 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2736
2736
|
},
|
|
2737
2737
|
emits: ["change"],
|
|
2738
2738
|
setup(a, { emit: r }) {
|
|
2739
|
-
const o = a, i = r, s = fe(!1), c = fe([]), m = fe([]), p = fe(!1), f = fe([]), _ = fe([]), S = fe(""), T = fe(!1), $ = fe(0), B = fe([]), W = fe([]), Ee = (A,
|
|
2740
|
-
if ((
|
|
2741
|
-
const
|
|
2742
|
-
return (
|
|
2743
|
-
}
|
|
2744
|
-
if ((
|
|
2745
|
-
const
|
|
2746
|
-
return (
|
|
2747
|
-
}
|
|
2748
|
-
if ((
|
|
2749
|
-
const
|
|
2750
|
-
return (
|
|
2751
|
-
}
|
|
2752
|
-
if ((
|
|
2753
|
-
return (
|
|
2754
|
-
if ((
|
|
2755
|
-
const
|
|
2756
|
-
return kr(
|
|
2757
|
-
}
|
|
2758
|
-
return (A == null ? void 0 : A.label) === "类型" &&
|
|
2739
|
+
const o = a, i = r, s = fe(!1), c = fe([]), m = fe([]), p = fe(!1), f = fe([]), _ = fe([]), S = fe(""), T = fe(!1), $ = fe(0), B = fe([]), W = fe([]), Ee = (A, ie) => {
|
|
2740
|
+
if ((ie == null ? void 0 : ie.type) == "Select" && (A == null ? void 0 : A.key) === "selectRelateType") {
|
|
2741
|
+
const ae = ie == null ? void 0 : ie.optionUrl;
|
|
2742
|
+
return (ae == null ? void 0 : ae.selectRelateType) || ie[A.key];
|
|
2743
|
+
}
|
|
2744
|
+
if ((ie == null ? void 0 : ie.type) == "Select" && (A == null ? void 0 : A.key) === "menuSelect") {
|
|
2745
|
+
const ae = ie == null ? void 0 : ie.optionUrl;
|
|
2746
|
+
return (ae == null ? void 0 : ae.menuSelect) || ie[A.key];
|
|
2747
|
+
}
|
|
2748
|
+
if ((ie == null ? void 0 : ie.type) == "Select" && (A == null ? void 0 : A.key) === "groupSelect") {
|
|
2749
|
+
const ae = ie == null ? void 0 : ie.optionUrl;
|
|
2750
|
+
return (ae == null ? void 0 : ae.groupSelect) || ie[A.key];
|
|
2751
|
+
}
|
|
2752
|
+
if ((ie == null ? void 0 : ie.type) == "Select" && (A == null ? void 0 : A.key) === "originalContent")
|
|
2753
|
+
return (ie == null ? void 0 : ie.value) || ie[A.key];
|
|
2754
|
+
if ((ie == null ? void 0 : ie.type) == "Select" && (A == null ? void 0 : A.key) === "multiple") {
|
|
2755
|
+
const ae = ie[A.key];
|
|
2756
|
+
return kr(ae) ? ae : A.default;
|
|
2757
|
+
}
|
|
2758
|
+
return (A == null ? void 0 : A.label) === "类型" && ie[A.key] === "" ? "Input" : (A == null ? void 0 : A.key) === "isFormColHidden" && !ie[A.key] ? !1 : ie[A.key];
|
|
2759
2759
|
}, G = async (A) => {
|
|
2760
2760
|
var be, qe, ct, Be, E, Oe;
|
|
2761
2761
|
s.value = !0;
|
|
2762
|
-
let
|
|
2763
|
-
const
|
|
2764
|
-
if (
|
|
2765
|
-
$.value++,
|
|
2762
|
+
let ie = [];
|
|
2763
|
+
const ae = await ((ct = (qe = (be = ga) == null ? void 0 : be.find((se) => (se == null ? void 0 : se.key) === ((A == null ? void 0 : A.type) === "" ? "Input" : A == null ? void 0 : A.type))) == null ? void 0 : qe.value) == null ? void 0 : ct.value) ?? ((E = (Be = ga) == null ? void 0 : Be.find((se) => (se == null ? void 0 : se.key) === ((A == null ? void 0 : A.type) === "" ? "Input" : A == null ? void 0 : A.type))) == null ? void 0 : E.value);
|
|
2764
|
+
if (ae == null || ae.forEach((se) => {
|
|
2765
|
+
$.value++, ie.push({
|
|
2766
2766
|
label: se == null ? void 0 : se.label,
|
|
2767
2767
|
name: se == null ? void 0 : se.label,
|
|
2768
2768
|
type: se.type,
|
|
@@ -2775,15 +2775,15 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2775
2775
|
});
|
|
2776
2776
|
}), A != null && A.menuSelect && ((Oe = A == null ? void 0 : A.menuSelect) == null ? void 0 : Oe.length) > 0) {
|
|
2777
2777
|
const se = await $n(A == null ? void 0 : A.menuSelect);
|
|
2778
|
-
|
|
2778
|
+
ie = ie == null ? void 0 : ie.map((Le) => ((Le == null ? void 0 : Le.name) === "组信息选项" && (Le.contents = se), Le));
|
|
2779
2779
|
}
|
|
2780
|
-
S.value = A == null ? void 0 : A.id, c.value = await an(xn(
|
|
2780
|
+
S.value = A == null ? void 0 : A.id, c.value = await an(xn(ie)), m.value = await an(xn(ie));
|
|
2781
2781
|
}, U = (A) => {
|
|
2782
|
-
var
|
|
2782
|
+
var ae;
|
|
2783
2783
|
p.value = !0;
|
|
2784
|
-
let
|
|
2785
|
-
(
|
|
2786
|
-
$.value++,
|
|
2784
|
+
let ie = [];
|
|
2785
|
+
(ae = Ni) == null || ae.forEach((be) => {
|
|
2786
|
+
$.value++, ie.push({
|
|
2787
2787
|
label: be == null ? void 0 : be.label,
|
|
2788
2788
|
name: be == null ? void 0 : be.label,
|
|
2789
2789
|
type: be.type,
|
|
@@ -2791,14 +2791,14 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2791
2791
|
id: $.value,
|
|
2792
2792
|
contents: be == null ? void 0 : be.options
|
|
2793
2793
|
});
|
|
2794
|
-
}), B.value =
|
|
2794
|
+
}), B.value = ie, W.value = ie, S.value = A == null ? void 0 : A.id;
|
|
2795
2795
|
};
|
|
2796
2796
|
kt(
|
|
2797
2797
|
() => T.value,
|
|
2798
2798
|
() => {
|
|
2799
|
-
var
|
|
2799
|
+
var ie, ae;
|
|
2800
2800
|
let A = v(o.originalItemContents);
|
|
2801
|
-
(
|
|
2801
|
+
(ie = v(o.originalItemContents)) != null && ie.find((be) => (be == null ? void 0 : be.key) === "enableWrap") ? A = (ae = v(o.originalItemContents)) == null ? void 0 : ae.map((be) => ((be == null ? void 0 : be.key) === "enableWrap" && (be.contents = !T.value), be)) : A.push({
|
|
2802
2802
|
key: "enableWrap",
|
|
2803
2803
|
contents: !T.value
|
|
2804
2804
|
}), i("change", A);
|
|
@@ -2806,12 +2806,12 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2806
2806
|
{ deep: !0 }
|
|
2807
2807
|
);
|
|
2808
2808
|
const de = () => {
|
|
2809
|
-
var
|
|
2809
|
+
var ae, be, qe, ct, Be;
|
|
2810
2810
|
B.value = W.value;
|
|
2811
2811
|
let A = {};
|
|
2812
|
-
if (S.value !== "" ? A.id = S.value : ($.value++, A.id = "id" + $.value), (
|
|
2812
|
+
if (S.value !== "" ? A.id = S.value : ($.value++, A.id = "id" + $.value), (ae = B.value) == null || ae.forEach((E) => {
|
|
2813
2813
|
var se;
|
|
2814
|
-
const Oe = (se =
|
|
2814
|
+
const Oe = (se = Ni) == null ? void 0 : se.find((Le) => (Le == null ? void 0 : Le.label) === (E == null ? void 0 : E.label));
|
|
2815
2815
|
Oe && (A[Oe.key] = E.value);
|
|
2816
2816
|
}), (be = f.value) != null && be.find((E) => E.id === A.id))
|
|
2817
2817
|
f.value = (qe = f.value) == null ? void 0 : qe.map((E) => (E.id === A.id && (E = A), E));
|
|
@@ -2820,11 +2820,11 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2820
2820
|
f.value || (f.value = []), E.push(A), f.value = E;
|
|
2821
2821
|
}
|
|
2822
2822
|
p.value = !1, S.value = "";
|
|
2823
|
-
let
|
|
2824
|
-
(ct = v(o.originalItemContents)) != null && ct.find((E) => (E == null ? void 0 : E.key) === "formButton") ?
|
|
2823
|
+
let ie = v(o.originalItemContents);
|
|
2824
|
+
(ct = v(o.originalItemContents)) != null && ct.find((E) => (E == null ? void 0 : E.key) === "formButton") ? ie = (Be = v(o.originalItemContents)) == null ? void 0 : Be.map((E) => ((E == null ? void 0 : E.key) === "formButton" && (E.contents = f.value), E)) : ie.push({
|
|
2825
2825
|
key: "formButton",
|
|
2826
2826
|
contents: f.value
|
|
2827
|
-
}), i("change",
|
|
2827
|
+
}), i("change", ie);
|
|
2828
2828
|
}, w = (A) => {
|
|
2829
2829
|
Ya.confirm("是否确认要删除", "", {
|
|
2830
2830
|
confirmButtonText: "确认",
|
|
@@ -2832,8 +2832,8 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2832
2832
|
type: "warning"
|
|
2833
2833
|
}).then(
|
|
2834
2834
|
() => {
|
|
2835
|
-
var
|
|
2836
|
-
_.value = (
|
|
2835
|
+
var ie, ae;
|
|
2836
|
+
_.value = (ie = v(_.value)) == null ? void 0 : ie.filter((be) => (be == null ? void 0 : be.id) !== (A == null ? void 0 : A.id)), i("change", (ae = v(o.originalItemContents)) == null ? void 0 : ae.map((be) => ((be == null ? void 0 : be.key) === "formContent" && (be.contents = _.value), be))), Ut({
|
|
2837
2837
|
type: "success",
|
|
2838
2838
|
message: "删除成功"
|
|
2839
2839
|
});
|
|
@@ -2847,8 +2847,8 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2847
2847
|
type: "warning"
|
|
2848
2848
|
}).then(
|
|
2849
2849
|
() => {
|
|
2850
|
-
var
|
|
2851
|
-
f.value = (
|
|
2850
|
+
var ie, ae;
|
|
2851
|
+
f.value = (ie = v(f.value)) == null ? void 0 : ie.filter((be) => (be == null ? void 0 : be.id) !== (A == null ? void 0 : A.id)), i("change", (ae = v(o.originalItemContents)) == null ? void 0 : ae.map((be) => ((be == null ? void 0 : be.key) === "formButton" && (be.contents = f.value), be))), Ut({
|
|
2852
2852
|
type: "success",
|
|
2853
2853
|
message: "删除成功"
|
|
2854
2854
|
});
|
|
@@ -2856,24 +2856,24 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2856
2856
|
).catch(() => {
|
|
2857
2857
|
});
|
|
2858
2858
|
}, b = () => {
|
|
2859
|
-
var
|
|
2859
|
+
var ie;
|
|
2860
2860
|
p.value = !0;
|
|
2861
2861
|
let A = [];
|
|
2862
|
-
(
|
|
2862
|
+
(ie = Ni) == null || ie.forEach((ae) => {
|
|
2863
2863
|
$.value++, A.push({
|
|
2864
|
-
label:
|
|
2865
|
-
name:
|
|
2866
|
-
type:
|
|
2867
|
-
value: (
|
|
2864
|
+
label: ae == null ? void 0 : ae.label,
|
|
2865
|
+
name: ae == null ? void 0 : ae.label,
|
|
2866
|
+
type: ae.type,
|
|
2867
|
+
value: (ae == null ? void 0 : ae.label) === "类型" ? "normal" : "",
|
|
2868
2868
|
id: $.value,
|
|
2869
|
-
contents:
|
|
2869
|
+
contents: ae == null ? void 0 : ae.options
|
|
2870
2870
|
});
|
|
2871
2871
|
}), B.value = A, W.value = A;
|
|
2872
2872
|
}, z = () => {
|
|
2873
|
-
var
|
|
2873
|
+
var ie, ae, be;
|
|
2874
2874
|
s.value = !0;
|
|
2875
2875
|
let A = [];
|
|
2876
|
-
(be = (
|
|
2876
|
+
(be = (ae = (ie = ga) == null ? void 0 : ie.find((qe) => (qe == null ? void 0 : qe.key) === "Input")) == null ? void 0 : ae.value) == null || be.forEach((qe) => {
|
|
2877
2877
|
$.value++, A.push({
|
|
2878
2878
|
label: qe == null ? void 0 : qe.label,
|
|
2879
2879
|
name: qe == null ? void 0 : qe.label,
|
|
@@ -2884,19 +2884,19 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2884
2884
|
});
|
|
2885
2885
|
}), c.value = A, m.value = A;
|
|
2886
2886
|
}, I = (A) => {
|
|
2887
|
-
let
|
|
2888
|
-
|
|
2887
|
+
let ie = v(W.value);
|
|
2888
|
+
ie = ie == null ? void 0 : ie.map((ae) => (ae.value = A == null ? void 0 : A[ae.name], ae)), W.value = ie;
|
|
2889
2889
|
}, ce = (A) => {
|
|
2890
|
-
const
|
|
2891
|
-
if ((
|
|
2890
|
+
const ie = A.find((qe) => (qe == null ? void 0 : qe.name) === "类型");
|
|
2891
|
+
if ((ie == null ? void 0 : ie.value) != "Select")
|
|
2892
2892
|
return;
|
|
2893
|
-
const
|
|
2894
|
-
|
|
2893
|
+
const ae = A.find((qe) => (qe == null ? void 0 : qe.name) === "多选"), be = A.find((qe) => (qe == null ? void 0 : qe.name) === "初始值");
|
|
2894
|
+
ae != null && ae.value && _l(be.value) && (be.value = [be.value]), !(ae != null && ae.value) && !_l(be.value) && (be.value = "");
|
|
2895
2895
|
}, Ue = async (A) => {
|
|
2896
|
-
var
|
|
2897
|
-
if ((A == null ? void 0 : A.类型) !== ((
|
|
2896
|
+
var ie, ae, be, qe, ct, Be, E, Oe, se, Le, Ke, Se;
|
|
2897
|
+
if ((A == null ? void 0 : A.类型) !== ((ae = (ie = m.value) == null ? void 0 : ie.find((Ve) => (Ve == null ? void 0 : Ve.label) === "类型")) == null ? void 0 : ae.value)) {
|
|
2898
2898
|
let Ve = [];
|
|
2899
|
-
const dt = await ((ct = (qe = (be =
|
|
2899
|
+
const dt = await ((ct = (qe = (be = ga) == null ? void 0 : be.find((X) => (X == null ? void 0 : X.key) === ((A == null ? void 0 : A.类型) === "" ? "Input" : A == null ? void 0 : A.类型))) == null ? void 0 : qe.value) == null ? void 0 : ct.value) ? await ((Le = (se = (Oe = ga) == null ? void 0 : Oe.find((X) => (X == null ? void 0 : X.key) === ((A == null ? void 0 : A.类型) === "" ? "Input" : A == null ? void 0 : A.类型))) == null ? void 0 : se.value) == null ? void 0 : Le.value) : (E = (Be = ga) == null ? void 0 : Be.find((X) => (X == null ? void 0 : X.key) === ((A == null ? void 0 : A.类型) === "" ? "Input" : A == null ? void 0 : A.类型))) == null ? void 0 : E.value;
|
|
2900
2900
|
if (dt == null || dt.forEach((X) => {
|
|
2901
2901
|
var pt, it;
|
|
2902
2902
|
$.value++;
|
|
@@ -2933,15 +2933,15 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2933
2933
|
c.value = m.value;
|
|
2934
2934
|
let A = {};
|
|
2935
2935
|
A.width = ((qe = (be = c.value) == null ? void 0 : be[0]) == null ? void 0 : qe.width) ?? 1, S.value !== "" ? A.id = S.value : ($.value++, A.id = "id" + $.value);
|
|
2936
|
-
let
|
|
2936
|
+
let ie = await ((E = (Be = (ct = ga) == null ? void 0 : ct.find((X) => {
|
|
2937
2937
|
var at, pt;
|
|
2938
2938
|
return (X == null ? void 0 : X.key) === (((pt = (at = c.value) == null ? void 0 : at.find((it) => (it == null ? void 0 : it.label) === "类型")) == null ? void 0 : pt.value) ?? "label");
|
|
2939
|
-
})) == null ? void 0 : Be.value) == null ? void 0 : E.value) ?? ((se = (Oe =
|
|
2939
|
+
})) == null ? void 0 : Be.value) == null ? void 0 : E.value) ?? ((se = (Oe = ga) == null ? void 0 : Oe.find((X) => {
|
|
2940
2940
|
var at, pt;
|
|
2941
2941
|
return (X == null ? void 0 : X.key) === (((pt = (at = c.value) == null ? void 0 : at.find((it) => (it == null ? void 0 : it.label) === "类型")) == null ? void 0 : pt.value) ?? "label");
|
|
2942
2942
|
})) == null ? void 0 : se.value);
|
|
2943
2943
|
if ((Le = c.value) == null || Le.forEach((X) => {
|
|
2944
|
-
const at =
|
|
2944
|
+
const at = ie == null ? void 0 : ie.find((pt) => (pt == null ? void 0 : pt.label) === (X == null ? void 0 : X.label));
|
|
2945
2945
|
at && (A[at.key] = X.value);
|
|
2946
2946
|
}), A.width = A.width ? A.width : 1, A.key = A == null ? void 0 : A.label, A.isFormColHidden = A == null ? void 0 : A.isFormColHidden, (Ke = _.value) != null && Ke.find((X) => X.id === A.id))
|
|
2947
2947
|
_.value = (Se = _.value) == null ? void 0 : Se.map((X) => (X.id === A.id && (X = A), X));
|
|
@@ -2950,21 +2950,21 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2950
2950
|
X.push(A), _.value = X;
|
|
2951
2951
|
}
|
|
2952
2952
|
_.value = _.value.map(({ id: X, ...at }) => at), s.value = !1, S.value = "";
|
|
2953
|
-
let
|
|
2954
|
-
(Ve = v(o.originalItemContents)) != null && Ve.find((X) => (X == null ? void 0 : X.key) === "formContent") ?
|
|
2953
|
+
let ae = v(o.originalItemContents);
|
|
2954
|
+
(Ve = v(o.originalItemContents)) != null && Ve.find((X) => (X == null ? void 0 : X.key) === "formContent") ? ae = (dt = v(o.originalItemContents)) == null ? void 0 : dt.map((X) => ((X == null ? void 0 : X.key) === "formContent" && (X.contents = _.value), X)) : ae.push({
|
|
2955
2955
|
key: "formContent",
|
|
2956
2956
|
contents: _.value
|
|
2957
|
-
}), i("change",
|
|
2957
|
+
}), i("change", ae);
|
|
2958
2958
|
}, 300), Ce = () => {
|
|
2959
2959
|
s.value = !1, p.value = !1, S.value = "", m.value = [], W.value = [];
|
|
2960
2960
|
};
|
|
2961
2961
|
return kt(
|
|
2962
2962
|
() => o.originalItemContents,
|
|
2963
2963
|
() => {
|
|
2964
|
-
var
|
|
2964
|
+
var ie, ae, be, qe, ct, Be;
|
|
2965
2965
|
if (!o.originalItemContents || o.originalItemContents.length === 0) return;
|
|
2966
2966
|
const A = v(o.originalItemContents);
|
|
2967
|
-
_.value = ((
|
|
2967
|
+
_.value = ((ie = A == null ? void 0 : A.find((E) => (E == null ? void 0 : E.key) === "formContent")) == null ? void 0 : ie.contents) ?? [], f.value = ((ae = A == null ? void 0 : A.find((E) => (E == null ? void 0 : E.key) === "formButton")) == null ? void 0 : ae.contents) ?? [], T.value = (be = A == null ? void 0 : A.find((E) => (E == null ? void 0 : E.key) === "enableWrap")) != null && be.contents ? !((qe = A == null ? void 0 : A.find((E) => (E == null ? void 0 : E.key) === "enableWrap")) != null && qe.contents) : !0, _.value = (ct = v(_.value)) == null ? void 0 : ct.map((E, Oe) => {
|
|
2968
2968
|
var Le;
|
|
2969
2969
|
let se = E;
|
|
2970
2970
|
return se.id = (E == null ? void 0 : E.id) ?? Oe, 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 = ((Le = E == null ? void 0 : E.options) == null ? void 0 : Le.length) === 0 ? (E == null ? void 0 : E.contents) ?? "" : E == null ? void 0 : E.options, se;
|
|
@@ -2976,25 +2976,25 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
2976
2976
|
});
|
|
2977
2977
|
},
|
|
2978
2978
|
{ deep: !0, immediate: !0 }
|
|
2979
|
-
), (A,
|
|
2980
|
-
const
|
|
2979
|
+
), (A, ie) => {
|
|
2980
|
+
const ae = Ft("svg-icon"), be = Ft("el-button");
|
|
2981
2981
|
return Ae(), Qe("div", uc, [
|
|
2982
2982
|
ue("div", cc, [
|
|
2983
2983
|
ue("div", dc, [
|
|
2984
|
-
|
|
2984
|
+
ie[2] || (ie[2] = ue("div", null, vt("表单内容"), -1)),
|
|
2985
2985
|
De(be, {
|
|
2986
2986
|
class: "icon-content",
|
|
2987
2987
|
id: "themeButton",
|
|
2988
2988
|
onClick: z
|
|
2989
2989
|
}, {
|
|
2990
2990
|
icon: Re(() => [
|
|
2991
|
-
De(
|
|
2991
|
+
De(ae, {
|
|
2992
2992
|
name: "Plus",
|
|
2993
2993
|
class: "icon-size"
|
|
2994
2994
|
})
|
|
2995
2995
|
]),
|
|
2996
2996
|
default: Re(() => [
|
|
2997
|
-
|
|
2997
|
+
ie[1] || (ie[1] = ue("div", null, vt("新增"), -1))
|
|
2998
2998
|
]),
|
|
2999
2999
|
_: 1,
|
|
3000
3000
|
__: [1]
|
|
@@ -3005,13 +3005,13 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3005
3005
|
ue("div", pc, [
|
|
3006
3006
|
ue("div", null, vt(qe.label), 1),
|
|
3007
3007
|
ue("div", hc, [
|
|
3008
|
-
De(
|
|
3008
|
+
De(ae, {
|
|
3009
3009
|
name: "ChildFix",
|
|
3010
3010
|
class: "svg-icon-content",
|
|
3011
3011
|
style: { width: "24px", height: "24px" },
|
|
3012
3012
|
onClick: (Be) => G(qe)
|
|
3013
3013
|
}, null, 8, ["onClick"]),
|
|
3014
|
-
De(
|
|
3014
|
+
De(ae, {
|
|
3015
3015
|
name: "ChildDelete",
|
|
3016
3016
|
class: "svg-icon-content",
|
|
3017
3017
|
style: { width: "24px", height: "24px" },
|
|
@@ -3022,20 +3022,20 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3022
3022
|
]))), 128))
|
|
3023
3023
|
]),
|
|
3024
3024
|
ue("div", vc, [
|
|
3025
|
-
|
|
3025
|
+
ie[4] || (ie[4] = ue("div", null, vt("表单按钮"), -1)),
|
|
3026
3026
|
De(be, {
|
|
3027
3027
|
class: "icon-content",
|
|
3028
3028
|
id: "themeButton",
|
|
3029
3029
|
onClick: b
|
|
3030
3030
|
}, {
|
|
3031
3031
|
icon: Re(() => [
|
|
3032
|
-
De(
|
|
3032
|
+
De(ae, {
|
|
3033
3033
|
name: "Plus",
|
|
3034
3034
|
class: "icon-size"
|
|
3035
3035
|
})
|
|
3036
3036
|
]),
|
|
3037
3037
|
default: Re(() => [
|
|
3038
|
-
|
|
3038
|
+
ie[3] || (ie[3] = Tt(" 新增 "))
|
|
3039
3039
|
]),
|
|
3040
3040
|
_: 1,
|
|
3041
3041
|
__: [3]
|
|
@@ -3046,13 +3046,13 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3046
3046
|
ue("div", yc, [
|
|
3047
3047
|
ue("div", null, vt(qe.label), 1),
|
|
3048
3048
|
ue("div", mc, [
|
|
3049
|
-
De(
|
|
3049
|
+
De(ae, {
|
|
3050
3050
|
name: "ChildFix",
|
|
3051
3051
|
class: "svg-icon-content",
|
|
3052
3052
|
style: { width: "24px", height: "24px" },
|
|
3053
3053
|
onClick: (Be) => U(qe)
|
|
3054
3054
|
}, null, 8, ["onClick"]),
|
|
3055
|
-
De(
|
|
3055
|
+
De(ae, {
|
|
3056
3056
|
name: "ChildDelete",
|
|
3057
3057
|
class: "svg-icon-content",
|
|
3058
3058
|
style: { width: "24px", height: "24px" },
|
|
@@ -3062,25 +3062,25 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3062
3062
|
])
|
|
3063
3063
|
]))), 128))
|
|
3064
3064
|
]),
|
|
3065
|
-
|
|
3065
|
+
ie[6] || (ie[6] = ue("div", { class: "operate-title" }, [
|
|
3066
3066
|
ue("div", null, vt("表单布局"))
|
|
3067
3067
|
], -1)),
|
|
3068
3068
|
ue("div", bc, [
|
|
3069
|
-
|
|
3069
|
+
ie[5] || (ie[5] = ue("div", { class: "operate-center-content" }, vt("是否自动撑宽"), -1)),
|
|
3070
3070
|
De(rl, {
|
|
3071
3071
|
modelValue: T.value,
|
|
3072
|
-
"onUpdate:modelValue":
|
|
3072
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (qe) => T.value = qe)
|
|
3073
3073
|
}, null, 8, ["modelValue"])
|
|
3074
3074
|
])
|
|
3075
3075
|
]),
|
|
3076
|
-
De(
|
|
3076
|
+
De(va, {
|
|
3077
3077
|
visible: s.value,
|
|
3078
3078
|
onBeforeDestroy: Ce,
|
|
3079
3079
|
width: 840
|
|
3080
3080
|
}, {
|
|
3081
3081
|
default: Re(() => [
|
|
3082
3082
|
ue("div", kc, [
|
|
3083
|
-
(Ae(),
|
|
3083
|
+
(Ae(), zt(ca, {
|
|
3084
3084
|
rowContents: c.value,
|
|
3085
3085
|
key: c.value,
|
|
3086
3086
|
isEnableWrap: !0,
|
|
@@ -3097,8 +3097,8 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3097
3097
|
class: "cancel-button button",
|
|
3098
3098
|
id: "themeBorderButton"
|
|
3099
3099
|
}, {
|
|
3100
|
-
default: Re(() =>
|
|
3101
|
-
|
|
3100
|
+
default: Re(() => ie[7] || (ie[7] = [
|
|
3101
|
+
Tt(vt("取消"))
|
|
3102
3102
|
])),
|
|
3103
3103
|
_: 1,
|
|
3104
3104
|
__: [7]
|
|
@@ -3108,8 +3108,8 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3108
3108
|
onClick: Rt(Ge),
|
|
3109
3109
|
id: "themeButton"
|
|
3110
3110
|
}, {
|
|
3111
|
-
default: Re(() =>
|
|
3112
|
-
|
|
3111
|
+
default: Re(() => ie[8] || (ie[8] = [
|
|
3112
|
+
Tt(vt("确认"))
|
|
3113
3113
|
])),
|
|
3114
3114
|
_: 1,
|
|
3115
3115
|
__: [8]
|
|
@@ -3118,14 +3118,14 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3118
3118
|
]),
|
|
3119
3119
|
_: 1
|
|
3120
3120
|
}, 8, ["visible"]),
|
|
3121
|
-
De(
|
|
3121
|
+
De(va, {
|
|
3122
3122
|
visible: p.value,
|
|
3123
3123
|
onBeforeDestroy: Ce,
|
|
3124
3124
|
width: 840
|
|
3125
3125
|
}, {
|
|
3126
3126
|
default: Re(() => [
|
|
3127
3127
|
ue("div", wc, [
|
|
3128
|
-
(Ae(),
|
|
3128
|
+
(Ae(), zt(ca, {
|
|
3129
3129
|
rowContents: B.value,
|
|
3130
3130
|
key: B.value,
|
|
3131
3131
|
isEnableWrap: !0,
|
|
@@ -3341,7 +3341,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3341
3341
|
})
|
|
3342
3342
|
]),
|
|
3343
3343
|
default: Re(() => [
|
|
3344
|
-
U[1] || (U[1] =
|
|
3344
|
+
U[1] || (U[1] = Tt(" 新增 "))
|
|
3345
3345
|
]),
|
|
3346
3346
|
_: 1,
|
|
3347
3347
|
__: [1]
|
|
@@ -3360,7 +3360,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3360
3360
|
onClick: (z) => $("update", { ...M, index: b + 1 })
|
|
3361
3361
|
}, {
|
|
3362
3362
|
default: Re(() => U[3] || (U[3] = [
|
|
3363
|
-
|
|
3363
|
+
Tt("修改")
|
|
3364
3364
|
])),
|
|
3365
3365
|
_: 2,
|
|
3366
3366
|
__: [3]
|
|
@@ -3371,7 +3371,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3371
3371
|
onClick: (z) => $("delete", b)
|
|
3372
3372
|
}, {
|
|
3373
3373
|
default: Re(() => U[4] || (U[4] = [
|
|
3374
|
-
|
|
3374
|
+
Tt("删除")
|
|
3375
3375
|
])),
|
|
3376
3376
|
_: 2,
|
|
3377
3377
|
__: [4]
|
|
@@ -3387,7 +3387,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3387
3387
|
}, null, 8, ["rowContents"])
|
|
3388
3388
|
])
|
|
3389
3389
|
]),
|
|
3390
|
-
De(
|
|
3390
|
+
De(va, {
|
|
3391
3391
|
visible: p.visible,
|
|
3392
3392
|
title: p.title,
|
|
3393
3393
|
onBeforeDestroy: Ee,
|
|
@@ -3395,7 +3395,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3395
3395
|
}, {
|
|
3396
3396
|
default: Re(() => [
|
|
3397
3397
|
ue("div", Dc, [
|
|
3398
|
-
(Ae(),
|
|
3398
|
+
(Ae(), zt(ca, {
|
|
3399
3399
|
rowContents: c.value,
|
|
3400
3400
|
key: c.value,
|
|
3401
3401
|
isEnableWrap: !1,
|
|
@@ -3637,7 +3637,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3637
3637
|
})
|
|
3638
3638
|
]),
|
|
3639
3639
|
default: Re(() => [
|
|
3640
|
-
U[1] || (U[1] =
|
|
3640
|
+
U[1] || (U[1] = Tt(" 新增 "))
|
|
3641
3641
|
]),
|
|
3642
3642
|
_: 1,
|
|
3643
3643
|
__: [1]
|
|
@@ -3656,7 +3656,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3656
3656
|
onClick: (z) => $("update", { ...M, index: b + 1 })
|
|
3657
3657
|
}, {
|
|
3658
3658
|
default: Re(() => U[3] || (U[3] = [
|
|
3659
|
-
|
|
3659
|
+
Tt("修改")
|
|
3660
3660
|
])),
|
|
3661
3661
|
_: 2,
|
|
3662
3662
|
__: [3]
|
|
@@ -3667,7 +3667,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3667
3667
|
onClick: (z) => $("delete", b)
|
|
3668
3668
|
}, {
|
|
3669
3669
|
default: Re(() => U[4] || (U[4] = [
|
|
3670
|
-
|
|
3670
|
+
Tt("删除")
|
|
3671
3671
|
])),
|
|
3672
3672
|
_: 2,
|
|
3673
3673
|
__: [4]
|
|
@@ -3683,7 +3683,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3683
3683
|
}, null, 8, ["rowContents"])
|
|
3684
3684
|
])
|
|
3685
3685
|
]),
|
|
3686
|
-
De(
|
|
3686
|
+
De(va, {
|
|
3687
3687
|
visible: S.visible,
|
|
3688
3688
|
title: S.title,
|
|
3689
3689
|
onBeforeDestroy: Ee,
|
|
@@ -3691,7 +3691,7 @@ const sc = /* @__PURE__ */ Zt(rc, [["render", oc]]), uc = { class: "form-operate
|
|
|
3691
3691
|
}, {
|
|
3692
3692
|
default: Re(() => [
|
|
3693
3693
|
ue("div", Pc, [
|
|
3694
|
-
(Ae(),
|
|
3694
|
+
(Ae(), zt(ca, {
|
|
3695
3695
|
rowContents: f.value,
|
|
3696
3696
|
key: f.value,
|
|
3697
3697
|
isEnableWrap: !1,
|
|
@@ -3758,15 +3758,15 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3758
3758
|
}, $ = (w) => {
|
|
3759
3759
|
var Ue, st, $e, Ge;
|
|
3760
3760
|
const M = (st = (Ue = Object.values(v(f.value))) == null ? void 0 : Ue[0]) == null ? void 0 : st.filter((Ce) => (Ce == null ? void 0 : Ce.key) === "tableContentName"), b = (Ge = ($e = Object.values(v(f.value))) == null ? void 0 : $e[0]) == null ? void 0 : Ge.filter((Ce) => (Ce == null ? void 0 : Ce.key) !== "tableContentName"), z = b == null ? void 0 : b.map((Ce, A) => {
|
|
3761
|
-
var
|
|
3762
|
-
return A === w.index && (Ce == null ? void 0 : Ce.comp) === "Table" && (Ce.compData = (
|
|
3761
|
+
var ie;
|
|
3762
|
+
return A === w.index && (Ce == null ? void 0 : Ce.comp) === "Table" && (Ce.compData = (ie = Ce.compData) == null ? void 0 : ie.map((ae) => {
|
|
3763
3763
|
var be, qe;
|
|
3764
|
-
return (
|
|
3764
|
+
return (ae == null ? void 0 : ae.key) === "tableContents" && (ae.contents = (qe = (be = w.content) == null ? void 0 : be.map((ct) => {
|
|
3765
3765
|
let Be = {};
|
|
3766
3766
|
for (let E in ct)
|
|
3767
3767
|
E !== "id" && (Be[E] = ct[E]);
|
|
3768
3768
|
return Be;
|
|
3769
|
-
})) == null ? void 0 : qe.map((ct) => Object.values(ct))),
|
|
3769
|
+
})) == null ? void 0 : qe.map((ct) => Object.values(ct))), ae;
|
|
3770
3770
|
})), Ce;
|
|
3771
3771
|
});
|
|
3772
3772
|
z.unshift(M == null ? void 0 : M[0]);
|
|
@@ -3804,7 +3804,7 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3804
3804
|
return Ae(), Qe("div", Fc, [
|
|
3805
3805
|
(Ae(!0), Qe(Nt, null, Jt(s.value, (z, I) => (Ae(), Qe("div", { key: i.value }, [
|
|
3806
3806
|
(z == null ? void 0 : z.key) === "extra" ? (Ae(), Qe("div", jc)) : (Ae(), Qe("div", Uc, [
|
|
3807
|
-
(Ae(),
|
|
3807
|
+
(Ae(), zt(sn(de(z.comp)), {
|
|
3808
3808
|
itemData: z == null ? void 0 : z.compData,
|
|
3809
3809
|
childItemData: z == null ? void 0 : z.itemChildData,
|
|
3810
3810
|
key: I,
|
|
@@ -3814,7 +3814,7 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3814
3814
|
}, null, 40, ["itemData", "childItemData", "index"]))
|
|
3815
3815
|
]))
|
|
3816
3816
|
]))), 128)),
|
|
3817
|
-
De(
|
|
3817
|
+
De(va, {
|
|
3818
3818
|
visible: p.value,
|
|
3819
3819
|
onBeforeDestroy: G
|
|
3820
3820
|
}, {
|
|
@@ -3823,7 +3823,7 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3823
3823
|
key: I,
|
|
3824
3824
|
class: "extra-dialog"
|
|
3825
3825
|
}, [
|
|
3826
|
-
(Ae(),
|
|
3826
|
+
(Ae(), zt(sn(de(z.comp)), {
|
|
3827
3827
|
itemData: z == null ? void 0 : z.compData,
|
|
3828
3828
|
onChange: $,
|
|
3829
3829
|
childItemData: z == null ? void 0 : z.itemChildData,
|
|
@@ -3842,7 +3842,7 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3842
3842
|
id: "themeBorderButton"
|
|
3843
3843
|
}, {
|
|
3844
3844
|
default: Re(() => M[0] || (M[0] = [
|
|
3845
|
-
|
|
3845
|
+
Tt(vt("取消"))
|
|
3846
3846
|
])),
|
|
3847
3847
|
_: 1,
|
|
3848
3848
|
__: [0]
|
|
@@ -3853,7 +3853,7 @@ const Lc = /* @__PURE__ */ Zt(Mc, [["render", Rc]]), Fc = { class: "extra-conten
|
|
|
3853
3853
|
id: "themeButton"
|
|
3854
3854
|
}, {
|
|
3855
3855
|
default: Re(() => M[1] || (M[1] = [
|
|
3856
|
-
|
|
3856
|
+
Tt(vt("确认"))
|
|
3857
3857
|
])),
|
|
3858
3858
|
_: 1,
|
|
3859
3859
|
__: [1]
|
|
@@ -3874,7 +3874,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3874
3874
|
for (const s of r)
|
|
3875
3875
|
s.includes("{") || i.includes("{") || s.includes("[") || i.includes("[") || s.includes("【") || i.includes("【") || s.includes("(") || i.includes("(") || s.includes("(") || i.includes("(") || s.includes("/*") || i.includes("/*") || s.includes("&") || i.includes("&") ? (i += s.trim(), v(i).split("{").length - 1 === v(i).split("}").length - 1 && v(i).split("【").length - 1 === v(i).split("】").length - 1 && v(i).split("[").length - 1 === v(i).split("]").length - 1 && v(i).split("(").length - 1 === v(i).split(")").length - 1 && v(i).split("(").length - 1 === v(i).split(")").length - 1 && v(i).split("/*").length - 1 === v(i).split("*/").length - 1 && i[i.length - 1] !== "," && i[i.length - 1] !== "&" && (o.push(i.replace(/\/\*[\s\S]*?\*\//g, "")), i = "")) : o.push(s.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
3876
3876
|
return o;
|
|
3877
|
-
},
|
|
3877
|
+
}, Si = (a, r) => {
|
|
3878
3878
|
let o = a;
|
|
3879
3879
|
const i = [];
|
|
3880
3880
|
let s = "", c = 0;
|
|
@@ -3901,7 +3901,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3901
3901
|
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 && Tl(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 && Tl(s, "'") && (i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), s = ""));
|
|
3902
3902
|
return (s == null ? void 0 : s.length) !== 0 && i.push(s.replace(/\/\*[\s\S]*?\*\//g, "")), i;
|
|
3903
3903
|
}, Wh = (a) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(v(a)), Vh = (a) => {
|
|
3904
|
-
var r, o, i, s, c, m, p, f, _, S, T, $, B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A,
|
|
3904
|
+
var r, o, i, s, c, m, p, f, _, S, T, $, B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A, ie, ae, be, qe, ct, Be, E, Oe, se, Le, Ke, Se, Ve, dt, X, at, pt, it, te, le, Te, ke, et, nt, k, x, g, L, C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye, xe, Pe, we;
|
|
3905
3905
|
if (Vc(a)) {
|
|
3906
3906
|
let tt = {}, Je = (i = (o = (r = a == null ? void 0 : a.replace(":", Mt)) == null ? void 0 : r.split(Mt)) == null ? void 0 : o[0]) == null ? void 0 : i.replaceAll("'", ""), J = "", ge = "", ee = (c = (s = a == null ? void 0 : a.replace(":", Mt)) == null ? void 0 : s.split(Mt)) == null ? void 0 : c[1];
|
|
3907
3907
|
if ((ee == null ? void 0 : ee[0]) === "(" && (ge = (f = (p = (m = ee == null ? void 0 : ee.split("(")) == null ? void 0 : m[1]) == null ? void 0 : p.split(")")) == null ? void 0 : f[0], ee = (S = (_ = ee == null ? void 0 : ee.replace(")", Mt)) == null ? void 0 : _.split(Mt)) == null ? void 0 : S[1]), ((T = Il(ee, "/")) == null ? void 0 : T.length) > 1)
|
|
@@ -3912,7 +3912,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3912
3912
|
if (ee.includes("{") ? J = J + ((de = (U = (G = (Ee = (W = (B = ee == null ? void 0 : ee.split("{")) == null ? void 0 : B[1]) == null ? void 0 : W.split("}")) == null ? void 0 : Ee[0]) == null ? void 0 : G.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : U.replaceAll("[", "([")) == null ? void 0 : de.replaceAll("]", "])")) + "[" : J = J + ((ce = (I = (z = (b = (M = (w = ee == null ? void 0 : ee.split("(")) == null ? void 0 : w[1]) == null ? void 0 : M.split(")")) == null ? void 0 : b[0]) == null ? void 0 : z.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : I.replaceAll("[", "([")) == null ? void 0 : ce.replaceAll("]", "])")) + "[", !((Ue = ee == null ? void 0 : ee.split(")")) != null && Ue[1]))
|
|
3913
3913
|
J = J + ((Ge = ($e = (st = ee == null ? void 0 : ee.split("[")) == null ? void 0 : st[1]) == null ? void 0 : $e.split("]")) == null ? void 0 : Ge[0]) + "]";
|
|
3914
3914
|
else {
|
|
3915
|
-
const Ne = (
|
|
3915
|
+
const Ne = (ae = (ie = (A = (Ce = ee == null ? void 0 : ee.split(")")) == null ? void 0 : Ce[1]) == null ? void 0 : A.replace("[", Mt)) == null ? void 0 : ie.split(Mt)) == null ? void 0 : ae[1];
|
|
3916
3916
|
if (ee != null && ee.includes("?"))
|
|
3917
3917
|
J = ((be = ee == null ? void 0 : ee.split("?")) == null ? void 0 : be[1]) + "&&" + ((ct = (qe = ee == null ? void 0 : ee.split("?")) == null ? void 0 : qe[0]) == null ? void 0 : ct.replaceAll("#", "==="));
|
|
3918
3918
|
else if (Ne) {
|
|
@@ -3925,7 +3925,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3925
3925
|
J = (Se = (Ke = (Le = a == null ? void 0 : a.replace(":", Mt)) == null ? void 0 : Le.split(Mt)) == null ? void 0 : Ke[1]) == null ? void 0 : Se.replaceAll("'", "");
|
|
3926
3926
|
else {
|
|
3927
3927
|
let Ne = (X = (dt = (Ve = a == null ? void 0 : a.replace(":", Mt)) == null ? void 0 : Ve.split(Mt)) == null ? void 0 : dt[1]) == null ? void 0 : X.replaceAll("'", "");
|
|
3928
|
-
J = ((it = (pt = (at = Ne == null ? void 0 : Ne.split("?")) == null ? void 0 : at[1]) == null ? void 0 : pt.split(":")) == null ? void 0 : it[0]) + "&&" + ((
|
|
3928
|
+
J = ((it = (pt = (at = Ne == null ? void 0 : Ne.split("?")) == null ? void 0 : at[1]) == null ? void 0 : pt.split(":")) == null ? void 0 : it[0]) + "&&" + ((te = Ne == null ? void 0 : Ne.split("?")) == null ? void 0 : te[0]);
|
|
3929
3929
|
}
|
|
3930
3930
|
return tt[Je] = ge !== "" ? ge + "$##" + J : J, {
|
|
3931
3931
|
groupName: "",
|
|
@@ -3934,9 +3934,9 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3934
3934
|
} else {
|
|
3935
3935
|
let tt = {}, Je = "", J = "";
|
|
3936
3936
|
if (a.includes("#")) {
|
|
3937
|
-
Je = (Te = (
|
|
3937
|
+
Je = (Te = (le = a == null ? void 0 : a.split("#")) == null ? void 0 : le[0]) == null ? void 0 : Te.replaceAll("'", "");
|
|
3938
3938
|
let ge = (et = (ke = a == null ? void 0 : a.split("#")) == null ? void 0 : ke[1]) == null ? void 0 : et.replaceAll("'", "");
|
|
3939
|
-
ge != null && ge.includes("{") ? J = J + ((g = (x = (k = (nt = ge == null ? void 0 : ge.split("{")) == null ? void 0 : nt[1]) == null ? void 0 : k.split("}")) == null ? void 0 : x[0]) == null ? void 0 : g.replaceAll(":", "/").replaceAll("'", "")) + "[" : J = J + ((oe = (P = (C = (L = ge == null ? void 0 : ge.split("(")) == null ? void 0 : L[1]) == null ? void 0 : C.split(")")) == null ? void 0 : P[0]) == null ? void 0 : oe.replaceAll(":", "/").replaceAll("'", "")) + "[", J = J + ((he = (K = (V = ge == null ? void 0 : ge.replace("[", Mt)) == null ? void 0 : V.split(Mt)) == null ? void 0 : K[1]) == null ? void 0 : he.slice(0, ((pe = (Z = (
|
|
3939
|
+
ge != null && ge.includes("{") ? J = J + ((g = (x = (k = (nt = ge == null ? void 0 : ge.split("{")) == null ? void 0 : nt[1]) == null ? void 0 : k.split("}")) == null ? void 0 : x[0]) == null ? void 0 : g.replaceAll(":", "/").replaceAll("'", "")) + "[" : J = J + ((oe = (P = (C = (L = ge == null ? void 0 : ge.split("(")) == null ? void 0 : L[1]) == null ? void 0 : C.split(")")) == null ? void 0 : P[0]) == null ? void 0 : oe.replaceAll(":", "/").replaceAll("'", "")) + "[", J = J + ((he = (K = (V = ge == null ? void 0 : ge.replace("[", Mt)) == null ? void 0 : V.split(Mt)) == null ? void 0 : K[1]) == null ? void 0 : he.slice(0, ((pe = (Z = (ne = ge == null ? void 0 : ge.replace("[", Mt)) == null ? void 0 : ne.split(Mt)) == null ? void 0 : Z[1]) == null ? void 0 : pe.length) - 1));
|
|
3940
3940
|
} else {
|
|
3941
3941
|
let ge = (N = (ye = (H = a == null ? void 0 : a.split("]")) == null ? void 0 : H[0]) == null ? void 0 : ye.split("[")) == null ? void 0 : N[1];
|
|
3942
3942
|
if ((Me = ge == null ? void 0 : ge.split(":")) == null || Me.forEach((ee, Ne) => {
|
|
@@ -3971,62 +3971,62 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
3971
3971
|
});
|
|
3972
3972
|
let i = [], s = [];
|
|
3973
3973
|
return o == null || o.forEach((S) => {
|
|
3974
|
-
var B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A,
|
|
3974
|
+
var B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A, ie, ae, be, qe, ct, Be, E, Oe, se, Le, Ke, Se, Ve, dt, X, at, pt, it, te, le, Te, ke, et, nt, k, x, g, L, C, P;
|
|
3975
3975
|
let T = (W = (B = v(S)) == null ? void 0 : B.slice(1, v(S).length - 1)) == null ? void 0 : W.replace(":", Mt).split(Mt);
|
|
3976
3976
|
if (((G = (Ee = v(T)) == null ? void 0 : Ee[0]) == null ? void 0 : G.replaceAll("'", "")) === "输入") {
|
|
3977
3977
|
if (!((de = (U = v(T)) == null ? void 0 : U[1]) != null && de.includes("[")) && !((M = (w = v(T)) == null ? void 0 : w[1]) != null && M.includes("("))) {
|
|
3978
|
-
|
|
3978
|
+
Ji((b = v(T)) == null ? void 0 : b[1].replaceAll("'", '"')) && s.push(JSON.parse((z = v(T)) == null ? void 0 : z[1].replaceAll("'", '"')));
|
|
3979
3979
|
return;
|
|
3980
3980
|
}
|
|
3981
3981
|
if (((ce = (I = v(T)) == null ? void 0 : I[1]) == null ? void 0 : ce[0]) === "[") {
|
|
3982
3982
|
let oe = (Ge = (Ue = v(T)) == null ? void 0 : Ue[1]) == null ? void 0 : Ge.slice(1, (($e = (st = v(T)) == null ? void 0 : st[1]) == null ? void 0 : $e.length) - 1);
|
|
3983
3983
|
(A = (Ce = bi(oe)) == null ? void 0 : Ce.filter((V) => V !== ",")) == null || A.forEach((V) => {
|
|
3984
3984
|
var he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye, xe, Pe, we, tt, Je, J, ge, ee, Ne;
|
|
3985
|
-
let K = {},
|
|
3986
|
-
(Me =
|
|
3985
|
+
let K = {}, ne = (ye = (H = v(V)) == null ? void 0 : H.slice(1, ((he = v(V)) == null ? void 0 : he.length) - 1)) == null ? void 0 : ye.replace(":", Mt).split(Mt), Z = (N = ne == null ? void 0 : ne[0]) == null ? void 0 : N.replaceAll("'", ""), pe;
|
|
3986
|
+
(Me = ne == null ? void 0 : ne[1]) != null && Me.includes("(") ? (pe = (xe = (Ye = (F = (q = (Y = (ve = (R = (me = v(ne)) == null ? void 0 : me[1]) == null ? void 0 : R.replaceAll("{", "")) == null ? void 0 : ve.replaceAll("}", "")) == null ? void 0 : Y.split("(")) == null ? void 0 : q[1]) == null ? void 0 : F.split(")")) == null ? void 0 : Ye[0]) == null ? void 0 : xe.replaceAll(":", "/").replaceAll("'", ""), (we = (Pe = v(ne)) == null ? void 0 : Pe[1]) != null && we.includes("[") && (pe = v(pe) + "[" + ((Ne = (ee = (ge = (J = (Je = (tt = v(ne)) == null ? void 0 : tt[1]) == null ? void 0 : Je.split("[")) == null ? void 0 : J[1]) == null ? void 0 : ge.split("]")) == null ? void 0 : ee[0]) == null ? void 0 : Ne.replaceAll("'", "")) + "]")) : pe = (Ie = ne == null ? void 0 : ne[1]) == null ? void 0 : Ie.replaceAll("'", ""), K[Z] = pe, s.push(K);
|
|
3987
3987
|
});
|
|
3988
3988
|
}
|
|
3989
3989
|
} else {
|
|
3990
|
-
if (!((
|
|
3991
|
-
|
|
3990
|
+
if (!((ae = (ie = v(T)) == null ? void 0 : ie[1]) != null && ae.includes("[")) && !((qe = (be = v(T)) == null ? void 0 : be[1]) != null && qe.includes("("))) {
|
|
3991
|
+
Ji((ct = v(T)) == null ? void 0 : ct[1].replaceAll("'", '"')) && i.push(JSON.parse((Be = v(T)) == null ? void 0 : Be[1].replaceAll("'", '"')));
|
|
3992
3992
|
return;
|
|
3993
3993
|
}
|
|
3994
3994
|
if (((Oe = (E = v(T)) == null ? void 0 : E[1]) == null ? void 0 : Oe[0]) === "[") {
|
|
3995
3995
|
let oe = (Se = (se = v(T)) == null ? void 0 : se[1]) == null ? void 0 : Se.slice(1, ((Ke = (Le = v(T)) == null ? void 0 : Le[1]) == null ? void 0 : Ke.length) - 1);
|
|
3996
3996
|
(dt = (Ve = bi(oe)) == null ? void 0 : Ve.filter((V) => V !== ",")) == null || dt.forEach((V) => {
|
|
3997
|
-
var he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye, xe, Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe,
|
|
3998
|
-
let K = {},
|
|
3999
|
-
if (!((Me =
|
|
4000
|
-
pe = (Ie =
|
|
4001
|
-
else if (pe = (F = (q = (Y = (ve = (R = (me = v(
|
|
4002
|
-
pe = (Pe = v(pe)) == null ? void 0 : Pe.replaceAll(":", "/").replaceAll("'", ""), (tt = (we = v(
|
|
3997
|
+
var he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye, xe, Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe, re, We, ht, _t, mt, ft, ze, Xe, lt, xt, Et, gt;
|
|
3998
|
+
let K = {}, ne = (ye = (H = v(V)) == null ? void 0 : H.slice(1, ((he = v(V)) == null ? void 0 : he.length) - 1)) == null ? void 0 : ye.replace(":", Mt).split(Mt), Z = (N = ne == null ? void 0 : ne[0]) == null ? void 0 : N.replaceAll("'", ""), pe;
|
|
3999
|
+
if (!((Me = ne == null ? void 0 : ne[1]) != null && Me.includes("(")))
|
|
4000
|
+
pe = (Ie = ne == null ? void 0 : ne[1]) == null ? void 0 : Ie.replaceAll("'", "");
|
|
4001
|
+
else if (pe = (F = (q = (Y = (ve = (R = (me = v(ne)) == null ? void 0 : me[1]) == null ? void 0 : R.replaceAll("{", "")) == null ? void 0 : ve.replaceAll("}", "")) == null ? void 0 : Y.replace("(", Mt)) == null ? void 0 : q.split(Mt)) == null ? void 0 : F[1], pe = (xe = (Ye = Hc(v(pe), Mt)) == null ? void 0 : Ye.split(Mt)) == null ? void 0 : xe[0], !(pe != null && pe.includes("(")))
|
|
4002
|
+
pe = (Pe = v(pe)) == null ? void 0 : Pe.replaceAll(":", "/").replaceAll("'", ""), (tt = (we = v(ne)) == null ? void 0 : we[1]) != null && tt.includes("[") && (pe = v(pe) + "[" + ((We = (re = (Fe = (rt = (J = (Je = v(ne)) == null ? void 0 : Je[1]) == null ? void 0 : J.split("[")) == null ? void 0 : rt[((Ne = (ee = (ge = v(ne)) == null ? void 0 : ge[1]) == null ? void 0 : ee.split("[")) == null ? void 0 : Ne.length) - 1]) == null ? void 0 : Fe.split("]")) == null ? void 0 : re[0]) == null ? void 0 : We.replaceAll("'", "")) + "]");
|
|
4003
4003
|
else {
|
|
4004
|
-
let
|
|
4005
|
-
(ht =
|
|
4006
|
-
var Wt, Ht, jt,
|
|
4004
|
+
let Ct = "";
|
|
4005
|
+
(ht = Si(pe, ":")) == null || ht.forEach((Bt) => {
|
|
4006
|
+
var Wt, Ht, jt, Ot, la, pa, sa, Ua, $a, Ka, Ja, Ma, Za, Ra, Qa, St, ha, bt;
|
|
4007
4007
|
if (!(Bt != null && Bt.includes("(")))
|
|
4008
|
-
|
|
4008
|
+
Ct = Ct === "" ? Ct + ((Wt = Bt == null ? void 0 : Bt.replaceAll(":", "")) == null ? void 0 : Wt.replaceAll("'", "")) : Ct + "/" + ((Ht = Bt == null ? void 0 : Bt.replaceAll(":", "")) == null ? void 0 : Ht.replaceAll("'", ""));
|
|
4009
4009
|
else if (Bt != null && Bt.includes(")[")) {
|
|
4010
|
-
let Ia = (
|
|
4011
|
-
|
|
4010
|
+
let Ia = (la = (Ot = (jt = v(Bt)) == null ? void 0 : jt.split(")")) == null ? void 0 : Ot[0]) == null ? void 0 : la.replaceAll("'", "");
|
|
4011
|
+
Ct = Ct === "" ? Ct + Ia : Ct + "/" + Ia;
|
|
4012
4012
|
} else {
|
|
4013
|
-
let Ia = (Za = (Ma = (Ja = (Ka = ($a = (Ua = (
|
|
4014
|
-
Ia = Ia + "[" + ((bt = (
|
|
4013
|
+
let Ia = (Za = (Ma = (Ja = (Ka = ($a = (Ua = (sa = (pa = v(Bt)) == null ? void 0 : pa.replaceAll("{", "")) == null ? void 0 : sa.replaceAll("}", "")) == null ? void 0 : Ua.replace("(", Mt)) == null ? void 0 : $a.split(Mt)) == null ? void 0 : Ka[1]) == null ? void 0 : Ja.split(")")) == null ? void 0 : Ma[0]) == null ? void 0 : Za.replaceAll(":", "/").replaceAll("'", "");
|
|
4014
|
+
Ia = Ia + "[" + ((bt = (ha = (St = (Qa = (Ra = v(Bt)) == null ? void 0 : Ra.split("[")) == null ? void 0 : Qa[1]) == null ? void 0 : St.split("]")) == null ? void 0 : ha[0]) == null ? void 0 : bt.replaceAll("'", "")) + "]", Ct = Ct === "" ? Ct + "[" + Ia + "]" : Ct + "/[" + Ia + "]";
|
|
4015
4015
|
}
|
|
4016
|
-
}), pe =
|
|
4016
|
+
}), pe = Ct + "[" + ((gt = (Et = (xt = (lt = (mt = (_t = v(ne)) == null ? void 0 : _t[1]) == null ? void 0 : mt.split("[")) == null ? void 0 : lt[((Xe = (ze = (ft = v(ne)) == null ? void 0 : ft[1]) == null ? void 0 : ze.split("[")) == null ? void 0 : Xe.length) - 1]) == null ? void 0 : xt.split("]")) == null ? void 0 : Et[0]) == null ? void 0 : gt.replaceAll("'", "")) + "]";
|
|
4017
4017
|
}
|
|
4018
4018
|
K[Z] = pe, i.push(K);
|
|
4019
4019
|
});
|
|
4020
4020
|
} else {
|
|
4021
|
-
let oe = (it = (X = v(T)) == null ? void 0 : X[1]) == null ? void 0 : it.slice(1, ((pt = (at = v(T)) == null ? void 0 : at[1]) == null ? void 0 : pt.length) - 1), V = {}, K = (g = (x = (Te = (
|
|
4022
|
-
V[K] =
|
|
4021
|
+
let oe = (it = (X = v(T)) == null ? void 0 : X[1]) == null ? void 0 : it.slice(1, ((pt = (at = v(T)) == null ? void 0 : at[1]) == null ? void 0 : pt.length) - 1), V = {}, K = (g = (x = (Te = (le = (te = v(oe)) == null ? void 0 : te.split("]")) == null ? void 0 : le[0]) == null ? void 0 : Te.split(":")) == null ? void 0 : x[((k = (nt = (et = (ke = v(oe)) == null ? void 0 : ke.split("]")) == null ? void 0 : et[0]) == null ? void 0 : nt.split(":")) == null ? void 0 : k.length) - 1]) == null ? void 0 : g.replaceAll("'", ""), ne = ((P = (C = (L = v(oe)) == null ? void 0 : L.split("]")) == null ? void 0 : C[0]) == null ? void 0 : P.replaceAll("'", "")) + "]";
|
|
4022
|
+
V[K] = ne, i.push(V);
|
|
4023
4023
|
}
|
|
4024
4024
|
}
|
|
4025
4025
|
}), {
|
|
4026
4026
|
output: i,
|
|
4027
4027
|
input: s
|
|
4028
4028
|
};
|
|
4029
|
-
}, qc = In(Gt), { routeToChildPath: Ga } = Yt(qc), tn = Ln(Gt), { activeMenuPath: bn } = Yt(tn), Gn =
|
|
4029
|
+
}, qc = In(Gt), { routeToChildPath: Ga } = Yt(qc), tn = Ln(Gt), { activeMenuPath: bn } = Yt(tn), Gn = Mi(), { loginUserInfo: da } = Yt(Gn), Gc = Ri(Gt), { originalPath: Xc } = Yt(Gc), ba = Xc.value, Yc = (a) => {
|
|
4030
4030
|
const r = /^name(\d+)$/, o = a == null ? void 0 : a.map((s) => {
|
|
4031
4031
|
const c = [];
|
|
4032
4032
|
for (const m in s) {
|
|
@@ -4061,10 +4061,10 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4061
4061
|
var o, i;
|
|
4062
4062
|
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;
|
|
4063
4063
|
}) ? a : Yc(a), Jc = async () => {
|
|
4064
|
-
var c, m, p, f, _, S, T, $, B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A,
|
|
4064
|
+
var c, m, p, f, _, S, T, $, B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge, Ce, A, ie, ae, be, qe, ct, Be, E, Oe, se, Le, Ke, Se, Ve, dt, X, at, pt, it, te, le, Te, ke, et, nt, k, x, g, L, C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me;
|
|
4065
4065
|
tn.setImportLoading(!0);
|
|
4066
4066
|
let a = "";
|
|
4067
|
-
const r = await
|
|
4067
|
+
const r = await ya({
|
|
4068
4068
|
key: {
|
|
4069
4069
|
type: "structure",
|
|
4070
4070
|
pageKey: v(Ga).value,
|
|
@@ -4077,7 +4077,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4077
4077
|
}
|
|
4078
4078
|
let o = bn.value;
|
|
4079
4079
|
(de = bn.value) != null && de.includes(`updateLoading${((G = da.value) == null ? void 0 : G.account) || ((U = da.value) == null ? void 0 : U.账号)}`) ? o = v(bn).value : (b = bn.value) != null && b.includes(`loading${((w = da.value) == null ? void 0 : w.account) || ((M = da.value) == null ? void 0 : M.账号)}`) && (o = v(Ga).value + ba + `loading${((z = da.value) == null ? void 0 : z.account) || ((I = da.value) == null ? void 0 : I.账号)}`);
|
|
4080
|
-
const i = await
|
|
4080
|
+
const i = await ya({
|
|
4081
4081
|
key: {
|
|
4082
4082
|
pageKey: o,
|
|
4083
4083
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -4093,35 +4093,35 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4093
4093
|
}));
|
|
4094
4094
|
});
|
|
4095
4095
|
let R = me == null ? void 0 : me.find((ve) => (ve == null ? void 0 : ve.isMain) === !0);
|
|
4096
|
-
if (R ? (Ie = R == null ? void 0 : R.value, a = R == null ? void 0 : R.key) : Ie = (Be = (ct = (qe = (be = (
|
|
4096
|
+
if (R ? (Ie = R == null ? void 0 : R.value, a = R == null ? void 0 : R.key) : Ie = (Be = (ct = (qe = (be = (ae = (ie = (A = (Ce = (Ge = i == null ? void 0 : i.data) == null ? void 0 : Ge.result) == null ? void 0 : Ce[0]) == null ? void 0 : A.value) == null ? void 0 : ie.pageData) == null ? void 0 : ae.compData) == null ? void 0 : be.find((ve) => (ve == null ? void 0 : ve.key) === "formContent")) == null ? void 0 : qe.contents) == null ? void 0 : ct.find((ve) => {
|
|
4097
4097
|
var Y, q;
|
|
4098
4098
|
return (ve == null ? void 0 : ve.key) === a || ((q = (Y = ve == null ? void 0 : ve.optionUrl) == null ? void 0 : Y.groupSelect) == null ? void 0 : q[1]) === a;
|
|
4099
4099
|
})) == null ? void 0 : Be.value, (se = bn.value) != null && se.includes(`updateLoading${((E = da.value) == null ? void 0 : E.account) || ((Oe = da.value) == null ? void 0 : Oe.账号)}`)) {
|
|
4100
4100
|
let ve = [], Y = [];
|
|
4101
|
-
const q = await
|
|
4101
|
+
const q = await ya({
|
|
4102
4102
|
key: {
|
|
4103
|
-
pageKey: (
|
|
4103
|
+
pageKey: (le = bn.value.split(ba + `updateLoading${((it = da.value) == null ? void 0 : it.account) || ((te = da.value) == null ? void 0 : te.账号)}`)) == null ? void 0 : le[0],
|
|
4104
4104
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4105
4105
|
}
|
|
4106
4106
|
});
|
|
4107
4107
|
if (((ke = (Te = q == null ? void 0 : q.data) == null ? void 0 : Te.result) == null ? void 0 : ke.length) > 0) {
|
|
4108
4108
|
let F = (et = i == null ? void 0 : i.data) == null ? void 0 : et.result, Ye = (nt = v(F)) == null ? void 0 : nt.map(async (xe) => {
|
|
4109
|
-
var Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe,
|
|
4109
|
+
var Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe, re, We, ht, _t;
|
|
4110
4110
|
if (((Pe = xe == null ? void 0 : xe.key) == null ? void 0 : Pe.type) === "structure") {
|
|
4111
4111
|
let mt = (J = (Je = (tt = (we = xe == null ? void 0 : xe.value) == null ? void 0 : we.pageData) == null ? void 0 : tt.compData) == null ? void 0 : Je.find((ft) => (ft == null ? void 0 : ft.key) === "parentFormPath")) == null ? void 0 : J.contents;
|
|
4112
4112
|
if (mt) {
|
|
4113
|
-
let ft = await
|
|
4113
|
+
let ft = await aa(mt, sessionStorage.getItem("systemKey"), ""), ze = (rt = (Ne = (ee = (ge = xe == null ? void 0 : xe.value) == null ? void 0 : ge.pageData) == null ? void 0 : ee.compData) == null ? void 0 : Ne.find((lt) => (lt == null ? void 0 : lt.key) === "formContent")) == null ? void 0 : rt.contents, Xe = ft == null ? void 0 : ft.filter((lt) => (lt == null ? void 0 : lt.comp) === "Form");
|
|
4114
4114
|
Xe == null || Xe.forEach((lt) => {
|
|
4115
4115
|
var xt;
|
|
4116
|
-
(xt = lt == null ? void 0 : lt.compData) == null || xt.forEach((
|
|
4117
|
-
var
|
|
4118
|
-
if ((
|
|
4116
|
+
(xt = lt == null ? void 0 : lt.compData) == null || xt.forEach((Et) => {
|
|
4117
|
+
var gt, Ct;
|
|
4118
|
+
if ((Et == null ? void 0 : Et.key) === "formContent" && ((gt = Et == null ? void 0 : Et.contents) == null ? void 0 : gt.some((Wt) => ze == null ? void 0 : ze.find((Ht) => (Ht == null ? void 0 : Ht.prop) === (Wt == null ? void 0 : Wt.prop))))) {
|
|
4119
4119
|
let Wt = lt;
|
|
4120
|
-
Wt.compData = (
|
|
4121
|
-
var
|
|
4122
|
-
return (jt == null ? void 0 : jt.key) === "formContent" && (jt.contents = (
|
|
4123
|
-
var
|
|
4124
|
-
return ze != null && ze.find((
|
|
4120
|
+
Wt.compData = (Ct = Wt.compData) == null ? void 0 : Ct.map((jt) => {
|
|
4121
|
+
var Ot;
|
|
4122
|
+
return (jt == null ? void 0 : jt.key) === "formContent" && (jt.contents = (Ot = jt.contents) == null ? void 0 : Ot.map((la) => {
|
|
4123
|
+
var pa;
|
|
4124
|
+
return ze != null && ze.find((sa) => (sa == null ? void 0 : sa.prop) === (la == null ? void 0 : la.prop)) && (la.value = (pa = ze == null ? void 0 : ze.find((sa) => (sa == null ? void 0 : sa.prop) === (la == null ? void 0 : la.prop))) == null ? void 0 : pa.value), la;
|
|
4125
4125
|
})), jt;
|
|
4126
4126
|
});
|
|
4127
4127
|
let Ht = {};
|
|
@@ -4136,15 +4136,15 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4136
4136
|
}
|
|
4137
4137
|
});
|
|
4138
4138
|
});
|
|
4139
|
-
} else if ((
|
|
4139
|
+
} else if ((re = (Fe = q == null ? void 0 : q.data) == null ? void 0 : Fe.result) != null && re.find((ft) => {
|
|
4140
4140
|
var ze, Xe, lt, xt;
|
|
4141
4141
|
return ((Xe = (ze = ft == null ? void 0 : ft.value) == null ? void 0 : ze.pageData) == null ? void 0 : Xe.name) === ((xt = (lt = xe == null ? void 0 : xe.value) == null ? void 0 : lt.pageData) == null ? void 0 : xt.name);
|
|
4142
4142
|
})) {
|
|
4143
4143
|
let ft = xe == null ? void 0 : xe.key;
|
|
4144
4144
|
ft.pageKey = v(Ga).value + ba + Ie, s.push({
|
|
4145
4145
|
id: (_t = (ht = (We = q == null ? void 0 : q.data) == null ? void 0 : We.result) == null ? void 0 : ht.find((ze) => {
|
|
4146
|
-
var Xe, lt, xt,
|
|
4147
|
-
return ((lt = (Xe = ze == null ? void 0 : ze.value) == null ? void 0 : Xe.pageData) == null ? void 0 : lt.name) === ((
|
|
4146
|
+
var Xe, lt, xt, Et;
|
|
4147
|
+
return ((lt = (Xe = ze == null ? void 0 : ze.value) == null ? void 0 : Xe.pageData) == null ? void 0 : lt.name) === ((Et = (xt = xe == null ? void 0 : xe.value) == null ? void 0 : xt.pageData) == null ? void 0 : Et.name);
|
|
4148
4148
|
})) == null ? void 0 : _t.id,
|
|
4149
4149
|
key: ft,
|
|
4150
4150
|
value: xe == null ? void 0 : xe.value
|
|
@@ -4183,16 +4183,16 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4183
4183
|
type: "保存",
|
|
4184
4184
|
data: ve
|
|
4185
4185
|
}, (P = ve == null ? void 0 : ve[0]) == null ? void 0 : P.key));
|
|
4186
|
-
const F = await
|
|
4186
|
+
const F = await ya({
|
|
4187
4187
|
key: {
|
|
4188
4188
|
pageKey: (K = bn.value.split(ba + `updateLoading${((oe = da.value) == null ? void 0 : oe.account) || ((V = da.value) == null ? void 0 : V.账号)}`)) == null ? void 0 : K[0],
|
|
4189
4189
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
|
-
if (((Z = (
|
|
4192
|
+
if (((Z = (ne = F == null ? void 0 : F.data) == null ? void 0 : ne.result) == null ? void 0 : Z.length) > 0) {
|
|
4193
4193
|
let Ye = [], xe = (pe = i == null ? void 0 : i.data) == null ? void 0 : pe.result;
|
|
4194
4194
|
(he = v(xe)) == null || he.forEach((Pe) => {
|
|
4195
|
-
var we, tt, Je, J, ge, ee, Ne, rt, Fe,
|
|
4195
|
+
var we, tt, Je, J, ge, ee, Ne, rt, Fe, re, We, ht;
|
|
4196
4196
|
if (((we = Pe == null ? void 0 : Pe.key) == null ? void 0 : we.type) !== "structure") {
|
|
4197
4197
|
let _t = (J = (Je = (tt = F == null ? void 0 : F.data) == null ? void 0 : tt.result) == null ? void 0 : Je.filter((Xe) => {
|
|
4198
4198
|
var lt;
|
|
@@ -4202,7 +4202,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4202
4202
|
let mt = (rt = (Ne = (ee = (ge = v(xe)) == null ? void 0 : ge.find((Xe) => {
|
|
4203
4203
|
var lt;
|
|
4204
4204
|
return ((lt = Pe == null ? void 0 : Pe.key) == null ? void 0 : lt.tableId) === (Xe == null ? void 0 : Xe.id);
|
|
4205
|
-
})) == null ? void 0 : ee.value) == null ? void 0 : Ne.pageData) == null ? void 0 : rt.name, ft = (We = (
|
|
4205
|
+
})) == null ? void 0 : ee.value) == null ? void 0 : Ne.pageData) == null ? void 0 : rt.name, ft = (We = (re = (Fe = F == null ? void 0 : F.data) == null ? void 0 : Fe.result) == null ? void 0 : re.find((Xe) => {
|
|
4206
4206
|
var lt, xt;
|
|
4207
4207
|
return ((xt = (lt = Xe == null ? void 0 : Xe.value) == null ? void 0 : lt.pageData) == null ? void 0 : xt.name) === mt;
|
|
4208
4208
|
})) == null ? void 0 : We.id, ze = (ht = v(Pe)) == null ? void 0 : ht.key;
|
|
@@ -4272,7 +4272,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4272
4272
|
}
|
|
4273
4273
|
},
|
|
4274
4274
|
setup(a) {
|
|
4275
|
-
const r = fe([]), o =
|
|
4275
|
+
const r = fe([]), o = Ri(Gt), { originalPath: i } = Yt(o), s = a, c = fe(!1), m = fe(), p = ol(Gt), { multipleTableConst: f } = Yt(p), _ = In(Gt), S = fe(!1), T = Ln(Gt), $ = Mi(Gt), { itemData: B, isEdit: W, routeToChildPath: Ee, tableViewContents: G, lockingPage: U, payloadTypes: de } = Yt(_), { activeMenuPath: w, platform: M, childMenu: b } = Yt(T), { loginUserInfo: z } = Yt($), I = fe(!1), ce = (E, Oe) => {
|
|
4276
4276
|
const se = Oe;
|
|
4277
4277
|
return E == null ? void 0 : E.map((Le) => {
|
|
4278
4278
|
var Ke;
|
|
@@ -4318,7 +4318,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4318
4318
|
}
|
|
4319
4319
|
return se;
|
|
4320
4320
|
}), Ge = async (E, Oe, se = []) => {
|
|
4321
|
-
var Ke, Se, Ve, dt, X, at, pt, it,
|
|
4321
|
+
var Ke, Se, Ve, dt, X, at, pt, it, te, le, Te, ke, et, nt, k;
|
|
4322
4322
|
let Le = (Ke = v(Oe)) == null ? void 0 : Ke.filter((x) => (x == null ? void 0 : x.comp) !== "methodButton");
|
|
4323
4323
|
if (E != null && E.includes("[")) {
|
|
4324
4324
|
let x = (at = (X = (dt = (Ve = (Se = v(E)) == null ? void 0 : Se.split("[")) == null ? void 0 : Ve[1]) == null ? void 0 : dt.split("]")) == null ? void 0 : X[0]) == null ? void 0 : at.split(":"), g = "";
|
|
@@ -4328,17 +4328,17 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4328
4328
|
return C.compData = (P = C.compData) == null ? void 0 : P.map((oe) => {
|
|
4329
4329
|
var V;
|
|
4330
4330
|
return (oe == null ? void 0 : oe.key) === "formContent" && (oe.contents = (V = oe.contents) == null ? void 0 : V.map((K) => {
|
|
4331
|
-
var
|
|
4332
|
-
if ((Z = (
|
|
4331
|
+
var ne, Z, pe, he, H, ye, N, Me;
|
|
4332
|
+
if ((Z = (ne = K == null ? void 0 : K.optionUrl) == null ? void 0 : ne.menuSelect) != null && Z.some((Ie) => Ie == null ? void 0 : Ie.includes("["))) {
|
|
4333
4333
|
let Ie = "";
|
|
4334
4334
|
K.optionUrl.oldMenuSelect = (he = (pe = v(K)) == null ? void 0 : pe.optionUrl) == null ? void 0 : he.menuSelect, K.optionUrl.menuSelect = (ye = (H = K == null ? void 0 : K.optionUrl) == null ? void 0 : H.menuSelect) == null ? void 0 : ye.map((me) => {
|
|
4335
4335
|
var R, ve, Y, q, F, Ye;
|
|
4336
4336
|
if (me != null && me.includes("[")) {
|
|
4337
4337
|
let xe = (ve = (R = me == null ? void 0 : me.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : R.split(":")) == null ? void 0 : ve[1];
|
|
4338
|
-
Ie =
|
|
4338
|
+
Ie = Oi((Y = me == null ? void 0 : me.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Y.split(":"), se == null ? void 0 : se[w.value], se), me = ((F = (q = v(Le)) == null ? void 0 : q.find((Pe) => (Pe == null ? void 0 : Pe.label) === xe)) == null ? void 0 : F.value) || Oi((Ye = me == null ? void 0 : me.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ye.split(":"), se == null ? void 0 : se[w.value], se);
|
|
4339
4339
|
}
|
|
4340
4340
|
return me;
|
|
4341
|
-
}), Ie !== "" && (K.value === "" || !(K != null && K.value)) && (K.value =
|
|
4341
|
+
}), Ie !== "" && (K.value === "" || !(K != null && K.value)) && (K.value = Zi(K.optionUrl.menuSelect, K.optionUrl.oldMenuSelect, (N = K == null ? void 0 : K.optionUrl) == null ? void 0 : N.groupSelect, se), Array.isArray(K.value) && ((Me = K.value) != null && Me.every((me) => me == null ? void 0 : me.url)) && (K.type = "UPLOAD"));
|
|
4342
4342
|
}
|
|
4343
4343
|
return K;
|
|
4344
4344
|
})), oe;
|
|
@@ -4346,11 +4346,11 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4346
4346
|
});
|
|
4347
4347
|
let L = (pt = Le == null ? void 0 : Le.find((C) => (C == null ? void 0 : C.name) === (x == null ? void 0 : x[0]))) == null ? void 0 : pt.compData;
|
|
4348
4348
|
if (!L) {
|
|
4349
|
-
let C = (it = E == null ? void 0 : E.split("[")) == null ? void 0 : it[0], P = await
|
|
4350
|
-
L = (
|
|
4349
|
+
let C = (it = E == null ? void 0 : E.split("[")) == null ? void 0 : it[0], P = await aa(C, sessionStorage.getItem("systemKey"), "", !1, "", "", se);
|
|
4350
|
+
L = (te = P == null ? void 0 : P.find((oe) => (oe == null ? void 0 : oe.name) === (x == null ? void 0 : x[0]))) == null ? void 0 : te.compData;
|
|
4351
4351
|
}
|
|
4352
4352
|
L == null || L.forEach((C) => {
|
|
4353
|
-
var P, oe, V, K,
|
|
4353
|
+
var P, oe, V, K, ne, Z;
|
|
4354
4354
|
if ((C == null ? void 0 : C.key) === "formContent")
|
|
4355
4355
|
(P = C == null ? void 0 : C.contents) == null || P.forEach((pe) => {
|
|
4356
4356
|
var he;
|
|
@@ -4359,7 +4359,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4359
4359
|
else if ((C == null ? void 0 : C.key) === "tableContents") {
|
|
4360
4360
|
let pe = [], he = (oe = L == null ? void 0 : L.find((ye) => (ye == null ? void 0 : ye.key) === "header")) == null ? void 0 : oe.contents, H = (x == null ? void 0 : x[1]) ?? "";
|
|
4361
4361
|
if (he != null && he.every((ye) => Array.isArray(ye))) {
|
|
4362
|
-
let ye = Qi((
|
|
4362
|
+
let ye = Qi((ne = he == null ? void 0 : he[0]) == null ? void 0 : ne.filter((N) => (N == null ? void 0 : N.label) !== "操作"));
|
|
4363
4363
|
(Z = C.contents) == null || Z.forEach((N) => {
|
|
4364
4364
|
let Me = {};
|
|
4365
4365
|
N = N == null ? void 0 : N.filter((Ie) => !(Ie != null && Ie.id)), ye == null || ye.forEach((Ie, me) => {
|
|
@@ -4384,10 +4384,10 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4384
4384
|
return g;
|
|
4385
4385
|
} else if (E != null && E.includes("/")) {
|
|
4386
4386
|
let x = {};
|
|
4387
|
-
return (
|
|
4388
|
-
var C, P, oe, V, K,
|
|
4387
|
+
return (le = v(Le)) == null || le.forEach((g, L) => {
|
|
4388
|
+
var C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me, Ie, me, R, ve, Y, q;
|
|
4389
4389
|
if ((g == null ? void 0 : g.comp) === "Table") {
|
|
4390
|
-
let F = Array.isArray((oe = (P = (C = g == null ? void 0 : g.compData) == null ? void 0 : C.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : P.contents) == null ? void 0 : oe[0]) ? (Z = (
|
|
4390
|
+
let F = Array.isArray((oe = (P = (C = g == null ? void 0 : g.compData) == null ? void 0 : C.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : P.contents) == null ? void 0 : oe[0]) ? (Z = (ne = (K = (V = g == null ? void 0 : g.compData) == null ? void 0 : V.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : K.contents) == null ? void 0 : ne[0]) == null ? void 0 : Z.some((we) => we == null ? void 0 : we.children) : [], Ye = (H = (he = (pe = g == null ? void 0 : g.compData) == null ? void 0 : pe.find((we) => (we == null ? void 0 : we.key) === "tableContents")) == null ? void 0 : he.contents) == null ? void 0 : H.map((we) => (we != null && we.find((tt) => tt == null ? void 0 : tt.id) && (we = we.slice(1)), we)), xe = (me = (Ie = (Me = (N = (ye = g == null ? void 0 : g.compData) == null ? void 0 : ye.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : N.contents) == null ? void 0 : Me[0]) == null ? void 0 : Ie[0]) == null ? void 0 : me.label, Pe = (ve = (R = g == null ? void 0 : g.compData) == null ? void 0 : R.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : ve.contents;
|
|
4391
4391
|
if (F)
|
|
4392
4392
|
(F == null ? void 0 : F.length) === 0 ? x[g.name] = x != null && x[g.name] ? x[g.name] : ce(Ye, Pe) : x[xe] = ce(Ye, Pe);
|
|
4393
4393
|
else {
|
|
@@ -4437,7 +4437,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4437
4437
|
}
|
|
4438
4438
|
}, Ce = async (E, Oe, se) => {
|
|
4439
4439
|
var Se, Ve, dt;
|
|
4440
|
-
let Le = await
|
|
4440
|
+
let Le = await aa(Oe, sessionStorage.getItem("systemKey"), ""), Ke = Le == null ? void 0 : Le.find((X) => (X == null ? void 0 : X.name) === (se == null ? void 0 : se[0]));
|
|
4441
4441
|
if (Ke) {
|
|
4442
4442
|
if ((Ke == null ? void 0 : Ke.comp) === "Table") {
|
|
4443
4443
|
let X = {};
|
|
@@ -4449,7 +4449,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4449
4449
|
[ke[se[1]]]: ke
|
|
4450
4450
|
});
|
|
4451
4451
|
});
|
|
4452
|
-
let it = [],
|
|
4452
|
+
let it = [], te = at == null ? void 0 : at.map((ke) => {
|
|
4453
4453
|
var et;
|
|
4454
4454
|
return (et = Object.keys(ke)) == null ? void 0 : et[0];
|
|
4455
4455
|
});
|
|
@@ -4458,17 +4458,17 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4458
4458
|
(ke == null ? void 0 : ke.name) === (se == null ? void 0 : se[0]) && ((et = ke == null ? void 0 : ke.compData) == null || et.forEach((nt) => {
|
|
4459
4459
|
var k;
|
|
4460
4460
|
(nt == null ? void 0 : nt.key) === "tableContents" && ((k = nt == null ? void 0 : nt.contents) == null || k.forEach((x) => {
|
|
4461
|
-
x != null && x.some((g) =>
|
|
4462
|
-
[x.find((g) => g.id).id]: x.find((g) =>
|
|
4461
|
+
x != null && x.some((g) => te.includes(g)) && it.push({
|
|
4462
|
+
[x.find((g) => g.id).id]: x.find((g) => te.includes(g))
|
|
4463
4463
|
});
|
|
4464
4464
|
}));
|
|
4465
4465
|
}));
|
|
4466
4466
|
});
|
|
4467
|
-
let
|
|
4467
|
+
let le = it == null ? void 0 : it.map((ke) => {
|
|
4468
4468
|
var et;
|
|
4469
4469
|
return (et = Object.keys(ke)) == null ? void 0 : et[0];
|
|
4470
4470
|
}), Te = [];
|
|
4471
|
-
if (
|
|
4471
|
+
if (le == null || le.forEach((ke) => {
|
|
4472
4472
|
var k;
|
|
4473
4473
|
let et = (k = it == null ? void 0 : it.find((x) => {
|
|
4474
4474
|
var g;
|
|
@@ -4488,8 +4488,8 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4488
4488
|
} else if ((Ke == null ? void 0 : Ke.comp) === "Form") {
|
|
4489
4489
|
let X = v(Ke);
|
|
4490
4490
|
X.compData = (dt = X.compData) == null ? void 0 : dt.map((it) => {
|
|
4491
|
-
var
|
|
4492
|
-
return (it == null ? void 0 : it.key) === "formContent" && (it.contents = (
|
|
4491
|
+
var te;
|
|
4492
|
+
return (it == null ? void 0 : it.key) === "formContent" && (it.contents = (te = it.contents) == null ? void 0 : te.map((le) => ((le == null ? void 0 : le.key) === (se == null ? void 0 : se[1]) && (le.value = (E == null ? void 0 : E[le == null ? void 0 : le.prop]) || E), le))), it;
|
|
4493
4493
|
});
|
|
4494
4494
|
let at = {};
|
|
4495
4495
|
for (let it in X)
|
|
@@ -4513,8 +4513,8 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
}, A = async (E, Oe, se) => {
|
|
4516
|
-
var Se, Ve, dt, X, at, pt, it,
|
|
4517
|
-
let Le = await
|
|
4516
|
+
var Se, Ve, dt, X, at, pt, it, te, le, Te;
|
|
4517
|
+
let Le = await aa(Oe, sessionStorage.getItem("systemKey"), ""), Ke = Le == null ? void 0 : Le.find((ke) => (ke == null ? void 0 : ke.name) === (se == null ? void 0 : se[0]));
|
|
4518
4518
|
if (Ke) {
|
|
4519
4519
|
if ((Ke == null ? void 0 : Ke.comp) === "Table") {
|
|
4520
4520
|
let ke = {};
|
|
@@ -4536,8 +4536,8 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4536
4536
|
(X = (dt = v(ke)) == null ? void 0 : dt.compData) == null || X.forEach((P) => {
|
|
4537
4537
|
var oe, V;
|
|
4538
4538
|
(P == null ? void 0 : P.key) === "formContent" && ((V = (oe = v(P)) == null ? void 0 : oe.contents) == null || V.forEach((K) => {
|
|
4539
|
-
var
|
|
4540
|
-
et.includes(K == null ? void 0 : K.key) && (K == null ? void 0 : K.value) === ((
|
|
4539
|
+
var ne;
|
|
4540
|
+
et.includes(K == null ? void 0 : K.key) && (K == null ? void 0 : K.value) === ((ne = z.value) == null ? void 0 : ne.姓名) && (nt = K == null ? void 0 : K.key);
|
|
4541
4541
|
}));
|
|
4542
4542
|
});
|
|
4543
4543
|
let k = [];
|
|
@@ -4554,31 +4554,31 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4554
4554
|
(Y = (ve = (R = (me = (Ie = (Me = v(P)) == null ? void 0 : Me.split("<")) == null ? void 0 : Ie[1]) == null ? void 0 : me.split(">")) == null ? void 0 : R[0]) == null ? void 0 : ve.split(":")) == null || Y.forEach((q) => {
|
|
4555
4555
|
V.push(q.replaceAll("'", ""));
|
|
4556
4556
|
});
|
|
4557
|
-
const K = await
|
|
4558
|
-
let
|
|
4557
|
+
const K = await aa(oe, sessionStorage.getItem("systemKey"), "");
|
|
4558
|
+
let ne = "";
|
|
4559
4559
|
return K == null || K.forEach((q) => {
|
|
4560
4560
|
var F;
|
|
4561
4561
|
q.name === (V == null ? void 0 : V[0]) && ((F = q == null ? void 0 : q.compData) == null || F.forEach((Ye) => {
|
|
4562
4562
|
var xe;
|
|
4563
4563
|
(Ye == null ? void 0 : Ye.key) === "formContent" && ((xe = Ye.contents) == null || xe.forEach((Pe) => {
|
|
4564
|
-
(Pe == null ? void 0 : Pe.key) === (V == null ? void 0 : V[1]) && (
|
|
4564
|
+
(Pe == null ? void 0 : Pe.key) === (V == null ? void 0 : V[1]) && (ne = Pe == null ? void 0 : Pe.value);
|
|
4565
4565
|
}));
|
|
4566
4566
|
}));
|
|
4567
4567
|
}), {
|
|
4568
|
-
[P]:
|
|
4568
|
+
[P]: ne
|
|
4569
4569
|
};
|
|
4570
4570
|
}), g = await Promise.all(x);
|
|
4571
4571
|
ke.compData = (it = (pt = v(ke)) == null ? void 0 : pt.compData) == null ? void 0 : it.map((P) => {
|
|
4572
4572
|
var oe, V;
|
|
4573
4573
|
return (P == null ? void 0 : P.key) === "formContent" && (P.contents = (V = (oe = v(P)) == null ? void 0 : oe.contents) == null ? void 0 : V.map((K) => {
|
|
4574
|
-
var
|
|
4575
|
-
return (
|
|
4574
|
+
var ne, Z, pe, he;
|
|
4575
|
+
return (ne = E[nt]) != null && ne[K == null ? void 0 : K.key] && (E[nt][K == null ? void 0 : K.key].includes("(") ? K.value = (Z = g == null ? void 0 : g.find((H) => {
|
|
4576
4576
|
var ye;
|
|
4577
4577
|
return ((ye = Object.keys(H)) == null ? void 0 : ye[0]) === E[nt][K == null ? void 0 : K.key];
|
|
4578
4578
|
})) == null ? void 0 : Z[E[nt][K == null ? void 0 : K.key]] : K.value = (he = (pe = v(E)) == null ? void 0 : pe[nt]) == null ? void 0 : he[K == null ? void 0 : K.key]), K;
|
|
4579
4579
|
})), P;
|
|
4580
4580
|
});
|
|
4581
|
-
const L = await
|
|
4581
|
+
const L = await ya({
|
|
4582
4582
|
key: {
|
|
4583
4583
|
type: "structure",
|
|
4584
4584
|
pageKey: Oe,
|
|
@@ -4586,10 +4586,10 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4586
4586
|
}
|
|
4587
4587
|
});
|
|
4588
4588
|
let C = "";
|
|
4589
|
-
((
|
|
4589
|
+
((te = L == null ? void 0 : L.data) == null ? void 0 : te.type) === "success" && ((Te = (le = L == null ? void 0 : L.data) == null ? void 0 : le.result) == null || Te.forEach((P) => {
|
|
4590
4590
|
var oe, V;
|
|
4591
4591
|
((V = (oe = P == null ? void 0 : P.value) == null ? void 0 : oe.pageData) == null ? void 0 : V.name) === (se == null ? void 0 : se[0]) && (C = P.id);
|
|
4592
|
-
}), await
|
|
4592
|
+
}), await Xi({
|
|
4593
4593
|
id: C,
|
|
4594
4594
|
value: {
|
|
4595
4595
|
pageData: ke
|
|
@@ -4597,23 +4597,23 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4597
4597
|
}));
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
},
|
|
4600
|
+
}, ie = (E, Oe = "", se = {}) => {
|
|
4601
4601
|
for (const [Le, Ke] of Object.entries(E)) {
|
|
4602
4602
|
const Se = Oe ? `${Oe}.${Le}` : Le;
|
|
4603
4603
|
Ke !== null && typeof Ke == "object" && !Array.isArray(Ke) && // 数组按需求可自行处理
|
|
4604
|
-
Object.prototype.toString.call(Ke) !== "[object Date]" ?
|
|
4604
|
+
Object.prototype.toString.call(Ke) !== "[object Date]" ? ie(Ke, Se, se) : se[Se] = Ke;
|
|
4605
4605
|
}
|
|
4606
4606
|
return se;
|
|
4607
|
-
},
|
|
4608
|
-
var Ve, dt, X, at, pt, it,
|
|
4609
|
-
let Ke = await
|
|
4607
|
+
}, ae = async (E, Oe, se, Le) => {
|
|
4608
|
+
var Ve, dt, X, at, pt, it, te, le, Te, ke, et, nt, k, x, g, L, C, P, oe, V, K, ne, Z, pe, he;
|
|
4609
|
+
let Ke = await aa(Oe, sessionStorage.getItem("systemKey"), ""), Se = Ke == null ? void 0 : Ke.find((H) => (H == null ? void 0 : H.name) === (se == null ? void 0 : se[0]));
|
|
4610
4610
|
if (Se) {
|
|
4611
4611
|
if (!(se != null && se[1]) && (Se == null ? void 0 : Se.comp) === "Table") {
|
|
4612
4612
|
let H = {}, ye = [], N = (dt = (Ve = Se == null ? void 0 : Se.compData) == null ? void 0 : Ve.find((me) => (me == null ? void 0 : me.key) === "header")) == null ? void 0 : dt.contents;
|
|
4613
4613
|
N != null && N.every((me) => Array.isArray(me)) ? ye = (at = Qi((X = N == null ? void 0 : N[0]) == null ? void 0 : X.filter((me) => (me == null ? void 0 : me.label) !== "操作"))) == null ? void 0 : at.map((me) => me == null ? void 0 : me.prop) : ye = N == null ? void 0 : N.map((me) => me == null ? void 0 : me.label);
|
|
4614
4614
|
for (let me in v(E))
|
|
4615
4615
|
if (v(E)[me] !== "loginUser") {
|
|
4616
|
-
let R =
|
|
4616
|
+
let R = ie(v(E)[me]), ve = {};
|
|
4617
4617
|
for (let Y in R)
|
|
4618
4618
|
if (ye != null && ye.find((q) => q === Y))
|
|
4619
4619
|
ve[Y] = R[Y];
|
|
@@ -4624,12 +4624,12 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4624
4624
|
H[me] = ve;
|
|
4625
4625
|
} else
|
|
4626
4626
|
H[me] = ((pt = z.value) == null ? void 0 : pt.account) || ((it = z.value) == null ? void 0 : it.账号);
|
|
4627
|
-
let Me = await
|
|
4627
|
+
let Me = await ya({
|
|
4628
4628
|
keyLikes: {
|
|
4629
4629
|
tableId: Se == null ? void 0 : Se.id
|
|
4630
4630
|
}
|
|
4631
4631
|
});
|
|
4632
|
-
if (((
|
|
4632
|
+
if (((le = (te = Me == null ? void 0 : Me.data) == null ? void 0 : te.result) == null ? void 0 : le.length) > 0) {
|
|
4633
4633
|
let me = (ke = (Te = Me == null ? void 0 : Me.data) == null ? void 0 : Te.result) == null ? void 0 : ke.map((R) => R == null ? void 0 : R.id);
|
|
4634
4634
|
(me == null ? void 0 : me.length) > 0 && await un({
|
|
4635
4635
|
ids: me
|
|
@@ -4637,7 +4637,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4637
4637
|
}
|
|
4638
4638
|
let Ie = [];
|
|
4639
4639
|
if ((et = Se == null ? void 0 : Se.compData) != null && et.find((me) => (me == null ? void 0 : me.key) === "pageColumn") && ((x = (k = (nt = Se == null ? void 0 : Se.compData) == null ? void 0 : nt.find((me) => (me == null ? void 0 : me.key) === "pageColumn")) == null ? void 0 : k.contents) != null && x.includes("["))) {
|
|
4640
|
-
const me = await
|
|
4640
|
+
const me = await ya({
|
|
4641
4641
|
id: Se == null ? void 0 : Se.tableId
|
|
4642
4642
|
});
|
|
4643
4643
|
let R = ((P = (C = (L = (g = me == null ? void 0 : me.data) == null ? void 0 : g.result) == null ? void 0 : L[0]) == null ? void 0 : C.key) == null ? void 0 : P.pageKey) ?? "";
|
|
@@ -4673,14 +4673,14 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4673
4673
|
});
|
|
4674
4674
|
} else if (!(se != null && se[1]) && (Se == null ? void 0 : Se.comp) === "Form") {
|
|
4675
4675
|
let H = v(Se);
|
|
4676
|
-
H.compData = (
|
|
4676
|
+
H.compData = (ne = (K = v(H)) == null ? void 0 : K.compData) == null ? void 0 : ne.map((Me) => {
|
|
4677
4677
|
var Ie, me;
|
|
4678
4678
|
return (Me == null ? void 0 : Me.key) === "formContent" && (Me.contents = (me = (Ie = v(Me)) == null ? void 0 : Ie.contents) == null ? void 0 : me.map((R) => {
|
|
4679
4679
|
var ve, Y;
|
|
4680
4680
|
return (ve = v(E)) != null && ve[R == null ? void 0 : R.key] && (R.value = (Y = v(E)) == null ? void 0 : Y[R == null ? void 0 : R.key]), R;
|
|
4681
4681
|
})), Me;
|
|
4682
4682
|
});
|
|
4683
|
-
const ye = await
|
|
4683
|
+
const ye = await ya({
|
|
4684
4684
|
key: {
|
|
4685
4685
|
type: "structure",
|
|
4686
4686
|
pageKey: Oe,
|
|
@@ -4691,7 +4691,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4691
4691
|
((Z = ye == null ? void 0 : ye.data) == null ? void 0 : Z.type) === "success" && ((he = (pe = ye == null ? void 0 : ye.data) == null ? void 0 : pe.result) == null || he.forEach((Me) => {
|
|
4692
4692
|
var Ie, me;
|
|
4693
4693
|
((me = (Ie = Me == null ? void 0 : Me.value) == null ? void 0 : Ie.pageData) == null ? void 0 : me.name) === (se == null ? void 0 : se[0]) && (N = Me.id);
|
|
4694
|
-
}), await
|
|
4694
|
+
}), await Xi({
|
|
4695
4695
|
id: N,
|
|
4696
4696
|
value: {
|
|
4697
4697
|
pageData: H
|
|
@@ -4700,12 +4700,12 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
4702
4702
|
}, be = async (E) => {
|
|
4703
|
-
var Oe, se, Le, Ke, Se, Ve, dt, X, at, pt, it,
|
|
4703
|
+
var Oe, se, Le, Ke, Se, Ve, dt, X, at, pt, it, te, le, Te, ke, et;
|
|
4704
4704
|
T.setImportLoading(!0);
|
|
4705
4705
|
try {
|
|
4706
4706
|
if (E.api) {
|
|
4707
4707
|
let nt = /* @__PURE__ */ new WeakMap();
|
|
4708
|
-
(se = (Oe = (await
|
|
4708
|
+
(se = (Oe = (await Yi({
|
|
4709
4709
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4710
4710
|
type: de.value
|
|
4711
4711
|
})).data.result) == null ? void 0 : Oe.filter((Z) => {
|
|
@@ -4714,7 +4714,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4714
4714
|
})) == null || se.forEach((Z) => {
|
|
4715
4715
|
nt[Z.key.pageKey] ? nt[Z.key.pageKey] = [...nt[Z.key.pageKey], Z] : nt[Z.key.pageKey] = [Z];
|
|
4716
4716
|
});
|
|
4717
|
-
let x = await
|
|
4717
|
+
let x = await aa((b == null ? void 0 : b.value) === "" ? w.value : b == null ? void 0 : b.value, sessionStorage.getItem("systemKey"), "", !1, "", "", nt), g = "";
|
|
4718
4718
|
if (x = x == null ? void 0 : x.map((Z) => {
|
|
4719
4719
|
var pe, he, H, ye, N, Me, Ie, me, R, ve, Y, q;
|
|
4720
4720
|
if ((Z == null ? void 0 : Z.comp) === "Form")
|
|
@@ -4735,7 +4735,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4735
4735
|
}
|
|
4736
4736
|
return Z;
|
|
4737
4737
|
}), !(g === "" || g === "")) {
|
|
4738
|
-
const Z = await
|
|
4738
|
+
const Z = await aa(g, sessionStorage.getItem("systemKey"), "", !1, "", "", nt);
|
|
4739
4739
|
x = x == null ? void 0 : x.map((pe) => {
|
|
4740
4740
|
var he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye;
|
|
4741
4741
|
if ((pe == null ? void 0 : pe.comp) === "Table" && (he = pe.compData) != null && he.find((xe) => (xe == null ? void 0 : xe.key) === "pageColumn")) {
|
|
@@ -4769,7 +4769,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4769
4769
|
text: "Loading",
|
|
4770
4770
|
background: "rgba(0, 0, 0, 0.7)"
|
|
4771
4771
|
});
|
|
4772
|
-
P = await
|
|
4772
|
+
P = await Ai.post(E.api, L, {
|
|
4773
4773
|
responseType: "blob",
|
|
4774
4774
|
// 必须设置
|
|
4775
4775
|
headers: {
|
|
@@ -4779,23 +4779,23 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4779
4779
|
Z.close();
|
|
4780
4780
|
});
|
|
4781
4781
|
} else
|
|
4782
|
-
P = await
|
|
4782
|
+
P = await Ai.post(E.api, L, {
|
|
4783
4783
|
headers: {
|
|
4784
4784
|
"Content-Type": "application/json"
|
|
4785
4785
|
}
|
|
4786
4786
|
});
|
|
4787
|
-
let oe = (
|
|
4787
|
+
let oe = (te = (it = (pt = (at = v(E)) == null ? void 0 : at.extraValues) == null ? void 0 : pt.output) == null ? void 0 : it.map((Z) => {
|
|
4788
4788
|
var pe, he, H, ye, N, Me, Ie, me, R, ve, Y, q, F, Ye, xe, Pe;
|
|
4789
4789
|
if (!((he = (pe = Object.values(Z)) == null ? void 0 : pe[0]) != null && he.includes(".doc"))) {
|
|
4790
4790
|
let we = (ve = (R = (me = (ye = v((H = Object.values(Z)) == null ? void 0 : H[0])) == null ? void 0 : ye.split("[")) == null ? void 0 : me[((Ie = (Me = v((N = Object.values(Z)) == null ? void 0 : N[0])) == null ? void 0 : Me.split("[")) == null ? void 0 : Ie.length) - 1]) == null ? void 0 : R.split("]")) == null ? void 0 : ve[0], tt = we == null ? void 0 : we.split(":"), Je = (F = v((Y = Object.values(Z)) == null ? void 0 : Y[0])) == null ? void 0 : F.substring(0, v((q = Object.values(Z)) == null ? void 0 : q[0]).lastIndexOf("["));
|
|
4791
4791
|
if (Je = (xe = v(Je)) == null ? void 0 : xe.slice(0, ((Ye = v(Je)) == null ? void 0 : Ye.length) - 1), Je != null && Je.includes("[")) {
|
|
4792
4792
|
let J = "";
|
|
4793
|
-
if ((Pe =
|
|
4794
|
-
var ee, Ne, rt, Fe,
|
|
4793
|
+
if ((Pe = Si(Je, "/")) == null || Pe.forEach((ge) => {
|
|
4794
|
+
var ee, Ne, rt, Fe, re, We, ht;
|
|
4795
4795
|
if (!(ge != null && ge.includes("[")))
|
|
4796
4796
|
J = J === "" ? J + ge.replaceAll("/", "") : J + "/" + ge.replaceAll("/", "");
|
|
4797
4797
|
else {
|
|
4798
|
-
let _t = v(ge).slice(1, ((ee = v(ge)) == null ? void 0 : ee.length) - 1), mt = (We = (
|
|
4798
|
+
let _t = v(ge).slice(1, ((ee = v(ge)) == null ? void 0 : ee.length) - 1), mt = (We = (re = (Fe = (rt = (Ne = v(_t)) == null ? void 0 : Ne.split("[")) == null ? void 0 : rt[1]) == null ? void 0 : Fe.split("]")) == null ? void 0 : re[0]) == null ? void 0 : We.split(":"), ft = "", ze = (ht = x == null ? void 0 : x.find((Xe) => (Xe == null ? void 0 : Xe.name) === (mt == null ? void 0 : mt[0]))) == null ? void 0 : ht.compData;
|
|
4799
4799
|
ze == null || ze.forEach((Xe) => {
|
|
4800
4800
|
var lt;
|
|
4801
4801
|
(Xe == null ? void 0 : Xe.key) === "formContent" && ((lt = Xe == null ? void 0 : Xe.contents) == null || lt.forEach((xt) => {
|
|
@@ -4807,16 +4807,16 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4807
4807
|
return Je;
|
|
4808
4808
|
}
|
|
4809
4809
|
}
|
|
4810
|
-
})) == null ? void 0 :
|
|
4810
|
+
})) == null ? void 0 : te.filter((Z) => Z);
|
|
4811
4811
|
oe = [...new Set(v(oe))];
|
|
4812
4812
|
let V = oe == null ? void 0 : oe.map(async (Z) => {
|
|
4813
|
-
let pe = await
|
|
4813
|
+
let pe = await aa(Z, sessionStorage.getItem("systemKey"), "", !1, "", "", nt);
|
|
4814
4814
|
if ((pe == null ? void 0 : pe.length) === 0)
|
|
4815
4815
|
return await us(Z);
|
|
4816
4816
|
});
|
|
4817
4817
|
await Promise.all(V);
|
|
4818
|
-
let K = [],
|
|
4819
|
-
var me, R, ve, Y, q, F, Ye, xe, Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe,
|
|
4818
|
+
let K = [], ne = (ke = (Te = (le = v(E)) == null ? void 0 : le.extraValues) == null ? void 0 : Te.output) == null ? void 0 : ke.map(async (Z) => {
|
|
4819
|
+
var me, R, ve, Y, q, F, Ye, xe, Pe, we, tt, Je, J, ge, ee, Ne, rt, Fe, re, We, ht, _t, mt, ft, ze, Xe, lt, xt, Et, gt, Ct, Bt, Wt, Ht, jt, Ot, la, pa, sa, Ua, $a, Ka, Ja, Ma, Za, Ra, Qa, St, ha, bt, Ia, Kt, xa, Ea, ma, Aa, ua, Na, Wa, Fn, jn, On, li, ri, Un, oi, si, Kn, Nn, ui;
|
|
4820
4820
|
if ((R = (me = Object.values(Z)) == null ? void 0 : me[0]) != null && R.includes(".doc")) {
|
|
4821
4821
|
var pe = new Blob([P.data], {
|
|
4822
4822
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -4826,55 +4826,55 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4826
4826
|
blobUrl: Ie
|
|
4827
4827
|
}], c.value = !0;
|
|
4828
4828
|
} else {
|
|
4829
|
-
let pn = (we = (Pe = (xe = (Y = v((ve = Object.values(Z)) == null ? void 0 : ve[0])) == null ? void 0 : Y.split("[")) == null ? void 0 : xe[((Ye = (F = v((q = Object.values(Z)) == null ? void 0 : q[0])) == null ? void 0 : F.split("[")) == null ? void 0 : Ye.length) - 1]) == null ? void 0 : Pe.split("]")) == null ? void 0 : we[0], Qt = pn == null ? void 0 : pn.split(":"),
|
|
4830
|
-
if (
|
|
4831
|
-
let
|
|
4832
|
-
(Ne =
|
|
4833
|
-
var
|
|
4829
|
+
let pn = (we = (Pe = (xe = (Y = v((ve = Object.values(Z)) == null ? void 0 : ve[0])) == null ? void 0 : Y.split("[")) == null ? void 0 : xe[((Ye = (F = v((q = Object.values(Z)) == null ? void 0 : q[0])) == null ? void 0 : F.split("[")) == null ? void 0 : Ye.length) - 1]) == null ? void 0 : Pe.split("]")) == null ? void 0 : we[0], Qt = pn == null ? void 0 : pn.split(":"), ra = (J = v((tt = Object.values(Z)) == null ? void 0 : tt[0])) == null ? void 0 : J.substring(0, v((Je = Object.values(Z)) == null ? void 0 : Je[0]).lastIndexOf("["));
|
|
4830
|
+
if (ra != null && ra.includes("[") ? ra = (ee = v(ra)) == null ? void 0 : ee.slice(0, ((ge = v(ra)) == null ? void 0 : ge.length) - 1) : ra === "" && (ra = w.value), ra = ra.replaceAll("<", "[").replaceAll(">", "]"), ra != null && ra.includes("[")) {
|
|
4831
|
+
let It = "";
|
|
4832
|
+
(Ne = Si(ra, "/")) == null || Ne.forEach((Vt, na) => {
|
|
4833
|
+
var oa, ta, Da, Ta, hn, Va, vn, ci, zn, Wn, di;
|
|
4834
4834
|
if (!(Vt != null && Vt.includes("[")))
|
|
4835
|
-
|
|
4835
|
+
It = It === "" ? It + Vt.replaceAll("/", "") : It + "/" + Vt.replaceAll("/", "");
|
|
4836
4836
|
else {
|
|
4837
4837
|
let cn = "", Ha = "";
|
|
4838
|
-
(
|
|
4838
|
+
(oa = v(Vt)) != null && oa.includes("]") ? (cn = v(Vt).slice(1, ((ta = v(Vt)) == null ? void 0 : ta.length) - 1), Ha = (vn = (Va = (hn = (Ta = (Da = v(cn)) == null ? void 0 : Da.split("[")) == null ? void 0 : Ta[1]) == null ? void 0 : hn.split("]")) == null ? void 0 : Va[0]) == null ? void 0 : vn.split(":")) : (cn = v(Vt).slice(1, (ci = v(Vt)) == null ? void 0 : ci.length), Ha = (zn = v(cn)) == null ? void 0 : zn.split("/"));
|
|
4839
4839
|
let gn = "", yn = (Wn = x == null ? void 0 : x.find((La) => (La == null ? void 0 : La.name) === (Ha == null ? void 0 : Ha[0]))) == null ? void 0 : Wn.compData;
|
|
4840
4840
|
yn == null || yn.forEach((La) => {
|
|
4841
4841
|
var fi;
|
|
4842
4842
|
(La == null ? void 0 : La.key) === "formContent" && ((fi = La == null ? void 0 : La.contents) == null || fi.forEach((wa) => {
|
|
4843
4843
|
(wa == null ? void 0 : wa.key) === (Ha == null ? void 0 : Ha[1]) && (gn = wa == null ? void 0 : wa.value);
|
|
4844
4844
|
}));
|
|
4845
|
-
}), ((di =
|
|
4845
|
+
}), ((di = Si(ra, "/")) == null ? void 0 : di.length) - 1 !== na ? It = It === "" ? It + gn.replaceAll("/", "") : It + "/" + gn.replaceAll("/", "") : It = It + i.value + gn.replaceAll("/", "");
|
|
4846
4846
|
}
|
|
4847
|
-
}), (rt = w.value) != null && rt.includes(
|
|
4847
|
+
}), (rt = w.value) != null && rt.includes(It) ? ra = w.value : ra = It;
|
|
4848
4848
|
}
|
|
4849
4849
|
let Oa = v((Fe = Object.keys(Z)) == null ? void 0 : Fe[0]);
|
|
4850
|
-
if (((
|
|
4850
|
+
if (((re = P == null ? void 0 : P.data) == null ? void 0 : re.statusCode) === 200 || ((We = P == null ? void 0 : P.data) == null ? void 0 : We.code) === 200) {
|
|
4851
4851
|
if (((_t = (ht = P == null ? void 0 : P.data) == null ? void 0 : ht.data) != null && _t[Oa] || (ft = (mt = P == null ? void 0 : P.data) == null ? void 0 : mt.result) != null && ft[Oa]) && (Qt == null ? void 0 : Qt.length) === 1)
|
|
4852
|
-
return await
|
|
4853
|
-
if ((
|
|
4854
|
-
let
|
|
4855
|
-
return
|
|
4852
|
+
return await ae(((Xe = (ze = P == null ? void 0 : P.data) == null ? void 0 : ze.data) == null ? void 0 : Xe[Oa]) || ((xt = (lt = P == null ? void 0 : P.data) == null ? void 0 : lt.result) == null ? void 0 : xt[Oa]), v(ra), Qt, g);
|
|
4853
|
+
if ((gt = (Et = P == null ? void 0 : P.data) == null ? void 0 : Et.data) != null && gt[Oa] || (Bt = (Ct = P == null ? void 0 : P.data) == null ? void 0 : Ct.result) != null && Bt[Oa]) {
|
|
4854
|
+
let It = await Ce(((Ht = (Wt = P == null ? void 0 : P.data) == null ? void 0 : Wt.data) == null ? void 0 : Ht[Oa]) || ((Ot = (jt = P == null ? void 0 : P.data) == null ? void 0 : jt.result) == null ? void 0 : Ot[Oa]), v(ra), Qt);
|
|
4855
|
+
return It && (K = [...K, ...It]), It;
|
|
4856
4856
|
} else {
|
|
4857
|
-
if (!((
|
|
4858
|
-
let
|
|
4859
|
-
|
|
4860
|
-
var
|
|
4861
|
-
return (
|
|
4857
|
+
if (!((la = P == null ? void 0 : P.data) != null && la.data)) {
|
|
4858
|
+
let It = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, "", "", nt);
|
|
4859
|
+
It = It == null ? void 0 : It.map((na) => {
|
|
4860
|
+
var oa;
|
|
4861
|
+
return (na == null ? void 0 : na.name) === (Qt == null ? void 0 : Qt[0]) && (na.compData = (oa = na.compData) == null ? void 0 : oa.map((ta) => {
|
|
4862
4862
|
var Da;
|
|
4863
|
-
return (
|
|
4863
|
+
return (ta == null ? void 0 : ta.key) === "formContent" && (ta.contents = (Da = ta.contents) == null ? void 0 : Da.map((Ta) => {
|
|
4864
4864
|
var hn, Va;
|
|
4865
4865
|
return (Ta == null ? void 0 : Ta.key) === (Qt == null ? void 0 : Qt[1]) && (Ta.value = (Va = (hn = P == null ? void 0 : P.data) == null ? void 0 : hn.result) == null ? void 0 : Va[Oa == null ? void 0 : Oa.replaceAll(":", "")]), Ta;
|
|
4866
|
-
})),
|
|
4867
|
-
})),
|
|
4866
|
+
})), ta;
|
|
4867
|
+
})), na;
|
|
4868
4868
|
});
|
|
4869
4869
|
let Vt = [];
|
|
4870
|
-
(
|
|
4871
|
-
let
|
|
4872
|
-
for (let
|
|
4873
|
-
|
|
4870
|
+
(pa = It == null ? void 0 : It.filter((na) => (na == null ? void 0 : na.comp) === "Form")) == null || pa.forEach(async (na) => {
|
|
4871
|
+
let oa = {};
|
|
4872
|
+
for (let ta in na)
|
|
4873
|
+
ta !== "id" && (oa[ta] = na[ta]);
|
|
4874
4874
|
Vt.push({
|
|
4875
|
-
id:
|
|
4875
|
+
id: na == null ? void 0 : na.id,
|
|
4876
4876
|
value: {
|
|
4877
|
-
pageData:
|
|
4877
|
+
pageData: oa
|
|
4878
4878
|
}
|
|
4879
4879
|
});
|
|
4880
4880
|
}), (Vt == null ? void 0 : Vt.length) > 0 && await En({
|
|
@@ -4883,27 +4883,27 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
4883
4883
|
return;
|
|
4884
4884
|
}
|
|
4885
4885
|
if ((Qt == null ? void 0 : Qt.length) === 1) {
|
|
4886
|
-
const
|
|
4886
|
+
const It = ($a = (Ua = (sa = P == null ? void 0 : P.data) == null ? void 0 : sa.data) == null ? void 0 : Ua.path) == null ? void 0 : $a.path;
|
|
4887
4887
|
let Vt = "";
|
|
4888
|
-
(Ra = (Za = (Ma = (Ja = (Ka =
|
|
4888
|
+
(Ra = (Za = (Ma = (Ja = (Ka = It == null ? void 0 : It.split("(")) == null ? void 0 : Ka[1]) == null ? void 0 : Ja.split(")")) == null ? void 0 : Ma[0]) == null ? void 0 : Za.split(":")) == null || Ra.forEach((ta) => {
|
|
4889
4889
|
var Da, Ta;
|
|
4890
|
-
Vt = Vt === "" ? Vt + ((Da =
|
|
4890
|
+
Vt = Vt === "" ? Vt + ((Da = ta == null ? void 0 : ta.replaceAll("'", "")) == null ? void 0 : Da.trim()) : Vt + "/" + ((Ta = ta == null ? void 0 : ta.replaceAll("'", "")) == null ? void 0 : Ta.trim());
|
|
4891
4891
|
});
|
|
4892
|
-
let
|
|
4893
|
-
return (Ea = (xa = (Kt = P == null ? void 0 : P.data) == null ? void 0 : Kt.data) == null ? void 0 : xa.data) != null && Ea[Qt == null ? void 0 : Qt[0]] ?
|
|
4892
|
+
let na = [(Ia = (bt = (ha = (St = (Qa = It == null ? void 0 : It.split("<")) == null ? void 0 : Qa[1]) == null ? void 0 : St.split(">")) == null ? void 0 : ha[0]) == null ? void 0 : bt.replaceAll("'", "")) == null ? void 0 : Ia.trim()], oa;
|
|
4893
|
+
return (Ea = (xa = (Kt = P == null ? void 0 : P.data) == null ? void 0 : Kt.data) == null ? void 0 : xa.data) != null && Ea[Qt == null ? void 0 : Qt[0]] ? oa = await ae((ua = (Aa = (ma = P == null ? void 0 : P.data) == null ? void 0 : ma.data) == null ? void 0 : Aa.data) == null ? void 0 : ua[Qt == null ? void 0 : Qt[0]], Vt, Qt, g) : oa = await A((Wa = (Na = P == null ? void 0 : P.data) == null ? void 0 : Na.data) == null ? void 0 : Wa.data, Vt, na, nt), oa;
|
|
4894
4894
|
} else {
|
|
4895
|
-
const
|
|
4895
|
+
const It = (On = (jn = (Fn = P == null ? void 0 : P.data) == null ? void 0 : Fn.data) == null ? void 0 : jn.path) == null ? void 0 : On.path;
|
|
4896
4896
|
let Vt = "";
|
|
4897
|
-
return (si = (oi = (Un = (ri = (li =
|
|
4898
|
-
var
|
|
4899
|
-
Vt = Vt === "" ? Vt + ((
|
|
4897
|
+
return (si = (oi = (Un = (ri = (li = It == null ? void 0 : It.split("(")) == null ? void 0 : li[1]) == null ? void 0 : ri.split(")")) == null ? void 0 : Un[0]) == null ? void 0 : oi.split(":")) == null || si.forEach((oa) => {
|
|
4898
|
+
var ta, Da;
|
|
4899
|
+
Vt = Vt === "" ? Vt + ((ta = oa == null ? void 0 : oa.replaceAll("'", "")) == null ? void 0 : ta.trim()) : Vt + "/" + ((Da = oa == null ? void 0 : oa.replaceAll("'", "")) == null ? void 0 : Da.trim());
|
|
4900
4900
|
}), await Ce((ui = (Nn = (Kn = P == null ? void 0 : P.data) == null ? void 0 : Kn.data) == null ? void 0 : Nn.data) == null ? void 0 : ui[Qt == null ? void 0 : Qt[0]], Vt, Qt);
|
|
4901
4901
|
}
|
|
4902
4902
|
}
|
|
4903
4903
|
}
|
|
4904
4904
|
}
|
|
4905
4905
|
});
|
|
4906
|
-
if (await Promise.all(
|
|
4906
|
+
if (await Promise.all(ne), (K == null ? void 0 : K.length) > 0) {
|
|
4907
4907
|
let Z = [];
|
|
4908
4908
|
K == null || K.forEach((H) => {
|
|
4909
4909
|
Z != null && Z.find((ye) => {
|
|
@@ -5020,68 +5020,68 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5020
5020
|
}, 100), Be = async (E) => {
|
|
5021
5021
|
var dt, X, at, pt, it;
|
|
5022
5022
|
const Oe = v(E);
|
|
5023
|
-
let se, Le = /* @__PURE__ */ new WeakMap(), Ke = await
|
|
5023
|
+
let se, Le = /* @__PURE__ */ new WeakMap(), Ke = await Yi({
|
|
5024
5024
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
5025
5025
|
type: de.value
|
|
5026
5026
|
});
|
|
5027
|
-
(X = (dt = Ke.data.result) == null ? void 0 : dt.filter((
|
|
5028
|
-
var
|
|
5029
|
-
return ((
|
|
5030
|
-
})) == null || X.forEach((
|
|
5031
|
-
Le[
|
|
5032
|
-
}), E != null && E[0].path && (se = await (Oe == null ? void 0 : Oe.map(async (
|
|
5033
|
-
var L, C, P, oe, V, K,
|
|
5034
|
-
const ke = (L = Le[
|
|
5027
|
+
(X = (dt = Ke.data.result) == null ? void 0 : dt.filter((te) => {
|
|
5028
|
+
var le, Te;
|
|
5029
|
+
return ((le = te == null ? void 0 : te.key) == null ? void 0 : le.pageKey) !== "menu" && ((Te = te == null ? void 0 : te.key) == null ? void 0 : Te.pageKey) !== "secret";
|
|
5030
|
+
})) == null || X.forEach((te) => {
|
|
5031
|
+
Le[te.key.pageKey] ? Le[te.key.pageKey] = [...Le[te.key.pageKey], te] : Le[te.key.pageKey] = [te];
|
|
5032
|
+
}), E != null && E[0].path && (se = await (Oe == null ? void 0 : Oe.map(async (te, le) => {
|
|
5033
|
+
var L, C, P, oe, V, K, ne, Z, pe, he, H, ye, N, Me, Ie, me;
|
|
5034
|
+
const ke = (L = Le[te == null ? void 0 : te.path]) == null ? void 0 : L.filter((R) => {
|
|
5035
5035
|
var ve;
|
|
5036
5036
|
return ((ve = R == null ? void 0 : R.key) == null ? void 0 : ve.type) === "data";
|
|
5037
5037
|
});
|
|
5038
5038
|
let et = "";
|
|
5039
|
-
const nt = await
|
|
5039
|
+
const nt = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, Le);
|
|
5040
5040
|
ke == null || ke.forEach((R) => {
|
|
5041
5041
|
var ve, Y, q, F, Ye;
|
|
5042
|
-
((Y = (ve = R == null ? void 0 : R.value) == null ? void 0 : ve.tableData) == null ? void 0 : Y.算法名称) === ((q = Oe == null ? void 0 : Oe[
|
|
5042
|
+
((Y = (ve = R == null ? void 0 : R.value) == null ? void 0 : ve.tableData) == null ? void 0 : Y.算法名称) === ((q = Oe == null ? void 0 : Oe[le]) == null ? void 0 : q.method) && (et = (Ye = (F = R == null ? void 0 : R.value) == null ? void 0 : F.tableData) == null ? void 0 : Ye.算法体);
|
|
5043
5043
|
});
|
|
5044
|
-
const k = await
|
|
5044
|
+
const k = await aa(te == null ? void 0 : te.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, Le);
|
|
5045
5045
|
let x = "", g = (V = (oe = (P = (C = k == null ? void 0 : k[0]) == null ? void 0 : C.compData) == null ? void 0 : P.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : oe.contents) == null ? void 0 : V.findIndex((R) => (R == null ? void 0 : R.prop) === "算法体");
|
|
5046
|
-
return (
|
|
5046
|
+
return (ne = (K = k == null ? void 0 : k[0]) == null ? void 0 : K.compData) == null || ne.forEach((R) => {
|
|
5047
5047
|
var ve;
|
|
5048
5048
|
(R == null ? void 0 : R.key) === "tableContents" && ((ve = R == null ? void 0 : R.contents) == null || ve.forEach((Y) => {
|
|
5049
|
-
Y != null && Y.find((q) => q === (
|
|
5049
|
+
Y != null && Y.find((q) => q === (te == null ? void 0 : te.method)) && (x = Y[g]);
|
|
5050
5050
|
}));
|
|
5051
5051
|
}), {
|
|
5052
|
-
buttonName: ((Z = Oe == null ? void 0 : Oe[
|
|
5052
|
+
buttonName: ((Z = Oe == null ? void 0 : Oe[le]) == null ? void 0 : Z.method) || ((H = (he = (pe = ke == null ? void 0 : ke[0]) == null ? void 0 : pe.value) == null ? void 0 : he.tableData) == null ? void 0 : H.算法名称),
|
|
5053
5053
|
api: (et === "" ? (Me = (N = (ye = ke == null ? void 0 : ke[0]) == null ? void 0 : ye.value) == null ? void 0 : N.tableData) == null ? void 0 : Me.算法体 : et) || x,
|
|
5054
5054
|
content: nt == null ? void 0 : nt.filter((R) => R.comp !== "methodButton"),
|
|
5055
|
-
extraContent: (Ie = v(
|
|
5056
|
-
methodName: (
|
|
5057
|
-
extraValues: (me = Oe == null ? void 0 : Oe[
|
|
5055
|
+
extraContent: (Ie = v(te.value)) == null ? void 0 : Ie.slice(1),
|
|
5056
|
+
methodName: (te == null ? void 0 : te.path) ?? "",
|
|
5057
|
+
extraValues: (me = Oe == null ? void 0 : Oe[le]) == null ? void 0 : me.data
|
|
5058
5058
|
};
|
|
5059
5059
|
})));
|
|
5060
|
-
const Se = Oe == null ? void 0 : Oe.map(async (
|
|
5060
|
+
const Se = Oe == null ? void 0 : Oe.map(async (te) => {
|
|
5061
5061
|
var k, x, g, L, C, P;
|
|
5062
|
-
const
|
|
5063
|
-
var V, K,
|
|
5064
|
-
return ((V = oe == null ? void 0 : oe.key) == null ? void 0 : V.parentTable) === "" && ((K = oe == null ? void 0 : oe.key) == null ? void 0 : K.type) === "method" && ((
|
|
5065
|
-
}), Te =
|
|
5062
|
+
const le = (k = Ke.data.result) == null ? void 0 : k.filter((oe) => {
|
|
5063
|
+
var V, K, ne;
|
|
5064
|
+
return ((V = oe == null ? void 0 : oe.key) == null ? void 0 : V.parentTable) === "" && ((K = oe == null ? void 0 : oe.key) == null ? void 0 : K.type) === "method" && ((ne = oe == null ? void 0 : oe.key) == null ? void 0 : ne.methodName) === oe.method;
|
|
5065
|
+
}), Te = le == null ? void 0 : le[0], ke = (x = Ke.data.result) == null ? void 0 : x.filter((oe) => {
|
|
5066
5066
|
var V, K;
|
|
5067
5067
|
return ((V = oe == null ? void 0 : oe.key) == null ? void 0 : V.type) === "methodData" && ((K = oe == null ? void 0 : oe.key) == null ? void 0 : K.tableId) === (Te == null ? void 0 : Te.id);
|
|
5068
|
-
}), et = await
|
|
5068
|
+
}), et = await aa(w.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, Le), nt = ke == null ? void 0 : ke[0];
|
|
5069
5069
|
return {
|
|
5070
5070
|
buttonName: (g = Te == null ? void 0 : Te.key) == null ? void 0 : g.methodKey,
|
|
5071
5071
|
api: (C = (L = nt == null ? void 0 : nt.value) == null ? void 0 : L.tableData) == null ? void 0 : C[0],
|
|
5072
5072
|
content: et == null ? void 0 : et.filter((oe) => oe.comp !== "methodButton"),
|
|
5073
|
-
extraContent: (P = v(
|
|
5074
|
-
methodName: (
|
|
5073
|
+
extraContent: (P = v(te.value)) == null ? void 0 : P.slice(1),
|
|
5074
|
+
methodName: (te == null ? void 0 : te.method) ?? ""
|
|
5075
5075
|
};
|
|
5076
5076
|
}), Ve = (
|
|
5077
5077
|
// await Promise.all(currentValueContents)
|
|
5078
5078
|
(at = E == null ? void 0 : E[0]) != null && at.path && ((pt = E == null ? void 0 : E[0]) == null ? void 0 : pt.path) !== "" ? await Promise.all(se) : await Promise.all(Se)
|
|
5079
5079
|
);
|
|
5080
|
-
r.value = Ve == null ? void 0 : Ve.filter((
|
|
5081
|
-
var
|
|
5082
|
-
|
|
5080
|
+
r.value = Ve == null ? void 0 : Ve.filter((te) => te == null ? void 0 : te.extraContent), (it = r.value) == null || it.forEach((te) => {
|
|
5081
|
+
var le;
|
|
5082
|
+
te.api === "" && ((le = te.content) == null || le.forEach((Te) => {
|
|
5083
5083
|
var ke;
|
|
5084
|
-
Te.comp == "Table" && _.setExtraContents(ss(Te.compData, (ke =
|
|
5084
|
+
Te.comp == "Table" && _.setExtraContents(ss(Te.compData, (ke = te.extraContent) == null ? void 0 : ke[0]));
|
|
5085
5085
|
}));
|
|
5086
5086
|
});
|
|
5087
5087
|
};
|
|
@@ -5097,7 +5097,7 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5097
5097
|
(Ae(!0), Qe(Nt, null, Jt((se = r.value) == null ? void 0 : se.filter((Se) => (Se == null ? void 0 : Se.buttonName) !== "保存"), (Se) => {
|
|
5098
5098
|
var Ve;
|
|
5099
5099
|
return Ae(), Qe("div", null, [
|
|
5100
|
-
Se.api !== "" ? (Ae(),
|
|
5100
|
+
Se.api !== "" ? (Ae(), zt(Rt(wl), {
|
|
5101
5101
|
key: 0,
|
|
5102
5102
|
disabled: Rt(U) === Rt(w) && !((Ve = Se == null ? void 0 : Se.buttonName) != null && Ve.includes("预览")),
|
|
5103
5103
|
class: "calculator-content",
|
|
@@ -5108,14 +5108,14 @@ const Uh = (a) => /^'[^']+':\{.*\}$/.exec(v(a)), Kh = (a) => /^'[^']+':(?:\[{1,2
|
|
|
5108
5108
|
]);
|
|
5109
5109
|
}), 256)),
|
|
5110
5110
|
ue("div", null, [
|
|
5111
|
-
Rt(Ee) !== "" && ((Ke = Rt(w)) == null ? void 0 : Ke[((Le = Rt(w)) == null ? void 0 : Le.length) - 1]) !== Rt(i) ? (Ae(),
|
|
5111
|
+
Rt(Ee) !== "" && ((Ke = Rt(w)) == null ? void 0 : Ke[((Le = Rt(w)) == null ? void 0 : Le.length) - 1]) !== Rt(i) ? (Ae(), zt(Rt(wl), {
|
|
5112
5112
|
key: 0,
|
|
5113
5113
|
class: "calculator-content",
|
|
5114
5114
|
onClickTrigger: Ue,
|
|
5115
5115
|
modelValue: "保存"
|
|
5116
5116
|
})) : fa("", !0)
|
|
5117
5117
|
]),
|
|
5118
|
-
c.value ? (Ae(),
|
|
5118
|
+
c.value ? (Ae(), zt(hr, {
|
|
5119
5119
|
key: 0,
|
|
5120
5120
|
fileDataList: m.value,
|
|
5121
5121
|
onDestroy: st
|
|
@@ -5318,7 +5318,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5318
5318
|
})
|
|
5319
5319
|
]),
|
|
5320
5320
|
default: Re(() => [
|
|
5321
|
-
U[1] || (U[1] =
|
|
5321
|
+
U[1] || (U[1] = Tt(" 新增 "))
|
|
5322
5322
|
]),
|
|
5323
5323
|
_: 1,
|
|
5324
5324
|
__: [1]
|
|
@@ -5337,7 +5337,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5337
5337
|
onClick: (z) => W("update", { ...M, index: b + 1 })
|
|
5338
5338
|
}, {
|
|
5339
5339
|
default: Re(() => U[3] || (U[3] = [
|
|
5340
|
-
|
|
5340
|
+
Tt("修改")
|
|
5341
5341
|
])),
|
|
5342
5342
|
_: 2,
|
|
5343
5343
|
__: [3]
|
|
@@ -5348,7 +5348,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5348
5348
|
onClick: (z) => W("delete", b)
|
|
5349
5349
|
}, {
|
|
5350
5350
|
default: Re(() => U[4] || (U[4] = [
|
|
5351
|
-
|
|
5351
|
+
Tt("删除")
|
|
5352
5352
|
])),
|
|
5353
5353
|
_: 2,
|
|
5354
5354
|
__: [4]
|
|
@@ -5363,7 +5363,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5363
5363
|
}, null, 8, ["rowContents"])
|
|
5364
5364
|
])
|
|
5365
5365
|
]),
|
|
5366
|
-
De(
|
|
5366
|
+
De(va, {
|
|
5367
5367
|
visible: s.visible,
|
|
5368
5368
|
title: s.title,
|
|
5369
5369
|
onBeforeDestroy: Ee,
|
|
@@ -5371,7 +5371,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5371
5371
|
}, {
|
|
5372
5372
|
default: Re(() => [
|
|
5373
5373
|
ue("div", od, [
|
|
5374
|
-
(Ae(),
|
|
5374
|
+
(Ae(), zt(ca, {
|
|
5375
5375
|
rowContents: f.value,
|
|
5376
5376
|
key: f.value,
|
|
5377
5377
|
isEnableWrap: !1,
|
|
@@ -5427,7 +5427,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5427
5427
|
"align-center": ((U = a.stepConfig) == null ? void 0 : U.alignCenter) ?? !0
|
|
5428
5428
|
}, {
|
|
5429
5429
|
default: Re(() => [
|
|
5430
|
-
(Ae(!0), Qe(Nt, null, Jt(a.stepList, (M, b) => (Ae(),
|
|
5430
|
+
(Ae(!0), Qe(Nt, null, Jt(a.stepList, (M, b) => (Ae(), zt(B, {
|
|
5431
5431
|
key: b,
|
|
5432
5432
|
class: "step-item",
|
|
5433
5433
|
onClick: (z) => m(M, b + 1)
|
|
@@ -5451,7 +5451,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5451
5451
|
key: b,
|
|
5452
5452
|
class: "step-cont-wrap"
|
|
5453
5453
|
}, [
|
|
5454
|
-
(Ae(),
|
|
5454
|
+
(Ae(), zt(sn(p(M == null ? void 0 : M.type)), {
|
|
5455
5455
|
modelValue: M.value,
|
|
5456
5456
|
"onUpdate:modelValue": (z) => M.value = z,
|
|
5457
5457
|
onClickTrigger: _,
|
|
@@ -5494,7 +5494,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5494
5494
|
deep: !0
|
|
5495
5495
|
}), (p, f) => {
|
|
5496
5496
|
const _ = Ft("svg-icon");
|
|
5497
|
-
return Ae(),
|
|
5497
|
+
return Ae(), zt(dd, {
|
|
5498
5498
|
stepConfig: s.value,
|
|
5499
5499
|
stepList: c.value,
|
|
5500
5500
|
onClickStep: m
|
|
@@ -5503,10 +5503,10 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5503
5503
|
De(_, { name: "import" })
|
|
5504
5504
|
]),
|
|
5505
5505
|
title: Re(({ title: S }) => [
|
|
5506
|
-
|
|
5506
|
+
Tt(vt(S), 1)
|
|
5507
5507
|
]),
|
|
5508
5508
|
description: Re(({ description: S }) => [
|
|
5509
|
-
|
|
5509
|
+
Tt(vt(S), 1)
|
|
5510
5510
|
]),
|
|
5511
5511
|
_: 1
|
|
5512
5512
|
}, 8, ["stepConfig", "stepList"]);
|
|
@@ -5528,9 +5528,9 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5528
5528
|
setup(a) {
|
|
5529
5529
|
return (r, o) => {
|
|
5530
5530
|
const i = Ft("el-timeline-item"), s = Ft("el-timeline");
|
|
5531
|
-
return Ae(),
|
|
5531
|
+
return Ae(), zt(s, null, {
|
|
5532
5532
|
default: Re(() => [
|
|
5533
|
-
(Ae(!0), Qe(Nt, null, Jt(a.activities, (c, m) => (Ae(),
|
|
5533
|
+
(Ae(!0), Qe(Nt, null, Jt(a.activities, (c, m) => (Ae(), zt(i, {
|
|
5534
5534
|
key: m,
|
|
5535
5535
|
timestamp: c.timestamp,
|
|
5536
5536
|
placement: a.timeLineConfig.placement,
|
|
@@ -5570,7 +5570,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5570
5570
|
i.value = (c = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "timeLineList")) == null ? void 0 : c.contents, o.value = (m = s == null ? void 0 : s.find((p) => (p == null ? void 0 : p.key) === "timeLineConfig")) == null ? void 0 : m.contents;
|
|
5571
5571
|
}, {
|
|
5572
5572
|
immediate: !0
|
|
5573
|
-
}), (s, c) => (Ae(),
|
|
5573
|
+
}), (s, c) => (Ae(), zt(hd, {
|
|
5574
5574
|
activities: i.value,
|
|
5575
5575
|
timeLineConfig: o.value
|
|
5576
5576
|
}, {
|
|
@@ -5616,7 +5616,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5616
5616
|
De(is, { tabsContents: o.value }, null, 8, ["tabsContents"])
|
|
5617
5617
|
]));
|
|
5618
5618
|
}
|
|
5619
|
-
}, xd = /* @__PURE__ */ Zt(kd, [["__scopeId", "data-v-40865f68"]]),
|
|
5619
|
+
}, xd = /* @__PURE__ */ Zt(kd, [["__scopeId", "data-v-40865f68"]]), Li = as("tabComp", {
|
|
5620
5620
|
state: () => ({
|
|
5621
5621
|
itemData: [],
|
|
5622
5622
|
originalData: [],
|
|
@@ -5653,7 +5653,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5653
5653
|
}), wd = { class: "type-select" }, _d = ["onClick"], Cd = { class: "list-icon" }, Sd = {
|
|
5654
5654
|
__name: "modelSelect",
|
|
5655
5655
|
setup(a) {
|
|
5656
|
-
const r =
|
|
5656
|
+
const r = Li(Gt), { itemData: o } = Yt(r), i = (s) => {
|
|
5657
5657
|
const c = v(o.value);
|
|
5658
5658
|
c.push({
|
|
5659
5659
|
comp: s.comp,
|
|
@@ -5689,7 +5689,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5689
5689
|
}, $d = ["onClick"], Md = { class: "comp-child" }, Rd = {
|
|
5690
5690
|
__name: "modelFill",
|
|
5691
5691
|
setup(a) {
|
|
5692
|
-
const r =
|
|
5692
|
+
const r = Li(Gt), { itemData: o, originalData: i } = Yt(r), s = fe([]);
|
|
5693
5693
|
fe([]);
|
|
5694
5694
|
const c = fe([]), m = fe([]), p = (B) => {
|
|
5695
5695
|
var Ee;
|
|
@@ -5810,8 +5810,8 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5810
5810
|
var de, w;
|
|
5811
5811
|
return [
|
|
5812
5812
|
ue("div", Md, [
|
|
5813
|
-
|
|
5814
|
-
(Ae(),
|
|
5813
|
+
Tt(vt(S(G.comp + "Operate")) + " ", 1),
|
|
5814
|
+
(Ae(), zt(sn(S(G.comp + "Operate")), {
|
|
5815
5815
|
itemContents: G == null ? void 0 : G.compData,
|
|
5816
5816
|
originalItemContents: (w = (de = c.value) == null ? void 0 : de.find((M, b) => b === U)) == null ? void 0 : w.compData,
|
|
5817
5817
|
onChange: (M) => T(M, G, U)
|
|
@@ -5831,7 +5831,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5831
5831
|
}, jd = { style: { display: "flex" } }, Ud = {
|
|
5832
5832
|
__name: "modelShow",
|
|
5833
5833
|
setup(a) {
|
|
5834
|
-
const r =
|
|
5834
|
+
const r = Li(Gt), { itemData: o } = Yt(r), i = fe([]);
|
|
5835
5835
|
kt(
|
|
5836
5836
|
() => o.value,
|
|
5837
5837
|
() => {
|
|
@@ -5849,7 +5849,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5849
5849
|
key: _
|
|
5850
5850
|
}, [
|
|
5851
5851
|
ue("div", jd, vt(f.name), 1),
|
|
5852
|
-
(Ae(),
|
|
5852
|
+
(Ae(), zt(sn(s(f.comp)), {
|
|
5853
5853
|
itemData: f == null ? void 0 : f.compData,
|
|
5854
5854
|
childItemData: f == null ? void 0 : f.itemChildData,
|
|
5855
5855
|
key: _
|
|
@@ -5871,7 +5871,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5871
5871
|
},
|
|
5872
5872
|
emits: ["change"],
|
|
5873
5873
|
setup(a, { emit: r }) {
|
|
5874
|
-
const o = a, i = r, s = fe([]), c = fe(!1), m = fe(""), p = fe({ title: "" }), f = fe(-1), _ = fe(!1), S = fe(-1), T = fe(/* @__PURE__ */ new WeakMap()), $ = fe(null), B =
|
|
5874
|
+
const o = a, i = r, s = fe([]), c = fe(!1), m = fe(""), p = fe({ title: "" }), f = fe(-1), _ = fe(!1), S = fe(-1), T = fe(/* @__PURE__ */ new WeakMap()), $ = fe(null), B = Li(Gt), { itemData: W } = Yt(B), Ee = () => {
|
|
5875
5875
|
m.value = "新增标签页", p.value.title = "", f.value = -1, c.value = !0;
|
|
5876
5876
|
}, G = (Be) => {
|
|
5877
5877
|
m.value = "修改标签页", p.value.title = s.value[Be].title, f.value = Be, c.value = !0;
|
|
@@ -5976,14 +5976,14 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5976
5976
|
}, $e = (Be) => [], Ge = () => {
|
|
5977
5977
|
if (S.value >= 0 && S.value < s.value.length) {
|
|
5978
5978
|
const Be = M(S.value);
|
|
5979
|
-
T.value.set(Be, v(W.value)), s.value[S.value].children =
|
|
5979
|
+
T.value.set(Be, v(W.value)), s.value[S.value].children = ie(W.value), console.log("保存后的数据", ie(W.value));
|
|
5980
5980
|
}
|
|
5981
5981
|
_.value = !1, S.value = -1, $.value = null, ct();
|
|
5982
5982
|
}, Ce = () => {
|
|
5983
5983
|
$.value && B.setItemData(v($.value)), _.value = !1, S.value = -1, $.value = null;
|
|
5984
5984
|
}, A = () => {
|
|
5985
5985
|
_.value && Ce();
|
|
5986
|
-
},
|
|
5986
|
+
}, ie = (Be) => {
|
|
5987
5987
|
if (!Array.isArray(Be))
|
|
5988
5988
|
throw new Error("sourceData must be an array");
|
|
5989
5989
|
return Be.map((E, Oe) => {
|
|
@@ -5994,7 +5994,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
5994
5994
|
case "Form":
|
|
5995
5995
|
return {
|
|
5996
5996
|
type: "form",
|
|
5997
|
-
content:
|
|
5997
|
+
content: ae(Ke || []),
|
|
5998
5998
|
value: "表单"
|
|
5999
5999
|
};
|
|
6000
6000
|
case "Table":
|
|
@@ -6011,7 +6011,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6011
6011
|
};
|
|
6012
6012
|
}
|
|
6013
6013
|
});
|
|
6014
|
-
},
|
|
6014
|
+
}, ae = (Be) => {
|
|
6015
6015
|
const E = {
|
|
6016
6016
|
formRules: {},
|
|
6017
6017
|
rowContents: [],
|
|
@@ -6106,7 +6106,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6106
6106
|
name: "Plus",
|
|
6107
6107
|
style: { width: "14px", height: "14px", "margin-right": "4px" }
|
|
6108
6108
|
}),
|
|
6109
|
-
E[5] || (E[5] =
|
|
6109
|
+
E[5] || (E[5] = Tt(" 新增标签页 "))
|
|
6110
6110
|
])
|
|
6111
6111
|
]),
|
|
6112
6112
|
ue("div", Wd, [
|
|
@@ -6128,7 +6128,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6128
6128
|
])
|
|
6129
6129
|
]))), 128))
|
|
6130
6130
|
]),
|
|
6131
|
-
De(
|
|
6131
|
+
De(va, {
|
|
6132
6132
|
modelValue: c.value,
|
|
6133
6133
|
"onUpdate:modelValue": E[2] || (E[2] = (Se) => c.value = Se),
|
|
6134
6134
|
title: m.value,
|
|
@@ -6168,7 +6168,7 @@ const nd = /* @__PURE__ */ Zt(td, [["render", ad]]), id = { class: "module conte
|
|
|
6168
6168
|
]),
|
|
6169
6169
|
_: 1
|
|
6170
6170
|
}, 8, ["modelValue", "title"]),
|
|
6171
|
-
De(
|
|
6171
|
+
De(va, {
|
|
6172
6172
|
modelValue: _.value,
|
|
6173
6173
|
"onUpdate:modelValue": E[4] || (E[4] = (Se) => _.value = Se),
|
|
6174
6174
|
title: "布局调整",
|
|
@@ -6376,9 +6376,9 @@ const on = {
|
|
|
6376
6376
|
const { menu: r, mainKey: o, detailGroup: i, detailNameCol: s, detailValueCol: c, isSelfDetail: m } = a || {};
|
|
6377
6377
|
let p = null;
|
|
6378
6378
|
const f = sessionStorage.getItem("systemKey");
|
|
6379
|
-
if (m && Al.activeMenuPath && (p = await
|
|
6379
|
+
if (m && Al.activeMenuPath && (p = await aa(`${Al.activeMenuPath}`, f, "")), !m) {
|
|
6380
6380
|
const _ = r == null ? void 0 : r.join("/");
|
|
6381
|
-
p = await
|
|
6381
|
+
p = await aa(`${_}^${o}`, f, "");
|
|
6382
6382
|
}
|
|
6383
6383
|
return Tr(p, {
|
|
6384
6384
|
group: i,
|
|
@@ -6386,7 +6386,7 @@ const on = {
|
|
|
6386
6386
|
valueCol: c
|
|
6387
6387
|
});
|
|
6388
6388
|
}, vf = async (a) => {
|
|
6389
|
-
const { menu: r, group: o, nameCol: i, valueCol: s } = a || {}, c = r == null ? void 0 : r.join("/"), m = sessionStorage.getItem("systemKey"), p = await
|
|
6389
|
+
const { menu: r, group: o, nameCol: i, valueCol: s } = a || {}, c = r == null ? void 0 : r.join("/"), m = sessionStorage.getItem("systemKey"), p = await aa(c, m, "");
|
|
6390
6390
|
return Tr(p, {
|
|
6391
6391
|
group: o,
|
|
6392
6392
|
nameCol: i,
|
|
@@ -6564,17 +6564,17 @@ const on = {
|
|
|
6564
6564
|
value: ""
|
|
6565
6565
|
}
|
|
6566
6566
|
], p = fe({}), f = () => {
|
|
6567
|
-
var
|
|
6568
|
-
c.value = m(), (
|
|
6567
|
+
var te;
|
|
6568
|
+
c.value = m(), (te = c.value) == null || te.forEach((le) => {
|
|
6569
6569
|
var ke;
|
|
6570
|
-
const Te =
|
|
6571
|
-
|
|
6570
|
+
const Te = le == null ? void 0 : le.prop;
|
|
6571
|
+
le.value = (ke = p == null ? void 0 : p.value) == null ? void 0 : ke[Te];
|
|
6572
6572
|
}), s.visible = !0;
|
|
6573
|
-
}, _ = (
|
|
6574
|
-
p.value =
|
|
6573
|
+
}, _ = (te) => {
|
|
6574
|
+
p.value = te;
|
|
6575
6575
|
}, S = () => {
|
|
6576
|
-
var
|
|
6577
|
-
s.visible = !1, i("change", (
|
|
6576
|
+
var te;
|
|
6577
|
+
s.visible = !1, i("change", (te = pt()) == null ? void 0 : te.compData);
|
|
6578
6578
|
}, T = ja({
|
|
6579
6579
|
visible: !1,
|
|
6580
6580
|
width: "840",
|
|
@@ -6630,22 +6630,22 @@ const on = {
|
|
|
6630
6630
|
// isFormColHidden: true
|
|
6631
6631
|
// },
|
|
6632
6632
|
], W = fe({}), Ee = () => {
|
|
6633
|
-
const
|
|
6634
|
-
return
|
|
6633
|
+
const te = $.value, le = v(te);
|
|
6634
|
+
return le == null || le.forEach((Te) => {
|
|
6635
6635
|
var et;
|
|
6636
6636
|
const ke = Te == null ? void 0 : Te.prop;
|
|
6637
6637
|
Te.value = (et = W.value) == null ? void 0 : et[ke];
|
|
6638
|
-
}),
|
|
6639
|
-
}, G = (
|
|
6638
|
+
}), le;
|
|
6639
|
+
}, G = (te) => {
|
|
6640
6640
|
var Te;
|
|
6641
|
-
W.value =
|
|
6642
|
-
const
|
|
6643
|
-
$.value =
|
|
6641
|
+
W.value = te;
|
|
6642
|
+
const le = Ee();
|
|
6643
|
+
$.value = le, i("change", (Te = pt()) == null ? void 0 : Te.compData);
|
|
6644
6644
|
}, U = async () => {
|
|
6645
|
-
const
|
|
6646
|
-
|
|
6647
|
-
(Te == null ? void 0 : Te.prop) === "menu" && (Te.contents =
|
|
6648
|
-
}), $.value =
|
|
6645
|
+
const te = await cs(), le = Ee();
|
|
6646
|
+
le == null || le.forEach((Te) => {
|
|
6647
|
+
(Te == null ? void 0 : Te.prop) === "menu" && (Te.contents = te);
|
|
6648
|
+
}), $.value = le, T.visible = !0, await Se(W.value.menu), await X(W.value.group);
|
|
6649
6649
|
}, de = ja({
|
|
6650
6650
|
visible: !1,
|
|
6651
6651
|
width: "840",
|
|
@@ -6681,30 +6681,30 @@ const on = {
|
|
|
6681
6681
|
contents: []
|
|
6682
6682
|
}
|
|
6683
6683
|
], b = fe({}), z = () => {
|
|
6684
|
-
const
|
|
6685
|
-
return
|
|
6684
|
+
const te = w.value, le = v(te);
|
|
6685
|
+
return le == null || le.forEach((Te) => {
|
|
6686
6686
|
var et;
|
|
6687
6687
|
const ke = Te == null ? void 0 : Te.prop;
|
|
6688
6688
|
Te.value = (et = b.value) == null ? void 0 : et[ke];
|
|
6689
|
-
}),
|
|
6690
|
-
}, I = (
|
|
6689
|
+
}), le;
|
|
6690
|
+
}, I = (te) => {
|
|
6691
6691
|
var Te;
|
|
6692
|
-
b.value =
|
|
6693
|
-
const
|
|
6694
|
-
w.value =
|
|
6692
|
+
b.value = te;
|
|
6693
|
+
const le = z();
|
|
6694
|
+
w.value = le, i("change", (Te = pt()) == null ? void 0 : Te.compData);
|
|
6695
6695
|
}, ce = async () => {
|
|
6696
6696
|
await A();
|
|
6697
|
-
const
|
|
6698
|
-
|
|
6697
|
+
const te = v(Ue.value), le = z();
|
|
6698
|
+
le == null || le.forEach((Te) => {
|
|
6699
6699
|
var et;
|
|
6700
6700
|
const ke = Te == null ? void 0 : Te.prop;
|
|
6701
|
-
Te.value = (et = b == null ? void 0 : b.value) == null ? void 0 : et[ke], ke === "mainKey" && (Te.contents =
|
|
6702
|
-
}), w.value =
|
|
6701
|
+
Te.value = (et = b == null ? void 0 : b.value) == null ? void 0 : et[ke], ke === "mainKey" && (Te.contents = te);
|
|
6702
|
+
}), w.value = le, de.visible = !0;
|
|
6703
6703
|
}, Ue = fe([]), st = fe([]), $e = fe({}), Ge = fe({}), Ce = () => {
|
|
6704
|
-
const { compData:
|
|
6704
|
+
const { compData: te } = se.value || {}, le = te == null ? void 0 : te.find((g) => {
|
|
6705
6705
|
const { key: L } = g;
|
|
6706
6706
|
return L === "header";
|
|
6707
|
-
}), Te = (
|
|
6707
|
+
}), Te = (le == null ? void 0 : le.contents) || [], ke = Te == null ? void 0 : Te.filter((g, L) => {
|
|
6708
6708
|
const { label: C } = g;
|
|
6709
6709
|
return C !== "操作";
|
|
6710
6710
|
}), et = ke == null ? void 0 : ke.findIndex((g, L) => {
|
|
@@ -6713,7 +6713,7 @@ const on = {
|
|
|
6713
6713
|
});
|
|
6714
6714
|
if (et < 0)
|
|
6715
6715
|
return [];
|
|
6716
|
-
const nt =
|
|
6716
|
+
const nt = te == null ? void 0 : te.find((g) => {
|
|
6717
6717
|
const { key: L } = g;
|
|
6718
6718
|
return L === "tableContents";
|
|
6719
6719
|
}), k = (nt == null ? void 0 : nt.contents) || [];
|
|
@@ -6728,23 +6728,23 @@ const on = {
|
|
|
6728
6728
|
};
|
|
6729
6729
|
});
|
|
6730
6730
|
}, A = async () => {
|
|
6731
|
-
const
|
|
6732
|
-
Ue.value =
|
|
6733
|
-
},
|
|
6734
|
-
const
|
|
6735
|
-
return await
|
|
6736
|
-
},
|
|
6737
|
-
const
|
|
6738
|
-
st.value =
|
|
6731
|
+
const te = await Ce();
|
|
6732
|
+
Ue.value = te;
|
|
6733
|
+
}, ie = async (te) => {
|
|
6734
|
+
const le = sessionStorage.getItem("systemKey");
|
|
6735
|
+
return await aa(te, le, "");
|
|
6736
|
+
}, ae = async (te) => {
|
|
6737
|
+
const le = te;
|
|
6738
|
+
st.value = le == null ? void 0 : le.map((Te) => {
|
|
6739
6739
|
const { name: ke } = Te;
|
|
6740
6740
|
return $e.value[ke] = Te, {
|
|
6741
6741
|
label: ke,
|
|
6742
6742
|
value: ke
|
|
6743
6743
|
};
|
|
6744
6744
|
});
|
|
6745
|
-
}, be = (
|
|
6746
|
-
const { comp:
|
|
6747
|
-
if (
|
|
6745
|
+
}, be = (te) => {
|
|
6746
|
+
const { comp: le, compData: Te } = Ge.value || {};
|
|
6747
|
+
if (le === "Table") {
|
|
6748
6748
|
let ke = z();
|
|
6749
6749
|
ke = ke.filter((et) => {
|
|
6750
6750
|
const { prop: nt } = et;
|
|
@@ -6753,10 +6753,10 @@ const on = {
|
|
|
6753
6753
|
}
|
|
6754
6754
|
}, qe = async () => {
|
|
6755
6755
|
var Te, ke;
|
|
6756
|
-
const
|
|
6757
|
-
if (
|
|
6758
|
-
const nt = `${
|
|
6759
|
-
await
|
|
6756
|
+
const te = (Te = b == null ? void 0 : b.value) == null ? void 0 : Te.mainKey, le = (ke = W == null ? void 0 : W.value) == null ? void 0 : ke.menu;
|
|
6757
|
+
if (te) {
|
|
6758
|
+
const nt = `${le == null ? void 0 : le.join("/")}^${te}`, k = await ie(nt);
|
|
6759
|
+
await ae(k);
|
|
6760
6760
|
const x = z();
|
|
6761
6761
|
x == null || x.forEach((g) => {
|
|
6762
6762
|
(g == null ? void 0 : g.prop) === "group" && (g.contents = st.value);
|
|
@@ -6764,54 +6764,54 @@ const on = {
|
|
|
6764
6764
|
}
|
|
6765
6765
|
};
|
|
6766
6766
|
kt(() => {
|
|
6767
|
-
var
|
|
6768
|
-
return (
|
|
6769
|
-
}, async (
|
|
6770
|
-
|
|
6767
|
+
var te;
|
|
6768
|
+
return (te = b == null ? void 0 : b.value) == null ? void 0 : te.mainKey;
|
|
6769
|
+
}, async (te, le) => {
|
|
6770
|
+
te != le && te && await qe();
|
|
6771
6771
|
});
|
|
6772
|
-
const ct = async (
|
|
6773
|
-
const
|
|
6774
|
-
Ge.value =
|
|
6772
|
+
const ct = async (te) => {
|
|
6773
|
+
const le = $e.value[te];
|
|
6774
|
+
Ge.value = le, await be();
|
|
6775
6775
|
};
|
|
6776
6776
|
kt(() => {
|
|
6777
|
-
var
|
|
6778
|
-
return (
|
|
6779
|
-
}, async (
|
|
6780
|
-
|
|
6777
|
+
var te;
|
|
6778
|
+
return (te = b == null ? void 0 : b.value) == null ? void 0 : te.group;
|
|
6779
|
+
}, async (te, le) => {
|
|
6780
|
+
te != le && te && ct(te);
|
|
6781
6781
|
});
|
|
6782
6782
|
const Be = async () => {
|
|
6783
|
-
var
|
|
6783
|
+
var le;
|
|
6784
6784
|
await qe();
|
|
6785
|
-
const
|
|
6786
|
-
await ct(
|
|
6787
|
-
}, E = fe([]), Oe = fe({}), se = fe({}), Le = async (
|
|
6788
|
-
const
|
|
6789
|
-
return await
|
|
6790
|
-
}, Ke = async (
|
|
6791
|
-
const
|
|
6792
|
-
E.value =
|
|
6785
|
+
const te = (le = b.value) == null ? void 0 : le.group;
|
|
6786
|
+
await ct(te);
|
|
6787
|
+
}, E = fe([]), Oe = fe({}), se = fe({}), Le = async (te) => {
|
|
6788
|
+
const le = te == null ? void 0 : te.join("/"), Te = sessionStorage.getItem("systemKey");
|
|
6789
|
+
return await aa(le, Te, "");
|
|
6790
|
+
}, Ke = async (te) => {
|
|
6791
|
+
const le = await Le(te);
|
|
6792
|
+
E.value = le == null ? void 0 : le.map((Te) => {
|
|
6793
6793
|
const { name: ke } = Te;
|
|
6794
6794
|
return Oe.value[ke] = Te, {
|
|
6795
6795
|
label: ke,
|
|
6796
6796
|
value: ke
|
|
6797
6797
|
};
|
|
6798
6798
|
});
|
|
6799
|
-
}, Se = async (
|
|
6800
|
-
await Ke(
|
|
6799
|
+
}, Se = async (te, le) => {
|
|
6800
|
+
await Ke(te);
|
|
6801
6801
|
const Te = Ee();
|
|
6802
6802
|
Te == null || Te.forEach((ke) => {
|
|
6803
6803
|
(ke == null ? void 0 : ke.prop) === "group" && (ke.contents = E.value);
|
|
6804
6804
|
}), $.value = Te;
|
|
6805
6805
|
};
|
|
6806
6806
|
kt(() => {
|
|
6807
|
-
var
|
|
6808
|
-
return (
|
|
6809
|
-
}, async (
|
|
6810
|
-
const Te =
|
|
6811
|
-
Te != ke && await Se(
|
|
6807
|
+
var te;
|
|
6808
|
+
return (te = W == null ? void 0 : W.value) == null ? void 0 : te.menu;
|
|
6809
|
+
}, async (te, le) => {
|
|
6810
|
+
const Te = te == null ? void 0 : te.join("/"), ke = le == null ? void 0 : le.join("/");
|
|
6811
|
+
Te != ke && await Se(te);
|
|
6812
6812
|
});
|
|
6813
|
-
const Ve = (
|
|
6814
|
-
const Te =
|
|
6813
|
+
const Ve = (te, le) => {
|
|
6814
|
+
const Te = le == null ? void 0 : le.find((k) => {
|
|
6815
6815
|
const { key: x } = k;
|
|
6816
6816
|
return x === "header";
|
|
6817
6817
|
}), ke = (Te == null ? void 0 : Te.contents) || [], et = ke == null ? void 0 : ke.filter((k, x) => {
|
|
@@ -6824,13 +6824,13 @@ const on = {
|
|
|
6824
6824
|
value: x
|
|
6825
6825
|
};
|
|
6826
6826
|
});
|
|
6827
|
-
|
|
6827
|
+
te == null || te.forEach((k) => {
|
|
6828
6828
|
const x = k == null ? void 0 : k.prop;
|
|
6829
6829
|
(x === "nameCol" || x === "valueCol") && (k.contents = nt);
|
|
6830
6830
|
});
|
|
6831
|
-
}, dt = (
|
|
6832
|
-
const { comp:
|
|
6833
|
-
if (
|
|
6831
|
+
}, dt = (te) => {
|
|
6832
|
+
const { comp: le, compData: Te } = se.value || {};
|
|
6833
|
+
if (le === "Table") {
|
|
6834
6834
|
W.value.formItems = [];
|
|
6835
6835
|
let ke = Ee();
|
|
6836
6836
|
ke = ke.filter((et) => {
|
|
@@ -6838,22 +6838,22 @@ const on = {
|
|
|
6838
6838
|
return nt !== "formItems";
|
|
6839
6839
|
}), Ve(ke, Te), $.value = ke;
|
|
6840
6840
|
}
|
|
6841
|
-
}, X = async (
|
|
6842
|
-
const
|
|
6843
|
-
se.value =
|
|
6841
|
+
}, X = async (te) => {
|
|
6842
|
+
const le = Oe.value[te];
|
|
6843
|
+
se.value = le, await dt();
|
|
6844
6844
|
};
|
|
6845
6845
|
kt(() => {
|
|
6846
|
-
var
|
|
6847
|
-
return (
|
|
6848
|
-
}, async (
|
|
6849
|
-
|
|
6846
|
+
var te;
|
|
6847
|
+
return (te = W == null ? void 0 : W.value) == null ? void 0 : te.group;
|
|
6848
|
+
}, async (te, le) => {
|
|
6849
|
+
te != le && X(te);
|
|
6850
6850
|
});
|
|
6851
6851
|
const at = async () => {
|
|
6852
6852
|
var Te, ke;
|
|
6853
|
-
const
|
|
6854
|
-
await Se(
|
|
6855
|
-
const
|
|
6856
|
-
await X(
|
|
6853
|
+
const te = (Te = W.value) == null ? void 0 : Te.menu;
|
|
6854
|
+
await Se(te);
|
|
6855
|
+
const le = (ke = W.value) == null ? void 0 : ke.group;
|
|
6856
|
+
await X(le);
|
|
6857
6857
|
}, pt = () => ({
|
|
6858
6858
|
comp: "chart",
|
|
6859
6859
|
compData: [
|
|
@@ -6874,55 +6874,55 @@ const on = {
|
|
|
6874
6874
|
s.visible = !1, T.visible = !1, de.visible = !1;
|
|
6875
6875
|
};
|
|
6876
6876
|
return Tn(async () => {
|
|
6877
|
-
var
|
|
6877
|
+
var le, Te, ke;
|
|
6878
6878
|
$.value = B(), w.value = M();
|
|
6879
|
-
const
|
|
6880
|
-
p.value = ((
|
|
6881
|
-
}), (
|
|
6879
|
+
const te = o == null ? void 0 : o.itemContents;
|
|
6880
|
+
p.value = ((le = te == null ? void 0 : te.find((et) => et.key === "chartBaseConfig")) == null ? void 0 : le.contents) ?? {}, W.value = ((Te = te == null ? void 0 : te.find((et) => et.key === "chartDataConfig")) == null ? void 0 : Te.contents) ?? {}, await at(), b.value = ((ke = te == null ? void 0 : te.find((et) => et.key === "chartDetailConfig")) == null ? void 0 : ke.contents) ?? {}, await Be();
|
|
6881
|
+
}), (te, le) => {
|
|
6882
6882
|
const Te = Ft("el-button");
|
|
6883
6883
|
return Ae(), Qe(Nt, null, [
|
|
6884
6884
|
ue("div", null, [
|
|
6885
6885
|
ue("div", wf, [
|
|
6886
|
-
|
|
6886
|
+
le[4] || (le[4] = ue("div", { class: "module-title" }, "基础配置", -1)),
|
|
6887
6887
|
De(Te, {
|
|
6888
6888
|
id: "themeButton",
|
|
6889
|
-
onClick:
|
|
6889
|
+
onClick: le[0] || (le[0] = (ke) => f())
|
|
6890
6890
|
}, {
|
|
6891
|
-
default: Re(() =>
|
|
6892
|
-
|
|
6891
|
+
default: Re(() => le[3] || (le[3] = [
|
|
6892
|
+
Tt(" 修改 ")
|
|
6893
6893
|
])),
|
|
6894
6894
|
_: 1,
|
|
6895
6895
|
__: [3]
|
|
6896
6896
|
})
|
|
6897
6897
|
]),
|
|
6898
6898
|
ue("div", _f, [
|
|
6899
|
-
|
|
6899
|
+
le[6] || (le[6] = ue("h4", { class: "module-title" }, "数据配置", -1)),
|
|
6900
6900
|
De(Te, {
|
|
6901
6901
|
id: "themeButton",
|
|
6902
|
-
onClick:
|
|
6902
|
+
onClick: le[1] || (le[1] = (ke) => U())
|
|
6903
6903
|
}, {
|
|
6904
|
-
default: Re(() =>
|
|
6905
|
-
|
|
6904
|
+
default: Re(() => le[5] || (le[5] = [
|
|
6905
|
+
Tt(" 修改 ")
|
|
6906
6906
|
])),
|
|
6907
6907
|
_: 1,
|
|
6908
6908
|
__: [5]
|
|
6909
6909
|
})
|
|
6910
6910
|
]),
|
|
6911
6911
|
ue("div", Cf, [
|
|
6912
|
-
|
|
6912
|
+
le[8] || (le[8] = ue("h4", { class: "module-title" }, "详情数据配置", -1)),
|
|
6913
6913
|
De(Te, {
|
|
6914
6914
|
id: "themeButton",
|
|
6915
|
-
onClick:
|
|
6915
|
+
onClick: le[2] || (le[2] = (ke) => ce())
|
|
6916
6916
|
}, {
|
|
6917
|
-
default: Re(() =>
|
|
6918
|
-
|
|
6917
|
+
default: Re(() => le[7] || (le[7] = [
|
|
6918
|
+
Tt(" 修改 ")
|
|
6919
6919
|
])),
|
|
6920
6920
|
_: 1,
|
|
6921
6921
|
__: [7]
|
|
6922
6922
|
})
|
|
6923
6923
|
])
|
|
6924
6924
|
]),
|
|
6925
|
-
De(
|
|
6925
|
+
De(va, {
|
|
6926
6926
|
visible: s.visible,
|
|
6927
6927
|
title: s.title,
|
|
6928
6928
|
onBeforeDestroy: it,
|
|
@@ -6930,7 +6930,7 @@ const on = {
|
|
|
6930
6930
|
}, {
|
|
6931
6931
|
default: Re(() => [
|
|
6932
6932
|
ue("div", Sf, [
|
|
6933
|
-
(Ae(),
|
|
6933
|
+
(Ae(), zt(ca, {
|
|
6934
6934
|
rowContents: c.value,
|
|
6935
6935
|
key: c.value,
|
|
6936
6936
|
isEnableWrap: !0,
|
|
@@ -6945,8 +6945,8 @@ const on = {
|
|
|
6945
6945
|
onClick: it,
|
|
6946
6946
|
id: "themeBorderButton"
|
|
6947
6947
|
}, {
|
|
6948
|
-
default: Re(() =>
|
|
6949
|
-
|
|
6948
|
+
default: Re(() => le[9] || (le[9] = [
|
|
6949
|
+
Tt(vt("取消"))
|
|
6950
6950
|
])),
|
|
6951
6951
|
_: 1,
|
|
6952
6952
|
__: [9]
|
|
@@ -6956,8 +6956,8 @@ const on = {
|
|
|
6956
6956
|
onClick: S,
|
|
6957
6957
|
id: "themeButton"
|
|
6958
6958
|
}, {
|
|
6959
|
-
default: Re(() =>
|
|
6960
|
-
|
|
6959
|
+
default: Re(() => le[10] || (le[10] = [
|
|
6960
|
+
Tt(vt("确认"))
|
|
6961
6961
|
])),
|
|
6962
6962
|
_: 1,
|
|
6963
6963
|
__: [10]
|
|
@@ -6966,7 +6966,7 @@ const on = {
|
|
|
6966
6966
|
]),
|
|
6967
6967
|
_: 1
|
|
6968
6968
|
}, 8, ["visible", "title", "width"]),
|
|
6969
|
-
De(
|
|
6969
|
+
De(va, {
|
|
6970
6970
|
visible: T.visible,
|
|
6971
6971
|
title: T.title,
|
|
6972
6972
|
onBeforeDestroy: it,
|
|
@@ -6974,7 +6974,7 @@ const on = {
|
|
|
6974
6974
|
}, {
|
|
6975
6975
|
default: Re(() => [
|
|
6976
6976
|
ue("div", Df, [
|
|
6977
|
-
(Ae(),
|
|
6977
|
+
(Ae(), zt(ca, {
|
|
6978
6978
|
rowContents: $.value,
|
|
6979
6979
|
key: $.value,
|
|
6980
6980
|
isEnableWrap: !0,
|
|
@@ -6989,8 +6989,8 @@ const on = {
|
|
|
6989
6989
|
onClick: it,
|
|
6990
6990
|
id: "themeBorderButton"
|
|
6991
6991
|
}, {
|
|
6992
|
-
default: Re(() =>
|
|
6993
|
-
|
|
6992
|
+
default: Re(() => le[11] || (le[11] = [
|
|
6993
|
+
Tt(vt("取消"))
|
|
6994
6994
|
])),
|
|
6995
6995
|
_: 1,
|
|
6996
6996
|
__: [11]
|
|
@@ -7000,8 +7000,8 @@ const on = {
|
|
|
7000
7000
|
onClick: it,
|
|
7001
7001
|
id: "themeButton"
|
|
7002
7002
|
}, {
|
|
7003
|
-
default: Re(() =>
|
|
7004
|
-
|
|
7003
|
+
default: Re(() => le[12] || (le[12] = [
|
|
7004
|
+
Tt(vt("确认"))
|
|
7005
7005
|
])),
|
|
7006
7006
|
_: 1,
|
|
7007
7007
|
__: [12]
|
|
@@ -7010,7 +7010,7 @@ const on = {
|
|
|
7010
7010
|
]),
|
|
7011
7011
|
_: 1
|
|
7012
7012
|
}, 8, ["visible", "title", "width"]),
|
|
7013
|
-
De(
|
|
7013
|
+
De(va, {
|
|
7014
7014
|
visible: de.visible,
|
|
7015
7015
|
title: de.title,
|
|
7016
7016
|
onBeforeDestroy: it,
|
|
@@ -7018,7 +7018,7 @@ const on = {
|
|
|
7018
7018
|
}, {
|
|
7019
7019
|
default: Re(() => [
|
|
7020
7020
|
ue("div", If, [
|
|
7021
|
-
(Ae(),
|
|
7021
|
+
(Ae(), zt(ca, {
|
|
7022
7022
|
rowContents: w.value,
|
|
7023
7023
|
key: w.value,
|
|
7024
7024
|
isEnableWrap: !0,
|
|
@@ -7033,8 +7033,8 @@ const on = {
|
|
|
7033
7033
|
onClick: it,
|
|
7034
7034
|
id: "themeBorderButton"
|
|
7035
7035
|
}, {
|
|
7036
|
-
default: Re(() =>
|
|
7037
|
-
|
|
7036
|
+
default: Re(() => le[13] || (le[13] = [
|
|
7037
|
+
Tt(vt("取消"))
|
|
7038
7038
|
])),
|
|
7039
7039
|
_: 1,
|
|
7040
7040
|
__: [13]
|
|
@@ -7044,8 +7044,8 @@ const on = {
|
|
|
7044
7044
|
onClick: it,
|
|
7045
7045
|
id: "themeButton"
|
|
7046
7046
|
}, {
|
|
7047
|
-
default: Re(() =>
|
|
7048
|
-
|
|
7047
|
+
default: Re(() => le[14] || (le[14] = [
|
|
7048
|
+
Tt(vt("确认"))
|
|
7049
7049
|
])),
|
|
7050
7050
|
_: 1,
|
|
7051
7051
|
__: [14]
|
|
@@ -7058,7 +7058,7 @@ const on = {
|
|
|
7058
7058
|
};
|
|
7059
7059
|
}
|
|
7060
7060
|
}), zf = /* @__PURE__ */ Zt(Of, [["__scopeId", "data-v-fe119645"]]);
|
|
7061
|
-
var
|
|
7061
|
+
var Ei = { exports: {} }, Pf = Ei.exports, Ol;
|
|
7062
7062
|
function Bf() {
|
|
7063
7063
|
return Ol || (Ol = 1, function(a, r) {
|
|
7064
7064
|
(function(o, i) {
|
|
@@ -7127,10 +7127,10 @@ function Bf() {
|
|
|
7127
7127
|
});
|
|
7128
7128
|
m.saveAs = f.saveAs = f, a.exports = f;
|
|
7129
7129
|
});
|
|
7130
|
-
}(
|
|
7130
|
+
}(Ei)), Ei.exports;
|
|
7131
7131
|
}
|
|
7132
7132
|
Bf();
|
|
7133
|
-
const Dn =
|
|
7133
|
+
const Dn = Mi(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Di = fe(!1), {
|
|
7134
7134
|
itemData: $f,
|
|
7135
7135
|
itemGridData: kn,
|
|
7136
7136
|
curStructureCompIds: zl,
|
|
@@ -7139,12 +7139,12 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7139
7139
|
freshContent: Pl,
|
|
7140
7140
|
routeToChildPath: Lf,
|
|
7141
7141
|
payloadTypes: Ff,
|
|
7142
|
-
pageMapState:
|
|
7142
|
+
pageMapState: Pi,
|
|
7143
7143
|
itemExtendData: xi
|
|
7144
|
-
} = Yt(ea), Ba = Ln(Gt), { activeTopMenuPath: jf, activeMenuPath: Xt, platform: Gh, activeAsideMenu: Uf, buttonTriggerType: Kf } = Yt(Ba), Fa = jo(Gt), { selectTitle: Bl } = Yt(Fa), Nf =
|
|
7144
|
+
} = Yt(ea), Ba = Ln(Gt), { activeTopMenuPath: jf, activeMenuPath: Xt, platform: Gh, activeAsideMenu: Uf, buttonTriggerType: Kf } = Yt(Ba), Fa = jo(Gt), { selectTitle: Bl } = Yt(Fa), Nf = Ri(Gt), { originalPath: Fi } = Yt(Nf), $l = vs(Gt), el = fe(!0), Bi = fe(0), Ir = fe([]), ti = qt(async () => {
|
|
7145
7145
|
var r, o;
|
|
7146
7146
|
const a = (r = Xt.value) != null && r.startsWith("/") ? (o = Xt.value) == null ? void 0 : o.substring(1) : Xt.value;
|
|
7147
|
-
return (a == null ? void 0 : a.includes(
|
|
7147
|
+
return (a == null ? void 0 : a.includes(Fi.value)) || await Yf(a);
|
|
7148
7148
|
}), Xh = () => {
|
|
7149
7149
|
ea.setItemGridData([]), ea.setIsEdit("edit"), ea.setSubmitCurStructure(Xt.value !== "/平台管理/菜单管理");
|
|
7150
7150
|
}, Yh = () => {
|
|
@@ -7152,17 +7152,17 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7152
7152
|
}, Jh = async (a) => {
|
|
7153
7153
|
var r;
|
|
7154
7154
|
if ((a == null ? void 0 : a.key) === "main" || Bl.value.length === 1)
|
|
7155
|
-
Pt.value = await
|
|
7155
|
+
Pt.value = await aa(Xt.value, sessionStorage.getItem("systemKey"), "", !1, [], await ti.value), Fa.setSelectIndex(""), Fa.setSelectMenu(""), Fa.setSelectTitle([]);
|
|
7156
7156
|
else {
|
|
7157
7157
|
const o = [], i = (a == null ? void 0 : a.key) === "" || !(a != null && a.key) ? "" : parseInt(a == null ? void 0 : a.key);
|
|
7158
|
-
Pt.value = await
|
|
7158
|
+
Pt.value = await aa(Xt.value, sessionStorage.getItem("systemKey"), i, !1, [], await ti.value);
|
|
7159
7159
|
let s = -1;
|
|
7160
7160
|
(r = Bl.value) == null || r.forEach((c, m) => {
|
|
7161
7161
|
(c == null ? void 0 : c.key) === (a == null ? void 0 : a.key) && (s = m), (s === -1 || s >= m) && o.push(c);
|
|
7162
7162
|
}), Fa.setSelectTitle(o), i !== "" ? Fa.setSelectMenu(a == null ? void 0 : a.key) : (Fa.setSelectIndex(""), Fa.setSelectMenu(""));
|
|
7163
7163
|
}
|
|
7164
7164
|
Pt.value = ni(Pt.value), ea.setItemData(Pt.value), ea.setOriginalData(Pt.value);
|
|
7165
|
-
},
|
|
7165
|
+
}, Vi = async (a, r, o, i = "contentConfig") => {
|
|
7166
7166
|
var s;
|
|
7167
7167
|
try {
|
|
7168
7168
|
if (!Array.isArray(a)) return;
|
|
@@ -7230,10 +7230,10 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7230
7230
|
}
|
|
7231
7231
|
})), U = JSON.parse(v(JSON.stringify(a))), de = (f = U == null ? void 0 : U.results) == null ? void 0 : f.map((b) => b.id);
|
|
7232
7232
|
let w;
|
|
7233
|
-
o ? w = (T = (S = (_ =
|
|
7233
|
+
o ? w = (T = (S = (_ = Pi.value) == null ? void 0 : _[Xt.value]) == null ? void 0 : S.filter((b) => {
|
|
7234
7234
|
var z, I, ce;
|
|
7235
7235
|
return ((z = b == null ? void 0 : b.key) == null ? void 0 : z.type) === r && ((ce = (I = b == null ? void 0 : b.key) == null ? void 0 : I.relatedInfo) == null ? void 0 : ce.target) === i;
|
|
7236
|
-
})) == null ? void 0 : T.map((b) => b == null ? void 0 : b.id) : w = (W = (B = ($ =
|
|
7236
|
+
})) == null ? void 0 : T.map((b) => b == null ? void 0 : b.id) : w = (W = (B = ($ = Pi.value) == null ? void 0 : $[Xt.value]) == null ? void 0 : B.filter((b) => {
|
|
7237
7237
|
var z;
|
|
7238
7238
|
return ((z = b == null ? void 0 : b.key) == null ? void 0 : z.type) === r;
|
|
7239
7239
|
})) == null ? void 0 : W.map((b) => b == null ? void 0 : b.id);
|
|
@@ -7262,7 +7262,7 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7262
7262
|
return !((M = zl.value) != null && M.includes(w));
|
|
7263
7263
|
}), s = (_ = zl.value) == null ? void 0 : _.filter((w) => !o.includes(w)), c = [...i, ...s].filter((w) => typeof w !== null && typeof w < "u"), m = r == null ? void 0 : r.filter((w) => !w.id), p = r == null ? void 0 : r.filter((w) => w.id);
|
|
7264
7264
|
let f = [];
|
|
7265
|
-
if (c && (c == null ? void 0 : c.length) > 0 && f.push(
|
|
7265
|
+
if (c && (c == null ? void 0 : c.length) > 0 && f.push(Vi(c, "delete", a)), m && (m == null ? void 0 : m.length) > 0 && f.push(Vi(m, "create", a)), p && (p == null ? void 0 : p.length) > 0 && f.push(Vi(p, "update", a)), kn.value && ((S = kn.value) != null && S.isDelete && (($ = (T = kn.value) == null ? void 0 : T.results) == null ? void 0 : $.length) > 0 && ((W = (B = kn.value) == null ? void 0 : B.results) != null && W.every((w) => typeof w == "number")) ? await un({
|
|
7266
7266
|
//@ts-ignore
|
|
7267
7267
|
ids: (Ee = kn.value) == null ? void 0 : Ee.results
|
|
7268
7268
|
}) : (console.log("itemGridData.value", kn.value), f.push(await Ml(kn.value, "gridLayout")))), xi.value)
|
|
@@ -7282,8 +7282,8 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7282
7282
|
}), Vf = async (a) => {
|
|
7283
7283
|
var i, s, c, m, p, f;
|
|
7284
7284
|
let r = v(Xt).value;
|
|
7285
|
-
r = r +
|
|
7286
|
-
const o = await
|
|
7285
|
+
r = r + Fi.value + ((i = Object.values(a == null ? void 0 : a.singleContent)) == null ? void 0 : i[0]);
|
|
7286
|
+
const o = await ya({
|
|
7287
7287
|
keyLikes: {
|
|
7288
7288
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7289
7289
|
pageKey: r
|
|
@@ -7305,10 +7305,10 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7305
7305
|
if (Array.isArray(a)) {
|
|
7306
7306
|
a == null || a.forEach((m) => {
|
|
7307
7307
|
var p;
|
|
7308
|
-
s.push(
|
|
7308
|
+
s.push(ya({
|
|
7309
7309
|
keyLikes: {
|
|
7310
7310
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7311
|
-
pageKey: i +
|
|
7311
|
+
pageKey: i + Fi.value + ((p = Object.values(m == null ? void 0 : m.singleContent)) == null ? void 0 : p[0])
|
|
7312
7312
|
}
|
|
7313
7313
|
}));
|
|
7314
7314
|
});
|
|
@@ -7412,19 +7412,19 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7412
7412
|
if (Array.isArray(a == null ? void 0 : a.singleContent)) {
|
|
7413
7413
|
let ce = [], Ue = [], st = ((_ = (f = a == null ? void 0 : a.content) == null ? void 0 : f[0]) == null ? void 0 : _.id) ?? "", $e = o == null ? void 0 : o.url, Ge = "", Ce = "";
|
|
7414
7414
|
if (st !== "" && ((S = a == null ? void 0 : a.content) == null ? void 0 : S.length) > 1 && typeof (($ = (T = a == null ? void 0 : a.content) == null ? void 0 : T[0]) == null ? void 0 : $.id) != "string") {
|
|
7415
|
-
const A = await
|
|
7415
|
+
const A = await ya({
|
|
7416
7416
|
id: st
|
|
7417
7417
|
});
|
|
7418
7418
|
Ge = ((G = (Ee = (W = (B = A == null ? void 0 : A.data) == null ? void 0 : B.result) == null ? void 0 : W[0]) == null ? void 0 : Ee.key) == null ? void 0 : G.tableId) ?? "", Ce = ((M = (w = (de = (U = A == null ? void 0 : A.data) == null ? void 0 : U.result) == null ? void 0 : de[0]) == null ? void 0 : w.key) == null ? void 0 : M.pageKey) ?? "";
|
|
7419
7419
|
}
|
|
7420
7420
|
(b = a == null ? void 0 : a.singleContent) == null || b.forEach((A) => {
|
|
7421
|
-
let
|
|
7422
|
-
for (let
|
|
7423
|
-
|
|
7421
|
+
let ie = {};
|
|
7422
|
+
for (let ae in A)
|
|
7423
|
+
ae !== "id" && ae !== "index" && (ie[ae] = A[ae]);
|
|
7424
7424
|
typeof (A == null ? void 0 : A.id) == "number" ? ce.push({
|
|
7425
7425
|
id: A == null ? void 0 : A.id,
|
|
7426
7426
|
value: {
|
|
7427
|
-
tableData:
|
|
7427
|
+
tableData: ie
|
|
7428
7428
|
}
|
|
7429
7429
|
}) : Ue.push({
|
|
7430
7430
|
key: {
|
|
@@ -7434,7 +7434,7 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7434
7434
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7435
7435
|
},
|
|
7436
7436
|
value: {
|
|
7437
|
-
tableData:
|
|
7437
|
+
tableData: ie
|
|
7438
7438
|
}
|
|
7439
7439
|
});
|
|
7440
7440
|
}), (Ue == null ? void 0 : Ue.length) > 0 && await Rn({
|
|
@@ -7458,16 +7458,16 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7458
7458
|
}
|
|
7459
7459
|
ea.setCacheUpdatingData(null);
|
|
7460
7460
|
} else (a == null ? void 0 : a.buttonName) === "迁移" && await Hf(a == null ? void 0 : a.value);
|
|
7461
|
-
ea.setTableLoading(!1), (I = a == null ? void 0 : a.column) != null && I.some((ce) => ce == null ? void 0 : ce.isMainKey) || (Pt.value = await
|
|
7461
|
+
ea.setTableLoading(!1), (I = a == null ? void 0 : a.column) != null && I.some((ce) => ce == null ? void 0 : ce.isMainKey) || (Pt.value = await aa(Xt.value, sessionStorage.getItem("systemKey"), "", !1, [], await ti.value)), Pt.value = ni(Pt.value), Rr.value && (a == null ? void 0 : a.buttonName) !== "删除" && ea.setRefreshCurStructure(!0);
|
|
7462
7462
|
}, Gf = async (a) => {
|
|
7463
7463
|
var o, i, s;
|
|
7464
|
-
const r = await
|
|
7464
|
+
const r = await ya({
|
|
7465
7465
|
id: a
|
|
7466
7466
|
});
|
|
7467
7467
|
return (s = (i = (o = r == null ? void 0 : r.data) == null ? void 0 : o.result) == null ? void 0 : i[0]) == null ? void 0 : s.value;
|
|
7468
7468
|
}, zr = async (a, r) => {
|
|
7469
7469
|
var s, c, m;
|
|
7470
|
-
if (
|
|
7470
|
+
if (Di.value || typeof (a == null ? void 0 : a.index) == "string") return;
|
|
7471
7471
|
const o = await Gf(a == null ? void 0 : a.index), i = (s = o == null ? void 0 : o.pageData) == null ? void 0 : s.name;
|
|
7472
7472
|
await ds(a == null ? void 0 : a.index, {
|
|
7473
7473
|
comp: "Form",
|
|
@@ -7490,12 +7490,12 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7490
7490
|
var B;
|
|
7491
7491
|
((B = a == null ? void 0 : a.split("/")) == null ? void 0 : B.length) - 1 > $ && (o = o === "" ? o + T : o + "/" + T);
|
|
7492
7492
|
}), r = r + "/", o = o + "/";
|
|
7493
|
-
let i = await
|
|
7493
|
+
let i = await ya({
|
|
7494
7494
|
key: {
|
|
7495
7495
|
pageKey: r,
|
|
7496
7496
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7497
7497
|
}
|
|
7498
|
-
}), s = await
|
|
7498
|
+
}), s = await ya({
|
|
7499
7499
|
key: {
|
|
7500
7500
|
pageKey: o,
|
|
7501
7501
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -7504,20 +7504,20 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7504
7504
|
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;
|
|
7505
7505
|
}, Jf = fe(), fn = fe(null), Zf = (a) => {
|
|
7506
7506
|
var _, S, T, $, B, W, Ee, G, U, de, w, M, b, z, I, ce, Ue, st, $e, Ge;
|
|
7507
|
-
const r = (S = (_ =
|
|
7507
|
+
const r = (S = (_ = Pi.value) == null ? void 0 : _[a]) == null ? void 0 : S.filter((Ce) => {
|
|
7508
7508
|
var A;
|
|
7509
7509
|
return ((A = Ce == null ? void 0 : Ce.key) == null ? void 0 : A.type) === "extend";
|
|
7510
7510
|
});
|
|
7511
7511
|
if ((r == null ? void 0 : r.length) === 0) return fn.value = null;
|
|
7512
7512
|
Jf.value = r;
|
|
7513
7513
|
const o = ($ = (T = r == null ? void 0 : r.find((Ce) => {
|
|
7514
|
-
var A,
|
|
7515
|
-
return (
|
|
7514
|
+
var A, ie, ae;
|
|
7515
|
+
return (ae = (ie = (A = Ce == null ? void 0 : Ce.value) == null ? void 0 : A.tableData) == null ? void 0 : ie.执行任务) == null ? void 0 : ae.includes("计时");
|
|
7516
7516
|
})) == null ? void 0 : T.value) == null ? void 0 : $.tableData;
|
|
7517
7517
|
if (!o) return fn.value = null;
|
|
7518
7518
|
const i = (Ee = (W = (B = r == null ? void 0 : r.find((Ce) => {
|
|
7519
|
-
var A,
|
|
7520
|
-
return (
|
|
7519
|
+
var A, ie, ae;
|
|
7520
|
+
return (ae = (ie = (A = Ce == null ? void 0 : Ce.value) == null ? void 0 : A.tableData) == null ? void 0 : ie.执行任务) == null ? void 0 : ae.includes("计时");
|
|
7521
7521
|
})) == null ? void 0 : B.key) == null ? void 0 : W.relatedInfo) == null ? void 0 : Ee.compId, s = (G = Pt.value) == null ? void 0 : G.find((Ce) => (Ce == null ? void 0 : Ce.id) === i);
|
|
7522
7522
|
if (!s) return fn.value = null;
|
|
7523
7523
|
const c = (de = o == null ? void 0 : o.任务关键词) == null ? void 0 : de[((U = o == null ? void 0 : o.任务关键词) == null ? void 0 : U.length) - 1], m = (b = (M = (w = s == null ? void 0 : s.compData) == null ? void 0 : w.find((Ce) => (Ce == null ? void 0 : Ce.key) === "header")) == null ? void 0 : M.contents) == null ? void 0 : b.findIndex((Ce) => (Ce == null ? void 0 : Ce.prop) === c), p = (Ue = (ce = (I = (z = s == null ? void 0 : s.compData) == null ? void 0 : z.find((Ce) => (Ce == null ? void 0 : Ce.key) === "header")) == null ? void 0 : I.contents) == null ? void 0 : ce.find((Ce) => Ce == null ? void 0 : Ce.isMainKey)) == null ? void 0 : Ue.prop, f = (Ge = ($e = (st = s == null ? void 0 : s.compData) == null ? void 0 : st.find((Ce) => (Ce == null ? void 0 : Ce.key) === "tableContents")) == null ? void 0 : $e.contents) == null ? void 0 : Ge[m];
|
|
@@ -7546,7 +7546,7 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7546
7546
|
}, Br = () => {
|
|
7547
7547
|
var a, r, o, i;
|
|
7548
7548
|
try {
|
|
7549
|
-
if (jf.value !== "报告中心" || !((a = Xt.value) != null && a.includes(
|
|
7549
|
+
if (jf.value !== "报告中心" || !((a = Xt.value) != null && a.includes(Fi.value))) return;
|
|
7550
7550
|
const s = (r = Pt.value) == null ? void 0 : r.find((f) => {
|
|
7551
7551
|
var _;
|
|
7552
7552
|
return ((_ = f == null ? void 0 : f.comp) == null ? void 0 : _.toUpperCase()) === "FORM";
|
|
@@ -7562,7 +7562,7 @@ const Dn = Ri(), { loginUserInfo: ki } = Yt(Dn), ea = In(Gt), Ti = fe(!1), {
|
|
|
7562
7562
|
}
|
|
7563
7563
|
}, $r = fe([]), tv = qt(() => {
|
|
7564
7564
|
var a, r;
|
|
7565
|
-
return (r = (a =
|
|
7565
|
+
return (r = (a = Pi.value) == null ? void 0 : a[Xt.value]) == null ? void 0 : r.filter((o) => {
|
|
7566
7566
|
var i;
|
|
7567
7567
|
return ((i = o == null ? void 0 : o.key) == null ? void 0 : i.type) === "gridLayout";
|
|
7568
7568
|
});
|
|
@@ -7575,10 +7575,10 @@ kt(
|
|
|
7575
7575
|
return;
|
|
7576
7576
|
ea.setLockingPage(""), Pt.value = [];
|
|
7577
7577
|
let r = Wo();
|
|
7578
|
-
(c = r == null ? void 0 : r.scope) == null || c.stop(), r = null, el.value = !1,
|
|
7578
|
+
(c = r == null ? void 0 : r.scope) == null || c.stop(), r = null, el.value = !1, Di.value = !0;
|
|
7579
7579
|
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];
|
|
7580
7580
|
let i = /* @__PURE__ */ new WeakMap();
|
|
7581
|
-
(_ = (f = (await
|
|
7581
|
+
(_ = (f = (await Yi({
|
|
7582
7582
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7583
7583
|
type: Ff.value
|
|
7584
7584
|
})).data.result) == null ? void 0 : f.filter((B) => {
|
|
@@ -7586,14 +7586,14 @@ kt(
|
|
|
7586
7586
|
return ((W = B == null ? void 0 : B.key) == null ? void 0 : W.pageKey) !== "menu" && ((Ee = B == null ? void 0 : B.key) == null ? void 0 : Ee.pageKey) !== "secret";
|
|
7587
7587
|
})) == null || _.forEach((B) => {
|
|
7588
7588
|
i[B.key.pageKey] ? i[B.key.pageKey] = [...i[B.key.pageKey], B] : i[B.key.pageKey] = [B];
|
|
7589
|
-
}), Ir.value = i, o ? (Ba.setContentLoading(!0), sessionStorage.setItem("pageKey", Xt.value), Pt.value = await
|
|
7589
|
+
}), Ir.value = i, o ? (Ba.setContentLoading(!0), sessionStorage.setItem("pageKey", Xt.value), Pt.value = await aa(o, sessionStorage.getItem("systemKey"), "", !1, [], await ti.value, i), await Dn.setLogRecordAsync({
|
|
7590
7590
|
type: "查询",
|
|
7591
7591
|
data: Pt.value
|
|
7592
7592
|
}, Xt.value), Pt.value = ni(Pt.value), await Xf(Pt.value), Br(), Zf(o), $r.value = (S = Pt.value) == null ? void 0 : S.map((B) => ({
|
|
7593
7593
|
label: B == null ? void 0 : B.name,
|
|
7594
7594
|
value: B == null ? void 0 : B.id
|
|
7595
|
-
})), ea.setExtraContents([]), Fa.setSelectTitle([]), Fa.setSelectIndex(""), Fa.setSelectMenu(""), ea.setItemData(Pt.value), ea.setOriginalData(Pt.value), ea.setCurStructureCompIds((T = Pt.value) == null ? void 0 : T.map((B) => B == null ? void 0 : B.id)), ea.setRefreshCurStructure(!1), Fa.setSelectTitle(($ = Xt.value) == null ? void 0 : $.split("/").map((B) => ({ value: B.trim() }))), Ba.setChildMenu(""), Ba.setContentLoading(!1), ea.setTableLoading(!1),
|
|
7596
|
-
|
|
7595
|
+
})), ea.setExtraContents([]), Fa.setSelectTitle([]), Fa.setSelectIndex(""), Fa.setSelectMenu(""), ea.setItemData(Pt.value), ea.setOriginalData(Pt.value), ea.setCurStructureCompIds((T = Pt.value) == null ? void 0 : T.map((B) => B == null ? void 0 : B.id)), ea.setRefreshCurStructure(!1), Fa.setSelectTitle(($ = Xt.value) == null ? void 0 : $.split("/").map((B) => ({ value: B.trim() }))), Ba.setChildMenu(""), Ba.setContentLoading(!1), ea.setTableLoading(!1), Di.value = !1) : (Pt.value = [], Di.value = !1), Xa(() => {
|
|
7596
|
+
Bi.value = Bi.value++, el.value = !0;
|
|
7597
7597
|
});
|
|
7598
7598
|
},
|
|
7599
7599
|
{
|
|
@@ -7604,7 +7604,7 @@ kt(
|
|
|
7604
7604
|
() => Pl.value,
|
|
7605
7605
|
async () => {
|
|
7606
7606
|
if (Pl.value) {
|
|
7607
|
-
let a = await
|
|
7607
|
+
let a = await aa(Xt.value, sessionStorage.getItem("systemKey"), "", !1, [], await ti.value);
|
|
7608
7608
|
Pt.value = ni(a), ea.setFreshContent(!1), Br();
|
|
7609
7609
|
}
|
|
7610
7610
|
},
|
|
@@ -7613,12 +7613,12 @@ kt(
|
|
|
7613
7613
|
const av = async () => {
|
|
7614
7614
|
var s, c, m, p, f, _, S, T;
|
|
7615
7615
|
Ba.setLinkMenuInfo(null);
|
|
7616
|
-
const a = await
|
|
7616
|
+
const a = await ya({
|
|
7617
7617
|
keyLikes: {
|
|
7618
7618
|
pageKey: `loading${((s = ki.value) == null ? void 0 : s.account) || ((c = ki.value) == null ? void 0 : c.账号)}`,
|
|
7619
7619
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7620
7620
|
}
|
|
7621
|
-
}), r = await
|
|
7621
|
+
}), r = await ya({
|
|
7622
7622
|
keyLikes: {
|
|
7623
7623
|
pageKey: `updateLoading${((m = ki.value) == null ? void 0 : m.account) || ((p = ki.value) == null ? void 0 : p.账号)}`,
|
|
7624
7624
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -7753,14 +7753,14 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ka({
|
|
|
7753
7753
|
style: Sn({ height: (B = c.value) == null ? void 0 : B.height })
|
|
7754
7754
|
}, {
|
|
7755
7755
|
default: Re(() => [
|
|
7756
|
-
(Ae(!0), Qe(Nt, null, Jt(p.value, (W, Ee) => (Ae(),
|
|
7756
|
+
(Ae(!0), Qe(Nt, null, Jt(p.value, (W, Ee) => (Ae(), zt(T, {
|
|
7757
7757
|
span: W == null ? void 0 : W.span
|
|
7758
7758
|
}, {
|
|
7759
7759
|
default: Re(() => {
|
|
7760
7760
|
var G;
|
|
7761
7761
|
return [
|
|
7762
|
-
Rt(el) ? (Ae(),
|
|
7763
|
-
key: Rt(
|
|
7762
|
+
Rt(el) ? (Ae(), zt(sn(Rt(Ar)(W.comp)), {
|
|
7763
|
+
key: Rt(Bi),
|
|
7764
7764
|
compName: W.name,
|
|
7765
7765
|
index: (W == null ? void 0 : W.id) ?? Ee,
|
|
7766
7766
|
height: (G = c.value) == null ? void 0 : G.height,
|
|
@@ -7920,14 +7920,14 @@ const ip = { class: "layout" }, lp = /* @__PURE__ */ ka({
|
|
|
7920
7920
|
content: Re(({ item: ce, index: Ue }) => [
|
|
7921
7921
|
ue("div", pp, [
|
|
7922
7922
|
ue("div", null, [
|
|
7923
|
-
(Ae(),
|
|
7923
|
+
(Ae(), zt(ca, {
|
|
7924
7924
|
rowContents: S.value[Ue],
|
|
7925
7925
|
key: Ue,
|
|
7926
7926
|
isEnableWrap: !0,
|
|
7927
7927
|
onChange: (st) => G(st, Ue)
|
|
7928
7928
|
}, null, 8, ["rowContents", "onChange"]))
|
|
7929
7929
|
]),
|
|
7930
|
-
(Ae(),
|
|
7930
|
+
(Ae(), zt(sn(U(ce.comp + "Operate")), {
|
|
7931
7931
|
itemContents: ce == null ? void 0 : ce.compData,
|
|
7932
7932
|
originalItemContents: ce.compData,
|
|
7933
7933
|
onChange: (st) => de(st, ce, Ue)
|
|
@@ -8604,10 +8604,10 @@ function Lp() {
|
|
|
8604
8604
|
}, document: null, DocumentFragment: null, SVGElement: null, SVGSVGElement: null, SVGElementInstance: null, Element: null, HTMLElement: null, Event: null, Touch: null, PointerEvent: null };
|
|
8605
8605
|
function Ce() {
|
|
8606
8606
|
}
|
|
8607
|
-
var A = Ge,
|
|
8607
|
+
var A = Ge, ie = { init: function(t) {
|
|
8608
8608
|
var e = A.Element, n = t.navigator || {};
|
|
8609
|
-
|
|
8610
|
-
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null },
|
|
8609
|
+
ie.supportsTouch = "ontouchstart" in t || I.func(t.DocumentTouch) && A.document instanceof t.DocumentTouch, ie.supportsPointerEvent = n.pointerEnabled !== !1 && !!A.PointerEvent, ie.isIOS = /iP(hone|od|ad)/.test(n.platform), ie.isIOS7 = /iP(hone|od|ad)/.test(n.platform) && /OS 7[^\d]/.test(n.appVersion), ie.isIe9 = /MSIE 9/.test(n.userAgent), ie.isOperaMobile = n.appName === "Opera" && ie.supportsTouch && /Presto/.test(n.userAgent), ie.prefixedMatchesSelector = "matches" in e.prototype ? "matches" : "webkitMatchesSelector" in e.prototype ? "webkitMatchesSelector" : "mozMatchesSelector" in e.prototype ? "mozMatchesSelector" : "oMatchesSelector" in e.prototype ? "oMatchesSelector" : "msMatchesSelector", ie.pEventTypes = ie.supportsPointerEvent ? A.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, ie.wheelEvent = A.document && "onmousewheel" in A.document ? "mousewheel" : "wheel";
|
|
8610
|
+
}, supportsTouch: null, supportsPointerEvent: null, isIOS7: null, isIOS: null, isIe9: null, isOperaMobile: null, prefixedMatchesSelector: null, pEventTypes: null, wheelEvent: null }, ae = ie;
|
|
8611
8611
|
function be(t, e) {
|
|
8612
8612
|
if (t.contains) return t.contains(e);
|
|
8613
8613
|
for (; e; ) {
|
|
@@ -8632,7 +8632,7 @@ function Lp() {
|
|
|
8632
8632
|
return e;
|
|
8633
8633
|
}
|
|
8634
8634
|
function Be(t, e) {
|
|
8635
|
-
return de !== U && (e = e.replace(/\/deep\//g, " ")), t[
|
|
8635
|
+
return de !== U && (e = e.replace(/\/deep\//g, " ")), t[ae.prefixedMatchesSelector](e);
|
|
8636
8636
|
}
|
|
8637
8637
|
var E = function(t) {
|
|
8638
8638
|
return t.parentNode || t.host;
|
|
@@ -8657,7 +8657,7 @@ function Lp() {
|
|
|
8657
8657
|
}
|
|
8658
8658
|
function Se(t) {
|
|
8659
8659
|
var e, n = Ke(t);
|
|
8660
|
-
if (!
|
|
8660
|
+
if (!ae.isIOS7 && n) {
|
|
8661
8661
|
var l = { x: (e = (e = M(t)) || de).scrollX || e.document.documentElement.scrollLeft, y: e.scrollY || e.document.documentElement.scrollTop };
|
|
8662
8662
|
n.left += l.x, n.right += l.x, n.top += l.y, n.bottom += l.y;
|
|
8663
8663
|
}
|
|
@@ -8684,10 +8684,10 @@ function Lp() {
|
|
|
8684
8684
|
function it(t) {
|
|
8685
8685
|
return t && { x: "x" in t ? t.x : t.left, y: "y" in t ? t.y : t.top };
|
|
8686
8686
|
}
|
|
8687
|
-
function
|
|
8687
|
+
function te(t) {
|
|
8688
8688
|
return !t || "x" in t && "y" in t || ((t = X({}, 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;
|
|
8689
8689
|
}
|
|
8690
|
-
function
|
|
8690
|
+
function le(t, e, n) {
|
|
8691
8691
|
t.left && (e.left += n.x), t.right && (e.right += n.x), t.top && (e.top += n.y), t.bottom && (e.bottom += n.y), e.width = e.right - e.left, e.height = e.bottom - e.top;
|
|
8692
8692
|
}
|
|
8693
8693
|
function Te(t, e, n) {
|
|
@@ -8746,7 +8746,7 @@ function Lp() {
|
|
|
8746
8746
|
return t = t || "page", (n = n || {}).x = e[t + "X"], n.y = e[t + "Y"], n;
|
|
8747
8747
|
}
|
|
8748
8748
|
function oe(t, e) {
|
|
8749
|
-
return e = e || { x: 0, y: 0 },
|
|
8749
|
+
return e = e || { x: 0, y: 0 }, ae.isOperaMobile && C(t) ? (P("screen", t, e), e.x += window.scrollX, e.y += window.scrollY) : P("page", t, e), e;
|
|
8750
8750
|
}
|
|
8751
8751
|
function V(t) {
|
|
8752
8752
|
return I.number(t.pointerId) ? t.pointerId : t.identifier;
|
|
@@ -8754,10 +8754,10 @@ function Lp() {
|
|
|
8754
8754
|
function K(t, e, n) {
|
|
8755
8755
|
var l = e.length > 1 ? Z(e) : e[0];
|
|
8756
8756
|
oe(l, t.page), function(u, d) {
|
|
8757
|
-
d = d || {},
|
|
8757
|
+
d = d || {}, ae.isOperaMobile && C(u) ? P("screen", u, d) : P("client", u, d);
|
|
8758
8758
|
}(l, t.client), t.timeStamp = n;
|
|
8759
8759
|
}
|
|
8760
|
-
function
|
|
8760
|
+
function ne(t) {
|
|
8761
8761
|
var e = [];
|
|
8762
8762
|
return I.array(t) ? (e[0] = t[0], e[1] = t[1]) : t.type === "touchend" ? t.touches.length === 1 ? (e[0] = t.touches[0], e[1] = t.changedTouches[0]) : t.touches.length === 0 && (e[0] = t.changedTouches[0], e[1] = t.changedTouches[1]) : (e[0] = t.touches[0], e[1] = t.touches[1]), e;
|
|
8763
8763
|
}
|
|
@@ -8771,15 +8771,15 @@ function Lp() {
|
|
|
8771
8771
|
}
|
|
8772
8772
|
function pe(t) {
|
|
8773
8773
|
if (!t.length) return null;
|
|
8774
|
-
var e =
|
|
8774
|
+
var e = ne(t), n = Math.min(e[0].pageX, e[1].pageX), l = Math.min(e[0].pageY, e[1].pageY), u = Math.max(e[0].pageX, e[1].pageX), d = Math.max(e[0].pageY, e[1].pageY);
|
|
8775
8775
|
return { x: n, y: l, left: n, top: l, right: u, bottom: d, width: u - n, height: d - l };
|
|
8776
8776
|
}
|
|
8777
8777
|
function he(t, e) {
|
|
8778
|
-
var n = e + "X", l = e + "Y", u =
|
|
8778
|
+
var n = e + "X", l = e + "Y", u = ne(t), d = u[0][n] - u[1][n], h = u[0][l] - u[1][l];
|
|
8779
8779
|
return nt(d, h);
|
|
8780
8780
|
}
|
|
8781
8781
|
function H(t, e) {
|
|
8782
|
-
var n = e + "X", l = e + "Y", u =
|
|
8782
|
+
var n = e + "X", l = e + "Y", u = ne(t), d = u[1][n] - u[0][n], h = u[1][l] - u[0][l];
|
|
8783
8783
|
return 180 * Math.atan2(h, d) / Math.PI;
|
|
8784
8784
|
}
|
|
8785
8785
|
function ye(t) {
|
|
@@ -8875,28 +8875,28 @@ function Lp() {
|
|
|
8875
8875
|
h.push(He ? Q : null);
|
|
8876
8876
|
}
|
|
8877
8877
|
var je = function(Ze) {
|
|
8878
|
-
for (var ut, ot, yt,
|
|
8879
|
-
var wt = Ze[$t],
|
|
8880
|
-
if (wt && $t !== ut) if (
|
|
8881
|
-
var Ca = E(wt),
|
|
8882
|
-
if (Ca !== wt.ownerDocument) if (
|
|
8883
|
-
|
|
8878
|
+
for (var ut, ot, yt, Dt = [], $t = 0; $t < Ze.length; $t++) {
|
|
8879
|
+
var wt = Ze[$t], At = Ze[ut];
|
|
8880
|
+
if (wt && $t !== ut) if (At) {
|
|
8881
|
+
var Ca = E(wt), ia = E(At);
|
|
8882
|
+
if (Ca !== wt.ownerDocument) if (ia !== wt.ownerDocument) if (Ca !== ia) {
|
|
8883
|
+
Dt = Dt.length ? Dt : Oe(At);
|
|
8884
8884
|
var za = void 0;
|
|
8885
|
-
if (
|
|
8886
|
-
if (wt ===
|
|
8885
|
+
if (At instanceof A.HTMLElement && wt instanceof A.SVGElement && !(wt instanceof A.SVGSVGElement)) {
|
|
8886
|
+
if (wt === ia) continue;
|
|
8887
8887
|
za = wt.ownerSVGElement;
|
|
8888
8888
|
} else za = wt;
|
|
8889
|
-
for (var qa = Oe(za,
|
|
8890
|
-
var gi = [qa[nn - 1], qa[nn],
|
|
8889
|
+
for (var qa = Oe(za, At.ownerDocument), nn = 0; qa[nn] && qa[nn] === Dt[nn]; ) nn++;
|
|
8890
|
+
var gi = [qa[nn - 1], qa[nn], Dt[nn]];
|
|
8891
8891
|
if (gi[0]) for (var qn = gi[0].lastChild; qn; ) {
|
|
8892
8892
|
if (qn === gi[1]) {
|
|
8893
|
-
ut = $t,
|
|
8893
|
+
ut = $t, Dt = qa;
|
|
8894
8894
|
break;
|
|
8895
8895
|
}
|
|
8896
8896
|
if (qn === gi[2]) break;
|
|
8897
8897
|
qn = qn.previousSibling;
|
|
8898
8898
|
}
|
|
8899
|
-
} else yt =
|
|
8899
|
+
} else yt = At, (parseInt(M(ot = wt).getComputedStyle(ot).zIndex, 10) || 0) >= (parseInt(M(yt).getComputedStyle(yt).zIndex, 10) || 0) && (ut = $t);
|
|
8900
8900
|
else ut = $t;
|
|
8901
8901
|
} else ut = $t;
|
|
8902
8902
|
}
|
|
@@ -8940,19 +8940,19 @@ function Lp() {
|
|
|
8940
8940
|
return function(Q, _e, He, je, Ze, ut, ot) {
|
|
8941
8941
|
var yt = !1;
|
|
8942
8942
|
if (!(ot = ot || Q.getRect(ut))) return !!Q.options.drop.checker && Q.options.drop.checker(_e, He, yt, Q, ut, je, Ze);
|
|
8943
|
-
var
|
|
8944
|
-
if (
|
|
8943
|
+
var Dt = Q.options.drop.overlap;
|
|
8944
|
+
if (Dt === "pointer") {
|
|
8945
8945
|
var $t = Te(je, Ze, "drag"), wt = oe(_e);
|
|
8946
8946
|
wt.x += $t.x, wt.y += $t.y;
|
|
8947
|
-
var
|
|
8948
|
-
yt =
|
|
8947
|
+
var At = wt.x > ot.left && wt.x < ot.right, Ca = wt.y > ot.top && wt.y < ot.bottom;
|
|
8948
|
+
yt = At && Ca;
|
|
8949
8949
|
}
|
|
8950
|
-
var
|
|
8951
|
-
if (
|
|
8952
|
-
var za =
|
|
8950
|
+
var ia = je.getRect(Ze);
|
|
8951
|
+
if (ia && Dt === "center") {
|
|
8952
|
+
var za = ia.left + ia.width / 2, qa = ia.top + ia.height / 2;
|
|
8953
8953
|
yt = za >= ot.left && za <= ot.right && qa >= ot.top && qa <= ot.bottom;
|
|
8954
8954
|
}
|
|
8955
|
-
return
|
|
8955
|
+
return ia && I.number(Dt) && (yt = Math.max(0, Math.min(ot.right, ia.right) - Math.max(ot.left, ia.left)) * Math.max(0, Math.min(ot.bottom, ia.bottom) - Math.max(ot.top, ia.top)) / (ia.width * ia.height) >= Dt), Q.options.drop.checker && (yt = Q.options.drop.checker(_e, He, yt, Q, ut, je, Ze)), yt;
|
|
8956
8956
|
}(this, d, h, y, D, j, O);
|
|
8957
8957
|
}, n.dynamicDrop = function(d) {
|
|
8958
8958
|
return I.bool(d) ? (t.dynamicDrop = d, n) : t.dynamicDrop;
|
|
@@ -9041,7 +9041,7 @@ function Lp() {
|
|
|
9041
9041
|
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));
|
|
9042
9042
|
}
|
|
9043
9043
|
}
|
|
9044
|
-
var Fe,
|
|
9044
|
+
var Fe, re, We = { id: "actions/resize", before: ["actions/drag"], install: function(t) {
|
|
9045
9045
|
var e = t.actions, n = t.browser, l = t.Interactable, u = t.defaults;
|
|
9046
9046
|
We.cursors = function(d) {
|
|
9047
9047
|
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" };
|
|
@@ -9121,18 +9121,18 @@ function Lp() {
|
|
|
9121
9121
|
} }, mt = 0, ft = { request: function(t) {
|
|
9122
9122
|
return Fe(t);
|
|
9123
9123
|
}, cancel: function(t) {
|
|
9124
|
-
return
|
|
9124
|
+
return re(t);
|
|
9125
9125
|
}, init: function(t) {
|
|
9126
|
-
if (Fe = t.requestAnimationFrame,
|
|
9126
|
+
if (Fe = t.requestAnimationFrame, re = t.cancelAnimationFrame, !Fe) for (var e = ["ms", "moz", "webkit", "o"], n = 0; n < e.length; n++) {
|
|
9127
9127
|
var l = e[n];
|
|
9128
|
-
Fe = t["".concat(l, "RequestAnimationFrame")],
|
|
9128
|
+
Fe = t["".concat(l, "RequestAnimationFrame")], re = t["".concat(l, "CancelAnimationFrame")] || t["".concat(l, "CancelRequestAnimationFrame")];
|
|
9129
9129
|
}
|
|
9130
|
-
Fe = Fe && Fe.bind(t),
|
|
9130
|
+
Fe = Fe && Fe.bind(t), re = re && re.bind(t), Fe || (Fe = function(u) {
|
|
9131
9131
|
var d = Date.now(), h = Math.max(0, 16 - (d - mt)), y = t.setTimeout(function() {
|
|
9132
9132
|
u(d + h);
|
|
9133
9133
|
}, h);
|
|
9134
9134
|
return mt = d + h, y;
|
|
9135
|
-
},
|
|
9135
|
+
}, re = function(u) {
|
|
9136
9136
|
return clearTimeout(u);
|
|
9137
9137
|
});
|
|
9138
9138
|
} }, ze = { 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) {
|
|
@@ -9185,14 +9185,14 @@ function Lp() {
|
|
|
9185
9185
|
t.interaction.autoScroll = null, ze.stop(), ze.interaction && (ze.interaction = null);
|
|
9186
9186
|
}, "interactions:stop": ze.stop, "interactions:action-move": function(t) {
|
|
9187
9187
|
return ze.onInteractionMove(t);
|
|
9188
|
-
} } },
|
|
9189
|
-
function
|
|
9188
|
+
} } }, Et = xt;
|
|
9189
|
+
function gt(t, e) {
|
|
9190
9190
|
var n = !1;
|
|
9191
9191
|
return function() {
|
|
9192
9192
|
return n || (de.console.warn(e), n = !0), t.apply(this, arguments);
|
|
9193
9193
|
};
|
|
9194
9194
|
}
|
|
9195
|
-
function
|
|
9195
|
+
function Ct(t, e) {
|
|
9196
9196
|
return t.name = e.name, t.axis = e.axis, t.edges = e.edges, t;
|
|
9197
9197
|
}
|
|
9198
9198
|
function Bt(t) {
|
|
@@ -9209,16 +9209,16 @@ function Lp() {
|
|
|
9209
9209
|
return Q.fire("auto-start:check", je), je.action;
|
|
9210
9210
|
}(this, l, u, d, t);
|
|
9211
9211
|
return this.options.actionChecker ? this.options.actionChecker(n, l, h, this, d, u) : h;
|
|
9212
|
-
}, e.prototype.ignoreFrom =
|
|
9212
|
+
}, e.prototype.ignoreFrom = gt(function(n) {
|
|
9213
9213
|
return this._backCompatOption("ignoreFrom", n);
|
|
9214
|
-
}, "Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."), e.prototype.allowFrom =
|
|
9214
|
+
}, "Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."), e.prototype.allowFrom = gt(function(n) {
|
|
9215
9215
|
return this._backCompatOption("allowFrom", n);
|
|
9216
9216
|
}, "Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."), e.prototype.actionChecker = Wt, e.prototype.styleCursor = Bt;
|
|
9217
9217
|
} };
|
|
9218
9218
|
function jt(t, e, n, l, u) {
|
|
9219
|
-
return e.testIgnoreAllow(e.options[t.name], n, l) && e.options[t.name].enabled &&
|
|
9219
|
+
return e.testIgnoreAllow(e.options[t.name], n, l) && e.options[t.name].enabled && sa(e, n, t, u) ? t : null;
|
|
9220
9220
|
}
|
|
9221
|
-
function
|
|
9221
|
+
function Ot(t, e, n, l, u, d, h) {
|
|
9222
9222
|
for (var y = 0, D = l.length; y < D; y++) {
|
|
9223
9223
|
var j = l[y], O = u[y], Q = j.getAction(e, n, t, O);
|
|
9224
9224
|
if (Q) {
|
|
@@ -9228,24 +9228,24 @@ function Lp() {
|
|
|
9228
9228
|
}
|
|
9229
9229
|
return { action: null, interactable: null, element: null };
|
|
9230
9230
|
}
|
|
9231
|
-
function
|
|
9231
|
+
function la(t, e, n, l, u) {
|
|
9232
9232
|
var d = [], h = [], y = l;
|
|
9233
9233
|
function D(O) {
|
|
9234
9234
|
d.push(O), h.push(y);
|
|
9235
9235
|
}
|
|
9236
9236
|
for (; I.element(y); ) {
|
|
9237
9237
|
d = [], h = [], u.interactables.forEachMatch(y, D);
|
|
9238
|
-
var j =
|
|
9238
|
+
var j = Ot(t, e, n, d, h, l, u);
|
|
9239
9239
|
if (j.action && !j.interactable.options[j.action.name].manualStart) return j;
|
|
9240
9240
|
y = ct(y);
|
|
9241
9241
|
}
|
|
9242
9242
|
return { action: null, interactable: null, element: null };
|
|
9243
9243
|
}
|
|
9244
|
-
function
|
|
9244
|
+
function pa(t, e, n) {
|
|
9245
9245
|
var l = e.action, u = e.interactable, d = e.element;
|
|
9246
|
-
l = l || { name: null }, t.interactable = u, t.element = d,
|
|
9246
|
+
l = l || { name: null }, t.interactable = u, t.element = d, Ct(t.prepared, l), t.rect = u && l.name ? u.getRect(d) : null, Ka(t, n), n.fire("autoStart:prepared", { interaction: t });
|
|
9247
9247
|
}
|
|
9248
|
-
function
|
|
9248
|
+
function sa(t, e, n, l) {
|
|
9249
9249
|
var u = t.options, d = u[n.name].max, h = u[n.name].maxPerElement, y = l.autoStart.maxInteractions, D = 0, j = 0, O = 0;
|
|
9250
9250
|
if (!(d && h && y)) return !1;
|
|
9251
9251
|
for (var Q = 0, _e = l.interactions.list; Q < _e.length; Q++) {
|
|
@@ -9277,26 +9277,26 @@ function Lp() {
|
|
|
9277
9277
|
var e = t.interactStatic, n = t.defaults;
|
|
9278
9278
|
t.usePlugin(Ht), n.base.actionChecker = null, n.base.styleCursor = !0, X(n.perAction, { manualStart: !1, max: 1 / 0, maxPerElement: 1, allowFrom: null, ignoreFrom: null, mouseButtons: 1 }), e.maxInteractions = function(l) {
|
|
9279
9279
|
return Ua(l, t);
|
|
9280
|
-
}, t.autoStart = { maxInteractions: 1 / 0, withinInteractionLimit:
|
|
9280
|
+
}, t.autoStart = { maxInteractions: 1 / 0, withinInteractionLimit: sa, cursorElement: null };
|
|
9281
9281
|
}, listeners: { "interactions:down": function(t, e) {
|
|
9282
9282
|
var n = t.interaction, l = t.pointer, u = t.event, d = t.eventTarget;
|
|
9283
|
-
n.interacting() ||
|
|
9283
|
+
n.interacting() || pa(n, la(n, l, u, d, e), e);
|
|
9284
9284
|
}, "interactions:move": function(t, e) {
|
|
9285
9285
|
(function(n, l) {
|
|
9286
9286
|
var u = n.interaction, d = n.pointer, h = n.event, y = n.eventTarget;
|
|
9287
|
-
u.pointerType !== "mouse" || u.pointerIsDown || u.interacting() ||
|
|
9287
|
+
u.pointerType !== "mouse" || u.pointerIsDown || u.interacting() || pa(u, la(u, d, h, y, l), l);
|
|
9288
9288
|
})(t, e), function(n, l) {
|
|
9289
9289
|
var u = n.interaction;
|
|
9290
9290
|
if (u.pointerIsDown && !u.interacting() && u.pointerWasMoved && u.prepared.name) {
|
|
9291
9291
|
l.fire("autoStart:before-start", n);
|
|
9292
9292
|
var d = u.interactable, h = u.prepared.name;
|
|
9293
|
-
h && d && (d.options[h].manualStart || !
|
|
9293
|
+
h && d && (d.options[h].manualStart || !sa(d, u.element, u.prepared, l) ? u.stop() : (u.start(u.prepared, d, u.element), Ka(u, l)));
|
|
9294
9294
|
}
|
|
9295
9295
|
}(t, e);
|
|
9296
9296
|
}, "interactions:stop": function(t, e) {
|
|
9297
9297
|
var n = t.interaction, l = n.interactable;
|
|
9298
9298
|
l && l.options.styleCursor && $a(n.element, "", e);
|
|
9299
|
-
} }, maxInteractions: Ua, withinInteractionLimit:
|
|
9299
|
+
} }, maxInteractions: Ua, withinInteractionLimit: sa, validateAction: jt }, Ma = Ja, Za = { id: "auto-start/dragAxis", listeners: { "autoStart:before-start": function(t, e) {
|
|
9300
9300
|
var n = t.interaction, l = t.eventTarget, u = t.dx, d = t.dy;
|
|
9301
9301
|
if (n.prepared.name === "drag") {
|
|
9302
9302
|
var h = Math.abs(u), y = Math.abs(d), D = n.interactable.options.drag, j = D.startAxis, O = h > y ? "x" : h < y ? "y" : "xy";
|
|
@@ -9309,8 +9309,8 @@ function Lp() {
|
|
|
9309
9309
|
var ut = je.getAction(n.downPointer, n.downEvent, n, Q);
|
|
9310
9310
|
if (ut && ut.name === "drag" && function(ot, yt) {
|
|
9311
9311
|
if (!yt) return !1;
|
|
9312
|
-
var
|
|
9313
|
-
return ot === "xy" ||
|
|
9312
|
+
var Dt = yt.options.drag.startAxis;
|
|
9313
|
+
return ot === "xy" || Dt === "xy" || Dt === ot;
|
|
9314
9314
|
}(O, je) && Ma.validateAction(ut, je, Q, l, e)) return je;
|
|
9315
9315
|
}
|
|
9316
9316
|
}
|
|
@@ -9347,7 +9347,7 @@ function Lp() {
|
|
|
9347
9347
|
}, "autoStart:before-start": function(t) {
|
|
9348
9348
|
var e = t.interaction;
|
|
9349
9349
|
Ra(e) > 0 && (e.prepared.name = null);
|
|
9350
|
-
} }, getHoldDuration: Ra }, St = Qa,
|
|
9350
|
+
} }, getHoldDuration: Ra }, St = Qa, ha = { id: "auto-start", install: function(t) {
|
|
9351
9351
|
t.usePlugin(Ma), t.usePlugin(St), t.usePlugin(Za);
|
|
9352
9352
|
} }, bt = function(t) {
|
|
9353
9353
|
return /^(always|never|auto)$/.test(t) ? (this.options.preventDefault = t, this) : I.bool(t) ? (this.options.preventDefault = t ? "always" : "never", this) : this.options.preventDefault;
|
|
@@ -9421,7 +9421,7 @@ function Lp() {
|
|
|
9421
9421
|
e.coords = X({}, e.pageCoords), e.rect = X({}, d), e.edges = X({}, h);
|
|
9422
9422
|
for (var y = u ? this.states.slice(u) : this.states, D = Aa(e.coords, e.rect), j = 0; j < y.length; j++) {
|
|
9423
9423
|
var O, Q = y[j], _e = Q.options, He = X({}, e.coords), je = null;
|
|
9424
|
-
(O = Q.methods) != null && O.set && this.shouldDo(_e, l, n) && (e.state = Q, je = Q.methods.set(e),
|
|
9424
|
+
(O = Q.methods) != null && O.set && this.shouldDo(_e, l, n) && (e.state = Q, je = Q.methods.set(e), le(e.edges, e.rect, { x: e.coords.x - He.x, y: e.coords.y - He.y })), D.eventProps.push(je);
|
|
9425
9425
|
}
|
|
9426
9426
|
X(this.edges, e.edges), D.delta.x = e.coords.x - e.pageCoords.x, D.delta.y = e.coords.y - e.pageCoords.y, D.rectDelta.left = e.rect.left - d.left, D.rectDelta.right = e.rect.right - d.right, D.rectDelta.top = e.rect.top - d.top, D.rectDelta.bottom = e.rect.bottom - d.bottom;
|
|
9427
9427
|
var Ze = this.result.coords, ut = this.result.rect;
|
|
@@ -9601,7 +9601,7 @@ function Lp() {
|
|
|
9601
9601
|
}({}), oi = 0, si = function() {
|
|
9602
9602
|
function t(e) {
|
|
9603
9603
|
var n = this, l = e.pointerType, u = e.scopeFire;
|
|
9604
|
-
c(this, t), this.interactable = null, this.element = null, this.rect = null, this._rects = void 0, this.edges = null, this._scopeFire = void 0, this.prepared = { name: null, axis: null, edges: null }, this.pointerType = void 0, this.pointers = [], this.downEvent = null, this.downPointer = {}, this._latestPointer = { pointer: null, event: null, eventTarget: null }, this.prevEvent = null, this.pointerIsDown = !1, this.pointerWasMoved = !1, this._interacting = !1, this._ending = !1, this._stopped = !0, this._proxy = void 0, this.simulation = null, this.doMove =
|
|
9604
|
+
c(this, t), this.interactable = null, this.element = null, this.rect = null, this._rects = void 0, this.edges = null, this._scopeFire = void 0, this.prepared = { name: null, axis: null, edges: null }, this.pointerType = void 0, this.pointers = [], this.downEvent = null, this.downPointer = {}, this._latestPointer = { pointer: null, event: null, eventTarget: null }, this.prevEvent = null, this.pointerIsDown = !1, this.pointerWasMoved = !1, this._interacting = !1, this._ending = !1, this._stopped = !0, this._proxy = void 0, this.simulation = null, this.doMove = gt(function(O) {
|
|
9605
9605
|
this.move(O);
|
|
9606
9606
|
}, "The interaction.doMove() method has been renamed to interaction.move()"), this.coords = { start: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, prev: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, cur: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, delta: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, velocity: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 } }, this._id = oi++, this._scopeFire = u, this.pointerType = l;
|
|
9607
9607
|
var d = this;
|
|
@@ -9626,7 +9626,7 @@ function Lp() {
|
|
|
9626
9626
|
var u = this.updatePointer(e, n, l, !0), d = this.pointers[u];
|
|
9627
9627
|
this._scopeFire("interactions:down", { pointer: e, event: n, eventTarget: l, pointerIndex: u, pointerInfo: d, type: "down", interaction: this });
|
|
9628
9628
|
} }, { key: "start", value: function(e, n, l) {
|
|
9629
|
-
return !(this.interacting() || !this.pointerIsDown || this.pointers.length < (e.name === "gesture" ? 2 : 1) || !n.options[e.name].enabled) && (
|
|
9629
|
+
return !(this.interacting() || !this.pointerIsDown || this.pointers.length < (e.name === "gesture" ? 2 : 1) || !n.options[e.name].enabled) && (Ct(this.prepared, e), this.interactable = n, this.element = l, this.rect = n.getRect(l), this.edges = this.prepared.edges ? X({}, this.prepared.edges) : { left: !0, right: !0, top: !0, bottom: !0 }, this._stopped = !1, this._interacting = this._doPhase({ interaction: this, event: this.downEvent, phase: "start" }) && !this._stopped, this._interacting);
|
|
9630
9630
|
} }, { key: "pointerMove", value: function(e, n, l) {
|
|
9631
9631
|
this.simulation || this.modification && this.modification.endResult || this.updatePointer(e, n, l, !1);
|
|
9632
9632
|
var u, d, h = this.coords.cur.page.x === this.coords.prev.page.x && this.coords.cur.page.y === this.coords.prev.page.y && this.coords.cur.client.x === this.coords.prev.client.x && this.coords.cur.client.y === this.coords.prev.client.y;
|
|
@@ -9680,7 +9680,7 @@ function Lp() {
|
|
|
9680
9680
|
(n = this.interactable) == null || n.fire(e), (!this.prevEvent || e.timeStamp >= this.prevEvent.timeStamp) && (this.prevEvent = e);
|
|
9681
9681
|
} }, { key: "_doPhase", value: function(e) {
|
|
9682
9682
|
var n = e.event, l = e.phase, u = e.preEnd, d = e.type, h = this.rect;
|
|
9683
|
-
if (h && l === "move" && (
|
|
9683
|
+
if (h && l === "move" && (le(this.edges, h, this.coords.delta[this.interactable.options.deltaSource]), h.width = h.right - h.left, h.height = h.bottom - h.top), this._scopeFire("interactions:before-action-".concat(l), e) === !1) return !1;
|
|
9684
9684
|
var y = e.iEvent = this._createPreparedEvent(n, l, u, d);
|
|
9685
9685
|
return this._scopeFire("interactions:action-".concat(l), e), l === "start" && (this.prevEvent = y), this._fireEvent(y), this._scopeFire("interactions:after-action-".concat(l), e), !0;
|
|
9686
9686
|
} }, { key: "_now", value: function() {
|
|
@@ -9695,7 +9695,7 @@ function Lp() {
|
|
|
9695
9695
|
return !(!n.offset.pending.x && !n.offset.pending.y);
|
|
9696
9696
|
}(t)) return !1;
|
|
9697
9697
|
var e = t.offset.pending;
|
|
9698
|
-
return pn(t.coords.cur, e), pn(t.coords.delta, e),
|
|
9698
|
+
return pn(t.coords.cur, e), pn(t.coords.delta, e), le(t.edges, t.rect, e), e.x = 0, e.y = 0, !0;
|
|
9699
9699
|
}
|
|
9700
9700
|
function ui(t) {
|
|
9701
9701
|
var e = t.x, n = t.y;
|
|
@@ -9720,12 +9720,12 @@ function Lp() {
|
|
|
9720
9720
|
}, "interactions:stop": function(t) {
|
|
9721
9721
|
var e = t.interaction;
|
|
9722
9722
|
e.offset.total.x = 0, e.offset.total.y = 0, e.offset.pending.x = 0, e.offset.pending.y = 0;
|
|
9723
|
-
} } },
|
|
9723
|
+
} } }, ra = Qt, Oa = function() {
|
|
9724
9724
|
function t(e) {
|
|
9725
9725
|
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;
|
|
9726
9726
|
}
|
|
9727
9727
|
return p(t, [{ key: "start", value: function(e) {
|
|
9728
|
-
var n = this.interaction, l =
|
|
9728
|
+
var n = this.interaction, l = It(n);
|
|
9729
9729
|
if (!l || !l.enabled) return !1;
|
|
9730
9730
|
var u = n.coords.velocity.client, d = nt(u.x, u.y), h = this.modification || (this.modification = new ma(n));
|
|
9731
9731
|
if (h.copyFrom(n.modification), this.t0 = n._now(), this.allowResume = l.allowResume, this.v0 = d, this.currentOffset = { x: 0, y: 0 }, this.startCoords = n.coords.cur.page, this.modifierArg = h.fillArg({ pageCoords: this.startCoords, preEnd: !0, phase: "inertiastart" }), this.t0 - n.coords.cur.timeStamp < 50 && d > l.minSpeed && d > l.endSpeed) this.startInertia();
|
|
@@ -9735,7 +9735,7 @@ function Lp() {
|
|
|
9735
9735
|
}
|
|
9736
9736
|
return n.modification.result.rect = null, n.offsetBy(this.targetOffset), n._doPhase({ interaction: n, event: e, phase: "inertiastart" }), n.offsetBy({ x: -this.targetOffset.x, y: -this.targetOffset.y }), n.modification.result.rect = null, this.active = !0, n.simulation = this, !0;
|
|
9737
9737
|
} }, { key: "startInertia", value: function() {
|
|
9738
|
-
var e = this, n = this.interaction.coords.velocity.client, l =
|
|
9738
|
+
var e = this, n = this.interaction.coords.velocity.client, l = It(this.interaction), u = l.resistance, d = -Math.log(l.endSpeed / this.v0) / u;
|
|
9739
9739
|
this.targetOffset = { x: (n.x - d) / u, y: (n.y - d) / u }, this.te = d, this.lambda_v0 = u / this.v0, this.one_ve_v0 = 1 - l.endSpeed / this.v0;
|
|
9740
9740
|
var h = this.modification, y = this.modifierArg;
|
|
9741
9741
|
y.pageCoords = { x: this.startCoords.x + this.targetOffset.x, y: this.startCoords.y + this.targetOffset.y }, h.result = h.setAll(y), h.result.changed && (this.isModified = !0, this.modifiedOffset = { x: this.targetOffset.x + h.result.delta.x, y: this.targetOffset.y + h.result.delta.y }), this.onNextFrame(function() {
|
|
@@ -9752,19 +9752,19 @@ function Lp() {
|
|
|
9752
9752
|
n.active && e();
|
|
9753
9753
|
});
|
|
9754
9754
|
} }, { key: "inertiaTick", value: function() {
|
|
9755
|
-
var e, n, l, u, d, h, y, D = this, j = this.interaction, O =
|
|
9755
|
+
var e, n, l, u, d, h, y, D = this, j = this.interaction, O = It(j).resistance, Q = (j._now() - this.t0) / 1e3;
|
|
9756
9756
|
if (Q < this.te) {
|
|
9757
9757
|
var _e, He = 1 - (Math.exp(-O * Q) - this.lambda_v0) / this.one_ve_v0;
|
|
9758
|
-
this.isModified ? (e = 0, n = 0, l = this.targetOffset.x, u = this.targetOffset.y, d = this.modifiedOffset.x, h = this.modifiedOffset.y, _e = { x:
|
|
9758
|
+
this.isModified ? (e = 0, n = 0, l = this.targetOffset.x, u = this.targetOffset.y, d = this.modifiedOffset.x, h = this.modifiedOffset.y, _e = { x: na(y = He, e, l, d), y: na(y, n, u, h) }) : _e = { x: this.targetOffset.x * He, y: this.targetOffset.y * He };
|
|
9759
9759
|
var je = { x: _e.x - this.currentOffset.x, y: _e.y - this.currentOffset.y };
|
|
9760
9760
|
this.currentOffset.x += je.x, this.currentOffset.y += je.y, j.offsetBy(je), j.move(), this.onNextFrame(function() {
|
|
9761
9761
|
return D.inertiaTick();
|
|
9762
9762
|
});
|
|
9763
9763
|
} else j.offsetBy({ x: this.modifiedOffset.x - this.currentOffset.x, y: this.modifiedOffset.y - this.currentOffset.y }), this.end();
|
|
9764
9764
|
} }, { key: "smoothEndTick", value: function() {
|
|
9765
|
-
var e = this, n = this.interaction, l = n._now() - this.t0, u =
|
|
9765
|
+
var e = this, n = this.interaction, l = n._now() - this.t0, u = It(n).smoothEndDuration;
|
|
9766
9766
|
if (l < u) {
|
|
9767
|
-
var d = { x:
|
|
9767
|
+
var d = { x: oa(l, 0, this.targetOffset.x, u), y: oa(l, 0, this.targetOffset.y, u) }, h = { x: d.x - this.currentOffset.x, y: d.y - this.currentOffset.y };
|
|
9768
9768
|
this.currentOffset.x += h.x, this.currentOffset.y += h.y, n.offsetBy(h), n.move({ skipModifiers: this.modifierCount }), this.onNextFrame(function() {
|
|
9769
9769
|
return e.smoothEndTick();
|
|
9770
9770
|
});
|
|
@@ -9778,13 +9778,13 @@ function Lp() {
|
|
|
9778
9778
|
this.active = this.smoothEnd = !1, this.interaction.simulation = null, ft.cancel(this.timeout);
|
|
9779
9779
|
} }]), t;
|
|
9780
9780
|
}();
|
|
9781
|
-
function
|
|
9781
|
+
function It(t) {
|
|
9782
9782
|
var e = t.interactable, n = t.prepared;
|
|
9783
9783
|
return e && e.options && n.name && e.options[n.name].inertia;
|
|
9784
9784
|
}
|
|
9785
9785
|
var Vt = { id: "inertia", before: ["modifiers", "actions"], install: function(t) {
|
|
9786
9786
|
var e = t.defaults;
|
|
9787
|
-
t.usePlugin(
|
|
9787
|
+
t.usePlugin(ra), t.usePlugin(Fn), t.actions.phases.inertiastart = !0, t.actions.phases.resume = !0, e.perAction.inertia = { enabled: !1, resistance: 10, minSpeed: 100, endSpeed: 10, allowResume: !0, smoothEndDuration: 300 };
|
|
9788
9788
|
}, listeners: { "interactions:new": function(t) {
|
|
9789
9789
|
var e = t.interaction;
|
|
9790
9790
|
e.inertia = new Oa(e);
|
|
@@ -9813,14 +9813,14 @@ function Lp() {
|
|
|
9813
9813
|
}, "interactions:after-action-resume": function(t) {
|
|
9814
9814
|
return t.interaction.modification.restoreInteractionCoords(t);
|
|
9815
9815
|
} } };
|
|
9816
|
-
function
|
|
9816
|
+
function na(t, e, n, l) {
|
|
9817
9817
|
var u = 1 - t;
|
|
9818
9818
|
return u * u * e + 2 * u * t * n + t * t * l;
|
|
9819
9819
|
}
|
|
9820
|
-
function
|
|
9820
|
+
function oa(t, e, n, l) {
|
|
9821
9821
|
return -n * (t /= l) * (t - 2) + e;
|
|
9822
9822
|
}
|
|
9823
|
-
var
|
|
9823
|
+
var ta = Vt;
|
|
9824
9824
|
function Da(t, e) {
|
|
9825
9825
|
for (var n = 0; n < e.length; n++) {
|
|
9826
9826
|
var l = e[n];
|
|
@@ -9878,19 +9878,19 @@ function Lp() {
|
|
|
9878
9878
|
h(ot, _e, D), h(ot, _e, j, !0);
|
|
9879
9879
|
}
|
|
9880
9880
|
}
|
|
9881
|
-
var yt = l[_e],
|
|
9881
|
+
var yt = l[_e], Dt = ve(yt, function($t) {
|
|
9882
9882
|
return $t.selector === O && $t.context === Q;
|
|
9883
9883
|
});
|
|
9884
|
-
|
|
9884
|
+
Dt || (Dt = { selector: O, context: Q, listeners: [] }, yt.push(Dt)), Dt.listeners.push({ func: He, options: Ze });
|
|
9885
9885
|
}, removeDelegate: function(O, Q, _e, He, je) {
|
|
9886
9886
|
var Ze, ut = Va(je), ot = l[_e], yt = !1;
|
|
9887
9887
|
if (ot)
|
|
9888
9888
|
for (Ze = ot.length - 1; Ze >= 0; Ze--) {
|
|
9889
|
-
var
|
|
9890
|
-
if (
|
|
9891
|
-
for (var $t =
|
|
9892
|
-
var
|
|
9893
|
-
if (
|
|
9889
|
+
var Dt = ot[Ze];
|
|
9890
|
+
if (Dt.selector === O && Dt.context === Q) {
|
|
9891
|
+
for (var $t = Dt.listeners, wt = $t.length - 1; wt >= 0; wt--) {
|
|
9892
|
+
var At = $t[wt];
|
|
9893
|
+
if (At.func === He && vn(At.options, ut)) {
|
|
9894
9894
|
$t.splice(wt, 1), $t.length || (ot.splice(Ze, 1), y(Q, _e, D), y(Q, _e, j, !0)), yt = !0;
|
|
9895
9895
|
break;
|
|
9896
9896
|
}
|
|
@@ -9919,14 +9919,14 @@ function Lp() {
|
|
|
9919
9919
|
if (ot) {
|
|
9920
9920
|
if (_e === "all") {
|
|
9921
9921
|
for (var yt = ot.length - 1; yt >= 0; yt--) {
|
|
9922
|
-
var
|
|
9923
|
-
y(O, Q,
|
|
9922
|
+
var Dt = ot[yt];
|
|
9923
|
+
y(O, Q, Dt.func, Dt.options);
|
|
9924
9924
|
}
|
|
9925
9925
|
return;
|
|
9926
9926
|
}
|
|
9927
9927
|
for (var $t = Va(He), wt = 0; wt < ot.length; wt++) {
|
|
9928
|
-
var
|
|
9929
|
-
if (
|
|
9928
|
+
var At = ot[wt];
|
|
9929
|
+
if (At.func === _e && vn(At.options, $t)) {
|
|
9930
9930
|
O.removeEventListener(Q, _e, d.supportsOptions ? $t : $t.capture), ot.splice(wt, 1), ot.length === 0 && (delete Ze.events[Q], ut = !0);
|
|
9931
9931
|
break;
|
|
9932
9932
|
}
|
|
@@ -9939,12 +9939,12 @@ function Lp() {
|
|
|
9939
9939
|
function D(O, Q) {
|
|
9940
9940
|
for (var _e = Va(Q), He = new hn(O), je = l[O.type], Ze = N(O)[0], ut = Ze; I.element(ut); ) {
|
|
9941
9941
|
for (var ot = 0; ot < je.length; ot++) {
|
|
9942
|
-
var yt = je[ot],
|
|
9943
|
-
if (Be(ut,
|
|
9942
|
+
var yt = je[ot], Dt = yt.selector, $t = yt.context;
|
|
9943
|
+
if (Be(ut, Dt) && be($t, Ze) && be($t, ut)) {
|
|
9944
9944
|
var wt = yt.listeners;
|
|
9945
9945
|
He.currentTarget = ut;
|
|
9946
|
-
for (var
|
|
9947
|
-
var Ca = wt[
|
|
9946
|
+
for (var At = 0; At < wt.length; At++) {
|
|
9947
|
+
var Ca = wt[At];
|
|
9948
9948
|
vn(Ca.options, _e) && Ca.func(He);
|
|
9949
9949
|
}
|
|
9950
9950
|
}
|
|
@@ -10028,7 +10028,7 @@ function Lp() {
|
|
|
10028
10028
|
}
|
|
10029
10029
|
} else {
|
|
10030
10030
|
var je = !1;
|
|
10031
|
-
if (!
|
|
10031
|
+
if (!ae.supportsPointerEvent && /mouse/.test(n.type)) {
|
|
10032
10032
|
for (var Ze = 0; Ze < l.length && !je; Ze++) je = l[Ze].pointerType !== "mouse" && l[Ze].pointerIsDown;
|
|
10033
10033
|
je = je || e.now() - e.prevTouchTime < 500 || n.timeStamp === 0;
|
|
10034
10034
|
}
|
|
@@ -10038,8 +10038,8 @@ function Lp() {
|
|
|
10038
10038
|
}
|
|
10039
10039
|
}
|
|
10040
10040
|
for (var yt = 0; yt < D.length; yt++) {
|
|
10041
|
-
var
|
|
10042
|
-
|
|
10041
|
+
var Dt = D[yt], $t = Dt[0], wt = Dt[1], At = Dt[2];
|
|
10042
|
+
Dt[3][t]($t, n, wt, At);
|
|
10043
10043
|
}
|
|
10044
10044
|
};
|
|
10045
10045
|
}
|
|
@@ -10060,7 +10060,7 @@ function Lp() {
|
|
|
10060
10060
|
var l = cn[n];
|
|
10061
10061
|
e[l] = Ha(l, t);
|
|
10062
10062
|
}
|
|
10063
|
-
var u, d =
|
|
10063
|
+
var u, d = ae.pEventTypes;
|
|
10064
10064
|
function h() {
|
|
10065
10065
|
for (var y = 0, D = t.interactions.list; y < D.length; y++) {
|
|
10066
10066
|
var j = D[y];
|
|
@@ -10162,7 +10162,7 @@ function Lp() {
|
|
|
10162
10162
|
I.object(n) && !I.array(n) && (u = l, l = null);
|
|
10163
10163
|
var h = ke(n, l, d);
|
|
10164
10164
|
for (var y in h) {
|
|
10165
|
-
y === "wheel" && (y =
|
|
10165
|
+
y === "wheel" && (y = ae.wheelEvent);
|
|
10166
10166
|
for (var D = 0, j = h[y]; D < j.length; D++) {
|
|
10167
10167
|
var O = j[D];
|
|
10168
10168
|
xa(y, this._actions) ? this.events[e === wa.On ? "on" : "off"](y, O) : I.string(this.target) ? this._scopeEvents[e === wa.On ? "addDelegate" : "removeDelegate"](this.target, this._context, y, O, u) : this._scopeEvents[e === wa.On ? "add" : "remove"](this.target, y, O, u);
|
|
@@ -10217,7 +10217,7 @@ function Lp() {
|
|
|
10217
10217
|
}(), lo = function() {
|
|
10218
10218
|
function t() {
|
|
10219
10219
|
var e = this;
|
|
10220
|
-
c(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser =
|
|
10220
|
+
c(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser = ae, this.defaults = Ea(jn), this.Eventable = Ta, this.actions = { map: {}, phases: { start: !0, move: !0, end: !0 }, methodDict: {}, phaselessTypes: {} }, this.interactStatic = function(l) {
|
|
10221
10221
|
var u = function d(h, y) {
|
|
10222
10222
|
var D = l.interactables.getExisting(h, y);
|
|
10223
10223
|
return D || ((D = l.interactables.new(h, y)).events.global = d.globalEvents), D;
|
|
@@ -10226,7 +10226,7 @@ function Lp() {
|
|
|
10226
10226
|
return this.scope.usePlugin(d, h), this;
|
|
10227
10227
|
}, u.isSet = function(d, h) {
|
|
10228
10228
|
return !!this.scope.interactables.get(d, h && h.context);
|
|
10229
|
-
}, u.on =
|
|
10229
|
+
}, u.on = gt(function(d, h, y) {
|
|
10230
10230
|
if (I.string(d) && d.search(" ") !== -1 && (d = d.trim().split(/ +/)), I.array(d)) {
|
|
10231
10231
|
for (var D = 0, j = d; D < j.length; D++) {
|
|
10232
10232
|
var O = j[D];
|
|
@@ -10239,7 +10239,7 @@ function Lp() {
|
|
|
10239
10239
|
return this;
|
|
10240
10240
|
}
|
|
10241
10241
|
return xa(d, this.scope.actions) ? this.globalEvents[d] ? this.globalEvents[d].push(h) : this.globalEvents[d] = [h] : this.scope.events.add(this.scope.document, d, h, { options: y }), this;
|
|
10242
|
-
}, "The interact.on() method is being deprecated"), u.off =
|
|
10242
|
+
}, "The interact.on() method is being deprecated"), u.off = gt(function(d, h, y) {
|
|
10243
10243
|
if (I.string(d) && d.search(" ") !== -1 && (d = d.trim().split(/ +/)), I.array(d)) {
|
|
10244
10244
|
for (var D = 0, j = d; D < j.length; D++) {
|
|
10245
10245
|
var O = j[D];
|
|
@@ -10256,9 +10256,9 @@ function Lp() {
|
|
|
10256
10256
|
}, "The interact.off() method is being deprecated"), u.debug = function() {
|
|
10257
10257
|
return this.scope;
|
|
10258
10258
|
}, u.supportsTouch = function() {
|
|
10259
|
-
return
|
|
10259
|
+
return ae.supportsTouch;
|
|
10260
10260
|
}, u.supportsPointerEvent = function() {
|
|
10261
|
-
return
|
|
10261
|
+
return ae.supportsPointerEvent;
|
|
10262
10262
|
}, u.stop = function() {
|
|
10263
10263
|
for (var d = 0, h = this.scope.interactions.list; d < h.length; d++) h[d].stop();
|
|
10264
10264
|
return this;
|
|
@@ -10299,7 +10299,7 @@ function Lp() {
|
|
|
10299
10299
|
}
|
|
10300
10300
|
} }, { key: "init", value: function(e) {
|
|
10301
10301
|
return this.isInitialized ? this : function(n, l) {
|
|
10302
|
-
return n.isInitialized = !0, I.window(l) && w(l), A.init(l),
|
|
10302
|
+
return n.isInitialized = !0, I.window(l) && w(l), A.init(l), ae.init(l), ft.init(l), n.window = l, n.document = l.document, n.usePlugin(fi), n.usePlugin(ci), n;
|
|
10303
10303
|
}(this, e);
|
|
10304
10304
|
} }, { key: "pluginIsInstalled", value: function(e) {
|
|
10305
10305
|
var n = e.id;
|
|
@@ -10372,7 +10372,7 @@ function Lp() {
|
|
|
10372
10372
|
var e = t.state, n = t.rect, l = t.coords, u = e.linkedEdges, d = X({}, l), h = e.equalDelta ? fo : po;
|
|
10373
10373
|
if (X(t.edges, u), h(e, e.xIsPrimaryAxis, l, n), !e.subModification) return null;
|
|
10374
10374
|
var y = X({}, n);
|
|
10375
|
-
|
|
10375
|
+
le(u, y, { x: l.x - d.x, y: l.y - d.y });
|
|
10376
10376
|
var D = e.subModification.setAll(i(i({}, t), {}, { rect: y, edges: u, pageCoords: l, prevCoords: l, prevRect: y })), j = D.delta;
|
|
10377
10377
|
return D.changed && (h(e, Math.abs(j.x) > Math.abs(j.y), D.coords, D.rect), X(l, D.coords)), D.eventProps;
|
|
10378
10378
|
}, defaults: { ratio: "preserve", equalDelta: !1, modifiers: [], enabled: !1 } };
|
|
@@ -10441,10 +10441,10 @@ function Lp() {
|
|
|
10441
10441
|
}, set: function(t) {
|
|
10442
10442
|
var e = t.interaction, n = t.state, l = t.rect, u = t.edges, d = n.options;
|
|
10443
10443
|
if (u) {
|
|
10444
|
-
var h =
|
|
10444
|
+
var h = te(mn(d.min, e, t.coords)) || bo, y = te(mn(d.max, e, t.coords)) || ko;
|
|
10445
10445
|
n.options = { endOnly: d.endOnly, inner: X({}, Vn.noInner), outer: X({}, Vn.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), Vn.set(t), n.options = d;
|
|
10446
10446
|
}
|
|
10447
|
-
}, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"),
|
|
10447
|
+
}, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), ji = { start: function(t) {
|
|
10448
10448
|
var e, n = t.interaction, l = t.interactable, u = t.element, d = t.rect, h = t.state, y = t.startOffset, D = h.options, j = D.offsetWithOrigin ? function(_e) {
|
|
10449
10449
|
var He = _e.interaction.element, je = it(pt(_e.state.options.origin, null, null, [He])), Ze = je || Te(_e.interactable, He, _e.interaction.prepared.name);
|
|
10450
10450
|
return Ze;
|
|
@@ -10465,15 +10465,15 @@ function Lp() {
|
|
|
10465
10465
|
var ut = u.targets[je], ot = void 0;
|
|
10466
10466
|
(ot = I.func(ut) ? ut(_e, He, e._proxy, Q, je) : ut) && D.push({ x: (I.number(ot.x) ? ot.x : _e) + Q.x, y: (I.number(ot.y) ? ot.y : He) + Q.y, range: I.number(ot.range) ? ot.range : u.range, source: ut, index: je, offset: Q });
|
|
10467
10467
|
}
|
|
10468
|
-
for (var yt = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } },
|
|
10469
|
-
var $t = D[
|
|
10470
|
-
wt === 1 / 0 && yt.inRange && yt.range !== 1 / 0 && (za = !1), yt.target && !(za ? yt.inRange && wt !== 1 / 0 ?
|
|
10468
|
+
for (var yt = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, Dt = 0; Dt < D.length; Dt++) {
|
|
10469
|
+
var $t = D[Dt], wt = $t.range, At = $t.x - y.x, Ca = $t.y - y.y, ia = nt(At, Ca), za = ia <= wt;
|
|
10470
|
+
wt === 1 / 0 && yt.inRange && yt.range !== 1 / 0 && (za = !1), yt.target && !(za ? yt.inRange && wt !== 1 / 0 ? ia / wt < yt.distance / yt.range : wt === 1 / 0 && yt.range !== 1 / 0 || ia < yt.distance : !yt.inRange && ia < yt.distance) || (yt.target = $t, yt.distance = ia, yt.range = wt, yt.inRange = za, yt.delta.x = At, yt.delta.y = Ca);
|
|
10471
10471
|
}
|
|
10472
10472
|
return yt.inRange && (n.x = yt.target.x, n.y = yt.target.y), l.closest = yt, yt;
|
|
10473
|
-
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, wo = ua(
|
|
10473
|
+
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, wo = ua(ji, "snap"), vi = { start: function(t) {
|
|
10474
10474
|
var e = t.state, n = t.edges, l = e.options;
|
|
10475
10475
|
if (!n) return null;
|
|
10476
|
-
t.state = { options: { targets: null, relativePoints: [{ x: n.left ? 0 : 1, y: n.top ? 0 : 1 }], offset: l.offset || "self", origin: { x: 0, y: 0 }, range: l.range } }, e.targetFields = e.targetFields || [["width", "height"], ["x", "y"]],
|
|
10476
|
+
t.state = { options: { targets: null, relativePoints: [{ x: n.left ? 0 : 1, y: n.top ? 0 : 1 }], offset: l.offset || "self", origin: { x: 0, y: 0 }, range: l.range } }, e.targetFields = e.targetFields || [["width", "height"], ["x", "y"]], ji.start(t), e.offsets = t.state.offsets, t.state = e;
|
|
10477
10477
|
}, set: function(t) {
|
|
10478
10478
|
var e = t.interaction, n = t.state, l = t.coords, u = n.options, d = n.offsets, h = { x: l.x - d[0].x, y: l.y - d[0].y };
|
|
10479
10479
|
n.options = X({}, u), n.options.targets = [];
|
|
@@ -10490,15 +10490,15 @@ function Lp() {
|
|
|
10490
10490
|
n.options.targets.push(O);
|
|
10491
10491
|
}
|
|
10492
10492
|
}
|
|
10493
|
-
var ut =
|
|
10493
|
+
var ut = ji.set(t);
|
|
10494
10494
|
return n.options = u, ut;
|
|
10495
|
-
}, defaults: { range: 1 / 0, targets: null, offset: null, endOnly: !1, enabled: !1 } }, _o = ua(vi, "snapSize"),
|
|
10495
|
+
}, defaults: { range: 1 / 0, targets: null, offset: null, endOnly: !1, enabled: !1 } }, _o = ua(vi, "snapSize"), Ui = { aspectRatio: ho, restrictEdges: go, restrict: vo, restrictRect: mo, restrictSize: xo, snapEdges: ua({ start: function(t) {
|
|
10496
10496
|
var e = t.edges;
|
|
10497
10497
|
return e ? (t.state.targetFields = t.state.targetFields || [[e.left ? "left" : "right", e.top ? "top" : "bottom"]], vi.start(t)) : null;
|
|
10498
10498
|
}, set: vi.set, defaults: X(Ea(vi.defaults), { targets: void 0, range: void 0, offset: { x: 0, y: 0 } }) }, "snapEdges"), snap: wo, snapSize: _o, spring: pi, avoid: pi, transform: pi, rubberband: pi }, Co = { id: "modifiers", install: function(t) {
|
|
10499
10499
|
var e = t.interactStatic;
|
|
10500
|
-
for (var n in t.usePlugin(Fn), t.usePlugin(uo), e.modifiers =
|
|
10501
|
-
var l =
|
|
10500
|
+
for (var n in t.usePlugin(Fn), t.usePlugin(uo), e.modifiers = Ui, Ui) {
|
|
10501
|
+
var l = Ui[n], u = l._defaults, d = l._methods;
|
|
10502
10502
|
u._methods = d, t.defaults.perAction[n] = u;
|
|
10503
10503
|
}
|
|
10504
10504
|
} }, So = Co, gl = function(t) {
|
|
@@ -10533,7 +10533,7 @@ function Lp() {
|
|
|
10533
10533
|
!e && n.hold || (n.hold = { duration: 1 / 0, timeout: null });
|
|
10534
10534
|
}, "interactions:move": function(t, e) {
|
|
10535
10535
|
var n = t.interaction, l = t.pointer, u = t.event, d = t.eventTarget;
|
|
10536
|
-
t.duplicate || n.pointerIsDown && !n.pointerWasMoved || (n.pointerIsDown &&
|
|
10536
|
+
t.duplicate || n.pointerIsDown && !n.pointerWasMoved || (n.pointerIsDown && Ki(t), dn({ interaction: n, pointer: l, event: u, eventTarget: d, type: "move" }, e));
|
|
10537
10537
|
}, "interactions:down": function(t, e) {
|
|
10538
10538
|
(function(n, l) {
|
|
10539
10539
|
for (var u = n.interaction, d = n.pointer, h = n.event, y = n.eventTarget, D = n.pointerIndex, j = u.pointers[D].hold, O = Ve(y), Q = { interaction: u, pointer: d, event: h, eventTarget: y, type: "hold", targets: [], path: O, node: null }, _e = 0; _e < O.length; _e++) {
|
|
@@ -10551,12 +10551,12 @@ function Lp() {
|
|
|
10551
10551
|
}
|
|
10552
10552
|
})(t, e), dn(t, e);
|
|
10553
10553
|
}, "interactions:up": function(t, e) {
|
|
10554
|
-
|
|
10554
|
+
Ki(t), dn(t, e), function(n, l) {
|
|
10555
10555
|
var u = n.interaction, d = n.pointer, h = n.event, y = n.eventTarget;
|
|
10556
10556
|
u.pointerWasMoved || dn({ interaction: u, eventTarget: y, pointer: d, event: h, type: "tap" }, l);
|
|
10557
10557
|
}(t, e);
|
|
10558
10558
|
}, "interactions:cancel": function(t, e) {
|
|
10559
|
-
|
|
10559
|
+
Ki(t), dn(t, e);
|
|
10560
10560
|
} }, PointerEvent: gl, fire: dn, collectEventTargets: yl, defaults: { holdDuration: 600, ignoreFrom: null, allowFrom: null, origin: { x: 0, y: 0 } }, types: { down: !0, move: !0, up: !0, cancel: !0, tap: !0, doubletap: !0, hold: !0 } };
|
|
10561
10561
|
function dn(t, e) {
|
|
10562
10562
|
var n = t.interaction, l = t.pointer, u = t.event, d = t.eventTarget, h = t.type, y = t.targets, D = y === void 0 ? yl(t, e) : y, j = new gl(h, l, u, d, n, e.now());
|
|
@@ -10585,7 +10585,7 @@ function Lp() {
|
|
|
10585
10585
|
return He.eventable.options.holdDuration === ((je = n.pointers[y]) == null || (Ze = je.hold) == null ? void 0 : Ze.duration);
|
|
10586
10586
|
})), O.targets;
|
|
10587
10587
|
}
|
|
10588
|
-
function
|
|
10588
|
+
function Ki(t) {
|
|
10589
10589
|
var e = t.interaction, n = t.pointerIndex, l = e.pointers[n].hold;
|
|
10590
10590
|
l && l.timeout && (clearTimeout(l.timeout), l.timeout = null);
|
|
10591
10591
|
}
|
|
@@ -10651,7 +10651,7 @@ function Lp() {
|
|
|
10651
10651
|
je._reflowResolve = ot;
|
|
10652
10652
|
}));
|
|
10653
10653
|
else {
|
|
10654
|
-
var Ze =
|
|
10654
|
+
var Ze = te(_e), ut = /* @__PURE__ */ function(ot) {
|
|
10655
10655
|
return { coords: ot, get page() {
|
|
10656
10656
|
return this.coords.page;
|
|
10657
10657
|
}, get client() {
|
|
@@ -10679,13 +10679,13 @@ function Lp() {
|
|
|
10679
10679
|
}, preventDefault: function() {
|
|
10680
10680
|
} };
|
|
10681
10681
|
}({ page: { x: Ze.x, y: Ze.y }, client: { x: Ze.x, y: Ze.y }, timeStamp: d.now() });
|
|
10682
|
-
He = function(ot, yt,
|
|
10683
|
-
var
|
|
10684
|
-
|
|
10685
|
-
var
|
|
10686
|
-
|
|
10682
|
+
He = function(ot, yt, Dt, $t, wt) {
|
|
10683
|
+
var At = ot.interactions.new({ pointerType: "reflow" }), Ca = { interaction: At, event: wt, pointer: wt, eventTarget: Dt, phase: "reflow" };
|
|
10684
|
+
At.interactable = yt, At.element = Dt, At.prevEvent = wt, At.updatePointer(wt, wt, Dt, !0), L(At.coords.delta), Ct(At.prepared, $t), At._doPhase(Ca);
|
|
10685
|
+
var ia = ot.window, za = ia.Promise, qa = za ? new za(function(nn) {
|
|
10686
|
+
At._reflowResolve = nn;
|
|
10687
10687
|
}) : void 0;
|
|
10688
|
-
return
|
|
10688
|
+
return At._reflowPromise = qa, At.start($t, yt, Dt), At._interacting ? (At.move(Ca), At.end(wt)) : (At.stop(), At._reflowResolve()), At.removePointer(wt, wt), qa;
|
|
10689
10689
|
}(d, l, Q, u, ut);
|
|
10690
10690
|
}
|
|
10691
10691
|
D && D.push(He);
|
|
@@ -10701,7 +10701,7 @@ function Lp() {
|
|
|
10701
10701
|
l.splice(l.indexOf(u), 1);
|
|
10702
10702
|
}(e.interactions.list, n));
|
|
10703
10703
|
} } }, $o = Bo;
|
|
10704
|
-
if (_a.use(Kt), _a.use(
|
|
10704
|
+
if (_a.use(Kt), _a.use(ra), _a.use(Po), _a.use(ta), _a.use(So), _a.use(ha), _a.use(_t), _a.use(Et), _a.use($o), _a.default = _a, s(a) === "object" && a) try {
|
|
10705
10705
|
a.exports = _a;
|
|
10706
10706
|
} catch {
|
|
10707
10707
|
}
|
|
@@ -10788,10 +10788,10 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10788
10788
|
function A(C) {
|
|
10789
10789
|
f.transformScale = C;
|
|
10790
10790
|
}
|
|
10791
|
-
function
|
|
10791
|
+
function ie(C) {
|
|
10792
10792
|
f.rowHeight = C;
|
|
10793
10793
|
}
|
|
10794
|
-
function
|
|
10794
|
+
function ae(C) {
|
|
10795
10795
|
f.maxRows = C;
|
|
10796
10796
|
}
|
|
10797
10797
|
function be() {
|
|
@@ -10805,9 +10805,9 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10805
10805
|
}), Tn(() => {
|
|
10806
10806
|
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, Pa(i.isDraggable) ? f.draggable = c.isDraggable : f.draggable = i.isDraggable, Pa(i.isResizable) ? f.resizable = c.isResizable : f.resizable = i.isResizable, Pa(i.isBounded) ? f.bounded = c.isBounded : f.bounded = i.isBounded, f.transformScale = c.transformScale, f.useCssTransforms = c.useCssTransforms, f.useStyleCursor = c.useStyleCursor, qo(() => {
|
|
10807
10807
|
w = i.x, M = i.y, z = i.h, b = i.w, Sa(Se);
|
|
10808
|
-
}), m.on("updateWidth", Ue), m.on("compact", st), m.on("setDraggable", $e), m.on("setResizable", Ge), m.on("setBounded", Ce), m.on("setTransformScale", A), m.on("setRowHeight",
|
|
10808
|
+
}), m.on("updateWidth", Ue), m.on("compact", st), m.on("setDraggable", $e), m.on("setResizable", Ge), m.on("setBounded", Ce), m.on("setTransformScale", A), m.on("setRowHeight", ie), m.on("setMaxRows", ae), m.on("directionchange", be), m.on("setColNum", qe);
|
|
10809
10809
|
}), fr(() => {
|
|
10810
|
-
m.off("updateWidth", Ue), m.off("compact", st), m.off("setDraggable", $e), m.off("setResizable", Ge), m.off("setBounded", Ce), m.off("setTransformScale", A), m.off("setRowHeight",
|
|
10810
|
+
m.off("updateWidth", Ue), m.off("compact", st), m.off("setDraggable", $e), m.off("setResizable", Ge), m.off("setBounded", Ce), m.off("setTransformScale", A), m.off("setRowHeight", ie), m.off("setMaxRows", ae), m.off("directionchange", be), m.off("setColNum", qe), p.value && (p.value.unset(), p.value = null), c.decreaseItem(ce);
|
|
10811
10811
|
}), r({ state: f, wrapper: I });
|
|
10812
10812
|
const ct = typeof navigator < "u" ? navigator.userAgent.toLowerCase().includes("android") : !1, Be = qt(() => f.resizable && !i.static), E = qt(() => c.isMirrored ? !f.rtl : f.rtl), Oe = qt(() => (f.draggable || f.resizable) && !i.static), se = Ap("item"), Le = qt(() => ({
|
|
10813
10813
|
[se.b()]: !0,
|
|
@@ -10888,25 +10888,25 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10888
10888
|
return;
|
|
10889
10889
|
const oe = Kl(C);
|
|
10890
10890
|
if (Pa(oe)) return;
|
|
10891
|
-
const { x: V, y: K } = oe,
|
|
10891
|
+
const { x: V, y: K } = oe, ne = { width: 0, height: 0 };
|
|
10892
10892
|
let Z;
|
|
10893
10893
|
switch (P) {
|
|
10894
10894
|
case "resizestart": {
|
|
10895
|
-
L(), Ee = b, G = z, Z = at(w, M, b, z),
|
|
10895
|
+
L(), Ee = b, G = z, Z = at(w, M, b, z), ne.width = Z.width, ne.height = Z.height, f.resizing = ne, f.isResizing = !0;
|
|
10896
10896
|
break;
|
|
10897
10897
|
}
|
|
10898
10898
|
case "resizemove": {
|
|
10899
10899
|
!C.edges.right && !C.edges.left && (B = V), !C.edges.top && !C.edges.bottom && (W = K);
|
|
10900
10900
|
const pe = Nl(B, W, V, K);
|
|
10901
|
-
E.value ?
|
|
10901
|
+
E.value ? ne.width = f.resizing.width - pe.deltaX / f.transformScale : ne.width = f.resizing.width + pe.deltaX / f.transformScale, ne.height = f.resizing.height + pe.deltaY / f.transformScale, f.resizing = ne;
|
|
10902
10902
|
break;
|
|
10903
10903
|
}
|
|
10904
10904
|
case "resizeend": {
|
|
10905
|
-
Z = at(w, M, b, z),
|
|
10905
|
+
Z = at(w, M, b, z), ne.width = Z.width, ne.height = Z.height, f.resizing = { width: -1, height: -1 }, f.isResizing = !1;
|
|
10906
10906
|
break;
|
|
10907
10907
|
}
|
|
10908
10908
|
}
|
|
10909
|
-
Z = Te(
|
|
10909
|
+
Z = Te(ne.height, ne.width), Z.w < i.minW && (Z.w = i.minW), Z.w > i.maxW && (Z.w = i.maxW), Z.h < i.minH && (Z.h = i.minH), Z.h > i.maxH && (Z.h = i.maxH), Z.h < 1 && (Z.h = 1), Z.w < 1 && (Z.w = 1), B = V, W = K, (b !== Z.w || z !== Z.h) && s("resize", i.i, Z.h, Z.w, ne.height, ne.width), C.type === "resizeend" && (Ee !== b || G !== z) && s("resized", i.i, Z.h, Z.w, ne.height, ne.width), m.emit("resizeEvent", C.type, i.i, w, M, Z.h, Z.w);
|
|
10910
10910
|
}
|
|
10911
10911
|
function X(C) {
|
|
10912
10912
|
if (i.static || f.isResizing) return;
|
|
@@ -10915,29 +10915,29 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10915
10915
|
return;
|
|
10916
10916
|
const oe = Kl(C);
|
|
10917
10917
|
if (Pa(oe)) return;
|
|
10918
|
-
const { x: V, y: K } = oe,
|
|
10919
|
-
if (!
|
|
10918
|
+
const { x: V, y: K } = oe, ne = C.target;
|
|
10919
|
+
if (!ne.offsetParent) return;
|
|
10920
10920
|
const Z = { top: 0, left: 0 };
|
|
10921
10921
|
switch (P) {
|
|
10922
10922
|
case "dragstart": {
|
|
10923
10923
|
U = w, de = M;
|
|
10924
|
-
const he =
|
|
10924
|
+
const he = ne.offsetParent.getBoundingClientRect(), H = ne.getBoundingClientRect(), ye = H.left / f.transformScale, N = he.left / f.transformScale, Me = H.right / f.transformScale, Ie = he.right / f.transformScale, me = H.top / f.transformScale, R = he.top / f.transformScale;
|
|
10925
10925
|
E.value ? Z.left = (Me - Ie) * -1 : Z.left = ye - N, Z.top = me - R, f.dragging = Z, f.isDragging = !0;
|
|
10926
10926
|
break;
|
|
10927
10927
|
}
|
|
10928
10928
|
case "dragmove": {
|
|
10929
10929
|
const he = Nl(T, $, V, K);
|
|
10930
10930
|
if (E.value ? Z.left = f.dragging.left - he.deltaX / f.transformScale : Z.left = f.dragging.left + he.deltaX / f.transformScale, Z.top = f.dragging.top + he.deltaY / f.transformScale, f.bounded) {
|
|
10931
|
-
const H =
|
|
10932
|
-
Z.top =
|
|
10933
|
-
const ye = it(), N = f.containerWidth -
|
|
10934
|
-
Z.left =
|
|
10931
|
+
const H = ne.offsetParent.clientHeight - te(i.h, f.rowHeight, f.margin[1]);
|
|
10932
|
+
Z.top = le(Z.top, 0, H);
|
|
10933
|
+
const ye = it(), N = f.containerWidth - te(i.w, ye, f.margin[0]);
|
|
10934
|
+
Z.left = le(Z.left, 0, N);
|
|
10935
10935
|
}
|
|
10936
10936
|
f.dragging = Z;
|
|
10937
10937
|
break;
|
|
10938
10938
|
}
|
|
10939
10939
|
case "dragend": {
|
|
10940
|
-
const he =
|
|
10940
|
+
const he = ne.offsetParent.getBoundingClientRect(), H = ne.getBoundingClientRect(), ye = H.left / f.transformScale, N = he.left / f.transformScale, Me = H.right / f.transformScale, Ie = he.right / f.transformScale, me = H.top / f.transformScale, R = he.top / f.transformScale;
|
|
10941
10941
|
E.value ? Z.left = (Me - Ie) * -1 : Z.left = ye - N, Z.top = me - R, f.dragging = { top: -1, left: -1 }, f.isDragging = !1;
|
|
10942
10942
|
break;
|
|
10943
10943
|
}
|
|
@@ -10947,8 +10947,8 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10947
10947
|
}
|
|
10948
10948
|
function at(C, P, oe, V) {
|
|
10949
10949
|
const K = it();
|
|
10950
|
-
let
|
|
10951
|
-
return E.value ?
|
|
10950
|
+
let ne;
|
|
10951
|
+
return E.value ? ne = {
|
|
10952
10952
|
right: Math.round(K * C + (C + 1) * f.margin[0]),
|
|
10953
10953
|
top: Math.round(f.rowHeight * P + (P + 1) * f.margin[1]),
|
|
10954
10954
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
@@ -10956,7 +10956,7 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10956
10956
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
10957
10957
|
width: oe === 1 / 0 ? oe : Math.round(K * oe + Math.max(0, oe - 1) * f.margin[0]),
|
|
10958
10958
|
height: V === 1 / 0 ? V : Math.round(f.rowHeight * V + Math.max(0, V - 1) * f.margin[1])
|
|
10959
|
-
} :
|
|
10959
|
+
} : ne = {
|
|
10960
10960
|
left: Math.round(K * C + (C + 1) * f.margin[0]),
|
|
10961
10961
|
top: Math.round(f.rowHeight * P + (P + 1) * f.margin[1]),
|
|
10962
10962
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
@@ -10964,7 +10964,7 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10964
10964
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
10965
10965
|
width: oe === 1 / 0 ? oe : Math.round(K * oe + Math.max(0, oe - 1) * f.margin[0]),
|
|
10966
10966
|
height: V === 1 / 0 ? V : Math.round(f.rowHeight * V + Math.max(0, V - 1) * f.margin[1])
|
|
10967
|
-
},
|
|
10967
|
+
}, ne;
|
|
10968
10968
|
}
|
|
10969
10969
|
function pt(C, P) {
|
|
10970
10970
|
const oe = it();
|
|
@@ -10974,16 +10974,16 @@ const Hl = /* @__PURE__ */ bs(Fp), il = /* @__PURE__ */ ka({
|
|
|
10974
10974
|
function it() {
|
|
10975
10975
|
return (f.containerWidth - f.margin[0] * (f.cols + 1)) / f.cols;
|
|
10976
10976
|
}
|
|
10977
|
-
function
|
|
10977
|
+
function te(C, P, oe) {
|
|
10978
10978
|
return Number.isFinite(C) ? Math.round(P * C + Math.max(0, C - 1) * oe) : C;
|
|
10979
10979
|
}
|
|
10980
|
-
function
|
|
10980
|
+
function le(C, P, oe) {
|
|
10981
10981
|
return Math.max(Math.min(C, oe), P);
|
|
10982
10982
|
}
|
|
10983
10983
|
function Te(C, P, oe = !1) {
|
|
10984
10984
|
const V = it();
|
|
10985
|
-
let K = Math.round((P + f.margin[0]) / (V + f.margin[0])),
|
|
10986
|
-
return oe ?
|
|
10985
|
+
let K = Math.round((P + f.margin[0]) / (V + f.margin[0])), ne = 0;
|
|
10986
|
+
return oe ? ne = Math.ceil((C + f.margin[1]) / (f.rowHeight + f.margin[1])) : ne = Math.round((C + f.margin[1]) / (f.rowHeight + f.margin[1])), K = Math.max(Math.min(K, f.cols - w), 0), ne = Math.max(Math.min(ne, f.maxRows - M), 0), { w: K, h: ne };
|
|
10987
10987
|
}
|
|
10988
10988
|
function ke(C, P) {
|
|
10989
10989
|
f.containerWidth = C;
|
|
@@ -11277,18 +11277,18 @@ const qp = [
|
|
|
11277
11277
|
"MSFullscreenError"
|
|
11278
11278
|
]
|
|
11279
11279
|
];
|
|
11280
|
-
let
|
|
11280
|
+
let Ti;
|
|
11281
11281
|
if (An) {
|
|
11282
11282
|
for (const a of qp)
|
|
11283
11283
|
if (a[1] in document) {
|
|
11284
|
-
|
|
11284
|
+
Ti = a;
|
|
11285
11285
|
break;
|
|
11286
11286
|
}
|
|
11287
11287
|
}
|
|
11288
11288
|
qt(() => !1);
|
|
11289
11289
|
const Gp = /* @__PURE__ */ new Set(), Xp = /* @__PURE__ */ new WeakMap();
|
|
11290
|
-
if (An &&
|
|
11291
|
-
const a =
|
|
11290
|
+
if (An && Ti) {
|
|
11291
|
+
const a = Ti[2], r = Ti[4];
|
|
11292
11292
|
document.addEventListener(
|
|
11293
11293
|
r,
|
|
11294
11294
|
() => {
|
|
@@ -11441,26 +11441,26 @@ var Cn = function(a) {
|
|
|
11441
11441
|
for (er(a); Yp(); )
|
|
11442
11442
|
a = ih(), er(a);
|
|
11443
11443
|
return Jp() && Zp(), a > 0;
|
|
11444
|
-
},
|
|
11444
|
+
}, Hi, to = [], rh = function() {
|
|
11445
11445
|
return to.splice(0).forEach(function(a) {
|
|
11446
11446
|
return a();
|
|
11447
11447
|
});
|
|
11448
11448
|
}, oh = function(a) {
|
|
11449
|
-
if (!
|
|
11449
|
+
if (!Hi) {
|
|
11450
11450
|
var r = 0, o = document.createTextNode(""), i = { characterData: !0 };
|
|
11451
11451
|
new MutationObserver(function() {
|
|
11452
11452
|
return rh();
|
|
11453
|
-
}).observe(o, i),
|
|
11453
|
+
}).observe(o, i), Hi = function() {
|
|
11454
11454
|
o.textContent = "".concat(r ? r-- : r++);
|
|
11455
11455
|
};
|
|
11456
11456
|
}
|
|
11457
|
-
to.push(a),
|
|
11457
|
+
to.push(a), Hi();
|
|
11458
11458
|
}, sh = function(a) {
|
|
11459
11459
|
oh(function() {
|
|
11460
11460
|
requestAnimationFrame(a);
|
|
11461
11461
|
});
|
|
11462
|
-
},
|
|
11463
|
-
return !!
|
|
11462
|
+
}, Ii = 0, uh = function() {
|
|
11463
|
+
return !!Ii;
|
|
11464
11464
|
}, ch = 250, dh = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, tr = [
|
|
11465
11465
|
"resize",
|
|
11466
11466
|
"load",
|
|
@@ -11478,7 +11478,7 @@ var Cn = function(a) {
|
|
|
11478
11478
|
"focus"
|
|
11479
11479
|
], ar = function(a) {
|
|
11480
11480
|
return a === void 0 && (a = 0), Date.now() + a;
|
|
11481
|
-
},
|
|
11481
|
+
}, qi = !1, fh = function() {
|
|
11482
11482
|
function a() {
|
|
11483
11483
|
var r = this;
|
|
11484
11484
|
this.stopped = !0, this.listener = function() {
|
|
@@ -11487,15 +11487,15 @@ var Cn = function(a) {
|
|
|
11487
11487
|
}
|
|
11488
11488
|
return a.prototype.run = function(r) {
|
|
11489
11489
|
var o = this;
|
|
11490
|
-
if (r === void 0 && (r = ch), !
|
|
11491
|
-
|
|
11490
|
+
if (r === void 0 && (r = ch), !qi) {
|
|
11491
|
+
qi = !0;
|
|
11492
11492
|
var i = ar(r);
|
|
11493
11493
|
sh(function() {
|
|
11494
11494
|
var s = !1;
|
|
11495
11495
|
try {
|
|
11496
11496
|
s = lh();
|
|
11497
11497
|
} finally {
|
|
11498
|
-
if (
|
|
11498
|
+
if (qi = !1, r = i - ar(), !uh())
|
|
11499
11499
|
return;
|
|
11500
11500
|
s ? o.run(1e3) : r > 0 ? o.run(r) : o.start();
|
|
11501
11501
|
}
|
|
@@ -11520,7 +11520,7 @@ var Cn = function(a) {
|
|
|
11520
11520
|
}), this.stopped = !0);
|
|
11521
11521
|
}, a;
|
|
11522
11522
|
}(), ll = new fh(), nr = function(a) {
|
|
11523
|
-
!
|
|
11523
|
+
!Ii && a > 0 && ll.start(), Ii += a, !Ii && ll.stop();
|
|
11524
11524
|
}, ph = function(a) {
|
|
11525
11525
|
return !ul(a) && !eh(a) && getComputedStyle(a).display === "inline";
|
|
11526
11526
|
}, hh = function() {
|
|
@@ -11588,11 +11588,11 @@ var Cn = function(a) {
|
|
|
11588
11588
|
return "function ResizeObserver () { [polyfill code] }";
|
|
11589
11589
|
}, a;
|
|
11590
11590
|
}();
|
|
11591
|
-
const
|
|
11591
|
+
const $i = /* @__PURE__ */ new WeakMap();
|
|
11592
11592
|
function yh(a) {
|
|
11593
11593
|
var r;
|
|
11594
11594
|
for (let o = 0, i = a.length; o < i; ++o) {
|
|
11595
|
-
const s = a[o], c =
|
|
11595
|
+
const s = a[o], c = $i.get(s.target);
|
|
11596
11596
|
if (typeof c == "function") {
|
|
11597
11597
|
const { inlineSize: m, blockSize: p } = ((r = s.borderBoxSize) == null ? void 0 : r[0]) ?? {}, { offsetWidth: f, offsetHeight: _ } = s.target;
|
|
11598
11598
|
c(
|
|
@@ -11610,10 +11610,10 @@ const ao = new (An && window.ResizeObserver || gh)(
|
|
|
11610
11610
|
yh
|
|
11611
11611
|
);
|
|
11612
11612
|
function lr(a, r) {
|
|
11613
|
-
|
|
11613
|
+
$i.set(a, r), ao.observe(a);
|
|
11614
11614
|
}
|
|
11615
11615
|
function rr(a) {
|
|
11616
|
-
|
|
11616
|
+
$i.has(a) && (ao.unobserve(a), $i.delete(a));
|
|
11617
11617
|
}
|
|
11618
11618
|
function mh(a = {}) {
|
|
11619
11619
|
let r = Xl;
|
|
@@ -11642,16 +11642,16 @@ function mh(a = {}) {
|
|
|
11642
11642
|
}
|
|
11643
11643
|
const bh = fe(!1);
|
|
11644
11644
|
qt(() => bh.value);
|
|
11645
|
-
const or = "__theme_style__",
|
|
11645
|
+
const or = "__theme_style__", Gi = "__theme_observer__", sr = ja(/* @__PURE__ */ new Map()), ur = /* @__PURE__ */ new Map();
|
|
11646
11646
|
kt(sr, () => {
|
|
11647
11647
|
if (!An) return;
|
|
11648
11648
|
ur.clear();
|
|
11649
11649
|
const a = document.head.querySelector(`#${or}`);
|
|
11650
11650
|
a && document.head.removeChild(a);
|
|
11651
11651
|
const r = document.createElement("style");
|
|
11652
|
-
let o = `.${
|
|
11652
|
+
let o = `.${Gi} { width: 1px }`, i = 1;
|
|
11653
11653
|
for (const [s, [c, m]] of sr.entries())
|
|
11654
|
-
o += ` html.${c} .${
|
|
11654
|
+
o += ` html.${c} .${Gi}, .${m} .${Gi} { width: ${++i}px }`, ur.set(i, s);
|
|
11655
11655
|
r.textContent = o, r.id = or, document.head.appendChild(r);
|
|
11656
11656
|
});
|
|
11657
11657
|
const kh = /* @__PURE__ */ ka({
|
|
@@ -11717,11 +11717,11 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11717
11717
|
}), fr(() => {
|
|
11718
11718
|
T.clearAll(), f.value && S(f.value);
|
|
11719
11719
|
});
|
|
11720
|
-
function $($e, Ge, Ce, A,
|
|
11721
|
-
I($e, Ge, Ce, A,
|
|
11720
|
+
function $($e, Ge, Ce, A, ie, ae) {
|
|
11721
|
+
I($e, Ge, Ce, A, ie, ae);
|
|
11722
11722
|
}
|
|
11723
|
-
function B($e, Ge, Ce, A,
|
|
11724
|
-
z($e, Ge, Ce, A,
|
|
11723
|
+
function B($e, Ge, Ce, A, ie, ae) {
|
|
11724
|
+
z($e, Ge, Ce, A, ie, ae);
|
|
11725
11725
|
}
|
|
11726
11726
|
kt(
|
|
11727
11727
|
() => c.width,
|
|
@@ -11825,7 +11825,7 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11825
11825
|
return xp(p.value) * (i.rowHeight + $e) + $e + "px";
|
|
11826
11826
|
}
|
|
11827
11827
|
let b;
|
|
11828
|
-
function z($e, Ge, Ce, A,
|
|
11828
|
+
function z($e, Ge, Ce, A, ie, ae) {
|
|
11829
11829
|
let be = jl(p.value, Ge);
|
|
11830
11830
|
Pa(be) && (be = { h: 0, w: 0, x: 0, y: 0, i: "" }), $e === "dragstart" && !i.verticalCompact && (b = p.value.reduce(
|
|
11831
11831
|
(qe, { i: ct, x: Be, y: E }) => ({
|
|
@@ -11833,18 +11833,18 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11833
11833
|
[ct]: { x: Be, y: E }
|
|
11834
11834
|
}),
|
|
11835
11835
|
{}
|
|
11836
|
-
)), $e === "dragmove" || $e === "dragstart" ? (c.placeholder.i = Ge, c.placeholder.x = be.x, c.placeholder.y = be.y, c.placeholder.w =
|
|
11836
|
+
)), $e === "dragmove" || $e === "dragstart" ? (c.placeholder.i = Ge, c.placeholder.x = be.x, c.placeholder.y = be.y, c.placeholder.w = ae, c.placeholder.h = ie, Xa(() => {
|
|
11837
11837
|
c.isDragging = !0;
|
|
11838
11838
|
}), T.emit("updateWidth", c.width)) : Xa(() => {
|
|
11839
11839
|
c.isDragging = !1;
|
|
11840
11840
|
}), p.value = nl(p.value, be, Ce, A, !0, i.preventCollision), i.restoreOnDrag ? (be.static = !0, Bn(p.value, i.verticalCompact, b), be.static = !1) : Bn(p.value, i.verticalCompact), T.emit("compact"), de(), $e === "dragend" && (b = void 0, s("layout-updated", p.value));
|
|
11841
11841
|
}
|
|
11842
|
-
function I($e, Ge, Ce, A,
|
|
11842
|
+
function I($e, Ge, Ce, A, ie, ae) {
|
|
11843
11843
|
let be = jl(p.value, Ge);
|
|
11844
11844
|
Pa(be) && (be = { h: 0, w: 0, x: 0, y: 0, i: "" });
|
|
11845
11845
|
let qe;
|
|
11846
11846
|
if (i.preventCollision) {
|
|
11847
|
-
const ct = Wr(p.value, { ...be, w:
|
|
11847
|
+
const ct = Wr(p.value, { ...be, w: ae, h: ie }).filter(
|
|
11848
11848
|
(Be) => Be.i !== be.i
|
|
11849
11849
|
);
|
|
11850
11850
|
if (qe = ct.length > 0, qe) {
|
|
@@ -11854,7 +11854,7 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11854
11854
|
}), Number.isFinite(Be) && (be.w = Be - be.x), Number.isFinite(E) && (be.h = E - be.y);
|
|
11855
11855
|
}
|
|
11856
11856
|
}
|
|
11857
|
-
qe || (be.w =
|
|
11857
|
+
qe || (be.w = ae, be.h = ie), $e === "resizestart" || $e === "resizemove" ? (c.placeholder.i = Ge, c.placeholder.x = Ce, c.placeholder.y = A, c.placeholder.w = be.w, c.placeholder.h = be.h, Xa(() => {
|
|
11858
11858
|
c.isDragging = !0;
|
|
11859
11859
|
}), T.emit("updateWidth", c.width)) : $e && Xa(() => {
|
|
11860
11860
|
c.isDragging = !1;
|
|
@@ -11881,8 +11881,8 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11881
11881
|
c.layouts = Object.assign({}, i.responsiveLayouts);
|
|
11882
11882
|
}
|
|
11883
11883
|
function st($e, Ge) {
|
|
11884
|
-
const Ce = new Set(Ge.map((be) => be.i)), A = new Set($e.map((be) => be.i)),
|
|
11885
|
-
return
|
|
11884
|
+
const Ce = new Set(Ge.map((be) => be.i)), A = new Set($e.map((be) => be.i)), ie = $e.filter((be) => !Ce.has(be.i)), ae = Ge.filter((be) => !A.has(be.i));
|
|
11885
|
+
return ie.concat(ae);
|
|
11886
11886
|
}
|
|
11887
11887
|
return ($e, Ge) => (Ae(), Qe("div", {
|
|
11888
11888
|
ref_key: "wrapper",
|
|
@@ -11890,7 +11890,7 @@ const kh = /* @__PURE__ */ ka({
|
|
|
11890
11890
|
class: "vgl-layout",
|
|
11891
11891
|
style: Sn(c.mergedStyle)
|
|
11892
11892
|
}, [
|
|
11893
|
-
$e.$slots.default ? wn($e.$slots, "default", { key: 0 }) : (Ae(!0), Qe(Nt, { key: 1 }, Jt(p.value, (Ce) => (Ae(),
|
|
11893
|
+
$e.$slots.default ? wn($e.$slots, "default", { key: 0 }) : (Ae(!0), Qe(Nt, { key: 1 }, Jt(p.value, (Ce) => (Ae(), zt(il, cr({
|
|
11894
11894
|
key: Ce.i,
|
|
11895
11895
|
ref_for: !0
|
|
11896
11896
|
}, Ce), {
|
|
@@ -11958,7 +11958,7 @@ const xh = {
|
|
|
11958
11958
|
margin: [8, 16]
|
|
11959
11959
|
}, {
|
|
11960
11960
|
default: Re(() => [
|
|
11961
|
-
(Ae(!0), Qe(Nt, null, Jt(m.value, (B, W) => (Ae(),
|
|
11961
|
+
(Ae(!0), Qe(Nt, null, Jt(m.value, (B, W) => (Ae(), zt(Rt(il), {
|
|
11962
11962
|
key: B.i,
|
|
11963
11963
|
x: B.x,
|
|
11964
11964
|
y: B.y,
|
|
@@ -11985,7 +11985,7 @@ const xh = {
|
|
|
11985
11985
|
})
|
|
11986
11986
|
}, vt((w = B == null ? void 0 : B.component) == null ? void 0 : w.name), 5)
|
|
11987
11987
|
])) : fa("", !0),
|
|
11988
|
-
(Ae(),
|
|
11988
|
+
(Ae(), zt(sn(Rt(Ar)((M = B == null ? void 0 : B.component) == null ? void 0 : M.comp)), {
|
|
11989
11989
|
pageLayout: p.value,
|
|
11990
11990
|
config: {
|
|
11991
11991
|
showIndex: (b = Rt(Pt)[W]) == null ? void 0 : b.showIndex,
|
|
@@ -11996,7 +11996,7 @@ const xh = {
|
|
|
11996
11996
|
compNames: Rt($r),
|
|
11997
11997
|
itemData: (ce = B == null ? void 0 : B.component) == null ? void 0 : ce.compData,
|
|
11998
11998
|
childItemData: (Ue = B == null ? void 0 : B.component) == null ? void 0 : Ue.itemChildData,
|
|
11999
|
-
key: Rt(
|
|
11999
|
+
key: Rt(Bi),
|
|
12000
12000
|
cacheNewData: Rt(tl),
|
|
12001
12001
|
onChange: Rt(Or),
|
|
12002
12002
|
index: (B == null ? void 0 : B.id) ?? W,
|
|
@@ -12138,7 +12138,7 @@ export {
|
|
|
12138
12138
|
Hh as T,
|
|
12139
12139
|
Vh as U,
|
|
12140
12140
|
qh as V,
|
|
12141
|
-
|
|
12141
|
+
Si as W,
|
|
12142
12142
|
Ar as a,
|
|
12143
12143
|
jh as b,
|
|
12144
12144
|
qf as c,
|
|
@@ -12162,7 +12162,7 @@ export {
|
|
|
12162
12162
|
ep as u,
|
|
12163
12163
|
Ir as v,
|
|
12164
12164
|
Pr as w,
|
|
12165
|
-
|
|
12165
|
+
Bi as x,
|
|
12166
12166
|
tl as y,
|
|
12167
12167
|
$r as z
|
|
12168
12168
|
};
|