ss-component-new 1.2.80 → 1.2.81

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 (67) hide show
  1. package/dist/{animationData-CzKy5S3N.js → animationData-BPRJf-r-.js} +1 -1
  2. package/dist/{animationData-Cx_0NcvB.cjs → animationData-DH5gY8Zk.cjs} +1 -1
  3. package/dist/{fileUtil-BkNOHmd-.js → fileUtil-CKEjaNUg.js} +1 -1
  4. package/dist/{fileUtil-BwmgO7zP.cjs → fileUtil-Dq8z789S.cjs} +1 -1
  5. package/dist/{index-D2Pfnt53.cjs → index--jSVJA7I.cjs} +1 -1
  6. package/dist/{index-C76-vJif.js → index-2TKy87YO.js} +2 -2
  7. package/dist/{index-CA6nsx_h.js → index-B0oh3lKw.js} +1 -1
  8. package/dist/{index-CXf6lBdE.cjs → index-B2DOVVt_.cjs} +1 -1
  9. package/dist/{index-CYWLqtyK.cjs → index-BG201l3g.cjs} +1 -1
  10. package/dist/{index-CqXgJv9t.cjs → index-BGpMhoAn.cjs} +1 -1
  11. package/dist/{index-Cz9avVfO.js → index-BIVzYvnV.js} +4 -4
  12. package/dist/{index-Cq19gLg1.js → index-BL2Z3Sc6.js} +1 -1
  13. package/dist/{index-D4dHKM_q.cjs → index-BSyoqrD-.cjs} +1 -1
  14. package/dist/{index-DJbbE8RZ.cjs → index-BT4XOQjN.cjs} +1 -1
  15. package/dist/{index-Dggwjy1a.js → index-BbE3Qlc2.js} +2 -2
  16. package/dist/{index-UimmbGfr.js → index-BkVhRdXB.js} +2 -2
  17. package/dist/{index-CGRkfbyW.cjs → index-BpbVtUaq.cjs} +1 -1
  18. package/dist/{index-DCA2SBLF.js → index-C-05KLKS.js} +3 -3
  19. package/dist/{index-BuS8sMz3.js → index-CCh7ZrOY.js} +4 -4
  20. package/dist/{index-mOrIvLPq.cjs → index-CGLdJhQi.cjs} +1 -1
  21. package/dist/{index-BUDz9v5Y.js → index-CIwI0bj4.js} +2 -2
  22. package/dist/{index-BCc3Hjr3.cjs → index-CJjFGfqM.cjs} +1 -1
  23. package/dist/{index-CWJ-Dy0t.js → index-CS6YbtUR.js} +1 -1
  24. package/dist/{index-DspkbDO6.cjs → index-CYUlQC2a.cjs} +1 -1
  25. package/dist/{index-DxYa9IZv.cjs → index-Cc46-O4B.cjs} +1 -1
  26. package/dist/{index-DPGzgCKL.cjs → index-Cd8Q7hP6.cjs} +1 -1
  27. package/dist/{index-v8dBwqi7.cjs → index-Cf23G5Gb.cjs} +1 -1
  28. package/dist/{index--jNz-aQS.cjs → index-Cv3WmVt4.cjs} +1 -1
  29. package/dist/{index-IttdGf2N.js → index-D43r3mg-.js} +1 -1
  30. package/dist/{index-CK-rki3s.js → index-D_44en-a.js} +1 -1
  31. package/dist/{index-Cp6TGEco.cjs → index-Ddc1lEB4.cjs} +1 -1
  32. package/dist/{index-D0T-R3kl.cjs → index-Dfidy-wH.cjs} +1 -1
  33. package/dist/{index-C3Wx9shJ.cjs → index-DpWo13Gc.cjs} +1 -1
  34. package/dist/{index-CJzy5uxl.cjs → index-Gnd-CTcV.cjs} +1 -1
  35. package/dist/{index-DUiMwYjv.js → index-PiJ6fNEG.js} +2 -2
  36. package/dist/{index-C8SpvzNp.js → index-SojMYpVn.js} +1 -1
  37. package/dist/{index-BbPskk3u.js → index-W0ZboCUb.js} +12 -12
  38. package/dist/{index-Ca3uWEcn.js → index-dy3bAVSA.js} +5 -5
  39. package/dist/{index-GWQqqZB6.js → index-fJpS81JC.js} +1 -1
  40. package/dist/{index-BJhyDgyd.js → index-xpoi1O8z.js} +1 -1
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DetYin0A.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BGHNBF7B.cjs} +1 -1
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-6F5euo3F.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DZVw5Iur.js} +4 -4
  43. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D5VZY6_r.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DTTf-iDr.cjs} +1 -1
  44. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-CZrcTylU.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-NZCE3mxo.js} +2 -2
  45. package/dist/{index.vue_vue_type_style_index_1_lang-BEZdr71u.js → index.vue_vue_type_style_index_1_lang-CXTFtcA0.js} +1 -1
  46. package/dist/{index.vue_vue_type_style_index_1_lang-GBtBj9Ge.cjs → index.vue_vue_type_style_index_1_lang-DO9EJkGN.cjs} +1 -1
  47. package/dist/{main-DHtQlxDx.js → main-D4bsBiHo.js} +2 -2
  48. package/dist/{main-BZKg7pGD.cjs → main-DHmdIkkE.cjs} +1 -1
  49. package/dist/ss-component.cjs +1 -1
  50. package/dist/ss-component.css +1 -1
  51. package/dist/ss-component.js +6 -6
  52. package/dist/ss-component2.cjs +1 -1
  53. package/dist/ss-component2.js +10 -10
  54. package/dist/{threeModel-DC0UXL84.cjs → threeModel-Besg9bHy.cjs} +1 -1
  55. package/dist/{threeModel-DxoVa2uO.js → threeModel-C7J03nYV.js} +2 -2
  56. package/dist/{threeSceneView-CAPu3ogD.js → threeSceneView-DLr9o0zV.js} +3 -3
  57. package/dist/{threeSceneView-BIsoLPvU.cjs → threeSceneView-DtF-0gVE.cjs} +1 -1
  58. package/dist/{threeSceneViewForCPMPIP-B6L9nioX.cjs → threeSceneViewForCPMPIP-DVUNc9AY.cjs} +1 -1
  59. package/dist/{threeSceneViewForCPMPIP-CC9k3nhf.js → threeSceneViewForCPMPIP-lAZGy5ox.js} +3 -3
  60. package/dist/{threeTrackPathView-BFCLVloV.js → threeTrackPathView-2ZJNQrE7.js} +127 -127
  61. package/dist/threeTrackPathView-DaIaNx16.cjs +370 -0
  62. package/dist/{threeViewerHost-Bm7uuF4V.js → threeViewerHost-BlA9VDWb.js} +1 -1
  63. package/dist/{threeViewerHost-DNj_epI8.cjs → threeViewerHost-DS7c0XkH.cjs} +1 -1
  64. package/dist/{workpieceTreePanel-DtWEl2ST.cjs → workpieceTreePanel-BqLeGC87.cjs} +1 -1
  65. package/dist/{workpieceTreePanel-BeP2BAH5.js → workpieceTreePanel-DmGn4P14.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/threeTrackPathView-D5gPW-mm.cjs +0 -370
@@ -1,8 +1,8 @@
1
- import { defineComponent as Le, computed as G, ref as A, resolveComponent as R, createElementBlock as ae, openBlock as X, createElementVNode as d, createVNode as v, withCtx as ce, toDisplayString as Y, shallowRef as pe, watch as it, onMounted as st, onBeforeUnmount as ot, withDirectives as j, createCommentVNode as me, unref as b, renderSlot as ze, createBlock as at, isRef as ee, vModelRadio as te, vShow as ne } from "vue";
1
+ import { defineComponent as Le, computed as W, ref as A, resolveComponent as X, createElementBlock as re, openBlock as q, createElementVNode as d, createVNode as v, withCtx as ue, toDisplayString as Z, shallowRef as me, watch as it, onMounted as st, onBeforeUnmount as ot, withDirectives as j, createCommentVNode as he, unref as b, renderSlot as ze, createBlock as at, isRef as te, vModelRadio as ne, vShow as ie } from "vue";
2
2
  import { u as rt, a as lt, b as ct, f as ut, d as dt } from "./iconfont-hiVfumlP.js";
3
- import { k as ke, aE as ft, v as pt, aF as mt, aG as ye, aH as we, av as W, aI as ht, B as xe, aD as Pe, V as k, aJ as vt, aK as re, aL as Te, Y as Be, aM as le, aN as Z, aO as gt, r as yt, s as De, t as wt, w as xt, ag as bt, ao as _t } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DBqTEyZe.js";
4
- import { r as St } from "./fileUtil-BkNOHmd-.js";
5
- import { E as q } from "./index-CbJEJj8c.js";
3
+ import { k as ke, aE as ft, v as pt, aF as mt, aG as we, aH as xe, av as H, aI as ht, B as be, aD as Pe, V as k, aJ as vt, aK as le, aL as Te, Y as Be, aM as ce, aN as J, aO as gt, r as yt, s as De, t as wt, w as xt, ag as bt, ao as _t } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DBqTEyZe.js";
4
+ import { r as St } from "./fileUtil-CKEjaNUg.js";
5
+ import { E as Y } from "./index-CbJEJj8c.js";
6
6
  import { U as zt, J as Ct } from "./urdfTree-BZ_TtcRO.js";
7
7
  import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  import { T as w } from "./svgIcon-D-_fXUBL.js";
@@ -31,7 +31,7 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
31
31
  },
32
32
  emits: ["getThreeData"],
33
33
  setup(s, { expose: e, emit: n }) {
34
- const i = s, t = G(() => i.vectors), a = A(!1), r = A(0), o = A(50);
34
+ const i = s, t = W(() => i.vectors), a = A(!1), r = A(0), o = A(50);
35
35
  let u = !1;
36
36
  const p = (h) => `第 ${h + 1} 帧`, f = (h) => {
37
37
  if (h < 0 || h >= t.value.length) {
@@ -42,7 +42,7 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
42
42
  console.log(`应用第 ${h} 帧数据 ${x}`), r.value = h, Oe(i.knife, x);
43
43
  }, m = async () => {
44
44
  if (t.value.length === 0) {
45
- q.error("无法播放动画:无数据");
45
+ Y.error("无法播放动画:无数据");
46
46
  return;
47
47
  }
48
48
  if (!a.value) {
@@ -50,15 +50,15 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
50
50
  try {
51
51
  for (let h = r.value + 1; h < t.value.length && !u; h++)
52
52
  await new Promise((x) => setTimeout(x, o.value)), f(h);
53
- u || q.success("动画播放完成");
53
+ u || Y.success("动画播放完成");
54
54
  } catch (h) {
55
- console.error("动画播放出错:", h), q.error("动画播放出错");
55
+ console.error("动画播放出错:", h), Y.error("动画播放出错");
56
56
  } finally {
57
57
  a.value = !1;
58
58
  }
59
59
  }
60
60
  }, g = () => {
61
- u = !0, a.value = !1, q.info("动画已停止");
61
+ u = !0, a.value = !1, Y.info("动画已停止");
62
62
  }, E = (h) => {
63
63
  a.value && g(), f(h);
64
64
  };
@@ -67,23 +67,23 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
67
67
  }, backwardFrame: () => {
68
68
  a.value && g(), r.value !== 0 && f(r.value - 1);
69
69
  } }), (h, x) => {
70
- const C = R("el-input-number"), U = R("el-form-item"), L = R("el-form"), de = R("el-slider");
71
- return X(), ae("div", At, [
70
+ const C = X("el-input-number"), U = X("el-form-item"), L = X("el-form"), fe = X("el-slider");
71
+ return q(), re("div", At, [
72
72
  d("div", Mt, [
73
73
  d("div", Lt, [
74
74
  v(L, {
75
75
  "label-width": "auto",
76
76
  style: { width: "100%" }
77
77
  }, {
78
- default: ce(() => [
78
+ default: ue(() => [
79
79
  v(U, {
80
80
  label: "帧间隔 (ms):",
81
81
  prop: "frameDuration"
82
82
  }, {
83
- default: ce(() => [
83
+ default: ue(() => [
84
84
  v(C, {
85
85
  modelValue: o.value,
86
- "onUpdate:modelValue": x[0] || (x[0] = (V) => o.value = V),
86
+ "onUpdate:modelValue": x[0] || (x[0] = (N) => o.value = N),
87
87
  min: 0,
88
88
  max: 5e3,
89
89
  step: 10,
@@ -98,13 +98,13 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
98
98
  ]),
99
99
  d("div", kt, [
100
100
  x[2] || (x[2] = d("label", null, "当前帧:", -1)),
101
- d("span", Pt, Y(r.value + 1) + " / " + Y(t.value.length), 1)
101
+ d("span", Pt, Z(r.value + 1) + " / " + Z(t.value.length), 1)
102
102
  ]),
103
103
  d("div", Tt, [
104
104
  x[3] || (x[3] = d("label", null, "动画进度:", -1)),
105
- v(de, {
105
+ v(fe, {
106
106
  modelValue: r.value,
107
- "onUpdate:modelValue": x[1] || (x[1] = (V) => r.value = V),
107
+ "onUpdate:modelValue": x[1] || (x[1] = (N) => r.value = N),
108
108
  min: 0,
109
109
  max: t.value.length > 0 ? t.value.length - 1 : 0,
110
110
  step: 1,
@@ -118,7 +118,7 @@ const At = { class: "panel-content" }, Mt = { class: "animation-controls" }, Lt
118
118
  ]);
119
119
  };
120
120
  }
121
- }), Dt = /* @__PURE__ */ Fe(Bt, [["__scopeId", "data-v-82a364cb"]]), Ce = new xe(), ie = new k();
121
+ }), Dt = /* @__PURE__ */ Fe(Bt, [["__scopeId", "data-v-82a364cb"]]), Ce = new be(), se = new k();
122
122
  class je extends mt {
123
123
  /**
124
124
  * Constructs a new line segments geometry.
@@ -126,7 +126,7 @@ class je extends mt {
126
126
  constructor() {
127
127
  super(), this.isLineSegmentsGeometry = !0, this.type = "LineSegmentsGeometry";
128
128
  const e = [-1, 2, 0, 1, 2, 0, -1, 1, 0, 1, 1, 0, -1, 0, 0, 1, 0, 0, -1, -1, 0, 1, -1, 0], n = [-1, 2, 1, 2, -1, 1, 1, 1, -1, -1, 1, -1, -1, -2, 1, -2], i = [0, 2, 1, 2, 3, 1, 2, 4, 3, 4, 5, 3, 4, 6, 5, 6, 7, 5];
129
- this.setIndex(i), this.setAttribute("position", new ye(e, 3)), this.setAttribute("uv", new ye(n, 2));
129
+ this.setIndex(i), this.setAttribute("position", new we(e, 3)), this.setAttribute("uv", new we(n, 2));
130
130
  }
131
131
  /**
132
132
  * Applies the given 4x4 transformation matrix to the geometry.
@@ -148,8 +148,8 @@ class je extends mt {
148
148
  setPositions(e) {
149
149
  let n;
150
150
  e instanceof Float32Array ? n = e : Array.isArray(e) && (n = new Float32Array(e));
151
- const i = new we(n, 6, 1);
152
- return this.setAttribute("instanceStart", new W(i, 3, 0)), this.setAttribute("instanceEnd", new W(i, 3, 3)), this.instanceCount = this.attributes.instanceStart.count, this.computeBoundingBox(), this.computeBoundingSphere(), this;
151
+ const i = new xe(n, 6, 1);
152
+ return this.setAttribute("instanceStart", new H(i, 3, 0)), this.setAttribute("instanceEnd", new H(i, 3, 3)), this.instanceCount = this.attributes.instanceStart.count, this.computeBoundingBox(), this.computeBoundingSphere(), this;
153
153
  }
154
154
  /**
155
155
  * Sets the given line colors for this geometry. The length must be a multiple of six since
@@ -161,8 +161,8 @@ class je extends mt {
161
161
  setColors(e) {
162
162
  let n;
163
163
  e instanceof Float32Array ? n = e : Array.isArray(e) && (n = new Float32Array(e));
164
- const i = new we(n, 6, 1);
165
- return this.setAttribute("instanceColorStart", new W(i, 3, 0)), this.setAttribute("instanceColorEnd", new W(i, 3, 3)), this;
164
+ const i = new xe(n, 6, 1);
165
+ return this.setAttribute("instanceColorStart", new H(i, 3, 0)), this.setAttribute("instanceColorEnd", new H(i, 3, 3)), this;
166
166
  }
167
167
  /**
168
168
  * Setups this line segments geometry from the given wireframe geometry.
@@ -203,7 +203,7 @@ class je extends mt {
203
203
  return this.setPositions(n.attributes.position.array), this;
204
204
  }
205
205
  computeBoundingBox() {
206
- this.boundingBox === null && (this.boundingBox = new xe());
206
+ this.boundingBox === null && (this.boundingBox = new be());
207
207
  const e = this.attributes.instanceStart, n = this.attributes.instanceEnd;
208
208
  e !== void 0 && n !== void 0 && (this.boundingBox.setFromBufferAttribute(e), Ce.setFromBufferAttribute(n), this.boundingBox.union(Ce));
209
209
  }
@@ -215,14 +215,14 @@ class je extends mt {
215
215
  this.boundingBox.getCenter(i);
216
216
  let t = 0;
217
217
  for (let a = 0, r = e.count; a < r; a++)
218
- ie.fromBufferAttribute(e, a), t = Math.max(t, i.distanceToSquared(ie)), ie.fromBufferAttribute(n, a), t = Math.max(t, i.distanceToSquared(ie));
218
+ se.fromBufferAttribute(e, a), t = Math.max(t, i.distanceToSquared(se)), se.fromBufferAttribute(n, a), t = Math.max(t, i.distanceToSquared(se));
219
219
  this.boundingSphere.radius = Math.sqrt(t), isNaN(this.boundingSphere.radius) && console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.", this);
220
220
  }
221
221
  }
222
222
  toJSON() {
223
223
  }
224
224
  }
225
- le.line = {
225
+ ce.line = {
226
226
  worldUnits: { value: 1 },
227
227
  linewidth: { value: 1 },
228
228
  resolution: { value: new Be(1, 1) },
@@ -232,11 +232,11 @@ le.line = {
232
232
  gapSize: { value: 1 }
233
233
  // todo FIX - maybe change to totalSize
234
234
  };
235
- re.line = {
235
+ le.line = {
236
236
  uniforms: Te.merge([
237
- le.common,
238
- le.fog,
239
- le.line
237
+ ce.common,
238
+ ce.fog,
239
+ ce.line
240
240
  ]),
241
241
  vertexShader: (
242
242
  /* glsl */
@@ -616,7 +616,7 @@ re.line = {
616
616
  `
617
617
  )
618
618
  };
619
- class be extends vt {
619
+ class _e extends vt {
620
620
  /**
621
621
  * Constructs a new line segments geometry.
622
622
  *
@@ -629,9 +629,9 @@ class be extends vt {
629
629
  constructor(e) {
630
630
  super({
631
631
  type: "LineMaterial",
632
- uniforms: Te.clone(re.line.uniforms),
633
- vertexShader: re.line.vertexShader,
634
- fragmentShader: re.line.fragmentShader,
632
+ uniforms: Te.clone(le.line.uniforms),
633
+ vertexShader: le.line.vertexShader,
634
+ fragmentShader: le.line.fragmentShader,
635
635
  clipping: !0
636
636
  // required for clipping support
637
637
  }), this.isLineMaterial = !0, this.setValues(e);
@@ -771,17 +771,17 @@ class be extends vt {
771
771
  this.defines && (e === !0 !== this.alphaToCoverage && (this.needsUpdate = !0), e === !0 ? this.defines.USE_ALPHA_TO_COVERAGE = "" : delete this.defines.USE_ALPHA_TO_COVERAGE);
772
772
  }
773
773
  }
774
- const he = new Z(), Ee = new k(), Ue = new k(), _ = new Z(), S = new Z(), T = new Z(), ve = new k(), ge = new yt(), z = new gt(), Ae = new k(), se = new xe(), oe = new Pe(), B = new Z();
775
- let D, I;
774
+ const ve = new J(), Ee = new k(), Ue = new k(), _ = new J(), S = new J(), T = new J(), ge = new k(), ye = new yt(), z = new gt(), Ae = new k(), oe = new be(), ae = new Pe(), B = new J();
775
+ let D, V;
776
776
  function Me(s, e, n) {
777
- return B.set(0, 0, -e, 1).applyMatrix4(s.projectionMatrix), B.multiplyScalar(1 / B.w), B.x = I / n.width, B.y = I / n.height, B.applyMatrix4(s.projectionMatrixInverse), B.multiplyScalar(1 / B.w), Math.abs(Math.max(B.x, B.y));
777
+ return B.set(0, 0, -e, 1).applyMatrix4(s.projectionMatrix), B.multiplyScalar(1 / B.w), B.x = V / n.width, B.y = V / n.height, B.applyMatrix4(s.projectionMatrixInverse), B.multiplyScalar(1 / B.w), Math.abs(Math.max(B.x, B.y));
778
778
  }
779
779
  function Ft(s, e) {
780
780
  const n = s.matrixWorld, i = s.geometry, t = i.attributes.instanceStart, a = i.attributes.instanceEnd, r = Math.min(i.instanceCount, t.count);
781
781
  for (let o = 0, u = r; o < u; o++) {
782
782
  z.start.fromBufferAttribute(t, o), z.end.fromBufferAttribute(a, o), z.applyMatrix4(n);
783
783
  const p = new k(), f = new k();
784
- D.distanceSqToSegment(z.start, z.end, f, p), f.distanceTo(p) < I * 0.5 && e.push({
784
+ D.distanceSqToSegment(z.start, z.end, f, p), f.distanceTo(p) < V * 0.5 && e.push({
785
785
  point: f,
786
786
  pointOnLine: p,
787
787
  distance: D.origin.distanceTo(f),
@@ -795,9 +795,9 @@ function Ft(s, e) {
795
795
  }
796
796
  function Ot(s, e, n) {
797
797
  const i = e.projectionMatrix, a = s.material.resolution, r = s.matrixWorld, o = s.geometry, u = o.attributes.instanceStart, p = o.attributes.instanceEnd, f = Math.min(o.instanceCount, u.count), m = -e.near;
798
- D.at(1, T), T.w = 1, T.applyMatrix4(e.matrixWorldInverse), T.applyMatrix4(i), T.multiplyScalar(1 / T.w), T.x *= a.x / 2, T.y *= a.y / 2, T.z = 0, ve.copy(T), ge.multiplyMatrices(e.matrixWorldInverse, r);
798
+ D.at(1, T), T.w = 1, T.applyMatrix4(e.matrixWorldInverse), T.applyMatrix4(i), T.multiplyScalar(1 / T.w), T.x *= a.x / 2, T.y *= a.y / 2, T.z = 0, ge.copy(T), ye.multiplyMatrices(e.matrixWorldInverse, r);
799
799
  for (let g = 0, E = f; g < E; g++) {
800
- if (_.fromBufferAttribute(u, g), S.fromBufferAttribute(p, g), _.w = 1, S.w = 1, _.applyMatrix4(ge), S.applyMatrix4(ge), _.z > m && S.z > m)
800
+ if (_.fromBufferAttribute(u, g), S.fromBufferAttribute(p, g), _.w = 1, S.w = 1, _.applyMatrix4(ye), S.applyMatrix4(ye), _.z > m && S.z > m)
801
801
  continue;
802
802
  if (_.z > m) {
803
803
  const U = _.z - S.z, L = (_.z - m) / U;
@@ -807,9 +807,9 @@ function Ot(s, e, n) {
807
807
  S.lerp(_, L);
808
808
  }
809
809
  _.applyMatrix4(i), S.applyMatrix4(i), _.multiplyScalar(1 / _.w), S.multiplyScalar(1 / S.w), _.x *= a.x / 2, _.y *= a.y / 2, S.x *= a.x / 2, S.y *= a.y / 2, z.start.copy(_), z.start.z = 0, z.end.copy(S), z.end.z = 0;
810
- const P = z.closestPointToPointParameter(ve, !0);
810
+ const P = z.closestPointToPointParameter(ge, !0);
811
811
  z.at(P, Ae);
812
- const h = De.lerp(_.z, S.z, P), x = h >= -1 && h <= 1, C = ve.distanceTo(Ae) < I * 0.5;
812
+ const h = De.lerp(_.z, S.z, P), x = h >= -1 && h <= 1, C = ge.distanceTo(Ae) < V * 0.5;
813
813
  if (x && C) {
814
814
  z.start.fromBufferAttribute(u, g), z.end.fromBufferAttribute(p, g), z.start.applyMatrix4(r), z.end.applyMatrix4(r);
815
815
  const U = new k(), L = new k();
@@ -833,7 +833,7 @@ class jt extends ke {
833
833
  * @param {LineSegmentsGeometry} [geometry] - The line geometry.
834
834
  * @param {LineMaterial} [material] - The line material.
835
835
  */
836
- constructor(e = new je(), n = new be({ color: Math.random() * 16777215 })) {
836
+ constructor(e = new je(), n = new _e({ color: Math.random() * 16777215 })) {
837
837
  super(e, n), this.isLineSegments2 = !0, this.type = "LineSegments2";
838
838
  }
839
839
  /**
@@ -847,8 +847,8 @@ class jt extends ke {
847
847
  const e = this.geometry, n = e.attributes.instanceStart, i = e.attributes.instanceEnd, t = new Float32Array(2 * n.count);
848
848
  for (let r = 0, o = 0, u = n.count; r < u; r++, o += 2)
849
849
  Ee.fromBufferAttribute(n, r), Ue.fromBufferAttribute(i, r), t[o] = o === 0 ? 0 : t[o - 1], t[o + 1] = t[o] + Ee.distanceTo(Ue);
850
- const a = new we(t, 2, 1);
851
- return e.setAttribute("instanceDistanceStart", new W(a, 1, 0)), e.setAttribute("instanceDistanceEnd", new W(a, 1, 1)), this;
850
+ const a = new xe(t, 2, 1);
851
+ return e.setAttribute("instanceDistanceStart", new H(a, 1, 0)), e.setAttribute("instanceDistanceEnd", new H(a, 1, 1)), this;
852
852
  }
853
853
  /**
854
854
  * Computes intersection points between a casted ray and this instance.
@@ -862,29 +862,29 @@ class jt extends ke {
862
862
  const a = e.params.Line2 !== void 0 && e.params.Line2.threshold || 0;
863
863
  D = e.ray;
864
864
  const r = this.matrixWorld, o = this.geometry, u = this.material;
865
- I = u.linewidth + a, o.boundingSphere === null && o.computeBoundingSphere(), oe.copy(o.boundingSphere).applyMatrix4(r);
865
+ V = u.linewidth + a, o.boundingSphere === null && o.computeBoundingSphere(), ae.copy(o.boundingSphere).applyMatrix4(r);
866
866
  let p;
867
867
  if (i)
868
- p = I * 0.5;
868
+ p = V * 0.5;
869
869
  else {
870
- const m = Math.max(t.near, oe.distanceToPoint(D.origin));
870
+ const m = Math.max(t.near, ae.distanceToPoint(D.origin));
871
871
  p = Me(t, m, u.resolution);
872
872
  }
873
- if (oe.radius += p, D.intersectsSphere(oe) === !1)
873
+ if (ae.radius += p, D.intersectsSphere(ae) === !1)
874
874
  return;
875
- o.boundingBox === null && o.computeBoundingBox(), se.copy(o.boundingBox).applyMatrix4(r);
875
+ o.boundingBox === null && o.computeBoundingBox(), oe.copy(o.boundingBox).applyMatrix4(r);
876
876
  let f;
877
877
  if (i)
878
- f = I * 0.5;
878
+ f = V * 0.5;
879
879
  else {
880
- const m = Math.max(t.near, se.distanceToPoint(D.origin));
880
+ const m = Math.max(t.near, oe.distanceToPoint(D.origin));
881
881
  f = Me(t, m, u.resolution);
882
882
  }
883
- se.expandByScalar(f), D.intersectsBox(se) !== !1 && (i ? Ft(this, n) : Ot(this, t, n));
883
+ oe.expandByScalar(f), D.intersectsBox(oe) !== !1 && (i ? Ft(this, n) : Ot(this, t, n));
884
884
  }
885
885
  onBeforeRender(e) {
886
886
  const n = this.material.uniforms;
887
- n && n.resolution && (e.getViewport(he), this.material.uniforms.resolution.value.set(he.z, he.w));
887
+ n && n.resolution && (e.getViewport(ve), this.material.uniforms.resolution.value.set(ve.z, ve.w));
888
888
  }
889
889
  }
890
890
  class Ie extends je {
@@ -948,7 +948,7 @@ class It extends jt {
948
948
  * @param {LineGeometry} [geometry] - The line geometry.
949
949
  * @param {LineMaterial} [material] - The line material.
950
950
  */
951
- constructor(e = new Ie(), n = new be({ color: Math.random() * 16777215 })) {
951
+ constructor(e = new Ie(), n = new _e({ color: Math.random() * 16777215 })) {
952
952
  super(e, n), this.isLine2 = !0, this.type = "Line2";
953
953
  }
954
954
  }
@@ -959,7 +959,7 @@ function Vt(s) {
959
959
  e.push(+i, +t, +a);
960
960
  }), e;
961
961
  }
962
- function ue(s, e, n) {
962
+ function de(s, e, n) {
963
963
  switch (s) {
964
964
  case "X":
965
965
  e.x = +n || 0;
@@ -986,12 +986,12 @@ function Nt(s) {
986
986
  for (let u = 0; u < (a == null ? void 0 : a.length); u++) {
987
987
  const p = a[u], f = n.find((m) => m === p);
988
988
  if (f) {
989
- r && ue(r, t, o), o = "", r = f;
989
+ r && de(r, t, o), o = "", r = f;
990
990
  continue;
991
991
  }
992
992
  o = o + p;
993
993
  }
994
- ue(r, t, o), e.push(t.x, t.y, t.z);
994
+ de(r, t, o), e.push(t.x, t.y, t.z);
995
995
  }), e;
996
996
  }
997
997
  const Gt = (s) => s == null ? void 0 : s.filter((n) => n.includes("=")), Wt = (s) => s.replace(/,/g, ""), Ht = (s) => s == null ? void 0 : s.map((n) => Wt(n)), $t = (s) => {
@@ -1022,12 +1022,12 @@ function Xt(s) {
1022
1022
  for (let u = 0; u < (a == null ? void 0 : a.length); u++) {
1023
1023
  const p = a[u], f = n.find((m) => m === p);
1024
1024
  if (f) {
1025
- r && ue(r, t, o), o = "", r = f;
1025
+ r && de(r, t, o), o = "", r = f;
1026
1026
  continue;
1027
1027
  }
1028
1028
  o = o + p;
1029
1029
  }
1030
- ue(r, t, o), e.push(t.x, t.y, t.z);
1030
+ de(r, t, o), e.push(t.x, t.y, t.z);
1031
1031
  }), e;
1032
1032
  }
1033
1033
  function qt(s) {
@@ -1092,7 +1092,7 @@ function tn(s, e) {
1092
1092
  r.push(new k(e[g], e[g + 1], e[g + 2]));
1093
1093
  const u = new wt(r, !1, "catmullrom", 0.5).getPoints(150).flatMap((g) => [g.x, g.y, g.z]), p = new Ie();
1094
1094
  p.setPositions(u);
1095
- const f = new be({
1095
+ const f = new _e({
1096
1096
  color: 55551,
1097
1097
  linewidth: 3,
1098
1098
  // 像素宽度,可 >1
@@ -1111,7 +1111,7 @@ function nn(s, e, n, i = 4, t = 50) {
1111
1111
  }
1112
1112
  function sn(s) {
1113
1113
  const e = new xt();
1114
- e.setAttribute("position", new ye(s, 3));
1114
+ e.setAttribute("position", new we(s, 3));
1115
1115
  const n = new bt({
1116
1116
  color: 55551,
1117
1117
  size: 1,
@@ -1146,7 +1146,7 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1146
1146
  },
1147
1147
  emits: ["getAnimationData", "getThreeData"],
1148
1148
  setup(s, { emit: e }) {
1149
- const n = e, i = s, t = A(null), a = A(!1), r = A(""), o = A(), u = A(!1), p = A(""), f = A(!1), m = A(""), g = pe(null), E = pe(null), {
1149
+ const n = e, i = s, t = A(null), a = A(!1), r = A(""), o = A(), u = A(!1), p = A(""), f = A(!1), m = A(""), g = me(null), E = me(null), {
1150
1150
  currentModels: F,
1151
1151
  resetView: P,
1152
1152
  initThreeJS: h,
@@ -1154,81 +1154,81 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1154
1154
  getThreeJSObjects: C,
1155
1155
  cleanup: U,
1156
1156
  axesHelperVisible: L,
1157
- toggleAxesVisibility: de
1158
- } = rt(t), { isAnimating: V, toggleAnimation: Ve, stopAnimation: Ne } = lt(C, F), { isClipping: Ge, activeClippingAxis: M, toggleClipping: We, updateClippingPlanes: O } = ct(C, F), He = () => {
1159
- de();
1160
- }, H = (c) => {
1157
+ toggleAxesVisibility: fe
1158
+ } = rt(t), { isAnimating: N, toggleAnimation: Ve, stopAnimation: Ne } = lt(C, F), { isClipping: Ge, activeClippingAxis: M, toggleClipping: We, updateClippingPlanes: O } = ct(C, F), He = () => {
1159
+ fe();
1160
+ }, $ = (c) => {
1161
1161
  u.value = !0, p.value = c, c === "剖面视图" && !Ge.value && We();
1162
- }, J = (c) => {
1162
+ }, K = (c) => {
1163
1163
  f.value = !0, m.value = c, c === "动画仿真" && n("getAnimationData");
1164
- }, fe = A([]), $ = A([]), $e = G(() => {
1164
+ }, pe = A([]), R = A([]), $e = W(() => {
1165
1165
  var l;
1166
1166
  return (l = i.trackFileType) == null ? void 0 : l.isUv;
1167
- }), Re = G(() => {
1167
+ }), Re = W(() => {
1168
1168
  var l;
1169
1169
  return (l = i.trackFileType) == null ? void 0 : l.isCyd;
1170
- }), Xe = G(() => {
1170
+ }), Xe = W(() => {
1171
1171
  var l;
1172
1172
  return (l = i.trackFileType) == null ? void 0 : l.isCpt;
1173
- }), _e = G(() => {
1173
+ }), I = W(() => {
1174
1174
  var l;
1175
1175
  return (l = i.trackFileType) == null ? void 0 : l.isNc;
1176
- }), qe = G(() => {
1176
+ }), qe = W(() => {
1177
1177
  const c = i.fileUrls || [];
1178
1178
  return c == null ? void 0 : c[0];
1179
1179
  });
1180
- let N = null, K = pe();
1180
+ let G = null, Q = me();
1181
1181
  const Se = () => {
1182
1182
  const { scene: c } = C();
1183
- N && c && (dt(N, c), N = null);
1183
+ G && c && (dt(G, c), G = null);
1184
1184
  }, Ye = async (c) => {
1185
1185
  const l = await St(c);
1186
1186
  if (Et(l)) {
1187
- const Q = await Qt(l, i.trackFileType) || [];
1188
- fe.value = Q;
1189
- const y = fe.value;
1190
- $e.value && (N = tn(C, y)), (Re.value || Xe.value || _e.value) && (N = on(C, y)), ut(C, N);
1187
+ const ee = await Qt(l, i.trackFileType) || [];
1188
+ pe.value = ee;
1189
+ const y = pe.value;
1190
+ $e.value && (G = tn(C, y)), (Re.value || Xe.value || I.value) && (G = on(C, y)), ut(C, G);
1191
1191
  }
1192
1192
  }, Ze = () => {
1193
1193
  var c, l;
1194
- K.value = Ut(), $.value = en(fe.value), $.value && $.value.length && (Oe(K.value, $.value[0]), (l = (c = E.value) == null ? void 0 : c.add) == null || l.call(c, K.value));
1194
+ Q.value = Ut(), R.value = en(pe.value), R.value && R.value.length && (Oe(Q.value, R.value[0]), (l = (c = E.value) == null ? void 0 : c.add) == null || l.call(c, Q.value));
1195
1195
  };
1196
1196
  it(() => qe.value, async (c) => {
1197
- c && (Se(), await Ye(c), _e.value && Ze());
1197
+ c && (Se(), await Ye(c), I.value && Ze());
1198
1198
  }, {
1199
1199
  immediate: !0,
1200
1200
  deep: !0
1201
1201
  });
1202
1202
  const Je = () => {
1203
1203
  var c;
1204
- (c = o == null ? void 0 : o.value) == null || c.playAnimation();
1204
+ I.value && ((c = o == null ? void 0 : o.value) == null || c.playAnimation());
1205
1205
  }, Ke = () => {
1206
1206
  var c;
1207
- (c = o == null ? void 0 : o.value) == null || c.stopAnimation();
1207
+ I.value && ((c = o == null ? void 0 : o.value) == null || c.stopAnimation());
1208
1208
  }, Qe = () => {
1209
1209
  var c;
1210
- (c = o == null ? void 0 : o.value) == null || c.forwardFrame();
1210
+ I.value && ((c = o == null ? void 0 : o.value) == null || c.forwardFrame());
1211
1211
  }, et = () => {
1212
1212
  var c;
1213
- (c = o == null ? void 0 : o.value) == null || c.backwardFrame();
1213
+ I.value && ((c = o == null ? void 0 : o.value) == null || c.backwardFrame());
1214
1214
  }, tt = () => {
1215
1215
  h(), window.addEventListener("resize", x);
1216
1216
  const c = C();
1217
1217
  E.value = c.scene, E.value && (E.value.name = "CPMPIP");
1218
1218
  }, nt = () => {
1219
- window.removeEventListener("resize", x), V.value && Ne(), Se(), U();
1219
+ window.removeEventListener("resize", x), N.value && Ne(), Se(), U();
1220
1220
  };
1221
1221
  return st(async () => {
1222
1222
  try {
1223
1223
  tt();
1224
1224
  } catch (c) {
1225
- console.error("Three.js 初始化失败:", c), q.error("渲染引擎初始化失败!");
1225
+ console.error("Three.js 初始化失败:", c), Y.error("渲染引擎初始化失败!");
1226
1226
  }
1227
1227
  }), ot(() => {
1228
1228
  nt();
1229
1229
  }), (c, l) => {
1230
- const Q = R("el-scrollbar");
1231
- return X(), ae("div", an, [
1230
+ const ee = X("el-scrollbar");
1231
+ return q(), re("div", an, [
1232
1232
  d("div", {
1233
1233
  ref_key: "threejsContainer",
1234
1234
  ref: t,
@@ -1277,7 +1277,7 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1277
1277
  name: "lookAround",
1278
1278
  size: "24",
1279
1279
  onClick: b(Ve),
1280
- title: b(V) ? "停止动画" : "动画视图"
1280
+ title: b(N) ? "停止动画" : "动画视图"
1281
1281
  }, null, 8, ["onClick", "title"]),
1282
1282
  v(w, {
1283
1283
  name: "zuobiaoxi",
@@ -1288,34 +1288,34 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1288
1288
  }, null, 8, ["active"])
1289
1289
  ]),
1290
1290
  d("div", cn, [
1291
- ze(c.$slots, "button-left", { switchRightPanel: H }, void 0, !0),
1291
+ ze(c.$slots, "button-left", { switchRightPanel: $ }, void 0, !0),
1292
1292
  v(w, {
1293
1293
  name: "jiegoushu",
1294
1294
  size: "24",
1295
- onClick: l[0] || (l[0] = (y) => H("场景树")),
1295
+ onClick: l[0] || (l[0] = (y) => $("场景树")),
1296
1296
  active: u.value && p.value === "场景树",
1297
1297
  title: "场景树"
1298
1298
  }, null, 8, ["active"]),
1299
1299
  v(w, {
1300
1300
  name: "clipping",
1301
1301
  size: "24",
1302
- onClick: l[1] || (l[1] = (y) => H("剖面视图")),
1302
+ onClick: l[1] || (l[1] = (y) => $("剖面视图")),
1303
1303
  active: u.value && p.value === "剖面视图",
1304
1304
  title: "剖面视图"
1305
1305
  }, null, 8, ["active"]),
1306
1306
  v(w, {
1307
1307
  name: "donghuafangzhen",
1308
1308
  size: "24",
1309
- onClick: l[2] || (l[2] = (y) => H("场景树3"))
1309
+ onClick: l[2] || (l[2] = (y) => $("场景树3"))
1310
1310
  }),
1311
1311
  v(w, {
1312
1312
  name: "donghuafangzhen",
1313
1313
  size: "24",
1314
- onClick: l[3] || (l[3] = (y) => H("场景4"))
1314
+ onClick: l[3] || (l[3] = (y) => $("场景4"))
1315
1315
  })
1316
1316
  ]),
1317
1317
  d("div", un, [
1318
- ze(c.$slots, "button-right", { switchRightPanel: J }, void 0, !0),
1318
+ ze(c.$slots, "button-right", { switchRightPanel: K }, void 0, !0),
1319
1319
  v(w, {
1320
1320
  name: "donghuafangzhen",
1321
1321
  size: "24"
@@ -1323,7 +1323,7 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1323
1323
  v(w, {
1324
1324
  name: "guanjiekongzhi",
1325
1325
  size: "24",
1326
- onClick: l[4] || (l[4] = (y) => J("关节控制")),
1326
+ onClick: l[4] || (l[4] = (y) => K("关节控制")),
1327
1327
  active: f.value && m.value === "关节控制",
1328
1328
  title: "关节控制"
1329
1329
  }, null, 8, ["active"]),
@@ -1331,14 +1331,14 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1331
1331
  name: "donghuafangzhen",
1332
1332
  size: "24",
1333
1333
  title: "动画仿真",
1334
- onClick: l[5] || (l[5] = (y) => J("动画仿真")),
1334
+ onClick: l[5] || (l[5] = (y) => K("动画仿真")),
1335
1335
  active: f.value && m.value === "动画仿真"
1336
1336
  }, null, 8, ["active"]),
1337
1337
  v(w, {
1338
1338
  name: "donghuafangzhen",
1339
1339
  size: "24",
1340
1340
  title: "urdf动画",
1341
- onClick: l[6] || (l[6] = (y) => J("urdf动画")),
1341
+ onClick: l[6] || (l[6] = (y) => K("urdf动画")),
1342
1342
  active: f.value && m.value === "urdf动画"
1343
1343
  }, null, 8, ["active"]),
1344
1344
  v(w, {
@@ -1378,31 +1378,31 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1378
1378
  ]),
1379
1379
  j(d("div", fn, [
1380
1380
  d("div", pn, [
1381
- d("span", null, Y(p.value), 1),
1381
+ d("span", null, Z(p.value), 1),
1382
1382
  d("span", {
1383
1383
  class: "close",
1384
1384
  onClick: l[7] || (l[7] = (y) => u.value = !1)
1385
1385
  }, " X ")
1386
1386
  ]),
1387
1387
  d("div", mn, [
1388
- v(Q, { height: "100%" }, {
1389
- default: ce(() => [
1390
- p.value === "场景树" ? (X(), at(zt, {
1388
+ v(ee, { height: "100%" }, {
1389
+ default: ue(() => [
1390
+ p.value === "场景树" ? (q(), at(zt, {
1391
1391
  key: 0,
1392
1392
  model: g.value
1393
- }, null, 8, ["model"])) : me("", !0),
1394
- p.value === "剖面视图" ? (X(), ae("div", hn, [
1393
+ }, null, 8, ["model"])) : he("", !0),
1394
+ p.value === "剖面视图" ? (q(), re("div", hn, [
1395
1395
  d("div", vn, [
1396
1396
  d("label", gn, [
1397
1397
  j(d("input", {
1398
1398
  type: "radio",
1399
1399
  name: "clipping-axis",
1400
1400
  value: "none",
1401
- "onUpdate:modelValue": l[8] || (l[8] = (y) => ee(M) ? M.value = y : null),
1401
+ "onUpdate:modelValue": l[8] || (l[8] = (y) => te(M) ? M.value = y : null),
1402
1402
  onChange: l[9] || (l[9] = //@ts-ignore
1403
1403
  (...y) => b(O) && b(O)(...y))
1404
1404
  }, null, 544), [
1405
- [te, b(M)]
1405
+ [ne, b(M)]
1406
1406
  ]),
1407
1407
  l[17] || (l[17] = d("span", { class: "radio-text" }, "无切割", -1))
1408
1408
  ]),
@@ -1411,11 +1411,11 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1411
1411
  type: "radio",
1412
1412
  name: "clipping-axis",
1413
1413
  value: "x",
1414
- "onUpdate:modelValue": l[10] || (l[10] = (y) => ee(M) ? M.value = y : null),
1414
+ "onUpdate:modelValue": l[10] || (l[10] = (y) => te(M) ? M.value = y : null),
1415
1415
  onChange: l[11] || (l[11] = //@ts-ignore
1416
1416
  (...y) => b(O) && b(O)(...y))
1417
1417
  }, null, 544), [
1418
- [te, b(M)]
1418
+ [ne, b(M)]
1419
1419
  ]),
1420
1420
  l[18] || (l[18] = d("span", { class: "radio-text" }, "X轴切割", -1))
1421
1421
  ]),
@@ -1424,11 +1424,11 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1424
1424
  type: "radio",
1425
1425
  name: "clipping-axis",
1426
1426
  value: "y",
1427
- "onUpdate:modelValue": l[12] || (l[12] = (y) => ee(M) ? M.value = y : null),
1427
+ "onUpdate:modelValue": l[12] || (l[12] = (y) => te(M) ? M.value = y : null),
1428
1428
  onChange: l[13] || (l[13] = //@ts-ignore
1429
1429
  (...y) => b(O) && b(O)(...y))
1430
1430
  }, null, 544), [
1431
- [te, b(M)]
1431
+ [ne, b(M)]
1432
1432
  ]),
1433
1433
  l[19] || (l[19] = d("span", { class: "radio-text" }, "Y轴切割", -1))
1434
1434
  ]),
@@ -1437,60 +1437,60 @@ const an = { class: "obj-viewer-container" }, rn = { class: "buttonGroup-top" },
1437
1437
  type: "radio",
1438
1438
  name: "clipping-axis",
1439
1439
  value: "z",
1440
- "onUpdate:modelValue": l[14] || (l[14] = (y) => ee(M) ? M.value = y : null),
1440
+ "onUpdate:modelValue": l[14] || (l[14] = (y) => te(M) ? M.value = y : null),
1441
1441
  onChange: l[15] || (l[15] = //@ts-ignore
1442
1442
  (...y) => b(O) && b(O)(...y))
1443
1443
  }, null, 544), [
1444
- [te, b(M)]
1444
+ [ne, b(M)]
1445
1445
  ]),
1446
1446
  l[20] || (l[20] = d("span", { class: "radio-text" }, "Z轴切割", -1))
1447
1447
  ])
1448
1448
  ])
1449
- ])) : me("", !0)
1449
+ ])) : he("", !0)
1450
1450
  ]),
1451
1451
  _: 1
1452
1452
  })
1453
1453
  ])
1454
1454
  ], 512), [
1455
- [ne, u.value]
1455
+ [ie, u.value]
1456
1456
  ]),
1457
1457
  j(d("div", bn, [
1458
1458
  d("div", _n, [
1459
- d("span", null, Y(m.value), 1),
1459
+ d("span", null, Z(m.value), 1),
1460
1460
  d("span", {
1461
1461
  class: "close",
1462
1462
  onClick: l[16] || (l[16] = (y) => f.value = !1)
1463
1463
  }, " X ")
1464
1464
  ]),
1465
1465
  d("div", Sn, [
1466
- v(Q, { height: "100%" }, {
1467
- default: ce(() => [
1466
+ v(ee, { height: "100%" }, {
1467
+ default: ue(() => [
1468
1468
  j(v(Ct, { model: g.value }, null, 8, ["model"]), [
1469
- [ne, m.value === "关节控制"]
1469
+ [ie, m.value === "关节控制"]
1470
1470
  ]),
1471
1471
  j(v(Dt, {
1472
1472
  ref_key: "animationPanelRef",
1473
1473
  ref: o,
1474
- knife: b(K),
1475
- vectors: $.value
1474
+ knife: b(Q),
1475
+ vectors: R.value
1476
1476
  }, null, 8, ["knife", "vectors"]), [
1477
- [ne, m.value === "动画仿真"]
1477
+ [ie, m.value === "动画仿真" && I.value]
1478
1478
  ])
1479
1479
  ]),
1480
1480
  _: 1
1481
1481
  })
1482
1482
  ])
1483
1483
  ], 512), [
1484
- [ne, f.value]
1484
+ [ie, f.value]
1485
1485
  ]),
1486
- a.value ? (X(), ae("div", zn, [
1486
+ a.value ? (q(), re("div", zn, [
1487
1487
  l[21] || (l[21] = d("div", { class: "loading-spinner" }, null, -1)),
1488
- d("p", null, Y(r.value), 1)
1489
- ])) : me("", !0)
1488
+ d("p", null, Z(r.value), 1)
1489
+ ])) : he("", !0)
1490
1490
  ]);
1491
1491
  };
1492
1492
  }
1493
- }), Dn = /* @__PURE__ */ Fe(Cn, [["__scopeId", "data-v-af32a542"]]);
1493
+ }), Dn = /* @__PURE__ */ Fe(Cn, [["__scopeId", "data-v-620e27e3"]]);
1494
1494
  export {
1495
1495
  Dn as default
1496
1496
  };