ss-component-new 1.2.97 → 1.2.98

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-DnouUI-8.js → MTLLoader-CCS24gLm.js} +1 -1
  2. package/dist/{MTLLoader-zZDM0NQh.cjs → MTLLoader-DlcJK6vT.cjs} +1 -1
  3. package/dist/{OrbitControls-B85G8nPk.cjs → OrbitControls-BLs9AYBY.cjs} +1 -1
  4. package/dist/{OrbitControls-DFhYzlF3.js → OrbitControls-KkyEKP5M.js} +1 -1
  5. package/dist/{animationData-DfKVkFbz.js → animationData-Btgynl98.js} +1 -1
  6. package/dist/{animationData-DxBvEqB1.cjs → animationData-CCImpyvS.cjs} +1 -1
  7. package/dist/{iconfont-WOKNi2xx.js → iconfont-B8CQB3CO.js} +2 -2
  8. package/dist/{iconfont-C7kE-QbU.cjs → iconfont-BXzhYF5A.cjs} +1 -1
  9. package/dist/{index-DgZVeYqH.js → index--JyaPE1g.js} +1 -1
  10. package/dist/{index-DHZMd8iK.cjs → index-1TxthiQw.cjs} +1 -1
  11. package/dist/{index-CLOUp_4j.cjs → index-2wJBzGa-.cjs} +1 -1
  12. package/dist/{index-D0hovh9R.cjs → index-6sDAnob5.cjs} +1 -1
  13. package/dist/{index-_PP-dSm3.cjs → index-7ZZHuv4d.cjs} +1 -1
  14. package/dist/{index-Cr5if46q.js → index-B4YN6ElV.js} +1 -1
  15. package/dist/{index-Cnk_4Zz5.cjs → index-B8XDW6Ly.cjs} +1 -1
  16. package/dist/{index-BFzMf0GC.js → index-BCNDy7LZ.js} +1 -1
  17. package/dist/{index-DSPjcpWK.cjs → index-BMSOMrGq.cjs} +1 -1
  18. package/dist/{index-Cppt0AsF.cjs → index-B_WRw_3s.cjs} +1 -1
  19. package/dist/{index-D_igus4A.cjs → index-BaXxrBtb.cjs} +1 -1
  20. package/dist/{index-DeOwZgqL.js → index-Bk8CKDbz.js} +4 -4
  21. package/dist/{index-BXv3aZ7v.js → index-BkPXyAKD.js} +1 -1
  22. package/dist/{index-D_RGoDln.js → index-C9U9aO2Y.js} +3 -3
  23. package/dist/{index-BI7g3c_u.js → index-CAAOZFSQ.js} +13 -13
  24. package/dist/{index-hhS08X8b.js → index-CLddyFrz.js} +3 -3
  25. package/dist/{index-kLDMroPk.js → index-CUAM_spJ.js} +1 -1
  26. package/dist/{index-CZPnP0uy.cjs → index-CWJuJJYp.cjs} +1 -1
  27. package/dist/{index-BDxPlbe2.cjs → index-CYmbZuJq.cjs} +1 -1
  28. package/dist/{index-CQRJ3pLh.cjs → index-C_rjTaFu.cjs} +1 -1
  29. package/dist/{index-DHjtOySN.js → index-Cmlus98m.js} +2 -2
  30. package/dist/{index-331j518H.cjs → index-CnBVZu9x.cjs} +1 -1
  31. package/dist/{index-CqI3frdZ.js → index-Cz7uQ_eD.js} +6 -6
  32. package/dist/{index-D6u590uA.cjs → index-DMTBVsgY.cjs} +1 -1
  33. package/dist/{index-DrzK0O_g.cjs → index-DRjN9mko.cjs} +1 -1
  34. package/dist/{index-C-dlFxRJ.cjs → index-DThE5nRZ.cjs} +1 -1
  35. package/dist/{index-BYk9Fb6p.js → index-DXrBVvWh.js} +3 -3
  36. package/dist/{index-DRfVnLTN.js → index-DZf4BLpR.js} +6 -6
  37. package/dist/{index-DHBoRe9V.cjs → index-DcxUbnrO.cjs} +1 -1
  38. package/dist/{index-Bhha7SY3.js → index-DdQjdsrn.js} +1 -1
  39. package/dist/{index-BODyH6MD.js → index-Dggo7EaF.js} +1 -1
  40. package/dist/{index-DbDM-XfB.cjs → index-DvQRFx9T.cjs} +1 -1
  41. package/dist/{index-CPAXrzNY.cjs → index-FnJX1FLR.cjs} +1 -1
  42. package/dist/{index-iZ9BRKg5.js → index-JQ_SaJ0O.js} +1 -1
  43. package/dist/{index-B_zjoT4m.js → index-blVMOcaF.js} +2 -2
  44. package/dist/{index-DJ6qg2Mo.js → index-hbpC0O70.js} +3 -3
  45. package/dist/{index-S1LIIzCa.cjs → index-k579sq5M.cjs} +1 -1
  46. package/dist/{index-6sZXjGGz.cjs → index-nSLXu4eq.cjs} +1 -1
  47. package/dist/{index-B-AhHUV1.js → index-tUUpniUl.js} +1 -1
  48. package/dist/{index-CeGM8aBH.js → index-uWijQ8Cy.js} +2 -2
  49. package/dist/{index-iErxMZBi.cjs → index-yWC1EX2L.cjs} +1 -1
  50. package/dist/{index-BoTiP0aV.js → index-zsvDrZxo.js} +1 -1
  51. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DSlAeFA3.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BKdUW522.cjs} +1 -1
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-ERjMISIK.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DPDuWtDv.js} +6 -6
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js} +1642 -1647
  54. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dzyqt2Z-.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Y4oIHCVM.cjs} +58 -58
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-mJB_yl_P.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-D0zznqn6.js} +3 -3
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DODc2KPN.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-YB8ip9Xh.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_1_lang-BRFs_L5R.cjs → index.vue_vue_type_style_index_1_lang-BB0IwRdP.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_1_lang-BH0DRFVE.js → index.vue_vue_type_style_index_1_lang-CT8c_mLo.js} +3 -3
  59. package/dist/{main-B541MQH8.cjs → main-BOuiQUiL.cjs} +1 -1
  60. package/dist/{main-Z5UMyCj6.js → main-CbZLyXuF.js} +2 -2
  61. package/dist/ss-component.cjs +1 -1
  62. package/dist/ss-component.css +1 -1
  63. package/dist/ss-component.js +9 -9
  64. package/dist/ss-component2.cjs +1 -1
  65. package/dist/ss-component2.js +10 -10
  66. package/dist/{threeModel-BcjGbIJZ.js → threeModel-BJ6MrCa-.js} +4 -4
  67. package/dist/{threeModel-tKq0hvaK.cjs → threeModel-i87HG3Ck.cjs} +1 -1
  68. package/dist/{threePreview-DD0br2ae.cjs → threePreview-B3v9SadK.cjs} +1 -1
  69. package/dist/{threePreview-BnPMGQ2H.js → threePreview-D3wObBZq.js} +309 -305
  70. package/dist/{threeSceneView-BUD002PP.js → threeSceneView-DDpjEIgl.js} +7 -7
  71. package/dist/{threeSceneView-DVUTlm6F.cjs → threeSceneView-DQpyKixe.cjs} +2 -2
  72. package/dist/{threeSceneViewForCPMPIP-D4RC4BAo.js → threeSceneViewForCPMPIP-DV_aOUU5.js} +202 -198
  73. package/dist/threeSceneViewForCPMPIP-iaIkud0j.cjs +5 -0
  74. package/dist/{threeTrackPathView-DDCEu3Gx.js → threeTrackPathView-D6aAG4g8.js} +375 -359
  75. package/dist/threeTrackPathView-nPb7Tgdd.cjs +370 -0
  76. package/dist/{threeViewerHost-Sda_AoRw.cjs → threeViewerHost-I50ZyvKF.cjs} +2 -2
  77. package/dist/{threeViewerHost-BVeUteVd.js → threeViewerHost-XR9tepbY.js} +2 -2
  78. package/dist/{urdfTree-Br9VYqKp.cjs → urdfTree-B19ebCHj.cjs} +1 -1
  79. package/dist/{urdfTree-DaWvX-6R.js → urdfTree-CjxhpnRl.js} +1 -1
  80. package/dist/{workpieceTreePanel-Z3aVdOWB.cjs → workpieceTreePanel-0L7tkycK.cjs} +1 -1
  81. package/dist/{workpieceTreePanel-BdRaFNRp.js → workpieceTreePanel-DAnMGvlX.js} +5 -5
  82. package/package.json +1 -1
  83. package/dist/obj/model.mtl +0 -42
  84. package/dist/obj/model.obj +0 -26110
  85. package/dist/threeSceneViewForCPMPIP-BYYbyqD7.cjs +0 -5
  86. package/dist/threeTrackPathView-BvUihuyk.cjs +0 -370
  87. package/public/obj/model.mtl +0 -42
  88. package/public/obj/model.obj +0 -26110
@@ -1,23 +1,23 @@
1
- import { defineComponent as _e, ref as u, computed as w, watch as K, onUnmounted as We, resolveComponent as W, createElementBlock as A, openBlock as z, createElementVNode as t, createCommentVNode as M, createVNode as i, toDisplayString as U, Fragment as Ye, renderList as Ze, withCtx as ae, inject as ke, shallowRef as ie, onMounted as qe, nextTick as Qe, onBeforeUnmount as et, withDirectives as $, vShow as H, unref as v, renderSlot as ue, createBlock as Pe, isRef as re, vModelRadio as de } from "vue";
2
- import { aw as tt } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
3
- import { U as lt, s as we, u as at, a as nt, W as ot } from "./workpieceTreePanel-BdRaFNRp.js";
4
- import { u as st, a as it, b as ut } from "./iconfont-WOKNi2xx.js";
5
- import { c as rt, E as P } from "./index-BUYYl2Pc.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-3GcG1eTD.js";
7
- import { _ as me } from "./index-DRizRbU3.js";
8
- import { g as dt, b as vt, U as ct, J as pt, d as mt } from "./urdfTree-DaWvX-6R.js";
1
+ import { defineComponent as _e, ref as u, computed as C, watch as K, onUnmounted as Ze, resolveComponent as W, createElementBlock as A, openBlock as U, createElementVNode as t, createCommentVNode as M, createVNode as i, toDisplayString as N, Fragment as qe, renderList as Qe, withCtx as ae, inject as ke, shallowRef as ie, onMounted as et, nextTick as tt, onBeforeUnmount as lt, withDirectives as $, vShow as H, unref as r, renderSlot as ue, createBlock as Pe, isRef as re, vModelRadio as de } from "vue";
2
+ import { aw as at } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
3
+ import { U as nt, s as Ce, u as ot, a as st, W as it } from "./workpieceTreePanel-DAnMGvlX.js";
4
+ import { u as ut, a as rt, b as dt } from "./iconfont-B8CQB3CO.js";
5
+ import { c as vt, E as P } from "./index-BUYYl2Pc.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js";
7
+ import { _ as pe } from "./index-DRizRbU3.js";
8
+ import { g as ct, b as mt, U as pt, J as ft, d as gt } from "./urdfTree-CjxhpnRl.js";
9
9
  import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { T as k } from "./svgIcon-D-_fXUBL.js";
11
- import { i as ft } from "./animationData-DfKVkFbz.js";
12
- import { O as gt } from "./MTLLoader-DnouUI-8.js";
13
- import { L as bt, j as ht } from "./index-DRfVnLTN.js";
14
- const yt = { class: "panel-content" }, kt = { class: "action-bar" }, Pt = {
11
+ import { i as bt } from "./animationData-Btgynl98.js";
12
+ import { O as ht } from "./MTLLoader-CCS24gLm.js";
13
+ import { L as yt, j as kt } from "./index-DZf4BLpR.js";
14
+ const Pt = { class: "panel-content" }, Ct = { class: "action-bar" }, wt = {
15
15
  key: 0,
16
16
  class: "animation-controls"
17
- }, wt = { class: "control-row" }, Ct = { class: "control-row" }, _t = { class: "frame-info" }, xt = { class: "control-row" }, Nt = {
17
+ }, _t = { class: "control-row" }, xt = { class: "control-row" }, zt = { class: "frame-info" }, Nt = { class: "control-row" }, Ut = {
18
18
  key: 1,
19
19
  class: "empty-state"
20
- }, Ut = { class: "dialog-footer" }, zt = /* @__PURE__ */ _e({
20
+ }, Vt = { class: "dialog-footer" }, $t = /* @__PURE__ */ _e({
21
21
  __name: "urdfAnimationPanel",
22
22
  props: {
23
23
  model: {},
@@ -25,14 +25,14 @@ const yt = { class: "panel-content" }, kt = { class: "action-bar" }, Pt = {
25
25
  xyzbcList: {}
26
26
  },
27
27
  setup(O, { expose: Y }) {
28
- const T = O, n = u([]), L = u(!1), j = u(""), r = u("stopped"), m = u(0), F = u(0), X = u(10), h = u(null);
28
+ const T = O, n = u([]), L = u(!1), j = u(""), d = u("stopped"), p = u(0), F = u(0), X = u(10), h = u(null);
29
29
  let g = 0;
30
- const Z = u([]), q = w(() => T.model ? dt(T.model).map((d) => d.name) : []), B = w(() => [...q.value]), ne = w(() => B.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
30
+ const Z = u([]), q = C(() => T.model ? ct(T.model).map((v) => v.name) : []), B = C(() => [...q.value]), ne = C(() => B.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
31
31
  ${B.value.join(" ")}
32
32
  0 0 0 ...
33
- 1 2 3 ...` : "请先加载模型。"), E = w(() => n.value[m.value] || {});
33
+ 1 2 3 ...` : "请先加载模型。"), E = C(() => n.value[p.value] || {});
34
34
  K(() => T.model, (s) => {
35
- s ? (h.value = new lt(s), Z.value = vt(s), m.value = 0) : (h.value = null, Z.value = []);
35
+ s ? (h.value = new nt(s), Z.value = mt(s), p.value = 0) : (h.value = null, Z.value = []);
36
36
  }, { immediate: !0 });
37
37
  const J = (s) => {
38
38
  if (s < 0 || s >= n.value.length) {
@@ -41,24 +41,24 @@ ${B.value.join(" ")}
41
41
  }
42
42
  const a = n.value[s];
43
43
  if (h.value) {
44
- const d = {};
45
- q.value.forEach((C) => {
46
- const f = parseFloat(a[C]);
47
- isNaN(f) || (d[C] = f);
48
- }), h.value.setJointAngles(d);
44
+ const v = {};
45
+ q.value.forEach((w) => {
46
+ const f = parseFloat(a[w]);
47
+ isNaN(f) || (v[w] = f);
48
+ }), h.value.setJointAngles(v);
49
49
  }
50
- m.value = s, F.value = n.value.length > 1 ? s / (n.value.length - 1) * 100 : 100;
50
+ p.value = s, F.value = n.value.length > 1 ? s / (n.value.length - 1) * 100 : 100;
51
51
  }, ve = async (s) => {
52
52
  try {
53
- for (let a = m.value; a < n.value.length; a++) {
53
+ for (let a = p.value; a < n.value.length; a++) {
54
54
  if (s !== g) return;
55
- const d = n.value[a], C = {};
55
+ const v = n.value[a], w = {};
56
56
  if (h.value)
57
57
  q.value.forEach((f) => {
58
- const b = parseFloat(d[f]);
59
- isNaN(b) || (C[f] = b);
58
+ const b = parseFloat(v[f]);
59
+ isNaN(b) || (w[f] = b);
60
60
  }), await h.value.animateToState(
61
- C,
61
+ w,
62
62
  X.value,
63
63
  (f) => {
64
64
  s === g && (F.value = (a + f) / n.value.length * 100);
@@ -68,26 +68,26 @@ ${B.value.join(" ")}
68
68
  if (await new Promise((f) => setTimeout(f, X.value)), s !== g) return;
69
69
  F.value = (a + 1) / n.value.length * 100;
70
70
  }
71
- m.value = a;
71
+ p.value = a;
72
72
  }
73
- s === g && (P.success("动画播放完成"), r.value = "stopped", F.value = 100);
73
+ s === g && (P.success("动画播放完成"), d.value = "stopped", F.value = 100);
74
74
  } catch (a) {
75
- console.error("动画播放出错:", a), P.error("动画播放出错"), r.value = "stopped";
75
+ console.error("动画播放出错:", a), P.error("动画播放出错"), d.value = "stopped";
76
76
  }
77
77
  }, G = () => {
78
78
  if (n.value.length === 0) {
79
79
  P.error("无动画数据");
80
80
  return;
81
81
  }
82
- r.value === "stopped" && (m.value = 0, J(0)), r.value = "playing", g++, ve(g), P.info("动画播放中");
82
+ d.value === "stopped" && (p.value = 0, J(0)), d.value = "playing", g++, ve(g), P.info("动画播放中");
83
83
  }, Q = () => {
84
- r.value === "playing" && (g++, r.value = "paused", P.info("动画已暂停"));
84
+ d.value === "playing" && (g++, d.value = "paused", P.info("动画已暂停"));
85
85
  }, ee = () => {
86
- g++, r.value = "stopped", m.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
86
+ g++, d.value = "stopped", p.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
87
87
  }, D = () => {
88
- r.value === "playing" ? Q() : G();
88
+ d.value === "playing" ? Q() : G();
89
89
  }, x = (s) => {
90
- g++, r.value = "paused", J(s);
90
+ g++, d.value = "paused", J(s);
91
91
  }, I = () => {
92
92
  if (!j.value.trim()) {
93
93
  P.warning("导入内容不能为空");
@@ -99,26 +99,26 @@ ${B.value.join(" ")}
99
99
  P.error("导入数据至少需要包含表头行和一行数据");
100
100
  return;
101
101
  }
102
- const a = s[0].split(" ").map((b) => b.trim()), d = {};
102
+ const a = s[0].split(" ").map((b) => b.trim()), v = {};
103
103
  if (a.forEach((b, c) => {
104
- B.value.includes(b) && (d[c] = b);
105
- }), Object.keys(d).length === 0) {
104
+ B.value.includes(b) && (v[c] = b);
105
+ }), Object.keys(v).length === 0) {
106
106
  P.error("没有找到匹配的表头,请检查表头名称是否正确");
107
107
  return;
108
108
  }
109
109
  const f = s.slice(1).map((b) => {
110
- const c = b.split(" "), N = {};
110
+ const c = b.split(" "), z = {};
111
111
  return B.value.forEach((S) => {
112
- N[S] = "0";
113
- }), Object.entries(d).forEach(([S, ce]) => {
112
+ z[S] = "0";
113
+ }), Object.entries(v).forEach(([S, ce]) => {
114
114
  const te = c[parseInt(S)];
115
- te !== void 0 && te.trim() !== "" && (N[ce] = te.trim());
116
- }), N;
115
+ te !== void 0 && te.trim() !== "" && (z[ce] = te.trim());
116
+ }), z;
117
117
  });
118
118
  f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), L.value = !1, j.value = "", ee()) : P.error("未能解析到有效数据,请检查格式。");
119
119
  };
120
120
  K(() => T.xyzbcList, () => {
121
- T.xyzbcList && (n.value = rt(T.xyzbcList));
121
+ T.xyzbcList && (n.value = vt(T.xyzbcList));
122
122
  }, {
123
123
  immediate: !0
124
124
  });
@@ -128,22 +128,22 @@ ${B.value.join(" ")}
128
128
  playAnimation: G,
129
129
  pauseAnimation: Q,
130
130
  stopAnimation: ee
131
- }), We(() => {
131
+ }), Ze(() => {
132
132
  g++;
133
133
  }), (s, a) => {
134
- const d = W("el-input-number"), C = W("el-slider"), f = W("el-input"), b = W("el-dialog");
135
- return z(), A("div", yt, [
136
- t("div", kt, [
137
- i(me, {
134
+ const v = W("el-input-number"), w = W("el-slider"), f = W("el-input"), b = W("el-dialog");
135
+ return U(), A("div", Pt, [
136
+ t("div", Ct, [
137
+ i(pe, {
138
138
  onClick: a[0] || (a[0] = (c) => L.value = !0),
139
139
  disabled: B.value.length === 0,
140
140
  modelValue: "导入数据"
141
141
  }, null, 8, ["disabled"])
142
142
  ]),
143
- n.value.length > 0 ? (z(), A("div", Pt, [
144
- t("div", wt, [
143
+ n.value.length > 0 ? (U(), A("div", wt, [
144
+ t("div", _t, [
145
145
  a[6] || (a[6] = t("label", null, "帧间隔 (ms):", -1)),
146
- i(d, {
146
+ i(v, {
147
147
  modelValue: X.value,
148
148
  "onUpdate:modelValue": a[1] || (a[1] = (c) => X.value = c),
149
149
  min: 10,
@@ -153,32 +153,32 @@ ${B.value.join(" ")}
153
153
  style: { width: "120px" }
154
154
  }, null, 8, ["modelValue"])
155
155
  ]),
156
- t("div", Ct, [
156
+ t("div", xt, [
157
157
  a[7] || (a[7] = t("label", null, "当前帧:", -1)),
158
- t("span", _t, U(m.value + 1) + " / " + U(n.value.length), 1)
158
+ t("span", zt, N(p.value + 1) + " / " + N(n.value.length), 1)
159
159
  ]),
160
- t("div", xt, [
160
+ t("div", Nt, [
161
161
  a[8] || (a[8] = t("label", null, "动画进度:", -1)),
162
- i(C, {
163
- modelValue: m.value,
164
- "onUpdate:modelValue": a[2] || (a[2] = (c) => m.value = c),
162
+ i(w, {
163
+ modelValue: p.value,
164
+ "onUpdate:modelValue": a[2] || (a[2] = (c) => p.value = c),
165
165
  min: 0,
166
166
  max: n.value.length > 0 ? n.value.length - 1 : 0,
167
167
  step: 1,
168
168
  "format-tooltip": V,
169
169
  onInput: x,
170
- disabled: n.value.length === 0 || r.value === "playing",
170
+ disabled: n.value.length === 0 || d.value === "playing",
171
171
  style: { "flex-grow": "1", margin: "0 10px" }
172
172
  }, null, 8, ["modelValue", "max", "disabled"])
173
173
  ]),
174
174
  t("div", null, [
175
175
  a[9] || (a[9] = t("label", null, "当前帧数据:", -1)),
176
176
  t("div", null, [
177
- E.value ? (z(!0), A(Ye, { key: 0 }, Ze(E.value, (c, N) => (z(), A("div", { key: N }, U(N) + ": " + U(c), 1))), 128)) : M("", !0)
177
+ E.value ? (U(!0), A(qe, { key: 0 }, Qe(E.value, (c, z) => (U(), A("div", { key: z }, N(z) + ": " + N(c), 1))), 128)) : M("", !0)
178
178
  ])
179
179
  ])
180
180
  ])) : M("", !0),
181
- n.value.length === 0 ? (z(), A("div", Nt, a[10] || (a[10] = [
181
+ n.value.length === 0 ? (U(), A("div", Ut, a[10] || (a[10] = [
182
182
  t("p", null, "请先导入数据", -1)
183
183
  ]))) : M("", !0),
184
184
  i(b, {
@@ -188,12 +188,12 @@ ${B.value.join(" ")}
188
188
  width: "500px"
189
189
  }, {
190
190
  footer: ae(() => [
191
- t("span", Ut, [
192
- i(me, {
191
+ t("span", Vt, [
192
+ i(pe, {
193
193
  modelValue: "取消",
194
194
  onClick: a[4] || (a[4] = (c) => L.value = !1)
195
195
  }),
196
- i(me, {
196
+ i(pe, {
197
197
  modelValue: "确认导入",
198
198
  onClick: I,
199
199
  type: "primary"
@@ -216,16 +216,16 @@ ${B.value.join(" ")}
216
216
  ]);
217
217
  };
218
218
  }
219
- }), Ce = /* @__PURE__ */ xe(zt, [["__scopeId", "data-v-06bc34b3"]]), Vt = async (O) => await new gt().loadAsync(O), $t = async (O) => await Vt(O), Tt = { class: "obj-viewer-container" }, Lt = { class: "buttonGroup-topLeft" }, jt = { class: "buttonGroup-left" }, At = { class: "buttonGroup-right" }, Dt = { class: "buttonGroup-bottom" }, St = { class: "top-panel" }, Rt = { class: "panel-header" }, Mt = { class: "panel-body" }, Ot = { class: "left-panel" }, Ft = { class: "panel-header" }, Bt = { class: "panel-body" }, Et = {
219
+ }), we = /* @__PURE__ */ xe($t, [["__scopeId", "data-v-06bc34b3"]]), Tt = async (O) => await new ht().loadAsync(O), Lt = async (O) => await Tt(O), jt = { class: "obj-viewer-container" }, At = { class: "buttonGroup-topLeft" }, Dt = { class: "buttonGroup-left" }, St = { class: "buttonGroup-right" }, Rt = { class: "buttonGroup-bottom" }, Mt = { class: "top-panel" }, Ot = { class: "panel-header" }, Ft = { class: "panel-body" }, Bt = { class: "left-panel" }, Et = { class: "panel-header" }, Jt = { class: "panel-body" }, It = {
220
220
  key: 1,
221
221
  class: "clipping-content"
222
- }, Jt = { class: "radio-group" }, It = { class: "radio-label" }, Xt = { class: "radio-label" }, Gt = { class: "radio-label" }, Ht = { class: "radio-label" }, Kt = { class: "right-panel" }, Wt = { class: "panel-header" }, Yt = { class: "panel-body" }, Zt = {
222
+ }, Xt = { class: "radio-group" }, Gt = { class: "radio-label" }, Ht = { class: "radio-label" }, Kt = { class: "radio-label" }, Wt = { class: "radio-label" }, Yt = { class: "right-panel" }, Zt = { class: "panel-header" }, qt = { class: "panel-body" }, Qt = {
223
223
  key: 0,
224
224
  class: "loading-overlay"
225
- }, qt = {
225
+ }, el = {
226
226
  key: 1,
227
227
  class: "brand"
228
- }, Qt = { class: "brand-item" }, el = { class: "item-value" }, tl = { class: "brand-item" }, ll = { class: "item-value" }, al = { class: "brand-item" }, nl = { class: "item-value" }, ol = /* @__PURE__ */ _e({
228
+ }, tl = { class: "brand-item" }, ll = { class: "item-value" }, al = { class: "brand-item" }, nl = { class: "item-value" }, ol = { class: "brand-item" }, sl = { class: "item-value" }, il = /* @__PURE__ */ _e({
229
229
  __name: "threeSceneViewForCPMPIP",
230
230
  props: {
231
231
  fileBlobs: { default: () => [] },
@@ -233,35 +233,35 @@ ${B.value.join(" ")}
233
233
  },
234
234
  emits: ["getAnimationData", "getThreeData"],
235
235
  setup(O, { emit: Y }) {
236
- const T = Y, n = O, L = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), r = w(() => {
236
+ const T = Y, n = O, L = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), d = C(() => {
237
237
  var e, o;
238
238
  return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.machine;
239
- }), m = w(() => {
239
+ }), p = C(() => {
240
240
  var e;
241
- return (e = r == null ? void 0 : r.value) == null ? void 0 : e.产品型号;
242
- }), F = w(() => {
241
+ return (e = d == null ? void 0 : d.value) == null ? void 0 : e.产品型号;
242
+ }), F = C(() => {
243
243
  var e;
244
- return (e = r == null ? void 0 : r.value) == null ? void 0 : e.编号;
245
- }), X = w(() => {
244
+ return (e = d == null ? void 0 : d.value) == null ? void 0 : e.编号;
245
+ }), X = C(() => {
246
246
  var e;
247
- return (e = r == null ? void 0 : r.value) == null ? void 0 : e.厂家;
248
- }), h = w(() => {
247
+ return (e = d == null ? void 0 : d.value) == null ? void 0 : e.厂家;
248
+ }), h = C(() => {
249
249
  var e, o;
250
250
  return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.workpieceInfo;
251
- }), g = w(() => {
251
+ }), g = C(() => {
252
252
  var e, o;
253
253
  return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.knife;
254
254
  }), Z = u([]), q = async (l) => {
255
255
  !l || !l.isExtra || (await B(l), L == null || L(l == null ? void 0 : l.pageName), j == null || j(!0));
256
- }, B = bt(async (l) => {
257
- await ht();
256
+ }, B = yt(async (l) => {
257
+ await kt();
258
258
  const { mainKey: e, baseMenuPath: o } = l || {};
259
- tt(o, e);
259
+ at(o, e);
260
260
  }, 500);
261
261
  K(
262
- () => [m.value, h.value, g.value],
262
+ () => [p.value, h.value, g.value],
263
263
  () => {
264
- var y, p, he, ye;
264
+ var y, m, he, ye;
265
265
  const l = [], e = {
266
266
  pageName: "机床",
267
267
  name: "机床",
@@ -274,11 +274,11 @@ ${B.value.join(" ")}
274
274
  show: !0,
275
275
  isPenultimate: !1
276
276
  };
277
- m.value && e.children.push({
277
+ p.value && e.children.push({
278
278
  isExtra: !0,
279
279
  pageName: "机床",
280
- mainKey: m.value,
281
- label: m.value,
280
+ mainKey: p.value,
281
+ label: p.value,
282
282
  baseMenuPath: "设备库/机床"
283
283
  });
284
284
  const o = {
@@ -297,7 +297,7 @@ ${B.value.join(" ")}
297
297
  isExtra: !0,
298
298
  type: (y = h.value) == null ? void 0 : y.type,
299
299
  pageName: "工件",
300
- mainKey: (p = h.value) == null ? void 0 : p.name,
300
+ mainKey: (m = h.value) == null ? void 0 : m.name,
301
301
  label: (he = h.value) == null ? void 0 : he.name,
302
302
  baseMenuPath: `工件库/${(ye = h.value) == null ? void 0 : ye.type}`
303
303
  });
@@ -324,135 +324,139 @@ ${B.value.join(" ")}
324
324
  immediate: !0
325
325
  }
326
326
  );
327
- const ne = u([]), E = w(() => {
327
+ const ne = u([]), E = C(() => {
328
328
  var e, o;
329
329
  return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.csvUrl;
330
330
  });
331
331
  K(() => E.value, async () => {
332
332
  if (console.log("three data", n == null ? void 0 : n.threeData), console.log("csvUrl", E.value), E.value) {
333
- const l = await ft(E.value);
333
+ const l = await bt(E.value);
334
334
  ne.value = l;
335
335
  }
336
336
  }, {
337
337
  immediate: !0
338
338
  });
339
- const J = w(() => {
339
+ const J = C(() => {
340
340
  var e, o;
341
341
  return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.bladeObjUrl;
342
- }), ve = u(we.ROBOT), G = u(null), Q = u(!1), ee = u(""), D = u(!1), x = u(""), I = u(!1), V = u(""), s = u(!1), a = u(""), d = ie(null), C = u("叶片模型"), f = ie(null), b = ie(null), c = ie(null), N = u(Ce), {
342
+ }), ve = u(Ce.ROBOT), G = u(null), Q = u(!1), ee = u(""), D = u(!1), x = u(""), I = u(!1), V = u(""), s = u(!1), a = u(""), v = ie(null), w = u("叶片模型"), f = ie(null), b = ie(null), c = ie(null), z = u(we), {
343
343
  currentModels: S,
344
344
  resetView: ce,
345
345
  initThreeJS: te,
346
346
  handleResize: fe,
347
347
  getThreeJSObjects: le,
348
- cleanup: Ne,
348
+ cleanup: ze,
349
349
  setModels: ge,
350
- axesHelperVisible: Ue,
351
- toggleAxesVisibility: ze
352
- } = st(G), { loadSceneFromFile: Ve } = nt(
350
+ axesHelperVisible: Ne,
351
+ toggleAxesVisibility: Ue,
352
+ zoomIn: Ve,
353
+ zoomOut: $e
354
+ } = ut(G), { loadSceneFromFile: Te } = st(
353
355
  le,
354
356
  S,
355
357
  Q,
356
358
  ee
357
- ), { isAnimating: be, toggleAnimation: $e, stopAnimation: Te } = it(le, S), { isClipping: Le, activeClippingAxis: _, toggleClipping: je, updateClippingPlanes: R } = ut(le, S), { initRaycaster: Ae, selectedObject3D: De, setSelectedObjVisible: Se, updatePosition: Re, updateRotation: Me, dispose: Oe } = at(G, le, S), Fe = () => {
358
- ze();
359
- }, Be = w(() => ve.value === we.ROBOT), oe = (l) => {
360
- D.value = !0, x.value = l, l === "剖面视图" && !Le.value && je();
361
- }, pe = (l) => {
359
+ ), { isAnimating: be, toggleAnimation: Le, stopAnimation: je } = rt(le, S), { isClipping: Ae, activeClippingAxis: _, toggleClipping: De, updateClippingPlanes: R } = dt(le, S), { initRaycaster: Se, selectedObject3D: Re, setSelectedObjVisible: Me, updatePosition: Oe, updateRotation: Fe, dispose: Be } = ot(G, le, S), Ee = () => {
360
+ Ue();
361
+ }, Je = C(() => ve.value === Ce.ROBOT), oe = (l) => {
362
+ D.value = !0, x.value = l, l === "剖面视图" && !Ae.value && De();
363
+ }, me = (l) => {
362
364
  I.value = !0, V.value = l, l === "动画仿真" && T("getAnimationData");
363
- }, Ee = () => {
365
+ }, Ie = () => {
364
366
  var l;
365
- (l = N.value) == null || l.handlePlayPause();
366
- }, Je = () => {
367
+ (l = z.value) == null || l.handlePlayPause();
368
+ }, Xe = () => {
367
369
  var l;
368
- (l = N.value) == null || l.pauseAnimation();
369
- }, Ie = () => {
370
+ (l = z.value) == null || l.pauseAnimation();
371
+ }, Ge = () => {
370
372
  var l;
371
- (l = N.value) == null || l.stopAnimation();
372
- }, Xe = (l, e) => mt(l, e), Ge = async (l) => {
373
- const e = Xe(l, C.value);
373
+ (l = z.value) == null || l.stopAnimation();
374
+ }, He = (l, e) => gt(l, e), Ke = async (l) => {
375
+ const e = He(l, w.value);
374
376
  if (b.value = e, console.log("bladeObjUrl", J.value), e && e.parent && J.value) {
375
- const o = await $t(J.value);
377
+ const o = await Lt(J.value);
376
378
  o.name = "blade_clone", e.parent.add(o), o.position.copy(e.position), o.rotation.copy(e.rotation), o.scale.copy(e.scale), e.visible = !1, f.value = o;
377
379
  } else
378
- C.value && console.warn(`在 Blade '${C.value}' 中未找到可替换的网格或其没有父级。`);
380
+ w.value && console.warn(`在 Blade '${w.value}' 中未找到可替换的网格或其没有父级。`);
379
381
  };
380
382
  K(() => n.fileBlobs, (l) => {
381
383
  if (l && l.length > 0) {
382
384
  const e = l[0];
383
385
  if (!e.name.toLowerCase().endsWith(".urdf"))
384
386
  return;
385
- Ve(e).then((o) => {
386
- d.value = o, o && Ge(o);
387
+ Te(e).then((o) => {
388
+ v.value = o, o && Ke(o);
387
389
  }).catch((o) => {
388
- console.error("加载URDF文件时发生错误:", o), P.error("加载urdf模型失败"), d.value = null;
390
+ console.error("加载URDF文件时发生错误:", o), P.error("加载urdf模型失败"), v.value = null;
389
391
  });
390
392
  } else
391
- d.value = null;
393
+ v.value = null;
392
394
  }, {
393
395
  immediate: !0,
394
396
  deep: !0
395
- }), K(d, (l) => {
396
- ge(l ? [l] : []), Ae();
397
+ }), K(v, (l) => {
398
+ ge(l ? [l] : []), Se();
397
399
  });
398
- const He = () => {
400
+ const We = () => {
399
401
  te(), window.addEventListener("resize", fe);
400
402
  const l = le();
401
403
  c.value = l.scene;
402
- }, Ke = () => {
403
- x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value && Te(), Ne(), Oe();
404
+ }, Ye = () => {
405
+ x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value && je(), ze(), Be();
404
406
  };
405
- return qe(async () => {
406
- await Qe();
407
+ return et(async () => {
408
+ await tt();
407
409
  try {
408
- He();
410
+ We();
409
411
  } catch (l) {
410
412
  console.error("Three.js 初始化失败:", l), P.error("渲染引擎初始化失败!");
411
413
  }
412
- }), et(() => {
413
- Ke();
414
+ }), lt(() => {
415
+ Ye();
414
416
  }), (l, e) => {
415
417
  const o = W("el-scrollbar"), se = W("PipeAnalysisPanel");
416
- return z(), A("div", Tt, [
418
+ return U(), A("div", jt, [
417
419
  $(t("div", {
418
420
  ref_key: "threejsContainer",
419
421
  ref: G,
420
422
  class: "threejs-container"
421
423
  }, null, 512), [
422
- [H, Be.value]
424
+ [H, Je.value]
423
425
  ]),
424
- t("div", Lt, [
426
+ t("div", At, [
425
427
  i(k, {
426
428
  name: "viewReset",
427
429
  size: "24",
428
- onClick: v(ce),
430
+ onClick: r(ce),
429
431
  title: "重置"
430
432
  }, null, 8, ["onClick"]),
431
433
  i(k, {
432
434
  name: "fangda",
433
435
  size: "24",
434
- title: "放大"
435
- }),
436
+ title: "放大",
437
+ onClick: r(Ve)
438
+ }, null, 8, ["onClick"]),
436
439
  i(k, {
437
440
  name: "suoxiao",
438
441
  size: "24",
439
- title: "缩小"
440
- }),
442
+ title: "缩小",
443
+ onClick: r($e)
444
+ }, null, 8, ["onClick"]),
441
445
  i(k, {
442
446
  name: "lookAround",
443
447
  size: "24",
444
- onClick: v($e),
445
- title: v(be) ? "停止动画" : "动画视图"
448
+ onClick: r(Le),
449
+ title: r(be) ? "停止动画" : "动画视图"
446
450
  }, null, 8, ["onClick", "title"]),
447
451
  i(k, {
448
452
  name: "zuobiaoxi",
449
453
  size: "24",
450
- active: v(Ue),
451
- onClick: Fe,
454
+ active: r(Ne),
455
+ onClick: Ee,
452
456
  title: "显隐坐标轴"
453
457
  }, null, 8, ["active"])
454
458
  ]),
455
- t("div", jt, [
459
+ t("div", Dt, [
456
460
  ue(l.$slots, "button-left", { switchRightPanel: oe }, void 0, !0),
457
461
  i(k, {
458
462
  name: "jiegoushu",
@@ -475,12 +479,12 @@ ${B.value.join(" ")}
475
479
  active: D.value && x.value === "工件树"
476
480
  }, null, 8, ["active"])
477
481
  ]),
478
- t("div", At, [
479
- ue(l.$slots, "button-right", { switchRightPanel: pe }, void 0, !0),
482
+ t("div", St, [
483
+ ue(l.$slots, "button-right", { switchRightPanel: me }, void 0, !0),
480
484
  i(k, {
481
485
  name: "jichuangxuanze",
482
486
  size: "24",
483
- onClick: e[3] || (e[3] = (y) => pe("机床控制")),
487
+ onClick: e[3] || (e[3] = (y) => me("机床控制")),
484
488
  active: I.value && V.value === "机床控制",
485
489
  title: "机床控制"
486
490
  }, null, 8, ["active"]),
@@ -488,42 +492,42 @@ ${B.value.join(" ")}
488
492
  name: "donghuafangzhen",
489
493
  size: "24",
490
494
  title: "动画仿真",
491
- onClick: e[4] || (e[4] = (y) => pe("动画仿真")),
495
+ onClick: e[4] || (e[4] = (y) => me("动画仿真")),
492
496
  active: I.value && V.value === "动画仿真"
493
497
  }, null, 8, ["active"])
494
498
  ]),
495
- t("div", Dt, [
499
+ t("div", Rt, [
496
500
  i(k, {
497
501
  name: "bofang",
498
502
  size: "24",
499
503
  backgroundColor: "#ffffff",
500
504
  title: "播放",
501
- onClick: Ee
505
+ onClick: Ie
502
506
  }),
503
507
  i(k, {
504
508
  name: "zanting",
505
509
  size: "24",
506
510
  backgroundColor: "#ffffff",
507
511
  title: "暂停",
508
- onClick: Je
512
+ onClick: Xe
509
513
  }),
510
514
  i(k, {
511
515
  name: "zhongzhi",
512
516
  size: "24",
513
517
  backgroundColor: "#ffffff",
514
518
  title: "停止",
515
- onClick: Ie
519
+ onClick: Ge
516
520
  })
517
521
  ]),
518
- $(t("div", St, [
519
- t("div", Rt, [
520
- t("span", null, U(a.value), 1),
522
+ $(t("div", Mt, [
523
+ t("div", Ot, [
524
+ t("span", null, N(a.value), 1),
521
525
  t("span", {
522
526
  class: "close",
523
527
  onClick: e[5] || (e[5] = (y) => s.value = !1)
524
528
  }, " X ")
525
529
  ]),
526
- t("div", Mt, [
530
+ t("div", Ft, [
527
531
  i(o, { height: "100%" }, {
528
532
  default: ae(() => [
529
533
  ue(l.$slots, "top-panel", { topPanelType: a.value }, void 0, !0)
@@ -534,87 +538,87 @@ ${B.value.join(" ")}
534
538
  ], 512), [
535
539
  [H, s.value]
536
540
  ]),
537
- $(t("div", Ot, [
538
- t("div", Ft, [
539
- t("span", null, U(x.value), 1),
541
+ $(t("div", Bt, [
542
+ t("div", Et, [
543
+ t("span", null, N(x.value), 1),
540
544
  t("span", {
541
545
  class: "close",
542
546
  onClick: e[6] || (e[6] = (y) => D.value = !1)
543
547
  }, " X ")
544
548
  ]),
545
- t("div", Bt, [
549
+ t("div", Jt, [
546
550
  i(o, { height: "100%" }, {
547
551
  default: ae(() => {
548
552
  var y;
549
553
  return [
550
- x.value === "场景树" ? (z(), Pe(ct, {
554
+ x.value === "场景树" ? (U(), Pe(pt, {
551
555
  key: 0,
552
- model: d.value,
556
+ model: v.value,
553
557
  extraNodes: Z.value,
554
558
  onNodeClick: q
555
559
  }, null, 8, ["model", "extraNodes"])) : M("", !0),
556
- x.value === "剖面视图" ? (z(), A("div", Et, [
557
- t("div", Jt, [
558
- t("label", It, [
560
+ x.value === "剖面视图" ? (U(), A("div", It, [
561
+ t("div", Xt, [
562
+ t("label", Gt, [
559
563
  $(t("input", {
560
564
  type: "radio",
561
565
  name: "clipping-axis",
562
566
  value: "none",
563
- "onUpdate:modelValue": e[7] || (e[7] = (p) => re(_) ? _.value = p : null),
567
+ "onUpdate:modelValue": e[7] || (e[7] = (m) => re(_) ? _.value = m : null),
564
568
  onChange: e[8] || (e[8] = //@ts-ignore
565
- (...p) => v(R) && v(R)(...p))
569
+ (...m) => r(R) && r(R)(...m))
566
570
  }, null, 544), [
567
- [de, v(_)]
571
+ [de, r(_)]
568
572
  ]),
569
573
  e[16] || (e[16] = t("span", { class: "radio-text" }, "无切割", -1))
570
574
  ]),
571
- t("label", Xt, [
575
+ t("label", Ht, [
572
576
  $(t("input", {
573
577
  type: "radio",
574
578
  name: "clipping-axis",
575
579
  value: "x",
576
- "onUpdate:modelValue": e[9] || (e[9] = (p) => re(_) ? _.value = p : null),
580
+ "onUpdate:modelValue": e[9] || (e[9] = (m) => re(_) ? _.value = m : null),
577
581
  onChange: e[10] || (e[10] = //@ts-ignore
578
- (...p) => v(R) && v(R)(...p))
582
+ (...m) => r(R) && r(R)(...m))
579
583
  }, null, 544), [
580
- [de, v(_)]
584
+ [de, r(_)]
581
585
  ]),
582
586
  e[17] || (e[17] = t("span", { class: "radio-text" }, "X轴切割", -1))
583
587
  ]),
584
- t("label", Gt, [
588
+ t("label", Kt, [
585
589
  $(t("input", {
586
590
  type: "radio",
587
591
  name: "clipping-axis",
588
592
  value: "y",
589
- "onUpdate:modelValue": e[11] || (e[11] = (p) => re(_) ? _.value = p : null),
593
+ "onUpdate:modelValue": e[11] || (e[11] = (m) => re(_) ? _.value = m : null),
590
594
  onChange: e[12] || (e[12] = //@ts-ignore
591
- (...p) => v(R) && v(R)(...p))
595
+ (...m) => r(R) && r(R)(...m))
592
596
  }, null, 544), [
593
- [de, v(_)]
597
+ [de, r(_)]
594
598
  ]),
595
599
  e[18] || (e[18] = t("span", { class: "radio-text" }, "Y轴切割", -1))
596
600
  ]),
597
- t("label", Ht, [
601
+ t("label", Wt, [
598
602
  $(t("input", {
599
603
  type: "radio",
600
604
  name: "clipping-axis",
601
605
  value: "z",
602
- "onUpdate:modelValue": e[13] || (e[13] = (p) => re(_) ? _.value = p : null),
606
+ "onUpdate:modelValue": e[13] || (e[13] = (m) => re(_) ? _.value = m : null),
603
607
  onChange: e[14] || (e[14] = //@ts-ignore
604
- (...p) => v(R) && v(R)(...p))
608
+ (...m) => r(R) && r(R)(...m))
605
609
  }, null, 544), [
606
- [de, v(_)]
610
+ [de, r(_)]
607
611
  ]),
608
612
  e[19] || (e[19] = t("span", { class: "radio-text" }, "Z轴切割", -1))
609
613
  ])
610
614
  ])
611
615
  ])) : M("", !0),
612
- x.value === "工件树" ? (z(), Pe(ot, {
616
+ x.value === "工件树" ? (U(), Pe(it, {
613
617
  key: 2,
614
- model: (y = v(De)) == null ? void 0 : y.obj,
615
- onVisibleChange: v(Se),
616
- onUpdatePosition: v(Re),
617
- onUpdateRotation: v(Me)
618
+ model: (y = r(Re)) == null ? void 0 : y.obj,
619
+ onVisibleChange: r(Me),
620
+ onUpdatePosition: r(Oe),
621
+ onUpdateRotation: r(Fe)
618
622
  }, null, 8, ["model", "onVisibleChange", "onUpdatePosition", "onUpdateRotation"])) : M("", !0)
619
623
  ];
620
624
  }),
@@ -624,26 +628,26 @@ ${B.value.join(" ")}
624
628
  ], 512), [
625
629
  [H, D.value]
626
630
  ]),
627
- $(t("div", Kt, [
628
- t("div", Wt, [
629
- t("span", null, U(V.value), 1),
631
+ $(t("div", Yt, [
632
+ t("div", Zt, [
633
+ t("span", null, N(V.value), 1),
630
634
  t("span", {
631
635
  class: "close",
632
636
  onClick: e[15] || (e[15] = (y) => I.value = !1)
633
637
  }, " X ")
634
638
  ]),
635
- t("div", Yt, [
639
+ t("div", qt, [
636
640
  i(o, { height: "100%" }, {
637
641
  default: ae(() => [
638
- $(i(pt, { model: d.value }, null, 8, ["model"]), [
642
+ $(i(ft, { model: v.value }, null, 8, ["model"]), [
639
643
  [H, V.value === "机床控制"]
640
644
  ]),
641
- $(i(Ce, {
642
- model: d.value,
645
+ $(i(we, {
646
+ model: v.value,
643
647
  scene: c.value,
644
648
  xyzbcList: ne.value,
645
649
  ref_key: "urdfAnimationPanelRef",
646
- ref: N
650
+ ref: z
647
651
  }, null, 8, ["model", "scene", "xyzbcList"]), [
648
652
  [H, V.value === "动画仿真"]
649
653
  ]),
@@ -655,29 +659,29 @@ ${B.value.join(" ")}
655
659
  ], 512), [
656
660
  [H, I.value]
657
661
  ]),
658
- Q.value ? (z(), A("div", Zt, [
662
+ Q.value ? (U(), A("div", Qt, [
659
663
  e[20] || (e[20] = t("div", { class: "loading-spinner" }, null, -1)),
660
- t("p", null, U(ee.value), 1)
664
+ t("p", null, N(ee.value), 1)
661
665
  ])) : M("", !0),
662
- m.value ? (z(), A("div", qt, [
663
- t("div", Qt, [
666
+ p.value ? (U(), A("div", el, [
667
+ t("div", tl, [
664
668
  e[21] || (e[21] = t("div", { class: "item-label" }, "厂家:", -1)),
665
- t("div", el, U(X.value), 1)
669
+ t("div", ll, N(X.value), 1)
666
670
  ]),
667
- t("div", tl, [
671
+ t("div", al, [
668
672
  e[22] || (e[22] = t("div", { class: "item-label" }, "型号:", -1)),
669
- t("div", ll, U(m.value), 1)
673
+ t("div", nl, N(p.value), 1)
670
674
  ]),
671
- t("div", al, [
675
+ t("div", ol, [
672
676
  e[23] || (e[23] = t("div", { class: "item-label" }, "编号:", -1)),
673
- t("div", nl, U(F.value), 1)
677
+ t("div", sl, N(F.value), 1)
674
678
  ])
675
679
  ])) : M("", !0),
676
680
  i(se, { ref: "pipeAnalysisPanelRef" }, null, 512)
677
681
  ]);
678
682
  };
679
683
  }
680
- }), yl = /* @__PURE__ */ xe(ol, [["__scopeId", "data-v-eef66dd4"]]);
684
+ }), Pl = /* @__PURE__ */ xe(il, [["__scopeId", "data-v-8cfdaf24"]]);
681
685
  export {
682
- yl as default
686
+ Pl as default
683
687
  };