@mappedin/viewer 0.28.2 → 0.28.3-e764ae7.0
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.js
CHANGED
|
@@ -15872,7 +15872,7 @@ const g8 = { current: Xe2, captureEnabled: !0 }, sF2 = (i) => {
|
|
|
15872
15872
|
const e = mf(), [t, r] = i;
|
|
15873
15873
|
e.capture(t, r);
|
|
15874
15874
|
}, Ke2 = (i = {}) => {
|
|
15875
|
-
const e = "
|
|
15875
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
15876
15876
|
lF2(i.captureEnabled ?? !0);
|
|
15877
15877
|
const r = mf();
|
|
15878
15878
|
if (!r.__loaded && e != null && t != null) {
|
|
@@ -72101,7 +72101,7 @@ const Xne = (i, e) => (t7 != null || (Th == null && globalThis.OffscreenCanvas !
|
|
|
72101
72101
|
const r = {
|
|
72102
72102
|
fit: "fit",
|
|
72103
72103
|
...t
|
|
72104
|
-
}, n = "https://image-proxy.mappedin.
|
|
72104
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = Kne[e], o = encodeURIComponent(i);
|
|
72105
72105
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
72106
72106
|
}, YX = me.div`
|
|
72107
72107
|
display: flex;
|
|
@@ -73503,7 +73503,7 @@ class _ae {
|
|
|
73503
73503
|
}
|
|
73504
73504
|
async init(e) {
|
|
73505
73505
|
this.container = e;
|
|
73506
|
-
const t = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
73506
|
+
const t = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", r = {
|
|
73507
73507
|
auto: !1,
|
|
73508
73508
|
initialFloor: this.rootStore.currentFloor,
|
|
73509
73509
|
watermark: this.getWatermarkOptions(),
|
|
@@ -75391,7 +75391,6 @@ class sY {
|
|
|
75391
75391
|
e != null && this.setCurrentFloor(this.data.getById("floor", e));
|
|
75392
75392
|
return;
|
|
75393
75393
|
}
|
|
75394
|
-
this.currentFloor == null && this.setCurrentFloor(this.floorClosestToGroundLevel);
|
|
75395
75394
|
}
|
|
75396
75395
|
syncDeparture() {
|
|
75397
75396
|
if (this.mapStore.mapView != null) {
|
|
@@ -75551,8 +75550,10 @@ class sY {
|
|
|
75551
75550
|
}
|
|
75552
75551
|
get currentFloor() {
|
|
75553
75552
|
const e = this.routerStore.params.floor;
|
|
75554
|
-
if (
|
|
75555
|
-
return
|
|
75553
|
+
if (Array.isArray(e))
|
|
75554
|
+
return;
|
|
75555
|
+
let t;
|
|
75556
|
+
return e != null && (t = this.data.getById("floor", e)), t ?? this.floorClosestToGroundLevel;
|
|
75556
75557
|
}
|
|
75557
75558
|
get state() {
|
|
75558
75559
|
return Object.values(I0).includes(this.routerStore.path) ? this.routerStore.path : I0.START;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const CustomMatchers: Parameters<typeof expect.extend>[0];
|
|
File without changes
|