ss-component-new 1.3.521 → 1.3.523

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 (40) hide show
  1. package/dist/{MTLLoader-DpBJ_k9Y.js → MTLLoader-DZtdv7xn.js} +1 -1
  2. package/dist/{OrbitControls-CrLyyXID.js → OrbitControls-tQjK8Bvq.js} +1 -1
  3. package/dist/{URDFLoader-j8sP7lQQ.js → URDFLoader-lc38mydq.js} +2 -2
  4. package/dist/{animationData-DDTcSrrt.js → animationData-u_YPeaPk.js} +2 -2
  5. package/dist/{array-BRwrKJlV.js → array-B7flL5GH.js} +2 -2
  6. package/dist/{iconfont-BilzQCwX.js → iconfont-BuWnh6qj.js} +2 -2
  7. package/dist/{index-Dq_W9KpI.js → index--g9kRED-.js} +1 -1
  8. package/dist/{index-CFXn8xkv.js → index-2oZUWLbc.js} +1 -1
  9. package/dist/{index-DB_5Vx7p.js → index-B1YICXl4.js} +2 -2
  10. package/dist/{index-BNM_Aw3g.js → index-B2AcZDHm.js} +1 -1
  11. package/dist/{index-CKvkzOa-.js → index-BCnfyVR5.js} +5 -5
  12. package/dist/{index-CY4HgzY7.js → index-BNAX3ICj.js} +1 -1
  13. package/dist/{index-ByHx7i0z.js → index-BmREuTXP.js} +6 -6
  14. package/dist/{index-E-khiDDS.js → index-C-XTb8un.js} +1 -1
  15. package/dist/{index-C3VRWxQ1.js → index-CABvAdJ7.js} +3 -3
  16. package/dist/{index-BKM9-FKV.js → index-CE8hovM5.js} +1 -1
  17. package/dist/{index-BYBLD6Rl.js → index-CZaW05oL.js} +9851 -9815
  18. package/dist/{index-GJSfgvE-.js → index-C_icB1vj.js} +44 -41
  19. package/dist/{index-BA5rwfAJ.js → index-CvYg-VFD.js} +1 -1
  20. package/dist/{index-DFa_fhBD.js → index-DJHcauIv.js} +2673 -2673
  21. package/dist/{index-Dp-nQYYV.js → index-Djm3GpxK.js} +1 -1
  22. package/dist/{index-BwSHrBUC.js → index-HG7ZJUJ0.js} +4326 -4314
  23. package/dist/{index-4s9mkvSs.js → index-PVNbQjsY.js} +4 -4
  24. package/dist/{index-BNbYTrvo.js → index-T7PPUoBm.js} +4 -4
  25. package/dist/{index-BtQhJSqM.js → index-UTlVPRfl.js} +1 -1
  26. package/dist/{index-DgYOJXmM.js → index-X3GosV7y.js} +3 -3
  27. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CDxLNAFf.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-hHi3gpF2.js} +1 -1
  28. package/dist/{main-CEjFxAqR.js → main-CoZlCSqb.js} +3 -3
  29. package/dist/ss-component.css +1 -1
  30. package/dist/ss-component.js +10 -10
  31. package/dist/ss-component2.js +9 -9
  32. package/dist/{threeModel-_i9rJkeK.js → threeModel-DlyJ0XWK.js} +3 -3
  33. package/dist/{threePreview-D7guiiQ6.js → threePreview-z1qQqg02.js} +3 -3
  34. package/dist/{threeSceneView-DI9hUGM7.js → threeSceneView-Bm6ii787.js} +10 -10
  35. package/dist/{threeSceneViewForCPMPIP-CiN3lWh2.js → threeSceneViewForCPMPIP-DXXe9yOe.js} +7 -7
  36. package/dist/{threeTrackPathView-BDUEBBOQ.js → threeTrackPathView-Daun6RXb.js} +3 -3
  37. package/dist/{threeViewerHost-CQgDQAFR.js → threeViewerHost-DTINCGM_.js} +2 -2
  38. package/dist/{urdfTree-CJiWR3Ul.js → urdfTree-Dk1pOdtv.js} +1 -1
  39. package/dist/{workpieceTreePanel-CaEuUT2s.js → workpieceTreePanel-B3cPxdx2.js} +4 -4
  40. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as P, ref as W, computed as z, watch as r, nextTick as N, onMounted as k, onUnmounted as G, resolveComponent as V, createElementBlock as L, openBlock as w, createBlock as $ } from "vue";
2
- import { b as q, p as h, s as v, d as J, a as Q, u as X, v as Y } from "./index-do6fZMuP.js";
3
- import { l as Z } from "./index-BQBbSVQv.js";
4
- import { useRouter as p } from "vue-router";
5
- import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const te = { key: 0 }, ne = /* @__PURE__ */ P({
1
+ import { defineComponent as W, ref as z, computed as N, watch as r, 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, v as Z } from "./index-do6fZMuP.js";
3
+ import { l as p } from "./index-BQBbSVQv.js";
4
+ import { useRouter as ee } from "vue-router";
5
+ import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const ne = { key: 0 }, oe = /* @__PURE__ */ W({
7
7
  __name: "index",
8
8
  props: {
9
9
  windowConfig: {
@@ -71,14 +71,16 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
71
71
  default: () => []
72
72
  }
73
73
  },
74
- emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace"],
75
- setup(d, { emit: _ }) {
76
- const A = p(), l = q(h), { loginUserInfo: f } = v(l), { initSystemInfo: D } = J(), E = Q(h), { refreshLogin: F } = v(E), y = X(h), g = W(!0), { activeMenuPath: I } = v(y), e = d, o = _, j = z(() => {
74
+ emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
75
+ setup(l, { emit: _ }) {
76
+ const A = ee(), d = J(h), { loginUserInfo: f } = v(d), { initSystemInfo: D } = Q(), E = X(h), { refreshLogin: F } = v(E), y = Y(h), g = z(!0), { activeMenuPath: I } = v(y), e = l, o = _, j = N(() => {
77
77
  var t, n;
78
78
  return (e == null ? void 0 : e.showButton) || ((n = (t = f.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
79
79
  }), B = (t) => {
80
80
  o("systemContent", t);
81
81
  }, M = () => {
82
+ o("updateVersion");
83
+ }, T = () => {
82
84
  o("clearFileContent");
83
85
  };
84
86
  r(
@@ -100,9 +102,9 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
100
102
  var n, i, c, u;
101
103
  g.value = !0;
102
104
  let t = e == null ? void 0 : e.loginContent;
103
- if (t != null && t.account && (t != null && t.password) && !F.value && (await Z(t), status)) {
104
- let s = await Y();
105
- o("systemContent", s == null ? void 0 : s.allMenuContents), A.push("/"), l.setLogRecordAsync({
105
+ if (t != null && t.account && (t != null && t.password) && !F.value && (await p(t), status)) {
106
+ let s = await Z();
107
+ o("systemContent", s == null ? void 0 : s.allMenuContents), A.push("/"), d.setLogRecordAsync({
106
108
  type: "登录",
107
109
  data: {
108
110
  account: ((n = f.value) == null ? void 0 : n.account) ?? ((i = f.value) == null ? void 0 : i.账号),
@@ -110,40 +112,40 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
110
112
  }
111
113
  }, "/login", "login"), y.setHasClickEditComp(!1);
112
114
  }
113
- g.value = !1, await N();
115
+ g.value = !1, await V();
114
116
  },
115
117
  { deep: !0, immediate: !0 }
116
118
  );
117
- const T = (t) => {
119
+ const U = (t) => {
118
120
  o("projectLogin", t);
119
- }, b = () => {
121
+ }, x = () => {
120
122
  o("projectLogin", "");
121
123
  };
122
124
  r(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
123
- l.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
125
+ d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
124
126
  }, { immediate: !0 }), r(
125
127
  () => e == null ? void 0 : e.interfaceContent,
126
128
  () => {
127
129
  var i, c, u, s, m;
128
130
  if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.length) === 0) return;
129
131
  let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((a) => a == null ? void 0 : a.includes("VITE_API_NEW_URL")), n = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((a) => a == null ? void 0 : a.includes("VITE_FACE_RECOGNITION_API_URL"));
130
- n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(), l.setExtraUrl(n ?? ""), l.setSystemUrl(t ?? "");
132
+ n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
131
133
  },
132
134
  { immediate: !0, deep: !0 }
133
135
  ), k(async () => {
134
- e.systemInfo ? l.setSystemInfo(e.systemInfo) : await D();
136
+ e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
135
137
  });
136
- const x = () => {
138
+ const K = () => {
137
139
  o("buildContent");
138
- }, K = () => {
140
+ }, R = () => {
139
141
  o("setLoginInfo");
140
- }, U = (t) => {
142
+ }, b = (t) => {
141
143
  o("openThreeBuild", t);
142
- }, R = (t) => {
143
- o("threeData", t);
144
144
  }, H = (t) => {
145
- o("updateApiUrl", t);
145
+ o("threeData", t);
146
146
  }, O = (t) => {
147
+ o("updateApiUrl", t);
148
+ }, P = (t) => {
147
149
  o("executeWorkspace", t);
148
150
  }, C = () => {
149
151
  var m, a, S;
@@ -157,9 +159,9 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
157
159
  }), G(() => {
158
160
  window.removeEventListener("resize", C);
159
161
  }), (t, n) => {
160
- const i = V("router-view");
162
+ const i = $("router-view");
161
163
  return w(), L("div", null, [
162
- g.value ? (w(), L("div", te)) : (w(), $(i, {
164
+ g.value ? (w(), L("div", ne)) : (w(), q(i, {
163
165
  key: 1,
164
166
  mode: e == null ? void 0 : e.mode,
165
167
  content: e == null ? void 0 : e.content,
@@ -167,28 +169,29 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
167
169
  pathContent: e == null ? void 0 : e.pathContent,
168
170
  showButton: j.value,
169
171
  nodeDev: e == null ? void 0 : e.nodeDev,
170
- windowConfig: d.windowConfig,
171
- systemInfo: d.systemInfo,
172
- "old-systemKey": d.systemKey,
173
- onBuildContent: x,
174
- onProjectLogin: T,
175
- onClearLogin: b,
176
- onUpdateApiUrl: H,
177
- onOpenThreeBuild: U,
178
- pageKey: d.pageKey,
179
- onThreeData: R,
180
- onSetLoginInfo: K,
172
+ windowConfig: l.windowConfig,
173
+ systemInfo: l.systemInfo,
174
+ "old-systemKey": l.systemKey,
175
+ onBuildContent: K,
176
+ onProjectLogin: U,
177
+ onClearLogin: x,
178
+ onUpdateApiUrl: O,
179
+ onOpenThreeBuild: b,
180
+ pageKey: l.pageKey,
181
+ onThreeData: H,
182
+ onSetLoginInfo: R,
181
183
  loginContent: e == null ? void 0 : e.loginContent,
182
- onClearFileContent: M,
184
+ onUpdateVersion: M,
185
+ onClearFileContent: T,
183
186
  onSystemContent: B,
184
- onExecuteWorkspace: O,
187
+ onExecuteWorkspace: P,
185
188
  workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
186
189
  workspaceInfo: e == null ? void 0 : e.workspaceInfo
187
190
  }, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
188
191
  ]);
189
192
  };
190
193
  }
191
- }), ue = /* @__PURE__ */ ee(ne, [["__scopeId", "data-v-b9cb5093"]]);
194
+ }), de = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-fed2d442"]]);
192
195
  export {
193
- ue as default
196
+ de as default
194
197
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
2
2
  import { u as h, p as k, s as x, c as m } from "./index-do6fZMuP.js";
3
- import { W as M } from "./index-BYBLD6Rl.js";
3
+ import { W as M } from "./index-CZaW05oL.js";
4
4
  import { a as D, d as T, f as S } from "./index-BmZwVwZC.js";
5
5
  import { g as w } from "./index-DUq4XELr.js";
6
6
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";