ss-component-new 1.2.179 → 1.2.181
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-CMpGG9Bd.cjs → MTLLoader-BTzWsYw_.cjs} +1 -1
- package/dist/{MTLLoader-d2OpvLOW.js → MTLLoader-DlOCq_sz.js} +1 -1
- package/dist/{OrbitControls-DpyXjBNP.cjs → OrbitControls-D7H4f_sG.cjs} +1 -1
- package/dist/{OrbitControls-DBHqNrQL.js → OrbitControls-DCbMLAja.js} +1 -1
- package/dist/{URDFLoader-C7hv2huD.js → URDFLoader-DSUuVt4R.js} +2 -2
- package/dist/{URDFLoader-wguISxmK.cjs → URDFLoader-YD4JI4sU.cjs} +1 -1
- package/dist/{animationData-iNdJN_D_.js → animationData-B5xqHLuz.js} +1 -1
- package/dist/{animationData-C5sjWEaT.cjs → animationData-BYxqN-uC.cjs} +1 -1
- package/dist/{array-ByUgkJ37.cjs → array-BhwYx3CX.cjs} +1 -1
- package/dist/{array-Bgrj1oV3.js → array-C-MjDZXh.js} +1 -1
- package/dist/{iconfont-Buh2Df98.cjs → iconfont-BtG836y-.cjs} +1 -1
- package/dist/{iconfont-BPJ9ourc.js → iconfont-Cm6W7V0P.js} +2 -2
- package/dist/{index-D1RoGIsd.js → index-3Y-fsm3p.js} +1 -1
- package/dist/{index-DHZH0zPO.js → index-5mnjOCYW.js} +1 -1
- package/dist/{index-BNidg3es.cjs → index-7Rgwef3k.cjs} +1 -1
- package/dist/{index-D5CeFNcY.cjs → index-9ApOn61r.cjs} +1 -1
- package/dist/{index-ZHpKUOhR.js → index-B0MQCBhs.js} +1 -1
- package/dist/{index-BynBceMd.js → index-B2-M6ik1.js} +3 -3
- package/dist/{index-DDmxZO6i.cjs → index-B5ppr9pu.cjs} +1 -1
- package/dist/{index-CCUAW6sC.cjs → index-BEn3QVcQ.cjs} +1 -1
- package/dist/index-BLoH9dR_.cjs +1 -0
- package/dist/{index-CvarvnV1.js → index-BMZrbMHo.js} +2 -2
- package/dist/{index-EofXU0MK.js → index-Ba_0Eysx.js} +1 -1
- package/dist/{index-BjhN2cZK.cjs → index-BgXZt8Yv.cjs} +1 -1
- package/dist/{index-BxNdoe0W.js → index-BjqURa8X.js} +16 -16
- package/dist/{index-CN-T4mBv.js → index-Bo6yVJ9h.js} +119 -122
- package/dist/{index-D0LjT3cL.js → index-C4wWbHco.js} +4 -4
- package/dist/{index-CqbOb7X5.js → index-CFfdoEXp.js} +2 -2
- package/dist/{index-ClmxTuZZ.js → index-CIsLzHcf.js} +1 -1
- package/dist/{index-CcosIFS7.js → index-CNoioYHZ.js} +1 -1
- package/dist/{index-BMHV_Brb.cjs → index-CO7kEMmf.cjs} +1 -1
- package/dist/{index-CbBel_Ly.cjs → index-CanI2V9h.cjs} +1 -1
- package/dist/{index-y6LkQUgu.cjs → index-CavNDUBi.cjs} +1 -1
- package/dist/{index-xzZKgB24.cjs → index-CbpyErg_.cjs} +1 -1
- package/dist/{index-DMkTj7aZ.cjs → index-ChnNZfEN.cjs} +1 -1
- package/dist/{index-BQKz83nF.js → index-Cv5oRI7Q.js} +1 -1
- package/dist/{index-Co4vN6r7.cjs → index-D49xaWHR.cjs} +1 -1
- package/dist/{index-BxS6-5bI.cjs → index-D8WLnGRC.cjs} +1 -1
- package/dist/{index-Duk7yWiP.cjs → index-DL_aJUHm.cjs} +1 -1
- package/dist/{index-lvZVl2Vw.js → index-DPnffFdz.js} +8 -8
- package/dist/{index-BCWHX3eK.cjs → index-D_tiSZ9j.cjs} +1 -1
- package/dist/{index-Cn3W-yV7.cjs → index-DdeUgqk3.cjs} +1 -1
- package/dist/{index-xHfmd7Ni.js → index-DeXx8Vko.js} +1 -1
- package/dist/{index-CHQVBVEk.cjs → index-DkU8Eq1c.cjs} +1 -1
- package/dist/{index-DqMnk5wX.cjs → index-EXE6oqX9.cjs} +1 -1
- package/dist/{index-BKK7zx0h.js → index-Iobde4Mg.js} +4 -4
- package/dist/{index-C8X6R7q5.js → index-KO6c2_4C.js} +4 -4
- package/dist/{index-DXselp6c.cjs → index-Xfa3De_r.cjs} +1 -1
- package/dist/{index-BYvy0l-n.cjs → index-bBQaYoAM.cjs} +1 -1
- package/dist/{index-BYDeJDc_.js → index-bXwcWWT4.js} +3 -3
- package/dist/{index-B3Kt07UJ.js → index-cnLMVBEH.js} +1 -1
- package/dist/{index-3ZZbSXzg.js → index-eMDBWTDY.js} +7 -7
- package/dist/{index-CtrZr-Cc.js → index-h6qSKvm4.js} +1 -1
- package/dist/{index-CEZuSXRM.js → index-iuHQqiR7.js} +1 -1
- package/dist/{index-BKxw0UBQ.cjs → index-nKXcthha.cjs} +1 -1
- package/dist/{index-BJnycjrK.cjs → index-xrC3zZoP.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BhTZLmHo.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ClX-um0I.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-C4PEXKSp.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DXY29h1f.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BtDy8n8V.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfZR3ABW.cjs} +212 -212
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-9XvSEGdS.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-T859a6kf.js} +14884 -14899
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B5QsbB6Q.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BJK4Ar7-.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DPVGY0eJ.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CyUG5izb.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-ClIZyFAZ.cjs → index.vue_vue_type_style_index_1_lang-CNa3MLOt.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DBIY-mVS.js → index.vue_vue_type_style_index_1_lang-Dml01rWN.js} +3 -3
- package/dist/{main-CjhywWOM.js → main-43YwuY9x.js} +3 -3
- package/dist/{main-CuyIrRZV.cjs → main-BwzBl_3h.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-ukCJmnVO.cjs → threeModel-Cs1MSH2i.cjs} +1 -1
- package/dist/{threeModel-DdsWlYl2.js → threeModel-DgFpDEHd.js} +4 -4
- package/dist/{threePreview-BZvdxIa2.cjs → threePreview-C3AbBY21.cjs} +1 -1
- package/dist/{threePreview-p9D877JF.js → threePreview-z9rz6n5g.js} +3 -3
- package/dist/{threeSceneView-B12dxEfS.cjs → threeSceneView-B3y6V-yN.cjs} +1 -1
- package/dist/{threeSceneView-C2zoPlRp.js → threeSceneView-C8vMKO0w.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-CIEoqdr8.cjs → threeSceneViewForCPMPIP-B7HSnAYV.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-B7s_szJB.js → threeSceneViewForCPMPIP-C8Lgc1n_.js} +7 -7
- package/dist/{threeTrackPathView-Cap0mVmC.cjs → threeTrackPathView-VB2cv_wS.cjs} +1 -1
- package/dist/{threeTrackPathView-BxK49ljq.js → threeTrackPathView-x9nKVqZP.js} +3 -3
- package/dist/{threeViewerHost-DGNd3WrL.js → threeViewerHost-Bi6Ire9J.js} +2 -2
- package/dist/{threeViewerHost-Cg_dRiGk.cjs → threeViewerHost-t-1xFz37.cjs} +1 -1
- package/dist/{urdfTree-Lfkc4b95.js → urdfTree-B7VGj9Ok.js} +1 -1
- package/dist/{urdfTree-B0LbjhKN.cjs → urdfTree-BbcmeygS.cjs} +1 -1
- package/dist/{workpieceTreePanel-D60hJ3BF.js → workpieceTreePanel-D1eW_Xi1.js} +4 -4
- package/dist/{workpieceTreePanel-BrOxOnjQ.cjs → workpieceTreePanel-DTXRhhGv.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-dRtOvQRS.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ref as J, watch as rl, nextTick as _a, resolveComponent as nl, createBlock as Ne, openBlock as re, withCtx as Z, createElementVNode as ke, renderSlot as pr, onMounted as Ka, createElementBlock as Ae, normalizeStyle as Bl, normalizeClass as jr, toDisplayString as Pe, createCommentVNode as Le, createVNode as de, unref as dl, Fragment as xl, renderList as Ul, createTextVNode as ol, defineComponent as Lr, reactive as ta, inject as Jn, provide as Rn, onBeforeUnmount as Wn, computed as fr, onUnmounted as qn, createSlots as Gn, withModifiers as hr, withDirectives as yr, vShow as gr } from "vue";
|
|
2
2
|
import { by as vr, ay as br, c as q, E as Ye, bS as Pr, g as Kl, p as Ml, s as Gl, u as Hn, f as Qn, b as Nl, bK as Xn, bI as kr, e as Yn, ce as Zn } from "./index-KFoWHXov.js";
|
|
3
|
-
import { V as fa, aC as In, aD as ha, aE as Vn, g as Hl, b as eu, a as lu, U as au, u as ru, aF as Sr, aG as Tr, aH as nu, aI as uu, d as Ma, R as Ar, n as mr, l as ou, aJ as xr, a1 as su, aK as iu, aL as cu, aM as du, T as tu, aN as pu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { d as Ql, a as Ur, j as fu, e as hu, E as yu } from "./index-
|
|
5
|
-
import { a as gu, T as vu } from "./threeViewerHost-
|
|
3
|
+
import { V as fa, aC as In, aD as ha, aE as Vn, g as Hl, b as eu, a as lu, U as au, u as ru, aF as Sr, aG as Tr, aH as nu, aI as uu, d as Ma, R as Ar, n as mr, l as ou, aJ as xr, a1 as su, aK as iu, aL as cu, aM as du, T as tu, aN as pu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-T859a6kf.js";
|
|
4
|
+
import { d as Ql, a as Ur, j as fu, e as hu, E as yu } from "./index-KO6c2_4C.js";
|
|
5
|
+
import { a as gu, T as vu } from "./threeViewerHost-Bi6Ire9J.js";
|
|
6
6
|
import { u as bu, a as ku, E as _r } from "./index-Dh_LOm8w.js";
|
|
7
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
7
|
+
import "./index.vue_vue_type_style_index_1_lang-Dml01rWN.js";
|
|
8
8
|
import { _ as Da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { s as pa } from "./index-
|
|
9
|
+
import { s as pa } from "./index-Cv5oRI7Q.js";
|
|
10
10
|
import "./index-BIiBz_NW.js";
|
|
11
11
|
import { i as Dr } from "./isString-BcJYo5aE.js";
|
|
12
12
|
const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
@@ -874,9 +874,9 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
874
874
|
}), rl(
|
|
875
875
|
() => Yl.value,
|
|
876
876
|
async () => {
|
|
877
|
-
var s, i, d, c, y, D, _, $, b,
|
|
877
|
+
var s, i, d, c, y, D, _, $, b, E, j, O, F, B, K, T, x, k;
|
|
878
878
|
if (((s = Yl.value) == null ? void 0 : s.length) === 0 || !((i = o == null ? void 0 : o.itemData) != null && i.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((d = o == null ? void 0 : o.itemData) != null && d.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
|
|
879
|
-
let e = (b = ($ = (_ = (D = (y = (c = o == null ? void 0 : o.itemData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : y.contents) == null ? void 0 : D.split("[")) == null ? void 0 : _[1]) == null ? void 0 : $.split("]")) == null ? void 0 : b[0], l = ((F = (O = (j = (
|
|
879
|
+
let e = (b = ($ = (_ = (D = (y = (c = o == null ? void 0 : o.itemData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : y.contents) == null ? void 0 : D.split("[")) == null ? void 0 : _[1]) == null ? void 0 : $.split("]")) == null ? void 0 : b[0], l = ((F = (O = (j = (E = o == null ? void 0 : o.itemData) == null ? void 0 : E.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : O.split("[")) == null ? void 0 : F[0]) + ((K = (B = Yl.value) == null ? void 0 : B.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : K.value), n = ((x = (T = o == null ? void 0 : o.itemData) == null ? void 0 : T.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : x.contents) ?? "", a = await Hl(l, sessionStorage.getItem("systemKey"), ""), r = (k = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? o == null ? void 0 : o.compName : n))) == null ? void 0 : k.compData;
|
|
880
880
|
lr(r, o.allMapContents);
|
|
881
881
|
},
|
|
882
882
|
{ deep: !0 }
|
|
@@ -893,8 +893,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
893
893
|
tableId: (o == null ? void 0 : o.parentTableId) || (o == null ? void 0 : o.index),
|
|
894
894
|
systemKey: sessionStorage.getItem("systemKey")
|
|
895
895
|
}, D = l == null ? void 0 : l.map((b) => {
|
|
896
|
-
const
|
|
897
|
-
return
|
|
896
|
+
const E = Object.keys(b), j = {};
|
|
897
|
+
return E.forEach((O, F) => {
|
|
898
898
|
j[e[F]] = b[O];
|
|
899
899
|
}), j;
|
|
900
900
|
}), _ = D == null ? void 0 : D.map((b) => ({
|
|
@@ -974,10 +974,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
974
974
|
id: o == null ? void 0 : o.index
|
|
975
975
|
});
|
|
976
976
|
if (((s = b == null ? void 0 : b.data) == null ? void 0 : s.code) === 200) {
|
|
977
|
-
let
|
|
978
|
-
a ?
|
|
979
|
-
...
|
|
980
|
-
compData: (_ =
|
|
977
|
+
let E = (y = (c = (d = (i = b == null ? void 0 : b.data) == null ? void 0 : i.result) == null ? void 0 : d[0]) == null ? void 0 : c.value) == null ? void 0 : y.pageData;
|
|
978
|
+
a ? E = {
|
|
979
|
+
...E,
|
|
980
|
+
compData: (_ = E == null ? void 0 : E.compData) == null ? void 0 : _.map((O) => {
|
|
981
981
|
var F;
|
|
982
982
|
return (O == null ? void 0 : O.key) === "header" ? {
|
|
983
983
|
...O,
|
|
@@ -987,9 +987,9 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
987
987
|
}))
|
|
988
988
|
} : O;
|
|
989
989
|
})
|
|
990
|
-
} :
|
|
991
|
-
...
|
|
992
|
-
compData: (D =
|
|
990
|
+
} : E = {
|
|
991
|
+
...E,
|
|
992
|
+
compData: (D = E == null ? void 0 : E.compData) == null ? void 0 : D.map((O) => {
|
|
993
993
|
var F, B;
|
|
994
994
|
return (O == null ? void 0 : O.key) === "header" ? {
|
|
995
995
|
...O,
|
|
@@ -1009,7 +1009,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1009
1009
|
const j = await Yn({
|
|
1010
1010
|
id: o == null ? void 0 : o.index,
|
|
1011
1011
|
value: {
|
|
1012
|
-
pageData:
|
|
1012
|
+
pageData: E
|
|
1013
1013
|
}
|
|
1014
1014
|
});
|
|
1015
1015
|
(($ = j == null ? void 0 : j.data) == null ? void 0 : $.code) === 200 ? (Ye.success("编辑成功"), we.setRefreshCurStructure(!0)) : Ye.error("编辑响应失败");
|
|
@@ -1057,7 +1057,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1057
1057
|
}, sn = (e) => {
|
|
1058
1058
|
be("clickTrigger", e);
|
|
1059
1059
|
}, Ja = async (e) => {
|
|
1060
|
-
var s, i, d, c, y, D, _, $, b,
|
|
1060
|
+
var s, i, d, c, y, D, _, $, b, E, j, O, F, B, K;
|
|
1061
1061
|
const l = e == null ? void 0 : e.row, n = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
|
|
1062
1062
|
if ((s = l == null ? void 0 : l.toString()) != null && s.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
|
|
1063
1063
|
if (l.includes(",")) {
|
|
@@ -1093,7 +1093,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1093
1093
|
Zl.value = x, R.value = !1, Be.value = !0;
|
|
1094
1094
|
return;
|
|
1095
1095
|
}
|
|
1096
|
-
if ((_ = l == null ? void 0 : l.toString()) != null && _.includes(".stl") || ($ = l == null ? void 0 : l.toString()) != null && $.includes(".STL") || (b = l == null ? void 0 : l.toString()) != null && b.includes(".obj") || (
|
|
1096
|
+
if ((_ = l == null ? void 0 : l.toString()) != null && _.includes(".stl") || ($ = l == null ? void 0 : l.toString()) != null && $.includes(".STL") || (b = l == null ? void 0 : l.toString()) != null && b.includes(".obj") || (E = l == null ? void 0 : l.toString()) != null && E.includes(".mtl") || a != null && a.includes(".stl") || a != null && a.includes(".STL") || a != null && a.includes(".obj") || a != null && a.includes(".mtl")) {
|
|
1097
1097
|
let T, x = [], k = {};
|
|
1098
1098
|
if (Array.isArray(l) ? T = l : T = l == null ? void 0 : l.split(","), T == null || T.forEach((m) => {
|
|
1099
1099
|
m.includes(".mtl") ? x.push(m) : k.blob = k.blob ? k.blob + "," + m : m;
|
|
@@ -1239,13 +1239,13 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
}, hn = async (e) => {
|
|
1241
1241
|
}, Wa = async (e, l, n, a) => {
|
|
1242
|
-
var r, s, i, d, c, y, D, _, $, b,
|
|
1242
|
+
var r, s, i, d, c, y, D, _, $, b, E, j, O, F, B, K, T, x, k, m;
|
|
1243
1243
|
if (be("clickMainKey", n), (a == null ? void 0 : a.isExistChild) === !0) {
|
|
1244
1244
|
let v = (r = a == null ? void 0 : a.columnType) == null ? void 0 : r.prop, W = a == null ? void 0 : a.data;
|
|
1245
1245
|
if (wl.value = await Hl(_e.value, sessionStorage.getItem("systemKey"), ""), !wl.value) {
|
|
1246
1246
|
let L = (d = (i = (s = _e.value) == null ? void 0 : s.split("/")) == null ? void 0 : i.filter((ae, t) => {
|
|
1247
|
-
var
|
|
1248
|
-
return t !== ((p = (
|
|
1247
|
+
var C, p;
|
|
1248
|
+
return t !== ((p = (C = _e.value) == null ? void 0 : C.split("/")) == null ? void 0 : p.length) - 1;
|
|
1249
1249
|
})) == null ? void 0 : d.join("/");
|
|
1250
1250
|
wl.value = await Hl(L, sessionStorage.getItem("systemKey"), "");
|
|
1251
1251
|
}
|
|
@@ -1253,8 +1253,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1253
1253
|
wl.value = u == null ? void 0 : u.map((L) => {
|
|
1254
1254
|
var ae;
|
|
1255
1255
|
return L.compData = (ae = L.compData) == null ? void 0 : ae.map((t) => {
|
|
1256
|
-
var
|
|
1257
|
-
return (t == null ? void 0 : t.key) === "tableContents" && (
|
|
1256
|
+
var C, p;
|
|
1257
|
+
return (t == null ? void 0 : t.key) === "tableContents" && (C = t == null ? void 0 : t.contents) != null && C.every((g) => g == null ? void 0 : g.find((U) => U == null ? void 0 : U.id)) && (t.contents = (p = t == null ? void 0 : t.contents) == null ? void 0 : p.filter((g) => (g == null ? void 0 : g[1]) === W)), t;
|
|
1258
1258
|
}), L;
|
|
1259
1259
|
}), be("routeUrl", wl.value, {
|
|
1260
1260
|
isEdit: !0,
|
|
@@ -1265,13 +1265,13 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1265
1265
|
if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((v) => (v == null ? void 0 : v.url) && (v == null ? void 0 : v.name)))) {
|
|
1266
1266
|
let v = q(e);
|
|
1267
1267
|
v = await ((y = q(v)) == null ? void 0 : y.map(async (u) => {
|
|
1268
|
-
var t,
|
|
1268
|
+
var t, C, p, g;
|
|
1269
1269
|
const L = await Ma({
|
|
1270
1270
|
url: u == null ? void 0 : u.url
|
|
1271
1271
|
});
|
|
1272
1272
|
let ae = URL.createObjectURL(L.data);
|
|
1273
1273
|
return {
|
|
1274
|
-
name: (u == null ? void 0 : u.name) + "." + ((g = (t = u == null ? void 0 : u.url) == null ? void 0 : t.split(".")) == null ? void 0 : g[((p = (
|
|
1274
|
+
name: (u == null ? void 0 : u.name) + "." + ((g = (t = u == null ? void 0 : u.url) == null ? void 0 : t.split(".")) == null ? void 0 : g[((p = (C = u == null ? void 0 : u.url) == null ? void 0 : C.split(".")) == null ? void 0 : p.length) - 1]),
|
|
1275
1275
|
blobUrl: ae
|
|
1276
1276
|
};
|
|
1277
1277
|
}));
|
|
@@ -1282,7 +1282,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1282
1282
|
ze.setActiveMenuPath(void 0), we.setRouteToChildPath(void 0), we.setFixMenuStatus(!0);
|
|
1283
1283
|
let v = (_ = (D = o.itemData) == null ? void 0 : D.find((u) => (u == null ? void 0 : u.key) === "contentTableId")) == null ? void 0 : _.contents, W = (b = ($ = o.itemData) == null ? void 0 : $.find((u) => (u == null ? void 0 : u.key) === "relatedFilter")) == null ? void 0 : b.index;
|
|
1284
1284
|
if (W !== 0) {
|
|
1285
|
-
let u = (j = (
|
|
1285
|
+
let u = (j = (E = I.value) == null ? void 0 : E[W]) == null ? void 0 : j.prop;
|
|
1286
1286
|
if ((n == null ? void 0 : n[u]) === (a == null ? void 0 : a.data)) {
|
|
1287
1287
|
let L = await Kl({
|
|
1288
1288
|
id: v
|
|
@@ -1353,11 +1353,11 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1353
1353
|
let l = {};
|
|
1354
1354
|
const n = [];
|
|
1355
1355
|
return l.form = {}, (a = q(e)) == null || a.forEach((r, s) => {
|
|
1356
|
-
var i, d, c, y, D, _, $, b,
|
|
1356
|
+
var i, d, c, y, D, _, $, b, E, j, O, F, B, K;
|
|
1357
1357
|
if ((r == null ? void 0 : r.comp) === "Table") {
|
|
1358
1358
|
(d = (i = r == null ? void 0 : r.compData) == null ? void 0 : i.find((m) => (m == null ? void 0 : m.key) === "header")) == null || d.contents;
|
|
1359
1359
|
let T = (D = (y = (c = r == null ? void 0 : r.compData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "tableContents")) == null ? void 0 : y.contents) == null ? void 0 : D.map((m) => m.slice(1));
|
|
1360
|
-
(j = (
|
|
1360
|
+
(j = (E = (b = ($ = (_ = r == null ? void 0 : r.compData) == null ? void 0 : _.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : $.contents) == null ? void 0 : b[0]) == null ? void 0 : E[0]) == null || j.label;
|
|
1361
1361
|
let x = (F = (O = r == null ? void 0 : r.compData) == null ? void 0 : O.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : F.contents, k = [];
|
|
1362
1362
|
T == null || T.forEach((m) => {
|
|
1363
1363
|
let v = [];
|
|
@@ -1387,7 +1387,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1387
1387
|
};
|
|
1388
1388
|
return n(e), l;
|
|
1389
1389
|
}, An = async (e, l, n) => {
|
|
1390
|
-
var x, k, m, v, W, u, L, ae, t,
|
|
1390
|
+
var x, k, m, v, W, u, L, ae, t, C, p;
|
|
1391
1391
|
ze.setImportLoading(!0), we.setFreshContent(!1);
|
|
1392
1392
|
let a = await bn().catch((g) => (ze.setImportLoading(!1), Promise.reject(g)));
|
|
1393
1393
|
a = a == null ? void 0 : a.filter((g) => {
|
|
@@ -1413,13 +1413,13 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1413
1413
|
(v = I.value) == null || v.forEach((g) => {
|
|
1414
1414
|
(g == null ? void 0 : g.prop) === y && ($ = !!(g != null && g.childPath), b = g == null ? void 0 : g.childPath);
|
|
1415
1415
|
});
|
|
1416
|
-
let
|
|
1416
|
+
let E = "";
|
|
1417
1417
|
if ($) {
|
|
1418
1418
|
let g = (u = (W = I.value) == null ? void 0 : W.find((ue) => (ue == null ? void 0 : ue.isMainKey) === !0)) == null ? void 0 : u.prop;
|
|
1419
|
-
|
|
1419
|
+
E = l == null ? void 0 : l[g];
|
|
1420
1420
|
let U = b == null ? void 0 : b.split(Re), A = [];
|
|
1421
1421
|
U == null || U.forEach((ue, te) => {
|
|
1422
|
-
(U == null ? void 0 : U.length) - 1 === te && A.push(
|
|
1422
|
+
(U == null ? void 0 : U.length) - 1 === te && A.push(E), A.push(ue);
|
|
1423
1423
|
}), A = A == null ? void 0 : A[0];
|
|
1424
1424
|
let ie = await Hl(A, sessionStorage.getItem("systemKey"), ""), H = ie == null ? void 0 : ie.filter((ue) => (ue == null ? void 0 : ue.name) === y);
|
|
1425
1425
|
H = H == null ? void 0 : H.map((ue) => {
|
|
@@ -1455,7 +1455,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1455
1455
|
g.push(H);
|
|
1456
1456
|
});
|
|
1457
1457
|
if (await Promise.all(A), !iu(U)) {
|
|
1458
|
-
let H = await cu(U), ue = (p = (
|
|
1458
|
+
let H = await cu(U), ue = (p = (C = H == null ? void 0 : H.data) == null ? void 0 : C.result) == null ? void 0 : p.map((te) => {
|
|
1459
1459
|
var M, Q, oe, X, ee, V;
|
|
1460
1460
|
return {
|
|
1461
1461
|
name: (V = (ee = (X = (M = te == null ? void 0 : te.url) == null ? void 0 : M.split("/")) == null ? void 0 : X[((oe = (Q = te == null ? void 0 : te.url) == null ? void 0 : Q.split("/")) == null ? void 0 : oe.length) - 1]) == null ? void 0 : ee.split(".")) == null ? void 0 : V[0],
|
|
@@ -1519,7 +1519,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
}), Me.show = !1);
|
|
1521
1521
|
}, Ua = async (e, l, n) => {
|
|
1522
|
-
var a, r, s, i, d, c, y, D, _, $, b,
|
|
1522
|
+
var a, r, s, i, d, c, y, D, _, $, b, E, j, O, F;
|
|
1523
1523
|
if (bl.value = "", Sa.value = !0, ba.value = !0, be("onButtonClick", e, l), e === "删除")
|
|
1524
1524
|
_r.confirm("是否确认删除", "温馨提示", {
|
|
1525
1525
|
confirmButtonText: "确认",
|
|
@@ -1596,7 +1596,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1596
1596
|
} else if (e === "执行")
|
|
1597
1597
|
An(e, l);
|
|
1598
1598
|
else if (e != null && e.includes("导出")) {
|
|
1599
|
-
if (e === "导出选中" && ((
|
|
1599
|
+
if (e === "导出选中" && ((E = fl.value) == null ? void 0 : E.length) === 0)
|
|
1600
1600
|
return Ye.warning(`请先勾选${e}的数据`);
|
|
1601
1601
|
if (e === "导出全部" && ((j = ne.value) == null ? void 0 : j.length) === 0)
|
|
1602
1602
|
return Ye.warning("暂无数据导出");
|
|
@@ -1623,7 +1623,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1623
1623
|
};
|
|
1624
1624
|
}) : [];
|
|
1625
1625
|
}, _n = async (e, l) => {
|
|
1626
|
-
var n, a, r, s, i, d, c, y, D, _, $, b,
|
|
1626
|
+
var n, a, r, s, i, d, c, y, D, _, $, b, E, j, O, F, B, K, T, x;
|
|
1627
1627
|
try {
|
|
1628
1628
|
let k, m;
|
|
1629
1629
|
const v = (n = zl.value[_e.value + Re]) == null ? void 0 : n.filter((g) => {
|
|
@@ -1654,7 +1654,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1654
1654
|
}),
|
|
1655
1655
|
extraContent: [],
|
|
1656
1656
|
extraValues: (b = ($ = u == null ? void 0 : u.value) == null ? void 0 : $.pageData) == null ? void 0 : b.data,
|
|
1657
|
-
methodName: (j = (
|
|
1657
|
+
methodName: (j = (E = u == null ? void 0 : u.value) == null ? void 0 : E.pageData) == null ? void 0 : j.path
|
|
1658
1658
|
};
|
|
1659
1659
|
if (!e) return;
|
|
1660
1660
|
const t = {
|
|
@@ -1669,7 +1669,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1669
1669
|
} : A)
|
|
1670
1670
|
} : g;
|
|
1671
1671
|
})
|
|
1672
|
-
},
|
|
1672
|
+
}, C = {
|
|
1673
1673
|
key: {
|
|
1674
1674
|
pageKey: _e.value + Re,
|
|
1675
1675
|
parentTable: "",
|
|
@@ -1679,7 +1679,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1679
1679
|
value: {
|
|
1680
1680
|
pageData: t
|
|
1681
1681
|
}
|
|
1682
|
-
}, p = await Nl.post(ae.api,
|
|
1682
|
+
}, p = await Nl.post(ae.api, C, {
|
|
1683
1683
|
headers: {
|
|
1684
1684
|
"Content-Type": "application/json"
|
|
1685
1685
|
}
|
|
@@ -1722,8 +1722,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1722
1722
|
return ((b = $ == null ? void 0 : $.key) == null ? void 0 : b.type) === "structure";
|
|
1723
1723
|
});
|
|
1724
1724
|
const D = s == null ? void 0 : s.find(($) => {
|
|
1725
|
-
var b,
|
|
1726
|
-
return ((j = (
|
|
1725
|
+
var b, E, j;
|
|
1726
|
+
return ((j = (E = (b = $ == null ? void 0 : $.value) == null ? void 0 : b.pageData) == null ? void 0 : E.comp) == null ? void 0 : j.toUpperCase()) === "FORM";
|
|
1727
1727
|
});
|
|
1728
1728
|
i = {
|
|
1729
1729
|
...(y = D == null ? void 0 : D.value) == null ? void 0 : y.pageData,
|
|
@@ -1744,7 +1744,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1744
1744
|
let a, r;
|
|
1745
1745
|
const s = await On(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
|
|
1746
1746
|
if (e ? (a = q(_e).value + Re + ((y = n == null ? void 0 : n.data) == null ? void 0 : y[(c = n == null ? void 0 : n.firstCol) == null ? void 0 : c.prop]), r = q(_e).value + Re + s) : (a = q(_e).value + Re, r = q(a) + `loading${((i = Rl.value) == null ? void 0 : i.account) || ((d = Rl.value) == null ? void 0 : d.账号)}`), l) {
|
|
1747
|
-
const
|
|
1747
|
+
const E = (_ = (D = zl.value[r]) == null ? void 0 : D.filter((j) => {
|
|
1748
1748
|
var O;
|
|
1749
1749
|
return ((O = j == null ? void 0 : j.key) == null ? void 0 : O.parentTable) === "";
|
|
1750
1750
|
})) == null ? void 0 : _.map((j) => {
|
|
@@ -1754,9 +1754,9 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1754
1754
|
...(O = j == null ? void 0 : j.value) == null ? void 0 : O.pageData
|
|
1755
1755
|
};
|
|
1756
1756
|
});
|
|
1757
|
-
if ((
|
|
1757
|
+
if ((E == null ? void 0 : E.length) > 0)
|
|
1758
1758
|
if (e) {
|
|
1759
|
-
const j =
|
|
1759
|
+
const j = E == null ? void 0 : E.find((O) => {
|
|
1760
1760
|
var F;
|
|
1761
1761
|
return ((F = O == null ? void 0 : O.comp) == null ? void 0 : F.toUpperCase()) === "FORM";
|
|
1762
1762
|
});
|
|
@@ -1779,7 +1779,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1779
1779
|
}, En = () => {
|
|
1780
1780
|
Be.value = !1, Zl.value = [], R.value = !1;
|
|
1781
1781
|
}, aa = (e) => {
|
|
1782
|
-
var i, d, c, y, D, _, $, b,
|
|
1782
|
+
var i, d, c, y, D, _, $, b, E, j, O, F, B, K, T, x, k, m, v, W;
|
|
1783
1783
|
const l = [];
|
|
1784
1784
|
let n = [];
|
|
1785
1785
|
for (let u in e)
|
|
@@ -1832,16 +1832,16 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1832
1832
|
let r = [], s = ($ = o.itemData) == null ? void 0 : $.filter((u) => (u == null ? void 0 : u.key) === "filterAllType");
|
|
1833
1833
|
if ((s == null ? void 0 : s.length) > 0 && (r = (s == null ? void 0 : s.map((L) => L == null ? void 0 : L.value)).flat()), (r == null ? void 0 : r.length) > 0) {
|
|
1834
1834
|
let u = r == null ? void 0 : r.find((t) => {
|
|
1835
|
-
var
|
|
1836
|
-
return (
|
|
1835
|
+
var C;
|
|
1836
|
+
return (C = t == null ? void 0 : t.content) == null ? void 0 : C.includes("@Type");
|
|
1837
1837
|
});
|
|
1838
1838
|
if (u != null && u.content) {
|
|
1839
|
-
let t = (j = (
|
|
1839
|
+
let t = (j = (E = (b = u == null ? void 0 : u.content) == null ? void 0 : b.replace(":", _l)) == null ? void 0 : E.split(_l)) == null ? void 0 : j[1];
|
|
1840
1840
|
if (((O = t == null ? void 0 : t.trim()) == null ? void 0 : O.toUpperCase()) === "MANUAL") {
|
|
1841
|
-
let
|
|
1841
|
+
let C = (x = (T = (F = o.itemData) == null ? void 0 : F.filter((p) => (p == null ? void 0 : p.key) === "contentTableId")) == null ? void 0 : T[((K = (B = o.itemData) == null ? void 0 : B.filter((p) => (p == null ? void 0 : p.key) === "contentTableId")) == null ? void 0 : K.length) - 1]) == null ? void 0 : x.contents;
|
|
1842
1842
|
$e.value = (k = $e.value) == null ? void 0 : k.map((p, g) => {
|
|
1843
1843
|
var U, A, ie, H, ue, te, M, Q, oe, X, ee;
|
|
1844
|
-
return (U = p == null ? void 0 : p.optionUrl) != null && U.menuId && (p.type = "Select", (A = p == null ? void 0 : p.optionUrl) != null && A.menuId
|
|
1844
|
+
return (U = p == null ? void 0 : p.optionUrl) != null && U.menuId && (p.type = "Select", (A = p == null ? void 0 : p.optionUrl) != null && A.menuId && (p.optionUrl.menuId = p.optionUrl.menuId ?? C, p.optionUrl.menuFilter = r, ul.value === "新增" && (p.optionUrl.multiple = (ue = (H = (ie = r == null ? void 0 : r.find((V) => {
|
|
1845
1845
|
var he;
|
|
1846
1846
|
return (he = V == null ? void 0 : V.content) == null ? void 0 : he.includes("@Num");
|
|
1847
1847
|
})) == null ? void 0 : ie.content) == null ? void 0 : H.split(":")) != null && ue[1] && parseInt((Q = (M = (te = r == null ? void 0 : r.find((V) => {
|
|
@@ -1850,31 +1850,28 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1850
1850
|
})) == null ? void 0 : te.content) == null ? void 0 : M.split(":")) == null ? void 0 : Q[1]) > 1 ? !0 : void 0, p.optionUrl.multipleLimit = (ee = (X = (oe = r == null ? void 0 : r.find((V) => {
|
|
1851
1851
|
var he;
|
|
1852
1852
|
return (he = V == null ? void 0 : V.content) == null ? void 0 : he.includes("@Num");
|
|
1853
|
-
})) == null ? void 0 : oe.content) == null ? void 0 : X.split(":")) == null ? void 0 : ee[1]))
|
|
1854
|
-
menuId: E,
|
|
1855
|
-
menuFilter: r
|
|
1856
|
-
}), p;
|
|
1853
|
+
})) == null ? void 0 : oe.content) == null ? void 0 : X.split(":")) == null ? void 0 : ee[1]))), p;
|
|
1857
1854
|
});
|
|
1858
1855
|
}
|
|
1859
1856
|
}
|
|
1860
1857
|
let L = (m = $e.value) == null ? void 0 : m.filter((t) => {
|
|
1861
|
-
var
|
|
1862
|
-
return ((
|
|
1858
|
+
var C, p;
|
|
1859
|
+
return ((C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.menuId) && ((p = t == null ? void 0 : t.optionUrl) == null ? void 0 : p.menuId) !== "";
|
|
1863
1860
|
}), ae;
|
|
1864
1861
|
if (L == null || L.forEach((t) => {
|
|
1865
1862
|
var p, g;
|
|
1866
1863
|
if (ae !== void 0) return;
|
|
1867
|
-
let
|
|
1864
|
+
let C = (p = t == null ? void 0 : t.optionUrl) == null ? void 0 : p.menuId;
|
|
1868
1865
|
((g = L == null ? void 0 : L.filter((U) => {
|
|
1869
1866
|
var A;
|
|
1870
|
-
return ((A = U == null ? void 0 : U.optionUrl) == null ? void 0 : A.menuId) ===
|
|
1871
|
-
})) == null ? void 0 : g.length) > 1 && (ae =
|
|
1867
|
+
return ((A = U == null ? void 0 : U.optionUrl) == null ? void 0 : A.menuId) === C;
|
|
1868
|
+
})) == null ? void 0 : g.length) > 1 && (ae = C);
|
|
1872
1869
|
}), L = L == null ? void 0 : L.filter((t) => {
|
|
1873
|
-
var
|
|
1874
|
-
return ((
|
|
1870
|
+
var C;
|
|
1871
|
+
return ((C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.menuId) === ae;
|
|
1875
1872
|
}), (L == null ? void 0 : L.length) > 1) {
|
|
1876
|
-
let t = L == null ? void 0 : L.map((U) => U == null ? void 0 : U.prop),
|
|
1877
|
-
g.label =
|
|
1873
|
+
let t = L == null ? void 0 : L.map((U) => U == null ? void 0 : U.prop), C = L == null ? void 0 : L.map((U) => U == null ? void 0 : U.label), p = L == null ? void 0 : L.map((U) => U == null ? void 0 : U.value), g = (v = q(L)) == null ? void 0 : v[0];
|
|
1874
|
+
g.label = C == null ? void 0 : C.join("·"), g.value = p == null ? void 0 : p.join(" "), g.value.trim() === "" && (g.value = ""), g.prop = t == null ? void 0 : t.join("·"), g.usingType = "parent", $e.value.unshift(g), $e.value = (W = $e.value) == null ? void 0 : W.map((U) => (t != null && t.find((A) => A === (U == null ? void 0 : U.prop)) && (U.isFormColHidden = !0), U));
|
|
1878
1875
|
}
|
|
1879
1876
|
}
|
|
1880
1877
|
}, Cn = () => {
|
|
@@ -1972,7 +1969,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1972
1969
|
return delete r.children, r;
|
|
1973
1970
|
}) : [];
|
|
1974
1971
|
}, ra = (e = !0, l, n) => {
|
|
1975
|
-
var y, D, _, $, b,
|
|
1972
|
+
var y, D, _, $, b, E, j, O, F, B, K, T, x, k, m, v, W, u, L, ae, t, C, p, g, U, A, ie, H, ue, te;
|
|
1976
1973
|
let a = fa((y = q(I.value)) == null ? void 0 : y.filter((M) => (M == null ? void 0 : M.label) !== "操作")), r, s = q(ne.value);
|
|
1977
1974
|
if (!He.value) {
|
|
1978
1975
|
kl.value = !1;
|
|
@@ -1992,7 +1989,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
1992
1989
|
} else
|
|
1993
1990
|
s = (_ = Qa(s, a)) == null ? void 0 : _.newContents, r = ($ = Qa(s, a)) == null ? void 0 : $.currentSelectContents;
|
|
1994
1991
|
const i = (b = o.itemData) == null ? void 0 : b.filter((M) => (M == null ? void 0 : M.key) === "childTree")[0];
|
|
1995
|
-
if (((
|
|
1992
|
+
if (((E = i == null ? void 0 : i.contents) == null ? void 0 : E.length) > 0) {
|
|
1996
1993
|
ul.value = "编辑";
|
|
1997
1994
|
const M = [];
|
|
1998
1995
|
s == null || s.forEach((Q, oe) => {
|
|
@@ -2059,10 +2056,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2059
2056
|
kl.value = !1;
|
|
2060
2057
|
let M = (t = o.itemData) == null ? void 0 : t.filter((Q) => (Q == null ? void 0 : Q.key) === "filterAllType");
|
|
2061
2058
|
if ((M == null ? void 0 : M.length) > 0) {
|
|
2062
|
-
let Q = M == null ? void 0 : M.map((ee) => ee == null ? void 0 : ee.value), oe = (g = (p = (
|
|
2059
|
+
let Q = M == null ? void 0 : M.map((ee) => ee == null ? void 0 : ee.value), oe = (g = (p = (C = Q.flat().find((ee) => {
|
|
2063
2060
|
var V;
|
|
2064
2061
|
return (V = ee == null ? void 0 : ee.content) == null ? void 0 : V.includes("@Num");
|
|
2065
|
-
})) == null ? void 0 :
|
|
2062
|
+
})) == null ? void 0 : C.content) == null ? void 0 : p.split(":")) == null ? void 0 : g[1];
|
|
2066
2063
|
((ie = (A = (U = Q.flat().find((ee) => {
|
|
2067
2064
|
var V;
|
|
2068
2065
|
return (V = ee == null ? void 0 : ee.content) == null ? void 0 : V.includes("@Type:");
|
|
@@ -2074,16 +2071,16 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2074
2071
|
I.value = [], ne.value = [], qe.value = [], Oa.value = [], il.value = [], Ol.value = [], Zl.value = [], Ll.value = [], $e.value = [], fl.value = [], w.value = null;
|
|
2075
2072
|
});
|
|
2076
2073
|
const Ya = async (e, l, n) => {
|
|
2077
|
-
var y, D, _, $, b,
|
|
2074
|
+
var y, D, _, $, b, E, j, O, F, B, K;
|
|
2078
2075
|
Sl.value = n == null ? void 0 : n.prop;
|
|
2079
2076
|
const a = q(o.itemData), r = a == null ? void 0 : a.map((T) => {
|
|
2080
2077
|
var x;
|
|
2081
2078
|
return (T == null ? void 0 : T.key) === "header" && ((x = T.contents) == null || x.map((k, m) => {
|
|
2082
|
-
var v, W, u, L, ae, t,
|
|
2079
|
+
var v, W, u, L, ae, t, C, p, g, U, A, ie, H, ue, te, M, Q, oe, X;
|
|
2083
2080
|
return k.type = k != null && k.type ? k.type : (L = (u = (W = (v = k == null ? void 0 : k.key) == null ? void 0 : v.split("$")) == null ? void 0 : W[1]) == null ? void 0 : u.split("(")) != null && L[0] ? (t = (ae = Ar) == null ? void 0 : ae.find((ee) => {
|
|
2084
2081
|
var V, he, Oe, me;
|
|
2085
2082
|
return (ee == null ? void 0 : ee.key) === ((me = (Oe = (he = (V = k == null ? void 0 : k.key) == null ? void 0 : V.split("$")) == null ? void 0 : he[1]) == null ? void 0 : Oe.split("(")) == null ? void 0 : me[0]);
|
|
2086
|
-
})) == null ? void 0 : t.value : "Input", k.options = k != null && k.options ? k.options : ((g = (p = (
|
|
2083
|
+
})) == null ? void 0 : t.value : "Input", k.options = k != null && k.options ? k.options : ((g = (p = (C = k == null ? void 0 : k.key) == null ? void 0 : C.split("$")) == null ? void 0 : p[1]) == null ? void 0 : g.length) > 0 ? (H = (ie = Or((A = (U = k == null ? void 0 : k.key) == null ? void 0 : U.split("$")) == null ? void 0 : A[1])) == null ? void 0 : ie.split(",")) == null ? void 0 : H.map((ee) => ({
|
|
2087
2084
|
label: ee,
|
|
2088
2085
|
value: ee
|
|
2089
2086
|
})) : [], (ue = k == null ? void 0 : k.key) != null && ue.includes("$") && (k.key = (M = (te = k == null ? void 0 : k.key) == null ? void 0 : te.split("$")) == null ? void 0 : M[0]), k.value = (Q = Object.values(l)) == null ? void 0 : Q[m], k.optionUrl = k != null && k.formMenuSelect && ((oe = k == null ? void 0 : k.formMenuSelect) == null ? void 0 : oe.length) > 0 ? {
|
|
@@ -2103,19 +2100,19 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2103
2100
|
var k, m, v;
|
|
2104
2101
|
return (T == null ? void 0 : T.label) === Sl.value || (x == null ? void 0 : x.toString()) === ((v = (m = (k = Sl.value) == null ? void 0 : k.split("a")) == null ? void 0 : m[1]) == null ? void 0 : v.toString());
|
|
2105
2102
|
});
|
|
2106
|
-
if ((O = (j = (
|
|
2103
|
+
if ((O = (j = (E = q(r)) == null ? void 0 : E.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : j.contents) == null || O.forEach((T) => {
|
|
2107
2104
|
var x, k, m, v, W;
|
|
2108
2105
|
d === "" && ((m = (k = (x = T == null ? void 0 : T.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : k[1]) != null && m.includes("[")) && (d = (W = (v = T == null ? void 0 : T.optionUrl) == null ? void 0 : v.groupSelect) == null ? void 0 : W[1]);
|
|
2109
2106
|
}), (F = c == null ? void 0 : c.optionUrl) != null && F.menuSelect) {
|
|
2110
2107
|
let T = await Cr(c), x;
|
|
2111
2108
|
if (T == null || T.forEach((k) => {
|
|
2112
|
-
var m, v, W, u, L, ae, t,
|
|
2113
|
-
d === ((v = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : v[1]) && ((L = (u = (W = c == null ? void 0 : c.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) != null && L.includes("[")) && ((g = q(k)) == null ? void 0 : g[(p = (
|
|
2109
|
+
var m, v, W, u, L, ae, t, C, p, g;
|
|
2110
|
+
d === ((v = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : v[1]) && ((L = (u = (W = c == null ? void 0 : c.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) != null && L.includes("[")) && ((g = q(k)) == null ? void 0 : g[(p = (C = (t = (ae = c == null ? void 0 : c.optionUrl) == null ? void 0 : ae.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : C.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (x = k);
|
|
2114
2111
|
}), x) {
|
|
2115
2112
|
let k = q(s);
|
|
2116
2113
|
k = k == null ? void 0 : k.map((v) => {
|
|
2117
|
-
var W, u, L, ae, t,
|
|
2118
|
-
return (x != null && x[v == null ? void 0 : v.label] || x != null && x[(ae = (L = (u = (W = v == null ? void 0 : v.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) == null ? void 0 : L.replaceAll("[", "")) == null ? void 0 : ae.replaceAll("]", "")]) && ((p = (
|
|
2114
|
+
var W, u, L, ae, t, C, p, g, U, A, ie;
|
|
2115
|
+
return (x != null && x[v == null ? void 0 : v.label] || x != null && x[(ae = (L = (u = (W = v == null ? void 0 : v.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) == null ? void 0 : L.replaceAll("[", "")) == null ? void 0 : ae.replaceAll("]", "")]) && ((p = (C = (t = v == null ? void 0 : v.optionUrl) == null ? void 0 : t.groupSelect) == null ? void 0 : C[1]) != null && p.includes("[")) && (v.value = (x == null ? void 0 : x[v == null ? void 0 : v.label]) || (x == null ? void 0 : x[(ie = (A = (U = (g = v == null ? void 0 : v.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : U[1]) == null ? void 0 : A.replaceAll("[", "")) == null ? void 0 : ie.replaceAll("]", "")])), v;
|
|
2119
2116
|
}), ne.value = (B = q(ne.value)) == null ? void 0 : B.map((v) => {
|
|
2120
2117
|
if ((v == null ? void 0 : v.id) === (l == null ? void 0 : l.id)) {
|
|
2121
2118
|
const W = {};
|
|
@@ -2129,9 +2126,9 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2129
2126
|
m = m == null ? void 0 : m.map((v) => {
|
|
2130
2127
|
var W, u, L, ae;
|
|
2131
2128
|
return (u = (W = v == null ? void 0 : v.optionUrl) == null ? void 0 : W.menuSelect) != null && u.some((t) => t == null ? void 0 : t.includes) && (v.optionUrl.menuSelect = (ae = (L = v == null ? void 0 : v.optionUrl) == null ? void 0 : L.menuSelect) == null ? void 0 : ae.map((t) => {
|
|
2132
|
-
var
|
|
2129
|
+
var C, p, g, U;
|
|
2133
2130
|
if (t != null && t.includes("[")) {
|
|
2134
|
-
let A = (p = (
|
|
2131
|
+
let A = (p = (C = t == null ? void 0 : t.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : C.split(":")) == null ? void 0 : p[1];
|
|
2135
2132
|
t = (U = (g = q(k)) == null ? void 0 : g.find((ie) => (ie == null ? void 0 : ie.label) === A)) == null ? void 0 : U.value;
|
|
2136
2133
|
}
|
|
2137
2134
|
return t;
|
|
@@ -2148,13 +2145,13 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2148
2145
|
}
|
|
2149
2146
|
}
|
|
2150
2147
|
}, Ln = async (e) => {
|
|
2151
|
-
var _, $, b,
|
|
2148
|
+
var _, $, b, E, j, O, F, B, K, T, x, k, m, v, W, u, L, ae;
|
|
2152
2149
|
if (!e) return;
|
|
2153
2150
|
He.value = e;
|
|
2154
2151
|
const l = q(o.itemData);
|
|
2155
2152
|
let n = l == null ? void 0 : l.map((t) => {
|
|
2156
|
-
var
|
|
2157
|
-
return (t == null ? void 0 : t.key) === "header" && ((
|
|
2153
|
+
var C;
|
|
2154
|
+
return (t == null ? void 0 : t.key) === "header" && ((C = t.contents) == null || C.map((p, g) => {
|
|
2158
2155
|
var U, A, ie, H, ue, te, M, Q, oe, X, ee, V, he, Oe, me, Ve, Ze, el, hl;
|
|
2159
2156
|
return p.type = p != null && p.type ? p.type : (H = (ie = (A = (U = p == null ? void 0 : p.key) == null ? void 0 : U.split("$")) == null ? void 0 : A[1]) == null ? void 0 : ie.split("(")) != null && H[0] ? (te = (ue = Ar) == null ? void 0 : ue.find((We) => {
|
|
2160
2157
|
var Cl, ml, Ge, yl;
|
|
@@ -2174,44 +2171,44 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2174
2171
|
label: "操作",
|
|
2175
2172
|
type: "operate"
|
|
2176
2173
|
}), a = a == null ? void 0 : a.map((t) => {
|
|
2177
|
-
var
|
|
2178
|
-
return t.value = t.value ?? ((
|
|
2174
|
+
var C;
|
|
2175
|
+
return t.value = t.value ?? ((C = r == null ? void 0 : r.find((p, g) => (p == null ? void 0 : p.prop) === (t == null ? void 0 : t.name))) == null ? void 0 : C.value), t;
|
|
2179
2176
|
}), !Vl.value) return;
|
|
2180
2177
|
let s = "";
|
|
2181
|
-
(b = Sl.value) != null && b.includes("·") && (Sl.value = (j = (
|
|
2182
|
-
let i = (B = (F = (O = q(n)) == null ? void 0 : O.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : B.find((t,
|
|
2178
|
+
(b = Sl.value) != null && b.includes("·") && (Sl.value = (j = (E = Sl.value) == null ? void 0 : E.split("·")) == null ? void 0 : j[0]);
|
|
2179
|
+
let i = (B = (F = (O = q(n)) == null ? void 0 : O.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : B.find((t, C) => {
|
|
2183
2180
|
var p, g, U;
|
|
2184
|
-
return (t == null ? void 0 : t.
|
|
2181
|
+
return (t == null ? void 0 : t.prop) === Sl.value || (C == null ? void 0 : C.toString()) === ((U = (g = (p = Sl.value) == null ? void 0 : p.split("a")) == null ? void 0 : g[1]) == null ? void 0 : U.toString());
|
|
2185
2182
|
}), d = (K = i == null ? void 0 : i.optionUrl) == null ? void 0 : K.menuSelect, c = !0;
|
|
2186
2183
|
(k = (x = (T = q(n)) == null ? void 0 : T.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : x.contents) == null || k.forEach((t) => {
|
|
2187
|
-
var
|
|
2188
|
-
c && ((g = (p = (
|
|
2184
|
+
var C, p, g, U, A, ie;
|
|
2185
|
+
c && ((g = (p = (C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.groupSelect) == null ? void 0 : p[1]) != null && g.includes("[")) && (s = (A = (U = t == null ? void 0 : t.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : A[1], JSON.stringify(d) === JSON.stringify((ie = t == null ? void 0 : t.optionUrl) == null ? void 0 : ie.menuSelect) && (c = !1));
|
|
2189
2186
|
});
|
|
2190
2187
|
let y = q(a);
|
|
2191
2188
|
y = y == null ? void 0 : y.map((t) => {
|
|
2192
|
-
var
|
|
2193
|
-
return (t == null ? void 0 : t.type) === "Select" && ((p = (
|
|
2189
|
+
var C, p;
|
|
2190
|
+
return (t == null ? void 0 : t.type) === "Select" && ((p = (C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.allSelectionContents) == null ? void 0 : p.length) > 0 && (t.optionUrl.contactValue = e), t.value = e == null ? void 0 : e[t == null ? void 0 : t.prop], t;
|
|
2194
2191
|
}), $e.value = q(y);
|
|
2195
2192
|
let D = (i == null ? void 0 : i.menuId) ?? ((W = (v = (m = $e.value) == null ? void 0 : m.find((t) => {
|
|
2196
|
-
var
|
|
2197
|
-
return (
|
|
2193
|
+
var C;
|
|
2194
|
+
return (C = t == null ? void 0 : t.optionUrl) == null ? void 0 : C.menuId;
|
|
2198
2195
|
})) == null ? void 0 : v.optionUrl) == null ? void 0 : W.menuId);
|
|
2199
2196
|
if ((u = i == null ? void 0 : i.optionUrl) != null && u.menuSelect && Vl.value || D) {
|
|
2200
|
-
let t = await Cr(i, D),
|
|
2197
|
+
let t = await Cr(i, D), C;
|
|
2201
2198
|
if ((L = i == null ? void 0 : i.optionUrl) == null || L.menuSelect, t == null || t.forEach((p) => {
|
|
2202
2199
|
var g, U, A, ie, H, ue, te, M, Q, oe, X, ee, V, he, Oe;
|
|
2203
|
-
if (s === ((U = (g = i == null ? void 0 : i.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : U[1]) && ((H = (ie = (A = i == null ? void 0 : i.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : ie[1]) != null && H.includes("[")) && ((oe = q(p)) == null ? void 0 : oe[(Q = (M = (te = (ue = i == null ? void 0 : i.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : te[1]) == null ? void 0 : M.replaceAll("[", "")) == null ? void 0 : Q.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (
|
|
2200
|
+
if (s === ((U = (g = i == null ? void 0 : i.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : U[1]) && ((H = (ie = (A = i == null ? void 0 : i.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : ie[1]) != null && H.includes("[")) && ((oe = q(p)) == null ? void 0 : oe[(Q = (M = (te = (ue = i == null ? void 0 : i.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : te[1]) == null ? void 0 : M.replaceAll("[", "")) == null ? void 0 : Q.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (C = p), D) {
|
|
2204
2201
|
let me = (ee = (X = $e.value) == null ? void 0 : X.find((Ze) => {
|
|
2205
2202
|
var el;
|
|
2206
2203
|
return (i == null ? void 0 : i.menuId) === ((el = Ze == null ? void 0 : Ze.optionUrl) == null ? void 0 : el.menuId);
|
|
2207
2204
|
})) == null ? void 0 : ee.prop, Ve = e[me];
|
|
2208
|
-
me != null && me.includes("·") && (Ve = (he = (V = e[me]) == null ? void 0 : V.split(" ")) == null ? void 0 : he[0], me = (Oe = me == null ? void 0 : me.split("·")) == null ? void 0 : Oe[0]), p[me] === Ve && (
|
|
2205
|
+
me != null && me.includes("·") && (Ve = (he = (V = e[me]) == null ? void 0 : V.split(" ")) == null ? void 0 : he[0], me = (Oe = me == null ? void 0 : me.split("·")) == null ? void 0 : Oe[0]), p[me] === Ve && (C = p);
|
|
2209
2206
|
}
|
|
2210
|
-
}),
|
|
2207
|
+
}), C) {
|
|
2211
2208
|
let p = q(a);
|
|
2212
2209
|
p = p == null ? void 0 : p.map((A) => {
|
|
2213
2210
|
var ie, H, ue, te, M, Q, oe, X, ee, V, he, Oe, me, Ve, Ze, el, hl;
|
|
2214
|
-
return (
|
|
2211
|
+
return (C != null && C[A == null ? void 0 : A.prop] || C != null && C[(te = (ue = (H = (ie = A == null ? void 0 : A.optionUrl) == null ? void 0 : ie.groupSelect) == null ? void 0 : H[1]) == null ? void 0 : ue.replaceAll("[", "")) == null ? void 0 : te.replaceAll("]", "")]) && ((oe = (Q = (M = A == null ? void 0 : A.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : Q[1]) != null && oe.includes("[")) && (A != null && A.relatedValueId) && (A.value = (C == null ? void 0 : C[A == null ? void 0 : A.prop]) || (C == null ? void 0 : C[(he = (V = (ee = (X = A == null ? void 0 : A.optionUrl) == null ? void 0 : X.groupSelect) == null ? void 0 : ee[1]) == null ? void 0 : V.replaceAll("[", "")) == null ? void 0 : he.replaceAll("]", "")])), D && (C != null && C[A == null ? void 0 : A.prop]) && (A != null && A.relatedValueId) && ul.value === "新增" ? A.value = (C == null ? void 0 : C[A == null ? void 0 : A.prop]) || (C == null ? void 0 : C[(Ze = (Ve = (me = (Oe = A == null ? void 0 : A.optionUrl) == null ? void 0 : Oe.groupSelect) == null ? void 0 : me[1]) == null ? void 0 : Ve.replaceAll("[", "")) == null ? void 0 : Ze.replaceAll("]", "")]) : A.value = (hl = (el = $e.value) == null ? void 0 : el.find((We) => (We == null ? void 0 : We.prop) === (A == null ? void 0 : A.prop))) == null ? void 0 : hl.value, A;
|
|
2215
2212
|
}), $e.value = q(p);
|
|
2216
2213
|
let g = q(p);
|
|
2217
2214
|
g = g == null ? void 0 : g.map((A) => {
|
|
@@ -2254,7 +2251,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2254
2251
|
He.value = l, bl.value = "", Jl.value = (r = ne.value) == null ? void 0 : r.length, Ll.value = (s = El.value) == null ? void 0 : s.filter((y) => (y == null ? void 0 : y.label) !== "新增");
|
|
2255
2252
|
const c = (d = (i = qe.value) == null ? void 0 : i.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : d.map((y) => {
|
|
2256
2253
|
var _, $, b;
|
|
2257
|
-
const D = ($ = (_ = il.value) == null ? void 0 : _.find((
|
|
2254
|
+
const D = ($ = (_ = il.value) == null ? void 0 : _.find((E) => (E == null ? void 0 : E.label) === (y == null ? void 0 : y.label))) == null ? void 0 : $.multiple;
|
|
2258
2255
|
return wn(y), {
|
|
2259
2256
|
...y,
|
|
2260
2257
|
contents: (y == null ? void 0 : y.options) ?? [],
|
|
@@ -2309,12 +2306,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2309
2306
|
let a = [];
|
|
2310
2307
|
return a = Va(e, l == null ? void 0 : l.contents, 0), a;
|
|
2311
2308
|
}, lr = (e, l) => {
|
|
2312
|
-
var b,
|
|
2309
|
+
var b, E, j, O, F, B, K, T, x, k, m, v, W, u, L, ae, t, C, p, g, U, A, ie, H, ue, te, M, Q, oe, X, ee, V, he, Oe, me, Ve, Ze, el, hl, We, Cl, ml, Ge, yl, nr, ur, or, sr, ir, cr, dr, tr;
|
|
2313
2310
|
const n = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "header");
|
|
2314
2311
|
e == null || e.filter((f) => (f == null ? void 0 : f.key) === "tableIndexColumn")[0];
|
|
2315
2312
|
const a = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "childTree")[0];
|
|
2316
2313
|
let r = !0;
|
|
2317
|
-
if ((j = (
|
|
2314
|
+
if ((j = (E = (b = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "filterAllType")) == null ? void 0 : b.value) == null ? void 0 : E.find((f) => (f == null ? void 0 : f.value) === "onPamButtonContents")) != null && j.content) {
|
|
2318
2315
|
let f = (B = (F = (O = e == null ? void 0 : e.find((Y) => (Y == null ? void 0 : Y.key) === "filterAllType")) == null ? void 0 : O.value) == null ? void 0 : F.find((Y) => (Y == null ? void 0 : Y.value) === "onPamButtonContents")) == null ? void 0 : B.content;
|
|
2319
2316
|
f = (K = f == null ? void 0 : f.split(":")) == null ? void 0 : K[1], f = (T = f.slice(1, (f == null ? void 0 : f.length) - 1)) == null ? void 0 : T.split(","), r = !!(f != null && f.find((Y) => Y === "操作"));
|
|
2320
2317
|
}
|
|
@@ -2382,7 +2379,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2382
2379
|
});
|
|
2383
2380
|
});
|
|
2384
2381
|
}
|
|
2385
|
-
I.value = Tr(f), Oa.value = Tr(f), le.value = (ae = I.value) == null ? void 0 : ae.map((z) => z == null ? void 0 : z.label), ve.value = (t = I.value) == null ? void 0 : t.every((z) => z == null ? void 0 : z.filterable), xe.value = (
|
|
2382
|
+
I.value = Tr(f), Oa.value = Tr(f), le.value = (ae = I.value) == null ? void 0 : ae.map((z) => z == null ? void 0 : z.label), ve.value = (t = I.value) == null ? void 0 : t.every((z) => z == null ? void 0 : z.filterable), xe.value = (C = I.value) == null ? void 0 : C.every((z) => z == null ? void 0 : z.operable), Dl.value = (p = I.value) == null ? void 0 : p.every((z) => z == null ? void 0 : z.sortable);
|
|
2386
2383
|
let Y = (U = (g = nu(I.value)) == null ? void 0 : g.filter((z) => (z == null ? void 0 : z.type) !== "operate")) == null ? void 0 : U.map((z, h) => ({
|
|
2387
2384
|
prop: (z == null ? void 0 : z.prop) ?? "a" + h,
|
|
2388
2385
|
column: z.label
|
|
@@ -2521,14 +2518,14 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2521
2518
|
var a;
|
|
2522
2519
|
Ya(n, e, l), He.value = q(e), bl.value = e == null ? void 0 : e.id, Jl.value = (a = ne.value) == null ? void 0 : a.length, ul.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", ra(!1);
|
|
2523
2520
|
}, Qe = (e) => {
|
|
2524
|
-
var c, y, D, _, $, b,
|
|
2521
|
+
var c, y, D, _, $, b, E, j, O, F;
|
|
2525
2522
|
const { row: l, column: n, item: a, slotData: r } = e;
|
|
2526
|
-
let s = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((y = (c = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : c[0]) == null ? void 0 : y.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((_ = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((b = ($ = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : $[0]) == null ? void 0 : b.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((O = (j = l == null ? void 0 : l[(
|
|
2523
|
+
let s = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((y = (c = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : c[0]) == null ? void 0 : y.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((_ = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((b = ($ = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : $[0]) == null ? void 0 : b.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((O = (j = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : j[0]) == null ? void 0 : O.contents) ?? (l == null ? void 0 : l[(F = a == null ? void 0 : a.child) == null ? void 0 : F.prop]), d = Array.isArray(s) && !(s != null && s.every((B) => typeof B == "string" || typeof B == "number")) ? "查看" : s;
|
|
2527
2524
|
return d = Array.isArray(d) ? d.join(",") : d, d;
|
|
2528
2525
|
}, Bn = (e) => {
|
|
2529
|
-
var y, D, _, $, b,
|
|
2526
|
+
var y, D, _, $, b, E, j, O, F, B;
|
|
2530
2527
|
const { row: l, column: n, item: a, slotData: r } = e;
|
|
2531
|
-
let s = l != null && l[n == null ? void 0 : n.prop] ? ((D = (y = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : y[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : (($ = (_ = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : _[0]) == null ? void 0 : $.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((
|
|
2528
|
+
let s = l != null && l[n == null ? void 0 : n.prop] ? ((D = (y = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : y[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : (($ = (_ = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : _[0]) == null ? void 0 : $.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((E = (b = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : b[0]) == null ? void 0 : E.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((F = (O = l == null ? void 0 : l[(j = a == null ? void 0 : a.child) == null ? void 0 : j.prop]) == null ? void 0 : O[0]) == null ? void 0 : F.contents) ?? (l == null ? void 0 : l[(B = a == null ? void 0 : a.child) == null ? void 0 : B.prop]);
|
|
2532
2529
|
const d = Array.isArray(s) && !(s != null && s.every((K) => typeof K == "string" || typeof K == "number")), c = Array.isArray(s) && (s == null ? void 0 : s.find((K) => K == null ? void 0 : K.url));
|
|
2533
2530
|
return d && c;
|
|
2534
2531
|
}, Fn = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
|
|
@@ -2588,14 +2585,14 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2588
2585
|
onClickButton: Ua
|
|
2589
2586
|
}, Gn({
|
|
2590
2587
|
headerButton: Z((b) => {
|
|
2591
|
-
var
|
|
2588
|
+
var E, j;
|
|
2592
2589
|
return [
|
|
2593
2590
|
N.showHeader ? (re(), Ne(Nu, {
|
|
2594
2591
|
key: 0,
|
|
2595
2592
|
pageLayout: N.pageLayout,
|
|
2596
2593
|
lockingPage: dl(ya) === dl(_e),
|
|
2597
2594
|
filterValues: Ra.value,
|
|
2598
|
-
selectNums: (
|
|
2595
|
+
selectNums: (E = fl.value) == null ? void 0 : E.length,
|
|
2599
2596
|
dataNums: (j = ne.value) == null ? void 0 : j.length,
|
|
2600
2597
|
compName: N.compName,
|
|
2601
2598
|
isDevMode: N.isDevMode,
|
|
@@ -2610,10 +2607,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2610
2607
|
];
|
|
2611
2608
|
}),
|
|
2612
2609
|
viewport: Z(() => {
|
|
2613
|
-
var b,
|
|
2610
|
+
var b, E, j, O;
|
|
2614
2611
|
return [
|
|
2615
2612
|
((b = ne.value) == null ? void 0 : b.length) > 0 && N.allowOperate && je.value ? (re(), Ae("div", eo, [
|
|
2616
|
-
(
|
|
2613
|
+
(E = Ee.value) != null && E.includes("read") && ((j = Ee.value) != null && j.includes("edit")) && ((O = Ol.value) != null && O.some((F) => (F == null ? void 0 : F.label) === "编辑")) && !Aa.value && dl(ya) !== dl(_e) ? (re(), Ae("span", {
|
|
2617
2614
|
key: 0,
|
|
2618
2615
|
title: "编辑表格",
|
|
2619
2616
|
onClick: ar
|
|
@@ -2635,11 +2632,11 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2635
2632
|
])) : Le("", !0)
|
|
2636
2633
|
];
|
|
2637
2634
|
}),
|
|
2638
|
-
rowCreate: Z(({ row: b, index:
|
|
2635
|
+
rowCreate: Z(({ row: b, index: E }) => [
|
|
2639
2636
|
ke("span", {
|
|
2640
2637
|
title: "新增",
|
|
2641
2638
|
class: "row-create-wrap",
|
|
2642
|
-
onClick: (j) => Nn(b,
|
|
2639
|
+
onClick: (j) => Nn(b, E)
|
|
2643
2640
|
}, [
|
|
2644
2641
|
de(n, {
|
|
2645
2642
|
name: "rowCreate",
|
|
@@ -2725,10 +2722,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2725
2722
|
})
|
|
2726
2723
|
]),
|
|
2727
2724
|
default: Z(() => {
|
|
2728
|
-
var
|
|
2725
|
+
var E;
|
|
2729
2726
|
return [
|
|
2730
2727
|
ke("div", uo, [
|
|
2731
|
-
(re(!0), Ae(xl, null, Ul((
|
|
2728
|
+
(re(!0), Ae(xl, null, Ul((E = Object.keys(b)) == null ? void 0 : E.filter((j) => {
|
|
2732
2729
|
var O;
|
|
2733
2730
|
return (O = sl.value) == null ? void 0 : O.find((F) => (F == null ? void 0 : F.value) === j);
|
|
2734
2731
|
}), (j) => {
|
|
@@ -2763,7 +2760,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2763
2760
|
})
|
|
2764
2761
|
]),
|
|
2765
2762
|
content: Z((b) => {
|
|
2766
|
-
var
|
|
2763
|
+
var E, j, O, F, B, K, T, x, k, m, v, W, u, L, ae, t, C, p;
|
|
2767
2764
|
return [
|
|
2768
2765
|
Bn(b) ? (re(), Ne(a, {
|
|
2769
2766
|
key: 0,
|
|
@@ -2798,9 +2795,9 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2798
2795
|
}, 1024)) : (re(), Ae("div", {
|
|
2799
2796
|
key: 1,
|
|
2800
2797
|
style: Bl({
|
|
2801
|
-
color: !Array.isArray(Qe(b)) && ((j = (
|
|
2798
|
+
color: !Array.isArray(Qe(b)) && ((j = (E = Qe(b)) == null ? void 0 : E.toString()) != null && j.includes(".txt") || (F = (O = Qe(b)) == null ? void 0 : O.toString()) != null && F.includes(".cpt") || (K = (B = Qe(b)) == null ? void 0 : B.toString()) != null && K.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
|
|
2802
2799
|
textDecoration: !Array.isArray(Qe(b)) && ((x = (T = Qe(b)) == null ? void 0 : T.toString()) != null && x.includes(".txt") || (m = (k = Qe(b)) == null ? void 0 : k.toString()) != null && m.includes(".cpt") || (W = (v = Qe(b)) == null ? void 0 : v.toString()) != null && W.includes(".cyd")) ? "underline" : "",
|
|
2803
|
-
cursor: !Array.isArray(Qe(b)) && ((L = (u = Qe(b)) == null ? void 0 : u.toString()) != null && L.includes(".txt") || (t = (ae = Qe(b)) == null ? void 0 : ae.toString()) != null && t.includes(".cpt") || (p = (
|
|
2800
|
+
cursor: !Array.isArray(Qe(b)) && ((L = (u = Qe(b)) == null ? void 0 : u.toString()) != null && L.includes(".txt") || (t = (ae = Qe(b)) == null ? void 0 : ae.toString()) != null && t.includes(".cpt") || (p = (C = Qe(b)) == null ? void 0 : C.toString()) != null && p.includes(".cyd")) ? "pointer" : "",
|
|
2804
2801
|
marginLeft: (b == null ? void 0 : b.colIndex) === 0 ? `${((b == null ? void 0 : b.level) ?? 0) * 20}px` : 0
|
|
2805
2802
|
}),
|
|
2806
2803
|
onClick: (g) => Hr(Qe(b))
|
|
@@ -2827,15 +2824,15 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2827
2824
|
]),
|
|
2828
2825
|
default: Z(() => [
|
|
2829
2826
|
ke("div", Iu, [
|
|
2830
|
-
(re(!0), Ae(xl, null, Ul(tn(Ol.value, b), (
|
|
2827
|
+
(re(!0), Ae(xl, null, Ul(tn(Ol.value, b), (E, j) => (re(), Ae("div", {
|
|
2831
2828
|
class: "menu-config-item",
|
|
2832
2829
|
key: j,
|
|
2833
|
-
onClick: hr((O) => Ua(
|
|
2830
|
+
onClick: hr((O) => Ua(E == null ? void 0 : E.label, b, { extra: E }), ["stop"])
|
|
2834
2831
|
}, [
|
|
2835
2832
|
ke("div", {
|
|
2836
|
-
style: Bl({ color:
|
|
2833
|
+
style: Bl({ color: E == null ? void 0 : E.textColor }),
|
|
2837
2834
|
class: "extra-button-label"
|
|
2838
|
-
}, Pe(
|
|
2835
|
+
}, Pe(E == null ? void 0 : E.label), 5)
|
|
2839
2836
|
], 8, Vu))), 128))
|
|
2840
2837
|
])
|
|
2841
2838
|
]),
|
|
@@ -2851,7 +2848,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
2851
2848
|
lockingPage: dl(ya) === dl(_e),
|
|
2852
2849
|
buttons: b.buttons,
|
|
2853
2850
|
selectTableItems: fl.value,
|
|
2854
|
-
onButtonClick: l[2] || (l[2] = (
|
|
2851
|
+
onButtonClick: l[2] || (l[2] = (E) => Ua(E, "", {}))
|
|
2855
2852
|
}, null, 8, ["lockingPage", "buttons", "selectTableItems"]), [
|
|
2856
2853
|
[gr, ce.value]
|
|
2857
2854
|
]),
|
|
@@ -3004,7 +3001,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
|
|
|
3004
3001
|
]);
|
|
3005
3002
|
};
|
|
3006
3003
|
}
|
|
3007
|
-
}, wo = /* @__PURE__ */ Da(bo, [["__scopeId", "data-v-
|
|
3004
|
+
}, wo = /* @__PURE__ */ Da(bo, [["__scopeId", "data-v-7b5f2213"]]);
|
|
3008
3005
|
export {
|
|
3009
3006
|
Fu as a,
|
|
3010
3007
|
Or as f,
|