ss-component-new 1.3.641 → 1.3.643
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-CZqN7Zrs.js → MTLLoader-CzUQTGKY.js} +2 -2
- package/dist/{URDFLoader-5yxKptss.js → URDFLoader-Cpc_aT68.js} +584 -589
- package/dist/{animationData-_pwKquvD.js → animationData-BgDqzRLe.js} +3 -3
- package/dist/{array-CHe-DoyQ.js → array-x70XTJSv.js} +14 -13
- package/dist/{clone-BjJ_R9XN.js → clone-DqQwDoSV.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-Dtsx377t.js} +2 -2
- package/dist/{iconfont-DGtoabuW.js → iconfont-B4WPRBLy.js} +91 -91
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-BEuZVqx1.js → index-B0w8-AEa.js} +9164 -9616
- package/dist/{index-BibSA99e.js → index-B2i-wZ7I.js} +20 -17
- package/dist/{index-BSIx33n6.js → index-B9g43cVc.js} +62 -60
- package/dist/index-BDfs7pV0.js +11397 -0
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-Bvvz41NY.js → index-BI3gwdBk.js} +1 -1
- package/dist/{index-DwmZbmjQ.js → index-BjSS0ovo.js} +80 -74
- package/dist/{index-qv_1lhhv.js → index-BkAYMm70.js} +2 -2
- package/dist/{index-FPf0BzIG.js → index-C4OLi6tq.js} +551 -554
- package/dist/{index-CmGpt__g.js → index-CB2B4YM9.js} +3 -3
- package/dist/{index-D_kI6aHR.js → index-CDpLX430.js} +8 -7
- package/dist/{index-CmrtXrCW.js → index-CMXhAlkY.js} +8 -8
- package/dist/{index-DV-y9RNF.js → index-C_c-5ZAh.js} +61 -57
- package/dist/index-Cb5fCewf.js +572 -0
- package/dist/{index-CcdSuqPt.js → index-Cnet9-km.js} +8 -8
- package/dist/{index-BYTAx6bL.js → index-Czz3dB6u.js} +5 -5
- package/dist/{index-CUB0YIQp.js → index-D8cOzz3g.js} +5 -5
- package/dist/{index-DW6CZC2b.js → index-DGmjWChr.js} +1051 -1053
- package/dist/{index-CwKQTNJ6.js → index-DLZVUgaP.js} +2 -2
- package/dist/{index-DW2-bo7z.js → index-DNl2K8-4.js} +176 -167
- package/dist/{index-CIFdtwKG.js → index-DaOXFFsu.js} +20 -18
- package/dist/{index-CT3n6jZB.js → index-DllVa0Ze.js} +6 -6
- package/dist/{index-DlH7-Quf.js → index-DpcGBPYo.js} +3 -3
- package/dist/{index-Dae7KcRH.js → index-DzZWEErj.js} +3 -3
- package/dist/{index-C6ZyziE9.js → index-FCnO8UeA.js} +4 -4
- package/dist/{index-BcWf6LmN.js → index-IXxKIj3h.js} +4 -4
- package/dist/{index-B6zWduiC.js → index-LED1qeo2.js} +3 -3
- package/dist/{index-BwEO2Ckl.js → index-NwTP3AQl.js} +7 -7
- package/dist/{index-rVTDSJ7d.js → index-_fheIMoz.js} +22950 -23035
- package/dist/{index-CUUkM-MP.js → index-awI81WIz.js} +47 -43
- package/dist/{index-JxFaaWxD.js → index-fxJSVddL.js} +1 -1
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-YVR3acYT.js → index-tLd2cEHX.js} +1 -1
- package/dist/{index-DIimK4we.js → index-yJckrmsT.js} +4 -4
- 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-DdTK-nti.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js} +27735 -27760
- package/dist/isString-CXX7MUiv.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-B7yRqx5R.js → main-nJu2K4N-.js} +9 -9
- package/dist/{menuIndex-CY5XD7Ny.js → menuIndex-2JX7SuB8.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-DiogHwkN.js → request-D-LN5bvn.js} +3075 -3494
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-D2NPH9rB.js → threeModel-BbNw-rXE.js} +174 -174
- package/dist/{threePreview-BC0mxp0t.js → threePreview-Cjupz9HK.js} +12 -12
- package/dist/{threeSceneView-CYA_dl9b.js → threeSceneView-4bCcg3w6.js} +111 -110
- package/dist/{threeSceneViewForCPMPIP-BeAfVkav.js → threeSceneViewForCPMPIP-D6nwYUWT.js} +17 -16
- package/dist/{threeTrackPathView-C8RcSYdk.js → threeTrackPathView-DuiNPnon.js} +7 -7
- package/dist/{threeViewerHost-EI6zUnYp.js → threeViewerHost-CsGXf4BF.js} +4 -4
- package/dist/{urdfTree-BGPikD3W.js → urdfTree-CymLIkE8.js} +9 -9
- package/dist/{workpieceTreePanel-DO6BojnM.js → workpieceTreePanel-DaTdJC9q.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-D23qc_Ne.js +0 -2623
- package/dist/index-DT8oA7Bc.js +0 -11550
- package/dist/isString-CoCw_sp3.js +0 -8
|
@@ -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 { A as Qe, E as $e, J as we, c as Ye, q as je, u as Je, p as Ze } from "./index-
|
|
4
|
-
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { s as He } 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 qe, createBlock as re, createCommentVNode as xe } from "vue";
|
|
2
|
+
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-DLZVUgaP.js";
|
|
3
|
+
import { A as Qe, E as $e, J as we, c as Ye, q as je, u as Je, p as Ze } from "./index-DGmjWChr.js";
|
|
4
|
+
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { s as He } 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 { d 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-DGmjWChr.js";
|
|
3
|
+
import { S as Mt } from "./index-BHtNKL1L.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js";
|
|
5
|
+
import { I as ut } from "./request-D-LN5bvn.js";
|
|
6
|
+
import { s as wt } from "./index-11kpzK0A.js";
|
|
7
|
+
import { d as Bt } from "./index-B0w8-AEa.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 qe, e as Je, n as zt } from "./index-
|
|
14
|
-
import { u as qt } from "./index-
|
|
10
|
+
import { g as $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-tLd2cEHX.js";
|
|
11
|
+
import { g as Kt } from "./index-_fheIMoz.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-2JX7SuB8.js";
|
|
13
|
+
import { d as qe, e as Je, n as zt } from "./index-C4OLi6tq.js";
|
|
14
|
+
import { u as qt } from "./index-DpcGBPYo.js";
|
|
15
15
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Be = vt(() => import("./index-
|
|
16
|
+
const Be = vt(() => import("./index-B0w8-AEa.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,10 +114,10 @@ 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) => {
|
|
@@ -127,9 +127,9 @@ function Qe(i = "menu") {
|
|
|
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
|
});
|
|
@@ -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
170
|
}), L = await qe(
|
|
171
|
-
(
|
|
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
|
);
|
|
@@ -248,11 +248,11 @@ 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
258
|
let N = Je(y, B);
|
|
@@ -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,
|
|
@@ -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
|
]),
|