ss-component-new 1.3.13 → 1.3.14

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 (99) hide show
  1. package/dist/{MTLLoader-C_XCtjSi.cjs → MTLLoader-B3diP_CH.cjs} +1 -1
  2. package/dist/{MTLLoader-YR-bfx1D.js → MTLLoader-D0AtmWHn.js} +37 -37
  3. package/dist/{OrbitControls-CktvE4iE.cjs → OrbitControls-BEMjDphC.cjs} +1 -1
  4. package/dist/{OrbitControls-BGsXD_A7.js → OrbitControls-C2bjXeWs.js} +1 -1
  5. package/dist/{URDFLoader-10oVp_KW.cjs → URDFLoader-GlKgq4QK.cjs} +1 -1
  6. package/dist/{URDFLoader-m1gMdnSQ.js → URDFLoader-qmyg9fYK.js} +189 -189
  7. package/dist/{animationData-CpK8d_Vm.js → animationData-Bi3_TyWE.js} +26 -26
  8. package/dist/{animationData-Cr2ra7rm.cjs → animationData-IwjfXQMn.cjs} +1 -1
  9. package/dist/{array-DSgiHp_j.cjs → array-DUQ3K_U3.cjs} +1 -1
  10. package/dist/{array-Bg-M1dRR.js → array-UVmZuEFZ.js} +46 -46
  11. package/dist/{iconfont-DsF7kuG5.cjs → iconfont-CAsy8t6b.cjs} +1 -1
  12. package/dist/{iconfont-0yJB130V.js → iconfont-DSIYZm9L.js} +29 -29
  13. package/dist/{index-i0GbQYT8.js → index-34N9MmAJ.js} +3 -3
  14. package/dist/{index-D8HD14bz.js → index-B2ktP1tY.js} +1 -1
  15. package/dist/{index-Ez8Heyym.js → index-B8Plk6_G.js} +915 -924
  16. package/dist/{index-BJPBBWWH.cjs → index-BLxE_tkf.cjs} +1 -1
  17. package/dist/{index-gfdgTjvQ.js → index-BNjvOnNL.js} +3 -3
  18. package/dist/{index-Ddoq7kRQ.js → index-BT6DSXQW.js} +9 -9
  19. package/dist/{index-CVXrjDFh.cjs → index-BWaSs-dx.cjs} +1 -1
  20. package/dist/{index-DIo9kT8l.cjs → index-BYJp0q3a.cjs} +1 -1
  21. package/dist/{index-DaoKeyl8.cjs → index-BaZ8Dz9C.cjs} +12 -12
  22. package/dist/{index-DHZOXdHe.js → index-BbZzjjV4.js} +7 -7
  23. package/dist/{index-BXUByyre.js → index-BfJ9-vQE.js} +2 -2
  24. package/dist/{index-DNmw0pc6.js → index-BoPqoH3C.js} +41 -41
  25. package/dist/index-BteE57Nz.js +103 -0
  26. package/dist/{index-dQFlJRrM.js → index-C-1cJ11C.js} +7 -7
  27. package/dist/{index-h_-N0ZtQ.js → index-C00SsoBw.js} +7 -7
  28. package/dist/{index-BcipoSQA.js → index-C5Q1KlY_.js} +2 -2
  29. package/dist/{index-Cwt7s25B.cjs → index-C7G7qNVy.cjs} +1 -1
  30. package/dist/index-C8FzkPpO.cjs +1 -0
  31. package/dist/{index-DRTxe12U.cjs → index-C8fMwErX.cjs} +13 -13
  32. package/dist/{index-N6U5R7pz.cjs → index-CD3-vCG-.cjs} +1 -1
  33. package/dist/{index-nr6V1FzX.js → index-CEq2QX9L.js} +7 -7
  34. package/dist/{index-CXiOVgoz.js → index-CEzEaG0d.js} +1 -1
  35. package/dist/{index-AgxmhjXT.js → index-CFZzQ_84.js} +8 -8
  36. package/dist/{index-Cjqg29ul.cjs → index-CIrXKpNl.cjs} +1 -1
  37. package/dist/{index-CBJCu7IU.cjs → index-Cd1xYGsa.cjs} +1 -1
  38. package/dist/{index-D_Yhv_HV.cjs → index-CdV2vSOK.cjs} +1 -1
  39. package/dist/index-CnuuKF1t.js +12544 -0
  40. package/dist/{index-C9SfnCpQ.js → index-CvqHcSC4.js} +2 -2
  41. package/dist/{index-DU9e5EhS.cjs → index-Cw4Pm2PQ.cjs} +1 -1
  42. package/dist/{index-bwtexcx2.cjs → index-D1X1OeUR.cjs} +1 -1
  43. package/dist/{index-gzS894Xb.cjs → index-DGIfO1LO.cjs} +1 -1
  44. package/dist/{index-Va8AOLWi.js → index-DGRL8SEt.js} +1 -1
  45. package/dist/{index-D3ixok8t.cjs → index-DJjHIf5F.cjs} +1 -1
  46. package/dist/{index-Bi76KPTH.js → index-DLF_1ATs.js} +5 -5
  47. package/dist/{index-DaIE9uY1.cjs → index-DMHNlcTB.cjs} +1 -1
  48. package/dist/{index-BfpxkTBr.cjs → index-DnMehixw.cjs} +1 -1
  49. package/dist/index-DowlDm_R.cjs +11 -0
  50. package/dist/{index-BTVKWZt_.js → index-DppPsJwa.js} +2 -2
  51. package/dist/{index-BPwYtuzg.cjs → index-Dy5qQAC3.cjs} +1 -1
  52. package/dist/{index-DS-YTop9.cjs → index-Jytyg12u.cjs} +1 -1
  53. package/dist/{index-CJJzXv2E.cjs → index-L_qyO2xf.cjs} +1 -1
  54. package/dist/{index-DhEfvV0x.js → index-US_KTUv7.js} +5 -5
  55. package/dist/{index-CtiuIHrN.cjs → index-bmTqenMO.cjs} +1 -1
  56. package/dist/{index-D7054IS6.cjs → index-dSga-Sqb.cjs} +1 -1
  57. package/dist/{index-NaWMtdUV.js → index-fuCgJzzm.js} +2 -2
  58. package/dist/{index-DVNEBZvu.js → index-fuVLvPhz.js} +3 -3
  59. package/dist/index-hh3Ozhvs.cjs +1 -0
  60. package/dist/{index-DBh5Z73C.js → index-i7Q6x7Zz.js} +1 -1
  61. package/dist/{index-B-SYbelE.js → index-jDCU1Wp9.js} +2 -2
  62. package/dist/{index-COQpDVsv.js → index-sMsCzNtW.js} +1535 -1570
  63. package/dist/{index-BWCv7zxy.cjs → index-vCTVD7cV.cjs} +1 -1
  64. package/dist/{index-Bo9X-gZk.cjs → index-wIeZl5t7.cjs} +1 -1
  65. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRc8dG0E.js} +31601 -32166
  66. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZMwIbmlN.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CbFQ2oZH.cjs} +394 -404
  67. package/dist/{index.vue_vue_type_style_index_1_lang-CNh42_ZH.js → index.vue_vue_type_style_index_1_lang-Cqe1NPUQ.js} +78 -78
  68. package/dist/{index.vue_vue_type_style_index_1_lang--4T7j9qz.cjs → index.vue_vue_type_style_index_1_lang-D5dZrna1.cjs} +1 -1
  69. package/dist/{main-CwhQ7pet.cjs → main-DMEkPrPQ.cjs} +1 -1
  70. package/dist/{main-DQ4rxh2x.js → main-JQX3whvo.js} +4 -4
  71. package/dist/{menuIndex-D52EAwtb.cjs → menuIndex-8RF_0N_y.cjs} +1 -1
  72. package/dist/{menuIndex-DYaogp2R.js → menuIndex-BwWrdu20.js} +1 -1
  73. package/dist/ss-component.cjs +1 -1
  74. package/dist/ss-component.css +1 -1
  75. package/dist/ss-component.js +10 -10
  76. package/dist/ss-component2.cjs +1 -1
  77. package/dist/ss-component2.js +11 -11
  78. package/dist/{threeModel-B28hvnHw.js → threeModel-BYeWWze5.js} +45 -45
  79. package/dist/{threeModel-DnKfIIgn.cjs → threeModel-cUS9-ww3.cjs} +1 -1
  80. package/dist/{threePreview-DOD9HOZn.cjs → threePreview-BtspqluS.cjs} +1 -1
  81. package/dist/{threePreview-CkKl3frr.js → threePreview-CZI4Z6PT.js} +103 -103
  82. package/dist/{threeSceneView-DZvOLWv6.cjs → threeSceneView-B5L-Drf9.cjs} +1 -1
  83. package/dist/{threeSceneView-DlL9pZlj.js → threeSceneView-Cr_KXNx5.js} +38 -38
  84. package/dist/{threeSceneViewForCPMPIP-DB0Eczbs.js → threeSceneViewForCPMPIP-BuuDHRI4.js} +8 -8
  85. package/dist/{threeSceneViewForCPMPIP-CZvKvfDx.cjs → threeSceneViewForCPMPIP-Dp8auXh3.cjs} +1 -1
  86. package/dist/{threeTrackPathView-DgyAEYfV.cjs → threeTrackPathView-78ve4cJ3.cjs} +1 -1
  87. package/dist/{threeTrackPathView-Eb1bvUXJ.js → threeTrackPathView-DWMtEQZW.js} +66 -66
  88. package/dist/{threeViewerHost-BMU1tg9c.cjs → threeViewerHost-Mm-Ez-7E.cjs} +1 -1
  89. package/dist/{threeViewerHost-Bdzv9iPb.js → threeViewerHost-Yx0xoLgc.js} +20 -20
  90. package/dist/{urdfTree-hLtm0aFY.js → urdfTree-DMMvqDhp.js} +10 -10
  91. package/dist/{urdfTree-CoK2r17Y.cjs → urdfTree-npoVarfp.cjs} +1 -1
  92. package/dist/{workpieceTreePanel-mWvCQyyw.cjs → workpieceTreePanel-B2ICcFLW.cjs} +1 -1
  93. package/dist/{workpieceTreePanel-Ne_ACq86.js → workpieceTreePanel-C6ceilqa.js} +56 -56
  94. package/package.json +1 -1
  95. package/dist/index-Bb1M3ASi.cjs +0 -1
  96. package/dist/index-CpbBe_mV.cjs +0 -1
  97. package/dist/index-DIWralYr.js +0 -67
  98. package/dist/index-DbnDlzwg.cjs +0 -1
  99. package/dist/index-Dw4-rPvA.js +0 -11883
@@ -1,12 +1,12 @@
1
- var O3 = Object.defineProperty;
2
- var j3 = (c, e, n) => e in c ? O3(c, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : c[e] = n;
1
+ var U3 = Object.defineProperty;
2
+ var j3 = (c, e, n) => e in c ? U3(c, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : c[e] = n;
3
3
  var x3 = (c, e, n) => j3(c, typeof e != "symbol" ? e + "" : e, n);
4
- import { S as d3, O as m3, M as f3 } from "./MTLLoader-YR-bfx1D.js";
5
- import { c as c3, aP as r3, at as w3, aQ as C3, aR as N3, Q as $3, X as u3, aF as F3, aS as t3, aT as k3, aU as D3, aV as T3, aC as v3, aW as P3, aD as G3, a1 as X, O as W3, V as z3, aX as H3, a6 as J, a7 as l3, aY as Z3, aH as K3, d as X3, aZ as Y3, a_ as J3, ak as L3, u as Q3 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-1pEFQ04s.js";
4
+ import { S as d3, O as m3, M as f3 } from "./MTLLoader-D0AtmWHn.js";
5
+ import { c as c3, aK as r3, ao as w3, aL as N3, aM as C3, L as $3, O as u3, aA as F3, aN as t3, aO as k3, aP as D3, aQ as T3, ax as v3, aR as P3, ay as G3, Y, J as W3, V as z3, aS as H3, a1 as X, a2 as l3, aT as K3, aC as Z3, d as Y3, aU as J3, aV as X3, af as L3, u as Q3 } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BRc8dG0E.js";
6
6
  import { a as n3, ao as e1, aw as a1, g as V3, e as i1, b as l1 } from "./index-B8HqIYd5.js";
7
- import { c as b3, s as M3, a as t1, p as g3, u as c1 } from "./index-COQpDVsv.js";
7
+ import { c as b3, s as M3, a as t1, p as g3, u as c1 } from "./index-sMsCzNtW.js";
8
8
  import { ref as r1 } from "vue";
9
- import { U as o1 } from "./URDFLoader-m1gMdnSQ.js";
9
+ import { U as o1 } from "./URDFLoader-qmyg9fYK.js";
10
10
  const Q = "$R", s1 = (c) => {
11
11
  let e = c == null ? void 0 : c.contents, n = c == null ? void 0 : c.valueString, H = c == null ? void 0 : c.prop, a = c == null ? void 0 : c.headers, s;
12
12
  return Array.isArray(e) && (e == null ? void 0 : e.length) !== 1 && (e = c3(e, r3(a))), n == null || n.forEach((f) => {
@@ -23,7 +23,7 @@ const Q = "$R", s1 = (c) => {
23
23
  const [e, n, H] = b3(c).split(":").map(Number);
24
24
  let a = +c;
25
25
  return !c || !(c != null && c.includes(":")) ? a : (e ?? 0) * 3600 + (n ?? 0) * 60 + (H ?? 0);
26
- }, Z = (c) => {
26
+ }, K = (c) => {
27
27
  const e = (s) => s.toString().padStart(2, "0"), n = Math.floor(c / 3600), H = Math.floor(c % 3600 / 60), a = c % 60;
28
28
  return `${e(n)}:${e(H)}:${parseInt(e(a))}`;
29
29
  }, h1 = (c) => {
@@ -36,14 +36,14 @@ const Q = "$R", s1 = (c) => {
36
36
  let h = +(e == null ? void 0 : e[u]);
37
37
  t = t + h;
38
38
  } else
39
- t = S(t.toString()) + S((p = e == null ? void 0 : e[u]) == null ? void 0 : p.toString()), t = Z(t);
39
+ t = S(t.toString()) + S((p = e == null ? void 0 : e[u]) == null ? void 0 : p.toString()), t = K(t);
40
40
  } else if (s === "Row") {
41
41
  let h = (r = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.label) === u)) == null ? void 0 : r.prop;
42
42
  if (!((M = Number.isNaN(e == null ? void 0 : e[h]) ? "" : (l = e == null ? void 0 : e[h]) == null ? void 0 : l.toString()) != null && M.includes(":")) && !((o = t == null ? void 0 : t.toString()) != null && o.includes(":"))) {
43
43
  let m = +((e == null ? void 0 : e[h]) ?? 0);
44
44
  t = t + m;
45
45
  } else
46
- t = S(t == null ? void 0 : t.toString()) + S((i = (e == null ? void 0 : e[h]) ?? 0) == null ? void 0 : i.toString()), t = Z(t);
46
+ t = S(t == null ? void 0 : t.toString()) + S((i = (e == null ? void 0 : e[h]) ?? 0) == null ? void 0 : i.toString()), t = K(t);
47
47
  }
48
48
  }), s === "Column") {
49
49
  let u = [];
@@ -71,14 +71,14 @@ const Q = "$R", s1 = (c) => {
71
71
  let o = +(e == null ? void 0 : e[u]);
72
72
  t = t === 0 ? t + o : t - o;
73
73
  } else
74
- t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) - S(e == null ? void 0 : e[u].toString()), t = Z(t);
74
+ t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) - S(e == null ? void 0 : e[u].toString()), t = K(t);
75
75
  } else if (s === "Row") {
76
76
  let o = (p = a == null ? void 0 : a.find((i) => (i == null ? void 0 : i.label) === u)) == null ? void 0 : p.prop;
77
77
  if (!((l = Number.isNaN(e == null ? void 0 : e[o]) ? "" : (r = e == null ? void 0 : e[o]) == null ? void 0 : r.toString()) != null && l.includes(":")) && !((M = t == null ? void 0 : t.toString()) != null && M.includes(":"))) {
78
78
  let i = +((e == null ? void 0 : e[o]) ?? 0);
79
79
  t = t === 0 ? t + i : t - i;
80
80
  } else
81
- t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) - S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = Z(t);
81
+ t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) - S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = K(t);
82
82
  }
83
83
  }), s === "Column") {
84
84
  let u = [];
@@ -106,7 +106,7 @@ const Q = "$R", s1 = (c) => {
106
106
  let o = +(e == null ? void 0 : e[u]);
107
107
  t = t === 0 ? t + o : t * o;
108
108
  } else
109
- t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) * S(e == null ? void 0 : e[u].toString()), t = Z(t);
109
+ t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) * S(e == null ? void 0 : e[u].toString()), t = K(t);
110
110
  } else if (s === "Row") {
111
111
  let o = (p = a == null ? void 0 : a.find((i) => (i == null ? void 0 : i.label) === u)) == null ? void 0 : p.prop;
112
112
  if (!(e != null && e[o]))
@@ -115,7 +115,7 @@ const Q = "$R", s1 = (c) => {
115
115
  let i = +((e == null ? void 0 : e[o]) ?? 0);
116
116
  t = t === 0 ? t + i : t * i;
117
117
  } else
118
- t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) * S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = Z(t);
118
+ t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) * S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = K(t);
119
119
  }
120
120
  }), s === "Column") {
121
121
  let u = [];
@@ -143,14 +143,14 @@ const Q = "$R", s1 = (c) => {
143
143
  let o = +(e == null ? void 0 : e[u]);
144
144
  t = t === 0 ? t + o : t / o;
145
145
  } else
146
- t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) / S(e == null ? void 0 : e[u].toString()), t = Z(t);
146
+ t = t === 0 ? S(t.toString()) + S(e == null ? void 0 : e[u].toString()) : S(t.toString()) / S(e == null ? void 0 : e[u].toString()), t = K(t);
147
147
  } else if (s === "Row") {
148
148
  let o = (p = a == null ? void 0 : a.find((i) => (i == null ? void 0 : i.label) === u)) == null ? void 0 : p.prop;
149
149
  if (!((l = Number.isNaN(e == null ? void 0 : e[o]) ? "" : (r = e == null ? void 0 : e[o]) == null ? void 0 : r.toString()) != null && l.includes(":")) && !((M = t == null ? void 0 : t.toString()) != null && M.includes(":"))) {
150
150
  let i = +((e == null ? void 0 : e[o]) ?? 0);
151
151
  t = t === 0 ? t + i : t / i;
152
152
  } else
153
- t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) / S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = Z(t);
153
+ t = t === 0 ? S(t.toString()) + S(((e == null ? void 0 : e[o]) ?? 0).toString()) : S(t.toString()) / S(((e == null ? void 0 : e[o]) ?? 0).toString()), t = K(t);
154
154
  }
155
155
  }), s === "Column") {
156
156
  let u = [];
@@ -175,19 +175,19 @@ const Q = "$R", s1 = (c) => {
175
175
  Divide: d1,
176
176
  Compare: s1
177
177
  }, m1 = async (c, e, n, H = "Auto", a) => {
178
- var f, t, u, v, y, d, p, r, l, M, o, i, h, m, z, g, x, B, w, A, j, D, I, K, e3, o3;
178
+ var f, t, u, v, y, d, p, r, l, M, o, i, h, m, z, g, x, B, w, A, j, D, I, Z, e3, o3;
179
179
  let s = c;
180
180
  for (let P in e) {
181
181
  let G = (y = (v = (u = (t = (f = e == null ? void 0 : e[P]) == null ? void 0 : f.methods) == null ? void 0 : t.replace("(", Q)) == null ? void 0 : u.split(Q)) == null ? void 0 : v[0]) == null ? void 0 : y.replaceAll("$", "");
182
182
  const a3 = y3 == null ? void 0 : y3[G];
183
- let N = (i = (o = (M = (l = (r = (p = (d = e == null ? void 0 : e[P]) == null ? void 0 : d.methods) == null ? void 0 : p.replace("(", Q)) == null ? void 0 : r.split(Q)) == null ? void 0 : l[1]) == null ? void 0 : M.replace("(", Q)) == null ? void 0 : o.split(Q)) == null ? void 0 : i[0];
184
- N = (z = (m = (h = N == null ? void 0 : N.slice(0, (N == null ? void 0 : N.length) - 1)) == null ? void 0 : h.replaceAll("[", "")) == null ? void 0 : m.replaceAll("]", "")) == null ? void 0 : z.split(",");
183
+ let C = (i = (o = (M = (l = (r = (p = (d = e == null ? void 0 : e[P]) == null ? void 0 : d.methods) == null ? void 0 : p.replace("(", Q)) == null ? void 0 : r.split(Q)) == null ? void 0 : l[1]) == null ? void 0 : M.replace("(", Q)) == null ? void 0 : o.split(Q)) == null ? void 0 : i[0];
184
+ C = (z = (m = (h = C == null ? void 0 : C.slice(0, (C == null ? void 0 : C.length) - 1)) == null ? void 0 : h.replaceAll("[", "")) == null ? void 0 : m.replaceAll("]", "")) == null ? void 0 : z.split(",");
185
185
  let T = (j = (x = (g = e == null ? void 0 : e[P]) == null ? void 0 : g.methods) == null ? void 0 : x.split("(")) == null ? void 0 : j[((A = (w = (B = e == null ? void 0 : e[P]) == null ? void 0 : B.methods) == null ? void 0 : w.split("(")) == null ? void 0 : A.length) - 1];
186
186
  if (T = T == null ? void 0 : T.replaceAll(")", ""), T = T == null ? void 0 : T.split(","), (D = T == null ? void 0 : T.find((W) => W == null ? void 0 : W.includes("@Type"))) != null && D.includes(H)) {
187
- let W = (e3 = (K = (I = T == null ? void 0 : T.find((Y) => Y == null ? void 0 : Y.includes("@Extent"))) == null ? void 0 : I.replace(":", "=")) == null ? void 0 : K.split("=")) == null ? void 0 : e3[1];
187
+ let W = (e3 = (Z = (I = T == null ? void 0 : T.find((J) => J == null ? void 0 : J.includes("@Extent"))) == null ? void 0 : I.replace(":", "=")) == null ? void 0 : Z.split("=")) == null ? void 0 : e3[1];
188
188
  await new Function("return ")(), s = a3({
189
189
  contents: s,
190
- valueString: N,
190
+ valueString: C,
191
191
  prop: (o3 = e == null ? void 0 : e[P]) == null ? void 0 : o3.prop,
192
192
  headers: n,
193
193
  typeString: W,
@@ -197,7 +197,7 @@ const Q = "$R", s1 = (c) => {
197
197
  }
198
198
  return s;
199
199
  };
200
- class f1 extends C3 {
200
+ class f1 extends N3 {
201
201
  /**
202
202
  * Constructs a new PCD loader.
203
203
  *
@@ -216,7 +216,7 @@ class f1 extends C3 {
216
216
  * @param {onErrorCallback} onError - Executed when errors occur.
217
217
  */
218
218
  load(e, n, H, a) {
219
- const s = this, f = new N3(s.manager);
219
+ const s = this, f = new C3(s.manager);
220
220
  f.setPath(s.path), f.setResponseType("arraybuffer"), f.setRequestHeader(s.requestHeader), f.setWithCredentials(s.withCredentials), f.load(e, function(t) {
221
221
  try {
222
222
  n(s.parse(t));
@@ -379,7 +379,7 @@ const u1 = t1(g3), { systemPath: B3 } = M3(u1), h3 = r1(), S3 = /* @__PURE__ */
379
379
  function B1(c, e, n, H, a) {
380
380
  const s = async (p) => {
381
381
  try {
382
- const r = await X3({ url: p });
382
+ const r = await Y3({ url: p });
383
383
  if (r.status !== 200)
384
384
  throw new Error(`下载失败: ${r.status}`);
385
385
  return r.data;
@@ -402,7 +402,7 @@ function B1(c, e, n, H, a) {
402
402
  const r = {
403
403
  materials: {},
404
404
  create: function(l) {
405
- return this.materials[l] ? this.materials[l] : (console.warn(`Material '${l}' not found, using default material`), new J({
405
+ return this.materials[l] ? this.materials[l] : (console.warn(`Material '${l}' not found, using default material`), new X({
406
406
  color: 8947848,
407
407
  side: l3
408
408
  }));
@@ -434,7 +434,7 @@ function B1(c, e, n, H, a) {
434
434
  m && z.setMaterials(m);
435
435
  const g = z.parse(h);
436
436
  m || g.traverse((x) => {
437
- x.isMesh && (x.material = new J({
437
+ x.isMesh && (x.material = new X({
438
438
  color: 8947848,
439
439
  side: l3
440
440
  }));
@@ -486,8 +486,8 @@ function B1(c, e, n, H, a) {
486
486
  x: parseFloat(_[1]),
487
487
  y: parseFloat(_[2]),
488
488
  z: parseFloat(_[3])
489
- })), q = new F3(), C = V.flatMap((_) => [_.x, _.y, _.z]);
490
- if (q.setAttribute("position", new t3(C, 3)), i === ".txt") {
489
+ })), q = new F3(), N = V.flatMap((_) => [_.x, _.y, _.z]);
490
+ if (q.setAttribute("position", new t3(N, 3)), i === ".txt") {
491
491
  const _ = new D3({
492
492
  color: "#5B5C99",
493
493
  size: 1,
@@ -495,33 +495,33 @@ function B1(c, e, n, H, a) {
495
495
  });
496
496
  o = new T3(q, _);
497
497
  } else if (i === ".cpt") {
498
- const _ = new Z3({
498
+ const _ = new K3({
499
499
  color: "#5B5C99",
500
500
  linewidth: 100
501
501
  });
502
- o = new K3(q, _);
502
+ o = new Z3(q, _);
503
503
  }
504
504
  } else if (i === ".obj") {
505
505
  const b = new m3();
506
506
  if (l && l.length > 0) {
507
507
  const L = new f3();
508
508
  for (const V of l) {
509
- const q = await V.text(), C = L.parse(q);
510
- C.preload(), b.setMaterials(C);
509
+ const q = await V.text(), N = L.parse(q);
510
+ N.preload(), b.setMaterials(N);
511
511
  break;
512
512
  }
513
513
  }
514
514
  o = b.parse(h), (!l || l.length === 0) && o.traverse((L) => {
515
- L.isMesh && (L.material = new J({ color: "#B3B3D4" })), L instanceof X && (L.material.side = l3);
515
+ L.isMesh && (L.material = new X({ color: "#B3B3D4" })), L instanceof Y && (L.material.side = l3);
516
516
  });
517
517
  }
518
518
  break;
519
519
  case ".stl":
520
- const m = await r.arrayBuffer(), g = new d3().parse(m), x = new J({
520
+ const m = await r.arrayBuffer(), g = new d3().parse(m), x = new X({
521
521
  color: "#B3B3D4",
522
522
  side: l3
523
523
  });
524
- o = new X(g, x);
524
+ o = new Y(g, x);
525
525
  break;
526
526
  case ".nc":
527
527
  const B = [
@@ -541,12 +541,12 @@ function B1(c, e, n, H, a) {
541
541
  }, A = new v3(), j = B.map((b) => new Promise((L, V) => {
542
542
  new d3().load(
543
543
  B3.value === "" ? `/model/${b}` : `${B3.value}\\${b}`,
544
- (C) => {
545
- const _ = new J({
544
+ (N) => {
545
+ const _ = new X({
546
546
  color: w[b] || "#B3B3D4",
547
547
  side: l3
548
- }), U = new X(C, _);
549
- L(U);
548
+ }), O = new Y(N, _);
549
+ L(O);
550
550
  },
551
551
  void 0,
552
552
  V
@@ -578,40 +578,40 @@ function B1(c, e, n, H, a) {
578
578
  }
579
579
  }), q = new Blob([V.data], {
580
580
  type: "application/octet-stream;charset=UTF-8"
581
- }), C = await new Promise((U, $) => {
581
+ }), N = await new Promise((O, $) => {
582
582
  const E = URL.createObjectURL(L);
583
583
  D.load(
584
584
  E,
585
- (O) => {
586
- const R = new Float32Array(O.geometry.attributes.position.count * 3);
587
- for (let F = 0; F < O.geometry.attributes.position.count; F++)
585
+ (U) => {
586
+ const R = new Float32Array(U.geometry.attributes.position.count * 3);
587
+ for (let F = 0; F < U.geometry.attributes.position.count; F++)
588
588
  R[F * 3] = 1, R[F * 3 + 1] = 0, R[F * 3 + 2] = 0;
589
- O.geometry.setAttribute("color", new H3(R, 3)), O.material.vertexColors = !0, O.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(E), U(O);
589
+ U.geometry.setAttribute("color", new H3(R, 3)), U.material.vertexColors = !0, U.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(E), O(U);
590
590
  },
591
591
  void 0,
592
592
  $
593
593
  );
594
- }), _ = await new Promise((U, $) => {
594
+ }), _ = await new Promise((O, $) => {
595
595
  const E = URL.createObjectURL(q);
596
596
  D.load(
597
597
  E,
598
- (O) => {
599
- const R = new Float32Array(O.geometry.attributes.position.count * 3);
600
- for (let F = 0; F < O.geometry.attributes.position.count; F++)
598
+ (U) => {
599
+ const R = new Float32Array(U.geometry.attributes.position.count * 3);
600
+ for (let F = 0; F < U.geometry.attributes.position.count; F++)
601
601
  R[F * 3] = 0, R[F * 3 + 1] = 1, R[F * 3 + 2] = 0;
602
- O.geometry.setAttribute("color", new H3(R, 3)), O.material.vertexColors = !0, O.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(E), U(O);
602
+ U.geometry.setAttribute("color", new H3(R, 3)), U.material.vertexColors = !0, U.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(E), O(U);
603
603
  },
604
604
  void 0,
605
605
  $
606
606
  );
607
607
  });
608
- I.add(C), I.add(_), o = I;
608
+ I.add(N), I.add(_), o = I;
609
609
  } catch (b) {
610
610
  throw console.error("PCD文件加载失败:", b), new Error("无法加载PCD文件");
611
611
  }
612
612
  break;
613
613
  case ".urdf":
614
- const K = URL.createObjectURL(r), e3 = new o1(), o3 = "http://139.196.154.85:20026/chfs/shared/机器人/urdf/SmallBender_R-2000iC-165F/meshes", P = {
614
+ const Z = URL.createObjectURL(r), e3 = new o1(), o3 = "http://139.196.154.85:20026/chfs/shared/机器人/urdf/SmallBender_R-2000iC-165F/meshes", P = {
615
615
  maxConcurrentLoads: 4,
616
616
  // 最大并发加载数
617
617
  enableCache: !0,
@@ -624,7 +624,7 @@ function B1(c, e, n, H, a) {
624
624
  // 共享材质
625
625
  enableInstancing: !0
626
626
  // 启用实例化
627
- }, G = /* @__PURE__ */ new WeakMap(), a3 = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), T = async (b) => {
627
+ }, G = /* @__PURE__ */ new WeakMap(), a3 = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakMap(), T = async (b) => {
628
628
  if (G.has(b))
629
629
  return console.log(`从缓存加载: ${b}`), G.get(b);
630
630
  try {
@@ -645,16 +645,16 @@ function B1(c, e, n, H, a) {
645
645
  }, W = (b = "default") => {
646
646
  if (a3.has(b))
647
647
  return a3.get(b);
648
- const L = new J({
648
+ const L = new X({
649
649
  color: 12303291,
650
650
  shininess: 30,
651
651
  // 性能优化设置
652
652
  transparent: !1,
653
653
  alphaTest: 0.1,
654
- side: J3
654
+ side: X3
655
655
  });
656
656
  return a3.set(b, L), L;
657
- }, Y = (b) => {
657
+ }, J = (b) => {
658
658
  try {
659
659
  b.isBufferGeometry && b.mergeVertices && b.mergeVertices(), b.computeVertexNormals && b.computeVertexNormals(), b.computeBoundingSphere && b.computeBoundingSphere(), b.deleteAttribute && b.deleteAttribute("uv2");
660
660
  } catch (L) {
@@ -663,43 +663,43 @@ function B1(c, e, n, H, a) {
663
663
  return b;
664
664
  }, E3 = async (b, L, V) => {
665
665
  const q = `stl_${L}`;
666
- if (N.has(q)) {
667
- const $ = N.get(q);
668
- return new X($, W());
666
+ if (C.has(q)) {
667
+ const $ = C.get(q);
668
+ return new Y($, W());
669
669
  }
670
- const C = await b.arrayBuffer();
671
- let U = new d3(V).parse(C);
672
- return U = Y(U), N.set(q, U), new X(U, W());
670
+ const N = await b.arrayBuffer();
671
+ let O = new d3(V).parse(N);
672
+ return O = J(O), C.set(q, O), new Y(O, W());
673
673
  }, R3 = async (b, L, V) => {
674
674
  const q = `obj_${L}`;
675
675
  if (G.has(q))
676
676
  return G.get(q).clone();
677
- const C = await b.text(), _ = new m3(V), U = L.replace(".obj", ".mtl");
677
+ const N = await b.text(), _ = new m3(V), O = L.replace(".obj", ".mtl");
678
678
  try {
679
- const O = await (await T(U)).text(), F = new f3(V).parse(O);
679
+ const U = await (await T(O)).text(), F = new f3(V).parse(U);
680
680
  F.preload(), _.setMaterials(F);
681
681
  } catch {
682
- console.warn(`MTL文件加载失败,使用默认材质: ${U}`);
682
+ console.warn(`MTL文件加载失败,使用默认材质: ${O}`);
683
683
  }
684
- const $ = _.parse(C);
684
+ const $ = _.parse(N);
685
685
  return $.traverse((E) => {
686
- E.isMesh && (E.geometry = Y(E.geometry), E.castShadow = !0, E.receiveShadow = !0, E.renderOrder = 1);
686
+ E.isMesh && (E.geometry = J(E.geometry), E.castShadow = !0, E.receiveShadow = !0, E.renderOrder = 1);
687
687
  }), G.set(q, $), $;
688
688
  }, I3 = (b, L) => {
689
- const V = new Y3();
689
+ const V = new J3();
690
690
  if (V.addLevel(b, 0), b.geometry) {
691
- const q = b.geometry.clone(), C = new X(q, b.material);
692
- V.addLevel(C, 50);
691
+ const q = b.geometry.clone(), N = new Y(q, b.material);
692
+ V.addLevel(N, 50);
693
693
  }
694
694
  return V;
695
695
  };
696
696
  let i3 = 0, s3 = 0;
697
697
  const p3 = [];
698
- e3.loadMeshCb = async (b, L, V, q, C) => {
699
- const _ = b.split("/").pop(), U = V || (() => {
698
+ e3.loadMeshCb = async (b, L, V, q, N) => {
699
+ const _ = b.split("/").pop(), O = V || (() => {
700
700
  });
701
701
  i3++;
702
- const $ = new Promise(async (E, O) => {
702
+ const $ = new Promise(async (E, U) => {
703
703
  try {
704
704
  const R = await T(_);
705
705
  if (!R || R.size === 0)
@@ -716,7 +716,7 @@ function B1(c, e, n, H, a) {
716
716
  default:
717
717
  throw new Error(`不支持的文件格式: ${F}`);
718
718
  }
719
- P.enableLOD && k.isMesh && (k = I3(k, _)), U(k), s3++, q && q({
719
+ P.enableLOD && k.isMesh && (k = I3(k, _)), O(k), s3++, q && q({
720
720
  loaded: s3,
721
721
  total: i3,
722
722
  progress: s3 / i3
@@ -724,19 +724,19 @@ function B1(c, e, n, H, a) {
724
724
  } catch (R) {
725
725
  console.error(`mesh文件加载失败: ${_}`, R);
726
726
  const F = new v3();
727
- U(F), E(F);
728
- const k = new P3(0.1, 0.1, 0.1), U3 = new G3({ color: 16711680, wireframe: !0 });
729
- return new X(k, U3);
727
+ O(F), E(F);
728
+ const k = new P3(0.1, 0.1, 0.1), O3 = new G3({ color: 16711680, wireframe: !0 });
729
+ return new Y(k, O3);
730
730
  }
731
731
  });
732
732
  p3.push($);
733
733
  };
734
734
  try {
735
- if (!K) {
735
+ if (!Z) {
736
736
  h3.value = void 0;
737
737
  break;
738
738
  }
739
- if (o = await e3.loadAsync(K), console.log(`URDF文件加载完成,等待${i3}个mesh文件加载...`), p3.length > 0)
739
+ if (o = await e3.loadAsync(Z), console.log(`URDF文件加载完成,等待${i3}个mesh文件加载...`), p3.length > 0)
740
740
  try {
741
741
  await Promise.allSettled(p3), console.log(`所有mesh文件处理完成,成功加载: ${s3}/${i3}`);
742
742
  } catch (V) {
@@ -757,7 +757,7 @@ function B1(c, e, n, H, a) {
757
757
  } catch (b) {
758
758
  console.error("URDF加载失败:", b), h3.value = void 0;
759
759
  } finally {
760
- K && URL.revokeObjectURL(K);
760
+ Z && URL.revokeObjectURL(Z);
761
761
  }
762
762
  break;
763
763
  default: