ss-component-new 1.3.355 → 1.3.356
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-C7OvulGh.cjs → MTLLoader-BefOV10J.cjs} +1 -1
- package/dist/{MTLLoader-5aLRwabe.js → MTLLoader-Cg0oDB2C.js} +1 -1
- package/dist/{OrbitControls-CDSlnRLN.js → OrbitControls-BWJhT98n.js} +1 -1
- package/dist/{OrbitControls-CIrPqmPS.cjs → OrbitControls-CqaGqoNF.cjs} +1 -1
- package/dist/{URDFLoader-AkFAgt5Y.js → URDFLoader-6foKe0Hk.js} +2 -2
- package/dist/{URDFLoader-BwFJx5UR.cjs → URDFLoader-Cg4tDxf9.cjs} +1 -1
- package/dist/{animationData-12pRw_Qv.cjs → animationData-1O9N8tYh.cjs} +1 -1
- package/dist/{animationData-iL7PIDLd.js → animationData-BmdynDCL.js} +2 -2
- package/dist/{array-BYQWjMT-.js → array-bTlTI7-m.js} +2 -2
- package/dist/{array-DUfexM7c.cjs → array-qJP7qOOm.cjs} +1 -1
- package/dist/{iconfont-DsgGs7UQ.cjs → iconfont-BkToWweJ.cjs} +1 -1
- package/dist/{iconfont-C6j3TodB.js → iconfont-M_-3pVq2.js} +2 -2
- package/dist/icons/svg/normal.svg +1 -0
- package/dist/{index-DQ74Iryx.js → index-B-Cf26_8.js} +2 -2
- package/dist/{index-QXOizZeU.cjs → index-B-w0TQLi.cjs} +1 -1
- package/dist/{index-3U6si0hy.cjs → index-B44yTwpg.cjs} +1 -1
- package/dist/{index-CsQiHOs9.js → index-BD78V5Fk.js} +1 -1
- package/dist/index-BNnoV73x.cjs +1 -0
- package/dist/{index-D6VrG7PD.js → index-BWqS2Db9.js} +1 -1
- package/dist/{index-CMHbvs1r.cjs → index-BnQAOGNI.cjs} +53 -53
- package/dist/{index-0TSZq_QR.js → index-BsCxdb2Q.js} +5 -5
- package/dist/{index-8SEJKzmd.js → index-BskTRZyB.js} +3 -3
- package/dist/{index-CmcJ1rry.js → index-BugbzHvK.js} +1 -1
- package/dist/{index-Dha6rhAJ.cjs → index-BxZ-Sqy1.cjs} +1 -1
- package/dist/{index-IjCgZgl3.cjs → index-CLqESmcJ.cjs} +1 -1
- package/dist/{index-C_e3ZAJu.js → index-CPI-GT09.js} +1 -1
- package/dist/index-CX-LO3gU.js +22927 -0
- package/dist/{index-D0HhfyPk.js → index-CdOAC0QO.js} +1 -1
- package/dist/{index-CRiJbVFR.cjs → index-Ck5mtjKc.cjs} +1 -1
- package/dist/index-CwMvkhaX.cjs +25 -0
- package/dist/{index-CsugrIEn.js → index-CzXy4Rjt.js} +1 -1
- package/dist/{index-D_EVB0Xj.js → index-DCV8AiAq.js} +4 -4
- package/dist/{index-B1f0xvtw.js → index-DIfe_pv9.js} +199 -199
- package/dist/{index-BAAPwqZY.cjs → index-DK5QS19w.cjs} +1 -1
- package/dist/{index-BCXL-Vag.cjs → index-DRno3-U_.cjs} +1 -1
- package/dist/{index-zUcPbdQ8.cjs → index-DTxACO21.cjs} +1 -1
- package/dist/{index-DyEYs8w4.cjs → index-DdLYDrQL.cjs} +1 -1
- package/dist/{index-BAdjupJP.cjs → index-DmmjTRGz.cjs} +1 -1
- package/dist/{index-BGruls3v.js → index-Dv0FPBX0.js} +4026 -4026
- package/dist/{index-B5T4n7g4.js → index-DyS4ycK4.js} +1596 -1593
- package/dist/{index-J-WjNVnM.js → index-G6xUS_LZ.js} +1 -1
- package/dist/{index-DpaJtzsH.cjs → index-MT9m_JvZ.cjs} +12 -12
- package/dist/{index-Dc_o63Jj.js → index-O7h8fPzP.js} +1 -1
- package/dist/{index-DDoHRYY5.cjs → index-Q3o-NsLb.cjs} +1 -1
- package/dist/{index-B-2anWSc.cjs → index-RSfi7VXm.cjs} +1 -1
- package/dist/{index-CI2NS7Ob.cjs → index-WQNqmmuC.cjs} +1 -1
- package/dist/{index-NbGwWzrU.js → index-hJh3eBHb.js} +1 -1
- package/dist/{index-Dobt9Q4Z.js → index-iaOps17f.js} +3 -3
- package/dist/index-l9_qZoks.cjs +2 -0
- package/dist/{index-BGtPvIhL.cjs → index-qVb0YQPi.cjs} +1 -1
- package/dist/{index-BnAAUtPN.js → index-wAZQvSsO.js} +1154 -1151
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-D0uXxWIh.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CmdLcCoO.js} +1845 -1840
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-BKbOLELt.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-feyCTReG.cjs} +61 -61
- package/dist/{main-Dxdq3RcS.js → main-205_4Nih.js} +3 -3
- package/dist/{main-Crsz9niF.cjs → main-D-xgau4u.cjs} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-DpsPcuIa.cjs → threeModel-DXueZHTM.cjs} +1 -1
- package/dist/{threeModel-DeRemq5u.js → threeModel-w1ZYoyvs.js} +3 -3
- package/dist/{threePreview-Dfkn0cBK.cjs → threePreview-BA1gosFY.cjs} +1 -1
- package/dist/{threePreview-DT2LkMs6.js → threePreview-D7k4bo5p.js} +3 -3
- package/dist/{threeSceneView-C6tPuxdW.cjs → threeSceneView-Bloj-2Kp.cjs} +1 -1
- package/dist/{threeSceneView-COO6IUge.js → threeSceneView-DeONIC8O.js} +10 -10
- package/dist/{threeSceneViewForCPMPIP-OyTbtTK8.cjs → threeSceneViewForCPMPIP-Cl14yLk7.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DZV8D2vn.js → threeSceneViewForCPMPIP-Cob3ZkMt.js} +7 -7
- package/dist/{threeTrackPathView-DCBgrmNw.js → threeTrackPathView-DOmS1T6b.js} +3 -3
- package/dist/{threeTrackPathView-0JMPjO4k.cjs → threeTrackPathView-DXI6Wos2.cjs} +1 -1
- package/dist/{threeViewerHost-_ubQTgiY.js → threeViewerHost-DQ6Y3XLq.js} +2 -2
- package/dist/{threeViewerHost-DfI5l2__.cjs → threeViewerHost-DtwouxoX.cjs} +1 -1
- package/dist/{urdfTree-CwGYGMf_.js → urdfTree-BEQr2AP4.js} +1 -1
- package/dist/{urdfTree-CRWM03qh.cjs → urdfTree-r9giphpe.cjs} +1 -1
- package/dist/{workpieceTreePanel-DHoXiEkq.cjs → workpieceTreePanel-Bzn5WIm0.cjs} +1 -1
- package/dist/{workpieceTreePanel-DZn1rWeY.js → workpieceTreePanel-CozcD--G.js} +4 -4
- package/package.json +1 -1
- package/public/icons/svg/normal.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-DRoBrg1m.cjs +0 -25
- package/dist/index-DpNXljVj.cjs +0 -2
- package/dist/index-DvVR3mog.cjs +0 -1
- package/dist/index-U3ob6rDc.js +0 -22895
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { S as
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
5
|
-
import { I as
|
|
6
|
-
import { s as
|
|
7
|
-
import { c as
|
|
8
|
-
import { useRouter as
|
|
9
|
-
import { a as
|
|
10
|
-
import { g as
|
|
11
|
-
import { g as Rt } from "./index-
|
|
12
|
-
import { f as
|
|
13
|
-
import { c as
|
|
1
|
+
import { defineAsyncComponent as yt, computed as we, onMounted as Ne, resolveComponent as N, createBlock as Le, openBlock as F, withCtx as q, resolveDynamicComponent as Qe, defineComponent as gt, defineProps as Ct, ref as O, watch as Re, reactive as kt, nextTick as _t, createElementBlock as K, Fragment as Be, createVNode as $, createCommentVNode as Te, normalizeStyle as Dt, toDisplayString as Ke, createElementVNode as Me, renderList as $e, createTextVNode as ze } from "vue";
|
|
2
|
+
import { u as It, a as St, p as xe, b as bt, s as Ee, c as je } from "./menu-nyfb5NCE.js";
|
|
3
|
+
import { S as Tt } from "./index-BHtNKL1L.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CmdLcCoO.js";
|
|
5
|
+
import { I as Mt } from "./request-CoGtW0Ux.js";
|
|
6
|
+
import { s as wt } from "./index-CnjGqJZS.js";
|
|
7
|
+
import { c as ut } from "./index-wAZQvSsO.js";
|
|
8
|
+
import { useRouter as At } from "vue-router";
|
|
9
|
+
import { a as Bt, e as Et, f as Ft, g as Lt, h as Ut } from "./index-C2UiLe43.js";
|
|
10
|
+
import { g as qe, u as jt, b as Je, c as Pt, a as Ot } from "./index-o69TSiJu.js";
|
|
11
|
+
import { g as Rt } from "./index-CX-LO3gU.js";
|
|
12
|
+
import { f as Kt } from "./menuIndex-BUIEopjV.js";
|
|
13
|
+
import { c as We, d as Ge, n as $t } from "./index-DyS4ycK4.js";
|
|
14
14
|
import { v as Fe } from "./index-DPRaizHr.js";
|
|
15
|
-
import { u as
|
|
16
|
-
import { _ as
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
i.component("ssMenu",
|
|
15
|
+
import { u as zt } from "./index-BWqS2Db9.js";
|
|
16
|
+
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Ue = yt(() => import("./index-wAZQvSsO.js").then((i) => i.o));
|
|
18
|
+
Ue.install = (i) => {
|
|
19
|
+
i.component("ssMenu", Ue);
|
|
20
20
|
};
|
|
21
|
-
const
|
|
21
|
+
const qt = {
|
|
22
22
|
__name: "index",
|
|
23
23
|
props: {
|
|
24
24
|
name: String
|
|
25
25
|
},
|
|
26
26
|
setup(i) {
|
|
27
|
-
const n = i, S =
|
|
28
|
-
return
|
|
27
|
+
const n = i, S = we(() => Mt[n.name]);
|
|
28
|
+
return Ne(() => {
|
|
29
29
|
}), (f, a) => {
|
|
30
30
|
const l = N("el-icon");
|
|
31
31
|
return F(), Le(l, null, {
|
|
32
32
|
default: q(() => [
|
|
33
|
-
(F(), Le(
|
|
33
|
+
(F(), Le(Qe(S.value)))
|
|
34
34
|
]),
|
|
35
35
|
_: 1
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
},
|
|
39
|
+
}, Xe = (i, n, S = 0) => {
|
|
40
40
|
let f = i;
|
|
41
41
|
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) => {
|
|
42
42
|
if (a != null && a.find((l) => l === (n == null ? void 0 : n[S])) && (n == null ? void 0 : n.length) !== 1) {
|
|
43
|
-
let l =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}), a =
|
|
43
|
+
let l = je(n), r = a == null ? void 0 : a.filter((y) => y !== (l == null ? void 0 : l[S])), I = S + 1, w = Xe(r, l, I), M = [];
|
|
44
|
+
M.push(a == null ? void 0 : a[0]), w == null || w.forEach((y) => {
|
|
45
|
+
M.push(y);
|
|
46
|
+
}), a = M;
|
|
47
47
|
}
|
|
48
48
|
return a;
|
|
49
49
|
})), f;
|
|
50
|
-
},
|
|
50
|
+
}, Ye = (i, n, S, f = 0) => {
|
|
51
51
|
let a = i;
|
|
52
52
|
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) => {
|
|
53
53
|
if (l != null && l.find((r) => r === (n == null ? void 0 : n[f])) && (n == null ? void 0 : n.length) !== 1) {
|
|
54
|
-
let r =
|
|
55
|
-
y.push(l == null ? void 0 : l[0]),
|
|
54
|
+
let r = je(n), I = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, M = Ye(I, r, S, w), y = [];
|
|
55
|
+
y.push(l == null ? void 0 : l[0]), M == null || M.forEach((u) => {
|
|
56
56
|
y.push(u);
|
|
57
57
|
}), l = y;
|
|
58
58
|
}
|
|
59
59
|
return l;
|
|
60
60
|
})), a;
|
|
61
|
-
},
|
|
61
|
+
}, Pe = (i, n, S, f, a = 0) => {
|
|
62
62
|
let l = i;
|
|
63
63
|
return l != null && l.every((r) => Array.isArray(r)) && (l != null && l.every((r) => Array.isArray(r) && r.length === 1) ? l = l == null ? void 0 : l.map((r) => ((r == null ? void 0 : r[0]) === S && (r = [f]), r)) : l = l == null ? void 0 : l.map((r) => {
|
|
64
64
|
if (r != null && r.find((I) => I === (n == null ? void 0 : n[a])) && (n == null ? void 0 : n.length) !== 1) {
|
|
65
|
-
let I =
|
|
66
|
-
u.push(r == null ? void 0 : r[0]), y == null || y.forEach((
|
|
67
|
-
u.push(
|
|
65
|
+
let I = je(n), w = r == null ? void 0 : r.filter((R) => R !== (I == null ? void 0 : I[a])), M = a + 1, y = Pe(w, I, S, f, M), u = [];
|
|
66
|
+
u.push(r == null ? void 0 : r[0]), y == null || y.forEach((R) => {
|
|
67
|
+
u.push(R);
|
|
68
68
|
}), r = u;
|
|
69
69
|
}
|
|
70
70
|
return r;
|
|
71
71
|
})), l;
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function Ze(i = "menu") {
|
|
74
74
|
return {
|
|
75
75
|
name: i,
|
|
76
76
|
components: {
|
|
77
|
-
SvgIcon:
|
|
78
|
-
ssMenu:
|
|
79
|
-
DynamicIcon:
|
|
80
|
-
ssDialog:
|
|
81
|
-
ssInput:
|
|
77
|
+
SvgIcon: Tt,
|
|
78
|
+
ssMenu: Ue,
|
|
79
|
+
DynamicIcon: qt,
|
|
80
|
+
ssDialog: wt,
|
|
81
|
+
ssInput: ut
|
|
82
82
|
},
|
|
83
83
|
setup(n, { emit: S }) {
|
|
84
|
-
const f =
|
|
84
|
+
const f = Ct({
|
|
85
85
|
mode: {
|
|
86
86
|
type: String,
|
|
87
87
|
default: "vertical"
|
|
88
88
|
}
|
|
89
|
-
}), a =
|
|
89
|
+
}), a = O([
|
|
90
90
|
{
|
|
91
91
|
allowInherit: !1,
|
|
92
92
|
operateType: "复制新增",
|
|
@@ -102,53 +102,53 @@ function Ve(i = "menu") {
|
|
|
102
102
|
operateType: "修改菜单名",
|
|
103
103
|
operateIcon: "FixedMenu"
|
|
104
104
|
}
|
|
105
|
-
]), l =
|
|
105
|
+
]), l = It(), r = St(xe), I = bt(xe), { loginUserInfo: w } = Ee(I), M = O(0), y = At(), u = O(), { asideMenus: R, menuTriggerType: s, platform: De } = Ee(l), { fixMenuStatus: Ie } = Ee(r), { isSuperAdmin: Se } = zt(), be = we(() => f == null ? void 0 : f.mode), A = (t) => t == null ? void 0 : t.map((e) => {
|
|
106
106
|
var p, d;
|
|
107
|
-
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 =
|
|
108
|
-
}),
|
|
109
|
-
let t = [...
|
|
107
|
+
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 = A(e.children)), e;
|
|
108
|
+
}), ue = we(() => {
|
|
109
|
+
let t = [...R.value];
|
|
110
110
|
if ((t == null ? void 0 : t.length) === 0)
|
|
111
111
|
return y.push("/"), [];
|
|
112
|
-
const
|
|
113
|
-
return
|
|
112
|
+
const o = tt(t, et.value);
|
|
113
|
+
return o.isFlag || (t = o == null ? void 0 : o.data), t = t == null ? void 0 : t.map((e) => {
|
|
114
114
|
var p, d;
|
|
115
|
-
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 =
|
|
115
|
+
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 = A(e.children)), e;
|
|
116
116
|
}), t;
|
|
117
|
-
}),
|
|
118
|
-
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,
|
|
119
|
-
},
|
|
120
|
-
const
|
|
121
|
-
l.setActiveAsideMenu(
|
|
122
|
-
},
|
|
117
|
+
}), Ve = async (t, o) => {
|
|
118
|
+
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, o);
|
|
119
|
+
}, He = async (t) => {
|
|
120
|
+
const o = Kt(ue.value, "path", t);
|
|
121
|
+
l.setActiveAsideMenu(o), r.setRouteToChildPath(""), Ie.value ? r.setFixMenuStatus(!1) : (Y.value && (s.value = "open"), s.value === "click" ? l.setActiveMenuPath(t) : Y.value || (l.setMenuTriggerType("click"), l.setActiveMenuPath(t))), t != null && t.startsWith("/") ? y.push(t) : y.push("/"), M.value++;
|
|
122
|
+
}, me = (t) => {
|
|
123
123
|
Y.value || l.setActiveMenuPath(t);
|
|
124
124
|
}, Q = (t) => {
|
|
125
|
-
const
|
|
125
|
+
const o = document.documentElement;
|
|
126
126
|
t == null || t.forEach((e) => {
|
|
127
|
-
|
|
127
|
+
o.style.setProperty(e.name, e.value);
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
Ne(() => {
|
|
131
|
+
M.value = 1;
|
|
132
132
|
});
|
|
133
|
-
const
|
|
133
|
+
const et = we(() => {
|
|
134
134
|
const t = sessionStorage.getItem("authority");
|
|
135
135
|
return t ? JSON.parse(t) : [];
|
|
136
136
|
});
|
|
137
137
|
Re(
|
|
138
138
|
() => De.value,
|
|
139
139
|
(t) => {
|
|
140
|
-
t === "browser" ? Q(
|
|
140
|
+
t === "browser" ? Q(Bt) : t === "client" ? (Q(Et), Q(Ft)) : t === "three" && (Q(Lt), Q(Ut));
|
|
141
141
|
},
|
|
142
142
|
{ immediate: !0 }
|
|
143
143
|
);
|
|
144
|
-
const
|
|
144
|
+
const tt = (t, o) => ({
|
|
145
145
|
isFlag: !0
|
|
146
|
-
}), z =
|
|
146
|
+
}), z = kt({
|
|
147
147
|
show: !1,
|
|
148
148
|
title: "菜单配置",
|
|
149
149
|
width: "30%",
|
|
150
150
|
type: "create"
|
|
151
|
-
}),
|
|
151
|
+
}), lt = (t) => Rt(t), ot = O({}), st = O([]), m = O({}), X = O({}), at = (t) => {
|
|
152
152
|
switch (t) {
|
|
153
153
|
case "复制新增":
|
|
154
154
|
return "create";
|
|
@@ -157,43 +157,43 @@ function Ve(i = "menu") {
|
|
|
157
157
|
case "删除":
|
|
158
158
|
return "delete";
|
|
159
159
|
}
|
|
160
|
-
}, Oe =
|
|
160
|
+
}, Oe = O({}), it = (t) => {
|
|
161
161
|
l.setCacheInputMenu({
|
|
162
162
|
type: z.type,
|
|
163
163
|
data: t
|
|
164
164
|
}), l.setIsRefreshMenus(!0);
|
|
165
|
-
},
|
|
166
|
-
var p, d, C, J,
|
|
167
|
-
if (
|
|
168
|
-
let
|
|
169
|
-
var k,
|
|
170
|
-
return v !== ((
|
|
171
|
-
}),
|
|
172
|
-
(
|
|
173
|
-
var k,
|
|
174
|
-
return v !== ((
|
|
175
|
-
})) == null ? void 0 :
|
|
165
|
+
}, rt = async (t, o, e) => {
|
|
166
|
+
var p, d, C, J, b, Z, L, ee, te, le, oe, se, ae, ie, re, ne, pe, ce, fe, he, de, ve, ye, ge, Ce, ke, _e;
|
|
167
|
+
if (o === "create") {
|
|
168
|
+
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) => {
|
|
169
|
+
var k, T;
|
|
170
|
+
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
171
|
+
}), j = await We(
|
|
172
|
+
(b = (J = (C = e == null ? void 0 : e.path) == null ? void 0 : C.split("/")) == null ? void 0 : J.filter((_, v) => {
|
|
173
|
+
var k, T;
|
|
174
|
+
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
175
|
+
})) == null ? void 0 : b.join("/"),
|
|
176
176
|
sessionStorage.getItem("systemKey"),
|
|
177
177
|
""
|
|
178
178
|
);
|
|
179
|
-
if (
|
|
180
|
-
let _ =
|
|
179
|
+
if (P.push(U), P = P == null ? void 0 : P.join("/"), (j == null ? void 0 : j.length) > 0) {
|
|
180
|
+
let _ = j == null ? void 0 : j[0], v = (L = (Z = _ == null ? void 0 : _.compData) == null ? void 0 : Z.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : L.contents;
|
|
181
181
|
if (((ee = v == null ? void 0 : v[0]) == null ? void 0 : ee.directiveLabel) === "#isMain") {
|
|
182
|
-
let k = (te = v == null ? void 0 : v[0]) == null ? void 0 : te.prop,
|
|
182
|
+
let k = (te = v == null ? void 0 : v[0]) == null ? void 0 : te.prop, T = (oe = (le = _ == null ? void 0 : _.compData) == null ? void 0 : le.find(
|
|
183
183
|
(D) => (D == null ? void 0 : D.key) === "tableContents"
|
|
184
|
-
)) == null ? void 0 :
|
|
185
|
-
|
|
184
|
+
)) == null ? void 0 : oe.contents, W;
|
|
185
|
+
T == null || T.forEach((D) => {
|
|
186
186
|
var G, x;
|
|
187
187
|
if (D.length === 1)
|
|
188
|
-
((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] =
|
|
188
|
+
((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);
|
|
189
189
|
else {
|
|
190
|
-
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)),
|
|
191
|
-
|
|
190
|
+
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)), B = Ge(E, c);
|
|
191
|
+
B[k] = U, W = B;
|
|
192
192
|
}
|
|
193
|
-
}), await
|
|
193
|
+
}), await Pt({
|
|
194
194
|
key: {
|
|
195
195
|
type: "data",
|
|
196
|
-
pageKey: (ie = (ae = (
|
|
196
|
+
pageKey: (ie = (ae = (se = e == null ? void 0 : e.path) == null ? void 0 : se.split("/")) == null ? void 0 : ae.filter((D, G) => {
|
|
197
197
|
var x, c;
|
|
198
198
|
return G !== ((c = (x = e == null ? void 0 : e.path) == null ? void 0 : x.split("/")) == null ? void 0 : c.length) - 1;
|
|
199
199
|
})) == null ? void 0 : ie.join("/"),
|
|
@@ -208,56 +208,56 @@ function Ve(i = "menu") {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
await
|
|
211
|
+
await $t(e == null ? void 0 : e.path, P), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
212
212
|
(he = (fe = (ce = e == null ? void 0 : e.path) == null ? void 0 : ce.split("/")) == null ? void 0 : fe.filter((_, v) => {
|
|
213
|
-
var k,
|
|
214
|
-
return v !== ((
|
|
213
|
+
var k, T;
|
|
214
|
+
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
215
215
|
})) == null ? void 0 : he.join("/")
|
|
216
216
|
), l.setActiveTopMenuPath((ve = (de = e == null ? void 0 : e.path) == null ? void 0 : de.split("/")) == null ? void 0 : ve[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0);
|
|
217
|
-
} else if (
|
|
217
|
+
} else if (o === "update")
|
|
218
218
|
u.value = e;
|
|
219
|
-
else if (
|
|
220
|
-
let
|
|
221
|
-
(
|
|
222
|
-
ids:
|
|
219
|
+
else if (o === "delete") {
|
|
220
|
+
let U = [];
|
|
221
|
+
(U == null ? void 0 : U.length) > 0 && await Ot({
|
|
222
|
+
ids: U
|
|
223
223
|
}), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
224
|
-
(Ce = (ge = (ye = e == null ? void 0 : e.path) == null ? void 0 : ye.split("/")) == null ? void 0 : ge.filter((
|
|
224
|
+
(Ce = (ge = (ye = e == null ? void 0 : e.path) == null ? void 0 : ye.split("/")) == null ? void 0 : ge.filter((P, j) => {
|
|
225
225
|
var _, v;
|
|
226
|
-
return
|
|
226
|
+
return j !== ((v = (_ = e == null ? void 0 : e.path) == null ? void 0 : _.split("/")) == null ? void 0 : v.length) - 1;
|
|
227
227
|
})) == null ? void 0 : Ce.join("/")
|
|
228
228
|
), l.setActiveTopMenuPath((_e = (ke = e == null ? void 0 : e.path) == null ? void 0 : ke.split("/")) == null ? void 0 : _e[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0);
|
|
229
229
|
}
|
|
230
|
-
},
|
|
231
|
-
var ee, te, le,
|
|
232
|
-
let e = await
|
|
230
|
+
}, nt = async (t, o) => {
|
|
231
|
+
var ee, te, le, oe, se, ae, ie, re, ne, pe, ce, fe, he, de, ve, ye, ge, Ce, ke, _e, U, P, j, _, v, k, T, W, D, G, x;
|
|
232
|
+
let e = await qe({
|
|
233
233
|
key: {
|
|
234
234
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
235
235
|
pageKey: "menu"
|
|
236
236
|
}
|
|
237
237
|
}), p = (te = (ee = e == null ? void 0 : e.data) == null ? void 0 : ee.result) == null ? void 0 : te[0], d = (le = p == null ? void 0 : p.value) == null ? void 0 : le.pageData;
|
|
238
|
-
d.compData = (
|
|
239
|
-
var E,
|
|
240
|
-
return (c == null ? void 0 : c.key) === "menuContents" && (c.contents =
|
|
238
|
+
d.compData = (oe = d.compData) == null ? void 0 : oe.map((c) => {
|
|
239
|
+
var E, B;
|
|
240
|
+
return (c == null ? void 0 : c.key) === "menuContents" && (c.contents = Pe(c.contents, (E = o == null ? void 0 : o.path) == null ? void 0 : E.split("/"), o == null ? void 0 : o.title, (B = t == null ? void 0 : t.target) == null ? void 0 : B.value)), c;
|
|
241
241
|
}), p != null && p.id && await jt({
|
|
242
242
|
id: p == null ? void 0 : p.id,
|
|
243
243
|
value: {
|
|
244
244
|
pageData: d
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
-
let C = (ae = (
|
|
248
|
-
var
|
|
249
|
-
return E !== ((h = (
|
|
247
|
+
let C = (ae = (se = o == null ? void 0 : o.path) == null ? void 0 : se.split("/")) == null ? void 0 : ae.filter((c, E) => {
|
|
248
|
+
var B, h;
|
|
249
|
+
return E !== ((h = (B = o == null ? void 0 : o.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
250
250
|
}), J = C == null ? void 0 : C.join("/");
|
|
251
251
|
C.push((ie = t == null ? void 0 : t.target) == null ? void 0 : ie.value), C = C == null ? void 0 : C.join("/");
|
|
252
|
-
let
|
|
253
|
-
if (((fe = (ce = (pe = (ne = (re =
|
|
254
|
-
let c = (ge = (ye = (ve = (de = (he =
|
|
252
|
+
let b = await We(J, sessionStorage.getItem("systemKey"), "");
|
|
253
|
+
if (((fe = (ce = (pe = (ne = (re = b == null ? void 0 : b[0]) == null ? void 0 : re.compData) == null ? void 0 : ne.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : pe.contents) == null ? void 0 : ce[0]) == null ? void 0 : fe.directiveLabel) === "#isMain") {
|
|
254
|
+
let c = (ge = (ye = (ve = (de = (he = b == null ? void 0 : b[0]) == null ? void 0 : he.compData) == null ? void 0 : de.find((g) => (g == null ? void 0 : g.key) === "header")) == null ? void 0 : ve.contents) == null ? void 0 : ye[0]) == null ? void 0 : ge.prop, E = (_e = (ke = (Ce = b == null ? void 0 : b[0]) == null ? void 0 : Ce.compData) == null ? void 0 : ke.find(
|
|
255
255
|
(g) => (g == null ? void 0 : g.key) === "tableContents"
|
|
256
|
-
)) == null ? void 0 : _e.contents,
|
|
256
|
+
)) == null ? void 0 : _e.contents, B = (_ = (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;
|
|
257
257
|
if (E == null || E.forEach((g) => {
|
|
258
258
|
var H;
|
|
259
|
-
let V =
|
|
260
|
-
(V == null ? void 0 : V[c]) ===
|
|
259
|
+
let V = Ge(g, B);
|
|
260
|
+
(V == null ? void 0 : V[c]) === o.title && (h = V, h[c] = (H = t == null ? void 0 : t.target) == null ? void 0 : H.value);
|
|
261
261
|
}), h) {
|
|
262
262
|
let g = {};
|
|
263
263
|
for (let H in h)
|
|
@@ -270,62 +270,62 @@ function Ve(i = "menu") {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
];
|
|
273
|
-
await
|
|
273
|
+
await Je({
|
|
274
274
|
dataList: V
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
let Z = await
|
|
278
|
+
let Z = await qe({
|
|
279
279
|
key: {
|
|
280
280
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
281
|
-
pageKey:
|
|
281
|
+
pageKey: o == null ? void 0 : o.path
|
|
282
282
|
}
|
|
283
283
|
}), L = (k = (v = Z == null ? void 0 : Z.data) == null ? void 0 : v.result) == null ? void 0 : k.map((c) => ({
|
|
284
284
|
id: c == null ? void 0 : c.id,
|
|
285
285
|
key: c == null ? void 0 : c.key
|
|
286
286
|
}));
|
|
287
|
-
L = L == null ? void 0 : L.map((c) => (c.key.pageKey = C, c)), (L == null ? void 0 : L.length) > 0 && await
|
|
287
|
+
L = L == null ? void 0 : L.map((c) => (c.key.pageKey = C, c)), (L == null ? void 0 : L.length) > 0 && await Je({
|
|
288
288
|
dataList: L
|
|
289
289
|
}), l.setUpdateMenuStatus(!1), await Fe(), l.setActiveMenuPath(
|
|
290
|
-
(D = (W = (
|
|
291
|
-
var
|
|
292
|
-
return E !== ((h = (
|
|
290
|
+
(D = (W = (T = o == null ? void 0 : o.path) == null ? void 0 : T.split("/")) == null ? void 0 : W.filter((c, E) => {
|
|
291
|
+
var B, h;
|
|
292
|
+
return E !== ((h = (B = o == null ? void 0 : o.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
293
293
|
})) == null ? void 0 : D.join("/")
|
|
294
|
-
), l.setActiveTopMenuPath((x = (G =
|
|
295
|
-
},
|
|
296
|
-
z.type =
|
|
297
|
-
},
|
|
294
|
+
), l.setActiveTopMenuPath((x = (G = o == null ? void 0 : o.path) == null ? void 0 : G.split("/")) == null ? void 0 : x[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0), u.value = void 0;
|
|
295
|
+
}, pt = async (t, o) => {
|
|
296
|
+
z.type = at(o == null ? void 0 : o.operateType), await rt(o, z.type, t), X.value = t, Oe.value = o;
|
|
297
|
+
}, ct = () => {
|
|
298
298
|
z.show = !1;
|
|
299
|
-
},
|
|
299
|
+
}, ft = (t) => t == null ? void 0 : t.filter((o) => o.allowInherit), ht = () => {
|
|
300
300
|
var e, p, d, C, J;
|
|
301
301
|
let t;
|
|
302
302
|
z.type === "create" && (t = ((e = X.value) == null ? void 0 : e.path) + "/" + m.value[(p = m.value) == null ? void 0 : p.prop]), z.type === "update" && (t = (d = X.value) == null ? void 0 : d.path);
|
|
303
|
-
const
|
|
303
|
+
const o = {
|
|
304
304
|
...X.value,
|
|
305
305
|
//是否继承父菜单的配置
|
|
306
|
-
config:
|
|
306
|
+
config: ft((C = X.value) == null ? void 0 : C.config),
|
|
307
307
|
children: [],
|
|
308
308
|
childMenus: [],
|
|
309
309
|
title: m.value[(J = m.value) == null ? void 0 : J.prop],
|
|
310
310
|
path: t
|
|
311
311
|
};
|
|
312
|
-
console.log("clickSubmitForm", Oe.value, X.value,
|
|
313
|
-
},
|
|
312
|
+
console.log("clickSubmitForm", Oe.value, X.value, o), it(o), z.show = !1;
|
|
313
|
+
}, dt = (t) => {
|
|
314
314
|
var e, p;
|
|
315
|
-
const
|
|
316
|
-
|
|
315
|
+
const o = (e = t == null ? void 0 : t.contents) == null ? void 0 : e.find((d) => d.key === "formContent");
|
|
316
|
+
o && (m.value = (p = o == null ? void 0 : o.contents) == null ? void 0 : p.reduce(
|
|
317
317
|
(d, C) => (d[C.key] = C.value, d.prop = C.key, d),
|
|
318
318
|
{}
|
|
319
319
|
));
|
|
320
|
-
}, Y =
|
|
320
|
+
}, Y = O(!1), vt = () => {
|
|
321
321
|
Y.value = !Y.value;
|
|
322
|
-
}, Ae =
|
|
323
|
-
return Re(() =>
|
|
324
|
-
var
|
|
322
|
+
}, Ae = O(null);
|
|
323
|
+
return Re(() => R.value, async (t) => {
|
|
324
|
+
var o, e;
|
|
325
325
|
if (t) {
|
|
326
|
-
await
|
|
326
|
+
await _t();
|
|
327
327
|
const p = t == null ? void 0 : t[0];
|
|
328
|
-
if (((
|
|
328
|
+
if (((o = p == null ? void 0 : p.children) == null ? void 0 : o.length) > 0) {
|
|
329
329
|
const d = p == null ? void 0 : p.path;
|
|
330
330
|
Ae.value && ((e = Ae.value) == null || e.openMenuRefByIndex(d));
|
|
331
331
|
} else
|
|
@@ -334,41 +334,41 @@ function Ve(i = "menu") {
|
|
|
334
334
|
}, { immediate: !0 }), {
|
|
335
335
|
menuRef: Ae,
|
|
336
336
|
isCollapse: Y,
|
|
337
|
-
handleMenuCollapse:
|
|
338
|
-
handleCompChange:
|
|
337
|
+
handleMenuCollapse: vt,
|
|
338
|
+
handleCompChange: dt,
|
|
339
339
|
dialogForm: ot,
|
|
340
|
-
dialogRenderComps:
|
|
341
|
-
getComponents:
|
|
342
|
-
clickSubmitForm:
|
|
340
|
+
dialogRenderComps: st,
|
|
341
|
+
getComponents: lt,
|
|
342
|
+
clickSubmitForm: ht,
|
|
343
343
|
dialogInfo: z,
|
|
344
|
-
beforeDialogDestroy:
|
|
345
|
-
clickMenuIcon:
|
|
346
|
-
mode:
|
|
347
|
-
renderMenuList:
|
|
348
|
-
clickMenu:
|
|
349
|
-
openMenu:
|
|
350
|
-
closeMenu:
|
|
344
|
+
beforeDialogDestroy: ct,
|
|
345
|
+
clickMenuIcon: pt,
|
|
346
|
+
mode: be,
|
|
347
|
+
renderMenuList: ue,
|
|
348
|
+
clickMenu: Ve,
|
|
349
|
+
openMenu: He,
|
|
350
|
+
closeMenu: me,
|
|
351
351
|
changeMenuStyle: Q,
|
|
352
352
|
fixElement: u,
|
|
353
|
-
onBlur:
|
|
353
|
+
onBlur: nt,
|
|
354
354
|
isSuperAdmin: Se
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
|
-
const
|
|
359
|
+
const Jt = gt(Ze()), Wt = ["title"], Gt = {
|
|
360
360
|
key: 1,
|
|
361
361
|
class: "menu-title",
|
|
362
362
|
style: { display: "flex", width: "100px" }
|
|
363
|
-
},
|
|
363
|
+
}, Nt = {
|
|
364
364
|
key: 2,
|
|
365
365
|
class: "menu-operate-icon"
|
|
366
|
-
},
|
|
367
|
-
function
|
|
368
|
-
var
|
|
369
|
-
const r = N("ss-input"), I = N("svg-icon"), w = N("el-popover"),
|
|
370
|
-
return F(),
|
|
371
|
-
$(
|
|
366
|
+
}, Qt = { class: "menu-config-wrap" }, Xt = ["onClick"], Yt = { class: "module-dialog-content" };
|
|
367
|
+
function Zt(i, n, S, f, a, l) {
|
|
368
|
+
var R;
|
|
369
|
+
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");
|
|
370
|
+
return F(), K(Be, null, [
|
|
371
|
+
$(M, {
|
|
372
372
|
ref: "menuRef",
|
|
373
373
|
class: "vertical-menu",
|
|
374
374
|
mode: i.mode,
|
|
@@ -379,22 +379,22 @@ function Vt(i, n, S, f, a, l) {
|
|
|
379
379
|
onOpenMenu: i.openMenu,
|
|
380
380
|
onCloseMenu: i.closeMenu
|
|
381
381
|
}, {
|
|
382
|
-
title: q(({ menu:
|
|
383
|
-
var De,
|
|
382
|
+
title: q(({ menu: s }) => {
|
|
383
|
+
var De, Ie, Se, be;
|
|
384
384
|
return [
|
|
385
|
-
!i.fixElement || (
|
|
385
|
+
!i.fixElement || (s == null ? void 0 : s.path) !== ((De = i.fixElement) == null ? void 0 : De.path) ? (F(), K("span", {
|
|
386
386
|
key: 0,
|
|
387
|
-
title:
|
|
387
|
+
title: s.title,
|
|
388
388
|
class: "menu-title",
|
|
389
|
-
style:
|
|
390
|
-
},
|
|
391
|
-
i.fixElement && (
|
|
389
|
+
style: Dt({ marginRight: s != null && s.config && ((Ie = s == null ? void 0 : s.config) == null ? void 0 : Ie.length) > 0 ? "25px" : "1px" })
|
|
390
|
+
}, Ke(s.title ?? ""), 13, Wt)) : Te("", !0),
|
|
391
|
+
i.fixElement && (s == null ? void 0 : s.path) === ((Se = i.fixElement) == null ? void 0 : Se.path) ? (F(), K("span", Gt, [
|
|
392
392
|
$(r, {
|
|
393
|
-
value:
|
|
394
|
-
onBlur: (
|
|
393
|
+
value: s.title,
|
|
394
|
+
onBlur: (A) => i.onBlur(A, s)
|
|
395
395
|
}, null, 8, ["value", "onBlur"])
|
|
396
|
-
])) :
|
|
397
|
-
|
|
396
|
+
])) : Te("", !0),
|
|
397
|
+
s != null && s.config && ((be = s == null ? void 0 : s.config) == null ? void 0 : be.length) > 0 && i.isSuperAdmin ? (F(), K("span", Nt, [
|
|
398
398
|
$(w, {
|
|
399
399
|
title: "",
|
|
400
400
|
placement: "bottom-start",
|
|
@@ -408,37 +408,37 @@ function Vt(i, n, S, f, a, l) {
|
|
|
408
408
|
})
|
|
409
409
|
]),
|
|
410
410
|
default: q(() => [
|
|
411
|
-
|
|
412
|
-
(F(!0),
|
|
411
|
+
Me("div", Qt, [
|
|
412
|
+
(F(!0), K(Be, null, $e(s == null ? void 0 : s.config, (A) => (F(), K("div", {
|
|
413
413
|
class: "menu-config-item",
|
|
414
|
-
key:
|
|
415
|
-
onClick: (ue) => i.clickMenuIcon(
|
|
414
|
+
key: A.id,
|
|
415
|
+
onClick: (ue) => i.clickMenuIcon(s, A)
|
|
416
416
|
}, [
|
|
417
417
|
$(I, {
|
|
418
|
-
name:
|
|
418
|
+
name: A == null ? void 0 : A.operateIcon,
|
|
419
419
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
420
420
|
}, null, 8, ["name"]),
|
|
421
|
-
|
|
422
|
-
], 8,
|
|
421
|
+
Me("span", null, Ke(A == null ? void 0 : A.operateType), 1)
|
|
422
|
+
], 8, Xt))), 128))
|
|
423
423
|
])
|
|
424
424
|
]),
|
|
425
425
|
_: 2
|
|
426
426
|
}, 1024)
|
|
427
|
-
])) :
|
|
427
|
+
])) : Te("", !0)
|
|
428
428
|
];
|
|
429
429
|
}),
|
|
430
430
|
_: 1
|
|
431
431
|
}, 8, ["mode", "menuList", "isCollapse", "onClickMenu", "onOpenMenu", "onCloseMenu"]),
|
|
432
|
-
((
|
|
432
|
+
((R = i.renderMenuList) == null ? void 0 : R.length) > 0 ? (F(), K("div", {
|
|
433
433
|
key: 0,
|
|
434
434
|
class: "fold-icon",
|
|
435
|
-
onClick: n[0] || (n[0] = (...
|
|
435
|
+
onClick: n[0] || (n[0] = (...s) => i.handleMenuCollapse && i.handleMenuCollapse(...s))
|
|
436
436
|
}, [
|
|
437
437
|
$(I, {
|
|
438
438
|
name: i.isCollapse ? "expand" : "pack",
|
|
439
439
|
style: { width: "15px", height: "15px" }
|
|
440
440
|
}, null, 8, ["name"])
|
|
441
|
-
])) :
|
|
441
|
+
])) : Te("", !0),
|
|
442
442
|
$(u, {
|
|
443
443
|
class: "module-dialog",
|
|
444
444
|
title: i.dialogInfo.title,
|
|
@@ -447,28 +447,28 @@ function Vt(i, n, S, f, a, l) {
|
|
|
447
447
|
onBeforeDestroy: i.beforeDialogDestroy
|
|
448
448
|
}, {
|
|
449
449
|
default: q(() => [
|
|
450
|
-
|
|
451
|
-
(F(!0),
|
|
452
|
-
key:
|
|
450
|
+
Me("div", Yt, [
|
|
451
|
+
(F(!0), K(Be, null, $e(i.dialogRenderComps, (s) => (F(), K("div", {
|
|
452
|
+
key: s.id
|
|
453
453
|
}, [
|
|
454
|
-
(F(), Le(
|
|
455
|
-
itemData:
|
|
456
|
-
key:
|
|
457
|
-
content: (
|
|
458
|
-
config:
|
|
454
|
+
(F(), Le(Qe(i.getComponents((s == null ? void 0 : s.comp) ?? "Input")), {
|
|
455
|
+
itemData: s == null ? void 0 : s.compData,
|
|
456
|
+
key: s == null ? void 0 : s.id,
|
|
457
|
+
content: (s == null ? void 0 : s.contents) ?? [],
|
|
458
|
+
config: s == null ? void 0 : s.config,
|
|
459
459
|
onContentChange: i.handleCompChange
|
|
460
460
|
}, null, 40, ["itemData", "content", "config", "onContentChange"]))
|
|
461
461
|
]))), 128))
|
|
462
462
|
])
|
|
463
463
|
]),
|
|
464
464
|
footer: q(() => [
|
|
465
|
-
|
|
465
|
+
Me("div", null, [
|
|
466
466
|
$(y, {
|
|
467
467
|
id: "themeBorderButton",
|
|
468
468
|
onClick: i.beforeDialogDestroy
|
|
469
469
|
}, {
|
|
470
470
|
default: q(() => n[1] || (n[1] = [
|
|
471
|
-
|
|
471
|
+
ze("取消")
|
|
472
472
|
])),
|
|
473
473
|
_: 1,
|
|
474
474
|
__: [1]
|
|
@@ -478,7 +478,7 @@ function Vt(i, n, S, f, a, l) {
|
|
|
478
478
|
onClick: i.clickSubmitForm
|
|
479
479
|
}, {
|
|
480
480
|
default: q(() => n[2] || (n[2] = [
|
|
481
|
-
|
|
481
|
+
ze(" 确认 ")
|
|
482
482
|
])),
|
|
483
483
|
_: 1,
|
|
484
484
|
__: [2]
|
|
@@ -489,17 +489,17 @@ function Vt(i, n, S, f, a, l) {
|
|
|
489
489
|
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
490
490
|
], 64);
|
|
491
491
|
}
|
|
492
|
-
const
|
|
492
|
+
const Vt = /* @__PURE__ */ xt(Jt, [["render", Zt], ["__scopeId", "data-v-a385ba2f"]]), vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
493
493
|
__proto__: null,
|
|
494
|
-
addSelectMenu:
|
|
495
|
-
default:
|
|
496
|
-
deleteSelectMenu:
|
|
497
|
-
fixSelectMenu:
|
|
498
|
-
setComponent:
|
|
494
|
+
addSelectMenu: Ye,
|
|
495
|
+
default: Vt,
|
|
496
|
+
deleteSelectMenu: Xe,
|
|
497
|
+
fixSelectMenu: Pe,
|
|
498
|
+
setComponent: Ze
|
|
499
499
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
500
500
|
export {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
501
|
+
qt as _,
|
|
502
|
+
Vt as a,
|
|
503
|
+
vl as i,
|
|
504
|
+
Ue as s
|
|
505
505
|
};
|