ss-component-new 1.3.686 → 1.3.688
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-DzMo1SNe.js → MTLLoader-CCwIUlDl.js} +2 -2
- package/dist/{URDFLoader-BAROJ9ka.js → URDFLoader-DO_Kcr1g.js} +599 -604
- package/dist/{animationData-CTWTDXsQ.js → animationData-BK_EMC7f.js} +13 -13
- package/dist/{array-DTgVylWo.js → array-BOQz4oAY.js} +101 -100
- package/dist/{clone-sAhQxdz5.js → clone-j0I6jGJI.js} +1 -1
- package/dist/{eleIcon-6RTuwqdk.js → eleIcon-qStmsM1q.js} +2 -2
- package/dist/{iconfont-TorEaqH3.js → iconfont-BArzt7cD.js} +91 -91
- package/dist/icons/svg/method.svg +1 -0
- package/dist/{index-coSOPkWF.js → index--xvywljR.js} +5 -5
- package/dist/{index-DkJIid5L.js → index-0zK2JiuP.js} +3 -3
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-C1i_fYld.js → index-B4epfENY.js} +172 -163
- package/dist/{index-BzT9veMM.js → index-B4vSRtvT.js} +61 -57
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-Cp2Hl024.js → index-BJDcEJMu.js} +24746 -24586
- package/dist/{index-tLigeTzl.js → index-BKQl80dt.js} +76 -70
- package/dist/{index-D-YGtSgX.js → index-BLCkzecq.js} +40 -36
- package/dist/{index-TpycHQ-H.js → index-BPMcUKIT.js} +5 -5
- package/dist/{index-COBZQS9O.js → index-Bcr-OqeW.js} +2 -2
- package/dist/{index-hGjbrq0G.js → index-Blc71IGQ.js} +4 -4
- package/dist/{index-rrSSUIgW.js → index-BwJjFE7n.js} +20 -18
- package/dist/{index-B30aeKGM.js → index-C4jPBVPP.js} +4 -4
- package/dist/{index--N4l6N1w.js → index-CWOXvFfD.js} +1 -1
- package/dist/{index-CiBtWOdO.js → index-Cd7YAdBU.js} +8 -8
- package/dist/{index-DUPQ7Cfd.js → index-ClGT7gsU.js} +486 -485
- package/dist/{index-a207X0DD.js → index-CzrwR0mw.js} +62 -60
- package/dist/{index-BRQACLz0.js → index-DFOOD95R.js} +8 -8
- package/dist/{index-C06Ba2iF.js → index-DNyQV8z1.js} +2 -2
- package/dist/{index-dcW2d4Zs.js → index-DUbSVaH3.js} +5 -5
- package/dist/{index-BKMAFsRN.js → index-DUbk5m5P.js} +8 -7
- package/dist/{index-C9_Pcose.js → index-DZmXuPt5.js} +43 -40
- package/dist/{index-C1tMJJ2G.js → index-Dedcnxjz.js} +4 -4
- package/dist/index-DhFkMOmm.js +20537 -0
- package/dist/{index-D-_Ie1fO.js → index-NPK-6urV.js} +3 -3
- package/dist/{index-CvOCu8lX.js → index-YjBTGOkO.js} +1 -1
- package/dist/{index-CGzlH16h.js → index-ZOT28C_-.js} +31 -31
- package/dist/{index-D_f48W32.js → index-bFrEKaq_.js} +1078 -1077
- package/dist/{index-BCmMcLum.js → index-l5J6W1sy.js} +7 -7
- package/dist/{index-C6zJ7w8N.js → index-nLwk18j0.js} +3165 -3173
- package/dist/index-qylElEHa.js +572 -0
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-DyoKmN7k.js → index-rr5LPnDh.js} +3 -3
- package/dist/{index-B7ut2piP.js → index-vMDoz9-5.js} +8 -8
- 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_83e6d490_lang-LGVq0cuS.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-D57BlLDw.js} +27770 -27795
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-Crtpz1ff.js → main-C8iWlf60.js} +9 -9
- package/dist/{menuIndex-C_G8igKy.js → menuIndex-CwBxge00.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-CllqY4TP.js → request-1RPa2bBn.js} +3077 -3495
- 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/{threeModel-_UfyRIeL.js → threeModel-CHcCW7Gv.js} +205 -205
- package/dist/{threePreview-0iSlhKYj.js → threePreview-rNUr9PDp.js} +12 -12
- package/dist/{threeSceneView-SiG5KXeM.js → threeSceneView-DamYd8KL.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-CkjXdOLa.js → threeSceneViewForCPMPIP-CnCnWxS4.js} +17 -16
- package/dist/{threeTrackPathView-BzrYvQKg.js → threeTrackPathView-0Xzl0u_c.js} +7 -7
- package/dist/{threeViewerHost-BbYJmbrx.js → threeViewerHost-BG93Hz57.js} +4 -4
- package/dist/{urdfTree-CZeEnUnE.js → urdfTree-DMTYYQN5.js} +9 -9
- package/dist/{workpieceTreePanel-BLWHbILu.js → workpieceTreePanel-CO4ZBLah.js} +60 -56
- package/package.json +3 -1
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BwzUmdAx.js +0 -11779
- package/dist/index-CGhavCC_.js +0 -2623
- package/dist/isString-DzMmG8uL.js +0 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, openBlock as $,
|
|
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,
|
|
3
|
-
import "./index-
|
|
4
|
-
import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-
|
|
5
|
-
import { M as xe, O as qe, S as Be } from "./MTLLoader-
|
|
6
|
-
import { E as p0 } from "./request-
|
|
1
|
+
import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, createElementBlock as k0, openBlock as $, createElementVNode as T, withDirectives as Q0, createCommentVNode as s0, createVNode as B, unref as V, renderSlot as u0, toDisplayString as l0, withCtx as J0, createBlock as Y0, vShow as K0 } from "vue";
|
|
2
|
+
import { 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, o 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-D57BlLDw.js";
|
|
3
|
+
import "./index-bFrEKaq_.js";
|
|
4
|
+
import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-BArzt7cD.js";
|
|
5
|
+
import { M as xe, O as qe, S as Be } from "./MTLLoader-CCwIUlDl.js";
|
|
6
|
+
import { E as p0 } from "./request-1RPa2bBn.js";
|
|
7
7
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
function m0(k, e) {
|
|
9
9
|
if (e === X0)
|
|
@@ -2212,7 +2212,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2212
2212
|
}, null, 8, ["active"])
|
|
2213
2213
|
]),
|
|
2214
2214
|
T("div", T2, [
|
|
2215
|
-
|
|
2215
|
+
u0(j.$slots, "button-left", { switchRightPanel: v }, void 0, !0),
|
|
2216
2216
|
B(W, {
|
|
2217
2217
|
name: "clipping",
|
|
2218
2218
|
size: "24",
|
|
@@ -2222,12 +2222,12 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2222
2222
|
}, null, 8, ["active"])
|
|
2223
2223
|
]),
|
|
2224
2224
|
T("div", R2, [
|
|
2225
|
-
|
|
2225
|
+
u0(j.$slots, "button-right", {}, void 0, !0)
|
|
2226
2226
|
]),
|
|
2227
2227
|
R[3] || (R[3] = T("div", { class: "buttonGroup-bottom" }, null, -1)),
|
|
2228
2228
|
Q0(T("div", M2, [
|
|
2229
2229
|
T("div", D2, [
|
|
2230
|
-
T("span", null,
|
|
2230
|
+
T("span", null, l0(b.value), 1),
|
|
2231
2231
|
T("span", {
|
|
2232
2232
|
class: "close",
|
|
2233
2233
|
onClick: R[1] || (R[1] = (P0) => r.value = !1)
|
|
@@ -2239,7 +2239,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2239
2239
|
key: 0,
|
|
2240
2240
|
value: V(I),
|
|
2241
2241
|
onChange: N
|
|
2242
|
-
}, null, 8, ["value"])) :
|
|
2242
|
+
}, null, 8, ["value"])) : s0("", !0)
|
|
2243
2243
|
]),
|
|
2244
2244
|
_: 1
|
|
2245
2245
|
})
|
|
@@ -2248,8 +2248,8 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2248
2248
|
]),
|
|
2249
2249
|
V(o) ? ($(), k0("div", O2, [
|
|
2250
2250
|
R[2] || (R[2] = T("div", { class: "loading-spinner" }, null, -1)),
|
|
2251
|
-
T("p", null,
|
|
2252
|
-
])) :
|
|
2251
|
+
T("p", null, l0(V(s)), 1)
|
|
2252
|
+
])) : s0("", !0)
|
|
2253
2253
|
]);
|
|
2254
2254
|
};
|
|
2255
2255
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as ke, onUnmounted as Ie, resolveComponent as U,
|
|
2
|
-
import { r as Te, s as Ye } from "./threeViewerHost-
|
|
3
|
-
import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-
|
|
4
|
-
import { U as lt, u as ot,
|
|
5
|
-
import { c as st } from "./index-
|
|
6
|
-
import { ax as it, E as j, aO as rt, aP as ct } from "./request-
|
|
1
|
+
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as ke, onUnmounted as Ie, resolveComponent as U, createElementBlock as Ve, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, createCommentVNode as Pe, unref as X, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as 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-BG93Hz57.js";
|
|
3
|
+
import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-BArzt7cD.js";
|
|
4
|
+
import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-CO4ZBLah.js";
|
|
5
|
+
import { c as st } from "./index-bFrEKaq_.js";
|
|
6
|
+
import { ax as it, E as j, aO as rt, aP as ct } from "./request-1RPa2bBn.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 Pt } from "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { f as kt, 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_83e6d490_lang-D57BlLDw.js";
|
|
9
|
+
import "./index-BJDcEJMu.js";
|
|
10
|
+
import "./index-BHtNKL1L.js";
|
|
11
|
+
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
+
import { y as Be, z as Ct, A as Pt } from "./index-ClGT7gsU.js";
|
|
13
|
+
import "./index-qylElEHa.js";
|
|
14
|
+
import "./index-ZOT28C_-.js";
|
|
15
|
+
import { f as kt, a as xt, g as Rt, b as Mt } from "./animationData-BK_EMC7f.js";
|
|
16
|
+
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-DMTYYQN5.js";
|
|
17
17
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
import { s as Ft } from "./index-
|
|
19
|
-
const I = 1e-3, oe =
|
|
18
|
+
import { s as Ft } from "./index-11kpzK0A.js";
|
|
19
|
+
const I = 1e-3, oe = ut.degToRad, je = new dt({
|
|
20
20
|
// 灰色
|
|
21
21
|
color: 13421772,
|
|
22
22
|
metalness: 0.3,
|
|
@@ -53,7 +53,7 @@ const Ne = (y) => y.reduce((v, d) => {
|
|
|
53
53
|
return v;
|
|
54
54
|
};
|
|
55
55
|
function Yt(y, v) {
|
|
56
|
-
const d = new
|
|
56
|
+
const d = new pt();
|
|
57
57
|
d.name = "CompletePipe";
|
|
58
58
|
const n = {
|
|
59
59
|
pos: new D(0, 0, 0),
|
|
@@ -668,7 +668,8 @@ ${G.value.join(" ")}
|
|
|
668
668
|
placeholder: _e.value
|
|
669
669
|
}, null, 8, ["modelValue", "placeholder"])
|
|
670
670
|
]),
|
|
671
|
-
_: 1
|
|
671
|
+
_: 1,
|
|
672
|
+
__: [11]
|
|
672
673
|
}, 8, ["modelValue"])
|
|
673
674
|
]);
|
|
674
675
|
};
|
|
@@ -724,7 +725,7 @@ ${G.value.join(" ")}
|
|
|
724
725
|
}, B = () => {
|
|
725
726
|
const { form: S, list: k } = g.value, {
|
|
726
727
|
outerDiameter: J
|
|
727
|
-
} = S, E = J / 2, N = k == null ? void 0 : k.map((
|
|
728
|
+
} = S, E = J / 2, N = k == null ? void 0 : k.map((te) => {
|
|
728
729
|
const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
|
|
729
730
|
return ne ? {
|
|
730
731
|
Y: ne,
|
|
@@ -737,7 +738,7 @@ ${G.value.join(" ")}
|
|
|
737
738
|
C: ie,
|
|
738
739
|
R: F
|
|
739
740
|
};
|
|
740
|
-
})
|
|
741
|
+
});
|
|
741
742
|
p();
|
|
742
743
|
const O = Yt(N, E);
|
|
743
744
|
c(O);
|
|
@@ -986,7 +987,7 @@ ${G.value.join(" ")}
|
|
|
986
987
|
toggleAxesVisibility: ee,
|
|
987
988
|
zoomIn: G,
|
|
988
989
|
zoomOut: _e
|
|
989
|
-
} = Je(n), { loadSceneFromFile: ve } =
|
|
990
|
+
} = Je(n), { loadSceneFromFile: ve } = nt(
|
|
990
991
|
V,
|
|
991
992
|
T,
|
|
992
993
|
_,
|
|
@@ -1227,7 +1228,7 @@ ${G.value.join(" ")}
|
|
|
1227
1228
|
value: X(N),
|
|
1228
1229
|
onChange: we
|
|
1229
1230
|
}, null, 8, ["value"])) : Pe("", !0),
|
|
1230
|
-
f.value === "工件树" ? (Q(), ye(
|
|
1231
|
+
f.value === "工件树" ? (Q(), ye(at, {
|
|
1231
1232
|
key: 2,
|
|
1232
1233
|
model: (x = X(W)) == null ? void 0 : x.obj,
|
|
1233
1234
|
onVisibleChange: X(ie),
|
|
@@ -1,15 +1,15 @@
|
|
|
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, T as y, 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_83e6d490_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, 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-BG93Hz57.js";
|
|
3
|
+
import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-BArzt7cD.js";
|
|
4
|
+
import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-CO4ZBLah.js";
|
|
5
|
+
import { c as Ke } from "./index-bFrEKaq_.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-D57BlLDw.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-DMTYYQN5.js";
|
|
9
|
+
import { E as _ } from "./request-1RPa2bBn.js";
|
|
10
10
|
import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { i as at } from "./animationData-
|
|
12
|
-
import { O as ot } from "./MTLLoader-
|
|
11
|
+
import { i as at } from "./animationData-BK_EMC7f.js";
|
|
12
|
+
import { O as ot } from "./MTLLoader-CCwIUlDl.js";
|
|
13
13
|
const st = { class: "panel-content" }, it = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "animation-controls"
|
|
@@ -171,9 +171,9 @@ ${R.value.join(" ")}
|
|
|
171
171
|
])
|
|
172
172
|
])
|
|
173
173
|
])) : U("", !0),
|
|
174
|
-
i.value.length === 0 ? (g(), x("div", dt,
|
|
174
|
+
i.value.length === 0 ? (g(), x("div", dt, l[9] || (l[9] = [
|
|
175
175
|
n("p", null, "请先创建数据", -1)
|
|
176
|
-
])
|
|
176
|
+
]))) : U("", !0),
|
|
177
177
|
s(m, {
|
|
178
178
|
modelValue: T.value,
|
|
179
179
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => T.value = p),
|
|
@@ -203,7 +203,8 @@ ${R.value.join(" ")}
|
|
|
203
203
|
placeholder: ne.value
|
|
204
204
|
}, null, 8, ["modelValue", "placeholder"])
|
|
205
205
|
]),
|
|
206
|
-
_: 1
|
|
206
|
+
_: 1,
|
|
207
|
+
__: [10]
|
|
207
208
|
}, 8, ["modelValue"])
|
|
208
209
|
]);
|
|
209
210
|
};
|
|
@@ -257,7 +258,7 @@ ${R.value.join(" ")}
|
|
|
257
258
|
toggleAxesVisibility: l,
|
|
258
259
|
zoomIn: b,
|
|
259
260
|
zoomOut: A
|
|
260
|
-
} = Ge(c), { loadSceneFromFile: u } =
|
|
261
|
+
} = Ge(c), { loadSceneFromFile: u } = Ze(
|
|
261
262
|
D,
|
|
262
263
|
N,
|
|
263
264
|
h,
|
|
@@ -464,7 +465,7 @@ ${R.value.join(" ")}
|
|
|
464
465
|
value: z(E),
|
|
465
466
|
onChange: je
|
|
466
467
|
}, null, 8, ["value"])) : U("", !0),
|
|
467
|
-
v.value === "工件树" ? (g(), de(
|
|
468
|
+
v.value === "工件树" ? (g(), de(qe, {
|
|
468
469
|
key: 2,
|
|
469
470
|
model: ($ = z(Ce)) == null ? void 0 : $.obj,
|
|
470
471
|
onVisibleChange: z(Pe),
|
|
@@ -1,11 +1,11 @@
|
|
|
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, T as w, C as Be, f as Ie, d as re } from "./iconfont-
|
|
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,
|
|
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 ie, createBlock as le, 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-BArzt7cD.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, o as Qe, ba as Se } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-D57BlLDw.js";
|
|
4
|
+
import "./index-bFrEKaq_.js";
|
|
5
|
+
import { U as et, J as tt } from "./urdfTree-DMTYYQN5.js";
|
|
6
|
+
import { E as B } from "./request-1RPa2bBn.js";
|
|
7
7
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { i as nt } from "./isString-
|
|
8
|
+
import { i as nt } from "./isString-0ZglyOfu.js";
|
|
9
9
|
function ot(e = 0.5, n = 4) {
|
|
10
10
|
const o = new Oe(
|
|
11
11
|
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 { a0 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_83e6d490_lang-
|
|
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 { a0 as W, u as A, p as D, s as $ } from "./index-bFrEKaq_.js";
|
|
3
|
+
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-D57BlLDw.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 Y = { 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-DamYd8KL.js")), y = b(() => import("./threePreview-rNUr9PDp.js")), i = b(() => import("./threeTrackPathView-0Xzl0u_c.js")), p = b(() => import("./threeSceneViewForCPMPIP-CnCnWxS4.js")), n = E, P = A(D), { platName: f } = $(P), { isUrdf: _, isTrackPathFile: g } = z(), 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_83e6d490_lang-
|
|
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_83e6d490_lang-D57BlLDw.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 { bb as be, bc as re, s as O, k as we, h as he, bd 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-DO_Kcr1g.js";
|
|
5
|
+
import { S as ve, M as pe, O as fe } from "./MTLLoader-CCwIUlDl.js";
|
|
6
|
+
import { bb as be, bc as re, s as O, k as we, h as he, bd as E, B as _e, be as ge, ay as ye, V as je } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-D57BlLDw.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-BArzt7cD.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 j = (() => {
|
|
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 (j) {
|
|
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 j = 0,
|
|
91
|
+
let j = 0, _ = 0, r = null;
|
|
92
92
|
const f = new be();
|
|
93
93
|
f.onStart = (n, u, y) => {
|
|
94
|
-
j = y || 0,
|
|
94
|
+
j = y || 0, _ = u || 0, s.value = j > 0 ? `开始下载资源: 0 / ${j}` : "开始下载资源...", t.value = !0;
|
|
95
95
|
}, f.onProgress = (n, u, y) => {
|
|
96
|
-
|
|
96
|
+
_ = u, j = y;
|
|
97
97
|
const $ = `正在加载 ${u} / ${y} 个文件: ${re(n)}`;
|
|
98
98
|
s.value = $, u === y && (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, y) => {
|
|
115
115
|
const $ = re(n);
|
|
116
116
|
let p;
|
|
117
|
-
y && y > 0 ? p = `${$}(${E(u)} / ${E(y)})` : u && u > 0 ? p = `${$}(已下载 ${E(u)})` : p = `${$}`, s.value = `正在下载第 ${
|
|
117
|
+
y && y > 0 ? p = `${$}(${E(u)} / ${E(y)})` : u && u > 0 ? p = `${$}(已下载 ${E(u)})` : p = `${$}`, s.value = `正在下载第 ${_ + 1} / ${j} 个文件: ${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
|
(y) => {
|
|
@@ -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 ye(), j = /* @__PURE__ */ new Map();
|
|
143
|
+
function _() {
|
|
144
144
|
t.value.forEach((p) => {
|
|
145
145
|
p.traverse((d) => {
|
|
146
146
|
s != null && s.includes(d.type) && j.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: y,
|
|
@@ -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 j = Date.now() - i,
|
|
283
|
-
Object.keys(l).forEach((
|
|
284
|
-
const n = m[
|
|
285
|
-
f[
|
|
286
|
-
}), this.setJointAngles(f), s && s(
|
|
282
|
+
const j = Date.now() - i, _ = Math.min(j / 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) : j(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, [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ss-component-new",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.688",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@vue-office/excel": "^1.7.14",
|
|
26
26
|
"axios": "^1.9.0",
|
|
27
27
|
"codemirror": "^6.0.2",
|
|
28
|
+
"codemirror-editor-vue3": "^2.8.0",
|
|
28
29
|
"cropperjs": "^1.6.2",
|
|
29
30
|
"dayjs": "^1.11.13",
|
|
30
31
|
"docx-preview": "^0.3.6",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"xlsx": "^0.18.5"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
61
|
+
"@types/codemirror": "^5.60.17",
|
|
60
62
|
"@types/lodash-es": "^4.17.12",
|
|
61
63
|
"@types/node": "^22.14.1",
|
|
62
64
|
"@types/three": "^0.177.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1782276995812" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4176" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M469.745309 0a469.745309 469.745309 0 1 0 0 939.490619A469.745309 469.745309 0 0 0 469.809272 0z m0 81.872821a387.872488 387.872488 0 1 1 0 775.744977 387.872488 387.872488 0 0 1 0-775.744977z" fill="#444444" p-id="4177"></path><path d="M753.485804 753.485804a40.93641 40.93641 0 0 1 55.264154-2.4306l2.558525 2.4306 200.204633 200.076706a40.93641 40.93641 0 0 1-55.328118 60.317242l-2.622488-2.4306-200.140669-200.076705a40.93641 40.93641 0 0 1 0-57.886643z" fill="#444444" p-id="4178"></path><path d="M266.086668 552.64154c15.351154 0 29.423045 8.571061 36.45899 22.19521l-1.982857-2.878341c45.733646 70.487382 115.005728 111.295866 198.477627 113.598539l7.419724 0.063963V767.557695c-112.575129 0-208.327951-53.217334-270.308235-144.556699l-4.28553-6.396314 0.191889-0.127927a40.93641 40.93641 0 0 1 34.028392-63.771252z" p-id="4179"></path></svg>
|