ss-component-new 1.3.657 → 1.3.659
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/index-CQG5_ZDD.js +1084 -0
- package/dist/index-C_HX7GAm.js +8849 -0
- package/dist/index-ZPct7ETq.js +180 -0
- package/dist/platform-BsULsE0-.js +16684 -0
- package/dist/ss-component.css +2 -8
- package/dist/ss-component.js +26 -67
- package/dist/ss-component2.js +15 -75
- package/dist/ss-component3.js +785 -9
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/dist/MTLLoader-DI0avKtj.js +0 -657
- package/dist/URDFLoader-PUxvYFDe.js +0 -2304
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animationData-05aVUytq.js +0 -83
- package/dist/array-M5UIzgFU.js +0 -1044
- package/dist/clone-Ddn1p6-1.js +0 -8
- package/dist/eleIcon-BWVKfp5t.js +0 -29
- package/dist/iconfont-BNdGaGPn.js +0 -1018
- package/dist/icons/svg/Update.svg +0 -1
- package/dist/icons/svg/functionList.svg +0 -1
- package/dist/icons/svg/uploadCopy.svg +0 -1
- package/dist/index-B7ESWQK3.js +0 -468
- package/dist/index-BDhIWgKn.js +0 -658
- package/dist/index-BFYqRqws.js +0 -83
- package/dist/index-BFqUz4pN.js +0 -52
- package/dist/index-BP1mKUQP.js +0 -627
- package/dist/index-BczRQX8N.js +0 -407
- package/dist/index-BnrvtCYj.js +0 -55
- package/dist/index-Bpr501oZ.js +0 -78
- package/dist/index-BtOiWnaj.js +0 -117
- package/dist/index-BvbZiTVB.js +0 -342
- package/dist/index-Bvvz41NY.js +0 -44
- package/dist/index-C9DBY1gg.js +0 -103
- package/dist/index-CFFbhR3G.js +0 -996
- package/dist/index-COr2mcbl.js +0 -48
- package/dist/index-CV_jQDcg.js +0 -9
- package/dist/index-CXV4riUN.js +0 -864
- package/dist/index-CXe4q28L.js +0 -447
- package/dist/index-CYKmHhSo.js +0 -61974
- package/dist/index-ChNfRlIP.js +0 -596
- package/dist/index-D-5v1Jx7.js +0 -93
- package/dist/index-D4LcEpQ7.js +0 -619
- package/dist/index-DGObzWyL.js +0 -8984
- package/dist/index-DJ59jXR0.js +0 -28483
- package/dist/index-DJrzqi4-.js +0 -209
- package/dist/index-D_kI6aHR.js +0 -98
- package/dist/index-Dr9Wt5nC.js +0 -84
- package/dist/index-Dwt0Wlg_.js +0 -201
- package/dist/index-DxBEJThZ.js +0 -93
- package/dist/index-DyOIxMCm.js +0 -11769
- package/dist/index-J_lJ8THH.js +0 -107
- package/dist/index-MgxLPMC2.js +0 -30
- package/dist/index-SeW03TeK.js +0 -2623
- package/dist/index-WPJbEuld.js +0 -62
- package/dist/index-WuWGP1Bp.js +0 -24847
- package/dist/index-YVR3acYT.js +0 -61
- package/dist/index-dD-mKgue.js +0 -27
- package/dist/index-uF-ibwG0.js +0 -9
- package/dist/index-yRXVIg-Q.js +0 -98
- package/dist/index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js +0 -55
- package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js +0 -137728
- package/dist/isString-CoCw_sp3.js +0 -8
- package/dist/localIcon-CoJHw5ss.js +0 -76
- package/dist/main-6nOFPtBP.js +0 -502
- package/dist/menuIndex-Dt0NyAyE.js +0 -159
- package/dist/request-DiogHwkN.js +0 -9465
- package/dist/threeModel-CO0qgNsr.js +0 -1108
- package/dist/threePreview-BHLSA5YS.js +0 -2259
- package/dist/threeSceneView-C2e1Jcsq.js +0 -1289
- package/dist/threeSceneViewForCPMPIP-DSLQhiGf.js +0 -538
- package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
- package/dist/threeViewerHost-DSHo_0Ag.js +0 -233
- package/dist/urdfTree-IEJgkVzs.js +0 -254
- package/dist/workpieceTreePanel-aZV2ut3W.js +0 -555
- package/public/icons/svg/Update.svg +0 -1
- package/public/icons/svg/functionList.svg +0 -1
- package/public/icons/svg/uploadCopy.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/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
- /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
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 W, ref as j, normalizeStyle as g } from "vue";
|
|
2
|
+
import { u as D, p as w, s as b, W as G, _ as H } from "./platform-BsULsE0-.js";
|
|
3
|
+
import { S as $ } from "./index-C_HX7GAm.js";
|
|
4
|
+
const J = /* @__PURE__ */ q({
|
|
5
|
+
__name: "menuItem",
|
|
6
|
+
props: {
|
|
7
|
+
menuList: {
|
|
8
|
+
// 注意prop变量类型定义的写法:PropType
|
|
9
|
+
type: Array,
|
|
10
|
+
default: () => []
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
14
|
+
setup(i, { emit: x }) {
|
|
15
|
+
const p = x, m = (l) => {
|
|
16
|
+
p("clickMenu", l);
|
|
17
|
+
}, L = (l) => {
|
|
18
|
+
p("openMenu", l);
|
|
19
|
+
}, M = (l) => {
|
|
20
|
+
p("closeMenu", l);
|
|
21
|
+
};
|
|
22
|
+
return (l, S) => {
|
|
23
|
+
const c = u("MenuItem", !0), a = u("el-sub-menu"), _ = u("el-menu-item");
|
|
24
|
+
return s(!0), k(y, null, C(i.menuList, (e) => (s(), k(y, null, [
|
|
25
|
+
e.show && e.children && e.children.length > 0 ? (s(), f(a, {
|
|
26
|
+
index: e.path,
|
|
27
|
+
key: e.path
|
|
28
|
+
}, {
|
|
29
|
+
title: o(() => [
|
|
30
|
+
r($, {
|
|
31
|
+
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
32
|
+
class: "menu-icon"
|
|
33
|
+
}, null, 8, ["name"]),
|
|
34
|
+
d(l.$slots, "title", { menu: e })
|
|
35
|
+
]),
|
|
36
|
+
default: o(() => [
|
|
37
|
+
r(c, {
|
|
38
|
+
menuList: e.children,
|
|
39
|
+
onClickMenu: m,
|
|
40
|
+
onOpenMenu: L,
|
|
41
|
+
onCloseMenu: M
|
|
42
|
+
}, O({ _: 2 }, [
|
|
43
|
+
C(l.$slots, (I, h) => ({
|
|
44
|
+
name: h,
|
|
45
|
+
fn: o((R) => [
|
|
46
|
+
d(l.$slots, h, P({ ref_for: !0 }, R))
|
|
47
|
+
])
|
|
48
|
+
}))
|
|
49
|
+
]), 1032, ["menuList"])
|
|
50
|
+
]),
|
|
51
|
+
_: 2
|
|
52
|
+
}, 1032, ["index"])) : e.show ? (s(), f(_, {
|
|
53
|
+
index: e.path,
|
|
54
|
+
key: e.path,
|
|
55
|
+
onClick: (I) => m(e)
|
|
56
|
+
}, {
|
|
57
|
+
title: o(() => [
|
|
58
|
+
d(l.$slots, "title", { menu: e })
|
|
59
|
+
]),
|
|
60
|
+
default: o(() => [
|
|
61
|
+
r($, {
|
|
62
|
+
name: e.icon ?? ((e == null ? void 0 : e.level) <= 2 ? "default" : ""),
|
|
63
|
+
class: "menu-icon"
|
|
64
|
+
}, null, 8, ["name"])
|
|
65
|
+
]),
|
|
66
|
+
_: 2
|
|
67
|
+
}, 1032, ["index", "onClick"])) : z("", !0)
|
|
68
|
+
], 64))), 256);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
}), K = /* @__PURE__ */ q({
|
|
72
|
+
__name: "index",
|
|
73
|
+
props: {
|
|
74
|
+
menuList: {
|
|
75
|
+
// 注意prop变量类型定义的写法:PropType
|
|
76
|
+
type: Array,
|
|
77
|
+
default: () => []
|
|
78
|
+
},
|
|
79
|
+
mode: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: "vertical"
|
|
82
|
+
},
|
|
83
|
+
isCollapse: Boolean,
|
|
84
|
+
uniqueOpened: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: !1
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
|
|
90
|
+
setup(i, { expose: x, emit: p }) {
|
|
91
|
+
const m = D(w), { activeMenuPath: L, activeTopMenuPath: M } = b(m), l = G(w), { routeToChildPath: S } = b(l), c = i, a = p, _ = (n) => {
|
|
92
|
+
a("clickMenu", n);
|
|
93
|
+
}, e = (n) => {
|
|
94
|
+
a("openMenu", n);
|
|
95
|
+
}, I = (n) => {
|
|
96
|
+
a("selectMenu", n);
|
|
97
|
+
}, h = (n) => {
|
|
98
|
+
a("closeMenu", n);
|
|
99
|
+
}, R = W(() => 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 = j(null);
|
|
100
|
+
return x({
|
|
101
|
+
handleResize: () => {
|
|
102
|
+
var n;
|
|
103
|
+
(n = v.value) == null || n.handleResize();
|
|
104
|
+
},
|
|
105
|
+
openMenuRefByIndex: (n) => {
|
|
106
|
+
v.value && v.value.open(n);
|
|
107
|
+
}
|
|
108
|
+
}), (n, U) => {
|
|
109
|
+
const T = u("el-sub-menu"), A = u("el-menu-item"), V = u("el-menu");
|
|
110
|
+
return s(), f(V, {
|
|
111
|
+
ref_key: "menuRef",
|
|
112
|
+
ref: v,
|
|
113
|
+
class: "menu-wrap",
|
|
114
|
+
mode: i.mode,
|
|
115
|
+
"default-active": R.value,
|
|
116
|
+
"unique-opened": i.uniqueOpened,
|
|
117
|
+
"collapse-transition": !1,
|
|
118
|
+
"popper-class": "ss-menu-popper",
|
|
119
|
+
"popper-offset": 12,
|
|
120
|
+
ellipsis: !0,
|
|
121
|
+
collapse: i.isCollapse,
|
|
122
|
+
onOpen: e,
|
|
123
|
+
onClose: h,
|
|
124
|
+
onSelect: I
|
|
125
|
+
}, {
|
|
126
|
+
default: o(() => [
|
|
127
|
+
(s(!0), k(y, null, C(i.menuList, (t) => (s(), k(y, null, [
|
|
128
|
+
t.show && t.children && t.children.length > 0 ? (s(), f(T, {
|
|
129
|
+
index: t.path,
|
|
130
|
+
key: t.path,
|
|
131
|
+
style: g(t.style)
|
|
132
|
+
}, {
|
|
133
|
+
title: o(() => [
|
|
134
|
+
r($, {
|
|
135
|
+
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
136
|
+
class: "menu-icon"
|
|
137
|
+
}, null, 8, ["name"]),
|
|
138
|
+
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
139
|
+
]),
|
|
140
|
+
default: o(() => [
|
|
141
|
+
r(J, {
|
|
142
|
+
menuList: t.children,
|
|
143
|
+
onClickMenu: _
|
|
144
|
+
}, O({ _: 2 }, [
|
|
145
|
+
C(n.$slots, (E, B) => ({
|
|
146
|
+
name: B,
|
|
147
|
+
fn: o((F) => [
|
|
148
|
+
d(n.$slots, B, P({ ref_for: !0 }, F), void 0, !0)
|
|
149
|
+
])
|
|
150
|
+
}))
|
|
151
|
+
]), 1032, ["menuList"])
|
|
152
|
+
]),
|
|
153
|
+
_: 2
|
|
154
|
+
}, 1032, ["index", "style"])) : t.show ? (s(), f(A, {
|
|
155
|
+
index: t.path,
|
|
156
|
+
key: t.path,
|
|
157
|
+
style: g(t.style),
|
|
158
|
+
onClick: (E) => _(t)
|
|
159
|
+
}, {
|
|
160
|
+
title: o(() => [
|
|
161
|
+
d(n.$slots, "title", { menu: t }, void 0, !0)
|
|
162
|
+
]),
|
|
163
|
+
default: o(() => [
|
|
164
|
+
r($, {
|
|
165
|
+
name: t.icon ?? ((t == null ? void 0 : t.level) <= 2 ? "default" : ""),
|
|
166
|
+
class: "menu-icon"
|
|
167
|
+
}, null, 8, ["name"])
|
|
168
|
+
]),
|
|
169
|
+
_: 2
|
|
170
|
+
}, 1032, ["index", "style", "onClick"])) : z("", !0)
|
|
171
|
+
], 64))), 256))
|
|
172
|
+
]),
|
|
173
|
+
_: 3
|
|
174
|
+
}, 8, ["mode", "default-active", "unique-opened", "collapse"]);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
}), ee = /* @__PURE__ */ H(K, [["__scopeId", "data-v-1566b485"]]);
|
|
178
|
+
export {
|
|
179
|
+
ee as default
|
|
180
|
+
};
|