@mappedin/viewer 0.24.2-6c751b1.0 → 0.24.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.2](https://github.com/MappedIn/viewer/compare/viewer-v0.24.1...viewer-v0.24.2) (2024-07-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1314:** tweak connection marker animation ([#257](https://github.com/MappedIn/viewer/issues/257)) ([f68cf87](https://github.com/MappedIn/viewer/commit/f68cf87a5ed5f07cd6e9fe510473477957f1f16b))
|
|
9
|
+
* **SRV-1314:** tweak label colors in night blue theme ([#262](https://github.com/MappedIn/viewer/issues/262)) ([53d98b1](https://github.com/MappedIn/viewer/commit/53d98b1ac71f5e14bcc8dfed18e6d0b3844f5e77))
|
|
10
|
+
* **SRV-1351:** ensure building footprints are hiding in the default tile set ([#263](https://github.com/MappedIn/viewer/issues/263)) ([3acf00d](https://github.com/MappedIn/viewer/commit/3acf00dfc406c4c0e54c1e057868d9e244a23e14))
|
|
11
|
+
|
|
3
12
|
## [0.24.1](https://github.com/MappedIn/viewer/compare/viewer-v0.24.0...viewer-v0.24.1) (2024-07-15)
|
|
4
13
|
|
|
5
14
|
|
package/dist/index.js
CHANGED
|
@@ -10100,8 +10100,8 @@ const Yf = /* @__PURE__ */ xC(WCe), p7 = (r) => ({
|
|
|
10100
10100
|
connection: "#50B6B6",
|
|
10101
10101
|
washroom: "#68A4EE",
|
|
10102
10102
|
parking: "#80AE77",
|
|
10103
|
-
point: "#
|
|
10104
|
-
door: "#
|
|
10103
|
+
point: "#BC76C6",
|
|
10104
|
+
door: "#C09B72"
|
|
10105
10105
|
},
|
|
10106
10106
|
markers: {
|
|
10107
10107
|
text: "#B9CDE2",
|
|
@@ -65840,7 +65840,7 @@ const ZHe = [s2, G2, Dn, Z2, Uu, kr, ho], x8e = [s2, Z2], w8e = async (r, e) =>
|
|
|
65840
65840
|
}
|
|
65841
65841
|
return await HHe(t);
|
|
65842
65842
|
};
|
|
65843
|
-
var GHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.
|
|
65843
|
+
var GHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.2", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
|
|
65844
65844
|
const WHe = async (r, e, t) => {
|
|
65845
65845
|
const i = `${e ?? GHe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${r}&version=2.0.0`, { url: n } = await fetch(i).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await Q$(o), l = J$(s);
|
|
65846
65846
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), w8e(l, t);
|
|
@@ -71157,7 +71157,7 @@ const vXe = (r, e) => (Pd != null || (U6 == null && globalThis.OffscreenCanvas !
|
|
|
71157
71157
|
const i = {
|
|
71158
71158
|
fit: "fit",
|
|
71159
71159
|
...t
|
|
71160
|
-
}, n = "https://image-proxy
|
|
71160
|
+
}, n = "https://image-proxy.mappedin.com", a = CXe[e], o = encodeURIComponent(r);
|
|
71161
71161
|
return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
71162
71162
|
}, zfe = Uh`
|
|
71163
71163
|
cursor: pointer;
|
|
@@ -71243,37 +71243,8 @@ const vXe = (r, e) => (Pd != null || (U6 == null && globalThis.OffscreenCanvas !
|
|
|
71243
71243
|
-webkit-transform: translateY(-3.2px);
|
|
71244
71244
|
transform: translateY(-3.2px);
|
|
71245
71245
|
}
|
|
71246
|
-
}
|
|
71247
|
-
@keyframes shake-vertical {
|
|
71248
|
-
0%,
|
|
71249
|
-
100% {
|
|
71250
|
-
-webkit-transform: translateY(0);
|
|
71251
|
-
transform: translateY(0);
|
|
71252
|
-
}
|
|
71253
|
-
10%,
|
|
71254
|
-
30%,
|
|
71255
|
-
50%,
|
|
71256
|
-
70% {
|
|
71257
|
-
-webkit-transform: translateY(-4px);
|
|
71258
|
-
transform: translateY(-4px);
|
|
71259
|
-
}
|
|
71260
|
-
20%,
|
|
71261
|
-
40%,
|
|
71262
|
-
60% {
|
|
71263
|
-
-webkit-transform: translateY(4px);
|
|
71264
|
-
transform: translateY(4px);
|
|
71265
|
-
}
|
|
71266
|
-
80% {
|
|
71267
|
-
-webkit-transform: translateY(3.2px);
|
|
71268
|
-
transform: translateY(3.2px);
|
|
71269
|
-
}
|
|
71270
|
-
90% {
|
|
71271
|
-
-webkit-transform: translateY(-3.2px);
|
|
71272
|
-
transform: translateY(-3.2px);
|
|
71273
|
-
}
|
|
71274
|
-
|
|
71275
71246
|
`, wXe = zt.div`
|
|
71276
|
-
animation: ${xXe}
|
|
71247
|
+
animation: ${xXe} 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75 both;
|
|
71277
71248
|
`, bXe = zt.div`
|
|
71278
71249
|
transform: rotate(${({ direction: r }) => r === "up" ? "0deg" : "180deg"});
|
|
71279
71250
|
`, Pm = 0.7, Dj = ({
|
|
@@ -72474,8 +72445,9 @@ class BXe {
|
|
|
72474
72445
|
};
|
|
72475
72446
|
i && (n.outdoorView = {
|
|
72476
72447
|
token: t,
|
|
72477
|
-
style: this.rootStore.uiStore.theme.map.tiles
|
|
72478
|
-
|
|
72448
|
+
style: this.rootStore.uiStore.theme.map.tiles
|
|
72449
|
+
// TODO: This is broken in the SDK
|
|
72450
|
+
// layersHiddenByGeometry: ['building-outline', 'building-top', 'building'],
|
|
72479
72451
|
});
|
|
72480
72452
|
try {
|
|
72481
72453
|
const a = await jHe(e, this.rootStore.data, n);
|
|
@@ -86539,7 +86511,7 @@ const L7e = fw((r) => {
|
|
|
86539
86511
|
/* @__PURE__ */ X.jsx(Eq, { children: /* @__PURE__ */ X.jsx(LF, { ...e }) })
|
|
86540
86512
|
), t;
|
|
86541
86513
|
}, E7e = (r = {}) => {
|
|
86542
|
-
const e = "
|
|
86514
|
+
const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
|
|
86543
86515
|
ySe(r.captureEnabled ?? !0);
|
|
86544
86516
|
const i = pf();
|
|
86545
86517
|
if (!i.__loaded && e != null && t != null) {
|
|
@@ -86558,7 +86530,7 @@ const L7e = fw((r) => {
|
|
|
86558
86530
|
}
|
|
86559
86531
|
}, T7e = () => {
|
|
86560
86532
|
let r = document.querySelector("meta[name=app-version]");
|
|
86561
|
-
r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.
|
|
86533
|
+
r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.2";
|
|
86562
86534
|
let e = document.querySelector("meta[name=viewport]");
|
|
86563
86535
|
e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
|
|
86564
86536
|
}, A7e = (r) => {
|