@expofp/floorplan 0.0.0-experimental.2d6c681

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.
Files changed (1011) hide show
  1. package/README.md +8 -0
  2. package/dist/browser/Button-DT-Jfwrb.js +64 -0
  3. package/dist/browser/CookieConsent-BIsWzAiP.js +38 -0
  4. package/dist/browser/Debug-B5mmo0ZX.js +53 -0
  5. package/dist/browser/DebugTools-Y0aycjKM.js +1931 -0
  6. package/dist/browser/Demo-B2klxORi.js +71 -0
  7. package/dist/browser/Free-suULW-LU.js +69 -0
  8. package/dist/browser/GalleryContainer-BGBNGRKU.js +3355 -0
  9. package/dist/browser/GpsLoader-Idv0kq5D.js +154 -0
  10. package/dist/browser/KioskStore-Dg9jaX5d.js +250 -0
  11. package/dist/browser/LayerStore-CK6wLW56.js +24105 -0
  12. package/dist/browser/MaplibreAdapter-uZUhZfFW.js +36770 -0
  13. package/dist/browser/ModalContainer-DWm8vEaI.js +148 -0
  14. package/dist/browser/PermissionNotice-DaqnuHln.js +54 -0
  15. package/dist/browser/RouteStore-NE2I9tiF.js +3715 -0
  16. package/dist/browser/SetKioskMode-Dwlf5w7q.js +49 -0
  17. package/dist/browser/ShowKiosk-Cr-QmIUT.js +82 -0
  18. package/dist/browser/ViewerMenuPanel-CTAjGsq2.js +133 -0
  19. package/dist/browser/add-debug-secret-listener-BECnIMzo.js +55 -0
  20. package/dist/browser/adopt-global-settings-U-KbyxMd.js +185 -0
  21. package/dist/browser/boolean-editor-CYMx87em.js +149 -0
  22. package/dist/browser/bootIntercom-BqQsnxII.js +37 -0
  23. package/dist/browser/bundle.json +422 -0
  24. package/dist/browser/camera-events-DSCuSH25.js +18 -0
  25. package/dist/browser/classnames-YcGXWNfg.js +39 -0
  26. package/dist/browser/client-BcPpS_Gj.js +7402 -0
  27. package/dist/browser/compat-helper.js +6 -0
  28. package/dist/browser/components-BjEhhgf2.js +7393 -0
  29. package/dist/browser/create-live-plan-BaEGBhGA.js +4046 -0
  30. package/dist/browser/debounce-raMZ2DqK.js +2102 -0
  31. package/dist/browser/debug-context-CNBgUWR8.js +24315 -0
  32. package/dist/browser/debug-overlay-B__pFwQg.js +1455 -0
  33. package/dist/browser/debug-ui-BaE8MZQX.js +86 -0
  34. package/dist/browser/dist-C1NaWqk4.js +2611 -0
  35. package/dist/browser/dist-Cx8u0gjK.js +21 -0
  36. package/dist/browser/dist-wOC6gYFh.js +205 -0
  37. package/dist/browser/efp-debug-init-CozbueIl.js +245 -0
  38. package/dist/browser/enum-editor-CkiQPgZv.js +34 -0
  39. package/dist/browser/es5-B__Ovz45.js +1712 -0
  40. package/dist/browser/event-head-C_inMpbD.js +56 -0
  41. package/dist/browser/event-not-found-Z2mJBZE3.js +31 -0
  42. package/dist/browser/expofp-overlay.png +0 -0
  43. package/dist/browser/expofpUrl-jBUlvkwz.js +19 -0
  44. package/dist/browser/exports-CvUYw1h6.js +1525 -0
  45. package/dist/browser/favicon-BkDrYTmU.js +12 -0
  46. package/dist/browser/fetch-retry.umd-2B2pCUIS.js +78 -0
  47. package/dist/browser/flex-3lSivw8z.js +823 -0
  48. package/dist/browser/floorplan.loader-CGzIMplb.js +3282 -0
  49. package/dist/browser/floorplan.ready-r96zV9bP.js +1448 -0
  50. package/dist/browser/fonts/efp-symbols.woff +0 -0
  51. package/dist/browser/fonts/inter-400.woff2 +0 -0
  52. package/dist/browser/fonts/inter-500.woff2 +0 -0
  53. package/dist/browser/fonts/inter-600.woff2 +0 -0
  54. package/dist/browser/fonts/oswald-v17-cyrillic_latin-300.woff +0 -0
  55. package/dist/browser/fonts/oswald-v17-cyrillic_latin-500.woff +0 -0
  56. package/dist/browser/freeBanner-CnrBc9Tl.js +22 -0
  57. package/dist/browser/fuse-B7V1lkoA.js +1177 -0
  58. package/dist/browser/i18n-BgFBhYOU.js +7205 -0
  59. package/dist/browser/icons/accessible.svg +5 -0
  60. package/dist/browser/icons/arrow-down.svg +3 -0
  61. package/dist/browser/icons/bus-white.svg +3 -0
  62. package/dist/browser/icons/check.svg +3 -0
  63. package/dist/browser/icons/clear.svg +4 -0
  64. package/dist/browser/icons/departure.svg +5 -0
  65. package/dist/browser/icons/departure_inactive.svg +5 -0
  66. package/dist/browser/icons/destination.svg +5 -0
  67. package/dist/browser/icons/direction.svg +54 -0
  68. package/dist/browser/icons/dots.svg +4 -0
  69. package/dist/browser/icons/dragdrop-solid.svg +11 -0
  70. package/dist/browser/icons/facebook.svg +4 -0
  71. package/dist/browser/icons/from.svg +4 -0
  72. package/dist/browser/icons/kiosk.svg +1 -0
  73. package/dist/browser/icons/linkedin.svg +3 -0
  74. package/dist/browser/icons/rotate.svg +5 -0
  75. package/dist/browser/icons/tap.svg +5 -0
  76. package/dist/browser/icons/to.svg +4 -0
  77. package/dist/browser/icons/transition.svg +7 -0
  78. package/dist/browser/icons/transition_down.svg +15 -0
  79. package/dist/browser/icons/transition_up.svg +15 -0
  80. package/dist/browser/icons/twitter.svg +3 -0
  81. package/dist/browser/icons/yah.svg +17 -0
  82. package/dist/browser/index.html +139 -0
  83. package/dist/browser/index.js +254 -0
  84. package/dist/browser/index.module-kJmnWg5B.js +153 -0
  85. package/dist/browser/integrateKiosk-D45vYRsm.js +35 -0
  86. package/dist/browser/is-debug-BRHdrnKr.js +197 -0
  87. package/dist/browser/is-own-domain-DNvxb9Ph.js +26 -0
  88. package/dist/browser/is-webview-cTH4yz8f.js +12 -0
  89. package/dist/browser/journey-plan-DtL28HMP.js +1865 -0
  90. package/dist/browser/jsx-runtime-DQgnuS-I.js +30 -0
  91. package/dist/browser/kiosk-mode-DfkGlDkT.js +28 -0
  92. package/dist/browser/kiosk-record-JAEq8SV6.js +18 -0
  93. package/dist/browser/kioskUrlParam-CnYhnC_7.js +141 -0
  94. package/dist/browser/lib--J2yQXt6.js +1910 -0
  95. package/dist/browser/loadImage-DzSnRAxX.js +30 -0
  96. package/dist/browser/locales/ar.json +228 -0
  97. package/dist/browser/locales/da.json +229 -0
  98. package/dist/browser/locales/de.json +228 -0
  99. package/dist/browser/locales/es.json +228 -0
  100. package/dist/browser/locales/fr.json +228 -0
  101. package/dist/browser/locales/he.json +228 -0
  102. package/dist/browser/locales/it.json +228 -0
  103. package/dist/browser/locales/kk.json +228 -0
  104. package/dist/browser/locales/ko.json +228 -0
  105. package/dist/browser/locales/mn.json +228 -0
  106. package/dist/browser/locales/nl.json +228 -0
  107. package/dist/browser/locales/pl.json +228 -0
  108. package/dist/browser/locales/pt.json +228 -0
  109. package/dist/browser/locales/ru.json +228 -0
  110. package/dist/browser/locales/sv.json +228 -0
  111. package/dist/browser/locales/th.json +228 -0
  112. package/dist/browser/locales/tr.json +228 -0
  113. package/dist/browser/locales/uk.json +228 -0
  114. package/dist/browser/locales/vi.json +228 -0
  115. package/dist/browser/locales/zh.json +228 -0
  116. package/dist/browser/logDeviceInfo-BTqyv9Xe.js +58 -0
  117. package/dist/browser/mobx-C-kcS0zI.js +43 -0
  118. package/dist/browser/mobx.module-BOCLFB5I.js +2064 -0
  119. package/dist/browser/optional-boolean-editor-ZncW2HBw.js +20 -0
  120. package/dist/browser/optional-enum-editor-Dkzs9jDN.js +34 -0
  121. package/dist/browser/optional-string-editor-DC9PMUWB.js +30 -0
  122. package/dist/browser/particles.min-eC5xdOrB.js +133 -0
  123. package/dist/browser/react-DqPP-mkq.js +301 -0
  124. package/dist/browser/react-dom-BkVzoZWO.js +139 -0
  125. package/dist/browser/rolldown-runtime-DUb2xvRc.js +28 -0
  126. package/dist/browser/scheduler-NBuuaWIe.js +212 -0
  127. package/dist/browser/select-Cxf-YiNA.js +1367 -0
  128. package/dist/browser/settings-D74eG9h8.js +9 -0
  129. package/dist/browser/settings-item-DUUbKec_.js +76 -0
  130. package/dist/browser/store-q_CTsixH.js +58 -0
  131. package/dist/browser/string-editor-CINOmY_C.js +30 -0
  132. package/dist/browser/text-field-DORaOVht.js +88 -0
  133. package/dist/browser/theme-DyFm9MGz.js +2803 -0
  134. package/dist/browser/ui-DsCU3FV6.js +43 -0
  135. package/dist/browser/useRenderTarget-RFckzUJM.js +57 -0
  136. package/dist/browser/vendor/perfect-scrollbar/css/perfect-scrollbar.css +1 -0
  137. package/dist/browser/vendor/sanitize-css/sanitize.css +1 -0
  138. package/dist/browser/venue-public-BA3x-n4N.js +296 -0
  139. package/dist/browser/venues-DKpIy-87.js +447 -0
  140. package/dist/browser/viewport-B7plho3P.js +48 -0
  141. package/dist/browser/warning.png +0 -0
  142. package/dist/esm/_misc_to_move/initHtmlHead.d.ts +2 -0
  143. package/dist/esm/_misc_to_move/initHtmlHead.js +34 -0
  144. package/dist/esm/_misc_to_move/logBuildInfo.d.ts +2 -0
  145. package/dist/esm/_misc_to_move/logBuildInfo.js +35 -0
  146. package/dist/esm/_misc_to_move/logDeviceInfo.d.ts +10 -0
  147. package/dist/esm/_misc_to_move/logDeviceInfo.js +84 -0
  148. package/dist/esm/components/AlertContainer.d.ts +4 -0
  149. package/dist/esm/components/AlertContainer.js +8 -0
  150. package/dist/esm/components/AutocompleteContainer.d.ts +4 -0
  151. package/dist/esm/components/AutocompleteContainer.js +14 -0
  152. package/dist/esm/components/BaseFilterModal.d.ts +11 -0
  153. package/dist/esm/components/BaseFilterModal.js +73 -0
  154. package/dist/esm/components/Bookmarks.d.ts +3 -0
  155. package/dist/esm/components/Bookmarks.js +26 -0
  156. package/dist/esm/components/Booth/Booth.d.ts +5 -0
  157. package/dist/esm/components/Booth/Booth.js +135 -0
  158. package/dist/esm/components/Booth/BoothOnHold.d.ts +13 -0
  159. package/dist/esm/components/Booth/BoothOnHold.js +11 -0
  160. package/dist/esm/components/Booth/BoothReserved.d.ts +3 -0
  161. package/dist/esm/components/Booth/BoothReserved.js +7 -0
  162. package/dist/esm/components/Booth/BoothSpecial.d.ts +8 -0
  163. package/dist/esm/components/Booth/BoothSpecial.js +4 -0
  164. package/dist/esm/components/Booth/BoothWithoutExhibitor.d.ts +13 -0
  165. package/dist/esm/components/Booth/BoothWithoutExhibitor.js +29 -0
  166. package/dist/esm/components/Category.d.ts +5 -0
  167. package/dist/esm/components/Category.js +25 -0
  168. package/dist/esm/components/CategoryFilterModal.d.ts +3 -0
  169. package/dist/esm/components/CategoryFilterModal.js +63 -0
  170. package/dist/esm/components/CookieConsent.d.ts +9 -0
  171. package/dist/esm/components/CookieConsent.js +9 -0
  172. package/dist/esm/components/Debug.d.ts +5 -0
  173. package/dist/esm/components/Debug.js +15 -0
  174. package/dist/esm/components/Demo.d.ts +4 -0
  175. package/dist/esm/components/Demo.js +37 -0
  176. package/dist/esm/components/DownloadListContainer.d.ts +5 -0
  177. package/dist/esm/components/DownloadListContainer.js +8 -0
  178. package/dist/esm/components/EntityItemContainer.d.ts +28 -0
  179. package/dist/esm/components/EntityItemContainer.js +36 -0
  180. package/dist/esm/components/EntityList.d.ts +9 -0
  181. package/dist/esm/components/EntityList.js +144 -0
  182. package/dist/esm/components/EntityListRow.d.ts +13 -0
  183. package/dist/esm/components/EntityListRow.js +78 -0
  184. package/dist/esm/components/ErrorBoundary.d.ts +15 -0
  185. package/dist/esm/components/ErrorBoundary.js +29 -0
  186. package/dist/esm/components/Event.d.ts +5 -0
  187. package/dist/esm/components/Event.js +167 -0
  188. package/dist/esm/components/EventBadgeContainer.d.ts +8 -0
  189. package/dist/esm/components/EventBadgeContainer.js +29 -0
  190. package/dist/esm/components/Exhibitor.d.ts +5 -0
  191. package/dist/esm/components/Exhibitor.js +299 -0
  192. package/dist/esm/components/Filter.d.ts +4 -0
  193. package/dist/esm/components/Filter.js +24 -0
  194. package/dist/esm/components/Free.d.ts +4 -0
  195. package/dist/esm/components/Free.js +31 -0
  196. package/dist/esm/components/GalleryContainer.d.ts +6 -0
  197. package/dist/esm/components/GalleryContainer.js +55 -0
  198. package/dist/esm/components/GlobalErrorMessage.d.ts +4 -0
  199. package/dist/esm/components/GlobalErrorMessage.js +9 -0
  200. package/dist/esm/components/GpsLoader.d.ts +5 -0
  201. package/dist/esm/components/GpsLoader.js +29 -0
  202. package/dist/esm/components/HeatmapLegendContainer.d.ts +5 -0
  203. package/dist/esm/components/HeatmapLegendContainer.js +13 -0
  204. package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
  205. package/dist/esm/components/HighlightTextContainer.js +10 -0
  206. package/dist/esm/components/IntercomLauncher.d.ts +5 -0
  207. package/dist/esm/components/IntercomLauncher.js +20 -0
  208. package/dist/esm/components/JourneyPanel.d.ts +35 -0
  209. package/dist/esm/components/JourneyPanel.js +68 -0
  210. package/dist/esm/components/Kiosk/KioskStore.d.ts +60 -0
  211. package/dist/esm/components/Kiosk/KioskStore.js +411 -0
  212. package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.d.ts +5 -0
  213. package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +8 -0
  214. package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.d.ts +5 -0
  215. package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +24 -0
  216. package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.d.ts +5 -0
  217. package/dist/esm/components/Kiosk/SetKiosk/Message/InfoMessage.js +7 -0
  218. package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.d.ts +5 -0
  219. package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +78 -0
  220. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.d.ts +5 -0
  221. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +10 -0
  222. package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.d.ts +5 -0
  223. package/dist/esm/components/Kiosk/SetKiosk/SetKioskStatusMessages.js +15 -0
  224. package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +6 -0
  225. package/dist/esm/components/Kiosk/SetKiosk/constants.js +6 -0
  226. package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.d.ts +2 -0
  227. package/dist/esm/components/Kiosk/SetKiosk/getKioskUrlParamKey.js +4 -0
  228. package/dist/esm/components/Kiosk/SetKiosk/getName.d.ts +2 -0
  229. package/dist/esm/components/Kiosk/SetKiosk/getName.js +2 -0
  230. package/dist/esm/components/Kiosk/SetKiosk/getSlug.d.ts +2 -0
  231. package/dist/esm/components/Kiosk/SetKiosk/getSlug.js +2 -0
  232. package/dist/esm/components/Kiosk/SetKiosk/index.d.ts +7 -0
  233. package/dist/esm/components/Kiosk/SetKiosk/index.js +6 -0
  234. package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +5 -0
  235. package/dist/esm/components/Kiosk/SetKiosk/storage.js +21 -0
  236. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +109 -0
  237. package/dist/esm/components/Kiosk/SetKiosk/types.js +1 -0
  238. package/dist/esm/components/Kiosk/SetKioskMode.d.ts +3 -0
  239. package/dist/esm/components/Kiosk/SetKioskMode.js +35 -0
  240. package/dist/esm/components/Kiosk/ShowKiosk.d.ts +3 -0
  241. package/dist/esm/components/Kiosk/ShowKiosk.js +72 -0
  242. package/dist/esm/components/Kiosk/integrateKiosk.d.ts +10 -0
  243. package/dist/esm/components/Kiosk/integrateKiosk.js +68 -0
  244. package/dist/esm/components/Kiosk/kiosk-mode.d.ts +26 -0
  245. package/dist/esm/components/Kiosk/kiosk-mode.js +56 -0
  246. package/dist/esm/components/Kiosk/kiosk-record.d.ts +23 -0
  247. package/dist/esm/components/Kiosk/kiosk-record.js +29 -0
  248. package/dist/esm/components/Kiosk/kioskApi.d.ts +4 -0
  249. package/dist/esm/components/Kiosk/kioskApi.js +47 -0
  250. package/dist/esm/components/Kiosk/kioskUrlParam.d.ts +8 -0
  251. package/dist/esm/components/Kiosk/kioskUrlParam.js +46 -0
  252. package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.d.ts +2 -0
  253. package/dist/esm/components/Kiosk/recoverKioskFromUrlPrams.js +9 -0
  254. package/dist/esm/components/Language.d.ts +4 -0
  255. package/dist/esm/components/Language.js +15 -0
  256. package/dist/esm/components/LanguageRowContainer.d.ts +7 -0
  257. package/dist/esm/components/LanguageRowContainer.js +9 -0
  258. package/dist/esm/components/Layout.d.ts +11 -0
  259. package/dist/esm/components/Layout.js +160 -0
  260. package/dist/esm/components/LevelBadgeContainer.d.ts +6 -0
  261. package/dist/esm/components/LevelBadgeContainer.js +10 -0
  262. package/dist/esm/components/List.d.ts +9 -0
  263. package/dist/esm/components/List.js +77 -0
  264. package/dist/esm/components/LogoOverlay.d.ts +3 -0
  265. package/dist/esm/components/LogoOverlay.js +78 -0
  266. package/dist/esm/components/Map/Map.d.ts +2 -0
  267. package/dist/esm/components/Map/Map.js +242 -0
  268. package/dist/esm/components/Map/MapCamera.d.ts +17 -0
  269. package/dist/esm/components/Map/MapCamera.js +194 -0
  270. package/dist/esm/components/Map/MapCursorCoords.d.ts +13 -0
  271. package/dist/esm/components/Map/MapCursorCoords.js +61 -0
  272. package/dist/esm/components/Map/MapViewport.d.ts +12 -0
  273. package/dist/esm/components/Map/MapViewport.js +29 -0
  274. package/dist/esm/components/Map/booth-by-xy.d.ts +14 -0
  275. package/dist/esm/components/Map/booth-by-xy.js +128 -0
  276. package/dist/esm/components/Map/camera-events.d.ts +19 -0
  277. package/dist/esm/components/Map/camera-events.js +26 -0
  278. package/dist/esm/components/Map/camera.d.ts +48 -0
  279. package/dist/esm/components/Map/camera.js +43 -0
  280. package/dist/esm/components/Map/drawing/config/BoothDrawerBase.d.ts +8 -0
  281. package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +8 -0
  282. package/dist/esm/components/Map/drawing/config/BoothShape.d.ts +7 -0
  283. package/dist/esm/components/Map/drawing/config/BoothShape.js +76 -0
  284. package/dist/esm/components/Map/drawing/config/TextFitter.d.ts +11 -0
  285. package/dist/esm/components/Map/drawing/config/TextFitter.js +174 -0
  286. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.d.ts +130 -0
  287. package/dist/esm/components/Map/drawing/config/booth-badge-anchor.js +306 -0
  288. package/dist/esm/components/Map/drawing/config/booth-logos.d.ts +38 -0
  289. package/dist/esm/components/Map/drawing/config/booth-logos.js +94 -0
  290. package/dist/esm/components/Map/drawing/config/canvases.d.ts +96 -0
  291. package/dist/esm/components/Map/drawing/config/canvases.js +434 -0
  292. package/dist/esm/components/Map/drawing/config/config-all.d.ts +6 -0
  293. package/dist/esm/components/Map/drawing/config/config-all.js +92 -0
  294. package/dist/esm/components/Map/drawing/config/config-bg.d.ts +8 -0
  295. package/dist/esm/components/Map/drawing/config/config-bg.js +54 -0
  296. package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.d.ts +28 -0
  297. package/dist/esm/components/Map/drawing/config/config-booth-badge-eligibility.js +7 -0
  298. package/dist/esm/components/Map/drawing/config/config-booth-badge-scale.d.ts +20 -0
  299. package/dist/esm/components/Map/drawing/config/config-booth-badge-scale.js +11 -0
  300. package/dist/esm/components/Map/drawing/config/config-booth-badge-visibility.d.ts +37 -0
  301. package/dist/esm/components/Map/drawing/config/config-booth-badge-visibility.js +3 -0
  302. package/dist/esm/components/Map/drawing/config/config-booth-badge.d.ts +90 -0
  303. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +326 -0
  304. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +33 -0
  305. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +240 -0
  306. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +24 -0
  307. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +65 -0
  308. package/dist/esm/components/Map/drawing/config/config-booth-border.d.ts +12 -0
  309. package/dist/esm/components/Map/drawing/config/config-booth-border.js +92 -0
  310. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.d.ts +28 -0
  311. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +147 -0
  312. package/dist/esm/components/Map/drawing/config/config-booth-labels.d.ts +63 -0
  313. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +380 -0
  314. package/dist/esm/components/Map/drawing/config/config-booths.d.ts +5 -0
  315. package/dist/esm/components/Map/drawing/config/config-booths.js +152 -0
  316. package/dist/esm/components/Map/drawing/config/config-load-layer.d.ts +4 -0
  317. package/dist/esm/components/Map/drawing/config/config-load-layer.js +119 -0
  318. package/dist/esm/components/Map/drawing/config/config-markers.d.ts +42 -0
  319. package/dist/esm/components/Map/drawing/config/config-markers.js +278 -0
  320. package/dist/esm/components/Map/drawing/config/config-outdoor-poi.d.ts +19 -0
  321. package/dist/esm/components/Map/drawing/config/config-outdoor-poi.js +96 -0
  322. package/dist/esm/components/Map/drawing/config/config-pins.d.ts +40 -0
  323. package/dist/esm/components/Map/drawing/config/config-pins.js +533 -0
  324. package/dist/esm/components/Map/drawing/config/label-inset.d.ts +26 -0
  325. package/dist/esm/components/Map/drawing/config/label-inset.js +26 -0
  326. package/dist/esm/components/Map/drawing/config/layer-images.d.ts +24 -0
  327. package/dist/esm/components/Map/drawing/config/layer-images.js +32 -0
  328. package/dist/esm/components/Map/drawing/config/layer-models.d.ts +31 -0
  329. package/dist/esm/components/Map/drawing/config/layer-models.js +38 -0
  330. package/dist/esm/components/Map/drawing/config/loadBoothsImages.d.ts +45 -0
  331. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +99 -0
  332. package/dist/esm/components/Map/drawing/config/pin-geometry.d.ts +65 -0
  333. package/dist/esm/components/Map/drawing/config/pin-geometry.js +75 -0
  334. package/dist/esm/components/Map/drawing/config/poi-pin-shape.d.ts +100 -0
  335. package/dist/esm/components/Map/drawing/config/poi-pin-shape.js +51 -0
  336. package/dist/esm/components/Map/drawing/config/poi-pin.d.ts +10 -0
  337. package/dist/esm/components/Map/drawing/config/poi-pin.js +88 -0
  338. package/dist/esm/components/Map/drawing/config/selection-style.d.ts +12 -0
  339. package/dist/esm/components/Map/drawing/config/selection-style.js +18 -0
  340. package/dist/esm/components/Map/framing-rect.d.ts +16 -0
  341. package/dist/esm/components/Map/framing-rect.js +24 -0
  342. package/dist/esm/components/Map/pointer.d.ts +79 -0
  343. package/dist/esm/components/Map/pointer.js +181 -0
  344. package/dist/esm/components/Map/scene.d.ts +20 -0
  345. package/dist/esm/components/Map/scene.js +24 -0
  346. package/dist/esm/components/Map/traffic/UpdateQueue.d.ts +13 -0
  347. package/dist/esm/components/Map/traffic/UpdateQueue.js +82 -0
  348. package/dist/esm/components/Map/traffic/trafficLayers.d.ts +12 -0
  349. package/dist/esm/components/Map/traffic/trafficLayers.js +29 -0
  350. package/dist/esm/components/Map/traffic/useBuildRoute.d.ts +9 -0
  351. package/dist/esm/components/Map/traffic/useBuildRoute.js +359 -0
  352. package/dist/esm/components/Map/traffic/useManageTraffic.d.ts +10 -0
  353. package/dist/esm/components/Map/traffic/useManageTraffic.js +643 -0
  354. package/dist/esm/components/Map/viewport.d.ts +63 -0
  355. package/dist/esm/components/Map/viewport.js +82 -0
  356. package/dist/esm/components/Map/with-kiosk.d.ts +11 -0
  357. package/dist/esm/components/Map/with-kiosk.js +25 -0
  358. package/dist/esm/components/MapControlsContainer.d.ts +3 -0
  359. package/dist/esm/components/MapControlsContainer.js +58 -0
  360. package/dist/esm/components/Maplibre/CollapsedAttributionControl.d.ts +12 -0
  361. package/dist/esm/components/Maplibre/CollapsedAttributionControl.js +19 -0
  362. package/dist/esm/components/Maplibre/ExpofpLogoControl.d.ts +20 -0
  363. package/dist/esm/components/Maplibre/ExpofpLogoControl.js +39 -0
  364. package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +18 -0
  365. package/dist/esm/components/Maplibre/MaplibreAdapter.js +354 -0
  366. package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +111 -0
  367. package/dist/esm/components/Maplibre/MaplibreWrapper.js +310 -0
  368. package/dist/esm/components/Maplibre/maplibre-recovery.d.ts +4 -0
  369. package/dist/esm/components/Maplibre/maplibre-recovery.js +4 -0
  370. package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.d.ts +3 -0
  371. package/dist/esm/components/Maplibre/styles/mapbox-streets-bright.js +7048 -0
  372. package/dist/esm/components/Maplibre/styles/mapbox-streets.d.ts +3 -0
  373. package/dist/esm/components/Maplibre/styles/mapbox-streets.js +6132 -0
  374. package/dist/esm/components/Maplibre/useCameraReactions.d.ts +14 -0
  375. package/dist/esm/components/Maplibre/useCameraReactions.js +256 -0
  376. package/dist/esm/components/Maplibre/useDimming.d.ts +25 -0
  377. package/dist/esm/components/Maplibre/useDimming.js +61 -0
  378. package/dist/esm/components/Maplibre/useJourneyConnector.d.ts +16 -0
  379. package/dist/esm/components/Maplibre/useJourneyConnector.js +175 -0
  380. package/dist/esm/components/Maplibre/useKioskCameraEvents.d.ts +20 -0
  381. package/dist/esm/components/Maplibre/useKioskCameraEvents.js +52 -0
  382. package/dist/esm/components/Maplibre/useLayerVisibilitySync.d.ts +25 -0
  383. package/dist/esm/components/Maplibre/useLayerVisibilitySync.js +85 -0
  384. package/dist/esm/components/Maplibre/usePoiMarkers.d.ts +25 -0
  385. package/dist/esm/components/Maplibre/usePoiMarkers.js +368 -0
  386. package/dist/esm/components/Maplibre/useVenueCameraTracking.d.ts +6 -0
  387. package/dist/esm/components/Maplibre/useVenueCameraTracking.js +115 -0
  388. package/dist/esm/components/Maplibre/useVenueLayers.d.ts +15 -0
  389. package/dist/esm/components/Maplibre/useVenueLayers.js +463 -0
  390. package/dist/esm/components/Maplibre/useWayfindingAndMarkers.d.ts +11 -0
  391. package/dist/esm/components/Maplibre/useWayfindingAndMarkers.js +23 -0
  392. package/dist/esm/components/Maplibre/utils/basemap-palette.d.ts +19 -0
  393. package/dist/esm/components/Maplibre/utils/basemap-palette.js +125 -0
  394. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +92 -0
  395. package/dist/esm/components/Maplibre/utils/geo-config.js +305 -0
  396. package/dist/esm/components/Maplibre/utils/hit-test-registry.d.ts +18 -0
  397. package/dist/esm/components/Maplibre/utils/hit-test-registry.js +17 -0
  398. package/dist/esm/components/Maplibre/utils/layer-defs.d.ts +9 -0
  399. package/dist/esm/components/Maplibre/utils/layer-defs.js +19 -0
  400. package/dist/esm/components/Maplibre/utils/local-viewport.d.ts +13 -0
  401. package/dist/esm/components/Maplibre/utils/local-viewport.js +31 -0
  402. package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +21 -0
  403. package/dist/esm/components/Maplibre/utils/map-helpers.js +85 -0
  404. package/dist/esm/components/Maplibre/utils/map-theme.d.ts +20 -0
  405. package/dist/esm/components/Maplibre/utils/map-theme.js +44 -0
  406. package/dist/esm/components/Maplibre/utils/marker-layer-order.d.ts +22 -0
  407. package/dist/esm/components/Maplibre/utils/marker-layer-order.js +20 -0
  408. package/dist/esm/components/Maplibre/utils/pmtiles-range-fallback.d.ts +53 -0
  409. package/dist/esm/components/Maplibre/utils/pmtiles-range-fallback.js +110 -0
  410. package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +8 -0
  411. package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.js +8 -0
  412. package/dist/esm/components/Maplibre/utils/resolve-map-style.d.ts +19 -0
  413. package/dist/esm/components/Maplibre/utils/resolve-map-style.js +73 -0
  414. package/dist/esm/components/Maplibre/utils/solver.d.ts +23 -0
  415. package/dist/esm/components/Maplibre/utils/solver.js +238 -0
  416. package/dist/esm/components/Maplibre/utils/style-fonts.d.ts +10 -0
  417. package/dist/esm/components/Maplibre/utils/style-fonts.js +24 -0
  418. package/dist/esm/components/Maplibre/utils/venue-calibration-console.d.ts +10 -0
  419. package/dist/esm/components/Maplibre/utils/venue-calibration-console.js +130 -0
  420. package/dist/esm/components/Maplibre/utils/venue-calibration.d.ts +127 -0
  421. package/dist/esm/components/Maplibre/utils/venue-calibration.js +144 -0
  422. package/dist/esm/components/Maplibre/utils/venue-camera-target.d.ts +15 -0
  423. package/dist/esm/components/Maplibre/utils/venue-camera-target.js +19 -0
  424. package/dist/esm/components/Maplibre/utils/venue-contour.d.ts +50 -0
  425. package/dist/esm/components/Maplibre/utils/venue-contour.fixture.d.ts +18 -0
  426. package/dist/esm/components/Maplibre/utils/venue-contour.fixture.js +69 -0
  427. package/dist/esm/components/Maplibre/utils/venue-contour.js +188 -0
  428. package/dist/esm/components/Maplibre/utils/venue-focus.d.ts +26 -0
  429. package/dist/esm/components/Maplibre/utils/venue-focus.js +106 -0
  430. package/dist/esm/components/Maplibre/utils/venue-legibility.d.ts +30 -0
  431. package/dist/esm/components/Maplibre/utils/venue-legibility.js +52 -0
  432. package/dist/esm/components/Maplibre/utils/venue-pin-rasterize.d.ts +88 -0
  433. package/dist/esm/components/Maplibre/utils/venue-pin-rasterize.js +220 -0
  434. package/dist/esm/components/Maplibre/utils/venue-projection.d.ts +37 -0
  435. package/dist/esm/components/Maplibre/utils/venue-projection.js +88 -0
  436. package/dist/esm/components/Maplibre/utils/venue-tap-hit-test.d.ts +9 -0
  437. package/dist/esm/components/Maplibre/utils/venue-tap-hit-test.js +9 -0
  438. package/dist/esm/components/Maplibre/utils/venue-viewport-detail.d.ts +19 -0
  439. package/dist/esm/components/Maplibre/utils/venue-viewport-detail.js +24 -0
  440. package/dist/esm/components/Maplibre/utils/venue-zoom.d.ts +23 -0
  441. package/dist/esm/components/Maplibre/utils/venue-zoom.js +62 -0
  442. package/dist/esm/components/Menu.d.ts +11 -0
  443. package/dist/esm/components/Menu.js +94 -0
  444. package/dist/esm/components/MobileToggleButtonContainer.d.ts +3 -0
  445. package/dist/esm/components/MobileToggleButtonContainer.js +24 -0
  446. package/dist/esm/components/ModalContainer.d.ts +41 -0
  447. package/dist/esm/components/ModalContainer.js +10 -0
  448. package/dist/esm/components/MultiSelectGroupsContainer.d.ts +5 -0
  449. package/dist/esm/components/MultiSelectGroupsContainer.js +8 -0
  450. package/dist/esm/components/OverlayContainer.d.ts +8 -0
  451. package/dist/esm/components/OverlayContainer.js +82 -0
  452. package/dist/esm/components/OverlayGripContainer.d.ts +4 -0
  453. package/dist/esm/components/OverlayGripContainer.js +11 -0
  454. package/dist/esm/components/OverlayParticles.d.ts +5 -0
  455. package/dist/esm/components/OverlayParticles.js +54 -0
  456. package/dist/esm/components/PlanSelectorContainer.d.ts +3 -0
  457. package/dist/esm/components/PlanSelectorContainer.js +79 -0
  458. package/dist/esm/components/RebookingNotesContainer.d.ts +4 -0
  459. package/dist/esm/components/RebookingNotesContainer.js +8 -0
  460. package/dist/esm/components/RebookingRadioGroupContainer.d.ts +6 -0
  461. package/dist/esm/components/RebookingRadioGroupContainer.js +23 -0
  462. package/dist/esm/components/RoutePlanner/RoutePlanner.d.ts +5 -0
  463. package/dist/esm/components/RoutePlanner/RoutePlanner.js +25 -0
  464. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.d.ts +4 -0
  465. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +11 -0
  466. package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.d.ts +9 -0
  467. package/dist/esm/components/RoutePlanner/RoutePlannerStartPoint.js +21 -0
  468. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.d.ts +9 -0
  469. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +41 -0
  470. package/dist/esm/components/RouteQR.d.ts +12 -0
  471. package/dist/esm/components/RouteQR.js +10 -0
  472. package/dist/esm/components/Schedule.d.ts +13 -0
  473. package/dist/esm/components/Schedule.js +109 -0
  474. package/dist/esm/components/ScrollableRowContainer.d.ts +6 -0
  475. package/dist/esm/components/ScrollableRowContainer.js +11 -0
  476. package/dist/esm/components/Search.d.ts +5 -0
  477. package/dist/esm/components/Search.js +45 -0
  478. package/dist/esm/components/SearchBox.d.ts +7 -0
  479. package/dist/esm/components/SearchBox.js +171 -0
  480. package/dist/esm/components/SearchButtons/SearchButton.d.ts +20 -0
  481. package/dist/esm/components/SearchButtons/SearchButton.js +30 -0
  482. package/dist/esm/components/SearchButtons/SearchButtons.d.ts +4 -0
  483. package/dist/esm/components/SearchButtons/SearchButtons.js +25 -0
  484. package/dist/esm/components/SearchButtons/SearchSubButton.d.ts +14 -0
  485. package/dist/esm/components/SearchButtons/SearchSubButton.js +12 -0
  486. package/dist/esm/components/SearchButtons/SearchSubButtons.d.ts +5 -0
  487. package/dist/esm/components/SearchButtons/SearchSubButtons.js +43 -0
  488. package/dist/esm/components/SearchButtons/index.d.ts +7 -0
  489. package/dist/esm/components/SearchButtons/index.js +5 -0
  490. package/dist/esm/components/Sessions.d.ts +8 -0
  491. package/dist/esm/components/Sessions.js +128 -0
  492. package/dist/esm/components/SessionsFiltersModal.d.ts +11 -0
  493. package/dist/esm/components/SessionsFiltersModal.js +105 -0
  494. package/dist/esm/components/SessionsList.d.ts +12 -0
  495. package/dist/esm/components/SessionsList.js +212 -0
  496. package/dist/esm/components/ShareContainer.d.ts +7 -0
  497. package/dist/esm/components/ShareContainer.js +29 -0
  498. package/dist/esm/components/Shortcuts/ShortcutButton.d.ts +9 -0
  499. package/dist/esm/components/Shortcuts/ShortcutButton.js +25 -0
  500. package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.d.ts +9 -0
  501. package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +41 -0
  502. package/dist/esm/components/Shortcuts/ShortcutsToolbar.d.ts +10 -0
  503. package/dist/esm/components/Shortcuts/ShortcutsToolbar.js +22 -0
  504. package/dist/esm/components/Shortcuts/index.d.ts +4 -0
  505. package/dist/esm/components/Shortcuts/index.js +4 -0
  506. package/dist/esm/components/ShowMoreButtonContainer.d.ts +5 -0
  507. package/dist/esm/components/ShowMoreButtonContainer.js +8 -0
  508. package/dist/esm/components/SidebarActionsContainer.d.ts +5 -0
  509. package/dist/esm/components/SidebarActionsContainer.js +8 -0
  510. package/dist/esm/components/SimpleRowContainer.d.ts +8 -0
  511. package/dist/esm/components/SimpleRowContainer.js +8 -0
  512. package/dist/esm/components/Speaker.d.ts +5 -0
  513. package/dist/esm/components/Speaker.js +72 -0
  514. package/dist/esm/components/Speakers.d.ts +8 -0
  515. package/dist/esm/components/Speakers.js +63 -0
  516. package/dist/esm/components/SpeakersFiltersModal.d.ts +11 -0
  517. package/dist/esm/components/SpeakersFiltersModal.js +77 -0
  518. package/dist/esm/components/TourPoints.d.ts +4 -0
  519. package/dist/esm/components/TourPoints.js +20 -0
  520. package/dist/esm/components/Tours.d.ts +7 -0
  521. package/dist/esm/components/Tours.js +54 -0
  522. package/dist/esm/components/ToursList.d.ts +10 -0
  523. package/dist/esm/components/ToursList.js +22 -0
  524. package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
  525. package/dist/esm/components/ViewerMenuPanel.js +61 -0
  526. package/dist/esm/components/Visited.d.ts +4 -0
  527. package/dist/esm/components/Visited.js +13 -0
  528. package/dist/esm/components/WayInformation.d.ts +14 -0
  529. package/dist/esm/components/WayInformation.js +8 -0
  530. package/dist/esm/components/Wayfinding.d.ts +4 -0
  531. package/dist/esm/components/Wayfinding.js +285 -0
  532. package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
  533. package/dist/esm/components/WayfindingFloorSelectorContainer.js +12 -0
  534. package/dist/esm/components/WayfindingTemplate.d.ts +66 -0
  535. package/dist/esm/components/WayfindingTemplate.js +14 -0
  536. package/dist/esm/components/Ws.d.ts +5 -0
  537. package/dist/esm/components/Ws.js +131 -0
  538. package/dist/esm/components/YahRow.d.ts +8 -0
  539. package/dist/esm/components/YahRow.js +25 -0
  540. package/dist/esm/components/gps/GpsManager.d.ts +13 -0
  541. package/dist/esm/components/gps/GpsManager.js +60 -0
  542. package/dist/esm/components/gps/GpsPermissionRequest.d.ts +8 -0
  543. package/dist/esm/components/gps/GpsPermissionRequest.js +10 -0
  544. package/dist/esm/components/gps/index.d.ts +5 -0
  545. package/dist/esm/components/gps/index.js +3 -0
  546. package/dist/esm/components/gps/types.d.ts +7 -0
  547. package/dist/esm/components/gps/types.js +1 -0
  548. package/dist/esm/components/gps/useUserLocationAndHeading.d.ts +8 -0
  549. package/dist/esm/components/gps/useUserLocationAndHeading.js +122 -0
  550. package/dist/esm/components/gps/utils.d.ts +5 -0
  551. package/dist/esm/components/gps/utils.js +11 -0
  552. package/dist/esm/components/heatmap-legend-ticks.d.ts +11 -0
  553. package/dist/esm/components/heatmap-legend-ticks.js +18 -0
  554. package/dist/esm/components/index.d.ts +114 -0
  555. package/dist/esm/components/index.js +76 -0
  556. package/dist/esm/components/utils/entity-venue-grouping.d.ts +32 -0
  557. package/dist/esm/components/utils/entity-venue-grouping.js +43 -0
  558. package/dist/esm/components/utils/getDescription.d.ts +19 -0
  559. package/dist/esm/components/utils/getDescription.js +35 -0
  560. package/dist/esm/constants.d.ts +44 -0
  561. package/dist/esm/constants.js +66 -0
  562. package/dist/esm/data/fp-payloads.d.ts +27 -0
  563. package/dist/esm/data/fp-payloads.js +53 -0
  564. package/dist/esm/data/fpGeo.d.ts +45 -0
  565. package/dist/esm/data/fpGeo.js +9 -0
  566. package/dist/esm/data/index.d.ts +15 -0
  567. package/dist/esm/data/index.js +15 -0
  568. package/dist/esm/data/layer-viewbox.d.ts +10 -0
  569. package/dist/esm/data/layer-viewbox.js +20 -0
  570. package/dist/esm/data/svg.d.ts +43 -0
  571. package/dist/esm/data/svg.js +210 -0
  572. package/dist/esm/data/tours.json +280 -0
  573. package/dist/esm/data/venue-scene-preload.d.ts +34 -0
  574. package/dist/esm/data/venue-scene-preload.js +205 -0
  575. package/dist/esm/data/venues.d.ts +145 -0
  576. package/dist/esm/data/venues.js +955 -0
  577. package/dist/esm/engine/defs.d.ts +38 -0
  578. package/dist/esm/engine/defs.js +85 -0
  579. package/dist/esm/engine/fonts.d.ts +9 -0
  580. package/dist/esm/engine/fonts.js +12 -0
  581. package/dist/esm/engine/update-def.d.ts +55 -0
  582. package/dist/esm/engine/update-def.js +127 -0
  583. package/dist/esm/engine/utils/rotation.d.ts +13 -0
  584. package/dist/esm/engine/utils/rotation.js +73 -0
  585. package/dist/esm/floorplan.loader.d.ts +164 -0
  586. package/dist/esm/floorplan.loader.js +540 -0
  587. package/dist/esm/floorplan.ready.d.ts +149 -0
  588. package/dist/esm/floorplan.ready.js +1083 -0
  589. package/dist/esm/hooks/useURLFilters.d.ts +15 -0
  590. package/dist/esm/hooks/useURLFilters.js +44 -0
  591. package/dist/esm/index.d.ts +3 -0
  592. package/dist/esm/index.js +12 -0
  593. package/dist/esm/intercom/bootIntercom.d.ts +3 -0
  594. package/dist/esm/intercom/bootIntercom.js +47 -0
  595. package/dist/esm/intercom/index.d.ts +3 -0
  596. package/dist/esm/intercom/index.js +1 -0
  597. package/dist/esm/intercom/shouldLoad.d.ts +4 -0
  598. package/dist/esm/intercom/shouldLoad.js +74 -0
  599. package/dist/esm/intercom/types.d.ts +6 -0
  600. package/dist/esm/intercom/types.js +1 -0
  601. package/dist/esm/internal-settings.d.ts +13 -0
  602. package/dist/esm/internal-settings.js +6 -0
  603. package/dist/esm/journey/external-navigation.d.ts +30 -0
  604. package/dist/esm/journey/external-navigation.js +38 -0
  605. package/dist/esm/journey/format-distance.d.ts +14 -0
  606. package/dist/esm/journey/format-distance.js +38 -0
  607. package/dist/esm/journey/index.d.ts +16 -0
  608. package/dist/esm/journey/index.js +15 -0
  609. package/dist/esm/journey/journey-context.d.ts +140 -0
  610. package/dist/esm/journey/journey-context.js +137 -0
  611. package/dist/esm/journey/journey-link.d.ts +49 -0
  612. package/dist/esm/journey/journey-link.js +35 -0
  613. package/dist/esm/journey/journey-stage.d.ts +35 -0
  614. package/dist/esm/journey/journey-stage.js +28 -0
  615. package/dist/esm/journey/maps-provider.d.ts +36 -0
  616. package/dist/esm/journey/maps-provider.js +58 -0
  617. package/dist/esm/journey/plan-journey.d.ts +37 -0
  618. package/dist/esm/journey/plan-journey.js +176 -0
  619. package/dist/esm/journey/types.d.ts +294 -0
  620. package/dist/esm/journey/types.js +1 -0
  621. package/dist/esm/load-dev.d.ts +44 -0
  622. package/dist/esm/load-dev.js +60 -0
  623. package/dist/esm/load.d.ts +17 -0
  624. package/dist/esm/load.js +244 -0
  625. package/dist/esm/locales.d.ts +25 -0
  626. package/dist/esm/locales.js +23 -0
  627. package/dist/esm/offline/constants.d.ts +5 -0
  628. package/dist/esm/offline/constants.js +4 -0
  629. package/dist/esm/offline/offlineManager.d.ts +2 -0
  630. package/dist/esm/offline/offlineManager.js +78 -0
  631. package/dist/esm/plan-lifecycle.d.ts +65 -0
  632. package/dist/esm/plan-lifecycle.js +97 -0
  633. package/dist/esm/schemas/sdk.schemas.d.ts +25 -0
  634. package/dist/esm/schemas/sdk.schemas.js +24 -0
  635. package/dist/esm/services/URLFilterManager.d.ts +39 -0
  636. package/dist/esm/services/URLFilterManager.js +379 -0
  637. package/dist/esm/services/multi-slug.d.ts +20 -0
  638. package/dist/esm/services/multi-slug.js +30 -0
  639. package/dist/esm/services/url-dispatch.d.ts +22 -0
  640. package/dist/esm/services/url-dispatch.js +707 -0
  641. package/dist/esm/services/url-sync.d.ts +40 -0
  642. package/dist/esm/services/url-sync.js +185 -0
  643. package/dist/esm/store/BaseFilterStore.d.ts +17 -0
  644. package/dist/esm/store/BaseFilterStore.js +63 -0
  645. package/dist/esm/store/BookmarksStore.d.ts +9 -0
  646. package/dist/esm/store/BookmarksStore.js +28 -0
  647. package/dist/esm/store/BoothStore.d.ts +105 -0
  648. package/dist/esm/store/BoothStore.js +194 -0
  649. package/dist/esm/store/CategoryFilterStore.d.ts +13 -0
  650. package/dist/esm/store/CategoryFilterStore.js +60 -0
  651. package/dist/esm/store/CategoryStore.d.ts +21 -0
  652. package/dist/esm/store/CategoryStore.js +30 -0
  653. package/dist/esm/store/EventStore.d.ts +56 -0
  654. package/dist/esm/store/EventStore.js +188 -0
  655. package/dist/esm/store/ExhibitorStore.d.ts +86 -0
  656. package/dist/esm/store/ExhibitorStore.js +175 -0
  657. package/dist/esm/store/FuzzySearchEngineStore.d.ts +15 -0
  658. package/dist/esm/store/FuzzySearchEngineStore.js +45 -0
  659. package/dist/esm/store/HeatmapStore.d.ts +51 -0
  660. package/dist/esm/store/HeatmapStore.js +100 -0
  661. package/dist/esm/store/IntercomStore.d.ts +7 -0
  662. package/dist/esm/store/IntercomStore.js +26 -0
  663. package/dist/esm/store/LayerStore.d.ts +70 -0
  664. package/dist/esm/store/LayerStore.js +399 -0
  665. package/dist/esm/store/MaplibreStore.d.ts +71 -0
  666. package/dist/esm/store/MaplibreStore.js +137 -0
  667. package/dist/esm/store/OverlayStore.d.ts +32 -0
  668. package/dist/esm/store/OverlayStore.js +68 -0
  669. package/dist/esm/store/PoiMarkerStore.d.ts +76 -0
  670. package/dist/esm/store/PoiMarkerStore.js +97 -0
  671. package/dist/esm/store/PoiTypeStore.d.ts +8 -0
  672. package/dist/esm/store/PoiTypeStore.js +6 -0
  673. package/dist/esm/store/RootStore.d.ts +118 -0
  674. package/dist/esm/store/RootStore.js +666 -0
  675. package/dist/esm/store/RoutePlannerStore.d.ts +56 -0
  676. package/dist/esm/store/RoutePlannerStore.js +322 -0
  677. package/dist/esm/store/RouteStore.d.ts +138 -0
  678. package/dist/esm/store/RouteStore.js +692 -0
  679. package/dist/esm/store/SearchButtonsStore.d.ts +2 -0
  680. package/dist/esm/store/SearchButtonsStore.js +2 -0
  681. package/dist/esm/store/SearchStore.d.ts +81 -0
  682. package/dist/esm/store/SearchStore.js +612 -0
  683. package/dist/esm/store/SessionsFilterStore.d.ts +53 -0
  684. package/dist/esm/store/SessionsFilterStore.js +169 -0
  685. package/dist/esm/store/ShortcutProvider.d.ts +26 -0
  686. package/dist/esm/store/ShortcutProvider.js +5 -0
  687. package/dist/esm/store/ShortcutRegistry.d.ts +33 -0
  688. package/dist/esm/store/ShortcutRegistry.js +130 -0
  689. package/dist/esm/store/SpeakerFilterStore.d.ts +39 -0
  690. package/dist/esm/store/SpeakerFilterStore.js +152 -0
  691. package/dist/esm/store/SpeakerStore.d.ts +45 -0
  692. package/dist/esm/store/SpeakerStore.js +142 -0
  693. package/dist/esm/store/SubButtonProvider.d.ts +16 -0
  694. package/dist/esm/store/SubButtonProvider.js +6 -0
  695. package/dist/esm/store/SubButtonRegistry.d.ts +16 -0
  696. package/dist/esm/store/SubButtonRegistry.js +58 -0
  697. package/dist/esm/store/ToursStore.d.ts +30 -0
  698. package/dist/esm/store/ToursStore.js +184 -0
  699. package/dist/esm/store/UIState.d.ts +329 -0
  700. package/dist/esm/store/UIState.js +2138 -0
  701. package/dist/esm/store/VenueStore.d.ts +254 -0
  702. package/dist/esm/store/VenueStore.js +650 -0
  703. package/dist/esm/store/create-live-plan.d.ts +13 -0
  704. package/dist/esm/store/create-live-plan.js +25 -0
  705. package/dist/esm/store/details-events.d.ts +11 -0
  706. package/dist/esm/store/details-events.js +76 -0
  707. package/dist/esm/store/floor-activated-notifier.d.ts +18 -0
  708. package/dist/esm/store/floor-activated-notifier.js +22 -0
  709. package/dist/esm/store/index.d.ts +3 -0
  710. package/dist/esm/store/index.js +14 -0
  711. package/dist/esm/store/init/index.d.ts +3 -0
  712. package/dist/esm/store/init/index.js +20 -0
  713. package/dist/esm/store/init/init-booths.d.ts +6 -0
  714. package/dist/esm/store/init/init-booths.js +306 -0
  715. package/dist/esm/store/init/init-categories.d.ts +3 -0
  716. package/dist/esm/store/init/init-categories.js +28 -0
  717. package/dist/esm/store/init/init-events.d.ts +3 -0
  718. package/dist/esm/store/init/init-events.js +45 -0
  719. package/dist/esm/store/init/init-exhibitors.d.ts +3 -0
  720. package/dist/esm/store/init/init-exhibitors.js +71 -0
  721. package/dist/esm/store/init/init-heatmap.d.ts +3 -0
  722. package/dist/esm/store/init/init-heatmap.js +37 -0
  723. package/dist/esm/store/init/init-layers.d.ts +8 -0
  724. package/dist/esm/store/init/init-layers.js +151 -0
  725. package/dist/esm/store/init/init-poiTypes.d.ts +3 -0
  726. package/dist/esm/store/init/init-poiTypes.js +6 -0
  727. package/dist/esm/store/init/init-speakers.d.ts +3 -0
  728. package/dist/esm/store/init/init-speakers.js +20 -0
  729. package/dist/esm/store/init/init-ui.d.ts +13 -0
  730. package/dist/esm/store/init/init-ui.js +155 -0
  731. package/dist/esm/store/journey-plan.d.ts +89 -0
  732. package/dist/esm/store/journey-plan.js +291 -0
  733. package/dist/esm/store/live-store.d.ts +19 -0
  734. package/dist/esm/store/live-store.js +26 -0
  735. package/dist/esm/store/outdoor-poi-filter.d.ts +21 -0
  736. package/dist/esm/store/outdoor-poi-filter.js +33 -0
  737. package/dist/esm/store/providers/SearchShortcutProvider.d.ts +13 -0
  738. package/dist/esm/store/providers/SearchShortcutProvider.js +59 -0
  739. package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +17 -0
  740. package/dist/esm/store/providers/SessionsShortcutProvider.js +221 -0
  741. package/dist/esm/store/providers/SessionsSubButtonProvider.d.ts +33 -0
  742. package/dist/esm/store/providers/SessionsSubButtonProvider.js +100 -0
  743. package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +12 -0
  744. package/dist/esm/store/providers/SpeakerShortcutProvider.js +73 -0
  745. package/dist/esm/store/reveal-layer.d.ts +29 -0
  746. package/dist/esm/store/reveal-layer.js +25 -0
  747. package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +55 -0
  748. package/dist/esm/store/search-buttons/SearchButtonsActions.js +363 -0
  749. package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +37 -0
  750. package/dist/esm/store/search-buttons/SearchButtonsFactory.js +291 -0
  751. package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +20 -0
  752. package/dist/esm/store/search-buttons/SearchButtonsFilters.js +157 -0
  753. package/dist/esm/store/search-buttons/SearchButtonsState.d.ts +24 -0
  754. package/dist/esm/store/search-buttons/SearchButtonsState.js +125 -0
  755. package/dist/esm/store/search-buttons/SearchButtonsStore.d.ts +73 -0
  756. package/dist/esm/store/search-buttons/SearchButtonsStore.js +364 -0
  757. package/dist/esm/store/search-buttons/constants.d.ts +24 -0
  758. package/dist/esm/store/search-buttons/constants.js +24 -0
  759. package/dist/esm/store/search-buttons/index.d.ts +8 -0
  760. package/dist/esm/store/search-buttons/index.js +7 -0
  761. package/dist/esm/store/search-buttons/utils.d.ts +6 -0
  762. package/dist/esm/store/search-buttons/utils.js +34 -0
  763. package/dist/esm/store/types.d.ts +213 -0
  764. package/dist/esm/store/types.js +1 -0
  765. package/dist/esm/store/venue-public.d.ts +10 -0
  766. package/dist/esm/store/venue-public.js +14 -0
  767. package/dist/esm/store/venue-selection.d.ts +45 -0
  768. package/dist/esm/store/venue-selection.js +101 -0
  769. package/dist/esm/test/store-harness.d.ts +32 -0
  770. package/dist/esm/test/store-harness.js +116 -0
  771. package/dist/esm/tools/base-runtime-url.d.ts +3 -0
  772. package/dist/esm/tools/base-runtime-url.js +23 -0
  773. package/dist/esm/tools/debounce.d.ts +2 -0
  774. package/dist/esm/tools/debounce.js +10 -0
  775. package/dist/esm/tools/debugCanvases.d.ts +3 -0
  776. package/dist/esm/tools/debugCanvases.js +3 -0
  777. package/dist/esm/tools/event-not-found.d.ts +18 -0
  778. package/dist/esm/tools/event-not-found.js +50 -0
  779. package/dist/esm/tools/event-scoped-cache.d.ts +13 -0
  780. package/dist/esm/tools/event-scoped-cache.js +47 -0
  781. package/dist/esm/tools/expofpUrl.d.ts +7 -0
  782. package/dist/esm/tools/expofpUrl.js +10 -0
  783. package/dist/esm/tools/freeBanner.d.ts +5 -0
  784. package/dist/esm/tools/freeBanner.js +11 -0
  785. package/dist/esm/tools/gtag.d.ts +66 -0
  786. package/dist/esm/tools/gtag.js +287 -0
  787. package/dist/esm/tools/handleDebugMode.d.ts +19 -0
  788. package/dist/esm/tools/handleDebugMode.js +61 -0
  789. package/dist/esm/tools/has-html-tags.d.ts +2 -0
  790. package/dist/esm/tools/has-html-tags.js +3 -0
  791. package/dist/esm/tools/id.d.ts +2 -0
  792. package/dist/esm/tools/id.js +5 -0
  793. package/dist/esm/tools/loaders.d.ts +5 -0
  794. package/dist/esm/tools/loaders.js +67 -0
  795. package/dist/esm/tools/logger.d.ts +38 -0
  796. package/dist/esm/tools/logger.js +87 -0
  797. package/dist/esm/tools/rebooking-config.d.ts +10 -0
  798. package/dist/esm/tools/rebooking-config.js +19 -0
  799. package/dist/esm/tools/rebookingUrl.d.ts +11 -0
  800. package/dist/esm/tools/rebookingUrl.js +27 -0
  801. package/dist/esm/tools/report-error.d.ts +2 -0
  802. package/dist/esm/tools/report-error.js +134 -0
  803. package/dist/esm/tools/reset.d.ts +2 -0
  804. package/dist/esm/tools/reset.js +35 -0
  805. package/dist/esm/tools/sentry.d.ts +7 -0
  806. package/dist/esm/tools/sentry.js +166 -0
  807. package/dist/esm/tools/settings.d.ts +36 -0
  808. package/dist/esm/tools/settings.js +110 -0
  809. package/dist/esm/tools/slug.d.ts +2 -0
  810. package/dist/esm/tools/slug.js +27 -0
  811. package/dist/esm/tools/strip-html.d.ts +2 -0
  812. package/dist/esm/tools/strip-html.js +7 -0
  813. package/dist/esm/tools/style-registry.d.ts +28 -0
  814. package/dist/esm/tools/style-registry.js +46 -0
  815. package/dist/esm/tools/telemetry.d.ts +37 -0
  816. package/dist/esm/tools/telemetry.js +266 -0
  817. package/dist/esm/tools/track-event.d.ts +28 -0
  818. package/dist/esm/tools/track-event.js +196 -0
  819. package/dist/esm/tools/webgl-logger.d.ts +2 -0
  820. package/dist/esm/tools/webgl-logger.js +31 -0
  821. package/dist/esm/types/drawing.types.d.ts +18 -0
  822. package/dist/esm/types/drawing.types.js +1 -0
  823. package/dist/esm/types/sdk.types.d.ts +49 -0
  824. package/dist/esm/types/sdk.types.js +6 -0
  825. package/dist/esm/types.d.ts +593 -0
  826. package/dist/esm/types.js +1 -0
  827. package/dist/esm/utils/_OLD_gpu-info.d.ts +6 -0
  828. package/dist/esm/utils/_OLD_gpu-info.js +23 -0
  829. package/dist/esm/utils/_OLD_should-use-backdrop.d.ts +3 -0
  830. package/dist/esm/utils/_OLD_should-use-backdrop.js +4 -0
  831. package/dist/esm/utils/areLayersEnabled.d.ts +2 -0
  832. package/dist/esm/utils/areLayersEnabled.js +4 -0
  833. package/dist/esm/utils/blob-image-size.d.ts +27 -0
  834. package/dist/esm/utils/blob-image-size.js +37 -0
  835. package/dist/esm/utils/brand.d.ts +18 -0
  836. package/dist/esm/utils/brand.js +19 -0
  837. package/dist/esm/utils/browser.d.ts +4 -0
  838. package/dist/esm/utils/browser.js +4 -0
  839. package/dist/esm/utils/calcSpeed.d.ts +2 -0
  840. package/dist/esm/utils/calcSpeed.js +5 -0
  841. package/dist/esm/utils/calcTravelTime.d.ts +2 -0
  842. package/dist/esm/utils/calcTravelTime.js +3 -0
  843. package/dist/esm/utils/camera-map-settings.d.ts +26 -0
  844. package/dist/esm/utils/camera-map-settings.js +86 -0
  845. package/dist/esm/utils/color-gradient.d.ts +2 -0
  846. package/dist/esm/utils/color-gradient.js +14 -0
  847. package/dist/esm/utils/customCommands.d.ts +2 -0
  848. package/dist/esm/utils/customCommands.js +33 -0
  849. package/dist/esm/utils/detectLimitedModeViaImage.d.ts +2 -0
  850. package/dist/esm/utils/detectLimitedModeViaImage.js +33 -0
  851. package/dist/esm/utils/dimming.d.ts +27 -0
  852. package/dist/esm/utils/dimming.js +88 -0
  853. package/dist/esm/utils/entity-storage.d.ts +14 -0
  854. package/dist/esm/utils/entity-storage.js +122 -0
  855. package/dist/esm/utils/event-head.d.ts +38 -0
  856. package/dist/esm/utils/event-head.js +90 -0
  857. package/dist/esm/utils/event-now.d.ts +11 -0
  858. package/dist/esm/utils/event-now.js +40 -0
  859. package/dist/esm/utils/event-title.d.ts +19 -0
  860. package/dist/esm/utils/event-title.js +20 -0
  861. package/dist/esm/utils/eventFullBadge.d.ts +3 -0
  862. package/dist/esm/utils/eventFullBadge.js +7 -0
  863. package/dist/esm/utils/eventTime.d.ts +15 -0
  864. package/dist/esm/utils/eventTime.js +82 -0
  865. package/dist/esm/utils/extractMetaFromString.d.ts +5 -0
  866. package/dist/esm/utils/extractMetaFromString.js +16 -0
  867. package/dist/esm/utils/geo-anchors.d.ts +10 -0
  868. package/dist/esm/utils/geo-anchors.js +12 -0
  869. package/dist/esm/utils/geometry.d.ts +2 -0
  870. package/dist/esm/utils/geometry.js +12 -0
  871. package/dist/esm/utils/getContrastTextColor.d.ts +2 -0
  872. package/dist/esm/utils/getContrastTextColor.js +26 -0
  873. package/dist/esm/utils/getLogoUrl.d.ts +9 -0
  874. package/dist/esm/utils/getLogoUrl.js +26 -0
  875. package/dist/esm/utils/getMostFrequent.d.ts +2 -0
  876. package/dist/esm/utils/getMostFrequent.js +14 -0
  877. package/dist/esm/utils/getRenderTargetFromRoot.d.ts +2 -0
  878. package/dist/esm/utils/getRenderTargetFromRoot.js +19 -0
  879. package/dist/esm/utils/gps.d.ts +40 -0
  880. package/dist/esm/utils/gps.js +66 -0
  881. package/dist/esm/utils/heatmap-enabled.d.ts +13 -0
  882. package/dist/esm/utils/heatmap-enabled.js +13 -0
  883. package/dist/esm/utils/i18n.d.ts +18 -0
  884. package/dist/esm/utils/i18n.js +117 -0
  885. package/dist/esm/utils/index.d.ts +10 -0
  886. package/dist/esm/utils/index.js +60 -0
  887. package/dist/esm/utils/is-debug.d.ts +3 -0
  888. package/dist/esm/utils/is-debug.js +9 -0
  889. package/dist/esm/utils/is-from-designer.d.ts +3 -0
  890. package/dist/esm/utils/is-from-designer.js +4 -0
  891. package/dist/esm/utils/is-iframe.d.ts +3 -0
  892. package/dist/esm/utils/is-iframe.js +13 -0
  893. package/dist/esm/utils/is-localhost.d.ts +3 -0
  894. package/dist/esm/utils/is-localhost.js +11 -0
  895. package/dist/esm/utils/is-mac.d.ts +3 -0
  896. package/dist/esm/utils/is-mac.js +2 -0
  897. package/dist/esm/utils/is-mobile.d.ts +3 -0
  898. package/dist/esm/utils/is-mobile.js +2 -0
  899. package/dist/esm/utils/is-own-domain.d.ts +12 -0
  900. package/dist/esm/utils/is-own-domain.js +23 -0
  901. package/dist/esm/utils/is-pathway-layer.d.ts +2 -0
  902. package/dist/esm/utils/is-pathway-layer.js +4 -0
  903. package/dist/esm/utils/is-phone.d.ts +9 -0
  904. package/dist/esm/utils/is-phone.js +17 -0
  905. package/dist/esm/utils/is-scroll-ugly.d.ts +3 -0
  906. package/dist/esm/utils/is-scroll-ugly.js +13 -0
  907. package/dist/esm/utils/is-webview.d.ts +3 -0
  908. package/dist/esm/utils/is-webview.js +2 -0
  909. package/dist/esm/utils/isNumericLevel.d.ts +2 -0
  910. package/dist/esm/utils/isNumericLevel.js +3 -0
  911. package/dist/esm/utils/lazy-qr-code.d.ts +5 -0
  912. package/dist/esm/utils/lazy-qr-code.js +6 -0
  913. package/dist/esm/utils/legacy-storage-keys.d.ts +16 -0
  914. package/dist/esm/utils/legacy-storage-keys.js +38 -0
  915. package/dist/esm/utils/loadBlob.d.ts +16 -0
  916. package/dist/esm/utils/loadBlob.js +40 -0
  917. package/dist/esm/utils/loadCustomCss.d.ts +3 -0
  918. package/dist/esm/utils/loadCustomCss.js +19 -0
  919. package/dist/esm/utils/loadIcons.d.ts +3 -0
  920. package/dist/esm/utils/loadIcons.js +24 -0
  921. package/dist/esm/utils/loadImage.d.ts +2 -0
  922. package/dist/esm/utils/loadImage.js +11 -0
  923. package/dist/esm/utils/loadImagesInBatches.d.ts +22 -0
  924. package/dist/esm/utils/loadImagesInBatches.js +82 -0
  925. package/dist/esm/utils/loadLayerImages.d.ts +41 -0
  926. package/dist/esm/utils/loadLayerImages.js +107 -0
  927. package/dist/esm/utils/localStorage.d.ts +2 -0
  928. package/dist/esm/utils/localStorage.js +11 -0
  929. package/dist/esm/utils/lz-utils.d.ts +8 -0
  930. package/dist/esm/utils/lz-utils.js +16 -0
  931. package/dist/esm/utils/mapEntity.d.ts +3 -0
  932. package/dist/esm/utils/mapEntity.js +82 -0
  933. package/dist/esm/utils/math.d.ts +6 -0
  934. package/dist/esm/utils/math.js +7 -0
  935. package/dist/esm/utils/mobx.d.ts +35 -0
  936. package/dist/esm/utils/mobx.js +74 -0
  937. package/dist/esm/utils/outdoor-poi.d.ts +32 -0
  938. package/dist/esm/utils/outdoor-poi.js +28 -0
  939. package/dist/esm/utils/plan-reactions.d.ts +20 -0
  940. package/dist/esm/utils/plan-reactions.js +26 -0
  941. package/dist/esm/utils/planBearing.d.ts +14 -0
  942. package/dist/esm/utils/planBearing.js +15 -0
  943. package/dist/esm/utils/preview-exhibitor.d.ts +11 -0
  944. package/dist/esm/utils/preview-exhibitor.js +19 -0
  945. package/dist/esm/utils/rasterize-svg.d.ts +32 -0
  946. package/dist/esm/utils/rasterize-svg.js +78 -0
  947. package/dist/esm/utils/responsiveClass.d.ts +2 -0
  948. package/dist/esm/utils/responsiveClass.js +25 -0
  949. package/dist/esm/utils/rtl.d.ts +2 -0
  950. package/dist/esm/utils/rtl.js +4 -0
  951. package/dist/esm/utils/sanitizeHtml.d.ts +3 -0
  952. package/dist/esm/utils/sanitizeHtml.js +21 -0
  953. package/dist/esm/utils/sanitizeText.d.ts +9 -0
  954. package/dist/esm/utils/sanitizeText.js +19 -0
  955. package/dist/esm/utils/scene-bounds.d.ts +64 -0
  956. package/dist/esm/utils/scene-bounds.js +127 -0
  957. package/dist/esm/utils/shortenName.d.ts +2 -0
  958. package/dist/esm/utils/shortenName.js +19 -0
  959. package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +2 -0
  960. package/dist/esm/utils/silence-mobx-react-lite-warning.js +24 -0
  961. package/dist/esm/utils/strEqual.d.ts +2 -0
  962. package/dist/esm/utils/strEqual.js +3 -0
  963. package/dist/esm/utils/swappable-proxy.d.ts +28 -0
  964. package/dist/esm/utils/swappable-proxy.js +71 -0
  965. package/dist/esm/utils/trackingParams.d.ts +3 -0
  966. package/dist/esm/utils/trackingParams.js +24 -0
  967. package/dist/esm/utils/urlEncoding.d.ts +7 -0
  968. package/dist/esm/utils/urlEncoding.js +62 -0
  969. package/dist/esm/utils/use-shadow.d.ts +3 -0
  970. package/dist/esm/utils/use-shadow.js +10 -0
  971. package/dist/esm/utils/useHeatmapData.d.ts +10 -0
  972. package/dist/esm/utils/useHeatmapData.js +8 -0
  973. package/dist/esm/utils/useHeatmapOverlay.d.ts +9 -0
  974. package/dist/esm/utils/useHeatmapOverlay.js +56 -0
  975. package/dist/esm/utils/useRenderTarget.d.ts +2 -0
  976. package/dist/esm/utils/useRenderTarget.js +35 -0
  977. package/dist/esm/utils/yah_icon.d.ts +6 -0
  978. package/dist/esm/utils/yah_icon.js +457 -0
  979. package/dist/esm/wayfinding/adapters/arbitraryPoint.d.ts +32 -0
  980. package/dist/esm/wayfinding/adapters/arbitraryPoint.js +25 -0
  981. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +19 -0
  982. package/dist/esm/wayfinding/adapters/boothToEndpoint.js +32 -0
  983. package/dist/esm/wayfinding/adapters/campusEndpoints.d.ts +13 -0
  984. package/dist/esm/wayfinding/adapters/campusEndpoints.js +25 -0
  985. package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +20 -0
  986. package/dist/esm/wayfinding/adapters/canvasIconProvider.js +73 -0
  987. package/dist/esm/wayfinding/adapters/floorContext.d.ts +20 -0
  988. package/dist/esm/wayfinding/adapters/floorContext.js +43 -0
  989. package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +49 -0
  990. package/dist/esm/wayfinding/adapters/graphDataSource.js +87 -0
  991. package/dist/esm/wayfinding/adapters/index.d.ts +10 -0
  992. package/dist/esm/wayfinding/adapters/index.js +8 -0
  993. package/dist/esm/wayfinding/adapters/kioskCanvas.d.ts +7 -0
  994. package/dist/esm/wayfinding/adapters/kioskCanvas.js +22 -0
  995. package/dist/esm/wayfinding/adapters/positionInput.d.ts +12 -0
  996. package/dist/esm/wayfinding/adapters/positionInput.js +16 -0
  997. package/dist/esm/wayfinding/bindMobxReactions.d.ts +28 -0
  998. package/dist/esm/wayfinding/bindMobxReactions.js +171 -0
  999. package/dist/esm/wayfinding/createWayfinding.d.ts +34 -0
  1000. package/dist/esm/wayfinding/createWayfinding.js +184 -0
  1001. package/dist/esm/wayfinding/handlers/kioskHandler.d.ts +26 -0
  1002. package/dist/esm/wayfinding/handlers/kioskHandler.js +52 -0
  1003. package/dist/esm/wayfinding/handlers/yahHandler.d.ts +21 -0
  1004. package/dist/esm/wayfinding/handlers/yahHandler.js +42 -0
  1005. package/dist/esm/wayfinding/index.d.ts +12 -0
  1006. package/dist/esm/wayfinding/index.js +9 -0
  1007. package/dist/esm/wayfinding/routeSteps.d.ts +15 -0
  1008. package/dist/esm/wayfinding/routeSteps.js +29 -0
  1009. package/dist/esm/wayfinding/storePorts.d.ts +67 -0
  1010. package/dist/esm/wayfinding/storePorts.js +1 -0
  1011. package/package.json +146 -0
@@ -0,0 +1,38 @@
1
+ import { Box, degToRad, Rect } from '@expofp/geometry';
2
+ /**
3
+ * The attribute that turns a designer `<image>` into a 3D model: the URL of a
4
+ * .glb/.gltf, authored relative to the drawing. `@expofp/config` rebases it
5
+ * with every other asset URL the drawing carries when the payload loads, so
6
+ * what arrives here is already resolved — absolute for a live load,
7
+ * page-relative or rooted for an offline copy.
8
+ */
9
+ export const MODEL_3D_ATTRIBUTE = 'data-model-3d';
10
+ /**
11
+ * The rotation an element's `transform` carries, in radians.
12
+ *
13
+ * Only the first transform in the list is read, which is what the designer emits. It inherits the
14
+ * assumption `loadLayerImages` has always made: an SVG `rotate(a, cx, cy)` is treated as pivoting
15
+ * about the element's own center, because that is what a geometry `Rect` does. A transform with a
16
+ * different pivot is placed wrongly — pre-existing behavior, recorded rather than fixed here.
17
+ * @param element - The graphic to read.
18
+ * @returns The rotation in radians, positive = clockwise.
19
+ */
20
+ export function svgTransformRotation(element) {
21
+ return degToRad(element.transform?.animVal[0]?.angle ?? 0);
22
+ }
23
+ /**
24
+ * Builds a {@link ModelDef} from an `<image>` carrying {@link MODEL_3D_ATTRIBUTE}.
25
+ *
26
+ * Bounds come from the element's own x/y/width/height — `Box.fromSvg` reads an `<image>` as readily
27
+ * as a `<rect>` — combined with its transform's rotation. The URL is taken verbatim: the drawing
28
+ * reaches the runtime with its asset URLs already resolved.
29
+ * @param element - The placeholder image.
30
+ * @returns The model def.
31
+ */
32
+ export function createModelDefFromElement(element) {
33
+ const box = Box.fromSvg(element);
34
+ return {
35
+ url: element.getAttribute(MODEL_3D_ATTRIBUTE) ?? '',
36
+ bounds: Rect.fromMinMax(box.min, box.max, svgTransformRotation(element)),
37
+ };
38
+ }
@@ -0,0 +1,45 @@
1
+ import { Rect } from '@expofp/geometry';
2
+ import { type Booth } from '../../../../store/BoothStore';
3
+ import { type Layer } from '../../../../store/LayerStore';
4
+ import type { ImageUrls } from '../../../../utils/loadImagesInBatches';
5
+ export declare function loadLayersImages(): Promise<void>;
6
+ export declare const getImageLayerName: (layerName: string) => string;
7
+ export declare const getModelLayerName: (layerName: string) => string;
8
+ export declare function mapBoothsLogos(booths: Booth[]): Map<number, ImageUrls>;
9
+ /**
10
+ * A layer's designer images, split by what they actually are. An `<image>` carrying
11
+ * {@link MODEL_3D_ATTRIBUTE} is a placeholder for a 3D model, so it must be kept out of image
12
+ * loading entirely — its `href` is never fetched — and rendered from the model URL instead.
13
+ */
14
+ export interface LayerGraphics {
15
+ /** Ordinary images, to be loaded and drawn as textured quads. */
16
+ icons: SVGImageElement[];
17
+ /** Images standing in for 3D models. */
18
+ models: SVGImageElement[];
19
+ }
20
+ export declare function getLayerGraphics(layer: Layer): LayerGraphics;
21
+ /** Where one booth's logo goes. */
22
+ export interface BoothImg {
23
+ /** The booth the logo sits in. */
24
+ booth: Booth;
25
+ /** The booth's slug, which becomes the def's name. */
26
+ name?: string;
27
+ /**
28
+ * The booth center, the fitted logo size, and the booth rotation.
29
+ *
30
+ * The image def keeps this `Rect` by reference, and `rotateImageDef` and `flipImageDef` rotate
31
+ * it in place. Each booth gets its own, so no other owner sees those writes.
32
+ */
33
+ bounds: Rect;
34
+ }
35
+ /**
36
+ * Fits a logo inside a booth and returns where the logo goes.
37
+ *
38
+ * This function takes the logo's aspect ratio, not the logo and not its pixel size. The ratio is
39
+ * the only fact it ever needed from the image: every length below comes from the booth.
40
+ * @param booth - The booth to fit the logo into.
41
+ * @param ratio - The logo's width divided by its height. A finite positive number.
42
+ * @returns The placement.
43
+ */
44
+ export declare function createBoothImg(booth: Booth, ratio: number): BoothImg;
45
+ //# sourceMappingURL=loadBoothsImages.d.ts.map
@@ -0,0 +1,99 @@
1
+ import { degToRad, radToDeg, Rect } from '@expofp/geometry';
2
+ import { update } from '@expofp/renderer';
3
+ import { select } from 'd3';
4
+ import { SEPARATOR } from '../../../../constants';
5
+ import { getFpSvgJs } from '../../../../data/fp-payloads';
6
+ import { getLayerSvg } from '../../../../data/svg';
7
+ import { getLogoUrl } from '../../../../utils/getLogoUrl';
8
+ import { boothLogoExhibitor } from './booth-logos';
9
+ import { invokeLayerImages } from './layer-images';
10
+ import { MODEL_3D_ATTRIBUTE } from './layer-models';
11
+ export async function loadLayersImages() {
12
+ const handlerResults = invokeLayerImages();
13
+ await Promise.all(handlerResults.map(async (handlerPromise) => {
14
+ const layerToUpdate = await handlerPromise;
15
+ if (!layerToUpdate?.children.length)
16
+ return;
17
+ const { layer, children } = layerToUpdate;
18
+ layer.children.push(...children);
19
+ update(layer);
20
+ }));
21
+ }
22
+ export const getImageLayerName = (layerName) => `${layerName}${SEPARATOR}images`;
23
+ export const getModelLayerName = (layerName) => `${layerName}${SEPARATOR}models`;
24
+ export function mapBoothsLogos(booths) {
25
+ const logos = new Map();
26
+ for (const booth of booths) {
27
+ if (!booth.rect)
28
+ continue;
29
+ const logo = boothLogoExhibitor(booth)?.logo;
30
+ if (!logo)
31
+ continue;
32
+ logos.set(booth.id, { preferred: getLogoUrl(logo), fallback: logo.url });
33
+ }
34
+ return logos;
35
+ }
36
+ export function getLayerGraphics(layer) {
37
+ const selected = select(getLayerSvg(layer)).select(`[data-layer="${layer.name}"]`);
38
+ const elements = ((getFpSvgJs().__fpVersion ?? 0) > 5
39
+ ? selected.selectAll(':scope > image, :scope > g:not([data-layer]) image').nodes()
40
+ : selected.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean);
41
+ const icons = [];
42
+ const models = [];
43
+ for (const element of elements) {
44
+ (element.hasAttribute(MODEL_3D_ATTRIBUTE) ? models : icons).push(element);
45
+ }
46
+ return { icons, models };
47
+ }
48
+ /**
49
+ * Fits a logo inside a booth and returns where the logo goes.
50
+ *
51
+ * This function takes the logo's aspect ratio, not the logo and not its pixel size. The ratio is
52
+ * the only fact it ever needed from the image: every length below comes from the booth.
53
+ * @param booth - The booth to fit the logo into.
54
+ * @param ratio - The logo's width divided by its height. A finite positive number.
55
+ * @returns The placement.
56
+ */
57
+ export function createBoothImg(booth, ratio) {
58
+ const rect = booth.rect;
59
+ // booth.rect is a geometry Box: unrotated footprint (size + center).
60
+ const boothW = rect.size.width;
61
+ const boothH = rect.size.height;
62
+ const ratioBooth = boothH ? boothW / boothH : 1;
63
+ let imgWidth, imgHeight, imgAngle;
64
+ const SCALE_FACTOR = 0.9;
65
+ if (ratioBooth > ratio) {
66
+ imgHeight = boothH * SCALE_FACTOR;
67
+ imgWidth = imgHeight * ratio;
68
+ }
69
+ else {
70
+ imgWidth = boothW * SCALE_FACTOR;
71
+ imgHeight = imgWidth / ratio;
72
+ }
73
+ const rotate = booth.rotate || 0;
74
+ if (ratio >= 2 && !rotate && boothH >= boothW * 2.0) {
75
+ imgHeight = boothW * SCALE_FACTOR;
76
+ imgWidth = imgHeight * ratio;
77
+ imgAngle = -90;
78
+ }
79
+ else {
80
+ imgAngle = radToDeg(rotate);
81
+ }
82
+ // Width and height should not exceed the booth's width and height
83
+ if (imgWidth > boothW) {
84
+ imgWidth = boothW;
85
+ imgHeight = imgWidth / ratio;
86
+ }
87
+ if (imgHeight > boothH) {
88
+ imgHeight = boothH;
89
+ imgWidth = imgHeight * ratio;
90
+ }
91
+ // The logo is centered on the booth; size = fitted dimensions; rotation =
92
+ // imgAngle (degrees) → radians, positive = clockwise (y-down); elevation = the booth's, so the
93
+ // logo lies on its roof rather than on the floor under it.
94
+ return {
95
+ name: booth.slug,
96
+ bounds: new Rect(rect.center, { x: imgWidth, y: imgHeight }, degToRad(imgAngle), booth.elevation),
97
+ booth,
98
+ };
99
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * How a count is written on a cluster marker: the count itself up to 99, and `99+` above that.
3
+ *
4
+ * Three characters is the most the counter circle holds, and the font size is chosen for three, so
5
+ * a longer label would have to be drawn smaller or clipped.
6
+ * @param count - How many points the cluster holds.
7
+ * @returns The label.
8
+ */
9
+ export declare function clusterCountText(count: number): string;
10
+ /**
11
+ * The counter circle inside a cluster pin, in CSS pixels from the pin's top-left corner. The pin
12
+ * fills its canvas, so this is also the canvas's CSS coordinate space.
13
+ * @param widthPx - The pin's width in CSS pixels.
14
+ * @returns The circle's center and radius.
15
+ */
16
+ export declare function clusterCounterCircle(widthPx: number): {
17
+ cx: number;
18
+ cy: number;
19
+ r: number;
20
+ };
21
+ /**
22
+ * The count's em height, chosen once so that `99+` — the widest label — fits inside the circle, and
23
+ * used for every count so a marker does not change size as its membership changes.
24
+ *
25
+ * The label's half-diagonal is what has to fit, not its half-width: a box inscribed in a circle
26
+ * touches at its corners.
27
+ * @param radiusPx - The counter circle's radius in CSS pixels.
28
+ * @returns The font size in CSS pixels.
29
+ */
30
+ export declare function clusterCountFontPx(radiusPx: number): number;
31
+ /**
32
+ * The teardrop's height as a fraction of its width, for every pin drawn from `createPinCanvas`.
33
+ * Here rather than in `canvases.ts`, so a pin's height is computable without loading a module that
34
+ * builds a canvas.
35
+ */
36
+ export declare const PIN_ASPECT: number;
37
+ /** The pin head's radius as a fraction of the pin's width, for the PoI pin and the cluster pin. */
38
+ export declare const PIN_HEAD_FACTOR = 0.37;
39
+ /** The edge stroke's width in CSS pixels, which `createPinCanvas` also takes as its inset. */
40
+ export declare const PIN_EDGE_PX = 1.4;
41
+ /** The counter circle's radius as a fraction of the pin head's radius. */
42
+ export declare const CLUSTER_CIRCLE_FACTOR = 0.78;
43
+ /**
44
+ * One character's advance width as a fraction of the font size, for the SDK's condensed face.
45
+ *
46
+ * An estimate, like {@link CLUSTER_COUNT_CAP_EM} and {@link CLUSTER_COUNT_FIT}, rather than a
47
+ * computation: the count is laid out by the renderer's text engine and not by a 2D context, so
48
+ * there is nothing here to call `measureText` on. Nothing automated checks the three against the
49
+ * shipped font. The renderer's `ClusterCounts` baselines draw a fixture font, so they check the
50
+ * layout, not these numbers. The real check is visual: run the app and look at a `99+` marker.
51
+ */
52
+ export declare const CLUSTER_COUNT_ADVANCE_EM = 0.58;
53
+ /**
54
+ * How far below a `top`-aligned line's top edge the digits' ink center sits, in em. Troika anchors
55
+ * the line at the block's top, ascender space included, so this lifts the glyphs from that edge onto
56
+ * the circle's center. Measured in the running app with the shipped font (device ratios 1 and 2, one
57
+ * to three characters), not half the block, which was the 0.5 it replaced. The name keeps the old
58
+ * "half block" wording. The renderer story `ClusterCounts` keeps its own value for its fixture font.
59
+ */
60
+ export declare const COUNT_BLOCK_HALF_EM = 0.61;
61
+ /** A digit's cap height as a fraction of the font size, measured the same way. */
62
+ export declare const CLUSTER_COUNT_CAP_EM = 0.72;
63
+ /** How much of the circle the label claims, leaving a visible ring of white around it. */
64
+ export declare const CLUSTER_COUNT_FIT = 0.88;
65
+ //# sourceMappingURL=pin-geometry.d.ts.map
@@ -0,0 +1,75 @@
1
+ /**
2
+ * How a count is written on a cluster marker: the count itself up to 99, and `99+` above that.
3
+ *
4
+ * Three characters is the most the counter circle holds, and the font size is chosen for three, so
5
+ * a longer label would have to be drawn smaller or clipped.
6
+ * @param count - How many points the cluster holds.
7
+ * @returns The label.
8
+ */
9
+ export function clusterCountText(count) {
10
+ return count > 99 ? '99+' : String(count);
11
+ }
12
+ /**
13
+ * The counter circle inside a cluster pin, in CSS pixels from the pin's top-left corner. The pin
14
+ * fills its canvas, so this is also the canvas's CSS coordinate space.
15
+ * @param widthPx - The pin's width in CSS pixels.
16
+ * @returns The circle's center and radius.
17
+ */
18
+ export function clusterCounterCircle(widthPx) {
19
+ const head = widthPx * PIN_HEAD_FACTOR;
20
+ return {
21
+ cx: widthPx / 2,
22
+ // The head's center, which is one radius plus the stroke that is inset around it. Dropping the
23
+ // inset still scales with the width, so only an absolute assertion catches it.
24
+ cy: head + PIN_EDGE_PX,
25
+ r: head * CLUSTER_CIRCLE_FACTOR,
26
+ };
27
+ }
28
+ /**
29
+ * The count's em height, chosen once so that `99+` — the widest label — fits inside the circle, and
30
+ * used for every count so a marker does not change size as its membership changes.
31
+ *
32
+ * The label's half-diagonal is what has to fit, not its half-width: a box inscribed in a circle
33
+ * touches at its corners.
34
+ * @param radiusPx - The counter circle's radius in CSS pixels.
35
+ * @returns The font size in CSS pixels.
36
+ */
37
+ export function clusterCountFontPx(radiusPx) {
38
+ const halfWidthEm = (3 * CLUSTER_COUNT_ADVANCE_EM) / 2;
39
+ const halfHeightEm = CLUSTER_COUNT_CAP_EM / 2;
40
+ return (CLUSTER_COUNT_FIT * radiusPx) / Math.hypot(halfWidthEm, halfHeightEm);
41
+ }
42
+ /**
43
+ * The teardrop's height as a fraction of its width, for every pin drawn from `createPinCanvas`.
44
+ * Here rather than in `canvases.ts`, so a pin's height is computable without loading a module that
45
+ * builds a canvas.
46
+ */
47
+ export const PIN_ASPECT = 93 / 81;
48
+ /** The pin head's radius as a fraction of the pin's width, for the PoI pin and the cluster pin. */
49
+ export const PIN_HEAD_FACTOR = 0.37;
50
+ /** The edge stroke's width in CSS pixels, which `createPinCanvas` also takes as its inset. */
51
+ export const PIN_EDGE_PX = 1.4;
52
+ /** The counter circle's radius as a fraction of the pin head's radius. */
53
+ export const CLUSTER_CIRCLE_FACTOR = 0.78;
54
+ /**
55
+ * One character's advance width as a fraction of the font size, for the SDK's condensed face.
56
+ *
57
+ * An estimate, like {@link CLUSTER_COUNT_CAP_EM} and {@link CLUSTER_COUNT_FIT}, rather than a
58
+ * computation: the count is laid out by the renderer's text engine and not by a 2D context, so
59
+ * there is nothing here to call `measureText` on. Nothing automated checks the three against the
60
+ * shipped font. The renderer's `ClusterCounts` baselines draw a fixture font, so they check the
61
+ * layout, not these numbers. The real check is visual: run the app and look at a `99+` marker.
62
+ */
63
+ export const CLUSTER_COUNT_ADVANCE_EM = 0.58;
64
+ /**
65
+ * How far below a `top`-aligned line's top edge the digits' ink center sits, in em. Troika anchors
66
+ * the line at the block's top, ascender space included, so this lifts the glyphs from that edge onto
67
+ * the circle's center. Measured in the running app with the shipped font (device ratios 1 and 2, one
68
+ * to three characters), not half the block, which was the 0.5 it replaced. The name keeps the old
69
+ * "half block" wording. The renderer story `ClusterCounts` keeps its own value for its fixture font.
70
+ */
71
+ export const COUNT_BLOCK_HALF_EM = 0.61;
72
+ /** A digit's cap height as a fraction of the font size, measured the same way. */
73
+ export const CLUSTER_COUNT_CAP_EM = 0.72;
74
+ /** How much of the circle the label claims, leaving a visible ring of white around it. */
75
+ export const CLUSTER_COUNT_FIT = 0.88;
@@ -0,0 +1,100 @@
1
+ /**
2
+ * A vector outdoor-PoI pin, traced from the outdoor-only app's marker artwork. Coordinates
3
+ * are in that artwork's pixel frame (which includes a drop-shadow margin), so
4
+ * the numbers can be checked against the source PNGs directly.
5
+ */
6
+ export interface PoiPinShape {
7
+ /** The artwork frame: the pin plus room for its drop shadow. */
8
+ readonly frame: {
9
+ readonly width: number;
10
+ readonly height: number;
11
+ };
12
+ /** Width of the visible pin (stroke included) — what the size constants set. */
13
+ readonly bodyWidth: number;
14
+ /**
15
+ * Teardrop outline as SVG path data, starting at the tip apex. For a stroked
16
+ * pin this is the stroke's centerline.
17
+ */
18
+ readonly outline: string;
19
+ readonly strokeWidth: number;
20
+ /** Lowest point of {@link outline}, at the horizontal center of the frame. */
21
+ readonly tipApexY: number;
22
+ /**
23
+ * The round head: its center, and the radius of the disc drawn on it (the
24
+ * glyph's colored disc, or the selection dot).
25
+ */
26
+ readonly head: {
27
+ readonly x: number;
28
+ readonly y: number;
29
+ readonly innerRadius: number;
30
+ };
31
+ readonly shadow: {
32
+ readonly offsetY: number;
33
+ readonly blur: number;
34
+ };
35
+ }
36
+ /**
37
+ * The category pin (82x96 artwork): a white teardrop around a colored disc
38
+ * that carries the poiType glyph.
39
+ */
40
+ export declare const POI_MARKER_PIN_SHAPE: {
41
+ readonly frame: {
42
+ readonly width: 82;
43
+ readonly height: 96;
44
+ };
45
+ readonly bodyWidth: 70;
46
+ readonly outline: 'M41 86.13C41.68 85.63 76 61.93 76 36.1A35 35 0 0 0 6 36.1C6 61.93 40.32 85.63 41 86.13Z';
47
+ readonly strokeWidth: 0;
48
+ readonly tipApexY: 86.13;
49
+ readonly head: {
50
+ readonly x: 41;
51
+ readonly y: 36.1;
52
+ readonly innerRadius: 29.3;
53
+ };
54
+ readonly shadow: {
55
+ readonly offsetY: 2;
56
+ readonly blur: 4;
57
+ };
58
+ };
59
+ /**
60
+ * The selection pin (102x137 artwork): a teardrop filled with the selection
61
+ * color, outlined and dotted in a darker shade of it.
62
+ */
63
+ export declare const POI_SELECTED_PIN_SHAPE: {
64
+ readonly frame: {
65
+ readonly width: 102;
66
+ readonly height: 137;
67
+ };
68
+ readonly bodyWidth: 90;
69
+ readonly outline: 'M51 125.88C56.54 123.07 94.5 77 94.5 47A43.5 43.5 0 0 0 7.5 47C7.5 77 45.46 123.07 51 125.88Z';
70
+ readonly strokeWidth: 3;
71
+ readonly tipApexY: 125.88;
72
+ readonly head: {
73
+ readonly x: 51;
74
+ readonly y: 47;
75
+ readonly innerRadius: 19;
76
+ };
77
+ readonly shadow: {
78
+ readonly offsetY: 2.5;
79
+ readonly blur: 5;
80
+ };
81
+ };
82
+ export interface PoiPinLayout {
83
+ /** Artwork frame units → device pixels. */
84
+ readonly scale: number;
85
+ readonly canvasWidth: number;
86
+ readonly canvasHeight: number;
87
+ /**
88
+ * CSS px to shift the bottom-anchored image down by (MapLibre `icon-offset`),
89
+ * so the pin tip — not the shadow below it — sits on the point.
90
+ */
91
+ readonly tipOffset: number;
92
+ }
93
+ /** Sizes a pin whose visible body is `bodyWidthPx` CSS px wide. */
94
+ export declare function getPoiPinLayout(shape: PoiPinShape, bodyWidthPx: number, pixelRatio: number): PoiPinLayout;
95
+ /**
96
+ * The darker shade the selection pin draws its outline and dot in — the
97
+ * artwork's #ff4747 → #9a2626 pairing, applied to any selection color.
98
+ */
99
+ export declare function getPoiPinShadeColor(color: string): string;
100
+ //# sourceMappingURL=poi-pin-shape.d.ts.map
@@ -0,0 +1,51 @@
1
+ import Color from 'color';
2
+ /**
3
+ * The category pin (82x96 artwork): a white teardrop around a colored disc
4
+ * that carries the poiType glyph.
5
+ */
6
+ export const POI_MARKER_PIN_SHAPE = {
7
+ frame: { width: 82, height: 96 },
8
+ bodyWidth: 70,
9
+ outline: 'M41 86.13C41.68 85.63 76 61.93 76 36.1A35 35 0 0 0 6 36.1C6 61.93 40.32 85.63 41 86.13Z',
10
+ strokeWidth: 0,
11
+ tipApexY: 86.13,
12
+ head: { x: 41, y: 36.1, innerRadius: 29.3 },
13
+ shadow: { offsetY: 2, blur: 4 },
14
+ };
15
+ /**
16
+ * The selection pin (102x137 artwork): a teardrop filled with the selection
17
+ * color, outlined and dotted in a darker shade of it.
18
+ */
19
+ export const POI_SELECTED_PIN_SHAPE = {
20
+ frame: { width: 102, height: 137 },
21
+ bodyWidth: 90,
22
+ outline: 'M51 125.88C56.54 123.07 94.5 77 94.5 47A43.5 43.5 0 0 0 7.5 47C7.5 77 45.46 123.07 51 125.88Z',
23
+ strokeWidth: 3,
24
+ tipApexY: 125.88,
25
+ head: { x: 51, y: 47, innerRadius: 19 },
26
+ shadow: { offsetY: 2.5, blur: 5 },
27
+ };
28
+ /** Sizes a pin whose visible body is `bodyWidthPx` CSS px wide. */
29
+ export function getPoiPinLayout(shape, bodyWidthPx, pixelRatio) {
30
+ const scale = (bodyWidthPx / shape.bodyWidth) * pixelRatio;
31
+ const canvasHeight = Math.ceil(shape.frame.height * scale);
32
+ const visibleTipY = (shape.tipApexY + shape.strokeWidth / 2) * scale;
33
+ return {
34
+ scale,
35
+ canvasWidth: Math.ceil(shape.frame.width * scale),
36
+ canvasHeight,
37
+ tipOffset: (canvasHeight - visibleTipY) / pixelRatio,
38
+ };
39
+ }
40
+ /**
41
+ * The darker shade the selection pin draws its outline and dot in — the
42
+ * artwork's #ff4747 → #9a2626 pairing, applied to any selection color.
43
+ */
44
+ export function getPoiPinShadeColor(color) {
45
+ try {
46
+ return Color(color).darken(0.41).desaturate(0.4).hex();
47
+ }
48
+ catch {
49
+ return color;
50
+ }
51
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The category pin for one outdoor PoI: the poiType glyph knocked out in white
3
+ * on a disc in the booth's authored color, inside a white teardrop. Returns
4
+ * `ImageData` rather than a canvas — the only consumer is `map.addImage`, and
5
+ * a canvas per PoI would stay resident for the session.
6
+ */
7
+ export declare function createPoiPinImage(image: HTMLImageElement | null, bodyWidthPx: number, pixelRatio: number, color: string): ImageData;
8
+ /** The shared selection pin — one image serves every marker. */
9
+ export declare function createPoiPinheadImage(bodyWidthPx: number, pixelRatio: number, color: string): ImageData;
10
+ //# sourceMappingURL=poi-pin.d.ts.map
@@ -0,0 +1,88 @@
1
+ import { POI_PIN_DEFAULT_COLOR } from '../../../../constants.js';
2
+ import { createImageCanvas } from './canvases.js';
3
+ import { getPoiPinLayout, getPoiPinShadeColor, POI_MARKER_PIN_SHAPE, POI_SELECTED_PIN_SHAPE, } from './poi-pin-shape.js';
4
+ // Glyph box edge as a fraction of the disc diameter (glyphs keep their aspect).
5
+ const MARKER_GLYPH_FRACTION = 0.6;
6
+ const PIN_WHITE = '#ffffff';
7
+ const PIN_SHADOW_COLOR = 'rgba(0, 0, 0, 0.35)';
8
+ // A canvas sized for `shape`, its context scaled to artwork frame units.
9
+ function createPinCanvas(shape, layout) {
10
+ const canvas = document.createElement('canvas');
11
+ canvas.width = layout.canvasWidth;
12
+ canvas.height = layout.canvasHeight;
13
+ const ctx = canvas.getContext('2d');
14
+ ctx.scale(layout.scale, layout.scale);
15
+ return { canvas, ctx, path: new Path2D(shape.outline) };
16
+ }
17
+ // Shadow settings ignore the context transform: they are device pixels.
18
+ function setPinShadow(ctx, shape, scale) {
19
+ ctx.shadowColor = PIN_SHADOW_COLOR;
20
+ ctx.shadowOffsetY = shape.shadow.offsetY * scale;
21
+ ctx.shadowBlur = shape.shadow.blur * scale;
22
+ }
23
+ function clearPinShadow(ctx) {
24
+ ctx.shadowColor = 'transparent';
25
+ ctx.shadowOffsetY = 0;
26
+ ctx.shadowBlur = 0;
27
+ }
28
+ function toImageData(canvas) {
29
+ return canvas.getContext('2d').getImageData(0, 0, canvas.width, canvas.height);
30
+ }
31
+ /**
32
+ * The category pin for one outdoor PoI: the poiType glyph knocked out in white
33
+ * on a disc in the booth's authored color, inside a white teardrop. Returns
34
+ * `ImageData` rather than a canvas — the only consumer is `map.addImage`, and
35
+ * a canvas per PoI would stay resident for the session.
36
+ */
37
+ export function createPoiPinImage(image, bodyWidthPx, pixelRatio, color) {
38
+ const shape = POI_MARKER_PIN_SHAPE;
39
+ const layout = getPoiPinLayout(shape, bodyWidthPx, pixelRatio);
40
+ const { canvas, ctx, path } = createPinCanvas(shape, layout);
41
+ const { x, y } = shape.head;
42
+ setPinShadow(ctx, shape, layout.scale);
43
+ ctx.fillStyle = PIN_WHITE;
44
+ ctx.fill(path);
45
+ clearPinShadow(ctx);
46
+ ctx.beginPath();
47
+ ctx.arc(x, y, shape.head.innerRadius, 0, 2 * Math.PI);
48
+ // A color the canvas can't parse (e.g. an authored `url(#gradient)` fill) is
49
+ // ignored, so preset the default — a white disc would hide the white glyph.
50
+ ctx.fillStyle = POI_PIN_DEFAULT_COLOR;
51
+ ctx.fillStyle = color;
52
+ ctx.fill();
53
+ // No glyph (no iconUrl, or the load failed): the plain colored pin is still
54
+ // a usable marker, so the PoI never vanishes.
55
+ if (image) {
56
+ const box = 2 * shape.head.innerRadius * MARKER_GLYPH_FRACTION * layout.scale;
57
+ const glyph = createImageCanvas(image, box, box, 1);
58
+ const glyphCtx = glyph.getContext('2d');
59
+ glyphCtx.globalCompositeOperation = 'source-in';
60
+ glyphCtx.fillStyle = PIN_WHITE;
61
+ glyphCtx.fillRect(0, 0, glyph.width, glyph.height);
62
+ const glyphW = glyph.width / layout.scale;
63
+ const glyphH = glyph.height / layout.scale;
64
+ ctx.drawImage(glyph, x - glyphW / 2, y - glyphH / 2, glyphW, glyphH);
65
+ }
66
+ return toImageData(canvas);
67
+ }
68
+ /** The shared selection pin — one image serves every marker. */
69
+ export function createPoiPinheadImage(bodyWidthPx, pixelRatio, color) {
70
+ const shape = POI_SELECTED_PIN_SHAPE;
71
+ const layout = getPoiPinLayout(shape, bodyWidthPx, pixelRatio);
72
+ const { canvas, ctx, path } = createPinCanvas(shape, layout);
73
+ const shade = getPoiPinShadeColor(color);
74
+ // Shadow the fill only: a shadowed stroke would darken the fill's edge.
75
+ setPinShadow(ctx, shape, layout.scale);
76
+ ctx.fillStyle = color;
77
+ ctx.fill(path);
78
+ clearPinShadow(ctx);
79
+ ctx.strokeStyle = shade;
80
+ ctx.lineWidth = shape.strokeWidth;
81
+ ctx.lineJoin = 'round';
82
+ ctx.stroke(path);
83
+ ctx.beginPath();
84
+ ctx.arc(shape.head.x, shape.head.y, shape.head.innerRadius, 0, 2 * Math.PI);
85
+ ctx.fillStyle = shade;
86
+ ctx.fill();
87
+ return toImageData(canvas);
88
+ }
@@ -0,0 +1,12 @@
1
+ import type { SelectionStyle } from '@expofp/schema';
2
+ /**
3
+ * The 0..1 "how selected" value the booth background interpolates on.
4
+ * `blink` keeps the animated value; `solid` snaps to fully selected.
5
+ */
6
+ export declare function selectionAnimationPart(style: SelectionStyle, selected: boolean, animated: number): number;
7
+ /**
8
+ * Border color of a selected booth. `solid` paints the border in the fill
9
+ * color so the shape reads as one flat highlight without an outline.
10
+ */
11
+ export declare function selectedBorderColor(style: SelectionStyle, configuredBorder: string | null | undefined, fillColor: string, fallback: string): string;
12
+ //# sourceMappingURL=selection-style.d.ts.map
@@ -0,0 +1,18 @@
1
+ /**
2
+ * The 0..1 "how selected" value the booth background interpolates on.
3
+ * `blink` keeps the animated value; `solid` snaps to fully selected.
4
+ */
5
+ export function selectionAnimationPart(style, selected, animated) {
6
+ if (style === 'blink')
7
+ return animated;
8
+ return selected ? 1 : 0;
9
+ }
10
+ /**
11
+ * Border color of a selected booth. `solid` paints the border in the fill
12
+ * color so the shape reads as one flat highlight without an outline.
13
+ */
14
+ export function selectedBorderColor(style, configuredBorder, fillColor, fallback) {
15
+ if (style === 'solid')
16
+ return fillColor;
17
+ return configuredBorder || fallback;
18
+ }
@@ -0,0 +1,16 @@
1
+ import { Box } from '@expofp/geometry';
2
+ /**
3
+ * The part of the canvas a command should frame into: what the user can see of the plan, narrowed by
4
+ * an overlay sat over it.
5
+ *
6
+ * Composed here rather than kept on the store, because nothing observes it — it is read once, by the
7
+ * command about to run. `canvasVisibleRectPx` is where the plan is *drawn* and does have observers;
8
+ * widening that would slide the plan every time a details panel opened, where this only moves where
9
+ * a `zoomTo` puts its target. The imperative renderer got the same effect by shifting the visible
10
+ * rect around each call and putting it back in a `finally`.
11
+ *
12
+ * Shared by both views, so a command frames into the same region with and without MapLibre.
13
+ * @returns The region, in css pixels from the canvas's top-left corner.
14
+ */
15
+ export declare function framingRect(): Box;
16
+ //# sourceMappingURL=framing-rect.d.ts.map
@@ -0,0 +1,24 @@
1
+ import { Box } from '@expofp/geometry';
2
+ import { uiState } from '../../store';
3
+ /**
4
+ * The part of the canvas a command should frame into: what the user can see of the plan, narrowed by
5
+ * an overlay sat over it.
6
+ *
7
+ * Composed here rather than kept on the store, because nothing observes it — it is read once, by the
8
+ * command about to run. `canvasVisibleRectPx` is where the plan is *drawn* and does have observers;
9
+ * widening that would slide the plan every time a details panel opened, where this only moves where
10
+ * a `zoomTo` puts its target. The imperative renderer got the same effect by shifting the visible
11
+ * rect around each call and putting it back in a `finally`.
12
+ *
13
+ * Shared by both views, so a command frames into the same region with and without MapLibre.
14
+ * @returns The region, in css pixels from the canvas's top-left corner.
15
+ */
16
+ export function framingRect() {
17
+ const rect = uiState.canvasVisibleRectPx;
18
+ if (!uiState.shouldShiftMapRect)
19
+ return rect;
20
+ // The overlay sits at the start of the layout, which is the right-hand side in an RTL locale.
21
+ return uiState.rtl
22
+ ? Box.fromMinMax(rect.min, { x: rect.max.x - uiState.overlayWidthPx, y: rect.max.y })
23
+ : Box.fromMinMax({ x: rect.min.x + uiState.overlayWidthPx, y: rect.min.y }, rect.max);
24
+ }