@geotrekce/geotrek-rando-widget 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (605) hide show
  1. package/dist/cjs/{css-shim-541cb78a.js → css-shim-68410b74.js} +2 -2
  2. package/dist/cjs/css-shim-68410b74.js.br +0 -0
  3. package/dist/cjs/css-shim-68410b74.js.gz +0 -0
  4. package/dist/cjs/{css-shim-541cb78a.js.map → css-shim-68410b74.js.map} +1 -1
  5. package/dist/cjs/{dom-7f26de17.js → dom-225fc508.js} +2 -2
  6. package/dist/cjs/dom-225fc508.js.br +0 -0
  7. package/dist/cjs/dom-225fc508.js.gz +0 -0
  8. package/dist/cjs/{dom-7f26de17.js.map → dom-225fc508.js.map} +1 -1
  9. package/dist/cjs/geotrek-rando-widget.cjs.js +4 -4
  10. package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
  11. package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
  12. package/dist/cjs/geotrek-rando-widget.cjs.js.map +1 -1
  13. package/dist/cjs/grw-app.cjs.entry.js +178 -31
  14. package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
  15. package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
  16. package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
  17. package/dist/cjs/grw-filter.cjs.entry.js +60 -11
  18. package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
  19. package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
  20. package/dist/cjs/grw-filter.cjs.entry.js.map +1 -1
  21. package/dist/cjs/{grw-filters_7.cjs.entry.js → grw-filters_12.cjs.entry.js} +836 -54
  22. package/dist/cjs/grw-filters_12.cjs.entry.js.br +0 -0
  23. package/dist/cjs/grw-filters_12.cjs.entry.js.gz +0 -0
  24. package/dist/cjs/grw-filters_12.cjs.entry.js.map +1 -0
  25. package/dist/cjs/grw-information-desk_6.cjs.entry.js +294 -0
  26. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  27. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -0
  29. package/dist/cjs/grw-select-language.cjs.entry.js +2 -2
  30. package/dist/cjs/grw-select-language.cjs.entry.js.br +0 -0
  31. package/dist/cjs/grw-select-language.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js +62 -0
  33. package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.br +0 -0
  34. package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.map +1 -0
  36. package/dist/cjs/{i18n-691abc83.js → i18n-cfc000c9.js} +51 -9
  37. package/dist/cjs/i18n-cfc000c9.js.br +0 -0
  38. package/dist/cjs/i18n-cfc000c9.js.gz +0 -0
  39. package/dist/cjs/i18n-cfc000c9.js.map +1 -0
  40. package/dist/cjs/{index-37f5c77b.js → index-9e4fe3f0.js} +2 -2
  41. package/dist/cjs/index-9e4fe3f0.js.br +0 -0
  42. package/dist/cjs/index-9e4fe3f0.js.gz +0 -0
  43. package/dist/cjs/{index-37f5c77b.js.map → index-9e4fe3f0.js.map} +1 -1
  44. package/dist/cjs/loader.cjs.js +4 -4
  45. package/dist/cjs/loader.cjs.js.br +0 -0
  46. package/dist/cjs/loader.cjs.js.gz +0 -0
  47. package/dist/cjs/loader.cjs.js.map +1 -1
  48. package/dist/cjs/{shadow-css-2e025b8c.js → shadow-css-3c339190.js} +2 -2
  49. package/dist/cjs/shadow-css-3c339190.js.br +0 -0
  50. package/dist/cjs/shadow-css-3c339190.js.gz +0 -0
  51. package/dist/cjs/{shadow-css-2e025b8c.js.map → shadow-css-3c339190.js.map} +1 -1
  52. package/dist/cjs/{store-a36efc0f.js → store-d20ae78f.js} +12 -3
  53. package/dist/cjs/store-d20ae78f.js.br +0 -0
  54. package/dist/cjs/store-d20ae78f.js.gz +0 -0
  55. package/dist/cjs/store-d20ae78f.js.map +1 -0
  56. package/dist/cjs/{utils-151d3b05.js → utils-332e41b3.js} +83 -7
  57. package/dist/cjs/utils-332e41b3.js.br +0 -0
  58. package/dist/cjs/utils-332e41b3.js.gz +0 -0
  59. package/dist/cjs/utils-332e41b3.js.map +1 -0
  60. package/dist/collection/collection-manifest.json +9 -2
  61. package/dist/collection/components/grw-app/grw-app.css +61 -7
  62. package/dist/collection/components/grw-app/grw-app.css.br +0 -0
  63. package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
  64. package/dist/collection/components/grw-app/grw-app.js +248 -29
  65. package/dist/collection/components/grw-app/grw-app.js.br +0 -0
  66. package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
  67. package/dist/collection/components/grw-app/grw-app.js.map +1 -1
  68. package/dist/collection/components/grw-filter/grw-filter.css +75 -0
  69. package/dist/collection/components/grw-filter/grw-filter.css.br +0 -0
  70. package/dist/collection/components/grw-filter/grw-filter.css.gz +0 -0
  71. package/dist/collection/components/grw-filter/grw-filter.js +73 -8
  72. package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
  73. package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
  74. package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
  75. package/dist/collection/components/grw-filters/grw-filters.css +12 -4
  76. package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
  77. package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
  78. package/dist/collection/components/grw-filters/grw-filters.js +24 -7
  79. package/dist/collection/components/grw-filters/grw-filters.js.br +0 -0
  80. package/dist/collection/components/grw-filters/grw-filters.js.gz +0 -0
  81. package/dist/collection/components/grw-filters/grw-filters.js.map +1 -1
  82. package/dist/collection/components/grw-map/grw-map.css +142 -14
  83. package/dist/collection/components/grw-map/grw-map.css.br +0 -0
  84. package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
  85. package/dist/collection/components/grw-map/grw-map.js +474 -30
  86. package/dist/collection/components/grw-map/grw-map.js.br +0 -0
  87. package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
  88. package/dist/collection/components/grw-map/grw-map.js.map +1 -1
  89. package/dist/collection/components/grw-search/grw-search.js +7 -2
  90. package/dist/collection/components/grw-search/grw-search.js.br +0 -0
  91. package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
  92. package/dist/collection/components/grw-search/grw-search.js.map +1 -1
  93. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css +671 -0
  94. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.br +0 -0
  95. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.gz +0 -0
  96. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js +201 -0
  97. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.br +0 -0
  98. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.gz +0 -0
  99. package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.map +1 -0
  100. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +691 -0
  101. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
  102. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
  103. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +244 -0
  104. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
  105. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
  106. package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -0
  107. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +43 -0
  108. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
  109. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
  110. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +220 -0
  111. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
  112. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
  113. package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -0
  114. package/dist/collection/components/{grw-touristic-content/grw-touristic-content.css → grw-touristic-event/grw-touristic-event-card.css} +43 -12
  115. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.br +0 -0
  116. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.gz +0 -0
  117. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js +102 -0
  118. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.br +0 -0
  119. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.gz +0 -0
  120. package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.map +1 -0
  121. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +691 -0
  122. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
  123. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
  124. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +242 -0
  125. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
  126. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
  127. package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -0
  128. package/dist/collection/components/grw-trek-card/grw-trek-card.css +1 -0
  129. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  130. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  131. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +20 -6
  132. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
  133. package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
  134. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +50 -5
  135. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  136. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  137. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  138. package/dist/collection/components/grw-treks-list/grw-treks-list.css +7 -0
  139. package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
  140. package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
  141. package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -1
  142. package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
  143. package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
  144. package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
  145. package/dist/collection/i18n/i18n.js +50 -8
  146. package/dist/collection/i18n/i18n.js.br +0 -0
  147. package/dist/collection/i18n/i18n.js.gz +0 -0
  148. package/dist/collection/i18n/i18n.js.map +1 -1
  149. package/dist/collection/store/grw-touristic-content-provider.js +111 -0
  150. package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
  151. package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
  152. package/dist/collection/store/grw-touristic-content-provider.js.map +1 -0
  153. package/dist/collection/store/grw-touristic-contents-provider.js +117 -0
  154. package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
  155. package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
  156. package/dist/collection/store/grw-touristic-contents-provider.js.map +1 -0
  157. package/dist/collection/store/grw-touristic-event-provider.js +111 -0
  158. package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
  159. package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
  160. package/dist/collection/store/grw-touristic-event-provider.js.map +1 -0
  161. package/dist/collection/store/grw-trek-provider.js +11 -3
  162. package/dist/collection/store/grw-trek-provider.js.br +0 -0
  163. package/dist/collection/store/grw-trek-provider.js.gz +0 -0
  164. package/dist/collection/store/grw-trek-provider.js.map +1 -1
  165. package/dist/collection/store/store.js +10 -1
  166. package/dist/collection/store/store.js.br +0 -0
  167. package/dist/collection/store/store.js.gz +0 -0
  168. package/dist/collection/store/store.js.map +1 -1
  169. package/dist/collection/stories/App.js +2 -2
  170. package/dist/collection/stories/App.js.br +0 -0
  171. package/dist/collection/stories/App.js.gz +0 -0
  172. package/dist/collection/stories/App.stories.js +1 -1
  173. package/dist/collection/stories/App.stories.js.br +0 -0
  174. package/dist/collection/stories/App.stories.js.gz +0 -0
  175. package/dist/collection/stories/TrekCard.js +2 -2
  176. package/dist/collection/stories/TrekCard.js.br +0 -0
  177. package/dist/collection/stories/TrekCard.js.gz +0 -0
  178. package/dist/collection/stories/TrekCard.stories.js +1 -1
  179. package/dist/collection/stories/TrekCard.stories.js.br +0 -0
  180. package/dist/collection/stories/TrekCard.stories.js.gz +0 -0
  181. package/dist/collection/stories/TrekDetail.js +2 -2
  182. package/dist/collection/stories/TrekDetail.js.br +0 -0
  183. package/dist/collection/stories/TrekDetail.js.gz +0 -0
  184. package/dist/collection/stories/TrekDetail.stories.js +1 -1
  185. package/dist/collection/stories/TrekDetail.stories.js.br +0 -0
  186. package/dist/collection/stories/TrekDetail.stories.js.gz +0 -0
  187. package/dist/collection/stories/TreksList.js +2 -2
  188. package/dist/collection/stories/TreksList.js.br +0 -0
  189. package/dist/collection/stories/TreksList.js.gz +0 -0
  190. package/dist/collection/stories/TreksList.stories.js +1 -1
  191. package/dist/collection/stories/TreksList.stories.js.br +0 -0
  192. package/dist/collection/stories/TreksList.stories.js.gz +0 -0
  193. package/dist/collection/types/types.js.map +1 -1
  194. package/dist/collection/utils/utils.js +77 -3
  195. package/dist/collection/utils/utils.js.br +0 -0
  196. package/dist/collection/utils/utils.js.gz +0 -0
  197. package/dist/collection/utils/utils.js.map +1 -1
  198. package/dist/esm/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +2 -2
  199. package/dist/esm/css-shim-fa54d62f.js.br +0 -0
  200. package/dist/esm/css-shim-fa54d62f.js.gz +0 -0
  201. package/dist/esm/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
  202. package/dist/esm/{dom-60e3e2ad.js → dom-8de30773.js} +2 -2
  203. package/dist/esm/dom-8de30773.js.br +0 -0
  204. package/dist/esm/dom-8de30773.js.gz +0 -0
  205. package/dist/esm/{dom-60e3e2ad.js.map → dom-8de30773.js.map} +1 -1
  206. package/dist/esm/geotrek-rando-widget.js +5 -5
  207. package/dist/esm/geotrek-rando-widget.js.br +0 -0
  208. package/dist/esm/geotrek-rando-widget.js.gz +0 -0
  209. package/dist/esm/geotrek-rando-widget.js.map +1 -1
  210. package/dist/esm/grw-app.entry.js +178 -31
  211. package/dist/esm/grw-app.entry.js.br +0 -0
  212. package/dist/esm/grw-app.entry.js.gz +0 -0
  213. package/dist/esm/grw-app.entry.js.map +1 -1
  214. package/dist/esm/grw-filter.entry.js +60 -11
  215. package/dist/esm/grw-filter.entry.js.br +0 -0
  216. package/dist/esm/grw-filter.entry.js.gz +0 -0
  217. package/dist/esm/grw-filter.entry.js.map +1 -1
  218. package/dist/esm/{grw-filters_7.entry.js → grw-filters_12.entry.js} +832 -55
  219. package/dist/esm/grw-filters_12.entry.js.br +0 -0
  220. package/dist/esm/grw-filters_12.entry.js.gz +0 -0
  221. package/dist/esm/grw-filters_12.entry.js.map +1 -0
  222. package/dist/esm/grw-information-desk_6.entry.js +285 -0
  223. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  224. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  225. package/dist/esm/grw-information-desk_6.entry.js.map +1 -0
  226. package/dist/esm/grw-select-language.entry.js +2 -2
  227. package/dist/esm/grw-select-language.entry.js.br +0 -0
  228. package/dist/esm/grw-select-language.entry.js.gz +0 -0
  229. package/dist/esm/grw-touristic-event-card-provider.entry.js +58 -0
  230. package/dist/esm/grw-touristic-event-card-provider.entry.js.br +0 -0
  231. package/dist/esm/grw-touristic-event-card-provider.entry.js.gz +0 -0
  232. package/dist/esm/grw-touristic-event-card-provider.entry.js.map +1 -0
  233. package/dist/esm/{i18n-16a29f6f.js → i18n-60e9fdd3.js} +51 -9
  234. package/dist/esm/i18n-60e9fdd3.js.br +0 -0
  235. package/dist/esm/i18n-60e9fdd3.js.gz +0 -0
  236. package/dist/esm/i18n-60e9fdd3.js.map +1 -0
  237. package/dist/esm/{index-3bfebaa2.js → index-d5cacae4.js} +2 -2
  238. package/dist/esm/index-d5cacae4.js.br +0 -0
  239. package/dist/esm/{index-3bfebaa2.js.gz → index-d5cacae4.js.gz} +0 -0
  240. package/dist/esm/{index-3bfebaa2.js.map → index-d5cacae4.js.map} +1 -1
  241. package/dist/esm/loader.js +5 -5
  242. package/dist/esm/loader.js.br +0 -0
  243. package/dist/esm/loader.js.gz +0 -0
  244. package/dist/esm/loader.js.map +1 -1
  245. package/dist/esm/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +2 -2
  246. package/dist/esm/shadow-css-af2290df.js.br +0 -0
  247. package/dist/esm/shadow-css-af2290df.js.gz +0 -0
  248. package/dist/esm/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
  249. package/dist/esm/{store-890ce35c.js → store-032ab1f5.js} +12 -3
  250. package/dist/esm/store-032ab1f5.js.br +0 -0
  251. package/dist/esm/store-032ab1f5.js.gz +0 -0
  252. package/dist/esm/store-032ab1f5.js.map +1 -0
  253. package/dist/esm/{utils-ffae4b0b.js → utils-b09ac7c9.js} +80 -6
  254. package/dist/esm/utils-b09ac7c9.js.br +0 -0
  255. package/dist/esm/utils-b09ac7c9.js.gz +0 -0
  256. package/dist/esm/utils-b09ac7c9.js.map +1 -0
  257. package/dist/esm-es5/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +1 -1
  258. package/dist/esm-es5/css-shim-fa54d62f.js.br +0 -0
  259. package/dist/esm-es5/css-shim-fa54d62f.js.gz +0 -0
  260. package/dist/esm-es5/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
  261. package/dist/esm-es5/{dom-60e3e2ad.js → dom-8de30773.js} +1 -1
  262. package/dist/esm-es5/dom-8de30773.js.br +0 -0
  263. package/dist/esm-es5/dom-8de30773.js.gz +0 -0
  264. package/dist/esm-es5/{dom-60e3e2ad.js.map → dom-8de30773.js.map} +1 -1
  265. package/dist/esm-es5/geotrek-rando-widget.js +1 -1
  266. package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
  267. package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
  268. package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
  269. package/dist/esm-es5/grw-app.entry.js +1 -1
  270. package/dist/esm-es5/grw-app.entry.js.br +0 -0
  271. package/dist/esm-es5/grw-app.entry.js.gz +0 -0
  272. package/dist/esm-es5/grw-app.entry.js.map +1 -1
  273. package/dist/esm-es5/grw-filter.entry.js +2 -1
  274. package/dist/esm-es5/grw-filter.entry.js.br +0 -0
  275. package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
  276. package/dist/esm-es5/grw-filter.entry.js.map +1 -1
  277. package/dist/esm-es5/{grw-filters_7.entry.js → grw-filters_12.entry.js} +4 -4
  278. package/dist/esm-es5/grw-filters_12.entry.js.br +0 -0
  279. package/dist/esm-es5/grw-filters_12.entry.js.gz +0 -0
  280. package/dist/esm-es5/grw-filters_12.entry.js.map +1 -0
  281. package/dist/esm-es5/grw-information-desk_6.entry.js +2 -0
  282. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  283. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  284. package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -0
  285. package/dist/esm-es5/grw-select-language.entry.js +1 -1
  286. package/dist/esm-es5/grw-select-language.entry.js.br +0 -0
  287. package/dist/esm-es5/grw-select-language.entry.js.gz +0 -0
  288. package/dist/esm-es5/grw-touristic-event-card-provider.entry.js +2 -0
  289. package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.br +0 -0
  290. package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.gz +0 -0
  291. package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.map +1 -0
  292. package/dist/esm-es5/i18n-60e9fdd3.js +2 -0
  293. package/dist/esm-es5/i18n-60e9fdd3.js.br +0 -0
  294. package/dist/esm-es5/i18n-60e9fdd3.js.gz +0 -0
  295. package/dist/esm-es5/i18n-60e9fdd3.js.map +1 -0
  296. package/dist/esm-es5/{index-3bfebaa2.js → index-d5cacae4.js} +2 -2
  297. package/dist/esm-es5/index-d5cacae4.js.br +0 -0
  298. package/dist/esm-es5/{index-3bfebaa2.js.gz → index-d5cacae4.js.gz} +0 -0
  299. package/dist/esm-es5/{index-3bfebaa2.js.map → index-d5cacae4.js.map} +1 -1
  300. package/dist/esm-es5/loader.js +1 -1
  301. package/dist/esm-es5/loader.js.br +0 -0
  302. package/dist/esm-es5/loader.js.gz +0 -0
  303. package/dist/esm-es5/loader.js.map +1 -1
  304. package/dist/esm-es5/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +1 -1
  305. package/dist/esm-es5/shadow-css-af2290df.js.br +0 -0
  306. package/dist/esm-es5/shadow-css-af2290df.js.gz +0 -0
  307. package/dist/esm-es5/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
  308. package/dist/esm-es5/store-032ab1f5.js +2 -0
  309. package/dist/esm-es5/store-032ab1f5.js.br +0 -0
  310. package/dist/esm-es5/store-032ab1f5.js.gz +0 -0
  311. package/dist/esm-es5/store-032ab1f5.js.map +1 -0
  312. package/dist/esm-es5/utils-b09ac7c9.js +2 -0
  313. package/dist/esm-es5/utils-b09ac7c9.js.br +0 -0
  314. package/dist/esm-es5/utils-b09ac7c9.js.gz +0 -0
  315. package/dist/esm-es5/utils-b09ac7c9.js.map +1 -0
  316. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  317. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  318. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  319. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
  320. package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
  321. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
  322. package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
  323. package/dist/geotrek-rando-widget/{p-b5fc5b41.js → p-00cfef9b.js} +1 -1
  324. package/dist/geotrek-rando-widget/p-00cfef9b.js.br +0 -0
  325. package/dist/geotrek-rando-widget/p-00cfef9b.js.gz +0 -0
  326. package/dist/geotrek-rando-widget/{p-b5fc5b41.js.map → p-00cfef9b.js.map} +1 -1
  327. package/dist/geotrek-rando-widget/p-048b3a1e.js +2 -0
  328. package/dist/geotrek-rando-widget/p-048b3a1e.js.br +0 -0
  329. package/dist/geotrek-rando-widget/p-048b3a1e.js.gz +0 -0
  330. package/dist/geotrek-rando-widget/p-048b3a1e.js.map +1 -0
  331. package/dist/geotrek-rando-widget/{p-16f28b0e.js → p-0c07a3f0.js} +3 -3
  332. package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
  333. package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
  334. package/dist/geotrek-rando-widget/{p-16f28b0e.js.map → p-0c07a3f0.js.map} +1 -1
  335. package/dist/geotrek-rando-widget/{p-7be13480.system.js → p-10ee2e5e.system.js} +2 -2
  336. package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.br +0 -0
  337. package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.gz +0 -0
  338. package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.map +1 -0
  339. package/dist/geotrek-rando-widget/{p-6f514bac.entry.js → p-1a0c7f72.entry.js} +2 -2
  340. package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.br +0 -0
  341. package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.gz +0 -0
  342. package/dist/geotrek-rando-widget/p-1f8e7e57.js +2 -0
  343. package/dist/geotrek-rando-widget/p-1f8e7e57.js.br +0 -0
  344. package/dist/geotrek-rando-widget/p-1f8e7e57.js.gz +0 -0
  345. package/dist/geotrek-rando-widget/p-1f8e7e57.js.map +1 -0
  346. package/dist/geotrek-rando-widget/{p-15fed795.js → p-298a51a3.js} +1 -1
  347. package/dist/geotrek-rando-widget/p-298a51a3.js.br +0 -0
  348. package/dist/geotrek-rando-widget/p-298a51a3.js.gz +0 -0
  349. package/dist/geotrek-rando-widget/{p-15fed795.js.map → p-298a51a3.js.map} +1 -1
  350. package/dist/geotrek-rando-widget/p-388ecec9.entry.js +14 -0
  351. package/dist/geotrek-rando-widget/p-388ecec9.entry.js.br +0 -0
  352. package/dist/geotrek-rando-widget/p-388ecec9.entry.js.gz +0 -0
  353. package/dist/geotrek-rando-widget/p-388ecec9.entry.js.map +1 -0
  354. package/dist/geotrek-rando-widget/{p-0f28420f.js → p-50daca95.js} +1 -1
  355. package/dist/geotrek-rando-widget/p-50daca95.js.br +0 -0
  356. package/dist/geotrek-rando-widget/p-50daca95.js.gz +0 -0
  357. package/dist/geotrek-rando-widget/{p-0f28420f.js.map → p-50daca95.js.map} +1 -1
  358. package/dist/geotrek-rando-widget/p-790f5a62.entry.js +2 -0
  359. package/dist/geotrek-rando-widget/p-790f5a62.entry.js.br +0 -0
  360. package/dist/geotrek-rando-widget/p-790f5a62.entry.js.gz +0 -0
  361. package/dist/geotrek-rando-widget/p-790f5a62.entry.js.map +1 -0
  362. package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js +2 -0
  363. package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.br +0 -0
  364. package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.gz +0 -0
  365. package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.map +1 -0
  366. package/dist/geotrek-rando-widget/p-7eca502d.js +2 -0
  367. package/dist/geotrek-rando-widget/p-7eca502d.js.br +0 -0
  368. package/dist/geotrek-rando-widget/p-7eca502d.js.gz +0 -0
  369. package/dist/geotrek-rando-widget/p-7eca502d.js.map +1 -0
  370. package/dist/geotrek-rando-widget/{p-d2da9a2e.system.entry.js → p-8d2cad32.system.entry.js} +2 -2
  371. package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.br +0 -0
  372. package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.gz +0 -0
  373. package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.map +1 -0
  374. package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js +2 -0
  375. package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.br +0 -0
  376. package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.gz +0 -0
  377. package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.map +1 -0
  378. package/dist/geotrek-rando-widget/{p-7d5414a1.system.entry.js → p-9d562b29.system.entry.js} +2 -2
  379. package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.br +0 -0
  380. package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.gz +0 -0
  381. package/dist/geotrek-rando-widget/{p-634eaa8f.system.js → p-9f1ebb62.system.js} +1 -1
  382. package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.br +0 -0
  383. package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.gz +0 -0
  384. package/dist/geotrek-rando-widget/{p-634eaa8f.system.js.map → p-9f1ebb62.system.js.map} +1 -1
  385. package/dist/geotrek-rando-widget/p-b92fdd4e.system.js +2 -0
  386. package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.br +0 -0
  387. package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.gz +0 -0
  388. package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.map +1 -0
  389. package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js +14 -0
  390. package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.br +0 -0
  391. package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.gz +0 -0
  392. package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.map +1 -0
  393. package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js +4 -0
  394. package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.br +0 -0
  395. package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.gz +0 -0
  396. package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.map +1 -0
  397. package/dist/geotrek-rando-widget/p-c63228e8.system.js +2 -0
  398. package/dist/geotrek-rando-widget/p-c63228e8.system.js.br +0 -0
  399. package/dist/geotrek-rando-widget/p-c63228e8.system.js.gz +0 -0
  400. package/dist/geotrek-rando-widget/p-c63228e8.system.js.map +1 -0
  401. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +2 -0
  402. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
  403. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
  404. package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +1 -0
  405. package/dist/geotrek-rando-widget/{p-737a036f.entry.js → p-ccf92c36.entry.js} +2 -2
  406. package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.br +0 -0
  407. package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.gz +0 -0
  408. package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.map +1 -0
  409. package/dist/geotrek-rando-widget/{p-3eaed9f9.system.js → p-d2c035bc.system.js} +2 -2
  410. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
  411. package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
  412. package/dist/geotrek-rando-widget/{p-3eaed9f9.system.js.map → p-d2c035bc.system.js.map} +1 -1
  413. package/dist/geotrek-rando-widget/p-da75716b.system.entry.js +2 -0
  414. package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.br +0 -0
  415. package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.gz +0 -0
  416. package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.map +1 -0
  417. package/dist/geotrek-rando-widget/{p-63e651bf.system.js → p-f949c1ba.system.js} +1 -1
  418. package/dist/geotrek-rando-widget/p-f949c1ba.system.js.br +0 -0
  419. package/dist/geotrek-rando-widget/p-f949c1ba.system.js.gz +0 -0
  420. package/dist/geotrek-rando-widget/{p-63e651bf.system.js.map → p-f949c1ba.system.js.map} +1 -1
  421. package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js +3 -0
  422. package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.br +0 -0
  423. package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.gz +0 -0
  424. package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.map +1 -0
  425. package/dist/geotrek-rando-widget/{p-2a99981a.system.js → p-fe22d872.system.js} +1 -1
  426. package/dist/geotrek-rando-widget/p-fe22d872.system.js.br +0 -0
  427. package/dist/geotrek-rando-widget/p-fe22d872.system.js.gz +0 -0
  428. package/dist/geotrek-rando-widget/{p-2a99981a.system.js.map → p-fe22d872.system.js.map} +1 -1
  429. package/dist/types/components/grw-app/grw-app.d.ts +17 -2
  430. package/dist/types/components/grw-filter/grw-filter.d.ts +6 -0
  431. package/dist/types/components/grw-filters/grw-filters.d.ts +4 -2
  432. package/dist/types/components/grw-map/grw-map.d.ts +24 -2
  433. package/dist/types/components/grw-touristic-content/{grw-touristic-content.d.ts → grw-touristic-content-card.d.ts} +9 -1
  434. package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +24 -0
  435. package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +20 -0
  436. package/dist/types/components/grw-touristic-event/grw-touristic-event-card.d.ts +16 -0
  437. package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +24 -0
  438. package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +10 -1
  439. package/dist/types/components.d.ts +198 -11
  440. package/dist/types/i18n/i18n.d.ts +23 -2
  441. package/dist/types/store/grw-touristic-content-provider.d.ts +12 -0
  442. package/dist/types/store/grw-touristic-contents-provider.d.ts +12 -0
  443. package/dist/types/store/grw-touristic-event-provider.d.ts +12 -0
  444. package/dist/types/store/store.d.ts +21 -3
  445. package/dist/types/types/types.d.ts +50 -9
  446. package/dist/types/utils/utils.d.ts +5 -3
  447. package/package.json +2 -1
  448. package/dist/cjs/css-shim-541cb78a.js.br +0 -0
  449. package/dist/cjs/css-shim-541cb78a.js.gz +0 -0
  450. package/dist/cjs/dom-7f26de17.js.br +0 -0
  451. package/dist/cjs/dom-7f26de17.js.gz +0 -0
  452. package/dist/cjs/grw-filters_7.cjs.entry.js.br +0 -0
  453. package/dist/cjs/grw-filters_7.cjs.entry.js.gz +0 -0
  454. package/dist/cjs/grw-filters_7.cjs.entry.js.map +0 -1
  455. package/dist/cjs/grw-information-desk_5.cjs.entry.js +0 -227
  456. package/dist/cjs/grw-information-desk_5.cjs.entry.js.br +0 -0
  457. package/dist/cjs/grw-information-desk_5.cjs.entry.js.gz +0 -0
  458. package/dist/cjs/grw-information-desk_5.cjs.entry.js.map +0 -1
  459. package/dist/cjs/i18n-691abc83.js.br +0 -0
  460. package/dist/cjs/i18n-691abc83.js.gz +0 -0
  461. package/dist/cjs/i18n-691abc83.js.map +0 -1
  462. package/dist/cjs/index-37f5c77b.js.br +0 -0
  463. package/dist/cjs/index-37f5c77b.js.gz +0 -0
  464. package/dist/cjs/shadow-css-2e025b8c.js.br +0 -0
  465. package/dist/cjs/shadow-css-2e025b8c.js.gz +0 -0
  466. package/dist/cjs/store-a36efc0f.js.br +0 -0
  467. package/dist/cjs/store-a36efc0f.js.gz +0 -0
  468. package/dist/cjs/store-a36efc0f.js.map +0 -1
  469. package/dist/cjs/utils-151d3b05.js.br +0 -0
  470. package/dist/cjs/utils-151d3b05.js.gz +0 -0
  471. package/dist/cjs/utils-151d3b05.js.map +0 -1
  472. package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.br +0 -0
  473. package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.gz +0 -0
  474. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js +0 -84
  475. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.br +0 -0
  476. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.gz +0 -0
  477. package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.map +0 -1
  478. package/dist/esm/css-shim-8cc70a22.js.br +0 -0
  479. package/dist/esm/css-shim-8cc70a22.js.gz +0 -0
  480. package/dist/esm/dom-60e3e2ad.js.br +0 -0
  481. package/dist/esm/dom-60e3e2ad.js.gz +0 -0
  482. package/dist/esm/grw-filters_7.entry.js.br +0 -0
  483. package/dist/esm/grw-filters_7.entry.js.gz +0 -0
  484. package/dist/esm/grw-filters_7.entry.js.map +0 -1
  485. package/dist/esm/grw-information-desk_5.entry.js +0 -219
  486. package/dist/esm/grw-information-desk_5.entry.js.br +0 -0
  487. package/dist/esm/grw-information-desk_5.entry.js.gz +0 -0
  488. package/dist/esm/grw-information-desk_5.entry.js.map +0 -1
  489. package/dist/esm/i18n-16a29f6f.js.br +0 -0
  490. package/dist/esm/i18n-16a29f6f.js.gz +0 -0
  491. package/dist/esm/i18n-16a29f6f.js.map +0 -1
  492. package/dist/esm/index-3bfebaa2.js.br +0 -0
  493. package/dist/esm/shadow-css-19be24ee.js.br +0 -0
  494. package/dist/esm/shadow-css-19be24ee.js.gz +0 -0
  495. package/dist/esm/store-890ce35c.js.br +0 -0
  496. package/dist/esm/store-890ce35c.js.gz +0 -0
  497. package/dist/esm/store-890ce35c.js.map +0 -1
  498. package/dist/esm/utils-ffae4b0b.js.br +0 -0
  499. package/dist/esm/utils-ffae4b0b.js.gz +0 -0
  500. package/dist/esm/utils-ffae4b0b.js.map +0 -1
  501. package/dist/esm-es5/css-shim-8cc70a22.js.br +0 -0
  502. package/dist/esm-es5/css-shim-8cc70a22.js.gz +0 -0
  503. package/dist/esm-es5/dom-60e3e2ad.js.br +0 -0
  504. package/dist/esm-es5/dom-60e3e2ad.js.gz +0 -0
  505. package/dist/esm-es5/grw-filters_7.entry.js.br +0 -0
  506. package/dist/esm-es5/grw-filters_7.entry.js.gz +0 -0
  507. package/dist/esm-es5/grw-filters_7.entry.js.map +0 -1
  508. package/dist/esm-es5/grw-information-desk_5.entry.js +0 -2
  509. package/dist/esm-es5/grw-information-desk_5.entry.js.br +0 -0
  510. package/dist/esm-es5/grw-information-desk_5.entry.js.gz +0 -0
  511. package/dist/esm-es5/grw-information-desk_5.entry.js.map +0 -1
  512. package/dist/esm-es5/i18n-16a29f6f.js +0 -2
  513. package/dist/esm-es5/i18n-16a29f6f.js.br +0 -0
  514. package/dist/esm-es5/i18n-16a29f6f.js.gz +0 -0
  515. package/dist/esm-es5/i18n-16a29f6f.js.map +0 -1
  516. package/dist/esm-es5/index-3bfebaa2.js.br +0 -0
  517. package/dist/esm-es5/shadow-css-19be24ee.js.br +0 -0
  518. package/dist/esm-es5/shadow-css-19be24ee.js.gz +0 -0
  519. package/dist/esm-es5/store-890ce35c.js +0 -2
  520. package/dist/esm-es5/store-890ce35c.js.br +0 -0
  521. package/dist/esm-es5/store-890ce35c.js.gz +0 -0
  522. package/dist/esm-es5/store-890ce35c.js.map +0 -1
  523. package/dist/esm-es5/utils-ffae4b0b.js +0 -2
  524. package/dist/esm-es5/utils-ffae4b0b.js.br +0 -0
  525. package/dist/esm-es5/utils-ffae4b0b.js.gz +0 -0
  526. package/dist/esm-es5/utils-ffae4b0b.js.map +0 -1
  527. package/dist/geotrek-rando-widget/p-0f28420f.js.br +0 -0
  528. package/dist/geotrek-rando-widget/p-0f28420f.js.gz +0 -0
  529. package/dist/geotrek-rando-widget/p-15fed795.js.br +0 -0
  530. package/dist/geotrek-rando-widget/p-15fed795.js.gz +0 -0
  531. package/dist/geotrek-rando-widget/p-16f28b0e.js.br +0 -0
  532. package/dist/geotrek-rando-widget/p-16f28b0e.js.gz +0 -0
  533. package/dist/geotrek-rando-widget/p-1db133d4.js +0 -2
  534. package/dist/geotrek-rando-widget/p-1db133d4.js.br +0 -0
  535. package/dist/geotrek-rando-widget/p-1db133d4.js.gz +0 -0
  536. package/dist/geotrek-rando-widget/p-1db133d4.js.map +0 -1
  537. package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js +0 -14
  538. package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.br +0 -0
  539. package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.gz +0 -0
  540. package/dist/geotrek-rando-widget/p-265b4eea.system.entry.js.map +0 -1
  541. package/dist/geotrek-rando-widget/p-291b7192.system.js +0 -2
  542. package/dist/geotrek-rando-widget/p-291b7192.system.js.br +0 -0
  543. package/dist/geotrek-rando-widget/p-291b7192.system.js.gz +0 -0
  544. package/dist/geotrek-rando-widget/p-291b7192.system.js.map +0 -1
  545. package/dist/geotrek-rando-widget/p-2a99981a.system.js.br +0 -0
  546. package/dist/geotrek-rando-widget/p-2a99981a.system.js.gz +0 -0
  547. package/dist/geotrek-rando-widget/p-3eaed9f9.system.js.br +0 -0
  548. package/dist/geotrek-rando-widget/p-3eaed9f9.system.js.gz +0 -0
  549. package/dist/geotrek-rando-widget/p-47ba2866.js +0 -2
  550. package/dist/geotrek-rando-widget/p-47ba2866.js.br +0 -0
  551. package/dist/geotrek-rando-widget/p-47ba2866.js.gz +0 -0
  552. package/dist/geotrek-rando-widget/p-47ba2866.js.map +0 -1
  553. package/dist/geotrek-rando-widget/p-634eaa8f.system.js.br +0 -0
  554. package/dist/geotrek-rando-widget/p-634eaa8f.system.js.gz +0 -0
  555. package/dist/geotrek-rando-widget/p-63e651bf.system.js.br +0 -0
  556. package/dist/geotrek-rando-widget/p-63e651bf.system.js.gz +0 -0
  557. package/dist/geotrek-rando-widget/p-6f514bac.entry.js.br +0 -0
  558. package/dist/geotrek-rando-widget/p-6f514bac.entry.js.gz +0 -0
  559. package/dist/geotrek-rando-widget/p-737a036f.entry.js.br +0 -0
  560. package/dist/geotrek-rando-widget/p-737a036f.entry.js.gz +0 -0
  561. package/dist/geotrek-rando-widget/p-737a036f.entry.js.map +0 -1
  562. package/dist/geotrek-rando-widget/p-73bf5fea.entry.js +0 -2
  563. package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.br +0 -0
  564. package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.gz +0 -0
  565. package/dist/geotrek-rando-widget/p-73bf5fea.entry.js.map +0 -1
  566. package/dist/geotrek-rando-widget/p-7be13480.system.js.br +0 -0
  567. package/dist/geotrek-rando-widget/p-7be13480.system.js.gz +0 -0
  568. package/dist/geotrek-rando-widget/p-7be13480.system.js.map +0 -1
  569. package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js.br +0 -0
  570. package/dist/geotrek-rando-widget/p-7d5414a1.system.entry.js.gz +0 -0
  571. package/dist/geotrek-rando-widget/p-953f1353.system.entry.js +0 -2
  572. package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.br +0 -0
  573. package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.gz +0 -0
  574. package/dist/geotrek-rando-widget/p-953f1353.system.entry.js.map +0 -1
  575. package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js +0 -2
  576. package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.br +0 -0
  577. package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.gz +0 -0
  578. package/dist/geotrek-rando-widget/p-a5cdfd75.system.entry.js.map +0 -1
  579. package/dist/geotrek-rando-widget/p-a7fa6233.system.js +0 -2
  580. package/dist/geotrek-rando-widget/p-a7fa6233.system.js.br +0 -0
  581. package/dist/geotrek-rando-widget/p-a7fa6233.system.js.gz +0 -0
  582. package/dist/geotrek-rando-widget/p-a7fa6233.system.js.map +0 -1
  583. package/dist/geotrek-rando-widget/p-b5fc5b41.js.br +0 -0
  584. package/dist/geotrek-rando-widget/p-b5fc5b41.js.gz +0 -0
  585. package/dist/geotrek-rando-widget/p-bdaae91a.entry.js +0 -2
  586. package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.br +0 -0
  587. package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.gz +0 -0
  588. package/dist/geotrek-rando-widget/p-bdaae91a.entry.js.map +0 -1
  589. package/dist/geotrek-rando-widget/p-ccc3be5e.system.js +0 -2
  590. package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.br +0 -0
  591. package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.gz +0 -0
  592. package/dist/geotrek-rando-widget/p-ccc3be5e.system.js.map +0 -1
  593. package/dist/geotrek-rando-widget/p-cdf7523f.entry.js +0 -14
  594. package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.br +0 -0
  595. package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.gz +0 -0
  596. package/dist/geotrek-rando-widget/p-cdf7523f.entry.js.map +0 -1
  597. package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.br +0 -0
  598. package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.gz +0 -0
  599. package/dist/geotrek-rando-widget/p-d2da9a2e.system.entry.js.map +0 -1
  600. package/dist/geotrek-rando-widget/p-e653caed.js +0 -2
  601. package/dist/geotrek-rando-widget/p-e653caed.js.br +0 -0
  602. package/dist/geotrek-rando-widget/p-e653caed.js.gz +0 -0
  603. package/dist/geotrek-rando-widget/p-e653caed.js.map +0 -1
  604. /package/dist/geotrek-rando-widget/{p-6f514bac.entry.js.map → p-1a0c7f72.entry.js.map} +0 -0
  605. /package/dist/geotrek-rando-widget/{p-7d5414a1.system.entry.js.map → p-9d562b29.system.entry.js.map} +0 -0
@@ -1,8 +1,9 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-3bfebaa2.js';
2
- import { t as translate } from './i18n-16a29f6f.js';
3
- import { s as state, o as onChange, r as reset } from './store-890ce35c.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d5cacae4.js';
2
+ import { t as translate } from './i18n-60e9fdd3.js';
3
+ import { s as state, o as onChange, r as reset } from './store-032ab1f5.js';
4
+ import { t as treksFilters, h as handleTreksFiltersAndSearch, a as touristicContentsFilters, b as handleTouristicContentsFiltersAndSearch } from './utils-b09ac7c9.js';
4
5
 
5
- const grwAppCss = ".material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:\"Roboto\";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:64px}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - 64px);background-color:var(--color-background)}.content-treks{height:calc(100% - 64px)}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list{max-height:calc(100vh - 64px)}grw-trek-detail{max-height:calc(100vh - 64px - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}";
6
+ const grwAppCss = ".material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:\"Roboto\";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;width:100%;height:100%;overflow:hidden}.header-container,.large-view-header-container{background-color:var(--color-background);-webkit-box-shadow:var(--elevation-2);box-shadow:var(--elevation-2);height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height));background-color:var(--color-background)}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.app-touristic-content-detail-container,.app-touristic-event-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{max-width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list,grw-touristic-content-detail,grw-touristic-event-detail{max-height:calc(100vh - var(--header-height))}grw-trek-detail{max-height:calc(100vh - var(--header-height) - 48px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}";
6
7
 
7
8
  const GrwApp = class {
8
9
  constructor(hostRef) {
@@ -10,11 +11,17 @@ const GrwApp = class {
10
11
  this.largeViewSize = 1024;
11
12
  this.handlePopStateBind = this.handlePopState.bind(this);
12
13
  this.showTrek = false;
13
- this.showTreksMap = false;
14
+ this.showTouristicContent = false;
15
+ this.showTouristicEvent = false;
16
+ this.showHomeMap = false;
14
17
  this.showTrekMap = false;
18
+ this.showTouristicContentMap = false;
19
+ this.showTouristicEventMap = false;
15
20
  this.showFilters = false;
16
21
  this.isLargeView = false;
17
22
  this.currentTrekId = undefined;
23
+ this.currentTouristicContentId = undefined;
24
+ this.currentTouristicEventId = undefined;
18
25
  this.appWidth = '100%';
19
26
  this.appHeight = '100vh';
20
27
  this.api = undefined;
@@ -52,8 +59,17 @@ const GrwApp = class {
52
59
  this.colorSensitiveArea = '#4974a5';
53
60
  this.colorPoiIcon = '#974c6e';
54
61
  this.useGradient = false;
62
+ this.treks = true;
63
+ this.touristicContents = false;
64
+ this.touristicEvents = false;
55
65
  }
56
66
  onTrekCardPress(event) {
67
+ this.currentTouristicContentId = null;
68
+ this.showTouristicContent = false;
69
+ state.currentTouristicContent = null;
70
+ this.currentTouristicEventId = null;
71
+ this.showTouristicEvent = false;
72
+ state.currentTouristicEvent = null;
57
73
  const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;
58
74
  state.currentTrek = null;
59
75
  this.currentTrekId = event.detail;
@@ -62,7 +78,7 @@ const GrwApp = class {
62
78
  const url = new URL(window.location.toString());
63
79
  url.searchParams.set('trek', this.currentTrekId.toString());
64
80
  if (state.currentTrekSteps) {
65
- url.searchParams.set('parentTrek', parentTrek.toString());
81
+ url.searchParams.set('parenttrek', parentTrek.toString());
66
82
  }
67
83
  window.history.pushState({}, '', url);
68
84
  }
@@ -73,7 +89,31 @@ const GrwApp = class {
73
89
  this.showTrekMap = false;
74
90
  const url = new URL(window.location.toString());
75
91
  url.searchParams.set('trek', this.currentTrekId.toString());
76
- url.searchParams.delete('parentTrek');
92
+ url.searchParams.delete('parenttrek');
93
+ window.history.pushState({}, '', url);
94
+ }
95
+ onTouristicContentCardPress(event) {
96
+ state.currentTrek = null;
97
+ this.currentTrekId = null;
98
+ this.showTrek = false;
99
+ this.currentTouristicContentId = event.detail;
100
+ this.showTouristicContent = true;
101
+ this.showTouristicContentMap = false;
102
+ const url = new URL(window.location.toString());
103
+ url.searchParams.delete('trek');
104
+ url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());
105
+ window.history.pushState({}, '', url);
106
+ }
107
+ onTouristiceEventCardPress(event) {
108
+ state.currentTrek = null;
109
+ this.currentTrekId = null;
110
+ this.showTrek = false;
111
+ this.currentTouristicEventId = event.detail;
112
+ this.showTouristicEvent = true;
113
+ this.showTouristicEventMap = false;
114
+ const url = new URL(window.location.toString());
115
+ url.searchParams.delete('trek');
116
+ url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());
77
117
  window.history.pushState({}, '', url);
78
118
  }
79
119
  onWindowResize() {
@@ -88,14 +128,32 @@ const GrwApp = class {
88
128
  window.dispatchEvent(new window.Event('resize'));
89
129
  }
90
130
  componentWillLoad() {
131
+ if (this.treks) {
132
+ state.mode = 'treks';
133
+ }
134
+ else if (this.touristicContents) {
135
+ state.mode = 'touristicContents';
136
+ }
91
137
  const url = new URL(window.location.toString());
92
138
  const trekParam = url.searchParams.get('trek');
93
- const parentTrekId = url.searchParams.get('parentTrek');
139
+ const parentTrekId = url.searchParams.get('parenttrek');
140
+ const touristicContentParam = url.searchParams.get('touristiccontent');
141
+ const touristicEventParam = url.searchParams.get('touristicevent');
94
142
  if (trekParam) {
95
- window.history.replaceState({ isInitialHistoryWithTrek: true }, '', url);
143
+ window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
96
144
  state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;
97
145
  this.currentTrekId = Number(trekParam);
98
- this.showTrek = !this.showTrek;
146
+ this.showTrek = true;
147
+ }
148
+ else if (touristicContentParam) {
149
+ window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
150
+ this.currentTouristicContentId = Number(touristicContentParam);
151
+ this.showTouristicContent = true;
152
+ }
153
+ else if (touristicEventParam) {
154
+ window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
155
+ this.currentTouristicEventId = Number(touristicEventParam);
156
+ this.showTouristicEvent = true;
99
157
  }
100
158
  }
101
159
  componentDidLoad() {
@@ -103,34 +161,45 @@ const GrwApp = class {
103
161
  if (state.trekNetworkError) {
104
162
  const urlRedirect = new URL(window.location.toString());
105
163
  urlRedirect.searchParams.delete('trek');
106
- urlRedirect.searchParams.delete('parentTrek');
164
+ urlRedirect.searchParams.delete('parenttrek');
165
+ urlRedirect.searchParams.delete('touristiccontent');
166
+ urlRedirect.searchParams.delete('touristicevent');
107
167
  window.history.replaceState({}, '', urlRedirect);
108
- this.onTrekDetailsClose();
168
+ this.onDetailsClose();
109
169
  }
110
170
  });
111
171
  window.addEventListener('popstate', this.handlePopStateBind, false);
112
172
  this.handleView();
113
173
  }
114
- onTrekDetailsClose() {
174
+ onDetailsClose() {
175
+ this.currentTouristicContentId = null;
176
+ this.showTouristicContent = false;
177
+ this.showTouristicContentMap = false;
178
+ this.showTouristicEvent = false;
179
+ this.showTouristicEventMap = false;
180
+ state.currentTouristicContent = null;
181
+ state.currentTouristicEvent = null;
115
182
  state.currentTrek = null;
116
183
  state.currentTrekSteps = null;
117
184
  state.parentTrekId = null;
118
185
  this.currentTrekId = null;
119
- this.showTrek = !this.showTrek;
186
+ this.showTrek = false;
120
187
  }
121
188
  handleView() {
122
189
  this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;
123
- this.showTreksMap = this.isLargeView;
190
+ this.showHomeMap = this.isLargeView;
124
191
  this.showTrekMap = this.isLargeView;
125
192
  }
126
193
  handleFilters() {
127
194
  this.showFilters = !this.showFilters;
128
195
  }
129
196
  handleBackButton() {
130
- if (window.history.state && window.history.state.isInitialHistoryWithTrek) {
131
- this.onTrekDetailsClose();
197
+ if (window.history.state && window.history.state.isInitialHistoryWithDetails) {
198
+ this.onDetailsClose();
132
199
  const url = new URL(window.location.toString());
133
200
  url.searchParams.delete('trek');
201
+ url.searchParams.delete('touristiccontent');
202
+ url.searchParams.delete('touristicevent');
134
203
  window.history.pushState({}, '', url);
135
204
  }
136
205
  else {
@@ -140,27 +209,93 @@ const GrwApp = class {
140
209
  handlePopState() {
141
210
  const url = new URL(window.location.toString());
142
211
  const trekParam = Number(url.searchParams.get('trek'));
212
+ const touristicContentParam = url.searchParams.get('touristiccontent');
213
+ const touristicEventParam = url.searchParams.get('touristicevent');
143
214
  if (trekParam && this.currentTrekId !== trekParam) {
215
+ this.currentTouristicContentId = null;
216
+ this.showTouristicContent = false;
217
+ this.showTouristicEvent = false;
218
+ state.currentTouristicContent = null;
219
+ state.currentTouristicEvent = null;
144
220
  state.currentTrek = null;
145
221
  this.currentTrekId = trekParam;
146
222
  this.showTrek = true;
147
223
  }
148
- else if (!trekParam) {
149
- this.onTrekDetailsClose();
224
+ else if (!trekParam && !touristicContentParam && !touristicEventParam) {
225
+ this.onDetailsClose();
150
226
  }
151
227
  }
152
228
  handleShowMap() {
153
229
  if (this.currentTrekId) {
154
230
  this.showTrekMap = !this.showTrekMap;
155
231
  }
232
+ else if (this.showTouristicContent) {
233
+ this.showTouristicContentMap = !this.showTouristicContentMap;
234
+ }
235
+ else if (this.showTouristicEvent) {
236
+ this.showTouristicEventMap = !this.showTouristicEventMap;
237
+ }
156
238
  else {
157
- this.showTreksMap = !this.showTreksMap;
239
+ this.showHomeMap = !this.showHomeMap;
158
240
  }
159
241
  }
242
+ getMapVisibilityIconButton() {
243
+ let mapIconButton;
244
+ if (this.showTrek) {
245
+ mapIconButton = this.showTrekMap ? 'summarize' : 'map';
246
+ }
247
+ else if (this.showTouristicContent) {
248
+ mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';
249
+ }
250
+ else if (this.showTouristicEvent) {
251
+ mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';
252
+ }
253
+ else {
254
+ mapIconButton = this.showHomeMap ? 'list' : 'map';
255
+ }
256
+ return mapIconButton;
257
+ }
258
+ getMapVisibilityLabelButton() {
259
+ let mapLabelButton;
260
+ if (this.showTrek) {
261
+ mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;
262
+ }
263
+ else if (this.showTouristicContent) {
264
+ mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;
265
+ }
266
+ else if (this.showTouristicEvent) {
267
+ mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;
268
+ }
269
+ else {
270
+ mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;
271
+ }
272
+ return mapLabelButton;
273
+ }
160
274
  disconnectedCallback() {
161
275
  reset();
162
276
  window.removeEventListener('popstate', this.handlePopStateBind);
163
277
  }
278
+ changeMode(mode) {
279
+ state.searchValue = '';
280
+ if (mode === 'treks') {
281
+ treksFilters.forEach(filter => {
282
+ state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
283
+ });
284
+ state.selectedActivitiesFilters = 0;
285
+ state.selectedThemesFilters = 0;
286
+ state.selectedLocationFilters = 0;
287
+ state.currentTreks = handleTreksFiltersAndSearch();
288
+ }
289
+ else if (mode === 'touristicContents') {
290
+ touristicContentsFilters.forEach(filter => {
291
+ state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
292
+ });
293
+ state.selectedActivitiesFilters = 0;
294
+ state.selectedLocationFilters = 0;
295
+ state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();
296
+ }
297
+ state.mode = mode;
298
+ }
164
299
  render() {
165
300
  return (h(Host, { style: {
166
301
  '--color-primary-app': this.colorPrimaryApp,
@@ -180,19 +315,31 @@ const GrwApp = class {
180
315
  '--fab-color': this.fabColor,
181
316
  '--app-width': this.appWidth,
182
317
  '--app-height': this.appHeight,
183
- } }, !state.currentTreks && !state.currentTrek && (h("div", { class: "init-loader-container" }, h("span", { class: "loader" }))), !this.showTrek && !state.treks && (h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !state.currentTrek && (h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId })), (state.currentTreks || state.currentTrek) && (h("div", { class: "app-container" }, h("div", { class: this.isLargeView ? 'large-view-header-container' : 'header-container' }, !this.showTrek ? (h("div", { class: "handle-search-filters-container" }, h("div", { class: "handle-search-container" }, h("grw-search", null)), h("div", { class: "handle-filters-container" }, h("button", { onClick: () => this.handleFilters(), class: "handle-filters-button" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined margin-right-icon" }, "filter_list"), translate[state.language].filter)))) : (h("div", { class: "arrow-back-container" }, h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), h("div", { class: `content-container ${this.showTrek ? 'content-trek' : 'content-treks'}` }, h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, h("grw-treks-list", { "reset-store-on-disconnected": "false", "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), this.showTrek && !state.currentTrek && (h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, h("span", { class: "loader" }))), state.currentTrek && (h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, h("grw-trek-detail", { style: {
318
+ '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',
319
+ } }, !state.currentTreks && !state.currentTrek && !state.currentTouristicContent && !state.currentTouristicEvent && !state.touristicContents && (h("div", { class: "init-loader-container" }, h("span", { class: "loader" }))), this.treks && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.treks && (h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !state.currentTrek && (h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId })), this.showTouristicContent && this.currentTouristicContentId && (h("grw-touristic-content-card-provider", { api: this.api, languages: this.languages, "touristic-content-id": this.currentTouristicContentId })), this.showTouristicEvent && this.currentTouristicEventId && (h("grw-touristic-event-provider", { api: this.api, languages: this.languages, "touristic-event-id": this.currentTouristicEventId })), this.touristicContents && !state.touristicContents && !this.showTouristicContent && (h("grw-touristic-content-provider", { api: this.api, languages: this.languages })), (state.currentTreks || state.currentTrek || state.touristicContents || state.currentTouristicContent || state.currentTouristicEvent) && (h("div", { class: "app-container" }, h("div", { class: `${this.isLargeView ? 'large-view-header-container' : 'header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && (h("div", { class: "segmented-buttons-container" }, this.treks && (h("label", { class: `segment${state.mode === 'treks' ? ' selected-segment' : ''}`, onClick: () => this.changeMode('treks') }, translate[state.language].home.segment.treks)), this.touristicContents && (h("label", { class: `segment${state.mode === 'touristicContents' ? ' selected-segment' : ''}`, onClick: () => this.changeMode('touristicContents') }, translate[state.language].home.segment.touristicContents)))), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (h("div", { class: "handle-search-filters-container" }, h("div", { class: "handle-search-container" }, h("grw-search", null)), h("div", { class: "handle-filters-container" }, h("button", { onClick: () => this.handleFilters(), class: "handle-filters-button" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined margin-right-icon" }, "filter_list"), translate[state.language].filter)))) : (h("div", { class: "arrow-back-container" }, h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), h("div", { class: `content-container ${this.showTrek ? 'content-trek' : 'content-treks'}` }, h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, state.mode === 'treks' && this.treks && (h("grw-treks-list", { "reset-store-on-disconnected": "false", "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), state.mode === 'touristicContents' && this.touristicContents && (h("grw-touristic-contents-list", { "reset-store-on-disconnected": "false", "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow }))), ((this.showTrek && !state.currentTrek) ||
320
+ (this.showTouristicContent && !state.currentTouristicContent) ||
321
+ (this.showTouristicEvent && !state.currentTouristicEvent)) && (h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, h("span", { class: "loader" }))), state.currentTrek && (h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, h("grw-trek-detail", { style: {
184
322
  visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
185
323
  zIndex: !this.showTrekMap ? '1' : '0',
186
- }, "reset-store-on-disconnected": "false", "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView }))), h("grw-map", { "reset-store-on-disconnected": "false", class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
187
- visibility: (this.showTreksMap && !this.showTrek) || (this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
188
- zIndex: this.showTrekMap ? '1' : '0',
189
- }, center: this.center, zoom: this.zoom, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-poi-icon": this.colorPoiIcon, "is-large-view": this.isLargeView, "use-gradient": this.useGradient })), (!this.showTrek || (this.showTrek && state.currentTrek)) && (h("div", { class: "map-visibility-button-container" }, h("button", { onClick: () => this.handleShowMap(), class: "map-visibility-button", style: { display: this.isLargeView ? 'none' : 'flex' } }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, this.showTrek ? (this.showTrekMap ? 'summarize' : 'map') : this.showTreksMap ? 'list' : 'map'), this.showTrek
190
- ? this.showTrekMap
191
- ? translate[state.language].showDetails
192
- : translate[state.language].showRoute
193
- : this.showTreksMap
194
- ? translate[state.language].showList
195
- : translate[state.language].showMap))))), !this.showTrek && this.showFilters && h("grw-filters", { handleFilters: () => this.handleFilters() })));
324
+ }, "reset-store-on-disconnected": "false", "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView }))), this.showTouristicContent && (h("div", { class: this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container' }, h("grw-touristic-content-detail", { style: {
325
+ visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',
326
+ zIndex: !this.showTouristicContentMap ? '1' : '0',
327
+ }, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), this.showTouristicEvent && (h("div", { class: this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container' }, h("grw-touristic-event-detail", { style: {
328
+ visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',
329
+ zIndex: !this.showTouristicEventMap ? '1' : '0',
330
+ }, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), h("grw-map", { "reset-store-on-disconnected": "false", class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
331
+ visibility: (this.showHomeMap && !this.showTrek) ||
332
+ (this.showTrekMap && this.showTrek) ||
333
+ (this.showTouristicContentMap && this.showTouristicContent) ||
334
+ (this.showTouristicEventMap && this.showTouristicEvent) ||
335
+ this.isLargeView
336
+ ? 'visible'
337
+ : 'hidden',
338
+ zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',
339
+ }, center: this.center, zoom: this.zoom, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-poi-icon": this.colorPoiIcon, "is-large-view": this.isLargeView, "use-gradient": this.useGradient })), ((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||
340
+ (this.showTrek && state.currentTrek) ||
341
+ (this.showTouristicContent && state.currentTouristicContent) ||
342
+ (this.showTouristicEvent && state.currentTouristicEvent)) && (h("div", { class: "map-visibility-button-container" }, h("button", { onClick: () => this.handleShowMap(), class: "map-visibility-button", style: { display: this.isLargeView ? 'none' : 'flex' } }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, this.getMapVisibilityIconButton()), this.getMapVisibilityLabelButton()))))), !this.showTrek && this.showFilters && h("grw-filters", { handleFilters: () => this.handleFilters() })));
196
343
  }
197
344
  get appElement() { return getElement(this); }
198
345
  static get watchers() { return {
Binary file
Binary file
@@ -1 +1 @@
1
- {"file":"grw-app.entry.js","mappings":";;;;AAAA,MAAM,SAAS,GAAG,i3KAAi3K;;MCSt3K,MAAM;;;IAgDjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI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AW;UACrC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,SAAS;QACrC,IAAI,CAAC,YAAY;UACjB,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ;UAClC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,CAC9B,CACL,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAI,mBAAa,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACxG,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.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\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n box-shadow: var(--elevation-2);\n height: 64px;\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - 64px);\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - 64px);\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list {\n max-height: calc(100vh - 64px);\n}\n\ngrw-trek-detail {\n max-height: calc(100vh - 64px - 48px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTreksMap = false;\n @State() showTrekMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parentTrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parentTrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parentTrek');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithTrek: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = !this.showTrek;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parentTrek');\n window.history.replaceState({}, '', urlRedirect);\n this.onTrekDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onTrekDetailsClose() {\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = !this.showTrek;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showTreksMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithTrek) {\n this.onTrekDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n if (trekParam && this.currentTrekId !== trekParam) {\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam) {\n this.onTrekDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else {\n this.showTreksMap = !this.showTreksMap;\n }\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n render() {\n return (\n <Host\n style={{\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n }}\n >\n {!state.currentTreks && !state.currentTrek && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {!this.showTrek && !state.treks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId}></grw-trek-provider>\n )}\n {(state.currentTreks || state.currentTrek) && (\n <div class=\"app-container\">\n <div class={this.isLargeView ? 'large-view-header-container' : 'header-container'}>\n {!this.showTrek ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n filter_list\n </span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n <grw-treks-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\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 ></grw-treks-list>\n </div>\n {this.showTrek && !state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n )}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected=\"false\"\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n ></grw-trek-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected=\"false\"\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility: (this.showTreksMap && !this.showTrek) || (this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: this.showTrekMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n </div>\n {(!this.showTrek || (this.showTrek && state.currentTrek)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n {this.showTrek ? (this.showTrekMap ? 'summarize' : 'map') : this.showTreksMap ? 'list' : 'map'}\n </span>\n {this.showTrek\n ? this.showTrekMap\n ? translate[state.language].showDetails\n : translate[state.language].showRoute\n : this.showTreksMap\n ? translate[state.language].showList\n : translate[state.language].showMap}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"grw-app.entry.js","mappings":";;;;;AAAA,MAAM,SAAS,GAAG,g2NAAg2N;;MCWr2N,MAAM;;;IA0DjB,kBAAa,GAAG,IAAI,CAAC;IACrB,uBAAkB,GAAyB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBAzDtD,KAAK;gCACO,KAAK;8BACP,KAAK;uBACZ,KAAK;uBACL,KAAK;mCACO,KAAK;iCACP,KAAK;uBACf,KAAK;uBACL,KAAK;;;;oBAID,MAAM;qBACL,OAAO;;qBAEf,IAAI;;;;;;;;;;;;;;mBAcN,KAAK;2BAEG,SAAS;0BACV,SAAS;wBACX,SAAS;0BACP,SAAS;+BACJ,SAAS;iCACP,SAAS;iCACT,SAAS;mCACP,SAAS;mCACT,SAAS;qCACP,SAAS;2BACnB,SAAS;qCACC,SAAS;oCACV,SAAS;8BACf,SAAS;oBACnB,SAAS;yBAEJ,SAAS;8B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CAAC,WAAW,GACrB,CACP,EACL,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAAI,CAAC,IAAI,CAAC,kBAAkB;OACxE,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,WAAW,CAAC;OACnC,IAAI,CAAC,oBAAoB,IAAI,KAAK,CAAC,uBAAuB,CAAC;OAC3D,IAAI,CAAC,kBAAkB,IAAI,KAAK,CAAC,qBAAqB,CAAC,MACxD,WAAK,KAAK,EAAC,iCAAiC,IAC1C,cAAQ,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,EAAE,KAAK,EAAC,uBAAuB,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,MAAM,GAAG,MAAM,EAAE,IAE/H,YAAM,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,4CAA4C,IACvE,IAAI,CAAC,0BAA0B,EAAE,CAC7B,EACN,IAAI,CAAC,2BAA2B,EAAE,CAC5B,CACL,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAI,mBAAa,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACxG,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.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\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n box-shadow: var(--elevation-2);\n height: var(--header-height);\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.header-detail {\n height: 64px;\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.app-touristic-content-detail-container,\n.app-touristic-event-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n max-width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list,\ngrw-touristic-content-detail,\ngrw-touristic-event-detail {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail {\n max-height: calc(100vh - var(--header-height) - 48px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.segmented-buttons-container {\n display: flex;\n justify-content: center;\n width: calc(100% - 32px);\n height: 40px;\n margin: 16px;\n border: 1px solid var(--color-outline);\n border-radius: 20px;\n line-height: 20px;\n .segment {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface-variant);\n background-color: transparent;\n border-radius: 0px;\n min-width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n &:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n }\n &:not(:last-child) {\n border-right: 1px solid var(--color-outline);\n }\n &:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n }\n }\n .selected-segment {\n color: var(--color-on-secondary-container);\n background-color: var(--color-secondary-container);\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\nimport { mode } from 'types/types';\nimport { handleTouristicContentsFiltersAndSearch, handleTreksFiltersAndSearch, touristicContentsFilters, treksFilters } from 'utils/utils';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n this.showTouristicEvent = true;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parenttrek');\n urlRedirect.searchParams.delete('touristiccontent');\n urlRedirect.searchParams.delete('touristicevent');\n window.history.replaceState({}, '', urlRedirect);\n this.onDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = false;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n\n return mapLabelButton;\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n changeMode(mode: mode) {\n state.searchValue = '';\n if (mode === 'treks') {\n treksFilters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedThemesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else if (mode === 'touristicContents') {\n touristicContentsFilters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();\n }\n state.mode = mode;\n }\n\n render() {\n return (\n <Host\n style={{\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',\n }}\n >\n {!state.currentTreks && !state.currentTrek && !state.currentTouristicContent && !state.currentTouristicEvent && !state.touristicContents && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {this.treks && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.treks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId}></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-card-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n ></grw-touristic-content-card-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider api={this.api} languages={this.languages} touristic-event-id={this.currentTouristicEventId}></grw-touristic-event-provider>\n )}\n {this.touristicContents && !state.touristicContents && !this.showTouristicContent && (\n <grw-touristic-content-provider api={this.api} languages={this.languages}></grw-touristic-content-provider>\n )}\n {(state.currentTreks || state.currentTrek || state.touristicContents || state.currentTouristicContent || state.currentTouristicEvent) && (\n <div class=\"app-container\">\n <div\n class={`${this.isLargeView ? 'large-view-header-container' : 'header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && (\n <div class=\"segmented-buttons-container\">\n {this.treks && (\n <label class={`segment${state.mode === 'treks' ? ' selected-segment' : ''}`} onClick={() => this.changeMode('treks')}>\n {translate[state.language].home.segment.treks}\n </label>\n )}\n {this.touristicContents && (\n <label class={`segment${state.mode === 'touristicContents' ? ' selected-segment' : ''}`} onClick={() => this.changeMode('touristicContents')}>\n {translate[state.language].home.segment.touristicContents}\n </label>\n )}\n </div>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n filter_list\n </span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n {state.mode === 'treks' && this.treks && (\n <grw-treks-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\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 ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && (\n <grw-touristic-contents-list\n reset-store-on-disconnected=\"false\"\n is-large-view={this.isLargeView}\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 ></grw-touristic-contents-list>\n )}\n </div>\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent)) && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n )}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected=\"false\"\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n ></grw-trek-detail>\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected=\"false\"\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n {this.getMapVisibilityIconButton()}\n </span>\n {this.getMapVisibilityLabelButton()}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}