ss-component-new 1.3.696 → 1.3.698
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/config.js +1 -1
- package/dist/header-R5IfoKTX.js +4029 -0
- package/dist/index-B9isvN1d.js +182 -0
- package/dist/index-BKKAvqK3.js +1043 -0
- package/dist/{index-BHtNKL1L.js → index-BKK_dL6t.js} +1 -1
- package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
- package/dist/index-By70dOai.js +50 -0
- package/dist/index-Cc1nPEpp.js +49044 -0
- package/dist/index-RUwH0Fls.js +365 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Dj5jZLRU.js +11484 -0
- package/dist/menu-Blo579Ai.js +5217 -0
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +28 -64
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +1 -1
- package/package.json +8 -6
- package/public/config.js +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/MTLLoader-DzQM5Czw.js +0 -657
- package/dist/URDFLoader-CPXooEPU.js +0 -2299
- package/dist/animationData-DOIhMG9C.js +0 -83
- package/dist/array-CLHtElDn.js +0 -1045
- package/dist/clone-Dp_gc9ll.js +0 -8
- package/dist/eleIcon-qStmsM1q.js +0 -29
- package/dist/fileUtil-UOt_otFo.js +0 -20
- package/dist/iconfont-DmEA4YvX.js +0 -1018
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/method.svg +0 -1
- package/dist/index-11kpzK0A.js +0 -209
- package/dist/index-1izAkRXf.js +0 -572
- package/dist/index-B0H3C7WG.js +0 -103
- package/dist/index-B25qk008.js +0 -470
- package/dist/index-BJLCuYEK.js +0 -84
- package/dist/index-BbyrFzEO.js +0 -93
- package/dist/index-BooO2Bml.js +0 -78
- package/dist/index-Bw3sTXPI.js +0 -8993
- package/dist/index-C7sOKXGv.js +0 -48
- package/dist/index-C8Ap8ZMv.js +0 -873
- package/dist/index-CGi0g-VN.js +0 -627
- package/dist/index-CKem1G5u.js +0 -63004
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CWOXvFfD.js +0 -44
- package/dist/index-CmdNsQMw.js +0 -93
- package/dist/index-CydXQbtX.js +0 -622
- package/dist/index-D9XVxZlg.js +0 -411
- package/dist/index-DAJxL40d.js +0 -55
- package/dist/index-DBsEVMiM.js +0 -201
- package/dist/index-DG4hoOWt.js +0 -665
- package/dist/index-DH6bfbMC.js +0 -119
- package/dist/index-DUbk5m5P.js +0 -99
- package/dist/index-DashTaLW.js +0 -30
- package/dist/index-DbPvKW8Q.js +0 -98
- package/dist/index-Ds6m_4JJ.js +0 -28500
- package/dist/index-DupTchhl.js +0 -1000
- package/dist/index-DyCq_odP.js +0 -331
- package/dist/index-N6DWelhz.js +0 -20549
- package/dist/index-UB_oCdlo.js +0 -62
- package/dist/index-YjBTGOkO.js +0 -61
- package/dist/index-_H190mm4.js +0 -83
- package/dist/index-jbOjjV0j.js +0 -447
- package/dist/index-mBAa1AXl.js +0 -107
- package/dist/index-qSuG4S8O.js +0 -25297
- package/dist/index-rlStojTL.js +0 -52
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index.vue_vue_type_script_setup_true_lang-DRzriV-s.js +0 -55
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-Mr9QL-WU.js +0 -137877
- package/dist/isString-0ZglyOfu.js +0 -8
- package/dist/localIcon-D5UoFBU5.js +0 -76
- package/dist/main-Cs0nFQEQ.js +0 -502
- package/dist/menuIndex-BB0uVPRX.js +0 -159
- package/dist/request-1RPa2bBn.js +0 -9048
- package/dist/threeModel-BJjbCDpj.js +0 -1108
- package/dist/threePreview-Bfo24URW.js +0 -2259
- package/dist/threeSceneView-CHiKXhnX.js +0 -1290
- package/dist/threeSceneViewForCPMPIP-KLFT3AYb.js +0 -539
- package/dist/threeTrackPathView-DOy0uuLZ.js +0 -620
- package/dist/threeViewerHost-D1mrtsv3.js +0 -233
- package/dist/urdfTree-C6mx4T9t.js +0 -254
- package/dist/workpieceTreePanel-CnO3zz7U.js +0 -559
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/method.svg +0 -1
- /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
- /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
- /package/public/icons/svg/{Update.svg → update.svg} +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { defineComponent as q, resolveComponent as u, createElementBlock as k, openBlock as s, Fragment as y, renderList as C, createBlock as f, createCommentVNode as z, withCtx as o, createVNode as r, createSlots as O, renderSlot as d, mergeProps as P, computed as j, ref as D, normalizeStyle as g } from "vue";
|
|
2
|
+
import { u as G, p as w, s as b, a as H } from "./menu-Blo579Ai.js";
|
|
3
|
+
import { S as $ } from "./index-BKK_dL6t.js";
|
|
4
|
+
import "./index-Cc1nPEpp.js";
|
|
5
|
+
import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const K = /* @__PURE__ */ q({
|
|
7
|
+
__name: "menuItem",
|
|
8
|
+
props: {
|
|
9
|
+
menuList: {
|
|
10
|
+
// 注意prop变量类型定义的写法:PropType
|
|
11
|
+
type: Array,
|
|
12
|
+
default: () => []
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
16
|
+
setup(i, { emit: x }) {
|
|
17
|
+
const p = x, m = (l) => {
|
|
18
|
+
p("clickMenu", l);
|
|
19
|
+
}, L = (l) => {
|
|
20
|
+
p("openMenu", l);
|
|
21
|
+
}, M = (l) => {
|
|
22
|
+
p("closeMenu", l);
|
|
23
|
+
};
|
|
24
|
+
return (l, S) => {
|
|
25
|
+
const c = u("MenuItem", !0), a = u("el-sub-menu"), _ = u("el-menu-item");
|
|
26
|
+
return s(!0), k(y, null, C(i.menuList, (e) => (s(), k(y, null, [
|
|
27
|
+
e.show && e.children && e.children.length > 0 ? (s(), f(a, {
|
|
28
|
+
index: e.path,
|
|
29
|
+
key: e.path
|
|
30
|
+
}, {
|
|
31
|
+
title: o(() => [
|
|
32
|
+
r($, {
|
|
33
|
+
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
34
|
+
class: "menu-icon"
|
|
35
|
+
}, null, 8, ["name"]),
|
|
36
|
+
d(l.$slots, "title", { menu: e })
|
|
37
|
+
]),
|
|
38
|
+
default: o(() => [
|
|
39
|
+
r(c, {
|
|
40
|
+
menuList: e.children,
|
|
41
|
+
onClickMenu: m,
|
|
42
|
+
onOpenMenu: L,
|
|
43
|
+
onCloseMenu: M
|
|
44
|
+
}, O({ _: 2 }, [
|
|
45
|
+
C(l.$slots, (I, h) => ({
|
|
46
|
+
name: h,
|
|
47
|
+
fn: o((R) => [
|
|
48
|
+
d(l.$slots, h, P({ ref_for: !0 }, R))
|
|
49
|
+
])
|
|
50
|
+
}))
|
|
51
|
+
]), 1032, ["menuList"])
|
|
52
|
+
]),
|
|
53
|
+
_: 2
|
|
54
|
+
}, 1032, ["index"])) : e.show ? (s(), f(_, {
|
|
55
|
+
index: e.path,
|
|
56
|
+
key: e.path,
|
|
57
|
+
onClick: (I) => m(e)
|
|
58
|
+
}, {
|
|
59
|
+
title: o(() => [
|
|
60
|
+
d(l.$slots, "title", { menu: e })
|
|
61
|
+
]),
|
|
62
|
+
default: o(() => [
|
|
63
|
+
r($, {
|
|
64
|
+
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
65
|
+
class: "menu-icon"
|
|
66
|
+
}, null, 8, ["name"])
|
|
67
|
+
]),
|
|
68
|
+
_: 2
|
|
69
|
+
}, 1032, ["index", "onClick"])) : z("", !0)
|
|
70
|
+
], 64))), 256);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}), N = /* @__PURE__ */ q({
|
|
74
|
+
__name: "index",
|
|
75
|
+
props: {
|
|
76
|
+
menuList: {
|
|
77
|
+
// 注意prop变量类型定义的写法:PropType
|
|
78
|
+
type: Array,
|
|
79
|
+
default: () => []
|
|
80
|
+
},
|
|
81
|
+
mode: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: "vertical"
|
|
84
|
+
},
|
|
85
|
+
isCollapse: Boolean,
|
|
86
|
+
uniqueOpened: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: !1
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
|
|
92
|
+
setup(i, { expose: x, emit: p }) {
|
|
93
|
+
const m = G(w), { activeMenuPath: L, activeTopMenuPath: M } = b(m), l = H(w), { routeToChildPath: S } = b(l), c = i, a = p, _ = (n) => {
|
|
94
|
+
a("clickMenu", n);
|
|
95
|
+
}, e = (n) => {
|
|
96
|
+
a("openMenu", n);
|
|
97
|
+
}, I = (n) => {
|
|
98
|
+
a("selectMenu", n);
|
|
99
|
+
}, h = (n) => {
|
|
100
|
+
a("closeMenu", n);
|
|
101
|
+
}, R = j(() => S.value ? (c == null ? void 0 : c.mode) === "vertical" ? S.value : M.value : (c == null ? void 0 : c.mode) === "vertical" ? L.value : M.value), v = D(null);
|
|
102
|
+
return x({
|
|
103
|
+
handleResize: () => {
|
|
104
|
+
var n;
|
|
105
|
+
(n = v.value) == null || n.handleResize();
|
|
106
|
+
},
|
|
107
|
+
openMenuRefByIndex: (n) => {
|
|
108
|
+
v.value && v.value.open(n);
|
|
109
|
+
}
|
|
110
|
+
}), (n, W) => {
|
|
111
|
+
const T = u("el-sub-menu"), A = u("el-menu-item"), V = u("el-menu");
|
|
112
|
+
return s(), f(V, {
|
|
113
|
+
ref_key: "menuRef",
|
|
114
|
+
ref: v,
|
|
115
|
+
class: "menu-wrap",
|
|
116
|
+
mode: i.mode,
|
|
117
|
+
"default-active": R.value,
|
|
118
|
+
"unique-opened": i.uniqueOpened,
|
|
119
|
+
"collapse-transition": !1,
|
|
120
|
+
"popper-class": "ss-menu-popper",
|
|
121
|
+
"popper-offset": 12,
|
|
122
|
+
ellipsis: !0,
|
|
123
|
+
collapse: i.isCollapse,
|
|
124
|
+
onOpen: e,
|
|
125
|
+
onClose: h,
|
|
126
|
+
onSelect: I
|
|
127
|
+
}, {
|
|
128
|
+
default: o(() => [
|
|
129
|
+
(s(!0), k(y, null, C(i.menuList, (t) => (s(), k(y, null, [
|
|
130
|
+
t.show && t.children && t.children.length > 0 ? (s(), f(T, {
|
|
131
|
+
index: t.path,
|
|
132
|
+
key: t.path,
|
|
133
|
+
style: g(t.style)
|
|
134
|
+
}, {
|
|
135
|
+
title: o(() => [
|
|
136
|
+
r($, {
|
|
137
|
+
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
138
|
+
class: "menu-icon"
|
|
139
|
+
}, null, 8, ["name"]),
|
|
140
|
+
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
141
|
+
]),
|
|
142
|
+
default: o(() => [
|
|
143
|
+
r(K, {
|
|
144
|
+
menuList: t.children,
|
|
145
|
+
onClickMenu: _
|
|
146
|
+
}, O({ _: 2 }, [
|
|
147
|
+
C(n.$slots, (E, B) => ({
|
|
148
|
+
name: B,
|
|
149
|
+
fn: o((F) => [
|
|
150
|
+
d(n.$slots, B, P({ ref_for: !0 }, F), void 0, !0)
|
|
151
|
+
])
|
|
152
|
+
}))
|
|
153
|
+
]), 1032, ["menuList"])
|
|
154
|
+
]),
|
|
155
|
+
_: 2
|
|
156
|
+
}, 1032, ["index", "style"])) : t.show ? (s(), f(A, {
|
|
157
|
+
index: t.path,
|
|
158
|
+
key: t.path,
|
|
159
|
+
style: g(t.style),
|
|
160
|
+
onClick: (E) => _(t)
|
|
161
|
+
}, {
|
|
162
|
+
title: o(() => [
|
|
163
|
+
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
164
|
+
]),
|
|
165
|
+
default: o(() => [
|
|
166
|
+
r($, {
|
|
167
|
+
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
168
|
+
class: "menu-icon"
|
|
169
|
+
}, null, 8, ["name"])
|
|
170
|
+
]),
|
|
171
|
+
_: 2
|
|
172
|
+
}, 1032, ["index", "style", "onClick"])) : z("", !0)
|
|
173
|
+
], 64))), 256))
|
|
174
|
+
]),
|
|
175
|
+
_: 3
|
|
176
|
+
}, 8, ["mode", "default-active", "unique-opened", "collapse"]);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}), ne = /* @__PURE__ */ J(N, [["__scopeId", "data-v-1566b485"]]);
|
|
180
|
+
export {
|
|
181
|
+
ne as default
|
|
182
|
+
};
|