ss-component-new 1.3.667 → 1.3.669
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/MTLLoader-C2ENwU4B.js +657 -0
- package/dist/URDFLoader-D8HIcp6W.js +2304 -0
- package/dist/animationData-CDGBdGSq.js +83 -0
- package/dist/array-GeFGcNng.js +1044 -0
- package/dist/clone-epSiajPW.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-BWVKfp5t.js +29 -0
- package/dist/iconfont-DMYmzqd8.js +1018 -0
- package/dist/icons/svg/Update.svg +1 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/uploadCopy.svg +1 -0
- package/dist/index-3va3ENB8.js +201 -0
- package/dist/index-B4vESlof.js +78 -0
- package/dist/index-BFRbO6Ob.js +864 -0
- package/dist/index-BFqUz4pN.js +52 -0
- package/dist/index-BO_ie9cf.js +117 -0
- package/dist/index-BTcUmOL9.js +83 -0
- package/dist/index-Bd9AU0ks.js +93 -0
- package/dist/index-Bfe0Vmym.js +658 -0
- package/dist/index-BpGFvMaU.js +62 -0
- package/dist/index-Bto8e0_l.js +103 -0
- package/dist/index-Bvvz41NY.js +44 -0
- package/dist/index-CALpUVvi.js +2623 -0
- package/dist/index-CRusLwdZ.js +48 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CeVSdtF3.js +407 -0
- package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
- package/dist/index-CmRnsU1X.js +996 -0
- package/dist/index-CxGjXQS8.js +93 -0
- package/dist/index-DJrzqi4-.js +209 -0
- package/dist/index-DT2KzAmL.js +8988 -0
- package/dist/index-D_kI6aHR.js +98 -0
- package/dist/index-D_zqmWYW.js +627 -0
- package/dist/index-DgW-zPUZ.js +30 -0
- package/dist/index-DhllboDp.js +11773 -0
- package/dist/index-Di7_fN-l.js +61958 -0
- package/dist/index-DmuX4rYk.js +98 -0
- package/dist/index-DxEqN-_a.js +84 -0
- package/dist/index-FNOjQQWl.js +619 -0
- package/dist/index-GqaokPsw.js +342 -0
- package/dist/index-SjNcMhxZ.js +447 -0
- package/dist/index-XGieOXX9.js +55 -0
- package/dist/index-YVR3acYT.js +61 -0
- package/dist/index-b-1Cc3pU.js +28483 -0
- package/dist/index-bzdYGNwv.js +24879 -0
- package/dist/{index-BKK_dL6t.js → index-dD-mKgue.js} +3 -3
- package/dist/index-f22t3lGR.js +107 -0
- package/dist/index-hPoDGmt5.js +468 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js +137728 -0
- package/dist/isString-CoCw_sp3.js +8 -0
- package/dist/localIcon-CoJHw5ss.js +76 -0
- package/dist/main-B3uivmHw.js +502 -0
- package/dist/menuIndex-B7ZUahFp.js +159 -0
- package/dist/request-DiogHwkN.js +9465 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BZpdWtB3.js +1108 -0
- package/dist/threePreview-QZ-g7bqk.js +2259 -0
- package/dist/threeSceneView-DeXv560D.js +1289 -0
- package/dist/threeSceneViewForCPMPIP-CdhC-Jg4.js +538 -0
- package/dist/threeTrackPathView-Cpwcmet3.js +620 -0
- package/dist/threeViewerHost-OeJJtWw4.js +233 -0
- package/dist/urdfTree-oAPOm0qi.js +254 -0
- package/dist/workpieceTreePanel-RgJlR6GJ.js +555 -0
- package/package.json +4 -4
- package/public/config.js +1 -1
- package/public/icons/svg/Update.svg +1 -0
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/uploadCopy.svg +1 -0
- package/dist/index-CCShKHTf.js +0 -50
- package/dist/index-CHLS51j8.js +0 -1044
- package/dist/index-Ccv8qbdo.js +0 -9091
- package/dist/index-D2V0zCQE.js +0 -195
- package/dist/index-DgjdKpj-.js +0 -182
- package/dist/menu-B8iV5Rhf.js +0 -5215
- package/dist/origin-B7bb-ZcE.js +0 -11428
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ref as g, resolveComponent as r, openBlock as l, createBlock as m, withCtx as n, createElementBlock as h, Fragment as k, renderList as B, renderSlot as i } from "vue";
|
|
2
|
+
const V = {
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
collapseContents: Array,
|
|
6
|
+
accordion: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
emits: ["change"],
|
|
12
|
+
setup(a, { emit: p }) {
|
|
13
|
+
const u = a, d = p, o = g([]), _ = () => {
|
|
14
|
+
d("change", o.value);
|
|
15
|
+
};
|
|
16
|
+
return (c, s) => {
|
|
17
|
+
const f = r("el-collapse-item"), v = r("el-collapse");
|
|
18
|
+
return l(), m(v, {
|
|
19
|
+
modelValue: o.value,
|
|
20
|
+
"onUpdate:modelValue": s[0] || (s[0] = (e) => o.value = e),
|
|
21
|
+
accordion: a.accordion,
|
|
22
|
+
onChange: _
|
|
23
|
+
}, {
|
|
24
|
+
default: n(() => [
|
|
25
|
+
(l(!0), h(k, null, B(u.collapseContents, (e, t) => (l(), m(f, {
|
|
26
|
+
key: t,
|
|
27
|
+
name: t
|
|
28
|
+
}, {
|
|
29
|
+
title: n(({ isActive: C }) => [
|
|
30
|
+
i(c.$slots, "title", {
|
|
31
|
+
item: e,
|
|
32
|
+
index: t,
|
|
33
|
+
isActive: C
|
|
34
|
+
})
|
|
35
|
+
]),
|
|
36
|
+
default: n(() => [
|
|
37
|
+
i(c.$slots, "content", {
|
|
38
|
+
item: e,
|
|
39
|
+
index: t
|
|
40
|
+
})
|
|
41
|
+
]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, 1032, ["name"]))), 128))
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 8, ["modelValue", "accordion"]);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
V as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, openBlock as m, createElementBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
+
import { S as x } from "./index-D_zqmWYW.js";
|
|
3
|
+
import { V as B } from "./index-Di7_fN-l.js";
|
|
4
|
+
import { s as F } from "./index-DJrzqi4-.js";
|
|
5
|
+
import { a as y } from "./index-bzdYGNwv.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-DT2KzAmL.js";
|
|
7
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const E = { class: "menu-module" }, M = {
|
|
9
|
+
class: "table-wrap",
|
|
10
|
+
"element-loading-text": "加载中..."
|
|
11
|
+
}, O = { class: "module-dialog-default" }, V = /* @__PURE__ */ C({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(P) {
|
|
14
|
+
const e = k({ ...x }), s = v(null), c = S(I), { configMenu: a } = N(c);
|
|
15
|
+
return D(() => {
|
|
16
|
+
var r;
|
|
17
|
+
e.formatFormData(a.value), b(() => {
|
|
18
|
+
var o, l;
|
|
19
|
+
(l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
|
|
20
|
+
}), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
|
|
21
|
+
}), (r, o) => {
|
|
22
|
+
const l = i("el-tree"), d = i("el-splitter-panel"), _ = i("el-splitter"), g = i("el-button"), h = T("loading");
|
|
23
|
+
return m(), u("div", E, [
|
|
24
|
+
t(_, null, {
|
|
25
|
+
default: n(() => [
|
|
26
|
+
t(d, {
|
|
27
|
+
size: 208,
|
|
28
|
+
class: "tree-wrap",
|
|
29
|
+
min: 200
|
|
30
|
+
}, {
|
|
31
|
+
default: n(() => [
|
|
32
|
+
t(l, {
|
|
33
|
+
ref_key: "treeRef",
|
|
34
|
+
ref: s,
|
|
35
|
+
data: e.treeData,
|
|
36
|
+
"expand-on-click-node": !1,
|
|
37
|
+
"node-key": "path",
|
|
38
|
+
props: { children: "children", label: "label", path: "path" },
|
|
39
|
+
"highlight-current": "",
|
|
40
|
+
"default-expand-all": "",
|
|
41
|
+
"check-on-click-leaf": !1,
|
|
42
|
+
"check-strictly": "",
|
|
43
|
+
onNodeClick: e.clickNodeTrigger
|
|
44
|
+
}, null, 8, ["data", "onNodeClick"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}),
|
|
48
|
+
t(d, { min: 500 }, {
|
|
49
|
+
default: n(() => [
|
|
50
|
+
w((m(), u("div", M, [
|
|
51
|
+
t(B, {
|
|
52
|
+
itemData: e.menuPageData,
|
|
53
|
+
changedContent: e.changedRow,
|
|
54
|
+
operatingForm: e.operatingForm,
|
|
55
|
+
onOnFormChange: e.changeTrigger,
|
|
56
|
+
onChange: e.handleItemDataChange,
|
|
57
|
+
onClickTrigger: e.clickTrigger,
|
|
58
|
+
onOnButtonClick: e.clickRowButton
|
|
59
|
+
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
60
|
+
])), [
|
|
61
|
+
[h, e.tableLoading]
|
|
62
|
+
])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
t(F, {
|
|
70
|
+
class: "module-dialog",
|
|
71
|
+
title: e.dialogInfo.title,
|
|
72
|
+
visible: e.dialogInfo.show,
|
|
73
|
+
width: e.dialogInfo.width,
|
|
74
|
+
onBeforeDestroy: e.beforeDialogDestroy
|
|
75
|
+
}, {
|
|
76
|
+
default: n(() => [
|
|
77
|
+
p("div", O, [
|
|
78
|
+
t(y, {
|
|
79
|
+
rowContents: e.renderFormData,
|
|
80
|
+
isEnableWrap: !1,
|
|
81
|
+
isEdit: !0,
|
|
82
|
+
onChange: e.changeTrigger,
|
|
83
|
+
onClickTrigger: e.clickTrigger
|
|
84
|
+
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
footer: n(() => [
|
|
88
|
+
p("div", null, [
|
|
89
|
+
t(g, {
|
|
90
|
+
onClick: e.beforeDialogDestroy,
|
|
91
|
+
id: "themeBorderButton"
|
|
92
|
+
}, {
|
|
93
|
+
default: n(() => [...o[0] || (o[0] = [
|
|
94
|
+
f("取消", -1)
|
|
95
|
+
])]),
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["onClick"]),
|
|
98
|
+
t(g, {
|
|
99
|
+
id: "themeButton",
|
|
100
|
+
onClick: e.clickSubmitForm
|
|
101
|
+
}, {
|
|
102
|
+
default: n(() => [...o[1] || (o[1] = [
|
|
103
|
+
f(" 确认 ", -1)
|
|
104
|
+
])]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 8, ["onClick"])
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
111
|
+
]);
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}), G = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
|
|
115
|
+
export {
|
|
116
|
+
G as default
|
|
117
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { computed as n, ref as c, defineComponent as s, reactive as p, onMounted as i, openBlock as u, createElementBlock as f, createVNode as b } from "vue";
|
|
2
|
+
import { V as m } from "./index-Di7_fN-l.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-Bto8e0_l.js";
|
|
4
|
+
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const l = c([]), g = n(() => [
|
|
6
|
+
{
|
|
7
|
+
key: "extraButton",
|
|
8
|
+
contents: [
|
|
9
|
+
{
|
|
10
|
+
label: "清空",
|
|
11
|
+
background: "#f56c6c",
|
|
12
|
+
color: "#ffffff"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
key: "rowButton",
|
|
18
|
+
contents: []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: "header",
|
|
22
|
+
contents: [
|
|
23
|
+
{
|
|
24
|
+
label: "模块名称",
|
|
25
|
+
prop: "module",
|
|
26
|
+
filterable: !0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "操作类型",
|
|
30
|
+
prop: "type",
|
|
31
|
+
filterable: !0
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "账号",
|
|
35
|
+
prop: "account",
|
|
36
|
+
filterable: !0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: "姓名",
|
|
40
|
+
prop: "userName",
|
|
41
|
+
filterable: !0
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: "时间",
|
|
45
|
+
prop: "timeStamp",
|
|
46
|
+
sortable: !0
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
key: "tableContents",
|
|
52
|
+
contents: l.value
|
|
53
|
+
}
|
|
54
|
+
]), y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
55
|
+
__proto__: null,
|
|
56
|
+
pageData: g,
|
|
57
|
+
tableData: l
|
|
58
|
+
}, Symbol.toStringTag, { value: "Module" })), D = { class: "log-wrap" }, B = /* @__PURE__ */ s({
|
|
59
|
+
__name: "index",
|
|
60
|
+
setup(x) {
|
|
61
|
+
const e = p({ ...y });
|
|
62
|
+
i(async () => {
|
|
63
|
+
e.tableData = await d("operate");
|
|
64
|
+
});
|
|
65
|
+
const r = (o) => {
|
|
66
|
+
var t;
|
|
67
|
+
_(o, (t = e.tableData) == null ? void 0 : t.map((a) => a.id), (a) => {
|
|
68
|
+
a && (e.tableData = []);
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
return (o, t) => (u(), f("div", D, [
|
|
72
|
+
b(m, {
|
|
73
|
+
itemData: e.pageData,
|
|
74
|
+
allowOperate: !1,
|
|
75
|
+
allowSelect: !1,
|
|
76
|
+
onOnButtonClick: r
|
|
77
|
+
}, null, 8, ["itemData"])
|
|
78
|
+
]));
|
|
79
|
+
}
|
|
80
|
+
}), O = /* @__PURE__ */ k(B, [["__scopeId", "data-v-3d3b471d"]]);
|
|
81
|
+
export {
|
|
82
|
+
O as default
|
|
83
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ref as P, computed as c, onMounted as _ } from "vue";
|
|
2
|
+
import { useRouter as C } from "vue-router";
|
|
3
|
+
import { u as g, p as h, A as R, c as b, q as S, w as E } from "./index-DT2KzAmL.js";
|
|
4
|
+
const l = {
|
|
5
|
+
ALLOW: {
|
|
6
|
+
value: "允许"
|
|
7
|
+
},
|
|
8
|
+
DENY: {
|
|
9
|
+
value: "不允许"
|
|
10
|
+
}
|
|
11
|
+
}, M = "系统管理/用户管理", N = "用户列表", D = {
|
|
12
|
+
title: "个人中心",
|
|
13
|
+
path: "/个人中心",
|
|
14
|
+
level: 1,
|
|
15
|
+
show: !0,
|
|
16
|
+
icon: "个人中心",
|
|
17
|
+
carryData: !0,
|
|
18
|
+
isPenultimate: !0,
|
|
19
|
+
isRouter: !0,
|
|
20
|
+
children: [],
|
|
21
|
+
childMenus: []
|
|
22
|
+
}, K = {
|
|
23
|
+
BASE: {
|
|
24
|
+
label: "基础信息",
|
|
25
|
+
value: "base"
|
|
26
|
+
},
|
|
27
|
+
RESET_PASSWORD_BY_FACE_RECOGNITION: {
|
|
28
|
+
label: "修改密码",
|
|
29
|
+
value: "reset-password-by-face-recognition"
|
|
30
|
+
}
|
|
31
|
+
}, T = () => {
|
|
32
|
+
const u = C(), s = g(h), { platId: o, isSuperAdmin: i } = R(), p = (e) => {
|
|
33
|
+
const { id: t } = e;
|
|
34
|
+
return {
|
|
35
|
+
id: t,
|
|
36
|
+
password: "",
|
|
37
|
+
allow_reset_password: l.DENY.value
|
|
38
|
+
};
|
|
39
|
+
}, r = P([]), d = c(() => {
|
|
40
|
+
var t, a;
|
|
41
|
+
const e = (a = (t = r.value) == null ? void 0 : t.find) == null ? void 0 : a.call(t, (n) => n.property_name === N);
|
|
42
|
+
return e == null ? void 0 : e.object_id;
|
|
43
|
+
}), w = async () => {
|
|
44
|
+
var a;
|
|
45
|
+
const e = {
|
|
46
|
+
pageName: M,
|
|
47
|
+
platId: o.value
|
|
48
|
+
}, t = await S(e);
|
|
49
|
+
return ((a = t == null ? void 0 : t.data) == null ? void 0 : a.result) || [];
|
|
50
|
+
}, f = async () => {
|
|
51
|
+
const e = await w();
|
|
52
|
+
r.value = e || [];
|
|
53
|
+
};
|
|
54
|
+
_(async () => {
|
|
55
|
+
await f();
|
|
56
|
+
});
|
|
57
|
+
const y = c(() => `content_${d.value}`), m = async (e) => ({
|
|
58
|
+
platId: o.value,
|
|
59
|
+
changeContents: [
|
|
60
|
+
{
|
|
61
|
+
tableContents: [e],
|
|
62
|
+
tableName: y.value
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}), I = (e) => {
|
|
66
|
+
const { allow_reset_password: t } = e;
|
|
67
|
+
return t === l.ALLOW.value;
|
|
68
|
+
}, v = async (e) => {
|
|
69
|
+
const { id: t, password: a, allow_reset_password: n } = e;
|
|
70
|
+
return m({
|
|
71
|
+
id: t,
|
|
72
|
+
password: a,
|
|
73
|
+
allow_reset_password: n
|
|
74
|
+
});
|
|
75
|
+
}, A = async (e) => {
|
|
76
|
+
const t = await v(e);
|
|
77
|
+
return await E(t);
|
|
78
|
+
};
|
|
79
|
+
return {
|
|
80
|
+
isSuperAdmin: i,
|
|
81
|
+
toPersonalCenter: () => {
|
|
82
|
+
const e = b(D);
|
|
83
|
+
s.setAsideMenus([e]), s.setActiveMenuPath(e == null ? void 0 : e.path), s.setActiveAsideMenu(e), u.push(e.path);
|
|
84
|
+
},
|
|
85
|
+
isAllowReplacePassword: I,
|
|
86
|
+
initReplacePassword: async (e) => await A(e),
|
|
87
|
+
initEditForm: p
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
K as t,
|
|
92
|
+
T as u
|
|
93
|
+
};
|