ss-component-new 1.2.26 → 1.2.28
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-j7rSXeZy.js → MTLLoader-BreJsr54.js} +1 -1
- package/dist/{MTLLoader-CSavblQS.cjs → MTLLoader-Cqv49Ps8.cjs} +1 -1
- package/dist/{OrbitControls-BYxGl2XB.js → OrbitControls-BCu-cP7k.js} +1 -1
- package/dist/{OrbitControls-dRON011u.cjs → OrbitControls-C956u7BP.cjs} +1 -1
- package/dist/{animationData-rmZ0EGb8.cjs → animationData-C3-BiUgV.cjs} +1 -1
- package/dist/{animationData-Br4BCkiq.js → animationData-CMjNjOqc.js} +4 -4
- package/dist/{array-CeASBMWY.cjs → array-0u9Sf3UC.cjs} +1 -1
- package/dist/{array-Cx8FbegO.js → array-BGIM4b6g.js} +2 -2
- package/dist/{dataUtil-RzgUhlgJ.cjs → dataUtil-BFjWNDM1.cjs} +1 -1
- package/dist/{dataUtil-CJxHUail.js → dataUtil-D9l7-XhR.js} +2 -2
- package/dist/{fileUtil-BM6WhafY.cjs → fileUtil-BFtJHTM0.cjs} +1 -1
- package/dist/{fileUtil-BVzW5lTY.js → fileUtil-D7XVXEhb.js} +1 -1
- package/dist/{iconfont-J7S-v_zE.js → iconfont-B9Cj3DQM.js} +2 -2
- package/dist/{iconfont-Dsx_JtWY.cjs → iconfont-BDfcbq2v.cjs} +1 -1
- package/dist/icons/svg//344/272/272/345/203/217.svg +1 -0
- package/dist/{index-ClzEamlP.js → index-3QB55tXZ.js} +7 -7
- package/dist/{index-BGm3sgAn.cjs → index-B33wtiif.cjs} +1 -1
- package/dist/{index-D7wMQSEM.js → index-B8bpiPXB.js} +1 -1
- package/dist/{index-BvgHldVC.cjs → index-B9TlIok8.cjs} +12 -12
- package/dist/{index-DbHiWNBM.cjs → index-BWxbWhC9.cjs} +1 -1
- package/dist/{index-BoTEVRWS.js → index-BZwQB2HO.js} +5 -5
- package/dist/{index-DRSU72SE.js → index-BaE0DPgC.js} +66 -59
- package/dist/{index-DN8avrWv.cjs → index-BccOOMaP.cjs} +1 -1
- package/dist/index-BgHY8wmn.cjs +1 -0
- package/dist/{index-DpxXt1oz.js → index-Boazv8yC.js} +2 -2
- package/dist/{index-D5YeHxKp.js → index-BqRVuEsE.js} +6 -6
- package/dist/{index-CyNvD7fs.js → index-BwLaQntz.js} +1 -1
- package/dist/{index-Dr7mB3zJ.js → index-C-8LROmP.js} +2 -2
- package/dist/{index-DcT0aYIX.js → index-C1lZkQG-.js} +423 -423
- package/dist/{index-DWBL8V_4.js → index-C5UpEVah.js} +2 -2
- package/dist/index-C5fTUrKx.js +573 -0
- package/dist/{index-BH-cEIyF.cjs → index-C9_Cxm8G.cjs} +1 -1
- package/dist/{index-D5fqqSXr.cjs → index-CBFF2bsB.cjs} +1 -1
- package/dist/{index-YhB_cMji.cjs → index-CC9RkSBT.cjs} +1 -1
- package/dist/{index-BJkToJcC.cjs → index-CK5VdzmO.cjs} +1 -1
- package/dist/{index-CeWLT1YO.js → index-CKY0sj_X.js} +3 -3
- package/dist/{index-Cm99VII_.js → index-CMwwUi6o.js} +6 -6
- package/dist/{index-DjMSxB8D.cjs → index-CP7b7BrB.cjs} +1 -1
- package/dist/{index-BU5WJczo.js → index-CZu3TggJ.js} +1 -1
- package/dist/{index-Bp0GMpLC.cjs → index-C_cWjavY.cjs} +1 -1
- package/dist/{index-DVv2nM9_.cjs → index-Cd9j5j41.cjs} +1 -1
- package/dist/{index-B7l9bX5c.cjs → index-Cwh5m4lg.cjs} +1 -1
- package/dist/index-D0XPyuy4.cjs +1 -0
- package/dist/{index-lw6M4N-Q.cjs → index-D3TgRd-7.cjs} +1 -1
- package/dist/{index-Ie0BUTFu.js → index-D5Dtcn-_.js} +6 -6
- package/dist/{index-Bp5zOMHT.cjs → index-DE-uHAMH.cjs} +1 -1
- package/dist/{index-T2VihBuZ.js → index-DHOcRi3S.js} +6 -6
- package/dist/{index-CMIII30g.cjs → index-DMyPjpxO.cjs} +1 -1
- package/dist/{index-BvB9p0W4.js → index-DR7aNxVH.js} +4 -4
- package/dist/{index-0dw7iEtO.cjs → index-DVqfroe6.cjs} +1 -1
- package/dist/{index-ggXXcZCO.js → index-DiTYB-a4.js} +63 -58
- package/dist/index-DnFxL5wb.cjs +1 -0
- package/dist/{index-CaGluCnk.js → index-DqR3IwgZ.js} +12 -12
- package/dist/{index-zAZNzNG-.js → index-DsCD1neC.js} +2 -2
- package/dist/{index-CNxiv6y5.js → index-Dx2X9pR1.js} +43 -43
- package/dist/{index-C2B83Ywj.cjs → index-GGokR_Lx.cjs} +1 -1
- package/dist/{index-7pDDKkwc.js → index-HduGypr9.js} +34 -34
- package/dist/index-LcnC2GQ4.cjs +1 -0
- package/dist/{index-DoWGbQss.js → index-OTxJnh9Z.js} +153 -153
- package/dist/{index-DodooTli.js → index-Rr9ZBYig.js} +2 -2
- package/dist/{index-BEfXSiWp.js → index-Sa2hQZ0h.js} +2 -2
- package/dist/{index-BkcjJQlg.cjs → index-TKouySTA.cjs} +1 -1
- package/dist/{index-veEr0Ju4.js → index-gPnrvvE9.js} +1324 -1321
- package/dist/{index-BPxe8bKe.js → index-gXbhagnF.js} +3 -3
- package/dist/{index-CAPstY_B.cjs → index-mpoVA-DC.cjs} +1 -1
- package/dist/{index-C9GfFRyr.cjs → index-uIVtG4RY.cjs} +1 -1
- package/dist/index-wQJN1jpI.js +2466 -0
- package/dist/index-zLkhy4JK.cjs +1 -0
- package/dist/{index-DFbvbOsE.js → index-zZ9bfGNx.js} +1 -1
- package/dist/{index-DMHh2MZZ.cjs → index-znR89ub7.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DGl2lQmW.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BWh0GUiI.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-TDoJ17os.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BjBzi9R7.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BQiH2RRX.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BwjCaKYV.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Dqpyi0E8.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-D21h7jT_.cjs +37 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DZGhek9_.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-PE_6dfIO.js} +12719 -12591
- package/dist/{index.vue_vue_type_style_index_1_lang-BHt4rvMd.js → index.vue_vue_type_style_index_1_lang-9ANlnWKt.js} +5 -5
- package/dist/index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs +32 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-C2PJ2fvM.cjs → index.vue_vue_type_style_index_1_lang-D4RvHwPS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-WD8HOZyf.js → index.vue_vue_type_style_index_1_lang-DwvuVXW6.js} +2580 -2471
- package/dist/{isString-BbPmUYHG.js → isString-BuBBWjRr.js} +1 -1
- package/dist/{main-DWa3MZxf.js → main-DpLQlLK2.js} +5 -5
- package/dist/{main-DlDkQh0n.cjs → main-Mx9r7ydp.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CBsLcTcX.js → threeModel-CZ-qFwwk.js} +5 -5
- package/dist/{threeModel-Dt9Ounip.cjs → threeModel-DTwQnnAO.cjs} +1 -1
- package/dist/{threePreview-DSMFTIuC.cjs → threePreview-CUGoEzKf.cjs} +1 -1
- package/dist/{threePreview-D99A_IHZ.js → threePreview-DutKTPWH.js} +4 -4
- package/dist/{threeSceneView-BD22yXw4.js → threeSceneView-CzgWYHBw.js} +11 -11
- package/dist/{threeSceneView-Dv2uGsTN.cjs → threeSceneView-f1V-z4jr.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CpBphI9E.js → threeSceneViewForCPMPIP-2sXIw3I1.js} +61 -61
- package/dist/{threeSceneViewForCPMPIP-DfaTaroP.cjs → threeSceneViewForCPMPIP-CojHDVHC.cjs} +1 -1
- package/dist/{threeTrackPathView-BGePzJh4.cjs → threeTrackPathView-BGHiOyJo.cjs} +1 -1
- package/dist/{threeTrackPathView-bFuXaesk.js → threeTrackPathView-DA4_8jas.js} +6 -6
- package/dist/{threeViewerHost-gGHqJpTR.js → threeViewerHost-BNObp9oA.js} +17 -17
- package/dist/{threeViewerHost-bQqnJLh9.cjs → threeViewerHost-D3WDKrIQ.cjs} +1 -1
- package/dist/{urdfTree-nXEMcLFV.cjs → urdfTree-CWStzmk2.cjs} +1 -1
- package/dist/{urdfTree-B2Zs54qS.js → urdfTree-CnkPddyT.js} +1 -1
- package/dist/{workpieceTreePanel-CXD_XizT.js → workpieceTreePanel-BvhFt3Xw.js} +5 -5
- package/dist/{workpieceTreePanel-Brforhya.cjs → workpieceTreePanel-DXyb_Wnw.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg//344/272/272/345/203/217.svg +1 -0
- package/dist/index-B3l8CoGZ.js +0 -2384
- package/dist/index-BRAUJGR3.cjs +0 -1
- package/dist/index-BjRAas3a.cjs +0 -1
- package/dist/index-Cf9NTS7v.cjs +0 -1
- package/dist/index-D3x3jleA.js +0 -654
- package/dist/index-DWTsFx-2.cjs +0 -1
- package/dist/index-Dc8TgzRR.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BKfBwnMQ.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_1_lang-f2wxl9Ai.cjs +0 -32
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ref as X, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Xa, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Ha, reactive as Zl, inject as Hr, provide as Qr, onBeforeUnmount as Yr, computed as Ma, onUnmounted as Zr, createSlots as Ir } from "vue";
|
|
2
|
-
import { by as Vr, ay as en, c as q, E as $e,
|
|
3
|
-
import { d as Na, aO as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { by as Vr, ay as en, c as q, E as $e, cb as ya, g as _l, p as hl, s as Ul, u as ln, bI as pa, e as Ka, b as yl, bK as an, d as rn, ce as nn } from "./index-HduGypr9.js";
|
|
3
|
+
import { d as Na, aO as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js";
|
|
4
|
+
import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-gPnrvvE9.js";
|
|
5
|
+
import { b as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-BNObp9oA.js";
|
|
6
|
+
import { aE as Kl, ay as gn, j as al, k as hn, i as yn, u as vn, aD as bn, a as Sn, aT as Fa, aU as wa, aV as kn, aW as Tn, l as Il, E as za, aB as Ja, aX as Wa, aM as mn, aY as An } from "./index.vue_vue_type_style_index_1_lang-DwvuVXW6.js";
|
|
7
7
|
import { r as Un, u as Nl, w as _n } from "./xlsx-ByPOQ6N_.js";
|
|
8
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
8
|
+
import "./index.vue_vue_type_style_index_1_lang-9ANlnWKt.js";
|
|
9
9
|
import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { s as Vl } from "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { i as Ga } from "./isString-
|
|
10
|
+
import { s as Vl } from "./index-zZ9bfGNx.js";
|
|
11
|
+
import "./index-BZwQB2HO.js";
|
|
12
|
+
import { i as Ga } from "./isString-BuBBWjRr.js";
|
|
13
13
|
const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -74,7 +74,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
74
74
|
}, 8, ["visible", "title", "placement", "width"]);
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
}, Dn = { class: "extra-button-content" }, Cn = { class: "table-operator-wrap" },
|
|
77
|
+
}, Dn = { class: "extra-button-content" }, Cn = { class: "table-operator-wrap" }, En = { class: "extra-button-filter" }, xn = { class: "form-content-value" }, jn = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "extra-header"
|
|
80
80
|
}, Ln = {
|
|
@@ -194,13 +194,13 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
194
194
|
class: Xa(N.compName ? "table-name-wrap" : ""),
|
|
195
195
|
style: Ol({
|
|
196
196
|
background: (B == null ? void 0 : B.level) > 1 ? "transparent" : "var(--ssgroup-background)",
|
|
197
|
-
paddingLeft: (B == null ? void 0 : B.level)
|
|
197
|
+
paddingLeft: ((B == null ? void 0 : B.level) - 1) * 12 + "px",
|
|
198
198
|
fontWeight: 600 - ((B == null ? void 0 : B.level) - 1) * 100 >= 400 ? 600 - ((B == null ? void 0 : B.level) - 1) * 100 : 400,
|
|
199
199
|
fontSize: 17 - (B == null ? void 0 : B.level) >= 14 ? 17 - (B == null ? void 0 : B.level) + "px" : "14px"
|
|
200
200
|
})
|
|
201
201
|
}, je(N.compName), 7),
|
|
202
202
|
be("div", Cn, [
|
|
203
|
-
be("div",
|
|
203
|
+
be("div", En, [
|
|
204
204
|
te(On, {
|
|
205
205
|
title: "",
|
|
206
206
|
width: 800,
|
|
@@ -251,7 +251,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
251
251
|
];
|
|
252
252
|
}),
|
|
253
253
|
content: re(() => [
|
|
254
|
-
be("div",
|
|
254
|
+
be("div", xn, [
|
|
255
255
|
(ie(), Fe(la, {
|
|
256
256
|
rowContents: ae.value,
|
|
257
257
|
buttonValue: ge.value,
|
|
@@ -348,7 +348,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
348
348
|
]);
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
}, Mn = /* @__PURE__ */ aa(Bn, [["__scopeId", "data-v-
|
|
351
|
+
}, Mn = /* @__PURE__ */ aa(Bn, [["__scopeId", "data-v-b0b94ddf"]]), Kn = /* @__PURE__ */ Ha({
|
|
352
352
|
__name: "batch",
|
|
353
353
|
props: {
|
|
354
354
|
lockingPage: Boolean,
|
|
@@ -659,7 +659,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
659
659
|
X();
|
|
660
660
|
const ra = X(!0), kl = X(0), va = X(!0), qe = X(""), Ze = X(!1), Ia = X({
|
|
661
661
|
label: "查看三维模型"
|
|
662
|
-
}), Jl = X(!1), na = X(), We = X([]), cl = X([]), Wl = X(!1),
|
|
662
|
+
}), Jl = X(!1), na = X(), We = X([]), cl = X([]), Wl = X(!1), El = X([]), Tl = X([]), dl = X([]), De = X([]), Xe = X(), Le = X(), Va = Fn(hl), Gl = X(), sa = X(0), Rl = Rn(hl), { selectIndex: er, selectMenu: ll, selectTitle: ua } = Ul(Rl), { selectString: pl } = Ul(Va), lr = ln(hl), { loginUserInfo: Ae } = Ul(lr), ar = X(720), fl = X(!1), ql = X(!1), He = X([]), gl = X(), xl = X(!0), ba = X(!0), Xl = X([]), rr = Hr("contentRef");
|
|
663
663
|
Qr("contentRef", rr), Ge(() => {
|
|
664
664
|
var e;
|
|
665
665
|
return (e = Y.value) == null ? void 0 : e.length;
|
|
@@ -668,9 +668,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
668
668
|
}), Ge(
|
|
669
669
|
() => Cl.value,
|
|
670
670
|
async () => {
|
|
671
|
-
var u, o, t, c, p, v, C, f, m,
|
|
671
|
+
var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S, h;
|
|
672
672
|
if (((u = Cl.value) == null ? void 0 : u.length) === 0 || !((o = i == null ? void 0 : i.itemData) != null && o.find((T) => (T == null ? void 0 : T.key) === "columnPath")) || !((t = i == null ? void 0 : i.itemData) != null && t.find((T) => (T == null ? void 0 : T.key) === "pageColumn"))) return;
|
|
673
|
-
let e = (m = (f = (C = (v = (p = (c = i == null ? void 0 : i.itemData) == null ? void 0 : c.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : p.contents) == null ? void 0 : v.split("[")) == null ? void 0 : C[1]) == null ? void 0 : f.split("]")) == null ? void 0 : m[0], l = ((W = (U = (P = (
|
|
673
|
+
let e = (m = (f = (C = (v = (p = (c = i == null ? void 0 : i.itemData) == null ? void 0 : c.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : p.contents) == null ? void 0 : v.split("[")) == null ? void 0 : C[1]) == null ? void 0 : f.split("]")) == null ? void 0 : m[0], l = ((W = (U = (P = (E = i == null ? void 0 : i.itemData) == null ? void 0 : E.find((T) => (T == null ? void 0 : T.key) === "pageColumn")) == null ? void 0 : P.contents) == null ? void 0 : U.split("[")) == null ? void 0 : W[0]) + ((K = (z = Cl.value) == null ? void 0 : z.find((T) => (T == null ? void 0 : T.key) === e)) == null ? void 0 : K.value), r = ((S = (n = i == null ? void 0 : i.itemData) == null ? void 0 : n.find((T) => (T == null ? void 0 : T.key) === "pageGroup")) == null ? void 0 : S.contents) ?? "", a = await al(l, sessionStorage.getItem("systemKey"), ""), s = (h = a == null ? void 0 : a.find((T) => (T == null ? void 0 : T.name) === (r === "" ? i == null ? void 0 : i.compName : r))) == null ? void 0 : h.compData;
|
|
674
674
|
Pa(s, i.allMapContents);
|
|
675
675
|
},
|
|
676
676
|
{ deep: !0 }
|
|
@@ -687,8 +687,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
687
687
|
tableId: (i == null ? void 0 : i.parentTableId) || (i == null ? void 0 : i.index),
|
|
688
688
|
systemKey: sessionStorage.getItem("systemKey")
|
|
689
689
|
}, v = l == null ? void 0 : l.map((m) => {
|
|
690
|
-
const
|
|
691
|
-
return
|
|
690
|
+
const E = Object.keys(m), P = {};
|
|
691
|
+
return E.forEach((U, W) => {
|
|
692
692
|
P[e[W]] = m[U];
|
|
693
693
|
}), P;
|
|
694
694
|
}), C = v == null ? void 0 : v.map((m) => ({
|
|
@@ -768,10 +768,10 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
768
768
|
id: i == null ? void 0 : i.index
|
|
769
769
|
});
|
|
770
770
|
if (((u = m == null ? void 0 : m.data) == null ? void 0 : u.code) === 200) {
|
|
771
|
-
let
|
|
772
|
-
a ?
|
|
773
|
-
...
|
|
774
|
-
compData: (C =
|
|
771
|
+
let E = (p = (c = (t = (o = m == null ? void 0 : m.data) == null ? void 0 : o.result) == null ? void 0 : t[0]) == null ? void 0 : c.value) == null ? void 0 : p.pageData;
|
|
772
|
+
a ? E = {
|
|
773
|
+
...E,
|
|
774
|
+
compData: (C = E == null ? void 0 : E.compData) == null ? void 0 : C.map((U) => {
|
|
775
775
|
var W;
|
|
776
776
|
return (U == null ? void 0 : U.key) === "header" ? {
|
|
777
777
|
...U,
|
|
@@ -781,9 +781,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
781
781
|
}))
|
|
782
782
|
} : U;
|
|
783
783
|
})
|
|
784
|
-
} :
|
|
785
|
-
...
|
|
786
|
-
compData: (v =
|
|
784
|
+
} : E = {
|
|
785
|
+
...E,
|
|
786
|
+
compData: (v = E == null ? void 0 : E.compData) == null ? void 0 : v.map((U) => {
|
|
787
787
|
var W, z;
|
|
788
788
|
return (U == null ? void 0 : U.key) === "header" ? {
|
|
789
789
|
...U,
|
|
@@ -803,7 +803,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
803
803
|
const P = await rn({
|
|
804
804
|
id: i == null ? void 0 : i.index,
|
|
805
805
|
value: {
|
|
806
|
-
pageData:
|
|
806
|
+
pageData: E
|
|
807
807
|
}
|
|
808
808
|
});
|
|
809
809
|
((f = P == null ? void 0 : P.data) == null ? void 0 : f.code) === 200 ? ($e.success("编辑成功"), he.setRefreshCurStructure(!0)) : $e.error("编辑响应失败");
|
|
@@ -820,7 +820,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
820
820
|
}, gr = (e) => {
|
|
821
821
|
He.value = e;
|
|
822
822
|
}, hr = (e, l) => {
|
|
823
|
-
gl.value === l ?
|
|
823
|
+
gl.value === l ? xl.value = !1 : xl.value = !0, gl.value = l == null ? void 0 : l.changeProp;
|
|
824
824
|
}, jl = Ma(() => {
|
|
825
825
|
var r, a, s;
|
|
826
826
|
const e = (r = R.value) == null ? void 0 : r.some((u) => u == null ? void 0 : u.filterable);
|
|
@@ -843,24 +843,24 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
843
843
|
}, br = (e) => {
|
|
844
844
|
ce("clickTrigger", e);
|
|
845
845
|
}, ka = async (e) => {
|
|
846
|
-
var u, o, t, c, p, v, C, f, m,
|
|
846
|
+
var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K;
|
|
847
847
|
const l = e == null ? void 0 : e.row, r = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
|
|
848
848
|
if ((u = l == null ? void 0 : l.toString()) != null && u.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
|
|
849
849
|
if (l.includes(",")) {
|
|
850
850
|
$e.error("当前版本仅允许单个urdf预览!");
|
|
851
851
|
return;
|
|
852
852
|
}
|
|
853
|
-
|
|
853
|
+
El.value = [l], Re.value = !0, we.value = {
|
|
854
854
|
data: q(r)
|
|
855
855
|
}, Ce.value = !0;
|
|
856
856
|
return;
|
|
857
857
|
}
|
|
858
858
|
let s = [];
|
|
859
859
|
if ((o = l == null ? void 0 : l.toString()) != null && o.includes(".stl") || (t = l == null ? void 0 : l.toString()) != null && t.includes(".STL") || (c = l == null ? void 0 : l.toString()) != null && c.includes(".obj") || (p = l == null ? void 0 : l.toString()) != null && p.includes(".mtl")) {
|
|
860
|
-
|
|
860
|
+
El.value = (v = l == null ? void 0 : l.toString()) == null ? void 0 : v.split(","), Re.value = !1, Ce.value = !0;
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
|
-
if ((C = l == null ? void 0 : l.toString()) != null && C.includes(".stl") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.includes(".obj") || (
|
|
863
|
+
if ((C = l == null ? void 0 : l.toString()) != null && C.includes(".stl") || (f = l == null ? void 0 : l.toString()) != null && f.includes(".STL") || (m = l == null ? void 0 : l.toString()) != null && m.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")) {
|
|
864
864
|
let n, S = [], h = {};
|
|
865
865
|
if (Array.isArray(l) ? n = l : n = l == null ? void 0 : l.split(","), n == null || n.forEach((T) => {
|
|
866
866
|
T.includes(".mtl") ? S.push(T) : h.blob = h.blob ? h.blob + "," + T : T;
|
|
@@ -996,7 +996,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
996
996
|
Y.value = mr(zl.value, e), he.setTableLoading(!1);
|
|
997
997
|
}
|
|
998
998
|
}, Ur = async (e) => {
|
|
999
|
-
var o, t, c, p, v, C, f, m,
|
|
999
|
+
var o, t, c, p, v, C, f, m, E, P, U, W, z, K, n;
|
|
1000
1000
|
const l = await _l({
|
|
1001
1001
|
keyLikes: {
|
|
1002
1002
|
pageKey: `loading${((o = Ae.value) == null ? void 0 : o.account) || ((t = Ae.value) == null ? void 0 : t.账号)}`,
|
|
@@ -1015,16 +1015,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1015
1015
|
});
|
|
1016
1016
|
let u = await al(Z.value, sessionStorage.getItem("systemKey"), e.id);
|
|
1017
1017
|
if (u = u == null ? void 0 : u.filter((S) => S.comp !== "methodButton"), u && u.length > 0) {
|
|
1018
|
-
const S = !Array.isArray(ua.value) && ((
|
|
1018
|
+
const S = !Array.isArray(ua.value) && ((E = ua.value) == null ? void 0 : E.key) !== "main" ? [] : ua.value;
|
|
1019
1019
|
S.push({
|
|
1020
1020
|
key: ll.value === "" ? (P = e == null ? void 0 : e.id) == null ? void 0 : P.toString() : ll.value + "-" + ((U = e == null ? void 0 : e.id) == null ? void 0 : U.toString()),
|
|
1021
1021
|
value: e[(W = Object.keys(e)) == null ? void 0 : W.filter((h) => h !== "index" && h !== "id")[0]]
|
|
1022
1022
|
}), Rl.setSelectMenu(ll.value === "" ? (z = e == null ? void 0 : e.id) == null ? void 0 : z.toString() : ll.value + "-" + ((K = e == null ? void 0 : e.id) == null ? void 0 : K.toString())), Rl.setSelectTitle(S), Rl.setSelectIndex((n = e == null ? void 0 : e.id) == null ? void 0 : n.toString()), ce("pageChange", u);
|
|
1023
1023
|
}
|
|
1024
1024
|
}, ma = async (e, l, r, a) => {
|
|
1025
|
-
var u, o, t, c, p, v, C, f, m,
|
|
1025
|
+
var u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, H, j, O, J, b;
|
|
1026
1026
|
if ((a == null ? void 0 : a.isExistChild) === !0) {
|
|
1027
|
-
let
|
|
1027
|
+
let x = (o = (u = R.value) == null ? void 0 : u.find((L) => (L == null ? void 0 : L.isMainKey) === !0)) == null ? void 0 : o.prop, _ = (t = a == null ? void 0 : a.rowContent) == null ? void 0 : t[x], d = (p = (c = a == null ? void 0 : a.columnType) == null ? void 0 : c.childPath) == null ? void 0 : p.split(oe), M = [];
|
|
1028
1028
|
d == null || d.forEach((L, y) => {
|
|
1029
1029
|
(d == null ? void 0 : d.length) - 1 === y && M.push(_), M.push(L);
|
|
1030
1030
|
}), M = M.join(oe);
|
|
@@ -1067,9 +1067,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1067
1067
|
});
|
|
1068
1068
|
return;
|
|
1069
1069
|
}
|
|
1070
|
-
if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((
|
|
1071
|
-
let
|
|
1072
|
-
|
|
1070
|
+
if ((a == null ? void 0 : a.data) === "查看" && (e != null && e.every((x) => (x == null ? void 0 : x.url) && (x == null ? void 0 : x.name)))) {
|
|
1071
|
+
let x = q(e);
|
|
1072
|
+
x = await ((C = q(x)) == null ? void 0 : C.map(async (d) => {
|
|
1073
1073
|
var ee, L, y, G;
|
|
1074
1074
|
const M = await fa({
|
|
1075
1075
|
url: d == null ? void 0 : d.url
|
|
@@ -1080,16 +1080,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1080
1080
|
blobUrl: F
|
|
1081
1081
|
};
|
|
1082
1082
|
}));
|
|
1083
|
-
let _ = await Promise.all(
|
|
1083
|
+
let _ = await Promise.all(x);
|
|
1084
1084
|
me.value = _, w.value = !0;
|
|
1085
1085
|
}
|
|
1086
1086
|
const s = q(R.value);
|
|
1087
1087
|
if ((a == null ? void 0 : a.isMainKey) === !0 && (s == null ? void 0 : s.length) > 0) {
|
|
1088
1088
|
(f = s == null ? void 0 : s[0]) == null || f.prop;
|
|
1089
|
-
let
|
|
1089
|
+
let x = q(Z).value + oe + (a == null ? void 0 : a.data), _ = q(Z).value, d = (E = (m = tl.value[x]) == null ? void 0 : m.filter((L) => {
|
|
1090
1090
|
var y, G;
|
|
1091
1091
|
return ((y = L == null ? void 0 : L.key) == null ? void 0 : y.type) === "structure" && ((G = L == null ? void 0 : L.key) == null ? void 0 : G.parentTable) === "";
|
|
1092
|
-
})) == null ? void 0 :
|
|
1092
|
+
})) == null ? void 0 : E.map((L) => {
|
|
1093
1093
|
var y;
|
|
1094
1094
|
return (y = L == null ? void 0 : L.value) == null ? void 0 : y.pageData;
|
|
1095
1095
|
}), M = {};
|
|
@@ -1098,11 +1098,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1098
1098
|
});
|
|
1099
1099
|
let F = (W = (U = i == null ? void 0 : i.itemData) == null ? void 0 : U.find((L) => (L == null ? void 0 : L.key) === "mainRouters")) == null ? void 0 : W.contents, ee;
|
|
1100
1100
|
if ((F == null ? void 0 : F.length) > 0) {
|
|
1101
|
-
let L =
|
|
1101
|
+
let L = x == null ? void 0 : x.split(oe)[((z = x == null ? void 0 : x.split(oe)) == null ? void 0 : z.length) - 1], y = F == null ? void 0 : F.find((G) => (G == null ? void 0 : G.key) === L);
|
|
1102
1102
|
ee = (y == null ? void 0 : y.routerContent) + oe + (y == null ? void 0 : y.key);
|
|
1103
1103
|
}
|
|
1104
1104
|
if ((d == null ? void 0 : d.length) > 0)
|
|
1105
|
-
await al(
|
|
1105
|
+
await al(x + oe + `updateLoading${((K = Ae.value) == null ? void 0 : K.account) || ((n = Ae.value) == null ? void 0 : n.账号)}`, sessionStorage.getItem("systemKey"), "") || await Il(x, x + oe + `updateLoading${((S = Ae.value) == null ? void 0 : S.account) || ((h = Ae.value) == null ? void 0 : h.账号)}`, M, ee), he.setRouteToChildPath(_), D.setActiveMenuPath(x + oe + `updateLoading${((T = Ae.value) == null ? void 0 : T.account) || ((k = Ae.value) == null ? void 0 : k.账号)}`);
|
|
1106
1106
|
else {
|
|
1107
1107
|
(H = s == null ? void 0 : s[0]) == null || H.prop;
|
|
1108
1108
|
let L = q(Z).value + oe + (a == null ? void 0 : a.data), y = q(Z).value;
|
|
@@ -1146,11 +1146,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1146
1146
|
return c === "formContent" || c === "tableContents";
|
|
1147
1147
|
});
|
|
1148
1148
|
return u == null ? void 0 : u.contents;
|
|
1149
|
-
}, oa = async () => `Bearer ${nn.get("access-token")}`,
|
|
1149
|
+
}, oa = async () => `Bearer ${nn.get("access-token")}`, Er = async (e, { token: l, inputData: r } = {}) => await yl.post(e, r, {
|
|
1150
1150
|
headers: {
|
|
1151
1151
|
Authorization: l
|
|
1152
1152
|
}
|
|
1153
|
-
}).catch((s) => (D.setImportLoading(!1), Promise.reject(s))),
|
|
1153
|
+
}).catch((s) => (D.setImportLoading(!1), Promise.reject(s))), xr = (e) => {
|
|
1154
1154
|
const l = [], r = (a) => {
|
|
1155
1155
|
a && typeof a == "object" && !Array.isArray(a) ? Object.values(a).forEach(r) : l.push(a);
|
|
1156
1156
|
};
|
|
@@ -1177,23 +1177,23 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1177
1177
|
return O === "输入" || O === "输入数据.输入1" || O === "样本输入数据";
|
|
1178
1178
|
}), p = c == null ? void 0 : c.prop;
|
|
1179
1179
|
let v = l == null ? void 0 : l[p];
|
|
1180
|
-
const C = await oa().catch((j) => (D.setImportLoading(!1), Promise.reject(j))), f = await
|
|
1180
|
+
const C = await oa().catch((j) => (D.setImportLoading(!1), Promise.reject(j))), f = await Er(o, {
|
|
1181
1181
|
token: C,
|
|
1182
1182
|
inputData: v
|
|
1183
|
-
}).catch((j) => (D.setImportLoading(!1), Promise.reject(j))), m = (S = f == null ? void 0 : f.data) == null ? void 0 : S.data,
|
|
1183
|
+
}).catch((j) => (D.setImportLoading(!1), Promise.reject(j))), m = (S = f == null ? void 0 : f.data) == null ? void 0 : S.data, E = t.find((j) => (j == null ? void 0 : j.prop) === "输出数据.输出1"), P = E == null ? void 0 : E.prop;
|
|
1184
1184
|
let U = [], W = [];
|
|
1185
1185
|
if (((h = Object.values(m)) == null ? void 0 : h.length) > 0) {
|
|
1186
1186
|
let j = [];
|
|
1187
|
-
const O = new FormData(), J = (T =
|
|
1187
|
+
const O = new FormData(), J = (T = xr(m)) == null ? void 0 : T.map(async (x) => {
|
|
1188
1188
|
var _, d;
|
|
1189
|
-
if (!Array.isArray(
|
|
1190
|
-
let M = await yl.get(
|
|
1189
|
+
if (!Array.isArray(x) && (x != null && x.includes("http"))) {
|
|
1190
|
+
let M = await yl.get(x, { responseType: "blob" }), F = (d = x == null ? void 0 : x.split("/")) == null ? void 0 : d[((_ = x == null ? void 0 : x.split("/")) == null ? void 0 : _.length) - 1];
|
|
1191
1191
|
O.append("files", M.data, F);
|
|
1192
1192
|
} else
|
|
1193
|
-
j.push(
|
|
1193
|
+
j.push(x);
|
|
1194
1194
|
});
|
|
1195
1195
|
if (await Promise.all(J), !An(O)) {
|
|
1196
|
-
let
|
|
1196
|
+
let x = await fn(O), _ = (H = (k = x == null ? void 0 : x.data) == null ? void 0 : k.result) == null ? void 0 : H.map((d) => {
|
|
1197
1197
|
var M, F, ee, L, y, G;
|
|
1198
1198
|
return {
|
|
1199
1199
|
name: (G = (y = (L = (M = d == null ? void 0 : d.url) == null ? void 0 : M.split("/")) == null ? void 0 : L[((ee = (F = d == null ? void 0 : d.url) == null ? void 0 : F.split("/")) == null ? void 0 : ee.length) - 1]) == null ? void 0 : y.split(".")) == null ? void 0 : G[0],
|
|
@@ -1203,8 +1203,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1203
1203
|
j = [...j, ..._];
|
|
1204
1204
|
}
|
|
1205
1205
|
let b = {};
|
|
1206
|
-
for (let
|
|
1207
|
-
|
|
1206
|
+
for (let x in l)
|
|
1207
|
+
x !== "id" && (b[x] = l[x]);
|
|
1208
1208
|
b[P] = j, W.push({
|
|
1209
1209
|
id: l == null ? void 0 : l.id,
|
|
1210
1210
|
value: {
|
|
@@ -1221,7 +1221,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1221
1221
|
var a, s;
|
|
1222
1222
|
return r != null && r.children && ((a = r.children) != null && a.find((u) => u.id === (l == null ? void 0 : l.id)) ? r.children = (s = r.children) == null ? void 0 : s.filter((u) => (u == null ? void 0 : u.id) !== (l == null ? void 0 : l.id)) : r.children = Aa(r.children, l)), r;
|
|
1223
1223
|
}), e), Yl = async (e, l, r) => {
|
|
1224
|
-
var a, s, u, o, t, c, p, v, C, f, m,
|
|
1224
|
+
var a, s, u, o, t, c, p, v, C, f, m, E, P, U, W;
|
|
1225
1225
|
if (Ye.value = "", Wl.value = !0, ra.value = !0, ce("onButtonClick", e, l), e === "删除")
|
|
1226
1226
|
za.confirm("是否确认删除", "温馨提示", {
|
|
1227
1227
|
confirmButtonText: "确认",
|
|
@@ -1298,7 +1298,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1298
1298
|
} else if (e === "执行")
|
|
1299
1299
|
jr(e, l);
|
|
1300
1300
|
else if (e != null && e.includes("导出")) {
|
|
1301
|
-
if (e === "导出选中" && ((
|
|
1301
|
+
if (e === "导出选中" && ((E = He.value) == null ? void 0 : E.length) === 0)
|
|
1302
1302
|
return $e.warning(`请先勾选${e}的数据`);
|
|
1303
1303
|
if (e === "导出全部" && ((P = Y.value) == null ? void 0 : P.length) === 0)
|
|
1304
1304
|
return $e.warning("暂无数据导出");
|
|
@@ -1325,7 +1325,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1325
1325
|
};
|
|
1326
1326
|
}) : [];
|
|
1327
1327
|
}, Pr = async (e, l) => {
|
|
1328
|
-
var r, a, s, u, o, t, c, p, v, C, f, m,
|
|
1328
|
+
var r, a, s, u, o, t, c, p, v, C, f, m, E, P, U, W, z, K, n, S;
|
|
1329
1329
|
try {
|
|
1330
1330
|
let h, T;
|
|
1331
1331
|
const k = (r = tl.value[Z.value + oe]) == null ? void 0 : r.filter((d) => {
|
|
@@ -1356,7 +1356,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1356
1356
|
}),
|
|
1357
1357
|
extraContent: [],
|
|
1358
1358
|
extraValues: (m = (f = j == null ? void 0 : j.value) == null ? void 0 : f.pageData) == null ? void 0 : m.data,
|
|
1359
|
-
methodName: (P = (
|
|
1359
|
+
methodName: (P = (E = j == null ? void 0 : j.value) == null ? void 0 : E.pageData) == null ? void 0 : P.path
|
|
1360
1360
|
};
|
|
1361
1361
|
if (!e) return;
|
|
1362
1362
|
const b = {
|
|
@@ -1371,7 +1371,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1371
1371
|
} : F)
|
|
1372
1372
|
} : d;
|
|
1373
1373
|
})
|
|
1374
|
-
},
|
|
1374
|
+
}, x = {
|
|
1375
1375
|
key: {
|
|
1376
1376
|
pageKey: Z.value + oe,
|
|
1377
1377
|
parentTable: "",
|
|
@@ -1381,7 +1381,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1381
1381
|
value: {
|
|
1382
1382
|
pageData: b
|
|
1383
1383
|
}
|
|
1384
|
-
}, _ = await yl.post(J.api,
|
|
1384
|
+
}, _ = await yl.post(J.api, x, {
|
|
1385
1385
|
headers: {
|
|
1386
1386
|
"Content-Type": "application/json"
|
|
1387
1387
|
}
|
|
@@ -1424,8 +1424,8 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1424
1424
|
return ((m = f == null ? void 0 : f.key) == null ? void 0 : m.type) === "structure";
|
|
1425
1425
|
});
|
|
1426
1426
|
const v = u == null ? void 0 : u.find((f) => {
|
|
1427
|
-
var m,
|
|
1428
|
-
return ((P = (
|
|
1427
|
+
var m, E, P;
|
|
1428
|
+
return ((P = (E = (m = f == null ? void 0 : f.value) == null ? void 0 : m.pageData) == null ? void 0 : E.comp) == null ? void 0 : P.toUpperCase()) === "FORM";
|
|
1429
1429
|
});
|
|
1430
1430
|
o = {
|
|
1431
1431
|
...(p = v == null ? void 0 : v.value) == null ? void 0 : p.pageData,
|
|
@@ -1446,7 +1446,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1446
1446
|
let a, s;
|
|
1447
1447
|
const u = await Br(r == null ? void 0 : r.data, r == null ? void 0 : r.firstCol);
|
|
1448
1448
|
if (e ? (a = q(Z).value + oe + ((p = r == null ? void 0 : r.data) == null ? void 0 : p[(c = r == null ? void 0 : r.firstCol) == null ? void 0 : c.prop]), s = q(Z).value + oe + u) : (a = q(Z).value + oe, s = q(a) + `loading${((o = Ae.value) == null ? void 0 : o.account) || ((t = Ae.value) == null ? void 0 : t.账号)}`), l) {
|
|
1449
|
-
const
|
|
1449
|
+
const E = (C = (v = tl.value[s]) == null ? void 0 : v.filter((P) => {
|
|
1450
1450
|
var U;
|
|
1451
1451
|
return ((U = P == null ? void 0 : P.key) == null ? void 0 : U.parentTable) === "";
|
|
1452
1452
|
})) == null ? void 0 : C.map((P) => {
|
|
@@ -1456,9 +1456,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1456
1456
|
...(U = P == null ? void 0 : P.value) == null ? void 0 : U.pageData
|
|
1457
1457
|
};
|
|
1458
1458
|
});
|
|
1459
|
-
if ((
|
|
1459
|
+
if ((E == null ? void 0 : E.length) > 0)
|
|
1460
1460
|
if (e) {
|
|
1461
|
-
const P =
|
|
1461
|
+
const P = E == null ? void 0 : E.find((U) => {
|
|
1462
1462
|
var W;
|
|
1463
1463
|
return ((W = U == null ? void 0 : U.comp) == null ? void 0 : W.toUpperCase()) === "FORM";
|
|
1464
1464
|
});
|
|
@@ -1479,9 +1479,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1479
1479
|
} else
|
|
1480
1480
|
e ? (Ye.value = "", Le.value = r == null ? void 0 : r.data, $l(!0, r == null ? void 0 : r.firstCol, u)) : (he.setRouteToChildPath(q(Z).value), D.setActiveMenuPath(s));
|
|
1481
1481
|
}, Mr = () => {
|
|
1482
|
-
Ce.value = !1,
|
|
1482
|
+
Ce.value = !1, El.value = [], Re.value = !1;
|
|
1483
1483
|
}, Pl = (e) => {
|
|
1484
|
-
var o, t, c, p, v, C, f, m,
|
|
1484
|
+
var o, t, c, p, v, C, f, m, E, P, U, W, z, K;
|
|
1485
1485
|
const l = [];
|
|
1486
1486
|
let r = [];
|
|
1487
1487
|
for (let n in e)
|
|
@@ -1531,7 +1531,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1531
1531
|
return (h = S == null ? void 0 : S.content) == null ? void 0 : h.includes("@Type");
|
|
1532
1532
|
});
|
|
1533
1533
|
if (n != null && n.content) {
|
|
1534
|
-
let S = (P = (
|
|
1534
|
+
let S = (P = (E = (m = n == null ? void 0 : n.content) == null ? void 0 : m.replace(":", Be)) == null ? void 0 : E.split(Be)) == null ? void 0 : P[1];
|
|
1535
1535
|
if (((U = S == null ? void 0 : S.trim()) == null ? void 0 : U.toUpperCase()) === "MANUAL") {
|
|
1536
1536
|
let h = (z = (W = i.itemData) == null ? void 0 : W.find((T) => (T == null ? void 0 : T.key) === "contentTableId")) == null ? void 0 : z.contents;
|
|
1537
1537
|
De.value = (K = De.value) == null ? void 0 : K.map((T, k) => {
|
|
@@ -1639,7 +1639,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1639
1639
|
return delete s.children, s;
|
|
1640
1640
|
}) : [];
|
|
1641
1641
|
}, $l = (e = !0, l, r) => {
|
|
1642
|
-
var p, v, C, f, m,
|
|
1642
|
+
var p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, H, j, O, J, b, x;
|
|
1643
1643
|
let a = Kl((p = q(R.value)) == null ? void 0 : p.filter((_) => (_ == null ? void 0 : _.label) !== "操作")), s, u = q(Y.value);
|
|
1644
1644
|
if (!Le.value) {
|
|
1645
1645
|
Ze.value = !1;
|
|
@@ -1659,7 +1659,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1659
1659
|
} else
|
|
1660
1660
|
u = (C = Oa(u, a)) == null ? void 0 : C.newContents, s = (f = Oa(u, a)) == null ? void 0 : f.currentSelectContents;
|
|
1661
1661
|
const o = (m = i.itemData) == null ? void 0 : m.filter((_) => (_ == null ? void 0 : _.key) === "childTree")[0];
|
|
1662
|
-
if (((
|
|
1662
|
+
if (((E = o == null ? void 0 : o.contents) == null ? void 0 : E.length) > 0) {
|
|
1663
1663
|
qe.value = "编辑";
|
|
1664
1664
|
const _ = [];
|
|
1665
1665
|
u == null || u.forEach((d, M) => {
|
|
@@ -1686,7 +1686,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1686
1686
|
}), Y.value = La(_, o, R.value);
|
|
1687
1687
|
} else
|
|
1688
1688
|
Y.value = u;
|
|
1689
|
-
|
|
1689
|
+
xa(Y.value), Gl.value = Y.value;
|
|
1690
1690
|
const t = Hn(Gl.value, ll.value, u);
|
|
1691
1691
|
let c = [];
|
|
1692
1692
|
if (Dl.value ? (c = (P = q(Dl).value.singleContent) == null ? void 0 : P.filter((_) => (_ == null ? void 0 : _.id) !== (s == null ? void 0 : s.id)), c.push(s)) : c = [s], fl.value) {
|
|
@@ -1719,24 +1719,24 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1719
1719
|
var ee;
|
|
1720
1720
|
return (ee = F == null ? void 0 : F.content) == null ? void 0 : ee.includes("@Num");
|
|
1721
1721
|
})) == null ? void 0 : H.content) == null ? void 0 : j.split(":")) == null ? void 0 : O[1];
|
|
1722
|
-
M = parseInt(M), Y.value = (
|
|
1722
|
+
M = parseInt(M), Y.value = (x = Y.value) == null ? void 0 : x.slice(((J = Y.value) == null ? void 0 : J.length) - M, (b = Y.value) == null ? void 0 : b.length);
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
};
|
|
1726
1726
|
Zr(() => {
|
|
1727
|
-
R.value = [], Y.value = [], Te.value = [], de.value = [], We.value = [], cl.value = [],
|
|
1727
|
+
R.value = [], Y.value = [], Te.value = [], de.value = [], We.value = [], cl.value = [], El.value = [], Tl.value = [], De.value = [], He.value = [], $.value = null;
|
|
1728
1728
|
});
|
|
1729
1729
|
const Ca = async (e, l, r) => {
|
|
1730
|
-
var p, v, C, f, m,
|
|
1730
|
+
var p, v, C, f, m, E, P, U, W, z, K;
|
|
1731
1731
|
gl.value = r == null ? void 0 : r.prop;
|
|
1732
1732
|
const a = q(i.itemData), s = a == null ? void 0 : a.map((n) => {
|
|
1733
1733
|
var S;
|
|
1734
1734
|
return (n == null ? void 0 : n.key) === "header" && ((S = n.contents) == null || S.map((h, T) => {
|
|
1735
|
-
var k, H, j, O, J, b,
|
|
1735
|
+
var k, H, j, O, J, b, x, _, d, M, F, ee, L, y, G, le, ve, _e, Se;
|
|
1736
1736
|
return h.type = h != null && h.type ? h.type : (O = (j = (H = (k = h == null ? void 0 : h.key) == null ? void 0 : k.split("$")) == null ? void 0 : H[1]) == null ? void 0 : j.split("(")) != null && O[0] ? (b = (J = Ja) == null ? void 0 : J.find((A) => {
|
|
1737
1737
|
var g, ue, pe, se;
|
|
1738
1738
|
return (A == null ? void 0 : A.key) === ((se = (pe = (ue = (g = h == null ? void 0 : h.key) == null ? void 0 : g.split("$")) == null ? void 0 : ue[1]) == null ? void 0 : pe.split("(")) == null ? void 0 : se[0]);
|
|
1739
|
-
})) == null ? void 0 : b.value : "Input", h.options = h != null && h.options ? h.options : ((d = (_ = (
|
|
1739
|
+
})) == null ? void 0 : b.value : "Input", h.options = h != null && h.options ? h.options : ((d = (_ = (x = h == null ? void 0 : h.key) == null ? void 0 : x.split("$")) == null ? void 0 : _[1]) == null ? void 0 : d.length) > 0 ? (L = (ee = Ra((F = (M = h == null ? void 0 : h.key) == null ? void 0 : M.split("$")) == null ? void 0 : F[1])) == null ? void 0 : ee.split(",")) == null ? void 0 : L.map((A) => ({
|
|
1740
1740
|
label: A,
|
|
1741
1741
|
value: A
|
|
1742
1742
|
})) : [], (y = h == null ? void 0 : h.key) != null && y.includes("$") && (h.key = (le = (G = h == null ? void 0 : h.key) == null ? void 0 : G.split("$")) == null ? void 0 : le[0]), h.value = (ve = Object.values(l)) == null ? void 0 : ve[T], h.optionUrl = h != null && h.formMenuSelect && ((_e = h == null ? void 0 : h.formMenuSelect) == null ? void 0 : _e.length) > 0 ? {
|
|
@@ -1756,19 +1756,19 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1756
1756
|
var h, T, k;
|
|
1757
1757
|
return (n == null ? void 0 : n.label) === gl.value || (S == null ? void 0 : S.toString()) === ((k = (T = (h = gl.value) == null ? void 0 : h.split("a")) == null ? void 0 : T[1]) == null ? void 0 : k.toString());
|
|
1758
1758
|
});
|
|
1759
|
-
if ((U = (P = (
|
|
1759
|
+
if ((U = (P = (E = q(s)) == null ? void 0 : E.find((n) => (n == null ? void 0 : n.key) === "header")) == null ? void 0 : P.contents) == null || U.forEach((n) => {
|
|
1760
1760
|
var S, h, T, k, H;
|
|
1761
1761
|
t === "" && ((T = (h = (S = n == null ? void 0 : n.optionUrl) == null ? void 0 : S.groupSelect) == null ? void 0 : h[1]) != null && T.includes("[")) && (t = (H = (k = n == null ? void 0 : n.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : H[1]);
|
|
1762
1762
|
}), (W = c == null ? void 0 : c.optionUrl) != null && W.menuSelect) {
|
|
1763
1763
|
let n = await qa(c), S;
|
|
1764
1764
|
if (n == null || n.forEach((h) => {
|
|
1765
|
-
var T, k, H, j, O, J, b,
|
|
1766
|
-
t === ((k = (T = c == null ? void 0 : c.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : k[1]) && ((O = (j = (H = c == null ? void 0 : c.optionUrl) == null ? void 0 : H.groupSelect) == null ? void 0 : j[1]) != null && O.includes("[")) && ((d = q(h)) == null ? void 0 : d[(_ = (
|
|
1765
|
+
var T, k, H, j, O, J, b, x, _, d;
|
|
1766
|
+
t === ((k = (T = c == null ? void 0 : c.optionUrl) == null ? void 0 : T.groupSelect) == null ? void 0 : k[1]) && ((O = (j = (H = c == null ? void 0 : c.optionUrl) == null ? void 0 : H.groupSelect) == null ? void 0 : j[1]) != null && O.includes("[")) && ((d = q(h)) == null ? void 0 : d[(_ = (x = (b = (J = c == null ? void 0 : c.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) == null ? void 0 : x.replaceAll("[", "")) == null ? void 0 : _.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (S = h);
|
|
1767
1767
|
}), S) {
|
|
1768
1768
|
let h = q(u);
|
|
1769
1769
|
h = h == null ? void 0 : h.map((k) => {
|
|
1770
|
-
var H, j, O, J, b,
|
|
1771
|
-
return (S != null && S[k == null ? void 0 : k.label] || S != null && S[(J = (O = (j = (H = k == null ? void 0 : k.optionUrl) == null ? void 0 : H.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : O.replaceAll("[", "")) == null ? void 0 : J.replaceAll("]", "")]) && ((_ = (
|
|
1770
|
+
var H, j, O, J, b, x, _, d, M, F, ee;
|
|
1771
|
+
return (S != null && S[k == null ? void 0 : k.label] || S != null && S[(J = (O = (j = (H = k == null ? void 0 : k.optionUrl) == null ? void 0 : H.groupSelect) == null ? void 0 : j[1]) == null ? void 0 : O.replaceAll("[", "")) == null ? void 0 : J.replaceAll("]", "")]) && ((_ = (x = (b = k == null ? void 0 : k.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : x[1]) != null && _.includes("[")) && (k.value = (S == null ? void 0 : S[k == null ? void 0 : k.label]) || (S == null ? void 0 : S[(ee = (F = (M = (d = k == null ? void 0 : k.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) == null ? void 0 : F.replaceAll("[", "")) == null ? void 0 : ee.replaceAll("]", "")])), k;
|
|
1772
1772
|
}), Y.value = (z = q(Y.value)) == null ? void 0 : z.map((k) => {
|
|
1773
1773
|
if ((k == null ? void 0 : k.id) === (l == null ? void 0 : l.id)) {
|
|
1774
1774
|
const H = {};
|
|
@@ -1782,9 +1782,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1782
1782
|
T = T == null ? void 0 : T.map((k) => {
|
|
1783
1783
|
var H, j, O, J;
|
|
1784
1784
|
return (j = (H = k == null ? void 0 : k.optionUrl) == null ? void 0 : H.menuSelect) != null && j.some((b) => b == null ? void 0 : b.includes) && (k.optionUrl.menuSelect = (J = (O = k == null ? void 0 : k.optionUrl) == null ? void 0 : O.menuSelect) == null ? void 0 : J.map((b) => {
|
|
1785
|
-
var
|
|
1785
|
+
var x, _, d, M;
|
|
1786
1786
|
if (b != null && b.includes("[")) {
|
|
1787
|
-
let F = (_ = (
|
|
1787
|
+
let F = (_ = (x = b == null ? void 0 : b.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : x.split(":")) == null ? void 0 : _[1];
|
|
1788
1788
|
b = (M = (d = q(h)) == null ? void 0 : d.find((ee) => (ee == null ? void 0 : ee.label) === F)) == null ? void 0 : M.value;
|
|
1789
1789
|
}
|
|
1790
1790
|
return b;
|
|
@@ -1801,22 +1801,22 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
}, Fr = async (e) => {
|
|
1804
|
-
var p, v, C, f, m,
|
|
1804
|
+
var p, v, C, f, m, E, P, U, W, z, K, n, S, h, T, k, H, j;
|
|
1805
1805
|
if (!e) return;
|
|
1806
1806
|
Le.value = e;
|
|
1807
1807
|
const l = q(i.itemData);
|
|
1808
1808
|
let r = l == null ? void 0 : l.map((O) => {
|
|
1809
1809
|
var J;
|
|
1810
|
-
return (O == null ? void 0 : O.key) === "header" && ((J = O.contents) == null || J.map((b,
|
|
1811
|
-
var _, d, M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe, se, ke,
|
|
1812
|
-
return b.type = b != null && b.type ? b.type : (F = (M = (d = (_ = b == null ? void 0 : b.key) == null ? void 0 : _.split("$")) == null ? void 0 : d[1]) == null ? void 0 : M.split("(")) != null && F[0] ? (L = (ee = Ja) == null ? void 0 : ee.find((
|
|
1810
|
+
return (O == null ? void 0 : O.key) === "header" && ((J = O.contents) == null || J.map((b, x) => {
|
|
1811
|
+
var _, d, M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe, se, ke, Ee;
|
|
1812
|
+
return b.type = b != null && b.type ? b.type : (F = (M = (d = (_ = b == null ? void 0 : b.key) == null ? void 0 : _.split("$")) == null ? void 0 : d[1]) == null ? void 0 : M.split("(")) != null && F[0] ? (L = (ee = Ja) == null ? void 0 : ee.find((xe) => {
|
|
1813
1813
|
var sl, Ke, ul, il;
|
|
1814
|
-
return (
|
|
1815
|
-
})) == null ? void 0 : L.value : "Input", b.options = b != null && b.options ? b.options : ((le = (G = (y = b == null ? void 0 : b.key) == null ? void 0 : y.split("$")) == null ? void 0 : G[1]) == null ? void 0 : le.length) > 0 ? (A = (Se = Ra((_e = (ve = b == null ? void 0 : b.key) == null ? void 0 : ve.split("$")) == null ? void 0 : _e[1])) == null ? void 0 : Se.split(",")) == null ? void 0 : A.map((
|
|
1816
|
-
label:
|
|
1817
|
-
value:
|
|
1818
|
-
})) : [], (g = b == null ? void 0 : b.key) != null && g.includes("$") && (b.key = (pe = (ue = b == null ? void 0 : b.key) == null ? void 0 : ue.split("$")) == null ? void 0 : pe[0]), b.value = (se = Object.values(e)) == null ? void 0 : se[
|
|
1819
|
-
groupSelect: (
|
|
1814
|
+
return (xe == null ? void 0 : xe.key) === ((il = (ul = (Ke = (sl = b == null ? void 0 : b.key) == null ? void 0 : sl.split("$")) == null ? void 0 : Ke[1]) == null ? void 0 : ul.split("(")) == null ? void 0 : il[0]);
|
|
1815
|
+
})) == null ? void 0 : L.value : "Input", b.options = b != null && b.options ? b.options : ((le = (G = (y = b == null ? void 0 : b.key) == null ? void 0 : y.split("$")) == null ? void 0 : G[1]) == null ? void 0 : le.length) > 0 ? (A = (Se = Ra((_e = (ve = b == null ? void 0 : b.key) == null ? void 0 : ve.split("$")) == null ? void 0 : _e[1])) == null ? void 0 : Se.split(",")) == null ? void 0 : A.map((xe) => ({
|
|
1816
|
+
label: xe,
|
|
1817
|
+
value: xe
|
|
1818
|
+
})) : [], (g = b == null ? void 0 : b.key) != null && g.includes("$") && (b.key = (pe = (ue = b == null ? void 0 : b.key) == null ? void 0 : ue.split("$")) == null ? void 0 : pe[0]), b.value = (se = Object.values(e)) == null ? void 0 : se[x], b.optionUrl = b != null && b.formMenuSelect && ((ke = b == null ? void 0 : b.formMenuSelect) == null ? void 0 : ke.length) > 0 ? {
|
|
1819
|
+
groupSelect: (Ee = b == null ? void 0 : b.groupSelect) == null ? void 0 : Ee.split(/[::]/).map((xe) => xe.trim()),
|
|
1820
1820
|
menuSelect: b == null ? void 0 : b.formMenuSelect,
|
|
1821
1821
|
selectRelateType: "",
|
|
1822
1822
|
type: (b == null ? void 0 : b.formType) ?? (b != null && b.groupSelect ? "Select" : "")
|
|
@@ -1828,28 +1828,28 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1828
1828
|
type: "operate"
|
|
1829
1829
|
}), a = a == null ? void 0 : a.map((O) => {
|
|
1830
1830
|
var J;
|
|
1831
|
-
return O.value = O.value ?? ((J = s == null ? void 0 : s.find((b,
|
|
1832
|
-
}), !
|
|
1831
|
+
return O.value = O.value ?? ((J = s == null ? void 0 : s.find((b, x) => (b == null ? void 0 : b.prop) === (O == null ? void 0 : O.name))) == null ? void 0 : J.value), O;
|
|
1832
|
+
}), !xl.value) return;
|
|
1833
1833
|
let u = "", o = (m = (f = (C = q(r)) == null ? void 0 : C.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : f.contents) == null ? void 0 : m.find((O, J) => {
|
|
1834
|
-
var b,
|
|
1835
|
-
return (O == null ? void 0 : O.label) === gl.value || (J == null ? void 0 : J.toString()) === ((_ = (
|
|
1836
|
-
}), t = (
|
|
1834
|
+
var b, x, _;
|
|
1835
|
+
return (O == null ? void 0 : O.label) === gl.value || (J == null ? void 0 : J.toString()) === ((_ = (x = (b = gl.value) == null ? void 0 : b.split("a")) == null ? void 0 : x[1]) == null ? void 0 : _.toString());
|
|
1836
|
+
}), t = (E = o == null ? void 0 : o.optionUrl) == null ? void 0 : E.menuSelect, c = !0;
|
|
1837
1837
|
if ((W = (U = (P = q(r)) == null ? void 0 : P.find((O) => (O == null ? void 0 : O.key) === "header")) == null ? void 0 : U.contents) == null || W.forEach((O) => {
|
|
1838
|
-
var J, b,
|
|
1839
|
-
c && ((
|
|
1840
|
-
}), (z = o == null ? void 0 : o.optionUrl) != null && z.menuSelect &&
|
|
1838
|
+
var J, b, x, _, d, M;
|
|
1839
|
+
c && ((x = (b = (J = O == null ? void 0 : O.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : b[1]) != null && x.includes("[")) && (u = (d = (_ = O == null ? void 0 : O.optionUrl) == null ? void 0 : _.groupSelect) == null ? void 0 : d[1], JSON.stringify(t) === JSON.stringify((M = O == null ? void 0 : O.optionUrl) == null ? void 0 : M.menuSelect) && (c = !1));
|
|
1840
|
+
}), (z = o == null ? void 0 : o.optionUrl) != null && z.menuSelect && xl.value || (S = (n = (K = De.value) == null ? void 0 : K[0]) == null ? void 0 : n.optionUrl) != null && S.menuId) {
|
|
1841
1841
|
let O = await qa(o, (k = (T = (h = De.value) == null ? void 0 : h[0]) == null ? void 0 : T.optionUrl) == null ? void 0 : k.menuId), J;
|
|
1842
1842
|
if ((H = o == null ? void 0 : o.optionUrl) == null || H.menuSelect, O == null || O.forEach((b) => {
|
|
1843
|
-
var
|
|
1844
|
-
u === ((_ = (
|
|
1843
|
+
var x, _, d, M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe;
|
|
1844
|
+
u === ((_ = (x = o == null ? void 0 : o.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : _[1]) && ((F = (M = (d = o == null ? void 0 : o.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : M[1]) != null && F.includes("[")) && ((le = q(b)) == null ? void 0 : le[(G = (y = (L = (ee = o == null ? void 0 : o.optionUrl) == null ? void 0 : ee.groupSelect) == null ? void 0 : L[1]) == null ? void 0 : y.replaceAll("[", "")) == null ? void 0 : G.replaceAll("]", "")]) === (o == null ? void 0 : o.value) && (J = b), (Se = (_e = (ve = De.value) == null ? void 0 : ve[0]) == null ? void 0 : _e.optionUrl) != null && Se.menuId && b[(g = (A = De.value) == null ? void 0 : A[0]) == null ? void 0 : g.prop] === e[(pe = (ue = De.value) == null ? void 0 : ue[0]) == null ? void 0 : pe.prop] && (J = b);
|
|
1845
1845
|
}), J) {
|
|
1846
1846
|
let b = q(a);
|
|
1847
1847
|
b = b == null ? void 0 : b.map((d) => {
|
|
1848
|
-
var M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe, se, ke,
|
|
1849
|
-
return (J != null && J[d == null ? void 0 : d.label] || J != null && J[(L = (ee = (F = (M = d == null ? void 0 : d.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : F[1]) == null ? void 0 : ee.replaceAll("[", "")) == null ? void 0 : L.replaceAll("]", "")]) && ((le = (G = (y = d == null ? void 0 : d.optionUrl) == null ? void 0 : y.groupSelect) == null ? void 0 : G[1]) != null && le.includes("[")) && (d.value = (J == null ? void 0 : J[d == null ? void 0 : d.label]) || (J == null ? void 0 : J[(A = (Se = (_e = (ve = d == null ? void 0 : d.optionUrl) == null ? void 0 : ve.groupSelect) == null ? void 0 : _e[1]) == null ? void 0 : Se.replaceAll("[", "")) == null ? void 0 : A.replaceAll("]", "")])), (pe = (ue = (g = De.value) == null ? void 0 : g[0]) == null ? void 0 : ue.optionUrl) != null && pe.menuId && (d.value = (J == null ? void 0 : J[d == null ? void 0 : d.label]) || (J == null ? void 0 : J[(
|
|
1848
|
+
var M, F, ee, L, y, G, le, ve, _e, Se, A, g, ue, pe, se, ke, Ee, xe;
|
|
1849
|
+
return (J != null && J[d == null ? void 0 : d.label] || J != null && J[(L = (ee = (F = (M = d == null ? void 0 : d.optionUrl) == null ? void 0 : M.groupSelect) == null ? void 0 : F[1]) == null ? void 0 : ee.replaceAll("[", "")) == null ? void 0 : L.replaceAll("]", "")]) && ((le = (G = (y = d == null ? void 0 : d.optionUrl) == null ? void 0 : y.groupSelect) == null ? void 0 : G[1]) != null && le.includes("[")) && (d.value = (J == null ? void 0 : J[d == null ? void 0 : d.label]) || (J == null ? void 0 : J[(A = (Se = (_e = (ve = d == null ? void 0 : d.optionUrl) == null ? void 0 : ve.groupSelect) == null ? void 0 : _e[1]) == null ? void 0 : Se.replaceAll("[", "")) == null ? void 0 : A.replaceAll("]", "")])), (pe = (ue = (g = De.value) == null ? void 0 : g[0]) == null ? void 0 : ue.optionUrl) != null && pe.menuId && (d.value = (J == null ? void 0 : J[d == null ? void 0 : d.label]) || (J == null ? void 0 : J[(xe = (Ee = (ke = (se = d == null ? void 0 : d.optionUrl) == null ? void 0 : se.groupSelect) == null ? void 0 : ke[1]) == null ? void 0 : Ee.replaceAll("[", "")) == null ? void 0 : xe.replaceAll("]", "")])), d;
|
|
1850
1850
|
}), De.value = q(b);
|
|
1851
|
-
let
|
|
1852
|
-
|
|
1851
|
+
let x = q(b);
|
|
1852
|
+
x = x == null ? void 0 : x.map((d) => {
|
|
1853
1853
|
var M, F, ee, L, y, G;
|
|
1854
1854
|
return (F = (M = d == null ? void 0 : d.optionUrl) == null ? void 0 : M.menuSelect) != null && F.some((le) => le == null ? void 0 : le.includes("[")) && (d.optionUrl.oldMenuSelect = (L = (ee = q(d)) == null ? void 0 : ee.optionUrl) == null ? void 0 : L.menuSelect, d.optionUrl.menuSelect = (G = (y = d == null ? void 0 : d.optionUrl) == null ? void 0 : y.menuSelect) == null ? void 0 : G.map((le) => {
|
|
1855
1855
|
var ve, _e, Se, A;
|
|
@@ -1859,14 +1859,14 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
return le;
|
|
1861
1861
|
})), d;
|
|
1862
|
-
}), De.value =
|
|
1862
|
+
}), De.value = x;
|
|
1863
1863
|
let _ = {};
|
|
1864
1864
|
(j = De.value) == null || j.forEach((d) => {
|
|
1865
1865
|
_[d.prop] = d == null ? void 0 : d.value;
|
|
1866
1866
|
}), Le.value = _;
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
|
-
|
|
1869
|
+
xl.value = !1;
|
|
1870
1870
|
}, wr = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", zr = (e) => {
|
|
1871
1871
|
var u, o;
|
|
1872
1872
|
const l = (o = (u = We.value) == null ? void 0 : u.find((t) => (t == null ? void 0 : t.label) === (e == null ? void 0 : e.label))) == null ? void 0 : o.multiple, r = e == null ? void 0 : e.prop;
|
|
@@ -1876,11 +1876,11 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1876
1876
|
const c = t == null ? void 0 : t[r];
|
|
1877
1877
|
l && Ga(c) && (t[r] = [c]), !l && !Ga(c) && (t[r] = "");
|
|
1878
1878
|
});
|
|
1879
|
-
},
|
|
1879
|
+
}, Ea = (e, l) => {
|
|
1880
1880
|
var r;
|
|
1881
1881
|
return l == null || l.forEach((a) => {
|
|
1882
1882
|
e[a == null ? void 0 : a.prop] = a == null ? void 0 : a.value;
|
|
1883
|
-
}), e.children && ((r = e.children) == null ? void 0 : r.length) > 0 && (e.children = e.children.map((a) =>
|
|
1883
|
+
}), e.children && ((r = e.children) == null ? void 0 : r.length) > 0 && (e.children = e.children.map((a) => Ea(a, l))), e;
|
|
1884
1884
|
}, da = (e) => {
|
|
1885
1885
|
var r, a, s, u, o, t;
|
|
1886
1886
|
Pl("");
|
|
@@ -1889,7 +1889,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1889
1889
|
Le.value = l, Ye.value = "", kl.value = (s = Y.value) == null ? void 0 : s.length, Tl.value = (u = dl.value) == null ? void 0 : u.filter((p) => (p == null ? void 0 : p.label) !== "新增");
|
|
1890
1890
|
const c = (t = (o = Te.value) == null ? void 0 : o.filter((p) => (p == null ? void 0 : p.label) !== "操作")) == null ? void 0 : t.map((p) => {
|
|
1891
1891
|
var C, f, m;
|
|
1892
|
-
const v = (f = (C = We.value) == null ? void 0 : C.find((
|
|
1892
|
+
const v = (f = (C = We.value) == null ? void 0 : C.find((E) => (E == null ? void 0 : E.label) === (p == null ? void 0 : p.label))) == null ? void 0 : f.multiple;
|
|
1893
1893
|
return zr(p), {
|
|
1894
1894
|
...p,
|
|
1895
1895
|
contents: (p == null ? void 0 : p.options) ?? [],
|
|
@@ -1905,7 +1905,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1905
1905
|
// columnType: convertColType(col?.formType) || col?.columnType
|
|
1906
1906
|
};
|
|
1907
1907
|
});
|
|
1908
|
-
R.value = c == null ? void 0 : c.map((p) =>
|
|
1908
|
+
R.value = c == null ? void 0 : c.map((p) => Ea(p, [{
|
|
1909
1909
|
prop: "type",
|
|
1910
1910
|
value: "edit"
|
|
1911
1911
|
}, { prop: "columnType", value: wr(p == null ? void 0 : p.formType) || (p == null ? void 0 : p.columnType) }])), e === "createClick" && $l(!1);
|
|
@@ -1914,7 +1914,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1914
1914
|
START: "开始时间",
|
|
1915
1915
|
END: "结束时间",
|
|
1916
1916
|
HOURS: "工时"
|
|
1917
|
-
}, Jr = (e, l) => Number(Na(l).diff(Na(e), "day", !0).toFixed(1)),
|
|
1917
|
+
}, Jr = (e, l) => Number(Na(l).diff(Na(e), "day", !0).toFixed(1)), xa = (e) => {
|
|
1918
1918
|
var u;
|
|
1919
1919
|
const l = i.itemData, r = (u = l == null ? void 0 : l.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : u.contents, a = /* @__PURE__ */ new Map();
|
|
1920
1920
|
return r == null || r.forEach((o, t) => {
|
|
@@ -1944,7 +1944,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1944
1944
|
let a = [];
|
|
1945
1945
|
return a = ja(e, l == null ? void 0 : l.contents, 0), a;
|
|
1946
1946
|
}, Pa = (e, l) => {
|
|
1947
|
-
var f, m,
|
|
1947
|
+
var f, m, E, P, U, W, z, K, n, S, h, T, k, H, j, O, J, b, x, _, d, M, F, ee, L;
|
|
1948
1948
|
const r = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "header");
|
|
1949
1949
|
e == null || e.filter((y) => (y == null ? void 0 : y.key) === "tableIndexColumn")[0];
|
|
1950
1950
|
const a = e == null ? void 0 : e.filter((y) => (y == null ? void 0 : y.key) === "childTree")[0];
|
|
@@ -1954,23 +1954,23 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
1954
1954
|
let v = [];
|
|
1955
1955
|
pl.value === "" ? v = r == null ? void 0 : r[0] : v = (r == null ? void 0 : r.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (r == null ? void 0 : r.find((y) => !(y != null && y.selectLabel)));
|
|
1956
1956
|
let C = [];
|
|
1957
|
-
if (pl.value === "" ? C = p == null ? void 0 : p[0] : C = (p == null ? void 0 : p.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (p == null ? void 0 : p.find((y) => !(y != null && y.selectLabel))), ((
|
|
1957
|
+
if (pl.value === "" ? C = p == null ? void 0 : p[0] : C = (p == null ? void 0 : p.find((y) => (y == null ? void 0 : y.selectLabel) === "(" + pl.value + ")")) ?? (p == null ? void 0 : p.find((y) => !(y != null && y.selectLabel))), ((E = v == null ? void 0 : v.contents) == null ? void 0 : E.length) > 0) {
|
|
1958
1958
|
let y = [];
|
|
1959
1959
|
if (v != null && v.contents.some((A) => Array.isArray(A) && (A == null ? void 0 : A.find((g) => g.children))))
|
|
1960
1960
|
ll.value === "" ? y = (U = (P = Fa(v == null ? void 0 : v.contents)) == null ? void 0 : P[0]) == null ? void 0 : U.filter((A) => !Array.isArray(A)) : (ll.value.split("-"), y = (W = Fa(v == null ? void 0 : v.contents)) == null ? void 0 : W[0]);
|
|
1961
1961
|
else {
|
|
1962
1962
|
let A = v != null && v.contents.some((g) => Array.isArray(g)) ? (z = v == null ? void 0 : v.contents) == null ? void 0 : z[0] : v == null ? void 0 : v.contents;
|
|
1963
1963
|
A == null || A.forEach((g, ue) => {
|
|
1964
|
-
var ke,
|
|
1964
|
+
var ke, Ee, xe, sl;
|
|
1965
1965
|
let pe = "";
|
|
1966
|
-
(
|
|
1966
|
+
(Ee = (ke = Z.value) == null ? void 0 : ke.split("/")) == null || Ee.forEach((Ke) => {
|
|
1967
1967
|
var ul, il, Bl;
|
|
1968
1968
|
if (Ke !== "") {
|
|
1969
1969
|
let Al = (Bl = (il = (ul = Ke == null ? void 0 : Ke.split(oe + "updateLoading")) == null ? void 0 : ul[0]) == null ? void 0 : il.split(oe + "loading")) == null ? void 0 : Bl[0];
|
|
1970
1970
|
pe = pe === "" ? pe + Al : pe + "/" + Al;
|
|
1971
1971
|
}
|
|
1972
1972
|
}), pe = pe + oe + (g == null ? void 0 : g.directiveLabel);
|
|
1973
|
-
const se = (
|
|
1973
|
+
const se = (xe = We.value) == null ? void 0 : xe.find((Ke) => (Ke == null ? void 0 : Ke.prop) === (g == null ? void 0 : g.prop));
|
|
1974
1974
|
y.push({
|
|
1975
1975
|
label: (g == null ? void 0 : g.label) ?? "",
|
|
1976
1976
|
prop: (g == null ? void 0 : g.label) === "操作" ? "operate" : (g == null ? void 0 : g.prop) ?? "a" + ue,
|
|
@@ -2024,7 +2024,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
return A;
|
|
2026
2026
|
}));
|
|
2027
|
-
const _e = !!((
|
|
2027
|
+
const _e = !!((x = R.value) != null && x.find((A) => A.prop === "index"));
|
|
2028
2028
|
ve = Qa(ve, C == null ? void 0 : C.contents, _e);
|
|
2029
2029
|
const Se = [];
|
|
2030
2030
|
ve == null || ve.forEach((A, g) => {
|
|
@@ -2032,18 +2032,18 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2032
2032
|
let ue = {};
|
|
2033
2033
|
if (Array.isArray(A)) {
|
|
2034
2034
|
let se = [];
|
|
2035
|
-
A == null || A.filter((ke) => !(ke != null && ke.id)).forEach((ke,
|
|
2036
|
-
var
|
|
2037
|
-
if ((
|
|
2035
|
+
A == null || A.filter((ke) => !(ke != null && ke.id)).forEach((ke, Ee) => {
|
|
2036
|
+
var xe, sl, Ke, ul, il, Bl;
|
|
2037
|
+
if ((xe = G == null ? void 0 : G[Ee]) != null && xe.prop && !Array.isArray(ke)) {
|
|
2038
2038
|
let Al = {};
|
|
2039
|
-
Al[G[
|
|
2039
|
+
Al[G[Ee].column] = ke, ye != null && ye.value && ((sl = ye == null ? void 0 : ye.value) == null ? void 0 : sl.length) > 0 && ((Ke = ye == null ? void 0 : ye.value) != null && Ke.find((Qe) => JSON.stringify(Qe == null ? void 0 : Qe[0]) === JSON.stringify(Al))) && (se = (ul = ye == null ? void 0 : ye.value) == null ? void 0 : ul.find((Qe) => JSON.stringify(Qe == null ? void 0 : Qe[0]) === JSON.stringify(Al))), se && se.length > 0 ? ue[G[Ee].prop] = se != null && se.find((Qe) => {
|
|
2040
2040
|
var Ml;
|
|
2041
|
-
return ((Ml = Object.keys(Qe)) == null ? void 0 : Ml[0]) === G[
|
|
2041
|
+
return ((Ml = Object.keys(Qe)) == null ? void 0 : Ml[0]) === G[Ee].column;
|
|
2042
2042
|
}) ? (il = se == null ? void 0 : se.find((Qe) => {
|
|
2043
2043
|
var Ml;
|
|
2044
|
-
return ((Ml = Object.keys(Qe)) == null ? void 0 : Ml[0]) === G[
|
|
2045
|
-
})) == null ? void 0 : il[G[
|
|
2046
|
-
} else Array.isArray(ke) && ((Bl = G[
|
|
2044
|
+
return ((Ml = Object.keys(Qe)) == null ? void 0 : Ml[0]) === G[Ee].column;
|
|
2045
|
+
})) == null ? void 0 : il[G[Ee].column] : ke : ue[G[Ee].prop] = ke;
|
|
2046
|
+
} else Array.isArray(ke) && ((Bl = G[Ee]) != null && Bl.prop ? ue[G[Ee].prop] = ke : ue.children = ga(ke, G));
|
|
2047
2047
|
});
|
|
2048
2048
|
} else
|
|
2049
2049
|
ue = A;
|
|
@@ -2054,7 +2054,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2054
2054
|
});
|
|
2055
2055
|
} else
|
|
2056
2056
|
R.value = [], Te.value = [], Y.value = [], wl.value = [], zl.value = /* @__PURE__ */ new Map();
|
|
2057
|
-
((d = o == null ? void 0 : o.contents) == null ? void 0 : d.length) > 0 ? cl.value = o == null ? void 0 : o.contents : cl.value = [], ((M = t == null ? void 0 : t.contents) == null ? void 0 : M.length) > 0 ? (Tl.value = t == null ? void 0 : t.contents, dl.value = t == null ? void 0 : t.contents) : (Tl.value = [], dl.value = []), kl.value = ((F = Y == null ? void 0 : Y.value) == null ? void 0 : F.length) ?? 0,
|
|
2057
|
+
((d = o == null ? void 0 : o.contents) == null ? void 0 : d.length) > 0 ? cl.value = o == null ? void 0 : o.contents : cl.value = [], ((M = t == null ? void 0 : t.contents) == null ? void 0 : M.length) > 0 ? (Tl.value = t == null ? void 0 : t.contents, dl.value = t == null ? void 0 : t.contents) : (Tl.value = [], dl.value = []), kl.value = ((F = Y == null ? void 0 : Y.value) == null ? void 0 : F.length) ?? 0, xa(Y.value), Gl.value = Y.value, fl.value && (R.value = (L = (ee = Te.value) == null ? void 0 : ee.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : L.map((y) => {
|
|
2058
2058
|
var G;
|
|
2059
2059
|
return {
|
|
2060
2060
|
...y,
|
|
@@ -2108,14 +2108,14 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2108
2108
|
var a;
|
|
2109
2109
|
Ca(r, e, l), Le.value = q(e), Ye.value = e == null ? void 0 : e.id, kl.value = (a = Y.value) == null ? void 0 : a.length, qe.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", $l(!1);
|
|
2110
2110
|
}, Pe = (e) => {
|
|
2111
|
-
var c, p, v, C, f, m,
|
|
2111
|
+
var c, p, v, C, f, m, E, P, U, W;
|
|
2112
2112
|
const { row: l, column: r, item: a, slotData: s } = e;
|
|
2113
|
-
let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((p = (c = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : c[0]) == null ? void 0 : p.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((C = (v = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : C.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (f = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : f[0]) == null ? void 0 : m.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((U = (P = l == null ? void 0 : l[(
|
|
2113
|
+
let u = l != null && l[r == null ? void 0 : r.prop] || (l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? ((p = (c = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : c[0]) == null ? void 0 : p.contents) ?? ((l == null ? void 0 : l[r == null ? void 0 : r.prop]) === 0 ? "0" : l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((C = (v = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : v[0]) == null ? void 0 : C.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((m = (f = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : f[0]) == null ? void 0 : m.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((U = (P = l == null ? void 0 : l[(E = a == null ? void 0 : a.child) == null ? void 0 : E.prop]) == null ? void 0 : P[0]) == null ? void 0 : U.contents) ?? (l == null ? void 0 : l[(W = a == null ? void 0 : a.child) == null ? void 0 : W.prop]), t = Array.isArray(u) && !(u != null && u.every((z) => typeof z == "string" || typeof z == "number")) ? "查看" : u;
|
|
2114
2114
|
return t = Array.isArray(t) ? t.join(",") : t, t;
|
|
2115
2115
|
}, qr = (e) => {
|
|
2116
|
-
var p, v, C, f, m,
|
|
2116
|
+
var p, v, C, f, m, E, P, U, W, z;
|
|
2117
2117
|
const { row: l, column: r, item: a, slotData: s } = e;
|
|
2118
|
-
let u = l != null && l[r == null ? void 0 : r.prop] ? ((v = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((f = (C = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : C[0]) == null ? void 0 : f.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((
|
|
2118
|
+
let u = l != null && l[r == null ? void 0 : r.prop] ? ((v = (p = l == null ? void 0 : l[r == null ? void 0 : r.prop]) == null ? void 0 : p[0]) == null ? void 0 : v.contents) ?? (l == null ? void 0 : l[r == null ? void 0 : r.prop]) : ((f = (C = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : C[0]) == null ? void 0 : f.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((E = (m = s == null ? void 0 : s[a == null ? void 0 : a.prop]) == null ? void 0 : m[0]) == null ? void 0 : E.contents) ?? (s == null ? void 0 : s[a == null ? void 0 : a.prop]) ?? ((W = (U = l == null ? void 0 : l[(P = a == null ? void 0 : a.child) == null ? void 0 : P.prop]) == null ? void 0 : U[0]) == null ? void 0 : W.contents) ?? (l == null ? void 0 : l[(z = a == null ? void 0 : a.child) == null ? void 0 : z.prop]);
|
|
2119
2119
|
const t = Array.isArray(u) && !(u != null && u.every((K) => typeof K == "string" || typeof K == "number")), c = Array.isArray(u) && (u == null ? void 0 : u.find((K) => K == null ? void 0 : K.url));
|
|
2120
2120
|
return t && c;
|
|
2121
2121
|
}, Xr = (e, l) => e.find((r) => Object.values(r).some((a) => a === l));
|
|
@@ -2173,14 +2173,14 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2173
2173
|
onClickButton: Yl
|
|
2174
2174
|
}, Ir({
|
|
2175
2175
|
headerButton: re((f) => {
|
|
2176
|
-
var m,
|
|
2176
|
+
var m, E;
|
|
2177
2177
|
return [
|
|
2178
2178
|
N.showHeader ? (ie(), Fe(Mn, {
|
|
2179
2179
|
key: 0,
|
|
2180
2180
|
lockingPage: Ie(Fl) === Ie(Z),
|
|
2181
2181
|
filterValues: Ta.value,
|
|
2182
2182
|
selectNums: (m = He.value) == null ? void 0 : m.length,
|
|
2183
|
-
dataNums: (
|
|
2183
|
+
dataNums: (E = Y.value) == null ? void 0 : E.length,
|
|
2184
2184
|
compName: N.compName,
|
|
2185
2185
|
isDevMode: N.isDevMode,
|
|
2186
2186
|
buttons: f.buttons,
|
|
@@ -2196,7 +2196,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2196
2196
|
var f, m;
|
|
2197
2197
|
return [
|
|
2198
2198
|
((f = Y.value) == null ? void 0 : f.length) > 0 && N.allowOperate ? (ie(), Ue("div", es, [
|
|
2199
|
-
(m = cl.value) != null && m.some((
|
|
2199
|
+
(m = cl.value) != null && m.some((E) => (E == null ? void 0 : E.label) === "编辑") && !ql.value && Ie(Fl) !== Ie(Z) ? (ie(), Ue("span", {
|
|
2200
2200
|
key: 0,
|
|
2201
2201
|
title: "编辑表格",
|
|
2202
2202
|
onClick: $a
|
|
@@ -2222,7 +2222,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2222
2222
|
be("span", {
|
|
2223
2223
|
title: "新增",
|
|
2224
2224
|
class: "row-create-wrap",
|
|
2225
|
-
onClick: (
|
|
2225
|
+
onClick: (E) => Gr(f, m)
|
|
2226
2226
|
}, [
|
|
2227
2227
|
te(r, {
|
|
2228
2228
|
name: "rowCreate",
|
|
@@ -2311,16 +2311,16 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2311
2311
|
var m;
|
|
2312
2312
|
return [
|
|
2313
2313
|
be("div", ss, [
|
|
2314
|
-
(ie(!0), Ue(vl, null, bl((m = Object.keys(f)) == null ? void 0 : m.filter((
|
|
2314
|
+
(ie(!0), Ue(vl, null, bl((m = Object.keys(f)) == null ? void 0 : m.filter((E) => {
|
|
2315
2315
|
var P;
|
|
2316
|
-
return (P = ae.value) == null ? void 0 : P.find((U) => (U == null ? void 0 : U.value) ===
|
|
2317
|
-
}), (
|
|
2316
|
+
return (P = ae.value) == null ? void 0 : P.find((U) => (U == null ? void 0 : U.value) === E);
|
|
2317
|
+
}), (E) => {
|
|
2318
2318
|
var P, U;
|
|
2319
|
-
return ie(), Ue("div", { key:
|
|
2319
|
+
return ie(), Ue("div", { key: E }, [
|
|
2320
2320
|
te(s, {
|
|
2321
|
-
"model-value": f == null ? void 0 : f[
|
|
2322
|
-
"active-text": (U = (P = ae.value) == null ? void 0 : P.find((W) => (W == null ? void 0 : W.value) ===
|
|
2323
|
-
onChange: (W) => yr(W,
|
|
2321
|
+
"model-value": f == null ? void 0 : f[E],
|
|
2322
|
+
"active-text": (U = (P = ae.value) == null ? void 0 : P.find((W) => (W == null ? void 0 : W.value) === E)) == null ? void 0 : U.label,
|
|
2323
|
+
onChange: (W) => yr(W, E, f)
|
|
2324
2324
|
}, null, 8, ["model-value", "active-text", "onChange"])
|
|
2325
2325
|
]);
|
|
2326
2326
|
}), 128))
|
|
@@ -2346,7 +2346,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2346
2346
|
})
|
|
2347
2347
|
]),
|
|
2348
2348
|
content: re((f) => {
|
|
2349
|
-
var m,
|
|
2349
|
+
var m, E, P, U, W, z, K, n, S, h, T, k, H, j, O, J, b, x;
|
|
2350
2350
|
return [
|
|
2351
2351
|
qr(f) ? (ie(), Fe(a, {
|
|
2352
2352
|
key: 0,
|
|
@@ -2381,9 +2381,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2381
2381
|
}, 1024)) : (ie(), Ue("div", {
|
|
2382
2382
|
key: 1,
|
|
2383
2383
|
style: Ol({
|
|
2384
|
-
color: !Array.isArray(Pe(f)) && ((
|
|
2384
|
+
color: !Array.isArray(Pe(f)) && ((E = (m = Pe(f)) == null ? void 0 : m.toString()) != null && E.includes(".txt") || (U = (P = Pe(f)) == null ? void 0 : P.toString()) != null && U.includes(".cpt") || (z = (W = Pe(f)) == null ? void 0 : W.toString()) != null && z.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
|
|
2385
2385
|
textDecoration: !Array.isArray(Pe(f)) && ((n = (K = Pe(f)) == null ? void 0 : K.toString()) != null && n.includes(".txt") || (h = (S = Pe(f)) == null ? void 0 : S.toString()) != null && h.includes(".cpt") || (k = (T = Pe(f)) == null ? void 0 : T.toString()) != null && k.includes(".cyd")) ? "underline" : "",
|
|
2386
|
-
cursor: !Array.isArray(Pe(f)) && ((j = (H = Pe(f)) == null ? void 0 : H.toString()) != null && j.includes(".txt") || (J = (O = Pe(f)) == null ? void 0 : O.toString()) != null && J.includes(".cpt") || (
|
|
2386
|
+
cursor: !Array.isArray(Pe(f)) && ((j = (H = Pe(f)) == null ? void 0 : H.toString()) != null && j.includes(".txt") || (J = (O = Pe(f)) == null ? void 0 : O.toString()) != null && J.includes(".cpt") || (x = (b = Pe(f)) == null ? void 0 : b.toString()) != null && x.includes(".cyd")) ? "pointer" : "",
|
|
2387
2387
|
marginLeft: (f == null ? void 0 : f.colIndex) === 0 ? `${((f == null ? void 0 : f.level) ?? 0) * 20}px` : 0
|
|
2388
2388
|
}),
|
|
2389
2389
|
onClick: (_) => sr(Pe(f))
|
|
@@ -2408,9 +2408,9 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2408
2408
|
]),
|
|
2409
2409
|
default: re(() => [
|
|
2410
2410
|
be("div", In, [
|
|
2411
|
-
(ie(!0), Ue(vl, null, bl(Tr(cl.value, f), (m,
|
|
2411
|
+
(ie(!0), Ue(vl, null, bl(Tr(cl.value, f), (m, E) => (ie(), Ue("div", {
|
|
2412
2412
|
class: "menu-config-item",
|
|
2413
|
-
key:
|
|
2413
|
+
key: E,
|
|
2414
2414
|
onClick: (P) => Yl(m == null ? void 0 : m.label, f, { extra: m })
|
|
2415
2415
|
}, [
|
|
2416
2416
|
be("div", {
|
|
@@ -2537,7 +2537,7 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2537
2537
|
}, {
|
|
2538
2538
|
default: re(() => [
|
|
2539
2539
|
te(pn, {
|
|
2540
|
-
"file-urls":
|
|
2540
|
+
"file-urls": El.value,
|
|
2541
2541
|
isThreeScene: Re.value,
|
|
2542
2542
|
isSelfWindow: !0,
|
|
2543
2543
|
threeData: we.value
|
|
@@ -2559,12 +2559,12 @@ const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
|
|
|
2559
2559
|
]);
|
|
2560
2560
|
};
|
|
2561
2561
|
}
|
|
2562
|
-
},
|
|
2562
|
+
}, xs = /* @__PURE__ */ aa(ys, [["__scopeId", "data-v-c6360b92"]]);
|
|
2563
2563
|
export {
|
|
2564
2564
|
Yn as a,
|
|
2565
2565
|
Fn as b,
|
|
2566
2566
|
Ra as f,
|
|
2567
2567
|
qa as g,
|
|
2568
|
-
|
|
2568
|
+
xs as s,
|
|
2569
2569
|
Rn as u
|
|
2570
2570
|
};
|