@expofp/floorplan 3.25.2 → 3.27.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/{Button-DZ5RJVoX.js → Button-e8P-AcfW.js} +6 -6
- package/dist/browser/{CookieConsent-CNE-7zNI.js → CookieConsent-DT6PZdD-.js} +8 -8
- package/dist/browser/{Debug-TDQ_xzea.js → Debug-Btnxv9GC.js} +8 -8
- package/dist/browser/DebugTools-CH_HoQal.js +1922 -0
- package/dist/browser/{Demo-A0X5mRqG.js → Demo-DZoFFss-.js} +10 -10
- package/dist/browser/{Free-BjYK0xDM.js → Free-DiFQkGSU.js} +10 -10
- package/dist/browser/{GalleryContainer-BsQuHOrj.js → GalleryContainer-aJ6EZ5I3.js} +11 -11
- package/dist/browser/{GpsLoader-DoutzmU_.js → GpsLoader-Bu9mBOam.js} +34 -34
- package/dist/browser/KioskStore-DUC4jNn0.js +241 -0
- package/dist/browser/{MaplibreAdapter-W1ZdQQ00.js → MaplibreAdapter-DIlDXt73.js} +2067 -2152
- package/dist/browser/{ModalContainer-BfZm0B_L.js → ModalContainer-CVRxdpt2.js} +11 -11
- package/dist/browser/{PermissionNotice-Cm6qrOC_.js → PermissionNotice-B5X5RQja.js} +7 -7
- package/dist/browser/SetKioskMode-BbDnU98F.js +48 -0
- package/dist/browser/{ShowKiosk-B0cj0p6h.js → ShowKiosk-B7HfONvN.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-FFmV-n9m.js → ViewerMenuPanel-CT6kvVUw.js} +17 -17
- package/dist/browser/{add-debug-secret-listener-BOW3NQe7.js → add-debug-secret-listener-Dvv-Pg0-.js} +1 -1
- package/dist/browser/{adopt-global-settings-DNTNdr3z.js → adopt-global-settings-CXzCKJtp.js} +10 -10
- package/dist/browser/{boolean-editor-Bx4HLLyu.js → boolean-editor-CHMR9ZwP.js} +10 -10
- package/dist/browser/{bootIntercom-C_8HLvxg.js → bootIntercom-DQcGuly8.js} +3 -3
- package/dist/browser/bundle.json +77 -65
- package/dist/browser/camera-events-BkrzcISl.js +18 -0
- package/dist/browser/{classnames-DovQg6we.js → classnames-BYuGpzao.js} +2 -2
- package/dist/browser/{client-CadlVOps.js → client-hxMr1frV.js} +793 -992
- package/dist/browser/{components-BK-czcTL.js → components-DiB2l4Q7.js} +1934 -1986
- package/dist/browser/debug-context-CfyAAxAt.js +24315 -0
- package/dist/browser/{debug-overlay-vFTynZrP.js → debug-overlay-PYUvPcx-.js} +11 -11
- package/dist/browser/{debug-ui-BgSppEQg.js → debug-ui-BXRAYxv6.js} +7 -7
- package/dist/browser/dimming-Dj-1kBgQ.js +1108 -0
- package/dist/browser/{dist-C1WQpGAq.js → dist-30RVEJTr.js} +7 -7
- package/dist/browser/{dist-CkAU9dsV.js → dist-DgGMS59X.js} +6 -6
- package/dist/browser/{dist-gIYlJ33F.js → dist-opCvrhNh.js} +3 -3
- package/dist/browser/{efp-debug-init-CGEJSmuk.js → efp-debug-init-CYfrcz9M.js} +4 -4
- package/dist/browser/{enum-editor-BZXgS3I-.js → enum-editor-BYO96W3-.js} +5 -5
- package/dist/browser/{es5-DoqUhz95.js → es5-Bpzk_wCi.js} +2 -2
- package/dist/browser/{event-not-found-Dl66nXH1.js → event-not-found-DEepFxEc.js} +1 -1
- package/dist/browser/{exports-CK5UTqgq.js → exports-Bo5VUoiX.js} +1 -1
- package/dist/browser/{favicon-BnTLQysW.js → favicon-Bf88cI9_.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D_tGjwEb.js → fetch-retry.umd-D2BnNN8g.js} +2 -2
- package/dist/browser/{flex-BCrAgMxK.js → flex-B5cqWC1b.js} +6 -6
- package/dist/browser/{floorplan.loader-DXJR9eeS.js → floorplan.loader-D3lRYRJS.js} +10 -10
- package/dist/browser/{floorplan.ready-C0sdmceF.js → floorplan.ready-CsdDpbEv.js} +343 -307
- package/dist/browser/{fuse-C7evxCwi.js → fuse-CzalO4Mu.js} +2 -2
- package/dist/browser/{i18n-Cp32ZzDq.js → i18n-D1sb3MoT.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-CeDH7KeK.js → index.module-JxYvexTC.js} +4 -4
- package/dist/browser/{integrateKiosk-JZG1AZBF.js → integrateKiosk-e4HqZu2W.js} +5 -5
- package/dist/browser/{is-webview-Be9due3O.js → is-webview-ChPDTaTY.js} +1 -1
- package/dist/browser/{jsx-runtime-DwNSQYOA.js → jsx-runtime-Ca1Wj_4-.js} +2 -2
- package/dist/browser/{kiosk-record-BMwfA16j.js → kiosk-record-C2cafcoW.js} +1 -1
- package/dist/browser/{lib-DeQ47J_S.js → lib-DXqE6M9Z.js} +3 -3
- package/dist/browser/{loadImage-DVBOry5-.js → loadImage-8qYzT9NG.js} +4 -4
- package/dist/browser/{logDeviceInfo-uPn7yfGH.js → logDeviceInfo-CF95RwQH.js} +9 -9
- package/dist/browser/{mobx-DFFcUY2e.js → mobx-B8aGIDdz.js} +7 -7
- package/dist/browser/{optional-boolean-editor-DfcaW7-l.js → optional-boolean-editor-D02Q8KUS.js} +4 -4
- package/dist/browser/{optional-enum-editor-SEARu4hs.js → optional-enum-editor-RV_EKfNQ.js} +5 -5
- package/dist/browser/{optional-string-editor-COLkp8EA.js → optional-string-editor-D_t_aZG2.js} +5 -5
- package/dist/browser/{particles.min-DHvuM5ou.js → particles.min-CDyH_67D.js} +2 -2
- package/dist/browser/{react-BNCBBLDK.js → react-CDmIhEY6.js} +2 -2
- package/dist/browser/{react-dom-ql8ZgjdB.js → react-dom-PGvJwDoR.js} +3 -3
- package/dist/browser/{rolldown-runtime-D0mAPq9J.js → rolldown-runtime-CwqkRsWu.js} +1 -1
- package/dist/browser/scheduler-MBFOnOYr.js +212 -0
- package/dist/browser/{select-CwB0Zi7C.js → select-2x53pvd0.js} +11 -11
- package/dist/browser/{settings-MzAuoQZ6.js → settings-BCkl8gdb.js} +2 -2
- package/dist/browser/{settings-item-Ca6s5CDf.js → settings-item-DT6Vnw06.js} +7 -7
- package/dist/browser/store-Dej5FGrq.js +31205 -0
- package/dist/browser/{string-editor-BjOeNcgJ.js → string-editor-w9YDgRoR.js} +5 -5
- package/dist/browser/{text-field-6Ccfbuuo.js → text-field-ricOc0h0.js} +6 -6
- package/dist/browser/{theme-XlV0fBPc.js → theme-Ce7vpk9b.js} +9 -9
- package/dist/browser/{ui-BopruaHZ.js → ui-PDV2rEkU.js} +9 -9
- package/dist/browser/{useRenderTarget-CdH-VI6E.js → useRenderTarget-DroCs5kL.js} +5 -5
- package/dist/browser/viewport-Jwms2MJD.js +41 -0
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- 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/Layout.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/Speaker.js +1 -1
- 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/services/url-sync.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +11 -0
- package/dist/esm/store/HeatmapStore.d.ts +9 -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/ShortcutRegistry.d.ts +14 -0
- package/dist/esm/store/ShortcutRegistry.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/store/providers/SessionsSubButtonProvider.d.ts +18 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +15 -2
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +3 -3
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/tools/gtag.d.ts +1 -0
- package/dist/esm/tools/gtag.js +1 -1
- package/dist/esm/tools/telemetry.d.ts +2 -0
- package/dist/esm/tools/telemetry.js +1 -1
- package/dist/esm/tools/track-event.d.ts +26 -2
- package/dist/esm/tools/track-event.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/KioskStore-CRN9B487.js +0 -290
- package/dist/browser/SetKioskMode-BlmUmBkH.js +0 -57
- package/dist/browser/booth-by-xy-DgXTlV8u.js +0 -1130
- package/dist/browser/main-WTEdqNkt.js +0 -289
- package/dist/browser/store-B_c3r86U.js +0 -41370
- 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.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] = "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-CwqkRsWu.js";
|
|
11
|
+
import { s as n } from "./i18n-D1sb3MoT.js";
|
|
12
|
+
import { t as r } from "./react-CDmIhEY6.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-Ca1Wj_4-.js";
|
|
14
|
+
import { t as a } from "./classnames-BYuGpzao.js";
|
|
15
|
+
import { l as o } from "./store-Dej5FGrq.js";
|
|
16
|
+
import { n as s, r as c } from "./index.module-JxYvexTC.js";
|
|
17
|
+
import { n as l } from "./mobx-B8aGIDdz.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.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] = "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-CwqkRsWu.js";
|
|
11
|
+
import { s as t } from "./i18n-D1sb3MoT.js";
|
|
12
|
+
import { t as n } from "./react-CDmIhEY6.js";
|
|
13
|
+
import { t as r } from "./jsx-runtime-Ca1Wj_4-.js";
|
|
14
|
+
import { t as i } from "./classnames-BYuGpzao.js";
|
|
15
|
+
import { h as a, l as o, m as s } from "./store-Dej5FGrq.js";
|
|
16
|
+
import { n as c, r as l } from "./index.module-JxYvexTC.js";
|
|
17
|
+
import { n as u } from "./mobx-B8aGIDdz.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.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] = "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-CwqkRsWu.js";
|
|
11
|
+
import { s as n } from "./i18n-D1sb3MoT.js";
|
|
12
|
+
import { t as r } from "./react-CDmIhEY6.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-Ca1Wj_4-.js";
|
|
14
|
+
import { t as a } from "./loadImage-8qYzT9NG.js";
|
|
15
|
+
import { t as o } from "./react-dom-PGvJwDoR.js";
|
|
16
|
+
import { t as s } from "./classnames-BYuGpzao.js";
|
|
17
|
+
import { n as c, t as l } from "./useRenderTarget-DroCs5kL.js";
|
|
18
|
+
import { t as u } from "./index.module-JxYvexTC.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.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] = "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-CwqkRsWu.js";
|
|
10
|
+
import { K as t, s as n } from "./i18n-D1sb3MoT.js";
|
|
11
|
+
import { t as r } from "./react-CDmIhEY6.js";
|
|
12
|
+
import { t as i } from "./jsx-runtime-Ca1Wj_4-.js";
|
|
13
|
+
import { r as a } from "./loadImage-8qYzT9NG.js";
|
|
14
|
+
import { On as o, S as s, Wt as c, c as l } from "./store-Dej5FGrq.js";
|
|
15
|
+
import { t as u } from "./PermissionNotice-B5X5RQja.js";
|
|
16
|
+
import { t as d } from "./index.module-JxYvexTC.js";
|
|
17
|
+
import { r as f } from "./mobx-B8aGIDdz.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,
|
|
@@ -0,0 +1,241 @@
|
|
|
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.27.0" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ff4d8059-90d8-4cbf-86ca-32882ee37959", e._sentryDebugIdIdentifier = "sentry-dbid-ff4d8059-90d8-4cbf-86ca-32882ee37959");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { C as e, _ as t, d as n, m as r, s as i, x as a } from "./i18n-D1sb3MoT.js";
|
|
10
|
+
import { U as o, at as s, c, hn as l, it as u, rt as d, st as f } from "./store-Dej5FGrq.js";
|
|
11
|
+
import { r as p } from "./viewport-Jwms2MJD.js";
|
|
12
|
+
import { n as m, t as h } from "./kiosk-record-C2cafcoW.js";
|
|
13
|
+
//#region src/components/Kiosk/KioskStore.ts
|
|
14
|
+
var g, _, v, y, b;
|
|
15
|
+
function x(e, t, n, r) {
|
|
16
|
+
n && Object.defineProperty(e, t, {
|
|
17
|
+
enumerable: n.enumerable,
|
|
18
|
+
configurable: n.configurable,
|
|
19
|
+
writable: n.writable,
|
|
20
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function S(e, t, n, r, i) {
|
|
24
|
+
var a = {};
|
|
25
|
+
return Object.keys(r).forEach(function(e) {
|
|
26
|
+
a[e] = r[e];
|
|
27
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
28
|
+
return r(e, t, n) || n;
|
|
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;
|
|
30
|
+
}
|
|
31
|
+
var C = 2e4, w = new (g = r({ keepAlive: !0 }), _ = r({ keepAlive: !0 }), v = class {
|
|
32
|
+
constructor() {
|
|
33
|
+
x(this, "savedKiosk", y, this), x(this, "statusMessages", b, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.initialPtScale = void 0;
|
|
34
|
+
}
|
|
35
|
+
get kiosk() {
|
|
36
|
+
return c.uiState.kioskData;
|
|
37
|
+
}
|
|
38
|
+
setKiosk(e) {
|
|
39
|
+
c.uiState.setKioskData(e);
|
|
40
|
+
}
|
|
41
|
+
getCameraState() {
|
|
42
|
+
var e;
|
|
43
|
+
if (c.maplibreStore.showMaplibre) {
|
|
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
|
|
52
|
+
} : {};
|
|
53
|
+
}
|
|
54
|
+
let n = (e = o()) == null ? void 0 : e.state();
|
|
55
|
+
return n ? {
|
|
56
|
+
mapInitialPtScale: this.initialPtScale,
|
|
57
|
+
mapPtScale: n.pixelSize,
|
|
58
|
+
mapCenterX: n.center.x,
|
|
59
|
+
mapCenterY: n.center.y,
|
|
60
|
+
mapRollDegrees: n.roll,
|
|
61
|
+
mapPitch: n.pitch
|
|
62
|
+
} : {};
|
|
63
|
+
}
|
|
64
|
+
get hasUnsavedChanges() {
|
|
65
|
+
let e = this.savedKiosk, t = a(this.kiosk);
|
|
66
|
+
if (!t || !e) return !!t != !!e;
|
|
67
|
+
let n = Object.keys(e), r = Object.keys(t);
|
|
68
|
+
if (n.length !== r.length) return !0;
|
|
69
|
+
for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
|
|
70
|
+
return !1;
|
|
71
|
+
}
|
|
72
|
+
addStatusMessage(e) {
|
|
73
|
+
this.statusMessages = [{
|
|
74
|
+
...e,
|
|
75
|
+
id: Date.now()
|
|
76
|
+
}], this.startCleanupMessages();
|
|
77
|
+
}
|
|
78
|
+
clearStatusMessages() {
|
|
79
|
+
this.statusMessages = [];
|
|
80
|
+
}
|
|
81
|
+
startCleanupMessages() {
|
|
82
|
+
clearTimeout(this.statusMessageTimer), this.statusMessageTimer = window.setTimeout(() => this.clearStatusMessages(), 1e3);
|
|
83
|
+
}
|
|
84
|
+
async resetCamera() {
|
|
85
|
+
if (!this.isResettingCamera) {
|
|
86
|
+
this.isResettingCamera = !0;
|
|
87
|
+
try {
|
|
88
|
+
if (c.maplibreStore.showMaplibre && await this.resetMaplibreCamera()) return;
|
|
89
|
+
await this.resetPlanCamera();
|
|
90
|
+
} finally {
|
|
91
|
+
this.isResettingCamera = !1;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async resetMaplibreCamera() {
|
|
96
|
+
let e = await this.waitForMaplibreCameraPort();
|
|
97
|
+
if (!e) return !1;
|
|
98
|
+
let t = this.kiosk;
|
|
99
|
+
(t == null ? void 0 : t.z) != null && c.fp.activateFloor({ name: String(t.z) });
|
|
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);
|
|
101
|
+
return n === void 0 || r === void 0 || i === void 0 ? (e.resetPitch(), c.uiState.fitBounds(), !0) : (e.applyCameraState({
|
|
102
|
+
lng: n,
|
|
103
|
+
lat: r,
|
|
104
|
+
zoom: i,
|
|
105
|
+
bearing: m(t == null ? void 0 : t.mapBearingDegrees),
|
|
106
|
+
pitch: m(t == null ? void 0 : t.mapPitchDegrees)
|
|
107
|
+
}), !0);
|
|
108
|
+
}
|
|
109
|
+
async waitForMaplibreCameraPort() {
|
|
110
|
+
let { maplibreStore: t } = c;
|
|
111
|
+
if (t.cameraPort) return t.cameraPort;
|
|
112
|
+
try {
|
|
113
|
+
await e(() => !!t.cameraPort || !t.showMaplibre, { timeout: C });
|
|
114
|
+
} catch {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return t.cameraPort;
|
|
118
|
+
}
|
|
119
|
+
async resetPlanCamera() {
|
|
120
|
+
let e = o();
|
|
121
|
+
if (!e) return;
|
|
122
|
+
let t = this.kiosk;
|
|
123
|
+
await e.api.reset({
|
|
124
|
+
pan: !0,
|
|
125
|
+
zoom: !0,
|
|
126
|
+
roll: !0,
|
|
127
|
+
pitch: !0
|
|
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 });
|
|
138
|
+
}
|
|
139
|
+
restoreData() {
|
|
140
|
+
let e = d();
|
|
141
|
+
e && (this.setKiosk(e), this.savedKiosk = e, c.uiState.kiosk = !0);
|
|
142
|
+
}
|
|
143
|
+
handleSetupReady() {
|
|
144
|
+
this.restoreData(), c.uiState.kiosk = !0, c.uiState.hideFreeOrDemo = !0, c.uiState.setForceDim(!0), c.searchStore.setSearchText(""), c.searchStore.setFocused(!1), this.resetCamera();
|
|
145
|
+
}
|
|
146
|
+
handleClose() {
|
|
147
|
+
this.setKiosk(null), c.uiState.setForceDim(!1), c.uiState.enableSetKioskMode(!1), c.searchStore.closeSearch();
|
|
148
|
+
}
|
|
149
|
+
handleDelete() {
|
|
150
|
+
u(), this.setKiosk(null), c.uiState.resetMapSettings(), c.uiState.resetUIScale(), this.addStatusMessage({
|
|
151
|
+
variant: "success",
|
|
152
|
+
title: i("Deleted")
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
handleSave() {
|
|
156
|
+
let e = p();
|
|
157
|
+
if (!e) return;
|
|
158
|
+
let t = a(this.kiosk);
|
|
159
|
+
if (!t) return;
|
|
160
|
+
let n = this.getCameraState(), r = {
|
|
161
|
+
...t,
|
|
162
|
+
...n
|
|
163
|
+
};
|
|
164
|
+
if (!e.isVisible({
|
|
165
|
+
x: r.x,
|
|
166
|
+
y: r.y
|
|
167
|
+
})) {
|
|
168
|
+
this.addStatusMessage({
|
|
169
|
+
variant: "error",
|
|
170
|
+
title: i("Kiosk not visible")
|
|
171
|
+
});
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
this.setKiosk(r), s(r), f(r, "https://app.expofp.com/"), c.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
175
|
+
variant: "success",
|
|
176
|
+
title: i("Saved")
|
|
177
|
+
}), this.savedKiosk = r;
|
|
178
|
+
}
|
|
179
|
+
delayChange(e) {
|
|
180
|
+
requestAnimationFrame(() => e == null ? void 0 : e());
|
|
181
|
+
}
|
|
182
|
+
handleChange(e) {
|
|
183
|
+
let t = a(this.kiosk);
|
|
184
|
+
t && (Number.isFinite(e.angle) && this.setKiosk({
|
|
185
|
+
...t,
|
|
186
|
+
heading: e.angle
|
|
187
|
+
}), Number.isFinite(e.scale) && (this.setKiosk({
|
|
188
|
+
...t,
|
|
189
|
+
uiScale: e.scale
|
|
190
|
+
}), this.delayChange(() => c.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
191
|
+
...t,
|
|
192
|
+
iconSizePercent: e.percent
|
|
193
|
+
}));
|
|
194
|
+
}
|
|
195
|
+
setInitialPtScale(e) {
|
|
196
|
+
if (this.initialPtScale) return;
|
|
197
|
+
this.initialPtScale = e;
|
|
198
|
+
let t = a(this.kiosk);
|
|
199
|
+
t && this.setKiosk({
|
|
200
|
+
...t,
|
|
201
|
+
mapInitialPtScale: e
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
handleClick(e) {
|
|
205
|
+
var t, n;
|
|
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;
|
|
207
|
+
this.setKiosk({
|
|
208
|
+
...r,
|
|
209
|
+
x: e.x,
|
|
210
|
+
y: e.y,
|
|
211
|
+
z: o,
|
|
212
|
+
uiScale: (r == null ? void 0 : r.uiScale) || s,
|
|
213
|
+
heading: (r == null ? void 0 : r.heading) || 0,
|
|
214
|
+
iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
|
|
215
|
+
...this.getCameraState()
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
handleNavigationChange() {
|
|
219
|
+
let e = a(this.kiosk);
|
|
220
|
+
e && this.setKiosk({
|
|
221
|
+
...e,
|
|
222
|
+
...this.getCameraState()
|
|
223
|
+
});
|
|
224
|
+
}
|
|
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], {
|
|
226
|
+
configurable: !0,
|
|
227
|
+
enumerable: !0,
|
|
228
|
+
writable: !0,
|
|
229
|
+
initializer: function() {
|
|
230
|
+
return null;
|
|
231
|
+
}
|
|
232
|
+
}), S(v.prototype, "hasUnsavedChanges", [_], Object.getOwnPropertyDescriptor(v.prototype, "hasUnsavedChanges"), v.prototype), b = S(v.prototype, "statusMessages", [t], {
|
|
233
|
+
configurable: !0,
|
|
234
|
+
enumerable: !0,
|
|
235
|
+
writable: !0,
|
|
236
|
+
initializer: function() {
|
|
237
|
+
return [];
|
|
238
|
+
}
|
|
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)();
|
|
240
|
+
//#endregion
|
|
241
|
+
export { w as t };
|