vis-core 0.29.3 → 0.29.4
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/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.module.js +31 -34
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -63,7 +63,7 @@ import { continentsCountriesIso2 } from "geojson-cn";
|
|
|
63
63
|
Array.prototype.at || (Array.prototype.at = function(v) {
|
|
64
64
|
return v < 0 && (v = this.length + v), this[v];
|
|
65
65
|
});
|
|
66
|
-
const version = "0.29.
|
|
66
|
+
const version = "0.29.4", publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUEyTG1aVVQzVG9LZEVRRUdrdUU1QQo3dnlYTzRMM1Z6NDA5RFF2a2xzRHZ2SytNM2M2OGl4ZEVhZDZFcnZGS2FKQ1QrNTZNdU1XSXhUTnlDZDVQSkFGCjVYdzI4cW1iVkVCR3FGdXVIZTltSm5GUmRXN1NpK1Z1cTZvRWxwQkRkeEFIQ0dsWVVpU1R3WmhBbjJaVXJLSUYKd1J2c1k1bi9uWWNhZnl5QW9tRjhmNVRsTkpwS1JtbDU3WlRSWjBMdzdQRDFSeHFIbmJ0YWFETkpiSDV5eFd6cQpaVTBwQWhxMFNkNHdlOW1DUTJWWXc5czhtUERLbW4rU083eGovSUsrR1ZEaEJNOUpaZ3VIcGFZUGt3bWd5UkdwCkx6V0tHMkZULzJRalZUT1dRT09mRFVtVitDSVlsN1hVVlh1Q0toYWFNQ0ZVa1JQOHg4aEZucmNFeklHQ1JpM3IKK3dJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t", accessToken = {
|
|
67
67
|
token: void 0,
|
|
68
68
|
getInfo() {
|
|
69
69
|
if (!this.token)
|
|
@@ -57980,19 +57980,24 @@ class CrossPlane extends pe$1 {
|
|
|
57980
57980
|
r.draw(
|
|
57981
57981
|
"Plane",
|
|
57982
57982
|
{
|
|
57983
|
-
key: "
|
|
57983
|
+
key: "crossPlane-item1",
|
|
57984
|
+
uId: "$p:"
|
|
57984
57985
|
},
|
|
57985
57986
|
this
|
|
57986
57987
|
),
|
|
57987
57988
|
r.draw(
|
|
57988
57989
|
"Plane",
|
|
57989
57990
|
{
|
|
57990
|
-
key: "
|
|
57991
|
+
key: "crossPlane-item2",
|
|
57992
|
+
uId: "$p:"
|
|
57991
57993
|
},
|
|
57992
57994
|
this
|
|
57993
57995
|
)
|
|
57994
57996
|
]);
|
|
57995
|
-
C.
|
|
57997
|
+
C.rotation.x = -Math.PI * 0.5, w.rotation.x = -Math.PI * 0.5, w.rotation.y = -Math.PI * 0.5, [C, w].forEach((E) => {
|
|
57998
|
+
const O = E.object3d;
|
|
57999
|
+
O.material = n, E.userData.disabledC = !0, E.userData.disabledR = !0, E.userData.disabledTC = !0;
|
|
58000
|
+
});
|
|
57996
58001
|
});
|
|
57997
58002
|
}
|
|
57998
58003
|
}
|
|
@@ -59374,34 +59379,35 @@ function applyFixes(v, e) {
|
|
|
59374
59379
|
});
|
|
59375
59380
|
const E = {};
|
|
59376
59381
|
e.h.u.forEach((O) => {
|
|
59377
|
-
|
|
59378
|
-
|
|
59382
|
+
var le;
|
|
59383
|
+
if (O.type === "CopyObject" && O.copyObjectUuid && !O.copyObjectUuid.includes("#")) {
|
|
59384
|
+
const fe = O.copyObjectUuid.split("_"), Se = fe[0] + "#" + fe.pop();
|
|
59379
59385
|
E[O.copyObjectUuid.replace(
|
|
59380
59386
|
O.copyObjectUuid[0],
|
|
59381
59387
|
O.copyObjectUuid[0].toLowerCase()
|
|
59382
|
-
)] =
|
|
59383
|
-
|
|
59384
|
-
|
|
59385
|
-
), O.copyObjectUuid =
|
|
59388
|
+
)] = Se.replace(
|
|
59389
|
+
Se[0],
|
|
59390
|
+
Se[0].toLowerCase()
|
|
59391
|
+
), O.copyObjectUuid = Se;
|
|
59386
59392
|
}
|
|
59387
|
-
if (O.type === "CopyObject" && O.copyObjectUuid.includes("_")) {
|
|
59388
|
-
const
|
|
59393
|
+
if (O.type === "CopyObject" && ((le = O.copyObjectUuid) != null && le.includes("_"))) {
|
|
59394
|
+
const fe = O.copyObjectUuid.split("_"), Se = fe[0] + "-" + fe.pop();
|
|
59389
59395
|
E[O.copyObjectUuid.replace(
|
|
59390
59396
|
O.copyObjectUuid[0],
|
|
59391
59397
|
O.copyObjectUuid[0].toLowerCase()
|
|
59392
|
-
)] =
|
|
59393
|
-
|
|
59394
|
-
|
|
59395
|
-
), O.copyObjectUuid =
|
|
59398
|
+
)] = Se.replace(
|
|
59399
|
+
Se[0],
|
|
59400
|
+
Se[0].toLowerCase()
|
|
59401
|
+
), O.copyObjectUuid = Se;
|
|
59396
59402
|
} else if (O.type === "AddObject" && !O.addObjectUuid.includes("#")) {
|
|
59397
|
-
const
|
|
59403
|
+
const fe = O.addObjectUuid.split("_"), Se = fe[0] + "#" + fe.pop();
|
|
59398
59404
|
E[O.addObjectUuid.replace(
|
|
59399
59405
|
O.addObjectUuid[0],
|
|
59400
59406
|
O.addObjectUuid[0].toLowerCase()
|
|
59401
|
-
)] =
|
|
59402
|
-
|
|
59403
|
-
|
|
59404
|
-
), O.addObjectUuid =
|
|
59407
|
+
)] = Se.replace(
|
|
59408
|
+
Se[0],
|
|
59409
|
+
Se[0].toLowerCase()
|
|
59410
|
+
), O.addObjectUuid = Se;
|
|
59405
59411
|
}
|
|
59406
59412
|
}), console.log("objectUuidMap", E), e.h.u.forEach((O) => {
|
|
59407
59413
|
if (O.objectUuid && E[O.objectUuid])
|
|
@@ -61149,7 +61155,7 @@ class Editor {
|
|
|
61149
61155
|
children: []
|
|
61150
61156
|
});
|
|
61151
61157
|
}
|
|
61152
|
-
const ze = le.length > 0 ? C(le) : [], ke = O.object3d.isGroup, Ue = n.includes(O.key), mt = O.key.includes(r), Lt = O.objectType === "Model", bt = ke && !Lt || Ue || O.userData.disabledC || mt, Fe = Ue || O.userData.disabledR || mt, xt = Ue || O.userData.disabledTC, Gt = Ue;
|
|
61158
|
+
const ze = le.length > 0 ? C(le) : [], ke = O.object3d.isGroup, Ue = n.includes(O.key), mt = O.key.includes(r), Lt = O.objectType === "Model" || O.objectType === "CrossPlane", bt = ke && !Lt || Ue || O.userData.disabledC || mt, Fe = Ue || O.userData.disabledR || mt, xt = Ue || O.userData.disabledTC, Gt = Ue;
|
|
61153
61159
|
if (ze.length === 0 && ke && !O.userData.disabledProcessedChildren)
|
|
61154
61160
|
continue;
|
|
61155
61161
|
let Xt;
|
|
@@ -61786,8 +61792,8 @@ class Base extends Camera {
|
|
|
61786
61792
|
};
|
|
61787
61793
|
this.settings = new Proxy(
|
|
61788
61794
|
Ui(B0(B0({}, this.initSettingsObj), n), {
|
|
61789
|
-
mouseNone: !1
|
|
61790
|
-
viewportPadding: [0, 0, 0, 0]
|
|
61795
|
+
mouseNone: !1
|
|
61796
|
+
// viewportPadding: [0, 0, 0, 0],
|
|
61791
61797
|
}),
|
|
61792
61798
|
{
|
|
61793
61799
|
set: (r, C, w) => {
|
|
@@ -143499,16 +143505,7 @@ const getLabelElement = (v) => {
|
|
|
143499
143505
|
n.position.z = -this.mapHistory[0].depth * (1 - w);
|
|
143500
143506
|
}
|
|
143501
143507
|
});
|
|
143502
|
-
|
|
143503
|
-
const w = this.pencil.cameraTarget.toArray();
|
|
143504
|
-
this.pencil.controls.setTarget(
|
|
143505
|
-
w[0],
|
|
143506
|
-
w[1],
|
|
143507
|
-
this.mapHistory[0].depth + this.mapHistory[0].z,
|
|
143508
|
-
!1
|
|
143509
|
-
);
|
|
143510
|
-
}
|
|
143511
|
-
this.saveCamvasState("controls", 0);
|
|
143508
|
+
yield C(), this.saveCamvasState("controls", 0);
|
|
143512
143509
|
}
|
|
143513
143510
|
});
|
|
143514
143511
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.29.
|
|
1
|
+
declare const _default: "0.29.4";
|
|
2
2
|
export default _default;
|