ss-component-new 1.3.531 → 1.3.532

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-Uji2-rMi.js → MTLLoader-TRvYHU-P.js} +90 -90
  2. package/dist/{OrbitControls-Cp92obD3.js → OrbitControls-VBMoespz.js} +1 -1
  3. package/dist/{URDFLoader-Crgute7w.js → URDFLoader-D4fFIL5J.js} +211 -211
  4. package/dist/{animationData-CPLKUFPL.js → animationData-Cej84ziU.js} +3 -3
  5. package/dist/{array-Dlk4haRY.js → array-B_z2k3hR.js} +4 -4
  6. package/dist/{clone-uDiz-hNZ.js → clone-ez7vwxnP.js} +1 -1
  7. package/dist/{eleIcon-B_axj8bR.js → eleIcon-C7Pz9jha.js} +3 -3
  8. package/dist/{iconfont-CFKrnQEL.js → iconfont-B1ddAL1T.js} +18 -18
  9. package/dist/{index-BRUinwTd.js → index-7BHtK8gK.js} +3930 -3930
  10. package/dist/{index-PhSZw0Y_.js → index-B-SRrjLA.js} +5 -5
  11. package/dist/{index-DnXVYmdD.js → index-B3osj0rP.js} +3 -3
  12. package/dist/{index-C6fPMPkd.js → index-BHkxPaDf.js} +2 -2
  13. package/dist/{index-D7SgAs33.js → index-B_7p25Hy.js} +66 -66
  14. package/dist/{index-ByHN5sXT.js → index-BbZPMT8E.js} +1 -1
  15. package/dist/{index-kDiTOzGS.js → index-BscI3lbU.js} +2 -2
  16. package/dist/{index-B1FZZIu7.js → index-CQD9tf3F.js} +2 -2
  17. package/dist/{index-i4mEZe21.js → index-CQy21X4f.js} +5 -5
  18. package/dist/{index-D_GnOffO.js → index-CWltMeB9.js} +2 -2
  19. package/dist/{index-BOChBkFa.js → index-CcUPpTjO.js} +4 -4
  20. package/dist/index-Chp2uU0i.js +61480 -0
  21. package/dist/{index-BQrB2FPQ.js → index-CocPelja.js} +1 -1
  22. package/dist/{index-BXv5S9_0.js → index-CqUR7JfB.js} +2 -2
  23. package/dist/{index-gI03EEIe.js → index-CxQ9jYKa.js} +18 -18
  24. package/dist/{index-BS_Hb1O8.js → index-D3gtcYfZ.js} +31 -31
  25. package/dist/{index-B0aAfT6h.js → index-D4G1p05T.js} +4 -4
  26. package/dist/{index-BE4qZiGa.js → index-DZ7kNxX8.js} +53 -52
  27. package/dist/{index-B1V-Rgv8.js → index-DcKubMBL.js} +4 -4
  28. package/dist/{index-CI9OKNjn.js → index-DjyhQBTs.js} +2 -2
  29. package/dist/{index-DNQtcpvR.js → index-DkYe5V3O.js} +3 -3
  30. package/dist/{index-DHAhIKmQ.js → index-DlQXFCw8.js} +2 -2
  31. package/dist/{index-CCcJa9gc.js → index-DqXvOyIs.js} +2192 -2259
  32. package/dist/{index-Csby6Vj4.js → index-Ds-fktuI.js} +2 -2
  33. package/dist/{index-JmNdbR6O.js → index-Fy4MrrOF.js} +2 -2
  34. package/dist/{index-9z3gGGkS.js → index-RLUSh93k.js} +4 -4
  35. package/dist/{index-BmZwVwZC.js → index-XvX6TMzr.js} +1 -1
  36. package/dist/{index-DUq4XELr.js → index-YvUJL9Us.js} +1 -1
  37. package/dist/{index-BiXoSo97.js → index-chfWxAcP.js} +6 -6
  38. package/dist/{index-CrwqA_VO.js → index-j38hv0OL.js} +10 -10
  39. package/dist/{index-B3tEvDy6.js → index-kw9ayKLA.js} +1 -1
  40. package/dist/{index-Bb6FygJ4.js → index-w0lVCH-i.js} +8 -8
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BJ-_pgMX.js} +10280 -10439
  42. package/dist/{isString-ChmgnNIb.js → isString-BlNsHiyU.js} +3 -3
  43. package/dist/{main-B85ZuM_V.js → main-D-2PvDSw.js} +4 -4
  44. package/dist/{menuIndex-MRzQpSlP.js → menuIndex-VozC7XXB.js} +1 -1
  45. package/dist/{request-XJsZ4h2T.js → request-B1c8BUkR.js} +3737 -2917
  46. package/dist/ss-component.css +2 -2
  47. package/dist/ss-component.js +12 -12
  48. package/dist/ss-component2.js +13 -13
  49. package/dist/{threeModel-nnpkV7at.js → threeModel-DFy2u1yC.js} +5 -5
  50. package/dist/{threePreview-CWv8mRxK.js → threePreview-CVANWVg9.js} +48 -48
  51. package/dist/{threeSceneView-Dubxjm8P.js → threeSceneView-DKcAHNwy.js} +67 -67
  52. package/dist/{threeSceneViewForCPMPIP-RYg-LYPE.js → threeSceneViewForCPMPIP-D0DdEPnl.js} +9 -9
  53. package/dist/{threeTrackPathView-DAq7Etua.js → threeTrackPathView-BTv-al-p.js} +57 -57
  54. package/dist/{threeViewerHost-Cb4ykYa0.js → threeViewerHost-CZwcyo9b.js} +6 -6
  55. package/dist/{urdfTree-ZuA4DfFJ.js → urdfTree-Bku9Tduu.js} +1 -1
  56. package/dist/{workpieceTreePanel-cg0p_DH6.js → workpieceTreePanel-C5xMSEYU.js} +35 -35
  57. package/package.json +2 -1
  58. package/dist/index-By7enXb2.js +0 -25218
@@ -1,6 +1,6 @@
1
- import { d as K, y as C, e as x } from "./index-DNQtcpvR.js";
2
- import { r as N, b1 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js";
3
- import { c as O } from "./index-CCcJa9gc.js";
1
+ import { d as K, y as C, e as x } from "./index-DkYe5V3O.js";
2
+ import { r as N, b6 as S } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BJ-_pgMX.js";
3
+ import { c as O } from "./index-DqXvOyIs.js";
4
4
  const g = async (n) => {
5
5
  const e = n.join("/"), c = sessionStorage.getItem("systemKey");
6
6
  return await K(e, c, "");
@@ -1,11 +1,11 @@
1
1
  import { ref as k, computed as ae, resolveComponent as te, createElementBlock as H, openBlock as p, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, createCommentVNode as q, normalizeStyle as ta, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
2
- import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-By7enXb2.js";
3
- import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-CCcJa9gc.js";
2
+ import { V as Ie, g as aa, E as oa, G as sa, H as Je, c as ra } from "./index-Chp2uU0i.js";
3
+ import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DqXvOyIs.js";
4
4
  import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import ca from "./index-rlStojTL.js";
6
- import { d as ia, c as da } from "./index-BRUinwTd.js";
6
+ import { d as ia, c as da } from "./index-7BHtK8gK.js";
7
7
  import { s as va } from "./index-11kpzK0A.js";
8
- import { E as pa } from "./request-XJsZ4h2T.js";
8
+ import { E as pa } from "./request-B1c8BUkR.js";
9
9
  const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
10
10
  __name: "index",
11
11
  props: {
@@ -1,4 +1,4 @@
1
- import { I as r } from "./index-CCcJa9gc.js";
1
+ import { $ as r } from "./index-DqXvOyIs.js";
2
2
  var e = 4;
3
3
  function a(o) {
4
4
  return r(o, e);
@@ -1,5 +1,5 @@
1
1
  import { computed as s, resolveComponent as a, createElementBlock as p, openBlock as e, createVNode as i, normalizeProps as l, guardReactiveProps as m, withCtx as _, createBlock as d, resolveDynamicComponent as u } from "vue";
2
- import { I as f, aA as v } from "./request-XJsZ4h2T.js";
2
+ import { I as f, bL as v } from "./request-B1c8BUkR.js";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const C = { class: "icon-selector-warp-item" }, h = {
5
5
  __name: "eleIcon",
@@ -23,7 +23,7 @@ const C = { class: "icon-selector-warp-item" }, h = {
23
23
  ]);
24
24
  };
25
25
  }
26
- }, q = /* @__PURE__ */ I(h, [["__scopeId", "data-v-6dd0bfd5"]]);
26
+ }, g = /* @__PURE__ */ I(h, [["__scopeId", "data-v-6dd0bfd5"]]);
27
27
  export {
28
- q as default
28
+ g as default
29
29
  };
@@ -1,9 +1,9 @@
1
1
  import { shallowRef as i2, ref as T, defineComponent as c2, computed as Z, createElementBlock as o2, openBlock as n2, createElementVNode as B } from "vue";
2
- import { V as r, ao as h2, E as q, B as k, h as S, aq as s2, G as p2, e as Y, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bd as u2, X as F2, i as g2, D as J, H as y2, j as l2, aW as w2, k as B2, l as b2, m as K } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BIGp57QB.js";
3
- import { O as H2 } from "./OrbitControls-Cp92obD3.js";
2
+ import { V as r, at as h2, E as Y, B as k, h as S, av as s2, G as p2, e as j, f as r2, S as d2, C as v2, P as z2, W as f2, b as A2, A as m2, c as M2, M as t2, bi as u2, X as F2, i as g2, D as $, H as y2, j as l2, a$ as w2, k as B2, l as b2, m as J } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-BJ-_pgMX.js";
3
+ import { O as H2 } from "./OrbitControls-VBMoespz.js";
4
4
  import { _ as V2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const n1 = (i, a = "YZX") => {
6
- const t = new r(), o = new h2(), h = new r(), p = new q();
6
+ const t = new r(), o = new h2(), h = new r(), p = new Y();
7
7
  i.getWorldPosition(t), i.getWorldQuaternion(o), i.getWorldScale(h), p.setFromQuaternion(o, a);
8
8
  const m = {
9
9
  x: i.rotation.x * 180 / Math.PI,
@@ -83,7 +83,7 @@ function r1(i) {
83
83
  const y = i2([]), u = T(new r()), c = T(new r()), s = T(!1), d = T(!1), F = () => {
84
84
  if (!i.value) return;
85
85
  const l = i.value;
86
- a = x(), t = D(l), o = b(l), h = H(t, o), f = C(), p = _(l, h), m = W(), u.value.copy(t.position), c.value.copy(h.target), Q(100, new r(0, 0, 0)), $();
86
+ a = x(), t = D(l), o = b(l), h = H(t, o), f = C(), p = _(l, h), m = W(), u.value.copy(t.position), c.value.copy(h.target), Q(100, new r(0, 0, 0)), K();
87
87
  }, x = () => {
88
88
  const l = new d2();
89
89
  return l.background = new v2(15790320), l;
@@ -126,11 +126,11 @@ function r1(i) {
126
126
  if (!a) return [];
127
127
  const l = new g2(4210752, 0.6);
128
128
  a.add(l);
129
- const e = new J(16777215, 2);
129
+ const e = new $(16777215, 2);
130
130
  e.position.set(10, 10, 8), e.castShadow = !0, e.shadow.mapSize.width = 4096, e.shadow.mapSize.height = 4096, e.shadow.camera.near = 0.5, e.shadow.camera.far = 50, e.shadow.camera.left = -50, e.shadow.camera.right = 50, e.shadow.camera.top = 50, e.shadow.camera.bottom = -50, a.add(e);
131
- const v = new J(16777215, 0.8);
131
+ const v = new $(16777215, 0.8);
132
132
  v.position.set(-8, -8, 6), a.add(v);
133
- const w = new J(16777215, 0.6);
133
+ const w = new $(16777215, 0.6);
134
134
  w.position.set(0, -15, 2), a.add(w);
135
135
  const V = new y2(16777215, 4473924, 0.8);
136
136
  a.add(V);
@@ -138,7 +138,7 @@ function r1(i) {
138
138
  I.position.set(15, 15, 15), a.add(I);
139
139
  const E = new l2(16777215, 0.5, 50);
140
140
  return E.position.set(-15, -15, 15), a.add(E), [l, e, v, w, V, I, E];
141
- }, j = () => {
141
+ }, q = () => {
142
142
  m == null || m.forEach((l) => {
143
143
  var e;
144
144
  (e = l.shadow) != null && e.map && (l.shadow.map.dispose(), l.shadow.map = null);
@@ -148,7 +148,7 @@ function r1(i) {
148
148
  A && (a.remove(A), A.dispose()), z && (a.remove(z), z.geometry.dispose(), z.material.dispose());
149
149
  const v = Math.min(Math.max(Math.floor(l / 10), 20), 100);
150
150
  A = new p2(l, v, 13421772, 14540253), A.rotateX(Math.PI / 2), A.position.copy(e), A.visible = s.value, a.add(A);
151
- const w = new Y(l, l), V = new r2({ opacity: 0.3, color: 0 });
151
+ const w = new j(l, l), V = new r2({ opacity: 0.3, color: 0 });
152
152
  z = new S(w, V), z.position.copy(e), z.position.z -= 0.01, z.receiveShadow = !0, a.add(z);
153
153
  }, O = () => {
154
154
  if (y.value.length === 0) {
@@ -164,8 +164,8 @@ function r1(i) {
164
164
  }
165
165
  const e = l.getSize(new r()), v = l.getCenter(new r()), w = Math.max(e.x, e.y), V = Math.max(w * 2, 50), I = new r(v.x, v.y, l.min.z);
166
166
  Q(V, I);
167
- }, $ = () => {
168
- n = requestAnimationFrame($);
167
+ }, K = () => {
168
+ n = requestAnimationFrame(K);
169
169
  const l = performance.now(), e = l - L;
170
170
  e < M || (L = l - e % M, h == null || h.update(), o && a && t && o.render(a, t), p == null || p.render());
171
171
  }, a2 = (l) => {
@@ -215,7 +215,7 @@ function r1(i) {
215
215
  gizmo: p
216
216
  }),
217
217
  cleanup: () => {
218
- n && cancelAnimationFrame(n), N(), z && E2(z), A == null || A.dispose(), f == null || f.dispose(), h == null || h.dispose(), o == null || o.dispose(), p == null || p.dispose(), j(), a == null || a.clear();
218
+ n && cancelAnimationFrame(n), N(), z && E2(z), A == null || A.dispose(), f == null || f.dispose(), h == null || h.dispose(), o == null || o.dispose(), p == null || p.dispose(), q(), a == null || a.clear();
219
219
  },
220
220
  setModels: (l) => {
221
221
  a && (N(), l.forEach((e) => {
@@ -311,8 +311,8 @@ function d1(i, a) {
311
311
  const x = new r(n.x + A * 1.2, n.y, n.z);
312
312
  s.enabled = !1;
313
313
  const D = c.position.clone(), b = 1e3, H = Date.now(), C = () => {
314
- const _ = Date.now() - H, W = Math.min(_ / b, 1), j = f(W);
315
- c.position.lerpVectors(D, x, j), c.lookAt(n), s.target.copy(n), W < 1 ? requestAnimationFrame(C) : (t.value = !0, o = null, M());
314
+ const _ = Date.now() - H, W = Math.min(_ / b, 1), q = f(W);
315
+ c.position.lerpVectors(D, x, q), c.lookAt(n), s.target.copy(n), W < 1 ? requestAnimationFrame(C) : (t.value = !0, o = null, M());
316
316
  };
317
317
  C();
318
318
  }, y = () => {
@@ -351,11 +351,11 @@ function v1(i, a) {
351
351
  let h = [], p = [], m = new k(), n = new r();
352
352
  const A = () => {
353
353
  h = [
354
- new K(new r(1, 0, 0), 0),
354
+ new J(new r(1, 0, 0), 0),
355
355
  // X轴平面
356
- new K(new r(0, 1, 0), 0),
356
+ new J(new r(0, 1, 0), 0),
357
357
  // Y轴平面
358
- new K(new r(0, 0, 1), 0)
358
+ new J(new r(0, 0, 1), 0)
359
359
  // Z轴平面
360
360
  ];
361
361
  }, z = () => {
@@ -365,7 +365,7 @@ function v1(i, a) {
365
365
  }, f = (u) => {
366
366
  const c = m.getSize(new r());
367
367
  let s, d, F;
368
- u === P.X ? (s = new Y(c.z * 1.2, c.y * 1.2), d = new r(n.x, n.y, n.z), F = new q(0, Math.PI / 2, 0)) : u === P.Y ? (s = new Y(c.x * 1.2, c.z * 1.2), d = new r(n.x, n.y, n.z), F = new q(Math.PI / 2, 0, 0)) : u === P.Z && (s = new Y(c.x * 1.2, c.y * 1.2), d = new r(n.x, n.y, n.z), F = new q(0, 0, 0));
368
+ u === P.X ? (s = new j(c.z * 1.2, c.y * 1.2), d = new r(n.x, n.y, n.z), F = new Y(0, Math.PI / 2, 0)) : u === P.Y ? (s = new j(c.x * 1.2, c.z * 1.2), d = new r(n.x, n.y, n.z), F = new Y(Math.PI / 2, 0, 0)) : u === P.Z && (s = new j(c.x * 1.2, c.y * 1.2), d = new r(n.x, n.y, n.z), F = new Y(0, 0, 0));
369
369
  const x = new B2({
370
370
  color: 8900331,
371
371
  transparent: !0,