ss-component-new 1.2.47 → 1.2.49

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 (88) hide show
  1. package/dist/{MTLLoader-CaFP1Ou3.js → MTLLoader-CI8ixwPt.js} +1 -1
  2. package/dist/{MTLLoader-CE4kiml3.cjs → MTLLoader-Dvu7y2QT.cjs} +1 -1
  3. package/dist/{OrbitControls-DArl2VW_.js → OrbitControls-C9e3hYR3.js} +1 -1
  4. package/dist/{OrbitControls-Dp4IKx0f.cjs → OrbitControls-_0hxpyeP.cjs} +1 -1
  5. package/dist/{animationData-Bn6Bb5Do.cjs → animationData-D_zttqoJ.cjs} +1 -1
  6. package/dist/{animationData-CKhRG4G6.js → animationData-X5-Vecw1.js} +1 -1
  7. package/dist/{fileUtil-XthoWjc0.cjs → fileUtil-Bdou_B28.cjs} +1 -1
  8. package/dist/{fileUtil-CGSBIaqQ.js → fileUtil-DfZnK-Hd.js} +1 -1
  9. package/dist/{iconfont-CoOPkcMU.js → iconfont-BqCAG-Xa.js} +2 -2
  10. package/dist/{iconfont-CzHX5Q49.cjs → iconfont-CF0Z-1Zz.cjs} +1 -1
  11. package/dist/{index-DK2gRUQ5.js → index--dF_34pi.js} +3 -3
  12. package/dist/{index-B_N4MySi.js → index-4YT4LSe0.js} +6 -6
  13. package/dist/{index-D6f9QOaT.cjs → index-B67T_D-B.cjs} +1 -1
  14. package/dist/{index-BgGtziMi.js → index-BBhUi01k.js} +1 -1
  15. package/dist/{index-kU-daxaJ.cjs → index-BFDlTBy2.cjs} +1 -1
  16. package/dist/{index-BuLZitf5.js → index-BFbWwBLk.js} +1 -1
  17. package/dist/{index-CC7hLeHW.cjs → index-BNvzsde-.cjs} +1 -1
  18. package/dist/{index-BPAbLPKP.js → index-BXmDJjWZ.js} +3 -3
  19. package/dist/{index-BaCVhcpB.js → index-BayEAjm5.js} +2 -2
  20. package/dist/{index-DeoJm8bD.cjs → index-Bi-eQ_Ao.cjs} +1 -1
  21. package/dist/{index-DlWW881X.cjs → index-BlOdSSAq.cjs} +1 -1
  22. package/dist/{index-BlI13uDG.js → index-BtFLHygK.js} +3 -3
  23. package/dist/{index-CkjmhTCX.cjs → index-CCQIE4Oy.cjs} +1 -1
  24. package/dist/{index-BzE5v5kZ.js → index-CNm1s2vL.js} +1 -1
  25. package/dist/{index-CVvKFbm0.cjs → index-CPUMWDcJ.cjs} +1 -1
  26. package/dist/{index-BGs6f9ia.cjs → index-CQ1e9lYs.cjs} +1 -1
  27. package/dist/{index-CoM7mmmK.js → index-CS0QGxh0.js} +2 -2
  28. package/dist/{index-DS74YOGT.js → index-CS9sM7Hp.js} +13 -13
  29. package/dist/{index-C9kezJl-.cjs → index-CVpMVZV1.cjs} +1 -1
  30. package/dist/{index-C27aVboC.cjs → index-C_sDHKxB.cjs} +1 -1
  31. package/dist/{index-BTFg_bTg.cjs → index-CbBgf-yk.cjs} +1 -1
  32. package/dist/{index-CA2Yz2_0.cjs → index-CkuJ8iH2.cjs} +1 -1
  33. package/dist/{index-D9lY54L2.cjs → index-Cl7W3Ut8.cjs} +1 -1
  34. package/dist/{index-CaVtcERG.js → index-CmhVDhAN.js} +1 -1
  35. package/dist/{index-DtKItKKp.cjs → index-CtG2kfBs.cjs} +1 -1
  36. package/dist/{index-Bp8HFrx8.cjs → index-Ctu9PMCG.cjs} +1 -1
  37. package/dist/{index-Dhr85_ZG.js → index-CuaFndyM.js} +1 -1
  38. package/dist/{index-BM3G9dKv.cjs → index-DE3DTsMe.cjs} +1 -1
  39. package/dist/{index-BIbEt8CC.cjs → index-DbTCGQx3.cjs} +1 -1
  40. package/dist/{index-DhNncUpj.js → index-DcOmBNJf.js} +6 -6
  41. package/dist/{index-CwUGEpBf.js → index-DcaPy4x5.js} +4 -4
  42. package/dist/{index-LviYrEee.cjs → index-DhBSzWe6.cjs} +1 -1
  43. package/dist/{index-Bav-TgWp.cjs → index-DtstoFZP.cjs} +1 -1
  44. package/dist/{index-Cv4ZnuwG.js → index-Dy4T7syW.js} +1 -1
  45. package/dist/{index-D4-Vm_be.js → index-Gf-kIKKw.js} +1 -1
  46. package/dist/{index-DbebBHFx.cjs → index-MRxhNso1.cjs} +1 -1
  47. package/dist/{index-0QG1fhmk.js → index-PQ_QQCkT.js} +3 -3
  48. package/dist/{index-DDIHX4cE.js → index-Z6YOQl0q.js} +1 -1
  49. package/dist/{index-DxoNiiaW.js → index-ZQaet9VV.js} +2 -2
  50. package/dist/{index-DO7yfB4v.cjs → index-ZRiaAb2v.cjs} +1 -1
  51. package/dist/{index-B3tcBTuN.js → index-ahynRrcW.js} +1 -1
  52. package/dist/{index-UbKxbl_Q.js → index-qjBFQjPJ.js} +1 -1
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CVhcJCk3.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B6ZjVCbD.cjs} +1 -1
  54. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DVDkdgUJ.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B6uH3veM.js} +6 -6
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BKmza87s.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bs732h4o.js} +1642 -1647
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CVOmmDqn.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-ZpdB8yMK.cjs} +58 -58
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BHE0HyLH.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Bo0v68wl.js} +3 -3
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-UPn3ibM8.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-D6ACiiu0.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_1_lang-BQu9bRjA.js → index.vue_vue_type_style_index_1_lang-BWrgp4ZE.js} +3 -3
  60. package/dist/{index.vue_vue_type_style_index_1_lang-BCgJtTb9.cjs → index.vue_vue_type_style_index_1_lang-C48UCmcC.cjs} +1 -1
  61. package/dist/{main-C8s1t45C.cjs → main-_mrHlIM9.cjs} +1 -1
  62. package/dist/{main-DYESspnW.js → main-m1Rhr2az.js} +2 -2
  63. package/dist/ss-component.cjs +1 -1
  64. package/dist/ss-component.js +9 -9
  65. package/dist/ss-component2.cjs +1 -1
  66. package/dist/ss-component2.js +10 -10
  67. package/dist/{threeModel-CPfys2Ir.cjs → threeModel-B3mSuqYu.cjs} +1 -1
  68. package/dist/{threeModel-CE2asK8z.js → threeModel-CvPCyPV6.js} +4 -4
  69. package/dist/{threePreview-B4pWTdK0.cjs → threePreview-BadLzWum.cjs} +1 -1
  70. package/dist/{threePreview-D1x3POg8.js → threePreview-C4uFnwJD.js} +3 -3
  71. package/dist/{threeSceneView-B7Rg5mYp.cjs → threeSceneView-BVrwU1JW.cjs} +1 -1
  72. package/dist/{threeSceneView-C_rkxb3y.js → threeSceneView-ZtLxHVG4.js} +6 -6
  73. package/dist/{threeSceneViewForCPMPIP-B6jB5Tek.cjs → threeSceneViewForCPMPIP-1YWF_a61.cjs} +1 -1
  74. package/dist/{threeSceneViewForCPMPIP-68VJDoWr.js → threeSceneViewForCPMPIP-C0FHJPj7.js} +7 -7
  75. package/dist/threeTrackPathView-DUeFqTH4.cjs +370 -0
  76. package/dist/{threeTrackPathView-Cs-yUH16.js → threeTrackPathView-uxK07M8K.js} +283 -263
  77. package/dist/{threeViewerHost-Ca1V8lHT.cjs → threeViewerHost-B0cP0E33.cjs} +1 -1
  78. package/dist/{threeViewerHost-N_id3Zd_.js → threeViewerHost-C5syYs1F.js} +2 -2
  79. package/dist/{urdfTree-D6IvPahB.js → urdfTree-DHVh6IAB.js} +1 -1
  80. package/dist/{urdfTree-Czcl8tzp.cjs → urdfTree-tjbbIpI4.cjs} +1 -1
  81. package/dist/{workpieceTreePanel-Cyhp8KK2.js → workpieceTreePanel-DrKcwg7Z.js} +5 -5
  82. package/dist/{workpieceTreePanel-CWGU_Vea.cjs → workpieceTreePanel-QjGBJMbm.cjs} +1 -1
  83. package/package.json +1 -1
  84. package/dist/obj/model.mtl +0 -42
  85. package/dist/obj/model.obj +0 -26110
  86. package/dist/threeTrackPathView-c50jFDAg.cjs +0 -370
  87. package/public/obj/model.mtl +0 -42
  88. package/public/obj/model.obj +0 -26110
@@ -1,13 +1,13 @@
1
- import { defineComponent as We, ref as B, shallowRef as he, computed as $, watch as Ve, onMounted as He, onBeforeUnmount as Ne, resolveComponent as $e, createElementBlock as te, openBlock as X, createElementVNode as d, withDirectives as k, createCommentVNode as ne, createVNode as p, unref as b, renderSlot as ve, toDisplayString as ie, withCtx as ge, createBlock as Xe, isRef as Y, vModelRadio as q, vShow as se } from "vue";
2
- import { u as Ye, a as qe, b as Je, f as Ze, d as Ke } from "./iconfont-CoOPkcMU.js";
3
- import { aE as Qe, aF as le, aG as de, av as R, aH as et, B as ce, aD as Ce, V as P, aI as tt, aJ as Q, aK as _e, Y as Ue, aL as ee, k as nt, aM as V, aN as it, r as st, s as Ee, t as ot, w as at, ag as rt, ao as lt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BKmza87s.js";
4
- import { r as dt } from "./fileUtil-CGSBIaqQ.js";
5
- import { E as ct } from "./index-CbJEJj8c.js";
6
- import { U as ut, J as ft } from "./urdfTree-D6IvPahB.js";
7
- import { T as v } from "./svgIcon-D-_fXUBL.js";
1
+ import { defineComponent as Ve, ref as D, shallowRef as he, computed as q, watch as We, onMounted as He, onBeforeUnmount as Ne, resolveComponent as qe, createElementBlock as te, openBlock as $, createElementVNode as c, withDirectives as j, createCommentVNode as ne, createVNode as m, unref as S, renderSlot as ve, toDisplayString as ie, withCtx as ge, createBlock as $e, isRef as X, vModelRadio as Y, vShow as se } from "vue";
2
+ import { u as Xe, a as Ye, b as Ze, f as Je, d as Ke } from "./iconfont-BqCAG-Xa.js";
3
+ import { aE as Qe, aF as le, aG as ce, av as G, aH as et, B as de, aD as Ce, V as L, aI as tt, aJ as Q, aK as _e, Y as Ee, aL as ee, k as nt, aM as H, aN as it, r as st, s as Ue, t as ot, w as at, ag as rt, ao as lt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bs732h4o.js";
4
+ import { r as ct } from "./fileUtil-DfZnK-Hd.js";
5
+ import { E as dt } from "./index-CbJEJj8c.js";
6
+ import { U as ut, J as ft } from "./urdfTree-DHVh6IAB.js";
7
+ import { T as y } from "./svgIcon-D-_fXUBL.js";
8
8
  import { i as pt } from "./isString-Co7vgur-.js";
9
9
  import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const ye = new ce(), J = new P();
10
+ const ye = new de(), Z = new L();
11
11
  class Ae extends Qe {
12
12
  /**
13
13
  * Constructs a new line segments geometry.
@@ -37,8 +37,8 @@ class Ae extends Qe {
37
37
  setPositions(e) {
38
38
  let n;
39
39
  e instanceof Float32Array ? n = e : Array.isArray(e) && (n = new Float32Array(e));
40
- const i = new de(n, 6, 1);
41
- return this.setAttribute("instanceStart", new R(i, 3, 0)), this.setAttribute("instanceEnd", new R(i, 3, 3)), this.instanceCount = this.attributes.instanceStart.count, this.computeBoundingBox(), this.computeBoundingSphere(), this;
40
+ const i = new ce(n, 6, 1);
41
+ return this.setAttribute("instanceStart", new G(i, 3, 0)), this.setAttribute("instanceEnd", new G(i, 3, 3)), this.instanceCount = this.attributes.instanceStart.count, this.computeBoundingBox(), this.computeBoundingSphere(), this;
42
42
  }
43
43
  /**
44
44
  * Sets the given line colors for this geometry. The length must be a multiple of six since
@@ -50,8 +50,8 @@ class Ae extends Qe {
50
50
  setColors(e) {
51
51
  let n;
52
52
  e instanceof Float32Array ? n = e : Array.isArray(e) && (n = new Float32Array(e));
53
- const i = new de(n, 6, 1);
54
- return this.setAttribute("instanceColorStart", new R(i, 3, 0)), this.setAttribute("instanceColorEnd", new R(i, 3, 3)), this;
53
+ const i = new ce(n, 6, 1);
54
+ return this.setAttribute("instanceColorStart", new G(i, 3, 0)), this.setAttribute("instanceColorEnd", new G(i, 3, 3)), this;
55
55
  }
56
56
  /**
57
57
  * Setups this line segments geometry from the given wireframe geometry.
@@ -92,7 +92,7 @@ class Ae extends Qe {
92
92
  return this.setPositions(n.attributes.position.array), this;
93
93
  }
94
94
  computeBoundingBox() {
95
- this.boundingBox === null && (this.boundingBox = new ce());
95
+ this.boundingBox === null && (this.boundingBox = new de());
96
96
  const e = this.attributes.instanceStart, n = this.attributes.instanceEnd;
97
97
  e !== void 0 && n !== void 0 && (this.boundingBox.setFromBufferAttribute(e), ye.setFromBufferAttribute(n), this.boundingBox.union(ye));
98
98
  }
@@ -104,7 +104,7 @@ class Ae extends Qe {
104
104
  this.boundingBox.getCenter(i);
105
105
  let t = 0;
106
106
  for (let r = 0, l = e.count; r < l; r++)
107
- J.fromBufferAttribute(e, r), t = Math.max(t, i.distanceToSquared(J)), J.fromBufferAttribute(n, r), t = Math.max(t, i.distanceToSquared(J));
107
+ Z.fromBufferAttribute(e, r), t = Math.max(t, i.distanceToSquared(Z)), Z.fromBufferAttribute(n, r), t = Math.max(t, i.distanceToSquared(Z));
108
108
  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);
109
109
  }
110
110
  }
@@ -114,7 +114,7 @@ class Ae extends Qe {
114
114
  ee.line = {
115
115
  worldUnits: { value: 1 },
116
116
  linewidth: { value: 1 },
117
- resolution: { value: new Ue(1, 1) },
117
+ resolution: { value: new Ee(1, 1) },
118
118
  dashOffset: { value: 0 },
119
119
  dashScale: { value: 1 },
120
120
  dashSize: { value: 1 },
@@ -660,21 +660,21 @@ class ue extends tt {
660
660
  this.defines && (e === !0 !== this.alphaToCoverage && (this.needsUpdate = !0), e === !0 ? this.defines.USE_ALPHA_TO_COVERAGE = "" : delete this.defines.USE_ALPHA_TO_COVERAGE);
661
661
  }
662
662
  }
663
- const oe = new V(), we = new P(), xe = new P(), w = new V(), x = new V(), E = new V(), ae = new P(), re = new st(), S = new it(), Se = new P(), Z = new ce(), K = new Ce(), A = new V();
664
- let M, D;
665
- function be(o, e, n) {
666
- return A.set(0, 0, -e, 1).applyMatrix4(o.projectionMatrix), A.multiplyScalar(1 / A.w), A.x = D / n.width, A.y = D / n.height, A.applyMatrix4(o.projectionMatrixInverse), A.multiplyScalar(1 / A.w), Math.abs(Math.max(A.x, A.y));
663
+ const oe = new H(), we = new L(), xe = new L(), w = new H(), x = new H(), U = new H(), ae = new L(), re = new st(), b = new it(), be = new L(), J = new de(), K = new Ce(), A = new H();
664
+ let M, I;
665
+ function Se(s, e, n) {
666
+ return A.set(0, 0, -e, 1).applyMatrix4(s.projectionMatrix), A.multiplyScalar(1 / A.w), A.x = I / n.width, A.y = I / n.height, A.applyMatrix4(s.projectionMatrixInverse), A.multiplyScalar(1 / A.w), Math.abs(Math.max(A.x, A.y));
667
667
  }
668
- function ht(o, e) {
669
- const n = o.matrixWorld, i = o.geometry, t = i.attributes.instanceStart, r = i.attributes.instanceEnd, l = Math.min(i.instanceCount, t.count);
670
- for (let a = 0, c = l; a < c; a++) {
671
- S.start.fromBufferAttribute(t, a), S.end.fromBufferAttribute(r, a), S.applyMatrix4(n);
672
- const u = new P(), m = new P();
673
- M.distanceSqToSegment(S.start, S.end, m, u), m.distanceTo(u) < D * 0.5 && e.push({
674
- point: m,
668
+ function ht(s, e) {
669
+ const n = s.matrixWorld, i = s.geometry, t = i.attributes.instanceStart, r = i.attributes.instanceEnd, l = Math.min(i.instanceCount, t.count);
670
+ for (let a = 0, d = l; a < d; a++) {
671
+ b.start.fromBufferAttribute(t, a), b.end.fromBufferAttribute(r, a), b.applyMatrix4(n);
672
+ const u = new L(), f = new L();
673
+ M.distanceSqToSegment(b.start, b.end, f, u), f.distanceTo(u) < I * 0.5 && e.push({
674
+ point: f,
675
675
  pointOnLine: u,
676
- distance: M.origin.distanceTo(m),
677
- object: o,
676
+ distance: M.origin.distanceTo(f),
677
+ object: s,
678
678
  face: null,
679
679
  faceIndex: a,
680
680
  uv: null,
@@ -682,33 +682,33 @@ function ht(o, e) {
682
682
  });
683
683
  }
684
684
  }
685
- function vt(o, e, n) {
686
- const i = e.projectionMatrix, r = o.material.resolution, l = o.matrixWorld, a = o.geometry, c = a.attributes.instanceStart, u = a.attributes.instanceEnd, m = Math.min(a.instanceCount, c.count), y = -e.near;
687
- M.at(1, E), E.w = 1, E.applyMatrix4(e.matrixWorldInverse), E.applyMatrix4(i), E.multiplyScalar(1 / E.w), E.x *= r.x / 2, E.y *= r.y / 2, E.z = 0, ae.copy(E), re.multiplyMatrices(e.matrixWorldInverse, l);
688
- for (let g = 0, O = m; g < O; g++) {
689
- if (w.fromBufferAttribute(c, g), x.fromBufferAttribute(u, g), w.w = 1, x.w = 1, w.applyMatrix4(re), x.applyMatrix4(re), w.z > y && x.z > y)
685
+ function vt(s, e, n) {
686
+ const i = e.projectionMatrix, r = s.material.resolution, l = s.matrixWorld, a = s.geometry, d = a.attributes.instanceStart, u = a.attributes.instanceEnd, f = Math.min(a.instanceCount, d.count), v = -e.near;
687
+ M.at(1, U), U.w = 1, U.applyMatrix4(e.matrixWorldInverse), U.applyMatrix4(i), U.multiplyScalar(1 / U.w), U.x *= r.x / 2, U.y *= r.y / 2, U.z = 0, ae.copy(U), re.multiplyMatrices(e.matrixWorldInverse, l);
688
+ for (let h = 0, P = f; h < P; h++) {
689
+ if (w.fromBufferAttribute(d, h), x.fromBufferAttribute(u, h), w.w = 1, x.w = 1, w.applyMatrix4(re), x.applyMatrix4(re), w.z > v && x.z > v)
690
690
  continue;
691
- if (w.z > y) {
692
- const U = w.z - x.z, L = (w.z - y) / U;
693
- w.lerp(x, L);
694
- } else if (x.z > y) {
695
- const U = x.z - w.z, L = (x.z - y) / U;
696
- x.lerp(w, L);
691
+ if (w.z > v) {
692
+ const E = w.z - x.z, B = (w.z - v) / E;
693
+ w.lerp(x, B);
694
+ } else if (x.z > v) {
695
+ const E = x.z - w.z, B = (x.z - v) / E;
696
+ x.lerp(w, B);
697
697
  }
698
- w.applyMatrix4(i), x.applyMatrix4(i), w.multiplyScalar(1 / w.w), x.multiplyScalar(1 / x.w), w.x *= r.x / 2, w.y *= r.y / 2, x.x *= r.x / 2, x.y *= r.y / 2, S.start.copy(w), S.start.z = 0, S.end.copy(x), S.end.z = 0;
699
- const j = S.closestPointToPointParameter(ae, !0);
700
- S.at(j, Se);
701
- const _ = Ee.lerp(w.z, x.z, j), z = _ >= -1 && _ <= 1, I = ae.distanceTo(Se) < D * 0.5;
702
- if (z && I) {
703
- S.start.fromBufferAttribute(c, g), S.end.fromBufferAttribute(u, g), S.start.applyMatrix4(l), S.end.applyMatrix4(l);
704
- const U = new P(), L = new P();
705
- M.distanceSqToSegment(S.start, S.end, L, U), n.push({
706
- point: L,
707
- pointOnLine: U,
708
- distance: M.origin.distanceTo(L),
709
- object: o,
698
+ w.applyMatrix4(i), x.applyMatrix4(i), w.multiplyScalar(1 / w.w), x.multiplyScalar(1 / x.w), w.x *= r.x / 2, w.y *= r.y / 2, x.x *= r.x / 2, x.y *= r.y / 2, b.start.copy(w), b.start.z = 0, b.end.copy(x), b.end.z = 0;
699
+ const T = b.closestPointToPointParameter(ae, !0);
700
+ b.at(T, be);
701
+ const z = Ue.lerp(w.z, x.z, T), C = z >= -1 && z <= 1, F = ae.distanceTo(be) < I * 0.5;
702
+ if (C && F) {
703
+ b.start.fromBufferAttribute(d, h), b.end.fromBufferAttribute(u, h), b.start.applyMatrix4(l), b.end.applyMatrix4(l);
704
+ const E = new L(), B = new L();
705
+ M.distanceSqToSegment(b.start, b.end, B, E), n.push({
706
+ point: B,
707
+ pointOnLine: E,
708
+ distance: M.origin.distanceTo(B),
709
+ object: s,
710
710
  face: null,
711
- faceIndex: g,
711
+ faceIndex: h,
712
712
  uv: null,
713
713
  uv1: null
714
714
  });
@@ -734,10 +734,10 @@ class gt extends nt {
734
734
  */
735
735
  computeLineDistances() {
736
736
  const e = this.geometry, n = e.attributes.instanceStart, i = e.attributes.instanceEnd, t = new Float32Array(2 * n.count);
737
- for (let l = 0, a = 0, c = n.count; l < c; l++, a += 2)
737
+ for (let l = 0, a = 0, d = n.count; l < d; l++, a += 2)
738
738
  we.fromBufferAttribute(n, l), xe.fromBufferAttribute(i, l), t[a] = a === 0 ? 0 : t[a - 1], t[a + 1] = t[a] + we.distanceTo(xe);
739
- const r = new de(t, 2, 1);
740
- return e.setAttribute("instanceDistanceStart", new R(r, 1, 0)), e.setAttribute("instanceDistanceEnd", new R(r, 1, 1)), this;
739
+ const r = new ce(t, 2, 1);
740
+ return e.setAttribute("instanceDistanceStart", new G(r, 1, 0)), e.setAttribute("instanceDistanceEnd", new G(r, 1, 1)), this;
741
741
  }
742
742
  /**
743
743
  * Computes intersection points between a casted ray and this instance.
@@ -750,26 +750,26 @@ class gt extends nt {
750
750
  t === null && !i && console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');
751
751
  const r = e.params.Line2 !== void 0 && e.params.Line2.threshold || 0;
752
752
  M = e.ray;
753
- const l = this.matrixWorld, a = this.geometry, c = this.material;
754
- D = c.linewidth + r, a.boundingSphere === null && a.computeBoundingSphere(), K.copy(a.boundingSphere).applyMatrix4(l);
753
+ const l = this.matrixWorld, a = this.geometry, d = this.material;
754
+ I = d.linewidth + r, a.boundingSphere === null && a.computeBoundingSphere(), K.copy(a.boundingSphere).applyMatrix4(l);
755
755
  let u;
756
756
  if (i)
757
- u = D * 0.5;
757
+ u = I * 0.5;
758
758
  else {
759
- const y = Math.max(t.near, K.distanceToPoint(M.origin));
760
- u = be(t, y, c.resolution);
759
+ const v = Math.max(t.near, K.distanceToPoint(M.origin));
760
+ u = Se(t, v, d.resolution);
761
761
  }
762
762
  if (K.radius += u, M.intersectsSphere(K) === !1)
763
763
  return;
764
- a.boundingBox === null && a.computeBoundingBox(), Z.copy(a.boundingBox).applyMatrix4(l);
765
- let m;
764
+ a.boundingBox === null && a.computeBoundingBox(), J.copy(a.boundingBox).applyMatrix4(l);
765
+ let f;
766
766
  if (i)
767
- m = D * 0.5;
767
+ f = I * 0.5;
768
768
  else {
769
- const y = Math.max(t.near, Z.distanceToPoint(M.origin));
770
- m = be(t, y, c.resolution);
769
+ const v = Math.max(t.near, J.distanceToPoint(M.origin));
770
+ f = Se(t, v, d.resolution);
771
771
  }
772
- Z.expandByScalar(m), M.intersectsBox(Z) !== !1 && (i ? ht(this, n) : vt(this, t, n));
772
+ J.expandByScalar(f), M.intersectsBox(J) !== !1 && (i ? ht(this, n) : vt(this, t, n));
773
773
  }
774
774
  onBeforeRender(e) {
775
775
  const n = this.material.uniforms;
@@ -841,15 +841,15 @@ class yt extends gt {
841
841
  super(e, n), this.isLine2 = !0, this.type = "Line2";
842
842
  }
843
843
  }
844
- function wt(o) {
844
+ function wt(s) {
845
845
  const e = [];
846
- return o.forEach((n) => {
846
+ return s.forEach((n) => {
847
847
  const [i, t, r] = n.trim().split(/\s+/);
848
848
  e.push(+i, +t, +r);
849
849
  }), e;
850
850
  }
851
- function ze(o, e, n) {
852
- switch (o) {
851
+ function ze(s, e, n) {
852
+ switch (s) {
853
853
  case "X":
854
854
  e.x = +n || 0;
855
855
  break;
@@ -861,9 +861,9 @@ function ze(o, e, n) {
861
861
  break;
862
862
  }
863
863
  }
864
- function xt(o) {
864
+ function xt(s) {
865
865
  const e = [], n = ["X", "Y", "Z"];
866
- return o.forEach((i) => {
866
+ return s.forEach((i) => {
867
867
  const t = {
868
868
  x: 0,
869
869
  y: 0,
@@ -872,10 +872,10 @@ function xt(o) {
872
872
  if (!r)
873
873
  return;
874
874
  let l = null, a = "";
875
- for (let c = 0; c < (r == null ? void 0 : r.length); c++) {
876
- const u = r[c], m = n.find((y) => y === u);
877
- if (m) {
878
- l && ze(l, t, a), a = "", l = m;
875
+ for (let d = 0; d < (r == null ? void 0 : r.length); d++) {
876
+ const u = r[d], f = n.find((v) => v === u);
877
+ if (f) {
878
+ l && ze(l, t, a), a = "", l = f;
879
879
  continue;
880
880
  }
881
881
  a = a + u;
@@ -883,16 +883,36 @@ function xt(o) {
883
883
  ze(l, t, a), e.push(t.x, t.y, t.z);
884
884
  }), e;
885
885
  }
886
- async function St(o) {
886
+ const bt = (s) => s == null ? void 0 : s.filter((n) => n.includes("=")), St = (s) => s.replace(/,/g, ""), zt = (s) => s == null ? void 0 : s.map((n) => St(n)), Ct = (s) => {
887
+ const e = bt(s);
888
+ return zt(e);
889
+ };
890
+ function _t(s) {
891
+ const e = Ct(s), n = [];
892
+ return e.forEach((i) => {
893
+ var v, h, P, O, T, z;
894
+ let [t, r, l, a] = i.trim().split(/\s+/);
895
+ r = (v = r == null ? void 0 : r.trim) == null ? void 0 : v.call(r), l = (h = l == null ? void 0 : l.trim) == null ? void 0 : h.call(l), a = (P = a == null ? void 0 : a.trim) == null ? void 0 : P.call(a);
896
+ const [, d] = (O = r == null ? void 0 : r.split) == null ? void 0 : O.call(r, "="), [, u] = (T = l == null ? void 0 : l.split) == null ? void 0 : T.call(l, "="), [, f] = (z = a == null ? void 0 : a.split) == null ? void 0 : z.call(a, "=");
897
+ n.push(+d, +u, +f);
898
+ }), n;
899
+ }
900
+ function Et(s) {
901
+ return s == null ? void 0 : s.includes("=");
902
+ }
903
+ async function Ut(s) {
887
904
  var t, r;
888
- const e = (t = o == null ? void 0 : o.trim()) == null ? void 0 : t.split(/\r?\n/), n = e == null ? void 0 : e[0], i = (r = n == null ? void 0 : n.trim()) == null ? void 0 : r.split(/\s+/);
905
+ const e = (t = s == null ? void 0 : s.trim()) == null ? void 0 : t.split(/\r?\n/);
906
+ if (Et(s))
907
+ return _t(e);
908
+ const n = e == null ? void 0 : e[0], i = (r = n == null ? void 0 : n.trim()) == null ? void 0 : r.split(/\s+/);
889
909
  if ((i == null ? void 0 : i.length) >= 3)
890
910
  return wt(e);
891
911
  if ((i == null ? void 0 : i.length) === 1)
892
912
  return xt(e);
893
913
  }
894
- async function bt(o) {
895
- const e = o.trim().split(/\r?\n/), n = [];
914
+ async function At(s) {
915
+ const e = s.trim().split(/\r?\n/), n = [];
896
916
  return e.forEach((i) => {
897
917
  const t = i.trim().split(/\s+/);
898
918
  if (t.length != 3)
@@ -901,8 +921,8 @@ async function bt(o) {
901
921
  n.push(+r, +l, +a);
902
922
  }), n;
903
923
  }
904
- async function zt(o) {
905
- const e = o.trim().split(/\r?\n/), n = [];
924
+ async function Mt(s) {
925
+ const e = s.trim().split(/\r?\n/), n = [];
906
926
  return e.forEach((i) => {
907
927
  const t = i.trim().split(/\s+/);
908
928
  if (t.length != 3)
@@ -911,41 +931,41 @@ async function zt(o) {
911
931
  n.push(+r, +l, +a);
912
932
  }), n;
913
933
  }
914
- async function Ct(o, e) {
934
+ async function Lt(s, e) {
915
935
  const { isCyd: n, isUv: i, isCpt: t } = e;
916
- return i ? St(o) : n ? zt(o) : t ? bt(o) : [];
936
+ return i ? Ut(s) : n ? Mt(s) : t ? At(s) : [];
917
937
  }
918
- function _t(o, e) {
938
+ function Pt(s, e) {
919
939
  if (!e || e.length < 3)
920
940
  return;
921
- const { scene: n, camera: i, renderer: t, controls: r } = o();
941
+ const { scene: n, camera: i, renderer: t, controls: r } = s();
922
942
  if (!n || !i || !t || !r)
923
943
  return;
924
944
  const l = [];
925
- for (let g = 0; g < e.length; g += 3)
926
- l.push(new P(e[g], e[g + 1], e[g + 2]));
927
- const c = new ot(l, !1, "catmullrom", 0.5).getPoints(150).flatMap((g) => [g.x, g.y, g.z]), u = new Me();
928
- u.setPositions(c);
929
- const m = new ue({
945
+ for (let h = 0; h < e.length; h += 3)
946
+ l.push(new L(e[h], e[h + 1], e[h + 2]));
947
+ const d = new ot(l, !1, "catmullrom", 0.5).getPoints(150).flatMap((h) => [h.x, h.y, h.z]), u = new Me();
948
+ u.setPositions(d);
949
+ const f = new ue({
930
950
  color: 55551,
931
951
  linewidth: 3,
932
952
  // 像素宽度,可 >1
933
- resolution: new Ue(window.innerWidth, window.innerHeight)
934
- }), y = new yt(u, m);
935
- return y.name = "轨迹路径", n.add(y), y;
953
+ resolution: new Ee(window.innerWidth, window.innerHeight)
954
+ }), v = new yt(u, f);
955
+ return v.name = "轨迹路径", n.add(v), v;
936
956
  }
937
- function Ut(o, e, n, i = 4, t = 50) {
938
- let r = 1 / 0, l = -1 / 0, a = 1 / 0, c = -1 / 0, u = 1 / 0, m = -1 / 0;
939
- for (let _ = 0; _ < o.length; _ += 3) {
940
- const z = o[_], I = o[_ + 1], U = o[_ + 2];
941
- r = Math.min(r, z), l = Math.max(l, z), a = Math.min(a, I), c = Math.max(c, I), u = Math.min(u, U), m = Math.max(m, U);
957
+ function Tt(s, e, n, i = 4, t = 50) {
958
+ let r = 1 / 0, l = -1 / 0, a = 1 / 0, d = -1 / 0, u = 1 / 0, f = -1 / 0;
959
+ for (let z = 0; z < s.length; z += 3) {
960
+ const C = s[z], F = s[z + 1], E = s[z + 2];
961
+ r = Math.min(r, C), l = Math.max(l, C), a = Math.min(a, F), d = Math.max(d, F), u = Math.min(u, E), f = Math.max(f, E);
942
962
  }
943
- const g = Math.sqrt((l - r) ** 2 + (c - a) ** 2 + (m - u) ** 2) * 0.05, O = Ee.degToRad(e.fov), H = 2 * Math.tan(O / 2) * t, j = g / H * n.domElement.height * (i / 4);
944
- return Math.max(1, j);
963
+ const h = Math.sqrt((l - r) ** 2 + (d - a) ** 2 + (f - u) ** 2) * 0.05, P = Ue.degToRad(e.fov), O = 2 * Math.tan(P / 2) * t, T = h / O * n.domElement.height * (i / 4);
964
+ return Math.max(1, T);
945
965
  }
946
- function Et(o) {
966
+ function Bt(s) {
947
967
  const e = new at();
948
- e.setAttribute("position", new le(o, 3));
968
+ e.setAttribute("position", new le(s, 3));
949
969
  const n = new rt({
950
970
  color: 55551,
951
971
  size: 1,
@@ -954,24 +974,24 @@ function Et(o) {
954
974
  });
955
975
  return new lt(e, n);
956
976
  }
957
- function At(o, e) {
977
+ function kt(s, e) {
958
978
  if (!e)
959
979
  return;
960
- const { scene: n, camera: i, renderer: t, controls: r } = o();
980
+ const { scene: n, camera: i, renderer: t, controls: r } = s();
961
981
  if (!n || !i || !t || !r)
962
982
  return;
963
- const l = Et(e);
983
+ const l = Bt(e);
964
984
  l.name = "轨迹路径", n.add(l);
965
- const a = Ut(e, i, t, 0.5, 50);
985
+ const a = Tt(e, i, t, 0.5, 50);
966
986
  return l.material.size = a, l;
967
987
  }
968
- const Mt = { class: "obj-viewer-container" }, Pt = { class: "buttonGroup-top" }, Lt = { class: "buttonGroup-topLeft" }, Tt = { class: "buttonGroup-left" }, Bt = { class: "buttonGroup-right" }, kt = { class: "buttonGroup-bottom" }, Dt = { class: "left-panel" }, Ot = { class: "panel-header" }, jt = { class: "panel-body" }, It = {
988
+ const Dt = { class: "obj-viewer-container" }, Ot = { class: "buttonGroup-top" }, jt = { class: "buttonGroup-topLeft" }, It = { class: "buttonGroup-left" }, Ft = { class: "buttonGroup-right" }, Rt = { class: "buttonGroup-bottom" }, Gt = { class: "left-panel" }, Vt = { class: "panel-header" }, Wt = { class: "panel-body" }, Ht = {
969
989
  key: 1,
970
990
  class: "clipping-content"
971
- }, Ft = { class: "radio-group" }, Rt = { class: "radio-label" }, Gt = { class: "radio-label" }, Wt = { class: "radio-label" }, Vt = { class: "radio-label" }, Ht = { class: "right-panel" }, Nt = { class: "panel-header" }, $t = { class: "panel-body" }, Xt = {
991
+ }, Nt = { class: "radio-group" }, qt = { class: "radio-label" }, $t = { class: "radio-label" }, Xt = { class: "radio-label" }, Yt = { class: "radio-label" }, Zt = { class: "right-panel" }, Jt = { class: "panel-header" }, Kt = { class: "panel-body" }, Qt = {
972
992
  key: 0,
973
993
  class: "loading-overlay"
974
- }, Yt = /* @__PURE__ */ We({
994
+ }, en = /* @__PURE__ */ Ve({
975
995
  __name: "threeTrackPathView",
976
996
  props: {
977
997
  fileUrls: {},
@@ -979,298 +999,298 @@ const Mt = { class: "obj-viewer-container" }, Pt = { class: "buttonGroup-top" },
979
999
  trackFileType: {}
980
1000
  },
981
1001
  emits: ["getAnimationData", "getThreeData"],
982
- setup(o, { emit: e }) {
983
- const n = e, i = o, t = B(null), r = B(!1), l = B(""), a = B(!1), c = B(""), u = B(!1), m = B(""), y = he(null), g = he(null), {
984
- currentModels: O,
985
- resetView: H,
986
- initThreeJS: j,
987
- handleResize: _,
988
- getThreeJSObjects: z,
989
- cleanup: I,
990
- axesHelperVisible: U,
991
- toggleAxesVisibility: L
992
- } = Ye(t), { isAnimating: fe, toggleAnimation: Pe, stopAnimation: Le } = qe(z, O), { isClipping: Te, activeClippingAxis: C, toggleClipping: Be, updateClippingPlanes: T } = Je(z, O), ke = () => {
993
- L();
994
- }, G = (f) => {
995
- a.value = !0, c.value = f, f === "剖面视图" && !Te.value && Be();
996
- }, N = (f) => {
997
- u.value = !0, m.value = f, f === "动画仿真" && n("getAnimationData");
998
- }, pe = B([]), De = $(() => {
999
- var s;
1000
- return (s = i.trackFileType) == null ? void 0 : s.isUv;
1001
- }), Oe = $(() => {
1002
- var s;
1003
- return (s = i.trackFileType) == null ? void 0 : s.isCyd;
1004
- }), je = $(() => {
1005
- var s;
1006
- return (s = i.trackFileType) == null ? void 0 : s.isCpt;
1007
- }), Ie = $(() => {
1008
- const f = i.fileUrls || [];
1009
- return f == null ? void 0 : f[0];
1002
+ setup(s, { emit: e }) {
1003
+ const n = e, i = s, t = D(null), r = D(!1), l = D(""), a = D(!1), d = D(""), u = D(!1), f = D(""), v = he(null), h = he(null), {
1004
+ currentModels: P,
1005
+ resetView: O,
1006
+ initThreeJS: T,
1007
+ handleResize: z,
1008
+ getThreeJSObjects: C,
1009
+ cleanup: F,
1010
+ axesHelperVisible: E,
1011
+ toggleAxesVisibility: B
1012
+ } = Xe(t), { isAnimating: fe, toggleAnimation: Le, stopAnimation: Pe } = Ye(C, P), { isClipping: Te, activeClippingAxis: _, toggleClipping: Be, updateClippingPlanes: k } = Ze(C, P), ke = () => {
1013
+ B();
1014
+ }, V = (p) => {
1015
+ a.value = !0, d.value = p, p === "剖面视图" && !Te.value && Be();
1016
+ }, N = (p) => {
1017
+ u.value = !0, f.value = p, p === "动画仿真" && n("getAnimationData");
1018
+ }, pe = D([]), De = q(() => {
1019
+ var o;
1020
+ return (o = i.trackFileType) == null ? void 0 : o.isUv;
1021
+ }), Oe = q(() => {
1022
+ var o;
1023
+ return (o = i.trackFileType) == null ? void 0 : o.isCyd;
1024
+ }), je = q(() => {
1025
+ var o;
1026
+ return (o = i.trackFileType) == null ? void 0 : o.isCpt;
1027
+ }), Ie = q(() => {
1028
+ const p = i.fileUrls || [];
1029
+ return p == null ? void 0 : p[0];
1010
1030
  });
1011
- let F = null;
1031
+ let R = null;
1012
1032
  const me = () => {
1013
- const { scene: f } = z();
1014
- F && f && (Ke(F, f), F = null);
1015
- }, Fe = async (f) => {
1016
- const s = await dt(f);
1017
- if (pt(s)) {
1018
- pe.value = await Ct(s, i.trackFileType) || [];
1033
+ const { scene: p } = C();
1034
+ R && p && (Ke(R, p), R = null);
1035
+ }, Fe = async (p) => {
1036
+ const o = await ct(p);
1037
+ if (pt(o)) {
1038
+ pe.value = await Lt(o, i.trackFileType) || [];
1019
1039
  const W = pe.value;
1020
- De.value && (F = _t(z, W)), (Oe.value || je.value) && (F = At(z, W)), Ze(z, F);
1040
+ De.value && (R = Pt(C, W)), (Oe.value || je.value) && (R = kt(C, W)), Je(C, R);
1021
1041
  }
1022
1042
  };
1023
- Ve(() => Ie.value, async (f) => {
1024
- f && (me(), await Fe(f));
1043
+ We(() => Ie.value, async (p) => {
1044
+ p && (me(), await Fe(p));
1025
1045
  }, {
1026
1046
  immediate: !0,
1027
1047
  deep: !0
1028
1048
  });
1029
1049
  const Re = () => {
1030
- j(), window.addEventListener("resize", _);
1031
- const f = z();
1032
- g.value = f.scene, g.value && (g.value.name = "CPMPIP");
1050
+ T(), window.addEventListener("resize", z);
1051
+ const p = C();
1052
+ h.value = p.scene, h.value && (h.value.name = "CPMPIP");
1033
1053
  }, Ge = () => {
1034
- window.removeEventListener("resize", _), fe.value && Le(), me(), I();
1054
+ window.removeEventListener("resize", z), fe.value && Pe(), me(), F();
1035
1055
  };
1036
1056
  return He(async () => {
1037
1057
  try {
1038
1058
  Re();
1039
- } catch (f) {
1040
- console.error("Three.js 初始化失败:", f), ct.error("渲染引擎初始化失败!");
1059
+ } catch (p) {
1060
+ console.error("Three.js 初始化失败:", p), dt.error("渲染引擎初始化失败!");
1041
1061
  }
1042
1062
  }), Ne(() => {
1043
1063
  Ge();
1044
- }), (f, s) => {
1045
- const W = $e("el-scrollbar");
1046
- return X(), te("div", Mt, [
1047
- d("div", {
1064
+ }), (p, o) => {
1065
+ const W = qe("el-scrollbar");
1066
+ return $(), te("div", Dt, [
1067
+ c("div", {
1048
1068
  ref_key: "threejsContainer",
1049
1069
  ref: t,
1050
1070
  class: "threejs-container"
1051
1071
  }, null, 512),
1052
- d("div", Pt, [
1053
- p(v, {
1072
+ c("div", Ot, [
1073
+ m(y, {
1054
1074
  name: "guanjianjiexi",
1055
1075
  size: "34"
1056
1076
  }),
1057
- p(v, {
1077
+ m(y, {
1058
1078
  name: "guanjiekongzhi",
1059
1079
  size: "34"
1060
1080
  }),
1061
- p(v, {
1081
+ m(y, {
1062
1082
  name: "gongyishengcheng",
1063
1083
  size: "34"
1064
1084
  }),
1065
- p(v, {
1085
+ m(y, {
1066
1086
  name: "buchangshezhi",
1067
1087
  size: "34"
1068
1088
  }),
1069
- p(v, {
1089
+ m(y, {
1070
1090
  name: "shuchujiagongchengxu",
1071
1091
  size: "34"
1072
1092
  })
1073
1093
  ]),
1074
- d("div", Lt, [
1075
- p(v, {
1094
+ c("div", jt, [
1095
+ m(y, {
1076
1096
  name: "viewReset",
1077
1097
  size: "24",
1078
- onClick: b(H),
1098
+ onClick: S(O),
1079
1099
  title: "重置"
1080
1100
  }, null, 8, ["onClick"]),
1081
- p(v, {
1101
+ m(y, {
1082
1102
  name: "fangda",
1083
1103
  size: "24",
1084
1104
  title: "放大"
1085
1105
  }),
1086
- p(v, {
1106
+ m(y, {
1087
1107
  name: "suoxiao",
1088
1108
  size: "24",
1089
1109
  title: "缩小"
1090
1110
  }),
1091
- p(v, {
1111
+ m(y, {
1092
1112
  name: "lookAround",
1093
1113
  size: "24",
1094
- onClick: b(Pe),
1095
- title: b(fe) ? "停止动画" : "动画视图"
1114
+ onClick: S(Le),
1115
+ title: S(fe) ? "停止动画" : "动画视图"
1096
1116
  }, null, 8, ["onClick", "title"]),
1097
- p(v, {
1117
+ m(y, {
1098
1118
  name: "zuobiaoxi",
1099
1119
  size: "24",
1100
- active: b(U),
1120
+ active: S(E),
1101
1121
  onClick: ke,
1102
1122
  title: "显隐坐标轴"
1103
1123
  }, null, 8, ["active"])
1104
1124
  ]),
1105
- d("div", Tt, [
1106
- ve(f.$slots, "button-left", { switchRightPanel: G }, void 0, !0),
1107
- p(v, {
1125
+ c("div", It, [
1126
+ ve(p.$slots, "button-left", { switchRightPanel: V }, void 0, !0),
1127
+ m(y, {
1108
1128
  name: "jiegoushu",
1109
1129
  size: "24",
1110
- onClick: s[0] || (s[0] = (h) => G("场景树")),
1111
- active: a.value && c.value === "场景树",
1130
+ onClick: o[0] || (o[0] = (g) => V("场景树")),
1131
+ active: a.value && d.value === "场景树",
1112
1132
  title: "场景树"
1113
1133
  }, null, 8, ["active"]),
1114
- p(v, {
1134
+ m(y, {
1115
1135
  name: "clipping",
1116
1136
  size: "24",
1117
- onClick: s[1] || (s[1] = (h) => G("剖面视图")),
1118
- active: a.value && c.value === "剖面视图",
1137
+ onClick: o[1] || (o[1] = (g) => V("剖面视图")),
1138
+ active: a.value && d.value === "剖面视图",
1119
1139
  title: "剖面视图"
1120
1140
  }, null, 8, ["active"]),
1121
- p(v, {
1141
+ m(y, {
1122
1142
  name: "donghuafangzhen",
1123
1143
  size: "24",
1124
- onClick: s[2] || (s[2] = (h) => G("场景树3"))
1144
+ onClick: o[2] || (o[2] = (g) => V("场景树3"))
1125
1145
  }),
1126
- p(v, {
1146
+ m(y, {
1127
1147
  name: "donghuafangzhen",
1128
1148
  size: "24",
1129
- onClick: s[3] || (s[3] = (h) => G("场景4"))
1149
+ onClick: o[3] || (o[3] = (g) => V("场景4"))
1130
1150
  })
1131
1151
  ]),
1132
- d("div", Bt, [
1133
- ve(f.$slots, "button-right", { switchRightPanel: N }, void 0, !0),
1134
- p(v, {
1152
+ c("div", Ft, [
1153
+ ve(p.$slots, "button-right", { switchRightPanel: N }, void 0, !0),
1154
+ m(y, {
1135
1155
  name: "donghuafangzhen",
1136
1156
  size: "24"
1137
1157
  }),
1138
- p(v, {
1158
+ m(y, {
1139
1159
  name: "guanjiekongzhi",
1140
1160
  size: "24",
1141
- onClick: s[4] || (s[4] = (h) => N("关节控制")),
1142
- active: u.value && m.value === "关节控制",
1161
+ onClick: o[4] || (o[4] = (g) => N("关节控制")),
1162
+ active: u.value && f.value === "关节控制",
1143
1163
  title: "关节控制"
1144
1164
  }, null, 8, ["active"]),
1145
- p(v, {
1165
+ m(y, {
1146
1166
  name: "donghuafangzhen",
1147
1167
  size: "24",
1148
1168
  title: "动画仿真",
1149
- onClick: s[5] || (s[5] = (h) => N("动画仿真")),
1150
- active: u.value && m.value === "动画仿真"
1169
+ onClick: o[5] || (o[5] = (g) => N("动画仿真")),
1170
+ active: u.value && f.value === "动画仿真"
1151
1171
  }, null, 8, ["active"]),
1152
- p(v, {
1172
+ m(y, {
1153
1173
  name: "donghuafangzhen",
1154
1174
  size: "24",
1155
1175
  title: "urdf动画",
1156
- onClick: s[6] || (s[6] = (h) => N("urdf动画")),
1157
- active: u.value && m.value === "urdf动画"
1176
+ onClick: o[6] || (o[6] = (g) => N("urdf动画")),
1177
+ active: u.value && f.value === "urdf动画"
1158
1178
  }, null, 8, ["active"]),
1159
- p(v, {
1179
+ m(y, {
1160
1180
  name: "donghuafangzhen",
1161
1181
  size: "24"
1162
1182
  })
1163
1183
  ]),
1164
- d("div", kt, [
1165
- p(v, {
1184
+ c("div", Rt, [
1185
+ m(y, {
1166
1186
  name: "kuaitui",
1167
1187
  size: "24",
1168
1188
  backgroundColor: "#ffffff",
1169
1189
  title: "快退",
1170
- onClick: s[7] || (s[7] = () => {
1190
+ onClick: o[7] || (o[7] = () => {
1171
1191
  })
1172
1192
  }),
1173
- p(v, {
1193
+ m(y, {
1174
1194
  name: "bofang",
1175
1195
  size: "24",
1176
1196
  backgroundColor: "#ffffff",
1177
1197
  title: "播放",
1178
- onClick: s[8] || (s[8] = () => {
1198
+ onClick: o[8] || (o[8] = () => {
1179
1199
  })
1180
1200
  }),
1181
- p(v, {
1201
+ m(y, {
1182
1202
  name: "kuaijin",
1183
1203
  size: "24",
1184
1204
  backgroundColor: "#ffffff",
1185
1205
  title: "快进",
1186
- onClick: s[9] || (s[9] = () => {
1206
+ onClick: o[9] || (o[9] = () => {
1187
1207
  })
1188
1208
  }),
1189
- p(v, {
1209
+ m(y, {
1190
1210
  name: "zanting",
1191
1211
  size: "24",
1192
1212
  backgroundColor: "#ffffff",
1193
1213
  title: "暂停",
1194
- onClick: s[10] || (s[10] = () => {
1214
+ onClick: o[10] || (o[10] = () => {
1195
1215
  })
1196
1216
  }),
1197
- p(v, {
1217
+ m(y, {
1198
1218
  name: "zhongzhi",
1199
1219
  size: "24",
1200
1220
  backgroundColor: "#ffffff",
1201
1221
  title: "停止",
1202
- onClick: s[11] || (s[11] = () => {
1222
+ onClick: o[11] || (o[11] = () => {
1203
1223
  })
1204
1224
  })
1205
1225
  ]),
1206
- k(d("div", Dt, [
1207
- d("div", Ot, [
1208
- d("span", null, ie(c.value), 1),
1209
- d("span", {
1226
+ j(c("div", Gt, [
1227
+ c("div", Vt, [
1228
+ c("span", null, ie(d.value), 1),
1229
+ c("span", {
1210
1230
  class: "close",
1211
- onClick: s[12] || (s[12] = (h) => a.value = !1)
1231
+ onClick: o[12] || (o[12] = (g) => a.value = !1)
1212
1232
  }, " X ")
1213
1233
  ]),
1214
- d("div", jt, [
1215
- p(W, { height: "100%" }, {
1234
+ c("div", Wt, [
1235
+ m(W, { height: "100%" }, {
1216
1236
  default: ge(() => [
1217
- c.value === "场景树" ? (X(), Xe(ut, {
1237
+ d.value === "场景树" ? ($(), $e(ut, {
1218
1238
  key: 0,
1219
- model: y.value
1239
+ model: v.value
1220
1240
  }, null, 8, ["model"])) : ne("", !0),
1221
- c.value === "剖面视图" ? (X(), te("div", It, [
1222
- d("div", Ft, [
1223
- d("label", Rt, [
1224
- k(d("input", {
1241
+ d.value === "剖面视图" ? ($(), te("div", Ht, [
1242
+ c("div", Nt, [
1243
+ c("label", qt, [
1244
+ j(c("input", {
1225
1245
  type: "radio",
1226
1246
  name: "clipping-axis",
1227
1247
  value: "none",
1228
- "onUpdate:modelValue": s[13] || (s[13] = (h) => Y(C) ? C.value = h : null),
1229
- onChange: s[14] || (s[14] = //@ts-ignore
1230
- (...h) => b(T) && b(T)(...h))
1248
+ "onUpdate:modelValue": o[13] || (o[13] = (g) => X(_) ? _.value = g : null),
1249
+ onChange: o[14] || (o[14] = //@ts-ignore
1250
+ (...g) => S(k) && S(k)(...g))
1231
1251
  }, null, 544), [
1232
- [q, b(C)]
1252
+ [Y, S(_)]
1233
1253
  ]),
1234
- s[22] || (s[22] = d("span", { class: "radio-text" }, "无切割", -1))
1254
+ o[22] || (o[22] = c("span", { class: "radio-text" }, "无切割", -1))
1235
1255
  ]),
1236
- d("label", Gt, [
1237
- k(d("input", {
1256
+ c("label", $t, [
1257
+ j(c("input", {
1238
1258
  type: "radio",
1239
1259
  name: "clipping-axis",
1240
1260
  value: "x",
1241
- "onUpdate:modelValue": s[15] || (s[15] = (h) => Y(C) ? C.value = h : null),
1242
- onChange: s[16] || (s[16] = //@ts-ignore
1243
- (...h) => b(T) && b(T)(...h))
1261
+ "onUpdate:modelValue": o[15] || (o[15] = (g) => X(_) ? _.value = g : null),
1262
+ onChange: o[16] || (o[16] = //@ts-ignore
1263
+ (...g) => S(k) && S(k)(...g))
1244
1264
  }, null, 544), [
1245
- [q, b(C)]
1265
+ [Y, S(_)]
1246
1266
  ]),
1247
- s[23] || (s[23] = d("span", { class: "radio-text" }, "X轴切割", -1))
1267
+ o[23] || (o[23] = c("span", { class: "radio-text" }, "X轴切割", -1))
1248
1268
  ]),
1249
- d("label", Wt, [
1250
- k(d("input", {
1269
+ c("label", Xt, [
1270
+ j(c("input", {
1251
1271
  type: "radio",
1252
1272
  name: "clipping-axis",
1253
1273
  value: "y",
1254
- "onUpdate:modelValue": s[17] || (s[17] = (h) => Y(C) ? C.value = h : null),
1255
- onChange: s[18] || (s[18] = //@ts-ignore
1256
- (...h) => b(T) && b(T)(...h))
1274
+ "onUpdate:modelValue": o[17] || (o[17] = (g) => X(_) ? _.value = g : null),
1275
+ onChange: o[18] || (o[18] = //@ts-ignore
1276
+ (...g) => S(k) && S(k)(...g))
1257
1277
  }, null, 544), [
1258
- [q, b(C)]
1278
+ [Y, S(_)]
1259
1279
  ]),
1260
- s[24] || (s[24] = d("span", { class: "radio-text" }, "Y轴切割", -1))
1280
+ o[24] || (o[24] = c("span", { class: "radio-text" }, "Y轴切割", -1))
1261
1281
  ]),
1262
- d("label", Vt, [
1263
- k(d("input", {
1282
+ c("label", Yt, [
1283
+ j(c("input", {
1264
1284
  type: "radio",
1265
1285
  name: "clipping-axis",
1266
1286
  value: "z",
1267
- "onUpdate:modelValue": s[19] || (s[19] = (h) => Y(C) ? C.value = h : null),
1268
- onChange: s[20] || (s[20] = //@ts-ignore
1269
- (...h) => b(T) && b(T)(...h))
1287
+ "onUpdate:modelValue": o[19] || (o[19] = (g) => X(_) ? _.value = g : null),
1288
+ onChange: o[20] || (o[20] = //@ts-ignore
1289
+ (...g) => S(k) && S(k)(...g))
1270
1290
  }, null, 544), [
1271
- [q, b(C)]
1291
+ [Y, S(_)]
1272
1292
  ]),
1273
- s[25] || (s[25] = d("span", { class: "radio-text" }, "Z轴切割", -1))
1293
+ o[25] || (o[25] = c("span", { class: "radio-text" }, "Z轴切割", -1))
1274
1294
  ])
1275
1295
  ])
1276
1296
  ])) : ne("", !0)
@@ -1281,19 +1301,19 @@ const Mt = { class: "obj-viewer-container" }, Pt = { class: "buttonGroup-top" },
1281
1301
  ], 512), [
1282
1302
  [se, a.value]
1283
1303
  ]),
1284
- k(d("div", Ht, [
1285
- d("div", Nt, [
1286
- d("span", null, ie(m.value), 1),
1287
- d("span", {
1304
+ j(c("div", Zt, [
1305
+ c("div", Jt, [
1306
+ c("span", null, ie(f.value), 1),
1307
+ c("span", {
1288
1308
  class: "close",
1289
- onClick: s[21] || (s[21] = (h) => u.value = !1)
1309
+ onClick: o[21] || (o[21] = (g) => u.value = !1)
1290
1310
  }, " X ")
1291
1311
  ]),
1292
- d("div", $t, [
1293
- p(W, { height: "100%" }, {
1312
+ c("div", Kt, [
1313
+ m(W, { height: "100%" }, {
1294
1314
  default: ge(() => [
1295
- k(p(ft, { model: y.value }, null, 8, ["model"]), [
1296
- [se, m.value === "关节控制"]
1315
+ j(m(ft, { model: v.value }, null, 8, ["model"]), [
1316
+ [se, f.value === "关节控制"]
1297
1317
  ])
1298
1318
  ]),
1299
1319
  _: 1
@@ -1302,14 +1322,14 @@ const Mt = { class: "obj-viewer-container" }, Pt = { class: "buttonGroup-top" },
1302
1322
  ], 512), [
1303
1323
  [se, u.value]
1304
1324
  ]),
1305
- r.value ? (X(), te("div", Xt, [
1306
- s[26] || (s[26] = d("div", { class: "loading-spinner" }, null, -1)),
1307
- d("p", null, ie(l.value), 1)
1325
+ r.value ? ($(), te("div", Qt, [
1326
+ o[26] || (o[26] = c("div", { class: "loading-spinner" }, null, -1)),
1327
+ c("p", null, ie(l.value), 1)
1308
1328
  ])) : ne("", !0)
1309
1329
  ]);
1310
1330
  };
1311
1331
  }
1312
- }), on = /* @__PURE__ */ mt(Yt, [["__scopeId", "data-v-c3ad7441"]]);
1332
+ }), un = /* @__PURE__ */ mt(en, [["__scopeId", "data-v-c3ad7441"]]);
1313
1333
  export {
1314
- on as default
1334
+ un as default
1315
1335
  };