ss-component-new 1.3.658 → 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.
Files changed (82) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/index-CQG5_ZDD.js +1084 -0
  3. package/dist/index-C_HX7GAm.js +8849 -0
  4. package/dist/index-ZPct7ETq.js +180 -0
  5. package/dist/platform-BsULsE0-.js +16684 -0
  6. package/dist/ss-component.css +2 -8
  7. package/dist/ss-component.js +26 -67
  8. package/dist/ss-component2.js +15 -75
  9. package/dist/ss-component3.js +785 -9
  10. package/package.json +4 -4
  11. package/public/config.js +1 -1
  12. package/dist/MTLLoader-DI0avKtj.js +0 -657
  13. package/dist/URDFLoader-PUxvYFDe.js +0 -2304
  14. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  15. package/dist/animationData-05aVUytq.js +0 -83
  16. package/dist/array-ZM04o_us.js +0 -1044
  17. package/dist/clone-Ddn1p6-1.js +0 -8
  18. package/dist/eleIcon-BWVKfp5t.js +0 -29
  19. package/dist/iconfont-BNdGaGPn.js +0 -1018
  20. package/dist/icons/svg/Update.svg +0 -1
  21. package/dist/icons/svg/functionList.svg +0 -1
  22. package/dist/icons/svg/uploadCopy.svg +0 -1
  23. package/dist/index-9ruiIh9Q.js +0 -30
  24. package/dist/index-BAenzdfB.js +0 -83
  25. package/dist/index-BDhIWgKn.js +0 -658
  26. package/dist/index-BFqUz4pN.js +0 -52
  27. package/dist/index-BIAWyba9.js +0 -2623
  28. package/dist/index-BKJ5SfU0.js +0 -98
  29. package/dist/index-BMr09Ruf.js +0 -107
  30. package/dist/index-BOGJMjxF.js +0 -117
  31. package/dist/index-BP1mKUQP.js +0 -627
  32. package/dist/index-BczRQX8N.js +0 -407
  33. package/dist/index-BnrvtCYj.js +0 -55
  34. package/dist/index-Bpr501oZ.js +0 -78
  35. package/dist/index-Bs7vFXNW.js +0 -93
  36. package/dist/index-BvbZiTVB.js +0 -342
  37. package/dist/index-Bvvz41NY.js +0 -44
  38. package/dist/index-C2YKgxwc.js +0 -61990
  39. package/dist/index-C9DBY1gg.js +0 -103
  40. package/dist/index-CFFbhR3G.js +0 -996
  41. package/dist/index-COr2mcbl.js +0 -48
  42. package/dist/index-CV_jQDcg.js +0 -9
  43. package/dist/index-CXe4q28L.js +0 -447
  44. package/dist/index-ChNfRlIP.js +0 -596
  45. package/dist/index-CsxH-GEh.js +0 -24847
  46. package/dist/index-D-5v1Jx7.js +0 -93
  47. package/dist/index-D4LcEpQ7.js +0 -619
  48. package/dist/index-DGObzWyL.js +0 -8984
  49. package/dist/index-DJ59jXR0.js +0 -28483
  50. package/dist/index-DJrzqi4-.js +0 -209
  51. package/dist/index-D_kI6aHR.js +0 -98
  52. package/dist/index-Ddhx18T9.js +0 -864
  53. package/dist/index-Dr9Wt5nC.js +0 -84
  54. package/dist/index-Dwt0Wlg_.js +0 -201
  55. package/dist/index-EGwObkob.js +0 -468
  56. package/dist/index-WPJbEuld.js +0 -62
  57. package/dist/index-YVR3acYT.js +0 -61
  58. package/dist/index-dD-mKgue.js +0 -27
  59. package/dist/index-lHjuVdOp.js +0 -11773
  60. package/dist/index-uF-ibwG0.js +0 -9
  61. package/dist/index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js +0 -55
  62. package/dist/index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CG9X8aa2.js +0 -137728
  63. package/dist/isString-CoCw_sp3.js +0 -8
  64. package/dist/localIcon-CoJHw5ss.js +0 -76
  65. package/dist/main-Bs7Y7gDm.js +0 -502
  66. package/dist/menuIndex-Dt0NyAyE.js +0 -159
  67. package/dist/request-DiogHwkN.js +0 -9465
  68. package/dist/threeModel-C3x2TmUN.js +0 -1108
  69. package/dist/threePreview-BHLSA5YS.js +0 -2259
  70. package/dist/threeSceneView-mfAIunaw.js +0 -1289
  71. package/dist/threeSceneViewForCPMPIP-DrnsTNPv.js +0 -538
  72. package/dist/threeTrackPathView-BR8-g2Tr.js +0 -620
  73. package/dist/threeViewerHost-DbJCLcbz.js +0 -233
  74. package/dist/urdfTree-IEJgkVzs.js +0 -254
  75. package/dist/workpieceTreePanel-aZV2ut3W.js +0 -555
  76. package/public/icons/svg/Update.svg +0 -1
  77. package/public/icons/svg/functionList.svg +0 -1
  78. package/public/icons/svg/uploadCopy.svg +0 -1
  79. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  80. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  81. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  82. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
@@ -1,84 +0,0 @@
1
- import { ref as x, onMounted as _, openBlock as g, createElementBlock as y, createVNode as C } from "vue";
2
- import { s as b } from "./index-COr2mcbl.js";
3
- import { c as s } from "./index-DGObzWyL.js";
4
- import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const A = (t, n, a) => {
6
- var r, d, p, m;
7
- let e = n;
8
- e.title.text = (a == null ? void 0 : a.chartName) ?? "", e.xAxis.data = (r = s(t)) == null ? void 0 : r.map((i) => i.x), e.legend.data = (p = (d = s(t)) == null ? void 0 : d[0]) != null && p.y ? Object.keys(s(t)[0].y) : [];
9
- let o = [];
10
- return ((m = e.legend.data) == null ? void 0 : m.length) > 0 && s(e.legend.data).forEach((i) => {
11
- var f;
12
- const h = (f = s(t)) == null ? void 0 : f.map((l) => {
13
- var u;
14
- return (u = l == null ? void 0 : l.y) == null ? void 0 : u[i];
15
- });
16
- o.push({
17
- name: i,
18
- type: "line",
19
- data: h
20
- });
21
- }), e.series = o, e;
22
- }, c = [
23
- {
24
- key: "折线图",
25
- value: {
26
- title: {
27
- text: "",
28
- // 标题文本
29
- left: "center",
30
- // 水平居中
31
- top: 25,
32
- // 距离顶部距离
33
- textStyle: {
34
- // 文本样式
35
- color: "#333",
36
- fontSize: 18,
37
- fontWeight: "bold"
38
- }
39
- },
40
- tooltip: {
41
- trigger: "axis"
42
- },
43
- legend: {
44
- data: []
45
- },
46
- grid: {
47
- left: "6%",
48
- right: "4%",
49
- bottom: "3%",
50
- containLabel: !0
51
- },
52
- xAxis: {
53
- type: "category",
54
- axisLabel: {
55
- interval: 0
56
- // 强制显示所有标签
57
- },
58
- data: []
59
- },
60
- yAxis: {
61
- type: "value"
62
- },
63
- series: []
64
- }
65
- }
66
- ], v = { class: "eCharts" }, D = {
67
- __name: "index",
68
- props: {
69
- eChartContents: Array
70
- },
71
- setup(t) {
72
- const n = t, a = x({});
73
- return _(() => {
74
- var o;
75
- const e = n == null ? void 0 : n.eChartContents;
76
- a.value = A(s(e == null ? void 0 : e.compData), (o = c == null ? void 0 : c.find((r) => (r == null ? void 0 : r.key) === (e == null ? void 0 : e.name))) == null ? void 0 : o.value, e == null ? void 0 : e.extraContent);
77
- }), (e, o) => (g(), y("div", v, [
78
- C(b, { optionContents: a.value }, null, 8, ["optionContents"])
79
- ]));
80
- }
81
- }, N = /* @__PURE__ */ k(D, [["__scopeId", "data-v-0440fac3"]]);
82
- export {
83
- N as default
84
- };
@@ -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 $, 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-DGObzWyL.js";
3
- import { l as ee } from "./index-BnrvtCYj.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
- };