ss-component-new 1.2.91 → 1.2.92

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 (89) hide show
  1. package/dist/{MTLLoader-BFJXexXd.js → MTLLoader-B5xRp-vz.js} +1 -1
  2. package/dist/{MTLLoader-B7nny5Fq.cjs → MTLLoader-D80GV1WB.cjs} +1 -1
  3. package/dist/{OrbitControls-xaR75UGu.cjs → OrbitControls-CqIpswqa.cjs} +1 -1
  4. package/dist/{OrbitControls-C9jawbH9.js → OrbitControls-Dh9PyFO4.js} +1 -1
  5. package/dist/{animationData-CBP3-eEz.cjs → animationData-BtND2VWy.cjs} +1 -1
  6. package/dist/{animationData-CgRkXv4t.js → animationData-DZ0i7k1j.js} +1 -1
  7. package/dist/{iconfont-CP5tSbKZ.cjs → iconfont-0T5xTLj8.cjs} +1 -1
  8. package/dist/{iconfont-CjxxsF1M.js → iconfont-DN8mra_i.js} +2 -2
  9. package/dist/{index-DFI9yzK6.js → index-1gXFTnuu.js} +13 -13
  10. package/dist/{index-DqVT7oIp.cjs → index-BGvxk4QX.cjs} +1 -1
  11. package/dist/{index-CETcLmm9.js → index-BKaTMDZC.js} +3 -3
  12. package/dist/{index-vOASo2vq.cjs → index-BUYZ6Pzj.cjs} +1 -1
  13. package/dist/{index-BtAr_AHh.cjs → index-BYoEVm0h.cjs} +1 -1
  14. package/dist/{index-Dp0Qfw7S.cjs → index-B_KvjL9P.cjs} +1 -1
  15. package/dist/{index-BlCQ16SZ.cjs → index-BdwtuRne.cjs} +1 -1
  16. package/dist/{index-BekTYc0y.cjs → index-BeEVAZ15.cjs} +1 -1
  17. package/dist/{index-BQ2epFRD.js → index-BjFqn1jw.js} +1 -1
  18. package/dist/{index-DYPr6Y5L.cjs → index-BooqzjWY.cjs} +1 -1
  19. package/dist/{index-DUVWJUDm.cjs → index-BprBzYZ5.cjs} +1 -1
  20. package/dist/{index-Bb1-JDSj.js → index-BtKhX2oM.js} +2 -2
  21. package/dist/{index-C3T-KdRt.js → index-BvxyAOvM.js} +1 -1
  22. package/dist/{index-BAhJFVq5.js → index-C07slqLJ.js} +2 -2
  23. package/dist/{index-1K0-Lril.js → index-C1aAW06_.js} +3 -3
  24. package/dist/{index-DvGuZe_T.js → index-C7HjGMoA.js} +3 -3
  25. package/dist/{index-BMP_6QMQ.js → index-CQ7UrLDv.js} +4 -4
  26. package/dist/{index-C8yBntW8.cjs → index-CRe-_A5B.cjs} +1 -1
  27. package/dist/{index-BEvmMS0i.js → index-CZLI4UKD.js} +1 -1
  28. package/dist/{index-Vsjvei0H.js → index-CZsCZbCY.js} +2 -2
  29. package/dist/{index-BXnPM7aS.cjs → index-C_DIwBxS.cjs} +1 -1
  30. package/dist/{index-Dp6H2nKE.js → index-CewrcECw.js} +1 -1
  31. package/dist/{index-B_PGXhqu.js → index-CfHIgB5C.js} +1 -1
  32. package/dist/{index-D9EZRG95.js → index-CiNYm1fC.js} +1 -1
  33. package/dist/{index-aQEd-0P6.cjs → index-CpYf3edW.cjs} +1 -1
  34. package/dist/{index-BuBu-8ML.cjs → index-CtOo2IDL.cjs} +1 -1
  35. package/dist/{index-DG16Kf33.cjs → index-CuchbMC7.cjs} +1 -1
  36. package/dist/{index-B2gEqMwz.cjs → index-CylLhQJV.cjs} +1 -1
  37. package/dist/{index-Ebo1c622.js → index-DJ14vVkb.js} +1 -1
  38. package/dist/{index-8zvR_tOe.js → index-DQTbLJJt.js} +1 -1
  39. package/dist/{index-CUEf5Kz5.cjs → index-DSmsp4fK.cjs} +1 -1
  40. package/dist/{index-7slO1Rxz.cjs → index-DVMvlM3X.cjs} +1 -1
  41. package/dist/{index-aSIQAW_v.cjs → index-DW_lU8F7.cjs} +1 -1
  42. package/dist/{index-dDyNP3sZ.js → index-DwsI_FxR.js} +6 -6
  43. package/dist/{index-5IXozXfb.cjs → index-NMPHjxEr.cjs} +1 -1
  44. package/dist/{index-q5RVI5cd.js → index-Q33CutvH.js} +3 -3
  45. package/dist/{index-4C4_axeD.js → index-YxS-TBi2.js} +1 -1
  46. package/dist/{index-7Birt--o.cjs → index-Z2dyIgOs.cjs} +1 -1
  47. package/dist/{index-C-L7sbsd.js → index-a_TWt7Sj.js} +6 -6
  48. package/dist/{index-ihwK0f5N.cjs → index-bz_QKqhV.cjs} +1 -1
  49. package/dist/{index-B8bmwRCI.js → index-fbsH9PEh.js} +1 -1
  50. package/dist/{index-CP7aP3gS.cjs → index-m_VPPkQD.cjs} +1 -1
  51. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DecIEtG7.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CjVqxeCk.cjs} +1 -1
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CFsZEbkA.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-qrHH3IDA.js} +6 -6
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js} +1642 -1647
  54. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cwx8FIbY.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs} +58 -58
  55. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BX54cUHO.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-9r-1e4S8.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B10uDdFf.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-IuoTm-WE.js} +3 -3
  57. package/dist/{index.vue_vue_type_style_index_1_lang-B-okL2FZ.js → index.vue_vue_type_style_index_1_lang-CDl_PU-6.js} +3 -3
  58. package/dist/{index.vue_vue_type_style_index_1_lang-CTa9TwBd.cjs → index.vue_vue_type_style_index_1_lang-DR71_XjN.cjs} +1 -1
  59. package/dist/{main-Cwa67iI0.cjs → main-BxTLrfxf.cjs} +1 -1
  60. package/dist/{main-t0azuc9l.js → main-D_3GSDl9.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-Byx2BFHA.js → threeModel-BKLggDE-.js} +4 -4
  67. package/dist/{threeModel-BsTUf7j3.cjs → threeModel-D4-2rEpM.cjs} +1 -1
  68. package/dist/{threePreview-DGcEWlwZ.cjs → threePreview-QIurmOdU.cjs} +1 -1
  69. package/dist/{threePreview-B9a62AVY.js → threePreview-oszvdj-G.js} +578 -579
  70. package/dist/threeSceneView-BR1l9yTW.js +1341 -0
  71. package/dist/threeSceneView-CaHI2V82.cjs +5 -0
  72. package/dist/threeSceneViewForCPMPIP-DbvRq5YC.cjs +5 -0
  73. package/dist/{threeSceneViewForCPMPIP-BslGbi80.js → threeSceneViewForCPMPIP-wZTvUhLm.js} +232 -238
  74. package/dist/{threeTrackPathView-CNiRDEIa.js → threeTrackPathView-CAK5om32.js} +258 -305
  75. package/dist/{threeTrackPathView-C5outYjx.cjs → threeTrackPathView-CF9ierHN.cjs} +2 -2
  76. package/dist/{threeViewerHost-C2iVAVlI.js → threeViewerHost-CeTJmyoE.js} +2 -2
  77. package/dist/{threeViewerHost-D3ZmD_As.cjs → threeViewerHost-iajMfGA9.cjs} +2 -2
  78. package/dist/{urdfTree-DEo6cc0y.cjs → urdfTree-CWwnorES.cjs} +1 -1
  79. package/dist/{urdfTree-D_oX4idQ.js → urdfTree-DIyCunQo.js} +1 -1
  80. package/dist/{workpieceTreePanel--92uvFwB.js → workpieceTreePanel-DC0GHh3g.js} +5 -5
  81. package/dist/{workpieceTreePanel-C0Lq3HIU.cjs → workpieceTreePanel-YfDCHyA3.cjs} +1 -1
  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/threeSceneView-BYc0Z0CJ.cjs +0 -5
  86. package/dist/threeSceneView-C59wI_1_.js +0 -1369
  87. package/dist/threeSceneViewForCPMPIP-kGIus7ge.cjs +0 -5
  88. package/public/obj/model.mtl +0 -42
  89. package/public/obj/model.obj +0 -26110
@@ -1,20 +1,20 @@
1
- import { defineComponent as _e, ref as u, computed as w, watch as W, onUnmounted as Ye, resolveComponent as Y, createElementBlock as A, openBlock as U, createElementVNode as l, createCommentVNode as M, createVNode as i, toDisplayString as $, Fragment as Ze, renderList as qe, withCtx as ne, inject as ke, shallowRef as ue, onMounted as Qe, nextTick as et, onBeforeUnmount as tt, withDirectives as T, vShow as H, renderSlot as K, unref as v, createBlock as Pe, isRef as re, vModelRadio as de } from "vue";
2
- import { aw as lt } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
3
- import { U as at, s as we, u as nt, a as ot, W as st } from "./workpieceTreePanel--92uvFwB.js";
4
- import { u as it, a as ut, b as rt } from "./iconfont-CjxxsF1M.js";
5
- import { c as dt, E as P } from "./index-BUYYl2Pc.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js";
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-kYz8t0xw.js";
3
+ import { U as lt, s as we, u as at, a as nt, W as ot } from "./workpieceTreePanel-DC0GHh3g.js";
4
+ import { u as st, a as it, b as ut } from "./iconfont-DN8mra_i.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-DEgtwZwW.js";
7
7
  import { _ as me } from "./index-DkEISMpK.js";
8
- import { g as vt, b as ct, U as pt, J as mt, d as ft } from "./urdfTree-D_oX4idQ.js";
8
+ import { g as dt, b as vt, U as ct, J as pt, d as mt } from "./urdfTree-DIyCunQo.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 bt } from "./animationData-CgRkXv4t.js";
12
- import { O as gt } from "./MTLLoader-BFJXexXd.js";
13
- import { L as ht, j as yt } from "./index-C-L7sbsd.js";
14
- const kt = { class: "panel-content" }, Pt = { class: "action-bar" }, wt = {
11
+ import { i as ft } from "./animationData-DZ0i7k1j.js";
12
+ import { O as gt } from "./MTLLoader-B5xRp-vz.js";
13
+ import { L as bt, j as ht } from "./index-a_TWt7Sj.js";
14
+ const yt = { class: "panel-content" }, kt = { class: "action-bar" }, Pt = {
15
15
  key: 0,
16
16
  class: "animation-controls"
17
- }, Ct = { class: "control-row" }, _t = { class: "control-row" }, xt = { class: "frame-info" }, Nt = { class: "control-row" }, $t = {
17
+ }, wt = { class: "control-row" }, Ct = { class: "control-row" }, _t = { class: "frame-info" }, xt = { class: "control-row" }, Nt = {
18
18
  key: 1,
19
19
  class: "empty-state"
20
20
  }, Ut = { class: "dialog-footer" }, zt = /* @__PURE__ */ _e({
@@ -24,15 +24,15 @@ const kt = { class: "panel-content" }, Pt = { class: "action-bar" }, wt = {
24
24
  scene: {},
25
25
  xyzbcList: {}
26
26
  },
27
- setup(O, { expose: Z }) {
28
- const V = O, n = u([]), L = u(!1), j = u(""), r = u("stopped"), m = u(0), F = u(0), G = u(10), h = u(null);
29
- let b = 0;
30
- const q = u([]), Q = w(() => V.model ? vt(V.model).map((d) => d.name) : []), B = w(() => [...Q.value]), oe = w(() => B.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
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);
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 分隔):
31
31
  ${B.value.join(" ")}
32
32
  0 0 0 ...
33
33
  1 2 3 ...` : "请先加载模型。"), E = w(() => n.value[m.value] || {});
34
- W(() => V.model, (s) => {
35
- s ? (h.value = new at(s), q.value = ct(s), m.value = 0) : (h.value = null, q.value = []);
34
+ K(() => T.model, (s) => {
35
+ s ? (h.value = new lt(s), Z.value = vt(s), m.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) {
@@ -42,7 +42,7 @@ ${B.value.join(" ")}
42
42
  const a = n.value[s];
43
43
  if (h.value) {
44
44
  const d = {};
45
- Q.value.forEach((C) => {
45
+ q.value.forEach((C) => {
46
46
  const f = parseFloat(a[C]);
47
47
  isNaN(f) || (d[C] = f);
48
48
  }), h.value.setJointAngles(d);
@@ -51,101 +51,101 @@ ${B.value.join(" ")}
51
51
  }, ve = async (s) => {
52
52
  try {
53
53
  for (let a = m.value; a < n.value.length; a++) {
54
- if (s !== b) return;
54
+ if (s !== g) return;
55
55
  const d = n.value[a], C = {};
56
56
  if (h.value)
57
- Q.value.forEach((f) => {
58
- const g = parseFloat(d[f]);
59
- isNaN(g) || (C[f] = g);
57
+ q.value.forEach((f) => {
58
+ const b = parseFloat(d[f]);
59
+ isNaN(b) || (C[f] = b);
60
60
  }), await h.value.animateToState(
61
61
  C,
62
- G.value,
62
+ X.value,
63
63
  (f) => {
64
- s === b && (F.value = (a + f) / n.value.length * 100);
64
+ s === g && (F.value = (a + f) / n.value.length * 100);
65
65
  }
66
66
  );
67
67
  else {
68
- if (await new Promise((f) => setTimeout(f, G.value)), s !== b) return;
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
71
  m.value = a;
72
72
  }
73
- s === b && (P.success("动画播放完成"), r.value = "stopped", F.value = 100);
73
+ s === g && (P.success("动画播放完成"), r.value = "stopped", F.value = 100);
74
74
  } catch (a) {
75
75
  console.error("动画播放出错:", a), P.error("动画播放出错"), r.value = "stopped";
76
76
  }
77
- }, X = () => {
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", b++, ve(b), P.info("动画播放中");
82
+ r.value === "stopped" && (m.value = 0, J(0)), r.value = "playing", g++, ve(g), P.info("动画播放中");
83
+ }, Q = () => {
84
+ r.value === "playing" && (g++, r.value = "paused", P.info("动画已暂停"));
83
85
  }, ee = () => {
84
- r.value === "playing" && (b++, r.value = "paused", P.info("动画已暂停"));
85
- }, te = () => {
86
- b++, r.value = "stopped", m.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
86
+ g++, r.value = "stopped", m.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
87
87
  }, D = () => {
88
- r.value === "playing" ? ee() : X();
88
+ r.value === "playing" ? Q() : G();
89
89
  }, x = (s) => {
90
- b++, r.value = "paused", J(s);
90
+ g++, r.value = "paused", J(s);
91
91
  }, I = () => {
92
92
  if (!j.value.trim()) {
93
93
  P.warning("导入内容不能为空");
94
94
  return;
95
95
  }
96
96
  const s = j.value.trim().split(`
97
- `).filter((g) => g.trim() !== "");
97
+ `).filter((b) => b.trim() !== "");
98
98
  if (s.length < 2) {
99
99
  P.error("导入数据至少需要包含表头行和一行数据");
100
100
  return;
101
101
  }
102
- const a = s[0].split(" ").map((g) => g.trim()), d = {};
103
- if (a.forEach((g, c) => {
104
- B.value.includes(g) && (d[c] = g);
102
+ const a = s[0].split(" ").map((b) => b.trim()), d = {};
103
+ if (a.forEach((b, c) => {
104
+ B.value.includes(b) && (d[c] = b);
105
105
  }), Object.keys(d).length === 0) {
106
106
  P.error("没有找到匹配的表头,请检查表头名称是否正确");
107
107
  return;
108
108
  }
109
- const f = s.slice(1).map((g) => {
110
- const c = g.split(" "), N = {};
109
+ const f = s.slice(1).map((b) => {
110
+ const c = b.split(" "), N = {};
111
111
  return B.value.forEach((S) => {
112
112
  N[S] = "0";
113
113
  }), Object.entries(d).forEach(([S, ce]) => {
114
- const le = c[parseInt(S)];
115
- le !== void 0 && le.trim() !== "" && (N[ce] = le.trim());
114
+ const te = c[parseInt(S)];
115
+ te !== void 0 && te.trim() !== "" && (N[ce] = te.trim());
116
116
  }), N;
117
117
  });
118
- f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), L.value = !1, j.value = "", te()) : P.error("未能解析到有效数据,请检查格式。");
118
+ f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), L.value = !1, j.value = "", ee()) : P.error("未能解析到有效数据,请检查格式。");
119
119
  };
120
- W(() => V.xyzbcList, () => {
121
- V.xyzbcList && (n.value = dt(V.xyzbcList));
120
+ K(() => T.xyzbcList, () => {
121
+ T.xyzbcList && (n.value = rt(T.xyzbcList));
122
122
  }, {
123
123
  immediate: !0
124
124
  });
125
- const z = (s) => `第 ${s + 1} 帧`;
126
- return Z({
125
+ const V = (s) => `第 ${s + 1} 帧`;
126
+ return Y({
127
127
  handlePlayPause: D,
128
- playAnimation: X,
129
- pauseAnimation: ee,
130
- stopAnimation: te
131
- }), Ye(() => {
132
- b++;
128
+ playAnimation: G,
129
+ pauseAnimation: Q,
130
+ stopAnimation: ee
131
+ }), We(() => {
132
+ g++;
133
133
  }), (s, a) => {
134
- const d = Y("el-input-number"), C = Y("el-slider"), f = Y("el-input"), g = Y("el-dialog");
135
- return U(), A("div", kt, [
136
- l("div", Pt, [
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
137
  i(me, {
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 ? (U(), A("div", wt, [
144
- l("div", Ct, [
145
- a[6] || (a[6] = l("label", null, "帧间隔 (ms):", -1)),
143
+ n.value.length > 0 ? (z(), A("div", Pt, [
144
+ t("div", wt, [
145
+ a[6] || (a[6] = t("label", null, "帧间隔 (ms):", -1)),
146
146
  i(d, {
147
- modelValue: G.value,
148
- "onUpdate:modelValue": a[1] || (a[1] = (c) => G.value = c),
147
+ modelValue: X.value,
148
+ "onUpdate:modelValue": a[1] || (a[1] = (c) => X.value = c),
149
149
  min: 10,
150
150
  max: 5e3,
151
151
  step: 100,
@@ -153,42 +153,42 @@ ${B.value.join(" ")}
153
153
  style: { width: "120px" }
154
154
  }, null, 8, ["modelValue"])
155
155
  ]),
156
- l("div", _t, [
157
- a[7] || (a[7] = l("label", null, "当前帧:", -1)),
158
- l("span", xt, $(m.value + 1) + " / " + $(n.value.length), 1)
156
+ t("div", Ct, [
157
+ a[7] || (a[7] = t("label", null, "当前帧:", -1)),
158
+ t("span", _t, U(m.value + 1) + " / " + U(n.value.length), 1)
159
159
  ]),
160
- l("div", Nt, [
161
- a[8] || (a[8] = l("label", null, "动画进度:", -1)),
160
+ t("div", xt, [
161
+ a[8] || (a[8] = t("label", null, "动画进度:", -1)),
162
162
  i(C, {
163
163
  modelValue: m.value,
164
164
  "onUpdate:modelValue": a[2] || (a[2] = (c) => m.value = c),
165
165
  min: 0,
166
166
  max: n.value.length > 0 ? n.value.length - 1 : 0,
167
167
  step: 1,
168
- "format-tooltip": z,
168
+ "format-tooltip": V,
169
169
  onInput: x,
170
170
  disabled: n.value.length === 0 || r.value === "playing",
171
171
  style: { "flex-grow": "1", margin: "0 10px" }
172
172
  }, null, 8, ["modelValue", "max", "disabled"])
173
173
  ]),
174
- l("div", null, [
175
- a[9] || (a[9] = l("label", null, "当前帧数据:", -1)),
176
- l("div", null, [
177
- E.value ? (U(!0), A(Ze, { key: 0 }, qe(E.value, (c, N) => (U(), A("div", { key: N }, $(N) + ": " + $(c), 1))), 128)) : M("", !0)
174
+ t("div", null, [
175
+ a[9] || (a[9] = t("label", null, "当前帧数据:", -1)),
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)
178
178
  ])
179
179
  ])
180
180
  ])) : M("", !0),
181
- n.value.length === 0 ? (U(), A("div", $t, a[10] || (a[10] = [
182
- l("p", null, "请先导入数据", -1)
181
+ n.value.length === 0 ? (z(), A("div", Nt, a[10] || (a[10] = [
182
+ t("p", null, "请先导入数据", -1)
183
183
  ]))) : M("", !0),
184
- i(g, {
184
+ i(b, {
185
185
  modelValue: L.value,
186
186
  "onUpdate:modelValue": a[5] || (a[5] = (c) => L.value = c),
187
187
  title: "导入数据",
188
188
  width: "500px"
189
189
  }, {
190
- footer: ne(() => [
191
- l("span", Ut, [
190
+ footer: ae(() => [
191
+ t("span", Ut, [
192
192
  i(me, {
193
193
  modelValue: "取消",
194
194
  onClick: a[4] || (a[4] = (c) => L.value = !1)
@@ -200,14 +200,14 @@ ${B.value.join(" ")}
200
200
  })
201
201
  ])
202
202
  ]),
203
- default: ne(() => [
204
- a[11] || (a[11] = l("p", { class: "import-instructions" }, " 请从Excel或CSV中复制数据 (首行为表头, Tab分隔) ", -1)),
203
+ default: ae(() => [
204
+ a[11] || (a[11] = t("p", { class: "import-instructions" }, " 请从Excel或CSV中复制数据 (首行为表头, Tab分隔) ", -1)),
205
205
  i(f, {
206
206
  modelValue: j.value,
207
207
  "onUpdate:modelValue": a[3] || (a[3] = (c) => j.value = c),
208
208
  type: "textarea",
209
209
  rows: 10,
210
- placeholder: oe.value
210
+ placeholder: ne.value
211
211
  }, null, 8, ["modelValue", "placeholder"])
212
212
  ]),
213
213
  _: 1,
@@ -216,24 +216,24 @@ ${B.value.join(" ")}
216
216
  ]);
217
217
  };
218
218
  }
219
- }), Ce = /* @__PURE__ */ xe(zt, [["__scopeId", "data-v-06bc34b3"]]), Tt = async (O) => await new gt().loadAsync(O), Vt = async (O) => await Tt(O), Lt = { class: "obj-viewer-container" }, jt = { class: "buttonGroup-top" }, 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 = {
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 = {
220
220
  key: 1,
221
221
  class: "clipping-content"
222
- }, Gt = { class: "radio-group" }, Xt = { 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 = {
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 = {
223
223
  key: 0,
224
224
  class: "loading-overlay"
225
- }, el = {
225
+ }, qt = {
226
226
  key: 1,
227
227
  class: "brand"
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({
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({
229
229
  __name: "threeSceneViewForCPMPIP",
230
230
  props: {
231
231
  fileBlobs: { default: () => [] },
232
232
  threeData: {}
233
233
  },
234
234
  emits: ["getAnimationData", "getThreeData"],
235
- setup(O, { emit: Z }) {
236
- const V = Z, n = O, L = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), r = w(() => {
235
+ setup(O, { emit: Y }) {
236
+ const T = Y, n = O, L = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), r = w(() => {
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
239
  }), m = w(() => {
@@ -242,27 +242,27 @@ ${B.value.join(" ")}
242
242
  }), F = w(() => {
243
243
  var e;
244
244
  return (e = r == null ? void 0 : r.value) == null ? void 0 : e.编号;
245
- }), G = w(() => {
245
+ }), X = w(() => {
246
246
  var e;
247
247
  return (e = r == null ? void 0 : r.value) == null ? void 0 : e.厂家;
248
248
  }), h = w(() => {
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
- }), b = w(() => {
251
+ }), g = w(() => {
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
- }), q = u([]), Q = async (t) => {
255
- !t || !t.isExtra || (await B(t), L == null || L(t == null ? void 0 : t.pageName), j == null || j(!0));
256
- }, B = ht(async (t) => {
257
- await yt();
258
- const { mainKey: e, baseMenuPath: o } = t || {};
259
- lt(o, e);
254
+ }), Z = u([]), q = async (l) => {
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();
258
+ const { mainKey: e, baseMenuPath: o } = l || {};
259
+ tt(o, e);
260
260
  }, 500);
261
- W(
262
- () => [m.value, h.value, b.value],
261
+ K(
262
+ () => [m.value, h.value, g.value],
263
263
  () => {
264
264
  var y, p, he, ye;
265
- const t = [], e = {
265
+ const l = [], e = {
266
266
  pageName: "机床",
267
267
  name: "机床",
268
268
  label: "机床",
@@ -301,7 +301,7 @@ ${B.value.join(" ")}
301
301
  label: (he = h.value) == null ? void 0 : he.name,
302
302
  baseMenuPath: `工件库/${(ye = h.value) == null ? void 0 : ye.type}`
303
303
  });
304
- const ie = {
304
+ const se = {
305
305
  pageName: "刀具",
306
306
  name: "刀具",
307
307
  label: "刀具",
@@ -312,26 +312,26 @@ ${B.value.join(" ")}
312
312
  show: !0,
313
313
  isPenultimate: !1
314
314
  };
315
- b.value && ie.children.push({
315
+ g.value && se.children.push({
316
316
  isExtra: !0,
317
317
  pageName: "刀具",
318
- mainKey: b.value,
319
- label: b.value,
318
+ mainKey: g.value,
319
+ label: g.value,
320
320
  baseMenuPath: "设备库/刀具"
321
- }), t.push(e, o, ie), q.value = t;
321
+ }), l.push(e, o, se), Z.value = l;
322
322
  },
323
323
  {
324
324
  immediate: !0
325
325
  }
326
326
  );
327
- const oe = u([]), E = w(() => {
327
+ const ne = u([]), E = w(() => {
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
- W(() => E.value, async () => {
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 t = await bt(E.value);
334
- oe.value = t;
333
+ const l = await ft(E.value);
334
+ ne.value = l;
335
335
  }
336
336
  }, {
337
337
  immediate: !0
@@ -339,53 +339,51 @@ ${B.value.join(" ")}
339
339
  const J = w(() => {
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), X = u(null), ee = u(!1), te = u(""), D = u(!1), x = u(""), I = u(!1), z = u(""), s = u(!1), a = u(""), d = ue(null), C = u("叶片模型"), f = ue(null), g = ue(null), c = ue(null), N = u(Ce), {
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), {
343
343
  currentModels: S,
344
344
  resetView: ce,
345
- initThreeJS: le,
345
+ initThreeJS: te,
346
346
  handleResize: fe,
347
- getThreeJSObjects: ae,
347
+ getThreeJSObjects: le,
348
348
  cleanup: Ne,
349
- setModels: be,
350
- axesHelperVisible: $e,
351
- toggleAxesVisibility: Ue
352
- } = it(X), { loadSceneFromFile: ze } = ot(
353
- ae,
349
+ setModels: ge,
350
+ axesHelperVisible: Ue,
351
+ toggleAxesVisibility: ze
352
+ } = st(G), { loadSceneFromFile: Ve } = nt(
353
+ le,
354
354
  S,
355
- ee,
356
- te
357
- ), { isAnimating: ge, toggleAnimation: Te, stopAnimation: Ve } = ut(ae, S), { isClipping: Le, activeClippingAxis: _, toggleClipping: je, updateClippingPlanes: R } = rt(ae, S), { initRaycaster: Ae, selectedObject3D: De, setSelectedObjVisible: Se, updatePosition: Re, updateRotation: Me, dispose: Oe } = nt(X, ae, S), Fe = () => {
358
- Ue();
359
- }, Be = w(() => ve.value === we.ROBOT), Ee = (t) => {
360
- a.value = t, s.value = !0;
361
- }, se = (t) => {
362
- D.value = !0, x.value = t, t === "剖面视图" && !Le.value && je();
363
- }, pe = (t) => {
364
- I.value = !0, z.value = t, t === "动画仿真" && V("getAnimationData");
355
+ Q,
356
+ 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) => {
362
+ I.value = !0, V.value = l, l === "动画仿真" && T("getAnimationData");
363
+ }, Ee = () => {
364
+ var l;
365
+ (l = N.value) == null || l.handlePlayPause();
365
366
  }, Je = () => {
366
- var t;
367
- (t = N.value) == null || t.handlePlayPause();
367
+ var l;
368
+ (l = N.value) == null || l.pauseAnimation();
368
369
  }, Ie = () => {
369
- var t;
370
- (t = N.value) == null || t.pauseAnimation();
371
- }, Ge = () => {
372
- var t;
373
- (t = N.value) == null || t.stopAnimation();
374
- }, Xe = (t, e) => ft(t, e), He = async (t) => {
375
- const e = Xe(t, C.value);
376
- if (g.value = e, console.log("bladeObjUrl", J.value), e && e.parent && J.value) {
377
- const o = await Vt(J.value);
370
+ 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);
374
+ if (b.value = e, console.log("bladeObjUrl", J.value), e && e.parent && J.value) {
375
+ const o = await $t(J.value);
378
376
  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;
379
377
  } else
380
378
  C.value && console.warn(`在 Blade '${C.value}' 中未找到可替换的网格或其没有父级。`);
381
379
  };
382
- W(() => n.fileBlobs, (t) => {
383
- if (t && t.length > 0) {
384
- const e = t[0];
380
+ K(() => n.fileBlobs, (l) => {
381
+ if (l && l.length > 0) {
382
+ const e = l[0];
385
383
  if (!e.name.toLowerCase().endsWith(".urdf"))
386
384
  return;
387
- ze(e).then((o) => {
388
- d.value = o, o && He(o);
385
+ Ve(e).then((o) => {
386
+ d.value = o, o && Ge(o);
389
387
  }).catch((o) => {
390
388
  console.error("加载URDF文件时发生错误:", o), P.error("加载urdf模型失败"), d.value = null;
391
389
  });
@@ -394,40 +392,36 @@ ${B.value.join(" ")}
394
392
  }, {
395
393
  immediate: !0,
396
394
  deep: !0
397
- }), W(d, (t) => {
398
- be(t ? [t] : []), Ae();
395
+ }), K(d, (l) => {
396
+ ge(l ? [l] : []), Ae();
399
397
  });
400
- const Ke = () => {
401
- le(), window.addEventListener("resize", fe);
402
- const t = ae();
403
- c.value = t.scene;
404
- }, We = () => {
405
- x.value = "", z.value = "", window.removeEventListener("resize", fe), ge.value && Ve(), Ne(), Oe();
398
+ const He = () => {
399
+ te(), window.addEventListener("resize", fe);
400
+ const l = le();
401
+ c.value = l.scene;
402
+ }, Ke = () => {
403
+ x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value && Te(), Ne(), Oe();
406
404
  };
407
- return Qe(async () => {
408
- await et();
405
+ return qe(async () => {
406
+ await Qe();
409
407
  try {
410
- Ke();
411
- } catch (t) {
412
- console.error("Three.js 初始化失败:", t), P.error("渲染引擎初始化失败!");
408
+ He();
409
+ } catch (l) {
410
+ console.error("Three.js 初始化失败:", l), P.error("渲染引擎初始化失败!");
413
411
  }
414
- }), tt(() => {
415
- We();
416
- }), (t, e) => {
417
- const o = Y("el-scrollbar"), ie = Y("PipeAnalysisPanel");
418
- return U(), A("div", Lt, [
419
- T(l("div", {
412
+ }), et(() => {
413
+ Ke();
414
+ }), (l, e) => {
415
+ const o = W("el-scrollbar"), se = W("PipeAnalysisPanel");
416
+ return z(), A("div", Tt, [
417
+ $(t("div", {
420
418
  ref_key: "threejsContainer",
421
- ref: X,
419
+ ref: G,
422
420
  class: "threejs-container"
423
421
  }, null, 512), [
424
422
  [H, Be.value]
425
423
  ]),
426
- l("div", jt, [
427
- K(t.$slots, "button-top", { switchTopPanel: Ee }, void 0, !0),
428
- K(t.$slots, "logout", {}, void 0, !0)
429
- ]),
430
- l("div", At, [
424
+ t("div", Lt, [
431
425
  i(k, {
432
426
  name: "viewReset",
433
427
  size: "24",
@@ -447,47 +441,47 @@ ${B.value.join(" ")}
447
441
  i(k, {
448
442
  name: "lookAround",
449
443
  size: "24",
450
- onClick: v(Te),
451
- title: v(ge) ? "停止动画" : "动画视图"
444
+ onClick: v($e),
445
+ title: v(be) ? "停止动画" : "动画视图"
452
446
  }, null, 8, ["onClick", "title"]),
453
447
  i(k, {
454
448
  name: "zuobiaoxi",
455
449
  size: "24",
456
- active: v($e),
450
+ active: v(Ue),
457
451
  onClick: Fe,
458
452
  title: "显隐坐标轴"
459
453
  }, null, 8, ["active"])
460
454
  ]),
461
- l("div", Dt, [
462
- K(t.$slots, "button-left", { switchRightPanel: se }, void 0, !0),
455
+ t("div", jt, [
456
+ ue(l.$slots, "button-left", { switchRightPanel: oe }, void 0, !0),
463
457
  i(k, {
464
458
  name: "jiegoushu",
465
459
  size: "24",
466
- onClick: e[0] || (e[0] = (y) => se("场景树")),
460
+ onClick: e[0] || (e[0] = (y) => oe("场景树")),
467
461
  active: D.value && x.value === "场景树",
468
462
  title: "场景树"
469
463
  }, null, 8, ["active"]),
470
464
  i(k, {
471
465
  name: "clipping",
472
466
  size: "24",
473
- onClick: e[1] || (e[1] = (y) => se("剖面视图")),
467
+ onClick: e[1] || (e[1] = (y) => oe("剖面视图")),
474
468
  active: D.value && x.value === "剖面视图",
475
469
  title: "剖面视图"
476
470
  }, null, 8, ["active"]),
477
471
  i(k, {
478
472
  name: "donghuafangzhen",
479
473
  size: "24",
480
- onClick: e[2] || (e[2] = (y) => se("工件树")),
474
+ onClick: e[2] || (e[2] = (y) => oe("工件树")),
481
475
  active: D.value && x.value === "工件树"
482
476
  }, null, 8, ["active"])
483
477
  ]),
484
- l("div", St, [
485
- K(t.$slots, "button-right", { switchRightPanel: pe }, void 0, !0),
478
+ t("div", At, [
479
+ ue(l.$slots, "button-right", { switchRightPanel: pe }, void 0, !0),
486
480
  i(k, {
487
481
  name: "jichuangxuanze",
488
482
  size: "24",
489
483
  onClick: e[3] || (e[3] = (y) => pe("机床控制")),
490
- active: I.value && z.value === "机床控制",
484
+ active: I.value && V.value === "机床控制",
491
485
  title: "机床控制"
492
486
  }, null, 8, ["active"]),
493
487
  i(k, {
@@ -495,44 +489,44 @@ ${B.value.join(" ")}
495
489
  size: "24",
496
490
  title: "动画仿真",
497
491
  onClick: e[4] || (e[4] = (y) => pe("动画仿真")),
498
- active: I.value && z.value === "动画仿真"
492
+ active: I.value && V.value === "动画仿真"
499
493
  }, null, 8, ["active"])
500
494
  ]),
501
- l("div", Rt, [
495
+ t("div", Dt, [
502
496
  i(k, {
503
497
  name: "bofang",
504
498
  size: "24",
505
499
  backgroundColor: "#ffffff",
506
500
  title: "播放",
507
- onClick: Je
501
+ onClick: Ee
508
502
  }),
509
503
  i(k, {
510
504
  name: "zanting",
511
505
  size: "24",
512
506
  backgroundColor: "#ffffff",
513
507
  title: "暂停",
514
- onClick: Ie
508
+ onClick: Je
515
509
  }),
516
510
  i(k, {
517
511
  name: "zhongzhi",
518
512
  size: "24",
519
513
  backgroundColor: "#ffffff",
520
514
  title: "停止",
521
- onClick: Ge
515
+ onClick: Ie
522
516
  })
523
517
  ]),
524
- T(l("div", Mt, [
525
- l("div", Ot, [
526
- l("span", null, $(a.value), 1),
527
- l("span", {
518
+ $(t("div", St, [
519
+ t("div", Rt, [
520
+ t("span", null, U(a.value), 1),
521
+ t("span", {
528
522
  class: "close",
529
523
  onClick: e[5] || (e[5] = (y) => s.value = !1)
530
524
  }, " X ")
531
525
  ]),
532
- l("div", Ft, [
526
+ t("div", Mt, [
533
527
  i(o, { height: "100%" }, {
534
- default: ne(() => [
535
- K(t.$slots, "top-panel", { topPanelType: a.value }, void 0, !0)
528
+ default: ae(() => [
529
+ ue(l.$slots, "top-panel", { topPanelType: a.value }, void 0, !0)
536
530
  ]),
537
531
  _: 3
538
532
  })
@@ -540,29 +534,29 @@ ${B.value.join(" ")}
540
534
  ], 512), [
541
535
  [H, s.value]
542
536
  ]),
543
- T(l("div", Bt, [
544
- l("div", Et, [
545
- l("span", null, $(x.value), 1),
546
- l("span", {
537
+ $(t("div", Ot, [
538
+ t("div", Ft, [
539
+ t("span", null, U(x.value), 1),
540
+ t("span", {
547
541
  class: "close",
548
542
  onClick: e[6] || (e[6] = (y) => D.value = !1)
549
543
  }, " X ")
550
544
  ]),
551
- l("div", Jt, [
545
+ t("div", Bt, [
552
546
  i(o, { height: "100%" }, {
553
- default: ne(() => {
547
+ default: ae(() => {
554
548
  var y;
555
549
  return [
556
- x.value === "场景树" ? (U(), Pe(pt, {
550
+ x.value === "场景树" ? (z(), Pe(ct, {
557
551
  key: 0,
558
552
  model: d.value,
559
- extraNodes: q.value,
560
- onNodeClick: Q
553
+ extraNodes: Z.value,
554
+ onNodeClick: q
561
555
  }, null, 8, ["model", "extraNodes"])) : M("", !0),
562
- x.value === "剖面视图" ? (U(), A("div", It, [
563
- l("div", Gt, [
564
- l("label", Xt, [
565
- T(l("input", {
556
+ x.value === "剖面视图" ? (z(), A("div", Et, [
557
+ t("div", Jt, [
558
+ t("label", It, [
559
+ $(t("input", {
566
560
  type: "radio",
567
561
  name: "clipping-axis",
568
562
  value: "none",
@@ -572,10 +566,10 @@ ${B.value.join(" ")}
572
566
  }, null, 544), [
573
567
  [de, v(_)]
574
568
  ]),
575
- e[16] || (e[16] = l("span", { class: "radio-text" }, "无切割", -1))
569
+ e[16] || (e[16] = t("span", { class: "radio-text" }, "无切割", -1))
576
570
  ]),
577
- l("label", Ht, [
578
- T(l("input", {
571
+ t("label", Xt, [
572
+ $(t("input", {
579
573
  type: "radio",
580
574
  name: "clipping-axis",
581
575
  value: "x",
@@ -585,10 +579,10 @@ ${B.value.join(" ")}
585
579
  }, null, 544), [
586
580
  [de, v(_)]
587
581
  ]),
588
- e[17] || (e[17] = l("span", { class: "radio-text" }, "X轴切割", -1))
582
+ e[17] || (e[17] = t("span", { class: "radio-text" }, "X轴切割", -1))
589
583
  ]),
590
- l("label", Kt, [
591
- T(l("input", {
584
+ t("label", Gt, [
585
+ $(t("input", {
592
586
  type: "radio",
593
587
  name: "clipping-axis",
594
588
  value: "y",
@@ -598,10 +592,10 @@ ${B.value.join(" ")}
598
592
  }, null, 544), [
599
593
  [de, v(_)]
600
594
  ]),
601
- e[18] || (e[18] = l("span", { class: "radio-text" }, "Y轴切割", -1))
595
+ e[18] || (e[18] = t("span", { class: "radio-text" }, "Y轴切割", -1))
602
596
  ]),
603
- l("label", Wt, [
604
- T(l("input", {
597
+ t("label", Ht, [
598
+ $(t("input", {
605
599
  type: "radio",
606
600
  name: "clipping-axis",
607
601
  value: "z",
@@ -611,11 +605,11 @@ ${B.value.join(" ")}
611
605
  }, null, 544), [
612
606
  [de, v(_)]
613
607
  ]),
614
- e[19] || (e[19] = l("span", { class: "radio-text" }, "Z轴切割", -1))
608
+ e[19] || (e[19] = t("span", { class: "radio-text" }, "Z轴切割", -1))
615
609
  ])
616
610
  ])
617
611
  ])) : M("", !0),
618
- x.value === "工件树" ? (U(), Pe(st, {
612
+ x.value === "工件树" ? (z(), Pe(ot, {
619
613
  key: 2,
620
614
  model: (y = v(De)) == null ? void 0 : y.obj,
621
615
  onVisibleChange: v(Se),
@@ -630,30 +624,30 @@ ${B.value.join(" ")}
630
624
  ], 512), [
631
625
  [H, D.value]
632
626
  ]),
633
- T(l("div", Yt, [
634
- l("div", Zt, [
635
- l("span", null, $(z.value), 1),
636
- l("span", {
627
+ $(t("div", Kt, [
628
+ t("div", Wt, [
629
+ t("span", null, U(V.value), 1),
630
+ t("span", {
637
631
  class: "close",
638
632
  onClick: e[15] || (e[15] = (y) => I.value = !1)
639
633
  }, " X ")
640
634
  ]),
641
- l("div", qt, [
635
+ t("div", Yt, [
642
636
  i(o, { height: "100%" }, {
643
- default: ne(() => [
644
- T(i(mt, { model: d.value }, null, 8, ["model"]), [
645
- [H, z.value === "机床控制"]
637
+ default: ae(() => [
638
+ $(i(pt, { model: d.value }, null, 8, ["model"]), [
639
+ [H, V.value === "机床控制"]
646
640
  ]),
647
- T(i(Ce, {
641
+ $(i(Ce, {
648
642
  model: d.value,
649
643
  scene: c.value,
650
- xyzbcList: oe.value,
644
+ xyzbcList: ne.value,
651
645
  ref_key: "urdfAnimationPanelRef",
652
646
  ref: N
653
647
  }, null, 8, ["model", "scene", "xyzbcList"]), [
654
- [H, z.value === "动画仿真"]
648
+ [H, V.value === "动画仿真"]
655
649
  ]),
656
- K(t.$slots, "right-panel", { rightPanelType: z.value }, void 0, !0)
650
+ ue(l.$slots, "right-panel", { rightPanelType: V.value }, void 0, !0)
657
651
  ]),
658
652
  _: 3
659
653
  })
@@ -661,29 +655,29 @@ ${B.value.join(" ")}
661
655
  ], 512), [
662
656
  [H, I.value]
663
657
  ]),
664
- ee.value ? (U(), A("div", Qt, [
665
- e[20] || (e[20] = l("div", { class: "loading-spinner" }, null, -1)),
666
- l("p", null, $(te.value), 1)
658
+ Q.value ? (z(), A("div", Zt, [
659
+ e[20] || (e[20] = t("div", { class: "loading-spinner" }, null, -1)),
660
+ t("p", null, U(ee.value), 1)
667
661
  ])) : M("", !0),
668
- m.value ? (U(), A("div", el, [
669
- l("div", tl, [
670
- e[21] || (e[21] = l("div", { class: "item-label" }, "厂家:", -1)),
671
- l("div", ll, $(G.value), 1)
662
+ m.value ? (z(), A("div", qt, [
663
+ t("div", Qt, [
664
+ e[21] || (e[21] = t("div", { class: "item-label" }, "厂家:", -1)),
665
+ t("div", el, U(X.value), 1)
672
666
  ]),
673
- l("div", al, [
674
- e[22] || (e[22] = l("div", { class: "item-label" }, "型号:", -1)),
675
- l("div", nl, $(m.value), 1)
667
+ t("div", tl, [
668
+ e[22] || (e[22] = t("div", { class: "item-label" }, "型号:", -1)),
669
+ t("div", ll, U(m.value), 1)
676
670
  ]),
677
- l("div", ol, [
678
- e[23] || (e[23] = l("div", { class: "item-label" }, "编号:", -1)),
679
- l("div", sl, $(F.value), 1)
671
+ t("div", al, [
672
+ e[23] || (e[23] = t("div", { class: "item-label" }, "编号:", -1)),
673
+ t("div", nl, U(F.value), 1)
680
674
  ])
681
675
  ])) : M("", !0),
682
- i(ie, { ref: "pipeAnalysisPanelRef" }, null, 512)
676
+ i(se, { ref: "pipeAnalysisPanelRef" }, null, 512)
683
677
  ]);
684
678
  };
685
679
  }
686
- }), Pl = /* @__PURE__ */ xe(il, [["__scopeId", "data-v-e89ec1ab"]]);
680
+ }), yl = /* @__PURE__ */ xe(ol, [["__scopeId", "data-v-eef66dd4"]]);
687
681
  export {
688
- Pl as default
682
+ yl as default
689
683
  };