@geotrekce/geotrek-rando-widget 0.3.5 → 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.
- package/dist/cjs/{css-shim-541cb78a.js → css-shim-68410b74.js} +2 -2
- package/dist/cjs/css-shim-68410b74.js.br +0 -0
- package/dist/cjs/css-shim-68410b74.js.gz +0 -0
- package/dist/cjs/{css-shim-541cb78a.js.map → css-shim-68410b74.js.map} +1 -1
- package/dist/cjs/{dom-7f26de17.js → dom-225fc508.js} +2 -2
- package/dist/cjs/dom-225fc508.js.br +0 -0
- package/dist/cjs/dom-225fc508.js.gz +0 -0
- package/dist/cjs/{dom-7f26de17.js.map → dom-225fc508.js.map} +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js +4 -4
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.map +1 -1
- package/dist/cjs/grw-app.cjs.entry.js +175 -50
- package/dist/cjs/grw-app.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-filter.cjs.entry.js +95 -0
- package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/{grw-filter_7.cjs.entry.js → grw-filters_12.cjs.entry.js} +855 -74
- package/dist/cjs/grw-filters_12.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filters_12.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filters_12.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js +294 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -0
- package/dist/cjs/grw-select-language.cjs.entry.js +3 -3
- package/dist/cjs/grw-select-language.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-select-language.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-select-language.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js +62 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-touristic-event-card-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/{i18n-691abc83.js → i18n-cfc000c9.js} +51 -9
- package/dist/cjs/i18n-cfc000c9.js.br +0 -0
- package/dist/cjs/i18n-cfc000c9.js.gz +0 -0
- package/dist/cjs/i18n-cfc000c9.js.map +1 -0
- package/dist/cjs/{index-37f5c77b.js → index-9e4fe3f0.js} +2 -2
- package/dist/cjs/index-9e4fe3f0.js.br +0 -0
- package/dist/cjs/index-9e4fe3f0.js.gz +0 -0
- package/dist/cjs/{index-37f5c77b.js.map → index-9e4fe3f0.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{shadow-css-2e025b8c.js → shadow-css-3c339190.js} +2 -2
- package/dist/cjs/shadow-css-3c339190.js.br +0 -0
- package/dist/cjs/shadow-css-3c339190.js.gz +0 -0
- package/dist/cjs/{shadow-css-2e025b8c.js.map → shadow-css-3c339190.js.map} +1 -1
- package/dist/cjs/{store-a36efc0f.js → store-d20ae78f.js} +12 -3
- package/dist/cjs/store-d20ae78f.js.br +0 -0
- package/dist/cjs/store-d20ae78f.js.gz +0 -0
- package/dist/cjs/store-d20ae78f.js.map +1 -0
- package/dist/cjs/{utils-151d3b05.js → utils-332e41b3.js} +83 -7
- package/dist/cjs/utils-332e41b3.js.br +0 -0
- package/dist/cjs/utils-332e41b3.js.gz +0 -0
- package/dist/cjs/utils-332e41b3.js.map +1 -0
- package/dist/collection/collection-manifest.json +10 -2
- package/dist/collection/components/grw-app/grw-app.css +48 -110
- package/dist/collection/components/grw-app/grw-app.css.br +0 -0
- package/dist/collection/components/grw-app/grw-app.css.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js +245 -66
- package/dist/collection/components/grw-app/grw-app.js.br +0 -0
- package/dist/collection/components/grw-app/grw-app.js.gz +0 -0
- package/dist/collection/components/grw-app/grw-app.js.map +1 -1
- package/dist/collection/components/grw-filter/grw-filter.css +75 -0
- package/dist/collection/components/grw-filter/grw-filter.css.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.css.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js +73 -8
- package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
- package/dist/collection/components/grw-filters/grw-filters.css +123 -0
- package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js +108 -0
- package/dist/collection/components/grw-filters/grw-filters.js.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.map +1 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js +1 -1
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.br +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.gz +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.map +1 -1
- package/dist/collection/components/grw-map/grw-map.css +142 -14
- package/dist/collection/components/grw-map/grw-map.css.br +0 -0
- package/dist/collection/components/grw-map/grw-map.css.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js +474 -30
- package/dist/collection/components/grw-map/grw-map.js.br +0 -0
- package/dist/collection/components/grw-map/grw-map.js.gz +0 -0
- package/dist/collection/components/grw-map/grw-map.js.map +1 -1
- package/dist/collection/components/grw-search/grw-search.js +8 -3
- package/dist/collection/components/grw-search/grw-search.js.br +0 -0
- package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
- package/dist/collection/components/grw-search/grw-search.js.map +1 -1
- package/dist/collection/components/grw-select-language/grw-select-language.js +1 -1
- package/dist/collection/components/grw-select-language/grw-select-language.js.br +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.gz +0 -0
- package/dist/collection/components/grw-select-language/grw-select-language.js.map +1 -1
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css +671 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js +201 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.map +1 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +691 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +244 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +43 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +220 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.gz +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js.map +1 -0
- package/dist/collection/components/{grw-touristic-content/grw-touristic-content.css → grw-touristic-event/grw-touristic-event-card.css} +43 -12
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js +102 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.map +1 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +691 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +242 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +1 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +1 -1
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +20 -6
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +52 -7
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.css +7 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
- package/dist/collection/i18n/i18n.js +50 -8
- package/dist/collection/i18n/i18n.js.br +0 -0
- package/dist/collection/i18n/i18n.js.gz +0 -0
- package/dist/collection/i18n/i18n.js.map +1 -1
- package/dist/collection/store/grw-touristic-content-provider.js +111 -0
- package/dist/collection/store/grw-touristic-content-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js.map +1 -0
- package/dist/collection/store/grw-touristic-contents-provider.js +117 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-contents-provider.js.map +1 -0
- package/dist/collection/store/grw-touristic-event-provider.js +111 -0
- package/dist/collection/store/grw-touristic-event-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-event-provider.js.map +1 -0
- package/dist/collection/store/grw-trek-provider.js +11 -3
- package/dist/collection/store/grw-trek-provider.js.br +0 -0
- package/dist/collection/store/grw-trek-provider.js.gz +0 -0
- package/dist/collection/store/grw-trek-provider.js.map +1 -1
- package/dist/collection/store/store.js +10 -1
- package/dist/collection/store/store.js.br +0 -0
- package/dist/collection/store/store.js.gz +0 -0
- package/dist/collection/store/store.js.map +1 -1
- package/dist/collection/stories/App.js +2 -2
- package/dist/collection/stories/App.js.br +0 -0
- package/dist/collection/stories/App.js.gz +0 -0
- package/dist/collection/stories/App.stories.js +1 -1
- package/dist/collection/stories/App.stories.js.br +0 -0
- package/dist/collection/stories/App.stories.js.gz +0 -0
- package/dist/collection/stories/TrekCard.js +2 -2
- package/dist/collection/stories/TrekCard.js.br +0 -0
- package/dist/collection/stories/TrekCard.js.gz +0 -0
- package/dist/collection/stories/TrekCard.stories.js +1 -1
- package/dist/collection/stories/TrekCard.stories.js.br +0 -0
- package/dist/collection/stories/TrekCard.stories.js.gz +0 -0
- package/dist/collection/stories/TrekDetail.js +2 -2
- package/dist/collection/stories/TrekDetail.js.br +0 -0
- package/dist/collection/stories/TrekDetail.js.gz +0 -0
- package/dist/collection/stories/TrekDetail.stories.js +1 -1
- package/dist/collection/stories/TrekDetail.stories.js.br +0 -0
- package/dist/collection/stories/TrekDetail.stories.js.gz +0 -0
- package/dist/collection/stories/TreksList.js +2 -2
- package/dist/collection/stories/TreksList.js.br +0 -0
- package/dist/collection/stories/TreksList.js.gz +0 -0
- package/dist/collection/stories/TreksList.stories.js +1 -1
- package/dist/collection/stories/TreksList.stories.js.br +0 -0
- package/dist/collection/stories/TreksList.stories.js.gz +0 -0
- package/dist/collection/types/types.js.map +1 -1
- package/dist/collection/utils/utils.js +77 -3
- package/dist/collection/utils/utils.js.br +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +2 -2
- package/dist/esm/css-shim-fa54d62f.js.br +0 -0
- package/dist/esm/css-shim-fa54d62f.js.gz +0 -0
- package/dist/esm/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
- package/dist/esm/{dom-60e3e2ad.js → dom-8de30773.js} +2 -2
- package/dist/esm/dom-8de30773.js.br +0 -0
- package/dist/esm/dom-8de30773.js.gz +0 -0
- package/dist/esm/{dom-60e3e2ad.js.map → dom-8de30773.js.map} +1 -1
- package/dist/esm/geotrek-rando-widget.js +5 -5
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/geotrek-rando-widget.js.map +1 -1
- package/dist/esm/grw-app.entry.js +175 -50
- package/dist/esm/grw-app.entry.js.br +0 -0
- package/dist/esm/grw-app.entry.js.gz +0 -0
- package/dist/esm/grw-app.entry.js.map +1 -1
- package/dist/esm/grw-filter.entry.js +91 -0
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-filter.entry.js.map +1 -0
- package/dist/esm/{grw-filter_7.entry.js → grw-filters_12.entry.js} +850 -74
- package/dist/esm/grw-filters_12.entry.js.br +0 -0
- package/dist/esm/grw-filters_12.entry.js.gz +0 -0
- package/dist/esm/grw-filters_12.entry.js.map +1 -0
- package/dist/esm/grw-information-desk_6.entry.js +285 -0
- package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm/grw-select-language.entry.js +3 -3
- package/dist/esm/grw-select-language.entry.js.br +0 -0
- package/dist/esm/grw-select-language.entry.js.gz +0 -0
- package/dist/esm/grw-select-language.entry.js.map +1 -1
- package/dist/esm/grw-touristic-event-card-provider.entry.js +58 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.br +0 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.gz +0 -0
- package/dist/esm/grw-touristic-event-card-provider.entry.js.map +1 -0
- package/dist/esm/{i18n-16a29f6f.js → i18n-60e9fdd3.js} +51 -9
- package/dist/esm/i18n-60e9fdd3.js.br +0 -0
- package/dist/esm/i18n-60e9fdd3.js.gz +0 -0
- package/dist/esm/i18n-60e9fdd3.js.map +1 -0
- package/dist/esm/{index-82644551.js → index-d5cacae4.js} +3 -3
- package/dist/esm/index-d5cacae4.js.br +0 -0
- package/dist/esm/index-d5cacae4.js.gz +0 -0
- package/dist/esm/{index-82644551.js.map → index-d5cacae4.js.map} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +2 -2
- package/dist/esm/shadow-css-af2290df.js.br +0 -0
- package/dist/esm/shadow-css-af2290df.js.gz +0 -0
- package/dist/esm/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
- package/dist/esm/{store-6101ed72.js → store-032ab1f5.js} +12 -3
- package/dist/esm/store-032ab1f5.js.br +0 -0
- package/dist/esm/store-032ab1f5.js.gz +0 -0
- package/dist/esm/store-032ab1f5.js.map +1 -0
- package/dist/esm/{utils-83029b76.js → utils-b09ac7c9.js} +80 -6
- package/dist/esm/utils-b09ac7c9.js.br +0 -0
- package/dist/esm/utils-b09ac7c9.js.gz +0 -0
- package/dist/esm/utils-b09ac7c9.js.map +1 -0
- package/dist/esm-es5/{css-shim-8cc70a22.js → css-shim-fa54d62f.js} +1 -1
- package/dist/esm-es5/css-shim-fa54d62f.js.br +0 -0
- package/dist/esm-es5/css-shim-fa54d62f.js.gz +0 -0
- package/dist/esm-es5/{css-shim-8cc70a22.js.map → css-shim-fa54d62f.js.map} +1 -1
- package/dist/esm-es5/{dom-60e3e2ad.js → dom-8de30773.js} +1 -1
- package/dist/esm-es5/dom-8de30773.js.br +0 -0
- package/dist/esm-es5/dom-8de30773.js.gz +0 -0
- package/dist/esm-es5/{dom-60e3e2ad.js.map → dom-8de30773.js.map} +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app.entry.js +1 -1
- package/dist/esm-es5/grw-app.entry.js.br +0 -0
- package/dist/esm-es5/grw-app.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app.entry.js.map +1 -1
- package/dist/esm-es5/grw-filter.entry.js +3 -0
- package/dist/esm-es5/grw-filter.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter.entry.js.map +1 -0
- package/dist/esm-es5/{grw-filter_7.entry.js → grw-filters_12.entry.js} +4 -4
- package/dist/esm-es5/grw-filters_12.entry.js.br +0 -0
- package/dist/esm-es5/grw-filters_12.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filters_12.entry.js.map +1 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js +2 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -0
- package/dist/esm-es5/grw-select-language.entry.js +1 -1
- package/dist/esm-es5/grw-select-language.entry.js.br +0 -0
- package/dist/esm-es5/grw-select-language.entry.js.gz +0 -0
- package/dist/esm-es5/grw-select-language.entry.js.map +1 -1
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js +2 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-touristic-event-card-provider.entry.js.map +1 -0
- package/dist/esm-es5/i18n-60e9fdd3.js +2 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.br +0 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.gz +0 -0
- package/dist/esm-es5/i18n-60e9fdd3.js.map +1 -0
- package/dist/esm-es5/{index-82644551.js → index-d5cacae4.js} +3 -3
- package/dist/esm-es5/index-d5cacae4.js.br +0 -0
- package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
- package/dist/esm-es5/{index-82644551.js.map → index-d5cacae4.js.map} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/{shadow-css-19be24ee.js → shadow-css-af2290df.js} +1 -1
- package/dist/esm-es5/shadow-css-af2290df.js.br +0 -0
- package/dist/esm-es5/shadow-css-af2290df.js.gz +0 -0
- package/dist/esm-es5/{shadow-css-19be24ee.js.map → shadow-css-af2290df.js.map} +1 -1
- package/dist/esm-es5/store-032ab1f5.js +2 -0
- package/dist/esm-es5/store-032ab1f5.js.br +0 -0
- package/dist/esm-es5/store-032ab1f5.js.gz +0 -0
- package/dist/esm-es5/store-032ab1f5.js.map +1 -0
- package/dist/esm-es5/utils-b09ac7c9.js +2 -0
- package/dist/esm-es5/utils-b09ac7c9.js.br +0 -0
- package/dist/esm-es5/utils-b09ac7c9.js.gz +0 -0
- package/dist/esm-es5/utils-b09ac7c9.js.map +1 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b5fc5b41.js → p-00cfef9b.js} +1 -1
- package/dist/geotrek-rando-widget/p-00cfef9b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-00cfef9b.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b5fc5b41.js.map → p-00cfef9b.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-048b3a1e.js +2 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.br +0 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-048b3a1e.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-b4e1f9ae.js → p-0c07a3f0.js} +3 -3
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-b4e1f9ae.js.map → p-0c07a3f0.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-10ee2e5e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1a0c7f72.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js +2 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1f8e7e57.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-15fed795.js → p-298a51a3.js} +1 -1
- package/dist/geotrek-rando-widget/p-298a51a3.js.br +0 -0
- package/dist/geotrek-rando-widget/p-298a51a3.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-15fed795.js.map → p-298a51a3.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-388ecec9.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-0f28420f.js → p-50daca95.js} +1 -1
- package/dist/geotrek-rando-widget/p-50daca95.js.br +0 -0
- package/dist/geotrek-rando-widget/p-50daca95.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-0f28420f.js.map → p-50daca95.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-790f5a62.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7ce01b3c.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js +2 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7eca502d.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-42a3c374.system.entry.js → p-8d2cad32.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8d2cad32.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9bc873ce.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-9d562b29.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-634eaa8f.system.js → p-9f1ebb62.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9f1ebb62.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-634eaa8f.system.js.map → p-9f1ebb62.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js +2 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b92fdd4e.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js +14 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b94b6924.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bf8d8171.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js +2 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c63228e8.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +2 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ccf92c36.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-266b2cee.system.js → p-d2c035bc.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-266b2cee.system.js.map → p-d2c035bc.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-da75716b.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-63e651bf.system.js → p-f949c1ba.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-f949c1ba.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f949c1ba.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-63e651bf.system.js.map → p-f949c1ba.system.js.map} +1 -1
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js +3 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fccc2cf2.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-2a99981a.system.js → p-fe22d872.system.js} +1 -1
- package/dist/geotrek-rando-widget/p-fe22d872.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fe22d872.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-2a99981a.system.js.map → p-fe22d872.system.js.map} +1 -1
- package/dist/types/components/grw-app/grw-app.d.ts +17 -9
- package/dist/types/components/grw-filter/grw-filter.d.ts +6 -0
- package/dist/types/components/grw-filters/grw-filters.d.ts +13 -0
- package/dist/types/components/grw-map/grw-map.d.ts +24 -2
- package/dist/types/components/grw-touristic-content/{grw-touristic-content.d.ts → grw-touristic-content-card.d.ts} +9 -1
- package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +24 -0
- package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +20 -0
- package/dist/types/components/grw-touristic-event/grw-touristic-event-card.d.ts +16 -0
- package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +24 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +10 -1
- package/dist/types/components.d.ts +216 -14
- package/dist/types/i18n/i18n.d.ts +23 -2
- package/dist/types/store/grw-touristic-content-provider.d.ts +12 -0
- package/dist/types/store/grw-touristic-contents-provider.d.ts +12 -0
- package/dist/types/store/grw-touristic-event-provider.d.ts +12 -0
- package/dist/types/store/store.d.ts +21 -3
- package/dist/types/types/types.d.ts +50 -9
- package/dist/types/utils/utils.d.ts +5 -3
- package/package.json +2 -1
- package/dist/cjs/css-shim-541cb78a.js.br +0 -0
- package/dist/cjs/css-shim-541cb78a.js.gz +0 -0
- package/dist/cjs/dom-7f26de17.js.br +0 -0
- package/dist/cjs/dom-7f26de17.js.gz +0 -0
- package/dist/cjs/grw-filter_7.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter_7.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter_7.cjs.entry.js.map +0 -1
- package/dist/cjs/grw-information-desk_5.cjs.entry.js +0 -227
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_5.cjs.entry.js.map +0 -1
- package/dist/cjs/i18n-691abc83.js.br +0 -0
- package/dist/cjs/i18n-691abc83.js.gz +0 -0
- package/dist/cjs/i18n-691abc83.js.map +0 -1
- package/dist/cjs/index-37f5c77b.js.br +0 -0
- package/dist/cjs/index-37f5c77b.js.gz +0 -0
- package/dist/cjs/shadow-css-2e025b8c.js.br +0 -0
- package/dist/cjs/shadow-css-2e025b8c.js.gz +0 -0
- package/dist/cjs/store-a36efc0f.js.br +0 -0
- package/dist/cjs/store-a36efc0f.js.gz +0 -0
- package/dist/cjs/store-a36efc0f.js.map +0 -1
- package/dist/cjs/utils-151d3b05.js.br +0 -0
- package/dist/cjs/utils-151d3b05.js.gz +0 -0
- package/dist/cjs/utils-151d3b05.js.map +0 -1
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js +0 -84
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content.js.map +0 -1
- package/dist/esm/css-shim-8cc70a22.js.br +0 -0
- package/dist/esm/css-shim-8cc70a22.js.gz +0 -0
- package/dist/esm/dom-60e3e2ad.js.br +0 -0
- package/dist/esm/dom-60e3e2ad.js.gz +0 -0
- package/dist/esm/grw-filter_7.entry.js.br +0 -0
- package/dist/esm/grw-filter_7.entry.js.gz +0 -0
- package/dist/esm/grw-filter_7.entry.js.map +0 -1
- package/dist/esm/grw-information-desk_5.entry.js +0 -219
- package/dist/esm/grw-information-desk_5.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_5.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_5.entry.js.map +0 -1
- package/dist/esm/i18n-16a29f6f.js.br +0 -0
- package/dist/esm/i18n-16a29f6f.js.gz +0 -0
- package/dist/esm/i18n-16a29f6f.js.map +0 -1
- package/dist/esm/index-82644551.js.br +0 -0
- package/dist/esm/index-82644551.js.gz +0 -0
- package/dist/esm/shadow-css-19be24ee.js.br +0 -0
- package/dist/esm/shadow-css-19be24ee.js.gz +0 -0
- package/dist/esm/store-6101ed72.js.br +0 -0
- package/dist/esm/store-6101ed72.js.gz +0 -0
- package/dist/esm/store-6101ed72.js.map +0 -1
- package/dist/esm/utils-83029b76.js.br +0 -0
- package/dist/esm/utils-83029b76.js.gz +0 -0
- package/dist/esm/utils-83029b76.js.map +0 -1
- package/dist/esm-es5/css-shim-8cc70a22.js.br +0 -0
- package/dist/esm-es5/css-shim-8cc70a22.js.gz +0 -0
- package/dist/esm-es5/dom-60e3e2ad.js.br +0 -0
- package/dist/esm-es5/dom-60e3e2ad.js.gz +0 -0
- package/dist/esm-es5/grw-filter_7.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter_7.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter_7.entry.js.map +0 -1
- package/dist/esm-es5/grw-information-desk_5.entry.js +0 -2
- package/dist/esm-es5/grw-information-desk_5.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_5.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_5.entry.js.map +0 -1
- package/dist/esm-es5/i18n-16a29f6f.js +0 -2
- package/dist/esm-es5/i18n-16a29f6f.js.br +0 -0
- package/dist/esm-es5/i18n-16a29f6f.js.gz +0 -0
- package/dist/esm-es5/i18n-16a29f6f.js.map +0 -1
- package/dist/esm-es5/index-82644551.js.br +0 -0
- package/dist/esm-es5/index-82644551.js.gz +0 -0
- package/dist/esm-es5/shadow-css-19be24ee.js.br +0 -0
- package/dist/esm-es5/shadow-css-19be24ee.js.gz +0 -0
- package/dist/esm-es5/store-6101ed72.js +0 -2
- package/dist/esm-es5/store-6101ed72.js.br +0 -0
- package/dist/esm-es5/store-6101ed72.js.gz +0 -0
- package/dist/esm-es5/store-6101ed72.js.map +0 -1
- package/dist/esm-es5/utils-83029b76.js +0 -2
- package/dist/esm-es5/utils-83029b76.js.br +0 -0
- package/dist/esm-es5/utils-83029b76.js.gz +0 -0
- package/dist/esm-es5/utils-83029b76.js.map +0 -1
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-05cd2f4e.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0f28420f.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0f28420f.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1266b9a7.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js +0 -2
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-148f5f1d.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-15fed795.js.br +0 -0
- package/dist/geotrek-rando-widget/p-15fed795.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-266b2cee.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-266b2cee.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js +0 -2
- package/dist/geotrek-rando-widget/p-291b7192.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-291b7192.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-2a99981a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-2a99981a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-370f741f.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-370f741f.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-42a3c374.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5a6577cd.js +0 -2
- package/dist/geotrek-rando-widget/p-5a6577cd.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5a6577cd.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5a6577cd.js.map +0 -1
- package/dist/geotrek-rando-widget/p-634eaa8f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-634eaa8f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-63e651bf.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-63e651bf.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d738828.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6fe69455.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-703802d9.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-703802d9.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-b4e1f9ae.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b4e1f9ae.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-b5fc5b41.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b5fc5b41.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bacd6952.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-d0083a9b.js +0 -2
- package/dist/geotrek-rando-widget/p-d0083a9b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d0083a9b.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d0083a9b.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e653caed.js +0 -2
- package/dist/geotrek-rando-widget/p-e653caed.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e653caed.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e653caed.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js +0 -2
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fe1917d3.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js +0 -2
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ff9cac04.system.js.map +0 -1
|
@@ -9,9 +9,11 @@ import { translate } from 'i18n/i18n';
|
|
|
9
9
|
import { getTrekGeometry } from 'services/treks.service';
|
|
10
10
|
export class GrwMap {
|
|
11
11
|
constructor() {
|
|
12
|
+
this.maxZoom = 19;
|
|
12
13
|
this.userLayersState = {};
|
|
13
14
|
this.tileLayer = [];
|
|
14
15
|
this.handleTreksWithinBoundsBind = this.handleTreksWithinBounds.bind(this);
|
|
16
|
+
this.handleTouristicContentsWithinBoundsBind = this.handleTouristicContentsWithinBounds.bind(this);
|
|
15
17
|
this.mapIsReady = false;
|
|
16
18
|
this.nameLayer = undefined;
|
|
17
19
|
this.urlLayer = undefined;
|
|
@@ -39,8 +41,8 @@ export class GrwMap {
|
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
descriptionIsInViewport(event) {
|
|
42
|
-
if (this.
|
|
43
|
-
this.handleLayerVisibility(event.detail, this.
|
|
44
|
+
if (this.currentReferencePointsLayer) {
|
|
45
|
+
this.handleLayerVisibility(event.detail, this.currentReferencePointsLayer);
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
parkingIsInViewport(event) {
|
|
@@ -68,6 +70,11 @@ export class GrwMap {
|
|
|
68
70
|
this.handleLayerVisibility(event.detail, this.currentToutisticContentsLayer);
|
|
69
71
|
}
|
|
70
72
|
}
|
|
73
|
+
touristicEventsIsInViewport(event) {
|
|
74
|
+
if (this.currentToutisticEventsLayer) {
|
|
75
|
+
this.handleLayerVisibility(event.detail, this.currentToutisticEventsLayer);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
71
78
|
onCardTrekMouseOver(event) {
|
|
72
79
|
if (!state.parentTrek && (!state.selectedTrekId || state.selectedTrekId !== event.detail)) {
|
|
73
80
|
state.selectedTrekId = event.detail;
|
|
@@ -81,7 +88,7 @@ export class GrwMap {
|
|
|
81
88
|
this.addSelectedCurrentStep(event.detail);
|
|
82
89
|
}
|
|
83
90
|
}
|
|
84
|
-
|
|
91
|
+
onCardTrekMouseLeave() {
|
|
85
92
|
if (!this.trekPopupIsOpen && state.selectedTrekId) {
|
|
86
93
|
this.trekPopupIsOpen = false;
|
|
87
94
|
state.selectedTrekId = null;
|
|
@@ -93,6 +100,15 @@ export class GrwMap {
|
|
|
93
100
|
this.removeSelectedCurrentStep();
|
|
94
101
|
}
|
|
95
102
|
}
|
|
103
|
+
onTouristicContentMouseOver(event) {
|
|
104
|
+
this.touristicContentPopupIsOpen = false;
|
|
105
|
+
state.selectedTouristicContentId = null;
|
|
106
|
+
this.addSelectedTouristicContent(event.detail);
|
|
107
|
+
}
|
|
108
|
+
onTouristicContentMouseLeave() {
|
|
109
|
+
state.selectedTouristicContentId = null;
|
|
110
|
+
this.removeSelectedTouristicContent();
|
|
111
|
+
}
|
|
96
112
|
componentDidLoad() {
|
|
97
113
|
this.map = L.map(this.mapRef, {
|
|
98
114
|
center: this.center.split(',').map(Number),
|
|
@@ -107,7 +123,7 @@ export class GrwMap {
|
|
|
107
123
|
this.tileLayer.push({
|
|
108
124
|
key: `${nameLayers[index]}`,
|
|
109
125
|
value: L.tileLayer(urlLayer, {
|
|
110
|
-
maxZoom:
|
|
126
|
+
maxZoom: this.maxZoom,
|
|
111
127
|
attribution: `${attributionLayers[index] && attributionLayers[index] !== '' ? attributionLayers[index].concat(' | ') : ''}Powered by <a target="_blank" href="https://geotrek.fr/">Geotrek</a>`,
|
|
112
128
|
}),
|
|
113
129
|
});
|
|
@@ -142,6 +158,15 @@ export class GrwMap {
|
|
|
142
158
|
else if (state.currentTreks) {
|
|
143
159
|
this.addTreks();
|
|
144
160
|
}
|
|
161
|
+
else if (state.currentTouristicContent) {
|
|
162
|
+
this.addTouristicContent();
|
|
163
|
+
}
|
|
164
|
+
else if (state.currentTouristicEvent) {
|
|
165
|
+
this.addTouristicEvent();
|
|
166
|
+
}
|
|
167
|
+
else if (state.touristicContents) {
|
|
168
|
+
this.addTouristicContents();
|
|
169
|
+
}
|
|
145
170
|
onChange('currentTreks', () => {
|
|
146
171
|
if (state.currentTrek) {
|
|
147
172
|
this.removeTreks();
|
|
@@ -149,6 +174,8 @@ export class GrwMap {
|
|
|
149
174
|
}
|
|
150
175
|
else if (state.currentTreks) {
|
|
151
176
|
this.removeTrek();
|
|
177
|
+
this.removeTouristicContent();
|
|
178
|
+
this.removeTouristicEvent();
|
|
152
179
|
this.addTreks();
|
|
153
180
|
}
|
|
154
181
|
});
|
|
@@ -157,11 +184,66 @@ export class GrwMap {
|
|
|
157
184
|
this.removeTreks();
|
|
158
185
|
this.addTrek();
|
|
159
186
|
}
|
|
160
|
-
else {
|
|
187
|
+
else if (state.currentTreks) {
|
|
188
|
+
this.removeTrek();
|
|
189
|
+
this.removeTouristicContent();
|
|
190
|
+
this.removeTouristicEvent();
|
|
191
|
+
this.addTreks();
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
onChange('currentTouristicContent', () => {
|
|
195
|
+
if (state.currentTouristicContent) {
|
|
196
|
+
this.removeTrek();
|
|
197
|
+
this.removeTouristicContents();
|
|
198
|
+
this.addTouristicContent();
|
|
199
|
+
}
|
|
200
|
+
else if (state.touristicContents) {
|
|
201
|
+
this.removeTouristicContent();
|
|
202
|
+
this.addTouristicContents();
|
|
203
|
+
}
|
|
204
|
+
else if (state.currentTrek) {
|
|
205
|
+
this.removeTouristicContent();
|
|
206
|
+
this.addTrek();
|
|
207
|
+
}
|
|
208
|
+
else if (state.currentTreks) {
|
|
209
|
+
this.removeTouristicContent();
|
|
210
|
+
this.addTreks();
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
onChange('currentTouristicEvent', () => {
|
|
214
|
+
if (state.currentTouristicEvent) {
|
|
161
215
|
this.removeTrek();
|
|
216
|
+
this.addTouristicEvent();
|
|
217
|
+
}
|
|
218
|
+
else if (state.currentTrek) {
|
|
219
|
+
this.removeTouristicEvent();
|
|
220
|
+
this.addTrek();
|
|
221
|
+
}
|
|
222
|
+
else if (state.currentTreks) {
|
|
223
|
+
this.removeTouristicEvent();
|
|
162
224
|
this.addTreks();
|
|
163
225
|
}
|
|
164
226
|
});
|
|
227
|
+
onChange('currentTouristicContents', () => {
|
|
228
|
+
if (state.currentTouristicContent) {
|
|
229
|
+
this.removeTouristicContents();
|
|
230
|
+
this.addTouristicContent();
|
|
231
|
+
}
|
|
232
|
+
else if (state.currentTouristicContents) {
|
|
233
|
+
this.removeTouristicContent();
|
|
234
|
+
this.addTouristicContents();
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
onChange('mode', () => {
|
|
238
|
+
if (state.mode === 'treks') {
|
|
239
|
+
this.removeTouristicContents();
|
|
240
|
+
this.addTreks();
|
|
241
|
+
}
|
|
242
|
+
else if (state.mode === 'touristicContents') {
|
|
243
|
+
this.removeTreks();
|
|
244
|
+
this.addTouristicContents();
|
|
245
|
+
}
|
|
246
|
+
});
|
|
165
247
|
}
|
|
166
248
|
handleLayerVisibility(visible, layer) {
|
|
167
249
|
if (visible && !this.map.hasLayer(layer)) {
|
|
@@ -174,14 +256,15 @@ export class GrwMap {
|
|
|
174
256
|
}
|
|
175
257
|
addTreks() {
|
|
176
258
|
var _a;
|
|
177
|
-
|
|
259
|
+
state.treksWithinBounds = state.currentTreks;
|
|
260
|
+
const treksCurrentDepartureCoordinates = [];
|
|
178
261
|
const treksFeatureCollection = {
|
|
179
262
|
type: 'FeatureCollection',
|
|
180
263
|
features: [],
|
|
181
264
|
};
|
|
182
265
|
if (state.currentTreks) {
|
|
183
266
|
for (const trek of state.currentTreks) {
|
|
184
|
-
|
|
267
|
+
treksCurrentDepartureCoordinates.push(trek.departure_geom);
|
|
185
268
|
treksFeatureCollection.features.push({
|
|
186
269
|
type: 'Feature',
|
|
187
270
|
geometry: { type: 'Point', coordinates: trek.departure_geom },
|
|
@@ -195,12 +278,12 @@ export class GrwMap {
|
|
|
195
278
|
}
|
|
196
279
|
}
|
|
197
280
|
if (!this.treksLayer) {
|
|
198
|
-
if (
|
|
199
|
-
this.bounds = L.latLngBounds(
|
|
281
|
+
if (treksCurrentDepartureCoordinates.length > 0 && !state.currentMapBounds) {
|
|
282
|
+
this.bounds = L.latLngBounds(treksCurrentDepartureCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
200
283
|
}
|
|
201
284
|
else {
|
|
202
|
-
if (state.
|
|
203
|
-
this.bounds = state.
|
|
285
|
+
if (state.currentMapBounds) {
|
|
286
|
+
this.bounds = state.currentMapBounds;
|
|
204
287
|
}
|
|
205
288
|
}
|
|
206
289
|
this.treksLayer = L.geoJSON(treksFeatureCollection, {
|
|
@@ -253,8 +336,8 @@ export class GrwMap {
|
|
|
253
336
|
this.map.addLayer(this.treksMarkerClusterGroup);
|
|
254
337
|
}
|
|
255
338
|
else {
|
|
256
|
-
if (
|
|
257
|
-
this.bounds = L.latLngBounds(
|
|
339
|
+
if (treksCurrentDepartureCoordinates.length > 0) {
|
|
340
|
+
this.bounds = L.latLngBounds(treksCurrentDepartureCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
258
341
|
}
|
|
259
342
|
else {
|
|
260
343
|
this.map.fire('moveend');
|
|
@@ -270,7 +353,7 @@ export class GrwMap {
|
|
|
270
353
|
}
|
|
271
354
|
removeTreks() {
|
|
272
355
|
if (this.treksLayer) {
|
|
273
|
-
state.
|
|
356
|
+
state.currentMapBounds = this.map.getBounds();
|
|
274
357
|
this.map.removeLayer(this.treksMarkerClusterGroup);
|
|
275
358
|
this.treksLayer = null;
|
|
276
359
|
this.treksMarkerClusterGroup = null;
|
|
@@ -278,13 +361,19 @@ export class GrwMap {
|
|
|
278
361
|
}
|
|
279
362
|
}
|
|
280
363
|
handleTreksWithinBounds() {
|
|
281
|
-
if ((state.currentTreks && !state.
|
|
282
|
-
(state.currentTreks && state.
|
|
364
|
+
if ((state.currentTreks && !state.currentMapBounds) ||
|
|
365
|
+
(state.currentTreks && state.currentMapBounds && state.currentMapBounds.toBBoxString() !== this.map.getBounds().toBBoxString())) {
|
|
283
366
|
state.treksWithinBounds = state.currentTreks.filter(trek => this.map.getBounds().contains(L.latLng(trek.departure_geom[1], trek.departure_geom[0])));
|
|
284
367
|
}
|
|
285
368
|
}
|
|
369
|
+
handleTouristicContentsWithinBounds() {
|
|
370
|
+
if ((state.currentTouristicContents && !state.currentMapBounds) ||
|
|
371
|
+
(state.currentTouristicContents && state.currentMapBounds && state.currentMapBounds.toBBoxString() !== this.map.getBounds().toBBoxString())) {
|
|
372
|
+
state.touristicContentsWithinBounds = state.currentTouristicContents.filter(touristicContent => this.map.getBounds().contains(L.latLng(touristicContent.geometry.coordinates[1], touristicContent.geometry.coordinates[0])));
|
|
373
|
+
}
|
|
374
|
+
}
|
|
286
375
|
addTrek() {
|
|
287
|
-
var _a, _b, _c;
|
|
376
|
+
var _a, _b, _c, _d;
|
|
288
377
|
this.trekPopupIsOpen = false;
|
|
289
378
|
state.selectedTrekId = null;
|
|
290
379
|
this.hideTrekLine();
|
|
@@ -380,12 +469,12 @@ export class GrwMap {
|
|
|
380
469
|
},
|
|
381
470
|
});
|
|
382
471
|
}
|
|
383
|
-
if (state.
|
|
472
|
+
if (state.trekTouristicContents && state.trekTouristicContents.length > 0) {
|
|
384
473
|
const currentTouristicContentsFeatureCollection = {
|
|
385
474
|
type: 'FeatureCollection',
|
|
386
475
|
features: [],
|
|
387
476
|
};
|
|
388
|
-
for (const touristicContent of state.
|
|
477
|
+
for (const touristicContent of state.trekTouristicContents) {
|
|
389
478
|
currentTouristicContentsFeatureCollection.features.push({
|
|
390
479
|
type: 'Feature',
|
|
391
480
|
properties: {
|
|
@@ -407,7 +496,7 @@ export class GrwMap {
|
|
|
407
496
|
onEachFeature: (geoJsonPoint, layer) => {
|
|
408
497
|
layer.once('mouseover', () => {
|
|
409
498
|
const touristicContentTooltip = L.DomUtil.create('div');
|
|
410
|
-
touristicContentTooltip.className = '
|
|
499
|
+
touristicContentTooltip.className = 'touristic-content-tooltip';
|
|
411
500
|
const touristicContentName = L.DomUtil.create('div');
|
|
412
501
|
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
413
502
|
touristicContentName.className = 'touristic-content-name';
|
|
@@ -417,6 +506,43 @@ export class GrwMap {
|
|
|
417
506
|
},
|
|
418
507
|
});
|
|
419
508
|
}
|
|
509
|
+
if (state.touristicEvents && state.touristicEvents.length > 0) {
|
|
510
|
+
const currentTouristicEventsFeatureCollection = {
|
|
511
|
+
type: 'FeatureCollection',
|
|
512
|
+
features: [],
|
|
513
|
+
};
|
|
514
|
+
for (const touristicEvent of state.touristicEvents) {
|
|
515
|
+
currentTouristicEventsFeatureCollection.features.push({
|
|
516
|
+
type: 'Feature',
|
|
517
|
+
properties: {
|
|
518
|
+
name: touristicEvent.name,
|
|
519
|
+
type_pictogram: (_c = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === touristicEvent.type)) === null || _c === void 0 ? void 0 : _c.pictogram,
|
|
520
|
+
},
|
|
521
|
+
geometry: touristicEvent.geometry,
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
this.currentToutisticEventsLayer = L.geoJSON(currentTouristicEventsFeatureCollection, {
|
|
525
|
+
pointToLayer: (geoJsonPoint, latlng) => L.marker(latlng, {
|
|
526
|
+
icon: L.divIcon({
|
|
527
|
+
html: geoJsonPoint.properties.type_pictogram ? `<img src=${geoJsonPoint.properties.type_pictogram} />` : `<img />`,
|
|
528
|
+
className: 'touristic-event-icon',
|
|
529
|
+
iconSize: 48,
|
|
530
|
+
}),
|
|
531
|
+
autoPanOnFocus: false,
|
|
532
|
+
}),
|
|
533
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
534
|
+
layer.once('mouseover', () => {
|
|
535
|
+
const touristicEventTooltip = L.DomUtil.create('div');
|
|
536
|
+
touristicEventTooltip.className = 'touristic-event-tooltip';
|
|
537
|
+
const touristicEventName = L.DomUtil.create('div');
|
|
538
|
+
touristicEventName.innerHTML = geoJsonPoint.properties.name;
|
|
539
|
+
touristicEventName.className = 'touristic-event-name';
|
|
540
|
+
touristicEventTooltip.appendChild(touristicEventName);
|
|
541
|
+
layer.bindTooltip(touristicEventTooltip).openTooltip();
|
|
542
|
+
});
|
|
543
|
+
},
|
|
544
|
+
});
|
|
545
|
+
}
|
|
420
546
|
if (state.currentInformationDesks && state.currentInformationDesks.length > 0) {
|
|
421
547
|
const currentInformationDesksFeatureCollection = {
|
|
422
548
|
type: 'FeatureCollection',
|
|
@@ -454,17 +580,17 @@ export class GrwMap {
|
|
|
454
580
|
});
|
|
455
581
|
}
|
|
456
582
|
if (state.currentTrek.points_reference) {
|
|
457
|
-
const
|
|
583
|
+
const currentReferencePointsFeatureCollection = {
|
|
458
584
|
type: 'FeatureCollection',
|
|
459
585
|
features: [],
|
|
460
586
|
};
|
|
461
|
-
|
|
587
|
+
currentReferencePointsFeatureCollection.features.push({
|
|
462
588
|
type: 'Feature',
|
|
463
589
|
properties: {},
|
|
464
590
|
geometry: state.currentTrek.points_reference,
|
|
465
591
|
});
|
|
466
592
|
let index = 0;
|
|
467
|
-
this.
|
|
593
|
+
this.currentReferencePointsLayer = L.geoJSON(currentReferencePointsFeatureCollection, {
|
|
468
594
|
pointToLayer: (_geoJsonPoint, latlng) => {
|
|
469
595
|
index += 1;
|
|
470
596
|
return L.marker(latlng, {
|
|
@@ -492,7 +618,7 @@ export class GrwMap {
|
|
|
492
618
|
properties: {
|
|
493
619
|
id: trek.id,
|
|
494
620
|
name: trek.name,
|
|
495
|
-
practice: (
|
|
621
|
+
practice: (_d = state.practices.find(practice => practice.id === trek.practice)) === null || _d === void 0 ? void 0 : _d.pictogram,
|
|
496
622
|
imgSrc: trek.attachments && trek.attachments.length > 0 && trek.attachments[0].thumbnail,
|
|
497
623
|
},
|
|
498
624
|
});
|
|
@@ -589,8 +715,8 @@ export class GrwMap {
|
|
|
589
715
|
if (this.currentStepsLayer) {
|
|
590
716
|
overlays[translate[state.language].layers.steps] = this.currentStepsLayer;
|
|
591
717
|
}
|
|
592
|
-
if (this.
|
|
593
|
-
overlays[translate[state.language].layers.
|
|
718
|
+
if (this.currentReferencePointsLayer) {
|
|
719
|
+
overlays[translate[state.language].layers.referencePoints] = this.currentReferencePointsLayer;
|
|
594
720
|
}
|
|
595
721
|
if (this.currentParkingLayer) {
|
|
596
722
|
overlays[translate[state.language].layers.parking] = this.currentParkingLayer;
|
|
@@ -607,6 +733,9 @@ export class GrwMap {
|
|
|
607
733
|
if (this.currentToutisticContentsLayer) {
|
|
608
734
|
overlays[translate[state.language].layers.touristicContents] = this.currentToutisticContentsLayer;
|
|
609
735
|
}
|
|
736
|
+
if (this.currentToutisticEventsLayer) {
|
|
737
|
+
overlays[translate[state.language].layers.touristicEvents] = this.currentToutisticEventsLayer;
|
|
738
|
+
}
|
|
610
739
|
if (this.layersControl) {
|
|
611
740
|
Object.keys(overlays).forEach(key => {
|
|
612
741
|
this.layersControl.addOverlay(overlays[key], key);
|
|
@@ -826,9 +955,9 @@ export class GrwMap {
|
|
|
826
955
|
this.map.removeLayer(this.currentInformationDesksLayer);
|
|
827
956
|
this.currentInformationDesksLayer = null;
|
|
828
957
|
}
|
|
829
|
-
if (this.
|
|
830
|
-
this.map.removeLayer(this.
|
|
831
|
-
this.
|
|
958
|
+
if (this.currentReferencePointsLayer) {
|
|
959
|
+
this.map.removeLayer(this.currentReferencePointsLayer);
|
|
960
|
+
this.currentReferencePointsLayer = null;
|
|
832
961
|
}
|
|
833
962
|
if (this.currentStepsLayer) {
|
|
834
963
|
this.map.removeLayer(this.currentStepsLayer);
|
|
@@ -838,6 +967,10 @@ export class GrwMap {
|
|
|
838
967
|
this.map.removeLayer(this.currentToutisticContentsLayer);
|
|
839
968
|
this.currentToutisticContentsLayer = null;
|
|
840
969
|
}
|
|
970
|
+
if (this.currentToutisticEventsLayer) {
|
|
971
|
+
this.map.removeLayer(this.currentToutisticEventsLayer);
|
|
972
|
+
this.currentToutisticEventsLayer = null;
|
|
973
|
+
}
|
|
841
974
|
}
|
|
842
975
|
disconnectedCallback() {
|
|
843
976
|
if (this.resetStoreOnDisconnected) {
|
|
@@ -865,6 +998,284 @@ export class GrwMap {
|
|
|
865
998
|
this.currentTrekLayer = null;
|
|
866
999
|
}
|
|
867
1000
|
}
|
|
1001
|
+
addTouristicContent() {
|
|
1002
|
+
this.touristicContentPopupIsOpen = false;
|
|
1003
|
+
state.selectedTouristicContentId = null;
|
|
1004
|
+
this.removeSelectedTouristicContent();
|
|
1005
|
+
const touristicContentsFeatureCollection = {
|
|
1006
|
+
type: 'FeatureCollection',
|
|
1007
|
+
features: [],
|
|
1008
|
+
};
|
|
1009
|
+
if (state.currentTouristicContent) {
|
|
1010
|
+
touristicContentsFeatureCollection.features.push({
|
|
1011
|
+
type: 'Feature',
|
|
1012
|
+
geometry: { type: 'Point', coordinates: state.currentTouristicContent.geometry.coordinates },
|
|
1013
|
+
properties: {
|
|
1014
|
+
id: state.currentTouristicContent.id,
|
|
1015
|
+
name: state.currentTouristicContent.name,
|
|
1016
|
+
practice: state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === state.currentTouristicContent.category).pictogram,
|
|
1017
|
+
},
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
if (!this.currentToutisticContentLayer) {
|
|
1021
|
+
this.currentToutisticContentLayer = L.geoJSON(touristicContentsFeatureCollection, {
|
|
1022
|
+
pointToLayer: (geoJsonPoint, latlng) => L.marker(latlng, {
|
|
1023
|
+
icon: L.divIcon({
|
|
1024
|
+
html: geoJsonPoint.properties.practice
|
|
1025
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.practice} /></div>`
|
|
1026
|
+
: `<div class="touristic-content-marker-container"></div>`,
|
|
1027
|
+
className: 'touristic-content-marker',
|
|
1028
|
+
iconSize: 32,
|
|
1029
|
+
iconAnchor: [18, 0],
|
|
1030
|
+
}),
|
|
1031
|
+
autoPanOnFocus: false,
|
|
1032
|
+
}),
|
|
1033
|
+
});
|
|
1034
|
+
this.map.addLayer(this.currentToutisticContentLayer);
|
|
1035
|
+
}
|
|
1036
|
+
this.map.setView([state.currentTouristicContent.geometry.coordinates[1], state.currentTouristicContent.geometry.coordinates[0]], this.maxZoom);
|
|
1037
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
1038
|
+
}
|
|
1039
|
+
removeTouristicContent() {
|
|
1040
|
+
if (this.currentToutisticContentLayer) {
|
|
1041
|
+
this.map.removeLayer(this.currentToutisticContentLayer);
|
|
1042
|
+
this.currentToutisticContentLayer = null;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
addTouristicContents() {
|
|
1046
|
+
state.touristicContentsWithinBounds = state.touristicContents;
|
|
1047
|
+
const touristicContentsCurrentCoordinates = [];
|
|
1048
|
+
const touristicContentsFeatureCollection = {
|
|
1049
|
+
type: 'FeatureCollection',
|
|
1050
|
+
features: [],
|
|
1051
|
+
};
|
|
1052
|
+
if (state.touristicContents) {
|
|
1053
|
+
if (touristicContentsCurrentCoordinates.length > 0 && !state.currentMapBounds) {
|
|
1054
|
+
this.bounds = L.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
1055
|
+
}
|
|
1056
|
+
else {
|
|
1057
|
+
if (state.currentMapBounds) {
|
|
1058
|
+
this.bounds = state.currentMapBounds;
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
for (const currentTouristicContent of state.currentTouristicContents) {
|
|
1062
|
+
touristicContentsCurrentCoordinates.push(currentTouristicContent.geometry.coordinates);
|
|
1063
|
+
touristicContentsFeatureCollection.features.push({
|
|
1064
|
+
type: 'Feature',
|
|
1065
|
+
geometry: { type: 'Point', coordinates: currentTouristicContent.geometry.coordinates },
|
|
1066
|
+
properties: {
|
|
1067
|
+
id: currentTouristicContent.id,
|
|
1068
|
+
name: currentTouristicContent.name,
|
|
1069
|
+
practice: state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === currentTouristicContent.category).pictogram,
|
|
1070
|
+
},
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
if (!this.toutisticContentsLayer) {
|
|
1075
|
+
if (touristicContentsCurrentCoordinates.length > 0 && !state.currentMapBounds) {
|
|
1076
|
+
this.bounds = L.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
1077
|
+
}
|
|
1078
|
+
else {
|
|
1079
|
+
if (state.currentMapBounds) {
|
|
1080
|
+
this.bounds = state.currentMapBounds;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
this.toutisticContentsLayer = L.geoJSON(touristicContentsFeatureCollection, {
|
|
1084
|
+
pointToLayer: (geoJsonPoint, latlng) => L.marker(latlng, {
|
|
1085
|
+
icon: L.divIcon({
|
|
1086
|
+
html: geoJsonPoint.properties.practice
|
|
1087
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.practice} /></div>`
|
|
1088
|
+
: `<div class="touristic-content-marker-container"></div>`,
|
|
1089
|
+
className: 'touristic-content-marker',
|
|
1090
|
+
iconSize: 32,
|
|
1091
|
+
iconAnchor: [18, 0],
|
|
1092
|
+
}),
|
|
1093
|
+
autoPanOnFocus: false,
|
|
1094
|
+
}),
|
|
1095
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
1096
|
+
layer.once('click', () => {
|
|
1097
|
+
const touristicContentCoordinatesPopup = L.DomUtil.create('div');
|
|
1098
|
+
touristicContentCoordinatesPopup.className = 'touristic-content-coordinates-popup';
|
|
1099
|
+
if (geoJsonPoint.properties.imgSrc) {
|
|
1100
|
+
const touristicCotentImg = L.DomUtil.create('img');
|
|
1101
|
+
touristicCotentImg.src = geoJsonPoint.properties.imgSrc;
|
|
1102
|
+
touristicContentCoordinatesPopup.appendChild(touristicCotentImg);
|
|
1103
|
+
}
|
|
1104
|
+
const touristicContentName = L.DomUtil.create('div');
|
|
1105
|
+
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
1106
|
+
touristicContentName.className = 'touristic-content-name';
|
|
1107
|
+
touristicContentCoordinatesPopup.appendChild(touristicContentName);
|
|
1108
|
+
const touristicContentButton = L.DomUtil.create('button');
|
|
1109
|
+
touristicContentButton.innerHTML = 'Afficher le détail';
|
|
1110
|
+
touristicContentButton.className = 'touristic-content-button';
|
|
1111
|
+
touristicContentButton.onclick = () => this.touristicContentCardPress.emit(geoJsonPoint.properties.id);
|
|
1112
|
+
touristicContentCoordinatesPopup.appendChild(touristicContentButton);
|
|
1113
|
+
layer.bindPopup(touristicContentCoordinatesPopup, { interactive: true, autoPan: false, closeButton: false }).openPopup();
|
|
1114
|
+
});
|
|
1115
|
+
layer.on('mouseover', e => {
|
|
1116
|
+
this.addSelectedTouristicContent(geoJsonPoint.properties.id, e.latlng);
|
|
1117
|
+
});
|
|
1118
|
+
},
|
|
1119
|
+
});
|
|
1120
|
+
this.touristicContentsMarkerClusterGroup = L.markerClusterGroup({
|
|
1121
|
+
showCoverageOnHover: false,
|
|
1122
|
+
removeOutsideVisibleBounds: false,
|
|
1123
|
+
iconCreateFunction: cluster => {
|
|
1124
|
+
return L.divIcon({
|
|
1125
|
+
html: '<div>' + cluster.getChildCount() + '</div>',
|
|
1126
|
+
className: 'touristic-content-marker-cluster-group-icon',
|
|
1127
|
+
iconSize: 48,
|
|
1128
|
+
iconAnchor: [24, 24],
|
|
1129
|
+
});
|
|
1130
|
+
},
|
|
1131
|
+
});
|
|
1132
|
+
this.touristicContentsMarkerClusterGroup.addLayer(this.toutisticContentsLayer);
|
|
1133
|
+
this.map.addLayer(this.touristicContentsMarkerClusterGroup);
|
|
1134
|
+
}
|
|
1135
|
+
else {
|
|
1136
|
+
if (touristicContentsCurrentCoordinates.length > 0) {
|
|
1137
|
+
this.bounds = L.latLngBounds(touristicContentsCurrentCoordinates.map(coordinate => [coordinate[1], coordinate[0]]));
|
|
1138
|
+
}
|
|
1139
|
+
else {
|
|
1140
|
+
this.map.fire('moveend');
|
|
1141
|
+
}
|
|
1142
|
+
this.toutisticContentsLayer.clearLayers();
|
|
1143
|
+
this.toutisticContentsLayer.addData(touristicContentsFeatureCollection);
|
|
1144
|
+
this.touristicContentsMarkerClusterGroup.clearLayers();
|
|
1145
|
+
this.touristicContentsMarkerClusterGroup.addLayer(this.toutisticContentsLayer);
|
|
1146
|
+
}
|
|
1147
|
+
this.bounds && this.map.fitBounds(this.bounds);
|
|
1148
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
1149
|
+
this.map.on('moveend', this.handleTouristicContentsWithinBoundsBind);
|
|
1150
|
+
}
|
|
1151
|
+
removeTouristicContents() {
|
|
1152
|
+
if (this.toutisticContentsLayer) {
|
|
1153
|
+
state.currentMapBounds = this.map.getBounds();
|
|
1154
|
+
this.map.removeLayer(this.touristicContentsMarkerClusterGroup);
|
|
1155
|
+
this.toutisticContentsLayer = null;
|
|
1156
|
+
this.touristicContentsMarkerClusterGroup = null;
|
|
1157
|
+
this.map.off('moveend', this.handleTouristicContentsWithinBoundsBind);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
addTouristicEvent() {
|
|
1161
|
+
const touristicEventsFeatureCollection = {
|
|
1162
|
+
type: 'FeatureCollection',
|
|
1163
|
+
features: [],
|
|
1164
|
+
};
|
|
1165
|
+
if (state.currentTouristicEvent) {
|
|
1166
|
+
touristicEventsFeatureCollection.features.push({
|
|
1167
|
+
type: 'Feature',
|
|
1168
|
+
geometry: { type: 'Point', coordinates: state.currentTouristicEvent.geometry.coordinates },
|
|
1169
|
+
properties: {
|
|
1170
|
+
id: state.currentTouristicEvent.id,
|
|
1171
|
+
name: state.currentTouristicEvent.name,
|
|
1172
|
+
type: state.touristicEventTypes.find(touristicEventType => touristicEventType.id === state.currentTouristicEvent.type).pictogram,
|
|
1173
|
+
},
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
if (!this.currentToutisticEventLayer) {
|
|
1177
|
+
this.currentToutisticEventLayer = L.geoJSON(touristicEventsFeatureCollection, {
|
|
1178
|
+
pointToLayer: (geoJsonPoint, latlng) => L.marker(latlng, {
|
|
1179
|
+
icon: L.divIcon({
|
|
1180
|
+
html: geoJsonPoint.properties.type
|
|
1181
|
+
? `<div class="touristic-event-marker-container"><img src=${geoJsonPoint.properties.type} /></div>`
|
|
1182
|
+
: `<div class="touristic-event-marker-container"></div>`,
|
|
1183
|
+
className: 'touristic-event-marker',
|
|
1184
|
+
iconSize: 32,
|
|
1185
|
+
iconAnchor: [18, 0],
|
|
1186
|
+
}),
|
|
1187
|
+
autoPanOnFocus: false,
|
|
1188
|
+
}),
|
|
1189
|
+
});
|
|
1190
|
+
this.map.addLayer(this.currentToutisticEventLayer);
|
|
1191
|
+
}
|
|
1192
|
+
this.map.setView([state.currentTouristicEvent.geometry.coordinates[1], state.currentTouristicEvent.geometry.coordinates[0]], this.maxZoom);
|
|
1193
|
+
!this.mapIsReady && (this.mapIsReady = !this.mapIsReady);
|
|
1194
|
+
}
|
|
1195
|
+
removeTouristicEvent() {
|
|
1196
|
+
if (this.currentToutisticEventLayer) {
|
|
1197
|
+
this.map.removeLayer(this.currentToutisticEventLayer);
|
|
1198
|
+
this.currentToutisticEventLayer = null;
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
addSelectedTouristicContent(id, customCoordinates) {
|
|
1202
|
+
var _a;
|
|
1203
|
+
const touristicContentFeatureCollection = {
|
|
1204
|
+
type: 'FeatureCollection',
|
|
1205
|
+
features: [],
|
|
1206
|
+
};
|
|
1207
|
+
if (state.touristicContents) {
|
|
1208
|
+
const touristicContent = state.touristicContents.find(touristicContent => touristicContent.id === id);
|
|
1209
|
+
touristicContentFeatureCollection.features.push({
|
|
1210
|
+
type: 'Feature',
|
|
1211
|
+
geometry: { type: 'Point', coordinates: customCoordinates ? [customCoordinates.lng, customCoordinates.lat] : touristicContent.geometry.coordinates },
|
|
1212
|
+
properties: {
|
|
1213
|
+
id: touristicContent.id,
|
|
1214
|
+
name: touristicContent.name,
|
|
1215
|
+
category: (_a = state.touristicContentCategories.find(practice => practice.id === touristicContent.category)) === null || _a === void 0 ? void 0 : _a.pictogram,
|
|
1216
|
+
imgSrc: touristicContent.attachments && touristicContent.attachments.length > 0 && touristicContent.attachments[0].thumbnail,
|
|
1217
|
+
},
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
this.removeSelectedTouristicContent();
|
|
1221
|
+
state.selectedTouristicContentId = id;
|
|
1222
|
+
this.selectedTouristicContentLayer = L.geoJSON(touristicContentFeatureCollection, {
|
|
1223
|
+
pointToLayer: (geoJsonPoint, latlng) => L.marker(latlng, {
|
|
1224
|
+
zIndexOffset: 4000000,
|
|
1225
|
+
icon: L.divIcon({
|
|
1226
|
+
html: geoJsonPoint.properties.category
|
|
1227
|
+
? `<div class="touristic-content-marker-container"><img src=${geoJsonPoint.properties.category} /></div>`
|
|
1228
|
+
: `<div class="touristic-content-trek-marker-container"></div>`,
|
|
1229
|
+
className: 'selected-touristic-content-marker',
|
|
1230
|
+
iconSize: 64,
|
|
1231
|
+
iconAnchor: [36, 36],
|
|
1232
|
+
}),
|
|
1233
|
+
autoPanOnFocus: false,
|
|
1234
|
+
}),
|
|
1235
|
+
onEachFeature: (geoJsonPoint, layer) => {
|
|
1236
|
+
layer.once('click', () => {
|
|
1237
|
+
const touristicContentDeparturePopup = L.DomUtil.create('div');
|
|
1238
|
+
touristicContentDeparturePopup.className = 'touristic-content-coordinates-popup';
|
|
1239
|
+
if (geoJsonPoint.properties.imgSrc) {
|
|
1240
|
+
const touristicContentImg = L.DomUtil.create('img');
|
|
1241
|
+
touristicContentImg.src = geoJsonPoint.properties.imgSrc;
|
|
1242
|
+
touristicContentDeparturePopup.appendChild(touristicContentImg);
|
|
1243
|
+
}
|
|
1244
|
+
const touristicContentName = L.DomUtil.create('div');
|
|
1245
|
+
touristicContentName.innerHTML = geoJsonPoint.properties.name;
|
|
1246
|
+
touristicContentName.className = 'touristic-content-name';
|
|
1247
|
+
touristicContentDeparturePopup.appendChild(touristicContentName);
|
|
1248
|
+
const touristicContentButton = L.DomUtil.create('button');
|
|
1249
|
+
touristicContentButton.innerHTML = 'Afficher le détail';
|
|
1250
|
+
touristicContentButton.className = 'touristic-content-button';
|
|
1251
|
+
touristicContentButton.onclick = () => this.touristicContentCardPress.emit(geoJsonPoint.properties.id);
|
|
1252
|
+
touristicContentDeparturePopup.appendChild(touristicContentButton);
|
|
1253
|
+
layer.bindPopup(touristicContentDeparturePopup, { interactive: true, autoPan: false, closeButton: false }).openPopup();
|
|
1254
|
+
});
|
|
1255
|
+
layer.on('mouseout', () => {
|
|
1256
|
+
if (!this.touristicContentPopupIsOpen) {
|
|
1257
|
+
state.selectedTouristicContentId = null;
|
|
1258
|
+
this.removeSelectedTouristicContent();
|
|
1259
|
+
}
|
|
1260
|
+
});
|
|
1261
|
+
layer.on('popupopen', () => {
|
|
1262
|
+
this.touristicContentPopupIsOpen = Boolean(state.selectedTouristicContentId);
|
|
1263
|
+
});
|
|
1264
|
+
layer.on('popupclose', () => {
|
|
1265
|
+
if (state.selectedTouristicContentId) {
|
|
1266
|
+
this.touristicContentPopupIsOpen = false;
|
|
1267
|
+
state.selectedTouristicContentId = null;
|
|
1268
|
+
this.removeSelectedTouristicContent();
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
},
|
|
1272
|
+
}).addTo(this.map);
|
|
1273
|
+
}
|
|
1274
|
+
removeSelectedTouristicContent() {
|
|
1275
|
+
state.selectedTouristicContentId = null;
|
|
1276
|
+
this.selectedTouristicContentLayer && this.map.removeLayer(this.selectedTouristicContentLayer);
|
|
1277
|
+
this.selectedTouristicContentLayer = null;
|
|
1278
|
+
}
|
|
868
1279
|
render() {
|
|
869
1280
|
const layersImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/layers.svg`);
|
|
870
1281
|
const contractImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/contract.svg`);
|
|
@@ -1203,6 +1614,21 @@ export class GrwMap {
|
|
|
1203
1614
|
"resolved": "number",
|
|
1204
1615
|
"references": {}
|
|
1205
1616
|
}
|
|
1617
|
+
}, {
|
|
1618
|
+
"method": "touristicContentCardPress",
|
|
1619
|
+
"name": "touristicContentCardPress",
|
|
1620
|
+
"bubbles": true,
|
|
1621
|
+
"cancelable": true,
|
|
1622
|
+
"composed": true,
|
|
1623
|
+
"docs": {
|
|
1624
|
+
"tags": [],
|
|
1625
|
+
"text": ""
|
|
1626
|
+
},
|
|
1627
|
+
"complexType": {
|
|
1628
|
+
"original": "number",
|
|
1629
|
+
"resolved": "number",
|
|
1630
|
+
"references": {}
|
|
1631
|
+
}
|
|
1206
1632
|
}];
|
|
1207
1633
|
}
|
|
1208
1634
|
static get listeners() {
|
|
@@ -1254,6 +1680,12 @@ export class GrwMap {
|
|
|
1254
1680
|
"target": "window",
|
|
1255
1681
|
"capture": false,
|
|
1256
1682
|
"passive": false
|
|
1683
|
+
}, {
|
|
1684
|
+
"name": "touristicEventsIsInViewport",
|
|
1685
|
+
"method": "touristicEventsIsInViewport",
|
|
1686
|
+
"target": "window",
|
|
1687
|
+
"capture": false,
|
|
1688
|
+
"passive": false
|
|
1257
1689
|
}, {
|
|
1258
1690
|
"name": "cardTrekMouseOver",
|
|
1259
1691
|
"method": "onCardTrekMouseOver",
|
|
@@ -1262,7 +1694,19 @@ export class GrwMap {
|
|
|
1262
1694
|
"passive": false
|
|
1263
1695
|
}, {
|
|
1264
1696
|
"name": "cardTrekMouseLeave",
|
|
1265
|
-
"method": "
|
|
1697
|
+
"method": "onCardTrekMouseLeave",
|
|
1698
|
+
"target": "window",
|
|
1699
|
+
"capture": false,
|
|
1700
|
+
"passive": false
|
|
1701
|
+
}, {
|
|
1702
|
+
"name": "cardTouristicContentMouseOver",
|
|
1703
|
+
"method": "onTouristicContentMouseOver",
|
|
1704
|
+
"target": "window",
|
|
1705
|
+
"capture": false,
|
|
1706
|
+
"passive": false
|
|
1707
|
+
}, {
|
|
1708
|
+
"name": "cardTouristicContentMouseLeave",
|
|
1709
|
+
"method": "onTouristicContentMouseLeave",
|
|
1266
1710
|
"target": "window",
|
|
1267
1711
|
"capture": false,
|
|
1268
1712
|
"passive": false
|