ss-component-new 1.3.621 → 1.3.622
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-Cg9LEvNr.js → MTLLoader-5pQpbMEZ.js} +2 -2
- package/dist/{URDFLoader-mPVZjSIW.js → URDFLoader-BO26K5-d.js} +584 -589
- package/dist/{animationData-CDdaleGB.js → animationData-rL2nYHqW.js} +3 -3
- package/dist/{array-HJsOOS05.js → array-DuZM66_g.js} +113 -112
- package/dist/{clone-MyfSNInd.js → clone-ESeDvnJv.js} +1 -1
- package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-C7Pz9jha.js} +2 -2
- package/dist/{iconfont-BBJ_Xa7g.js → iconfont-BIrta5vE.js} +91 -91
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-vITXyWii.js → index-B0LBEDkm.js} +6437 -6878
- package/dist/{index-BvtOLltL.js → index-B0M1YCUY.js} +7 -7
- package/dist/{index-DibHtT3s.js → index-B1mQwlvc.js} +1032 -999
- package/dist/{index-QpbdZ-N-.js → index-B8XrhVMF.js} +40 -36
- package/dist/{index-CT1LWsrT.js → index-BBBCr4Oo.js} +2 -2
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-CRUkYvae.js → index-BRe_6GdA.js} +4 -4
- package/dist/{index-DcPtyCDm.js → index-BUqviBFi.js} +35 -29
- package/dist/{index-B2LYEScO.js → index-BXh02EAd.js} +4 -4
- package/dist/{index-CkO7j_i1.js → index-B_fRppeJ.js} +8 -8
- package/dist/{index-DMUuZJrY.js → index-BfOy5Rro.js} +3 -3
- package/dist/{index-6qXeMn6b.js → index-BvkIoiVW.js} +3 -3
- package/dist/{index-BVcc8kay.js → index-C1AGWEl0.js} +22 -20
- package/dist/{index-D1vR2n9D.js → index-C2C4Xubh.js} +5 -5
- package/dist/{index-DIVct0z6.js → index-C3pboX9W.js} +5 -5
- package/dist/{index-xWwc0MvD.js → index-CAzlTHKw.js} +157 -148
- package/dist/{index-DagRVVUS.js → index-CEdE_NSq.js} +4 -4
- package/dist/{index-BkkvdZXm.js → index-CPW7tdrA.js} +20 -17
- package/dist/{index-DjyxFjoY.js → index-CQUr9J0Q.js} +76 -74
- package/dist/{index-CpF3wYnE.js → index-CTGB1BcX.js} +13846 -13797
- package/dist/{index-BybrpYzx.js → index-CX8Apbo7.js} +1 -1
- package/dist/{index-DMkEL6P5.js → index-CsgdODAE.js} +8 -8
- package/dist/{index-DmILGKv9.js → index-D1E8EPxn.js} +61 -57
- package/dist/{index-B8NQAdR4.js → index-D8UY4uNQ.js} +967 -966
- package/dist/{index-DneXSBUw.js → index-D8ybTjwW.js} +8 -8
- package/dist/{index-CYjsE5Gs.js → index-D9xMYIes.js} +3 -3
- package/dist/{index-CvZcm-Tt.js → index-DlQXFCw8.js} +8 -7
- package/dist/{index-BvyM6d06.js → index-DsdWSuDi.js} +483 -482
- package/dist/{index-DCY5J8nu.js → index-XvX6TMzr.js} +1 -1
- package/dist/{index-B4NcYIuS.js → index-YvUJL9Us.js} +1 -1
- package/dist/{index-B86vVYuK.js → index-ZdNvgZn9.js} +3 -3
- package/dist/index-l27pYXil.js +572 -0
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-CM6aWexA.js → index-tMqKF2l6.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VCheSKQF.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js} +27735 -27760
- package/dist/isString-BlNsHiyU.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-BuQcSVmx.js → main-C4Ocxkhh.js} +9 -9
- package/dist/{menuIndex-BiUB7t5q.js → menuIndex-DAW9B-9g.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-BfrhYBTM.js → request-B1c8BUkR.js} +3075 -3493
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +17 -17
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-Br3xFMq_.js → threeModel-eP_5lGNi.js} +174 -174
- package/dist/{threePreview-BjOjXzmX.js → threePreview-DMxYjkgP.js} +300 -302
- package/dist/{threeSceneView-Arn9K2ca.js → threeSceneView-BCi9Iy7Y.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-DyBpZbxn.js → threeSceneViewForCPMPIP-C-O6XT9G.js} +17 -16
- package/dist/{threeTrackPathView-DuL77ZaW.js → threeTrackPathView-DB61-HKo.js} +7 -7
- package/dist/{threeViewerHost-BYzW22O3.js → threeViewerHost-CZUXimUc.js} +4 -4
- package/dist/{urdfTree-xJWz0AN3.js → urdfTree-BTnijMjA.js} +9 -9
- package/dist/{workpieceTreePanel-Cfj81zvc.js → workpieceTreePanel-Cmcj8MOA.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BGVDfril.js +0 -2623
- package/dist/isString-Dxm3W5iX.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as x, onMounted as _,
|
|
2
|
-
import { s as b } from "./index-
|
|
3
|
-
import { c as s } from "./index-
|
|
1
|
+
import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
|
|
2
|
+
import { s as b } from "./index-ZdNvgZn9.js";
|
|
3
|
+
import { c as s } from "./index-D8UY4uNQ.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|
|
@@ -74,7 +74,7 @@ const A = (t, n, a) => {
|
|
|
74
74
|
var o;
|
|
75
75
|
const e = n == null ? void 0 : n.eChartContents;
|
|
76
76
|
a.value = A(s(e == null ? void 0 : e.compData), (o = c == null ? void 0 : c.find((r) => (r == null ? void 0 : r.key) === (e == null ? void 0 : e.name))) == null ? void 0 : o.value, e == null ? void 0 : e.extraContent);
|
|
77
|
-
}), (e, o) => (
|
|
77
|
+
}), (e, o) => (y(), g("div", v, [
|
|
78
78
|
C(b, { optionContents: a.value }, null, 8, ["optionContents"])
|
|
79
79
|
]));
|
|
80
80
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u,
|
|
2
|
-
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-
|
|
3
|
-
import { w as Qe, E as $e, F as we, c as Ye, k as je, u as Ze, p as He } from "./index-
|
|
4
|
-
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { s as Je } from "./index-
|
|
1
|
+
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u, createElementBlock as P, openBlock as _, createElementVNode as s, createVNode as o, unref as c, withCtx as i, createTextVNode as N, toDisplayString as le, Fragment as oe, renderList as se, withModifiers as xe, createBlock as re, createCommentVNode as qe } from "vue";
|
|
2
|
+
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-tMqKF2l6.js";
|
|
3
|
+
import { w as Qe, E as $e, F as we, c as Ye, k as je, u as Ze, p as He } from "./index-D8UY4uNQ.js";
|
|
4
|
+
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { s as Je } from "./index-11kpzK0A.js";
|
|
6
6
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const G = {
|
|
8
8
|
COMPANY: {
|
|
@@ -349,20 +349,22 @@ const G = {
|
|
|
349
349
|
type: "primary",
|
|
350
350
|
onClick: y
|
|
351
351
|
}, {
|
|
352
|
-
default: i(() =>
|
|
353
|
-
N("查询"
|
|
354
|
-
])
|
|
355
|
-
_: 1
|
|
352
|
+
default: i(() => a[5] || (a[5] = [
|
|
353
|
+
N("查询")
|
|
354
|
+
])),
|
|
355
|
+
_: 1,
|
|
356
|
+
__: [5]
|
|
356
357
|
}),
|
|
357
358
|
o(te, {
|
|
358
359
|
type: "primary",
|
|
359
360
|
plain: "",
|
|
360
361
|
onClick: X
|
|
361
362
|
}, {
|
|
362
|
-
default: i(() =>
|
|
363
|
-
N("重置"
|
|
364
|
-
])
|
|
365
|
-
_: 1
|
|
363
|
+
default: i(() => a[6] || (a[6] = [
|
|
364
|
+
N("重置")
|
|
365
|
+
])),
|
|
366
|
+
_: 1,
|
|
367
|
+
__: [6]
|
|
366
368
|
})
|
|
367
369
|
]),
|
|
368
370
|
s("div", it, [
|
|
@@ -370,10 +372,11 @@ const G = {
|
|
|
370
372
|
type: "primary",
|
|
371
373
|
onClick: a[1] || (a[1] = (r) => ce())
|
|
372
374
|
}, {
|
|
373
|
-
default: i(() =>
|
|
374
|
-
N("新增部门"
|
|
375
|
-
])
|
|
376
|
-
_: 1
|
|
375
|
+
default: i(() => a[7] || (a[7] = [
|
|
376
|
+
N("新增部门")
|
|
377
|
+
])),
|
|
378
|
+
_: 1,
|
|
379
|
+
__: [7]
|
|
377
380
|
})
|
|
378
381
|
])
|
|
379
382
|
]),
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as vt, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { S as Mt } from "./index-
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
5
|
-
import { I as ut } from "./request-
|
|
6
|
-
import { s as wt } from "./index-
|
|
7
|
-
import { c as Bt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as vt, computed as _e, onMounted as We, resolveComponent as Z, createBlock as we, openBlock as P, 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, createCommentVNode as Te, normalizeStyle as Dt, toDisplayString as St, createElementVNode as Oe, createTextVNode as Re, renderList as _t } from "vue";
|
|
2
|
+
import { u as It, a as bt, p as Ke, b as Tt, s as Me, c as Ae, v as ue } from "./index-D8UY4uNQ.js";
|
|
3
|
+
import { S as Mt } from "./index-BHtNKL1L.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js";
|
|
5
|
+
import { I as ut } from "./request-B1c8BUkR.js";
|
|
6
|
+
import { s as wt } from "./index-11kpzK0A.js";
|
|
7
|
+
import { c as Bt } from "./index-B0LBEDkm.js";
|
|
8
8
|
import { useRouter as At } from "vue-router";
|
|
9
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-
|
|
11
|
-
import { g as Kt } from "./index-
|
|
12
|
-
import { f as $t } from "./menuIndex-
|
|
13
|
-
import { d as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const Be = vt(() => import("./index-
|
|
10
|
+
import { g as $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-YvUJL9Us.js";
|
|
11
|
+
import { g as Kt } from "./index-CTGB1BcX.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-DAW9B-9g.js";
|
|
13
|
+
import { d as qe, e as Je, n as zt } from "./index-DsdWSuDi.js";
|
|
14
|
+
import { u as qt } from "./index-D9xMYIes.js";
|
|
15
|
+
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Be = vt(() => import("./index-B0LBEDkm.js").then((i) => i.q));
|
|
17
17
|
Be.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Be);
|
|
19
19
|
};
|
|
@@ -23,45 +23,45 @@ const Wt = {
|
|
|
23
23
|
name: String
|
|
24
24
|
},
|
|
25
25
|
setup(i) {
|
|
26
|
-
const n = i,
|
|
26
|
+
const n = i, _ = _e(() => ut[n.name]);
|
|
27
27
|
return We(() => {
|
|
28
28
|
}), (f, o) => {
|
|
29
29
|
const l = Z("el-icon");
|
|
30
30
|
return P(), we(l, null, {
|
|
31
31
|
default: V(() => [
|
|
32
|
-
(P(), we(xe(
|
|
32
|
+
(P(), we(xe(_.value)))
|
|
33
33
|
]),
|
|
34
34
|
_: 1
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
}, Ge = (i, n,
|
|
38
|
+
}, Ge = (i, n, _ = 0) => {
|
|
39
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[
|
|
41
|
-
if (o != null && o.find((l) => l === (n == null ? void 0 : n[
|
|
42
|
-
let l = Ae(n), r = o == null ? void 0 : o.filter((C) => C !== (l == null ? void 0 : l[
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}), o =
|
|
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[_])) : f = f == null ? void 0 : f.map((o) => {
|
|
41
|
+
if (o != null && o.find((l) => l === (n == null ? void 0 : n[_])) && (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[_])), M = _ + 1, w = Ge(r, l, M), I = [];
|
|
43
|
+
I.push(o == null ? void 0 : o[0]), w == null || w.forEach((C) => {
|
|
44
|
+
I.push(C);
|
|
45
|
+
}), o = I;
|
|
46
46
|
}
|
|
47
47
|
return o;
|
|
48
48
|
})), f;
|
|
49
|
-
}, Ne = (i, n,
|
|
49
|
+
}, Ne = (i, n, _, f = 0) => {
|
|
50
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([
|
|
51
|
+
return o != null && o.every((l) => Array.isArray(l)) && (o != null && o.every((l) => Array.isArray(l) && l.length === 1) ? o.push([_]) : o = o == null ? void 0 : o.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 = Ae(n), M = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1,
|
|
54
|
-
C.push(l == null ? void 0 : l[0]),
|
|
53
|
+
let r = Ae(n), M = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, I = Ne(M, r, _, w), C = [];
|
|
54
|
+
C.push(l == null ? void 0 : l[0]), I == null || I.forEach((u) => {
|
|
55
55
|
C.push(u);
|
|
56
56
|
}), l = C;
|
|
57
57
|
}
|
|
58
58
|
return l;
|
|
59
59
|
})), o;
|
|
60
|
-
}, Ee = (i, n,
|
|
60
|
+
}, Ee = (i, n, _, f, o = 0) => {
|
|
61
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]) ===
|
|
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]) === _ && (r = [f]), r)) : l = l == null ? void 0 : l.map((r) => {
|
|
63
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])),
|
|
64
|
+
let M = Ae(n), w = r == null ? void 0 : r.filter((a) => a !== (M == null ? void 0 : M[o])), I = o + 1, C = Ee(w, M, _, f, I), u = [];
|
|
65
65
|
u.push(r == null ? void 0 : r[0]), C == null || C.forEach((a) => {
|
|
66
66
|
u.push(a);
|
|
67
67
|
}), r = u;
|
|
@@ -79,7 +79,7 @@ function Qe(i = "menu") {
|
|
|
79
79
|
ssDialog: wt,
|
|
80
80
|
ssInput: Bt
|
|
81
81
|
},
|
|
82
|
-
setup(n, { emit:
|
|
82
|
+
setup(n, { emit: _ }) {
|
|
83
83
|
const f = Ct({
|
|
84
84
|
mode: {
|
|
85
85
|
type: String,
|
|
@@ -101,10 +101,10 @@ function Qe(i = "menu") {
|
|
|
101
101
|
operateType: "修改菜单名",
|
|
102
102
|
operateIcon: "FixedMenu"
|
|
103
103
|
}
|
|
104
|
-
]), l =
|
|
104
|
+
]), l = It(), r = bt(Ke), M = Tt(Ke), { loginUserInfo: w } = Me(M), I = j(0), C = At(), u = j(), { asideMenus: a, menuTriggerType: H, platform: Se, jumpMenuInform: O } = Me(l), { fixMenuStatus: Ie } = Me(r), { isSuperAdmin: Xe } = qt(), Ye = _e(() => f == null ? void 0 : f.mode), Fe = (t) => t == null ? void 0 : t.map((e) => {
|
|
105
105
|
var c, d;
|
|
106
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 =
|
|
107
|
+
}), Le = _e(() => {
|
|
108
108
|
let t = [...a.value];
|
|
109
109
|
if ((t == null ? void 0 : t.length) === 0)
|
|
110
110
|
return C.push("/"), [];
|
|
@@ -114,29 +114,29 @@ function Qe(i = "menu") {
|
|
|
114
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
115
|
}), t;
|
|
116
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("/"),
|
|
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("/"), _("node-click", t, s);
|
|
118
118
|
}, Ve = async (t) => {
|
|
119
119
|
const s = $t(Le.value, "path", t);
|
|
120
|
-
l.setActiveAsideMenu(s), r.setRouteToChildPath(""),
|
|
120
|
+
l.setActiveAsideMenu(s), r.setRouteToChildPath(""), Ie.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("/"), I.value++;
|
|
121
121
|
}, He = (t) => {
|
|
122
122
|
x.value || l.setActiveMenuPath(t);
|
|
123
|
-
},
|
|
123
|
+
}, J = (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
|
We(() => {
|
|
130
|
-
|
|
130
|
+
I.value = 1;
|
|
131
131
|
});
|
|
132
|
-
const me =
|
|
132
|
+
const me = _e(() => {
|
|
133
133
|
const t = sessionStorage.getItem("authority");
|
|
134
134
|
return t ? JSON.parse(t) : [];
|
|
135
135
|
});
|
|
136
136
|
je(
|
|
137
137
|
() => Se.value,
|
|
138
138
|
(t) => {
|
|
139
|
-
t === "browser" ?
|
|
139
|
+
t === "browser" ? J(Et) : t === "client" ? (J(Ft), J(Lt)) : t === "three" && (J(Ut), J(jt));
|
|
140
140
|
},
|
|
141
141
|
{ immediate: !0 }
|
|
142
142
|
);
|
|
@@ -162,16 +162,16 @@ function Qe(i = "menu") {
|
|
|
162
162
|
data: t
|
|
163
163
|
}), l.setIsRefreshMenus(!0);
|
|
164
164
|
}, it = async (t, s, e) => {
|
|
165
|
-
var c, d, g, $,
|
|
165
|
+
var c, d, g, $, b, G, E, ee, te, le, se, oe, ae, ie, re, ne, ce, pe, fe, he, de, ve, ye, Ce, ge, ke, De;
|
|
166
166
|
if (s === "create") {
|
|
167
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
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
|
-
}), L = await
|
|
171
|
-
(
|
|
170
|
+
}), L = await qe(
|
|
171
|
+
(b = ($ = (g = e == null ? void 0 : e.path) == null ? void 0 : g.split("/")) == null ? void 0 : $.filter((D, 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
|
-
})) == null ? void 0 :
|
|
174
|
+
})) == null ? void 0 : b.join("/"),
|
|
175
175
|
sessionStorage.getItem("systemKey"),
|
|
176
176
|
""
|
|
177
177
|
);
|
|
@@ -182,19 +182,19 @@ function Qe(i = "menu") {
|
|
|
182
182
|
(S) => (S == null ? void 0 : S.key) === "tableContents"
|
|
183
183
|
)) == null ? void 0 : se.contents, z;
|
|
184
184
|
T == null || T.forEach((S) => {
|
|
185
|
-
var
|
|
185
|
+
var q, K;
|
|
186
186
|
if (S.length === 1)
|
|
187
|
-
((
|
|
187
|
+
((q = S == null ? void 0 : S[0]) == null ? void 0 : q[k]) === (e == null ? void 0 : e.title) && (z = S == null ? void 0 : S[0], z[k] = F);
|
|
188
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 =
|
|
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 = Je(A, p);
|
|
190
190
|
B[k] = F, z = B;
|
|
191
191
|
}
|
|
192
192
|
}), await Ot({
|
|
193
193
|
key: {
|
|
194
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,
|
|
195
|
+
pageKey: (ie = (ae = (oe = e == null ? void 0 : e.path) == null ? void 0 : oe.split("/")) == null ? void 0 : ae.filter((S, q) => {
|
|
196
196
|
var K, p;
|
|
197
|
-
return
|
|
197
|
+
return q !== ((p = (K = e == null ? void 0 : e.path) == null ? void 0 : K.split("/")) == null ? void 0 : p.length) - 1;
|
|
198
198
|
})) == null ? void 0 : ie.join("/"),
|
|
199
199
|
tableId: D == null ? void 0 : D.id,
|
|
200
200
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -227,7 +227,7 @@ function Qe(i = "menu") {
|
|
|
227
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
228
|
}
|
|
229
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,
|
|
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, q, K;
|
|
231
231
|
let e = await $e({
|
|
232
232
|
key: {
|
|
233
233
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -248,14 +248,14 @@ function Qe(i = "menu") {
|
|
|
248
248
|
return A !== ((h = (B = s == null ? void 0 : s.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
249
249
|
}), $ = g == null ? void 0 : g.join("/");
|
|
250
250
|
g.push((ie = t == null ? void 0 : t.target) == null ? void 0 : ie.value), g = g == null ? void 0 : g.join("/");
|
|
251
|
-
let
|
|
252
|
-
if (((fe = (pe = (ce = (ne = (re =
|
|
253
|
-
let p = (Ce = (ye = (ve = (de = (he =
|
|
251
|
+
let b = await qe($, sessionStorage.getItem("systemKey"), "");
|
|
252
|
+
if (((fe = (pe = (ce = (ne = (re = b == null ? void 0 : b[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 = b == null ? void 0 : b[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 = b == null ? void 0 : b[0]) == null ? void 0 : ge.compData) == null ? void 0 : ke.find(
|
|
254
254
|
(y) => (y == null ? void 0 : y.key) === "tableContents"
|
|
255
|
-
)) == null ? void 0 : De.contents, B = (D = (L = (U = (F =
|
|
255
|
+
)) == null ? void 0 : De.contents, B = (D = (L = (U = (F = b == null ? void 0 : b[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
256
|
if (A == null || A.forEach((y) => {
|
|
257
257
|
var Q;
|
|
258
|
-
let N =
|
|
258
|
+
let N = Je(y, B);
|
|
259
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
260
|
}), h) {
|
|
261
261
|
let y = {};
|
|
@@ -290,7 +290,7 @@ function Qe(i = "menu") {
|
|
|
290
290
|
var B, h;
|
|
291
291
|
return A !== ((h = (B = s == null ? void 0 : s.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
292
292
|
})) == null ? void 0 : S.join("/")
|
|
293
|
-
), l.setActiveTopMenuPath((K = (
|
|
293
|
+
), l.setActiveTopMenuPath((K = (q = s == null ? void 0 : s.path) == null ? void 0 : q.split("/")) == null ? void 0 : K[0]), l.setIsRefreshMenus(!1), l.setIsRefreshMenus(!0), u.value = void 0;
|
|
294
294
|
}, nt = async (t, s) => {
|
|
295
295
|
R.type = ot(s == null ? void 0 : s.operateType), await it(s, R.type, t), W.value = t, Ue.value = s;
|
|
296
296
|
}, ct = () => {
|
|
@@ -318,7 +318,7 @@ function Qe(i = "menu") {
|
|
|
318
318
|
));
|
|
319
319
|
}, x = j(!1), dt = () => {
|
|
320
320
|
x.value = !x.value;
|
|
321
|
-
},
|
|
321
|
+
}, be = j(null);
|
|
322
322
|
return je(() => a.value, async (t) => {
|
|
323
323
|
var s, e;
|
|
324
324
|
if (t) {
|
|
@@ -326,12 +326,12 @@ function Qe(i = "menu") {
|
|
|
326
326
|
const c = t == null ? void 0 : t[0];
|
|
327
327
|
if (((s = c == null ? void 0 : c.children) == null ? void 0 : s.length) > 0) {
|
|
328
328
|
const d = c == null ? void 0 : c.path;
|
|
329
|
-
|
|
329
|
+
be.value && ((e = be.value) == null || e.openMenuRefByIndex(d));
|
|
330
330
|
} else
|
|
331
331
|
O != null && O.value ? l.setJumpMenuInform(!1) : l.setActiveMenuPath((c == null ? void 0 : c.path) ?? "");
|
|
332
332
|
}
|
|
333
333
|
}, { immediate: !0 }), {
|
|
334
|
-
menuRef:
|
|
334
|
+
menuRef: be,
|
|
335
335
|
isCollapse: x,
|
|
336
336
|
handleMenuCollapse: dt,
|
|
337
337
|
handleCompChange: ht,
|
|
@@ -347,7 +347,7 @@ function Qe(i = "menu") {
|
|
|
347
347
|
clickMenu: Ze,
|
|
348
348
|
openMenu: Ve,
|
|
349
349
|
closeMenu: He,
|
|
350
|
-
changeMenuStyle:
|
|
350
|
+
changeMenuStyle: J,
|
|
351
351
|
fixElement: u,
|
|
352
352
|
onBlur: rt,
|
|
353
353
|
isSuperAdmin: Xe
|
|
@@ -360,9 +360,9 @@ const xt = yt(Qe()), Gt = ["title"], Nt = {
|
|
|
360
360
|
class: "menu-title",
|
|
361
361
|
style: { display: "flex", width: "100px" }
|
|
362
362
|
}, Qt = { class: "module-dialog-content" };
|
|
363
|
-
function Xt(i, n,
|
|
363
|
+
function Xt(i, n, _, f, o, l) {
|
|
364
364
|
var u;
|
|
365
|
-
const r = Z("ss-input"), M = Z("ss-menu"), w = Z("svg-icon"),
|
|
365
|
+
const r = Z("ss-input"), M = Z("ss-menu"), w = Z("svg-icon"), I = Z("el-button"), C = Z("ss-dialog");
|
|
366
366
|
return P(), X(Pe, null, [
|
|
367
367
|
Y(M, {
|
|
368
368
|
ref: "menuRef",
|
|
@@ -387,7 +387,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
387
387
|
i.fixElement && (a == null ? void 0 : a.path) === ((O = i.fixElement) == null ? void 0 : O.path) ? (P(), X("span", Nt, [
|
|
388
388
|
Y(r, {
|
|
389
389
|
value: a.title,
|
|
390
|
-
onBlur: (
|
|
390
|
+
onBlur: (Ie) => i.onBlur(Ie, a)
|
|
391
391
|
}, null, 8, ["value", "onBlur"])
|
|
392
392
|
])) : Te("", !0)
|
|
393
393
|
];
|
|
@@ -413,7 +413,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
413
413
|
}, {
|
|
414
414
|
default: V(() => [
|
|
415
415
|
Oe("div", Qt, [
|
|
416
|
-
(P(!0), X(Pe, null,
|
|
416
|
+
(P(!0), X(Pe, null, _t(i.dialogRenderComps, (a) => (P(), X("div", {
|
|
417
417
|
key: a.id
|
|
418
418
|
}, [
|
|
419
419
|
(P(), we(xe(i.getComponents((a == null ? void 0 : a.comp) ?? "Input")), {
|
|
@@ -428,23 +428,25 @@ function Xt(i, n, I, f, o, l) {
|
|
|
428
428
|
]),
|
|
429
429
|
footer: V(() => [
|
|
430
430
|
Oe("div", null, [
|
|
431
|
-
Y(
|
|
431
|
+
Y(I, {
|
|
432
432
|
id: "themeBorderButton",
|
|
433
433
|
onClick: i.beforeDialogDestroy
|
|
434
434
|
}, {
|
|
435
|
-
default: V(() =>
|
|
436
|
-
Re("取消"
|
|
437
|
-
])
|
|
438
|
-
_: 1
|
|
435
|
+
default: V(() => n[1] || (n[1] = [
|
|
436
|
+
Re("取消")
|
|
437
|
+
])),
|
|
438
|
+
_: 1,
|
|
439
|
+
__: [1]
|
|
439
440
|
}, 8, ["onClick"]),
|
|
440
|
-
Y(
|
|
441
|
+
Y(I, {
|
|
441
442
|
id: "themeButton",
|
|
442
443
|
onClick: i.clickSubmitForm
|
|
443
444
|
}, {
|
|
444
|
-
default: V(() =>
|
|
445
|
-
Re(" 确认 "
|
|
446
|
-
])
|
|
447
|
-
_: 1
|
|
445
|
+
default: V(() => n[2] || (n[2] = [
|
|
446
|
+
Re(" 确认 ")
|
|
447
|
+
])),
|
|
448
|
+
_: 1,
|
|
449
|
+
__: [2]
|
|
448
450
|
}, 8, ["onClick"])
|
|
449
451
|
])
|
|
450
452
|
]),
|
|
@@ -452,7 +454,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
452
454
|
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
453
455
|
], 64);
|
|
454
456
|
}
|
|
455
|
-
const Yt = /* @__PURE__ */
|
|
457
|
+
const Yt = /* @__PURE__ */ Jt(xt, [["render", Xt], ["__scopeId", "data-v-591def66"]]), fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
456
458
|
__proto__: null,
|
|
457
459
|
addSelectMenu: Ne,
|
|
458
460
|
default: Yt,
|