ss-component-new 1.3.682 → 1.3.683

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 (72) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/{MTLLoader-qT5QxtXm.js → MTLLoader-DPHzTMwa.js} +28 -28
  3. package/dist/{URDFLoader-D3eMTiZb.js → URDFLoader-M-UG5-pR.js} +606 -611
  4. package/dist/{animationData-DBAbHIow.js → animationData-DRuHGkTO.js} +3 -3
  5. package/dist/{array-jRfpOka6.js → array-DjjQ0-_X.js} +14 -13
  6. package/dist/{clone-epSiajPW.js → clone-nUXh221j.js} +1 -1
  7. package/dist/{eleIcon-BWVKfp5t.js → eleIcon-DlIcb4df.js} +2 -2
  8. package/dist/{iconfont-DsSG_70z.js → iconfont-BhJBoU2I.js} +91 -91
  9. package/dist/icons/svg/method.svg +1 -0
  10. package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
  11. package/dist/{index-3va3ENB8.js → index-8KwwXnRD.js} +3 -3
  12. package/dist/{index-Bmk-CXy5.js → index-B6x7nsvL.js} +5 -5
  13. package/dist/index-BBzJ8BLa.js +572 -0
  14. package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
  15. package/dist/{index-Bto8e0_l.js → index-BLFiId9N.js} +5 -5
  16. package/dist/{index-FNOjQQWl.js → index-BNDaeOZD.js} +43 -40
  17. package/dist/{index-CN6F4ryE.js → index-Ba8phnvt.js} +23 -23
  18. package/dist/{index-Bd9AU0ks.js → index-CBL2Pg06.js} +5 -5
  19. package/dist/index-CBPXalBI.js +15007 -0
  20. package/dist/{index-Bvvz41NY.js → index-CG1vGzHt.js} +1 -1
  21. package/dist/{index-C-Cstw1x.js → index-CIoBc8yl.js} +62 -60
  22. package/dist/{index-CfHObnEf.js → index-CJbdXJRV.js} +3 -3
  23. package/dist/{index-YVR3acYT.js → index-CJySKIdc.js} +1 -1
  24. package/dist/{index-CPRVBnQZ.js → index-CKB74hmA.js} +483 -482
  25. package/dist/{index-DVURXaLH.js → index-CM6CVZ_d.js} +13935 -20059
  26. package/dist/{index-CNydoPVR.js → index-CYspf59Y.js} +8 -8
  27. package/dist/{index-CUJOuk-t.js → index-CccqT4-H.js} +6 -6
  28. package/dist/{index-BLAPVSLU.js → index-ChfKhYMO.js} +22242 -22256
  29. package/dist/{index-CH8pGxiX.js → index-Cl2tex39.js} +172 -163
  30. package/dist/{index-C5r4GvjQ.js → index-CnmXW-Bj.js} +42 -38
  31. package/dist/{index-CWCQy24b.js → index-Cpv5443J.js} +4 -4
  32. package/dist/{index-DT2KzAmL.js → index-CsqopIxB.js} +1077 -1076
  33. package/dist/{index-CmRnsU1X.js → index-CzgY9rV-.js} +61 -57
  34. package/dist/{index-Lc7md2MS.js → index-DTjEPXdC.js} +76 -70
  35. package/dist/{index-BpGFvMaU.js → index-DewO44mx.js} +2 -2
  36. package/dist/{index-kmuFWiAq.js → index-DkFpug1v.js} +20 -18
  37. package/dist/{index-D_kI6aHR.js → index-DlFmNKos.js} +8 -7
  38. package/dist/{index-SjNcMhxZ.js → index-Dx-bFdbp.js} +8 -8
  39. package/dist/{index-D1o4d6gh.js → index-DyOGhRxL.js} +4 -4
  40. package/dist/{index-B4vESlof.js → index-QdkaQuAk.js} +2 -2
  41. package/dist/{index-XGieOXX9.js → index-R2i3Xnfq.js} +4 -4
  42. package/dist/{index-BLnbN_F-.js → index-gFBsqsq6.js} +3 -3
  43. package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
  44. package/dist/{index--PjD6UIW.js → index-zdWtzZvH.js} +7 -7
  45. package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
  46. package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js} +56038 -49940
  47. package/dist/isString-h0UV2hrP.js +8 -0
  48. package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
  49. package/dist/{main-Bgh_Vl8E.js → main-C7zjHnDD.js} +9 -9
  50. package/dist/{menuIndex-B7ZUahFp.js → menuIndex-BE8WKQ_M.js} +1 -1
  51. package/dist/obj/model.mtl +42 -0
  52. package/dist/obj/model.obj +26110 -0
  53. package/dist/{request-DiogHwkN.js → request-DolpfyNJ.js} +3076 -3494
  54. package/dist/ss-component.css +3 -3
  55. package/dist/ss-component.js +14 -14
  56. package/dist/ss-component2.js +13 -13
  57. package/dist/ss-component3.js +1 -1
  58. package/dist/{threeModel-DF67wAtc.js → threeModel-DiiHNAHL.js} +174 -174
  59. package/dist/{threePreview-CQQPm2oj.js → threePreview-Bu2Spume.js} +12 -12
  60. package/dist/{threeSceneView-MukJjphg.js → threeSceneView-DxeVIhrp.js} +50 -49
  61. package/dist/{threeSceneViewForCPMPIP-Cmw3lxMx.js → threeSceneViewForCPMPIP-DPYmtlbM.js} +17 -16
  62. package/dist/{threeTrackPathView-d9QnH6pv.js → threeTrackPathView-fb0Ye-HT.js} +114 -114
  63. package/dist/{threeViewerHost-CxKP0BGS.js → threeViewerHost-DHRT4ihY.js} +36 -36
  64. package/dist/{urdfTree-BMwSzHf8.js → urdfTree-CFaALNOQ.js} +9 -9
  65. package/dist/{workpieceTreePanel-DTFfwsXF.js → workpieceTreePanel-BxNqg9o9.js} +60 -56
  66. package/package.json +4 -2
  67. package/public/icons/svg/method.svg +1 -0
  68. package/public/obj/model.mtl +42 -0
  69. package/public/obj/model.obj +26110 -0
  70. package/dist/index-B-oUd2b-.js +0 -2623
  71. package/dist/index-BkChdIqr.js +0 -11779
  72. package/dist/isString-CoCw_sp3.js +0 -8
@@ -1,4 +1,4 @@
1
- import { R as Z, U as Y, u as D, C as P, c as S, a1 as H, V as O, Y as k, s as ie, a2 as N, aI as X, _ as T, k as ne, aM as $, $ as W, h as K, an as ae, a4 as oe, aF as le, aZ as q, ap as Q, b9 as ce, aw as he } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
1
+ import { Y as Z, Z as Y, w as D, C as P, e as S, a3 as H, V as O, _ as A, u as ie, a4 as N, aL as X, a0 as B, l as ne, aP as K, a1 as W, i as Q, aq as ae, a6 as oe, aI as le, b0 as q, as as $, bc as ce, az as he } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js";
2
2
  class xe extends Z {
3
3
  /**
4
4
  * Constructs a new STL loader.
@@ -53,41 +53,41 @@ class xe extends Z {
53
53
  let u, d, m, p = !1, g, b, x, C, v;
54
54
  for (let y = 0; y < 70; y++)
55
55
  a.getUint32(y, !1) == 1129270351 && a.getUint8(y + 4) == 82 && a.getUint8(y + 5) == 61 && (p = !0, g = new Float32Array(o * 3 * 3), b = a.getUint8(y + 6) / 255, x = a.getUint8(y + 7) / 255, C = a.getUint8(y + 8) / 255, v = a.getUint8(y + 9) / 255);
56
- const j = 84, f = 50, w = new D(), _ = new Float32Array(o * 3 * 3), V = new Float32Array(o * 3 * 3), A = new P();
56
+ const j = 84, f = 12 * 4 + 2, w = new D(), M = new Float32Array(o * 3 * 3), V = new Float32Array(o * 3 * 3), k = new P();
57
57
  for (let y = 0; y < o; y++) {
58
- const U = j + y * f, E = a.getFloat32(U, !0), z = a.getFloat32(U + 4, !0), R = a.getFloat32(U + 8, !0);
58
+ const U = j + y * f, E = a.getFloat32(U, !0), z = a.getFloat32(U + 4, !0), T = a.getFloat32(U + 8, !0);
59
59
  if (p) {
60
60
  const F = a.getUint16(U + 48, !0);
61
61
  (F & 32768) === 0 ? (u = (F & 31) / 31, d = (F >> 5 & 31) / 31, m = (F >> 10 & 31) / 31) : (u = b, d = x, m = C);
62
62
  }
63
63
  for (let F = 1; F <= 3; F++) {
64
- const G = U + F * 12, M = y * 3 * 3 + (F - 1) * 3;
65
- _[M] = a.getFloat32(G, !0), _[M + 1] = a.getFloat32(G + 4, !0), _[M + 2] = a.getFloat32(G + 8, !0), V[M] = E, V[M + 1] = z, V[M + 2] = R, p && (A.setRGB(u, d, m, S), g[M] = A.r, g[M + 1] = A.g, g[M + 2] = A.b);
64
+ const G = U + F * 12, _ = y * 3 * 3 + (F - 1) * 3;
65
+ M[_] = a.getFloat32(G, !0), M[_ + 1] = a.getFloat32(G + 4, !0), M[_ + 2] = a.getFloat32(G + 8, !0), V[_] = E, V[_ + 1] = z, V[_ + 2] = T, p && (k.setRGB(u, d, m, S), g[_] = k.r, g[_ + 1] = k.g, g[_ + 2] = k.b);
66
66
  }
67
67
  }
68
- return w.setAttribute("position", new H(_, 3)), w.setAttribute("normal", new H(V, 3)), p && (w.setAttribute("color", new H(g, 3)), w.hasColors = !0, w.alpha = v), w;
68
+ return w.setAttribute("position", new H(M, 3)), w.setAttribute("normal", new H(V, 3)), p && (w.setAttribute("color", new H(g, 3)), w.hasColors = !0, w.alpha = v), w;
69
69
  }
70
70
  function r(n) {
71
71
  const a = new D(), o = /solid([\s\S]*?)endsolid/g, u = /facet([\s\S]*?)endfacet/g, d = /solid\s(.+)/;
72
72
  let m = 0;
73
73
  const p = /[\s]+([+-]?(?:\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?)/.source, g = new RegExp("vertex" + p + p + p, "g"), b = new RegExp("normal" + p + p + p, "g"), x = [], C = [], v = [], j = new O();
74
- let f, w = 0, _ = 0, V = 0;
74
+ let f, w = 0, M = 0, V = 0;
75
75
  for (; (f = o.exec(n)) !== null; ) {
76
- _ = V;
77
- const A = f[0], y = (f = d.exec(A)) !== null ? f[1] : "";
78
- for (v.push(y); (f = u.exec(A)) !== null; ) {
79
- let z = 0, R = 0;
76
+ M = V;
77
+ const k = f[0], y = (f = d.exec(k)) !== null ? f[1] : "";
78
+ for (v.push(y); (f = u.exec(k)) !== null; ) {
79
+ let z = 0, T = 0;
80
80
  const F = f[0];
81
81
  for (; (f = b.exec(F)) !== null; )
82
- j.x = parseFloat(f[1]), j.y = parseFloat(f[2]), j.z = parseFloat(f[3]), R++;
82
+ j.x = parseFloat(f[1]), j.y = parseFloat(f[2]), j.z = parseFloat(f[3]), T++;
83
83
  for (; (f = g.exec(F)) !== null; )
84
84
  x.push(parseFloat(f[1]), parseFloat(f[2]), parseFloat(f[3])), C.push(j.x, j.y, j.z), z++, V++;
85
- R !== 1 && console.error("THREE.STLLoader: Something isn't right with the normal of face number " + m), z !== 3 && console.error("THREE.STLLoader: Something isn't right with the vertices of face number " + m), m++;
85
+ T !== 1 && console.error("THREE.STLLoader: Something isn't right with the normal of face number " + m), z !== 3 && console.error("THREE.STLLoader: Something isn't right with the vertices of face number " + m), m++;
86
86
  }
87
- const U = _, E = V - _;
87
+ const U = M, E = V - M;
88
88
  a.userData.groupNames = v, a.addGroup(U, E, w), w++;
89
89
  }
90
- return a.setAttribute("position", new k(x, 3)), a.setAttribute("normal", new k(C, 3)), a;
90
+ return a.setAttribute("position", new A(x, 3)), a.setAttribute("normal", new A(C, 3)), a;
91
91
  }
92
92
  function c(n) {
93
93
  return typeof n != "string" ? new TextDecoder().decode(n) : n;
@@ -105,7 +105,7 @@ class xe extends Z {
105
105
  return s(l) ? e(l) : r(c(t));
106
106
  }
107
107
  }
108
- const ue = /^[og]\s*(.+)?/, pe = /^mtllib /, fe = /^usemtl /, de = /^usemap /, ee = /\s+/, te = new O(), J = new O(), se = new O(), re = new O(), L = new O(), B = new P();
108
+ const ue = /^[og]\s*(.+)?/, pe = /^mtllib /, fe = /^usemtl /, de = /^usemap /, ee = /\s+/, te = new O(), J = new O(), se = new O(), re = new O(), L = new O(), R = new P();
109
109
  function me() {
110
110
  const I = {
111
111
  objects: [],
@@ -331,12 +331,12 @@ class we extends Z {
331
331
  parseFloat(o[1]),
332
332
  parseFloat(o[2]),
333
333
  parseFloat(o[3])
334
- ), o.length >= 7 ? (B.setRGB(
334
+ ), o.length >= 7 ? (R.setRGB(
335
335
  parseFloat(o[4]),
336
336
  parseFloat(o[5]),
337
337
  parseFloat(o[6]),
338
338
  S
339
- ), s.colors.push(B.r, B.g, B.b)) : s.colors.push(void 0, void 0, void 0);
339
+ ), s.colors.push(R.r, R.g, R.b)) : s.colors.push(void 0, void 0, void 0);
340
340
  break;
341
341
  case "vn":
342
342
  s.normals.push(
@@ -421,7 +421,7 @@ class we extends Z {
421
421
  let m = !1;
422
422
  if (a.vertices.length === 0) continue;
423
423
  const p = new D();
424
- p.setAttribute("position", new k(a.vertices, 3)), a.normals.length > 0 && p.setAttribute("normal", new k(a.normals, 3)), a.colors.length > 0 && (m = !0, p.setAttribute("color", new k(a.colors, 3))), a.hasUVIndices === !0 && p.setAttribute("uv", new k(a.uvs, 2));
424
+ p.setAttribute("position", new A(a.vertices, 3)), a.normals.length > 0 && p.setAttribute("normal", new A(a.normals, 3)), a.colors.length > 0 && (m = !0, p.setAttribute("color", new A(a.colors, 3))), a.hasUVIndices === !0 && p.setAttribute("uv", new A(a.uvs, 2));
425
425
  const g = [];
426
426
  for (let x = 0, C = o.length; x < C; x++) {
427
427
  const v = o[x], j = v.name + "_" + v.smooth + "_" + m;
@@ -430,12 +430,12 @@ class we extends Z {
430
430
  if (f = this.materials.create(v.name), u && f && !(f instanceof N)) {
431
431
  const w = new N();
432
432
  X.prototype.copy.call(w, f), w.color.copy(f.color), f = w;
433
- } else if (d && f && !(f instanceof T)) {
434
- const w = new T({ size: 10, sizeAttenuation: !1 });
433
+ } else if (d && f && !(f instanceof B)) {
434
+ const w = new B({ size: 10, sizeAttenuation: !1 });
435
435
  X.prototype.copy.call(w, f), w.color.copy(f.color), w.map = f.map, f = w;
436
436
  }
437
437
  }
438
- f === void 0 && (u ? f = new N() : d ? f = new T({ size: 1, sizeAttenuation: !1 }) : f = new ne(), f.name = v.name, f.flatShading = !v.smooth, f.vertexColors = m, s.materials[j] = f), g.push(f);
438
+ f === void 0 && (u ? f = new N() : d ? f = new B({ size: 1, sizeAttenuation: !1 }) : f = new ne(), f.name = v.name, f.flatShading = !v.smooth, f.vertexColors = m, s.materials[j] = f), g.push(f);
439
439
  }
440
440
  let b;
441
441
  if (g.length > 1) {
@@ -443,14 +443,14 @@ class we extends Z {
443
443
  const v = o[x];
444
444
  p.addGroup(v.groupStart, v.groupCount, x);
445
445
  }
446
- u ? b = new $(p, g) : d ? b = new W(p, g) : b = new K(p, g);
446
+ u ? b = new K(p, g) : d ? b = new W(p, g) : b = new Q(p, g);
447
447
  } else
448
- u ? b = new $(p, g[0]) : d ? b = new W(p, g[0]) : b = new K(p, g[0]);
448
+ u ? b = new K(p, g[0]) : d ? b = new W(p, g[0]) : b = new Q(p, g[0]);
449
449
  b.name = n.name, r.add(b);
450
450
  }
451
451
  else if (s.vertices.length > 0) {
452
- const h = new T({ size: 1, sizeAttenuation: !1 }), l = new D();
453
- l.setAttribute("position", new k(s.vertices, 3)), s.colors.length > 0 && s.colors[0] !== void 0 && (l.setAttribute("color", new k(s.colors, 3)), h.vertexColors = !0);
452
+ const h = new B({ size: 1, sizeAttenuation: !1 }), l = new D();
453
+ l.setAttribute("position", new A(s.vertices, 3)), s.colors.length > 0 && s.colors[0] !== void 0 && (l.setAttribute("color", new A(s.colors, 3)), h.vertexColors = !0);
454
454
  const n = new W(l, h);
455
455
  r.add(n);
456
456
  }
@@ -636,8 +636,8 @@ class ge {
636
636
  }
637
637
  getTextureParams(t, s) {
638
638
  const i = {
639
- scale: new Q(1, 1),
640
- offset: new Q(0, 0)
639
+ scale: new $(1, 1),
640
+ offset: new $(0, 0)
641
641
  }, e = t.split(/\s+/);
642
642
  let r;
643
643
  return r = e.indexOf("-bm"), r >= 0 && (s.bumpScale = parseFloat(e[r + 1]), e.splice(r, 2)), r = e.indexOf("-mm"), r >= 0 && (s.displacementBias = parseFloat(e[r + 1]), s.displacementScale = parseFloat(e[r + 2]), e.splice(r, 3)), r = e.indexOf("-s"), r >= 0 && (i.scale.set(parseFloat(e[r + 1]), parseFloat(e[r + 2])), e.splice(r, 4)), r = e.indexOf("-o"), r >= 0 && (i.offset.set(parseFloat(e[r + 1]), parseFloat(e[r + 2])), e.splice(r, 4)), i.url = e.join(" ").trim(), i;