vis-core 0.23.0 → 0.23.1
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 +5 -9
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -90,7 +90,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
|
|
|
90
90
|
).toString(CryptoJS.enc.Utf8), qe = JSON.parse($e), st = Date.now();
|
|
91
91
|
return !qe.s || qe.s > st ? (this.token = void 0, "") : qe.e && qe.e < st ? (this.token = void 0, "") : (qe.isValid = Qe, qe);
|
|
92
92
|
}
|
|
93
|
-
}, version = "0.23.
|
|
93
|
+
}, version = "0.23.1";
|
|
94
94
|
/**
|
|
95
95
|
* @license
|
|
96
96
|
* Copyright 2010-2024 Three.js Authors
|
|
@@ -49601,17 +49601,13 @@ const compareVersion = (c, e) => {
|
|
|
49601
49601
|
}
|
|
49602
49602
|
compareVersion(c.c.version, "0.13.0") === -1 && c.h.u[0].visOptions.adcode === 0 && (c.h.u[0].visType = "world");
|
|
49603
49603
|
}
|
|
49604
|
-
|
|
49604
|
+
return compareVersion(c.c.version, "0.13.0") === -1 && c.h.u[0] && c.h.u[0].visType === "world" && (c.h.u[0].visType = "map", c.h.u[0].visOptions = {
|
|
49605
49605
|
adcode: 0,
|
|
49606
49606
|
mapDepth: 5,
|
|
49607
49607
|
lineWidth: 2,
|
|
49608
49608
|
worldPacificCentre: !0,
|
|
49609
49609
|
extrudeLine: !1
|
|
49610
|
-
}), c.h.u[0] && c.h.u[0].visType === "FJ" && (c.h.u[0].visType = "map2"), c.h.u[0] && c.h.u[0].visType === "
|
|
49611
|
-
const { adcode: de } = c.h.u[0].visOptions;
|
|
49612
|
-
de === 35e4 && (c.h.u[0].visOptions.drillDownHideParent = !0);
|
|
49613
|
-
}
|
|
49614
|
-
return compareVersion(c.c.version, "0.18.1") === -1 && c.h.u[0] && c.h.u[0].visType === "earth3" && (c.h.u[0].visType = "earth", c.h.u[0].visOptions.style = "countryPlate"), compareVersion(c.c.version, "0.18.14") === -1 && c.h.u[0] && c.h.u[0].visType === "map" && c.h.u.forEach((de) => {
|
|
49610
|
+
}), c.h.u[0] && c.h.u[0].visType === "FJ" && (c.h.u[0].visType = "map2"), compareVersion(c.c.version, "0.18.1") === -1 && c.h.u[0] && c.h.u[0].visType === "earth3" && (c.h.u[0].visType = "earth", c.h.u[0].visOptions.style = "countryPlate"), compareVersion(c.c.version, "0.18.14") === -1 && c.h.u[0] && c.h.u[0].visType === "map" && c.h.u.forEach((de) => {
|
|
49615
49611
|
if (de.type === "SetSetting" && de.attributeName.startsWith("测试") && typeof de.newValue == "string" && de.newValue.includes(":::")) {
|
|
49616
49612
|
const Xe = de.newValue.split(":::")[1];
|
|
49617
49613
|
de.attributeName += ":::" + Xe, de.newValue = de.newValue.split(":::")[0], de.oldValue && typeof de.oldValue == "string" && (de.oldValue = de.oldValue.split(":::")[0]);
|
|
@@ -49621,7 +49617,7 @@ const compareVersion = (c, e) => {
|
|
|
49621
49617
|
const Xe = de.attributeName.split(":::")[1];
|
|
49622
49618
|
de.attributeName = de.attributeName.replace(Xe, `caId.${Xe}`);
|
|
49623
49619
|
}
|
|
49624
|
-
}), compareVersion(c.c.version, "0.21.24") === -1 && c.h.u[0] && c.h.u[0].visType === "map" && (T = (r = c.v) == null ? void 0 : r.eo) != null && T.parentBgCurvatureResolution && (delete c.v.eo.parentBgCurvatureResolution, c.v.eo.parentBgTopSegments = 400), c;
|
|
49620
|
+
}), compareVersion(c.c.version, "0.21.24") === -1 && c.h.u[0] && c.h.u[0].visType === "map" && (T = (r = c.v) == null ? void 0 : r.eo) != null && T.parentBgCurvatureResolution && (delete c.v.eo.parentBgCurvatureResolution, c.v.eo.parentBgTopSegments = 400), compareVersion(c.c.version, "0.23.1") === -1 && c.h.u[0] && c.h.u[0].visType === "map2" && !c.h.u[0].visOptions.cityOnMap && (c.h.u[0].visOptions.clickHandleDrillDown = !0), c;
|
|
49625
49621
|
};
|
|
49626
49622
|
class Scripts {
|
|
49627
49623
|
constructor(e) {
|
|
@@ -132323,7 +132319,7 @@ class Map$1 extends Map$2 {
|
|
|
132323
132319
|
polarAngle: 0.6690037180091797,
|
|
132324
132320
|
mapDepth: [1, 0.3, 0.12],
|
|
132325
132321
|
clickOusideBack: !0,
|
|
132326
|
-
clickHandleDrillDown: !
|
|
132322
|
+
clickHandleDrillDown: !1,
|
|
132327
132323
|
bottomPlane: !0,
|
|
132328
132324
|
bottomPlaneWater: !1,
|
|
132329
132325
|
parentBg: !0,
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.23.
|
|
1
|
+
declare const _default: "0.23.1";
|
|
2
2
|
export default _default;
|