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.
Files changed (84) hide show
  1. package/dist/MTLLoader-C2ENwU4B.js +657 -0
  2. package/dist/URDFLoader-D8HIcp6W.js +2304 -0
  3. package/dist/animationData-CDGBdGSq.js +83 -0
  4. package/dist/array-GeFGcNng.js +1044 -0
  5. package/dist/clone-epSiajPW.js +8 -0
  6. package/dist/config.js +1 -1
  7. package/dist/eleIcon-BWVKfp5t.js +29 -0
  8. package/dist/iconfont-DMYmzqd8.js +1018 -0
  9. package/dist/icons/svg/Update.svg +1 -0
  10. package/dist/icons/svg/functionList.svg +1 -0
  11. package/dist/icons/svg/uploadCopy.svg +1 -0
  12. package/dist/index-3va3ENB8.js +201 -0
  13. package/dist/index-B4vESlof.js +78 -0
  14. package/dist/index-BFRbO6Ob.js +864 -0
  15. package/dist/index-BFqUz4pN.js +52 -0
  16. package/dist/index-BO_ie9cf.js +117 -0
  17. package/dist/index-BTcUmOL9.js +83 -0
  18. package/dist/index-Bd9AU0ks.js +93 -0
  19. package/dist/index-Bfe0Vmym.js +658 -0
  20. package/dist/index-BpGFvMaU.js +62 -0
  21. package/dist/index-Bto8e0_l.js +103 -0
  22. package/dist/index-Bvvz41NY.js +44 -0
  23. package/dist/index-CALpUVvi.js +2623 -0
  24. package/dist/index-CRusLwdZ.js +48 -0
  25. package/dist/index-CV_jQDcg.js +9 -0
  26. package/dist/index-CeVSdtF3.js +407 -0
  27. package/dist/{index-BobGeNMx.js → index-ChNfRlIP.js} +5 -5
  28. package/dist/index-CmRnsU1X.js +996 -0
  29. package/dist/index-CxGjXQS8.js +93 -0
  30. package/dist/index-DJrzqi4-.js +209 -0
  31. package/dist/index-DT2KzAmL.js +8988 -0
  32. package/dist/index-D_kI6aHR.js +98 -0
  33. package/dist/index-D_zqmWYW.js +627 -0
  34. package/dist/index-DgW-zPUZ.js +30 -0
  35. package/dist/index-DhllboDp.js +11773 -0
  36. package/dist/index-Di7_fN-l.js +61958 -0
  37. package/dist/index-DmuX4rYk.js +98 -0
  38. package/dist/index-DxEqN-_a.js +84 -0
  39. package/dist/index-FNOjQQWl.js +619 -0
  40. package/dist/index-GqaokPsw.js +342 -0
  41. package/dist/index-SjNcMhxZ.js +447 -0
  42. package/dist/index-XGieOXX9.js +55 -0
  43. package/dist/index-YVR3acYT.js +61 -0
  44. package/dist/index-b-1Cc3pU.js +28483 -0
  45. package/dist/index-bzdYGNwv.js +24879 -0
  46. package/dist/{index-BKK_dL6t.js → index-dD-mKgue.js} +3 -3
  47. package/dist/index-f22t3lGR.js +107 -0
  48. package/dist/index-hPoDGmt5.js +468 -0
  49. package/dist/index-uF-ibwG0.js +9 -0
  50. 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
  51. package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js +137728 -0
  52. package/dist/isString-CoCw_sp3.js +8 -0
  53. package/dist/localIcon-CoJHw5ss.js +76 -0
  54. package/dist/main-B3uivmHw.js +502 -0
  55. package/dist/menuIndex-B7ZUahFp.js +159 -0
  56. package/dist/request-DiogHwkN.js +9465 -0
  57. package/dist/ss-component.css +8 -2
  58. package/dist/ss-component.js +64 -28
  59. package/dist/ss-component2.js +75 -15
  60. package/dist/ss-component3.js +1 -1
  61. package/dist/threeModel-BZpdWtB3.js +1108 -0
  62. package/dist/threePreview-QZ-g7bqk.js +2259 -0
  63. package/dist/threeSceneView-DeXv560D.js +1289 -0
  64. package/dist/threeSceneViewForCPMPIP-CdhC-Jg4.js +538 -0
  65. package/dist/threeTrackPathView-Cpwcmet3.js +620 -0
  66. package/dist/threeViewerHost-OeJJtWw4.js +233 -0
  67. package/dist/urdfTree-oAPOm0qi.js +254 -0
  68. package/dist/workpieceTreePanel-RgJlR6GJ.js +555 -0
  69. package/package.json +4 -4
  70. package/public/config.js +1 -1
  71. package/public/icons/svg/Update.svg +1 -0
  72. package/public/icons/svg/functionList.svg +1 -0
  73. package/public/icons/svg/uploadCopy.svg +1 -0
  74. package/dist/index-CCShKHTf.js +0 -50
  75. package/dist/index-CHLS51j8.js +0 -1044
  76. package/dist/index-Ccv8qbdo.js +0 -9091
  77. package/dist/index-D2V0zCQE.js +0 -195
  78. package/dist/index-DgjdKpj-.js +0 -182
  79. package/dist/menu-B8iV5Rhf.js +0 -5215
  80. package/dist/origin-B7bb-ZcE.js +0 -11428
  81. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  82. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  83. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  84. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780017622530" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5240" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M223.425605 449.2744l161.632237 0 0 253.65714c0 16.954137 13.745049 30.699186 30.699186 30.699186 16.95516 0 30.699186-13.745049 30.699186-30.699186l0-284.356326c0-16.95516-13.744026-30.699186-30.699186-30.699186L291.035446 387.876028l217.23665-248.51605L733.039255 387.580293 607.104031 387.580293c-16.954137 0-30.699186 13.745049-30.699186 30.699186l0 284.652062c0 16.954137 13.745049 30.699186 30.699186 30.699186s30.699186-13.745049 30.699186-30.699186L637.803217 448.978664l164.448376 0c12.140505 0 23.140023-7.154957 28.063149-18.251689 4.922103-11.097756 2.841721-24.053835-5.307889-33.05279L530.62315 72.570829c-5.881964-6.495948-14.273075-10.134825-23.024389-10.091846-8.763594 0.076748-17.076934 3.895727-22.844288 10.494005L200.312188 398.371056c-7.92653 9.067516-9.818623 21.931498-4.839215 32.896224S211.383338 449.2744 223.425605 449.2744z" p-id="5241"></path><path d="M222.354204 829.113381l581.732178 0c16.954137 0 30.699186-13.745049 30.699186-30.699186s-13.745049-30.699186-30.699186-30.699186L222.354204 767.715009c-16.954137 0-30.699186 13.745049-30.699186 30.699186S205.400067 829.113381 222.354204 829.113381z" p-id="5242"></path><path d="M804.086381 896.729361 222.354204 896.729361c-16.954137 0-30.699186 13.745049-30.699186 30.699186s13.745049 30.699186 30.699186 30.699186l581.732178 0c16.954137 0 30.699186-13.745049 30.699186-30.699186S821.041542 896.729361 804.086381 896.729361z" p-id="5243"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780642425297" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2833" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M384 806.4l275.2-275.2-57.6-57.6-19.2 19.2c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l19.2-19.2c25.6-25.6 64-25.6 89.6 0l64 70.4c25.6 25.6 25.6 64 0 89.6l-275.2 275.2c6.4 12.8 12.8 32 12.8 44.8 0 51.2-44.8 96-96 96S256 947.2 256 896s44.8-96 96-96c12.8 0 25.6 0 32 6.4z m275.2-563.2L384 518.4l57.6 57.6 19.2-19.2c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-25.6 25.6c-25.6 25.6-64 25.6-89.6 0l-64-70.4c-25.6-25.6-25.6-64 0-89.6L614.4 192c-6.4-12.8-6.4-19.2-6.4-32 0-51.2 44.8-96 96-96s96 44.8 96 96S755.2 256 704 256c-19.2 0-32-6.4-44.8-12.8z m198.4 275.2l-128-128c-12.8-12.8-12.8-38.4 0-51.2 12.8-12.8 38.4-12.8 51.2 0l128 128c12.8 12.8 19.2 32 19.2 51.2 0 19.2-6.4 38.4-19.2 51.2l-128 128c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l128-128z m-691.2 0l128 128c12.8 12.8 12.8 38.4 0 51.2-12.8 12.8-38.4 12.8-51.2 0l-128-128c-12.8-12.8-19.2-32-19.2-51.2 0-19.2 6.4-38.4 19.2-51.2l128-128c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-128 128z" p-id="2834"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780017236338" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3877" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M96.1 575.7a32.2 32.1 0 1 0 64.4 0 32.2 32.1 0 1 0-64.4 0Z" fill="#4D4D4D" p-id="3878"></path><path d="M742.1 450.7l-269.5-2.1c-14.3-0.1-26 13.8-26 31s11.7 31.3 26 31.4l269.5 2.1c14.3 0.1 26-13.8 26-31s-11.7-31.3-26-31.4zM742.1 577.7l-269.5-2.1c-14.3-0.1-26 13.8-26 31s11.7 31.3 26 31.4l269.5 2.1c14.3 0.2 26-13.8 26-31s-11.7-31.3-26-31.4z" fill="#4D4D4D" p-id="3879"></path><path d="M736.1 63.9H417c-70.4 0-128 57.6-128 128h-64.9c-70.4 0-128 57.6-128 128v128c-0.1 17.7 14.4 32 32.2 32 17.8 0 32.2-14.4 32.2-32.1V320c0-35.2 28.8-64 64-64H289v447.8c0 70.4 57.6 128 128 128h255.1c-0.1 35.2-28.8 63.8-64 63.8H224.5c-35.2 0-64-28.8-64-64V703.5c0-17.7-14.4-32.1-32.2-32.1-17.8 0-32.3 14.4-32.3 32.1v128.3c0 70.4 57.6 128 128 128h384.1c70.4 0 128-57.6 128-128h65c70.4 0 128-57.6 128-128V255.9l-193-192z m0.1 63.4l127.7 128.3H800c-35.2 0-64-28.8-64-64v-64.3h0.2z m64 641H416.1c-35.2 0-64-28.8-64-64v-513c0-35.2 28.8-64 64-64H671V191c0 70.4 57.6 128 128 128h65.2v385.3c0 35.2-28.8 64-64 64z" p-id="3880"></path></svg>
@@ -0,0 +1,201 @@
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 $, openBlock as w, createElementBlock as L, 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-DT2KzAmL.js";
3
+ import { l as ee } from "./index-XGieOXX9.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
+ };
@@ -0,0 +1,78 @@
1
+ import { watch as n } from "vue";
2
+ import { s as o, b as p, p as u } from "./index-DT2KzAmL.js";
3
+ import { s as r } from "./request-DiogHwkN.js";
4
+ const m = p(u), { systemUrl: a } = o(m);
5
+ let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
6
+ n(
7
+ () => a.value,
8
+ () => {
9
+ e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
10
+ },
11
+ { deep: !0, immediate: !0 }
12
+ );
13
+ function c(t) {
14
+ return r({
15
+ url: `${e}/platform/getdata_department_tree`,
16
+ method: "post",
17
+ data: t
18
+ });
19
+ }
20
+ function g(t) {
21
+ return r({
22
+ url: `${e}/platform/getdata_department`,
23
+ method: "post",
24
+ data: t
25
+ });
26
+ }
27
+ function h(t) {
28
+ return r({
29
+ url: `${e}/platform/createdata_department`,
30
+ method: "post",
31
+ data: t
32
+ });
33
+ }
34
+ function y(t) {
35
+ return r({
36
+ url: `${e}/platform/updatedata_department`,
37
+ method: "post",
38
+ data: t
39
+ });
40
+ }
41
+ function _(t) {
42
+ return r({
43
+ url: `${e}/platform/deletedata_department`,
44
+ method: "post",
45
+ data: t
46
+ });
47
+ }
48
+ function v(t) {
49
+ return r({
50
+ url: `${e}/platform/getdata_department`,
51
+ method: "post",
52
+ data: t
53
+ });
54
+ }
55
+ function s(t) {
56
+ return r({
57
+ url: `${e}/platform/getdata_department_type`,
58
+ method: "post",
59
+ data: t
60
+ });
61
+ }
62
+ async function l(t) {
63
+ return await s({
64
+ platId: t
65
+ });
66
+ }
67
+ async function $(t) {
68
+ return await l(t);
69
+ }
70
+ export {
71
+ c as a,
72
+ g as b,
73
+ h as c,
74
+ _ as d,
75
+ $ as e,
76
+ v as g,
77
+ y as u
78
+ };