ss-component-new 1.2.77 → 1.2.79
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-BruI0iCV.js → MTLLoader-DHOpgWoh.js} +5 -5
- package/dist/{MTLLoader-Bseg1sor.cjs → MTLLoader-DcCqSeA-.cjs} +1 -1
- package/dist/{OrbitControls-Bxqvo8Mr.js → OrbitControls-Bwv0Wdfk.js} +1 -1
- package/dist/{OrbitControls-BiNnC97N.cjs → OrbitControls-DlWvN12h.cjs} +1 -1
- package/dist/{URDFLoader-DexIn4xU.cjs → URDFLoader-DykmnnHW.cjs} +1 -1
- package/dist/{URDFLoader-DWo3pDBH.js → URDFLoader-o5u_BjJ_.js} +174 -174
- package/dist/{animationData-BDkjPdQf.js → animationData-DS8Fzn6Q.js} +18 -18
- package/dist/{animationData-BVpXOZwe.cjs → animationData-I6_-ND6R.cjs} +1 -1
- package/dist/{array-D5Rc5rM9.js → array-Bhgw4Iyf.js} +27 -27
- package/dist/{array-6LpFOZ5o.cjs → array-ZC8P-Rx9.cjs} +1 -1
- package/dist/{iconfont-14del5d2.js → iconfont-CDf_oBPo.js} +27 -27
- package/dist/{iconfont-Bnhc7fLw.cjs → iconfont-DX6dC3Hu.cjs} +1 -1
- package/dist/{index-PkJYBcS-.js → index-9pgjgz-5.js} +25 -22
- package/dist/{index-CTfB2BO7.cjs → index-AjZKp-AZ.cjs} +1 -1
- package/dist/{index-D_coIVx9.cjs → index-B-LUDlpn.cjs} +1 -1
- package/dist/{index-1uzZjqSR.cjs → index-B20WPHZ5.cjs} +1 -1
- package/dist/{index-lkxTc6vy.js → index-B3u2tRTw.js} +576 -572
- package/dist/{index-BMwOfyZG.js → index-B5J3L2e2.js} +2 -2
- package/dist/{index-Da8kLXUi.js → index-B5SNHDlg.js} +1 -1
- package/dist/{index-BU__qorE.cjs → index-BG1yQRX5.cjs} +1 -1
- package/dist/index-BLSQNpLC.js +12694 -0
- package/dist/{index-C5AMx3DP.js → index-BRjEFy0A.js} +2 -2
- package/dist/{index-BOttcNaR.js → index-BVj-AkPa.js} +2 -2
- package/dist/{index-CiluLmLS.js → index-BYSmRvIB.js} +11 -11
- package/dist/{index-CV0wJjuo.cjs → index-BeikcPFZ.cjs} +1 -1
- package/dist/{index-Ai5OAXHo.js → index-BgE_6FYY.js} +6 -6
- package/dist/{index-jKLdvV3y.js → index-BluztDZ9.js} +20 -20
- package/dist/{index-D9iPLSwS.js → index-Bmtw8a5p.js} +2 -2
- package/dist/{index-Pg_Ez4Na.cjs → index-Bq6XgQV3.cjs} +1 -1
- package/dist/{index-DZboVCcU.cjs → index-C2Y0cih9.cjs} +1 -1
- package/dist/{index-CT1bDBZy.js → index-C3UcoA71.js} +5 -5
- package/dist/{index-Cv58m2R8.js → index-CGe5AJp6.js} +1 -1
- package/dist/{index-DNp4E_lQ.cjs → index-CJXu9f3F.cjs} +1 -1
- package/dist/index-CM2le7df.cjs +1 -0
- package/dist/{index-BXCI98KY.js → index-CMHJ7CCR.js} +6 -6
- package/dist/{index-CNDlskJD.cjs → index-CTStbcBT.cjs} +1 -1
- package/dist/{index-sCZuOhEC.js → index-CXSbzU1a.js} +1 -1
- package/dist/index-CXWS6054.js +2876 -0
- package/dist/{index-CS2SJFa5.cjs → index-Cbz7ElQN.cjs} +1 -1
- package/dist/{index-cGnhqEuy.cjs → index-Cc1ykPE-.cjs} +1 -1
- package/dist/index-Cc4a5Z89.cjs +1 -0
- package/dist/{index-iqnKq5qd.js → index-CdWi5i0R.js} +1 -1
- package/dist/{index-BPWX1kmE.cjs → index-CgNpvAbR.cjs} +1 -1
- package/dist/{index-DRbQJezd.cjs → index-ChvyEtLh.cjs} +1 -1
- package/dist/{index-DndAdSGT.js → index-CjszYT-m.js} +3 -3
- package/dist/{index-nzQPJif1.cjs → index-D-_nblT-.cjs} +1 -1
- package/dist/{index-BJizDAnh.cjs → index-D5REUQyF.cjs} +1 -1
- package/dist/{index-Bq27i8N6.js → index-D8BszxzY.js} +4 -4
- package/dist/{index-Do4pZeLF.cjs → index-D8biWfYq.cjs} +1 -1
- package/dist/{index-B3jUJ0ml.js → index-DCPWjTH2.js} +7 -7
- package/dist/{index-BjDn0YhH.cjs → index-DZSfCv1U.cjs} +12 -12
- package/dist/{index-BWjhL8R0.js → index-D_qR3hDI.js} +1 -1
- package/dist/{index-Cc_IAZBO.js → index-Dcz5u1Wl.js} +4 -4
- package/dist/{index-CjipjSmP.cjs → index-DhdaxDcr.cjs} +1 -1
- package/dist/{index-BCGURMXa.js → index-Di8UuMxb.js} +2 -2
- package/dist/{index-CwvAshmz.js → index-DjfNhR3v.js} +3 -3
- package/dist/{index-CZkjboM8.js → index-DkVB-AEp.js} +6 -6
- package/dist/{index-CEuxxYEp.cjs → index-DqrGFL1c.cjs} +1 -1
- package/dist/{index-CBIrHmhA.cjs → index-IrdgJgK1.cjs} +1 -1
- package/dist/{index-BP1mTaAy.js → index-KP6vMTgE.js} +4 -4
- package/dist/{index-aG7MmrtC.js → index-Quv-LzXf.js} +3 -3
- package/dist/{index-BYc9jyiE.js → index-bfMyItzl.js} +3 -3
- package/dist/{index-BXumaiVx.js → index-fzUpIEce.js} +2 -2
- package/dist/{index-B3x0Un8L.js → index-gaIXSSnU.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Ctqs6jS6.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Cwtk3HI8.js} +13935 -14262
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DkW9dWKj.cjs +37 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bqxa7GJA.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6Ap42_Dn.js} +14096 -13945
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D6FKmWHb.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-RZydwY0l.cjs} +356 -356
- package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BRLX6S9R.js +377 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Cu33JXj5.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-CrcbIeWl.js → index.vue_vue_type_style_index_1_lang-BJBnOzjh.js} +37 -37
- package/dist/{index.vue_vue_type_style_index_1_lang-DQ90IC2k.cjs → index.vue_vue_type_style_index_1_lang-KlMxUDnq.cjs} +1 -1
- package/dist/{isString-8mN8gX27.js → isString-Bb0EYAKj.js} +1 -1
- package/dist/{main-D3WREi0-.cjs → main-D0CiEOi_.cjs} +1 -1
- package/dist/{main-BkI9SlJQ.js → main-itEiu5WV.js} +5 -5
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CVlu8rK_.js → threeModel-C1pBED0w.js} +5 -5
- package/dist/{threeModel-Bp11Ni6H.cjs → threeModel-DrVpq-KZ.cjs} +1 -1
- package/dist/{threePreview-CdzNCx3-.js → threePreview-BHmdeJ_g.js} +4 -4
- package/dist/{threePreview-Dw4LR6jh.cjs → threePreview-BwKp0Pme.cjs} +1 -1
- package/dist/{threeSceneView-BdVTjYBI.cjs → threeSceneView-BlYiTnf8.cjs} +1 -1
- package/dist/{threeSceneView-jhQi8rSG.js → threeSceneView-CHzaHloG.js} +134 -134
- package/dist/{threeSceneViewForCPMPIP-DgAoijFZ.js → threeSceneViewForCPMPIP-Bxfu-nOk.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-DRYioXDE.cjs → threeSceneViewForCPMPIP-C6dwXzB6.cjs} +1 -1
- package/dist/{threeTrackPathView-C1HVNI2F.js → threeTrackPathView-D5b7ja2X.js} +48 -48
- package/dist/{threeTrackPathView-Ds9FmHU1.cjs → threeTrackPathView-YDfE6lF-.cjs} +1 -1
- package/dist/{threeViewerHost-Cazxmy9Q.cjs → threeViewerHost-BdoXIgqv.cjs} +1 -1
- package/dist/{threeViewerHost-DvIwe0xo.js → threeViewerHost-DhtCUUpq.js} +15 -15
- package/dist/{urdfTree-CMKhj8xM.js → urdfTree-ClXv-I_k.js} +1 -1
- package/dist/{urdfTree-dHyqQi6d.cjs → urdfTree-DhRlnWn_.cjs} +1 -1
- package/dist/{workpieceTreePanel-4MfitYyo.cjs → workpieceTreePanel-CA1W7zBB.cjs} +1 -1
- package/dist/{workpieceTreePanel-BM7lPJRO.js → workpieceTreePanel-Ctwrp39y.js} +29 -29
- package/package.json +1 -1
- package/dist/index-C-Cn4YSI.js +0 -12234
- package/dist/index-C3DC8sX2.js +0 -2853
- package/dist/index-DEyzKyXf.cjs +0 -1
- package/dist/index-qqyeENwY.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-wPtij0q7.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Ddv_4Qcm.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DmUFTzw3.js +0 -376
|
@@ -1,18 +1,18 @@
|
|
|
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 {
|
|
7
|
-
import { ref as T, defineComponent as Le, computed as
|
|
8
|
-
import { c as Re, e as Ue, g as $e } from "./iconfont-
|
|
4
|
+
import { U as me } from "./URDFLoader-o5u_BjJ_.js";
|
|
5
|
+
import { S as ve, M as pe, O as fe } from "./MTLLoader-DHOpgWoh.js";
|
|
6
|
+
import { bU as be, bV as re, aG as O, ad as we, a8 as he, bW as E, X as _e, bX as ge, b7 as je, W as ye } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6Ap42_Dn.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-CDf_oBPo.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
|
-
function
|
|
11
|
+
function Me(b) {
|
|
12
12
|
const { mtlUrl: l, manager: t, resourcePath: s, onLoad: m, onProgress: i, onError: h } = b, v = new pe(t);
|
|
13
13
|
return s && v.setResourcePath(s), v.load(l, m, i, h), v;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Fe(b) {
|
|
16
16
|
const { objUrl: l, manager: t, materials: s, onLoad: m, onProgress: i, onError: h } = b, v = new fe(t);
|
|
17
17
|
return s && v.setMaterials(s), v.load(l, m, i, h), v;
|
|
18
18
|
}
|
|
@@ -37,7 +37,7 @@ function De(b) {
|
|
|
37
37
|
var u;
|
|
38
38
|
return (((u = i.split("/").pop()) == null ? void 0 : u.split("?")[0].split("#")[0]) ?? "").replace(/\.[^/.?#]+$/, "");
|
|
39
39
|
})(), f = `${_}${r}.mtl`, g = (n) => {
|
|
40
|
-
|
|
40
|
+
Fe({
|
|
41
41
|
objUrl: i,
|
|
42
42
|
manager: h,
|
|
43
43
|
materials: n,
|
|
@@ -48,7 +48,7 @@ function De(b) {
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
Me({
|
|
52
52
|
mtlUrl: f,
|
|
53
53
|
manager: h,
|
|
54
54
|
resourcePath: _,
|
|
@@ -307,7 +307,7 @@ class vt {
|
|
|
307
307
|
const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
308
308
|
key: 0,
|
|
309
309
|
class: "obj-base"
|
|
310
|
-
}, xe = ["title"],
|
|
310
|
+
}, xe = ["title"], ke = ["title"], Ve = { key: 1 }, Te = { class: "obj-position" }, ze = { class: "coord-item" }, Pe = { class: "coord-item" }, Ae = { class: "coord-item" }, Ie = { class: "obj-rotation" }, We = { class: "coord-item" }, Be = { class: "coord-item" }, Ne = { class: "coord-item" }, Xe = { class: "world" }, qe = { class: "coord-line" }, Ye = { class: "coord-text" }, Ze = { class: "world-position-item" }, Ge = { class: "world-position-item" }, Ke = { class: "world-position-item" }, He = { class: "coord-line" }, Qe = { class: "coord-text" }, et = { class: "world-rotation-item" }, tt = { class: "world-rotation-item" }, ot = { class: "world-rotation-item" }, st = /* @__PURE__ */ Le({
|
|
311
311
|
__name: "workpieceTreePanel",
|
|
312
312
|
props: {
|
|
313
313
|
model: {},
|
|
@@ -363,7 +363,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
363
363
|
}
|
|
364
364
|
}), w.slice(0, o + 1);
|
|
365
365
|
};
|
|
366
|
-
|
|
366
|
+
M(() => !m.value || m.value.length === 0 ? [] : t.expandStrategy === "firstLevel" ? _(m.value, t.maxExpandCount) : y(m.value, t.maxExpandCount));
|
|
367
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,
|
|
@@ -378,13 +378,13 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
378
378
|
});
|
|
379
379
|
}, u = (e) => {
|
|
380
380
|
s("visibleChange", e);
|
|
381
|
-
}, j =
|
|
381
|
+
}, j = M(() => t != null && t.model ? v(t.model) : []), $ = M(() => {
|
|
382
382
|
var e, o;
|
|
383
383
|
return ((e = t == null ? void 0 : t.model) == null ? void 0 : e.name) || ((o = t == null ? void 0 : t.model) == null ? void 0 : o.type);
|
|
384
|
-
}), p =
|
|
384
|
+
}), p = M(() => {
|
|
385
385
|
var e;
|
|
386
386
|
return (e = t == null ? void 0 : t.model) == null ? void 0 : e.type;
|
|
387
|
-
}), d =
|
|
387
|
+
}), d = M(() => {
|
|
388
388
|
var e;
|
|
389
389
|
return (e = t == null ? void 0 : t.model) == null ? void 0 : e.visible;
|
|
390
390
|
});
|
|
@@ -400,18 +400,18 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
400
400
|
},
|
|
401
401
|
{ immediate: !0 }
|
|
402
402
|
), (e, o) => {
|
|
403
|
-
var S, z, P, A, I, W, B, N,
|
|
403
|
+
var S, z, P, A, I, W, B, N, X, q, Y, Z, G, K, 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:
|
|
407
|
+
default: F(() => o[6] || (o[6] = [
|
|
408
408
|
D("对象")
|
|
409
409
|
])),
|
|
410
410
|
_: 1,
|
|
411
411
|
__: [6]
|
|
412
412
|
}),
|
|
413
413
|
c("div", Oe, [
|
|
414
|
-
t.model ? (
|
|
414
|
+
t.model ? (V(), k("div", Ee, [
|
|
415
415
|
c("div", {
|
|
416
416
|
class: "obj-name",
|
|
417
417
|
title: $.value
|
|
@@ -419,15 +419,15 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
419
419
|
c("div", {
|
|
420
420
|
class: "obj-type",
|
|
421
421
|
title: p.value
|
|
422
|
-
}, "[" + C(p.value) + "]", 9,
|
|
423
|
-
])) : (
|
|
422
|
+
}, "[" + C(p.value) + "]", 9, ke)
|
|
423
|
+
])) : (V(), k("div", Ve, "空")),
|
|
424
424
|
U(a, {
|
|
425
425
|
"model-value": d.value,
|
|
426
426
|
onChange: u
|
|
427
427
|
}, null, 8, ["model-value"])
|
|
428
428
|
]),
|
|
429
429
|
U(w, null, {
|
|
430
|
-
default:
|
|
430
|
+
default: F(() => o[7] || (o[7] = [
|
|
431
431
|
D("相对位置")
|
|
432
432
|
])),
|
|
433
433
|
_: 1,
|
|
@@ -475,7 +475,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
475
475
|
])
|
|
476
476
|
]),
|
|
477
477
|
U(w, null, {
|
|
478
|
-
default:
|
|
478
|
+
default: F(() => o[11] || (o[11] = [
|
|
479
479
|
D("相对旋转")
|
|
480
480
|
])),
|
|
481
481
|
_: 1,
|
|
@@ -498,7 +498,7 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
498
498
|
c("div", Be, [
|
|
499
499
|
o[13] || (o[13] = c("span", { class: "axis-label" }, "Y°", -1)),
|
|
500
500
|
U(L, {
|
|
501
|
-
"model-value": f((
|
|
501
|
+
"model-value": f((q = (X = i.value) == null ? void 0 : X.rotation) == null ? void 0 : q.y),
|
|
502
502
|
onChange: o[4] || (o[4] = (R) => n(R, "y")),
|
|
503
503
|
size: "small",
|
|
504
504
|
class: "coord-input-compact",
|
|
@@ -523,19 +523,19 @@ const Je = { class: "panel-content" }, Oe = { class: "obj" }, Ee = {
|
|
|
523
523
|
])
|
|
524
524
|
]),
|
|
525
525
|
U(w, null, {
|
|
526
|
-
default:
|
|
526
|
+
default: F(() => o[15] || (o[15] = [
|
|
527
527
|
D("世界信息")
|
|
528
528
|
])),
|
|
529
529
|
_: 1,
|
|
530
530
|
__: [15]
|
|
531
531
|
}),
|
|
532
|
-
c("div",
|
|
533
|
-
c("div",
|
|
532
|
+
c("div", Xe, [
|
|
533
|
+
c("div", qe, [
|
|
534
534
|
o[16] || (o[16] = c("span", { class: "coord-label" }, "世界位置:", -1)),
|
|
535
535
|
c("span", Ye, [
|
|
536
|
-
c("div", Ze, C(r((
|
|
537
|
-
c("div",
|
|
538
|
-
c("div",
|
|
536
|
+
c("div", Ze, C(r((K = (G = i.value) == null ? void 0 : G.worldPosition) == null ? void 0 : K.x)) + ", ", 1),
|
|
537
|
+
c("div", Ge, C(r((Q = (H = i.value) == null ? void 0 : H.worldPosition) == null ? void 0 : Q.y)) + ", ", 1),
|
|
538
|
+
c("div", Ke, C(r((te = (ee = i.value) == null ? void 0 : ee.worldPosition) == null ? void 0 : te.z)), 1)
|
|
539
539
|
])
|
|
540
540
|
]),
|
|
541
541
|
c("div", He, [
|