@expofp/floorplan 0.0.0-experimental.cf063fc
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/README.md +8 -0
- package/dist/browser/Button-DT-Jfwrb.js +64 -0
- package/dist/browser/CookieConsent-BIsWzAiP.js +38 -0
- package/dist/browser/Debug-B5mmo0ZX.js +53 -0
- package/dist/browser/DebugTools-Y0aycjKM.js +1931 -0
- package/dist/browser/Demo-B2klxORi.js +71 -0
- package/dist/browser/Free-suULW-LU.js +69 -0
- package/dist/browser/GalleryContainer-BGBNGRKU.js +3355 -0
- package/dist/browser/GpsLoader-BbXpnQ98.js +154 -0
- package/dist/browser/KioskStore-Dg9jaX5d.js +250 -0
- package/dist/browser/LayerStore-CK6wLW56.js +24105 -0
- package/dist/browser/MaplibreAdapter-DBnLB-I9.js +36770 -0
- package/dist/browser/ModalContainer-DWm8vEaI.js +148 -0
- package/dist/browser/PermissionNotice-DaqnuHln.js +54 -0
- package/dist/browser/RouteStore-C0QJjRL0.js +3683 -0
- package/dist/browser/SetKioskMode-Dwlf5w7q.js +49 -0
- package/dist/browser/ShowKiosk-Cr-QmIUT.js +82 -0
- package/dist/browser/ViewerMenuPanel-DHCt3s3Z.js +133 -0
- package/dist/browser/add-debug-secret-listener-BECnIMzo.js +55 -0
- package/dist/browser/adopt-global-settings-U-KbyxMd.js +185 -0
- package/dist/browser/boolean-editor-CYMx87em.js +149 -0
- package/dist/browser/bootIntercom-BqQsnxII.js +37 -0
- package/dist/browser/bundle.json +422 -0
- package/dist/browser/camera-events-DSCuSH25.js +18 -0
- package/dist/browser/classnames-YcGXWNfg.js +39 -0
- package/dist/browser/client-BcPpS_Gj.js +7402 -0
- package/dist/browser/compat-helper.js +6 -0
- package/dist/browser/components-DIoXSetB.js +7393 -0
- package/dist/browser/create-live-plan-DOjNTiqJ.js +4046 -0
- package/dist/browser/debounce-BZI0to6V.js +2102 -0
- package/dist/browser/debug-context-CNBgUWR8.js +24315 -0
- package/dist/browser/debug-overlay-B__pFwQg.js +1455 -0
- package/dist/browser/debug-ui-BaE8MZQX.js +86 -0
- package/dist/browser/dist-C1NaWqk4.js +2611 -0
- package/dist/browser/dist-Cx8u0gjK.js +21 -0
- package/dist/browser/dist-wOC6gYFh.js +205 -0
- package/dist/browser/efp-debug-init-CozbueIl.js +245 -0
- package/dist/browser/enum-editor-CkiQPgZv.js +34 -0
- package/dist/browser/es5-B__Ovz45.js +1712 -0
- package/dist/browser/event-head-C_inMpbD.js +56 -0
- package/dist/browser/event-not-found-Z2mJBZE3.js +31 -0
- package/dist/browser/expofp-overlay.png +0 -0
- package/dist/browser/expofpUrl-jBUlvkwz.js +19 -0
- package/dist/browser/exports-CvUYw1h6.js +1525 -0
- package/dist/browser/favicon-BkDrYTmU.js +12 -0
- package/dist/browser/fetch-retry.umd-2B2pCUIS.js +78 -0
- package/dist/browser/flex-3lSivw8z.js +823 -0
- package/dist/browser/floorplan.loader-B9musuUh.js +3282 -0
- package/dist/browser/floorplan.ready-BAOU-N0d.js +1448 -0
- package/dist/browser/fonts/efp-symbols.woff +0 -0
- package/dist/browser/fonts/inter-400.woff2 +0 -0
- package/dist/browser/fonts/inter-500.woff2 +0 -0
- package/dist/browser/fonts/inter-600.woff2 +0 -0
- package/dist/browser/fonts/oswald-v17-cyrillic_latin-300.woff +0 -0
- package/dist/browser/fonts/oswald-v17-cyrillic_latin-500.woff +0 -0
- package/dist/browser/freeBanner-CnrBc9Tl.js +22 -0
- package/dist/browser/fuse-B7V1lkoA.js +1177 -0
- package/dist/browser/i18n-BgFBhYOU.js +7205 -0
- package/dist/browser/icons/accessible.svg +5 -0
- package/dist/browser/icons/arrow-down.svg +3 -0
- package/dist/browser/icons/bus-white.svg +3 -0
- package/dist/browser/icons/check.svg +3 -0
- package/dist/browser/icons/clear.svg +4 -0
- package/dist/browser/icons/departure.svg +5 -0
- package/dist/browser/icons/departure_inactive.svg +5 -0
- package/dist/browser/icons/destination.svg +5 -0
- package/dist/browser/icons/direction.svg +54 -0
- package/dist/browser/icons/dots.svg +4 -0
- package/dist/browser/icons/dragdrop-solid.svg +11 -0
- package/dist/browser/icons/facebook.svg +4 -0
- package/dist/browser/icons/from.svg +4 -0
- package/dist/browser/icons/kiosk.svg +1 -0
- package/dist/browser/icons/linkedin.svg +3 -0
- package/dist/browser/icons/rotate.svg +5 -0
- package/dist/browser/icons/tap.svg +5 -0
- package/dist/browser/icons/to.svg +4 -0
- package/dist/browser/icons/transition.svg +7 -0
- package/dist/browser/icons/transition_down.svg +15 -0
- package/dist/browser/icons/transition_up.svg +15 -0
- package/dist/browser/icons/twitter.svg +3 -0
- package/dist/browser/icons/yah.svg +17 -0
- package/dist/browser/index.html +139 -0
- package/dist/browser/index.js +254 -0
- package/dist/browser/index.module-kJmnWg5B.js +153 -0
- package/dist/browser/integrateKiosk-D45vYRsm.js +35 -0
- package/dist/browser/is-debug-BRHdrnKr.js +197 -0
- package/dist/browser/is-own-domain-DNvxb9Ph.js +26 -0
- package/dist/browser/is-webview-cTH4yz8f.js +12 -0
- package/dist/browser/journey-plan-BhLIqF8I.js +1865 -0
- package/dist/browser/jsx-runtime-DQgnuS-I.js +30 -0
- package/dist/browser/kiosk-mode-DfkGlDkT.js +28 -0
- package/dist/browser/kiosk-record-JAEq8SV6.js +18 -0
- package/dist/browser/kioskUrlParam-CnYhnC_7.js +141 -0
- package/dist/browser/lib--J2yQXt6.js +1910 -0
- package/dist/browser/loadImage-DzSnRAxX.js +30 -0
- package/dist/browser/locales/ar.json +228 -0
- package/dist/browser/locales/da.json +229 -0
- package/dist/browser/locales/de.json +228 -0
- package/dist/browser/locales/es.json +228 -0
- package/dist/browser/locales/fr.json +228 -0
- package/dist/browser/locales/he.json +228 -0
- package/dist/browser/locales/it.json +228 -0
- package/dist/browser/locales/kk.json +228 -0
- package/dist/browser/locales/ko.json +228 -0
- package/dist/browser/locales/mn.json +228 -0
- package/dist/browser/locales/nl.json +228 -0
- package/dist/browser/locales/pl.json +228 -0
- package/dist/browser/locales/pt.json +228 -0
- package/dist/browser/locales/ru.json +228 -0
- package/dist/browser/locales/sv.json +228 -0
- package/dist/browser/locales/th.json +228 -0
- package/dist/browser/locales/tr.json +228 -0
- package/dist/browser/locales/uk.json +228 -0
- package/dist/browser/locales/vi.json +228 -0
- package/dist/browser/locales/zh.json +228 -0
- package/dist/browser/logDeviceInfo-CN6LnXO4.js +58 -0
- package/dist/browser/mobx-C-kcS0zI.js +43 -0
- package/dist/browser/mobx.module-BOCLFB5I.js +2064 -0
- package/dist/browser/optional-boolean-editor-ZncW2HBw.js +20 -0
- package/dist/browser/optional-enum-editor-Dkzs9jDN.js +34 -0
- package/dist/browser/optional-string-editor-DC9PMUWB.js +30 -0
- package/dist/browser/particles.min-eC5xdOrB.js +133 -0
- package/dist/browser/react-DqPP-mkq.js +301 -0
- package/dist/browser/react-dom-BkVzoZWO.js +139 -0
- package/dist/browser/rolldown-runtime-DUb2xvRc.js +28 -0
- package/dist/browser/scheduler-NBuuaWIe.js +212 -0
- package/dist/browser/select-Cxf-YiNA.js +1367 -0
- package/dist/browser/settings-D74eG9h8.js +9 -0
- package/dist/browser/settings-item-DUUbKec_.js +76 -0
- package/dist/browser/store-q_CTsixH.js +58 -0
- package/dist/browser/string-editor-CINOmY_C.js +30 -0
- package/dist/browser/text-field-DORaOVht.js +88 -0
- package/dist/browser/theme-DyFm9MGz.js +2803 -0
- package/dist/browser/ui-DsCU3FV6.js +43 -0
- package/dist/browser/useRenderTarget-RFckzUJM.js +57 -0
- package/dist/browser/vendor/perfect-scrollbar/css/perfect-scrollbar.css +1 -0
- package/dist/browser/vendor/sanitize-css/sanitize.css +1 -0
- package/dist/browser/venue-public-BodpV-7o.js +296 -0
- package/dist/browser/venues-DKpIy-87.js +447 -0
- package/dist/browser/viewport-B7plho3P.js +48 -0
- package/dist/browser/warning.png +0 -0
- package/dist/esm/_misc_to_move/initHtmlHead.d.ts +2 -0
- package/dist/esm/_misc_to_move/initHtmlHead.js +34 -0
- package/dist/esm/_misc_to_move/logBuildInfo.d.ts +2 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +35 -0
- package/dist/esm/_misc_to_move/logDeviceInfo.d.ts +10 -0
- package/dist/esm/_misc_to_move/logDeviceInfo.js +84 -0
- package/dist/esm/components/AlertContainer.d.ts +4 -0
- package/dist/esm/components/AlertContainer.js +8 -0
- package/dist/esm/components/AutocompleteContainer.d.ts +4 -0
- package/dist/esm/components/AutocompleteContainer.js +14 -0
- package/dist/esm/components/BaseFilterModal.d.ts +11 -0
- package/dist/esm/components/BaseFilterModal.js +73 -0
- package/dist/esm/components/Bookmarks.d.ts +3 -0
- package/dist/esm/components/Bookmarks.js +26 -0
- package/dist/esm/components/Booth/Booth.d.ts +5 -0
- package/dist/esm/components/Booth/Booth.js +135 -0
- package/dist/esm/components/Booth/BoothOnHold.d.ts +13 -0
- package/dist/esm/components/Booth/BoothOnHold.js +11 -0
- package/dist/esm/components/Booth/BoothReserved.d.ts +3 -0
- package/dist/esm/components/Booth/BoothReserved.js +7 -0
- package/dist/esm/components/Booth/BoothSpecial.d.ts +8 -0
- package/dist/esm/components/Booth/BoothSpecial.js +4 -0
- package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +13 -0
- package/dist/esm/components/Booth/BoothWithoutExhibitor.js +29 -0
- package/dist/esm/components/Category.d.ts +5 -0
- package/dist/esm/components/Category.js +25 -0
- package/dist/esm/components/CategoryFilterModal.d.ts +3 -0
- package/dist/esm/components/CategoryFilterModal.js +63 -0
- package/dist/esm/components/CookieConsent.d.ts +9 -0
- package/dist/esm/components/CookieConsent.js +9 -0
- package/dist/esm/components/Debug.d.ts +5 -0
- package/dist/esm/components/Debug.js +15 -0
- package/dist/esm/components/Demo.d.ts +4 -0
- package/dist/esm/components/Demo.js +37 -0
- package/dist/esm/components/DownloadListContainer.d.ts +5 -0
- package/dist/esm/components/DownloadListContainer.js +8 -0
- package/dist/esm/components/EntityItemContainer.d.ts +28 -0
- package/dist/esm/components/EntityItemContainer.js +36 -0
- package/dist/esm/components/EntityList.d.ts +9 -0
- package/dist/esm/components/EntityList.js +144 -0
- package/dist/esm/components/EntityListRow.d.ts +13 -0
- package/dist/esm/components/EntityListRow.js +78 -0
- package/dist/esm/components/ErrorBoundary.d.ts +15 -0
- package/dist/esm/components/ErrorBoundary.js +29 -0
- package/dist/esm/components/Event.d.ts +5 -0
- package/dist/esm/components/Event.js +167 -0
- package/dist/esm/components/EventBadgeContainer.d.ts +8 -0
- package/dist/esm/components/EventBadgeContainer.js +29 -0
- package/dist/esm/components/Exhibitor.d.ts +5 -0
- package/dist/esm/components/Exhibitor.js +299 -0
- package/dist/esm/components/Filter.d.ts +4 -0
- package/dist/esm/components/Filter.js +24 -0
- package/dist/esm/components/Free.d.ts +4 -0
- package/dist/esm/components/Free.js +31 -0
- package/dist/esm/components/GalleryContainer.d.ts +6 -0
- package/dist/esm/components/GalleryContainer.js +55 -0
- package/dist/esm/components/GlobalErrorMessage.d.ts +4 -0
- package/dist/esm/components/GlobalErrorMessage.js +9 -0
- package/dist/esm/components/GpsLoader.d.ts +5 -0
- package/dist/esm/components/GpsLoader.js +29 -0
- package/dist/esm/components/HeatmapLegendContainer.d.ts +5 -0
- package/dist/esm/components/HeatmapLegendContainer.js +13 -0
- package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
- package/dist/esm/components/HighlightTextContainer.js +10 -0
- package/dist/esm/components/IntercomLauncher.d.ts +5 -0
- package/dist/esm/components/IntercomLauncher.js +20 -0
- package/dist/esm/components/JourneyPanel.d.ts +35 -0
- package/dist/esm/components/JourneyPanel.js +68 -0
- package/dist/esm/components/Kiosk/KioskStore.d.ts +60 -0
- package/dist/esm/components/Kiosk/KioskStore.js +411 -0
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +8 -0
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +24 -0
- package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.js +7 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +78 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +10 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.js +15 -0
- package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +6 -0
- package/dist/esm/components/Kiosk/SetKiosk/constants.js +6 -0
- package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.js +4 -0
- package/dist/esm/components/Kiosk/SetKiosk/getName.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getName.js +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getSlug.d.ts +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/getSlug.js +2 -0
- package/dist/esm/components/Kiosk/SetKiosk/index.d.ts +7 -0
- package/dist/esm/components/Kiosk/SetKiosk/index.js +6 -0
- package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +5 -0
- package/dist/esm/components/Kiosk/SetKiosk/storage.js +21 -0
- package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +109 -0
- package/dist/esm/components/Kiosk/SetKiosk/types.js +1 -0
- package/dist/esm/components/Kiosk/SetKioskMode.d.ts +3 -0
- package/dist/esm/components/Kiosk/SetKioskMode.js +35 -0
- package/dist/esm/components/Kiosk/ShowKiosk.d.ts +3 -0
- package/dist/esm/components/Kiosk/ShowKiosk.js +72 -0
- package/dist/esm/components/Kiosk/integrateKiosk.d.ts +10 -0
- package/dist/esm/components/Kiosk/integrateKiosk.js +68 -0
- package/dist/esm/components/Kiosk/kiosk-mode.d.ts +26 -0
- package/dist/esm/components/Kiosk/kiosk-mode.js +56 -0
- package/dist/esm/components/Kiosk/kiosk-record.d.ts +23 -0
- package/dist/esm/components/Kiosk/kiosk-record.js +29 -0
- package/dist/esm/components/Kiosk/kioskApi.d.ts +4 -0
- package/dist/esm/components/Kiosk/kioskApi.js +47 -0
- package/dist/esm/components/Kiosk/kioskUrlParam.d.ts +8 -0
- package/dist/esm/components/Kiosk/kioskUrlParam.js +46 -0
- package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.d.ts +2 -0
- package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.js +9 -0
- package/dist/esm/components/Language.d.ts +4 -0
- package/dist/esm/components/Language.js +15 -0
- package/dist/esm/components/LanguageRowContainer.d.ts +7 -0
- package/dist/esm/components/LanguageRowContainer.js +9 -0
- package/dist/esm/components/Layout.d.ts +11 -0
- package/dist/esm/components/Layout.js +160 -0
- package/dist/esm/components/LevelBadgeContainer.d.ts +6 -0
- package/dist/esm/components/LevelBadgeContainer.js +10 -0
- package/dist/esm/components/List.d.ts +9 -0
- package/dist/esm/components/List.js +77 -0
- package/dist/esm/components/LogoOverlay.d.ts +3 -0
- package/dist/esm/components/LogoOverlay.js +78 -0
- package/dist/esm/components/Map/Map.d.ts +2 -0
- package/dist/esm/components/Map/Map.js +242 -0
- package/dist/esm/components/Map/MapCamera.d.ts +17 -0
- package/dist/esm/components/Map/MapCamera.js +194 -0
- package/dist/esm/components/Map/MapCursorCoords.d.ts +13 -0
- package/dist/esm/components/Map/MapCursorCoords.js +61 -0
- package/dist/esm/components/Map/MapViewport.d.ts +12 -0
- package/dist/esm/components/Map/MapViewport.js +29 -0
- package/dist/esm/components/Map/booth-by-xy.d.ts +14 -0
- package/dist/esm/components/Map/booth-by-xy.js +128 -0
- package/dist/esm/components/Map/camera-events.d.ts +19 -0
- package/dist/esm/components/Map/camera-events.js +26 -0
- package/dist/esm/components/Map/camera.d.ts +48 -0
- package/dist/esm/components/Map/camera.js +43 -0
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.d.ts +8 -0
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +8 -0
- package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +7 -0
- package/dist/esm/components/Map/drawing/config/BoothShape.js +76 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +11 -0
- package/dist/esm/components/Map/drawing/config/TextFitter.js +174 -0
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +130 -0
- package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +306 -0
- package/dist/esm/components/Map/drawing/config/booth-logos.d.ts +38 -0
- package/dist/esm/components/Map/drawing/config/booth-logos.js +94 -0
- package/dist/esm/components/Map/drawing/config/canvases.d.ts +96 -0
- package/dist/esm/components/Map/drawing/config/canvases.js +434 -0
- package/dist/esm/components/Map/drawing/config/config-all.d.ts +6 -0
- package/dist/esm/components/Map/drawing/config/config-all.js +92 -0
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +8 -0
- package/dist/esm/components/Map/drawing/config/config-bg.js +54 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.d.ts +28 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.js +7 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-scale.d.ts +20 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-scale.js +11 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-visibility.d.ts +37 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge-visibility.js +3 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +90 -0
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +326 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +33 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +240 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +24 -0
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +65 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +12 -0
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +92 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +28 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +147 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +63 -0
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +380 -0
- package/dist/esm/components/Map/drawing/config/config-booths.d.ts +5 -0
- package/dist/esm/components/Map/drawing/config/config-booths.js +152 -0
- package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +4 -0
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +119 -0
- package/dist/esm/components/Map/drawing/config/config-markers.d.ts +42 -0
- package/dist/esm/components/Map/drawing/config/config-markers.js +278 -0
- package/dist/esm/components/Map/drawing/config/config-outdoor-poi.d.ts +19 -0
- package/dist/esm/components/Map/drawing/config/config-outdoor-poi.js +96 -0
- package/dist/esm/components/Map/drawing/config/config-pins.d.ts +40 -0
- package/dist/esm/components/Map/drawing/config/config-pins.js +533 -0
- package/dist/esm/components/Map/drawing/config/label-inset.d.ts +26 -0
- package/dist/esm/components/Map/drawing/config/label-inset.js +26 -0
- package/dist/esm/components/Map/drawing/config/layer-images.d.ts +24 -0
- package/dist/esm/components/Map/drawing/config/layer-images.js +32 -0
- package/dist/esm/components/Map/drawing/config/layer-models.d.ts +31 -0
- package/dist/esm/components/Map/drawing/config/layer-models.js +38 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +45 -0
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +99 -0
- package/dist/esm/components/Map/drawing/config/pin-geometry.d.ts +65 -0
- package/dist/esm/components/Map/drawing/config/pin-geometry.js +75 -0
- package/dist/esm/components/Map/drawing/config/poi-pin-shape.d.ts +100 -0
- package/dist/esm/components/Map/drawing/config/poi-pin-shape.js +51 -0
- package/dist/esm/components/Map/drawing/config/poi-pin.d.ts +10 -0
- package/dist/esm/components/Map/drawing/config/poi-pin.js +88 -0
- package/dist/esm/components/Map/drawing/config/selection-style.d.ts +12 -0
- package/dist/esm/components/Map/drawing/config/selection-style.js +18 -0
- package/dist/esm/components/Map/framing-rect.d.ts +16 -0
- package/dist/esm/components/Map/framing-rect.js +24 -0
- package/dist/esm/components/Map/pointer.d.ts +79 -0
- package/dist/esm/components/Map/pointer.js +181 -0
- package/dist/esm/components/Map/scene.d.ts +20 -0
- package/dist/esm/components/Map/scene.js +24 -0
- package/dist/esm/components/Map/traffic/UpdateQueue.d.ts +13 -0
- package/dist/esm/components/Map/traffic/UpdateQueue.js +82 -0
- package/dist/esm/components/Map/traffic/trafficLayers.d.ts +12 -0
- package/dist/esm/components/Map/traffic/trafficLayers.js +29 -0
- package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +9 -0
- package/dist/esm/components/Map/traffic/useBuildRoute.js +359 -0
- package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +10 -0
- package/dist/esm/components/Map/traffic/useManageTraffic.js +643 -0
- package/dist/esm/components/Map/viewport.d.ts +63 -0
- package/dist/esm/components/Map/viewport.js +82 -0
- package/dist/esm/components/Map/with-kiosk.d.ts +11 -0
- package/dist/esm/components/Map/with-kiosk.js +25 -0
- package/dist/esm/components/MapControlsContainer.d.ts +3 -0
- package/dist/esm/components/MapControlsContainer.js +58 -0
- package/dist/esm/components/Maplibre/CollapsedAttributionControl.d.ts +12 -0
- package/dist/esm/components/Maplibre/CollapsedAttributionControl.js +19 -0
- package/dist/esm/components/Maplibre/ExpofpLogoControl.d.ts +20 -0
- package/dist/esm/components/Maplibre/ExpofpLogoControl.js +39 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +18 -0
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +354 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +111 -0
- package/dist/esm/components/Maplibre/MaplibreWrapper.js +310 -0
- package/dist/esm/components/Maplibre/maplibre-recovery.d.ts +4 -0
- package/dist/esm/components/Maplibre/maplibre-recovery.js +4 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.js +7048 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.d.ts +3 -0
- package/dist/esm/components/Maplibre/styles/mapbox-streets.js +6132 -0
- package/dist/esm/components/Maplibre/useCameraReactions.d.ts +14 -0
- package/dist/esm/components/Maplibre/useCameraReactions.js +256 -0
- package/dist/esm/components/Maplibre/useDimming.d.ts +25 -0
- package/dist/esm/components/Maplibre/useDimming.js +61 -0
- package/dist/esm/components/Maplibre/useJourneyConnector.d.ts +16 -0
- package/dist/esm/components/Maplibre/useJourneyConnector.js +175 -0
- package/dist/esm/components/Maplibre/useKioskCameraEvents.d.ts +20 -0
- package/dist/esm/components/Maplibre/useKioskCameraEvents.js +52 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +25 -0
- package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +85 -0
- package/dist/esm/components/Maplibre/usePoiMarkers.d.ts +25 -0
- package/dist/esm/components/Maplibre/usePoiMarkers.js +368 -0
- package/dist/esm/components/Maplibre/useVenueCameraTracking.d.ts +6 -0
- package/dist/esm/components/Maplibre/useVenueCameraTracking.js +115 -0
- package/dist/esm/components/Maplibre/useVenueLayers.d.ts +15 -0
- package/dist/esm/components/Maplibre/useVenueLayers.js +463 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +11 -0
- package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +23 -0
- package/dist/esm/components/Maplibre/utils/basemap-palette.d.ts +19 -0
- package/dist/esm/components/Maplibre/utils/basemap-palette.js +125 -0
- package/dist/esm/components/Maplibre/utils/geo-config.d.ts +92 -0
- package/dist/esm/components/Maplibre/utils/geo-config.js +305 -0
- package/dist/esm/components/Maplibre/utils/hit-test-registry.d.ts +18 -0
- package/dist/esm/components/Maplibre/utils/hit-test-registry.js +17 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +9 -0
- package/dist/esm/components/Maplibre/utils/layer-defs.js +19 -0
- package/dist/esm/components/Maplibre/utils/local-viewport.d.ts +13 -0
- package/dist/esm/components/Maplibre/utils/local-viewport.js +31 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +21 -0
- package/dist/esm/components/Maplibre/utils/map-helpers.js +85 -0
- package/dist/esm/components/Maplibre/utils/map-theme.d.ts +20 -0
- package/dist/esm/components/Maplibre/utils/map-theme.js +44 -0
- package/dist/esm/components/Maplibre/utils/marker-layer-order.d.ts +22 -0
- package/dist/esm/components/Maplibre/utils/marker-layer-order.js +20 -0
- package/dist/esm/components/Maplibre/utils/pmtiles-range-fallback.d.ts +53 -0
- package/dist/esm/components/Maplibre/utils/pmtiles-range-fallback.js +110 -0
- package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +8 -0
- package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.js +8 -0
- package/dist/esm/components/Maplibre/utils/resolve-map-style.d.ts +19 -0
- package/dist/esm/components/Maplibre/utils/resolve-map-style.js +73 -0
- package/dist/esm/components/Maplibre/utils/solver.d.ts +23 -0
- package/dist/esm/components/Maplibre/utils/solver.js +238 -0
- package/dist/esm/components/Maplibre/utils/style-fonts.d.ts +10 -0
- package/dist/esm/components/Maplibre/utils/style-fonts.js +24 -0
- package/dist/esm/components/Maplibre/utils/venue-calibration-console.d.ts +10 -0
- package/dist/esm/components/Maplibre/utils/venue-calibration-console.js +130 -0
- package/dist/esm/components/Maplibre/utils/venue-calibration.d.ts +127 -0
- package/dist/esm/components/Maplibre/utils/venue-calibration.js +144 -0
- package/dist/esm/components/Maplibre/utils/venue-camera-target.d.ts +15 -0
- package/dist/esm/components/Maplibre/utils/venue-camera-target.js +19 -0
- package/dist/esm/components/Maplibre/utils/venue-contour.d.ts +50 -0
- package/dist/esm/components/Maplibre/utils/venue-contour.fixture.d.ts +18 -0
- package/dist/esm/components/Maplibre/utils/venue-contour.fixture.js +69 -0
- package/dist/esm/components/Maplibre/utils/venue-contour.js +188 -0
- package/dist/esm/components/Maplibre/utils/venue-focus.d.ts +26 -0
- package/dist/esm/components/Maplibre/utils/venue-focus.js +106 -0
- package/dist/esm/components/Maplibre/utils/venue-legibility.d.ts +30 -0
- package/dist/esm/components/Maplibre/utils/venue-legibility.js +52 -0
- package/dist/esm/components/Maplibre/utils/venue-pin-rasterize.d.ts +88 -0
- package/dist/esm/components/Maplibre/utils/venue-pin-rasterize.js +220 -0
- package/dist/esm/components/Maplibre/utils/venue-projection.d.ts +37 -0
- package/dist/esm/components/Maplibre/utils/venue-projection.js +88 -0
- package/dist/esm/components/Maplibre/utils/venue-tap-hit-test.d.ts +9 -0
- package/dist/esm/components/Maplibre/utils/venue-tap-hit-test.js +9 -0
- package/dist/esm/components/Maplibre/utils/venue-viewport-detail.d.ts +19 -0
- package/dist/esm/components/Maplibre/utils/venue-viewport-detail.js +24 -0
- package/dist/esm/components/Maplibre/utils/venue-zoom.d.ts +23 -0
- package/dist/esm/components/Maplibre/utils/venue-zoom.js +62 -0
- package/dist/esm/components/Menu.d.ts +11 -0
- package/dist/esm/components/Menu.js +94 -0
- package/dist/esm/components/MobileToggleButtonContainer.d.ts +3 -0
- package/dist/esm/components/MobileToggleButtonContainer.js +24 -0
- package/dist/esm/components/ModalContainer.d.ts +41 -0
- package/dist/esm/components/ModalContainer.js +10 -0
- package/dist/esm/components/MultiSelectGroupsContainer.d.ts +5 -0
- package/dist/esm/components/MultiSelectGroupsContainer.js +8 -0
- package/dist/esm/components/OverlayContainer.d.ts +8 -0
- package/dist/esm/components/OverlayContainer.js +82 -0
- package/dist/esm/components/OverlayGripContainer.d.ts +4 -0
- package/dist/esm/components/OverlayGripContainer.js +11 -0
- package/dist/esm/components/OverlayParticles.d.ts +5 -0
- package/dist/esm/components/OverlayParticles.js +54 -0
- package/dist/esm/components/PlanSelectorContainer.d.ts +3 -0
- package/dist/esm/components/PlanSelectorContainer.js +79 -0
- package/dist/esm/components/RebookingNotesContainer.d.ts +4 -0
- package/dist/esm/components/RebookingNotesContainer.js +8 -0
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +6 -0
- package/dist/esm/components/RebookingRadioGroupContainer.js +23 -0
- package/dist/esm/components/RoutePlanner/RoutePlanner.d.ts +5 -0
- package/dist/esm/components/RoutePlanner/RoutePlanner.js +25 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.d.ts +4 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +11 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.d.ts +9 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.js +21 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.d.ts +9 -0
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +41 -0
- package/dist/esm/components/RouteQR.d.ts +12 -0
- package/dist/esm/components/RouteQR.js +10 -0
- package/dist/esm/components/Schedule.d.ts +13 -0
- package/dist/esm/components/Schedule.js +109 -0
- package/dist/esm/components/ScrollableRowContainer.d.ts +6 -0
- package/dist/esm/components/ScrollableRowContainer.js +11 -0
- package/dist/esm/components/Search.d.ts +5 -0
- package/dist/esm/components/Search.js +45 -0
- package/dist/esm/components/SearchBox.d.ts +7 -0
- package/dist/esm/components/SearchBox.js +171 -0
- package/dist/esm/components/SearchButtons/SearchButton.d.ts +20 -0
- package/dist/esm/components/SearchButtons/SearchButton.js +30 -0
- package/dist/esm/components/SearchButtons/SearchButtons.d.ts +4 -0
- package/dist/esm/components/SearchButtons/SearchButtons.js +24 -0
- package/dist/esm/components/SearchButtons/SearchSubButton.d.ts +14 -0
- package/dist/esm/components/SearchButtons/SearchSubButton.js +12 -0
- package/dist/esm/components/SearchButtons/SearchSubButtons.d.ts +5 -0
- package/dist/esm/components/SearchButtons/SearchSubButtons.js +43 -0
- package/dist/esm/components/SearchButtons/index.d.ts +7 -0
- package/dist/esm/components/SearchButtons/index.js +5 -0
- package/dist/esm/components/Sessions.d.ts +8 -0
- package/dist/esm/components/Sessions.js +128 -0
- package/dist/esm/components/SessionsFiltersModal.d.ts +11 -0
- package/dist/esm/components/SessionsFiltersModal.js +105 -0
- package/dist/esm/components/SessionsList.d.ts +12 -0
- package/dist/esm/components/SessionsList.js +212 -0
- package/dist/esm/components/ShareContainer.d.ts +7 -0
- package/dist/esm/components/ShareContainer.js +29 -0
- package/dist/esm/components/Shortcuts/ShortcutButton.d.ts +9 -0
- package/dist/esm/components/Shortcuts/ShortcutButton.js +25 -0
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.d.ts +9 -0
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +41 -0
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +10 -0
- package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +22 -0
- package/dist/esm/components/Shortcuts/index.d.ts +4 -0
- package/dist/esm/components/Shortcuts/index.js +4 -0
- package/dist/esm/components/ShowMoreButtonContainer.d.ts +5 -0
- package/dist/esm/components/ShowMoreButtonContainer.js +8 -0
- package/dist/esm/components/SidebarActionsContainer.d.ts +5 -0
- package/dist/esm/components/SidebarActionsContainer.js +8 -0
- package/dist/esm/components/SimpleRowContainer.d.ts +8 -0
- package/dist/esm/components/SimpleRowContainer.js +8 -0
- package/dist/esm/components/Speaker.d.ts +5 -0
- package/dist/esm/components/Speaker.js +72 -0
- package/dist/esm/components/Speakers.d.ts +8 -0
- package/dist/esm/components/Speakers.js +63 -0
- package/dist/esm/components/SpeakersFiltersModal.d.ts +11 -0
- package/dist/esm/components/SpeakersFiltersModal.js +77 -0
- package/dist/esm/components/TourPoints.d.ts +4 -0
- package/dist/esm/components/TourPoints.js +20 -0
- package/dist/esm/components/Tours.d.ts +7 -0
- package/dist/esm/components/Tours.js +54 -0
- package/dist/esm/components/ToursList.d.ts +10 -0
- package/dist/esm/components/ToursList.js +22 -0
- package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
- package/dist/esm/components/ViewerMenuPanel.js +61 -0
- package/dist/esm/components/Visited.d.ts +4 -0
- package/dist/esm/components/Visited.js +13 -0
- package/dist/esm/components/WayInformation.d.ts +14 -0
- package/dist/esm/components/WayInformation.js +8 -0
- package/dist/esm/components/Wayfinding.d.ts +4 -0
- package/dist/esm/components/Wayfinding.js +285 -0
- package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
- package/dist/esm/components/WayfindingFloorSelectorContainer.js +12 -0
- package/dist/esm/components/WayfindingTemplate.d.ts +66 -0
- package/dist/esm/components/WayfindingTemplate.js +14 -0
- package/dist/esm/components/Ws.d.ts +5 -0
- package/dist/esm/components/Ws.js +131 -0
- package/dist/esm/components/YahRow.d.ts +8 -0
- package/dist/esm/components/YahRow.js +25 -0
- package/dist/esm/components/gps/GpsManager.d.ts +13 -0
- package/dist/esm/components/gps/GpsManager.js +60 -0
- package/dist/esm/components/gps/GpsPermissionRequest.d.ts +8 -0
- package/dist/esm/components/gps/GpsPermissionRequest.js +10 -0
- package/dist/esm/components/gps/index.d.ts +5 -0
- package/dist/esm/components/gps/index.js +3 -0
- package/dist/esm/components/gps/types.d.ts +7 -0
- package/dist/esm/components/gps/types.js +1 -0
- package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +8 -0
- package/dist/esm/components/gps/useUserLocationAndHeading.js +122 -0
- package/dist/esm/components/gps/utils.d.ts +5 -0
- package/dist/esm/components/gps/utils.js +11 -0
- package/dist/esm/components/heatmap-legend-ticks.d.ts +11 -0
- package/dist/esm/components/heatmap-legend-ticks.js +18 -0
- package/dist/esm/components/index.d.ts +114 -0
- package/dist/esm/components/index.js +76 -0
- package/dist/esm/components/utils/entity-venue-grouping.d.ts +32 -0
- package/dist/esm/components/utils/entity-venue-grouping.js +43 -0
- package/dist/esm/components/utils/getDescription.d.ts +19 -0
- package/dist/esm/components/utils/getDescription.js +35 -0
- package/dist/esm/constants.d.ts +44 -0
- package/dist/esm/constants.js +66 -0
- package/dist/esm/data/fp-payloads.d.ts +27 -0
- package/dist/esm/data/fp-payloads.js +53 -0
- package/dist/esm/data/fpGeo.d.ts +45 -0
- package/dist/esm/data/fpGeo.js +9 -0
- package/dist/esm/data/index.d.ts +15 -0
- package/dist/esm/data/index.js +15 -0
- package/dist/esm/data/layer-viewbox.d.ts +10 -0
- package/dist/esm/data/layer-viewbox.js +20 -0
- package/dist/esm/data/svg.d.ts +43 -0
- package/dist/esm/data/svg.js +210 -0
- package/dist/esm/data/tours.json +280 -0
- package/dist/esm/data/venue-scene-preload.d.ts +34 -0
- package/dist/esm/data/venue-scene-preload.js +205 -0
- package/dist/esm/data/venues.d.ts +145 -0
- package/dist/esm/data/venues.js +955 -0
- package/dist/esm/engine/defs.d.ts +38 -0
- package/dist/esm/engine/defs.js +85 -0
- package/dist/esm/engine/fonts.d.ts +9 -0
- package/dist/esm/engine/fonts.js +12 -0
- package/dist/esm/engine/update-def.d.ts +55 -0
- package/dist/esm/engine/update-def.js +127 -0
- package/dist/esm/engine/utils/rotation.d.ts +13 -0
- package/dist/esm/engine/utils/rotation.js +73 -0
- package/dist/esm/floorplan.loader.d.ts +164 -0
- package/dist/esm/floorplan.loader.js +540 -0
- package/dist/esm/floorplan.ready.d.ts +149 -0
- package/dist/esm/floorplan.ready.js +1083 -0
- package/dist/esm/hooks/useURLFilters.d.ts +15 -0
- package/dist/esm/hooks/useURLFilters.js +44 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/intercom/bootIntercom.d.ts +3 -0
- package/dist/esm/intercom/bootIntercom.js +47 -0
- package/dist/esm/intercom/index.d.ts +3 -0
- package/dist/esm/intercom/index.js +1 -0
- package/dist/esm/intercom/shouldLoad.d.ts +4 -0
- package/dist/esm/intercom/shouldLoad.js +74 -0
- package/dist/esm/intercom/types.d.ts +6 -0
- package/dist/esm/intercom/types.js +1 -0
- package/dist/esm/internal-settings.d.ts +13 -0
- package/dist/esm/internal-settings.js +6 -0
- package/dist/esm/journey/external-navigation.d.ts +30 -0
- package/dist/esm/journey/external-navigation.js +38 -0
- package/dist/esm/journey/format-distance.d.ts +14 -0
- package/dist/esm/journey/format-distance.js +38 -0
- package/dist/esm/journey/index.d.ts +16 -0
- package/dist/esm/journey/index.js +15 -0
- package/dist/esm/journey/journey-context.d.ts +140 -0
- package/dist/esm/journey/journey-context.js +137 -0
- package/dist/esm/journey/journey-link.d.ts +49 -0
- package/dist/esm/journey/journey-link.js +35 -0
- package/dist/esm/journey/journey-stage.d.ts +35 -0
- package/dist/esm/journey/journey-stage.js +28 -0
- package/dist/esm/journey/maps-provider.d.ts +36 -0
- package/dist/esm/journey/maps-provider.js +58 -0
- package/dist/esm/journey/plan-journey.d.ts +37 -0
- package/dist/esm/journey/plan-journey.js +176 -0
- package/dist/esm/journey/types.d.ts +294 -0
- package/dist/esm/journey/types.js +1 -0
- package/dist/esm/load-dev.d.ts +44 -0
- package/dist/esm/load-dev.js +60 -0
- package/dist/esm/load.d.ts +17 -0
- package/dist/esm/load.js +244 -0
- package/dist/esm/locales.d.ts +25 -0
- package/dist/esm/locales.js +23 -0
- package/dist/esm/offline/constants.d.ts +5 -0
- package/dist/esm/offline/constants.js +4 -0
- package/dist/esm/offline/offlineManager.d.ts +2 -0
- package/dist/esm/offline/offlineManager.js +78 -0
- package/dist/esm/plan-lifecycle.d.ts +65 -0
- package/dist/esm/plan-lifecycle.js +97 -0
- package/dist/esm/schemas/sdk.schemas.d.ts +25 -0
- package/dist/esm/schemas/sdk.schemas.js +24 -0
- package/dist/esm/services/URLFilterManager.d.ts +39 -0
- package/dist/esm/services/URLFilterManager.js +379 -0
- package/dist/esm/services/multi-slug.d.ts +20 -0
- package/dist/esm/services/multi-slug.js +30 -0
- package/dist/esm/services/url-dispatch.d.ts +22 -0
- package/dist/esm/services/url-dispatch.js +707 -0
- package/dist/esm/services/url-sync.d.ts +40 -0
- package/dist/esm/services/url-sync.js +185 -0
- package/dist/esm/store/BaseFilterStore.d.ts +17 -0
- package/dist/esm/store/BaseFilterStore.js +63 -0
- package/dist/esm/store/BookmarksStore.d.ts +9 -0
- package/dist/esm/store/BookmarksStore.js +28 -0
- package/dist/esm/store/BoothStore.d.ts +105 -0
- package/dist/esm/store/BoothStore.js +194 -0
- package/dist/esm/store/CategoryFilterStore.d.ts +13 -0
- package/dist/esm/store/CategoryFilterStore.js +60 -0
- package/dist/esm/store/CategoryStore.d.ts +21 -0
- package/dist/esm/store/CategoryStore.js +30 -0
- package/dist/esm/store/EventStore.d.ts +56 -0
- package/dist/esm/store/EventStore.js +188 -0
- package/dist/esm/store/ExhibitorStore.d.ts +86 -0
- package/dist/esm/store/ExhibitorStore.js +175 -0
- package/dist/esm/store/FuzzySearchEngineStore.d.ts +15 -0
- package/dist/esm/store/FuzzySearchEngineStore.js +45 -0
- package/dist/esm/store/HeatmapStore.d.ts +51 -0
- package/dist/esm/store/HeatmapStore.js +100 -0
- package/dist/esm/store/IntercomStore.d.ts +7 -0
- package/dist/esm/store/IntercomStore.js +26 -0
- package/dist/esm/store/LayerStore.d.ts +70 -0
- package/dist/esm/store/LayerStore.js +399 -0
- package/dist/esm/store/MaplibreStore.d.ts +71 -0
- package/dist/esm/store/MaplibreStore.js +137 -0
- package/dist/esm/store/OverlayStore.d.ts +32 -0
- package/dist/esm/store/OverlayStore.js +68 -0
- package/dist/esm/store/PoiMarkerStore.d.ts +76 -0
- package/dist/esm/store/PoiMarkerStore.js +97 -0
- package/dist/esm/store/PoiTypeStore.d.ts +8 -0
- package/dist/esm/store/PoiTypeStore.js +6 -0
- package/dist/esm/store/RootStore.d.ts +118 -0
- package/dist/esm/store/RootStore.js +666 -0
- package/dist/esm/store/RoutePlannerStore.d.ts +56 -0
- package/dist/esm/store/RoutePlannerStore.js +322 -0
- package/dist/esm/store/RouteStore.d.ts +138 -0
- package/dist/esm/store/RouteStore.js +692 -0
- package/dist/esm/store/SearchButtonsStore.d.ts +2 -0
- package/dist/esm/store/SearchButtonsStore.js +2 -0
- package/dist/esm/store/SearchStore.d.ts +81 -0
- package/dist/esm/store/SearchStore.js +612 -0
- package/dist/esm/store/SessionsFilterStore.d.ts +53 -0
- package/dist/esm/store/SessionsFilterStore.js +169 -0
- package/dist/esm/store/ShortcutProvider.d.ts +26 -0
- package/dist/esm/store/ShortcutProvider.js +5 -0
- package/dist/esm/store/ShortcutRegistry.d.ts +33 -0
- package/dist/esm/store/ShortcutRegistry.js +130 -0
- package/dist/esm/store/SpeakerFilterStore.d.ts +39 -0
- package/dist/esm/store/SpeakerFilterStore.js +152 -0
- package/dist/esm/store/SpeakerStore.d.ts +45 -0
- package/dist/esm/store/SpeakerStore.js +142 -0
- package/dist/esm/store/SubButtonProvider.d.ts +16 -0
- package/dist/esm/store/SubButtonProvider.js +6 -0
- package/dist/esm/store/SubButtonRegistry.d.ts +16 -0
- package/dist/esm/store/SubButtonRegistry.js +58 -0
- package/dist/esm/store/ToursStore.d.ts +30 -0
- package/dist/esm/store/ToursStore.js +184 -0
- package/dist/esm/store/UIState.d.ts +329 -0
- package/dist/esm/store/UIState.js +2138 -0
- package/dist/esm/store/VenueStore.d.ts +254 -0
- package/dist/esm/store/VenueStore.js +650 -0
- package/dist/esm/store/create-live-plan.d.ts +13 -0
- package/dist/esm/store/create-live-plan.js +25 -0
- package/dist/esm/store/details-events.d.ts +11 -0
- package/dist/esm/store/details-events.js +76 -0
- package/dist/esm/store/floor-activated-notifier.d.ts +18 -0
- package/dist/esm/store/floor-activated-notifier.js +22 -0
- package/dist/esm/store/index.d.ts +3 -0
- package/dist/esm/store/index.js +14 -0
- package/dist/esm/store/init/index.d.ts +3 -0
- package/dist/esm/store/init/index.js +20 -0
- package/dist/esm/store/init/init-booths.d.ts +6 -0
- package/dist/esm/store/init/init-booths.js +306 -0
- package/dist/esm/store/init/init-categories.d.ts +3 -0
- package/dist/esm/store/init/init-categories.js +28 -0
- package/dist/esm/store/init/init-events.d.ts +3 -0
- package/dist/esm/store/init/init-events.js +45 -0
- package/dist/esm/store/init/init-exhibitors.d.ts +3 -0
- package/dist/esm/store/init/init-exhibitors.js +71 -0
- package/dist/esm/store/init/init-heatmap.d.ts +3 -0
- package/dist/esm/store/init/init-heatmap.js +37 -0
- package/dist/esm/store/init/init-layers.d.ts +8 -0
- package/dist/esm/store/init/init-layers.js +151 -0
- package/dist/esm/store/init/init-poiTypes.d.ts +3 -0
- package/dist/esm/store/init/init-poiTypes.js +6 -0
- package/dist/esm/store/init/init-speakers.d.ts +3 -0
- package/dist/esm/store/init/init-speakers.js +20 -0
- package/dist/esm/store/init/init-ui.d.ts +13 -0
- package/dist/esm/store/init/init-ui.js +155 -0
- package/dist/esm/store/journey-plan.d.ts +89 -0
- package/dist/esm/store/journey-plan.js +291 -0
- package/dist/esm/store/live-store.d.ts +19 -0
- package/dist/esm/store/live-store.js +26 -0
- package/dist/esm/store/outdoor-poi-filter.d.ts +21 -0
- package/dist/esm/store/outdoor-poi-filter.js +33 -0
- package/dist/esm/store/providers/SearchShortcutProvider.d.ts +13 -0
- package/dist/esm/store/providers/SearchShortcutProvider.js +59 -0
- package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +17 -0
- package/dist/esm/store/providers/SessionsShortcutProvider.js +221 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +33 -0
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +100 -0
- package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +12 -0
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +73 -0
- package/dist/esm/store/reveal-layer.d.ts +29 -0
- package/dist/esm/store/reveal-layer.js +25 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +55 -0
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +363 -0
- package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +37 -0
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +291 -0
- package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +20 -0
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +157 -0
- package/dist/esm/store/search-buttons/SearchButtonsState.d.ts +24 -0
- package/dist/esm/store/search-buttons/SearchButtonsState.js +125 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +73 -0
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +364 -0
- package/dist/esm/store/search-buttons/constants.d.ts +24 -0
- package/dist/esm/store/search-buttons/constants.js +24 -0
- package/dist/esm/store/search-buttons/index.d.ts +8 -0
- package/dist/esm/store/search-buttons/index.js +7 -0
- package/dist/esm/store/search-buttons/utils.d.ts +6 -0
- package/dist/esm/store/search-buttons/utils.js +34 -0
- package/dist/esm/store/types.d.ts +213 -0
- package/dist/esm/store/types.js +1 -0
- package/dist/esm/store/venue-public.d.ts +10 -0
- package/dist/esm/store/venue-public.js +14 -0
- package/dist/esm/store/venue-selection.d.ts +45 -0
- package/dist/esm/store/venue-selection.js +101 -0
- package/dist/esm/test/store-harness.d.ts +32 -0
- package/dist/esm/test/store-harness.js +116 -0
- package/dist/esm/tools/base-runtime-url.d.ts +3 -0
- package/dist/esm/tools/base-runtime-url.js +23 -0
- package/dist/esm/tools/debounce.d.ts +2 -0
- package/dist/esm/tools/debounce.js +10 -0
- package/dist/esm/tools/debugCanvases.d.ts +3 -0
- package/dist/esm/tools/debugCanvases.js +3 -0
- package/dist/esm/tools/event-not-found.d.ts +18 -0
- package/dist/esm/tools/event-not-found.js +50 -0
- package/dist/esm/tools/event-scoped-cache.d.ts +13 -0
- package/dist/esm/tools/event-scoped-cache.js +47 -0
- package/dist/esm/tools/expofpUrl.d.ts +7 -0
- package/dist/esm/tools/expofpUrl.js +10 -0
- package/dist/esm/tools/freeBanner.d.ts +5 -0
- package/dist/esm/tools/freeBanner.js +11 -0
- package/dist/esm/tools/gtag.d.ts +66 -0
- package/dist/esm/tools/gtag.js +287 -0
- package/dist/esm/tools/handleDebugMode.d.ts +19 -0
- package/dist/esm/tools/handleDebugMode.js +61 -0
- package/dist/esm/tools/has-html-tags.d.ts +2 -0
- package/dist/esm/tools/has-html-tags.js +3 -0
- package/dist/esm/tools/id.d.ts +2 -0
- package/dist/esm/tools/id.js +5 -0
- package/dist/esm/tools/loaders.d.ts +5 -0
- package/dist/esm/tools/loaders.js +67 -0
- package/dist/esm/tools/logger.d.ts +38 -0
- package/dist/esm/tools/logger.js +87 -0
- package/dist/esm/tools/rebooking-config.d.ts +10 -0
- package/dist/esm/tools/rebooking-config.js +19 -0
- package/dist/esm/tools/rebookingUrl.d.ts +11 -0
- package/dist/esm/tools/rebookingUrl.js +27 -0
- package/dist/esm/tools/report-error.d.ts +2 -0
- package/dist/esm/tools/report-error.js +134 -0
- package/dist/esm/tools/reset.d.ts +2 -0
- package/dist/esm/tools/reset.js +35 -0
- package/dist/esm/tools/sentry.d.ts +7 -0
- package/dist/esm/tools/sentry.js +166 -0
- package/dist/esm/tools/settings.d.ts +36 -0
- package/dist/esm/tools/settings.js +110 -0
- package/dist/esm/tools/slug.d.ts +2 -0
- package/dist/esm/tools/slug.js +27 -0
- package/dist/esm/tools/strip-html.d.ts +2 -0
- package/dist/esm/tools/strip-html.js +7 -0
- package/dist/esm/tools/style-registry.d.ts +28 -0
- package/dist/esm/tools/style-registry.js +46 -0
- package/dist/esm/tools/telemetry.d.ts +37 -0
- package/dist/esm/tools/telemetry.js +266 -0
- package/dist/esm/tools/track-event.d.ts +28 -0
- package/dist/esm/tools/track-event.js +196 -0
- package/dist/esm/tools/webgl-logger.d.ts +2 -0
- package/dist/esm/tools/webgl-logger.js +31 -0
- package/dist/esm/types/drawing.types.d.ts +18 -0
- package/dist/esm/types/drawing.types.js +1 -0
- package/dist/esm/types/sdk.types.d.ts +49 -0
- package/dist/esm/types/sdk.types.js +6 -0
- package/dist/esm/types.d.ts +593 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/utils/_OLD_gpu-info.d.ts +6 -0
- package/dist/esm/utils/_OLD_gpu-info.js +23 -0
- package/dist/esm/utils/_OLD_should-use-backdrop.d.ts +3 -0
- package/dist/esm/utils/_OLD_should-use-backdrop.js +4 -0
- package/dist/esm/utils/areLayersEnabled.d.ts +2 -0
- package/dist/esm/utils/areLayersEnabled.js +4 -0
- package/dist/esm/utils/blob-image-size.d.ts +27 -0
- package/dist/esm/utils/blob-image-size.js +37 -0
- package/dist/esm/utils/brand.d.ts +18 -0
- package/dist/esm/utils/brand.js +19 -0
- package/dist/esm/utils/browser.d.ts +4 -0
- package/dist/esm/utils/browser.js +4 -0
- package/dist/esm/utils/calcSpeed.d.ts +2 -0
- package/dist/esm/utils/calcSpeed.js +5 -0
- package/dist/esm/utils/calcTravelTime.d.ts +2 -0
- package/dist/esm/utils/calcTravelTime.js +3 -0
- package/dist/esm/utils/camera-map-settings.d.ts +26 -0
- package/dist/esm/utils/camera-map-settings.js +86 -0
- package/dist/esm/utils/color-gradient.d.ts +2 -0
- package/dist/esm/utils/color-gradient.js +14 -0
- package/dist/esm/utils/customCommands.d.ts +2 -0
- package/dist/esm/utils/customCommands.js +33 -0
- package/dist/esm/utils/detectLimitedModeViaImage.d.ts +2 -0
- package/dist/esm/utils/detectLimitedModeViaImage.js +33 -0
- package/dist/esm/utils/dimming.d.ts +27 -0
- package/dist/esm/utils/dimming.js +88 -0
- package/dist/esm/utils/entity-storage.d.ts +14 -0
- package/dist/esm/utils/entity-storage.js +122 -0
- package/dist/esm/utils/event-head.d.ts +38 -0
- package/dist/esm/utils/event-head.js +90 -0
- package/dist/esm/utils/event-now.d.ts +11 -0
- package/dist/esm/utils/event-now.js +40 -0
- package/dist/esm/utils/event-title.d.ts +19 -0
- package/dist/esm/utils/event-title.js +20 -0
- package/dist/esm/utils/eventFullBadge.d.ts +3 -0
- package/dist/esm/utils/eventFullBadge.js +7 -0
- package/dist/esm/utils/eventTime.d.ts +15 -0
- package/dist/esm/utils/eventTime.js +82 -0
- package/dist/esm/utils/extractMetaFromString.d.ts +5 -0
- package/dist/esm/utils/extractMetaFromString.js +16 -0
- package/dist/esm/utils/geo-anchors.d.ts +10 -0
- package/dist/esm/utils/geo-anchors.js +12 -0
- package/dist/esm/utils/geometry.d.ts +2 -0
- package/dist/esm/utils/geometry.js +12 -0
- package/dist/esm/utils/getContrastTextColor.d.ts +2 -0
- package/dist/esm/utils/getContrastTextColor.js +26 -0
- package/dist/esm/utils/getLogoUrl.d.ts +9 -0
- package/dist/esm/utils/getLogoUrl.js +26 -0
- package/dist/esm/utils/getMostFrequent.d.ts +2 -0
- package/dist/esm/utils/getMostFrequent.js +14 -0
- package/dist/esm/utils/getRenderTargetFromRoot.d.ts +2 -0
- package/dist/esm/utils/getRenderTargetFromRoot.js +19 -0
- package/dist/esm/utils/gps.d.ts +40 -0
- package/dist/esm/utils/gps.js +66 -0
- package/dist/esm/utils/heatmap-enabled.d.ts +13 -0
- package/dist/esm/utils/heatmap-enabled.js +13 -0
- package/dist/esm/utils/i18n.d.ts +18 -0
- package/dist/esm/utils/i18n.js +117 -0
- package/dist/esm/utils/index.d.ts +10 -0
- package/dist/esm/utils/index.js +60 -0
- package/dist/esm/utils/is-debug.d.ts +3 -0
- package/dist/esm/utils/is-debug.js +9 -0
- package/dist/esm/utils/is-from-designer.d.ts +3 -0
- package/dist/esm/utils/is-from-designer.js +4 -0
- package/dist/esm/utils/is-iframe.d.ts +3 -0
- package/dist/esm/utils/is-iframe.js +13 -0
- package/dist/esm/utils/is-localhost.d.ts +3 -0
- package/dist/esm/utils/is-localhost.js +11 -0
- package/dist/esm/utils/is-mac.d.ts +3 -0
- package/dist/esm/utils/is-mac.js +2 -0
- package/dist/esm/utils/is-mobile.d.ts +3 -0
- package/dist/esm/utils/is-mobile.js +2 -0
- package/dist/esm/utils/is-own-domain.d.ts +12 -0
- package/dist/esm/utils/is-own-domain.js +23 -0
- package/dist/esm/utils/is-pathway-layer.d.ts +2 -0
- package/dist/esm/utils/is-pathway-layer.js +4 -0
- package/dist/esm/utils/is-phone.d.ts +9 -0
- package/dist/esm/utils/is-phone.js +17 -0
- package/dist/esm/utils/is-scroll-ugly.d.ts +3 -0
- package/dist/esm/utils/is-scroll-ugly.js +13 -0
- package/dist/esm/utils/is-webview.d.ts +3 -0
- package/dist/esm/utils/is-webview.js +2 -0
- package/dist/esm/utils/isNumericLevel.d.ts +2 -0
- package/dist/esm/utils/isNumericLevel.js +3 -0
- package/dist/esm/utils/lazy-qr-code.d.ts +5 -0
- package/dist/esm/utils/lazy-qr-code.js +6 -0
- package/dist/esm/utils/legacy-storage-keys.d.ts +16 -0
- package/dist/esm/utils/legacy-storage-keys.js +38 -0
- package/dist/esm/utils/loadBlob.d.ts +16 -0
- package/dist/esm/utils/loadBlob.js +40 -0
- package/dist/esm/utils/loadCustomCss.d.ts +3 -0
- package/dist/esm/utils/loadCustomCss.js +19 -0
- package/dist/esm/utils/loadIcons.d.ts +3 -0
- package/dist/esm/utils/loadIcons.js +24 -0
- package/dist/esm/utils/loadImage.d.ts +2 -0
- package/dist/esm/utils/loadImage.js +11 -0
- package/dist/esm/utils/loadImagesInBatches.d.ts +22 -0
- package/dist/esm/utils/loadImagesInBatches.js +82 -0
- package/dist/esm/utils/loadLayerImages.d.ts +41 -0
- package/dist/esm/utils/loadLayerImages.js +107 -0
- package/dist/esm/utils/localStorage.d.ts +2 -0
- package/dist/esm/utils/localStorage.js +11 -0
- package/dist/esm/utils/lz-utils.d.ts +8 -0
- package/dist/esm/utils/lz-utils.js +16 -0
- package/dist/esm/utils/mapEntity.d.ts +3 -0
- package/dist/esm/utils/mapEntity.js +82 -0
- package/dist/esm/utils/math.d.ts +6 -0
- package/dist/esm/utils/math.js +7 -0
- package/dist/esm/utils/mobx.d.ts +35 -0
- package/dist/esm/utils/mobx.js +74 -0
- package/dist/esm/utils/outdoor-poi.d.ts +32 -0
- package/dist/esm/utils/outdoor-poi.js +28 -0
- package/dist/esm/utils/plan-reactions.d.ts +20 -0
- package/dist/esm/utils/plan-reactions.js +26 -0
- package/dist/esm/utils/planBearing.d.ts +14 -0
- package/dist/esm/utils/planBearing.js +15 -0
- package/dist/esm/utils/preview-exhibitor.d.ts +11 -0
- package/dist/esm/utils/preview-exhibitor.js +19 -0
- package/dist/esm/utils/rasterize-svg.d.ts +32 -0
- package/dist/esm/utils/rasterize-svg.js +78 -0
- package/dist/esm/utils/responsiveClass.d.ts +2 -0
- package/dist/esm/utils/responsiveClass.js +25 -0
- package/dist/esm/utils/rtl.d.ts +2 -0
- package/dist/esm/utils/rtl.js +4 -0
- package/dist/esm/utils/sanitizeHtml.d.ts +3 -0
- package/dist/esm/utils/sanitizeHtml.js +21 -0
- package/dist/esm/utils/sanitizeText.d.ts +9 -0
- package/dist/esm/utils/sanitizeText.js +19 -0
- package/dist/esm/utils/scene-bounds.d.ts +64 -0
- package/dist/esm/utils/scene-bounds.js +127 -0
- package/dist/esm/utils/shortenName.d.ts +2 -0
- package/dist/esm/utils/shortenName.js +19 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +2 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.js +24 -0
- package/dist/esm/utils/strEqual.d.ts +2 -0
- package/dist/esm/utils/strEqual.js +3 -0
- package/dist/esm/utils/swappable-proxy.d.ts +28 -0
- package/dist/esm/utils/swappable-proxy.js +71 -0
- package/dist/esm/utils/trackingParams.d.ts +3 -0
- package/dist/esm/utils/trackingParams.js +24 -0
- package/dist/esm/utils/urlEncoding.d.ts +7 -0
- package/dist/esm/utils/urlEncoding.js +62 -0
- package/dist/esm/utils/use-shadow.d.ts +3 -0
- package/dist/esm/utils/use-shadow.js +10 -0
- package/dist/esm/utils/useHeatmapData.d.ts +10 -0
- package/dist/esm/utils/useHeatmapData.js +8 -0
- package/dist/esm/utils/useHeatmapOverlay.d.ts +9 -0
- package/dist/esm/utils/useHeatmapOverlay.js +56 -0
- package/dist/esm/utils/useRenderTarget.d.ts +2 -0
- package/dist/esm/utils/useRenderTarget.js +35 -0
- package/dist/esm/utils/yah_icon.d.ts +6 -0
- package/dist/esm/utils/yah_icon.js +457 -0
- package/dist/esm/wayfinding/adapters/arbitraryPoint.d.ts +32 -0
- package/dist/esm/wayfinding/adapters/arbitraryPoint.js +25 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +19 -0
- package/dist/esm/wayfinding/adapters/boothToEndpoint.js +32 -0
- package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +20 -0
- package/dist/esm/wayfinding/adapters/canvasIconProvider.js +73 -0
- package/dist/esm/wayfinding/adapters/floorContext.d.ts +20 -0
- package/dist/esm/wayfinding/adapters/floorContext.js +43 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +42 -0
- package/dist/esm/wayfinding/adapters/graphDataSource.js +73 -0
- package/dist/esm/wayfinding/adapters/index.d.ts +9 -0
- package/dist/esm/wayfinding/adapters/index.js +7 -0
- package/dist/esm/wayfinding/adapters/kioskCanvas.d.ts +7 -0
- package/dist/esm/wayfinding/adapters/kioskCanvas.js +22 -0
- package/dist/esm/wayfinding/adapters/positionInput.d.ts +12 -0
- package/dist/esm/wayfinding/adapters/positionInput.js +16 -0
- package/dist/esm/wayfinding/bindMobxReactions.d.ts +28 -0
- package/dist/esm/wayfinding/bindMobxReactions.js +171 -0
- package/dist/esm/wayfinding/createWayfinding.d.ts +34 -0
- package/dist/esm/wayfinding/createWayfinding.js +183 -0
- package/dist/esm/wayfinding/handlers/kioskHandler.d.ts +26 -0
- package/dist/esm/wayfinding/handlers/kioskHandler.js +52 -0
- package/dist/esm/wayfinding/handlers/yahHandler.d.ts +21 -0
- package/dist/esm/wayfinding/handlers/yahHandler.js +42 -0
- package/dist/esm/wayfinding/index.d.ts +12 -0
- package/dist/esm/wayfinding/index.js +9 -0
- package/dist/esm/wayfinding/routeSteps.d.ts +15 -0
- package/dist/esm/wayfinding/routeSteps.js +29 -0
- package/dist/esm/wayfinding/storePorts.d.ts +67 -0
- package/dist/esm/wayfinding/storePorts.js +1 -0
- package/package.json +146 -0
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Rect } from '@expofp/geometry';
|
|
3
|
+
import { update } from '@expofp/renderer';
|
|
4
|
+
import Color from 'color';
|
|
5
|
+
import colorInterpolate from 'color-interpolate';
|
|
6
|
+
import { computed } from 'mobx';
|
|
7
|
+
import data from '../../../../data';
|
|
8
|
+
import { getFpSvgJs } from '../../../../data/fp-payloads';
|
|
9
|
+
import { createShapeDef } from '../../../../engine/defs';
|
|
10
|
+
import store, { boothStore, heatmapStore, layersStore, uiState } from '../../../../store';
|
|
11
|
+
import { RegularBooth, SpecialBooth } from '../../../../store/BoothStore';
|
|
12
|
+
import { RebookingState } from '../../../../store/ExhibitorStore';
|
|
13
|
+
import { LayersMode } from '../../../../store/LayerStore';
|
|
14
|
+
import { rebookingStateConfig } from '../../../../tools/rebooking-config';
|
|
15
|
+
import settings from '../../../../tools/settings';
|
|
16
|
+
import { planReaction } from '../../../../utils/plan-reactions.js';
|
|
17
|
+
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
18
|
+
import { buildPathDef } from './config-bg';
|
|
19
|
+
export default function configBoothBg(booth) {
|
|
20
|
+
return new BoothBgDrawer(booth);
|
|
21
|
+
}
|
|
22
|
+
function groupBy(arr) {
|
|
23
|
+
if (arr.length === 0)
|
|
24
|
+
return null;
|
|
25
|
+
const firstValue = arr[0];
|
|
26
|
+
const isSame = arr.every((value) => value === firstValue);
|
|
27
|
+
return isSame ? firstValue : null;
|
|
28
|
+
}
|
|
29
|
+
export function pathToShapeDef(paths, layer) {
|
|
30
|
+
const shapeDefs = [];
|
|
31
|
+
for (const p of paths) {
|
|
32
|
+
const pathDef = buildPathDef({ index: p.index, color: p.color, unblinking: p.unblinking }, layer);
|
|
33
|
+
if (pathDef) {
|
|
34
|
+
shapeDefs.push(pathDef);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return shapeDefs;
|
|
38
|
+
}
|
|
39
|
+
class BoothBgDrawer extends BoothDrawerBaseWithoutPainter {
|
|
40
|
+
constructor(booth) {
|
|
41
|
+
super(booth);
|
|
42
|
+
if (booth.paths) {
|
|
43
|
+
const shapeDefs = pathToShapeDef(booth.paths, store.layerStore.mode !== LayersMode.Default ? booth.layer.name : '');
|
|
44
|
+
booth.shapes = shapeDefs.map((s) => {
|
|
45
|
+
const color = uiState.monochrome
|
|
46
|
+
? Color(s.color).grayscale().rgb().string()
|
|
47
|
+
: this.getBoothColor().string();
|
|
48
|
+
if (s.color === 'transparent')
|
|
49
|
+
s.color = color;
|
|
50
|
+
else
|
|
51
|
+
s.defaultColor = s.color;
|
|
52
|
+
return s;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const width = booth.borderColor === 'none'
|
|
57
|
+
? 0
|
|
58
|
+
: isNaN(booth.borderWidth)
|
|
59
|
+
? boothStore.borderWidth
|
|
60
|
+
: booth.borderWidth;
|
|
61
|
+
// booth.rect is an unrotated Box. withPadding deflated (positive =
|
|
62
|
+
// inner padding); Box.expand inflates on positive, so negate to deflate
|
|
63
|
+
// by width/2 on each axis. Combine the deflated footprint with
|
|
64
|
+
// booth.rotate into a geometry Rect for the renderer seam.
|
|
65
|
+
const box = this.booth.rect.expand(-width / 2);
|
|
66
|
+
const color = this.getBoothColor().string();
|
|
67
|
+
booth.shapes = [
|
|
68
|
+
createShapeDef(new Rect(box.center, box.size, this.booth.rotate, this.booth.elevation), color),
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
planReaction(() => this.booth.hover, () => !this.booth.selected && this.update());
|
|
72
|
+
planReaction(() => [
|
|
73
|
+
layersStore.layersLoaded,
|
|
74
|
+
this.booth.skipDim,
|
|
75
|
+
this.booth.selected,
|
|
76
|
+
this.boothShape.selectBgAnimationPart,
|
|
77
|
+
], () => this.update());
|
|
78
|
+
}
|
|
79
|
+
getShape() {
|
|
80
|
+
return this.booth.shapes;
|
|
81
|
+
}
|
|
82
|
+
update() {
|
|
83
|
+
if (!layersStore.layersLoaded)
|
|
84
|
+
return;
|
|
85
|
+
for (const shape of this.booth.shapes) {
|
|
86
|
+
shape.dim = this.booth.skipDim ? 0 : undefined;
|
|
87
|
+
if (shape.color && !shape.unblinking) {
|
|
88
|
+
const newColor = shape.defaultColor
|
|
89
|
+
? this.getBoothPathColor(shape.defaultColor)
|
|
90
|
+
: this.getBoothColor();
|
|
91
|
+
shape.color = newColor.string();
|
|
92
|
+
}
|
|
93
|
+
update(shape);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Whether this booth is a PoI icon that a highlight has singled out — a category filter, a search
|
|
98
|
+
* hit, the public `highlightBooths` API — and that is not the selected booth.
|
|
99
|
+
*
|
|
100
|
+
* PoI icons are authored gray, and dimming converges on gray too: it desaturates and halves in
|
|
101
|
+
* linear space, so white lands on the same mid-gray the icons are drawn in. Un-dimming a
|
|
102
|
+
* highlighted icon therefore leaves it indistinguishable from its dimmed neighbors — issue #1632 —
|
|
103
|
+
* and the only thing that reads as a highlight is a color of its own.
|
|
104
|
+
*
|
|
105
|
+
* `poiTypeId` is a cheap stand-in for "authored gray". The general condition is any color that
|
|
106
|
+
* dimming converges on, which is the shape to generalize to if this ever bites a booth that is not
|
|
107
|
+
* a PoI.
|
|
108
|
+
*/
|
|
109
|
+
get poiHighlighted() {
|
|
110
|
+
const booth = this.booth;
|
|
111
|
+
return !booth.selected && booth.poiTypeId != null && booth.skipDim;
|
|
112
|
+
}
|
|
113
|
+
getBoothPathColor(defaultColor) {
|
|
114
|
+
if (uiState.heatmap) {
|
|
115
|
+
return this.getHeatmapColor();
|
|
116
|
+
}
|
|
117
|
+
const booth = this.booth;
|
|
118
|
+
const selectedColor = settings.colors.booths.selected;
|
|
119
|
+
let colorInfo = Color(this.poiHighlighted ? selectedColor : defaultColor).hsl();
|
|
120
|
+
if (booth.selected) {
|
|
121
|
+
if (getFpSvgJs().__fpSettings?.fpVer) {
|
|
122
|
+
const color = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
123
|
+
const selected = Color(color === 'none' ? selectedColor : color);
|
|
124
|
+
return uiState.monochrome ? selected.grayscale() : selected;
|
|
125
|
+
}
|
|
126
|
+
const selColor = Color(selectedColor).hsl();
|
|
127
|
+
const startLightness = selColor.lightness();
|
|
128
|
+
const curLightness = startLightness * this.boothShape.selectBgAnimationPart;
|
|
129
|
+
colorInfo = colorInfo.hue(selColor.hue()).lightness(curLightness);
|
|
130
|
+
}
|
|
131
|
+
else if (booth.hover) {
|
|
132
|
+
colorInfo = colorInfo.darken(0.1);
|
|
133
|
+
}
|
|
134
|
+
if (uiState.monochrome) {
|
|
135
|
+
colorInfo = colorInfo.grayscale();
|
|
136
|
+
}
|
|
137
|
+
return colorInfo;
|
|
138
|
+
}
|
|
139
|
+
getHeatmapColor() {
|
|
140
|
+
const booth = this.booth;
|
|
141
|
+
const heatmapColor = heatmapStore.getHeatmapColorForBooth(booth);
|
|
142
|
+
if (booth.selected) {
|
|
143
|
+
const color = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
144
|
+
return Color(color === 'none' ? '#f33' : color);
|
|
145
|
+
}
|
|
146
|
+
if (booth.hover) {
|
|
147
|
+
return heatmapColor.darken(0.2).alpha(heatmapColor.alpha() * 1.5);
|
|
148
|
+
}
|
|
149
|
+
return heatmapColor;
|
|
150
|
+
}
|
|
151
|
+
get defaultColor() {
|
|
152
|
+
const b = this.booth;
|
|
153
|
+
let defColor = settings.colors.booths.default;
|
|
154
|
+
if (b instanceof SpecialBooth) {
|
|
155
|
+
defColor = b.color || settings.colors.booths.empty;
|
|
156
|
+
}
|
|
157
|
+
else if (b instanceof RegularBooth) {
|
|
158
|
+
if (data.isRebooking) {
|
|
159
|
+
if (!b.exhibitors?.length)
|
|
160
|
+
return rebookingStateConfig[RebookingState.Unasked].color.primary;
|
|
161
|
+
const state = groupBy((b.exhibitors ?? []).map((e) => e.rebookingState));
|
|
162
|
+
return state !== null
|
|
163
|
+
? rebookingStateConfig[state].color.primary
|
|
164
|
+
: '#000000';
|
|
165
|
+
}
|
|
166
|
+
const settingsColors = settings.colors.booths;
|
|
167
|
+
if (b.onHold) {
|
|
168
|
+
defColor = b.holdColor || settingsColors.defaultHold;
|
|
169
|
+
}
|
|
170
|
+
else if (b.exhibitors.length || b.reserved) {
|
|
171
|
+
defColor = b.soldColor || settingsColors.defaultSold;
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
defColor = b.availColor || settingsColors.empty;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
try {
|
|
178
|
+
if (defColor === 'none')
|
|
179
|
+
defColor = settings.colors.booths.default;
|
|
180
|
+
Color(defColor);
|
|
181
|
+
}
|
|
182
|
+
catch (e) {
|
|
183
|
+
defColor = settings.colors.booths.default;
|
|
184
|
+
console.error('Booth: defaultColor', e);
|
|
185
|
+
}
|
|
186
|
+
return defColor;
|
|
187
|
+
}
|
|
188
|
+
get selectedColorInterpolateFunc() {
|
|
189
|
+
const color0 = settings.colors.booths.seectedLight ||
|
|
190
|
+
(!Color(this.booth.labelColor || settings.boothLabelColor).isLight() ? '#fff' : '#000');
|
|
191
|
+
const color1 = uiState.selectedRoute
|
|
192
|
+
? settings?.colors?.booths?.wayfinding?.selected
|
|
193
|
+
: settings?.colors?.booths?.selected;
|
|
194
|
+
return colorInterpolate([color0, color1]);
|
|
195
|
+
}
|
|
196
|
+
getBoothColor() {
|
|
197
|
+
const booth = this.booth;
|
|
198
|
+
if (uiState.heatmap) {
|
|
199
|
+
return this.getHeatmapColor();
|
|
200
|
+
}
|
|
201
|
+
let color;
|
|
202
|
+
if (booth.error) {
|
|
203
|
+
color = '#f33';
|
|
204
|
+
}
|
|
205
|
+
else if (data.isRebooking) {
|
|
206
|
+
color = this.defaultColor;
|
|
207
|
+
}
|
|
208
|
+
else if (booth.selected) {
|
|
209
|
+
color = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart);
|
|
210
|
+
}
|
|
211
|
+
else if (this.poiHighlighted) {
|
|
212
|
+
// Same reason as in getBoothPathColor: a PoI icon authored with no fill of its own, or with
|
|
213
|
+
// no paths at all, reaches its color through here and needs the highlight just as much.
|
|
214
|
+
color = settings.colors.booths.selected;
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
color = this.defaultColor;
|
|
218
|
+
}
|
|
219
|
+
let colorInfo;
|
|
220
|
+
try {
|
|
221
|
+
colorInfo = Color(color === 'none' ? '#f33' : color);
|
|
222
|
+
}
|
|
223
|
+
catch {
|
|
224
|
+
colorInfo = Color(this.defaultColor);
|
|
225
|
+
}
|
|
226
|
+
if ((booth.hover && !booth.selected) || (booth.selected && data.isRebooking)) {
|
|
227
|
+
colorInfo = colorInfo.darken(0.2).alpha(colorInfo.alpha() * 1.5);
|
|
228
|
+
}
|
|
229
|
+
if (uiState.monochrome || uiState.heatmapYah) {
|
|
230
|
+
colorInfo = colorInfo.grayscale();
|
|
231
|
+
}
|
|
232
|
+
return colorInfo;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
__decorate([
|
|
236
|
+
computed({ keepAlive: true })
|
|
237
|
+
], BoothBgDrawer.prototype, "defaultColor", null);
|
|
238
|
+
__decorate([
|
|
239
|
+
computed({ keepAlive: true })
|
|
240
|
+
], BoothBgDrawer.prototype, "selectedColorInterpolateFunc", null);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Rect } from '@expofp/geometry';
|
|
2
|
+
import { type ImageDef } from '@expofp/renderer';
|
|
3
|
+
import type { Booth } from '../../../../store/BoothStore';
|
|
4
|
+
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
5
|
+
export default function configBoothBookmarkImage(booth: Booth): BoothBookmarkDrawer | undefined;
|
|
6
|
+
export declare class BoothBookmarkDrawer extends BoothDrawerBaseWithoutPainter {
|
|
7
|
+
protected shape: ImageDef;
|
|
8
|
+
protected bookmarkId: string;
|
|
9
|
+
protected readonly canvas: HTMLCanvasElement;
|
|
10
|
+
protected rect: Rect;
|
|
11
|
+
protected padding: number;
|
|
12
|
+
constructor(booth: Booth);
|
|
13
|
+
getShape: () => ImageDef;
|
|
14
|
+
update(bookmarked: boolean): void;
|
|
15
|
+
/**
|
|
16
|
+
* Lays this bookmark out for a new pixel size: the ribbon holds its on-screen size, clamped to what
|
|
17
|
+
* fits in the top-right corner of the booth.
|
|
18
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
19
|
+
* @returns The bookmark unless hidden — nothing draws a hidden one, and `update()` syncs it on
|
|
20
|
+
* the way back into view.
|
|
21
|
+
*/
|
|
22
|
+
layOutBookmark(pixelSize: number): ImageDef[];
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=config-booth-bookmark.d.ts.map
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Rect } from '@expofp/geometry';
|
|
2
|
+
import { update } from '@expofp/renderer';
|
|
3
|
+
import { createImageDef } from '../../../../engine/defs';
|
|
4
|
+
import { getClampedBoundsCanvas, getQuarterTurns, getRollValue, rotateRectByQuarters, } from '../../../../engine/update-def';
|
|
5
|
+
import { layersStore, uiState } from '../../../../store';
|
|
6
|
+
import { planReaction } from '../../../../utils/plan-reactions.js';
|
|
7
|
+
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
8
|
+
import { bookmarkCanvasCssSize, createBookmarkCanvas } from './canvases';
|
|
9
|
+
export default function configBoothBookmarkImage(booth) {
|
|
10
|
+
if (uiState.kiosk)
|
|
11
|
+
return;
|
|
12
|
+
return new BoothBookmarkDrawer(booth);
|
|
13
|
+
}
|
|
14
|
+
export class BoothBookmarkDrawer extends BoothDrawerBaseWithoutPainter {
|
|
15
|
+
constructor(booth) {
|
|
16
|
+
super(booth);
|
|
17
|
+
this.getShape = () => this.shape;
|
|
18
|
+
this.padding = this.booth.borderWidth / 2;
|
|
19
|
+
// booth.rect is an unrotated Box; combine it with booth.rotate into a Rect.
|
|
20
|
+
this.rect = new Rect(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation);
|
|
21
|
+
this.canvas = createBookmarkCanvas(BOOKMARK_WIDTH_PX, devicePixelRatio);
|
|
22
|
+
this.bookmarkId = `bookmark-${this.booth.id}`;
|
|
23
|
+
this.shape = createImageDef(this.canvas, this.rect, { hidden: !booth.bookmarked });
|
|
24
|
+
// Wrapped in an arrow because handlers are called with no receiver — a bare method reference
|
|
25
|
+
// would lose `this`.
|
|
26
|
+
this.shape.onScale = ({ pixelSize }) => this.layOutBookmark(pixelSize);
|
|
27
|
+
planReaction(() => [booth.bookmarked, layersStore.layersLoaded, this.booth.skipDim], () => this.update(booth.bookmarked), { fireImmediately: booth.bookmarked });
|
|
28
|
+
planReaction(() => uiState.mapSettings, ({ roll }) => {
|
|
29
|
+
if (!getRollValue(roll ?? 0))
|
|
30
|
+
return;
|
|
31
|
+
this.shape.onRoll = ({ roll: angle, pixelSize }) => {
|
|
32
|
+
const turns = getQuarterTurns(angle, this.rect.rotation);
|
|
33
|
+
if (turns === 0)
|
|
34
|
+
return undefined;
|
|
35
|
+
this.rect = rotateRectByQuarters(this.rect, turns);
|
|
36
|
+
this.layOutBookmark(pixelSize);
|
|
37
|
+
return [this.shape];
|
|
38
|
+
};
|
|
39
|
+
}, { fireImmediately: true });
|
|
40
|
+
}
|
|
41
|
+
update(bookmarked) {
|
|
42
|
+
if (!layersStore.layersLoaded)
|
|
43
|
+
return;
|
|
44
|
+
// No re-clamp and no handler teardown here: a hidden bookmark is laid out along with every
|
|
45
|
+
// other — scale and roll alike — so its bounds are already current for this camera, and the
|
|
46
|
+
// sync below carries both the flags and those bounds. (The imperative path dropped a hidden
|
|
47
|
+
// bookmark's roll handler and never re-registered it; the registry made that repair obsolete.)
|
|
48
|
+
this.shape.hidden = !bookmarked;
|
|
49
|
+
this.shape.dim = this.booth.skipDim ? 0 : undefined;
|
|
50
|
+
update(this.shape);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Lays this bookmark out for a new pixel size: the ribbon holds its on-screen size, clamped to what
|
|
54
|
+
* fits in the top-right corner of the booth.
|
|
55
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
56
|
+
* @returns The bookmark unless hidden — nothing draws a hidden one, and `update()` syncs it on
|
|
57
|
+
* the way back into view.
|
|
58
|
+
*/
|
|
59
|
+
layOutBookmark(pixelSize) {
|
|
60
|
+
this.shape.bounds = getClampedBoundsCanvas(this.rect, bookmarkCanvasCssSize(BOOKMARK_WIDTH_PX), this.padding, pixelSize);
|
|
61
|
+
return this.shape.hidden ? [] : [this.shape];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/** The bookmark ribbon's width in CSS pixels. */
|
|
65
|
+
const BOOKMARK_WIDTH_PX = 11;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ShapeDef } from '@expofp/renderer';
|
|
2
|
+
import { Booth } from '../../../../store/BoothStore';
|
|
3
|
+
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
4
|
+
export default function configBoothBorder(booth: Booth): BoothBorderDrawer | undefined;
|
|
5
|
+
declare class BoothBorderDrawer extends BoothDrawerBaseWithoutPainter {
|
|
6
|
+
protected readonly shape: ShapeDef;
|
|
7
|
+
constructor(booth: Booth);
|
|
8
|
+
private getBorderColor;
|
|
9
|
+
getShape(): ShapeDef;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=config-booth-border.d.ts.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/consistent-type-imports */
|
|
2
|
+
import { Polygon, Rect } from '@expofp/geometry';
|
|
3
|
+
import { update } from '@expofp/renderer';
|
|
4
|
+
import Color from 'color';
|
|
5
|
+
import data from '../../../../data';
|
|
6
|
+
import { createShapeDef } from '../../../../engine/defs';
|
|
7
|
+
import { boothStore, heatmapStore, layersStore, uiState } from '../../../../store';
|
|
8
|
+
import settings from '../../../../tools/settings';
|
|
9
|
+
import { planReaction } from '../../../../utils/plan-reactions.js';
|
|
10
|
+
import { BoothDrawerBaseWithoutPainter } from './BoothDrawerBase';
|
|
11
|
+
import { selectedBorderColor } from './selection-style.js';
|
|
12
|
+
export default function configBoothBorder(booth) {
|
|
13
|
+
// if (EFP_EXPO === "vaughanribfest19") return null;
|
|
14
|
+
if (settings.EXPO === 'confex20')
|
|
15
|
+
return;
|
|
16
|
+
if (booth.poiType ||
|
|
17
|
+
booth.borderColor === 'none' ||
|
|
18
|
+
(booth.borderWidth === 0 && !boothStore.borderWidth) ||
|
|
19
|
+
(booth.paths && !booth.pathsWithRect))
|
|
20
|
+
return;
|
|
21
|
+
return new BoothBorderDrawer(booth);
|
|
22
|
+
}
|
|
23
|
+
class BoothBorderDrawer extends BoothDrawerBaseWithoutPainter {
|
|
24
|
+
constructor(booth) {
|
|
25
|
+
super(booth);
|
|
26
|
+
// booth.rect is an unrotated Box (center + size).
|
|
27
|
+
const r = this.booth.rect;
|
|
28
|
+
const { x: cx, y: cy } = r.center;
|
|
29
|
+
const { width: rw, height: rh } = r.size;
|
|
30
|
+
const width = booth.borderWidth || boothStore.borderWidth;
|
|
31
|
+
const polygonsList = [];
|
|
32
|
+
const addPolygon = (segCx, segCy, w, h) => {
|
|
33
|
+
// Build the unrotated border segment, then rotate it (positive =
|
|
34
|
+
// clockwise, y-down) about the booth's rect center — matching the
|
|
35
|
+
// renderer/geometry winding now that booth.rotate is stored
|
|
36
|
+
// positive-clockwise (Task 4).
|
|
37
|
+
// The elevation rides along: `toPolygon` carries it onto the polygon, `rotate` preserves
|
|
38
|
+
// it, and `Polygon.merge` takes it from the first segment — so the whole border lands on the
|
|
39
|
+
// booth's roof rather than on the floor beneath it.
|
|
40
|
+
const segment = new Rect({ x: segCx, y: segCy }, { x: w, y: h }, 0, booth.elevation).toPolygon();
|
|
41
|
+
polygonsList.push(segment.rotate(booth.rotate ?? 0, { x: cx, y: cy }));
|
|
42
|
+
};
|
|
43
|
+
addPolygon(cx, cy - rh / 2, rw + width, width);
|
|
44
|
+
addPolygon(cx, cy + rh / 2, rw + width, width);
|
|
45
|
+
addPolygon(cx - rw / 2, cy, width, rh + width);
|
|
46
|
+
addPolygon(cx + rw / 2, cy, width, rh + width);
|
|
47
|
+
// Merge in geometry space; createShapeDef converts to the renderer.
|
|
48
|
+
const polygon = Polygon.merge(...polygonsList);
|
|
49
|
+
const borderColor = this.getBorderColor();
|
|
50
|
+
this.shape = createShapeDef(polygon, borderColor.string());
|
|
51
|
+
planReaction(() => [
|
|
52
|
+
this.booth.skipDim,
|
|
53
|
+
layersStore.layersLoaded,
|
|
54
|
+
this.booth.hover,
|
|
55
|
+
this.booth.selected,
|
|
56
|
+
uiState.heatmap,
|
|
57
|
+
// Only changes the border color in `solid` selection style (it picks the
|
|
58
|
+
// wayfinding vs plain fill); in `blink` mode this re-fires a no-op color
|
|
59
|
+
// write. Kept in the deps so solid mode repaints on route change.
|
|
60
|
+
uiState.selectedRoute,
|
|
61
|
+
], () => {
|
|
62
|
+
if (!layersStore.layersLoaded)
|
|
63
|
+
return;
|
|
64
|
+
this.shape.dim = this.booth.skipDim ? 0 : undefined;
|
|
65
|
+
this.shape.color = this.getBorderColor().string();
|
|
66
|
+
update(this.shape);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
getBorderColor() {
|
|
70
|
+
const booth = this.booth;
|
|
71
|
+
if (uiState.heatmap) {
|
|
72
|
+
const heatmapColor = heatmapStore.getHeatmapColorForBooth(booth);
|
|
73
|
+
if (booth.selected) {
|
|
74
|
+
const selectedBorder = settings.colors.booths.selectedBorder;
|
|
75
|
+
return selectedBorder ? Color(selectedBorder) : heatmapColor.darken(0.4);
|
|
76
|
+
}
|
|
77
|
+
if (booth.hover) {
|
|
78
|
+
return heatmapColor.darken(0.3);
|
|
79
|
+
}
|
|
80
|
+
return heatmapColor.darken(0.2);
|
|
81
|
+
}
|
|
82
|
+
if (!booth.selected)
|
|
83
|
+
return Color(booth.borderColor || settings.colors.booths.default);
|
|
84
|
+
const fill = uiState.selectedRoute
|
|
85
|
+
? settings.colors.booths.wayfinding.selected
|
|
86
|
+
: settings.colors.booths.selected;
|
|
87
|
+
return Color(selectedBorderColor(data.selectionStyle, settings.colors.booths.selectedBorder, fill, settings.colors.booths.default));
|
|
88
|
+
}
|
|
89
|
+
getShape() {
|
|
90
|
+
return this.shape;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ImageDef, type TextDef } from '@expofp/renderer';
|
|
2
|
+
import { type FontSizeFactor } from '../../../../engine/defs';
|
|
3
|
+
import { type Booth, SpecialBooth } from '../../../../store/BoothStore';
|
|
4
|
+
import { BoothLabelDrawer } from './config-booth-labels';
|
|
5
|
+
export default function configBoothLabelsSpecial(booth: Booth): BoothLabelSpecialDrawer | undefined;
|
|
6
|
+
export declare class BoothLabelSpecialDrawer extends BoothLabelDrawer {
|
|
7
|
+
protected steps: FontSizeFactor[];
|
|
8
|
+
protected labelIsVertical: boolean;
|
|
9
|
+
protected text: string;
|
|
10
|
+
constructor(booth: SpecialBooth);
|
|
11
|
+
getShape(): (ImageDef | TextDef)[];
|
|
12
|
+
/**
|
|
13
|
+
* Lays a special booth's label out: the text fitter's steps are indexed by the inverse pixel size,
|
|
14
|
+
* and a plan too far out for the smallest step drops the label to nothing.
|
|
15
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
16
|
+
* @returns Always the label; every step writes the line, and the fitter's text may change with it.
|
|
17
|
+
*/
|
|
18
|
+
layOutLabel(pixelSize: number): TextDef[];
|
|
19
|
+
/**
|
|
20
|
+
* Lays a special booth's dot out: it stands in for the label exactly when no step fits.
|
|
21
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
22
|
+
* @returns Always the dot; the bounds are rewritten on every step.
|
|
23
|
+
*/
|
|
24
|
+
layOutDot(pixelSize: number): ImageDef[];
|
|
25
|
+
setFactors(text: string): void;
|
|
26
|
+
setText(): void;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=config-booth-labels-special.d.ts.map
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Rect } from '@expofp/geometry';
|
|
2
|
+
import { update } from '@expofp/renderer';
|
|
3
|
+
import { reaction } from 'mobx';
|
|
4
|
+
import { FONT_WEIGHT_PRIMARY_BOOTH, FONT_WEIGHT_PRIMARY_SPECIAL } from '../../../../constants';
|
|
5
|
+
import { createTextDef, SHAPE_DOT_CSS_PX } from '../../../../engine/defs';
|
|
6
|
+
import { loadCustomFontsUrls } from '../../../../engine/fonts';
|
|
7
|
+
import { getQuarterTurns, getRollValue, rotateRectByQuarters, rotateTextDefByQuarters, shouldFlip, } from '../../../../engine/update-def';
|
|
8
|
+
import { heatmapStore, layersStore, uiState } from '../../../../store';
|
|
9
|
+
import { SpecialBooth } from '../../../../store/BoothStore';
|
|
10
|
+
import settings from '../../../../tools/settings';
|
|
11
|
+
import { getFont } from './canvases';
|
|
12
|
+
import { BoothLabelDrawer, getFontUrlByWeight, getMinZoomFactorForDot, } from './config-booth-labels';
|
|
13
|
+
import { LABEL_MARGIN_FRACTION } from './label-inset.js';
|
|
14
|
+
import TextFitter from './TextFitter';
|
|
15
|
+
/** The font sizes a special booth's label steps through, in CSS pixels. */
|
|
16
|
+
const FONT_SIZES_PX = [18, 16, 14, 12, 10, 7];
|
|
17
|
+
/** The largest font size that may wrap onto several lines, in CSS pixels. */
|
|
18
|
+
const MAX_MULTILINE_FONT_SIZE_PX = 14;
|
|
19
|
+
export default function configBoothLabelsSpecial(booth) {
|
|
20
|
+
if (!(booth instanceof SpecialBooth) || booth.noLabels)
|
|
21
|
+
return;
|
|
22
|
+
return new BoothLabelSpecialDrawer(booth);
|
|
23
|
+
}
|
|
24
|
+
export class BoothLabelSpecialDrawer extends BoothLabelDrawer {
|
|
25
|
+
constructor(booth) {
|
|
26
|
+
super(booth);
|
|
27
|
+
// both are filled by setFactors/setText below, which the checker cannot see
|
|
28
|
+
// through, and Babel's decorator pipeline rejects `!` fields
|
|
29
|
+
this.steps = [];
|
|
30
|
+
this.text = '';
|
|
31
|
+
const rect = this.booth.rect;
|
|
32
|
+
const fontWeight = Number(getComputedStyle(document.body).getPropertyValue(FONT_WEIGHT_PRIMARY_SPECIAL)) ||
|
|
33
|
+
Number(getComputedStyle(document.body).getPropertyValue(FONT_WEIGHT_PRIMARY_BOOTH)) ||
|
|
34
|
+
500;
|
|
35
|
+
const fontUrl = getFontUrlByWeight(fontWeight, loadCustomFontsUrls());
|
|
36
|
+
// rect is an unrotated Box. The special label deflates by the margin on each
|
|
37
|
+
// dimension + the border inset (Box.expand inflates on positive, so negate).
|
|
38
|
+
const boothRectWithPadding = rect.expand({
|
|
39
|
+
x: -(rect.size.width * LABEL_MARGIN_FRACTION + this.padding),
|
|
40
|
+
y: -(rect.size.height * LABEL_MARGIN_FRACTION + this.padding),
|
|
41
|
+
});
|
|
42
|
+
this.setText();
|
|
43
|
+
this.canvasRect = new Rect(boothRectWithPadding.center, boothRectWithPadding.size, booth.rotate, booth.elevation);
|
|
44
|
+
this.setFactors(this.text);
|
|
45
|
+
this.labelIsVertical = Math.abs(Math.abs(booth.rotate) - Math.PI / 2) < 0.01;
|
|
46
|
+
this.fontSizes = [this.steps, []];
|
|
47
|
+
this.minZoomDotVisible = getMinZoomFactorForDot(this.steps.map((s) => s.scaleFactor));
|
|
48
|
+
this.shapeLabel = createTextDef([
|
|
49
|
+
{
|
|
50
|
+
text: this.text,
|
|
51
|
+
color: booth.labelColor || settings.boothLabelColor,
|
|
52
|
+
fontUrl,
|
|
53
|
+
fontSize: 0,
|
|
54
|
+
},
|
|
55
|
+
], new Rect(boothRectWithPadding.center, boothRectWithPadding.size, booth.rotate, booth.elevation), [this.padding, this.padding], { horizontal: 'center', text: 'center', vertical: 'center' });
|
|
56
|
+
// Arrow-wrapped like the regular label's closure — a bare method reference would lose `this`.
|
|
57
|
+
this.shapeLabel.onScale = ({ pixelSize }) => this.layOutLabel(pixelSize);
|
|
58
|
+
this.getShapeDot();
|
|
59
|
+
// Like the regular label's: only this booth's own `skipDim`, since Directions un-dims the
|
|
60
|
+
// chunk's label layer as a whole.
|
|
61
|
+
reaction(() => layersStore.layersLoaded && this.booth.skipDim === true, (skipDim) => {
|
|
62
|
+
this.shapeLabel.dim = skipDim ? 0 : undefined;
|
|
63
|
+
this.shapeDot.dim = skipDim ? 0 : undefined;
|
|
64
|
+
update(this.shapeLabel, this.shapeDot);
|
|
65
|
+
});
|
|
66
|
+
reaction(() => uiState.mapSettings, ({ roll }) => {
|
|
67
|
+
if (!getRollValue(roll ?? 0))
|
|
68
|
+
return;
|
|
69
|
+
// Declared on the def, like the regular label's rule; the virtual dispatch the subclass
|
|
70
|
+
// used to get from the registry it now gets from the closure.
|
|
71
|
+
this.shapeLabel.onRoll = ({ roll: angle, pixelSize }) => {
|
|
72
|
+
const currentRotation = this.shapeLabel.bounds.rotation;
|
|
73
|
+
if (this.labelIsVertical) {
|
|
74
|
+
if (!shouldFlip(angle, currentRotation))
|
|
75
|
+
return undefined;
|
|
76
|
+
// Flip the vertical label by negating its rotation. `rotate` adds a
|
|
77
|
+
// delta about the center, so -2·current lands rotation at -current.
|
|
78
|
+
this.shapeLabel.bounds.rotate(-2 * currentRotation, this.shapeLabel.bounds);
|
|
79
|
+
return [this.shapeLabel, this.shapeDot];
|
|
80
|
+
}
|
|
81
|
+
const turns = getQuarterTurns(angle, currentRotation);
|
|
82
|
+
if (turns === 0)
|
|
83
|
+
return undefined;
|
|
84
|
+
const { size } = this.canvasRect;
|
|
85
|
+
this.shapeLabel = rotateTextDefByQuarters(this.shapeLabel, turns);
|
|
86
|
+
if (size.x !== size.y && !this.shapeLabel.hidden) {
|
|
87
|
+
this.canvasRect = rotateRectByQuarters(this.canvasRect, turns);
|
|
88
|
+
this.setFactors(this.text);
|
|
89
|
+
this.layOutLabel(pixelSize);
|
|
90
|
+
this.layOutDot(pixelSize);
|
|
91
|
+
}
|
|
92
|
+
return [this.shapeLabel, this.shapeDot];
|
|
93
|
+
};
|
|
94
|
+
}, { fireImmediately: true });
|
|
95
|
+
}
|
|
96
|
+
getShape() {
|
|
97
|
+
return [this.shapeLabel, this.shapeDot];
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Lays a special booth's label out: the text fitter's steps are indexed by the inverse pixel size,
|
|
101
|
+
* and a plan too far out for the smallest step drops the label to nothing.
|
|
102
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
103
|
+
* @returns Always the label; every step writes the line, and the fitter's text may change with it.
|
|
104
|
+
*/
|
|
105
|
+
layOutLabel(pixelSize) {
|
|
106
|
+
const step = this.steps.find((s) => s.scaleFactor < 1 / pixelSize);
|
|
107
|
+
if (!step) {
|
|
108
|
+
this.shapeLabel.lines[0].fontSize = 0;
|
|
109
|
+
return [this.shapeLabel];
|
|
110
|
+
}
|
|
111
|
+
// The fitter's steps are in CSS pixels, so the pixel size alone converts them to the plan units
|
|
112
|
+
// the renderer draws in.
|
|
113
|
+
this.shapeLabel.lines[0].fontSize = step.value * pixelSize;
|
|
114
|
+
this.shapeLabel.lines[0].text = step.lines.join('\n');
|
|
115
|
+
this.shapeLabel.padding = [
|
|
116
|
+
this.paddingScaled[0] * pixelSize + this.padding,
|
|
117
|
+
this.paddingScaled[1] * pixelSize + this.padding,
|
|
118
|
+
];
|
|
119
|
+
return [this.shapeLabel];
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Lays a special booth's dot out: it stands in for the label exactly when no step fits.
|
|
123
|
+
* @param pixelSize - Plan units per CSS pixel.
|
|
124
|
+
* @returns Always the dot; the bounds are rewritten on every step.
|
|
125
|
+
*/
|
|
126
|
+
layOutDot(pixelSize) {
|
|
127
|
+
const step = this.steps.find((s) => s.scaleFactor < 1 / pixelSize);
|
|
128
|
+
const bounds = this.shapeDot.bounds;
|
|
129
|
+
// Resize the dot to its CSS size × pixel size about its center. The factor is target-over-
|
|
130
|
+
// current, so repeated layouts do not drift.
|
|
131
|
+
bounds.scale({
|
|
132
|
+
x: (SHAPE_DOT_CSS_PX * pixelSize) / bounds.size.x,
|
|
133
|
+
y: (SHAPE_DOT_CSS_PX * pixelSize) / bounds.size.y,
|
|
134
|
+
}, bounds.center, bounds);
|
|
135
|
+
this.shapeDot.hidden = !!step;
|
|
136
|
+
return [this.shapeDot];
|
|
137
|
+
}
|
|
138
|
+
setFactors(text) {
|
|
139
|
+
this.steps = new TextFitter(getFont, FONT_SIZES_PX, MAX_MULTILINE_FONT_SIZE_PX).getStepsForRect(text, this.canvasRect.size.x, this.canvasRect.size.y);
|
|
140
|
+
}
|
|
141
|
+
setText() {
|
|
142
|
+
const text = this.booth.title || this.booth.name;
|
|
143
|
+
const clicks = heatmapStore.getTotalClicksByBooth(this.booth);
|
|
144
|
+
const clickText = `Clicks: ${clicks}`;
|
|
145
|
+
this.text = uiState.heatmap ? `${text} - ${clickText}` : text;
|
|
146
|
+
}
|
|
147
|
+
}
|