@expofp/floorplan 3.3.7 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/CookieConsent-BgzFI0o5.js +38 -0
- package/dist/browser/{Debug-A2TjoZQK.js → Debug-DwwZ0jVT.js} +9 -9
- package/dist/browser/{Demo-iK72mOgP.js → Demo-Bhv7muKd.js} +11 -11
- package/dist/browser/{Free-BcbAZA3y.js → Free-EaDzP7U5.js} +12 -12
- package/dist/browser/{Gallery-U-ldyITy.js → Gallery-BFio06PY.js} +10 -10
- package/dist/browser/{GpsLoader-DqPTky-0.js → GpsLoader-BhYirpWa.js} +46 -47
- package/dist/browser/{KioskStore-DIKp1HfX.js → KioskStore-DiTPaFb2.js} +17 -17
- package/dist/browser/MaplibreAdapter-BKj3sK8A.js +35131 -0
- package/dist/browser/{Modal-BLjdiYfi.js → Modal-DVY124d5.js} +10 -10
- package/dist/browser/PermissionNotice-CrAxf_da.js +54 -0
- package/dist/browser/{SetKioskMode-CIDQnVVK.js → SetKioskMode-Cj1IbMbn.js} +11 -11
- package/dist/browser/ShowKiosk-CqmJT8yJ.js +26 -0
- package/dist/browser/{TouchHand-4OAXEmLA.js → TouchHand-BdZWU_I1.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-BFEwT9oC.js → ViewerMenuPanel-DbVIwrJO.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-B2ugeAcj.js → add-debug-secret-listener-B8gxDWmn.js} +1 -1
- package/dist/browser/{boolean-editor-Cc1GCvQj.js → boolean-editor-CIT7g6C5.js} +10 -10
- package/dist/browser/{bootIntercom-BVGw_SpO.js → bootIntercom-CcgHFRAw.js} +2 -2
- package/dist/browser/{box-CaErtqkj.js → box-CydZk4HJ.js} +5 -5
- package/dist/browser/{browser-_paBhqQW.js → browser-DlMYMMvJ.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-CVk0A91C.js → classnames-DmdaKMoa.js} +2 -2
- package/dist/browser/{client-B70Nbh5h.js → client-8ygU_jvu.js} +4 -4
- package/dist/browser/components-BgwIl1Lu.js +6289 -0
- package/dist/browser/createWayfinding-D9tuHHx5.js +1889 -0
- package/dist/browser/{debug-overlay-CyYqgTdj.js → debug-overlay-Dos3Ate2.js} +11 -11
- package/dist/browser/{debug-ui-D9A6yzed.js → debug-ui-BjmKfkgV.js} +6 -6
- package/dist/browser/{dist-BUD3zJ9Z.js → dist-B3Y58WKJ.js} +6 -6
- package/dist/browser/{dist-BPljQLT7.js → dist-Bm6VKnC2.js} +3 -3
- package/dist/browser/{dist-BrWnw-Ri.js → dist-_wJOZ0rm.js} +5 -5
- package/dist/browser/{efp-debug-init-CL7ckXKd.js → efp-debug-init-yyCWZRTx.js} +5 -4
- package/dist/browser/{enum-editor-Djt6vsG1.js → enum-editor-D8X_uabc.js} +11 -11
- package/dist/browser/{event-not-found-CAUywrB2.js → event-not-found-Bm_W5xxA.js} +1 -1
- package/dist/browser/{exports-D5aj-cpr.js → exports-DnHrfjiU.js} +1 -1
- package/dist/browser/{favicon-B3ilFIzN.js → favicon-Bnz633J6.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CC6nRZde.js → fetch-retry.umd-BunUcQza.js} +2 -2
- package/dist/browser/{flex-SCSgjwpS.js → flex-DwDJlblp.js} +6 -6
- package/dist/browser/{flex.props-DM7y21yG.js → flex.props-BAGkFvkN.js} +2 -2
- package/dist/browser/{floorplan.loader-BmVUKCxN.js → floorplan.loader-B3PUqtqn.js} +30 -31
- package/dist/browser/{floorplan.ready-da1pQZ1-.js → floorplan.ready-BAnq_GdS.js} +196 -196
- package/dist/browser/{fuse-DY6Kjf36.js → fuse-Bhsd7fBU.js} +2 -2
- package/dist/browser/{i18n-1-u98ly9.js → i18n-C5BBGKZk.js} +5 -5
- package/dist/browser/index.js +13 -13
- package/dist/browser/{jsx-runtime-BESB6cP1.js → jsx-runtime-Dk2--jeN.js} +2 -2
- package/dist/browser/{lib-BhhCH6-T.js → lib-Brd2BCh_.js} +4 -4
- package/dist/browser/locales/ar.json +0 -1
- package/dist/browser/locales/de.json +0 -1
- package/dist/browser/locales/es.json +0 -1
- package/dist/browser/locales/fr.json +0 -1
- package/dist/browser/locales/he.json +0 -1
- package/dist/browser/locales/it.json +0 -1
- package/dist/browser/locales/kk.json +0 -1
- package/dist/browser/locales/ko.json +0 -1
- package/dist/browser/locales/mn.json +0 -1
- package/dist/browser/locales/nl.json +0 -1
- package/dist/browser/locales/pl.json +0 -1
- package/dist/browser/locales/pt.json +0 -1
- package/dist/browser/locales/ru.json +0 -1
- package/dist/browser/locales/sv.json +0 -1
- package/dist/browser/locales/th.json +0 -1
- package/dist/browser/locales/tr.json +0 -1
- package/dist/browser/locales/uk.json +0 -1
- package/dist/browser/locales/vi.json +0 -1
- package/dist/browser/locales/zh.json +0 -1
- package/dist/browser/{main-D2NmCv2H.js → main-pIcuVUIg.js} +1 -1
- package/dist/browser/{mobx-Cfh5Vfk6.js → mobx-BfCD0EQ-.js} +4 -4
- package/dist/browser/{particles.min-B5qlVBuL.js → particles.min-ChGMv-bm.js} +2 -2
- package/dist/browser/{prop-types-DZ8VfWUb.js → prop-types-xdXFFTmm.js} +2 -2
- package/dist/browser/{react-cXsgFw41.js → react-BbZc5Oeq.js} +2 -2
- package/dist/browser/{react-dom-l5Q31Wma.js → react-dom-BBDOhlbP.js} +3 -3
- package/dist/browser/{reset-all-settings-B6K1EwXP.js → reset-all-settings-BQC7zljW.js} +7 -7
- package/dist/browser/{rolldown-runtime-hPqAdzN2.js → rolldown-runtime-DS4W77DU.js} +1 -1
- package/dist/browser/{settings-BZyvLLph.js → settings-CK-qRFM8.js} +2 -2
- package/dist/browser/{settings-item-zDeA5cv4.js → settings-item-CUnGC7xO.js} +6 -6
- package/dist/browser/{storage-CneO9F9t.js → storage-0QGL3b8S.js} +3 -3
- package/dist/browser/{store-CQphSXxk.js → store-Bm4aFC2V.js} +4543 -4998
- package/dist/browser/{string-editor-BJn1AFSw.js → string-editor-BNry84Oh.js} +8 -8
- package/dist/browser/{theme-DoAOOaRE.js → theme-BIXywNMw.js} +8 -8
- package/dist/browser/{ui-DNF4wGZh.js → ui-AzubEvGd.js} +8 -8
- package/dist/browser/{useRenderTarget-BYpCY_A9.js → useRenderTarget-Bf7cQRFi.js} +4 -4
- package/dist/esm/_misc_to_move/manifest.d.ts +1 -0
- package/dist/esm/components/AlertContainer.d.ts +1 -1
- package/dist/esm/components/Controls.js +1 -1
- package/dist/esm/components/CookieConsent.d.ts +3 -3
- package/dist/esm/components/CookieConsent.js +1 -1
- package/dist/esm/components/EntityItemContainer.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegendContainer.d.ts +6 -0
- package/dist/esm/components/HeatmapLegendContainer.js +1 -0
- package/dist/esm/components/HighlightTextContainer.d.ts +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelBadgeContainer.d.ts +6 -0
- package/dist/esm/components/LevelBadgeContainer.js +1 -0
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +3 -2
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booths.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +14 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +69 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -0
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +10 -0
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -0
- package/dist/esm/components/Maplibre/useDimming.d.ts +16 -0
- package/dist/esm/components/Maplibre/useDimming.js +1 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +11 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -0
- package/dist/esm/components/Maplibre/useRendererEvents.d.ts +9 -0
- package/dist/esm/components/Maplibre/useRendererEvents.js +1 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +8 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +1 -0
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +30 -0
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +4 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.js +1 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +9 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -0
- package/dist/esm/components/Maplibre/utils/solver.d.ts +24 -0
- package/dist/esm/components/Maplibre/utils/solver.js +1 -0
- package/dist/esm/components/OverlayContainer.d.ts +1 -1
- package/dist/esm/components/OverlayGripContainer.d.ts +4 -0
- package/dist/esm/components/OverlayGripContainer.js +1 -0
- package/dist/esm/components/ScrollableRowContainer.d.ts +6 -0
- package/dist/esm/components/ScrollableRowContainer.js +1 -0
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +1 -1
- package/dist/esm/components/SearchButtons/SearchButtons.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +1 -1
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +1 -1
- package/dist/esm/components/gps/GpsPermissionRequest.js +1 -1
- package/dist/esm/components/index.d.ts +9 -8
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/data/Flags.d.ts +1 -0
- package/dist/esm/data/fpGeo.d.ts +20 -1
- package/dist/esm/floorplan.loader.d.ts +1 -0
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/RendererService.d.ts +5 -0
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/MaplibreStore.d.ts +22 -0
- package/dist/esm/store/MaplibreStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +2 -2
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/types.d.ts +9 -0
- package/dist/esm/ui/Draggable/Draggable.d.ts +9 -0
- package/dist/esm/ui/Draggable/Draggable.js +1 -0
- package/dist/esm/ui/Draggable/index.d.ts +3 -0
- package/dist/esm/ui/Draggable/index.js +1 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.d.ts +13 -0
- package/dist/esm/ui/HeatmapLegend/HeatmapLegend.js +1 -0
- package/dist/esm/ui/HeatmapLegend/index.d.ts +3 -0
- package/dist/esm/ui/HeatmapLegend/index.js +1 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.d.ts +9 -0
- package/dist/esm/ui/LevelBadge/LevelBadge.js +1 -0
- package/dist/esm/ui/LevelBadge/index.d.ts +3 -0
- package/dist/esm/ui/LevelBadge/index.js +1 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.d.ts +11 -0
- package/dist/esm/ui/OverlayGrip/OverlayGrip.js +1 -0
- package/dist/esm/ui/OverlayGrip/index.d.ts +3 -0
- package/dist/esm/ui/OverlayGrip/index.js +1 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.d.ts +16 -0
- package/dist/esm/ui/PermissionNotice/PermissionNotice.js +1 -0
- package/dist/esm/ui/PermissionNotice/index.d.ts +3 -0
- package/dist/esm/ui/PermissionNotice/index.js +1 -0
- package/dist/esm/{components → ui/ScrollableRow}/ScrollableRow.d.ts +5 -4
- package/dist/esm/ui/ScrollableRow/ScrollableRow.js +1 -0
- package/dist/esm/ui/ScrollableRow/index.d.ts +3 -0
- package/dist/esm/ui/ScrollableRow/index.js +1 -0
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +4 -10
- package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -1
- package/dist/esm/ui/shared/interactive.d.ts +2 -0
- package/dist/esm/ui/shared/interactive.js +1 -0
- package/dist/esm/utils/color-gradient.d.ts +2 -0
- package/dist/esm/utils/color-gradient.js +1 -0
- package/dist/esm/utils/dimming.d.ts +16 -0
- package/dist/esm/utils/dimming.js +1 -0
- package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +1 -1
- package/package.json +5 -9
- package/dist/browser/CookieConsent-DeA-DR4A.js +0 -71
- package/dist/browser/Mapbox-ChPNLhVw.js +0 -120
- package/dist/browser/ShowKiosk-CprbVv29.js +0 -26
- package/dist/browser/ThreeComponent-CtqPjAlQ.js +0 -1494
- package/dist/browser/components-XkvqySvZ.js +0 -8143
- package/dist/browser/data-DshpY4Eh.js +0 -27967
- package/dist/browser/vendor/mapbox/mapbox-gl.css +0 -1
- package/dist/esm/components/BookmarkSvg.d.ts +0 -4
- package/dist/esm/components/BookmarkSvg.js +0 -1
- package/dist/esm/components/Draggable.d.ts +0 -10
- package/dist/esm/components/Draggable.js +0 -1
- package/dist/esm/components/HeatmapLegend.d.ts +0 -12
- package/dist/esm/components/HeatmapLegend.js +0 -1
- package/dist/esm/components/LevelBadge.d.ts +0 -8
- package/dist/esm/components/LevelBadge.js +0 -1
- package/dist/esm/components/Mapbox/Button.d.ts +0 -10
- package/dist/esm/components/Mapbox/Button.js +0 -1
- package/dist/esm/components/Mapbox/Dot.d.ts +0 -10
- package/dist/esm/components/Mapbox/Dot.js +0 -1
- package/dist/esm/components/Mapbox/MapLoader.d.ts +0 -4
- package/dist/esm/components/Mapbox/MapLoader.js +0 -1
- package/dist/esm/components/Mapbox/Mapbox.d.ts +0 -4
- package/dist/esm/components/Mapbox/Mapbox.js +0 -1
- package/dist/esm/components/Mapbox/utils/data.d.ts +0 -38
- package/dist/esm/components/Mapbox/utils/data.js +0 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -5
- package/dist/esm/components/OverlayGrip.js +0 -1
- package/dist/esm/components/PermissionNotice/PermissionNotice.d.ts +0 -14
- package/dist/esm/components/PermissionNotice/PermissionNotice.js +0 -1
- package/dist/esm/components/ScrollableRow.js +0 -1
- package/dist/esm/components/Threejs/ThreeComponent.d.ts +0 -7
- package/dist/esm/components/Threejs/ThreeComponent.js +0 -1
- package/dist/esm/components/Threejs/UIManager.d.ts +0 -28
- package/dist/esm/components/Threejs/UIManager.js +0 -1
- package/dist/esm/components/Threejs/common/BoothMesh.d.ts +0 -20
- package/dist/esm/components/Threejs/common/BoothMesh.js +0 -1
- package/dist/esm/components/Threejs/common/Scene.d.ts +0 -13
- package/dist/esm/components/Threejs/common/Scene.js +0 -1
- package/dist/esm/components/Threejs/common/SpriteMesh.d.ts +0 -5
- package/dist/esm/components/Threejs/common/SpriteMesh.js +0 -1
- package/dist/esm/components/Threejs/common/dataLoader.d.ts +0 -31
- package/dist/esm/components/Threejs/common/dataLoader.js +0 -1
- package/dist/esm/components/Threejs/common/modelLoader.d.ts +0 -3
- package/dist/esm/components/Threejs/common/modelLoader.js +0 -1
- package/dist/esm/components/Threejs/common/sceneLoader.d.ts +0 -7
- package/dist/esm/components/Threejs/common/sceneLoader.js +0 -1
- package/dist/esm/components/Threejs/index.d.ts +0 -4
- package/dist/esm/components/Threejs/index.js +0 -1
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.d.ts +0 -2
- package/dist/esm/components/Threejs/mapbox/configureWebGLForMapbox.js +0 -1
- package/dist/esm/components/Threejs/mapbox/index_mapbox.d.ts +0 -4
- package/dist/esm/components/Threejs/mapbox/index_mapbox.js +0 -1
- package/dist/esm/components/Threejs/mapbox/init-mapbox.d.ts +0 -3
- package/dist/esm/components/Threejs/mapbox/init-mapbox.js +0 -1
- package/dist/esm/components/Threejs/utils/canvasFromText.d.ts +0 -2
- package/dist/esm/components/Threejs/utils/canvasFromText.js +0 -1
- package/dist/esm/components/Threejs/utils/textureMerger.d.ts +0 -60
- package/dist/esm/components/Threejs/utils/textureMerger.js +0 -1
- package/dist/esm/store/MapboxStore.d.ts +0 -13
- package/dist/esm/store/MapboxStore.js +0 -1
- package/dist/esm/tools/Color.d.ts +0 -2
- package/dist/esm/tools/Color.js +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
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.4.0" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3fcc72e0-b0e8-4f1a-a6ea-88fce70defe8", e._sentryDebugIdIdentifier = "sentry-dbid-3fcc72e0-b0e8-4f1a-a6ea-88fce70defe8");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { n as e } from "./rolldown-runtime-DS4W77DU.js";
|
|
10
|
+
import { t } from "./react-BbZc5Oeq.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Dk2--jeN.js";
|
|
12
|
+
import { s as r } from "./i18n-C5BBGKZk.js";
|
|
13
|
+
import { in as i } from "./store-Bm4aFC2V.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-CrAxf_da.js";
|
|
15
|
+
//#region src/components/CookieConsent.tsx
|
|
16
|
+
var o = /* @__PURE__ */ e({ default: () => c });
|
|
17
|
+
t();
|
|
18
|
+
var s = n(), c = i(({ link: e, onAccept: t, onReject: n }) => /* @__PURE__ */ (0, s.jsxs)(a, {
|
|
19
|
+
placement: "bottom-left",
|
|
20
|
+
title: r("Cookie Consent"),
|
|
21
|
+
acceptText: r("Accept cookies"),
|
|
22
|
+
rejectText: r("Reject"),
|
|
23
|
+
onAccept: t,
|
|
24
|
+
onReject: n,
|
|
25
|
+
children: [
|
|
26
|
+
r("We use cookies for analytics only"),
|
|
27
|
+
"\xA0",
|
|
28
|
+
e && /* @__PURE__ */ (0, s.jsx)("a", {
|
|
29
|
+
href: e,
|
|
30
|
+
target: "_blank",
|
|
31
|
+
rel: "noopener noreferrer",
|
|
32
|
+
"aria-label": r("Read more about cookie usage in a new tab"),
|
|
33
|
+
children: r("Read More")
|
|
34
|
+
})
|
|
35
|
+
]
|
|
36
|
+
}));
|
|
37
|
+
//#endregion
|
|
38
|
+
export { o as t };
|
|
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.4.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] = "f6fa170c-11b3-4b51-9c91-23307674ecf0", e._sentryDebugIdIdentifier = "sentry-dbid-f6fa170c-11b3-4b51-9c91-23307674ecf0");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import "./rolldown-runtime-
|
|
11
|
-
import { t as e } from "./react-
|
|
12
|
-
import { t } from "./jsx-runtime-
|
|
13
|
-
import { s as n } from "./i18n-
|
|
14
|
-
import {
|
|
10
|
+
import "./rolldown-runtime-DS4W77DU.js";
|
|
11
|
+
import { t as e } from "./react-BbZc5Oeq.js";
|
|
12
|
+
import { t } from "./jsx-runtime-Dk2--jeN.js";
|
|
13
|
+
import { s as n } from "./i18n-C5BBGKZk.js";
|
|
14
|
+
import { o as r, on as i, s as a } from "./store-Bm4aFC2V.js";
|
|
15
15
|
e();
|
|
16
16
|
var o = [], s = t();
|
|
17
17
|
function c() {
|
|
@@ -36,7 +36,7 @@ function c() {
|
|
|
36
36
|
className: "debug",
|
|
37
37
|
children: [
|
|
38
38
|
/* @__PURE__ */ (0, s.jsx)("button", {
|
|
39
|
-
onClick: () =>
|
|
39
|
+
onClick: () => r.searchStore.selectSearch(""),
|
|
40
40
|
children: n("Close")
|
|
41
41
|
}),
|
|
42
42
|
/* @__PURE__ */ (0, s.jsxs)("div", { children: ["Total square: ", e] }),
|
|
@@ -44,7 +44,7 @@ function c() {
|
|
|
44
44
|
]
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
var l = () =>
|
|
47
|
+
var l = () => i(() => /* @__PURE__ */ (0, s.jsx)(s.Fragment, { children: a.list.type === "search" && a.list.text === "q1" ? /* @__PURE__ */ (0, s.jsx)(c, {}) : null }));
|
|
48
48
|
//#endregion
|
|
49
49
|
export { l as default };
|
|
50
50
|
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.4.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] = "2ea3edda-b8a5-4541-ba59-87c058b8deed", e._sentryDebugIdIdentifier = "sentry-dbid-2ea3edda-b8a5-4541-ba59-87c058b8deed");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-DS4W77DU.js";
|
|
11
|
+
import { t as n } from "./react-BbZc5Oeq.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-Dk2--jeN.js";
|
|
13
|
+
import { s as i } from "./i18n-C5BBGKZk.js";
|
|
14
|
+
import { t as a } from "./classnames-DmdaKMoa.js";
|
|
15
|
+
import { an as o, on as s, s as c } from "./store-Bm4aFC2V.js";
|
|
16
|
+
import { n as l } from "./mobx-BfCD0EQ-.js";
|
|
17
17
|
n();
|
|
18
18
|
var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
|
|
19
19
|
function m() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = o(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get top() {
|
|
23
23
|
return c.screenSize.width <= 820;
|
|
@@ -34,7 +34,7 @@ function m() {
|
|
|
34
34
|
sessionStorage.getItem(p) || window.setTimeout(() => {
|
|
35
35
|
e.hidden = !1;
|
|
36
36
|
}, 2e3);
|
|
37
|
-
}),
|
|
37
|
+
}), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
38
38
|
className: e.classes,
|
|
39
39
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
40
40
|
className: "demo__message",
|
|
@@ -2,22 +2,22 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.4.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] = "dfc1160e-f80f-4241-9a35-6b3f9ed1d394", e._sentryDebugIdIdentifier = "sentry-dbid-dfc1160e-f80f-4241-9a35-6b3f9ed1d394");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { s as r } from "./i18n-
|
|
14
|
-
import { t as i } from "./classnames-
|
|
15
|
-
import {
|
|
16
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-DS4W77DU.js";
|
|
11
|
+
import { t } from "./react-BbZc5Oeq.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-Dk2--jeN.js";
|
|
13
|
+
import { s as r } from "./i18n-C5BBGKZk.js";
|
|
14
|
+
import { t as i } from "./classnames-DmdaKMoa.js";
|
|
15
|
+
import { an as a, l as o, on as s, s as c, u as l } from "./store-Bm4aFC2V.js";
|
|
16
|
+
import { n as u } from "./mobx-BfCD0EQ-.js";
|
|
17
17
|
t();
|
|
18
18
|
var d = /* @__PURE__ */ e(i(), 1), f = n();
|
|
19
19
|
function p() {
|
|
20
|
-
let e =
|
|
20
|
+
let e = a(() => ({
|
|
21
21
|
hidden: !0,
|
|
22
22
|
get classes() {
|
|
23
23
|
return (0, d.default)("free", { hidden: this.hidden });
|
|
@@ -27,7 +27,7 @@ function p() {
|
|
|
27
27
|
c.freeBannerDismissed || window.setTimeout(() => {
|
|
28
28
|
e.hidden = !1;
|
|
29
29
|
}, 2e3);
|
|
30
|
-
}),
|
|
30
|
+
}), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
|
|
31
31
|
className: e.classes,
|
|
32
32
|
children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
|
|
33
33
|
className: "free__message",
|
|
@@ -35,7 +35,7 @@ function p() {
|
|
|
35
35
|
r("Create a free floor plan at"),
|
|
36
36
|
"\xA0",
|
|
37
37
|
/* @__PURE__ */ (0, f.jsx)("a", {
|
|
38
|
-
href:
|
|
38
|
+
href: o(),
|
|
39
39
|
target: "_blank",
|
|
40
40
|
rel: "noopener noreferrer",
|
|
41
41
|
children: "ExpoFP.com"
|
|
@@ -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.4.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] = "6fefbb7f-2509-4be6-88e8-2c74d5702478", e._sentryDebugIdIdentifier = "sentry-dbid-6fefbb7f-2509-4be6-88e8-2c74d5702478");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { s as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import {
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-DS4W77DU.js";
|
|
11
|
+
import { t as n } from "./react-BbZc5Oeq.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-Dk2--jeN.js";
|
|
13
|
+
import { s as i } from "./i18n-C5BBGKZk.js";
|
|
14
|
+
import { t as a } from "./react-dom-BBDOhlbP.js";
|
|
15
|
+
import { t as o } from "./classnames-DmdaKMoa.js";
|
|
16
|
+
import { in as s } from "./store-Bm4aFC2V.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-Bf7cQRFi.js";
|
|
18
18
|
//#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
|
|
19
19
|
var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
|
|
20
20
|
className: "gallery__badge gallery__badge-count",
|
|
@@ -1,19 +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.4.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] = "71893bb3-f0ca-4259-a10c-6da4e0cda9c3", e._sentryDebugIdIdentifier = "sentry-dbid-71893bb3-f0ca-4259-a10c-6da4e0cda9c3");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { r as f } from "./mobx-
|
|
16
|
-
import "./components-XkvqySvZ.js";
|
|
9
|
+
import { r as e } from "./rolldown-runtime-DS4W77DU.js";
|
|
10
|
+
import { t } from "./react-BbZc5Oeq.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Dk2--jeN.js";
|
|
12
|
+
import { G as r, ot as i, s as a } from "./i18n-C5BBGKZk.js";
|
|
13
|
+
import { bt as o, in as s, k as c, nt as l, o as u } from "./store-Bm4aFC2V.js";
|
|
14
|
+
import { t as d } from "./PermissionNotice-CrAxf_da.js";
|
|
15
|
+
import { r as f } from "./mobx-BfCD0EQ-.js";
|
|
17
16
|
//#region src/components/gps/utils.ts
|
|
18
17
|
var p = /* @__PURE__ */ e(t(), 1);
|
|
19
18
|
function m(e) {
|
|
@@ -26,30 +25,30 @@ function h(e, t) {
|
|
|
26
25
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
27
26
|
var g = 120, _ = 3e3, v = 360;
|
|
28
27
|
function y(e) {
|
|
29
|
-
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0),
|
|
28
|
+
let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
|
|
30
29
|
let t = Date.now();
|
|
31
30
|
if (t - r.current < g) return;
|
|
32
|
-
let n =
|
|
31
|
+
let n = a.current;
|
|
33
32
|
if (!s.current) {
|
|
34
|
-
s.current = e, r.current = t,
|
|
33
|
+
s.current = e, r.current = t, a.current = e, d(e);
|
|
35
34
|
return;
|
|
36
35
|
}
|
|
37
|
-
let
|
|
38
|
-
c.current ?
|
|
36
|
+
let i = l(s.current.lat, s.current.lng, e.lat, e.lng), o;
|
|
37
|
+
c.current ? i <= 3 ? (c.current = !1, s.current = e, o = {
|
|
39
38
|
...s.current,
|
|
40
39
|
heading: e.heading
|
|
41
|
-
}) : (s.current = e, o = e) :
|
|
40
|
+
}) : (s.current = e, o = e) : i >= 3 ? (c.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
|
|
42
41
|
...s.current,
|
|
43
42
|
heading: e.heading
|
|
44
|
-
}), !(n && !h(n, o)) && (r.current = t,
|
|
43
|
+
}), !(n && !h(n, o)) && (r.current = t, a.current = o, d(o));
|
|
45
44
|
}, y = (0, p.useCallback)((e) => {
|
|
46
45
|
var t;
|
|
47
46
|
let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
|
|
48
47
|
if (r == null) return;
|
|
49
|
-
let
|
|
50
|
-
n.current !==
|
|
51
|
-
...
|
|
52
|
-
heading:
|
|
48
|
+
let i = m(r);
|
|
49
|
+
n.current !== i && (n.current = i, a.current && f({
|
|
50
|
+
...a.current,
|
|
51
|
+
heading: i
|
|
53
52
|
}));
|
|
54
53
|
}, [e]);
|
|
55
54
|
return {
|
|
@@ -60,7 +59,7 @@ function y(e) {
|
|
|
60
59
|
lng: e.coords.longitude,
|
|
61
60
|
heading: n.current
|
|
62
61
|
});
|
|
63
|
-
}, (e) =>
|
|
62
|
+
}, (e) => i.warn("Geolocation watch error:", e), {
|
|
64
63
|
enableHighAccuracy: !0,
|
|
65
64
|
maximumAge: 0
|
|
66
65
|
}));
|
|
@@ -80,46 +79,46 @@ function y(e) {
|
|
|
80
79
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
81
80
|
var b = n(), x = s(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
82
81
|
return e ? /* @__PURE__ */ (0, b.jsx)(d, {
|
|
83
|
-
title:
|
|
84
|
-
acceptText:
|
|
85
|
-
rejectText:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
children:
|
|
82
|
+
title: a("Show your position on the map"),
|
|
83
|
+
acceptText: a("Allow compass access"),
|
|
84
|
+
rejectText: a("Not now"),
|
|
85
|
+
onAccept: t,
|
|
86
|
+
onReject: n,
|
|
87
|
+
children: a("To display your current position and orient the map around you, we’ll ask for permission to access your device orientation")
|
|
89
88
|
}) : null;
|
|
90
89
|
});
|
|
91
90
|
//#endregion
|
|
92
91
|
//#region src/components/gps/GpsManager.tsx
|
|
93
|
-
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass:
|
|
94
|
-
let { startOrientation:
|
|
92
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: s = !0 }) {
|
|
93
|
+
let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
|
|
95
94
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
96
|
-
m(!0),
|
|
95
|
+
m(!0), l();
|
|
97
96
|
}, (e) => {
|
|
98
|
-
|
|
97
|
+
i.warn("Geolocation error:", e), m(!1);
|
|
99
98
|
}), () => {
|
|
100
|
-
|
|
99
|
+
u(), d();
|
|
101
100
|
}), [
|
|
102
|
-
|
|
101
|
+
l,
|
|
103
102
|
d,
|
|
104
|
-
|
|
103
|
+
u
|
|
105
104
|
]);
|
|
106
105
|
let _ = async () => {
|
|
107
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"),
|
|
106
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), g(!1), t == null || t());
|
|
108
107
|
}, v = (0, p.useCallback)(() => {
|
|
109
108
|
localStorage.setItem(r, "false"), g(!1), n == null || n();
|
|
110
109
|
}, [n]);
|
|
111
110
|
return (0, p.useEffect)(() => {
|
|
112
|
-
if (!f || !
|
|
111
|
+
if (!f || !s || typeof navigator > "u" || !o) return;
|
|
113
112
|
let e = localStorage.getItem(r);
|
|
114
|
-
if (!e ||
|
|
113
|
+
if (!e || a) {
|
|
115
114
|
g(!0);
|
|
116
115
|
return;
|
|
117
116
|
}
|
|
118
117
|
e === "true" && _();
|
|
119
118
|
}, [
|
|
120
119
|
f,
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
a,
|
|
121
|
+
s,
|
|
123
122
|
_
|
|
124
123
|
]), /* @__PURE__ */ (0, b.jsx)(x, {
|
|
125
124
|
isOpen: h,
|
|
@@ -131,21 +130,21 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
131
130
|
//#region src/components/GpsLoader.tsx
|
|
132
131
|
function C({ requestCompassAllowed: e }) {
|
|
133
132
|
let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
134
|
-
|
|
133
|
+
u.routeStore.selectCurrentPosition(new c(0, 0, 0, n || r, e, t), !1);
|
|
135
134
|
}, []), a = (0, p.useCallback)(() => {
|
|
136
|
-
|
|
137
|
-
}, [n]),
|
|
138
|
-
|
|
135
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
136
|
+
}, [n]), o = (0, p.useCallback)(() => {
|
|
137
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
139
138
|
}, [n]);
|
|
140
|
-
return f(() =>
|
|
139
|
+
return f(() => u.uiState.hideCookieConsent, (e) => {
|
|
141
140
|
n(e);
|
|
142
|
-
}), f(() =>
|
|
141
|
+
}), f(() => u.routeStore.requestCompass, (e) => {
|
|
143
142
|
n(e);
|
|
144
143
|
}), /* @__PURE__ */ (0, b.jsx)(S, {
|
|
145
144
|
requestCompass: t,
|
|
146
145
|
requestCompassAllowed: e,
|
|
147
146
|
onRejectCompass: a,
|
|
148
|
-
onAllowCompass:
|
|
147
|
+
onAllowCompass: o,
|
|
149
148
|
orientationStorageKey: r,
|
|
150
149
|
onPositionUpdate: i
|
|
151
150
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.4.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] = "704a29f6-42fd-4d06-8a90-9dd3844954a2", e._sentryDebugIdIdentifier = "sentry-dbid-704a29f6-42fd-4d06-8a90-9dd3844954a2");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-
|
|
10
|
-
import { n as o, r as s, t as c } from "./storage-
|
|
11
|
-
import {
|
|
9
|
+
import { _ as e, f as t, h as n, s as r, u as i, y as a } from "./i18n-C5BBGKZk.js";
|
|
10
|
+
import { n as o, r as s, t as c } from "./storage-0QGL3b8S.js";
|
|
11
|
+
import { Mt as l, ft as u, o as d } from "./store-Bm4aFC2V.js";
|
|
12
12
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
13
13
|
function f(e, t) {
|
|
14
14
|
let n = 0;
|
|
@@ -86,16 +86,16 @@ var b = new (h = class {
|
|
|
86
86
|
v(this, "savedKiosk", g, this), v(this, "statusMessages", _, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
87
87
|
}
|
|
88
88
|
get kiosk() {
|
|
89
|
-
return
|
|
89
|
+
return d.uiState.kioskData;
|
|
90
90
|
}
|
|
91
91
|
setKiosk(e) {
|
|
92
|
-
|
|
92
|
+
d.uiState.setKioskData(e);
|
|
93
93
|
}
|
|
94
94
|
get renderer() {
|
|
95
|
-
return
|
|
95
|
+
return d.rendererService.renderer;
|
|
96
96
|
}
|
|
97
97
|
getCameraState() {
|
|
98
|
-
let e =
|
|
98
|
+
let e = d.rendererService.getCameraState();
|
|
99
99
|
return e ? {
|
|
100
100
|
mapInitialPtScale: this.initialPtScale,
|
|
101
101
|
mapPtScale: e.ptScale,
|
|
@@ -133,21 +133,21 @@ var b = new (h = class {
|
|
|
133
133
|
roll: !0,
|
|
134
134
|
pitch: !0
|
|
135
135
|
}, !0), e(() => {
|
|
136
|
-
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), t &&
|
|
136
|
+
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), t && d.fp.activateFloor({ name: t });
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
139
|
restoreData() {
|
|
140
140
|
let e = c();
|
|
141
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
141
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, d.uiState.kiosk = !0, this.resetCamera()), e;
|
|
142
142
|
}
|
|
143
143
|
handleSetupReady() {
|
|
144
|
-
this.restoreData(),
|
|
144
|
+
this.restoreData(), d.uiState.kiosk = !0, d.uiState.hideFreeOrDemo = !0, d.uiState.setForceDimm(!0), d.searchStore.setSearchText(""), d.searchStore.setFocused(!1);
|
|
145
145
|
}
|
|
146
146
|
handleClose() {
|
|
147
|
-
this.setKiosk(null),
|
|
147
|
+
this.setKiosk(null), d.uiState.setForceDimm(!1), d.uiState.enableSetKioskMode(!1), d.searchStore.closeSearch(), this.resetCamera();
|
|
148
148
|
}
|
|
149
149
|
handleDelete() {
|
|
150
|
-
o(), this.setKiosk(null),
|
|
150
|
+
o(), this.setKiosk(null), d.uiState.resetMapSettings(), d.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
151
151
|
variant: "success",
|
|
152
152
|
title: r("Deleted")
|
|
153
153
|
});
|
|
@@ -164,7 +164,7 @@ var b = new (h = class {
|
|
|
164
164
|
});
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
|
-
this.setKiosk(n), s(n),
|
|
167
|
+
this.setKiosk(n), s(n), d.uiState.setUIScale(n.uiScale, !0), this.addStatusMessage({
|
|
168
168
|
variant: "success",
|
|
169
169
|
title: r("Saved")
|
|
170
170
|
}), this.savedKiosk = n;
|
|
@@ -180,7 +180,7 @@ var b = new (h = class {
|
|
|
180
180
|
}), Number.isFinite(e.scale) && (this.setKiosk({
|
|
181
181
|
...t,
|
|
182
182
|
uiScale: e.scale
|
|
183
|
-
}), this.delayChange(() =>
|
|
183
|
+
}), this.delayChange(() => d.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
184
184
|
...t,
|
|
185
185
|
iconSizePercent: e.percent
|
|
186
186
|
}));
|
|
@@ -196,7 +196,7 @@ var b = new (h = class {
|
|
|
196
196
|
}
|
|
197
197
|
handleClick(e) {
|
|
198
198
|
var t;
|
|
199
|
-
let n = a(this.kiosk), r =
|
|
199
|
+
let n = a(this.kiosk), r = d.fp.getFloors(), i = u() ? (t = r.find((e) => e.active)) == null ? void 0 : t.name : null, o = d.uiState.uiScale;
|
|
200
200
|
this.setKiosk({
|
|
201
201
|
...n,
|
|
202
202
|
x: e.x,
|