@blateral/b.kit 2.3.0-beta.1.4 → 2.3.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 (833) hide show
  1. package/lib/components/base/icons/Icons.d.ts +66 -0
  2. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  3. package/{types → lib}/components/fields/FilterField.d.ts.map +1 -1
  4. package/lib/components/sections/NumberList.d.ts +36 -0
  5. package/lib/components/sections/NumberList.d.ts.map +1 -0
  6. package/{types → lib}/components/sections/header/Header.d.ts +3 -3
  7. package/lib/components/sections/header/Header.d.ts.map +1 -0
  8. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  9. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  10. package/{types → lib}/components/typography/Callout.d.ts +2 -2
  11. package/lib/components/typography/Callout.d.ts.map +1 -0
  12. package/lib/index.d.ts +158 -0
  13. package/lib/index.d.ts.map +1 -0
  14. package/lib/index.es.js +2 -0
  15. package/lib/index.es.js.map +1 -0
  16. package/lib/index.js +2 -0
  17. package/lib/index.js.map +1 -0
  18. package/{types → lib}/utils/styles.d.ts +8 -1
  19. package/lib/utils/styles.d.ts.map +1 -0
  20. package/{types → lib}/utils/useEqualSheetHeight.d.ts +9 -2
  21. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -0
  22. package/{types → lib}/utils/useMediaQuery.d.ts +4 -0
  23. package/{types → lib}/utils/useMediaQuery.d.ts.map +1 -1
  24. package/package.json +5 -19
  25. package/base/package.json +0 -7
  26. package/blocks/package.json +0 -7
  27. package/buttons/package.json +0 -7
  28. package/cjs/Actions-6dd616e0.js +0 -2
  29. package/cjs/Actions-6dd616e0.js.map +0 -1
  30. package/cjs/Bdot-d898ba3b.js +0 -2
  31. package/cjs/Bdot-d898ba3b.js.map +0 -1
  32. package/cjs/Button-72747f63.js +0 -2
  33. package/cjs/Button-72747f63.js.map +0 -1
  34. package/cjs/ButtonGhost-046437c5.js +0 -2
  35. package/cjs/ButtonGhost-046437c5.js.map +0 -1
  36. package/cjs/Callout-2713f870.js +0 -2
  37. package/cjs/Callout-2713f870.js.map +0 -1
  38. package/cjs/Checkbox-14000bf0.js +0 -2
  39. package/cjs/Checkbox-14000bf0.js.map +0 -1
  40. package/cjs/ClockFilled-2483aa4a.js +0 -2
  41. package/cjs/ClockFilled-2483aa4a.js.map +0 -1
  42. package/cjs/Control-eead1a4c.js +0 -2
  43. package/cjs/Control-eead1a4c.js.map +0 -1
  44. package/cjs/Copy-e860efe7.js +0 -2
  45. package/cjs/Copy-e860efe7.js.map +0 -1
  46. package/cjs/EventBlock-10b9d78d.js +0 -2
  47. package/cjs/EventBlock-10b9d78d.js.map +0 -1
  48. package/cjs/FileUpload-ece8bb07.js +0 -2
  49. package/cjs/FileUpload-ece8bb07.js.map +0 -1
  50. package/cjs/Filter-d6d90b8b.js +0 -2
  51. package/cjs/Filter-d6d90b8b.js.map +0 -1
  52. package/cjs/FilterField-cf9e2f16.js +0 -2
  53. package/cjs/FilterField-cf9e2f16.js.map +0 -1
  54. package/cjs/Grid-39b12e21.js +0 -2
  55. package/cjs/Grid-39b12e21.js.map +0 -1
  56. package/cjs/Image-d9681be0.js +0 -2
  57. package/cjs/Image-d9681be0.js.map +0 -1
  58. package/cjs/InfoList-577f3c57.js +0 -2
  59. package/cjs/InfoList-577f3c57.js.map +0 -1
  60. package/cjs/LanguageSwitcher-47e25e95.js +0 -2
  61. package/cjs/LanguageSwitcher-47e25e95.js.map +0 -1
  62. package/cjs/LibThemeProvider-fb99fd6d.js +0 -2
  63. package/cjs/LibThemeProvider-fb99fd6d.js.map +0 -1
  64. package/cjs/Link-70143bb7.js +0 -2
  65. package/cjs/Link-70143bb7.js.map +0 -1
  66. package/cjs/Navigation-3f5d6088.js +0 -2
  67. package/cjs/Navigation-3f5d6088.js.map +0 -1
  68. package/cjs/POICard-492bf8d0.js +0 -2
  69. package/cjs/POICard-492bf8d0.js.map +0 -1
  70. package/cjs/Pointer-3588eadf.js +0 -2
  71. package/cjs/Pointer-3588eadf.js.map +0 -1
  72. package/cjs/SocialList-da77e994.js +0 -2
  73. package/cjs/SocialList-da77e994.js.map +0 -1
  74. package/cjs/TableBlock-a5b16e8f.js +0 -2
  75. package/cjs/TableBlock-a5b16e8f.js.map +0 -1
  76. package/cjs/Tag-5c72cc0d.js +0 -2
  77. package/cjs/Tag-5c72cc0d.js.map +0 -1
  78. package/cjs/VideoBlock-301997a9.js +0 -2
  79. package/cjs/VideoBlock-301997a9.js.map +0 -1
  80. package/cjs/VideoCard-405b518a.js +0 -2
  81. package/cjs/VideoCard-405b518a.js.map +0 -1
  82. package/cjs/Wrapper-91748bdb.js +0 -2
  83. package/cjs/Wrapper-91748bdb.js.map +0 -1
  84. package/cjs/arrays-c272ed59.js +0 -2
  85. package/cjs/arrays-c272ed59.js.map +0 -1
  86. package/cjs/base.js +0 -2
  87. package/cjs/base.js.map +0 -1
  88. package/cjs/blocks.js +0 -2
  89. package/cjs/blocks.js.map +0 -1
  90. package/cjs/buttons.js +0 -2
  91. package/cjs/buttons.js.map +0 -1
  92. package/cjs/clamp-bd21d587.js +0 -2
  93. package/cjs/clamp-bd21d587.js.map +0 -1
  94. package/cjs/concat-f387d848.js +0 -2
  95. package/cjs/concat-f387d848.js.map +0 -1
  96. package/cjs/cookies.js +0 -2
  97. package/cjs/cookies.js.map +0 -1
  98. package/cjs/escape-1ef8dd83.js +0 -2
  99. package/cjs/escape-1ef8dd83.js.map +0 -1
  100. package/cjs/fields.js +0 -2
  101. package/cjs/fields.js.map +0 -1
  102. package/cjs/footer.js +0 -2
  103. package/cjs/footer.js.map +0 -1
  104. package/cjs/hexRgbConverter-91b28aea.js +0 -2
  105. package/cjs/hexRgbConverter-91b28aea.js.map +0 -1
  106. package/cjs/hooks.js +0 -2
  107. package/cjs/hooks.js.map +0 -1
  108. package/cjs/icons.js +0 -2
  109. package/cjs/icons.js.map +0 -1
  110. package/cjs/index.js +0 -2
  111. package/cjs/index.js.map +0 -1
  112. package/cjs/navigation-bf154e6e.js +0 -2
  113. package/cjs/navigation-bf154e6e.js.map +0 -1
  114. package/cjs/navigation.js +0 -2
  115. package/cjs/navigation.js.map +0 -1
  116. package/cjs/sections.js +0 -2
  117. package/cjs/sections.js.map +0 -1
  118. package/cjs/sections_events.js +0 -2
  119. package/cjs/sections_events.js.map +0 -1
  120. package/cjs/sections_forms.js +0 -2
  121. package/cjs/sections_forms.js.map +0 -1
  122. package/cjs/sections_jobs.js +0 -2
  123. package/cjs/sections_jobs.js.map +0 -1
  124. package/cjs/sections_news.js +0 -2
  125. package/cjs/sections_news.js.map +0 -1
  126. package/cjs/sections_pois.js +0 -2
  127. package/cjs/sections_pois.js.map +0 -1
  128. package/cjs/statusFormatter-0393122b.js +0 -2
  129. package/cjs/statusFormatter-0393122b.js.map +0 -1
  130. package/cjs/structuredData-0b1278a9.js +0 -2
  131. package/cjs/structuredData-0b1278a9.js.map +0 -1
  132. package/cjs/styles-0f1a0aea.js +0 -2
  133. package/cjs/styles-0f1a0aea.js.map +0 -1
  134. package/cjs/typography.js +0 -2
  135. package/cjs/typography.js.map +0 -1
  136. package/cjs/urlParams-7525f638.js +0 -2
  137. package/cjs/urlParams-7525f638.js.map +0 -1
  138. package/cjs/useCookieConsent-0bf94751.js +0 -2
  139. package/cjs/useCookieConsent-0bf94751.js.map +0 -1
  140. package/cjs/useEqualSheetHeight-cfd4176e.js +0 -2
  141. package/cjs/useEqualSheetHeight-cfd4176e.js.map +0 -1
  142. package/cjs/useGeolocation-d8946470.js +0 -2
  143. package/cjs/useGeolocation-d8946470.js.map +0 -1
  144. package/cjs/useIE-aef9decc.js +0 -2
  145. package/cjs/useIE-aef9decc.js.map +0 -1
  146. package/cjs/useLazyInput-f71c221b.js +0 -2
  147. package/cjs/useLazyInput-f71c221b.js.map +0 -1
  148. package/cjs/useLeafletMap-2e608b01.js +0 -2
  149. package/cjs/useLeafletMap-2e608b01.js.map +0 -1
  150. package/cjs/useMediaQuery-d4f81f88.js +0 -2
  151. package/cjs/useMediaQuery-d4f81f88.js.map +0 -1
  152. package/cjs/useMounted-0bba9869.js +0 -2
  153. package/cjs/useMounted-0bba9869.js.map +0 -1
  154. package/cjs/useObserverSupport-5ab320dd.js +0 -2
  155. package/cjs/useObserverSupport-5ab320dd.js.map +0 -1
  156. package/cjs/useScrollTo-fdd665da.js +0 -2
  157. package/cjs/useScrollTo-fdd665da.js.map +0 -1
  158. package/cjs/useUpdateEffect-4d233e2c.js +0 -2
  159. package/cjs/useUpdateEffect-4d233e2c.js.map +0 -1
  160. package/cookies/package.json +0 -7
  161. package/esm/Actions-3f06c2e9.js +0 -57
  162. package/esm/Actions-3f06c2e9.js.map +0 -1
  163. package/esm/Bdot-fae262fc.js +0 -24
  164. package/esm/Bdot-fae262fc.js.map +0 -1
  165. package/esm/Button-ab1a4e79.js +0 -115
  166. package/esm/Button-ab1a4e79.js.map +0 -1
  167. package/esm/ButtonGhost-5b498dba.js +0 -112
  168. package/esm/ButtonGhost-5b498dba.js.map +0 -1
  169. package/esm/Callout-389fed95.js +0 -99
  170. package/esm/Callout-389fed95.js.map +0 -1
  171. package/esm/Checkbox-957d8f33.js +0 -135
  172. package/esm/Checkbox-957d8f33.js.map +0 -1
  173. package/esm/ClockFilled-6bae80dc.js +0 -1793
  174. package/esm/ClockFilled-6bae80dc.js.map +0 -1
  175. package/esm/Control-57a287dc.js +0 -52
  176. package/esm/Control-57a287dc.js.map +0 -1
  177. package/esm/Copy-fb124972.js +0 -270
  178. package/esm/Copy-fb124972.js.map +0 -1
  179. package/esm/EventBlock-0109da13.js +0 -132
  180. package/esm/EventBlock-0109da13.js.map +0 -1
  181. package/esm/FileUpload-4ba0a672.js +0 -4790
  182. package/esm/FileUpload-4ba0a672.js.map +0 -1
  183. package/esm/Filter-fec6dc5c.js +0 -32
  184. package/esm/Filter-fec6dc5c.js.map +0 -1
  185. package/esm/FilterField-03097694.js +0 -129
  186. package/esm/FilterField-03097694.js.map +0 -1
  187. package/esm/Grid-151498da.js +0 -203
  188. package/esm/Grid-151498da.js.map +0 -1
  189. package/esm/Image-b538f659.js +0 -193
  190. package/esm/Image-b538f659.js.map +0 -1
  191. package/esm/InfoList-616d17fd.js +0 -74
  192. package/esm/InfoList-616d17fd.js.map +0 -1
  193. package/esm/LanguageSwitcher-058e0145.js +0 -70
  194. package/esm/LanguageSwitcher-058e0145.js.map +0 -1
  195. package/esm/LibThemeProvider-a38c5bf1.js +0 -115
  196. package/esm/LibThemeProvider-a38c5bf1.js.map +0 -1
  197. package/esm/Link-0a1e35d6.js +0 -60
  198. package/esm/Link-0a1e35d6.js.map +0 -1
  199. package/esm/Navigation-13dce48c.js +0 -1664
  200. package/esm/Navigation-13dce48c.js.map +0 -1
  201. package/esm/POICard-392a2c3a.js +0 -116
  202. package/esm/POICard-392a2c3a.js.map +0 -1
  203. package/esm/Pointer-bc68154f.js +0 -111
  204. package/esm/Pointer-bc68154f.js.map +0 -1
  205. package/esm/SocialList-4396cad9.js +0 -61
  206. package/esm/SocialList-4396cad9.js.map +0 -1
  207. package/esm/TableBlock-26530c71.js +0 -159
  208. package/esm/TableBlock-26530c71.js.map +0 -1
  209. package/esm/Tag-72424779.js +0 -67
  210. package/esm/Tag-72424779.js.map +0 -1
  211. package/esm/VideoBlock-b3f4ae27.js +0 -624
  212. package/esm/VideoBlock-b3f4ae27.js.map +0 -1
  213. package/esm/VideoCard-3fd368ef.js +0 -160
  214. package/esm/VideoCard-3fd368ef.js.map +0 -1
  215. package/esm/Wrapper-29347885.js +0 -224
  216. package/esm/Wrapper-29347885.js.map +0 -1
  217. package/esm/arrays-65b644ef.js +0 -17
  218. package/esm/arrays-65b644ef.js.map +0 -1
  219. package/esm/base.js +0 -11
  220. package/esm/base.js.map +0 -1
  221. package/esm/blocks.js +0 -26
  222. package/esm/blocks.js.map +0 -1
  223. package/esm/buttons.js +0 -12
  224. package/esm/buttons.js.map +0 -1
  225. package/esm/clamp-12d37b65.js +0 -10
  226. package/esm/clamp-12d37b65.js.map +0 -1
  227. package/esm/concat-ab3c66f2.js +0 -40
  228. package/esm/concat-ab3c66f2.js.map +0 -1
  229. package/esm/cookies.js +0 -270
  230. package/esm/cookies.js.map +0 -1
  231. package/esm/escape-cbff9c25.js +0 -6
  232. package/esm/escape-cbff9c25.js.map +0 -1
  233. package/esm/fields.js +0 -190
  234. package/esm/fields.js.map +0 -1
  235. package/esm/footer.js +0 -301
  236. package/esm/footer.js.map +0 -1
  237. package/esm/hexRgbConverter-edb91624.js +0 -36
  238. package/esm/hexRgbConverter-edb91624.js.map +0 -1
  239. package/esm/hooks.js +0 -531
  240. package/esm/hooks.js.map +0 -1
  241. package/esm/icons.js +0 -4
  242. package/esm/icons.js.map +0 -1
  243. package/esm/index.js +0 -7
  244. package/esm/index.js.map +0 -1
  245. package/esm/navigation-a2998143.js +0 -132
  246. package/esm/navigation-a2998143.js.map +0 -1
  247. package/esm/navigation.js +0 -159
  248. package/esm/navigation.js.map +0 -1
  249. package/esm/sections.js +0 -3914
  250. package/esm/sections.js.map +0 -1
  251. package/esm/sections_events.js +0 -573
  252. package/esm/sections_events.js.map +0 -1
  253. package/esm/sections_forms.js +0 -1405
  254. package/esm/sections_forms.js.map +0 -1
  255. package/esm/sections_jobs.js +0 -508
  256. package/esm/sections_jobs.js.map +0 -1
  257. package/esm/sections_news.js +0 -1023
  258. package/esm/sections_news.js.map +0 -1
  259. package/esm/sections_pois.js +0 -719
  260. package/esm/sections_pois.js.map +0 -1
  261. package/esm/statusFormatter-9be0fbff.js +0 -255
  262. package/esm/statusFormatter-9be0fbff.js.map +0 -1
  263. package/esm/structuredData-87423414.js +0 -117
  264. package/esm/structuredData-87423414.js.map +0 -1
  265. package/esm/styles-f6c54818.js +0 -462
  266. package/esm/styles-f6c54818.js.map +0 -1
  267. package/esm/typography.js +0 -11
  268. package/esm/typography.js.map +0 -1
  269. package/esm/urlParams-9cfdaf71.js +0 -51
  270. package/esm/urlParams-9cfdaf71.js.map +0 -1
  271. package/esm/useCookieConsent-8caef116.js +0 -339
  272. package/esm/useCookieConsent-8caef116.js.map +0 -1
  273. package/esm/useEqualSheetHeight-c18cebd3.js +0 -196
  274. package/esm/useEqualSheetHeight-c18cebd3.js.map +0 -1
  275. package/esm/useGeolocation-f9f073cc.js +0 -95
  276. package/esm/useGeolocation-f9f073cc.js.map +0 -1
  277. package/esm/useIE-a9c56989.js +0 -15
  278. package/esm/useIE-a9c56989.js.map +0 -1
  279. package/esm/useLazyInput-e66fc5be.js +0 -85
  280. package/esm/useLazyInput-e66fc5be.js.map +0 -1
  281. package/esm/useLeafletMap-6dea7a8e.js +0 -300
  282. package/esm/useLeafletMap-6dea7a8e.js.map +0 -1
  283. package/esm/useMediaQuery-0d473a9c.js +0 -109
  284. package/esm/useMediaQuery-0d473a9c.js.map +0 -1
  285. package/esm/useMounted-1e4cc87b.js +0 -12
  286. package/esm/useMounted-1e4cc87b.js.map +0 -1
  287. package/esm/useObserverSupport-02bce7f5.js +0 -19
  288. package/esm/useObserverSupport-02bce7f5.js.map +0 -1
  289. package/esm/useScrollTo-70af34bf.js +0 -57
  290. package/esm/useScrollTo-70af34bf.js.map +0 -1
  291. package/esm/useUpdateEffect-824c0c84.js +0 -18
  292. package/esm/useUpdateEffect-824c0c84.js.map +0 -1
  293. package/fields/package.json +0 -7
  294. package/footer/package.json +0 -7
  295. package/hooks/package.json +0 -7
  296. package/icons/package.json +0 -7
  297. package/navigation/package.json +0 -7
  298. package/sections/events/package.json +0 -7
  299. package/sections/forms/package.json +0 -7
  300. package/sections/jobs/package.json +0 -7
  301. package/sections/news/package.json +0 -7
  302. package/sections/package.json +0 -7
  303. package/sections/pois/package.json +0 -7
  304. package/types/base.d.ts +0 -5
  305. package/types/base.d.ts.map +0 -1
  306. package/types/blocks.d.ts +0 -18
  307. package/types/blocks.d.ts.map +0 -1
  308. package/types/buttons.d.ts +0 -6
  309. package/types/buttons.d.ts.map +0 -1
  310. package/types/components/sections/NumberList.d.ts +0 -31
  311. package/types/components/sections/NumberList.d.ts.map +0 -1
  312. package/types/components/sections/header/Header.d.ts.map +0 -1
  313. package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
  314. package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
  315. package/types/components/typography/Callout.d.ts.map +0 -1
  316. package/types/cookies.d.ts +0 -3
  317. package/types/cookies.d.ts.map +0 -1
  318. package/types/fields.d.ts +0 -14
  319. package/types/fields.d.ts.map +0 -1
  320. package/types/footer.d.ts +0 -4
  321. package/types/footer.d.ts.map +0 -1
  322. package/types/hooks.d.ts +0 -35
  323. package/types/hooks.d.ts.map +0 -1
  324. package/types/icons.d.ts +0 -66
  325. package/types/icons.d.ts.map +0 -1
  326. package/types/index.d.ts +0 -18
  327. package/types/index.d.ts.map +0 -1
  328. package/types/navigation.d.ts +0 -10
  329. package/types/navigation.d.ts.map +0 -1
  330. package/types/sections.d.ts +0 -32
  331. package/types/sections.d.ts.map +0 -1
  332. package/types/sections_events.d.ts +0 -4
  333. package/types/sections_events.d.ts.map +0 -1
  334. package/types/sections_forms.d.ts +0 -3
  335. package/types/sections_forms.d.ts.map +0 -1
  336. package/types/sections_jobs.d.ts +0 -3
  337. package/types/sections_jobs.d.ts.map +0 -1
  338. package/types/sections_news.d.ts +0 -10
  339. package/types/sections_news.d.ts.map +0 -1
  340. package/types/sections_pois.d.ts +0 -4
  341. package/types/sections_pois.d.ts.map +0 -1
  342. package/types/typography.d.ts +0 -6
  343. package/types/typography.d.ts.map +0 -1
  344. package/types/utils/styles.d.ts.map +0 -1
  345. package/types/utils/useEqualSheetHeight.d.ts.map +0 -1
  346. package/typography/package.json +0 -7
  347. /package/{types → lib}/components/base/Grid.d.ts +0 -0
  348. /package/{types → lib}/components/base/Grid.d.ts.map +0 -0
  349. /package/{types → lib}/components/base/Section.d.ts +0 -0
  350. /package/{types → lib}/components/base/Section.d.ts.map +0 -0
  351. /package/{types → lib}/components/base/Wrapper.d.ts +0 -0
  352. /package/{types → lib}/components/base/Wrapper.d.ts.map +0 -0
  353. /package/{types → lib}/components/base/icons/AngleDown.d.ts +0 -0
  354. /package/{types → lib}/components/base/icons/AngleDown.d.ts.map +0 -0
  355. /package/{types → lib}/components/base/icons/AngleLeft.d.ts +0 -0
  356. /package/{types → lib}/components/base/icons/AngleLeft.d.ts.map +0 -0
  357. /package/{types → lib}/components/base/icons/AngleRight.d.ts +0 -0
  358. /package/{types → lib}/components/base/icons/AngleRight.d.ts.map +0 -0
  359. /package/{types → lib}/components/base/icons/AngleUp.d.ts +0 -0
  360. /package/{types → lib}/components/base/icons/AngleUp.d.ts.map +0 -0
  361. /package/{types → lib}/components/base/icons/ArrowDown.d.ts +0 -0
  362. /package/{types → lib}/components/base/icons/ArrowDown.d.ts.map +0 -0
  363. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts +0 -0
  364. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts.map +0 -0
  365. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
  366. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts.map +0 -0
  367. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts +0 -0
  368. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts.map +0 -0
  369. /package/{types → lib}/components/base/icons/ArrowRight.d.ts +0 -0
  370. /package/{types → lib}/components/base/icons/ArrowRight.d.ts.map +0 -0
  371. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts +0 -0
  372. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts.map +0 -0
  373. /package/{types → lib}/components/base/icons/ArrowUp.d.ts +0 -0
  374. /package/{types → lib}/components/base/icons/ArrowUp.d.ts.map +0 -0
  375. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
  376. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts.map +0 -0
  377. /package/{types → lib}/components/base/icons/CalendarToday.d.ts +0 -0
  378. /package/{types → lib}/components/base/icons/CalendarToday.d.ts.map +0 -0
  379. /package/{types → lib}/components/base/icons/Category.d.ts +0 -0
  380. /package/{types → lib}/components/base/icons/Category.d.ts.map +0 -0
  381. /package/{types → lib}/components/base/icons/Check.d.ts +0 -0
  382. /package/{types → lib}/components/base/icons/Check.d.ts.map +0 -0
  383. /package/{types → lib}/components/base/icons/Clock.d.ts +0 -0
  384. /package/{types → lib}/components/base/icons/Clock.d.ts.map +0 -0
  385. /package/{types → lib}/components/base/icons/ClockFilled.d.ts +0 -0
  386. /package/{types → lib}/components/base/icons/ClockFilled.d.ts.map +0 -0
  387. /package/{types → lib}/components/base/icons/Computer.d.ts +0 -0
  388. /package/{types → lib}/components/base/icons/Computer.d.ts.map +0 -0
  389. /package/{types → lib}/components/base/icons/Cross.d.ts +0 -0
  390. /package/{types → lib}/components/base/icons/Cross.d.ts.map +0 -0
  391. /package/{types → lib}/components/base/icons/CrossSmall.d.ts +0 -0
  392. /package/{types → lib}/components/base/icons/CrossSmall.d.ts.map +0 -0
  393. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts +0 -0
  394. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts.map +0 -0
  395. /package/{types → lib}/components/base/icons/DateRange.d.ts +0 -0
  396. /package/{types → lib}/components/base/icons/DateRange.d.ts.map +0 -0
  397. /package/{types → lib}/components/base/icons/DeleteForever.d.ts +0 -0
  398. /package/{types → lib}/components/base/icons/DeleteForever.d.ts.map +0 -0
  399. /package/{types → lib}/components/base/icons/External.d.ts +0 -0
  400. /package/{types → lib}/components/base/icons/External.d.ts.map +0 -0
  401. /package/{types → lib}/components/base/icons/Filter.d.ts +0 -0
  402. /package/{types → lib}/components/base/icons/Filter.d.ts.map +0 -0
  403. /package/{types → lib}/components/base/icons/FlyTo.d.ts +0 -0
  404. /package/{types → lib}/components/base/icons/FlyTo.d.ts.map +0 -0
  405. /package/{types → lib}/components/base/icons/Info.d.ts +0 -0
  406. /package/{types → lib}/components/base/icons/Info.d.ts.map +0 -0
  407. /package/{types → lib}/components/base/icons/Language.d.ts +0 -0
  408. /package/{types → lib}/components/base/icons/Language.d.ts.map +0 -0
  409. /package/{types → lib}/components/base/icons/LocationPin.d.ts +0 -0
  410. /package/{types → lib}/components/base/icons/LocationPin.d.ts.map +0 -0
  411. /package/{types → lib}/components/base/icons/LocationSearch.d.ts +0 -0
  412. /package/{types → lib}/components/base/icons/LocationSearch.d.ts.map +0 -0
  413. /package/{types → lib}/components/base/icons/Magnifier.d.ts +0 -0
  414. /package/{types → lib}/components/base/icons/Magnifier.d.ts.map +0 -0
  415. /package/{types → lib}/components/base/icons/Mail.d.ts +0 -0
  416. /package/{types → lib}/components/base/icons/Mail.d.ts.map +0 -0
  417. /package/{types → lib}/components/base/icons/Map.d.ts +0 -0
  418. /package/{types → lib}/components/base/icons/Map.d.ts.map +0 -0
  419. /package/{types → lib}/components/base/icons/MenuBurger.d.ts +0 -0
  420. /package/{types → lib}/components/base/icons/MenuBurger.d.ts.map +0 -0
  421. /package/{types → lib}/components/base/icons/Minus.d.ts +0 -0
  422. /package/{types → lib}/components/base/icons/Minus.d.ts.map +0 -0
  423. /package/{types → lib}/components/base/icons/Money.d.ts +0 -0
  424. /package/{types → lib}/components/base/icons/Money.d.ts.map +0 -0
  425. /package/{types → lib}/components/base/icons/MyLocation.d.ts +0 -0
  426. /package/{types → lib}/components/base/icons/MyLocation.d.ts.map +0 -0
  427. /package/{types → lib}/components/base/icons/Person.d.ts +0 -0
  428. /package/{types → lib}/components/base/icons/Person.d.ts.map +0 -0
  429. /package/{types → lib}/components/base/icons/Phone.d.ts +0 -0
  430. /package/{types → lib}/components/base/icons/Phone.d.ts.map +0 -0
  431. /package/{types → lib}/components/base/icons/Place.d.ts +0 -0
  432. /package/{types → lib}/components/base/icons/Place.d.ts.map +0 -0
  433. /package/{types → lib}/components/base/icons/Play.d.ts +0 -0
  434. /package/{types → lib}/components/base/icons/Play.d.ts.map +0 -0
  435. /package/{types → lib}/components/base/icons/Plus.d.ts +0 -0
  436. /package/{types → lib}/components/base/icons/Plus.d.ts.map +0 -0
  437. /package/{types → lib}/components/base/icons/Route.d.ts +0 -0
  438. /package/{types → lib}/components/base/icons/Route.d.ts.map +0 -0
  439. /package/{types → lib}/components/base/icons/Star.d.ts +0 -0
  440. /package/{types → lib}/components/base/icons/Star.d.ts.map +0 -0
  441. /package/{types → lib}/components/base/icons/ToggleOff.d.ts +0 -0
  442. /package/{types → lib}/components/base/icons/ToggleOff.d.ts.map +0 -0
  443. /package/{types → lib}/components/base/icons/ToggleOn.d.ts +0 -0
  444. /package/{types → lib}/components/base/icons/ToggleOn.d.ts.map +0 -0
  445. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts +0 -0
  446. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts.map +0 -0
  447. /package/{types → lib}/components/base/icons/files/Excel.d.ts +0 -0
  448. /package/{types → lib}/components/base/icons/files/Excel.d.ts.map +0 -0
  449. /package/{types → lib}/components/base/icons/files/Image.d.ts +0 -0
  450. /package/{types → lib}/components/base/icons/files/Image.d.ts.map +0 -0
  451. /package/{types → lib}/components/base/icons/files/Pdf.d.ts +0 -0
  452. /package/{types → lib}/components/base/icons/files/Pdf.d.ts.map +0 -0
  453. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts +0 -0
  454. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts.map +0 -0
  455. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts +0 -0
  456. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts.map +0 -0
  457. /package/{types → lib}/components/base/icons/files/Word.d.ts +0 -0
  458. /package/{types → lib}/components/base/icons/files/Word.d.ts.map +0 -0
  459. /package/{types → lib}/components/base/icons/files/Zip.d.ts +0 -0
  460. /package/{types → lib}/components/base/icons/files/Zip.d.ts.map +0 -0
  461. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts +0 -0
  462. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts.map +0 -0
  463. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts +0 -0
  464. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts.map +0 -0
  465. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts +0 -0
  466. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts.map +0 -0
  467. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts +0 -0
  468. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts.map +0 -0
  469. /package/{types → lib}/components/base/icons/socials/Xing.d.ts +0 -0
  470. /package/{types → lib}/components/base/icons/socials/Xing.d.ts.map +0 -0
  471. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts +0 -0
  472. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts.map +0 -0
  473. /package/{types → lib}/components/base/nl2br.d.ts +0 -0
  474. /package/{types → lib}/components/base/nl2br.d.ts.map +0 -0
  475. /package/{types → lib}/components/blocks/Actions.d.ts +0 -0
  476. /package/{types → lib}/components/blocks/Actions.d.ts.map +0 -0
  477. /package/{types → lib}/components/blocks/Alert.d.ts +0 -0
  478. /package/{types → lib}/components/blocks/Alert.d.ts.map +0 -0
  479. /package/{types → lib}/components/blocks/Bdot.d.ts +0 -0
  480. /package/{types → lib}/components/blocks/Bdot.d.ts.map +0 -0
  481. /package/{types → lib}/components/blocks/CookieConsent.d.ts +0 -0
  482. /package/{types → lib}/components/blocks/CookieConsent.d.ts.map +0 -0
  483. /package/{types → lib}/components/blocks/EventBlock.d.ts +0 -0
  484. /package/{types → lib}/components/blocks/EventBlock.d.ts.map +0 -0
  485. /package/{types → lib}/components/blocks/Fact.d.ts +0 -0
  486. /package/{types → lib}/components/blocks/Fact.d.ts.map +0 -0
  487. /package/{types → lib}/components/blocks/Feature.d.ts +0 -0
  488. /package/{types → lib}/components/blocks/Feature.d.ts.map +0 -0
  489. /package/{types → lib}/components/blocks/Image.d.ts +0 -0
  490. /package/{types → lib}/components/blocks/Image.d.ts.map +0 -0
  491. /package/{types → lib}/components/blocks/InfoList.d.ts +0 -0
  492. /package/{types → lib}/components/blocks/InfoList.d.ts.map +0 -0
  493. /package/{types → lib}/components/blocks/IntroBlock.d.ts +0 -0
  494. /package/{types → lib}/components/blocks/IntroBlock.d.ts.map +0 -0
  495. /package/{types → lib}/components/blocks/JobCard.d.ts +0 -0
  496. /package/{types → lib}/components/blocks/JobCard.d.ts.map +0 -0
  497. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts +0 -0
  498. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts.map +0 -0
  499. /package/{types → lib}/components/blocks/NavBlock.d.ts +0 -0
  500. /package/{types → lib}/components/blocks/NavBlock.d.ts.map +0 -0
  501. /package/{types → lib}/components/blocks/NewsCard.d.ts +0 -0
  502. /package/{types → lib}/components/blocks/NewsCard.d.ts.map +0 -0
  503. /package/{types → lib}/components/blocks/POICard.d.ts +0 -0
  504. /package/{types → lib}/components/blocks/POICard.d.ts.map +0 -0
  505. /package/{types → lib}/components/blocks/POIFacts.d.ts +0 -0
  506. /package/{types → lib}/components/blocks/POIFacts.d.ts.map +0 -0
  507. /package/{types → lib}/components/blocks/PriceTag.d.ts +0 -0
  508. /package/{types → lib}/components/blocks/PriceTag.d.ts.map +0 -0
  509. /package/{types → lib}/components/blocks/PromotionCard.d.ts +0 -0
  510. /package/{types → lib}/components/blocks/PromotionCard.d.ts.map +0 -0
  511. /package/{types → lib}/components/blocks/SocialList.d.ts +0 -0
  512. /package/{types → lib}/components/blocks/SocialList.d.ts.map +0 -0
  513. /package/{types → lib}/components/blocks/TableBlock.d.ts +0 -0
  514. /package/{types → lib}/components/blocks/TableBlock.d.ts.map +0 -0
  515. /package/{types → lib}/components/blocks/Tag.d.ts +0 -0
  516. /package/{types → lib}/components/blocks/Tag.d.ts.map +0 -0
  517. /package/{types → lib}/components/blocks/Title.d.ts +0 -0
  518. /package/{types → lib}/components/blocks/Title.d.ts.map +0 -0
  519. /package/{types → lib}/components/blocks/VideoBlock.d.ts +0 -0
  520. /package/{types → lib}/components/blocks/VideoBlock.d.ts.map +0 -0
  521. /package/{types → lib}/components/blocks/VideoCard.d.ts +0 -0
  522. /package/{types → lib}/components/blocks/VideoCard.d.ts.map +0 -0
  523. /package/{types → lib}/components/buttons/Button.d.ts +0 -0
  524. /package/{types → lib}/components/buttons/Button.d.ts.map +0 -0
  525. /package/{types → lib}/components/buttons/ButtonGhost.d.ts +0 -0
  526. /package/{types → lib}/components/buttons/ButtonGhost.d.ts.map +0 -0
  527. /package/{types → lib}/components/buttons/Control.d.ts +0 -0
  528. /package/{types → lib}/components/buttons/Control.d.ts.map +0 -0
  529. /package/{types → lib}/components/buttons/Pointer.d.ts +0 -0
  530. /package/{types → lib}/components/buttons/Pointer.d.ts.map +0 -0
  531. /package/{types → lib}/components/debug/DebugLines.d.ts +0 -0
  532. /package/{types → lib}/components/debug/DebugLines.d.ts.map +0 -0
  533. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
  534. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts.map +0 -0
  535. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
  536. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts.map +0 -0
  537. /package/{types → lib}/components/fields/Checkbox.d.ts +0 -0
  538. /package/{types → lib}/components/fields/Checkbox.d.ts.map +0 -0
  539. /package/{types → lib}/components/fields/CompactForm.d.ts +0 -0
  540. /package/{types → lib}/components/fields/CompactForm.d.ts.map +0 -0
  541. /package/{types → lib}/components/fields/Datepicker.d.ts +0 -0
  542. /package/{types → lib}/components/fields/Datepicker.d.ts.map +0 -0
  543. /package/{types → lib}/components/fields/FileUpload.d.ts +0 -0
  544. /package/{types → lib}/components/fields/FileUpload.d.ts.map +0 -0
  545. /package/{types → lib}/components/fields/FilterField.d.ts +0 -0
  546. /package/{types → lib}/components/fields/FormField.d.ts +0 -0
  547. /package/{types → lib}/components/fields/FormField.d.ts.map +0 -0
  548. /package/{types → lib}/components/fields/LocationField.d.ts +0 -0
  549. /package/{types → lib}/components/fields/LocationField.d.ts.map +0 -0
  550. /package/{types → lib}/components/fields/Radio.d.ts +0 -0
  551. /package/{types → lib}/components/fields/Radio.d.ts.map +0 -0
  552. /package/{types → lib}/components/fields/SearchInput.d.ts +0 -0
  553. /package/{types → lib}/components/fields/SearchInput.d.ts.map +0 -0
  554. /package/{types → lib}/components/fields/SelectDropdown.d.ts +0 -0
  555. /package/{types → lib}/components/fields/SelectDropdown.d.ts.map +0 -0
  556. /package/{types → lib}/components/fields/Textarea.d.ts +0 -0
  557. /package/{types → lib}/components/fields/Textarea.d.ts.map +0 -0
  558. /package/{types → lib}/components/fields/Textfield.d.ts +0 -0
  559. /package/{types → lib}/components/fields/Textfield.d.ts.map +0 -0
  560. /package/{types → lib}/components/sections/Accordion.d.ts +0 -0
  561. /package/{types → lib}/components/sections/Accordion.d.ts.map +0 -0
  562. /package/{types → lib}/components/sections/AlertList.d.ts +0 -0
  563. /package/{types → lib}/components/sections/AlertList.d.ts.map +0 -0
  564. /package/{types → lib}/components/sections/Article.d.ts +0 -0
  565. /package/{types → lib}/components/sections/Article.d.ts.map +0 -0
  566. /package/{types → lib}/components/sections/CallToAction.d.ts +0 -0
  567. /package/{types → lib}/components/sections/CallToAction.d.ts.map +0 -0
  568. /package/{types → lib}/components/sections/CardList.d.ts +0 -0
  569. /package/{types → lib}/components/sections/CardList.d.ts.map +0 -0
  570. /package/{types → lib}/components/sections/ComparisonSlider.d.ts +0 -0
  571. /package/{types → lib}/components/sections/ComparisonSlider.d.ts.map +0 -0
  572. /package/{types → lib}/components/sections/CrossPromotion.d.ts +0 -0
  573. /package/{types → lib}/components/sections/CrossPromotion.d.ts.map +0 -0
  574. /package/{types → lib}/components/sections/FactGrid.d.ts +0 -0
  575. /package/{types → lib}/components/sections/FactGrid.d.ts.map +0 -0
  576. /package/{types → lib}/components/sections/FactList.d.ts +0 -0
  577. /package/{types → lib}/components/sections/FactList.d.ts.map +0 -0
  578. /package/{types → lib}/components/sections/FeatureList.d.ts +0 -0
  579. /package/{types → lib}/components/sections/FeatureList.d.ts.map +0 -0
  580. /package/{types → lib}/components/sections/Gallery.d.ts +0 -0
  581. /package/{types → lib}/components/sections/Gallery.d.ts.map +0 -0
  582. /package/{types → lib}/components/sections/IconList.d.ts +0 -0
  583. /package/{types → lib}/components/sections/IconList.d.ts.map +0 -0
  584. /package/{types → lib}/components/sections/IndexList.d.ts +0 -0
  585. /package/{types → lib}/components/sections/IndexList.d.ts.map +0 -0
  586. /package/{types → lib}/components/sections/Intro.d.ts +0 -0
  587. /package/{types → lib}/components/sections/Intro.d.ts.map +0 -0
  588. /package/{types → lib}/components/sections/Map.d.ts +0 -0
  589. /package/{types → lib}/components/sections/Map.d.ts.map +0 -0
  590. /package/{types → lib}/components/sections/NavList.d.ts +0 -0
  591. /package/{types → lib}/components/sections/NavList.d.ts.map +0 -0
  592. /package/{types → lib}/components/sections/NewsletterForm.d.ts +0 -0
  593. /package/{types → lib}/components/sections/NewsletterForm.d.ts.map +0 -0
  594. /package/{types → lib}/components/sections/ParallaxBackground.d.ts +0 -0
  595. /package/{types → lib}/components/sections/ParallaxBackground.d.ts.map +0 -0
  596. /package/{types → lib}/components/sections/Poster.d.ts +0 -0
  597. /package/{types → lib}/components/sections/Poster.d.ts.map +0 -0
  598. /package/{types → lib}/components/sections/PriceList.d.ts +0 -0
  599. /package/{types → lib}/components/sections/PriceList.d.ts.map +0 -0
  600. /package/{types → lib}/components/sections/PriceTable.d.ts +0 -0
  601. /package/{types → lib}/components/sections/PriceTable.d.ts.map +0 -0
  602. /package/{types → lib}/components/sections/Quote.d.ts +0 -0
  603. /package/{types → lib}/components/sections/Quote.d.ts.map +0 -0
  604. /package/{types → lib}/components/sections/RawVideo.d.ts +0 -0
  605. /package/{types → lib}/components/sections/RawVideo.d.ts.map +0 -0
  606. /package/{types → lib}/components/sections/SimpleImage.d.ts +0 -0
  607. /package/{types → lib}/components/sections/SimpleImage.d.ts.map +0 -0
  608. /package/{types → lib}/components/sections/SocialWall.d.ts +0 -0
  609. /package/{types → lib}/components/sections/SocialWall.d.ts.map +0 -0
  610. /package/{types → lib}/components/sections/Table.d.ts +0 -0
  611. /package/{types → lib}/components/sections/Table.d.ts.map +0 -0
  612. /package/{types → lib}/components/sections/Teaser.d.ts +0 -0
  613. /package/{types → lib}/components/sections/Teaser.d.ts.map +0 -0
  614. /package/{types → lib}/components/sections/TeaserWide.d.ts +0 -0
  615. /package/{types → lib}/components/sections/TeaserWide.d.ts.map +0 -0
  616. /package/{types → lib}/components/sections/Timeline.d.ts +0 -0
  617. /package/{types → lib}/components/sections/Timeline.d.ts.map +0 -0
  618. /package/{types → lib}/components/sections/Video.d.ts +0 -0
  619. /package/{types → lib}/components/sections/Video.d.ts.map +0 -0
  620. /package/{types → lib}/components/sections/events/EventDetail.d.ts +0 -0
  621. /package/{types → lib}/components/sections/events/EventDetail.d.ts.map +0 -0
  622. /package/{types → lib}/components/sections/events/EventList.d.ts +0 -0
  623. /package/{types → lib}/components/sections/events/EventList.d.ts.map +0 -0
  624. /package/{types → lib}/components/sections/events/EventOverview.d.ts +0 -0
  625. /package/{types → lib}/components/sections/events/EventOverview.d.ts.map +0 -0
  626. /package/{types → lib}/components/sections/footer/Footer.d.ts +0 -0
  627. /package/{types → lib}/components/sections/footer/Footer.d.ts.map +0 -0
  628. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
  629. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -0
  630. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
  631. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts.map +0 -0
  632. /package/{types → lib}/components/sections/footer/partials/index.d.ts +0 -0
  633. /package/{types → lib}/components/sections/footer/partials/index.d.ts.map +0 -0
  634. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
  635. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -0
  636. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
  637. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -0
  638. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts +0 -0
  639. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts.map +0 -0
  640. /package/{types → lib}/components/sections/form/DynamicForm.d.ts +0 -0
  641. /package/{types → lib}/components/sections/form/DynamicForm.d.ts.map +0 -0
  642. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
  643. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts.map +0 -0
  644. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
  645. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -0
  646. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
  647. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -0
  648. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
  649. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -0
  650. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
  651. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts.map +0 -0
  652. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
  653. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts.map +0 -0
  654. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
  655. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -0
  656. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts +0 -0
  657. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts.map +0 -0
  658. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
  659. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts.map +0 -0
  660. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
  661. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -0
  662. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts +0 -0
  663. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts.map +0 -0
  664. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts +0 -0
  665. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts.map +0 -0
  666. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts +0 -0
  667. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts.map +0 -0
  668. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts +0 -0
  669. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts.map +0 -0
  670. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts +0 -0
  671. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts.map +0 -0
  672. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts +0 -0
  673. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts.map +0 -0
  674. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts +0 -0
  675. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts.map +0 -0
  676. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts +0 -0
  677. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts.map +0 -0
  678. /package/{types → lib}/components/sections/jobs/JobList.d.ts +0 -0
  679. /package/{types → lib}/components/sections/jobs/JobList.d.ts.map +0 -0
  680. /package/{types → lib}/components/sections/navigation/NavBar.d.ts +0 -0
  681. /package/{types → lib}/components/sections/navigation/NavBar.d.ts.map +0 -0
  682. /package/{types → lib}/components/sections/navigation/Navigation.d.ts +0 -0
  683. /package/{types → lib}/components/sections/navigation/Navigation.d.ts.map +0 -0
  684. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts +0 -0
  685. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts.map +0 -0
  686. /package/{types → lib}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
  687. /package/{types → lib}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
  688. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
  689. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -0
  690. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
  691. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -0
  692. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
  693. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -0
  694. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
  695. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -0
  696. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
  697. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -0
  698. /package/{types → lib}/components/sections/navigation/partials/index.d.ts +0 -0
  699. /package/{types → lib}/components/sections/navigation/partials/index.d.ts.map +0 -0
  700. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
  701. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -0
  702. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
  703. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -0
  704. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
  705. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -0
  706. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
  707. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -0
  708. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
  709. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -0
  710. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts +0 -0
  711. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts.map +0 -0
  712. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts +0 -0
  713. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts.map +0 -0
  714. /package/{types → lib}/components/sections/news/NewsFooter.d.ts +0 -0
  715. /package/{types → lib}/components/sections/news/NewsFooter.d.ts.map +0 -0
  716. /package/{types → lib}/components/sections/news/NewsImages.d.ts +0 -0
  717. /package/{types → lib}/components/sections/news/NewsImages.d.ts.map +0 -0
  718. /package/{types → lib}/components/sections/news/NewsIntro.d.ts +0 -0
  719. /package/{types → lib}/components/sections/news/NewsIntro.d.ts.map +0 -0
  720. /package/{types → lib}/components/sections/news/NewsList.d.ts +0 -0
  721. /package/{types → lib}/components/sections/news/NewsList.d.ts.map +0 -0
  722. /package/{types → lib}/components/sections/news/NewsOverview.d.ts +0 -0
  723. /package/{types → lib}/components/sections/news/NewsOverview.d.ts.map +0 -0
  724. /package/{types → lib}/components/sections/news/NewsTable.d.ts +0 -0
  725. /package/{types → lib}/components/sections/news/NewsTable.d.ts.map +0 -0
  726. /package/{types → lib}/components/sections/news/NewsText.d.ts +0 -0
  727. /package/{types → lib}/components/sections/news/NewsText.d.ts.map +0 -0
  728. /package/{types → lib}/components/sections/news/NewsVideo.d.ts +0 -0
  729. /package/{types → lib}/components/sections/news/NewsVideo.d.ts.map +0 -0
  730. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
  731. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -0
  732. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
  733. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts.map +0 -0
  734. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
  735. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -0
  736. /package/{types → lib}/components/typography/Copy.d.ts +0 -0
  737. /package/{types → lib}/components/typography/Copy.d.ts.map +0 -0
  738. /package/{types → lib}/components/typography/Heading.d.ts +0 -0
  739. /package/{types → lib}/components/typography/Heading.d.ts.map +0 -0
  740. /package/{types → lib}/components/typography/Link.d.ts +0 -0
  741. /package/{types → lib}/components/typography/Link.d.ts.map +0 -0
  742. /package/{types → lib}/utils/LibThemeProvider.d.ts +0 -0
  743. /package/{types → lib}/utils/LibThemeProvider.d.ts.map +0 -0
  744. /package/{types → lib}/utils/arrays.d.ts +0 -0
  745. /package/{types → lib}/utils/arrays.d.ts.map +0 -0
  746. /package/{types → lib}/utils/backgroundImage.d.ts +0 -0
  747. /package/{types → lib}/utils/backgroundImage.d.ts.map +0 -0
  748. /package/{types → lib}/utils/clamp.d.ts +0 -0
  749. /package/{types → lib}/utils/clamp.d.ts.map +0 -0
  750. /package/{types → lib}/utils/concat.d.ts +0 -0
  751. /package/{types → lib}/utils/concat.d.ts.map +0 -0
  752. /package/{types → lib}/utils/cookie-consent/cookie.d.ts +0 -0
  753. /package/{types → lib}/utils/cookie-consent/cookie.d.ts.map +0 -0
  754. /package/{types → lib}/utils/cookie-consent/mutations.d.ts +0 -0
  755. /package/{types → lib}/utils/cookie-consent/mutations.d.ts.map +0 -0
  756. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
  757. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts.map +0 -0
  758. /package/{types → lib}/utils/dataURI.d.ts +0 -0
  759. /package/{types → lib}/utils/dataURI.d.ts.map +0 -0
  760. /package/{types → lib}/utils/escape.d.ts +0 -0
  761. /package/{types → lib}/utils/escape.d.ts.map +0 -0
  762. /package/{types → lib}/utils/filters.d.ts +0 -0
  763. /package/{types → lib}/utils/filters.d.ts.map +0 -0
  764. /package/{types → lib}/utils/fontLoading.d.ts +0 -0
  765. /package/{types → lib}/utils/fontLoading.d.ts.map +0 -0
  766. /package/{types → lib}/utils/formFieldText.d.ts +0 -0
  767. /package/{types → lib}/utils/formFieldText.d.ts.map +0 -0
  768. /package/{types → lib}/utils/getLinkIcon.d.ts +0 -0
  769. /package/{types → lib}/utils/getLinkIcon.d.ts.map +0 -0
  770. /package/{types → lib}/utils/hexRgbConverter.d.ts +0 -0
  771. /package/{types → lib}/utils/hexRgbConverter.d.ts.map +0 -0
  772. /package/{types → lib}/utils/menuHooks.d.ts +0 -0
  773. /package/{types → lib}/utils/menuHooks.d.ts.map +0 -0
  774. /package/{types → lib}/utils/navigation.d.ts +0 -0
  775. /package/{types → lib}/utils/navigation.d.ts.map +0 -0
  776. /package/{types → lib}/utils/statusFormatter.d.ts +0 -0
  777. /package/{types → lib}/utils/statusFormatter.d.ts.map +0 -0
  778. /package/{types → lib}/utils/storyHelpers.d.ts +0 -0
  779. /package/{types → lib}/utils/storyHelpers.d.ts.map +0 -0
  780. /package/{types → lib}/utils/structuredData.d.ts +0 -0
  781. /package/{types → lib}/utils/structuredData.d.ts.map +0 -0
  782. /package/{types → lib}/utils/types.d.ts +0 -0
  783. /package/{types → lib}/utils/types.d.ts.map +0 -0
  784. /package/{types → lib}/utils/urlParams.d.ts +0 -0
  785. /package/{types → lib}/utils/urlParams.d.ts.map +0 -0
  786. /package/{types → lib}/utils/useArray.d.ts +0 -0
  787. /package/{types → lib}/utils/useArray.d.ts.map +0 -0
  788. /package/{types → lib}/utils/useDebounce.d.ts +0 -0
  789. /package/{types → lib}/utils/useDebounce.d.ts.map +0 -0
  790. /package/{types → lib}/utils/useFontsLoaded.d.ts +0 -0
  791. /package/{types → lib}/utils/useFontsLoaded.d.ts.map +0 -0
  792. /package/{types → lib}/utils/useGeolocation.d.ts +0 -0
  793. /package/{types → lib}/utils/useGeolocation.d.ts.map +0 -0
  794. /package/{types → lib}/utils/useIE.d.ts +0 -0
  795. /package/{types → lib}/utils/useIE.d.ts.map +0 -0
  796. /package/{types → lib}/utils/useImgPreload.d.ts +0 -0
  797. /package/{types → lib}/utils/useImgPreload.d.ts.map +0 -0
  798. /package/{types → lib}/utils/useInterval.d.ts +0 -0
  799. /package/{types → lib}/utils/useInterval.d.ts.map +0 -0
  800. /package/{types → lib}/utils/useItemHeight.d.ts +0 -0
  801. /package/{types → lib}/utils/useItemHeight.d.ts.map +0 -0
  802. /package/{types → lib}/utils/useLazyInput.d.ts +0 -0
  803. /package/{types → lib}/utils/useLazyInput.d.ts.map +0 -0
  804. /package/{types → lib}/utils/useLeafletMap.d.ts +0 -0
  805. /package/{types → lib}/utils/useLeafletMap.d.ts.map +0 -0
  806. /package/{types → lib}/utils/useMounted.d.ts +0 -0
  807. /package/{types → lib}/utils/useMounted.d.ts.map +0 -0
  808. /package/{types → lib}/utils/useObserverSupport.d.ts +0 -0
  809. /package/{types → lib}/utils/useObserverSupport.d.ts.map +0 -0
  810. /package/{types → lib}/utils/usePageScroll.d.ts +0 -0
  811. /package/{types → lib}/utils/usePageScroll.d.ts.map +0 -0
  812. /package/{types → lib}/utils/useParams.d.ts +0 -0
  813. /package/{types → lib}/utils/useParams.d.ts.map +0 -0
  814. /package/{types → lib}/utils/usePoster.d.ts +0 -0
  815. /package/{types → lib}/utils/usePoster.d.ts.map +0 -0
  816. /package/{types → lib}/utils/usePrevious.d.ts +0 -0
  817. /package/{types → lib}/utils/usePrevious.d.ts.map +0 -0
  818. /package/{types → lib}/utils/useResizeThrottle.d.ts +0 -0
  819. /package/{types → lib}/utils/useResizeThrottle.d.ts.map +0 -0
  820. /package/{types → lib}/utils/useScroll.d.ts +0 -0
  821. /package/{types → lib}/utils/useScroll.d.ts.map +0 -0
  822. /package/{types → lib}/utils/useScrollIntoView.d.ts +0 -0
  823. /package/{types → lib}/utils/useScrollIntoView.d.ts.map +0 -0
  824. /package/{types → lib}/utils/useScrollThrottle.d.ts +0 -0
  825. /package/{types → lib}/utils/useScrollThrottle.d.ts.map +0 -0
  826. /package/{types → lib}/utils/useScrollTo.d.ts +0 -0
  827. /package/{types → lib}/utils/useScrollTo.d.ts.map +0 -0
  828. /package/{types → lib}/utils/useTimeout.d.ts +0 -0
  829. /package/{types → lib}/utils/useTimeout.d.ts.map +0 -0
  830. /package/{types → lib}/utils/useTouch.d.ts +0 -0
  831. /package/{types → lib}/utils/useTouch.d.ts.map +0 -0
  832. /package/{types → lib}/utils/useUpdateEffect.d.ts +0 -0
  833. /package/{types → lib}/utils/useUpdateEffect.d.ts.map +0 -0
@@ -1,719 +0,0 @@
1
- import { a as __makeTemplateObject, _ as __assign, L as LocationPin, s as CurrentLocation, t as MyLocation, C as Cross, f as __awaiter, g as __generator } from './ClockFilled-6bae80dc.js';
2
- import React__default, { useMemo, useState, useCallback, useEffect } from 'react';
3
- import styled, { css } from 'styled-components';
4
- import { S as Section, m as mapToBgMode, W as Wrapper } from './Wrapper-29347885.js';
5
- import { I as Image } from './Image-b538f659.js';
6
- import { H as Heading, C as Copy } from './Copy-fb124972.js';
7
- import { s as spacings, m as mq, w as withRange, g as getColors, e as getSVGDataImg } from './styles-f6c54818.js';
8
- import { w as withLibTheme, u as useLibTheme } from './LibThemeProvider-a38c5bf1.js';
9
- import { G as Grid } from './Grid-151498da.js';
10
- import { I as InfoList } from './InfoList-616d17fd.js';
11
- import { P as POIFacts, a as POICard } from './POICard-392a2c3a.js';
12
- import { i as isValidArray } from './arrays-65b644ef.js';
13
- import { F as FilterField } from './FilterField-03097694.js';
14
- import { u as useUpdateEffect } from './useUpdateEffect-824c0c84.js';
15
- import { e as escapeRegExp } from './escape-cbff9c25.js';
16
- import { u as useMounted } from './useMounted-1e4cc87b.js';
17
- import { g as getUrlParams, s as setUrlParam, d as deleteUrlParam } from './urlParams-9cfdaf71.js';
18
- import { u as useLeafletMap } from './useLeafletMap-6dea7a8e.js';
19
- import { g as generateNavbarIdent, a as getFullNavbarHeights } from './Navigation-13dce48c.js';
20
- import { u as useGeolocation } from './useGeolocation-f9f073cc.js';
21
- import './concat-ab3c66f2.js';
22
- import './clamp-12d37b65.js';
23
- import 'react-dom/server';
24
- import './useLazyInput-e66fc5be.js';
25
- import './useMediaQuery-0d473a9c.js';
26
- import './navigation-a2998143.js';
27
- import './Link-0a1e35d6.js';
28
- import './LanguageSwitcher-058e0145.js';
29
-
30
- var StyledImage = styled(Image).withConfig({
31
- displayName: "PointOfInterestDetail__StyledImage",
32
- componentId: "sc-hksryh-0"
33
- })(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n"], ["\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n"])), spacings.spacer);
34
- var Facts = styled(POIFacts).withConfig({
35
- displayName: "PointOfInterestDetail__Facts",
36
- componentId: "sc-hksryh-1"
37
- })(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n max-width: 880px;\n"], ["\n max-width: 880px;\n"])));
38
- var PoiTitle = styled(Heading).withConfig({
39
- displayName: "PointOfInterestDetail__PoiTitle",
40
- componentId: "sc-hksryh-2"
41
- })(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n max-width: 880px;\n\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* number of lines to show */\n line-clamp: 2;\n -webkit-box-orient: vertical;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n max-width: 880px;\n\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* number of lines to show */\n line-clamp: 2;\n -webkit-box-orient: vertical;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
42
- var PoiText = styled(Copy).withConfig({
43
- displayName: "PointOfInterestDetail__PoiText",
44
- componentId: "sc-hksryh-3"
45
- })(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n max-width: 880px;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"], ["\n max-width: 880px;\n\n &:not(:first-child) {\n margin-top: ", "px;\n }\n"])), spacings.nudge * 3);
46
-
47
- var PointOfInterestDetail = function (_a) {
48
- var anchorId = _a.anchorId,
49
- image = _a.image,
50
- title = _a.title,
51
- intro = _a.intro,
52
- text = _a.text,
53
- facts = _a.facts,
54
- infos = _a.infos,
55
- bgMode = _a.bgMode,
56
- customFact = _a.customFact;
57
- var colors = useLibTheme().colors;
58
- var isInverted = bgMode === 'inverted';
59
- var hasBg = bgMode === 'full';
60
- var hasInfos = useMemo(function () {
61
- return isValidArray(infos === null || infos === void 0 ? void 0 : infos.filter(function (info) {
62
- return isValidArray(info.items, false);
63
- }), false);
64
- }, [infos]);
65
- return React__default.createElement(Section, {
66
- addSeperation: true,
67
- anchorId: anchorId,
68
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
69
- bgMode: mapToBgMode(bgMode, true)
70
- }, React__default.createElement(Wrapper, {
71
- addWhitespace: true
72
- }, (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(StyledImage, __assign({}, image, {
73
- coverSpace: true,
74
- allowEdgeRadius: true,
75
- isInverted: isInverted
76
- })), React__default.createElement(Grid.Row, {
77
- gutter: spacings.nudge * 5,
78
- semilarge: {
79
- gutter: spacings.spacer
80
- }
81
- }, React__default.createElement(Grid.Col, {
82
- semilarge: {
83
- span: hasInfos ? 5.7 / 8 : 1
84
- }
85
- }, title && React__default.createElement(PoiTitle, {
86
- size: "heading-2",
87
- isInverted: isInverted
88
- }, title), isValidArray(facts, false) && React__default.createElement(Facts, {
89
- isInverted: isInverted,
90
- facts: facts,
91
- customFact: customFact
92
- }), intro && React__default.createElement(PoiText, {
93
- size: "medium",
94
- type: "copy-b",
95
- isInverted: isInverted,
96
- innerHTML: intro
97
- }), text && React__default.createElement(PoiText, {
98
- size: "medium",
99
- isInverted: isInverted,
100
- innerHTML: text
101
- })), hasInfos && React__default.createElement(Grid.Col, {
102
- semilarge: {
103
- span: 2.3 / 8
104
- }
105
- }, React__default.createElement(InfoList, {
106
- isInverted: isInverted,
107
- items: infos
108
- })))));
109
- };
110
- var PointOfInterestDetail$1 = withLibTheme(PointOfInterestDetail);
111
- var templateObject_1$2, templateObject_2$2, templateObject_3$1, templateObject_4$1;
112
-
113
- var Content = styled.div.withConfig({
114
- displayName: "PointOfInterestOverview__Content",
115
- componentId: "sc-epctuk-0"
116
- })(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * + * {\n margin-top: ", "px;\n }\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n & > * + * {\n margin-top: ", "px;\n }\n }\n"])), spacings.nudge * 5, mq.large, spacings.nudge * 3);
117
- var Filter = styled(FilterField).withConfig({
118
- displayName: "PointOfInterestOverview__Filter",
119
- componentId: "sc-epctuk-1"
120
- })(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n // margin to show prevent section overflow outline\n margin-top: 2px;\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n"], ["\n // margin to show prevent section overflow outline\n margin-top: 2px;\n\n &:not(:last-child) {\n margin-bottom: ", "px;\n }\n"])), spacings.nudge * 5);
121
-
122
- var poiExactNameFilter = function (filterQuery) {
123
- return function (value) {
124
- var regex = new RegExp(filterQuery);
125
- return regex.test(value.name);
126
- };
127
- };
128
-
129
- var poiSoftNameFilter = function (filterQuery) {
130
- return function (value) {
131
- var preparedQuery = filterQuery.toLowerCase().replace(/\s/g, '');
132
- var preparedName = value.name.toLowerCase().replace(/\s/g, '');
133
- var regex = new RegExp(preparedQuery);
134
- return regex.test(preparedName);
135
- };
136
- };
137
-
138
- var poiFactFilter = function (filterQuery) {
139
- return function (value) {
140
- if (!isValidArray(value.facts, false)) return false;
141
- var preparedQuery = filterQuery.toLowerCase().replace(/\s/g, '');
142
- var regex = new RegExp(preparedQuery);
143
- var result = value.facts.find(function (fact) {
144
- var preparedFact = fact.toLowerCase().replace(/\s/g, '');
145
- return regex.test(preparedFact);
146
- });
147
- return !!result;
148
- };
149
- };
150
-
151
- var poiInfoFilter = function (filterQuery) {
152
- return function (value) {
153
- if (!isValidArray(value === null || value === void 0 ? void 0 : value.infos, false)) return false;
154
- var preparedQuery = filterQuery.toLowerCase().replace(/\s/g, '');
155
- var regex = new RegExp(preparedQuery);
156
- return !!value.infos.find(function (info) {
157
- if (!info.text) return false;
158
- var preparedText = info.text.toLowerCase().replace(/\s/g, '');
159
- return regex.test(preparedText);
160
- });
161
- };
162
- };
163
-
164
- var poiDescriptionFilter = function (filterQuery) {
165
- return function (value) {
166
- if (!value.shortDescription) return false;
167
- var preparedQuery = filterQuery.toLowerCase().replace(/\s/g, '');
168
- var preparedDesc = value.shortDescription.toLowerCase().replace(/\s/g, '');
169
- var regex = new RegExp(preparedQuery);
170
- return regex.test(preparedDesc);
171
- };
172
- };
173
-
174
- var removeMatchIntersections = function (array, item) {
175
- if (!item) return [];
176
- return item === null || item === void 0 ? void 0 : item.filter(function (m) {
177
- return !array.find(function (prioItem) {
178
- return prioItem.item.id === m.id;
179
- });
180
- });
181
- };
182
-
183
- var filterPois = function (filterQuery, pois) {
184
- var prioList = [];
185
-
186
- if (!isValidArray(pois === null || pois === void 0 ? void 0 : pois.filter(function (poi) {
187
- return poi.id !== undefined;
188
- }), false)) {
189
- return prioList;
190
- } // PRIO 1 Filter: Exact name
191
-
192
-
193
- var exactNameMatches = pois === null || pois === void 0 ? void 0 : pois.filter(poiExactNameFilter(filterQuery));
194
-
195
- if (isValidArray(exactNameMatches, false)) {
196
- prioList.push.apply(prioList, exactNameMatches.map(function (match) {
197
- return {
198
- item: match,
199
- priority: 1
200
- };
201
- }));
202
- } // PRIO 2 Filter: Name
203
-
204
-
205
- var nameMatches = removeMatchIntersections(prioList, pois === null || pois === void 0 ? void 0 : pois.filter(poiSoftNameFilter(filterQuery)));
206
-
207
- if (isValidArray(nameMatches, false)) {
208
- prioList.push.apply(prioList, nameMatches.map(function (match) {
209
- return {
210
- item: match,
211
- priority: 2
212
- };
213
- }));
214
- } // PRIO 3 Filter: Facts
215
-
216
-
217
- var factMatches = removeMatchIntersections(prioList, pois === null || pois === void 0 ? void 0 : pois.filter(poiFactFilter(filterQuery)));
218
-
219
- if (isValidArray(factMatches, false)) {
220
- prioList.push.apply(prioList, factMatches.map(function (match) {
221
- return {
222
- item: match,
223
- priority: 3
224
- };
225
- }));
226
- } // PRIO 4 Filter: Description
227
-
228
-
229
- var infoMatches = removeMatchIntersections(prioList, pois === null || pois === void 0 ? void 0 : pois.filter(poiInfoFilter(filterQuery)));
230
-
231
- if (isValidArray(infoMatches, false)) {
232
- prioList.push.apply(prioList, infoMatches.map(function (match) {
233
- return {
234
- item: match,
235
- priority: 4
236
- };
237
- }));
238
- } // PRIO 5 Filter: Description
239
-
240
-
241
- var descMatches = removeMatchIntersections(prioList, pois === null || pois === void 0 ? void 0 : pois.filter(poiDescriptionFilter(filterQuery)));
242
-
243
- if (isValidArray(descMatches, false)) {
244
- prioList.push.apply(prioList, descMatches.map(function (match) {
245
- return {
246
- item: match,
247
- priority: 5
248
- };
249
- }));
250
- }
251
-
252
- return prioList;
253
- };
254
-
255
- var PointOfInterestOverview = function (_a) {
256
- var _b;
257
-
258
- var anchorId = _a.anchorId,
259
- bgMode = _a.bgMode,
260
- pois = _a.pois,
261
- enableFiltering = _a.enableFiltering,
262
- initialFilterQuery = _a.initialFilterQuery,
263
- _c = _a.filterPlaceholder,
264
- filterPlaceholder = _c === void 0 ? 'Filter' : _c,
265
- filterSubmitIcon = _a.filterSubmitIcon,
266
- filterClearIcon = _a.filterClearIcon;
267
-
268
- var _d = useLibTheme(),
269
- colors = _d.colors,
270
- globals = _d.globals;
271
-
272
- var filterName = globals.sections.poiFilterName;
273
- var isInverted = bgMode === 'inverted';
274
- var hasBg = bgMode === 'full';
275
-
276
- var _e = useState(initialFilterQuery || ''),
277
- filterQuery = _e[0],
278
- setFilterQuery = _e[1];
279
-
280
- var isMounted = useMounted();
281
- var poiMatches = React__default.useMemo(function () {
282
- var queryParts = filterQuery.split(' ').map(function (part) {
283
- return part.trim();
284
- });
285
- var searchMatches = []; // tracking matches of each query part
286
-
287
- for (var _i = 0, queryParts_1 = queryParts; _i < queryParts_1.length; _i++) {
288
- var part = queryParts_1[_i];
289
- var matches = filterPois(escapeRegExp(part), pois || []);
290
-
291
- var _loop_1 = function (match) {
292
- var intersectionIndex = searchMatches.findIndex(function (sItem) {
293
- return sItem.match.item.id === match.item.id;
294
- });
295
-
296
- if (intersectionIndex !== -1) {
297
- searchMatches[intersectionIndex].intersections += 1;
298
- } else {
299
- searchMatches.push({
300
- match: match,
301
- intersections: 1
302
- });
303
- }
304
- };
305
-
306
- for (var _a = 0, matches_1 = matches; _a < matches_1.length; _a++) {
307
- var match = matches_1[_a];
308
-
309
- _loop_1(match);
310
- }
311
- } // filter search matches by intersections so only matches with results for all search parts are shown
312
-
313
-
314
- return searchMatches.filter(function (m) {
315
- return m.intersections >= queryParts.length;
316
- }).map(function (m) {
317
- return __assign({}, m.match);
318
- });
319
- }, [filterQuery, pois]);
320
- var getFilter = useCallback(function () {
321
- return getUrlParams()[filterName];
322
- }, [filterName]);
323
- useEffect(function () {
324
- var urlFilter = getFilter();
325
-
326
- if (urlFilter !== undefined && urlFilter !== null && typeof urlFilter === 'string') {
327
- setFilterQuery(urlFilter);
328
- }
329
- }, [getFilter]);
330
- useEffect(function () {
331
- if (isMounted) return; // set inital data into URL
332
-
333
- if (filterQuery) {
334
- setUrlParam(filterName, filterQuery);
335
- } else {
336
- deleteUrlParam(filterName);
337
- }
338
- }, [filterName, filterQuery, isMounted]);
339
- useUpdateEffect(function () {
340
- // set filters to URL params
341
- if (filterQuery) {
342
- setUrlParam(filterName, filterQuery);
343
- } else {
344
- deleteUrlParam(filterName);
345
- }
346
- }, [filterQuery]);
347
- return React__default.createElement(Section, {
348
- addSeperation: true,
349
- anchorId: anchorId,
350
- bgColor: isInverted ? colors.sectionBg.dark : hasBg ? colors.sectionBg.medium : colors.sectionBg.light,
351
- bgMode: mapToBgMode(bgMode, true)
352
- }, React__default.createElement(Wrapper, {
353
- addWhitespace: true
354
- }, enableFiltering && React__default.createElement(Filter, {
355
- value: filterQuery,
356
- initialValue: initialFilterQuery,
357
- placeholder: filterPlaceholder,
358
- onSubmit: setFilterQuery,
359
- submitIcon: filterSubmitIcon,
360
- clearIcon: filterClearIcon,
361
- isInverted: isInverted
362
- }), React__default.createElement(Content, null, (_b = poiMatches === null || poiMatches === void 0 ? void 0 : poiMatches.sort(function (a, b) {
363
- return a.priority - b.priority;
364
- })) === null || _b === void 0 ? void 0 : _b.map(function (poi, i) {
365
- return React__default.createElement(POICard, __assign({
366
- key: i
367
- }, poi.item, {
368
- isInverted: isInverted
369
- }));
370
- }))));
371
- };
372
- var PointOfInterestOverview$1 = withLibTheme(PointOfInterestOverview);
373
- var templateObject_1$1, templateObject_2$1;
374
-
375
- var genHeightStyles = function () {
376
- return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n // Doing some crazy shit to calculate curent navbar height in CSS\n ", "\n"], ["\n // Doing some crazy shit to calculate curent navbar height in CSS\n ", "\n"])), function (_a) {
377
- var theme = _a.theme; // navbar main only
378
-
379
- var mainIdent = generateNavbarIdent({
380
- pageFlow: 'beforeContent',
381
- hasMain: true
382
- }); // navbar main and top
383
-
384
- var mainTopIdent = generateNavbarIdent({
385
- pageFlow: 'beforeContent',
386
- hasMain: true,
387
- hasTop: true
388
- }); // navbar main and bottom
389
-
390
- var mainBottomIdent = generateNavbarIdent({
391
- pageFlow: 'beforeContent',
392
- hasMain: true,
393
- hasBottom: true
394
- }); // full navbar with all bars
395
-
396
- var fullIdent = generateNavbarIdent({
397
- pageFlow: 'beforeContent',
398
- hasTop: true,
399
- hasMain: true,
400
- hasBottom: true
401
- });
402
- var navMainHeight = getFullNavbarHeights(theme, mainIdent).large;
403
- var navMainTopHeight = getFullNavbarHeights(theme, mainTopIdent).large;
404
- var navMainBottomHeight = getFullNavbarHeights(theme, mainBottomIdent).large;
405
- var navFullHeight = getFullNavbarHeights(theme, fullIdent).large;
406
-
407
- var mapToSelector = function (idents) {
408
- return idents.map(function (id) {
409
- return "[data-navbar-ident*='".concat(id, "']");
410
- }).join('');
411
- };
412
-
413
- var refHeight = '100vh';
414
- return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", " {\n height: ", ";\n }\n\n // with main navbar element\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and top navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and bottom navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with all navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n @media ", " {\n // with main navbar element\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and top navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and bottom navbar elements\n header", " ~ & {\n ", " {\n height: calc(\n ", " - ", "px\n );\n }\n }\n\n // with all navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n }\n "], ["\n ", " {\n height: ", ";\n }\n\n // with main navbar element\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and top navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and bottom navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with all navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n @media ", " {\n // with main navbar element\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and top navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n\n // with main and bottom navbar elements\n header", " ~ & {\n ", " {\n height: calc(\n ", " - ", "px\n );\n }\n }\n\n // with all navbar elements\n header", " ~ & {\n ", " {\n height: calc(", " - ", "px);\n }\n }\n }\n "])), Map, refHeight, mapToSelector(mainIdent.split('-')), Map, refHeight, navMainHeight[0], mapToSelector(mainTopIdent.split('-')), Map, refHeight, navMainTopHeight[0], mapToSelector(mainBottomIdent.split('-')), Map, refHeight, navMainBottomHeight[0], mapToSelector(fullIdent.split('-')), Map, refHeight, navFullHeight[0], mq.semilarge, mapToSelector(mainIdent.split('-')), Map, refHeight, navMainHeight[1], mapToSelector(mainTopIdent.split('-')), Map, refHeight, navMainTopHeight[1], mapToSelector(mainBottomIdent.split('-')), Map, refHeight, navMainBottomHeight[1], mapToSelector(fullIdent.split('-')), Map, refHeight, navFullHeight[1]);
415
- });
416
- };
417
-
418
- var PoiMapSection = styled(Section).withConfig({
419
- displayName: "PointOfInterestMap__PoiMapSection",
420
- componentId: "sc-1ke8oz0-0"
421
- })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: relative;\n ", "\n\n header + & {\n ", "\n ", "\n }\n"], ["\n position: relative;\n ", "\n\n header + & {\n ", "\n ", "\n }\n"])), function (_a) {
422
- var isLarge = _a.isLarge;
423
- return isLarge && genHeightStyles();
424
- }, withRange([0], 'padding-top'), withRange([0], 'margin-top'));
425
- var MapContainer = styled.div.withConfig({
426
- displayName: "PointOfInterestMap__MapContainer",
427
- componentId: "sc-1ke8oz0-1"
428
- })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
429
- var Map = styled.div.withConfig({
430
- displayName: "PointOfInterestMap__Map",
431
- componentId: "sc-1ke8oz0-2"
432
- })(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-height: 360px;\n height: 360px;\n max-height: 1300px;\n z-index: 0;\n\n @media ", " {\n height: 600px;\n min-height: 600px;\n }\n"], ["\n min-height: 360px;\n height: 360px;\n max-height: 1300px;\n z-index: 0;\n\n @media ", " {\n height: 600px;\n min-height: 600px;\n }\n"])), mq.medium);
433
- var RequestGeolocationBtn = styled.button.withConfig({
434
- displayName: "PointOfInterestMap__RequestGeolocationBtn",
435
- componentId: "sc-1ke8oz0-3"
436
- })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: absolute;\n top: ", "px;\n left: ", "px;\n\n background-color: transparent;\n border: none;\n padding: ", "px;\n cursor: pointer;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ", ";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n & > * {\n width: 30px;\n height: 30px;\n }\n"], ["\n position: absolute;\n top: ", "px;\n left: ", "px;\n\n background-color: transparent;\n border: none;\n padding: ", "px;\n cursor: pointer;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ", ";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n & > * {\n width: 30px;\n height: 30px;\n }\n"])), spacings.nudge * 2, spacings.nudge * 2, spacings.nudge, function (_a) {
437
- var theme = _a.theme;
438
- return getColors(theme).primary.default;
439
- });
440
- var CardStage = styled.div.withConfig({
441
- displayName: "PointOfInterestMap__CardStage",
442
- componentId: "sc-1ke8oz0-4"
443
- })(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n\n pointer-events: all;\n background-color: rgba(255, 255, 255, 0.8);\n\n @media ", " {\n position: absolute;\n background-color: transparent;\n padding: ", "px;\n padding-bottom: ", "px;\n\n pointer-events: none;\n }\n"], ["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n\n pointer-events: all;\n background-color: rgba(255, 255, 255, 0.8);\n\n @media ", " {\n position: absolute;\n background-color: transparent;\n padding: ", "px;\n padding-bottom: ", "px;\n\n pointer-events: none;\n }\n"])), mq.medium, spacings.nudge * 2, spacings.nudge * 3);
444
- var MapCardView = styled.div.withConfig({
445
- displayName: "PointOfInterestMap__MapCardView",
446
- componentId: "sc-1ke8oz0-5"
447
- })(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n max-height: 100%;\n width: 100%;\n padding: ", "px;\n overflow: auto;\n\n background: ", ";\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);\n pointer-events: all;\n border-radius: 8px;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n max-width: 400px;\n }\n"], ["\n max-height: 100%;\n width: 100%;\n padding: ", "px;\n overflow: auto;\n\n background: ", ";\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);\n pointer-events: all;\n border-radius: 8px;\n\n & > * + * {\n margin-top: ", "px;\n }\n\n @media ", " {\n max-width: 400px;\n }\n"])), spacings.nudge * 2, function (_a) {
448
- var theme = _a.theme;
449
- return getColors(theme).elementBg.light;
450
- }, spacings.nudge * 3, mq.medium);
451
- var MapCardHeader = styled.header.withConfig({
452
- displayName: "PointOfInterestMap__MapCardHeader",
453
- componentId: "sc-1ke8oz0-6"
454
- })(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
455
- var CloseBtn = styled.button.withConfig({
456
- displayName: "PointOfInterestMap__CloseBtn",
457
- componentId: "sc-1ke8oz0-7"
458
- })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n display: inline-block;\n border: none;\n background-color: transparent;\n cursor: pointer;\n margin-left: auto;\n padding: ", "px;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ", ";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"], ["\n display: inline-block;\n border: none;\n background-color: transparent;\n cursor: pointer;\n margin-left: auto;\n padding: ", "px;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ", ";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])), spacings.nudge, function (_a) {
459
- var theme = _a.theme;
460
- return getColors(theme).primary.default;
461
- });
462
-
463
- var MapCard = function (_a) {
464
- var name = _a.name,
465
- facts = _a.facts,
466
- description = _a.description,
467
- infos = _a.infos,
468
- action = _a.action,
469
- customFact = _a.customFact,
470
- customClose = _a.customClose,
471
- onClose = _a.onClose,
472
- className = _a.className;
473
- var colors = useLibTheme().colors;
474
- return React__default.createElement(MapCardView, {
475
- className: className
476
- }, React__default.createElement(MapCardHeader, null, name && React__default.createElement(Copy, {
477
- type: "copy-b",
478
- size: "big"
479
- }, name), React__default.createElement(CloseBtn, {
480
- onClick: onClose
481
- }, customClose || React__default.createElement(Cross, {
482
- iconColor: colors.text.default
483
- }))), isValidArray(facts, false) && React__default.createElement(POIFacts, {
484
- facts: facts,
485
- customFact: customFact
486
- }), description && React__default.createElement(Copy, {
487
- type: "copy",
488
- size: "small",
489
- innerHTML: description
490
- }), isValidArray(infos, false) && React__default.createElement(InfoList, {
491
- items: [{
492
- items: infos
493
- }]
494
- }), action && action);
495
- };
496
-
497
- var PointOfInterestMap = function (_a) {
498
- var anchorId = _a.anchorId,
499
- size = _a.size,
500
- pois = _a.pois,
501
- _b = _a.initialPointOfInterest,
502
- initialPointOfInterest = _b === void 0 ? '' : _b,
503
- provider = _a.provider,
504
- attribution = _a.attribution,
505
- _c = _a.center,
506
- center = _c === void 0 ? [51.505, -0.09] : _c,
507
- _d = _a.zoom,
508
- zoom = _d === void 0 ? 5 : _d,
509
- fitBoundsPadding = _a.fitBoundsPadding,
510
- _e = _a.allMarkersOnInit,
511
- allMarkersOnInit = _e === void 0 ? false : _e,
512
- _f = _a.restrictToMarkersArea,
513
- restrictToMarkersArea = _f === void 0 ? true : _f,
514
- showOwnPosition = _a.showOwnPosition,
515
- flyToZoom = _a.flyToZoom,
516
- customFact = _a.customFact,
517
- currentPosMarker = _a.currentPosMarker,
518
- customCardClose = _a.customCardClose,
519
- customLocationRequest = _a.customLocationRequest;
520
- var isLarge = size === 'large';
521
- var colors = useLibTheme().colors;
522
-
523
- var _g = useState(initialPointOfInterest || ''),
524
- activePoiId = _g[0],
525
- setActivePoiId = _g[1];
526
-
527
- var _h = useState(false),
528
- isDirty = _h[0],
529
- setIsDirty = _h[1];
530
-
531
- var activePOI = useMemo(function () {
532
- return pois === null || pois === void 0 ? void 0 : pois.find(function (poi) {
533
- return poi.id === activePoiId;
534
- });
535
- }, [activePoiId, pois]);
536
-
537
- var _j = useGeolocation(true, false),
538
- isGeolocationSupported = _j.isSupported,
539
- location = _j.location,
540
- resetGeolocation = _j.reset;
541
-
542
- var mapMarkers = useMemo(function () {
543
- var _a;
544
-
545
- var defaultMarker = {
546
- size: [28, 28],
547
- anchor: [14, 28],
548
- sizeActive: [70, 70],
549
- anchorActive: [35, 70],
550
- url: getSVGDataImg(React__default.createElement(LocationPin, null))
551
- }; // marker of own position
552
-
553
- var defaultPosMarker = {
554
- size: [24, 24],
555
- anchor: [12, 12],
556
- sizeActive: [24, 24],
557
- anchorActive: [12, 12],
558
- url: getSVGDataImg(React__default.createElement(CurrentLocation, {
559
- iconColor: "#5383EC"
560
- }))
561
- };
562
- var markers = ((_a = pois === null || pois === void 0 ? void 0 : pois.filter(function (poi) {
563
- return poi.id !== undefined;
564
- })) === null || _a === void 0 ? void 0 : _a.map(function (_a) {
565
- var id = _a.id,
566
- position = _a.position,
567
- icon = _a.icon;
568
- return {
569
- id: id,
570
- position: position,
571
- icon: icon || defaultMarker,
572
- isInteractive: true
573
- };
574
- })) || [];
575
-
576
- if (isGeolocationSupported && (location === null || location === void 0 ? void 0 : location.coords.latitude) && (location === null || location === void 0 ? void 0 : location.coords.longitude)) {
577
- markers.push({
578
- id: 'my-current-position-123456789',
579
- position: [location.coords.latitude, location.coords.longitude],
580
- icon: currentPosMarker || defaultPosMarker
581
- });
582
- }
583
-
584
- return markers;
585
- }, [currentPosMarker, isGeolocationSupported, location === null || location === void 0 ? void 0 : location.coords.latitude, location === null || location === void 0 ? void 0 : location.coords.longitude, pois]);
586
-
587
- var _k = useLeafletMap({
588
- url: provider,
589
- attribution: attribution,
590
- center: center,
591
- zoom: zoom,
592
- activeMarkerId: activePoiId,
593
- markers: mapMarkers,
594
- fitBoundsPadding: fitBoundsPadding,
595
- restrictToMarkersArea: restrictToMarkersArea,
596
- showZoomControls: true,
597
- zoomControlPosition: 'bottomleft',
598
- onMarkerClick: function (markerId) {
599
- setActivePoiId(function (prev) {
600
- if (prev === markerId) {
601
- return '';
602
- }
603
-
604
- return markerId;
605
- });
606
- }
607
- }),
608
- isLoaded = _k.isLoaded,
609
- setMapContainer = _k.setContainer,
610
- flyToActive = _k.flyToActive,
611
- showAllMarkers = _k.showAllMarkers,
612
- flyToPosition = _k.flyToPosition,
613
- getCurrentZoom = _k.getCurrentZoom;
614
-
615
- useEffect(function () {
616
- if (isLoaded && !isDirty) {
617
- if (allMarkersOnInit) showAllMarkers();
618
- } else {
619
- var currentZoom = getCurrentZoom();
620
- var zoom_1 = flyToZoom;
621
-
622
- if (flyToZoom !== undefined && currentZoom > flyToZoom) {
623
- zoom_1 = currentZoom;
624
- }
625
-
626
- flyToActive(zoom_1);
627
- }
628
- }, [activePoiId, allMarkersOnInit, flyToActive, flyToZoom, getCurrentZoom, initialPointOfInterest, isDirty, isLoaded, showAllMarkers]);
629
- useEffect(function () {
630
- if (!isDirty && activePoiId !== initialPointOfInterest) {
631
- setIsDirty(true);
632
- }
633
- }, [activePoiId, initialPointOfInterest, isDirty]);
634
-
635
- var handleLocationRequest = function () {
636
- return __awaiter(void 0, void 0, void 0, function () {
637
- var currentZoom, zoom_2, position;
638
-
639
- var _a, _b;
640
-
641
- return __generator(this, function (_c) {
642
- switch (_c.label) {
643
- case 0:
644
- if (!(((_a = location === null || location === void 0 ? void 0 : location.coords) === null || _a === void 0 ? void 0 : _a.latitude) && ((_b = location === null || location === void 0 ? void 0 : location.coords) === null || _b === void 0 ? void 0 : _b.longitude))) return [3
645
- /*break*/
646
- , 1];
647
- currentZoom = getCurrentZoom();
648
- zoom_2 = flyToZoom;
649
-
650
- if (flyToZoom !== undefined && currentZoom > flyToZoom) {
651
- zoom_2 = currentZoom;
652
- }
653
-
654
- flyToPosition([location.coords.latitude, location.coords.longitude], zoom_2);
655
- return [3
656
- /*break*/
657
- , 4];
658
-
659
- case 1:
660
- _c.trys.push([1, 3,, 4]);
661
-
662
- return [4
663
- /*yield*/
664
- , resetGeolocation()];
665
-
666
- case 2:
667
- position = _c.sent();
668
- if (position) showAllMarkers();
669
- return [3
670
- /*break*/
671
- , 4];
672
-
673
- case 3:
674
- _c.sent();
675
- return [3
676
- /*break*/
677
- , 4];
678
-
679
- case 4:
680
- return [2
681
- /*return*/
682
- ];
683
- }
684
- });
685
- });
686
- };
687
-
688
- return React__default.createElement(PoiMapSection, {
689
- anchorId: anchorId,
690
- bgColor: "image",
691
- bgMode: "full",
692
- isLarge: isLarge
693
- }, React__default.createElement(Wrapper, {
694
- clampWidth: isLarge ? 'large' : 'normal'
695
- }, React__default.createElement(MapContainer, null, React__default.createElement(Map, {
696
- ref: setMapContainer,
697
- isLarge: size === 'large'
698
- }), showOwnPosition && React__default.createElement(RequestGeolocationBtn, {
699
- onClick: handleLocationRequest
700
- }, customLocationRequest || React__default.createElement(MyLocation, {
701
- iconColor: colors.text.default
702
- })), activePOI && activePOI.name && React__default.createElement(CardStage, {
703
- onClick: function (ev) {
704
- if (ev.target !== ev.currentTarget) return;
705
- setActivePoiId('');
706
- }
707
- }, React__default.createElement(MapCard, __assign({}, activePOI, {
708
- onClose: function () {
709
- return setActivePoiId('');
710
- },
711
- customFact: customFact,
712
- customClose: customCardClose
713
- }))))));
714
- };
715
- var PointOfInterestMap$1 = withLibTheme(PointOfInterestMap);
716
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
717
-
718
- export { PointOfInterestDetail$1 as PointOfInterestDetail, PointOfInterestMap$1 as PointOfInterestMap, PointOfInterestOverview$1 as PointOfInterestOverview };
719
- //# sourceMappingURL=sections_pois.js.map