vis-core 0.29.3 → 0.29.5
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 +37 -37
- 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.5", 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,26 +59379,30 @@ function applyFixes(v, e) {
|
|
|
59374
59379
|
});
|
|
59375
59380
|
const E = {};
|
|
59376
59381
|
e.h.u.forEach((O) => {
|
|
59377
|
-
if (O.type === "CopyObject"
|
|
59378
|
-
|
|
59379
|
-
|
|
59380
|
-
|
|
59381
|
-
|
|
59382
|
-
|
|
59383
|
-
|
|
59384
|
-
|
|
59385
|
-
|
|
59386
|
-
|
|
59387
|
-
|
|
59388
|
-
|
|
59389
|
-
|
|
59390
|
-
|
|
59391
|
-
|
|
59392
|
-
|
|
59393
|
-
|
|
59394
|
-
|
|
59395
|
-
|
|
59396
|
-
|
|
59382
|
+
if (O.type === "CopyObject") {
|
|
59383
|
+
if (O.copyObjectUuid || (O.copyObjectUuid = `${O.objectUuid}_${O.id}`), O.copyObjectUuid)
|
|
59384
|
+
if (O.copyObjectUuid.includes("#")) {
|
|
59385
|
+
if (O.copyObjectUuid.includes("_")) {
|
|
59386
|
+
const le = O.copyObjectUuid.split("_"), fe = le[0] + "-" + le.pop();
|
|
59387
|
+
E[O.copyObjectUuid.replace(
|
|
59388
|
+
O.copyObjectUuid[0],
|
|
59389
|
+
O.copyObjectUuid[0].toLowerCase()
|
|
59390
|
+
)] = fe.replace(
|
|
59391
|
+
fe[0],
|
|
59392
|
+
fe[0].toLowerCase()
|
|
59393
|
+
), O.copyObjectUuid = fe;
|
|
59394
|
+
}
|
|
59395
|
+
} else {
|
|
59396
|
+
const le = O.copyObjectUuid.split("_"), fe = le[0] + "#" + le.pop();
|
|
59397
|
+
E[O.copyObjectUuid.replace(
|
|
59398
|
+
O.copyObjectUuid[0],
|
|
59399
|
+
O.copyObjectUuid[0].toLowerCase()
|
|
59400
|
+
)] = fe.replace(
|
|
59401
|
+
fe[0],
|
|
59402
|
+
fe[0].toLowerCase()
|
|
59403
|
+
), O.copyObjectUuid = fe;
|
|
59404
|
+
}
|
|
59405
|
+
} else if (O.type === "AddObject" && (O.addObjectUuid || (O.addObjectUuid = `${O.objectType}_${O.id}`), O.addObjectUuid && !O.addObjectUuid.includes("#"))) {
|
|
59397
59406
|
const le = O.addObjectUuid.split("_"), fe = le[0] + "#" + le.pop();
|
|
59398
59407
|
E[O.addObjectUuid.replace(
|
|
59399
59408
|
O.addObjectUuid[0],
|
|
@@ -61149,7 +61158,7 @@ class Editor {
|
|
|
61149
61158
|
children: []
|
|
61150
61159
|
});
|
|
61151
61160
|
}
|
|
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;
|
|
61161
|
+
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
61162
|
if (ze.length === 0 && ke && !O.userData.disabledProcessedChildren)
|
|
61154
61163
|
continue;
|
|
61155
61164
|
let Xt;
|
|
@@ -61786,8 +61795,8 @@ class Base extends Camera {
|
|
|
61786
61795
|
};
|
|
61787
61796
|
this.settings = new Proxy(
|
|
61788
61797
|
Ui(B0(B0({}, this.initSettingsObj), n), {
|
|
61789
|
-
mouseNone: !1
|
|
61790
|
-
viewportPadding: [0, 0, 0, 0]
|
|
61798
|
+
mouseNone: !1
|
|
61799
|
+
// viewportPadding: [0, 0, 0, 0],
|
|
61791
61800
|
}),
|
|
61792
61801
|
{
|
|
61793
61802
|
set: (r, C, w) => {
|
|
@@ -143499,16 +143508,7 @@ const getLabelElement = (v) => {
|
|
|
143499
143508
|
n.position.z = -this.mapHistory[0].depth * (1 - w);
|
|
143500
143509
|
}
|
|
143501
143510
|
});
|
|
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);
|
|
143511
|
+
yield C(), this.saveCamvasState("controls", 0);
|
|
143512
143512
|
}
|
|
143513
143513
|
});
|
|
143514
143514
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.29.
|
|
1
|
+
declare const _default: "0.29.5";
|
|
2
2
|
export default _default;
|