@geotrekce/geotrek-rando-widget 0.5.7 → 0.5.8

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 (420) hide show
  1. package/dist/cjs/geotrek-rando-widget.cjs.js +2 -2
  2. package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
  3. package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
  4. package/dist/cjs/grw-app.cjs.entry.js +22 -19
  5. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  6. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  7. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  8. package/dist/cjs/grw-common-button_20.cjs.entry.js +434 -343
  9. package/dist/cjs/grw-common-button_20.cjs.entry.js.br +0 -0
  10. package/dist/cjs/grw-common-button_20.cjs.entry.js.gz +0 -0
  11. package/dist/cjs/grw-common-button_20.cjs.entry.js.map +1 -1
  12. package/dist/cjs/grw-filter.cjs.entry.js +6 -4
  13. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  14. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  15. package/dist/cjs/grw-filter.cjs.entry.js.map +1 -1
  16. package/dist/cjs/grw-information-desk_6.cjs.entry.js +28 -31
  17. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  18. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -1
  20. package/dist/cjs/{i18n-54f97142.js → i18n-ffadc673.js} +9 -3
  21. package/dist/cjs/i18n-ffadc673.js.br +0 -0
  22. package/dist/cjs/i18n-ffadc673.js.gz +0 -0
  23. package/dist/cjs/i18n-ffadc673.js.map +1 -0
  24. package/dist/cjs/{index-9e4fe3f0.js → index-e9166f30.js} +60 -1
  25. package/dist/cjs/index-e9166f30.js.br +0 -0
  26. package/dist/cjs/index-e9166f30.js.gz +0 -0
  27. package/dist/cjs/index-e9166f30.js.map +1 -0
  28. package/dist/cjs/loader.cjs.js +2 -2
  29. package/dist/cjs/loader.cjs.js.br +0 -0
  30. package/dist/cjs/loader.cjs.js.gz +0 -0
  31. package/dist/cjs/{store-aa5044fc.js → store-1bee207d.js} +4 -4
  32. package/dist/cjs/store-1bee207d.js.br +0 -0
  33. package/dist/cjs/store-1bee207d.js.gz +0 -0
  34. package/dist/cjs/store-1bee207d.js.map +1 -0
  35. package/dist/cjs/{utils-08a59e4e.js → utils-c74a9612.js} +9 -9
  36. package/dist/cjs/utils-c74a9612.js.br +0 -0
  37. package/dist/cjs/utils-c74a9612.js.gz +0 -0
  38. package/dist/cjs/utils-c74a9612.js.map +1 -0
  39. package/dist/collection/components/grw-app/grw-app.js +19 -16
  40. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  41. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  42. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  43. package/dist/collection/components/grw-filter/grw-filter.js +3 -1
  44. package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
  45. package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
  46. package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
  47. package/dist/collection/components/grw-map/grw-map.css +72 -9
  48. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  49. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  50. package/dist/collection/components/grw-map/grw-map.js +90 -70
  51. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  52. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  53. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  54. package/dist/collection/components/grw-poi-detail/grw-poi.css +7 -1
  55. package/dist/collection/components/grw-poi-detail/grw-poi.css.br +0 -0
  56. package/dist/collection/components/grw-poi-detail/grw-poi.css.gz +0 -0
  57. package/dist/collection/components/grw-poi-detail/grw-poi.js +1 -1
  58. package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
  59. package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
  60. package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
  61. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css +1 -1
  62. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.br +0 -0
  63. package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.gz +0 -0
  64. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +19 -10
  65. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
  66. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
  67. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +1 -1
  68. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
  69. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
  70. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
  71. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +26 -0
  72. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
  73. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
  74. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +36 -24
  75. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
  76. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
  77. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
  78. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +1 -23
  79. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
  80. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
  81. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -1
  82. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css +21 -8
  83. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
  84. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
  85. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +3 -2
  86. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
  87. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
  88. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
  89. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +26 -0
  90. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
  91. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
  92. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +23 -9
  93. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
  94. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
  95. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
  96. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +1 -23
  97. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
  98. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
  99. package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.map +1 -1
  100. package/dist/collection/components/grw-trek-card/grw-trek-card.css +62 -32
  101. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  102. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  103. package/dist/collection/components/grw-trek-card/grw-trek-card.js +18 -39
  104. package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
  105. package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
  106. package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
  107. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +30 -0
  108. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  109. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  110. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +36 -41
  111. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  112. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  113. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  114. package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -23
  115. package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
  116. package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
  117. package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
  118. package/dist/collection/i18n/i18n.js +8 -2
  119. package/dist/collection/i18n/i18n.js.br +0 -0
  120. package/dist/collection/i18n/i18n.js.gz +0 -0
  121. package/dist/collection/i18n/i18n.js.map +1 -1
  122. package/dist/collection/store/grw-touristic-content-provider.js +22 -18
  123. package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
  124. package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
  125. package/dist/collection/store/grw-touristic-content-provider.js.map +1 -1
  126. package/dist/collection/store/grw-touristic-contents-provider.js +23 -19
  127. package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
  128. package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
  129. package/dist/collection/store/grw-touristic-contents-provider.js.map +1 -1
  130. package/dist/collection/store/grw-touristic-event-provider.js +22 -18
  131. package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
  132. package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
  133. package/dist/collection/store/grw-touristic-event-provider.js.map +1 -1
  134. package/dist/collection/store/grw-touristic-events-provider.js +23 -19
  135. package/dist/collection/store/grw-touristic-events-provider.js.br +0 -0
  136. package/dist/collection/store/grw-touristic-events-provider.js.gz +0 -0
  137. package/dist/collection/store/grw-touristic-events-provider.js.map +1 -1
  138. package/dist/collection/store/grw-trek-provider.js +107 -103
  139. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  140. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  141. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  142. package/dist/collection/store/grw-treks-provider.js +49 -43
  143. package/dist/collection/store/grw-treks-provider.js.br +0 -0
  144. package/dist/collection/store/grw-treks-provider.js.gz +0 -0
  145. package/dist/collection/store/grw-treks-provider.js.map +1 -1
  146. package/dist/collection/store/store.js +2 -2
  147. package/dist/collection/store/store.js.br +0 -0
  148. package/dist/collection/store/store.js.gz +0 -0
  149. package/dist/collection/store/store.js.map +1 -1
  150. package/dist/collection/utils/utils.js +7 -7
  151. package/dist/collection/utils/utils.js.br +0 -0
  152. package/dist/collection/utils/utils.js.gz +0 -0
  153. package/dist/collection/utils/utils.js.map +1 -1
  154. package/dist/esm/geotrek-rando-widget.js +3 -3
  155. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  156. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  157. package/dist/esm/grw-app.entry.js +22 -19
  158. package/dist/esm/grw-app.entry.js.br +0 -0
  159. package/dist/esm/grw-app.entry.js.gz +0 -0
  160. package/dist/esm/grw-app.entry.js.map +1 -1
  161. package/dist/esm/grw-common-button_20.entry.js +434 -343
  162. package/dist/esm/grw-common-button_20.entry.js.br +0 -0
  163. package/dist/esm/grw-common-button_20.entry.js.gz +0 -0
  164. package/dist/esm/grw-common-button_20.entry.js.map +1 -1
  165. package/dist/esm/grw-filter.entry.js +6 -4
  166. package/dist/esm/grw-filter.entry.js.br +0 -0
  167. package/dist/esm/grw-filter.entry.js.gz +0 -0
  168. package/dist/esm/grw-filter.entry.js.map +1 -1
  169. package/dist/esm/grw-information-desk_6.entry.js +28 -31
  170. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  171. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  172. package/dist/esm/grw-information-desk_6.entry.js.map +1 -1
  173. package/dist/esm/{i18n-1b5344b9.js → i18n-174cee1d.js} +9 -3
  174. package/dist/esm/i18n-174cee1d.js.br +0 -0
  175. package/dist/esm/i18n-174cee1d.js.gz +0 -0
  176. package/dist/esm/i18n-174cee1d.js.map +1 -0
  177. package/dist/esm/{index-d5cacae4.js → index-51cc3412.js} +60 -2
  178. package/dist/esm/index-51cc3412.js.br +0 -0
  179. package/dist/esm/index-51cc3412.js.gz +0 -0
  180. package/dist/esm/index-51cc3412.js.map +1 -0
  181. package/dist/esm/loader.js +3 -3
  182. package/dist/esm/loader.js.br +0 -0
  183. package/dist/esm/loader.js.gz +0 -0
  184. package/dist/esm/{store-3496120b.js → store-f2da1d1a.js} +4 -4
  185. package/dist/esm/store-f2da1d1a.js.br +0 -0
  186. package/dist/esm/store-f2da1d1a.js.gz +0 -0
  187. package/dist/esm/store-f2da1d1a.js.map +1 -0
  188. package/dist/esm/{utils-3f44aaab.js → utils-629857b6.js} +9 -9
  189. package/dist/esm/utils-629857b6.js.br +0 -0
  190. package/dist/esm/utils-629857b6.js.gz +0 -0
  191. package/dist/esm/utils-629857b6.js.map +1 -0
  192. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  193. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  194. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  195. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  196. package/dist/esm-es5/grw-app.entry.js +1 -1
  197. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  198. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  199. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  200. package/dist/esm-es5/grw-common-button_20.entry.js +3 -3
  201. package/dist/esm-es5/grw-common-button_20.entry.js.br +0 -0
  202. package/dist/esm-es5/grw-common-button_20.entry.js.gz +0 -0
  203. package/dist/esm-es5/grw-common-button_20.entry.js.map +1 -1
  204. package/dist/esm-es5/grw-filter.entry.js +2 -2
  205. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  206. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  207. package/dist/esm-es5/grw-filter.entry.js.map +1 -1
  208. package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
  209. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  210. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  211. package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -1
  212. package/dist/esm-es5/i18n-174cee1d.js +2 -0
  213. package/dist/esm-es5/i18n-174cee1d.js.br +0 -0
  214. package/dist/esm-es5/i18n-174cee1d.js.gz +0 -0
  215. package/dist/esm-es5/i18n-174cee1d.js.map +1 -0
  216. package/dist/esm-es5/index-51cc3412.js +3 -0
  217. package/dist/esm-es5/index-51cc3412.js.br +0 -0
  218. package/dist/esm-es5/index-51cc3412.js.gz +0 -0
  219. package/dist/esm-es5/index-51cc3412.js.map +1 -0
  220. package/dist/esm-es5/loader.js +1 -1
  221. package/dist/esm-es5/loader.js.br +0 -0
  222. package/dist/esm-es5/loader.js.gz +0 -0
  223. package/dist/esm-es5/loader.js.map +1 -1
  224. package/dist/esm-es5/{store-3496120b.js → store-f2da1d1a.js} +2 -2
  225. package/dist/esm-es5/store-f2da1d1a.js.br +0 -0
  226. package/dist/esm-es5/store-f2da1d1a.js.gz +0 -0
  227. package/dist/esm-es5/store-f2da1d1a.js.map +1 -0
  228. package/dist/esm-es5/utils-629857b6.js +2 -0
  229. package/dist/esm-es5/utils-629857b6.js.br +0 -0
  230. package/dist/esm-es5/utils-629857b6.js.gz +0 -0
  231. package/dist/esm-es5/utils-629857b6.js.map +1 -0
  232. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  233. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  234. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  235. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  236. package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
  237. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
  238. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
  239. package/dist/geotrek-rando-widget/p-067c274c.system.js +2 -0
  240. package/dist/geotrek-rando-widget/p-067c274c.system.js.br +0 -0
  241. package/dist/geotrek-rando-widget/p-067c274c.system.js.gz +0 -0
  242. package/dist/geotrek-rando-widget/p-067c274c.system.js.map +1 -0
  243. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js +2 -0
  244. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.br +0 -0
  245. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.gz +0 -0
  246. package/dist/geotrek-rando-widget/p-157cc8ea.system.entry.js.map +1 -0
  247. package/dist/geotrek-rando-widget/p-1f05919b.js +2 -0
  248. package/dist/geotrek-rando-widget/p-1f05919b.js.br +0 -0
  249. package/dist/geotrek-rando-widget/p-1f05919b.js.gz +0 -0
  250. package/dist/geotrek-rando-widget/p-1f05919b.js.map +1 -0
  251. package/dist/geotrek-rando-widget/{p-e786bfac.system.entry.js → p-3478a0e0.system.entry.js} +3 -3
  252. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.br +0 -0
  253. package/dist/geotrek-rando-widget/p-3478a0e0.system.entry.js.gz +0 -0
  254. package/dist/geotrek-rando-widget/{p-e786bfac.system.entry.js.map → p-3478a0e0.system.entry.js.map} +1 -1
  255. package/dist/geotrek-rando-widget/p-357053e1.system.js +2 -0
  256. package/dist/geotrek-rando-widget/p-357053e1.system.js.br +0 -0
  257. package/dist/geotrek-rando-widget/p-357053e1.system.js.gz +0 -0
  258. package/dist/geotrek-rando-widget/p-357053e1.system.js.map +1 -0
  259. package/dist/geotrek-rando-widget/p-44a48723.entry.js +2 -0
  260. package/dist/geotrek-rando-widget/p-44a48723.entry.js.br +0 -0
  261. package/dist/geotrek-rando-widget/p-44a48723.entry.js.gz +0 -0
  262. package/dist/geotrek-rando-widget/p-44a48723.entry.js.map +1 -0
  263. package/dist/geotrek-rando-widget/p-54b52936.js +2 -0
  264. package/dist/geotrek-rando-widget/p-54b52936.js.br +0 -0
  265. package/dist/geotrek-rando-widget/p-54b52936.js.gz +0 -0
  266. package/dist/geotrek-rando-widget/p-54b52936.js.map +1 -0
  267. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js +14 -0
  268. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.br +0 -0
  269. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.gz +0 -0
  270. package/dist/geotrek-rando-widget/p-559e3a1d.entry.js.map +1 -0
  271. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js +2 -0
  272. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.br +0 -0
  273. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.gz +0 -0
  274. package/dist/geotrek-rando-widget/p-5a7fe54b.system.entry.js.map +1 -0
  275. package/dist/geotrek-rando-widget/p-66ed5acc.js +3 -0
  276. package/dist/geotrek-rando-widget/p-66ed5acc.js.br +0 -0
  277. package/dist/geotrek-rando-widget/p-66ed5acc.js.gz +0 -0
  278. package/dist/geotrek-rando-widget/p-66ed5acc.js.map +1 -0
  279. package/dist/geotrek-rando-widget/p-67932866.system.entry.js +14 -0
  280. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.br +0 -0
  281. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.gz +0 -0
  282. package/dist/geotrek-rando-widget/p-67932866.system.entry.js.map +1 -0
  283. package/dist/geotrek-rando-widget/p-88a9f840.entry.js +2 -0
  284. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.br +0 -0
  285. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.gz +0 -0
  286. package/dist/geotrek-rando-widget/p-88a9f840.entry.js.map +1 -0
  287. package/dist/geotrek-rando-widget/p-988009d3.system.js +3 -0
  288. package/dist/geotrek-rando-widget/p-988009d3.system.js.br +0 -0
  289. package/dist/geotrek-rando-widget/p-988009d3.system.js.gz +0 -0
  290. package/dist/geotrek-rando-widget/p-988009d3.system.js.map +1 -0
  291. package/dist/geotrek-rando-widget/p-a0907b4d.system.js +2 -0
  292. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.br +0 -0
  293. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.gz +0 -0
  294. package/dist/geotrek-rando-widget/p-a0907b4d.system.js.map +1 -0
  295. package/dist/geotrek-rando-widget/{p-41d98179.system.js → p-f17eda94.system.js} +2 -2
  296. package/dist/geotrek-rando-widget/p-f17eda94.system.js.br +0 -0
  297. package/dist/geotrek-rando-widget/p-f17eda94.system.js.gz +0 -0
  298. package/dist/geotrek-rando-widget/p-f17eda94.system.js.map +1 -0
  299. package/dist/geotrek-rando-widget/p-f88b4940.js +2 -0
  300. package/dist/geotrek-rando-widget/p-f88b4940.js.br +0 -0
  301. package/dist/geotrek-rando-widget/p-f88b4940.js.gz +0 -0
  302. package/dist/geotrek-rando-widget/p-f88b4940.js.map +1 -0
  303. package/dist/geotrek-rando-widget/{p-396e7309.entry.js → p-fca0c8b9.entry.js} +3 -3
  304. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.br +0 -0
  305. package/dist/geotrek-rando-widget/p-fca0c8b9.entry.js.gz +0 -0
  306. package/dist/geotrek-rando-widget/{p-396e7309.entry.js.map → p-fca0c8b9.entry.js.map} +1 -1
  307. package/dist/types/components/grw-map/grw-map.d.ts +2 -3
  308. package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +1 -1
  309. package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +0 -1
  310. package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +1 -1
  311. package/dist/types/components/grw-touristic-events-list/grw-touristic-events-list.d.ts +0 -1
  312. package/dist/types/components/grw-trek-card/grw-trek-card.d.ts +0 -2
  313. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +2 -2
  314. package/dist/types/components/grw-treks-list/grw-treks-list.d.ts +0 -1
  315. package/dist/types/components.d.ts +0 -12
  316. package/dist/types/i18n/i18n.d.ts +3 -0
  317. package/dist/types/store/store.d.ts +4 -4
  318. package/package.json +1 -1
  319. package/dist/cjs/i18n-54f97142.js.br +0 -0
  320. package/dist/cjs/i18n-54f97142.js.gz +0 -0
  321. package/dist/cjs/i18n-54f97142.js.map +0 -1
  322. package/dist/cjs/index-9e4fe3f0.js.br +0 -0
  323. package/dist/cjs/index-9e4fe3f0.js.gz +0 -0
  324. package/dist/cjs/index-9e4fe3f0.js.map +0 -1
  325. package/dist/cjs/store-aa5044fc.js.br +0 -0
  326. package/dist/cjs/store-aa5044fc.js.gz +0 -0
  327. package/dist/cjs/store-aa5044fc.js.map +0 -1
  328. package/dist/cjs/utils-08a59e4e.js.br +0 -0
  329. package/dist/cjs/utils-08a59e4e.js.gz +0 -0
  330. package/dist/cjs/utils-08a59e4e.js.map +0 -1
  331. package/dist/esm/i18n-1b5344b9.js.br +0 -0
  332. package/dist/esm/i18n-1b5344b9.js.gz +0 -0
  333. package/dist/esm/i18n-1b5344b9.js.map +0 -1
  334. package/dist/esm/index-d5cacae4.js.br +0 -0
  335. package/dist/esm/index-d5cacae4.js.gz +0 -0
  336. package/dist/esm/index-d5cacae4.js.map +0 -1
  337. package/dist/esm/store-3496120b.js.br +0 -0
  338. package/dist/esm/store-3496120b.js.gz +0 -0
  339. package/dist/esm/store-3496120b.js.map +0 -1
  340. package/dist/esm/utils-3f44aaab.js.br +0 -0
  341. package/dist/esm/utils-3f44aaab.js.gz +0 -0
  342. package/dist/esm/utils-3f44aaab.js.map +0 -1
  343. package/dist/esm-es5/i18n-1b5344b9.js +0 -2
  344. package/dist/esm-es5/i18n-1b5344b9.js.br +0 -0
  345. package/dist/esm-es5/i18n-1b5344b9.js.gz +0 -0
  346. package/dist/esm-es5/i18n-1b5344b9.js.map +0 -1
  347. package/dist/esm-es5/index-d5cacae4.js +0 -3
  348. package/dist/esm-es5/index-d5cacae4.js.br +0 -0
  349. package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
  350. package/dist/esm-es5/index-d5cacae4.js.map +0 -1
  351. package/dist/esm-es5/store-3496120b.js.br +0 -0
  352. package/dist/esm-es5/store-3496120b.js.gz +0 -0
  353. package/dist/esm-es5/store-3496120b.js.map +0 -1
  354. package/dist/esm-es5/utils-3f44aaab.js +0 -2
  355. package/dist/esm-es5/utils-3f44aaab.js.br +0 -0
  356. package/dist/esm-es5/utils-3f44aaab.js.gz +0 -0
  357. package/dist/esm-es5/utils-3f44aaab.js.map +0 -1
  358. package/dist/geotrek-rando-widget/p-007ecbb7.system.js +0 -2
  359. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.br +0 -0
  360. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.gz +0 -0
  361. package/dist/geotrek-rando-widget/p-007ecbb7.system.js.map +0 -1
  362. package/dist/geotrek-rando-widget/p-0c07a3f0.js +0 -3
  363. package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
  364. package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
  365. package/dist/geotrek-rando-widget/p-0c07a3f0.js.map +0 -1
  366. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js +0 -2
  367. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.br +0 -0
  368. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.gz +0 -0
  369. package/dist/geotrek-rando-widget/p-0c643dd6.entry.js.map +0 -1
  370. package/dist/geotrek-rando-widget/p-159a8bb1.js +0 -2
  371. package/dist/geotrek-rando-widget/p-159a8bb1.js.br +0 -0
  372. package/dist/geotrek-rando-widget/p-159a8bb1.js.gz +0 -0
  373. package/dist/geotrek-rando-widget/p-159a8bb1.js.map +0 -1
  374. package/dist/geotrek-rando-widget/p-396e7309.entry.js.br +0 -0
  375. package/dist/geotrek-rando-widget/p-396e7309.entry.js.gz +0 -0
  376. package/dist/geotrek-rando-widget/p-41d98179.system.js.br +0 -0
  377. package/dist/geotrek-rando-widget/p-41d98179.system.js.gz +0 -0
  378. package/dist/geotrek-rando-widget/p-41d98179.system.js.map +0 -1
  379. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js +0 -2
  380. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.br +0 -0
  381. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.gz +0 -0
  382. package/dist/geotrek-rando-widget/p-44a81db6.system.entry.js.map +0 -1
  383. package/dist/geotrek-rando-widget/p-623b4c89.entry.js +0 -2
  384. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.br +0 -0
  385. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.gz +0 -0
  386. package/dist/geotrek-rando-widget/p-623b4c89.entry.js.map +0 -1
  387. package/dist/geotrek-rando-widget/p-86b11946.js +0 -2
  388. package/dist/geotrek-rando-widget/p-86b11946.js.br +0 -0
  389. package/dist/geotrek-rando-widget/p-86b11946.js.gz +0 -0
  390. package/dist/geotrek-rando-widget/p-86b11946.js.map +0 -1
  391. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js +0 -2
  392. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.br +0 -0
  393. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.gz +0 -0
  394. package/dist/geotrek-rando-widget/p-951ae640.system.entry.js.map +0 -1
  395. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js +0 -14
  396. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.br +0 -0
  397. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.gz +0 -0
  398. package/dist/geotrek-rando-widget/p-9ccaf9e5.system.entry.js.map +0 -1
  399. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +0 -2
  400. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
  401. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
  402. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +0 -1
  403. package/dist/geotrek-rando-widget/p-d2c035bc.system.js +0 -3
  404. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
  405. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
  406. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.map +0 -1
  407. package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.br +0 -0
  408. package/dist/geotrek-rando-widget/p-e786bfac.system.entry.js.gz +0 -0
  409. package/dist/geotrek-rando-widget/p-f5b24b94.js +0 -2
  410. package/dist/geotrek-rando-widget/p-f5b24b94.js.br +0 -0
  411. package/dist/geotrek-rando-widget/p-f5b24b94.js.gz +0 -0
  412. package/dist/geotrek-rando-widget/p-f5b24b94.js.map +0 -1
  413. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js +0 -2
  414. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.br +0 -0
  415. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.gz +0 -0
  416. package/dist/geotrek-rando-widget/p-f6cd84f4.system.js.map +0 -1
  417. package/dist/geotrek-rando-widget/p-fc06af41.entry.js +0 -14
  418. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.br +0 -0
  419. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.gz +0 -0
  420. package/dist/geotrek-rando-widget/p-fc06af41.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"file":"grw-information-desk.grw-poi.grw-sensitive-area-detail.grw-touristic-content-card.grw-touristic-event-card.grw-trek-card.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,ohEAAohE;;MCUriE,wBAAwB;;;;mCAGA,IAAI;gDACS,KAAK;;;EAGrD,gBAAgB;IACd,IAAI,IAAI,CAAC,cA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MACpBA;;MAEE,WAAW,EAAC,WAAW,EACvB,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;MACzB,CACH,EACA,MAAA,IAAI,CAAC,KAAK;SAAE,KAAK,CACd,EACNA,iBAAK,KAAK,EAAC,qBAAqB,IAC7B,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,SAAS,MACvBA;;MAEE,WAAW,EAAC,WAAW,EACvB,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS;MAC5B,CACH,EACA,MAAA,IAAI,CAAC,QAAQ;SAAE,IAAI,CAChB,CACF,CACP,CACG,CACF,CACF,CACP,CACI,EACP;GACH;;;;;;;;;;;","names":["h","Host","translate","state","Swiper","Navigation","Pagination","Keyboard","getAssetPath","index","onChange","reset","formatDuration","formatLength","formatAscent"],"sources":["./src/components/grw-information-desk/grw-information-desk.scss?tag=grw-information-desk&encapsulation=shadow","./src/components/grw-information-desk/grw-information-desk.tsx","./src/components/grw-poi-detail/grw-poi.scss?tag=grw-poi&encapsulation=shadow","./src/components/grw-poi-detail/grw-poi.tsx","./src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.scss?tag=grw-sensitive-area-detail&encapsulation=shadow","./src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.tsx","./src/components/grw-touristic-content-card/grw-touristic-content-card.scss?tag=grw-touristic-content-card&encapsulation=shadow","./src/components/grw-touristic-content-card/grw-touristic-content-card.tsx","./src/components/grw-touristic-event-card/grw-touristic-event-card.scss?tag=grw-touristic-event-card&encapsulation=shadow","./src/components/grw-touristic-event-card/grw-touristic-event-card.tsx","./src/components/grw-trek-card/grw-trek-card.scss?tag=grw-trek-card&encapsulation=shadow","./src/components/grw-trek-card/grw-trek-card.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.information-desk-img {\n position: relative;\n img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n}\n\n.information-desk-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.information-desk-name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n}\n\n.information-desk-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.information-desk-description-short {\n font-size: 14px;\n line-height: 20px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-information-desk-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n}\n\n.phone-container,\n.mail-container,\n.link-container {\n display: flex;\n align-items: center;\n span {\n font-size: 16px;\n margin-right: 8px;\n }\n}\n\n.center-on-map-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 4px 8px;\n box-shadow: var(--elevation-1);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n margin: 12px 0px;\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n}\n","import { Component, Host, h, Prop, State, Event, EventEmitter } from '@stencil/core';\nimport state from 'store/store';\nimport { translate } from 'i18n/i18n';\nimport { InformationDesk } from 'types/types';\n\n@Component({\n tag: 'grw-information-desk',\n styleUrl: 'grw-information-desk.scss',\n shadow: true,\n})\nexport class GrwInformationDeskDetail {\n descriptionRef?: HTMLDivElement;\n @Event() centerOnMap: EventEmitter<{ latitude: number; longitude: number }>;\n @State() displayShortDescription = true;\n @State() showInformationDeskDescriptionButton = false;\n @Prop() informationDesk: InformationDesk;\n\n componentDidLoad() {\n if (this.descriptionRef) {\n this.showInformationDeskDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n }\n\n handleInformationDeskDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleCenterOnMap() {\n this.centerOnMap.emit({ latitude: this.informationDesk.latitude, longitude: this.informationDesk.longitude });\n }\n\n render() {\n return (\n <Host>\n {this.informationDesk.photo_url && (\n <div class=\"information-desk-img\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={this.informationDesk.photo_url}\n loading=\"lazy\"\n />\n </div>\n )}\n <div class=\"information-desk-sub-container\">\n {this.informationDesk.name && <div class=\"information-desk-name\">{this.informationDesk.name}</div>}\n {this.informationDesk.latitude && this.informationDesk.longitude && (\n <button class=\"center-on-map-button\" onClick={() => this.handleCenterOnMap()}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n location_searching\n </span>\n {translate[state.language].centerOnMap}\n </button>\n )}\n {(this.informationDesk.postal_code || this.informationDesk.municipality || this.informationDesk.street) && (\n <div>\n {this.informationDesk.postal_code && this.informationDesk.postal_code}\n {this.informationDesk.municipality && ` ${this.informationDesk.municipality}`}\n {this.informationDesk.street && ` ${this.informationDesk.street}`}\n </div>\n )}\n {this.informationDesk.phone && (\n <div class=\"phone-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n call\n </span>\n <a href={`tel:${this.informationDesk.phone}`}>{this.informationDesk.phone}</a>\n </div>\n )}\n {this.informationDesk.email && (\n <div class=\"mail-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n mail\n </span>\n <a href={`mailto:${this.informationDesk.email}`}>{this.informationDesk.email}</a>\n </div>\n )}\n {this.informationDesk.website && (\n <div class=\"link-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n link\n </span>\n <a href={`${this.informationDesk.website}`}>{this.informationDesk.website}</a>\n </div>\n )}\n {this.informationDesk.description && (\n <div class=\"information-desk-description-container\">\n <div\n class={this.displayShortDescription ? 'information-desk-description-short' : 'information-desk-description'}\n innerHTML={this.informationDesk.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n {false && (\n <div class=\"handle-information-desk-description\" onClick={() => this.handleInformationDeskDescription()}>\n {this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess}\n </div>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.poi-type-img-container {\n position: relative;\n .poi-img,\n .default-poi-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .poi-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .poi-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.poi-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.poi-name {\n font-size: 16px;\n line-height: 24px;\n}\n\n.poi-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.poi-description-short {\n font-size: 14px;\n line-height: 20px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-poi-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n}\n","import { Component, Host, h, Prop, State, Build, getAssetPath } from '@stencil/core';\nimport Swiper, { Navigation, Pagination, Keyboard } from 'swiper';\nimport state from 'store/store';\nimport { Poi } from 'types/types';\nimport { translate } from 'i18n/i18n';\n\n@Component({\n tag: 'grw-poi',\n styleUrl: 'grw-poi.scss',\n shadow: true,\n})\nexport class GrwPoiDetail {\n swiperPoi?: Swiper;\n swiperPoiRef?: HTMLDivElement;\n prevElPoiRef?: HTMLDivElement;\n nextElPoiRef?: HTMLDivElement;\n paginationElPoiRef?: HTMLDivElement;\n descriptionRef?: HTMLDivElement;\n\n @Prop() poi: Poi;\n @State() displayShortDescription = true;\n @State() showPoiDescriptionButton = false;\n @State() displayFullscreen = false;\n\n componentDidLoad() {\n this.swiperPoi = new Swiper(this.swiperPoiRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElPoiRef,\n nextEl: this.nextElPoiRef,\n },\n pagination: { el: this.paginationElPoiRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperPoiRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperPoi.keyboard.enable();\n } else {\n this.swiperPoi.keyboard.disable();\n }\n };\n this.showPoiDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n\n handlePoiDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleFullscreen() {\n if (this.poi.attachments && this.poi.attachments[0] && this.poi.attachments[0].url) {\n this.swiperPoiRef.requestFullscreen();\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n return (\n <Host>\n <div class=\"poi-type-img-container\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"poi-type\"\n src={`${state.poiTypes.find(poiType => poiType.id === this.poi.type)?.pictogram}`}\n />\n <div class=\"swiper\" ref={el => (this.swiperPoiRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.poi.attachments.length > 0 ? (\n this.poi.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`poi-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-poi-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElPoiRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElPoiRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElPoiRef = el)}></div>\n </div>\n </div>\n <div class=\"poi-sub-container\">\n <div class=\"poi-name\">{this.poi.name}</div>\n <div class={this.displayShortDescription ? 'poi-description-short' : 'poi-description'} innerHTML={this.poi.description} ref={el => (this.descriptionRef = el)}></div>\n {this.showPoiDescriptionButton && (\n <div class=\"handle-poi-description\" onClick={() => this.handlePoiDescription()}>\n {this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: flex;\n flex-direction: column;\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.sensitive-area-title-container {\n display: flex;\n align-items: center;\n .sensitive-area-color-container {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n border: 3px solid var(--color-sensitive-area);\n position: relative;\n &:before {\n content: '';\n width: 20px;\n height: 20px;\n background-color: var(--color-sensitive-area);\n opacity: 0.2;\n position: absolute;\n }\n }\n .sensitive-area-title {\n font-size: 20px;\n line-height: 28px;\n padding: 12px 0px;\n font-weight: 600;\n }\n}\n\n.sensitive-area-description {\n font-size: 16px;\n line-height: 24px;\n p:first-child {\n margin-top: 0;\n }\n}\n\n.sensitive-area-period-container,\n.sensitive-area-practice-container,\n.sensitive-area-contact-container {\n .sensitive-area-period-title,\n .sensitive-area-practice-title,\n .sensitive-area-contact-title {\n font-size: 18px;\n line-height: 24px;\n padding: 12px 0px;\n font-weight: 600;\n }\n .sensitive-area-period-values,\n .sensitive-area-practice-values {\n display: flex;\n flex-wrap: wrap;\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\nimport state from 'store/store';\nimport { SensitiveArea } from 'types/types';\n\n@Component({\n tag: 'grw-sensitive-area-detail',\n styleUrl: 'grw-sensitive-area-detail.scss',\n shadow: true,\n})\nexport class GrwSensitiveAreaDetail {\n @Prop() sensitiveArea: SensitiveArea;\n\n render() {\n return (\n <Host>\n <div class=\"sensitive-area-title-container\">\n <div class=\"sensitive-area-color-container\"></div>\n <div class=\"sensitive-area-title\">{this.sensitiveArea.name}</div>\n </div>\n\n <div class=\"sensitive-area-description\" innerHTML={this.sensitiveArea.description}></div>\n {this.sensitiveArea.practices && this.sensitiveArea.practices.length > 0 && (\n <div class=\"sensitive-area-practice-container\">\n <div class=\"sensitive-area-practice-title\">Domaines d'activités concernés</div>\n <div class=\"sensitive-area-practice-values\">\n {this.sensitiveArea.practices.map((sensitiveAreaPractice, index) => {\n const practice = state.practices.find(statePractice => statePractice.id === sensitiveAreaPractice);\n if (practice) {\n return <div innerHTML={`${practice.name.toUpperCase()}${index + 1 !== this.sensitiveArea.practices.length ? ' -&nbsp;' : ''}`}></div>;\n }\n })}\n </div>\n </div>\n )}\n {this.sensitiveArea.period && this.sensitiveArea.period.length > 0 && (\n <div class=\"sensitive-area-period-container\">\n <div class=\"sensitive-area-period-title\">Périodes de sensibilité</div>\n <div class=\"sensitive-area-period-values\">\n {this.sensitiveArea.period.map((month, index) => {\n if (month) {\n return (\n <div\n innerHTML={`${new Date(0, index + 1, 0).toLocaleDateString('fr', { month: 'long' }).toUpperCase()}${\n this.sensitiveArea.period.slice(index + 1).find(month => month) ? ' -&nbsp;' : ''\n }`}\n ></div>\n );\n }\n })}\n </div>\n </div>\n )}\n <div class=\"sensitive-area-contact-container\">\n <div class=\"sensitive-area-contact-title\">Contact</div>\n <div innerHTML={this.sensitiveArea.contact} class=\"sensitive-area-contact-value\"></div>\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-content-type-img-container {\n position: relative;\n .touristic-content-img,\n .default-touristic-content-img {\n width: 100%;\n height: 100%;\n max-height: 150px;\n object-fit: cover;\n }\n .touristic-content-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-content-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-content-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-content-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-content-name {\n font-size: 16px;\n line-height: 24px;\n }\n}\n\n.touristic-content-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-content-card-container,\n.touristic-content-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .image {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-content-card-container {\n width: 100%;\n max-width: 350px;\n .image {\n width: 100%;\n max-height: 200px;\n }\n}\n\n.touristic-content-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .image {\n width: 250px;\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-event-img,\n .default-touristic-event-img {\n max-height: 200px;\n }\n}\n\n.selected-touristic-content-card {\n box-shadow: var(--elevation-2);\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { TouristicContent } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-card',\n styleUrl: 'grw-touristic-content-card.scss',\n shadow: true,\n})\nexport class GrwTouristicContentCard {\n @Event() touristicContentCardPress: EventEmitter<number>;\n swiperTouristicContent?: Swiper;\n swiperTouristicContentRef?: HTMLDivElement;\n prevElTouristicContentRef?: HTMLDivElement;\n nextElTouristicContentRef?: HTMLDivElement;\n paginationElTouristicContentRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicContent: TouristicContent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicContentMouseOver: EventEmitter<number>;\n @Event() cardTouristicContentMouseLeave: EventEmitter;\n\n componentDidLoad() {\n if (this.swiperTouristicContentRef) {\n this.swiperTouristicContent = new Swiper(this.swiperTouristicContentRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicContentRef,\n nextEl: this.nextElTouristicContentRef,\n },\n pagination: { el: this.paginationElTouristicContentRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperTouristicContentRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperTouristicContent.keyboard.enable();\n } else {\n this.swiperTouristicContent.keyboard.disable();\n }\n };\n }\n }\n\n handleFullscreen() {\n if (this.touristicContent.attachments && this.touristicContent.attachments[0] && this.touristicContent.attachments[0].url) {\n this.swiperTouristicContentRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicContentMouseOver.emit(this.touristicContent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicContentMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory = state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === this.touristicContent.category);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n class={\n this.isLargeView\n ? `touristic-content-card-large-view-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n : `touristic-content-card-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicContentCardPress.emit(this.touristicContent.id);\n }\n }}\n >\n <div class=\"touristic-content-type-img-container\">\n {this.isInsideHorizontalList ? (\n <div class=\"swiper\" ref={el => (this.swiperTouristicContentRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`touristic-content-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-touristic-content-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElTouristicContentRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElTouristicContentRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElTouristicContentRef = el)}></div>\n </div>\n ) : this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n ) : (\n <div></div>\n )}\n </div>\n <div class=\"touristic-content-sub-container\">\n <div class=\"touristic-content-category-container\">\n {touristicContentCategory && touristicContentCategory.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={touristicContentCategory.pictogram}\n />\n )}\n <div class=\"touristic-content-category-name\">{touristicContentCategory.label}</div>\n </div>\n <div class=\"touristic-content-name\">{this.touristicContent.name}</div>\n </div>\n {this.isInsideHorizontalList && (\n <div class=\"touristic-content-more-detail-container\">\n <button class=\"more-details-button\" onClick={() => this.touristicContentCardPress.emit(this.touristicContent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-event-type-img-container {\n position: relative;\n .touristic-event-img,\n .default-touristic-event-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .touristic-event-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-event-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-event-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-event-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-event-type-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-event-type-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-event-name {\n font-size: 16px;\n line-height: 24px;\n }\n}\n\n.touristic-event-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-event-card-container,\n.touristic-event-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .image {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-event-card-container {\n width: 100%;\n max-width: 350px;\n .image {\n width: 100%;\n max-height: 200px;\n }\n}\n\n.touristic-event-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .image {\n width: 250px;\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n}\n\n.selected-touristic-event-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-event-date-container {\n margin-top: 12px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { TouristicEvent } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-event-card',\n styleUrl: 'grw-touristic-event-card.scss',\n shadow: true,\n})\nexport class GrwTouristicEvent {\n @Event() touristicEventCardPress: EventEmitter<number>;\n swiperTouristicEvent?: Swiper;\n swiperTouristicEventRef?: HTMLDivElement;\n prevElTouristicEventRef?: HTMLDivElement;\n nextElTouristicEventRef?: HTMLDivElement;\n paginationElTouristicEventRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicEvent: TouristicEvent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicEventMouseOver: EventEmitter<number>;\n @Event() cardTouristicEventMouseLeave: EventEmitter;\n\n componentDidLoad() {\n if (this.swiperTouristicEventRef) {\n this.swiperTouristicEvent = new Swiper(this.swiperTouristicEventRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicEventRef,\n nextEl: this.nextElTouristicEventRef,\n },\n pagination: { el: this.paginationElTouristicEventRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperTouristicEventRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperTouristicEvent.keyboard.enable();\n } else {\n this.swiperTouristicEvent.keyboard.disable();\n }\n };\n }\n }\n\n handleFullscreen() {\n if (this.touristicEvent.attachments && this.touristicEvent.attachments[0] && this.touristicEvent.attachments[0].url) {\n this.swiperTouristicEventRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicEventMouseOver.emit(this.touristicEvent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicEventMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicEventType = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === this.touristicEvent.type);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n class={\n this.isLargeView\n ? `touristic-event-card-large-view-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n : `touristic-event-card-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicEventCardPress.emit(this.touristicEvent.id);\n }\n }}\n >\n <div class=\"touristic-event-type-img-container\">\n {this.isInsideHorizontalList ? (\n <div class=\"swiper\" ref={el => (this.swiperTouristicEventRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.touristicEvent.attachments.length > 0 ? (\n this.touristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`touristic-event-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-touristic-event-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElTouristicEventRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElTouristicEventRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElTouristicEventRef = el)}></div>\n </div>\n ) : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n ) : (\n <div></div>\n )}\n </div>\n <div class=\"touristic-event-sub-container\">\n <div class=\"touristic-event-type-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={touristicEventType.pictogram}\n />\n )}\n <div class=\"touristic-event-type-name\">{touristicEventType.type}</div>\n </div>\n <div class=\"touristic-event-name\">{this.touristicEvent.name}</div>\n {(this.touristicEvent.begin_date || this.touristicEvent.end_date) && (\n <div class=\"touristic-event-date-container\">\n {this.touristicEvent.begin_date && <div class=\"touristic-event-date\">Date de début : {this.touristicEvent.begin_date}</div>}\n {this.touristicEvent.end_date && <div class=\"touristic-event-date\">Date de fin : {this.touristicEvent.end_date}</div>}\n </div>\n )}\n </div>\n\n {this.isInsideHorizontalList && (\n <div class=\"touristic-event-more-detail-container\">\n <button class=\"more-details-button\" onClick={() => this.touristicEventCardPress.emit(this.touristicEvent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n",".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n.trek-card-container,\n.trek-card-large-view-container {\n cursor: pointer;\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n .image {\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n .sub-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 8px 16px;\n .name {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n margin-bottom: 8px;\n }\n .departure {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n margin-bottom: 4px;\n }\n .themes-container {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n .theme {\n background-color: var(--color-secondary-container);\n color: var(--color-on-secondary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n margin: 0px 8px 8px 0px;\n box-shadow: var(--elevation-0);\n border: 1px solid var(--color-outline);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n text-wrap: nowrap;\n }\n }\n .icons-labels-container {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n color: var(--color-on-surface);\n font-size: 14px;\n line-height: 20px;\n font-weight: 500;\n .row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n .icon-label {\n &:nth-child(2) {\n margin: 0px 4px;\n }\n display: flex;\n align-items: center;\n width: 50%;\n img,\n span {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n }\n }\n .practice {\n img {\n background-color: var(--color-primary-app);\n }\n }\n }\n }\n }\n}\n\n.selected-trek-card {\n box-shadow: var(--elevation-2);\n}\n\n.trek-card-container {\n width: 100%;\n max-width: 350px;\n .image {\n width: 100%;\n max-height: 200px;\n }\n}\n\n.trek-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .image {\n width: 250px;\n }\n}\n\n.trek-step-card {\n width: auto;\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, State, Listen } from '@stencil/core';\nimport state, { onChange, reset } from 'store/store';\nimport { City, Difficulty, Practice, Route, Themes, Trek } from 'types/types';\nimport { formatDuration, formatLength, formatAscent } from 'utils/utils';\n\n@Component({\n tag: 'grw-trek-card',\n styleUrl: 'grw-trek-card.scss',\n shadow: true,\n})\nexport class GrwTrekCard {\n @Event() trekCardPress: EventEmitter<number>;\n @State() currentTrek: Trek;\n @State() difficulty: Difficulty;\n @State() route: Route;\n @State() practice: Practice;\n @State() themes: Themes;\n @State() departureCity: City;\n @Prop() trek: Trek;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6b0030';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() isLargeView = false;\n @Prop() resetStoreOnDisconnected = true;\n @Prop() isStep: false;\n\n @Event() cardTrekMouseOver: EventEmitter<number>;\n @Event() cardTrekMouseLeave: EventEmitter;\n\n connectedCallback() {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty);\n this.route = state.routes.find(route => route.id === this.currentTrek.route);\n this.practice = state.practices.find(practice => practice.id === this.currentTrek.practice);\n this.themes = state.themes.filter(theme => this.currentTrek.themes.includes(theme.id));\n this.departureCity = state.cities.find(city => city.id === this.currentTrek.departure_city);\n }\n onChange('currentTrek', () => {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = this.currentTrek.difficulty && state.difficulties ? state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty) : null;\n this.route = this.currentTrek.route && state.routes ? state.routes.find(route => route.id === this.currentTrek.route) : null;\n this.practice = this.currentTrek.practice && state.practices ? state.practices.find(practice => practice.id === this.currentTrek.practice) : null;\n this.themes = this.currentTrek.themes && state.themes ? state.themes.filter(theme => this.currentTrek.themes.includes(theme.id)) : null;\n this.departureCity = this.currentTrek.departure_city && state.cities ? state.cities.find(city => city.id === this.currentTrek.departure_city) : null;\n }\n });\n }\n\n disconnectedCallback() {\n if (this.resetStoreOnDisconnected) {\n reset();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTrekMouseOver.emit(this.currentTrek.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTrekMouseLeave.emit();\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-surface': this.colorOnSurface,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n {this.currentTrek && (\n <div\n class={\n this.isStep\n ? `trek-card-container trek-step-card${state.selectedStepId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n : this.isLargeView\n ? `trek-card-large-view-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n : `trek-card-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n }\n onClick={() => this.trekCardPress.emit(this.currentTrek.id)}\n >\n {this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 0 && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n )}\n <div class=\"sub-container\">\n {this.departureCity && <div class=\"departure\">{this.departureCity.name}</div>}\n <div class=\"name\">{this.currentTrek?.name}</div>\n {!this.isStep && this.themes && (\n <div class=\"themes-container\">\n {this.themes.map(theme => (\n <div class=\"theme\">{theme.label}</div>\n ))}\n </div>\n )}\n <div class=\"icons-labels-container\">\n <div class=\"row\">\n <div class=\"icon-label difficulty\">\n {this.difficulty?.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={this.difficulty.pictogram}\n />\n )}\n {this.difficulty?.label}\n </div>\n <div class=\"icon-label duration\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n timelapse\n </span>\n {formatDuration(this.currentTrek.duration)}\n </div>\n </div>\n <div class=\"row\">\n <div class=\"icon-label length\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n open_in_full\n </span>\n {formatLength(this.currentTrek.length_2d)}\n </div>\n <div class=\"icon-label ascent\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n moving\n </span>\n {formatAscent(this.currentTrek.ascent)}\n </div>\n </div>\n {!this.isStep && (\n <div class=\"row\">\n <div class=\"icon-label route\">\n {this.route?.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={this.route.pictogram}\n />\n )}\n {this.route?.route}\n </div>\n <div class=\"icon-label practice\">\n {this.practice?.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={this.practice.pictogram}\n />\n )}\n {this.practice?.name}\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"grw-information-desk.grw-poi.grw-sensitive-area-detail.grw-touristic-content-card.grw-touristic-event-card.grw-trek-card.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,ohEAAohE;;MCUriE,wBAAwB;;;;mCAGA,IAAI;gDACS,KAAK;;;EAGrD,gBAAgB;IACd,IAAI,IAAI,CAAC,cAAc,EAAE;MACvB,IAAI,CAAC,oCAAoC,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC;KACjH;GACF;EAED,gCAAgC;IAC9B,IAAI,CAAC,uBAAuB,GAAG,CAAC,IAAI,CAAC,uBAAu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,CAAC,QAAQ,CAAC,CACtC,EACNX,iBAAK,KAAK,EAAC,mBAAmB,IAE5BA,kBAAM,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,iDAAiD,mBAExE,EACNY,kBAAY,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CACrC,EACNZ,iBAAK,KAAK,EAAC,mBAAmB,IAE5BA,kBAAM,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,iDAAiD,aAExE,EACNa,kBAAY,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAClC,EACL,CAAC,IAAI,CAAC,MAAM,KACXb,QAACc,cAAQ,QACPd,iBAAK,KAAK,EAAC,kBAAkB,IAC1B,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,SAAS,MACpBA;;MAEE,WAAW,EAAC,WAAW,EACvB,KAAK,EAAC,MAAM,EACZ,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;MACzB,CACH,EACA,MAAA,IAAI,CAAC,KAAK;SAAE,KAAK,CACd,EACNA,iBAAK,KAAK,EAAC,qBAAqB,IAC7B,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,SAAS,MACvBA;;MAEE,WAAW,EAAC,WAAW,EACvB,KAAK,EAAC,MAAM,EACZ,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS;MAC5B,CACH,EACA,MAAA,IAAI,CAAC,QAAQ;SAAE,IAAI,CAChB,CACG,CACZ,CACG,CACF,CACF,CACP,CACI,EACP;GACH;;;;;;;;;;;","names":["h","Host","translate","state","Swiper","Navigation","Pagination","Keyboard","getAssetPath","index","onChange","formatDuration","formatLength","formatAscent","Fragment"],"sources":["./src/components/grw-information-desk/grw-information-desk.scss?tag=grw-information-desk&encapsulation=shadow","./src/components/grw-information-desk/grw-information-desk.tsx","./src/components/grw-poi-detail/grw-poi.scss?tag=grw-poi&encapsulation=shadow","./src/components/grw-poi-detail/grw-poi.tsx","./src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.scss?tag=grw-sensitive-area-detail&encapsulation=shadow","./src/components/grw-sensitive-area-detail/grw-sensitive-area-detail.tsx","./src/components/grw-touristic-content-card/grw-touristic-content-card.scss?tag=grw-touristic-content-card&encapsulation=shadow","./src/components/grw-touristic-content-card/grw-touristic-content-card.tsx","./src/components/grw-touristic-event-card/grw-touristic-event-card.scss?tag=grw-touristic-event-card&encapsulation=shadow","./src/components/grw-touristic-event-card/grw-touristic-event-card.tsx","./src/components/grw-trek-card/grw-trek-card.scss?tag=grw-trek-card&encapsulation=shadow","./src/components/grw-trek-card/grw-trek-card.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.information-desk-img {\n position: relative;\n img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n}\n\n.information-desk-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.information-desk-name {\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n}\n\n.information-desk-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.information-desk-description-short {\n font-size: 14px;\n line-height: 20px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-information-desk-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n}\n\n.phone-container,\n.mail-container,\n.link-container {\n display: flex;\n align-items: center;\n span {\n font-size: 16px;\n margin-right: 8px;\n }\n}\n\n.center-on-map-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 4px 8px;\n box-shadow: var(--elevation-1);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n margin: 12px 0px;\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n}\n","import { Component, Host, h, Prop, State, Event, EventEmitter } from '@stencil/core';\nimport state from 'store/store';\nimport { translate } from 'i18n/i18n';\nimport { InformationDesk } from 'types/types';\n\n@Component({\n tag: 'grw-information-desk',\n styleUrl: 'grw-information-desk.scss',\n shadow: true,\n})\nexport class GrwInformationDeskDetail {\n descriptionRef?: HTMLDivElement;\n @Event() centerOnMap: EventEmitter<{ latitude: number; longitude: number }>;\n @State() displayShortDescription = true;\n @State() showInformationDeskDescriptionButton = false;\n @Prop() informationDesk: InformationDesk;\n\n componentDidLoad() {\n if (this.descriptionRef) {\n this.showInformationDeskDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n }\n\n handleInformationDeskDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleCenterOnMap() {\n this.centerOnMap.emit({ latitude: this.informationDesk.latitude, longitude: this.informationDesk.longitude });\n }\n\n render() {\n return (\n <Host>\n {this.informationDesk.photo_url && (\n <div class=\"information-desk-img\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={this.informationDesk.photo_url}\n loading=\"lazy\"\n />\n </div>\n )}\n <div class=\"information-desk-sub-container\">\n {this.informationDesk.name && <div class=\"information-desk-name\">{this.informationDesk.name}</div>}\n {this.informationDesk.latitude && this.informationDesk.longitude && (\n <button class=\"center-on-map-button\" onClick={() => this.handleCenterOnMap()}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n location_searching\n </span>\n {translate[state.language].centerOnMap}\n </button>\n )}\n {(this.informationDesk.postal_code || this.informationDesk.municipality || this.informationDesk.street) && (\n <div>\n {this.informationDesk.postal_code && this.informationDesk.postal_code}\n {this.informationDesk.municipality && ` ${this.informationDesk.municipality}`}\n {this.informationDesk.street && ` ${this.informationDesk.street}`}\n </div>\n )}\n {this.informationDesk.phone && (\n <div class=\"phone-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n call\n </span>\n <a href={`tel:${this.informationDesk.phone}`}>{this.informationDesk.phone}</a>\n </div>\n )}\n {this.informationDesk.email && (\n <div class=\"mail-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n mail\n </span>\n <a href={`mailto:${this.informationDesk.email}`}>{this.informationDesk.email}</a>\n </div>\n )}\n {this.informationDesk.website && (\n <div class=\"link-container\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n link\n </span>\n <a href={`${this.informationDesk.website}`}>{this.informationDesk.website}</a>\n </div>\n )}\n {this.informationDesk.description && (\n <div class=\"information-desk-description-container\">\n <div\n class={this.displayShortDescription ? 'information-desk-description-short' : 'information-desk-description'}\n innerHTML={this.informationDesk.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n {false && (\n <div class=\"handle-information-desk-description\" onClick={() => this.handleInformationDeskDescription()}>\n {this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess}\n </div>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.poi-type-img-container {\n position: relative;\n .poi-img,\n .default-poi-img {\n width: 100%;\n height: 100%;\n height: 200px;\n object-fit: cover;\n }\n .poi-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .poi-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.poi-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.poi-name {\n font-size: 16px;\n line-height: 24px;\n height: 64px;\n}\n\n.poi-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.poi-description-short {\n font-size: 14px;\n line-height: 20px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-poi-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n height: 22px;\n}\n\np {\n margin: 0;\n}\n","import { Component, Host, h, Prop, State, Build, getAssetPath } from '@stencil/core';\nimport Swiper, { Navigation, Pagination, Keyboard } from 'swiper';\nimport state from 'store/store';\nimport { Poi } from 'types/types';\nimport { translate } from 'i18n/i18n';\n\n@Component({\n tag: 'grw-poi',\n styleUrl: 'grw-poi.scss',\n shadow: true,\n})\nexport class GrwPoiDetail {\n swiperPoi?: Swiper;\n swiperPoiRef?: HTMLDivElement;\n prevElPoiRef?: HTMLDivElement;\n nextElPoiRef?: HTMLDivElement;\n paginationElPoiRef?: HTMLDivElement;\n descriptionRef?: HTMLDivElement;\n\n @Prop() poi: Poi;\n @State() displayShortDescription = true;\n @State() showPoiDescriptionButton = false;\n @State() displayFullscreen = false;\n\n componentDidLoad() {\n this.swiperPoi = new Swiper(this.swiperPoiRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElPoiRef,\n nextEl: this.nextElPoiRef,\n },\n pagination: { el: this.paginationElPoiRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperPoiRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperPoi.keyboard.enable();\n } else {\n this.swiperPoi.keyboard.disable();\n }\n };\n this.showPoiDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n\n handlePoiDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleFullscreen() {\n if (this.poi.attachments && this.poi.attachments[0] && this.poi.attachments[0].url) {\n this.swiperPoiRef.requestFullscreen();\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n return (\n <Host>\n <div class=\"poi-type-img-container\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"poi-type\"\n src={`${state.poiTypes.find(poiType => poiType.id === this.poi.type)?.pictogram}`}\n />\n <div class=\"swiper\" ref={el => (this.swiperPoiRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.poi.attachments.length > 0 ? (\n this.poi.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`poi-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-poi-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElPoiRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElPoiRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElPoiRef = el)}></div>\n </div>\n </div>\n <div class=\"poi-sub-container\">\n <div class=\"poi-name\">{this.poi.name}</div>\n <div class={this.displayShortDescription ? 'poi-description-short' : 'poi-description'} innerHTML={this.poi.description} ref={el => (this.descriptionRef = el)}></div>\n <div class=\"handle-poi-description\" onClick={() => this.handlePoiDescription()}>\n {this.showPoiDescriptionButton && (this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess)}\n </div>\n </div>\n </Host>\n );\n }\n}\n",":host {\n display: flex;\n flex-direction: column;\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n}\n\n.sensitive-area-title-container {\n display: flex;\n align-items: center;\n .sensitive-area-color-container {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n border: 3px solid var(--color-sensitive-area);\n position: relative;\n &:before {\n content: '';\n width: 20px;\n height: 20px;\n background-color: var(--color-sensitive-area);\n opacity: 0.2;\n position: absolute;\n }\n }\n .sensitive-area-title {\n font-size: 20px;\n line-height: 28px;\n padding: 12px 0px;\n font-weight: 600;\n }\n}\n\n.sensitive-area-description {\n font-size: 16px;\n line-height: 24px;\n p:first-child {\n margin-top: 0;\n }\n}\n\n.sensitive-area-period-container,\n.sensitive-area-practice-container,\n.sensitive-area-contact-container {\n .sensitive-area-period-title,\n .sensitive-area-practice-title,\n .sensitive-area-contact-title {\n font-size: 18px;\n line-height: 24px;\n padding: 12px 0px;\n font-weight: 600;\n }\n .sensitive-area-period-values,\n .sensitive-area-practice-values {\n display: flex;\n flex-wrap: wrap;\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\nimport state from 'store/store';\nimport { SensitiveArea } from 'types/types';\n\n@Component({\n tag: 'grw-sensitive-area-detail',\n styleUrl: 'grw-sensitive-area-detail.scss',\n shadow: true,\n})\nexport class GrwSensitiveAreaDetail {\n @Prop() sensitiveArea: SensitiveArea;\n\n render() {\n return (\n <Host>\n <div class=\"sensitive-area-title-container\">\n <div class=\"sensitive-area-color-container\"></div>\n <div class=\"sensitive-area-title\">{this.sensitiveArea.name}</div>\n </div>\n\n <div class=\"sensitive-area-description\" innerHTML={this.sensitiveArea.description}></div>\n {this.sensitiveArea.practices && this.sensitiveArea.practices.length > 0 && (\n <div class=\"sensitive-area-practice-container\">\n <div class=\"sensitive-area-practice-title\">Domaines d'activités concernés</div>\n <div class=\"sensitive-area-practice-values\">\n {this.sensitiveArea.practices.map((sensitiveAreaPractice, index) => {\n const practice = state.practices.find(statePractice => statePractice.id === sensitiveAreaPractice);\n if (practice) {\n return <div innerHTML={`${practice.name.toUpperCase()}${index + 1 !== this.sensitiveArea.practices.length ? ' -&nbsp;' : ''}`}></div>;\n }\n })}\n </div>\n </div>\n )}\n {this.sensitiveArea.period && this.sensitiveArea.period.length > 0 && (\n <div class=\"sensitive-area-period-container\">\n <div class=\"sensitive-area-period-title\">Périodes de sensibilité</div>\n <div class=\"sensitive-area-period-values\">\n {this.sensitiveArea.period.map((month, index) => {\n if (month) {\n return (\n <div\n innerHTML={`${new Date(0, index + 1, 0).toLocaleDateString('fr', { month: 'long' }).toUpperCase()}${\n this.sensitiveArea.period.slice(index + 1).find(month => month) ? ' -&nbsp;' : ''\n }`}\n ></div>\n );\n }\n })}\n </div>\n </div>\n )}\n <div class=\"sensitive-area-contact-container\">\n <div class=\"sensitive-area-contact-title\">Contact</div>\n <div innerHTML={this.sensitiveArea.contact} class=\"sensitive-area-contact-value\"></div>\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-content-img-container {\n position: relative;\n height: 200px;\n .touristic-content-img,\n .default-touristic-content-img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .touristic-content-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-content-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-content-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-content-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-content-name {\n font-size: 16px;\n line-height: 24px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-content-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-content-card-container,\n.touristic-content-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .image {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-content-card-container {\n width: 100%;\n max-width: 350px;\n .image {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-content-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .image {\n width: 250px;\n height: 100%;\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-event-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-content-card {\n box-shadow: var(--elevation-2);\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { TouristicContent } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-card',\n styleUrl: 'grw-touristic-content-card.scss',\n shadow: true,\n})\nexport class GrwTouristicContentCard {\n @Event() touristicContentCardPress: EventEmitter<number>;\n swiperTouristicContent?: Swiper;\n swiperTouristicContentRef?: HTMLDivElement;\n prevElTouristicContentRef?: HTMLDivElement;\n nextElTouristicContentRef?: HTMLDivElement;\n paginationElTouristicContentRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicContent: TouristicContent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicContentMouseOver: EventEmitter<number>;\n @Event() cardTouristicContentMouseLeave: EventEmitter;\n\n componentDidLoad() {\n if (this.swiperTouristicContentRef) {\n this.swiperTouristicContent = new Swiper(this.swiperTouristicContentRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicContentRef,\n nextEl: this.nextElTouristicContentRef,\n },\n pagination: { el: this.paginationElTouristicContentRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperTouristicContentRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperTouristicContent.keyboard.enable();\n } else {\n this.swiperTouristicContent.keyboard.disable();\n }\n };\n }\n }\n\n handleFullscreen() {\n if (this.touristicContent.attachments && this.touristicContent.attachments[0] && this.touristicContent.attachments[0].url) {\n this.swiperTouristicContentRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicContentMouseOver.emit(this.touristicContent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicContentMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory = state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === this.touristicContent.category);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n class={\n this.isLargeView\n ? `touristic-content-card-large-view-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n : `touristic-content-card-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicContentCardPress.emit(this.touristicContent.id);\n }\n }}\n >\n <div class=\"touristic-content-img-container\">\n {this.isInsideHorizontalList ? (\n <div class=\"swiper\" ref={el => (this.swiperTouristicContentRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`touristic-content-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-touristic-content-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElTouristicContentRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElTouristicContentRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElTouristicContentRef = el)}></div>\n </div>\n ) : this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n ) : (\n <div></div>\n )}\n </div>\n <div class=\"touristic-content-sub-container\">\n <div class=\"touristic-content-category-container\">\n {touristicContentCategory && touristicContentCategory.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={touristicContentCategory.pictogram}\n />\n )}\n <div class=\"touristic-content-category-name\">{touristicContentCategory.label}</div>\n </div>\n <div class=\"touristic-content-name\">{this.touristicContent.name}</div>\n </div>\n {this.isInsideHorizontalList && (\n <div class=\"touristic-content-more-detail-container\">\n <button class=\"more-details-button\" onClick={() => this.touristicContentCardPress.emit(this.touristicContent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-event-img-container {\n position: relative;\n height: 200px;\n .touristic-event-img,\n .default-touristic-event-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .touristic-event-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-event-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-event-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-event-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-event-type-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-event-type-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-event-name {\n font-size: 16px;\n line-height: 24px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-event-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-event-card-container,\n.touristic-event-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .image {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-event-card-container {\n width: 100%;\n max-width: 350px;\n .image {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-event-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .image {\n width: 250px;\n height: 100%;\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-content-img,\n .default-touristic-content-img {\n height: 100%;\n }\n}\n\n.selected-touristic-event-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-event-date-container {\n margin-top: 12px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { TouristicEvent } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-event-card',\n styleUrl: 'grw-touristic-event-card.scss',\n shadow: true,\n})\nexport class GrwTouristicEvent {\n @Event() touristicEventCardPress: EventEmitter<number>;\n swiperTouristicEvent?: Swiper;\n swiperTouristicEventRef?: HTMLDivElement;\n prevElTouristicEventRef?: HTMLDivElement;\n nextElTouristicEventRef?: HTMLDivElement;\n paginationElTouristicEventRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicEvent: TouristicEvent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicEventMouseOver: EventEmitter<number>;\n @Event() cardTouristicEventMouseLeave: EventEmitter;\n\n componentDidLoad() {\n if (this.swiperTouristicEventRef) {\n this.swiperTouristicEvent = new Swiper(this.swiperTouristicEventRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicEventRef,\n nextEl: this.nextElTouristicEventRef,\n },\n pagination: { el: this.paginationElTouristicEventRef },\n allowTouchMove: false,\n keyboard: false,\n });\n this.swiperTouristicEventRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen;\n if (this.displayFullscreen) {\n this.swiperTouristicEvent.keyboard.enable();\n } else {\n this.swiperTouristicEvent.keyboard.disable();\n }\n };\n }\n }\n\n handleFullscreen() {\n if (this.touristicEvent.attachments && this.touristicEvent.attachments[0] && this.touristicEvent.attachments[0].url) {\n this.swiperTouristicEventRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicEventMouseOver.emit(this.touristicEvent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicEventMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicEventType = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === this.touristicEvent.type);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n }}\n >\n <div\n class={\n this.isLargeView\n ? `touristic-event-card-large-view-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n : `touristic-event-card-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.touristicEventCardPress.emit(this.touristicEvent.id);\n }\n }}\n >\n <div class=\"touristic-event-img-container\">\n {this.isInsideHorizontalList ? (\n <div class=\"swiper\" ref={el => (this.swiperTouristicEventRef = el)}>\n <div class=\"swiper-wrapper\">\n {this.touristicEvent.attachments.length > 0 ? (\n this.touristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div class=\"swiper-slide\">\n <img\n class={`touristic-event-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail}\n loading=\"lazy\"\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div class=\"swiper-slide\">\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"default-touristic-event-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n </div>\n )}\n </div>\n <div class=\"swiper-pagination\" ref={el => (this.paginationElTouristicEventRef = el)}></div>\n <div class=\"swiper-button-prev\" ref={el => (this.prevElTouristicEventRef = el)}></div>\n <div class=\"swiper-button-next\" ref={el => (this.nextElTouristicEventRef = el)}></div>\n </div>\n ) : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n ) : (\n <div></div>\n )}\n </div>\n <div class=\"touristic-event-sub-container\">\n <div class=\"touristic-event-type-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n src={touristicEventType.pictogram}\n />\n )}\n <div class=\"touristic-event-type-name\">{touristicEventType.type}</div>\n </div>\n <div class=\"touristic-event-name\">{this.touristicEvent.name}</div>\n {(this.touristicEvent.begin_date || this.touristicEvent.end_date) && (\n <div class=\"touristic-event-date-container\">\n {this.touristicEvent.begin_date === this.touristicEvent.end_date && (\n <div class=\"touristic-event-date\">\n {translate[state.language].date} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.begin_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div class=\"touristic-event-date\">\n {translate[state.language].startDate} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.end_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div class=\"touristic-event-date\">\n {translate[state.language].endDate} : {this.touristicEvent.end_date}\n </div>\n )}\n </div>\n )}\n </div>\n\n {this.isInsideHorizontalList && (\n <div class=\"touristic-event-more-detail-container\">\n <button class=\"more-details-button\" onClick={() => this.touristicEventCardPress.emit(this.touristicEvent.id)}>\n Plus de détails\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n",".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\n.trek-card-container,\n.trek-card-large-view-container {\n cursor: pointer;\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n .image {\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n .default-trek-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .sub-container {\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 8px 16px;\n .name {\n color: var(--color-on-surface);\n font-size: 22px;\n line-height: 28px;\n font-weight: 400;\n margin-bottom: 8px;\n }\n .departure {\n color: var(--color-on-surface);\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n margin-bottom: 4px;\n }\n .themes-container {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n .theme {\n background-color: var(--color-secondary-container);\n color: var(--color-on-secondary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n margin: 0px 8px 8px 0px;\n box-shadow: var(--elevation-0);\n border: 1px solid var(--color-outline);\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n text-wrap: nowrap;\n }\n }\n .icons-labels-container {\n padding: 0px 0px 8px 0px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n gap: 16px;\n .icon-label {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n width: calc((100% / 2) - 16px);\n img,\n .icon {\n font-size: 24px;\n width: 24px;\n height: auto;\n color: var(--color-primary-app);\n margin-right: 8px;\n }\n .network {\n &:not(:last-child) {\n margin-right: 16px;\n }\n }\n .difficulty {\n text-overflow: ellipsis;\n overflow: hidden;\n }\n }\n .practice {\n img {\n background-color: var(--color-primary-app);\n }\n }\n }\n }\n}\n\n.selected-trek-card {\n box-shadow: var(--elevation-2);\n}\n\n.trek-card-container {\n width: 100%;\n max-width: 350px;\n .trek-img-container {\n height: 200px;\n .image {\n width: 100%;\n height: 100%;\n }\n }\n}\n\n.trek-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .trek-img-container {\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n .image {\n width: 250px;\n height: 200px;\n }\n }\n}\n\n.trek-step-card {\n width: auto;\n}\n\n.trek-card-container .sub-container .departure {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 56px;\n}\n\n.trek-card-container .sub-container .name {\n height: 56px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n}\n\n.is-current-step {\n background-color: var(--color-surface-variant);\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, State, Listen, Fragment, getAssetPath, Build } from '@stencil/core';\nimport state, { onChange } from 'store/store';\nimport { City, Difficulty, Practice, Route, Themes, Trek } from 'types/types';\nimport { formatDuration, formatLength, formatAscent } from 'utils/utils';\n\n@Component({\n tag: 'grw-trek-card',\n styleUrl: 'grw-trek-card.scss',\n shadow: true,\n})\nexport class GrwTrekCard {\n @Event() trekCardPress: EventEmitter<number>;\n @State() currentTrek: Trek;\n @State() difficulty: Difficulty;\n @State() route: Route;\n @State() practice: Practice;\n @State() themes: Themes;\n @State() departureCity: City;\n @Prop() trek: Trek;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6b0030';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() isLargeView = false;\n @Prop() isStep: false;\n\n @Event() cardTrekMouseOver: EventEmitter<number>;\n @Event() cardTrekMouseLeave: EventEmitter;\n\n connectedCallback() {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty);\n this.route = state.routes.find(route => route.id === this.currentTrek.route);\n this.practice = state.practices.find(practice => practice.id === this.currentTrek.practice);\n this.themes = state.themes.filter(theme => this.currentTrek.themes.includes(theme.id));\n this.departureCity = state.cities.find(city => city.id === this.currentTrek.departure_city);\n }\n onChange('currentTrek', () => {\n this.currentTrek = this.trek ? this.trek : state.currentTrek;\n if (this.currentTrek) {\n this.difficulty = this.currentTrek.difficulty && state.difficulties ? state.difficulties.find(difficulty => difficulty.id === this.currentTrek.difficulty) : null;\n this.route = this.currentTrek.route && state.routes ? state.routes.find(route => route.id === this.currentTrek.route) : null;\n this.practice = this.currentTrek.practice && state.practices ? state.practices.find(practice => practice.id === this.currentTrek.practice) : null;\n this.themes = this.currentTrek.themes && state.themes ? state.themes.filter(theme => this.currentTrek.themes.includes(theme.id)) : null;\n this.departureCity = this.currentTrek.departure_city && state.cities ? state.cities.find(city => city.id === this.currentTrek.departure_city) : null;\n }\n });\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTrekMouseOver.emit(this.currentTrek.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTrekMouseLeave.emit();\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-surface': this.colorOnSurface,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n {this.currentTrek && (\n <div\n class={\n this.isStep\n ? `trek-card-container trek-step-card${state.selectedStepId === this.currentTrek.id ? ' selected-trek-card' : ''} ${\n state.currentTrek.id === this.currentTrek.id ? 'is-current-step' : ''\n }`\n : this.isLargeView\n ? `trek-card-large-view-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n : `trek-card-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`\n }\n onClick={() => this.trekCardPress.emit(this.currentTrek.id)}\n >\n <div class=\"trek-img-container\">\n {this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image\"\n src={`${this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail}`}\n loading=\"lazy\"\n />\n ) : (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"image default-trek-img\"\n src={defaultImageSrc}\n loading=\"lazy\"\n />\n )}\n </div>\n <div class=\"sub-container\">\n {this.departureCity && <div class=\"departure\">{this.departureCity.name}</div>}\n <div class=\"name\">{this.currentTrek?.name}</div>\n {!this.isStep && this.themes && (\n <div class=\"themes-container\">\n {this.themes.map(theme => (\n <div class=\"theme\">{theme.label}</div>\n ))}\n </div>\n )}\n <div class=\"icons-labels-container\">\n {this.difficulty && (\n <div class=\"icon-label\">\n {this.difficulty.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"icon\"\n src={this.difficulty.pictogram}\n />\n )}\n <span class=\"difficulty\">{this.difficulty.label}</span>\n </div>\n )}\n <div class=\"icon-label duration\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined icon\">\n timelapse\n </span>\n {formatDuration(this.currentTrek.duration)}\n </div>\n <div class=\"icon-label length\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined icon\">\n open_in_full\n </span>\n {formatLength(this.currentTrek.length_2d)}\n </div>\n <div class=\"icon-label ascent\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined icon\">\n moving\n </span>\n {formatAscent(this.currentTrek.ascent)}\n </div>\n {!this.isStep && (\n <Fragment>\n <div class=\"icon-label route\">\n {this.route?.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"icon\"\n src={this.route.pictogram}\n />\n )}\n {this.route?.route}\n </div>\n <div class=\"icon-label practice\">\n {this.practice?.pictogram && (\n <img\n /* @ts-ignore */\n crossorigin=\"anonymous\"\n class=\"icon\"\n src={this.practice.pictogram}\n />\n )}\n {this.practice?.name}\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -33,7 +33,7 @@ const translate = {
33
33
  accessibilityCovering: 'Revêtement',
34
34
  accessibilityExposure: 'Exposition',
35
35
  accessibilityAdvices: 'Conseils',
36
- pois: (poisLength) => `Les ${poisLength} patrimoines à découvrir`,
36
+ pois: (poisLength) => (poisLength > 1 ? `Les ${poisLength} patrimoines à découvrir` : `${poisLength} patrimoine à découvrir`),
37
37
  touristicContents: (touristicContentsLength) => `Services à proximité (${touristicContentsLength})`,
38
38
  touristicEvents: (touristicEventsLength) => `Événements à proximité (${touristicEventsLength})`,
39
39
  sources: 'Sources',
@@ -98,6 +98,9 @@ const translate = {
98
98
  sensitiveAreasDescription: 'Le long de votre itinéraire, vous allez traverser des zones de sensibilité liées à la présence d’une espèce ou d’un milieu particulier. Dans ces zones, un comportement adapté permet de contribuer à leur préservation. Pour plus d’informations détaillées, des fiches spécifiques sont accessibles pour chaque zone.',
99
99
  emergencyNumber: 'Numéro de secours',
100
100
  learnMore: 'En savoir plus',
101
+ date: 'Date',
102
+ startDate: 'Date de début',
103
+ endDate: 'Date de fin',
101
104
  },
102
105
  en: {
103
106
  filter: 'Filter',
@@ -131,7 +134,7 @@ const translate = {
131
134
  accessibilityCovering: 'Covering',
132
135
  accessibilityExposure: 'Exposure',
133
136
  accessibilityAdvices: 'Advices',
134
- pois: (poisLength) => `${poisLength} points of interest`,
137
+ pois: (poisLength) => (poisLength > 1 ? `${poisLength} points of interest` : `${poisLength} point of interest`),
135
138
  touristicContents: (touristicContentsLength) => `Near services (${touristicContentsLength})`,
136
139
  touristicEvents: (touristicEventsLength) => `Near events (${touristicEventsLength})`,
137
140
  sources: 'Sources',
@@ -196,9 +199,12 @@ const translate = {
196
199
  sensitiveAreasDescription: 'Along your trek, you will go through sensitive areas related to the presence of a specific species or environment. In these areas, an appropriate behaviour allows to contribute to their preservation. For detailed information, specific forms are accessible for each area.',
197
200
  emergencyNumber: 'Emergency number',
198
201
  learnMore: 'Learn more',
202
+ date: 'Date',
203
+ startDate: 'Start date',
204
+ endDate: 'End date',
199
205
  },
200
206
  };
201
207
 
202
208
  exports.translate = translate;
203
209
 
204
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AE,IAAI;IACR,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,oBAAoB;IACvC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,OAAO;IACb,eAAe,EAAE,0BAA0B;IAC3C,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,yBAAyB,EACvB,gRAAgR;IAClR,eAAe,EAAE,kBAAkB;IACnC,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;GACpB;;;;;","names":[],"sources":["./src/i18n/i18n.ts"],"sourcesContent":["interface Translation {\n filter: string;\n practice: string;\n difficulty: string;\n duration: string;\n length: string;\n treks: string;\n trek: string;\n showList: string;\n showMap: string;\n showRoute: string;\n showDetails: string;\n download: string;\n downloads: string;\n description: string;\n departure: string;\n arrival: string;\n elevationProfile: string;\n roadAccessAndParking: string;\n transport: string;\n recommendations: string;\n recommendedParking: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n accessibility: string;\n accessibilityLevel: string;\n accessibilitySlope: string;\n accessibilityWidth: string;\n accessibilitySignage: string;\n accessibilityCovering: string;\n accessibilityExposure: string;\n accessibilityAdvices: string;\n pois: Function;\n touristicContents: Function;\n touristicEvents: Function;\n sources: string;\n city: string;\n crossedCities: string;\n placeholderCrossedCities: string;\n home: {\n segment: {\n treks: string;\n touristicContents: string;\n touristicEvents: string;\n };\n touristicContents: string;\n touristicContent: string;\n touristicEvents: string;\n touristicEvent: string;\n };\n options: {\n presentation: string;\n description: string;\n recommendations: string;\n environmentalSensitiveAreas: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n accessibility: string;\n };\n layers: {\n referencePoints: string;\n parking: string;\n sensitiveArea: string;\n informationPlaces: string;\n pois: string;\n steps: string;\n touristicContents: string;\n touristicEvents: string;\n };\n themes: string;\n placeholderThemes: string;\n placeholderPractices: string;\n routes: string;\n elevation: string;\n activities: string;\n districts: string;\n erase: string;\n ok: string;\n location: string;\n steps: string;\n usefulInformation: string;\n contact: string;\n email: string;\n website: string;\n category: string;\n services: string;\n type: string;\n placeholderType: string;\n centerOnMap: string;\n readMore: string;\n readLess: string;\n sensitiveAreasDescription: string;\n emergencyNumber: string;\n learnMore: string;\n date: string;\n startDate: string;\n endDate: string;\n}\n\ninterface AvailableTranslations {\n fr: Translation;\n en: Translation;\n}\n\nexport const translate: AvailableTranslations = {\n fr: {\n filter: 'Filtrer',\n practice: 'Pratique',\n difficulty: 'Difficulté',\n duration: 'Durée',\n length: 'Longueur',\n treks: 'itinéraires',\n trek: 'itinéraire',\n showList: 'Voir la liste',\n showMap: 'Voir la carte',\n showRoute: \"Voir l'itinéraire\",\n showDetails: 'Voir la fiche',\n download: 'Téléchargement',\n downloads: 'Téléchargements',\n description: 'Description',\n departure: 'Départ',\n arrival: 'Arrivée',\n elevationProfile: 'Profil altimétrique',\n roadAccessAndParking: 'Accès routier et parking',\n transport: 'Transport',\n recommendations: 'Recommandations',\n recommendedParking: 'Stationnement',\n environmentalSensitiveAreas: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n accessibility: 'Accessibilité',\n accessibilityLevel: \"Niveau d'accessibilité\",\n accessibilitySlope: 'Pente',\n accessibilityWidth: 'Largeur',\n accessibilitySignage: 'Signalétique',\n accessibilityCovering: 'Revêtement',\n accessibilityExposure: 'Exposition',\n accessibilityAdvices: 'Conseils',\n pois: (poisLength: number) => (poisLength > 1 ? `Les ${poisLength} patrimoines à découvrir` : `${poisLength} patrimoine à découvrir`),\n touristicContents: (touristicContentsLength: number) => `Services à proximité (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Événements à proximité (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'Commune',\n crossedCities: 'Communes',\n placeholderCrossedCities: 'Sélectionner une ou plusieurs communes',\n home: {\n segment: {\n treks: 'Itinéraires',\n touristicContents: 'Services',\n touristicEvents: 'Événements',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n touristicEvents: 'Événements',\n touristicEvent: 'Événement',\n },\n options: {\n presentation: 'Présentation',\n description: 'Description',\n recommendations: 'Recommandations',\n environmentalSensitiveAreas: 'Zones sensibles',\n informationPlaces: \"Lieux d'informations\",\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n accessibility: 'Accessibilité',\n },\n layers: {\n referencePoints: 'Points de référence',\n parking: 'Parking conseillé',\n sensitiveArea: 'Zones de sensibilité environnementale',\n informationPlaces: 'Lieux de renseignement',\n pois: 'Patrimoines',\n steps: 'Étapes',\n touristicContents: 'À proximité',\n touristicEvents: 'Événements',\n },\n themes: 'Thèmes',\n placeholderThemes: 'Sélectionner un ou plusieurs thèmes',\n placeholderPractices: 'Sélectionner une ou plusieurs pratiques',\n routes: 'Type de parcours',\n elevation: 'Denivelé positif',\n activities: 'Activités',\n districts: 'Secteurs',\n erase: 'EFFACER',\n ok: 'OK',\n location: 'Localisation',\n steps: 'étapes',\n usefulInformation: 'Informations pratiques',\n contact: 'Contact',\n email: 'Email',\n website: 'Site web',\n category: 'Catégorie',\n services: 'Services',\n type: 'Types',\n placeholderType: 'Sélectionner un ou plusieurs types',\n centerOnMap: 'Centrer sur la carte',\n readMore: 'Lire plus',\n readLess: 'Lire moins',\n sensitiveAreasDescription:\n 'Le long de votre itinéraire, vous allez traverser des zones de sensibilité liées à la présence d’une espèce ou d’un milieu particulier. Dans ces zones, un comportement adapté permet de contribuer à leur préservation. Pour plus d’informations détaillées, des fiches spécifiques sont accessibles pour chaque zone.',\n emergencyNumber: 'Numéro de secours',\n learnMore: 'En savoir plus',\n date: 'Date',\n startDate: 'Date de début',\n endDate: 'Date de fin',\n },\n en: {\n filter: 'Filter',\n practice: 'Practice',\n difficulty: 'Difficulty',\n duration: 'Duration',\n length: 'Length',\n treks: 'routes',\n trek: 'route',\n showList: 'Show the list',\n showMap: 'Show the map',\n showRoute: 'Show the route',\n showDetails: 'Show the details',\n download: 'Download',\n downloads: 'Downloads',\n description: 'Description',\n departure: 'Departure',\n arrival: 'Arrival',\n elevationProfile: 'Elevation profile',\n roadAccessAndParking: 'Road access and parking',\n transport: 'Transport',\n recommendations: 'Recommendations',\n recommendedParking: 'Parking',\n environmentalSensitiveAreas: 'Areas of environmental sensitivity',\n informationPlaces: 'Information places',\n accessibility: 'Accessibility',\n accessibilityLevel: 'Accessibility level',\n accessibilitySlope: 'Slope',\n accessibilityWidth: 'Width',\n accessibilitySignage: 'Signage',\n accessibilityCovering: 'Covering',\n accessibilityExposure: 'Exposure',\n accessibilityAdvices: 'Advices',\n pois: (poisLength: number) => (poisLength > 1 ? `${poisLength} points of interest` : `${poisLength} point of interest`),\n touristicContents: (touristicContentsLength: number) => `Near services (${touristicContentsLength})`,\n touristicEvents: (touristicEventsLength: number) => `Near events (${touristicEventsLength})`,\n sources: 'Sources',\n city: 'City',\n crossedCities: 'Cities',\n placeholderCrossedCities: 'Select one or more municipalities',\n home: {\n segment: {\n treks: 'Routes',\n touristicContents: 'Services',\n touristicEvents: 'Events',\n },\n touristicContents: 'Services',\n touristicContent: 'Service',\n touristicEvents: 'Events',\n touristicEvent: 'Event',\n },\n options: {\n presentation: 'Presentation',\n description: 'Description',\n recommendations: 'Recommendations',\n environmentalSensitiveAreas: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n accessibility: 'Accessibility',\n },\n layers: {\n referencePoints: 'Reference points',\n parking: 'Parking',\n sensitiveArea: 'Sensitive areas',\n informationPlaces: 'Information places',\n pois: 'Points of interest',\n steps: 'Steps',\n touristicContents: 'Near',\n touristicEvents: 'Events',\n },\n themes: 'Themes',\n placeholderThemes: 'Select one or more themes',\n placeholderPractices: 'Select one or more practices',\n routes: 'Type of course',\n elevation: 'Positive elevation',\n activities: 'Activities',\n districts: 'Districts',\n erase: 'ERASE',\n ok: 'OK',\n location: 'Location',\n usefulInformation: 'Useful information',\n steps: 'steps',\n contact: 'Contact',\n email: 'Email',\n website: 'Website',\n category: 'Category',\n services: 'Services',\n type: 'Types',\n placeholderType: 'Select one or more types',\n centerOnMap: 'Center on map',\n readMore: 'Read more',\n readLess: 'Read less',\n sensitiveAreasDescription:\n 'Along your trek, you will go through sensitive areas related to the presence of a specific species or environment. In these areas, an appropriate behaviour allows to contribute to their preservation. For detailed information, specific forms are accessible for each area.',\n emergencyNumber: 'Emergency number',\n learnMore: 'Learn more',\n date: 'Date',\n startDate: 'Start date',\n endDate: 'End date',\n },\n};\n"],"version":3}
@@ -143,6 +143,10 @@ const h = (nodeName, vnodeData, ...children) => {
143
143
  }
144
144
  }
145
145
  }
146
+ if (typeof nodeName === 'function') {
147
+ // nodeName is a functional component
148
+ return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
149
+ }
146
150
  const vnode = newVNode(nodeName, null);
147
151
  vnode.$attrs$ = vnodeData;
148
152
  if (vNodeChildren.length > 0) {
@@ -185,6 +189,59 @@ const Host = {};
185
189
  * @returns whether it's a Host node or not
186
190
  */
187
191
  const isHost = (node) => node && node.$tag$ === Host;
192
+ /**
193
+ * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
194
+ *
195
+ * Note that these functions convert from {@link d.VNode} to
196
+ * {@link d.ChildNode} to give functional component developers a friendly
197
+ * interface.
198
+ */
199
+ const vdomFnUtils = {
200
+ forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
201
+ map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
202
+ };
203
+ /**
204
+ * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
205
+ * friendlier public interface (hence, 'convertToPublic').
206
+ *
207
+ * @param node the virtual DOM node to convert
208
+ * @returns a converted child node
209
+ */
210
+ const convertToPublic = (node) => ({
211
+ vattrs: node.$attrs$,
212
+ vchildren: node.$children$,
213
+ vkey: node.$key$,
214
+ vname: node.$name$,
215
+ vtag: node.$tag$,
216
+ vtext: node.$text$,
217
+ });
218
+ /**
219
+ * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
220
+ * order to use the resulting object in the virtual DOM. The initial object was
221
+ * likely created as part of presenting a public API, so converting it back
222
+ * involved making it 'private' again (hence, `convertToPrivate`).
223
+ *
224
+ * @param node the child node to convert
225
+ * @returns a converted virtual DOM node
226
+ */
227
+ const convertToPrivate = (node) => {
228
+ if (typeof node.vtag === 'function') {
229
+ const vnodeData = Object.assign({}, node.vattrs);
230
+ if (node.vkey) {
231
+ vnodeData.key = node.vkey;
232
+ }
233
+ if (node.vname) {
234
+ vnodeData.name = node.vname;
235
+ }
236
+ return h(node.vtag, vnodeData, ...(node.vchildren || []));
237
+ }
238
+ const vnode = newVNode(node.vtag, node.vtext);
239
+ vnode.$attrs$ = node.vattrs;
240
+ vnode.$children$ = node.vchildren;
241
+ vnode.$key$ = node.vkey;
242
+ vnode.$name$ = node.vname;
243
+ return vnode;
244
+ };
188
245
  /**
189
246
  * Parse a new property value for a given property type.
190
247
  *
@@ -1616,6 +1673,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1616
1673
  // Fallback appLoad event
1617
1674
  endBootstrap();
1618
1675
  };
1676
+ const Fragment = (_, children) => children;
1619
1677
  const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1620
1678
  if (listeners) {
1621
1679
  listeners.map(([flags, name, method]) => {
@@ -1771,6 +1829,7 @@ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1771
1829
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1772
1830
 
1773
1831
  exports.CSS = CSS;
1832
+ exports.Fragment = Fragment;
1774
1833
  exports.Host = Host;
1775
1834
  exports.NAMESPACE = NAMESPACE;
1776
1835
  exports.bootstrapLazy = bootstrapLazy;
@@ -1787,4 +1846,4 @@ exports.registerInstance = registerInstance;
1787
1846
  exports.setNonce = setNonce;
1788
1847
  exports.win = win;
1789
1848
 
1790
- //# sourceMappingURL=index-9e4fe3f0.js.map
1849
+ //# sourceMappingURL=index-e9166f30.js.map
Binary file
Binary file