ss-component-new 1.3.87 → 1.3.89

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 (75) hide show
  1. package/dist/{MTLLoader-ChI4NiZB.js → MTLLoader-5aYqAfLG.js} +30 -30
  2. package/dist/{OrbitControls-BnfaX1k5.js → OrbitControls-BWniWWdf.js} +1 -1
  3. package/dist/{URDFLoader-B0FNlAW8.js → URDFLoader-uMMrOt92.js} +2 -2
  4. package/dist/{animationData--zs1f5np.js → animationData-BT6f8nVY.js} +19 -19
  5. package/dist/{array-Bs-6870l.js → array-CfrVN6_E.js} +82 -82
  6. package/dist/{array-Ced9pMrQ.cjs → array-CkO8OPEA.cjs} +1 -1
  7. package/dist/{iconfont-tacFUTmM.js → iconfont-CsMEwX5A.js} +11 -11
  8. package/dist/{index-DSDKlhCs.js → index-0nkGge2c.js} +64 -63
  9. package/dist/{index-Bhyp2SkG.js → index-9aR8mfum.js} +4 -4
  10. package/dist/{index-D7m0ziFZ.js → index-BBT7N86Q.js} +3 -3
  11. package/dist/{index-DRqdKWWn.cjs → index-BBYR5lzI.cjs} +1 -1
  12. package/dist/{index-BKpeH8ey.cjs → index-BO2lbPMg.cjs} +1 -1
  13. package/dist/{index-DmUN54MI.js → index-BZTuCstk.js} +2 -2
  14. package/dist/{index-eUarqg8J.cjs → index-B_CiATSb.cjs} +1 -1
  15. package/dist/{index-DogJGFRQ.js → index-BimDQ86v.js} +4 -4
  16. package/dist/index-Bm7JFQsK.js +8154 -0
  17. package/dist/{index-D-Zf3svy.cjs → index-BtWY9F7D.cjs} +1 -1
  18. package/dist/{index-B8e_dyRH.cjs → index-Bv7JJSG2.cjs} +1 -1
  19. package/dist/{index-B4Y1KRta.cjs → index-BxoUVTjQ.cjs} +1 -1
  20. package/dist/{index-BGIa0ESz.cjs → index-C985H_SM.cjs} +1 -1
  21. package/dist/{index-jpNu8I8i.cjs → index-C9FFp4le.cjs} +1 -1
  22. package/dist/{index-CturWq6n.cjs → index-CCqw4Rb7.cjs} +1 -1
  23. package/dist/index-CEbBdjF7.cjs +19 -0
  24. package/dist/{index-B_dJxxT7.js → index-CKjgiqeP.js} +1 -1
  25. package/dist/{index-D3GUUZCX.js → index-CL0xRFbq.js} +1 -1
  26. package/dist/{index-DpvayxFD.js → index-C_imlhKL.js} +2 -2
  27. package/dist/{index-DR7zsFpW.js → index-CpIeduje.js} +1 -1
  28. package/dist/{index-D_7sbGF5.cjs → index-Cv1QEz5N.cjs} +1 -1
  29. package/dist/{index-Bndx2X3l.js → index-Cv9uZIrw.js} +1 -1
  30. package/dist/{index-_qdlM8J4.cjs → index-CzHnz985.cjs} +1 -1
  31. package/dist/{index-ByycOE6v.js → index-DAmSqGo_.js} +4 -4
  32. package/dist/{index-D_B36Ha4.js → index-DBXMV1Jb.js} +1 -1
  33. package/dist/{index-BQXzxD36.js → index-DWk25L9Z.js} +1 -1
  34. package/dist/{index-CL0j11zI.js → index-Db5HPAdb.js} +1 -1
  35. package/dist/{index-Dik--Poa.js → index-Ddx54Ud8.js} +1 -1
  36. package/dist/{index-CzObMPeS.js → index-DfHMWAYI.js} +1 -1
  37. package/dist/index-DfPIMBgc.cjs +1 -0
  38. package/dist/{index-6asNRJEc.cjs → index-DiYX1ynp.cjs} +1 -1
  39. package/dist/{index-BBiTNeNx.js → index-DkUZVDJ3.js} +2 -2
  40. package/dist/{index-B9Et__lP.js → index-DndA1jvn.js} +1 -1
  41. package/dist/{index-DKMHQabJ.js → index-DrZ8Ja0_.js} +3 -3
  42. package/dist/index-Erx37iRN.cjs +1 -0
  43. package/dist/{index-BVXyhNsG.cjs → index-H4vOXWYS.cjs} +1 -1
  44. package/dist/{index-Ch5c7ZA_.js → index-XnIHHYMf.js} +1 -1
  45. package/dist/{index-BHv1yen5.cjs → index-nfBRZn2U.cjs} +1 -1
  46. package/dist/index-rpiTmxbu.js +12141 -0
  47. package/dist/{index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-D6XTT1R_.js → index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-Blxfq3tC.js} +67 -67
  48. package/dist/{index.vue_vue_type_style_index_1_lang-P-WDhj-v.js → index.vue_vue_type_style_index_1_lang-CCygTfay.js} +1495 -637
  49. package/dist/index.vue_vue_type_style_index_1_lang-CYwT1TG5.cjs +13 -0
  50. package/dist/{main-SPQoS4iN.js → main-Cb1S7aFz.js} +3 -3
  51. package/dist/{main-BQ9BLtwN.cjs → main-gHpz_T5u.cjs} +1 -1
  52. package/dist/ss-component.cjs +1 -1
  53. package/dist/ss-component.css +1 -1
  54. package/dist/ss-component.js +8 -8
  55. package/dist/ss-component2.cjs +1 -1
  56. package/dist/ss-component2.js +11 -11
  57. package/dist/{threeModel-sV03tOYk.js → threeModel-B_OqM0Eu.js} +4 -4
  58. package/dist/{threeModel-fENfCpOQ.cjs → threeModel-Dd9mEvsn.cjs} +1 -1
  59. package/dist/{threePreview-BO43_Gom.js → threePreview-BqCIIKeW.js} +64 -64
  60. package/dist/{threeSceneView-B_OmmamL.js → threeSceneView-Bl02t8ha.js} +36 -36
  61. package/dist/{threeSceneView-C3UOXUkG.cjs → threeSceneView-_tDkCQsi.cjs} +1 -1
  62. package/dist/{threeSceneViewForCPMPIP-BWvgtaH8.js → threeSceneViewForCPMPIP-DOCy6ZTw.js} +7 -7
  63. package/dist/{threeSceneViewForCPMPIP-vWzDNwtP.cjs → threeSceneViewForCPMPIP-Di63EEnt.cjs} +1 -1
  64. package/dist/{threeTrackPathView-o1dGQ0tC.js → threeTrackPathView-Ch4fmWaU.js} +69 -69
  65. package/dist/{threeViewerHost-BUteaJ6A.js → threeViewerHost-B8u6Rn3Z.js} +23 -23
  66. package/dist/{threeViewerHost-DZUDnxSb.cjs → threeViewerHost-DtUdfK_H.cjs} +1 -1
  67. package/dist/{urdfTree-CtGWSWl_.js → urdfTree-BYUeOelj.js} +11 -11
  68. package/dist/{workpieceTreePanel-DoaEuOfn.js → workpieceTreePanel-B9MEr8sC.js} +43 -43
  69. package/package.json +1 -1
  70. package/dist/index-CIh5_4vA.js +0 -8175
  71. package/dist/index-CahFhYRI.js +0 -12993
  72. package/dist/index-DIbOambM.cjs +0 -19
  73. package/dist/index-DWvvtk2k.cjs +0 -1
  74. package/dist/index-qMTVThtn.cjs +0 -11
  75. package/dist/index.vue_vue_type_style_index_1_lang-Djdq8PA3.cjs +0 -3
@@ -1,4 +1,4 @@
1
- import { aM as Z, aN as Q, aB as D, M as P, Q as S, aT as H, V as O, aO as V, ay as ie, aU as N, bj as X, aQ as B, a2 as ne, bn as Y, aR as W, Z as K, a_ as ae, aW as oe, bg as le, bA as q, b0 as $, bM as ce, b7 as he } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-D6XTT1R_.js";
1
+ import { aM as Z, aN as K, aA as D, K as P, N as S, aT as H, V as O, aO as V, ax as ie, aU as N, bj as Q, aQ as R, a0 as ne, bn as X, aR as W, U as Y, a_ as ae, aW as oe, bg as le, bA as q, b0 as $, bM as ce, b7 as he } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-Blxfq3tC.js";
2
2
  class xe extends Z {
3
3
  /**
4
4
  * Constructs a new STL loader.
@@ -18,7 +18,7 @@ class xe extends Z {
18
18
  * @param {onErrorCallback} onError - Executed when errors occur.
19
19
  */
20
20
  load(t, s, i, e) {
21
- const r = this, c = new Q(this.manager);
21
+ const r = this, c = new K(this.manager);
22
22
  c.setPath(this.path), c.setResponseType("arraybuffer"), c.setRequestHeader(this.requestHeader), c.setWithCredentials(this.withCredentials), c.load(t, function(h) {
23
23
  try {
24
24
  s(r.parse(h));
@@ -50,30 +50,30 @@ class xe extends Z {
50
50
  }
51
51
  function e(n) {
52
52
  const a = new DataView(n), o = a.getUint32(80, !0);
53
- let u, d, m, p = !1, g, b, x, M, v;
53
+ let u, d, m, p = !1, g, b, x, C, v;
54
54
  for (let y = 0; y < 70; y++)
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, M = a.getUint8(y + 8) / 255, v = a.getUint8(y + 9) / 255);
56
- const j = 84, f = 12 * 4 + 2, w = new D(), _ = new Float32Array(o * 3 * 3), A = new Float32Array(o * 3 * 3), k = new P();
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 = 12 * 4 + 2, w = new D(), A = new Float32Array(o * 3 * 3), _ = new Float32Array(o * 3 * 3), k = new P();
57
57
  for (let y = 0; y < o; y++) {
58
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
- (F & 32768) === 0 ? (u = (F & 31) / 31, d = (F >> 5 & 31) / 31, m = (F >> 10 & 31) / 31) : (u = b, d = x, m = M);
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, C = y * 3 * 3 + (F - 1) * 3;
65
- _[C] = a.getFloat32(G, !0), _[C + 1] = a.getFloat32(G + 4, !0), _[C + 2] = a.getFloat32(G + 8, !0), A[C] = E, A[C + 1] = z, A[C + 2] = T, p && (k.setRGB(u, d, m, S), g[C] = k.r, g[C + 1] = k.g, g[C + 2] = k.b);
64
+ const G = U + F * 12, M = y * 3 * 3 + (F - 1) * 3;
65
+ A[M] = a.getFloat32(G, !0), A[M + 1] = a.getFloat32(G + 4, !0), A[M + 2] = a.getFloat32(G + 8, !0), _[M] = E, _[M + 1] = z, _[M + 2] = T, p && (k.setRGB(u, d, m, S), g[M] = k.r, g[M + 1] = k.g, g[M + 2] = k.b);
66
66
  }
67
67
  }
68
- return w.setAttribute("position", new H(_, 3)), w.setAttribute("normal", new H(A, 3)), p && (w.setAttribute("color", new H(g, 3)), w.hasColors = !0, w.alpha = v), w;
68
+ return w.setAttribute("position", new H(A, 3)), w.setAttribute("normal", new H(_, 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
- 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 = [], M = [], v = [], j = new O();
74
- let f, w = 0, _ = 0, A = 0;
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, A = 0, _ = 0;
75
75
  for (; (f = o.exec(n)) !== null; ) {
76
- _ = A;
76
+ A = _;
77
77
  const k = f[0], y = (f = d.exec(k)) !== null ? f[1] : "";
78
78
  for (v.push(y); (f = u.exec(k)) !== null; ) {
79
79
  let z = 0, T = 0;
@@ -81,13 +81,13 @@ class xe extends Z {
81
81
  for (; (f = b.exec(F)) !== null; )
82
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
- x.push(parseFloat(f[1]), parseFloat(f[2]), parseFloat(f[3])), M.push(j.x, j.y, j.z), z++, A++;
84
+ x.push(parseFloat(f[1]), parseFloat(f[2]), parseFloat(f[3])), C.push(j.x, j.y, j.z), z++, _++;
85
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 = A - _;
87
+ const U = A, E = _ - A;
88
88
  a.userData.groupNames = v, a.addGroup(U, E, w), w++;
89
89
  }
90
- return a.setAttribute("position", new V(x, 3)), a.setAttribute("normal", new V(M, 3)), a;
90
+ return a.setAttribute("position", new V(x, 3)), a.setAttribute("normal", new V(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(), R = 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(), B = new P();
109
109
  function me() {
110
110
  const I = {
111
111
  objects: [],
@@ -285,7 +285,7 @@ class we extends Z {
285
285
  * @param {onErrorCallback} onError - Executed when errors occur.
286
286
  */
287
287
  load(t, s, i, e) {
288
- const r = this, c = new Q(this.manager);
288
+ const r = this, c = new K(this.manager);
289
289
  c.setPath(this.path), c.setRequestHeader(this.requestHeader), c.setWithCredentials(this.withCredentials), c.load(t, function(h) {
290
290
  try {
291
291
  s(r.parse(h));
@@ -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 ? (R.setRGB(
334
+ ), o.length >= 7 ? (B.setRGB(
335
335
  parseFloat(o[4]),
336
336
  parseFloat(o[5]),
337
337
  parseFloat(o[6]),
338
338
  S
339
- ), s.colors.push(R.r, R.g, R.b)) : s.colors.push(void 0, void 0, void 0);
339
+ ), s.colors.push(B.r, B.g, B.b)) : s.colors.push(void 0, void 0, void 0);
340
340
  break;
341
341
  case "vn":
342
342
  s.normals.push(
@@ -423,33 +423,33 @@ class we extends Z {
423
423
  const p = new D();
424
424
  p.setAttribute("position", new V(a.vertices, 3)), a.normals.length > 0 && p.setAttribute("normal", new V(a.normals, 3)), a.colors.length > 0 && (m = !0, p.setAttribute("color", new V(a.colors, 3))), a.hasUVIndices === !0 && p.setAttribute("uv", new V(a.uvs, 2));
425
425
  const g = [];
426
- for (let x = 0, M = o.length; x < M; x++) {
426
+ for (let x = 0, C = o.length; x < C; x++) {
427
427
  const v = o[x], j = v.name + "_" + v.smooth + "_" + m;
428
428
  let f = s.materials[j];
429
429
  if (this.materials !== null) {
430
430
  if (f = this.materials.create(v.name), u && f && !(f instanceof N)) {
431
431
  const w = new N();
432
- X.prototype.copy.call(w, f), w.color.copy(f.color), f = w;
433
- } else if (d && f && !(f instanceof B)) {
434
- const w = new B({ size: 10, sizeAttenuation: !1 });
435
- X.prototype.copy.call(w, f), w.color.copy(f.color), w.map = f.map, f = w;
432
+ Q.prototype.copy.call(w, f), w.color.copy(f.color), f = w;
433
+ } else if (d && f && !(f instanceof R)) {
434
+ const w = new R({ size: 10, sizeAttenuation: !1 });
435
+ Q.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 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);
438
+ f === void 0 && (u ? f = new N() : d ? f = new R({ 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) {
442
- for (let x = 0, M = o.length; x < M; x++) {
442
+ for (let x = 0, C = o.length; x < C; x++) {
443
443
  const v = o[x];
444
444
  p.addGroup(v.groupStart, v.groupCount, x);
445
445
  }
446
- u ? b = new Y(p, g) : d ? b = new W(p, g) : b = new K(p, g);
446
+ u ? b = new X(p, g) : d ? b = new W(p, g) : b = new Y(p, g);
447
447
  } else
448
- u ? b = new Y(p, g[0]) : d ? b = new W(p, g[0]) : b = new K(p, g[0]);
448
+ u ? b = new X(p, g[0]) : d ? b = new W(p, g[0]) : b = new Y(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 B({ size: 1, sizeAttenuation: !1 }), l = new D();
452
+ const h = new R({ size: 1, sizeAttenuation: !1 }), l = new D();
453
453
  l.setAttribute("position", new V(s.vertices, 3)), s.colors.length > 0 && s.colors[0] !== void 0 && (l.setAttribute("color", new V(s.colors, 3)), h.vertexColors = !0);
454
454
  const n = new W(l, h);
455
455
  r.add(n);
@@ -471,7 +471,7 @@ class ye extends Z {
471
471
  * @param {onErrorCallback} onError - Executed when errors occur.
472
472
  */
473
473
  load(t, s, i, e) {
474
- const r = this, c = this.path === "" ? ae.extractUrlBase(t) : this.path, h = new Q(this.manager);
474
+ const r = this, c = this.path === "" ? ae.extractUrlBase(t) : this.path, h = new K(this.manager);
475
475
  h.setPath(this.path), h.setRequestHeader(this.requestHeader), h.setWithCredentials(this.withCredentials), h.load(t, function(l) {
476
476
  try {
477
477
  s(r.parse(l, c));
@@ -1,4 +1,4 @@
1
- import { bW as S, V as p, R as u, bX as _, b4 as E, bY as P, b0 as c, bZ as w, a4 as O, a7 as R } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-D6XTT1R_.js";
1
+ import { bW as S, V as p, O as u, bX as _, b4 as E, bY as P, b0 as c, bZ as w, a2 as O, a5 as R } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-Blxfq3tC.js";
2
2
  const D = { type: "change" }, b = { type: "start" }, M = { type: "end" }, f = new w(), T = new O(), j = Math.cos(70 * R.DEG2RAD), n = new p(), r = 2 * Math.PI, o = {
3
3
  NONE: -1,
4
4
  ROTATE: 0,
@@ -1,5 +1,5 @@
1
- import { S as Ln } from "./MTLLoader-ChI4NiZB.js";
2
- import { bK as vn, ba as Rn, aM as lt, a_ as At, aN as In, V as pe, a6 as he, bk as dt, L as Mn, b7 as Tt, M as ut, a7 as Le, br as ft, bL as Sn, a2 as ve, bA as Se, Q as me, b0 as On, a3 as Gn, aW as Pn, P as ht, bp as qn, _ as Un, b2 as jn, a1 as Fn, $ as Hn, ay as pt, b4 as Et, bx as mt, bz as Bn, aB as zn, aO as ye, bs as Dn, aU as bt, bm as Vn, Z as Ce, aD as Jn, bn as Kn, bq as Wn, bg as Oe, bi as gt, bM as Yn, bN as Xn, bO as yt, bP as $n, bQ as Zn, bR as Qn, bS as ei, aS as ti, bT as ni, bU as ii, a5 as si } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-D6XTT1R_.js";
1
+ import { S as Ln } from "./MTLLoader-5aYqAfLG.js";
2
+ import { bK as vn, ba as Rn, aM as lt, a_ as At, aN as In, V as pe, a4 as he, bk as dt, J as Mn, b7 as Tt, K as ut, a5 as Le, br as ft, bL as Sn, a0 as ve, bA as Se, N as me, b0 as On, a1 as Gn, aW as Pn, P as ht, bp as qn, Y as Un, b2 as jn, $ as Fn, Z as Hn, ax as pt, b4 as Et, bx as mt, bz as Bn, aA as zn, aO as ye, bs as Dn, aU as bt, bm as Vn, U as Ce, aC as Jn, bn as Kn, bq as Wn, bg as Oe, bi as gt, bM as Yn, bN as Xn, bO as yt, bP as $n, bQ as Zn, bR as Qn, bS as ei, aS as ti, bT as ni, bU as ii, a3 as si } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-Blxfq3tC.js";
3
3
  class wt extends vn {
4
4
  /**
5
5
  * Constructs a new TGA loader.
@@ -1,9 +1,9 @@
1
- import { g as K, aH as C, c as x, ac as N, bJ as S } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-D6XTT1R_.js";
1
+ import { g as K, aG as C, c as x, aa as N, bJ as S } from "./index.vue_vue_type_style_index_0_scoped_afbdd7b2_lang-Blxfq3tC.js";
2
2
  import { c as O } from "./index-Clipar8b.js";
3
3
  const g = async (n) => {
4
4
  const e = n.join("/"), c = sessionStorage.getItem("systemKey");
5
5
  return await K(e, c, "");
6
- }, R = (n) => {
6
+ }, G = (n) => {
7
7
  var s;
8
8
  const e = n == null ? void 0 : n.compData, c = (s = e == null ? void 0 : e.find((i) => {
9
9
  const { key: p } = i;
@@ -13,13 +13,13 @@ const g = async (n) => {
13
13
  const { prop: p, value: D } = i;
14
14
  r[p] = D;
15
15
  }), r;
16
- }, H = async () => {
16
+ }, J = async () => {
17
17
  let n = {};
18
- const c = await g(["弯管仿真加工分析", "模具筛选安装"]), r = C("输入(加工件)", c), s = R(r), i = s.管长 || 0, p = s.外径 || 0;
18
+ const c = await g(["弯管仿真加工分析", "模具筛选安装"]), r = C("输入(加工件)", c), s = G(r), i = s.管长 || 0, p = s.外径 || 0;
19
19
  console.log("管长", i, "外径", p, s);
20
- const D = i, T = p / 2, k = await g(["弯管仿真加工分析", "加工位姿生成"]), E = C("输入", k), b = R(E), P = b.夹持长度 || 0;
20
+ const D = i, R = p / 2, T = await g(["弯管仿真加工分析", "加工位姿生成"]), k = C("输入", T), b = G(k), P = b.夹持长度 || 0;
21
21
  console.log("夹持长度", P, b);
22
- const G = Number(P), m = {}, l = await g(["弯管仿真加工分析", "仿真动画生成"]);
22
+ const E = Number(P), m = {}, l = await g(["弯管仿真加工分析", "仿真动画生成"]);
23
23
  l == null || l.forEach((a) => {
24
24
  var M, d, f, y, w, F;
25
25
  if ((a == null ? void 0 : a.comp) === "Table") {
@@ -37,17 +37,17 @@ const g = async (n) => {
37
37
  const A = O(m) || [];
38
38
  return n = {
39
39
  initialPipeLength: D,
40
- pipeRadius: T,
41
- clampLength: G,
40
+ pipeRadius: R,
41
+ clampLength: E,
42
42
  animationData: A
43
43
  }, n;
44
- }, J = async () => {
44
+ }, q = async () => {
45
45
  let n = {};
46
- const c = await g(["双弯管仿真加工分析", "模具筛选安装"]), r = C("输入(加工件)", c), s = R(r), i = s.管长 || 0, p = s.外径 || 0;
46
+ const c = await g(["双弯管仿真加工分析", "模具筛选安装"]), r = C("输入(加工件)", c), s = G(r), i = s.管长 || 0, p = s.外径 || 0;
47
47
  console.log("管长", i, "外径", p, s);
48
- const D = i, T = p / 2, k = await g(["双弯管仿真加工分析", "加工工艺生成"]), E = C("输入", k), b = R(E), P = b.夹持位置 || 0;
48
+ const D = i, R = p / 2, T = await g(["双弯管仿真加工分析", "加工工艺生成"]), k = C("输入", T), b = G(k), P = b.夹持位置 || 0;
49
49
  console.log("夹持长度", P, b);
50
- const G = Number(P), m = {}, l = await g(["双弯管仿真加工分析", "仿真动画生成"]);
50
+ const E = Number(P), m = {}, l = await g(["双弯管仿真加工分析", "仿真动画生成"]);
51
51
  l == null || l.forEach((a) => {
52
52
  var M, d, f, y, w, F;
53
53
  if ((a == null ? void 0 : a.comp) === "Table") {
@@ -65,18 +65,18 @@ const g = async (n) => {
65
65
  const A = O(m) || [];
66
66
  return n = {
67
67
  initialPipeLength: D,
68
- pipeRadius: T,
69
- clampLength: G,
68
+ pipeRadius: R,
69
+ clampLength: E,
70
70
  animationData: A
71
71
  }, n;
72
- }, V = async (n) => await N(n), X = async (n) => await S(n), q = async (n) => {
72
+ }, V = async (n) => await N(n), X = async (n) => await S(n), z = async (n) => {
73
73
  const e = await V(n);
74
74
  return await X(e);
75
75
  };
76
76
  export {
77
- J as a,
78
- R as b,
79
- H as f,
77
+ q as a,
78
+ G as b,
79
+ J as f,
80
80
  g,
81
- q as i
81
+ z as i
82
82
  };