ss-component-new 1.3.113 → 1.3.114

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 (112) hide show
  1. package/dist/{MTLLoader-BviVUPWi.cjs → MTLLoader-DcIQb_s3.cjs} +1 -1
  2. package/dist/{MTLLoader-y4B1LPuT.js → MTLLoader-iRxhJhIF.js} +34 -34
  3. package/dist/{OrbitControls-Cqppy3wb.cjs → OrbitControls-9REskSZo.cjs} +1 -1
  4. package/dist/{OrbitControls-390k2OM3.js → OrbitControls-PQJZejy_.js} +1 -1
  5. package/dist/{URDFLoader-C2tFq0lk.cjs → URDFLoader-BuABv8Tv.cjs} +1 -1
  6. package/dist/{URDFLoader-BlbEAIgR.js → URDFLoader-Buak6sTX.js} +222 -222
  7. package/dist/{animationData-DfDLy_M4.js → animationData-DJhhkfHw.js} +18 -18
  8. package/dist/{animationData-B1Jlpr7b.cjs → animationData-DiCszzEt.cjs} +1 -1
  9. package/dist/{array-DLBDgy0c.js → array-Be4dCwU5.js} +5 -5
  10. package/dist/{array-ymebeoXj.cjs → array-BsWbhqqH.cjs} +1 -1
  11. package/dist/{iconfont-cBX7rs7k.cjs → iconfont-CTi1EROO.cjs} +1 -1
  12. package/dist/{iconfont-BYa5tDrN.js → iconfont-Dkz3EhnP.js} +37 -37
  13. package/dist/{index-JJBPRJiI.cjs → index-1ATQxYGc.cjs} +1 -1
  14. package/dist/{index-UytjSmc1.cjs → index-69FRQH94.cjs} +1 -1
  15. package/dist/{index-4p0yEeUu.js → index-B2WIMplB.js} +1 -1
  16. package/dist/{index--hQDmx_x.js → index-B2pcDjLn.js} +2 -2
  17. package/dist/{index-pE8_wnGy.cjs → index-B9sLkbkE.cjs} +1 -1
  18. package/dist/{index-DdCyGfF9.cjs → index-BBrdsI9W.cjs} +1 -1
  19. package/dist/{index-DJoiySWn.cjs → index-BEpwtI2Q.cjs} +1 -1
  20. package/dist/{index-BXZlLwr6.cjs → index-Bd8mah99.cjs} +1 -1
  21. package/dist/{index-CXtLJs5O.js → index-BhJTGJWX.js} +27 -25
  22. package/dist/{index-C2yeqxnB.js → index-BhPhyI8f.js} +3 -3
  23. package/dist/{index-bbJ9Y_oO.js → index-BhU0rWGt.js} +3 -3
  24. package/dist/index-BhsUBoCD.cjs +1 -0
  25. package/dist/{index-DpirbR20.js → index-Bjm0BPhX.js} +12 -12
  26. package/dist/{index-BmlomuGZ.cjs → index-Bk8qPn0a.cjs} +1 -1
  27. package/dist/{index-BfNg0B2v.js → index-BsoWrBpk.js} +33 -33
  28. package/dist/{index-DpIzJvIr.cjs → index-BuaAY6T_.cjs} +1 -1
  29. package/dist/{index-DaX27S_0.js → index-BugYnyXc.js} +31 -31
  30. package/dist/{index-DMzBNabY.js → index-Bz_ZsUz_.js} +1 -1
  31. package/dist/{index-D6UEkdRE.cjs → index-C1HjpqRi.cjs} +1 -1
  32. package/dist/{index-CXkaTWVT.js → index-C3LqP4qY.js} +2 -2
  33. package/dist/{index-DovAfsVt.js → index-C4NqB81x.js} +2 -2
  34. package/dist/{index-D0e2ki27.js → index-CMMIt7u5.js} +63 -64
  35. package/dist/{index-DLK6UU4l.cjs → index-C_CGGyPH.cjs} +1 -1
  36. package/dist/{index-CYXsxIou.js → index-CdOlTQZV.js} +1 -1
  37. package/dist/{index-CVwsrCrZ.cjs → index-CdzQfZvY.cjs} +12 -12
  38. package/dist/{index-CaV5K0t4.js → index-Cn5h5u4P.js} +2408 -2005
  39. package/dist/{index-Cg30L32X.cjs → index-CpZcO0Vv.cjs} +3 -3
  40. package/dist/{index-BxmhgJuz.js → index-Cw0eFU8n.js} +1 -1
  41. package/dist/{index-CXlemLjY.js → index-D8c3Spt0.js} +1 -1
  42. package/dist/{index-Drd5_tIE.js → index-DHrzZlzn.js} +2 -2
  43. package/dist/{index-CEiscADV.cjs → index-DVhZbYfk.cjs} +1 -1
  44. package/dist/{index-CJiEoadC.js → index-Dar27fP9.js} +5 -5
  45. package/dist/index-DavcqNxP.cjs +1 -0
  46. package/dist/{index-DczQgLYk.cjs → index-DbAWw4as.cjs} +5 -5
  47. package/dist/{index-C6_KNp1M.cjs → index-DbnQZ22f.cjs} +1 -1
  48. package/dist/{index-CIoHy7Dg.js → index-Ddn_i6kt.js} +3 -3
  49. package/dist/index-DgBjwajW.js +456 -0
  50. package/dist/{index-SeEbZNcJ.cjs → index-DhFQdrUj.cjs} +1 -1
  51. package/dist/index-DiowIVZT.cjs +36 -0
  52. package/dist/{index-YwMY3Aya.js → index-DkgsdCot.js} +7 -7
  53. package/dist/{index-NdxRkX7O.js → index-Do9OpnU6.js} +316 -316
  54. package/dist/{index-DONt1we8.js → index-DpdFnDS3.js} +128 -78
  55. package/dist/{index-mabPGJUl.js → index-DqljyATQ.js} +1924 -1902
  56. package/dist/{index-B9g8IV0C.cjs → index-Dxxg-n__.cjs} +1 -1
  57. package/dist/{index-B22a33l9.js → index-DzSpBcvn.js} +1 -1
  58. package/dist/{index-BjAtlMRE.cjs → index-OS-qw-PB.cjs} +1 -1
  59. package/dist/{index-BVURmufk.js → index-RJF35C5O.js} +7 -7
  60. package/dist/index-SJHk-hwy.cjs +1 -0
  61. package/dist/index-TspEOSLc.cjs +1 -0
  62. package/dist/{index-DnJB2OQC.cjs → index-d198q36G.cjs} +1 -1
  63. package/dist/{index-CVySIgt4.cjs → index-eOampyhu.cjs} +1 -1
  64. package/dist/index-h4MsH7WN.cjs +1 -0
  65. package/dist/{index-DBdrmcqM.cjs → index-hSBc9pHD.cjs} +1 -1
  66. package/dist/index-kP2LUcSw.cjs +1 -0
  67. package/dist/{index-BIOl9xBh.js → index-p6bofhog.js} +2 -2
  68. package/dist/{index-D39f9FDD.cjs → index-rgLAMPYl.cjs} +1 -1
  69. package/dist/{index-8TMkI46d.js → index-tXc9-Dpz.js} +5 -5
  70. package/dist/{index-Cu75UXH1.js → index-wT_u7Sip.js} +2 -2
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js} +19045 -19450
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CvIVRrBm.cjs → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CuQjU1nB.cjs} +397 -397
  73. package/dist/{index.vue_vue_type_style_index_1_lang-B2vRPxHe.cjs → index.vue_vue_type_style_index_1_lang-AEdMqNIL.cjs} +2 -2
  74. package/dist/{index.vue_vue_type_style_index_1_lang-B88Ne666.js → index.vue_vue_type_style_index_1_lang-DzaXkSeA.js} +134 -134
  75. package/dist/{main-b1OREkjD.js → main-BuHWLsd1.js} +4 -4
  76. package/dist/{main-ChE0Sl1V.cjs → main-CvEytDJd.cjs} +1 -1
  77. package/dist/{menuIndex-QovY60sY.cjs → menuIndex-7DwfwtqQ.cjs} +1 -1
  78. package/dist/{menuIndex-BlBV6RY8.js → menuIndex-BpEQqtCU.js} +1 -1
  79. package/dist/ss-component.cjs +1 -1
  80. package/dist/ss-component.css +1 -1
  81. package/dist/ss-component.js +10 -10
  82. package/dist/ss-component2.cjs +1 -1
  83. package/dist/ss-component2.js +12 -12
  84. package/dist/{threeModel-BTiM-_yY.cjs → threeModel-BBPdmBqX.cjs} +1 -1
  85. package/dist/{threeModel-CUViA1pV.js → threeModel-qPRHxt0O.js} +62 -62
  86. package/dist/{threePreview-fEcukbqP.js → threePreview-BNspl3PQ.js} +102 -102
  87. package/dist/{threePreview-DiDVwpOj.cjs → threePreview-BQfgRzYJ.cjs} +1 -1
  88. package/dist/{threeSceneView-CxhlNkvh.cjs → threeSceneView-BTG6qz5g.cjs} +1 -1
  89. package/dist/{threeSceneView-BsxoPqAA.js → threeSceneView-Dkw-3Lex.js} +133 -133
  90. package/dist/{threeSceneViewForCPMPIP-CCTwBiPg.js → threeSceneViewForCPMPIP-BUGbgcyW.js} +8 -8
  91. package/dist/{threeSceneViewForCPMPIP-Bq9A66VO.cjs → threeSceneViewForCPMPIP-DZtGuJLA.cjs} +1 -1
  92. package/dist/{threeTrackPathView-D7zto1f1.cjs → threeTrackPathView-BMRciFya.cjs} +1 -1
  93. package/dist/{threeTrackPathView-DbqptnRu.js → threeTrackPathView-D5aLq-PQ.js} +94 -94
  94. package/dist/{threeViewerHost-B9vgyTcM.js → threeViewerHost-B5ajpfKi.js} +17 -17
  95. package/dist/{threeViewerHost-Dhc4vxhv.cjs → threeViewerHost-DZgqSUXb.cjs} +1 -1
  96. package/dist/{urdfTree-CfUfqc73.cjs → urdfTree-CXoYn4F5.cjs} +1 -1
  97. package/dist/{urdfTree-B9gafrR3.js → urdfTree-DVRrRAEg.js} +1 -1
  98. package/dist/{workpieceTreePanel-DzEBifIL.cjs → workpieceTreePanel--Lz2aEfm.cjs} +1 -1
  99. package/dist/{workpieceTreePanel-CoUx6lll.js → workpieceTreePanel-myjwdWI9.js} +81 -81
  100. package/package.json +1 -1
  101. package/dist/index-8ddlDjHL.js +0 -455
  102. package/dist/index-BLGT4-wX.cjs +0 -1
  103. package/dist/index-CTGhzBZx.cjs +0 -1
  104. package/dist/index-D7Ao1GyZ.cjs +0 -1
  105. package/dist/index-DUqjjluX.cjs +0 -1
  106. package/dist/index-NtRUaVwS.cjs +0 -1
  107. package/dist/index-aMvM6ti6.cjs +0 -1
  108. package/dist/index-kutaq0AT.cjs +0 -36
  109. package/dist/obj/model.mtl +0 -42
  110. package/dist/obj/model.obj +0 -26110
  111. package/public/obj/model.mtl +0 -42
  112. package/public/obj/model.obj +0 -26110
@@ -1,19 +1,19 @@
1
- import { ref as b, watch as Pe, createElementBlock as Z, openBlock as Y, createBlock as Ie, computed as ie, onMounted as $e, onUnmounted as je, Fragment as Xe, renderList as Ye, createElementVNode as h, createCommentVNode as xe, toDisplayString as ae, resolveComponent as Je, createVNode as z, defineComponent as He, normalizeStyle as Fe, normalizeClass as Ee, nextTick as Be, onBeforeUnmount as Ze, withDirectives as se, unref as O, withCtx as Te, isRef as he, vModelRadio as ye, vShow as we } from "vue";
2
- import { V as M, G as be, H as qe, J as We, P as Ke, W as Ne, K as Qe, L as et, M as tt, N as Re, X as nt, O as at, Q as Me, R as ot, T as De, U as st, Y as ke, Z as lt, _ as Ve, $ as Oe, a0 as Ue, a1 as ze, a2 as _e, a3 as de, a4 as it, a5 as rt, a6 as ct } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js";
3
- import { O as ut } from "./OrbitControls-390k2OM3.js";
4
- import { s as dt } from "./index-NdxRkX7O.js";
5
- import { u as pt } from "./index.vue_vue_type_style_index_1_lang-B88Ne666.js";
1
+ import { ref as b, watch as Pe, createElementBlock as Z, openBlock as Y, createBlock as Ie, computed as ie, onMounted as $e, onUnmounted as je, Fragment as Xe, renderList as Ye, createElementVNode as h, createCommentVNode as xe, toDisplayString as ae, resolveComponent as Je, createVNode as z, defineComponent as He, normalizeStyle as Ee, normalizeClass as Fe, nextTick as Be, onBeforeUnmount as Ze, withDirectives as se, unref as O, withCtx as Te, isRef as he, vModelRadio as ye, vShow as we } from "vue";
2
+ import { V as M, B as be, A as qe, C as We, P as Ke, W as Ne, D as Qe, E as et, G as tt, M as Re, X as nt, H as at, J as Me, K as ot, L as De, N as st, O as ke, Q as lt, R as Ve, T as Oe, U as Ue, Y as ze, Z as _e, _ as de, $ as it, a0 as rt, a1 as ct } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
3
+ import { O as ut } from "./OrbitControls-PQJZejy_.js";
4
+ import { s as dt } from "./index-Do9OpnU6.js";
5
+ import { u as pt } from "./index.vue_vue_type_style_index_1_lang-DzaXkSeA.js";
6
6
  import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as Ge } from "./index-CaV5K0t4.js";
7
+ import { c as Ge } from "./index-Cn5h5u4P.js";
8
8
  import { E as Le } from "./index-WLdc1goT.js";
9
- function mt(F) {
9
+ function mt(E) {
10
10
  let f = null, r = null, c = null, v = null, w = null, k = null, i = null, A = null;
11
- const E = 1e3 / 30;
11
+ const F = 1e3 / 30;
12
12
  let T = 0;
13
13
  const D = b([]), l = b(new M()), C = b(new M()), g = () => {
14
- if (!F.value) return;
14
+ if (!E.value) return;
15
15
  f = new qe(), f.background = new We(15790320);
16
- const d = F.value;
16
+ const d = E.value;
17
17
  r = new Ke(75, d.clientWidth / d.clientHeight, 0.1, 1e4), r.position.set(8, -8, 6), r.up.set(0, 0, 1), r.lookAt(0, 0, 0), c = new Ne({
18
18
  antialias: !0,
19
19
  alpha: !0
@@ -104,7 +104,7 @@ function mt(F) {
104
104
  }, _ = () => {
105
105
  k = requestAnimationFrame(_), v && v.update();
106
106
  const d = performance.now(), a = d - T;
107
- a < E || (T = d - a % E, c && f && r && c.render(f, r), w && w.render());
107
+ a < F || (T = d - a % F, c && f && r && c.render(f, r), w && w.render());
108
108
  }, U = (d) => {
109
109
  [
110
110
  "map",
@@ -136,8 +136,8 @@ function mt(F) {
136
136
  // 方法
137
137
  initThreeJS: g,
138
138
  handleResize: () => {
139
- if (!F.value || !r || !c || !w) return;
140
- const d = F.value, a = d.clientWidth, S = d.clientHeight;
139
+ if (!E.value || !r || !c || !w) return;
140
+ const d = E.value, a = d.clientWidth, S = d.clientHeight;
141
141
  r.aspect = a / S, r.updateProjectionMatrix(), c.setSize(a, S), w.update();
142
142
  },
143
143
  fitCameraToAllModels: (d) => {
@@ -184,27 +184,27 @@ function mt(F) {
184
184
  updateGridForModels: u
185
185
  };
186
186
  }
187
- function ft(F, f) {
187
+ function ft(E, f) {
188
188
  const r = b(!1);
189
189
  let c = null, v = 12700, w = new M(), k = new M(), i = new M(), A = 0, I = null;
190
- const E = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, T = (e) => {
190
+ const F = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, T = (e) => {
191
191
  const u = new M(), p = A * 1.2, _ = new M(i.x + p, i.y, i.z), U = new M(i.x, i.y + p, i.z), V = new M(i.x, i.y - p, i.z);
192
192
  if (e <= 0.567) {
193
193
  const G = e / 0.567 * Math.PI * 2;
194
194
  u.x = i.x + Math.cos(G) * p, u.z = i.z + Math.sin(G) * p, u.y = i.y;
195
195
  } else if (e <= 0.724) {
196
- const J = (e - 0.567) / 0.157, G = E(J);
196
+ const J = (e - 0.567) / 0.157, G = F(J);
197
197
  u.lerpVectors(_, U, G);
198
198
  } else if (e <= 0.881) {
199
- const J = (e - 0.724) / 0.157, j = E(J) * Math.PI;
199
+ const J = (e - 0.724) / 0.157, j = F(J) * Math.PI;
200
200
  u.x = i.x + Math.sin(j) * p, u.y = i.y + Math.cos(j) * p, u.z = i.z;
201
201
  } else {
202
- const J = (e - 0.881) / 0.119, G = E(J);
202
+ const J = (e - 0.881) / 0.119, G = F(J);
203
203
  u.lerpVectors(V, w, G);
204
204
  }
205
205
  return u;
206
206
  }, D = () => {
207
- const { camera: e, controls: u } = F();
207
+ const { camera: e, controls: u } = E();
208
208
  if (!e || !u) return;
209
209
  c || (c = Date.now());
210
210
  const p = Date.now() - c, _ = Math.min(p / v, 1);
@@ -216,7 +216,7 @@ function ft(F, f) {
216
216
  e.position.copy(U), e.lookAt(i), u.target.copy(i), I = requestAnimationFrame(D);
217
217
  }, l = () => {
218
218
  if (f.value.length === 0) return;
219
- const { camera: e, controls: u } = F();
219
+ const { camera: e, controls: u } = E();
220
220
  if (!e || !u) return;
221
221
  w.copy(e.position), k.copy(u.target);
222
222
  const p = new be();
@@ -228,13 +228,13 @@ function ft(F, f) {
228
228
  const U = new M(i.x + A * 1.2, i.y, i.z);
229
229
  u.enabled = !1;
230
230
  const V = e.position.clone(), J = 1e3, G = Date.now(), j = () => {
231
- const q = Date.now() - G, ee = Math.min(q / J, 1), d = E(ee);
231
+ const q = Date.now() - G, ee = Math.min(q / J, 1), d = F(ee);
232
232
  e.position.lerpVectors(V, U, d), e.lookAt(i), u.target.copy(i), ee < 1 ? requestAnimationFrame(j) : (r.value = !0, c = null, D());
233
233
  };
234
234
  j();
235
235
  }, C = () => {
236
236
  r.value = !1, c = null, I && (cancelAnimationFrame(I), I = null);
237
- const { controls: e } = F();
237
+ const { controls: e } = E();
238
238
  e && (e.enabled = !0, e.target.copy(k));
239
239
  };
240
240
  return {
@@ -242,11 +242,11 @@ function ft(F, f) {
242
242
  toggleAnimation: () => {
243
243
  if (r.value) {
244
244
  r.value = !1, c = null, I && (cancelAnimationFrame(I), I = null);
245
- const { camera: e, controls: u } = F();
245
+ const { camera: e, controls: u } = E();
246
246
  if (!e || !u) return;
247
247
  u.enabled = !0;
248
248
  const p = e.position.clone(), _ = u.target.clone(), U = 1500, V = Date.now(), J = () => {
249
- const G = Date.now() - V, j = Math.min(G / U, 1), q = E(j);
249
+ const G = Date.now() - V, j = Math.min(G / U, 1), q = F(j);
250
250
  e.position.lerpVectors(p, w, q), u.target.lerpVectors(_, k, q), j < 1 && requestAnimationFrame(J);
251
251
  };
252
252
  J();
@@ -257,7 +257,7 @@ function ft(F, f) {
257
257
  stopAnimation: C
258
258
  };
259
259
  }
260
- function vt(F, f) {
260
+ function vt(E, f) {
261
261
  const r = b(!1), c = b("none");
262
262
  let v = [], w = [], k = new be(), i = new M();
263
263
  const A = () => {
@@ -273,7 +273,7 @@ function vt(F, f) {
273
273
  k.makeEmpty(), f.value.forEach((g) => {
274
274
  k.expandByObject(g);
275
275
  }), i = k.getCenter(new M());
276
- }, E = (g) => {
276
+ }, F = (g) => {
277
277
  const e = k.getSize(new M());
278
278
  let u, p, _;
279
279
  g === "x" ? (u = new Me(e.z * 1.2, e.y * 1.2), p = new M(i.x, i.y, i.z), _ = new _e(0, Math.PI / 2, 0)) : g === "y" ? (u = new Me(e.x * 1.2, e.z * 1.2), p = new M(i.x, i.y, i.z), _ = new _e(Math.PI / 2, 0, 0)) : g === "z" && (u = new Me(e.x * 1.2, e.y * 1.2), p = new M(i.x, i.y, i.z), _ = new _e(0, 0, 0));
@@ -298,9 +298,9 @@ function vt(F, f) {
298
298
  }) : p.material.clippingPlanes = [g]);
299
299
  });
300
300
  });
301
- const { scene: e } = F();
301
+ const { scene: e } = E();
302
302
  if (e) {
303
- const u = E(c.value);
303
+ const u = F(c.value);
304
304
  e.add(u), w.push(u);
305
305
  }
306
306
  }
@@ -313,7 +313,7 @@ function vt(F, f) {
313
313
  });
314
314
  });
315
315
  }, l = () => {
316
- const { scene: g } = F();
316
+ const { scene: g } = E();
317
317
  g && w.forEach((e) => {
318
318
  g.remove(e), e.geometry.dispose(), e.material.dispose();
319
319
  }), w = [];
@@ -335,8 +335,8 @@ const gt = { class: "panel-content" }, ht = {
335
335
  animationData: Object,
336
336
  model: Object
337
337
  },
338
- setup(F) {
339
- const f = F;
338
+ setup(E) {
339
+ const f = E;
340
340
  b();
341
341
  const r = b();
342
342
  return Pe(
@@ -365,7 +365,7 @@ const gt = { class: "panel-content" }, ht = {
365
365
  }, Mt = { class: "joint-info-row" }, Pt = { class: "joint-left" }, bt = { class: "joint-name" }, Ct = { class: "joint-range" }, kt = { class: "joint-type" }, zt = {
366
366
  key: 0,
367
367
  class: "joint-control-row"
368
- }, _t = { class: "slider-container" }, At = ["min", "max", "value", "onInput", "disabled"], Dt = { class: "value-display" }, St = { class: "joint-value" }, Ft = { class: "unit" }, Et = {
368
+ }, _t = { class: "slider-container" }, At = ["min", "max", "value", "onInput", "disabled"], Dt = { class: "value-display" }, St = { class: "joint-value" }, Et = { class: "unit" }, Ft = {
369
369
  key: 1,
370
370
  class: "empty-state"
371
371
  }, pe = 1e-3, Bt = 1e3, Ae = 60, Tt = {
@@ -375,10 +375,10 @@ const gt = { class: "panel-content" }, ht = {
375
375
  scene: Object,
376
376
  animationData: Object
377
377
  },
378
- setup(F, { expose: f }) {
379
- const r = F;
378
+ setup(E, { expose: f }) {
379
+ const r = E;
380
380
  b(!0);
381
- const c = b([]), v = b(null), w = b(null), k = b(12.5), i = b(), A = b(1302), I = b(30), E = b(!1), T = b(!1), D = b(0), l = b(0), C = b(null), g = it.degToRad, e = b(1), u = () => Bt / Ae / e.value;
381
+ const c = b([]), v = b(null), w = b(null), k = b(12.5), i = b(), A = b(1302), I = b(30), F = b(!1), T = b(!1), D = b(0), l = b(0), C = b(null), g = it.degToRad, e = b(1), u = () => Bt / Ae / e.value;
382
382
  let p = [];
383
383
  Pe(
384
384
  () => r.animationData,
@@ -538,9 +538,9 @@ const gt = { class: "panel-content" }, ht = {
538
538
  console.warn("没有动画数据");
539
539
  return;
540
540
  }
541
- U(), E.value = !0, T.value = !1, D.value = 0, l.value = 0, R();
541
+ U(), F.value = !0, T.value = !1, D.value = 0, l.value = 0, R();
542
542
  }, R = () => {
543
- if (!E.value || T.value) return;
543
+ if (!F.value || T.value) return;
544
544
  const n = D.value;
545
545
  if (n >= p.length - 1) {
546
546
  const o = p[p.length - 1];
@@ -557,7 +557,7 @@ const gt = { class: "panel-content" }, ht = {
557
557
  }, X = () => {
558
558
  T.value = !0, C.value && (clearTimeout(C.value), C.value = null);
559
559
  }, W = () => {
560
- E.value = !1, T.value = !1, e.value = 1, C.value && (clearTimeout(C.value), C.value = null);
560
+ F.value = !1, T.value = !1, e.value = 1, C.value && (clearTimeout(C.value), C.value = null);
561
561
  };
562
562
  f({
563
563
  startAnimation: S,
@@ -582,7 +582,7 @@ const gt = { class: "panel-content" }, ht = {
582
582
  { immediate: !0 }
583
583
  );
584
584
  const re = () => {
585
- !r.model || E.value && !T.value || c.value.forEach((n) => {
585
+ !r.model || F.value && !T.value || c.value.forEach((n) => {
586
586
  n.urdfJoint && n.urdfJoint.angle !== void 0 && (n.currentValue = n.urdfJoint.angle);
587
587
  });
588
588
  }, fe = () => {
@@ -622,17 +622,17 @@ const gt = { class: "panel-content" }, ht = {
622
622
  value: s.currentValue,
623
623
  onInput: (H) => J(s.name, H.target.value),
624
624
  class: "joint-slider",
625
- disabled: E.value && !T.value
625
+ disabled: F.value && !T.value
626
626
  }, null, 40, At)
627
627
  ]),
628
628
  h("div", Dt, [
629
629
  h("span", St, ae(s.currentValue ? Number(s.currentValue).toFixed(3) : "0.000"), 1),
630
- h("span", Ft, ae(s.type === "revolute" ? "rad" : "m"), 1)
630
+ h("span", Et, ae(s.type === "revolute" ? "rad" : "m"), 1)
631
631
  ])
632
632
  ])) : xe("", !0)
633
633
  ]);
634
634
  }), 128))
635
- ])) : (Y(), Z("div", Et, m[0] || (m[0] = [
635
+ ])) : (Y(), Z("div", Ft, m[0] || (m[0] = [
636
636
  h("p", null, "未检测到可控制的关节", -1)
637
637
  ])))
638
638
  ]));
@@ -648,12 +648,12 @@ const gt = { class: "panel-content" }, ht = {
648
648
  expandStrategy: {
649
649
  type: String,
650
650
  default: "breadth",
651
- validator: (F) => ["breadth", "firstLevel"].includes(F)
651
+ validator: (E) => ["breadth", "firstLevel"].includes(E)
652
652
  }
653
653
  },
654
654
  emits: ["nodeClick"],
655
- setup(F, { emit: f }) {
656
- const r = F, c = f, v = b([]), w = {
655
+ setup(E, { emit: f }) {
656
+ const r = E, c = f, v = b([]), w = {
657
657
  children: "children",
658
658
  label: "label"
659
659
  }, k = (l) => {
@@ -695,7 +695,7 @@ const gt = { class: "panel-content" }, ht = {
695
695
  u.children && u.children.length > 0 && (g.push(u.id), e.push(...u.children));
696
696
  }
697
697
  return g;
698
- }, E = (l, C) => {
698
+ }, F = (l, C) => {
699
699
  const g = [];
700
700
  return l.forEach((e) => {
701
701
  if (e.children && e.children.length > 0) {
@@ -704,7 +704,7 @@ const gt = { class: "panel-content" }, ht = {
704
704
  g.push(...u);
705
705
  }
706
706
  }), g.slice(0, C + 1);
707
- }, T = ie(() => !v.value || v.value.length === 0 ? [] : r.expandStrategy === "firstLevel" ? E(v.value, r.maxExpandCount) : I(v.value, r.maxExpandCount)), D = ie(() => r != null && r.model ? A(r.model) : []);
707
+ }, T = ie(() => !v.value || v.value.length === 0 ? [] : r.expandStrategy === "firstLevel" ? F(v.value, r.maxExpandCount) : I(v.value, r.maxExpandCount)), D = ie(() => r != null && r.model ? A(r.model) : []);
708
708
  return Pe(
709
709
  D,
710
710
  (l) => {
@@ -734,8 +734,8 @@ const gt = { class: "panel-content" }, ht = {
734
734
  spin: { type: Boolean, default: !1 },
735
735
  active: { type: Boolean, default: !1 }
736
736
  },
737
- setup(F) {
738
- const f = F, r = ie(
737
+ setup(E) {
738
+ const f = E, r = ie(
739
739
  () => ({
740
740
  backgroundColor: f.backgroundColor
741
741
  })
@@ -748,12 +748,12 @@ const gt = { class: "panel-content" }, ht = {
748
748
  };
749
749
  });
750
750
  return (w, k) => (Y(), Z("div", {
751
- class: Ee(["container", { active: w.active }]),
752
- style: Fe(r.value)
751
+ class: Fe(["container", { active: w.active }]),
752
+ style: Ee(r.value)
753
753
  }, [
754
754
  (Y(), Z("svg", {
755
- class: Ee(["svg-icon", [w.$attrs.class, w.spin && "svg-icon-spin"]]),
756
- style: Fe(v.value),
755
+ class: Fe(["svg-icon", [w.$attrs.class, w.spin && "svg-icon-spin"]]),
756
+ style: Ee(v.value),
757
757
  "aria-hidden": "true"
758
758
  }, [
759
759
  h("use", { "xlink:href": c.value }, null, 8, Jt)
@@ -776,12 +776,12 @@ const gt = { class: "panel-content" }, ht = {
776
776
  }
777
777
  },
778
778
  emits: ["getAnimationData"],
779
- setup(F, { expose: f, emit: r }) {
779
+ setup(E, { expose: f, emit: r }) {
780
780
  const c = r;
781
781
  let v = null, w = !1;
782
782
  const k = b(null), i = b(!1), A = b("");
783
783
  b(!1);
784
- const I = b(!1), E = b(!1), T = b(""), D = b(!1), l = b(""), C = b(), {
784
+ const I = b(!1), F = b(!1), T = b(""), D = b(!1), l = b(""), C = b(), {
785
785
  currentModels: g,
786
786
  initialCameraPosition: e,
787
787
  initialTargetPosition: u,
@@ -825,7 +825,7 @@ const gt = { class: "panel-content" }, ht = {
825
825
  throw console.error("加载模型失败:", y), y;
826
826
  }
827
827
  }, Ce = async (o) => fe(o, X), n = async (o) => fe(o, W), m = (o) => {
828
- E.value = !0, T.value = o, o === "剖面视图" && !d.value && S();
828
+ F.value = !0, T.value = o, o === "剖面视图" && !d.value && S();
829
829
  }, s = (o) => {
830
830
  D.value = !0, l.value = o, o === "动画仿真" && c("getAnimationData");
831
831
  }, x = () => {
@@ -906,14 +906,14 @@ const gt = { class: "panel-content" }, ht = {
906
906
  name: "jiegoushu",
907
907
  size: "24",
908
908
  onClick: t[0] || (t[0] = (P) => m("场景树")),
909
- active: E.value && T.value === "场景树",
909
+ active: F.value && T.value === "场景树",
910
910
  title: "场景树"
911
911
  }, null, 8, ["active"]),
912
912
  z(B, {
913
913
  name: "clipping",
914
914
  size: "24",
915
915
  onClick: t[1] || (t[1] = (P) => m("剖面视图")),
916
- active: E.value && T.value === "剖面视图",
916
+ active: F.value && T.value === "剖面视图",
917
917
  title: "剖面视图"
918
918
  }, null, 8, ["active"]),
919
919
  z(B, {
@@ -1001,7 +1001,7 @@ const gt = { class: "panel-content" }, ht = {
1001
1001
  h("span", null, ae(T.value), 1),
1002
1002
  h("span", {
1003
1003
  class: "close",
1004
- onClick: t[6] || (t[6] = (P) => E.value = !1)
1004
+ onClick: t[6] || (t[6] = (P) => F.value = !1)
1005
1005
  }, " X ")
1006
1006
  ]),
1007
1007
  z(y, { "max-height": "650px" }, {
@@ -1066,7 +1066,7 @@ const gt = { class: "panel-content" }, ht = {
1066
1066
  _: 1
1067
1067
  })
1068
1068
  ], 512), [
1069
- [we, E.value]
1069
+ [we, F.value]
1070
1070
  ]),
1071
1071
  se(h("div", nn, [
1072
1072
  h("div", an, [
@@ -1083,11 +1083,11 @@ const gt = { class: "panel-content" }, ht = {
1083
1083
  ref: C,
1084
1084
  model: O(K),
1085
1085
  scene: O(v),
1086
- animationData: F.animationData
1086
+ animationData: E.animationData
1087
1087
  }, null, 8, ["model", "scene", "animationData"]), [
1088
1088
  [we, l.value === "关节控制"]
1089
1089
  ]),
1090
- se(z(yt, { animationData: F.animationData }, null, 8, ["animationData"]), [
1090
+ se(z(yt, { animationData: E.animationData }, null, 8, ["animationData"]), [
1091
1091
  [we, l.value === "动画仿真"]
1092
1092
  ])
1093
1093
  ]),