ss-component-new 1.3.792 → 1.3.793

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 (58) hide show
  1. package/dist/{MTLLoader-C5dnMN1N.js → MTLLoader-BLW4rBj3.js} +1 -1
  2. package/dist/{URDFLoader-B4dYkf-D.js → URDFLoader-CJ0eZ787.js} +2 -2
  3. package/dist/{animationData-DiyerNTb.js → animationData-WcAtIS9e.js} +3 -3
  4. package/dist/{array-D3QPE06i.js → array-C4v0WwSQ.js} +3 -3
  5. package/dist/{clone-B_hYig97.js → clone-B58hfp9X.js} +1 -1
  6. package/dist/{iconfont--gs3Gevb.js → iconfont-CDGUReXk.js} +1 -1
  7. package/dist/{index-BvyclM-l.js → index--HxLl32u.js} +3 -3
  8. package/dist/{index-DR7X4PF3.js → index-A4jWIrmN.js} +2 -2
  9. package/dist/{index-CBS1iDdJ.js → index-B7PNqrjJ.js} +43 -43
  10. package/dist/{index-DptQmTpV.js → index-BCem4LDt.js} +1 -1
  11. package/dist/index-BEEhgR2h.js +20448 -0
  12. package/dist/{index-YLTMuTay.js → index-BKO-RXgQ.js} +2 -2
  13. package/dist/{index-V1jLZaXg.js → index-BiiVP9UY.js} +5 -5
  14. package/dist/{index-By9vpmaq.js → index-BoM2_e4m.js} +17 -19
  15. package/dist/{index-DVLFYqXK.js → index-BzB2Vn8c.js} +1 -1
  16. package/dist/{index-DnZw_2yg.js → index-C-eAXBcR.js} +1 -1
  17. package/dist/index-C53X6G-4.js +1040 -0
  18. package/dist/{index-Cgw1NH_e.js → index-CDE3W8eV.js} +1 -1
  19. package/dist/{index-BRIu2-IE.js → index-CXQiVSNJ.js} +3 -3
  20. package/dist/index-CdnLi1mI.js +201 -0
  21. package/dist/{index-CnGSxj-A.js → index-Cryd-gMS.js} +1 -1
  22. package/dist/{index-UosES3D0.js → index-DDMr3ccr.js} +4 -4
  23. package/dist/{index-D73xhnLT.js → index-DEZSGsHH.js} +5 -5
  24. package/dist/{index-CRvrz4Kx.js → index-DKgaK1z9.js} +1 -1
  25. package/dist/{index-B-YCt3ei.js → index-DPI8Ng2H.js} +8 -8
  26. package/dist/{index-DUdae6Rn.js → index-DQi7rHI6.js} +1 -1
  27. package/dist/{index-D8Cjsxir.js → index-Dl9Q4HHR.js} +8 -8
  28. package/dist/{index-BWAUAA-3.js → index-DrOrOkl6.js} +2 -2
  29. package/dist/{index-DwlYweox.js → index-DsnTrY1M.js} +1 -1
  30. package/dist/{index-Bwi9ttWV.js → index-DuKiR1_e.js} +2 -2
  31. package/dist/{index-MupPMnNC.js → index-Dzn6ZiP-.js} +4 -4
  32. package/dist/{index-Du5DbeP0.js → index-GORssRqa.js} +2 -2
  33. package/dist/{index-B9eBt9Wy.js → index-hq3N2pd8.js} +5928 -5724
  34. package/dist/{index-znHowcje.js → index-lnvizv_3.js} +21251 -21230
  35. package/dist/{index-C4IOVZXF.js → index-yOnrK71-.js} +548 -552
  36. package/dist/{index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +12 -17
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DxfByRuz.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D22lZDxk.js} +3 -3
  38. package/dist/{main-BQoQ7aLp.js → main-Oii-OsDl.js} +4 -4
  39. package/dist/{menuIndex-DKRjBdPj.js → menuIndex-Cv7pne94.js} +1 -1
  40. package/dist/ss-component.css +2 -2
  41. package/dist/ss-component.js +15 -15
  42. package/dist/ss-component2.js +12 -12
  43. package/dist/{threeModel-B2gUWieF.js → threeModel-m8uRa9qf.js} +4 -4
  44. package/dist/{threePreview-DQFkOSSW.js → threePreview-BGFPEhB8.js} +5 -5
  45. package/dist/{threeSceneView-C2i0w5Rf.js → threeSceneView-B8AO4V6s.js} +12 -12
  46. package/dist/{threeSceneViewForCPMPIP-CAheT0H4.js → threeSceneViewForCPMPIP-CqSE9smj.js} +9 -9
  47. package/dist/{threeTrackPathView-DZx8ZdyF.js → threeTrackPathView-DpDSwCX_.js} +4 -4
  48. package/dist/{threeViewerHost-DVB_MeiG.js → threeViewerHost-CzBxyrCq.js} +3 -3
  49. package/dist/{urdfTree-DX-zCzQ0.js → urdfTree-BuDVQq17.js} +1 -1
  50. package/dist/{workpieceTreePanel-BCJJSbuT.js → workpieceTreePanel-_uSgHKC_.js} +4 -4
  51. package/package.json +1 -1
  52. package/dist/index-CcjzB3IP.js +0 -20682
  53. package/dist/index-Cpq_YbPr.js +0 -222
  54. package/dist/index-g9Npek0_.js +0 -1008
  55. package/dist/obj/model.mtl +0 -42
  56. package/dist/obj/model.obj +0 -26110
  57. package/public/obj/model.mtl +0 -42
  58. package/public/obj/model.obj +0 -26110
@@ -1,222 +0,0 @@
1
- import { defineComponent as N, ref as V, computed as G, watch as C, nextTick as $, onMounted as _, onUnmounted as q, resolveComponent as J, createElementBlock as A, openBlock as I, createBlock as Q } from "vue";
2
- import { b as X, p as v, s as S, d as Y, a as Z, u as p, g as ee, v as te } from "./index-C4IOVZXF.js";
3
- import { l as ne } from "./index-DptQmTpV.js";
4
- import { useRouter as oe } from "vue-router";
5
- import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const ie = { key: 0 }, se = /* @__PURE__ */ N({
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: [
75
- "buildContent",
76
- "openThreeBuild",
77
- "threeData",
78
- "setLoginInfo",
79
- "projectLogin",
80
- "updateApiUrl",
81
- "clearFileContent",
82
- "systemContent",
83
- "getMenuPathValue",
84
- "executeWorkspace",
85
- "updateVersion"
86
- ],
87
- setup(f, { emit: D }) {
88
- const E = oe(), u = X(v), { loginUserInfo: s } = S(u), { initSystemInfo: F } = Y(), j = Z(v), { refreshLogin: B } = S(j), m = p(v), w = V(!0), { activeMenuPath: L } = S(m), e = f, a = D, M = G(() => {
89
- var t, n;
90
- return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
91
- }), T = (t) => {
92
- a("systemContent", t);
93
- }, x = () => {
94
- a("updateVersion");
95
- }, K = () => {
96
- a("clearFileContent");
97
- };
98
- C(
99
- () => e == null ? void 0 : e.menuFiles,
100
- () => {
101
- var t;
102
- ((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && m.setLocalFiles(e == null ? void 0 : e.menuFiles);
103
- },
104
- { deep: !0, immediate: !0 }
105
- ), C(
106
- () => L.value,
107
- async () => {
108
- var n, o;
109
- let t = await ee({
110
- platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
111
- });
112
- t = (o = t == null ? void 0 : t.data) == null ? void 0 : o.result, m.setDataFiles(t), a("getMenuPathValue", L.value);
113
- },
114
- { deep: !0, immediate: !0 }
115
- ), C(
116
- () => e == null ? void 0 : e.loginContent,
117
- async () => {
118
- var n, o, d, l;
119
- w.value = !0;
120
- let t = e == null ? void 0 : e.loginContent;
121
- if (t != null && t.account && (t != null && t.password) && !B.value && (await ne(t), status)) {
122
- let c = await te();
123
- a("systemContent", c == null ? void 0 : c.allMenuContents), E.push("/"), u.setLogRecordAsync(
124
- {
125
- type: "登录",
126
- data: {
127
- account: ((n = s.value) == null ? void 0 : n.account) ?? ((o = s.value) == null ? void 0 : o.账号),
128
- userName: ((d = s.value) == null ? void 0 : d.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
129
- }
130
- },
131
- "/login",
132
- "login"
133
- ), m.setHasClickEditComp(!1);
134
- }
135
- w.value = !1, await $();
136
- },
137
- { deep: !0, immediate: !0 }
138
- );
139
- const P = (t) => {
140
- a("projectLogin", t);
141
- }, R = () => {
142
- a("projectLogin", "");
143
- };
144
- C(
145
- () => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo],
146
- async ([t, n]) => {
147
- u.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
148
- },
149
- { immediate: !0 }
150
- ), C(
151
- () => e == null ? void 0 : e.interfaceContent,
152
- () => {
153
- var d, l, c, r, y, g, k;
154
- if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((d = e == null ? void 0 : e.interfaceContent) == null ? void 0 : d.length) === 0)
155
- return;
156
- let t = (l = e == null ? void 0 : e.interfaceContent) == null ? void 0 : l.find((i) => i == null ? void 0 : i.includes("VITE_API_NEW_URL")), n = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((i) => i == null ? void 0 : i.includes("VITE_FACE_RECOGNITION_API_URL")), o = (r = e == null ? void 0 : e.interfaceContent) == null ? void 0 : r.find((i) => i == null ? void 0 : i.includes("VITE_API_URL"));
157
- n = (y = n == null ? void 0 : n.split("=")) == null ? void 0 : y[1], n = n == null ? void 0 : n.trim(), t = (g = t == null ? void 0 : t.split("=")) == null ? void 0 : g[1], t = t == null ? void 0 : t.trim(), o = (k = o == null ? void 0 : o.split("=")) == null ? void 0 : k[1], o = o == null ? void 0 : o.trim(), u.setPlcUrl(o ?? ""), u.setExtraUrl(n ?? ""), u.setSystemUrl(t ?? "");
158
- },
159
- { immediate: !0, deep: !0 }
160
- ), _(async () => {
161
- e.systemInfo ? u.setSystemInfo(e.systemInfo) : await F();
162
- });
163
- const b = () => {
164
- a("buildContent");
165
- }, H = () => {
166
- a("setLoginInfo");
167
- }, O = (t) => {
168
- a("openThreeBuild", t);
169
- }, U = (t) => {
170
- a("threeData", t);
171
- }, W = (t) => {
172
- a("updateApiUrl", t);
173
- }, z = (t) => {
174
- a("executeWorkspace", t);
175
- }, h = () => {
176
- var r, y, g;
177
- const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (y = e == null ? void 0 : e.windowConfig) != null && y.height ? (g = e == null ? void 0 : e.windowConfig) == null ? void 0 : g.height : window.innerHeight;
178
- m.setSystemHeight(n);
179
- const o = 1920, d = 16, l = t / o, c = d * l;
180
- document.documentElement.style.fontSize = `${c}px`;
181
- };
182
- return _(() => {
183
- h(), window.addEventListener("resize", h);
184
- }), q(() => {
185
- window.removeEventListener("resize", h);
186
- }), (t, n) => {
187
- const o = J("router-view");
188
- return I(), A("div", null, [
189
- w.value ? (I(), A("div", ie)) : (I(), Q(o, {
190
- key: 1,
191
- mode: e == null ? void 0 : e.mode,
192
- content: e == null ? void 0 : e.content,
193
- jsonContents: e == null ? void 0 : e.jsonContents,
194
- pathContent: e == null ? void 0 : e.pathContent,
195
- showButton: M.value,
196
- nodeDev: e == null ? void 0 : e.nodeDev,
197
- windowConfig: f.windowConfig,
198
- systemInfo: f.systemInfo,
199
- "old-systemKey": f.systemKey,
200
- onBuildContent: b,
201
- onProjectLogin: P,
202
- onClearLogin: R,
203
- onUpdateApiUrl: W,
204
- onOpenThreeBuild: O,
205
- pageKey: f.pageKey,
206
- onThreeData: U,
207
- onSetLoginInfo: H,
208
- loginContent: e == null ? void 0 : e.loginContent,
209
- onUpdateVersion: x,
210
- onClearFileContent: K,
211
- onSystemContent: T,
212
- onExecuteWorkspace: z,
213
- workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
214
- workspaceInfo: e == null ? void 0 : e.workspaceInfo
215
- }, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
216
- ]);
217
- };
218
- }
219
- }), me = /* @__PURE__ */ ae(se, [["__scopeId", "data-v-2996fc79"]]);
220
- export {
221
- me as default
222
- };