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,20 +1,20 @@
1
- import { defineComponent as Le, ref as h, watch as ne, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as U, createElementBlock as Te, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as D, createBlock as ye, createCommentVNode as ke, unref as X, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as He, renderList as qe, nextTick as Ke, withDirectives as pe, vShow as de, renderSlot as De } from "vue";
2
- import { r as Me, s as Ye } from "./threeViewerHost-B9vgyTcM.js";
3
- import { u as Je, a as Qe, b as et, C as tt } from "./iconfont-BYa5tDrN.js";
4
- import { U as lt, u as ot, a as at, W as nt } from "./workpieceTreePanel-CoUx6lll.js";
5
- import { c as st } from "./index-CaV5K0t4.js";
6
- import { ad as it, E, av as rt, D as ct } from "./index-WLdc1goT.js";
7
- import { a5 as Ve, a6 as xe, V, a3 as H, a4 as ut, ax as pt, T as Se, ay as dt, az as mt, aA as vt, aB as ft, aC as gt, aD as ht, aE as bt, aF as yt, a0 as _t, aG as Be, aH as wt, aI as Ct, aJ as kt } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js";
8
- import "./index.vue_vue_type_style_index_1_lang-B88Ne666.js";
1
+ import { defineComponent as Le, ref as h, watch as ne, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as U, createElementBlock as Te, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, createCommentVNode as ke, unref as X, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as qe, renderList as He, nextTick as Ke, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
2
+ import { r as De, s as Ye } from "./threeViewerHost-B5ajpfKi.js";
3
+ import { u as Je, a as Qe, b as et, C as tt } from "./iconfont-Dkz3EhnP.js";
4
+ import { U as lt, u as ot, a as at, W as nt } from "./workpieceTreePanel-myjwdWI9.js";
5
+ import { c as st } from "./index-Cn5h5u4P.js";
6
+ import { ad as it, E as j, av as rt, D as ct } from "./index-WLdc1goT.js";
7
+ import { a0 as Ve, a1 as xe, V, _ as q, $ as ut, ap as pt, L as Se, aq as dt, ar as mt, as as vt, at as ft, au as gt, av as ht, aw as bt, ax as yt, U as _t, ay as Be, az as wt, aA as Ct, aB as kt } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
8
+ import "./index.vue_vue_type_style_index_1_lang-DzaXkSeA.js";
9
9
  import "./index-BHtNKL1L.js";
10
10
  import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
11
- import "./index-DpirbR20.js";
12
- import { f as Pt, a as xt, g as Rt, b as Dt } from "./animationData-DfDLy_M4.js";
13
- import { g as Mt, a as Tt, b as Vt, c as St, U as At, J as $t } from "./urdfTree-B9gafrR3.js";
11
+ import "./index-Bjm0BPhX.js";
12
+ import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-DJhhkfHw.js";
13
+ import { g as Dt, a as Tt, b as Vt, c as St, U as At, J as $t } from "./urdfTree-DVRrRAEg.js";
14
14
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import { s as Ft } from "./index-DMzBNabY.js";
15
+ import { s as Ft } from "./index-Bz_ZsUz_.js";
16
16
  import { T as Y } from "./svgIcon-4u4PW7Is.js";
17
- const I = 1e-3, oe = ut.degToRad, Ee = new dt({
17
+ const I = 1e-3, oe = ut.degToRad, je = new dt({
18
18
  // 灰色
19
19
  color: 13421772,
20
20
  metalness: 0.3,
@@ -22,7 +22,7 @@ const I = 1e-3, oe = ut.degToRad, Ee = new dt({
22
22
  side: _t
23
23
  });
24
24
  function zt(y = 5e-3, v = 64) {
25
- const d = new Ve([new V(0, 0, 0), new V(0, 0, 0)]), a = new xe(d, v, y, 16, !1), m = Ee;
25
+ const d = new Ve([new V(0, 0, 0), new V(0, 0, 0)]), a = new xe(d, v, y, 16, !1), m = je;
26
26
  return new Se(a, m);
27
27
  }
28
28
  const Ne = (y) => y.reduce((v, d) => {
@@ -38,14 +38,14 @@ const Ne = (y) => y.reduce((v, d) => {
38
38
  };
39
39
  if (!d && !m) return v;
40
40
  if (v.push(s.pos.clone()), a !== 0) {
41
- const b = new H().makeRotationAxis(s.localY, oe(a));
41
+ const b = new q().makeRotationAxis(s.localY, oe(a));
42
42
  s.localX.applyMatrix4(b), s.localZ.applyMatrix4(b);
43
43
  }
44
44
  if (d > 0 && (s.pos.add(s.localY.clone().multiplyScalar(d * I)), v.push(s.pos.clone())), m > 0 && _ > 0) {
45
45
  const b = oe(m), f = _ * I, w = s.pos.clone().add(s.localX.clone().multiplyScalar(-f)), n = Math.max(16, Math.ceil(m / 5));
46
46
  for (let C = 1; C <= n; C++) {
47
- const p = b * C / n, k = new H().makeRotationAxis(s.localZ, p), c = s.localX.clone().multiplyScalar(f).applyMatrix4(k), M = w.clone().add(c);
48
- v.push(M);
47
+ const p = b * C / n, k = new q().makeRotationAxis(s.localZ, p), c = s.localX.clone().multiplyScalar(f).applyMatrix4(k), D = w.clone().add(c);
48
+ v.push(D);
49
49
  }
50
50
  }
51
51
  return v;
@@ -63,7 +63,7 @@ function Yt(y, v) {
63
63
  for (let s = 0; s < y.length; s++) {
64
64
  const b = y[s], f = b.Y ?? 0, w = b.B ?? 0, n = b.C ?? 0, C = b.R ?? 0;
65
65
  if (w !== 0) {
66
- const p = new H().makeRotationAxis(a.localY, oe(w));
66
+ const p = new q().makeRotationAxis(a.localY, oe(w));
67
67
  a.localX.applyMatrix4(p), a.localZ.applyMatrix4(p);
68
68
  }
69
69
  if (f > 0) {
@@ -83,9 +83,9 @@ function Yt(y, v) {
83
83
  if (n > 0 && C > 0) {
84
84
  const p = oe(n), k = C * I, r = [];
85
85
  r.push(a.pos.clone());
86
- const c = a.pos.clone().add(a.localX.clone().multiplyScalar(-k)), M = Math.max(16, Math.ceil(n / 5));
87
- for (let g = 1; g <= M; g++) {
88
- const T = p * g / M, B = new H().makeRotationAxis(a.localZ, T), Z = a.localX.clone().multiplyScalar(k).applyMatrix4(B), ee = c.clone().add(Z);
86
+ const c = a.pos.clone().add(a.localX.clone().multiplyScalar(-k)), D = Math.max(16, Math.ceil(n / 5));
87
+ for (let g = 1; g <= D; g++) {
88
+ const T = p * g / D, B = new q().makeRotationAxis(a.localZ, T), Z = a.localX.clone().multiplyScalar(k).applyMatrix4(B), ee = c.clone().add(Z);
89
89
  r.push(ee);
90
90
  }
91
91
  const A = Ut(r, v * I);
@@ -98,7 +98,7 @@ function Yt(y, v) {
98
98
  centerPoint: c.toArray(),
99
99
  frame: { Y: f, B: w, C: n, R: C }
100
100
  }, A.name = `弯段_${m}`, d.add(A), Math.floor(r.length / 2), r[0], a.pos = r[r.length - 1].clone();
101
- const $ = new H().makeRotationAxis(a.localZ, p);
101
+ const $ = new q().makeRotationAxis(a.localZ, p);
102
102
  a.localY.applyMatrix4($), a.localX.applyMatrix4($), m++, _++;
103
103
  }
104
104
  }
@@ -124,13 +124,13 @@ function Bt(y, v, d, a) {
124
124
  }
125
125
  function Lt(y, v, d) {
126
126
  const a = new mt(y, v), m = new xe(a, 2, d, 18, !1);
127
- return new Se(m, Ee);
127
+ return new Se(m, je);
128
128
  }
129
129
  function Ut(y, v) {
130
130
  const d = new Ve(y, !1, "catmullrom", 0.01), a = new xe(d, Math.max(16, y.length * 2), v, 18, !1);
131
- return new Se(a, Ee);
131
+ return new Se(a, je);
132
132
  }
133
- function je(y, v, d, a, m, _ = 0) {
133
+ function Ee(y, v, d, a, m, _ = 0) {
134
134
  let s = v.slice(0, m + 1);
135
135
  const b = v[m + 1];
136
136
  if (b && _ > 0) {
@@ -155,10 +155,10 @@ function je(y, v, d, a, m, _ = 0) {
155
155
  };
156
156
  const k = [];
157
157
  for (let r = s.length - 1; r >= 0; r--) {
158
- const c = s[r], M = We(c);
159
- if (M.length > 0) {
160
- const A = M.map((B) => {
161
- const L = B.clone(), Z = new H();
158
+ const c = s[r], D = We(c);
159
+ if (D.length > 0) {
160
+ const A = D.map((B) => {
161
+ const L = B.clone(), Z = new q();
162
162
  return Z.makeBasis(p.localX, p.localY, p.localZ), L.applyMatrix4(Z), L.add(p.pos);
163
163
  });
164
164
  k.push(A);
@@ -166,11 +166,11 @@ function je(y, v, d, a, m, _ = 0) {
166
166
  p.pos = $.clone();
167
167
  const g = c.B ?? 0, T = c.C ?? 0;
168
168
  if (g !== 0) {
169
- const B = new H().makeRotationAxis(p.localY, oe(g));
169
+ const B = new q().makeRotationAxis(p.localY, oe(g));
170
170
  p.localX.applyMatrix4(B), p.localZ.applyMatrix4(B);
171
171
  }
172
172
  if (T > 0) {
173
- const B = oe(T), L = new H().makeRotationAxis(p.localZ, B);
173
+ const B = oe(T), L = new q().makeRotationAxis(p.localZ, B);
174
174
  p.localY.applyMatrix4(L), p.localX.applyMatrix4(L);
175
175
  }
176
176
  }
@@ -213,19 +213,19 @@ function Oe(y, v, d, a = 0) {
213
213
  const k = m[p], r = We(k);
214
214
  if (r.length > 0) {
215
215
  const c = r.map((g) => {
216
- const T = g.clone(), B = new H();
216
+ const T = g.clone(), B = new q();
217
217
  return B.makeBasis(n.localX, n.localY, n.localZ), T.applyMatrix4(B), T.add(n.pos);
218
218
  });
219
219
  C.push(c);
220
- const M = c[c.length - 1];
221
- n.pos = M.clone();
220
+ const D = c[c.length - 1];
221
+ n.pos = D.clone();
222
222
  const A = k.B ?? 0, $ = k.C ?? 0;
223
223
  if (A !== 0) {
224
- const g = new H().makeRotationAxis(n.localY, oe(A));
224
+ const g = new q().makeRotationAxis(n.localY, oe(A));
225
225
  n.localX.applyMatrix4(g), n.localZ.applyMatrix4(g);
226
226
  }
227
227
  if ($ > 0) {
228
- const g = oe($), T = new H().makeRotationAxis(n.localZ, g);
228
+ const g = oe($), T = new q().makeRotationAxis(n.localZ, g);
229
229
  n.localY.applyMatrix4(T), n.localX.applyMatrix4(T);
230
230
  }
231
231
  }
@@ -246,7 +246,7 @@ function Xe(y, v, d, a, m, _, s, b = 0, f = 0) {
246
246
  console.error("管件更新失败", r);
247
247
  }
248
248
  }
249
- const Et = { class: "panel-content" }, jt = { class: "action-bar" }, Ot = { class: "animation-controls" }, Xt = { class: "control-row" }, Gt = { class: "control-row" }, Zt = { class: "frame-info" }, Jt = { class: "control-row" }, Nt = { class: "progress-bar" }, Wt = { class: "dialog-footer" }, It = /* @__PURE__ */ Le({
249
+ const jt = { class: "panel-content" }, Et = { class: "action-bar" }, Ot = { class: "animation-controls" }, Xt = { class: "control-row" }, Gt = { class: "control-row" }, Zt = { class: "frame-info" }, Jt = { class: "control-row" }, Nt = { class: "progress-bar" }, Wt = { class: "dialog-footer" }, It = /* @__PURE__ */ Le({
250
250
  __name: "animationPanel",
251
251
  props: {
252
252
  model: {},
@@ -262,7 +262,7 @@ const Et = { class: "panel-content" }, jt = { class: "action-bar" }, Ot = { clas
262
262
  });
263
263
  const _ = async () => {
264
264
  let e = {};
265
- m.value === Me.SINGLE && (e = await Pt()), m.value === Me.DOUBLE && (e = await xt());
265
+ m.value === De.SINGLE && (e = await Pt()), m.value === De.DOUBLE && (e = await xt());
266
266
  const {
267
267
  initialPipeLength: o = 0,
268
268
  pipeRadius: t = 0,
@@ -274,7 +274,7 @@ const Et = { class: "panel-content" }, jt = { class: "action-bar" }, Ot = { clas
274
274
  s.value = K.length ? K : [le];
275
275
  }, s = h([]), b = h(!1), f = h(""), w = h(!1), n = h(0), C = h(0), p = h(1e3);
276
276
  let k = !1;
277
- const r = h(null), c = be(null), M = be(null), A = be(null), $ = h(0), g = h(12.5), T = h(30), B = h([]), L = h(null), Z = Pe(() => d.model ? Mt(d.model).map((t) => t.name) : []), ee = h(["Y", "B", "C", "R"]), G = Pe(() => [...Z.value, ...ee.value]), _e = Pe(() => G.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
277
+ const r = h(null), c = be(null), D = be(null), A = be(null), $ = h(0), g = h(12.5), T = h(30), B = h([]), L = h(null), Z = Pe(() => d.model ? Dt(d.model).map((t) => t.name) : []), ee = h(["Y", "B", "C", "R"]), G = Pe(() => [...Z.value, ...ee.value]), _e = Pe(() => G.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
278
278
  ${G.value.join(" ")}
279
279
  0 0 0 ...
280
280
  1 2 3 ...` : "请先加载模型。"), ve = () => s.value.map((e) => ({
@@ -302,11 +302,11 @@ ${G.value.join(" ")}
302
302
  negPipeYbcr: o
303
303
  };
304
304
  }, S = (e = 0, o = 0) => {
305
- if (c.value && M.value) {
305
+ if (c.value && D.value) {
306
306
  const t = se();
307
307
  Xe(
308
308
  c.value,
309
- M.value,
309
+ D.value,
310
310
  t.posPipeYbcr,
311
311
  t.negPipeYbcr,
312
312
  $.value,
@@ -317,7 +317,7 @@ ${G.value.join(" ")}
317
317
  );
318
318
  } else if (c.value) {
319
319
  const t = ve();
320
- je(c.value, t, $.value, g.value, e, o);
320
+ Ee(c.value, t, $.value, g.value, e, o);
321
321
  }
322
322
  }, P = (e) => {
323
323
  if (e < 0 || e >= s.value.length) {
@@ -335,7 +335,7 @@ ${G.value.join(" ")}
335
335
  S(e, 0);
336
336
  }, J = async () => {
337
337
  if (s.value.length === 0) {
338
- E.error("无法播放动画:无数据");
338
+ j.error("无法播放动画:无数据");
339
339
  return;
340
340
  }
341
341
  if (!w.value) {
@@ -355,23 +355,23 @@ ${G.value.join(" ")}
355
355
  }
356
356
  ) : (await new Promise((i) => setTimeout(i, p.value)), C.value = (e + 1) / s.value.length * 100);
357
357
  }
358
- k || E.success("动画播放完成");
358
+ k || j.success("动画播放完成");
359
359
  } catch (e) {
360
- console.error("动画播放出错:", e), E.error("动画播放出错");
360
+ console.error("动画播放出错:", e), j.error("动画播放出错");
361
361
  } finally {
362
362
  w.value = !1, C.value = 0;
363
363
  }
364
364
  }
365
- }, j = () => {
366
- k = !0, w.value = !1, C.value = 0, E.info("动画已停止");
365
+ }, E = () => {
366
+ k = !0, w.value = !1, C.value = 0, j.info("动画已停止");
367
367
  }, N = () => {
368
368
  n.value = 0;
369
369
  }, O = () => {
370
- if (c.value && M.value) {
370
+ if (c.value && D.value) {
371
371
  const e = se();
372
372
  Xe(
373
373
  c.value,
374
- M.value,
374
+ D.value,
375
375
  e.posPipeYbcr,
376
376
  e.negPipeYbcr,
377
377
  $.value,
@@ -382,7 +382,7 @@ ${G.value.join(" ")}
382
382
  );
383
383
  } else if (c.value) {
384
384
  const e = ve();
385
- je(
385
+ Ee(
386
386
  c.value,
387
387
  e,
388
388
  $.value,
@@ -392,15 +392,15 @@ ${G.value.join(" ")}
392
392
  );
393
393
  }
394
394
  }, te = () => {
395
- r.value && r.value.resetToZero(), O(), N(), E.success("机器人和管件已重置");
396
- }, q = (e) => `第 ${e + 1} 帧`, W = (e) => {
397
- w.value && j(), P(e);
395
+ r.value && r.value.resetToZero(), O(), N(), j.success("机器人和管件已重置");
396
+ }, H = (e) => `第 ${e + 1} 帧`, W = (e) => {
397
+ w.value && E(), P(e);
398
398
  }, ie = () => {
399
- w.value && j(), !(n.value + 1 >= s.value.length) && P(n.value + 1);
399
+ w.value && E(), !(n.value + 1 >= s.value.length) && P(n.value + 1);
400
400
  }, F = () => {
401
- w.value && j(), n.value !== 0 && P(n.value - 1);
401
+ w.value && E(), n.value !== 0 && P(n.value - 1);
402
402
  }, ae = () => {
403
- A.value && (A.value.visible = !0), c.value && c.value.parent && c.value.parent.remove(c.value), A.value = null, c.value = null, M.value = null;
403
+ A.value && (A.value.visible = !0), c.value && c.value.parent && c.value.parent.remove(c.value), A.value = null, c.value = null, D.value = null;
404
404
  }, fe = (e) => e == null ? void 0 : e.reduce((o, t) => (o[t] = "0", o), {});
405
405
  ne(G, (e, o) => {
406
406
  if (JSON.stringify(e) !== JSON.stringify(o))
@@ -445,9 +445,9 @@ ${G.value.join(" ")}
445
445
  if (console.log(t, "meshToReplace"), t && t.parent) {
446
446
  A.value = t, t.visible = !1;
447
447
  const i = Re(t);
448
- if (m.value === Me.SINGLE && (i.position.y -= o * 1e-3), c.value = i, m.value === Me.DOUBLE) {
448
+ if (m.value === De.SINGLE && (i.position.y -= o * 1e-3), c.value = i, m.value === De.DOUBLE) {
449
449
  const R = Re(t);
450
- M.value = R;
450
+ D.value = R;
451
451
  }
452
452
  S(0, 0);
453
453
  } else
@@ -456,31 +456,31 @@ ${G.value.join(" ")}
456
456
  });
457
457
  const Fe = async () => {
458
458
  if (G.value.length === 0) {
459
- E.warning("没有可导出的表头");
459
+ j.warning("没有可导出的表头");
460
460
  return;
461
461
  }
462
462
  const e = G.value.join(" ");
463
463
  try {
464
- await navigator.clipboard.writeText(e), E.success("表头已成功复制到剪贴板!");
464
+ await navigator.clipboard.writeText(e), j.success("表头已成功复制到剪贴板!");
465
465
  } catch (o) {
466
- console.error("复制失败:", o), E.error("复制失败,请检查浏览器权限或手动复制。");
466
+ console.error("复制失败:", o), j.error("复制失败,请检查浏览器权限或手动复制。");
467
467
  }
468
468
  }, ze = () => {
469
469
  if (!f.value.trim()) {
470
- E.warning("导入内容不能为空");
470
+ j.warning("导入内容不能为空");
471
471
  return;
472
472
  }
473
473
  const e = f.value.trim().split(`
474
474
  `).filter((x) => x.trim() !== "");
475
475
  if (e.length < 2) {
476
- E.error("导入数据至少需要包含表头行和一行数据");
476
+ j.error("导入数据至少需要包含表头行和一行数据");
477
477
  return;
478
478
  }
479
479
  const o = e[0].split(" ").map((x) => x.trim()), t = {};
480
480
  if (o.forEach((x, le) => {
481
481
  G.value.includes(x) && (t[le] = x);
482
482
  }), Object.keys(t).length === 0) {
483
- E.error("没有找到匹配的表头,请检查表头名称是否正确");
483
+ j.error("没有找到匹配的表头,请检查表头名称是否正确");
484
484
  return;
485
485
  }
486
486
  const R = e.slice(1).map((x) => {
@@ -492,14 +492,14 @@ ${G.value.join(" ")}
492
492
  z !== void 0 && z.trim() !== "" && (K[Ce] = z.trim());
493
493
  }), K;
494
494
  });
495
- R.length > 0 ? (s.value = R, E.success(`成功导入 ${R.length} 行数据!`), b.value = !1, f.value = "") : E.error("未能解析到有效数据,请检查格式。");
495
+ R.length > 0 ? (s.value = R, j.success(`成功导入 ${R.length} 行数据!`), b.value = !1, f.value = "") : j.error("未能解析到有效数据,请检查格式。");
496
496
  };
497
497
  return Ie(() => {
498
498
  ae(), k = !0;
499
- }), v({ playAnimation: J, stopAnimation: j, forwardFrame: ie, backwardFrame: F }), (e, o) => {
499
+ }), v({ playAnimation: J, stopAnimation: E, forwardFrame: ie, backwardFrame: F }), (e, o) => {
500
500
  const t = U("el-icon"), i = U("el-input-number"), R = U("el-form-item"), x = U("el-form"), le = U("el-slider"), K = U("el-progress"), ue = U("el-input"), Ce = U("el-dialog");
501
- return Q(), Te("div", Et, [
502
- u("div", jt, [
501
+ return Q(), Te("div", jt, [
502
+ u("div", Et, [
503
503
  l(me, {
504
504
  onClick: _,
505
505
  modelValue: "获取数据"
@@ -515,12 +515,12 @@ ${G.value.join(" ")}
515
515
  disabled: s.value.length === 0 || w.value,
516
516
  buttonType: "primary"
517
517
  }, {
518
- default: D(() => [
518
+ default: M(() => [
519
519
  w.value ? (Q(), ye(t, {
520
520
  key: 0,
521
521
  class: "is-loading"
522
522
  }, {
523
- default: D(() => [
523
+ default: M(() => [
524
524
  l(X(it))
525
525
  ]),
526
526
  _: 1
@@ -529,7 +529,7 @@ ${G.value.join(" ")}
529
529
  _: 1
530
530
  }, 8, ["disabled"]),
531
531
  l(me, {
532
- onClick: j,
532
+ onClick: E,
533
533
  modelValue: "停止",
534
534
  buttonType: "danger"
535
535
  }),
@@ -545,12 +545,12 @@ ${G.value.join(" ")}
545
545
  "label-width": "auto",
546
546
  style: { width: "100%" }
547
547
  }, {
548
- default: D(() => [
548
+ default: M(() => [
549
549
  l(R, {
550
550
  label: "帧间隔 (ms):",
551
551
  prop: "frameDuration"
552
552
  }, {
553
- default: D(() => [
553
+ default: M(() => [
554
554
  l(i, {
555
555
  modelValue: p.value,
556
556
  "onUpdate:modelValue": o[0] || (o[0] = (z) => p.value = z),
@@ -566,7 +566,7 @@ ${G.value.join(" ")}
566
566
  label: "管件总长 (mm):",
567
567
  prop: "initialPipeLength"
568
568
  }, {
569
- default: D(() => [
569
+ default: M(() => [
570
570
  l(i, {
571
571
  modelValue: $.value,
572
572
  "onUpdate:modelValue": o[1] || (o[1] = (z) => $.value = z),
@@ -580,7 +580,7 @@ ${G.value.join(" ")}
580
580
  label: "管件半径 (mm):",
581
581
  prop: "pipeRadius"
582
582
  }, {
583
- default: D(() => [
583
+ default: M(() => [
584
584
  l(i, {
585
585
  modelValue: g.value,
586
586
  "onUpdate:modelValue": o[2] || (o[2] = (z) => g.value = z),
@@ -594,7 +594,7 @@ ${G.value.join(" ")}
594
594
  label: "夹持长度 (mm):",
595
595
  prop: "clampLength"
596
596
  }, {
597
- default: D(() => [
597
+ default: M(() => [
598
598
  l(i, {
599
599
  modelValue: T.value,
600
600
  "onUpdate:modelValue": o[3] || (o[3] = (z) => T.value = z),
@@ -623,7 +623,7 @@ ${G.value.join(" ")}
623
623
  min: 0,
624
624
  max: s.value.length > 0 ? s.value.length - 1 : 0,
625
625
  step: 1,
626
- "format-tooltip": q,
626
+ "format-tooltip": H,
627
627
  onInput: W,
628
628
  disabled: s.value.length === 0,
629
629
  style: { "flex-grow": "1", margin: "0 10px" }
@@ -643,7 +643,7 @@ ${G.value.join(" ")}
643
643
  title: "导入数据",
644
644
  width: "500px"
645
645
  }, {
646
- footer: D(() => [
646
+ footer: M(() => [
647
647
  u("span", Wt, [
648
648
  l(me, {
649
649
  modelValue: "取消",
@@ -656,7 +656,7 @@ ${G.value.join(" ")}
656
656
  })
657
657
  ])
658
658
  ]),
659
- default: D(() => [
659
+ default: M(() => [
660
660
  o[11] || (o[11] = u("p", { class: "import-instructions" }, " 请从Excel或csv中复制数据 (首行为表头, Tab分隔) ", -1)),
661
661
  l(ue, {
662
662
  modelValue: f.value,
@@ -672,7 +672,7 @@ ${G.value.join(" ")}
672
672
  ]);
673
673
  };
674
674
  }
675
- }), Ht = /* @__PURE__ */ Ue(It, [["__scopeId", "data-v-49a19db9"]]), qt = async () => {
675
+ }), qt = /* @__PURE__ */ Ue(It, [["__scopeId", "data-v-49a19db9"]]), Ht = async () => {
676
676
  const v = await Rt(["工件库", "弯管"]), d = Be("工件列表", v), a = wt(d);
677
677
  return a == null ? void 0 : a.map((_) => ({
678
678
  name: _,
@@ -682,7 +682,7 @@ ${G.value.join(" ")}
682
682
  const d = await Ct(["工件库", "弯管"], y), a = Be("弯管基础参数", d), m = Be("弯管特征尺寸", d), _ = {
683
683
  outerDiameter: 0,
684
684
  ybcrList: []
685
- }, s = Dt(a), b = kt(m);
685
+ }, s = Mt(a), b = kt(m);
686
686
  return _.outerDiameter = (s == null ? void 0 : s.外径) || 0, _.ybcrList = b || [], _;
687
687
  }, Qt = { class: "pipe-analysis-dialog-header" }, el = { class: "header-right" }, tl = { class: "pipe-analysis-dialog-body" }, ll = { class: "panel-left" }, ol = { class: "pipe-analysis-input" }, al = { class: "input-params" }, nl = { class: "pipe-analysis-output" }, sl = { class: "ouput-params" }, il = /* @__PURE__ */ Le({
688
688
  __name: "pipeAnalysisPanel",
@@ -702,7 +702,7 @@ ${G.value.join(" ")}
702
702
  addModelAndFit: c
703
703
  } = Je(a);
704
704
  h(null);
705
- const M = h({ file: null, pipe: "" });
705
+ const D = h({ file: null, pipe: "" });
706
706
  h(null), h(!1);
707
707
  const A = h([]), $ = (S) => {
708
708
  A.value = S;
@@ -713,32 +713,32 @@ ${G.value.join(" ")}
713
713
  list: [],
714
714
  reverse: !1
715
715
  }), T = (S) => {
716
- const { length: P, outerDiameter: J, innerDiameter: j, thickness: N, ybcrList: O } = S || {};
716
+ const { length: P, outerDiameter: J, innerDiameter: E, thickness: N, ybcrList: O } = S || {};
717
717
  g.value.form = {
718
718
  length: P,
719
719
  outerDiameter: J,
720
- innerDiameter: j,
720
+ innerDiameter: E,
721
721
  thickness: N
722
722
  }, g.value.list = O;
723
723
  }, B = () => {
724
724
  const { form: S, list: P } = g.value, {
725
725
  outerDiameter: J
726
- } = S, j = J / 2, N = P == null ? void 0 : P.map((te) => {
727
- const { y: q, b: W, c: ie, r: F, Y: ae, B: fe, C: re, R: we } = te;
726
+ } = S, E = J / 2, N = P == null ? void 0 : P.map((te) => {
727
+ const { y: H, b: W, c: ie, r: F, Y: ae, B: fe, C: re, R: we } = te;
728
728
  return ae ? {
729
729
  Y: ae,
730
730
  B: fe,
731
731
  C: re,
732
732
  R: we
733
733
  } : {
734
- Y: q,
734
+ Y: H,
735
735
  B: W,
736
736
  C: ie,
737
737
  R: F
738
738
  };
739
739
  });
740
740
  p();
741
- const O = Yt(N, j);
741
+ const O = Yt(N, E);
742
742
  c(O);
743
743
  }, L = h(!1), Z = () => {
744
744
  const S = L.value;
@@ -748,7 +748,7 @@ ${G.value.join(" ")}
748
748
  }, _e = () => {
749
749
  ee.value = !0;
750
750
  }, ve = async () => {
751
- const S = await qt();
751
+ const S = await Ht();
752
752
  $(S);
753
753
  }, se = async (S) => {
754
754
  const P = await Kt(S);
@@ -764,7 +764,7 @@ ${G.value.join(" ")}
764
764
  return;
765
765
  b(), window.addEventListener("resize", f);
766
766
  } catch (S) {
767
- console.error("Three.js 初始化失败:", S), E.error("渲染引擎初始化失败!");
767
+ console.error("Three.js 初始化失败:", S), j.error("渲染引擎初始化失败!");
768
768
  }
769
769
  }, {
770
770
  deep: !0
@@ -773,7 +773,7 @@ ${G.value.join(" ")}
773
773
  }), Ze(() => {
774
774
  window.removeEventListener("resize", f), n();
775
775
  }), v({ openDialog: _e }), (S, P) => {
776
- const J = U("el-icon"), j = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), q = U("el-input"), W = U("el-table-column"), ie = U("el-table");
776
+ const J = U("el-icon"), E = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), H = U("el-input"), W = U("el-table-column"), ie = U("el-table");
777
777
  return Q(), ye(Ft, {
778
778
  class: "pipe-analysis-dialog",
779
779
  visible: ee.value,
@@ -781,7 +781,7 @@ ${G.value.join(" ")}
781
781
  showClose: !1,
782
782
  fullScreen: L.value
783
783
  }, {
784
- header: D(() => [
784
+ header: M(() => [
785
785
  u("div", Qt, [
786
786
  P[6] || (P[6] = u("div", {
787
787
  class: "header-left",
@@ -789,13 +789,13 @@ ${G.value.join(" ")}
789
789
  }, " 管件解析 ", -1)),
790
790
  u("div", el, [
791
791
  l(J, null, {
792
- default: D(() => [
792
+ default: M(() => [
793
793
  l(X(rt), { onClick: Z })
794
794
  ]),
795
795
  _: 1
796
796
  }),
797
797
  l(J, null, {
798
- default: D(() => [
798
+ default: M(() => [
799
799
  l(X(ct), { onClick: G })
800
800
  ]),
801
801
  _: 1
@@ -803,7 +803,7 @@ ${G.value.join(" ")}
803
803
  ])
804
804
  ])
805
805
  ]),
806
- default: D(() => [
806
+ default: M(() => [
807
807
  u("div", tl, [
808
808
  u("div", ll, [
809
809
  u("div", ol, [
@@ -812,21 +812,21 @@ ${G.value.join(" ")}
812
812
  ], -1)),
813
813
  u("div", al, [
814
814
  l(te, {
815
- model: M.value,
815
+ model: D.value,
816
816
  "label-width": "auto",
817
817
  "label-position": "top"
818
818
  }, {
819
- default: D(() => [
819
+ default: M(() => [
820
820
  l(O, { label: "弯管" }, {
821
- default: D(() => [
821
+ default: M(() => [
822
822
  l(N, {
823
- modelValue: M.value.pipe,
824
- "onUpdate:modelValue": P[0] || (P[0] = (F) => M.value.pipe = F),
823
+ modelValue: D.value.pipe,
824
+ "onUpdate:modelValue": P[0] || (P[0] = (F) => D.value.pipe = F),
825
825
  placeholder: "请选择弯管",
826
826
  onChange: se
827
827
  }, {
828
- default: D(() => [
829
- (Q(!0), Te(He, null, qe(A.value, (F) => (Q(), ye(j, {
828
+ default: M(() => [
829
+ (Q(!0), Te(qe, null, He(A.value, (F) => (Q(), ye(E, {
830
830
  label: F.name,
831
831
  value: F.mainKey
832
832
  }, null, 8, ["label", "value"]))), 256))
@@ -843,18 +843,18 @@ ${G.value.join(" ")}
843
843
  ]),
844
844
  u("div", nl, [
845
845
  l(O, { label: "加工方向" }, {
846
- default: D(() => [
846
+ default: M(() => [
847
847
  l(N, {
848
848
  modelValue: g.value.reverse,
849
849
  "onUpdate:modelValue": P[1] || (P[1] = (F) => g.value.reverse = F),
850
850
  placeholder: "请选择加工方向"
851
851
  }, {
852
- default: D(() => [
853
- l(j, {
852
+ default: M(() => [
853
+ l(E, {
854
854
  label: "正向",
855
855
  value: !1
856
856
  }),
857
- l(j, {
857
+ l(E, {
858
858
  label: "反向",
859
859
  value: !0
860
860
  })
@@ -874,10 +874,10 @@ ${G.value.join(" ")}
874
874
  "label-position": "top",
875
875
  inline: !0
876
876
  }, {
877
- default: D(() => [
877
+ default: M(() => [
878
878
  l(O, { label: "管长" }, {
879
- default: D(() => [
880
- l(q, {
879
+ default: M(() => [
880
+ l(H, {
881
881
  modelValue: g.value.form.length,
882
882
  "onUpdate:modelValue": P[2] || (P[2] = (F) => g.value.form.length = F)
883
883
  }, null, 8, ["modelValue"])
@@ -885,8 +885,8 @@ ${G.value.join(" ")}
885
885
  _: 1
886
886
  }),
887
887
  l(O, { label: "外径" }, {
888
- default: D(() => [
889
- l(q, {
888
+ default: M(() => [
889
+ l(H, {
890
890
  modelValue: g.value.form.outerDiameter,
891
891
  "onUpdate:modelValue": P[3] || (P[3] = (F) => g.value.form.outerDiameter = F)
892
892
  }, null, 8, ["modelValue"])
@@ -894,8 +894,8 @@ ${G.value.join(" ")}
894
894
  _: 1
895
895
  }),
896
896
  l(O, { label: "内径" }, {
897
- default: D(() => [
898
- l(q, {
897
+ default: M(() => [
898
+ l(H, {
899
899
  modelValue: g.value.form.innerDiameter,
900
900
  "onUpdate:modelValue": P[4] || (P[4] = (F) => g.value.form.innerDiameter = F)
901
901
  }, null, 8, ["modelValue"])
@@ -903,8 +903,8 @@ ${G.value.join(" ")}
903
903
  _: 1
904
904
  }),
905
905
  l(O, { label: "壁厚" }, {
906
- default: D(() => [
907
- l(q, {
906
+ default: M(() => [
907
+ l(H, {
908
908
  modelValue: g.value.form.thickness,
909
909
  "onUpdate:modelValue": P[5] || (P[5] = (F) => g.value.form.thickness = F)
910
910
  }, null, 8, ["modelValue"])
@@ -919,7 +919,7 @@ ${G.value.join(" ")}
919
919
  data: g.value.list,
920
920
  "highlight-current-rowstyle": "width: 100%"
921
921
  }, {
922
- default: D(() => [
922
+ default: M(() => [
923
923
  l(W, {
924
924
  type: "index",
925
925
  width: "50"
@@ -966,7 +966,7 @@ ${G.value.join(" ")}
966
966
  }, ml = { class: "buttonGroup-topLeft" }, vl = { class: "buttonGroup-left" }, fl = { class: "buttonGroup-right" }, gl = { class: "buttonGroup-bottom" }, hl = { class: "top-panel" }, bl = { class: "panel-header" }, yl = { class: "panel-body" }, _l = { class: "left-panel" }, wl = { class: "panel-header" }, Cl = { class: "panel-body" }, kl = { class: "right-panel" }, Pl = { class: "panel-header" }, xl = { class: "panel-body" }, Rl = {
967
967
  key: 0,
968
968
  class: "loading-overlay"
969
- }, Dl = /* @__PURE__ */ Le({
969
+ }, Ml = /* @__PURE__ */ Le({
970
970
  __name: "threeSceneView",
971
971
  props: {
972
972
  fileBlobs: { default: () => [] },
@@ -974,7 +974,7 @@ ${G.value.join(" ")}
974
974
  },
975
975
  setup(y) {
976
976
  const v = y, d = h(Ye.ROBOT), a = h(null), m = h(), _ = h(!1), s = h(""), b = h(!1), f = h(""), w = h(!1), n = h(""), C = h(!1), p = h(""), k = be(null), r = be(null), c = h(), {
977
- currentModels: M,
977
+ currentModels: D,
978
978
  resetView: A,
979
979
  initThreeJS: $,
980
980
  handleResize: g,
@@ -987,15 +987,15 @@ ${G.value.join(" ")}
987
987
  zoomOut: _e
988
988
  } = Je(a), { loadSceneFromFile: ve } = at(
989
989
  T,
990
- M,
990
+ D,
991
991
  _,
992
992
  s
993
- ), { isAnimating: se, toggleAnimation: S, startAnimation: P, stopAnimation: J } = Qe(T, M), { isClipping: j, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(T, M), { initRaycaster: q, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: F, updateRotation: ae, dispose: fe } = ot(a, T, M), re = () => {
993
+ ), { isAnimating: se, toggleAnimation: S, startAnimation: P, stopAnimation: J } = Qe(T, D), { isClipping: E, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(T, D), { initRaycaster: H, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: F, updateRotation: ae, dispose: fe } = ot(a, T, D), re = () => {
994
994
  ee();
995
995
  }, we = (t) => {
996
996
  N.value = t, te();
997
997
  }, Ae = Pe(() => d.value === Ye.ROBOT), $e = Pe(() => d.value === Ye.PIPECOMPARSION), ce = (t) => {
998
- b.value = !0, f.value = t, t === "剖面视图" && !j.value && O();
998
+ b.value = !0, f.value = t, t === "剖面视图" && !E.value && O();
999
999
  }, ge = (t) => {
1000
1000
  w.value = !0, n.value = t;
1001
1001
  }, Re = () => {
@@ -1019,7 +1019,7 @@ ${G.value.join(" ")}
1019
1019
  ve(i).then((R) => {
1020
1020
  k.value = R;
1021
1021
  }).catch((R) => {
1022
- console.error("加载URDF文件时发生错误:", R), E.error("加载urdf模型失败"), k.value = null;
1022
+ console.error("加载URDF文件时发生错误:", R), j.error("加载urdf模型失败"), k.value = null;
1023
1023
  });
1024
1024
  } else
1025
1025
  k.value = null;
@@ -1027,7 +1027,7 @@ ${G.value.join(" ")}
1027
1027
  immediate: !0,
1028
1028
  deep: !0
1029
1029
  }), ne(k, (t) => {
1030
- L(t ? [t] : []), q();
1030
+ L(t ? [t] : []), H();
1031
1031
  });
1032
1032
  let o = null;
1033
1033
  return Ge(async () => {
@@ -1037,7 +1037,7 @@ ${G.value.join(" ")}
1037
1037
  const t = T();
1038
1038
  r.value = t.scene;
1039
1039
  } catch (t) {
1040
- console.error("Three.js 初始化失败:", t), E.error("渲染引擎初始化失败!");
1040
+ console.error("Three.js 初始化失败:", t), j.error("渲染引擎初始化失败!");
1041
1041
  }
1042
1042
  }), Ze(() => {
1043
1043
  f.value = "", n.value = "", o && o.disconnect(), se.value && J(), B(), fe();
@@ -1091,7 +1091,7 @@ ${G.value.join(" ")}
1091
1091
  }, null, 8, ["active"])
1092
1092
  ]),
1093
1093
  u("div", vl, [
1094
- De(t.$slots, "button-left", { switchRightPanel: ce }, void 0, !0),
1094
+ Me(t.$slots, "button-left", { switchRightPanel: ce }, void 0, !0),
1095
1095
  l(Y, {
1096
1096
  name: "jiegoushu",
1097
1097
  size: "24",
@@ -1120,7 +1120,7 @@ ${G.value.join(" ")}
1120
1120
  })
1121
1121
  ]),
1122
1122
  u("div", fl, [
1123
- De(t.$slots, "button-right", { switchRightPanel: ge }, void 0, !0),
1123
+ Me(t.$slots, "button-right", { switchRightPanel: ge }, void 0, !0),
1124
1124
  l(Y, {
1125
1125
  name: "donghuafangzhen",
1126
1126
  size: "24"
@@ -1195,8 +1195,8 @@ ${G.value.join(" ")}
1195
1195
  ]),
1196
1196
  u("div", yl, [
1197
1197
  l(R, { height: "100%" }, {
1198
- default: D(() => [
1199
- De(t.$slots, "top-panel", { topPanelType: p.value }, void 0, !0)
1198
+ default: M(() => [
1199
+ Me(t.$slots, "top-panel", { topPanelType: p.value }, void 0, !0)
1200
1200
  ]),
1201
1201
  _: 3
1202
1202
  })
@@ -1214,7 +1214,7 @@ ${G.value.join(" ")}
1214
1214
  ]),
1215
1215
  u("div", Cl, [
1216
1216
  l(R, { height: "100%" }, {
1217
- default: D(() => {
1217
+ default: M(() => {
1218
1218
  var x;
1219
1219
  return [
1220
1220
  f.value === "场景树" ? (Q(), ye(At, {
@@ -1251,11 +1251,11 @@ ${G.value.join(" ")}
1251
1251
  ]),
1252
1252
  u("div", xl, [
1253
1253
  l(R, { height: "100%" }, {
1254
- default: D(() => [
1254
+ default: M(() => [
1255
1255
  pe(l($t, { model: k.value }, null, 8, ["model"]), [
1256
1256
  [de, n.value === "关节控制"]
1257
1257
  ]),
1258
- pe(l(Ht, {
1258
+ pe(l(qt, {
1259
1259
  ref_key: "animationPanelRef",
1260
1260
  ref: c,
1261
1261
  model: k.value,
@@ -1263,7 +1263,7 @@ ${G.value.join(" ")}
1263
1263
  }, null, 8, ["model", "threeData"]), [
1264
1264
  [de, n.value === "动画仿真"]
1265
1265
  ]),
1266
- De(t.$slots, "right-panel", { rightPanelType: n.value }, void 0, !0)
1266
+ Me(t.$slots, "right-panel", { rightPanelType: n.value }, void 0, !0)
1267
1267
  ]),
1268
1268
  _: 3
1269
1269
  })
@@ -1282,7 +1282,7 @@ ${G.value.join(" ")}
1282
1282
  ]);
1283
1283
  };
1284
1284
  }
1285
- }), Gl = /* @__PURE__ */ Ue(Dl, [["__scopeId", "data-v-ec34be42"]]);
1285
+ }), Gl = /* @__PURE__ */ Ue(Ml, [["__scopeId", "data-v-ec34be42"]]);
1286
1286
  export {
1287
1287
  Gl as default
1288
1288
  };