ss-component-new 1.3.604 → 1.3.606
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-IoORm7Xy.js → MTLLoader-BL2uYkTJ.js} +2 -2
- package/dist/{OrbitControls-DjKxlySM.js → OrbitControls-Zyj23qrC.js} +1 -1
- package/dist/{URDFLoader-5h_AgL9v.js → URDFLoader-CRx5L75v.js} +584 -589
- package/dist/{animationData-DCvSnnkl.js → animationData-CJQE6_nu.js} +3 -3
- package/dist/{array-Bn8J1Ybt.js → array-BkavaXXQ.js} +14 -13
- package/dist/{clone-MyfSNInd.js → clone-ESeDvnJv.js} +1 -1
- package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-C7Pz9jha.js} +2 -2
- package/dist/{iconfont-C1vgOyVl.js → iconfont-BnmSp7qc.js} +4 -4
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-BvtOLltL.js → index-B0M1YCUY.js} +7 -7
- package/dist/{index-CnVTTuJX.js → index-B4-GD2HP.js} +3 -3
- package/dist/{index-DfDUkCbN.js → index-BA1kJZth.js} +40 -36
- package/dist/{index-CT1LWsrT.js → index-BBBCr4Oo.js} +2 -2
- package/dist/{index-DGuZ5wp-.js → index-BG89B83e.js} +157 -148
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-CcNofqvR.js → index-BOqo9XDw.js} +6 -6
- package/dist/{index-DcPtyCDm.js → index-BUqviBFi.js} +35 -29
- package/dist/{index-B2LYEScO.js → index-BXh02EAd.js} +4 -4
- package/dist/{index-CkO7j_i1.js → index-B_fRppeJ.js} +8 -8
- package/dist/{index-DO2hRjRp.js → index-Bdlw5PXG.js} +5 -5
- package/dist/{index-6qXeMn6b.js → index-BvkIoiVW.js} +3 -3
- package/dist/{index-D33gkv3n.js → index-C31Pm35-.js} +608 -573
- package/dist/{index-DIVct0z6.js → index-C3pboX9W.js} +5 -5
- package/dist/{index-CahXu506.js → index-C5QKOpfx.js} +8568 -9008
- package/dist/{index-CHITXBP8.js → index-CC5AxngM.js} +4 -4
- package/dist/{index-BkkvdZXm.js → index-CPW7tdrA.js} +20 -17
- package/dist/{index-BooTxrf0.js → index-CTicGWoS.js} +3 -3
- package/dist/{index-BybrpYzx.js → index-CX8Apbo7.js} +1 -1
- package/dist/{index-BEIX2w-s.js → index-ClbVbnpS.js} +20 -18
- package/dist/{index-DmILGKv9.js → index-D1E8EPxn.js} +61 -57
- package/dist/{index-B8NQAdR4.js → index-D8UY4uNQ.js} +967 -966
- package/dist/{index-CYjsE5Gs.js → index-D9xMYIes.js} +3 -3
- package/dist/{index-D9UIlesH.js → index-DADd4cmS.js} +15864 -15831
- package/dist/{index-M7J_qxQw.js → index-DIC1IjU6.js} +62 -60
- package/dist/{index-CymdCuJN.js → index-DkumSU1-.js} +4 -4
- package/dist/{index-CvZcm-Tt.js → index-DlQXFCw8.js} +8 -7
- package/dist/{index-BvyM6d06.js → index-DsdWSuDi.js} +483 -482
- package/dist/{index-DYGcFilp.js → index-UC3celFR.js} +8 -8
- package/dist/{index-DCY5J8nu.js → index-XvX6TMzr.js} +1 -1
- package/dist/{index-B4NcYIuS.js → index-YvUJL9Us.js} +1 -1
- package/dist/index-iD7cVTqr.js +572 -0
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-CM6aWexA.js → index-tMqKF2l6.js} +2 -2
- 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
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js} +27735 -27760
- package/dist/isString-BlNsHiyU.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-1mbUGlWA.js → main-CmzE3HuC.js} +9 -9
- package/dist/{menuIndex-BiUB7t5q.js → menuIndex-DAW9B-9g.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-BfrhYBTM.js → request-B1c8BUkR.js} +3075 -3493
- 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-4u4PW7Is.js +42 -0
- package/dist/{threeModel-BpG-AcGZ.js → threeModel-DDlWUHsN.js} +174 -174
- package/dist/{threePreview-CwE8MXTl.js → threePreview-CVO6XMIe.js} +13 -13
- package/dist/{threeSceneView-DGvDz7Lr.js → threeSceneView-BQXSPHMu.js} +25 -24
- package/dist/{threeSceneViewForCPMPIP-CalaPv9B.js → threeSceneViewForCPMPIP-BYUnvSDz.js} +18 -17
- package/dist/{threeTrackPathView-6-V10AFb.js → threeTrackPathView-7_x3jeap.js} +8 -8
- package/dist/{threeViewerHost-BsUgakNM.js → threeViewerHost-DTWrmIQy.js} +4 -4
- package/dist/{urdfTree-PYe9AY5_.js → urdfTree-D0Iom75E.js} +9 -9
- package/dist/{workpieceTreePanel-D5mGwMQx.js → workpieceTreePanel-DEEMKY1v.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-o5SO709_.js +0 -2623
- package/dist/isString-Dxm3W5iX.js +0 -8
- package/dist/svgIcon-4m2zaZkj.js +0 -42
|
@@ -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, createElementBlock as l0, openBlock as a0, createElementVNode as v, withDirectives as K0, createCommentVNode as h0, createVNode as q, unref as B, renderSlot as g0, toDisplayString as _0, withCtx as X0, createBlock 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, o 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-X_k372gl.js";
|
|
3
|
+
import "./index-D8UY4uNQ.js";
|
|
4
|
+
import { u as Ue, a as xe, b as qe, C as Be } from "./iconfont-BnmSp7qc.js";
|
|
5
|
+
import { M as Ve, O as Pe, S as We } from "./MTLLoader-BL2uYkTJ.js";
|
|
6
|
+
import { T as W } from "./svgIcon-4u4PW7Is.js";
|
|
7
|
+
import { E as I0 } from "./request-B1c8BUkR.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
|
+
g0(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
|
+
g0(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, _0(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"])) : h0("", !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, _0(B(h)), 1)
|
|
2255
|
+
])) : h0("", !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, createElementBlock as Ve, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, createCommentVNode as ke, unref as X, 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-DTWrmIQy.js";
|
|
3
|
+
import { u as Ne, a as Qe, b as et, C as tt } from "./iconfont-BnmSp7qc.js";
|
|
4
|
+
import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-DEEMKY1v.js";
|
|
5
|
+
import { c as st } from "./index-D8UY4uNQ.js";
|
|
6
|
+
import { av as it, E as j, aM as rt, aN as ct } from "./request-B1c8BUkR.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 { p as De, T as xe, V as D, n as H, o as ut, s 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-X_k372gl.js";
|
|
9
|
+
import "./index-DADd4cmS.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 kt } from "./index-DsdWSuDi.js";
|
|
13
|
+
import "./index-iD7cVTqr.js";
|
|
14
|
+
import "./index-D9xMYIes.js";
|
|
15
|
+
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-CJQE6_nu.js";
|
|
16
|
+
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-D0Iom75E.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-11kpzK0A.js";
|
|
19
|
+
import { T as Y } from "./svgIcon-4u4PW7Is.js";
|
|
20
|
+
const I = 1e-3, oe = ut.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 pt();
|
|
58
58
|
d.name = "CompletePipe";
|
|
59
59
|
const n = {
|
|
60
60
|
pos: new D(0, 0, 0),
|
|
@@ -669,7 +669,8 @@ ${G.value.join(" ")}
|
|
|
669
669
|
placeholder: _e.value
|
|
670
670
|
}, null, 8, ["modelValue", "placeholder"])
|
|
671
671
|
]),
|
|
672
|
-
_: 1
|
|
672
|
+
_: 1,
|
|
673
|
+
__: [11]
|
|
673
674
|
}, 8, ["modelValue"])
|
|
674
675
|
]);
|
|
675
676
|
};
|
|
@@ -725,7 +726,7 @@ ${G.value.join(" ")}
|
|
|
725
726
|
}, B = () => {
|
|
726
727
|
const { form: S, list: P } = g.value, {
|
|
727
728
|
outerDiameter: N
|
|
728
|
-
} = S, E = N / 2, J = P == null ? void 0 : P.map((
|
|
729
|
+
} = S, E = N / 2, J = P == null ? void 0 : P.map((te) => {
|
|
729
730
|
const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
|
|
730
731
|
return ne ? {
|
|
731
732
|
Y: ne,
|
|
@@ -738,7 +739,7 @@ ${G.value.join(" ")}
|
|
|
738
739
|
C: ie,
|
|
739
740
|
R: F
|
|
740
741
|
};
|
|
741
|
-
})
|
|
742
|
+
});
|
|
742
743
|
p();
|
|
743
744
|
const O = Yt(J, E);
|
|
744
745
|
c(O);
|
|
@@ -987,7 +988,7 @@ ${G.value.join(" ")}
|
|
|
987
988
|
toggleAxesVisibility: ee,
|
|
988
989
|
zoomIn: G,
|
|
989
990
|
zoomOut: _e
|
|
990
|
-
} = Ne(n), { loadSceneFromFile: ve } =
|
|
991
|
+
} = Ne(n), { loadSceneFromFile: ve } = nt(
|
|
991
992
|
V,
|
|
992
993
|
T,
|
|
993
994
|
_,
|
|
@@ -1228,7 +1229,7 @@ ${G.value.join(" ")}
|
|
|
1228
1229
|
value: X(J),
|
|
1229
1230
|
onChange: we
|
|
1230
1231
|
}, null, 8, ["value"])) : ke("", !0),
|
|
1231
|
-
f.value === "工件树" ? (Q(), ye(
|
|
1232
|
+
f.value === "工件树" ? (Q(), ye(at, {
|
|
1232
1233
|
key: 2,
|
|
1233
1234
|
model: (x = X(W)) == null ? void 0 : x.obj,
|
|
1234
1235
|
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.
|
|
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, 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-DTWrmIQy.js";
|
|
3
|
+
import { u as Ge, a as He, b as Ie, C as We } from "./iconfont-BnmSp7qc.js";
|
|
4
|
+
import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-DEEMKY1v.js";
|
|
5
|
+
import { c as Ke } from "./index-D8UY4uNQ.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.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-D0Iom75E.js";
|
|
9
|
+
import { E as _ } from "./request-B1c8BUkR.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-4u4PW7Is.js";
|
|
12
|
+
import { i as at } from "./animationData-CJQE6_nu.js";
|
|
13
|
+
import { O as ot } from "./MTLLoader-BL2uYkTJ.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,
|
|
175
|
+
i.value.length === 0 ? (g(), x("div", dt, l[9] || (l[9] = [
|
|
176
176
|
n("p", null, "请先创建数据", -1)
|
|
177
|
-
])
|
|
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,7 +204,8 @@ ${R.value.join(" ")}
|
|
|
204
204
|
placeholder: ne.value
|
|
205
205
|
}, null, 8, ["modelValue", "placeholder"])
|
|
206
206
|
]),
|
|
207
|
-
_: 1
|
|
207
|
+
_: 1,
|
|
208
|
+
__: [10]
|
|
208
209
|
}, 8, ["modelValue"])
|
|
209
210
|
]);
|
|
210
211
|
};
|
|
@@ -258,7 +259,7 @@ ${R.value.join(" ")}
|
|
|
258
259
|
toggleAxesVisibility: l,
|
|
259
260
|
zoomIn: b,
|
|
260
261
|
zoomOut: A
|
|
261
|
-
} = Ge(c), { loadSceneFromFile: u } =
|
|
262
|
+
} = Ge(c), { loadSceneFromFile: u } = Ze(
|
|
262
263
|
D,
|
|
263
264
|
N,
|
|
264
265
|
h,
|
|
@@ -465,7 +466,7 @@ ${R.value.join(" ")}
|
|
|
465
466
|
value: z(E),
|
|
466
467
|
onChange: je
|
|
467
468
|
}, null, 8, ["value"])) : U("", !0),
|
|
468
|
-
v.value === "工件树" ? (g(), de(
|
|
469
|
+
v.value === "工件树" ? (g(), de(qe, {
|
|
469
470
|
key: 2,
|
|
470
471
|
model: ($ = z(Ce)) == null ? void 0 : $.obj,
|
|
471
472
|
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, createElementBlock as ee, openBlock as X, createElementVNode as d, createVNode as p, withCtx as I, toDisplayString as Y, shallowRef as D, watch as Ee, onMounted as Xe, onBeforeUnmount as Ye, withDirectives as N, createCommentVNode as S, unref as A, renderSlot as ae, createBlock as le, 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-BnmSp7qc.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, o as Qe, b1 as Se } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js";
|
|
4
|
+
import "./index-D8UY4uNQ.js";
|
|
5
|
+
import { U as et, J as tt } from "./urdfTree-D0Iom75E.js";
|
|
6
|
+
import { E as B } from "./request-B1c8BUkR.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-4u4PW7Is.js";
|
|
9
|
+
import { i as nt } from "./isString-BlNsHiyU.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.
|
|
1
|
+
import { defineComponent as U, defineAsyncComponent as b, computed as I, ref as R, watch as H, createElementBlock as N, openBlock as T, createElementVNode as K, createBlock as B, createCommentVNode as V, renderSlot as u, unref as m, withCtx as d } from "vue";
|
|
2
|
+
import { Y as W, u as A, p as D, s as $ } from "./index-D8UY4uNQ.js";
|
|
3
|
+
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.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-BQXSPHMu.js")), y = b(() => import("./threePreview-CVO6XMIe.js")), i = b(() => import("./threeTrackPathView-7_x3jeap.js")), p = b(() => import("./threeSceneViewForCPMPIP-BYUnvSDz.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.
|
|
1
|
+
import { defineComponent as I, ref as F, watch as M, onMounted as C, onUnmounted as E, createElementBlock as m, openBlock as f, Fragment as P, renderList as T, createElementVNode as d, createCommentVNode as U, toDisplayString as h, 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-X_k372gl.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) => (f(), m("div", R, [
|
|
113
|
+
o.value.length > 0 ? (f(), m("div", O, [
|
|
114
|
+
(f(!0), m(P, null, T(o.value, (s) => (f(), m("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" ? (f(), m("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
|
+
])) : (f(), m("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 f(), m("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-CRx5L75v.js";
|
|
5
|
+
import { S as ve, M as pe, O as fe } from "./MTLLoader-BL2uYkTJ.js";
|
|
6
|
+
import { b2 as be, b3 as re, s as O, k as we, h as he, b4 as E, B as _e, b5 as ge, ap as je, V as ye } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js";
|
|
7
|
+
import { ref as T, defineComponent as Le, computed as M, watch as ue, resolveComponent as x, createElementBlock as k, openBlock as V, createVNode as U, createElementVNode as c, withCtx as F, createTextVNode as D, toDisplayString as C } from "vue";
|
|
8
|
+
import { c as Re, e as Ue, g as $e } from "./iconfont-BnmSp7qc.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 _ = i.split("?")[0].split("#")[0], r = _.lastIndexOf(".");
|
|
24
|
+
return r >= 0 ? _.slice(r + 1).toLowerCase() : void 0;
|
|
25
25
|
})();
|
|
26
26
|
switch (y) {
|
|
27
27
|
// OBJ+MTL
|
|
28
28
|
case "obj": {
|
|
29
|
-
const
|
|
29
|
+
const _ = (() => {
|
|
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 = `${_}${r}.mtl`, g = (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: _,
|
|
55
55
|
onLoad: (n) => {
|
|
56
56
|
try {
|
|
57
57
|
n.preload();
|
|
58
58
|
} catch {
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
g(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}。将尝试无材质加载。`), g(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 }), g = new he(r, f);
|
|
74
|
+
g.castShadow = !0, g.receiveShadow = !0, v(g);
|
|
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, _ = 0, r = null;
|
|
92
92
|
const f = new be();
|
|
93
93
|
f.onStart = (n, u, j) => {
|
|
94
|
-
y = j || 0,
|
|
94
|
+
y = j || 0, _ = u || 0, s.value = y > 0 ? `开始下载资源: 0 / ${y}` : "开始下载资源...", t.value = !0;
|
|
95
95
|
}, f.onProgress = (n, u, j) => {
|
|
96
|
-
|
|
96
|
+
_ = 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 _e().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 g = (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 = `正在下载第 ${_ + 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: g
|
|
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 ge(), v = new je(), y = /* @__PURE__ */ new Map();
|
|
143
|
+
function _() {
|
|
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 g() {
|
|
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, _(), 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: g,
|
|
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, _ = Math.min(y / t, 1), r = this.easeInOutCubic(_), f = {};
|
|
283
|
+
Object.keys(l).forEach((g) => {
|
|
284
|
+
const n = m[g] || 0, u = l[g];
|
|
285
|
+
f[g] = n + (u - n) * r;
|
|
286
|
+
}), this.setJointAngles(f), s && s(_), _ < 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
|
+
}, _ = (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" ? _(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, g = (e, o) => {
|
|
368
368
|
s("updatePosition", {
|
|
369
369
|
obj: t.model,
|
|
370
370
|
axis: o,
|
|
@@ -402,15 +402,16 @@ 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 V(), k("div", Je, [
|
|
406
406
|
U(w, null, {
|
|
407
|
-
default: F(() =>
|
|
408
|
-
D("对象"
|
|
409
|
-
])
|
|
410
|
-
_: 1
|
|
407
|
+
default: F(() => o[6] || (o[6] = [
|
|
408
|
+
D("对象")
|
|
409
|
+
])),
|
|
410
|
+
_: 1,
|
|
411
|
+
__: [6]
|
|
411
412
|
}),
|
|
412
413
|
c("div", Oe, [
|
|
413
|
-
t.model ? (
|
|
414
|
+
t.model ? (V(), k("div", Ee, [
|
|
414
415
|
c("div", {
|
|
415
416
|
class: "obj-name",
|
|
416
417
|
title: $.value
|
|
@@ -419,24 +420,25 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
419
420
|
class: "obj-type",
|
|
420
421
|
title: p.value
|
|
421
422
|
}, "[" + C(p.value) + "]", 9, ke)
|
|
422
|
-
])) : (
|
|
423
|
+
])) : (V(), k("div", Ve, "空")),
|
|
423
424
|
U(a, {
|
|
424
425
|
"model-value": d.value,
|
|
425
426
|
onChange: u
|
|
426
427
|
}, null, 8, ["model-value"])
|
|
427
428
|
]),
|
|
428
429
|
U(w, null, {
|
|
429
|
-
default: F(() =>
|
|
430
|
-
D("相对位置"
|
|
431
|
-
])
|
|
432
|
-
_: 1
|
|
430
|
+
default: F(() => o[7] || (o[7] = [
|
|
431
|
+
D("相对位置")
|
|
432
|
+
])),
|
|
433
|
+
_: 1,
|
|
434
|
+
__: [7]
|
|
433
435
|
}),
|
|
434
436
|
c("div", Te, [
|
|
435
437
|
c("div", ze, [
|
|
436
438
|
o[8] || (o[8] = c("span", { class: "axis-label" }, "X", -1)),
|
|
437
439
|
U(L, {
|
|
438
440
|
"model-value": r((z = (S = i.value) == null ? void 0 : S.position) == null ? void 0 : z.x),
|
|
439
|
-
onChange: o[0] || (o[0] = (R) =>
|
|
441
|
+
onChange: o[0] || (o[0] = (R) => g(R, "x")),
|
|
440
442
|
size: "small",
|
|
441
443
|
class: "coord-input-compact",
|
|
442
444
|
precision: 3,
|
|
@@ -449,7 +451,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
449
451
|
o[9] || (o[9] = c("span", { class: "axis-label" }, "Y", -1)),
|
|
450
452
|
U(L, {
|
|
451
453
|
"model-value": r((A = (P = i.value) == null ? void 0 : P.position) == null ? void 0 : A.y),
|
|
452
|
-
onChange: o[1] || (o[1] = (R) =>
|
|
454
|
+
onChange: o[1] || (o[1] = (R) => g(R, "y")),
|
|
453
455
|
size: "small",
|
|
454
456
|
class: "coord-input-compact",
|
|
455
457
|
precision: 3,
|
|
@@ -462,7 +464,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
462
464
|
o[10] || (o[10] = c("span", { class: "axis-label" }, "Z", -1)),
|
|
463
465
|
U(L, {
|
|
464
466
|
"model-value": r((B = (I = i.value) == null ? void 0 : I.position) == null ? void 0 : B.z),
|
|
465
|
-
onChange: o[2] || (o[2] = (R) =>
|
|
467
|
+
onChange: o[2] || (o[2] = (R) => g(R, "z")),
|
|
466
468
|
size: "small",
|
|
467
469
|
class: "coord-input-compact",
|
|
468
470
|
precision: 3,
|
|
@@ -473,10 +475,11 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
473
475
|
])
|
|
474
476
|
]),
|
|
475
477
|
U(w, null, {
|
|
476
|
-
default: F(() =>
|
|
477
|
-
D("相对旋转"
|
|
478
|
-
])
|
|
479
|
-
_: 1
|
|
478
|
+
default: F(() => o[11] || (o[11] = [
|
|
479
|
+
D("相对旋转")
|
|
480
|
+
])),
|
|
481
|
+
_: 1,
|
|
482
|
+
__: [11]
|
|
480
483
|
}),
|
|
481
484
|
c("div", Ie, [
|
|
482
485
|
c("div", Be, [
|
|
@@ -520,10 +523,11 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
520
523
|
])
|
|
521
524
|
]),
|
|
522
525
|
U(w, null, {
|
|
523
|
-
default: F(() =>
|
|
524
|
-
D("世界信息"
|
|
525
|
-
])
|
|
526
|
-
_: 1
|
|
526
|
+
default: F(() => o[15] || (o[15] = [
|
|
527
|
+
D("世界信息")
|
|
528
|
+
])),
|
|
529
|
+
_: 1,
|
|
530
|
+
__: [15]
|
|
527
531
|
}),
|
|
528
532
|
c("div", qe, [
|
|
529
533
|
c("div", Xe, [
|