@expofp/floorplan 3.26.0 → 3.27.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-DI5g1CPS.js → Button-KGleP3m4.js} +6 -6
- package/dist/browser/{CookieConsent-Qws_nQ3N.js → CookieConsent-_czkUaUS.js} +8 -8
- package/dist/browser/{Debug-DTNPNDds.js → Debug-bz6KlGgY.js} +8 -8
- package/dist/browser/DebugTools-CHRXev1e.js +1922 -0
- package/dist/browser/{Demo-BDZjOBQc.js → Demo-Duw5xaxW.js} +10 -10
- package/dist/browser/{Free-Cage9TkV.js → Free-CTEgif-b.js} +10 -10
- package/dist/browser/{GalleryContainer-EeLKgziN.js → GalleryContainer-DHLJOPfK.js} +11 -11
- package/dist/browser/{GpsLoader-CJMX_mJN.js → GpsLoader-CJ5KyhZa.js} +34 -34
- package/dist/browser/{KioskStore-BSza48xl.js → KioskStore-BMvlzIQe.js} +58 -107
- package/dist/browser/{MaplibreAdapter-evVQiVQj.js → MaplibreAdapter-YyHtIPQy.js} +2056 -2141
- package/dist/browser/{ModalContainer-CTKDfIyR.js → ModalContainer-DuilVP6n.js} +11 -11
- package/dist/browser/{PermissionNotice-O469DuWb.js → PermissionNotice-C5Z1g99X.js} +7 -7
- package/dist/browser/SetKioskMode-BcAj0bcd.js +48 -0
- package/dist/browser/{ShowKiosk-DumFiuHU.js → ShowKiosk-D7Klhgza.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-ByFemA_T.js → ViewerMenuPanel-apP-IAf0.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-TLumKuSo.js → add-debug-secret-listener-HZVxK64L.js} +1 -1
- package/dist/browser/{adopt-global-settings-ghJrZaU5.js → adopt-global-settings-CWSlkexR.js} +10 -10
- package/dist/browser/{boolean-editor-WIpm-pFP.js → boolean-editor-BcBAWb-G.js} +10 -10
- package/dist/browser/{bootIntercom-BR_Ehbyl.js → bootIntercom-Jil5W-0K.js} +3 -3
- package/dist/browser/bundle.json +77 -65
- package/dist/browser/camera-events-DrdhxgVS.js +18 -0
- package/dist/browser/{classnames-BmlkHMS8.js → classnames-BU0Ok49m.js} +2 -2
- package/dist/browser/{client-CIHxJZmk.js → client-BU_uyO3_.js} +793 -992
- package/dist/browser/{components-7lxOhyyi.js → components-CppHY7O7.js} +1952 -2013
- package/dist/browser/debug-context-C_w9lssh.js +24315 -0
- package/dist/browser/{debug-overlay-B7jCqVlX.js → debug-overlay-fKIQx7R_.js} +11 -11
- package/dist/browser/{debug-ui-D1ApG52e.js → debug-ui-BO_gZvdf.js} +7 -7
- package/dist/browser/dimming-WtGfPnAD.js +1108 -0
- package/dist/browser/{dist-BrF5yJyj.js → dist-BfpVKsX1.js} +6 -6
- package/dist/browser/{dist-C67OkD_4.js → dist-C2P11Xlj.js} +7 -7
- package/dist/browser/{dist-CnpnDA-V.js → dist-PTVsGItC.js} +3 -3
- package/dist/browser/{efp-debug-init-BqEN61Fo.js → efp-debug-init-Ce-CZeeI.js} +4 -4
- package/dist/browser/{enum-editor-Cy6VeZZd.js → enum-editor-CupsYrxs.js} +5 -5
- package/dist/browser/{es5-DyV1fctu.js → es5-DI5LkTYN.js} +2 -2
- package/dist/browser/{event-not-found-BpFVdXz_.js → event-not-found-D4Xi--mZ.js} +1 -1
- package/dist/browser/{exports-C7NzL4lf.js → exports-CePcAVlz.js} +1 -1
- package/dist/browser/{favicon-BHscWjwp.js → favicon-Dcly9HEc.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BytZeydp.js → fetch-retry.umd-dWO0gw3b.js} +2 -2
- package/dist/browser/{flex-BQBLAC6l.js → flex-nmgYIErO.js} +6 -6
- package/dist/browser/{floorplan.loader-DkaQPhwC.js → floorplan.loader-Nb2QDU7l.js} +10 -10
- package/dist/browser/{floorplan.ready-DwuXZphI.js → floorplan.ready-D_9nn960.js} +344 -308
- package/dist/browser/{fuse-DZTwJ52u.js → fuse-s0oxaMyr.js} +2 -2
- package/dist/browser/{i18n-Bcv8xw_q.js → i18n-D0X-IbhS.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-BFxDVa3K.js → index.module-CtQP4Qv8.js} +4 -4
- package/dist/browser/{integrateKiosk-VTNZSSfD.js → integrateKiosk-CTKZOTyE.js} +5 -5
- package/dist/browser/{is-webview-CjItzxdV.js → is-webview-C5K2dDqT.js} +1 -1
- package/dist/browser/{jsx-runtime-CT2c-IhD.js → jsx-runtime-hIg99QxI.js} +2 -2
- package/dist/browser/{kiosk-record-v7r7q7t0.js → kiosk-record-BkSt5SU1.js} +1 -1
- package/dist/browser/{lib-DGh8lZgT.js → lib-DyJ1LDRt.js} +3 -3
- package/dist/browser/{loadImage-a_ahClbD.js → loadImage-Chw6Qd0w.js} +4 -4
- package/dist/browser/{logDeviceInfo-DHfa6NcE.js → logDeviceInfo-3jqov_0t.js} +9 -9
- package/dist/browser/{mobx-dAtztuiQ.js → mobx-C29RNezs.js} +7 -7
- package/dist/browser/{optional-boolean-editor-D43-yLO3.js → optional-boolean-editor-DYudule5.js} +4 -4
- package/dist/browser/{optional-enum-editor-Cvn8TV-x.js → optional-enum-editor-CdOjFlrE.js} +5 -5
- package/dist/browser/{optional-string-editor-sY0yVw_j.js → optional-string-editor-DIJigrO5.js} +5 -5
- package/dist/browser/{particles.min-BD7iDSr6.js → particles.min-BZCTScUM.js} +2 -2
- package/dist/browser/{react-BJopqGbW.js → react-D4xfjtF6.js} +2 -2
- package/dist/browser/{react-dom-B77nDdqp.js → react-dom-B6MtngPG.js} +3 -3
- package/dist/browser/{rolldown-runtime-BmHtYG9i.js → rolldown-runtime-hkgDPyCj.js} +1 -1
- package/dist/browser/scheduler-CUIe3W2m.js +212 -0
- package/dist/browser/{select-ByU-Ym6-.js → select-Dt6UIEBZ.js} +11 -11
- package/dist/browser/{settings-CEH1i0Pj.js → settings-CyYgXisa.js} +2 -2
- package/dist/browser/{settings-item-_PTji9Bz.js → settings-item-COIUD8kZ.js} +7 -7
- package/dist/browser/store-C33lZtwI.js +31207 -0
- package/dist/browser/{string-editor-DaF1t7MK.js → string-editor-kOSWCbwh.js} +5 -5
- package/dist/browser/{text-field-XRLZPyNV.js → text-field-DD6CFKaL.js} +6 -6
- package/dist/browser/{theme-D0OZcdto.js → theme-gxjTjrZ9.js} +9 -9
- package/dist/browser/{ui-7ozfXlN3.js → ui-DBItAumt.js} +9 -9
- package/dist/browser/{useRenderTarget-BG295f3e.js → useRenderTarget-DkuQpLE2.js} +5 -5
- package/dist/browser/viewport-A_9Nzrm0.js +41 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +5 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.d.ts +1 -2
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/Map/Map.d.ts +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/MapCamera.d.ts +17 -0
- package/dist/esm/components/Map/MapCamera.js +1 -0
- package/dist/esm/components/Map/MapViewport.d.ts +12 -0
- package/dist/esm/components/Map/MapViewport.js +1 -0
- package/dist/esm/components/Map/booth-by-xy.d.ts +13 -0
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/camera-events.d.ts +16 -0
- package/dist/esm/components/Map/camera-events.js +1 -0
- package/dist/esm/components/Map/camera.d.ts +48 -0
- package/dist/esm/components/Map/camera.js +1 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-all.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +70 -3
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -6
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +11 -7
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +2 -3
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +16 -3
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +18 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +1 -2
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +23 -2
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +35 -0
- package/dist/esm/components/Map/drawing/config/layer-images.js +1 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +38 -3
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/pointer.d.ts +73 -0
- package/dist/esm/components/Map/pointer.js +1 -0
- package/dist/esm/components/Map/scene.d.ts +20 -0
- package/dist/esm/components/Map/scene.js +1 -0
- package/dist/esm/components/Map/traffic/trafficLayers.d.ts +2 -7
- package/dist/esm/components/Map/traffic/trafficLayers.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +4 -3
- package/dist/esm/components/Map/traffic/useBuildRoute.js +6 -6
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +4 -3
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/viewport.d.ts +63 -0
- package/dist/esm/components/Map/viewport.js +1 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +6 -2
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +30 -8
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
- package/dist/esm/components/Maplibre/useDimming.d.ts +2 -2
- package/dist/esm/components/Maplibre/useDimming.js +1 -1
- package/dist/esm/components/Maplibre/useKioskIdleEvents.d.ts +5 -6
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
- package/dist/esm/components/Maplibre/usePoiMarkers.d.ts +1 -2
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +8 -5
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +1 -1
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +8 -3
- package/dist/esm/components/Maplibre/utils/layer-defs.js +1 -1
- package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +3 -3
- package/dist/esm/components/Ws.js +1 -1
- package/dist/esm/engine/defs.d.ts +30 -0
- package/dist/esm/engine/defs.js +3 -0
- package/dist/esm/engine/fonts.js +1 -0
- package/dist/esm/engine/update-def.d.ts +52 -0
- package/dist/esm/engine/update-def.js +1 -0
- package/dist/esm/engine/utils/rotation.d.ts +6 -0
- package/dist/esm/engine/utils/rotation.js +1 -0
- package/dist/esm/floorplan.ready.d.ts +2 -0
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +11 -0
- package/dist/esm/store/LayerStore.d.ts +2 -0
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RootStore.d.ts +0 -2
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/details-events.d.ts +11 -0
- package/dist/esm/store/details-events.js +1 -0
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/utils/dimming.d.ts +13 -2
- package/dist/esm/utils/dimming.js +1 -1
- package/dist/esm/utils/mobx.d.ts +2 -2
- package/dist/esm/utils/mobx.js +1 -1
- package/dist/esm/utils/scene-bounds.d.ts +1 -1
- package/dist/esm/utils/scene-bounds.js +1 -1
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.d.ts +19 -2
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/package.json +11 -10
- package/dist/browser/SetKioskMode-DUk4c-Gs.js +0 -57
- package/dist/browser/booth-by-xy-CyZpg1Fn.js +0 -1130
- package/dist/browser/main-sUuehgQu.js +0 -289
- package/dist/browser/store-Oj0dGPnb.js +0 -41431
- package/dist/esm/components/Map/pointInConvexQuad.d.ts +0 -3
- package/dist/esm/components/Map/pointInConvexQuad.js +0 -1
- package/dist/esm/components/Map/visibleArea.d.ts +0 -16
- package/dist/esm/components/Map/visibleArea.js +0 -1
- package/dist/esm/components/Maplibre/useRendererEvents.d.ts +0 -9
- package/dist/esm/components/Maplibre/useRendererEvents.js +0 -1
- package/dist/esm/components/Maplibre/utils/update-pump.d.ts +0 -18
- package/dist/esm/components/Maplibre/utils/update-pump.js +0 -1
- package/dist/esm/renderer/HandlerRegistry.d.ts +0 -18
- package/dist/esm/renderer/HandlerRegistry.js +0 -1
- package/dist/esm/renderer/RendererService.d.ts +0 -44
- package/dist/esm/renderer/RendererService.js +0 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +0 -40
- package/dist/esm/renderer/engine-core/defs.js +0 -3
- package/dist/esm/renderer/engine-core/fonts.js +0 -1
- package/dist/esm/renderer/engine-core/settings.d.ts +0 -4
- package/dist/esm/renderer/engine-core/settings.js +0 -1
- package/dist/esm/renderer/engine-core/types.d.ts +0 -50
- package/dist/esm/renderer/engine-core/types.js +0 -1
- package/dist/esm/renderer/engine-core/update-def.d.ts +0 -12
- package/dist/esm/renderer/engine-core/update-def.js +0 -1
- package/dist/esm/renderer/engine-core/utils/rotation.d.ts +0 -17
- package/dist/esm/renderer/engine-core/utils/rotation.js +0 -1
- package/dist/esm/renderer/index.d.ts +0 -19
- package/dist/esm/renderer/index.js +0 -1
- /package/dist/esm/{renderer/engine-core → engine}/canvases.d.ts +0 -0
- /package/dist/esm/{renderer/engine-core → engine}/canvases.js +0 -0
- /package/dist/esm/{renderer/engine-core → engine}/fonts.d.ts +0 -0
|
@@ -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.27.1" };
|
|
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] = "00655cb5-639a-4341-84e9-9b2bbbff56c2", e._sentryDebugIdIdentifier = "sentry-dbid-00655cb5-639a-4341-84e9-9b2bbbff56c2");
|
|
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 { l as o } from "./store-
|
|
16
|
-
import { n as s, r as c } from "./index.module-
|
|
17
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-hkgDPyCj.js";
|
|
11
|
+
import { s as n } from "./i18n-D0X-IbhS.js";
|
|
12
|
+
import { t as r } from "./react-D4xfjtF6.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-hIg99QxI.js";
|
|
14
|
+
import { t as a } from "./classnames-BU0Ok49m.js";
|
|
15
|
+
import { l as o } from "./store-C33lZtwI.js";
|
|
16
|
+
import { n as s, r as c } from "./index.module-CtQP4Qv8.js";
|
|
17
|
+
import { n as l } from "./mobx-C29RNezs.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.27.1" };
|
|
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] = "878c52f5-8520-40b1-bc9f-7df83bdbd211", e._sentryDebugIdIdentifier = "sentry-dbid-878c52f5-8520-40b1-bc9f-7df83bdbd211");
|
|
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 { h as a, l as o, m as s } from "./store-
|
|
16
|
-
import { n as c, r as l } from "./index.module-
|
|
17
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-hkgDPyCj.js";
|
|
11
|
+
import { s as t } from "./i18n-D0X-IbhS.js";
|
|
12
|
+
import { t as n } from "./react-D4xfjtF6.js";
|
|
13
|
+
import { t as r } from "./jsx-runtime-hIg99QxI.js";
|
|
14
|
+
import { t as i } from "./classnames-BU0Ok49m.js";
|
|
15
|
+
import { h as a, l as o, m as s } from "./store-C33lZtwI.js";
|
|
16
|
+
import { n as c, r as l } from "./index.module-CtQP4Qv8.js";
|
|
17
|
+
import { n as u } from "./mobx-C29RNezs.js";
|
|
18
18
|
//#region src/components/Free.tsx
|
|
19
19
|
var d = /* @__PURE__ */ e(i(), 1);
|
|
20
20
|
n();
|
|
@@ -2,20 +2,20 @@ 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.27.1" };
|
|
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] = "1c0417d9-03c3-4d3d-8589-94f3614c2cdd", e._sentryDebugIdIdentifier = "sentry-dbid-1c0417d9-03c3-4d3d-8589-94f3614c2cdd");
|
|
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 "./loadImage-
|
|
15
|
-
import { t as o } from "./react-dom-
|
|
16
|
-
import { t as s } from "./classnames-
|
|
17
|
-
import { n as c, t as l } from "./useRenderTarget-
|
|
18
|
-
import { t as u } from "./index.module-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-hkgDPyCj.js";
|
|
11
|
+
import { s as n } from "./i18n-D0X-IbhS.js";
|
|
12
|
+
import { t as r } from "./react-D4xfjtF6.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-hIg99QxI.js";
|
|
14
|
+
import { t as a } from "./loadImage-Chw6Qd0w.js";
|
|
15
|
+
import { t as o } from "./react-dom-B6MtngPG.js";
|
|
16
|
+
import { t as s } from "./classnames-BU0Ok49m.js";
|
|
17
|
+
import { n as c, t as l } from "./useRenderTarget-DkuQpLE2.js";
|
|
18
|
+
import { t as u } from "./index.module-CtQP4Qv8.js";
|
|
19
19
|
//#region ../ui/src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
20
20
|
var d = /* @__PURE__ */ t(r(), 1), f = /* @__PURE__ */ t(s(), 1), p = i(), m = ({ count: e, fullscreenLabel: t, onFullscreen: n }) => /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
|
|
21
21
|
className: "efp-gallery__badge efp-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.27.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] = "04d7b65b-65d7-4674-a442-3951b0425e9b", e._sentryDebugIdIdentifier = "sentry-dbid-04d7b65b-65d7-4674-a442-3951b0425e9b");
|
|
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 {
|
|
15
|
-
import { t as u } from "./PermissionNotice-
|
|
16
|
-
import { t as d } from "./index.module-
|
|
17
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-hkgDPyCj.js";
|
|
10
|
+
import { K as t, s as n } from "./i18n-D0X-IbhS.js";
|
|
11
|
+
import { t as r } from "./react-D4xfjtF6.js";
|
|
12
|
+
import { t as i } from "./jsx-runtime-hIg99QxI.js";
|
|
13
|
+
import { r as a } from "./loadImage-Chw6Qd0w.js";
|
|
14
|
+
import { On as o, S as s, Wt as c, c as l } from "./store-C33lZtwI.js";
|
|
15
|
+
import { t as u } from "./PermissionNotice-C5Z1g99X.js";
|
|
16
|
+
import { t as d } from "./index.module-CtQP4Qv8.js";
|
|
17
|
+
import { r as f } from "./mobx-C29RNezs.js";
|
|
18
18
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
19
19
|
var p = /* @__PURE__ */ e(r(), 1), m = i(), h = d(function({ isOpen: e, onAllow: t, onCancel: r }) {
|
|
20
20
|
return e ? /* @__PURE__ */ (0, m.jsx)(u, {
|
|
@@ -30,28 +30,28 @@ function g(e) {
|
|
|
30
30
|
return Math.floor(e);
|
|
31
31
|
}
|
|
32
32
|
function _(e, t) {
|
|
33
|
-
return
|
|
33
|
+
return o(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),
|
|
39
|
+
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), s = (0, p.useRef)(!1), c = (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;
|
|
43
|
-
if (!
|
|
44
|
-
|
|
43
|
+
if (!c.current) {
|
|
44
|
+
c.current = e, r.current = t, i.current = e, d(e);
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
let a = c
|
|
48
|
-
l.current ? a <= 3 ? (l.current = !1,
|
|
49
|
-
...
|
|
47
|
+
let a = o(c.current, e), s;
|
|
48
|
+
l.current ? a <= 3 ? (l.current = !1, c.current = e, s = {
|
|
49
|
+
...c.current,
|
|
50
50
|
heading: e.heading
|
|
51
|
-
}) : (
|
|
52
|
-
...
|
|
51
|
+
}) : (c.current = e, s = e) : a >= 3 ? (l.current = !0, c.current = e, u.current = null, s = e) : (u.current == null && (u.current = t), t - u.current > y && (c.current = e), s = {
|
|
52
|
+
...c.current,
|
|
53
53
|
heading: e.heading
|
|
54
|
-
}), !(n && !_(n,
|
|
54
|
+
}), !(n && !_(n, s)) && (r.current = t, i.current = s, d(s));
|
|
55
55
|
}, m = (0, p.useCallback)((e) => {
|
|
56
56
|
var t;
|
|
57
57
|
let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : b - e.alpha : t;
|
|
@@ -76,20 +76,20 @@ function x(e) {
|
|
|
76
76
|
}));
|
|
77
77
|
},
|
|
78
78
|
startOrientation: () => {
|
|
79
|
-
|
|
79
|
+
s.current || (s.current = !0, window.addEventListener("deviceorientation", m, !0));
|
|
80
80
|
},
|
|
81
81
|
stopGeolocation: () => {
|
|
82
|
-
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null),
|
|
82
|
+
t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
|
|
83
83
|
},
|
|
84
84
|
stopOrientation: () => {
|
|
85
|
-
|
|
85
|
+
s.current = !1, window.removeEventListener("deviceorientation", m, !0);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/gps/GpsManager.tsx
|
|
91
|
-
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed:
|
|
92
|
-
let { startOrientation:
|
|
91
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
|
|
92
|
+
let { startOrientation: s, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
|
|
93
93
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
94
94
|
g(!0), l();
|
|
95
95
|
}, (e) => {
|
|
@@ -102,12 +102,12 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
102
102
|
u
|
|
103
103
|
]);
|
|
104
104
|
let y = async () => {
|
|
105
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"),
|
|
105
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), v(!1), t == null || t());
|
|
106
106
|
}, b = (0, p.useCallback)(() => {
|
|
107
107
|
localStorage.setItem(r, "false"), v(!1), n == null || n();
|
|
108
108
|
}, [n]);
|
|
109
109
|
return (0, p.useEffect)(() => {
|
|
110
|
-
if (!f || !
|
|
110
|
+
if (!f || !o || typeof navigator > "u" || !c) return;
|
|
111
111
|
let e = localStorage.getItem(r);
|
|
112
112
|
if (!e || i) {
|
|
113
113
|
v(!0);
|
|
@@ -117,7 +117,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
117
117
|
}, [
|
|
118
118
|
f,
|
|
119
119
|
i,
|
|
120
|
-
|
|
120
|
+
o,
|
|
121
121
|
y
|
|
122
122
|
]), /* @__PURE__ */ (0, m.jsx)(h, {
|
|
123
123
|
isOpen: _,
|
|
@@ -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 s(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,
|
|
@@ -1,71 +1,18 @@
|
|
|
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.27.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] = "ff4d8059-90d8-4cbf-86ca-32882ee37959", e._sentryDebugIdIdentifier = "sentry-dbid-ff4d8059-90d8-4cbf-86ca-32882ee37959");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { C as e, _ as t, d as n, m as r, s as i, x as a } from "./i18n-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
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
|
|
9
|
+
import { C as e, _ as t, d as n, m as r, s as i, x as a } from "./i18n-D0X-IbhS.js";
|
|
10
|
+
import { U as o, at as s, c, hn as l, it as u, rt as d, st as f } from "./store-C33lZtwI.js";
|
|
11
|
+
import { r as p } from "./viewport-A_9Nzrm0.js";
|
|
12
|
+
import { n as m, t as h } from "./kiosk-record-BkSt5SU1.js";
|
|
66
13
|
//#region src/components/Kiosk/KioskStore.ts
|
|
67
|
-
var
|
|
68
|
-
function
|
|
14
|
+
var g, _, v, y, b;
|
|
15
|
+
function x(e, t, n, r) {
|
|
69
16
|
n && Object.defineProperty(e, t, {
|
|
70
17
|
enumerable: n.enumerable,
|
|
71
18
|
configurable: n.configurable,
|
|
@@ -73,7 +20,7 @@ function w(e, t, n, r) {
|
|
|
73
20
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
74
21
|
});
|
|
75
22
|
}
|
|
76
|
-
function
|
|
23
|
+
function S(e, t, n, r, i) {
|
|
77
24
|
var a = {};
|
|
78
25
|
return Object.keys(r).forEach(function(e) {
|
|
79
26
|
a[e] = r[e];
|
|
@@ -81,9 +28,9 @@ function T(e, t, n, r, i) {
|
|
|
81
28
|
return r(e, t, n) || n;
|
|
82
29
|
}, 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
30
|
}
|
|
84
|
-
var
|
|
31
|
+
var C = 2e4, w = new (g = r({ keepAlive: !0 }), _ = r({ keepAlive: !0 }), v = class {
|
|
85
32
|
constructor() {
|
|
86
|
-
|
|
33
|
+
x(this, "savedKiosk", y, this), x(this, "statusMessages", b, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.initialPtScale = void 0;
|
|
87
34
|
}
|
|
88
35
|
get kiosk() {
|
|
89
36
|
return c.uiState.kioskData;
|
|
@@ -91,29 +38,27 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
91
38
|
setKiosk(e) {
|
|
92
39
|
c.uiState.setKioskData(e);
|
|
93
40
|
}
|
|
94
|
-
get renderer() {
|
|
95
|
-
return c.rendererService.renderer;
|
|
96
|
-
}
|
|
97
41
|
getCameraState() {
|
|
42
|
+
var e;
|
|
98
43
|
if (c.maplibreStore.showMaplibre) {
|
|
99
|
-
var
|
|
100
|
-
let
|
|
101
|
-
return
|
|
102
|
-
mapCenterLng:
|
|
103
|
-
mapCenterLat:
|
|
104
|
-
mapZoom:
|
|
105
|
-
mapBearingDegrees:
|
|
106
|
-
mapPitchDegrees:
|
|
44
|
+
var t;
|
|
45
|
+
let e = (t = c.maplibreStore.cameraPort) == null ? void 0 : t.getCameraState();
|
|
46
|
+
return e ? {
|
|
47
|
+
mapCenterLng: e.lng,
|
|
48
|
+
mapCenterLat: e.lat,
|
|
49
|
+
mapZoom: e.zoom,
|
|
50
|
+
mapBearingDegrees: e.bearing,
|
|
51
|
+
mapPitchDegrees: e.pitch
|
|
107
52
|
} : {};
|
|
108
53
|
}
|
|
109
|
-
let
|
|
110
|
-
return
|
|
54
|
+
let n = (e = o()) == null ? void 0 : e.state();
|
|
55
|
+
return n ? {
|
|
111
56
|
mapInitialPtScale: this.initialPtScale,
|
|
112
|
-
mapPtScale:
|
|
113
|
-
mapCenterX:
|
|
114
|
-
mapCenterY:
|
|
115
|
-
mapRollDegrees:
|
|
116
|
-
mapPitch:
|
|
57
|
+
mapPtScale: n.pixelSize,
|
|
58
|
+
mapCenterX: n.center.x,
|
|
59
|
+
mapCenterY: n.center.y,
|
|
60
|
+
mapRollDegrees: n.roll,
|
|
61
|
+
mapPitch: n.pitch
|
|
117
62
|
} : {};
|
|
118
63
|
}
|
|
119
64
|
get hasUnsavedChanges() {
|
|
@@ -141,7 +86,7 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
141
86
|
this.isResettingCamera = !0;
|
|
142
87
|
try {
|
|
143
88
|
if (c.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) return;
|
|
144
|
-
await this.
|
|
89
|
+
await this.resetPlanCamera();
|
|
145
90
|
} finally {
|
|
146
91
|
this.isResettingCamera = !1;
|
|
147
92
|
}
|
|
@@ -152,44 +97,47 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
152
97
|
if (!e) return !1;
|
|
153
98
|
let t = this.kiosk;
|
|
154
99
|
(t == null ? void 0 : t.z) != null && c.fp.activateFloor({ name: String(t.z) });
|
|
155
|
-
let n =
|
|
100
|
+
let n = m(t == null ? void 0 : t.mapCenterLng), r = m(t == null ? void 0 : t.mapCenterLat), i = m(t == null ? void 0 : t.mapZoom);
|
|
156
101
|
return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), c.uiState.fitBounds(), !0) : (e.applyCameraState({
|
|
157
102
|
lng: n,
|
|
158
103
|
lat: r,
|
|
159
104
|
zoom: i,
|
|
160
|
-
bearing:
|
|
161
|
-
pitch:
|
|
105
|
+
bearing: m(t == null ? void 0 : t.mapBearingDegrees),
|
|
106
|
+
pitch: m(t == null ? void 0 : t.mapPitchDegrees)
|
|
162
107
|
}), !0);
|
|
163
108
|
}
|
|
164
109
|
async waitForMaplibreCameraPort() {
|
|
165
110
|
let { maplibreStore: t } = c;
|
|
166
111
|
if (t.cameraPort) return t.cameraPort;
|
|
167
112
|
try {
|
|
168
|
-
await e(() => !!t.cameraPort || !t.showMaplibre, { timeout:
|
|
113
|
+
await e(() => !!t.cameraPort || !t.showMaplibre, { timeout: C });
|
|
169
114
|
} catch {
|
|
170
115
|
return null;
|
|
171
116
|
}
|
|
172
117
|
return t.cameraPort;
|
|
173
118
|
}
|
|
174
|
-
async
|
|
175
|
-
let e =
|
|
119
|
+
async resetPlanCamera() {
|
|
120
|
+
let e = o();
|
|
176
121
|
if (!e) return;
|
|
177
122
|
let t = this.kiosk;
|
|
178
|
-
await e.
|
|
123
|
+
await e.api.reset({
|
|
179
124
|
pan: !0,
|
|
180
125
|
zoom: !0,
|
|
181
126
|
roll: !0,
|
|
182
127
|
pitch: !0
|
|
183
|
-
}, !0), (t == null ? void 0 : t.z) != null && c.fp.activateFloor({ name: String(t.z) });
|
|
184
|
-
let n =
|
|
185
|
-
n !== void 0 && await e.
|
|
186
|
-
let r =
|
|
187
|
-
r !== void 0 && i !== void 0 && await e.
|
|
188
|
-
|
|
189
|
-
|
|
128
|
+
}, { immediate: !0 }), (t == null ? void 0 : t.z) != null && c.fp.activateFloor({ name: String(t.z) });
|
|
129
|
+
let n = h(t);
|
|
130
|
+
n !== void 0 && await e.api.zoomBy(n, { immediate: !0 });
|
|
131
|
+
let r = m(t == null ? void 0 : t.mapCenterX), i = m(t == null ? void 0 : t.mapCenterY);
|
|
132
|
+
r !== void 0 && i !== void 0 && await e.api.panTo({
|
|
133
|
+
x: r,
|
|
134
|
+
y: i
|
|
135
|
+
}, { immediate: !0 });
|
|
136
|
+
let a = m(t == null ? void 0 : t.mapRollDegrees);
|
|
137
|
+
a !== void 0 && await e.api.rollTo(a, { immediate: !0 });
|
|
190
138
|
}
|
|
191
139
|
restoreData() {
|
|
192
|
-
let e =
|
|
140
|
+
let e = d();
|
|
193
141
|
e && (this.setKiosk(e), this.savedKiosk = e, c.uiState.kiosk = !0);
|
|
194
142
|
}
|
|
195
143
|
handleSetupReady() {
|
|
@@ -199,13 +147,13 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
199
147
|
this.setKiosk(null), c.uiState.setForceDim(!1), c.uiState.enableSetKioskMode(!1), c.searchStore.closeSearch();
|
|
200
148
|
}
|
|
201
149
|
handleDelete() {
|
|
202
|
-
|
|
150
|
+
u(), this.setKiosk(null), c.uiState.resetMapSettings(), c.uiState.resetUIScale(), this.addStatusMessage({
|
|
203
151
|
variant: "success",
|
|
204
152
|
title: i("Deleted")
|
|
205
153
|
});
|
|
206
154
|
}
|
|
207
155
|
handleSave() {
|
|
208
|
-
let e =
|
|
156
|
+
let e = p();
|
|
209
157
|
if (!e) return;
|
|
210
158
|
let t = a(this.kiosk);
|
|
211
159
|
if (!t) return;
|
|
@@ -213,14 +161,17 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
213
161
|
...t,
|
|
214
162
|
...n
|
|
215
163
|
};
|
|
216
|
-
if (!
|
|
164
|
+
if (!e.isVisible({
|
|
165
|
+
x: r.x,
|
|
166
|
+
y: r.y
|
|
167
|
+
})) {
|
|
217
168
|
this.addStatusMessage({
|
|
218
169
|
variant: "error",
|
|
219
170
|
title: i("Kiosk not visible")
|
|
220
171
|
});
|
|
221
172
|
return;
|
|
222
173
|
}
|
|
223
|
-
this.setKiosk(r),
|
|
174
|
+
this.setKiosk(r), s(r), f(r, "https://app.expofp.com/"), c.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
224
175
|
variant: "success",
|
|
225
176
|
title: i("Saved")
|
|
226
177
|
}), this.savedKiosk = r;
|
|
@@ -252,7 +203,7 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
252
203
|
}
|
|
253
204
|
handleClick(e) {
|
|
254
205
|
var t, n;
|
|
255
|
-
let r = a(this.kiosk), i = c.fp.getFloors(), o =
|
|
206
|
+
let r = a(this.kiosk), i = c.fp.getFloors(), o = l() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, s = c.uiState.uiScale;
|
|
256
207
|
this.setKiosk({
|
|
257
208
|
...r,
|
|
258
209
|
x: e.x,
|
|
@@ -271,20 +222,20 @@ var E = 2e4, D = new (v = r({ keepAlive: !0 }), y = r({ keepAlive: !0 }), b = r(
|
|
|
271
222
|
...this.getCameraState()
|
|
272
223
|
});
|
|
273
224
|
}
|
|
274
|
-
},
|
|
225
|
+
}, S(v.prototype, "kiosk", [g], Object.getOwnPropertyDescriptor(v.prototype, "kiosk"), v.prototype), S(v.prototype, "setKiosk", [n], Object.getOwnPropertyDescriptor(v.prototype, "setKiosk"), v.prototype), y = S(v.prototype, "savedKiosk", [t], {
|
|
275
226
|
configurable: !0,
|
|
276
227
|
enumerable: !0,
|
|
277
228
|
writable: !0,
|
|
278
229
|
initializer: function() {
|
|
279
230
|
return null;
|
|
280
231
|
}
|
|
281
|
-
}),
|
|
232
|
+
}), S(v.prototype, "hasUnsavedChanges", [_], Object.getOwnPropertyDescriptor(v.prototype, "hasUnsavedChanges"), v.prototype), b = S(v.prototype, "statusMessages", [t], {
|
|
282
233
|
configurable: !0,
|
|
283
234
|
enumerable: !0,
|
|
284
235
|
writable: !0,
|
|
285
236
|
initializer: function() {
|
|
286
237
|
return [];
|
|
287
238
|
}
|
|
288
|
-
}),
|
|
239
|
+
}), S(v.prototype, "addStatusMessage", [n], Object.getOwnPropertyDescriptor(v.prototype, "addStatusMessage"), v.prototype), S(v.prototype, "clearStatusMessages", [n], Object.getOwnPropertyDescriptor(v.prototype, "clearStatusMessages"), v.prototype), S(v.prototype, "startCleanupMessages", [n], Object.getOwnPropertyDescriptor(v.prototype, "startCleanupMessages"), v.prototype), S(v.prototype, "resetCamera", [n], Object.getOwnPropertyDescriptor(v.prototype, "resetCamera"), v.prototype), S(v.prototype, "restoreData", [n], Object.getOwnPropertyDescriptor(v.prototype, "restoreData"), v.prototype), S(v.prototype, "handleSetupReady", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleSetupReady"), v.prototype), S(v.prototype, "handleClose", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleClose"), v.prototype), S(v.prototype, "handleDelete", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleDelete"), v.prototype), S(v.prototype, "handleSave", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleSave"), v.prototype), S(v.prototype, "handleChange", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleChange"), v.prototype), S(v.prototype, "setInitialPtScale", [n], Object.getOwnPropertyDescriptor(v.prototype, "setInitialPtScale"), v.prototype), S(v.prototype, "handleClick", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleClick"), v.prototype), S(v.prototype, "handleNavigationChange", [n], Object.getOwnPropertyDescriptor(v.prototype, "handleNavigationChange"), v.prototype), v)();
|
|
289
240
|
//#endregion
|
|
290
|
-
export {
|
|
241
|
+
export { w as t };
|