vis-core 0.27.15 → 0.27.16
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 +10 -8
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.module.js
CHANGED
|
@@ -88,7 +88,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
|
|
|
88
88
|
).toString(CryptoJS.enc.Utf8), Fe = JSON.parse(Ne), at = Date.now();
|
|
89
89
|
return !Fe.s || Fe.s > at ? (this.token = void 0, "") : Fe.e && Fe.e < at ? (this.token = void 0, "") : (Fe.isValid = Le, Fe);
|
|
90
90
|
}
|
|
91
|
-
}, version = "0.27.
|
|
91
|
+
}, version = "0.27.16";
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
|
94
94
|
* Copyright 2010-2025 Three.js Authors
|
|
@@ -59245,17 +59245,17 @@ function applyFixes(g, t) {
|
|
|
59245
59245
|
{
|
|
59246
59246
|
version: "0.27.8",
|
|
59247
59247
|
fix: () => {
|
|
59248
|
-
t.h.u[0] && t.h.u[0].visType === "map" && t.h.u[0].visOptions.style === "map2CityOnMap" &&
|
|
59248
|
+
t.h.u[0] && t.h.u[0].visType === "map" && t.h.u[0].visOptions.style === "map2CityOnMap" && (t.h.u[0].visOptions.mergeSide = !0, t.h.u.forEach((w) => {
|
|
59249
59249
|
w.objectUuid === "extrudeLine" ? w.objectUuid = "plane#lineMat" : w.objectUuid === "plane#lineMat" && (w.objectUuid = "extrudeLine");
|
|
59250
|
-
})
|
|
59250
|
+
}));
|
|
59251
59251
|
}
|
|
59252
59252
|
},
|
|
59253
59253
|
{
|
|
59254
59254
|
version: "0.27.9",
|
|
59255
59255
|
fix: () => {
|
|
59256
|
-
t.h.u[0] && t.h.u[0].visType === "map" && t.h.u[0].visOptions.style === "map2CityOnMap" &&
|
|
59256
|
+
t.h.u[0] && t.h.u[0].visType === "map" && t.h.u[0].visOptions.style === "map2CityOnMap" && t.h.u.forEach((w) => {
|
|
59257
59257
|
w.objectUuid === "plane#extrudeLineMat" && (w.objectUuid = "plane#lineMat");
|
|
59258
|
-
})
|
|
59258
|
+
});
|
|
59259
59259
|
}
|
|
59260
59260
|
},
|
|
59261
59261
|
{
|
|
@@ -59273,7 +59273,7 @@ function applyFixes(g, t) {
|
|
|
59273
59273
|
compareVersion(r[w].version, g) > 0 ? (C = w, v = w - 1) : d = w + 1;
|
|
59274
59274
|
}
|
|
59275
59275
|
for (let w = C; w < r.length; w++)
|
|
59276
|
-
r[w].fix();
|
|
59276
|
+
r[w].fix(), t.c.version = r[w].version;
|
|
59277
59277
|
}
|
|
59278
59278
|
const fixJSON = (g) => {
|
|
59279
59279
|
var t;
|
|
@@ -141979,6 +141979,8 @@ const objs$1 = Di(bi({}, objs$3), {
|
|
|
141979
141979
|
);
|
|
141980
141980
|
return ot.object3d.name = ((Gt = findAdcodeInfo(E)) == null ? void 0 : Gt.name) || `${E}`, this.options.style === "map2CityOnMap" && !this.options.showCityOnMapInnerLine && (Ne.lineMat.colorWrite = !1, this.mList.setUserData("plane#lineMat", {
|
|
141981
141981
|
selectHide: !0
|
|
141982
|
+
}), ot.lineArr.forEach((ct) => {
|
|
141983
|
+
ct.userData.selectHide = !0;
|
|
141982
141984
|
})), ot.extrudelineArr && ot.extrudelineArr.forEach((ct) => {
|
|
141983
141985
|
ct.object3d.name = "板块边线", this.lead.updateBaseObjectKey(ct, "extrudeLine"), this.initBaseObjectUserData(ct), w && (ct.object3d.userData.bloom = !0);
|
|
141984
141986
|
}), ot;
|
|
@@ -142687,7 +142689,7 @@ const getMapConfig = (v, ...C) => D0(void 0, [v, ...C], function* (g, t = b, r,
|
|
|
142687
142689
|
var ot, Gt;
|
|
142688
142690
|
if (g.adcode === 0 && g.adcode === 1e5)
|
|
142689
142691
|
return bi({}, g);
|
|
142690
|
-
const w = g.adcode, E = findAdcodeInfo(w).level === "province", ye = findAdcodeInfo(w).level === "city", Le = (ot = g.fixGeojson) == null ? void 0 : ot[w], Re = (Gt = g.fixGeojson) == null ? void 0 : Gt[w + "-lite"];
|
|
142692
|
+
const w = g.adcode, E = findAdcodeInfo(w).level === "province", ye = findAdcodeInfo(w).level === "city" || findAdcodeInfo(w).level === "district" && findAdcodeInfo(findAdcodeInfo(w).parent).level === "province", Le = (ot = g.fixGeojson) == null ? void 0 : ot[w], Re = (Gt = g.fixGeojson) == null ? void 0 : Gt[w + "-lite"];
|
|
142691
142693
|
let { res: Ne } = yield jsonFetch(
|
|
142692
142694
|
t + `/geojson/${Le || "json"}/${w}.json`
|
|
142693
142695
|
);
|
|
@@ -142733,7 +142735,7 @@ const getMapConfig = (v, ...C) => D0(void 0, [v, ...C], function* (g, t = b, r,
|
|
|
142733
142735
|
const ct = yield png2webp(`/template/l7ojr7nqc06u24f/${w}.jpg`), ke = yield png2webp(
|
|
142734
142736
|
`/template/l7ojr7nqc06u24f/${w}-自发光.jpg`
|
|
142735
142737
|
);
|
|
142736
|
-
d[
|
|
142738
|
+
d[7] = ct.src, d[6] = ke.src, console.log("替换 map emissiveMap");
|
|
142737
142739
|
}
|
|
142738
142740
|
if (g.parentBg) {
|
|
142739
142741
|
const ct = findAdcodeInfo(w).parent;
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.27.
|
|
1
|
+
declare const _default: "0.27.16";
|
|
2
2
|
export default _default;
|