ss-component-new 1.3.682 → 1.3.684

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 (58) hide show
  1. package/dist/{MTLLoader-qT5QxtXm.js → MTLLoader-DzMo1SNe.js} +86 -86
  2. package/dist/{URDFLoader-D3eMTiZb.js → URDFLoader-BAROJ9ka.js} +112 -112
  3. package/dist/{animationData-DBAbHIow.js → animationData-CTWTDXsQ.js} +7 -7
  4. package/dist/{array-jRfpOka6.js → array-CRYq9Jxn.js} +4 -4
  5. package/dist/{clone-epSiajPW.js → clone-sAhQxdz5.js} +1 -1
  6. package/dist/{eleIcon-BWVKfp5t.js → eleIcon-6RTuwqdk.js} +1 -1
  7. package/dist/fileUtil-UOt_otFo.js +20 -0
  8. package/dist/{iconfont-DsSG_70z.js → iconfont-TorEaqH3.js} +49 -49
  9. package/dist/{index-Bvvz41NY.js → index--N4l6N1w.js} +1 -1
  10. package/dist/{index-Bmk-CXy5.js → index-2gwwCj6d.js} +2 -2
  11. package/dist/{index-BLAPVSLU.js → index-9UYMNDVY.js} +25949 -25999
  12. package/dist/{index-CH8pGxiX.js → index-B0BoH4wm.js} +8 -8
  13. package/dist/{index-XGieOXX9.js → index-B30aeKGM.js} +2 -2
  14. package/dist/{index-BkChdIqr.js → index-B4nNFQS-.js} +22 -22
  15. package/dist/{index-C-Cstw1x.js → index-B8_ZqXDA.js} +10 -10
  16. package/dist/{index--PjD6UIW.js → index-BCmMcLum.js} +5 -5
  17. package/dist/{index-D_kI6aHR.js → index-BKMAFsRN.js} +2 -2
  18. package/dist/{index-SjNcMhxZ.js → index-BRQACLz0.js} +5 -5
  19. package/dist/{index-D1o4d6gh.js → index-BZg5q_rs.js} +2 -2
  20. package/dist/{index-BLnbN_F-.js → index-Bkg9CQm3.js} +1 -1
  21. package/dist/{index-DVURXaLH.js → index-Bywqjsvo.js} +11810 -11450
  22. package/dist/{index-CmRnsU1X.js → index-BzT9veMM.js} +4 -4
  23. package/dist/{index-B4vESlof.js → index-C06Ba2iF.js} +2 -2
  24. package/dist/{index-CNydoPVR.js → index-C8LpAkhu.js} +6 -6
  25. package/dist/{index-FNOjQQWl.js → index-C9_Pcose.js} +2 -2
  26. package/dist/index-CGzlH16h.js +331 -0
  27. package/dist/{index-BpGFvMaU.js → index-COBZQS9O.js} +2 -2
  28. package/dist/{index-kmuFWiAq.js → index-COV5ar9Q.js} +4 -4
  29. package/dist/{index-YVR3acYT.js → index-CvOCu8lX.js} +1 -1
  30. package/dist/{index-C5r4GvjQ.js → index-D-YGtSgX.js} +5 -5
  31. package/dist/{index-CfHObnEf.js → index-D-_Ie1fO.js} +1 -1
  32. package/dist/{index-CUJOuk-t.js → index-D2g9hX2c.js} +4 -4
  33. package/dist/{index-CPRVBnQZ.js → index-DUPQ7Cfd.js} +3 -3
  34. package/dist/{index-DT2KzAmL.js → index-D_f48W32.js} +4 -4
  35. package/dist/{index-3va3ENB8.js → index-DyoKmN7k.js} +2 -2
  36. package/dist/{index-B-oUd2b-.js → index-G2ZhOQG1.js} +6 -6
  37. package/dist/{index-Bto8e0_l.js → index-TpycHQ-H.js} +3 -3
  38. package/dist/{index-Bd9AU0ks.js → index-dcW2d4Zs.js} +1 -1
  39. package/dist/{index-CWCQy24b.js → index-hGjbrq0G.js} +2 -2
  40. package/dist/{index-Lc7md2MS.js → index-tLigeTzl.js} +10 -9
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js} +13581 -13407
  42. package/dist/{isString-CoCw_sp3.js → isString-DzMmG8uL.js} +1 -1
  43. package/dist/{main-Bgh_Vl8E.js → main-B27LAY78.js} +4 -4
  44. package/dist/{menuIndex-B7ZUahFp.js → menuIndex-C_G8igKy.js} +1 -1
  45. package/dist/{request-DiogHwkN.js → request-CllqY4TP.js} +1 -0
  46. package/dist/ss-component.css +2 -2
  47. package/dist/ss-component.js +12 -12
  48. package/dist/ss-component2.js +13 -13
  49. package/dist/{threeModel-DF67wAtc.js → threeModel-vX7holAy.js} +5 -5
  50. package/dist/{threePreview-CQQPm2oj.js → threePreview-0iSlhKYj.js} +5 -5
  51. package/dist/{threeSceneView-MukJjphg.js → threeSceneView-D1dS9xmL.js} +12 -12
  52. package/dist/{threeSceneViewForCPMPIP-Cmw3lxMx.js → threeSceneViewForCPMPIP-DWvkVqSw.js} +9 -9
  53. package/dist/{threeTrackPathView-d9QnH6pv.js → threeTrackPathView-BzrYvQKg.js} +87 -87
  54. package/dist/{threeViewerHost-CxKP0BGS.js → threeViewerHost-BA3W7FKF.js} +3 -3
  55. package/dist/{urdfTree-BMwSzHf8.js → urdfTree-CZeEnUnE.js} +1 -1
  56. package/dist/{workpieceTreePanel-DTFfwsXF.js → workpieceTreePanel-BLWHbILu.js} +32 -32
  57. package/package.json +1 -1
  58. package/dist/index-CN6F4ryE.js +0 -342
@@ -1,29 +1,29 @@
1
1
  import { defineAsyncComponent as o } from "vue";
2
- import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
2
+ import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
3
3
  import { S as k } from "./index-dD-mKgue.js";
4
- import { u as C } from "./index-DT2KzAmL.js";
5
- import "./index-CPRVBnQZ.js";
6
- import "./request-DiogHwkN.js";
4
+ import { u as C } from "./index-D_f48W32.js";
5
+ import "./index-DUPQ7Cfd.js";
7
6
  /* empty css */
7
+ import "./request-CllqY4TP.js";
8
8
  import u from "./ss-component2.js";
9
9
  import { t as g, c as T, b as P } from "./index-ChNfRlIP.js";
10
- const n = o(() => import("./main-Bgh_Vl8E.js"));
10
+ const n = o(() => import("./main-B27LAY78.js"));
11
11
  n.install = (t) => {
12
12
  t.component("ssComponent", n);
13
13
  };
14
- const s = o(() => import("./index-DVURXaLH.js").then((t) => t.t));
14
+ const s = o(() => import("./index-Bywqjsvo.js").then((t) => t.t));
15
15
  s.install = (t) => {
16
16
  t.component("ssTab", s);
17
17
  };
18
- const r = o(() => import("./index-C-Cstw1x.js").then((t) => t.i));
18
+ const r = o(() => import("./index-B8_ZqXDA.js").then((t) => t.i));
19
19
  r.install = (t) => {
20
20
  t.component("ssMenu", r);
21
21
  };
22
- const m = o(() => import("./index-3va3ENB8.js"));
22
+ const m = o(() => import("./index-DyoKmN7k.js"));
23
23
  m.install = (t) => {
24
24
  t.component("ssMenuComponent", m);
25
25
  };
26
- const i = o(() => import("./index-CWCQy24b.js"));
26
+ const i = o(() => import("./index-hGjbrq0G.js"));
27
27
  i.install = (t) => {
28
28
  t.component("ssCanvas", i);
29
29
  };
@@ -31,15 +31,15 @@ const c = o(() => import("./index-BFqUz4pN.js"));
31
31
  c.install = (t) => {
32
32
  t.component("ssFold", c);
33
33
  };
34
- const a = o(() => import("./index-C5r4GvjQ.js").then((t) => t.i));
34
+ const a = o(() => import("./index-D-YGtSgX.js").then((t) => t.i));
35
35
  a.install = (t) => {
36
36
  t.component("ssAvatar", a);
37
37
  };
38
- const l = o(() => import("./threeModel-DF67wAtc.js"));
38
+ const l = o(() => import("./threeModel-vX7holAy.js"));
39
39
  l.install = (t) => {
40
40
  t.component("ssThree", l);
41
41
  };
42
- const p = o(() => import("./threeViewerHost-CxKP0BGS.js").then((t) => t.t));
42
+ const p = o(() => import("./threeViewerHost-BA3W7FKF.js").then((t) => t.t));
43
43
  p.install = (t) => {
44
44
  t.component("threeViewerHost", p);
45
45
  };
@@ -3,17 +3,17 @@ const a = [
3
3
  {
4
4
  path: "/tenant",
5
5
  name: "Tenant",
6
- component: async () => import("./index-D_kI6aHR.js")
6
+ component: async () => import("./index-BKMAFsRN.js")
7
7
  },
8
8
  {
9
9
  path: "/login",
10
10
  name: "Login",
11
- component: async () => import("./index-CmRnsU1X.js")
11
+ component: async () => import("./index-BzT9veMM.js")
12
12
  },
13
13
  {
14
14
  path: "/",
15
15
  name: "Model",
16
- component: async () => import("./index-BkChdIqr.js"),
16
+ component: async () => import("./index-B4nNFQS-.js"),
17
17
  // component: async ()=>import('@/components/views/model/component/main.vue'),
18
18
  // component: async ()=>import('@/components/views/canvas/index.vue'),
19
19
  // component: async ()=>import('@/components/views/test/index.vue'),
@@ -31,17 +31,17 @@ const a = [
31
31
  {
32
32
  path: "平台管理/菜单管理",
33
33
  name: "Menu",
34
- component: async () => import("./index-kmuFWiAq.js")
34
+ component: async () => import("./index-COV5ar9Q.js")
35
35
  },
36
36
  {
37
37
  path: "平台管理/主菜单管理",
38
38
  name: "MainMenu",
39
- component: async () => import("./index-CUJOuk-t.js")
39
+ component: async () => import("./index-D2g9hX2c.js")
40
40
  },
41
41
  {
42
42
  path: "系统管理/个人中心",
43
43
  name: "PersonalCenter",
44
- component: async () => import("./index-CNydoPVR.js")
44
+ component: async () => import("./index-C8LpAkhu.js")
45
45
  },
46
46
  // {
47
47
  // path: '系统管理/职位管理',
@@ -66,37 +66,37 @@ const a = [
66
66
  {
67
67
  path: "系统维护/登录日志",
68
68
  name: "LoginLog",
69
- component: async () => import("./index-D1o4d6gh.js")
69
+ component: async () => import("./index-BZg5q_rs.js")
70
70
  },
71
71
  {
72
72
  path: "系统维护/操作日志",
73
73
  name: "OperateLog",
74
- component: async () => import("./index-Bmk-CXy5.js")
74
+ component: async () => import("./index-2gwwCj6d.js")
75
75
  },
76
76
  {
77
77
  path: "角色管理",
78
78
  name: "Role",
79
- component: async () => import("./index-CH8pGxiX.js")
79
+ component: async () => import("./index-B0BoH4wm.js")
80
80
  },
81
81
  {
82
82
  path: "部门管理",
83
83
  name: "Department",
84
- component: async () => import("./index-FNOjQQWl.js")
84
+ component: async () => import("./index-C9_Pcose.js")
85
85
  },
86
86
  {
87
87
  path: "职位管理",
88
88
  name: "Position",
89
- component: async () => import("./index-Lc7md2MS.js")
89
+ component: async () => import("./index-tLigeTzl.js")
90
90
  },
91
91
  {
92
92
  path: "个人中心",
93
93
  name: "PersonalCenter",
94
- component: async () => import("./index-SjNcMhxZ.js")
94
+ component: async () => import("./index-BRQACLz0.js")
95
95
  },
96
96
  {
97
97
  path: "log",
98
98
  name: "log",
99
- component: async () => import("./index-BLnbN_F-.js")
99
+ component: async () => import("./index-Bkg9CQm3.js")
100
100
  }
101
101
  // {
102
102
  // path: 'priority',
@@ -1,10 +1,10 @@
1
1
  import { ref as b, watch as Pe, openBlock as H, createElementBlock as q, createBlock as Le, computed as ie, onMounted as $e, onUnmounted as je, Fragment as Xe, renderList as He, createElementVNode as h, toDisplayString as ae, createCommentVNode as xe, resolveComponent as Je, createVNode as z, defineComponent as Ye, normalizeStyle as Ee, normalizeClass as Fe, nextTick as Be, onBeforeUnmount as qe, unref as O, withDirectives as se, withCtx as Te, isRef as he, vModelRadio as ye, vShow as we } from "vue";
2
- import { V as x, B as be, S as Ze, C as We, P as Ke, W as Ne, b as Qe, A as et, c as tt, M as Ve, X as nt, G as at, e as Me, f as ot, h as De, i as st, D as ke, H as lt, j as Re, k as Oe, l as Ue, m as ze, E as _e, n as de, o as it, T as rt, p as ct } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
3
- import { O as ut } from "./iconfont-DsSG_70z.js";
4
- import { V as dt, W as pt } from "./index-BLAPVSLU.js";
2
+ import { V as x, B as be, S as Ze, C as We, P as Ke, W as Ne, b as Qe, A as et, c as tt, M as Ve, X as nt, G as at, e as Me, f as ot, h as De, i as st, D as ke, H as lt, j as Re, k as Oe, l as Ue, m as ze, E as _e, n as de, o as it, T as rt, p as ct } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
3
+ import { O as ut } from "./iconfont-TorEaqH3.js";
4
+ import { V as dt, W as pt } from "./index-9UYMNDVY.js";
5
5
  import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { c as Ge } from "./index-DT2KzAmL.js";
7
- import { E as Ie } from "./request-DiogHwkN.js";
6
+ import { c as Ge } from "./index-D_f48W32.js";
7
+ import { E as Ie } from "./request-CllqY4TP.js";
8
8
  function mt(A) {
9
9
  let f = null, r = null, c = null, v = null, M = null, k = null, i = null, D = null;
10
10
  const F = 1e3 / 30;
@@ -1,9 +1,9 @@
1
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";
2
+ import { at as X0, au as f0, av as w0, R as N0, aw as Q, U as Y, ax as D, ay as v0, C as q, az as M, c as x, aA as $0, j as ee, D as ae, n as K, V as C, aB as be, aC as T0, aD as ie, aE as R0, aF as He, aG as re, a1 as J, aH as fe, aI as M0, aJ as ce, aK as te, aL as de, aM as c0, aN as D0, aO as t0, aP as ne, aQ as oe, _ as ke, aR as e0, a2 as se, t as O0, l as ue, aS as z, aT as le, u as E0, aU as he, h as G0, aV as ge, w as _e, aW as Ae, $ as pe, s as a0, P as me, p as je, aX as Ie, aY as ye, aZ as Fe, a_ as we, a$ as Ne, b0 as U0, b1 as ve, b2 as h0, b3 as g0, b4 as _0, b5 as A0, b6 as d0, a4 as Te, b7 as Re, B as x0, b8 as Me, k as De } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
3
+ import "./index-D_f48W32.js";
4
+ import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-TorEaqH3.js";
5
+ import { M as xe, O as qe, S as Be } from "./MTLLoader-DzMo1SNe.js";
6
+ import { E as p0 } from "./request-CllqY4TP.js";
7
7
  import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  function m0(k, e) {
9
9
  if (e === X0)
@@ -1,19 +1,19 @@
1
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";
2
+ import { r as Te, s as Ye } from "./threeViewerHost-BA3W7FKF.js";
3
+ import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-TorEaqH3.js";
4
+ import { U as lt, u as ot, W as nt, a as at } from "./workpieceTreePanel-BLWHbILu.js";
5
+ import { c as st } from "./index-D_f48W32.js";
6
+ import { ax as it, E as j, aO as rt, aP as ct } from "./request-CllqY4TP.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";
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-LGVq0cuS.js";
9
+ import "./index-9UYMNDVY.js";
10
10
  import "./index-dD-mKgue.js";
11
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";
12
+ import { y as Be, z as Ct, A as Pt } from "./index-DUPQ7Cfd.js";
13
+ import "./index-G2ZhOQG1.js";
14
+ import "./index-CGzlH16h.js";
15
+ import { f as kt, a as xt, g as Rt, b as Mt } from "./animationData-CTWTDXsQ.js";
16
+ import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-CZeEnUnE.js";
17
17
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  import { s as Ft } from "./index-DJrzqi4-.js";
19
19
  const I = 1e-3, oe = pt.degToRad, je = new dt({
@@ -1,15 +1,15 @@
1
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";
2
+ import { s as pe } from "./threeViewerHost-BA3W7FKF.js";
3
+ import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-TorEaqH3.js";
4
+ import { U as Xe, u as Ye, W as Ze, a as qe } from "./workpieceTreePanel-BLWHbILu.js";
5
+ import { c as Ke } from "./index-D_f48W32.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
7
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";
8
+ import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-CZeEnUnE.js";
9
+ import { E as _ } from "./request-CllqY4TP.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-CTWTDXsQ.js";
12
+ import { O as ot } from "./MTLLoader-DzMo1SNe.js";
13
13
  const st = { class: "panel-content" }, it = {
14
14
  key: 0,
15
15
  class: "animation-controls"
@@ -1,11 +1,11 @@
1
- import { defineComponent as ce, computed as U, ref as k, resolveComponent as E, openBlock as X, createElementBlock as ee, createElementVNode as d, createVNode as p, withCtx as I, toDisplayString as Y, shallowRef as D, watch as Ee, onMounted as Xe, onBeforeUnmount as Ye, unref as A, renderSlot as ae, withDirectives as N, createBlock as le, createCommentVNode as S, vShow as Z, nextTick as je } from "vue";
2
- import { u as De, a as Ne, b as Ze, T as w, C as Be, f as Ie, d as re } from "./iconfont-DsSG_70z.js";
3
- import { C as O, h as Oe, b0 as Ge, t as qe, V as te, u as ue, Y as fe, a2 as Ke, w as We, a1 as Je, _ as Re, $ as He, p as Qe, b1 as Se } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js";
4
- import "./index-DT2KzAmL.js";
5
- import { U as et, J as tt } from "./urdfTree-BMwSzHf8.js";
6
- import { E as B } from "./request-DiogHwkN.js";
1
+ import { defineComponent as ce, computed as U, ref as k, resolveComponent as E, openBlock as X, createElementBlock as ee, createElementVNode as d, createVNode as p, withCtx as I, toDisplayString as Y, shallowRef as D, watch as Ee, onMounted as Xe, onBeforeUnmount as Ye, unref as A, renderSlot as ie, withDirectives as N, createBlock as le, createCommentVNode as S, vShow as Z, nextTick as je } from "vue";
2
+ import { u as De, a as Ne, b as Ze, T as w, C as Be, f as Ie, d as re } from "./iconfont-TorEaqH3.js";
3
+ import { C as O, h as Oe, b9 as Ge, t as qe, V as te, u as ue, Y as fe, a2 as Ke, w as We, a1 as Je, _ as Re, $ as He, p as Qe, ba as Se } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
4
+ import "./index-D_f48W32.js";
5
+ import { U as et, J as tt } from "./urdfTree-CZeEnUnE.js";
6
+ import { E as B } from "./request-CllqY4TP.js";
7
7
  import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- import { i as nt } from "./isString-CoCw_sp3.js";
8
+ import { i as nt } from "./isString-DzMmG8uL.js";
9
9
  function ot(e = 0.5, n = 4) {
10
10
  const o = new Oe(
11
11
  new Ge(e, n, 32),
@@ -16,19 +16,19 @@ function ot(e = 0.5, n = 4) {
16
16
  // ↓ 降金属
17
17
  roughness: 0.6
18
18
  })
19
- ), i = o.geometry.parameters.height;
20
- return o.geometry.translate(0, -i / 2, 0), o.rotation.set(-90, 0, 0, "XYZ"), o;
19
+ ), a = o.geometry.parameters.height;
20
+ return o.geometry.translate(0, -a / 2, 0), o.rotation.set(-90, 0, 0, "XYZ"), o;
21
21
  }
22
22
  function st(e, n) {
23
23
  e.position.copy(n);
24
24
  }
25
- function it(e, n, o = new O(16711680)) {
26
- const i = new te();
27
- n.getWorldPosition(i);
25
+ function at(e, n, o = new O(16711680)) {
26
+ const a = new te();
27
+ n.getWorldPosition(a);
28
28
  const l = e.geometry.attributes.position, t = e.geometry.attributes.color, s = new O(55551);
29
29
  let r = 1 / 0, f = -1;
30
30
  for (let c = 0; c < l.count; c++) {
31
- const v = new te().fromBufferAttribute(l, c).distanceTo(i);
31
+ const v = new te().fromBufferAttribute(l, c).distanceTo(a);
32
32
  v < r && (r = v, f = c);
33
33
  }
34
34
  for (let c = 0; c < t.count; c++) s.toArray(t.array, c * 3);
@@ -39,10 +39,10 @@ function it(e, n, o = new O(16711680)) {
39
39
  }
40
40
  t.needsUpdate = !0;
41
41
  }
42
- function de(e, n, o, i = new O(16711680)) {
43
- st(e, n), it(o, e, i);
42
+ function de(e, n, o, a = new O(16711680)) {
43
+ st(e, n), at(o, e, a);
44
44
  }
45
- const at = { class: "panel-content" }, lt = { class: "animation-controls" }, rt = { class: "control-row" }, ct = { class: "control-row" }, ut = { class: "frame-info" }, ft = { class: "control-row" }, vt = /* @__PURE__ */ ce({
45
+ const it = { class: "panel-content" }, lt = { class: "animation-controls" }, rt = { class: "control-row" }, ct = { class: "control-row" }, ut = { class: "frame-info" }, ft = { class: "control-row" }, vt = /* @__PURE__ */ ce({
46
46
  __name: "trackAnimationPanel",
47
47
  props: {
48
48
  cloud: {},
@@ -51,7 +51,7 @@ const at = { class: "panel-content" }, lt = { class: "animation-controls" }, rt
51
51
  },
52
52
  emits: ["getThreeData"],
53
53
  setup(e, { expose: n, emit: o }) {
54
- const i = e, l = U(() => i.vectors), t = k(!1), s = k(0), r = k(100);
54
+ const a = e, l = U(() => a.vectors), t = k(!1), s = k(0), r = k(100);
55
55
  let f = !1;
56
56
  const c = (g) => `第 ${g + 1} 帧`, m = (g) => {
57
57
  if (g < 0 || g >= l.value.length) {
@@ -59,7 +59,7 @@ const at = { class: "panel-content" }, lt = { class: "animation-controls" }, rt
59
59
  return;
60
60
  }
61
61
  const y = l.value[g];
62
- s.value = g, de(i.knife, y, i.cloud);
62
+ s.value = g, de(a.knife, y, a.cloud);
63
63
  }, v = async () => {
64
64
  if (l.value.length === 0) {
65
65
  B.error("无法播放动画:无数据");
@@ -92,7 +92,7 @@ const at = { class: "panel-content" }, lt = { class: "animation-controls" }, rt
92
92
  await C(), h();
93
93
  } }), (g, y) => {
94
94
  const q = E("el-input-number"), K = E("el-form-item"), W = E("el-form"), J = E("el-slider");
95
- return X(), ee("div", at, [
95
+ return X(), ee("div", it, [
96
96
  d("div", lt, [
97
97
  d("div", rt, [
98
98
  p(W, {
@@ -146,8 +146,8 @@ const at = { class: "panel-content" }, lt = { class: "animation-controls" }, rt
146
146
  function mt(e) {
147
147
  const n = [];
148
148
  return e.forEach((o) => {
149
- const [i, l, t] = o.trim().split(/\s+/);
150
- n.push(+i, +l, +t);
149
+ const [a, l, t] = o.trim().split(/\s+/);
150
+ n.push(+a, +l, +t);
151
151
  }), n;
152
152
  }
153
153
  function G(e, n, o) {
@@ -165,12 +165,12 @@ function G(e, n, o) {
165
165
  }
166
166
  function pt(e) {
167
167
  const n = [], o = ["X", "Y", "Z"];
168
- return e.forEach((i) => {
168
+ return e.forEach((a) => {
169
169
  const l = {
170
170
  x: 0,
171
171
  y: 0,
172
172
  z: 0
173
- }, t = i.trim();
173
+ }, t = a.trim();
174
174
  if (!t)
175
175
  return;
176
176
  let s = null, r = "";
@@ -191,9 +191,9 @@ const ht = (e) => e == null ? void 0 : e.filter((o) => o.includes("=")), gt = (e
191
191
  };
192
192
  function wt(e) {
193
193
  const n = Ct(e), o = [];
194
- return n.forEach((i) => {
194
+ return n.forEach((a) => {
195
195
  var v, C, P, _, T, h;
196
- let [l, t, s, r] = i.trim().split(/\s+/);
196
+ let [l, t, s, r] = a.trim().split(/\s+/);
197
197
  t = (v = t == null ? void 0 : t.trim) == null ? void 0 : v.call(t), s = (C = s == null ? void 0 : s.trim) == null ? void 0 : C.call(s), r = (P = r == null ? void 0 : r.trim) == null ? void 0 : P.call(r);
198
198
  const [, f] = (_ = t == null ? void 0 : t.split) == null ? void 0 : _.call(t, "="), [, c] = (T = s == null ? void 0 : s.split) == null ? void 0 : T.call(s, "="), [, m] = (h = r == null ? void 0 : r.split) == null ? void 0 : h.call(r, "=");
199
199
  o.push(+f, +c, +m);
@@ -205,12 +205,12 @@ function Tt(e) {
205
205
  }
206
206
  function zt(e) {
207
207
  const n = [], o = /* @__PURE__ */ new Set(["X", "Y", "Z"]);
208
- return e.forEach((i) => {
208
+ return e.forEach((a) => {
209
209
  const l = {
210
210
  x: 0,
211
211
  y: 0,
212
212
  z: 0
213
- }, t = i.trim();
213
+ }, t = a.trim();
214
214
  if (!t)
215
215
  return;
216
216
  let s = null, r = "";
@@ -236,16 +236,16 @@ async function Pt(e) {
236
236
  const n = (l = e == null ? void 0 : e.trim()) == null ? void 0 : l.split(/\r?\n/);
237
237
  if (At(e))
238
238
  return wt(n);
239
- const o = n == null ? void 0 : n[0], i = (t = o == null ? void 0 : o.trim()) == null ? void 0 : t.split(/\s+/);
240
- if ((i == null ? void 0 : i.length) >= 3)
239
+ const o = n == null ? void 0 : n[0], a = (t = o == null ? void 0 : o.trim()) == null ? void 0 : t.split(/\s+/);
240
+ if ((a == null ? void 0 : a.length) >= 3)
241
241
  return mt(n);
242
- if ((i == null ? void 0 : i.length) === 1)
242
+ if ((a == null ? void 0 : a.length) === 1)
243
243
  return pt(n);
244
244
  }
245
245
  async function xt(e) {
246
246
  const n = e.trim().split(/\r?\n/), o = [];
247
- return n.forEach((i) => {
248
- const l = i.trim().split(/\s+/);
247
+ return n.forEach((a) => {
248
+ const l = a.trim().split(/\s+/);
249
249
  if (l.length != 3)
250
250
  return;
251
251
  const [t, s, r] = l;
@@ -254,8 +254,8 @@ async function xt(e) {
254
254
  }
255
255
  async function Ft(e) {
256
256
  const n = e.trim().split(/\r?\n/), o = [];
257
- return n.forEach((i) => {
258
- const l = i.trim().split(/\s+/);
257
+ return n.forEach((a) => {
258
+ const l = a.trim().split(/\s+/);
259
259
  if (l.length != 3)
260
260
  return;
261
261
  const [t, s, r] = l;
@@ -264,14 +264,14 @@ async function Ft(e) {
264
264
  }
265
265
  async function Mt(e) {
266
266
  let n = e.trim().split(/\r?\n/);
267
- return n = n.filter((i) => {
268
- const l = i.startsWith("X") || i.startsWith("Y") || i.startsWith("Z"), t = i.startsWith("G") && (i.includes("X") || i.includes("Y") || i.includes("Z")), s = i.startsWith("N") && (i.includes("X") || i.includes("Y") || i.includes("Z"));
267
+ return n = n.filter((a) => {
268
+ const l = a.startsWith("X") || a.startsWith("Y") || a.startsWith("Z"), t = a.startsWith("G") && (a.includes("X") || a.includes("Y") || a.includes("Z")), s = a.startsWith("N") && (a.includes("X") || a.includes("Y") || a.includes("Z"));
269
269
  return l || t || s;
270
270
  }), zt(n);
271
271
  }
272
272
  async function Ut(e, n) {
273
- const { isCyd: o, isUv: i, isCpt: l, isNc: t } = n;
274
- return i ? Pt(e) : o ? Ft(e) : l ? xt(e) : t ? Mt(e) : [];
273
+ const { isCyd: o, isUv: a, isCpt: l, isNc: t } = n;
274
+ return a ? Pt(e) : o ? Ft(e) : l ? xt(e) : t ? Mt(e) : [];
275
275
  }
276
276
  function Lt(e) {
277
277
  const n = [];
@@ -291,19 +291,19 @@ function $t(e) {
291
291
  function Vt(e, n) {
292
292
  if (!n || n.length < 3)
293
293
  return;
294
- const { scene: o, camera: i, renderer: l, controls: t } = e();
295
- if (!o || !i || !l || !t)
294
+ const { scene: o, camera: a, renderer: l, controls: t } = e();
295
+ if (!o || !a || !l || !t)
296
296
  return;
297
297
  const s = $t(n);
298
298
  return s.name = "轨迹路径", o.add(s), s;
299
299
  }
300
- function Et(e, n, o, i = 4, l = 50) {
300
+ function Et(e, n, o, a = 4, l = 50) {
301
301
  let t = 1 / 0, s = -1 / 0, r = 1 / 0, f = -1 / 0, c = 1 / 0, m = -1 / 0;
302
302
  for (let h = 0; h < e.length; h += 3) {
303
303
  const L = e[h], g = e[h + 1], y = e[h + 2];
304
304
  t = Math.min(t, L), s = Math.max(s, L), r = Math.min(r, g), f = Math.max(f, g), c = Math.min(c, y), m = Math.max(m, y);
305
305
  }
306
- const C = Math.sqrt((s - t) ** 2 + (f - r) ** 2 + (m - c) ** 2) * 0.05, P = Qe.degToRad(n.fov), _ = 2 * Math.tan(P / 2) * l, T = C / _ * o.domElement.height * (i / 4);
306
+ const C = Math.sqrt((s - t) ** 2 + (f - r) ** 2 + (m - c) ** 2) * 0.05, P = Qe.degToRad(n.fov), _ = 2 * Math.tan(P / 2) * l, T = C / _ * o.domElement.height * (a / 4);
307
307
  return Math.min(0.4, T);
308
308
  }
309
309
  function Xt(e) {
@@ -315,25 +315,25 @@ function Xt(e) {
315
315
  for (let t = 0; t < e.length; t += 3)
316
316
  o[t] = 0, o[t + 1] = 0.847, o[t + 2] = 1;
317
317
  n.setAttribute("color", new Je(o, 3));
318
- const i = new Re({
318
+ const a = new Re({
319
319
  vertexColors: !0,
320
320
  size: 0.4,
321
321
  // 像素世界单位
322
322
  sizeAttenuation: !0
323
- }), l = new He(n, i);
324
- return i.needsUpdate = !0, l;
323
+ }), l = new He(n, a);
324
+ return a.needsUpdate = !0, l;
325
325
  }
326
326
  function Yt(e, n) {
327
327
  if (!n)
328
328
  return;
329
- const { scene: o, camera: i, renderer: l, controls: t } = e();
330
- if (!o || !i || !l || !t)
329
+ const { scene: o, camera: a, renderer: l, controls: t } = e();
330
+ if (!o || !a || !l || !t)
331
331
  return;
332
332
  const s = Xt(n);
333
333
  if (!s)
334
334
  return;
335
335
  s.name = "轨迹路径", o.add(s);
336
- const r = Et(n, i, l, 0.1, 50);
336
+ const r = Et(n, a, l, 0.1, 50);
337
337
  return s.material.size = r, s;
338
338
  }
339
339
  const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft" }, Nt = { class: "buttonGroup-left" }, Zt = { class: "buttonGroup-right" }, Bt = { class: "buttonGroup-bottom" }, It = { class: "left-panel" }, Ot = { class: "panel-header" }, Gt = { class: "panel-body" }, qt = { class: "right-panel" }, Kt = { class: "panel-header" }, Wt = { class: "panel-body" }, Jt = {
@@ -347,7 +347,7 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
347
347
  trackFileType: {}
348
348
  },
349
349
  setup(e) {
350
- const n = e, o = k(null), i = k(!1), l = k(""), t = k(), s = k(!1), r = k(""), f = k(!1), c = k(""), m = D(null), v = D(null), {
350
+ const n = e, o = k(null), a = k(!1), l = k(""), t = k(), s = k(!1), r = k(""), f = k(!1), c = k(""), m = D(null), v = D(null), {
351
351
  currentModels: C,
352
352
  resetView: P,
353
353
  initThreeJS: _,
@@ -362,12 +362,12 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
362
362
  zoomOut: J
363
363
  } = De(o), { isAnimating: M, toggleAnimation: me, startAnimation: Ht, stopAnimation: pe } = Ne(h, C), { isClipping: he, activeClippingAxis: ne, toggleClipping: ge, updateClippingPlanes: ye } = Ze(h, C), Ce = () => {
364
364
  K();
365
- }, we = (a) => {
366
- ne.value = a, ye();
367
- }, R = (a) => {
368
- s.value = !0, r.value = a, a === "剖面视图" && !he.value && ge();
369
- }, H = (a) => {
370
- f.value = !0, c.value = a;
365
+ }, we = (i) => {
366
+ ne.value = i, ye();
367
+ }, R = (i) => {
368
+ s.value = !0, r.value = i, i === "剖面视图" && !he.value && ge();
369
+ }, H = (i) => {
370
+ f.value = !0, c.value = i;
371
371
  }, Q = k([]), $ = k([]), ke = U(() => {
372
372
  var u;
373
373
  return (u = n.trackFileType) == null ? void 0 : u.isUv;
@@ -381,58 +381,58 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
381
381
  var u;
382
382
  return (u = n.trackFileType) == null ? void 0 : u.isNc;
383
383
  }), oe = U(() => {
384
- const a = n.fileBlobs || [];
385
- return a == null ? void 0 : a[0];
384
+ const i = n.fileBlobs || [];
385
+ return i == null ? void 0 : i[0];
386
386
  });
387
387
  let b = D(), F = D();
388
388
  const Te = () => {
389
- const { scene: a } = h();
390
- b.value && a && (re(b.value, a), b.value = null);
389
+ const { scene: i } = h();
390
+ b.value && i && (re(b.value, i), b.value = null);
391
391
  }, ze = () => {
392
- const { scene: a } = h();
393
- F.value && a && (re(F.value, a), F.value = null);
392
+ const { scene: i } = h();
393
+ F.value && i && (re(F.value, i), F.value = null);
394
394
  }, se = () => {
395
395
  Te(), ze();
396
- }, Ae = async (a) => {
397
- const u = URL.createObjectURL(a), V = await Se(u);
396
+ }, Ae = async (i) => {
397
+ const u = URL.createObjectURL(i), V = await Se(u);
398
398
  if (URL.revokeObjectURL(u), nt(V)) {
399
399
  Q.value = await Ut(V, n.trackFileType) || [];
400
400
  const z = Q.value;
401
401
  ke.value && (b.value = Vt(h, z)), (be.value || _e.value || x.value) && (b.value = Yt(h, z));
402
402
  }
403
403
  }, Pe = async () => {
404
- var a, u;
405
- F.value = ot(), $.value = Lt(Q.value), $.value && $.value.length && (de(F.value, $.value[0], b.value, new O(16711680)), (u = (a = v.value) == null ? void 0 : a.add) == null || u.call(a, F.value));
406
- }, ie = async (a) => {
407
- se(), await Ae(a), b.value && Ie(h, b.value), x.value && Pe();
404
+ var i, u;
405
+ F.value = ot(), $.value = Lt(Q.value), $.value && $.value.length && (de(F.value, $.value[0], b.value, new O(16711680)), (u = (i = v.value) == null ? void 0 : i.add) == null || u.call(i, F.value));
406
+ }, ae = async (i) => {
407
+ se(), await Ae(i), b.value && Ie(h, b.value), x.value && Pe();
408
408
  };
409
- Ee(() => oe.value, async (a) => {
410
- a && await ie(a);
409
+ Ee(() => oe.value, async (i) => {
410
+ i && await ae(i);
411
411
  }, {
412
412
  immediate: !0,
413
413
  deep: !0
414
414
  });
415
415
  const xe = async () => {
416
- var a;
417
- await ((a = t == null ? void 0 : t.value) == null ? void 0 : a.reset()), await ie(oe.value);
416
+ var i;
417
+ await ((i = t == null ? void 0 : t.value) == null ? void 0 : i.reset()), await ae(oe.value);
418
418
  }, Fe = () => {
419
- var a;
420
- x.value && ((a = t == null ? void 0 : t.value) == null || a.playAnimation());
419
+ var i;
420
+ x.value && ((i = t == null ? void 0 : t.value) == null || i.playAnimation());
421
421
  }, Me = () => {
422
- var a;
423
- x.value && ((a = t == null ? void 0 : t.value) == null || a.stopAnimation());
422
+ var i;
423
+ x.value && ((i = t == null ? void 0 : t.value) == null || i.stopAnimation());
424
424
  }, Ue = () => {
425
- var a;
426
- x.value && ((a = t == null ? void 0 : t.value) == null || a.forwardFrame());
425
+ var i;
426
+ x.value && ((i = t == null ? void 0 : t.value) == null || i.forwardFrame());
427
427
  }, Le = () => {
428
- var a;
429
- x.value && ((a = t == null ? void 0 : t.value) == null || a.backwardFrame());
428
+ var i;
429
+ x.value && ((i = t == null ? void 0 : t.value) == null || i.backwardFrame());
430
430
  }, $e = () => {
431
431
  _(), je(() => {
432
432
  o.value && (j = new ResizeObserver(T), j.observe(o.value));
433
433
  });
434
- const a = h();
435
- v.value = a.scene, v.value && (v.value.name = "CPMPIP");
434
+ const i = h();
435
+ v.value = i.scene, v.value && (v.value.name = "CPMPIP");
436
436
  }, Ve = () => {
437
437
  j && j.disconnect(), M.value && pe(), se(), L();
438
438
  };
@@ -440,12 +440,12 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
440
440
  return Xe(async () => {
441
441
  try {
442
442
  $e();
443
- } catch (a) {
444
- console.error("Three.js 初始化失败:", a), B.error("渲染引擎初始化失败!");
443
+ } catch (i) {
444
+ console.error("Three.js 初始化失败:", i), B.error("渲染引擎初始化失败!");
445
445
  }
446
446
  }), Ye(() => {
447
447
  Ve();
448
- }), (a, u) => {
448
+ }), (i, u) => {
449
449
  const V = E("el-scrollbar");
450
450
  return X(), ee("div", jt, [
451
451
  d("div", {
@@ -487,7 +487,7 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
487
487
  }, null, 8, ["active"])
488
488
  ]),
489
489
  d("div", Nt, [
490
- ae(a.$slots, "button-left", { switchRightPanel: R }, void 0, !0),
490
+ ie(i.$slots, "button-left", { switchRightPanel: R }, void 0, !0),
491
491
  p(w, {
492
492
  name: "jiegoushu",
493
493
  size: "24",
@@ -504,7 +504,7 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
504
504
  }, null, 8, ["active"])
505
505
  ]),
506
506
  d("div", Zt, [
507
- ae(a.$slots, "button-right", { switchRightPanel: H }, void 0, !0),
507
+ ie(i.$slots, "button-right", { switchRightPanel: H }, void 0, !0),
508
508
  p(w, {
509
509
  name: "guanjiekongzhi",
510
510
  size: "24",
@@ -607,7 +607,7 @@ const jt = { class: "obj-viewer-container" }, Dt = { class: "buttonGroup-topLeft
607
607
  ], 512), [
608
608
  [Z, f.value]
609
609
  ]),
610
- i.value ? (X(), ee("div", Jt, [
610
+ a.value ? (X(), ee("div", Jt, [
611
611
  u[6] || (u[6] = d("div", { class: "loading-spinner" }, null, -1)),
612
612
  d("p", null, Y(l.value), 1)
613
613
  ])) : S("", !0)