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.
@@ -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.0";
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
- if (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 = {
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 === "map2") {
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: !0,
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.0";
1
+ declare const _default: "0.23.1";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && bundler",