@expofp/floorplan 3.5.1 → 3.6.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/browser/{CookieConsent-6peJrqgk.js → CookieConsent-D4hudhgN.js} +8 -8
- package/dist/browser/{Debug-CvWfZhp7.js → Debug-C6vAYMhX.js} +7 -7
- package/dist/browser/{Demo-kC9UMaAL.js → Demo-DtTuLI8Z.js} +11 -11
- package/dist/browser/{Free-D1WOkVlU.js → Free-CqdWCHcR.js} +11 -11
- package/dist/browser/{Gallery-D2nstK8X.js → Gallery-8RDDPykf.js} +10 -10
- package/dist/browser/{GpsLoader-DE6I9eQp.js → GpsLoader-B4FEU6gL.js} +42 -42
- package/dist/browser/{KioskStore-BhXRbqc8.js → KioskStore-phPgRGhj.js} +36 -36
- package/dist/browser/{MaplibreAdapter-DDxo96FQ.js → MaplibreAdapter-CS16BDJC.js} +937 -929
- package/dist/browser/{Modal-C_uJNEVc.js → Modal-D_X6o9Jg.js} +10 -10
- package/dist/browser/{PermissionNotice-DeY-7Rry.js → PermissionNotice-B226CFBT.js} +7 -7
- package/dist/browser/{SetKioskMode-Czt6Qco7.js → SetKioskMode-BE0tkdDL.js} +11 -11
- package/dist/browser/{ShowKiosk-SDGABRF1.js → ShowKiosk-SbRgpnQB.js} +10 -10
- package/dist/browser/{TouchHand-CebNMx3v.js → TouchHand-CzEqXotc.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BMREinP9.js → ViewerMenuPanel-CwOeHoJI.js} +12 -12
- package/dist/browser/{add-debug-secret-listener-CUkJsq-4.js → add-debug-secret-listener-DiNpUPIy.js} +1 -1
- package/dist/browser/{boolean-editor-C0cyyHKp.js → boolean-editor-B4fmO-H1.js} +9 -9
- package/dist/browser/{bootIntercom-BLYoGbUn.js → bootIntercom-78s2IZm1.js} +2 -2
- package/dist/browser/{browser-DI-o-wTZ.js → browser-D0xyTgL5.js} +2 -2
- package/dist/browser/bundle.json +59 -56
- package/dist/browser/{classnames-DWcKabmv.js → classnames-BrYUjPEV.js} +2 -2
- package/dist/browser/{client-CQI0leBx.js → client-BFmngvOl.js} +4 -4
- package/dist/browser/{components-C-3ZMgfD.js → components-C562ZBah.js} +1522 -1514
- package/dist/browser/{createWayfinding-CDwQ_kFX.js → createWayfinding-DK2PWhbe.js} +598 -614
- package/dist/browser/{debug-overlay-CUFjVM6D.js → debug-overlay-z6WXDPBn.js} +10 -10
- package/dist/browser/{debug-ui-eDwZY0sh.js → debug-ui-sCW8RARU.js} +6 -6
- package/dist/browser/{dist-CR8nDYxb.js → dist-B1wg_Vg-.js} +3 -3
- package/dist/browser/{dist-BiXgsIE3.js → dist-CRY34h6v.js} +5 -5
- package/dist/browser/{dist-D9RLyx9H.js → dist-DnAXhxh2.js} +6 -6
- package/dist/browser/{efp-debug-init-C8MmMCLI.js → efp-debug-init-B_ntwOhP.js} +2 -2
- package/dist/browser/{enum-editor-CVPdrht4.js → enum-editor-DbuXf8r8.js} +11 -11
- package/dist/browser/{event-not-found-DgbIOCzB.js → event-not-found-CAmc16WN.js} +1 -1
- package/dist/browser/{exports-nm9toBcx.js → exports-BD8GG1L5.js} +1 -1
- package/dist/browser/{favicon-c3oSQwg0.js → favicon-sZdpacxH.js} +1 -1
- package/dist/browser/{fetch-retry.umd-B3h4-W3a.js → fetch-retry.umd-AjUp2dMf.js} +2 -2
- package/dist/browser/{flex-L-r84Co9.js → flex-CCWA2Kd-.js} +5 -5
- package/dist/browser/{floorplan.loader-CrIto_wf.js → floorplan.loader-CCXe84-M.js} +48 -47
- package/dist/browser/{floorplan.ready-DbN9VRg6.js → floorplan.ready-VVqKSxrS.js} +232 -232
- package/dist/browser/{fuse-BD772YLF.js → fuse-B8HbR5wR.js} +2 -2
- package/dist/browser/{i18n-vxuvCdp3.js → i18n-C4ccU4Uz.js} +570 -543
- package/dist/browser/icons/departure_inactive.svg +5 -0
- package/dist/browser/index.js +11 -11
- package/dist/browser/{jsx-runtime-B_lDzQUM.js → jsx-runtime-zxgo_t9B.js} +2 -2
- package/dist/browser/{lib-Dt473O92.js → lib-B4liZrwq.js} +4 -4
- package/dist/browser/{main-BI_sKj7M.js → main-Bzb6dYP_.js} +1 -1
- package/dist/browser/{mobx-CsXF36GH.js → mobx-COHcSxbj.js} +8 -8
- package/dist/browser/{particles.min-Cu3-EAst.js → particles.min-B07pddyr.js} +2 -2
- package/dist/browser/{prop-types-CZk95C-H.js → prop-types-S_wOlY3G.js} +2 -2
- package/dist/browser/{react-dom-RQOatts6.js → react-dom-uOgI3fJi.js} +3 -3
- package/dist/browser/{react-DZdfNwUb.js → react-v-0l0dCU.js} +2 -2
- package/dist/browser/{reset-all-settings-B49xLRxj.js → reset-all-settings-DP_XEkZl.js} +7 -7
- package/dist/browser/{rolldown-runtime-r7aXVB4Q.js → rolldown-runtime-fX7LzKTd.js} +1 -1
- package/dist/browser/{settings-CTjITReC.js → settings-CvUKxJUO.js} +2 -2
- package/dist/browser/{settings-item-BfWIariz.js → settings-item-9XX6a5Rl.js} +6 -6
- package/dist/browser/{storage-NTiBNuK8.js → storage-I3dC3nwm.js} +5 -5
- package/dist/browser/{store-DAjbf6yG.js → store-DZbEm-97.js} +5746 -5681
- package/dist/browser/{string-editor-xAGw1E90.js → string-editor-CC5dLlZp.js} +7 -7
- package/dist/browser/{theme-BlJqeFM1.js → theme-CFDTZaHO.js} +8 -8
- package/dist/browser/{ui-ZNjW9wBH.js → ui-R-PKHh7O.js} +8 -8
- package/dist/browser/{useRenderTarget-BGVzr0LV.js → useRenderTarget-Da6-PWjd.js} +4 -4
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Wayfinding.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +15 -6
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/types.d.ts +1 -1
- package/dist/esm/utils/loadIcons.js +1 -1
- package/dist/esm/wayfinding/adapters/arbitraryPoint.d.ts +28 -0
- package/dist/esm/wayfinding/adapters/arbitraryPoint.js +1 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +3 -3
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
- package/dist/esm/wayfinding/adapters/iconProvider.d.ts +1 -1
- package/dist/esm/wayfinding/adapters/index.d.ts +2 -0
- package/dist/esm/wayfinding/adapters/index.js +1 -1
- package/dist/esm/wayfinding/bindMobxReactions.d.ts +9 -1
- package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
- package/dist/esm/wayfinding/core/createWayfindingEngine.js +1 -1
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +23 -0
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -0
- package/dist/esm/wayfinding/core/index.d.ts +6 -3
- package/dist/esm/wayfinding/core/index.js +1 -1
- package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +9 -0
- package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.d.ts +10 -0
- package/dist/esm/wayfinding/core/position/rerouteController.js +1 -0
- package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +2 -2
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
- package/dist/esm/wayfinding/core/routing/{findNearestGraphPoint.d.ts → graphPointResolvers.d.ts} +1 -3
- package/dist/esm/wayfinding/core/routing/graphPointResolvers.js +1 -0
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +17 -3
- package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +1 -1
- package/dist/esm/wayfinding/core/types.d.ts +5 -6
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/dist/esm/wayfinding/layers.d.ts +1 -0
- package/dist/esm/wayfinding/layers.js +1 -1
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/endpointView.d.ts +4 -1
- package/dist/esm/wayfinding/runtime/endpointView.js +1 -1
- package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +14 -20
- package/dist/esm/wayfinding/runtime/positionTrailView.js +1 -1
- package/dist/esm/wayfinding/runtime/positionView.d.ts +1 -0
- package/dist/esm/wayfinding/runtime/positionView.js +1 -1
- package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +1 -1
- package/dist/esm/wayfinding/runtime/types.d.ts +1 -0
- package/package.json +3 -3
- package/dist/esm/RouteCutIn.d.ts +0 -23
- package/dist/esm/RouteCutIn.js +0 -1
- package/dist/esm/wayfinding/core/position/shouldReroute.d.ts +0 -3
- package/dist/esm/wayfinding/core/position/shouldReroute.js +0 -1
- package/dist/esm/wayfinding/core/routing/findNearestGraphPoint.js +0 -1
- package/dist/esm/wayfinding/utils/findBoothInRadius.d.ts +0 -4
- package/dist/esm/wayfinding/utils/findBoothInRadius.js +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d386aa57-4584-435d-8447-ff72413856bc", e._sentryDebugIdIdentifier = "sentry-dbid-d386aa57-4584-435d-8447-ff72413856bc");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { s as r } from "./i18n-
|
|
13
|
-
import {
|
|
14
|
-
import { t as a } from "./PermissionNotice-
|
|
9
|
+
import { n as e } from "./rolldown-runtime-fX7LzKTd.js";
|
|
10
|
+
import { t } from "./react-v-0l0dCU.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-zxgo_t9B.js";
|
|
12
|
+
import { s as r } from "./i18n-C4ccU4Uz.js";
|
|
13
|
+
import { un as i } from "./store-DZbEm-97.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-B226CFBT.js";
|
|
15
15
|
//#region src/components/CookieConsent.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e({ default: () => c });
|
|
17
17
|
t();
|
|
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7bf6e91e-38c7-4eff-b5b0-74bc64f867a7", e._sentryDebugIdIdentifier = "sentry-dbid-7bf6e91e-38c7-4eff-b5b0-74bc64f867a7");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
13
|
-
import { s as n } from "./i18n-
|
|
14
|
-
import {
|
|
10
|
+
import "./rolldown-runtime-fX7LzKTd.js";
|
|
11
|
+
import { t as e } from "./react-v-0l0dCU.js";
|
|
12
|
+
import { t } from "./jsx-runtime-zxgo_t9B.js";
|
|
13
|
+
import { s as n } from "./i18n-C4ccU4Uz.js";
|
|
14
|
+
import { fn as r, o as i, s as a } from "./store-DZbEm-97.js";
|
|
15
15
|
e();
|
|
16
16
|
var o = [], s = t();
|
|
17
17
|
function c() {
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2037404f-a45d-4057-a162-c98b164c6d38", e._sentryDebugIdIdentifier = "sentry-dbid-2037404f-a45d-4057-a162-c98b164c6d38");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-fX7LzKTd.js";
|
|
11
|
+
import { t as n } from "./react-v-0l0dCU.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-zxgo_t9B.js";
|
|
13
|
+
import { s as i } from "./i18n-C4ccU4Uz.js";
|
|
14
|
+
import { t as a } from "./classnames-BrYUjPEV.js";
|
|
15
|
+
import { dn as o, fn as s, s as c } from "./store-DZbEm-97.js";
|
|
16
|
+
import { n as l } from "./mobx-COHcSxbj.js";
|
|
17
17
|
n();
|
|
18
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
|
|
19
19
|
function m() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = o(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get top() {
|
|
23
23
|
return c.screenSize.width <= 820;
|
|
@@ -34,7 +34,7 @@ function m() {
|
|
|
34
34
|
sessionStorage.getItem(p) || window.setTimeout(() => {
|
|
35
35
|
e.hidden = !1;
|
|
36
36
|
}, 2e3);
|
|
37
|
-
}),
|
|
37
|
+
}), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
38
38
|
className: e.classes,
|
|
39
39
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
40
40
|
className: "demo__message",
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "479b63b2-4817-45ef-a72d-6bbda9bbf43b", e._sentryDebugIdIdentifier = "sentry-dbid-479b63b2-4817-45ef-a72d-6bbda9bbf43b");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { s as r } from "./i18n-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-fX7LzKTd.js";
|
|
11
|
+
import { t } from "./react-v-0l0dCU.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-zxgo_t9B.js";
|
|
13
|
+
import { s as r } from "./i18n-C4ccU4Uz.js";
|
|
14
|
+
import { t as i } from "./classnames-BrYUjPEV.js";
|
|
15
|
+
import { dn as a, fn as o, l as s, s as c, u as l } from "./store-DZbEm-97.js";
|
|
16
|
+
import { n as u } from "./mobx-COHcSxbj.js";
|
|
17
17
|
t();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
19
19
|
function p() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = a(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get classes() {
|
|
23
23
|
return (0, d.default)("free", { hidden: this.hidden });
|
|
@@ -27,7 +27,7 @@ function p() {
|
|
|
27
27
|
c.freeBannerDismissed || window.setTimeout(() => {
|
|
28
28
|
e.hidden = !1;
|
|
29
29
|
}, 2e3);
|
|
30
|
-
}),
|
|
30
|
+
}), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
31
31
|
className: e.classes,
|
|
32
32
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
33
33
|
className: "free__message",
|
|
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b7c8771-998d-4226-943f-68437b85782b", e._sentryDebugIdIdentifier = "sentry-dbid-8b7c8771-998d-4226-943f-68437b85782b");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-fX7LzKTd.js";
|
|
11
|
+
import { t as n } from "./react-v-0l0dCU.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-zxgo_t9B.js";
|
|
13
|
+
import { s as i } from "./i18n-C4ccU4Uz.js";
|
|
14
|
+
import { t as a } from "./react-dom-uOgI3fJi.js";
|
|
15
|
+
import { t as o } from "./classnames-BrYUjPEV.js";
|
|
16
|
+
import { un as s } from "./store-DZbEm-97.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-Da6-PWjd.js";
|
|
18
18
|
//#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
19
19
|
var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
20
20
|
className: "gallery__badge gallery__badge-count",
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "02c769e5-0987-4eac-9440-869513ec1964", e._sentryDebugIdIdentifier = "sentry-dbid-02c769e5-0987-4eac-9440-869513ec1964");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as d } from "./PermissionNotice-
|
|
15
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-fX7LzKTd.js";
|
|
10
|
+
import { t } from "./react-v-0l0dCU.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-zxgo_t9B.js";
|
|
12
|
+
import { ct as r, q as i, s as a } from "./i18n-C4ccU4Uz.js";
|
|
13
|
+
import { E as o, Et as s, lt as c, o as l, un as u } from "./store-DZbEm-97.js";
|
|
14
|
+
import { t as d } from "./PermissionNotice-B226CFBT.js";
|
|
15
|
+
import { r as f } from "./mobx-COHcSxbj.js";
|
|
16
16
|
//#region src/components/gps/utils.ts
|
|
17
17
|
var p = /* @__PURE__ */ e(t(), 1);
|
|
18
18
|
function m(e) {
|
|
19
19
|
return Math.floor(e);
|
|
20
20
|
}
|
|
21
21
|
function h(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return c(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
26
26
|
var g = 120, _ = 3e3, v = 360;
|
|
27
27
|
function y(e) {
|
|
28
|
-
let t = (0, p.useRef)(null), n = (0, p.useRef)(null),
|
|
28
|
+
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
|
|
29
29
|
let t = Date.now();
|
|
30
|
-
if (t -
|
|
30
|
+
if (t - i.current < g) return;
|
|
31
31
|
let n = a.current;
|
|
32
|
-
if (!
|
|
33
|
-
|
|
32
|
+
if (!s.current) {
|
|
33
|
+
s.current = e, i.current = t, a.current = e, d(e);
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
|
-
let
|
|
37
|
-
l.current ?
|
|
38
|
-
...
|
|
36
|
+
let r = c(s.current.lat, s.current.lng, e.lat, e.lng), o;
|
|
37
|
+
l.current ? r <= 3 ? (l.current = !1, s.current = e, o = {
|
|
38
|
+
...s.current,
|
|
39
39
|
heading: e.heading
|
|
40
|
-
}) : (
|
|
41
|
-
...
|
|
40
|
+
}) : (s.current = e, o = e) : r >= 3 ? (l.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
|
|
41
|
+
...s.current,
|
|
42
42
|
heading: e.heading
|
|
43
|
-
}), !(n && !h(n, o)) && (
|
|
43
|
+
}), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
|
|
44
44
|
}, y = (0, p.useCallback)((e) => {
|
|
45
45
|
var t;
|
|
46
46
|
let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
|
|
@@ -59,7 +59,7 @@ function y(e) {
|
|
|
59
59
|
lng: e.coords.longitude,
|
|
60
60
|
heading: n.current
|
|
61
61
|
});
|
|
62
|
-
}, (e) =>
|
|
62
|
+
}, (e) => r.warn("Geolocation watch error:", e), {
|
|
63
63
|
enableHighAccuracy: !0,
|
|
64
64
|
maximumAge: 0
|
|
65
65
|
}));
|
|
@@ -68,7 +68,7 @@ function y(e) {
|
|
|
68
68
|
o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
|
|
69
69
|
},
|
|
70
70
|
stopGeolocation: () => {
|
|
71
|
-
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null),
|
|
71
|
+
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, l.current = !1;
|
|
72
72
|
},
|
|
73
73
|
stopOrientation: () => {
|
|
74
74
|
o.current = !1, window.removeEventListener("deviceorientation", y, !0);
|
|
@@ -77,7 +77,7 @@ function y(e) {
|
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
79
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
80
|
-
var b = n(), x =
|
|
80
|
+
var b = n(), x = u(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
81
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
82
82
|
title: a("Show your position on the map"),
|
|
83
83
|
acceptText: a("Allow compass access"),
|
|
@@ -89,27 +89,27 @@ var b = n(), x = l(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
|
89
89
|
});
|
|
90
90
|
//#endregion
|
|
91
91
|
//#region src/components/gps/GpsManager.tsx
|
|
92
|
-
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey:
|
|
93
|
-
let { startOrientation:
|
|
92
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
|
|
93
|
+
let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
|
|
94
94
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
95
|
-
m(!0),
|
|
95
|
+
m(!0), l();
|
|
96
96
|
}, (e) => {
|
|
97
|
-
|
|
97
|
+
r.warn("Geolocation error:", e), m(!1);
|
|
98
98
|
}), () => {
|
|
99
|
-
|
|
99
|
+
u(), d();
|
|
100
100
|
}), [
|
|
101
|
-
|
|
101
|
+
l,
|
|
102
102
|
d,
|
|
103
|
-
|
|
103
|
+
u
|
|
104
104
|
]);
|
|
105
105
|
let _ = async () => {
|
|
106
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(
|
|
106
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), c(), g(!1), t == null || t());
|
|
107
107
|
}, v = (0, p.useCallback)(() => {
|
|
108
|
-
localStorage.setItem(
|
|
108
|
+
localStorage.setItem(i, "false"), g(!1), n == null || n();
|
|
109
109
|
}, [n]);
|
|
110
110
|
return (0, p.useEffect)(() => {
|
|
111
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
112
|
-
let e = localStorage.getItem(
|
|
111
|
+
if (!f || !o || typeof navigator > "u" || !s) return;
|
|
112
|
+
let e = localStorage.getItem(i);
|
|
113
113
|
if (!e || a) {
|
|
114
114
|
g(!0);
|
|
115
115
|
return;
|
|
@@ -129,24 +129,24 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
129
129
|
//#endregion
|
|
130
130
|
//#region src/components/GpsLoader.tsx
|
|
131
131
|
function C({ requestCompassAllowed: e }) {
|
|
132
|
-
let [t, n] = (0, p.useState)(!1),
|
|
133
|
-
|
|
132
|
+
let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
133
|
+
l.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
|
|
134
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
135
|
-
|
|
135
|
+
l.routeStore.requestCompass = void 0, n(!1);
|
|
136
136
|
}, [n]), s = (0, p.useCallback)(() => {
|
|
137
|
-
|
|
137
|
+
l.routeStore.requestCompass = void 0, n(!1);
|
|
138
138
|
}, [n]);
|
|
139
|
-
return f(() =>
|
|
139
|
+
return f(() => l.uiState.hideCookieConsent, (e) => {
|
|
140
140
|
n(e);
|
|
141
|
-
}), f(() =>
|
|
141
|
+
}), f(() => l.routeStore.requestCompass, (e) => {
|
|
142
142
|
n(e);
|
|
143
143
|
}), /* @__PURE__ */ (0, b.jsx)(S, {
|
|
144
144
|
requestCompass: t,
|
|
145
145
|
requestCompassAllowed: e,
|
|
146
146
|
onRejectCompass: a,
|
|
147
147
|
onAllowCompass: s,
|
|
148
|
-
orientationStorageKey:
|
|
149
|
-
onPositionUpdate:
|
|
148
|
+
orientationStorageKey: i,
|
|
149
|
+
onPositionUpdate: r
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.6.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ccf808b6-ff9f-4734-92d3-9480d3cb638c", e._sentryDebugIdIdentifier = "sentry-dbid-ccf808b6-ff9f-4734-92d3-9480d3cb638c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e, r as t, t as n } from "./storage-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { n as e, r as t, t as n } from "./storage-I3dC3nwm.js";
|
|
10
|
+
import { b as r, g as i, p as a, s as o, u as s, v as c } from "./i18n-C4ccU4Uz.js";
|
|
11
|
+
import { Rt as l, o as u, yt as d } from "./store-DZbEm-97.js";
|
|
12
12
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
13
13
|
function f(e, t) {
|
|
14
14
|
let n = 0;
|
|
@@ -25,16 +25,16 @@ function f(e, t) {
|
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/components/Map/visibleArea.ts
|
|
27
27
|
function p(e) {
|
|
28
|
-
let t =
|
|
28
|
+
let t = l(e.viewport.canvasToSvg({
|
|
29
29
|
x: 0,
|
|
30
30
|
y: 0
|
|
31
|
-
})), n =
|
|
31
|
+
})), n = l(e.viewport.canvasToSvg({
|
|
32
32
|
x: e.canvas.clientWidth,
|
|
33
33
|
y: 0
|
|
34
|
-
})), r =
|
|
34
|
+
})), r = l(e.viewport.canvasToSvg({
|
|
35
35
|
x: 0,
|
|
36
36
|
y: e.canvas.clientHeight
|
|
37
|
-
})), i =
|
|
37
|
+
})), i = l(e.viewport.canvasToSvg({
|
|
38
38
|
x: e.canvas.clientWidth,
|
|
39
39
|
y: e.canvas.clientHeight
|
|
40
40
|
})), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
|
|
@@ -86,16 +86,16 @@ var b = new (h = class {
|
|
|
86
86
|
v(this, "savedKiosk", g, this), v(this, "statusMessages", _, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
87
87
|
}
|
|
88
88
|
get kiosk() {
|
|
89
|
-
return
|
|
89
|
+
return u.uiState.kioskData;
|
|
90
90
|
}
|
|
91
91
|
setKiosk(e) {
|
|
92
|
-
|
|
92
|
+
u.uiState.setKioskData(e);
|
|
93
93
|
}
|
|
94
94
|
get renderer() {
|
|
95
|
-
return
|
|
95
|
+
return u.rendererService.renderer;
|
|
96
96
|
}
|
|
97
97
|
getCameraState() {
|
|
98
|
-
let e =
|
|
98
|
+
let e = u.rendererService.getCameraState();
|
|
99
99
|
return e ? {
|
|
100
100
|
mapInitialPtScale: this.initialPtScale,
|
|
101
101
|
mapPtScale: e.ptScale,
|
|
@@ -106,10 +106,10 @@ var b = new (h = class {
|
|
|
106
106
|
} : {};
|
|
107
107
|
}
|
|
108
108
|
get hasUnsavedChanges() {
|
|
109
|
-
let e = this.savedKiosk, t =
|
|
109
|
+
let e = this.savedKiosk, t = r(this.kiosk);
|
|
110
110
|
if (!t || !e) return !!t != !!e;
|
|
111
|
-
let n = Object.keys(e),
|
|
112
|
-
if (n.length !==
|
|
111
|
+
let n = Object.keys(e), i = Object.keys(t);
|
|
112
|
+
if (n.length !== i.length) return !0;
|
|
113
113
|
for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
|
|
114
114
|
return !1;
|
|
115
115
|
}
|
|
@@ -126,61 +126,61 @@ var b = new (h = class {
|
|
|
126
126
|
clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
|
|
127
127
|
}
|
|
128
128
|
async resetCamera() {
|
|
129
|
-
let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale:
|
|
129
|
+
let { z: e, mapRollDegrees: t, mapInitialPtScale: n, mapPtScale: r, mapCenterX: i, mapCenterY: a } = this.kiosk || {};
|
|
130
130
|
await this.renderer.controls.resetCamera({
|
|
131
131
|
pan: !0,
|
|
132
132
|
zoom: !0,
|
|
133
133
|
roll: !0,
|
|
134
134
|
pitch: !0
|
|
135
|
-
}, !0),
|
|
136
|
-
Number.isFinite(n) && Number.isFinite(
|
|
135
|
+
}, !0), c(() => {
|
|
136
|
+
Number.isFinite(n) && Number.isFinite(r) && r > 0 && this.renderer.controls.zoomBy(n / r, !0), Number.isFinite(i) && Number.isFinite(a) && this.renderer.controls.panTo(i, a, !0), Number.isFinite(t) && this.renderer.controls.rollTo(t, !0), e && u.fp.activateFloor({ name: e });
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
restoreData() {
|
|
140
140
|
let e = n();
|
|
141
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
141
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, u.uiState.kiosk = !0, this.resetCamera()), e;
|
|
142
142
|
}
|
|
143
143
|
handleSetupReady() {
|
|
144
|
-
this.restoreData(),
|
|
144
|
+
this.restoreData(), u.uiState.kiosk = !0, u.uiState.hideFreeOrDemo = !0, u.uiState.setForceDimm(!0), u.searchStore.setSearchText(""), u.searchStore.setFocused(!1);
|
|
145
145
|
}
|
|
146
146
|
handleClose() {
|
|
147
|
-
this.setKiosk(null),
|
|
147
|
+
this.setKiosk(null), u.uiState.setForceDimm(!1), u.uiState.enableSetKioskMode(!1), u.searchStore.closeSearch(), this.resetCamera();
|
|
148
148
|
}
|
|
149
149
|
handleDelete() {
|
|
150
|
-
e(), this.setKiosk(null),
|
|
150
|
+
e(), this.setKiosk(null), u.uiState.resetMapSettings(), u.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
151
151
|
variant: "success",
|
|
152
152
|
title: o("Deleted")
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
handleSave() {
|
|
156
|
-
let e =
|
|
156
|
+
let e = r(this.kiosk), n = this.getCameraState(), i = {
|
|
157
157
|
...e,
|
|
158
158
|
...n
|
|
159
159
|
};
|
|
160
|
-
if (!m(this.renderer,
|
|
160
|
+
if (!m(this.renderer, i)) {
|
|
161
161
|
this.addStatusMessage({
|
|
162
162
|
variant: "error",
|
|
163
163
|
title: o("Kiosk not visible")
|
|
164
164
|
});
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
this.setKiosk(
|
|
167
|
+
this.setKiosk(i), t(i), u.uiState.setUIScale(i.uiScale, !0), this.addStatusMessage({
|
|
168
168
|
variant: "success",
|
|
169
169
|
title: o("Saved")
|
|
170
|
-
}), this.savedKiosk =
|
|
170
|
+
}), this.savedKiosk = i;
|
|
171
171
|
}
|
|
172
172
|
delayChange(e) {
|
|
173
173
|
requestAnimationFrame(() => e == null ? void 0 : e());
|
|
174
174
|
}
|
|
175
175
|
handleChange(e) {
|
|
176
|
-
let t =
|
|
176
|
+
let t = r(this.kiosk);
|
|
177
177
|
t && (Number.isFinite(e.angle) && this.setKiosk({
|
|
178
178
|
...t,
|
|
179
179
|
heading: e.angle
|
|
180
180
|
}), Number.isFinite(e.scale) && (this.setKiosk({
|
|
181
181
|
...t,
|
|
182
182
|
uiScale: e.scale
|
|
183
|
-
}), this.delayChange(() =>
|
|
183
|
+
}), this.delayChange(() => u.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
184
184
|
...t,
|
|
185
185
|
iconSizePercent: e.percent
|
|
186
186
|
}));
|
|
@@ -188,7 +188,7 @@ var b = new (h = class {
|
|
|
188
188
|
setInitialPtScale(e) {
|
|
189
189
|
if (this.initialPtScale) return;
|
|
190
190
|
this.initialPtScale = e;
|
|
191
|
-
let t =
|
|
191
|
+
let t = r(this.kiosk);
|
|
192
192
|
t && this.setKiosk({
|
|
193
193
|
...t,
|
|
194
194
|
mapInitialPtScale: e
|
|
@@ -196,31 +196,31 @@ var b = new (h = class {
|
|
|
196
196
|
}
|
|
197
197
|
handleClick(e) {
|
|
198
198
|
var t;
|
|
199
|
-
let n =
|
|
199
|
+
let n = r(this.kiosk), i = u.fp.getFloors(), a = d() ? (t = i.find((e) => e.active)) == null ? void 0 : t.name : null, o = u.uiState.uiScale;
|
|
200
200
|
this.setKiosk({
|
|
201
201
|
...n,
|
|
202
202
|
x: e.x,
|
|
203
203
|
y: e.y,
|
|
204
|
-
z:
|
|
205
|
-
uiScale: (n == null ? void 0 : n.uiScale) ||
|
|
204
|
+
z: a,
|
|
205
|
+
uiScale: (n == null ? void 0 : n.uiScale) || o,
|
|
206
206
|
heading: (n == null ? void 0 : n.heading) || 0,
|
|
207
207
|
iconSizePercent: (n == null ? void 0 : n.iconSizePercent) || 100,
|
|
208
208
|
...this.getCameraState()
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
handleNavigationChange() {
|
|
212
|
-
let e =
|
|
212
|
+
let e = r(this.kiosk);
|
|
213
213
|
e && this.setKiosk({
|
|
214
214
|
...e,
|
|
215
215
|
...this.getCameraState()
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
|
-
}, y(h.prototype, "kiosk", [
|
|
218
|
+
}, y(h.prototype, "kiosk", [a], Object.getOwnPropertyDescriptor(h.prototype, "kiosk"), h.prototype), y(h.prototype, "setKiosk", [s], Object.getOwnPropertyDescriptor(h.prototype, "setKiosk"), h.prototype), y(h.prototype, "renderer", [a], Object.getOwnPropertyDescriptor(h.prototype, "renderer"), h.prototype), g = y(h.prototype, "savedKiosk", [i], {
|
|
219
219
|
configurable: !0,
|
|
220
220
|
enumerable: !0,
|
|
221
221
|
writable: !0,
|
|
222
222
|
initializer: null
|
|
223
|
-
}), y(h.prototype, "hasUnsavedChanges", [
|
|
223
|
+
}), y(h.prototype, "hasUnsavedChanges", [a], Object.getOwnPropertyDescriptor(h.prototype, "hasUnsavedChanges"), h.prototype), _ = y(h.prototype, "statusMessages", [i], {
|
|
224
224
|
configurable: !0,
|
|
225
225
|
enumerable: !0,
|
|
226
226
|
writable: !0,
|