@expofp/floorplan 3.17.0 → 3.18.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.
- package/dist/browser/{Button-BvHs209k.js → Button-D24xOa4I.js} +5 -5
- package/dist/browser/{CookieConsent-uGe-orOE.js → CookieConsent-BTzsoyoV.js} +7 -7
- package/dist/browser/{Debug-DM3Cnzjy.js → Debug-CqKhUi06.js} +7 -7
- package/dist/browser/{Demo-DIExdSw5.js → Demo-B3EOY0Xq.js} +9 -9
- package/dist/browser/{Free-C90eDy1u.js → Free-pY7M8m4h.js} +9 -9
- package/dist/browser/{Gallery-DseC1DGK.js → Gallery-A8cqqrTJ.js} +9 -9
- package/dist/browser/{GpsLoader-uaVrSMAP.js → GpsLoader-DpJhUdzw.js} +22 -22
- package/dist/browser/KioskStore-DICU_c9W.js +288 -0
- package/dist/browser/{MaplibreAdapter-CCIJmi3w.js → MaplibreAdapter-DDSPODNR.js} +2127 -2070
- package/dist/browser/{ModalContainer-DJALRumx.js → ModalContainer-DnwGQgDt.js} +10 -10
- package/dist/browser/{PermissionNotice-Ck0m5tkz.js → PermissionNotice-Gw1lUPnc.js} +6 -6
- package/dist/browser/{SetKioskMode-BAlK8FJQ.js → SetKioskMode-mh3piul9.js} +11 -11
- package/dist/browser/{ShowKiosk-D1qMukNo.js → ShowKiosk-zkF-CXr8.js} +12 -12
- package/dist/browser/{TouchHand-DJKOFZCg.js → TouchHand-DWec6Hd2.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DfKgKmA-.js → ViewerMenuPanel-C_wp1AsD.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-G4LjvH4q.js → add-debug-secret-listener-DVLr6HP8.js} +1 -1
- package/dist/browser/{adopt-global-settings-BmgJScKv.js → adopt-global-settings-Btj0VnLn.js} +9 -9
- package/dist/browser/{boolean-editor-P87LiphM.js → boolean-editor-BpIQdba3.js} +9 -9
- package/dist/browser/{bootIntercom-DtSpojcT.js → bootIntercom-DSg-Cxkq.js} +2 -2
- package/dist/browser/{booth-by-xy-DgltL0jn.js → booth-by-xy-BvNNTs6Q.js} +429 -376
- package/dist/browser/bundle.json +68 -65
- package/dist/browser/{classnames-D-Qg-3tl.js → classnames-CFZOol_A.js} +2 -2
- package/dist/browser/{client-Bzcq41f0.js → client-BSrj7kzz.js} +4 -4
- package/dist/browser/{components-Bv7sEfN0.js → components-6Db-nRo5.js} +1544 -1540
- package/dist/browser/{debug-overlay-B6eWMym4.js → debug-overlay-Bt6DNp-8.js} +10 -10
- package/dist/browser/{debug-ui-CmcCYtr0.js → debug-ui-X9kyhrgx.js} +6 -6
- package/dist/browser/{dist-BbIPnlzY.js → dist-CSjEqv2k.js} +3 -3
- package/dist/browser/{dist-BsMb6HPT.js → dist-H1U2_uEE.js} +5 -5
- package/dist/browser/{dist-BX0nA41K.js → dist-HS_i2V3o.js} +6 -6
- package/dist/browser/{efp-debug-init-BRktPQXJ.js → efp-debug-init-D0_xHeMm.js} +3 -3
- package/dist/browser/{enum-editor-BHa21MHI.js → enum-editor-Y3eY0GZN.js} +4 -4
- package/dist/browser/{es5-C4TOotvl.js → es5-Bnh-FuEf.js} +2 -2
- package/dist/browser/{event-not-found-5FiUS2L1.js → event-not-found-DaBAYGFy.js} +1 -1
- package/dist/browser/{exports-DE-f0obs.js → exports-pRH9fRPj.js} +1 -1
- package/dist/browser/{favicon-B1qr1OYc.js → favicon-eVAPrhqR.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CdOGnxGU.js → fetch-retry.umd-CU86oApr.js} +2 -2
- package/dist/browser/{flex-OjTlgVl3.js → flex-CBHNyrZ4.js} +5 -5
- package/dist/browser/{floorplan.loader-DZfgXzTQ.js → floorplan.loader-C2Uhu9rp.js} +10 -10
- package/dist/browser/{floorplan.ready-D4YwQEXj.js → floorplan.ready-D1uAmP_v.js} +161 -161
- package/dist/browser/{fuse-C28vZbTE.js → fuse-N8kU4K-S.js} +2 -2
- package/dist/browser/{i18n-BsYXLDK5.js → i18n-BtP9mFz3.js} +13 -8
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-DqUrH37c.js → index.module-BsJ6W9of.js} +4 -4
- package/dist/browser/integrateKiosk-3pSiw3dQ.js +33 -0
- package/dist/browser/{is-webview-CZP7j8cz.js → is-webview-Cta8T4n3.js} +1 -1
- package/dist/browser/{jsx-runtime--6my_WCj.js → jsx-runtime-BEbKJk0I.js} +2 -2
- package/dist/browser/kiosk-record-CqwMLWxV.js +18 -0
- package/dist/browser/{lib-YBUjKSJT.js → lib-I9l3N_qn.js} +3 -3
- package/dist/browser/{loadImage-jxJkKG3w.js → loadImage-Dss1EbV-.js} +4 -4
- package/dist/browser/{logDeviceInfo-COuAthf5.js → logDeviceInfo-C71JR2gm.js} +9 -9
- package/dist/browser/{main-ffAOHstq.js → main-CfBwT8A1.js} +1 -1
- package/dist/browser/{mobx-BaMKXcrS.js → mobx-BczBqzzL.js} +4 -4
- package/dist/browser/{optional-boolean-editor-B60pTwsX.js → optional-boolean-editor-DzQfvreW.js} +3 -3
- package/dist/browser/{optional-enum-editor-iqX384jX.js → optional-enum-editor-CLMliNto.js} +4 -4
- package/dist/browser/{optional-string-editor-CyROCUHO.js → optional-string-editor-_KGdUVEY.js} +4 -4
- package/dist/browser/{particles.min-DVNuNdIF.js → particles.min-B1MXziWd.js} +2 -2
- package/dist/browser/{react-BCe3bV8J.js → react-DGnrgmGu.js} +2 -2
- package/dist/browser/{react-dom-CN00JDn_.js → react-dom-Cw00D2pA.js} +3 -3
- package/dist/browser/{rolldown-runtime-k6cAZhal.js → rolldown-runtime-BwZ60izJ.js} +1 -1
- package/dist/browser/{select-BGQoI7LX.js → select-D1YJPbva.js} +10 -10
- package/dist/browser/{settings-BJy-4Ynk.js → settings-Bi32JyQ7.js} +2 -2
- package/dist/browser/{settings-item-OZTob0if.js → settings-item-SFeXQJg_.js} +6 -6
- package/dist/browser/{store--s4Hqnvn.js → store-D3AM4bNd.js} +24 -15
- package/dist/browser/{string-editor-PZ1g-Xj9.js → string-editor-CDi_Yy04.js} +4 -4
- package/dist/browser/{text-field-BnEH_wLE.js → text-field-BtEculxh.js} +5 -5
- package/dist/browser/{theme-HBJ7wWWR.js → theme-DDvtl3pp.js} +8 -8
- package/dist/browser/{ui-3KmVe3Bv.js → ui-xJEwvFPJ.js} +8 -8
- package/dist/browser/{useRenderTarget-DJqfltMZ.js → useRenderTarget-Cswo9eRB.js} +4 -4
- package/dist/esm/components/Kiosk/KioskStore.d.ts +9 -0
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +18 -14
- package/dist/esm/components/Kiosk/integrateKiosk.d.ts +1 -1
- package/dist/esm/components/Kiosk/integrateKiosk.js +1 -1
- package/dist/esm/components/Kiosk/kiosk-record.d.ts +19 -0
- package/dist/esm/components/Kiosk/kiosk-record.js +1 -0
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +6 -3
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +8 -4
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useKioskIdleEvents.d.ts +18 -0
- package/dist/esm/components/Maplibre/useKioskIdleEvents.js +1 -0
- package/dist/esm/store/MaplibreStore.d.ts +47 -0
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/package.json +8 -8
- package/dist/browser/KioskStore-BG94IdLy.js +0 -241
- package/dist/browser/integrateKiosk-BEXKHkvI.js +0 -28
|
@@ -2,15 +2,15 @@ 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.18.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3e893bf2-2454-46c4-a34a-5a56a7cc6e69", e._sentryDebugIdIdentifier = "sentry-dbid-3e893bf2-2454-46c4-a34a-5a56a7cc6e69");
|
|
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 { t as r } from "./classnames-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-BwZ60izJ.js";
|
|
11
|
+
import { t } from "./react-DGnrgmGu.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-BEbKJk0I.js";
|
|
13
|
+
import { t as r } from "./classnames-CFZOol_A.js";
|
|
14
14
|
//#region src/ui/Button/Button.tsx
|
|
15
15
|
var i = /* @__PURE__ */ e(r(), 1);
|
|
16
16
|
t();
|
|
@@ -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.18.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "79c84256-9ce3-4e90-b8a7-605646518afa", e._sentryDebugIdIdentifier = "sentry-dbid-79c84256-9ce3-4e90-b8a7-605646518afa");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e } from "./rolldown-runtime-
|
|
10
|
-
import { s as t } from "./i18n-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime
|
|
13
|
-
import { t as i } from "./index.module-
|
|
14
|
-
import { t as a } from "./PermissionNotice-
|
|
9
|
+
import { n as e } from "./rolldown-runtime-BwZ60izJ.js";
|
|
10
|
+
import { s as t } from "./i18n-BtP9mFz3.js";
|
|
11
|
+
import { t as n } from "./react-DGnrgmGu.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-BEbKJk0I.js";
|
|
13
|
+
import { t as i } from "./index.module-BsJ6W9of.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-Gw1lUPnc.js";
|
|
15
15
|
//#region src/components/CookieConsent.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e({ default: () => c });
|
|
17
17
|
n();
|
|
@@ -2,17 +2,17 @@ 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.18.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ccd649fd-2f8a-44a8-ae8b-b63aa36d0a32", e._sentryDebugIdIdentifier = "sentry-dbid-ccd649fd-2f8a-44a8-ae8b-b63aa36d0a32");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { s as e } from "./i18n-
|
|
12
|
-
import { t } from "./react-
|
|
13
|
-
import { t as n } from "./jsx-runtime
|
|
14
|
-
import { r } from "./index.module-
|
|
15
|
-
import { c as i, s as a } from "./store
|
|
10
|
+
import "./rolldown-runtime-BwZ60izJ.js";
|
|
11
|
+
import { s as e } from "./i18n-BtP9mFz3.js";
|
|
12
|
+
import { t } from "./react-DGnrgmGu.js";
|
|
13
|
+
import { t as n } from "./jsx-runtime-BEbKJk0I.js";
|
|
14
|
+
import { r } from "./index.module-BsJ6W9of.js";
|
|
15
|
+
import { c as i, s as a } from "./store-D3AM4bNd.js";
|
|
16
16
|
t();
|
|
17
17
|
var o = [], s = n();
|
|
18
18
|
function c() {
|
|
@@ -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.18.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9507a38d-b2dc-4f6c-83bf-5d676a745378", e._sentryDebugIdIdentifier = "sentry-dbid-9507a38d-b2dc-4f6c-83bf-5d676a745378");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { s as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import { n as o, r as s } from "./index.module-
|
|
16
|
-
import { c } from "./store
|
|
17
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BwZ60izJ.js";
|
|
11
|
+
import { s as n } from "./i18n-BtP9mFz3.js";
|
|
12
|
+
import { t as r } from "./react-DGnrgmGu.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BEbKJk0I.js";
|
|
14
|
+
import { t as a } from "./classnames-CFZOol_A.js";
|
|
15
|
+
import { n as o, r as s } from "./index.module-BsJ6W9of.js";
|
|
16
|
+
import { c } from "./store-D3AM4bNd.js";
|
|
17
|
+
import { n as l } from "./mobx-BczBqzzL.js";
|
|
18
18
|
//#region src/components/Demo.tsx
|
|
19
19
|
var u = /* @__PURE__ */ e({ default: () => m }), d = /* @__PURE__ */ t(a(), 1);
|
|
20
20
|
r();
|
|
@@ -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.18.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f7cddd06-14c0-4e66-8ea8-d83302104dc7", e._sentryDebugIdIdentifier = "sentry-dbid-f7cddd06-14c0-4e66-8ea8-d83302104dc7");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { s as t } from "./i18n-
|
|
12
|
-
import { t as n } from "./react-
|
|
13
|
-
import { t as r } from "./jsx-runtime
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import { n as a, r as o } from "./index.module-
|
|
16
|
-
import { c as s, f as c, p as l } from "./store
|
|
17
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-BwZ60izJ.js";
|
|
11
|
+
import { s as t } from "./i18n-BtP9mFz3.js";
|
|
12
|
+
import { t as n } from "./react-DGnrgmGu.js";
|
|
13
|
+
import { t as r } from "./jsx-runtime-BEbKJk0I.js";
|
|
14
|
+
import { t as i } from "./classnames-CFZOol_A.js";
|
|
15
|
+
import { n as a, r as o } from "./index.module-BsJ6W9of.js";
|
|
16
|
+
import { c as s, f as c, p as l } from "./store-D3AM4bNd.js";
|
|
17
|
+
import { n as u } from "./mobx-BczBqzzL.js";
|
|
18
18
|
//#region src/components/Free.tsx
|
|
19
19
|
var d = /* @__PURE__ */ e(i(), 1);
|
|
20
20
|
n();
|
|
@@ -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.18.1" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "c195bf23-27e5-40b6-8b82-38b9342bda0d", e._sentryDebugIdIdentifier = "sentry-dbid-c195bf23-27e5-40b6-8b82-38b9342bda0d");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { s as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import { t as s } from "./index.module-
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-BwZ60izJ.js";
|
|
11
|
+
import { s as n } from "./i18n-BtP9mFz3.js";
|
|
12
|
+
import { t as r } from "./react-DGnrgmGu.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BEbKJk0I.js";
|
|
14
|
+
import { t as a } from "./react-dom-Cw00D2pA.js";
|
|
15
|
+
import { t as o } from "./classnames-CFZOol_A.js";
|
|
16
|
+
import { t as s } from "./index.module-BsJ6W9of.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-Cswo9eRB.js";
|
|
18
18
|
//#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
19
19
|
var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(r(), 1), d = i(), 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,20 +1,20 @@
|
|
|
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.18.1" };
|
|
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] = "d4bfa111-dc27-43f7-a4af-ea5d32947960", e._sentryDebugIdIdentifier = "sentry-dbid-d4bfa111-dc27-43f7-a4af-ea5d32947960");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { K as t, s as n } from "./i18n-
|
|
11
|
-
import { t as r } from "./react-
|
|
12
|
-
import { t as i } from "./jsx-runtime
|
|
13
|
-
import { r as a } from "./loadImage-
|
|
14
|
-
import { t as o } from "./index.module-
|
|
15
|
-
import { t as s } from "./PermissionNotice-
|
|
16
|
-
import {
|
|
17
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BwZ60izJ.js";
|
|
10
|
+
import { K as t, s as n } from "./i18n-BtP9mFz3.js";
|
|
11
|
+
import { t as r } from "./react-DGnrgmGu.js";
|
|
12
|
+
import { t as i } from "./jsx-runtime-BEbKJk0I.js";
|
|
13
|
+
import { r as a } from "./loadImage-Dss1EbV-.js";
|
|
14
|
+
import { t as o } from "./index.module-BsJ6W9of.js";
|
|
15
|
+
import { t as s } from "./PermissionNotice-Gw1lUPnc.js";
|
|
16
|
+
import { ln as c, s as l, xt as u, y as d } from "./store-D3AM4bNd.js";
|
|
17
|
+
import { r as f } from "./mobx-BczBqzzL.js";
|
|
18
18
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
19
19
|
var p = /* @__PURE__ */ e(r(), 1), m = i(), h = o(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
20
20
|
return e ? /* @__PURE__ */ (0, m.jsx)(s, {
|
|
@@ -30,13 +30,13 @@ function g(e) {
|
|
|
30
30
|
return Math.floor(e);
|
|
31
31
|
}
|
|
32
32
|
function _(e, t) {
|
|
33
|
-
return
|
|
33
|
+
return c(e, t) >= 3 || e.heading !== t.heading;
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
36
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
37
37
|
var v = 120, y = 3e3, b = 360;
|
|
38
38
|
function x(e) {
|
|
39
|
-
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null),
|
|
39
|
+
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (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) => {
|
|
40
40
|
let t = Date.now();
|
|
41
41
|
if (t - r.current < v) return;
|
|
42
42
|
let n = i.current;
|
|
@@ -44,11 +44,11 @@ function x(e) {
|
|
|
44
44
|
s.current = e, r.current = t, i.current = e, d(e);
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
let a =
|
|
48
|
-
|
|
47
|
+
let a = c(s.current, e), o;
|
|
48
|
+
l.current ? a <= 3 ? (l.current = !1, s.current = e, o = {
|
|
49
49
|
...s.current,
|
|
50
50
|
heading: e.heading
|
|
51
|
-
}) : (s.current = e, o = e) : a >= 3 ? (
|
|
51
|
+
}) : (s.current = e, o = e) : a >= 3 ? (l.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > y && (s.current = e), o = {
|
|
52
52
|
...s.current,
|
|
53
53
|
heading: e.heading
|
|
54
54
|
}), !(n && !_(n, o)) && (r.current = t, i.current = o, d(o));
|
|
@@ -79,7 +79,7 @@ function x(e) {
|
|
|
79
79
|
o.current || (o.current = !0, window.addEventListener("deviceorientation", m, !0));
|
|
80
80
|
},
|
|
81
81
|
stopGeolocation: () => {
|
|
82
|
-
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null,
|
|
82
|
+
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, l.current = !1;
|
|
83
83
|
},
|
|
84
84
|
stopOrientation: () => {
|
|
85
85
|
o.current = !1, window.removeEventListener("deviceorientation", m, !0);
|
|
@@ -129,15 +129,15 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
129
129
|
//#region src/components/GpsLoader.tsx
|
|
130
130
|
function C({ requestCompassAllowed: e }) {
|
|
131
131
|
let [n, r] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
132
|
-
|
|
132
|
+
l.routeStore.selectCurrentPosition(new d(0, 0, 0, n || r, e, t), !1);
|
|
133
133
|
}, []), a = (0, p.useCallback)(() => {
|
|
134
|
-
|
|
134
|
+
l.routeStore.requestCompass = void 0, r(!1);
|
|
135
135
|
}, [r]), o = (0, p.useCallback)(() => {
|
|
136
|
-
|
|
136
|
+
l.routeStore.requestCompass = void 0, r(!1);
|
|
137
137
|
}, [r]);
|
|
138
|
-
return f(() =>
|
|
138
|
+
return f(() => l.uiState.hideCookieConsent, (e) => {
|
|
139
139
|
r(e);
|
|
140
|
-
}), f(() =>
|
|
140
|
+
}), f(() => l.routeStore.requestCompass, (e) => {
|
|
141
141
|
r(e);
|
|
142
142
|
}), /* @__PURE__ */ (0, m.jsx)(S, {
|
|
143
143
|
requestCompass: n,
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.18.1" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3a19ba27-c67d-4c12-8a29-d11e6c7918a6", e._sentryDebugIdIdentifier = "sentry-dbid-3a19ba27-c67d-4c12-8a29-d11e6c7918a6");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { C as e, _ as t, d as n, m as r, s as i, x as a } from "./i18n-BtP9mFz3.js";
|
|
10
|
+
import { $ as o, Pt as s, Q as c, Qt as l, Z as u, rt as d, s as f } from "./store-D3AM4bNd.js";
|
|
11
|
+
import { n as p, t as m } from "./kiosk-record-CqwMLWxV.js";
|
|
12
|
+
//#region src/components/Map/pointInConvexQuad.ts
|
|
13
|
+
function h(e, t) {
|
|
14
|
+
let n = 0;
|
|
15
|
+
for (let r = 0; r < 4; r++) {
|
|
16
|
+
let i = t[r], a = t[(r + 1) % 4], o = (a.x - i.x) * (e.y - i.y) - (a.y - i.y) * (e.x - i.x);
|
|
17
|
+
if (!Number.isFinite(o)) return !1;
|
|
18
|
+
if (o === 0) continue;
|
|
19
|
+
let s = o > 0 ? 1 : -1;
|
|
20
|
+
if (n === 0) n = s;
|
|
21
|
+
else if (n !== s) return !1;
|
|
22
|
+
}
|
|
23
|
+
return n !== 0;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/Map/visibleArea.ts
|
|
27
|
+
function g(e) {
|
|
28
|
+
let t = s(e.viewport.canvasToSvg({
|
|
29
|
+
x: 0,
|
|
30
|
+
y: 0
|
|
31
|
+
})), n = s(e.viewport.canvasToSvg({
|
|
32
|
+
x: e.canvas.clientWidth,
|
|
33
|
+
y: 0
|
|
34
|
+
})), r = s(e.viewport.canvasToSvg({
|
|
35
|
+
x: 0,
|
|
36
|
+
y: e.canvas.clientHeight
|
|
37
|
+
})), i = s(e.viewport.canvasToSvg({
|
|
38
|
+
x: e.canvas.clientWidth,
|
|
39
|
+
y: e.canvas.clientHeight
|
|
40
|
+
})), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), c = Math.min(t.y, n.y, r.y, i.y), l = Math.max(t.y, n.y, r.y, i.y);
|
|
41
|
+
return {
|
|
42
|
+
x: a,
|
|
43
|
+
y: c,
|
|
44
|
+
width: o - a,
|
|
45
|
+
height: l - c,
|
|
46
|
+
left: a,
|
|
47
|
+
right: o,
|
|
48
|
+
top: l,
|
|
49
|
+
bottom: c,
|
|
50
|
+
center: {
|
|
51
|
+
x: (a + o) / 2,
|
|
52
|
+
y: (c + l) / 2
|
|
53
|
+
},
|
|
54
|
+
corners: [
|
|
55
|
+
t,
|
|
56
|
+
n,
|
|
57
|
+
i,
|
|
58
|
+
r
|
|
59
|
+
]
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function _(e, t) {
|
|
63
|
+
return h(t, g(e).corners);
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/Kiosk/KioskStore.ts
|
|
67
|
+
var v, y, b, x, S, C;
|
|
68
|
+
function w(e, t, n, r) {
|
|
69
|
+
n && Object.defineProperty(e, t, {
|
|
70
|
+
enumerable: n.enumerable,
|
|
71
|
+
configurable: n.configurable,
|
|
72
|
+
writable: n.writable,
|
|
73
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function T(e, t, n, r, i) {
|
|
77
|
+
var a = {};
|
|
78
|
+
return Object.keys(r).forEach(function(e) {
|
|
79
|
+
a[e] = r[e];
|
|
80
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
81
|
+
return r(e, t, n) || n;
|
|
82
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
83
|
+
}
|
|
84
|
+
var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r({ keepAlive: !0 }), x = class {
|
|
85
|
+
constructor() {
|
|
86
|
+
w(this, "savedKiosk", S, this), w(this, "statusMessages", C, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.initialPtScale = void 0;
|
|
87
|
+
}
|
|
88
|
+
get kiosk() {
|
|
89
|
+
return f.uiState.kioskData;
|
|
90
|
+
}
|
|
91
|
+
setKiosk(e) {
|
|
92
|
+
f.uiState.setKioskData(e);
|
|
93
|
+
}
|
|
94
|
+
get renderer() {
|
|
95
|
+
return f.rendererService.renderer;
|
|
96
|
+
}
|
|
97
|
+
getCameraState() {
|
|
98
|
+
if (f.maplibreStore.showMaplibre) {
|
|
99
|
+
var e;
|
|
100
|
+
let t = (e = f.maplibreStore.cameraPort) == null ? void 0 : e.getCameraState();
|
|
101
|
+
return t ? {
|
|
102
|
+
mapCenterLng: t.lng,
|
|
103
|
+
mapCenterLat: t.lat,
|
|
104
|
+
mapZoom: t.zoom,
|
|
105
|
+
mapBearingDegrees: t.bearing,
|
|
106
|
+
mapPitchDegrees: t.pitch
|
|
107
|
+
} : {};
|
|
108
|
+
}
|
|
109
|
+
let t = f.rendererService.getCameraState();
|
|
110
|
+
return t ? {
|
|
111
|
+
mapInitialPtScale: this.initialPtScale,
|
|
112
|
+
mapPtScale: t.ptScale,
|
|
113
|
+
mapCenterX: t.center.x,
|
|
114
|
+
mapCenterY: t.center.y,
|
|
115
|
+
mapRollDegrees: t.roll,
|
|
116
|
+
mapPitch: t.pitch
|
|
117
|
+
} : {};
|
|
118
|
+
}
|
|
119
|
+
get hasUnsavedChanges() {
|
|
120
|
+
let e = this.savedKiosk, t = a(this.kiosk);
|
|
121
|
+
if (!t || !e) return !!t != !!e;
|
|
122
|
+
let n = Object.keys(e), r = Object.keys(t);
|
|
123
|
+
if (n.length !== r.length) return !0;
|
|
124
|
+
for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
|
|
125
|
+
return !1;
|
|
126
|
+
}
|
|
127
|
+
addStatusMessage(e) {
|
|
128
|
+
this.statusMessages = [{
|
|
129
|
+
...e,
|
|
130
|
+
id: Date.now()
|
|
131
|
+
}], this.startCleanupMessages();
|
|
132
|
+
}
|
|
133
|
+
clearStatusMessages() {
|
|
134
|
+
this.statusMessages = [];
|
|
135
|
+
}
|
|
136
|
+
startCleanupMessages() {
|
|
137
|
+
clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
|
|
138
|
+
}
|
|
139
|
+
async resetCamera() {
|
|
140
|
+
if (!this.isResettingCamera) {
|
|
141
|
+
this.isResettingCamera = !0;
|
|
142
|
+
try {
|
|
143
|
+
if (f.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) return;
|
|
144
|
+
await this.resetRendererCamera();
|
|
145
|
+
} finally {
|
|
146
|
+
this.isResettingCamera = !1;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
async resetMaplibreCamera() {
|
|
151
|
+
let e = await this.waitForMaplibreCameraPort();
|
|
152
|
+
if (!e) return !1;
|
|
153
|
+
let t = this.kiosk;
|
|
154
|
+
(t == null ? void 0 : t.z) != null && f.fp.activateFloor({ name: String(t.z) });
|
|
155
|
+
let n = p(t == null ? void 0 : t.mapCenterLng), r = p(t == null ? void 0 : t.mapCenterLat), i = p(t == null ? void 0 : t.mapZoom);
|
|
156
|
+
return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), f.uiState.fitBounds(), !0) : (e.applyCameraState({
|
|
157
|
+
lng: n,
|
|
158
|
+
lat: r,
|
|
159
|
+
zoom: i,
|
|
160
|
+
bearing: p(t == null ? void 0 : t.mapBearingDegrees),
|
|
161
|
+
pitch: p(t == null ? void 0 : t.mapPitchDegrees)
|
|
162
|
+
}), !0);
|
|
163
|
+
}
|
|
164
|
+
async waitForMaplibreCameraPort() {
|
|
165
|
+
let { maplibreStore: t } = f;
|
|
166
|
+
if (t.cameraPort) return t.cameraPort;
|
|
167
|
+
try {
|
|
168
|
+
await e(() => !!t.cameraPort || !t.showMaplibre, { timeout: E });
|
|
169
|
+
} catch {
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
return t.cameraPort;
|
|
173
|
+
}
|
|
174
|
+
async resetRendererCamera() {
|
|
175
|
+
let e = this.renderer;
|
|
176
|
+
if (!e) return;
|
|
177
|
+
let t = this.kiosk;
|
|
178
|
+
await e.controls.resetCamera({
|
|
179
|
+
pan: !0,
|
|
180
|
+
zoom: !0,
|
|
181
|
+
roll: !0,
|
|
182
|
+
pitch: !0
|
|
183
|
+
}, !0), (t == null ? void 0 : t.z) != null && f.fp.activateFloor({ name: String(t.z) });
|
|
184
|
+
let n = m(t);
|
|
185
|
+
n !== void 0 && await e.controls.zoomBy(n, !0);
|
|
186
|
+
let r = p(t == null ? void 0 : t.mapCenterX), i = p(t == null ? void 0 : t.mapCenterY);
|
|
187
|
+
r !== void 0 && i !== void 0 && await e.controls.panTo(r, i, !0);
|
|
188
|
+
let a = p(t == null ? void 0 : t.mapRollDegrees);
|
|
189
|
+
a !== void 0 && await e.controls.rollTo(a, !0);
|
|
190
|
+
}
|
|
191
|
+
restoreData() {
|
|
192
|
+
let e = u();
|
|
193
|
+
e && (this.setKiosk(e), this.savedKiosk = e, f.uiState.kiosk = !0);
|
|
194
|
+
}
|
|
195
|
+
handleSetupReady() {
|
|
196
|
+
this.restoreData(), f.uiState.kiosk = !0, f.uiState.hideFreeOrDemo = !0, f.uiState.setForceDim(!0), f.searchStore.setSearchText(""), f.searchStore.setFocused(!1), this.resetCamera();
|
|
197
|
+
}
|
|
198
|
+
handleClose() {
|
|
199
|
+
this.setKiosk(null), f.uiState.setForceDim(!1), f.uiState.enableSetKioskMode(!1), f.searchStore.closeSearch();
|
|
200
|
+
}
|
|
201
|
+
handleDelete() {
|
|
202
|
+
c(), this.setKiosk(null), f.uiState.resetMapSettings(), f.uiState.resetUIScale(), this.addStatusMessage({
|
|
203
|
+
variant: "success",
|
|
204
|
+
title: i("Deleted")
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
handleSave() {
|
|
208
|
+
let e = this.renderer;
|
|
209
|
+
if (!e) return;
|
|
210
|
+
let t = a(this.kiosk), n = this.getCameraState(), r = {
|
|
211
|
+
...t,
|
|
212
|
+
...n
|
|
213
|
+
};
|
|
214
|
+
if (!_(e, r)) {
|
|
215
|
+
this.addStatusMessage({
|
|
216
|
+
variant: "error",
|
|
217
|
+
title: i("Kiosk not visible")
|
|
218
|
+
});
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
this.setKiosk(r), o(r), d(r, "https://app.expofp.com/"), f.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
222
|
+
variant: "success",
|
|
223
|
+
title: i("Saved")
|
|
224
|
+
}), this.savedKiosk = r;
|
|
225
|
+
}
|
|
226
|
+
delayChange(e) {
|
|
227
|
+
requestAnimationFrame(() => e == null ? void 0 : e());
|
|
228
|
+
}
|
|
229
|
+
handleChange(e) {
|
|
230
|
+
let t = a(this.kiosk);
|
|
231
|
+
t && (Number.isFinite(e.angle) && this.setKiosk({
|
|
232
|
+
...t,
|
|
233
|
+
heading: e.angle
|
|
234
|
+
}), Number.isFinite(e.scale) && (this.setKiosk({
|
|
235
|
+
...t,
|
|
236
|
+
uiScale: e.scale
|
|
237
|
+
}), this.delayChange(() => f.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
238
|
+
...t,
|
|
239
|
+
iconSizePercent: e.percent
|
|
240
|
+
}));
|
|
241
|
+
}
|
|
242
|
+
setInitialPtScale(e) {
|
|
243
|
+
if (this.initialPtScale) return;
|
|
244
|
+
this.initialPtScale = e;
|
|
245
|
+
let t = a(this.kiosk);
|
|
246
|
+
t && this.setKiosk({
|
|
247
|
+
...t,
|
|
248
|
+
mapInitialPtScale: e
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
handleClick(e) {
|
|
252
|
+
var t, n;
|
|
253
|
+
let r = a(this.kiosk), i = f.fp.getFloors(), o = l() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, s = f.uiState.uiScale;
|
|
254
|
+
this.setKiosk({
|
|
255
|
+
...r,
|
|
256
|
+
x: e.x,
|
|
257
|
+
y: e.y,
|
|
258
|
+
z: o,
|
|
259
|
+
uiScale: (r == null ? void 0 : r.uiScale) || s,
|
|
260
|
+
heading: (r == null ? void 0 : r.heading) || 0,
|
|
261
|
+
iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
|
|
262
|
+
...this.getCameraState()
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
handleNavigationChange() {
|
|
266
|
+
let e = a(this.kiosk);
|
|
267
|
+
e && this.setKiosk({
|
|
268
|
+
...e,
|
|
269
|
+
...this.getCameraState()
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}, T(x.prototype, "kiosk", [v], Object.getOwnPropertyDescriptor(x.prototype, "kiosk"), x.prototype), T(x.prototype, "setKiosk", [n], Object.getOwnPropertyDescriptor(x.prototype, "setKiosk"), x.prototype), T(x.prototype, "renderer", [y], Object.getOwnPropertyDescriptor(x.prototype, "renderer"), x.prototype), S = T(x.prototype, "savedKiosk", [t], {
|
|
273
|
+
configurable: !0,
|
|
274
|
+
enumerable: !0,
|
|
275
|
+
writable: !0,
|
|
276
|
+
initializer: function() {
|
|
277
|
+
return null;
|
|
278
|
+
}
|
|
279
|
+
}), T(x.prototype, "hasUnsavedChanges", [b], Object.getOwnPropertyDescriptor(x.prototype, "hasUnsavedChanges"), x.prototype), C = T(x.prototype, "statusMessages", [t], {
|
|
280
|
+
configurable: !0,
|
|
281
|
+
enumerable: !0,
|
|
282
|
+
writable: !0,
|
|
283
|
+
initializer: function() {
|
|
284
|
+
return [];
|
|
285
|
+
}
|
|
286
|
+
}), T(x.prototype, "addStatusMessage", [n], Object.getOwnPropertyDescriptor(x.prototype, "addStatusMessage"), x.prototype), T(x.prototype, "clearStatusMessages", [n], Object.getOwnPropertyDescriptor(x.prototype, "clearStatusMessages"), x.prototype), T(x.prototype, "startCleanupMessages", [n], Object.getOwnPropertyDescriptor(x.prototype, "startCleanupMessages"), x.prototype), T(x.prototype, "resetCamera", [n], Object.getOwnPropertyDescriptor(x.prototype, "resetCamera"), x.prototype), T(x.prototype, "restoreData", [n], Object.getOwnPropertyDescriptor(x.prototype, "restoreData"), x.prototype), T(x.prototype, "handleSetupReady", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleSetupReady"), x.prototype), T(x.prototype, "handleClose", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleClose"), x.prototype), T(x.prototype, "handleDelete", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleDelete"), x.prototype), T(x.prototype, "handleSave", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleSave"), x.prototype), T(x.prototype, "handleChange", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleChange"), x.prototype), T(x.prototype, "setInitialPtScale", [n], Object.getOwnPropertyDescriptor(x.prototype, "setInitialPtScale"), x.prototype), T(x.prototype, "handleClick", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleClick"), x.prototype), T(x.prototype, "handleNavigationChange", [n], Object.getOwnPropertyDescriptor(x.prototype, "handleNavigationChange"), x.prototype), x)();
|
|
287
|
+
//#endregion
|
|
288
|
+
export { D as t };
|