ss-component-new 1.2.260 → 1.2.261
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-Dl9mTw8W.js → MTLLoader-C245YB7a.js} +1 -1
- package/dist/{MTLLoader-DtDBiOvx.cjs → MTLLoader-CYmAr1Hu.cjs} +1 -1
- package/dist/{OrbitControls-CdcdoP_z.cjs → OrbitControls-BIkLIikf.cjs} +1 -1
- package/dist/{OrbitControls-hxXl-AWN.js → OrbitControls-CgpbusUT.js} +1 -1
- package/dist/{URDFLoader-Di8hgv52.cjs → URDFLoader-CBs700OQ.cjs} +1 -1
- package/dist/{URDFLoader-pYSV0wzh.js → URDFLoader-CKxg-TKF.js} +2 -2
- package/dist/{animationData-SiPWaY1I.js → animationData-Cfp2CIii.js} +1 -1
- package/dist/{animationData-DngLuaYu.cjs → animationData-u8gzeOzI.cjs} +1 -1
- package/dist/{array-CTlySr4U.js → array-DtOCgsMJ.js} +1 -1
- package/dist/{array-CE7N7eIQ.cjs → array-DxmmIzG0.cjs} +1 -1
- package/dist/{iconfont-BVOuanHT.js → iconfont-C9Kc0DGF.js} +2 -2
- package/dist/{iconfont-ByiDQiFD.cjs → iconfont-CMh15h5f.cjs} +1 -1
- package/dist/{index-D0TBsAUZ.js → index-681BYwjT.js} +4 -4
- package/dist/{index-BSq-asvS.js → index-B6pgDwkd.js} +1 -1
- package/dist/{index-BfaEcA-K.js → index-B9_F5Al3.js} +1 -1
- package/dist/{index-Cyhf8X42.cjs → index-BCMUus0r.cjs} +1 -1
- package/dist/{index-DbnbiV9a.cjs → index-BCUCXydP.cjs} +1 -1
- package/dist/{index-C3a6pShZ.cjs → index-BQRQ125X.cjs} +10 -10
- package/dist/{index-DpEA84dE.js → index-B_HpCnnI.js} +1 -1
- package/dist/{index-wcpihAbi.cjs → index-BaXQQWXT.cjs} +1 -1
- package/dist/{index-BywcwEk3.js → index-BbRwjuYR.js} +1 -1
- package/dist/{index-dreNJkcx.cjs → index-BeFrtjpc.cjs} +1 -1
- package/dist/{index-D8ZicEml.cjs → index-Bj8tXTbv.cjs} +1 -1
- package/dist/{index-CkrHNhQi.js → index-BqeX5bms.js} +3 -3
- package/dist/{index-D9LQjWVV.js → index-BtyUih-J.js} +1 -1
- package/dist/{index-bHHAbQwQ.js → index-BwFEk7V_.js} +1 -1
- package/dist/{index-DAILOJJL.js → index-C-8esy-a.js} +5 -5
- package/dist/{index-_-2NItuI.js → index-CJu3D2uo.js} +16 -16
- package/dist/{index-DBty7hCh.cjs → index-COECU96d.cjs} +1 -1
- package/dist/{index-Dtvqp-E2.cjs → index-COif05bF.cjs} +1 -1
- package/dist/{index-UGtQHDze.cjs → index-CUSbHMVi.cjs} +1 -1
- package/dist/{index-BMrtmSoV.cjs → index-CWCj6D5D.cjs} +1 -1
- package/dist/{index-jChk2Xqh.js → index-CZdcobYs.js} +586 -583
- package/dist/{index-DGF03EDT.cjs → index-CamRKKJN.cjs} +1 -1
- package/dist/{index-C80fq22G.cjs → index-Cd3qAxFo.cjs} +1 -1
- package/dist/{index-D9kHGUMm.js → index-CjpctHsD.js} +453 -453
- package/dist/{index-CekyNTlc.js → index-Cuq29oa4.js} +1 -1
- package/dist/{index-hE6A7ggV.cjs → index-CxJVoJTn.cjs} +1 -1
- package/dist/{index-C9cv75Ff.cjs → index-D0bi9qIn.cjs} +1 -1
- package/dist/{index-CZO2Aebm.js → index-D2nSdA8F.js} +1 -1
- package/dist/{index-DETN0uoU.js → index-D3Bw7PIE.js} +1 -1
- package/dist/{index-CVMNmUxo.cjs → index-D4apDyB_.cjs} +1 -1
- package/dist/{index-Ba9M_o9i.js → index-D4cnfAlY.js} +7 -7
- package/dist/{index-CPuIXGYT.cjs → index-D8HXlxQr.cjs} +1 -1
- package/dist/{index-zF616DHi.cjs → index-DB3v8iRn.cjs} +1 -1
- package/dist/{index-ZMKPKBGl.js → index-DPJGncY-.js} +3 -3
- package/dist/{index-n4i6g5Qt.js → index-DQYsvYAn.js} +1 -1
- package/dist/{index-DoLdgL0Y.cjs → index-DZGolBog.cjs} +1 -1
- package/dist/{index-B466HFKM.js → index-D_tfFgs-.js} +4 -4
- package/dist/{index-Dx2jxLP4.cjs → index-Dn2djkJk.cjs} +1 -1
- package/dist/{index-B7mrNUHI.js → index-DrkWJouc.js} +2 -2
- package/dist/{index-CAChqXRJ.cjs → index-DyoBXbcl.cjs} +1 -1
- package/dist/{index-B8KOzVVO.js → index-ItYWSDdr.js} +2 -2
- package/dist/{index-B7v4FvTM.cjs → index-LGGNc6a1.cjs} +1 -1
- package/dist/index-eI_w6PXT.cjs +1 -0
- package/dist/{index-DlBP9uCE.js → index-lI5tYopv.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CI564I5w.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0RX57baY.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B8t4r7F_.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CENgOezi.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang--2VUeSe0.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CPbadDFN.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C1-MzySx.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CxeEhL4_.js} +37 -37
- package/dist/{index.vue_vue_type_style_index_0_scoped_20f284c2_lang-CAQkooVn.js → index.vue_vue_type_style_index_0_scoped_20f284c2_lang-Cv0T9hca.js} +98 -98
- package/dist/index.vue_vue_type_style_index_0_scoped_20f284c2_lang-DfZ7hU4T.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-C5F5_N3v.cjs → index.vue_vue_type_style_index_1_lang-Cw-NkdEt.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-QGAL6wGN.js → index.vue_vue_type_style_index_1_lang-DKF4Ox94.js} +3 -3
- package/dist/{main-BvwYCNyA.cjs → main-DEeM0A21.cjs} +1 -1
- package/dist/{main-C4ciyWeN.js → main-yjDb2N94.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-BgwW52m6.cjs → threeModel-CmCUsEAj.cjs} +1 -1
- package/dist/{threeModel-C5tbMJNJ.js → threeModel-DPqE-FYJ.js} +4 -4
- package/dist/{threePreview-SMR2MaWi.cjs → threePreview-BVuWZma4.cjs} +1 -1
- package/dist/{threePreview-BR8y18Tw.js → threePreview-D7Dq1xmv.js} +3 -3
- package/dist/{threeSceneView-CNVU4cLM.js → threeSceneView-BrHwguCF.js} +8 -8
- package/dist/{threeSceneView-CZgOffyY.cjs → threeSceneView-Bv4IAB1R.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DpRLfMyB.cjs → threeSceneViewForCPMPIP-B3z8U_hY.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CxdJHGbJ.js → threeSceneViewForCPMPIP-C1isyFva.js} +7 -7
- package/dist/{threeTrackPathView-DvSIss6R.js → threeTrackPathView-B894Zsbj.js} +3 -3
- package/dist/{threeTrackPathView-BsIrzOzv.cjs → threeTrackPathView-DhV3HUi4.cjs} +1 -1
- package/dist/{threeViewerHost-CX05nlql.cjs → threeViewerHost-CYvQxMHX.cjs} +1 -1
- package/dist/{threeViewerHost-DWyLZF-J.js → threeViewerHost-D_ONpQMP.js} +2 -2
- package/dist/{urdfTree-TnQmLdzF.js → urdfTree-Djufft4m.js} +1 -1
- package/dist/{urdfTree-Eq_C3sM7.cjs → urdfTree-WiAKgNE4.cjs} +1 -1
- package/dist/{workpieceTreePanel-BcQfXXI6.js → workpieceTreePanel-Cp8YumLm.js} +4 -4
- package/dist/{workpieceTreePanel-DEtEmBX8.cjs → workpieceTreePanel-DNg7xg7B.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BzvnDSwo.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_20f284c2_lang-DOa7pLu2.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as $r, u as Fr, f as Kr, g as jr, s as Nr } from "./index-
|
|
1
|
+
import { a as $r, u as Fr, f as Kr, g as jr, s as Nr } from "./index-C-8esy-a.js";
|
|
2
2
|
import { computed as Ua, ref as ue, watch as _a, onUnmounted as Ur, resolveComponent as Ka, createElementBlock as ia, openBlock as Oe, createVNode as ze, createBlock as Ba, createCommentVNode as vt, withCtx as Fe, createElementVNode as re, Fragment as Ha, renderList as at, toDisplayString as ga, nextTick as Pt, createTextVNode as Pa, defineComponent as mt, resolveDynamicComponent as Ft, onMounted as an, unref as Ma, reactive as Ot, renderSlot as Bn, createSlots as Wr, mergeProps as vl, normalizeStyle as Zt, withModifiers as Nn, defineAsyncComponent as Hr, defineProps as Vr, getCurrentInstance as qr, inject as Co, shallowRef as Gr, toRef as Xr, onBeforeMount as hl, watchEffect as Yr, onBeforeUnmount as gl, normalizeClass as _o, getCurrentScope as Jr, onScopeDispose as Zr, provide as So, toRefs as Do, withDirectives as Qr, vShow as es } from "vue";
|
|
3
3
|
import { bz as as, k as oi, bA as ts, bB as ns, bC as is, s as nt, p as et, u as Oi, c as F, E as qa, b as Vi, g as lt, e as vn, bu as li, bv as Mn, f as Wt, bt as zi, h as Bi, bD as os, bE as ls, by as rs } from "./index-7MBVUN82.js";
|
|
4
|
-
import { d as ft, a as lo, e as yl, E as ml, f as bl, h as ss, b as kl, i as Zn } from "./index-
|
|
5
|
-
import { u as wl, a as ro, X as us, Y as qi, I as cs, g as Fa, Z as ds, _ as so, $ as Gi, a0 as yt, a1 as Wn, a2 as Ut, a3 as zn, a4 as Fi, a5 as fs, o as ps, T as Ki, a6 as vs, a7 as Eo, a8 as hs, a9 as gi, b as To, W as xl, aa as ui, ab as gs, ac as ys, ad as ms, ae as Ei, af as bs, r as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { s as gt } from "./index-
|
|
7
|
-
import { a as ws, T as xs } from "./threeViewerHost-
|
|
4
|
+
import { d as ft, a as lo, e as yl, E as ml, f as bl, h as ss, b as kl, i as Zn } from "./index-CZdcobYs.js";
|
|
5
|
+
import { u as wl, a as ro, X as us, Y as qi, I as cs, g as Fa, Z as ds, _ as so, $ as Gi, a0 as yt, a1 as Wn, a2 as Ut, a3 as zn, a4 as Fi, a5 as fs, o as ps, T as Ki, a6 as vs, a7 as Eo, a8 as hs, a9 as gi, b as To, W as xl, aa as ui, ab as gs, ac as ys, ad as ms, ae as Ei, af as bs, r as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CxeEhL4_.js";
|
|
6
|
+
import { s as gt } from "./index-lI5tYopv.js";
|
|
7
|
+
import { a as ws, T as xs } from "./threeViewerHost-D_ONpQMP.js";
|
|
8
8
|
import { a as Pn, u as Vn, E as $t, ae as Cs } from "./index-3oQGURYh.js";
|
|
9
9
|
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { i as Io } from "./isString-D70CzuJZ.js";
|
|
11
11
|
import { _ as Ao } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
-
import { a as _s, s as Ss } from "./index-
|
|
12
|
+
import { a as _s, s as Ss } from "./index-DPJGncY-.js";
|
|
13
13
|
import Cl from "./index-rlStojTL.js";
|
|
14
|
-
import { s as Ds } from "./index-
|
|
14
|
+
import { s as Ds } from "./index-BbRwjuYR.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";
|
|
@@ -50,12 +50,12 @@ function _l(t, l, r) {
|
|
|
50
50
|
if (typeof t != "function")
|
|
51
51
|
throw new TypeError(Ns);
|
|
52
52
|
l = zo(l) || 0, oi(r) && (x = !!r.leading, O = "maxWait" in r, u = O ? Us(zo(r.maxWait) || 0, l) : u, M = "trailing" in r ? !!r.trailing : M);
|
|
53
|
-
function
|
|
53
|
+
function X(T) {
|
|
54
54
|
var S = i, be = c;
|
|
55
55
|
return i = c = void 0, w = T, m = t.apply(be, S), m;
|
|
56
56
|
}
|
|
57
57
|
function R(T) {
|
|
58
|
-
return w = T, v = setTimeout(j, l), x ?
|
|
58
|
+
return w = T, v = setTimeout(j, l), x ? X(T) : m;
|
|
59
59
|
}
|
|
60
60
|
function Ce(T) {
|
|
61
61
|
var S = T - f, be = T - w, aa = l - S;
|
|
@@ -72,7 +72,7 @@ function _l(t, l, r) {
|
|
|
72
72
|
v = setTimeout(j, Ce(T));
|
|
73
73
|
}
|
|
74
74
|
function oe(T) {
|
|
75
|
-
return v = void 0, M && i ?
|
|
75
|
+
return v = void 0, M && i ? X(T) : (i = c = void 0, m);
|
|
76
76
|
}
|
|
77
77
|
function k() {
|
|
78
78
|
v !== void 0 && clearTimeout(v), w = 0, i = f = c = v = void 0;
|
|
@@ -86,7 +86,7 @@ function _l(t, l, r) {
|
|
|
86
86
|
if (v === void 0)
|
|
87
87
|
return R(f);
|
|
88
88
|
if (O)
|
|
89
|
-
return clearTimeout(v), v = setTimeout(j, l),
|
|
89
|
+
return clearTimeout(v), v = setTimeout(j, l), X(f);
|
|
90
90
|
}
|
|
91
91
|
return v === void 0 && (v = setTimeout(j, l)), m;
|
|
92
92
|
}
|
|
@@ -136,7 +136,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
136
136
|
const _ = (K = B.value) == null ? void 0 : K.split("/");
|
|
137
137
|
return (_ == null ? void 0 : _.some(($) => ($ == null ? void 0 : $.includes("updateLoading")) || ($ == null ? void 0 : $.includes("loading")))) ? !1 : z.value === "view";
|
|
138
138
|
});
|
|
139
|
-
const c = l, u = ue([]), m = ue(!1), v = ue(!1), f = ue([]), { getFileExtension: w } = ws(), x = ue(), O = ue(!1), M = ue(!1),
|
|
139
|
+
const c = l, u = ue([]), m = ue(!1), v = ue(!1), f = ue([]), { getFileExtension: w } = ws(), x = ue(), O = ue(!1), M = ue(!1), X = wl(et), { chooseTitle: R } = nt(X), Ce = ue([]), V = ue(), j = ue(!1), oe = ue([]), k = $r(et), P = Fr(et), g = ue(!1), T = ue(), S = Oi(et), { loginUserInfo: be } = nt(S), aa = ue(), ua = ue(!0), Re = Pn(et), { tableViewContents: Ve, itemData: Ae, isEdit: z, routeToChildPath: Q, lockingPage: se } = nt(Re), ge = ue(null), Je = ue(!1), da = ue(!1), Y = Vn(), { activeMenuPath: B } = nt(Y), xe = ro(et), { originalPath: Se } = nt(xe), Ue = ue([]), je = ue([
|
|
140
140
|
{
|
|
141
141
|
label: "编辑",
|
|
142
142
|
value: "operable",
|
|
@@ -147,9 +147,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
147
147
|
value: "disabled",
|
|
148
148
|
checked: !1
|
|
149
149
|
}
|
|
150
|
-
]),
|
|
150
|
+
]), Ye = async (_) => {
|
|
151
151
|
da.value = _, await q("disabled", null, _, !0);
|
|
152
|
-
},
|
|
152
|
+
}, Ze = async (_) => {
|
|
153
153
|
await q("operable", null, _, !0);
|
|
154
154
|
};
|
|
155
155
|
_a(
|
|
@@ -288,8 +288,8 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
288
288
|
});
|
|
289
289
|
let oa = URL.createObjectURL(wa), Le = "";
|
|
290
290
|
(ye = _ == null ? void 0 : _.split("/")) == null || ye.forEach((We, na) => {
|
|
291
|
-
var
|
|
292
|
-
na === ((
|
|
291
|
+
var Qe;
|
|
292
|
+
na === ((Qe = _ == null ? void 0 : _.split("/")) == null ? void 0 : Qe.length) - 1 && (Le = We);
|
|
293
293
|
}), ($e = Me.blob) != null && $e.includes(".stl") && (Le = (Le == null ? void 0 : Le.replaceAll(">", "")) + ".urdf"), V.value = [{
|
|
294
294
|
name: Le,
|
|
295
295
|
blobUrl: oa
|
|
@@ -336,7 +336,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
336
336
|
};
|
|
337
337
|
c("change", Ee);
|
|
338
338
|
}, E = Ua(() => "http://222.92.178.198:62001"), W = async (_) => {
|
|
339
|
-
var N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na,
|
|
339
|
+
var N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na, Qe, Ke, la;
|
|
340
340
|
if (!_) return;
|
|
341
341
|
(Be = (N = i == null ? void 0 : i.itemData) == null ? void 0 : N.find((he) => (he == null ? void 0 : he.key) === "parentFormPath")) == null || Be.contents;
|
|
342
342
|
let ee = Ve.value;
|
|
@@ -417,7 +417,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
417
417
|
index: i.index
|
|
418
418
|
});
|
|
419
419
|
let ke = [], we = [];
|
|
420
|
-
if ((Ke = F((
|
|
420
|
+
if ((Ke = F((Qe = $ == null ? void 0 : $.find((he) => (he == null ? void 0 : he.key) === "formContent")) == null ? void 0 : Qe.contents)) == null || Ke.forEach((he) => {
|
|
421
421
|
var Te;
|
|
422
422
|
Array.isArray(he == null ? void 0 : he.value) && ((Te = he == null ? void 0 : he.value) != null && Te.find((Pe) => {
|
|
423
423
|
var ta;
|
|
@@ -493,9 +493,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
493
493
|
() => i.itemData,
|
|
494
494
|
async () => {
|
|
495
495
|
var H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na;
|
|
496
|
-
const _ = (H = i.itemData) == null ? void 0 : H.find((
|
|
496
|
+
const _ = (H = i.itemData) == null ? void 0 : H.find((Qe) => (Qe == null ? void 0 : Qe.key) === "formContent"), ee = (Z = F(i.itemData)) == null ? void 0 : Z.find((Qe) => (Qe == null ? void 0 : Qe.key) === "formButton"), K = (fe = F(i.itemData)) == null ? void 0 : fe.find((Qe) => (Qe == null ? void 0 : Qe.key) === "formFlex"), $ = (_e = F(i.itemData)) == null ? void 0 : _e.find((Qe) => (Qe == null ? void 0 : Qe.key) === "formWrap"), Ee = (ke = F(i.itemData)) == null ? void 0 : ke.find((Qe) => (Qe == null ? void 0 : Qe.key) === "enableWrap");
|
|
497
497
|
if (($ == null ? void 0 : $.contents) === "纵向" ? O.value = !1 : O.value = !0, g.value = (Ee == null ? void 0 : Ee.contents) === void 0 ? !1 : Ee == null ? void 0 : Ee.contents, T.value = typeof (K == null ? void 0 : K.contents) != "boolean" ? !(!(K != null && K.contents) === "" || ((we = K == null ? void 0 : K.contents) == null ? void 0 : we.toUpperCase()) === "VERTICAL") : K == null ? void 0 : K.contents, ((N = _ == null ? void 0 : _.contents) == null ? void 0 : N.length) > 0 && Array.isArray(_ == null ? void 0 : _.contents)) {
|
|
498
|
-
let
|
|
498
|
+
let Qe = i.allMapContents;
|
|
499
499
|
const Ke = (ye = (Be = F(_)) == null ? void 0 : Be.contents) == null ? void 0 : ye.map((A, de) => {
|
|
500
500
|
var Xa, Sa, ot, ut, ct, wt, tt, tn, hn, Ht, gn, Vt, yn, mn, bn, kn, wn, nn, Kt, zt, qt, jt, St, Lt, xn, on, ln, Gt, Cn, _n, rn, Sn, Dn;
|
|
501
501
|
let Xe = (A == null ? void 0 : A.label) ?? (A == null ? void 0 : A.key) ?? "", me = (A == null ? void 0 : A.type) ?? "", ra = (A == null ? void 0 : A.options) ?? [];
|
|
@@ -514,7 +514,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
514
514
|
label: Ra,
|
|
515
515
|
value: Ra
|
|
516
516
|
})));
|
|
517
|
-
let Ca = !1, ka = (A == null ? void 0 : A.isFormColHidden) ?? !1, ha = qi((bn = F(A)) == null ? void 0 : bn.optionUrl,
|
|
517
|
+
let Ca = !1, ka = (A == null ? void 0 : A.isFormColHidden) ?? !1, ha = qi((bn = F(A)) == null ? void 0 : bn.optionUrl, Qe), ya = ha !== void 0 && ha !== "" ? ha : A != null && A.originalContent && (A == null ? void 0 : A.originalContent) !== "" ? A.originalContent : A != null && A.value ? A.value : (ra == null ? void 0 : ra.length) > 0 ? (kn = ra == null ? void 0 : ra[0]) == null ? void 0 : kn.value : (A == null ? void 0 : A.value) ?? "", Oa = !1, Ga = ha !== void 0 || me === "" ? "Input" : me;
|
|
518
518
|
if ((Array.isArray(ha) && (ha != null && ha.every((Ra) => (Ra == null ? void 0 : Ra.name) && (Ra == null ? void 0 : Ra.url))) || Array.isArray(ya) && (ya != null && ya.every((Ra) => (Ra == null ? void 0 : Ra.name) && (Ra == null ? void 0 : Ra.url)))) && (Ga = "upload"), typeof ya == "string" && (ya != null && ya.includes("loginUser")) && !(ya != null && ya.includes("loginUserSign")) || A != null && A.isLoginUser)
|
|
519
519
|
Ca = !0, ya = ((wn = be.value) == null ? void 0 : wn.姓名) || ((nn = be.value) == null ? void 0 : nn.account) || ((Kt = be.value) == null ? void 0 : Kt.账号) || ((zt = be.value) == null ? void 0 : zt.userName);
|
|
520
520
|
else if (typeof ya == "string" && (ya != null && ya.includes("loginUserSign")) || A != null && A.signature || A != null && A.isShow)
|
|
@@ -582,13 +582,13 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
582
582
|
var Ga, Wa, Xa, Sa, ot, ut;
|
|
583
583
|
if (Oa != null && Oa.includes("[")) {
|
|
584
584
|
let ct = (Wa = (Ga = Oa == null ? void 0 : Oa.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ga.split(":")) == null ? void 0 : Wa[1];
|
|
585
|
-
ya = le((Xa = Oa == null ? void 0 : Oa.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Xa.split(":"),
|
|
585
|
+
ya = le((Xa = Oa == null ? void 0 : Oa.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Xa.split(":"), Qe == null ? void 0 : Qe[B.value], Qe), Oa = ((ot = (Sa = F(Te)) == null ? void 0 : Sa.find((wt) => (wt == null ? void 0 : wt.label) === ct)) == null ? void 0 : ot.value) || le((ut = Oa == null ? void 0 : Oa.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : ut.split(":"), Qe == null ? void 0 : Qe[B.value], Qe);
|
|
586
586
|
}
|
|
587
587
|
return Oa;
|
|
588
|
-
}), ya !== "" && A.value === "" && (A.value = De(A.optionUrl.menuSelect, A.optionUrl.oldMenuSelect, (ka = A == null ? void 0 : A.optionUrl) == null ? void 0 : ka.groupSelect,
|
|
588
|
+
}), ya !== "" && A.value === "" && (A.value = De(A.optionUrl.menuSelect, A.optionUrl.oldMenuSelect, (ka = A == null ? void 0 : A.optionUrl) == null ? void 0 : ka.groupSelect, Qe), Array.isArray(A.value) && ((ha = A.value) != null && ha.every((Oa) => Oa == null ? void 0 : Oa.url)) && (A.type = "UPLOAD"));
|
|
589
589
|
}
|
|
590
590
|
return A;
|
|
591
|
-
}), u.value = Te, da.value = ((pa = u.value) == null ? void 0 : pa.every((A) => A == null ? void 0 : A.disabled)) || se.value === B.value,
|
|
591
|
+
}), u.value = Te, da.value = ((pa = u.value) == null ? void 0 : pa.every((A) => A == null ? void 0 : A.disabled)) || se.value === B.value, Je.value = (qe = u.value) == null ? void 0 : qe.every((A) => A == null ? void 0 : A.operable), Ue.value = (sa = u.value) == null ? void 0 : sa.map((A) => A == null ? void 0 : A.label);
|
|
592
592
|
let Pe = [], ta = [];
|
|
593
593
|
if ((Me = F(u.value)) == null || Me.forEach((A) => {
|
|
594
594
|
var de;
|
|
@@ -631,30 +631,30 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
631
631
|
} else
|
|
632
632
|
u.value = [];
|
|
633
633
|
let te = Ve.value;
|
|
634
|
-
if ((te == null ? void 0 : te.length) > 0 && (te = te == null ? void 0 : te.map((
|
|
634
|
+
if ((te == null ? void 0 : te.length) > 0 && (te = te == null ? void 0 : te.map((Qe) => {
|
|
635
635
|
var la, he, Te, Pe;
|
|
636
|
-
let Ke = (la =
|
|
637
|
-
return (i == null ? void 0 : i.compName) === (Ke == null ? void 0 : Ke[0]) && (he = u.value) != null && he.find((ta) => (ta == null ? void 0 : ta.prop) === (Ke == null ? void 0 : Ke[1])) && (
|
|
636
|
+
let Ke = (la = Qe == null ? void 0 : Qe.key) == null ? void 0 : la.split("/");
|
|
637
|
+
return (i == null ? void 0 : i.compName) === (Ke == null ? void 0 : Ke[0]) && (he = u.value) != null && he.find((ta) => (ta == null ? void 0 : ta.prop) === (Ke == null ? void 0 : Ke[1])) && (Qe.value = (Pe = (Te = u.value) == null ? void 0 : Te.find((ta) => (ta == null ? void 0 : ta.prop) === (Ke == null ? void 0 : Ke[1]))) == null ? void 0 : Pe.value), Qe;
|
|
638
638
|
}), Re.setTableViewContents(te)), i != null && i.formRules)
|
|
639
639
|
x.value = i == null ? void 0 : i.formRules;
|
|
640
640
|
else {
|
|
641
|
-
let
|
|
641
|
+
let Qe = {};
|
|
642
642
|
(Le = F(u).value) == null || Le.forEach((Ke) => {
|
|
643
|
-
(Ke == null ? void 0 : Ke.isMain) === !0 && (
|
|
643
|
+
(Ke == null ? void 0 : Ke.isMain) === !0 && (Qe[(Ke == null ? void 0 : Ke.prop) ?? (Ke == null ? void 0 : Ke.name)] = [
|
|
644
644
|
{ required: !0, message: `${(Ke == null ? void 0 : Ke.prop) || (Ke == null ? void 0 : Ke.name)}不能为空` }
|
|
645
645
|
]);
|
|
646
|
-
}), x.value =
|
|
646
|
+
}), x.value = Qe;
|
|
647
647
|
}
|
|
648
648
|
if (((We = ee == null ? void 0 : ee.contents) == null ? void 0 : We.length) > 0) {
|
|
649
|
-
const
|
|
649
|
+
const Qe = [];
|
|
650
650
|
(na = ee == null ? void 0 : ee.contents) == null || na.forEach((Ke, la) => {
|
|
651
|
-
(Ke == null ? void 0 : Ke.label) !== "" &&
|
|
651
|
+
(Ke == null ? void 0 : Ke.label) !== "" && Qe.push({
|
|
652
652
|
label: (Ke == null ? void 0 : Ke.label) ?? "",
|
|
653
653
|
id: (Ke == null ? void 0 : Ke.id) ?? la,
|
|
654
654
|
type: (Ke == null ? void 0 : Ke.type) ?? "",
|
|
655
655
|
background: Ke == null ? void 0 : Ke.background
|
|
656
656
|
});
|
|
657
|
-
}), Ce.value =
|
|
657
|
+
}), Ce.value = Qe;
|
|
658
658
|
} else
|
|
659
659
|
Ce.value = [];
|
|
660
660
|
},
|
|
@@ -673,7 +673,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
673
673
|
onOnButtonClick: C,
|
|
674
674
|
onChange: W,
|
|
675
675
|
formDisabled: da.value,
|
|
676
|
-
formLabelsOperable:
|
|
676
|
+
formLabelsOperable: Je.value,
|
|
677
677
|
isButtonRow: O.value,
|
|
678
678
|
onPreview: ca,
|
|
679
679
|
onBlurChange: Ne,
|
|
@@ -705,14 +705,14 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
705
705
|
"model-value": fe,
|
|
706
706
|
"active-text": "禁用",
|
|
707
707
|
"inactive-text": "",
|
|
708
|
-
onChange:
|
|
708
|
+
onChange: Ye,
|
|
709
709
|
style: { "margin-right": "8px" }
|
|
710
710
|
}, null, 8, ["model-value"]),
|
|
711
711
|
ze($, {
|
|
712
712
|
"model-value": _e,
|
|
713
713
|
"active-text": "编辑所有标签",
|
|
714
714
|
"inactive-text": "",
|
|
715
|
-
onChange:
|
|
715
|
+
onChange: Ze
|
|
716
716
|
}, null, 8, ["model-value"]),
|
|
717
717
|
ee[2] || (ee[2] = re("div", { class: "group-title" }, "表单列操作", -1)),
|
|
718
718
|
ze(H, {
|
|
@@ -992,7 +992,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
992
992
|
}), f.value = k == null ? void 0 : k.id, w.value = P, x.value = P;
|
|
993
993
|
}, M = (k) => {
|
|
994
994
|
i("fixChange", F(k));
|
|
995
|
-
},
|
|
995
|
+
}, X = (k) => {
|
|
996
996
|
i("deleteChange", F(k));
|
|
997
997
|
}, R = (k) => {
|
|
998
998
|
c.value = !0;
|
|
@@ -1083,7 +1083,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1083
1083
|
T != null && T.children && T.children.length > 0 ? (Oe(), ia("div", ru, [
|
|
1084
1084
|
ze(Ol, {
|
|
1085
1085
|
tableChildContents: T == null ? void 0 : T.children,
|
|
1086
|
-
onDeleteChange:
|
|
1086
|
+
onDeleteChange: X,
|
|
1087
1087
|
onFixChange: M
|
|
1088
1088
|
}, null, 8, ["tableChildContents"])
|
|
1089
1089
|
])) : vt("", !0)
|
|
@@ -1147,7 +1147,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1147
1147
|
children: k == null ? void 0 : k.children,
|
|
1148
1148
|
isFormColHidden: !0
|
|
1149
1149
|
}), f.value = k == null ? void 0 : k.id, w.value = P, x.value = P;
|
|
1150
|
-
},
|
|
1150
|
+
}, X = (k) => {
|
|
1151
1151
|
c.value = !0;
|
|
1152
1152
|
let P = [];
|
|
1153
1153
|
Na == null || Na.forEach((g) => {
|
|
@@ -1219,7 +1219,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1219
1219
|
name: "ChildAdd",
|
|
1220
1220
|
class: "svg-icon-content",
|
|
1221
1221
|
style: { width: "24px", height: "24px" },
|
|
1222
|
-
onClick: (aa) =>
|
|
1222
|
+
onClick: (aa) => X(S)
|
|
1223
1223
|
}, null, 8, ["onClick"]),
|
|
1224
1224
|
ze(g, {
|
|
1225
1225
|
name: "ChildFix",
|
|
@@ -1303,7 +1303,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1303
1303
|
},
|
|
1304
1304
|
emits: ["change"],
|
|
1305
1305
|
setup(t, { emit: l }) {
|
|
1306
|
-
const r = t, i = l, c = ue([]), u = ue(!1), m = ue(!1), v = ue([]), f = ue(!1), w = ue([]), x = ue(!1), O = ue([]), M = ue(""),
|
|
1306
|
+
const r = t, i = l, c = ue([]), u = ue(!1), m = ue(!1), v = ue([]), f = ue(!1), w = ue([]), x = ue(!1), O = ue([]), M = ue(""), X = ue(""), R = ue([]), Ce = ue([]), V = ue([]), j = ue([]), oe = ue(!1), k = ue([]), P = ue([]), g = ue(0), T = ue([]), S = ue([]), be = ue([]), aa = () => {
|
|
1307
1307
|
oe.value = !0;
|
|
1308
1308
|
let p = [];
|
|
1309
1309
|
Yt == null || Yt.forEach((C) => {
|
|
@@ -1418,7 +1418,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1418
1418
|
});
|
|
1419
1419
|
}, ge = () => {
|
|
1420
1420
|
m.value = !1, T.value = [], M.value = "";
|
|
1421
|
-
},
|
|
1421
|
+
}, Je = async () => {
|
|
1422
1422
|
var W, b, le, De, _, ee, K, $, Ee, te;
|
|
1423
1423
|
T.value = S.value;
|
|
1424
1424
|
let p = {};
|
|
@@ -1471,7 +1471,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1471
1471
|
},
|
|
1472
1472
|
{ deep: !0 }
|
|
1473
1473
|
);
|
|
1474
|
-
const
|
|
1474
|
+
const Y = (p) => {
|
|
1475
1475
|
$t.confirm("是否确认要删除", "", {
|
|
1476
1476
|
confirmButtonText: "确认",
|
|
1477
1477
|
cancelButtonText: "取消",
|
|
@@ -1538,7 +1538,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
).catch(() => {
|
|
1540
1540
|
});
|
|
1541
|
-
},
|
|
1541
|
+
}, Ye = () => {
|
|
1542
1542
|
u.value = !0;
|
|
1543
1543
|
let p = [];
|
|
1544
1544
|
Na == null || Na.forEach((C) => {
|
|
@@ -1551,7 +1551,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1551
1551
|
contents: C == null ? void 0 : C.options
|
|
1552
1552
|
});
|
|
1553
1553
|
}), w.value = p, O.value = p;
|
|
1554
|
-
},
|
|
1554
|
+
}, Ze = () => {
|
|
1555
1555
|
f.value = !0;
|
|
1556
1556
|
let p = [];
|
|
1557
1557
|
Jt == null || Jt.forEach((C) => {
|
|
@@ -1600,7 +1600,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1600
1600
|
id: g.value,
|
|
1601
1601
|
contents: E == null ? void 0 : E.options
|
|
1602
1602
|
});
|
|
1603
|
-
}), w.value = C,
|
|
1603
|
+
}), w.value = C, X.value = p == null ? void 0 : p.id, O.value = C;
|
|
1604
1604
|
}, ce = (p) => {
|
|
1605
1605
|
var C;
|
|
1606
1606
|
v.value = El(F(v.value), p == null ? void 0 : p.id), i("change", (C = F(r.originalItemContents)) == null ? void 0 : C.map((E) => {
|
|
@@ -1631,12 +1631,12 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1631
1631
|
}), p != null && p.children && ((E = p == null ? void 0 : p.children) == null ? void 0 : E.length) > 0 && C.push({
|
|
1632
1632
|
children: p == null ? void 0 : p.children,
|
|
1633
1633
|
isFormColHidden: !0
|
|
1634
|
-
}), M.value = p == null ? void 0 : p.id,
|
|
1634
|
+
}), M.value = p == null ? void 0 : p.id, X.value = "", w.value = C, O.value = C;
|
|
1635
1635
|
}, J = (p) => {
|
|
1636
1636
|
let C = F(O.value);
|
|
1637
1637
|
C = C == null ? void 0 : C.map((E) => (E.children || (E.value = p == null ? void 0 : p[E.name]), E)), O.value = C;
|
|
1638
1638
|
}, ie = () => {
|
|
1639
|
-
u.value = !1, M.value = "",
|
|
1639
|
+
u.value = !1, M.value = "", X.value = "", O.value = [];
|
|
1640
1640
|
}, Ne = () => {
|
|
1641
1641
|
var E, W, b, le, De, _;
|
|
1642
1642
|
w.value = O.value;
|
|
@@ -1648,9 +1648,9 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1648
1648
|
v.value = (b = v.value) == null ? void 0 : b.map((ee) => (ee.id === p.id && (ee = p), ee));
|
|
1649
1649
|
else {
|
|
1650
1650
|
let ee = F(v.value) ?? [];
|
|
1651
|
-
|
|
1651
|
+
X.value === "" ? ee.push(p) : ee = ee == null ? void 0 : ee.map((K) => (K.id === X.value && (K.children || (K.children = []), K.children.push(p)), K)), v.value = ee;
|
|
1652
1652
|
}
|
|
1653
|
-
v.value = (le = v.value) != null && le.some((ee) => ee == null ? void 0 : ee.children) ? [v.value] : v.value, u.value = !1, M.value = "",
|
|
1653
|
+
v.value = (le = v.value) != null && le.some((ee) => ee == null ? void 0 : ee.children) ? [v.value] : v.value, u.value = !1, M.value = "", X.value = "";
|
|
1654
1654
|
let C = F(r.originalItemContents);
|
|
1655
1655
|
(De = F(r.originalItemContents)) != null && De.find((ee) => (ee == null ? void 0 : ee.key) === "header") ? C = (_ = F(r.originalItemContents)) == null ? void 0 : _.map((ee) => ((ee == null ? void 0 : ee.key) === "header" && (ee.contents = v.value), ee)) : C.push({
|
|
1656
1656
|
key: "header",
|
|
@@ -1738,7 +1738,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1738
1738
|
C[2] || (C[2] = re("div", null, ga("表头"), -1)),
|
|
1739
1739
|
ze(W, {
|
|
1740
1740
|
class: "icon-content",
|
|
1741
|
-
onClick:
|
|
1741
|
+
onClick: Ye,
|
|
1742
1742
|
id: "themeButton"
|
|
1743
1743
|
}, {
|
|
1744
1744
|
icon: Fe(() => [
|
|
@@ -1793,7 +1793,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1793
1793
|
ze(W, {
|
|
1794
1794
|
class: "icon-content",
|
|
1795
1795
|
id: "themeButton",
|
|
1796
|
-
onClick:
|
|
1796
|
+
onClick: Ze
|
|
1797
1797
|
}, {
|
|
1798
1798
|
icon: Fe(() => [
|
|
1799
1799
|
ze(E, {
|
|
@@ -1864,7 +1864,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
1864
1864
|
name: "ChildDelete",
|
|
1865
1865
|
class: "svg-icon-content",
|
|
1866
1866
|
style: { width: "24px", height: "24px" },
|
|
1867
|
-
onClick: (De) =>
|
|
1867
|
+
onClick: (De) => Y(b)
|
|
1868
1868
|
}, null, 8, ["onClick"])
|
|
1869
1869
|
])
|
|
1870
1870
|
])
|
|
@@ -2085,7 +2085,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2085
2085
|
}),
|
|
2086
2086
|
ze(W, {
|
|
2087
2087
|
class: "ok-button button",
|
|
2088
|
-
onClick:
|
|
2088
|
+
onClick: Je,
|
|
2089
2089
|
id: "themeButton"
|
|
2090
2090
|
}, {
|
|
2091
2091
|
default: Fe(() => C[18] || (C[18] = [
|
|
@@ -2102,7 +2102,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2102
2102
|
};
|
|
2103
2103
|
}
|
|
2104
2104
|
}, ec = /* @__PURE__ */ it(Qu, [["__scopeId", "data-v-7a6b87b5"]]), ac = Pn(et), { pageMapState: tc } = nt(ac), nc = Vn(et), { activeMenuPath: ic } = nt(nc), oc = ue(24), lc = ue(6), Qv = ue(70), rc = ue(0.18), sc = ue(45), uc = (t, l, r, i) => {
|
|
2105
|
-
var c, u, m, v, f, w, x, O, M,
|
|
2105
|
+
var c, u, m, v, f, w, x, O, M, X, R, Ce, V, j, oe, k;
|
|
2106
2106
|
return {
|
|
2107
2107
|
x: ((u = (c = t == null ? void 0 : t.value) == null ? void 0 : c.tableData) == null ? void 0 : u.x) || l % 2 * 12,
|
|
2108
2108
|
// 每个占2列,每列12格
|
|
@@ -2110,7 +2110,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2110
2110
|
//每个占2行,每行7格
|
|
2111
2111
|
w: ((w = (f = t == null ? void 0 : t.value) == null ? void 0 : f.tableData) == null ? void 0 : w.w) || oc.value,
|
|
2112
2112
|
h: ((O = (x = t == null ? void 0 : t.value) == null ? void 0 : x.tableData) == null ? void 0 : O.h) || r,
|
|
2113
|
-
minW: ((
|
|
2113
|
+
minW: ((X = (M = t == null ? void 0 : t.value) == null ? void 0 : M.tableData) == null ? void 0 : X.minW) || lc.value,
|
|
2114
2114
|
minH: ((Ce = (R = t == null ? void 0 : t.value) == null ? void 0 : R.tableData) == null ? void 0 : Ce.minH) || rc.value,
|
|
2115
2115
|
maxH: ((j = (V = t == null ? void 0 : t.value) == null ? void 0 : V.tableData) == null ? void 0 : j.maxH) || sc.value,
|
|
2116
2116
|
i: ((k = (oe = t == null ? void 0 : t.value) == null ? void 0 : oe.tableData) == null ? void 0 : k.i) || l,
|
|
@@ -2307,11 +2307,11 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2307
2307
|
var x;
|
|
2308
2308
|
const f = dc(r == null ? void 0 : r.optionItems), w = v ? (x = f[v == null ? void 0 : v.toUpperCase()]) == null ? void 0 : x[r == null ? void 0 : r.target] : [];
|
|
2309
2309
|
c.value = w == null ? void 0 : w.map((O) => {
|
|
2310
|
-
for (const [M,
|
|
2310
|
+
for (const [M, X] of Object.entries((r == null ? void 0 : r.comp) || {}))
|
|
2311
2311
|
if ((O == null ? void 0 : O.prop) === M)
|
|
2312
2312
|
return {
|
|
2313
2313
|
...O,
|
|
2314
|
-
value:
|
|
2314
|
+
value: X
|
|
2315
2315
|
};
|
|
2316
2316
|
return O;
|
|
2317
2317
|
});
|
|
@@ -2711,7 +2711,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2711
2711
|
an(() => {
|
|
2712
2712
|
M(null, r == null ? void 0 : r.extendItem);
|
|
2713
2713
|
});
|
|
2714
|
-
const
|
|
2714
|
+
const X = (j) => {
|
|
2715
2715
|
const oe = j == null ? void 0 : j[w.value];
|
|
2716
2716
|
if (w.value === "执行任务") {
|
|
2717
2717
|
if (!(oe != null && oe.join("/"))) return;
|
|
@@ -2724,7 +2724,7 @@ const qs = { class: "form-content" }, Gs = { title: "选择标签" }, Xs = {
|
|
|
2724
2724
|
extendConfigs: j
|
|
2725
2725
|
});
|
|
2726
2726
|
}, Ce = (j, oe) => {
|
|
2727
|
-
w.value = oe == null ? void 0 : oe.changeProp,
|
|
2727
|
+
w.value = oe == null ? void 0 : oe.changeProp, X(j);
|
|
2728
2728
|
}, V = (j) => {
|
|
2729
2729
|
i("onButtonClick", j);
|
|
2730
2730
|
};
|
|
@@ -2758,7 +2758,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2758
2758
|
},
|
|
2759
2759
|
emits: ["change"],
|
|
2760
2760
|
setup(t, { emit: l }) {
|
|
2761
|
-
const r = t, i = l, c = ue(!1), u = ue([]), m = ue([]), v = ue(!1), f = ue([]), w = ue([]), x = ue(""), O = ue(!1), M = ue(0),
|
|
2761
|
+
const r = t, i = l, c = ue(!1), u = ue([]), m = ue([]), v = ue(!1), f = ue([]), w = ue([]), x = ue(""), O = ue(!1), M = ue(0), X = ue([]), R = ue([]), Ce = (z, Q) => {
|
|
2762
2762
|
if ((Q == null ? void 0 : Q.type) == "Select" && (z == null ? void 0 : z.key) === "selectRelateType") {
|
|
2763
2763
|
const se = Q == null ? void 0 : Q.optionUrl;
|
|
2764
2764
|
return (se == null ? void 0 : se.selectRelateType) || Q[z.key];
|
|
@@ -2779,10 +2779,10 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2779
2779
|
}
|
|
2780
2780
|
return (z == null ? void 0 : z.label) === "类型" && Q[z.key] === "" ? "Input" : (z == null ? void 0 : z.key) === "isFormColHidden" && !Q[z.key] ? !1 : Q[z.key];
|
|
2781
2781
|
}, V = async (z) => {
|
|
2782
|
-
var ge,
|
|
2782
|
+
var ge, Je, da, Y, B, xe;
|
|
2783
2783
|
c.value = !0;
|
|
2784
2784
|
let Q = [];
|
|
2785
|
-
const se = await ((da = (
|
|
2785
|
+
const se = await ((da = (Je = (ge = yt) == null ? void 0 : ge.find((Se) => (Se == null ? void 0 : Se.key) === ((z == null ? void 0 : z.type) === "" ? "Input" : z == null ? void 0 : z.type))) == null ? void 0 : Je.value) == null ? void 0 : da.value) ?? ((B = (Y = yt) == null ? void 0 : Y.find((Se) => (Se == null ? void 0 : Se.key) === ((z == null ? void 0 : z.type) === "" ? "Input" : z == null ? void 0 : z.type))) == null ? void 0 : B.value);
|
|
2786
2786
|
if (se == null || se.forEach((Se) => {
|
|
2787
2787
|
M.value++, Q.push({
|
|
2788
2788
|
label: Se == null ? void 0 : Se.label,
|
|
@@ -2813,7 +2813,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2813
2813
|
id: M.value,
|
|
2814
2814
|
contents: ge == null ? void 0 : ge.options
|
|
2815
2815
|
});
|
|
2816
|
-
}),
|
|
2816
|
+
}), X.value = Q, R.value = Q, x.value = z == null ? void 0 : z.id;
|
|
2817
2817
|
};
|
|
2818
2818
|
_a(
|
|
2819
2819
|
() => O.value,
|
|
@@ -2828,22 +2828,22 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2828
2828
|
{ deep: !0 }
|
|
2829
2829
|
);
|
|
2830
2830
|
const oe = () => {
|
|
2831
|
-
var se, ge,
|
|
2832
|
-
|
|
2831
|
+
var se, ge, Je, da, Y;
|
|
2832
|
+
X.value = R.value;
|
|
2833
2833
|
let z = {};
|
|
2834
|
-
if (x.value !== "" ? z.id = x.value : (M.value++, z.id = "id" + M.value), (se =
|
|
2834
|
+
if (x.value !== "" ? z.id = x.value : (M.value++, z.id = "id" + M.value), (se = X.value) == null || se.forEach((B) => {
|
|
2835
2835
|
var Se;
|
|
2836
2836
|
const xe = (Se = Fi) == null ? void 0 : Se.find((Ue) => (Ue == null ? void 0 : Ue.label) === (B == null ? void 0 : B.label));
|
|
2837
2837
|
xe && (z[xe.key] = B.value);
|
|
2838
2838
|
}), (ge = f.value) != null && ge.find((B) => B.id === z.id))
|
|
2839
|
-
f.value = (
|
|
2839
|
+
f.value = (Je = f.value) == null ? void 0 : Je.map((B) => (B.id === z.id && (B = z), B));
|
|
2840
2840
|
else {
|
|
2841
2841
|
let B = F(f.value);
|
|
2842
2842
|
f.value || (f.value = []), B.push(z), f.value = B;
|
|
2843
2843
|
}
|
|
2844
2844
|
v.value = !1, x.value = "";
|
|
2845
2845
|
let Q = F(r.originalItemContents);
|
|
2846
|
-
(da = F(r.originalItemContents)) != null && da.find((B) => (B == null ? void 0 : B.key) === "formButton") ? Q = (
|
|
2846
|
+
(da = F(r.originalItemContents)) != null && da.find((B) => (B == null ? void 0 : B.key) === "formButton") ? Q = (Y = F(r.originalItemContents)) == null ? void 0 : Y.map((B) => ((B == null ? void 0 : B.key) === "formButton" && (B.contents = f.value), B)) : Q.push({
|
|
2847
2847
|
key: "formButton",
|
|
2848
2848
|
contents: f.value
|
|
2849
2849
|
}), i("change", Q);
|
|
@@ -2890,40 +2890,40 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2890
2890
|
id: M.value,
|
|
2891
2891
|
contents: se == null ? void 0 : se.options
|
|
2892
2892
|
});
|
|
2893
|
-
}),
|
|
2893
|
+
}), X.value = z, R.value = z;
|
|
2894
2894
|
}, T = () => {
|
|
2895
2895
|
var Q, se, ge;
|
|
2896
2896
|
c.value = !0;
|
|
2897
2897
|
let z = [];
|
|
2898
|
-
(ge = (se = (Q = yt) == null ? void 0 : Q.find((
|
|
2898
|
+
(ge = (se = (Q = yt) == null ? void 0 : Q.find((Je) => (Je == null ? void 0 : Je.key) === "Input")) == null ? void 0 : se.value) == null || ge.forEach((Je) => {
|
|
2899
2899
|
M.value++, z.push({
|
|
2900
|
-
label:
|
|
2901
|
-
name:
|
|
2902
|
-
type:
|
|
2903
|
-
value: (
|
|
2900
|
+
label: Je == null ? void 0 : Je.label,
|
|
2901
|
+
name: Je == null ? void 0 : Je.label,
|
|
2902
|
+
type: Je.type,
|
|
2903
|
+
value: (Je == null ? void 0 : Je.label) === "类型" ? "Input" : "",
|
|
2904
2904
|
id: M.value,
|
|
2905
|
-
contents:
|
|
2905
|
+
contents: Je == null ? void 0 : Je.options
|
|
2906
2906
|
});
|
|
2907
2907
|
}), u.value = z, m.value = z;
|
|
2908
2908
|
}, S = (z) => {
|
|
2909
2909
|
let Q = F(R.value);
|
|
2910
2910
|
Q = Q == null ? void 0 : Q.map((se) => (se.value = z == null ? void 0 : z[se.name], se)), R.value = Q;
|
|
2911
2911
|
}, be = (z) => {
|
|
2912
|
-
const Q = z.find((
|
|
2912
|
+
const Q = z.find((Je) => (Je == null ? void 0 : Je.name) === "类型");
|
|
2913
2913
|
if ((Q == null ? void 0 : Q.value) != "Select")
|
|
2914
2914
|
return;
|
|
2915
|
-
const se = z.find((
|
|
2915
|
+
const se = z.find((Je) => (Je == null ? void 0 : Je.name) === "多选"), ge = z.find((Je) => (Je == null ? void 0 : Je.name) === "初始值");
|
|
2916
2916
|
se != null && se.value && Io(ge.value) && (ge.value = [ge.value]), !(se != null && se.value) && !Io(ge.value) && (ge.value = "");
|
|
2917
2917
|
}, aa = async (z) => {
|
|
2918
|
-
var Q, se, ge,
|
|
2919
|
-
if ((z == null ? void 0 : z.类型) !== ((se = (Q = m.value) == null ? void 0 : Q.find((
|
|
2920
|
-
let
|
|
2921
|
-
const ve = await ((da = (
|
|
2918
|
+
var Q, se, ge, Je, da, Y, B, xe, Se, Ue, je, Ye;
|
|
2919
|
+
if ((z == null ? void 0 : z.类型) !== ((se = (Q = m.value) == null ? void 0 : Q.find((Ze) => (Ze == null ? void 0 : Ze.label) === "类型")) == null ? void 0 : se.value)) {
|
|
2920
|
+
let Ze = [];
|
|
2921
|
+
const ve = await ((da = (Je = (ge = yt) == null ? void 0 : ge.find((L) => (L == null ? void 0 : L.key) === ((z == null ? void 0 : z.类型) === "" ? "Input" : z == null ? void 0 : z.类型))) == null ? void 0 : Je.value) == null ? void 0 : da.value) ? await ((Ue = (Se = (xe = yt) == null ? void 0 : xe.find((L) => (L == null ? void 0 : L.key) === ((z == null ? void 0 : z.类型) === "" ? "Input" : z == null ? void 0 : z.类型))) == null ? void 0 : Se.value) == null ? void 0 : Ue.value) : (B = (Y = yt) == null ? void 0 : Y.find((L) => (L == null ? void 0 : L.key) === ((z == null ? void 0 : z.类型) === "" ? "Input" : z == null ? void 0 : z.类型))) == null ? void 0 : B.value;
|
|
2922
2922
|
if (ve == null || ve.forEach((L) => {
|
|
2923
2923
|
var pe, ce;
|
|
2924
2924
|
M.value++;
|
|
2925
2925
|
const G = Vs(L == null ? void 0 : L.default) ? (z == null ? void 0 : z[L.label]) ?? L.value ?? "" : L == null ? void 0 : L.default;
|
|
2926
|
-
|
|
2926
|
+
Ze.push({
|
|
2927
2927
|
label: L == null ? void 0 : L.label,
|
|
2928
2928
|
name: L == null ? void 0 : L.label,
|
|
2929
2929
|
type: L.type,
|
|
@@ -2935,30 +2935,30 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2935
2935
|
});
|
|
2936
2936
|
}), z != null && z.菜单选项 && ((je = z == null ? void 0 : z.菜单选项) == null ? void 0 : je.length) > 0) {
|
|
2937
2937
|
const L = await Wn(z == null ? void 0 : z.菜单选项);
|
|
2938
|
-
|
|
2938
|
+
Ze = Ze == null ? void 0 : Ze.map((G) => ((G == null ? void 0 : G.name) === "组信息选项" && (G.contents = L), G));
|
|
2939
2939
|
}
|
|
2940
|
-
be(
|
|
2940
|
+
be(Ze), m.value = await Ut(F(Ze)), u.value = await Ut(F(Ze));
|
|
2941
2941
|
} else {
|
|
2942
|
-
let
|
|
2943
|
-
if (
|
|
2942
|
+
let Ze = F(m.value);
|
|
2943
|
+
if (Ze = Ze == null ? void 0 : Ze.map((ve) => (ve.value = z == null ? void 0 : z[ve.name], ve)), z != null && z.菜单选项 && ((Ye = z == null ? void 0 : z.菜单选项) == null ? void 0 : Ye.length) > 0) {
|
|
2944
2944
|
const ve = await Wn(z == null ? void 0 : z.菜单选项);
|
|
2945
|
-
|
|
2945
|
+
Ze = Ze == null ? void 0 : Ze.map((L) => ((L == null ? void 0 : L.name) === "组信息选项" && (L.contents = ve), L));
|
|
2946
2946
|
}
|
|
2947
|
-
|
|
2947
|
+
Ze = zn(Ze), be(Ze), m.value = await Ut(F(Ze));
|
|
2948
2948
|
}
|
|
2949
2949
|
}, ua = (z) => {
|
|
2950
2950
|
z || (u.value = m.value);
|
|
2951
2951
|
}, Re = async (z) => {
|
|
2952
2952
|
await aa(z), u.value = m.value;
|
|
2953
2953
|
}, Ve = _l(async () => {
|
|
2954
|
-
var ge,
|
|
2954
|
+
var ge, Je, da, Y, B, xe, Se, Ue, je, Ye, Ze, ve;
|
|
2955
2955
|
u.value = m.value;
|
|
2956
2956
|
let z = {};
|
|
2957
|
-
z.width = ((
|
|
2958
|
-
let Q = await ((B = (
|
|
2957
|
+
z.width = ((Je = (ge = u.value) == null ? void 0 : ge[0]) == null ? void 0 : Je.width) ?? 1, x.value !== "" ? z.id = x.value : (M.value++, z.id = "id" + M.value);
|
|
2958
|
+
let Q = await ((B = (Y = (da = yt) == null ? void 0 : da.find((L) => {
|
|
2959
2959
|
var G, pe;
|
|
2960
2960
|
return (L == null ? void 0 : L.key) === (((pe = (G = u.value) == null ? void 0 : G.find((ce) => (ce == null ? void 0 : ce.label) === "类型")) == null ? void 0 : pe.value) ?? "label");
|
|
2961
|
-
})) == null ? void 0 :
|
|
2961
|
+
})) == null ? void 0 : Y.value) == null ? void 0 : B.value) ?? ((Se = (xe = yt) == null ? void 0 : xe.find((L) => {
|
|
2962
2962
|
var G, pe;
|
|
2963
2963
|
return (L == null ? void 0 : L.key) === (((pe = (G = u.value) == null ? void 0 : G.find((ce) => (ce == null ? void 0 : ce.label) === "类型")) == null ? void 0 : pe.value) ?? "label");
|
|
2964
2964
|
})) == null ? void 0 : Se.value);
|
|
@@ -2966,14 +2966,14 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2966
2966
|
const G = Q == null ? void 0 : Q.find((pe) => (pe == null ? void 0 : pe.label) === (L == null ? void 0 : L.label));
|
|
2967
2967
|
G && (z[G.key] = L.value);
|
|
2968
2968
|
}), z.width = z.width ? z.width : 1, z.key = z == null ? void 0 : z.label, z.isFormColHidden = z == null ? void 0 : z.isFormColHidden, (je = w.value) != null && je.find((L) => L.id === z.id))
|
|
2969
|
-
w.value = (
|
|
2969
|
+
w.value = (Ye = w.value) == null ? void 0 : Ye.map((L) => (L.id === z.id && (L = z), L));
|
|
2970
2970
|
else {
|
|
2971
2971
|
let L = F(w.value);
|
|
2972
2972
|
L.push(z), w.value = L;
|
|
2973
2973
|
}
|
|
2974
2974
|
w.value = w.value.map(({ id: L, ...G }) => G), c.value = !1, x.value = "";
|
|
2975
2975
|
let se = F(r.originalItemContents);
|
|
2976
|
-
(
|
|
2976
|
+
(Ze = F(r.originalItemContents)) != null && Ze.find((L) => (L == null ? void 0 : L.key) === "formContent") ? se = (ve = F(r.originalItemContents)) == null ? void 0 : ve.map((L) => ((L == null ? void 0 : L.key) === "formContent" && (L.contents = w.value), L)) : se.push({
|
|
2977
2977
|
key: "formContent",
|
|
2978
2978
|
contents: w.value
|
|
2979
2979
|
}), i("change", se);
|
|
@@ -2983,14 +2983,14 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
2983
2983
|
return _a(
|
|
2984
2984
|
() => r.originalItemContents,
|
|
2985
2985
|
() => {
|
|
2986
|
-
var Q, se, ge,
|
|
2986
|
+
var Q, se, ge, Je, da, Y;
|
|
2987
2987
|
if (!r.originalItemContents || r.originalItemContents.length === 0) return;
|
|
2988
2988
|
const z = F(r.originalItemContents);
|
|
2989
|
-
w.value = ((Q = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "formContent")) == null ? void 0 : Q.contents) ?? [], f.value = ((se = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "formButton")) == null ? void 0 : se.contents) ?? [], O.value = (ge = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "enableWrap")) != null && ge.contents ? !((
|
|
2989
|
+
w.value = ((Q = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "formContent")) == null ? void 0 : Q.contents) ?? [], f.value = ((se = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "formButton")) == null ? void 0 : se.contents) ?? [], O.value = (ge = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "enableWrap")) != null && ge.contents ? !((Je = z == null ? void 0 : z.find((B) => (B == null ? void 0 : B.key) === "enableWrap")) != null && Je.contents) : !0, w.value = (da = F(w.value)) == null ? void 0 : da.map((B, xe) => {
|
|
2990
2990
|
var Ue;
|
|
2991
2991
|
let Se = B;
|
|
2992
2992
|
return Se.id = (B == null ? void 0 : B.id) ?? xe, B != null && B.label || (B.label = (B == null ? void 0 : B.key) ?? (B == null ? void 0 : B.label) ?? ""), B != null && B.type || (B.type = (B == null ? void 0 : B.type) ?? ""), B.contents = ((Ue = B == null ? void 0 : B.options) == null ? void 0 : Ue.length) === 0 ? (B == null ? void 0 : B.contents) ?? "" : B == null ? void 0 : B.options, Se;
|
|
2993
|
-
}), w.value = zn(w.value), f.value = (
|
|
2993
|
+
}), w.value = zn(w.value), f.value = (Y = f.value) == null ? void 0 : Y.map((B, xe) => B = {
|
|
2994
2994
|
label: (B == null ? void 0 : B.label) ?? "",
|
|
2995
2995
|
type: (B == null ? void 0 : B.type) ?? "",
|
|
2996
2996
|
background: (B == null ? void 0 : B.background) ?? "var(--ssComponent-primary-color)",
|
|
@@ -3023,21 +3023,21 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3023
3023
|
})
|
|
3024
3024
|
]),
|
|
3025
3025
|
re("div", Cc, [
|
|
3026
|
-
(Oe(!0), ia(Ha, null, at(w.value, (
|
|
3026
|
+
(Oe(!0), ia(Ha, null, at(w.value, (Je, da) => (Oe(), ia("div", { key: da }, [
|
|
3027
3027
|
re("div", _c, [
|
|
3028
|
-
re("div", null, ga(
|
|
3028
|
+
re("div", null, ga(Je.label), 1),
|
|
3029
3029
|
re("div", Sc, [
|
|
3030
3030
|
ze(se, {
|
|
3031
3031
|
name: "ChildFix",
|
|
3032
3032
|
class: "svg-icon-content",
|
|
3033
3033
|
style: { width: "24px", height: "24px" },
|
|
3034
|
-
onClick: (
|
|
3034
|
+
onClick: (Y) => V(Je)
|
|
3035
3035
|
}, null, 8, ["onClick"]),
|
|
3036
3036
|
ze(se, {
|
|
3037
3037
|
name: "ChildDelete",
|
|
3038
3038
|
class: "svg-icon-content",
|
|
3039
3039
|
style: { width: "24px", height: "24px" },
|
|
3040
|
-
onClick: (
|
|
3040
|
+
onClick: (Y) => k(Je)
|
|
3041
3041
|
}, null, 8, ["onClick"])
|
|
3042
3042
|
])
|
|
3043
3043
|
])
|
|
@@ -3064,21 +3064,21 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3064
3064
|
})
|
|
3065
3065
|
]),
|
|
3066
3066
|
re("div", Ec, [
|
|
3067
|
-
(Oe(!0), ia(Ha, null, at(f.value, (
|
|
3067
|
+
(Oe(!0), ia(Ha, null, at(f.value, (Je, da) => (Oe(), ia("div", { key: da }, [
|
|
3068
3068
|
re("div", Tc, [
|
|
3069
|
-
re("div", null, ga(
|
|
3069
|
+
re("div", null, ga(Je.label), 1),
|
|
3070
3070
|
re("div", Ic, [
|
|
3071
3071
|
ze(se, {
|
|
3072
3072
|
name: "ChildFix",
|
|
3073
3073
|
class: "svg-icon-content",
|
|
3074
3074
|
style: { width: "24px", height: "24px" },
|
|
3075
|
-
onClick: (
|
|
3075
|
+
onClick: (Y) => j(Je)
|
|
3076
3076
|
}, null, 8, ["onClick"]),
|
|
3077
3077
|
ze(se, {
|
|
3078
3078
|
name: "ChildDelete",
|
|
3079
3079
|
class: "svg-icon-content",
|
|
3080
3080
|
style: { width: "24px", height: "24px" },
|
|
3081
|
-
onClick: (
|
|
3081
|
+
onClick: (Y) => P(Je)
|
|
3082
3082
|
}, null, 8, ["onClick"])
|
|
3083
3083
|
])
|
|
3084
3084
|
])
|
|
@@ -3091,7 +3091,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3091
3091
|
Q[5] || (Q[5] = re("div", { class: "operate-center-content" }, ga("是否自动撑宽"), -1)),
|
|
3092
3092
|
ze(lo, {
|
|
3093
3093
|
modelValue: O.value,
|
|
3094
|
-
"onUpdate:modelValue": Q[0] || (Q[0] = (
|
|
3094
|
+
"onUpdate:modelValue": Q[0] || (Q[0] = (Je) => O.value = Je)
|
|
3095
3095
|
}, null, 8, ["modelValue"])
|
|
3096
3096
|
])
|
|
3097
3097
|
]),
|
|
@@ -3148,8 +3148,8 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3148
3148
|
default: Fe(() => [
|
|
3149
3149
|
re("div", Bc, [
|
|
3150
3150
|
(Oe(), Ba(ft, {
|
|
3151
|
-
rowContents:
|
|
3152
|
-
key:
|
|
3151
|
+
rowContents: X.value,
|
|
3152
|
+
key: X.value,
|
|
3153
3153
|
isEnableWrap: !0,
|
|
3154
3154
|
onChange: S
|
|
3155
3155
|
}, null, 8, ["rowContents"]))
|
|
@@ -3303,7 +3303,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3303
3303
|
x.value.splice(j, 1), f.value = "delete";
|
|
3304
3304
|
break;
|
|
3305
3305
|
}
|
|
3306
|
-
},
|
|
3306
|
+
}, X = (V) => {
|
|
3307
3307
|
var j, oe, k;
|
|
3308
3308
|
if ((V == null ? void 0 : V.buttonName) === "确认") {
|
|
3309
3309
|
const P = F(V == null ? void 0 : V.content);
|
|
@@ -3424,7 +3424,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3424
3424
|
isButtonRow: !1,
|
|
3425
3425
|
isStartJustify: !1,
|
|
3426
3426
|
buttonValue: m.value,
|
|
3427
|
-
onOnButtonClick:
|
|
3427
|
+
onOnButtonClick: X
|
|
3428
3428
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3429
3429
|
])
|
|
3430
3430
|
]),
|
|
@@ -3599,7 +3599,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3599
3599
|
m.value.splice(j, 1), c.value = "delete";
|
|
3600
3600
|
break;
|
|
3601
3601
|
}
|
|
3602
|
-
},
|
|
3602
|
+
}, X = (V) => {
|
|
3603
3603
|
var j, oe, k, P;
|
|
3604
3604
|
if ((V == null ? void 0 : V.buttonName) === "确认") {
|
|
3605
3605
|
const g = F(V == null ? void 0 : V.content);
|
|
@@ -3720,7 +3720,7 @@ const bc = /* @__PURE__ */ it(yc, [["render", mc]]), kc = { class: "form-operate
|
|
|
3720
3720
|
isButtonRow: !1,
|
|
3721
3721
|
isStartJustify: !1,
|
|
3722
3722
|
buttonValue: w.value,
|
|
3723
|
-
onOnButtonClick:
|
|
3723
|
+
onOnButtonClick: X
|
|
3724
3724
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
3725
3725
|
])
|
|
3726
3726
|
]),
|
|
@@ -3782,13 +3782,13 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3782
3782
|
const P = (ua = (aa = Object.values(F(f.value))) == null ? void 0 : aa[0]) == null ? void 0 : ua.filter((Ae) => (Ae == null ? void 0 : Ae.key) === "tableContentName"), g = (Ve = (Re = Object.values(F(f.value))) == null ? void 0 : Re[0]) == null ? void 0 : Ve.filter((Ae) => (Ae == null ? void 0 : Ae.key) !== "tableContentName"), T = g == null ? void 0 : g.map((Ae, z) => {
|
|
3783
3783
|
var Q;
|
|
3784
3784
|
return z === k.index && (Ae == null ? void 0 : Ae.comp) === "Table" && (Ae.compData = (Q = Ae.compData) == null ? void 0 : Q.map((se) => {
|
|
3785
|
-
var ge,
|
|
3786
|
-
return (se == null ? void 0 : se.key) === "tableContents" && (se.contents = (
|
|
3787
|
-
let
|
|
3785
|
+
var ge, Je;
|
|
3786
|
+
return (se == null ? void 0 : se.key) === "tableContents" && (se.contents = (Je = (ge = k.content) == null ? void 0 : ge.map((da) => {
|
|
3787
|
+
let Y = {};
|
|
3788
3788
|
for (let B in da)
|
|
3789
|
-
B !== "id" && (
|
|
3790
|
-
return
|
|
3791
|
-
})) == null ? void 0 :
|
|
3789
|
+
B !== "id" && (Y[B] = da[B]);
|
|
3790
|
+
return Y;
|
|
3791
|
+
})) == null ? void 0 : Je.map((da) => Object.values(da))), se;
|
|
3792
3792
|
})), Ae;
|
|
3793
3793
|
});
|
|
3794
3794
|
T.unshift(P == null ? void 0 : P[0]);
|
|
@@ -3796,7 +3796,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3796
3796
|
for (let Ae in S)
|
|
3797
3797
|
be[Ae] = T;
|
|
3798
3798
|
f.value = be;
|
|
3799
|
-
},
|
|
3799
|
+
}, X = () => {
|
|
3800
3800
|
v.value = !1, f.value = {}, w.value = {}, x.value = void 0, i.value++;
|
|
3801
3801
|
}, R = (k) => {
|
|
3802
3802
|
var aa, ua, Re, Ve;
|
|
@@ -3860,7 +3860,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3860
3860
|
re("div", Qc, [
|
|
3861
3861
|
ze(g, {
|
|
3862
3862
|
class: "cancel-button footer-button",
|
|
3863
|
-
onClick:
|
|
3863
|
+
onClick: X,
|
|
3864
3864
|
id: "themeBorderButton"
|
|
3865
3865
|
}, {
|
|
3866
3866
|
default: Fe(() => P[0] || (P[0] = [
|
|
@@ -3909,12 +3909,12 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3909
3909
|
}
|
|
3910
3910
|
},
|
|
3911
3911
|
setup(t) {
|
|
3912
|
-
const l = ue([]), r = ro(et), { originalPath: i } = nt(r), c = t, u = ue(!1), m = ue(), v = so(et), { multipleTableConst: f } = nt(v), w = Pn(et), x = ue(!1), O = Vn(et), M = Oi(et), { itemData:
|
|
3913
|
-
var
|
|
3914
|
-
(
|
|
3912
|
+
const l = ue([]), r = ro(et), { originalPath: i } = nt(r), c = t, u = ue(!1), m = ue(), v = so(et), { multipleTableConst: f } = nt(v), w = Pn(et), x = ue(!1), O = Vn(et), M = Oi(et), { itemData: X, isEdit: R, routeToChildPath: Ce, tableViewContents: V, lockingPage: j, payloadTypes: oe } = nt(w), { activeMenuPath: k, platform: P, childMenu: g } = nt(O), { loginUserInfo: T } = nt(M), S = ue(!1), be = async () => {
|
|
3913
|
+
var Y, B;
|
|
3914
|
+
(Y = l.value) != null && Y.find((xe) => (xe == null ? void 0 : xe.buttonName) === "保存") && await se((B = l.value) == null ? void 0 : B.find((xe) => (xe == null ? void 0 : xe.buttonName) === "保存")), await ps();
|
|
3915
3915
|
};
|
|
3916
3916
|
_a(
|
|
3917
|
-
() =>
|
|
3917
|
+
() => X.value,
|
|
3918
3918
|
async () => {
|
|
3919
3919
|
R.value === "view" && !S.value && await da(F(c.itemData)), S.value = !1;
|
|
3920
3920
|
},
|
|
@@ -3922,29 +3922,29 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3922
3922
|
);
|
|
3923
3923
|
const aa = () => {
|
|
3924
3924
|
u.value = !1, m.value = void 0;
|
|
3925
|
-
}, ua = (
|
|
3925
|
+
}, ua = (Y) => Y.map((B) => {
|
|
3926
3926
|
const xe = {};
|
|
3927
3927
|
for (const Se in B) {
|
|
3928
3928
|
const Ue = B[Se];
|
|
3929
3929
|
if (Se.includes(f.value)) {
|
|
3930
3930
|
const je = Se.split(f.value);
|
|
3931
|
-
let
|
|
3932
|
-
je.forEach((
|
|
3933
|
-
ve === je.length - 1 ?
|
|
3931
|
+
let Ye = xe;
|
|
3932
|
+
je.forEach((Ze, ve) => {
|
|
3933
|
+
ve === je.length - 1 ? Ye[Ze] = Ue : (Ye[Ze] || (Ye[Ze] = {}), Ye = Ye[Ze]);
|
|
3934
3934
|
});
|
|
3935
3935
|
} else
|
|
3936
3936
|
xe[Se] = Ue;
|
|
3937
3937
|
}
|
|
3938
3938
|
return xe;
|
|
3939
|
-
}), Re = async (
|
|
3940
|
-
var Ue, je,
|
|
3939
|
+
}), Re = async (Y, B, xe = []) => {
|
|
3940
|
+
var Ue, je, Ye, Ze, ve, L, G, pe, ce, q, ae, J, ie, Ne, ca;
|
|
3941
3941
|
let Se = (Ue = F(B)) == null ? void 0 : Ue.filter((p) => (p == null ? void 0 : p.comp) !== "methodButton");
|
|
3942
|
-
if (
|
|
3943
|
-
let p = (L = (ve = (
|
|
3942
|
+
if (Y != null && Y.includes("[")) {
|
|
3943
|
+
let p = (L = (ve = (Ze = (Ye = (je = F(Y)) == null ? void 0 : je.split("[")) == null ? void 0 : Ye[1]) == null ? void 0 : Ze.split("]")) == null ? void 0 : ve[0]) == null ? void 0 : L.split(":"), C = "";
|
|
3944
3944
|
if (p != null && p[0]) {
|
|
3945
3945
|
let E = (G = Se == null ? void 0 : Se.find((W) => (W == null ? void 0 : W.name) === (p == null ? void 0 : p[0]))) == null ? void 0 : G.compData;
|
|
3946
3946
|
if (!E) {
|
|
3947
|
-
let W = (pe =
|
|
3947
|
+
let W = (pe = Y == null ? void 0 : Y.split("[")) == null ? void 0 : pe[0], b = await Fa(W, sessionStorage.getItem("systemKey"), "", !1, "", "", xe);
|
|
3948
3948
|
E = (ce = b == null ? void 0 : b.find((le) => (le == null ? void 0 : le.name) === (p == null ? void 0 : p[0]))) == null ? void 0 : ce.compData;
|
|
3949
3949
|
}
|
|
3950
3950
|
E == null || E.forEach((W) => {
|
|
@@ -3980,7 +3980,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
3980
3980
|
});
|
|
3981
3981
|
}
|
|
3982
3982
|
return C;
|
|
3983
|
-
} else if (
|
|
3983
|
+
} else if (Y != null && Y.includes("/")) {
|
|
3984
3984
|
let p = {};
|
|
3985
3985
|
return (q = F(Se)) == null || q.forEach((C, E) => {
|
|
3986
3986
|
var W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye;
|
|
@@ -4012,7 +4012,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4012
4012
|
}
|
|
4013
4013
|
}), p;
|
|
4014
4014
|
} else {
|
|
4015
|
-
if (
|
|
4015
|
+
if (Y === "createInsofDataApi") {
|
|
4016
4016
|
let p = (ae = F(B)) == null ? void 0 : ae[0];
|
|
4017
4017
|
return p = {
|
|
4018
4018
|
comp: (J = F(p)) == null ? void 0 : J.comp,
|
|
@@ -4031,18 +4031,18 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4031
4031
|
}
|
|
4032
4032
|
};
|
|
4033
4033
|
}
|
|
4034
|
-
return
|
|
4034
|
+
return Y;
|
|
4035
4035
|
}
|
|
4036
|
-
}, Ve = async (
|
|
4037
|
-
var je,
|
|
4036
|
+
}, Ve = async (Y, B, xe) => {
|
|
4037
|
+
var je, Ye, Ze;
|
|
4038
4038
|
let Se = await Fa(B, sessionStorage.getItem("systemKey"), ""), Ue = Se == null ? void 0 : Se.find((ve) => (ve == null ? void 0 : ve.name) === (xe == null ? void 0 : xe[0]));
|
|
4039
4039
|
if (Ue) {
|
|
4040
4040
|
if ((Ue == null ? void 0 : Ue.comp) === "Table") {
|
|
4041
4041
|
let ve = {};
|
|
4042
|
-
for (let J in F(
|
|
4043
|
-
F(
|
|
4042
|
+
for (let J in F(Y))
|
|
4043
|
+
F(Y)[J] !== "loginUser" ? ve[J] = F(Y)[J] : ve[J] = ((je = T.value) == null ? void 0 : je.account) || ((Ye = T.value) == null ? void 0 : Ye.账号);
|
|
4044
4044
|
let L = [], G = ve;
|
|
4045
|
-
Array.isArray(
|
|
4045
|
+
Array.isArray(Y) || (G = [ve]), G == null || G.forEach((J) => {
|
|
4046
4046
|
L.push({
|
|
4047
4047
|
[J[xe[1]]]: J
|
|
4048
4048
|
});
|
|
@@ -4085,9 +4085,9 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4085
4085
|
return ae;
|
|
4086
4086
|
} else if ((Ue == null ? void 0 : Ue.comp) === "Form") {
|
|
4087
4087
|
let ve = F(Ue);
|
|
4088
|
-
ve.compData = (
|
|
4088
|
+
ve.compData = (Ze = ve.compData) == null ? void 0 : Ze.map((pe) => {
|
|
4089
4089
|
var ce;
|
|
4090
|
-
return (pe == null ? void 0 : pe.key) === "formContent" && (pe.contents = (ce = pe.contents) == null ? void 0 : ce.map((q) => ((q == null ? void 0 : q.key) === (xe == null ? void 0 : xe[1]) && (q.value = (
|
|
4090
|
+
return (pe == null ? void 0 : pe.key) === "formContent" && (pe.contents = (ce = pe.contents) == null ? void 0 : ce.map((q) => ((q == null ? void 0 : q.key) === (xe == null ? void 0 : xe[1]) && (q.value = (Y == null ? void 0 : Y[q == null ? void 0 : q.prop]) || Y), q))), pe;
|
|
4091
4091
|
});
|
|
4092
4092
|
let L = {};
|
|
4093
4093
|
for (let pe in ve)
|
|
@@ -4110,14 +4110,14 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4110
4110
|
return G;
|
|
4111
4111
|
}
|
|
4112
4112
|
}
|
|
4113
|
-
}, Ae = async (
|
|
4114
|
-
var je,
|
|
4113
|
+
}, Ae = async (Y, B, xe) => {
|
|
4114
|
+
var je, Ye, Ze, ve, L, G, pe, ce, q, ae;
|
|
4115
4115
|
let Se = await Fa(B, sessionStorage.getItem("systemKey"), ""), Ue = Se == null ? void 0 : Se.find((J) => (J == null ? void 0 : J.name) === (xe == null ? void 0 : xe[0]));
|
|
4116
4116
|
if (Ue) {
|
|
4117
4117
|
if ((Ue == null ? void 0 : Ue.comp) === "Table") {
|
|
4118
4118
|
let J = {};
|
|
4119
|
-
for (let ie in F(
|
|
4120
|
-
F(
|
|
4119
|
+
for (let ie in F(Y))
|
|
4120
|
+
F(Y)[ie] !== "loginUser" ? J[ie] = F(Y)[ie] : J[ie] = ((je = T.value) == null ? void 0 : je.account) || ((Ye = T.value) == null ? void 0 : Ye.账号);
|
|
4121
4121
|
await Bi({
|
|
4122
4122
|
key: {
|
|
4123
4123
|
type: "data",
|
|
@@ -4130,8 +4130,8 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4130
4130
|
}
|
|
4131
4131
|
});
|
|
4132
4132
|
} else if ((Ue == null ? void 0 : Ue.comp) === "Form") {
|
|
4133
|
-
let J = F(Ue), ie = Object.keys(
|
|
4134
|
-
(ve = (
|
|
4133
|
+
let J = F(Ue), ie = Object.keys(Y), Ne = "";
|
|
4134
|
+
(ve = (Ze = F(J)) == null ? void 0 : Ze.compData) == null || ve.forEach((b) => {
|
|
4135
4135
|
var le, De;
|
|
4136
4136
|
(b == null ? void 0 : b.key) === "formContent" && ((De = (le = F(b)) == null ? void 0 : le.contents) == null || De.forEach((_) => {
|
|
4137
4137
|
var ee;
|
|
@@ -4139,7 +4139,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4139
4139
|
}));
|
|
4140
4140
|
});
|
|
4141
4141
|
let ca = [];
|
|
4142
|
-
(L = Object.values(
|
|
4142
|
+
(L = Object.values(Y[Ne])) == null || L.forEach((b) => {
|
|
4143
4143
|
b != null && b.includes("(") && ca.push(b);
|
|
4144
4144
|
}), ca = [...new Set(ca)];
|
|
4145
4145
|
const p = ca == null ? void 0 : ca.map(async (b) => {
|
|
@@ -4170,10 +4170,10 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4170
4170
|
var le, De;
|
|
4171
4171
|
return (b == null ? void 0 : b.key) === "formContent" && (b.contents = (De = (le = F(b)) == null ? void 0 : le.contents) == null ? void 0 : De.map((_) => {
|
|
4172
4172
|
var ee, K, $, Ee;
|
|
4173
|
-
return (ee =
|
|
4173
|
+
return (ee = Y[Ne]) != null && ee[_ == null ? void 0 : _.key] && (Y[Ne][_ == null ? void 0 : _.key].includes("(") ? _.value = (K = C == null ? void 0 : C.find((te) => {
|
|
4174
4174
|
var H;
|
|
4175
|
-
return ((H = Object.keys(te)) == null ? void 0 : H[0]) ===
|
|
4176
|
-
})) == null ? void 0 : K[
|
|
4175
|
+
return ((H = Object.keys(te)) == null ? void 0 : H[0]) === Y[Ne][_ == null ? void 0 : _.key];
|
|
4176
|
+
})) == null ? void 0 : K[Y[Ne][_ == null ? void 0 : _.key]] : _.value = (Ee = ($ = F(Y)) == null ? void 0 : $[Ne]) == null ? void 0 : Ee[_ == null ? void 0 : _.key]), _;
|
|
4177
4177
|
})), b;
|
|
4178
4178
|
});
|
|
4179
4179
|
const E = await lt({
|
|
@@ -4195,23 +4195,23 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4195
4195
|
}));
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
}, z = (
|
|
4199
|
-
for (const [Se, Ue] of Object.entries(
|
|
4198
|
+
}, z = (Y, B = "", xe = {}) => {
|
|
4199
|
+
for (const [Se, Ue] of Object.entries(Y)) {
|
|
4200
4200
|
const je = B ? `${B}.${Se}` : Se;
|
|
4201
4201
|
Ue !== null && typeof Ue == "object" && !Array.isArray(Ue) && // 数组按需求可自行处理
|
|
4202
4202
|
Object.prototype.toString.call(Ue) !== "[object Date]" ? z(Ue, je, xe) : xe[je] = Ue;
|
|
4203
4203
|
}
|
|
4204
4204
|
return xe;
|
|
4205
|
-
}, Q = async (
|
|
4206
|
-
var
|
|
4205
|
+
}, Q = async (Y, B, xe, Se) => {
|
|
4206
|
+
var Ye, Ze, ve, L, G, pe, ce, q, ae, J, ie, Ne, ca, p, C, E, W, b, le, De, _, ee, K, $, Ee;
|
|
4207
4207
|
let Ue = await Fa(B, sessionStorage.getItem("systemKey"), ""), je = Ue == null ? void 0 : Ue.find((te) => (te == null ? void 0 : te.name) === (xe == null ? void 0 : xe[0]));
|
|
4208
4208
|
if (je) {
|
|
4209
4209
|
if (!(xe != null && xe[1]) && (je == null ? void 0 : je.comp) === "Table") {
|
|
4210
|
-
let te = {}, H = [], Z = (
|
|
4210
|
+
let te = {}, H = [], Z = (Ze = (Ye = je == null ? void 0 : je.compData) == null ? void 0 : Ye.find((ke) => (ke == null ? void 0 : ke.key) === "header")) == null ? void 0 : Ze.contents;
|
|
4211
4211
|
Z != null && Z.every((ke) => Array.isArray(ke)) ? H = (L = Gi((ve = Z == null ? void 0 : Z[0]) == null ? void 0 : ve.filter((ke) => (ke == null ? void 0 : ke.label) !== "操作"))) == null ? void 0 : L.map((ke) => ke == null ? void 0 : ke.prop) : H = Z == null ? void 0 : Z.map((ke) => ke == null ? void 0 : ke.label);
|
|
4212
|
-
for (let ke in F(
|
|
4213
|
-
if (F(
|
|
4214
|
-
let we = z(F(
|
|
4212
|
+
for (let ke in F(Y))
|
|
4213
|
+
if (F(Y)[ke] !== "loginUser") {
|
|
4214
|
+
let we = z(F(Y)[ke]), N = {};
|
|
4215
4215
|
for (let Be in we)
|
|
4216
4216
|
if (H != null && H.find((ye) => ye === Be))
|
|
4217
4217
|
N[Be] = we[Be];
|
|
@@ -4275,7 +4275,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4275
4275
|
var _e, ke;
|
|
4276
4276
|
return (fe == null ? void 0 : fe.key) === "formContent" && (fe.contents = (ke = (_e = F(fe)) == null ? void 0 : _e.contents) == null ? void 0 : ke.map((we) => {
|
|
4277
4277
|
var N, Be;
|
|
4278
|
-
return (N = F(
|
|
4278
|
+
return (N = F(Y)) != null && N[we == null ? void 0 : we.key] && (we.value = (Be = F(Y)) == null ? void 0 : Be[we == null ? void 0 : we.key]), we;
|
|
4279
4279
|
})), fe;
|
|
4280
4280
|
});
|
|
4281
4281
|
const H = await lt({
|
|
@@ -4297,11 +4297,11 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4297
4297
|
}));
|
|
4298
4298
|
}
|
|
4299
4299
|
}
|
|
4300
|
-
}, se = async (
|
|
4301
|
-
var B, xe, Se, Ue, je,
|
|
4300
|
+
}, se = async (Y) => {
|
|
4301
|
+
var B, xe, Se, Ue, je, Ye, Ze, ve, L, G, pe, ce, q, ae, J, ie;
|
|
4302
4302
|
O.setImportLoading(!0);
|
|
4303
4303
|
try {
|
|
4304
|
-
if (
|
|
4304
|
+
if (Y.api) {
|
|
4305
4305
|
let Ne = /* @__PURE__ */ new WeakMap();
|
|
4306
4306
|
(xe = (B = (await li({
|
|
4307
4307
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -4347,8 +4347,8 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4347
4347
|
});
|
|
4348
4348
|
}
|
|
4349
4349
|
let E = {};
|
|
4350
|
-
if (((Ue = (Se =
|
|
4351
|
-
const K = (
|
|
4350
|
+
if (((Ue = (Se = Y == null ? void 0 : Y.extraValues) == null ? void 0 : Se.input) == null ? void 0 : Ue.length) > 0) {
|
|
4351
|
+
const K = (Ye = (je = Y == null ? void 0 : Y.extraValues) == null ? void 0 : je.input) == null ? void 0 : Ye.map(async ($) => {
|
|
4352
4352
|
var Ee;
|
|
4353
4353
|
ge != null && ge.find((te) => te === $) ? E = await Re($, p) : E[Object.keys($)[0]] = await Re((Ee = Object.values($)) == null ? void 0 : Ee[0], p, Ne);
|
|
4354
4354
|
});
|
|
@@ -4356,7 +4356,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4356
4356
|
} else
|
|
4357
4357
|
E = await Re("/", p);
|
|
4358
4358
|
let W = !1;
|
|
4359
|
-
(ve = (
|
|
4359
|
+
(ve = (Ze = Y == null ? void 0 : Y.extraValues) == null ? void 0 : Ze.output) == null || ve.forEach((K) => {
|
|
4360
4360
|
var $, Ee;
|
|
4361
4361
|
(Ee = ($ = Object.values(K)) == null ? void 0 : $[0]) != null && Ee.includes(".doc") && (W = !0);
|
|
4362
4362
|
});
|
|
@@ -4367,7 +4367,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4367
4367
|
text: "Loading",
|
|
4368
4368
|
background: "rgba(0, 0, 0, 0.7)"
|
|
4369
4369
|
});
|
|
4370
|
-
b = await Vi.post(
|
|
4370
|
+
b = await Vi.post(Y.api, E, {
|
|
4371
4371
|
responseType: "blob",
|
|
4372
4372
|
// 必须设置
|
|
4373
4373
|
headers: {
|
|
@@ -4377,23 +4377,23 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4377
4377
|
K.close();
|
|
4378
4378
|
});
|
|
4379
4379
|
} else
|
|
4380
|
-
b = await Vi.post(
|
|
4380
|
+
b = await Vi.post(Y.api, E, {
|
|
4381
4381
|
headers: {
|
|
4382
4382
|
"Content-Type": "application/json"
|
|
4383
4383
|
}
|
|
4384
4384
|
});
|
|
4385
|
-
let le = (ce = (pe = (G = (L = F(
|
|
4385
|
+
let le = (ce = (pe = (G = (L = F(Y)) == null ? void 0 : L.extraValues) == null ? void 0 : G.output) == null ? void 0 : pe.map((K) => {
|
|
4386
4386
|
var $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa;
|
|
4387
4387
|
if (!((Ee = ($ = Object.values(K)) == null ? void 0 : $[0]) != null && Ee.includes(".doc"))) {
|
|
4388
4388
|
let Me = (N = (we = (ke = (H = F((te = Object.values(K)) == null ? void 0 : te[0])) == null ? void 0 : H.split("[")) == null ? void 0 : ke[((_e = (fe = F((Z = Object.values(K)) == null ? void 0 : Z[0])) == null ? void 0 : fe.split("[")) == null ? void 0 : _e.length) - 1]) == null ? void 0 : we.split("]")) == null ? void 0 : N[0], wa = Me == null ? void 0 : Me.split(":"), oa = ($e = F((Be = Object.values(K)) == null ? void 0 : Be[0])) == null ? void 0 : $e.substring(0, F((ye = Object.values(K)) == null ? void 0 : ye[0]).lastIndexOf("["));
|
|
4389
4389
|
if (oa = (qe = F(oa)) == null ? void 0 : qe.slice(0, ((pa = F(oa)) == null ? void 0 : pa.length) - 1), oa != null && oa.includes("[")) {
|
|
4390
4390
|
let Le = "";
|
|
4391
4391
|
if ((sa = Ki(oa, "/")) == null || sa.forEach((We) => {
|
|
4392
|
-
var na,
|
|
4392
|
+
var na, Qe, Ke, la, he, Te, Pe;
|
|
4393
4393
|
if (!(We != null && We.includes("[")))
|
|
4394
4394
|
Le = Le === "" ? Le + We.replaceAll("/", "") : Le + "/" + We.replaceAll("/", "");
|
|
4395
4395
|
else {
|
|
4396
|
-
let ta = F(We).slice(1, ((na = F(We)) == null ? void 0 : na.length) - 1), A = (Te = (he = (la = (Ke = (
|
|
4396
|
+
let ta = F(We).slice(1, ((na = F(We)) == null ? void 0 : na.length) - 1), A = (Te = (he = (la = (Ke = (Qe = F(ta)) == null ? void 0 : Qe.split("[")) == null ? void 0 : Ke[1]) == null ? void 0 : la.split("]")) == null ? void 0 : he[0]) == null ? void 0 : Te.split(":"), de = "", Xe = (Pe = p == null ? void 0 : p.find((me) => (me == null ? void 0 : me.name) === (A == null ? void 0 : A[0]))) == null ? void 0 : Pe.compData;
|
|
4397
4397
|
Xe == null || Xe.forEach((me) => {
|
|
4398
4398
|
var ra;
|
|
4399
4399
|
(me == null ? void 0 : me.key) === "formContent" && ((ra = me == null ? void 0 : me.contents) == null || ra.forEach((Da) => {
|
|
@@ -4413,8 +4413,8 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4413
4413
|
return await vs(K);
|
|
4414
4414
|
});
|
|
4415
4415
|
await Promise.all(De);
|
|
4416
|
-
let _ = [], ee = (J = (ae = (q = F(
|
|
4417
|
-
var ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na,
|
|
4416
|
+
let _ = [], ee = (J = (ae = (q = F(Y)) == null ? void 0 : q.extraValues) == null ? void 0 : ae.output) == null ? void 0 : J.map(async (K) => {
|
|
4417
|
+
var ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na, Qe, Ke, la, he, Te, Pe, ta, A, de, Xe, me, ra, Da, Ca, ka, ha, ya, Oa, Ga, Wa, Xa, Sa, ot, ut, ct, wt, tt, tn, hn, Ht, gn, Vt, yn, mn, bn, kn, wn, nn, Kt, zt, qt, jt, St, Lt, xn, on, ln, Gt, Cn, _n, rn, Sn, Dn, Ra, bt;
|
|
4418
4418
|
if ((we = (ke = Object.values(K)) == null ? void 0 : ke[0]) != null && we.includes(".doc")) {
|
|
4419
4419
|
var $ = new Blob([b.data], {
|
|
4420
4420
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -4427,7 +4427,7 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4427
4427
|
let Ea = (Me = (sa = (qe = (Be = F((N = Object.values(K)) == null ? void 0 : N[0])) == null ? void 0 : Be.split("[")) == null ? void 0 : qe[((pa = ($e = F((ye = Object.values(K)) == null ? void 0 : ye[0])) == null ? void 0 : $e.split("[")) == null ? void 0 : pa.length) - 1]) == null ? void 0 : sa.split("]")) == null ? void 0 : Me[0], Ya = Ea == null ? void 0 : Ea.split(":"), Ta = (Le = F((wa = Object.values(K)) == null ? void 0 : wa[0])) == null ? void 0 : Le.substring(0, F((oa = Object.values(K)) == null ? void 0 : oa[0]).lastIndexOf("["));
|
|
4428
4428
|
if (Ta != null && Ta.includes("[") ? Ta = (na = F(Ta)) == null ? void 0 : na.slice(0, ((We = F(Ta)) == null ? void 0 : We.length) - 1) : Ta === "" && (Ta = k.value), Ta = Ta.replaceAll("<", "[").replaceAll(">", "]"), Ta != null && Ta.includes("[")) {
|
|
4429
4429
|
let za = "";
|
|
4430
|
-
(
|
|
4430
|
+
(Qe = Ki(Ta, "/")) == null || Qe.forEach((Aa, Ja) => {
|
|
4431
4431
|
var Va, Za, pt, Dt, sn, En, un, Tn, ci, Fn, Gn;
|
|
4432
4432
|
if (!(Aa != null && Aa.includes("[")))
|
|
4433
4433
|
za = za === "" ? za + Aa.replaceAll("/", "") : za + "/" + Aa.replaceAll("/", "");
|
|
@@ -4539,16 +4539,16 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4539
4539
|
return ((Le = oa == null ? void 0 : oa.key) == null ? void 0 : Le.join(",")) === ((na = (We = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : We.menuSelect) == null ? void 0 : na.join(","));
|
|
4540
4540
|
})) {
|
|
4541
4541
|
let oa = (qe = Z == null ? void 0 : Z.find((Le) => {
|
|
4542
|
-
var We, na,
|
|
4543
|
-
return ((We = Le == null ? void 0 : Le.key) == null ? void 0 : We.join(",")) === ((
|
|
4542
|
+
var We, na, Qe;
|
|
4543
|
+
return ((We = Le == null ? void 0 : Le.key) == null ? void 0 : We.join(",")) === ((Qe = (na = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : na.menuSelect) == null ? void 0 : Qe.join(","));
|
|
4544
4544
|
})) == null ? void 0 : qe.value;
|
|
4545
4545
|
oa.push({
|
|
4546
4546
|
key: ye == null ? void 0 : ye.prop,
|
|
4547
4547
|
groups: (sa = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : sa.groupSelect,
|
|
4548
4548
|
value: ye == null ? void 0 : ye.value
|
|
4549
4549
|
}), Z = Z == null ? void 0 : Z.map((Le) => {
|
|
4550
|
-
var We, na,
|
|
4551
|
-
return ((We = Le == null ? void 0 : Le.key) == null ? void 0 : We.join(",")) === ((
|
|
4550
|
+
var We, na, Qe;
|
|
4551
|
+
return ((We = Le == null ? void 0 : Le.key) == null ? void 0 : We.join(",")) === ((Qe = (na = ye == null ? void 0 : ye.optionUrl) == null ? void 0 : na.menuSelect) == null ? void 0 : Qe.join(",")) && (Le.value = oa), Le;
|
|
4552
4552
|
});
|
|
4553
4553
|
} else
|
|
4554
4554
|
Z.push({
|
|
@@ -4583,8 +4583,8 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4583
4583
|
})), Z == null || Z.forEach((N) => {
|
|
4584
4584
|
var pa, qe, sa;
|
|
4585
4585
|
let Be = (pa = Ne[N.key]) == null ? void 0 : pa.find((Me) => {
|
|
4586
|
-
var wa, oa, Le, We, na,
|
|
4587
|
-
return ((oa = (wa = Me == null ? void 0 : Me.value) == null ? void 0 : wa.pageData) == null ? void 0 : oa.name) === ((na = (We = (Le = N == null ? void 0 : N.value) == null ? void 0 : Le[0]) == null ? void 0 : We.groups) == null ? void 0 : na[0]) && ((Ke = (
|
|
4586
|
+
var wa, oa, Le, We, na, Qe, Ke;
|
|
4587
|
+
return ((oa = (wa = Me == null ? void 0 : Me.value) == null ? void 0 : wa.pageData) == null ? void 0 : oa.name) === ((na = (We = (Le = N == null ? void 0 : N.value) == null ? void 0 : Le[0]) == null ? void 0 : We.groups) == null ? void 0 : na[0]) && ((Ke = (Qe = Me == null ? void 0 : Me.value) == null ? void 0 : Qe.pageData) == null ? void 0 : Ke.name) !== void 0;
|
|
4588
4588
|
}), ye = Be == null ? void 0 : Be.id, $e = (qe = Be == null ? void 0 : Be.value) == null ? void 0 : qe.pageData;
|
|
4589
4589
|
$e.compData = (sa = $e.compData) == null ? void 0 : sa.map((Me) => {
|
|
4590
4590
|
var wa;
|
|
@@ -4613,21 +4613,21 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4613
4613
|
qa.error("方法执行错误,请查看方法!"), O.setImportLoading(!1);
|
|
4614
4614
|
}
|
|
4615
4615
|
S.value = !0;
|
|
4616
|
-
}, ge = ["createInsofDataApi"],
|
|
4617
|
-
se(
|
|
4618
|
-
}, 100), da = async (
|
|
4619
|
-
var
|
|
4620
|
-
const B = F(
|
|
4616
|
+
}, ge = ["createInsofDataApi"], Je = _l(async (Y) => {
|
|
4617
|
+
se(Y);
|
|
4618
|
+
}, 100), da = async (Y) => {
|
|
4619
|
+
var Ze, ve, L, G, pe;
|
|
4620
|
+
const B = F(Y);
|
|
4621
4621
|
let xe, Se = /* @__PURE__ */ new WeakMap(), Ue = await li({
|
|
4622
4622
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4623
4623
|
type: oe.value
|
|
4624
4624
|
});
|
|
4625
|
-
(ve = (
|
|
4625
|
+
(ve = (Ze = Ue.data.result) == null ? void 0 : Ze.filter((ce) => {
|
|
4626
4626
|
var q, ae;
|
|
4627
4627
|
return ((q = ce == null ? void 0 : ce.key) == null ? void 0 : q.pageKey) !== "menu" && ((ae = ce == null ? void 0 : ce.key) == null ? void 0 : ae.pageKey) !== "secret";
|
|
4628
4628
|
})) == null || ve.forEach((ce) => {
|
|
4629
4629
|
Se[ce.key.pageKey] ? Se[ce.key.pageKey] = [...Se[ce.key.pageKey], ce] : Se[ce.key.pageKey] = [ce];
|
|
4630
|
-
}),
|
|
4630
|
+
}), Y != null && Y[0].path && (xe = await (B == null ? void 0 : B.map(async (ce, q) => {
|
|
4631
4631
|
var E, W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke;
|
|
4632
4632
|
const J = (E = Se[ce == null ? void 0 : ce.path]) == null ? void 0 : E.filter((we) => {
|
|
4633
4633
|
var N;
|
|
@@ -4671,11 +4671,11 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4671
4671
|
extraContent: (b = F(ce.value)) == null ? void 0 : b.slice(1),
|
|
4672
4672
|
methodName: (ce == null ? void 0 : ce.method) ?? ""
|
|
4673
4673
|
};
|
|
4674
|
-
}),
|
|
4674
|
+
}), Ye = (
|
|
4675
4675
|
// await Promise.all(currentValueContents)
|
|
4676
|
-
(L =
|
|
4676
|
+
(L = Y == null ? void 0 : Y[0]) != null && L.path && ((G = Y == null ? void 0 : Y[0]) == null ? void 0 : G.path) !== "" ? await Promise.all(xe) : await Promise.all(je)
|
|
4677
4677
|
);
|
|
4678
|
-
l.value =
|
|
4678
|
+
l.value = Ye == null ? void 0 : Ye.filter((ce) => ce == null ? void 0 : ce.extraContent), (pe = l.value) == null || pe.forEach((ce) => {
|
|
4679
4679
|
var q;
|
|
4680
4680
|
ce.api === "" && ((q = ce.content) == null || q.forEach((ae) => {
|
|
4681
4681
|
var J;
|
|
@@ -4689,18 +4689,18 @@ const Xc = /* @__PURE__ */ it(qc, [["render", Gc]]), Yc = { class: "extra-conten
|
|
|
4689
4689
|
R.value == "view" && !S.value && await da(F(c.itemData)), S.value = !1;
|
|
4690
4690
|
},
|
|
4691
4691
|
{ immediate: !0, deep: !0 }
|
|
4692
|
-
), (
|
|
4692
|
+
), (Y, B) => {
|
|
4693
4693
|
var xe, Se, Ue;
|
|
4694
4694
|
return Ma(R) !== "edit" ? (Oe(), ia("div", td, [
|
|
4695
4695
|
(Oe(!0), ia(Ha, null, at((xe = l.value) == null ? void 0 : xe.filter((je) => (je == null ? void 0 : je.buttonName) !== "保存"), (je) => {
|
|
4696
|
-
var
|
|
4696
|
+
var Ye;
|
|
4697
4697
|
return Oe(), ia("div", null, [
|
|
4698
4698
|
je.api !== "" ? (Oe(), Ba(Ma(Ao), {
|
|
4699
4699
|
key: 0,
|
|
4700
|
-
disabled: Ma(j) === Ma(k) && !((
|
|
4700
|
+
disabled: Ma(j) === Ma(k) && !((Ye = je == null ? void 0 : je.buttonName) != null && Ye.includes("预览")),
|
|
4701
4701
|
class: "calculator-content",
|
|
4702
4702
|
modelValue: je.buttonName,
|
|
4703
|
-
onClickTrigger: (
|
|
4703
|
+
onClickTrigger: (Ze) => Ma(Je)(je),
|
|
4704
4704
|
loading: x.value
|
|
4705
4705
|
}, null, 8, ["disabled", "modelValue", "onClickTrigger", "loading"])) : vt("", !0)
|
|
4706
4706
|
]);
|
|
@@ -4860,7 +4860,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
4860
4860
|
}), M = (V) => {
|
|
4861
4861
|
var j;
|
|
4862
4862
|
w.value = F(V), i("change", (j = O()) == null ? void 0 : j.compData);
|
|
4863
|
-
},
|
|
4863
|
+
}, X = (V) => {
|
|
4864
4864
|
var j, oe;
|
|
4865
4865
|
if ((V == null ? void 0 : V.buttonName) === "确认") {
|
|
4866
4866
|
const k = F(V == null ? void 0 : V.content);
|
|
@@ -4976,7 +4976,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
4976
4976
|
isButtonRow: !1,
|
|
4977
4977
|
isStartJustify: !1,
|
|
4978
4978
|
buttonValue: m.value,
|
|
4979
|
-
onOnButtonClick:
|
|
4979
|
+
onOnButtonClick: X
|
|
4980
4980
|
}, null, 8, ["rowContents", "buttonValue"]))
|
|
4981
4981
|
])
|
|
4982
4982
|
]),
|
|
@@ -5006,7 +5006,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5006
5006
|
c.value = M, i("clickStep", O, M);
|
|
5007
5007
|
}, v = (O) => bl(O), f = () => {
|
|
5008
5008
|
var M;
|
|
5009
|
-
const O = (M = r == null ? void 0 : r.stepList) == null ? void 0 : M.find((
|
|
5009
|
+
const O = (M = r == null ? void 0 : r.stepList) == null ? void 0 : M.find((X, R) => R + 1 === u.value);
|
|
5010
5010
|
return console.log("findStep", O), O ? O == null ? void 0 : O.children : [];
|
|
5011
5011
|
}, w = (O) => {
|
|
5012
5012
|
i("clickTrigger", O);
|
|
@@ -5015,7 +5015,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5015
5015
|
};
|
|
5016
5016
|
return (O, M) => {
|
|
5017
5017
|
var Ce, V, j, oe, k;
|
|
5018
|
-
const
|
|
5018
|
+
const X = Ka("el-step"), R = Ka("el-steps");
|
|
5019
5019
|
return Oe(), ia(Ha, null, [
|
|
5020
5020
|
ze(R, {
|
|
5021
5021
|
direction: (Ce = t.stepConfig) == null ? void 0 : Ce.direction,
|
|
@@ -5025,7 +5025,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5025
5025
|
"align-center": ((j = t.stepConfig) == null ? void 0 : j.alignCenter) ?? !0
|
|
5026
5026
|
}, {
|
|
5027
5027
|
default: Fe(() => [
|
|
5028
|
-
(Oe(!0), ia(Ha, null, at(t.stepList, (P, g) => (Oe(), Ba(
|
|
5028
|
+
(Oe(!0), ia(Ha, null, at(t.stepList, (P, g) => (Oe(), Ba(X, {
|
|
5029
5029
|
key: g,
|
|
5030
5030
|
class: "step-item",
|
|
5031
5031
|
onClick: (T) => m(P, g + 1)
|
|
@@ -5289,47 +5289,47 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5289
5289
|
setup(t) {
|
|
5290
5290
|
const l = Ri(et), { itemData: r, originalData: i } = nt(l), c = ue([]);
|
|
5291
5291
|
ue([]);
|
|
5292
|
-
const u = ue([]), m = ue([]), v = (
|
|
5292
|
+
const u = ue([]), m = ue([]), v = (X) => {
|
|
5293
5293
|
var Ce;
|
|
5294
|
-
let R = (Ce = F(m.value)) == null ? void 0 : Ce.map((V, j) => (
|
|
5294
|
+
let R = (Ce = F(m.value)) == null ? void 0 : Ce.map((V, j) => (X === j && (V.content = !0), V));
|
|
5295
5295
|
m.value = R;
|
|
5296
|
-
}, f = (
|
|
5296
|
+
}, f = (X) => {
|
|
5297
5297
|
var Ce;
|
|
5298
|
-
let R = (Ce = F(m.value)) == null ? void 0 : Ce.map((V, j) => (
|
|
5298
|
+
let R = (Ce = F(m.value)) == null ? void 0 : Ce.map((V, j) => (X === j && (V.content = !1), V));
|
|
5299
5299
|
m.value = R, c.value = F(r.value);
|
|
5300
|
-
}, w = (
|
|
5300
|
+
}, w = (X, R) => {
|
|
5301
5301
|
var oe;
|
|
5302
|
-
let Ce = (oe = F(m.value)) == null ? void 0 : oe.map((k, P) => (
|
|
5302
|
+
let Ce = (oe = F(m.value)) == null ? void 0 : oe.map((k, P) => (X === P && (k.content = !1), k));
|
|
5303
5303
|
m.value = Ce;
|
|
5304
|
-
const V = F(r.value), j = V == null ? void 0 : V.filter((k, P) => (P ===
|
|
5304
|
+
const V = F(r.value), j = V == null ? void 0 : V.filter((k, P) => (P === X && (k.name = R), k));
|
|
5305
5305
|
l.setOriginalData(j), l.setItemData(j);
|
|
5306
5306
|
};
|
|
5307
5307
|
_a(
|
|
5308
5308
|
() => r.value,
|
|
5309
5309
|
() => {
|
|
5310
|
-
var
|
|
5311
|
-
!r.value || ((
|
|
5310
|
+
var X, R, Ce;
|
|
5311
|
+
!r.value || ((X = r.value) == null ? void 0 : X.length) === 0 ? c.value = [] : c.value = (R = F(r.value)) == null ? void 0 : R.filter((V) => (V == null ? void 0 : V.comp) !== "methodButton"), u.value = c.value, m.value = (Ce = F(u.value)) == null ? void 0 : Ce.map((V, j) => ({
|
|
5312
5312
|
id: j,
|
|
5313
5313
|
content: !1
|
|
5314
5314
|
}));
|
|
5315
5315
|
},
|
|
5316
5316
|
{ deep: !0, immediate: !0 }
|
|
5317
5317
|
);
|
|
5318
|
-
const x = (
|
|
5318
|
+
const x = (X) => qn(X), O = (X, R, Ce) => {
|
|
5319
5319
|
var j, oe;
|
|
5320
|
-
if (!
|
|
5320
|
+
if (!X) return;
|
|
5321
5321
|
let V = F(r.value);
|
|
5322
|
-
V = (j = V == null ? void 0 : V.map((k, P) => (P === Ce && (k.compData =
|
|
5322
|
+
V = (j = V == null ? void 0 : V.map((k, P) => (P === Ce && (k.compData = X), k))) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.comp) !== "methodButton"), m.value = (oe = F(V)) == null ? void 0 : oe.map((k, P) => ({
|
|
5323
5323
|
id: P,
|
|
5324
5324
|
content: !1
|
|
5325
5325
|
})), l.setOriginalData(V), l.setItemData(V);
|
|
5326
|
-
}, M = (
|
|
5326
|
+
}, M = (X) => {
|
|
5327
5327
|
$t.confirm("是否确认要删除", "", {
|
|
5328
5328
|
confirmButtonText: "确认",
|
|
5329
5329
|
cancelButtonText: "取消",
|
|
5330
5330
|
type: "warning"
|
|
5331
5331
|
}).then(() => {
|
|
5332
|
-
const R = F(r.value), Ce = R == null ? void 0 : R.filter((V, j) => j !==
|
|
5332
|
+
const R = F(r.value), Ce = R == null ? void 0 : R.filter((V, j) => j !== X);
|
|
5333
5333
|
l.setOriginalData(Ce), l.setItemData(Ce), qa({
|
|
5334
5334
|
type: "success",
|
|
5335
5335
|
message: "删除成功"
|
|
@@ -5337,7 +5337,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5337
5337
|
}).catch(() => {
|
|
5338
5338
|
});
|
|
5339
5339
|
};
|
|
5340
|
-
return (
|
|
5340
|
+
return (X, R) => {
|
|
5341
5341
|
const Ce = Ka("svg-icon");
|
|
5342
5342
|
return Oe(), ia("div", Od, [
|
|
5343
5343
|
R[1] || (R[1] = re("div", { class: "fill-operate" }, ga("操作栏"), -1)),
|
|
@@ -5469,74 +5469,74 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5469
5469
|
},
|
|
5470
5470
|
emits: ["change"],
|
|
5471
5471
|
setup(t, { emit: l }) {
|
|
5472
|
-
const r = t, i = l, c = ue([]), u = ue(!1), m = ue(""), v = ue({ title: "" }), f = ue(-1), w = ue(!1), x = ue(-1), O = ue(/* @__PURE__ */ new WeakMap()), M = ue(null),
|
|
5472
|
+
const r = t, i = l, c = ue([]), u = ue(!1), m = ue(""), v = ue({ title: "" }), f = ue(-1), w = ue(!1), x = ue(-1), O = ue(/* @__PURE__ */ new WeakMap()), M = ue(null), X = Ri(et), { itemData: R } = nt(X), Ce = () => {
|
|
5473
5473
|
m.value = "新增标签页", v.value.title = "", f.value = -1, u.value = !0;
|
|
5474
|
-
}, V = (
|
|
5475
|
-
m.value = "修改标签页", v.value.title = c.value[
|
|
5476
|
-
}, j = (
|
|
5477
|
-
const B = P(
|
|
5478
|
-
O.value.delete(B), c.value.splice(
|
|
5474
|
+
}, V = (Y) => {
|
|
5475
|
+
m.value = "修改标签页", v.value.title = c.value[Y].title, f.value = Y, u.value = !0;
|
|
5476
|
+
}, j = (Y) => {
|
|
5477
|
+
const B = P(Y);
|
|
5478
|
+
O.value.delete(B), c.value.splice(Y, 1), da();
|
|
5479
5479
|
}, oe = () => {
|
|
5480
5480
|
if (v.value.title.trim()) {
|
|
5481
5481
|
if (f.value === -1) {
|
|
5482
|
-
const
|
|
5482
|
+
const Y = {
|
|
5483
5483
|
title: v.value.title,
|
|
5484
5484
|
value: v.value.title,
|
|
5485
5485
|
label: v.value.title,
|
|
5486
5486
|
children: [],
|
|
5487
5487
|
id: k()
|
|
5488
5488
|
};
|
|
5489
|
-
c.value.push(
|
|
5489
|
+
c.value.push(Y);
|
|
5490
5490
|
} else
|
|
5491
5491
|
c.value[f.value].title = v.value.title, c.value[f.value].value = v.value.title, c.value[f.value].label = v.value.title;
|
|
5492
5492
|
u.value = !1, da();
|
|
5493
5493
|
}
|
|
5494
|
-
}, k = () => `tab_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`, P = (
|
|
5495
|
-
const B = c.value[
|
|
5494
|
+
}, k = () => `tab_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`, P = (Y) => {
|
|
5495
|
+
const B = c.value[Y];
|
|
5496
5496
|
return B.id || (B.id = k()), B.id;
|
|
5497
|
-
}, g = (
|
|
5497
|
+
}, g = (Y) => {
|
|
5498
5498
|
var Se;
|
|
5499
|
-
x.value =
|
|
5500
|
-
const B = P(
|
|
5499
|
+
x.value = Y;
|
|
5500
|
+
const B = P(Y);
|
|
5501
5501
|
M.value = F(R.value);
|
|
5502
5502
|
let xe = O.value.get(B);
|
|
5503
|
-
!xe && ((Se = c.value[
|
|
5503
|
+
!xe && ((Se = c.value[Y].children) == null ? void 0 : Se.length) > 0 && (xe = aa(c.value[Y].children)), xe ? X.setItemData(F(xe)) : X.setItemData([]), w.value = !0;
|
|
5504
5504
|
}, T = Ua(() => {
|
|
5505
|
-
const
|
|
5505
|
+
const Y = Pn(et), B = nt(Y).itemData.value;
|
|
5506
5506
|
return console.log("可用组件数据", B), !B || !Array.isArray(B) ? [] : B.filter((xe) => {
|
|
5507
5507
|
var Se;
|
|
5508
5508
|
if (xe.comp === "Tabs" && x.value >= 0) {
|
|
5509
5509
|
const Ue = P(x.value);
|
|
5510
5510
|
if ((Se = xe.compData) == null ? void 0 : Se.some(
|
|
5511
|
-
(
|
|
5512
|
-
var
|
|
5513
|
-
return
|
|
5511
|
+
(Ye) => {
|
|
5512
|
+
var Ze;
|
|
5513
|
+
return Ye.key === "stepList" && ((Ze = Ye.contents) == null ? void 0 : Ze.some((ve) => ve.id === Ue));
|
|
5514
5514
|
}
|
|
5515
5515
|
)) return !1;
|
|
5516
5516
|
}
|
|
5517
5517
|
return !0;
|
|
5518
5518
|
});
|
|
5519
|
-
}), S = (
|
|
5519
|
+
}), S = (Y) => ({
|
|
5520
5520
|
Table: "表格",
|
|
5521
5521
|
Form: "表单",
|
|
5522
5522
|
Tabs: "标签页",
|
|
5523
5523
|
Chart: "图表",
|
|
5524
5524
|
Card: "卡片"
|
|
5525
|
-
})[
|
|
5525
|
+
})[Y] || Y, be = (Y) => {
|
|
5526
5526
|
var B;
|
|
5527
5527
|
try {
|
|
5528
|
-
const xe = F(
|
|
5528
|
+
const xe = F(Y);
|
|
5529
5529
|
xe.id = Date.now() + Math.random(), xe.comp === "Tabs" && ((B = xe.compData) == null || B.forEach((Ue) => {
|
|
5530
5530
|
Ue.key === "stepList" && Ue.contents && Ue.contents.forEach((je) => {
|
|
5531
5531
|
je.id = k();
|
|
5532
5532
|
});
|
|
5533
5533
|
}));
|
|
5534
5534
|
const Se = F(R.value);
|
|
5535
|
-
Se.push(xe),
|
|
5535
|
+
Se.push(xe), X.setItemData(Se);
|
|
5536
5536
|
} catch (xe) {
|
|
5537
5537
|
console.error("添加组件失败:", xe);
|
|
5538
5538
|
}
|
|
5539
|
-
}, aa = (
|
|
5539
|
+
}, aa = (Y) => Y.map((B) => {
|
|
5540
5540
|
var xe;
|
|
5541
5541
|
switch (B.type) {
|
|
5542
5542
|
case "form":
|
|
@@ -5558,33 +5558,33 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5558
5558
|
compData: ((xe = B.content) == null ? void 0 : xe.originalData) || []
|
|
5559
5559
|
};
|
|
5560
5560
|
}
|
|
5561
|
-
}), ua = (
|
|
5562
|
-
if (!
|
|
5561
|
+
}), ua = (Y) => {
|
|
5562
|
+
if (!Y) return [];
|
|
5563
5563
|
const B = [];
|
|
5564
|
-
return
|
|
5564
|
+
return Y.rowContents && B.push({
|
|
5565
5565
|
key: "formContent",
|
|
5566
|
-
contents:
|
|
5567
|
-
}),
|
|
5566
|
+
contents: Y.rowContents
|
|
5567
|
+
}), Y.buttonValue && B.push({
|
|
5568
5568
|
key: "formButton",
|
|
5569
|
-
contents:
|
|
5570
|
-
}), typeof
|
|
5569
|
+
contents: Y.buttonValue
|
|
5570
|
+
}), typeof Y.isEnableWrap < "u" && B.push({
|
|
5571
5571
|
key: "enableWrap",
|
|
5572
|
-
contents:
|
|
5572
|
+
contents: Y.isEnableWrap
|
|
5573
5573
|
}), B;
|
|
5574
|
-
}, Re = (
|
|
5574
|
+
}, Re = (Y) => [], Ve = () => {
|
|
5575
5575
|
if (x.value >= 0 && x.value < c.value.length) {
|
|
5576
|
-
const
|
|
5577
|
-
O.value.set(
|
|
5576
|
+
const Y = P(x.value);
|
|
5577
|
+
O.value.set(Y, F(R.value)), c.value[x.value].children = Q(R.value), console.log("保存后的数据", Q(R.value));
|
|
5578
5578
|
}
|
|
5579
5579
|
w.value = !1, x.value = -1, M.value = null, da();
|
|
5580
5580
|
}, Ae = () => {
|
|
5581
|
-
M.value &&
|
|
5581
|
+
M.value && X.setItemData(F(M.value)), w.value = !1, x.value = -1, M.value = null;
|
|
5582
5582
|
}, z = () => {
|
|
5583
5583
|
w.value && Ae();
|
|
5584
|
-
}, Q = (
|
|
5585
|
-
if (!Array.isArray(
|
|
5584
|
+
}, Q = (Y) => {
|
|
5585
|
+
if (!Array.isArray(Y))
|
|
5586
5586
|
throw new Error("sourceData must be an array");
|
|
5587
|
-
return
|
|
5587
|
+
return Y.map((B, xe) => {
|
|
5588
5588
|
if (!B || typeof B != "object")
|
|
5589
5589
|
return B;
|
|
5590
5590
|
const { comp: Se, name: Ue, compData: je } = B;
|
|
@@ -5604,12 +5604,12 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5604
5604
|
default:
|
|
5605
5605
|
return {
|
|
5606
5606
|
type: "xxx",
|
|
5607
|
-
content:
|
|
5607
|
+
content: Je(je || []),
|
|
5608
5608
|
value: ""
|
|
5609
5609
|
};
|
|
5610
5610
|
}
|
|
5611
5611
|
});
|
|
5612
|
-
}, se = (
|
|
5612
|
+
}, se = (Y) => {
|
|
5613
5613
|
const B = {
|
|
5614
5614
|
formRules: {},
|
|
5615
5615
|
rowContents: [],
|
|
@@ -5625,19 +5625,19 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5625
5625
|
enableWrap: "isEnableWrap",
|
|
5626
5626
|
formButton: "buttonValue"
|
|
5627
5627
|
};
|
|
5628
|
-
return
|
|
5628
|
+
return Y.forEach((Se, Ue) => {
|
|
5629
5629
|
if (!Se || typeof Se != "object") {
|
|
5630
5630
|
console.warn(`Invalid config at index ${Ue}:`, Se);
|
|
5631
5631
|
return;
|
|
5632
5632
|
}
|
|
5633
|
-
const { key: je, contents:
|
|
5634
|
-
if (!
|
|
5633
|
+
const { key: je, contents: Ye } = Se, Ze = xe[je];
|
|
5634
|
+
if (!Ze) {
|
|
5635
5635
|
console.warn(`Unknown Form config key: ${je}`);
|
|
5636
5636
|
return;
|
|
5637
5637
|
}
|
|
5638
|
-
je === "enableWrap" ? B[
|
|
5638
|
+
je === "enableWrap" ? B[Ze] = !!Ye : B[Ze] = Array.isArray(Ye) ? Ye : [];
|
|
5639
5639
|
}), B;
|
|
5640
|
-
}, ge = (
|
|
5640
|
+
}, ge = (Y) => {
|
|
5641
5641
|
const B = {
|
|
5642
5642
|
columns: [],
|
|
5643
5643
|
tableData: [],
|
|
@@ -5654,36 +5654,36 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5654
5654
|
header: "columns",
|
|
5655
5655
|
tableContents: "tableData"
|
|
5656
5656
|
};
|
|
5657
|
-
return
|
|
5657
|
+
return Y.forEach((Se, Ue) => {
|
|
5658
5658
|
if (!Se || typeof Se != "object") {
|
|
5659
5659
|
console.warn(`Invalid config at index ${Ue}:`, Se);
|
|
5660
5660
|
return;
|
|
5661
5661
|
}
|
|
5662
|
-
const { key: je, contents:
|
|
5663
|
-
if (!
|
|
5662
|
+
const { key: je, contents: Ye } = Se, Ze = xe[je];
|
|
5663
|
+
if (!Ze) {
|
|
5664
5664
|
console.warn(`Unknown Table config key: ${je}`);
|
|
5665
5665
|
return;
|
|
5666
5666
|
}
|
|
5667
|
-
B[
|
|
5667
|
+
B[Ze] = Array.isArray(Ye) ? Ye : [];
|
|
5668
5668
|
}), B;
|
|
5669
|
-
},
|
|
5670
|
-
originalData:
|
|
5669
|
+
}, Je = (Y) => (console.log("Default conversion logic - to be implemented"), {
|
|
5670
|
+
originalData: Y,
|
|
5671
5671
|
processed: !1,
|
|
5672
5672
|
componentType: "unknown"
|
|
5673
5673
|
}), da = () => {
|
|
5674
|
-
const
|
|
5674
|
+
const Y = [
|
|
5675
5675
|
{
|
|
5676
5676
|
key: "stepList",
|
|
5677
5677
|
contents: c.value
|
|
5678
5678
|
}
|
|
5679
5679
|
];
|
|
5680
|
-
i("change",
|
|
5680
|
+
i("change", Y);
|
|
5681
5681
|
};
|
|
5682
5682
|
return _a(
|
|
5683
5683
|
() => r.itemContents,
|
|
5684
|
-
(
|
|
5685
|
-
if (
|
|
5686
|
-
const B =
|
|
5684
|
+
(Y) => {
|
|
5685
|
+
if (Y && Y.length > 0) {
|
|
5686
|
+
const B = Y.find((xe) => xe.key === "stepList");
|
|
5687
5687
|
B && B.contents && (c.value = B.contents.map((xe) => ({
|
|
5688
5688
|
title: xe.title || "",
|
|
5689
5689
|
value: xe.value || xe.title || "",
|
|
@@ -5694,7 +5694,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5694
5694
|
}
|
|
5695
5695
|
},
|
|
5696
5696
|
{ immediate: !0, deep: !0 }
|
|
5697
|
-
), (
|
|
5697
|
+
), (Y, B) => {
|
|
5698
5698
|
const xe = Ka("svg-icon"), Se = Ka("el-input"), Ue = Ka("el-form-item"), je = Ka("el-form");
|
|
5699
5699
|
return Oe(), ia("div", null, [
|
|
5700
5700
|
re("div", qd, [
|
|
@@ -5708,33 +5708,33 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5708
5708
|
])
|
|
5709
5709
|
]),
|
|
5710
5710
|
re("div", Gd, [
|
|
5711
|
-
(Oe(!0), ia(Ha, null, at(c.value, (
|
|
5711
|
+
(Oe(!0), ia(Ha, null, at(c.value, (Ye, Ze) => (Oe(), ia("div", {
|
|
5712
5712
|
class: "tab-item",
|
|
5713
|
-
key:
|
|
5713
|
+
key: Ze
|
|
5714
5714
|
}, [
|
|
5715
|
-
re("span", Xd, ga(
|
|
5715
|
+
re("span", Xd, ga(Ye.title), 1),
|
|
5716
5716
|
re("div", Yd, [
|
|
5717
5717
|
re("button", {
|
|
5718
|
-
onClick: (ve) => V(
|
|
5718
|
+
onClick: (ve) => V(Ze)
|
|
5719
5719
|
}, "修改标题", 8, Jd),
|
|
5720
5720
|
re("button", {
|
|
5721
|
-
onClick: (ve) => g(
|
|
5721
|
+
onClick: (ve) => g(Ze)
|
|
5722
5722
|
}, "布局调整", 8, Zd),
|
|
5723
5723
|
re("button", {
|
|
5724
|
-
onClick: (ve) => j(
|
|
5724
|
+
onClick: (ve) => j(Ze)
|
|
5725
5725
|
}, "删除", 8, Qd)
|
|
5726
5726
|
])
|
|
5727
5727
|
]))), 128))
|
|
5728
5728
|
]),
|
|
5729
5729
|
ze(gt, {
|
|
5730
5730
|
modelValue: u.value,
|
|
5731
|
-
"onUpdate:modelValue": B[2] || (B[2] = (
|
|
5731
|
+
"onUpdate:modelValue": B[2] || (B[2] = (Ye) => u.value = Ye),
|
|
5732
5732
|
title: m.value,
|
|
5733
|
-
onBeforeDestroy: B[3] || (B[3] = (
|
|
5733
|
+
onBeforeDestroy: B[3] || (B[3] = (Ye) => u.value = !1)
|
|
5734
5734
|
}, {
|
|
5735
5735
|
footer: Fe(() => [
|
|
5736
5736
|
re("button", {
|
|
5737
|
-
onClick: B[1] || (B[1] = (
|
|
5737
|
+
onClick: B[1] || (B[1] = (Ye) => u.value = !1)
|
|
5738
5738
|
}, "取消"),
|
|
5739
5739
|
re("button", {
|
|
5740
5740
|
type: "primary",
|
|
@@ -5754,7 +5754,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5754
5754
|
default: Fe(() => [
|
|
5755
5755
|
ze(Se, {
|
|
5756
5756
|
modelValue: v.value.title,
|
|
5757
|
-
"onUpdate:modelValue": B[0] || (B[0] = (
|
|
5757
|
+
"onUpdate:modelValue": B[0] || (B[0] = (Ye) => v.value.title = Ye),
|
|
5758
5758
|
placeholder: "请输入标签页名称"
|
|
5759
5759
|
}, null, 8, ["modelValue"])
|
|
5760
5760
|
]),
|
|
@@ -5768,7 +5768,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5768
5768
|
}, 8, ["modelValue", "title"]),
|
|
5769
5769
|
ze(gt, {
|
|
5770
5770
|
modelValue: w.value,
|
|
5771
|
-
"onUpdate:modelValue": B[4] || (B[4] = (
|
|
5771
|
+
"onUpdate:modelValue": B[4] || (B[4] = (Ye) => w.value = Ye),
|
|
5772
5772
|
title: "布局调整",
|
|
5773
5773
|
fullScreen: "",
|
|
5774
5774
|
onBeforeDestroy: z
|
|
@@ -5784,14 +5784,14 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5784
5784
|
re("div", tf, [
|
|
5785
5785
|
B[8] || (B[8] = re("h5", null, "添加已有组件", -1)),
|
|
5786
5786
|
re("div", nf, [
|
|
5787
|
-
(Oe(!0), ia(Ha, null, at(T.value, (
|
|
5788
|
-
key:
|
|
5787
|
+
(Oe(!0), ia(Ha, null, at(T.value, (Ye) => (Oe(), ia("div", {
|
|
5788
|
+
key: Ye.id,
|
|
5789
5789
|
class: "component-item",
|
|
5790
|
-
onClick: (
|
|
5790
|
+
onClick: (Ze) => be(Ye)
|
|
5791
5791
|
}, [
|
|
5792
5792
|
re("div", lf, [
|
|
5793
|
-
re("span", rf, ga(S(
|
|
5794
|
-
re("span", sf, ga(
|
|
5793
|
+
re("span", rf, ga(S(Ye.comp)), 1),
|
|
5794
|
+
re("span", sf, ga(Ye.name), 1)
|
|
5795
5795
|
]),
|
|
5796
5796
|
B[7] || (B[7] = re("button", { class: "add-btn" }, "添加", -1))
|
|
5797
5797
|
], 8, of))), 128))
|
|
@@ -5800,7 +5800,7 @@ const rd = /* @__PURE__ */ it(od, [["render", ld]]), sd = { class: "module conte
|
|
|
5800
5800
|
]),
|
|
5801
5801
|
(Oe(), ia("div", {
|
|
5802
5802
|
class: "model-show",
|
|
5803
|
-
key:
|
|
5803
|
+
key: Y.innerWidth
|
|
5804
5804
|
}, [
|
|
5805
5805
|
ze(Vd)
|
|
5806
5806
|
])),
|
|
@@ -5960,10 +5960,10 @@ const Qt = {
|
|
|
5960
5960
|
});
|
|
5961
5961
|
return ((f == null ? void 0 : f.contents) || []).forEach((O) => {
|
|
5962
5962
|
const M = O == null ? void 0 : O[0];
|
|
5963
|
-
let
|
|
5964
|
-
oi(M) && (M != null && M.id) && (
|
|
5963
|
+
let X = !1;
|
|
5964
|
+
oi(M) && (M != null && M.id) && (X = !0);
|
|
5965
5965
|
let R = u, Ce = m;
|
|
5966
|
-
|
|
5966
|
+
X && (R = R + 1, Ce = Ce + 1);
|
|
5967
5967
|
const V = O == null ? void 0 : O[R], j = O == null ? void 0 : O[Ce];
|
|
5968
5968
|
r.push(V), i.push(j);
|
|
5969
5969
|
}), {
|
|
@@ -6052,8 +6052,8 @@ const Qt = {
|
|
|
6052
6052
|
if (!w || !x)
|
|
6053
6053
|
return f;
|
|
6054
6054
|
const O = [];
|
|
6055
|
-
for (let
|
|
6056
|
-
const R = w[
|
|
6055
|
+
for (let X = 0; X < w.length; X++) {
|
|
6056
|
+
const R = w[X], Ce = x[X];
|
|
6057
6057
|
O.push({
|
|
6058
6058
|
name: R,
|
|
6059
6059
|
value: Ce
|
|
@@ -6177,7 +6177,7 @@ const Qt = {
|
|
|
6177
6177
|
visible: !1,
|
|
6178
6178
|
width: "840",
|
|
6179
6179
|
title: "数据配置"
|
|
6180
|
-
}), M = ue([]),
|
|
6180
|
+
}), M = ue([]), X = () => [
|
|
6181
6181
|
// {
|
|
6182
6182
|
// label: '关联列',
|
|
6183
6183
|
// prop: 'selectRelateType',
|
|
@@ -6243,7 +6243,7 @@ const Qt = {
|
|
|
6243
6243
|
const q = await hs(), ae = Ce();
|
|
6244
6244
|
ae == null || ae.forEach((J) => {
|
|
6245
6245
|
(J == null ? void 0 : J.prop) === "menu" && (J.contents = q);
|
|
6246
|
-
}), M.value = ae, O.visible = !0, await
|
|
6246
|
+
}), M.value = ae, O.visible = !0, await Ye(R.value.menu), await L(R.value.group);
|
|
6247
6247
|
}, oe = Ot({
|
|
6248
6248
|
visible: !1,
|
|
6249
6249
|
width: "840",
|
|
@@ -6347,9 +6347,9 @@ const Qt = {
|
|
|
6347
6347
|
ie = ie.filter((Ne) => {
|
|
6348
6348
|
const { prop: ca } = Ne;
|
|
6349
6349
|
return ca !== "formItems";
|
|
6350
|
-
}),
|
|
6350
|
+
}), Ze(ie, J), k.value = ie;
|
|
6351
6351
|
}
|
|
6352
|
-
},
|
|
6352
|
+
}, Je = async () => {
|
|
6353
6353
|
var J, ie;
|
|
6354
6354
|
const q = (J = g == null ? void 0 : g.value) == null ? void 0 : J.mainKey, ae = (ie = R == null ? void 0 : R.value) == null ? void 0 : ie.menu;
|
|
6355
6355
|
if (q) {
|
|
@@ -6365,7 +6365,7 @@ const Qt = {
|
|
|
6365
6365
|
var q;
|
|
6366
6366
|
return (q = g == null ? void 0 : g.value) == null ? void 0 : q.mainKey;
|
|
6367
6367
|
}, async (q, ae) => {
|
|
6368
|
-
q != ae && q && await
|
|
6368
|
+
q != ae && q && await Je();
|
|
6369
6369
|
});
|
|
6370
6370
|
const da = async (q) => {
|
|
6371
6371
|
const ae = Re.value[q];
|
|
@@ -6377,9 +6377,9 @@ const Qt = {
|
|
|
6377
6377
|
}, async (q, ae) => {
|
|
6378
6378
|
q != ae && q && da(q);
|
|
6379
6379
|
});
|
|
6380
|
-
const
|
|
6380
|
+
const Y = async () => {
|
|
6381
6381
|
var ae;
|
|
6382
|
-
await
|
|
6382
|
+
await Je();
|
|
6383
6383
|
const q = (ae = g.value) == null ? void 0 : ae.group;
|
|
6384
6384
|
await da(q);
|
|
6385
6385
|
}, B = ue([]), xe = ue({}), Se = ue({}), Ue = async (q) => {
|
|
@@ -6394,7 +6394,7 @@ const Qt = {
|
|
|
6394
6394
|
value: ie
|
|
6395
6395
|
};
|
|
6396
6396
|
});
|
|
6397
|
-
},
|
|
6397
|
+
}, Ye = async (q, ae) => {
|
|
6398
6398
|
await je(q);
|
|
6399
6399
|
const J = Ce();
|
|
6400
6400
|
J == null || J.forEach((ie) => {
|
|
@@ -6406,9 +6406,9 @@ const Qt = {
|
|
|
6406
6406
|
return (q = R == null ? void 0 : R.value) == null ? void 0 : q.menu;
|
|
6407
6407
|
}, async (q, ae) => {
|
|
6408
6408
|
const J = q == null ? void 0 : q.join("/"), ie = ae == null ? void 0 : ae.join("/");
|
|
6409
|
-
J != ie && await
|
|
6409
|
+
J != ie && await Ye(q);
|
|
6410
6410
|
});
|
|
6411
|
-
const
|
|
6411
|
+
const Ze = (q, ae) => {
|
|
6412
6412
|
const J = ae == null ? void 0 : ae.find((p) => {
|
|
6413
6413
|
const { key: C } = p;
|
|
6414
6414
|
return C === "header";
|
|
@@ -6434,7 +6434,7 @@ const Qt = {
|
|
|
6434
6434
|
ie = ie.filter((Ne) => {
|
|
6435
6435
|
const { prop: ca } = Ne;
|
|
6436
6436
|
return ca !== "formItems";
|
|
6437
|
-
}),
|
|
6437
|
+
}), Ze(ie, J), M.value = ie;
|
|
6438
6438
|
}
|
|
6439
6439
|
}, L = async (q) => {
|
|
6440
6440
|
const ae = xe.value[q];
|
|
@@ -6449,7 +6449,7 @@ const Qt = {
|
|
|
6449
6449
|
const G = async () => {
|
|
6450
6450
|
var J, ie;
|
|
6451
6451
|
const q = (J = R.value) == null ? void 0 : J.menu;
|
|
6452
|
-
await
|
|
6452
|
+
await Ye(q);
|
|
6453
6453
|
const ae = (ie = R.value) == null ? void 0 : ie.group;
|
|
6454
6454
|
await L(ae);
|
|
6455
6455
|
}, pe = () => ({
|
|
@@ -6473,9 +6473,9 @@ const Qt = {
|
|
|
6473
6473
|
};
|
|
6474
6474
|
return an(async () => {
|
|
6475
6475
|
var ae, J, ie;
|
|
6476
|
-
M.value =
|
|
6476
|
+
M.value = X(), k.value = P();
|
|
6477
6477
|
const q = r == null ? void 0 : r.itemContents;
|
|
6478
|
-
v.value = ((ae = q == null ? void 0 : q.find((Ne) => Ne.key === "chartBaseConfig")) == null ? void 0 : ae.contents) ?? {}, R.value = ((J = q == null ? void 0 : q.find((Ne) => Ne.key === "chartDataConfig")) == null ? void 0 : J.contents) ?? {}, await G(), g.value = ((ie = q == null ? void 0 : q.find((Ne) => Ne.key === "chartDetailConfig")) == null ? void 0 : ie.contents) ?? {}, await
|
|
6478
|
+
v.value = ((ae = q == null ? void 0 : q.find((Ne) => Ne.key === "chartBaseConfig")) == null ? void 0 : ae.contents) ?? {}, R.value = ((J = q == null ? void 0 : q.find((Ne) => Ne.key === "chartDataConfig")) == null ? void 0 : J.contents) ?? {}, await G(), g.value = ((ie = q == null ? void 0 : q.find((Ne) => Ne.key === "chartDetailConfig")) == null ? void 0 : ie.contents) ?? {}, await Y();
|
|
6479
6479
|
}), (q, ae) => {
|
|
6480
6480
|
const J = Ka("el-button");
|
|
6481
6481
|
return Oe(), ia(Ha, null, [
|
|
@@ -6692,11 +6692,11 @@ function $f() {
|
|
|
6692
6692
|
}
|
|
6693
6693
|
var m = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof gi == "object" && gi.global === gi ? gi : void 0, v = m.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), f = m.saveAs || (typeof window != "object" || window !== m ? function() {
|
|
6694
6694
|
} : "download" in HTMLAnchorElement.prototype && !v ? function(w, x, O) {
|
|
6695
|
-
var M = m.URL || m.webkitURL,
|
|
6696
|
-
x = x || w.name || "download",
|
|
6697
|
-
M.revokeObjectURL(
|
|
6695
|
+
var M = m.URL || m.webkitURL, X = document.createElement("a");
|
|
6696
|
+
x = x || w.name || "download", X.download = x, X.rel = "noopener", typeof w == "string" ? (X.href = w, X.origin === location.origin ? u(X) : c(X.href) ? i(w, x, O) : u(X, X.target = "_blank")) : (X.href = M.createObjectURL(w), setTimeout(function() {
|
|
6697
|
+
M.revokeObjectURL(X.href);
|
|
6698
6698
|
}, 4e4), setTimeout(function() {
|
|
6699
|
-
u(
|
|
6699
|
+
u(X);
|
|
6700
6700
|
}, 0));
|
|
6701
6701
|
} : "msSaveOrOpenBlob" in navigator ? function(w, x, O) {
|
|
6702
6702
|
if (x = x || w.name || "download", typeof w != "string") navigator.msSaveOrOpenBlob(r(w, O), x);
|
|
@@ -6709,8 +6709,8 @@ function $f() {
|
|
|
6709
6709
|
}
|
|
6710
6710
|
} : function(w, x, O, M) {
|
|
6711
6711
|
if (M = M || open("", "_blank"), M && (M.document.title = M.document.body.innerText = "downloading..."), typeof w == "string") return i(w, x, O);
|
|
6712
|
-
var
|
|
6713
|
-
if ((Ce ||
|
|
6712
|
+
var X = w.type === "application/octet-stream", R = /constructor/i.test(m.HTMLElement) || m.safari, Ce = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
6713
|
+
if ((Ce || X && R || v) && typeof FileReader < "u") {
|
|
6714
6714
|
var V = new FileReader();
|
|
6715
6715
|
V.onloadend = function() {
|
|
6716
6716
|
var k = V.result;
|
|
@@ -6728,7 +6728,7 @@ function $f() {
|
|
|
6728
6728
|
}(xi)), xi.exports;
|
|
6729
6729
|
}
|
|
6730
6730
|
$f();
|
|
6731
|
-
const Xi = Hr(() => import("./index-
|
|
6731
|
+
const Xi = Hr(() => import("./index-CZdcobYs.js").then((t) => t.k));
|
|
6732
6732
|
Xi.install = (t) => {
|
|
6733
6733
|
t.component("ssMenu", Xi);
|
|
6734
6734
|
};
|
|
@@ -6816,7 +6816,7 @@ function Kf(t = "menu") {
|
|
|
6816
6816
|
operateType: "修改菜单名",
|
|
6817
6817
|
operateIcon: "FixedMenu"
|
|
6818
6818
|
}
|
|
6819
|
-
]), u = Vn(), m = Pn(et), v = Oi(et), { loginUserInfo: f } = nt(v), w = ue(0), x = Ts(), O = ue(), { asideMenus: M, menuTriggerType:
|
|
6819
|
+
]), u = Vn(), m = Pn(et), v = Oi(et), { loginUserInfo: f } = nt(v), w = ue(0), x = Ts(), O = ue(), { asideMenus: M, menuTriggerType: X, platform: R } = nt(u), { fixMenuStatus: Ce } = nt(m), V = Ua(() => i == null ? void 0 : i.mode), j = (ve) => ve == null ? void 0 : ve.map((G) => {
|
|
6820
6820
|
var pe, ce;
|
|
6821
6821
|
return !(G != null && G.children) || ((pe = G == null ? void 0 : G.children) == null ? void 0 : pe.length) === 0 ? G.config = c.value : G != null && G.children && ((ce = G == null ? void 0 : G.children) == null ? void 0 : ce.length) > 0 && (G.children = j(G.children)), G;
|
|
6822
6822
|
}), oe = Ua(() => {
|
|
@@ -6832,9 +6832,9 @@ function Kf(t = "menu") {
|
|
|
6832
6832
|
m.setRouteToChildPath(""), u.setMenuTriggerType("click"), u.setActiveMenuPath(ve == null ? void 0 : ve.path), u.setActiveAsideMenu(ve), ve.isRouter ? x.push(ve.path) : x.push("/"), r("node-click", ve, L);
|
|
6833
6833
|
}, P = async (ve) => {
|
|
6834
6834
|
const L = rs(oe.value, "path", ve);
|
|
6835
|
-
u.setActiveAsideMenu(L), m.setRouteToChildPath(""), Ce.value ? m.setFixMenuStatus(!1) :
|
|
6835
|
+
u.setActiveAsideMenu(L), m.setRouteToChildPath(""), Ce.value ? m.setFixMenuStatus(!1) : (Ye.value && (X.value = "open"), X.value === "click" ? w.value === 1 ? u.setActiveMenuPath(sessionStorage.getItem("pageKey")) : u.setActiveMenuPath(ve) : Ye.value || (u.setMenuTriggerType("click"), u.setActiveMenuPath(ve))), ve != null && ve.startsWith("/") ? x.push(ve) : x.push("/"), w.value++;
|
|
6836
6836
|
}, g = (ve) => {
|
|
6837
|
-
|
|
6837
|
+
Ye.value || u.setActiveMenuPath(ve);
|
|
6838
6838
|
}, T = (ve) => {
|
|
6839
6839
|
const L = document.documentElement;
|
|
6840
6840
|
ve == null || ve.forEach((G) => {
|
|
@@ -6889,13 +6889,13 @@ function Kf(t = "menu") {
|
|
|
6889
6889
|
case "删除":
|
|
6890
6890
|
return "delete";
|
|
6891
6891
|
}
|
|
6892
|
-
}, ge = ue({}),
|
|
6892
|
+
}, ge = ue({}), Je = (ve) => {
|
|
6893
6893
|
u.setCacheInputMenu({
|
|
6894
6894
|
type: ua.type,
|
|
6895
6895
|
data: ve
|
|
6896
6896
|
}), u.setIsRefreshMenus(!0);
|
|
6897
6897
|
}, da = async (ve, L, G) => {
|
|
6898
|
-
var pe, ce, q, ae, J, ie, Ne, ca, p, C, E, W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na,
|
|
6898
|
+
var pe, ce, q, ae, J, ie, Ne, ca, p, C, E, W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le, We, na, Qe, Ke;
|
|
6899
6899
|
if (L === "create") {
|
|
6900
6900
|
let la = (G == null ? void 0 : G.title) + "(1)", he = await lt({
|
|
6901
6901
|
key: {
|
|
@@ -7011,9 +7011,9 @@ function Kf(t = "menu") {
|
|
|
7011
7011
|
var me, ra;
|
|
7012
7012
|
return Xe !== ((ra = (me = G == null ? void 0 : G.path) == null ? void 0 : me.split("/")) == null ? void 0 : ra.length) - 1;
|
|
7013
7013
|
})) == null ? void 0 : na.join("/")
|
|
7014
|
-
), u.setActiveTopMenuPath((Ke = (
|
|
7014
|
+
), u.setActiveTopMenuPath((Ke = (Qe = G == null ? void 0 : G.path) == null ? void 0 : Qe.split("/")) == null ? void 0 : Ke[0]), u.setIsRefreshMenus(!1), u.setIsRefreshMenus(!0);
|
|
7015
7015
|
}
|
|
7016
|
-
},
|
|
7016
|
+
}, Y = async (ve, L) => {
|
|
7017
7017
|
var ca, p, C, E, W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa, Le;
|
|
7018
7018
|
let G = await lt({
|
|
7019
7019
|
key: {
|
|
@@ -7022,8 +7022,8 @@ function Kf(t = "menu") {
|
|
|
7022
7022
|
}
|
|
7023
7023
|
}), pe = (p = (ca = G == null ? void 0 : G.data) == null ? void 0 : ca.result) == null ? void 0 : p[0], ce = (C = pe == null ? void 0 : pe.value) == null ? void 0 : C.pageData;
|
|
7024
7024
|
ce.compData = (E = ce.compData) == null ? void 0 : E.map((We) => {
|
|
7025
|
-
var na,
|
|
7026
|
-
return (We == null ? void 0 : We.key) === "menuContents" && (We.contents = fo(We.contents, (na = L == null ? void 0 : L.path) == null ? void 0 : na.split("/"), L == null ? void 0 : L.title, (
|
|
7025
|
+
var na, Qe;
|
|
7026
|
+
return (We == null ? void 0 : We.key) === "menuContents" && (We.contents = fo(We.contents, (na = L == null ? void 0 : L.path) == null ? void 0 : na.split("/"), L == null ? void 0 : L.title, (Qe = ve == null ? void 0 : ve.target) == null ? void 0 : Qe.value)), We;
|
|
7027
7027
|
}), pe != null && pe.id && await vn({
|
|
7028
7028
|
id: pe == null ? void 0 : pe.id,
|
|
7029
7029
|
value: {
|
|
@@ -7031,18 +7031,18 @@ function Kf(t = "menu") {
|
|
|
7031
7031
|
}
|
|
7032
7032
|
});
|
|
7033
7033
|
let q = (b = (W = L == null ? void 0 : L.path) == null ? void 0 : W.split("/")) == null ? void 0 : b.filter((We, na) => {
|
|
7034
|
-
var
|
|
7035
|
-
return na !== ((Ke = (
|
|
7034
|
+
var Qe, Ke;
|
|
7035
|
+
return na !== ((Ke = (Qe = L == null ? void 0 : L.path) == null ? void 0 : Qe.split("/")) == null ? void 0 : Ke.length) - 1;
|
|
7036
7036
|
}), ae = q == null ? void 0 : q.join("/");
|
|
7037
7037
|
q.push((le = ve == null ? void 0 : ve.target) == null ? void 0 : le.value), q = q == null ? void 0 : q.join("/");
|
|
7038
7038
|
let J = await Fa(ae, sessionStorage.getItem("systemKey"), "");
|
|
7039
7039
|
if ((($ = (K = (ee = (_ = (De = J == null ? void 0 : J[0]) == null ? void 0 : De.compData) == null ? void 0 : _.find((We) => (We == null ? void 0 : We.key) === "header")) == null ? void 0 : ee.contents) == null ? void 0 : K[0]) == null ? void 0 : $.directiveLabel) === "#isMain") {
|
|
7040
7040
|
let We = (fe = (Z = (H = (te = (Ee = J == null ? void 0 : J[0]) == null ? void 0 : Ee.compData) == null ? void 0 : te.find((la) => (la == null ? void 0 : la.key) === "header")) == null ? void 0 : H.contents) == null ? void 0 : Z[0]) == null ? void 0 : fe.prop, na = (we = (ke = (_e = J == null ? void 0 : J[0]) == null ? void 0 : _e.compData) == null ? void 0 : ke.find(
|
|
7041
7041
|
(la) => (la == null ? void 0 : la.key) === "tableContents"
|
|
7042
|
-
)) == null ? void 0 : we.contents,
|
|
7042
|
+
)) == null ? void 0 : we.contents, Qe = ($e = (ye = (Be = (N = J == null ? void 0 : J[0]) == null ? void 0 : N.compData) == null ? void 0 : Be.find((la) => (la == null ? void 0 : la.key) === "header")) == null ? void 0 : ye.contents) == null ? void 0 : $e.map((la) => la == null ? void 0 : la.prop), Ke;
|
|
7043
7043
|
if (na == null || na.forEach((la) => {
|
|
7044
7044
|
var Te;
|
|
7045
|
-
let he = To(la,
|
|
7045
|
+
let he = To(la, Qe);
|
|
7046
7046
|
(he == null ? void 0 : he[We]) === L.title && (Ke = he, Ke[We] = (Te = ve == null ? void 0 : ve.target) == null ? void 0 : Te.value);
|
|
7047
7047
|
}), Ke) {
|
|
7048
7048
|
let la = {};
|
|
@@ -7074,8 +7074,8 @@ function Kf(t = "menu") {
|
|
|
7074
7074
|
dataList: Ne
|
|
7075
7075
|
}), u.setUpdateMenuStatus(!1), await ai(), u.setActiveMenuPath(
|
|
7076
7076
|
(wa = (Me = (sa = L == null ? void 0 : L.path) == null ? void 0 : sa.split("/")) == null ? void 0 : Me.filter((We, na) => {
|
|
7077
|
-
var
|
|
7078
|
-
return na !== ((Ke = (
|
|
7077
|
+
var Qe, Ke;
|
|
7078
|
+
return na !== ((Ke = (Qe = L == null ? void 0 : L.path) == null ? void 0 : Qe.split("/")) == null ? void 0 : Ke.length) - 1;
|
|
7079
7079
|
})) == null ? void 0 : wa.join("/")
|
|
7080
7080
|
), u.setActiveTopMenuPath((Le = (oa = L == null ? void 0 : L.path) == null ? void 0 : oa.split("/")) == null ? void 0 : Le[0]), u.setIsRefreshMenus(!1), u.setIsRefreshMenus(!0), O.value = void 0;
|
|
7081
7081
|
}, B = async (ve, L) => {
|
|
@@ -7095,16 +7095,16 @@ function Kf(t = "menu") {
|
|
|
7095
7095
|
title: z.value[(ae = z.value) == null ? void 0 : ae.prop],
|
|
7096
7096
|
path: ve
|
|
7097
7097
|
};
|
|
7098
|
-
console.log("clickSubmitForm", ge.value, Q.value, L),
|
|
7098
|
+
console.log("clickSubmitForm", ge.value, Q.value, L), Je(L), ua.show = !1;
|
|
7099
7099
|
}, je = (ve) => {
|
|
7100
7100
|
var G, pe;
|
|
7101
7101
|
const L = (G = ve == null ? void 0 : ve.contents) == null ? void 0 : G.find((ce) => ce.key === "formContent");
|
|
7102
7102
|
L && (z.value = (pe = L == null ? void 0 : L.contents) == null ? void 0 : pe.reduce((ce, q) => (ce[q.key] = q.value, ce.prop = q.key, ce), {}));
|
|
7103
|
-
},
|
|
7103
|
+
}, Ye = ue(!1);
|
|
7104
7104
|
return {
|
|
7105
|
-
isCollapse:
|
|
7105
|
+
isCollapse: Ye,
|
|
7106
7106
|
handleMenuCollapse: () => {
|
|
7107
|
-
|
|
7107
|
+
Ye.value = !Ye.value;
|
|
7108
7108
|
},
|
|
7109
7109
|
handleCompChange: je,
|
|
7110
7110
|
dialogForm: Ve,
|
|
@@ -7121,7 +7121,7 @@ function Kf(t = "menu") {
|
|
|
7121
7121
|
closeMenu: g,
|
|
7122
7122
|
changeMenuStyle: T,
|
|
7123
7123
|
fixElement: O,
|
|
7124
|
-
onBlur:
|
|
7124
|
+
onBlur: Y
|
|
7125
7125
|
};
|
|
7126
7126
|
}
|
|
7127
7127
|
};
|
|
@@ -7202,7 +7202,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7202
7202
|
qa.error("保存响应失败");
|
|
7203
7203
|
}
|
|
7204
7204
|
}, Ko = async (t, l, r, i) => {
|
|
7205
|
-
var c, u, m, v, f, w, x, O, M,
|
|
7205
|
+
var c, u, m, v, f, w, x, O, M, X, R;
|
|
7206
7206
|
try {
|
|
7207
7207
|
const Ce = (u = (c = t == null ? void 0 : t.results) == null ? void 0 : c.filter((g) => !(g != null && g.id) || typeof (g == null ? void 0 : g.id) == "string")) == null ? void 0 : u.map((g) => ({
|
|
7208
7208
|
key: {
|
|
@@ -7224,7 +7224,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7224
7224
|
r ? k = (O = (x = (w = Ii.value) == null ? void 0 : w[ba.value]) == null ? void 0 : x.filter((g) => {
|
|
7225
7225
|
var T, S, be;
|
|
7226
7226
|
return ((T = g == null ? void 0 : g.key) == null ? void 0 : T.type) === l && ((be = (S = g == null ? void 0 : g.key) == null ? void 0 : S.relatedInfo) == null ? void 0 : be.target) === i;
|
|
7227
|
-
})) == null ? void 0 : O.map((g) => g == null ? void 0 : g.id) : k = (R = (
|
|
7227
|
+
})) == null ? void 0 : O.map((g) => g == null ? void 0 : g.id) : k = (R = (X = (M = Ii.value) == null ? void 0 : M[ba.value]) == null ? void 0 : X.filter((g) => {
|
|
7228
7228
|
var T;
|
|
7229
7229
|
return ((T = g == null ? void 0 : g.key) == null ? void 0 : T.type) === l;
|
|
7230
7230
|
})) == null ? void 0 : R.map((g) => g == null ? void 0 : g.id);
|
|
@@ -7240,7 +7240,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7240
7240
|
throw new Error(Ce);
|
|
7241
7241
|
}
|
|
7242
7242
|
}, oh = async (t) => {
|
|
7243
|
-
var w, x, O, M,
|
|
7243
|
+
var w, x, O, M, X, R, Ce, V, j, oe;
|
|
7244
7244
|
st.setContentLoading(!0);
|
|
7245
7245
|
const l = JSON.parse(F(JSON.stringify(jf.value)));
|
|
7246
7246
|
if (!Nf.value)
|
|
@@ -7253,7 +7253,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7253
7253
|
return !((P = Po.value) != null && P.includes(k));
|
|
7254
7254
|
}), c = (w = Po.value) == null ? void 0 : w.filter((k) => !r.includes(k)), u = [...i, ...c].filter((k) => typeof k !== null && typeof k < "u"), m = l == null ? void 0 : l.filter((k) => !k.id), v = l == null ? void 0 : l.filter((k) => k.id);
|
|
7255
7255
|
let f = [];
|
|
7256
|
-
if (u && (u == null ? void 0 : u.length) > 0 && f.push(Ni(u, "delete", t)), m && (m == null ? void 0 : m.length) > 0 && f.push(Ni(m, "create", t)), v && (v == null ? void 0 : v.length) > 0 && f.push(Ni(v, "update", t)), On.value && ((x = On.value) != null && x.isDelete && ((M = (O = On.value) == null ? void 0 : O.results) == null ? void 0 : M.length) > 0 && ((R = (
|
|
7256
|
+
if (u && (u == null ? void 0 : u.length) > 0 && f.push(Ni(u, "delete", t)), m && (m == null ? void 0 : m.length) > 0 && f.push(Ni(m, "create", t)), v && (v == null ? void 0 : v.length) > 0 && f.push(Ni(v, "update", t)), On.value && ((x = On.value) != null && x.isDelete && ((M = (O = On.value) == null ? void 0 : O.results) == null ? void 0 : M.length) > 0 && ((R = (X = On.value) == null ? void 0 : X.results) != null && R.every((k) => typeof k == "number")) ? await Wt({
|
|
7257
7257
|
//@ts-ignore
|
|
7258
7258
|
ids: (Ce = On.value) == null ? void 0 : Ce.results
|
|
7259
7259
|
}) : (console.log("itemGridData.value", On.value), f.push(await Ko(On.value, "gridLayout")))), mi.value)
|
|
@@ -7354,7 +7354,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7354
7354
|
throw qa.error(i), new Error(i);
|
|
7355
7355
|
}
|
|
7356
7356
|
}, ep = ue(0), _i = ue(null), Qi = async (t, l = "data", r) => {
|
|
7357
|
-
var c, u, m, v, f, w, x, O, M,
|
|
7357
|
+
var c, u, m, v, f, w, x, O, M, X, R, Ce, V, j, oe, k, P, g, T, S, be, aa, ua, Re, Ve, Ae, z, Q, se, ge, Je, da, Y, B, xe, Se, Ue, je, Ye, Ze, ve, L, G, pe, ce, q, ae, J, ie, Ne, ca, p, C, E, W, b, le, De, _, ee, K, $, Ee, te, H, Z, fe, _e, ke, we, N, Be, ye, $e, pa, qe, sa, Me, wa, oa;
|
|
7358
7358
|
_i.value = null;
|
|
7359
7359
|
let i = ba.value;
|
|
7360
7360
|
if ((c = kt.value) != null && c.compData && ((u = kt.value) == null ? void 0 : u.compData) !== ba.value && (i = i + "/" + ((v = (m = ht.value) == null ? void 0 : m[0]) == null ? void 0 : v.value)), (t == null ? void 0 : t.buttonName) === "删除")
|
|
@@ -7383,13 +7383,13 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7383
7383
|
}, ba.value);
|
|
7384
7384
|
}
|
|
7385
7385
|
else if ((t == null ? void 0 : t.buttonName) === "OCR批量新增") {
|
|
7386
|
-
if (Array.isArray(t == null ? void 0 : t.ocrRows) && ((
|
|
7386
|
+
if (Array.isArray(t == null ? void 0 : t.ocrRows) && ((X = t == null ? void 0 : t.ocrRows) == null ? void 0 : X.length) > 0) {
|
|
7387
7387
|
Qa.setTableLoading(t == null ? void 0 : t.index);
|
|
7388
7388
|
const Le = sessionStorage.getItem("systemKey"), We = [], na = [];
|
|
7389
|
-
let
|
|
7389
|
+
let Qe = i, Ke = t == null ? void 0 : t.index;
|
|
7390
7390
|
if (t != null && t.parentTableId && (t == null ? void 0 : t.parentTableId) !== 0) {
|
|
7391
7391
|
const la = await lt({ id: t == null ? void 0 : t.parentTableId }), he = (Ce = (R = la == null ? void 0 : la.data) == null ? void 0 : R.result) == null ? void 0 : Ce[0];
|
|
7392
|
-
(V = he == null ? void 0 : he.key) != null && V.pageKey && (
|
|
7392
|
+
(V = he == null ? void 0 : he.key) != null && V.pageKey && (Qe = he.key.pageKey), Ke = t == null ? void 0 : t.parentTableId;
|
|
7393
7393
|
}
|
|
7394
7394
|
for (const la of t.ocrRows) {
|
|
7395
7395
|
const he = {};
|
|
@@ -7399,7 +7399,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7399
7399
|
const Te = await Bi({
|
|
7400
7400
|
key: {
|
|
7401
7401
|
type: l,
|
|
7402
|
-
pageKey:
|
|
7402
|
+
pageKey: Qe,
|
|
7403
7403
|
tableId: Ke,
|
|
7404
7404
|
systemKey: Le
|
|
7405
7405
|
},
|
|
@@ -7420,7 +7420,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7420
7420
|
}
|
|
7421
7421
|
}
|
|
7422
7422
|
_i.value = We, sessionStorage.setItem("ocr_last_saved_ids", JSON.stringify(na)), sessionStorage.setItem("ocr_last_saved_table", JSON.stringify({
|
|
7423
|
-
pageKey:
|
|
7423
|
+
pageKey: Qe,
|
|
7424
7424
|
tableId: Ke,
|
|
7425
7425
|
parentTableId: t == null ? void 0 : t.parentTableId,
|
|
7426
7426
|
compIndex: t == null ? void 0 : t.index
|
|
@@ -7453,7 +7453,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7453
7453
|
compId: t == null ? void 0 : t.index,
|
|
7454
7454
|
data: t == null ? void 0 : t.singleContent
|
|
7455
7455
|
}, ((P = (k = t == null ? void 0 : t.column) == null ? void 0 : k[0]) == null ? void 0 : P.directiveLabel) === "#isMain" && ((T = (g = t == null ? void 0 : t.column) == null ? void 0 : g[0]) == null ? void 0 : T.directiveColor) !== !0) {
|
|
7456
|
-
let na = (aa = t == null ? void 0 : t.singleContent) == null ? void 0 : aa[(be = (S = t == null ? void 0 : t.column) == null ? void 0 : S[0]) == null ? void 0 : be.prop],
|
|
7456
|
+
let na = (aa = t == null ? void 0 : t.singleContent) == null ? void 0 : aa[(be = (S = t == null ? void 0 : t.column) == null ? void 0 : S[0]) == null ? void 0 : be.prop], Qe = await lt({
|
|
7457
7457
|
key: {
|
|
7458
7458
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7459
7459
|
pageKey: "menu"
|
|
@@ -7463,7 +7463,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7463
7463
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7464
7464
|
pageKey: Ke
|
|
7465
7465
|
}
|
|
7466
|
-
}), he = (Re = (ua =
|
|
7466
|
+
}), he = (Re = (ua = Qe == null ? void 0 : Qe.data) == null ? void 0 : ua.result) == null ? void 0 : Re[0], Te = (Ve = he == null ? void 0 : he.value) == null ? void 0 : Ve.pageData;
|
|
7467
7467
|
if (Te.compData = (Ae = Te.compData) == null ? void 0 : Ae.map((Pe) => ((Pe == null ? void 0 : Pe.key) === "menuContents" && (Pe.contents = co(Pe.contents, Ke == null ? void 0 : Ke.split("/"), na)), Pe)), await vn({
|
|
7468
7468
|
id: he == null ? void 0 : he.id,
|
|
7469
7469
|
value: {
|
|
@@ -7480,16 +7480,16 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7480
7480
|
});
|
|
7481
7481
|
((ge = (se = Pe == null ? void 0 : Pe.data) == null ? void 0 : se.result) == null ? void 0 : ge.length) >= 1 ? await Ei(ba.value + "/", ba.value + "/" + na) : await Ei(ba.value, ba.value + "/" + na);
|
|
7482
7482
|
}
|
|
7483
|
-
st.setUpdateMenuStatus(!1), await ai(), st.setIsRefreshMenus(!1), st.setIsRefreshMenus(!0), st.setActiveMenuPath((da = (
|
|
7483
|
+
st.setUpdateMenuStatus(!1), await ai(), st.setIsRefreshMenus(!1), st.setIsRefreshMenus(!0), st.setActiveMenuPath((da = (Je = Ke == null ? void 0 : Ke.split("/")) == null ? void 0 : Je.filter((Pe, ta) => {
|
|
7484
7484
|
var A;
|
|
7485
7485
|
return ta !== ((A = Ke == null ? void 0 : Ke.split("/")) == null ? void 0 : A.length) - 1;
|
|
7486
7486
|
})) == null ? void 0 : da.join("/"));
|
|
7487
7487
|
}
|
|
7488
7488
|
Qa.setCacheUpdatingData(null);
|
|
7489
7489
|
} else if ((t == null ? void 0 : t.buttonName) === "编辑") {
|
|
7490
|
-
if (((B = (
|
|
7491
|
-
let Le = (
|
|
7492
|
-
if (Zn((
|
|
7490
|
+
if (((B = (Y = t == null ? void 0 : t.column) == null ? void 0 : Y[0]) == null ? void 0 : B.directiveLabel) === "#isMain" && ((Se = (xe = t == null ? void 0 : t.column) == null ? void 0 : xe[0]) == null ? void 0 : Se.directiveColor) !== !0) {
|
|
7491
|
+
let Le = (Ye = t == null ? void 0 : t.singleContent) == null ? void 0 : Ye[(je = (Ue = t == null ? void 0 : t.column) == null ? void 0 : Ue[0]) == null ? void 0 : je.prop];
|
|
7492
|
+
if (Zn((Ze = t == null ? void 0 : t.singleContent) == null ? void 0 : Ze.id)) {
|
|
7493
7493
|
let We = await lt({
|
|
7494
7494
|
key: {
|
|
7495
7495
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -7497,8 +7497,8 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7497
7497
|
}
|
|
7498
7498
|
}), na = await lt({
|
|
7499
7499
|
id: (ve = t == null ? void 0 : t.singleContent) == null ? void 0 : ve.id
|
|
7500
|
-
}),
|
|
7501
|
-
he.compData = (p = he.compData) == null ? void 0 : p.map((Te) => ((Te == null ? void 0 : Te.key) === "menuContents" && (Te.contents = fo(Te.contents, Ke == null ? void 0 : Ke.split("/"),
|
|
7500
|
+
}), Qe = (J = (ce = (pe = (G = (L = na == null ? void 0 : na.data) == null ? void 0 : L.result) == null ? void 0 : G[0]) == null ? void 0 : pe.value) == null ? void 0 : ce.tableData) == null ? void 0 : J[(ae = (q = t == null ? void 0 : t.column) == null ? void 0 : q[0]) == null ? void 0 : ae.prop], Ke = ba.value + "/" + Qe, la = (Ne = (ie = We == null ? void 0 : We.data) == null ? void 0 : ie.result) == null ? void 0 : Ne[0], he = (ca = la == null ? void 0 : la.value) == null ? void 0 : ca.pageData;
|
|
7501
|
+
he.compData = (p = he.compData) == null ? void 0 : p.map((Te) => ((Te == null ? void 0 : Te.key) === "menuContents" && (Te.contents = fo(Te.contents, Ke == null ? void 0 : Ke.split("/"), Qe, Le)), Te)), await vn({
|
|
7502
7502
|
id: la == null ? void 0 : la.id,
|
|
7503
7503
|
value: {
|
|
7504
7504
|
pageData: he
|
|
@@ -7510,7 +7510,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7510
7510
|
}
|
|
7511
7511
|
}
|
|
7512
7512
|
if (Array.isArray(t == null ? void 0 : t.singleContent)) {
|
|
7513
|
-
let Le = [], We = [], na = ((b = (W = t == null ? void 0 : t.content) == null ? void 0 : W[0]) == null ? void 0 : b.id) ?? "",
|
|
7513
|
+
let Le = [], We = [], na = ((b = (W = t == null ? void 0 : t.content) == null ? void 0 : W[0]) == null ? void 0 : b.id) ?? "", Qe = r == null ? void 0 : r.url, Ke = "", la = "";
|
|
7514
7514
|
if ((t == null ? void 0 : t.parentTableId) !== void 0 && (t == null ? void 0 : t.parentTableId) !== null && (t == null ? void 0 : t.parentTableId) !== 0) {
|
|
7515
7515
|
const he = await lt({ id: t == null ? void 0 : t.parentTableId });
|
|
7516
7516
|
Ke = ((ee = (_ = (De = (le = he == null ? void 0 : he.data) == null ? void 0 : le.result) == null ? void 0 : De[0]) == null ? void 0 : _.key) == null ? void 0 : ee.tableId) ?? (t == null ? void 0 : t.parentTableId), la = ((te = (Ee = ($ = (K = he == null ? void 0 : he.data) == null ? void 0 : K.result) == null ? void 0 : $[0]) == null ? void 0 : Ee.key) == null ? void 0 : te.pageKey) ?? "";
|
|
@@ -7530,7 +7530,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7530
7530
|
}) : We.push({
|
|
7531
7531
|
key: {
|
|
7532
7532
|
type: l,
|
|
7533
|
-
pageKey:
|
|
7533
|
+
pageKey: Qe || la || ba.value,
|
|
7534
7534
|
tableId: Ke || (t == null ? void 0 : t.index),
|
|
7535
7535
|
systemKey: sessionStorage.getItem("systemKey")
|
|
7536
7536
|
},
|
|
@@ -7589,11 +7589,11 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7589
7589
|
var u, m, v, f, w, x;
|
|
7590
7590
|
let l = "", r = "";
|
|
7591
7591
|
(u = t == null ? void 0 : t.split("/")) == null || u.forEach((O, M) => {
|
|
7592
|
-
var
|
|
7593
|
-
((
|
|
7592
|
+
var X;
|
|
7593
|
+
((X = t == null ? void 0 : t.split("/")) == null ? void 0 : X.length) - 2 > M && (l = l === "" ? l + O : l + "/" + O);
|
|
7594
7594
|
}), (m = t == null ? void 0 : t.split("/")) == null || m.forEach((O, M) => {
|
|
7595
|
-
var
|
|
7596
|
-
((
|
|
7595
|
+
var X;
|
|
7596
|
+
((X = t == null ? void 0 : t.split("/")) == null ? void 0 : X.length) - 1 > M && (r = r === "" ? r + O : r + "/" + O);
|
|
7597
7597
|
}), l = l + "/", r = r + "/";
|
|
7598
7598
|
let i = await lt({
|
|
7599
7599
|
key: {
|
|
@@ -7608,7 +7608,7 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7608
7608
|
});
|
|
7609
7609
|
return ((f = (v = i == null ? void 0 : i.data) == null ? void 0 : v.result) == null ? void 0 : f.length) > 0 || ((x = (w = c == null ? void 0 : c.data) == null ? void 0 : w.result) == null ? void 0 : x.length) > 0;
|
|
7610
7610
|
}, ip = ue(), pn = ue(null), op = (t) => {
|
|
7611
|
-
var w, x, O, M,
|
|
7611
|
+
var w, x, O, M, X, R, Ce, V, j, oe, k, P, g, T, S, be, aa, ua, Re, Ve;
|
|
7612
7612
|
const l = (x = (w = Ii.value) == null ? void 0 : w[t]) == null ? void 0 : x.filter((Ae) => {
|
|
7613
7613
|
var z;
|
|
7614
7614
|
return ((z = Ae == null ? void 0 : Ae.key) == null ? void 0 : z.type) === "extend";
|
|
@@ -7620,10 +7620,10 @@ const en = Oi(), { loginUserInfo: yi } = nt(en), Qa = Pn(et), Ci = ue(!1), {
|
|
|
7620
7620
|
return (se = (Q = (z = Ae == null ? void 0 : Ae.value) == null ? void 0 : z.tableData) == null ? void 0 : Q.执行任务) == null ? void 0 : se.includes("计时");
|
|
7621
7621
|
})) == null ? void 0 : O.value) == null ? void 0 : M.tableData;
|
|
7622
7622
|
if (!r) return pn.value = null;
|
|
7623
|
-
const i = (Ce = (R = (
|
|
7623
|
+
const i = (Ce = (R = (X = l == null ? void 0 : l.find((Ae) => {
|
|
7624
7624
|
var z, Q, se;
|
|
7625
7625
|
return (se = (Q = (z = Ae == null ? void 0 : Ae.value) == null ? void 0 : z.tableData) == null ? void 0 : Q.执行任务) == null ? void 0 : se.includes("计时");
|
|
7626
|
-
})) == null ? void 0 :
|
|
7626
|
+
})) == null ? void 0 : X.key) == null ? void 0 : R.relatedInfo) == null ? void 0 : Ce.compId, c = (V = ma.value) == null ? void 0 : V.find((Ae) => (Ae == null ? void 0 : Ae.id) === i);
|
|
7627
7627
|
if (!c) return pn.value = null;
|
|
7628
7628
|
const u = (oe = r == null ? void 0 : r.任务关键词) == null ? void 0 : oe[((j = r == null ? void 0 : r.任务关键词) == null ? void 0 : j.length) - 1], m = (g = (P = (k = c == null ? void 0 : c.compData) == null ? void 0 : k.find((Ae) => (Ae == null ? void 0 : Ae.key) === "header")) == null ? void 0 : P.contents) == null ? void 0 : g.findIndex((Ae) => (Ae == null ? void 0 : Ae.prop) === u), v = (aa = (be = (S = (T = c == null ? void 0 : c.compData) == null ? void 0 : T.find((Ae) => (Ae == null ? void 0 : Ae.key) === "header")) == null ? void 0 : S.contents) == null ? void 0 : be.find((Ae) => Ae == null ? void 0 : Ae.isMainKey)) == null ? void 0 : aa.prop, f = (Ve = (Re = (ua = c == null ? void 0 : c.compData) == null ? void 0 : ua.find((Ae) => (Ae == null ? void 0 : Ae.key) === "tableContents")) == null ? void 0 : Re.contents) == null ? void 0 : Ve[m];
|
|
7629
7629
|
pn.value = {
|
|
@@ -7682,7 +7682,7 @@ _a(
|
|
|
7682
7682
|
_a(
|
|
7683
7683
|
() => [ht.value],
|
|
7684
7684
|
async () => {
|
|
7685
|
-
var i, c, u, m, v, f, w, x, O, M,
|
|
7685
|
+
var i, c, u, m, v, f, w, x, O, M, X, R, Ce, V, j, oe, k, P, g, T, S, be, aa, ua, Re, Ve, Ae, z, Q, se, ge, Je, da, Y, B, xe, Se, Ue, je, Ye, Ze, ve, L, G;
|
|
7686
7686
|
if (((i = kt.value) == null ? void 0 : i.compData) === ba.value || ((c = ht.value) == null ? void 0 : c.length) === 0)
|
|
7687
7687
|
return;
|
|
7688
7688
|
st.setContentLoading(!0);
|
|
@@ -7704,7 +7704,7 @@ _a(
|
|
|
7704
7704
|
condition: "parent"
|
|
7705
7705
|
}));
|
|
7706
7706
|
if (!(!pe || (pe == null ? void 0 : pe.length) === 0)) {
|
|
7707
|
-
let ce = await Fa((
|
|
7707
|
+
let ce = await Fa((X = kt.value) == null ? void 0 : X.compData, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, t);
|
|
7708
7708
|
ce = ce == null ? void 0 : ce.filter((ie) => {
|
|
7709
7709
|
var Ne, ca, p;
|
|
7710
7710
|
return Array.isArray(ie == null ? void 0 : ie.compData) && ((p = (ca = (Ne = ie == null ? void 0 : ie.compData) == null ? void 0 : Ne.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : ca.contents) == null ? void 0 : p.find((C) => (C == null ? void 0 : C.directiveLabel) === "#isMain"));
|
|
@@ -7718,10 +7718,10 @@ _a(
|
|
|
7718
7718
|
value: ie
|
|
7719
7719
|
})), (Re = ht.value) == null || Re.length, ((Ae = (Ve = ht.value) == null ? void 0 : Ve[0]) == null ? void 0 : Ae.value) !== "") {
|
|
7720
7720
|
let ie = await Fa(ba.value + "/" + ((Q = (z = ht.value) == null ? void 0 : z[0]) == null ? void 0 : Q.value), sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value);
|
|
7721
|
-
ie || (await Ei(ba.value, ba.value + "/" + ((ge = (se = ht.value) == null ? void 0 : se[0]) == null ? void 0 : ge.value)), ie = await Fa(ba.value + "/" + ((da = (
|
|
7721
|
+
ie || (await Ei(ba.value, ba.value + "/" + ((ge = (se = ht.value) == null ? void 0 : se[0]) == null ? void 0 : ge.value)), ie = await Fa(ba.value + "/" + ((da = (Je = ht.value) == null ? void 0 : Je[0]) == null ? void 0 : da.value), sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value)), ma.value = ie;
|
|
7722
7722
|
}
|
|
7723
7723
|
}
|
|
7724
|
-
(pe == null ? void 0 : pe.length) > 0 && ((B = (
|
|
7724
|
+
(pe == null ? void 0 : pe.length) > 0 && ((B = (Y = ht.value) == null ? void 0 : Y[0]) == null ? void 0 : B.value) === "" && (ma.value = []);
|
|
7725
7725
|
}
|
|
7726
7726
|
ma.value = (xe = ma.value) == null ? void 0 : xe.filter((pe) => (pe == null ? void 0 : pe.comp) !== "");
|
|
7727
7727
|
let r = "";
|
|
@@ -7730,7 +7730,7 @@ _a(
|
|
|
7730
7730
|
var ae, J;
|
|
7731
7731
|
return q !== ((J = (ae = ba.value) == null ? void 0 : ae.split("/")) == null ? void 0 : J.length) - 1;
|
|
7732
7732
|
})) == null ? void 0 : je.join("/");
|
|
7733
|
-
ma.value = await Fa(pe, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, t), r = (L = (
|
|
7733
|
+
ma.value = await Fa(pe, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, t), r = (L = (Ye = ba.value) == null ? void 0 : Ye.split("/")) == null ? void 0 : L[((ve = (Ze = ba.value) == null ? void 0 : Ze.split("/")) == null ? void 0 : ve.length) - 1];
|
|
7734
7734
|
}
|
|
7735
7735
|
await en.setLogRecordAsync({
|
|
7736
7736
|
type: "查询",
|
|
@@ -7768,7 +7768,7 @@ const lp = (t, l) => {
|
|
|
7768
7768
|
_a(
|
|
7769
7769
|
() => [ba.value, Uf.value],
|
|
7770
7770
|
async (t) => {
|
|
7771
|
-
var u, m, v, f, w, x, O, M,
|
|
7771
|
+
var u, m, v, f, w, x, O, M, X, R, Ce, V, j, oe, k, P, g, T, S, be, aa, ua, Re, Ve, Ae, z, Q, se, ge, Je, da, Y, B, xe, Se, Ue, je, Ye, Ze, ve, L, G, pe, ce, q, ae, J, ie, Ne, ca;
|
|
7772
7772
|
if (!ba.value)
|
|
7773
7773
|
return;
|
|
7774
7774
|
Qa.setLockingPage(""), ma.value = [];
|
|
@@ -7788,7 +7788,7 @@ _a(
|
|
|
7788
7788
|
st.setContentLoading(!0), sessionStorage.setItem("pageKey", ba.value), Rt.setSelectTitle([]), ma.value = await Fa(r, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, i), Ml.value = !!((x = ma.value) != null && x.find((E) => (E == null ? void 0 : E.comp) === "")), kt.value = (O = ma.value) == null ? void 0 : O.find((E) => (E == null ? void 0 : E.comp) === "");
|
|
7789
7789
|
let p = [];
|
|
7790
7790
|
if (!((M = kt.value) != null && M.compData)) {
|
|
7791
|
-
let E = lp(qf.value, (
|
|
7791
|
+
let E = lp(qf.value, (X = ba.value) == null ? void 0 : X.split("/")), W = await Fa(r + "/" + E, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, i);
|
|
7792
7792
|
W != null && W.find((b) => (b == null ? void 0 : b.comp) === "") ? p = (Ce = (R = W == null ? void 0 : W.find((b) => (b == null ? void 0 : b.comp) === "")) == null ? void 0 : R.compData) == null ? void 0 : Ce.split("/").map((b) => ({
|
|
7793
7793
|
value: b.trim(),
|
|
7794
7794
|
condition: "parent"
|
|
@@ -7819,14 +7819,14 @@ _a(
|
|
|
7819
7819
|
if (K = K == null ? void 0 : K.map(($) => ({
|
|
7820
7820
|
label: $,
|
|
7821
7821
|
value: $
|
|
7822
|
-
})), ((
|
|
7822
|
+
})), ((Je = ht.value) == null ? void 0 : Je.length) === 0 && Rt.setChooseTitle([{
|
|
7823
7823
|
value: "",
|
|
7824
7824
|
condition: "child",
|
|
7825
7825
|
options: K,
|
|
7826
7826
|
parentContent: (da = kt.value) == null ? void 0 : da.compData
|
|
7827
|
-
}]), ((B = (
|
|
7827
|
+
}]), ((B = (Y = ht.value) == null ? void 0 : Y[0]) == null ? void 0 : B.value) !== "") {
|
|
7828
7828
|
let $ = await Fa(ba.value + "/" + ((Se = (xe = ht.value) == null ? void 0 : xe[0]) == null ? void 0 : Se.value), sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, i);
|
|
7829
|
-
$ || (await Ei(ba.value, ba.value + "/" + ((je = (Ue = ht.value) == null ? void 0 : Ue[0]) == null ? void 0 : je.value)), $ = await Fa(ba.value + "/" + ((
|
|
7829
|
+
$ || (await Ei(ba.value, ba.value + "/" + ((je = (Ue = ht.value) == null ? void 0 : Ue[0]) == null ? void 0 : je.value)), $ = await Fa(ba.value + "/" + ((Ze = (Ye = ht.value) == null ? void 0 : Ye[0]) == null ? void 0 : Ze.value), sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value)), ma.value = $;
|
|
7830
7830
|
}
|
|
7831
7831
|
}
|
|
7832
7832
|
(W == null ? void 0 : W.length) > 0 && ((L = (ve = ht.value) == null ? void 0 : ve[0]) == null ? void 0 : L.value) === "" && (ma.value = []), E = [...E, ...W ?? []], E = [...E, ...ht.value ?? []];
|
|
@@ -7872,7 +7872,7 @@ _a(
|
|
|
7872
7872
|
_a(
|
|
7873
7873
|
() => $o.value,
|
|
7874
7874
|
async () => {
|
|
7875
|
-
var t, l, r, i, c, u, m, v, f, w, x, O, M,
|
|
7875
|
+
var t, l, r, i, c, u, m, v, f, w, x, O, M, X, R;
|
|
7876
7876
|
if ($o.value) {
|
|
7877
7877
|
let Ce = /* @__PURE__ */ new WeakMap();
|
|
7878
7878
|
(l = (t = (await li({
|
|
@@ -7893,7 +7893,7 @@ _a(
|
|
|
7893
7893
|
var be;
|
|
7894
7894
|
return S !== ((be = oe == null ? void 0 : oe.split("/")) == null ? void 0 : be.length) - 1;
|
|
7895
7895
|
})) == null ? void 0 : M.join("/");
|
|
7896
|
-
k = await Fa(g, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, Ce), P = (R = oe == null ? void 0 : oe.split("/")) == null ? void 0 : R[((
|
|
7896
|
+
k = await Fa(g, sessionStorage.getItem("systemKey"), "", !1, [], await Tt.value, Ce), P = (R = oe == null ? void 0 : oe.split("/")) == null ? void 0 : R[((X = oe == null ? void 0 : oe.split("/")) == null ? void 0 : X.length) - 1];
|
|
7897
7897
|
}
|
|
7898
7898
|
P !== "" && (k = k == null ? void 0 : k.map((g) => {
|
|
7899
7899
|
var T;
|
|
@@ -7960,9 +7960,9 @@ const uh = async () => {
|
|
|
7960
7960
|
}));
|
|
7961
7961
|
}), Fl = (t, l) => {
|
|
7962
7962
|
var f, w, x, O, M;
|
|
7963
|
-
const r = l ? t : t - 2, i = (f = ma.value) == null ? void 0 : f[r], c = (x = (w = i == null ? void 0 : i.compData) == null ? void 0 : w.find((
|
|
7963
|
+
const r = l ? t : t - 2, i = (f = ma.value) == null ? void 0 : f[r], c = (x = (w = i == null ? void 0 : i.compData) == null ? void 0 : w.find((X) => (X == null ? void 0 : X.key) === "header")) == null ? void 0 : x.contents, u = c == null ? void 0 : c.findIndex((X) => (X == null ? void 0 : X.isMainKey) && (X == null ? void 0 : X.label) !== "操作"), m = u === -1 ? 0 : u, v = (M = (O = i == null ? void 0 : i.compData) == null ? void 0 : O.find((X) => (X == null ? void 0 : X.key) === "tableContents")) == null ? void 0 : M.contents;
|
|
7964
7964
|
return {
|
|
7965
|
-
valid: v == null ? void 0 : v.every((
|
|
7965
|
+
valid: v == null ? void 0 : v.every((X) => X == null ? void 0 : X[m + 1]),
|
|
7966
7966
|
length: (v == null ? void 0 : v.length) || 0
|
|
7967
7967
|
};
|
|
7968
7968
|
}, cp = (t, l) => {
|
|
@@ -8032,13 +8032,13 @@ const fp = { class: "layout" }, pp = /* @__PURE__ */ mt({
|
|
|
8032
8032
|
const x = w.length;
|
|
8033
8033
|
let O = 0;
|
|
8034
8034
|
const M = [];
|
|
8035
|
-
if (w = w.map((
|
|
8036
|
-
const R =
|
|
8037
|
-
return R ? (
|
|
8035
|
+
if (w = w.map((X) => {
|
|
8036
|
+
const R = X.span;
|
|
8037
|
+
return R ? (X.span = Number(R), O = O + X.span) : M.push(X), X;
|
|
8038
8038
|
}), O < 24) {
|
|
8039
|
-
const
|
|
8039
|
+
const X = Math.floor((24 - O) / x);
|
|
8040
8040
|
M.forEach((R) => {
|
|
8041
|
-
R.span =
|
|
8041
|
+
R.span = X;
|
|
8042
8042
|
});
|
|
8043
8043
|
}
|
|
8044
8044
|
return w;
|
|
@@ -8046,11 +8046,11 @@ const fp = { class: "layout" }, pp = /* @__PURE__ */ mt({
|
|
|
8046
8046
|
r("rowClick", w);
|
|
8047
8047
|
};
|
|
8048
8048
|
return (w, x) => {
|
|
8049
|
-
var
|
|
8049
|
+
var X;
|
|
8050
8050
|
const O = Ka("el-col"), M = Ka("el-row");
|
|
8051
8051
|
return Oe(), ia("div", fp, [
|
|
8052
8052
|
ze(M, {
|
|
8053
|
-
style: Zt({ height: (
|
|
8053
|
+
style: Zt({ height: (X = u.value) == null ? void 0 : X.height })
|
|
8054
8054
|
}, {
|
|
8055
8055
|
default: Fe(() => [
|
|
8056
8056
|
(Oe(!0), ia(Ha, null, at(v.value, (R, Ce) => (Oe(), Ba(O, {
|
|
@@ -8123,7 +8123,7 @@ const fp = { class: "layout" }, pp = /* @__PURE__ */ mt({
|
|
|
8123
8123
|
], M = Ua(() => {
|
|
8124
8124
|
const g = r == null ? void 0 : r.itemContents;
|
|
8125
8125
|
return F(g);
|
|
8126
|
-
}),
|
|
8126
|
+
}), X = Ua(() => {
|
|
8127
8127
|
const g = M == null ? void 0 : M.value, T = g == null ? void 0 : g.find((S) => {
|
|
8128
8128
|
const { key: be } = S;
|
|
8129
8129
|
return be === "baseConfig";
|
|
@@ -8140,7 +8140,7 @@ const fp = { class: "layout" }, pp = /* @__PURE__ */ mt({
|
|
|
8140
8140
|
c.value = M.value || {}, w.value = (R == null ? void 0 : R.value) || [], m.value = v(), m.value = (g = m.value) == null ? void 0 : g.map((T) => {
|
|
8141
8141
|
var be;
|
|
8142
8142
|
const { prop: S } = T;
|
|
8143
|
-
return T.value = (be =
|
|
8143
|
+
return T.value = (be = X.value) == null ? void 0 : be[S], T;
|
|
8144
8144
|
});
|
|
8145
8145
|
};
|
|
8146
8146
|
_a(() => {
|
|
@@ -8554,8 +8554,8 @@ function no(t, l, r, i, c = !1, u = !1) {
|
|
|
8554
8554
|
if (u && x.length)
|
|
8555
8555
|
return l.x = m, l.y = v, l.moved = !1, t;
|
|
8556
8556
|
for (let O = 0, M = x.length; O < M; O++) {
|
|
8557
|
-
const
|
|
8558
|
-
|
|
8557
|
+
const X = x[O];
|
|
8558
|
+
X.moved || l.y > X.y && l.y - X.y > X.h / 4 || (X.static ? t = Ho(t, X, l, c) : t = Ho(t, l, X, c));
|
|
8559
8559
|
}
|
|
8560
8560
|
return t;
|
|
8561
8561
|
}
|
|
@@ -8785,7 +8785,7 @@ function Vp() {
|
|
|
8785
8785
|
if (a === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8786
8786
|
return a;
|
|
8787
8787
|
}
|
|
8788
|
-
function
|
|
8788
|
+
function X(a) {
|
|
8789
8789
|
var e = function() {
|
|
8790
8790
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
8791
8791
|
if (typeof Proxy == "function") return !0;
|
|
@@ -8916,9 +8916,9 @@ function Vp() {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
return !1;
|
|
8918
8918
|
}
|
|
8919
|
-
function
|
|
8919
|
+
function Je(a, e) {
|
|
8920
8920
|
for (; S.element(a); ) {
|
|
8921
|
-
if (
|
|
8921
|
+
if (Y(a, e)) return a;
|
|
8922
8922
|
a = da(a);
|
|
8923
8923
|
}
|
|
8924
8924
|
return null;
|
|
@@ -8931,7 +8931,7 @@ function Vp() {
|
|
|
8931
8931
|
}
|
|
8932
8932
|
return e;
|
|
8933
8933
|
}
|
|
8934
|
-
function
|
|
8934
|
+
function Y(a, e) {
|
|
8935
8935
|
return oe !== j && (e = e.replace(/\/deep\//g, " ")), a[se.prefixedMatchesSelector](e);
|
|
8936
8936
|
}
|
|
8937
8937
|
var B = function(a) {
|
|
@@ -8943,8 +8943,8 @@ function Vp() {
|
|
|
8943
8943
|
}
|
|
8944
8944
|
function Se(a, e, n) {
|
|
8945
8945
|
for (; S.element(a); ) {
|
|
8946
|
-
if (
|
|
8947
|
-
if ((a = da(a)) === n) return
|
|
8946
|
+
if (Y(a, e)) return !0;
|
|
8947
|
+
if ((a = da(a)) === n) return Y(a, e);
|
|
8948
8948
|
}
|
|
8949
8949
|
return !1;
|
|
8950
8950
|
}
|
|
@@ -8955,7 +8955,7 @@ function Vp() {
|
|
|
8955
8955
|
var e = a instanceof z.SVGElement ? a.getBoundingClientRect() : a.getClientRects()[0];
|
|
8956
8956
|
return e && { left: e.left, right: e.right, top: e.top, bottom: e.bottom, width: e.width || e.right - e.left, height: e.height || e.bottom - e.top };
|
|
8957
8957
|
}
|
|
8958
|
-
function
|
|
8958
|
+
function Ye(a) {
|
|
8959
8959
|
var e, n = je(a);
|
|
8960
8960
|
if (!se.isIOS7 && n) {
|
|
8961
8961
|
var o = { x: (e = (e = P(a)) || oe).scrollX || e.document.documentElement.scrollLeft, y: e.scrollY || e.document.documentElement.scrollTop };
|
|
@@ -8963,7 +8963,7 @@ function Vp() {
|
|
|
8963
8963
|
}
|
|
8964
8964
|
return n;
|
|
8965
8965
|
}
|
|
8966
|
-
function
|
|
8966
|
+
function Ze(a) {
|
|
8967
8967
|
for (var e = []; a; ) e.push(a), a = da(a);
|
|
8968
8968
|
return e;
|
|
8969
8969
|
}
|
|
@@ -8975,11 +8975,11 @@ function Vp() {
|
|
|
8975
8975
|
return a;
|
|
8976
8976
|
}
|
|
8977
8977
|
function G(a, e, n) {
|
|
8978
|
-
return a === "parent" ? da(n) : a === "self" ? e.getRect(n) :
|
|
8978
|
+
return a === "parent" ? da(n) : a === "self" ? e.getRect(n) : Je(n, a);
|
|
8979
8979
|
}
|
|
8980
8980
|
function pe(a, e, n, o) {
|
|
8981
8981
|
var s = a;
|
|
8982
|
-
return S.string(s) ? s = G(s, e, n) : S.func(s) && (s = s.apply(void 0, o)), S.element(s) && (s =
|
|
8982
|
+
return S.string(s) ? s = G(s, e, n) : S.func(s) && (s = s.apply(void 0, o)), S.element(s) && (s = Ye(s)), s;
|
|
8983
8983
|
}
|
|
8984
8984
|
function ce(a) {
|
|
8985
8985
|
return a && { x: "x" in a ? a.x : a.left, y: "y" in a ? a.y : a.top };
|
|
@@ -9119,7 +9119,7 @@ function Vp() {
|
|
|
9119
9119
|
return a[N(a, e)];
|
|
9120
9120
|
}, ye = function(a) {
|
|
9121
9121
|
w(n, a);
|
|
9122
|
-
var e =
|
|
9122
|
+
var e = X(n);
|
|
9123
9123
|
function n(o, s, d) {
|
|
9124
9124
|
var h;
|
|
9125
9125
|
u(this, n), (h = e.call(this, s._interaction)).dropzone = void 0, h.dragEvent = void 0, h.relatedTarget = void 0, h.draggable = void 0, h.propagationStopped = !1, h.immediatePropagationStopped = !1;
|
|
@@ -9156,7 +9156,7 @@ function Vp() {
|
|
|
9156
9156
|
var I = U[D];
|
|
9157
9157
|
if (I.options.drop.enabled) {
|
|
9158
9158
|
var ne = I.options.drop.accept;
|
|
9159
|
-
if (!(S.element(ne) && ne !== h || S.string(ne) && !
|
|
9159
|
+
if (!(S.element(ne) && ne !== h || S.string(ne) && !Y(h, ne) || S.func(ne) && !ne({ dropzone: I, draggableElement: h }))) for (var Ie = 0, Ge = I.getAllElements(); Ie < Ge.length; Ie++) {
|
|
9160
9160
|
var He = Ge[Ie];
|
|
9161
9161
|
He !== h && y.push({ dropzone: I, element: He, rect: I.getRect(He) });
|
|
9162
9162
|
}
|
|
@@ -9316,7 +9316,7 @@ function Vp() {
|
|
|
9316
9316
|
return "";
|
|
9317
9317
|
}, filterEventType: function(a) {
|
|
9318
9318
|
return a.search("gesture") === 0;
|
|
9319
|
-
} },
|
|
9319
|
+
} }, Qe = na;
|
|
9320
9320
|
function Ke(a, e, n, o, s, d, h) {
|
|
9321
9321
|
if (!e) return !1;
|
|
9322
9322
|
if (e === !0) {
|
|
@@ -9417,7 +9417,7 @@ function Vp() {
|
|
|
9417
9417
|
}, filterEventType: function(a) {
|
|
9418
9418
|
return a.search("resize") === 0;
|
|
9419
9419
|
}, defaultMargin: null }, ta = Pe, A = { id: "actions", install: function(a) {
|
|
9420
|
-
a.usePlugin(
|
|
9420
|
+
a.usePlugin(Qe), a.usePlugin(ta), a.usePlugin(Re), a.usePlugin(Le);
|
|
9421
9421
|
} }, de = 0, Xe = { request: function(a) {
|
|
9422
9422
|
return he(a);
|
|
9423
9423
|
}, cancel: function(a) {
|
|
@@ -9666,7 +9666,7 @@ function Vp() {
|
|
|
9666
9666
|
var y = P(d.target).document, D = s.getDocOptions(y);
|
|
9667
9667
|
if (!D || !D.events || D.events.passive !== !1) return;
|
|
9668
9668
|
}
|
|
9669
|
-
/^(mouse|pointer|touch)*(down|start)/i.test(d.type) || S.element(d.target) &&
|
|
9669
|
+
/^(mouse|pointer|touch)*(down|start)/i.test(d.type) || S.element(d.target) && Y(d.target, "input,select,textarea,[contenteditable=true],[contenteditable=true] *") || d.preventDefault();
|
|
9670
9670
|
} else d.preventDefault();
|
|
9671
9671
|
}(this, a, n);
|
|
9672
9672
|
}, a.interactions.docEvents.push({ type: "dragstart", listener: function(n) {
|
|
@@ -9838,7 +9838,7 @@ function Vp() {
|
|
|
9838
9838
|
return a.interaction.modification.stop(a);
|
|
9839
9839
|
} } }, on = xn, ln = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} }, Gt = function(a) {
|
|
9840
9840
|
w(n, a);
|
|
9841
|
-
var e =
|
|
9841
|
+
var e = X(n);
|
|
9842
9842
|
function n(o, s, d, h, y, D, U) {
|
|
9843
9843
|
var I;
|
|
9844
9844
|
u(this, n), (I = e.call(this, o)).relatedTarget = null, I.screenX = void 0, I.screenY = void 0, I.button = void 0, I.buttons = void 0, I.ctrlKey = void 0, I.shiftKey = void 0, I.altKey = void 0, I.metaKey = void 0, I.page = void 0, I.client = void 0, I.delta = void 0, I.rect = void 0, I.x0 = void 0, I.y0 = void 0, I.t0 = void 0, I.dt = void 0, I.duration = void 0, I.clientX0 = void 0, I.clientY0 = void 0, I.velocity = void 0, I.speed = void 0, I.swipe = void 0, I.axes = void 0, I.preEnd = void 0, y = y || o.element;
|
|
@@ -10240,7 +10240,7 @@ function Vp() {
|
|
|
10240
10240
|
for (var Ie = un(ne), Ge = new En(I), He = o[I.type], ea = fe(I)[0], va = ea; S.element(va); ) {
|
|
10241
10241
|
for (var fa = 0; fa < He.length; fa++) {
|
|
10242
10242
|
var xa = He[fa], La = xa.selector, ja = xa.context;
|
|
10243
|
-
if (
|
|
10243
|
+
if (Y(va, La) && ge(ja, ea) && ge(ja, va)) {
|
|
10244
10244
|
var Ia = xa.listeners;
|
|
10245
10245
|
Ge.currentTarget = va;
|
|
10246
10246
|
for (var $a = 0; $a < Ia.length; $a++) {
|
|
@@ -10377,7 +10377,7 @@ function Vp() {
|
|
|
10377
10377
|
U[D].documentBlur(y);
|
|
10378
10378
|
} }), a.prevTouchTime = 0, a.Interaction = function(y) {
|
|
10379
10379
|
w(U, y);
|
|
10380
|
-
var D =
|
|
10380
|
+
var D = X(U);
|
|
10381
10381
|
function U() {
|
|
10382
10382
|
return u(this, U), D.apply(this, arguments);
|
|
10383
10383
|
}
|
|
@@ -10426,7 +10426,7 @@ function Vp() {
|
|
|
10426
10426
|
d === "listeners" && this.updatePerActionListeners(e, h.listeners, y), S.array(y) ? h[d] = we(y) : S.plainObject(y) ? (h[d] = L(h[d] || {}, zt(y)), S.object(o.perAction[d]) && "enabled" in o.perAction[d] && (h[d].enabled = y.enabled !== !1)) : S.bool(y) && S.object(o.perAction[d]) ? h[d].enabled = y : h[d] = y;
|
|
10427
10427
|
}
|
|
10428
10428
|
} }, { key: "getRect", value: function(e) {
|
|
10429
|
-
return e = e || (S.element(this.target) ? this.target : null), S.string(this.target) && (e = e || this._context.querySelector(this.target)),
|
|
10429
|
+
return e = e || (S.element(this.target) ? this.target : null), S.string(this.target) && (e = e || this._context.querySelector(this.target)), Ye(e);
|
|
10430
10430
|
} }, { key: "rectChecker", value: function(e) {
|
|
10431
10431
|
var n = this;
|
|
10432
10432
|
return S.func(e) ? (this.getRect = function(o) {
|
|
@@ -10511,7 +10511,7 @@ function Vp() {
|
|
|
10511
10511
|
} }, { key: "forEachMatch", value: function(e, n) {
|
|
10512
10512
|
for (var o = 0, s = this.list; o < s.length; o++) {
|
|
10513
10513
|
var d = s[o], h = void 0;
|
|
10514
|
-
if ((S.string(d.target) ? S.element(e) &&
|
|
10514
|
+
if ((S.string(d.target) ? S.element(e) && Y(e, d.target) : e === d.target) && d.inContext(e) && (h = n(d)), h !== void 0) return h;
|
|
10515
10515
|
}
|
|
10516
10516
|
} }]), a;
|
|
10517
10517
|
}(), sr = function() {
|
|
@@ -10522,7 +10522,7 @@ function Vp() {
|
|
|
10522
10522
|
var D = o.interactables.getExisting(h, y);
|
|
10523
10523
|
return D || ((D = o.interactables.new(h, y)).events.global = d.globalEvents), D;
|
|
10524
10524
|
};
|
|
10525
|
-
return s.getPointerAverage = $, s.getTouchBBox = Ee, s.getTouchDistance = te, s.getTouchAngle = H, s.getElementRect =
|
|
10525
|
+
return s.getPointerAverage = $, s.getTouchBBox = Ee, s.getTouchDistance = te, s.getTouchAngle = H, s.getElementRect = Ye, s.getElementClientRect = je, s.matchesSelector = Y, s.closest = Je, s.globalEvents = {}, s.version = "1.10.27", s.scope = o, s.use = function(d, h) {
|
|
10526
10526
|
return this.scope.usePlugin(d, h), this;
|
|
10527
10527
|
}, s.isSet = function(d, h) {
|
|
10528
10528
|
return !!this.scope.interactables.get(d, h && h.context);
|
|
@@ -10575,7 +10575,7 @@ function Vp() {
|
|
|
10575
10575
|
var n = this;
|
|
10576
10576
|
this.Interactable = function(o) {
|
|
10577
10577
|
w(d, o);
|
|
10578
|
-
var s =
|
|
10578
|
+
var s = X(d);
|
|
10579
10579
|
function d() {
|
|
10580
10580
|
return u(this, d), s.apply(this, arguments);
|
|
10581
10581
|
}
|
|
@@ -10803,7 +10803,7 @@ function Vp() {
|
|
|
10803
10803
|
}
|
|
10804
10804
|
} }, Er = Dr, wo = function(a) {
|
|
10805
10805
|
w(n, a);
|
|
10806
|
-
var e =
|
|
10806
|
+
var e = X(n);
|
|
10807
10807
|
function n(o, s, d, h, y, D) {
|
|
10808
10808
|
var U;
|
|
10809
10809
|
if (u(this, n), C(M(U = e.call(this, y)), d), d !== s && C(M(U), s), U.timeStamp = D, U.originalEvent = d, U.type = o, U.pointerId = _(s), U.pointerType = Z(s), U.target = h, U.currentTarget = null, o === "tap") {
|
|
@@ -10836,7 +10836,7 @@ function Vp() {
|
|
|
10836
10836
|
a.duplicate || n.pointerIsDown && !n.pointerWasMoved || (n.pointerIsDown && $i(a), fn({ interaction: n, pointer: o, event: s, eventTarget: d, type: "move" }, e));
|
|
10837
10837
|
}, "interactions:down": function(a, e) {
|
|
10838
10838
|
(function(n, o) {
|
|
10839
|
-
for (var s = n.interaction, d = n.pointer, h = n.event, y = n.eventTarget, D = n.pointerIndex, U = s.pointers[D].hold, I =
|
|
10839
|
+
for (var s = n.interaction, d = n.pointer, h = n.event, y = n.eventTarget, D = n.pointerIndex, U = s.pointers[D].hold, I = Ze(y), ne = { interaction: s, pointer: d, event: h, eventTarget: y, type: "hold", targets: [], path: I, node: null }, Ie = 0; Ie < I.length; Ie++) {
|
|
10840
10840
|
var Ge = I[Ie];
|
|
10841
10841
|
ne.node = Ge, o.fire("pointerEvents:collect-targets", ne);
|
|
10842
10842
|
}
|
|
@@ -10876,7 +10876,7 @@ function Vp() {
|
|
|
10876
10876
|
function xo(a, e) {
|
|
10877
10877
|
var n = a.interaction, o = a.pointer, s = a.event, d = a.eventTarget, h = a.type, y = n.getPointerIndex(o), D = n.pointers[y];
|
|
10878
10878
|
if (h === "tap" && (n.pointerWasMoved || !D || D.downTarget !== d)) return [];
|
|
10879
|
-
for (var U =
|
|
10879
|
+
for (var U = Ze(d), I = { interaction: n, pointer: o, event: s, eventTarget: d, type: h, path: U, targets: [], node: null }, ne = 0; ne < U.length; ne++) {
|
|
10880
10880
|
var Ie = U[ne];
|
|
10881
10881
|
I.node = Ie, e.fire("pointerEvents:collect-targets", I);
|
|
10882
10882
|
}
|
|
@@ -11063,7 +11063,7 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11063
11063
|
style: {},
|
|
11064
11064
|
rtl: !1
|
|
11065
11065
|
});
|
|
11066
|
-
let w = !1, x = !1, O = NaN, M = NaN,
|
|
11066
|
+
let w = !1, x = !1, O = NaN, M = NaN, X = NaN, R = NaN, Ce = -1, V = -1, j = -1, oe = -1, k = i.x, P = i.y, g = i.w, T = i.h;
|
|
11067
11067
|
const S = ue(), be = Ot({
|
|
11068
11068
|
i: Xr(i, "i"),
|
|
11069
11069
|
state: f,
|
|
@@ -11097,21 +11097,21 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11097
11097
|
function ge() {
|
|
11098
11098
|
f.rtl = Go() === "rtl", Ne();
|
|
11099
11099
|
}
|
|
11100
|
-
function
|
|
11100
|
+
function Je(b) {
|
|
11101
11101
|
f.cols = Math.floor(b);
|
|
11102
11102
|
}
|
|
11103
11103
|
u.increaseItem(be), hl(() => {
|
|
11104
11104
|
f.rtl = Go() === "rtl";
|
|
11105
11105
|
}), an(() => {
|
|
11106
11106
|
u.responsive && u.lastBreakpoint ? f.cols = Yl(u.lastBreakpoint, u.cols) : f.cols = u.colNum, f.rowHeight = u.rowHeight, f.containerWidth = u.width !== null ? u.width : 100, f.margin = u.margin !== void 0 ? u.margin.map(Number) : [10, 10], f.maxRows = u.maxRows, At(i.isDraggable) ? f.draggable = u.isDraggable : f.draggable = i.isDraggable, At(i.isResizable) ? f.resizable = u.isResizable : f.resizable = i.isResizable, At(i.isBounded) ? f.bounded = u.isBounded : f.bounded = i.isBounded, f.transformScale = u.transformScale, f.useCssTransforms = u.useCssTransforms, f.useStyleCursor = u.useStyleCursor, Yr(() => {
|
|
11107
|
-
k = i.x, P = i.y, T = i.h, g = i.w, _t(
|
|
11108
|
-
}), m.on("updateWidth", aa), m.on("compact", ua), m.on("setDraggable", Re), m.on("setResizable", Ve), m.on("setBounded", Ae), m.on("setTransformScale", z), m.on("setRowHeight", Q), m.on("setMaxRows", se), m.on("directionchange", ge), m.on("setColNum",
|
|
11107
|
+
k = i.x, P = i.y, T = i.h, g = i.w, _t(Ye);
|
|
11108
|
+
}), m.on("updateWidth", aa), m.on("compact", ua), m.on("setDraggable", Re), m.on("setResizable", Ve), m.on("setBounded", Ae), m.on("setTransformScale", z), m.on("setRowHeight", Q), m.on("setMaxRows", se), m.on("directionchange", ge), m.on("setColNum", Je);
|
|
11109
11109
|
}), gl(() => {
|
|
11110
|
-
m.off("updateWidth", aa), m.off("compact", ua), m.off("setDraggable", Re), m.off("setResizable", Ve), m.off("setBounded", Ae), m.off("setTransformScale", z), m.off("setRowHeight", Q), m.off("setMaxRows", se), m.off("directionchange", ge), m.off("setColNum",
|
|
11110
|
+
m.off("updateWidth", aa), m.off("compact", ua), m.off("setDraggable", Re), m.off("setResizable", Ve), m.off("setBounded", Ae), m.off("setTransformScale", z), m.off("setRowHeight", Q), m.off("setMaxRows", se), m.off("directionchange", ge), m.off("setColNum", Je), v.value && (v.value.unset(), v.value = null), u.decreaseItem(be);
|
|
11111
11111
|
}), l({ state: f, wrapper: S });
|
|
11112
|
-
const da = typeof navigator < "u" ? navigator.userAgent.toLowerCase().includes("android") : !1,
|
|
11112
|
+
const da = typeof navigator < "u" ? navigator.userAgent.toLowerCase().includes("android") : !1, Y = Ua(() => f.resizable && !i.static), B = Ua(() => u.isMirrored ? !f.rtl : f.rtl), xe = Ua(() => (f.draggable || f.resizable) && !i.static), Se = $p("item"), Ue = Ua(() => ({
|
|
11113
11113
|
[Se.b()]: !0,
|
|
11114
|
-
[Se.bm("resizable")]:
|
|
11114
|
+
[Se.bm("resizable")]: Y.value,
|
|
11115
11115
|
[Se.bm("static")]: i.static,
|
|
11116
11116
|
[Se.bm("resizing")]: f.isResizing,
|
|
11117
11117
|
[Se.bm("dragging")]: f.isDragging,
|
|
@@ -11152,26 +11152,26 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11152
11152
|
), _a(
|
|
11153
11153
|
() => f.rowHeight,
|
|
11154
11154
|
() => {
|
|
11155
|
-
_t(
|
|
11155
|
+
_t(Ye), _t(Ze);
|
|
11156
11156
|
}
|
|
11157
11157
|
), _a([() => f.cols, () => f.containerWidth], () => {
|
|
11158
|
-
_t(W), _t(
|
|
11158
|
+
_t(W), _t(Ye), _t(Ze);
|
|
11159
11159
|
}), _a([() => i.minH, () => i.maxH, () => i.minW, () => i.maxW], () => {
|
|
11160
11160
|
_t(W);
|
|
11161
11161
|
}), _a(B, () => {
|
|
11162
|
-
_t(W), _t(
|
|
11162
|
+
_t(W), _t(Ye);
|
|
11163
11163
|
}), _a([() => u.margin, () => u.margin[0], () => u.margin[1]], () => {
|
|
11164
11164
|
const b = u.margin;
|
|
11165
|
-
!b || b[0] === f.margin[0] && b[1] === f.margin[1] || (f.margin = b.map(Number), _t(
|
|
11165
|
+
!b || b[0] === f.margin[0] && b[1] === f.margin[1] || (f.margin = b.map(Number), _t(Ye), _t(Ze));
|
|
11166
11166
|
});
|
|
11167
|
-
function
|
|
11167
|
+
function Ye() {
|
|
11168
11168
|
i.x + i.w > f.cols ? (k = 0, g = i.w > f.cols ? f.cols : i.w) : (k = i.x, g = i.w);
|
|
11169
11169
|
const b = G(k, P, g, T);
|
|
11170
11170
|
f.isDragging && (b.top = f.dragging.top, B.value ? b.right = f.dragging.left : b.left = f.dragging.left), f.isResizing && (b.width = f.resizing.width, b.height = f.resizing.height);
|
|
11171
11171
|
let le;
|
|
11172
11172
|
f.useCssTransforms ? B.value ? le = Rp(b.top, b.right, b.width, b.height) : le = Bp(b.top, b.left, b.width, b.height) : B.value ? le = Mp(b.top, b.right, b.width, b.height) : le = Lp(b.top, b.left, b.width, b.height), f.style = le;
|
|
11173
11173
|
}
|
|
11174
|
-
function
|
|
11174
|
+
function Ze() {
|
|
11175
11175
|
const b = {};
|
|
11176
11176
|
for (const le of ["width", "height"]) {
|
|
11177
11177
|
const De = f.style[le].match(/^(\d+)px$/);
|
|
@@ -11196,8 +11196,8 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11196
11196
|
break;
|
|
11197
11197
|
}
|
|
11198
11198
|
case "resizemove": {
|
|
11199
|
-
!b.edges.right && !b.edges.left && (
|
|
11200
|
-
const Ee = qo(
|
|
11199
|
+
!b.edges.right && !b.edges.left && (X = _), !b.edges.top && !b.edges.bottom && (R = ee);
|
|
11200
|
+
const Ee = qo(X, R, _, ee);
|
|
11201
11201
|
B.value ? K.width = f.resizing.width - Ee.deltaX / f.transformScale : K.width = f.resizing.width + Ee.deltaX / f.transformScale, K.height = f.resizing.height + Ee.deltaY / f.transformScale, f.resizing = K;
|
|
11202
11202
|
break;
|
|
11203
11203
|
}
|
|
@@ -11206,7 +11206,7 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11206
11206
|
break;
|
|
11207
11207
|
}
|
|
11208
11208
|
}
|
|
11209
|
-
$ = J(K.height, K.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),
|
|
11209
|
+
$ = J(K.height, K.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), X = _, R = ee, (g !== $.w || T !== $.h) && c("resize", i.i, $.h, $.w, K.height, K.width), b.type === "resizeend" && (Ce !== g || V !== T) && c("resized", i.i, $.h, $.w, K.height, K.width), m.emit("resizeEvent", b.type, i.i, k, P, $.h, $.w);
|
|
11210
11210
|
}
|
|
11211
11211
|
function L(b) {
|
|
11212
11212
|
if (i.static || f.isResizing) return;
|
|
@@ -11289,7 +11289,7 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11289
11289
|
f.containerWidth = b;
|
|
11290
11290
|
}
|
|
11291
11291
|
function Ne() {
|
|
11292
|
-
|
|
11292
|
+
Ye();
|
|
11293
11293
|
}
|
|
11294
11294
|
function ca() {
|
|
11295
11295
|
!v.value && S.value && (v.value = Yo(S.value), f.useStyleCursor || v.value.styleCursor(!1));
|
|
@@ -11346,7 +11346,7 @@ const Yo = /* @__PURE__ */ ks(qp), io = /* @__PURE__ */ mt({
|
|
|
11346
11346
|
style: Zt(f.style)
|
|
11347
11347
|
}, [
|
|
11348
11348
|
Bn(b.$slots, "default"),
|
|
11349
|
-
|
|
11349
|
+
Y.value ? (Oe(), ia("span", {
|
|
11350
11350
|
key: 0,
|
|
11351
11351
|
class: _o(je.value)
|
|
11352
11352
|
}, null, 2)) : vt("", !0)
|
|
@@ -11683,7 +11683,7 @@ var Ln = function(t) {
|
|
|
11683
11683
|
return bi.get(t);
|
|
11684
11684
|
if (er(t))
|
|
11685
11685
|
return bi.set(t, nl), nl;
|
|
11686
|
-
var r = getComputedStyle(t), i = vo(t) && t.ownerSVGElement && t.getBBox(), c = !cv && r.boxSizing === "border-box", u = uv.test(r.writingMode || ""), m = !i && tl.test(r.overflowY || ""), v = !i && tl.test(r.overflowX || ""), f = i ? 0 : Nt(r.paddingTop), w = i ? 0 : Nt(r.paddingRight), x = i ? 0 : Nt(r.paddingBottom), O = i ? 0 : Nt(r.paddingLeft), M = i ? 0 : Nt(r.borderTopWidth),
|
|
11686
|
+
var r = getComputedStyle(t), i = vo(t) && t.ownerSVGElement && t.getBBox(), c = !cv && r.boxSizing === "border-box", u = uv.test(r.writingMode || ""), m = !i && tl.test(r.overflowY || ""), v = !i && tl.test(r.overflowX || ""), f = i ? 0 : Nt(r.paddingTop), w = i ? 0 : Nt(r.paddingRight), x = i ? 0 : Nt(r.paddingBottom), O = i ? 0 : Nt(r.paddingLeft), M = i ? 0 : Nt(r.borderTopWidth), X = i ? 0 : Nt(r.borderRightWidth), R = i ? 0 : Nt(r.borderBottomWidth), Ce = i ? 0 : Nt(r.borderLeftWidth), V = O + w, j = f + x, oe = Ce + X, k = M + R, P = v ? t.offsetHeight - k - t.clientHeight : 0, g = m ? t.offsetWidth - oe - t.clientWidth : 0, T = c ? V + oe : 0, S = c ? j + k : 0, be = i ? i.width : Nt(r.width) - T - g, aa = i ? i.height : Nt(r.height) - S - P, ua = be + V + g + oe, Re = aa + j + P + k, Ve = Ln({
|
|
11687
11687
|
devicePixelContentBoxSize: Hn(Math.round(be * devicePixelRatio), Math.round(aa * devicePixelRatio), u),
|
|
11688
11688
|
borderBoxSize: Hn(ua, Re, u),
|
|
11689
11689
|
contentBoxSize: Hn(be, aa, u),
|
|
@@ -12006,7 +12006,7 @@ const Tv = /* @__PURE__ */ mt({
|
|
|
12006
12006
|
originalLayout: null
|
|
12007
12007
|
// store original Layout
|
|
12008
12008
|
}), m = /* @__PURE__ */ new Map(), v = ue(i.layout), f = ue(), { observeResize: w, unobserveResize: x } = Dv(), O = Dp();
|
|
12009
|
-
O.on("resizeEvent", M), O.on("dragEvent",
|
|
12009
|
+
O.on("resizeEvent", M), O.on("dragEvent", X), hl(() => {
|
|
12010
12010
|
c("layout-before-mount", v.value);
|
|
12011
12011
|
}), an(() => {
|
|
12012
12012
|
c("layout-mounted", v.value), Pt(() => {
|
|
@@ -12020,7 +12020,7 @@ const Tv = /* @__PURE__ */ mt({
|
|
|
12020
12020
|
function M(Re, Ve, Ae, z, Q, se) {
|
|
12021
12021
|
S(Re, Ve, Ae, z, Q, se);
|
|
12022
12022
|
}
|
|
12023
|
-
function
|
|
12023
|
+
function X(Re, Ve, Ae, z, Q, se) {
|
|
12024
12024
|
T(Re, Ve, Ae, z, Q, se);
|
|
12025
12025
|
}
|
|
12026
12026
|
_a(
|
|
@@ -12128,9 +12128,9 @@ const Tv = /* @__PURE__ */ mt({
|
|
|
12128
12128
|
function T(Re, Ve, Ae, z, Q, se) {
|
|
12129
12129
|
let ge = Wo(v.value, Ve);
|
|
12130
12130
|
At(ge) && (ge = { h: 0, w: 0, x: 0, y: 0, i: "" }), Re === "dragstart" && !i.verticalCompact && (g = v.value.reduce(
|
|
12131
|
-
(
|
|
12132
|
-
...
|
|
12133
|
-
[da]: { x:
|
|
12131
|
+
(Je, { i: da, x: Y, y: B }) => ({
|
|
12132
|
+
...Je,
|
|
12133
|
+
[da]: { x: Y, y: B }
|
|
12134
12134
|
}),
|
|
12135
12135
|
{}
|
|
12136
12136
|
)), Re === "dragmove" || Re === "dragstart" ? (u.placeholder.i = Ve, u.placeholder.x = ge.x, u.placeholder.y = ge.y, u.placeholder.w = se, u.placeholder.h = Q, Pt(() => {
|
|
@@ -12142,19 +12142,19 @@ const Tv = /* @__PURE__ */ mt({
|
|
|
12142
12142
|
function S(Re, Ve, Ae, z, Q, se) {
|
|
12143
12143
|
let ge = Wo(v.value, Ve);
|
|
12144
12144
|
At(ge) && (ge = { h: 0, w: 0, x: 0, y: 0, i: "" });
|
|
12145
|
-
let
|
|
12145
|
+
let Je;
|
|
12146
12146
|
if (i.preventCollision) {
|
|
12147
12147
|
const da = ql(v.value, { ...ge, w: se, h: Q }).filter(
|
|
12148
|
-
(
|
|
12148
|
+
(Y) => Y.i !== ge.i
|
|
12149
12149
|
);
|
|
12150
|
-
if (
|
|
12151
|
-
let
|
|
12150
|
+
if (Je = da.length > 0, Je) {
|
|
12151
|
+
let Y = 1 / 0, B = 1 / 0;
|
|
12152
12152
|
da.forEach((xe) => {
|
|
12153
|
-
xe.x > ge.x && (
|
|
12154
|
-
}), Number.isFinite(
|
|
12153
|
+
xe.x > ge.x && (Y = Math.min(Y, xe.x)), xe.y > ge.y && (B = Math.min(B, xe.y));
|
|
12154
|
+
}), Number.isFinite(Y) && (ge.w = Y - ge.x), Number.isFinite(B) && (ge.h = B - ge.y);
|
|
12155
12155
|
}
|
|
12156
12156
|
}
|
|
12157
|
-
|
|
12157
|
+
Je || (ge.w = se, ge.h = Q), Re === "resizestart" || Re === "resizemove" ? (u.placeholder.i = Ve, u.placeholder.x = Ae, u.placeholder.y = z, u.placeholder.w = ge.w, u.placeholder.h = ge.h, Pt(() => {
|
|
12158
12158
|
u.isDragging = !0;
|
|
12159
12159
|
}), O.emit("updateWidth", u.width)) : Re && Pt(() => {
|
|
12160
12160
|
u.isDragging = !1;
|
|
@@ -12244,20 +12244,20 @@ const Iv = {
|
|
|
12244
12244
|
emits: ["rowClick", "routeUrl"],
|
|
12245
12245
|
setup(t, { emit: l }) {
|
|
12246
12246
|
const r = Pn(et), { isEdit: i } = nt(r), c = l, u = t, m = Ua(() => u == null ? void 0 : u.children), v = Ua(() => {
|
|
12247
|
-
var M,
|
|
12248
|
-
return ((M = u == null ? void 0 : u.children) == null ? void 0 : M.length) > 0 && ((
|
|
12247
|
+
var M, X, R, Ce;
|
|
12248
|
+
return ((M = u == null ? void 0 : u.children) == null ? void 0 : M.length) > 0 && ((X = u == null ? void 0 : u.children) != null && X.every((V) => V == null ? void 0 : V.layout)) ? (Ce = (R = u == null ? void 0 : u.children) == null ? void 0 : R[0]) == null ? void 0 : Ce.layout : "vertical";
|
|
12249
12249
|
}), f = Ua(() => {
|
|
12250
|
-
var M,
|
|
12251
|
-
return ((
|
|
12250
|
+
var M, X;
|
|
12251
|
+
return ((X = (M = u == null ? void 0 : u.children) == null ? void 0 : M[0]) == null ? void 0 : X.isGridLayout) || !1;
|
|
12252
12252
|
}), w = ue((u == null ? void 0 : u.level) + 1), x = (M) => {
|
|
12253
12253
|
c("rowClick", M);
|
|
12254
|
-
}, O = (M,
|
|
12255
|
-
c("routeUrl", M,
|
|
12254
|
+
}, O = (M, X) => {
|
|
12255
|
+
c("routeUrl", M, X);
|
|
12256
12256
|
};
|
|
12257
|
-
return (M,
|
|
12257
|
+
return (M, X) => f.value ? (Oe(), Ba(Ma(Tv), {
|
|
12258
12258
|
key: 0,
|
|
12259
12259
|
layout: m.value,
|
|
12260
|
-
"onUpdate:layout":
|
|
12260
|
+
"onUpdate:layout": X[0] || (X[0] = (R) => m.value = R),
|
|
12261
12261
|
"is-draggable": Ma(i) === "edit",
|
|
12262
12262
|
"is-resizable": Ma(i) === "edit",
|
|
12263
12263
|
"col-num": 24,
|