ss-component-new 1.2.163 → 1.2.164
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-BNmuQ4bU.js → MTLLoader-BhQBg6G4.js} +1 -1
- package/dist/{MTLLoader-nfe35Lce.cjs → MTLLoader-DSKbxNhw.cjs} +1 -1
- package/dist/{OrbitControls-DM5kqFgC.js → OrbitControls-BP4eYloC.js} +1 -1
- package/dist/{OrbitControls-_twFX8YB.cjs → OrbitControls-Ba9VeG42.cjs} +1 -1
- package/dist/{URDFLoader-GHbYcXT9.js → URDFLoader-CqrJ7dM3.js} +2 -2
- package/dist/{URDFLoader-BytGrUmg.cjs → URDFLoader-DU3kmXwT.cjs} +1 -1
- package/dist/{animationData-eNObrrUg.js → animationData-CWcyAYgi.js} +1 -1
- package/dist/{animationData-BKw5s9e5.cjs → animationData-DBh2aloU.cjs} +1 -1
- package/dist/{array-BuuA9uHC.js → array-BPz8jgmb.js} +1 -1
- package/dist/{array-Csvxd61S.cjs → array-BtKuZ8m2.cjs} +1 -1
- package/dist/{iconfont-0hKmXPPO.cjs → iconfont-BnzObCYQ.cjs} +1 -1
- package/dist/{iconfont-BgckB2Vn.js → iconfont-DUL_IZE7.js} +2 -2
- package/dist/{index-BTMi9bkq.cjs → index--Hs_67j1.cjs} +1 -1
- package/dist/{index-DD0L7WCZ.cjs → index-B-HeCPo1.cjs} +1 -1
- package/dist/{index-D3fp8K0R.js → index-B11AEyYK.js} +1 -1
- package/dist/{index-CmE9DK-x.cjs → index-BAiRFbCe.cjs} +1 -1
- package/dist/{index-CIudunlV.js → index-BGzmxjiV.js} +1 -1
- package/dist/{index-Z4h-aA4E.js → index-BL1H7SFG.js} +1 -1
- package/dist/{index-DwpiuFOt.js → index-BO48cdJf.js} +1 -1
- package/dist/{index-DISYfV0A.cjs → index-BOed2Eph.cjs} +1 -1
- package/dist/{index-XBprM4fq.cjs → index-BPjIjTC8.cjs} +1 -1
- package/dist/{index-KQKwRHYH.js → index-BdMAq3W4.js} +1 -1
- package/dist/{index-BGP4St41.js → index-BnrTM4cq.js} +1 -1
- package/dist/{index-BND0qK1p.js → index-C0pBg95q.js} +3 -3
- package/dist/{index-2KgLHMWm.cjs → index-C1Ginxel.cjs} +1 -1
- package/dist/{index-BpgqbsMU.cjs → index-CJAXCiMe.cjs} +1 -1
- package/dist/{index-Drf0UHtA.js → index-CJc4wAh5.js} +2 -2
- package/dist/{index-DqyXFZs-.cjs → index-CPHmsqbS.cjs} +1 -1
- package/dist/{index-Dkw-0Onh.js → index-CWnbWvGM.js} +320 -318
- package/dist/{index-p8PoF9o7.js → index-C_h5sTYb.js} +1 -1
- package/dist/{index-B_FhWY3g.cjs → index-CaORJv7e.cjs} +1 -1
- package/dist/{index-CpiMfJxt.js → index-CbERohGi.js} +1 -1
- package/dist/{index-DUaw0Qmt.js → index-CcF4XXdA.js} +1 -1
- package/dist/{index-Gqj_J72M.js → index-CcdEPZaU.js} +2 -2
- package/dist/{index-DBL88T4-.js → index-Cq75-3Y2.js} +3 -3
- package/dist/{index-VUa2nWEE.js → index-CqNfRtMr.js} +4 -4
- package/dist/{index-DkJolGgg.cjs → index-CuRkIh30.cjs} +1 -1
- package/dist/{index-DrVQ9nWH.cjs → index-Cv9Ri0vs.cjs} +1 -1
- package/dist/{index--O8k9XH8.cjs → index-D7T0aDQH.cjs} +1 -1
- package/dist/{index-D_ehu1KG.js → index-D9m8K3kk.js} +1 -1
- package/dist/{index-CxwVc9EV.js → index-DKIgyqj6.js} +16 -16
- package/dist/{index-DIAW1G0w.cjs → index-DKoOuBhu.cjs} +1 -1
- package/dist/{index-pfU_XNbI.cjs → index-Df0eIyq6.cjs} +1 -1
- package/dist/{index-JUVkpquF.js → index-DfwFjYz-.js} +5 -5
- package/dist/{index-B912SDr_.cjs → index-DlXqXj0Y.cjs} +1 -1
- package/dist/{index-qWOZEdHu.js → index-Dn5tfFAS.js} +1 -1
- package/dist/{index-DX5_ST-7.js → index-Do7SVi0I.js} +4 -4
- package/dist/{index-CuTjPhXT.cjs → index-ElNEL80r.cjs} +1 -1
- package/dist/{index-D2yH4vy_.cjs → index-GDh-KEmV.cjs} +1 -1
- package/dist/{index-DuCF3sUz.cjs → index-MQEJG16i.cjs} +1 -1
- package/dist/{index-cxT9czjb.cjs → index-WA_vLPxH.cjs} +1 -1
- package/dist/{index-CWg0GALZ.cjs → index-Y5j0kttR.cjs} +1 -1
- package/dist/{index-CTuQlaKu.js → index-c7FuLu3i.js} +7 -7
- package/dist/{index-DSGQzNk2.js → index-kaUmd5Qw.js} +4 -4
- package/dist/{index-BVNLn1BE.cjs → index-sK10a2hL.cjs} +1 -1
- package/dist/{index-D8cU4idy.cjs → index-vePoop5n.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CJNNyWAx.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CQwaJ6oj.js} +1578 -1578
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BOQQVWR8.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CqiNrcnW.cjs} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B_v5GuXi.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B7Dzmjbs.cjs} +320 -320
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B62qEXhy.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CY6lLUEf.js} +10424 -10423
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CUyDKgmU.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-C7M8IPzI.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DlQue1vz.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-bxvmeTH-.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-B6iI3wjr.cjs → index.vue_vue_type_style_index_1_lang-NRInFANx.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-Cwt1_SYX.js → index.vue_vue_type_style_index_1_lang-SeiVLstc.js} +3 -3
- package/dist/{main-BNCpQWhK.cjs → main-DmH1nuWX.cjs} +1 -1
- package/dist/{main-DyO6Q6F8.js → main-nyTQQpVY.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-B9YW6NrH.cjs → threeModel-Agf9tpg7.cjs} +1 -1
- package/dist/{threeModel-DhZGVIaw.js → threeModel-eh0LvRys.js} +4 -4
- package/dist/{threePreview-CHKsJcoK.js → threePreview-C1xfQEah.js} +3 -3
- package/dist/{threePreview-DwigQHAL.cjs → threePreview-nsWbpRnn.cjs} +1 -1
- package/dist/{threeSceneView-BTPPwF7w.cjs → threeSceneView-8yXvfzLv.cjs} +1 -1
- package/dist/{threeSceneView-DvFUSWJp.js → threeSceneView-DgbOJvaG.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-DlF5rNcF.js → threeSceneViewForCPMPIP-DAr1we7e.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-jMVJXNwq.cjs → threeSceneViewForCPMPIP-Dz1TWmPs.cjs} +1 -1
- package/dist/{threeTrackPathView-YwGgHZIp.cjs → threeTrackPathView-C98BumEo.cjs} +1 -1
- package/dist/{threeTrackPathView-Dk26Z18y.js → threeTrackPathView-DC4IfbyK.js} +3 -3
- package/dist/{threeViewerHost-CL8nl9YW.cjs → threeViewerHost-Cxo9KSH4.cjs} +1 -1
- package/dist/{threeViewerHost-CHH4zCel.js → threeViewerHost-DaBXrZ9W.js} +2 -2
- package/dist/{urdfTree-Et3kzNVe.js → urdfTree-ThLTVaOq.js} +1 -1
- package/dist/{urdfTree-xVeXXHR6.cjs → urdfTree-pP0RLfxy.cjs} +1 -1
- package/dist/{workpieceTreePanel-DAr9iWAX.js → workpieceTreePanel-CGNngRHQ.js} +4 -4
- package/dist/{workpieceTreePanel-CWob_ifV.cjs → workpieceTreePanel-nt9X4Gyk.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as Mr, u as $r, f as Fr, g as Kr, s as jr } from "./index-
|
|
1
|
+
import { a as Mr, u as $r, f as Fr, g as Kr, s as jr } from "./index-DfwFjYz-.js";
|
|
2
2
|
import { computed as Ut, ref as ue, watch as _t, onUnmounted as Nr, resolveComponent as Pt, createElementBlock as at, openBlock as Te, createVNode as Ae, createBlock as Tt, createCommentVNode as fa, withCtx as Ke, createElementVNode as re, Fragment as Ht, renderList as Xt, toDisplayString as gt, nextTick as Ka, createTextVNode as zt, defineComponent as ga, resolveDynamicComponent as Na, onMounted as ln, unref as Ot, reactive as Ba, renderSlot as zn, createSlots as Ur, mergeProps as hl, normalizeStyle as an, withModifiers as jn, defineAsyncComponent as Wr, defineProps as Hr, getCurrentInstance as Vr, inject as Co, shallowRef as qr, toRef as Gr, onBeforeMount as gl, watchEffect as Xr, onBeforeUnmount as yl, normalizeClass as So, getCurrentScope as Yr, onScopeDispose as Jr, provide as Do, toRefs as Eo, withDirectives as Zr, vShow as Qr } from "vue";
|
|
3
3
|
import { bO as es, l as oi, bP as ts, bQ as as, bR as ns, s as Qt, p as Jt, u as Ai, c as K, E as Gt, b as Wi, g as na, e as nn, bJ as li, bK as Ln, f as Ua, bI as Oi, h as oo, bS as is, bT as os, bN as ls } from "./index-DIUrwul5.js";
|
|
4
|
-
import { d as ca, b as lo, e as ml, E as bl, f as kl, h as rs, c as wl } from "./index-
|
|
5
|
-
import { a as ro, R as ss, S as Hi, I as us, g as Ft, T as cs, U as so, V as Vi, W as ha, X as Un, Y as qa, Z as On, _ as Mi, $ as fs, o as ds, N as $i, a0 as ps, a1 as To, a2 as Qn, a3 as vs, a4 as gi, b as Io, Q as xl, a5 as ui, a6 as hs, a7 as gs, a8 as ys, a9 as Di, aa as ms, u as bs, p as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { s as pa } from "./index-
|
|
7
|
-
import { a as ws, T as xs } from "./threeViewerHost-
|
|
4
|
+
import { d as ca, b as lo, e as ml, E as bl, f as kl, h as rs, c as wl } from "./index-kaUmd5Qw.js";
|
|
5
|
+
import { a as ro, R as ss, S as Hi, I as us, g as Ft, T as cs, U as so, V as Vi, W as ha, X as Un, Y as qa, Z as On, _ as Mi, $ as fs, o as ds, N as $i, a0 as ps, a1 as To, a2 as Qn, a3 as vs, a4 as gi, b as Io, Q as xl, a5 as ui, a6 as hs, a7 as gs, a8 as ys, a9 as Di, aa as ms, u as bs, p as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CY6lLUEf.js";
|
|
6
|
+
import { s as pa } from "./index-Dn5tfFAS.js";
|
|
7
|
+
import { a as ws, T as xs } from "./threeViewerHost-DaBXrZ9W.js";
|
|
8
8
|
import { a as Pn, u as Vn, E as ja, ac as _s } from "./index-AIq5wzuR.js";
|
|
9
9
|
import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as Ao } from "./isString-CN3i5s9o.js";
|
|
11
11
|
import { _ as Oo } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
-
import { a as Cs, s as Ss } from "./index-
|
|
12
|
+
import { a as Cs, s as Ss } from "./index-C0pBg95q.js";
|
|
13
13
|
import _l from "./index-rlStojTL.js";
|
|
14
|
-
import { s as Ds } from "./index-
|
|
14
|
+
import { s as Ds } from "./index-D9m8K3kk.js";
|
|
15
15
|
import { S as Es } from "./index-BHtNKL1L.js";
|
|
16
16
|
import { useRouter as Ts } from "vue-router";
|
|
17
17
|
import { a as Is, e as As, f as Os, g as zs, h as Bs } from "./index-CAPx0_D4.js";
|
|
@@ -176,14 +176,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
176
176
|
const ge = (S) => {
|
|
177
177
|
c("clickTrigger", S);
|
|
178
178
|
}, P = async (S) => {
|
|
179
|
-
var V, L, fe,
|
|
179
|
+
var V, L, fe, H, $, Oe;
|
|
180
180
|
if (S === "") {
|
|
181
181
|
let ae = "";
|
|
182
182
|
(V = u.value) == null || V.forEach((_e) => {
|
|
183
183
|
_e != null && _e.isMain && (ae = _e == null ? void 0 : _e.value);
|
|
184
184
|
});
|
|
185
185
|
let q = await Ft(Ee.value, sessionStorage.getItem("systemKey"), "");
|
|
186
|
-
ae = ((Oe = ($ = (
|
|
186
|
+
ae = ((Oe = ($ = (H = (fe = (L = q == null ? void 0 : q[0]) == null ? void 0 : L.compData) == null ? void 0 : fe.find((_e) => (_e == null ? void 0 : _e.key) === "mainRouters")) == null ? void 0 : H.contents) == null ? void 0 : $[0]) == null ? void 0 : Oe.routerContent) + R.value + ae;
|
|
187
187
|
let ce = await Ft(ae, sessionStorage.getItem("systemKey"), "");
|
|
188
188
|
Ce.value = !0, G.value = ce == null ? void 0 : ce.filter((_e) => (_e == null ? void 0 : _e.comp) !== "methodButton"), c("routeUrl", G.value);
|
|
189
189
|
}
|
|
@@ -195,20 +195,20 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
195
195
|
handle: ".col-drag-icon",
|
|
196
196
|
ghostClass: "sortable-ghost",
|
|
197
197
|
onEnd: (L) => {
|
|
198
|
-
const { oldIndex: fe, newIndex:
|
|
199
|
-
if (fe ===
|
|
198
|
+
const { oldIndex: fe, newIndex: H } = L;
|
|
199
|
+
if (fe === H) return;
|
|
200
200
|
const $ = u.value.splice(fe, 1)[0];
|
|
201
|
-
u.value.splice(
|
|
201
|
+
u.value.splice(H, 0, $);
|
|
202
202
|
}
|
|
203
203
|
});
|
|
204
204
|
}, pe = async (S, V, L, fe = !1) => {
|
|
205
|
-
var
|
|
205
|
+
var H, $, Oe, ae, q, te, ce, _e;
|
|
206
206
|
try {
|
|
207
207
|
Ze.setRefreshCurStructure(!1);
|
|
208
208
|
const Ie = await na({
|
|
209
209
|
id: i == null ? void 0 : i.index
|
|
210
210
|
});
|
|
211
|
-
if (((
|
|
211
|
+
if (((H = Ie == null ? void 0 : Ie.data) == null ? void 0 : H.code) === 200) {
|
|
212
212
|
let ze = (q = (ae = (Oe = ($ = Ie == null ? void 0 : Ie.data) == null ? void 0 : $.result) == null ? void 0 : Oe[0]) == null ? void 0 : ae.value) == null ? void 0 : q.pageData;
|
|
213
213
|
fe ? ze = {
|
|
214
214
|
...ze,
|
|
@@ -255,7 +255,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
255
255
|
}, ee = (S, V) => {
|
|
256
256
|
C.value === V ? me.value = !1 : me.value = !0, C.value = V == null ? void 0 : V.changeProp;
|
|
257
257
|
}, le = async (S) => {
|
|
258
|
-
var L, fe,
|
|
258
|
+
var L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be;
|
|
259
259
|
let V = [];
|
|
260
260
|
if ((L = S == null ? void 0 : S.toString()) != null && L.includes(".urdf")) {
|
|
261
261
|
if (S.includes(",")) {
|
|
@@ -268,7 +268,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
268
268
|
}], v.value = !0, y.value = !0;
|
|
269
269
|
return;
|
|
270
270
|
}
|
|
271
|
-
if ((fe = S == null ? void 0 : S.toString()) != null && fe.includes(".stl") || (
|
|
271
|
+
if ((fe = S == null ? void 0 : S.toString()) != null && fe.includes(".stl") || (H = S == null ? void 0 : S.toString()) != null && H.includes(".STL") || ($ = S == null ? void 0 : S.toString()) != null && $.includes(".obj") || (Oe = S == null ? void 0 : S.toString()) != null && Oe.includes(".mtl")) {
|
|
272
272
|
const ft = ((ae = S == null ? void 0 : S.toString()) == null ? void 0 : ae.split(",")).map((Xe) => ({
|
|
273
273
|
url: Xe,
|
|
274
274
|
extension: b(Xe)
|
|
@@ -329,12 +329,12 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
329
329
|
L && ((ae = Object.values(L)) == null ? void 0 : ae.length) > 0 && ((q = Object.values(L)) == null || q.forEach((te, ce) => {
|
|
330
330
|
fe[V[ce].key] = te;
|
|
331
331
|
}));
|
|
332
|
-
const
|
|
332
|
+
const H = {
|
|
333
333
|
content: fe,
|
|
334
334
|
index: i == null ? void 0 : i.index,
|
|
335
335
|
buttonName: S == null ? void 0 : S.buttonName
|
|
336
336
|
};
|
|
337
|
-
c("change",
|
|
337
|
+
c("change", H);
|
|
338
338
|
}, p = Ut(() => "http://222.92.178.198:62001"), x = async (S) => {
|
|
339
339
|
var Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it, ve, Le, nt;
|
|
340
340
|
if (!S) return;
|
|
@@ -349,14 +349,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
349
349
|
let fe = L == null ? void 0 : L.map((Be) => {
|
|
350
350
|
var we;
|
|
351
351
|
return (Be == null ? void 0 : Be.key) === "formContent" && ((we = Be.contents) == null || we.map((Me, xe) => {
|
|
352
|
-
var T, ye, ot, Fe, Je, Pe, yt, ht, pt,
|
|
352
|
+
var T, ye, ot, Fe, Je, Pe, yt, ht, pt, kt, St, jt, aa, Wt, Rt, ea, Et, sa, va;
|
|
353
353
|
return Me.type = (ye = (T = u.value) == null ? void 0 : T.find((Vt) => (Vt == null ? void 0 : Vt.prop) === (Me == null ? void 0 : Me.prop))) == null ? void 0 : ye.type, Me.options = Me != null && Me.options ? Me.options : ((Je = (Fe = (ot = Me == null ? void 0 : Me.key) == null ? void 0 : ot.split("$")) == null ? void 0 : Fe[1]) == null ? void 0 : Je.length) > 0 ? (pt = (ht = Fr((yt = (Pe = Me == null ? void 0 : Me.key) == null ? void 0 : Pe.split("$")) == null ? void 0 : yt[1])) == null ? void 0 : ht.split(",")) == null ? void 0 : pt.map((Vt) => ({
|
|
354
354
|
label: Vt,
|
|
355
355
|
value: Vt
|
|
356
|
-
})) : [], (
|
|
356
|
+
})) : [], (kt = Me == null ? void 0 : Me.key) != null && kt.includes("$") && (Me.key = (jt = (St = Me == null ? void 0 : Me.key) == null ? void 0 : St.split("$")) == null ? void 0 : jt[0]), Me.signature = (Wt = (aa = u.value) == null ? void 0 : aa.find((Vt) => (Vt == null ? void 0 : Vt.prop) === (Me == null ? void 0 : Me.prop))) == null ? void 0 : Wt.signature, Me.isLoginUser = (ea = (Rt = u.value) == null ? void 0 : Rt.find((Vt) => (Vt == null ? void 0 : Vt.prop) === (Me == null ? void 0 : Me.prop))) == null ? void 0 : ea.isLoginUser, Me.value = (Et = Object.values(S)) == null ? void 0 : Et[xe], Me.isFormColHidden = (va = (sa = u.value) == null ? void 0 : sa.find((Vt) => (Vt == null ? void 0 : Vt.prop) === (Me == null ? void 0 : Me.prop))) == null ? void 0 : va.isFormColHidden, Me;
|
|
357
357
|
})), Be;
|
|
358
|
-
}),
|
|
359
|
-
if (
|
|
358
|
+
}), H = u.value, $ = (Re = (U = K(fe)) == null ? void 0 : U.find((Be) => (Be == null ? void 0 : Be.key) === "formContent")) == null ? void 0 : Re.contents;
|
|
359
|
+
if (H = H == null ? void 0 : H.map((Be) => {
|
|
360
360
|
var we;
|
|
361
361
|
return Be.value = (we = $ == null ? void 0 : $.find((Me, xe) => ((Me == null ? void 0 : Me.id) ?? xe) === (Be == null ? void 0 : Be.id))) == null ? void 0 : we.value, Be;
|
|
362
362
|
}), !me.value) {
|
|
@@ -376,16 +376,16 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
376
376
|
}), (lt = ae == null ? void 0 : ae.optionUrl) != null && lt.menuSelect && me.value) {
|
|
377
377
|
let Be = await Kr(ae), we, Me = (it = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : it.menuSelect;
|
|
378
378
|
if (Be == null || Be.forEach((xe) => {
|
|
379
|
-
var T, ye, ot, Fe, Je, Pe, yt, ht, pt,
|
|
380
|
-
Oe === ((ye = (T = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : ye[1]) && ((Je = (Fe = (ot = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Fe[1]) != null && Je.includes("[")) && ((
|
|
379
|
+
var T, ye, ot, Fe, Je, Pe, yt, ht, pt, kt;
|
|
380
|
+
Oe === ((ye = (T = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : ye[1]) && ((Je = (Fe = (ot = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Fe[1]) != null && Je.includes("[")) && ((kt = K(xe)) == null ? void 0 : kt[(pt = (ht = (yt = (Pe = ae == null ? void 0 : ae.optionUrl) == null ? void 0 : Pe.groupSelect) == null ? void 0 : yt[1]) == null ? void 0 : ht.replaceAll("[", "")) == null ? void 0 : pt.replaceAll("]", "")]) === (ae == null ? void 0 : ae.value) && (we = xe);
|
|
381
381
|
}), we) {
|
|
382
|
-
let xe = K(
|
|
382
|
+
let xe = K(H);
|
|
383
383
|
xe = xe == null ? void 0 : xe.map((ye) => {
|
|
384
|
-
var ot, Fe, Je, Pe, yt, ht, pt,
|
|
384
|
+
var ot, Fe, Je, Pe, yt, ht, pt, kt, St, jt, aa;
|
|
385
385
|
return (we != null && we[ye == null ? void 0 : ye.label] || we != null && we[(Pe = (Je = (Fe = (ot = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : ot.groupSelect) == null ? void 0 : Fe[1]) == null ? void 0 : Je.replaceAll("[", "")) == null ? void 0 : Pe.replaceAll("]", "")]) && ((pt = (ht = (yt = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : yt.groupSelect) == null ? void 0 : ht[1]) != null && pt.includes("[")) && Me != null && Me.every((Wt) => {
|
|
386
386
|
var Rt, ea;
|
|
387
387
|
return (ea = (Rt = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : Rt.menuSelect) == null ? void 0 : ea.includes(Wt);
|
|
388
|
-
}) && (ye.value = (we == null ? void 0 : we[ye == null ? void 0 : ye.label]) || (we == null ? void 0 : we[(aa = (jt = (St = (
|
|
388
|
+
}) && (ye.value = (we == null ? void 0 : we[ye == null ? void 0 : ye.label]) || (we == null ? void 0 : we[(aa = (jt = (St = (kt = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : kt.groupSelect) == null ? void 0 : St[1]) == null ? void 0 : jt.replaceAll("[", "")) == null ? void 0 : aa.replaceAll("]", "")]), Array.isArray(ye.value) && ye.value.every((Wt) => (Wt == null ? void 0 : Wt.url) && (Wt == null ? void 0 : Wt.name)) && (ye.type = "Upload")), ye;
|
|
389
389
|
}), xe = xe == null ? void 0 : xe.map((ye) => {
|
|
390
390
|
var ot, Fe, Je;
|
|
391
391
|
return (ot = ye == null ? void 0 : ye.optionUrl) != null && ot.oldMenuSelect && (ye.optionUrl.menuSelect = (Je = (Fe = K(ye)) == null ? void 0 : Fe.optionUrl) == null ? void 0 : Je.oldMenuSelect), ye;
|
|
@@ -394,16 +394,16 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
394
394
|
T = T == null ? void 0 : T.map((ye) => {
|
|
395
395
|
var ot, Fe, Je, Pe, yt, ht;
|
|
396
396
|
return (Fe = (ot = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : ot.menuSelect) != null && Fe.some((pt) => pt == null ? void 0 : pt.includes("[")) && (ye.optionUrl.oldMenuSelect = (Pe = (Je = K(ye)) == null ? void 0 : Je.optionUrl) == null ? void 0 : Pe.menuSelect, ye.optionUrl.menuSelect = (ht = (yt = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : yt.menuSelect) == null ? void 0 : ht.map((pt) => {
|
|
397
|
-
var
|
|
397
|
+
var kt, St, jt, aa;
|
|
398
398
|
if (pt != null && pt.includes("[")) {
|
|
399
|
-
let Wt = (St = (
|
|
399
|
+
let Wt = (St = (kt = pt == null ? void 0 : pt.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : kt.split(":")) == null ? void 0 : St[1];
|
|
400
400
|
pt = (aa = (jt = K(xe)) == null ? void 0 : jt.find((Rt) => (Rt == null ? void 0 : Rt.label) === Wt)) == null ? void 0 : aa.value;
|
|
401
401
|
}
|
|
402
402
|
return pt;
|
|
403
403
|
})), ye;
|
|
404
404
|
}), u.value = T;
|
|
405
405
|
} else
|
|
406
|
-
u.value =
|
|
406
|
+
u.value = H;
|
|
407
407
|
fe = fe == null ? void 0 : fe.map((xe) => {
|
|
408
408
|
var T;
|
|
409
409
|
return (xe == null ? void 0 : xe.key) === "formContent" && (xe.contents = (T = xe.contents) == null ? void 0 : T.map((ye) => {
|
|
@@ -453,13 +453,13 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
453
453
|
for (let fe of S)
|
|
454
454
|
(fe.includes("[") || L.includes("[")) && (L += fe.trim(), K(L).split("【").length - 1 === K(L).split("】").length - 1 && K(L).split("[").length - 1 === K(L).split("]").length - 1 && (V.push(L.replace(/\/\*[\s\S]*?\*\//g, "")), L = ""));
|
|
455
455
|
return V;
|
|
456
|
-
},
|
|
456
|
+
}, W = (S, V, L) => {
|
|
457
457
|
let fe = "";
|
|
458
|
-
const
|
|
458
|
+
const H = V == null ? void 0 : V.map(($) => {
|
|
459
459
|
var Oe;
|
|
460
460
|
return (Oe = $ == null ? void 0 : $.value) == null ? void 0 : Oe.pageData;
|
|
461
461
|
});
|
|
462
|
-
return
|
|
462
|
+
return H == null || H.forEach(($) => {
|
|
463
463
|
var Oe;
|
|
464
464
|
($ == null ? void 0 : $.name) === (S == null ? void 0 : S[0]) && ((Oe = $ == null ? void 0 : $.compData) == null || Oe.forEach((ae) => {
|
|
465
465
|
var q;
|
|
@@ -471,7 +471,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
471
471
|
}), fe;
|
|
472
472
|
}, k = (S, V, L, fe) => {
|
|
473
473
|
var ae, q;
|
|
474
|
-
let
|
|
474
|
+
let H = "", $ = "";
|
|
475
475
|
(ae = K(V)) == null || ae.forEach((te, ce) => {
|
|
476
476
|
te != null && te.includes("[") ? $ = $ + R.value + S[ce] : $ = $ === "" ? $ + te : $ + "/" + te;
|
|
477
477
|
});
|
|
@@ -484,17 +484,17 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
484
484
|
(te == null ? void 0 : te.name) === (L == null ? void 0 : L[0]) && ((ce = te == null ? void 0 : te.compData) == null || ce.forEach((_e) => {
|
|
485
485
|
var Ie;
|
|
486
486
|
(_e == null ? void 0 : _e.key) === "formContent" && ((Ie = _e == null ? void 0 : _e.contents) == null || Ie.forEach((ze) => {
|
|
487
|
-
(ze == null ? void 0 : ze.prop) === (L == null ? void 0 : L[1]) && (
|
|
487
|
+
(ze == null ? void 0 : ze.prop) === (L == null ? void 0 : L[1]) && (H = ze == null ? void 0 : ze.value);
|
|
488
488
|
}));
|
|
489
489
|
}));
|
|
490
|
-
}),
|
|
490
|
+
}), H;
|
|
491
491
|
};
|
|
492
492
|
return _t(
|
|
493
493
|
() => i.itemData,
|
|
494
494
|
async () => {
|
|
495
495
|
var Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it;
|
|
496
|
-
const S = (Oe = i.itemData) == null ? void 0 : Oe.find((ve) => (ve == null ? void 0 : ve.key) === "formContent"), V = (ae = K(i.itemData)) == null ? void 0 : ae.find((ve) => (ve == null ? void 0 : ve.key) === "formButton"), L = (q = K(i.itemData)) == null ? void 0 : q.find((ve) => (ve == null ? void 0 : ve.key) === "formFlex"), fe = (te = K(i.itemData)) == null ? void 0 : te.find((ve) => (ve == null ? void 0 : ve.key) === "formWrap"),
|
|
497
|
-
if ((fe == null ? void 0 : fe.contents) === "纵向" ? z.value = !1 : z.value = !0, w.value = (
|
|
496
|
+
const S = (Oe = i.itemData) == null ? void 0 : Oe.find((ve) => (ve == null ? void 0 : ve.key) === "formContent"), V = (ae = K(i.itemData)) == null ? void 0 : ae.find((ve) => (ve == null ? void 0 : ve.key) === "formButton"), L = (q = K(i.itemData)) == null ? void 0 : q.find((ve) => (ve == null ? void 0 : ve.key) === "formFlex"), fe = (te = K(i.itemData)) == null ? void 0 : te.find((ve) => (ve == null ? void 0 : ve.key) === "formWrap"), H = (ce = K(i.itemData)) == null ? void 0 : ce.find((ve) => (ve == null ? void 0 : ve.key) === "enableWrap");
|
|
497
|
+
if ((fe == null ? void 0 : fe.contents) === "纵向" ? z.value = !1 : z.value = !0, w.value = (H == null ? void 0 : H.contents) === void 0 ? !1 : H == null ? void 0 : H.contents, F.value = typeof (L == null ? void 0 : L.contents) != "boolean" ? !(!(L != null && L.contents) === "" || ((_e = L == null ? void 0 : L.contents) == null ? void 0 : _e.toUpperCase()) === "VERTICAL") : L == null ? void 0 : L.contents, ((Ie = S == null ? void 0 : S.contents) == null ? void 0 : Ie.length) > 0 && Array.isArray(S == null ? void 0 : S.contents)) {
|
|
498
498
|
let ve = i.allMapContents;
|
|
499
499
|
const Le = (U = (ze = K(S)) == null ? void 0 : ze.contents) == null ? void 0 : U.map((T, ye) => {
|
|
500
500
|
var Wt, Rt, ea, Et, sa, va, Vt, rn, Ga, sn, mn, Xa, bn, Ya, kn, wn, xn, _n, Cn, un, Wa, Ra, Ja, Ha, _a, Ma, Sn;
|
|
@@ -514,17 +514,17 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
514
514
|
label: It,
|
|
515
515
|
value: It
|
|
516
516
|
})));
|
|
517
|
-
let yt = !1, ht = (T == null ? void 0 : T.isFormColHidden) ?? !1, pt = Hi((kn = K(T)) == null ? void 0 : kn.optionUrl, ve),
|
|
518
|
-
if ((Array.isArray(pt) && (pt != null && pt.every((It) => (It == null ? void 0 : It.name) && (It == null ? void 0 : It.url))) || Array.isArray(
|
|
519
|
-
yt = !0,
|
|
520
|
-
else if (typeof
|
|
517
|
+
let yt = !1, ht = (T == null ? void 0 : T.isFormColHidden) ?? !1, pt = Hi((kn = K(T)) == null ? void 0 : kn.optionUrl, ve), kt = pt !== void 0 && pt !== "" ? pt : T != null && T.originalContent && (T == null ? void 0 : T.originalContent) !== "" ? T.originalContent : T != null && T.value ? T.value : (Je == null ? void 0 : Je.length) > 0 ? (wn = Je == null ? void 0 : Je[0]) == null ? void 0 : wn.value : (T == null ? void 0 : T.value) ?? "", St = !1, jt = pt !== void 0 || Fe === "" ? "Input" : Fe;
|
|
518
|
+
if ((Array.isArray(pt) && (pt != null && pt.every((It) => (It == null ? void 0 : It.name) && (It == null ? void 0 : It.url))) || Array.isArray(kt) && (kt != null && kt.every((It) => (It == null ? void 0 : It.name) && (It == null ? void 0 : It.url)))) && (jt = "upload"), typeof kt == "string" && (kt != null && kt.includes("loginUser")) && !(kt != null && kt.includes("loginUserSign")) || T != null && T.isLoginUser)
|
|
519
|
+
yt = !0, kt = ((xn = I.value) == null ? void 0 : xn.姓名) || ((_n = I.value) == null ? void 0 : _n.account) || ((Cn = I.value) == null ? void 0 : Cn.账号) || ((un = I.value) == null ? void 0 : un.userName);
|
|
520
|
+
else if (typeof kt == "string" && (kt != null && kt.includes("loginUserSign")) || T != null && T.signature || T != null && T.isShow)
|
|
521
521
|
if (St = !0, (T == null ? void 0 : T.isShow) === "originalSignature")
|
|
522
|
-
jt = "image",
|
|
522
|
+
jt = "image", kt = p.value + "/" + ((Wa = I.value) == null ? void 0 : Wa.signature);
|
|
523
523
|
else {
|
|
524
524
|
let It = [...new Set(E(T.isShow))].map((qt) => {
|
|
525
|
-
var Za, Ca, $a,
|
|
525
|
+
var Za, Ca, $a, ba;
|
|
526
526
|
return {
|
|
527
|
-
key: (
|
|
527
|
+
key: (ba = ($a = (Ca = (Za = qt == null ? void 0 : qt.split("[")) == null ? void 0 : Za[1]) == null ? void 0 : Ca.split("]")) == null ? void 0 : $a[0]) == null ? void 0 : ba.split(":"),
|
|
528
528
|
value: ""
|
|
529
529
|
};
|
|
530
530
|
});
|
|
@@ -532,9 +532,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
532
532
|
It == null || It.forEach((Ia, Za) => {
|
|
533
533
|
var $a;
|
|
534
534
|
let Ca = Ia == null ? void 0 : Ia.key;
|
|
535
|
-
(qt == null ? void 0 : qt.name) === (Ca == null ? void 0 : Ca[0].replaceAll("'", "")) && (($a = qt == null ? void 0 : qt.compData) == null || $a.forEach((
|
|
535
|
+
(qt == null ? void 0 : qt.name) === (Ca == null ? void 0 : Ca[0].replaceAll("'", "")) && (($a = qt == null ? void 0 : qt.compData) == null || $a.forEach((ba) => {
|
|
536
536
|
var cn;
|
|
537
|
-
(
|
|
537
|
+
(ba == null ? void 0 : ba.key) === "formContent" && ((cn = ba == null ? void 0 : ba.contents) == null || cn.forEach((Mt) => {
|
|
538
538
|
(Mt == null ? void 0 : Mt.prop) === (Ca == null ? void 0 : Ca[1].replaceAll("'", "")) && (It[Za].value = Mt == null ? void 0 : Mt.value);
|
|
539
539
|
}));
|
|
540
540
|
}));
|
|
@@ -546,14 +546,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
546
546
|
}), Ct = T == null ? void 0 : T.isShow;
|
|
547
547
|
ya == null || ya.forEach((qt) => {
|
|
548
548
|
qt != null && qt.value ? Ct = Ct.replaceAll(qt == null ? void 0 : qt.key, "'" + (qt == null ? void 0 : qt.value) + "'") : Ct = Ct.replaceAll(qt == null ? void 0 : qt.key, "undefined");
|
|
549
|
-
}), Ct != null && Ct.includes("(") || (Ct != null && Ct.includes("==") ? Ct = ((Ja = Ct == null ? void 0 : Ct.split("===")) == null ? void 0 : Ja[0]) + "==='" + ((Ha = Ct == null ? void 0 : Ct.split("===")) == null ? void 0 : Ha[1]) + "'" : Ct = ((_a = Ct == null ? void 0 : Ct.split("=")) == null ? void 0 : _a[0]) + "='" + ((Ma = Ct == null ? void 0 : Ct.split("=")) == null ? void 0 : Ma[1]) + "'"), Ct != null && Ct.includes("=") && !(Ct != null && Ct.includes("==")) && !(Ct != null && Ct.includes("===")) && (Ct = Ct == null ? void 0 : Ct.replaceAll("=", "==")), new Function(`if (${Ct}) { return true } else { return false }`)() ? (ht = !1, jt = "image",
|
|
549
|
+
}), Ct != null && Ct.includes("(") || (Ct != null && Ct.includes("==") ? Ct = ((Ja = Ct == null ? void 0 : Ct.split("===")) == null ? void 0 : Ja[0]) + "==='" + ((Ha = Ct == null ? void 0 : Ct.split("===")) == null ? void 0 : Ha[1]) + "'" : Ct = ((_a = Ct == null ? void 0 : Ct.split("=")) == null ? void 0 : _a[0]) + "='" + ((Ma = Ct == null ? void 0 : Ct.split("=")) == null ? void 0 : Ma[1]) + "'"), Ct != null && Ct.includes("=") && !(Ct != null && Ct.includes("==")) && !(Ct != null && Ct.includes("===")) && (Ct = Ct == null ? void 0 : Ct.replaceAll("=", "==")), new Function(`if (${Ct}) { return true } else { return false }`)() ? (ht = !1, jt = "image", kt = p.value + "/" + ((Sn = I.value) == null ? void 0 : Sn.signature)) : kt = "";
|
|
550
550
|
}
|
|
551
|
-
return Array.isArray(
|
|
551
|
+
return Array.isArray(kt) && kt.every((It) => (It == null ? void 0 : It.url) && (It == null ? void 0 : It.name)) && (T.type = "Upload"), T != null && T.isMainUrl && (jt = "Url"), {
|
|
552
552
|
label: ot ?? "",
|
|
553
553
|
name: "t" + ye,
|
|
554
554
|
prop: K(T == null ? void 0 : T.key),
|
|
555
555
|
type: jt,
|
|
556
|
-
value: T != null && T.isNewDate &&
|
|
556
|
+
value: T != null && T.isNewDate && kt === "" ? /* @__PURE__ */ new Date() : kt,
|
|
557
557
|
id: (T == null ? void 0 : T.id) ?? ye,
|
|
558
558
|
contents: (Pe == null ? void 0 : Pe.length) > 0 ? Pe : Je ?? [],
|
|
559
559
|
width: (T == null ? void 0 : T.width) ?? 1,
|
|
@@ -575,16 +575,16 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
575
575
|
let we = (Re = K(Le)) == null ? void 0 : Re.map((T) => (T != null && T.value && us(T == null ? void 0 : T.value) && Array.isArray(JSON.parse(T == null ? void 0 : T.value)) && (T.value = JSON.parse(T.value)), T));
|
|
576
576
|
we = we == null ? void 0 : we.map((T) => {
|
|
577
577
|
var ye, ot, Fe, Je, Pe, yt, ht, pt;
|
|
578
|
-
if ((ot = (ye = T == null ? void 0 : T.optionUrl) == null ? void 0 : ye.menuSelect) != null && ot.some((
|
|
579
|
-
let
|
|
578
|
+
if ((ot = (ye = T == null ? void 0 : T.optionUrl) == null ? void 0 : ye.menuSelect) != null && ot.some((kt) => kt == null ? void 0 : kt.includes("["))) {
|
|
579
|
+
let kt = "";
|
|
580
580
|
T.optionUrl.oldMenuSelect = (Je = (Fe = K(T)) == null ? void 0 : Fe.optionUrl) == null ? void 0 : Je.menuSelect, T.optionUrl.menuSelect = (yt = (Pe = T == null ? void 0 : T.optionUrl) == null ? void 0 : Pe.menuSelect) == null ? void 0 : yt.map((St) => {
|
|
581
581
|
var jt, aa, Wt, Rt, ea, Et;
|
|
582
582
|
if (St != null && St.includes("[")) {
|
|
583
583
|
let sa = (aa = (jt = St == null ? void 0 : St.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : jt.split(":")) == null ? void 0 : aa[1];
|
|
584
|
-
|
|
584
|
+
kt = W((Wt = St == null ? void 0 : St.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Wt.split(":"), ve == null ? void 0 : ve[rt.value], ve), St = ((ea = (Rt = K(we)) == null ? void 0 : Rt.find((va) => (va == null ? void 0 : va.label) === sa)) == null ? void 0 : ea.value) || W((Et = St == null ? void 0 : St.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Et.split(":"), ve == null ? void 0 : ve[rt.value], ve);
|
|
585
585
|
}
|
|
586
586
|
return St;
|
|
587
|
-
}),
|
|
587
|
+
}), kt !== "" && T.value === "" && (T.value = k(T.optionUrl.menuSelect, T.optionUrl.oldMenuSelect, (ht = T == null ? void 0 : T.optionUrl) == null ? void 0 : ht.groupSelect, ve), Array.isArray(T.value) && ((pt = T.value) != null && pt.every((St) => St == null ? void 0 : St.url)) && (T.type = "UPLOAD"));
|
|
588
588
|
}
|
|
589
589
|
return T;
|
|
590
590
|
}), u.value = we, he.value = ((be = u.value) == null ? void 0 : be.every((T) => T == null ? void 0 : T.disabled)) || O.value === rt.value, se.value = (He = u.value) == null ? void 0 : He.every((T) => T == null ? void 0 : T.operable), ke.value = (ft = u.value) == null ? void 0 : ft.map((T) => T == null ? void 0 : T.label);
|
|
@@ -619,8 +619,8 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
619
619
|
}), oe.setObjUrl(Me);
|
|
620
620
|
}
|
|
621
621
|
(Ue = K(u.value)) == null || Ue.forEach((T) => {
|
|
622
|
-
var ye, ot, Fe, Je, Pe, yt, ht, pt,
|
|
623
|
-
if ((ot = (ye = T == null ? void 0 : T.value) == null ? void 0 : ye.toString()) != null && ot.includes(".stl") || (Je = (Fe = T == null ? void 0 : T.value) == null ? void 0 : Fe.toString()) != null && Je.includes(".STL") || (yt = (Pe = T == null ? void 0 : T.value) == null ? void 0 : Pe.toString()) != null && yt.includes(".obj") || (pt = (ht = T == null ? void 0 : T.value) == null ? void 0 : ht.toString()) != null && pt.includes(".mtl") || (St = (
|
|
622
|
+
var ye, ot, Fe, Je, Pe, yt, ht, pt, kt, St, jt, aa, Wt;
|
|
623
|
+
if ((ot = (ye = T == null ? void 0 : T.value) == null ? void 0 : ye.toString()) != null && ot.includes(".stl") || (Je = (Fe = T == null ? void 0 : T.value) == null ? void 0 : Fe.toString()) != null && Je.includes(".STL") || (yt = (Pe = T == null ? void 0 : T.value) == null ? void 0 : Pe.toString()) != null && yt.includes(".obj") || (pt = (ht = T == null ? void 0 : T.value) == null ? void 0 : ht.toString()) != null && pt.includes(".mtl") || (St = (kt = T == null ? void 0 : T.value) == null ? void 0 : kt.toString()) != null && St.includes(".urdf")) {
|
|
624
624
|
let Rt = {}, ea = [], Et;
|
|
625
625
|
Array.isArray(T == null ? void 0 : T.value) ? Et = T == null ? void 0 : T.value : Et = (jt = T == null ? void 0 : T.value) == null ? void 0 : jt.split(","), Et == null || Et.forEach((sa) => {
|
|
626
626
|
sa.includes(".mtl") ? ea.push(sa) : Rt.blob = Rt.blob === "undefined" ? sa : Rt.blob + "," + sa;
|
|
@@ -661,7 +661,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
661
661
|
), _t(() => O.value, (S) => {
|
|
662
662
|
he.value = S === rt.value;
|
|
663
663
|
}, { immediate: !0 }), (S, V) => {
|
|
664
|
-
const L = Pt("svg-icon"), fe = Pt("el-switch"),
|
|
664
|
+
const L = Pt("svg-icon"), fe = Pt("el-switch"), H = Pt("el-checkbox"), $ = Pt("el-popover"), Oe = Pt("el-checkbox-group");
|
|
665
665
|
return Te(), at("div", qs, [
|
|
666
666
|
Ae(ca, {
|
|
667
667
|
rowContents: u.value,
|
|
@@ -727,7 +727,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
727
727
|
style: { display: "flex", "align-items": "center" },
|
|
728
728
|
key: ce.label
|
|
729
729
|
}, [
|
|
730
|
-
Ae(
|
|
730
|
+
Ae(H, {
|
|
731
731
|
value: ce.label,
|
|
732
732
|
style: { width: "100%", marginRight: 0 }
|
|
733
733
|
}, {
|
|
@@ -1316,10 +1316,10 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1316
1316
|
});
|
|
1317
1317
|
}), w.value = p, F.value = p;
|
|
1318
1318
|
}, dt = () => {
|
|
1319
|
-
var x, E,
|
|
1319
|
+
var x, E, W;
|
|
1320
1320
|
y.value = !0;
|
|
1321
1321
|
let p = [];
|
|
1322
|
-
(
|
|
1322
|
+
(W = (E = (x = ha) == null ? void 0 : x.find((k) => (k == null ? void 0 : k.key) === "Input")) == null ? void 0 : E.value) == null || W.forEach((k) => {
|
|
1323
1323
|
g.value++, p.push({
|
|
1324
1324
|
label: k == null ? void 0 : k.label,
|
|
1325
1325
|
name: (k == null ? void 0 : k.name) || (k == null ? void 0 : k.label),
|
|
@@ -1332,9 +1332,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1332
1332
|
}, $e = (p) => {
|
|
1333
1333
|
p || (I.value = C.value);
|
|
1334
1334
|
}, qe = async (p) => {
|
|
1335
|
-
var x, E,
|
|
1335
|
+
var x, E, W, k, S, V, L, fe, H, $, Oe, ae;
|
|
1336
1336
|
if ((p == null ? void 0 : p.类型) !== ((E = (x = C.value) == null ? void 0 : x.find((q) => (q == null ? void 0 : q.label) === "类型")) == null ? void 0 : E.value)) {
|
|
1337
|
-
let q = [], te = await ((S = (k = (
|
|
1337
|
+
let q = [], te = await ((S = (k = (W = ha) == null ? void 0 : W.find((ce) => (ce == null ? void 0 : ce.key) === ((p == null ? void 0 : p.类型) === "" ? "Input" : p == null ? void 0 : p.类型))) == null ? void 0 : k.value) == null ? void 0 : S.value) ? await (($ = (H = (fe = ha) == null ? void 0 : fe.find((ce) => (ce == null ? void 0 : ce.key) === ((p == null ? void 0 : p.类型) === "" ? "Input" : p == null ? void 0 : p.类型))) == null ? void 0 : H.value) == null ? void 0 : $.value) : (L = (V = ha) == null ? void 0 : V.find((ce) => (ce == null ? void 0 : ce.key) === ((p == null ? void 0 : p.类型) === "" ? "Input" : p == null ? void 0 : p.类型))) == null ? void 0 : L.value;
|
|
1338
1338
|
if (te == null || te.forEach((ce) => {
|
|
1339
1339
|
g.value++, q.push({
|
|
1340
1340
|
label: ce == null ? void 0 : ce.label,
|
|
@@ -1381,10 +1381,10 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
return (p == null ? void 0 : p.label) === "类型" && x[p.key] === "" ? "Input" : (p == null ? void 0 : p.key) === "isFormColHidden" && !x[p.key] ? !1 : x[p.key];
|
|
1383
1383
|
}, Q = async (p) => {
|
|
1384
|
-
var
|
|
1384
|
+
var W, k, S, V, L, fe, H, $, Oe;
|
|
1385
1385
|
y.value = !0;
|
|
1386
1386
|
let x = [];
|
|
1387
|
-
const E = await ((S = (k = (
|
|
1387
|
+
const E = await ((S = (k = (W = ha) == null ? void 0 : W.find((ae) => (ae == null ? void 0 : ae.key) === ((p == null ? void 0 : p.type) === "" ? "Input" : p == null ? void 0 : p.type))) == null ? void 0 : k.value) == null ? void 0 : S.value) ? await (($ = (H = (fe = ha) == null ? void 0 : fe.find((ae) => (ae == null ? void 0 : ae.key) === ((p == null ? void 0 : p.type) === "" ? "Input" : p == null ? void 0 : p.type))) == null ? void 0 : H.value) == null ? void 0 : $.value) : (L = (V = ha) == null ? void 0 : V.find((ae) => (ae == null ? void 0 : ae.key) === ((p == null ? void 0 : p.type) === "" ? "Input" : p == null ? void 0 : p.type))) == null ? void 0 : L.value;
|
|
1388
1388
|
if (E == null || E.forEach((ae) => {
|
|
1389
1389
|
g.value++, x.push({
|
|
1390
1390
|
label: ae == null ? void 0 : ae.label,
|
|
@@ -1408,7 +1408,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1408
1408
|
}).then(
|
|
1409
1409
|
() => {
|
|
1410
1410
|
var x, E;
|
|
1411
|
-
me.value = (x = K(me.value)) == null ? void 0 : x.filter((
|
|
1411
|
+
me.value = (x = K(me.value)) == null ? void 0 : x.filter((W) => (W == null ? void 0 : W.id) !== (p == null ? void 0 : p.id)), i("change", (E = K(r.originalItemContents)) == null ? void 0 : E.map((W) => ((W == null ? void 0 : W.key) === "tableToForm" && (W.contents = me.value), W))), Gt({
|
|
1412
1412
|
type: "success",
|
|
1413
1413
|
message: "删除成功"
|
|
1414
1414
|
});
|
|
@@ -1418,11 +1418,11 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1418
1418
|
}, he = () => {
|
|
1419
1419
|
y.value = !1, I.value = [], M.value = "";
|
|
1420
1420
|
}, Qe = async () => {
|
|
1421
|
-
var
|
|
1421
|
+
var W, k, S, V, L, fe, H, $, Oe, ae;
|
|
1422
1422
|
I.value = C.value;
|
|
1423
1423
|
let p = {};
|
|
1424
1424
|
M.value !== "" ? p.id = M.value : (g.value++, p.id = "id" + g.value);
|
|
1425
|
-
let x = await ((S = (k = (
|
|
1425
|
+
let x = await ((S = (k = (W = ha) == null ? void 0 : W.find((q) => {
|
|
1426
1426
|
var te, ce;
|
|
1427
1427
|
return (q == null ? void 0 : q.key) === (((ce = (te = I.value) == null ? void 0 : te.find((_e) => (_e == null ? void 0 : _e.label) === "类型")) == null ? void 0 : ce.value) ?? "label");
|
|
1428
1428
|
})) == null ? void 0 : k.value) == null ? void 0 : S.value) ?? ((L = (V = ha) == null ? void 0 : V.find((q) => {
|
|
@@ -1432,7 +1432,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1432
1432
|
if ((fe = I.value) == null || fe.forEach((q) => {
|
|
1433
1433
|
const te = x == null ? void 0 : x.find((ce) => (ce == null ? void 0 : ce.label) === (q == null ? void 0 : q.label));
|
|
1434
1434
|
te && (p[te.key] = q.value);
|
|
1435
|
-
}), p.name = p.label, (
|
|
1435
|
+
}), p.name = p.label, (H = me.value) != null && H.find((q) => q.id === p.id))
|
|
1436
1436
|
me.value = ($ = me.value) == null ? void 0 : $.map((q) => (q.id === p.id && (q = p), q));
|
|
1437
1437
|
else {
|
|
1438
1438
|
let q = K(me.value);
|
|
@@ -1463,7 +1463,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1463
1463
|
() => {
|
|
1464
1464
|
var x, E;
|
|
1465
1465
|
let p = K(r.originalItemContents);
|
|
1466
|
-
(x = K(r.originalItemContents)) != null && x.find((
|
|
1466
|
+
(x = K(r.originalItemContents)) != null && x.find((W) => (W == null ? void 0 : W.key) === "page") ? p = (E = K(r.originalItemContents)) == null ? void 0 : E.map((W) => ((W == null ? void 0 : W.key) === "page" && (W.contents = _.value), W)) : p.push({
|
|
1467
1467
|
key: "page",
|
|
1468
1468
|
contents: _.value
|
|
1469
1469
|
}), i("change", p);
|
|
@@ -1478,7 +1478,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1478
1478
|
}).then(
|
|
1479
1479
|
() => {
|
|
1480
1480
|
var x, E;
|
|
1481
|
-
Ce.value = (x = K(Ce.value)) == null ? void 0 : x.filter((
|
|
1481
|
+
Ce.value = (x = K(Ce.value)) == null ? void 0 : x.filter((W) => (W == null ? void 0 : W.id) !== (p == null ? void 0 : p.id)), i("change", (E = K(r.originalItemContents)) == null ? void 0 : E.map((W) => ((W == null ? void 0 : W.key) === "extraButton" && (W.contents = Ce.value), W))), Gt({
|
|
1482
1482
|
type: "success",
|
|
1483
1483
|
message: "删除成功"
|
|
1484
1484
|
});
|
|
@@ -1486,13 +1486,13 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1486
1486
|
).catch(() => {
|
|
1487
1487
|
});
|
|
1488
1488
|
}, R = () => {
|
|
1489
|
-
var E,
|
|
1489
|
+
var E, W, k, S, V;
|
|
1490
1490
|
w.value = F.value;
|
|
1491
1491
|
let p = {};
|
|
1492
1492
|
if (M.value !== "" ? p.id = M.value : (g.value++, p.id = "id" + g.value), (E = w.value) == null || E.forEach((L) => {
|
|
1493
|
-
const fe = en == null ? void 0 : en.find((
|
|
1493
|
+
const fe = en == null ? void 0 : en.find((H) => (H == null ? void 0 : H.label) === (L == null ? void 0 : L.label));
|
|
1494
1494
|
fe ? p[fe.key] = L.value : L != null && L.children && L.children.length > 0 && (p.children = L.children);
|
|
1495
|
-
}), (
|
|
1495
|
+
}), (W = Ce.value) != null && W.find((L) => L.id === p.id))
|
|
1496
1496
|
Ce.value = (k = Ce.value) == null ? void 0 : k.map((L) => (L.id === p.id && (L = p), L));
|
|
1497
1497
|
else {
|
|
1498
1498
|
let L = K(Ce.value) ?? [];
|
|
@@ -1530,7 +1530,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1530
1530
|
}).then(
|
|
1531
1531
|
() => {
|
|
1532
1532
|
var x, E;
|
|
1533
|
-
B.value = (x = K(B.value)) == null ? void 0 : x.filter((
|
|
1533
|
+
B.value = (x = K(B.value)) == null ? void 0 : x.filter((W) => (W == null ? void 0 : W.id) !== (p == null ? void 0 : p.id)), i("change", (E = K(r.originalItemContents)) == null ? void 0 : E.map((W) => ((W == null ? void 0 : W.key) === "rowButton" && (W.contents = B.value), W))), Gt({
|
|
1534
1534
|
type: "success",
|
|
1535
1535
|
message: "删除成功"
|
|
1536
1536
|
});
|
|
@@ -1567,13 +1567,13 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1567
1567
|
let x = K(j.value);
|
|
1568
1568
|
x = x == null ? void 0 : x.map((E) => (E.children || (E.value = p == null ? void 0 : p[E.name]), E)), j.value = x;
|
|
1569
1569
|
}, P = () => {
|
|
1570
|
-
var E,
|
|
1570
|
+
var E, W, k, S, V;
|
|
1571
1571
|
G.value = j.value;
|
|
1572
1572
|
let p = {};
|
|
1573
1573
|
if (M.value !== "" ? p.id = M.value : (g.value++, p.id = "id" + g.value), (E = G.value) == null || E.forEach((L) => {
|
|
1574
|
-
const fe = tn == null ? void 0 : tn.find((
|
|
1574
|
+
const fe = tn == null ? void 0 : tn.find((H) => (H == null ? void 0 : H.label) === (L == null ? void 0 : L.label));
|
|
1575
1575
|
fe ? p[fe.key] = L.value : L != null && L.children && L.children.length > 0 && (p.children = L.children);
|
|
1576
|
-
}), (
|
|
1576
|
+
}), (W = B.value) != null && W.find((L) => L.id === p.id))
|
|
1577
1577
|
B.value = (k = B.value) == null ? void 0 : k.map((L) => (L.id === p.id && (L = p), L));
|
|
1578
1578
|
else {
|
|
1579
1579
|
let L = K(B.value);
|
|
@@ -1603,14 +1603,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1603
1603
|
}, de = (p) => {
|
|
1604
1604
|
var x;
|
|
1605
1605
|
v.value = El(K(v.value), p == null ? void 0 : p.id), i("change", (x = K(r.originalItemContents)) == null ? void 0 : x.map((E) => {
|
|
1606
|
-
var
|
|
1607
|
-
return (E == null ? void 0 : E.key) === "header" && (E.contents = (
|
|
1606
|
+
var W;
|
|
1607
|
+
return (E == null ? void 0 : E.key) === "header" && (E.contents = (W = v.value) != null && W.some((k) => k == null ? void 0 : k.children) ? [v.value] : v.value), E;
|
|
1608
1608
|
}));
|
|
1609
1609
|
}, J = (p) => {
|
|
1610
|
-
var E,
|
|
1610
|
+
var E, W, k;
|
|
1611
1611
|
p.type === "fix" ? p.id !== "" ? v.value = Il(v.value, p) : v.value = Tl(v.value, p == null ? void 0 : p.contents) : v.value = Al(v.value, p), v.value = (E = v.value) != null && E.some((S) => S == null ? void 0 : S.children) ? [v.value] : v.value, M.value = "";
|
|
1612
1612
|
let x = K(r.originalItemContents);
|
|
1613
|
-
(
|
|
1613
|
+
(W = K(r.originalItemContents)) != null && W.find((S) => (S == null ? void 0 : S.key) === "header") ? x = (k = K(r.originalItemContents)) == null ? void 0 : k.map((S) => ((S == null ? void 0 : S.key) === "header" && (S.contents = v.value), S)) : x.push({
|
|
1614
1614
|
key: "header",
|
|
1615
1615
|
contents: v.value
|
|
1616
1616
|
}), i("change", x);
|
|
@@ -1618,14 +1618,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1618
1618
|
var E;
|
|
1619
1619
|
u.value = !0;
|
|
1620
1620
|
let x = [];
|
|
1621
|
-
Kt == null || Kt.forEach((
|
|
1621
|
+
Kt == null || Kt.forEach((W) => {
|
|
1622
1622
|
g.value++, x.push({
|
|
1623
|
-
label:
|
|
1624
|
-
name:
|
|
1625
|
-
type:
|
|
1626
|
-
value: p[
|
|
1623
|
+
label: W == null ? void 0 : W.label,
|
|
1624
|
+
name: W == null ? void 0 : W.label,
|
|
1625
|
+
type: W.type,
|
|
1626
|
+
value: p[W.key],
|
|
1627
1627
|
id: g.value,
|
|
1628
|
-
contents:
|
|
1628
|
+
contents: W == null ? void 0 : W.options
|
|
1629
1629
|
});
|
|
1630
1630
|
}), p != null && p.children && ((E = p == null ? void 0 : p.children) == null ? void 0 : E.length) > 0 && x.push({
|
|
1631
1631
|
children: p == null ? void 0 : p.children,
|
|
@@ -1637,17 +1637,17 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1637
1637
|
}, le = () => {
|
|
1638
1638
|
u.value = !1, M.value = "", Y.value = "", z.value = [];
|
|
1639
1639
|
}, Ne = () => {
|
|
1640
|
-
var E,
|
|
1640
|
+
var E, W, k, S, V, L;
|
|
1641
1641
|
b.value = z.value;
|
|
1642
1642
|
let p = {};
|
|
1643
1643
|
if (M.value !== "" ? p.id = M.value : (g.value++, p.id = "id" + g.value), (E = b.value) == null || E.forEach((fe) => {
|
|
1644
|
-
const
|
|
1645
|
-
|
|
1646
|
-
}), (
|
|
1644
|
+
const H = Kt == null ? void 0 : Kt.find(($) => ($ == null ? void 0 : $.label) === (fe == null ? void 0 : fe.label));
|
|
1645
|
+
H ? p[H.key] = fe.value : fe != null && fe.children && fe.children.length > 0 && (p.children = fe.children);
|
|
1646
|
+
}), (W = v.value) != null && W.find((fe) => fe.id === p.id))
|
|
1647
1647
|
v.value = (k = v.value) == null ? void 0 : k.map((fe) => (fe.id === p.id && (fe = p), fe));
|
|
1648
1648
|
else {
|
|
1649
1649
|
let fe = K(v.value) ?? [];
|
|
1650
|
-
Y.value === "" ? fe.push(p) : fe = fe == null ? void 0 : fe.map((
|
|
1650
|
+
Y.value === "" ? fe.push(p) : fe = fe == null ? void 0 : fe.map((H) => (H.id === Y.value && (H.children || (H.children = []), H.children.push(p)), H)), v.value = fe;
|
|
1651
1651
|
}
|
|
1652
1652
|
v.value = (S = v.value) != null && S.some((fe) => fe == null ? void 0 : fe.children) ? [v.value] : v.value, u.value = !1, M.value = "", Y.value = "";
|
|
1653
1653
|
let x = K(r.originalItemContents);
|
|
@@ -1663,9 +1663,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1663
1663
|
}).then(
|
|
1664
1664
|
() => {
|
|
1665
1665
|
var x, E;
|
|
1666
|
-
v.value = (x = K(v.value)) == null ? void 0 : x.filter((
|
|
1666
|
+
v.value = (x = K(v.value)) == null ? void 0 : x.filter((W) => (W == null ? void 0 : W.id) !== (p == null ? void 0 : p.id)), i("change", (E = K(r.originalItemContents)) == null ? void 0 : E.map((W) => {
|
|
1667
1667
|
var k;
|
|
1668
|
-
return (
|
|
1668
|
+
return (W == null ? void 0 : W.key) === "header" && (W.contents = (k = v.value) != null && k.some((S) => S == null ? void 0 : S.children) ? [v.value] : v.value), W;
|
|
1669
1669
|
})), Gt({
|
|
1670
1670
|
type: "success",
|
|
1671
1671
|
message: "删除成功"
|
|
@@ -1677,9 +1677,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1677
1677
|
return _t(
|
|
1678
1678
|
() => r.originalItemContents,
|
|
1679
1679
|
() => {
|
|
1680
|
-
var p, x, E,
|
|
1680
|
+
var p, x, E, W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze;
|
|
1681
1681
|
if (!(!r.originalItemContents || r.originalItemContents.length === 0))
|
|
1682
|
-
if (c.value = K(r.originalItemContents), v.value = (x = (p = c.value) == null ? void 0 : p.find((U) => (U == null ? void 0 : U.key) === "header")) == null ? void 0 : x.contents, B.value = (
|
|
1682
|
+
if (c.value = K(r.originalItemContents), v.value = (x = (p = c.value) == null ? void 0 : p.find((U) => (U == null ? void 0 : U.key) === "header")) == null ? void 0 : x.contents, B.value = (W = (E = c.value) == null ? void 0 : E.find((U) => (U == null ? void 0 : U.key) === "rowButton")) == null ? void 0 : W.contents, Ce.value = (S = (k = c.value) == null ? void 0 : k.find((U) => (U == null ? void 0 : U.key) === "extraButton")) == null ? void 0 : S.contents, _.value = (L = (V = c.value) == null ? void 0 : V.find((U) => (U == null ? void 0 : U.key) === "page")) != null && L.contents ? !!((H = (fe = c.value) == null ? void 0 : fe.find((U) => (U == null ? void 0 : U.key) === "page")) != null && H.contents) : !1, me.value = (Oe = ($ = c.value) == null ? void 0 : $.find((U) => (U == null ? void 0 : U.key) === "tableToForm")) == null ? void 0 : Oe.contents, v.value = (ae = v.value) == null ? void 0 : ae.map((U, Re) => (Array.isArray(U) ? U = Qs(U) : U = {
|
|
1683
1683
|
label: (U == null ? void 0 : U.label) ?? "",
|
|
1684
1684
|
prop: (U == null ? void 0 : U.label) === "操作" ? "operate" : U == null ? void 0 : U.prop,
|
|
1685
1685
|
width: U != null && U.width ? parseInt(U.width) : "",
|
|
@@ -1730,12 +1730,12 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1730
1730
|
},
|
|
1731
1731
|
{ deep: !0, immediate: !0 }
|
|
1732
1732
|
), (p, x) => {
|
|
1733
|
-
const E = Pt("svg-icon"),
|
|
1733
|
+
const E = Pt("svg-icon"), W = Pt("el-button");
|
|
1734
1734
|
return Te(), at("div", ku, [
|
|
1735
1735
|
re("div", wu, [
|
|
1736
1736
|
re("div", xu, [
|
|
1737
1737
|
x[2] || (x[2] = re("div", null, gt("表头"), -1)),
|
|
1738
|
-
Ae(
|
|
1738
|
+
Ae(W, {
|
|
1739
1739
|
class: "icon-content",
|
|
1740
1740
|
onClick: tt,
|
|
1741
1741
|
id: "themeButton"
|
|
@@ -1789,7 +1789,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1789
1789
|
]),
|
|
1790
1790
|
re("div", Tu, [
|
|
1791
1791
|
x[4] || (x[4] = re("div", null, gt("行内按钮"), -1)),
|
|
1792
|
-
Ae(
|
|
1792
|
+
Ae(W, {
|
|
1793
1793
|
class: "icon-content",
|
|
1794
1794
|
id: "themeButton",
|
|
1795
1795
|
onClick: Ye
|
|
@@ -1830,7 +1830,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1830
1830
|
]),
|
|
1831
1831
|
re("div", Bu, [
|
|
1832
1832
|
x[6] || (x[6] = re("div", null, gt("表外按钮"), -1)),
|
|
1833
|
-
Ae(
|
|
1833
|
+
Ae(W, {
|
|
1834
1834
|
class: "icon-content",
|
|
1835
1835
|
id: "themeButton",
|
|
1836
1836
|
onClick: Ze
|
|
@@ -1871,7 +1871,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1871
1871
|
]),
|
|
1872
1872
|
re("div", $u, [
|
|
1873
1873
|
x[8] || (x[8] = re("div", null, gt("表格弹框字段设置"), -1)),
|
|
1874
|
-
Ae(
|
|
1874
|
+
Ae(W, {
|
|
1875
1875
|
class: "icon-content",
|
|
1876
1876
|
id: "themeButton",
|
|
1877
1877
|
onClick: dt
|
|
@@ -1940,7 +1940,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1940
1940
|
]),
|
|
1941
1941
|
footer: Ke(() => [
|
|
1942
1942
|
re("div", Vu, [
|
|
1943
|
-
Ae(
|
|
1943
|
+
Ae(W, {
|
|
1944
1944
|
onClick: le,
|
|
1945
1945
|
class: "cancel-button button",
|
|
1946
1946
|
id: "themeBorderButton"
|
|
@@ -1951,7 +1951,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1951
1951
|
_: 1,
|
|
1952
1952
|
__: [11]
|
|
1953
1953
|
}),
|
|
1954
|
-
Ae(
|
|
1954
|
+
Ae(W, {
|
|
1955
1955
|
class: "ok-button button",
|
|
1956
1956
|
onClick: Ne,
|
|
1957
1957
|
id: "themeButton"
|
|
@@ -1983,7 +1983,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1983
1983
|
]),
|
|
1984
1984
|
footer: Ke(() => [
|
|
1985
1985
|
re("div", Gu, [
|
|
1986
|
-
Ae(
|
|
1986
|
+
Ae(W, {
|
|
1987
1987
|
onClick: X,
|
|
1988
1988
|
class: "cancel-button button",
|
|
1989
1989
|
id: "themeBorderButton"
|
|
@@ -1994,7 +1994,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1994
1994
|
_: 1,
|
|
1995
1995
|
__: [13]
|
|
1996
1996
|
}),
|
|
1997
|
-
Ae(
|
|
1997
|
+
Ae(W, {
|
|
1998
1998
|
class: "ok-button button",
|
|
1999
1999
|
onClick: P,
|
|
2000
2000
|
id: "themeButton"
|
|
@@ -2026,7 +2026,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2026
2026
|
]),
|
|
2027
2027
|
footer: Ke(() => [
|
|
2028
2028
|
re("div", Yu, [
|
|
2029
|
-
Ae(
|
|
2029
|
+
Ae(W, {
|
|
2030
2030
|
onClick: Se,
|
|
2031
2031
|
class: "cancel-button button",
|
|
2032
2032
|
id: "themeBorderButton"
|
|
@@ -2037,7 +2037,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2037
2037
|
_: 1,
|
|
2038
2038
|
__: [15]
|
|
2039
2039
|
}),
|
|
2040
|
-
Ae(
|
|
2040
|
+
Ae(W, {
|
|
2041
2041
|
class: "ok-button button",
|
|
2042
2042
|
onClick: R,
|
|
2043
2043
|
id: "themeButton"
|
|
@@ -2071,7 +2071,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2071
2071
|
]),
|
|
2072
2072
|
footer: Ke(() => [
|
|
2073
2073
|
re("div", Zu, [
|
|
2074
|
-
Ae(
|
|
2074
|
+
Ae(W, {
|
|
2075
2075
|
onClick: he,
|
|
2076
2076
|
class: "cancel-button button",
|
|
2077
2077
|
id: "themeBorderButton"
|
|
@@ -2082,7 +2082,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2082
2082
|
_: 1,
|
|
2083
2083
|
__: [17]
|
|
2084
2084
|
}),
|
|
2085
|
-
Ae(
|
|
2085
|
+
Ae(W, {
|
|
2086
2086
|
class: "ok-button button",
|
|
2087
2087
|
onClick: Qe,
|
|
2088
2088
|
id: "themeButton"
|
|
@@ -3941,23 +3941,23 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3941
3941
|
if (Z != null && Z.includes("[")) {
|
|
3942
3942
|
let p = (P = (ge = (Ye = (tt = (je = K(Z)) == null ? void 0 : je.split("[")) == null ? void 0 : tt[1]) == null ? void 0 : Ye.split("]")) == null ? void 0 : ge[0]) == null ? void 0 : P.split(":"), x = "";
|
|
3943
3943
|
if (p != null && p[0]) {
|
|
3944
|
-
let E = (X = Se == null ? void 0 : Se.find((
|
|
3944
|
+
let E = (X = Se == null ? void 0 : Se.find((W) => (W == null ? void 0 : W.name) === (p == null ? void 0 : p[0]))) == null ? void 0 : X.compData;
|
|
3945
3945
|
if (!E) {
|
|
3946
|
-
let
|
|
3946
|
+
let W = (pe = Z == null ? void 0 : Z.split("[")) == null ? void 0 : pe[0], k = await Ft(W, sessionStorage.getItem("systemKey"), "", !1, "", "", ke);
|
|
3947
3947
|
E = (de = k == null ? void 0 : k.find((S) => (S == null ? void 0 : S.name) === (p == null ? void 0 : p[0]))) == null ? void 0 : de.compData;
|
|
3948
3948
|
}
|
|
3949
|
-
E == null || E.forEach((
|
|
3950
|
-
var k, S, V, L, fe,
|
|
3951
|
-
if ((
|
|
3952
|
-
(k =
|
|
3949
|
+
E == null || E.forEach((W) => {
|
|
3950
|
+
var k, S, V, L, fe, H;
|
|
3951
|
+
if ((W == null ? void 0 : W.key) === "formContent")
|
|
3952
|
+
(k = W == null ? void 0 : W.contents) == null || k.forEach(($) => {
|
|
3953
3953
|
var Oe;
|
|
3954
3954
|
($ == null ? void 0 : $.key) === (p == null ? void 0 : p[1]) && (Array.isArray($ == null ? void 0 : $.value) ? x = $ == null ? void 0 : $.value : x = (Oe = $ == null ? void 0 : $.value) == null ? void 0 : Oe.toString());
|
|
3955
3955
|
});
|
|
3956
|
-
else if ((
|
|
3956
|
+
else if ((W == null ? void 0 : W.key) === "tableContents") {
|
|
3957
3957
|
let $ = [], Oe = (S = E == null ? void 0 : E.find((q) => (q == null ? void 0 : q.key) === "header")) == null ? void 0 : S.contents, ae = (p == null ? void 0 : p[1]) ?? "";
|
|
3958
3958
|
if (Oe != null && Oe.every((q) => Array.isArray(q))) {
|
|
3959
3959
|
let q = Vi((fe = Oe == null ? void 0 : Oe[0]) == null ? void 0 : fe.filter((te) => (te == null ? void 0 : te.label) !== "操作"));
|
|
3960
|
-
(
|
|
3960
|
+
(H = W.contents) == null || H.forEach((te) => {
|
|
3961
3961
|
let ce = {};
|
|
3962
3962
|
te = te == null ? void 0 : te.filter((_e) => !(_e != null && _e.id)), q == null || q.forEach((_e, Ie) => {
|
|
3963
3963
|
let ze = te[Ie];
|
|
@@ -3966,7 +3966,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3966
3966
|
}), $ = dt($);
|
|
3967
3967
|
} else {
|
|
3968
3968
|
let q = (V = Oe == null ? void 0 : Oe.map((te) => te == null ? void 0 : te.label)) == null ? void 0 : V.filter((te) => te !== "操作");
|
|
3969
|
-
(L =
|
|
3969
|
+
(L = W.contents) == null || L.forEach((te) => {
|
|
3970
3970
|
let ce = {};
|
|
3971
3971
|
te = te == null ? void 0 : te.filter((_e) => !(_e != null && _e.id)), q == null || q.forEach((_e, Ie) => {
|
|
3972
3972
|
let ze = te[Ie];
|
|
@@ -3982,9 +3982,9 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3982
3982
|
} else if (Z != null && Z.includes("/")) {
|
|
3983
3983
|
let p = {};
|
|
3984
3984
|
return (J = K(Se)) == null || J.forEach((x, E) => {
|
|
3985
|
-
var
|
|
3985
|
+
var W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be;
|
|
3986
3986
|
if ((x == null ? void 0 : x.comp) === "Table") {
|
|
3987
|
-
let He = Array.isArray((S = (k = (
|
|
3987
|
+
let He = Array.isArray((S = (k = (W = x == null ? void 0 : x.compData) == null ? void 0 : W.find((Ue) => (Ue == null ? void 0 : Ue.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : S[0]) ? (H = (fe = (L = (V = x == null ? void 0 : x.compData) == null ? void 0 : V.find((Ue) => (Ue == null ? void 0 : Ue.key) === "header")) == null ? void 0 : L.contents) == null ? void 0 : fe[0]) == null ? void 0 : H.some((Ue) => Ue == null ? void 0 : Ue.children) : [], ft = (ae = (Oe = ($ = x == null ? void 0 : x.compData) == null ? void 0 : $.find((Ue) => (Ue == null ? void 0 : Ue.key) === "tableContents")) == null ? void 0 : Oe.contents) == null ? void 0 : ae.map((Ue) => (Ue != null && Ue.find((wt) => wt == null ? void 0 : wt.id) && (Ue = Ue.slice(1)), Ue)), Xe = (Ie = (_e = (ce = (te = (q = x == null ? void 0 : x.compData) == null ? void 0 : q.find((Ue) => (Ue == null ? void 0 : Ue.key) === "header")) == null ? void 0 : te.contents) == null ? void 0 : ce[0]) == null ? void 0 : _e[0]) == null ? void 0 : Ie.label, ut = (U = (ze = x == null ? void 0 : x.compData) == null ? void 0 : ze.find((Ue) => (Ue == null ? void 0 : Ue.key) === "header")) == null ? void 0 : U.contents;
|
|
3988
3988
|
if (He)
|
|
3989
3989
|
(He == null ? void 0 : He.length) === 0 ? p[x.name] = p != null && p[x.name] ? p[x.name] : To(ft, ut) : p[Xe] = To(ft, ut);
|
|
3990
3990
|
else {
|
|
@@ -4142,9 +4142,9 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4142
4142
|
k != null && k.includes("(") && st.push(k);
|
|
4143
4143
|
}), st = [...new Set(st)];
|
|
4144
4144
|
const p = st == null ? void 0 : st.map(async (k) => {
|
|
4145
|
-
var
|
|
4145
|
+
var H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re;
|
|
4146
4146
|
let S = "";
|
|
4147
|
-
(te = (q = (ae = (Oe = ($ = (
|
|
4147
|
+
(te = (q = (ae = (Oe = ($ = (H = K(k)) == null ? void 0 : H.split("(")) == null ? void 0 : $[1]) == null ? void 0 : Oe.split(")")) == null ? void 0 : ae[0]) == null ? void 0 : q.split(":")) == null || te.forEach((be) => {
|
|
4148
4148
|
S = S === "" ? S + be.replaceAll("'", "") : S + "/" + be.replaceAll("'", "");
|
|
4149
4149
|
});
|
|
4150
4150
|
let V = [];
|
|
@@ -4168,11 +4168,11 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4168
4168
|
ee.compData = (pe = (X = K(ee)) == null ? void 0 : X.compData) == null ? void 0 : pe.map((k) => {
|
|
4169
4169
|
var S, V;
|
|
4170
4170
|
return (k == null ? void 0 : k.key) === "formContent" && (k.contents = (V = (S = K(k)) == null ? void 0 : S.contents) == null ? void 0 : V.map((L) => {
|
|
4171
|
-
var fe,
|
|
4172
|
-
return (fe = Z[Ne]) != null && fe[L == null ? void 0 : L.key] && (Z[Ne][L == null ? void 0 : L.key].includes("(") ? L.value = (
|
|
4171
|
+
var fe, H, $, Oe;
|
|
4172
|
+
return (fe = Z[Ne]) != null && fe[L == null ? void 0 : L.key] && (Z[Ne][L == null ? void 0 : L.key].includes("(") ? L.value = (H = x == null ? void 0 : x.find((ae) => {
|
|
4173
4173
|
var q;
|
|
4174
4174
|
return ((q = Object.keys(ae)) == null ? void 0 : q[0]) === Z[Ne][L == null ? void 0 : L.key];
|
|
4175
|
-
})) == null ? void 0 :
|
|
4175
|
+
})) == null ? void 0 : H[Z[Ne][L == null ? void 0 : L.key]] : L.value = (Oe = ($ = K(Z)) == null ? void 0 : $[Ne]) == null ? void 0 : Oe[L == null ? void 0 : L.key]), L;
|
|
4176
4176
|
})), k;
|
|
4177
4177
|
});
|
|
4178
4178
|
const E = await na({
|
|
@@ -4182,12 +4182,12 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4182
4182
|
systemKey: sessionStorage.getItem("systemKey")
|
|
4183
4183
|
}
|
|
4184
4184
|
});
|
|
4185
|
-
let
|
|
4185
|
+
let W = "";
|
|
4186
4186
|
((de = E == null ? void 0 : E.data) == null ? void 0 : de.type) === "success" && ((ne = (J = E == null ? void 0 : E.data) == null ? void 0 : J.result) == null || ne.forEach((k) => {
|
|
4187
4187
|
var S, V;
|
|
4188
|
-
((V = (S = k == null ? void 0 : k.value) == null ? void 0 : S.pageData) == null ? void 0 : V.name) === (ke == null ? void 0 : ke[0]) && (
|
|
4188
|
+
((V = (S = k == null ? void 0 : k.value) == null ? void 0 : S.pageData) == null ? void 0 : V.name) === (ke == null ? void 0 : ke[0]) && (W = k.id);
|
|
4189
4189
|
}), await nn({
|
|
4190
|
-
id:
|
|
4190
|
+
id: W,
|
|
4191
4191
|
value: {
|
|
4192
4192
|
pageData: ee
|
|
4193
4193
|
}
|
|
@@ -4202,7 +4202,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4202
4202
|
}
|
|
4203
4203
|
return ke;
|
|
4204
4204
|
}, Q = async (Z, R, ke, Se) => {
|
|
4205
|
-
var tt, Ye, ge, P, X, pe, de, J, ne, ee, le, Ne, st, p, x, E,
|
|
4205
|
+
var tt, Ye, ge, P, X, pe, de, J, ne, ee, le, Ne, st, p, x, E, W, k, S, V, L, fe, H, $, Oe;
|
|
4206
4206
|
let We = await Ft(R, sessionStorage.getItem("systemKey"), ""), je = We == null ? void 0 : We.find((ae) => (ae == null ? void 0 : ae.name) === (ke == null ? void 0 : ke[0]));
|
|
4207
4207
|
if (je) {
|
|
4208
4208
|
if (!(ke != null && ke[1]) && (je == null ? void 0 : je.comp) === "Table") {
|
|
@@ -4237,7 +4237,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4237
4237
|
const Ie = await na({
|
|
4238
4238
|
id: je == null ? void 0 : je.tableId
|
|
4239
4239
|
});
|
|
4240
|
-
let ze = ((k = (
|
|
4240
|
+
let ze = ((k = (W = (E = (x = Ie == null ? void 0 : Ie.data) == null ? void 0 : x.result) == null ? void 0 : E[0]) == null ? void 0 : W.key) == null ? void 0 : k.pageKey) ?? "";
|
|
4241
4241
|
(S = Object.values(ae)) == null || S.forEach((U) => {
|
|
4242
4242
|
_e.push({
|
|
4243
4243
|
key: {
|
|
@@ -4285,7 +4285,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4285
4285
|
}
|
|
4286
4286
|
});
|
|
4287
4287
|
let te = "";
|
|
4288
|
-
((
|
|
4288
|
+
((H = q == null ? void 0 : q.data) == null ? void 0 : H.type) === "success" && ((Oe = ($ = q == null ? void 0 : q.data) == null ? void 0 : $.result) == null || Oe.forEach((ce) => {
|
|
4289
4289
|
var _e, Ie;
|
|
4290
4290
|
((Ie = (_e = ce == null ? void 0 : ce.value) == null ? void 0 : _e.pageData) == null ? void 0 : Ie.name) === (ke == null ? void 0 : ke[0]) && (te = ce.id);
|
|
4291
4291
|
}), await nn({
|
|
@@ -4305,17 +4305,17 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4305
4305
|
(ke = (R = (await li({
|
|
4306
4306
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4307
4307
|
type: oe.value
|
|
4308
|
-
})).data.result) == null ? void 0 : R.filter((
|
|
4308
|
+
})).data.result) == null ? void 0 : R.filter((H) => {
|
|
4309
4309
|
var $, Oe;
|
|
4310
|
-
return (($ =
|
|
4311
|
-
})) == null || ke.forEach((
|
|
4312
|
-
Ne[
|
|
4310
|
+
return (($ = H == null ? void 0 : H.key) == null ? void 0 : $.pageKey) !== "menu" && ((Oe = H == null ? void 0 : H.key) == null ? void 0 : Oe.pageKey) !== "secret";
|
|
4311
|
+
})) == null || ke.forEach((H) => {
|
|
4312
|
+
Ne[H.key.pageKey] ? Ne[H.key.pageKey] = [...Ne[H.key.pageKey], H] : Ne[H.key.pageKey] = [H];
|
|
4313
4313
|
});
|
|
4314
4314
|
let p = await Ft((g == null ? void 0 : g.value) === "" ? w.value : g == null ? void 0 : g.value, sessionStorage.getItem("systemKey"), "", !1, "", "", Ne), x = "";
|
|
4315
|
-
if (p = p == null ? void 0 : p.map((
|
|
4315
|
+
if (p = p == null ? void 0 : p.map((H) => {
|
|
4316
4316
|
var $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be;
|
|
4317
|
-
if ((
|
|
4318
|
-
|
|
4317
|
+
if ((H == null ? void 0 : H.comp) === "Form")
|
|
4318
|
+
H.compData = ($ = H.compData) == null ? void 0 : $.map((He) => {
|
|
4319
4319
|
var ft;
|
|
4320
4320
|
return (He == null ? void 0 : He.key) === "formContent" && (He.contents = (ft = He.contents) == null ? void 0 : ft.map((Xe) => {
|
|
4321
4321
|
var ut;
|
|
@@ -4326,17 +4326,17 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4326
4326
|
return Xe;
|
|
4327
4327
|
})), He;
|
|
4328
4328
|
});
|
|
4329
|
-
else if ((
|
|
4330
|
-
let He = (q = (ae =
|
|
4329
|
+
else if ((H == null ? void 0 : H.comp) === "Table" && (Oe = H.compData) != null && Oe.find((He) => (He == null ? void 0 : He.key) === "pageColumn")) {
|
|
4330
|
+
let He = (q = (ae = H.compData) == null ? void 0 : ae.find((Ue) => (Ue == null ? void 0 : Ue.key) === "pageColumn")) == null ? void 0 : q.contents, ft = ((ce = (te = H.compData) == null ? void 0 : te.find((Ue) => (Ue == null ? void 0 : Ue.key) === "pageGroup")) == null ? void 0 : ce.contents) ?? "", Xe = (ze = (Ie = (_e = He == null ? void 0 : He.split("[")) == null ? void 0 : _e[1]) == null ? void 0 : Ie.split("]")) == null ? void 0 : ze[0];
|
|
4331
4331
|
x = ((U = He == null ? void 0 : He.split("[")) == null ? void 0 : U[0]) + ((be = (Re = G.value) == null ? void 0 : Re.find((Ue) => (Ue == null ? void 0 : Ue.key) === Xe)) == null ? void 0 : be.value);
|
|
4332
4332
|
}
|
|
4333
|
-
return
|
|
4333
|
+
return H;
|
|
4334
4334
|
}), !(x === "" || x === "")) {
|
|
4335
|
-
const
|
|
4335
|
+
const H = await Ft(x, sessionStorage.getItem("systemKey"), "", !1, "", "", Ne);
|
|
4336
4336
|
p = p == null ? void 0 : p.map(($) => {
|
|
4337
4337
|
var Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft;
|
|
4338
4338
|
if (($ == null ? void 0 : $.comp) === "Table" && (Oe = $.compData) != null && Oe.find((Xe) => (Xe == null ? void 0 : Xe.key) === "pageColumn")) {
|
|
4339
|
-
let Xe = (q = (ae = $.compData) == null ? void 0 : ae.find((it) => (it == null ? void 0 : it.key) === "pageColumn")) == null ? void 0 : q.contents, ut = ((ce = (te = $.compData) == null ? void 0 : te.find((it) => (it == null ? void 0 : it.key) === "pageGroup")) == null ? void 0 : ce.contents) ?? "", Ue = (ze = (Ie = (_e = Xe == null ? void 0 : Xe.split("[")) == null ? void 0 : _e[1]) == null ? void 0 : Ie.split("]")) == null ? void 0 : ze[0], wt = ((U = Xe == null ? void 0 : Xe.split("[")) == null ? void 0 : U[0]) + ((be = (Re = G.value) == null ? void 0 : Re.find((it) => (it == null ? void 0 : it.key) === Ue)) == null ? void 0 : be.value), lt = (He =
|
|
4339
|
+
let Xe = (q = (ae = $.compData) == null ? void 0 : ae.find((it) => (it == null ? void 0 : it.key) === "pageColumn")) == null ? void 0 : q.contents, ut = ((ce = (te = $.compData) == null ? void 0 : te.find((it) => (it == null ? void 0 : it.key) === "pageGroup")) == null ? void 0 : ce.contents) ?? "", Ue = (ze = (Ie = (_e = Xe == null ? void 0 : Xe.split("[")) == null ? void 0 : _e[1]) == null ? void 0 : Ie.split("]")) == null ? void 0 : ze[0], wt = ((U = Xe == null ? void 0 : Xe.split("[")) == null ? void 0 : U[0]) + ((be = (Re = G.value) == null ? void 0 : Re.find((it) => (it == null ? void 0 : it.key) === Ue)) == null ? void 0 : be.value), lt = (He = H == null ? void 0 : H.find((it) => (it == null ? void 0 : it.name) === (ut === "" ? c == null ? void 0 : c.compName : ut))) == null ? void 0 : He.compData;
|
|
4340
4340
|
$.compData = (ft = $.compData) == null ? void 0 : ft.map((it) => {
|
|
4341
4341
|
var ve;
|
|
4342
4342
|
return (it == null ? void 0 : it.key) === "tableContents" && (it.contents = (ve = lt == null ? void 0 : lt.find((Le) => (Le == null ? void 0 : Le.key) === "tableContents")) == null ? void 0 : ve.contents), it;
|
|
@@ -4347,21 +4347,21 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4347
4347
|
}
|
|
4348
4348
|
let E = {};
|
|
4349
4349
|
if (((We = (Se = Z == null ? void 0 : Z.extraValues) == null ? void 0 : Se.input) == null ? void 0 : We.length) > 0) {
|
|
4350
|
-
const
|
|
4350
|
+
const H = (tt = (je = Z == null ? void 0 : Z.extraValues) == null ? void 0 : je.input) == null ? void 0 : tt.map(async ($) => {
|
|
4351
4351
|
var Oe;
|
|
4352
4352
|
he != null && he.find((ae) => ae === $) ? E = await $e($, p) : E[Object.keys($)[0]] = await $e((Oe = Object.values($)) == null ? void 0 : Oe[0], p, Ne);
|
|
4353
4353
|
});
|
|
4354
|
-
await Promise.all(
|
|
4354
|
+
await Promise.all(H);
|
|
4355
4355
|
} else
|
|
4356
4356
|
E = await $e("/", p);
|
|
4357
|
-
let
|
|
4358
|
-
(ge = (Ye = Z == null ? void 0 : Z.extraValues) == null ? void 0 : Ye.output) == null || ge.forEach((
|
|
4357
|
+
let W = !1;
|
|
4358
|
+
(ge = (Ye = Z == null ? void 0 : Z.extraValues) == null ? void 0 : Ye.output) == null || ge.forEach((H) => {
|
|
4359
4359
|
var $, Oe;
|
|
4360
|
-
(Oe = ($ = Object.values(
|
|
4360
|
+
(Oe = ($ = Object.values(H)) == null ? void 0 : $[0]) != null && Oe.includes(".doc") && (W = !0);
|
|
4361
4361
|
});
|
|
4362
4362
|
let k;
|
|
4363
|
-
if (
|
|
4364
|
-
const
|
|
4363
|
+
if (W) {
|
|
4364
|
+
const H = bl.service({
|
|
4365
4365
|
lock: !0,
|
|
4366
4366
|
text: "Loading",
|
|
4367
4367
|
background: "rgba(0, 0, 0, 0.7)"
|
|
@@ -4373,7 +4373,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4373
4373
|
"Content-Type": "application/json"
|
|
4374
4374
|
}
|
|
4375
4375
|
}).finally(() => {
|
|
4376
|
-
|
|
4376
|
+
H.close();
|
|
4377
4377
|
});
|
|
4378
4378
|
} else
|
|
4379
4379
|
k = await Wi.post(Z.api, E, {
|
|
@@ -4381,10 +4381,10 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4381
4381
|
"Content-Type": "application/json"
|
|
4382
4382
|
}
|
|
4383
4383
|
});
|
|
4384
|
-
let S = (de = (pe = (X = (P = K(Z)) == null ? void 0 : P.extraValues) == null ? void 0 : X.output) == null ? void 0 : pe.map((
|
|
4384
|
+
let S = (de = (pe = (X = (P = K(Z)) == null ? void 0 : P.extraValues) == null ? void 0 : X.output) == null ? void 0 : pe.map((H) => {
|
|
4385
4385
|
var $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft, Xe, ut;
|
|
4386
|
-
if (!((Oe = ($ = Object.values(
|
|
4387
|
-
let Ue = (U = (ze = (Ie = (q = K((ae = Object.values(
|
|
4386
|
+
if (!((Oe = ($ = Object.values(H)) == null ? void 0 : $[0]) != null && Oe.includes(".doc"))) {
|
|
4387
|
+
let Ue = (U = (ze = (Ie = (q = K((ae = Object.values(H)) == null ? void 0 : ae[0])) == null ? void 0 : q.split("[")) == null ? void 0 : Ie[((_e = (ce = K((te = Object.values(H)) == null ? void 0 : te[0])) == null ? void 0 : ce.split("[")) == null ? void 0 : _e.length) - 1]) == null ? void 0 : ze.split("]")) == null ? void 0 : U[0], wt = Ue == null ? void 0 : Ue.split(":"), lt = (He = K((Re = Object.values(H)) == null ? void 0 : Re[0])) == null ? void 0 : He.substring(0, K((be = Object.values(H)) == null ? void 0 : be[0]).lastIndexOf("["));
|
|
4388
4388
|
if (lt = (Xe = K(lt)) == null ? void 0 : Xe.slice(0, ((ft = K(lt)) == null ? void 0 : ft.length) - 1), lt != null && lt.includes("[")) {
|
|
4389
4389
|
let it = "";
|
|
4390
4390
|
if ((ut = $i(lt, "/")) == null || ut.forEach((ve) => {
|
|
@@ -4404,17 +4404,17 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4404
4404
|
return lt;
|
|
4405
4405
|
}
|
|
4406
4406
|
}
|
|
4407
|
-
})) == null ? void 0 : de.filter((
|
|
4407
|
+
})) == null ? void 0 : de.filter((H) => H);
|
|
4408
4408
|
S = [...new Set(K(S))];
|
|
4409
|
-
let V = S == null ? void 0 : S.map(async (
|
|
4410
|
-
let $ = await Ft(
|
|
4409
|
+
let V = S == null ? void 0 : S.map(async (H) => {
|
|
4410
|
+
let $ = await Ft(H, sessionStorage.getItem("systemKey"), "", !1, "", "", Ne);
|
|
4411
4411
|
if (($ == null ? void 0 : $.length) === 0)
|
|
4412
|
-
return await ps(
|
|
4412
|
+
return await ps(H);
|
|
4413
4413
|
});
|
|
4414
4414
|
await Promise.all(V);
|
|
4415
|
-
let L = [], fe = (ee = (ne = (J = K(Z)) == null ? void 0 : J.extraValues) == null ? void 0 : ne.output) == null ? void 0 : ee.map(async (
|
|
4416
|
-
var Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it, ve, Le, nt, Be, we, Me, xe, T, ye, ot, Fe, Je, Pe, yt, ht, pt,
|
|
4417
|
-
if ((ze = (Ie = Object.values(
|
|
4415
|
+
let L = [], fe = (ee = (ne = (J = K(Z)) == null ? void 0 : J.extraValues) == null ? void 0 : ne.output) == null ? void 0 : ee.map(async (H) => {
|
|
4416
|
+
var Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it, ve, Le, nt, Be, we, Me, xe, T, ye, ot, Fe, Je, Pe, yt, ht, pt, kt, St, jt, aa, Wt, Rt, ea, Et, sa, va, Vt, rn, Ga, sn, mn, Xa, bn, Ya, kn, wn, xn, _n, Cn, un, Wa, Ra, Ja, Ha, _a, Ma, Sn, It, ya, Ct, Gn, qt, Ia, Za, Ca, $a, ba;
|
|
4417
|
+
if ((ze = (Ie = Object.values(H)) == null ? void 0 : Ie[0]) != null && ze.includes(".doc")) {
|
|
4418
4418
|
var $ = new Blob([k.data], {
|
|
4419
4419
|
type: "application/octet-stream;charset=UTF-8"
|
|
4420
4420
|
}), Oe = k.headers["content-disposition"], ae = new RegExp("filename=([^;]+\\.[^\\.;]+);*"), q = ae.exec(Oe), te = q == null ? void 0 : q[1], ce = document.createElement("a"), _e = window.URL.createObjectURL($);
|
|
@@ -4423,7 +4423,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4423
4423
|
blobUrl: _e
|
|
4424
4424
|
}], u.value = !0;
|
|
4425
4425
|
} else {
|
|
4426
|
-
let cn = (Ue = (ut = (Xe = (Re = K((U = Object.values(
|
|
4426
|
+
let cn = (Ue = (ut = (Xe = (Re = K((U = Object.values(H)) == null ? void 0 : U[0])) == null ? void 0 : Re.split("[")) == null ? void 0 : Xe[((ft = (He = K((be = Object.values(H)) == null ? void 0 : be[0])) == null ? void 0 : He.split("[")) == null ? void 0 : ft.length) - 1]) == null ? void 0 : ut.split("]")) == null ? void 0 : Ue[0], Mt = cn == null ? void 0 : cn.split(":"), ua = (it = K((wt = Object.values(H)) == null ? void 0 : wt[0])) == null ? void 0 : it.substring(0, K((lt = Object.values(H)) == null ? void 0 : lt[0]).lastIndexOf("["));
|
|
4427
4427
|
if (ua != null && ua.includes("[") ? ua = (Le = K(ua)) == null ? void 0 : Le.slice(0, ((ve = K(ua)) == null ? void 0 : ve.length) - 1) : ua === "" && (ua = w.value), ua = ua.replaceAll("<", "[").replaceAll(">", "]"), ua != null && ua.includes("[")) {
|
|
4428
4428
|
let Lt = "";
|
|
4429
4429
|
(nt = $i(ua, "/")) == null || nt.forEach((Nt, la) => {
|
|
@@ -4443,11 +4443,11 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4443
4443
|
}
|
|
4444
4444
|
}), (Be = w.value) != null && Be.includes(Lt) ? ua = w.value : ua = Lt;
|
|
4445
4445
|
}
|
|
4446
|
-
let Sa = K((we = Object.keys(
|
|
4446
|
+
let Sa = K((we = Object.keys(H)) == null ? void 0 : we[0]);
|
|
4447
4447
|
if (((Me = k == null ? void 0 : k.data) == null ? void 0 : Me.statusCode) === 200 || ((xe = k == null ? void 0 : k.data) == null ? void 0 : xe.code) === 200) {
|
|
4448
4448
|
if (((ye = (T = k == null ? void 0 : k.data) == null ? void 0 : T.data) != null && ye[Sa] || (Fe = (ot = k == null ? void 0 : k.data) == null ? void 0 : ot.result) != null && Fe[Sa]) && (Mt == null ? void 0 : Mt.length) === 1)
|
|
4449
4449
|
return await Q(((Pe = (Je = k == null ? void 0 : k.data) == null ? void 0 : Je.data) == null ? void 0 : Pe[Sa]) || ((ht = (yt = k == null ? void 0 : k.data) == null ? void 0 : yt.result) == null ? void 0 : ht[Sa]), K(ua), Mt, x);
|
|
4450
|
-
if ((
|
|
4450
|
+
if ((kt = (pt = k == null ? void 0 : k.data) == null ? void 0 : pt.data) != null && kt[Sa] || (jt = (St = k == null ? void 0 : k.data) == null ? void 0 : St.result) != null && jt[Sa]) {
|
|
4451
4451
|
let Lt = await qe(((Wt = (aa = k == null ? void 0 : k.data) == null ? void 0 : aa.data) == null ? void 0 : Wt[Sa]) || ((ea = (Rt = k == null ? void 0 : k.data) == null ? void 0 : Rt.result) == null ? void 0 : ea[Sa]), K(ua), Mt);
|
|
4452
4452
|
return Lt && (L = [...L, ...Lt]), Lt;
|
|
4453
4453
|
} else {
|
|
@@ -4494,22 +4494,22 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4494
4494
|
return (Za = (Ia = (qt = (Gn = (Ct = Lt == null ? void 0 : Lt.split("(")) == null ? void 0 : Ct[1]) == null ? void 0 : Gn.split(")")) == null ? void 0 : qt[0]) == null ? void 0 : Ia.split(":")) == null || Za.forEach((ra) => {
|
|
4495
4495
|
var ta, Aa;
|
|
4496
4496
|
Nt = Nt === "" ? Nt + ((ta = ra == null ? void 0 : ra.replaceAll("'", "")) == null ? void 0 : ta.trim()) : Nt + "/" + ((Aa = ra == null ? void 0 : ra.replaceAll("'", "")) == null ? void 0 : Aa.trim());
|
|
4497
|
-
}), await qe((
|
|
4497
|
+
}), await qe((ba = ($a = (Ca = k == null ? void 0 : k.data) == null ? void 0 : Ca.data) == null ? void 0 : $a.data) == null ? void 0 : ba[Mt == null ? void 0 : Mt[0]], Nt, Mt);
|
|
4498
4498
|
}
|
|
4499
4499
|
}
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
4502
|
});
|
|
4503
4503
|
if (await Promise.all(fe), (L == null ? void 0 : L.length) > 0) {
|
|
4504
|
-
let
|
|
4504
|
+
let H = [];
|
|
4505
4505
|
L == null || L.forEach((ae) => {
|
|
4506
|
-
|
|
4506
|
+
H != null && H.find((q) => {
|
|
4507
4507
|
var te, ce, _e, Ie;
|
|
4508
4508
|
return ((ce = (te = q == null ? void 0 : q.value) == null ? void 0 : te.pageData) == null ? void 0 : ce.name) === ((Ie = (_e = ae == null ? void 0 : ae.value) == null ? void 0 : _e.pageData) == null ? void 0 : Ie.name);
|
|
4509
|
-
}) ||
|
|
4509
|
+
}) || H.push(ae);
|
|
4510
4510
|
});
|
|
4511
4511
|
let $ = [];
|
|
4512
|
-
|
|
4512
|
+
H == null || H.forEach((ae) => {
|
|
4513
4513
|
var ce, _e, Ie, ze;
|
|
4514
4514
|
let q = K(ae);
|
|
4515
4515
|
q.value.pageData.compData = (ce = q.value.pageData.compData) == null ? void 0 : ce.map((U) => {
|
|
@@ -4627,7 +4627,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4627
4627
|
})) == null || ge.forEach((de) => {
|
|
4628
4628
|
Se[de.key.pageKey] ? Se[de.key.pageKey] = [...Se[de.key.pageKey], de] : Se[de.key.pageKey] = [de];
|
|
4629
4629
|
}), Z != null && Z[0].path && (ke = await (R == null ? void 0 : R.map(async (de, J) => {
|
|
4630
|
-
var E,
|
|
4630
|
+
var E, W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie;
|
|
4631
4631
|
const ee = (E = Se[de == null ? void 0 : de.path]) == null ? void 0 : E.filter((ze) => {
|
|
4632
4632
|
var U;
|
|
4633
4633
|
return ((U = ze == null ? void 0 : ze.key) == null ? void 0 : U.type) === "data";
|
|
@@ -4639,14 +4639,14 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4639
4639
|
((Re = (U = ze == null ? void 0 : ze.value) == null ? void 0 : U.tableData) == null ? void 0 : Re.算法名称) === ((be = R == null ? void 0 : R[J]) == null ? void 0 : be.method) && (le = (ft = (He = ze == null ? void 0 : ze.value) == null ? void 0 : He.tableData) == null ? void 0 : ft.算法体);
|
|
4640
4640
|
});
|
|
4641
4641
|
const st = await Ft(de == null ? void 0 : de.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, Se);
|
|
4642
|
-
let p = "", x = (V = (S = (k = (
|
|
4642
|
+
let p = "", x = (V = (S = (k = (W = st == null ? void 0 : st[0]) == null ? void 0 : W.compData) == null ? void 0 : k.find((ze) => (ze == null ? void 0 : ze.key) === "header")) == null ? void 0 : S.contents) == null ? void 0 : V.findIndex((ze) => (ze == null ? void 0 : ze.prop) === "算法体");
|
|
4643
4643
|
return (fe = (L = st == null ? void 0 : st[0]) == null ? void 0 : L.compData) == null || fe.forEach((ze) => {
|
|
4644
4644
|
var U;
|
|
4645
4645
|
(ze == null ? void 0 : ze.key) === "tableContents" && ((U = ze == null ? void 0 : ze.contents) == null || U.forEach((Re) => {
|
|
4646
4646
|
Re != null && Re.find((be) => be === (de == null ? void 0 : de.method)) && (p = Re[x]);
|
|
4647
4647
|
}));
|
|
4648
4648
|
}), {
|
|
4649
|
-
buttonName: ((
|
|
4649
|
+
buttonName: ((H = R == null ? void 0 : R[J]) == null ? void 0 : H.method) || ((ae = (Oe = ($ = ee == null ? void 0 : ee[0]) == null ? void 0 : $.value) == null ? void 0 : Oe.tableData) == null ? void 0 : ae.算法名称),
|
|
4650
4650
|
api: (le === "" ? (ce = (te = (q = ee == null ? void 0 : ee[0]) == null ? void 0 : q.value) == null ? void 0 : te.tableData) == null ? void 0 : ce.算法体 : le) || p,
|
|
4651
4651
|
content: Ne == null ? void 0 : Ne.filter((ze) => ze.comp !== "methodButton"),
|
|
4652
4652
|
extraContent: (_e = K(de.value)) == null ? void 0 : _e.slice(1),
|
|
@@ -4655,7 +4655,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4655
4655
|
};
|
|
4656
4656
|
})));
|
|
4657
4657
|
const je = R == null ? void 0 : R.map(async (de) => {
|
|
4658
|
-
var st, p, x, E,
|
|
4658
|
+
var st, p, x, E, W, k;
|
|
4659
4659
|
const J = (st = We.data.result) == null ? void 0 : st.filter((S) => {
|
|
4660
4660
|
var V, L, fe;
|
|
4661
4661
|
return ((V = S == null ? void 0 : S.key) == null ? void 0 : V.parentTable) === "" && ((L = S == null ? void 0 : S.key) == null ? void 0 : L.type) === "method" && ((fe = S == null ? void 0 : S.key) == null ? void 0 : fe.methodName) === S.method;
|
|
@@ -4665,7 +4665,7 @@ const Xc = /* @__PURE__ */ Zt(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4665
4665
|
}), le = await Ft(w.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, Se), Ne = ee == null ? void 0 : ee[0];
|
|
4666
4666
|
return {
|
|
4667
4667
|
buttonName: (x = ne == null ? void 0 : ne.key) == null ? void 0 : x.methodKey,
|
|
4668
|
-
api: (
|
|
4668
|
+
api: (W = (E = Ne == null ? void 0 : Ne.value) == null ? void 0 : E.tableData) == null ? void 0 : W[0],
|
|
4669
4669
|
content: le == null ? void 0 : le.filter((S) => S.comp !== "methodButton"),
|
|
4670
4670
|
extraContent: (k = K(de.value)) == null ? void 0 : k.slice(1),
|
|
4671
4671
|
methodName: (de == null ? void 0 : de.method) ?? ""
|
|
@@ -6299,25 +6299,25 @@ const on = {
|
|
|
6299
6299
|
}), w.value = ne, oe.visible = !0;
|
|
6300
6300
|
}, Ze = ue([]), dt = ue([]), $e = ue({}), qe = ue({}), Ee = () => {
|
|
6301
6301
|
const { compData: J } = Se.value || {}, ne = J == null ? void 0 : J.find((E) => {
|
|
6302
|
-
const { key:
|
|
6303
|
-
return
|
|
6304
|
-
}), ee = (ne == null ? void 0 : ne.contents) || [], le = ee == null ? void 0 : ee.filter((E,
|
|
6302
|
+
const { key: W } = E;
|
|
6303
|
+
return W === "header";
|
|
6304
|
+
}), ee = (ne == null ? void 0 : ne.contents) || [], le = ee == null ? void 0 : ee.filter((E, W) => {
|
|
6305
6305
|
const { label: k } = E;
|
|
6306
6306
|
return k !== "操作";
|
|
6307
|
-
}), Ne = le == null ? void 0 : le.findIndex((E,
|
|
6307
|
+
}), Ne = le == null ? void 0 : le.findIndex((E, W) => {
|
|
6308
6308
|
const { isMainKey: k } = E;
|
|
6309
6309
|
return k;
|
|
6310
6310
|
});
|
|
6311
6311
|
if (Ne < 0)
|
|
6312
6312
|
return [];
|
|
6313
6313
|
const st = J == null ? void 0 : J.find((E) => {
|
|
6314
|
-
const { key:
|
|
6315
|
-
return
|
|
6314
|
+
const { key: W } = E;
|
|
6315
|
+
return W === "tableContents";
|
|
6316
6316
|
}), p = (st == null ? void 0 : st.contents) || [];
|
|
6317
6317
|
return p == null ? void 0 : p.map((E) => {
|
|
6318
|
-
const
|
|
6318
|
+
const W = E == null ? void 0 : E[0];
|
|
6319
6319
|
let k = Ne;
|
|
6320
|
-
oi(
|
|
6320
|
+
oi(W) && (W != null && W.id) && (k = k + 1);
|
|
6321
6321
|
const S = E == null ? void 0 : E[k];
|
|
6322
6322
|
return {
|
|
6323
6323
|
label: S,
|
|
@@ -6727,7 +6727,7 @@ function $d() {
|
|
|
6727
6727
|
}(xi)), xi.exports;
|
|
6728
6728
|
}
|
|
6729
6729
|
$d();
|
|
6730
|
-
const qi = Wr(() => import("./index-
|
|
6730
|
+
const qi = Wr(() => import("./index-kaUmd5Qw.js").then((a) => a.j));
|
|
6731
6731
|
qi.install = (a) => {
|
|
6732
6732
|
a.component("ssMenu", qi);
|
|
6733
6733
|
};
|
|
@@ -6894,7 +6894,7 @@ function Kd(a = "menu") {
|
|
|
6894
6894
|
data: ge
|
|
6895
6895
|
}), u.setIsRefreshMenus(!0);
|
|
6896
6896
|
}, rt = async (ge, P, X) => {
|
|
6897
|
-
var pe, de, J, ne, ee, le, Ne, st, p, x, E,
|
|
6897
|
+
var pe, de, J, ne, ee, le, Ne, st, p, x, E, W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it, ve, Le, nt, Be;
|
|
6898
6898
|
if (P === "create") {
|
|
6899
6899
|
let we = (X == null ? void 0 : X.title) + "(1)", Me = await na({
|
|
6900
6900
|
key: {
|
|
@@ -6920,12 +6920,12 @@ function Kd(a = "menu") {
|
|
|
6920
6920
|
})) == null ? void 0 : p.join("/"), sessionStorage.getItem("systemKey"), "");
|
|
6921
6921
|
if (ye.push(we), ye = ye == null ? void 0 : ye.join("/"), (ot == null ? void 0 : ot.length) > 0) {
|
|
6922
6922
|
let Fe = ot == null ? void 0 : ot[0], Je = (E = (x = Fe == null ? void 0 : Fe.compData) == null ? void 0 : x.find((Pe) => (Pe == null ? void 0 : Pe.key) === "header")) == null ? void 0 : E.contents;
|
|
6923
|
-
if (((
|
|
6923
|
+
if (((W = Je == null ? void 0 : Je[0]) == null ? void 0 : W.directiveLabel) === "#isMain") {
|
|
6924
6924
|
let Pe = (k = Je == null ? void 0 : Je[0]) == null ? void 0 : k.prop, yt = (V = (S = Fe == null ? void 0 : Fe.compData) == null ? void 0 : S.find((pt) => (pt == null ? void 0 : pt.key) === "tableContents")) == null ? void 0 : V.contents, ht;
|
|
6925
6925
|
yt == null || yt.forEach((pt) => {
|
|
6926
|
-
var
|
|
6926
|
+
var kt, St;
|
|
6927
6927
|
if (pt.length === 1)
|
|
6928
|
-
((
|
|
6928
|
+
((kt = pt == null ? void 0 : pt[0]) == null ? void 0 : kt[Pe]) === (X == null ? void 0 : X.title) && (ht = pt == null ? void 0 : pt[0], ht[Pe] = we);
|
|
6929
6929
|
else {
|
|
6930
6930
|
let jt = (St = Je == null ? void 0 : Je.filter((Rt) => Rt !== "操作")) == null ? void 0 : St.map((Rt) => Rt == null ? void 0 : Rt.prop), aa = pt == null ? void 0 : pt.filter((Rt) => !(Rt != null && Rt.id)), Wt = Io(aa, jt);
|
|
6931
6931
|
Wt[Pe] = we, ht = Wt;
|
|
@@ -6933,10 +6933,10 @@ function Kd(a = "menu") {
|
|
|
6933
6933
|
}), await oo({
|
|
6934
6934
|
key: {
|
|
6935
6935
|
type: "data",
|
|
6936
|
-
pageKey: (
|
|
6936
|
+
pageKey: (H = (fe = (L = X == null ? void 0 : X.path) == null ? void 0 : L.split("/")) == null ? void 0 : fe.filter((pt, kt) => {
|
|
6937
6937
|
var St, jt;
|
|
6938
|
-
return
|
|
6939
|
-
})) == null ? void 0 :
|
|
6938
|
+
return kt !== ((jt = (St = X == null ? void 0 : X.path) == null ? void 0 : St.split("/")) == null ? void 0 : jt.length) - 1;
|
|
6939
|
+
})) == null ? void 0 : H.join("/"),
|
|
6940
6940
|
tableId: Fe == null ? void 0 : Fe.id,
|
|
6941
6941
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
6942
6942
|
createUserId: ($ = d.value) == null ? void 0 : $.id,
|
|
@@ -6985,9 +6985,9 @@ function Kd(a = "menu") {
|
|
|
6985
6985
|
return Je !== ((yt = (Pe = X == null ? void 0 : X.path) == null ? void 0 : Pe.split("/")) == null ? void 0 : yt.length) - 1;
|
|
6986
6986
|
})) == null ? void 0 : lt.join("/"), sessionStorage.getItem("systemKey"), ""), ot = [];
|
|
6987
6987
|
(ye == null ? void 0 : ye.length) > 0 && (ye == null || ye.forEach((Fe) => {
|
|
6988
|
-
var Pe, yt, ht, pt,
|
|
6988
|
+
var Pe, yt, ht, pt, kt, St, jt, aa, Wt, Rt, ea;
|
|
6989
6989
|
let Je = (pt = (ht = (yt = (Pe = Fe == null ? void 0 : Fe.compData) == null ? void 0 : Pe.find((Et) => (Et == null ? void 0 : Et.key) === "header")) == null ? void 0 : yt.contents) == null ? void 0 : ht[0]) == null ? void 0 : pt.prop;
|
|
6990
|
-
((aa = (jt = (St = (
|
|
6990
|
+
((aa = (jt = (St = (kt = Fe == null ? void 0 : Fe.compData) == null ? void 0 : kt.find((Et) => (Et == null ? void 0 : Et.key) === "header")) == null ? void 0 : St.contents) == null ? void 0 : jt[0]) == null ? void 0 : aa.directiveLabel) === "#isMain" && ((ea = (Rt = (Wt = Fe == null ? void 0 : Fe.compData) == null ? void 0 : Wt.find((Et) => (Et == null ? void 0 : Et.key) === "tableContents")) == null ? void 0 : Rt.contents) == null || ea.forEach((Et) => {
|
|
6991
6991
|
var sa, va, Vt;
|
|
6992
6992
|
(Et == null ? void 0 : Et.length) > 1 ? (Et == null ? void 0 : Et[1]) === (X == null ? void 0 : X.title) && ot.push((sa = Et == null ? void 0 : Et[0]) == null ? void 0 : sa.id) : ((va = Et == null ? void 0 : Et[0]) == null ? void 0 : va[Je]) === (X == null ? void 0 : X.title) && ot.push((Vt = Et == null ? void 0 : Et[0]) == null ? void 0 : Vt.id);
|
|
6993
6993
|
}));
|
|
@@ -6999,7 +6999,7 @@ function Kd(a = "menu") {
|
|
|
6999
6999
|
})) == null ? void 0 : Le.join("/")), u.setActiveTopMenuPath((Be = (nt = X == null ? void 0 : X.path) == null ? void 0 : nt.split("/")) == null ? void 0 : Be[0]), u.setIsRefreshMenus(!1), u.setIsRefreshMenus(!0);
|
|
7000
7000
|
}
|
|
7001
7001
|
}, Z = async (ge, P) => {
|
|
7002
|
-
var st, p, x, E,
|
|
7002
|
+
var st, p, x, E, W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it;
|
|
7003
7003
|
let X = await na({
|
|
7004
7004
|
key: {
|
|
7005
7005
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -7015,13 +7015,13 @@ function Kd(a = "menu") {
|
|
|
7015
7015
|
pageData: de
|
|
7016
7016
|
}
|
|
7017
7017
|
});
|
|
7018
|
-
let J = (k = (
|
|
7018
|
+
let J = (k = (W = P == null ? void 0 : P.path) == null ? void 0 : W.split("/")) == null ? void 0 : k.filter((ve, Le) => {
|
|
7019
7019
|
var nt, Be;
|
|
7020
7020
|
return Le !== ((Be = (nt = P == null ? void 0 : P.path) == null ? void 0 : nt.split("/")) == null ? void 0 : Be.length) - 1;
|
|
7021
7021
|
}), ne = J == null ? void 0 : J.join("/");
|
|
7022
7022
|
J.push((S = ge == null ? void 0 : ge.target) == null ? void 0 : S.value), J = J == null ? void 0 : J.join("/");
|
|
7023
7023
|
let ee = await Ft(ne, sessionStorage.getItem("systemKey"), "");
|
|
7024
|
-
if ((($ = (
|
|
7024
|
+
if ((($ = (H = (fe = (L = (V = ee == null ? void 0 : ee[0]) == null ? void 0 : V.compData) == null ? void 0 : L.find((ve) => (ve == null ? void 0 : ve.key) === "header")) == null ? void 0 : fe.contents) == null ? void 0 : H[0]) == null ? void 0 : $.directiveLabel) === "#isMain") {
|
|
7025
7025
|
let ve = (ce = (te = (q = (ae = (Oe = ee == null ? void 0 : ee[0]) == null ? void 0 : Oe.compData) == null ? void 0 : ae.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : q.contents) == null ? void 0 : te[0]) == null ? void 0 : ce.prop, Le = (ze = (Ie = (_e = ee == null ? void 0 : ee[0]) == null ? void 0 : _e.compData) == null ? void 0 : Ie.find((we) => (we == null ? void 0 : we.key) === "tableContents")) == null ? void 0 : ze.contents, nt = (He = (be = (Re = (U = ee == null ? void 0 : ee[0]) == null ? void 0 : U.compData) == null ? void 0 : Re.find((we) => (we == null ? void 0 : we.key) === "header")) == null ? void 0 : be.contents) == null ? void 0 : He.map((we) => we == null ? void 0 : we.prop), Be;
|
|
7026
7026
|
if (Le == null || Le.forEach((we) => {
|
|
7027
7027
|
var xe;
|
|
@@ -7119,12 +7119,12 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7119
7119
|
payloadTypes: vo,
|
|
7120
7120
|
pageMapState: Ti,
|
|
7121
7121
|
itemExtendData: mi
|
|
7122
|
-
} = Qt(ia), Yt = Vn(Jt), { activeTopMenuPath: Rl, activeMenuPath:
|
|
7122
|
+
} = Qt(ia), Yt = Vn(Jt), { activeTopMenuPath: Rl, activeMenuPath: bt, platform: eh, activeAsideMenu: Hd, buttonTriggerType: Vd, menus: qd } = Qt(Yt), Pa = bs(Jt), { selectTitle: Gd, chooseTitle: da } = Qt(Pa), Xd = ro(Jt), { originalPath: Bi } = Qt(Xd), ma = ue(), Ko = _s(Jt), Gi = ue(!0), ri = ue(0), Xi = ue([]), Ll = ue(!1), Ta = Ut(async () => {
|
|
7123
7123
|
var l, r;
|
|
7124
|
-
const a = (l =
|
|
7124
|
+
const a = (l = bt.value) != null && l.startsWith("/") ? (r = bt.value) == null ? void 0 : r.substring(1) : bt.value;
|
|
7125
7125
|
return (a == null ? void 0 : a.includes(Bi.value)) || await ap(a);
|
|
7126
7126
|
}), th = () => {
|
|
7127
|
-
ia.setItemGridData([]), ia.setIsEdit("edit"), ia.setSubmitCurStructure(
|
|
7127
|
+
ia.setItemGridData([]), ia.setIsEdit("edit"), ia.setSubmitCurStructure(bt.value !== "/平台管理/菜单管理");
|
|
7128
7128
|
}, ah = () => {
|
|
7129
7129
|
ia.setIsEdit("view"), ia.setRefreshCurStructure(!0);
|
|
7130
7130
|
}, nh = async (a) => {
|
|
@@ -7199,10 +7199,10 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7199
7199
|
}
|
|
7200
7200
|
})), j = JSON.parse(K(JSON.stringify(a))), oe = (d = j == null ? void 0 : j.results) == null ? void 0 : d.map((g) => g.id);
|
|
7201
7201
|
let w;
|
|
7202
|
-
r ? w = (z = (_ = (b = Ti.value) == null ? void 0 : b[
|
|
7202
|
+
r ? w = (z = (_ = (b = Ti.value) == null ? void 0 : b[bt.value]) == null ? void 0 : _.filter((g) => {
|
|
7203
7203
|
var I, C, me;
|
|
7204
7204
|
return ((I = g == null ? void 0 : g.key) == null ? void 0 : I.type) === l && ((me = (C = g == null ? void 0 : g.key) == null ? void 0 : C.relatedInfo) == null ? void 0 : me.target) === i;
|
|
7205
|
-
})) == null ? void 0 : z.map((g) => g == null ? void 0 : g.id) : w = (B = (Y = (M = Ti.value) == null ? void 0 : M[
|
|
7205
|
+
})) == null ? void 0 : z.map((g) => g == null ? void 0 : g.id) : w = (B = (Y = (M = Ti.value) == null ? void 0 : M[bt.value]) == null ? void 0 : Y.filter((g) => {
|
|
7206
7206
|
var I;
|
|
7207
7207
|
return ((I = g == null ? void 0 : g.key) == null ? void 0 : I.type) === l;
|
|
7208
7208
|
})) == null ? void 0 : B.map((g) => g == null ? void 0 : g.id);
|
|
@@ -7250,7 +7250,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7250
7250
|
return (a = mt.value) == null ? void 0 : a.filter((l) => !(l != null && l.affix) || (l == null ? void 0 : l.affix) === "default");
|
|
7251
7251
|
}), Jd = async (a) => {
|
|
7252
7252
|
var i, c, u, y, v, d;
|
|
7253
|
-
let l = K(
|
|
7253
|
+
let l = K(bt).value;
|
|
7254
7254
|
l = l + Bi.value + ((i = Object.values(a == null ? void 0 : a.singleContent)) == null ? void 0 : i[0]);
|
|
7255
7255
|
const r = await na({
|
|
7256
7256
|
keyLikes: {
|
|
@@ -7270,7 +7270,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7270
7270
|
}, No = async (a) => {
|
|
7271
7271
|
var l, r;
|
|
7272
7272
|
try {
|
|
7273
|
-
let i = K(
|
|
7273
|
+
let i = K(bt).value, c = [];
|
|
7274
7274
|
if (Array.isArray(a)) {
|
|
7275
7275
|
a == null || a.forEach((y) => {
|
|
7276
7276
|
var v;
|
|
@@ -7314,7 +7314,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7314
7314
|
const { id: i, ...c } = K(a == null ? void 0 : a.data), u = await oo({
|
|
7315
7315
|
key: {
|
|
7316
7316
|
type: "data",
|
|
7317
|
-
pageKey:
|
|
7317
|
+
pageKey: bt.value,
|
|
7318
7318
|
tableId: (l = a == null ? void 0 : a.to) == null ? void 0 : l.groupName,
|
|
7319
7319
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7320
7320
|
},
|
|
@@ -7332,17 +7332,17 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7332
7332
|
throw Gt.error(i), new Error(i);
|
|
7333
7333
|
}
|
|
7334
7334
|
}, Qd = ue(0), Ji = ue(null), Zi = async (a, l = "data", r) => {
|
|
7335
|
-
var c, u, y, v, d, b, _, z, M, Y, B, Ce, G, j, oe, w, F, g, I, C, me, Ze, dt, $e, qe, Ee, O, Q, se, he, Qe, rt, Z, R, ke, Se, We, je, tt, Ye, ge, P, X, pe, de, J, ne, ee, le, Ne, st, p, x, E,
|
|
7335
|
+
var c, u, y, v, d, b, _, z, M, Y, B, Ce, G, j, oe, w, F, g, I, C, me, Ze, dt, $e, qe, Ee, O, Q, se, he, Qe, rt, Z, R, ke, Se, We, je, tt, Ye, ge, P, X, pe, de, J, ne, ee, le, Ne, st, p, x, E, W, k, S, V, L, fe, H, $, Oe, ae, q, te, ce, _e, Ie, ze, U, Re, be, He, ft, Xe, ut, Ue, wt, lt, it;
|
|
7336
7336
|
Ji.value = null;
|
|
7337
|
-
let i =
|
|
7338
|
-
if ((c =
|
|
7337
|
+
let i = bt.value;
|
|
7338
|
+
if ((c = ma.value) != null && c.compData && ((u = ma.value) == null ? void 0 : u.compData) !== bt.value && (i = i + "/" + ((v = (y = da.value) == null ? void 0 : y[0]) == null ? void 0 : v.value)), (a == null ? void 0 : a.buttonName) === "删除") {
|
|
7339
7339
|
if (typeof ((d = a == null ? void 0 : a.singleContent) == null ? void 0 : d.id) == "string" ? await No(a) : await gs((b = a == null ? void 0 : a.singleContent) == null ? void 0 : b.id, a), ((z = (_ = a == null ? void 0 : a.column) == null ? void 0 : _[0]) == null ? void 0 : z.directiveLabel) === "#isMain") {
|
|
7340
7340
|
let ve = (B = a == null ? void 0 : a.singleContent) == null ? void 0 : B[(Y = (M = a == null ? void 0 : a.column) == null ? void 0 : M[0]) == null ? void 0 : Y.prop], Le = await na({
|
|
7341
7341
|
key: {
|
|
7342
7342
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7343
7343
|
pageKey: "menu"
|
|
7344
7344
|
}
|
|
7345
|
-
}), nt =
|
|
7345
|
+
}), nt = bt.value + "/" + ve, Be = await na({
|
|
7346
7346
|
key: {
|
|
7347
7347
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7348
7348
|
pageKey: nt
|
|
@@ -7367,7 +7367,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7367
7367
|
await yn.setLogRecordAsync({
|
|
7368
7368
|
type: "删除",
|
|
7369
7369
|
data: a
|
|
7370
|
-
},
|
|
7370
|
+
}, bt.value);
|
|
7371
7371
|
} else if ((a == null ? void 0 : a.buttonName) === "批量删除")
|
|
7372
7372
|
if ((Ze = a == null ? void 0 : a.selectItems) != null && Ze.every((ve) => typeof (ve == null ? void 0 : ve.id) == "string")) {
|
|
7373
7373
|
const ve = (dt = a == null ? void 0 : a.selectItems) == null ? void 0 : dt.map((Le) => ({
|
|
@@ -7386,7 +7386,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7386
7386
|
}), await yn.setLogRecordAsync({
|
|
7387
7387
|
type: "删除",
|
|
7388
7388
|
data: ve
|
|
7389
|
-
},
|
|
7389
|
+
}, bt.value);
|
|
7390
7390
|
}
|
|
7391
7391
|
else if ((a == null ? void 0 : a.buttonName) === "新增") {
|
|
7392
7392
|
let ve = {};
|
|
@@ -7414,7 +7414,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7414
7414
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7415
7415
|
pageKey: "menu"
|
|
7416
7416
|
}
|
|
7417
|
-
}), we =
|
|
7417
|
+
}), we = bt.value + "/" + (nt == null ? void 0 : nt.slice(0, (nt == null ? void 0 : nt.length) - 3)), Me = await na({
|
|
7418
7418
|
key: {
|
|
7419
7419
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7420
7420
|
pageKey: we
|
|
@@ -7426,15 +7426,15 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7426
7426
|
pageData: T
|
|
7427
7427
|
}
|
|
7428
7428
|
}), ((We = (Se = Me == null ? void 0 : Me.data) == null ? void 0 : Se.result) == null ? void 0 : We.length) > 0)
|
|
7429
|
-
await xl(we,
|
|
7429
|
+
await xl(we, bt.value + "/" + nt);
|
|
7430
7430
|
else {
|
|
7431
7431
|
let ye = await na({
|
|
7432
7432
|
key: {
|
|
7433
|
-
pageKey:
|
|
7433
|
+
pageKey: bt.value + "/",
|
|
7434
7434
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7435
7435
|
}
|
|
7436
7436
|
});
|
|
7437
|
-
((tt = (je = ye == null ? void 0 : ye.data) == null ? void 0 : je.result) == null ? void 0 : tt.length) >= 1 ? await Di(
|
|
7437
|
+
((tt = (je = ye == null ? void 0 : ye.data) == null ? void 0 : je.result) == null ? void 0 : tt.length) >= 1 ? await Di(bt.value + "/", bt.value + "/" + nt) : await Di(bt.value, bt.value + "/" + nt);
|
|
7438
7438
|
}
|
|
7439
7439
|
Yt.setUpdateMenuStatus(!1), await Wn(), Yt.setIsRefreshMenus(!1), Yt.setIsRefreshMenus(!0), Yt.setActiveMenuPath((ge = (Ye = we == null ? void 0 : we.split("/")) == null ? void 0 : Ye.filter((ye, ot) => {
|
|
7440
7440
|
var Fe;
|
|
@@ -7453,8 +7453,8 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7453
7453
|
}
|
|
7454
7454
|
}), nt = await na({
|
|
7455
7455
|
id: (Ne = a == null ? void 0 : a.singleContent) == null ? void 0 : Ne.id
|
|
7456
|
-
}), Be = (S = (E = (x = (p = (st = nt == null ? void 0 : nt.data) == null ? void 0 : st.result) == null ? void 0 : p[0]) == null ? void 0 : x.value) == null ? void 0 : E.tableData) == null ? void 0 : S[(k = (
|
|
7457
|
-
xe.compData = (
|
|
7456
|
+
}), Be = (S = (E = (x = (p = (st = nt == null ? void 0 : nt.data) == null ? void 0 : st.result) == null ? void 0 : p[0]) == null ? void 0 : x.value) == null ? void 0 : E.tableData) == null ? void 0 : S[(k = (W = a == null ? void 0 : a.column) == null ? void 0 : W[0]) == null ? void 0 : k.prop], we = bt.value + "/" + Be, Me = (L = (V = Le == null ? void 0 : Le.data) == null ? void 0 : V.result) == null ? void 0 : L[0], xe = (fe = Me == null ? void 0 : Me.value) == null ? void 0 : fe.pageData;
|
|
7457
|
+
xe.compData = (H = xe.compData) == null ? void 0 : H.map((T) => ((T == null ? void 0 : T.key) === "menuContents" && (T.contents = po(T.contents, we == null ? void 0 : we.split("/"), Be, ve)), T)), await nn({
|
|
7458
7458
|
id: Me == null ? void 0 : Me.id,
|
|
7459
7459
|
value: {
|
|
7460
7460
|
pageData: xe
|
|
@@ -7485,7 +7485,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7485
7485
|
}) : Le.push({
|
|
7486
7486
|
key: {
|
|
7487
7487
|
type: l,
|
|
7488
|
-
pageKey: Be || Me ||
|
|
7488
|
+
pageKey: Be || Me || bt.value,
|
|
7489
7489
|
tableId: we || (a == null ? void 0 : a.index),
|
|
7490
7490
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7491
7491
|
},
|
|
@@ -7515,10 +7515,10 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7515
7515
|
}
|
|
7516
7516
|
ia.setCacheUpdatingData(null);
|
|
7517
7517
|
} else (a == null ? void 0 : a.buttonName) === "迁移" && await Zd(a == null ? void 0 : a.value);
|
|
7518
|
-
ia.setTableLoading(!1), (wt = a == null ? void 0 : a.column) != null && wt.some((ve) => ve == null ? void 0 : ve.isMainKey)
|
|
7518
|
+
ia.setTableLoading(!1), (wt = a == null ? void 0 : a.column) != null && wt.some((ve) => ve == null ? void 0 : ve.isMainKey), mt.value = await Ft(i, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value), mt.value = (lt = mt.value) == null ? void 0 : lt.filter((ve) => {
|
|
7519
7519
|
var Le;
|
|
7520
7520
|
return ((Le = ve == null ? void 0 : ve.compData) == null ? void 0 : Le.length) > 0;
|
|
7521
|
-
}), mt.value = (it = mt.value) == null ? void 0 : it.filter((ve) => (ve == null ? void 0 : ve.comp) !== ""), mt.value = ui(mt.value)
|
|
7521
|
+
}), mt.value = (it = mt.value) == null ? void 0 : it.filter((ve) => (ve == null ? void 0 : ve.comp) !== ""), mt.value = ui(mt.value), Fl.value && (a == null ? void 0 : a.buttonName) !== "删除" && ia.setRefreshCurStructure(!0);
|
|
7522
7522
|
}, ep = async (a) => {
|
|
7523
7523
|
var r, i, c;
|
|
7524
7524
|
const l = await na({
|
|
@@ -7592,7 +7592,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7592
7592
|
}, console.log("getPageExtendData:", r, l);
|
|
7593
7593
|
}, lh = () => {
|
|
7594
7594
|
var a, l;
|
|
7595
|
-
console.log("倒计时结束时"), ja.alert(`超时未提交,【${(l = (a =
|
|
7595
|
+
console.log("倒计时结束时"), ja.alert(`超时未提交,【${(l = (a = bt.value) == null ? void 0 : a.split("/")) == null ? void 0 : l[0]}】失败`, "告警", {
|
|
7596
7596
|
// autofocus: false,
|
|
7597
7597
|
confirmButtonText: "确认",
|
|
7598
7598
|
type: "error"
|
|
@@ -7606,7 +7606,7 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7606
7606
|
}, Pl = () => {
|
|
7607
7607
|
var a, l, r, i;
|
|
7608
7608
|
try {
|
|
7609
|
-
if (Rl.value !== "报告中心" || !((a =
|
|
7609
|
+
if (Rl.value !== "报告中心" || !((a = bt.value) != null && a.includes(Bi.value))) return;
|
|
7610
7610
|
const c = (l = mt.value) == null ? void 0 : l.find((d) => {
|
|
7611
7611
|
var b;
|
|
7612
7612
|
return ((b = d == null ? void 0 : d.comp) == null ? void 0 : b.toUpperCase()) === "FORM";
|
|
@@ -7616,13 +7616,13 @@ const yn = Ai(), { loginUserInfo: yi } = Qt(yn), ia = Pn(Jt), _i = ue(!1), {
|
|
|
7616
7616
|
prop: "状态",
|
|
7617
7617
|
value: "编制中"
|
|
7618
7618
|
}, y = (i = (r = c == null ? void 0 : c.compData) == null ? void 0 : r.find((d) => (d == null ? void 0 : d.key) === "formContent")) == null ? void 0 : i.contents, v = y == null ? void 0 : y.find((d) => (d == null ? void 0 : d.prop) === (u == null ? void 0 : u.prop));
|
|
7619
|
-
v != null && v.value && (v == null ? void 0 : v.value) !== (u == null ? void 0 : u.value) && ia.setLockingPage(
|
|
7619
|
+
v != null && v.value && (v == null ? void 0 : v.value) !== (u == null ? void 0 : u.value) && ia.setLockingPage(bt.value);
|
|
7620
7620
|
} catch (c) {
|
|
7621
7621
|
throw Gt.error(c), new Error(c);
|
|
7622
7622
|
}
|
|
7623
7623
|
}, Ml = ue([]), rh = Ut(() => {
|
|
7624
7624
|
var a, l;
|
|
7625
|
-
return (l = (a = Ti.value) == null ? void 0 : a[
|
|
7625
|
+
return (l = (a = Ti.value) == null ? void 0 : a[bt.value]) == null ? void 0 : l.filter((r) => {
|
|
7626
7626
|
var i;
|
|
7627
7627
|
return ((i = r == null ? void 0 : r.key) == null ? void 0 : i.type) === "gridLayout";
|
|
7628
7628
|
});
|
|
@@ -7638,7 +7638,7 @@ _t(
|
|
|
7638
7638
|
() => [da.value],
|
|
7639
7639
|
async () => {
|
|
7640
7640
|
var i, c, u, y, v, d, b, _, z, M, Y, B, Ce, G, j, oe, w, F, g, I, C, me, Ze, dt, $e, qe, Ee, O, Q, se, he, Qe, rt, Z, R, ke, Se, We, je, tt, Ye, ge, P, X;
|
|
7641
|
-
if (((i =
|
|
7641
|
+
if (((i = ma.value) == null ? void 0 : i.compData) === bt.value || ((c = da.value) == null ? void 0 : c.length) === 0)
|
|
7642
7642
|
return;
|
|
7643
7643
|
Yt.setContentLoading(!0);
|
|
7644
7644
|
let a = /* @__PURE__ */ new WeakMap();
|
|
@@ -7650,16 +7650,16 @@ _t(
|
|
|
7650
7650
|
return ((de = pe == null ? void 0 : pe.key) == null ? void 0 : de.pageKey) !== "menu" && ((J = pe == null ? void 0 : pe.key) == null ? void 0 : J.pageKey) !== "secret";
|
|
7651
7651
|
})) == null || y.forEach((pe) => {
|
|
7652
7652
|
a[pe.key.pageKey] ? a[pe.key.pageKey] = [...a[pe.key.pageKey], pe] : a[pe.key.pageKey] = [pe];
|
|
7653
|
-
}), mt.value = await Ft(
|
|
7654
|
-
let pe = (_ =
|
|
7653
|
+
}), mt.value = await Ft(bt.value, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, a), Ll.value = !!((v = mt.value) != null && v.find((pe) => (pe == null ? void 0 : pe.comp) === "")), ma.value = (d = mt.value) == null ? void 0 : d.find((pe) => (pe == null ? void 0 : pe.comp) === ""), ((b = ma.value) == null ? void 0 : b.compData) === bt.value) {
|
|
7654
|
+
let pe = (_ = bt.value) == null ? void 0 : _.split("/").map((de) => ({ value: de.trim() }));
|
|
7655
7655
|
pe = [...pe, ...da.value ?? []];
|
|
7656
7656
|
} else {
|
|
7657
|
-
let pe = (M = (z =
|
|
7657
|
+
let pe = (M = (z = ma.value) == null ? void 0 : z.compData) == null ? void 0 : M.split("/").map((de) => ({
|
|
7658
7658
|
value: de.trim(),
|
|
7659
7659
|
condition: "parent"
|
|
7660
7660
|
}));
|
|
7661
7661
|
if (!(!pe || (pe == null ? void 0 : pe.length) === 0)) {
|
|
7662
|
-
let de = await Ft((Y =
|
|
7662
|
+
let de = await Ft((Y = ma.value) == null ? void 0 : Y.compData, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, a);
|
|
7663
7663
|
de = de == null ? void 0 : de.filter((le) => {
|
|
7664
7664
|
var Ne, st, p;
|
|
7665
7665
|
return Array.isArray(le == null ? void 0 : le.compData) && ((p = (st = (Ne = le == null ? void 0 : le.compData) == null ? void 0 : Ne.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : st.contents) == null ? void 0 : p.find((x) => (x == null ? void 0 : x.directiveLabel) === "#isMain"));
|
|
@@ -7672,8 +7672,8 @@ _t(
|
|
|
7672
7672
|
label: le,
|
|
7673
7673
|
value: le
|
|
7674
7674
|
})), ($e = da.value) == null || $e.length, ((Ee = (qe = da.value) == null ? void 0 : qe[0]) == null ? void 0 : Ee.value) !== "") {
|
|
7675
|
-
let le = await Ft(
|
|
7676
|
-
le || (await Di(
|
|
7675
|
+
let le = await Ft(bt.value + "/" + ((Q = (O = da.value) == null ? void 0 : O[0]) == null ? void 0 : Q.value), sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, a);
|
|
7676
|
+
le || (await Di(bt.value, bt.value + "/" + ((he = (se = da.value) == null ? void 0 : se[0]) == null ? void 0 : he.value)), le = await Ft(bt.value + "/" + ((rt = (Qe = da.value) == null ? void 0 : Qe[0]) == null ? void 0 : rt.value), sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value)), mt.value = le;
|
|
7677
7677
|
}
|
|
7678
7678
|
}
|
|
7679
7679
|
(pe == null ? void 0 : pe.length) > 0 && ((R = (Z = da.value) == null ? void 0 : Z[0]) == null ? void 0 : R.value) === "" && (mt.value = []);
|
|
@@ -7681,16 +7681,16 @@ _t(
|
|
|
7681
7681
|
mt.value = (ke = mt.value) == null ? void 0 : ke.filter((pe) => (pe == null ? void 0 : pe.comp) !== "");
|
|
7682
7682
|
let r = "";
|
|
7683
7683
|
if (!mt.value) {
|
|
7684
|
-
let pe = (je = (We = (Se =
|
|
7684
|
+
let pe = (je = (We = (Se = bt.value) == null ? void 0 : Se.split("/")) == null ? void 0 : We.filter((de, J) => {
|
|
7685
7685
|
var ne, ee;
|
|
7686
|
-
return J !== ((ee = (ne =
|
|
7686
|
+
return J !== ((ee = (ne = bt.value) == null ? void 0 : ne.split("/")) == null ? void 0 : ee.length) - 1;
|
|
7687
7687
|
})) == null ? void 0 : je.join("/");
|
|
7688
|
-
mt.value = await Ft(pe, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, a), r = (P = (tt =
|
|
7688
|
+
mt.value = await Ft(pe, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, a), r = (P = (tt = bt.value) == null ? void 0 : tt.split("/")) == null ? void 0 : P[((ge = (Ye = bt.value) == null ? void 0 : Ye.split("/")) == null ? void 0 : ge.length) - 1];
|
|
7689
7689
|
}
|
|
7690
7690
|
await yn.setLogRecordAsync({
|
|
7691
7691
|
type: "查询",
|
|
7692
7692
|
data: mt.value
|
|
7693
|
-
},
|
|
7693
|
+
}, bt.value), r !== "" && (mt.value = (X = mt.value) == null ? void 0 : X.map((pe) => {
|
|
7694
7694
|
var de;
|
|
7695
7695
|
return pe != null && pe.isShow && (pe.compData = (de = pe == null ? void 0 : pe.compData) == null ? void 0 : de.map((J) => {
|
|
7696
7696
|
var ne, ee, le, Ne, st;
|
|
@@ -7721,10 +7721,10 @@ const op = (a, l) => {
|
|
|
7721
7721
|
}) && i(a, l), r;
|
|
7722
7722
|
};
|
|
7723
7723
|
_t(
|
|
7724
|
-
() => [
|
|
7724
|
+
() => [bt.value, Ud.value],
|
|
7725
7725
|
async (a) => {
|
|
7726
7726
|
var u, y, v, d, b, _, z, M, Y, B, Ce, G, j, oe, w, F, g, I, C, me, Ze, dt, $e, qe, Ee, O, Q, se, he, Qe, rt, Z, R, ke, Se, We, je, tt, Ye, ge, P, X, pe, de, J, ne, ee, le, Ne, st;
|
|
7727
|
-
if (!
|
|
7727
|
+
if (!bt.value)
|
|
7728
7728
|
return;
|
|
7729
7729
|
ia.setLockingPage(""), mt.value = [];
|
|
7730
7730
|
let l = Vr();
|
|
@@ -7740,56 +7740,58 @@ _t(
|
|
|
7740
7740
|
})) == null || b.forEach((p) => {
|
|
7741
7741
|
i[p.key.pageKey] ? i[p.key.pageKey] = [...i[p.key.pageKey], p] : i[p.key.pageKey] = [p];
|
|
7742
7742
|
}), Xi.value = i, r) {
|
|
7743
|
-
Yt.setContentLoading(!0), sessionStorage.setItem("pageKey",
|
|
7743
|
+
Yt.setContentLoading(!0), sessionStorage.setItem("pageKey", bt.value), Pa.setSelectTitle([]), mt.value = await Ft(r, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, i), Ll.value = !!((_ = mt.value) != null && _.find((E) => (E == null ? void 0 : E.comp) === "")), ma.value = (z = mt.value) == null ? void 0 : z.find((E) => (E == null ? void 0 : E.comp) === "");
|
|
7744
7744
|
let p = [];
|
|
7745
|
-
if (!((M =
|
|
7746
|
-
let E = op(qd.value, (Y =
|
|
7747
|
-
|
|
7745
|
+
if (!((M = ma.value) != null && M.compData)) {
|
|
7746
|
+
let E = op(qd.value, (Y = bt.value) == null ? void 0 : Y.split("/")), W = await Ft(r + "/" + E, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, i);
|
|
7747
|
+
W != null && W.find((k) => (k == null ? void 0 : k.comp) === "") ? p = (Ce = (B = W == null ? void 0 : W.find((k) => (k == null ? void 0 : k.comp) === "")) == null ? void 0 : B.compData) == null ? void 0 : Ce.split("/").map((k) => ({
|
|
7748
7748
|
value: k.trim(),
|
|
7749
7749
|
condition: "parent"
|
|
7750
7750
|
})) : Pa.setChooseTitle([]);
|
|
7751
7751
|
}
|
|
7752
|
-
if (((G =
|
|
7753
|
-
let E = (j =
|
|
7752
|
+
if (((G = ma.value) == null ? void 0 : G.compData) === bt.value) {
|
|
7753
|
+
let E = (j = bt.value) == null ? void 0 : j.split("/").map((W) => ({ value: W.trim() }));
|
|
7754
7754
|
E = [...E, ...da.value ?? []], Pa.setSelectTitle(E);
|
|
7755
7755
|
} else {
|
|
7756
|
-
let E = [],
|
|
7756
|
+
let E = [], W = (w = (oe = ma.value) == null ? void 0 : oe.compData) == null ? void 0 : w.split("/").map((V) => ({
|
|
7757
7757
|
value: V.trim(),
|
|
7758
7758
|
condition: "parent"
|
|
7759
7759
|
}));
|
|
7760
|
-
if (!
|
|
7761
|
-
|
|
7760
|
+
if (!W || (W == null ? void 0 : W.length) === 0)
|
|
7761
|
+
W = p, (W == null ? void 0 : W.length) === 0 && (ma.value = {
|
|
7762
|
+
compData: bt.value
|
|
7763
|
+
});
|
|
7762
7764
|
else {
|
|
7763
|
-
let V = await Ft((F =
|
|
7765
|
+
let V = await Ft((F = ma.value) == null ? void 0 : F.compData, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, i);
|
|
7764
7766
|
V = V == null ? void 0 : V.filter(($) => {
|
|
7765
7767
|
var Oe, ae, q;
|
|
7766
7768
|
return Array.isArray($ == null ? void 0 : $.compData) && ((q = (ae = (Oe = $ == null ? void 0 : $.compData) == null ? void 0 : Oe.find((te) => (te == null ? void 0 : te.key) === "header")) == null ? void 0 : ae.contents) == null ? void 0 : q.find((te) => (te == null ? void 0 : te.directiveLabel) === "#isMain"));
|
|
7767
7769
|
});
|
|
7768
|
-
let L = (Ze = (me = (C = (I = (g = V == null ? void 0 : V[0]) == null ? void 0 : g.compData) == null ? void 0 : I.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : C.contents) == null ? void 0 : me.find(($) => ($ == null ? void 0 : $.directiveLabel) === "#isMain")) == null ? void 0 : Ze.prop, fe = (Ee = (qe = ($e = (dt = V == null ? void 0 : V[0]) == null ? void 0 : dt.compData) == null ? void 0 : $e.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : qe.contents) == null ? void 0 : Ee.findIndex(($) => ($ == null ? void 0 : $.directiveLabel) === "#isMain"),
|
|
7770
|
+
let L = (Ze = (me = (C = (I = (g = V == null ? void 0 : V[0]) == null ? void 0 : g.compData) == null ? void 0 : I.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : C.contents) == null ? void 0 : me.find(($) => ($ == null ? void 0 : $.directiveLabel) === "#isMain")) == null ? void 0 : Ze.prop, fe = (Ee = (qe = ($e = (dt = V == null ? void 0 : V[0]) == null ? void 0 : dt.compData) == null ? void 0 : $e.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : qe.contents) == null ? void 0 : Ee.findIndex(($) => ($ == null ? void 0 : $.directiveLabel) === "#isMain"), H = (he = (se = (Q = (O = V == null ? void 0 : V[0]) == null ? void 0 : O.compData) == null ? void 0 : Q.find(($) => ($ == null ? void 0 : $.key) === "tableContents")) == null ? void 0 : se.contents) == null ? void 0 : he.map(($) => {
|
|
7769
7771
|
var Oe;
|
|
7770
7772
|
return ($ == null ? void 0 : $.length) > 1 ? $ == null ? void 0 : $[fe + 1] : (Oe = $ == null ? void 0 : $[0]) == null ? void 0 : Oe[L];
|
|
7771
7773
|
});
|
|
7772
|
-
if (
|
|
7774
|
+
if (H = H == null ? void 0 : H.map(($) => ({
|
|
7773
7775
|
label: $,
|
|
7774
7776
|
value: $
|
|
7775
7777
|
})), ((Qe = da.value) == null ? void 0 : Qe.length) === 0 && Pa.setChooseTitle([{
|
|
7776
7778
|
value: "",
|
|
7777
7779
|
condition: "child",
|
|
7778
|
-
options:
|
|
7779
|
-
parentContent: (rt =
|
|
7780
|
+
options: H,
|
|
7781
|
+
parentContent: (rt = ma.value) == null ? void 0 : rt.compData
|
|
7780
7782
|
}]), ((R = (Z = da.value) == null ? void 0 : Z[0]) == null ? void 0 : R.value) !== "") {
|
|
7781
|
-
let $ = await Ft(
|
|
7782
|
-
$ || (await Di(
|
|
7783
|
+
let $ = await Ft(bt.value + "/" + ((Se = (ke = da.value) == null ? void 0 : ke[0]) == null ? void 0 : Se.value), sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value, i);
|
|
7784
|
+
$ || (await Di(bt.value, bt.value + "/" + ((je = (We = da.value) == null ? void 0 : We[0]) == null ? void 0 : je.value)), $ = await Ft(bt.value + "/" + ((Ye = (tt = da.value) == null ? void 0 : tt[0]) == null ? void 0 : Ye.value), sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value)), mt.value = $;
|
|
7783
7785
|
}
|
|
7784
7786
|
}
|
|
7785
|
-
(
|
|
7786
|
-
let k = (X =
|
|
7787
|
+
(W == null ? void 0 : W.length) > 0 && ((P = (ge = da.value) == null ? void 0 : ge[0]) == null ? void 0 : P.value) === "" && (mt.value = []), E = [...E, ...W ?? []], E = [...E, ...da.value ?? []];
|
|
7788
|
+
let k = (X = bt.value) == null ? void 0 : X.split("/").map((V) => ({ value: V.trim() })), S = k == null ? void 0 : k.filter((V) => !(E != null && E.find((L) => (L == null ? void 0 : L.value) === (V == null ? void 0 : V.value))));
|
|
7787
7789
|
E = [...E, ...S], Pa.setSelectTitle(E);
|
|
7788
7790
|
}
|
|
7789
7791
|
mt.value = (pe = mt.value) == null ? void 0 : pe.filter((E) => (E == null ? void 0 : E.comp) !== "");
|
|
7790
7792
|
let x = "";
|
|
7791
7793
|
if (!mt.value) {
|
|
7792
|
-
let E = (J = (de = r == null ? void 0 : r.split("/")) == null ? void 0 : de.filter((
|
|
7794
|
+
let E = (J = (de = r == null ? void 0 : r.split("/")) == null ? void 0 : de.filter((W, k) => {
|
|
7793
7795
|
var S;
|
|
7794
7796
|
return k !== ((S = r == null ? void 0 : r.split("/")) == null ? void 0 : S.length) - 1;
|
|
7795
7797
|
})) == null ? void 0 : J.join("/");
|
|
@@ -7798,13 +7800,13 @@ _t(
|
|
|
7798
7800
|
await yn.setLogRecordAsync({
|
|
7799
7801
|
type: "查询",
|
|
7800
7802
|
data: mt.value
|
|
7801
|
-
},
|
|
7802
|
-
var
|
|
7803
|
-
return E != null && E.isShow && (E.compData = (
|
|
7804
|
-
var S, V, L, fe,
|
|
7803
|
+
}, bt.value), x !== "" && (mt.value = (le = mt.value) == null ? void 0 : le.map((E) => {
|
|
7804
|
+
var W;
|
|
7805
|
+
return E != null && E.isShow && (E.compData = (W = E == null ? void 0 : E.compData) == null ? void 0 : W.map((k) => {
|
|
7806
|
+
var S, V, L, fe, H;
|
|
7805
7807
|
if ((k == null ? void 0 : k.key) === "tableContents") {
|
|
7806
7808
|
let $ = [], Oe = "";
|
|
7807
|
-
Oe = (fe = (L = (V = (S = E == null ? void 0 : E.compData) == null ? void 0 : S.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : V.contents) == null ? void 0 : L[0]) == null ? void 0 : fe.prop, $ = (
|
|
7809
|
+
Oe = (fe = (L = (V = (S = E == null ? void 0 : E.compData) == null ? void 0 : S.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : V.contents) == null ? void 0 : L[0]) == null ? void 0 : fe.prop, $ = (H = k.contents) == null ? void 0 : H.filter((ae) => (ae == null ? void 0 : ae[Oe]) === x || (ae == null ? void 0 : ae[1]) === x), k.contents = $;
|
|
7808
7810
|
}
|
|
7809
7811
|
return k;
|
|
7810
7812
|
})), E;
|
|
@@ -7837,9 +7839,9 @@ _t(
|
|
|
7837
7839
|
})) == null || l.forEach((g) => {
|
|
7838
7840
|
Ce[g.key.pageKey] ? Ce[g.key.pageKey] = [...Ce[g.key.pageKey], g] : Ce[g.key.pageKey] = [g];
|
|
7839
7841
|
});
|
|
7840
|
-
let j =
|
|
7841
|
-
(r =
|
|
7842
|
-
const oe = (v = (y =
|
|
7842
|
+
let j = bt.value;
|
|
7843
|
+
(r = ma.value) != null && r.compData && ((i = ma.value) == null ? void 0 : i.compData) !== bt.value && (j = j + "/" + ((u = (c = da.value) == null ? void 0 : c[0]) == null ? void 0 : u.value));
|
|
7844
|
+
const oe = (v = (y = bt.value) == null ? void 0 : y[0]) != null && v.startsWith("/") ? (b = (d = bt.value) == null ? void 0 : d[0]) == null ? void 0 : b.substring(1) : (_ = bt.value) == null ? void 0 : _[0];
|
|
7843
7845
|
let w = await Ft(j, sessionStorage.getItem("systemKey"), "", !1, [], await Ta.value), F = "";
|
|
7844
7846
|
if (!mt.value) {
|
|
7845
7847
|
let g = (M = (z = oe == null ? void 0 : oe.split("/")) == null ? void 0 : z.filter((I, C) => {
|
|
@@ -7884,7 +7886,7 @@ const sh = async () => {
|
|
|
7884
7886
|
}), await yn.setLogRecordAsync({
|
|
7885
7887
|
type: "删除",
|
|
7886
7888
|
data: r
|
|
7887
|
-
},
|
|
7889
|
+
}, bt.value)), Yt.setActiveMenuPath(Wd.value), mt.value = null, ia.setRouteToChildPath(""), Yt.setChildMenu("");
|
|
7888
7890
|
}, uh = (a) => new RegExp("button", "i").test(a), lp = (a) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(a), rp = (a) => {
|
|
7889
7891
|
if (lp(a)) {
|
|
7890
7892
|
const l = a == null ? void 0 : a.split("^");
|
|
@@ -8426,7 +8428,7 @@ function Ep() {
|
|
|
8426
8428
|
a(...Nl.get(a));
|
|
8427
8429
|
}), ai.clear();
|
|
8428
8430
|
}
|
|
8429
|
-
function
|
|
8431
|
+
function xa(a, ...l) {
|
|
8430
8432
|
if (typeof a != "function")
|
|
8431
8433
|
return a;
|
|
8432
8434
|
Nl.set(a, l), !ai.has(a) && (ai.add(a), ai.size === 1 && Promise.resolve().then(Ep));
|
|
@@ -8989,7 +8991,7 @@ function Hp() {
|
|
|
8989
8991
|
function E(t, e) {
|
|
8990
8992
|
t.page = t.page || {}, t.page.x = e.page.x, t.page.y = e.page.y, t.client = t.client || {}, t.client.x = e.client.x, t.client.y = e.client.y, t.timeStamp = e.timeStamp;
|
|
8991
8993
|
}
|
|
8992
|
-
function
|
|
8994
|
+
function W(t) {
|
|
8993
8995
|
t.page.x = 0, t.page.y = 0, t.client.x = 0, t.client.y = 0;
|
|
8994
8996
|
}
|
|
8995
8997
|
function k(t) {
|
|
@@ -9010,7 +9012,7 @@ function Hp() {
|
|
|
9010
9012
|
f = f || {}, se.isOperaMobile && k(s) ? S("screen", s, f) : S("client", s, f);
|
|
9011
9013
|
}(o, t.client), t.timeStamp = n;
|
|
9012
9014
|
}
|
|
9013
|
-
function
|
|
9015
|
+
function H(t) {
|
|
9014
9016
|
var e = [];
|
|
9015
9017
|
return C.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;
|
|
9016
9018
|
}
|
|
@@ -9024,15 +9026,15 @@ function Hp() {
|
|
|
9024
9026
|
}
|
|
9025
9027
|
function Oe(t) {
|
|
9026
9028
|
if (!t.length) return null;
|
|
9027
|
-
var e =
|
|
9029
|
+
var e = H(t), n = Math.min(e[0].pageX, e[1].pageX), o = Math.min(e[0].pageY, e[1].pageY), s = Math.max(e[0].pageX, e[1].pageX), f = Math.max(e[0].pageY, e[1].pageY);
|
|
9028
9030
|
return { x: n, y: o, left: n, top: o, right: s, bottom: f, width: s - n, height: f - o };
|
|
9029
9031
|
}
|
|
9030
9032
|
function ae(t, e) {
|
|
9031
|
-
var n = e + "X", o = e + "Y", s =
|
|
9033
|
+
var n = e + "X", o = e + "Y", s = H(t), f = s[0][n] - s[1][n], h = s[0][o] - s[1][o];
|
|
9032
9034
|
return st(f, h);
|
|
9033
9035
|
}
|
|
9034
9036
|
function q(t, e) {
|
|
9035
|
-
var n = e + "X", o = e + "Y", s =
|
|
9037
|
+
var n = e + "X", o = e + "Y", s = H(t), f = s[1][n] - s[0][n], h = s[1][o] - s[0][o];
|
|
9036
9038
|
return 180 * Math.atan2(h, f) / Math.PI;
|
|
9037
9039
|
}
|
|
9038
9040
|
function te(t) {
|
|
@@ -9131,8 +9133,8 @@ function Hp() {
|
|
|
9131
9133
|
for (var vt, ct, xt, At = [], $t = 0; $t < et.length; $t++) {
|
|
9132
9134
|
var Dt = et[$t], Bt = et[vt];
|
|
9133
9135
|
if (Dt && $t !== vt) if (Bt) {
|
|
9134
|
-
var
|
|
9135
|
-
if (
|
|
9136
|
+
var wa = R(Dt), oa = R(Bt);
|
|
9137
|
+
if (wa !== Dt.ownerDocument) if (oa !== Dt.ownerDocument) if (wa !== oa) {
|
|
9136
9138
|
At = At.length ? At : ke(Bt);
|
|
9137
9139
|
var Oa = void 0;
|
|
9138
9140
|
if (Bt instanceof O.HTMLElement && Dt instanceof O.SVGElement && !(Dt instanceof O.SVGSVGElement)) {
|
|
@@ -9197,8 +9199,8 @@ function Hp() {
|
|
|
9197
9199
|
if (At === "pointer") {
|
|
9198
9200
|
var $t = ee(Ve, et, "drag"), Dt = V(De);
|
|
9199
9201
|
Dt.x += $t.x, Dt.y += $t.y;
|
|
9200
|
-
var Bt = Dt.x > ct.left && Dt.x < ct.right,
|
|
9201
|
-
xt = Bt &&
|
|
9202
|
+
var Bt = Dt.x > ct.left && Dt.x < ct.right, wa = Dt.y > ct.top && Dt.y < ct.bottom;
|
|
9203
|
+
xt = Bt && wa;
|
|
9202
9204
|
}
|
|
9203
9205
|
var oa = Ve.getRect(et);
|
|
9204
9206
|
if (oa && At === "center") {
|
|
@@ -9438,7 +9440,7 @@ function Hp() {
|
|
|
9438
9440
|
t.interaction.autoScroll = null, Pe.stop(), Pe.interaction && (Pe.interaction = null);
|
|
9439
9441
|
}, "interactions:stop": Pe.stop, "interactions:action-move": function(t) {
|
|
9440
9442
|
return Pe.onInteractionMove(t);
|
|
9441
|
-
} } },
|
|
9443
|
+
} } }, kt = pt;
|
|
9442
9444
|
function St(t, e) {
|
|
9443
9445
|
var n = !1;
|
|
9444
9446
|
return function() {
|
|
@@ -9887,7 +9889,7 @@ function Hp() {
|
|
|
9887
9889
|
var m, D, N, A = this.getPointerIndex(e), ie = { pointer: e, pointerIndex: A, pointerInfo: this.pointers[A], event: n, type: "move", eventTarget: o, dx: s, dy: f, duplicate: h, interaction: this };
|
|
9888
9890
|
h || (m = this.coords.velocity, D = this.coords.delta, N = Math.max(D.timeStamp / 1e3, 1e-3), m.page.x = D.page.x / N, m.page.y = D.page.y / N, m.client.x = D.client.x / N, m.client.y = D.client.y / N, m.timeStamp = N), this._scopeFire("interactions:move", ie), h || this.simulation || (this.interacting() && (ie.type = null, this.move(ie)), this.pointerWasMoved && E(this.coords.prev, this.coords.cur));
|
|
9889
9891
|
} }, { key: "move", value: function(e) {
|
|
9890
|
-
e && e.event ||
|
|
9892
|
+
e && e.event || W(this.coords.delta), (e = P({ pointer: this._latestPointer.pointer, event: this._latestPointer.event, eventTarget: this._latestPointer.eventTarget, interaction: this }, e || {})).phase = "move", this._doPhase(e);
|
|
9891
9893
|
} }, { key: "pointerUp", value: function(e, n, o, s) {
|
|
9892
9894
|
var f = this.getPointerIndex(e);
|
|
9893
9895
|
f === -1 && (f = this.updatePointer(e, n, o, !1));
|
|
@@ -9941,9 +9943,9 @@ function Hp() {
|
|
|
9941
9943
|
} }]), t;
|
|
9942
9944
|
}();
|
|
9943
9945
|
function $a(t) {
|
|
9944
|
-
|
|
9946
|
+
ba(t.interaction);
|
|
9945
9947
|
}
|
|
9946
|
-
function
|
|
9948
|
+
function ba(t) {
|
|
9947
9949
|
if (!function(n) {
|
|
9948
9950
|
return !(!n.offset.pending.x && !n.offset.pending.y);
|
|
9949
9951
|
}(t)) return !1;
|
|
@@ -9969,7 +9971,7 @@ function Hp() {
|
|
|
9969
9971
|
}(t.interaction);
|
|
9970
9972
|
}, "interactions:before-action-start": $a, "interactions:before-action-move": $a, "interactions:before-action-end": function(t) {
|
|
9971
9973
|
var e = t.interaction;
|
|
9972
|
-
if (
|
|
9974
|
+
if (ba(e)) return e.move({ offset: !0 }), e.end(), !1;
|
|
9973
9975
|
}, "interactions:stop": function(t) {
|
|
9974
9976
|
var e = t.interaction;
|
|
9975
9977
|
e.offset.total.x = 0, e.offset.total.y = 0, e.offset.pending.x = 0, e.offset.pending.y = 0;
|
|
@@ -10164,8 +10166,8 @@ function Hp() {
|
|
|
10164
10166
|
}
|
|
10165
10167
|
function m(A, ie, De, Ge) {
|
|
10166
10168
|
if (A.addEventListener && A.removeEventListener) {
|
|
10167
|
-
var Ve = U(n, function(
|
|
10168
|
-
return
|
|
10169
|
+
var Ve = U(n, function(wa) {
|
|
10170
|
+
return wa.eventTarget === A;
|
|
10169
10171
|
}), et = n[Ve];
|
|
10170
10172
|
if (et && et.events) if (ie !== "all") {
|
|
10171
10173
|
var vt = !1, ct = et.events[ie];
|
|
@@ -10197,8 +10199,8 @@ function Hp() {
|
|
|
10197
10199
|
var Dt = xt.listeners;
|
|
10198
10200
|
Ge.currentTarget = vt;
|
|
10199
10201
|
for (var Bt = 0; Bt < Dt.length; Bt++) {
|
|
10200
|
-
var
|
|
10201
|
-
En(
|
|
10202
|
+
var wa = Dt[Bt];
|
|
10203
|
+
En(wa.options, De) && wa.func(Ge);
|
|
10202
10204
|
}
|
|
10203
10205
|
}
|
|
10204
10206
|
}
|
|
@@ -10590,7 +10592,7 @@ function Hp() {
|
|
|
10590
10592
|
function go(t) {
|
|
10591
10593
|
return t && t.replace(/\/.*$/, "");
|
|
10592
10594
|
}
|
|
10593
|
-
var yo = new rr(),
|
|
10595
|
+
var yo = new rr(), ka = yo.interactStatic, sr = typeof globalThis < "u" ? globalThis : window;
|
|
10594
10596
|
yo.init(sr);
|
|
10595
10597
|
var ur = Object.freeze({ __proto__: null, edgeTarget: function() {
|
|
10596
10598
|
}, elements: function() {
|
|
@@ -10719,8 +10721,8 @@ function Hp() {
|
|
|
10719
10721
|
(ct = C.func(vt) ? vt(De, Ge, e._proxy, ie, Ve) : vt) && D.push({ x: (C.number(ct.x) ? ct.x : De) + ie.x, y: (C.number(ct.y) ? ct.y : Ge) + ie.y, range: C.number(ct.range) ? ct.range : s.range, source: vt, index: Ve, offset: ie });
|
|
10720
10722
|
}
|
|
10721
10723
|
for (var xt = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, At = 0; At < D.length; At++) {
|
|
10722
|
-
var $t = D[At], Dt = $t.range, Bt = $t.x - m.x,
|
|
10723
|
-
Dt === 1 / 0 && xt.inRange && xt.range !== 1 / 0 && (Oa = !1), xt.target && !(Oa ? xt.inRange && Dt !== 1 / 0 ? oa / Dt < xt.distance / xt.range : Dt === 1 / 0 && xt.range !== 1 / 0 || oa < xt.distance : !xt.inRange && oa < xt.distance) || (xt.target = $t, xt.distance = oa, xt.range = Dt, xt.inRange = Oa, xt.delta.x = Bt, xt.delta.y =
|
|
10724
|
+
var $t = D[At], Dt = $t.range, Bt = $t.x - m.x, wa = $t.y - m.y, oa = st(Bt, wa), Oa = oa <= Dt;
|
|
10725
|
+
Dt === 1 / 0 && xt.inRange && xt.range !== 1 / 0 && (Oa = !1), xt.target && !(Oa ? xt.inRange && Dt !== 1 / 0 ? oa / Dt < xt.distance / xt.range : Dt === 1 / 0 && xt.range !== 1 / 0 || oa < xt.distance : !xt.inRange && oa < xt.distance) || (xt.target = $t, xt.distance = oa, xt.range = Dt, xt.inRange = Oa, xt.delta.x = Bt, xt.delta.y = wa);
|
|
10724
10726
|
}
|
|
10725
10727
|
return xt.inRange && (n.x = xt.target.x, n.y = xt.target.y), o.closest = xt, xt;
|
|
10726
10728
|
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, _r = _a(Ri, "snap"), vi = { start: function(t) {
|
|
@@ -10933,12 +10935,12 @@ function Hp() {
|
|
|
10933
10935
|
} };
|
|
10934
10936
|
}({ page: { x: et.x, y: et.y }, client: { x: et.x, y: et.y }, timeStamp: f.now() });
|
|
10935
10937
|
Ge = function(ct, xt, At, $t, Dt) {
|
|
10936
|
-
var Bt = ct.interactions.new({ pointerType: "reflow" }),
|
|
10937
|
-
Bt.interactable = xt, Bt.element = At, Bt.prevEvent = Dt, Bt.updatePointer(Dt, Dt, At, !0),
|
|
10938
|
+
var Bt = ct.interactions.new({ pointerType: "reflow" }), wa = { interaction: Bt, event: Dt, pointer: Dt, eventTarget: At, phase: "reflow" };
|
|
10939
|
+
Bt.interactable = xt, Bt.element = At, Bt.prevEvent = Dt, Bt.updatePointer(Dt, Dt, At, !0), W(Bt.coords.delta), jt(Bt.prepared, $t), Bt._doPhase(wa);
|
|
10938
10940
|
var oa = ct.window, Oa = oa.Promise, Fa = Oa ? new Oa(function(Qa) {
|
|
10939
10941
|
Bt._reflowResolve = Qa;
|
|
10940
10942
|
}) : void 0;
|
|
10941
|
-
return Bt._reflowPromise = Fa, Bt.start($t, xt, At), Bt._interacting ? (Bt.move(
|
|
10943
|
+
return Bt._reflowPromise = Fa, Bt.start($t, xt, At), Bt._interacting ? (Bt.move(wa), Bt.end(Dt)) : (Bt.stop(), Bt._reflowResolve()), Bt.removePointer(Dt, Dt), Fa;
|
|
10942
10944
|
}(f, o, ie, s, vt);
|
|
10943
10945
|
}
|
|
10944
10946
|
D && D.push(Ge);
|
|
@@ -10954,11 +10956,11 @@ function Hp() {
|
|
|
10954
10956
|
o.splice(o.indexOf(s), 1);
|
|
10955
10957
|
}(e.interactions.list, n));
|
|
10956
10958
|
} } }, Pr = Lr;
|
|
10957
|
-
if (
|
|
10958
|
-
a.exports =
|
|
10959
|
+
if (ka.use(un), ka.use(Sa), ka.use(Rr), ka.use(Aa), ka.use(Dr), ka.use(xn), ka.use(ot), ka.use(kt), ka.use(Pr), ka.default = ka, c(a) === "object" && a) try {
|
|
10960
|
+
a.exports = ka;
|
|
10959
10961
|
} catch {
|
|
10960
10962
|
}
|
|
10961
|
-
return
|
|
10963
|
+
return ka.default = ka, ka;
|
|
10962
10964
|
});
|
|
10963
10965
|
}(ti, ti.exports)), ti.exports;
|
|
10964
10966
|
}
|
|
@@ -11057,7 +11059,7 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11057
11059
|
d.rtl = Xo() === "rtl";
|
|
11058
11060
|
}), ln(() => {
|
|
11059
11061
|
u.responsive && u.lastBreakpoint ? d.cols = Xl(u.lastBreakpoint, u.cols) : d.cols = u.colNum, d.rowHeight = u.rowHeight, d.containerWidth = u.width !== null ? u.width : 100, d.margin = u.margin !== void 0 ? u.margin.map(Number) : [10, 10], d.maxRows = u.maxRows, za(i.isDraggable) ? d.draggable = u.isDraggable : d.draggable = i.isDraggable, za(i.isResizable) ? d.resizable = u.isResizable : d.resizable = i.isResizable, za(i.isBounded) ? d.bounded = u.isBounded : d.bounded = i.isBounded, d.transformScale = u.transformScale, d.useCssTransforms = u.useCssTransforms, d.useStyleCursor = u.useStyleCursor, Xr(() => {
|
|
11060
|
-
w = i.x, F = i.y, I = i.h, g = i.w,
|
|
11062
|
+
w = i.x, F = i.y, I = i.h, g = i.w, xa(tt);
|
|
11061
11063
|
}), y.on("updateWidth", Ze), y.on("compact", dt), y.on("setDraggable", $e), y.on("setResizable", qe), y.on("setBounded", Ee), y.on("setTransformScale", O), y.on("setRowHeight", Q), y.on("setMaxRows", se), y.on("directionchange", he), y.on("setColNum", Qe);
|
|
11062
11064
|
}), yl(() => {
|
|
11063
11065
|
y.off("updateWidth", Ze), y.off("compact", dt), y.off("setDraggable", $e), y.off("setResizable", qe), y.off("setBounded", Ee), y.off("setTransformScale", O), y.off("setRowHeight", Q), y.off("setMaxRows", se), y.off("directionchange", he), y.off("setColNum", Qe), v.value && (v.value.unset(), v.value = null), u.decreaseItem(me);
|
|
@@ -11080,12 +11082,12 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11080
11082
|
), _t(
|
|
11081
11083
|
() => i.static,
|
|
11082
11084
|
() => {
|
|
11083
|
-
|
|
11085
|
+
xa(x), xa(W);
|
|
11084
11086
|
}
|
|
11085
11087
|
), _t(
|
|
11086
11088
|
() => d.draggable,
|
|
11087
11089
|
() => {
|
|
11088
|
-
|
|
11090
|
+
xa(x);
|
|
11089
11091
|
}
|
|
11090
11092
|
), _t(
|
|
11091
11093
|
() => i.isResizable,
|
|
@@ -11100,22 +11102,22 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11100
11102
|
), _t(
|
|
11101
11103
|
() => d.resizable,
|
|
11102
11104
|
() => {
|
|
11103
|
-
|
|
11105
|
+
xa(W);
|
|
11104
11106
|
}
|
|
11105
11107
|
), _t(
|
|
11106
11108
|
() => d.rowHeight,
|
|
11107
11109
|
() => {
|
|
11108
|
-
|
|
11110
|
+
xa(tt), xa(Ye);
|
|
11109
11111
|
}
|
|
11110
11112
|
), _t([() => d.cols, () => d.containerWidth], () => {
|
|
11111
|
-
|
|
11113
|
+
xa(W), xa(tt), xa(Ye);
|
|
11112
11114
|
}), _t([() => i.minH, () => i.maxH, () => i.minW, () => i.maxW], () => {
|
|
11113
|
-
|
|
11115
|
+
xa(W);
|
|
11114
11116
|
}), _t(R, () => {
|
|
11115
|
-
|
|
11117
|
+
xa(W), xa(tt);
|
|
11116
11118
|
}), _t([() => u.margin, () => u.margin[0], () => u.margin[1]], () => {
|
|
11117
11119
|
const k = u.margin;
|
|
11118
|
-
!k || k[0] === d.margin[0] && k[1] === d.margin[1] || (d.margin = k.map(Number),
|
|
11120
|
+
!k || k[0] === d.margin[0] && k[1] === d.margin[1] || (d.margin = k.map(Number), xa(tt), xa(Ye));
|
|
11119
11121
|
});
|
|
11120
11122
|
function tt() {
|
|
11121
11123
|
i.x + i.w > d.cols ? (w = 0, g = i.w > d.cols ? d.cols : i.w) : (w = i.x, g = i.w);
|
|
@@ -11141,25 +11143,25 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11141
11143
|
return;
|
|
11142
11144
|
const V = qo(k);
|
|
11143
11145
|
if (za(V)) return;
|
|
11144
|
-
const { x: L, y: fe } = V,
|
|
11146
|
+
const { x: L, y: fe } = V, H = { width: 0, height: 0 };
|
|
11145
11147
|
let $;
|
|
11146
11148
|
switch (S) {
|
|
11147
11149
|
case "resizestart": {
|
|
11148
|
-
|
|
11150
|
+
W(), Ce = g, G = I, $ = X(w, F, g, I), H.width = $.width, H.height = $.height, d.resizing = H, d.isResizing = !0;
|
|
11149
11151
|
break;
|
|
11150
11152
|
}
|
|
11151
11153
|
case "resizemove": {
|
|
11152
11154
|
!k.edges.right && !k.edges.left && (Y = L), !k.edges.top && !k.edges.bottom && (B = fe);
|
|
11153
11155
|
const Oe = Go(Y, B, L, fe);
|
|
11154
|
-
R.value ?
|
|
11156
|
+
R.value ? H.width = d.resizing.width - Oe.deltaX / d.transformScale : H.width = d.resizing.width + Oe.deltaX / d.transformScale, H.height = d.resizing.height + Oe.deltaY / d.transformScale, d.resizing = H;
|
|
11155
11157
|
break;
|
|
11156
11158
|
}
|
|
11157
11159
|
case "resizeend": {
|
|
11158
|
-
$ = X(w, F, g, I),
|
|
11160
|
+
$ = X(w, F, g, I), H.width = $.width, H.height = $.height, d.resizing = { width: -1, height: -1 }, d.isResizing = !1;
|
|
11159
11161
|
break;
|
|
11160
11162
|
}
|
|
11161
11163
|
}
|
|
11162
|
-
$ = ee(
|
|
11164
|
+
$ = ee(H.height, H.width), $.w < i.minW && ($.w = i.minW), $.w > i.maxW && ($.w = i.maxW), $.h < i.minH && ($.h = i.minH), $.h > i.maxH && ($.h = i.maxH), $.h < 1 && ($.h = 1), $.w < 1 && ($.w = 1), Y = L, B = fe, (g !== $.w || I !== $.h) && c("resize", i.i, $.h, $.w, H.height, H.width), k.type === "resizeend" && (Ce !== g || G !== I) && c("resized", i.i, $.h, $.w, H.height, H.width), y.emit("resizeEvent", k.type, i.i, w, F, $.h, $.w);
|
|
11163
11165
|
}
|
|
11164
11166
|
function P(k) {
|
|
11165
11167
|
if (i.static || d.isResizing) return;
|
|
@@ -11168,20 +11170,20 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11168
11170
|
return;
|
|
11169
11171
|
const V = qo(k);
|
|
11170
11172
|
if (za(V)) return;
|
|
11171
|
-
const { x: L, y: fe } = V,
|
|
11172
|
-
if (!
|
|
11173
|
+
const { x: L, y: fe } = V, H = k.target;
|
|
11174
|
+
if (!H.offsetParent) return;
|
|
11173
11175
|
const $ = { top: 0, left: 0 };
|
|
11174
11176
|
switch (S) {
|
|
11175
11177
|
case "dragstart": {
|
|
11176
11178
|
j = w, oe = F;
|
|
11177
|
-
const ae =
|
|
11179
|
+
const ae = H.offsetParent.getBoundingClientRect(), q = H.getBoundingClientRect(), te = q.left / d.transformScale, ce = ae.left / d.transformScale, _e = q.right / d.transformScale, Ie = ae.right / d.transformScale, ze = q.top / d.transformScale, U = ae.top / d.transformScale;
|
|
11178
11180
|
R.value ? $.left = (_e - Ie) * -1 : $.left = te - ce, $.top = ze - U, d.dragging = $, d.isDragging = !0;
|
|
11179
11181
|
break;
|
|
11180
11182
|
}
|
|
11181
11183
|
case "dragmove": {
|
|
11182
11184
|
const ae = Go(z, M, L, fe);
|
|
11183
11185
|
if (R.value ? $.left = d.dragging.left - ae.deltaX / d.transformScale : $.left = d.dragging.left + ae.deltaX / d.transformScale, $.top = d.dragging.top + ae.deltaY / d.transformScale, d.bounded) {
|
|
11184
|
-
const q =
|
|
11186
|
+
const q = H.offsetParent.clientHeight - J(i.h, d.rowHeight, d.margin[1]);
|
|
11185
11187
|
$.top = ne($.top, 0, q);
|
|
11186
11188
|
const te = de(), ce = d.containerWidth - J(i.w, te, d.margin[0]);
|
|
11187
11189
|
$.left = ne($.left, 0, ce);
|
|
@@ -11190,7 +11192,7 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11190
11192
|
break;
|
|
11191
11193
|
}
|
|
11192
11194
|
case "dragend": {
|
|
11193
|
-
const ae =
|
|
11195
|
+
const ae = H.offsetParent.getBoundingClientRect(), q = H.getBoundingClientRect(), te = q.left / d.transformScale, ce = ae.left / d.transformScale, _e = q.right / d.transformScale, Ie = ae.right / d.transformScale, ze = q.top / d.transformScale, U = ae.top / d.transformScale;
|
|
11194
11196
|
R.value ? $.left = (_e - Ie) * -1 : $.left = te - ce, $.top = ze - U, d.dragging = { top: -1, left: -1 }, d.isDragging = !1;
|
|
11195
11197
|
break;
|
|
11196
11198
|
}
|
|
@@ -11200,8 +11202,8 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11200
11202
|
}
|
|
11201
11203
|
function X(k, S, V, L) {
|
|
11202
11204
|
const fe = de();
|
|
11203
|
-
let
|
|
11204
|
-
return R.value ?
|
|
11205
|
+
let H;
|
|
11206
|
+
return R.value ? H = {
|
|
11205
11207
|
right: Math.round(fe * k + (k + 1) * d.margin[0]),
|
|
11206
11208
|
top: Math.round(d.rowHeight * S + (S + 1) * d.margin[1]),
|
|
11207
11209
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
@@ -11209,7 +11211,7 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11209
11211
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
11210
11212
|
width: V === 1 / 0 ? V : Math.round(fe * V + Math.max(0, V - 1) * d.margin[0]),
|
|
11211
11213
|
height: L === 1 / 0 ? L : Math.round(d.rowHeight * L + Math.max(0, L - 1) * d.margin[1])
|
|
11212
|
-
} :
|
|
11214
|
+
} : H = {
|
|
11213
11215
|
left: Math.round(fe * k + (k + 1) * d.margin[0]),
|
|
11214
11216
|
top: Math.round(d.rowHeight * S + (S + 1) * d.margin[1]),
|
|
11215
11217
|
// 0 * Infinity === NaN, which causes problems with resize constraints;
|
|
@@ -11217,7 +11219,7 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11217
11219
|
// Note we do it here rather than later because Math.round(Infinity) causes depot
|
|
11218
11220
|
width: V === 1 / 0 ? V : Math.round(fe * V + Math.max(0, V - 1) * d.margin[0]),
|
|
11219
11221
|
height: L === 1 / 0 ? L : Math.round(d.rowHeight * L + Math.max(0, L - 1) * d.margin[1])
|
|
11220
|
-
},
|
|
11222
|
+
}, H;
|
|
11221
11223
|
}
|
|
11222
11224
|
function pe(k, S) {
|
|
11223
11225
|
const V = de();
|
|
@@ -11235,8 +11237,8 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11235
11237
|
}
|
|
11236
11238
|
function ee(k, S, V = !1) {
|
|
11237
11239
|
const L = de();
|
|
11238
|
-
let fe = Math.round((S + d.margin[0]) / (L + d.margin[0])),
|
|
11239
|
-
return V ?
|
|
11240
|
+
let fe = Math.round((S + d.margin[0]) / (L + d.margin[0])), H = 0;
|
|
11241
|
+
return V ? H = Math.ceil((k + d.margin[1]) / (d.rowHeight + d.margin[1])) : H = Math.round((k + d.margin[1]) / (d.rowHeight + d.margin[1])), fe = Math.max(Math.min(fe, d.cols - w), 0), H = Math.max(Math.min(H, d.maxRows - F), 0), { w: fe, h: H };
|
|
11240
11242
|
}
|
|
11241
11243
|
function le(k, S) {
|
|
11242
11244
|
d.containerWidth = k;
|
|
@@ -11263,7 +11265,7 @@ const Jo = /* @__PURE__ */ ks(Vp), no = /* @__PURE__ */ ga({
|
|
|
11263
11265
|
v.value.draggable({ enabled: !1 });
|
|
11264
11266
|
}
|
|
11265
11267
|
const E = Wo(ge);
|
|
11266
|
-
function
|
|
11268
|
+
function W() {
|
|
11267
11269
|
if (st(), !!v.value)
|
|
11268
11270
|
if (d.resizable && !i.static) {
|
|
11269
11271
|
const k = X(0, 0, i.maxW, i.maxH), S = X(0, 0, i.minW, i.minH), V = {
|
|
@@ -12414,7 +12416,7 @@ export {
|
|
|
12414
12416
|
ei as F,
|
|
12415
12417
|
fh as G,
|
|
12416
12418
|
cp as H,
|
|
12417
|
-
|
|
12419
|
+
ma as I,
|
|
12418
12420
|
zv as J,
|
|
12419
12421
|
Bo as K,
|
|
12420
12422
|
Cl as L,
|