ss-component-new 1.3.585 → 1.3.587
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-lglF6AsF.js → MTLLoader-CQf7B6Ke.js} +2 -2
- package/dist/{OrbitControls-BqZN20Rt.js → OrbitControls-DYGD8PMZ.js} +1 -1
- package/dist/{URDFLoader-IkRlWaki.js → URDFLoader-C6rB5h5L.js} +584 -589
- package/dist/{animationData-D0cZme2U.js → animationData-CkEa6eHD.js} +3 -3
- package/dist/{array-5ZYisp88.js → array-CU3GR-p9.js} +14 -13
- package/dist/{clone-CRxSyuWf.js → clone-ESeDvnJv.js} +1 -1
- package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-C7Pz9jha.js} +2 -2
- package/dist/{iconfont-yQIyvQXR.js → iconfont-CnWH2HBt.js} +4 -4
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-BULCVBD8.js → index-95FKYNW8.js} +62 -60
- package/dist/{index-DHiLQExG.js → index-B-DoOXmZ.js} +5 -5
- package/dist/{index-BVmtkTE_.js → index-B0M1YCUY.js} +7 -7
- package/dist/{index-BtnksMyb.js → index-B2SW5XjJ.js} +8727 -9172
- package/dist/{index-CQwd4Yho.js → index-BBBCr4Oo.js} +2 -2
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-vdHc4lFg.js → index-BLvu93ER.js} +20 -18
- package/dist/{index-BdZMxiC_.js → index-BUqviBFi.js} +35 -29
- package/dist/{index-C3uWREg6.js → index-BXh02EAd.js} +4 -4
- package/dist/{index-Cz0WowdS.js → index-B_fRppeJ.js} +8 -8
- package/dist/{index-D-QiCx2o.js → index-Bq9ROITA.js} +27044 -26922
- package/dist/{index-MOUxRFwG.js → index-BrGkwHIw.js} +3 -3
- package/dist/{index-Pq6WSe_M.js → index-BvkIoiVW.js} +3 -3
- package/dist/{index-BynHhKF0.js → index-C-ELzAfH.js} +157 -148
- package/dist/{index-Bp8_1HIx.js → index-C3pboX9W.js} +5 -5
- package/dist/{index-CdNoVvbF.js → index-CPW7tdrA.js} +20 -17
- package/dist/{index-D2Qimmt6.js → index-CX8Apbo7.js} +1 -1
- package/dist/{index-CozBg9U8.js → index-Ce1Of6uw.js} +4 -4
- package/dist/{index-DhzLMJ4A.js → index-D1E8EPxn.js} +61 -57
- package/dist/{index-D2eUttRQ.js → index-D8UY4uNQ.js} +1495 -1501
- package/dist/{index-W7-0iUXC.js → index-D9xMYIes.js} +3 -3
- package/dist/{index-Da5hzjgH.js → index-DWkuQCJw.js} +4 -4
- package/dist/{index-CJZc--yD.js → index-D_3REwvv.js} +40 -36
- package/dist/index-DjMtW8dW.js +10740 -0
- package/dist/{index-BpOJFzyr.js → index-DjabG6aq.js} +8 -8
- package/dist/{index-CvZcm-Tt.js → index-DlQXFCw8.js} +8 -7
- package/dist/index-DoHZJSqr.js +572 -0
- package/dist/{index-CBniJUYQ.js → index-DsdWSuDi.js} +483 -482
- package/dist/{index-Lm4ZKNF3.js → index-Dv34ETGo.js} +6 -6
- package/dist/{index-DzSdRXaZ.js → index-JvgrtIDP.js} +3 -3
- package/dist/{index-DCY5J8nu.js → index-XvX6TMzr.js} +1 -1
- package/dist/{index-B4NcYIuS.js → index-YvUJL9Us.js} +1 -1
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-ajdo5mwF.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_07c75c98_lang-B2BlpBsO.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-X_k372gl.js} +27735 -27760
- package/dist/isString-BlNsHiyU.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-D6gh-TBd.js → main-BMLrLuQz.js} +9 -9
- package/dist/{menuIndex-C_KNU7iT.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 +71 -9
- package/dist/ss-component2.js +114 -71
- package/dist/ss-component3.js +10 -115
- package/dist/svgIcon-4u4PW7Is.js +42 -0
- package/dist/{threeModel-awQEmUQA.js → threeModel-CYaF8za_.js} +174 -174
- package/dist/{threePreview-BGGp9yDg.js → threePreview-CJVkhfw5.js} +13 -13
- package/dist/{threeSceneView-CKCRVWrW.js → threeSceneView-BbQW44Pj.js} +25 -24
- package/dist/{threeSceneViewForCPMPIP-BQaDdkTU.js → threeSceneViewForCPMPIP-DLre2v8f.js} +18 -17
- package/dist/{threeTrackPathView-BWcw6yWT.js → threeTrackPathView-C84dt-gU.js} +8 -8
- package/dist/{threeViewerHost-gQMuchtN.js → threeViewerHost-D9JGic__.js} +4 -4
- package/dist/{urdfTree-c8bZiZ3M.js → urdfTree-CbPBpTUR.js} +9 -9
- package/dist/{workpieceTreePanel-DZQu4h1F.js → workpieceTreePanel-BI9xr9Da.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-NMx22SFX.js +0 -2623
- package/dist/index-wi3x2kbn.js +0 -10843
- package/dist/isString-Dxm3W5iX.js +0 -8
- package/dist/svgIcon-4m2zaZkj.js +0 -42
|
@@ -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-DsdWSuDi.js";
|
|
2
|
+
import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-X_k372gl.js";
|
|
3
|
+
import { c as O } from "./index-D8UY4uNQ.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, createElementBlock as H, openBlock as p, 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, createCommentVNode as q, normalizeStyle as ta, 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-Bq9ROITA.js";
|
|
3
|
+
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-D8UY4uNQ.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-rlStojTL.js";
|
|
6
|
+
import { d as ia, c as da } from "./index-B2SW5XjJ.js";
|
|
7
|
+
import { s as va } from "./index-11kpzK0A.js";
|
|
8
|
+
import { E as pa } from "./request-B1c8BUkR.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("设置"))
|
|
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("样式"))
|
|
641
641
|
])
|
|
642
642
|
]),
|
|
643
643
|
default: L(() => [
|
|
@@ -661,13 +661,14 @@ 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("交互"))
|
|
665
665
|
])
|
|
666
666
|
]),
|
|
667
667
|
default: L(() => [
|
|
668
|
-
t[8] || (t[8] = de(" 交互 "
|
|
668
|
+
t[8] || (t[8] = de(" 交互 "))
|
|
669
669
|
]),
|
|
670
|
-
_: 1
|
|
670
|
+
_: 1,
|
|
671
|
+
__: [8]
|
|
671
672
|
}),
|
|
672
673
|
R(v, {
|
|
673
674
|
label: "扩展",
|
|
@@ -679,7 +680,7 @@ const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class
|
|
|
679
680
|
name: "LowCodeExtend",
|
|
680
681
|
style: { width: "15px", height: "15px", "margin-right": "5px" }
|
|
681
682
|
}),
|
|
682
|
-
t[9] || (t[9] = de("扩展"
|
|
683
|
+
t[9] || (t[9] = de("扩展"))
|
|
683
684
|
])
|
|
684
685
|
]),
|
|
685
686
|
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, createElementBlock as p, openBlock as e, 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-B1c8BUkR.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, createElementBlock as o2, openBlock 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-X_k372gl.js";
|
|
3
|
+
import { O as H2 } from "./OrbitControls-DYGD8PMZ.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) => (n2(), o2("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 L, reactive as O, watch as X, resolveComponent as Y,
|
|
1
|
+
import { ref as L, reactive as O, watch as X, resolveComponent as Y, createBlock as P, openBlock as s, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, createCommentVNode as r, withModifiers as u, createElementVNode as j, toDisplayString as q } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const F = { class: "dialog-title" }, G = {
|
|
@@ -161,43 +161,43 @@ const F = { class: "dialog-title" }, G = {
|
|
|
161
161
|
e.resizable ? (s(), a("div", {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "resizable-handle top",
|
|
164
|
-
onMousedown: t[0] || (t[0] =
|
|
165
|
-
}, null, 32)) :
|
|
164
|
+
onMousedown: t[0] || (t[0] = u((l) => d(l, "top"), ["stop"]))
|
|
165
|
+
}, null, 32)) : r("", !0),
|
|
166
166
|
e.resizable ? (s(), a("div", {
|
|
167
167
|
key: 1,
|
|
168
168
|
class: "resizable-handle right",
|
|
169
|
-
onMousedown: t[1] || (t[1] =
|
|
170
|
-
}, null, 32)) :
|
|
169
|
+
onMousedown: t[1] || (t[1] = u((l) => d(l, "right"), ["stop"]))
|
|
170
|
+
}, null, 32)) : r("", !0),
|
|
171
171
|
e.resizable ? (s(), a("div", {
|
|
172
172
|
key: 2,
|
|
173
173
|
class: "resizable-handle bottom",
|
|
174
|
-
onMousedown: t[2] || (t[2] =
|
|
175
|
-
}, null, 32)) :
|
|
174
|
+
onMousedown: t[2] || (t[2] = u((l) => d(l, "bottom"), ["stop"]))
|
|
175
|
+
}, null, 32)) : r("", !0),
|
|
176
176
|
e.resizable ? (s(), a("div", {
|
|
177
177
|
key: 3,
|
|
178
178
|
class: "resizable-handle left",
|
|
179
|
-
onMousedown: t[3] || (t[3] =
|
|
180
|
-
}, null, 32)) :
|
|
179
|
+
onMousedown: t[3] || (t[3] = u((l) => d(l, "left"), ["stop"]))
|
|
180
|
+
}, null, 32)) : r("", !0),
|
|
181
181
|
e.resizable ? (s(), a("div", {
|
|
182
182
|
key: 4,
|
|
183
183
|
class: "resizable-handle top-left",
|
|
184
|
-
onMousedown: t[4] || (t[4] =
|
|
185
|
-
}, null, 32)) :
|
|
184
|
+
onMousedown: t[4] || (t[4] = u((l) => d(l, "top-left"), ["stop"]))
|
|
185
|
+
}, null, 32)) : r("", !0),
|
|
186
186
|
e.resizable ? (s(), a("div", {
|
|
187
187
|
key: 5,
|
|
188
188
|
class: "resizable-handle top-right",
|
|
189
|
-
onMousedown: t[5] || (t[5] =
|
|
190
|
-
}, null, 32)) :
|
|
189
|
+
onMousedown: t[5] || (t[5] = u((l) => d(l, "top-right"), ["stop"]))
|
|
190
|
+
}, null, 32)) : r("", !0),
|
|
191
191
|
e.resizable ? (s(), a("div", {
|
|
192
192
|
key: 6,
|
|
193
193
|
class: "resizable-handle bottom-left",
|
|
194
|
-
onMousedown: t[6] || (t[6] =
|
|
195
|
-
}, null, 32)) :
|
|
194
|
+
onMousedown: t[6] || (t[6] = u((l) => d(l, "bottom-left"), ["stop"]))
|
|
195
|
+
}, null, 32)) : r("", !0),
|
|
196
196
|
e.resizable ? (s(), a("div", {
|
|
197
197
|
key: 7,
|
|
198
198
|
class: "resizable-handle bottom-right",
|
|
199
|
-
onMousedown: t[7] || (t[7] =
|
|
200
|
-
}, null, 32)) :
|
|
199
|
+
onMousedown: t[7] || (t[7] = u((l) => d(l, "bottom-right"), ["stop"]))
|
|
200
|
+
}, null, 32)) : r("", !0)
|
|
201
201
|
]),
|
|
202
202
|
_: 3
|
|
203
203
|
}, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center", "append-to-body", "z-index"]);
|
|
@@ -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_07c75c98_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_07c75c98_lang-X_k372gl.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-B2SW5XjJ.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 Je, e as qe, n as zt } from "./index-
|
|
14
|
-
import { u as Jt } from "./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-Bq9ROITA.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-DAW9B-9g.js";
|
|
13
|
+
import { d as Je, e as qe, n as zt } from "./index-DsdWSuDi.js";
|
|
14
|
+
import { u as Jt } from "./index-D9xMYIes.js";
|
|
15
15
|
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Be = vt(() => import("./index-
|
|
16
|
+
const Be = vt(() => import("./index-B2SW5XjJ.js").then((i) => i.p));
|
|
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 } = Jt(), 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
|
}, q = (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 Je(
|
|
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 Je($, 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 = qe(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
|
]),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { W as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
1
|
+
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
+
import { W as m } from "./index-Bq9ROITA.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-C3pboX9W.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const l =
|
|
5
|
+
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
7
7
|
key: "extraButton",
|
|
8
8
|
contents: [
|
|
@@ -68,7 +68,7 @@ const l = c([]), g = n(() => [
|
|
|
68
68
|
a && (e.tableData = []);
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
return (o, t) => (
|
|
71
|
+
return (o, t) => (f(), u("div", D, [
|
|
72
72
|
b(m, {
|
|
73
73
|
itemData: e.pageData,
|
|
74
74
|
allowOperate: !1,
|
|
@@ -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, computed as _, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, j as Ie, p as U } from "./index-D8UY4uNQ.js";
|
|
3
|
+
import { j as ke } from "./index-DsdWSuDi.js";
|
|
4
|
+
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-YvUJL9Us.js";
|
|
5
|
+
import { e as Se } from "./menuIndex-DAW9B-9g.js";
|
|
6
|
+
import { E as S } from "./request-B1c8BUkR.js";
|
|
7
|
+
const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
10
10
|
{
|