ss-component-new 1.3.583 → 1.3.585
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-CQf7B6Ke.js → MTLLoader-lglF6AsF.js} +2 -2
- package/dist/{OrbitControls-DYGD8PMZ.js → OrbitControls-BqZN20Rt.js} +1 -1
- package/dist/{URDFLoader-C6rB5h5L.js → URDFLoader-IkRlWaki.js} +589 -584
- package/dist/{animationData-CkEa6eHD.js → animationData-D0cZme2U.js} +3 -3
- package/dist/{array-BPYK-IGr.js → array-5ZYisp88.js} +13 -14
- package/dist/{clone-ESeDvnJv.js → clone-CRxSyuWf.js} +1 -1
- package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
- package/dist/{iconfont-CnWH2HBt.js → iconfont-yQIyvQXR.js} +4 -4
- package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/index-BULCVBD8.js +468 -0
- package/dist/{index-B0M1YCUY.js → index-BVmtkTE_.js} +7 -7
- package/dist/{index-BUqviBFi.js → index-BdZMxiC_.js} +29 -35
- package/dist/{index-C3pboX9W.js → index-Bp8_1HIx.js} +5 -5
- package/dist/{index-CcU86mwa.js → index-BpOJFzyr.js} +8 -8
- package/dist/{index-DN57RXRT.js → index-BtnksMyb.js} +9225 -8780
- package/dist/{index-Bi6MS2f9.js → index-BynHhKF0.js} +148 -157
- package/dist/{index-BXh02EAd.js → index-C3uWREg6.js} +4 -4
- package/dist/{index-DsdWSuDi.js → index-CBniJUYQ.js} +482 -483
- package/dist/{index-D_3REwvv.js → index-CJZc--yD.js} +36 -40
- package/dist/{index-BBBCr4Oo.js → index-CQwd4Yho.js} +2 -2
- package/dist/{index-CPW7tdrA.js → index-CdNoVvbF.js} +17 -20
- package/dist/{index-Ce1Of6uw.js → index-CozBg9U8.js} +4 -4
- package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
- package/dist/{index-B_fRppeJ.js → index-Cz0WowdS.js} +8 -8
- package/dist/index-D-QiCx2o.js +61742 -0
- package/dist/{index-CX8Apbo7.js → index-D2Qimmt6.js} +1 -1
- package/dist/{index-D8UY4uNQ.js → index-D2eUttRQ.js} +1501 -1495
- package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
- package/dist/{index-C0M8w-SL.js → index-DHiLQExG.js} +5 -5
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-CpVrnFMb.js → index-Da5hzjgH.js} +4 -4
- package/dist/{index-D1E8EPxn.js → index-DhzLMJ4A.js} +57 -61
- package/dist/{index-83YKhWWe.js → index-DzSdRXaZ.js} +3 -3
- package/dist/{index-Cr-DQm-g.js → index-Lm4ZKNF3.js} +6 -6
- package/dist/{index-BrGkwHIw.js → index-MOUxRFwG.js} +3 -3
- package/dist/index-NMx22SFX.js +2623 -0
- package/dist/{index-BvkIoiVW.js → index-Pq6WSe_M.js} +3 -3
- package/dist/{index-D9xMYIes.js → index-W7-0iUXC.js} +3 -3
- package/dist/{index-tMqKF2l6.js → index-ajdo5mwF.js} +2 -2
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-BNkupwGW.js → index-vdHc4lFg.js} +18 -20
- package/dist/{index-BWg3sRTY.js → index-wi3x2kbn.js} +573 -608
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-X_k372gl.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-B2BlpBsO.js} +27760 -27735
- package/dist/isString-Dxm3W5iX.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-DZsyP5yv.js → main-D6gh-TBd.js} +9 -9
- package/dist/{menuIndex-DAW9B-9g.js → menuIndex-C_KNU7iT.js} +1 -1
- package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +9 -71
- package/dist/ss-component2.js +71 -114
- package/dist/ss-component3.js +115 -10
- package/dist/svgIcon-4m2zaZkj.js +42 -0
- package/dist/{threeModel-CrPbSkCl.js → threeModel-awQEmUQA.js} +174 -174
- package/dist/{threePreview-CJVkhfw5.js → threePreview-BGGp9yDg.js} +13 -13
- package/dist/{threeSceneView-V0t1tf7d.js → threeSceneView-CKCRVWrW.js} +24 -25
- package/dist/{threeSceneViewForCPMPIP-C61PtaRI.js → threeSceneViewForCPMPIP-BQaDdkTU.js} +17 -18
- package/dist/{threeTrackPathView-C84dt-gU.js → threeTrackPathView-BWcw6yWT.js} +8 -8
- package/dist/{threeViewerHost-Dt61XNDI.js → threeViewerHost-gQMuchtN.js} +4 -4
- package/dist/{urdfTree-CbPBpTUR.js → urdfTree-c8bZiZ3M.js} +9 -9
- package/dist/{workpieceTreePanel-BI9xr9Da.js → workpieceTreePanel-DZQu4h1F.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-BixZtZNN.js +0 -504
- package/dist/index-CNpqNLhr.js +0 -572
- package/dist/index-e2tJhGCD.js +0 -61813
- package/dist/isString-BlNsHiyU.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/svgIcon-4u4PW7Is.js +0 -42
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as K, y as C, e as x } from "./index-
|
|
2
|
-
import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
3
|
-
import { c as O } from "./index-
|
|
1
|
+
import { d as K, y as C, e as x } from "./index-CBniJUYQ.js";
|
|
2
|
+
import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-B2BlpBsO.js";
|
|
3
|
+
import { c as O } from "./index-D2eUttRQ.js";
|
|
4
4
|
const g = async (n) => {
|
|
5
5
|
const e = n.join("/"), c = sessionStorage.getItem("systemKey");
|
|
6
6
|
return await K(e, c, "");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ref as k, computed as ae, resolveComponent as te,
|
|
2
|
-
import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-
|
|
3
|
-
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-
|
|
1
|
+
import { ref as k, computed as ae, resolveComponent as te, openBlock as p, createElementBlock as H, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, normalizeStyle as ta, createCommentVNode as q, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
|
|
2
|
+
import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-D-QiCx2o.js";
|
|
3
|
+
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-D2eUttRQ.js";
|
|
4
4
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import ca from "./index-
|
|
6
|
-
import { d as ia, c as da } from "./index-
|
|
7
|
-
import { s as va } from "./index-
|
|
8
|
-
import { E as pa } from "./request-
|
|
5
|
+
import ca from "./index-BFqUz4pN.js";
|
|
6
|
+
import { d as ia, c as da } from "./index-BtnksMyb.js";
|
|
7
|
+
import { s as va } from "./index-DJrzqi4-.js";
|
|
8
|
+
import { E as pa } from "./request-BfrhYBTM.js";
|
|
9
9
|
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
@@ -593,7 +593,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
593
593
|
name: "LowCodeSetting",
|
|
594
594
|
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
595
595
|
}),
|
|
596
|
-
t[3] || (t[3] = de("设置"))
|
|
596
|
+
t[3] || (t[3] = de("设置", -1))
|
|
597
597
|
])
|
|
598
598
|
]),
|
|
599
599
|
default: L(() => {
|
|
@@ -637,7 +637,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
637
637
|
name: "LowCodeStyle",
|
|
638
638
|
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
639
639
|
}),
|
|
640
|
-
t[6] || (t[6] = de("样式"))
|
|
640
|
+
t[6] || (t[6] = de("样式", -1))
|
|
641
641
|
])
|
|
642
642
|
]),
|
|
643
643
|
default: L(() => [
|
|
@@ -661,14 +661,13 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
661
661
|
name: "LowCodeEvent",
|
|
662
662
|
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
663
663
|
}),
|
|
664
|
-
t[7] || (t[7] = de("交互"))
|
|
664
|
+
t[7] || (t[7] = de("交互", -1))
|
|
665
665
|
])
|
|
666
666
|
]),
|
|
667
667
|
default: L(() => [
|
|
668
|
-
t[8] || (t[8] = de(" 交互 "))
|
|
668
|
+
t[8] || (t[8] = de(" 交互 ", -1))
|
|
669
669
|
]),
|
|
670
|
-
_: 1
|
|
671
|
-
__: [8]
|
|
670
|
+
_: 1
|
|
672
671
|
}),
|
|
673
672
|
R(v, {
|
|
674
673
|
label: "扩展",
|
|
@@ -680,7 +679,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
680
679
|
name: "LowCodeExtend",
|
|
681
680
|
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
682
681
|
}),
|
|
683
|
-
t[9] || (t[9] = de("扩展"))
|
|
682
|
+
t[9] || (t[9] = de("扩展", -1))
|
|
684
683
|
])
|
|
685
684
|
]),
|
|
686
685
|
default: L(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as s, resolveComponent as a,
|
|
2
|
-
import { I as f, bL as v } from "./request-
|
|
1
|
+
import { computed as s, resolveComponent as a, openBlock as e, createElementBlock as p, createVNode as i, normalizeProps as l, guardReactiveProps as m, withCtx as _, createBlock as d, resolveDynamicComponent as u } from "vue";
|
|
2
|
+
import { I as f, bL as v } from "./request-BfrhYBTM.js";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const C = { class: "icon-selector-warp-item" }, h = {
|
|
5
5
|
__name: "eleIcon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { shallowRef as i2, ref as T, defineComponent as c2, computed as Z,
|
|
2
|
-
import { V as r, at as h2, E as Y, B as k, h as S, av as s2, G as p2, e as j, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bi as u2, X as F2, i as g2, D as $, H as y2, j as l2, a$ as w2, k as B2, l as b2, m as J } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
3
|
-
import { O as H2 } from "./OrbitControls-
|
|
1
|
+
import { shallowRef as i2, ref as T, defineComponent as c2, computed as Z, openBlock as o2, createElementBlock as n2, createElementVNode as B } from "vue";
|
|
2
|
+
import { V as r, at as h2, E as Y, B as k, h as S, av as s2, G as p2, e as j, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bi as u2, X as F2, i as g2, D as $, H as y2, j as l2, a$ as w2, k as B2, l as b2, m as J } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-B2BlpBsO.js";
|
|
3
|
+
import { O as H2 } from "./OrbitControls-BqZN20Rt.js";
|
|
4
4
|
import { _ as V2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const n1 = (i, a = "YZX") => {
|
|
6
6
|
const t = new r(), o = new h2(), h = new r(), p = new Y();
|
|
@@ -431,7 +431,7 @@ const S2 = { class: "panel-content" }, _2 = { class: "clipping-content" }, k2 =
|
|
|
431
431
|
const g = z.target.value;
|
|
432
432
|
o("change", g);
|
|
433
433
|
};
|
|
434
|
-
return (z, f) => (
|
|
434
|
+
return (z, f) => (o2(), n2("div", S2, [
|
|
435
435
|
B("div", _2, [
|
|
436
436
|
B("div", k2, [
|
|
437
437
|
B("label", I2, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as g, resolveComponent as r,
|
|
1
|
+
import { ref as g, resolveComponent as r, openBlock as l, createBlock as m, withCtx as n, createElementBlock as h, Fragment as k, renderList as B, renderSlot as i } from "vue";
|
|
2
2
|
const V = {
|
|
3
3
|
__name: "index",
|
|
4
4
|
props: {
|
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
import { defineAsyncComponent as vt, computed as Ie, onMounted as We, resolveComponent as Z, openBlock as P, createBlock as we, withCtx as V, resolveDynamicComponent as xe, defineComponent as yt, defineProps as Ct, ref as j, watch as je, reactive as gt, nextTick as kt, createElementBlock as X, Fragment as Pe, createVNode as Y, normalizeStyle as Dt, toDisplayString as St, createCommentVNode as Te, createElementVNode as Oe, createTextVNode as Re, renderList as It } from "vue";
|
|
2
|
+
import { c as Ae, u as bt, a as _t, p as Ke, b as Tt, s as Me, v as ue } from "./index-D2eUttRQ.js";
|
|
3
|
+
import { S as Mt } from "./index-dD-mKgue.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-B2BlpBsO.js";
|
|
5
|
+
import { I as ut } from "./request-BfrhYBTM.js";
|
|
6
|
+
import { s as wt } from "./index-DJrzqi4-.js";
|
|
7
|
+
import { c as Bt } from "./index-BtnksMyb.js";
|
|
8
|
+
import { useRouter as At } 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 $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-B4NcYIuS.js";
|
|
11
|
+
import { g as Kt } from "./index-D-QiCx2o.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-C_KNU7iT.js";
|
|
13
|
+
import { d as Je, e as qe, n as zt } from "./index-CBniJUYQ.js";
|
|
14
|
+
import { u as Jt } from "./index-W7-0iUXC.js";
|
|
15
|
+
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Be = vt(() => import("./index-BtnksMyb.js").then((i) => i.p));
|
|
17
|
+
Be.install = (i) => {
|
|
18
|
+
i.component("ssMenu", Be);
|
|
19
|
+
};
|
|
20
|
+
const Wt = {
|
|
21
|
+
__name: "index",
|
|
22
|
+
props: {
|
|
23
|
+
name: String
|
|
24
|
+
},
|
|
25
|
+
setup(i) {
|
|
26
|
+
const n = i, I = Ie(() => ut[n.name]);
|
|
27
|
+
return We(() => {
|
|
28
|
+
}), (f, o) => {
|
|
29
|
+
const l = Z("el-icon");
|
|
30
|
+
return P(), we(l, null, {
|
|
31
|
+
default: V(() => [
|
|
32
|
+
(P(), we(xe(I.value)))
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}, Ge = (i, n, I = 0) => {
|
|
39
|
+
let f = i;
|
|
40
|
+
return f != null && f.every((o) => Array.isArray(o)) && (f != null && f.every((o) => Array.isArray(o) && o.length === 1) ? f = f == null ? void 0 : f.filter((o) => (o == null ? void 0 : o[0]) !== (n == null ? void 0 : n[I])) : f = f == null ? void 0 : f.map((o) => {
|
|
41
|
+
if (o != null && o.find((l) => l === (n == null ? void 0 : n[I])) && (n == null ? void 0 : n.length) !== 1) {
|
|
42
|
+
let l = Ae(n), r = o == null ? void 0 : o.filter((C) => C !== (l == null ? void 0 : l[I])), M = I + 1, w = Ge(r, l, M), b = [];
|
|
43
|
+
b.push(o == null ? void 0 : o[0]), w == null || w.forEach((C) => {
|
|
44
|
+
b.push(C);
|
|
45
|
+
}), o = b;
|
|
46
|
+
}
|
|
47
|
+
return o;
|
|
48
|
+
})), f;
|
|
49
|
+
}, Ne = (i, n, I, f = 0) => {
|
|
50
|
+
let o = i;
|
|
51
|
+
return o != null && o.every((l) => Array.isArray(l)) && (o != null && o.every((l) => Array.isArray(l) && l.length === 1) ? o.push([I]) : o = o == null ? void 0 : o.map((l) => {
|
|
52
|
+
if (l != null && l.find((r) => r === (n == null ? void 0 : n[f])) && (n == null ? void 0 : n.length) !== 1) {
|
|
53
|
+
let r = Ae(n), M = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, b = Ne(M, r, I, w), C = [];
|
|
54
|
+
C.push(l == null ? void 0 : l[0]), b == null || b.forEach((u) => {
|
|
55
|
+
C.push(u);
|
|
56
|
+
}), l = C;
|
|
57
|
+
}
|
|
58
|
+
return l;
|
|
59
|
+
})), o;
|
|
60
|
+
}, Ee = (i, n, I, f, o = 0) => {
|
|
61
|
+
let l = i;
|
|
62
|
+
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]) === I && (r = [f]), r)) : l = l == null ? void 0 : l.map((r) => {
|
|
63
|
+
if (r != null && r.find((M) => M === (n == null ? void 0 : n[o])) && (n == null ? void 0 : n.length) !== 1) {
|
|
64
|
+
let M = Ae(n), w = r == null ? void 0 : r.filter((a) => a !== (M == null ? void 0 : M[o])), b = o + 1, C = Ee(w, M, I, f, b), u = [];
|
|
65
|
+
u.push(r == null ? void 0 : r[0]), C == null || C.forEach((a) => {
|
|
66
|
+
u.push(a);
|
|
67
|
+
}), r = u;
|
|
68
|
+
}
|
|
69
|
+
return r;
|
|
70
|
+
})), l;
|
|
71
|
+
};
|
|
72
|
+
function Qe(i = "menu") {
|
|
73
|
+
return {
|
|
74
|
+
name: i,
|
|
75
|
+
components: {
|
|
76
|
+
SvgIcon: Mt,
|
|
77
|
+
ssMenu: Be,
|
|
78
|
+
DynamicIcon: Wt,
|
|
79
|
+
ssDialog: wt,
|
|
80
|
+
ssInput: Bt
|
|
81
|
+
},
|
|
82
|
+
setup(n, { emit: I }) {
|
|
83
|
+
const f = Ct({
|
|
84
|
+
mode: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: "vertical"
|
|
87
|
+
}
|
|
88
|
+
}), o = j([
|
|
89
|
+
{
|
|
90
|
+
allowInherit: !1,
|
|
91
|
+
operateType: "复制新增",
|
|
92
|
+
operateIcon: "CopyAddMenu"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
allowInherit: !1,
|
|
96
|
+
operateType: "删除",
|
|
97
|
+
operateIcon: "DeleteMenu"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
allowInherit: !1,
|
|
101
|
+
operateType: "修改菜单名",
|
|
102
|
+
operateIcon: "FixedMenu"
|
|
103
|
+
}
|
|
104
|
+
]), l = bt(), r = _t(Ke), M = Tt(Ke), { loginUserInfo: w } = Me(M), b = j(0), C = At(), u = j(), { asideMenus: a, menuTriggerType: H, platform: Se, jumpMenuInform: O } = Me(l), { fixMenuStatus: be } = Me(r), { isSuperAdmin: Xe } = Jt(), Ye = Ie(() => f == null ? void 0 : f.mode), Fe = (t) => t == null ? void 0 : t.map((e) => {
|
|
105
|
+
var c, d;
|
|
106
|
+
return !(e != null && e.children) || ((c = e == null ? void 0 : e.children) == null ? void 0 : c.length) === 0 ? e.config = o.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = Fe(e.children)), e;
|
|
107
|
+
}), Le = Ie(() => {
|
|
108
|
+
let t = [...a.value];
|
|
109
|
+
if ((t == null ? void 0 : t.length) === 0)
|
|
110
|
+
return C.push("/"), [];
|
|
111
|
+
const s = et(t, me.value);
|
|
112
|
+
return s.isFlag || (t = s == null ? void 0 : s.data), t = t == null ? void 0 : t.map((e) => {
|
|
113
|
+
var c, d;
|
|
114
|
+
return !(e != null && e.children) || ((c = e == null ? void 0 : e.children) == null ? void 0 : c.length) === 0 ? e.config = o.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = Fe(e.children)), e;
|
|
115
|
+
}), t;
|
|
116
|
+
}), Ze = async (t, s) => {
|
|
117
|
+
r.setRouteToChildPath(""), l.setMenuTriggerType("click"), l.setActiveMenuPath(t == null ? void 0 : t.path), l.setActiveAsideMenu(t), t.isRouter ? C.push(t.path) : C.push("/"), I("node-click", t, s);
|
|
118
|
+
}, Ve = async (t) => {
|
|
119
|
+
const s = $t(Le.value, "path", t);
|
|
120
|
+
l.setActiveAsideMenu(s), r.setRouteToChildPath(""), be.value ? r.setFixMenuStatus(!1) : (x.value && (H.value = "open"), H.value === "click" ? O.value || l.setActiveMenuPath(t) : x.value || (l.setMenuTriggerType("click"), O.value || l.setActiveMenuPath(t))), t != null && t.startsWith("/") ? C.push(t) : C.push("/"), b.value++;
|
|
121
|
+
}, He = (t) => {
|
|
122
|
+
x.value || l.setActiveMenuPath(t);
|
|
123
|
+
}, q = (t) => {
|
|
124
|
+
const s = document.documentElement;
|
|
125
|
+
t == null || t.forEach((e) => {
|
|
126
|
+
s.style.setProperty(e.name, e.value);
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
We(() => {
|
|
130
|
+
b.value = 1;
|
|
131
|
+
});
|
|
132
|
+
const me = Ie(() => {
|
|
133
|
+
const t = sessionStorage.getItem("authority");
|
|
134
|
+
return t ? JSON.parse(t) : [];
|
|
135
|
+
});
|
|
136
|
+
je(
|
|
137
|
+
() => Se.value,
|
|
138
|
+
(t) => {
|
|
139
|
+
t === "browser" ? q(Et) : t === "client" ? (q(Ft), q(Lt)) : t === "three" && (q(Ut), q(jt));
|
|
140
|
+
},
|
|
141
|
+
{ immediate: !0 }
|
|
142
|
+
);
|
|
143
|
+
const et = (t, s) => ({
|
|
144
|
+
isFlag: !0
|
|
145
|
+
}), R = gt({
|
|
146
|
+
show: !1,
|
|
147
|
+
title: "菜单配置",
|
|
148
|
+
width: "30%",
|
|
149
|
+
type: "create"
|
|
150
|
+
}), tt = (t) => Kt(t), lt = j({}), st = j([]), m = j({}), W = j({}), ot = (t) => {
|
|
151
|
+
switch (t) {
|
|
152
|
+
case "复制新增":
|
|
153
|
+
return "create";
|
|
154
|
+
case "修改菜单名":
|
|
155
|
+
return "update";
|
|
156
|
+
case "删除":
|
|
157
|
+
return "delete";
|
|
158
|
+
}
|
|
159
|
+
}, Ue = j({}), at = (t) => {
|
|
160
|
+
l.setCacheInputMenu({
|
|
161
|
+
type: R.type,
|
|
162
|
+
data: t
|
|
163
|
+
}), l.setIsRefreshMenus(!0);
|
|
164
|
+
}, it = async (t, s, e) => {
|
|
165
|
+
var c, d, g, $, _, G, E, ee, te, le, se, oe, ae, ie, re, ne, ce, pe, fe, he, de, ve, ye, Ce, ge, ke, De;
|
|
166
|
+
if (s === "create") {
|
|
167
|
+
let F = (e == null ? void 0 : e.title) + "(1)", U = (d = (c = e == null ? void 0 : e.path) == null ? void 0 : c.split("/")) == null ? void 0 : d.filter((D, v) => {
|
|
168
|
+
var k, T;
|
|
169
|
+
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
170
|
+
}), L = await Je(
|
|
171
|
+
(_ = ($ = (g = e == null ? void 0 : e.path) == null ? void 0 : g.split("/")) == null ? void 0 : $.filter((D, v) => {
|
|
172
|
+
var k, T;
|
|
173
|
+
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
174
|
+
})) == null ? void 0 : _.join("/"),
|
|
175
|
+
sessionStorage.getItem("systemKey"),
|
|
176
|
+
""
|
|
177
|
+
);
|
|
178
|
+
if (U.push(F), U = U == null ? void 0 : U.join("/"), (L == null ? void 0 : L.length) > 0) {
|
|
179
|
+
let D = L == null ? void 0 : L[0], v = (E = (G = D == null ? void 0 : D.compData) == null ? void 0 : G.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : E.contents;
|
|
180
|
+
if (((ee = v == null ? void 0 : v[0]) == null ? void 0 : ee.directiveLabel) === "#isMain") {
|
|
181
|
+
let k = (te = v == null ? void 0 : v[0]) == null ? void 0 : te.prop, T = (se = (le = D == null ? void 0 : D.compData) == null ? void 0 : le.find(
|
|
182
|
+
(S) => (S == null ? void 0 : S.key) === "tableContents"
|
|
183
|
+
)) == null ? void 0 : se.contents, z;
|
|
184
|
+
T == null || T.forEach((S) => {
|
|
185
|
+
var J, K;
|
|
186
|
+
if (S.length === 1)
|
|
187
|
+
((J = S == null ? void 0 : S[0]) == null ? void 0 : J[k]) === (e == null ? void 0 : e.title) && (z = S == null ? void 0 : S[0], z[k] = F);
|
|
188
|
+
else {
|
|
189
|
+
let p = (K = v == null ? void 0 : v.filter((h) => h !== "操作")) == null ? void 0 : K.map((h) => h == null ? void 0 : h.prop), A = S == null ? void 0 : S.filter((h) => !(h != null && h.id)), B = qe(A, p);
|
|
190
|
+
B[k] = F, z = B;
|
|
191
|
+
}
|
|
192
|
+
}), await Ot({
|
|
193
|
+
key: {
|
|
194
|
+
type: "data",
|
|
195
|
+
pageKey: (ie = (ae = (oe = e == null ? void 0 : e.path) == null ? void 0 : oe.split("/")) == null ? void 0 : ae.filter((S, J) => {
|
|
196
|
+
var K, p;
|
|
197
|
+
return J !== ((p = (K = e == null ? void 0 : e.path) == null ? void 0 : K.split("/")) == null ? void 0 : p.length) - 1;
|
|
198
|
+
})) == null ? void 0 : ie.join("/"),
|
|
199
|
+
tableId: D == null ? void 0 : D.id,
|
|
200
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
201
|
+
createUserId: (re = w.value) == null ? void 0 : re.id,
|
|
202
|
+
createUserLayer: ((ne = w.value) == null ? void 0 : ne.dept) || ((ce = w.value) == null ? void 0 : ce.部门名称)
|
|
203
|
+
},
|
|
204
|
+
value: {
|
|
205
|
+
tableData: z
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
await zt(e == null ? void 0 : e.path, U), l.setUpdateMenuStatus(!1), await ue(), l.setActiveMenuPath(
|
|
211
|
+
(he = (fe = (pe = e == null ? void 0 : e.path) == null ? void 0 : pe.split("/")) == null ? void 0 : fe.filter((D, v) => {
|
|
212
|
+
var k, T;
|
|
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 : he.join("/")
|
|
215
|
+
), 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);
|
|
216
|
+
} else if (s === "update")
|
|
217
|
+
u.value = e;
|
|
218
|
+
else if (s === "delete") {
|
|
219
|
+
let F = [];
|
|
220
|
+
(F == null ? void 0 : F.length) > 0 && await Rt({
|
|
221
|
+
ids: F
|
|
222
|
+
}), l.setUpdateMenuStatus(!1), await ue(), l.setActiveMenuPath(
|
|
223
|
+
(ge = (Ce = (ye = e == null ? void 0 : e.path) == null ? void 0 : ye.split("/")) == null ? void 0 : Ce.filter((U, L) => {
|
|
224
|
+
var D, v;
|
|
225
|
+
return L !== ((v = (D = e == null ? void 0 : e.path) == null ? void 0 : D.split("/")) == null ? void 0 : v.length) - 1;
|
|
226
|
+
})) == null ? void 0 : ge.join("/")
|
|
227
|
+
), l.setActiveTopMenuPath((De = (ke = e == null ? void 0 : e.path) == null ? void 0 : ke.split("/")) == null ? void 0 : De[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0);
|
|
228
|
+
}
|
|
229
|
+
}, rt = async (t, s) => {
|
|
230
|
+
var ee, te, le, se, oe, ae, ie, re, ne, ce, pe, fe, he, de, ve, ye, Ce, ge, ke, De, F, U, L, D, v, k, T, z, S, J, K;
|
|
231
|
+
let e = await $e({
|
|
232
|
+
key: {
|
|
233
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
234
|
+
pageKey: "menu"
|
|
235
|
+
}
|
|
236
|
+
}), c = (te = (ee = e == null ? void 0 : e.data) == null ? void 0 : ee.result) == null ? void 0 : te[0], d = (le = c == null ? void 0 : c.value) == null ? void 0 : le.pageData;
|
|
237
|
+
d.compData = (se = d.compData) == null ? void 0 : se.map((p) => {
|
|
238
|
+
var A, B;
|
|
239
|
+
return (p == null ? void 0 : p.key) === "menuContents" && (p.contents = Ee(p.contents, (A = s == null ? void 0 : s.path) == null ? void 0 : A.split("/"), s == null ? void 0 : s.title, (B = t == null ? void 0 : t.target) == null ? void 0 : B.value)), p;
|
|
240
|
+
}), c != null && c.id && await Pt({
|
|
241
|
+
id: c == null ? void 0 : c.id,
|
|
242
|
+
value: {
|
|
243
|
+
pageData: d
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
let g = (ae = (oe = s == null ? void 0 : s.path) == null ? void 0 : oe.split("/")) == null ? void 0 : ae.filter((p, A) => {
|
|
247
|
+
var B, h;
|
|
248
|
+
return A !== ((h = (B = s == null ? void 0 : s.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
249
|
+
}), $ = g == null ? void 0 : g.join("/");
|
|
250
|
+
g.push((ie = t == null ? void 0 : t.target) == null ? void 0 : ie.value), g = g == null ? void 0 : g.join("/");
|
|
251
|
+
let _ = await Je($, sessionStorage.getItem("systemKey"), "");
|
|
252
|
+
if (((fe = (pe = (ce = (ne = (re = _ == null ? void 0 : _[0]) == null ? void 0 : re.compData) == null ? void 0 : ne.find((p) => (p == null ? void 0 : p.key) === "header")) == null ? void 0 : ce.contents) == null ? void 0 : pe[0]) == null ? void 0 : fe.directiveLabel) === "#isMain") {
|
|
253
|
+
let p = (Ce = (ye = (ve = (de = (he = _ == null ? void 0 : _[0]) == null ? void 0 : he.compData) == null ? void 0 : de.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : ve.contents) == null ? void 0 : ye[0]) == null ? void 0 : Ce.prop, A = (De = (ke = (ge = _ == null ? void 0 : _[0]) == null ? void 0 : ge.compData) == null ? void 0 : ke.find(
|
|
254
|
+
(y) => (y == null ? void 0 : y.key) === "tableContents"
|
|
255
|
+
)) == null ? void 0 : De.contents, B = (D = (L = (U = (F = _ == null ? void 0 : _[0]) == null ? void 0 : F.compData) == null ? void 0 : U.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : L.contents) == null ? void 0 : D.map((y) => y == null ? void 0 : y.prop), h;
|
|
256
|
+
if (A == null || A.forEach((y) => {
|
|
257
|
+
var Q;
|
|
258
|
+
let N = qe(y, B);
|
|
259
|
+
(N == null ? void 0 : N[p]) === s.title && (h = N, h[p] = (Q = t == null ? void 0 : t.target) == null ? void 0 : Q.value);
|
|
260
|
+
}), h) {
|
|
261
|
+
let y = {};
|
|
262
|
+
for (let Q in h)
|
|
263
|
+
Q !== "id" && (y[Q] = h == null ? void 0 : h[Q]);
|
|
264
|
+
let N = [
|
|
265
|
+
{
|
|
266
|
+
id: h == null ? void 0 : h.id,
|
|
267
|
+
value: {
|
|
268
|
+
tableData: y
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
];
|
|
272
|
+
await ze({
|
|
273
|
+
dataList: N
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
let G = await $e({
|
|
278
|
+
key: {
|
|
279
|
+
systemKey: sessionStorage.getItem("systemKey"),
|
|
280
|
+
pageKey: s == null ? void 0 : s.path
|
|
281
|
+
}
|
|
282
|
+
}), E = (k = (v = G == null ? void 0 : G.data) == null ? void 0 : v.result) == null ? void 0 : k.map((p) => ({
|
|
283
|
+
id: p == null ? void 0 : p.id,
|
|
284
|
+
key: p == null ? void 0 : p.key
|
|
285
|
+
}));
|
|
286
|
+
E = E == null ? void 0 : E.map((p) => (p.key.pageKey = g, p)), (E == null ? void 0 : E.length) > 0 && await ze({
|
|
287
|
+
dataList: E
|
|
288
|
+
}), l.setUpdateMenuStatus(!1), await ue(), l.setActiveMenuPath(
|
|
289
|
+
(S = (z = (T = s == null ? void 0 : s.path) == null ? void 0 : T.split("/")) == null ? void 0 : z.filter((p, A) => {
|
|
290
|
+
var B, h;
|
|
291
|
+
return A !== ((h = (B = s == null ? void 0 : s.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
292
|
+
})) == null ? void 0 : S.join("/")
|
|
293
|
+
), l.setActiveTopMenuPath((K = (J = s == null ? void 0 : s.path) == null ? void 0 : J.split("/")) == null ? void 0 : K[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0), u.value = void 0;
|
|
294
|
+
}, nt = async (t, s) => {
|
|
295
|
+
R.type = ot(s == null ? void 0 : s.operateType), await it(s, R.type, t), W.value = t, Ue.value = s;
|
|
296
|
+
}, ct = () => {
|
|
297
|
+
R.show = !1;
|
|
298
|
+
}, pt = (t) => t == null ? void 0 : t.filter((s) => s.allowInherit), ft = () => {
|
|
299
|
+
var e, c, d, g, $;
|
|
300
|
+
let t;
|
|
301
|
+
R.type === "create" && (t = ((e = W.value) == null ? void 0 : e.path) + "/" + m.value[(c = m.value) == null ? void 0 : c.prop]), R.type === "update" && (t = (d = W.value) == null ? void 0 : d.path);
|
|
302
|
+
const s = {
|
|
303
|
+
...W.value,
|
|
304
|
+
//是否继承父菜单的配置
|
|
305
|
+
config: pt((g = W.value) == null ? void 0 : g.config),
|
|
306
|
+
children: [],
|
|
307
|
+
childMenus: [],
|
|
308
|
+
title: m.value[($ = m.value) == null ? void 0 : $.prop],
|
|
309
|
+
path: t
|
|
310
|
+
};
|
|
311
|
+
console.log("clickSubmitForm", Ue.value, W.value, s), at(s), R.show = !1;
|
|
312
|
+
}, ht = (t) => {
|
|
313
|
+
var e, c;
|
|
314
|
+
const s = (e = t == null ? void 0 : t.contents) == null ? void 0 : e.find((d) => d.key === "formContent");
|
|
315
|
+
s && (m.value = (c = s == null ? void 0 : s.contents) == null ? void 0 : c.reduce(
|
|
316
|
+
(d, g) => (d[g.key] = g.value, d.prop = g.key, d),
|
|
317
|
+
{}
|
|
318
|
+
));
|
|
319
|
+
}, x = j(!1), dt = () => {
|
|
320
|
+
x.value = !x.value;
|
|
321
|
+
}, _e = j(null);
|
|
322
|
+
return je(() => a.value, async (t) => {
|
|
323
|
+
var s, e;
|
|
324
|
+
if (t) {
|
|
325
|
+
await kt();
|
|
326
|
+
const c = t == null ? void 0 : t[0];
|
|
327
|
+
if (((s = c == null ? void 0 : c.children) == null ? void 0 : s.length) > 0) {
|
|
328
|
+
const d = c == null ? void 0 : c.path;
|
|
329
|
+
_e.value && ((e = _e.value) == null || e.openMenuRefByIndex(d));
|
|
330
|
+
} else
|
|
331
|
+
O != null && O.value ? l.setJumpMenuInform(!1) : l.setActiveMenuPath((c == null ? void 0 : c.path) ?? "");
|
|
332
|
+
}
|
|
333
|
+
}, { immediate: !0 }), {
|
|
334
|
+
menuRef: _e,
|
|
335
|
+
isCollapse: x,
|
|
336
|
+
handleMenuCollapse: dt,
|
|
337
|
+
handleCompChange: ht,
|
|
338
|
+
dialogForm: lt,
|
|
339
|
+
dialogRenderComps: st,
|
|
340
|
+
getComponents: tt,
|
|
341
|
+
clickSubmitForm: ft,
|
|
342
|
+
dialogInfo: R,
|
|
343
|
+
beforeDialogDestroy: ct,
|
|
344
|
+
clickMenuIcon: nt,
|
|
345
|
+
mode: Ye,
|
|
346
|
+
renderMenuList: Le,
|
|
347
|
+
clickMenu: Ze,
|
|
348
|
+
openMenu: Ve,
|
|
349
|
+
closeMenu: He,
|
|
350
|
+
changeMenuStyle: q,
|
|
351
|
+
fixElement: u,
|
|
352
|
+
onBlur: rt,
|
|
353
|
+
isSuperAdmin: Xe
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
const xt = yt(Qe()), Gt = ["title"], Nt = {
|
|
359
|
+
key: 1,
|
|
360
|
+
class: "menu-title",
|
|
361
|
+
style: { display: "flex", width: "100px" }
|
|
362
|
+
}, Qt = { class: "module-dialog-content" };
|
|
363
|
+
function Xt(i, n, I, f, o, l) {
|
|
364
|
+
var u;
|
|
365
|
+
const r = Z("ss-input"), M = Z("ss-menu"), w = Z("svg-icon"), b = Z("el-button"), C = Z("ss-dialog");
|
|
366
|
+
return P(), X(Pe, null, [
|
|
367
|
+
Y(M, {
|
|
368
|
+
ref: "menuRef",
|
|
369
|
+
class: "vertical-menu",
|
|
370
|
+
mode: i.mode,
|
|
371
|
+
menuList: i.renderMenuList,
|
|
372
|
+
isCollapse: i.isCollapse,
|
|
373
|
+
uniqueOpened: !0,
|
|
374
|
+
onClickMenu: i.clickMenu,
|
|
375
|
+
onOpenMenu: i.openMenu,
|
|
376
|
+
onCloseMenu: i.closeMenu
|
|
377
|
+
}, {
|
|
378
|
+
title: V(({ menu: a }) => {
|
|
379
|
+
var H, Se, O;
|
|
380
|
+
return [
|
|
381
|
+
!i.fixElement || (a == null ? void 0 : a.path) !== ((H = i.fixElement) == null ? void 0 : H.path) ? (P(), X("span", {
|
|
382
|
+
key: 0,
|
|
383
|
+
title: a.title,
|
|
384
|
+
class: "menu-title",
|
|
385
|
+
style: Dt({ marginRight: a != null && a.config && ((Se = a == null ? void 0 : a.config) == null ? void 0 : Se.length) > 0 ? "25px" : "1px" })
|
|
386
|
+
}, St(a.title ?? ""), 13, Gt)) : Te("", !0),
|
|
387
|
+
i.fixElement && (a == null ? void 0 : a.path) === ((O = i.fixElement) == null ? void 0 : O.path) ? (P(), X("span", Nt, [
|
|
388
|
+
Y(r, {
|
|
389
|
+
value: a.title,
|
|
390
|
+
onBlur: (be) => i.onBlur(be, a)
|
|
391
|
+
}, null, 8, ["value", "onBlur"])
|
|
392
|
+
])) : Te("", !0)
|
|
393
|
+
];
|
|
394
|
+
}),
|
|
395
|
+
_: 1
|
|
396
|
+
}, 8, ["mode", "menuList", "isCollapse", "onClickMenu", "onOpenMenu", "onCloseMenu"]),
|
|
397
|
+
((u = i.renderMenuList) == null ? void 0 : u.length) > 0 ? (P(), X("div", {
|
|
398
|
+
key: 0,
|
|
399
|
+
class: "fold-icon",
|
|
400
|
+
onClick: n[0] || (n[0] = (...a) => i.handleMenuCollapse && i.handleMenuCollapse(...a))
|
|
401
|
+
}, [
|
|
402
|
+
Y(w, {
|
|
403
|
+
name: i.isCollapse ? "expand" : "pack",
|
|
404
|
+
style: { width: "15px", height: "15px" }
|
|
405
|
+
}, null, 8, ["name"])
|
|
406
|
+
])) : Te("", !0),
|
|
407
|
+
Y(C, {
|
|
408
|
+
class: "module-dialog",
|
|
409
|
+
title: i.dialogInfo.title,
|
|
410
|
+
visible: i.dialogInfo.show,
|
|
411
|
+
width: i.dialogInfo.width,
|
|
412
|
+
onBeforeDestroy: i.beforeDialogDestroy
|
|
413
|
+
}, {
|
|
414
|
+
default: V(() => [
|
|
415
|
+
Oe("div", Qt, [
|
|
416
|
+
(P(!0), X(Pe, null, It(i.dialogRenderComps, (a) => (P(), X("div", {
|
|
417
|
+
key: a.id
|
|
418
|
+
}, [
|
|
419
|
+
(P(), we(xe(i.getComponents((a == null ? void 0 : a.comp) ?? "Input")), {
|
|
420
|
+
itemData: a == null ? void 0 : a.compData,
|
|
421
|
+
key: a == null ? void 0 : a.id,
|
|
422
|
+
content: (a == null ? void 0 : a.contents) ?? [],
|
|
423
|
+
config: a == null ? void 0 : a.config,
|
|
424
|
+
onContentChange: i.handleCompChange
|
|
425
|
+
}, null, 40, ["itemData", "content", "config", "onContentChange"]))
|
|
426
|
+
]))), 128))
|
|
427
|
+
])
|
|
428
|
+
]),
|
|
429
|
+
footer: V(() => [
|
|
430
|
+
Oe("div", null, [
|
|
431
|
+
Y(b, {
|
|
432
|
+
id: "themeBorderButton",
|
|
433
|
+
onClick: i.beforeDialogDestroy
|
|
434
|
+
}, {
|
|
435
|
+
default: V(() => [...n[1] || (n[1] = [
|
|
436
|
+
Re("取消", -1)
|
|
437
|
+
])]),
|
|
438
|
+
_: 1
|
|
439
|
+
}, 8, ["onClick"]),
|
|
440
|
+
Y(b, {
|
|
441
|
+
id: "themeButton",
|
|
442
|
+
onClick: i.clickSubmitForm
|
|
443
|
+
}, {
|
|
444
|
+
default: V(() => [...n[2] || (n[2] = [
|
|
445
|
+
Re(" 确认 ", -1)
|
|
446
|
+
])]),
|
|
447
|
+
_: 1
|
|
448
|
+
}, 8, ["onClick"])
|
|
449
|
+
])
|
|
450
|
+
]),
|
|
451
|
+
_: 1
|
|
452
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
453
|
+
], 64);
|
|
454
|
+
}
|
|
455
|
+
const Yt = /* @__PURE__ */ qt(xt, [["render", Xt], ["__scopeId", "data-v-591def66"]]), fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
456
|
+
__proto__: null,
|
|
457
|
+
addSelectMenu: Ne,
|
|
458
|
+
default: Yt,
|
|
459
|
+
deleteSelectMenu: Ge,
|
|
460
|
+
fixSelectMenu: Ee,
|
|
461
|
+
setComponent: Qe
|
|
462
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
463
|
+
export {
|
|
464
|
+
Wt as _,
|
|
465
|
+
Yt as a,
|
|
466
|
+
fl as i,
|
|
467
|
+
Be as s
|
|
468
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as i,
|
|
2
|
-
import { c as J,
|
|
3
|
-
import { j as ke } from "./index-
|
|
4
|
-
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-
|
|
5
|
-
import { e as Se } from "./menuIndex-
|
|
6
|
-
import { E as S } from "./request-
|
|
7
|
-
const F =
|
|
1
|
+
import { ref as i, nextTick as B, reactive as ie, computed as _, watch as ye } from "vue";
|
|
2
|
+
import { c as J, u as be, p as U, a as he, j as Ce, s as Ie } from "./index-D2eUttRQ.js";
|
|
3
|
+
import { j as ke } from "./index-CBniJUYQ.js";
|
|
4
|
+
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-B4NcYIuS.js";
|
|
5
|
+
import { e as Se } from "./menuIndex-C_KNU7iT.js";
|
|
6
|
+
import { E as S } from "./request-BfrhYBTM.js";
|
|
7
|
+
const F = he(U), ne = Ce(U), C = be(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = Ie(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
10
10
|
{
|