ss-component-new 1.3.476 → 1.3.477
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-C6q1Tjyc.cjs → MTLLoader-BV8-OAj_.cjs} +1 -1
- package/dist/{MTLLoader-B2pltlug.js → MTLLoader-DkJ_Vbuo.js} +1 -1
- package/dist/{OrbitControls-BTFtF5EI.js → OrbitControls-C4OY_w4-.js} +1 -1
- package/dist/{OrbitControls-DpGoQU_G.cjs → OrbitControls-F2w-rZQ0.cjs} +1 -1
- package/dist/{URDFLoader-DSMz1VYW.js → URDFLoader-DRJCbLnj.js} +2 -2
- package/dist/{URDFLoader--kkx5MJK.cjs → URDFLoader-DSfk-yVN.cjs} +1 -1
- package/dist/{animationData-Dypm9wXl.cjs → animationData-BcPlDaUu.cjs} +1 -1
- package/dist/{animationData-Ba3Q9brp.js → animationData-ByJHwdT4.js} +3 -3
- package/dist/{array-BZCIUB75.js → array-CT50xH3_.js} +3 -3
- package/dist/{array-BM5nO2xD.cjs → array-DLCrWhLk.cjs} +1 -1
- package/dist/clone-C9CqV0vm.cjs +1 -0
- package/dist/{clone-CHuh4brN.js → clone-EMplXNdV.js} +1 -1
- package/dist/{iconfont-DSsIBuf2.js → iconfont-BrZ_AJm3.js} +2 -2
- package/dist/{iconfont-Dn92KI9S.cjs → iconfont-Cle12c12.cjs} +1 -1
- package/dist/{index-DVXIH2EI.cjs → index-9xwjCDdC.cjs} +1 -1
- package/dist/{index-8t0ExDzU.cjs → index-B1v2-GVC.cjs} +2 -2
- package/dist/{index-BS3ltWsP.js → index-B3IeyAe9.js} +4 -4
- package/dist/{index-1mQueA3V.cjs → index-B7964G2F.cjs} +1 -1
- package/dist/{index-C6jWzwCG.js → index-B7Y6ZTSl.js} +7 -7
- package/dist/{index-CrWrs_KJ.js → index-B9C9X5Fc.js} +3 -3
- package/dist/index-BFYPJp0M.cjs +1 -0
- package/dist/{index-CBgZIs0Y.cjs → index-BLCDNmVk.cjs} +1 -1
- package/dist/{index-2cm3JZ82.cjs → index-BRlo6hEo.cjs} +1 -1
- package/dist/{index-B3ZFO5B5.js → index-BSONXvUz.js} +2 -2
- package/dist/{index-DKWr8oji.cjs → index-BTsZZITH.cjs} +1 -1
- package/dist/{index-D4df8WCz.js → index-BUWFOyFs.js} +1 -1
- package/dist/{index-B4Cm0GS_.cjs → index-BXZ5rAo2.cjs} +1 -1
- package/dist/{index-cn55BO0U.js → index-BXZZXCDb.js} +2 -2
- package/dist/{index-JsUxkVoj.js → index-Bb3lZIu8.js} +4463 -4462
- package/dist/{index-DMYHrzvW.cjs → index-Bn_H21fe.cjs} +1 -1
- package/dist/{index-DypGyB3X.js → index-By3nE_MX.js} +2 -2
- package/dist/{index-CGNNHgPK.cjs → index-C4miPF2C.cjs} +1 -1
- package/dist/{index-CsWE-1iT.js → index-C70jrphE.js} +2 -2
- package/dist/{index-BVXSPL5O.cjs → index-CAcprKxu.cjs} +1 -1
- package/dist/{index-Bkwc6r6A.js → index-CDLSrajT.js} +1 -1
- package/dist/{index-Dnvfdb0J.js → index-CLCAJp3r.js} +9791 -9691
- package/dist/{index-Dom0zBom.cjs → index-CMUsYepp.cjs} +7 -7
- package/dist/{index-Cvn9j6Uk.cjs → index-CMYBCRbb.cjs} +1 -1
- package/dist/{index-CkVSgoqc.js → index-CPu7VjGs.js} +2 -2
- package/dist/{index-00rg0v2Y.cjs → index-CagXBqkS.cjs} +1 -1
- package/dist/{index-CNKespzb.js → index-ClG8FDQH.js} +2 -2
- package/dist/{index-DSQTv7ZT.cjs → index-ClhL7VZf.cjs} +1 -1
- package/dist/{index-DSazO1WU.cjs → index-CnihUuSz.cjs} +1 -1
- package/dist/{index-CrtwV-pt.js → index-CoOPTdE7.js} +1 -1
- package/dist/{index-DlhNUDJj.js → index-CrbJ9-F1.js} +1 -1
- package/dist/{index-D6RGTlCo.js → index-CwJwXVns.js} +960 -956
- package/dist/{index-DNUwCy8v.js → index-Cwoe3CVm.js} +4 -4
- package/dist/{index-CZp5_GWt.js → index-D-547T_n.js} +1 -1
- package/dist/{index-C8kTgNE5.cjs → index-D6i5AAfI.cjs} +1 -1
- package/dist/{index-Cc43YUZe.cjs → index-D9F2Jtze.cjs} +1 -1
- package/dist/{index-DR9zccv1.js → index-DCFSkaq3.js} +5 -5
- package/dist/{index-DetbfoFY.js → index-DDUJHG5-.js} +1 -1
- package/dist/{index-D6CkQo8N.js → index-DDtx0qrQ.js} +4 -4
- package/dist/{index-CcHYBFNY.js → index-DLX-YmwS.js} +3 -3
- package/dist/{index-ByP1mYFv.cjs → index-DXiuTpL6.cjs} +1 -1
- package/dist/{index-D7MQ-pKV.cjs → index-DanpISJC.cjs} +1 -1
- package/dist/{index-BoSbQ2Mg.cjs → index-DoopASUC.cjs} +1 -1
- package/dist/{index-DtOagODh.cjs → index-Dp1GOwvG.cjs} +1 -1
- package/dist/{index-CBKu-nLA.cjs → index-DwVrxTC1.cjs} +1 -1
- package/dist/{index-DYvi5VRx.js → index-DzvDAdZa.js} +2 -2
- package/dist/index-OtAdp5I3.cjs +26 -0
- package/dist/index-PodRwgKA.cjs +2 -0
- package/dist/{index-m2-jgnHZ.cjs → index-R8iX3F_2.cjs} +1 -1
- package/dist/{index-DZj4808N.cjs → index-T0lYm3bF.cjs} +1 -1
- package/dist/{index-Dr4B59gA.js → index-THTSy08x.js} +1 -1
- package/dist/{index-Ckn3d1G6.js → index-Zyl3KK85.js} +173 -173
- package/dist/{index-CUU2dU4n.js → index-bx2qkTcB.js} +8 -7
- package/dist/{index-3nwwnmSR.js → index-ckHrJ9I8.js} +1 -1
- package/dist/{index-BWJFHqMW.cjs → index-eZEQVS4o.cjs} +1 -1
- package/dist/{index-21hcA_h-.cjs → index-nNoZ_LmT.cjs} +1 -1
- package/dist/{index-B_YJtDIG.js → index-qnPvvEq6.js} +3 -3
- package/dist/{index-BaTx4Jyy.js → index-w9yld9mA.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-D7A8Ry86.cjs → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Byr5bNn8.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CZ4Uea3X.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CxgD2Ymu.js} +3 -3
- package/dist/{main-Ca9HBqfk.cjs → main-DnJrebVO.cjs} +1 -1
- package/dist/{main-CMhYvZfQ.js → main-SXWy3Tpb.js} +4 -4
- package/dist/{menuIndex-Cdz5Y6LK.js → menuIndex-6R2YfOgI.js} +1 -1
- package/dist/{menuIndex-WtaEC57t.cjs → menuIndex-CBqMx085.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-vkvcj6fI.js → threeModel-DlTttqQQ.js} +4 -4
- package/dist/{threeModel-B_TF5TXQ.cjs → threeModel-iUcTQUiB.cjs} +1 -1
- package/dist/{threePreview-CLfADO6S.js → threePreview-BX4TE3wq.js} +4 -4
- package/dist/{threePreview-CupE9LtW.cjs → threePreview-tq95fMu4.cjs} +1 -1
- package/dist/{threeSceneView-BNN8oOOc.cjs → threeSceneView-DsBYR79k.cjs} +1 -1
- package/dist/{threeSceneView-DoSNsUAl.js → threeSceneView-OFwfu78i.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-KpIv0YdR.js → threeSceneViewForCPMPIP-BGWt8zEz.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-C4XUlcth.cjs → threeSceneViewForCPMPIP-BHkUWgu0.cjs} +1 -1
- package/dist/{threeTrackPathView-CT-Zf7DQ.cjs → threeTrackPathView-BCPPOYou.cjs} +1 -1
- package/dist/{threeTrackPathView-B-C1E0gk.js → threeTrackPathView-CvMBrwin.js} +4 -4
- package/dist/{threeViewerHost-Dr-9Cpaj.cjs → threeViewerHost-4LZV9Vmj.cjs} +1 -1
- package/dist/{threeViewerHost-CAlKGGlU.js → threeViewerHost-BNhhR6FK.js} +3 -3
- package/dist/{urdfTree-C8lqb0UX.js → urdfTree-BI4GYRDL.js} +1 -1
- package/dist/{urdfTree-CbH1pKoZ.cjs → urdfTree-Bys_2Khv.cjs} +1 -1
- package/dist/{workpieceTreePanel-pX-gvmFM.js → workpieceTreePanel-C7Ktiu4o.js} +4 -4
- package/dist/{workpieceTreePanel-buRFPNCp.cjs → workpieceTreePanel-o9WH_Qrq.cjs} +1 -1
- package/package.json +1 -1
- package/dist/clone-7j6nCPRO.cjs +0 -1
- package/dist/index-BgizgbEP.cjs +0 -26
- package/dist/index-CK4oCSlg.cjs +0 -1
- package/dist/index-DuqqmwL9.cjs +0 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { S as
|
|
4
|
-
import "./index.
|
|
5
|
-
import { I as
|
|
6
|
-
import { s as
|
|
7
|
-
import { c as
|
|
8
|
-
import { useRouter as
|
|
9
|
-
import { a as
|
|
10
|
-
import { g as qe, u as
|
|
11
|
-
import { g as
|
|
12
|
-
import { f as
|
|
13
|
-
import { d as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const Ue =
|
|
1
|
+
import { defineAsyncComponent as gt, computed as we, onMounted as Qe, resolveComponent as N, createBlock as Le, openBlock as F, withCtx as J, resolveDynamicComponent as Xe, defineComponent as Ct, defineProps as kt, ref as O, watch as Ke, reactive as _t, nextTick as Dt, createElementBlock as K, Fragment as Be, createVNode as $, createCommentVNode as Te, normalizeStyle as It, toDisplayString as $e, createElementVNode as Me, renderList as ze, createTextVNode as xe } from "vue";
|
|
2
|
+
import { u as St, a as bt, p as Je, b as Tt, s as Ee, c as je, v as Fe } from "./index-CwJwXVns.js";
|
|
3
|
+
import { S as Mt } from "./index-BHtNKL1L.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CxgD2Ymu.js";
|
|
5
|
+
import { I as wt } from "./request-XJsZ4h2T.js";
|
|
6
|
+
import { s as ut } from "./index-11kpzK0A.js";
|
|
7
|
+
import { c as At } from "./index-bx2qkTcB.js";
|
|
8
|
+
import { useRouter as Bt } from "vue-router";
|
|
9
|
+
import { a as Et, e as Ft, f as Lt, g as Ut, h as jt } from "./index-ChNfRlIP.js";
|
|
10
|
+
import { g as qe, u as Pt, b as We, c as Ot, a as Rt } from "./index-DUq4XELr.js";
|
|
11
|
+
import { g as Kt } from "./index-CLCAJp3r.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-6R2YfOgI.js";
|
|
13
|
+
import { d as Ge, e as Ne, n as zt } from "./index-CrbJ9-F1.js";
|
|
14
|
+
import { u as xt } from "./index-BXZZXCDb.js";
|
|
15
|
+
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ue = gt(() => import("./index-bx2qkTcB.js").then((i) => i.p));
|
|
17
17
|
Ue.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Ue);
|
|
19
19
|
};
|
|
@@ -23,34 +23,34 @@ const qt = {
|
|
|
23
23
|
name: String
|
|
24
24
|
},
|
|
25
25
|
setup(i) {
|
|
26
|
-
const n = i, S = we(() =>
|
|
27
|
-
return
|
|
26
|
+
const n = i, S = we(() => wt[n.name]);
|
|
27
|
+
return Qe(() => {
|
|
28
28
|
}), (f, a) => {
|
|
29
29
|
const l = N("el-icon");
|
|
30
30
|
return F(), Le(l, null, {
|
|
31
|
-
default:
|
|
32
|
-
(F(), Le(
|
|
31
|
+
default: J(() => [
|
|
32
|
+
(F(), Le(Xe(S.value)))
|
|
33
33
|
]),
|
|
34
34
|
_: 1
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Ye = (i, n, S = 0) => {
|
|
39
39
|
let f = i;
|
|
40
40
|
return f != null && f.every((a) => Array.isArray(a)) && (f != null && f.every((a) => Array.isArray(a) && a.length === 1) ? f = f == null ? void 0 : f.filter((a) => (a == null ? void 0 : a[0]) !== (n == null ? void 0 : n[S])) : f = f == null ? void 0 : f.map((a) => {
|
|
41
41
|
if (a != null && a.find((l) => l === (n == null ? void 0 : n[S])) && (n == null ? void 0 : n.length) !== 1) {
|
|
42
|
-
let l = je(n), r = a == null ? void 0 : a.filter((y) => y !== (l == null ? void 0 : l[S])), I = S + 1, w =
|
|
42
|
+
let l = je(n), r = a == null ? void 0 : a.filter((y) => y !== (l == null ? void 0 : l[S])), I = S + 1, w = Ye(r, l, I), M = [];
|
|
43
43
|
M.push(a == null ? void 0 : a[0]), w == null || w.forEach((y) => {
|
|
44
44
|
M.push(y);
|
|
45
45
|
}), a = M;
|
|
46
46
|
}
|
|
47
47
|
return a;
|
|
48
48
|
})), f;
|
|
49
|
-
},
|
|
49
|
+
}, Ze = (i, n, S, f = 0) => {
|
|
50
50
|
let a = i;
|
|
51
51
|
return a != null && a.every((l) => Array.isArray(l)) && (a != null && a.every((l) => Array.isArray(l) && l.length === 1) ? a.push([S]) : a = a == null ? void 0 : a.map((l) => {
|
|
52
52
|
if (l != null && l.find((r) => r === (n == null ? void 0 : n[f])) && (n == null ? void 0 : n.length) !== 1) {
|
|
53
|
-
let r = je(n), I = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, M =
|
|
53
|
+
let r = je(n), I = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, M = Ze(I, r, S, w), y = [];
|
|
54
54
|
y.push(l == null ? void 0 : l[0]), M == null || M.forEach((u) => {
|
|
55
55
|
y.push(u);
|
|
56
56
|
}), l = y;
|
|
@@ -69,18 +69,18 @@ const qt = {
|
|
|
69
69
|
return r;
|
|
70
70
|
})), l;
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function Ve(i = "menu") {
|
|
73
73
|
return {
|
|
74
74
|
name: i,
|
|
75
75
|
components: {
|
|
76
|
-
SvgIcon:
|
|
76
|
+
SvgIcon: Mt,
|
|
77
77
|
ssMenu: Ue,
|
|
78
78
|
DynamicIcon: qt,
|
|
79
|
-
ssDialog:
|
|
80
|
-
ssInput:
|
|
79
|
+
ssDialog: ut,
|
|
80
|
+
ssInput: At
|
|
81
81
|
},
|
|
82
82
|
setup(n, { emit: S }) {
|
|
83
|
-
const f =
|
|
83
|
+
const f = kt({
|
|
84
84
|
mode: {
|
|
85
85
|
type: String,
|
|
86
86
|
default: "vertical"
|
|
@@ -101,53 +101,53 @@ function Ze(i = "menu") {
|
|
|
101
101
|
operateType: "修改菜单名",
|
|
102
102
|
operateIcon: "FixedMenu"
|
|
103
103
|
}
|
|
104
|
-
]), l =
|
|
104
|
+
]), l = St(), r = bt(Je), I = Tt(Je), { loginUserInfo: w } = Ee(I), M = O(0), y = Bt(), u = O(), { asideMenus: R, menuTriggerType: o, platform: Ie, jumpMenuInform: Q } = Ee(l), { fixMenuStatus: Se } = Ee(r), { isSuperAdmin: be } = xt(), B = we(() => f == null ? void 0 : f.mode), ue = (t) => t == null ? void 0 : t.map((e) => {
|
|
105
105
|
var p, d;
|
|
106
|
-
return !(e != null && e.children) || ((p = e == null ? void 0 : e.children) == null ? void 0 : p.length) === 0 ? e.config = a.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children =
|
|
107
|
-
}),
|
|
106
|
+
return !(e != null && e.children) || ((p = e == null ? void 0 : e.children) == null ? void 0 : p.length) === 0 ? e.config = a.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = ue(e.children)), e;
|
|
107
|
+
}), Oe = we(() => {
|
|
108
108
|
let t = [...R.value];
|
|
109
109
|
if ((t == null ? void 0 : t.length) === 0)
|
|
110
110
|
return y.push("/"), [];
|
|
111
|
-
const s =
|
|
111
|
+
const s = lt(t, tt.value);
|
|
112
112
|
return s.isFlag || (t = s == null ? void 0 : s.data), t = t == null ? void 0 : t.map((e) => {
|
|
113
113
|
var p, d;
|
|
114
|
-
return !(e != null && e.children) || ((p = e == null ? void 0 : e.children) == null ? void 0 : p.length) === 0 ? e.config = a.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children =
|
|
114
|
+
return !(e != null && e.children) || ((p = e == null ? void 0 : e.children) == null ? void 0 : p.length) === 0 ? e.config = a.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = ue(e.children)), e;
|
|
115
115
|
}), t;
|
|
116
|
-
}),
|
|
116
|
+
}), He = async (t, s) => {
|
|
117
117
|
r.setRouteToChildPath(""), l.setMenuTriggerType("click"), l.setActiveMenuPath(t == null ? void 0 : t.path), l.setActiveAsideMenu(t), t.isRouter ? y.push(t.path) : y.push("/"), S("node-click", t, s);
|
|
118
|
-
},
|
|
119
|
-
const s =
|
|
120
|
-
l.setActiveAsideMenu(s), r.setRouteToChildPath(""),
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
},
|
|
118
|
+
}, me = async (t) => {
|
|
119
|
+
const s = $t(Oe.value, "path", t);
|
|
120
|
+
l.setActiveAsideMenu(s), r.setRouteToChildPath(""), Se.value ? r.setFixMenuStatus(!1) : (Z.value && (o.value = "open"), o.value === "click" ? l.setActiveMenuPath(t) : Z.value || (l.setMenuTriggerType("click"), l.setActiveMenuPath(t))), t != null && t.startsWith("/") ? y.push(t) : y.push("/"), M.value++;
|
|
121
|
+
}, et = (t) => {
|
|
122
|
+
Z.value || l.setActiveMenuPath(t);
|
|
123
|
+
}, X = (t) => {
|
|
124
124
|
const s = document.documentElement;
|
|
125
125
|
t == null || t.forEach((e) => {
|
|
126
126
|
s.style.setProperty(e.name, e.value);
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
Qe(() => {
|
|
130
130
|
M.value = 1;
|
|
131
131
|
});
|
|
132
|
-
const
|
|
132
|
+
const tt = we(() => {
|
|
133
133
|
const t = sessionStorage.getItem("authority");
|
|
134
134
|
return t ? JSON.parse(t) : [];
|
|
135
135
|
});
|
|
136
|
-
|
|
137
|
-
() =>
|
|
136
|
+
Ke(
|
|
137
|
+
() => Ie.value,
|
|
138
138
|
(t) => {
|
|
139
|
-
t === "browser" ?
|
|
139
|
+
t === "browser" ? X(Et) : t === "client" ? (X(Ft), X(Lt)) : t === "three" && (X(Ut), X(jt));
|
|
140
140
|
},
|
|
141
141
|
{ immediate: !0 }
|
|
142
142
|
);
|
|
143
|
-
const
|
|
143
|
+
const lt = (t, s) => ({
|
|
144
144
|
isFlag: !0
|
|
145
|
-
}), z =
|
|
145
|
+
}), z = _t({
|
|
146
146
|
show: !1,
|
|
147
147
|
title: "菜单配置",
|
|
148
148
|
width: "30%",
|
|
149
149
|
type: "create"
|
|
150
|
-
}),
|
|
150
|
+
}), st = (t) => Kt(t), ot = O({}), at = O([]), ee = O({}), Y = O({}), it = (t) => {
|
|
151
151
|
switch (t) {
|
|
152
152
|
case "复制新增":
|
|
153
153
|
return "create";
|
|
@@ -156,19 +156,19 @@ function Ze(i = "menu") {
|
|
|
156
156
|
case "删除":
|
|
157
157
|
return "delete";
|
|
158
158
|
}
|
|
159
|
-
},
|
|
159
|
+
}, Re = O({}), rt = (t) => {
|
|
160
160
|
l.setCacheInputMenu({
|
|
161
161
|
type: z.type,
|
|
162
162
|
data: t
|
|
163
163
|
}), l.setIsRefreshMenus(!0);
|
|
164
|
-
},
|
|
165
|
-
var p, d, C,
|
|
164
|
+
}, nt = async (t, s, e) => {
|
|
165
|
+
var p, d, C, q, b, V, L, te, le, se, oe, ae, ie, re, ne, pe, ce, fe, he, de, ve, ye, ge, Ce, ke, _e, De;
|
|
166
166
|
if (s === "create") {
|
|
167
167
|
let U = (e == null ? void 0 : e.title) + "(1)", P = (d = (p = e == null ? void 0 : e.path) == null ? void 0 : p.split("/")) == null ? void 0 : d.filter((_, v) => {
|
|
168
168
|
var k, T;
|
|
169
169
|
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
170
|
-
}), j = await
|
|
171
|
-
(b = (
|
|
170
|
+
}), j = await Ge(
|
|
171
|
+
(b = (q = (C = e == null ? void 0 : e.path) == null ? void 0 : C.split("/")) == null ? void 0 : q.filter((_, v) => {
|
|
172
172
|
var k, T;
|
|
173
173
|
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
174
174
|
})) == null ? void 0 : b.join("/"),
|
|
@@ -176,30 +176,30 @@ function Ze(i = "menu") {
|
|
|
176
176
|
""
|
|
177
177
|
);
|
|
178
178
|
if (P.push(U), P = P == null ? void 0 : P.join("/"), (j == null ? void 0 : j.length) > 0) {
|
|
179
|
-
let _ = j == null ? void 0 : j[0], v = (L = (
|
|
180
|
-
if (((
|
|
181
|
-
let k = (
|
|
179
|
+
let _ = j == null ? void 0 : j[0], v = (L = (V = _ == null ? void 0 : _.compData) == null ? void 0 : V.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : L.contents;
|
|
180
|
+
if (((te = v == null ? void 0 : v[0]) == null ? void 0 : te.directiveLabel) === "#isMain") {
|
|
181
|
+
let k = (le = v == null ? void 0 : v[0]) == null ? void 0 : le.prop, T = (oe = (se = _ == null ? void 0 : _.compData) == null ? void 0 : se.find(
|
|
182
182
|
(D) => (D == null ? void 0 : D.key) === "tableContents"
|
|
183
|
-
)) == null ? void 0 :
|
|
183
|
+
)) == null ? void 0 : oe.contents, W;
|
|
184
184
|
T == null || T.forEach((D) => {
|
|
185
185
|
var G, x;
|
|
186
186
|
if (D.length === 1)
|
|
187
187
|
((G = D == null ? void 0 : D[0]) == null ? void 0 : G[k]) === (e == null ? void 0 : e.title) && (W = D == null ? void 0 : D[0], W[k] = U);
|
|
188
188
|
else {
|
|
189
|
-
let c = (x = v == null ? void 0 : v.filter((h) => h !== "操作")) == null ? void 0 : x.map((h) => h == null ? void 0 : h.prop), E = D == null ? void 0 : D.filter((h) => !(h != null && h.id)),
|
|
190
|
-
|
|
189
|
+
let c = (x = v == null ? void 0 : v.filter((h) => h !== "操作")) == null ? void 0 : x.map((h) => h == null ? void 0 : h.prop), E = D == null ? void 0 : D.filter((h) => !(h != null && h.id)), A = Ne(E, c);
|
|
190
|
+
A[k] = U, W = A;
|
|
191
191
|
}
|
|
192
|
-
}), await
|
|
192
|
+
}), await Ot({
|
|
193
193
|
key: {
|
|
194
194
|
type: "data",
|
|
195
|
-
pageKey: (
|
|
195
|
+
pageKey: (re = (ie = (ae = e == null ? void 0 : e.path) == null ? void 0 : ae.split("/")) == null ? void 0 : ie.filter((D, G) => {
|
|
196
196
|
var x, c;
|
|
197
197
|
return G !== ((c = (x = e == null ? void 0 : e.path) == null ? void 0 : x.split("/")) == null ? void 0 : c.length) - 1;
|
|
198
|
-
})) == null ? void 0 :
|
|
198
|
+
})) == null ? void 0 : re.join("/"),
|
|
199
199
|
tableId: _ == null ? void 0 : _.id,
|
|
200
200
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
201
|
-
createUserId: (
|
|
202
|
-
createUserLayer: ((
|
|
201
|
+
createUserId: (ne = w.value) == null ? void 0 : ne.id,
|
|
202
|
+
createUserLayer: ((pe = w.value) == null ? void 0 : pe.dept) || ((ce = w.value) == null ? void 0 : ce.部门名称)
|
|
203
203
|
},
|
|
204
204
|
value: {
|
|
205
205
|
tableData: W
|
|
@@ -207,61 +207,61 @@ function Ze(i = "menu") {
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
await
|
|
211
|
-
(
|
|
210
|
+
await zt(e == null ? void 0 : e.path, P), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
211
|
+
(de = (he = (fe = e == null ? void 0 : e.path) == null ? void 0 : fe.split("/")) == null ? void 0 : he.filter((_, v) => {
|
|
212
212
|
var k, T;
|
|
213
213
|
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
214
|
-
})) == null ? void 0 :
|
|
215
|
-
), l.setActiveTopMenuPath((
|
|
214
|
+
})) == null ? void 0 : de.join("/")
|
|
215
|
+
), l.setActiveTopMenuPath((ye = (ve = e == null ? void 0 : e.path) == null ? void 0 : ve.split("/")) == null ? void 0 : ye[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0);
|
|
216
216
|
} else if (s === "update")
|
|
217
217
|
u.value = e;
|
|
218
218
|
else if (s === "delete") {
|
|
219
219
|
let U = [];
|
|
220
|
-
(U == null ? void 0 : U.length) > 0 && await
|
|
220
|
+
(U == null ? void 0 : U.length) > 0 && await Rt({
|
|
221
221
|
ids: U
|
|
222
222
|
}), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
223
|
-
(
|
|
223
|
+
(ke = (Ce = (ge = e == null ? void 0 : e.path) == null ? void 0 : ge.split("/")) == null ? void 0 : Ce.filter((P, j) => {
|
|
224
224
|
var _, v;
|
|
225
225
|
return j !== ((v = (_ = e == null ? void 0 : e.path) == null ? void 0 : _.split("/")) == null ? void 0 : v.length) - 1;
|
|
226
|
-
})) == null ? void 0 :
|
|
227
|
-
), l.setActiveTopMenuPath((
|
|
226
|
+
})) == null ? void 0 : ke.join("/")
|
|
227
|
+
), l.setActiveTopMenuPath((De = (_e = e == null ? void 0 : e.path) == null ? void 0 : _e.split("/")) == null ? void 0 : De[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0);
|
|
228
228
|
}
|
|
229
|
-
},
|
|
230
|
-
var
|
|
229
|
+
}, pt = async (t, s) => {
|
|
230
|
+
var te, le, se, oe, ae, ie, re, ne, pe, ce, fe, he, de, ve, ye, ge, Ce, ke, _e, De, U, P, j, _, v, k, T, W, D, G, x;
|
|
231
231
|
let e = await qe({
|
|
232
232
|
key: {
|
|
233
233
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
234
234
|
pageKey: "menu"
|
|
235
235
|
}
|
|
236
|
-
}), p = (
|
|
237
|
-
d.compData = (
|
|
238
|
-
var E,
|
|
239
|
-
return (c == null ? void 0 : c.key) === "menuContents" && (c.contents = Pe(c.contents, (E = s == null ? void 0 : s.path) == null ? void 0 : E.split("/"), s == null ? void 0 : s.title, (
|
|
240
|
-
}), p != null && p.id && await
|
|
236
|
+
}), p = (le = (te = e == null ? void 0 : e.data) == null ? void 0 : te.result) == null ? void 0 : le[0], d = (se = p == null ? void 0 : p.value) == null ? void 0 : se.pageData;
|
|
237
|
+
d.compData = (oe = d.compData) == null ? void 0 : oe.map((c) => {
|
|
238
|
+
var E, A;
|
|
239
|
+
return (c == null ? void 0 : c.key) === "menuContents" && (c.contents = Pe(c.contents, (E = s == null ? void 0 : s.path) == null ? void 0 : E.split("/"), s == null ? void 0 : s.title, (A = t == null ? void 0 : t.target) == null ? void 0 : A.value)), c;
|
|
240
|
+
}), p != null && p.id && await Pt({
|
|
241
241
|
id: p == null ? void 0 : p.id,
|
|
242
242
|
value: {
|
|
243
243
|
pageData: d
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
|
-
let C = (
|
|
247
|
-
var
|
|
248
|
-
return E !== ((h = (
|
|
249
|
-
}),
|
|
250
|
-
C.push((
|
|
251
|
-
let b = await
|
|
252
|
-
if (((fe = (ce = (pe = (ne =
|
|
253
|
-
let c = (ge = (ye = (ve = (de =
|
|
246
|
+
let C = (ie = (ae = s == null ? void 0 : s.path) == null ? void 0 : ae.split("/")) == null ? void 0 : ie.filter((c, E) => {
|
|
247
|
+
var A, h;
|
|
248
|
+
return E !== ((h = (A = s == null ? void 0 : s.path) == null ? void 0 : A.split("/")) == null ? void 0 : h.length) - 1;
|
|
249
|
+
}), q = C == null ? void 0 : C.join("/");
|
|
250
|
+
C.push((re = t == null ? void 0 : t.target) == null ? void 0 : re.value), C = C == null ? void 0 : C.join("/");
|
|
251
|
+
let b = await Ge(q, sessionStorage.getItem("systemKey"), "");
|
|
252
|
+
if (((he = (fe = (ce = (pe = (ne = b == null ? void 0 : b[0]) == null ? void 0 : ne.compData) == null ? void 0 : pe.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : ce.contents) == null ? void 0 : fe[0]) == null ? void 0 : he.directiveLabel) === "#isMain") {
|
|
253
|
+
let c = (Ce = (ge = (ye = (ve = (de = b == null ? void 0 : b[0]) == null ? void 0 : de.compData) == null ? void 0 : ve.find((g) => (g == null ? void 0 : g.key) === "header")) == null ? void 0 : ye.contents) == null ? void 0 : ge[0]) == null ? void 0 : Ce.prop, E = (De = (_e = (ke = b == null ? void 0 : b[0]) == null ? void 0 : ke.compData) == null ? void 0 : _e.find(
|
|
254
254
|
(g) => (g == null ? void 0 : g.key) === "tableContents"
|
|
255
|
-
)) == null ? void 0 :
|
|
255
|
+
)) == null ? void 0 : De.contents, A = (_ = (j = (P = (U = b == null ? void 0 : b[0]) == null ? void 0 : U.compData) == null ? void 0 : P.find((g) => (g == null ? void 0 : g.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : _.map((g) => g == null ? void 0 : g.prop), h;
|
|
256
256
|
if (E == null || E.forEach((g) => {
|
|
257
|
-
var
|
|
258
|
-
let
|
|
259
|
-
(
|
|
257
|
+
var m;
|
|
258
|
+
let H = Ne(g, A);
|
|
259
|
+
(H == null ? void 0 : H[c]) === s.title && (h = H, h[c] = (m = t == null ? void 0 : t.target) == null ? void 0 : m.value);
|
|
260
260
|
}), h) {
|
|
261
261
|
let g = {};
|
|
262
|
-
for (let
|
|
263
|
-
|
|
264
|
-
let
|
|
262
|
+
for (let m in h)
|
|
263
|
+
m !== "id" && (g[m] = h == null ? void 0 : h[m]);
|
|
264
|
+
let H = [
|
|
265
265
|
{
|
|
266
266
|
id: h == null ? void 0 : h.id,
|
|
267
267
|
value: {
|
|
@@ -269,101 +269,101 @@ function Ze(i = "menu") {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
];
|
|
272
|
-
await
|
|
273
|
-
dataList:
|
|
272
|
+
await We({
|
|
273
|
+
dataList: H
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
let
|
|
277
|
+
let V = await qe({
|
|
278
278
|
key: {
|
|
279
279
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
280
280
|
pageKey: s == null ? void 0 : s.path
|
|
281
281
|
}
|
|
282
|
-
}), L = (k = (v =
|
|
282
|
+
}), L = (k = (v = V == null ? void 0 : V.data) == null ? void 0 : v.result) == null ? void 0 : k.map((c) => ({
|
|
283
283
|
id: c == null ? void 0 : c.id,
|
|
284
284
|
key: c == null ? void 0 : c.key
|
|
285
285
|
}));
|
|
286
|
-
L = L == null ? void 0 : L.map((c) => (c.key.pageKey = C, c)), (L == null ? void 0 : L.length) > 0 && await
|
|
286
|
+
L = L == null ? void 0 : L.map((c) => (c.key.pageKey = C, c)), (L == null ? void 0 : L.length) > 0 && await We({
|
|
287
287
|
dataList: L
|
|
288
288
|
}), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
289
289
|
(D = (W = (T = s == null ? void 0 : s.path) == null ? void 0 : T.split("/")) == null ? void 0 : W.filter((c, E) => {
|
|
290
|
-
var
|
|
291
|
-
return E !== ((h = (
|
|
290
|
+
var A, h;
|
|
291
|
+
return E !== ((h = (A = s == null ? void 0 : s.path) == null ? void 0 : A.split("/")) == null ? void 0 : h.length) - 1;
|
|
292
292
|
})) == null ? void 0 : D.join("/")
|
|
293
293
|
), l.setActiveTopMenuPath((x = (G = s == null ? void 0 : s.path) == null ? void 0 : G.split("/")) == null ? void 0 : x[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0), u.value = void 0;
|
|
294
|
-
},
|
|
295
|
-
z.type =
|
|
296
|
-
},
|
|
294
|
+
}, ct = async (t, s) => {
|
|
295
|
+
z.type = it(s == null ? void 0 : s.operateType), await nt(s, z.type, t), Y.value = t, Re.value = s;
|
|
296
|
+
}, ft = () => {
|
|
297
297
|
z.show = !1;
|
|
298
|
-
},
|
|
299
|
-
var e, p, d, C,
|
|
298
|
+
}, ht = (t) => t == null ? void 0 : t.filter((s) => s.allowInherit), dt = () => {
|
|
299
|
+
var e, p, d, C, q;
|
|
300
300
|
let t;
|
|
301
|
-
z.type === "create" && (t = ((e =
|
|
301
|
+
z.type === "create" && (t = ((e = Y.value) == null ? void 0 : e.path) + "/" + ee.value[(p = ee.value) == null ? void 0 : p.prop]), z.type === "update" && (t = (d = Y.value) == null ? void 0 : d.path);
|
|
302
302
|
const s = {
|
|
303
|
-
...
|
|
303
|
+
...Y.value,
|
|
304
304
|
//是否继承父菜单的配置
|
|
305
|
-
config:
|
|
305
|
+
config: ht((C = Y.value) == null ? void 0 : C.config),
|
|
306
306
|
children: [],
|
|
307
307
|
childMenus: [],
|
|
308
|
-
title:
|
|
308
|
+
title: ee.value[(q = ee.value) == null ? void 0 : q.prop],
|
|
309
309
|
path: t
|
|
310
310
|
};
|
|
311
|
-
console.log("clickSubmitForm",
|
|
312
|
-
},
|
|
311
|
+
console.log("clickSubmitForm", Re.value, Y.value, s), rt(s), z.show = !1;
|
|
312
|
+
}, vt = (t) => {
|
|
313
313
|
var e, p;
|
|
314
314
|
const s = (e = t == null ? void 0 : t.contents) == null ? void 0 : e.find((d) => d.key === "formContent");
|
|
315
|
-
s && (
|
|
315
|
+
s && (ee.value = (p = s == null ? void 0 : s.contents) == null ? void 0 : p.reduce(
|
|
316
316
|
(d, C) => (d[C.key] = C.value, d.prop = C.key, d),
|
|
317
317
|
{}
|
|
318
318
|
));
|
|
319
|
-
},
|
|
320
|
-
|
|
319
|
+
}, Z = O(!1), yt = () => {
|
|
320
|
+
Z.value = !Z.value;
|
|
321
321
|
}, Ae = O(null);
|
|
322
|
-
return
|
|
322
|
+
return Ke(() => R.value, async (t) => {
|
|
323
323
|
var s, e;
|
|
324
324
|
if (t) {
|
|
325
|
-
await
|
|
325
|
+
await Dt();
|
|
326
326
|
const p = t == null ? void 0 : t[0];
|
|
327
327
|
if (((s = p == null ? void 0 : p.children) == null ? void 0 : s.length) > 0) {
|
|
328
328
|
const d = p == null ? void 0 : p.path;
|
|
329
329
|
Ae.value && ((e = Ae.value) == null || e.openMenuRefByIndex(d));
|
|
330
330
|
} else
|
|
331
|
-
l.setActiveMenuPath((p == null ? void 0 : p.path) ?? "");
|
|
331
|
+
Q != null && Q.value ? l.setJumpMenuInform(!1) : l.setActiveMenuPath((p == null ? void 0 : p.path) ?? "");
|
|
332
332
|
}
|
|
333
333
|
}, { immediate: !0 }), {
|
|
334
334
|
menuRef: Ae,
|
|
335
|
-
isCollapse:
|
|
336
|
-
handleMenuCollapse:
|
|
337
|
-
handleCompChange:
|
|
338
|
-
dialogForm:
|
|
339
|
-
dialogRenderComps:
|
|
340
|
-
getComponents:
|
|
341
|
-
clickSubmitForm:
|
|
335
|
+
isCollapse: Z,
|
|
336
|
+
handleMenuCollapse: yt,
|
|
337
|
+
handleCompChange: vt,
|
|
338
|
+
dialogForm: ot,
|
|
339
|
+
dialogRenderComps: at,
|
|
340
|
+
getComponents: st,
|
|
341
|
+
clickSubmitForm: dt,
|
|
342
342
|
dialogInfo: z,
|
|
343
|
-
beforeDialogDestroy:
|
|
344
|
-
clickMenuIcon:
|
|
345
|
-
mode:
|
|
346
|
-
renderMenuList:
|
|
347
|
-
clickMenu:
|
|
348
|
-
openMenu:
|
|
349
|
-
closeMenu:
|
|
350
|
-
changeMenuStyle:
|
|
343
|
+
beforeDialogDestroy: ft,
|
|
344
|
+
clickMenuIcon: ct,
|
|
345
|
+
mode: B,
|
|
346
|
+
renderMenuList: Oe,
|
|
347
|
+
clickMenu: He,
|
|
348
|
+
openMenu: me,
|
|
349
|
+
closeMenu: et,
|
|
350
|
+
changeMenuStyle: X,
|
|
351
351
|
fixElement: u,
|
|
352
|
-
onBlur:
|
|
353
|
-
isSuperAdmin:
|
|
352
|
+
onBlur: pt,
|
|
353
|
+
isSuperAdmin: be
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
357
|
}
|
|
358
|
-
const
|
|
358
|
+
const Wt = Ct(Ve()), Gt = ["title"], Nt = {
|
|
359
359
|
key: 1,
|
|
360
360
|
class: "menu-title",
|
|
361
361
|
style: { display: "flex", width: "100px" }
|
|
362
|
-
},
|
|
362
|
+
}, Qt = {
|
|
363
363
|
key: 2,
|
|
364
364
|
class: "menu-operate-icon"
|
|
365
|
-
},
|
|
366
|
-
function
|
|
365
|
+
}, Xt = { class: "menu-config-wrap" }, Yt = ["onClick"], Zt = { class: "module-dialog-content" };
|
|
366
|
+
function Vt(i, n, S, f, a, l) {
|
|
367
367
|
var R;
|
|
368
368
|
const r = N("ss-input"), I = N("svg-icon"), w = N("el-popover"), M = N("ss-menu"), y = N("el-button"), u = N("ss-dialog");
|
|
369
369
|
return F(), K(Be, null, [
|
|
@@ -378,47 +378,47 @@ function Zt(i, n, S, f, a, l) {
|
|
|
378
378
|
onOpenMenu: i.openMenu,
|
|
379
379
|
onCloseMenu: i.closeMenu
|
|
380
380
|
}, {
|
|
381
|
-
title:
|
|
382
|
-
var
|
|
381
|
+
title: J(({ menu: o }) => {
|
|
382
|
+
var Ie, Q, Se, be;
|
|
383
383
|
return [
|
|
384
|
-
!i.fixElement || (o == null ? void 0 : o.path) !== ((
|
|
384
|
+
!i.fixElement || (o == null ? void 0 : o.path) !== ((Ie = i.fixElement) == null ? void 0 : Ie.path) ? (F(), K("span", {
|
|
385
385
|
key: 0,
|
|
386
386
|
title: o.title,
|
|
387
387
|
class: "menu-title",
|
|
388
|
-
style:
|
|
389
|
-
},
|
|
390
|
-
i.fixElement && (o == null ? void 0 : o.path) === ((Se = i.fixElement) == null ? void 0 : Se.path) ? (F(), K("span",
|
|
388
|
+
style: It({ marginRight: o != null && o.config && ((Q = o == null ? void 0 : o.config) == null ? void 0 : Q.length) > 0 ? "25px" : "1px" })
|
|
389
|
+
}, $e(o.title ?? ""), 13, Gt)) : Te("", !0),
|
|
390
|
+
i.fixElement && (o == null ? void 0 : o.path) === ((Se = i.fixElement) == null ? void 0 : Se.path) ? (F(), K("span", Nt, [
|
|
391
391
|
$(r, {
|
|
392
392
|
value: o.title,
|
|
393
|
-
onBlur: (
|
|
393
|
+
onBlur: (B) => i.onBlur(B, o)
|
|
394
394
|
}, null, 8, ["value", "onBlur"])
|
|
395
395
|
])) : Te("", !0),
|
|
396
|
-
o != null && o.config && ((be = o == null ? void 0 : o.config) == null ? void 0 : be.length) > 0 && i.isSuperAdmin ? (F(), K("span",
|
|
396
|
+
o != null && o.config && ((be = o == null ? void 0 : o.config) == null ? void 0 : be.length) > 0 && i.isSuperAdmin ? (F(), K("span", Qt, [
|
|
397
397
|
$(w, {
|
|
398
398
|
title: "",
|
|
399
399
|
placement: "bottom-start",
|
|
400
400
|
trigger: "hover",
|
|
401
401
|
"popper-class": "menu-operate-popover"
|
|
402
402
|
}, {
|
|
403
|
-
reference:
|
|
403
|
+
reference: J(() => [
|
|
404
404
|
$(I, {
|
|
405
405
|
name: "more",
|
|
406
406
|
style: { cursor: "pointer", width: "15px", height: "15px" }
|
|
407
407
|
})
|
|
408
408
|
]),
|
|
409
|
-
default:
|
|
410
|
-
Me("div",
|
|
411
|
-
(F(!0), K(Be, null,
|
|
409
|
+
default: J(() => [
|
|
410
|
+
Me("div", Xt, [
|
|
411
|
+
(F(!0), K(Be, null, ze(o == null ? void 0 : o.config, (B) => (F(), K("div", {
|
|
412
412
|
class: "menu-config-item",
|
|
413
|
-
key:
|
|
414
|
-
onClick: (ue) => i.clickMenuIcon(o,
|
|
413
|
+
key: B.id,
|
|
414
|
+
onClick: (ue) => i.clickMenuIcon(o, B)
|
|
415
415
|
}, [
|
|
416
416
|
$(I, {
|
|
417
|
-
name:
|
|
417
|
+
name: B == null ? void 0 : B.operateIcon,
|
|
418
418
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
419
419
|
}, null, 8, ["name"]),
|
|
420
|
-
Me("span", null,
|
|
421
|
-
], 8,
|
|
420
|
+
Me("span", null, $e(B == null ? void 0 : B.operateType), 1)
|
|
421
|
+
], 8, Yt))), 128))
|
|
422
422
|
])
|
|
423
423
|
]),
|
|
424
424
|
_: 2
|
|
@@ -445,12 +445,12 @@ function Zt(i, n, S, f, a, l) {
|
|
|
445
445
|
width: i.dialogInfo.width,
|
|
446
446
|
onBeforeDestroy: i.beforeDialogDestroy
|
|
447
447
|
}, {
|
|
448
|
-
default:
|
|
449
|
-
Me("div",
|
|
450
|
-
(F(!0), K(Be, null,
|
|
448
|
+
default: J(() => [
|
|
449
|
+
Me("div", Zt, [
|
|
450
|
+
(F(!0), K(Be, null, ze(i.dialogRenderComps, (o) => (F(), K("div", {
|
|
451
451
|
key: o.id
|
|
452
452
|
}, [
|
|
453
|
-
(F(), Le(
|
|
453
|
+
(F(), Le(Xe(i.getComponents((o == null ? void 0 : o.comp) ?? "Input")), {
|
|
454
454
|
itemData: o == null ? void 0 : o.compData,
|
|
455
455
|
key: o == null ? void 0 : o.id,
|
|
456
456
|
content: (o == null ? void 0 : o.contents) ?? [],
|
|
@@ -460,14 +460,14 @@ function Zt(i, n, S, f, a, l) {
|
|
|
460
460
|
]))), 128))
|
|
461
461
|
])
|
|
462
462
|
]),
|
|
463
|
-
footer:
|
|
463
|
+
footer: J(() => [
|
|
464
464
|
Me("div", null, [
|
|
465
465
|
$(y, {
|
|
466
466
|
id: "themeBorderButton",
|
|
467
467
|
onClick: i.beforeDialogDestroy
|
|
468
468
|
}, {
|
|
469
|
-
default:
|
|
470
|
-
|
|
469
|
+
default: J(() => n[1] || (n[1] = [
|
|
470
|
+
xe("取消")
|
|
471
471
|
])),
|
|
472
472
|
_: 1,
|
|
473
473
|
__: [1]
|
|
@@ -476,8 +476,8 @@ function Zt(i, n, S, f, a, l) {
|
|
|
476
476
|
id: "themeButton",
|
|
477
477
|
onClick: i.clickSubmitForm
|
|
478
478
|
}, {
|
|
479
|
-
default:
|
|
480
|
-
|
|
479
|
+
default: J(() => n[2] || (n[2] = [
|
|
480
|
+
xe(" 确认 ")
|
|
481
481
|
])),
|
|
482
482
|
_: 1,
|
|
483
483
|
__: [2]
|
|
@@ -488,17 +488,17 @@ function Zt(i, n, S, f, a, l) {
|
|
|
488
488
|
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
489
489
|
], 64);
|
|
490
490
|
}
|
|
491
|
-
const
|
|
491
|
+
const Ht = /* @__PURE__ */ Jt(Wt, [["render", Vt], ["__scopeId", "data-v-a385ba2f"]]), vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
492
492
|
__proto__: null,
|
|
493
|
-
addSelectMenu:
|
|
494
|
-
default:
|
|
495
|
-
deleteSelectMenu:
|
|
493
|
+
addSelectMenu: Ze,
|
|
494
|
+
default: Ht,
|
|
495
|
+
deleteSelectMenu: Ye,
|
|
496
496
|
fixSelectMenu: Pe,
|
|
497
|
-
setComponent:
|
|
497
|
+
setComponent: Ve
|
|
498
498
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
499
499
|
export {
|
|
500
500
|
qt as _,
|
|
501
|
-
|
|
502
|
-
|
|
501
|
+
Ht as a,
|
|
502
|
+
vl as i,
|
|
503
503
|
Ue as s
|
|
504
504
|
};
|