@expofp/floorplan 3.11.11 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/browser/{Button-DmRjgZlq.js → Button-C5CmZ0so.js} +6 -6
  2. package/dist/browser/CookieConsent-kl_B6sH5.js +38 -0
  3. package/dist/browser/{Debug-aXNyyjt9.js → Debug-DymHiO2Z.js} +14 -14
  4. package/dist/browser/{Demo-Br_48fiP.js → Demo-5tRIgVJF.js} +14 -14
  5. package/dist/browser/{Free-CPqp0AlV.js → Free-hYQaAEbK.js} +16 -16
  6. package/dist/browser/{Gallery-DybTjssU.js → Gallery-D10tiZuW.js} +24 -24
  7. package/dist/browser/{GpsLoader-4QcLlh63.js → GpsLoader-CNkUVJdS.js} +51 -50
  8. package/dist/browser/{KioskStore-CwHiYm_-.js → KioskStore-2WAOxGM0.js} +31 -31
  9. package/dist/browser/{MaplibreAdapter-Cts8OaYm.js → MaplibreAdapter-B_tNIXx4.js} +2360 -2331
  10. package/dist/browser/{ModalContainer-BG7y_r6K.js → ModalContainer-CckyeoUG.js} +13 -13
  11. package/dist/browser/{PermissionNotice-DwlyTCP5.js → PermissionNotice-qetBrmIY.js} +7 -7
  12. package/dist/browser/{SetKioskMode-CvWZVqNw.js → SetKioskMode-BOjaqczc.js} +9 -9
  13. package/dist/browser/ShowKiosk-CcQHeM8K.js +33 -0
  14. package/dist/browser/{TouchHand-RuKsL9Wb.js → TouchHand-DKpxmOwz.js} +5 -5
  15. package/dist/browser/{ViewerMenuPanel-Dhd7sWsi.js → ViewerMenuPanel-HULfvF54.js} +25 -25
  16. package/dist/browser/{add-debug-secret-listener-BRMVj2bX.js → add-debug-secret-listener-BTGIVZFY.js} +1 -1
  17. package/dist/browser/{boolean-editor-DpmP-U1q.js → boolean-editor-oT7I3D0U.js} +10 -10
  18. package/dist/browser/{bootIntercom-C1k788Mx.js → bootIntercom-YnsJPGCs.js} +3 -3
  19. package/dist/browser/{booth-by-xy-CP-xbS2r.js → booth-by-xy-DTknn14w.js} +292 -295
  20. package/dist/browser/bundle.json +78 -63
  21. package/dist/browser/{classnames-BkI7JKtT.js → classnames-VfuHc9uB.js} +2 -2
  22. package/dist/browser/{client-C3mnANrs.js → client-Bevofhdz.js} +5 -5
  23. package/dist/browser/{components-Cg-q6o6G.js → components-COUCtdev.js} +1369 -1316
  24. package/dist/browser/{debug-overlay-BtQ-2fHJ.js → debug-overlay-BLN24Eyb.js} +415 -415
  25. package/dist/browser/{debug-ui-CjzERnaO.js → debug-ui-BT7Ddvoj.js} +7 -7
  26. package/dist/browser/{dist-Bn99_f_N.js → dist-CWBtHMZR.js} +6 -6
  27. package/dist/browser/{dist-Bn-20xtu.js → dist-CtKSG8GG.js} +4 -4
  28. package/dist/browser/{dist-DO20gNXa.js → dist-saTnlhyc.js} +7 -7
  29. package/dist/browser/{browser-BO13Zt0K.js → efp-debug-init-CYoM0s-a.js} +61 -14
  30. package/dist/browser/enum-editor-vF4eKelT.js +34 -0
  31. package/dist/browser/{es5-Dvav8ihy.js → es5-COzmRHZr.js} +2 -2
  32. package/dist/browser/{event-not-found-CC0X5cEh.js → event-not-found-BZkFh-P9.js} +1 -1
  33. package/dist/browser/{exports-D1Nac_lG.js → exports-BsqJX0o4.js} +1 -1
  34. package/dist/browser/{favicon-Bid1H1Jx.js → favicon-BBgsGFil.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-ETXiLKL-.js → fetch-retry.umd-BFTNSvNa.js} +2 -2
  36. package/dist/browser/{flex-B6lY7ZeN.js → flex-DnOM12q-.js} +6 -6
  37. package/dist/browser/{floorplan.loader-g70WUpYB.js → floorplan.loader-DuVsbJsr.js} +893 -901
  38. package/dist/browser/floorplan.ready-B2SvQNh9.js +1326 -0
  39. package/dist/browser/{fuse-BlXhXkUq.js → fuse-Ddn6vCOL.js} +2 -2
  40. package/dist/browser/i18n-D9dsV3GV.js +8659 -0
  41. package/dist/browser/index.js +49 -117
  42. package/dist/browser/{index.module-X_SYTiEf.js → index.module-CFTe1PiT.js} +23 -23
  43. package/dist/browser/integrateKiosk-vlZ9-8EP.js +28 -0
  44. package/dist/browser/{is-webview-zoAn2Bb4.js → is-webview-SfodrdWn.js} +1 -1
  45. package/dist/browser/{jsx-runtime-uErsjC2N.js → jsx-runtime-DEIf9CUU.js} +2 -2
  46. package/dist/browser/{lib-HG4Gm1_q.js → lib-CCkkeprZ.js} +5 -5
  47. package/dist/browser/loadImage-C356B0zk.js +58 -0
  48. package/dist/browser/locales/ru.json +1 -1
  49. package/dist/browser/{logDeviceInfo-DHyhFPeb.js → logDeviceInfo-UnfHYhqR.js} +9 -9
  50. package/dist/browser/{main-CTeBxXij.js → main-JnTe8DvY.js} +1 -1
  51. package/dist/browser/mobx-DPek3UBx.js +24 -0
  52. package/dist/browser/optional-boolean-editor-HEZXOpAy.js +20 -0
  53. package/dist/browser/optional-enum-editor-DpN8qtqv.js +34 -0
  54. package/dist/browser/optional-string-editor-iR5VHFAR.js +30 -0
  55. package/dist/browser/{particles.min-aU8uhhyJ.js → particles.min-BWlVGdrr.js} +2 -2
  56. package/dist/browser/{prop-types-90IFj1US.js → prop-types-DA-Iew4C.js} +2 -2
  57. package/dist/browser/{react-Cr4w3-kF.js → react-C02q0n7M.js} +2 -2
  58. package/dist/browser/{react-dom-BqelOkAi.js → react-dom-BV1hX9nO.js} +4 -4
  59. package/dist/browser/reset-all-settings-BQgeIRam.js +190 -0
  60. package/dist/browser/{rolldown-runtime-CMis-gOy.js → rolldown-runtime-DYSU24gn.js} +1 -1
  61. package/dist/browser/{enum-editor-CDtermvp.js → select-D0S5iMvJ.js} +261 -283
  62. package/dist/browser/{settings-BGmwy5RM.js → settings-Dw78gtQ_.js} +3 -3
  63. package/dist/browser/{settings-item-CDNsKf0A.js → settings-item-BSR8Iz1R.js} +7 -7
  64. package/dist/browser/{store-CcwBnHB2.js → store-DxRBdgZM.js} +7719 -7991
  65. package/dist/browser/string-editor-BwtRnquZ.js +30 -0
  66. package/dist/browser/text-field-D5x33kIn.js +88 -0
  67. package/dist/browser/{theme-C1rg17tG.js → theme-uaffdJE1.js} +9 -9
  68. package/dist/browser/ui-jO3fquPn.js +43 -0
  69. package/dist/browser/{useRenderTarget-gmu3Wzj0.js → useRenderTarget-NdsPPF5u.js} +5 -5
  70. package/dist/esm/components/Booth/Booth.js +1 -1
  71. package/dist/esm/components/EntityListRow.js +1 -1
  72. package/dist/esm/components/Exhibitor.js +1 -1
  73. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  74. package/dist/esm/components/LanguageRowContainer.d.ts +1 -0
  75. package/dist/esm/components/Layout.d.ts +2 -1
  76. package/dist/esm/components/Layout.js +1 -1
  77. package/dist/esm/components/LogoOverlay.js +1 -1
  78. package/dist/esm/components/Map/Map.js +1 -1
  79. package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
  80. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  81. package/dist/esm/components/Map/drawing/config/config-booth-bg.d.ts +1 -1
  82. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  83. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  84. package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
  85. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  86. package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
  87. package/dist/esm/components/Maplibre/utils/resolve-map-style.d.ts +15 -0
  88. package/dist/esm/components/Maplibre/utils/resolve-map-style.js +1 -0
  89. package/dist/esm/components/Menu.d.ts +3 -2
  90. package/dist/esm/components/Menu.js +1 -1
  91. package/dist/esm/components/OverlayContainer.d.ts +2 -1
  92. package/dist/esm/components/OverlayContainer.js +1 -1
  93. package/dist/esm/components/Ws.js +1 -1
  94. package/dist/esm/constants.d.ts +7 -13
  95. package/dist/esm/constants.js +1 -1
  96. package/dist/esm/data/fp-payloads.d.ts +27 -0
  97. package/dist/esm/data/fp-payloads.js +1 -0
  98. package/dist/esm/data/fpGeo.js +1 -1
  99. package/dist/esm/data/index.d.ts +8 -2
  100. package/dist/esm/data/index.js +1 -1
  101. package/dist/esm/data/svg.d.ts +4 -1
  102. package/dist/esm/data/svg.js +1 -1
  103. package/dist/esm/floorplan.loader.d.ts +13 -4
  104. package/dist/esm/floorplan.loader.js +1 -1
  105. package/dist/esm/floorplan.ready.d.ts +8 -0
  106. package/dist/esm/floorplan.ready.js +1 -1
  107. package/dist/esm/index.d.ts +0 -1
  108. package/dist/esm/index.js +1 -1
  109. package/dist/esm/intercom/shouldLoad.d.ts +2 -2
  110. package/dist/esm/intercom/shouldLoad.js +1 -1
  111. package/dist/esm/load-dev.d.ts +44 -0
  112. package/dist/esm/load-dev.js +1 -0
  113. package/dist/esm/load.d.ts +3 -3
  114. package/dist/esm/load.js +3 -3
  115. package/dist/esm/renderer/engine-core/fonts.js +1 -1
  116. package/dist/esm/services/URLFilterManager.d.ts +15 -0
  117. package/dist/esm/services/URLFilterManager.js +1 -1
  118. package/dist/esm/services/multi-slug.d.ts +20 -0
  119. package/dist/esm/services/multi-slug.js +1 -0
  120. package/dist/esm/services/url-dispatch.d.ts +24 -0
  121. package/dist/esm/services/url-dispatch.js +1 -0
  122. package/dist/esm/services/url-sync.d.ts +36 -0
  123. package/dist/esm/services/url-sync.js +1 -0
  124. package/dist/esm/store/BoothStore.d.ts +2 -1
  125. package/dist/esm/store/ExhibitorStore.d.ts +3 -2
  126. package/dist/esm/store/ExhibitorStore.js +1 -1
  127. package/dist/esm/store/LayerStore.js +1 -1
  128. package/dist/esm/store/MaplibreStore.js +1 -1
  129. package/dist/esm/store/PoiTypeStore.d.ts +1 -1
  130. package/dist/esm/store/SearchStore.js +1 -1
  131. package/dist/esm/store/UIState.d.ts +1 -5
  132. package/dist/esm/store/UIState.js +1 -1
  133. package/dist/esm/store/init/init-bookmarks.d.ts +2 -0
  134. package/dist/esm/store/init/init-booths.js +1 -1
  135. package/dist/esm/store/init/init-categories.js +1 -1
  136. package/dist/esm/store/init/init-events.js +1 -1
  137. package/dist/esm/store/init/init-exhibitors.js +1 -1
  138. package/dist/esm/store/init/init-layers.js +1 -1
  139. package/dist/esm/store/types.d.ts +2 -1
  140. package/dist/esm/tools/event-not-found.d.ts +4 -3
  141. package/dist/esm/tools/gtag.d.ts +3 -2
  142. package/dist/esm/tools/gtag.js +1 -1
  143. package/dist/esm/tools/handleDebugMode.d.ts +17 -0
  144. package/dist/esm/tools/handleDebugMode.js +1 -1
  145. package/dist/esm/tools/loaders.d.ts +0 -2
  146. package/dist/esm/tools/loaders.js +1 -1
  147. package/dist/esm/tools/rebookingUrl.js +1 -1
  148. package/dist/esm/tools/reset.js +1 -1
  149. package/dist/esm/tools/settings.js +1 -1
  150. package/dist/esm/tools/track-event.js +1 -1
  151. package/dist/esm/types/drawing.types.d.ts +18 -0
  152. package/dist/esm/types.d.ts +52 -38
  153. package/dist/esm/utils/areLayersEnabled.js +1 -1
  154. package/dist/esm/utils/camera-map-settings.d.ts +20 -0
  155. package/dist/esm/utils/camera-map-settings.js +1 -0
  156. package/dist/esm/utils/customCommands.js +1 -1
  157. package/dist/esm/utils/getLogoUrl.d.ts +8 -1
  158. package/dist/esm/utils/getLogoUrl.js +1 -1
  159. package/dist/esm/utils/heatmap-enabled.d.ts +13 -0
  160. package/dist/esm/utils/heatmap-enabled.js +1 -0
  161. package/dist/esm/utils/i18n.js +1 -1
  162. package/dist/esm/utils/imageloader.js +1 -1
  163. package/dist/esm/utils/is-debug.d.ts +0 -8
  164. package/dist/esm/utils/is-debug.js +1 -1
  165. package/dist/esm/utils/legacy-storage-keys.d.ts +16 -0
  166. package/dist/esm/utils/legacy-storage-keys.js +1 -0
  167. package/dist/esm/utils/loadCustomCss.d.ts +2 -2
  168. package/dist/esm/utils/loadCustomCss.js +1 -1
  169. package/dist/esm/utils/mapEntity.d.ts +1 -0
  170. package/dist/esm/utils/preview-exhibitor.d.ts +1 -1
  171. package/dist/esm/wayfinding/adapters/arbitraryPoint.d.ts +1 -1
  172. package/dist/esm/wayfinding/adapters/arbitraryPoint.js +1 -1
  173. package/dist/esm/wayfinding/adapters/boothToEndpoint.d.ts +4 -4
  174. package/dist/esm/wayfinding/adapters/canvasIconProvider.d.ts +1 -1
  175. package/dist/esm/wayfinding/adapters/floorContext.d.ts +1 -1
  176. package/dist/esm/wayfinding/adapters/graphDataSource.d.ts +2 -2
  177. package/dist/esm/wayfinding/adapters/graphDataSource.js +1 -1
  178. package/dist/esm/wayfinding/adapters/positionInput.d.ts +8 -7
  179. package/dist/esm/wayfinding/adapters/positionInput.js +1 -1
  180. package/dist/esm/wayfinding/bindMobxReactions.d.ts +10 -23
  181. package/dist/esm/wayfinding/bindMobxReactions.js +1 -1
  182. package/dist/esm/wayfinding/createWayfinding.d.ts +1 -1
  183. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  184. package/dist/esm/wayfinding/handlers/kioskHandler.d.ts +3 -3
  185. package/dist/esm/wayfinding/handlers/kioskHandler.js +1 -1
  186. package/dist/esm/wayfinding/handlers/yahHandler.d.ts +3 -4
  187. package/dist/esm/wayfinding/handlers/yahHandler.js +1 -1
  188. package/dist/esm/wayfinding/index.d.ts +4 -7
  189. package/dist/esm/wayfinding/index.js +1 -1
  190. package/dist/esm/wayfinding/storePorts.d.ts +60 -0
  191. package/package.json +9 -5
  192. package/dist/browser/CookieConsent-BJLQ1IVh.js +0 -38
  193. package/dist/browser/ShowKiosk-B60doTCj.js +0 -28
  194. package/dist/browser/efp-debug-init-Dif87fzy.js +0 -42
  195. package/dist/browser/floorplan.ready-CZQeXSCk.js +0 -1406
  196. package/dist/browser/i18n-CU-BJOBJ.js +0 -3942
  197. package/dist/browser/loadImage-vQZ4dq8v.js +0 -121
  198. package/dist/browser/mobx-Cnw3_TUT.js +0 -24
  199. package/dist/browser/reset-all-settings-O_33LwUw.js +0 -141
  200. package/dist/browser/string-editor-01VxR0gn.js +0 -108
  201. package/dist/browser/ui-gZWduhVn.js +0 -43
  202. package/dist/esm/_NEW_types.d.ts +0 -6
  203. package/dist/esm/_NEW_types.js +0 -1
  204. package/dist/esm/_misc_to_move/manifest.d.ts +0 -14
  205. package/dist/esm/_misc_to_move/ref.d.ts +0 -6
  206. package/dist/esm/data/Flags.d.ts +0 -23
  207. package/dist/esm/data/Flags.js +0 -1
  208. package/dist/esm/data/validate-data.d.ts +0 -3
  209. package/dist/esm/data/validate-data.js +0 -1
  210. package/dist/esm/services/routing.d.ts +0 -7
  211. package/dist/esm/services/routing.js +0 -1
  212. package/dist/esm/utils/mergeExhibitors.d.ts +0 -3
  213. package/dist/esm/utils/mergeExhibitors.js +0 -1
  214. package/dist/esm/wayfinding/core/__tests__/helpers.d.ts +0 -16
  215. package/dist/esm/wayfinding/core/__tests__/helpers.js +0 -1
  216. package/dist/esm/wayfinding/core/createWayfindingEngine.d.ts +0 -16
  217. package/dist/esm/wayfinding/core/createWayfindingEngine.js +0 -1
  218. package/dist/esm/wayfinding/core/geometry/pointInPolygon.d.ts +0 -11
  219. package/dist/esm/wayfinding/core/geometry/pointInPolygon.js +0 -1
  220. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.d.ts +0 -24
  221. package/dist/esm/wayfinding/core/geometry/projectPointOnSegment.js +0 -1
  222. package/dist/esm/wayfinding/core/graph/buildGraph.d.ts +0 -3
  223. package/dist/esm/wayfinding/core/graph/buildGraph.js +0 -1
  224. package/dist/esm/wayfinding/core/graph/buildNGraph.d.ts +0 -9
  225. package/dist/esm/wayfinding/core/graph/buildNGraph.js +0 -1
  226. package/dist/esm/wayfinding/core/graph/constants.d.ts +0 -17
  227. package/dist/esm/wayfinding/core/graph/constants.js +0 -1
  228. package/dist/esm/wayfinding/core/graph/findShortestPath.d.ts +0 -14
  229. package/dist/esm/wayfinding/core/graph/findShortestPath.js +0 -1
  230. package/dist/esm/wayfinding/core/graph/graphCache.d.ts +0 -7
  231. package/dist/esm/wayfinding/core/graph/graphCache.js +0 -1
  232. package/dist/esm/wayfinding/core/graph/graphHelpers.d.ts +0 -8
  233. package/dist/esm/wayfinding/core/graph/graphHelpers.js +0 -1
  234. package/dist/esm/wayfinding/core/graph/linkCost.d.ts +0 -4
  235. package/dist/esm/wayfinding/core/graph/linkCost.js +0 -1
  236. package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.d.ts +0 -3
  237. package/dist/esm/wayfinding/core/graph/pathfinder/aStarPathFinder.js +0 -1
  238. package/dist/esm/wayfinding/core/graph/pathfinder/parseNodeId.d.ts +0 -9
  239. package/dist/esm/wayfinding/core/graph/pathfinder/parseNodeId.js +0 -1
  240. package/dist/esm/wayfinding/core/index.d.ts +0 -17
  241. package/dist/esm/wayfinding/core/index.js +0 -1
  242. package/dist/esm/wayfinding/core/position/distanceToRoute.d.ts +0 -3
  243. package/dist/esm/wayfinding/core/position/distanceToRoute.js +0 -1
  244. package/dist/esm/wayfinding/core/position/gpsThreshold.d.ts +0 -31
  245. package/dist/esm/wayfinding/core/position/gpsThreshold.js +0 -1
  246. package/dist/esm/wayfinding/core/position/rerouteController.d.ts +0 -10
  247. package/dist/esm/wayfinding/core/position/rerouteController.js +0 -1
  248. package/dist/esm/wayfinding/core/position/snapToRoute.d.ts +0 -4
  249. package/dist/esm/wayfinding/core/position/snapToRoute.js +0 -1
  250. package/dist/esm/wayfinding/core/position/splitRouteByPoint.d.ts +0 -6
  251. package/dist/esm/wayfinding/core/position/splitRouteByPoint.js +0 -1
  252. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.d.ts +0 -19
  253. package/dist/esm/wayfinding/core/rendering/computeTrailPoints.js +0 -1
  254. package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.d.ts +0 -31
  255. package/dist/esm/wayfinding/core/rendering/computeTransitionPoints.js +0 -1
  256. package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.d.ts +0 -11
  257. package/dist/esm/wayfinding/core/rendering/getVisibleRouteLines.js +0 -1
  258. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.d.ts +0 -20
  259. package/dist/esm/wayfinding/core/rendering/normalizeRouteDirection.js +0 -1
  260. package/dist/esm/wayfinding/core/rendering/routeGeometry.d.ts +0 -11
  261. package/dist/esm/wayfinding/core/rendering/routeGeometry.js +0 -1
  262. package/dist/esm/wayfinding/core/routing/buildMultiPointRoute.d.ts +0 -11
  263. package/dist/esm/wayfinding/core/routing/buildMultiPointRoute.js +0 -1
  264. package/dist/esm/wayfinding/core/routing/buildRoute.d.ts +0 -9
  265. package/dist/esm/wayfinding/core/routing/buildRoute.js +0 -1
  266. package/dist/esm/wayfinding/core/routing/getRouteLength.d.ts +0 -3
  267. package/dist/esm/wayfinding/core/routing/getRouteLength.js +0 -1
  268. package/dist/esm/wayfinding/core/routing/graphPointResolvers.d.ts +0 -4
  269. package/dist/esm/wayfinding/core/routing/graphPointResolvers.js +0 -1
  270. package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.d.ts +0 -19
  271. package/dist/esm/wayfinding/core/routing/optimizeWaypointOrder.js +0 -1
  272. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.d.ts +0 -18
  273. package/dist/esm/wayfinding/core/routing/resolveWaypointCandidates.js +0 -1
  274. package/dist/esm/wayfinding/core/routing/routeResult.d.ts +0 -4
  275. package/dist/esm/wayfinding/core/routing/routeResult.js +0 -1
  276. package/dist/esm/wayfinding/core/types.d.ts +0 -106
  277. package/dist/esm/wayfinding/core/types.js +0 -1
  278. package/dist/esm/wayfinding/renderer/createWayfindingRenderer.d.ts +0 -13
  279. package/dist/esm/wayfinding/renderer/createWayfindingRenderer.js +0 -1
  280. package/dist/esm/wayfinding/renderer/iconManager.d.ts +0 -37
  281. package/dist/esm/wayfinding/renderer/iconManager.js +0 -1
  282. package/dist/esm/wayfinding/renderer/index.d.ts +0 -3
  283. package/dist/esm/wayfinding/renderer/index.js +0 -1
  284. package/dist/esm/wayfinding/renderer/layerManager.d.ts +0 -26
  285. package/dist/esm/wayfinding/renderer/layerManager.js +0 -1
  286. package/dist/esm/wayfinding/renderer/lineAnimation.d.ts +0 -7
  287. package/dist/esm/wayfinding/renderer/lineAnimation.js +0 -1
  288. package/dist/esm/wayfinding/renderer/routeLineManager.d.ts +0 -41
  289. package/dist/esm/wayfinding/renderer/routeLineManager.js +0 -1
  290. package/dist/esm/wayfinding/renderer/trailManager.d.ts +0 -30
  291. package/dist/esm/wayfinding/renderer/trailManager.js +0 -1
  292. package/dist/esm/wayfinding/renderer/types.d.ts +0 -129
  293. package/dist/esm/wayfinding/renderer/types.js +0 -1
  294. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.d.ts +0 -3
  295. package/dist/esm/wayfinding/runtime/createWayfindingRuntime.js +0 -1
  296. package/dist/esm/wayfinding/runtime/endpointView.d.ts +0 -18
  297. package/dist/esm/wayfinding/runtime/endpointView.js +0 -1
  298. package/dist/esm/wayfinding/runtime/getRouteLines.d.ts +0 -13
  299. package/dist/esm/wayfinding/runtime/getRouteLines.js +0 -1
  300. package/dist/esm/wayfinding/runtime/positionTrailView.d.ts +0 -50
  301. package/dist/esm/wayfinding/runtime/positionTrailView.js +0 -1
  302. package/dist/esm/wayfinding/runtime/positionView.d.ts +0 -23
  303. package/dist/esm/wayfinding/runtime/positionView.js +0 -1
  304. package/dist/esm/wayfinding/runtime/routeLinesView.d.ts +0 -18
  305. package/dist/esm/wayfinding/runtime/routeLinesView.js +0 -1
  306. package/dist/esm/wayfinding/runtime/routeRenderData.d.ts +0 -29
  307. package/dist/esm/wayfinding/runtime/routeRenderData.js +0 -1
  308. package/dist/esm/wayfinding/runtime/routeUpdate.d.ts +0 -15
  309. package/dist/esm/wayfinding/runtime/routeUpdate.js +0 -1
  310. package/dist/esm/wayfinding/runtime/trailView.d.ts +0 -20
  311. package/dist/esm/wayfinding/runtime/trailView.js +0 -1
  312. package/dist/esm/wayfinding/runtime/transitionView.d.ts +0 -17
  313. package/dist/esm/wayfinding/runtime/transitionView.js +0 -1
  314. package/dist/esm/wayfinding/runtime/types.d.ts +0 -82
  315. package/dist/esm/wayfinding/runtime/types.js +0 -1
  316. /package/dist/esm/{_misc_to_move/manifest.js → types/drawing.types.js} +0 -0
  317. /package/dist/esm/{_misc_to_move/ref.js → wayfinding/storePorts.js} +0 -0
@@ -1,121 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.11.11" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "73823f57-9217-444d-955f-f460e4483474", e._sentryDebugIdIdentifier = "sentry-dbid-73823f57-9217-444d-955f-f460e4483474");
7
- } catch {}
8
- })();
9
- import "./efp-debug-init-Dif87fzy.js";
10
- import "./settings-BGmwy5RM.js";
11
- import { L as e, l as t, lt as n } from "./i18n-CU-BJOBJ.js";
12
- //#region src/tools/rebookingUrl.ts
13
- var r = "rt";
14
- function i() {
15
- return new URLSearchParams(decodeURIComponent(window.location.search)).get(r);
16
- }
17
- function a() {
18
- let e = i();
19
- return e || (e = sessionStorage.getItem(r)), e;
20
- }
21
- function o(e) {
22
- sessionStorage.setItem(r, e);
23
- }
24
- function s(e, t) {
25
- let n = new URL(e, "https://app.expofp.com/");
26
- for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
27
- return n.href;
28
- }
29
- //#endregion
30
- //#region src/utils/urlEncoding.ts
31
- function c(e) {
32
- if (!e || e.length === 0) return "";
33
- let t = e.map((e) => encodeURIComponent(e.trim())).join(",");
34
- return n.log("URLEncoding: encoding string array:", {
35
- original: e,
36
- encoded: t
37
- }), t;
38
- }
39
- function l(e) {
40
- if (!e) return [];
41
- try {
42
- let t = e.split(",").map((e) => decodeURIComponent(e.trim())).filter(Boolean);
43
- return n.log("URLEncoding: decoding string array:", {
44
- encoded: e,
45
- decoded: t
46
- }), t;
47
- } catch (t) {
48
- return n.warn("URLEncoding: failed to decode string array:", e, t), [];
49
- }
50
- }
51
- function u(e) {
52
- if (!e) return null;
53
- let t = encodeURIComponent(e.trim());
54
- return n.log("URLEncoding: encoding string:", {
55
- original: e,
56
- encoded: t
57
- }), t;
58
- }
59
- function d(e) {
60
- if (!e) return null;
61
- try {
62
- let t = decodeURIComponent(e.trim());
63
- return n.log("URLEncoding: decoding string:", {
64
- encoded: e,
65
- decoded: t
66
- }), t;
67
- } catch (t) {
68
- return n.warn("URLEncoding: failed to decode string:", e, t), null;
69
- }
70
- }
71
- function f(e) {
72
- return e.map((e) => e.toLowerCase());
73
- }
74
- function p(e) {
75
- return e ? e.toLowerCase() : null;
76
- }
77
- //#endregion
78
- //#region src/utils/index.ts
79
- function m(e) {
80
- return e * parseFloat(getComputedStyle(document.documentElement).fontSize);
81
- }
82
- function h(e, t) {
83
- let n = [];
84
- for (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));
85
- return n;
86
- }
87
- function g(e) {
88
- e.sort(function(e, t) {
89
- var n = e.name.toLowerCase(), r = t.name.toLowerCase();
90
- return n < r ? -1 : +(n > r);
91
- });
92
- }
93
- var _ = document.createElement("canvas"), v = !!(_.getContext("webgl") || _.getContext("experimental-webgl"));
94
- if (!v) {
95
- let e = document.createElement("div");
96
- e.innerHTML = "<!--no webgl-->", document.body.appendChild(e);
97
- }
98
- function y(e) {
99
- for (var t = e.length, n, r; t !== 0;) r = Math.floor(Math.random() * t), --t, n = e[t], e[t] = e[r], e[r] = n;
100
- return e;
101
- }
102
- function b(e) {
103
- return new Promise((t) => setTimeout(t, e));
104
- }
105
- //#endregion
106
- //#region src/utils/is-debug.ts
107
- if (typeof window < "u") {
108
- var x, S;
109
- ((S = (x = window).efpDebugUi) == null ? x.efpDebugUi = {} : S)[e] = { type: "boolean" };
110
- }
111
- var C = t && localStorage.getItem("efp:debug") === "true";
112
- //#endregion
113
- //#region src/utils/loadImage.ts
114
- function w(e) {
115
- return new Promise((t) => {
116
- var n = new Image();
117
- n.onerror = () => t(null), n.onload = () => t(n), n.crossOrigin = "anonymous", n.src = e;
118
- });
119
- }
120
- //#endregion
121
- export { i as _, m as a, g as c, u as d, c as f, a as g, s as h, v as i, d as l, p as m, C as n, y as o, f as p, h as r, b as s, w as t, l as u, o as v };
@@ -1,24 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.11.11" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d547b543-1992-4e79-86f6-e3fab062586c", e._sentryDebugIdIdentifier = "sentry-dbid-d547b543-1992-4e79-86f6-e3fab062586c");
7
- } catch {}
8
- })();
9
- import { r as e } from "./rolldown-runtime-CMis-gOy.js";
10
- import { t } from "./react-Cr4w3-kF.js";
11
- import { f as n, v as r } from "./i18n-CU-BJOBJ.js";
12
- //#region src/utils/mobx.ts
13
- var i = /* @__PURE__ */ e(t(), 1);
14
- function a(e, t) {
15
- return (0, i.useEffect)(() => n(e, t), []);
16
- }
17
- function o(e, t, n) {
18
- return (0, i.useEffect)(() => r(e, t, n), []);
19
- }
20
- function s(e) {
21
- return (0, i.useEffect)(e, []);
22
- }
23
- //#endregion
24
- export { s as n, o as r, a as t };
@@ -1,141 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.11.11" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "83b129d9-1970-4a9f-927d-8eae0b08dfb3", e._sentryDebugIdIdentifier = "sentry-dbid-83b129d9-1970-4a9f-927d-8eae0b08dfb3");
7
- } catch {}
8
- })();
9
- import { r as e } from "./rolldown-runtime-CMis-gOy.js";
10
- import { t } from "./react-Cr4w3-kF.js";
11
- import { t as n } from "./jsx-runtime-uErsjC2N.js";
12
- //#region ../debug/src/lib/settings/setting-registry.ts
13
- var r = /* @__PURE__ */ e(t(), 1), i = [], a = [], o = n(), s = "efp-local-storage";
14
- function c(e) {
15
- let { key: t, default: n, Editor: c, context: u, onChange: d, serialize: f = JSON.stringify, deserialize: p = (e) => JSON.parse(e) } = e, m = () => {
16
- let e = localStorage.getItem(t);
17
- if (e === null) return n;
18
- try {
19
- return p(e);
20
- } catch {
21
- return n;
22
- }
23
- }, h = (e) => {
24
- localStorage.setItem(t, f(e)), d == null || d(e), l(t);
25
- }, g = () => {
26
- localStorage.removeItem(t), d == null || d(n), l(t);
27
- };
28
- a.push(g);
29
- function _() {
30
- let [e, n] = (0, r.useState)(m());
31
- return (0, r.useEffect)(() => {
32
- let e = () => n(m()), r = (n) => {
33
- n.key === t && e();
34
- }, i = (n) => {
35
- let { detail: r } = n;
36
- (r == null ? void 0 : r.key) === t && e();
37
- };
38
- return window.addEventListener("storage", r), window.addEventListener(s, i), () => {
39
- window.removeEventListener("storage", r), window.removeEventListener(s, i);
40
- };
41
- }, []), [e, h];
42
- }
43
- let v = () => {
44
- let [e, n] = _();
45
- return /* @__PURE__ */ (0, o.jsx)(c, {
46
- label: t,
47
- value: e,
48
- context: u,
49
- onChange: n
50
- });
51
- };
52
- return v.displayName = `DebugSetting(${t})`, i.push({
53
- key: t,
54
- Editor: v
55
- }), {
56
- get: m,
57
- set: h,
58
- reset: g,
59
- useState: _
60
- };
61
- }
62
- function l(e) {
63
- window.dispatchEvent(new CustomEvent(s, { detail: { key: e } }));
64
- }
65
- //#endregion
66
- //#region ../debug/src/lib/settings/register-boolean-setting.ts
67
- function u(e) {
68
- var t;
69
- let n = r.lazy(() => import("./boolean-editor-DpmP-U1q.js").then((e) => ({ default: e.BooleanEditor })));
70
- return c({
71
- key: e.key,
72
- default: (t = e.default) == null ? !1 : t,
73
- Editor: n,
74
- onChange: e.onChange
75
- });
76
- }
77
- //#endregion
78
- //#region ../debug/src/lib/settings/register-enum-setting.ts
79
- function d(e) {
80
- let t = r.lazy(() => import("./enum-editor-CDtermvp.js").then((e) => ({ default: e.EnumEditor })));
81
- return c({
82
- key: e.key,
83
- default: e.default,
84
- Editor: t,
85
- context: { values: e.values },
86
- onChange: e.onChange
87
- });
88
- }
89
- //#endregion
90
- //#region ../debug/src/lib/settings/register-string-setting.ts
91
- function f(e) {
92
- var t;
93
- let n = r.lazy(() => import("./string-editor-01VxR0gn.js").then((e) => ({ default: e.StringEditor })));
94
- return c({
95
- key: e.key,
96
- default: (t = e.default) == null ? "" : t,
97
- Editor: n,
98
- context: { placeholder: e.placeholder },
99
- onChange: e.onChange,
100
- serialize: (e) => e,
101
- deserialize: (e) => e
102
- });
103
- }
104
- //#endregion
105
- //#region ../debug/src/lib/settings/adopt-global-settings.ts
106
- var p = /* @__PURE__ */ new Set();
107
- function m() {
108
- if (typeof window > "u") return;
109
- let e = window.efpDebugUi;
110
- if (e) {
111
- for (let [t, n] of Object.entries(e)) if (!p.has(t)) switch (p.add(t), n.type) {
112
- case "boolean":
113
- u({
114
- key: t,
115
- default: n.default
116
- });
117
- break;
118
- case "string":
119
- f({
120
- key: t,
121
- default: n.default,
122
- placeholder: n.placeholder
123
- });
124
- break;
125
- case "enum":
126
- d({
127
- key: t,
128
- values: n.values,
129
- default: n.default
130
- });
131
- break;
132
- }
133
- }
134
- }
135
- //#endregion
136
- //#region ../debug/src/lib/settings/reset-all-settings.ts
137
- function h() {
138
- a.forEach((e) => e());
139
- }
140
- //#endregion
141
- export { u as a, d as i, m as n, i as o, f as r, h as t };
@@ -1,108 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.11.11" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "da8db9a3-7430-483e-912d-7db8503a8231", e._sentryDebugIdIdentifier = "sentry-dbid-da8db9a3-7430-483e-912d-7db8503a8231");
7
- } catch {}
8
- })();
9
- import { r as e } from "./rolldown-runtime-CMis-gOy.js";
10
- import { t } from "./react-Cr4w3-kF.js";
11
- import { t as n } from "./jsx-runtime-uErsjC2N.js";
12
- import { t as r } from "./classnames-BkI7JKtT.js";
13
- import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-B6lY7ZeN.js";
14
- import { t as d } from "./settings-item-CDNsKf0A.js";
15
- //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
16
- var f = {
17
- size: {
18
- type: "enum",
19
- className: "rt-r-size",
20
- values: [
21
- "1",
22
- "2",
23
- "3"
24
- ],
25
- default: "2",
26
- responsive: !0
27
- },
28
- variant: {
29
- type: "enum",
30
- className: "rt-variant",
31
- values: [
32
- "classic",
33
- "surface",
34
- "soft"
35
- ],
36
- default: "surface"
37
- },
38
- ...u,
39
- ...c
40
- }, p = {
41
- side: {
42
- type: "enum",
43
- values: ["left", "right"]
44
- },
45
- ...u,
46
- gap: s.gap,
47
- px: a.px,
48
- pl: a.pl,
49
- pr: a.pr
50
- }, m = /* @__PURE__ */ e(t()), h = /* @__PURE__ */ e(r()), g = m.forwardRef((e, t) => {
51
- let n = m.useRef(null), { children: r, className: a, color: s, radius: c, style: u, ...d } = l(e, f, o);
52
- return m.createElement("div", {
53
- "data-accent-color": s,
54
- "data-radius": c,
55
- style: u,
56
- className: (0, h.default)("rt-TextFieldRoot", a),
57
- onPointerDown: (e) => {
58
- let t = e.target;
59
- if (t.closest("input, button, a")) return;
60
- let r = n.current;
61
- if (!r) return;
62
- let i = t.closest("\n .rt-TextFieldSlot[data-side='right'],\n .rt-TextFieldSlot:not([data-side='right']) ~ .rt-TextFieldSlot:not([data-side='left'])\n ") ? r.value.length : 0;
63
- requestAnimationFrame(() => {
64
- try {
65
- r.setSelectionRange(i, i);
66
- } catch {}
67
- r.focus();
68
- });
69
- }
70
- }, m.createElement("input", {
71
- spellCheck: "false",
72
- ...d,
73
- ref: i(n, t),
74
- className: "rt-reset rt-TextFieldInput"
75
- }), r);
76
- });
77
- g.displayName = "TextField.Root";
78
- var _ = m.forwardRef((e, t) => {
79
- let { className: n, color: r, side: i, ...a } = l(e, p);
80
- return m.createElement("div", {
81
- "data-accent-color": r,
82
- "data-side": i,
83
- ...a,
84
- ref: t,
85
- className: (0, h.default)("rt-TextFieldSlot", n)
86
- });
87
- });
88
- _.displayName = "TextField.Slot";
89
- //#endregion
90
- //#region ../debug/src/lib/ui/string-editor.tsx
91
- var v = n(), y = (e) => {
92
- var t;
93
- return /* @__PURE__ */ (0, v.jsx)(d, {
94
- label: e.label,
95
- children: /* @__PURE__ */ (0, v.jsx)(g, {
96
- placeholder: (t = e.context) == null ? void 0 : t.placeholder,
97
- value: e.value,
98
- onChange: (t) => e.onChange(t.target.value),
99
- style: {
100
- flexGrow: 1,
101
- minWidth: 220
102
- }
103
- })
104
- });
105
- };
106
- y.displayName = "StringEditor";
107
- //#endregion
108
- export { y as StringEditor };
@@ -1,43 +0,0 @@
1
- (function() {
2
- try {
3
- var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.11.11" };
5
- var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43912113-9328-4069-8890-5091c8745c34", e._sentryDebugIdIdentifier = "sentry-dbid-43912113-9328-4069-8890-5091c8745c34");
7
- } catch {}
8
- })();
9
- import { r as e } from "./rolldown-runtime-CMis-gOy.js";
10
- import { a as t, r as n } from "./reset-all-settings-O_33LwUw.js";
11
- import { t as r } from "./jsx-runtime-uErsjC2N.js";
12
- import "./settings-BGmwy5RM.js";
13
- import { t as i } from "./browser-BO13Zt0K.js";
14
- import { t as a } from "./add-debug-secret-listener-BRMVj2bX.js";
15
- //#region ../debug/src/lib/ui/render-debug-ui.tsx
16
- var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
17
- function l() {
18
- if (c) return;
19
- c = !0;
20
- let r = t({ key: "efp:show-debug-button" });
21
- n({
22
- key: "debug",
23
- placeholder: "e.g. efp:*",
24
- onChange: (e) => {
25
- e ? o.default.enable(e) : o.default.disable();
26
- }
27
- });
28
- let i = async (t) => {
29
- let { DebugUi: n } = await import("./debug-ui-CjzERnaO.js"), { createRoot: i } = await import("./client-C3mnANrs.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
30
- document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
31
- useDebugButtonState: r.useState,
32
- open: t
33
- }));
34
- };
35
- if (r.get()) i(!1);
36
- else {
37
- let e = a(() => {
38
- e(), r.set(!0), i(!0);
39
- });
40
- }
41
- }
42
- //#endregion
43
- export { l as renderDebugUi };
@@ -1,6 +0,0 @@
1
- declare const TYPES: {
2
- BoothByXy: symbol;
3
- RootStore: symbol;
4
- };
5
- export default TYPES;
6
- //# sourceMappingURL=_NEW_types.d.ts.map
@@ -1 +0,0 @@
1
- const o={BoothByXy:Symbol("BoothByXy"),RootStore:Symbol("RootStore")};export default o;
@@ -1,14 +0,0 @@
1
- /**
2
- * ExpoFP Manifest format
3
- * TODO: Keep this in sync with packages/data/src/lib/manifest.ts until this copy is removed.
4
- */
5
- export interface Manifest {
6
- expo: string;
7
- /** @deprecated */
8
- legacyDataVersion?: {
9
- version: string;
10
- };
11
- /** @deprecated */
12
- legacyDataUrlBase?: string;
13
- }
14
- //# sourceMappingURL=manifest.d.ts.map
@@ -1,6 +0,0 @@
1
- export interface Ref<T> {
2
- $ref: string;
3
- __type?: T;
4
- }
5
- export type RefTarget<R> = R extends Ref<infer T> ? T : never;
6
- //# sourceMappingURL=ref.d.ts.map
@@ -1,23 +0,0 @@
1
- export interface FloorPlanFlags {
2
- /**
3
- * Enable experimental MapLibre GL JS support.
4
- */
5
- enableExperimentalMaplibre?: boolean;
6
- /**
7
- * Custom `setkiosk` phrase.
8
- */
9
- customSetKiosk?: string;
10
- /**
11
- * Hide booth number badges.
12
- */
13
- hideBoothBadges?: boolean;
14
- /**
15
- * Enable live bus/transport routing on the floor plan.
16
- *
17
- * Disabled by default: most plans have no transit routes, and probing for
18
- * them issues an extra HTTP request on every load. Set to `true` only for
19
- * plans that actually provide bus routes.
20
- */
21
- busRoutes?: boolean;
22
- }
23
- //# sourceMappingURL=Flags.d.ts.map
@@ -1 +0,0 @@
1
- export{};
@@ -1,3 +0,0 @@
1
- import { type Data } from './Data';
2
- export default function validateData(data: Data): void;
3
- //# sourceMappingURL=validate-data.d.ts.map
@@ -1 +0,0 @@
1
- import n from"../tools/logger";import m from"../tools/settings";import c from"../utils/is-debug";import{isLocalStorageAvailable as b}from"../utils/localStorage";export default function h(e){const t=m.EXPO;if(e.exhibitors||(e.exhibitors=[]),e.booths||(e.booths=[]),e.categories||(e.categories=[]),e.hide3dMapDefault===void 0&&(e.hide3dMapDefault=!1),e.exhibitors.length>0)for(const o of e.booths)delete o.reserved;if(e.free&&(e.noFeatured=!0,e.expoFpAd=!0),(o=>{if(o){const i=new Date().getTime(),r=new Date(o).getTime();i<r&&(e.isTrial=!0)}})(e.trialExpiresAt),c||b&&localStorage.getItem("validate")==="1")for(const o of Object.keys(e)){if(e[o][Symbol.iterator]!=="function")continue;const i=new Set;for(const r of e[o]){const l=Object.keys(r);for(const s of l){const f=r[s];f===""?i.add(`data.${o}.${s} is sometimes empty string. Don't pass empty strings.`):f===!1?i.add(`data.${o}.${s} is sometimes false. Don't pass false for booleans.`):Array.isArray(f)&&f.length===0&&i.add(`data.${o}.${s} is sometimes empty array. Don't pass empty arrays.`)}}i.forEach(r=>n.warn(r))}if(!e.logo&&t==="expo"&&(e.logo="../logo.svg"),e.logo||(e.logo="../"+t+"-logo.png"),!e.homeUrl&&t==="jtrade19"&&(e.homeUrl="https://www.jtrade.co.uk/"),e.boothTerm||(e.boothTerm="Booth"),e.exhibitorTermPlural||(e.exhibitorTermPlural="Exhibitors"),e.levelTerm||(e.levelTerm=""),t==="expo"){const o=[2567,2704,2681,2592,2740,2709,2482,2609,2734,2696,2840,2566,2736];e.exhibitors.filter(i=>i.logo&&o.indexOf(i.id)!==-1).forEach(i=>i.advertise=!0)}for(const o of e.booths){const i=o;if(!o.special){const r=o;typeof r.onHold>"u"&&(r.onHold=i.isOnHold),typeof r.availColor>"u"&&(r.availColor=i.availableColor),typeof r.type>"u"&&(r.type=i.boothTypeName)}o.exhibitors=o.exhibitors||[]}for(const o of e.exhibitors){const i=o;typeof o.featured>"u"&&(o.featured=i.isFeatured),typeof o.email>"u"&&(o.email=i.publicEmail),o.categories=o.categories||[]}e.noFeatured&&e.exhibitors.forEach(o=>o.featured=!1)}
@@ -1,7 +0,0 @@
1
- export declare function getLocationHistory(): string[];
2
- export declare function historyReplace(search: string): void;
3
- export declare function initRouting(offHistory?: boolean): void;
4
- export declare function applyParameters(queryRaw?: string): void;
5
- export declare function destroyHistory(): void;
6
- export declare function goBack(): boolean;
7
- //# sourceMappingURL=routing.d.ts.map
@@ -1 +0,0 @@
1
- import{Box as oe}from"@expofp/geometry";import{createBrowserHistory as se}from"history";import{autorun as O,reaction as k,runInAction as A}from"mobx";import{recoverKioskFromUrlPrams as re}from"../components/Kiosk/recoverKioskFromUrlPrams";import{BUILD_ROUTE_KEY as ae,KIOSK_ENABLE_KEY as F,LANG_KEY as N,LANGUAGE_TYPE as E,MAP_SETTINGS_KEY as ie,PATHWAY_KEY as $,PLANNER_FROM_KEY as Y,PLANNER_KEY as P,PLANNER_SOURCE_KEY as K,PREVIEW_MODE_QUERY as I,PREVIEW_MODE_STORAGE_KEY as W,SEPARATOR as R,UI_SCALE_PARAM_KEY as V,UI_SCALE_RESET_PARAM_KEY as H,VIEWER_MODE_QUERY as x,VIEWER_MODE_STORAGE_KEY as G}from"../constants";import U from"../data";import o,{uiState as n}from"../store";import{BoothBase as D}from"../store/BoothStore";import{CurrentPosition as ne,extractRoute as le,findBooth as ce}from"../store/RouteStore";import{setConsentSettings as z}from"../tools/gtag";import v from"../tools/logger";import{areLayersEnabled as ue}from"../utils/areLayersEnabled";import{handleCustomCommand as he}from"../utils/customCommands";import{getMostFrequent as fe}from"../utils/getMostFrequent";import{hasLocale as de,setLocale as me}from"../utils/i18n";import{isLocalStorageAvailable as L}from"../utils/localStorage";import{stripTrackingParams as pe}from"../utils/trackingParams";let m=!1,B=!1,j=null,q=null,Q=null,J;const h=se(),C=window.location.pathname,w=[];export function getLocationHistory(){return w}function b(e){return C+e}function ge(e){m||h.push(b(e))}export function historyReplace(e){m||h.push(b(e))}function d(e){return e.replace(/=&/g,"&").replace(/=$/,"")}function X(){let e="";const l=n.selectedExhibitor,i=n.selectedBooth,s=n.selectedEventItem,t=n.selectedRoute,r=n.selectedSpeaker,a=n.setKioskModeEnabled;if(n.list.type==="route-planner"&&!l&&!i&&!s){const u=o.routePlannerStore;if(u.source==="bookmarks")e=`${P}&${K}=bookmarks`;else{const g=u.items.map(S=>S.entity.slug).filter(Boolean).join(R);e=`${P}=${g}`}const p=u.startPoint?.slug;p&&(e+=`&${Y}=${p}`)}else if(t&&!n.isMultiPointRoute){const u=t.from instanceof D?`:${t.from.slug}`:"",p=t.to instanceof D?`:${t.to.slug}`:"",g=o.routeStore.onlyAccessible?":true":":false",S=t.waypoints?.map(f=>`:${f.slug}`).join("");e=`route${p}${u}${g}${S||""}`}else if(l)e=l.slug;else if(i)e=i.slug;else if(s)e=s.slug;else if(r)e=r.slug;else if(a)e="";else switch(n.list.type){case"bookmarks":e="bookmarks";break;case"visited":e="visited";break;case"category":e=n.selectedCategory?.slug??"";break;case"search":e=n.list.text||"";break;case E:e=E;break;case"filter":e=`${n.list.query.key}=${n.list.query.value}`;break;case"sessions":e="sessions";break;case"exhibitors":e="exhibitors";break;case"speakers":e="speakers";break;case"tours":e="tours";break;case"multi-point-tour":e=`tour=${n.list.tourId}`;break;default:throw new Error("Unkown list.type")}if(B)return;const c=e?"?"+encodeURIComponent(e):"";h.location.search!==c&&(l!==j||i!==q||s!==Q?ge(c):historyReplace(c),j=l,q=i,Q=s)}function Z(){const e=n.selectedExhibitor,l=n.selectedEventItem,i=n.selectedSpeaker;let s="";e?s=e.name:l?s=l.name:i?s=i.name:n.list.type==="search"&&n.list.text?s="`"+(n.list.text||"")+"`":n.list.type==="multi-point-tour"&&n.tourTitle&&(s=n.tourTitle),s.length&&(s+=" \u2013 "),s+=U.title,U.subtitle&&(s+=" \u2013 "+U.subtitle),s+=" \u2013 Expo Floor Plan by ExpoFP",document.title=s}function T(){const e=h.location.search.length>1?decodeURIComponent(h.location.search.substring(1)):"";return he(e)}function y(){const e=h.location.search.length>1?decodeURIComponent(h.location.search.substring(1)):"";B=!0;const l=o.boothStore.booths.find(s=>s.slug?.toLowerCase()===e?.toLowerCase()||s.externalId?.toLowerCase()===e?.toLowerCase()||s.externalId?.toLowerCase()?.replace(/\s+/g,"")===e?.toLowerCase()),i=new URLSearchParams(decodeURIComponent(window.location.search));if(re(i),Se(i),!T())if(i.has(F)){const s=i.get(F);s==="1"?n.kiosk=!0:s==="0"&&(n.kiosk=!1,n.resetUIScale())}else if(e==="tours")o.selectTours();else if(e.startsWith("tour=")){const s=e.split("=")[1],t=o.toursStore.getTourById(s);t?o.toursStore.launchTour(t,t.name,t.description):(console.warn(`Route with id "${s}" not found`),o.selectTours())}else if(i.has(P)){const s=i.get(K),t=i.get(Y),r=t?ce(t):null;if(s==="bookmarks")o.routePlannerStore.launchFromBookmarks(r??void 0);else{const a=(i.get(P)||"").split(R).filter(Boolean);o.routePlannerStore.launchFromSlugs(a,r??void 0)}}else if(e.startsWith("route")){const s=e.split(R);o.routeStore.setOnlyAccessible(s[3]==="true");const t=le(s[2],s[1],s.slice(4));o.routeStore.selectRoute(t);const a=s.slice(4).length>0;o.uiState.setIsMultiPointRoute(a);const u=new URLSearchParams(window.location.search).get("title");u&&o.uiState.setRouteTitle(u)}else if(e==="bookmarks")o.selectBookmarks();else if(e==="visited")o.selectVisited();else if(e===E)o.selectLanguage();else if(i.has(N)){const s=i.get(N)?.toLowerCase();de(s)&&me(s)}else if(e==="sessions")o.selectSessions();else if(e==="exhibitors")o.selectExhibitors();else if(e==="speakers")o.selectSpeakers();else if(e==="-pdf")o.uiState.printingPdf=!0;else if(e.startsWith("hide"))o.uiState.setVisibility((new URLSearchParams(e).get("hide")??"").split(",").filter(Boolean).reduce((s,t)=>({...s,[t]:!1}),{}));else if(l)setTimeout(()=>o.selectBooth(l),250);else if(e===ae)o.uiState.startBuildRoute();else if(i.get($)){const s=i.get($),t=i.get("booths")?.split(",")||[],r=i.get("exhibitors")?.split(",")||[],a=i.get("tour");if(a){const f=o.toursStore.getTourById(a);f&&A(()=>{o.uiState.setTourTitle(f.name),o.uiState.setTourDescription(f.description??""),o.uiState.setIsMultiPointTour(!0),o.uiState.setMultiPointTourList(f.id)})}const c=o.boothStore.booths,u=o.exhibitorStore.exhibitors,p=c.filter(f=>t.includes(f.externalId)),g=u.filter(f=>r.includes(f.externalId)).flatMap(f=>f.booths),S=[...p,...g];if(ue()){const f=S.map(te=>te.layer.name),M=fe(f);M&&o.fp.activateFloor({name:M})}(t.length>0||r.length>0)&&o.fp.highlightEntities([...t,...r]),o.layerStore.showPathWay(s),S.length>0&&A(()=>{o.uiState.moveToRect=oe.fromUnion(...S.map(f=>f.rect).filter(Boolean)),o.uiState.rollReset=!0})}else{const s=o.eventStore.eventItems.find(t=>t.slug?.toLowerCase()===e?.toLowerCase()||t.externalId?.toLowerCase()===e?.toLowerCase());if(s)o.selectEventItem(s,!0);else{const t=o.exhibitorStore.exhibitors.find(r=>r.slug?.toLowerCase()===e?.toLowerCase()||r.externalId?.toLowerCase()===e?.toLowerCase());if(e.startsWith("exhibitors")){const r=e.split("=")[1].split(",");setTimeout(()=>o.fp.selectExhibitor(r),250)}else if(t)setTimeout(()=>o.clickExhibitor(t),250);else if(e.includes("=")&&(e.startsWith("categories=")||/^poiTypes?=/.test(e)))v.log("Skipping filter parameter in dispatchFromUrl:",e);else{const a=o.categoryStore.categories.find(c=>c.slug===e);if(a)o.selectCategory(a);else{const c=o.speakerStore.findBySlug(e);c?o.selectSpeaker(c,!0):e.includes("heatmap=true")||o.searchStore.selectSearch(e)}}}}B=!1,X(),Z()}function _(){const e=h.location.search;if(e.includes("heatmap")){const t=new URL(window.location.href);if(t.searchParams.get("heatmap")==="true"){const a=t.searchParams.get("type")==="yah";a||t.searchParams.delete("heatmap"),m=!0,historyReplace(d(t.search)),a?(o.uiState.heatmapYah=!0,o.uiState.monochrome=!0,o.uiState.hideLogoInBooth=!0,o.uiState.hideHeaderLogo=!0,o.uiState.disableBookmarked=!0):o.uiState.heatmap=!0}}if(e.startsWith("?preview="))historyReplace("?");else if(e.startsWith("?b="))historyReplace("?bookmarks");else if(e.startsWith("?ba=")){const t=new URL(window.location.href),r=parseInt(t.searchParams.get("ba")),a=o.exhibitorStore.exhibitorById.get(r);historyReplace(a?"?"+a.slug:"?bookmarks")}if(e.includes("blue-dot")){const t=new URL(window.location.href),r=t.searchParams.get("blue-dot");t.searchParams.delete("blue-dot");const a=r?.split(",")??[],c=Number(a[0]),u=Number(a[1]);if(a.length>1&&Number.isFinite(c)&&Number.isFinite(u)){const g=o.layerStore.findLayer(a[2])?.name,S=new ne(c,u,g,void 0,Number(a[3])||void 0,Number(a[4])||void 0);o.layerStore.layersLoaded?o.routeStore.selectCurrentPosition(S,!0,1):k(()=>o.layerStore.layersLoaded,()=>{o.routeStore.selectCurrentPosition(S,!0,1)})}const p=d(t.search);historyReplace(p)}if(e.includes("copy_exh")&&historyReplace("?"),e.includes("noOverlay")){const t=new URL(window.location.href),r=t.searchParams.get("noOverlay");t.searchParams.delete("noOverlay");const a=d(t.search);r==="true"?o.uiState.hideOverlay=!0:r==="false"&&(o.uiState.hideOverlay=!1),historyReplace(a)}if(e.includes("allowConsent")){const t=new URL(window.location.href),r=t.searchParams.get("allowConsent");t.searchParams.delete("allowConsent");const a=d(t.search);r==="true"?z(!0):r==="false"&&z(!1),historyReplace(a)}if(e.includes("hideHeaderLogo")){const t=new URL(window.location.href),r=t.searchParams.get("hideHeaderLogo");t.searchParams.delete("hideHeaderLogo");const a=d(t.search);r==="true"&&(n.hideHeaderLogo=!0),historyReplace(a)}if(e.includes("hideLogoInBooth")){const t=new URL(window.location.href),r=t.searchParams.get("hideLogoInBooth");t.searchParams.delete("hideLogoInBooth");const a=d(t.search);r==="true"&&(n.hideLogoInBooth=!0),historyReplace(a)}if(e.includes("disableFeatured")){const t=new URL(window.location.href),r=t.searchParams.get("disableFeatured");t.searchParams.delete("disableFeatured");const a=d(t.search);r==="true"&&o.exhibitorStore.exhibitors.forEach(c=>c.featured=!1),historyReplace(a)}if(e.includes("disableBookmarked")){const t=new URL(window.location.href),r=t.searchParams.get("disableBookmarked");t.searchParams.delete("disableBookmarked");const a=d(t.search);r==="true"&&(n.disableBookmarked=!0),historyReplace(a)}if(e.includes("disableGps")){const t=new URL(window.location.href),r=t.searchParams.get("disableGps");t.searchParams.delete("disableGps");const a=d(t.search);r==="true"&&o.routeStore.setGpsTrackingEnabled(!1),historyReplace(a)}if(e.includes("monochrome")){const t=new URL(window.location.href),r=t.searchParams.get("monochrome");t.searchParams.delete("monochrome");const a=d(t.search);r==="true"&&(n.monochrome=!0),historyReplace(a)}const l=pe(h.location.search);if(l!==null&&historyReplace("?"+l),e.includes(x)){const t=new URL(window.location.href),r=t.searchParams.get(x);r==="1"||r==="true"?L&&localStorage.setItem(G,"1"):(r==="0"||r==="false")&&L&&localStorage.removeItem(G),t.searchParams.delete(x),historyReplace(d(t.search))}if(e.includes(I)){const t=new URL(window.location.href),r=t.searchParams.get(I);r==="true"?L&&localStorage.setItem(W,"1"):r==="false"&&L&&localStorage.removeItem(W),t.searchParams.delete(I),historyReplace(d(t.search))}if(n.previewExhibitor&&historyReplace("?"+n.previewExhibitor.slug),h.location.search.includes("&")||h.location.search.includes("%26")){let t=h.location.search;t=t.startsWith("?")?t.slice(1):t;const r=t.includes("&")?"&":"%26",c=t.split(r).map(u=>{const p=o.exhibitorStore.exhibitors.find(g=>g.slug===u||g.externalId===u);return p?p.name:u}).join("&");historyReplace("?"+c)}const i=new URLSearchParams(window.location.search);if(i.has(H)){o.uiState.resetUIScale();const t=new URL(window.location.href);t.searchParams.delete(H);const r=d(t.search);m=!0,historyReplace(r),m=!1}const s=i.get(V);if(s){const t=s.replace(",","."),r=parseFloat(t);!isNaN(r)&&r>=.8&&r<=1.4?o.uiState.setUIScale(r,!0):v.warn(`Invalid ui-scale parameter: ${s}. Must be a number between 0.8 and 1.4.`);const a=new URL(window.location.href);a.searchParams.delete(V);const c=d(a.search);m=!0,historyReplace(c),m=!1}}export function initRouting(e=!1){m=e,!m&&b(h.location.search)===C&&w.push(b(h.location.search)),J=h.listen((l,i)=>{m||(w.push(b(l.search)),v.log("history",i,l),i==="POP"&&y())}),_(),T(),k(()=>o.layerStore.layersLoaded,()=>{o.urlFilterManager&&!o.urlFilterManager.isInitialized&&o.urlFilterManager.initialize(),y(),O(Z),O(X),n.viewerMode&&(n.menu=!0)})}export function applyParameters(e=""){historyReplace("?"+decodeURIComponent(e.toString())),o.layerStore.layersLoaded?(_(),y()):(T(),k(()=>o.layerStore.layersLoaded,()=>{_(),y()}))}export function destroyHistory(){J()}export function goBack(){if(console.log("goBack"),w.length>1){w.pop();const l=w[w.length-1].replace(C,"");return m=!0,h.replace(l),m=!1,y(),!0}else return h.go(-1),!1}function Se(e){try{let l={};const i=n.defaultMapSettings;if(new Set(e.keys()).size)l=ee(Object.fromEntries(e.entries()),i);else{const s=sessionStorage.getItem(ie);s&&(l=ee(JSON.parse(s),i))}if(n.setMapSettings(l),l.z){const s=o.layerStore.layers.find(t=>t.name===l.z);s&&o.layerStore.updateVisibility(s,!0)}}catch(l){console.error("Failed to process or save map settings.",l)}}function ee(e,l){const i={};for(const s in e){if(!Object.prototype.hasOwnProperty.call(l,s)||!Object.prototype.hasOwnProperty.call(e,s))continue;const t=e[s];typeof l[s]=="number"?i[s]=parseFloat(t):i[s]=t}return i}
@@ -1,3 +0,0 @@
1
- import { type Data } from '../data/Data';
2
- export default function mergeExhibitors(arg0: Data, arg1: Data): any;
3
- //# sourceMappingURL=mergeExhibitors.d.ts.map
@@ -1 +0,0 @@
1
- export default function n(i,t){t.exhibitors.forEach(o=>{const e=i.exhibitors.find(r=>r.id===o.id);e&&(e.rebookingState=o.rebookingState,e.rebookingNote=o.rebookingNote)})}
@@ -1,16 +0,0 @@
1
- import { type GraphBuildOptions, type GraphDataSource, type GraphInstance, type GraphLine, type PathNode, type RoutePoint } from '../types';
2
- export declare function makePoint(layer: string, x: number, y: number): RoutePoint;
3
- export declare function makeLine(p0: RoutePoint, p1: RoutePoint, overrides?: Partial<Omit<GraphLine, 'p0' | 'p1'>>): GraphLine;
4
- export declare function makeNode(layer: string, x: number, y: number): PathNode;
5
- export declare function createMockDataSource(options?: {
6
- lines?: GraphLine[];
7
- lineEnds?: RoutePoint[];
8
- }): GraphDataSource;
9
- export declare function createMockGraph(options?: {
10
- lines?: GraphLine[];
11
- lineEnds?: RoutePoint[];
12
- hasNodeResult?: boolean | ((id: string) => boolean);
13
- findResult?: PathNode[] | ((fromId: string, toId: string) => PathNode[]);
14
- graphOptions?: GraphBuildOptions;
15
- }): GraphInstance;
16
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- import{vi as i}from"vitest";export function makePoint(e,n,t){return{layer:e,x:n,y:t}}export function makeLine(e,n,t={}){return{p0:e,p1:n,unaccessible:!1,unidirection:!1,virtual:!1,weight:4,...t}}export function makeNode(e,n,t){return{id:`${e}_${n}_${t}`,layer:e,x:n,y:t}}export function createMockDataSource(e={}){return{getLines:()=>e.lines??[],getLineEnds:()=>e.lineEnds??[]}}export function createMockGraph(e={}){const{lines:n=[],lineEnds:t=[],hasNodeResult:o=!0,findResult:r=[],graphOptions:u}=e;return{finder:{build:i.fn(),hasNode:typeof o=="function"?i.fn(o):i.fn().mockReturnValue(o),find:typeof r=="function"?i.fn(r):i.fn().mockReturnValue(r)},dataSource:{getLines:()=>n,getLineEnds:()=>t},options:u??{oriented:!0}}}
@@ -1,16 +0,0 @@
1
- import type { GraphDataSource, RouteEndpoint, RouteLine } from './types';
2
- export interface Route {
3
- readonly lines: RouteLine[];
4
- readonly distance: number;
5
- }
6
- export interface WayfindingEngine {
7
- buildRoute(from: RouteEndpoint, to: RouteEndpoint, options?: {
8
- accessible?: boolean;
9
- }): Route;
10
- buildWaypointsRoute(waypoints: RouteEndpoint[], options?: {
11
- accessible?: boolean;
12
- fastest?: boolean;
13
- }): Route;
14
- }
15
- export declare function createWayfindingEngine(dataSource: GraphDataSource): WayfindingEngine;
16
- //# sourceMappingURL=createWayfindingEngine.d.ts.map
@@ -1 +0,0 @@
1
- import{createGraphCache as G}from"./graph/graphCache";import{buildMultiPointRoute as b}from"./routing/buildMultiPointRoute";import{buildRoute as R}from"./routing/buildRoute";import{getRouteLength as m}from"./routing/getRouteLength";import{reorderWaypoints as y}from"./routing/optimizeWaypointOrder";import{resolveWaypointCandidates as h}from"./routing/resolveWaypointCandidates";const g=1e-6,u=(e,t)=>e.layer===t.layer&&Math.abs(e.x-t.x)<g&&Math.abs(e.y-t.y)<g;function O(e,t){if(!e.length)return e;const n=e[e.length-1],o=n.p1,r=u(t.segment.p0,o)?t.segment.p1:t.segment.p0;return u(n.p0,r)?[...e.slice(0,-1),{...n,p1:t.projection}]:[...e,{...t.segment,p0:o,p1:t.projection}]}function j(e,t){if(!e.length)return e;const n=e[0],o=n.p0,r=u(t.segment.p0,o)?t.segment.p1:t.segment.p0;return u(n.p1,r)?[{...n,p0:t.projection},...e.slice(1)]:[{...t.segment,p0:t.projection,p1:o},...e]}function E(e,t,n){let o=e;return t&&(o=O(o,t)),n&&(o=j(o,n)),o}export function createWayfindingEngine(e){const t=G();return{buildRoute(n,o,r){const i=t.getOrBuild(e,r?.accessible??!1),s=h(i,n),a=h(i,o),c=R(i,s.candidates,a.candidates),p=!!s.offGraphEntry||!!a.offGraphEntry,f=E(c.lines,s.offGraphEntry,a.offGraphEntry);return{lines:f,distance:p?m(f):c.totalDistance}},buildWaypointsRoute(n,o){if(n.length<2)return{lines:[],distance:0};const r=t.getOrBuild(e,o?.accessible??!1),s=(o?.fastest?y(n):n).map(d=>h(r,d)),a=b(r,s.map(d=>d.candidates)),c=s[0].offGraphEntry,p=s[s.length-1].offGraphEntry,f=!!c||!!p,l=E(a.lines,c,p);return{lines:l,distance:f?m(l):a.totalDistance}}}}
@@ -1,11 +0,0 @@
1
- import { type PolygonVertex } from '../types';
2
- /** Convex polygon area via fan triangulation from vertex[0]. */
3
- export declare function computePolygonArea(polygon: readonly PolygonVertex[]): number;
4
- /**
5
- * Area-based point-in-polygon test with 1% relative tolerance. Convex polygons only.
6
- * Inside ⇒ sum of (point, vertex_i, vertex_{i+1}) triangle areas equals polygon area; outside ⇒ larger.
7
- * Tolerance includes points sitting fractionally outside the polygon (editor/float imprecision).
8
- * Pass `polygonArea` from {@link computePolygonArea} to skip recomputation in hot loops.
9
- */
10
- export declare function pointInPolygon(point: PolygonVertex, polygon: readonly PolygonVertex[], polygonArea?: number): boolean;
11
- //# sourceMappingURL=pointInPolygon.d.ts.map
@@ -1 +0,0 @@
1
- const e=.01;function f(r,t,n){return Math.abs(.5*(r.x*(t.y-n.y)+t.x*(n.y-r.y)+n.x*(r.y-t.y)))}export function computePolygonArea(r){if(r.length<3)return 0;let t=0;for(let n=1;n<r.length-1;n++)t+=f(r[0],r[n],r[n+1]);return t}export function pointInPolygon(r,t,n=computePolygonArea(t)){if(n===0)return!1;let u=0;for(let i=0,a=t.length-1;i<t.length;a=i++)u+=f(r,t[a],t[i]);return Math.abs(n-u)<n*.01}
@@ -1,24 +0,0 @@
1
- import { type Point2Like } from '@expofp/geometry';
2
- export interface SegmentProjection {
3
- readonly projected: {
4
- readonly x: number;
5
- readonly y: number;
6
- };
7
- readonly distance: number;
8
- readonly t: number;
9
- }
10
- /**
11
- * Projects `point` onto the segment `a`–`b`, clamping the parameter `t` to
12
- * `[0, 1]` so the result always lies on the segment (not its infinite line).
13
- *
14
- * `t` is the normalized position along the segment: `0` = `a`, `1` = `b`.
15
- * For a zero-length segment (`a` equals `b`) the projection collapses to `a`
16
- * with `t = 0`.
17
- *
18
- * Thin wrapper over `@expofp/geometry`'s `lineProjectPoint`; the projected
19
- * position is re-shaped to a plain `{ x, y }` to preserve the legacy
20
- * {@link SegmentProjection} contract (callers depend on a bare point, not a
21
- * `Point` instance).
22
- */
23
- export declare function projectPointOnSegment(point: Point2Like, a: Point2Like, b: Point2Like): SegmentProjection;
24
- //# sourceMappingURL=projectPointOnSegment.d.ts.map
@@ -1 +0,0 @@
1
- import{lineProjectPoint as p}from"@expofp/geometry";export function projectPointOnSegment(e,o,n){const{projected:t,distance:r,t:c}=p({p0:o,p1:n},e);return{projected:{x:t.x,y:t.y},distance:r,t:c}}
@@ -1,3 +0,0 @@
1
- import { type GraphBuildOptions, type GraphDataSource, type GraphInstance, type PathFinder } from '../types';
2
- export declare function buildGraph(dataSource: GraphDataSource, pathFinder: PathFinder, options: GraphBuildOptions): GraphInstance;
3
- //# sourceMappingURL=buildGraph.d.ts.map