@expofp/floorplan 3.7.17 → 3.9.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-CalAncSt.js → Button-D6kSs8oT.js} +5 -5
- package/dist/browser/{CookieConsent-ZygvYtDb.js → CookieConsent-COR-7PnR.js} +7 -7
- package/dist/browser/{Debug-D0iAX94G.js → Debug-hcVDK_6B.js} +7 -7
- package/dist/browser/{Demo-DtZnCrNU.js → Demo-CXfqKcNa.js} +9 -9
- package/dist/browser/{Free-CY2ZgfTi.js → Free-UltUjcsW.js} +9 -9
- package/dist/browser/{Gallery-BJyU80Q8.js → Gallery-Dw_l4-HJ.js} +9 -9
- package/dist/browser/{GpsLoader-C4Az3Ogj.js → GpsLoader-BeUr-tWe.js} +36 -36
- package/dist/browser/{KioskStore-D3xv5iMJ.js → KioskStore-rXGF6ISj.js} +67 -67
- package/dist/browser/{MaplibreAdapter-BI5hr4DA.js → MaplibreAdapter-DBu4xFLx.js} +941 -960
- package/dist/browser/{ModalContainer-CGy7G3W-.js → ModalContainer-CHubcxXg.js} +10 -10
- package/dist/browser/{PermissionNotice-BQl-Eh0U.js → PermissionNotice-Dcyf-h-X.js} +6 -6
- package/dist/browser/{SetKioskMode-puXODfKF.js → SetKioskMode-Dsaeb_7s.js} +11 -11
- package/dist/browser/ShowKiosk-B33TvvNh.js +28 -0
- package/dist/browser/{TouchHand-DjRl3mqw.js → TouchHand-BglJHdqZ.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-DwpOTh1A.js → ViewerMenuPanel-6hwMrGsD.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-0zbOfR23.js → add-debug-secret-listener-CrjDiiDe.js} +1 -1
- package/dist/browser/{boolean-editor-Ct-PRF2J.js → boolean-editor-B8TY5r_7.js} +9 -9
- package/dist/browser/{bootIntercom-CNJJMQLU.js → bootIntercom-BLVUFUo9.js} +2 -2
- package/dist/browser/{browser-Dvk9Y0QP.js → browser-C0ZAqhfq.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-N7RelmSW.js → classnames-CORO_J9N.js} +2 -2
- package/dist/browser/{client-B3oB_gzf.js → client-B8k3_zlK.js} +4 -4
- package/dist/browser/{components-DCWqd4OH.js → components-Br23UmiD.js} +1857 -1861
- package/dist/browser/{createWayfinding-DCYv9I1K.js → createWayfinding-CywBuuhE.js} +552 -533
- package/dist/browser/{debug-overlay-C1zmn9JP.js → debug-overlay-OnJ9mpi3.js} +10 -10
- package/dist/browser/{debug-ui-Dk4TQW1Q.js → debug-ui-BGxXBqCM.js} +6 -6
- package/dist/browser/{dist-CZ9F3ShM.js → dist-Bwo0bena.js} +5 -5
- package/dist/browser/{dist-Dhhxwn3m.js → dist-DJcDQ9wl.js} +3 -3
- package/dist/browser/{dist-BjWXGdvS.js → dist-DeenbCqa.js} +6 -6
- package/dist/browser/{efp-debug-init-BY441NPw.js → efp-debug-init-D4xpSVxZ.js} +2 -2
- package/dist/browser/{enum-editor-wsFvRjdm.js → enum-editor-BtQ7q_B6.js} +11 -11
- package/dist/browser/{es5--a3vRB-s.js → es5-DyYwMIHo.js} +2 -2
- package/dist/browser/{event-not-found-C08dNiXm.js → event-not-found-DHZml9YG.js} +1 -1
- package/dist/browser/{exports-DnnAyWkZ.js → exports-BSvGPafo.js} +1 -1
- package/dist/browser/{favicon-BUBgyUNE.js → favicon-7eGefoDS.js} +1 -1
- package/dist/browser/{fetch-retry.umd-DqWbcFb6.js → fetch-retry.umd-D4q_0lN2.js} +2 -2
- package/dist/browser/{flex-BJvbUFUw.js → flex-BNMB3s0s.js} +5 -5
- package/dist/browser/{floorplan.loader-DtRqhN7h.js → floorplan.loader-C464BfTl.js} +45 -45
- package/dist/browser/{floorplan.ready-DU_ul7oy.js → floorplan.ready-F-rEW40x.js} +309 -233
- package/dist/browser/{fuse-C1gHDLf6.js → fuse-BOOzXNLy.js} +2 -2
- package/dist/browser/{i18n-GqZrkrT3.js → i18n-CJxFIIru.js} +9 -9
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-ClFPQstA.js → index.module-CkT4oOvs.js} +26 -26
- package/dist/browser/{is-webview-Ubd69hDX.js → is-webview-B86RAuQv.js} +1 -1
- package/dist/browser/{jsx-runtime-CcqjcKRn.js → jsx-runtime-3_7049j-.js} +2 -2
- package/dist/browser/{lib-D-VhTz7u.js → lib-CjZn5G8Q.js} +4 -4
- package/dist/browser/{loadImage-BSgOJpEi.js → loadImage-CV72jhce.js} +5 -5
- package/dist/browser/locales/ar.json +4 -1
- package/dist/browser/locales/da.json +4 -1
- package/dist/browser/locales/de.json +4 -1
- package/dist/browser/locales/es.json +4 -1
- package/dist/browser/locales/fr.json +4 -1
- package/dist/browser/locales/he.json +4 -1
- package/dist/browser/locales/it.json +4 -1
- package/dist/browser/locales/kk.json +4 -1
- package/dist/browser/locales/ko.json +4 -1
- package/dist/browser/locales/mn.json +4 -1
- package/dist/browser/locales/nl.json +4 -1
- package/dist/browser/locales/pl.json +4 -1
- package/dist/browser/locales/pt.json +4 -1
- package/dist/browser/locales/ru.json +4 -1
- package/dist/browser/locales/sv.json +4 -1
- package/dist/browser/locales/th.json +4 -1
- package/dist/browser/locales/tr.json +4 -1
- package/dist/browser/locales/uk.json +4 -1
- package/dist/browser/locales/vi.json +4 -1
- package/dist/browser/locales/zh.json +4 -1
- package/dist/browser/{logDeviceInfo-CqPbQalh.js → logDeviceInfo-CH_mwixN.js} +9 -9
- package/dist/browser/{main-D02oALU5.js → main-DBcClnTP.js} +1 -1
- package/dist/browser/{mobx-9haaaJQN.js → mobx-Cnc_mxKS.js} +8 -8
- package/dist/browser/{particles.min-Cy0_xv2F.js → particles.min-Bdddyoyn.js} +2 -2
- package/dist/browser/{prop-types-CGmwvRRk.js → prop-types-D9saedjy.js} +2 -2
- package/dist/browser/{react-C94g1dWf.js → react-CtAjLpE4.js} +2 -2
- package/dist/browser/{react-dom-VzzznUin.js → react-dom-9Z9grXEI.js} +3 -3
- package/dist/browser/{reset-all-settings-Bs45R4UK.js → reset-all-settings-D2rGLtD9.js} +7 -7
- package/dist/browser/{rolldown-runtime-DDajFMnr.js → rolldown-runtime-6HCGHF5o.js} +1 -1
- package/dist/browser/{settings-item-CTgteXDw.js → settings-item-CmuDoi0N.js} +6 -6
- package/dist/browser/{settings-B89NEO7Z.js → settings-r2jCygEX.js} +2 -2
- package/dist/browser/{store-39MLQcdz.js → store-hsXE5nII.js} +6753 -6669
- package/dist/browser/{string-editor-4uawnaDY.js → string-editor-UncyEsWj.js} +7 -7
- package/dist/browser/{theme-CWzone56.js → theme-DmuulesT.js} +8 -8
- package/dist/browser/{ui-D8Gz1TVh.js → ui-CBeseOX-.js} +8 -8
- package/dist/browser/{useRenderTarget-BSjQ_3rd.js → useRenderTarget-C5lcypnV.js} +4 -4
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/booth-by-xy.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- 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 +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- 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 +1 -2
- 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 +4 -4
- package/dist/esm/components/Map/drawing/config/config-booth-labels.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/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +10 -4
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +5 -5
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +2 -2
- package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +2 -2
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +1 -1
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +6 -6
- package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
- package/dist/esm/components/Maplibre/utils/solver.js +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +1 -1
- package/dist/esm/components/gps/useUserLocationAndHeading.js +1 -1
- package/dist/esm/components/gps/utils.d.ts +1 -1
- package/dist/esm/components/gps/utils.js +1 -1
- package/dist/esm/data/svg.d.ts +4 -4
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.ready.d.ts +39 -2
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/engine-core/canvases.d.ts +1 -1
- package/dist/esm/renderer/engine-core/canvases.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +23 -4
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/renderer/engine-core/types.d.ts +13 -2
- package/dist/esm/renderer/engine-core/update-def.d.ts +3 -2
- package/dist/esm/renderer/engine-core/update-def.js +1 -1
- package/dist/esm/renderer/engine-core/utils/rotation.d.ts +13 -1
- package/dist/esm/renderer/index.d.ts +2 -2
- package/dist/esm/renderer/index.js +1 -1
- package/dist/esm/services/routing.js +1 -1
- package/dist/esm/store/BoothStore.d.ts +14 -2
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/LayerStore.d.ts +4 -4
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/RouteStore.d.ts +3 -3
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +6 -7
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/utils/gps.d.ts +0 -1
- package/dist/esm/utils/gps.js +1 -1
- package/dist/esm/utils/i18n.d.ts +9 -0
- package/dist/esm/utils/i18n.js +1 -1
- package/dist/esm/utils/imageloader.d.ts +1 -3
- package/dist/esm/utils/imageloader.js +1 -1
- package/dist/esm/utils/math.d.ts +0 -1
- package/dist/esm/utils/math.js +1 -1
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +4 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +1 -1
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +7 -6
- package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +1 -1
- package/dist/esm/wayfinding/core/graph/graphHelpers.js +1 -1
- package/dist/esm/wayfinding/core/graph/linkCost.js +1 -1
- package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +1 -1
- package/dist/esm/wayfinding/core/index.d.ts +0 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/distanceToRoute.js +1 -1
- package/dist/esm/wayfinding/core/position/gpsThreshold.js +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.d.ts +1 -1
- package/dist/esm/wayfinding/core/position/rerouteController.js +1 -1
- package/dist/esm/wayfinding/core/position/snapToRoute.js +1 -1
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +2 -2
- package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +1 -1
- package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +1 -1
- package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +4 -8
- package/dist/esm/wayfinding/core/rendering/routeGeometry.js +1 -1
- package/dist/esm/wayfinding/core/routing/getRouteLength.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
- package/dist/esm/wayfinding/renderer/iconManager.js +1 -1
- package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +1 -1
- package/dist/esm/wayfinding/runtime/positionView.d.ts +3 -3
- package/dist/esm/wayfinding/runtime/positionView.js +1 -1
- package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +6 -5
- package/dist/esm/wayfinding/runtime/routeUpdate.js +1 -1
- package/dist/esm/wayfinding/runtime/types.d.ts +4 -3
- package/package.json +4 -4
- package/dist/browser/ShowKiosk-78DDAGCM.js +0 -28
- package/dist/esm/components/Map/drawing/config/Rect.d.ts +0 -7
- package/dist/esm/components/Map/drawing/config/Rect.js +0 -1
- package/dist/esm/core/Line.d.ts +0 -12
- package/dist/esm/core/Line.js +0 -1
- package/dist/esm/core/Polygon.d.ts +0 -16
- package/dist/esm/core/Polygon.js +0 -1
- package/dist/esm/core/Rect.d.ts +0 -36
- package/dist/esm/core/Rect.js +0 -1
- package/dist/esm/core/Size.d.ts +0 -7
- package/dist/esm/core/Size.js +0 -1
- package/dist/esm/utils/haversineDistance.d.ts +0 -7
- package/dist/esm/utils/haversineDistance.js +0 -1
|
@@ -2,15 +2,15 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.9.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3e9fcf9e-56d8-48d0-9c98-50bfac09a23a", e._sentryDebugIdIdentifier = "sentry-dbid-3e9fcf9e-56d8-48d0-9c98-50bfac09a23a");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e } from "./rolldown-runtime-
|
|
11
|
-
import { t } from "./react-
|
|
12
|
-
import { t as n } from "./jsx-runtime-
|
|
13
|
-
import { t as r } from "./classnames-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-6HCGHF5o.js";
|
|
11
|
+
import { t } from "./react-CtAjLpE4.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-3_7049j-.js";
|
|
13
|
+
import { t as r } from "./classnames-CORO_J9N.js";
|
|
14
14
|
//#region src/ui/Button/Button.tsx
|
|
15
15
|
var i = /* @__PURE__ */ e(r(), 1);
|
|
16
16
|
t();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.9.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5ab16852-e7f7-438b-b972-2061f95b48f7", e._sentryDebugIdIdentifier = "sentry-dbid-5ab16852-e7f7-438b-b972-2061f95b48f7");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { n as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { s as r } from "./i18n-
|
|
13
|
-
import { t as i } from "./index.module-
|
|
14
|
-
import { t as a } from "./PermissionNotice-
|
|
9
|
+
import { n as e } from "./rolldown-runtime-6HCGHF5o.js";
|
|
10
|
+
import { t } from "./react-CtAjLpE4.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-3_7049j-.js";
|
|
12
|
+
import { s as r } from "./i18n-CJxFIIru.js";
|
|
13
|
+
import { t as i } from "./index.module-CkT4oOvs.js";
|
|
14
|
+
import { t as a } from "./PermissionNotice-Dcyf-h-X.js";
|
|
15
15
|
//#region src/components/CookieConsent.tsx
|
|
16
16
|
var o = /* @__PURE__ */ e({ default: () => c });
|
|
17
17
|
t();
|
|
@@ -2,17 +2,17 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.9.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e84c8a4e-db35-4daf-8442-f35169bc6084", e._sentryDebugIdIdentifier = "sentry-dbid-e84c8a4e-db35-4daf-8442-f35169bc6084");
|
|
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 { r } from "./index.module-
|
|
15
|
-
import { o as i, s as a } from "./store-
|
|
10
|
+
import "./rolldown-runtime-6HCGHF5o.js";
|
|
11
|
+
import { t as e } from "./react-CtAjLpE4.js";
|
|
12
|
+
import { t } from "./jsx-runtime-3_7049j-.js";
|
|
13
|
+
import { s as n } from "./i18n-CJxFIIru.js";
|
|
14
|
+
import { r } from "./index.module-CkT4oOvs.js";
|
|
15
|
+
import { o as i, s as a } from "./store-hsXE5nII.js";
|
|
16
16
|
e();
|
|
17
17
|
var o = [], s = t();
|
|
18
18
|
function c() {
|
|
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.9.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7a97a891-34b5-42fd-a0df-b0d8a6801a2c", e._sentryDebugIdIdentifier = "sentry-dbid-7a97a891-34b5-42fd-a0df-b0d8a6801a2c");
|
|
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 { n as o, r as s } from "./index.module-
|
|
16
|
-
import { s as c } from "./store-
|
|
17
|
-
import { n as l } from "./mobx-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-6HCGHF5o.js";
|
|
11
|
+
import { t as n } from "./react-CtAjLpE4.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-3_7049j-.js";
|
|
13
|
+
import { s as i } from "./i18n-CJxFIIru.js";
|
|
14
|
+
import { t as a } from "./classnames-CORO_J9N.js";
|
|
15
|
+
import { n as o, r as s } from "./index.module-CkT4oOvs.js";
|
|
16
|
+
import { s as c } from "./store-hsXE5nII.js";
|
|
17
|
+
import { n as l } from "./mobx-Cnc_mxKS.js";
|
|
18
18
|
//#region src/components/Demo.tsx
|
|
19
19
|
var u = /* @__PURE__ */ e({ default: () => m }), d = /* @__PURE__ */ t(a(), 1);
|
|
20
20
|
n();
|
|
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.9.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8fbc6990-6988-43ea-93df-b386a77d5e79", e._sentryDebugIdIdentifier = "sentry-dbid-8fbc6990-6988-43ea-93df-b386a77d5e79");
|
|
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 { n as a, r as o } from "./index.module-
|
|
16
|
-
import { c as s, l as c, s as l } from "./store-
|
|
17
|
-
import { n as u } from "./mobx-
|
|
10
|
+
import { r as e } from "./rolldown-runtime-6HCGHF5o.js";
|
|
11
|
+
import { t } from "./react-CtAjLpE4.js";
|
|
12
|
+
import { t as n } from "./jsx-runtime-3_7049j-.js";
|
|
13
|
+
import { s as r } from "./i18n-CJxFIIru.js";
|
|
14
|
+
import { t as i } from "./classnames-CORO_J9N.js";
|
|
15
|
+
import { n as a, r as o } from "./index.module-CkT4oOvs.js";
|
|
16
|
+
import { c as s, l as c, s as l } from "./store-hsXE5nII.js";
|
|
17
|
+
import { n as u } from "./mobx-Cnc_mxKS.js";
|
|
18
18
|
//#region src/components/Free.tsx
|
|
19
19
|
var d = /* @__PURE__ */ e(i(), 1);
|
|
20
20
|
t();
|
|
@@ -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.9.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e61c27d7-5f21-4942-b39a-ff9e89826972", e._sentryDebugIdIdentifier = "sentry-dbid-e61c27d7-5f21-4942-b39a-ff9e89826972");
|
|
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 { t as s } from "./index.module-
|
|
17
|
-
import { t as c } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-6HCGHF5o.js";
|
|
11
|
+
import { t as n } from "./react-CtAjLpE4.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-3_7049j-.js";
|
|
13
|
+
import { s as i } from "./i18n-CJxFIIru.js";
|
|
14
|
+
import { t as a } from "./react-dom-9Z9grXEI.js";
|
|
15
|
+
import { t as o } from "./classnames-CORO_J9N.js";
|
|
16
|
+
import { t as s } from "./index.module-CkT4oOvs.js";
|
|
17
|
+
import { t as c } from "./useRenderTarget-C5lcypnV.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,19 @@
|
|
|
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.9.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] = "1d8bf601-6bfb-42b6-9653-e8a4b9aca639", e._sentryDebugIdIdentifier = "sentry-dbid-1d8bf601-6bfb-42b6-9653-e8a4b9aca639");
|
|
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 { t as o } from "./index.module-
|
|
14
|
-
import { t as s } from "./PermissionNotice-
|
|
15
|
-
import { D as c,
|
|
16
|
-
import { r as f } from "./mobx-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-6HCGHF5o.js";
|
|
10
|
+
import { t } from "./react-CtAjLpE4.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-3_7049j-.js";
|
|
12
|
+
import { J as r, lt as i, s as a } from "./i18n-CJxFIIru.js";
|
|
13
|
+
import { t as o } from "./index.module-CkT4oOvs.js";
|
|
14
|
+
import { t as s } from "./PermissionNotice-Dcyf-h-X.js";
|
|
15
|
+
import { D as c, kt as l, o as u, pn as d } from "./store-hsXE5nII.js";
|
|
16
|
+
import { r as f } from "./mobx-Cnc_mxKS.js";
|
|
17
17
|
//#region src/components/gps/GpsPermissionRequest.tsx
|
|
18
18
|
var p = /* @__PURE__ */ e(t(), 1), m = n(), h = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
|
|
19
19
|
return e ? /* @__PURE__ */ (0, m.jsx)(s, {
|
|
@@ -29,28 +29,28 @@ function g(e) {
|
|
|
29
29
|
return Math.floor(e);
|
|
30
30
|
}
|
|
31
31
|
function _(e, t) {
|
|
32
|
-
return
|
|
32
|
+
return d(e, t) >= 3 ? !0 : e.heading !== t.heading;
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
35
|
//#region src/components/gps/useUserLocationAndHeading.ts
|
|
36
36
|
var v = 120, y = 3e3, b = 360;
|
|
37
37
|
function x(e) {
|
|
38
|
-
let t = (0, p.useRef)(null), n = (0, p.useRef)(null),
|
|
38
|
+
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), l = (0, p.useRef)(null), u = (t) => e(t), f = (e) => {
|
|
39
39
|
let t = Date.now();
|
|
40
|
-
if (t -
|
|
40
|
+
if (t - r.current < v) return;
|
|
41
41
|
let n = a.current;
|
|
42
42
|
if (!s.current) {
|
|
43
|
-
s.current = e,
|
|
43
|
+
s.current = e, r.current = t, a.current = e, u(e);
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
|
-
let
|
|
47
|
-
c.current ?
|
|
46
|
+
let i = d(s.current, e), o;
|
|
47
|
+
c.current ? i <= 3 ? (c.current = !1, s.current = e, o = {
|
|
48
48
|
...s.current,
|
|
49
49
|
heading: e.heading
|
|
50
|
-
}) : (s.current = e, o = e) :
|
|
50
|
+
}) : (s.current = e, o = e) : i >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > y && (s.current = e), o = {
|
|
51
51
|
...s.current,
|
|
52
52
|
heading: e.heading
|
|
53
|
-
}), !(n && !_(n, o)) && (
|
|
53
|
+
}), !(n && !_(n, o)) && (r.current = t, a.current = o, u(o));
|
|
54
54
|
}, m = (0, p.useCallback)((e) => {
|
|
55
55
|
var t;
|
|
56
56
|
let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : b - e.alpha : t;
|
|
@@ -69,7 +69,7 @@ function x(e) {
|
|
|
69
69
|
lng: e.coords.longitude,
|
|
70
70
|
heading: n.current
|
|
71
71
|
});
|
|
72
|
-
}, (e) =>
|
|
72
|
+
}, (e) => i.warn("Geolocation watch error:", e), {
|
|
73
73
|
enableHighAccuracy: !0,
|
|
74
74
|
maximumAge: 0
|
|
75
75
|
}));
|
|
@@ -87,27 +87,27 @@ function x(e) {
|
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/components/gps/GpsManager.tsx
|
|
90
|
-
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey:
|
|
91
|
-
let { startOrientation: s, startGeolocation: c, stopOrientation:
|
|
90
|
+
function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
|
|
91
|
+
let { startOrientation: s, startGeolocation: c, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
|
|
92
92
|
(0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
|
|
93
93
|
g(!0), c();
|
|
94
94
|
}, (e) => {
|
|
95
|
-
|
|
95
|
+
i.warn("Geolocation error:", e), g(!1);
|
|
96
96
|
}), () => {
|
|
97
|
-
|
|
97
|
+
u(), d();
|
|
98
98
|
}), [
|
|
99
99
|
c,
|
|
100
100
|
d,
|
|
101
|
-
|
|
101
|
+
u
|
|
102
102
|
]);
|
|
103
103
|
let y = async () => {
|
|
104
|
-
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(
|
|
104
|
+
typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), v(!1), t == null || t());
|
|
105
105
|
}, b = (0, p.useCallback)(() => {
|
|
106
|
-
localStorage.setItem(
|
|
106
|
+
localStorage.setItem(r, "false"), v(!1), n == null || n();
|
|
107
107
|
}, [n]);
|
|
108
108
|
return (0, p.useEffect)(() => {
|
|
109
|
-
if (!f || !o || typeof navigator > "u" || !
|
|
110
|
-
let e = localStorage.getItem(
|
|
109
|
+
if (!f || !o || typeof navigator > "u" || !l) return;
|
|
110
|
+
let e = localStorage.getItem(r);
|
|
111
111
|
if (!e || a) {
|
|
112
112
|
v(!0);
|
|
113
113
|
return;
|
|
@@ -127,24 +127,24 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
|
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region src/components/GpsLoader.tsx
|
|
129
129
|
function C({ requestCompassAllowed: e }) {
|
|
130
|
-
let [t, n] = (0, p.useState)(!1),
|
|
131
|
-
|
|
130
|
+
let [t, n] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
|
|
131
|
+
u.routeStore.selectCurrentPosition(new c(0, 0, 0, n || r, e, t), !1);
|
|
132
132
|
}, []), a = (0, p.useCallback)(() => {
|
|
133
|
-
|
|
133
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
134
134
|
}, [n]), o = (0, p.useCallback)(() => {
|
|
135
|
-
|
|
135
|
+
u.routeStore.requestCompass = void 0, n(!1);
|
|
136
136
|
}, [n]);
|
|
137
|
-
return f(() =>
|
|
137
|
+
return f(() => u.uiState.hideCookieConsent, (e) => {
|
|
138
138
|
n(e);
|
|
139
|
-
}), f(() =>
|
|
139
|
+
}), f(() => u.routeStore.requestCompass, (e) => {
|
|
140
140
|
n(e);
|
|
141
141
|
}), /* @__PURE__ */ (0, m.jsx)(S, {
|
|
142
142
|
requestCompass: t,
|
|
143
143
|
requestCompassAllowed: e,
|
|
144
144
|
onRejectCompass: a,
|
|
145
145
|
onAllowCompass: o,
|
|
146
|
-
orientationStorageKey:
|
|
147
|
-
onPositionUpdate:
|
|
146
|
+
orientationStorageKey: r,
|
|
147
|
+
onPositionUpdate: i
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
//#endregion
|
|
@@ -1,13 +1,13 @@
|
|
|
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.9.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] = "8f1195a9-6c37-4324-ae38-ae9704a2fd09", e._sentryDebugIdIdentifier = "sentry-dbid-8f1195a9-6c37-4324-ae38-ae9704a2fd09");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { _ as e, d as t, m as n, s as r, x as i } from "./i18n-CJxFIIru.js";
|
|
10
|
+
import { Ht as a, St as o, _t as s, dt as c, ft as l, o as u, pt as d } from "./store-hsXE5nII.js";
|
|
11
11
|
//#region src/components/Map/pointInConvexQuad.ts
|
|
12
12
|
function f(e, t) {
|
|
13
13
|
let n = 0;
|
|
@@ -24,30 +24,30 @@ function f(e, t) {
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/components/Map/visibleArea.ts
|
|
26
26
|
function p(e) {
|
|
27
|
-
let t =
|
|
27
|
+
let t = a(e.viewport.canvasToSvg({
|
|
28
28
|
x: 0,
|
|
29
29
|
y: 0
|
|
30
|
-
})), n =
|
|
30
|
+
})), n = a(e.viewport.canvasToSvg({
|
|
31
31
|
x: e.canvas.clientWidth,
|
|
32
32
|
y: 0
|
|
33
|
-
})), r =
|
|
33
|
+
})), r = a(e.viewport.canvasToSvg({
|
|
34
34
|
x: 0,
|
|
35
35
|
y: e.canvas.clientHeight
|
|
36
|
-
})), i =
|
|
36
|
+
})), i = a(e.viewport.canvasToSvg({
|
|
37
37
|
x: e.canvas.clientWidth,
|
|
38
38
|
y: e.canvas.clientHeight
|
|
39
|
-
})),
|
|
39
|
+
})), o = Math.min(t.x, n.x, r.x, i.x), s = 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);
|
|
40
40
|
return {
|
|
41
|
-
x:
|
|
41
|
+
x: o,
|
|
42
42
|
y: c,
|
|
43
|
-
width: s -
|
|
43
|
+
width: s - o,
|
|
44
44
|
height: l - c,
|
|
45
|
-
left:
|
|
45
|
+
left: o,
|
|
46
46
|
right: s,
|
|
47
47
|
top: l,
|
|
48
48
|
bottom: c,
|
|
49
49
|
center: {
|
|
50
|
-
x: (
|
|
50
|
+
x: (o + s) / 2,
|
|
51
51
|
y: (c + l) / 2
|
|
52
52
|
},
|
|
53
53
|
corners: [
|
|
@@ -85,16 +85,16 @@ var C = new (h = n({ keepAlive: !0 }), g = n({ keepAlive: !0 }), _ = n({ keepAli
|
|
|
85
85
|
x(this, "savedKiosk", y, this), x(this, "statusMessages", b, this), this.statusMessageTimer = 0, this.isResettingCamera = !1, this.initialPtScale = void 0;
|
|
86
86
|
}
|
|
87
87
|
get kiosk() {
|
|
88
|
-
return
|
|
88
|
+
return u.uiState.kioskData;
|
|
89
89
|
}
|
|
90
90
|
setKiosk(e) {
|
|
91
|
-
|
|
91
|
+
u.uiState.setKioskData(e);
|
|
92
92
|
}
|
|
93
93
|
get renderer() {
|
|
94
|
-
return
|
|
94
|
+
return u.rendererService.renderer;
|
|
95
95
|
}
|
|
96
96
|
getCameraState() {
|
|
97
|
-
let e =
|
|
97
|
+
let e = u.rendererService.getCameraState();
|
|
98
98
|
return e ? {
|
|
99
99
|
mapInitialPtScale: this.initialPtScale,
|
|
100
100
|
mapPtScale: e.ptScale,
|
|
@@ -105,11 +105,11 @@ var C = new (h = n({ keepAlive: !0 }), g = n({ keepAlive: !0 }), _ = n({ keepAli
|
|
|
105
105
|
} : {};
|
|
106
106
|
}
|
|
107
107
|
get hasUnsavedChanges() {
|
|
108
|
-
let
|
|
109
|
-
if (!
|
|
110
|
-
let
|
|
111
|
-
if (
|
|
112
|
-
for (let
|
|
108
|
+
let e = this.savedKiosk, t = i(this.kiosk);
|
|
109
|
+
if (!t || !e) return !!t != !!e;
|
|
110
|
+
let n = Object.keys(e), r = Object.keys(t);
|
|
111
|
+
if (n.length !== r.length) return !0;
|
|
112
|
+
for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
|
|
113
113
|
return !1;
|
|
114
114
|
}
|
|
115
115
|
addStatusMessage(e) {
|
|
@@ -135,43 +135,43 @@ var C = new (h = n({ keepAlive: !0 }), g = n({ keepAlive: !0 }), _ = n({ keepAli
|
|
|
135
135
|
zoom: !0,
|
|
136
136
|
roll: !0,
|
|
137
137
|
pitch: !0
|
|
138
|
-
}, !0), t &&
|
|
138
|
+
}, !0), t && u.fp.activateFloor({ name: t }), Number.isFinite(r) && Number.isFinite(i) && i > 0 && await e.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && await e.controls.panTo(a, o, !0), Number.isFinite(n) && await e.controls.rollTo(n, !0);
|
|
139
139
|
} finally {
|
|
140
140
|
this.isResettingCamera = !1;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
restoreData() {
|
|
145
|
-
let e =
|
|
146
|
-
e && (this.setKiosk(e), this.savedKiosk = e,
|
|
145
|
+
let e = c();
|
|
146
|
+
e && (this.setKiosk(e), this.savedKiosk = e, u.uiState.kiosk = !0);
|
|
147
147
|
}
|
|
148
148
|
handleSetupReady() {
|
|
149
|
-
this.restoreData(),
|
|
149
|
+
this.restoreData(), u.uiState.kiosk = !0, u.uiState.hideFreeOrDemo = !0, u.uiState.setForceDim(!0), u.searchStore.setSearchText(""), u.searchStore.setFocused(!1), this.resetCamera();
|
|
150
150
|
}
|
|
151
151
|
handleClose() {
|
|
152
|
-
this.setKiosk(null),
|
|
152
|
+
this.setKiosk(null), u.uiState.setForceDim(!1), u.uiState.enableSetKioskMode(!1), u.searchStore.closeSearch();
|
|
153
153
|
}
|
|
154
154
|
handleDelete() {
|
|
155
|
-
|
|
155
|
+
l(), this.setKiosk(null), u.uiState.resetMapSettings(), u.uiState.resetUIScale(), this.addStatusMessage({
|
|
156
156
|
variant: "success",
|
|
157
157
|
title: r("Deleted")
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
handleSave() {
|
|
161
|
-
let
|
|
162
|
-
if (!
|
|
163
|
-
let
|
|
164
|
-
...
|
|
165
|
-
...
|
|
161
|
+
let e = this.renderer;
|
|
162
|
+
if (!e) return;
|
|
163
|
+
let t = i(this.kiosk), n = this.getCameraState(), a = {
|
|
164
|
+
...t,
|
|
165
|
+
...n
|
|
166
166
|
};
|
|
167
|
-
if (!m(
|
|
167
|
+
if (!m(e, a)) {
|
|
168
168
|
this.addStatusMessage({
|
|
169
169
|
variant: "error",
|
|
170
170
|
title: r("Kiosk not visible")
|
|
171
171
|
});
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
|
-
this.setKiosk(a),
|
|
174
|
+
this.setKiosk(a), d(a), s(a, "https://app.expofp.com/"), u.uiState.setUIScale(a.uiScale, !0), this.addStatusMessage({
|
|
175
175
|
variant: "success",
|
|
176
176
|
title: r("Saved")
|
|
177
177
|
}), this.savedKiosk = a;
|
|
@@ -179,63 +179,63 @@ var C = new (h = n({ keepAlive: !0 }), g = n({ keepAlive: !0 }), _ = n({ keepAli
|
|
|
179
179
|
delayChange(e) {
|
|
180
180
|
requestAnimationFrame(() => e == null ? void 0 : e());
|
|
181
181
|
}
|
|
182
|
-
handleChange(
|
|
183
|
-
let
|
|
184
|
-
|
|
185
|
-
...
|
|
186
|
-
heading:
|
|
187
|
-
}), Number.isFinite(
|
|
188
|
-
...
|
|
189
|
-
uiScale:
|
|
190
|
-
}), this.delayChange(() =>
|
|
191
|
-
...
|
|
192
|
-
iconSizePercent:
|
|
182
|
+
handleChange(e) {
|
|
183
|
+
let t = i(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(() => u.uiState.setUIScale(e.scale, !1))), Number.isFinite(e.percent) && this.setKiosk({
|
|
191
|
+
...t,
|
|
192
|
+
iconSizePercent: e.percent
|
|
193
193
|
}));
|
|
194
194
|
}
|
|
195
|
-
setInitialPtScale(
|
|
195
|
+
setInitialPtScale(e) {
|
|
196
196
|
if (this.initialPtScale) return;
|
|
197
|
-
this.initialPtScale =
|
|
198
|
-
let
|
|
199
|
-
|
|
200
|
-
...
|
|
201
|
-
mapInitialPtScale:
|
|
197
|
+
this.initialPtScale = e;
|
|
198
|
+
let t = i(this.kiosk);
|
|
199
|
+
t && this.setKiosk({
|
|
200
|
+
...t,
|
|
201
|
+
mapInitialPtScale: e
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
handleClick(
|
|
205
|
-
var
|
|
206
|
-
let
|
|
204
|
+
handleClick(e) {
|
|
205
|
+
var t, n;
|
|
206
|
+
let r = i(this.kiosk), a = u.fp.getFloors(), s = o() ? (t = (n = a.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, c = u.uiState.uiScale;
|
|
207
207
|
this.setKiosk({
|
|
208
|
-
...
|
|
209
|
-
x:
|
|
210
|
-
y:
|
|
208
|
+
...r,
|
|
209
|
+
x: e.x,
|
|
210
|
+
y: e.y,
|
|
211
211
|
z: s,
|
|
212
|
-
uiScale: (
|
|
213
|
-
heading: (
|
|
214
|
-
iconSizePercent: (
|
|
212
|
+
uiScale: (r == null ? void 0 : r.uiScale) || c,
|
|
213
|
+
heading: (r == null ? void 0 : r.heading) || 0,
|
|
214
|
+
iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
|
|
215
215
|
...this.getCameraState()
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
handleNavigationChange() {
|
|
219
|
-
let
|
|
220
|
-
|
|
221
|
-
...
|
|
219
|
+
let e = i(this.kiosk);
|
|
220
|
+
e && this.setKiosk({
|
|
221
|
+
...e,
|
|
222
222
|
...this.getCameraState()
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
|
-
}, S(v.prototype, "kiosk", [h], Object.getOwnPropertyDescriptor(v.prototype, "kiosk"), v.prototype), S(v.prototype, "setKiosk", [
|
|
225
|
+
}, S(v.prototype, "kiosk", [h], Object.getOwnPropertyDescriptor(v.prototype, "kiosk"), v.prototype), S(v.prototype, "setKiosk", [t], Object.getOwnPropertyDescriptor(v.prototype, "setKiosk"), v.prototype), S(v.prototype, "renderer", [g], Object.getOwnPropertyDescriptor(v.prototype, "renderer"), v.prototype), y = S(v.prototype, "savedKiosk", [e], {
|
|
226
226
|
configurable: !0,
|
|
227
227
|
enumerable: !0,
|
|
228
228
|
writable: !0,
|
|
229
229
|
initializer: function() {
|
|
230
230
|
return null;
|
|
231
231
|
}
|
|
232
|
-
}), S(v.prototype, "hasUnsavedChanges", [_], Object.getOwnPropertyDescriptor(v.prototype, "hasUnsavedChanges"), v.prototype), b = S(v.prototype, "statusMessages", [
|
|
232
|
+
}), S(v.prototype, "hasUnsavedChanges", [_], Object.getOwnPropertyDescriptor(v.prototype, "hasUnsavedChanges"), v.prototype), b = S(v.prototype, "statusMessages", [e], {
|
|
233
233
|
configurable: !0,
|
|
234
234
|
enumerable: !0,
|
|
235
235
|
writable: !0,
|
|
236
236
|
initializer: function() {
|
|
237
237
|
return [];
|
|
238
238
|
}
|
|
239
|
-
}), S(v.prototype, "addStatusMessage", [
|
|
239
|
+
}), S(v.prototype, "addStatusMessage", [t], Object.getOwnPropertyDescriptor(v.prototype, "addStatusMessage"), v.prototype), S(v.prototype, "clearStatusMessages", [t], Object.getOwnPropertyDescriptor(v.prototype, "clearStatusMessages"), v.prototype), S(v.prototype, "startCleanupMessages", [t], Object.getOwnPropertyDescriptor(v.prototype, "startCleanupMessages"), v.prototype), S(v.prototype, "resetCamera", [t], Object.getOwnPropertyDescriptor(v.prototype, "resetCamera"), v.prototype), S(v.prototype, "restoreData", [t], Object.getOwnPropertyDescriptor(v.prototype, "restoreData"), v.prototype), S(v.prototype, "handleSetupReady", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleSetupReady"), v.prototype), S(v.prototype, "handleClose", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleClose"), v.prototype), S(v.prototype, "handleDelete", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleDelete"), v.prototype), S(v.prototype, "handleSave", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleSave"), v.prototype), S(v.prototype, "handleChange", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleChange"), v.prototype), S(v.prototype, "setInitialPtScale", [t], Object.getOwnPropertyDescriptor(v.prototype, "setInitialPtScale"), v.prototype), S(v.prototype, "handleClick", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleClick"), v.prototype), S(v.prototype, "handleNavigationChange", [t], Object.getOwnPropertyDescriptor(v.prototype, "handleNavigationChange"), v.prototype), v)();
|
|
240
240
|
//#endregion
|
|
241
241
|
export { C as t };
|