vis-core 0.28.37 → 0.28.38
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.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.28.
|
|
66
|
+
const version = "0.28.38", publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUEyTG1aVVQzVG9LZEVRRUdrdUU1QQo3dnlYTzRMM1Z6NDA5RFF2a2xzRHZ2SytNM2M2OGl4ZEVhZDZFcnZGS2FKQ1QrNTZNdU1XSXhUTnlDZDVQSkFGCjVYdzI4cW1iVkVCR3FGdXVIZTltSm5GUmRXN1NpK1Z1cTZvRWxwQkRkeEFIQ0dsWVVpU1R3WmhBbjJaVXJLSUYKd1J2c1k1bi9uWWNhZnl5QW9tRjhmNVRsTkpwS1JtbDU3WlRSWjBMdzdQRDFSeHFIbmJ0YWFETkpiSDV5eFd6cQpaVTBwQWhxMFNkNHdlOW1DUTJWWXc5czhtUERLbW4rU083eGovSUsrR1ZEaEJNOUpaZ3VIcGFZUGt3bWd5UkdwCkx6V0tHMkZULzJRalZUT1dRT09mRFVtVitDSVlsN1hVVlh1Q0toYWFNQ0ZVa1JQOHg4aEZucmNFeklHQ1JpM3IKK3dJREFRQUIKLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t", accessToken = {
|
|
67
67
|
token: void 0,
|
|
68
68
|
getInfo() {
|
|
69
69
|
if (!this.token)
|
|
@@ -59743,7 +59743,7 @@ class SetMaterialVector extends Command {
|
|
|
59743
59743
|
class SetMaterialMapVector extends Command {
|
|
59744
59744
|
constructor(e, n, r, C, _, I = "repeat") {
|
|
59745
59745
|
var O, Se, ve, Ce;
|
|
59746
|
-
super(e), this.type = "SetMaterialMapVector", this.attributeName2 = I, this.name = `Set Material.${r}.${I}`, this.updatable = !0, this.object = n, this.materialSlot = _, this.material = this.editor.getObjectMaterial(n, _), this.material instanceof _e$1 && r === "map" && I === "repeat" ? this.oldValue = this.material.repeat.toArray() : ((Se = (O = this.material) == null ? void 0 : O[r]) == null ? void 0 : Se[I]) instanceof Vector2 ? this.oldValue = this.material[r][I].toArray() : typeof ((Ce = (ve = this.material) == null ? void 0 : ve[r]) == null ? void 0 : Ce[I]) != "undefined" && (this.oldValue = this.material[r][I]), this.newValue = C, this.attributeName = r;
|
|
59746
|
+
super(e), this.type = "SetMaterialMapVector", this.attributeName2 = I, this.name = `Set Material.${r}.${I}`, this.updatable = !0, this.object = n, this.materialSlot = _, n != null && n.isScene ? this.material = n[_] : this.material = this.editor.getObjectMaterial(n, _), this.material instanceof _e$1 && r === "map" && I === "repeat" ? this.oldValue = this.material.repeat.toArray() : ((Se = (O = this.material) == null ? void 0 : O[r]) == null ? void 0 : Se[I]) instanceof Vector2 ? this.oldValue = this.material[r][I].toArray() : typeof ((Ce = (ve = this.material) == null ? void 0 : ve[r]) == null ? void 0 : Ce[I]) != "undefined" && (this.oldValue = this.material[r][I]), this.newValue = C, this.attributeName = r;
|
|
59747
59747
|
}
|
|
59748
59748
|
execute() {
|
|
59749
59749
|
var e, n, r, C, _;
|
|
@@ -59769,7 +59769,8 @@ class SetMaterialMapVector extends Command {
|
|
|
59769
59769
|
return e.objectUuid = this.editor.uuidByMaterialObject(this.object), e.materialSlot = this.materialSlot, e.attributeName = this.attributeName, e.attributeName2 = this.attributeName2, e.oldValue = this.oldValue, e.newValue = this.newValue, e;
|
|
59770
59770
|
}
|
|
59771
59771
|
fromJSON(e) {
|
|
59772
|
-
|
|
59772
|
+
var n;
|
|
59773
|
+
super.fromJSON(e), this.object = this.editor.materialObjectByUuid(e.objectUuid), this.materialSlot = e.materialSlot, (n = this.object) != null && n.isScene ? this.material = this.object[e.materialSlot] : this.material = this.editor.getObjectMaterial(
|
|
59773
59774
|
this.object,
|
|
59774
59775
|
this.materialSlot
|
|
59775
59776
|
), this.attributeName = e.attributeName, e.attributeName2 && (this.attributeName2 = e.attributeName2), this.oldValue = e.oldValue, this.newValue = e.newValue, this.attributeName === "repeat" && (this.attributeName = "map");
|
|
@@ -143729,7 +143730,10 @@ const getLabelElement = (v) => {
|
|
|
143729
143730
|
return ke.object3d.name = ((ct = findAdcodeInfo(O)) == null ? void 0 : ct.name) || `${O}`, this.options.style === "map2CityOnMap" && !this.options.showCityOnMapInnerLine && (Re.lineMat.colorWrite = !1, ke.lineArr.forEach((Ue) => {
|
|
143730
143731
|
Ue.userData.selectHide = !0;
|
|
143731
143732
|
})), ke.extrudelineArr && ke.extrudelineArr.forEach((Ue) => {
|
|
143732
|
-
Ue.object3d.name = "板块边线", this.lead.updateBaseObjectKey(
|
|
143733
|
+
Ue.object3d.name = "板块边线", this.lead.updateBaseObjectKey(
|
|
143734
|
+
Ue,
|
|
143735
|
+
this.mapHistory.length ? "extrudeLine#$p:" : "extrudeLine"
|
|
143736
|
+
), this.initBaseObjectUserData(Ue), I && (Ue.object3d.userData.bloom = !0);
|
|
143733
143737
|
}), ke.lineArr && ke.lineArr.forEach((Ue) => {
|
|
143734
143738
|
this.initBaseObjectUserData(Ue);
|
|
143735
143739
|
}), ke;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.28.
|
|
1
|
+
declare const _default: "0.28.38";
|
|
2
2
|
export default _default;
|