ss-component-new 1.3.606 → 1.3.608
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.
- package/dist/{MTLLoader-BL2uYkTJ.js → MTLLoader-B6ottYFV.js} +2 -2
- package/dist/{OrbitControls-Zyj23qrC.js → OrbitControls-BFVKU7s-.js} +1 -1
- package/dist/{URDFLoader-CRx5L75v.js → URDFLoader-CH-7Pzmq.js} +589 -584
- package/dist/{animationData-CJQE6_nu.js → animationData-F0z3GN7j.js} +3 -3
- package/dist/{array-BkavaXXQ.js → array-Clho0aNm.js} +13 -14
- package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
- package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
- package/dist/{iconfont-BnmSp7qc.js → iconfont-BJYdStg5.js} +4 -4
- package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
- package/dist/{index-DIC1IjU6.js → index-B1pggnuk.js} +60 -62
- package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
- package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
- package/dist/{index-ClbVbnpS.js → index-B4xzD-6v.js} +18 -20
- package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-Bdlw5PXG.js → index-BPpFNODf.js} +5 -5
- package/dist/{index-C5QKOpfx.js → index-BWPIkFPn.js} +9227 -8773
- package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
- package/dist/{index-BG89B83e.js → index-Bqqhe316.js} +148 -157
- package/dist/{index-B0M1YCUY.js → index-BvtOLltL.js} +7 -7
- package/dist/{index-DsdWSuDi.js → index-BvyM6d06.js} +482 -483
- package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
- package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
- package/dist/{index-C31Pm35-.js → index-CQHLe7l6.js} +573 -608
- package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
- package/dist/{index-CTicGWoS.js → index-CXqqIuf-.js} +3 -3
- package/dist/{index-D9xMYIes.js → index-CYjsE5Gs.js} +3 -3
- package/dist/index-CjNWVVhm.js +2623 -0
- package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
- package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
- package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
- package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-DADd4cmS.js → index-DK9-eF24.js} +21851 -21873
- package/dist/{index-BUqviBFi.js → index-DcPtyCDm.js} +29 -35
- package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
- package/dist/{index-B4-GD2HP.js → index-DpdwR2O0.js} +3 -3
- package/dist/{index-BOqo9XDw.js → index-S5AsqKOU.js} +6 -6
- package/dist/{index-BA1kJZth.js → index-aTEfnfYn.js} +36 -40
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-UC3celFR.js → index-gAcMQttx.js} +8 -8
- package/dist/{index-DkumSU1-.js → index-hg0CdgKe.js} +4 -4
- package/dist/{index-CC5AxngM.js → index-meZOiovI.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js} +27760 -27735
- package/dist/isString-Dxm3W5iX.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-CmzE3HuC.js → main-cZ53HaDl.js} +9 -9
- package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
- package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/svgIcon-4m2zaZkj.js +42 -0
- package/dist/{threeModel-DDlWUHsN.js → threeModel-D5dzjyJO.js} +174 -174
- package/dist/{threePreview-CVO6XMIe.js → threePreview-CpcrqmFS.js} +13 -13
- package/dist/{threeSceneView-BQXSPHMu.js → threeSceneView-BbM1FFcc.js} +24 -25
- package/dist/{threeSceneViewForCPMPIP-BYUnvSDz.js → threeSceneViewForCPMPIP-4bANk0sU.js} +17 -18
- package/dist/{threeTrackPathView-7_x3jeap.js → threeTrackPathView-Bw6e-quT.js} +8 -8
- package/dist/{threeViewerHost-DTWrmIQy.js → threeViewerHost-BMUhfp_Z.js} +4 -4
- package/dist/{urdfTree-D0Iom75E.js → urdfTree-DU02c_91.js} +9 -9
- package/dist/{workpieceTreePanel-DEEMKY1v.js → workpieceTreePanel-XH9mYAT2.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-iD7cVTqr.js +0 -572
- package/dist/isString-BlNsHiyU.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/svgIcon-4u4PW7Is.js +0 -42
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as S, shallowRef as L0, defineComponent as Z0, watch as e0, onMounted as z0, nextTick as Q0, onBeforeUnmount as J0, resolveComponent as Y0,
|
|
2
|
-
import { ak as ae, al as t0, am as T0, R as R0, an as Q, U as X, ao as D, ap as M0, C as x, aq as M, c as U, ar as be, j as ie, D as He, n as $, V as C, as as re, at as D0, au as fe, av as O0, aw as ce, ax as te, a1 as J, ay as de, az as E0, aA as ne, aB as oe, aC as ke, aD as d0, aE as G0, aF as n0, aG as se, aH as ue, _ as le, aI as b0, a2 as he, t as U0, l as ge, aJ as z, aK as _e, u as x0, aL as Ae, h as q0, aM as pe, w as me, aN as je, $ as Ie, s as i0, P as ye,
|
|
3
|
-
import "./index-
|
|
4
|
-
import { u as Ue, a as xe, b as qe, C as Be } from "./iconfont-
|
|
5
|
-
import { M as Ve, O as Pe, S as We } from "./MTLLoader-
|
|
6
|
-
import { T as W } from "./svgIcon-
|
|
7
|
-
import { E as I0 } from "./request-
|
|
1
|
+
import { ref as S, shallowRef as L0, defineComponent as Z0, watch as e0, onMounted as z0, nextTick as Q0, onBeforeUnmount as J0, resolveComponent as Y0, openBlock as a0, createElementBlock as l0, createElementVNode as v, createVNode as q, unref as B, renderSlot as h0, withDirectives as K0, toDisplayString as g0, withCtx as X0, createBlock as $0, createCommentVNode as _0, vShow as ee } from "vue";
|
|
2
|
+
import { ak as ae, al as t0, am as T0, R as R0, an as Q, U as X, ao as D, ap as M0, C as x, aq as M, c as U, ar as be, j as ie, D as He, n as $, V as C, as as re, at as D0, au as fe, av as O0, aw as ce, ax as te, a1 as J, ay as de, az as E0, aA as ne, aB as oe, aC as ke, aD as d0, aE as G0, aF as n0, aG as se, aH as ue, _ as le, aI as b0, a2 as he, t as U0, l as ge, aJ as z, aK as _e, u as x0, aL as Ae, h as q0, aM as pe, w as me, aN as je, $ as Ie, s as i0, P as ye, p as Fe, aO as we, aP as Ne, aQ as ve, aR as Te, aS as Re, aT as B0, aU as Me, aV as A0, aW as p0, aX as m0, aY as j0, aZ as o0, a4 as De, a_ as Oe, B as V0, a$ as Ee, k as Ge } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js";
|
|
3
|
+
import "./index-B8NQAdR4.js";
|
|
4
|
+
import { u as Ue, a as xe, b as qe, C as Be } from "./iconfont-BJYdStg5.js";
|
|
5
|
+
import { M as Ve, O as Pe, S as We } from "./MTLLoader-B6ottYFV.js";
|
|
6
|
+
import { T as W } from "./svgIcon-4m2zaZkj.js";
|
|
7
|
+
import { E as I0 } from "./request-BfrhYBTM.js";
|
|
8
8
|
import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
function y0(k, e) {
|
|
10
10
|
if (e === ae)
|
|
@@ -2215,7 +2215,7 @@ const R2 = { class: "obj-viewer-container" }, M2 = { class: "buttonGroup-topLeft
|
|
|
2215
2215
|
}, null, 8, ["active"])
|
|
2216
2216
|
]),
|
|
2217
2217
|
v("div", D2, [
|
|
2218
|
-
|
|
2218
|
+
h0(j.$slots, "button-left", { switchRightPanel: u0 }, void 0, !0),
|
|
2219
2219
|
q(W, {
|
|
2220
2220
|
name: "clipping",
|
|
2221
2221
|
size: "24",
|
|
@@ -2225,12 +2225,12 @@ const R2 = { class: "obj-viewer-container" }, M2 = { class: "buttonGroup-topLeft
|
|
|
2225
2225
|
}, null, 8, ["active"])
|
|
2226
2226
|
]),
|
|
2227
2227
|
v("div", O2, [
|
|
2228
|
-
|
|
2228
|
+
h0(j.$slots, "button-right", {}, void 0, !0)
|
|
2229
2229
|
]),
|
|
2230
2230
|
R[3] || (R[3] = v("div", { class: "buttonGroup-bottom" }, null, -1)),
|
|
2231
2231
|
K0(v("div", E2, [
|
|
2232
2232
|
v("div", G2, [
|
|
2233
|
-
v("span", null,
|
|
2233
|
+
v("span", null, g0(b.value), 1),
|
|
2234
2234
|
v("span", {
|
|
2235
2235
|
class: "close",
|
|
2236
2236
|
onClick: R[1] || (R[1] = (S0) => r.value = !1)
|
|
@@ -2242,7 +2242,7 @@ const R2 = { class: "obj-viewer-container" }, M2 = { class: "buttonGroup-topLeft
|
|
|
2242
2242
|
key: 0,
|
|
2243
2243
|
value: B(O),
|
|
2244
2244
|
onChange: Y
|
|
2245
|
-
}, null, 8, ["value"])) :
|
|
2245
|
+
}, null, 8, ["value"])) : _0("", !0)
|
|
2246
2246
|
]),
|
|
2247
2247
|
_: 1
|
|
2248
2248
|
})
|
|
@@ -2251,8 +2251,8 @@ const R2 = { class: "obj-viewer-container" }, M2 = { class: "buttonGroup-topLeft
|
|
|
2251
2251
|
]),
|
|
2252
2252
|
B(l) ? (a0(), l0("div", U2, [
|
|
2253
2253
|
R[2] || (R[2] = v("div", { class: "loading-spinner" }, null, -1)),
|
|
2254
|
-
v("p", null,
|
|
2255
|
-
])) :
|
|
2254
|
+
v("p", null, g0(B(h)), 1)
|
|
2255
|
+
])) : _0("", !0)
|
|
2256
2256
|
]);
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as U,
|
|
2
|
-
import { r as Te, s as Ye } from "./threeViewerHost-
|
|
3
|
-
import { u as Ne, a as Qe, b as et, C as tt } from "./iconfont-
|
|
4
|
-
import { U as lt, u as ot,
|
|
5
|
-
import { c as st } from "./index-
|
|
6
|
-
import { av as it, E as j, aM as rt, aN as ct } from "./request-
|
|
1
|
+
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as Pe, 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 ke, 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-BMUhfp_Z.js";
|
|
3
|
+
import { u as Ne, a as Qe, b as et, C as tt } from "./iconfont-BJYdStg5.js";
|
|
4
|
+
import { U as lt, u as ot, W as nt, a as at } from "./workpieceTreePanel-XH9mYAT2.js";
|
|
5
|
+
import { c as st } from "./index-B8NQAdR4.js";
|
|
6
|
+
import { av as it, E as j, aM as rt, aN as ct } from "./request-BfrhYBTM.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import {
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { y as Be, z as Ct, A as kt } from "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-
|
|
16
|
-
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-
|
|
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_39e1db95_lang-Dp7tIi0S.js";
|
|
9
|
+
import "./index-DK9-eF24.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 kt } from "./index-BvyM6d06.js";
|
|
13
|
+
import "./index-CjNWVVhm.js";
|
|
14
|
+
import "./index-CYjsE5Gs.js";
|
|
15
|
+
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-F0z3GN7j.js";
|
|
16
|
+
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-DU02c_91.js";
|
|
17
17
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
import { s as Ft } from "./index-
|
|
19
|
-
import { T as Y } from "./svgIcon-
|
|
20
|
-
const I = 1e-3, oe =
|
|
18
|
+
import { s as Ft } from "./index-DJrzqi4-.js";
|
|
19
|
+
import { T as Y } from "./svgIcon-4m2zaZkj.js";
|
|
20
|
+
const I = 1e-3, oe = pt.degToRad, je = new dt({
|
|
21
21
|
// 灰色
|
|
22
22
|
color: 13421772,
|
|
23
23
|
metalness: 0.3,
|
|
@@ -54,7 +54,7 @@ const Je = (y) => y.reduce((v, d) => {
|
|
|
54
54
|
return v;
|
|
55
55
|
};
|
|
56
56
|
function Yt(y, v) {
|
|
57
|
-
const d = new
|
|
57
|
+
const d = new ut();
|
|
58
58
|
d.name = "CompletePipe";
|
|
59
59
|
const n = {
|
|
60
60
|
pos: new D(0, 0, 0),
|
|
@@ -669,8 +669,7 @@ ${G.value.join(" ")}
|
|
|
669
669
|
placeholder: _e.value
|
|
670
670
|
}, null, 8, ["modelValue", "placeholder"])
|
|
671
671
|
]),
|
|
672
|
-
_: 1
|
|
673
|
-
__: [11]
|
|
672
|
+
_: 1
|
|
674
673
|
}, 8, ["modelValue"])
|
|
675
674
|
]);
|
|
676
675
|
};
|
|
@@ -726,7 +725,7 @@ ${G.value.join(" ")}
|
|
|
726
725
|
}, B = () => {
|
|
727
726
|
const { form: S, list: P } = g.value, {
|
|
728
727
|
outerDiameter: N
|
|
729
|
-
} = S, E = N / 2, J = P == null ? void 0 : P.map((te) => {
|
|
728
|
+
} = S, E = N / 2, J = P == null ? void 0 : P.map(((te) => {
|
|
730
729
|
const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
|
|
731
730
|
return ne ? {
|
|
732
731
|
Y: ne,
|
|
@@ -739,7 +738,7 @@ ${G.value.join(" ")}
|
|
|
739
738
|
C: ie,
|
|
740
739
|
R: F
|
|
741
740
|
};
|
|
742
|
-
});
|
|
741
|
+
}));
|
|
743
742
|
p();
|
|
744
743
|
const O = Yt(J, E);
|
|
745
744
|
c(O);
|
|
@@ -988,7 +987,7 @@ ${G.value.join(" ")}
|
|
|
988
987
|
toggleAxesVisibility: ee,
|
|
989
988
|
zoomIn: G,
|
|
990
989
|
zoomOut: _e
|
|
991
|
-
} = Ne(n), { loadSceneFromFile: ve } =
|
|
990
|
+
} = Ne(n), { loadSceneFromFile: ve } = at(
|
|
992
991
|
V,
|
|
993
992
|
T,
|
|
994
993
|
_,
|
|
@@ -1229,7 +1228,7 @@ ${G.value.join(" ")}
|
|
|
1229
1228
|
value: X(J),
|
|
1230
1229
|
onChange: we
|
|
1231
1230
|
}, null, 8, ["value"])) : ke("", !0),
|
|
1232
|
-
f.value === "工件树" ? (Q(), ye(
|
|
1231
|
+
f.value === "工件树" ? (Q(), ye(nt, {
|
|
1233
1232
|
key: 2,
|
|
1234
1233
|
model: (x = X(W)) == null ? void 0 : x.obj,
|
|
1235
1234
|
onVisibleChange: X(ie),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as ge, ref as r, computed as k, watch as X, onUnmounted as De, resolveComponent as G,
|
|
2
|
-
import { s as pe } from "./threeViewerHost-
|
|
3
|
-
import { u as Ge, a as He, b as Ie, C as We } from "./iconfont-
|
|
4
|
-
import { U as Xe, u as Ye,
|
|
5
|
-
import { c as Ke } from "./index-
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
7
|
-
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-
|
|
9
|
-
import { E as _ } from "./request-
|
|
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-BMUhfp_Z.js";
|
|
3
|
+
import { u as Ge, a as He, b as Ie, C as We } from "./iconfont-BJYdStg5.js";
|
|
4
|
+
import { U as Xe, u as Ye, W as Ze, a as qe } from "./workpieceTreePanel-XH9mYAT2.js";
|
|
5
|
+
import { c as Ke } from "./index-B8NQAdR4.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.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-DU02c_91.js";
|
|
9
|
+
import { E as _ } from "./request-BfrhYBTM.js";
|
|
10
10
|
import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { T as y } from "./svgIcon-
|
|
12
|
-
import { i as at } from "./animationData-
|
|
13
|
-
import { O as ot } from "./MTLLoader-
|
|
11
|
+
import { T as y } from "./svgIcon-4m2zaZkj.js";
|
|
12
|
+
import { i as at } from "./animationData-F0z3GN7j.js";
|
|
13
|
+
import { O as ot } from "./MTLLoader-B6ottYFV.js";
|
|
14
14
|
const st = { class: "panel-content" }, it = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "animation-controls"
|
|
@@ -172,9 +172,9 @@ ${R.value.join(" ")}
|
|
|
172
172
|
])
|
|
173
173
|
])
|
|
174
174
|
])) : U("", !0),
|
|
175
|
-
i.value.length === 0 ? (g(), x("div", dt, l[9] || (l[9] = [
|
|
175
|
+
i.value.length === 0 ? (g(), x("div", dt, [...l[9] || (l[9] = [
|
|
176
176
|
n("p", null, "请先创建数据", -1)
|
|
177
|
-
]))) : U("", !0),
|
|
177
|
+
])])) : U("", !0),
|
|
178
178
|
s(m, {
|
|
179
179
|
modelValue: T.value,
|
|
180
180
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => T.value = p),
|
|
@@ -204,8 +204,7 @@ ${R.value.join(" ")}
|
|
|
204
204
|
placeholder: ne.value
|
|
205
205
|
}, null, 8, ["modelValue", "placeholder"])
|
|
206
206
|
]),
|
|
207
|
-
_: 1
|
|
208
|
-
__: [10]
|
|
207
|
+
_: 1
|
|
209
208
|
}, 8, ["modelValue"])
|
|
210
209
|
]);
|
|
211
210
|
};
|
|
@@ -259,7 +258,7 @@ ${R.value.join(" ")}
|
|
|
259
258
|
toggleAxesVisibility: l,
|
|
260
259
|
zoomIn: b,
|
|
261
260
|
zoomOut: A
|
|
262
|
-
} = Ge(c), { loadSceneFromFile: u } =
|
|
261
|
+
} = Ge(c), { loadSceneFromFile: u } = qe(
|
|
263
262
|
D,
|
|
264
263
|
N,
|
|
265
264
|
h,
|
|
@@ -466,7 +465,7 @@ ${R.value.join(" ")}
|
|
|
466
465
|
value: z(E),
|
|
467
466
|
onChange: je
|
|
468
467
|
}, null, 8, ["value"])) : U("", !0),
|
|
469
|
-
v.value === "工件树" ? (g(), de(
|
|
468
|
+
v.value === "工件树" ? (g(), de(Ze, {
|
|
470
469
|
key: 2,
|
|
471
470
|
model: ($ = z(Ce)) == null ? void 0 : $.obj,
|
|
472
471
|
onVisibleChange: z(Pe),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ce, computed as U, ref as k, resolveComponent as E,
|
|
2
|
-
import { u as De, a as Ne, b as Ze, C as Be, f as Ie, d as re } from "./iconfont-
|
|
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,
|
|
4
|
-
import "./index-
|
|
5
|
-
import { U as et, J as tt } from "./urdfTree-
|
|
6
|
-
import { E as B } from "./request-
|
|
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, C as Be, f as Ie, d as re } from "./iconfont-BJYdStg5.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_39e1db95_lang-Dp7tIi0S.js";
|
|
4
|
+
import "./index-B8NQAdR4.js";
|
|
5
|
+
import { U as et, J as tt } from "./urdfTree-DU02c_91.js";
|
|
6
|
+
import { E as B } from "./request-BfrhYBTM.js";
|
|
7
7
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { T as w } from "./svgIcon-
|
|
9
|
-
import { i as nt } from "./isString-
|
|
8
|
+
import { T as w } from "./svgIcon-4m2zaZkj.js";
|
|
9
|
+
import { i as nt } from "./isString-Dxm3W5iX.js";
|
|
10
10
|
function ot(e = 0.5, n = 4) {
|
|
11
11
|
const o = new Oe(
|
|
12
12
|
new Ge(e, n, 32),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as U, defineAsyncComponent as b, computed as I, ref as R, watch as H,
|
|
2
|
-
import { Y as W, u as A, p as D, s as $ } from "./index-
|
|
3
|
-
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { defineComponent as U, defineAsyncComponent as b, computed as I, ref as R, watch as H, openBlock as T, createElementBlock as N, createElementVNode as K, renderSlot as u, unref as m, createBlock as B, withCtx as d, createCommentVNode as V } from "vue";
|
|
2
|
+
import { Y as W, u as A, p as D, s as $ } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js";
|
|
4
4
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const re = {
|
|
6
6
|
SINGLE: "单机",
|
|
@@ -112,7 +112,7 @@ const z = { class: "three-platform mv-inline" }, J = { class: "top-menu" }, Q =
|
|
|
112
112
|
height: { default: "100%" }
|
|
113
113
|
},
|
|
114
114
|
setup(E) {
|
|
115
|
-
const O = b(() => import("./threeSceneView-
|
|
115
|
+
const O = b(() => import("./threeSceneView-BbM1FFcc.js")), y = b(() => import("./threePreview-CpcrqmFS.js")), i = b(() => import("./threeTrackPathView-Bw6e-quT.js")), p = b(() => import("./threeSceneViewForCPMPIP-4bANk0sU.js")), n = E, P = A(D), { platName: f } = $(P), { isUrdf: _, isTrackPathFile: g } = q(), c = I(() => {
|
|
116
116
|
var t;
|
|
117
117
|
return (t = n == null ? void 0 : n.files) == null ? void 0 : t.map((s) => {
|
|
118
118
|
const { url: e, name: r } = s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as I, ref as F, watch as M, onMounted as C, onUnmounted as E,
|
|
2
|
-
import { h as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { defineComponent as I, ref as F, watch as M, onMounted as C, onUnmounted as E, openBlock as m, createElementBlock as f, Fragment as P, renderList as T, createElementVNode as d, toDisplayString as h, createCommentVNode as U, computed as L, resolveComponent as S, createVNode as A } from "vue";
|
|
2
|
+
import { h as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const D = (i, a) => {
|
|
5
5
|
if (!a)
|
|
@@ -109,9 +109,9 @@ const D = (i, a) => {
|
|
|
109
109
|
k();
|
|
110
110
|
}), a({
|
|
111
111
|
resetAllJoints: g
|
|
112
|
-
}), (n, e) => (
|
|
113
|
-
o.value.length > 0 ? (
|
|
114
|
-
(
|
|
112
|
+
}), (n, e) => (m(), f("div", R, [
|
|
113
|
+
o.value.length > 0 ? (m(), f("div", O, [
|
|
114
|
+
(m(!0), f(P, null, T(o.value, (s) => (m(), f("div", {
|
|
115
115
|
key: s.name,
|
|
116
116
|
class: "joint-item"
|
|
117
117
|
}, [
|
|
@@ -122,7 +122,7 @@ const D = (i, a) => {
|
|
|
122
122
|
]),
|
|
123
123
|
d("span", z, h(s.type), 1)
|
|
124
124
|
]),
|
|
125
|
-
s.type === "revolute" || s.type === "prismatic" || s.type === "continuous" ? (
|
|
125
|
+
s.type === "revolute" || s.type === "prismatic" || s.type === "continuous" ? (m(), f("div", G, [
|
|
126
126
|
d("div", H, [
|
|
127
127
|
d("input", {
|
|
128
128
|
type: "range",
|
|
@@ -140,9 +140,9 @@ const D = (i, a) => {
|
|
|
140
140
|
])
|
|
141
141
|
])) : U("", !0)
|
|
142
142
|
]))), 128))
|
|
143
|
-
])) : (
|
|
143
|
+
])) : (m(), f("div", Z, [...e[0] || (e[0] = [
|
|
144
144
|
d("p", null, "未检测到可控制的关节", -1)
|
|
145
|
-
])))
|
|
145
|
+
])]))
|
|
146
146
|
]));
|
|
147
147
|
}
|
|
148
148
|
}), ce = /* @__PURE__ */ b(j, [["__scopeId", "data-v-b1467983"]]), ee = { class: "panel-content" }, te = "id", se = {
|
|
@@ -231,7 +231,7 @@ const D = (i, a) => {
|
|
|
231
231
|
{ immediate: !0 }
|
|
232
232
|
), (e, s) => {
|
|
233
233
|
const r = S("el-tree");
|
|
234
|
-
return
|
|
234
|
+
return m(), f("div", ee, [
|
|
235
235
|
A(r, {
|
|
236
236
|
data: u.value,
|
|
237
237
|
props: _,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var ce = Object.defineProperty;
|
|
2
2
|
var de = (b, l, t) => l in b ? ce(b, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : b[l] = t;
|
|
3
3
|
var J = (b, l, t) => de(b, typeof l != "symbol" ? l + "" : l, t);
|
|
4
|
-
import { U as me } from "./URDFLoader-
|
|
5
|
-
import { S as ve, M as pe, O as fe } from "./MTLLoader-
|
|
6
|
-
import { b2 as be, b3 as re, s as O, k as we, h as he, b4 as E, B as
|
|
7
|
-
import { ref as T, defineComponent as Le, computed as M, watch as ue, resolveComponent as x,
|
|
8
|
-
import { c as Re, e as Ue, g as $e } from "./iconfont-
|
|
4
|
+
import { U as me } from "./URDFLoader-CH-7Pzmq.js";
|
|
5
|
+
import { S as ve, M as pe, O as fe } from "./MTLLoader-B6ottYFV.js";
|
|
6
|
+
import { b2 as be, b3 as re, s as O, k as we, h as he, b4 as E, B as ge, b5 as _e, ap as je, V as ye } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js";
|
|
7
|
+
import { ref as T, defineComponent as Le, computed as M, watch as ue, resolveComponent as x, openBlock as k, createElementBlock as V, createVNode as U, withCtx as F, createTextVNode as D, createElementVNode as c, toDisplayString as C } from "vue";
|
|
8
|
+
import { c as Re, e as Ue, g as $e } from "./iconfont-BJYdStg5.js";
|
|
9
9
|
import { _ as Ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const Se = "http://222.92.178.198:60000/chfs/shared/Insofrobot/urdf";
|
|
11
11
|
function Me(b) {
|
|
@@ -20,13 +20,13 @@ function De(b) {
|
|
|
20
20
|
const { manager: l, baseFolderUrl: t, onFileProgress: s } = b, m = new me(l);
|
|
21
21
|
return m.packages = (i) => `${t.endsWith("/") ? t : t + "/"}${i}/`, m.loadMeshCb = (i, h, v) => {
|
|
22
22
|
const y = (() => {
|
|
23
|
-
const
|
|
24
|
-
return r >= 0 ?
|
|
23
|
+
const g = i.split("?")[0].split("#")[0], r = g.lastIndexOf(".");
|
|
24
|
+
return r >= 0 ? g.slice(r + 1).toLowerCase() : void 0;
|
|
25
25
|
})();
|
|
26
26
|
switch (y) {
|
|
27
27
|
// OBJ+MTL
|
|
28
28
|
case "obj": {
|
|
29
|
-
const
|
|
29
|
+
const g = (() => {
|
|
30
30
|
try {
|
|
31
31
|
return new URL(".", i).toString();
|
|
32
32
|
} catch {
|
|
@@ -36,7 +36,7 @@ function De(b) {
|
|
|
36
36
|
})(), r = (() => {
|
|
37
37
|
var u;
|
|
38
38
|
return (((u = i.split("/").pop()) == null ? void 0 : u.split("?")[0].split("#")[0]) ?? "").replace(/\.[^/.?#]+$/, "");
|
|
39
|
-
})(), f = `${
|
|
39
|
+
})(), f = `${g}${r}.mtl`, _ = (n) => {
|
|
40
40
|
Fe({
|
|
41
41
|
objUrl: i,
|
|
42
42
|
manager: h,
|
|
@@ -51,17 +51,17 @@ function De(b) {
|
|
|
51
51
|
Me({
|
|
52
52
|
mtlUrl: f,
|
|
53
53
|
manager: h,
|
|
54
|
-
resourcePath:
|
|
54
|
+
resourcePath: g,
|
|
55
55
|
onLoad: (n) => {
|
|
56
56
|
try {
|
|
57
57
|
n.preload();
|
|
58
58
|
} catch {
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
_(n);
|
|
61
61
|
},
|
|
62
62
|
onProgress: (n) => s == null ? void 0 : s(f, n == null ? void 0 : n.loaded, n == null ? void 0 : n.total),
|
|
63
63
|
onError: (n) => {
|
|
64
|
-
console.warn(`[URDF 资源警告] 未找到或加载材质失败: ${f}。将尝试无材质加载。`),
|
|
64
|
+
console.warn(`[URDF 资源警告] 未找到或加载材质失败: ${f}。将尝试无材质加载。`), _(void 0);
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
break;
|
|
@@ -70,8 +70,8 @@ function De(b) {
|
|
|
70
70
|
new ve(h).load(
|
|
71
71
|
i,
|
|
72
72
|
(r) => {
|
|
73
|
-
const f = new we({ color: 12303291, shininess: 30 }),
|
|
74
|
-
|
|
73
|
+
const f = new we({ color: 12303291, shininess: 30 }), _ = new he(r, f);
|
|
74
|
+
_.castShadow = !0, _.receiveShadow = !0, v(_);
|
|
75
75
|
},
|
|
76
76
|
(r) => s == null ? void 0 : s(i, r == null ? void 0 : r.loaded, r == null ? void 0 : r.total),
|
|
77
77
|
(r) => {
|
|
@@ -88,17 +88,17 @@ function De(b) {
|
|
|
88
88
|
function dt(b, l, t, s) {
|
|
89
89
|
return { loadSceneFromFile: (i) => new Promise((h, v) => {
|
|
90
90
|
t.value = !0, s.value = "正在初始化 URDF 加载器...";
|
|
91
|
-
let y = 0,
|
|
91
|
+
let y = 0, g = 0, r = null;
|
|
92
92
|
const f = new be();
|
|
93
93
|
f.onStart = (n, u, j) => {
|
|
94
|
-
y = j || 0,
|
|
94
|
+
y = j || 0, g = u || 0, s.value = y > 0 ? `开始下载资源: 0 / ${y}` : "开始下载资源...", t.value = !0;
|
|
95
95
|
}, f.onProgress = (n, u, j) => {
|
|
96
|
-
|
|
96
|
+
g = u, y = j;
|
|
97
97
|
const $ = `正在加载 ${u} / ${j} 个文件: ${re(n)}`;
|
|
98
98
|
s.value = $, u === j && (s.value = "资源加载完成,正在处理模型...", setTimeout(() => {
|
|
99
99
|
if (r) {
|
|
100
100
|
r.updateMatrixWorld(!0);
|
|
101
|
-
const p = new
|
|
101
|
+
const p = new ge().setFromObject(r);
|
|
102
102
|
p.isEmpty() && console.warn("模型加载完成,但所有可视化网格均加载失败,模型将不可见。"), r.userData.boundingBox = p, r.traverse((d) => {
|
|
103
103
|
d.isMesh && (d.castShadow = !0, d.receiveShadow = !0);
|
|
104
104
|
}), h(r);
|
|
@@ -111,17 +111,17 @@ function dt(b, l, t, s) {
|
|
|
111
111
|
}, f.onError = (n) => {
|
|
112
112
|
console.warn(`LoadingManager 报告一个资源加载失败: ${n}。加载流程将继续。`);
|
|
113
113
|
};
|
|
114
|
-
const
|
|
114
|
+
const _ = (n, u, j) => {
|
|
115
115
|
const $ = re(n);
|
|
116
116
|
let p;
|
|
117
|
-
j && j > 0 ? p = `${$}(${E(u)} / ${E(j)})` : u && u > 0 ? p = `${$}(已下载 ${E(u)})` : p = `${$}`, s.value = `正在下载第 ${
|
|
117
|
+
j && j > 0 ? p = `${$}(${E(u)} / ${E(j)})` : u && u > 0 ? p = `${$}(已下载 ${E(u)})` : p = `${$}`, s.value = `正在下载第 ${g + 1} / ${y} 个文件: ${p}`;
|
|
118
118
|
};
|
|
119
119
|
try {
|
|
120
120
|
const n = URL.createObjectURL(i);
|
|
121
121
|
De({
|
|
122
122
|
manager: f,
|
|
123
123
|
baseFolderUrl: Se,
|
|
124
|
-
onFileProgress:
|
|
124
|
+
onFileProgress: _
|
|
125
125
|
}).load(
|
|
126
126
|
n,
|
|
127
127
|
(j) => {
|
|
@@ -139,8 +139,8 @@ function dt(b, l, t, s) {
|
|
|
139
139
|
}
|
|
140
140
|
function mt(b, l, t, s = ["URDFVisual"]) {
|
|
141
141
|
let m = null;
|
|
142
|
-
const i = T(null), h = new
|
|
143
|
-
function
|
|
142
|
+
const i = T(null), h = new _e(), v = new je(), y = /* @__PURE__ */ new Map();
|
|
143
|
+
function g() {
|
|
144
144
|
t.value.forEach((p) => {
|
|
145
145
|
p.traverse((d) => {
|
|
146
146
|
s != null && s.includes(d.type) && y.set(d.id, {
|
|
@@ -176,12 +176,12 @@ function mt(b, l, t, s = ["URDFVisual"]) {
|
|
|
176
176
|
}
|
|
177
177
|
w && r(w);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function _() {
|
|
180
180
|
b.value && b.value.removeEventListener("click", f, !1);
|
|
181
181
|
}
|
|
182
182
|
function n() {
|
|
183
183
|
const { scene: p, camera: d } = l();
|
|
184
|
-
m = d,
|
|
184
|
+
m = d, g(), b.value && b.value.addEventListener("click", f, !1);
|
|
185
185
|
}
|
|
186
186
|
function u(p) {
|
|
187
187
|
i.value && (i.value.obj.visible = p);
|
|
@@ -198,7 +198,7 @@ function mt(b, l, t, s = ["URDFVisual"]) {
|
|
|
198
198
|
}
|
|
199
199
|
return {
|
|
200
200
|
initRaycaster: n,
|
|
201
|
-
dispose:
|
|
201
|
+
dispose: _,
|
|
202
202
|
selectedObject3D: i,
|
|
203
203
|
setSelectedObjVisible: u,
|
|
204
204
|
updatePosition: j,
|
|
@@ -279,11 +279,11 @@ class vt {
|
|
|
279
279
|
const m = this.getCurrentJointStates(), i = Date.now();
|
|
280
280
|
return new Promise((h) => {
|
|
281
281
|
const v = () => {
|
|
282
|
-
const y = Date.now() - i,
|
|
283
|
-
Object.keys(l).forEach((
|
|
284
|
-
const n = m[
|
|
285
|
-
f[
|
|
286
|
-
}), this.setJointAngles(f), s && s(
|
|
282
|
+
const y = Date.now() - i, g = Math.min(y / t, 1), r = this.easeInOutCubic(g), f = {};
|
|
283
|
+
Object.keys(l).forEach((_) => {
|
|
284
|
+
const n = m[_] || 0, u = l[_];
|
|
285
|
+
f[_] = n + (u - n) * r;
|
|
286
|
+
}), this.setJointAngles(f), s && s(g), g < 1 ? requestAnimationFrame(v) : h();
|
|
287
287
|
};
|
|
288
288
|
v();
|
|
289
289
|
});
|
|
@@ -353,7 +353,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
353
353
|
L.children && L.children.length > 0 && (w.push(L.id), a.push(...L.children));
|
|
354
354
|
}
|
|
355
355
|
return w;
|
|
356
|
-
},
|
|
356
|
+
}, g = (e, o) => {
|
|
357
357
|
const w = [];
|
|
358
358
|
return e.forEach((a) => {
|
|
359
359
|
if (a.children && a.children.length > 0) {
|
|
@@ -363,8 +363,8 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
363
363
|
}
|
|
364
364
|
}), w.slice(0, o + 1);
|
|
365
365
|
};
|
|
366
|
-
M(() => !m.value || m.value.length === 0 ? [] : t.expandStrategy === "firstLevel" ?
|
|
367
|
-
const r = (e) => e ? parseFloat(e.toFixed(3)) : 0, f = (e) => e ? parseFloat(e.toFixed(1)) : 0,
|
|
366
|
+
M(() => !m.value || m.value.length === 0 ? [] : t.expandStrategy === "firstLevel" ? g(m.value, t.maxExpandCount) : y(m.value, t.maxExpandCount));
|
|
367
|
+
const r = (e) => e ? parseFloat(e.toFixed(3)) : 0, f = (e) => e ? parseFloat(e.toFixed(1)) : 0, _ = (e, o) => {
|
|
368
368
|
s("updatePosition", {
|
|
369
369
|
obj: t.model,
|
|
370
370
|
axis: o,
|
|
@@ -402,16 +402,15 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
402
402
|
), (e, o) => {
|
|
403
403
|
var S, z, P, A, I, B, N, W, q, X, Y, Z, K, G, H, Q, ee, te, oe, se, ie, le, ae, ne;
|
|
404
404
|
const w = x("el-divider"), a = x("el-switch"), L = x("el-input-number");
|
|
405
|
-
return
|
|
405
|
+
return k(), V("div", Je, [
|
|
406
406
|
U(w, null, {
|
|
407
|
-
default: F(() => o[6] || (o[6] = [
|
|
408
|
-
D("对象")
|
|
409
|
-
])),
|
|
410
|
-
_: 1
|
|
411
|
-
__: [6]
|
|
407
|
+
default: F(() => [...o[6] || (o[6] = [
|
|
408
|
+
D("对象", -1)
|
|
409
|
+
])]),
|
|
410
|
+
_: 1
|
|
412
411
|
}),
|
|
413
412
|
c("div", Oe, [
|
|
414
|
-
t.model ? (
|
|
413
|
+
t.model ? (k(), V("div", Ee, [
|
|
415
414
|
c("div", {
|
|
416
415
|
class: "obj-name",
|
|
417
416
|
title: $.value
|
|
@@ -420,25 +419,24 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
420
419
|
class: "obj-type",
|
|
421
420
|
title: p.value
|
|
422
421
|
}, "[" + C(p.value) + "]", 9, ke)
|
|
423
|
-
])) : (
|
|
422
|
+
])) : (k(), V("div", Ve, "空")),
|
|
424
423
|
U(a, {
|
|
425
424
|
"model-value": d.value,
|
|
426
425
|
onChange: u
|
|
427
426
|
}, null, 8, ["model-value"])
|
|
428
427
|
]),
|
|
429
428
|
U(w, null, {
|
|
430
|
-
default: F(() => o[7] || (o[7] = [
|
|
431
|
-
D("相对位置")
|
|
432
|
-
])),
|
|
433
|
-
_: 1
|
|
434
|
-
__: [7]
|
|
429
|
+
default: F(() => [...o[7] || (o[7] = [
|
|
430
|
+
D("相对位置", -1)
|
|
431
|
+
])]),
|
|
432
|
+
_: 1
|
|
435
433
|
}),
|
|
436
434
|
c("div", Te, [
|
|
437
435
|
c("div", ze, [
|
|
438
436
|
o[8] || (o[8] = c("span", { class: "axis-label" }, "X", -1)),
|
|
439
437
|
U(L, {
|
|
440
438
|
"model-value": r((z = (S = i.value) == null ? void 0 : S.position) == null ? void 0 : z.x),
|
|
441
|
-
onChange: o[0] || (o[0] = (R) =>
|
|
439
|
+
onChange: o[0] || (o[0] = (R) => _(R, "x")),
|
|
442
440
|
size: "small",
|
|
443
441
|
class: "coord-input-compact",
|
|
444
442
|
precision: 3,
|
|
@@ -451,7 +449,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
451
449
|
o[9] || (o[9] = c("span", { class: "axis-label" }, "Y", -1)),
|
|
452
450
|
U(L, {
|
|
453
451
|
"model-value": r((A = (P = i.value) == null ? void 0 : P.position) == null ? void 0 : A.y),
|
|
454
|
-
onChange: o[1] || (o[1] = (R) =>
|
|
452
|
+
onChange: o[1] || (o[1] = (R) => _(R, "y")),
|
|
455
453
|
size: "small",
|
|
456
454
|
class: "coord-input-compact",
|
|
457
455
|
precision: 3,
|
|
@@ -464,7 +462,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
464
462
|
o[10] || (o[10] = c("span", { class: "axis-label" }, "Z", -1)),
|
|
465
463
|
U(L, {
|
|
466
464
|
"model-value": r((B = (I = i.value) == null ? void 0 : I.position) == null ? void 0 : B.z),
|
|
467
|
-
onChange: o[2] || (o[2] = (R) =>
|
|
465
|
+
onChange: o[2] || (o[2] = (R) => _(R, "z")),
|
|
468
466
|
size: "small",
|
|
469
467
|
class: "coord-input-compact",
|
|
470
468
|
precision: 3,
|
|
@@ -475,11 +473,10 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
475
473
|
])
|
|
476
474
|
]),
|
|
477
475
|
U(w, null, {
|
|
478
|
-
default: F(() => o[11] || (o[11] = [
|
|
479
|
-
D("相对旋转")
|
|
480
|
-
])),
|
|
481
|
-
_: 1
|
|
482
|
-
__: [11]
|
|
476
|
+
default: F(() => [...o[11] || (o[11] = [
|
|
477
|
+
D("相对旋转", -1)
|
|
478
|
+
])]),
|
|
479
|
+
_: 1
|
|
483
480
|
}),
|
|
484
481
|
c("div", Ie, [
|
|
485
482
|
c("div", Be, [
|
|
@@ -523,11 +520,10 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
523
520
|
])
|
|
524
521
|
]),
|
|
525
522
|
U(w, null, {
|
|
526
|
-
default: F(() => o[15] || (o[15] = [
|
|
527
|
-
D("世界信息")
|
|
528
|
-
])),
|
|
529
|
-
_: 1
|
|
530
|
-
__: [15]
|
|
523
|
+
default: F(() => [...o[15] || (o[15] = [
|
|
524
|
+
D("世界信息", -1)
|
|
525
|
+
])]),
|
|
526
|
+
_: 1
|
|
531
527
|
}),
|
|
532
528
|
c("div", qe, [
|
|
533
529
|
c("div", Xe, [
|