ss-component-new 1.3.682 → 1.3.683

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 (72) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/{MTLLoader-qT5QxtXm.js → MTLLoader-DPHzTMwa.js} +28 -28
  3. package/dist/{URDFLoader-D3eMTiZb.js → URDFLoader-M-UG5-pR.js} +606 -611
  4. package/dist/{animationData-DBAbHIow.js → animationData-DRuHGkTO.js} +3 -3
  5. package/dist/{array-jRfpOka6.js → array-DjjQ0-_X.js} +14 -13
  6. package/dist/{clone-epSiajPW.js → clone-nUXh221j.js} +1 -1
  7. package/dist/{eleIcon-BWVKfp5t.js → eleIcon-DlIcb4df.js} +2 -2
  8. package/dist/{iconfont-DsSG_70z.js → iconfont-BhJBoU2I.js} +91 -91
  9. package/dist/icons/svg/method.svg +1 -0
  10. package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
  11. package/dist/{index-3va3ENB8.js → index-8KwwXnRD.js} +3 -3
  12. package/dist/{index-Bmk-CXy5.js → index-B6x7nsvL.js} +5 -5
  13. package/dist/index-BBzJ8BLa.js +572 -0
  14. package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
  15. package/dist/{index-Bto8e0_l.js → index-BLFiId9N.js} +5 -5
  16. package/dist/{index-FNOjQQWl.js → index-BNDaeOZD.js} +43 -40
  17. package/dist/{index-CN6F4ryE.js → index-Ba8phnvt.js} +23 -23
  18. package/dist/{index-Bd9AU0ks.js → index-CBL2Pg06.js} +5 -5
  19. package/dist/index-CBPXalBI.js +15007 -0
  20. package/dist/{index-Bvvz41NY.js → index-CG1vGzHt.js} +1 -1
  21. package/dist/{index-C-Cstw1x.js → index-CIoBc8yl.js} +62 -60
  22. package/dist/{index-CfHObnEf.js → index-CJbdXJRV.js} +3 -3
  23. package/dist/{index-YVR3acYT.js → index-CJySKIdc.js} +1 -1
  24. package/dist/{index-CPRVBnQZ.js → index-CKB74hmA.js} +483 -482
  25. package/dist/{index-DVURXaLH.js → index-CM6CVZ_d.js} +13935 -20059
  26. package/dist/{index-CNydoPVR.js → index-CYspf59Y.js} +8 -8
  27. package/dist/{index-CUJOuk-t.js → index-CccqT4-H.js} +6 -6
  28. package/dist/{index-BLAPVSLU.js → index-ChfKhYMO.js} +22242 -22256
  29. package/dist/{index-CH8pGxiX.js → index-Cl2tex39.js} +172 -163
  30. package/dist/{index-C5r4GvjQ.js → index-CnmXW-Bj.js} +42 -38
  31. package/dist/{index-CWCQy24b.js → index-Cpv5443J.js} +4 -4
  32. package/dist/{index-DT2KzAmL.js → index-CsqopIxB.js} +1077 -1076
  33. package/dist/{index-CmRnsU1X.js → index-CzgY9rV-.js} +61 -57
  34. package/dist/{index-Lc7md2MS.js → index-DTjEPXdC.js} +76 -70
  35. package/dist/{index-BpGFvMaU.js → index-DewO44mx.js} +2 -2
  36. package/dist/{index-kmuFWiAq.js → index-DkFpug1v.js} +20 -18
  37. package/dist/{index-D_kI6aHR.js → index-DlFmNKos.js} +8 -7
  38. package/dist/{index-SjNcMhxZ.js → index-Dx-bFdbp.js} +8 -8
  39. package/dist/{index-D1o4d6gh.js → index-DyOGhRxL.js} +4 -4
  40. package/dist/{index-B4vESlof.js → index-QdkaQuAk.js} +2 -2
  41. package/dist/{index-XGieOXX9.js → index-R2i3Xnfq.js} +4 -4
  42. package/dist/{index-BLnbN_F-.js → index-gFBsqsq6.js} +3 -3
  43. package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
  44. package/dist/{index--PjD6UIW.js → index-zdWtzZvH.js} +7 -7
  45. package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
  46. package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js} +56038 -49940
  47. package/dist/isString-h0UV2hrP.js +8 -0
  48. package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
  49. package/dist/{main-Bgh_Vl8E.js → main-C7zjHnDD.js} +9 -9
  50. package/dist/{menuIndex-B7ZUahFp.js → menuIndex-BE8WKQ_M.js} +1 -1
  51. package/dist/obj/model.mtl +42 -0
  52. package/dist/obj/model.obj +26110 -0
  53. package/dist/{request-DiogHwkN.js → request-DolpfyNJ.js} +3076 -3494
  54. package/dist/ss-component.css +3 -3
  55. package/dist/ss-component.js +14 -14
  56. package/dist/ss-component2.js +13 -13
  57. package/dist/ss-component3.js +1 -1
  58. package/dist/{threeModel-DF67wAtc.js → threeModel-DiiHNAHL.js} +174 -174
  59. package/dist/{threePreview-CQQPm2oj.js → threePreview-Bu2Spume.js} +12 -12
  60. package/dist/{threeSceneView-MukJjphg.js → threeSceneView-DxeVIhrp.js} +50 -49
  61. package/dist/{threeSceneViewForCPMPIP-Cmw3lxMx.js → threeSceneViewForCPMPIP-DPYmtlbM.js} +17 -16
  62. package/dist/{threeTrackPathView-d9QnH6pv.js → threeTrackPathView-fb0Ye-HT.js} +114 -114
  63. package/dist/{threeViewerHost-CxKP0BGS.js → threeViewerHost-DHRT4ihY.js} +36 -36
  64. package/dist/{urdfTree-BMwSzHf8.js → urdfTree-CFaALNOQ.js} +9 -9
  65. package/dist/{workpieceTreePanel-DTFfwsXF.js → workpieceTreePanel-BxNqg9o9.js} +60 -56
  66. package/package.json +4 -2
  67. package/public/icons/svg/method.svg +1 -0
  68. package/public/obj/model.mtl +42 -0
  69. package/public/obj/model.obj +26110 -0
  70. package/dist/index-B-oUd2b-.js +0 -2623
  71. package/dist/index-BkChdIqr.js +0 -11779
  72. package/dist/isString-CoCw_sp3.js +0 -8
@@ -1,9 +1,9 @@
1
- import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, openBlock as $, createElementBlock as k0, createElementVNode as T, createVNode as B, unref as V, renderSlot as s0, withDirectives as Q0, toDisplayString as u0, withCtx as J0, createBlock as Y0, createCommentVNode as l0, vShow as K0 } from "vue";
2
- import { ak as X0, al as f0, am as w0, R as N0, an as Q, U as Y, ao as D, ap as v0, C as q, aq as M, c as x, ar as $0, j as ee, D as ae, n as K, V as C, as as be, at as T0, au as ie, av as R0, aw as He, ax as re, a1 as J, ay as fe, az as M0, aA as ce, aB as te, aC as de, aD as c0, aE as D0, aF as t0, aG as ne, aH as oe, _ as ke, aI as e0, a2 as se, t as O0, l as ue, aJ as z, aK as le, u as E0, aL as he, h as G0, aM as ge, w as _e, aN as Ae, $ as pe, s as a0, P as me, p as je, aO as Ie, aP as ye, aQ as Fe, aR as we, aS as Ne, aT as U0, aU as ve, aV as h0, aW as g0, aX as _0, aY as A0, aZ as d0, a4 as Te, a_ as Re, B as x0, a$ as Me, k as De } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
3
- import "./index-DT2KzAmL.js";
4
- import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-DsSG_70z.js";
5
- import { M as xe, O as qe, S as Be } from "./MTLLoader-qT5QxtXm.js";
6
- import { E as p0 } from "./request-DiogHwkN.js";
1
+ import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, createElementBlock as k0, openBlock as $, createElementVNode as T, withDirectives as Q0, createCommentVNode as s0, createVNode as B, unref as V, renderSlot as u0, toDisplayString as l0, withCtx as J0, createBlock as Y0, vShow as K0 } from "vue";
2
+ import { an as X0, ao as f0, ap as w0, Y as N0, aq as Q, Z as Y, ar as D, as as v0, C as q, at as M, e as x, au as $0, k as ee, D as ae, o as K, V as C, av as be, aw as T0, ax as ie, ay as R0, az as He, aA as re, a3 as J, aB as fe, aC as M0, aD as ce, aE as te, aF as de, aG as c0, aH as D0, aI as t0, aJ as ne, aK as oe, a0 as ke, aL as e0, a4 as se, v as O0, m as ue, aM as z, aN as le, w as E0, aO as he, i as G0, aP as ge, y as _e, aQ as Ae, a1 as pe, u as a0, P as me, p as je, aR as Ie, aS as ye, aT as Fe, aU as we, aV as Ne, aW as U0, aX as ve, aY as h0, aZ as g0, a_ as _0, a$ as A0, b0 as d0, a6 as Te, b1 as Re, b as x0, b2 as Me, l as De } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js";
3
+ import "./index-CsqopIxB.js";
4
+ import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-BhJBoU2I.js";
5
+ import { M as xe, O as qe, S as Be } from "./MTLLoader-DPHzTMwa.js";
6
+ import { E as p0 } from "./request-DolpfyNJ.js";
7
7
  import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  function m0(k, e) {
9
9
  if (e === X0)
@@ -2212,7 +2212,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
2212
2212
  }, null, 8, ["active"])
2213
2213
  ]),
2214
2214
  T("div", T2, [
2215
- s0(j.$slots, "button-left", { switchRightPanel: v }, void 0, !0),
2215
+ u0(j.$slots, "button-left", { switchRightPanel: v }, void 0, !0),
2216
2216
  B(W, {
2217
2217
  name: "clipping",
2218
2218
  size: "24",
@@ -2222,12 +2222,12 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
2222
2222
  }, null, 8, ["active"])
2223
2223
  ]),
2224
2224
  T("div", R2, [
2225
- s0(j.$slots, "button-right", {}, void 0, !0)
2225
+ u0(j.$slots, "button-right", {}, void 0, !0)
2226
2226
  ]),
2227
2227
  R[3] || (R[3] = T("div", { class: "buttonGroup-bottom" }, null, -1)),
2228
2228
  Q0(T("div", M2, [
2229
2229
  T("div", D2, [
2230
- T("span", null, u0(b.value), 1),
2230
+ T("span", null, l0(b.value), 1),
2231
2231
  T("span", {
2232
2232
  class: "close",
2233
2233
  onClick: R[1] || (R[1] = (P0) => r.value = !1)
@@ -2239,7 +2239,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
2239
2239
  key: 0,
2240
2240
  value: V(I),
2241
2241
  onChange: N
2242
- }, null, 8, ["value"])) : l0("", !0)
2242
+ }, null, 8, ["value"])) : s0("", !0)
2243
2243
  ]),
2244
2244
  _: 1
2245
2245
  })
@@ -2248,8 +2248,8 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
2248
2248
  ]),
2249
2249
  V(o) ? ($(), k0("div", O2, [
2250
2250
  R[2] || (R[2] = T("div", { class: "loading-spinner" }, null, -1)),
2251
- T("p", null, u0(V(s)), 1)
2252
- ])) : l0("", !0)
2251
+ T("p", null, l0(V(s)), 1)
2252
+ ])) : s0("", !0)
2253
2253
  ]);
2254
2254
  };
2255
2255
  }
@@ -1,22 +1,22 @@
1
- import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as ke, onUnmounted as Ie, resolveComponent as U, openBlock as Q, createElementBlock as Ve, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, unref as X, createCommentVNode as Pe, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as He, renderList as qe, nextTick as Ke, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
2
- import { r as Te, s as Ye } from "./threeViewerHost-CxKP0BGS.js";
3
- import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-DsSG_70z.js";
4
- import { U as lt, u as ot, W as nt, a as at } from "./workpieceTreePanel-DTFfwsXF.js";
5
- import { c as st } from "./index-DT2KzAmL.js";
6
- import { ax as it, E as j, aO as rt, aP as ct } from "./request-DiogHwkN.js";
1
+ import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as ke, onUnmounted as Ie, resolveComponent as U, createElementBlock as Ve, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, createCommentVNode as Pe, unref as X, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as qe, renderList as He, nextTick as Ke, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
2
+ import { r as Te, s as Ye } from "./threeViewerHost-DHRT4ihY.js";
3
+ import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-BhJBoU2I.js";
4
+ import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-BxNqg9o9.js";
5
+ import { c as st } from "./index-CsqopIxB.js";
6
+ import { ax as it, E as j, aO as rt, aP as ct } from "./request-DolpfyNJ.js";
7
7
  /* empty css */
8
- import { o as De, T as xe, V as D, n as H, s as ut, p as pt, h as Se, t as dt, L as mt, u as vt, v as ft, w as gt, x as ht, y as bt, z as yt, l as _t, F as wt } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
9
- import "./index-BLAPVSLU.js";
10
- import "./index-dD-mKgue.js";
11
- import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
12
- import { y as Be, z as Ct, A as Pt } from "./index-CPRVBnQZ.js";
13
- import "./index-B-oUd2b-.js";
14
- import "./index-CN6F4ryE.js";
15
- import { f as kt, a as xt, g as Rt, b as Mt } from "./animationData-DBAbHIow.js";
16
- import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-BMwSzHf8.js";
8
+ import { q as De, T as xe, V as D, o as q, p as ut, u as pt, i as Se, v as dt, L as mt, w as vt, x as ft, y as gt, z as ht, F as bt, I as yt, m as _t, J as wt } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js";
9
+ import "./index-ChfKhYMO.js";
10
+ import "./index-BHtNKL1L.js";
11
+ import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
12
+ import { y as Be, z as Ct, A as Pt } from "./index-CKB74hmA.js";
13
+ import "./index-BBzJ8BLa.js";
14
+ import "./index-Ba8phnvt.js";
15
+ import { f as kt, a as xt, g as Rt, b as Mt } from "./animationData-DRuHGkTO.js";
16
+ import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-CFaALNOQ.js";
17
17
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- import { s as Ft } from "./index-DJrzqi4-.js";
19
- const I = 1e-3, oe = pt.degToRad, je = new dt({
18
+ import { s as Ft } from "./index-11kpzK0A.js";
19
+ const I = 1e-3, oe = ut.degToRad, je = new dt({
20
20
  // 灰色
21
21
  color: 13421772,
22
22
  metalness: 0.3,
@@ -40,20 +40,20 @@ const Ne = (y) => y.reduce((v, d) => {
40
40
  };
41
41
  if (!d && !m) return v;
42
42
  if (v.push(s.pos.clone()), n !== 0) {
43
- const b = new H().makeRotationAxis(s.localY, oe(n));
43
+ const b = new q().makeRotationAxis(s.localY, oe(n));
44
44
  s.localX.applyMatrix4(b), s.localZ.applyMatrix4(b);
45
45
  }
46
46
  if (d > 0 && (s.pos.add(s.localY.clone().multiplyScalar(d * I)), v.push(s.pos.clone())), m > 0 && _ > 0) {
47
47
  const b = oe(m), f = _ * I, w = s.pos.clone().add(s.localX.clone().multiplyScalar(-f)), a = Math.max(16, Math.ceil(m / 5));
48
48
  for (let C = 1; C <= a; C++) {
49
- const p = b * C / a, P = new H().makeRotationAxis(s.localZ, p), c = s.localX.clone().multiplyScalar(f).applyMatrix4(P), T = w.clone().add(c);
49
+ const p = b * C / a, P = new q().makeRotationAxis(s.localZ, p), c = s.localX.clone().multiplyScalar(f).applyMatrix4(P), T = w.clone().add(c);
50
50
  v.push(T);
51
51
  }
52
52
  }
53
53
  return v;
54
54
  };
55
55
  function Yt(y, v) {
56
- const d = new ut();
56
+ const d = new pt();
57
57
  d.name = "CompletePipe";
58
58
  const n = {
59
59
  pos: new D(0, 0, 0),
@@ -65,7 +65,7 @@ function Yt(y, v) {
65
65
  for (let s = 0; s < y.length; s++) {
66
66
  const b = y[s], f = b.Y ?? 0, w = b.B ?? 0, a = b.C ?? 0, C = b.R ?? 0;
67
67
  if (w !== 0) {
68
- const p = new H().makeRotationAxis(n.localY, oe(w));
68
+ const p = new q().makeRotationAxis(n.localY, oe(w));
69
69
  n.localX.applyMatrix4(p), n.localZ.applyMatrix4(p);
70
70
  }
71
71
  if (f > 0) {
@@ -87,7 +87,7 @@ function Yt(y, v) {
87
87
  r.push(n.pos.clone());
88
88
  const c = n.pos.clone().add(n.localX.clone().multiplyScalar(-P)), T = Math.max(16, Math.ceil(a / 5));
89
89
  for (let g = 1; g <= T; g++) {
90
- const V = p * g / T, B = new H().makeRotationAxis(n.localZ, V), Z = n.localX.clone().multiplyScalar(P).applyMatrix4(B), ee = c.clone().add(Z);
90
+ const V = p * g / T, B = new q().makeRotationAxis(n.localZ, V), Z = n.localX.clone().multiplyScalar(P).applyMatrix4(B), ee = c.clone().add(Z);
91
91
  r.push(ee);
92
92
  }
93
93
  const A = Ut(r, v * I);
@@ -100,7 +100,7 @@ function Yt(y, v) {
100
100
  centerPoint: c.toArray(),
101
101
  frame: { Y: f, B: w, C: a, R: C }
102
102
  }, A.name = `弯段_${m}`, d.add(A), Math.floor(r.length / 2), r[0], n.pos = r[r.length - 1].clone();
103
- const $ = new H().makeRotationAxis(n.localZ, p);
103
+ const $ = new q().makeRotationAxis(n.localZ, p);
104
104
  n.localY.applyMatrix4($), n.localX.applyMatrix4($), m++, _++;
105
105
  }
106
106
  }
@@ -160,7 +160,7 @@ function Ee(y, v, d, n, m, _ = 0) {
160
160
  const c = s[r], T = We(c);
161
161
  if (T.length > 0) {
162
162
  const A = T.map((B) => {
163
- const L = B.clone(), Z = new H();
163
+ const L = B.clone(), Z = new q();
164
164
  return Z.makeBasis(p.localX, p.localY, p.localZ), L.applyMatrix4(Z), L.add(p.pos);
165
165
  });
166
166
  P.push(A);
@@ -168,11 +168,11 @@ function Ee(y, v, d, n, m, _ = 0) {
168
168
  p.pos = $.clone();
169
169
  const g = c.B ?? 0, V = c.C ?? 0;
170
170
  if (g !== 0) {
171
- const B = new H().makeRotationAxis(p.localY, oe(g));
171
+ const B = new q().makeRotationAxis(p.localY, oe(g));
172
172
  p.localX.applyMatrix4(B), p.localZ.applyMatrix4(B);
173
173
  }
174
174
  if (V > 0) {
175
- const B = oe(V), L = new H().makeRotationAxis(p.localZ, B);
175
+ const B = oe(V), L = new q().makeRotationAxis(p.localZ, B);
176
176
  p.localY.applyMatrix4(L), p.localX.applyMatrix4(L);
177
177
  }
178
178
  }
@@ -215,7 +215,7 @@ function Oe(y, v, d, n = 0) {
215
215
  const P = m[p], r = We(P);
216
216
  if (r.length > 0) {
217
217
  const c = r.map((g) => {
218
- const V = g.clone(), B = new H();
218
+ const V = g.clone(), B = new q();
219
219
  return B.makeBasis(a.localX, a.localY, a.localZ), V.applyMatrix4(B), V.add(a.pos);
220
220
  });
221
221
  C.push(c);
@@ -223,11 +223,11 @@ function Oe(y, v, d, n = 0) {
223
223
  a.pos = T.clone();
224
224
  const A = P.B ?? 0, $ = P.C ?? 0;
225
225
  if (A !== 0) {
226
- const g = new H().makeRotationAxis(a.localY, oe(A));
226
+ const g = new q().makeRotationAxis(a.localY, oe(A));
227
227
  a.localX.applyMatrix4(g), a.localZ.applyMatrix4(g);
228
228
  }
229
229
  if ($ > 0) {
230
- const g = oe($), V = new H().makeRotationAxis(a.localZ, g);
230
+ const g = oe($), V = new q().makeRotationAxis(a.localZ, g);
231
231
  a.localY.applyMatrix4(V), a.localX.applyMatrix4(V);
232
232
  }
233
233
  }
@@ -395,7 +395,7 @@ ${G.value.join(" ")}
395
395
  }
396
396
  }, te = () => {
397
397
  r.value && r.value.resetToZero(), O(), N(), j.success("机器人和管件已重置");
398
- }, q = (e) => `第 ${e + 1} 帧`, W = (e) => {
398
+ }, H = (e) => `第 ${e + 1} 帧`, W = (e) => {
399
399
  w.value && E(), k(e);
400
400
  }, ie = () => {
401
401
  w.value && E(), !(a.value + 1 >= s.value.length) && k(a.value + 1);
@@ -625,7 +625,7 @@ ${G.value.join(" ")}
625
625
  min: 0,
626
626
  max: s.value.length > 0 ? s.value.length - 1 : 0,
627
627
  step: 1,
628
- "format-tooltip": q,
628
+ "format-tooltip": H,
629
629
  onInput: W,
630
630
  disabled: s.value.length === 0,
631
631
  style: { "flex-grow": "1", margin: "0 10px" }
@@ -668,12 +668,13 @@ ${G.value.join(" ")}
668
668
  placeholder: _e.value
669
669
  }, null, 8, ["modelValue", "placeholder"])
670
670
  ]),
671
- _: 1
671
+ _: 1,
672
+ __: [11]
672
673
  }, 8, ["modelValue"])
673
674
  ]);
674
675
  };
675
676
  }
676
- }), Ht = /* @__PURE__ */ Ue(It, [["__scopeId", "data-v-49a19db9"]]), qt = async () => {
677
+ }), qt = /* @__PURE__ */ Ue(It, [["__scopeId", "data-v-49a19db9"]]), Ht = async () => {
677
678
  const v = await Rt(["工件库", "弯管"]), d = Be("工件列表", v), n = Ct(d);
678
679
  return n == null ? void 0 : n.map((_) => ({
679
680
  name: _,
@@ -724,20 +725,20 @@ ${G.value.join(" ")}
724
725
  }, B = () => {
725
726
  const { form: S, list: k } = g.value, {
726
727
  outerDiameter: J
727
- } = S, E = J / 2, N = k == null ? void 0 : k.map(((te) => {
728
- const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
728
+ } = S, E = J / 2, N = k == null ? void 0 : k.map((te) => {
729
+ const { y: H, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
729
730
  return ne ? {
730
731
  Y: ne,
731
732
  B: fe,
732
733
  C: re,
733
734
  R: we
734
735
  } : {
735
- Y: q,
736
+ Y: H,
736
737
  B: W,
737
738
  C: ie,
738
739
  R: F
739
740
  };
740
- }));
741
+ });
741
742
  p();
742
743
  const O = Yt(N, E);
743
744
  c(O);
@@ -749,7 +750,7 @@ ${G.value.join(" ")}
749
750
  }, _e = () => {
750
751
  ee.value = !0;
751
752
  }, ve = async () => {
752
- const S = await qt();
753
+ const S = await Ht();
753
754
  $(S);
754
755
  }, se = async (S) => {
755
756
  const k = await Kt(S);
@@ -774,7 +775,7 @@ ${G.value.join(" ")}
774
775
  }), Ze(() => {
775
776
  window.removeEventListener("resize", f), a();
776
777
  }), v({ openDialog: _e }), (S, k) => {
777
- const J = U("el-icon"), E = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), q = U("el-input"), W = U("el-table-column"), ie = U("el-table");
778
+ const J = U("el-icon"), E = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), H = U("el-input"), W = U("el-table-column"), ie = U("el-table");
778
779
  return Q(), ye(Ft, {
779
780
  class: "pipe-analysis-dialog",
780
781
  visible: ee.value,
@@ -827,7 +828,7 @@ ${G.value.join(" ")}
827
828
  onChange: se
828
829
  }, {
829
830
  default: M(() => [
830
- (Q(!0), Ve(He, null, qe(A.value, (F) => (Q(), ye(E, {
831
+ (Q(!0), Ve(qe, null, He(A.value, (F) => (Q(), ye(E, {
831
832
  label: F.name,
832
833
  value: F.mainKey
833
834
  }, null, 8, ["label", "value"]))), 256))
@@ -878,7 +879,7 @@ ${G.value.join(" ")}
878
879
  default: M(() => [
879
880
  l(O, { label: "管长" }, {
880
881
  default: M(() => [
881
- l(q, {
882
+ l(H, {
882
883
  modelValue: g.value.form.length,
883
884
  "onUpdate:modelValue": k[2] || (k[2] = (F) => g.value.form.length = F)
884
885
  }, null, 8, ["modelValue"])
@@ -887,7 +888,7 @@ ${G.value.join(" ")}
887
888
  }),
888
889
  l(O, { label: "外径" }, {
889
890
  default: M(() => [
890
- l(q, {
891
+ l(H, {
891
892
  modelValue: g.value.form.outerDiameter,
892
893
  "onUpdate:modelValue": k[3] || (k[3] = (F) => g.value.form.outerDiameter = F)
893
894
  }, null, 8, ["modelValue"])
@@ -896,7 +897,7 @@ ${G.value.join(" ")}
896
897
  }),
897
898
  l(O, { label: "内径" }, {
898
899
  default: M(() => [
899
- l(q, {
900
+ l(H, {
900
901
  modelValue: g.value.form.innerDiameter,
901
902
  "onUpdate:modelValue": k[4] || (k[4] = (F) => g.value.form.innerDiameter = F)
902
903
  }, null, 8, ["modelValue"])
@@ -905,7 +906,7 @@ ${G.value.join(" ")}
905
906
  }),
906
907
  l(O, { label: "壁厚" }, {
907
908
  default: M(() => [
908
- l(q, {
909
+ l(H, {
909
910
  modelValue: g.value.form.thickness,
910
911
  "onUpdate:modelValue": k[5] || (k[5] = (F) => g.value.form.thickness = F)
911
912
  }, null, 8, ["modelValue"])
@@ -986,12 +987,12 @@ ${G.value.join(" ")}
986
987
  toggleAxesVisibility: ee,
987
988
  zoomIn: G,
988
989
  zoomOut: _e
989
- } = Je(n), { loadSceneFromFile: ve } = at(
990
+ } = Je(n), { loadSceneFromFile: ve } = nt(
990
991
  V,
991
992
  T,
992
993
  _,
993
994
  s
994
- ), { isAnimating: se, toggleAnimation: S, startAnimation: k, stopAnimation: J } = Qe(V, T), { isClipping: E, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(V, T), { initRaycaster: q, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: F, updateRotation: ne, dispose: fe } = ot(n, V, T), re = () => {
995
+ ), { isAnimating: se, toggleAnimation: S, startAnimation: k, stopAnimation: J } = Qe(V, T), { isClipping: E, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(V, T), { initRaycaster: H, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: F, updateRotation: ne, dispose: fe } = ot(n, V, T), re = () => {
995
996
  ee();
996
997
  }, we = (t) => {
997
998
  N.value = t, te();
@@ -1028,7 +1029,7 @@ ${G.value.join(" ")}
1028
1029
  immediate: !0,
1029
1030
  deep: !0
1030
1031
  }), ae(P, (t) => {
1031
- L(t ? [t] : []), q();
1032
+ L(t ? [t] : []), H();
1032
1033
  });
1033
1034
  let o = null;
1034
1035
  return Ge(async () => {
@@ -1227,7 +1228,7 @@ ${G.value.join(" ")}
1227
1228
  value: X(N),
1228
1229
  onChange: we
1229
1230
  }, null, 8, ["value"])) : Pe("", !0),
1230
- f.value === "工件树" ? (Q(), ye(nt, {
1231
+ f.value === "工件树" ? (Q(), ye(at, {
1231
1232
  key: 2,
1232
1233
  model: (x = X(W)) == null ? void 0 : x.obj,
1233
1234
  onVisibleChange: X(ie),
@@ -1256,7 +1257,7 @@ ${G.value.join(" ")}
1256
1257
  pe(l($t, { model: P.value }, null, 8, ["model"]), [
1257
1258
  [de, a.value === "关节控制"]
1258
1259
  ]),
1259
- pe(l(Ht, {
1260
+ pe(l(qt, {
1260
1261
  ref_key: "animationPanelRef",
1261
1262
  ref: c,
1262
1263
  model: P.value,
@@ -1,15 +1,15 @@
1
- import { defineComponent as ge, ref as r, computed as k, watch as X, onUnmounted as De, resolveComponent as G, openBlock as g, createElementBlock as x, createElementVNode as n, createVNode as s, toDisplayString as L, Fragment as Be, renderList as Je, createCommentVNode as U, withCtx as le, shallowRef as te, onMounted as Me, nextTick as me, onBeforeUnmount as Ee, withDirectives as I, vShow as W, unref as z, renderSlot as ve, createBlock as de } from "vue";
2
- import { s as pe } from "./threeViewerHost-CxKP0BGS.js";
3
- import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-DsSG_70z.js";
4
- import { U as Xe, u as Ye, W as Ze, a as qe } from "./workpieceTreePanel-DTFfwsXF.js";
5
- import { c as Ke } from "./index-DT2KzAmL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
7
- import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
8
- import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-BMwSzHf8.js";
9
- import { E as _ } from "./request-DiogHwkN.js";
1
+ import { defineComponent as ge, ref as r, computed as k, watch as X, onUnmounted as De, resolveComponent as G, createElementBlock as x, openBlock as g, createElementVNode as n, createCommentVNode as U, createVNode as s, toDisplayString as L, Fragment as Be, renderList as Je, withCtx as le, shallowRef as te, onMounted as Me, nextTick as me, onBeforeUnmount as Ee, withDirectives as I, vShow as W, unref as z, renderSlot as ve, createBlock as de } from "vue";
2
+ import { s as pe } from "./threeViewerHost-DHRT4ihY.js";
3
+ import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-BhJBoU2I.js";
4
+ import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-BxNqg9o9.js";
5
+ import { c as Ke } from "./index-CsqopIxB.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js";
7
+ import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
8
+ import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-CFaALNOQ.js";
9
+ import { E as _ } from "./request-DolpfyNJ.js";
10
10
  import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { i as at } from "./animationData-DBAbHIow.js";
12
- import { O as ot } from "./MTLLoader-qT5QxtXm.js";
11
+ import { i as at } from "./animationData-DRuHGkTO.js";
12
+ import { O as ot } from "./MTLLoader-DPHzTMwa.js";
13
13
  const st = { class: "panel-content" }, it = {
14
14
  key: 0,
15
15
  class: "animation-controls"
@@ -171,9 +171,9 @@ ${R.value.join(" ")}
171
171
  ])
172
172
  ])
173
173
  ])) : U("", !0),
174
- i.value.length === 0 ? (g(), x("div", dt, [...l[9] || (l[9] = [
174
+ i.value.length === 0 ? (g(), x("div", dt, l[9] || (l[9] = [
175
175
  n("p", null, "请先创建数据", -1)
176
- ])])) : U("", !0),
176
+ ]))) : U("", !0),
177
177
  s(m, {
178
178
  modelValue: T.value,
179
179
  "onUpdate:modelValue": l[4] || (l[4] = (p) => T.value = p),
@@ -203,7 +203,8 @@ ${R.value.join(" ")}
203
203
  placeholder: ne.value
204
204
  }, null, 8, ["modelValue", "placeholder"])
205
205
  ]),
206
- _: 1
206
+ _: 1,
207
+ __: [10]
207
208
  }, 8, ["modelValue"])
208
209
  ]);
209
210
  };
@@ -257,7 +258,7 @@ ${R.value.join(" ")}
257
258
  toggleAxesVisibility: l,
258
259
  zoomIn: b,
259
260
  zoomOut: A
260
- } = Ge(c), { loadSceneFromFile: u } = qe(
261
+ } = Ge(c), { loadSceneFromFile: u } = Ze(
261
262
  D,
262
263
  N,
263
264
  h,
@@ -464,7 +465,7 @@ ${R.value.join(" ")}
464
465
  value: z(E),
465
466
  onChange: je
466
467
  }, null, 8, ["value"])) : U("", !0),
467
- v.value === "工件树" ? (g(), de(Ze, {
468
+ v.value === "工件树" ? (g(), de(qe, {
468
469
  key: 2,
469
470
  model: ($ = z(Ce)) == null ? void 0 : $.obj,
470
471
  onVisibleChange: z(Pe),