ss-component-new 1.3.695 → 1.3.697

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.
Files changed (85) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/{index-BHtNKL1L.js → index-BKK_dL6t.js} +1 -1
  3. package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
  4. package/dist/index-D7JA6c9V.js +53058 -0
  5. package/dist/index-Dh-XsS5U.js +1044 -0
  6. package/dist/index-DpYqhPhA.js +182 -0
  7. package/dist/index-Q71ALCnS.js +213 -0
  8. package/dist/index-z0_YrIG2.js +50 -0
  9. package/dist/menu-BwJj321q.js +5217 -0
  10. package/dist/origin-eVVoOCRz.js +11430 -0
  11. package/dist/ss-component.css +2 -8
  12. package/dist/ss-component.js +28 -64
  13. package/dist/ss-component2.js +15 -75
  14. package/dist/ss-component3.js +1 -1
  15. package/package.json +8 -6
  16. package/public/config.js +1 -1
  17. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  18. package/dist/MTLLoader-fu1majr7.js +0 -657
  19. package/dist/URDFLoader-DG491kO8.js +0 -2299
  20. package/dist/animationData-iKsXhBLL.js +0 -83
  21. package/dist/array-hv-iolw_.js +0 -1045
  22. package/dist/clone-j0I6jGJI.js +0 -8
  23. package/dist/eleIcon-qStmsM1q.js +0 -29
  24. package/dist/fileUtil-UOt_otFo.js +0 -20
  25. package/dist/iconfont-jwZTqjI3.js +0 -1018
  26. package/dist/icons/svg/functionList.svg +0 -1
  27. package/dist/icons/svg/method.svg +0 -1
  28. package/dist/index-11kpzK0A.js +0 -209
  29. package/dist/index-B-aFq64D.js +0 -93
  30. package/dist/index-B344yCJI.js +0 -107
  31. package/dist/index-B4vSRtvT.js +0 -1000
  32. package/dist/index-BFw9okkt.js +0 -63010
  33. package/dist/index-BPMcUKIT.js +0 -103
  34. package/dist/index-BUqAl9Ev.js +0 -20549
  35. package/dist/index-Bcr-OqeW.js +0 -62
  36. package/dist/index-BhKxwXKI.js +0 -83
  37. package/dist/index-BjlQhL90.js +0 -84
  38. package/dist/index-BsvmdFpW.js +0 -627
  39. package/dist/index-C4jPBVPP.js +0 -55
  40. package/dist/index-CDx4Yfw0.js +0 -25280
  41. package/dist/index-CFm8dPNq.js +0 -331
  42. package/dist/index-CJlI35A-.js +0 -48
  43. package/dist/index-CV_jQDcg.js +0 -9
  44. package/dist/index-CWLgH0tL.js +0 -411
  45. package/dist/index-CWOXvFfD.js +0 -44
  46. package/dist/index-CeGa9pc6.js +0 -665
  47. package/dist/index-ClqA3eGZ.js +0 -28484
  48. package/dist/index-D-boFJIv.js +0 -873
  49. package/dist/index-D1pKtwPz.js +0 -119
  50. package/dist/index-DFOOD95R.js +0 -447
  51. package/dist/index-DKx2CTEL.js +0 -572
  52. package/dist/index-DNyQV8z1.js +0 -78
  53. package/dist/index-DUbSVaH3.js +0 -93
  54. package/dist/index-DUbk5m5P.js +0 -99
  55. package/dist/index-DZmXuPt5.js +0 -622
  56. package/dist/index-D_bmYgFA.js +0 -30
  57. package/dist/index-Dyn2r0VE.js +0 -470
  58. package/dist/index-YjBTGOkO.js +0 -61
  59. package/dist/index-bFrEKaq_.js +0 -8989
  60. package/dist/index-hMFaIKW2.js +0 -98
  61. package/dist/index-rlStojTL.js +0 -52
  62. package/dist/index-rr5LPnDh.js +0 -201
  63. package/dist/index-uF-ibwG0.js +0 -9
  64. package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-Ww36oycE.js +0 -137877
  65. package/dist/isString-0ZglyOfu.js +0 -8
  66. package/dist/localIcon-D5UoFBU5.js +0 -76
  67. package/dist/main-Cx8oyhHy.js +0 -502
  68. package/dist/menuIndex-CwBxge00.js +0 -159
  69. package/dist/request-1RPa2bBn.js +0 -9048
  70. package/dist/threeModel-D0Z3a4Jl.js +0 -1108
  71. package/dist/threePreview-CzIm7J7g.js +0 -2259
  72. package/dist/threeSceneView-BbuwnDk9.js +0 -1290
  73. package/dist/threeSceneViewForCPMPIP-B7EufZpB.js +0 -539
  74. package/dist/threeTrackPathView-B4DWtZ5_.js +0 -620
  75. package/dist/threeViewerHost-CDYOyVIs.js +0 -233
  76. package/dist/urdfTree-CNIS8SgN.js +0 -254
  77. package/dist/workpieceTreePanel-CMBs8GTw.js +0 -559
  78. package/public/icons/svg/functionList.svg +0 -1
  79. package/public/icons/svg/method.svg +0 -1
  80. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  81. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  82. /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
  83. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  84. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  85. /package/public/icons/svg/{Update.svg → update.svg} +0 -0
@@ -1,98 +0,0 @@
1
- import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
2
- import { u as h, p as k, s as x, c as m } from "./index-bFrEKaq_.js";
3
- import { W as M } from "./index-BFw9okkt.js";
4
- import { a as D, d as T, f as S } from "./index-CWOXvFfD.js";
5
- import { g as w } from "./index-YjBTGOkO.js";
6
- import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
8
- __name: "index",
9
- setup(I) {
10
- const p = h(k), { menus: b } = x(p), r = C([]), f = async () => {
11
- var o, l, t, a;
12
- const e = await w({
13
- key: {
14
- type: "mainEquip",
15
- systemKey: sessionStorage.getItem("systemKey")
16
- }
17
- });
18
- if (((o = e == null ? void 0 : e.data) == null ? void 0 : o.type) === "success") {
19
- let i = (t = (l = e == null ? void 0 : e.data) == null ? void 0 : l.result) == null ? void 0 : t.map((s) => s);
20
- return i = (a = m(i)) == null ? void 0 : a.map((s) => {
21
- var n;
22
- const u = Object.values((n = s == null ? void 0 : s.value) == null ? void 0 : n.tableData);
23
- return u.unshift({
24
- id: s == null ? void 0 : s.id
25
- }), u;
26
- }), i;
27
- } else
28
- return [];
29
- };
30
- _(async () => {
31
- var t;
32
- const e = await f(), l = [
33
- {
34
- key: "header",
35
- contents: [
36
- {
37
- label: "主菜单名称",
38
- formType: "Select",
39
- options: (t = m(b.value)) == null ? void 0 : t.map((a) => ({
40
- label: a == null ? void 0 : a.title,
41
- value: a == null ? void 0 : a.title
42
- })),
43
- prop: "主菜单名称"
44
- },
45
- {
46
- label: "隐藏三维显示",
47
- formType: "Switch",
48
- value: !1,
49
- prop: "隐藏三维显示"
50
- },
51
- {
52
- label: "操作"
53
- }
54
- ]
55
- },
56
- {
57
- key: "extraButton",
58
- contents: [
59
- {
60
- label: "新增"
61
- }
62
- ]
63
- },
64
- {
65
- key: "rowButton",
66
- contents: [
67
- {
68
- label: "查看"
69
- },
70
- {
71
- label: "编辑"
72
- },
73
- {
74
- label: "删除"
75
- }
76
- ]
77
- }
78
- ];
79
- l.push({
80
- key: "tableContents",
81
- contents: e
82
- }), r.value = l;
83
- });
84
- const d = (e) => {
85
- (e == null ? void 0 : e.buttonName) === "新增" ? D(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "删除" ? T(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "编辑" && S(e == null ? void 0 : e.singleContent);
86
- };
87
- return (e, o) => (g(), c("div", N, [
88
- v(M, {
89
- itemData: r.value,
90
- class: "table-content",
91
- onChange: d
92
- }, null, 8, ["itemData"])
93
- ]));
94
- }
95
- }), R = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
96
- export {
97
- R as default
98
- };
@@ -1,52 +0,0 @@
1
- import { ref as g, resolveComponent as r, createBlock as m, openBlock as l, 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
- };
@@ -1,201 +0,0 @@
1
- import { defineComponent as W, ref as z, computed as N, watch as y, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, createElementBlock as L, openBlock as w, createBlock as q } from "vue";
2
- import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-bFrEKaq_.js";
3
- import { l as ee } from "./index-C4jPBVPP.js";
4
- import { useRouter as te } from "vue-router";
5
- import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const oe = { key: 0 }, ae = /* @__PURE__ */ W({
7
- __name: "index",
8
- props: {
9
- windowConfig: {
10
- type: Object,
11
- default: () => {
12
- }
13
- },
14
- systemInfo: {
15
- type: Object,
16
- default: () => {
17
- }
18
- },
19
- systemKey: {
20
- type: String,
21
- default: ""
22
- },
23
- pathContent: {
24
- type: String,
25
- default: ""
26
- },
27
- mode: {
28
- type: String,
29
- default: "view"
30
- },
31
- content: {
32
- type: String,
33
- default: ""
34
- },
35
- jsonContents: {
36
- type: Array,
37
- default: () => []
38
- },
39
- showButton: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- nodeDev: {
44
- type: String,
45
- default: ""
46
- },
47
- pageKey: {
48
- type: String,
49
- default: ""
50
- },
51
- interfaceContent: {
52
- type: Array,
53
- default: () => []
54
- },
55
- loginContent: {
56
- type: Object,
57
- default: () => {
58
- }
59
- },
60
- menuFiles: {
61
- type: Array,
62
- default: () => []
63
- },
64
- workspaceHistoryData: {
65
- type: Array,
66
- default: () => []
67
- },
68
- // 用于打开/拣选工作区
69
- workspaceInfo: {
70
- type: Object,
71
- default: () => []
72
- }
73
- },
74
- emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
75
- setup(m, { emit: _ }) {
76
- const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), f = Y(h), g = z(!0), { activeMenuPath: I } = v(f), e = m, o = _, j = N(() => {
77
- var t, n;
78
- return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
79
- }), B = (t) => {
80
- o("systemContent", t);
81
- }, M = () => {
82
- o("updateVersion");
83
- }, T = () => {
84
- o("clearFileContent");
85
- };
86
- y(
87
- () => e == null ? void 0 : e.menuFiles,
88
- () => {
89
- var t;
90
- ((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && f.setLocalFiles(e == null ? void 0 : e.menuFiles);
91
- },
92
- { deep: !0, immediate: !0 }
93
- ), y(
94
- () => I.value,
95
- async () => {
96
- var n, a;
97
- let t = await Z({
98
- platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
99
- });
100
- t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, f.setDataFiles(t), o("getMenuPathValue", I.value);
101
- },
102
- { deep: !0, immediate: !0 }
103
- ), y(
104
- () => e == null ? void 0 : e.loginContent,
105
- async () => {
106
- var n, a, u, l;
107
- g.value = !0;
108
- let t = e == null ? void 0 : e.loginContent;
109
- if (t != null && t.account && (t != null && t.password) && !E.value && (await ee(t), status)) {
110
- let c = await p();
111
- o("systemContent", c == null ? void 0 : c.allMenuContents), A.push("/"), d.setLogRecordAsync({
112
- type: "登录",
113
- data: {
114
- account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
115
- userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
116
- }
117
- }, "/login", "login"), f.setHasClickEditComp(!1);
118
- }
119
- g.value = !1, await V();
120
- },
121
- { deep: !0, immediate: !0 }
122
- );
123
- const b = (t) => {
124
- o("projectLogin", t);
125
- }, x = () => {
126
- o("projectLogin", "");
127
- };
128
- y(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
129
- d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
130
- }, { immediate: !0 }), y(
131
- () => e == null ? void 0 : e.interfaceContent,
132
- () => {
133
- var a, u, l, c, r;
134
- if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((a = e == null ? void 0 : e.interfaceContent) == null ? void 0 : a.length) === 0) return;
135
- let t = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL"));
136
- n = (c = n == null ? void 0 : n.split("=")) == null ? void 0 : c[1], n = n == null ? void 0 : n.trim(), t = (r = t == null ? void 0 : t.split("=")) == null ? void 0 : r[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
137
- },
138
- { immediate: !0, deep: !0 }
139
- ), k(async () => {
140
- e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
141
- });
142
- const K = () => {
143
- o("buildContent");
144
- }, R = () => {
145
- o("setLoginInfo");
146
- }, U = (t) => {
147
- o("openThreeBuild", t);
148
- }, H = (t) => {
149
- o("threeData", t);
150
- }, O = (t) => {
151
- o("updateApiUrl", t);
152
- }, P = (t) => {
153
- o("executeWorkspace", t);
154
- }, C = () => {
155
- var r, i, S;
156
- const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
157
- f.setSystemHeight(n);
158
- const a = 1920, u = 16, l = t / a, c = u * l;
159
- document.documentElement.style.fontSize = `${c}px`;
160
- };
161
- return k(() => {
162
- C(), window.addEventListener("resize", C);
163
- }), G(() => {
164
- window.removeEventListener("resize", C);
165
- }), (t, n) => {
166
- const a = $("router-view");
167
- return w(), L("div", null, [
168
- g.value ? (w(), L("div", oe)) : (w(), q(a, {
169
- key: 1,
170
- mode: e == null ? void 0 : e.mode,
171
- content: e == null ? void 0 : e.content,
172
- jsonContents: e == null ? void 0 : e.jsonContents,
173
- pathContent: e == null ? void 0 : e.pathContent,
174
- showButton: j.value,
175
- nodeDev: e == null ? void 0 : e.nodeDev,
176
- windowConfig: m.windowConfig,
177
- systemInfo: m.systemInfo,
178
- "old-systemKey": m.systemKey,
179
- onBuildContent: K,
180
- onProjectLogin: b,
181
- onClearLogin: x,
182
- onUpdateApiUrl: O,
183
- onOpenThreeBuild: U,
184
- pageKey: m.pageKey,
185
- onThreeData: H,
186
- onSetLoginInfo: R,
187
- loginContent: e == null ? void 0 : e.loginContent,
188
- onUpdateVersion: M,
189
- onClearFileContent: T,
190
- onSystemContent: B,
191
- onExecuteWorkspace: P,
192
- workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
193
- workspaceInfo: e == null ? void 0 : e.workspaceInfo
194
- }, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
195
- ]);
196
- };
197
- }
198
- }), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-201a6b2b"]]);
199
- export {
200
- de as default
201
- };
@@ -1,9 +0,0 @@
1
- import { _ as e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
2
- const r = {};
3
- function c(n, t) {
4
- return " 1212 ";
5
- }
6
- const o = /* @__PURE__ */ e(r, [["render", c]]);
7
- export {
8
- o as default
9
- };